Energy Measurement. ADE7566 Datasheet

ADE7566 Measurement. Datasheet pdf. Equivalent


Analog Devices ADE7566
Data Sheet
Single-Phase Energy Measurement IC
with 8052 MCU, RTC, and LCD Driver
ADE7116/ADE7166/ADE7169/ADE7566/ADE7569
GENERAL FEATURES
Wide supply voltage operation: 2.4 V to 3.7 V
Internal bipolar switch between regulated and battery inputs
Ultralow power operation with power saving modes (PSM)
Full operation: 4 mA to 1.6 mA (PLL clock dependent)
Battery mode: 3.2 mA to 400 µA (PLL clock dependent)
Sleep mode
Real-time clock (RTC) mode: 1.5 µA
RTC and LCD mode: 38 µA (LCD charge pump enabled)
Reference: 1.2 V ± 0.1% (10 ppm/°C drift)
64-lead RoHS package option
Low profile quad flat package (LQFP)
Operating temperature range: −40°C to +85°C
ENERGY MEASUREMENT FEATURES
Proprietary analog-to-digital converters (ADCs) and digital
signal processing (DSP) provide high accuracy active
(watt), reactive (var), and apparent energy (volt ampere
(VA)) measurement
<0.1% error on active energy over a dynamic range of
1000 to 1 at 25°C
<0.5% error on reactive energy over a dynamic range of
1000 to 1 at 25°C (ADE7169 and ADE7569 only)
<0.5% error on root mean square (rms) measurements
over a dynamic range of 500 to 1 for current (Irms) and
100 to 1 for voltage (Vrms) at 25°C
Supports IEC 62053-21, IEC 62053-22, and IEC 62053-23;
EN 50470-3 Class A, Class B, and Class C; and ANSI C12-16
Differential input with programmable gain amplifiers (PGAs)
supports shunts, current transformers, and di/dt current
sensors (ADE7169 and ADE7569 only)
2 current inputs for antitamper detection in the ADE7116/
ADE7166/ADE7169
High frequency outputs proportional to Irms, active, reactive,
or apparent power (AP)
Table 1. Features Available on Each Device
Feature
Part No.
Antitamper
ADE7116, ADE7166, ADE7169
Watt, VA, Irms, Vrms
ADE7116, ADE7166, ADE7169, ADE7566,
ADE7569
Var ADE7169, ADE7569
di/dt Sensor
ADE7169, ADE7569
MICROPROCESSOR FEATURES
8052-based core
Single-cycle 4 MIPS 8052 core
8052-compatible instruction set
32.768 kHz external crystal with on-chip PLL
2 external interrupt sources
External reset pin
Low power battery mode
Wake up from input/output (I/O), temperature change1,
alarm, and universal asynchronous receiver/transmitter
(UART)
LCD driver operation
Temperature measurement
Real-time clock (RTC)
Counter for seconds, minutes, and hours
Automatic battery switchover for RTC backup
Operation down to 2.4 V
Ultralow battery supply current: 1.5 µA
Selectable output frequency: 1 Hz to 16 kHz
Embedded digital crystal frequency compensation for
calibration and temperature variation of 2 ppm resolution
Integrated LCD driver
108-segment driver for the ADE7566/ADE7569 and
104-segment driver for the ADE7116/ADE7166/ADE7169
2×, 3×, or 4× multiplexing
LCD voltages generated internally1 or with external resistors
Internal adjustable drive voltages up to 5 V independent
of power supply level1
On-chip peripherals
UART interface
SPI or I2C
Watchdog timer
Power supply management with user selectable levels
Memory: 16 kB flash memory, 512 bytes RAM
Development tools
Single pin emulation
IDE based assembly and C-source debugging
1 Not available in the ADE7116.
Rev. C
Document Feedback
Information furnished by Analog Devices is believed to be accurate and reliable. However, no
responsibilityisassumedbyAnalogDevices for itsuse,nor foranyinfringementsofpatentsor other
rights of third parties that may result from its use. Specifications subject to change without notice. No
license is granted by implication or otherwise under any patent or patent rights of Analog Devices.
Trademarksandregisteredtrademarksarethepropertyoftheirrespectiveowners.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781.329.4700 ©2007–2015 Analog Devices, Inc. All rights reserved.
Technical Support
www.analog.com


