Maxim-integrated 71M6541 Demo Board User Manual

Browse online or download User Manual for Hardware Maxim-integrated 71M6541 Demo Board. Maxim Integrated 71M6541 Demo Board User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 76
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
Maxim Integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim Integrated product. No circuit patent
licenses are implied. Maxim Integrated reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated 160 Rio Robles, San Jose, CA 95134 USA 1-408-601-1000
© 2012 Maxim Integrated Products, Inc. Maxim Integrated and the Maxim Integrated logo are trademarks of Maxim Integrated Products, Inc.
71M6541 Demo Board REV 3.0
User’s Manual
Rev 4.0; 12/12
Page view 0
1 2 3 4 5 6 ... 75 76

Summary of Contents

Page 1 - User’s Manual

Maxim Integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim Integrated product. No circu

Page 2 - Table of Contents

71M6541 Demo Board REV 3.0 User’s Manual 10 Rev 4.0 Figure 1-2: HyperTerminal Sample Window with Disconnect Button (Arrow) Figure 1-3: Port Spee

Page 3 - List of Figures

71M6541 Demo Board REV 3.0 User’s Manual 11 Rev 4.0 1.8.1 SERIAL COMMAND LANGUAGE The Demo Code residing in the flash memory of the 71M6541 provi

Page 4 - List of Tables

71M6541 Demo Board REV 3.0 User’s Manual 12 Rev 4.0 Commands for I/O RAM (Configuration RAM) and SFR Control: R I/O RAM AND SFR CONTROL Comment

Page 5 - 1 GETTING STARTED

71M6541 Demo Board REV 3.0 User’s Manual 13 Rev 4.0 Auxiliary Commands: Typing a comma (“,”) repeats the command issued from the previous command

Page 6 - 1.5 COMPATIBILITY

71M6541 Demo Board REV 3.0 User’s Manual 14 Rev 4.0 Commands for Battery Mode Control and Battery Test: B INFORMATION MESSAGES Comment Descripti

Page 7 - DEMONSTRATION METER

71M6541 Demo Board REV 3.0 User’s Manual 15 Rev 4.0 Reset Commands: W RESET Comment Description: Watchdog control Usage: W Halts the Demo C

Page 8 - 1.7.1 POWER SUPPLY SETUP

71M6541 Demo Board REV 3.0 User’s Manual 16 Rev 4.0 Commands for Controlling the Metering Values Shown on the LCD Display: Step Text or Nu-merical

Page 9 - 9 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 17 Rev 4.0 1.8.2 USING THE DEMO BOARD FOR ENERGY MEASUREMENTS The 71M6541 Demo Board was designed for us

Page 10 - 1.8 USING THE DEMO BOARD

71M6541 Demo Board REV 3.0 User’s Manual 18 Rev 4.0 overvoltages. This choice need not be of concern, since the ADC in the 71M6541 has enough reso

Page 11 - 11 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 19 Rev 4.0 Table 1-4: CE RAM Locations for Calibration Constants Coefficient CE Ad-dress (hex) Descriptio

Page 12 - 12 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 2 Rev 4.0 Table of Contents 1 GETTING STARTED...

Page 13 - 13 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 20 Rev 4.0 1.9.4 UPDATING CALIBRATION DATA IN FLASH OR EEPROM It is possible to make data permanent that

Page 14 - 14 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 21 Rev 4.0 Figure 1-5: Emulator Window Showing Reset and Erase Buttons (see Arrows) Figure 1-6: Emula

Page 15 - 15 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 22 Rev 4.0 1.9.6 THE PROGRAMMING INTERFACE OF THE 71M6541 Flash Downloader/ICE Interface Signals The sig

Page 16

71M6541 Demo Board REV 3.0 User’s Manual 23 Rev 4.0 1.10 DEMO CODE 1.10.1 DEMO CODE DESCRIPTION The Demo Board is shipped preloaded with Demo Code

Page 17

