background image

71M6534H Demo Board User’s Manual 

 

 

Page: 62 of 86

 

© 2005-2007 TERIDIAN Semiconductor Corporation 

V2-0 

Item # 

Reference 

Designator 

Name 

Description 

9 JP20  -- 

3-pin header for selecting the output driving the VARh 
pulse LED. 1-2: RPULSE, 2-3: YPULSE. 

A jumper is 

normally installed from pin 1 to pin 2.

 

10 

TP13 

GND 

GND test point. 

11 

D6 

VARS 

LED for VARh pulses 

12 

TP20 

-- 

2-pin header enabling access to the selected pulse output 
(DIO8, DIO6, OPT_TX) and V3P3. 

TP21 

2-pin header enabling access to the selected pulse output 
(DIO7, DIO9) and V3P3. 

13 JP19 

SEG28/ 

DIO08 

 3-pin header for selecting the output driving the Wh pulse 
LED. 1-2: WPULSE or OPT_TX, 2-3: XPULSE. 

A jumper 

is normally installed from pin 1 to pin 2.

 

14 

D5 

WATTS 

LED for Wh pulses 

15 

TP15 

GND 

GND test point. 

16 JP16 

BAT 

MODE 

3-pin header for selection of the firmware function in 
battery mode. Plugging a jumper across pins 2 and 3 will 
select 9600bd and will also disable the battery modes. 
Plugging a jumper across pins 1 and 2 will select 300bd 
and enable battery modes. 

17 

JP6 

DIO3_R 

3-pin header allowing access to the DIO03 pin.  

18 

TP16 

GND 

GND test point. 

19 JP7 ICE_EN 

3-pin header for selection of the voltage for the ICE_E pin. 

A jumper is normally installed between V3P3D and 
ICE_E

, enabling programming of the 71M6534. 

20 

JP13, JP14, 

JP15 

DIO56, DIO57, 

DIO58 

2-pin headers providing access to the DIO pins DIO56, 
DIO57, and DIO58. 

21 

U8 

-- 

LCD with eight digits and 14 segments per digit. 

22 

J2 

DEBUG 

8X2 header providing access for the Debug Board. 

23 

-- 

-- 

The 71M6534 IC in LQFP-120 package. 

24 TP8 

CKTEST, 

TMUXOUT 

2-pin header providing access to the TMUXOUT and 
CKTEST signals. 

25 J18 

SPI 

Interface 

2X5 header providing access to the SPI interface of the 
71M6534. 

26 

TP14 

GND 

GND test point. 

27 TP10  V1_R 

3-pin header used to enable or disable the hardware 
watchdog timer (WDT). 

The WDT is disabled by plugging 

as jumper between V1_R and V3P3 (default)

 and 

enabled by plugging as jumper between V1_R and GND. 

28 J14 

EMULATOR 

I/F 

2x10 high-density connector port for connecting the 
Signum ICE ADM-51 or the TFP-2 programmer. 

29 J17 

-- 

6-pin header providing access to the essential signals of 
the emulator interface. 

30 

J19 IAN, 

IAP 

2-pin headers providing access to the current input pins of 
channel A, B, C and D, used in differential mode. 

J20 IBN, 

IBP 

J21 ICN, 

ICP 

J22 IDN, 

IDP 

31 TP17  VREF 

1-pin header providing access to the VREF pin. 
 

Summary of Contents for 71M6534H

Page 1: ...oard USER S MANUAL 5 28 2008 1 33 00 PM V2 0 TERIDIAN Semiconductor Corporation 6440 Oak Canyon Rd Suite 100 Irvine CA 92618 5201 Phone 714 508 8800 Fax 714 508 8878 http www teridian com meter suppor...

Page 2: ...71M6534H Demo Board User s Manual Page 2 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0...

Page 3: ...expressly contained in the Company s warranty detailed in the TERIDIAN Semiconductor Corporation standard Terms and Conditions The company assumes no re sponsibility for any errors which may appear in...

Page 4: ...71M6534H Demo Board User s Manual Page 4 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0 71M6534H 3 Phase Energy Meter IC DEMO BOARD USER S MANUAL...

Page 5: ...emo hex file 28 1 9 4 Updating Calibration Data in Flash Memory without Using the ICE or a Programmer 28 1 9 5 Automatic Calibration Auto Cal 29 1 9 6 Loading the 6534_demo hex file into the Demo Boar...

Page 6: ...Macro File 28 Figure 1 7 Emulator Window Showing Reset and Erase Buttons see Arrows 30 Figure 1 8 Emulator Window Showing Erased Flash Memory and File Load Menu 30 Figure 2 1 Watt Meter with Gain and...