ADE7566 Datasheet
Recommendation ADE7566 Datasheet
Part ADE7566
Description Single-Phase Energy Measurement
Feature ADE7566; Data Sheet Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver ADE7116/ADE7166/AD.
Manufacture Analog Devices
Datasheet
Download ADE7566 Datasheet




Analog Devices ADE7566
ADE7116/ADE7166/ADE7169/ADE7566/ADE7569
Data Sheet
TABLE OF CONTENTS
General Features ............................................................................... 1 
Energy Measurement Features........................................................ 1 
Microprocessor Features.................................................................. 1 
Revision History ............................................................................... 3 
General Description ......................................................................... 4 
Functional Block Diagrams............................................................. 4 
Specifications..................................................................................... 6 
Energy Metering ........................................................................... 6 
Analog Peripherals ....................................................................... 7 
Digital Interface ............................................................................ 8 
Timing Specifications ................................................................ 10 
Absolute Maximum Ratings.......................................................... 15 
Thermal Resistance .................................................................... 15 
ESD Caution................................................................................ 15 
Pin Configurations and Function Descriptions ......................... 16 
Typical Performance Characteristics ........................................... 22 
Performance Curves for the ADE7169 and ADE7569 Only. 25 
Terminology .................................................................................... 26 
Special Function Register (SFR) Mapping .................................. 27 
Power Management........................................................................ 30 
Power Management Register Details ....................................... 30 
Power Supply Architecture........................................................ 33 
Battery Switchover...................................................................... 33 
Power Supply Management (PSM) Interrupt ......................... 34 
Using the Power Supply Features ............................................. 36 
Operating Modes ............................................................................ 38 
PSM0 (Normal Mode) ............................................................... 38 
PSM1 (Battery Mode) ................................................................ 38 
PSM2 (Sleep Mode).................................................................... 38 
3.3 V Peripherals and Wake-Up Events................................... 39 
Transitioning Between Operating Modes ............................... 40 
Using the Power Management Features .................................. 40 
Energy Measurement ..................................................................... 41 
Access to Energy Measurement SFRs ...................................... 41 
Access to Internal Energy Measurement Registers................ 41 
Energy Measurement Registers ................................................ 44 
Energy Measurement Internal Register Details ..................... 45 
Interrupt Status/Enable SFRs .................................................... 48 
Analog Inputs.............................................................................. 50 
Analog-to-Digital Conversion.................................................. 51 
Fault Detection ........................................................................... 55 
di/dt Current Sensor and Digital Integrator for the
ADE7169/ADE7569 ................................................................... 56 
Power Quality Measurements................................................... 58 
Phase Compensation ................................................................. 60 
RMS Calculation ........................................................................ 60 
Active Power Calculation .......................................................... 63 
Active Energy Calculation ........................................................ 65 
Reactive Power Calculation (ADE7169/ADE7569) ............... 68 
Reactive Energy Calculation (ADE7169/ADE7569).............. 69 
Apparent Power Calculation..................................................... 73 
Apparent Energy Calculation ................................................... 74 
Ampere Hour Accumulation.................................................... 75 
Energy to Frequency Conversion............................................. 76 
Energy Register Scaling ............................................................. 77 
Energy Measurement Interrupts .............................................. 77 
Temperature, Battery, and Supply Voltage Measurements........ 78 
Temperature Measurement ....................................................... 80 
Battery Measurement................................................................. 80 
External Voltage Measurement ................................................ 81 
8052 MCU Core Architecture....................................................... 83 
MCU Registers............................................................................ 83 
Basic 8052 Registers ................................................................... 85 
Standard 8052 SFRs.................................................................... 86 
Memory Overview ..................................................................... 86 
Addressing Modes...................................................................... 87 
Instruction Set ............................................................................ 89 
Read-Modify-Write Instructions ............................................. 91 
Instructions That Affect Flags .................................................. 91 
Dual Data Pointers ......................................................................... 93 
Interrupt System ............................................................................. 94 
Standard 8052 Interrupt Architecture ..................................... 94 
Interrupt Architecture ............................................................... 94 
Interrupt Registers...................................................................... 94 
Interrupt Priority........................................................................ 95 
Interrupt Flags ............................................................................ 96 
Interrupt Vectors ........................................................................ 98 
Interrupt Latency........................................................................ 98 
Context Saving............................................................................ 98 
Watchdog Timer ............................................................................. 99 
Rev. C | Page 2 of 152