71M6541 Demo Board REV 3.0 User’s Manual 24 Rev 4.0 Table 1-6: MPU XRAM Locations Name Purpose LSB Default )? Signed? Bits i_min Metering el

Page 18 - 1.9 CALIBRATION PARAMETERS

71M6541 Demo Board REV 3.0 User’s Manual 25 Rev 4.0 v_limit Error if exceeded.* Same units as CE’s v0sqsum. 407.3V = 240V*sqrt(2) *120% )6 signe

Page 19

71M6541 Demo Board REV 3.0 User’s Manual 26 Rev 4.0 lcd_idx Selects LCD’s cur-rent display. 0: Meter identification. (“#”) 1: Display variation fr

Page 20 - >]CLS

71M6541 Demo Board REV 3.0 User’s Manual 27 Rev 4.0 i_max2 4 Like i_max, except for the 2nd current sensor. Currents, Wh etc. using currents from

Page 21 - 21 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 28 Rev 4.0 state_bit_ary Status of meter. Nonvolatile. Bits: See table below. 0 = no errors )30 unsigne

Page 22 - 22 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 29 Rev 4.0 3 Three-phase ICs only. Some CE codes calculate neutral current rather than measuring it. Cons

Page 23 - 1.10 DEMO CODE

71M6541 Demo Board REV 3.0 User’s Manual 3 Rev 4.0 2.3.5 Calibration Procedure with Five Measurements ...

Page 24 - 24 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 30 Rev 4.0 1.10.3 LSB VALUES IN CE REGISTERS Table 1-8: CE Registers and Associated LSB Values Register N

Page 25 - 25 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 31 Rev 4.0 Table 1-9: IMAX for Various Shunt Resistance Values and Remote Sensor Types Remote Sensor Inte

Page 26 - 26 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 32 Rev 4.0 Table 1-10: Identification of 71M6X0X Remote Sensor Types Bit 5/Bit 4 71M6X0X Remote Interfac