Page 7: ...80 Figure 4 16 Debug Board Bottom Trace Layer 80 Figure 4 17 TERIDIAN 71M6534H epLQFP100 Pinout top view 83 List of Tables Table 1 1 Jumper settings on Debug Board 13 Table 1 2 Straight cable connect...

Page 8: ...71M6534H Demo Board User s Manual Page 8 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0...

Page 9: ...all low level function calls to directly manage the peripherals flash programming and CPU clock timing power savings etc The 71M6534 6534H IC on the Demo Board is pre programmed with default calibrati...

Page 10: ...MENT NOT INCLUDED For functional demonstration PC w MS Windows versions XP ME or 2000 equipped with RS232 port COM port via DB9 connector For software development MPU code Signum ICE In Circuit Emulat...

Page 11: ...a 9 pin serial port For serial communication between the PC and the TERIDIAN 71M6534H the Debug Board needs to be plugged with its connector J3 into connector J2 of the Demo Board Connections to the...

Page 12: ...BN ICN V3P3SYS Wh VARh DIO6 WPULSE DIO7 RPULSE PULSE OUTPUTS DIO9 YPULSE DIO8 XPULSE V3P3SYS V3P3D VBAT PB battery optional JP8 PB On board components powered by V3P3D OPTO OPTO OPTO OPTO OPTO 5V DC V...

Page 13: ...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 Co...

Page 14: ...C Deviation from nominal temperature C 10 DATE Date from RTC yyyy mm dd 2 HZ Line frequency Hz 11 PF Power factor calculated from current Wh VAh 3 Wh Accumulated real energy Wh 12 4 Wh Exported real e...

Page 15: ...ws start menu The connection parameters are configured by selecting File Properties and then by pressing the Configure button Port speed and flow control are configured under the General tab Figure 1...

Page 16: ...ady to use meter prepared for use with external current transformers Using the Demo Board involves communicating with the Demo Code via the command line interface CLI The CLI allows modifications to t...

Page 17: ...emory of the 71M6534 6534H provides a convenient way of examining and modifying key meter parameters Once the Demo Board is connected to a PC or terminal per the instructions given in Section 1 7 2 an...

Page 18: ...elp on SFR control RT Display help on RTC control T Display help on trim control W Display help on the wait reset command Z Display help on reset Examples Display the command line interpreter help men...

Page 19: ...yping two Dollar signs typing question marks will display negative decimal values if the most significant bit is set Commands for DIO RAM Configuration RAM and SFR Control R DIO AND SFR CONTROL Commen...

Page 20: ...ing a 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...

Page 21: ...rol the pulse count functions Usage CP option Command combinations CPA Start pulse counting for time period defined with the CPD command Pulse counts will display with commands M15 2 M16 2 CPC Clear t...

Page 22: ...MPU clock to 38 4KHz Usage PS Return to normal mode is achieved by resetting the MPU Z command Commands for Controlling the RTC RT REAL TIME CLOCK CONTROL Comment Description Allows the user to read...

Page 23: ...ations T4 Read fuse 4 TRIMM T5 Read fuse 5 TRIMBGA T6 Read fuse 6 TRIMBGB Example T4 Reads the TRIMM fuse These commands are only accessible for the 71M6534H 0 1 parts When used on a 71M6534 0 5 part...

Page 24: ...y wraps around at 999 999 M8 Operating Time in hours M9 Real Time Clock M10 Calendar Date M11 phase Power factor M13 Mains edge count for the last accumulation interval M13 1 Main edge count accumulat...

Page 25: ...e board The connection is the same for single ended or differential mode See chapter 3 1 for proper jumper settings The Kh value can be derived by reading the values for IMAX and VMAX i e the RMS curr...

Page 26: ...result causing excessive voltages at the 71M6534 inputs Conversely CTs with much higher ratio will tend to decrease the useable signal voltage range at the 71M6534 inputs and may thus decrease resolut...

Page 27: ...rdless of the calibration procedure used parameters calibration factors will result that will have to be applied to the 71M6534 6534H chip in order to make the chip apply the modified gains and phase...

Page 28: ...with no arguments will display the syntax description To merge macro txt and old_6534_demo hex into new_6534_demo hex use the command d_merge old_6534_demo hex macro txt new_6534_demo hex The new hex...

Page 29: ...ustment coefficient PHADJ_X can be entered for all calibrated units 1 9 6 LOADING THE 6534_DEMO HEX FILE INTO THE DEMO BOARD Hardware Interface for Programming The 71M6534 6534H IC provides an interfa...

