Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver Data Sheet ADE7116/ADE7166/ADE7169/ADE7566/ADE7569 GENERAL FEATURES MICROPROCESSOR FEATURES Wide supply voltage operation: 2.4 V to 3.7 V 8052-based core Internal bipolar switch between regulated and battery inputs Single-cycle 4 MIPS 8052 core Ultralow power operation with power saving modes (PSM) 8052-compatible instruction set Full operation: 4 mA to 1.6 mA (PLL clock dependent) 32.768 kHz external crystal with on-chip PLL Battery mode: 3.2 mA to 400 A (PLL clock dependent) 2 external interrupt sources Sleep mode External reset pin Real-time clock (RTC) mode: 1.5 A Low power battery mode 1 RTC and LCD mode: 38 A (LCD charge pump enabled) Wake up from input/output (I/O), temperature change , Reference: 1.2 V 0.1% (10 ppm/C drift) alarm, and universal asynchronous receiver/transmitter 64-lead RoHS package option (UART) Low profile quad flat package (LQFP) LCD driver operation Operating temperature range: 40C to +85C Temperature measurement Real-time clock (RTC) ENERGY MEASUREMENT FEATURES Counter for seconds, minutes, and hours Proprietary analog-to-digital converters (ADCs) and digital Automatic battery switchover for RTC backup signal processing (DSP) provide high accuracy active Operation down to 2.4 V (watt), reactive (var), and apparent energy (volt ampere Ultralow battery supply current: 1.5 A (VA)) measurement Selectable output frequency: 1 Hz to 16 kHz <0.1% error on active energy over a dynamic range of Embedded digital crystal frequency compensation for 1000 to 1 at 25C calibration and temperature variation of 2 ppm resolution <0.5% error on reactive energy over a dynamic range of Integrated LCD driver 1000 to 1 at 25C (ADE7169 and ADE7569 only) 108-segment driver for the ADE7566/ADE7569 and <0.5% error on root mean square (rms) measurements 104-segment driver for the ADE7116/ADE7166/ADE7169 over a dynamic range of 500 to 1 for current (I ) and rms 2, 3, or 4 multiplexing 1 100 to 1 for voltage (V ) at 25C rms LCD voltages generated internally or with external resistors Supports IEC 62053-21, IEC 62053-22, and IEC 62053-23 Internal adjustable drive voltages up to 5 V independent 1 EN 50470-3 Class A, Class B, and Class C and ANSI C12-16 of power supply level Differential input with programmable gain amplifiers (PGAs) On-chip peripherals supports shunts, current transformers, and di/dt current UART interface 2 sensors (ADE7169 and ADE7569 only) SPI or I C 2 current inputs for antitamper detection in the ADE7116/ Watchdog timer ADE7166/ADE7169 Power supply management with user selectable levels High frequency outputs proportional to I , active, reactive, rms Memory: 16 kB flash memory, 512 bytes RAM or apparent power (AP) Development tools Single pin emulation Table 1. Features Available on Each Device IDE based assembly and C-source debugging Feature Part No. Antitamper ADE7116, ADE7166, ADE7169 1 Not available in the ADE7116. Watt, VA, I , V ADE7116, ADE7166, ADE7169, ADE7566, rms rms ADE7569 Var ADE7169, ADE7569 di/dt Sensor ADE7169, ADE7569 Rev. C Document Feedback Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. rights of third parties that may result from its use. Specifications subject to change without notice. No Tel: 781.329.4700 20072015 Analog Devices, Inc. All rights reserved. license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners. Technical Support www.analog.com ADE7116/ADE7166/ADE7169/ADE7566/ADE7569 Data Sheet TABLE OF CONTENTS General Features ............................................................................... 1 Fault Detection ........................................................................... 55 Energy Measurement Features ........................................................ 1 di/dt Current Sensor and Digital Integrator for the ADE7169/ADE7569 ................................................................... 56 Microprocessor Features .................................................................. 1 Power Quality Measurements ................................................... 58 Revision History ............................................................................... 3 Phase Compensation ................................................................. 60 General Description ......................................................................... 4 RMS Calculation ........................................................................ 60 Functional Block Diagrams ............................................................. 4 Active Power Calculation .......................................................... 63 Specif icat ions ..................................................................................... 6 Active Energy Calculation ........................................................ 65 Energy Metering ........................................................................... 6 Reactive Power Calculation (ADE7169/ADE7569) ............... 68 Analog Peripherals ....................................................................... 7 Reactive Energy Calculation (ADE7169/ADE7569) .............. 69 Digital Interface ............................................................................ 8 Apparent Power Calculation ..................................................... 73 Timing Specifications ................................................................ 10 Apparent Energy Calculation ................................................... 74 Absolute Maximum Ratings .......................................................... 15 Ampere Hour Accumulation .................................................... 75 Thermal Resistance .................................................................... 15 Energy to Frequency Conversion ............................................. 76 ESD Caution ................................................................................ 15 Energy Register Scaling ............................................................. 77 Pin Configurations and Function Descriptions ......................... 16 Energy Measurement Interrupts .............................................. 77 Typical Performance Characteristics ........................................... 22 Temperature, Battery, and Supply Voltage Measurements........ 78 Performance Curves for the ADE7169 and ADE7569 Only . 25 Temperature Measurement ....................................................... 80 Terminology .................................................................................... 26 Battery Measurement ................................................................. 80 Special Function Register (SFR) Mapping .................................. 27 External Voltage Measurement ................................................ 81 Power Management ........................................................................ 30 8052 MCU Core Architecture....................................................... 83 Power Management Register Details ....................................... 30 MCU Registers ............................................................................ 83 Power Supply Architecture ........................................................ 33 Basic 8052 Registers ................................................................... 85 Battery Switchover ...................................................................... 33 Standard 8052 SFRs .................................................................... 86 Power Supply Management (PSM) Interrupt ......................... 34 Memory Overview ..................................................................... 86 Using the Power Supply Features ............................................. 36 Addressing Modes ...................................................................... 87 Operating Modes ............................................................................ 38 Instruction Set ............................................................................ 89 PSM0 (Normal Mode) ............................................................... 38 Read-Modify-Write Instructions ............................................. 91 PSM1 (Battery Mode) ................................................................ 38 Instructions That Affect Flags .................................................. 91 PSM2 (Sleep Mode) .................................................................... 38 Dual Data Pointers ......................................................................... 93 3.3 V Peripherals and Wake-Up Events ................................... 39 Interrupt System ............................................................................. 94 Transitioning Between Operating Modes ............................... 40 Standard 8052 Interrupt Architecture ..................................... 94 Using the Power Management Features .................................. 40 Interrupt Architecture ............................................................... 94 Energy Measurement ..................................................................... 41 Interrupt Registers...................................................................... 94 Access to Energy Measurement SFRs ...................................... 41 Interrupt Priority ........................................................................ 95 Access to Internal Energy Measurement Registers ................ 41 Interrupt Flags ............................................................................ 96 Energy Measurement Registers ................................................ 44 Interrupt Vectors ........................................................................ 98 Energy Measurement Internal Register Details ..................... 45 Interrupt Latency ........................................................................ 98 Interrupt Status/Enable SFRs .................................................... 48 Context Saving ............................................................................ 98 Analog Inputs .............................................................................. 50 Watchdog Timer ............................................................................. 99 Analog-to-Digital Conversion .................................................. 51 Rev. C Page 2 of 152