19-5360; Rev 3; 9/11
A Maxim Integrated Products Brand
71M6513/71M6513H
3-Phase Energy Meter IC
DATA SHEET
SEPTEMBER 2011
GENERAL DESCRIPTION
The 71M6513 is a highly integrated system-on-chip SoC with an MPU core,
real-time clock (RTC), flash, and LCD driver. Our Single Converter
Technology® with a 21-bit delta-sigma ADC, six analog inputs, digital tem-
perature compensation, precision voltage reference, and 32-bit computation
engine (CE) supports a wide range of poly-phase metering applications with
very few low-cost external components. A 32kHz crystal time base for the
entire system and internal battery-backup support for RAM and RTC further
reduce system cost.
Maximum design flexibility is supported with multiple UARTs, I C, a power-
fail comparator, a 5V LCD charge pump, up to 22 DIO pins, and an in-
system programmable flash. The device is offered in high (0.1%) and
standard (0.5%) accuracy versions for multifunction residential/commercial
meter applications requiring multiple voltage/current inputs and complex
LCD or DIO configurations.
A complete array of ICE and development tools, programming libraries and
reference designs enable rapid development and certification of meters that
meet most demanding worldwide electricity metering standards.
LIVE
NEUTRAL
LIVE
LIVE
FEATURES
Wh Accuracy < 0.1% Over 2,000:1
Current Range
Exceeds IEC 62053/ANSIC 12.20
Voltage Reference
< 10ppm/°C (71M6513H)
< 40ppm/°C (71M6513)
Six Sensor Inputs—V
DD
Referenced
Auxiliary Analog Input for Neutral
Current
Low Jitter Wh/VARh Pulse Outputs
Pulse Count For Pulse Outputs
Four-Quadrant Metering
Phase Sequencing
Line Frequency Count for RTC
Digital Temperature Compensation
Sag Detection
Independent 32-Bit Compute Engine
40-70Hz Line Frequency Range with
Same Calibration
Phase Compensation (±7°)
Battery Backup for RAM and RTC
22mW at 3.3V, 7.2µW Backup
Flash Memory Option with Security
8-Bit MPU (80515)—One Clock
Cycle per Instruction
LCD Driver (≤ 168 Pixels)
High-Speed SSI Serial Output
RTC for Time-of-Use Functions
Hardware Watchdog Timer
Up to 22 General-Purpose I/O Pins
64KB Flash, 7KB RAM
Two UARTs for IR and AMR
100-Pin LQFP Package
2
CT /COIL
LOAD
POWER SUPPLY
CONVERTER
IA
VA
IB
VB
IC
VC
VOLTAGE REF
VREF
VBIAS
SERIAL PORTS
V3.3A V3.3D GNDA GNDD
5V BOOST
TERIDIAN
71M6513
VDRV
REGULATOR
VBAT
V2.5
BATTERY
TEMP SENSOR
LCD DRIVER
DIO, PULSE
VLCD
RAM
COM0..3
3/5V LCD
AMR
TX
RX
COMPUTE
ENGINE
FLASH
SEG0..23
SEG 24..27
DIO 0..11
SEG 32..41
DIO 12..21
88.88.8888
MISC
IR
SENSE
DRIVE
RX
TX
COMPARATOR
MPU
RTC
TIMERS
ICE
OSC/PLL
XIN
EEPROM
POWER
FAULT
Etc.
V1
V2
V3
32 kHz
XOUT
Single Converter Technology is a registered trademark of
Maxim Integrated Products, Inc.
© 2005-2011 Teridian Semiconductor Corporation
Page: 1 of 104
A Maxim Integrated Products Brand
71M6513/71M6513H
3-Phase Energy Meter IC
DATA SHEET
AUGUST 2011
Table of Contents
FEATURES ............................................................................................................................ 1
HARDWARE DESCRIPTION ................................................................................................................ 9
Hardware Overview ................................................................................................................. 9
Analog Front End (AFE) .......................................................................................................... 9
Multiplexer................................................................................................................. 9
ADC .......................................................................................................................... 10
FIR Filter ................................................................................................................... 10
Voltage Reference ..................................................................................................... 10
Temperature Sensor .................................................................................................. 11
V3 ............................................................................................................................. 11
Functional Description ............................................................................................... 11
Computation Engine (CE) ........................................................................................................ 12
Meter Equations ........................................................................................................ 12
Pulse Generator ........................................................................................................ 13
Real-Time Monitor ..................................................................................................... 13
CE Functional Overview ............................................................................................ 13
80515 MPU Core .................................................................................................................... 16
80515 Overview ........................................................................................................ 16
Memory Organization ................................................................................................ 16
Special Function Registers (SFRs) ............................................................................. 18
Special Function Registers (Generic 80515 SFRs) ..................................................... 19
Special Function Registers Specific to the 71M6513 ................................................... 22
Instruction Set ........................................................................................................... 23
UART ........................................................................................................................ 23
Timers and Counters ................................................................................................. 26
WD Timer (Software Watchdog Timer) ....................................................................... 28
Interrupts................................................................................................................... 31
External Interrupts ..................................................................................................... 34
Interrupt Priority Level Structure ................................................................................. 35
Interrupt Sources and Vectors.................................................................................... 37
On-Chip Resources................................................................................................................. 39
DIO Ports .................................................................................................................. 39
Page: 2 of 104
© 2005-2011 Teridian Semiconductor Corporation
A Maxim Integrated Products Brand
71M6513/71M6513H
3-Phase Energy Meter IC
DATA SHEET
SEPTEMBER 2011
Physical Memory ....................................................................................................... 41
Oscillator ................................................................................................................... 42
Real-Time Clock (RTC).............................................................................................. 42
Comparators (V2, V3) ................................................................................................ 42
LCD Drivers .............................................................................................................. 43
LCD Voltage Boost Circuitry....................................................................................... 43
UART (UART0) and Optical Port (UART1).................................................................. 44
Hardware Reset Mechanisms .................................................................................... 44
Reset Pin (RESETZ).................................................................................................. 44
Hardware Watchdog Timer ........................................................................................ 44
Crystal Frequency Monitor ......................................................................................... 44
V1 Pin ....................................................................................................................... 44
Internal Clocks and Clock Dividers ............................................................................. 45
I2C Interface (EEPROM) ........................................................................................... 45
Battery ...................................................................................................................... 47
Internal Voltages (VBIAS, VBAT, V2P5) ..................................................................... 47
Test Ports ................................................................................................................. 47
FUNCTIONAL DESCRIPTION .............................................................................................................. 49
Theory of Operation ................................................................................................................ 49
System Timing Summary......................................................................................................... 50
Data Flow ............................................................................................................................... 52
CE/MPU Communication......................................................................................................... 52
Fault, Reset, Power-Up ........................................................................................................... 53
Battery Operation .................................................................................................................... 54
Power Save Modes ................................................................................................................. 54
Chopping Circuitry................................................................................................................... 55
Internal/External Pulse Generation and Pulse Counting ............................................................ 57
Program Security .................................................................................................................... 58
FIRMWARE INTERFACE ..................................................................................................................... 59
I/O RAM MAP – In Numerical Order ......................................................................................... 59
SFR MAP (SFRs Specific to Teridian 80515) – In Numerical Order ........................................... 60
I/O RAM (Configuration RAM) – Alphabetical Order.................................................................. 61
CE Program and Environment ................................................................................................. 67
CE Program .............................................................................................................. 67
Formats..................................................................................................................... 67
© 2005-2011 Teridian Semiconductor Corporation
Page: 3 of 104
A Maxim Integrated Products Brand
71M6513/71M6513H
3-Phase Energy Meter IC
DATA SHEET
AUGUST 2011
Constants.................................................................................................................. 67
Environment .............................................................................................................. 67
CE Calculations......................................................................................................... 68
CE RAM Locations .................................................................................................... 68
CE Front End Data (Raw Data) .................................................................................. 69
CE Status Word......................................................................................................... 69
CE Transfer Variables ............................................................................................... 70
TYPICAL PERFORMANCE DATA......................................................................................................... 77
Wh Accuracy at Room Temperature ........................................................................................ 77
VARh Accuracy at Room Temperature .................................................................................... 77
Harmonic Performance............................................................................................................ 78
APPLICATION INFORMATION ............................................................................................................. 79
Connection of Sensors (CT, Resistive Shunt, Rogowski Coil) ................................................... 79
Distinction between 71M6513 and 71M6513H Parts................................................................. 79
Temperature Compensation and Mains Frequency Stabilization for the RTC............................. 80
External Temperature Compensation....................................................................................... 81
Temperature Measurement ..................................................................................................... 81
Crystal Oscillator ..................................................................................................................... 83
Connecting LCDs .................................................................................................................... 84
Connecting I2C EEPROMs...................................................................................................... 85
Connecting 5V Devices ........................................................................................................... 85
Optical Interface ...................................................................................................................... 87
Connecting V1 and Reset Pins ................................................................................................ 87
Connecting the V3 Pin............................................................................................................. 88
Connecting a Battery ............................................................................................................... 88
Flash Programming ................................................................................................................. 89
MPU Firmware Library............................................................................................................. 89
SPECIFICATIONS ................................................................................................................................ 90
Electrical Specifications ........................................................................................................... 90
LOGIC LEVELS......................................................................................................... 91
VREF, VBIAS ............................................................................................................ 93
CRYSTAL OSCILLATOR........................................................................................... 93
LCD BOOST ............................................................................................................. 95
LCD DRIVERS .......................................................................................................... 95
RTC .......................................................................................................................... 95
Page: 4 of 104
© 2005-2011 Teridian Semiconductor Corporation
A Maxim Integrated Products Brand
71M6513/71M6513H
3-Phase Energy Meter IC
DATA SHEET
SEPTEMBER 2011
RESETZ.................................................................................................................... 95
COMPARATORS ...................................................................................................... 96
RAM AND FLASH MEMORY ..................................................................................... 96
FLASH MEMORY TIMING ......................................................................................... 96
EEPROM INTERFACE .............................................................................................. 96
Recommended External Components ...................................................................................... 97
Packaging Information............................................................................................................. 98
Pinout (Top View) ...................................................................................................... 99
Pin Descriptions ........................................................................................................ 100
I/O Equivalent Circuits: .............................................................................................. 102
ORDERING INFORMATION ................................................................................................... 103
Figures
Figure 1: IC Functional Block Diagram .......................................................................................................................... 8
Figure 2: General Topology of a Chopped Amplifier ..................................................................................................... 10
Figure 3: AFE Block Diagram...................................................................................................................................... 11
Figure 4: Samples in Multiplexer Cycle ....................................................................................................................... 14
Figure 5: Accumulation Interval.................................................................................................................................. 14
Figure 6: Memory Map .............................................................................................................................................. 16
Figure 7: Interrupt Structure ...................................................................................................................................... 38
Figure 8: DIO Ports Block Diagram ............................................................................................................................. 39
Figure 9: Oscillator Circuit ......................................................................................................................................... 42
Figure 10: LCD Voltage Boost Circuitry....................................................................................................................... 43
Figure 11: Voltage Range for V1 ................................................................................................................................ 45
Figure 12: Voltage. Current, Momentary and Accumulated Energy................................................................................ 49
Figure 13: Timing Relationship between ADC MUX, CE, and Serial Transfers ................................................................ 50
Figure 14: RTM Output Format .................................................................................................................................. 51
Figure 15: SSI Timing, (SSI_FPOL =
SSI_RDYPOL
= 0) ............................................................................................ 51
Figure 16: SSI Timing, 16-bit Field Example (External Device Delays SRDY) ................................................................. 51
Figure 17: MPU/CE Data Flow .................................................................................................................................... 52
Figure 18: MPU/CE Communication (Functional)......................................................................................................... 53
Figure 19: MPU/CE Communication (Processing Sequence) ........................................................................................ 53
Figure 20: Timing Diagram for Voltages, Current and Operation Modes after Power-Up................................................. 54
Figure 21: Chop Polarity w/ Automatic Chopping ........................................................................................................ 56
Figure 22: Sequence with Alternate Multiplexer Cycles ................................................................................................ 56
Figure 23: Sequence with Alternate Multiplexer Cycles and Controlled Chopping ........................................................... 57
Figure 24: Wh Accuracy, 0.3A - 200A/240V ................................................................................................................ 77
Figure 25: VARh Accuracy for 0.3A to 200A/240V Performance ................................................................................... 78
Figure 27: Meter Accuracy over Harmonics at 240V, 30A ............................................................................................ 78
Figure 29: Resistive Voltage Divider (left), Current Transformer (right) ......................................................................... 79
Figure 30: Resistive Shunt (left), Rogowski Coil (right) ............................................................................................... 79
Figure 31: Crystal Frequency over Temperature .......................................................................................................... 80
Figure 32: Crystal Compensation ............................................................................................................................... 81
Figure 33: Error Band for VREF over Temperature (Regular-Accuracy Parts)................................................................. 83
© 2005-2011 Teridian Semiconductor Corporation
Page: 5 of 104