Page 30: ...ser s Manual Page 30 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0 Figure 1 7 Emulator Window Showing Reset and Erase Buttons see Arrows Figure 1 8 Emulator Window Showing Erased Flash Memor...

Page 31: ...ck E_RXTX Bi directional Data input output E_RST Input to the 71M6534 6534H Flash Downloader Reset active low ICE_E Input to the 71M6534 6534H Enable signal for the ICE interface Must be high for all...

Page 32: ...ch as accuracy harmonic performance etc It maintains and provides access to basic household functions such as real time clock RTC It provides access to control and display functions via the serial int...

Page 33: ...t are not zeroed Otherwise the accumulators for Wh VARh and VAh are not updated and the instantaneous value of IRMS for that element is zeroed 16 2 I0SQSUM LSB The default value is equivalent to 0 08A...

Page 34: ...r when hot This is applied to both V and I and will therefore have a double effect on products 0x0D PULSEX_SRC This address contains a number that points to the selected pulse source for the XPULSE ou...

Page 35: ..._I Imported reactive energy on element A 7 VAR2SUM 25 VAR1SUM_I Imported reactive energy on element B 8 I0SQSUM 26 VAR1SUM_I Imported reactive energy on element C 9 I1SQSUM 27 WSUM_E Sum of exported r...

Page 36: ...e 2 PB_PRESS A push button press was recorded at the most recent reset or wake from a battery mode 3 SPURIOUS An unexpected interrupt was detected 4 MINVB Element B has a voltage below VThrshld This f...

Page 37: ...Earlier than the previously saved reading or C There is no previously saved reading 20 POWER_BAD Set after reset when the read of the power register data has a bad longitudinal redundancy check or rea...

Page 38: ...Rhi Total VAR hours consumed 0x4C VARhe Total VAR hours generated inverse consumed 0x3C VAh Total VA hours 0x2E Whi_A Total Watt hours consumed through element 0 0x46 Whe_A Total Watt hours generated...

Page 39: ...Re enables the emulator clock by clearing bit 5 in I O RAM address 0x05 U Stores the current CE RAM variables in EEPROM memory The variables stored in flash memory will be applied by the MPU at the ne...

Page 40: ...71M6534H Demo Board User s Manual Page 40 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0...

Page 41: ...s 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...

Page 42: ...V A A IV A A IV E 3a 1 60 cos sin 60 sin cos 60 cos 60 S S XI XV A A E 1 sin 60 tan cos S XI XV S XI XV A A A A Combining 2a and 3a 4 tan 60 tan 1 0 0 60 S E E E 5 60 tan 1 tan 0 0 60 E E E S 6 60 tan...

Page 43: ...ain set all calibration factors to nominal i e CAL_IA 16384 CAL_VA 16384 PHADJA 0 First calculate AXV from EV 1 1 V XV E A Calculate AXI from E0 and E180 2 1 cos 1 0 cos 0 cos 0 S XI XV S XI XV A A IV...

Page 44: ...based on the calibration system applying a constant voltage and current at exactly zero degrees phase angle This approach also requires much simpler mathematical operations Before starting the calibra...

Page 45: ...ed This enables the Demo Code to initialize the 71M6534 6534H and to stabilize the PLLs and filters in the CE This method of operation is consistent with meter applications in the field as well as wit...

Page 46: ...ed in section 2 2 5 5 Apply the new calibration factors CAL_IA CAL_VA and PHADJ_A to the meter The memory locations for these factors are given in section 1 9 1 6 Test the meter at nominal current and...

Page 47: ...desired accuracy 7 Store the new calibration factors CAL_IA CAL_VA and PHADJ_A in the flash memory of the meter If a Demo Board is calibrated the methods shown in sections 1 9 3 and 1 9 4 can be used...

Page 48: ...be done to each phase separately making sure that the pulse generator is driven by the accumulated real energy for just that phase In other words the pulse generator input should be set to WhA WhB or...

Page 49: ...th the label old For a meter with default calibration factors the entries in the column underneath old should be at the default value 16384 A spreadsheet is also available for Rogowski coil calibratio...

Page 50: ...Energy Current lags voltage inductive Current leads voltage capacitive 60 Positive direction Voltage 71M6511 71M6513 71M6515 Calibration Worksheet Five Measurements PI 0 019836389 REV 4 2 Ts Date 10 2...

