Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver Data Sheet ADE5169/ADE5569 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.4 mA to 1.6 mA (PLL clock dependent) 32.768 kHz external crystal with on-chip PLL Battery mode: 3.3 mA to 400 A (PLL clock dependent) 2 external interrupt sources Sleep mode External reset pin Real-time clock (RTC) mode: 1.7 A Low power battery mode 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, low profile quad flat, RoHS-compliant package (LQFP) (UART) Operating temperature range: 40C to +85C LCD driver operation with automatic scrolling Temperature measurement ENERGY MEASUREMENT FEATURES Real-time clock (RTC) Proprietary analog-to-digital converters (ADCs) and digital Counter for seconds, minutes, hours, days, months, signal processing (DSP) provide high accuracy active and years (watt), reactive (var), and apparent energy (volt-ampere Date counter, including leap year compensation (VA)) measurement Automatic battery switchover for RTC backup <0.1% error on active energy over a dynamic range of Operation down to 2.4 V 1000 to 1 at 25C Ultralow battery supply current: 1.7 A <0.5% error on reactive energy over a dynamic range of Selectable output frequency: 1 Hz to 16 kHz 1000 to 1 at 25C (ADE5169 and ADE5569 only) Embedded digital crystal frequency compensation for <0.5% error on root mean square (rms) measurements calibration and temperature variation of 2 ppm resolution over a dynamic range of 500 to 1 for current (Irms) and Integrated LCD driver 100 to 1 for voltage (Vrms) at 25C 108-segment driver for the and ADE5569 Supports IEC 62053-21 IEC 62053-22 IEC 62053-23 104-segment driver for the and ADE5169 EN 50470-3 Class A, Class B, and Class C and ANSI C12-16 2, 3, or 4 multiplexing Differential input with programmable gain amplifiers (PGAs) 4 LCD memory banks for screen scrolling supports shunts, current transformers, and di/dt current LCD voltages generated internally or with external resistors sensors (ADE5169 and ADE5569 only) Internal adjustable drive voltages up to 5 V independent 2 current inputs for antitamper detection in the ADE5169 of power supply level High frequency outputs proportional to Irms, active, reactive, On-chip peripherals or apparent power (AP) 2 independent UART interfaces 2 SPI or I C Table 1. Features Available on Each Device Watchdog timer Watt, Power supply management with user selectable levels VA, di/dt Memory Memory: 62 kB flash memory, 2.256 kB RAM Part No. Antitamper Irms, Vrms Var Sensor Size Development tools ADE5169 Yes Yes Yes Yes 62 kB Single-pin emulation ADE5569 No Yes Yes Yes 62 kB IDE-based assembly and C source debugging Rev. E 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 20082015 Analog Devices, Inc. All rights reserved. license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Technical Support www.analog.com Trademarks and registered trademarks are the property of their respective owners. ADE5169/ADE5569 Data Sheet TABLE OF CONTENTS General Features ............................................................................... 1 di/dt Current Sensor and Digital Integrator ............................... 53 Energy Measurement Features ........................................................ 1 Power Quality Measurements ................................................... 54 Microprocessor Features .................................................................. 1 Phase Compensation ................................................................. 56 Revision History ............................................................................... 4 RMS Calculation ........................................................................ 57 General Description ......................................................................... 5 Active Power Calculation .......................................................... 59 Functional Block Diagrams ............................................................. 5 Active Energy Calculation ........................................................ 62 Specif icat ions ..................................................................................... 7 Reactive Power Calculation ...................................................... 65 Energy Metering ........................................................................... 7 Reactive Energy Calculation ..................................................... 67 Analog Peripherals ....................................................................... 8 Apparent Power Calculation ..................................................... 70 Digital Interface ............................................................................ 9 Apparent Energy Calculation ................................................... 70 Timing Specifications ................................................................ 11 Ampere-Hour Accumulation ................................................... 72 Absolute Maximum Ratings .......................................................... 16 Energy to Frequency Conversion ............................................. 73 Thermal Resistance .................................................................... 16 Energy Register Scaling ............................................................. 73 ESD Caution ................................................................................ 16 Energy Measurement Interrupts .............................................. 74 Pin Configurations and Function Descriptions ......................... 17 Temperature, Battery, and Supply Voltage Measurements........ 75 Typical Performance Characteristics ........................................... 21 Temperature Measurement ....................................................... 77 Terminology .................................................................................... 25 Battery Measurement ................................................................. 77 Special Function Register (SFR) Mapping .................................. 26 External Voltage Measurement ................................................ 78 Power Management ........................................................................ 28 8052 MCU Core Architecture....................................................... 80 Power Management Register Details ....................................... 28 MCU Registers ............................................................................ 80 Power Supply Architecture ........................................................ 31 Basic 8052 Registers ................................................................... 82 Battery Switchover ...................................................................... 31 Standard 8052 SFRs .................................................................... 84 Power Supply Management (PSM) Interrupt ......................... 31 Memory Overview ..................................................................... 85 Using the Power Supply Features ............................................. 33 Addressing Modes ...................................................................... 86 Operating Modes ............................................................................ 36 Instruction Set ............................................................................ 87 PSM0 (Normal Mode) ............................................................... 36 Read-Modify-Write Instructions ............................................. 89 PSM1 (Battery Mode) ................................................................ 36 Instructions That Affect Flags .................................................. 90 PSM2 (Sleep Mode) .................................................................... 36 Dual Data Pointers ......................................................................... 92 3.3 V Peripherals and Wake-Up Events ................................... 37 Interrupt System ............................................................................. 93 Transitioning Between Operating Modes ............................... 38 Standard 8052 Interrupt Architecture ..................................... 93 Using the Power Management Features .................................. 38 Interrupt Architecture ............................................................... 93 Energy Measurement ..................................................................... 39 Interrupt Registers...................................................................... 93 Access to Energy Measurement SFRs ...................................... 39 Interrupt Priority ........................................................................ 94 Access to Internal Energy Measurement Registers ................ 39 Interrupt Flags ............................................................................ 95 Energy Measurement Registers ................................................ 42 Interrupt Vectors ........................................................................ 97 Energy Measurement Internal Registers Details .................... 43 Interrupt Latency ........................................................................ 97 Interrupt Status/Enable SFRs .................................................... 46 Context Saving ............................................................................ 97 Analog Inputs .............................................................................. 47 Watchdog Timer ............................................................................. 98 Analog-to-Digital Conversion .................................................. 48 Writing to the Watchdog Timer SFR (WDCON, Address 0xC0) ............................................................................. 99 Fault Detection (ADE5169 Only) ............................................ 52 Rev. E Page 2 of 155