Analog Devices ADE7566
Data Sheet
ADE7116/ADE7166/ADE7169/ADE7566/ADE7569
Writing to the Watchdog Timer SFR (WDCON,
Address 0xC0) .......................................................................... 100 
Watchdog Timer Interrupt...................................................... 100 
LCD Driver ................................................................................... 101 
LCD Registers ........................................................................... 101 
LCD Setup ................................................................................. 104 
LCD Timing and Waveforms ................................................. 104 
Blink Mode................................................................................ 105 
Display Element Control......................................................... 105 
Voltage Generation .................................................................. 106 
LCD External Circuitry........................................................... 107 
LCD Function in PSM2 Mode ............................................... 107 
Flash Memory ............................................................................... 109 
Flash Memory Overview......................................................... 109 
Flash Memory Organization................................................... 110 
Using the Flash Memory ......................................................... 110 
Protecting the Flash Memory ................................................. 114 
In Circuit Programming ......................................................... 115 
Timers ............................................................................................ 116 
Timer Registers......................................................................... 116 
Timer 0 and Timer 1................................................................ 118 
Timer 2 ...................................................................................... 119 
Phase-Locked Loop (PLL) .......................................................... 121 
PLL Registers ............................................................................ 121 
Real-Time Clock (RTC) .............................................................. 122 
RTC SFRs .................................................................................. 122 
Read and Write Operations .................................................... 125 
RTC Modes ............................................................................... 125 
RTC Interrupts ..........................................................................125 
RTC Calibration ........................................................................126 
UART Serial Interface...................................................................127 
UART SFRs ................................................................................127 
UART Operation Modes ..........................................................130 
UART Baud Rate Generation ..................................................131 
UART Additional Features ......................................................133 
Serial Peripheral Interface (SPI)..................................................134 
SPI Registers ..............................................................................134 
SPI Pins.......................................................................................137 
SPI Master Operating Modes ..................................................138 
SPI Interrupt and Status Flags .................................................139 
I2C-Compatible Interface .............................................................140 
Serial Clock Generation ...........................................................140 
Slave Addresses..........................................................................140 
I2C Registers...............................................................................140 
Read and Write Operations .....................................................141 
I2C Receive and Transmit FIFOs.............................................142 
I/O Ports .........................................................................................143 
Parallel I/O.................................................................................143 
I/O Registers ..............................................................................144 
Port 0...........................................................................................147 
Port 1...........................................................................................147 
Port 2...........................................................................................147 
Determining the Version of the Device .....................................148 
Outline Dimensions......................................................................149 
Ordering Guide .........................................................................149 
REVISION HISTORY
10/15—Rev. B to Rev. C
Deleted ADE7156 and 64-Lead LFCSP_VQ Package ... Universal
Changes to Figure 46 ......................................................................53
Updated Outline Dimensions......................................................150
Changes to Ordering Guide.........................................................151
11/08—Rev. A to Rev. B
Added ADE7116/ADE7156 .............................................. Universal
Changes to Table 1 ............................................................................1
Added Figure 2 ..................................................................................5
Changes to Table 13 ........................................................................16
Added Figure 10 and Table 14; Renumbered Sequentially........19
Added Exposed Pad Notation to Outline Dimensions ............148
Changes to Ordering Guide.........................................................149
12/07—Rev. 0 to Rev. A
Added ADE7166/ADE7169.............................................. Universal
Changes to Table 1 ............................................................................1
Changes to Ordering Guide.........................................................144
11/07—Revision 0: Initial Version
Rev. C | Page 3 of 152







@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site (Privacy Policy & Contact)