Page 51: ...ase A Phase B Phase C old PHADJ 3973 3973 3973 Old CAL_Ix 16384 16384 16384 Error 60 3 712 3 912 5 169 Error 60 3 381 2 915 4 241 Error 0 3 591 3 482 4 751 Error 180 3 72 3 56 4 831 Phase Error 0 0547...

Page 52: ...rmined by the following formula LSB IMAX VMAX I V error n QUANT 100 _ Where error observed error at a given voltage V and current I VMAX voltage scaling factor as described in section 1 8 3 IMAX curre...

Page 53: ...possible to set TMUX 4 0 to 0x1D to generate a 32 768kHz output The adjustment of the oscillator frequency using RTCA_ADJ 6 0 at room temperature will cause the 71M6534 IC to maintain the adjusted fre...

Page 54: ...R1 Figure 2 7 Voltage Divider for V1 On the 6534 Demo Boards this feature is implemented with resistors R83 R86 R105 and capacitor C21 See the board schematics in the Appendix for details 2 4 2 RESET...

Page 55: ...pation is very low to maximize the lifetime of any battery backup device attached to the VBAT pin crystal Figure 2 9 Oscillator Circuit It is not necessary to place an external resistor across the cry...

Page 56: ...6 OPTICAL INTERFACE The 71M6534 IC is equipped with two pins supporting the optical interface OPT_TX and OPT_RX The OPT_TX pin can be used to drive a visual or IR light LED with up to 20mA a series r...

Page 57: ...oard The Demo Board rather receives the voltage output signals from the CT An optical pickup senses the pulses emitted by the meter and reports them to the calibrator Some calibration systems have ele...

Page 58: ...CLI of the Demo Code To write a string of text characters to the EEPROM and read it back we apply the following sequence of CLI commands EEC1 Enables the EEPROM EESthis is a test Writes text to the bu...

Page 59: ...l command line interface CLI Setting the LCD_EN register to 1 enables the display outputs Register Name Address bits R W Description LCD_EN 2021 5 R W Enables the LCD display When disabled VLC2 VLC1 a...

Page 60: ...lue 0x24 to register 0x2021 clearing bit 0 LCD flicker is visible now RI21 25 Writes the original value back to LCD_CLK 2 6 TERIDIAN APPLICATION NOTES Please contact your local TERIDIAN sales represen...

Page 61: ...the line voltage inputs Each point has a resistor divider that leads to the re spective pin on the chip that is the voltage input to the A D These inputs connect to spade terminals located on the bott...

Page 62: ...6 GND GND test point 19 JP7 ICE_EN 3 pin header for selection of the voltage for the ICE_E pin A jumper is normally installed between V3P3D and ICE_E enabling programming of the 71M6534 20 JP13 JP14 J...

Page 63: ...e Description Designator 32 J3 IAN_IN IAP_IN 2 pin headers mounted on the bottom of the board for connecting current transformers CTs to their associated current inputs J5 IBN_IN IBP_IN J7 ICN_IN ICP_...

Page 64: ...rom CT 0 0 25V p p Interface Connectors DC Supply Jack J1 to Wall Transformer Concentric connector 2 5mm Emulator J14 10x2 Header 0 05 pitch Input Signals Spade Terminals and 0 1 headers on PCB bottom...

Page 65: ...ription D6534T14A2 Demo Board Electrical Schematic D6534T14A2 Demo Board Bill of Materials D6534T14A2 Demo Board PCB layers copper silk screen top and bottom side Debug Board Description Debug Board E...

Page 66: ...JP1 IN OUT OUT 1 2 3 J1 RAPC712 1 G3 1 G6 UART_RX DIO56 DIO58 DIO57 TMUXOUT CKTEST UART_TX 1206 PACKAGE GND Footing holes Mount holes V3P3 1 2 3 4 JP4 C46 30nF 1000VDC DEBUG CONNECTOR 1 J4 VA_IN VA_IN...

Page 67: ...OR IAP_IN R55 750 R56 750 OFF PAGE INPUTS GND C82 NC IAN_IN 1 2 J3 IA_IN C71 NC R73 100 2W C72 NC VB_IN IBP_IN NEUTRAL C73 NC R140 0 C74 NC C75 NC NEUTRAL C76 NC VOLTAGE CONNECTIONS GND C47 NC 1 C77 N...

Page 68: ...G63 DIO43 SEG00 GND C26 NC SEG26 DIO06 R99 62 SEG34 DIO14 DIO58 TCLK IBN R1 1K SEG43 DIO23 XOUT R107 10K 1 2 3 JP20 UART_TX PULSE OUTPUT TMUXOUT CKTEST OFF PAGE OUTPUTS VBAT SEG27 DIO07 SEG37 DIO17 C3...