Page 27 - 27 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 33 Rev 4.0 6) Send the Intel hex file built for operation with the bootloader (e.g., 6541eq0_5p4g_07feb1

Page 28 - 28 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 34 Rev 4.0 2 APPLICATION INFORMATION 2.1 SENSOR CONNECTIONS AND EQUATIONS The 71M6541 Demo Board sup

Page 29 - 29 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 35 Rev 4.0 2.1.2 SINGLE-PHASE TWO-WIRE (EQU 0) This is the most basic configuration for this Demo Board.

Page 30

71M6541 Demo Board REV 3.0 User’s Manual 36 Rev 4.0 in the primary channel, the CE code allows scaling between the two channels so that all energy

Page 31 -

71M6541 Demo Board REV 3.0 User’s Manual 37 Rev 4.0 2.2 CALIBRATION THEORY A typical meter has phase and gain errors as shown by φS, AXI, and AXV

Page 32 - 1.10.7 BOOTLOADER FEATURE

71M6541 Demo Board REV 3.0 User’s Manual 38 Rev 4.0 3a. [ ]1)60cos()sin()60sin()cos()60cos(60−+=SSXIXVAAEφφ 1)sin()60tan()cos( −+=SXIXVSXIXVAA

Page 33 - 33 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 39 Rev 4.0 5. )cos(221800SXIXVEEAAφ++= 6. )cos(12)(1800SXVXIAEEAφ++= Use above results along with E60 an

Page 34 - 2 APPLICATION INFORMATION

71M6541 Demo Board REV 3.0 User’s Manual 4 Rev 4.0 Figure 2-19: Shunt with Center Drill Holes ...

Page 35 - 35 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 40 Rev 4.0 2.3 CALIBRATION PROCEDURES 2.3.1 CALIBRATION EQUIPMENT Calibration requires that a calibrati

Page 36

71M6541 Demo Board REV 3.0 User’s Manual 41 Rev 4.0 The calibration procedures described below should be followed after interfacing the voltage an

Page 37 - 2.2 CALIBRATION THEORY

71M6541 Demo Board REV 3.0 User’s Manual 42 Rev 4.0 2.3.5 CALIBRATION PROCEDURE WITH FIVE MEASUREMENTS Each phase is calibrated individually. Th

Page 38 - 38 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 43 Rev 4.0 Figure 2-7: Calibration Spreadsheet for Three Measurements

Page 39 - 39 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 44 Rev 4.0 Figure 2-8: Calibration Spreadsheet for Five Measurements

Page 40 - 2.3 CALIBRATION PROCEDURES

71M6541 Demo Board REV 3.0 User’s Manual 45 Rev 4.0 2.3.7 COMPENSATING FOR NON-LINEARITIES Nonlinearity is most noticeable at low currents, as sh

Page 41

71M6541 Demo Board REV 3.0 User’s Manual 46 Rev 4.0 2.4 TEMPERATURE COMPENSATION 2.4.1 ERROR SOURCES For a meter to be accurate over temperature

Page 42

71M6541 Demo Board REV 3.0 User’s Manual 47 Rev 4.0 When analyzing the contribution of thermal errors for power equation 1 for single-phase 3-wire

Page 43 - 43 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 48 Rev 4.0 2.4.3 CALCULATING PARAMETERS FOR COMPENSATION 2.4.3.1 Shunt Resistors The TC of the shunt re

Page 44 - 44 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 49 Rev 4.0 Figure 2-10: GAIN_ADJ over Temperature Some curve-fitting is required to find PPMC6X and PPMC

Page 45

71M6541 Demo Board REV 3.0 User’s Manual 5 Rev 4.0 1 GETTING STARTED 1.1 GENERAL The Maxim Integrated 71M6541-DB REV 3.0 Demo Board is a demo

Page 46 - 2.4.1 ERROR SOURCES

71M6541 Demo Board REV 3.0 User’s Manual 50 Rev 4.0 2.4.3.3 Reference Voltage of the 71M6541 At a later time, it will be shown how the compensati

Page 47 - 41 XSXVDXSVD

71M6541 Demo Board REV 3.0 User’s Manual 51 Rev 4.0 For the control of GAIN_ADJB, we will need the following coefficients: CS2: Since we assume th

Page 48 - 2.4.3.1 Shunt Resistors

71M6541 Demo Board REV 3.0 User’s Manual 52 Rev 4.0 Figure 2-12: Meter with Calibration System Figure 2-13 shows the screen on the controlling PC

Page 49 - GAIN_ADJ

71M6541 Demo Board REV 3.0 User’s Manual 53 Rev 4.0 Figure 2-14: Wh Load Lines at Room Temperature with 71M6201 and 50 µΩ Shunts 2.6 SENSORS AN

Page 50 - 2.4.3.4 Voltage-Divider

71M6541 Demo Board REV 3.0 User’s Manual 54 Rev 4.0 The effect of shunt self-heating can be described by the following formulae. First, the relati

Page 51 - 2.5 TESTING THE DEMO BOARD

71M6541 Demo Board REV 3.0 User’s Manual 55 Rev 4.0 2.6.3 PLACEMENT OF SENSORS (IEC) The arrangement of the current terminals in a typical IEC me

Page 52 - 52 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 56 Rev 4.0 2.6.4 OTHER TECHNIQUES FOR AVOIDING MAGNETIC CROSSTALK With very high currents or close dista

Page 53 - Angle, 240 V/60 Hz

71M6541 Demo Board REV 3.0 User’s Manual 57 Rev 4.0

Page 54 - 54 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 58 Rev 4.0 3 HARDWARE DESCRIPTION 3.1 71M6541-DB DESCRIPTION: JUMPERS, SWITCHES AND TEST POINTS The

Page 55 - 55 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 59 Rev 4.0 Item # Reference Designator Name Use 13 J21 DEBUG Connector for Debug Board. 2x8 pin male

Page 56 - 56 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 6 Rev 4.0 1.3 DEMO KIT CONTENTS • Demo Board D6541 REV 3.0 containing one 71M6601 or 71M6201 Remote Se

Page 57 - 57 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 60 Rev 4.0 Item # Reference Designator Name Use SEGDIO51/OPT_TX pin to the LCD. If the second UART is us

Page 58 - 3 HARDWARE DESCRIPTION

71M6541 Demo Board REV 3.0 User’s Manual 61 Rev 4.0 Figure 3-1: 71M6541-DB REV 3.0 - Board Description (Default jumper settings are indicated in

Page 59

71M6541 Demo Board REV 3.0 User’s Manual 62 Rev 4.0 3.2 BOARD HARDWARE SPECIFICATIONS PCB Dimensions Width, length 134 mm x 131 mm (5.276” x 5.

Page 60 - 60 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 63 Rev 4.0

Page 61 - 61 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 64 Rev 4.0 4 APPENDIX This appendix includes the following documentation, tables, and drawings: 71M65

Page 62 - Environmental

71M6541 Demo Board REV 3.0 User’s Manual 65 Rev 4.0 4.1 71M6541-DB ELECTRICAL SCHEMATIC Figure 4-1: 71M6541-DB REV 3.0 Demo Board: Electrical Sc

Page 63 - 63 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 66 Rev 4.0 Figure 4-2: 71M6541-DB REV 3.0 Demo Board: Electrical Schematic 2/2 TitleSize Document Number

Page 64 - 4 APPENDIX

71M6541 Demo Board REV 3.0 User’s Manual 67 Rev 4.0 4.2 71M6541-DB BILL OF MATERIAL Table 4-1: 71M6541-DB REV 3.0: Bill of Material Item Q Refe

Page 65 - 65 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 68 Rev 4.0 45 1 R6 8.20K805 P8.20KCCT-ND Panasonic ERJ-6ENF8201V 1% 0.125W46 2 R7,R66 2MAXLE FLAME UPRIGH

Page 66 - 66 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 69 Rev 4.0 4.3 71M6541-DB PCB LAYOUT Figure 4-3: 71M6541-DB REV 3.0: Top View

Page 67 - 67 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 7 Rev 4.0 1.7 DEMO BOARD TEST SETUP Figure 1-1 shows the basic connections of the Demo Board plus option

Page 68 - 68 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 70 Rev 4.0 Figure 4-4: 71M6541-DB REV 3.0: Top Copper

Page 69 - 4.3 71M6541-DB PCB LAYOUT

71M6541 Demo Board REV 3.0 User’s Manual 71 Rev 4.0 Figure 4-5: 71M6541-DB REV 3.0: Bottom View

Page 70 - 70 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 72 Rev 4.0 Figure 4-6: 71M6541-DB REV 3.0: Bottom Copper

Page 71 - 71 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 73 Rev 4.0 4.4 71M6541 PINOUT INFORMATION Power/Ground/NC Pins: Table 4-2: 71M6541 Pin Description Table

Page 72 - 72 Rev 4.0

71M6541 Demo Board REV 3.0 User’s Manual 74 Rev 4.0 Digital Pins: Table 4-4: 71M6541 Pin Description Table 3/3 Name Type Description COM3,COM2,

Page 73 - Name Type Description

71M6541 Demo Board REV 3.0 User’s Manual 75 Rev 4.0 Figure 4-7: 71M6541, LQFP64: Pinout (Top View) 1Teridian71M6541D71M6541F234567891011121314151

Page 74

71M6541 Demo Board REV 3.0 User’s Manual 76 Rev 4.0 4.5 REVISION HISTORY REVISION DATE DESCRIPTION 2.0 1-14-2010 Initial release based on DB

Page 75 - 71M6541F

71M6541 Demo Board REV 3.0 User’s Manual 8 Rev 4.0 1.7.1 POWER SUPPLY SETUP There are several choices for the meter power supply: o Internal (us

Page 76 - 4.5 REVISION HISTORY

71M6541 Demo Board REV 3.0 User’s Manual 9 Rev 4.0 1.7.3 CHECKING OPERATION A few seconds after power up, the LCD display on the Demo Board shoul

Comments to this Manuals

No comments