Home

71M6543 Demo Board User`s Manual

image

Contents

1. D5 R74 GND V3P3SYS V3P3SYS 1 2 WPULSE R15 R16 R17 EMULATOR Nw 62 62 62 ICE Header R10 J12 J13 0104 10K V3P3D warts TERXX D7 VBAT RTC 1 2 E_TCLK ERST 274 OPT RX VBAT E 4 ML vsessvs 4 eal L_V3P3SYS HDR2XR76 T zm V3P3SYS 1 2 _ _VPULSE C57 31 C30 C o C61 5 1000pF C19 1000 10K 2259 2229 id ATERY E AER BATTERY 1 dd 2 1 sno 5 GN OPT TX LII Pull JP53 for BRN 2 current measurements FIOR 100 Jess PULSE OUTPUTS 7 04 R142 lt V3P3D 1000pF 10K LCD T GND J 08 LCD VLS 6648 HDR2XI 1 C 2 1 56 0 1uF GND __2
2. Fi Fi FF Fl Fi FF Fi FF F Hex Loading Bank Olfset 00 C2 00 00 00 00 0 i 0 00 00 00 48 48 B6 SF 75 42 Emulator Window Showing Erased Flash Memory and File Load Menu Flash Programmer Module TFP 2 The operational firmware of the TFP2 will have to be upgraded to revision 1 53 Follow the instructions given in the User Manual for the TFP 2 1 9 6 THE PROGRAMMING INTERFACE OF THE 71M6543F Flash Downloader ICE Interface Signals The signals listed in Table 1 5 are necessary for communication between the TFP2 Flash Downloader or ICE and the 71M6543F Page 23 of 91 Signal Direction Function ICE E Input to the 71M6543F ICE interface is enabled when ICE E is pulled high E TCLK Output from 71M6543F Data clock E RXTX Bi directional Data input output E RST Bi directional Flash Downloader Reset active low Table 1 5 Flash Programming Interface Signals The E RST signal should only be driven by the Flash Downloader when enabling th
3. D5 R74 GND V3P3SYS V3P3SY 1 2 _ WPULSE R15 R16 R17 EMULATOR Sw 62 62 62 ICE Header 1 R10 J12 J13 DIO4 10K V3P3D x waTTs E RXIX 5 07 VBAT RTC 15312 E TCLK cu Gk ERST 274 RX AI vsessvs eal L__V3P3SYS HDR2XR76 al V3P3SYS 1 b 2 VPULSE C57 c31 cao c o C61 1000pF c19 C43 T 1000pH 7 BIS DIO 10K M 22pF 22pH Bp1034 P 0 1uF 1000pF T C60 T2 BATTERY VAR JP7 1 1 1 R79 ATTERY 0 1uF ATTER evi P x GNU OND L au LI H Pull JP53 for BRN san hA ypsgcurrent measurements PULSE OUTPUTS 49 R142 1 2 V3P3D 1000pF 10K LCD GND LCD VLS 6648 V3P3SY HDR2X1 2 22 27 1 1 T T 1 1 C28 2 1 56 como XPULSE xd GND 2 COM3 COMO 55 COMI YPULSE al C52 C51 1047 5 3 54 2 2036 27554 cc2 1000 0 1uF 10uF 1 c50 SEGDIO284 58 SEGDIO25 1000 10uF 0 1uF 1000pF SEGDIO255 Xo 1E 1F 7F 13F 13E 1D 1G 1A 52 SEGDIO24 A GND 1 R2 SW4 TP2 TP3 SEGDIO246 FE 13G 13D DP1 1C 1B 61 SEGDIO35 R77 SEGDIO53 SEGDIO357 7D 13A 13C DP2 2E 2F 50 SEGDIO21 2 GND o qe 4 GND SEGDIO218 C 13B DP13 20 26 2 ag SEGDIO20 100K DNP 0 1uF 1K R108 SEGMIOZ09 70 14 14 0 0 2 2 48
4. Run Rau 70 4 3 1 H S 70 4 3 2 Using Ferrites in the Shunt Sensor 70 44 71M6543 Demo Board REV 4 0 Bill of 71 45 71M6543 Demo Board REV 5 0 Bill of Material U u u 73 4 6 71M6543 REV 4 0 Demo Board PCB 75 47 71M6543 REV 5 0 Demo Board Layout U 79 48 Debug Board Bill of Material I U U 83 4 9 Debug Board 11 anaana nan aan aw waqasa wawasqa inanes 84 4 10 Optional Debug Board Layout U U u u 85 4 11 716543 Pin O t Informati 22 ass 88 4 12 91 List of Figures Figure 1 1 Teridian 71M6543 REV4 0 Demo Board with Debug Board Basic 9 Figure 1 2 HyperTerminal Sample Window with Disconnect Button Arrow 12 Figure 1 3 Port Speed and Handshake Setup left and Port Bit setup right 12 Figure 1 4 Typical Cali
5. The HELLO message should be followed by the display of accumulated energy 0 0 0 Wh SYS 013 The SYS symbol will be blinking indicating activity of the MPU inside the 71M6543 In general the fields of the LCD are used as shown below Measured value Unit Command number Phase 1 7 4 SERIAL CONNECTION SETUP After connecting the USB cable from the Demo Board to the PC or after connecting the serial cable from the optional Debug Board to the PC start the HyperTerminal application and create a session using the following parameters Port Speed 9600 bd Data Bits 8 Parity None Stop Bits 1 Flow Control XON XOFF When using the USB connection you may have to define a new port in HyperTerminal after selecting File gt Properties and then clicking on the Connect Using dialog box If the USB to serial driver is installed see sec tion 1 7 2 1 a port with a number not corresponding to an actual serial port e g COM27 will appear in the dia log box This port should be selected for the USB connection HyperTerminal can be found by selecting Programs Accessories 2 Communications from the Windows start menu The connection parameters are configured by selecting File gt Properties and then by pressing the Con figure button Port speed and flow control are configured under the General tab Figur
6. c2 GND u1 0 1uF GND_DBG 1 ___ V5_DBG 2 VDDi VDD2 7 GND EE ms 1s swe 4 1 GND2 5 9 DISPLAY SEL ADUM1100 GND_DBG O 1uF GND_DBG V5_DBG 5 C6 0 1uF GND 2 GND_DBG 0 1uF 8 4 V3P3 D2 GND DBG 7 002 00 51001 V5 DBG 21001 DBG 6 5102 DIN 3 V3P3 GND DBG amp DOUT VDD 2 ND 1K ep GND DIO01 ADUM1100 GND 0 1uF V5 DBG c9 C10 0 1uF GND GND_DBG 0 1uF 8 1 __ 03 GND 586 7 002 001 2 51000 21000 DBG 6 5402 DIN V3P3 GND DBG 5 DOUT VDDi 4 GND 1K LED GND2 GND1 C12 01000 ADUM1100 GND 0 1uF C16 STATUS LEDs 0 1uF 1 V3P3 VDD2 gt ART TX GND2 DIN 5 v3P3 DOUT 2 CND GND2 GND1 01000 01001 C20 01002 V3P3 ADUM1100 GND GND CKTEST GND TMUXOUT 0 1uF GND UART TX GND UART RXT C21 GND DBG GND DBG GND V5 DBG V5 DBG UG 0 1uF HEADER 8X2 VDD1 VDD2 8 ars 7 GND2 6 UART_RX UART RX DEBUG CONNECTOR 1 cND GNDi GND2 E 0 ADUM1100 Figure 4 18 Debug Board Electrical Schematic v5 71M6543 Demo Board Jser s Manual 4 10 OPTIONAL DEBUG BOARD PCB LAYOUT Page 85 of 91 SPCC o0 qun rai F TOP NORMAL o 0 3 0 d ot ee ecee 84 ess cs mm eri mE mac
7. NT LI LI IAN d 15 SPI Connector 19 V3P3SYS ICE Connector J14 UB DEBUG BOARD OPTIONAL VC MPU HEARTBEAT 5Hz SEGDIO52 gt OHO gt V5_DBG 2 sea CE HEARTBEAT 1Hz SEGDIO10 gt OHOH gt 0PTO gt V5 DBG GND aj a NEUTRAL V3P3 OH PTO GND DBG T A vs pB6 SW4 gt OPTO gt n T SEGDIO53 R o gs 12 PTO 7 T GND 5 7 1 RTM INTERFACE PB 9 11 Bd 7 m RESET t FPGA w J12 Jess TMUXOUT 8 p n o o VBAT e ohinectol JP53 6 2 E Battery 1 oo _ MUXZOUT puo optional O Ts 3 o ol 1 gt y IS 13 14 0770 GND_DBG I 10 L1 VIRUS CNI 2 4 2011 Isolated RS USB 232 transceiver Interface To PC Figure 1 1 Teridian 71M6543 REV4 0 Demo Board with Debug Board Basic Connections The Demo Board contains all circuits necessary for operation as a meter including display calibration LEDs and internal power supply The optional Debug Board uses a separate power supply and is optically isolated from the Demo Board It interfaces to a PC through a 9 pin serial port connector It is recommended to set up the demo board with no live AC voltage connected and to connect live AC volt
8. Teridian Smart Grid Solutions 71M6543 Demo Board USER S MANUAL MAXIM 086543 RE e 55 i8 vic 1 of 91 E gt EE e x 8 Be GND 22 5 R52 ICE 1 49 E EMULATOR UD 2 205 enc 2 16 5 4 S aieo detido re g tE p m E gt e H 7 16 15 Code e 07 8 i u m B ccm rede e VC IN VB IN VA IN NEUTRAL v5 MA AALM Teridian Smart Grid Solutions 71M6543 Polyphase Energy Meter IC DEMO BOARD REV 4 0 and 5 0 USER S MANUAL Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product No circuit patent licenses are implied Maxim reserves the right to change the circuitry and specifications without notice at any time Maxim Integrated Products Inc 160 Rio Robles San Jose CA 95134 USA 1 408 601 1000 2012 Maxim Integrated Products MAXIM is a registered trademark of Maxim Integrated Products Inc Page 2 of 91 v5 Table of Contents 1 GETTING STARTE DA RIS EET 7 1 1 lt Generasi 7 12 Safety ESD Notes
9. 69 Fig re 4 9 Input Circuit with Ferrites tert dre ede Hein te oes neh cs ed a uu dE dena 70 Figure 4 10 Teridian 71M6543 REV 4 0 Demo Board Top ua 75 Figure 4 11 Teridian 71M6543 REV 4 0 Demo Board Top ener 76 Figure 4 12 Teridian 71M6543 REV 4 0 Demo Board Bottom View U em eee 77 Figure 4 13 Teridian 71M6543 REV 4 0 Demo Board Bottom Copper eee eene 78 Figure 4 14 Teridian 71M6543 REV 5 0 Demo Board Top 79 Figure 4 15 Teridian 71M6543 REV 5 0 Demo Board 80 Figure 4 16 Teridian 71M6543 REV 5 0 Demo Board Bottom 81 Figure 4 17 Teridian 71M6543 REV 5 0 Demo Board Bottom 82 Figure 4 18 Debug Board Electrical 84 Figure 4 19 Debug Board Top 85 Figure 4 20 Debug Board Bottom Vie Wissing neben eire nean aeu 85 Figure 4 21 Debug Board Top Signal 1 86 Figure 4 22 Debug Board Middle Layer 1 Ground Plane L 86 Figure 4 23 Debug Board Middle Layer 2 Supply Plane I nn 87 Figure 4 24 Debug Board Bottom Trace 87 Figure 4 25 71M6543 LQFP100 Pin out top 90 List o
10. EM EE come EH comm 20 E23 mj 222 m Figure 4 20 Debug Board Bottom View v5 71M6543 Demo Board User s Manual Figure 4 22 Debug Board Middle Layer 1 Ground Plane Page 86 of 91 v5 71M6543 Demo Board User s Manual Figure 4 24 Debug Board Bottom Trace Layer Page 87 of 91 v5 4 1171M6543 PIN OUT INFORMATION Power Ground NC Pins Table 4 6 71M6543 Pin Description Table 1 3 Name Type Description GNDA P Analog ground This pin should be connected directly to the ground plane GNDD P Digital ground This pin should be connected directly to the ground plane V3P3A P Analog power supply 3 3 V power supply should be connected to this pin V3P3A must be the same voltage as V3P3SYS V3P3SYS P System 3 3 V supply This pin should be connected to a 3 3 V power supply Auxiliary voltage output of the chip In mission mode this pin is connected V3P3D O to V3P3SYS by the internal selection switch In BRN mode it is internally connected to VBAT V3P3D is floating in LCD and sleep mode bypass capacitor to ground should not exceed 0 1 The output of the 2 5V regulator This pin is powered in MSN and BRN VDD O modes A 0 1 bypass capacitor to ground should be connected to this pin
11. C34 1 6 Re000 ac 17 499 R99 C37 1000pF 750 DNP ps DNP This channel used for Phase sensors 2100 4 4 4 0 Rae 102 A N 7 750 DNP C41 5 1000 0 Ohm 499 TUE GNI 750110056 DNP sN 5 4 i anc7 x se 2 1000 8 1 1 IADC6 IADC7 PINS Rat OF Rae Ras TEST VCC Td EZ 3 4 3 4 3 4 DNP DNP DNP 00 100 PPM 100 PPM 069 71 810385010 1 1 1000 K C56 0 Ohm 1uF IY 1 Re000 i 15 499 R112 C40 1000pF 750 DNP DNP This channel used for Phase C sensors RIOR 4 4 4 0 DNP 0 IN i 97 560 12 J3 J25 1 p4 1 1 Isolation Barrier 2 2 RB Rs 2 2 1 PINS IN IN 3 4 3 4 3 4 ADCO ADC1 100 100 PPM INN IN 00 PPM L3 WW 1 fritle 0 Ohm 71M6543 Meter Demo Board Bize Document Number Rev This channel used for NEUTRAL No isolation and no remote sensor D6543 40 ate Thursday January 06 2011 heet 4 of 5 Figure 4 3 Teridian 71M6543 REV 4 0 Demo Board Electrical Schematic 3 4 v5 71M6543 Demo Board User s Manual J9 NEUTRAL 1 gt gt NEUTRAL NEUTRAL If high precision Rs are not available use Vishay P N RN65D2004FB14 Mouser P N 71 RN65D F 2 0M 100 15 1000 VOLTAGE CONNECTIONS R66 R64 R47 R39 Ferrite
12. Use above results along with Ego and E300 to calculate _ IV Ay Ay cos 60 IV cos 60 Ay Ay cos Ay Ay tan 60 sin 1 7 E 2 E Ay Ay 08 60 0 n IV cos 60 Ay cos s tan 60 sin 1 Subtract 8 from 7 9 Ey 2 A tan 60 sin use equation 5 EGEE 42 dc suo tan 60 sin 5 11 E 2 tan 60 tan 12 gt tan Es tan 60 E Eiso 2 Page 37 of 91 v5 Now that we know the Axv Axi and errors we calculate the new calibration voltage coefficient from the previous ones m s XV We calculate from the desired phase lag tan 1 2 2 1 2 cos 2z T 1 2 sin 277 T tan 1 2 cos 27 7 And we calculate the new calibration current gain coefficient including compensation for a slight gain increase in the phase calibration circuit CAL I 1 Ay 2 PHADJ 2 27 PHADJ 2 1 2 cos 27f T 1 2 1 2 2 7 7 1 27 PHADJ 2 CAL _ 2 2 CALIBRATION PROCEDURES 2 2 1 2 2 2 CALIBRATION EQUIPMENT Calibration requires that a calibration system is used i e equipment that applies accurate voltage load current and load angle to the unit being calibrated while measuring the response from the unit being calibrated in a re peatable way By repeat
13. 2 3 3 5 Combining the Coefficients for Temperature Compensation After characterizing all major contributors to the TC of the meter we have all components at hand to design the overall compensation If we examine only phase A for the moment we find that we will need the following coef ficients for the control of GAIN_ADJn The 3331 determined for the shunt resistor PPMC2 for the shunt resistor is 0 The PPMCyp value of 788 determined for the voltage divider Cax 820 PPMC2 x 680 Cex PPMC 620 2 510 We will find that coefficients can simply added to combine the effects from several sources of temperature dependence Following this procedure we obtain the coefficients for GAIN ADJO0 voltage measurement as follows e PPMC y 820 788 32 e 24 PPMC24x PPMC2yp 680 0 680 Page 46 of 91 v5 Next we obtain the coefficients for GAIN current measurement as follows PPMC 3331 620 3951 PPMC2 2 PPMC25x 0 510 510 Similar calculations apply to the remaining current phases 2 3 3 6 Test Results for Temperature Compensation Temperature tests were conducted that exercised the fuse accuracy in the 71M6xxx and 71M6543 in conjunc tion with the capability of the 654x Code to accurately read and interpret the fuses and to compensat
14. Page 17 of 91 v5 Commands for Controlling the Metering Values Shown the LCD Display Text or Nu CLI merical Dis Displayed Parameter s command play 10000 Meter ID Temperature difference from calibration temperature Displayed in 0 1 C Frequency at the VA IN input Hz 00 5 01 Accumulated imported real energy Wh The default display setting 03 1 04 Wh 04 Mi EM Accumulated reactive energy VARh k ENS Accumulated exported reactive energy VARh Accumulated apparent energy VAh 08 09 10 11 1 13 48 14 1 2 after power up or reset Accumulated exported real energy Wh E w LLLI 0 62 Power factor P phase 0 Zero crossings of the mains voltage 14 8 Duration of sag neutral current s I RMS current P phase M15 4 displays the neutral current RMS voltage 7 17 Battery voltage Momentary power in W P phase _ n Displays for total consumption wrap around at 999 999Wh or VARh VAh due to the limited number of avail able display digits Internal registers counters of the Demo Code 64 bits wide and not wrap around 11 12 18 91 5 1 8 2 1 8 3 1 8 4 1 8 5 1 8 6 1 8 7 USING THE DEMO FOR ENERGY MEASUREMENTS The 71M6543 Demo Board was designed for use with shunt resistors connected via
15. SEGDIOT9_ 9 10K SEGDIOT8o 78 148 140 X4 3E 3E 47 SEGDIOT8 o P 0 1uF SEGDIO181 7 14 14 3D 3G 3A 46 SEGDIOT7 C24 5 V3P3SYS GND 5 010142 0 7 148 0 14 DP3 3C 3B 45 SEGDIO16 C24 C25 15pF 1 ia SEGDiO183 8 15 15 X3 4E 4F 44 SEGDIOTS SEGDIOTs4 8E 15G 15D 40 46 4 SEGDIOT4 close to U5 SEGDIO145 80 15 15 DPA44C 4B 47 SEGDIOTS 5 0 1uF 5 6010136 8 15 15 X2 5E 5F aq SEGDIO12 32768KHz a ee 1 feo r olo arloa sr eol ou 5 6010127 8G 16F 16E 50 56 5 40 SEGDIO11 XTAL_GND c25 Des si tse Sila V3P3D GND 5 6010118 8B 16G 16D DP5 5C 5B 39 5 601029 10pF Rea Te EX ES nist JP50 SEGDIO289 8 16 16 X1 6E 6F 3g SEGDIO30 GND 1 2 SEGDIO54 SEGDIO3p0 DP8 16B DP16 60 66 6 37 5 601022 x 2 amp 00000000055u099 099 x ug EGDIO221 17E DP6 6C 6B 56 601051 76 97555555552 888 HDR2X1 p44 SEGDIO322 9E 17G 17D 100 106 10 35 5 601032 XTAL GND 77 X m 1K 4 SEGDIO323 90 17 17 DP10 10C 10B 32 SEGDIO 4 t T8 NC gt koe 2900 SDCK1 2 215 7 1 SEGDIO334 96 178 DP17 X13 11E 11F X10 X17 X18 33 SEGDIO33 L16 Ne s Fe 3 CLK 5 2 SEGD
16. 91 NEUTRAL Figure 4 10 Teridian 71M6543 REV 4 0 Demo Board Top View v5 71M6543 Demo Board User s Manual Figure 4 11 Teridian 71M6543 REV 4 0 Demo Board Top Copper 76 of 91 o Q v5 71M6543 Demo Board User s Manual Figure 4 12 Teridian 71M6543 REV 4 0 Demo Board Bottom View Page 77 of 91 v5 71M6543 Demo Board User s Manual Figure 4 13 Teridian 71M6543 REV 4 0 Demo Board Bottom Copper Page 78 of 91 v5 71M6543 Demo Board User s Manual 4 7 71M6543 REV 5 0 DEMO BOARD PCB LAYOUT 25 MAXIM 086543 REV 5 0 99 0 rong e Figure 4 14 Teridian 71M6543 REV 5 0 Demo Board Top View Page 79 of 91 v5 71M6543 Demo Board User s Manual o O Figure 4 15 Teridian 71M6543 REV 5 0 Demo Board Top Copper Page 80 of 91 O v5 71M6543 Demo Board User s Manual Wl 9909990990 0000000006 V1 R RV2 RVS 24 5 IN VB IN VC IN 1 bd 777 L L Figure 4 16 Teridian 71M6543 REV 5 0 Demo Board Bottom View Page 81 of 91 v5 71M6543 Demo Board User s Manual o O Figure 4 17 Teridian 71M6543 REV 5 0 Demo Boar
17. COMO 55 COMI JE C52 C51 7547 5 3 COM 54 2 1036 c45 C22 1000pF 0 1uF 10uF c50 SEGDIO284 5 com2 SEGDIO25 4 53 SEGDIOZ5 1000pF 10uF 1000 SEGDIO255 X5 1E 1F 7F 13F 13E 1D 1G 1A 52 SEGDIO24 GND l R2 swa TP2 TP3 SEGDIO246 FE 13G 13D DP1 1C 1B 22 5 607035 R77 3 SEGDIO35 7 70 13 13 DP2 2E 2F 50 SEGDIO21 C62 GND J GND 5 6010218 7C 13B DP13 20 26 2 49 5 601020 100 DNP 0 1uF 1K 2108 SEGDIO209 7G 14F 14E DP0 2C 2B 48 SEGDIOT9 c26 10K 5 6010190 78 146 14D X4 3E 3F 47 SEGDIOT8 S B l 0 1uF SEGDIOT81 7 14 14 3D 3G 3A 46 SEGDIO17 Note Place 24 x 5 d gt E NE zs vaPasYs GND 5 6010142 45 SEGDIO16 C24 C25 K 5 010193 BEEG 44 SEGDIOTS close to U5 E SEGDIO144 BE 156 15D 40 40 4 43 SEGDION4 Yi SEGDIO145 8D 15A 15C DPA44C 4B 42 SEGDIOTS 5 O 1uF 5 6010136 8 15 15 X2 5E 5F 41 SEGDIOTZ 32 768KHz vo sr e co io st co r o to ex 677 5 6010137 8G 16F 16E 50 56 5 49 _SEGDIO11 TNCS ise 39e s 7 8166 16D DP8 8C 8B T 1 R137 80 5 6010118 39 SEGDIO29 10pF Z O O lt O S t uo ONYO O tu 9 X x N JP50 SEGDIO2
18. If the Wh LED lights up the does not appear debug the RS 232 wiring Possible issues are that baud rate is not 38400 baud or that the wiring is wrong debug using a known good meter or that the terminal program in the PC is not working 6 Send the Intel hex file built for operation with the bootloader e g 6543eq5 6103 5p4f 14dec11 hex using the Send Text File command of HyperTerminal 7 During the load procedure the Wh LED will blink Once the load process is completed it stops blinking The Wh LED should remain on solidly at the completion of the load procedure which indicates an error free load If the LED turns off at the end an error must have occurred In this case the load should be repeated The bootloader sends a 1 on the UART if the load succeeded and 0 if it failed 8 Check the display of terminal program e g the PC running Hyperterminal If no checksum error has oc curred the bootloader sends a 1 on the UART In case of an error reset the 71M6543 Demo Board or turn it off and on and reload the code 9 Remove the jumper on JP7 This will cause the loaded Demo Code to start Page 34 of 91 v5 2 APPLICATION INFORMATION 2 1 CALIBRATION THEORY 2 1 1 A typical meter has phase and gain errors as shown by and Axv in Figure 2 1 Following the typical ter convention of current phase being in the lag direction the small amount of phase lead in a typical current sensor is
19. Scrolling not standard for these 111 PF phase 0 112 Angle phase 0 amp 1 114 KW phase 0 115 V phase 0 116 A phase 0 211 PF phase 1 212 Angle phase 0 amp 2 214 KW phase 1 215 V phase 1 216 A phase 1 311 PF phase 2 312 Angle phase 2 0 314 KW phase 2 315 V phase 2 316 A phase 2 416 A neutral measured The value is a bit mask that de scribes a scrolling display se quence Each set bit permits a display with an Icd_idx value from 0 31 Each is displayed for 7 seconds Ordered by in creasing bit number If value is zero display does not change ASCII bytes MSB of 32 bit number Least significant byte should be zero For AMR demonstrations sent as the manufacturer s ID of the meter 0x54534300 v5 Like i_max except for the 2nd current sensor Currents Wh etc using currents from 0 1 Amps 208 A 2080 signed the second sensor are rescaled into the same units as the first current sensor Maximum valid neu in limit Same units as CE s Same units as i3sqsum tral current The time that neu tral current can ex ceed n_max before the neutral error is asserted 32 bit unsigned number For Identification AMR demonstrations this is meter ta ber of meter sent in decimal as the identifica 100000000 tion number of the meter Count of tempera See data sheet Temperature is ture sensor
20. Test the meter at nominal current and if desired at lower and higher currents and various phase an gles to confirm the desired accuracy Store the new calibration factors CAL In CAL Vn and LCOMP2 in the EEPROM or FLASH memory of the meter If the calibration is performed on a Teridian Demo Board the methods involving the command line interface as shown in sections 1 9 3 and 1 9 4 can be used Repeat the steps 1 through 7 for each phase Tip Step 2 and the energy measurement at 0 of step 3 can be combined into one step Page 39 of 91 v5 2 2 4 CALIBRATION PROCEDURE WITH FIVE MEASUREMENTS Each phase is calibrated individually The calibration procedure is as follows 1 2 The calibration factors for all phases are reset to their default values i e CAL In CAL Vn 16384 and LCOMP2 0 RMS voltage Videal consistent with the meter s nominal voltage is applied and the RMS reading Vactual Of the meter is recorded The voltage reading error Axv is determined as Axv Vactual Videal Viaeal Apply the nominal load current at phase angles 0 60 180 and 60 300 Measure the Wh gy each time and record the errors Eo Eso E180 and Eoo Calculate the new calibration factors CAL CAL Vn and LCOMP2 n using the formulae present ed in section 2 1 2 or using the spreadsheet presented in section 2 2 5 Apply the new calibration factors CAL In CAL Vn and LCOMP2 n to the
21. capacitive E 2 lt E us 7 Voltage Ss Generating Energy Using Energy Figure 2 2 Phase Angle Definitions The calibration procedures described below should be followed after interfacing the voltage and current sensors to the 71M6543F chip When properly interfaced the V3P3 power supply is connected to the meter neutral and is the DC reference for each input Each voltage and current waveform as seen by the 71M6543F is scaled to be less than 250mV peak 2 2 3 CALIBRATION PROCEDURE WITH THREE MEASUREMENTS Each phase is calibrated individually The calibration procedure is as follows 1 2 8 The calibration factors for all phases are reset to their default values i e CAL In CAL Vn 16384 and 2 n 16384 An RMS voltage Vigea consistent with the meter s nominal voltage is applied and the RMS reading Vactual Of the meter is recorded The voltage reading error Axv is determined as Vactual Videal Videal Apply the nominal load current at phase angles 0 and 60 measure the Wh energy and record the er rors Eo AND Calculate the new calibration factors CAL In CAL Vn and LCOMP2_n using the formulae present ed in section 2 1 1 or using the spreadsheet presented in section 2 2 5 Apply the new calibration factors CAL In CAL Vn and LCOMP2 n to the meter The memory loca tions for these factors are given in section 1 9 1
22. Military Time Format is used for the i e 15 00 is 3 00 Commands for Accessing the Control Registers T TRIM CONTROL Comment Description Allows user to read trim and fuse values Usage T option Command T4 Read fuse 4 TRIMM combinations T5 Read fuse 5 TRIMBGA T6 Read fuse 6 TRIMBGB Example T4 Reads the TRIMM fuse gt 16 of 91 These commands are only accessible for the 71M6543H 0 1 parts When used on a 71M6543F 0 5 part the results will be displayed as zero v5 Reset 5 w RESET Comment Description Watchdog control Usage Halts the Demo Code program thus suppressing the trigger ing of the hardware watchdog timer This will cause a reset if the watchdog timer is enabled Commands for the 71M6x0x Remote Sensor Interface 6 71M6x0x Interface Comment Description Commands for control of the Re mote Sensor Interface IC Usage 6En Remote sensor Enable 1 gt Enable 0 gt Disable 6Ra b Read Remote Sensor IC number a with command b 6Ca b Write command b to Remote Sensor IC number a 6Ta b Send command b to Remote Sensor IC number a in a loop forever 6T Send temp command to 6000 number 2 in a loop forever 6R1 20 Reads the temperature from Remote Sensor IC number 1 See section 1 10 7 for information on how to interpret the temperature data
23. and the Keil compiler PK51 No records may overlap Keil bank_merge and checksum produce this style of hex file by default The records from 0x00000 to 0x00400 are ignored so that the bootloader can t overwrite itself If the bootloader load process is not invoked the bootloader jumps to address 0x0400 and executes the code found there A detailed description of the bootloader can be found in the readme txt file contained the source code ZIP package folder 6543_5p4f_14dec11 Config Series6540 BtLd For a 71M6543 Demo Board containing code with the bootloader instructions for loading new code are as fol lows 1 Connect a PC running HyperTerminal or a similar terminal program to the 71M6543 Demo Board Set the program to 38 400 baud 8 bits no parity XON XOFF flow control Turn off the power to the 71M6543 Demo Board Install a jumper from board ground to the VARh pulse output JP7 right pin which is also SEGDIO2 A low voltage on this pin signals to the bootloader that new code should be loaded via the UART Apply power to the meter After a brief delay the Wh pulse LED 05 will light up SEGDIO1 The bootloader should send a on the UART to the PC If this occurs the flash is erased and the 71M6543 Demo Board is ready to load code If this does not occur check the jumper and reset or repower the unit If the Wh LED still does not light up then the boot code is not installed Page 33 of 91 v5
24. 0KACT ND N A 80515 5011K ND ADUM1100AR ND MAX3237CAI ND 2202K ND H342 ND H343 ND H216 ND v5 71M6543 Demo Board User s Manual 4 9 DEBUG BOARD SCHEMATICS 5Vdc EXT SUPPLY v5 DBG 5 6 1 5 C4 33uF 10V RAPC712 IGND_DBG DB9_RS232 J2 sis GND DBG 5 9 JP1 10uF 16V B Case 4 HDR2X1 3 mec vy 127 NORMAL 2 nec GND DBG oft lt JP2 2 1 _ RS232 TRANSCEIVER NORMAL 77 MAX3237CAI GND DBG C14 232VP1 27 28 232C1P1 15 4 0 1uF Vt o 1 V5_DBG gt 25__232 1 1 L HDR2 1 C17 232VN1_4 c2 t 232C2P1_ c18 29 0 1uF m 0 1uF Ww 3 _ 232C2M1 GND DBG NULL 2 GND DBG 7232 8 24 GND_DBG x T2OUT T2IN HDR2X1 X To BOUT 19 TAIN lt X X 16 NULL RIOUTBF 21 RXSO V5 DBG RAIN R1OUT 20 R2IN R20UT fs gt c22 R3IN R3OUT X lt a gt GND_DBG SHDNB V5_DBG GND DBG L 0 tuF R8 GND_DBG 10K GND_DBG Page 84 of 91 V5_DBG
25. 2 VA K1 AE EE EAE TE MUS 2 5 5 and Sensor Placement 4 iet a uku a aa kuah Sakaq a ka 2 5 1 anea paiak 2 5 2 Placement of Sensors O rE 2 5 3 Placement of Sensors 1 2 5 4 Other Techniques for Avoiding Magnetic Crosstalk 3 HARDWARE DESCRIPTION u uuu emer nen Lana yu aaa eR xa Fa Aa aac 31 71M6543 REV 4 0 Demo Board Description Jumpers Switches and Test Points 55 3 2 71M6543 REV 5 0 Demo Board Description U u u 59 3 3 Board Hardware 60 4 APPENDIX 39 netur e eec rao Sa 61 41 71M6543 Demo Board Rev 4 0 Electrical Schematic u 62 42 71M6543 Demo Board Rev 5 0 Electrical 2224 66 43 Gomme ts on Schematics ei uu cu Eas an ruina ta ERR a
26. 2 13 Swiveled Sensor 52 Figure 2 17 Loop Formed by Shunt and Sensor 53 Figure 2 18 Shunt with Compensation 53 Figure 2 19 Shunt with Center Drill 11 11 53 Figure 3 1 71M6543 REV 4 0 Demo Board Board Description emen enne 58 Page 4 of 91 v5 Figure 3 2 71M6543 REV 5 0 Demo Board 59 Figure 4 1 Teridian 71M6543 REV 4 0 Demo Board Electrical Schematic 1 4 62 Figure 4 2 Teridian 71M6543 REV 4 0 Demo Board Electrical Schematic 2 4 63 Figure 4 3 Teridian 71M6543 REV 4 0 Demo Board Electrical Schematic 3 4 64 Figure 4 4 Teridian 71M6543 REV 4 0 Demo Board Electrical Schematic 4 4 65 Figure 4 5 Teridian 71M6543 REV 5 0 Demo Board Electrical Schematic 1 4 66 Figure 4 6 Teridian 71M6543 REV 5 0 Demo Board Electrical Schematic 2 4 67 Figure 4 7 Teridian 71M6543 REV 5 0 Demo Board Electrical Schematic 3 4 68 Figure 4 8 Teridian 71M6543 REV 5 0 Demo Board Electrical Schematic 4 A
27. 2 2 72 Table 4 3 71M6543 REV 5 0 Demo Board Bill of Material 13 73 Table 4 4 71M6543 REV 5 0 Demo Board Bill of Material 2 3 U 74 Table 4 5 Debug Board Bill of Material 83 Table 4 6 71M6543 Pin Description Table 13 88 Table 4 7 71M6543 Pin Description Table 23 88 Table 4 8 71M6543 Pin Description Table 3 3 89 Page 5 of 91 v5 71M6543 Demo Board User s Manual Page 6 of 91 v5 1 2 GETTING STARTED GENERAL The Teridian 71M6543 REV 4 0 and REV 5 0 Demo Boards are demonstration boards for evaluating the 71M6543F device for polyphase electronic power metering applications in conjunction with the Remote Sensor Interface or CT sensors The Demo Boards allow the evaluation of the 71M6543F energy meter chip for meas urement accuracy and overall system use The 71M6543 REV 4 0 Demo Board incorporates a 71M6543F integrated circuit three 71M6103 or 71M6203 Remote Interface ICs peripheral circuitry such as a serial EEPROM emulator port and on board power supply as well as a USB interface for serial communication with a PC The 71M6543 REV 5 0 Demo Board is optimized and prepared for the connection of external CTs and is other wise identical to the REV 4 0 Demo Board All Demo Boards are pre programmed with a Demo Program Demo Code in the FLASH memory of the
28. 2 252 54 10940 Single Phase Operation Shunt Shunt Re 71 6 Part Inom VMAX Voltage V max PNE Power kH IMAX WRATE A V Gain 0x30 W mV RMS uQ 60 600 2483 30 500 1 0 88 39 200 600 8691 10 50 1 0 252 54 Figure 1 7 Worksheet from Calibration Spreadsheets REV 6 0 1 10 6 DETERMINING THE OF 71 6 0 Sometimes it is useful to be able to determine the type of 71M6x0x Remote Sensor Interface that is mounted on the Demo Board The CLI can be used to find out which Remote Sensor Interface is present using the following steps 1 Type 6R1 14 6R2 14 or 6R3 14 depending on which phase is tested 2 The CLI will respond with a two byte hex value e g E9DB 3 Write the hex value out as binary sequence e g 1110 1001 1101 1011 Bits 4 and 5 determine the type of the 71M6x0x Remote Sensor Interface as shown in Table 1 11 Page 32 of 91 v5 Table 1 11 Identification of 71M6x0x Remote Sensor Types Bit 5 4 71 6 0 Remote Interface Accuracy Class 00 71 6601 71M6603 60 1 71 6103 Polyphase 1 01 polyphase 100 71M6113 Polyphase 0 5 10 71M6201 or 71M6203 200 0 2 11 Invalid 1 10 7 COMMUNICATING WITH THE 71M6X0X Some commands are useful to communicate with the 71M6x0x Remote Sensor Interface for the purpose of test and diagnosis Some useful commands are 1 6 1 42 this command causes the 71M6x0x Remote S
29. 7 O is installed at the R26 R27 and R31 and corresponding resistors for phases B and C locations With a 2000 1 ratio CT the maximum current will be 208 For the CT configuration a shunt resistor of 50 uQ should be installed to measure the neutral current Different values can be accommodated by changing the value of i 2 at MPU location Ox1C see section 1 10 3 Note The CT configuration requires a different version of the Demo Code than is used for the shunt configuration ADJUSTING THE DEMO BOARDS TO DIFFERENT VOLTAGE DIVIDERS The 71M6543 Demo Board comes equipped with its own network of resistor dividers for voltage measurement mounted on the PCB The resistor values for the 71M6543 REV 2 0 Demo Board 2 5477MQ R66 R64 R47 R39 combined and 7500 R32 R52 R72 resulting in a ratio of 1 3 393 933 This means that equals 176 78mV 3 393 933 600V A large value for has been selected in order to have headroom for Page 19 of 91 v5 1 9 1 9 1 over voltages This choice need not of concern since the ADC in the 71M6543F has enough resolution even when operating at 120 Vrms or 240 Vrms If a different set of voltage dividers an external voltage transformer potential transformer is to be used scaling techniques should be used In the following example we assume that the line voltage is not applied to the resistor divider for VA formed by R66 R64 R47 R39 and R32 but to a voltage tr
30. 71M6543F IC This embedded application is developed to exercise all low level function calls to directly man age the peripherals flash programming and CPU clock timing power savings etc The 71M6543F on the REV 4 0 Demo Board is pre programmed and pre calibrated for the 50 or 120 shunts shipped with the board The Demo Board may also be used for operation with a CT after hardware modi fications that can be performed by the user This configuration will require a different version of the Demo Code and different settings It should be noted that the 71M6543 performs better with CTs when used with the 71M6543 REV 5 0 Demo Board SAFETY AND ESD NOTES Connecting live voltages to the demo board system will result in potentially hazardous voltages on the demo board THE DEMO SYSTEM IS ESD SENSITIVE ESD PRECAUTIONS SHOULD BE TAKEN WHEN HANDLING THE DEMO BOARD EXTREME CAUTION SHOULD BE TAKEN WHEN HANDLING THE DEMO BOARD ONCE IT IS CONNECTED TO LIVE VOLTAGES BOARD GROUND IS CLOSE TO LIVE VOLTAGE Teridian is a trademark of Maxim Integrated Products Inc Page 7 of 91 v5 1 3 DEMO KIT CONTENTS e 71M6543 Demo Board REV 4 0 with three 71M6203 or 71M6103 ICs and 71M6543F IC with pre loaded demo program or 71M6543 Demo Board REV 5 0 with inputs configured for CTs e 5VDC 1 000mA universal wall transformer with 2 5mm plug Switchcraft 712A compatible e USB Interface Module USB Serial Adapter e USB cable e A
31. Bead VADCS8 PIN VA IND ry n 4 ADC8 2M 270K 270K 4 7K L13 J11 R33 1 1 750 9 20 2 1000pF 4 4 VADC9 PIN R63 R62 R46 R38 Ferrite Bead 6000hm VB_IN gt gt VBLIN rn n gt gt ADC9 2M 270K 270K 4 7K 112 10 1 R5 2 7509 12 1000pF J15 4 lt R61 R60 R59 R58 Ferrite Bead 600ohm VADC10 PIN VC_IN NS ADC1O Santa 2M 270K 270K 4 7K L11 J16 R7 1 7309 013 241 1000pF gt _ n PU H nP CND itle lt Title gt ize Document Number Rev DB6543 4 0 ate Wednesday December 15 2010 Sheet 5 of 5 Page 65 of 91 Figure 4 4 Teridian 71M6543 REV 4 0 Demo Board Electrical Schematic 4 4 v5 71M6543 Demo Board User s Manual 4 2 71M6543 DEMO BOARD REV 5 0 ELECTRICAL SCHEMATIC
32. COM port either a straight or a so called null modem cable may be used JP1 and JP2 are plugged in for the straight cable and JP3 JP4 are empty The jumper configuration is reversed for the null modem cable as shown in Table 1 1 Cable Configura Jumpers on Debug Board Mode tion JP1 JP2 JP3 JP4 Straight Cable Default Installed Installed Null Modem Cable Alternative Installed Installed Table 1 1 Jumper Settings on Debug Board JP1 through JP4 can also be used to alter the connection when the PC is not configured as a DCE device Ta ble 1 2 shows the connections necessary for the straight DB9 cable and the pin definitions PC Pin Function Demo Board Pin 2 TX 2 3 RX 3 5 Signal Ground 5 Table 1 2 Straight Cable Connections Table 1 3 shows the connections necessary for the null modem DB9 cable and the pin definitions PC Pin Function Demo Board Pin 2 TX 3 3 RX 2 5 Signal Ground 5 Table 1 3 Null modem Cable Connections See Table 3 1 for correct placement of jumper JP5 on the Demo Board depending on whether the USB connec tion or the serial connection via the Debug Board is used Page 10 of 91 v5 1 7 3 CHECKING OPERATION A few seconds after power up the LCD display on the Demo Board should display a brief greeting in the top row and the demo code revision in the bottom row H E L L O 5 A F
33. CQ l OWT CO CN CGN OO F O O O O O O O O O O cO cO co cO cO cO cO COO cO cO SPI DI SEGDIO38 mm 1 753 XIN SPI_DO SEGDIO37 C32 74 5 SPI_CSZ SEGDIO36 C33 7300 SEGDIO35 44 72 5 GNDA SEGDIO34 c5 71E3VBAT SEGDIO33 C46 70E3VBAT SEGDIO32C37 69 p3V3P3SYS SEGDIO31 c8 68 IBP SEGDIO30 739 67 SEGDIO29 10 n el 66 SEGDIO28 11 Teridian es DIGN COMO C312 64 IDP COM1 13 71M6543F 63 IDN 2 114 62 9 GNDD 15 6123 SEGDIO27 COMA 416 71 M6543H 60 5 VDD SEGDIO26 COM5 17 59 E SEGDIO25 cj 18 58 RXTX SEG48 SEGDIO24 cj 19 57 TCLK SEG49 SEGDIO23 C20 56 1 RST SEG50 SEGDIO22 C321 556 RX SEGDIO21 22 54 9 TX SEGDIO20 4 23 532 OPT_TX SEGDIO51 SEGDIO19 C324 52 5 SEGDIO52 SEGDIO18 C125 51 E3SEGDIO53 O O x LO O O s LO CGN CO C CO sb sb sb sb sb sb o LO ee Te TO p BO 265500550859 4228 6909665222 Ao o90922aa oooooooouaottm 2 XH 2 00 00 00 00 00 00 0 USS 955829 u go o nn 5 Page 90 of 91 Figure 4 25 71M6543 LQFP100 Pin out top view v5 4 12REVISION HISTORY Revision Date Description 2 0 02 19 2010 Initial release based on DBUM re
34. Commands for Battery Mode Control and Battery Test Commands for Controlling the RTC B INFORMATION MESSAGES Comment Description Allows the user to control battery modes and to test the battery Usage BL Enters LCD mode when in brownout mode B gt prompt BS Enters sleep mode when in brownout mode B gt prompt BT Starts a battery test when in mission mode gt prompt BWSn Set wake timer to n seconds for automatic return to brownout mode BWMn Set wake timer to n minutes for automatic return to brownout mode combinations RTDy m d w Day of week RT REAL TIME CLOCK CON Comment TROL Description Allows the user to read and set the real time clock Usage RT option value value Command Year month day weekday 1 Sunday If the weekday 15 omitted it is set automatically RTR Read Real Time Clock RTTh m s Time of day hr min sec RTAs t Real Time Adjust start trim Allows trimming of the RTC If s gt 0 the speed of the clock will be adjusted by parts per billion PPB If the CE is on the value entered with t will be changing with temperature based on Y CAL Y CALC and Y CALC2 gt Access look up table for RTC compensation Example RTD05 03 17 5 Programs the RTC to Thursday 3 17 2005 RTA1 1234 Speeds up the RTC by 1234 PPB gt 0 Read first four bytes in look up table M
35. Demo Code Typical coefficients in the range of 200 to 400 for PPMC y and 400 to 800 for PPMC2 y 2 3 3 4 Voltage Divider In most cases especially when identical resistor types are used for all resistors of the voltage divider ladder the TC of the voltage divider will be of minor influence on the TC of the meter If desired the voltage divider can be characterized similar to the shunt resistor as shown above The difference is that there is no individual GAIN ADJ for each voltage channel ADJO is primarily intended to compen sate for the temperature coefficients of the reference voltage If the TC of the voltage dividers is to be consid ered it has to be calculated based on the average error of each phase Let us assume applying 240 Vrms to a meter and recording the RMS voltage displayed by the meter at 40 C room temperature 55 C and at 85 C when averaged over all phases we obtain the values in the center column of Table 2 3 Table 2 3 Temperature Related Error Sources Temperature C Displayed Voltage Normalized Voltage 40 246 48 240 458 25 246 01 240 0 55 245 78 239 78 85 245 56 239 57 After normalizing with the factor 240 246 01 to accommodate for the initial error we obtain the values in the third column We determine the voltage deviation between highest and lowest temperature to be 0 88 V which is equivalent to 3671 PPM or 29 4 PPM C For this we obtain a PPMCyp value of 788
36. Enable Tamper Detect Same units as CE s vOsqsum Scaling Maximum Page 25 of 91 Error if exceeded Error if exceeded Same units as CE s Same units as CE s vOsqsum Do nothing spe cial 110 5 for 200 HOhm shunt with 8x preamp 884 0 A for 200 Ohm shunt 442 0A for 400 yOhm shunt r V for the r Board 50 9A 30A sqrt 2 120 407 3V 240V sqrt 2 120 0 08A signed signed signed signed signed signed v5 e temp call mtr call 0 3 mtr cal2 0 3 Center temperature 5 RTC adjust linear gt 5 RTC adjust ee squared by temp PPP y datum 2 in 0 1 C 1 s_cal 1 Page 26 of 91 Convert from CE counts to pulses The number of minutes of a de mand interval Expected number of cycles per second of mains 0 disables the software RTC run from mains Machine readable units per 0 1C Linear temperature calibration for meter elements A D Squared tempera ture calibration for meter elements A D Accumulation inter vals of Autocalibration Volts of Autocalibration Amps of Autocalibration CE s wOsum units per pulse rounded up to next largest CE count so Wh accumulation and display is always rounded down signed 3 2 Wh See data sheet Count of minutes 60 interval interval 60 unsigned Hz unsigned See data sheet Temperature is calculated as temp mea
37. JP4 JP5 JP6 JP7 HDR2X1 JP8 J11 J12 J13 J15 J16 117 118 20 122 123 124 J25 JP50 JP51 JP52 JP53 JP54 JP55 JP20 SWITCHCRAFT J4 J6 J8 J9 Spade Terminal J14 ICEHeader J39 HDR5X2 J21 HDR8X2 L1 L2 L3 L4 L5 L6 L7 L9 110 111 112 113 116 117 118 18 180uH 01 103 RV1 RV2 RV3 VARISTOR Page 73 of 91 BAT 3 PIN BARREL COMBO BAT CR2032 MAX USBV 603 SM CT_3216 603 SM CT_3216 603 603 603 603 603 CYL D 400 LS 200 034 CYL D 400 LS 200 034 HIGH VOLT DISC CAP 603 603 805 603 805 LED6513 LED6513 SMA DIODE SMA DIODE 805 DO 41 BLKCON 100 V H TM1SQ W 1 00 3 BLKCON 100 V H TM1SQ W 1 00 5 BLKCON 100 V H TM1SQ W 1 00 2 SWITCHCRAFT FASTON RIBBON65130 UTLINE BLKCON 100 V H TM20E W 2 00 10 BLKCON 100 V H TM20E W 2 00 16 Ferrite Bead 60001 805 RFB0807 LED6513 MOV CPS 2381594 445 1298 1 ND 478 1663 1 ND 445 1314 1 ND 478 1654 1 ND 445 1604 1 ND 445 1271 1 ND 445 1269 1 ND 445 1273 1 ND 445 1298 1 ND 493 1227 ND P963 ND 445 1314 1 ND 445 1281 1 ND 478 3351 1 ND 478 1227 1 ND 587 1782 1 ND 67 1612 ND 475 1461 ND RS1J E3 61TGICT ND ES1JFSCT ND L62415CT ND 1 5KE350CALFCT ND S1011E 36 ND S1011E 36 ND 51011 36 SC237 ND A24747CT ND A33555 ND S2011E 36 ND S2011E 36 ND 445 1556 1 ND 475 1437 ND 806 KUSBVX BS Kycon 75 125LS30 R 571 5 104068 1 594 2381 594 55116 KUSBVX BS1N W TDK C1608X7R2A102K AVX TAJA22
38. Ohm MELEF 50 PRPM NP sn 4 3 4 a gt ADC3 R89 R90 499 l kOhm zu sia 1 08 1 R97 R92 DNP 750 Ohm EEn 2 C48 C58 DNP 1 000 DNP amp test vec ar ha 1 IADC2 IADC3 PINS C29 C32 DNP 1 000 pF 1 DNP pO PEM R91 DNP 0 Ohm Pes 71M6103 8SOIC T 015 71 DNP 1000 R90 10K DNP 17 T4 MidCom 56 DNP 4 DNP 4 4OND_R6000_A 4 Alternative footprint option DNP T 750110057 8 to L9 L10 0 Ohm 600 Ohm ferrite b lu 1000pF be provided on daughter boards 750 pa This channel used for Phase A sensors R91 Population optians for R29 R28 R24 etc NIY 2 gt vepasvs when using CTs B 2x 3 4 Ohm 100 PPM Vishay Dale CRCW12063R40FKEA 6 R98 AK iai R93 kd Digi Key P N 541 3 40FFCT ND 1206 or 750 os IN 3 x 5 1 Ohm 50 PPM Vishay Dale SMM02040C5108FB300 5 1000pF 0 Ohm Mouser P N 71 SMMO2040C5108FB30 10K 780110056 CO 4 3 n 3 ADC5 2 L6 7 2 IB IN J18 65 INN IBN_IN R20 2 R28 2 R34 1000pF 8 1 6 1 IADC4 IADC5 PINS 51 5 1 5 1 DNP TEST D 0 PPM PPM 50 PPM a 71M6103 8SOIC 1 ania 0 Ohm 1000pF DNP C34 DNP GND R6000 B 4 DNP iF 10K R99 C37 1000pF 750 ps This channel used for Phase sensors R10 4 4 0 Rae 750 C41 5 1000 0 Ohm 10K TMUX GND 750110056
39. R92 R91 etc are through hole Population Options 750 DNP c32 1 8 W parts in order to provide enough Part 71 6 Option in di _5 mux GND 1000pF pin to pin distance to accommodate the 0 Ohm R26 R27 DNP 3 4 Ohm 1206 100 PPM R89 499 750110056 DNP clearance and creepage required ov R26 R27 R32 DNP 5 Ohm MELF 50 4 3 gt ADC3 L9 R89 R90 499 Ohm 10kOhm 7 2 1 08 1 R97 R92 DNP 7500hm 048 Ne Sp 2 R32 C58 1 000 1 000 pF R 8 vec L 1 IADC2 IADC3 PINS 3 4 4 T4 DNP R9I DNP 0 Ohm ES 100 PPM 15 71 6103 DNP 71M6103 8SOIC 2 0 Ohm T4 MidCom 56 DNP 1000p R90 499 4 17 Alternative footprint option for D_R6000_A 22022 el DNP mE Midcom 750110057 8 kV to L10 R92 C29 be provided on daughter boards 1000pF 750 DNP DNP This channel used for Phase sensors R91 4 4 B 7 ions for R09 FOB ROA N D 5 5 when using CTs Bo 2x 3 4 Ohm 100 PPM Vishay Dale CRCW12063R40FKEA 6 R98 A idi R93 kd Digi Key P N 541 3 40FFCT ND 1206 or IBP IN 3 x 5 1 Ohm 50 PPM Vishay Dale SMM02040C5108FB300 5 4 1000 0 Ohm Mouser P N 71 SMMO2040C5108FB30 499 dS XE 780110056 DNP N 4 4 3 n 3 ADC5 2 L6 7 2 IB IN J18 e INN sp IBN IN R29 R28 R34 1000pF 8 1 6 1 IADC4 IADC5 PINS 3 4 3 4 3 4 1 TEST VCC d DNP DNP DNP Ju hoo PPM 100 PPM 100 PPM ees 0 Ohm 1000
40. be loaded using the commands File followed by Load The dialog box shown in Figure 1 6 will then appear making it possible to select the file to be loaded by clicking the Browse button Once the file is selected pressing the OK button will load the file into the flash memory of the 71M6543F IC At this point the emulator probe cable can be removed Once the 71M6543F is reset using the reset button on the Demo Board the new code starts executing Signum Systems Wemu51 ADM51 Emulator Test Bile Edit View Debug Project Options Window Help 9125 Cv e C5 a s 2 8 Program 1 PS EJES 1 5 Address 1FE0 Dec 0 51 41807 CPU 71M6543 PC 0000 0 00 00 00 00 00 00 00 DPTR 0000 DPTF1 0000 acc 00 SP 107 B 00 00 EE 02 00 CY 0 0 FO 0 OV 0 HE 00 00 00 00 00 00 00 00 FS Fl D 13 B 78 FE 00 00 00 00 00 00 00 00 02 AD D4 02 90 0 00 00 00 00 00 00 00 00 vm 57 EE FO cR HUM 00 00 00 00 00 00 00 00 R2 00 00 00 90 OA 59 12 51 00 00 00 00 00 00 00 00 R4 C2 5 00 59 12 51 00 00 00 00 00 00 00 00 R6 00 R7 00 14 12 07 OF D 00 00 00 00 00 00 00 00 00 00 00 12 n 00 00 00 00 00 00 00 00 gt 14 02 89 00 00 00 00 00 00 00 00 12 07 40 9 1 7 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
41. high or LCD segment drivers when ICE_E tied to GND E TCLK SEG49 ICE enable When zero E_RST E_ TCLK _ become ICE E SEG50 SEG49 and 52048 respectively For production units this pin should be pulled to GND to disable the emulator port TMUXOUT SEG47 O Multi use pins configurable as either multiplexer clock output or LCD TMUX2OUT SEG46 segment driver using the RAM registers Chip reset This input pin is used to reset the chip into a known state RESET For normal operation this pin is pulled low To reset the chip this pin should be pulled high This pin has an internal 30 nominal cur rent source pull down No external reset circuitry is necessary RX UARTO input If this pin is unused it must be terminated to V3P3D or GNDD TX UARTO output TEST Enables Production Test This pin must grounded in normal operation Push button input This pin must be at GNDD when not active or un PB used rising edge sets the E PB flag It also causes the part to wake up if it is in SLP or LCD mode PB does not have an internal pull up or pull down resistor NC Do not connect this pin Pin types P Power Output Input I O Input Output Page 89 of 91 v5 T O str 10 Lco xb sb sb 888888554 55 9 25 9 gt 62225
42. meter The memory loca tions for these factors are given in section 1 9 1 Test the meter at nominal current and if desired at lower and higher currents and various phase an gles to confirm the desired accuracy Store the new calibration factors CAL In CAL Vn and LCOMP2 n the EEPROM or FLASH memory of the meter If a Demo Board is calibrated the methods involving the command line interface shown in sections 1 9 3 and 1 9 4 can be used Repeat the steps 1 through 7 for each phase Tip Step 2 and the energy measurement at 0 of step 3 can be combined into one step 2 2 5 CALIBRATION SPREADSHEETS Calibration spreadsheets are available on the Maxim web site www maxim ic com Figure 2 3 shows the spreadsheet for three measurements Figure 2 4 shows the spreadsheet for five measurements with three phases Use the standard calibration spreadsheets for 71M651x 71M652x or 71M653x when calibrating meters with CTs These spreadsheets will provide results for the n parameters instead of the LCOMP2 n parame ters For the calibration data should be entered into the calibration spreadsheets as follows 1 2 Page 40 of 91 Calibration is performed one phase at a time Results from measurements are generally entered in the yellow fields Intermediate results and calibra tion factors will show in the green fields The line frequency used 50 or 60Hz is entered in the yellow field labeled AC frequency A
43. nee aasan asss 7 1 3 D mo Kit Contents au 8 1 4 Demo Board Versions y uy en 8 LEE eno ups 8 1 6 Suggested Equipment not Included I U U U U u uu uu uu u u 8 1 7 Demo Board Test Setup iiec iS S awama u S a ai Su 9 1 7 1 10 1 7 2 Cables for Serial Communication 10 1 7 3 GReCKING Operation eee ettet S ME Re REED RR SERERE am i 11 1 7 4 Serial Connectiori Set p 3 cR a e oec lain 11 18 Using the Demo Board I 12 1 8 1 Serial Command Lang age ertt etre ertet tne e eet den teinte de lee dee ek inen 13 1 8 2 Using the Demo Board for Energy 19 1 8 3 Adjusting the Kh Factor for the Demo L nnne nen nenne enne 19 1 8 4 A Adjusting the Demo Boards to Different SHUNT Resistors 19 1 8 5 Using PresAmplifler e e 19 1 8 6 Using Transformers CTS 5 m e DRE 19 1
44. r liwP sN 5 i anc7 E css Zinn 2 2 1000pF 8 1 8 1 IADC6 IADC7 PINS R31 R30 2 R35 DNP TEST VCC NEZ 5 1 5 1 5 1 Die 0 PPM PPM 50 PPM C80 71M6103 8SOIC m 1000 Kod DNP C56 1 Dance 0 Ohm DNP 1uF NANM 1 Re000 DNP 15 10 R112 C40 1000pF 750 This channel used for Phase sensors 4 4 4 0 0 IN 1 pr 12 J3 J25 1 p4 2 2 R3E 2 2 1 PINS Isolation IN IN 5 1 5 1 5 1 ADC0 ADC1 V3P3SYS INN IN 50 PPM 50 PPM 13 gt 1 0 71 6543 Meter Demo Board Bize Document Number Rev This channel used for NEUTRAL No isolation and no remote sensor D6543 5 0 ate Thursday March 24 2011 heet 3 of 3 Figure 4 7 Teridian 71M6543 REV 5 0 Demo Board Electrical Schematic 3 4 v5 71M6543 9 NEUTRAL 1 If high precision Rs are not available use Vishay P N RN65D2004FB14 NEUTRAL Mouser P N 71 RN65D F 2 0M NEUTRAL TC 100 PPWC 15 1000pF VOLTAGE CONNECTIONS All Susumu resistors TC 25 R66 IR R R39 e Ferrite Bead 600ohm VADC8 VA IND ERU I IW e gt gt ADC8 2M 270K 270K _ 4 7K _ tg 1 2332 i TC 100 750 Lf VADC9 PIN R63 R62 R46 R38 Ferrite Bead 6000hm LVN gt 9 2M 270K 270K 4 7K 112 R5 750 44 1000pF s R61 R60 R59 R58 Ferrite Bead 60
45. range is 0 to 32767 If the gain is 1 slow CAL should be increased by 1 Adjusts the gain of the current channels 16384 is the typical value The gain is directly proportional to the CAL parameter Allowed range is 0 to 32767 If the gain is 1 slow CAL should be increased by 1 LCOMP2_A This constant controls the phase compensation No compensation occurs LCOMP2 B when LCOMP2 16384 As LCOMP2 n is increased more compensa LCOMP2 C tion is introduced CE codes for CT configuration do not use delay adjustment These codes use phase adjustment PHADJ CALIBRATION MACRO FILE The macro file in Figure 1 4 contains a sequence of the serial interface commands It is a simple text file and can be created with Notepad or an equivalent ASCII editor program The file is executed with HyperTerminal s Transfer Send Text File command CEO disable CE 110 16022 CAL IA gain CAL IA 16384 111 16381 CAL VA gain CAL VA 16384 112 17229 LCOMP2 default 16384 1 enable Figure 1 4 Typical Calibration Macro File It is possible to send the calibration macro file to the 71M6543F for temporary calibration This will temporarily change the CE data values Upon power up these values are refreshed back to the default values stored in flash memory Thus until the flash memory is updated the macro file must be loaded each time the part is powered up The macro file is run by sending it with the
46. represented as The errors shown in Figure 2 1 represent the sum of all gain and phase errors They include errors in voltage attenuators current sensors and in ADC gains In other words no errors are made in the input or meter boxes INPUT ERRORS METER Ia gt gt gt IDEAL I ACTUAL I Ay is phase lag s 15 phase lead qp w IDEAL Vcos ACTUAL IV Ay Axy cos s gt Aw gt IDEAL V ACTUAL V ACTUAL IDEAL _ ACTUAL IDEAL IDEAL ERROR Figure 2 1 Watt Meter with Gain and Phase Errors During the calibration phase we measure errors and then introduce correction factors to nullify their effect With three unknowns to determine we must make at least three measurements If we make more measurements we can average the results CALIBRATION WITH THREE MEASUREMENTS The simplest calibration method is to make three measurements Typically a voltage measurement and two Watt hour Wh measurements are made A voltage display can be obtained for test purposes via the command gt 2 1 in the serial interface Let s say the voltage measurement has the error and the two Wh measurements have errors and Ego where Eo is measured with 0 and Eso is measured with 60 These values should be simple ratios not percentage values They should b
47. the Remote Sensor Inter faces and it is shipped in this configuration The Demo Board may immediately be used with 50 uQ shunt resistors ANSI version or 120 uQ shunt resistors IEC version It is programmed for a kh factor of 3 2 see Section 1 8 4 for adjusting the Demo Board for shunts with different resistance Once voltage is applied and load current is flowing the red LED 05 will flash each time an energy sum of 3 2 Wh is collected The LCD display will show the accumulated energy in Wh when set to display mode 3 com mand gt 3 via the serial interface Similarly the red LED D6 will flash each time an energy sum of 3 2 VARh is collected The LCD display will show the accumulated energy in VARh when set to display mode 5 command gt M5 via the serial interface ADJUSTING THE KH FACTOR FOR THE DEMO BOARD The 71M6543 Demo Board is shipped with a pre programmed scaling factor Kh of 3 2 i e 3 2 Wh per pulse In order to be used with a calibrated load or a meter calibration system the board should be connected to the AC power source using the spade terminals on the bottom of the board On the revision REV 4 0 of the Demo Board the shunt resistor wires are terminated directly to the dual pin headers J22 J23 and J24 on the board The Kh value can be derived by reading the values for MAX and VMAX i e the RMS current and voltage val ues that correspond to the 250mV maximum input signal to the IC and inserting them in the foll
48. the on chip temperature sen sors on the 71M6x0x Remote Sensor Interface IC or the 71M6543 Generally the lower the TC of a shunt resistor the better it can be compensated Shunts with high TCs require more accurate temperature measurements than those with low TCs For example shunt with 200 PPM C is used and the temperature sensor available to the 71M6543 is only accurate to 3 C the compensation can be inaccurate by as much as 3 C 200PPM C 600 PPM or 0 06 2 The reference voltage of the 71M6x03 Remote Sensor Interface IC At the temperature extremes this voltage can deviate by a few mV from the room temperature voltage and can therefore contribute to some temperature related error The TC of the reference voltage has both linear and quadratic com ponents TC and Since the 71M6X03 Remote Interface IC has an on chip temperature sensor and since the development of the reference voltage over temperature is predictable to within 10 PPM C for high grade parts For example compensation of the current reading is possible for a part with 80 to within 60 C 80 10 or 0 48 The reference voltage can be approached by the nominal reference voltage VNOM T VNOM 22 T 22 TC4 T 22 TC Actual values for TC be obtained using the formulae given in the data sheets for the 71M6543 and for the 71M6x03 Additionally the Demo Code will automatically generate the compen satio
49. these may be in an unchanging table in code space The second part 20 2F pertains to calibration i e variables that are likely to need individual adjustments for quality production meters The third part 30 pertains to measurements i e variables and registers that may need to be read in a demonstration meter Page 24 of 91 v5 Table 1 7 MPU XRAM Locations Default Signed v_min i max i min Metering element enters creep mode if current is below this value If 0 creep logic is disabled In creep mode on each me tering element Wh VARh i0sqsum and other items are zeroed Configure meter operation on the fly error if below Also creep Below this low volt age seconds are counted Voltage Wh Fre quency and other voltage dependent items are zeroed Scaling Maximum Amps for standard sensor Same units as CE s iOsqsum 1 Display KWh bit1 1 clear accumulators er rors etc e g 1 2 bit2 1 Reset demand e g 1 4 bit3 1 CE Raw mode MPU does not change CE values with creep or small current calcula tions bit5 1 Send a message once per second for IEC 62056 217 Mode D on UART 1 at 2400 BAUD even parity The meter s serial number and current Wh display are sent as data UART 1 is routed to an IR LED if pos sible Mode D data fields are prefaced with OBIS codes in legacy format bit6 1 Auto calibration mode bit7 1
50. value of 50 uQ but this is of minor importance since this deviation will be compensated by calibration In a temperature chamber this resistor generates a voltage drop of 5 4559 mV at 40 C and 5 541 mV at 85 C with a current of 100 A applied This is equivalent to a resistance deviation of 0 851 uQ or 15 473 PPM With a temperature difference between hottest and coldest measurement of 125 C this results in 124 PPM C At high temperatures this re sistor will read the current 60 C 124 or 0 744 too high This means that the register has to be adjusted by 0 744 at the same temperature to compensate for the TC of the shunt resistor Page 45 of 91 v5 Let us assume that only linear components appear in the formula below i e 2 is zero 2 GAIN _ADJ 16385 24T 2 We must now find the PPMC value that decreases GAIN ADJ by 0 744 when DELTA is 600 DELTA is measured in tens of C We find PPMC to be PPMC 2 16263 16385 600 3331 2 3 3 2 Remote Sensor Reference Voltage The compensation coefficients for the reference voltage of the three 71M6103 are derived automatically by the Demo Code Typical coefficients are in the range of 500 to 300 for and 200 to 400 for PPMC2 y 2 3 3 3 Reference Voltage of the 71M6543 or 71M6543H The compensation coefficients for the reference voltage of the 71M6543 are derived automatically by the
51. 0 VADC10 VC IN D ADC10 V3P3SYS gt gt GND Title lt Title gt Page 69 of 91 Document Number Friday January 07 2011 Figure 4 8 Teridian 71M6543 REV 5 0 Demo Board Electrical Schematic 4 4 v5 4 3 COMMENTS SCHEMATICS 4 3 1 GENERAL The schematics shown in this document are provided for a Demo Meter that functions under laboratory conditions Maxim does not guarantee proper function of a meter under field conditions when using the Demo Board schematics Care should be taken by the meter designer that all applicable design rules as well as reliability safety and legal regulations are met by the meter design 4 3 2 USING FERRITES IN THE SHUNT SENSOR INPUTS The 71M6543 Demo Board in shunt configuration has footprints on the PCB to accommodate ferrites between the shunt signal inputs and the 71M6xxxx Remote Sensors These footprints labeled L4 L5 L6 L7 L9 and L10 are populated with 0 Ohm resistors It is not advisable to directly replace these resistors with ferrites without further changes since this will degrade the low current accuracy to some degree If ferrites are needed for EMC reasons the input circuit should be modified as shown in Figure 4 9 The modifications are as follows e Positions L4 L5 L6 etc are replaced with ferrites e 100 resistor is added across the sensor input e The two 1 000 pF capacitors from INP to local ground and from INN to local ground are r
52. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C2 00 00 OO OO OO OO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 00 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 48 4 48 B6 5F 75 69 HJH uBi 3 00 30 DB 00 00 00 00 4 x Figure 1 5 Emulator Window Showing Reset and Erase Buttons see Arrows Page 22 of 91 v5 71M6543 Demo Board User s Manual View ium Systems Wemu51 ADM51 Emulator Test Debug Project Opti indow Help Program_1 Address 0005 1 Ele tke El j iz Status_1 DM51 41807 Figure 1 6 zi i 5 i 5 i minim File CPU 71M6543 os PC 0000 ees BANK 0 DPTR 0000 0 Fo 0 0 0 F10 2 AMetersNFimwareNHexN65406543nc 5p a demo 13 03 Fie Type mimm imm
53. 10 0 1uF L_RECT DNP R152 2k 68 NEUTRAL RV1 VARISTOR lt J4 R141 R140 D12 vaN P 1 1 VAIN R8 100 3 4K S1J 75 DNP VA IN NEUTRAL RV2 VARISTOR lt 6 R73 R146 D13 VB IN 4 1 VA TN R7 100 3 4K 81 75K DNP NEUTRAL VARISTOR lt 8 R65 R147 D44 1 TN R6 100 3 4K 81 75 gt gt vc_in R6 R7 R8 can be used to JP4 generate a virtual neutral 2 1 oND NEUTRAL Title 2 vspasvs 71M6543 Meter Demo Board PNEUTRAL Bize Document Number ev B D6543 5 0 Date Thursday December 09 2010 het 2 of Page 67 of 91 Figure 4 6 Teridian 71M6543 REV 5 0 Demo Board Electrical Schematic 2 4 v5 71M6543 Demo Board User s Manual Page 68 of 91 645 ROAR R97 R92 R91 etc are through hole Population Options 750 c32 1 8 W parts in order to provide enough Part 71 6 Option in di 5 GND 1000 pin to pin distance to accommodate the R26 27 DNP 3 4 Ohm 1206 100 PPM R89 10K X 750110056 clearance and creepage required R26 R27R32 DNP 5
54. 16 Kycon TDK AVX TDK AVX TDK TDK TDK TDK TDK Nichicon Panasonic Vishay BC TDK TDK AVX Corporatic AVX Corporatic Taiyo Yuden Lumex Osram Vishay Genera Vishay CML Littelfuse Sullins Sullins Sullins Switchcraft Inc Tyco AMP Tyco AMP Sullins Sullins TDK Stackpole CoilCraft Osram AVX KUSBVX BS1N W C1608X7R2A102K TAJA226K010RNJ C1608X7R1H104K TAJA106K010R C1608X7R1C105K C1608C0G1H150J C1608C0G1H100D C1608X7R2A102K C1608C0G1H220J UVR2G2R2MPD ECE A1AKS101 125LS30 R C1608X7R1H104K C1608C0G1H101J 08055C104MAT2A 06035C103KAT2A TMK212BJ475KG T SSL LX5093SRC E SFH 4511 511 61 ES1J CMD17 21UGC TR8 1 5KE350CA PBC36SAAN PBC36SAAN PBC36SAAN RAPC712X 62395 1 5 104068 1 PBC36DAAN PBC36DAAN MMZ20125601A RMCF0805ZTOROO RFB0807 181L SFH 300 3 4 238159455116 10 10 0 1 0 1 10 5 5 10 0 05 20 0 1 5 20 0 1 0 1 100V 10V 50V 10V 16V 50V 50V 100V 50V 400V 10V 1000V 50V 50V 50V 50V 25V 0 5 0 5 0 1 0 2 0 1 0 2 0 3 DNP DNP DNP DNP DNP v5 71M6543 Demo Board User s Manual 40 2 RLR2 41 1 R4 42 R6 R7 R8 43 6 9 810 811 815 816 817 44 2 812 813 45 5 R14 R33 R52 R54 R72 46 1 R18 47 3 19 8106 8137 48 1 R20 49 1 R21 50 2 R24R25 51 10 R26 R27 R28 R29 R30 R31 R32 R34 R35 R36 52 R38 R39 R58 53 6 R46 RA7 R
55. 16 L17 118 L2 L3 L4 L5 L6 L7 L9 L10 18 1 RV1 RV2 RV3 Page 71 of 91 BAT3 PIN BATTERY BARREL COMBO BATTERY BATCR2032 MAX USB W USBV 1000pF 603 22uF SM CT_3216 O 1uF 603 10uF 3216 1uF 603 15pF 603 10pF 603 1000pF 603 22pF 603 22uF CYL D 400 LS 200 034 1000 CYL D 400 LS 200 034 0 03 uF HIGH VOLT DISC CAP O 1uF 603 100pF 603 O 1uF 805 0 01 603 4 7uF 805 LED_1 LED6513 LD274 LED6513 51 SMA DIODE ES1J SMA DIODE LED 805 1 5KE350A DO 41 BLKCON 100 V HDR3X1 H TM1SQ W 1 00 3 BLKCON 100 V HDR5X1 H TM1SQ W 1 00 5 BLKCON 100 V HDR2X1 H TM1SQ W 1 00 2 SWITCHCRAFT SWITCHCRAFT Spade Terminal FASTON ICE Header RIBBON65130 UTLINE BLKCON 100 V HDR5X2 H TM20E W 2 00 10 BLKCON 100 V HDR8X2 H TM20E W 2 00 16 Ferrite Bead 600ol 805 0 Ohm 805 180uH RFB0807 BP103 LED6513 VARISTOR MOVERS 2381594 445 1298 1 ND 478 1663 1 ND 445 1314 1 ND 478 1654 1 ND 445 1604 1 ND 445 1271 1 ND 445 1269 1 ND 445 1298 1 ND 445 1273 1 ND 493 1227 ND P963 ND 445 1314 1 ND 445 1281 1 ND 478 3351 1 ND 478 1227 1 ND 587 1782 1 ND 67 1612 ND 475 1461 ND S1J E3 61TGICT ND ES1JFSCT ND L62415CT ND 1 5KE350CALFCT ND S1011E 36 ND S1011E 36 ND 51011 36 SC237 ND A24747CT ND A33555 ND S2011E 36 ND S2011E 36 ND 445 1556 1 ND RMCFO805ZTOROOCT ND 475 1437 ND 806 KUSBVX BS1N W 75 125LS30 R 571 5 104068 1 594 2381 594 551
56. 4 SW5 i GND SEGDIO4P lt 95 SEGDIO45 SEGDIO9 34 5 601010 P2 3 RXD NC 22 B SEGDIO43 96 SEGDIO44 SEGDIO10 33 SEGDION1 R150 GND X557 Rit GBUSO 724 27 1 SEGDIO42 97 SEGDIO43 SEGDIO11 35 SEGDIO12 1 91 5 GND FT232RQ CBUS1 29 7X 1K CEGDIO4T 98 SEGDIO42 SEGDIO12 lt 2 X 3 NC GND LED 100 R106 SEGDIO41 98 31 SEGDIO13 6 19 SV USB gt 2 ik SEGDIO40 99 SEGDIO41 SEGDIO13 30 SEGDIOT4 w 3 X 7f7 DSR vec H 1 ne Spr cK 100 SEGDIO40 SEGDIO14 1 4 DCD RESET 0 1uF SPI CK 100 29 SEGDIO15 GND 8 17 GND USB GND SPLCKISEGDIO39 SEGDIO15 28 SEGDIO16 R151 5 RT zt GND SEGDIO16 29 5 1 598 55 289 2L BIT BANG HDR 22200999 1 259 22 NC Xx 40K UART 1 00022558 eo 1 2 V3P3D aes USB Connector straight SERIAL EEPROM 582 UXOUT 25008880999 99 000505 1 5V U4 c20 lt 60000 PTTX 712 45V USB x ie TMUX20UT 00000000222200 00000 0 1uF 1 L1 1 8 V3P3D 00000000000000000 NNNNA V3P3SYS 2 s vec GND 3 D Ferrite Bead 600 a we ENS 0 Bead 6000 4 2 SCL 5 100K epo c72 ATR HDR2X1 es ERR R12 R109 bo lololol 2452244 100K 10K C74 0 01uF 0 1uF SER
57. 5 71M6543 Demo Board User s Manual Page 54 of 91 v5 3 HARDWARE DESCRIPTION 3 1 71M6543 REV 4 0 DEMO BOARD DESCRIPTION JUMPERS SWITCHES AND TEST POINTS The items described in Table 3 1 refer to the flags in Figure 3 1 Table 3 1 71M6543 REV 4 0 Demo Board Description Page 55 of 91 Reference Item Designator Name Use D5 Wh Wh pulse LED 2 1 PULSE X Y 3 pin header for monitoring X and Y pulses 3 JP2 BIT BANG e header for access to the SEGDIO4 and SEGDIO9 Selector for the operation of the IC when main power is re moved using the SEGDIOS pin A jumper across pins 2 3 default indicates that no external battery is available The IC will stay in brownout mode when the system power is 4 2 BAT MODE down and it will communicate at 9600bd A jumper across pins 1 2 indicates that an external battery is available The IC will be able to transition from brownout mode to sleep and LCD modes when the system power is down JP55 2 pin header for the SDATA signal used by the serial EEPROM 9 JP99 JFS2 52 2 header for the signal used by the uWire EEPROM 6 LCD 3 row LCD with 6 7 segment digits per row and special metering symbols 7 J19 SPI 2X5 header providing access to the SPI slave interface 8 BT3 n Alternate footprint for BT2 A circular battery may be mounted in this location on the bottom of the board 9 BT4 Location of optional battery for the suppo
58. 50DCT ND RHMO OECT ND P1 00KHCT ND RHMB8 06KCCT ND P25 5KCCT ND 541 3 40FFCT ND 541 3 40FFCT ND RG20P4 7KBCT ND RG20P270KBCT ND 71 RN65D F 2 0M 100W 2 ND P10 0KHCT ND 541 10KACT ND 541 10KACT ND P100GCT ND P499HCT ND 0 270 750 RC P2 00KHCT ND P4 02KHCT ND P10 0KHCT ND 541 1 5ECT ND 541 3 40KCCT ND P820W 2BK ND P68 0FTR ND P13598SCT ND 5011K ND 296 1288 1 ND 806 KUSBVX BS1N W ADUM3201ARZ ND AT24C1024BW SH25 B ND 596 1237 1 ND 93LC76C I SN ND Vishay Dale CRCW08051K00JNEA Vishay Dale CRCW0805100RJNEA Yageo RSF200JB 75K Panasonic ERJ 3GEYJ620V Panasonic ERJ 3GEYJ104V Susumu RR1220P 751 D Rohm Semicon MCR18EZHJOOO Panasonic ERJ 3EKF1001V Rohm MCR10EZHF8061 Panasonic ERJ 6ENF2552V Vishay Dale CRCW08053R40FNEA Vishay Dale CRCW08053RA40FNEA TDK RG2012P 472 B T5 Susumu RG2012P 274 B T5 Vishay Dale RN65D2004FB14 Yageo RSF200JB 100R Panasonic ERJ 3EKF1002V Vishay Dale CRCW080510K0JNEA Panasonic ERJ 3GEYJ104V Panasonic ERJ 3GEYJ101V Panasonic ERJ 3EKF4990V Yageo ZOR 12 B 52 Xicon 270 750 RC Panasonic ERJ 3EKF2001V Panasonic ERJ 3EKF4021V Panasonic ERJ 3EKF1002V Vishay Dale CRCW12061R50JNEA Vishay Dale CRCW08053K40FKEA Panasonic ERG2SJ821 Panasonic ERJ 8ENF68ROV Panasonic EVQ PNFOSM KEYSTONE 5011 Midcom 750110056 Texas Instrume TLA31AIDR Kycon KUSBVX BS1N W Analog Devices ADUM3201ARZ ATMEL AT24C1024BW SH25 B Teridian 71M6540F IGT F Power I
59. 59 R60 R62 R64 54 3 R61 R63 R66 55 3 R65 R73 R141 56 5 R74R103 R109 R142 R144 57 8 R76 R81 R82 R104 R105 R107 R108 R151 58 1 R77 59 2 R79 R150 60 6 R89 R90 R93 R94 R95 R96 61 3 R91 R100 R101 62 6 R92 R97 R98 R99 R102 R112 63 1 8110 64 1 R111 65 2 R138 R143 66 1 R139 67 3 140 8146 8147 68 1 R148 69 2 R149 R152 70 3 SW3 SW4 SW5 71 2 TP2 TP3 72 3 TA5 T6 73 1 Ul 74 1 u2 75 1 76 1 U4 77 1 US 78 1 U6 79 1 U8 80 1 81 3 U15 U16 U17 82 1 Yl Page 72 of 91 Table 4 2 71M6543 REV 4 0 Demo Board Bill of Material 2 2 Wem Q Reference Footprint DigKKeyP N MouserP N Manufacturer ManufacturerP N Rating DNP 1 805 100 805 M AXLE FLAME UPRIGHT 62 603 100K 603 750 805 0 1206 1 603 8 06 805 25 5K 805 3 4 1206 3 4 1206 4 7K 805 270K 805 3M AXLE FLAME UPRIGHT 166 AXLE FLAME UPRIGHT 10K 603 10K 805 100K 603 100 603 499 603 RES_TH_500 750 RES_TH_500 2K 603 4 02K 603 10K 603 15 1206 805 AXLE FLAME UPRIGHT 68 1206 PB PB TESTBOINT TESTPOINTSMA LL 750110056 XFORM S6 6543 TL431 SO8 NARROW ED 32QFNW NO SPT ADUM3201 SO8 NARROW SER EEPROM SO8 NARROW 71M6543 100Tart C149 100TQFP 55 LNK304 TN SO8 NARROW LCD VLS 6648 LCD VLS 6648 SER EEPROM uWirt SO8 NARROW 71M6103 8SOIC SO8 NARROW 32 768KHz XTAL ECS 39 541 1 0KACT ND 541 100ACT ND 75KW 2 ND P62GCT ND P100KGCT ND RR12P7
60. 6 8 mV RMS Circular connector 10x2 header 0 05 pitch Spade terminals on PCB bottom 0 1 1X2 headers on PCB bottom USB connector 8x2 header 0 1 pitch 5x2 header 0 1 pitch 64 KB FLASH memory 1Mbit serial EEPROM 32 768kHz 20PPM at 25 C Push button SW5 Push button SW3 3X8 digit LCD 7 segments per digit plus meter symbols red LED D5 red LED D6 120 600 V rms resistor division ratio 1 3 398 Dependent on shunt resistance or CT winding ratio v5 4 APPENDIX This appendix includes the following documentation tables and drawings 71M6543 Demo Board Description 71M6543 REV 4 0 Demo Board Electrical Schematic 71M6543 REV 4 0 Demo Board Bill of Materials 71M6543 REV 4 0 Demo Board PCB layers copper silk screen top and bottom side Schematics comments 71M6543 REV 5 0 Demo Board Electrical Schematic 71M6543 REV 5 0 Demo Board Bill of Materials 71M6543 REV 5 0 Demo Board PCB layers copper silk screen top and bottom side Debug Board Description Debug Board Electrical Schematic Debug Board Bill of Materials Debug Board PCB layers copper silk screen top and bottom side 71M6543 IC Description 71M6543 Pin Description 71M6543 Pin out Page 61 of 91 v5 71M6543 Demo Board User s Manual 4 1 71M6543 DEMO BOARD REV 4 0 ELECTRICAL SCHEMATIC
61. 6K010RNJ TDK C1608X7R1H104K AVX TAJA106K010R TDK C1608X7R1C105K TDK C1608C0G1H150J TDK C1608C0G1H100D TDK C1608C0G1H220J TDK C1608X7R2A102K Nichicon UVR2G2R2MPD Panasonic ECE A1AKS101 Vishay BC 125LS30 R TDK C1608X7R1H104K TDK C1608C0G1H101J AVX Corporatic 08055C104MAT2A AVX Corporatic 06035C103KAT2A Taiyo Yuden TMK212BJ475KG T Lumex SSL LX5093SRC E Osram SFH 4511 Vishay Genera S1J E3 61T Vishay ES1J CML CMD17 21UGC TR8 Littelfuse 1 5KE350CA Sullins PBC36SAAN Sullins PBC36SAAN Sullins PBC36SAAN Switchcraft Inc RAPC712X Tyco AMP 62395 1 Tyco AMP 5 104068 1 Sullins PBC36DAAN Sullins PBC36DAAN TDK MMZ20125601A CoilCraft RFB0807 181L Osram SFH 300 3 4 AVX 238159455116 10 10 0 1 0 1 10 5 5 5 0 1 0 2 10 5 0 2 0 1 0 1 100V 10V 50V 10V 16V 50V 50V 50V 100V 400V 10V 1000V 50V 50V 50V 50V 25V 0 5A 0 1 0 2 0 1 0 2 0 3 DNP DNP DNP DNP DNP DNP v5 71M6543 Demo Board User s Manual Page 74 of 91 Table 4 4 71M6543 REV 5 0 Demo Board Bill of Material 2 3 2 39 R1 R2 1 805 541 1 0 Vishay Dale CRCWO8051KOOJNEA 5 0 125W 40 R4 100 805 541 100ACT ND Vishay Dale CRCWO805100RJNEA 5 0 125W 41 3 6 87 88 75K AXLEFLAME 75 KW 2 ND Yageo RSF200JB 75K 5 2W DNP UPRIGHT 42 6 R9 R10 R11 R15 R16 R17 62 603 P62GCT ND Panasonic ERJ 3GEYJ620V 5 0 1W 43 2 812 813 100K 603 P100KGCT ND Panasonic ER
62. 6xx3 RAM 0x41 GAIN ADJ2 Current phase B via 71M6xx3 RAM 0x42 GAIN Current phase C 71M6xx3 CE RAM 0x43 GAIN ADJ4 Current from neutral current sensor 71M6543 RAM 0x44 In general the registers offer a way of controlling the magnitude of the voltage and current signals in the data flow of the CE code A value of 16385 means that no adjustment is performed unity gain which Page 44 of 91 v5 means that output of the gain adjust function is the same as the input A value of 99 of 16385 16222 means that the signal is attenuated by 1 The Demo Code bases its adjustment on the deviation from calibration room temperature DELTA the coefficients PPMC and PPMC2 to implement the equation below DELTA_T PPMC_ DELTA _T PPMC2 24 25 _ ADJ 16385 It can be seen easily that gain will remain at 16385 0x4001 or unity gain when DELTA_ T is zero In the Demo Code DELTA_T is scaled so 0 1 C corresponds to 1 LSB of DELTA_T For complete compensation the error sources for each channel have to be combined and curve fit to generate the PPMC and PPMC2 coefficients as will be shown in the following section For Demo Codes revision 5 3a and later the PPMC and PPMC2 coefficients are in the MPU RAM locations listed in Table 2 3 Table 2 2 MPU Registers for Temperature Compensation PPMC Register for Lo PPMC2 Regist
63. 8 7 Adjusting the Demo Boards to Different Voltage Dividers emen 19 1 9 Calibration Parameters tiere ee Ere CER 20 1 9 1 General Calibration 20 1 9 2 Calibration em 21 1 9 3 Updating the Demo Code uu a selene 21 1 9 4 Updating Calibration Data in Flash or 21 1 9 5 Loading the Code for the 71M6543F into the Demo 22 1 9 6 The Programming Interface of the 71 6543 23 1 10 Demo God 24 1 10 1 24 1 10 2 Demo Code Versions TR 24 1 10 3 Important MPU Addresses HEU piece p asas Lede 24 1 10 4 LSB Values CE 2 A 31 1 10 5 Calculating IMAX and IE 31 1 10 6 Determining the Type Of 71 u 32 1 10 7 Communicating with the 71 6 0 33 1 10 8 Bootloader Feature hed Kau Bo eae Sued eee 33 2 APPLICATION INFORMATION IT IS do a 35 2 1 C
64. 99 8A 16A 16C X1 6E 6F 38 SEGDIO30 Ezzaca ooooooaoo It GND SEGDIO54 SEGDIO3gQo DP8 16B DP16 6D 6G 6A 727 SEGDIO22 x 20 37 __5 601022 6 52 lt lt lt lt lt lt z2 ommm 555 u9 SEGDIO221 9F 17F 17E DP6 6C 6B 36 SEGDIO31 76 ge of 000 HDR2X1 SEGDIO322 9 176 170 10D 10G 10A 35 SEGDIO32 SU Iv 22 35 SEGDIO32 XTAL_GND 77 a gt cas 1K JP51 1 8 SEGDIO323 90 17 17 DP10 10C 10B 34 SEGDIO44 zg NC gt 2 2 27165 vec r7 1 SEGDIO3S4 9G 17B DP17 X13 116 11F X10 X17 X18 33 SEGDIO33 L16 X79 NC 50 3 CLK PE 6 2 SEGDIO395 9C 18F 18E 11D 11G 11A 35 SEGDIOS4 ae NC E Hg P 412 5 3 SEGDIO23e 9 18G 18D DP11 11C 11B H31 SEGDIO43 GND 81 GNDA 5 NC DO vss SEGDIO4p7 8 6 96 18A 18C X14 12E 12F X121 5 SEGDIO40 Ferrite Bead 600ohm 82 NC 47 SEGDIOS4 R138 SEGDIO428 9 188 18 120 126 12 29 SEGDIO42 V3P3SY 35 SEGDIO54 RX X15 10E 10F 39 X16 92 DP12 12C 12B X11 90 X19 lt 4s o 10K SER EEPROI R144 VADCS OPTRXSEGDIOSS 45 WRULSE uWire USE VLCD ADCi 55 44 VPULSE V3P3D E 0 1uF 0 1uF ADCO 872 1891 066 42 _ 1 4822 GND u2 5V USB 1 9 8 V3P3SYS VREF 100 storie
65. CALCULATING IMAX AND KH The relationship between the resistance of the shunt resistors and the system variable MAX is determined by the type of Remote Sensor Interface used and is as follows IMAX 0 044194 Rs for the 71M6603 IMAX 0 019642 Rs for the 71M61X1 IMAX 0 012627 Rs for the 71M6203 Where Rs Shunt resistance in Table 1 10 shows MAX values resulting from possible combinations of the shunt resistance value and the type of 71M6x0x Remote Sensor Interface used for the application Table 1 10 IMAX for Various Shunt Resistance Values and Remote Sensor Types Rated Max RMS Shunt Re IMAX En WRATE for idi Current Voltage at sistor Value at MPU 3 2 VMAX 600 A IAP IAN mV uQ 0x03 V X 0 09375 500 88 39 884 3829 400 110 49 1105 4786 300 147 31 1473 6381 71M6603 60 44 2 250 176 78 1768 7657 200 220 97 2209 9572 160 276 21 2762 11965 120 368 28 3683 15953 250 78 57 786 3403 200 98 21 982 4254 den 100 19 64 160 122 76 1228 5318 120 163 68 1637 7090 100 196 42 1964 8508 75 168 36 1684 7293 P 200 12 63 50 252 54 2525 10939 25 505 08 5050 21878 Page 31 of 91 v5 The meter constant kh Wh pulse is calculated as follows Kh 54 5793 VMAX IMAX I SUM_SAMPS WRATE X where VMAX RMS voltage at the meter input corresponding to 176 8 mV RMS at the VA pin of the 71M6543 This va
66. EEPROM R104 R105 JP55 alelblisllasllalisizkeieaasalllli GDIO10 JP5 E R18 gt gt gt 10 10 1 2 SDATA 200000000 5555550 0000000 2 UART 150 0 1uF o o o o wv o o O O O O O v SEGDIO52 HDR2xt 0 GND USB J19 V3P3D 2 9 T 1 7 2 SPLDO 3 4 SPLCK 5 6 GND Title SPLCSZ 7 8 GND 71M6543 Meter Demo Board V3P3D 9 10 x gt gt v3P3SYS gt ADC1 gt ADC3 gt ADC5 gt ADC7 es T Document Number a HD RON gt gt apcs gt gt ancs gt apc10 aDco gt ADC2 gt ADC4 gt 0 gt GND HDR8X2 Be 100pF 990 50 Date Friday January 07 2011 Bnet 1 of 3 Figure 4 5 Teridian 71M6543 REV 5 0 Demo Board Electrical Schematic 1 4 Page 66 of 91 v5 71M6543 Demo Board User s Manual L17 NEUTRAL A E V3P3SYS Ferrite Bead 600ohm From NEUTRAL C53 Ran Y VDC terminal us D8 aos 03 ul 81 R111 L8 m m TL431 h SKE350A 180 5 02 35 017 OK 0 1uF 2uF JP20 C42 C39 2 R139 22uF usa 1000pF 100uF 1 5 R21 1 7 25 5K t BP 54 10uF 1000 b us 52 4 aaa SND D 51 lt Ferrite Bead 6000hm R148 ES1J R149 820 JP6 T 68 LNK304 TN C54 R1
67. ENSATING FOR NON LINEARITIES Nonlinearity is most noticeable at low currents as shown in Figure 2 5 and can result from input noise and truncation Nonlinearities can be eliminated using the QUANTA QUANTB and QUANTC variables 12 10 error 8 5 6 5 4 2 0 0 1 1 10 I A 100 Figure 2 5 Non Linearity Caused by Quantification Noise The error can be seen as the presence of a virtual constant noise current While 10mA hardly contribute any er ror at currents of 10A and above the noise becomes dominant at small currents Page 42 of 91 v5 The value to be used for QUANT be determined by the following formula error QUANT 100 VMAX LSB Where error observed error at a given voltage V and current I VMAX voltage scaling factor as described in section 1 8 3 IMAX current scaling factor as described in section 1 8 3 LSB QUANT LSB value 7 4162 10 V I Example Assuming an observed error as in Figure 2 5 we determine the error at 1A to be 1 If VMAX is 600V and ZMAX 208A and if the measurement was taken at 240V we determine QUANT as follows 549 1 QUANT 109 11339 600 208 7 4162 10 There is a QUANTn register each phase and the values to be written to the CE locations 0x28 Ox2C or 0x30 It does not matter which current value is chosen as long as the corresponding error value is signific
68. IO395 9C 18F 18E 11D 11G 11A 33 SECDIOST 2 80 NC NC 49 HDR2X ORG 5 3 SEGDIO226 94 186 18D DP11 11C 11B 31 52601043 GND 81 GNDA 5 NC ia DO vss SEGDIO407 7 8 6 98 18 18 X14 12E 12F X12 X21 37 SEGDIO40 TEST NC HS EGDIO428 DP9 18B DP18 120 126 12 50 SEGDIO42 Ferrite Bead 600ohm ADCTO 2 vADC10 sEGDio54 41 8 901054 SEGDIO 28 X15 10E 10F X9 X16 X22 DP 12 12C 128 x11 x20 x19 5 90 042 V3P3SYS ADCS 83 46 R144 g4 VADCS OPT RXSEGDIOS5 45 WPULSE SER EEPROM 10K GND_USB TU VADCR WPULSE 434 VPULSE V3P3D po GND VLCD ADCi 6 VPULSE 43 SDCK 0 1uF O 1uF ADCO gr SDCK 42 sData 1 P2 GND U2 5 USB 1 9 8 V3P3SYS VREF 88 11600 SDATA 41 5 0104 eee RXUSB 2 1 2 7 UART TX R1 Sw3 VLCD 89 VREF SEGDIO4 40 HDR2X1 R143 a a a b ss sa Tx UsB __3 6 RX 15 SES VLCD Nc H2 x 10K VOB GND VBAT s PB 90 39 1 O 1uF GND USB 4 5 0 1 91 PB 71M6543 100TQFP SEGDIOS 38 V3P3D 3 PExzogQmoz GND 1GND2 1K R103 TMUXOUT __92 RESET SEGDIO6 37 YPULSE SEGDIOS rn Bor ADUM3201 GND 10K TMUX20UT TMUXOUT SEG47 SEGDIO7 36 __5260108 GND O12 5V_USB 1 24 GND USB 94 TMUX OUT SEG46 SEGDIO8 36 SEGDIOS USB 2 AGND R19 D10 R
69. J 3EKF4021V 1 04W 62 2 R138 R143 10K 603 P10 0KHCT ND Panasonic ERJ 3EKF1002V 1 04W DNP 63 1 R139 15 1206 541 1 5ECT ND Vishay Dale CRCW12061R50JNEA 5 0 25W 64 3 R140 R146 R147 3 4K 805 541 3 40KCCT ND Vishay Dale CRCWO8053K40FKEA 1 0 125W 65 1 R148 820 AXLEFLAME pg20W 2BK ND Panasonic ERG2SJ821 5 2 UPRIGHT 66 R149 R152 68 1206 P68 0FTR ND Panasonic ERJ 8ENF68ROV 1 0 25W 67 SW3 SW4 SW5 PB PB P13598SCT ND Panasonic EVQ PNFOSM 68 2 TP2 TP3 TESTPOINT 5011K ND KEYSTONE 5011 69 3 14 15 76 750110056 a Midcom 750110056 DNP 70 1 Ul TLA31 SO8 NARROW 296 1288 1 Texas Instrume TL431AIDR 71 1 U2 FT232RQ NO 768 1008 1 ND FTDI FT232RQ REEL 72 1 U3 ADUM3201 SO8 NARROW ADUM3201ARZ ND Analog Devices ADUM3201ARZ 73 1 SO8 NARROW AT24C1024BW SH25 B ND ATMEL AT24C1024BW SH25 B 74 1 5 71M6543 100Tart C149 Teridian 71M6540F IGT F 100 55 75 1 U6 LNK304 TN SO8 NARROW 596 1237 1 Power Integrat LNK304DG TL 76 1 U8 LCD VLS 6648 LCD VLS 6648 VARITRONIX 6648 V0O 77 1 SER EEPROM uWirt SO8 NARROW 93LC76C I SN ND MICROCHIP 93LC76CT SN 78 3 U15 U16 U17 71 6103 8501 SO8 NARROW Maxim 71M6103 IL F 79 1 32 768KHz XTAL ECS 39 Suntsu SPC6 32 768KHZ TR v5 71M6543 Demo Board User s Manual 4 6 71M6543 REV 4 0 DEMO BOARD PCB LAYOUT MAXIM DB6543 RE eee o 2 umm 75
70. J 3GEYJ104V 0 05 0 1W 44 5 14 833 852 854 872 750 805 RR12P750DCT ND Susumu RR1220P 751 D 0 01 0 1W 45 1 R18 0 1206 RHMO OECT ND Rohm Semicon MCR18EZHJ000 5 0 25W 46 3 R19 R106 R137 1K 603 P1 00KHCT ND Panasonic ERJ 3EKF1001V 1 04W 47 1 R20 8 06K 805 RHM8 06KCCT ND Rohm MCR10EZHF8061 1 0 125W 48 1 R21 25 5K 805 P25 5KCCT ND Panasonic ERJ 6ENF2552V 1 0 125W 71 49 12 R24 R25 R26 R27 R28 R29 5 1 MELF 5 02040 5 Vishay Dale 5 02040 5108 830 0 01 0 125W 108FB30 R30 R31 R32 R34 R35 R36 50 R38 R39 R58 4 7K 805 RG20P4 7KBCT ND TDK RG2012P 472 B T5 0 0 125W 51 6 R46 R47 R59 R60 R62 R64 270K 805 RG20P270KBCT ND Susumu RG2012P 274 B T5 096 0 125W 52 3 R61 63 R66 2M ANTE FLAME TERNGSD Vishay Dale RN65D2004FB14 0 01 0 5W UPRIGHT 2 0M 53 R6S R73 R141 100 AXLEFLAME 4 00W 2 ND Yageo RSF200JB 100R 5 2W UPRIGHT 54 12 R74 R89 R90 R93 R94 R95 10K 603 P10 0KHCT ND Panasonic ERJ 3EKF1002V 0 01 0 1 R96 R103 R107 R109 R142 R144 55 7 76 881 882 8104 8105 10K 805 541 10KACT ND Vishay Dale CRCWO80510KOJNEA 596 0 125W R108 R151 56 1 R77 100K 603 541 10KACT ND Panasonic ERJ 3GEYJ104V 5 0 1 DNP 57 2 79 8150 100 603 P100GCT ND Panasonic ERJ 3GEYJ101V 5 0 1 58 3 R91 R100 R101 0 RES 500 Yageo ZOR 12 B 52 1 04W 59 6 R92 R97 R98 R99 R102 750 RES TH 500 270 750 RC 270 750 RC 1 04W R112 60 1 R110 2k 603 P2 00KHCT ND Panasonic 2001 1 61 1 R111 4 02K 603 P4 02KHCT ND Panasonic _ER
71. NEUTRAL voltage input This input is connected to 20 J9 NEUTRAL V3P3 This input is a spade terminal mounted on the bot tom of the board VA IN VB IN Phase voltage inputs to the board Each input has a resis VC N tor divider that leads to the pin on the IC associated with the voltage input the ADC These inputs have 21 23 25 4 J6 J8 terminals mounted on the bottom of the board Caution High Voltage Do not touch 22 1 TMUXOUT Test points for access to the TMUXOUT and TMU2XOUT TMUX2OUT pins on the 71M6543 24 U5 The 71M6543 soldered to the PCB Two pin headers for connection of the external shunt resis 26 28 29 317 318 320 tors REV 4 0 CTs REV 5 0 to the board 2 pin header that connects the V3P3D pin to parts on the 27 JP53 V3P3D board that use the V3P3D net for their power supply For supply current measurements in brownout mode the jumper on JP53 may be removed ADC2 3 ADC4 5 2 pin headers that allow access to the current input pins on 298 922 929 24 ADC5 6 the 71M6543 2x10 emulator connector port for the Signum ICE ADM 51 m J14 EMULATORE or for the Teridian TFP 2 Flash Programmer 3 pin header for the control of the ICE_E signal A jumper 31 JP3 ICE_E across pins 1 2 disables the ICE interface a jumper across pins 2 3 enables it Page 56 of 91 v5 Reference Item Designator Name Use 3 pin header that can be use
72. NSI base with three 50 shunt resistors Oswell P N EBSB20050H 92 19 73 6 4 V1 optional for ANSI kits only e Three 120 uQ shunt resistors Oswell P N EBSA15120 32 14 8 21 6 2 V1 optional for IEC kits 1 4 DEMO BOARD VERSIONS The following versions of the Demo Board are or have been available e 71M6543 Demo Board Rev 1 0 CTs only discontinued e 71 6543 Demo Board Rev 2 0 CTs or 71M6103 Remote Sensor Interface ICs on daughter boards discontinued e 71M6543 Demo Board Rev 3 0 71M6103 Remote Sensor Interface ICs discontinued e 71M6543 Demo Board Rev 4 0 71M6103 Remote Sensor Interface ICs e 71M6543 Demo Board Rev 5 0 CTs or 71M6103 Remote Sensor Interface ICs This manual applies to 71M6543 Rev 4 0 and Rev 5 0 only For the earlier Demo Board revisions please see their respective manuals 1 5 COMPATIBILITY This manual applies to the following hardware and software revisions e 71M6543F IC revision B02 e Demo Code revision 5 4F or later e 71M6543 Demo Board Rev 4 0 or Rev 5 0 1 6 SUGGESTED EQUIPMENT NOT INCLUDED For functional demonstration PC with Microsoft Windows versions Windows XP ME or 2000 equipped with RS 232 port COM port via DB9 connector For software development MPU code Signum ICE In Circuit Emulator ADM 51 www signum com Signum WEMUS1 version 3 11 09 or later should be used Using a USB isolator between PC and the Signum ADM 51 is strongly recommended Keil 8051 C Com
73. The output of the LCD DAC A 0 1 pF bypass capacitor to ground should be VLCD connected to this Battery backup pin to support the battery modes BRN LCD A battery or VBAT P super capacitor is to be connected between VBAT and GNDD If no battery is used connect VBAT to V3P3SYS RTC and oscillator power supply A battery or super capacitor is to be con VBAT_RTC P nected between VBAT and GNDD If no battery is used connect VBAT_RTC to V3P3SYS Analog Pins Table 4 7 71M6543 Pin Description Table 2 3 Name Type Description IAP IAN Differential or single ended Line Current Sense Inputs These pins are voltage inputs to the internal A D converter Typically they are connected to the outputs IBP IBN ICP ICN of current sensors Unused pins must be tied to IDP IDN Pins IBP IBN ICP ICN and IDP IDN may be configured for communication with the remote sensor interface 71M6x0Xx VB Line Voltage Sense Inputs These pins are voltage inputs to the internal A D VC converter Typically they are connected to the outputs of resistor dividers Un used pins must be tied to V3P3A VREF Voltage Reference for the ADC This pin should be left unconnected floating Crystal Inputs A 32 kHz crystal should be connected across these pins Typical ly a 15 pF capacitor is also connected from XIN to GNDA and a XIN 10 pF capacitor is connected from XOUT to GNDA It is important to minimize the capacitance between the
74. able 2 1 Temperature Related Error Sources Measured Item Energy Reading VA ADC2 ADC3 co Energy Reading ADC4 ADC5 for phase B Shunt resistor for phase B Voltage divider for VB ICP ICN Energy Reading VREF of 71M6xx3 for phase C 71M6543 VREF VC ADC6 ADC7 torphase C Shunt resistor for phase C Voltage divider for VC Reading Sensor for neutral current IAP IAN When can summarize the thermal errors per phase n in the following equation P V 1 The terms used in the above equation are defined as follows Vn voltage applied to the meter in phase n In current applied to the shunt in phase n error contribution from the voltage divider Cax error contribution from the voltage reference of the 71M6543 Csn error from the shunt resistor that is connected via the Remote Interface IC Cex error contribution from the voltage reference of the Remote Interface IC 2 3 2 SOFTWARE FEATURES FOR TEMPERATURE COMPENSATION In the default settings for the Demo Code the CECONFIG register has its EXT TEMP bit bit 22 set which means that temperature compensation is performed by the MPU by controlling the 4070 through GAIN ADJ registers of the CE Generally these four and when using neutral current measurement five reg isters are used as follows GAIN for VA VB VC CE RAM 0x40 GAIN ADJI Current phase via 71M
75. able we mean that the calibration system is synchronized to the meter being calibrated Best results are achieved when the first pulse from the meter opens the measurement window of the calibration system This mode of operation is opposed to a calibrator that opens the measurement window at random time and that therefore may or may not catch certain pulses emitted by the meter It is essential for a valid meter calibration to have the voltage stabilized a few seconds be JA fore the current is applied This enables the Demo Code to initialize the 71M6543F and to x stabilize the PLLs and filters in the CE This method of operation is consistent with meter n applications in the field as well as with metering standards During calibration of any phase a stable mains voltage has to be present on phase A This Z enables the CE processing mechanism of the 71M6543F necessary to obtain a stable cali ee bration DETAILED CALIBRATION PROCEDURES The procedures below show how to calibrate a meter phase with either three or five measurements The PHADJ equations apply only when a current transformer is used for the phase in question Note that positive load angles correspond to lagging current see Figure 2 2 Page 38 of 91 v5 aro Voltage i Boos EN A i N Z 5 i Current lags voltage l Positive inductive direction i 60 L Current 60 Current leads I voltage N
76. ages only after the user is familiar with the demo system All input signals referenced to the V3P3A 3 3V power supply to the chip Page 9 of 91 v5 1 7 1 1 7 2 SETUP There are several choices for the meter power supply o Internal using the AC line voltage The internal power supply is only suitable when the voltage ex ceeds 100V RMS To enable the internal supply a jumper needs to be installed across JP6 on the top of the board o External 5 0 VDC connector JP20 on the Demo Board CABLES FOR SERIAL COMMUNICATION It is recommended to use the USB connection to communicate with the Demo Code The optional Debug Board is not normally shipped with the Demo Kit and requires a serial port DB9 on the PC along with a sepa rate power supply 1 7 2 4 USB Connection A standard USB cable can be used to connect the Demo Board to a PC running HyperTerminal or a similar se rial interface program A suitable driver e g the FTDI CDM Driver Package must be installed on the PC to en able the USB port to be mapped as a virtual COM port The driver can be found on the FTDI web site http www ftdichip com Drivers D2XX htm See Table 3 1 for correct placement of jumper JP5 depending on whether the USB connection or the serial connection via the optional Debug Board is used 1 7 2 2 Serial Connection Optional For connection of the 089 serial port of the Debug Board to a PC serial port
77. alibration Theory iuueni wS nini du 35 2 1 1 Calibration with Three 35 2 12 Calibration with Measurements 20020000000 37 2 2 Calibration Procedures a ea es one hel ete en cie 38 2 2 1 Calibration Equipment au eee de Ee egt eo De P a 38 2 2 2 Detailed Calibration 38 2 2 3 Calibration Procedure with Three Measurements nennt 39 2 2 4 Calibration Procedure with Five 40 2 2 5 Calibration Spreadsheet1s u u taret ter ete Er cn d pe ve tege abre ra EY unice ze etg 40 2 2 6 Compensating for 42 2 3 Temperature CompensatlOn i uice dr edd icc u asia uya doo 43 2 3 1 Error SOURCES 43 2 3 2 Software Features for Temperature 44 2 3 3 Calculating Parameters for 45 2 4 Testing the Demo Board u IA u a nnns aa amasisa iain tries ssa 48 Page 3 of 91 v5 2 4 1 Functional Meter Test Prev eo a Doe a Ice tied Eb e eL E Eug 24
78. amp U LU LU LU Lu LU tu tu O O O O U UU UU LL LL LL LU LL LJ LL 3 3 L1 2 WP GND JP54 3 D USB Ferrite Bead 6000h ii 3 2 Sel 8 T 1 E32 SDCK a Aa ba has has har has bas hams 78e e R13 GND 4 GND wo GND SDA 100K C72 EE HDR2XI SIS Se S RIS R109 el 4 TuF lololol 222244 10K C74 0 01uF 0 1uF SER EEPROM R104 R105 JP55 aelezee GDIO10 JP5 LI rie 10K 10K 1p 2 SDATA Sojus 1000 1 prep 2 UARTRXISO 0 1uF 1 v o o o vo o O O O O O O vo o 19 V3P3D HDR2x1 4 0 GND_USB o4 p s DU 4 3 UART TX UART RX 52 T a GND e oe ian 71M6543 Meter Demo Board 62 V3P3SYS ADC1 gt ADC3 HDR5X2 i SPADE R10 62 ize Document Number ev JP ADC8 ADC9 2 gt ADC10 panco 2 gt ADC2 gt ADC4 ADC6 CND HDR8x2 R11 62 100pF B D6540 4 0 Date Friday January 07 2011 Bheet 2 o 5 Figure 4 1 Teridian 71M6543 REV 4 0 Demo Board Electrical Schematic 1 4 Page 62 of 91 v5 71M6543 Demo Board User s Manual ev 4 0 L17 NEUTRAL A E V3P3SYS Ferrite Bead 600ohm From NEUTRAL C53 Ran Y VDC t
79. ansformer with a ratio N of 20 1 followed by a simple resistor divider We also assume that we want to maintain the value for VMAX at 600V to provide headroom for large voltage excursions When applying VMAX at the primary side of the transformer the secondary voltage V is Vs VMAXIN Vs is scaled by the resistor divider ratio Rr When the input voltage to the voltage channel of the 71M6543 is the desired 177mV Vs is then given by Vs Rr 176 8 mV Resolving for Rr we get Rr VMAX I N 176 8 mV 600V 30 176 8 mV 170 45 This divider ratio can be implemented for example with a combination of one 16 95 and one 100 resistor If potential transformers PTs are used instead of resistor dividers phase shifts will be introduced that will re quire negative phase angle compensation Teridian Demo Code accepts negative calibration factors for phase CALIBRATION PARAMETERS GENERAL CALIBRATION PROCEDURE Any calibration method can be used with the 71M6543F ICs This Demo Board User s Manual presents calibra tion methods with three or five measurements as recommended methods because they work with most manual calibration systems based on counting pulses emitted by LEDs on the meter Naturally a meter in mass production will be equipped with special calibration code offering capabilities beyond those of the 71M6543 Demo Code It is basically possible to calibrate using voltage and current readings with or without
80. ant 5 error at 0 2A used in the above equation will produce the same result for QUANTn Input noise and truncation can cause similar errors in the VAR calculation that can be eliminated using the QUANT VARn variables QUANT VARn is determined mula as QUANT 2 3 TEMPERATURE COMPENSATION 2 3 1 ERROR SOURCES This section discussed the temperature compensation for meters equipped with 71M6xxx Remote Sensor Inter faces Compensation for CT based systems is much simpler since the error sources are only the reference voltage the burden resistor and the voltage dividers For a meter to be accurate over temperature the following major sources of error have to be addressed 1 The resistance of the shunt sensor s over temperature The temperature coefficient TC of a shunt resistor is typically positive PTC and can be far higher than the TC of the pure Manganin material used in the shunt TCs of several hundred PPM C have been observed for certain shunt resistors shunt resistor with 100 PPM C will increase its resistance by 60 C 100 10 or 0 6 when heated up from room temperature to 85 C causing a relative error of 0 6 in the current reading This makes the shunt the most pronounced influence on the temperature characteristics of the meter Typically the TC of shunt resistors is mostly linear over the industrial temperature range and can be compensated granted the shunt resistor is at the same temperature as
81. are defect was detected error software was called E g An impossible value oc curred in a selection or the timers ran out NEUTRAL 9 Neutral current was above in limit for more than in wait seconds SPURIOUS 10 An unexpected interrupt was detected SAG 11 Voltage was below VThrshld for more than in wait seconds DEMAND 12 Demand was too big too many watts to be credible CALIBRATION 13 Set after reset if the read of the calibration data has a bad checksum or is from an earlier ver sion of software The default values should be present RTC UNSET 14 Set when the clock s current reading is A Obtained after a cold start indicating that there was no battery power and therefore the clock has to be invalid B More than a year after the previ ously saved reading or C Earlier than the previously saved reading In this case the clock s time is preserved but the clock can t be trusted HARDWARE 15 An impossible hardware condition was detected For example the woftware times out waiting for RD to become zero BATTERY BAD 16 Just after midnight the demo code sets this bit if VBat VBatMin The read is infrequent to reduce battery loading to very low values When the battery voltage is being displayed the read occurs every second for up to 20 seconds REGISTER BAD 17 Set after reset when the read of the power register data has bad longitudinal redundancy check or bad software version in all 5 copies Unlikely
82. at cali calculated as temp meas temp datum bration ured_temp temp_datum temp_cal1 temp_cal0 Center temperature of a meter element s temperature curve Aree cia See data sheet Set from hard Hardware de 208 i rtca adj gt ware value when hardware is fault see data unsigned crystal s capacitor hanged sheet adjustment J99 2 PCB should adjusted for battery and chip Count of calibra 1 Counts number of times calibra tions In demo ek 4 cal cnt tion is saved to maximum of 29 unsigned code it also checks 255 adjustments Checked to prevent old calibration data from being used by new code Value ver hash that changes with Uses data to calculate g n a 2 unsigned value from the string the banner text and therefore with the version date and time Checks calibrations okrcal it Checked by data_ok of calibra 2 unsigned also checks adjust tion value mtr datum 0 Minimum valid bat Units of hardware s battery tery voltage measurement register ments E FEE Page 28 of 91 v5 state bit ar Status of meter Bits One sok 30 unsigned 32 y Nonvolatile See table below 9 First 32 bit number is count of Wh enerav register pulses 3 2 Wh in 3 phase me gy reg ters 1 in 1 phase frac n a 31 64 Nonvolati
83. ata previously stored to the EEPROM 1 9 5 LOADING THE CODE FOR THE 71M6543F INTO THE DEMO BOARD Hardware Interface for Programming The 71M6543F IC provides an interface for loading code into the inter nal flash memory This interface consists of the following signals E_RXTX data E_TCLK clock E_RST reset ICE_E ICE enable These signals along with V3P3D and GND are available on the emulator headers J14 Programming of the flash memory requires a specific in circuit emulator the ADM51 by Signum Systems or the Flash Programmer TFP 2 provided by Maxim Chips may also be programmed before they are soldered to the board Gang programmers suitable for high volume production are available from BPM Microsystems In Circuit Emulator If firmware exists in the 71M6543F flash memory it has to be erased before loading a new file into memory Figure 1 5 and Figure 1 6 show the emulator software active In order to erase the flash memory the RESET button of the emulator software has to be clicked followed by the ERASE button To successfully erase the flash memory the following steps have to be taken 1 Disable the CE by writing 0x00 to address 0x2000 2 Write 0x20 to address 0x2702 FLSH UNLOCK register RAM 3 Reset the demo board RESET button or power cycle 4 Activate the ERASE button in the WEMU51 user interface 5 Now new code can be loaded into the flash memory Once the flash memory is erased the new file can
84. be penetrated by the magnetic fields of the sen sors or conductors PLACEMENT OF SENSORS IEC The arrangement of the current terminals in a typical IEC meter enclosure predetermines the spacing of the shunts and usually allows for only for 20 to 22 mm center to center spacing between the shunts This means that the clearance between adjacent shunts is typically only 10 mm or less A typical arrangement is shown in Page 51 of 91 v5 2 5 4 Figure 2 12 left side This arrangement is not optimized for suppression of cross talk but it works well in most cases If magnetic cross talk between shunt sensors has to be minimized the shunts may be arranged slightly different from the standard configuration An example with staggered shunt arrangement is shown in Figure 2 12 right side This illustration shows the shunts as seen from inside the meter looking towards the terminal blocks The center shunt is lifted on spacers which decouples the magnetic field lines Figure 2 12 Typical Sensor Arrangement left Alternative Arrangement right Another possible arrangement is to swivel the shunts by 90 as shown in Figure 2 13 This method is most ef fective at suppressing magnetic cross talk but requires more space in the meter enclosure Figure 2 13 Swiveled Sensor Arrangement It is useful to minimize the loo
85. blue are on the bottom side of the board Page 58 of 91 v5 71M6543 Demo Board User s Manual 3 2 71M6543 REV 5 0 DEMO BOARD DESCRIPTION The 71M6543 REV 5 0 Demo Board is largely identical to the 71M6543 REV 4 0 Demo Board Figure 3 2 shows the top view of this board e MAXIM 086543 REV 5 0 HIGH VOLTA e RAL 9 vein Figure 3 2 71M6543 REV 5 0 Demo Board Top View Page 59 of 91 v5 3 3 BOARD HARDWARE SPECIFICATIONS PCB Dimensions Width length Thickness Height w components Environmental Operating Temperature Storage Temperature Power Supply Using internal AC supply DC Input Voltage powered from DC supply Supply Current Input Signal Range AC Voltage Signal VA VB VC AC Current Signals IA IB IC from Shunt AC Current Signals IA IB IC from CT Interface Connectors DC Supply J20 Emulator J14 Voltage Input Signals Current Input Signals USB port PC Interface Debug Board J2 SPI Interface Functional Specification Program Memory NV memory Time Base Frequency Controls and Displays RESET PB Numeric Display Wh VARh Measurement Range Voltage Current Page 60 of 91 134 mm x 131 mm 5 276 x 5 157 1 6mm 0 062 40 mm 1 57 40 85 40 100 100 V 240 V RMS 5 0 0 3 V lt 10 mA typical 0 240 V 0 19 64 mV RMS 0 17
86. bration Macro 21 Figure 1 5 Emulator Window Showing Reset and Erase Buttons see Arrows 22 Figure 1 6 Emulator Window Showing Erased Flash Memory and File Load 23 Figure 1 7 Worksheet from Calibration Spreadsheets REV 6 0 32 Figure 2 1 Watt Meter with Gain and Phase 35 Figure 2 2 Phase Angle nennen 39 Figure 2 3 Calibration Spreadsheet for Three Measurements eene eren nennen 41 Figure 2 4 Calibration Spreadsheet for Five 42 Figure 2 5 Non Linearity Caused by Quantification 42 Figure 2 6 Wh Registration Error with VREF enm eene rennen nennen 47 Figure 2 7 Wh Registration Error with Combined 48 Figure 2 8 Meter with Calibration System deerit eto Seton Hr nei iet 49 Figure 2 9 Calibration System Screen I I L 49 Figure 2 10 Wh Load Lines at Room Temperature with 150 uQ Shunts a 50 Figure 2 11 VARh Load Lines at Room Temperature with 150 Shunts seem eee 50 Figure 2 12 Typical Sensor Arrangement left Alternative Arrangement right 52 Figure
87. d Bottom Copper Page 82 of 91 v5 4 8 DEBUG BOARD BILL MATERIAL Page 83 of 91 N 1 1 2 4 1 1 1 4 2 1 1 1 2 5 1 4 4 2 2 C1 C3 C5 C10 C12 C23 C11 D2 D3 JP1 JP2 JP3 JP4 J1 J2 J3 R1 R5 R7 R8 R2 R3 R4 R6 SW2 TP5 TP6 U1 U2 U3 U5 U6 U4 0 1uF 33uF 10V 10uF 16V B Case LED HDR2X1 RAPC712 DB9 HEADER 8X2 10K 1K NC 0 PB Switch test point ADUM1100 MAX3237CAI spacer 4 40 1 4 screw 4 40 5 16 screw 4 40 nut PCB Footprint 0805 1812 1812 0805 2 1 089 8x2pin 0805 0805 0805 0805 PB TP C2012X7R1H104K TAJB336K010R TAJB106K016R LTST C170KGKT PZC36SAAN RAPC712 A2100 ND PPTC082LFBN ERJ 6GEYJ103V ERJ 6GEYJ102V N A ERJ 6GEYOROOV EVQ PJX05M 5011 ADUM1100AR MAX3237CAI 2202K ND PMS4400 0025PH PMS4400 0031PH HNZ440 Manufacturer TDK AVX AVX LITEON Sullins Switchcraft AMP Sullins Panasonic Panasonic N A Panasonic Panasonic Keystone ADI MAXIM Keystone Building Fasteners Building Fasteners Building Fasteners Table 4 5 Debug Board Bill of Material Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key N A Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key Digi Key Vendor P N 445 1349 1 ND 478 1687 1 ND 478 1673 1 ND 160 1414 1 ND 1011 36 ND SC1152 ND A2100 ND 4208 ND P10KACT ND P1
88. d to control the PE pin of the 32 GND uWire EEPROM 33 TP3 GND GND test point 2 pin header that connects the SDCK signal to the serial 2 imn E EEPROM Two pin header for the clock signal to the uWire EEPROM 35 JP51 NA Inserting a jumper in this header enables the clock Two pin header for pulling low the CS input of the uWire 36 Hoe EEPROM This connector is an isolated USB port for serial communi d GNI USB PORT cation with the 71M6543 38 JP7 2 pin header connected to the VARh pulse LED 39 D6 VARh VARh pulse LED 40 JP8 WPULSE 2 pin header connected to the Wh pulse LED 2 pin header for connection of the RX output of the isolated USB port to the RX pin of the 71M6543 When the Demo Board is communicating via the USB port a jumper should be installed on 5 When the Demo Board is communi cating via the Debug Board plugged into J21 the jumper should be removed 42 JP20 5 0 VDC Circular connector for supplying the board with DC power Do not exceed 5 0 VDC at this connector Page 57 of 91 v5 Board User s Manual A s x C 7 58 E sme 5 24182 6 gt x zi m eS AHAAA AAAA Figure 3 1 71M6543 REV 4 0 Demo Board Board Description Default jumper settings are indicated in yellow Elements shown in
89. e based on the meter Kh and the applied power Page 48 of 91 v5 71M6543 Demo Board User s Manual Optical Pickup for Pulses Figure 2 8 Meter with Calibration System Figure 2 9 shows the screen on the controlling PC for a typical Demo Board The error numbers are given in percent This means that for the measured Demo Board the sum of all errors resulting from tolerances of PCB components current sensors and 71M6543F tolerances was 3 41 a range that can easily be compensated by calibration Figure 2 10 shows a load line obtained with a 71M6543F As can be seen dynamic ranges of 200 0 25 or 1 800 for current can easily be achieved Dynamic current ranges of 2 000 1 0 1 A to 200 A have been achieved with 50 shunts mounted in ANSI enclosures I WinBoard Meter Testing Serial No 4738 Testing Functions Options Filelaraph Turbo Test Exit AlteF4 Cancel F2 StartF3 RepeatF8 AdjOpticF4 CreepF5 Mode F6 Skip FT View Save F10 Station 1 Model 2300 LOOP MODE Task Hyper Sequence er Sequence Test As As Phase Service Upper 4 Type Found Left Revs Ele Yot Angle Type Limit Lookup Code Lookup 55 240 0 30 00 60 0 Wye ABC 375 Form fie 52 E Defaults 32 Voltage 240 Amp Test Seq 12 Rev 1 AF 1 AF imt ALLimts 2 Service Messe xl Reverse Power Start Delay 3 Optics Middle KA j Turtle Op
90. e 1 3 left bit settings are configured by pressing the Configure button Figure 1 3 right as shown below A setup file file name Demo Board Connection ht for HyperTerminal that can be loaded with File gt Open is also provided with the tools and utilities In Windows 7 HyperTerminal is not available but can be installed from various resources on the Internet Port parameters can only be adjusted when the connection is not active The disconnect af button as shown in Figure 1 2 must be clicked in order to disconnect the port Page 11 of 91 v5 71M6543 Demo Board User s Manual Demo Board Connection HyperTerminal File Edit al Transfer Help Flow Control irect method Meter Display Select Wh Consumption for all gt il 04 21 2005 ANSIW 9600 8 N 1 Figure 1 2 HyperTerminal Sample Window with Disconnect Button Arrow n Y F New Connection Properties 9 27 Properties 8 mmm Connect To Settings Port Settings IS Nen Comecton Bits per second 9600 Country region United States 1 Enterthe area code without the long distance prefix Dota bis Area code 714 Parity None Zi Phone number Connect using 27 x Flow control X Use country region code and area code Redial on busy zm F
91. e the gain in all measurement channels For these tests three 50 shunts had been characterized and coefficients combined from the shunt coeffi cients and the VREF coefficients for the 71M6543H and 71M6xxx had been generated and loaded into the 71M6543H No compensation was used for the voltage divider in the 71M6543 Demo Board The tests were conducted with a 71M6543 Demo Board REV 3 0 populated with a 71M6543H and 3 x 71M6203 dual trim Figure 2 6 shows the results for the VREF compensation only original coefficients obtained from fuses Figure 2 7 shows the results for the combined compensation original coefficients obtained from fuses com VREF Compensation Only 40 C E 22 C 55 C 0 5 1 Figure 2 6 Wh Registration Error with VREF Compensation bined with shunt coefficients Page 47 of 91 v5 Compensation for VREF and Shunts 1 5 H 1 1 40 C gt 172 m 22 C mit e 55 C 0 5 H 85c 1 1 5 HL HH 0 1 1 10 100 Figure 2 7 Wh Registration Error with Combined Compensation 2 4 TESTING THE DEMO BOARD 2 4 1 This section will explain how the 71M6543F IC and the peripherals can be tested Hints given in this section will help evaluating the features of the Demo Board and understanding the IC and its peripherals Demo Board It interfaces to a PC t
92. e zero when the meter is accurate and negative when the meter runs slow The fundamental frequency is fo T is equal to 1 fs where fs is the sample frequency 2560 62Hz Set all cali bration factors to nominal CAL 16384 CAL VA 16384 LCOMP2 16384 Note The derivation of the calibration formulae is provided for CTs where a phase adjustment is performed to compensate for the phase error of the CT For operation with 71M6xxx Remote Sensor Interfaces a delay compensation 2 n is used Spreadsheets are available to calculate the calibration coefficients for all hardware configurations Page 35 of 91 v5 From the voltage measurement we determine that 19 Ay E 1 We use the other two measurements to determine and Axi p IV Ay Ay cos 0 9 2 E 1 2 Ay A cos 1 0 IV cos 0 XV 9 2 Ayy IV Ag cos 60 T cos 60 s _ IV cos 60 TU 60 ia F Ay Ay cos 60 cos sin 60 sin 1 v cos 60 Ay Ay cos Ay Ay tan 60 sin 1 Combining 2a and 3a 4 Eq 1 tan 60 tan Eo E E e tants S D tan 60 62 tan E 1 tan 60 and from 2a EI 0 Now that we know the Axi and errors we calculate the new calibration voltage gain coefficient from the previous ones 7 gt Ay DAD sa XV We calculate PHADJ
93. ead from and write to CE data space Usage Starting CE Data Address option option Command JA Read consecutive 16 bit words in Decimal starting at ad combinations dress A JA Read consecutive 16 bit words in Hex starting at address A JA n n Write consecutive memory values starting at address A 10 Update default version of Data in flash memory Example 0 9 Reads data words 0 40 0 41 0 42 7E 12345678 9876ABCD Writes two words starting OX7E All CE data words are in 4 byte 32 bit format Typing JA will access the 32 bit word located at the byte ad dress 0x0000 4 A 0x1028 Commands for MPU XDATA Access MPU DATA ACCESS Comment Description Allows user to read from and write to MPU data space Usage Starting MPU Data Address option option Command JA Read three consecutive 32 bit words in Decimal starting at combinations address A Read three consecutive 32 bit words in Hex starting at ad dress A JA n2m Write the values n and m to two consecutive addresses start ing at address A Display useful RAM addresses Example 08 Reads data words 0x08 0 0 0x10 0x14 04 12345678 9876ABCD Writes two words starting 0x04 MPU or XDATA space is the address range for the MPU XRAM 0x0000 to OxFFF All MPU data words are in 4 byte 32 bit format Typing JA will access the 32 bit word located at the b
94. eference for routines e Installation Guide e List of library functions e 80515 MPU Reference hardware instruction set memory registers 1 10 2 DEMO CODE VERSIONS Each sensor configuration has its own Demo Codes version Using the wrong type of Demo Code will result in malfunction Table 1 6 shows the available Demo Code versions and their application Table 1 6 Demo Code Versions File Name Supported Configuration Supported Demo Board 6543equ5_6103_5p3d_14feb11 hex 3 x 71M6103 with shunts 71M6543 DB REV4 0 6543equ5_6113_5p3d_14feb11 hex 3 x 71M6113 with shunts 71M6543 DB REV4 0 6543equ5_6203_5p3d_14feb11 hex 3x 71M6203 with shunts 71M6543 DB REV4 0 6543equ5 6603 5p3d 14febll hex 3 x 71M6603 with shunts 71M6543 DB REV4 0 6543equ5 ct 5p3d l4febll hex 71M6543 DB REV5 0 1 10 3 IMPORTANT MPU ADDRESSES In the Demo Code certain MPU XRAM parameters have been given addresses in order to permit easy external access These variables can be read via the command line interface if available with the n command and written with the command where n is the word address Note that accumulation variables are 64 bits long and are accessed with n read and n hh7ll write in the case of accumulation variables The first part of the table the addresses 00 1F contains adjustments i e numbers that may need adjustment in a demonstration meter and so are part of the calibration for demo code In a reference meter
95. ensor Interface to output its reference voltage on the TMUX pin pin 5 2 6R1 20 this command returns the reading from the temperature sensor STEMP of the 71M6x0x Remote Sensor Interface in a two byte hexadecimal format e g FFDF Negative readings are sig naled by the MSB being 1 T 22 STEMP 0 33 STEMP 0 00003 C Example For STEMP OxFFDF the decimal equivalent is 32 The temperature calculates to 22 C 10 59 C 11 4 C Note that IC temperature is averaged and displayed more accurately with the M1 command 1 10 8 BOOTLOADER FEATURE Demo Codes 5 4F and later are equipped with a bootloader feature This feature allows the loading of code via the serial interface USB connector CN1 when a Signum ADM51 emulator or Maxim TFP2 Flash Loader is not available The bootloader functions as follows 1 3 4 Meter code must be modified in order to be loaded by the bootloader The meter code must start at ad dress 0x0400 and its interrupt vector table must also start at 0x400 The bootloader itself is located at ad dress 0x0000 and must be loaded into the IC by some method if the flash memory of the 71M6543 is empty or if code of a previous revision is loaded The bootloader is part of Demo Code 5 4F The bootloader loads Intel hex 86 files at 38 400 baud 8 bits no parity It will only accept record types 0 4 and 1 which are the types produced by Maxim s Teridian bank_merge program or checksum program
96. ensor and cable in ductance The values from the spreadsheets provide starting points For example if after calibration the error or 0 load angle is 0 024 but 1 25 at 60 and 1 18 at 300 LCOMP2_n should be increased to mini mize the errors at 60 and at 300 Page 41 of 91 v5 71M6543 Demo Board User s Manual 2 2 6 MAXIM Teridian Smart Grid Solutions AC frequency 50 click on yellow field to select from pull down list Sample Frequency Energy reading at 60 Energy reading at 60 Energy reading at 60 Energy reading at 180 Voltage error at 0 Energy reading at 60 Energy reading at 60 Energy reading at 180 Voltage error at 0 Expected voltage V Results Will show in green fields REV Date 5 4 2010 Author JPJ cuc pcs i Voltage Z L Pas 7 E i Current lags b g i voltage j Positive i inductive direction e Current X capacitive 74 LN SK 2 Ss i P Voltage Generating Energy 60 Current leads voltage Using Energy Figure 2 4 Calibration Spreadsheet for Five Measurements Note The spreadsheets shown above apply to calibration for systems with 71M6xxx Remote Sensor Interfaces For CT bases meters the regular spreadsheets also used for the 71M6513 71M6533 and 71M6534 should be used COMP
97. eplaced with 10 000 pF or higher value capacitors T R123 750 DNP 5 4 600 Ohm ferrite R115 499 gt TMUX GND 750110056 1 1 iiid 8 2 E 7 2 1 08 1 IN J30 C83 INN SP IAN IN R51 R53 10 000pF 8 1 TEST VCC 10 0 34 78 DNP ell 71M6103 8SOIC 600 Ohm ferrite 10 000pF R117 499 623 GND_R6000_A 1uF d L22 R124 750 DNP R118 0 DNP Figure 4 9 Input Circuit with Ferrites Page 70 of 91 v5 71M6543 Demo Board User s Manual 4 4 71M6543 DEMO BOARD REV 4 0 BILL OF MATERIAL Table 4 1 71M6543 REV 4 0 Demo Board Bill of Material 1 2 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 23 18 e 25 BT1 BT2 BT3 CN1 C1 C8 C9 C11 C13 C14 C15 36 42 43 44 48 49 C50 C52 C53 C57 C58 C61 C65 C67 C68 C69 C3 C5 C18 C19 C20 C21 C22 C26 C27 C28 C51 C60 C62 C63 C64 C66 C74 C77 C6 C7 C45 C47 C17 C34 C56 C24 C25 C29 C32 C37 C38 C40 C41 C30 C31 C35 C39 C46 C54 C55 C59 70 71 C72 C73 D5 D6 D7 D8 D12 D13 D14 D9 D10 D17 JP1 J1 JP3 JP44 JP45 JP2 TP1 3 JP4 JP5 P6 JP7 JP8 J11 J12 J13 J15 J16 117 118 20 122 123 124 J25 JP50 JP51 JP52 JP53 54 55 20 J4 J6 J8 J9 J14 J19 J21 L1 L11 L12 L13 L
98. er for cation GAIN ADJO 0x25 ADJI 0x26 GAIN_ADJ2 0x27 GAIN_ADJ3 0x28 GAIN_ADJO 0x29 When the Demo Code starts up after reset or power up it determines whether the meter has been calibrated If this is not the case the coefficients PPMC and PPMC2 are automatically determined based on information found in the 71M6543 and in the 71M6x0x Remote Sensor Interface ICs These coefficients are calculated to compensate for the reference voltage deviation in these devices but can be enhanced to also compensate for the shunt resistors connected to each device 2 3 3 CALCULATING PARAMETERS FOR COMPENSATION 2 3 3 1 Shunt Resistors The TC of the shunt resistors can be characterized using a temperature chamber a calibrated current and a voltmeter with filtering capabilities A few shunt resistors should be measured and their TC should be compared This type of information can also be obtained from the manufacturer For sufficient compensation the TC of the shunt resistors must be repeatable If the shunts are the only temperature dependent components in a meter and the accuracy is required to be within 0 596 over the industrial temperature range the repeatability must be better than R 5000 PPM 60 83 3 PPM C This means that a shunt resistor with 200 PPM C the individual samples must be within 116 7 PPM C and 283 3 PPM C Let us assume a shunt resistor of 55 uQ in phase A This resistor is 10 above the nominal
99. erminal us D8 aos 03 ul 81 R111 L8 m m TL431 h SKE350A 180 5 02 35 017 OK 0 1uF 2uF JP20 C42 C39 2 R139 22uF usa 1000pF 100uF 1 5 R21 1 7 25 5K t BP 54 10uF 1000 b us 52 4 aaa SND D 51 lt Ferrite Bead 6000hm R148 ES1J R149 820 JP6 T 68 LNK304 TN C54 R110 0 1uF L_RECT DNP R152 2k 68 NEUTRAL RV1 VARISTOR lt J4 R141 R140 D12 vaN P 1 1 VAIN R8 100 3 4K S1J 75 DNP VA IN NEUTRAL RV2 VARISTOR lt 6 R73 R146 D13 VB IN 4 1 VA TN R7 100 3 4K 81 75K DNP NEUTRAL VARISTOR lt 8 R65 R147 D44 1 TN R6 100 3 4K 81 75 gt gt vc_in R6 R7 R8 can be used to JP4 generate a virtual neutral 2 1 oND NEUTRAL Title 2 vspasvs 71M6543 Meter Demo Board PNEUTRAL Bize Document Number B D6543 Date Wednesday December 15 2010 Sheet Page 63 of 91 Figure 4 2 Teridian 71M6543 REV 4 0 Demo Board Electrical Schematic 2 4 3 of v5 71M6543 Demo Board User s Manual Page 64 of 91 P 645 R97 AW R97
100. ese interface signals The Flash Downloader must release E at all other times v5 1 10 DEMO CODE 1 10 1 DEMO CODE DESCRIPTION The Demo Board is shipped preloaded with Demo Code in the 71M6543F chip The code revision can easily be verified by entering the command gt i via the serial interface see section 1 8 1 Check with your local Maxim re presentative FAE or for the latest revision or obtain the latest revision from the Maxim web site The Demo Code offers the following features e t provides basic metering functions such as pulse generation display of accumulated energy fre quency date time and enables the user to evaluate the parameters of the metering IC such as accu racy harmonic performance etc e t maintains and provides access to basic household functions such as the real time clock e t provides access to control and display functions via the serial interface enabling the user to view and modify a variety of meter parameters such as Kh calibration coefficients temperature compensa tion etc e ltprovides libraries for access of low level IC functions to serve as building blocks for code de velopment A detailed description of the Demo Code can be found in the Software User s Guide SUG In addition the comments contained in the library provided with the Demo Kit can serve as useful documentation The Software User s Guide contains the following information e Design guide e Design r
101. f Tables Table 1 1 Jumper Settings on Debug Board tenti erede tend dead ee xa acer dee 10 Table 1 2 Straight Cable 2 10 Table 1 3 Null modem Cable 10 Table 1 4 CE RAM Locations for Calibration Constants 21 Table 1 5 Flash Programming Interface 23 1 6 Demo Code Versions eri eret redderet 24 Table 1 7 LOCATIONS EE 25 Table 1 8 Bits inrthe MPU Status Word u a tree LH Ide Ede ca saa NL etd leta 30 Table 1 9 CE Registers and Associated LSB nn 31 Table 1 10 IMAX for Various Shunt Resistance Values and Remote Sensor 31 Table 1 11 Identification of 71M6x0x Remote Sensor 33 Table 2 1 Temperature Related Error Sources a na aaa asas 44 Table 2 2 MPU Registers for Temperature Compensation n nn 45 Table 2 3 Temperature Related Error 46 Table 3 1 71M6543 REV 4 0 Demo Board 55 Table 4 1 71M6543 REV 4 0 Demo Board Bill of Material 1 2 U u a 71 Table 4 2 71M6543 REV 4 0 Demo Board Bill of Material
102. from the desired phase lag tan g 2 2 1 2 cos 2af T 1 2 sin 2zf T tan 0 2 cos 2z T And we calculate the new calibration current gain coefficient including compensation for a slight gain increase in the phase calibration circuit CAL I 1 2 PHADJ 2 2 gt PHADJ 2 1 2 cos 2af T 1 2 1 2 cosQ af T 1 27 PHADJ Pl CAL Page 36 of 91 v5 2 1 2 CALIBRATION WITH FIVE MEASUREMENTS The five measurement method provides more orthogonality between the gain and phase error derivations This method involves measuring Ev Eo E180 and Again set all calibration factors to nominal i e CAL 16384 CAL VA 16384 PHADJ A 0 Note The derivation of the calibration formulae is provided for CTs where a phase adjustment is performed to compensate for the phase error of the CT For operation with 71M6xxx Remote Sensor Interfaces a delay compensation LCOMP2_n is used Spreadsheets are available to calculate the calibration coefficients for all hardware configurations First calculate from Ev 19 Ay E 1 Calculate from Eo and E4180 _ IV Ay Ay cos 0 2 1 A cos 1 0 IV cos 0 Ay cos s IV A Ay cos 180 9 3 4 E 24 c08 0 2 E E 2 5 0 7180 2 E 2 1 6 gt zi 0 07 Ay cos
103. fter the voltage measurement measured observed and expected actually applied voltages are en tered in the yellow fields labeled Expected Voltage and Measured Voltage The error for the voltage measurement will then show in the green field above the two voltage entries The relative error from the energy measurements at 0 and 60 are entered in the yellow fields labeled Energy reading at 0 and Energy reading at 60 The corresponding error expressed as a fraction will then show in the two green fields to the right of the energy reading fields The spreadsheet will calculate the calibration factors CAL CAL VA LCOMP2 from the in formation entered so far and display them in the green fields in the column underneath the label new If the calibration was performed on a meter with non default calibration factors these factors can be entered in the yellow fields in the column underneath the label old For a meter with default calibra tion factors the entries in the column underneath old should be at the default value 16384 v5 71M6543 Demo Board User s Manual REV TA Date 5 4 2010 JPJ Cunent lags voltage inductive Positive direction Current m Generating Energy Using Energy Figure 2 3 Calibration Spreadsheet for Three Measurements Note The values for LCOMP2 may have to be changed slightly depending on shunt s
104. hrough a 9 pin serial port connector It is recommended to set up the demo board with no live AC voltage connected and to et connect live AC voltages only after the user is familiar with the demo system BEFORE CONNECTING THE DEMO BOARD TO A CALIBRATION SYSTEM OR OTHER HIGH VOLTAGE SOURCE IT IS RECOMMENDED TO MEASURE THE RESISTANCE BE TWEEN THE LINE AND THE NEUTRAL TERMINALS OF THE DEMO BOARD WITH A MULTI METER ANY RESISTANCE BELOW THE 1 MO RANGE INDICATES A AFAULTY CONNEC TION RESULTING INDESTRUCTION OF THE 71M6543 FUNCTIONAL METER TEST This is the test that every Demo Board has to pass before being integrated into a Demo Kit Before going into the functional meter test the Demo Board has already passed a series of bench top tests but the functional meter test is the first test that applies realistic high voltages and current signals from current transformers to the Demo Board Figure 2 8 shows a meter connected to a typical calibration system The calibrator supplies calibrated voltage and current signals to the meter It should be noted that the current flows through the shunts or CTs that are not part of the Demo Board The Demo Board rather receives the voltage output signals from the current sensor An optical pickup senses the pulses emitted by the meter and reports them to the calibrator Some calibration sys tems have electrical pickups The calibrator measures the time between the pulses and compares it to the ex pected tim
105. igure 1 3 Port Setup left and Port Speed and Handshake Setup right Once the connection to the demo board is established press lt CR gt and the command prompt gt should ap pear Type gt to see the Demo Code help menu Type gt i to verify the demo code revision 1 8 USING THE DEMO BOARD The 71M6543 Demo Board is a ready to use meter prepared for use with external shunt resistors Demo Code versions for polyphase operation EQU 5 are available on the Maxim web site www maxim ic com and the 71M6543F is pre programmed with Demo Code that supports polyphase metering Using the Demo Board involves communicating with the Demo Code via the command line interface CLI The CLI allows all sorts of manipulations to the metering parameters access to the EEPROM selection of the dis played parameters changing calibration factors and many more operations Before evaluating the 71M6543F on the Demo Board users should get familiar with the commands and re sponses of the CLI A complete description of the CLI is provided in section 1 8 1 Page 12 of 91 v5 1 8 1 SERIAL COMMAND LANGUAGE The Demo Code residing in the flash memory of the 71M6543F provides a convenient way of examining and modifying key meter parameters via its command line interface CLI The tables in this chapter describe the commands in detail Commands for CE Data Access CE DATA ACCESS Comment Description Allows user to r
106. istor discrete temper ature sensor The effect of shunt self heating can be described by the following formulae First the relative output of a shunt resistor is AR R AR is a function of the change in temperature the temperature coefficient TCR the thermal resistance Rtn and of course the applied power which is proportional to the square of the current R AT TC V R Ultimately it is up to the meter designer to select the best combination of shunt resistance TC shunt geometry and potential software algorithms for the given application PLACEMENT OF SENSORS ANSI The arrangement of the current terminals in an ANSI meter enclosure predetermines shunt orientation but it al so allows for ample space in between the sensors which helps to minimize cross talk between phases R Ry A good practice is to shape the shunts like blades and to place them upright so their surfaces are parallel In an ANSI type 16S meter the distance between the phase A sensor and the phase B sensor is roughly 25 mm which makes these two phases most critical for cross talk For the ANSI form 2S meter which is a frequently used single phase configuration the distance between the sensors is in the range of 70 mm which makes this configuration much less critical However even for this case good sensor placement is essential to avoid cross talk Sensor wires should be tightly twisted to avoid loops that can
107. le tional pulse is present in the CE data but not preserved Wh exported energy register Nonvola Like wh im n a 32 64 tile varh im VARI register Like wh_im 33 Nonvolatile varh ex VARh exported reg Like wh_im ister Nonvolatile Time of maximum Standard time and date struc year month 36 md max rtc unsigned demand ture date hour min 3A Battery voltage at y bat last measurement signed Volatile not saved 9 on power failure Count of accumula tion intervals since reset or last clear acc cnt Cleared with 1 2 or count signed 32 meter read Volatile not saved on power failure Counts seconds that tamper errors were asserted 52 2 tamper Cleared with 1 2 This is tamper measurement signed 32 meter read Nonvol atile Counts seconds that vollage low This is a power quality meas sag sec error occurred or P q y signed 32 urement meter read Nonvol atile Counts seconds that neutral current 3 error was asserted This is a power quality meas _ Cleared with 1 2 urement signed 32 meter read Nonvol atile 40 45 Clock time and Standard time and date struc rtc copy when data was last ture year month date hour unsigned read from the RTC min sec register saves 1 Valid only when autocalibration is integrated Meters with metering equations with differential currents or voltages do not normally support autocalibration 2 Requires fea
108. lue is determines by the divider ratio of the voltage divider resistors For the 71M6543 Demo Board this value is 600 IMAXI RMS current through one current sensor corresponding to the maximum RMS voltage at the input pins of the 71M6103 as determined by the formula above SUM SAMPS The value in the SUM_SAMPS register in RAM 2520 for this version of the Demo Code WRATE The value in the pulse rate adjustment register of the CE X The pulse rate adjustment modifier determined by the PULSE FAST and PULSE SLOW bits in the CECONFIG register For the 71M6103 a kh of 3 2 3 2 Wh per pulse is achieved by the following combination of system settings VMAX 600 V 163 7 A based on Rs 120 SUM SAMPS 2520 WRATE 7090 X 0 09375 based on PULSE FAST 0 and PULSE SLOW 1 The calculations shown above are simplified if the calibration spreadsheet provided with each Demo Kit is used Figure 1 7 shows an example The user enters data in the yellow fields and the results will show in the green fields System Settings for 71 6541 and 71M6543 rev GON Poly Phase Operation SEMICONDUCTOR CORP 71 6 Part Inom VMAX PULSE FAST Shunt V max Shunt Re Power IMAX kH WRATE Voltage sistance No A PULSE_SLOW w A A S mV RMS uQ W A 71M6603 60 600 01 0 09375 30 500 18 3 2 78839 3829 71 6103 6113 100 600 01 0 09375 12 120 12 3 2 16368 17091 71M6203 200 600 01 0 09375 10 50 2 3
109. n coefficients based on TC and TCzusing the fuse values in each device Page 43 of 91 v5 3 4 The reference voltage of the 71M6543F IC At temperature extremes this voltage can deviate by few mV from the room temperature voltage and can therefore contribute to some temperature related error both for the current measurement pins IAP and IAN of the neutral current sensor if used and for the voltage measurement pin VA As with the Remote Sensor Interface IC the TC of the 71M6543F reference voltage has both linear and quadratic components The reference voltage of the 71M6543F over temperature is predictable within 40 PPM C which means that compensation of the current and voltage reading is possible to within 0 24 The 71M6543H has more predictable temperature coefficients that allow compensation to within 10 PPM C resulting in 0 06 inaccuracy The temperature coefficients of the reference voltage are published in the 71M6543F H data sheet The Demo Code will automatically generate the compensation coefficients based on TC and us ing the fuse values in each device The voltage divider network resistor ladder on the Demo Board will also have a TC Ideally all resis tors of this network are of the same type so that temperature deviations are balanced out However even in the best circumstances there will be a residual TC from these components The error sources for a meter are summed up in Table 2 1 T
110. ntegrat LNK304DG TL VARITRONIX 6648 00 MICROCHIP 93LC76CT I SN Maxim 71M6103 IL F Suntsu SPC6 32 768KHZTR 5 5 5 5 5 0 01 0 05 1 1 1 1 0 01 0 0 0 01 5 0 01 5 5 5 1 1 1 1 1 1 5 1 5 1 0 125W 0 125W 2W 0 1W 0 1W 0 1W 0 25W 0 1W 0 125W 0 125W 0 125W 0 125W 0 125W 0 125W 0 5W 2W 0 1W 0 125W 0 1W 0 1W 0 1W 0 1W 0 1W 0 1W 0 1W 0 1W 0 25W 0 125W 2W 0 25W DNP DNP DNP DNP DNP v5 71M6543 Demo Board User s Manual 4 5 71M6543 DEMO BOARD REV 5 0 BILL OF MATERIAL Table 4 3 71M6543 REV 5 0 Demo Board Bill of Material 1 3 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 23 18 P WE 25 15 BT1 BT2 BATTERY BT3 BATTERY CN1 USB B C1 C8 C9 C11 C13 C14 C15 1000 29 32 36 37 38 40 41 42 44 49 50 52 53 C57 C61 c2 22uF C3 C5 C18 C19 C20 C21 0 1uF C22 C26 C27 C28 C51 C60 C62 C63 C64 C66 C74 C77 C6 C7 C45 C47 10uF C17 C34 C56 1uF C24 15pF C25 10pF C30 C31 22pF C48 C58 C65 1000pF C67 C68 C69 C35 2 2uF C39 100uF C46 0 03 uF C54 0 1uF C55 C59 100pF 70 71 0 1uF C72 0 01uF C73 4 7uF D5 D6 LED 1 D7 LD274 D8 D12 D13 D14 S1J D9 ES1J D10 LED D17 1 5KE350A JP1 J1 JP3 JP44 JP45 HDR3X1 JP2 HDR5X1 TP1 J3
111. o gray Corrected formula in 2 3 3 1 Removed text stating that the Demo Code and documents tools are delivered on a CD ROM in the kit Added attribute optional for all references to the Debug Board Added USB Interface Module as part of Demo Kit Contents Added text stating that spreadsheets are available on the Maxim web site Updated graphs and text in Serial Connection Setup 1 7 4 and updated Demo Code version in Compatibility 1 5 Updated images for calibration spreadsheets and changed description of calibration to reflect the usage of LCOMP2_n coefficients used in newer codes Added section 1 10 8 Bootloader Feature 2 3 03 04 2010 3 0 07 26 2010 3 1 08 10 2010 3 2 12 10 2010 4 1 03 28 2011 4 2 05 06 2011 5 7 2012 Page 91 of 91 v5 Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery amp Lifecycle Information Maxim Integrated 71M6543F DB 71M6543F DB CT
112. owing equation for Kh Kh 54 5793 VMAX IMAX I SUM SAMPS WRATE X See the explanation in section 1 10 5 for an exact definition of the constants and variables involved in the equa tion above ADJUSTING THE DEMO BOARDS TO DIFFERENT SHUNT RESISTORS The Demo Board REV 4 0 is prepared for use with 120 uQ or 50 uOhm ANSI option shunt resistors in all cur rent channels A certain current flowing through the 120 uQ shunt resistors will result in the maximum voltage drop at the ADC of the 71M6103 Remote Sensor ICs This current is defined as MAX and can be adjusted at MPU location 0x03 see section 1 10 3 IMAX will need to be changed when different values are used for the shunt resistor s which will require that WRATE has to be updated as shown in section 1 10 5 The scaling of the neutral current measurement is controlled by the i_max2 variable at MPU location 0x01C USING THE PRE AMPLIFIER In its default setting the 71M6543F applies a gain of 1 to the current input for the neutral current inputs IAP IAN pins This gain is controlled with the PRE E bit in RAM see the Data Sheet The command line interface RI command can be used to set or reset this bit It is recommended to maintain the gain of setting of 1 RI2704 0x90 USING CURRENT TRANSFORMERS CTS phases of the 71M6543 REV 5 0 Demo Board are equipped with connectors for external CTs CTs should be connected to the headers J5 J7 and J10 A burden resistor of 1
113. p area formed by the Manganin zone of the shunts and the wires As with the AN SI sensors it is recommended that sensor wires are tightly twisted to avoid loops that can be penetrated by the magnetic fields of the sensors or conductors OTHER TECHNIQUES FOR AVOIDING MAGNETIC CROSSTALK With very high currents or close distances between shunt sensors magnetic pickup or cross talk will sometimes occur even if good placement practices are followed One mechanism for cross talk is shown in Figure 2 14 where the Manganin zone and the sensor wire act as a loop that will generate an output voltage similar to that generated by a Rogowski coil The effect of this loop can be compensated by adding a second loop on the opposite side of the shunt resistors as shown in Figure 2 15 Page 52 of 91 v5 Optional contact voltage Copper 7 Loop lt Figure 2 14 Loop Formed by Shunt and Sensor Wire _ Sensor wires O e Manganin Symmetrical loops Figure 2 15 Shunt with Compensation Loop Since the compensation loop is impractical a similar compensation effect can be achieved by attaching the sensor wires in the center as shown in Figure 2 16 An economical approach to this technique is to drill holes in the center of the shunt resistor for attachment of the sensor wires Figure 2 16 Shunt with Center Drill Holes 1 U S Pat Pending Page 53 of 91 v
114. piler kit CA51 www keil com c51 ca51kit htm www keil com product sales htm Windows and Windows XP are registered trademarks of Microsoft Corp Page 8 of 91 v5 1 7 DEMO BOARD TEST SETUP Figure 1 1 shows the basic connections of the Demo Board REV 4 0 plus optional Debug Board with the exter nal equipment The PC should be connected via the USB Interface CN1 Communication can also be estab lished via the optional Debug Board but this board is not part of the Demo Kit For stand alone testing without AC voltage the Demo Board maybe powered via the 5 0 VDC input J20 The optional Debug Board must be powered with its own 5 VDC power supply DEMONSTRATION METER 6543 71M6103 or 71M6203 Single Chip Meter External Shunt femore Sensor PULSE OUTPUTS Resistors isolation transformers SEGDIOO WPULSE V3P3SYS D1 BP 77 IA i SEGDIO1 VPULSE V3P3SYS ne SEGDIOG XPULSE _______ 5 PULSE A SEGDIO7 YPULSE O PULSEB EOD CL CH CI CT Cl ICN ol 21 LILILILI LILI 3 or 5v as Is a s slm ia
115. ption Allows the user to enable and configure the compute engine store and recall configurations and initiate calibration Usage C option argument Command CEn Compute Engine Enable 1 gt Enable combinations 0 gt Disable CTn m Selects the signal for the TMUX output pins n 1 for TMUXOUT n 2 for TMUX2OUT M is interpreted as a hex number CREn RTM output control 1 gt Enable 0 Disable CRSa b c d Selects CE addresses for RTM output CLS Stores calibration and other settings to EEPROM CLR Restores calibration and other settings from EEPROM CLD Restores calibration and other settings to defaults CLB Start auto calibration based on voltage MPU address 0 0 current MPU 0 00 and duration MPU OxOE in seconds CLC Apply machine readable calibration control Intel Hex Records CPA Start the accumulating periodic pulse counters CPC Clear the pulse counters CPDn Activate pulse counters for n seconds Example CEO Disables CE SYS will stop blinking on the LCD CT1 12 Selects the VBIAS signal for the TMUXOUT pin Commands for Identification and Information INFORMATION MESSAGES Comment Description Usage Allows the user to read information messages Sends complete demo code version information on serial inter face MO Displays meter ID on LCD The command is mainly used to identify the revisions of Demo Code and the contained CE code Page 15 of 91 v5
116. pulses involved For this purpose the MPU Demo Code should be modified to display averaged volt age and current values as opposed to momentary values Also automated calibration equipment can com municate with the Demo Boards via the serial interface and extract voltage and current readings This is possi ble even with the unmodified Demo Code Complete calibration procedures are given in section 2 2 of this manual Regardless of the calibration procedure used parameters calibration factors will result that will have to be ap plied to the 71M6543F IC in order to make the chip apply the modified gains and phase shifts necessary for ac curate operation Table 1 4 shows the names of the calibration factors their function and their location in the CE RAM Again the command line interface can be used to store the calibration factors in their respective CE RAM ad dresses For example the command gt 10 16302 stores the decimal value 16302 the CE RAM location controlling the gain of the current channel CAL_JA The command gt 11 4005 stores the hexadecimal value 0x4005 decimal 16389 in the CE RAM location controlling the gain of the volt age channel CAL VA Page 20 of 91 v5 1 9 2 1 9 3 1 9 4 Table 1 4 RAM Locations for Calibration Constants Coefficient Description Adjusts the gain of the voltage channels 16384 is the typical value The gain is directly proportional to the CAL parameter Allowed
117. rt of battery modes Located on the bottom v5 Reference Item Designator Name Use Location of optional battery for the support of RTC and 10 BT2 non volatile RAM BT2 has an alternate circular footprint at location BT3 11 J21 DEBUG Connector for the optional Debug Board 2x8 pin male header Chip reset switch When the switch is pressed the RESET 12 SW5 RESET pin of the IC is pulled high which resets the IC into a known state 13 J12 2 pin header If a jumper installed the battery BT1 will be gt connected to the V3P3SYS net 44 J13 2 pin pin header If a jumper installed the battery BT2 BT3 2 will be connected to the V3P3SYS net Pushbutton connected to the PB pin on the IC This push 45 SW3 PB button can be used in conjunction with the Demo Code to wake the IC from sleep mode or LCD mode to brown out mode 16 TP2 GND GND test point 2 pin header for the connection of the non isolated shunt 17 J3 IAN IN IAP_IN used for neutral current measurement This header is on the bottom of the board 18 SWA SEGDIO53 Pushbutton for optional software function 2 pin header that allows access to the neutral current input 18 xd AD pins on the 71M6543 A jumper is placed across JP6 to activate the internal AC 19 JP6 power supply Caution High Voltage Do not touch ADC8 ADC9 2 pin headers that allow access to the voltage input pins on 198 ToO ADC10 the 71M6543 The
118. s 41 SEGDIO4 sizes RXUSB 2 VOD1VDD2 7 UART TX cn R1 5 VLCD 89 cD Nc 40 HDR2X1 tox R143 TX 058 __3 UART RX 1525 VBAT ass PB 90 SEGDIOS gt 1 GND USB 4 VOB 5 GND 0 1uF 91 Reser 71M6543 100TQFP SEGDIOS 138 ULSE V3P3D 5 200 82 GND GND2 gem ipo Eoo bor 887 acutam 36 D 5V_USB DS 54 TMUX20UT SEG46 SEGDIOB 32 SEGDIOS 2 3 77128 14 vecio SND USB Rig 010 R4 sys GND SEGDIO42 95 SEGDIO45 SEGDIO9 734 SEGDIO10 P2 3 xD 722 RXLED 5 SEGDIO43 96 SECDIO43 33 __5 601011 R150 584 CBUSO 21 gt SEGDIOZ2 97 901043 8 601011 32 SEGDIO 2 41 5 GND FT232Ra CBUS 9 X 1K 100 R106 5 601041 98 31 SEGDIOi3 6 NC GND 19 5 USB LED 62 4 4K SEGDIO49 _ SEGDIO41 SEGDIO13 SEGDIO14 X 34 VCC 4 30 100 7 18 0 tuF SPI CK 100 SEGDIO40 SEGDIO14 29 SEGDIO S GND 2 4 Sg RESET 77 GND USB SPI_CKISEGDIO39 SEGDIO15 28 SECDIO16 Wisi r X OTSR E SEGDIO16 57 1 598 238 z2 SEGDIO17 27 BIT BANG HDR 1 258 22 40K ART 1 00022558 GND Ow SERIAL EEPROM V3P3D USB Connector straight 26599969996 Bo 90999 OPT RX 1 5V us c 3425988898662 2288685888898 ause 0 1uF TMUX2OUT amp
119. s ured_temp temp_datum temp_cal1 temp calO signed 1 ppm T mtr_datum in 0 1 C signed ppm2 T mtr datum in 0 1 C signed signed signed 5 i c 13 14 15 signed accumulation intervals cover both chop polar ities 2400 240 V is the default full scale for meter test 300 30 15 the fault full scale for meter test Count of accumulation intervals of calibration signed 0 1 V rms of AC signal applied to all elements during calibra tion 0 1 A rms of AC signal applied to all elements during calibra tion Power factor of calibration signal must be 1 pe poer ES v5 led_bit Page 27 of 91 Selects LCD s cur rent display Defines sequence of LCD displays Manufacturer s ID text string of the meter 0 Meter identification 1 Display variation from calibra tion temperature 0 1C 2 Display mains Hz 0 1 Hz 3 mWh total 4 mWh total exported 5 mVARR total 6 mVARh total exported 7 mVAh total 8 Operating hours 9 Time of day 10 Calendar date 11 Power factor total 12 Angle between phase 0 amp 1 13 Main edge count last accu mulation 14 KW instantaneous total 15 V instantaneous max of all phases 16 A total 17 V Battery VB 18 Seconds bad power BPS 19 Seconds tamper tamper in progress TS 20 LCD Test
120. se pins See the crystal manufacturer datasheet for AOV o details If an external clock is used 150 mV p p clock signal should be applied to XIN and XOUT should be left unconnected Pin types P Power O Output Input I O Input Output Page 88 of 91 v5 Digital 5 Table 4 8 71M6543 Pin Description Table 3 3 Name Type Description COM3 COM2 LCD Outputs These 4 provide the select signals COM1 COM0 the LCD display Multi use pins configurable as either LCD segment driver or DIO Alternative functions with proper selection of associated I O RAM registers are SEGDIO0 WPULSE SEGDIO1 VPULSE Do VO SEGDIO2 SDCK SEGDIO3 SDATA SEGDIO6 XPULSE SEGDIO7 YPULSE Unused pins must be configured as outputs or terminated to V3P3 GNDD SEGDIO26 COM5 Multi use pins configurable as either LCD segment driver DIO with SEGDIO27 COM4 alternative function LCD common drivers SEGDIO36 52 22 Multi use pins configurable as either LCD segment driver or DIO with sl Debe Met alternative function SPI interface SEGDIO38 SPI DI SEGDIO39 SPI CKI Multi use pins configurable as either LCD segment driver DIO with alternative function optical port UART1 SEGDIO55 OPT_RX E RXTX SEG48 RST SEG50 Multi use pins configurable as either emulator port pins when ICE_E pulled
121. ss a EEWa b z Write values to buffer CLS Saves calibration to EEPROM Example EEShello Writes hello to buffer then transmits buffer to EEPROM start EET 0210 ing at address 0x210 ue Due to buffer size restrictions the maximum number of bytes handled by the EEPROM command is 0x40 Commands for Flash Memory Control F FLASH CONTROL Comment Description Allows user to enable read from and write to Flash memory Usage F option arguments Command FRa b Read Flash at address for b bytes combinations FSabc xyz Write characters to buffer sets Write length FTa Transmit buffer to Flash memory at address a FWa b z Write string of bytes to buffer Example FShello Writes hello to buffer then transmits buffer to EEPROM start FT FE10 ing at address 0 10 Page 14 of 91 v5 Auxiliary Commands Typing comma repeats the command issued from the previous command line This is very helpful when examining the value at a certain address over time such as the CE DRAM address for the temperature 0x40 The slash is useful to separate comments from commands when sending macro text files via the serial in terface All characters in a line after the slash are ignored Commands controlling the CE TMUX and the RTM C COMPUTE ENGINE Comment MEMORY AND CALIBRA TION CONTROL Descri
122. tion va vb la Ib lc Pa Pb Pc Revs _ Freg TB ee Test Complete Figure 2 9 Calibration System Screen Page 49 of 91 v5 71M6543 Demo Board User s Manual Wh Poly Phase Loadline with 150 uQ Shunt Figure 2 10 Wh Load Lines at Room Temperature with 150 uQ Shunts VARh Poly Phase Loadline with 150 Shunt Figure 2 11 VARh Load Lines at Room Temperature with 150 uQ Shunts 24 2 TEST This Demo Board is not optimized for EMC Please contact your Maxim representative or FAE for questions re garding EMC 2 5 SENSORS AND SENSOR PLACEMENT Both sensor self heating and sensor placement have to be considered in order to avoid side effects that can af fect measurement accuracy These considerations apply in general to both ANSI meters and IEC meters Both meter variations will be discussed below Page 50 of 91 v5 2 5 1 SELF HEATING 2 5 2 2 5 3 The effect of self heating will be most pronounced at maximum current and depends on the following ters e Nominal shunt resistance e Current through the shunt resistor e Thermal mass e Heat conduction away from the shunt thermal resistance towards the environment e Temperature coefficient of copper and resistive material It is quite obvious that the nominal resistance of the shunt resistor should be kept as low as possible Table 1 10 sho
123. to be an accident RTC TAMPER 18 Clock set to a new value more than two hours from the previous value TAMPER 19 Tamper was detected Normally this is a power tamper detected in the creep logic For exam ple current detected with no voltage Table 1 9 contains LSB values for the CE registers All values are based on the following settings e Gain in amplifier for IAP IAN pins selected to 1 e 71M6103 71M6113 or 71M6203 Remote Sensor Interface is used Note that some of the register contents can be zeroed out by the MPU when it applies functions contained in its creep logic Page 30 of 91 v5 1 10 4 LSB VALUES IN CE REGISTERS Table 1 9 CE Registers and Associated LSB Values Register Name LSB Value Comment WOSUM_X WISUM_X W2SUM_X 1 55124 10 2 VMAX The real energy for elements B measured in Wh mulation interval VAROSUM_X VARISUM_X VAR2SUM X 1 55124 10 12 The reactive energy for elements and measured accumulation interval I0SQSUM X IISQSUM X 128080 X INSQSUM X 2 55872 10 7 IMAX VMAX The sum of squared current samples in elements A B C and neutral This value is the basis for the calculation performed the MPU V0SQSUM X VISQSUM X VISQSUM X 9 40448 10 7MAX VMAX The sum of squared voltage samples in elements A B and C 1 10 5
124. transfer gt send text file procedure of HyperTerminal gt UPDATING THE DEMO CODE FILE The d_merge program updates the hex file for example 6543eq5_6103_5p3c_01nov10 hex or similar with the values contained in the macro file This program is executed from a DOS command line window Executing the d_merge program with no arguments will display the syntax description To merge macro txt and old_6543_demo hex into new_6543_demo hex use the command Use the Transfer gt Send Text File command d merge old 6543 demo hex macro txt new 6543 demo hex The new hex file can be written to the 71M6543F 71M6543H through the ICE port using the 51 in circuit emulator or the TFP 2 flash programmer UPDATING CALIBRATION DATA IN FLASH OR EEPROM It is possible to make data permanent that had been entered temporarily into the CE RAM The transfer to EEPROM memory is done using the following serial interface command gt CLS Thus after transferring calibration data with manual serial interface commands or with a macro file all that has to be done is invoking the U command Page 21 of 91 v5 71M6543 Demo Board User s Manual Similarly calibration data can be restored to default values using the CLD command After reset calibration data is copied from the EEPROM if present Otherwise calibration data is copied from the flash memory Writing 0xFF into the first few bytes of the EEPROM S deactivates any calibration d
125. tures not in some demo PCBs Page 29 of 91 v5 Three phase ICs only Some CE codes calculate neutral current rather than measuring it Consult the CE documenta tion Only in systems with two current sensors 2 High accuracy use of this feature require calibrated clock IEC 62056 Manufacturers IDs are allocated by the FLAG association Maxim does not own or profit from the FLAG association Maxim s default id may not conform and is for demonstration purposes only 1 Nothing in the document should interpreted as guarantee of to a 3 party software specification Conformance testing is the responsibility of a meter manufacturer May require calibration for best accuracy 9 Calibration item in high precision H series meters 71M6543H only Table 1 8 Bits in the MPU Status Word Name Explanation No MINIA 0 IA is below IThrshld Current for this phase is in creep MINIB 1 IB is below IThrshld Current for this phase is in creep MINIC 2 IC is below IThrshld Current for this phase is in creep MINVA 3 VA is below VThrshld Voltage for this phase is in creep MINVB 4 VB is below VThrshld Voltage for this phase is in creep MINVC 5 VC is below VThrshld Voltage for this phase is in creep CREEPV 6 All voltages are below VThrshld CREEP 7 There is no combination of current and voltage on any phase SOFTWARE 8 A softw
126. vision 1 0 for 6543 REV 1 0 Demo Board 2 1 02 23 2010 Minor corrections Added more figures illustrating shunt arrangements Specified type of Remote Sensor used on REV 2 0 board 71M6113 or 2 2 03 01 2010 71M6203 Improved Table 1 9 Added description for 7 max2 variable used to control neutral current Improved page layout Changed type of Remote Sensor Interface from 71M6113 to 71M6103 Updated schematics and BOM of the REV 2 0 Demo Board Corrected X factor for WRATE calculation to 0 09375 Changed section 2 4 06 16 2010 on shunt arrangement Improved description on temperature compensa tion Added Figure 1 7 and section 1 10 7 2 5 06 21 2010 Added part numbers for shunt resistors Added documentation for 6543 REV 3 0 Demo Board Updated calibration spread sheets Fixed display of calibration spread sheets in PDF file Replaced Teridian Logo with Maxim Logo Updated information on temperature compensation and on Demo Board revision 3 0 Updated to match board revisions 4 0 and 5 0 Removed information on 4 0 02 16 2011 older board revisions 3 0 Added comments on schematics Updated schematics and BOM for DB6543 REV5 0 Added explanation and table of Demo Code versions Added explanation on technique to avoid cross talk between shunt resis tors Corrected addresses for auto calibration parameter in CLI table Corrected entries in table 1 11 meter accuracy classes Changed color for all table headings from yellow t
127. ws a few combinations of shunt resistance and 71M6x0x part number The parts with part numbers corresponding to higher current capacity are designed to work with low shunt resistance Lowering the shunt re sistance below the recommended limits decreases accuracy and repeatability Good heat conduction can help to maintain the shunt temperature Attaching the shunt to solid metallic struc tures such as meter terminal blocks helps decreasing the thermal resistance This of course applies to meters where the terminals and other mechanical parts can be considered heat sinks i e they do not heat up due to other effects The thermal mass will control how long it takes the sensor to reach its maximum temperature Meters for which only short time maximum currents are applied can benefit from a large thermal mass since it will increase the time constant of the temperature rise The temperature coefficient TC of the shunt is a very important factor for the self heating effect Shunts with a TC of just a few PPM C can maintain good shunt accuracy even in the presence of significant self heating There are several methods that can be applied in the meter design to minimize the effects of self heating e Software algorithms emulating the thermal behavior of the shunt s e Direct temperature measurement ideally with the 71M6xx3 mounted directly on the shunt collocation or employing some other method of temperature sensing PTC resistor NTC res
128. yte address 4 A 0x28 The energy accumulation registers of the Demo Code can be accessed by typing two Dollar signs typing question marks will display negative decimal values if the most significant bit is set Page 13 of 91 v5 Commands for DIO RAM Configuration RAM and SFR Control R DIO AND SFR CONTROL Comment Description Allows the user to read from and write to DIO RAM and special function registers SFRs Usage R option register option Command Select I O RAM location x 0x2000 offset is automatically combinations added Rx Select internal SFR at address x Ra Read consecutive SFR registers in Decimal starting at ad dress a Read consecutive registers in Hex starting at address Ra n m Set values of consecutive registers to n and m starting at address a Example RI2 Read DIO RAM registers 2 3 and 4 in Hex The SFRs special function registers are located in internal RAM of the 80515 core starting at address 0x80 Commands for EEPROM Control EE EEPROM CONTROL Comment Description Allows user to enable read from and write to EEPROM Usage EE option arguments Command EECn EEPROM Access 1 gt Enable 0 gt Disable combinations EERa b Read EEPROM at address a for b bytes EESabc xyz Write characters to buffer sets Write length EETa Transmit buffer to EEPROM at addre

Download Pdf Manuals

image

Related Search

Related Contents

Samsung Galaxy Tab 4 10" คู่มือการใช้งาน(LL)  AP215821 Azur 340R User`s Manual - 03 SPA  高精細の新たな基準を示すハイスペックモデル。  Fujitsu PRIMERGY TX100 S3P  User Manual - Blue Futures  Guide de connexion rapide Lorex Eco3  Liebherr GNP 3113  ABUS FU9080 siren  MN101C46F/F46F LSI User`s Manual  Honda EM500 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file