19-5348 Rev 2 1/12 78M6612 Single-Phase, Dual-Outlet Power and Energy Measurement IC DATA SHEET DS 6612 001 FEATURES DESCRIPTION Measures Each Outlet of a Duplex Receptacle with The Teridian 78M6612 is a highly integrated, single-phase, a Single IC power and energy measurement and monitoring system-on- Provides Complete Energy Measurement and chip (SoC) that includes a 32-bit compute engine (CE), an Communication Protocol Capability in a Single IC MPU core, RTC, and flash. Our Single Converter Intelligent Switch Control Capability Technology with a 22-bit delta-sigma ADC, four analog < 0.5% Wh Accuracy Over 2000:1 Current Range inputs, digital temperature compensation, and precision and Over Temperature voltage reference supports a wide range of single-phase, Exceeds IEC 62053/ANSIC12.20 Standards dual-outlet power measurement applications with very few Voltage Reference < 40 ppm/C external components. Four Sensor Inputs VDD Referenced With measurement technology leveraged from Maxims flagship Low Jitter Wh and VARh Pulse Test Outputs utility metering ICs, the device offers features including 32 KB (10 kHz max) of flash program memory, 2 KB shared RAM, three low-power Pulse Count for Pulse Outputs modes with internal timer or external event wake-up, two 2 UARTs, I C/MICROWIRE EEPROM I/F, and an in-system Line Frequency Count for RTC programmable flash. Complete outlet measurement unit (OMU) Digital Temperature Compensation and AC power monitor (AC-PMON) firmware is available or can Sag Detection for Phase A and B be preloaded into the IC. Independent 32-Bit Compute Engine A complete array of ICE and development tools, programming 46-64 Hz Line Frequency Range with Same Calibration libraries and reference designs enable rapid development and Phase Compensation ( 7) certification of power and energy measurement solutions that Battery Backup for RTC and Battery Monitor meet the most demanding worldwide electricity metering standards. Three Battery Modes with Wake-Up Timer: Brownout Mode (48 A) CT LCD Mode (5.7 A) LIVE OUTLET Sleep Mode (2.9 A) POWER SUPPLY NEUT Energy Display on Main Power Failure Wake-Up Timer 22-Bit Delta-Sigma ADC CONVERTER V3.3 V3.3A GNDA GNDD SYS IA 8-Bit MPU (80515), 1 Clock Cycle per Instruction PWR MODE OPTIONAL VA CONTROL IB TERIDIAN with Integrated ICE for MPU Debug WAKE-UP VB 78M6612 REGULATOR RTC with Temperature Compensation VBAT V2.5 BATTERY Auto-Calibration VOLTAGE REF TEMP DIO, PULSE SENSOR VREF Hardware watchdog Timer, Power-Fail Monitor VBIAS RAM COM0..3 LCD Driver (Up to 152 Pixels) SERIAL PORTS SEG0..18 FLASH SEG 24..31/ TX0 Up to 18 General-Purpose I/O Pins DIO 4..11 RX0 OPTIONAL SEG 34..37/ 32 kHz Time Base 2 COMPUTE I C or Wire DIO 14..17 ENGINE RX1 EEPROM 32 KB Flash with Security TX1 SEG 32,33, 38/ICE COMPARATOR MPU 2 KB MPU XRAM POWER V1 RTC FAULT TIMERS Two UARTs OSC/PLL XIN V3P3D 32 kHz ICE E GNDD Digital I/O Pins Compatible with 5 V Inputs ICE XOUT 64-Pin LQFP or 68-Pin QFN Package Teridian is a trademark and Single Converter Technology is a registered RoHS-Compliant (6/6) Lead(Pb)-Free Packages trademark of Maxim Integrated Products, Inc. Complete Application Firmware Available MICROWIRE is a registered trademark of National Semiconductor Corp. Rev 2 1 78M6612 Data Sheet DS 6612 001 Table of Contents 1 Hardware Description .................................................................................................................... 7 1.1 Hardware Overview................................................................................................................. 7 1.2 Analog Front End (AFE) .......................................................................................................... 8 1.2.1 Input Multiplexer .......................................................................................................... 8 1.2.2 A/D Converter (ADC) ................................................................................................... 9 1.2.3 FIR Filter ..................................................................................................................... 9 1.2.4 Voltage References ..................................................................................................... 9 1.2.5 Temperature Sensor.................................................................................................... 9 1.2.6 Battery Monitor ............................................................................................................ 9 1.3 Digital Computation Engine (CE) ........................................................................................... 10 1.3.1 Real-Time Monitor ..................................................................................................... 10 1.3.2 Pulse Generator ........................................................................................................ 10 1.3.3 Data RAM (XRAM) .................................................................................................... 10 1.4 80515 MPU Core .................................................................................................................. 11 1.4.1 UARTs ...................................................................................................................... 11 1.5 On-Chip Resources............................................................................................................... 11 1.5.1 Oscillator ................................................................................................................... 11 1.5.2 PLL and Internal Clocks............................................................................................. 11 1.5.3 Real-Time Clock (RTC) ............................................................................................. 12 1.5.4 Temperature Sensor.................................................................................................. 12 1.5.5 Flash Memory ........................................................................................................... 12 1.5.6 Optical Interface ........................................................................................................ 13 1.5.7 Digital I/O .................................................................................................................. 13 1.5.8 LCD Drivers .............................................................................................................. 16 1.5.9 EEPROM Interface .................................................................................................... 16 1.5.10 Hardware Watchdog Timer ........................................................................................ 17 1.5.11 Test Ports (TXUXOUT pin) ........................................................................................ 17 2 Functional Description ................................................................................................................ 18 2.1 Theory of Operation .............................................................................................................. 18 2.2 Fault and Reset Behavior ...................................................................................................... 19 2.2.1 Reset Mode ............................................................................................................... 19 2.2.2 Power Fault Circuit .................................................................................................... 19 2.3 Data Flow ............................................................................................................................. 19 2.4 CE/MPU Communication ...................................................................................................... 20 3 Application Information ............................................................................................................... 21 3.1 Connection of Sensors (CT, Resistive Shunt) ........................................................................ 21 3.2 Connecting 5 V Devices ........................................................................................................ 22 3.3 Temperature Measurement ................................................................................................... 22 3.4 Temperature Compensation .................................................................................................. 22 3.5 Connecting LCDs .................................................................................................................. 23 2 3.6 Connecting I C EEPROMs .................................................................................................... 23 3.7 Connecting Three-Wire EEPROMs ....................................................................................... 24 3.8 UART0 (TX0/RX0) ................................................................................................................ 24 3.9 UART1 (TX1/RX1) ................................................................................................................ 25 3.10 Connecting V1 and Reset Pins .............................................................................................. 25 3.11 Connecting the Emulator Port Pins ........................................................................................ 26 3.12 Flash Programming ............................................................................................................... 26 3.13 MPU Firmware Library .......................................................................................................... 26 3.14 Crystal Oscillator ................................................................................................................... 26 3.15 Measurement Calibration ...................................................................................................... 27 4 Electrical Specifications .............................................................................................................. 28 4.1 Absolute Maximum Ratings ................................................................................................... 28 4.2 Recommended External Components ................................................................................... 29 2 Rev 2