71M6543 Demo Board
USER’S MANUAL
Page: 1 of 91
v5
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
Page: 2 of 91
is a registered trademark of Maxim Integrated Products, Inc.
v5
71M6543 Demo Board User’s Manual
Table of Contents
1
GETTING STARTED................................................................................................................................................ 7
1.1
General .................................................................................................................................................................... 7
1.2
Safety and ESD Notes ............................................................................................................................................ 7
1.3
Demo Kit Contents ................................................................................................................................................. 8
1.4
Demo Board Versions ............................................................................................................................................ 8
1.5
Compatibility........................................................................................................................................................... 8
1.6
Suggested Equipment not Included ..................................................................................................................... 8
1.7
Demo Board Test Setup ......................................................................................................................................... 9
1.7.1
Power Supply Setup ........................................................................................................................................ 10
1.7.2
Cables for Serial Communication .................................................................................................................... 10
1.7.3
Checking Operation......................................................................................................................................... 11
1.7.4
Serial Connection Setup.................................................................................................................................. 11
1.8
Using the Demo Board ......................................................................................................................................... 12
1.8.1
Serial Command Language ............................................................................................................................. 13
1.8.2
Using the Demo Board for Energy Measurements .......................................................................................... 19
1.8.3
Adjusting the Kh Factor for the Demo Board ................................................................................................... 19
1.8.4
Adjusting the Demo Boards to Different SHUNT Resistors ............................................................................. 19
1.8.5
Using the Pre-Amplifier ................................................................................................................................... 19
1.8.6
Using Current Transformers (CTs) .................................................................................................................. 19
1.8.7
Adjusting the Demo Boards to Different Voltage Dividers ............................................................................... 19
1.9
Calibration Parameters ........................................................................................................................................ 20
1.9.1
General Calibration Procedure ........................................................................................................................ 20
1.9.2
Calibration Macro File ..................................................................................................................................... 21
1.9.3
Updating the Demo Code (hex file) ................................................................................................................. 21
1.9.4
Updating Calibration Data in Flash or EEPROM ............................................................................................. 21
1.9.5
Loading the Code for the 71M6543F into the Demo Board ............................................................................. 22
1.9.6
The Programming Interface of the 71M6543F ................................................................................................. 23
1.10
Demo Code ........................................................................................................................................................ 24
1.10.1
Demo Code Description ............................................................................................................................... 24
1.10.2
Demo Code Versions................................................................................................................................... 24
1.10.3
Important MPU Addresses ........................................................................................................................... 24
1.10.4
LSB Values in CE Registers ........................................................................................................................ 31
1.10.5
Calculating IMAX and Kh ............................................................................................................................. 31
1.10.6
Determining the Type of 71M6x0x ............................................................................................................... 32
1.10.7
Communicating with the 71M6X0x .............................................................................................................. 33
1.10.8
Bootloader Feature ...................................................................................................................................... 33
2
APPLICATION INFORMATION ............................................................................................................................. 35
2.1
Calibration Theory ................................................................................................................................................ 35
2.1.1
Calibration with Three Measurements ............................................................................................................. 35
2.1.2
Calibration with Five Measurements ............................................................................................................... 37
2.2
Calibration Procedures ........................................................................................................................................ 38
2.2.1
Calibration Equipment ..................................................................................................................................... 38
2.2.2
Detailed Calibration Procedures ...................................................................................................................... 38
2.2.3
Calibration Procedure with Three Measurements ........................................................................................... 39
2.2.4
Calibration Procedure with Five Measurements .............................................................................................. 40
2.2.5
Calibration Spreadsheets ................................................................................................................................ 40
2.2.6
Compensating for Non-Linearities ................................................................................................................... 42
2.3
Temperature Compensation ................................................................................................................................ 43
2.3.1
Error Sources .................................................................................................................................................. 43
2.3.2
Software Features for Temperature Compensation ........................................................................................ 44
2.3.3
Calculating Parameters for Compensation ...................................................................................................... 45
2.4
Testing the Demo Board ...................................................................................................................................... 48
Page: 3 of 91
v5
71M6543 Demo Board User’s Manual
Functional Meter Test...................................................................................................................................... 48
2.4.1
2.4.2
EMC Test ........................................................................................................................................................ 50
2.5
Sensors and Sensor Placement .......................................................................................................................... 50
2.5.1
Self-Heating .................................................................................................................................................... 51
2.5.2
Placement of Sensors (ANSI) ......................................................................................................................... 51
2.5.3
Placement of Sensors (IEC) ............................................................................................................................ 51
2.5.4
Other Techniques for Avoiding Magnetic Crosstalk......................................................................................... 52
3
HARDWARE DESCRIPTION................................................................................................................................. 55
3.1
71M6543 REV 4.0 Demo Board Description: Jumpers, Switches and Test Points ......................................... 55
3.2
71M6543 REV 5.0 Demo Board Description ....................................................................................................... 59
3.3
Board Hardware Specifications .......................................................................................................................... 60
4
APPENDIX ............................................................................................................................................................. 61
4.1
71M6543 Demo Board Rev 4.0 Electrical Schematic ......................................................................................... 62
4.2
71M6543 Demo Board Rev 5.0 Electrical Schematic ......................................................................................... 66
4.3
Comments on Schematics................................................................................................................................... 70
4.3.1
General ........................................................................................................................................................... 70
4.3.2
Using Ferrites in the Shunt Sensor Inputs ....................................................................................................... 70
4.4
71M6543 Demo Board REV 4.0 Bill of Material .................................................................................................. 71
4.5
71M6543 Demo Board REV 5.0 Bill of Material .................................................................................................. 73
4.6
71M6543 REV 4.0 Demo Board PCB Layout....................................................................................................... 75
4.7
71M6543 REV 5.0 Demo Board PCB Layout....................................................................................................... 79
4.8
Debug Board Bill of Material ............................................................................................................................... 83
4.9
Debug Board Schematics .................................................................................................................................... 84
4.10
Optional Debug Board PCB Layout................................................................................................................. 85
4.11
71M6543 Pin-Out Information .......................................................................................................................... 88
4.12
Revision History ............................................................................................................................................... 91
List of Figures
Figure 1-1: Teridian 71M6543 REV4.0 Demo Board with Debug Board: Basic Connections .............................................. 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 Calibration Macro File ......................................................................................................................... 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 Menu......................................................... 23
Figure 1-7: Worksheet from Calibration Spreadsheets REV 6.0 ....................................................................................... 32
Figure 2-1: Watt Meter with Gain and Phase Errors.......................................................................................................... 35
Figure 2-2: Phase Angle Definitions .................................................................................................................................. 39
Figure 2-3: Calibration Spreadsheet for Three Measurements ......................................................................................... 41
Figure 2-4: Calibration Spreadsheet for Five Measurements ............................................................................................ 42
Figure 2-5: Non-Linearity Caused by Quantification Noise ............................................................................................... 42
Figure 2-6: Wh Registration Error with VREF Compensation ........................................................................................... 47
Figure 2-7: Wh Registration Error with Combined Compensation ..................................................................................... 48
Figure 2-8: Meter with Calibration System ........................................................................................................................ 49
Figure 2-9: Calibration System Screen ............................................................................................................................. 49
Figure 2-10: Wh Load Lines at Room Temperature with 150 µΩ Shunts .......................................................................... 50
Figure 2-11: VARh Load Lines at Room Temperature with 150 µΩ Shunts ...................................................................... 50
Figure 2-12: Typical Sensor Arrangement (left), Alternative Arrangement (right) ............................................................. 52
Figure 2-13: Swiveled Sensor Arrangement ..................................................................................................................... 52
Figure 2-17: Loop Formed by Shunt and Sensor Wire ...................................................................................................... 53
Figure 2-18: Shunt with Compensation Loop .................................................................................................................... 53
Figure 2-19: Shunt with Center Drill Holes ........................................................................................................................ 53
Figure 3-1: 71M6543 REV 4.0 Demo Board - Board Description ...................................................................................... 58
Page: 4 of 91
v5
71M6543 Demo Board User’s Manual
Figure 3-2: 71M6543 REV 5.0 Demo Board – Top View................................................................................................... 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/4 ............................................................... 69
Figure 4-9: Input Circuit with Ferrites ................................................................................................................................ 70
Figure 4-10: Teridian 71M6543 REV 4.0 Demo Board: Top View ..................................................................................... 75
Figure 4-11: Teridian 71M6543 REV 4.0 Demo Board: Top Copper ................................................................................. 76
Figure 4-12: Teridian 71M6543 REV 4.0 Demo Board: Bottom View................................................................................ 77
Figure 4-13: Teridian 71M6543 REV 4.0 Demo Board: Bottom Copper............................................................................ 78
Figure 4-14: Teridian 71M6543 REV 5.0 Demo Board: Top View ..................................................................................... 79
Figure 4-15: Teridian 71M6543 REV 5.0 Demo Board: Top Copper ................................................................................. 80
Figure 4-16: Teridian 71M6543 REV 5.0 Demo Board: Bottom View................................................................................ 81
Figure 4-17: Teridian 71M6543 REV 5.0 Demo Board: Bottom Copper............................................................................ 82
Figure 4-18: Debug Board: Electrical Schematic............................................................................................................... 84
Figure 4-19: Debug Board: Top View ................................................................................................................................ 85
Figure 4-20: Debug Board: Bottom View........................................................................................................................... 85
Figure 4-21: Debug Board: Top Signal Layer .................................................................................................................... 86
Figure 4-22: Debug Board: Middle Layer 1 (Ground Plane) .............................................................................................. 86
Figure 4-23: Debug Board: Middle Layer 2 (Supply Plane) ............................................................................................... 87
Figure 4-24: Debug Board: Bottom Trace Layer ............................................................................................................... 87
Figure 4-25: 71M6543, LQFP100: Pin-out (top view) ........................................................................................................ 90
List of Tables
Table 1-1: Jumper Settings on Debug Board .................................................................................................................... 10
Table 1-2: Straight Cable Connections ............................................................................................................................. 10
Table 1-3: Null-modem Cable Connections ...................................................................................................................... 10
Table 1-4: CE RAM Locations for Calibration Constants .................................................................................................. 21
Table 1-5: Flash Programming Interface Signals .............................................................................................................. 23
Table 1-6: Demo Code Versions ....................................................................................................................................... 24
Table 1-7: MPU XRAM Locations ..................................................................................................................................... 25
Table 1-8: Bits in the MPU Status Word............................................................................................................................ 30
Table 1-9: CE Registers and Associated LSB Values ....................................................................................................... 31
Table 1-10: IMAX for Various Shunt Resistance Values and Remote Sensor Types........................................................ 31
Table 1-11: Identification of 71M6x0x Remote Sensor Types ........................................................................................... 33
Table 2-1: Temperature-Related Error Sources ................................................................................................................ 44
Table 2-2: MPU Registers for Temperature-Compensation .............................................................................................. 45
Table 2-3: Temperature-Related Error Sources ................................................................................................................ 46
Table 3-1: 71M6543 REV 4.0 Demo Board Description .................................................................................................... 55
Table 4-1: 71M6543 REV 4.0 Demo Board: Bill of Material (1/2) ...................................................................................... 71
Table 4-2: 71M6543 REV 4.0 Demo Board: Bill of Material (2/2) ...................................................................................... 72
Table 4-3: 71M6543 REV 5.0 Demo Board: Bill of Material (1/3) ...................................................................................... 73
Table 4-4: 71M6543 REV 5.0 Demo Board: Bill of Material (2/3) ...................................................................................... 74
Table 4-5: Debug Board: Bill of Material ........................................................................................................................... 83
Table 4-6: 71M6543 Pin Description Table 1/3 ................................................................................................................. 88
Table 4-7: 71M6543 Pin Description Table 2/3 ................................................................................................................. 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
71M6543 Demo Board User’s Manual
1
1
GETTING STARTED
1.1
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 measurement 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 otherwise 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
71M6543F IC. This embedded application is developed to exercise all low-level function calls to directly manage the peripherals, flash programming, and CPU (clock, timing, power savings, etc.).
The 71M6543F IC 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 modifications 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.
1.2
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
71M6543 Demo Board User’s Manual
1.3
DEMO KIT CONTENTS
•
•
•
•
•
•
1.4
71M6543 Demo Board REV 4.0 with three 71M6203 or 71M6103 ICs and one 71M6543F IC with preloaded demo program, or 71M6543 Demo Board REV 5.0 with inputs configured for CTs.
5VDC/1,000mA universal wall transformer with 2.5mm plug (Switchcraft 712A compatible)
USB Interface Module (USB/Serial Adapter)
USB cable
ANSI base with three 50 μΩ shunt resistors, Oswell P/N EBSB20050H-92-19-73-6.4-V1 (optional, for
ANSI kits only)
Three 120 μΩ shunt resistors, Oswell P/N EBSA15120-32-14.8-21-6.2-V1 (optional, for IEC kits)
DEMO BOARD VERSIONS
The following versions of the Demo Board are or have been available:
•
•
•
•
•
71M6543 Demo Board Rev 1.0 (CTs only) - discontinued
71M6543 Demo Board Rev 2.0 (CTs or 71M6103 Remote Sensor Interface ICs on daughter boards) discontinued
71M6543 Demo Board Rev 3.0 (71M6103 Remote Sensor Interface ICs) - discontinued
71M6543 Demo Board Rev 4.0 (71M6103 Remote Sensor Interface ICs)
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:
•
•
•
1.6
71M6543F IC revision B02.
Demo Code revision 5.4F or later
71M6543 Demo Board Rev 4.0 or Rev. 5.0
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 WEMU51 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” Compiler 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
71M6543 Demo Board User’s Manual
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 external equipment. The PC should be connected via the USB Interface (CN1). Communication can also be established 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
External Shunt
Resistors
6543
Single Chip Meter
71M6103 or 71M6203
Remote Sensor
Interfaces and
isolation transformers
PULSE OUTPUTS
SEGDIO0/WPULSE
IBP
IA
SEGDIO1/VPULSE
IBN SEGDIO6/XPULSE
ICP SEGDIO7/YPULSE
IB
ICN
IDP
IC
IDN
IAP
INEUTRAL
IAN
V3P3A
V3P3SYS
VC
VB
VA
SDCK
SDATA
Wh
V3P3SYS
VARh
V3P3SYS
PULSE A
PULSE B
J1
3.3V or 5V
LCD
EEPROM
SPI Connector J19
ICE Connector J14
VA
VB
VC
3.3V DC
Input
JP6
SMPS
J20
NEUTRAL
J21
MPU HEARTBEAT (5Hz)
1
SEGDIO52
GND
Battery 2
(optional)
SW4
3
OPTO
PB
J12
Battery 1
(optional)
JP56
RESET
PB
RESET
OPTO
TMUX2OUT
V3P3D
6
DB9
to PC
COM Port
OPTO
RTM INTERFACE
GND 5, 7,
9, 11
8
GND_DBG
V5_DBG
RS-232
INTERFACE
12
RX
TMUXOUT
VBAT
JP53
10
TX
SEGDIO53
VBAT_RTC
CE HEARTBEAT (1Hz)
V5_DBG
OPTO
V3P3
J13
V5_DBG
OPTO
2
SEGDIO10
GND
DEBUG BOARD (OPTIONAL)
J5
OPTO
6
FPGA
68 Pin
Connector
OPTO
4
V5_DBG
On-board components
powered by V3P3D
15, 16
13, 14
GND_DBG
JP5
CN1
Isolated RS232 transceiver
V5_NI
5V DC
JP21
2/4/2011
USB
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 voltages only after the user is familiar with the demo system.
All input signals are referenced to the V3P3A (3.3V power supply to the chip).
Page: 9 of 91
v5
71M6543 Demo Board User’s Manual
1.7.1 POWER SUPPLY SETUP
There are several choices for the meter power supply:
o
o
Internal (using the AC line voltage). The internal power supply is only suitable when the voltage exceeds 100V RMS. To enable the internal supply, a jumper needs to be installed across JP6 on the top
of the board.
External 5.0 VDC connector (JP20) on the Demo Board.
1.7.2 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 separate power supply.
1.7.2.1 USB Connection
A standard USB cable can be used to connect the Demo Board to a PC running HyperTerminal or a similar serial interface program. A suitable driver, e.g. the FTDI CDM Driver Package, must be installed on the PC to enable 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 DB9 serial port of the Debug Board to a PC serial port (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.
Jumpers on Debug Board
Cable Configuration
Mode
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. Table 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 connection or the serial connection via the Debug Board is used.
Page: 10 of 91
v5
71M6543 Demo Board User’s Manual
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
5.
E
4
L
F
L
O
The “HELLO” message should be followed by the display of accumulated energy:
0
3
0.
0
0
Wh SYS
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
Command number
(Phase)
Unit
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
Properties and then clicking on the “Connect Using“ dialog box. If the USB-to-serial driver is installed (see section 1.7.2.1) a port with a number not corresponding to an actual serial port, e.g. COM27, will appear in the dialog box. This port should be selected for the USB connection.
HyperTerminal can be found by selecting Programs Accessories Communications from the Windows 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-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 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
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
Figure 1-2: HyperTerminal Sample Window with Disconnect Button (Arrow)
Figure 1-3: Port Setup (left) and Port Speed and Handshake Setup (right)
Once, the connection to the demo board is established, press and the command prompt, >, should appear. Type >? to see the Demo Code help menu. Type >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.maximic.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 displayed parameters, changing calibration factors and many more operations.
Before evaluating the 71M6543F on the Demo Board, users should get familiar with the commands and responses of the CLI. A complete description of the CLI is provided in section 1.8.1.
Page: 12 of 91
v5
71M6543 Demo Board User’s Manual
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
Description:
Allows user to read from and write to CE data space.
Usage:
] [Starting CE Data Address] [option]…[option]
Command
combinations:
]A???
Read consecutive 16-bit words in Decimal, starting at address A
]A$$$
Read consecutive 16-bit words in Hex, starting at address A
]A=n=n
Write consecutive memory values, starting at address A
]U
Update default version of CE Data in flash memory
]40$$$
Reads CE data words 0x40, 0x41 and 0x42.
]7E=12345678=9876ABCD
Writes two words starting @ 0x7E
Example:
Comment
All CE data words are in 4-byte (32-bit) format. Typing ]A? will access the 32-bit word located at the byte address 0x0000 + 4 * A = 0x1028.
Commands for MPU/XDATA Access:
)
MPU DATA ACCESS
Description:
Allows user to read from and write to MPU data space.
Usage:
) [Starting MPU Data Address] [option]…[option]
Command
combinations:
)A???
Read three consecutive 32-bit words in Decimal, starting at
address A
)A$$$
Read three consecutive 32-bit words in Hex, starting at address A
)A=n=m
Write the values n and m to two consecutive addresses starting at address A
?)
Display useful RAM addresses.
)08$$$$
Reads data words 0x08, 0x0C, 0x10, 0x14
)04=12345678=9876ABCD
Writes two words starting @ 0x04
Example:
Comment
MPU or XDATA space is the address range for the MPU XRAM (0x0000 to 0xFFF). All MPU data words are in 4-byte (32-bit)
format. Typing ]A? will access the 32-bit word located at the byte 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
71M6543 Demo Board User’s Manual
Commands for DIO RAM (Configuration RAM) and SFR Control:
R
DIO AND SFR CONTROL
Description:
Allows the user to read from and write to DIO RAM and special function registers (SFRs).
Usage:
R [option] [register] … [option]
Command
combinations:
RIx…
Select I/O RAM location x (0x2000 offset is automatically
added)
Rx…
Select internal SFR at address x
Ra???...
Read consecutive SFR registers in Decimal, starting at address a
Ra$$$...
Read consecutive registers in Hex, starting at address a
Ra=n=m…
Set values of consecutive registers to n and m starting at
address a
RI2$$$
Read DIO RAM registers 2, 3, and 4 in Hex.
Example:
Comment
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
Description:
Allows user to enable read from and write to EEPROM.
Usage:
EE [option] [arguments]
Command
combinations:
EECn
EEPROM Access (1 Enable, 0 Disable)
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 address 'a'.
EEWa.b...z
Write values to buffer
CLS
Saves calibration to EEPROM
EEShello
EET$0210
Writes 'hello' to buffer, then transmits buffer to EEPROM starting at address 0x210.
Example:
Comment
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
Description:
Allows user to enable read from and write to Flash memory.
Usage:
F [option] [arguments]
Command
combinations:
FRa.b
Read Flash at address 'a' for 'b' bytes.
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
FShello
FT$FE10
Writes 'hello' to buffer, then transmits buffer to EEPROM starting at address 0xFE10.
Example:
Page: 14 of 91
Comment
v5
71M6543 Demo Board User’s Manual
Auxiliary Commands:
Typing 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).
The slash (“/”) is useful to separate comments from commands when sending macro text files via the serial interface. All characters in a line after the slash are ignored.
Commands controlling the CE, TMUX and the RTM:
C
COMPUTE ENGINE,
MEMORY, AND CALIBRATION CONTROL
Description:
Allows the user to enable and configure the compute engine, store and recall configurations, and
initiate calibration.
Usage:
C [option] [argument]
Command
combinations:
CEn
Compute Engine Enable (1 Enable,
0 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 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 0x0C,
current (MPU 0x0D), and duration (MPU 0x0E) in seconds.
CLC
Apply machine-readable calibration control (Intel HexRecords).
CPA
Start the accumulating periodic pulse counters.
CPC
Clear the pulse counters
CPDn
Activate pulse counters for n seconds
CE0
Disables CE, (“SYS will stop blinking on the LCD).
CT1.12
Selects the VBIAS signal for the TMUXOUT pin
Example:
Comment
Commands for Identification and Information:
I
INFORMATION MESSAGES
Comment
Description:
Allows the user to read information messages.
Usage:
I
Sends complete demo code version information on serial interface.
M0
Displays meter ID on LCD.
The I command is mainly used to identify the revisions of Demo Code and the contained CE code.
Page: 15 of 91
v5
71M6543 Demo Board User’s Manual
Commands for Battery Mode Control and Battery Test:
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> prompt).
BS
Enters sleep mode when in brownout mode (B> prompt).
BT
Starts a battery test – when in mission mode (> 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.
Commands for Controlling the RTC:
RT
REAL TIME CLOCK CONTROL
Description:
Allows the user to read and set the real time clock.
Usage:
RT [option] [value] … [value]
Command
combinations:
RTDy.m.d.w: Day of week
(Year, month, day, weekday [1 = Sunday]). If the weekday is
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 > 0, the speed of the clock will be adjusted by ‘t’ 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.
>
Access look-up table for RTC compensation.
RTD05.03.17.5
Programs the RTC to Thursday, 3/17/2005
RTA1.+1234
Speeds up the RTC by 1234 PPB.
>0????
Read the first four bytes in the look-up table.
Example:
Comment
The “Military Time Format” is used for the RTC, i.e. 15:00 is 3:00 PM.
Commands for Accessing the Trim Control Registers:
T
TRIM CONTROL
Description:
Allows user to read trim and fuse values.
Usage:
T [option]
Command
combinations:
T4
Read fuse 4 (TRIMM).
T5
Read fuse 5 (TRIMBGA)
T6
Read fuse 6 (TRIMBGB).
T4
Reads the TRIMM fuse.
Example:
Comment
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.
Page: 16 of 91
v5
71M6543 Demo Board User’s Manual
Reset Commands:
W
RESET
Description:
Watchdog control
Usage:
W
Comment
Halts the Demo Code program, thus suppressing the triggering 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
Description:
Commands for control of the Remote Sensor Interface IC.
Usage:
6En
Remote sensor Enable (1 Enable, 0 Disable)
6Ra.b
Read Remote Sensor IC number a with command b.
Page: 17 of 91
Comment
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.
v5
71M6543 Demo Board User’s Manual
Commands for Controlling the Metering Values Shown on the LCD Display:
Step
Text or Numerical Display
CLI
command
0
10000
00
M0
Meter ID
1
24.5 °C
01
M1
Temperature difference from calibration temperature. Displayed in
0.1°C
2
59.9
02
M2
Frequency at the VA_IN input [Hz]
3
3.27 Wh
03
M3
Accumulated imported real energy [Wh]. The default display setting
after power-up or reset.
M4
Accumulated exported real energy [Wh].
M5
Accumulated reactive energy [VARh].
M6
Accumulated exported reactive energy [VARh].
M7
Accumulated apparent energy [VAh].
M8
Elapsed time since last reset or power up.
M9
Time of day (hh.mm.ss)
M10
Date (yy.mm.dd)
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
1.04 Wh
04
2.21 VARh
05
0.95 VARh
06
4.11 VAh
07
0.7 h
08
01:43:59
09
01.01.01
10
0.62
11
1
0
120
13
48
14
29.98 A
29.91 A
30.02 A
240.27 V
239.43 V
240.04 V
3.34 V
17
241.34 W
240.92 W
241.01 W
50400 W
19
88.88.88
88.88.88
88.88.88
Displayed Parameter(s)
M11.P
Power factor (P = phase)
M12
Not used in the 71M6543
M13
Zero crossings of the mains voltage
M14
Duration of sag or neutral current [s]
M15
RMS current (P = phase). “M15.4” displays the neutral current.
M16
RMS voltage
M17
Battery voltage
M18
Momentary power in W (P = phase)
M19
Demand
M20
LCD Test
Displays for total consumption wrap around at 999.999Wh (or VARh, VAh) due to the limited number of available display digits. Internal registers (counters) of the Demo Code are 64 bits wide and do not wrap around.
Page: 18 of 91
v5
71M6543 Demo Board User’s Manual
1.8.2 USING THE DEMO BOARD FOR ENERGY MEASUREMENTS
The 71M6543 Demo Board was designed for use with shunt resistors connected via the Remote Sensor Interfaces and it is shipped in this configuration.
The Demo Board may immediately be used with 50 µΩ shunt resistors (ANSI version) or 120 µΩ 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 D5 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 (command >M3 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 >M5 via the serial interface).
1.8.3 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 IMAX and VMAX (i.e. the RMS current and voltage values that correspond to the 250mV maximum input signal to the IC), and inserting them in the following equation
for Kh:
Kh = 54.5793*VMAX*IMAX / (SUM_SAMPS*WRATE*X),
See the explanation in section 1.10.5 for an exact definition of the constants and variables involved in the equation above.
1.8.4 ADJUSTING THE DEMO BOARDS TO DIFFERENT SHUNT RESISTORS
The Demo Board REV 4.0 is prepared for use with 120 µΩ or 50 µOhm (ANSI option) shunt resistors in all current channels. A certain current flowing through the 120 µΩ shunt resistors will result in the maximum voltage
drop at the ADC of the 71M6103 Remote Sensor ICs. This current is defined as IMAX 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.
1.8.5 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 I/O 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).
1.8.6 USING CURRENT TRANSFORMERS (CTS)
All 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.7 Ω 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
A.
For the CT configuration, a shunt resistor of 50 µΩ should be installed to measure the neutral current. Different
values can be accommodated by changing the value of i_max2 at MPU location 0x1C (see section 1.10.3).
Note: The CT configuration requires a different version of the Demo Code than is used for the shunt
configuration.
1.8.7 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) are 2.5477MΩ (R66, R64,
R47, R39 combined) and 750Ω (R32, R52, R72), resulting in a ratio of 1:3,393.933. This means that VMAX
equals 176.78mV*3,393.933 = 600V. A large value for VMAX has been selected in order to have headroom for
Page: 19 of 91
v5
71M6543 Demo Board User’s Manual
over-voltages. This choice need not be 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 or 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 transformer 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 Vs is:
Vs = VMAX / N
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 / 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 kΩ and one 100 Ω resistor.
If potential transformers (PTs) are used instead of resistor dividers, phase shifts will be introduced that will require negative phase angle compensation. Teridian Demo Code accepts negative calibration factors for phase.
1.9
CALIBRATION PARAMETERS
1.9.1 GENERAL CALIBRATION PROCEDURE
Any calibration method can be used with the 71M6543F ICs. This Demo Board User’s Manual presents calibration 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 pulses involved. For this purpose, the MPU Demo Code should be modified to display averaged voltage and current values (as opposed to momentary values). Also, automated calibration equipment can communicate with the Demo Boards via the serial interface and extract voltage and current readings. This is possible 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 applied to the 71M6543F IC in order to make the chip apply the modified gains and phase shifts necessary for accurate 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 addresses. For example, the command
>]10=+16302
stores the decimal value 16302 in the CE RAM location controlling the gain of the current channel (CAL_IA).
The command
>]11=4005
stores the hexadecimal value 0x4005 (decimal 16389) in the CE RAM location controlling the gain of the voltage channel (CAL_VA).
Page: 20 of 91
v5
71M6543 Demo Board User’s Manual
Table 1-4: CE RAM Locations for Calibration Constants
Coefficient
CE Address
(hex)
CAL_VA
CAL_VB
CAL_VC
0x11
0x14
0x17
Adjusts the gain of the voltage 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%.
CAL_IA
CAL_IB
CAL_IC
0x10
0x13
0x16
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
LCOMP2_B
LCOMP2_C
0x12
0x15
0x18
This constant controls the phase compensation. No compensation occurs
when LCOMP2_n=16384. As LCOMP2_n is increased, more compensation is introduced.
CE codes for CT configuration do not use delay adjustment. These codes
use phase adjustment (PHADJ_n).
Description
1.9.2 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.
CE0
]10=+16022
]11=+16381
]12=+17229
CE1
/disable CE
/CAL_IA (gain=CAL_IA/16384)
/CAL_VA (gain=CAL_VA/16384)
/LCOMP2_A (default 16384)
/enable CE
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 transfer send text file procedure of HyperTerminal.
Use the Transfer Send Text File command!
1.9.3 UPDATING THE DEMO CODE (HEX 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:
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 ADM51 in-circuit
emulator or the TFP-2 flash programmer.
1.9.4 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:
>]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
deactivates any calibration data 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 internal 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 highvolume 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 in I/O RAM)
3)
4)
5)
Reset the demo board (RESET button or power cycle)
Activate the ERASE button in the WEMU51 user interface
Now, new code can be loaded into the flash memory
Once the flash memory is erased, the new file can 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 IC is reset using
the reset button on the Demo Board, the new code starts executing.
Figure 1-5: Emulator Window Showing Reset and Erase Buttons (see Arrows)
Page: 22 of 91
v5
71M6543 Demo Board User’s Manual
Figure 1-6: 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.
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 these interface
signals. The Flash Downloader must release E_RST at all other times.
Page: 23 of 91
v5
71M6543 Demo Board User’s Manual
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 >i via the serial interface (see section 1.8.1). Check with your local Maxim representative/FAE or for the latest revision, or obtain the latest revision from the Maxim web site.
The Demo Code offers the following features:
•
It provides basic metering functions such as pulse generation, display of accumulated energy, frequency, date/time, and enables the user to evaluate the parameters of the metering IC such as accuracy, harmonic performance, etc.
•
It maintains and provides access to basic household functions such as the real-time clock (RTC).
•
It 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 compensation etc.
•
It provides libraries for access of low-level IC functions to serve as building blocks for code development.
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:
•
Design guide
•
Design reference for routines
•
Tool Installation Guide
•
List of library functions
•
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
3 x 71M6113 with shunts
71M6543 DB REV4-0
3 x 71M6203 with shunts
71M6543 DB REV4-0
3 x 71M6603 with shunts
71M6543 DB REV4-0
CT
71M6543 DB REV5-0
6543equ5_6113_5p3d_14feb11.hex
6543equ5_6203_5p3d_14feb11.hex
6543equ5_6603_5p3d_14feb11.hex
6543equ5_ct_5p3d_14feb11.hex
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 )n=xx command where n is the word address. Note that accumulation variables are 64 bits long
and are accessed with )n$$ (read) and )n=hh=ll (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, 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
71M6543 Demo Board User’s Manual
Table 1-7: MPU XRAM Locations
Name
Purpose
LSB
Default
)?
Signed?
Bits
i_min
Metering element
enters creep mode
if current is below
this value.
If 0, creep logic is
disabled. In creep
mode, on each metering element, Wh,
VARh, i0sqsum,
and other items are
zeroed.
Same units as CE’s i0sqsum.
0.08A
)0
signed
32
)1
N/A
8
cfg
Configure meter
operation on the fly.
bit0: 1=Display KWh.
bit1: 1=clear accumulators, errors, 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 calculations.
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 possible. Mode D data fields are
prefaced with OBIS codes in
legacy format. 7,1
bit6: 1=Auto calibration mode 1
bit7: 1=Enable Tamper Detect
0
Do nothing special.
2,1
v_min
error if below. Also
creep.*
Below this, low voltage seconds are
counted. Voltage,
Wh, VARh, Frequency, and other
voltage-dependent
items are zeroed.
Same units as CE’s v0sqsum.
40V
)2
signed
32
)3
signed
16
i_max
Scaling Maximum
Amps for standard
sensor.
0.1A
110.5 for 200
μOhm shunt
with 8x preamp.
884.0 A for 200
μOhm shunt,
442.0A for 400
μOhm shunt.
v_max
Scaling Maximum
Volts for PCB
0.1V
600 V, for the
Demo Board.
)4
signed
16
i_limit
Error if exceeded.
Same units as CE’s i0sqsum.
50.9A =
30A*sqrt(2)
*120%
)5
signed
32
v_limit
Error if exceeded.*
Same units as CE’s v0sqsum.
407.3V =
240V*sqrt(2)
*120%
)6
signed
32
Page: 25 of 91
v5
71M6543 Demo Board User’s Manual
wrate_mpu
Convert from CE
counts to pulses.
CE’s w0sum units per pulse,
rounded up to next largest CE
count so Wh accumulation and
display is always rounded down.
3.2 Wh
)7
signed
32
interval
The number of
minutes of a demand interval.
Count of minutes.
(60/interval)*interval = 60.
2 minutes
)8
unsigned
8
mains_hz
Expected number of
cycles per second
of mains. 0 disables
the software RTC
run from mains.
Hz
0
)9
unsigned
8
See data sheet. Temperature is
calculated as temp = (measured_temp – temp_datum)
/temp_cal1 + temp_cal0
See data sheet.
)A
signed
32
temp_cal1
Machine-readable
units per 0.1C
mtr_cal1
[0..3]9
Linear temperature
calibration for meter
elements A..D.
ppm*(T - mtr_datum), in 0.1˚C
150
)B..E
signed
16
mtr_cal2
[0..3]9
Squared temperature calibration for
meter elements
A..D.
2
ppm2*(T - mtr_datum) , in 0.1˚C
-392
)F..1
2
signed
16
y_datum
Center temperature
of the crystal.
0.1 C
25C
)13
signed
16
y_cal1
5
RTC adjust, linear
by temp.
10 ppb*(T - y_datum), in 0.1˚C
0
)14
signed
16
y_cal2
5
RTC adjust,
squared by temp.
1 ppb*(T - y_datum)2, in 0.1˚C
38
)15
signed
16
s_cal
1
Accumulation intervals of
Autocalibration
Count of accumulation intervals
of calibration.
accumulation
intervals cover
both chop polarities.
)C
signed
16
v_cal
1
Volts of
Autocalibration
0.1 V rms of AC signal applied
to all elements during calibration.
2400
240 V is the
default full-scale
for meter test.
)D
signed
16
i_cal
1
Amps of
Autocalibration
0.1 A rms of AC signal applied
to all elements during calibration. Power factor of calibration
signal must be 1.
300
30 A is the default full-scale
for meter test.
)E
signed
16
Page: 26 of 91
v5
71M6543 Demo Board User’s Manual
lcd_idx
lcd_bit
mfr_id
6
Page: 27 of 91
Selects LCD’s current display.
0: Meter identification. (“#”)
1: Display variation from calibration temperature, 0.1C
2: Display mains Hz, 0.1 Hz
3: mWh, total
4: mWh total exported.
5: mVARh, 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 & 1
13: Main edge count, last accumulation.
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
Scrolling not standard for these:
111: PF, phase 0
112: Angle, phase 0 & 1
114: KW, phase 0
115: V, phase 0
116: A, phase 0
211: PF, phase 1
212: Angle, phase 0 & 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)
3
)19
signed
16
Defines sequence
of LCD displays.
The value is a bit mask that describes a scrolling display sequence. Each set bit permits a
display with an lcd_idx value
from 0..31. Each is displayed
for 7 seconds. Ordered by increasing bit number. If value is
zero, display does not change.
0
)1A
unsigned
32
Manufacturer’s ID
text string of the
meter
3 ASCII bytes, in MSB of 32-bit
number. Least significant byte
should be zero. For AMR
demonstrations, sent as the
manufacturer’s ID of the meter.
“TSC”,
0x54534300
)1B
unsigned
32
v5
71M6543 Demo Board User’s Manual
i_max2
4
in_limit
in_wait
3
3
Like i_max, except
for the 2nd current
sensor.
Currents, Wh etc.
using currents from
the second sensor
are rescaled into the
same units as the
first current sensor.
0.1 Amps
208 A (2080)
)1C
signed
16
Maximum valid neutral current.
Same units as CE’s i3sqsum.
0.1A
)1D
signed
32
The time that neutral current can exceed n_max before
the neutral error is
asserted.
Count of accumulation intervals.
10 secs.
)1E
signed
16
Reserved
)1F
32 bit unsigned number. For
AMR demonstrations, this is
sent in decimal as the identification number of the meter.
100000000
)20
signed
32
See data sheet. Temperature is
calculated as temp = (measured_temp –
temp_datum)/temp_cal1 +
temp_cal0
n/a
)21
signed
32
Center temperature
of a meter element’s
temperature curve.
0.1C
22C
)22..
25
signed
16
Default value for
RTCA_ADJ, the
crystal’s capacitor
adjustment.
See data sheet. Set from hardware value when hardware is
changed.
Hardware default (see data
sheet).
)26
unsigned
8
y_cal0 5,8
RTC offset rate adjust
100ppb
0
)27
signed
16
v_bat_min
Minimum valid battery voltage.
Units of hardware’s battery
measurement register.
2V on a real
PCB; should be
adjusted for
battery and
chip.
)28
signed
32
cal_cnt
Count of calibrations. In demo
code, it also checks
adjustments.
Counts number of times calibration is saved, to a maximum of
255.
0
)29
unsigned
8
ver_hash
Checked to prevent
old calibration data
from being used by
new code. Value
that changes with
the banner text, and
therefore with the
version, date and
time.
Uses data_ok() to calculate a
value from the string.
n/a
)2A
unsigned
8
data_ok_cal
Checks calibrations.
In demo code, it
also checks adjustments.
Checked by data_ok() of calibration value.
n/a
)2B
unsigned
16
meter_id
Identification number of meter.
8
temp_datum
8
mtr_datum[0.
.3]8
rtca_adj
8
8
Reserved
Page: 28 of 91
Count of temperature sensor at calibration.
)2C.
)2F
v5
71M6543 Demo Board User’s Manual
Status of meter.
Nonvolatile.
Bits:
See table below.
0 = no errors
)30
wh_im
Wh energy register.
Nonvolatile.
First 32-bit number is a count of
pulses, =3.2 Wh in 3-phase meters, or 1 in 1-phase. A fractional pulse is present in the CE
data, but not preserved.
n/a
)31
64
wh_ex
Wh exported energy
register. Nonvolatile.
Like wh_im
n/a
)32
64
varh_im
VARh register.
Nonvolatile.
Like wh_im
n/a
)33
64
varh_ex
VARh exported register. Nonvolatile.
Like wh_im
n/a
)34
64
dmd_max
Maximum demand,
W
Units of w0sum
n/a
)35
signed
32
dmd_max_rtc
Time of maximum
demand.
Standard time and date structure.
year, month,
date, hour, min
)36..
3A
unsigned
7x8
v_bat
Battery voltage at
last measurement.
Volatile; not saved
on power failure.
0.1V
n/a
)3B
signed
8
acc_cnt
Count of accumulation intervals since
reset, or last clear.
Cleared with )1=2 or
meter read. Volatile;
not saved on power
failure.
count
n/a
)3C
signed
32
tamper_sec
Counts seconds
that tamper errors
were asserted.
Cleared with )1=2 or
meter read. Nonvolatile.
This is a tamper measurement.
n/a
)3D
signed
32
sag_sec
Counts seconds
that voltage low
error occurred. or
meter read. Nonvolatile.
This is a power quality measurement.
n/a
)3E
signed
32
Counts seconds
that neutral current
error was asserted.
Cleared with )1=2 or
meter read. Nonvolatile.
This is a power quality measurement.
n/a
)3F
signed
32
rtc_copy
Clock time and date
when data was last
read from the RTC.
Standard time and date structure. year, month, date, hour,
min, sec
n/a
)40..
45
unsigned
8*7
save_cnt
Number of power
register saves.
n/a
n/a
)46
unsigned
16
data_ok_reg
Checks data.
n/a
n/a
)47
unsigned
16
state_bit_ar
y
in_sec
3
unsigned
32
1
Valid only when autocalibration is integrated. Meters with metering equations with differential currents or voltages do
not normally support autocalibration.
2
Requires features not in some demo PCBs.
Page: 29 of 91
v5
71M6543 Demo Board User’s Manual
3
Three-phase ICs only. Some CE codes calculate neutral current rather than measuring it. Consult the CE documentation.
4
Only in systems with two current sensors.
5
High accuracy use of this feature may require a calibrated clock.
6
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.
7
Nothing in the document should be interpreted as a guarantee of conformance to a 3rd party software specification.
Conformance testing is the responsibility of a meter manufacturer.
8
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
MINIA
MINIB
MINIC
MINVA
MINVB
MINVC
CREEPV
CREEP
SOFTWARE
Bit
No.
0
1
2
3
4
5
6
7
8
NEUTRAL
SPURIOUS
SAG
DEMAND
CALIBRATION
9
10
11
12
13
RTC_UNSET
14
HARDWARE
15
BATTERY_BAD
16
REGISTER_BAD
17
RTC_TAMPER
TAMPER
18
19
Name
Explanation
IA is below IThrshld. Current for this phase is in creep.
IB is below IThrshld. Current for this phase is in creep.
IC is below IThrshld. Current for this phase is in creep.
VA is below VThrshld. Voltage for this phase is in creep.
VB is below VThrshld. Voltage for this phase is in creep.
VC is below VThrshld. Voltage for this phase is in creep.
All voltages are below VThrshld.
There is no combination of current and voltage on any phase.
A software defect was detected. error_software() was called. E.g.: An impossible value occurred in a selection, or the timers ran out.
Neutral current was above in_limit for more than in_wait seconds.
An unexpected interrupt was detected.
Voltage was below VThrshld for more than in_wait seconds
Demand was too big (too many watts) to be credible.
Set after reset if the read of the calibration data has a bad checksum, or is from an earlier version of software. The default values should be present.
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 previously 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.
An impossible hardware condition was detected. For example, the woftware times out waiting
for RTC_RD to become zero.
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.
Set after reset when the read of the power register data has a bad longitudinal redundancy
check or bad software version in all 5 copies. Unlikely to be an accident.
Clock set to a new value more than two hours from the previous value.
Tamper was detected. Normally this is a power tamper detected in the creep logic. For example, current detected with no voltage.
Table 1-9 contains LSB values for the CE registers. All values are based on the following settings:
•
Gain in amplifier for IAP/IAN pins selected to 1.
•
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
71M6543 Demo Board User’s Manual
1.10.4 LSB VALUES IN CE REGISTERS
Table 1-9: CE Registers and Associated LSB Values
Register Name
LSB Value
Comment
W0SUM_X
W1SUM_X
W2SUM_X
1.55124*10-12*IMAX*VMAX
The real energy for elements A, B, and C, measured in Wh per accumulation interval
VAR0SUM_X
VAR1SUM_X
VAR2SUM_X
1.55124*10-12*IMAX*VMAX
The reactive energy for elements A, B, and C, measured in VARh per
accumulation interval
I0SQSUM_X
I1SQSUM_X
I2SQSUM_X
INSQSUM_X
2.55872*10-12*IMAX*VMAX
The sum of squared current samples in elements A, B, C, and neutral.
This value is the basis for the IRMS calculation performed in the MPU.
V0SQSUM_X
V1SQSUM_X
V1SQSUM_X
9.40448*10-13*IMAX*VMAX
The sum of squared voltage samples in elements A, B, and C.
1.10.5 CALCULATING IMAX AND KH
The relationship between the resistance of the shunt resistors and the system variable IMAX 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 IMAX 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
Remote Sensor Interface
71M6603
Rated
Current
[A]
60
78.57
98.21
122.76
163.68
196.42
786
982
1228
1637
1964
3403
4254
5318
7090
8508
168.36
252.54
505.08
1684
2525
5050
7293
10939
21878
Shunt Resistor Value
[µΩ]
IMAX
[A]
44.2
500
400
300
250
200
160
120
71M6103,
71M6113
100
19.64
250
200
160
120
100
71M6203,
71M6203
200
12.63
75
50
25
Page: 31 of 91
WRATE for kH =
88.39
110.49
147.31
176.78
220.97
276.21
368.28
IMAX Entry at MPU
0x03
+884
+1105
+1473
+1768
+2209
+2762
+3683
Max. RMS
Voltage at
IAP/IAN [mV]
3.2, VMAX = 600
V, X = 0.09375
3829
4786
6381
7657
9572
11965
15953
v5
71M6543 Demo Board User’s Manual
The meter constant kh (Wh per pulse) is calculated as follows:
Kh = 54.5793*VMAX*IMAX / (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 value is determines by the divider ratio of the voltage divider resistors. For the
71M6543 Demo Board, this value is 600.
IMAX/ = 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 I/O 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
IMAX/ = 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.
Figure 1-7: Worksheet from Calibration Spreadsheets REV 6.0
1.10.6 DETERMINING THE TYPE OF 71M6X0X
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
71M6543 Demo Board User’s Manual
Table 1-11: Identification of 71M6x0x Remote Sensor Types
Bit 5/Bit 4
00
01
71M6x0x Remote Interface
71M6601 or 71M6603
71M6103 (Polyphase) or
71M6113 (Polyphase)
10
71M6201 or 71M6203
11
Invalid
Current
[A]
For Accuracy Class (%)
60
1
100
1
0.5
200
0.2
--
--
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)
6C1.42 – this command causes the 71M6x0x Remote Sensor 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 signaled by the MSB being 1.
T = 22°C + (STEMP*0.33 - (STEMP2)*0.00003)°C
Example: For STEMP = 0xFFDF the decimal equivalent is -32. The temperature calculates to 22°C –
10.59°C = 11.4°C.
Note that the 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)
Meter code must be modified in order to be loaded by the bootloader. The meter code must start at address 0x0400, and its interrupt vector table must also start at 0x400. The bootloader itself is located at address 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.
2)
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, 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.
3)
If the bootloader load process is not invoked, the bootloader jumps to address 0x0400 and executes the
code found there.
4)
A detailed description of the bootloader can be found in the _readme.txt file contained in 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 follows:
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.
2)
Turn off the power to the 71M6543 Demo Board.
3)
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.
4)
Apply power to the meter.
5)
After a brief delay, the Wh pulse LED (D5) 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
71M6543 Demo Board User’s Manual
- If the Wh LED lights up, but the ":" does not appear, debug the RS-232 wiring. Possible issues are that the
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 occurred, 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
71M6543 Demo Board User’s Manual
2
2
APPLICATION INFORMATION
2.1 CALIBRATION THEORY
A typical meter has phase and gain errors as shown by φS, AXI, and AXV in Figure 2-1. Following the typical meter convention of current phase being in the lag direction, the small amount of phase lead in a typical current
sensor is represented as -φS. 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
I
φL
φ L is phase lag
ERRORS
−φS
METER
IRMS
A XI
φS is phase lead
Π
V
W
V RMS
AXV
ERROR ≡
IDEAL = I ,
ACTUAL = I AXI
IDEAL = IV cos(φ L )
ACTUAL = IV AXI AXV cos(φ L − φ S )
IDEAL = V ,
ACTUAL = V AXV
ACTUAL − IDEAL = ACTUAL −
1
IDEAL
IDEAL
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.
2.1.1 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
>MR2.1 in the serial interface.
Let’s say the voltage measurement has the error EV and the two Wh measurements have errors E0 and E60,
where E0 is measured with φL = 0 and E60 is measured with φL = 60. These values should be simple ratios—not
percentage values. They should be zero when the meter is accurate and negative when the meter runs slow.
The fundamental frequency is f0. T is equal to 1/fS, where fS is the sample frequency (2560.62Hz). Set all calibration factors to nominal: CAL_IA = 16384, CAL_VA = 16384, LCOMP2_A = 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 LCOMP2_n is used. Spreadsheets are available to calculate the calibration coefficients for all
hardware configurations.
Page: 35 of 91
v5
71M6543 Demo Board User’s Manual
From the voltage measurement, we determine that
1.
AXV = EV + 1
We use the other two measurements to determine φS and AXI.
IV AXV AXI cos(0 − φ S )
− 1 = AXV AXI cos(φ S ) − 1
IV cos(0)
2.
E0 =
2a.
AXV AXI =
3.
E 60 =
IV AXV AXI cos(60 − φ S )
cos(60 − φ S )
− 1 = AXV AXI
−1
IV cos(60)
cos(60)
3a.
E 60 =
AXV AXI [cos(60) cos(φ S ) + sin(60) sin(φ S )]
−1
cos(60)
E0 + 1
cos(φ S )
= AXV AXI cos(φ S ) + AXV AXI tan(60) sin(φ S ) − 1
Combining 2a and 3a:
4.
E 60 = E 0 + ( E 0 + 1) tan(60) tan(φ S )
5.
tan(φ S ) =
6.
φ S = tan −1
E 60 − E 0
( E 0 + 1) tan(60)
E 60 − E 0
( E 0 + 1) tan(60)
and from 2a:
7.
AXI =
E0 + 1
AXV cos(φ S )
Now that we know the AXV, AXI, and φS errors, we calculate the new calibration voltage gain coefficient from the
previous ones:
CAL _ V NEW =
CAL _ V
AXV
We calculate PHADJ from φS, the desired phase lag:
[
]
tan(φ S ) 1 + (1 − 2 −9 ) 2 − 2(1 − 2 −9 ) cos(2πf 0T )
PHADJ = 2 20
−9
−9
(1 − 2 ) sin( 2πf 0T ) − tan(φ S ) 1 − (1 − 2 ) cos(2πf 0T )
[
]
And we calculate the new calibration current gain coefficient, including compensation for a slight gain increase
in the phase calibration circuit.
CAL _ I NEW =
Page: 36 of 91
CAL _ I
AXI
1
1+
2 − 20 PHADJ (2 + 2 − 20 PHADJ − 2(1 − 2 −9 ) cos(2πf 0T ))
1 − 2(1 − 2 −9 ) cos(2πf 0T ) + (1 − 2 −9 ) 2
v5
71M6543 Demo Board User’s Manual
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, E0, E180, E60, and E300. Again, set all calibration factors to nominal, i.e. CAL_IA
= 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 AXV from EV:
1.
AXV = EV + 1
Calculate AXI from E0 and E180:
IV AXV AXI cos(0 − φ S )
− 1 = AXV AXI cos(φ S ) − 1
IV cos(0)
2.
E0 =
3.
E180 =
4.
E 0 + E180 = 2 AXV AXI cos(φ S ) − 2
5.
AXV AXI =
6.
AXI =
IV AXV AXI cos(180 − φ S )
− 1 = AXV AXI cos(φ S ) − 1
IV cos(180)
E 0 + E180 + 2
2 cos(φ S )
( E 0 + E180 ) 2 + 1
AXV cos(φ S )
Use above results along with E60 and E300 to calculate φS.
7.
E 60 =
IV AXV AXI cos(60 − φ S )
−1
IV cos(60)
= AXV AXI cos(φ S ) + AXV AXI tan(60) sin(φ S ) − 1
8.
E300 =
IV AXV AXI cos(−60 − φ S )
−1
IV cos(−60)
= AXV AXI cos(φ S ) − AXV AXI tan(60) sin(φ S ) − 1
Subtract 8 from 7
9.
E 60 − E300 = 2 AXV AXI tan(60) sin(φ S )
use equation 5:
E 0 + E180 + 2
tan(60) sin(φ S )
cos(φ S )
10.
E 60 − E300 =
11.
E 60 − E300 = ( E 0 + E180 + 2) tan(60) tan(φ S )
12.
φ S = tan −1
Page: 37 of 91
( E 60 − E300 )
tan(60)( E 0 + E180 + 2)
v5
71M6543 Demo Board User’s Manual
Now that we know the AXV, AXI, and φS errors, we calculate the new calibration voltage gain coefficient from the
previous ones:
CAL _ V NEW =
CAL _ V
AXV
We calculate PHADJ from φS, the desired phase lag:
[
]
tan(φ S ) 1 + (1 − 2 −9 ) 2 − 2(1 − 2 −9 ) cos(2πf 0T )
PHADJ = 2
−9
−9
(1 − 2 ) sin( 2πf 0T ) − tan(φ S ) 1 − (1 − 2 ) cos(2πf 0T )
20
[
]
And we calculate the new calibration current gain coefficient, including compensation for a slight gain increase
in the phase calibration circuit.
CAL _ I NEW =
CAL _ I
AXI
1
1+
2
− 20
PHADJ (2 + 2 PHADJ − 2(1 − 2 −9 ) cos(2πf 0T ))
1 − 2(1 − 2 −9 ) cos(2πf 0T ) + (1 − 2 −9 ) 2
− 20
2.2 CALIBRATION PROCEDURES
2.2.1 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 repeatable way. By repeatable 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 before the current is applied. This enables the Demo Code to initialize the 71M6543F 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 with metering standards.
During calibration of any phase, a stable mains voltage has to be present on phase A. This
enables the CE processing mechanism of the 71M6543F necessary to obtain a stable calibration.
2.2.2 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
71M6543 Demo Board User’s Manual
Voltage
Positive
direction
Current lags
voltage
(inductive)
+60°
Current
-60°
Current leads
voltage
(capacitive)
Voltage
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)
The calibration factors for all phases are reset to their default values, i.e. CAL_In = CAL_Vn = 16384,
and LCOMP2_n = 16384.
2)
An 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 ) / Videal
3)
Apply the nominal load current at phase angles 0° and 60°, measure the Wh energy and record the errors E0 AND E60.
4)
Calculate the new calibration factors CAL_In, CAL_Vn, and LCOMP2_n, using the formulae presented in section 2.1.1 or using the spreadsheet presented in section 2.2.5.
5)
Apply the new calibration factors CAL_In, CAL_Vn, and LCOMP2_n to the meter. The memory locations for these factors are given in section 1.9.1.
6)
Test the meter at nominal current and, if desired, at lower and higher currents and various phase angles to confirm the desired accuracy.
7)
Store the new calibration factors CAL_In, CAL_Vn, and LCOMP2_n 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.
8)
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
71M6543 Demo Board User’s Manual
2.2.4 CALIBRATION PROCEDURE WITH FIVE MEASUREMENTS
Each phase is calibrated individually. The calibration procedure is as follows:
1)
The calibration factors for all phases are reset to their default values, i.e. CAL_In = CAL_Vn = 16384,
and LCOMP2_n = 0.
2)
An 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 ) / Videal
3)
Apply the nominal load current at phase angles 0°, 60°, 180° and –60° (-300°). Measure the Wh energy each time and record the errors E0, E60, E180, and E300.
4)
Calculate the new calibration factors CAL_In, CAL_Vn, and LCOMP2_n, using the formulae presented in section 2.1.2 or using the spreadsheet presented in section 2.2.5.
5)
Apply the new calibration factors CAL_In, CAL_Vn, and LCOMP2_n to the meter. The memory locations for these factors are given in section 1.9.1.
6)
Test the meter at nominal current and, if desired, at lower and higher currents and various phase angles to confirm the desired accuracy.
7)
Store the new calibration factors CAL_In, CAL_Vn, and LCOMP2_n in 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.
8)
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 PHADJ_n parameters instead of the LCOMP2_n parameters.
For the calibration, data should be entered into the calibration spreadsheets as follows:
1.
Calibration is performed one phase at a time.
2.
Results from measurements are generally entered in the yellow fields. Intermediate results and calibration factors will show in the green fields.
3.
The line frequency used (50 or 60Hz) is entered in the yellow field labeled AC frequency.
4.
After the voltage measurement, measured (observed) and expected (actually applied) voltages are entered 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.
5.
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.
6.
The spreadsheet will calculate the calibration factors CAL_IA, CAL_VA, and LCOMP2_A from the information entered so far and display them in the green fields in the column underneath the label “new”.
7.
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 calibration factors, the entries in the column underneath “old” should be at the default value (16384).
Page: 40 of 91
v5
71M6543 Demo Board User’s Manual
Figure 2-3: Calibration Spreadsheet for Three Measurements
Note: The values for LCOMP2_n may have to be changed slightly depending on shunt sensor and cable inductance. 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 minimize the errors at 60° and at 300°.
Page: 41 of 91
v5
71M6543 Demo Board User’s Manual
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.
2.2.6 COMPENSATING 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
error [%]
10
error
8
6
4
2
0
0.1
1
10
100
I [A]
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 error at currents of 10A and above, the noise becomes dominant at small currents.
Page: 42 of 91
v5
71M6543 Demo Board User’s Manual
The value to be used for QUANT can be determined by the following formula:
error
V ⋅I
100
QUANT = −
VMAX ⋅ IMAX ⋅ 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,
-10
LSB = QUANT LSB value = 7.4162*10 W
Example: Assuming an observed error as in Figure 2-5, we determine the error at 1A to be +1%. If VMAX is
600V and IMAX = 208A, and if the measurement was taken at 240V, we determine QUANTn as follows:
1
240 ⋅ 1
100
= −11339
QUANT = −
600 ⋅ 208 ⋅ 7.4162 ⋅ 10 −10
There is a QUANTn register for each phase, and the values are to be written to the CE locations 0x28, 0x2C, or
0x30. It does not matter which current value is chosen as long as the corresponding error value is significant
(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 using the same formula as QUANT.
2.3 TEMPERATURE COMPENSATION
2.3.1 ERROR SOURCES
This section discussed the temperature compensation for meters equipped with 71M6xxx Remote Sensor Interfaces. 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. A
shunt resistor with +100 PPM/°C will increase its resistance by 60°C * 100*10-6 PPM/°C, 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 the on-chip temperature sensors 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, if a
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 components (TC1 and TC2). 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
-6
with ±80 PPM°C to within ±60°C *80*10 PPM/°C, or ±0.48%.
The reference voltage can be approached by the nominal reference voltage:
VNOM(T) = VNOM(22)+(T-22)*TC1+(T-22)2*TC2
Actual values for TC1 and TC2 can 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 compensation coefficients based on TC1 and TC2 using the fuse values in each device.
Page: 43 of 91
v5
71M6543 Demo Board User’s Manual
3)
The reference voltage of the 71M6543F 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, 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 TC1 and TC2 using the fuse values in each device.
4)
The voltage divider network (resistor ladder) on the Demo Board will also have a TC. Ideally, all resistors 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.
Table 2-1: Temperature-Related Error Sources
Measured Item
Error Sources for Current
Error Sources for Voltage
Pins on 71M6543
Energy Reading
for phase A
VREF of 71M6xx3 for phase A
71M6543 VREF
Shunt resistor for phase A
Voltage divider for VA
VA, ADC2/ADC3
(IBP/IBN)
Energy Reading
for phase B
VREF of 71M6xx3 for phase B
71M6543 VREF
Shunt resistor for phase B
Voltage divider for VB
Energy Reading
for phase C
VREF of 71M6xx3 for phase C
71M6543 VREF
Shunt resistor for phase C
Voltage divider for VC
Neutral Current
Reading
71M6543 VREF
--
Sensor for neutral current
--
VB, ADC4/ADC5)
ICP/ICN
VC, ADC6/ADC7
(IDP/IDN)
ADC0/ADC1
(IAP/IAN)
When can summarize the thermal errors per phase n in the following equation:
Pn = Vn ⋅ I n ⋅ (1 + CVD ) ⋅ (1 + C4 X ) ⋅ (1 + C Sn ) ⋅ (1 + C6 X )
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
•
CVD = error contribution from the voltage divider
•
C4X = error contribution from the voltage reference of the 71M6543
•
CSn = error from the shunt resistor that is connected via the Remote Interface IC
•
C6X = 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 GAIN_ADJ0 through
GAIN_ADJ, registers of the CE. Generally, these four (and when using neutral current measurement, five) registers are used as follows:
•
•
•
•
•
GAIN_ADJ0 for VA, VB, VC – CE RAM 0x40
GAIN_ADJ1 – Current, phase A (via 71M6xx3) – CE RAM 0x41
GAIN_ADJ2 - Current, phase B (via 71M6xx3) – CE RAM 0x42
GAIN_ADJ3 - Current, phase C (via 71M6xx3) – CE RAM 0x43
GAIN_ADJ4 – Current from neutral current sensor (via 71M6543) – CE RAM 0x44
In general, the GAIN_ADJn 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
71M6543 Demo Board User’s Manual
means that the output of the gain adjust function is the same as the input. A value of 99% of 16385, or 16222,
means that the signal is attenuated by 1%.
The Demo Code bases its adjustment on the deviation from calibration (room) temperature DELTA_T and the
coefficients PPMC and PPMC2 to implement the equation below:
GAIN _ ADJ = 16385 +
DELTA _ T ⋅ PPMC DELTA _ T 2 ⋅ PPMC 2
+
214
2 23
It can be seen easily that the 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
CE Location
PPMC2 Register for
0x20
GAIN_ADJ0
0x25
GAIN_ADJ0
0x21
GAIN_ADJ1
0x26
GAIN_ADJ1
0x22
GAIN_ADJ2
0x27
GAIN_ADJ2
0x23
GAIN_ADJ3
0x28
GAIN_ADJ3
0x24
GAIN_ADJ0
0x29
GAIN_ADJ0
CE Location
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.5% over the industrial temperature range, the repeatability must be
better than:
R = (5000 PPM) / (60°C) = 83.3 PPM/°C
This means that for 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 µΩ in phase A. This resistor is 10% above the nominal value of 50 µΩ, 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 µΩ, 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 resistor will read the current 60°C * 124 PPM/°C, or 0.744% too high. This means that the GAIN_ADJ1 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
71M6543 Demo Board User’s Manual
Let us assume that only linear components appear in the formula below, i.e. PPMC2 is zero.
GAIN _ ADJ = 16385 +
DELTA _ T ⋅ PPMC DELTA _ T 2 ⋅ PPMC 2
+
214
2 23
We must now find the PPMC value that decreases GAIN_ADJ by 0.744% when DELTA_T is +600 (DELTA_T
is measured in tens of °C). We find PPMCS to be:
PPMCS = 214 * (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 PPMC6X and -200 to -400 for PPMC26X.
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 Demo
Code. Typical coefficients are in the range of -200 to -400 for PPMC4X and -400 to -800 for PPMC24X.
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. GAIN_ADJ0 is primarily intended to compensate for the temperature coefficients of the reference voltage. If the TC of the voltage dividers is to be considered, 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 PPMCVD value of 788.
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 coefficients for the control of GAIN_ADJn:
CS1: The PPMCS = -3331 determined for the shunt resistor. PPMC2S for the shunt resistor is 0.
CVD: The PPMCVD value of 788 determined for the voltage divider.
C4X: PPMC4X = -820 and PPMC24X = -680
C6X: PPMC6X = -620 and PPMC26X = -510
We will find that coefficients can simply be added to combine the effects from several sources of temperature
dependence.
Following this procedure, we obtain the coefficients for GAIN_ADJ0 (voltage measurement) as follows:
•
PPMCA = PPMC4X + PPMCVD = – 820 + 788 = -32
•
PPMC2A = PPMC24X + PPMC2VD = -680 + 0 = -680
Page: 46 of 91
v5
71M6543 Demo Board User’s Manual
Next, we obtain the coefficients for GAIN_ADJ1 (current measurement) as follows:
•
PPMCA = PPMCS + PPMC6X = -3331 - 620 = -3951
•
PPMC2A = PPMC2S + PPMC26X = 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 conjunction with the capability of the 654x Code to accurately read and interpret the fuses and to compensate the gain
in all measurement channels.
For these tests, three 50 µΩ shunts had been characterized, and coefficients combined from the shunt coefficients 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-6: Wh Registration Error with VREF Compensation
Figure 2-7 shows the results for the combined compensation (original coefficients obtained from fuses combined with shunt coefficients).
Page: 47 of 91
v5
71M6543 Demo Board User’s Manual
Figure 2-7: Wh Registration Error with Combined Compensation
2.4 TESTING THE DEMO BOARD
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 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 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 BETWEEN THE LINE AND THE NEUTRAL TERMINALS OF THE DEMO BOARD WITH A MULTIMETER. ANY RESISTANCE BELOW THE 1 MΩ RANGE INDICATES A AFAULTY CONNECTION RESULTING INDESTRUCTION OF THE 71M6543.
2.4.1 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 systems have electrical pickups. The calibrator measures the time between the pulses and compares it to the expected time, based on the meter Kh and the applied power.
Page: 48 of 91
v5
Meter
under
Test
AC Voltage
Optical Pickup
for Pulses
Current CT
Pulse
Counter
Calibrated
Outputs
71M6543 Demo Board User’s Manual
Calibrator
PC
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.
Figure 2-9: Calibration System Screen
Page: 49 of 91
v5
71M6543 Demo Board User’s Manual
Wh Poly-Phase Loadline with 150 µΩ Shunt
0.5
0.4
0°
0.3
60°
0.2
0.1
0
-0.1
-0.2
-0.3
-0.4
-0.5
0.1
1
10
100
Figure 2-10: Wh Load Lines at Room Temperature with 150 µΩ Shunts
VARh Poly-Phase Loadline with 150 µΩ Shunt
0.5
0.4
0.3
90°
0.2
150°
0.1
0
-0.1
-0.2
-0.3
-0.4
-0.5
0.1
1
10
100
Figure 2-11: VARh Load Lines at Room Temperature with 150 µΩ Shunts
2.4.2 EMC TEST
This Demo Board is not optimized for EMC. Please contact your Maxim representative or FAE for questions regarding 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 affect 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
71M6543 Demo Board User’s Manual
2.5.1 SELF-HEATING
The effect of self-heating will be most pronounced at maximum current and depends on the following parameters:
•
Nominal shunt resistance
•
Current through the shunt resistor
•
Thermal mass
•
Heat conduction away from the shunt (thermal resistance towards the environment)
•
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 shows 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 resistance below the recommended limits decreases accuracy and repeatability.
Good heat conduction can help to maintain the shunt temperature. Attaching the shunt to solid metallic structures 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:
•
Software algorithms emulating the thermal behavior of the shunt(s).
•
Direct temperature measurement, ideally with the 71M6xx3 mounted directly on the shunt (collocation)
or employing some other method of temperature sensing (PTC resistor, NTC resistor, discrete temperature sensor).
The effect of shunt self-heating can be described by the following formulae. First, the relative output of a shunt
resistor is:
ΔV/V = ΔR/R
ΔR is a function of the change in temperature, the temperature coefficient (TCR), the thermal resistance (RTH),
and, of course, the applied power, which is proportional to the square of the current:
∆V ∆R R ⋅ ∆T ⋅ TC R
=
=
= I 2 R ⋅ RTH ⋅ TC R
V
R
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.
2.5.2 PLACEMENT OF SENSORS (ANSI)
The arrangement of the current terminals in an ANSI meter enclosure predetermines shunt orientation, but it also allows for ample space in between the sensors, which helps to minimize cross-talk between phases.
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 crosstalk.
Sensor wires should be tightly twisted to avoid loops that can be penetrated by the magnetic fields of the sensors or conductors.
2.5.3 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
71M6543 Demo Board User’s Manual
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 effective 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 loop area formed by the Manganin zone of the shunts and the wires. As with the ANSI 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.
2.5.4 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
71M6543 Demo Board User’s Manual
Optional contact for
voltage
Sensor wires
Copper
Loop
Manganin
Figure 2-14: Loop Formed by Shunt and Sensor Wire
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
1
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
v5
71M6543 Demo Board User’s Manual
Page: 54 of 91
v5
71M6543 Demo Board User’s Manual
3
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
Item #
Reference
Designator
Name
1
D5
Wh
2
J1
PULSE X Y
3-pin header for monitoring X and Y pulses
3
JP2
BIT BANG
5-pin header for access to the SEGDIO4 and SEGDIO9
pins.
BAT MODE
Selector for the operation of the IC when main power is removed, using the SEGDIO8 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
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.
JP52: 2-pin header for the SDATA signal used by the
µWire EEPROM
4
JP1
Use
Wh pulse LED.
5
JP55/JP52
--
6
U8
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
--
Alternate footprint for BT2. A circular battery may be
mounted in this location (on the bottom of the board).
9
BT1
--
Location of optional battery for the support of battery
modes. (Located on the bottom)
Page: 55 of 91
v5
71M6543 Demo Board User’s Manual
Item #
Reference
Designator
Name
10
BT2
--
11
J21
DEBUG
Connector for the optional Debug Board. 2x8 pin male
header.
12
SW5
RESET
Chip reset switch: When the switch is pressed, the 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
connected to the V3P3SYS net.
14
J13
--
2-pin pin header. If a jumper installed, the battery BT2/BT3
will be connected to the V3P3SYS net.
Pushbutton connected to the PB pin on the IC. This pushbutton can be used in conjunction with the Demo Code to
wake the IC from sleep mode or LCD mode to brown-out
mode.
Use
Location of optional battery for the support of RTC and
non-volatile RAM. BT2 has an alternate circular footprint at
location BT3.
15
SW3
PB
16
TP2
GND
17
J3
IAN_IN, IAP_IN
18
SW4
SEGDIO53
18a
J25
ADC0/1
19
JP6
19a
J11, J15, J16
ADC8, ADC9,
ADC10
20
J9
NEUTRAL
The NEUTRAL voltage input. This input is connected to
V3P3. This input is a spade terminal mounted on the bottom of the board.
VA_IN, VB_IN,
VC_IN
Phase voltage inputs to the board. Each input has a resistor divider that leads to the pin on the IC associated with
the voltage input to the ADC. These inputs have spade
terminals mounted on the bottom of the board.
21, 23, 25
J4, J6. J8
GND test point.
2-pin header for the connection of the non-isolated shunt
used for neutral current measurement. This header is on
the bottom of the board.
Pushbutton for optional software function.
2-pin header that allows access to the neutral current input
pins on the 71M6543.
A jumper is placed across JP6 to activate the internal AC
power supply.
Caution: High Voltage! Do not touch!
2-pin headers that allow access to the voltage input pins on
the 71M6543.
Caution: High Voltage! Do not touch!
22
TP1
TMUXOUT,
TMUX2OUT
Test points for access to the TMUXOUT and TMU2XOUT
pins on the 71M6543.
24
U5
--
The IC 71M6543 soldered to the PCB.
26, 28, 29
J17, J18, J20
--
Two-pin headers for connection of the external shunt resistors (REV 4.0) or CTs (REV 5.0) to the board.
2-pin header that connects the V3P3D pin to parts on the
board that use the V3P3D net for their power supply. For
supply current measurements in brownout mode, the
jumper on JP53 may be removed.
27
JP53
V3P3D
29a
J22, J23, J24
ADC2/3, ADC4/5,
ADC5/6
2-pin headers that allow access to the current input pins on
the 71M6543.
30
J14
EMULATOR I/F
2x10 emulator connector port for the Signum ICE ADM-51
or for the Teridian TFP-2 Flash Programmer.
31
JP3
ICE_E
3-pin header for the control of the ICE_E signal. A jumper
across pins 1-2 disables the ICE interface; a jumper across
pins 2-3 enables it.
Page: 56 of 91
v5
71M6543 Demo Board User’s Manual
Item #
Reference
Designator
Name
Use
32
JP44
GND
3-pin header that can be used to control the PE pin of the
µWire EEPROM.
33
TP3
GND
GND test point.
34
JP54
--
35
JP51
36
JP50
37
CN1
USB PORT
38
JP7
--
39
D6
VARh
40
JP8
WPULSE
2-pin header connected to the Wh pulse LED
2-pin header that connects the SDCK signal to the serial
EEPROM.
--
Two-pin header for the clock signal to the µWire EEPROM.
Inserting a jumper in this header enables the clock.
--
Two-pin header for pulling low the CS input of the µWire
EEPROM.
This connector is an isolated USB port for serial communication with the 71M6543.
2-pin header connected to the VARh pulse LED
VARh pulse LED.
41
JP5
UART_RX
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 JP5. When the Demo Board is communicating 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
71M6543 Demo Board User’s Manual
1
2
4
3
5
6
7
9
8
10
42
41
40
11
39
38
37
12
36
13
35
14
15
34
16
33
17
32
18
31
18a
30
19
29a
19a
29
28
27
26
25
24
23
22
21
20
Figure 3-1: 71M6543 REV 4.0 Demo Board - Board Description
Default jumper settings are indicated in yellow. Elements shown in 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.
Figure 3-2: 71M6543 REV 5.0 Demo Board – Top View
Page: 59 of 91
v5
71M6543 Demo Board User’s Manual
3.3
BOARD HARDWARE SPECIFICATIONS
PCB Dimensions
Width, length
Thickness
Height w/ components
134 mm x 131 mm (5.276” x 5.157”)
1.6mm (0.062”)
40 mm (1.57”)
Environmental
Operating Temperature
Storage Temperature
-40°…+85°C
-40°C…+100°C
Power Supply
Using internal AC supply
DC Input Voltage (powered from DC supply)
Supply Current
100 V…240 V RMS
5.0 VDC ±0.3 V
< 10 mA typical
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
0…240 V RMS
0…19.64 mV RMS
0…176.8 mV RMS
Interface Connectors
DC Supply (J20)
Emulator (J14)
Voltage Input Signals
Current Input Signals
USB port (PC Interface)
Debug Board (J2)
SPI Interface
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
Functional Specification
Program Memory
NV memory
Time Base Frequency
64 KB FLASH memory
1Mbit serial EEPROM
32.768kHz, ±20PPM at 25°C
Controls and Displays
RESET
PB
Numeric Display
“Wh”
“VARh”
Push-button (SW5)
Push-button (SW3)
3X8-digit LCD, 7 segments per digit, plus meter symbols
red LED (D5)
red LED (D6)
Measurement Range
Voltage
Current
Page: 60 of 91
120…600 V rms (resistor division ratio 1:3,398)
Dependent on shunt resistance or CT winding ratio
v5
71M6543 Demo Board User’s Manual
4
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
Pull JP53 for BRN
measurements.
JP53current
2
1
C52
1000pF
C22
0.1uF
C51
0.1uF
GND
Ferrite Bead 600ohm
V3P3SY S
R1
VBAT
VLCD
C64
0.1uF
C63
0.1uF
VLCD
SW3
1K
R4
C18
0.1uF
SW5
100
GND
C21
0.1uF
R103
10K
GND
R106
1K
TP1
GND
SERIAL EEPROM
GND
A0
A1
A2
GND
VCC
WP
SCL
SDA
SER EEPROM
SPI_DI
SPI_DO
SPI_CK
SPI_CSZ
V3P3D
1
3
5
7
9
J19
2
4
6
8
10
HDR5X2
2
HDR2X1
U4
1
2
3
4
1
C20
0.1uF
8
7
6
5
GND
TMUXOUT
TMUX2OUT
V3P3D
1
JP54
2
SDCK
HDR2X1
R104
10K
R105
10K
V3P3D
1
JP55
2
SDATA
R137
XTAL_GND
GND
VBAT_RTC
VBAT
V3P3SYS
ADC2
ADC3
ADC4
ADC5
ADC6
ADC7
GND
XOUT
NC
NC
NC
GNDA_K
TEST
VADC10
VADC9
VADC8
V3P3A_K
IADC1
IADC0
VREF
VLCD
PB
RESET
TMUXOUT/SEG47
TMUX2OUT/SEG46
SEGDIO45
SEGDIO44
SEGDIO43
SEGDIO42
SEGDIO41
SEGDIO40
SPI_CK/SEGDIO39
71M6543-100TQFP
GND
1K
NC
NC
NC
SEGDIO54
OPT_RX/SEGDIO55
WPULSE
VPULSE
SDCK
SDATA
SEGDIO4
NC
SEGDIO5
SEGDIO6
SEGDIO7
SEGDIO8
SEGDIO9
SEGDIO10
SEGDIO11
SEGDIO12
SEGDIO13
SEGDIO14
SEGDIO15
SEGDIO16
SEGDIO17
NC
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
SDCK1
JP50
HDR2X1
JP51
2
SEGDIO54
OPT_RX
WPULSE
VPULSE
SDCK
SDATA
SEGDIO4
ADC1
ADC3
ADC5
ADC7
ADC10
ADC0
ADC2
ADC4
ADC6
R138
10K
JP44
8
7
6
5
VCC
PE
ORG
VSS
1
2
3
SER EEPROM (uWire)
V3P3D
1 JP52 2
GND
HDR2X1
10K
V3P3D
SEGDIO8
GND
XPULSE
Y PULSE
SEGDIO8
SEGDIO9
SEGDIO10
SEGDIO11
SEGDIO12
SEGDIO13
SEGDIO14
SEGDIO15
SEGDIO16
SEGDIO17
R144
10K
100
R151
R143
JP1
1
2
3
+5V_USB 1
RX_USB 2
3
GND_USB 4
5
6
7
8
JP2
R150
1
2
3
4
5
GND
U2
VCCIO
RXD
RI#
GND
NC
DSR#
DCD#
CTS#
BIT BANG HDR
10K
UART 1
JP45
1
2
3
R13 GND
100K
FT232RQ
SEGDIO10
J21
1
3
5
7
9
11
13
15
2
4
6
8
10
12
14
16
HDR8X2
1
1000pF
V3P3D
TMUX2OUT
TMUXOUT
UART_TX
62
62
62
1
2
+5V_USB
RX_USB
TX_USB
GND_USB
GND_USB
COM0
COM1
COM2
1D,1G,1A
DP1,1C,1B
DP2,2E,2F
2D,2G,2A
DP0,2C,2B
X4,3E,3F
3D,3G,3A
DP3,3C,3B
X3,4E,4F
4D,4G,4A
DP4,4C,4B
X2,5E,5F
5D,5G,5A
DP5,5C,5B
X1,6E,6F
6D,6G,6A
DP6,6C,6B
10D,10G,10A
DP10,10C,10B
X13,11E,11F,X10,X17,X18
11D,11G,11A
DP11,11C,11B
X14,12E,12F,X12,X21
12D,12G,12A
DP12,12C,12B,X11,X20,X19
1
2
3
4
U3
VDD1VDD2
VIA
VOA
VOB
VIB
GND1GND2
JP5
C74
2
UART_RX_ISO
0.1uF
HDR2X1
UART_RX
GND
100pF
Size
B
Date:
C71
0.1uF
GND
D10
R19
TX&RXLED
+5V_USB
1K
LED
GND_USB
VBUS
D- USB-W
D+
GND
CN1
R18
L1
+5V_USB
Ferrite Bead 600ohm
C73
C72
C3
0.01uF
0.1uF
4.7uF
GND_USB
71M6543 Meter Demo Board
Document Number
D6540
Friday , January 07, 2011
Rev
4.0
Sheet
2
of
Figure 4-1: Teridian 71M6543 REV 4.0 Demo Board: Electrical Schematic 1/4
Page: 62 of 91
COM0
COM1
COM2
SEGDIO25
SEGDIO24
SEGDIO35
SEGDIO21
SEGDIO20
SEGDIO19
SEGDIO18
SEGDIO17
SEGDIO16
SEGDIO15
SEGDIO14
SEGDIO13
SEGDIO12
SEGDIO11
SEGDIO29
SEGDIO30
SEGDIO22
SEGDIO31
SEGDIO32
SEGDIO44
SEGDIO33
SEGDIO34
SEGDIO43
SEGDIO40
SEGDIO42
V3P3SY S
UART_TX
UART_RX_ISO
GND
8
7
6
5
ADUM3201
0
Title
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
USB Connector, straight
1
2
3
4
C55
R9
R10
R11
C70
LCD VLS-6648
+5V
R109
10K
C1
LCD
24
23
22
21
20
19
18
17
GND
100
0.1uF
AGND
NC
CBUS0
CBUS1
GND
VCC
RESET#
GND
V3P3SY S
SEGDIO52
GND
CS
CLK
DI
DO
V3P3D
OPT_RX
OPT_TX
GND
V3P3SY S
1
2
3
4
C59
Q1
100pF BP103
R79
OPT_TX
COM3
COM4
COM5
X5,1E,1F,7F,13F,13E
FE,13G,13D
7D,13A,13C
7C,13B,DP13
7G,14F,14E
7B,14G,14D
7A,14A,14C
DP7,14B,DP14
8F,15F,15E
8E,15G,15D
8D,15A,15C
8C,15B,DP15
8G,16F,16E
8B,16G,16D
8A,16A,16C
DP8,16B,DP16
9F,17F,17E
9E,17G,17D
9D,17A,17C
9G,17B,DP17
9C,18F,18E
9A,18G,18D
X7,X8,X6,9B,18A,18C
DP9,18B,DP18
X15,10E,10F,X9,X16,X22
GND_USB
C77
GND
OPT_RX
LD274
U8
SEGDIO54
U9
2
HDR2X1
R12
100K
GND
ADC9
1
V3P3D
R107
10K
D7
COM3
1
COM4
2
COM5
3
SEGDIO284
SEGDIO255
SEGDIO246
SEGDIO357
SEGDIO218
SEGDIO209
SEGDIO19
10
SEGDIO18
11
SEGDIO17
12
SEGDIO16
13
SEGDIO15
14
SEGDIO14
15
SEGDIO13
16
SEGDIO12
17
SEGDIO11
18
SEGDIO29
19
SEGDIO30
20
SEGDIO22
21
SEGDIO31
22
SEGDIO32
23
SEGDIO33
24
SEGDIO34
25
SEGDIO23
26
SEGDIO40
27
SEGDIO41
28
GND
0.1uF
HDR2X1
ADC8
GND
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
1
76
77
78
79
80
81
ADC10
82
ADC9
83
ADC8
84
85
ADC1
86
ADC0
87
VREF
88
89
PB
90
91
TMUXOUT
92
TMUX2OUT 93
94
SEGDIO44
95
SEGDIO43
96
SEGDIO42
97
SEGDIO41
98
SEGDIO40
99
SPI_CK
100
C26
0.1uF
19
17
15
13
11
9
7
5
3
1
J14
R142
10K
TP3
TP2
R108
10K
U5
XIN
NC
NC
GNDA
VBAT_RTC
VBAT
V3P3SYS
IADC2
IADC3
IADC4
IADC5
IADC6
IADC7
GNDD3
V3P3D
VDD
ICE_E
E_RXTX/SEG48
E_TCLK/SEG49
E_RST/SEG50
RX
TX
OPT_TX/SEGDIO51
SEGDIO52
SEGDIO53
XTAL_GND
L16
32.768KHz
V3P3SY S
SPI_DI/SEGDIO38
SPI_DO/SEGDIO37
SPI_CSZ/SEGDIO36
SEGDIO35
SEGDIO34
SEGDIO33
SEGDIO32
SEGDIO31
SEGDIO30
SEGDIO29
SEGDIO28
COM0
COM1
COM2
COM3
SEGDIO27/COM4
SEGDIO26/COM5
SEGDIO25
SEGDIO24
SEGDIO23
SEGDIO22
SEGDIO21
SEGDIO20
SEGDIO19
SEGDIO18
C25
10pF
JP3
SEGDIO53
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
XTAL_GND
XIN
Y1
SW4
1K
SPI_DI
SPI_DO
SPI_CSZ
SEGDIO35
SEGDIO34
SEGDIO33
SEGDIO32
SEGDIO31
SEGDIO30
SEGDIO29
SEGDIO28
COM0
COM1
COM2
COM3
COM4
COM5
SEGDIO25
SEGDIO24
SEGDIO23
SEGDIO22
SEGDIO21
SEGDIO20
SEGDIO19
SEGDIO18
C24
15pF
2
Note: Place
C24, C25, Y1
close to U5
ICE_EN
C49
1000pF
GND
R2
C62 GND
0.1uF
DNP
PULSE OUTPUTS
22pF
GND
C50
1000pF
R77
100K
GND
C47
10uF
2
HDR2X1
22pF
33
C45
10uF
GND
1
2
3
C30
SLUG
C36
1000pF
GND
J1
+
V3P3D
10K
JP7
C31
9
10
11
12
13
14
15
16
1
2
3
+
HDR2X1
C28
0.1uF
C57
1000pF
32
31
30
29
28
27
26
25
V3P3SY S
1
VPULSE
RTS#
DTR#
TXD
NC
OSCO
OSCI
TEST
NC
GND
XPULSE
Y PULSE
GND
DIO5
VARS
20
18
16
14
12
10
8
6
4
2
E_RXTX
E_TCLK
E_RST
2
HDR2X1R76
2
D6
V3P3SY S
ICE Header
5
6
BT3
BATTERY
JP8
GND
EMULATOR I/F
R15 R16 R17
62 62 62
V3P3D
CBUS4
CBUS2
CBUS3
NC
NC
USBDP
USBDM
3V3OUT
BT2
BATTERY
1
WPULSE
10K
1
GND
C60
0.1uF
R74
2
1
BT1
BATTERY
V3P3SY S 1
V2P5
ICE_EN
E_RXTX
E_TCLK
E_RST
UART_RX
UART_TX
OPT_TX
SEGDIO52
C43
1000pF
+
C61
1000pF
+
C19
0.1uF
V3P3SY S
2
1
V3P3SY S
2
1
VBAT
2
1
2
1
VBAT_RTC
DIO4
WATTS
5
6
D5
V3P3SY S 1
J13
J12
v5
5
71M6543 Demo Board User’s Manual
L17
NEUTRAL
C53
1000pF
1
From NEUTRAL
terminal.
2
C46
R139
1.5
C35
2.2uF
1.5KE350A
D17
C6
10uF
U6
C27
0.1uF
1
2
4
L8
180uH
C5
0.1uF
4.02K
S4
S3
S2
S1
BP
FB
D
8
7
6
5
+
C7
10uF
C44
1000pF
D9
ES1J
JP6
LNK304-TN
2
1
2
1
R148
820
5VDC
D8
S1J
R111
+
*
+
0.03 uF
C54
R110
L_RECT
V3P3SY S
Ferrite Bead 600ohm
0.1uF
DNP
2K
+ C2
22uF
R20
U1
8.06K
1
2
3
TL431
C42
1000pF
JP20
+
R21
25.5K
C39
100uF
L18
Ferrite Bead 600ohm
GND
R149
68
R152
68
1
NEUTRAL
VA_IN
J4
1
R141
1
VA_IN
R8
75K
DNP
2
RV1
VARISTOR
100
R140
D12
3.4K
S1J
VA_IN
1
NEUTRAL
VB_IN
J6
1
R73
1
VB_IN
R7
75K
DNP
2
RV2
VARISTOR
100
R146
D13
3.4K
S1J
VB_IN
1
NEUTRAL
2
RV3
VARISTOR
VC_IN
J8
1
VC_IN
1
R6
75K
DNP
R6, R7, R8 can be used to
generate a virtual neutral.
R65
R147
D14
100
3.4K
S1J
VC_IN
JP4
2
1
2
1
GND
NEUTRAL
V3P3SY S
NEUTRAL
Title
Size
B
Date:
71M6543 Meter Demo Board
Document Number
D6543
Wednesday , December 15, 2010
Rev
4.0
Sheet
3
of
Figure 4-2: Teridian 71M6543 REV 4.0 Demo Board: Electrical Schematic 2/4
Page: 63 of 91
v5
5
71M6543 Demo Board User’s Manual
IAP_IN
1
2
IA_IN
IAN_IN
1
2
J17
0 Ohm
L9
R27
R26
3.4
3.4
DNP
DNP
100 PPM 100 PPM
0 Ohm
Population Options:
Part
71M6xxx
CT Option
R26, R27
DNP
3.4 Ohm 1206 (100 PPM), or R89 499
R26,R27,R32 DNP
5.1 Ohm MELF (50 PPM)
R89, R90
499 Ohm
10 kOhm
C48
R97, R92
DNP
750 Ohm
1000pF
R32
C48,
C58
1,000pF
1,000 pF
3.4
DNP
R91
DNP
0 Ohm
100 PPM U15
71M6103
DNP
C58
T4
MidCom-56 DNP
1000pF
R90 499
C17
1 uF
DNP
R97
U15
5
TMUX GND
6
7
8
INP
SN
INN
SP
TEST VCC
750 DNP
4
750110056
4
3
3
1
6
* T4
1
2
IB_IN
IBN_IN
1
2
J18
2
1
1
*
0 Ohm
ADC2
Alternative footprint option for
Midcom 750110057 (8 kV) to
be provided on daughter boards.
C17
1uF
C29
1000pF
DNP
IA
750 DNP
V3P3SY S
0 DNP
5
499
R34
3.4
DNP
100 PPM
7
8
C67
1000pF
0 Ohm
TMUX GND
6
C65
1000pF
R98
U16
R93
L6
R29
R28
3.4
3.4
DNP
DNP
100 PPM 100 PPM
IADC2/IADC3 PINS
71M6103-8SOIC
GND_R6000_A
R91
Population options for R29, R28, R24, etc.
w hen using CTs:
2 x 3.4 Ohm, 100 PPM - Vishay/Dale CRCW12063R40FKEA,
Digi-Key P/N 541-3.40FFCT-ND (1206), or
3 x 5.1 Ohm, 50 PPM - Vishay/Dale SMM02040C5108FB300,
Mouser P/N 71-SMM02040C5108FB30
2
1
J22
R92
This channel used for Phase A sensors.
R97, R92, R91, etc. are through-hole
1/8 W parts in order to provide enough
pin-to-pin distance to accommodate the
clearance and creepage required.
ADC3
1.08 : 1
2
L10
IBP_IN
C32
1000pF
DNP
INP
SN
INN
SP
TEST VCC
4
C38
1000pF
DNP
750110056
3
ADC5
2
1
6
* T5
2
1
1
*
2
1
IADC4/IADC5 PINS
J23
71M6103-8SOIC
R94
ADC4
C34
1uF
GND_R6000_B
L7
750 DNP
4
3
R99
499
750 DNP
R100
This channel used for Phase B sensors.
C37
1000pF
DNP
IB
0 DNP
U17
R95
ICP_IN
1
2
IC_IN
ICN_IN
1
2
J20
499
0 Ohm
L4
R31
R30
3.4
3.4
DNP
DNP
100 PPM 100 PPM
R35
3.4
DNP
100 PPM
TMUX GND
6
8
INP
SN
INN
SP
TEST VCC
750 DNP
4
R96
GND_R6000_C
L5
3
6*
1
1
2
ADC6
R112
INN_IN
C40
1000pF
DNP
IC
0 DNP
R14
750
R81
10K
R24
R36
3.4
3.4
100 PPM DNP
100 PPM
IN_IN
IADC6/IADC7 PINS
J24
750 DNP
R101
L2
1
2
2
1
1*
T6
2
1
C56
1uF
499
0 Ohm
INP_IN
ADC7
2
This channel used for Phase C sensors.
J3
C41
1000pF
DNP
750110056
4
3
71M6103-8SOIC
C69
1000pF
0 Ohm
5
7
C68
1000pF
R102
R25
3.4
100 PPM
L3
0 Ohm
ADC0
C14
1000pF
R82
10K
C66
GND
0.1uF
J25
1
2
1
2
IACP/IAN PINS
ADC0/ADC1
Isolation Barrier
GND
C8
1000pF
R54
750
ADC1
Title
Size
B
This channel used for NEUTRAL. No isolation, and no rem ote sensor.
Date:
71M6543 Meter Demo Board
Document Number
D6543
Thursday , January 06, 2011
Rev
4.0
Sheet
4
of
Figure 4-3: Teridian 71M6543 REV 4.0 Demo Board: Electrical Schematic 3/4
Page: 64 of 91
v5
5
71M6543 Demo Board User’s Manual
NEUTRAL
J9
1
1
If high-precision Rs are not available, use:
Vishay P/N RN65D2004FB14
Mouser P/N 71-RN65D-F-2.0M
TC = 100 PPM/C
NEUTRAL
NEUTRAL
VOLTAGE
CONNECTIONS
VA_IN
VA_IN
R66
VB_IN
R63
VC_IN
R47
R39
VADC8 PIN
Ferrite Bead 600ohm
270K
R62
270K
R46
4.7K
R38
L13
R33
750
C9
1000pF
J11
1
2
1
2
VADC9 PIN
Ferrite Bead 600ohm
ADC9
2M
VC_IN
GND
ADC8
2M
VB_IN
R64
C15
1000pF
R61
2M
270K
R60
270K
270K
R59
270K
4.7K
R58
4.7K
L12
R52
750
Ferrite Bead 600ohm
L11
R72
750
C11
1000pF
1
2
1
2
J15
VADC10 PIN
ADC10
C13
1000pF
ADC10
1
2
J16
1
2
V3P3SY S
GND
Title
Size
A
Date:
Document Number
DB6543
Wednesday , December 15, 2010
Rev
4.0
Sheet
5
of
5
Figure 4-4: Teridian 71M6543 REV 4.0 Demo Board: Electrical Schematic 4/4
Page: 65 of 91
v5
71M6543 Demo Board User’s Manual
4.2 71M6543 DEMO BOARD REV 5.0 ELECTRICAL SCHEMATIC
Pull JP53 for BRN
measurements.
JP53current
1
2
C52
1000pF
C22
0.1uF
C51
0.1uF
GND
Ferrite Bead 600ohm
V3P3SY S
R1
VBAT
VLCD
C64
0.1uF
C63
0.1uF
VLCD
SW3
1K
R4
C18
0.1uF
SW5
100
GND
C21
0.1uF
R103
10K
GND
R106
1K
TP1
GND
SERIAL EEPROM
GND
A0
A1
A2
GND
VCC
WP
SCL
SDA
SER EEPROM
SPI_DI
SPI_DO
SPI_CK
SPI_CSZ
V3P3D
1
3
5
7
9
J19
2
4
6
8
10
HDR5X2
2
HDR2X1
U4
1
2
3
4
1
C20
0.1uF
8
7
6
5
GND
TMUXOUT
TMUX2OUT
V3P3D
1
JP54
2
SDCK
HDR2X1
R104
10K
R105
10K
V3P3D
1
JP55
2
SDATA
XTAL_GND
GND
VBAT_RTC
VBAT
V3P3SYS
ADC2
ADC3
ADC4
ADC5
ADC6
ADC7
GND
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
1
76
77
78
79
80
81
ADC10
82
ADC9
83
ADC8
84
85
ADC1
86
ADC0
87
VREF
88
89
PB
90
91
TMUXOUT
92
TMUX2OUT 93
94
SEGDIO44
95
SEGDIO43
96
SEGDIO42
97
SEGDIO41
98
SEGDIO40
99
SPI_CK
100
XOUT
NC
NC
NC
GNDA_K
TEST
VADC10
VADC9
VADC8
V3P3A_K
IADC1
IADC0
VREF
VLCD
PB
RESET
TMUXOUT/SEG47
TMUX2OUT/SEG46
SEGDIO45
SEGDIO44
SEGDIO43
SEGDIO42
SEGDIO41
SEGDIO40
SPI_CK/SEGDIO39
71M6543-100TQFP
GND
1K
NC
NC
NC
SEGDIO54
OPT_RX/SEGDIO55
WPULSE
VPULSE
SDCK
SDATA
SEGDIO4
NC
SEGDIO5
SEGDIO6
SEGDIO7
SEGDIO8
SEGDIO9
SEGDIO10
SEGDIO11
SEGDIO12
SEGDIO13
SEGDIO14
SEGDIO15
SEGDIO16
SEGDIO17
NC
HDR2X1
JP51
2
HDR2X1
SEGDIO54
OPT_RX
WPULSE
VPULSE
SDCK
SDATA
SEGDIO4
ADC1
ADC3
ADC5
ADC7
ADC10
ADC0
ADC2
ADC4
ADC6
GND
CS
CLK
DI
DO
R138
10K
JP44
8
7
6
5
VCC
PE
ORG
VSS
1
2
3
SER EEPROM (uWire)
V3P3D
1 JP52 2
GND
HDR2X1
XPULSE
Y PULSE
SEGDIO8
SEGDIO9
SEGDIO10
SEGDIO11
SEGDIO12
SEGDIO13
SEGDIO14
SEGDIO15
SEGDIO16
SEGDIO17
R144
10K
10K
V3P3D
SEGDIO8
GND
100
R151
R143
JP1
1
2
3
+5V_USB 1
RX_USB 2
3
GND_USB 4
5
6
7
8
JP2
R150
1
2
3
4
5
GND
U2
VCCIO
RXD
RI#
GND
NC
DSR#
DCD#
CTS#
BIT BANG HDR
UART 1
10K
JP45
1
2
3
R13 GND
100K
FT232RQ
SEGDIO10
J21
1
3
5
7
9
11
13
15
2
4
6
8
10
12
14
16
HDR8X2
1000pF
1
V3P3D
TMUX2OUT
TMUXOUT
UART_TX
62
62
62
1
2
+5V_USB
RX_USB
TX_USB
GND_USB
GND_USB
COM0
COM1
COM2
1D,1G,1A
DP1,1C,1B
DP2,2E,2F
2D,2G,2A
DP0,2C,2B
X4,3E,3F
3D,3G,3A
DP3,3C,3B
X3,4E,4F
4D,4G,4A
DP4,4C,4B
X2,5E,5F
5D,5G,5A
DP5,5C,5B
X1,6E,6F
6D,6G,6A
DP6,6C,6B
10D,10G,10A
DP10,10C,10B
X13,11E,11F,X10,X17,X18
11D,11G,11A
DP11,11C,11B
X14,12E,12F,X12,X21
12D,12G,12A
DP12,12C,12B,X11,X20,X19
1
2
3
4
U3
VDD1VDD2
VOA
VIA
VIB
VOB
GND1GND2
JP5
C74
2
UART_RX_ISO
0.1uF
HDR2X1
UART_RX
GND
R19
100pF
Size
B
Date:
C71
0.1uF
GND
D10
TX&RXLED
+5V_USB
1K
LED
GND_USB
VBUS
D- USB-B
D+
GND
CN1
R18
L1
+5V_USB
Ferrite Bead 600ohm
C73
C72
C3
0.01uF
0.1uF
4.7uF
GND_USB
71M6543 Meter Demo Board
Document Number
D6540
Friday , January 07, 2011
Rev
5.0
Sheet
1
of
Figure 4-5: Teridian 71M6543 REV 5.0 Demo Board: Electrical Schematic 1/4
Page: 66 of 91
COM0
COM1
COM2
SEGDIO25
SEGDIO24
SEGDIO35
SEGDIO21
SEGDIO20
SEGDIO19
SEGDIO18
SEGDIO17
SEGDIO16
SEGDIO15
SEGDIO14
SEGDIO13
SEGDIO12
SEGDIO11
SEGDIO29
SEGDIO30
SEGDIO22
SEGDIO31
SEGDIO32
SEGDIO44
SEGDIO33
SEGDIO34
SEGDIO43
SEGDIO40
SEGDIO42
V3P3SY S
UART_TX
UART_RX_ISO
GND
8
7
6
5
ADUM3201
0
Title
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
USB Connector, straight
1
2
3
4
C55
R9
R10
R11
C70
LCD VLS-6648
+5V
R109
10K
C1
LCD
24
23
22
21
20
19
18
17
GND
100
0.1uF
AGND
NC
CBUS0
CBUS1
GND
VCC
RESET#
GND
V3P3SY S
GND
V3P3SY S
1
2
3
4
C59
Q1
100pF BP103
R79
OPT_TX
COM3
COM4
COM5
X5,1E,1F,7F,13F,13E
FE,13G,13D
7D,13A,13C
7C,13B,DP13
7G,14F,14E
7B,14G,14D
7A,14A,14C
DP7,14B,DP14
8F,15F,15E
8E,15G,15D
8D,15A,15C
8C,15B,DP15
8G,16F,16E
8B,16G,16D
8A,16A,16C
DP8,16B,DP16
9F,17F,17E
9E,17G,17D
9D,17A,17C
9G,17B,DP17
9C,18F,18E
9A,18G,18D
X7,X8,X6,9B,18A,18C
DP9,18B,DP18
X15,10E,10F,X9,X16,X22
GND_USB
SEGDIO54
U9
2
OPT_RX
LD274
U8
C77
GND
V3P3D
V3P3D
OPT_RX
OPT_TX
SEGDIO52
GND
ADC9
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
SDCK1
R12
100K
HDR2X1
ADC8
1
JP50
R107
10K
D7
COM3
1
COM4
2
COM5
3
SEGDIO284
SEGDIO255
SEGDIO246
SEGDIO357
SEGDIO218
SEGDIO209
SEGDIO19
10
SEGDIO18
11
SEGDIO17
12
SEGDIO16
13
SEGDIO15
14
SEGDIO14
15
SEGDIO13
16
SEGDIO12
17
SEGDIO11
18
SEGDIO29
19
SEGDIO30
20
SEGDIO22
21
SEGDIO31
22
SEGDIO32
23
SEGDIO33
24
SEGDIO34
25
SEGDIO23
26
SEGDIO40
27
SEGDIO41
28
GND
0.1uF
R137
19
17
15
13
11
9
7
5
3
1
J14
TP3
U5
XIN
NC
NC
GNDA
VBAT_RTC
VBAT
V3P3SYS
IADC2
IADC3
IADC4
IADC5
IADC6
IADC7
GNDD3
V3P3D
VDD
ICE_E
E_RXTX/SEG48
E_TCLK/SEG49
E_RST/SEG50
RX
TX
OPT_TX/SEGDIO51
SEGDIO52
SEGDIO53
XTAL_GND
L16
32.768KHz
TP2
R108
10K
C26
0.1uF
GND
V3P3SY S
SPI_DI/SEGDIO38
SPI_DO/SEGDIO37
SPI_CSZ/SEGDIO36
SEGDIO35
SEGDIO34
SEGDIO33
SEGDIO32
SEGDIO31
SEGDIO30
SEGDIO29
SEGDIO28
COM0
COM1
COM2
COM3
SEGDIO27/COM4
SEGDIO26/COM5
SEGDIO25
SEGDIO24
SEGDIO23
SEGDIO22
SEGDIO21
SEGDIO20
SEGDIO19
SEGDIO18
C25
10pF
JP3
SEGDIO53
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
XTAL_GND
XIN
Y1
SW4
1K
SPI_DI
SPI_DO
SPI_CSZ
SEGDIO35
SEGDIO34
SEGDIO33
SEGDIO32
SEGDIO31
SEGDIO30
SEGDIO29
SEGDIO28
COM0
COM1
COM2
COM3
COM4
COM5
SEGDIO25
SEGDIO24
SEGDIO23
SEGDIO22
SEGDIO21
SEGDIO20
SEGDIO19
SEGDIO18
C24
15pF
2
Note: Place
C24, C25, Y1
close to U5
ICE_EN
R142
10K
C49
1000pF
GND
R2
C62 GND
0.1uF
DNP
PULSE OUTPUTS
22pF
GND
C50
1000pF
R77
100K
GND
C47
10uF
2
HDR2X1
22pF
32
31
30
29
28
27
26
25
C45
10uF
GND
1
2
3
C30
33
C36
1000pF
GND
J1
+
10K
C31
SLUG
1
2
3
+
V3P3D
C57
1000pF
9
10
11
12
13
14
15
16
XPULSE
Y PULSE
GND
HDR2X1
C28
0.1uF
VPULSE
RTS#
DTR#
TXD
NC
OSCO
OSCI
TEST
NC
V3P3SY S
1
20
18
16
14
12
10
8
6
4
2
E_RXTX
E_TCLK
E_RST
2
JP7
ICE Header
CBUS4
CBUS2
CBUS3
NC
NC
USBDP
USBDM
3V3OUT
GND
JP8
V3P3SY S
GND
EMULATOR I/F
R15 R16 R17
62 62 62
V3P3D
HDR2X1R76
2
D6
DIO5
VARS
BT3
BATTERY
1
WPULSE
10K
1
BT2
BATTERY
V3P3SY S 1
R74
2
1
2
1
C60
0.1uF
BT1
BATTERY
GND
V3P3SY S
V2P5
ICE_EN
E_RXTX
E_TCLK
E_RST
UART_RX
UART_TX
OPT_TX
SEGDIO52
C43
1000pF
+
C61
1000pF
+
C19
0.1uF
2
1
2
1
VBAT_RTC
V3P3SY S
2
1
VBAT
DIO4
WATTS
5
6
J13
5
6
D5
V3P3SY S 1
J12
v5
3
71M6543 Demo Board User’s Manual
L17
NEUTRAL
C53
1000pF
1
From NEUTRAL
terminal.
2
C46
R139
1.5
C35
2.2uF
1.5KE350A
D17
C6
10uF
U6
C27
0.1uF
1
2
4
L8
180uH
C5
0.1uF
4.02K
S4
S3
S2
S1
BP
FB
D
8
7
6
5
+
C7
10uF
C44
1000pF
D9
ES1J
JP6
LNK304-TN
2
1
2
1
R148
820
5VDC
D8
S1J
R111
+
*
+
0.03 uF
C54
R110
L_RECT
V3P3SY S
Ferrite Bead 600ohm
0.1uF
DNP
2K
+ C2
22uF
R20
U1
8.06K
1
2
3
TL431
C42
1000pF
JP20
+
R21
25.5K
C39
100uF
L18
Ferrite Bead 600ohm
GND
R149
68
R152
68
1
NEUTRAL
VA_IN
J4
1
R141
1
VA_IN
R8
75K
DNP
2
RV1
VARISTOR
100
R140
D12
3.4K
S1J
VA_IN
1
NEUTRAL
VB_IN
J6
1
R73
1
VB_IN
R7
75K
DNP
2
RV2
VARISTOR
100
R146
D13
3.4K
S1J
VB_IN
1
NEUTRAL
2
RV3
VARISTOR
VC_IN
J8
1
VC_IN
1
R6
75K
DNP
R6, R7, R8 can be used to
generate a virtual neutral.
R65
R147
D14
100
3.4K
S1J
VC_IN
JP4
2
1
2
1
GND
NEUTRAL
V3P3SY S
NEUTRAL
Title
Size
B
Date:
71M6543 Meter Demo Board
Document Number
D6543
Thursday , December 09, 2010
Rev
5.0
Sheet
2
of
Figure 4-6: Teridian 71M6543 REV 5.0 Demo Board: Electrical Schematic 2/4
Page: 67 of 91
v5
3
71M6543 Demo Board User’s Manual
IAP_IN
1
2
IA_IN
IAN_IN
1
2
0 Ohm
L9
J17
0 Ohm
L10
Population Options:
Part
71M6xxx
CT Option
R26, R27
DNP
3.4 Ohm 1206 (100 PPM), or
R26,R27,R32 DNP
5.1 Ohm MELF (50 PPM)
R89, R90
499 Ohm
10 kOhm
C48
R97, R92
DNP
750 Ohm
1000pF
R26
R32
R27
C48,
C58
DNP
1,000 pF
DNP
5.1
5.1
5.1
C29, C32
DNP
1,000 pF
50 PPM 50 PPM 50 PPM R91
DNP
0 Ohm
C58
U15
71M6xxx
DNP
1000pF
DNP
T4
MidCom - 56 DNP
C17
1 uF
DNP
L9, L10
0 Ohm
600 Ohm ferrite
This channel used for Phase A sensors.
IBP_IN
1
2
IB_IN
IBN_IN
1
2
0 Ohm
R29
5.1
R89 10K
R28
5.1
8
50 PPM 50 PPM
INP
SN
INN
SP
TEST VCC
750
4
C32
1000pF
750110056
4
3
3
1
6
* T4
R97, R92, R91, etc. are through-hole
1/8 W parts in order to provide enough
pin-to-pin distance to accommodate the
clearance and creepage required.
ADC3
1.08 : 1
2
DNP
2
1
1
*
2
1
IADC2/IADC3 PINS
J22
ADC2
71M6103-8SOIC
R90 10K
C17
1uF
DNP
DNP
GND_R6000_A
R92
R91
C29
1000pF
IA
750
Alternative footprint option for
Midcom 750110057 (8 kV) to
be provided on daughter boards.
V3P3SY S
0
5
10K
50 PPM
TMUX GND
6
7
8
INP
SN
INN
SP
TEST VCC
750
4
3
4
ADC5
2
1
6
* T5
2
1
1
*
2
1
IADC4/IADC5 PINS
J23
71M6103-8SOIC
R94
L7
C38
1000pF
750110056
3
DNP
C67
1000pF
DNP
0 Ohm
R98
U16
R93
C65
1000pF
DNP
R34
5.1
TMUX GND
6
7
Population options for R29, R28, R24, etc.
w hen using CTs:
2 x 3.4 Ohm, 100 PPM - Vishay/Dale CRCW12063R40FKEA,
Digi-Key P/N 541-3.40FFCT-ND (1206), or
3 x 5.1 Ohm, 50 PPM - Vishay/Dale SMM02040C5108FB300,
Mouser P/N 71-SMM02040C5108FB30
L6
J18
R97
U15
5
ADC4
C34
1uF
DNP
DNP
GND_R6000_B
10K
R99
This channel used for Phase B sensors.
C37
1000pF
IB
750
R100
0
U17
R95
ICP_IN
1
2
IC_IN
ICN_IN
1
2
10K
0 Ohm
L4
J20
R31
5.1
R30
5.1
50 PPM 50 PPM
R35
5.1
50 PPM
TMUX GND
6
8
INP
SN
INN
SP
TEST VCC
750
4
DNP
R96
GND_R6000_C
L5
3
6*
1
1
2
T6
DNP
2
1
1*
2
1
IADC6/IADC7 PINS
J24
ADC6
C56
1uF
DNP
R112
10K
750
R101
C40
1000pF
IC
0
0 Ohm
INP_IN
ADC7
2
This channel used for Phase C sensors.
J3
C41
1000pF
750110056
4
3
71M6103-8SOIC
C69
1000pF
DNP
0 Ohm
5
7
C68
1000pF
DNP
R102
R14
750
L2
1
2
R81
10K
IN_IN
R24
5.1
R36
5.1
INN_IN
50 PPM50 PPM
ADC0
C14
1000pF
R25
5.1
50 PPM
L3
0 Ohm
R82
10K
C66
GND
0.1uF
J25
1
2
1
2
IACP/IAN PINS
ADC0/ADC1
Isolation Barrier
V3P3SY S
GND
C8
1000pF
R54
750
ADC1
Title
Size
B
This channel used for NEUTRAL. No isolation, and no rem ote sensor.
Date:
71M6543 Meter Demo Board
Document Number
D6543
Thursday , March 24, 2011
Rev
5.0
Sheet
3
of
Figure 4-7: Teridian 71M6543 REV 5.0 Demo Board: Electrical Schematic 3/4
Page: 68 of 91
v5
3
71M6543 Demo Board User’s Manual
NEUTRAL
J9
1
1
If high-precision Rs are not available, use:
Vishay P/N RN65D2004FB14
Mouser P/N 71-RN65D-F-2.0M
TC = 100 PPM/C
NEUTRAL
NEUTRAL
VOLTAGE
CONNECTIONS
C15
1000pF
GND
All Susumu resistors: TC = 25 PPM/C
VA_IN
VA_IN
R66
R64
R47
R39
ADC8
2M
270K
270K
4.7K
L13
TC = 100 PPM/C
VB_IN
VB_IN
R63
VC_IN
R62
R46
R38
270K
270K
4.7K
R33
750
C9
1000pF
J11
1
2
1
2
VADC9 PIN
Ferrite Bead 600ohm
ADC9
2M
VC_IN
VADC8 PIN
Ferrite Bead 600ohm
R61
2M
R60
270K
R59
270K
R58
4.7K
L12
R52
750
Ferrite Bead 600ohm
L11
R72
750
C11
1000pF
1
2
1
2
J15
VADC10 PIN
ADC10
C13
1000pF
ADC10
1
2
J16
1
2
V3P3SY S
GND
Title
Size
A
Date:
Document Number
DB6543
Friday , January 07, 2011
Rev
5.0
Sheet
1
of
1
Figure 4-8: Teridian 71M6543 REV 5.0 Demo Board: Electrical Schematic 4/4
Page: 69 of 91
v5
71M6543 Demo Board User’s Manual
4.3 COMMENTS ON 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:
Positions L4, L5, L6, etc. are replaced with ferrites.
A 10Ω resistor is added across the sensor input.
The two 1,000 pF capacitors from INP to local ground and from INN to local ground are replaced with
10,000 pF or higher value capacitors.
•
•
•
R123
U19
IAP_IN
1
2
IA_IN
IAN_IN
1
2
J30
R115
600 Ohm f errite
L21
R51
10.0
R50
3.4
DNP
600 Ohm f errite
R49
3.4
DNP
R53
3.4
DNP
499
6
7
C83
10,000pF
C84
10,000pF
5
8
TMUX GND
INP
SN
INN
SP
TEST VCC
4
3
750 DNP
750110056
4
3
1.08 : 1
2
1
6
* T8
1
*
71M6103-8SOIC
R117
499
GND_R6000_A
C23
1uF
R121
L22
750 DNP
R118
IA
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)
Item
Q
Reference
Part
1
2
BT1,BT2
BATTERY
2
1
BT3
BATTERY
3
1
4
7
8
9
10
11
12
23 C1,C8,C9,C11,C13,C14,C15,
C36,C42,C43,C44,C48,C49,
C50,C52,C53,C57,C58,C61,
C65,C67,C68,C69
1 C2
18 C3,C5,C18,C19,C20,C21,
C22,C26,C27,C28,C51,C60,
C62,C63,C64,C66,C74,C77
4 C6,C7,C45,C47
3 C17,C34,C56
1 C24
1 C25
6 C29,C32,C37,C38,C40,C41
2 C30,C31
13
1
C35
2.2uF
14
1
C39
100uF
15
1
C46
0.03 uF
16
17
18
19
20
21
22
23
24
25
26
1
2
2
1
1
2
1
4
1
1
1
C54
C55,C59
C70,C71
C72
C73
D5,D6
D7
D8,D12,D13,D14
D9
D10
D17
0.1uF
100pF
0.1uF
0.01uF
4.7uF
LED_1
LD274
S1J
ES1J
LED
1.5KE350A
27
5
JP1,J1,JP3,JP44,JP45
HDR3X1
28
1
JP2
HDR5X1
29
25 TP1,J3,JP4,JP5,JP6,JP7,
5
6
CN1
30
31
1
4
JP8,J11,J12,J13,J15,J16,
J17,J18,J20,J22,J23,J24,
J25,JP50,JP51,JP52,JP53,
JP54,JP55
JP20
J4,J6,J8,J9
32
1
J14
33
1
J19
34
1
J21
35
7
36
37
38
8
1
1
L1,L11,L12,L13,L16,L17,
L18
L2,L3,L4,L5,L6,L7,L9,L10
L8
Q1
39
3
RV1,RV2,RV3
Page: 71 of 91
Footprint
Digi-Key P/N
Mouser P/N
Manufacturer Manufacturer P/N
Tol
Rating HDR DNP
BAT 3 PIN
BARREL
COMBO
BAT CR2032
MAX
DNP
DNP
806-KUSBVXBS1N-W
USB-W
USBV
Kycon
KUSBVX-BS1N-W
1000pF
603
445-1298-1-ND
TDK
C1608X7R2A102K
10%
100V
22uF
0.1uF
SM/CT_3216
603
478-1663-1-ND
445-1314-1-ND
AVX
TDK
TAJA226K010RNJ
C1608X7R1H104K
10%
0.1
10V
50V
10uF
1uF
15pF
10pF
1000pF
22pF
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
478-1654-1-ND
445-1604-1-ND
445-1271-1-ND
445-1269-1-ND
445-1298-1-ND
445-1273-1-ND
AVX
TDK
TDK
TDK
TDK
TDK
TAJA106K010R
C1608X7R1C105K
C1608C0G1H150J
C1608C0G1H100D
C1608X7R2A102K
C1608C0G1H220J
0.1
10%
5%
5%
10%
0.05
10V
16V
50V
50V
100V
50V
493-1227-ND
Nichicon
UVR2G2R2MPD
P963-ND
Panasonic
ECE-A1AKS101
Vishay/BC
125LS30-R
HDR2X1
SWITCHCRAFT
FASTON
RIBBON6513O
ICE Header
UTLINE
BLKCON.100/V
H/TM2OE/W.2
HDR5X2
00/10
BLKCON.100/V
HDR8X2
H/TM2OE/W.2
00/16
Ferrite Bead 600oh805
SWITCHCRAFT
Spade Terminal
0 Ohm
180uH
BP103
VARISTOR
805
RFB0807
LED6513
MOV CPS
2381594
75-125LS30-R
DNP
400V
20%
10V
1000V
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
TDK
C1608X7R1H104K
TDK
C1608C0G1H101J
AVX Corporatio 08055C104MAT2A
AVX Corporatio 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
S1011E-36-ND
Sullins
PBC36SAAN
0.1
S1011E-36-ND
Sullins
PBC36SAAN
0.2
S1011E-36-ND
Sullins
PBC36SAAN
0.1
SC237-ND
A24747CT-ND
Switchcraft Inc.RAPC712X
Tyco/AMP
62395-1
A33555-ND
571-5-104068Tyco/AMP
1
0.1
5%
20%
0.1
0.1
50V
50V
50V
50V
25V
DNP
5-104068-1
S2011E-36-ND
Sullins
PBC36DAAN
0.2
S2011E-36-ND
Sullins
PBC36DAAN
0.3
445-1556-1-ND
TDK
MMZ2012S601A
0.5A
RMCF0805ZT0R00CT-ND
Stackpole
CoilCraft
Osram
RMCF0805ZT0R00
RFB0807-181L
SFH 300-3/4
0.5A
475-1437-ND
594-2381-594AVX
55116
DNP
2381 594 55116
v5
71M6543 Demo Board User’s Manual
Table 4-2: 71M6543 REV 4.0 Demo Board: Bill of Material (2/2)
Item
Q
Reference
Part
Footprint
Digi-Key P/N
40
41
2
1
R1,R2
R4
1K
100
541-1.0KACT-ND
541-100ACT-ND
42
3
R6,R7,R8
75K
43
44
45
46
47
48
49
50
51
6
2
5
1
3
1
1
2
10
62
100K
750
0
1K
8.06K
25.5K
3.4
3.4
52
53
3
6
R9,R10,R11,R15,R16,R17
R12,R13
R14,R33,R52,R54,R72
R18
R19,R106,R137
R20
R21
R24,R25
R26,R27,R28,R29,R30,R31,
R32,R34,R35,R36
R38,R39,R58
R46,R47,R59,R60,R62,R64
805
805
AXLE FLAME
UPRIGHT
603
603
805
1206
603
805
805
1206
1206
4.7K
270K
RG20P4.7KBCT-ND
RG20P270KBCT-ND
TDK
Susumu
RG2012P-472-B-T5
RG2012P-274-B-T5
54
3
R61,R63,R66
2M
Vishay/Dale
RN65D2004FB14
55
3
R65,R73,R141
100
100W-2-ND
Yageo
RSF200JB-100R
56
57
5
8
10K
10K
P10.0KHCT-ND
541-10KACT-ND
Panasonic
Vishay/Dale
ERJ-3EKF1002V
CRCW080510K0JNEA
58
59
60
61
62
1
2
6
3
6
100K
100
499
0
750
603
603
603
RES_TH_500
RES_TH_500
541-10KACT-ND
P100GCT-ND
P499HCT-ND
0.0EBK-ND
Panasonic
Panasonic
Panasonic
Yageo
Xicon
ERJ-3GEYJ104V
ERJ-3GEYJ101V
ERJ-3EKF4990V
ZOR-12-B-52
270-750-RC
5%
5%
1%
1%
1%
63
64
65
66
67
1
1
2
1
3
R74,R103,R109,R142,R144
R76,R81,R82,R104,R105,
R107,R108,R151
R77
R79,R150
R89,R90,R93,R94,R95,R96
R91,R100,R101
R92,R97,R98,R99,R102,
R112
R110
R111
R138,R143
R139
R140,R146,R147
805
805
AXLE FLAME
UPRIGHT
AXLE FLAME
UPRIGHT
603
805
2K
4.02K
10K
1.5
3.4K
603
603
603
1206
805
AXLE FLAME
UPRIGHT
1206
PB
TESTPOINTSMA
LL
P2.00KHCT-ND
P4.02KHCT-ND
P10.0KHCT-ND
541-1.5ECT-ND
541-3.40KCCT-ND
Panasonic
Panasonic
Panasonic
Vishay/Dale
Vishay/Dale
ERJ-3EKF2001V
ERJ-3EKF4021V
ERJ-3EKF1002V
CRCW12061R50JNEA
CRCW08053K40FKEA
1% 0.1W
1% 0.1W
1% 0.1W
5% 0.25W
1% 0.125W
68
1
R148
820
69
70
2
3
R149,R152
SW3,SW4,SW5
68
PB
71
2
TP2,TP3
TESTPOINT
72
3
T4,T5,T6
750110056
XFORM/56
6543
73
1
U1
TL431
SO8-NARROW
74
1
U2
75
76
1
1
U3
U4
77
1
U5
78
79
80
81
82
1
1
1
3
1
U6
U8
U9
U15,U16,U17
Y1
Page: 72 of 91
32QFNW/NO
FT232RQ
SPT
SO8-NARROW
ADUM3201
SO8-NARROW
SER EEPROM
IC149
71M6543-100TQFP
100TQFP_SS
SO8-NARROW
LNK304-TN
LCD VLS-6648
LCD VLS-6648
SER EEPROM (uWireSO8-NARROW
71M6103-8SOIC SO8-NARROW
32.768KHz
XTAL-ECS-39
Mouser P/N
Manufacturer Manufacturer P/N
Tol
Vishay/Dale
Vishay/Dale
CRCW08051K00JNEA
CRCW0805100RJNEA
5% 0.125W
5% 0.125W
75KW-2-ND
Yageo
RSF200JB-75K
P62GCT-ND
P100KGCT-ND
RR12P750DCT-ND
RHM0.0ECT-ND
P1.00KHCT-ND
RHM8.06KCCT-ND
P25.5KCCT-ND
541-3.40FFCT-ND
541-3.40FFCT-ND
Panasonic
ERJ-3GEYJ620V
Panasonic
ERJ-3GEYJ104V
Susumu
RR1220P-751-D
Rohm SemicondMCR18EZHJ000
Panasonic
ERJ-3EKF1001V
Rohm
MCR10EZHF8061
Panasonic
ERJ-6ENF2552V
Vishay/Dale CRCW08053R40FNEA
Vishay/Dale CRCW08053R40FNEA
71-RN65D-F2.0M
270-750-RC
Rating HDR DNP
5%
2W
DNP
5%
5%
0.01
0.05
1%
1%
1%
1%
0.01
0.1W
0.1W
0.1W
0.25W
0.1W
0.125W
0.125W
0.125W
0.125W
DNP
0% 0.125W
0% 0.125W
0.01 0.5W
5%
2W
0.01 0.1W
5% 0.125W
0.1W
0.1W
0.1W
0.1W
0.1W
P820W-2BK-ND
Panasonic
ERG2SJ821
5%
P68.0FTR-ND
P13598SCT-ND
Panasonic
Panasonic
ERJ-8ENF68R0V
EVQ-PNF05M
1% 0.25W
5011K-ND
KEYSTONE
5011
Midcom
750110056
296-1288-1-ND
Kycon
93LC76C-I/SN-ND
DNP
2W
KUSBVX-BS1N-W
Analog Devices ADUM3201ARZ
ATMEL
AT24C1024BW-SH25-B
Teridian
596-1237-1-ND
DNP
DNP
Texas Instrume TL431AIDR
806-KUSBVXBS1N-W
ADUM3201ARZ-ND
AT24C1024BW-SH25-B-ND
DNP
71M6540F-IGT/F
Power Integrat LNK304DG-TL
VARITRONIX
VL_6648_V00
MICROCHIP
93LC76CT-I/SN
Maxim
71M6103-IL/F
Suntsu
SPC6-32.768KHZ TR
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)
Item
Q
Reference
Part
1
2
BT1,BT2
BATTERY
2
1
BT3
BATTERY
3
4
1 CN1
USB-B
23 C1,C8,C9,C11,C13,C14,C15, 1000pF
C29,C32,C36,C37,C38,C40,
C41,C42,C44,C49,C50,C52,C53,
C57,C61
1 C2
22uF
18 C3,C5,C18,C19,C20,C21,
0.1uF
C22,C26,C27,C28,C51,C60,
C62,C63,C64,C66,C74,C77
4 C6,C7,C45,C47
10uF
3 C17,C34,C56
1uF
1 C24
15pF
1 C25
10pF
2 C30,C31
22pF
6 C48,C58,C65,
1000pF
C67,C68,C69
5
6
7
8
9
10
11
12
13
1
C35
2.2uF
14
1
C39
100uF
15
1
C46
0.03 uF
16
17
18
19
20
21
22
23
24
25
26
1
2
2
1
1
2
1
4
1
1
1
C54
C55,C59
C70,C71
C72
C73
D5,D6
D7
D8,D12,D13,D14
D9
D10
D17
0.1uF
100pF
0.1uF
0.01uF
4.7uF
LED_1
LD274
S1J
ES1J
LED
1.5KE350A
27
5
JP1,J1,JP3,JP44,JP45
HDR3X1
28
1
JP2
HDR5X1
29
25 TP1,J3,JP4,JP5,JP6,JP7,
30
31
1
4
JP8,J11,J12,J13,J15,J16,
J17,J18,J20,J22,J23,J24,
J25,JP50,JP51,JP52,JP53,
JP54,JP55
JP20
J4,J6,J8,J9
32
1
J14
33
1
J19
34
1
J21
35
36
37
15 L1,L2,L3,L4,L5,L6,L7,L9,
L10,L11,L12,L13,L16,L17,
L18
1 L8
1 Q1
38
3
RV1,RV2,RV3
Page: 73 of 91
HDR2X1
Footprint
445-1298-1-ND
SM/CT_3216
603
478-1663-1-ND
445-1314-1-ND
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
RIBBON6513O
ICE Header
UTLINE
BLKCON.100/V
H/TM2OE/W.2
HDR5X2
00/10
BLKCON.100/V
HDR8X2
H/TM2OE/W.2
00/16
Ferrite Bead 600oh805
SWITCHCRAFT
Spade Terminal
180uH
BP103
VARISTOR
Digi-Key P/N
BAT 3 PIN
BARREL
COMBO
BAT CR2032
MAX
USBV
603
RFB0807
LED6513
MOV CPS
2381594
Mouser P/N
Manufacturer Manufacturer P/N
Tol
Rating HDR DNP
DNP
DNP
806-KUSBVX-BS1Kycon
TDK
KUSBVX-BS1N-W
C1608X7R2A102K
10%
100V
AVX
TDK
TAJA226K010RNJ
C1608X7R1H104K
10%
0.1
10V
50V
478-1654-1-ND
445-1604-1-ND
445-1271-1-ND
445-1269-1-ND
445-1273-1-ND
445-1298-1-ND
AVX
TDK
TDK
TDK
TDK
TDK
TAJA106K010R
C1608X7R1C105K
C1608C0G1H150J
C1608C0G1H100D
C1608C0G1H220J
C1608X7R2A102K
0.1
10%
5%
5%
5%
0.1
10V
16V
50V
50V
50V
100V
493-1227-ND
Nichicon
UVR2G2R2MPD
P963-ND
Panasonic
ECE-A1AKS101
Vishay/BC
125LS30-R
75-125LS30-R
DNP
DNP
400V
0.2
10V
1000V
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
TDK
C1608X7R1H104K
TDK
C1608C0G1H101J
AVX Corporatio 08055C104MAT2A
AVX Corporatio 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
S1011E-36-ND
Sullins
PBC36SAAN
0.1
S1011E-36-ND
Sullins
PBC36SAAN
0.2
S1011E-36-ND
Sullins
PBC36SAAN
0.1
SC237-ND
A24747CT-ND
Switchcraft Inc.RAPC712X
Tyco/AMP
62395-1
A33555-ND
571-5-104068Tyco/AMP
1
10%
5%
0.2
0.1
0.1
50V
50V
50V
50V
25V
DNP
5-104068-1
S2011E-36-ND
Sullins
PBC36DAAN
0.2
S2011E-36-ND
Sullins
PBC36DAAN
0.3
445-1556-1-ND
TDK
MMZ2012S601A
475-1437-ND
CoilCraft
Osram
RFB0807-181L
SFH 300-3/4
594-2381-594AVX
55116
0.5A
DNP
2381 594 55116
v5
71M6543 Demo Board User’s Manual
Table 4-4: 71M6543 REV 5.0 Demo Board: Bill of Material (2/3)
Item
Q
Reference
Part
Footprint
Digi-Key P/N
39
40
2
1
R1,R2
R4
1K
100
541-1.0KACT-ND
541-100ACT-ND
41
3
R6,R7,R8
75K
42
43
44
45
46
47
48
6
2
5
1
3
1
1
R9,R10,R11,R15,R16,R17
R12,R13
R14,R33,R52,R54,R72
R18
R19,R106,R137
R20
R21
62
100K
750
0
1K
8.06K
25.5K
805
805
AXLE FLAME
UPRIGHT
603
603
805
1206
603
805
805
49
12 R24,R25,R26,R27,R28,R29,
5.1
MELF
50
51
3
6
R30,R31,R32,R34,R35,R36
R38,R39,R58
R46,R47,R59,R60,R62,R64
4.7K
270K
RG20P4.7KBCT-ND
RG20P270KBCT-ND
52
3
R61,R63,R66
2M
53
3
R65,R73,R141
100
100W-2-ND
Yageo
RSF200JB-100R
54
10K
P10.0KHCT-ND
Panasonic
ERJ-3EKF1002V
10K
805
541-10KACT-ND
Vishay/Dale
CRCW080510K0JNEA
5% 0.125W
100K
100
0
750
603
603
RES_TH_500
RES_TH_500
541-10KACT-ND
P100GCT-ND
0.0EBK-ND
Panasonic
Panasonic
Yageo
Xicon
ERJ-3GEYJ104V
ERJ-3GEYJ101V
ZOR-12-B-52
270-750-RC
5%
5%
1%
1%
60
61
62
63
64
12 R74,R89,R90,R93,R94,R95,
R96,R103,R107,R109,R142,
R144
7 R76,R81,R82,R104,R105,
R108,R151
1 R77
2 R79,R150
3 R91,R100,R101
6 R92,R97,R98,R99,R102,
R112
1 R110
1 R111
2 R138,R143
1 R139
3 R140,R146,R147
805
805
AXLE FLAME
UPRIGHT
AXLE FLAME
UPRIGHT
603
2K
4.02K
10K
1.5
3.4K
P2.00KHCT-ND
P4.02KHCT-ND
P10.0KHCT-ND
541-1.5ECT-ND
541-3.40KCCT-ND
Panasonic
Panasonic
Panasonic
Vishay/Dale
Vishay/Dale
ERJ-3EKF2001V
ERJ-3EKF4021V
ERJ-3EKF1002V
CRCW12061R50JNEA
CRCW08053K40FKEA
1% 0.1W
1% 0.1W
1% 0.1W
5% 0.25W
1% 0.125W
65
1
R148
820
66
67
2
3
R149,R152
SW3,SW4,SW5
68
PB
603
603
603
1206
805
AXLE FLAME
UPRIGHT
1206
PB
68
2
TP2,TP3
TESTPOINT
69
3
T4,T5,T6
750110056
70
1
U1
SO8-NARROW
32QFNW/NO
FT232RQ
SPT
SO8-NARROW
ADUM3201
SO8-NARROW
SER EEPROM
IC149
71M6543-100TQFP
100TQFP_SS
SO8-NARROW
LNK304-TN
LCD VLS-6648
LCD VLS-6648
SER EEPROM (uWireSO8-NARROW
71M6103-8SOIC SO8-NARROW
32.768KHz
XTAL-ECS-39
55
56
57
58
59
71
1
U2
72
73
1
1
U3
U4
74
1
U5
75
76
77
78
79
1
1
1
3
1
U6
U8
U9
U15,U16,U17
Y1
Page: 74 of 91
TL431
Mouser P/N
Manufacturer Manufacturer P/N
Tol
Vishay/Dale
Vishay/Dale
CRCW08051K00JNEA
CRCW0805100RJNEA
5% 0.125W
5% 0.125W
75KW-2-ND
Yageo
RSF200JB-75K
P62GCT-ND
P100KGCT-ND
RR12P750DCT-ND
RHM0.0ECT-ND
P1.00KHCT-ND
RHM8.06KCCT-ND
P25.5KCCT-ND
Panasonic
ERJ-3GEYJ620V
Panasonic
ERJ-3GEYJ104V
Susumu
RR1220P-751-D
Rohm SemicondMCR18EZHJ000
Panasonic
ERJ-3EKF1001V
Rohm
MCR10EZHF8061
Panasonic
ERJ-6ENF2552V
71SMM02040C5 Vishay/Dale
108FB30
71-RN65D-F2.0M
270-750-RC
SMM02040C5108FB30
TDK
Susumu
RG2012P-472-B-T5
RG2012P-274-B-T5
Vishay/Dale
RN65D2004FB14
Rating HDR DNP
5%
2W
5%
0.05
0.01
5%
1%
1%
1%
0.1W
0.1W
0.1W
0.25W
0.1W
0.125W
0.125W
0.01 0.125W
0% 0.125W
0% 0.125W
0.01 0.5W
5%
2W
0.01 0.1W
0.1W
0.1W
0.1W
0.1W
P820W-2BK-ND
Panasonic
ERG2SJ821
5%
P68.0FTR-ND
P13598SCT-ND
Panasonic
Panasonic
ERJ-8ENF68R0V
EVQ-PNF05M
1% 0.25W
TESTPOINTSMA
5011K-ND
LL
KEYSTONE
5011
XFORM/56
6543
Midcom
750110056
296-1288-1-ND
768-1008-1-ND
FTDI
Analog Devices ADUM3201ARZ
ATMEL
AT24C1024BW-SH25-B
Teridian
93LC76C-I/SN-ND
DNP
DNP
2W
DNP
Texas Instrume TL431AIDR
ADUM3201ARZ-ND
AT24C1024BW-SH25-B-ND
596-1237-1-ND
DNP
FT232RQ-REEL
71M6540F-IGT/F
Power Integrat LNK304DG-TL
VARITRONIX
VL_6648_V00
MICROCHIP
93LC76CT-I/SN
Maxim
71M6103-IL/F
Suntsu
SPC6-32.768KHZ TR
DNP
v5
71M6543 Demo Board User’s Manual
4.6 71M6543 REV 4.0 DEMO BOARD PCB LAYOUT
Figure 4-10: Teridian 71M6543 REV 4.0 Demo Board: Top View
Page: 75 of 91
v5
71M6543 Demo Board User’s Manual
Figure 4-11: Teridian 71M6543 REV 4.0 Demo Board: Top Copper
Page: 76 of 91
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
Figure 4-14: Teridian 71M6543 REV 5.0 Demo Board: Top View
Page: 79 of 91
v5
71M6543 Demo Board User’s Manual
Figure 4-15: Teridian 71M6543 REV 5.0 Demo Board: Top Copper
Page: 80 of 91
v5
71M6543 Demo Board User’s Manual
Figure 4-16: Teridian 71M6543 REV 5.0 Demo Board: Bottom View
Page: 81 of 91
v5
71M6543 Demo Board User’s Manual
Figure 4-17: Teridian 71M6543 REV 5.0 Demo Board: Bottom Copper
Page: 82 of 91
v5
71M6543 Demo Board User’s Manual
4.8 DEBUG BOARD BILL OF MATERIAL
Item
Q
Reference
Value
PCB Footprint
P/N
Manufacturer
Vendor
Vendor P/N
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
C4
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
0805
1812
1812
0805
2x1pin
C2012X7R1H104K
TAJB336K010R
TAJB106K016R
LTST-C170KGKT
PZC36SAAN
RAPC712
A2100-ND
PPTC082LFBN
ERJ-6GEYJ103V
ERJ-6GEYJ102V
N/A
ERJ-6GEY0R00V
EVQ-PJX05M
5011
ADUM1100AR
MAX3237CAI
2202K-ND
PMS4400-0025PH
PMS4400-0031PH
HNZ440
TDK
AVX
AVX
LITEON
Sullins
Switchcraft
AMP
Sullins
Panasonic
Panasonic
N/A
Panasonic
Panasonic
Keystone
ADI
MAXIM
Keystone
Building Fasteners
Building Fasteners
Building Fasteners
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
445-1349-1-ND
478-1687-1-ND
478-1673-1-ND
160-1414-1-ND
S1011-36-ND
SC1152-ND
A2100-ND
S4208-ND
P10KACT-ND
P1.0KACT-ND
N/A
P0.0ACT-ND
P8051SCT-ND
5011K-ND
ADUM1100AR-ND
MAX3237CAI-ND
2202K-ND
H342-ND
H343-ND
H216-ND
DB9
8x2pin
0805
0805
0805
0805
PB
TP
SOIC8
SOG28
Table 4-5: Debug Board: Bill of Material
Page: 83 of 91
v5
71M6543 Demo Board User’s Manual
4.9 DEBUG BOARD SCHEMATICS
V5_DBG
C1
0.1uF
V5_DBG
GND_DBG
R1
10K
V5_DBG
+ C4
33uF, 10V
RAPC712
TP5
TP
C7
0.1uF
GND_DBG
V5_DBG
SW2
DISPLAY SEL
TP6
TP
GND_DBG
V5_DBG
D2
R2
LED
1K
8
GND_DBG 7
DIO01_DBG 6
GND_DBG 5
VDD2
GND2
DOUT
GND2
C6
0.1uF
V3P3
DIO01
V3P3
GND
C8
GND
V5_DBG
C11
10uF, 16V (B Case)
GND_DBG
0.1uF
26
GND_DBG
C14
0.1uF
232VP1
C17
0.1uF
232VN1
27
V+
U4
MAX3237CAI
VCC
NORMAL
C1+
C1-
1
2
JP3
HDR2X1
4
V-
C2+
C2-
RX232
V5_DBG
R4
NC
R5
10K
8
9
11
13
14
T1OUT
T2OUT
T3OUT
T4OUT
T5OUT
R1IN
R2IN
R3IN
ENB
SHDNB
T1IN
T2IN
T3IN
T4IN
T5IN
R1OUTBF
R1OUT
R2OUT
R3OUT
MBAUD
NULL
5
6
7
10
12
15
1
2
JP4
HDR2X1
232C1P1
25
232C1M1
1
232C2P1
3
232C2M1
24
23
22
19
17
16
21
20
18
GND
TX232
RS232 TRANSCEIVER
28
V5_DBG
C19
0.1uF
GND_DBG
TXISO
GND
U5
GND_DBG
GND_DBG
8
7
6
5
VDD2
GND2
DOUT
GND2
VDD1
DIN
VDD1
GND1
1
2
3
4
V3P3
UART_TX
V3P3
GND
GND
ADUM1100
8
GND_DBG 7
DIO00_DBG 6
GND_DBG 5
VDD2
GND2
DOUT
GND2
C22
0.1uF
GND_DBG
GND
U6
V5_DBG
GND_DBG
1
2
3
4
VDD1
DIN
VDD1
GND1
VDD2
GND2
DOUT
GND2
8
7
6
5
V3P3
GND
UART_RX
GND
ADUM1100
1
2
3
4
VDD1
DIN
VDD1
GND1
0.1uF
V3P3
DIO00
V3P3
GND
C12
GND
ADUM1100
0.1uF
C16
STATUS LEDs
0.1uF
DIO00
DIO02
GND
GND
GND
GND
GND_DBG
V5_DBG
C20
0.1uF
V5_DBG
RXISO
C23
0.1uF
R8
10K
LED
1K
GND_DBG
R7
10K
D3
C10
GND
U3
DIO00
C15
0.1uF
C18
0.1uF
0.1uF
C9
0.1uF
R3
2
NULL
V5_DBG
GND_DBG
C13
NORMAL
JP2
HDR2X1
+
V5_DBG
1
2
JP1
HDR2X1
1
2
TXPC
1
2
3
4
VDD1
DIN
VDD1
GND1
ADUM1100
J2
RXPC
0.1uF
V3P3
GND
DIO02
GND
GND
U2
DIO01
DB9_RS232
GND_DBG
8
7
6
5
VDD2
GND2
DOUT
GND2
V5_DBG
C5
0.1uF
GND_DBG
5
9
4
8
3
7
2
6
1
VDD1
DIN
VDD1
GND1
ADUM1100
C3
0.1uF
GND_DBG
GND_DBG
GND
1
2
3
GND
5Vdc EXT SUPPLY
J1
1
2
3
4
C2
GND
U1
C21
0.1uF
J3
1
3
5
7
9
11
13
15
2
4
6
8
10
12
14
16
DIO01
V3P3
CKTEST
TMUXOUT
UART_TX
UART_RX_T
GND_DBG
V5_DBG
HEADER 8X2
UART_RX_T
DEBUG CONNECTOR
R6
0
GND_DBG
Figure 4-18: Debug Board: Electrical Schematic
Page: 84 of 91
v5
71M6543 Demo Board User’s Manual
4.10 OPTIONAL DEBUG BOARD PCB LAYOUT
Figure 4-19: Debug Board: Top View
Figure 4-20: Debug Board: Bottom View
Page: 85 of 91
v5
71M6543 Demo Board User’s Manual
Figure 4-21: Debug Board: Top Signal Layer
Figure 4-22: Debug Board: Middle Layer 1 (Ground Plane)
Page: 86 of 91
v5
71M6543 Demo Board User’s Manual
Figure 4-23: Debug Board: Middle Layer 2 (Supply Plane)
Figure 4-24: Debug Board: Bottom Trace Layer
Page: 87 of 91
v5
71M6543 Demo Board User’s Manual
4.11 71M6543 PIN-OUT INFORMATION
Power/Ground/NC Pins:
Table 4-6: 71M6543 Pin Description Table 1/3
Name
Type
GNDA
GNDD
P
P
V3P3A
P
V3P3SYS
P
V3P3D
O
VDD
O
VLCD
O
VBAT
P
VBAT_RTC
P
Description
Analog ground: This pin should be connected directly to the ground plane.
Digital ground: This pin should be connected directly to the ground plane.
Analog power supply: A 3.3 V power supply should be connected to this pin.
V3P3A must be the same voltage as V3P3SYS.
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
to V3P3SYS by the internal selection switch. In BRN mode, it is internally
connected to VBAT. V3P3D is floating in LCD and sleep mode. A bypass
capacitor to ground should not exceed 0.1 µF.
The output of the 2.5V regulator. This pin is powered in MSN and BRN
modes. A 0.1 µF bypass capacitor to ground should be connected to this
pin.
The output of the LCD DAC. A 0.1 µF bypass capacitor to ground should be
connected to this pin.
Battery backup pin to support the battery modes (BRN, LCD). A battery or
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 connected 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
IAP/IAN,
IBP/IBN,
ICP/ICN
IDP/IDN
I
VA, VB,
VC
I
VREF
O
XIN
XOUT
I
O
Description
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
of current sensors. Unused pins must be tied to V3P3A.
Pins IBP/IBN, ICP/ICN, and IDP/IDN may be configured for communication with
the remote sensor interface (71M6x0x).
Line Voltage Sense Inputs: These pins are voltage inputs to the internal A/D
converter. Typically, they are connected to the outputs of resistor dividers. Unused pins must be tied to V3P3A.
Voltage Reference for the ADC. This pin should be left unconnected (floating).
Crystal Inputs: A 32 kHz crystal should be connected across these pins. Typically, a 15 pF capacitor is also connected from XIN to GNDA and a
10 pF capacitor is connected from XOUT to GNDA. It is important to minimize
the capacitance between these pins. See the crystal manufacturer datasheet for
details.
If an external clock is used, a 150 mV (p-p) clock signal should be applied to
XIN, and XOUT should be left unconnected.
Pin types: P = Power, O = Output, I = Input, I/O = Input/Output
Page: 88 of 91
v5
71M6543 Demo Board User’s Manual
Digital Pins:
Table 4-8: 71M6543 Pin Description Table 3/3
Name
Type
COM3,COM2,
COM1,COM0
O
SEGDIO0 …
SEGDIO45
I/O
SEGDIO26/ COM5,
SEGDIO27/ COM4
SEGDIO36/
SPI_CSZ,
SEGDIO37/ SPI_DO,
SEGDIO38/ SPI_DI,
SEGDIO39/ SPI_CKI
SEGDIO51/
OPT_TX,
SEGDIO55/ OPT_RX
E_RXTX/SEG48
E_RST/SEG50
E_TCLK/SEG49
I/O
Description
LCD Common Outputs: These 4 pins provide the select signals for
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
SEGDIO2 = SDCK
SEGDIO3 = SDATA
SEGDIO6 = XPULSE
SEGDIO7 = YPULSE
Unused pins must be configured as outputs or terminated to
V3P3/GNDD.
Multi-use pins, configurable as either LCD segment driver or DIO with
alternative function (LCD common drivers).
I/O
Multi-use pins, configurable as either LCD segment driver or DIO with
alternative function (SPI interface).
I/O
Multi-use pins, configurable as either LCD segment driver or DIO with
alternative function (optical port/UART1)
I/O
O
ICE_E
I
TMUXOUT/ SEG47,
TMUX2OUT/ SEG46
O
RESET
I
RX
I
TX
O
TEST
I
PB
I
NC
N/C
Multi-use pins, configurable as either emulator port pins (when ICE_E
pulled high) or LCD segment drivers (when ICE_E tied to GND).
ICE enable. When zero, E_RST, E_TCLK, and E_RXTX become
SEG50, SEG49, and SEG48 respectively. For production units, this
pin should be pulled to GND to disable the emulator port.
Multi-use pins, configurable as either multiplexer/clock output or LCD
segment driver using the I/O RAM registers.
Chip reset: This input pin is used to reset the chip into a known state.
For normal operation, this pin is pulled low. To reset the chip, this pin
should be pulled high. This pin has an internal 30 μA (nominal) current source pull-down. No external reset circuitry is necessary.
UART0 input. If this pin is unused it must be terminated to
V3P3D or GNDD.
UART0 output.
Enables Production Test.
This pin must be grounded in normal operation.
Push button input. This pin must be at GNDD when not active or unused. A rising edge sets the IE_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.
Do not connect this pin.
Pin types: P = Power, O = Output, I = Input, I/O = Input/Output,
Page: 89 of 91
v5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Teridian
71M6543F
71M6543H
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
XIN
NC
NC
GNDA
VBAT_RTC
VBAT
V3P3SYS
IBP
IBN
ICP
ICN
IDP
IDN
GNDD
V3P3D
VDD
ICE_E
E_RXTX/SEG48
E_TCLK/SEG49
E_RST/SEG50
RX
TX
OPT_TX/SEGDIO51
SEGDIO52
SEGDIO53
NC
SEGDIO17
SEGDIO16
SEGDIO15
SEGDIO14
SEGDIO13
SEGDIO12
SEGDIO11
SEGDIO10
SEGDIO9
SEGDIO8/DI
SEGDIO7/YPULSE
SEGDIO6/XPULSE
SEGDIO5
NC
SEGDIO4
SEGDIO3/SDATA
SEGDIO2/SDCK
SEGDIO1/VPULSE
SEGDIO0/WPULSE
OPT_RX/SEGDIO55
SEGDIO54
NC
NC
NC
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
SPI_DI/SEGDIO38
SPI_DO/SEGDIO37
SPI_CSZ/SEGDIO36
SEGDIO35
SEGDIO34
SEGDIO33
SEGDIO32
SEGDIO31
SEGDIO30
SEGDIO29
SEGDIO28
COM0
COM1
COM2
COM3
SEGDIO27/COM4
SEGDIO26/COM5
SEGDIO25
SEGDIO24
SEGDIO23
SEGDIO22
SEGDIO21
SEGDIO20
SEGDIO19
SEGDIO18
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
SPI_CKI/SEGDIO39
SEGDIO40
SEGDIO41
SEGDIO42
SEGDIO43
SEGDIO44
SEGDIO45
TMUX2OUT/SEG46
TMUXOUT/SEG47
RESET
PB
VLCD
VREF
IAP
IAN
V3P3A
VA
VB
VC
TEST
GNDA
NC
NC
NC
XOUT
71M6543 Demo Board User’s Manual
Figure 4-25: 71M6543, LQFP100: Pin-out (top view)
Page: 90 of 91
v5
71M6543 Demo Board User’s Manual
4.12 REVISION HISTORY
Revision
Date
Description
2.0
02-19-2010
Initial release based on DBUM revision 1.0 for 6543 REV 1.0 Demo Board.
2.1
02-23-2010
2.2
03-01-2010
2.3
03-04-2010
Minor corrections. Added more figures illustrating shunt arrangements.
Specified type of Remote Sensor used on REV 2.0 board (71M6113 or
71M6203). Improved Table 1-9. Added description for i_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.
2.4
06-16-2010
2.5
06-21-2010
3.0
07-26-2010
3.1
08-10-2010
3.2
12-10-2010
4.0
02-16-2011
4.1
03-28-2011
4.2
05-06-2011
5
Page: 91 of 91
7/2012
Corrected “X” factor for WRATE calculation to 0.09375. Changed section
on shunt arrangement. Improved description on temperature compensation. Added Figure 1.7 and section 1.10.7.
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
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 resistors.
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 to 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).
v5