Page 69: ...VARISTOR radial 594 2381 594 55116 238159455116 Vishay 32 1 R2 8 06K 1 RC0805 311 8 06KCRCT ND RC0805FR 078060KL Yageo 33 1 R4 25 5K 1 RC0805 311 25 5KCRCT ND RC08052FR 072552L Yageo 34 4 R6 R65 R73 R...

Page 70: ...71M6534H Demo Board User s Manual Page 70 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0 Figure 4 4 TERIDIAN D6534T14A2 Demo Board Top View...

Page 71: ...71M6534H Demo Board User s Manual Page 71 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0 Figure 4 5 TERIDIAN D6534T14A2 Demo Board Top Copper Layer...

Page 72: ...71M6534H Demo Board User s Manual Page 72 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0 Figure 4 6 TERIDIAN D6534T14A2 Demo Board Bottom Copper Layer...

Page 73: ...71M6534H Demo Board User s Manual Page 73 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0 Figure 4 7 TERIDIAN D6534T14A2 Demo Board Ground Layer...

Page 74: ...71M6534H Demo Board User s Manual Page 74 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0 Figure 4 8 TERIDIAN D6534T14A2 Demo Board V3P3 Layer...

Page 75: ...71M6534H Demo Board User s Manual Page 75 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0 Figure 4 9 TERIDIAN D6534T14A2 Demo Board Bottom View...

Page 76: ...ND 9 4 R1 R5 R7 R8 10K 0805 ERJ 6GEYJ103V Panasonic Digi Key P10KACT ND 10 2 R2 R3 1K 0805 ERJ 6GEYJ102V Panasonic Digi Key P1 0KACT ND 11 1 R4 NC 0805 N A N A N A N A 12 1 R6 0 0805 ERJ 6GEY0R00V Pan...

Page 77: ...ADUM1100 V3P3 C9 0 1uF V3P3 C12 0 1uF GND GND_DBG V5_DBG D3 LED DIO00_DBG GND_DBG V5_DBG C22 0 1uF 1 2 JP4 HDR2X1 GND_DBG VDD1 1 DIN 2 VDD1 3 GND1 4 GND2 5 DOUT 6 GND2 7 VDD2 8 U1 ADUM1100 V5_DBG GND_...

Page 78: ...71M6534H Demo Board User s Manual Page 78 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0 Figure 4 11 Debug Board Top View Figure 4 12 Debug Board Bottom View...

Page 79: ...71M6534H Demo Board User s Manual Page 79 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0 Figure 4 13 Debug Board Top Signal Layer Figure 4 14 Debug Board Middle Layer 1 Ground Plane...

Page 80: ...71M6534H Demo Board User s Manual Page 80 of 86 2005 2007 TERIDIAN Semiconductor Corporation V2 0 Figure 4 15 Debug Board Middle Layer 2 Supply Plane Figure 4 16 Debug Board Bottom Trace Layer...

Page 81: ...converter Typically they are connected to the outputs of current sensors In single ended mode the IXN pin should be tied to V3P3A VA VB VC I Line Voltage Sense Inputs These pins are voltage inputs to...

Page 82: ...onfigurable as either emulator port pins when ICE_E pulled high or LCD SEG drivers when ICE_E tied to GND E_RST SEG11 I O E_TCLK SEG10 O ICE_E I ICE enable When zero E_RST E_TCLK and E_RXTX become SEG...

Page 83: ...117 118 119 120 SEG38 DIO18 MTX SEG16 SEG27 DIO7 RPULSE SEG39 DIO19 SEG26 DIO6 WPULSE SEG25 DIO5 SDATA SEG29 DIO9 YPULSE RX SEG31 DIO11 GNDD RESET V2P5 VBAT SEG24 DIO4 SDCK SEG23 SEG22 SEG28 DIO8 XPUL...

Page 84: ...9 0 9 2 9 20 T f T f T f PHADJ S S introduced in Calibration Theory section by substituting the constant parts of it with the variables a b and c Now we can calculate a b and c for 50Hz and for 60Hz...

Page 85: ...is the real part of multiplying the rotation matrix by the linear adjustment vector gain measured applied applied gain V VARh V Wh i sin cos gain measured VARh Wh The term after the sign is negligible...

Page 86: ...nal purposes only TERIDIAN assumes no obligation regarding future manufacture unless agreed to in writin Demo Kits and t time of order acknowledgment including those pertaining to warranty patent infr...

Page 87: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Maxim Integrated 71M6534H DB...

Reviews: