ADE7816 [ADI]

Six Current Channels, One Voltage Channel; 六电流通道,一电压通道
ADE7816
型号: ADE7816
厂家: ADI    ADI
描述:

Six Current Channels, One Voltage Channel
六电流通道,一电压通道

文件: 总48页 (文件大小:655K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
Six Current Channels, One Voltage Channel  
Energy Metering IC  
Data Sheet  
ADE7816  
voltage and current. The device incorporates seven sigma-delta  
(Σ-Δ) ADCs with a high accuracy energy measurement core.  
FEATURES  
Measures active and reactive energy, sampled waveforms,  
and current and voltage rms  
6 current input channels and 1 voltage channel  
<0.1% error in active and reactive energy over a dynamic  
range of 1000:1  
Supports current transformer and Rogowski coil sensors  
Provides instantaneous current and voltage readings  
Angle measurements on all 6 channels  
2 kHz bandwidth operation  
The six current input channels allow multiple loads to be measured  
simultaneously. The voltage channel and the six current channels  
each have a complete signal path allowing for a full range of  
measurements. Each input channel supports a flexible gain stage  
and is suitable for use with current transformers (CTs). Six on-  
chip digital integrators facilitate the use of the Rogowski coil  
sensors.  
The ADE7816 provides access to on-chip meter registers via either  
the SPI or I2C interface. A dedicated high speed interface, the  
high speed data capture (HSDC) port, can be used in conjunction  
with I2C to provide access to real-time ADC output information.  
A full range of power quality information, such as overcurrent,  
overvoltage, peak, and sag detection, is accessible via the two  
Reference: 1.2 V (drift 10 ppm/°C typical) with external  
overdrive capability  
Flexible I2C, SPI, and HSDC serial interfaces  
GENERAL DESCRIPTION  
The ADE7816 is a highly accurate, multichannel metering  
device that is capable of measuring one voltage channel and up  
to six current channels. It measures line voltage and current and  
calculates active and reactive energy, as well as instantaneous rms  
IRQ0  
IRQ1  
external interrupt pins,  
and  
.
The ADE7816 energy metering IC operates from a 3.3 V supply  
voltage and is available in a 40-lead LFCSP that is Pb free and  
RoHS compliant.  
FUNCTIONAL BLOCK DIAGRAM  
REF  
RESET  
4
IN/OUT  
17  
DGND  
6
27  
28  
CLKIN  
2
3
PULL_HIGH  
PULL_LOW  
VRMSOS  
1.2V  
REF  
ADE7816  
CLKOUT  
VGAIN  
2
VRMS  
X
LPF  
15  
16  
VP  
VN  
ADC  
PGA2  
PGA1  
HPF  
HPF  
AWATTOS  
AWGAIN  
IAGAIN  
DIGITAL  
INTEGRATOR  
29  
32  
36  
IRQ0  
PCF_A_COEFF  
2
SPI/I C  
LPF  
IRQ1  
7
8
IAP  
IAN  
ENERGY  
AND RMS  
DATA  
ADC  
AVAROS AVARGAIN  
SCLK/SCL  
ALL  
COMPUTATIONAL  
BLOCK FOR  
CHANNELS  
38 MOSI/SDA  
37 MISO/HSD  
9
TOTAL  
IBP  
REACTIVE POWER  
PGA1  
PGA1  
ADC  
ADC  
ADC  
ADC  
ADC  
ENERGY AND RMS CALCULATIONS SEE  
CHANNEL A FOR DETAILED SIGNAL PATH  
2
I C  
IBN 12  
IARMSOS  
ICP 13  
ICN 14  
39 SS/HSA  
35 HSCLK  
HSDC  
ENERGY AND RMS CALCULATIONS SEE  
CHANNEL A FOR DETAILED SIGNAL PATH  
2
IARMS  
X
LPF  
23  
22  
19  
IDP  
IEP  
IFP  
PGA3  
PGA3  
PGA3  
ENERGY AND RMS CALCULATIONS SEE  
CHANNEL A FOR DETAILED SIGNAL PATH  
1
NC  
10 NC  
11 NC  
20 NC  
21 NC  
30 NC  
ENERGY AND RMS CALCULATIONS SEE  
CHANNEL A FOR DETAILED SIGNAL PATH  
POR  
26  
LDO  
LDO  
ENERGY AND RMS CALCULATIONS SEE  
CHANNEL A FOR DETAILED SIGNAL PATH  
IN 18  
25  
24  
5
40  
NC  
34  
33  
31  
VDD AGND  
AVDD  
DVDD  
NC  
NC  
NC  
Figure 1.  
Rev. 0  
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  
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.  
Trademarks and registeredtrademarks arethe property of their respective owners.  
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.  
Tel: 781.329.4700  
Fax: 781.461.3113  
www.analog.com  
©2012 Analog Devices, Inc. All rights reserved.  
 
ADE7816  
Data Sheet  
TABLE OF CONTENTS  
Features .............................................................................................. 1  
Energy Gain Calibration ........................................................... 24  
Energy Offset Calibration ......................................................... 24  
Energy Phase Calibration.......................................................... 25  
RMS Offset Calibration............................................................. 25  
Power Quality Features.................................................................. 26  
Selecting a Current Channel Group ........................................ 26  
Instantaneous Waveforms......................................................... 26  
Zero-Crossing Detection........................................................... 26  
Peak Detection............................................................................ 27  
Overcurrent and Overvoltage Detection ................................ 27  
Indication of Power Direction.................................................. 28  
Angle Measurements ................................................................. 28  
Period Measurement.................................................................. 29  
Voltage Sag Detection................................................................ 29  
Setting the SAGCYC Register................................................... 29  
Setting the SAGLVL Register.................................................... 29  
Voltage Sag Interrupt ................................................................. 29  
Checksum.................................................................................... 30  
Outputs ............................................................................................ 31  
Interrupts..................................................................................... 31  
Communication ......................................................................... 31  
Registers........................................................................................... 36  
Register Protection..................................................................... 36  
Register Format .......................................................................... 36  
Register Maps.............................................................................. 37  
Outline Dimensions....................................................................... 45  
Ordering Guide .......................................................................... 45  
General Description......................................................................... 1  
Functional Block Diagram .............................................................. 1  
Revision History ............................................................................... 2  
Specifications..................................................................................... 3  
Timing Characteristics ................................................................ 5  
Absolute Maximum Ratings............................................................ 8  
Thermal Resistance ...................................................................... 8  
ESD Caution.................................................................................. 8  
Pin Configuration and Function Descriptions............................. 9  
Typical Performance Characteristics ........................................... 11  
Test Circuit ...................................................................................... 14  
Quick Start....................................................................................... 16  
Inputs................................................................................................ 17  
Power and Ground ..................................................................... 17  
Reference Circuit........................................................................ 17  
Reset ............................................................................................. 17  
CLKIN and CLKOUT................................................................ 18  
Analog Inputs.............................................................................. 18  
Energy Measurements.................................................................... 20  
Starting and Stopping the DSP ................................................. 20  
Active Energy Measurement..................................................... 20  
Reactive Energy Measurement ................................................. 21  
Line Cycle Accumulation Mode............................................... 22  
Root Mean Square Measurement............................................. 23  
No Load Detection..................................................................... 23  
Energy Calibration ......................................................................... 24  
Channel Matching...................................................................... 24  
REVISION HISTORY  
2/12—Revision 0: Initial Version  
Rev. 0 | Page 2 of 48  
 
Data Sheet  
ADE7816  
SPECIFICATIONS  
VDD = 3.3 V 10ꢀ, AGND = DGND = 0 V, on-chip reference, CLKIN = 16.384 MHz, TMIN to TMAX = −40°C to +85°C.  
Table 1.  
Parameter 1, 2  
Min  
Typ  
Max  
Unit  
Test Conditions/Comments  
ACCURACY  
Active Energy Measurement  
Active Energy Measurement Error  
(per Channel)  
0.1  
0.2  
0.1  
%
%
%
Over a dynamic range of 1000 to 1, PGA = 1, 2, 4;  
integrator off  
Over a dynamic range of 3000 to 1, PGA = 1, 2, 4;  
integrator off  
Over a dynamic range of 500 to 1, PGA = 8,16;  
integrator on  
Phase Error Between Channels  
Power Factor (PF) = 0.8 Capacitive  
PF = 0.5 Inductive  
Line frequency = 45 Hz to 65 Hz, HPF on  
Phase lead = 37°  
Phase lag = 60°  
0.05  
0.05  
Degrees  
Degrees  
AC Power Supply Rejection  
VDD = 3.3 V + 120 mV rms/120 Hz, IxP = VP =  
100 mV rms  
Energy Register Variation  
DC Power Supply Rejection  
0.01  
%
VDD = 3.3 V 330 mV dc  
Energy Register Variation  
Total Active Energy Measurement Bandwidth  
REACTIVE ENERGY MEASUREMENT  
0.01  
2
%
kHz  
Reactive Energy Measurement Error  
(per Channel)  
0.1  
0.2  
0.1  
%
%
%
Over a dynamic range of 1000 to 1, PGA = 1, 2, 4;  
integrator off  
Over a dynamic range of 3000 to 1, PGA = 1, 2, 4;  
integrator off  
Over a dynamic range of 500 to 1, PGA = 8,16;  
integrator on  
Phase Error Between Channels  
PF = 0.8 Capacitive  
PF = 0.5 Inductive  
Line frequency = 45 Hz to 65 Hz, HPF on  
Phase lead = 37°  
Phase lag = 60°  
0.05  
0.05  
Degrees  
Degrees  
AC Power Supply Rejection  
VDD = 3.3 V + 120 mV rms/120 Hz, IxP = VP =  
100 mV rms  
Energy Register Variation  
DC Power Supply Rejection  
0.01  
%
VDD = 3.3 V 330 mV dc  
Energy Register Variation  
Total Reactive Energy Measurement Bandwidth  
RMS MEASUREMENTS  
0.01  
2
%
kHz  
IRMS and VRMS Measurement Bandwidth  
IRMS and VRMS Measurement Error  
2
0.1  
kHz  
%
Over a dynamic range of 500 to 1; one second  
of averaging (100 samples)  
ANALOG INPUTS  
Maximum Signal Levels  
500  
mV peak Single-ended inputs between the following  
pins: IAP and IAN, IBP and IBN, ICP and ICN,  
IDP and IN, IEP and IN, IFP and IN.  
Input Impedance (DC)  
IAP, IAN, IBP, IBN, ICP, ICN, IDP, IEP, and IFP Pins 400  
kΩ  
kΩ  
IN Pin  
130  
ADC Offset Error  
2
4
mV  
PGA = 1, uncalibrated error, see the Terminology  
section  
External 1.2 V reference  
Gain Error  
%
Rev. 0 | Page 3 of 48  
 
 
ADE7816  
Data Sheet  
Parameter 1, 2  
Min  
Typ  
Max  
Unit  
Test Conditions/Comments  
WAVEFORM SAMPLING  
Current and Voltage Channels  
Signal-to-Noise Ratio, SNR  
Signal-to-Noise-and-Distortion Ratio, SINAD  
Bandwidth (−3 dB)  
Sampling CLKIN/2048, 16.384 MHz/2048 = 8 kSPS  
See the Instantaneous Waveforms section  
PGA = 1  
PGA = 1  
70  
60  
2
dB  
dB  
kHz  
TIME INTERVAL BETWEEN CHANNELS  
Measurement Error  
0.3  
Degrees  
Line frequency = 45 Hz to 65 Hz, HPF on  
Minimum = 1.2 V − 8%; maximum = 1.2 V + 8%  
Nominal 1.207 V at the REFIN/OUT pin at TA = 25°C  
REFERENCE INPUT  
REFIN/OUT Input Voltage Range  
Input Capacitance  
1.1  
1.2  
1.3  
10  
V
pF  
ON-CHIP REFERENCE  
Reference Error  
Output Impedance  
2
mV  
kΩ  
Temperature Coefficient  
10  
50  
ppm/°C  
Maximum value across full temperature range  
of −40°C to +85°C  
CLKIN, CLKOUT  
All specifications are for CLKIN, CLKOUT of  
16.384 MHz  
Input Clock Frequency  
Crystal Equivalent Series Resistance  
CLKIN Input Capacitance  
16.22  
30  
16.384 16.55  
MHz  
Ω
pF  
200  
20  
20  
CLKOUT Output Capacitance  
pF  
LOGIC INPUTS—MOSI/SDA, SCLK/SCL,  
SS/HSA, RESET, PULL_HIGH, PULL_LOW  
Input High Voltage, VINH  
Input Low Voltage, VINL  
Input Current, IIN  
2.0  
V
V
μA  
ꢀA  
nA  
pF  
VDD = 3.3 V 10%  
VDD = 3.3 V 10%  
Input = 0 V, VDD = 3.3 V  
Input = VDD = 3.3 V  
Input = VDD = 3.3 V  
0.8  
−8.7  
3
100  
Input Capacitance, CIN  
10  
LOGIC OUTPUTS—IRQ0, IRQ1, MISO/HSD  
VDD = 3.3 V 10%  
VDD = 3.3 V 10%  
Output High Voltage, VOH  
ISOURCE  
Output Low Voltage, VOL  
ISINK  
POWER SUPPLY  
VDD Pin  
IDD  
2.4  
3.0  
V
μA  
V
800  
0.4  
2
VDD = 3.3 V 10%  
mA  
For specified performance  
Minimum = 3.3 V − 10%; maximum = 3.3 V + 10%  
3.6  
27.8  
V
mA  
25  
1 See the Typical Performance Characteristics section.  
2 See the Terminology section for a definition of the parameters.  
Rev. 0 | Page 4 of 48  
 
Data Sheet  
ADE7816  
TIMING CHARACTERISTICS  
VDD = 3.3 V 10ꢀ, AGND = DGND = 0 V, on-chip reference, CLKIN = 16.384 MHz, TMIN to TMAX = −40°C to +85°C. Note that, within  
the timing tables and diagrams, the dual function pin names are referenced by the relevant function only; see the Pin Configuration and  
Function Descriptions section for full pin mnemonics and function descriptions.  
I2C-Compatible Interface Timing  
Table 2. I2C-Compatible Interface Timing Parameters  
Standard Mode  
Fast Mode  
Parameter  
Symbol  
fSCL  
tHD;STA  
tLOW  
tHIGH  
tSU;STA  
tHD;DAT  
tSU;DAT  
tR  
Min  
Max  
Min  
Max  
Unit  
kHz  
ꢀs  
μs  
μs  
μs  
μs  
ns  
ns  
ns  
μs  
μs  
ns  
SCL Clock Frequency  
Hold Time (Repeated) Start Condition  
Low Period of SCL Clock  
High Period of SCL Clock  
Setup Time for Repeated Start Condition  
Data Hold Time  
0
100  
0
400  
4.0  
4.7  
4.0  
4.7  
0
0.6  
1.3  
0.6  
0.6  
0
100  
20  
20  
0.6  
1.3  
3.45  
0.9  
Data Setup Time  
250  
Rise Time of Both SDA and SCL Signals  
Fall Time of Both SDA and SCL Signals  
Setup Time for Stop Condition  
Bus Free Time Between a Stop and Start Condition  
Pulse Width of Suppressed Spikes  
1000  
300  
300  
300  
tF  
tSU;STO  
tBUF  
4.0  
4.7  
N/A1  
tSP  
50  
1 N/A means not applicable.  
SDA  
tBUF  
tSU;DAT  
tR  
tHD;STA  
tF  
tSP  
tR  
tR  
tLOW  
SCL  
tHD;STA  
tSU;STO  
tHD;DAT  
tSU;STA  
tHIGH  
START  
CONDITION  
REPEATED START  
CONDITION  
STOP  
START  
CONDITION CONDITION  
Figure 2. I2C-Compatible Interface Timing  
Rev. 0 | Page 5 of 48  
 
 
ADE7816  
Data Sheet  
SPI Interface Timing  
Table 3. SPI Interface Timing Parameters  
Parameter  
Symbol  
Min  
50  
Max  
Unit  
ns  
ꢀs  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
SS to SCLK Edge  
tSS  
SCLK Period  
SCLK Low Pulse Width  
0.4  
175  
175  
40001  
tSL  
tSH  
SCLK High Pulse Width  
Data Output Valid After SCLK Edge  
Data Input Setup Time Before SCLK Edge  
Data Input Hold Time After SCLK Edge  
Data Output Fall Time  
Data Output Rise Time  
SCLK Rise Time  
SCLK Fall Time  
MISO Disable After SS Rising Edge  
SS High After SCLK Edge  
tDAV  
tDSU  
tDHD  
tDF  
tDR  
tSR  
tSF  
tDIS  
tSFS  
100  
100  
5
20  
20  
20  
20  
200  
0
1 Guaranteed by design.  
SS  
tSS  
tSFS  
SCLK  
tSL  
tSH  
tSF  
tSR  
tDAV  
tDIS  
MSB  
INTERMEDIATE BITS  
LSB  
MISO  
tDF  
tDR  
INTERMEDIATE BITS  
MSB IN  
LSB IN  
MOSI  
tDSU  
tDHD  
Figure 3. SPI Interface Timing  
Rev. 0 | Page 6 of 48  
Data Sheet  
ADE7816  
HSDC Interface Timing  
Table 4. HSDC Interface Timing Parameter  
Parameter  
Symbol  
Min  
0
125  
50  
Max  
Unit  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
HSA to HSCLK Edge  
HSCLK Period  
tSS  
HSCLK Low Pulse Width  
HSCLK High Pulse Width  
Data Output Valid After HSCLK Edge  
Data Output Fall Time  
Data Output Rise Time  
HSCLK Rise Time  
HSCLK Fall Time  
HSD Disable After HSA Rising Edge  
HSA High After HSCLK Edge  
tSL  
tSH  
tDAV  
tDF  
tDR  
tSR  
tSF  
tDIS  
tSFS  
50  
40  
20  
20  
10  
10  
5
0
HSA  
tSS  
tSFS  
HSCLK  
tSL  
tSH  
tSF  
tSR  
tDAV  
tDIS  
MSB  
INTERMEDIATE BITS  
tDF  
LSB  
HSD  
tDR  
Figure 4. HSDC Interface Timing  
Load Circuit for All Timing Specifications  
2mA  
I
OL  
TO OUTPUT  
PIN  
1.6V  
C
L
50pF  
800µA  
I
OH  
Figure 5. Load Circuit for All Timing Specifications  
Rev. 0 | Page 7 of 48  
ADE7816  
Data Sheet  
ABSOLUTE MAXIMUM RATINGS  
TA = 25°C, unless otherwise noted.  
Regarding the temperature profile used in soldering RoHS-  
Table 5.  
Parameter  
VDD to AGND  
VDD to DGND  
Analog Input Voltage to AGND, IAP, IAN,  
IBP, IBN, ICP, ICN, IDP, IEP, IFP, IN  
Analog Input Voltage to VP and VN  
Reference Input Voltage to AGND  
Digital Input Voltage to DGND  
Digital Output Voltage to DGND  
Operating Temperature  
compliant parts, Analog Devices, Inc., advises that reflow profiles  
should conform to J-STD-20 from JEDEC. Refer to the JEDEC  
website for the latest revision.  
Rating  
−0.3 V to +3.7 V  
−0.3 V to +3.7 V  
−2 V to +2 V  
THERMAL RESISTANCE  
θJA is specified for the worst-case conditions, that is, a device  
soldered in a circuit board for surface-mount packages.  
−2 V to +2 V  
−0.3 V to VDD + 0.3 V  
−0.3 V to VDD + 0.3 V  
−0.3 V to VDD + 0.3 V  
Table 6. Thermal Resistance  
Package Type  
θJA  
θJC  
Unit  
40-Lead LFCSP  
29.3  
1.8  
°C/W  
Industrial Range  
Storage Temperature Range  
Junction Temperature  
−40°C to +85°C  
−65°C to +150°C  
150°C  
ESD CAUTION  
Stresses above those listed under Absolute Maximum Ratings  
may cause permanent damage to the device. This is a stress  
rating only; functional operation of the device at these or any  
other conditions above those listed in the operational sections  
of this specification is not implied. Exposure to absolute  
maximum rating conditions for extended periods may affect  
device reliability.  
Rev. 0 | Page 8 of 48  
 
Data Sheet  
ADE7816  
PIN CONFIGURATION AND FUNCTION DESCRIPTIONS  
NC  
PULL_HIGH  
PULL_LOW  
RESET  
DVDD  
1
2
3
4
5
6
7
8
9
30  
29  
28  
NC  
IRQ0  
CLKOUT  
27 CLKIN  
26 VDD  
25 AGND  
ADE7816  
TOP VIEW  
DGND  
(Not to Scale)  
IAP  
AVDD  
IDP  
24  
23  
IAN  
IBP  
22 IEP  
NC  
21  
NC 10  
NOTES  
1. NC = NO CONNECT. THESE PINS ARE NOT CONNECTED  
INTERNALLY AND SHOULD BE LEFT FLOATING.  
2. CREATE A SIMILAR PAD ON THE PCB UNDER THE  
EXPOSED PAD. SOLDER THE EXPOSED PAD TO  
THE PAD ON THE PCB TO CONFER MECHANICAL  
STRENGTH TO THE PACKAGE. DO NOT CONNECT  
THE PADS TO AGND.  
Figure 6. Pin Configuration  
Table 7. Pin Function Descriptions  
Pin No.  
Mnemonic Description  
1, 10, 11, 20,  
21, 30, 31,  
33, 34, 40  
NC  
No Connect. These pins are not connected internally and should be left floating.  
2
3
4
5
PULL_HIGH  
PULL_LOW  
RESET  
Connect this pin to VDD for proper operation.  
Connect this pin to AGND for proper operation.  
Active Low Reset Input. Hold this pin low for at least 10 μs to trigger a hardware reset.  
DVDD  
On-Chip 2.5 V Digital LDO Access. Do not connect any external active circuitry to this pin. Decouple this pin  
with a 4.7 μF capacitor in parallel with a ceramic 220 nF capacitor.  
6
DGND  
Ground Reference. This pin provides the ground reference for the digital circuitry.  
7, 8  
IAP, IAN  
Analog Inputs for Current Channel A. This channel is used with the current transducers and is referenced in  
this data sheet as Current Channel A. Connect these inputs in a single-ended configuration with a maximum  
signal level of 0.5 V with respect to IAN.  
9, 12  
13, 14  
15, 16  
17  
IBP, IBN  
ICP, ICN  
VP, VN  
Analog Inputs for Current Channel B. This channel is used with the current transducers and is referenced in  
this data sheet as Current Channel B. Connect these inputs in a single-ended configuration with a maximum  
signal level of 0.5 V with respect to IBN.  
Analog Inputs for Current Channel C. This channel is used with the current transducers and is referenced in  
this data sheet as Current Channel C. Connect these inputs in a single-ended configuration with a maximum  
signal level of 0.5 V with respect to ICN.  
Analog Inputs for the Voltage Channel. This channel is used with the voltage transducer and is referenced as  
the voltage channel in this data sheet. Connect these inputs in a single-ended configuration with a maximum  
signal level of 0.5 V with respect to VN. This channel also has an internal PGA.  
On-Chip Voltage Reference Access. The on-chip reference has a nominal value of 1.2 V. An external reference  
source with 1.2 V 8% can also be connected at this pin. In either case, decouple this pin to AGND with a  
4.7 μF capacitor in parallel with a ceramic 100 nF capacitor.  
REFIN/OUT  
18  
19  
IN  
Analog Input Common Pin for Current Channel D, Current Channel E, and Current Channel F. See the pin  
descriptions for Pin 19, Pin 22, and Pin 23 for more details.  
Analog Input for Current Channel F. This channel is used with the current transducers and is referenced in this  
data sheet as Current Channel F. Connect this input in a single-ended configuration with a maximum signal  
level of 0.5 V with respect to IN.  
IFP  
22  
23  
IEP  
Analog Input for Current Channel E. This channel is used with the current transducers and is referenced in  
this data sheet as Current Channel E. Connect this input in a single-ended configuration with a maximum  
signal level of 0.5 V with respect to IN.  
Analog Input for Current Channel D. This channel is used with the current transducers and is referenced in  
this data sheet as Current Channel D. Connect this input in a single-ended configuration with a maximum  
signal level of 0.5 V with respect to IN.  
IDP  
Rev. 0 | Page 9 of 48  
 
 
ADE7816  
Data Sheet  
Pin No.  
Mnemonic Description  
24  
AVDD  
On-Chip 2.5 V Analog Low Dropout (LDO) Regulator Access. Do not connect external active circuitry to this  
pin. Decouple this pin with a 4.7 μF capacitor in parallel with a ceramic 220 nF capacitor.  
25  
AGND  
Ground Reference. This pin provides the ground reference for the analog circuitry. Tie this pin to the analog  
ground plane or to the quietest ground reference in the system. Use this quiet ground reference for all  
analog circuitry, such as antialiasing filters and current and voltage transducers.  
26  
27  
VDD  
Supply Voltage. This pin provides the supply voltage and should be set at 3.3 V 10% for specified operation.  
Decouple this pin to AGND with a 10 μF capacitor in parallel with a ceramic 100 nF capacitor.  
Master Clock. An external clock can be provided at this logic input. Alternatively, a parallel resonant AT-cut  
crystal can be connected across CLKIN and CLKOUT to provide a clock source for the ADE7816. The clock  
frequency for specified operation is 16.384 MHz. Use ceramic load capacitors of a few tens of picofarads (pF)  
with the gate oscillator circuit. Refer to the crystal manufacturer data sheet for load capacitance requirements.  
CLKIN  
28  
CLKOUT  
A crystal can be connected across this pin and CLKIN (as stated in the description for Pin 27) to provide  
a clock source for the ADE7816. The CLKOUT pin can drive one CMOS load when either an external clock  
is supplied at CLKIN or a crystal is being used.  
29, 32  
IRQ0, IRQ1  
Interrupt Request Outputs. These are active low logic outputs. See the Communication section for a detailed  
presentation of the events that can trigger interrupts.  
35  
36  
HSCLK  
SCLK/SCL  
Serial Clock Output for the HSDC Port.  
Serial Clock Input for the SPI Port/Serial Clock Input for the I2C Port. All serial data transfers are synchronized to  
this clock (see the Serial Interfaces section). This pin has a Schmidt trigger input for use with a clock source  
that has a slow edge transition time (for example, opto-isolator outputs).  
37  
38  
39  
EP  
MISO/HSD  
MOSI/SDA  
SS/HSA  
Data Output for SPI Port/Data Output for HSDC Port.  
Data Input for SPI Port/Data Output for I2C Port.  
Slave Select for SPI Port/HSDC Port Active.  
Exposed  
Pad  
Exposed Pad. Create a similar pad on the PCB under the exposed pad. Solder the exposed pad to the pad on  
the PCB to confer mechanical strength to the package. Do not connect the pads to AGND.  
Rev. 0 | Page 10 of 48  
Data Sheet  
ADE7816  
TYPICAL PERFORMANCE CHARACTERISTICS  
1.0  
0.5  
0.4  
+85°C  
PF = +0.5  
PF = +1  
PF = –0.5  
+25°C  
0.8  
–40°C  
0.3  
0.6  
0.4  
0.2  
0.1  
0.2  
0
0
–0.1  
–0.2  
–0.3  
–0.4  
–0.5  
–0.2  
–0.4  
–0.6  
–0.8  
–1.0  
45  
50  
55  
60  
65  
0.01  
0.1  
1
10  
100  
FREQUENCY (Hz)  
CURRENT CHANNEL (% of Full Scale)  
Figure 10. Active Energy Error as a Percentage of Reading (Gain = 1,  
Temperature = 25°C) over Frequency and Power Factor with  
Internal Reference, Integrator Off  
Figure 7. Active Energy Error as a Percentage of Reading (Gain = 1,  
Power Factor = 1) over Temperature with Internal Reference,  
Integrator Off  
1.0  
1.0  
+85°C  
+25°C  
–40°C  
PF = +0.5  
PF = +1  
PF = –0.5  
0.8  
0.8  
0.6  
0.4  
0.6  
0.4  
0.2  
0.2  
0
0
–0.2  
–0.4  
–0.6  
–0.8  
–1.0  
–0.2  
–0.4  
–0.6  
–0.8  
–1.0  
0.01  
0.1  
1
10  
100  
0.01  
0.1  
1
10  
100  
CURRENT CHANNEL (% of Full Scale)  
CURRENT CHANNEL (% of Full Scale)  
Figure 11. Reactive Energy Error as a Percentage of Reading (Gain = 1,  
Power Factor = 0) over Temperature with Internal Reference,  
Integrator Off  
Figure 8. Active Energy Error as a Percentage of Reading (Gain = 1,  
Temperature = 25°C) over Power Factor with Internal Reference,  
Integrator Off  
1.0  
1.0  
PF = +0.87  
PF = 0  
PF = –0.87  
VDD = 2.97V  
0.8  
0.6  
0.8  
VDD = 3.30V  
VDD = 3.63V  
0.6  
0.4  
0.4  
0.2  
0.2  
0
0
–0.2  
–0.4  
–0.6  
–0.8  
–1.0  
–0.2  
–0.4  
–0.6  
–0.8  
–1.0  
0.01  
0.1  
1
10  
100  
0.01  
0.1  
1
10  
100  
CURRENT CHANNEL (% of Full Scale)  
CURRENT CHANNEL (% of Full Scale)  
Figure 9. Active Energy Error as a Percentage of Reading (Gain = 1,  
Temperature = 25°C, Power Factor = 1) over Supply Voltage with  
Internal Reference, Integrator Off  
Figure 12. Reactive Energy Error as a Percentage of Reading (Gain = 1,  
Temperature = 25°C) over Power Factor with Internal Reference,  
Integrator Off  
Rev. 0 | Page 11 of 48  
 
 
ADE7816  
Data Sheet  
1.0  
0.8  
1.0  
0.8  
VDD = 3.30V  
VDD = 3.63V  
VDD = 2.97V  
0.6  
0.6  
0.4  
0.4  
0.2  
0.2  
0
0
–0.2  
–0.4  
–0.6  
–0.8  
–0.2  
–0.4  
–0.6  
–0.8  
–1.0  
–1.0  
0.01  
0.1  
1
10  
100  
0.1  
1
10  
100  
CURRENT CHANNEL (% of Full Scale)  
CURRENT CHANNEL (% of Full Scale)  
Figure 13. Reactive Energy Error as a Percentage of Reading (Gain = 1,  
Temperature = 25°C, Power Factor = 0) over Supply Voltage with  
Internal Reference, Integrator Off  
Figure 16. VRMS Error as a Percentage of Reading (Gain = 1,  
Temperature = 25°C, Power Factor = 1) with Internal Reference,  
Integrator Off  
0.5  
1.0  
PF = +0.87  
+85°C  
PF = 0  
PF = –0.87  
+25°C  
–40°C  
0.4  
0.8  
0.3  
0.2  
0.6  
0.4  
0.1  
0.2  
0
0
–0.1  
–0.2  
–0.3  
–0.4  
–0.5  
–0.2  
–0.4  
–0.6  
–0.8  
–1.0  
45  
50  
55  
60  
65  
0.1  
1
10  
100  
FREQUENCY (Hz)  
CURRENT CHANNEL (% of Full Scale)  
Figure 14. Reactive Energy Error as a Percentage of Reading (Gain = 1,  
Temperature = 25°C) over Frequency and Power Factor with  
Internal Reference  
Figure 17. Active Energy Error as a Percentage of Reading (Gain = 16,  
Power Factor = 1) over Temperature with Internal Reference, Integrator On  
1.0  
0.8  
1.0  
PF = +0.5  
PF = 1  
PF = –0.5  
0.8  
0.6  
0.6  
0.4  
0.4  
0.2  
0.2  
0
0
–0.2  
–0.4  
–0.6  
–0.8  
–1.0  
–0.2  
–0.4  
–0.6  
–0.8  
–1.0  
0.1  
1
10  
100  
0.1  
1
10  
100  
CURRENT CHANNEL (% of Full Scale)  
CURRENT CHANNEL (% of Full Scale)  
Figure 18. Active Energy Error as a Percentage of Reading (Gain = 16,  
Temperature = 25°C) over Power Factor with Internal Reference, Integrator On  
Figure 15. IRMS Error as a Percentage of Reading (Gain = 1,  
Temperature = 25°C, Power Factor = 1) with  
Internal Reference, Integrator Off  
Rev. 0 | Page 12 of 48  
Data Sheet  
ADE7816  
1.0  
1.0  
0.8  
+85°C  
+25°C  
–40°C  
0.8  
0.6  
0.6  
0.4  
0.4  
0.2  
0.2  
0
0
–0.2  
–0.4  
–0.6  
–0.8  
–1.0  
–0.2  
–0.4  
–0.6  
–0.8  
–1.0  
0.1  
1
10  
100  
0.1  
1
10  
100  
CURRENT CHANNEL (% of Full Scale)  
CURRENT CHANNEL (% of Full Scale)  
Figure 19. Reactive Energy Error as a Percentage of Reading (Gain = 16,  
Power Factor = 0) over Temperature with Internal Reference, Integrator On  
Figure 21. IRMS Error as a Percentage of Reading (Gain = 16,  
Temperature = 25°C, Power Factor = 1) with Internal Reference,  
Integrator On  
1.0  
PF = +0.87  
PF = 0  
PF = –0.87  
0.8  
0.6  
0.4  
0.2  
0
–0.2  
–0.4  
–0.6  
–0.8  
–1.0  
0.1  
1
10  
100  
CURRENT CHANNEL (% of Full Scale)  
Figure 20. Reactive Energy Error as a Percentage of Reading (Gain = 16,  
Temperature = 25°C) over Power Factor with Internal Reference, Integrator On  
Rev. 0 | Page 13 of 48  
ADE7816  
Data Sheet  
TEST CIRCUIT  
3.3V  
26  
+
+
0.22µF  
0.22µF  
4.7µF  
4.7µF  
24  
5
3.3V  
2
3
4
PULL_HIGH  
PULL_LOW  
RESET  
39  
38  
SS/HSA  
MOSI/SDA  
10k  
1µF  
MISO/HSD 37  
7
8
IAP  
IAN  
36  
35  
SCLK/SCL  
HSCLK  
9
IBP  
32  
29  
IRQ1  
ADE7816  
12  
IBN  
IRQ0  
REF  
17  
28  
IN/OUT  
+
20pF  
13 ICP  
14  
0.1µF  
4.7µF  
CLKOUT  
CLKIN  
ICN  
16.384MHz  
20pF  
27  
19 IFP  
1
NC  
NC  
NC  
NC  
NC  
NC  
NC  
NC  
NC  
NC  
10  
11  
20  
21  
30  
31  
33  
34  
40  
22 IEP  
23 IDP  
18  
IN  
15 VP  
16  
VN  
6
25  
Figure 22. Test Circuit  
Rev. 0 | Page 14 of 48  
 
Data Sheet  
ADE7816  
TERMINOLOGY  
Measurement Error  
when an ac signal (1ꢁ± mV rms at 1±± Hz) is introduced onto the  
supplies. Any error introduced by this ac signal is expressed as a  
percentage of reading (see the Measurement Error definition).  
The error associated with the energy measurement made by the  
ADE7816 is defined by the following equation:  
Measurement Error =  
Energy Registered by ADE7816 True Energy  
For the dc PSR measurement, a reading at nominal supplies  
(3.3 V) is taken. A second reading is obtained with the same  
input signal levels when the power supplies are varied ±1±0.  
Any error introduced is expressed as a percentage of the reading.  
100%  
True Energy  
Phase Error Between Channels  
ADC Offset Error  
The high-pass filter (HPF) and digital integrator introduce  
a slight phase mismatch between the current channels and the  
voltage channel. The all digital design ensures that the phase  
matching between the current channels and voltage channel in  
all three phases is within ±±.1ꢀ over a range of 45 Hz to 65 Hz  
and ±±.ꢁꢀ over a range of 4± Hz to 1 kHz. This internal phase  
mismatch can be combined with the external phase error (from  
current sensor or component tolerance) and calibrated with the  
phase calibration registers.  
ADC offset error refers to the dc offset that is associated with  
the analog inputs to the ADCs. It means that, with the analog  
inputs connected to AGND, the ADCs still see a dc analog input  
signal. The magnitude of the offset depends on the gain and input  
range selection (see the Typical Performance Characteristics  
section). However, the HPF removes the offset from the current  
channels and voltage channel, and the power calculation remains  
unaffected by this offset.  
Gain Error  
Power Supply Rejection (PSR)  
The gain error in the ADCs of the ADE7816 is defined as the  
difference between the measured ADC output code (minus the  
offset) and the ideal output code. The difference is expressed as  
a percentage of the ideal code.  
PSR quantifies the ADE7816 measurement error as a percentage  
of reading when the power supplies are varied. For the ac PSR  
measurement, a reading at nominal supplies (3.3 V) is taken.  
A second reading is obtained with the same input signal levels  
Rev. 0 | Page 15 of 48  
 
 
ADE7816  
Data Sheet  
QUICK START  
This section outlines the procedure for powering up and initializing  
the ADE7816. Figure 23 shows a flow diagram of the initialization  
steps. For detailed information, refer to the section of the data  
sheet that pertains to each step, as indicated in Figure 23.  
After power is supplied to the ADE7816 and communication  
is established, a set of registers must be written (see Figure 23).  
Table 8 lists details about each register.  
The registers listed in Table 8 are essential for correct operation.  
After these registers are set, enable any meter-specific features  
before enabling the DSP to begin the energy calculations.  
POWER UP THE  
ADE7816  
(SEE POWER AND  
GROUND SECTION)  
SET AND LOCK  
COMMUNICATION MODE  
(SEE COMMUNICATION  
SECTION)  
WTHR1 = 0x000002  
WTHR0 = 0x000000  
VARTHR1 = 0x000002  
VARTHR0 = 0x000000  
PCF_A_COEFF = 0x400CA4 (50Hz)  
PCF_B_COEFF = 0x400CA4 (50Hz)  
PCF_C_COEFF = 0x400CA4 (50Hz)  
PCF_D_COEFF = 0x400CA4 (50Hz)  
PCF_E_COEFF = 0x400CA4 (50Hz)  
PCF_F_COEFF = 0x400CA4 (50Hz)  
DICOEFF = 0xFFF8000  
WRITE REQUIRED  
REGISTER  
DEFAULTS  
CONFIGURE METER  
SPECIFIC INTERRUPTS,  
POWER QUALITY  
FEATURES, AND  
CALIBRATE  
(SEE THE INTERRUPTS,  
POWER QUALITY  
FEATURES, AND ENERGY  
CALIBRATION SECTIONS)  
NOTE THAT THE FINAL  
REGISTER SHOULD BE  
WRITTEN 3 TIMES TO  
CLEAR THE BUFFER  
(SEE STARTING AND  
STOPPING THE DSP  
SECTION)  
ENABLE THE ENERGY  
METERING DSP  
(SEE STARTING AND  
STOPPING THE DSP  
SECTION)  
INITIALIZATION  
COMPLETE  
Figure 23. Quick Start  
Table 8. Required Register Defaults  
Register Register  
Address Name  
Register Description  
Required Value  
Reference Information  
0x43AB  
0x43AC  
0x43AD  
0x43AE  
0x43B1  
0x43B2  
0x43B3  
0x43B4  
0x43B5  
0x43B6  
0x4388  
WTHR1  
Threshold register for active energy  
0x000002  
Refer to the Active Energy Threshold section.  
Refer to the Active Energy Threshold section.  
Refer to the Reactive Energy Threshold section.  
Refer to the Reactive Energy Threshold section.  
Refer to the Energy Phase Calibration section.  
Refer to the Energy Phase Calibration section.  
Refer to the Energy Phase Calibration section.  
Refer to the Energy Phase Calibration section.  
Refer to the Energy Phase Calibration section.  
Refer to the Energy Phase Calibration section.  
Refer to the Digital Integrator section.  
WTHR0  
Threshold register for active energy  
0x000000  
VARTHR1  
Threshold register for reactive energy  
Threshold register for reactive energy  
Phase calibration for Current Channel A  
Phase calibration for Current Channel B  
Phase calibration for Current Channel C  
Phase calibration for Current Channel D  
Phase calibration for Current Channel E  
Phase calibration for Current Channel F  
0x000002  
VARTHR0  
0x000000  
PCF_A_COEFF  
PCF_B_COEFF  
PCF_C_COEFF  
PCF_D_COEFF  
PCF_E_COEFF  
PCF_F_COEFF  
DICOEFF  
0x400CA4 (50 Hz)  
0x400CA4 (50 Hz)  
0x400CA4 (50 Hz)  
0x400CA4 (50 Hz)  
0x400CA4 (50 Hz)  
0x400CA4 (50 Hz)  
0xFFF8000  
Digital integrator algorithm; required only  
if using di/dt sensors  
Rev. 0 | Page 16 of 48  
 
 
 
Data Sheet  
ADE7816  
INPUTS  
The following section provides details on the ADE7816 input  
connections that are required for correct functionality.  
When the start-up sequence is complete, all registers are at their  
default value, and the I2C port is the active serial port. Commu-  
nication with the ADE7816 can begin. See the Communication  
section for more details.  
POWER AND GROUND  
VDD and AGND, DGND  
To start the energy and rms computations, the internal DSP  
must be powered up after all configuration registers are set to  
their desired values. The DSP is started by setting the run register  
(Address 0xE228) to 0x0001. See the Starting and Stopping the  
DSP section for more information.  
To power the ADE7816, a 3.3 V dc input voltage should be  
provided between the VDD pin and the AGND and DGND pins.  
In addition, the PULL_HIGH and PULL_LOW pins must be  
connected to 3.3 V and AGND, respectively. This configuration  
is shown in Figure 24.  
REFERENCE CIRCUIT  
REFIN/OUT  
3.3V  
+
+
0.22µF  
0.22µF  
4.7µF  
4.7µF  
24  
26  
5
The nominal reference voltage at the REFIN/OUT pin is 1.2 V  
0.075ꢀ. The REFIN/OUT pin can be overdriven by an external 1.2 V  
reference source. If Bit 0 (EXTREFEN) in the CONFIG2 register  
(Address 0xEC01) is cleared to 0 (the default value), the ADE7816  
uses the internal voltage reference. If Bit 0 is set to 1, the external  
voltage reference is used.  
3.3V  
2
3
PULL_HIGH  
PULL_LOW  
Figure 24. Applying Power to the ADE7816  
The ADE7816 contains an on-chip power supply monitor that  
supervises the power supply (VDD). When the voltage applied  
to the VDD pin is below 2 V 10ꢀ, the chip is in an inactive  
state. After VDD crosses the 2 V 10ꢀ threshold, the power  
supply monitor keeps the ADE7816 in an inactive state for an  
additional 26 ms. This time delay allows VDD to reach the  
minimum specified operating voltage of 3.3 V − 10ꢀ. When  
the minimum specified operating voltage is met and the  
PULL_HIGH and PULL_LOW pins are tied to VDD and  
AGND, respectively, the internal circuitry is enabled. This  
process is accomplished in approximately 40 ms.  
The voltage of the ADE7816 internal reference drifts slightly with  
temperature; see the Specifications section for the temperature  
coefficient specification (in ppm/°C). The value of the temperature  
drift varies from part to part. Because the reference is used for  
all ADCs, any xꢀ drift in the reference results in a 2xꢀ deviation  
of the meter accuracy.  
RESET  
Hardware Reset  
RESET  
pin returns high,  
To initiate a hardware reset of the ADE7816, the  
RESET  
pin must  
be pulled low for at least 10 μs. After the  
all registers return to their default values. The ADE7816 signals the  
IRQ1  
low and setting Bit 15 (RSTDONE) in the STATUS1 register to 1.  
This bit is set to 0 during the transition period and changes to 1  
when the transition ends.  
When the start-up sequence is complete and the ADE7816 is  
ready to receive communication from a microcontroller, the  
RSTDONE flag is set in the STATUS1 register (Address 0xE503).  
end of the transition period by triggering the  
interrupt pin  
IRQ1  
An external interrupt is triggered on the  
pin. The RSTDONE  
interrupt is enabled by default and cannot be disabled; therefore,  
an external interrupt always occurs at the end of a power-up  
procedure or hardware or software reset.  
Software Reset Functionality  
Bit 7 (SWRST) in the CONFIG register (Address 0xE618) manages  
the software reset functionality in the ADE7816. The default value  
of this bit is 0. If Bit 7 is set to 1, the ADE7816 enters the software  
reset state. In this state, all internal registers are set to their default  
values, with the exception of the CONFIG2 register, which retains  
its existing value. In addition, the choice of which serial port is in  
use (I2C or SPI) remains unchanged if the lock-in procedure was  
executed previously (see the Communication section for details).  
It is highly recommended that the RSTDONE interrupt be used  
by the microcontroller to gate the first communication with the  
ADE7816. If the interrupt is not used, a timeout can be imple-  
mented. However, because the start-up sequence can vary from  
part to part and over temperature, a timeout of a least 100 ms is  
recommended. The RSTDONE interrupt provides the most time-  
efficient way of monitoring the completion of the ADE7816  
start-up sequence.  
When the software reset ends, Bit 7 (SWRST) in the CONFIG  
The AVDD and DVDD output pins provide access to the on-  
chip analog and digital LDOs. When the ADE7816 is fully  
powered up, these pins are at 2.5 V. If the internal reference is  
being used, the REFIN/OUT pin outputs 1.2 V (see the Reference  
Circuit section).  
IRQ1  
register is cleared to 0, the  
interrupt pin is set low, and Bit 15  
(RSTDONE) in the STATUS1 register is set to 1. RSTDONE is  
set to 0 during the transition period and changes to 1 when the  
transition ends.  
It is recommended that all meters be designed to have both  
software and hardware reset capability.  
Rev. 0 | Page 17 of 48  
 
 
 
ADE7816  
Data Sheet  
PGA Gain  
CLKIN AND CLKOUT  
The ADE7816 has three internal PGA gain amplifiers that can  
be used to amplify the input signals by ×2, ×4, ×8 or ×16. The  
PGA gain stage is often required when using a current sensor  
that produces a low output voltage, such as Rogowski coils.  
PGA1 affects Current Channel A, Current Channel B, and  
Current Channel C and is controlled by Bits[2:5] (PGA1) of  
the gain register (Address 5xE65F). PGA2 affects the voltage  
channel and is controlled by Bits[±:3] (PGA2) of the gain register.  
PGA3 affects Current Channel D, Current Channel E, and  
Current Channel F and is controlled by Bits[8:6] (PGA3) of  
the gain register.  
An external clock or parallel resonant crystal is required to  
clock the ADE7816. If an external clock source is being used,  
it should be connected to the CLKIN pin. The required clock  
frequency for specified operation is 16.384 MHz. Alternatively,  
a parallel resonant AT-cut crystal can be connected across the  
CLKIN and CLKOUT pins. The ADE7816 has no internal load  
capacitance and, therefore, load capacitors based on the data  
sheet of the crystal manufacturer should be added on each pin.  
ANALOG INPUTS  
Input Pins  
The ADE7816 has seven analog inputs that form six current  
channels and one voltage channel. Current Channel A, Current  
Channel B, and Current Channel C each consist of a pair of dif-  
ferential input pins: IAP and IAN, IBP and IBN, and ICP and ICN.  
Current Channel D, Current Channel E, and Current Channel F  
all share a common reference, IN, and, therefore, are single-ended.  
For consistency, it is recommended that all six current inputs be  
connected in a single-ended configuration (see Figure 26 and  
Figure 27). The voltage channel is a fully differential input that  
consists of a pair of inputs: VP and VN. The voltage channel is  
typically connected in a single-ended configuration.  
Table 9 lists details on how the PGA gain affects the full-scale  
input voltage.  
Table 9. PGA Gain  
Full-Scale  
Gain Register (Address 0xE60F)  
Single-Ended  
Gain  
Input (mV)  
PGA1[2:0]  
PGA2[5:3]  
PGA3[8:6]  
1
±±00  
000  
000  
000  
2
±2±0  
001  
001  
001  
4
±12±  
010  
010  
010  
8
±ꢀ2.±  
011  
011  
011  
1ꢀ  
±ꢁ1.2±  
100  
100  
100  
The maximum input voltage that should be applied to any input  
channel is ±±55 mV. The maximum common-mode signal that is  
allowed on the inputs is ±2± mV. Figure 2± shows a schematic of  
the inputs and their relation to the maximum common-mode  
voltage.  
Digital Integrator  
The ADE7816 includes a digital integrator that must be enabled  
when using a di/dt sensor such as a Rogowski coil. This integrator  
is enabled by setting the INTEN bit (Bit 5) of the CONFIG register  
(Address 5xE618) to 1. When using the digital integrator, the  
DICOEFF register (Address 5x4388) should be written to  
5xFFF8555. For more details on the theory behind the digital  
integrator, refer to the AN-1137 Application Note.  
DIFFERENTIAL INPUT  
V
+ V = 500mV MAX PEAK  
1
2
COMMON MODE  
V
1
V
= ±25mV MAX  
CM  
+500mV  
VP  
V
V
1
V
CM  
VN  
CM  
–500mV  
Figure 25. Maximum Input Level  
Rev. 0 | Page 18 of 48  
 
 
 
 
Data Sheet  
ADE7816  
Antialiasing Filters  
However, a di/dt sensor, such as a Rogowski coil, has a 20 dB per  
decade gain. This neutralizes the 20 dB per decade attenuation  
produced by the low-pass filter (LPF). Therefore, when using a  
di/dt sensor, a second pole is required. One simple approach is  
to cascade one additional RC filter, thereby producing a −40 dB  
per decade attenuation (see Figure 27).  
Each analog input pin requires that a simple RC filter be connected  
to the input. The role of the RC filter is to prevent aliasing. The  
aliasing effect is caused by frequency components (which are  
higher than half the sampling rate of the ADC) folding back and  
appearing in the sampled signal at a frequency that is below half  
the sampling rate. Aliasing is an artifact of all sampled systems.  
For conventional current sensors, it is recommended that one  
RC filter with a corner frequency of 5 kHz be used for the  
attenuation to be sufficiently high at the sampling frequency  
of 1.024 MHz. The 20 dB per decade attenuation of this filter  
is usually sufficient to eliminate the effects of aliasing for  
conventional current sensors (see Figure 26).  
PHASE  
100  
1kΩ  
22nF  
IAP  
22nF  
ADE7816  
ROGOWSKI  
COIL  
100Ω  
1kΩ  
22nF  
IAN  
LOAD  
22nF  
PHASE  
1kΩ  
IAP  
22nF  
Figure 27. Rogowski Coil Input Connections  
ADE7816  
RB  
CURRENT  
TRANSFORMER  
1kΩ  
IAN  
LOAD  
22nF  
Figure 26. Current Transformer Input Connections  
Rev. 0 | Page 19 of 48  
 
 
ADE7816  
Data Sheet  
ENERGY MEASUREMENTS  
This section describes the energy measurements available in  
the ADE7816. For information about the theory behind these  
measurements, refer to the AN-1137 Application Note.  
CWATTHR (Address 0xE402), DWATTHR (Address 0xE403),  
EWATTHR (Address 0xE404) and FWATTHR (Address 0xE405).  
All active energy registers are in 32-bit, signed format. The  
ADE7816 accumulates both positive and negative power. Negative  
power indicates that the angle between the voltage and current is  
greater than 90°, and power is being injected back into the grid.  
The ADE7816 provides a signed accumulation of the power;  
positive power is added and negative power is subtracted.  
Figure 28 shows the configurations of the active energy signal path.  
STARTING AND STOPPING THE DSP  
To obtain energy measurements, the internal processor must first  
be started by setting the run register (Address 0xE228) to 0x0001.  
It is recommended that all registers be initialized before starting  
the DSP and that the last register in the queue be written three  
times to flush the pipeline. When this procedure is complete, the  
DSP should be started. There is no reason to stop the DSP, once  
started, because all of the registers can be modified while the DSP  
is running. The DSP can be stopped, however, by writing 0x0000  
to the run register.  
Active Energy Threshold  
The ADE7816 accumulates energy in two steps (see Figure 28).  
The first step occurs internally, using the two threshold registers,  
WTHR1 (Address 0x43AB) and WTHR0 (Address 0x43AC).  
These registers make up the most significant and least significant  
24 bits, respectively, of an internal threshold register that is used  
to control the frequency at which the external xWATTHR registers  
are updated. The WTHR1 and WTHR0 registers affect all six active  
energy measurements. For standard operation, the WTHR1 regi-  
ster should be set to 0x2 and the WTHR0 register set to 0x0.  
Thus, the update rate of the xWATTHR registers is set to slightly  
below the maximum of 8 kHz with full-scale inputs. If the rate at  
which energy is accumulated in the xWATTHR registers must be  
reduced, the WTHR1and WTHR0 registers can be modified.  
Within the DSP core, there is a two-stage pipeline. This means  
that when a single register must be initialized, two or more writes  
are required to ensure that the value has been written. If two or  
more registers must be initialized, the last register must be written  
two more times to ensure that the value is written into the RAM.  
It is recommended that the last register be written three times to  
ensure successful communication. See the Register Protection  
section for details on protecting these registers.  
ACTIVE ENERGY MEASUREMENT  
Definition of Active Power and Active Energy  
8 kHz  
Threshold = 0x2000000 ×  
(2)  
Active power is the product of voltage and current and is the  
power dissipated in a purely resistive load. Active energy is the  
accumulation of active power over time and is measured in watts.  
Required Update Rate (kHz)  
Note that the maximum output with full scale inputs is 8 kHz.  
Do not adjust the threshold to try to produce more than 8 kHz.  
Such an adjustment may result in saturation of the output  
frequency and, therefore, a loss of accuracy.  
The average power over an integral number of line cycles (n) is  
given by the following expression:  
nT  
1
The second stage of the accumulation occurs in the external  
registers, xWATTHR. With the recommended values provided  
in Equation 2, the energy updates at a rate of 8 kHz with full-  
scale inputs (see Figure 28).  
P =  
= VI  
(1)  
P(t)dt  
nT  
0
where:  
V is the rms voltage.  
I is the rms current.  
Energy Accumulation and Register Roll-Over  
P is the active or real power.  
T is the line cycle period.  
As shown in Equation 2, the active energy accumulates at a maxi-  
mum rate of 8 kHz with full-scale inputs. The maximum positive  
value that the 32-bit, signed xWATTHR registers can store before  
they overflow is 0x7FFFFFFF. Assuming steady accumulation  
with full-scale inputs, the accumulation time is  
Active Energy Registers  
The ADE7816 has six active energy registers, where the active  
energy is accumulated for each of the six channels separately:  
AWATTHR (Address 0xE400), BWATTHR (Address 0xE401),  
Time = 0x7FFFFFFF × 125 ꢁs = 74 hr, 33 min, 55 sec  
DIGITAL  
INTEGRATOR  
IAGAIN  
IA  
AWATTOS AWGAIN  
HPF  
HPF  
AWATTHR[31:0]  
ACCUMULATOR  
32-BIT  
PCF_A_COEFF VGAIN  
VA  
LPF  
REGISTER  
WTHR[47:0]  
Figure 28. Active Energy Signal Path  
Rev. 0 | Page 20 of 48  
 
 
 
 
Data Sheet  
ADE7816  
The content of the active energy register overflows from full-scale  
positive (0x7FFFFFFF) to full-scale negative (0x80000000) and  
continues to increase in value when the active power is positive.  
Conversely, if the active power is negative, the energy register  
underflows from full-scale negative (0x80000000) to full-scale  
positive (0x7FFFFFFF) and continues decreasing in value. Bit 0  
(AEHF1) in the STATUS0 register (Address 0xE502) is set when  
Bit 30 in the AWATTHR, BWATTHR, or CWATTHR register  
changes, signifying that one of these registers is half full. Simi-  
larly, Bit 1 (AEHF2) in the STATUS0 register is set when Bit 30  
in the DWATTHR, EWATTHR, or FWATTHR register changes,  
signifying that one of these registers is half full.  
Reactive Energy Threshold  
The ADE7816 accumulates energy in two steps. The first  
is done internally using the threshold registers, VARTHR1  
(Address 0x43AD) and VARTHR0 (Address 0x43AE). These  
registers make up the most significant and least significant 24 bits,  
respectively, of an internal threshold register that is used to control  
the frequency at which the external xVARHR registers are updated.  
The VARTHR1 and VARTHR0 registers affect all six reactive  
energy measurements. For standard operation, the VARTHR1  
register should be set to 0x2 and the VARTHR0 register set to  
0x0. This sets the update rate of the xVARHR registers to the  
maximum of 8 kHz with full-scale inputs.  
Setting Bit 6 (RSTREAD) in the LCYCMODE register  
(Address 0xE702) enables a read-with-reset for all watt-hour  
accumulation registers. When this bit is set, all energy accu-  
mulation registers are set to 0 following a read operation.  
If the rate at which energy is accumulated in the xVARHR  
registers must be reduced, VARTHR1 and VARTHR0 can be  
modified as follows:  
8 kHz  
Threshold = 0x2000000 ×  
(4)  
REACTIVE ENERGY MEASUREMENT  
Required Update Rate (kHz)  
Definition of Reactive Power and Reactive Energy  
Note that the maximum output with full scale inputs is 8 kHz.  
The threshold should not be adjusted to try to produce more  
than 8 kHz. Such an adjustment could result in saturation of the  
output frequency and, therefore, a loss of accuracy.  
Reactive power is the product of the voltage and current when all  
harmonic components of one of these signals are phase shifted  
by 90°. Reactive power is the power dissipated in an induc-tive or  
capacitive load and is measured as volt-ampere reactive (var).  
Reactive energy is the accumulation of reactive power over time.  
The second stage of the accumulation is done in the external  
registers, xVARHR. With the recommended values provided in  
Equation 4, the reactive energy updates at a rate of 8 kHz with  
full-scale inputs (see Figure 29).  
nT  
1
RP =  
= VI × sin(θ)  
RP t dt  
(3)  
(
)
nT  
0
Reactive Energy Accumulation and Register Roll-Over  
where:  
The reactive energy accumulates at a maximum rate of 8 kHz  
with full-scale inputs. The maximum positive value that the 32-bit,  
signed xVARHR registers can store before they overflow is  
0x7FFFFFFF. Assuming steady accumulation with full-scale  
reactive energy inputs, the accumulation time is  
V is the rms voltage.  
I is the rms current.  
RP is the reactive or real power.  
T is the line cycle period.  
Reactive Energy Registers  
Time = 0x7FFFFFFF × 125 ꢁs = 74 hr, 33 min, 55 sec  
The ADE7816 has six reactive energy registers that accumulate  
active energy for each of the six channels separately: AVARHR  
(Address 0xE406), BVARHR (Address 0xE407), CVARHR  
(Address 0xE408), DVARHR (Address 0xE409), EVARHR  
(Address 0xE40A), and FVARHR (Address 0xE40B). All  
reactive energy registers are in 32-bit, signed format. The  
ADE7816 accumulates both positive and negative reactive  
power. Negative reactive power indicates that the current  
is leading the voltage by up to 180°. The ADE7816 provides  
a signed accumulation of the power, where positive power  
is added and negative is subtracted.  
Conversely, if the reactive power is negative, the energy register  
underflows from full-scale negative (0x80000000) to full-scale  
positive (0x7FFFFFFF) and continues decreasing in value. Bit 2  
(REHF1) in the STATUS0 register is set when Bit 30 of the  
AVARHR, BVARHR, or CVARHR register changes, signifying  
that one of these registers is half full. Similarly, Bit 3 (REHF2)  
in the STATUS0 register is set when Bit 30 of the DVARHR,  
EVARHR, or FVARHR register changes, signifying that one  
of these registers is half full.  
DIGITAL  
INTEGRATOR  
IAGAIN  
IA  
AVAROS AVARGAIN  
HPF  
AVARHR[31:0]  
TOTAL  
REACTIVE  
POWER  
ALGORITHM  
ACCUMULATOR  
VARTHR[47:0]  
PCF_A_COEFF VGAIN  
VA  
32-BIT  
REGISTER  
HPF  
Figure 29. Reactive Energy Signal Path  
Rev. 0 | Page 21 of 48  
 
 
 
ADE7816  
Data Sheet  
The reactive energy register content overflows from full-scale  
positive (0x7FFFFFFF) to full-scale negative (0x80000000) and  
continues to increase in value when the reactive power is positive.  
time should be written to the LINECYC register (Address 0xE60C)  
as an integer number of half line cycles. The ADE7816 can  
accumulate energy for up to 65,535 half line cycles. This equates  
to an accumulation period of approximately 655 sec with 50 Hz  
inputs, and 546 sec with 60 Hz inputs.  
Setting Bit 6 (RSTREAD) of the LCYCMODE (Address 0xE702)  
register enables a read-with-reset for all reactive energy accu-  
mulation registers. When this bit is set, all energy accumulation  
registers are set to 0 following a read operation.  
The number of half line cycles written to the LINECYC register  
is used for the active and reactive line cycle accumulation on all  
six channels. At the end of a line cycle accumulation period, the  
xWATTHR and xVARHR registers are updated and the LENERGY  
flag is set in the STATUS0 register (Address 0xE502). If the  
LENERGY bit in the MASK0 register (Address 0xE50A) is set,  
LINE CYCLE ACCUMULATION MODE  
In the active and reactive line cycle accumulation mode, the  
energy accumulation of the ADE7816 is synchronized to the  
voltage channel zero crossing, so that the active and reactive  
energy can be accumulated over an integral number of half line  
cycles. This feature is available for the active and reactive energy  
accumulation on all six channels. The advantage of summing  
the active and reactive energy over an integral number of half  
line cycles is that the sinusoidal component of the energy is  
reduced to 0. This eliminates any ripple in the energy calculation.  
Accurate energy is calculated in a shorter time because the  
integration period can be shortened. The line cycle accumulation  
mode can be used for fast calibration and to obtain the average  
power over a specified time period. Figure 30 shows a diagram  
of the active energy line cycle accumulation mode signal path.  
IRQ0  
an external interrupt is issued on the  
pin. Another accu-  
mulation cycle begins immediately, as long as the LWATT and  
LVAR bits in the LCYCMODE register remain set.  
The contents of the xWATTHR and xVARHR registers are updated  
synchronous to the LENERGY flag. The xWATTHR and xVARHR  
registers hold their current values until the end of the next line  
cycle period, when the contents are replaced with the new reading  
(see Figure 30 and Figure 31). When using the line cycle accu-  
mulation mode, Bit 6 (RSTREAD) of the LCYCMODE register  
should be set to Logic 0 because the read-with-reset function of  
the energy registers is not available in this mode.  
Note that, when line cycle accumulation mode is first enabled,  
the reading after the first LENERGY flag should be ignored  
because it may be inaccurate. This inaccuracy is due to the line  
cycle accumulation mode not being synchronized to the zero  
crossing. As a result, the first reading may not be taken over  
a complete number of half line cycles. After the first line cycle  
accumulation is completed, all successive readings are correct.  
Active and reactive energy line cycle accumulation modes are  
disabled by default and can be enabled on all six channels by setting  
Bit 0 (LWATT) and Bit 1 (LVAR), respectively, in the LCYCMODE  
register. Bit 3 (ZX_SEL) of the LCYCMODE register must also be  
set to enable the voltage channel zero-crossing counter to be used  
in the line cycle accumulation measurement. The accumulation  
xWATTOS  
xWGAIN  
48  
0
+
OUTPUT  
FROM  
LPF  
+
INTERNAL  
ACCUMULATION  
WTHR[48:0]  
OUTPUT FROM  
VOLTAGE CHANNEL  
ADC  
ZERO-CROSSING  
DETECTION  
CALIBRATION  
CONTROL  
LPF_ZX  
23  
0
xWATTHR  
15  
0
LINECYC  
Figure 30. Line Cycle Accumulation for xWATTHR  
xVAROS  
xVARGAIN  
48  
0
+
+
OUTPUT FROM  
REACTIVE POWER  
ALGORITHM  
INTERNAL  
ACCUMULATION  
VARTHR[48:0]  
OUTPUT FROM  
VOLTAGE CHANNEL  
ADC  
ZERO-CROSSING  
DETECTION  
CALIBRATION  
CONTROL  
LPF_ZX  
23  
0
xVARHR  
15  
0
LINECYC  
Figure 31. Line Cycle Accumulation for xVARHR  
Rev. 0 | Page 22 of 48  
 
 
 
Data Sheet  
ADE7816  
VARNOLOAD (Address 0x43B0) registers. When in the no  
ROOT MEAN SQUARE MEASUREMENT  
load condition, the active and reactive energies are no longer  
accumulated in the energy registers. Note that each of the six  
channels has a separate no load circuit.  
Root mean square (rms) is a measurement of the magnitude of  
an ac signal. Specifically, the rms of an ac signal is equal to the  
amount of dc required to produce an equivalent amount of power  
in the load. The ADE7816 provides rms measurements on the  
six current channels and the voltage channel simultaneously.  
These measurements have a settling time of approximately 440 ms  
with the integrator off and 500 ms with the integrator on. The  
registers are updated every 125 μs. The rms value is measured  
over a 2 kHz bandwidth.  
Setting the No Load Thresholds  
The APNOLOAD and VARNOLOAD registers are compared  
to the active and reactive powers, respectively, to set the no load  
threshold. With full-scale inputs on both the current and voltage  
channel, the maximum power is 0x1FF6A6B. The no load  
threshold should, therefore, be set with respect to this maxi-  
mum power, as follows:  
The 24-bit, unsigned voltage rms measurement is available in the  
VRMS register (Address 0x43C0). Similarly, the six current channel  
rms measurements are available in the IARMS (Address 0x43C1),  
IBRMS (Address 0x43C2), ICRMS (Address 0x43C3), IDRMS  
(Address 0x43C4), IERMS (0x43C5), and IFRMS (Address 0x43C6)  
registers. All registers are updated at a rate of 8 kHz. Figure 32  
shows the IxRMS signal path. A similar signal path is used on  
the voltage channel to compute the VRMS measurement.  
APNOLOAD =  
0x1FF6A6B × V% of Full_Scale × I(noload)% of Full_Scale  
(5)  
For example, if the nominal voltage is set to 50ꢀ of full scale  
and the current channel no load threshold is required to be at  
0.01ꢀ of full scale, the APNOLOAD threshold is  
APNOLOAD = 0x1FF6A6B × 50ꢀ × 0.01ꢀ = 0x68C  
(6)  
The VARNOLOAD register is usually set to the same value as  
that of the APNOLOAD register. When the APNOLOAD and  
VARNOLOAD registers are set to negative values, the no load  
detection circuit is disabled.  
Due to nonidealities in the internal filtering, it is recommended  
that the IxRMS registers be read synchronously to the zero-  
crossing signal (see the Zero-Crossing Detection section). This  
helps to stabilize reading-to-reading variation by removing the  
effect of any 2ω ripple that is present on the rms measurement.  
Bit 0 (NLOAD1) in the STATUS1 register (Address 0xE503) is set  
when the no load condition occurs on the A, B, or C current chan-  
nel. Bit 1 (NLOAD2) in the STATUS1 register is set when the  
load condition occurs on the D, E, or F current channel. Bits[5:0]  
(NOLOADx) in the CHNOLOAD register (Address 0xE608)  
can be used to determine which channel caused the no load  
condition. When NOLOADx is cleared to 0, the channel is not in  
a no load condition. When NOLOADx is set to 1, the channel is  
in a no load condition.  
With the specified full-scale analog input signal of 0.5 V, the  
rms value of a sinusoidal signal is 4,191,910 (0x3FF6A6),  
independent of line frequency. If the integrator is enabled on  
the current channels, the equivalent current rms value of a full-  
scale sinusoidal signal at 50 Hz is 4,191,910 (0x3FF6A6). At  
60 Hz, it is 3,493,258 (0x354D8A).  
NO LOAD DETECTION  
The ADE7816 includes a no load detection feature that eliminates  
meter creep. Meter creep is defined as excess energy that is  
accumulated by the meter when there is no load attached. The  
ADE7816 warns of this condition and stops energy accumulation  
if the energy falls below a programmable threshold. The ADE7816  
includes a no load feature on the active and reactive energy  
measurements. This allows a true no load condition to be  
detected.  
No Load Interrupt  
The ADE7816 includes two interrupts that are associated with  
the no load feature. The first is associated with the A, B, and C  
current channels, and it can be enabled by setting Bit 0 (NLOAD1)  
in the MASK1 register (Address 0xE50B). The second interrupt  
is associated with the D, E, and F current channels; it can be  
enabled by setting Bit 1 (NLOAD2) in the MASK1 register. If  
the corresponding interrupt is enabled, the no load condition  
The no load condition is triggered when the absolute values of  
the active and reactive powers are less than or equal to a thresh-  
old that is specified in the APNOLOAD (Address 0x43AF) and  
IRQ1  
causes the external  
section).  
pin to go low (see the Interrupts  
IxRMSOS[23:0]  
7
2
CURRENT SIGNAL FROM  
2
x
IxRMS[23:0]  
HPF OR INTEGRATOR  
(IF ENABLED)  
LPF  
Figure 32. IxRMS Signal Path  
Rev. 0 | Page 23 of 48  
 
 
ADE7816  
Data Sheet  
ENERGY CALIBRATION  
DVARGAIN (Address 0x43A3), EVARGAIN (Address 0x43A5),  
and FVARGAIN (Address 0x43A7) registers control the reactive  
power gain calibration on the B through F current channels,  
respectively. The xVARGAIN registers affect the reactive power  
in the same way that the xWGAIN registers affect the active power.  
Equation 9 shows the relationship between gain adjustment and  
the xVARGAIN registers.  
CHANNEL MATCHING  
The ADE7816 provides individual channel gain registers that  
allow the six current channels and the voltage channel to be  
matched. Matching the channels simplifies the calibration process.  
The IAGAIN (Address 0x4381), IBGAIN (Address 0x4382),  
ICGAIN (Address 0x4383), IDGAIN (Address 0x4384),  
IEGAIN (Address 0x4385), and IFGAIN (Address 0x4386)  
registers adjust the A through F current channels, respectively,  
whereas the VGAIN register (Address 0x4380) can be used to  
adjust the voltage channel. The default value of the IxGAIN  
registers is 0x00000, which corresponds to no channel gain. The  
IxGAIN can adjust the channel gain by up to 100ꢀ. The channel  
is scaled by −50ꢀ by writing 0xC00000 to the corresponding  
IxGAIN register, and it is increased by +50ꢀ by writing 0x400000.  
Equation 7 shows the relationship between the IxGAIN register  
and the rms measurement.  
xVARGAIN  
Reactive Power = Reactive Power0 ×  
(9)  
+1  
0x800000  
ENERGY OFFSET CALIBRATION  
The ADE7816 includes offset calibration registers for the active  
and reactive powers on all six channels. Offsets can exist in the  
power calculations due to crosstalk between channels on the  
PCB and in the ADE7816. The offset calibration allows these  
offsets to be removed to increase the accuracy of the measure-  
ment at low input levels.  
IxGAIN  
223  
I
rms = Irms  
×
(7)  
0
1+  
The active power offset can be corrected on Current Channel A  
by adjusting the AWATTOS (Address 0x4392) register. The  
BWATTOS (Address 0x4394), CWATTOS (Address 0x4396),  
DWATTOS (Address 0x4398), EWATTOS (Address 0x439A),  
and FWATTOS (Address 0x439C) registers control the active  
power offset calibration on the B through F current channels,  
respectively. The xWATTOS registers are 24-bit, signed, twos  
complement registers with default values of 0. One LSB in the  
active power offset register is equivalent to 1 LSB in the active  
power multiplier output. With full-scale current and voltage  
inputs, the maximum power output is equal to 1FF6A6B =  
33,516,139. At −80 dB down from full scale (active power scaled  
down 104 times), one LSB of the xWATTOS registers represents  
0.0298ꢀ. Equation 10 shows the relationship between the  
xWATTOS registers and the active energy reading.  
VGAIN  
223  
V
rms = Vrms  
×
0
1+  
where Irms and Vrms0 are the current and voltage rms  
0
measurements, respectively, without offset correction.  
Changing the content of the IxGAIN registers affects all calcu-  
lations based off that channel, including the active and reactive  
energy. Therefore, it is recommended that the channel matching  
be performed first in the calibration procedure.  
ENERGY GAIN CALIBRATION  
The active and reactive energy measurements can be calibrated  
on all six channels separately. This separate calibration allows  
compensation for meter-to-meter gain variation.  
xWATTHR = xWATTHR0 +  
(10)  
The AWGAIN register (Address 0x4391) controls the active  
power gain calibration on Current Channel A. The BWGAIN  
(Address 0x4393), CWGAIN (Address 0x4395), DWGAIN  
(Address 0x4397), EWGAIN (Address 0x4399), and FWGAIN  
(Address 0x439B) registers control the active power gain calibra-  
tion on the B through F current channels, respectively. The default  
value of the xWGAIN registers is 0x00000, which corresponds to  
no gain calibration. The xWGAIN registers can adjust the active  
power by up to 100ꢀ. The output is scaled by −50ꢀ by writing  
0xC00000 to the watt gain registers, and it is increased by +50ꢀ  
by writing 0x400000 to them. Equation 8 shows the relationship  
between the gain adjustment and the xWGAIN registers.  
8000  
× xWATTOS × AccumulationTime(s)  
WTHR  
Similar offset calibration registers are available for the reactive  
power. The reactive power on Current Channel A can be offset  
calibrated using the AVAROS (Address 0x439E). The BVAROS  
(Address 0x43A0), CVAROS (Address 0x43A2), DVAROS  
(Address 0x43A4), EVAROS (Address 0x43A6), and FVAROS  
(Address 0x43A8) registers control the reactive power gain  
calibration on the B through F current channels, respectively.  
The xVAROS registers affect the reactive powers in the same way  
that the xWATTOS registers affect the active power. Equation 11  
shows the relationship between the xVAROS registers and the  
reactive energy reading.  
xWGAIN  
Active Power = Active Power0 ×  
(8)  
+1  
0x800000  
Similar gain calibration registers are available for the reactive  
power. The reactive power on Current Channel A can be gain  
calibrated using the AVARGAIN (Address 0x439D) register. The  
xVARHR = xVARHR0 +  
(11)  
8000  
× xVAROS × AccumulationTime(s)  
VARTHR  
BVARGAIN (Address 0x439F), CVARGAIN (Address 0x43A1),  
Rev. 0 | Page 24 of 48  
 
Data Sheet  
ADE7816  
To simplify this calculation, Analog Devices has a spreadsheet  
file that calculates this value. To obtain this spreadsheet, contact  
a representative of Analog Devices.  
ENERGY PHASE CALIBRATION  
The ADE7816 is designed to function with a variety of current  
transducers, including those that induce inherent phase errors.  
A phase error of 0.1° to 0.3° is not uncommon for a current  
transformer (CT). These phase errors can vary from part to  
part, and they must be corrected to achieve accurate power  
readings. The errors associated with phase mismatch are  
particularly noticeable at low power factors. The ADE7816  
provides a means of digitally calibrating these small phase  
errors by introducing a time delay or a time advance.  
By default, the PCF_x_COEFF registers are set to 0. This setting  
does not, however, result in a 0° phase shift. On startup, the  
PCF_x_COEFF registers should be set to 0x400C4A for a 50 Hz  
system and 0x401235 for a 60 Hz system.  
RMS OFFSET CALIBRATION  
The ADE7816 includes an rms offset compensation register for  
each channel, as follows: IARMSOS (Address 0x438B), IBRMSOS  
(Address 0x438C), ICRMSOS (Address 0x438D), IDRMSOS  
(Address 0x438E), IERMSOS (Address 0x438F), IFRMSOS  
(Address 0x4390), and VRMSOS (Address 0x438A). These 24-bit,  
signed registers are used to remove offsets in the current and  
voltage rms calculations. The rms offset compensation register  
is added to the squared current and voltage signal before the  
square root is executed. Equation 15 shows the relationship  
between the rms measurement and the offset adjustment.  
Because different sensors can be used on each channel, sepa-  
rate phase calibration registers are included all six channels.  
The PCF_A_COEFF register (Address 0x43B1) can be used to  
correct phase errors on Current Channel A. The PCF_B_COEFF  
(Address 0x43B2), PCF_C_COEFF (Address 0x43B3), PCF_D_  
COEFF (Address 0x43B4), PCF_E_COEFF (Address 0x43B5),  
and PCF_F_COEFF (Address 0x43B6) registers control the phase  
calibration on the B through F current channels, respectively. All  
registers are 24-bit, unsigned.  
(15)  
Irms  
= Irms2 +128× IxRMSOS  
0
The ADE7816 uses all pass filters to accurately add time advances  
and delays to the current channels with respect to the voltage  
channels. A separate filter is included on each of the six current  
channels. To adjust the time delay or advance, the coefficient of  
these filters must be adjusted. Equation 12, Equation 13, and  
Equation 14 show how the coefficients correspond to the phase  
offset in radians.  
Vrms = Vrms2 +128×VRMSOS  
0
where Irms and Vrms0 are the current and voltage rms  
0
measurement, respectively, without offset correction.  
sin(θ + 3ω) sinω  
PCF_x_COEFFFRACTION  
=
(12)  
sin(θ + 4ω)  
If PCF_x_COEFF ≥ 0, then  
PCF_x_COEFF = 223 × PCF_x_COEFFFRACTION  
(13)  
If PCF_x_COEFF < 0, then  
PCF_x_COEFF = (223 + 2328) × PCF_x_COEFFFRACTION (14)  
where θ is the required current-to-voltage phase adjustment.  
Linefreq(Hz)  
ω = 2π  
8000  
Rev. 0 | Page 25 of 48  
 
 
ADE7816  
Data Sheet  
POWER QUALITY FEATURES  
This section describes the power quality features that are available  
in the ADE7816.  
also be configured to trigger an interrupt on the external pin  
by setting the DREADY bit (Bit 17) in the MASK0 register  
(Address 0xE50A). With the specified full-scale analog input  
signal of 0.5 V, the expected reading on the current and voltage  
waveform register is approximately 5,989,256 (dec).  
SELECTING A CURRENT CHANNEL GROUP  
When using the power quality features on the current channels,  
the group of channels to be monitored must be selected. Bit 14  
(CHANNEL_SEL) of the COMPMODE register (Address 0xE60E)  
can be used to make this selection. To select the A, B, and C current  
channels for the current channel power quality measurements,  
CHANNEL_SEL must be set to 0 (default). To select the D, E,  
and F current channels for the current channel power quality  
measurements, CHANNEL_SEL must be set to 1. If all channels  
require monitoring, the monitoring must be done in series by  
modifying the CHANNEL_SEL bit after data is obtained. The  
settling time of each power quality measurement is provided in  
the section that pertains to each power quality feature.  
The instantaneous waveforms have no additional settling time,  
and, therefore, if the CHANNEL_SEL bit is modified to change  
the group of current channels being measured, the new result is  
available in 125 μs (8 kHz).  
ZERO-CROSSING DETECTION  
Zero-Crossing Detection  
The ADE7816 has a zero-crossing (ZX) detection circuit on the  
voltage and current channels. Zero-crossing detection allows  
measurements to be synchronized to the frequency of the  
incoming waveforms.  
INSTANTANEOUS WAVEFORMS  
The zero-crossing events are filtered internally by an LPF. The  
LPF is intended to eliminate all harmonics of 50 Hz and 60 Hz  
systems, and to help identify the zero-crossing events on the  
fundamental components of both current and voltage channels.  
The digital filter has a pole at 80 Hz and is clocked at 256 kHz.  
As a result, there is a phase lag between the analog input signal  
and the output of the LPF. The error in ZX detection is 0.0703°  
for 50 Hz systems and 0.0843° for 60 Hz systems. The phase lag  
response of the LPF results in a time delay of approximately  
31.4° or 1.74 ms (at 50 Hz) between its input and output. The  
overall delay between the zero crossing on the analog inputs and  
the ZX detection that is obtained after LPF1 is about 39.6° or  
2.2 ms (at 50 Hz). Figure 33 shows how the zero-crossing signal  
is detected.  
The ADE7816 provides access to the current and voltage channel  
waveform data. This information allows the instantaneous data  
to be analyzed in more detail, including reconstruction of the  
current and voltage input for harmonic analyses. These measure-  
ments are available from a set of 24-bit, signed registers. The  
voltage channel has a dedicated register, VWV (Address 0xE510),  
whereas the current channels share three registers: IAWV/IDWV  
(Address 0xE50C), IBWV/IEWV (Address 0xE50D), and ICWV/  
IFWV (Address 0xE50E). A group of current channels (A, B, C  
or D, E, F) must be selected by Bit 14 (CHANNEL_SEL) of the  
COMPMODE register (see the Selecting a Current Channel  
Group section).  
All measurements are updated at a rate of 8 kHz. The ADE7816  
provides an interrupt status bit, DREADY (Bit 17 of the STATUS0  
register, Address 0xE502), that is triggered at a rate of 8 kHz,  
allowing measurements to be synchronized with the instanta-  
neous update signal rate. The instantaneous update signal can  
To provide further protection from noise, input signals to the  
voltage channel with an amplitude of <10ꢀ of full scale do not  
generate zero-crossing events at all. The ZX detection circuit of  
the current channels is active for all input signals, independent  
of their amplitudes.  
IxGAIN OR  
VGAIN  
REFERENCE  
ADC  
IA, IB, IC,  
ID, IE, IF, OR V  
ZX  
DETECTION  
PGA  
HPF  
LPF_ZX  
39.6° OR 2.2ms @ 50Hz  
1
0.855  
ZX  
0V  
ZX  
ZX  
ZX  
IA, IB, IC,  
ID, IE, IF, OR V  
LPF_ZX OUTPUT  
Figure 33. Zero-Crossing Detection  
Rev. 0 | Page 26 of 48  
 
 
 
 
 
Data Sheet  
ADE7816  
The ADE7816 contains four zero-crossing detection circuits,  
one dedicated for the voltage channel and three for the current  
channels. A group of current channels (A, B, C or D, E, F) must  
be selected by Bit 14 (CHANNEL_SEL) of the COMPMODE  
register, Address 0xE60E (see the Selecting a Current Channel  
Group section). When switching between channel groups, a set-  
tling time of 10 ms (50 Hz) or 8 ms (60 Hz) is required. Each  
circuit drives one flag in the STATUS1 register (Address 0xE503).  
For example, if a zero crossing occurs on the voltage channel,  
Bit 9 (ZXV) in the STATUS1 register goes high. If a zero-crossing  
event occurs on Current Channel A and the CHANNEL_SEL  
bit in the COMPMODE register is set to 0, Bit 12 (ZXI1) in the  
STATUS1 register is set to 1.  
Bits[4:2] (PEAKSELx) of the MMODE register (Address 0xE700)  
can be set to 0 to disable a channel. Note that one PEAKSELx  
bit must always be set to 1 to enable the feature.  
The results of the current and voltage peak detection are stored  
in the lowest 24 bits of two 32-bit, unsigned registers, IPEAK  
(Address 0xE500) and VPEAK (Address 0xE501). The peak  
detection measurements are updated at the end of the peak cycle  
specified in the PEAKCYC register. At that time, Bit 24 (PKV)  
and Bit 23 (PKI) in the STATUS1 register go high, signaling  
a peak event. To determine which current channel caused the peak  
event, Bits[26:24] (IPCHANNELx) in the IPEAK register must  
be read.  
Setting the PEAKCYC Register  
Zero-Crossing Timeout  
The 8-bit, unsigned PEAKCYC register contains the program-  
mable peak detection period. The peak detection period is the  
number of half line cycles over which the peak measurement is  
measured. Each LSB of the PEAKCYC register corresponds to one  
half line cycle period. The PEAKCYC register holds a maximum  
value of 255.  
Each zero-crossing detection circuit has an associated timeout  
register. This register is loaded with the value that is written into  
the 16-bit ZXTOUT register (Address 0xE60D) and is decremented  
by 1 LSB every 62.5 ꢁs (16 kHz clock). The register is reset to the  
ZXTOUT value every time a zero crossing is detected. The default  
value of this register is 0xFFFF. If the timeout register decrements  
to 0 before a zero crossing is detected, the corresponding STATUS1  
bit is set.  
At 50 Hz, the maximum peak cycle time is 2.55 seconds.  
1
÷ 2  
× 255 = 2.55 sec  
50  
There is a zero-crossing timeout circuit that is dedicated to the  
voltage channel. For example, if a zero-crossing timeout event  
occurs on the voltage channel, Bit 3 (ZXTOV) in the STATUS1  
register is set. There are three zero-crossing timeout circuits for  
the six current channels. A group of current channels, A, B, C or D,  
E, F, must be selected by the CHANNEL_SEL bit of the  
COMPMODE register (see the Selecting a Current Channel  
Group section). For example, if a zero-crossing timeout event  
occurs on Current Channel D and the CHANNEL_SEL bit in  
the COMPMODE register is set to 1, Bit 6 (ZXTOI1) in the  
STATUS1 register is set to 1.  
At 60 Hz, the maximum peak cycle time is 2.125 seconds.  
1
× 255 = 2.125 sec  
÷ 2  
60  
OVERCURRENT AND OVERVOLTAGE DETECTION  
The ADE7816 provides an overcurrent and overvoltage feature  
that detects whether the absolute value of the current or voltage  
waveform exceeds a programmable threshold. This feature uses  
the instantaneous voltage and current signals. The two registers  
used to set the voltage and current channel threshold are OVLVL  
(Address 0xE508) and OILVL (Address 0xE507), respectively.  
The OILVL threshold register determines the threshold for all  
current channels. The default value of the OVLVL and OILVL  
registers is 0xFFFFFF, which effectively disables the feature.  
Figure 34 shows the operation of the overvoltage detection feature.  
OVERVOLTAGE  
The resolution of the ZXTOUT register is 62.5 ꢁs (16 kHz clock)  
per LSB. Therefore, the maximum timeout period for an interrupt  
is 4.096 sec (216/16 kHz).  
PEAK DETECTION  
The ADE7816 includes an instantaneous peak detection feature  
that stores the maximum absolute value reached on the current  
and voltage channels over a fixed number of half line cycles.  
The PEAKCYC register (Address 0xE703) stores the number of  
half line cycles used for all peak measurements.  
DETECTED  
VOLTAGE CHANNEL  
OVLVL  
The peak detection feature is available on the voltage channel  
and three of the current channels. A group of current channels  
(A, B, C or D, E, F) must be selected by the CHANNEL_SEL bit of  
the COMPMODE register (see the Selecting a Current Channel  
Group section). When switching between current channel groups,  
no additional settling time is required. However, the PEAKCYC  
register should be rewritten to reset the measurement. By default,  
all three current channels are included in the peak detection  
measurement. If only one or two current channels are required,  
STATUS1[18]  
CANCELLED BY A  
WRITE OF STATUS1  
WITH OV BIT SET.  
BIT 18 (OV) OF  
STATUS1  
Figure 34. Overvoltage Detection  
Rev. 0 | Page 27 of 48  
 
 
ADE7816  
Data Sheet  
As shown in Figure 34, the OV bit (Bit 18) in the STATUS1 register  
(Address 0xE503) is set to 1 if the ADE7816 detects an overvoltage  
condition. The overcurrent detection feature works in a similar  
manner; however, a group of current channels (A, B, C or D, E, F)  
must be selected by Bit 14 (CHANNEL_SEL) of the COMPMODE  
register, Address 0xE60E (see the Selecting a Current Channel  
Group section). When switching between current channel groups,  
no additional settling time is required and the feature continues to  
monitor at an 8 kHz rate. If an overcurrent condition is detected on  
any of the selected current channels, the OI bit (Bit 17) of the  
STATUS1 register is set to 1. To determine the current channel(s)  
causing the overcurrent event, the OICHANNELx bits (Bit 3, Bit 4,  
and Bit 5) of the CHSTATUS register are used.  
bits are unlatched and read only. A low reading (0) on any of  
these bits indicates that the corresponding power reading is  
positive; a high reading (1) indicates that the corresponding  
power reading is negative.  
In addition to the sign indication bits, the ADE7816 also includes  
reverse power status bits and associated interrupts. The status bits  
are located in the STATUS0 register (Address 0xE502). The reverse  
power bits are set to 1 when the sign of the power changes. Bit 6  
(REVAP1) monitors the A or D current channel, Bit 7 (REVAP2)  
monitors the B or E channel, and Bit 8 (REVAP3) monitors the  
C or F current channel. Similarly, Bit 10 (REVRP1), Bit 11  
(REVRP2), and Bit 12 (REVRP3) monitor the reactive power.  
Both positive-to-negative and negative-to-positive changes result  
in the corresponding status bit being set. Each status bit has a cor-  
responding interrupt enable bit that is located in the MASK0  
register (Address 0xE50A). If the corresponding MASK0 bit is set,  
Setting the OVLVL and OILVL Registers  
The content of the overvoltage (OVLVL) and overcurrent (OILVL),  
24-bit, unsigned registers is compared to the absolute value of  
the voltage and current channels. The maximum value of these  
registers is 5,928,256 (0x5A7540) with full scale inputs. When  
either the OVLVL or OILVL register is equal to this value, the  
overvoltage or overcurrent conditions are never detected.  
Writing 0x0 to these registers signifies that the overvoltage or  
overcurrent conditions are continuously detected, and the  
corresponding interrupts are permanently triggered.  
IRQ0  
a change in active energy power direction causes the external  
pin to be pulled low (see the Interrupts section for more details).  
ANGLE MEASUREMENTS  
The ADE7816 can measure the time delay between the current  
and voltage inputs. It can also be configured to measure the time  
between the six current channels. The negative-to-positive  
transitions identified by the zero-crossing detection circuit are  
used as a start and stop for the measurement (see Figure 35).  
Overvoltage and Overcurrent Interrupts  
Two interrupts are associated with the overvoltage and overcurrent  
features. The first interrupt is associated with the overvoltage  
feature; it is enabled by setting the OV bit (Bit 18) of the MASK1  
register (Address 0xE50B). When this bit is set, an overvoltage  
VOLTAGE  
CURRENT  
CHANNEL X  
IRQ1  
condition causes the external  
pin to be pulled low. A second  
interrupt is associated with the overcurrent detection feature.  
This interrupt is enabled by setting the OI bit (Bit 17) of the  
MASK1 register. When this bit is set, an overcurrent condition  
on any of the selected current channels causes the external  
ANGLE  
Figure 35. Voltage-to-Current Time Delay  
There are three angle registers that store the results of the time  
delay. A group of current channels (A, B, C or D, E, F) must be  
selected by Bit 14 (CHANNEL_SEL) of the COMPMODE  
register (see the Selecting a Current Channel Group section).  
IRQ1  
pin to be pulled low.  
INDICATION OF POWER DIRECTION  
The ADE7816 includes sign indication on the active and reactive  
power measurements. Sign indication allows positive and negative  
energy to be identified and billed separately, if required. It also  
helps detect a miswiring condition. This feature is available on  
three channels at a time. A group of current channels (A, B, C  
or D, E, F) must be selected by Bit 14 (CHANNEL_SEL) of the  
COMPMODE register at Address 0xE60E (see the Selecting a  
Current Channel Group section).  
When Bits[10:9] (ANGLESEL) of the COMPMODE register are  
set to 00b (default), the time delays between the current channels  
and the voltage channel are measured. The ANGLE0 register  
(Address 0xE601) stores the delay between the voltage and the  
A or D current channel. The ANGLE1 register (Address 0xE602)  
stores the delay between the voltage and the B or E current  
channel. The ANGLE2 register (Address 0xE603) stores the delay  
between the voltage and the C or F current channel. The time delay  
between the current and voltage inputs can be used to characterize  
how balanced the load is. The delays between phase voltages and  
currents can be used to compute the power factor, as shown  
in Equation 16.  
The three-sign indication bits that indicate the polarity of the  
active power are Bit 0 (W1SIGN), Bit 1 (W2SIGN), and Bit 2  
(W3SIGN) of the CHSIGN register (Address 0xE617). W1SIGN  
indicates the direction of power on the A or D current channel,  
W2SIGN indicates the direction of power on the B or E current  
channel, and W3SIGN indicates the direction of power on the C  
or F current channel. An additional three bits, VAR1SIGN (Bit 4),  
VAR2SIGN (Bit 5), and VAR3SIGN (Bit 6), also in the CHSIGN  
register, provide the direction of the reactive power. All of these  
360o fLINE  
256 kHz  
(16)  
cosx cos ANGLEx   
where fLINE is 50 Hz or 60 Hz.  
Rev. 0 | Page 28 of 48  
 
 
 
Data Sheet  
ADE7816  
This method of determining the power factor does not take into  
account the effect of any harmonics.  
cycles. This feature can provide an early warning signal that the  
line voltage is dropping out. The voltage sag feature is controlled  
by two registers: SAGCYC (Address 0xE704) and SAGLVL  
(Address 0xE509). These registers control the sag period and  
the sag voltage threshold, respectively.  
When Bits[10:9] (ANGLESEL) of the COMPMODE register are  
set to 10b, the time delays (angles) between current channels are  
measured. Table 10 shows the current channel-to-channel delay  
measure-ments that are available.  
Sag detection is disabled by default and can be enabled by writing  
a nonzero value to both the SAGCYC and SAGLVL registers. If  
either register is set to 0, the sag feature is disabled. If a voltage  
sag condition occurs, the sag bit (Bit 16) in the STATUS1 register  
(Address 0xE503) is set to 1.  
Table 10. Available Channel-to-Channel Measurements  
(ANGLESEL = 10b)  
Channel-to-Channel Measurements  
CHANNEL_SEL  
(COMPMODE[14])  
0
1
ANGLE0  
A to B  
A to E  
ANGLE1  
A to C  
D to F  
ANGLE2  
B to C  
E to F  
SETTING THE SAGCYC REGISTER  
The 8-bit, unsigned SAGCYC register contains the programmable  
sag period. The sag period is the number of half line cycles below  
which the voltage channel must remain before a sag condition  
occurs. Each LSB of the SAGCYC register corresponds to a half  
line cycle period. The SAGCYC register holds a maximum  
value of 255.  
The ANGLE0 (Address 0xE601), ANGLE1 (Address 0xE602), and  
ANGLE2 (Address 0xE603) registers are 16-bit, unsigned registers  
with 1 LSB corresponding to 3.90625 ꢁs (256 kHz clock), which  
corresponds to a resolution of 0.0703° (360° × 50 Hz/256 kHz)  
for 50 Hz systems and 0.0843° (360° × 60 Hz/256 kHz) for 60 Hz  
systems.  
At 50 Hz, the maximum sag cycle time is 2.55 seconds.  
1
× 255 = 2.55 sec  
PERIOD MEASUREMENT  
÷ 2  
50  
The ADE7816 provides the period measurement of the line in  
the voltage channel. The period register (Address 0xE607) is  
a 16-bit, unsigned register that updates every line period. Due  
to internal filtering, a settling time of 30 ms to 40 ms is associ-  
ated with this measurement.  
At 60 Hz, the maximum sag cycle time is 2.125 seconds.  
1
× 255 = 2.125 sec  
÷ 2  
60  
If the SAGCYC value is modified after the feature is enabled,  
the new SAGCYC period is effective immediately. Therefore, it  
is possible for a sag event to be caused by a combination of sag  
cycle periods. To prevent any overlap, the SAGLVL register should  
be reset to 0 to effectively disable the feature before the new cycle  
value is written to the SAGCYC register.  
The period measurement has a resolution of 3.90625 ꢁs/LSB  
(256 kHz clock), which represents 0.0195ꢀ (50 Hz/256 kHz)  
when the line frequency is 50 Hz and 0.0234ꢀ (60 Hz/256 kHz)  
when the line frequency is 60 Hz. The value of the period register  
for 50 Hz networks is approximately 5120 (256 kHz/50 Hz) and  
for 60 Hz networks is approximately 4267 (256 kHz/60 Hz). The  
length of the register enables the measurement of line frequencies  
that are as low as 3.9 Hz (256 kHz/216). The period register is stable  
at 1 LSB when the line is established, and the measurement  
does not change.  
SETTING THE SAGLVL REGISTER  
The content of the 24-bit SAGLVL register is compared to the  
absolute value of the output from the HPF. Writing 5,928,256  
(0x5A7540) to the SAGLVL register sets the sag detection level  
at full scale. This results in the sag event triggering continuously.  
Writing 0x00 or 0x01 puts the sag detection level at 0; therefore,  
the sag event is never triggered.  
The following expressions can be used to compute the line period  
and frequency, using the period register:  
PERIOD[15:0] +1  
(17)  
TL =  
fL  
[
sec  
]
VOLTAGE SAG INTERRUPT  
0x256E3  
The ADE7816 includes an interrupt that is associated with the  
voltage sag detection feature. If this interrupt is enabled, a voltage  
sag event causes the external  
is disabled by default and can be enabled by setting the sag bit  
(Bit 16) in the MASK1 register, Address 0xE50B (see the  
Interrupts section).  
0x256E3  
=
[Hz]  
PERIOD[15:0] +1  
IRQ1  
pin to go low. This interrupt  
VOLTAGE SAG DETECTION  
The ADE7816 includes a sag detection feature that warns the  
user when the absolute value of the line voltage falls below the  
programmable threshold for a programmable number of line  
Rev. 0 | Page 29 of 48  
 
 
ADE7816  
Data Sheet  
gi, where i = 0, 1, 2, …, 31 is the coefficient of the generating  
polynomial defined by the IEEE802.3 standard as follows:  
CHECKSUM  
The ADE7816 has a 32-bit checksum register (Address 0xE51F)  
that ensures that certain important configuration registers maintain  
their desired value during normal operation.  
G(x) = x32 + x26 + x23 + x22 + x16 + x12 + x11 + x10  
+
(18)  
(19)  
x8 + x7 + x5 + x4 + x2 + x + 1  
g0 = g1 = g2 = g4 = g5 = g7 = 1  
g8 = g10 = g11 = g12 = g16 = g22 = g26 = g31 = 1  
The registers that are included in this feature are MASK0,  
MASK1, COMPMODE, gain, CONFIG, MMODE, ACCMODE,  
LCYCMODE, HSDC_CFG, plus four additional 16-bit reserved  
registers and six 8-bit reserved internal registers. All reserved  
registers always have default values. The ADE7816 computes the  
cyclic redundancy check (CRC) based on the IEEE802.3 standard.  
The registers are introduced, one by one, into a linear feedback  
shift register (LFSR) based generator, starting with the least  
significant bit (as shown in Figure 36). The 32-bit result is written  
in the checksum register. After power-up or a hardware/software  
reset, the CRC is computed on the default values of the registers.  
The default value of the checksum register is 0x33666787.  
All of the other gi coefficients are equal to 0.  
FB(j) = aj 1 XOR b31(j − 1)  
(20)  
(21)  
b0(j) = FB(j) AND g0  
bi(j) = FB(j) AND gi XOR bi − 1(j − 1), i = 1, 2, 3, ..., 31 (22)  
Equation 20, Equation 21, and Equation 22 must be repeated for  
j = 1, 2, …, 256. The value written into the checksum register con-  
tains Bit bi(256), i = 0, 1, …, 31. After the bits from the reserved  
internal register pass through the LFSR, the value of the CRC  
(which is obtained at Step j = 48) is 0x33660787.  
Figure 37 shows how the LFSR works. The MASK0, MASK1,  
COMPMODE, gain, CONFIG, MMODE, ACCMODE,  
LCYCMODE, and HSDC_CFG registers, along with the four  
16-bit reserved registers and six 8-bit reserved internal registers,  
form the Bits[a255, a254, …, a0] used by the LFSR. Bit a0 is the least  
significant bit of the first internal register to enter the LFSR;  
Bit a255 is the most significant bit of the MASK0 register, the last  
register to enter the LFSR. The formulas that govern the LFSR  
are as follows:  
Two different approaches can be followed in using the checksum  
register. One is to compute the CRC, based on Equation 18 to  
Equation 22, and then compare the value against the checksum  
register. Another is to periodically read the checksum register.  
If two consecutive readings differ, it can be assumed that one of  
the registers has changed value and that, therefore, the ADE7816  
configuration has changed. The recommended response is to  
initiate a hardware/software reset that sets the values of all  
registers (including the reserved ones) to the default, and then  
reinitialize the configuration registers.  
bi(0) = 1, where i = 0, 1, 2, …, 31, the initial state of the bits that  
form the CRC. Bit b0 is the least significant bit, and Bit b31 is the  
most significant bit.  
7
0
7
0
7
0
7
0
7
0
7
0
31  
MASK0 MASK1 COMPMODE GAIN RESERVED  
255 248 240 232 224 216  
0
31  
0
15  
0 15 0 15  
0
INTERNAL  
REGISTER REGISTER REGISTER  
INTERNAL  
INTERNAL  
INTERNAL  
REGISTER REGISTER REGISTER  
INTERNAL  
INTERNAL  
40 32 24  
16  
8
7
0
LFSR  
GENERATOR  
Figure 36. Checksum Register Calculation  
g0  
g1  
g2  
g3  
g31  
FB  
b0  
b1  
b2  
b31  
LFSR  
a255  
,
a254,....,a2, a1, a0  
Figure 37. LFSR Generator Used in Checksum Register Calculation  
Rev. 0 | Page 30 of 48  
 
 
 
 
Data Sheet  
ADE7816  
OUTPUTS  
This section describes the outputs from the ADE7816.  
SS  
These writes allow the /HSA pin to toggle three times. See the  
SPI Write Operation section for details on the write protocol  
that is involved.  
INTERRUPTS  
IRQ0  
IRQ1  
and . Each pin is  
The ADE7816 has two interrupt pins,  
After the serial port choice is completed, it must be locked.  
If I2C is the active serial port, Bit 1 (I2C_LOCK) of the CONFIG2  
register (Address 0xEC01) must be set to 1 to lock it in. From then  
managed by a 32-bit interrupt mask register, MASK0 and MASK1  
(Address 0xE50A and Address 0xE50B), respectively. To enable  
an interrupt, a bit in the MASKx register must be set to 1. To  
disable an interrupt, the bit must be cleared to 0. Two 32-bit  
status registers, STATUS0 and STATUS1 (Address 0xE502 and  
Address 0xE503, respectively), are associated with the interrupts.  
When an interrupt event occurs in the ADE7816, the corre-  
sponding flag in the interrupt status register is set to a Logic 1  
(see Table 30 and Table 31). If the mask bit for this interrupt in  
SS  
on, the ADE7816 ignores spurious toggling of the /HSA pin,  
and an eventual switch to use of the SPI port is no longer possible.  
If the SPI is the active serial port, any write to the CONFIG2  
register locks the port. From then on, a switch to the I2C port is no  
longer possible.  
The functionality of the ADE7816 is accessible via several on-chip  
registers. The contents of these registers can be updated or read,  
using either the I2C or SPI interfaces. The HSDC port provides the  
instantaneous values of the voltages and current channels.  
IRQx  
the interrupt mask register is Logic 1, the  
logic output goes  
active low. The flag bits in the interrupt status register are set,  
irrespective of the state of the mask bits. To determine the source  
of the interrupt, the microcontroller must perform a read of the  
corresponding STATUSx register and identify which bit is set to 1.  
To erase the flag in the status register, write back to the STATUSx  
register with the flag set to 1. After an interrupt pin goes low, the  
status register is read and the source of the interrupt is identified.  
Then, the status register is written back, with no changes, to  
I2C-Compatible Interface  
The ADE7816 supports a fully licensed I2C interface. The I2C  
interface is implemented as a full hardware slave. SDA is the data  
I/O pin, and SCL is the serial clock. These two pins are shared with  
the MOSI and SCLK pins, respectively, of the on-chip SPI interface.  
The maximum serial clock frequency supported by this interface is  
400 kHz.  
IRQx  
clear the status flag to 0. The  
status flag is cancelled.  
pin remains low until the  
The SDA and SCL pins are used for data transfer and are con-  
figured in a wire-ANDed format that allows arbitration in a  
multimaster system.  
The transfer sequence of an I2C system consists of a master device  
initiating a transfer by generating a start condition while the bus  
is idle. The master transmits the address of the slave device and the  
direction of the data transfer in the initial address transfer. If the  
slave acknowledges, the data transfer is initiated. This continues  
until the master issues a stop condition and the bus becomes idle.  
By default, all interrupts are disabled, with the exception of  
the RSTDONE interrupt. This interrupt can never be masked  
(disabled) and, therefore, Bit 15 (RSTDONE) in the MASK1  
IRQ1  
register does not have any functionality. The  
pin always  
goes low, and Bit 15 (RSTDONE) in the STATUS1 register is set  
to 1 whenever a power-up or a hardware/software reset process  
ends. To cancel the RSTDONE status flag, the STATUS1 register  
nust be written with Bit 15 (RSTDONE) set to 1.  
COMMUNICATION  
Serial Interface Selection  
I2C Write Operation  
The write operation, using the I2C interface of the ADE7816,  
initiated when the master generates a start condition, consists  
of one byte representing the address of the ADE7816, followed  
by the 16-bit address of the target register and by the value of  
the register.  
After reset, the HSDC port is always disabled. Choose between the  
2
SS  
I C and SPI ports by manipulating the /HSA pin after power-up  
SS  
or after a hardware reset. If the /HSA pin is held high, the  
ADE7816 uses the I2C port until a new hardware reset is executed.  
SS  
If the /HSA pin is toggled high to low three times after power-up  
The most significant seven bits of the address byte constitute  
the address of the ADE7816, which is 0111000b. Bit 0 of the  
or after a hardware reset, the ADE7816 uses the SPI port until a  
new hardware reset is executed. This manipulation of the /HSA  
pin can be accomplished in two ways. The first option is to use  
SS  
write  
address byte is a read/  
bit. Because this is a write operation,  
it must be cleared to 0; therefore, the first byte of the write  
operation is 0x70. After every byte is received, the ADE7816  
generates an acknowledge. The register can be 8, 16, or 32 bits  
in length. After the last bit of the register is transmitted and the  
ADE7816 acknowledges the transfer, the master generates a stop  
condition. The addresses and the register content are sent with  
the most significant bit first. See Figure 39 for details of the I2C  
write operation.  
SS  
the /HSA pin of the master device (that is, the microcontroller)  
as a regular I/O pin and toggle it three times. The second option is  
to execute three SPI write operations to a location in the address  
space that is not allocated to a specific ADE7816 register (such as  
Address 0xEBFF, where 8-bit writes can be executed).  
Rev. 0 | Page 31 of 48  
 
 
 
 
 
ADE7816  
Data Sheet  
I2C Read Operation  
SPI-Compatible Interface  
The read operation, using the I2C interface of the ADE7816, is  
accomplished in two stages. The first stage sets the pointer to  
the address of the register; the second stage reads the contents  
of the register (see Figure 40).  
The ADE7816 SPI is always a slave of the communication and  
consists of four pins (with dual functions): SCLK/SCL, MOSI/SDA,  
SS  
MISO/HSD, and /HSA. The functions used in the SPI-compatible  
SS  
interface are SCLK, MOSI, MISO, and . The serial clock for  
a data transfer is applied at the SCLK logic input. This logic input  
has a Schmitt trigger input structure that allows the use of slow  
rising (and falling) clock edges. All data transfer operations  
synchronize to the serial clock. Data shifts into the ADE7816  
at the MOSI logic input on the falling edge of SCLK, and the  
ADE7816 samples it on the rising edge of SCLK. Data shifts out  
of the ADE7816 at the MISO logic output on a falling edge of SCLK  
and can be sampled by the master device on the raising edge of  
SCLK. The most significant bit of the word is shifted in and out  
first. The maximum serial clock frequency that is supported by  
this interface is 2.5 MHz. MISO stays in high impedance when no  
data is transmitted from the ADE7816. Figure 38 shows details of  
the connection between the ADE7816 SPI and a master device  
containing a SPI interface.  
The first stage is initiated when the master generates a start con-  
dition. It consists of one byte, representing the address of the  
ADE7816, followed by the 16-bit address of the target register. The  
ADE7816 acknowledges every byte received. The address byte is  
similar to the address byte of a write operation and is equal to 0x70  
(see the I2C Write Operation section for details). After the last  
byte of the register address is sent and acknowledged by the  
ADE7816, the second stage begins with the master generating  
a new start condition, followed by an address byte. The most  
significant seven bits of this address byte constitute the address of  
the ADE7816, which is 0111000b. Bit 0 of the address byte is a  
write  
read/  
bit. Because this is a read operation, it must be set to 1;  
therefore, the first byte of the read operation is 0x71. After this byte  
is received, the ADE7816 generates an acknowledge. Then the  
ADE7816 sends the value of the register, and, after every eight bits  
are received, the master generates an acknowledge. All the bytes  
are sent with the most significant bit first. Registers can be 8, 16,  
or 32 bits. After the last bit of the register is received, the master  
does not acknowledge the transfer but, instead, generates a stop  
condition.  
SPI DEVICE  
ADE7816  
MOSI/SDA  
MOSI  
MISO/HSD  
SCLK/SCL  
SS/HSA  
MISO  
SCK  
SS  
Figure 38. Connecting the ADE7816 SPI with a SPI Device  
15  
8
7
0
31  
16  
15  
8
7
0
7
0
S
0
1
1
1
0
0
0
0
S
MS 8 BITS OF  
REGISTER ADDRESS  
LS 8 BITS OF  
REGISTER ADDRESS  
BYTE 3 (MS)  
OF REGISTER  
BYTE 0 (LS) OF  
REGISTER  
A
C
K
A
C
K
A
C
K
A
C
K
A
C
K
A
C
K
A
C
K
BYTE 2 OF REGISTER  
BYTE 1 OF REGISTER  
SLAVE ADDRESS  
ACKNOWLEDGE  
GENERATED BY  
ADE7816  
Figure 39. I2C Write Operation of a 32-Bit Register  
15  
8
7
0
S
0
1 1 1 0 0 0 0  
A
C
K
A
C
K
A
C
K
MSB 8 BITS OF  
REGISTER ADDRESS  
LSB 8 BITS OF  
REGISTER ADDRESS  
SLAVE ADDRESS  
ACKNOWLEDGE  
GENERATED BY  
ADE7816  
ACKNOWLEDGE  
GENERATED BY  
MASTER  
N
O
A
C
K
A
C
K
A
C
K
A
C
K
31  
16  
15  
8
7
0
7
0
S
0
1
1
1
0
0
0
1
S
A
C
K
BYTE 3 (MSB)  
OF REGISTER  
BYTE 2 OF  
REGISTER  
BYTE 1 OF  
REGISTER  
BYTE 0 (LSB)  
OF REGISTER  
SLAVE ADDRESS  
ACKNOWLEDGE  
GENERATED BY  
ADE7816  
Figure 40. I2C Read Operation of a 32-Bit Register  
Rev. 0 | Page 32 of 48  
 
 
 
Data Sheet  
ADE7816  
SS  
The logic input is the chip select input. This input is used  
SS  
when multiple devices share the serial bus. Drive the input  
it begins to transmit its contents on the MISO line when the next  
SCLK high-to-low transition occurs; thus, the master can sample  
the data on a low-to-high SCLK transition. After the master  
SS  
low for the entire data transfer operation. Bringing high  
SS  
receives the last bit, it sets the and SCLK lines high, and the  
during a data transfer operation aborts the transfer and places  
the serial bus in a high impedance state. A new transfer can  
communication ends. The data lines, MOSI and MISO, go into  
a high impedance state (see Figure 41).  
SS  
then be initiated by returning the logic input to low. However,  
because aborting a data transfer before completion leaves the  
accessed register in a state that cannot be guaranteed, the value of a  
register should be verified by reading it back each time it is written.  
The protocol is similar to the protocol used with the I2C interface.  
SPI Write Operation  
The write operation, using the SPI interface, initiates when the  
SS  
master sets the /HSA pin low and begins sending one byte,  
representing the address of the ADE7816, on the MOSI line. The  
master sets data on the MOSI line, starting with the first high-to-  
low transition of SCLK. The SPI samples data on the low-to-high  
transitions of SCLK. The most significant seven bits of the address  
byte can have any value, but, as a good programming practice,  
SPI Read Operation  
The read operation, using the SPI interface, initiates when the  
SS  
master sets the /HSA pin low and begins sending one byte,  
representing the address of the ADE7816, on the MOSI line. The  
master sets data on the MOSI line starting with the first high-to-  
low transition of SCLK. The ADE7816 SPI samples data on the  
low-to-high transitions of SCLK. The most significant seven bits  
of the address byte can have any value, but, as good programming  
they should be different from 0111000b, the seven bits that are used  
2
write  
in the I C protocol. Bit 0 (read/  
) of the address byte must be 0  
for a write operation. Next, the master sends the 16-bit address  
of the register that is written and the 32-, 16-, or 8-bit value of that  
register without losing any SCLK cycle. After the last bit is trans-  
mitted, the master sets the and SCLK lines high at the end of  
the SCLK cycle and the communication ends. The data lines, MOSI  
and MISO, go into a high impedance state (see Figure 42).  
practice, they should be different from 0111000b, the seven bits  
2
SS  
write  
used in the I C protocol. Bit 0 (read/  
) of the address byte must  
be set to 1 for a read operation. Next, the master sends the 16-bit  
address of the register to be read. After the ADE7816 receives the  
last address bit of the register on a low-to-high transition of SCLK,  
SS  
SCLK  
15 14  
1 0  
MOSI  
MISO  
REGISTER ADDRESS  
0
0 0 0 0 0 0 1  
31 30  
1 0  
REGISTER VALUE  
Figure 41. SPI Read Operation of a 32-Bit Register  
SS  
SCLK  
15 14  
1
0
31 30  
1 0  
REGISTER  
ADDRESS  
MOSI  
REGISTER VALUE  
0
0 0 0 0 0 0 0  
Figure 42. SPI Write Operation of a 32-Bit Register  
Rev. 0 | Page 33 of 48  
 
 
 
ADE7816  
Data Sheet  
The words can be transmitted as 32-bit or 8-bit packages. When  
Bit 1 (HSIZE) in the HSDC_CFG register is 0 (the default value),  
the words are transmitted as 32-bit packages. When Bit HSIZE is 1,  
the registers are transmitted as 8-bit packages. The HSDC interface  
transmits the words MSB first.  
HSDC Interface  
The high speed data capture (HSDC) interface is disabled by  
default. It can be used only if the ADE7816 is configured with  
an I2C interface. The ADE7816 SPI interface cannot be used  
simultaneously with the HSDC port.  
When Bit 2 (HGAP) is set to 1, a gap of seven HSCLK cycles is  
introduced between packages. When the HGAP bit is cleared to 0  
(the default value), no gap is introduced between packages and  
the communication time is shortest. In this case, HSIZE does  
not have any influence on the communication, and a data bit is  
placed on the HSD line with every HSCLK high-to-low transition.  
Bit 6 (HSDCEN) in the CONFIG register (Address 0xE618)  
activates HSDC when set to 1. If the HSDCEN bit is cleared to 0,  
the default value, the HSDC interface is disabled. Setting the  
HSDCEN bit to 1 when the SPI is in use does not have any effect.  
The HSDC port is an interface for sending up to four 32-bit  
words to an external device (usually a microprocessor or a DSP).  
The words represent the instantaneous values of the currents and  
voltage. The registers that are transmitted are IAWV/IDWV,  
I BW V / I EW V, IC W V / I F W V, a n d V W V. A l l a r e 2 4 - b i t r e g i s t e r s  
that are sign extended to 32 bits.  
For correct operation, Bits[4:3] (HXFER[1:0]) must be set to a  
value of 01b. The words representing the instantaneous values  
of currents and voltage are transmitted in the following order:  
IAW V / I DW V, V W V, I BW V / I EW V, V W V, IC V W / I F W V, a n d  
VWV, followed by one 32-bit word of all 0s. Note that the voltage  
waveform is sent three times. Bit 14 (CHANNEL_SEL) of the  
COMPMODE register (Address 0xE60E) can be used to select  
which group of current channels is transmitted (see the  
Selecting a Current Channel Group section).  
The HSDC port can be interfaced with the SPI or similar interfaces.  
HSDC is always a master of the communication and consists of  
three pins: HSA, HSD, and HSCLK. HSA represents the select  
signal. It stays active low or high when a word is transmitted,  
and it is usually connected to the select pin of the slave. HSD  
sends data to the slave, and it is usually connected to the data  
input pin of the slave. HSCLK is the serial clock line that is  
generated by the ADE7816, and it is usually connected to the  
serial clock input of the slave. Figure 43 shows the connections  
between the ADE7816 HSDC and slave devices containing a SPI  
interface.  
Bit 5 (HSAPOL) of the HSDC_CFG register determines the  
SS  
HSA function polarity of the /HSA pin during communication.  
When the HSAPOL bit is 0 (the default value), HSA is active low  
during the communication. This means that HSA stays high  
when no communication is in progress. When the communication  
starts, HSA goes low and stays low until the communication ends.  
Then it goes back to high. When HSAPOL is 1, the HSA function  
SS  
SPI DEVICE  
ADE7816  
of the /HSA pin is active high during the communication.  
This means that HSA stays low when no communication is in  
progress. When the communication starts, HSA goes high and  
stays high until the communication ends; then it goes back to low.  
MISO/HSD  
HSCLK  
MISO  
SCK  
SS  
SS/HSA  
Figure 43. Connecting the ADE7816 HSDC with a SPI  
Bits[7:6] of the HSDC_CFG register are reserved. Any value  
written into these bits has no consequence on HSDC behavior.  
The HSDC communication is managed by the HSDC_CFG  
register, Address 0xE706 (see Table 28). It is recommended that  
the HSDC_CFG register be set to the desired value before enabling  
the port, using Bit 6 (HSDCEN) in the CONFIG register. In this  
way, the state of various pins belonging to the HSDC port do not  
take levels that are inconsistent with the desired HSDC behavior.  
Figure 44 shows the HSDC transfer protocol for HGAP = 0,  
HXFER[1:0] = 01, and HSAPOL = 0. Note that the HSDC  
interface sets a data bit on the HSD line every HSCLK high-  
to-low transition, and the value of Bit HSIZE is irrelevant.  
Figure 45 shows the HSDC transfer protocol for HSIZE = 0,  
HGAP = 1, HXFER[1:0] = 01, and HSAPOL = 0. Note that the  
HSDC interface introduces a gap of seven HSCLK cycles between  
every 32-bit word.  
SS  
After a hardware reset or power-up, the MISO/HSD and /HSA  
pins are set high.  
Bit 0 (HCLK) in the HSDC_CFG register determines the serial  
clock frequency of the HSDC communication. When HCLK is 0  
(the default value), the clock frequency is 8 MHz. When HCLK is 1,  
the clock frequency is 4 MHz. A bit of data is transmitted for every  
HSCLK high-to-low transition. The slave device that receives data  
from HSDC samples the HSD line on the low-to-high transition  
of HSCLK.  
Figure 46 shows the HSDC transfer protocol for HSIZE = 1,  
HGAP = 1, HXFER[1:0] = 01, and HSAPOL = 0. Note that the  
HSDC interface introduces a gap of seven HSCLK cycles between  
every 8-bit word.  
See Table 28 for the HSDC_CFG register and descriptions for  
the HCLK, HSIZE, HGAP, HXFER[1:0], and HSAPOL bits.  
Rev. 0 | Page 34 of 48  
 
Data Sheet  
ADE7816  
Table 11 lists the time that is required to execute an HSDC data transfer for all HSDC_CFG register settings.  
Table 11. Communication Times for Various HSDC Settings  
HXFER[1:0]  
HGAP  
HSIZE1  
HCLK  
Communication Time (μs)  
01  
01  
01  
01  
01  
01  
0
0
1
1
1
1
N/A  
N/A  
0
0
1
0
1
0
1
0
1
28  
56  
33.25  
66.5  
51.625  
103.25  
1
1 N/A means not applicable.  
HSCLK  
31  
0
31  
0
31  
0
31  
0
HSD  
HSA  
IAWV/IDWV (32)  
VWV (32)  
IBWV/IEWV (32)  
0000000 (32)  
Figure 44. HSDC Communication for HGAP = 0, HXFER[1:0] = 01, and HSAPOL = 0; HSIZE Is Irrelevant  
HSCLK  
HSD  
31  
0
31  
0
31  
0
31  
00000000 (32)  
0
IAWV/IDWV (32)  
VWV (32)  
IBWV/IEWV (32)  
7 HSCLK CYCLES  
7 HSCLK CYCLES  
HSA  
Figure 45. HSDC Communication for HSIZE = 0, HGAP = 1, HXFER[1:0] = 01, and HSAPOL = 0  
HSCLK  
31  
24  
23  
16  
15  
8
7
0
IAWV/IDWV (BYTE 3)  
IAWV/IDWV (BYTE 2)  
IAWV/IDWV (BYTE 1)  
00 (BYTE 0)  
HSD  
HSA  
7 HSCLK CYCLES  
7 HSCLK CYCLES  
Figure 46. HSDC Communication for HSIZE = 1, HGAP = 1, HXFER[1:0] = 01, and HSAPOL = 0  
Rev. 0 | Page 35 of 48  
 
 
 
 
 
ADE7816  
Data Sheet  
REGISTERS  
REGISTER PROTECTION  
REGISTER FORMAT  
The ADE7816 includes 8-, 16-, and 32-bit, signed and unsigned  
registers. All signed registers are in twos complement format.  
Some of the internal measurements are 24 bits long and have  
been extended to 32 bits prior to communication. This extension  
is accomplished in three different ways: sign extending (SE), zero  
padding (ZP), or zero padded and sign extended (ZPSE). When  
sign extending is used, the sign bit (Bit 23) of the twos complement  
signed number is duplicated in the uppermost byte prior to  
communication. Zero padding is achieved by writing 0s into the  
upper most byte prior to transmission. This format is used for  
unsigned numbers only. Zero padded and sign extended formats  
are shown in Figure 47 and involve padding the most significant  
bits with 0s and sign extending Bits[27:24].  
To protect the integrity of the data stored in the data memory  
(located at Address 0x4380 to Address 0x43BE), a write protection  
mechanism is available. By default, the protection is disabled,  
and registers that are located between Address 0x4380 and  
Address 0x43BE can be written without restriction. When the  
protection is enabled, no writes to these registers are allowed.  
Registers can always be read, without restriction, independent  
of the write protection state.  
To enable the protection, write 0xAD to an internal 8-bit  
register that is located at Address 0xE7FE, followed by a write  
of 0x80 to an internal 8-bit register located at Address 0xE7E3.  
It is recommended that the write protection be enabled before  
starting the DSP. If any register requires changing after this time,  
disable the protection, change the value, and then reenable the  
protection. There is no need to stop the DSP to change these  
registers.  
31  
28 27  
24 23  
0
0000  
24-BIT NUMBER  
BITS[27:24] ARE  
EQUAL TO BIT 23  
BIT 23 IS A SIGN BIT  
To disable the protection, write 0xAD to an internal 8-bit  
register that is located at Address 0xE7FE, followed by a write of  
0x00 to an internal 8-bit register that is located at Address 0xE7E3.  
Figure 47. ZPSE Communication Format  
The communication format of each register is specified in the  
Register Maps section (see Table 12 through Table 15).  
Rev. 0 | Page 36 of 48  
 
 
 
 
Data Sheet  
ADE7816  
REGISTER MAPS  
Table 12. Calibration and Power Quality Registers  
Register  
Name  
Bit  
Bit Length During  
Default  
Value  
Address  
0x4380  
0x4381  
0x4382  
0x4383  
0x4384  
0x4385  
0x4386  
0x4387  
0x4388  
R/W1  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
Length Communication2 Type 3  
Description  
VGAIN  
24  
24  
24  
24  
24  
24  
24  
24  
24  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
S
S
S
S
S
S
S
S
S
0x000000 Voltage gain adjustment.  
IAGAIN  
IBGAIN  
ICGAIN  
IDGAIN  
IEGAIN  
IFGAIN  
Reserved  
DICOEFF  
0x000000 Current Channel A current gain adjustment.  
0x000000 Current Channel B current gain adjustment.  
0x000000 Current Channel C current gain adjustment.  
0x000000 Current Channel D current gain adjustment.  
0x000000 Current Channel E current gain adjustment.  
0x000000 Current Channel F current gain adjustment.  
0x000000 This register should be ignored.  
0x000000 Register used in the digital integrator algorithm.  
When the integrator is enabled, this register  
should be set to 0xFFF8000.  
0x4389  
0x438A  
0x438B  
0x438C  
0x438D  
0x438E  
0x438F  
0x4390  
0x4391  
0x4392  
0x4393  
0x4394  
0x4395  
0x4396  
0x4397  
0x4398  
0x4399  
0x439A  
0x439B  
0x439C  
0x439D  
0x439E  
0x439F  
0x43A0  
0x43A1  
0x43A2  
0x43A3  
0x43A4  
0x43A5  
0x43A6  
0x43A7  
0x43A8  
0x43A9  
0x43AA  
0x43AB  
HPFDIS  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
0x000000 Disables the high-pass filter for all channels.  
0x000000 Voltage rms offset.  
VRMSOS  
IARMSOS  
IBRMSOS  
ICRMSOS  
IDRMSOS  
IERMSOS  
IFRMSOS  
AWGAIN  
AWATTOS  
BWGAIN  
BWATTOS  
CWGAIN  
CWATTOS  
DWGAIN  
DWATTOS  
EWGAIN  
EWATTOS  
FWGAIN  
FWATTOS  
AVARGAIN  
AVAROS  
BVARGAIN  
BVAROS  
CVARGAIN  
CVAROS  
DVARGAIN  
DVAROS  
EVARGAIN  
EVAROS  
FVARGAIN  
FVAROS  
0x000000 Current Channel A current rms offset.  
0x000000 Current Channel B current rms offset.  
0x000000 Current Channel C current rms offset.  
0x000000 Current Channel D current rms offset.  
0x000000 Current Channel E current rms offset.  
0x000000 Current Channel F current rms offset.  
0x000000 Channel A active power gain adjust.  
0x000000 Channel A active power offset adjust.  
0x000000 Channel B active power gain adjust.  
0x000000 Channel B active power offset adjust.  
0x000000 Channel C active power gain adjust.  
0x000000 Channel C active power offset adjust.  
0x000000 Channel D active power gain adjust  
0x000000 Channel D active power offset adjust.  
0x000000 Channel E active power gain adjust.  
0x000000 Channel E active power offset adjust.  
0x000000 Channel F active power gain adjust.  
0x000000 Channel F active power offset adjust.  
0x000000 Channel A reactive power gain adjust.  
0x000000 Channel A reactive power offset adjust.  
0x000000 Channel B reactive power gain adjust.  
0x000000 Channel B reactive power offset adjust.  
0x000000 Channel C reactive power gain adjust.  
0x000000 Channel C reactive power offset adjust.  
0x000000 Channel D reactive power gain adjust.  
0x000000 Channel D reactive power offset adjust.  
0x000000 Channel E reactive power gain adjust.  
0x000000 Channel E reactive power offset adjust.  
0x000000 Channel F reactive power gain adjust.  
0x000000 Channel F reactive power offset adjust.  
This register should be ignored.  
Reserved  
Reserved  
WTHR1  
This register should be ignored.  
0x000000 Most significant 24 bits of the WTHR[47:0]  
threshold.  
0x000000 Least significant 24 bits of the WTHR[47:0]  
threshold.  
R/W  
R/W  
24  
24  
32 ZP  
32 ZP  
U
U
0x43AC  
WTHR0  
Rev. 0 | Page 37 of 48  
 
 
 
ADE7816  
Data Sheet  
Register  
Name  
Bit  
Bit Length During  
Default  
Value  
Address  
R/W1  
Length Communication2 Type 3  
Description  
0x43AD  
VARTHR1  
R/W  
24  
24  
32 ZP  
32 ZP  
U
U
0x000000 Most significant 24 bits of the VARTHR[47:0]  
threshold.  
0x000000 Least significant 24 bits of the VARTHR[47:0]  
threshold.  
0x43AE  
VARTHR0  
R/W  
0x43AF  
0x43B0  
APNOLOAD  
VARNOLOAD  
RW  
R/W  
24  
24  
32 ZP  
32 ZPSE  
U
S
0x000000 No load threshold in the active power datapath.  
0x000000 No load threshold in the reactive power  
datapath.  
0x43B1  
0x43B2  
0x43B3  
0x43B4  
0x43B5  
0x43B6  
PCF_A_COEFF  
PCF_B_COEFF  
PCF_C_COEFF  
R/W  
R/W  
R/W  
24  
24  
24  
24  
24  
24  
N/A  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
32 ZPSE  
N/A  
U
0x000000 Phase calibration coefficient for Channel A. Set  
to 0x400C4A for a 50 Hz system and 0x401235  
for a 60 Hz system.  
0x000000 Phase calibration coefficient for Channel B. Set  
to 0x400C4A for a 50 Hz system and 0x401235  
for a 60 Hz system.  
0x000000 Phase calibration coefficient for Channel C. Set  
to 0x400C4A for a 50 Hz system and 0x401235  
for a 60 Hz system.  
0x000000 Phase calibration coefficient for Channel D. Set  
to 0x400C4A for a 50 Hz system and 0x401235  
for a 60 Hz system.  
0x000000 Phase calibration coefficient for Channel E. Set to  
0x400C4A for a 50 Hz system and 0x401235 for  
a 60 Hz system.  
0x000000 Phase calibration coefficient for Channel F. Set to  
0x400C4A for a 50 Hz system and 0x401235 for  
a 60 Hz system.  
U
U
PCF_D_COEFF R/W  
U
PCF_E_COEFF  
PCF_F_COEFF  
Reserved  
R/W  
R/W  
N/A  
U
U
0x43B7  
to  
N/A  
0x000000 These registers should be ignored.  
0x43BF  
0x43C0  
0x43C1  
0x43C2  
0x43C3  
0x43C4  
0x43C5  
0x43C6  
VRMS  
R
R
R
R
R
R
R
24  
24  
24  
24  
24  
24  
24  
32 ZP  
32 ZP  
32 ZP  
32 ZP  
32 ZP  
32 ZP  
32 ZP  
S
S
S
S
S
S
S
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
Voltage rms value.  
IARMS  
IBRMS  
ICRMS  
IDRMS  
IERMS  
IFRMS  
Reserved  
Current Channel A current rms value.  
Current Channel B current rms value.  
Current Channel C current rms value.  
Current Channel D current rms value.  
Current Channel E current rms value.  
Current Channel F current rms value.  
These registers should be ignored.  
0x43C7  
to 0x43FF  
1 R is read, and W is write.  
2 For more information, see the Register Format section.  
3 U indicates an unsigned register, and S indicates a signed register in twos complement format.  
Table 13. Run Register  
Register  
Name  
Bit  
Length Communication  
16 16  
Bit Length During  
Default  
Value  
Address  
R/W1  
Type2  
Description  
0xE228  
Run  
R/W  
U
0x0000  
This register starts and stops the DSP.  
1 R is read, and W is write.  
2 U indicates an unsigned register.  
Rev. 0 | Page 38 of 48  
 
Data Sheet  
ADE7816  
Table 14. Billable Registers  
Register  
Name  
Bit  
Length  
Bit Length During  
Communication  
Default  
Value  
Address  
0xE400  
0xE401  
0xE402  
0xE403  
0xE404  
0xE405  
0xE406  
0xE407  
0xE408  
0xE409  
0xE40A  
0xE40B  
R/W1  
R
R
R
R
R
R
R
R
R
R
R
Type 2  
Description  
AWATTHR  
BWATTHR  
CWATTHR  
DWATTHR  
EWATTHR  
FWATTHR  
AVARHR  
BVARHR  
CVARHR  
DVARHR  
EVARHR  
FVARHR  
32  
32  
32  
32  
32  
32  
32  
32  
32  
32  
32  
32  
32  
32  
32  
32  
32  
32  
32  
32  
32  
32  
32  
32  
S
S
S
S
S
S
S
S
S
S
S
S
0x00000000 Channel A active energy accumulation.  
0x00000000 Channel B active energy accumulation.  
0x00000000 Channel C active energy accumulation.  
0x00000000 Channel D active energy accumulation.  
0x00000000 Channel E active energy accumulation.  
0x00000000 Channel F active energy accumulation.  
0x00000000 Channel A reactive energy accumulation.  
0x00000000 Channel B reactive energy accumulation.  
0x00000000 Channel C reactive energy accumulation.  
0x00000000 Channel D reactive energy accumulation.  
0x00000000 Channel E reactive energy accumulation.  
0x00000000 Channel F reactive energy accumulation.  
R
1 R is read, and W is write.  
2 S indicates a signed register in twos complement format.  
Table 15. Configuration and Power Quality Registers  
Register  
Name  
Bit  
Length  
Bit Length During  
Default  
Address  
0xE500  
0xE501  
0xE502  
0xE503  
0xE504  
0xE505  
0xE506  
0xE507  
0xE508  
0xE509  
0xE50A  
0xE50B  
0xE50C  
R/W1  
R
Communication2 Type3  
Value4  
N/A  
Description  
IPEAK  
VPEAK  
32  
32  
32  
32  
20  
20  
20  
24  
24  
24  
32  
32  
24  
32  
32  
32  
32  
32 ZP  
32 ZP  
32 ZP  
32 ZP  
32 ZP  
32 ZP  
32  
U
U
U
U
U
U
U
U
U
U
U
U
S
Current peak register.  
Voltage peak register.  
R
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
0xFFFFFF  
0xFFFFFF  
0x000000  
STATUS0  
STATUS1  
Reserved  
Reserved  
Reserved  
OILVL  
OVLVL  
SAGLVL  
MASK0  
R/W  
R/W  
R
R
R
R/W  
R/W  
R/W  
R/W  
R/W  
R
Interrupt Status Register 0.  
Interrupt Status Register 1.  
This register should be ignored.  
This register should be ignored.  
This register should be ignored.  
Overcurrent threshold.  
Overvoltage threshold.  
Voltage sag level threshold.  
0x00000000 Interrupt Enable Register 0.  
0x00000000 Interrupt Enable Register 1.  
N/A  
N/A  
N/A  
MASK1  
IAWV/IDWV  
32  
32 SE  
Instantaneous Current Channel A and  
Instantaneous Current Channel D.  
Instantaneous Current Channel B and  
Instantaneous Current Channel E.  
Instantaneous Current Channel C and  
Instantaneous Current Channel F.  
0xE50D  
0xE50E  
IBWV/IEWV  
ICWV/IFWV  
R
R
24  
24  
32 SE  
32 SE  
S
S
0xE50F  
0xE510  
0xE511 to  
0xE51E  
Reserved  
VWV  
Reserved  
R
R
R
24  
24  
24  
32 SE  
32 SE  
32 SE  
S
S
S
N/A  
N/A  
N/A  
This register should be ignored.  
Instantaneous voltage.  
This register should be ignored.  
0xE51F  
Checksum  
Reserved  
R
32  
32  
U
0x33666787 Checksum verification (see the Checksum  
section for details).  
0xE520 to  
0xE52E  
These registers should be ignored.  
0xE600  
0xE601  
CHSTATUS  
ANGLE0  
R
R
16  
16  
16  
16  
U
U
N/A  
N/A  
Channel peak register.  
Time Delay 0 (see the Angle  
Measurements section for details).  
0xE602  
0xE603  
ANGLE1  
ANGLE2  
Reserved  
R
R
16  
16  
16  
16  
U
U
N/A  
N/A  
Time Delay 1 (see the Angle  
Measurements section for details).  
Time Delay 2 (see the Angle  
Measurements section for details).  
0xE604 to  
0xE606  
These registers should be ignored.  
Rev. 0 | Page 39 of 48  
 
ADE7816  
Data Sheet  
Register  
Name  
Bit  
Length  
Bit Length During  
Default  
Value4  
Address  
0xE607  
0xE608  
0xE609 to  
0xE60B  
R/W1  
Communication2 Type3  
Description  
Period  
CHNOLOAD  
Reserved  
R
R
16  
16  
16  
16  
U
U
N/A  
N/A  
Line period.  
Channel no load register.  
For proper operation, do not write to  
these addresses.  
0xE60C  
0xE60D  
0xE60E  
0xE60F  
0xE610 to  
0xE616  
LINECYC  
ZXTOUT  
COMPMODE R/W  
Gain  
Reserved  
R/W  
R/W  
16  
16  
16  
16  
16  
16  
16  
16  
U
U
U
U
0xFFFF  
0xFFFF  
0x01FF  
0x0000  
Line cycle accumulation mode count.  
Zero-crossing timeout count.  
Computation mode register.  
PGA gains at ADC inputs (see Table 22).  
This register should be ignored.  
R/W  
0xE617  
0xE618  
0xE700  
0xE701  
0xE702  
0xE703  
0xE704  
0xE705  
0xE706  
0xE707  
0xE7E3  
CHSIGN  
CONFIG  
R
16  
16  
8
8
8
16  
16  
8
8
8
U
U
U
U
U
U
U
N/A  
Power sign register.  
Configuration register.  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
0x0000  
0x1C  
0x00  
0x78  
0x00  
0x00  
MMODE  
ACCMODE  
LCYCMODE  
PEAKCYC  
SAGCYC  
Reserved  
HSDC_CFG  
Version  
Measurement mode register.  
Accumulation mode register.  
Line accumulation mode.  
Peak detection half line cycles.  
Sag detection half line cycles.  
This register should be ignored.  
HSDC configuration register.  
Version of die.  
8
8
8
8
R/W  
R/W  
R/W  
8
8
8
8
8
8
U
U
U
0x00  
0x00  
Reserved  
Register protection (see the Register  
Protection section).  
0xE7FE  
0xEBFF  
Reserved  
Reserved  
Register protection key (see the Register  
Protection section).  
This address can be used in manipulating  
the SS/HSA pin when SPI is chosen as  
the active port (see the Communication  
section for details).  
8
8
8
8
0xEC00  
0xEC01  
Reserved  
CONFIG2  
This register should be ignored.  
Configuration register (see Table 29).  
R/W  
U
0x00  
1 R is read, and W is write.  
2 32 ZP is a 24- or 20-bit, signed or unsigned register that is transmitted as a 32-bit word with 8 or 12 MSBs, respectively, padded with 0s. 32 SE is a 24-bit, signed register  
that is transmitted as a 32-bit word that is sign extended to 32 bits.  
3 U indicates an unsigned register, and S indicates a signed register in twos complement format.  
4 N/A is not applicable.  
REGISTER DESCRIPTIONS  
Table 16. HPFDIS Register (Address 0x4389)  
Bits  
Default Value  
Description  
[23:0]  
0x000000  
When HPFDIS = 0x000000, all high-pass filters in voltage and current channels are enabled.  
When the register is set to any nonzero value, all high-pass filters are disabled.  
Table 17. IPEAK Register (Address 0xE500)  
Bits  
[31:27]  
26  
25  
24  
Bit Name  
Default Value Description  
Reserved  
0x00000  
0x0  
These bits should be ignored.  
IPCHANNEL2  
IPCHANNEL1  
IPCHANNEL0  
IPEAKVAL[23:0]  
The C or F current channel generated the IPEAKVAL[23:0] value.  
The B or E current channel generated the IPEAKVAL[23:0] value.  
The A or D current channel generated the IPEAKVAL[23:0] value.  
Current channel peak value  
0x0  
0x0  
0x0  
[23:0]  
Table 18. VPEAK Register (Address 0xE501)  
Bits  
Bit Name  
Default Value Description  
[31:24]  
[23:0]  
Reserved  
VPEAKVAL[23:0]  
0x00000  
0x0  
These bits should be ignored.  
Voltage channel peak value.  
Rev. 0 | Page 40 of 48  
 
 
Data Sheet  
ADE7816  
Note that Address 0xE502, Address 0xE503, Address 0xE50A, and Address 0xE50B are listed in Table 30 and Table 31.  
Table 19. CHSTATUS Register (Address 0xE600)  
Default  
Bits  
[15:6]  
5
4
3
Bit Name  
Value  
0x000  
0x0  
0x0  
0x0  
Description  
Reserved  
These bits should be ignored.  
OICHANNEL2  
OICHANNEL1  
OICHANNEL0  
Reserved  
The C or F current channel generated the overcurrent event.  
The B or E current channel generated the overcurrent event.  
The A or D current channel generated the overcurrent event.  
Reserved. These bits are always 0.  
[2:0]  
0x000  
Table 20. CHNOLOAD Register (Address 0xE608)  
Default  
Value  
Bits  
[15:6]  
5
Bit Name  
Reserved  
NOLOADF  
Description  
0x0000000 These bits should be ignored.  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0: Channel F is out of the no load condition.  
1: Channel F is in the no load condition.  
0: Channel E is out of the no load condition.  
1: Channel E is in the no load condition.  
0: Channel D is out of the no load condition.  
1: Channel D is in the no load condition.  
0: Channel C is out of the no load condition.  
1: Channel C is in the no load condition.  
0: Channel B is out of the no load condition.  
1: Channel B is in the no load condition.  
0: Channel A is out of the no load condition.  
1: Channel A is in the no load condition.  
4
3
2
1
0
NOLOADE  
NOLOADD  
NOLOADC  
NOLOADB  
NOLOADA  
Table 21. COMPMODE Register (Address 0xE60E)  
Default  
Value  
Bits  
15  
Bit Name  
Description  
Reserved  
0x0  
This bit should be ignored.  
14  
CHANNEL_SEL  
0x0  
0: the A, B, and C current channels are used for the peak, overcurrent, zero crossing, angle, and  
waveform measurements.  
1: the D, E, and F current channels are used for the peak, overcurrent, zero crossing, angle, and  
waveform measurements.  
[13:11] Reserved  
0x0  
These bits should be ignored.  
[10:9]  
ANGLESEL  
0x00  
00: the time delays between the voltage and currents are measured.  
01: reserved.  
10: the angles between current channels are measured.  
11: no angles are measured.  
[8:0]  
Reserved  
0x1FF  
These bits should be ignored and not modified.  
Table 22. Gain Register (Address 0xE60F)  
Default  
Value  
Bits  
Bit Name  
Reserved  
PGA3[2:0]  
Description  
[15:9]  
[8:6]  
0x0000000 These bits should be ignored.  
0x000 Gain selection for the D, E, and F current channels.  
000: gain = 1.  
001: gain = 2.  
010: gain = 4.  
011: gain = 8.  
100: gain = 16.  
101, 110, 111: reserved.  
Rev. 0| Page 41 of 48  
 
ADE7816  
Data Sheet  
Default  
Value  
Bits  
Bit Name  
Description  
[5:3]  
PGA2[2:0]  
0x000  
Voltage channel gain selection.  
000: gain = 1  
001: gain = 2.  
010: gain = 4.  
011: gain = 8.  
100: gain = 16.  
101, 110, 111: reserved.  
Gain selection for the A, B, and C current channels.  
000: gain = 1.  
[2:0]  
PGA1[2:0]  
0x000  
001: gain = 2.  
010: gain = 4.  
011: gain = 8.  
100: gain = 16.  
101, 110, 111: reserved.  
Table 23. CHSIGN Register (Address 0xE617)  
Default  
Value  
Bits  
[15:7]  
6
Bit Name  
Reserved  
VAR3SIGN  
Description  
0x0000000 These bits should be ignored.  
0x0  
0x0  
0x0  
0: the reactive power on the C or F channel is positive.  
1: the reactive power on the C or F channel is negative.  
0: the reactive power on the B or E channel is positive.  
1: the reactive power on the B or E channel is negative.  
0: the reactive power on the A or D channel is positive.  
1: the reactive power on the A or D channel is negative.  
This bit should be ignored.  
5
4
VAR2SIGN  
VAR1SIGN  
3
2
Reserved  
W3SIGN  
0x0  
0x0  
0: the active power on the C or F channel is positive.  
1: the active power on the C or F channel is negative.  
0: the active power on the B or E channel is positive.  
1: the active power on the B or E channel is negative.  
0: the active power on the A or D channel is positive.  
1: the active power on the A or D channel is negative.  
1
0
W2SIGN  
W1SIGN  
0x0  
0x0  
Table 24. CONFIG Register (Address 0xE618)  
Default  
Value  
Bits  
[15:8]  
7
Bit Name  
Reserved  
SWRST  
Description  
0x0  
These bits should be ignored.  
Initiates a software reset.  
Enables the HSDC serial port.  
These bits should be ignored.  
Enables the digital integrator.  
0x0  
6
HSDCEN  
Reserved  
INTEN  
0x0  
[5:1]  
0
0x0  
0x0  
Table 25. MMODE Register (Address 0xE700)  
Default  
Bits  
[7:5]  
4
Bit Name  
Reserved  
PEAKSEL2  
PEAKSEL1  
PEAKSEL0  
Reserved  
Value  
0x000  
0x1  
Description  
These bits should be ignored.  
The C or F current channel is selected for peak detection.  
The B or E current channel is selected for peak detection.  
The A or D current channel is selected for peak detection.  
These bits should be ignored.  
3
0x1  
2
0x1  
[1:0]  
0x00  
Rev. 0 | Page 42 of 48  
Data Sheet  
ADE7816  
Table 26. ACCMODE Register (Address 0xE701)  
Default  
Value  
Bits  
Bit Name  
Description  
7
REVRPSEL  
0x0  
0: the sign of the reactive power is monitored on the A, B, and C channels.  
1: the sign of the reactive power is monitored on the D, E, and F channels.  
6
REVAPSEL  
0x0  
0: the sign of the active power is monitored on the A, B, and C channels.  
1: the sign of the active power is monitored on the D, E, and F channels.  
[5:4]  
[3:2]  
Reserved  
0x00  
0x00  
These bits should be ignored and not modified.  
VARACC[1:0]  
00: signed accumulation for all reactive power measurements.  
01: reserved.  
10: reserved.  
11: reserved.  
[1:0]  
WATTACC[1:0]  
0x00  
00: signed accumulation for all active power measurements.  
01: reserved.  
10: reserved.  
11: reserved.  
Table 27. LCYCMODE Register (Address 0xE702)  
Default  
Value  
Bits  
7
Bit Name  
Reserved  
RSTREAD  
Description  
0x0  
Reserved. This bit does not control any functionality.  
6
0x1  
Enables read-with-reset for all energy registers. Note that this bit has no function in line cycle  
accumulation mode and should be set to 0 when this mode is in use.  
[5:4]  
Reserved  
ZX_SEL  
Reserved  
LVAR  
0x0  
0x0  
0x0  
0x0  
0x0  
These bits should be ignored.  
3
2
1
0
Enables the voltage channel zero-crossing counter for line cycle accumulation mode.  
These bits should be ignored.  
Enables the reactive energy line cycle accumulation mode.  
Enables the active energy line cycle accumulation mode.  
LWATT  
Table 28. HSDC_CFG Register (Address 0xE706)  
Default  
Bits  
[7:6]  
5
Bit Name  
Reserved  
HSAPOL  
Value  
0x00  
0x0  
Description  
These bits should be ignored.  
0: SS/HSA output pin is active low (default).  
1: SS/HSA output pin is active high.  
[4:3]  
HXFER[1:0]  
0x00  
00 = reserved.  
01 = HSDC transmits current and voltage waveform data.  
10 = reserved.  
11 = reserved.  
2
1
0
HGAP  
HSIZE  
HCLK  
0x0  
0x0  
0x0  
0: no gap is introduced between packages (default).  
1: a gap of seven HCLK cycles is introduced between packages.  
0: HSDC transmits the 32-bit registers in 32-bit packages, most significant bit first (default).  
1: HSDC transmits the 32-bit registers in 8-bit packages, most significant bit first.  
0: HSCLK = 8 MHz (default).  
1: HSCLK = 4 MHz.  
Table 29. CONFIG2 Register (Address 0xEC01)  
Default  
Value  
Bits  
[7:2]  
1
Bit Name  
Reserved  
I2C_LOCK  
EXTREFEN  
Description  
0x0  
These bits should be ignored.  
Serial port lock.  
0x0  
0
0x0  
Set to 1 to use with an external reference.  
Rev. 0| Page 43 of 48  
 
 
ADE7816  
Data Sheet  
Interrupt Enable and Interrupt Status Registers  
Table 30. STATUS0 Register (Address 0xE502) and MASK0 Register (Address 0xE50A)  
Bits  
Bit Name Default Value  
Description  
[31:18] Reserved  
0 0000 0000 0000  
These bits should be ignored.  
17  
16  
15  
14  
13  
12  
11  
10  
9
DREADY  
Reserved  
Reserved  
Reserved  
Reserved  
REVRP3  
REVRP2  
REVRP1  
Reserved  
REVAP3  
REVAP2  
REVAP1  
LENERGY  
Reserved  
REHF2  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
New waveform data is ready.  
This bit should be ignored.  
This bit should be ignored.  
This bit should be ignored.  
This bit should be ignored.  
The sign of the reactive power has changed (C or F channel).  
The sign of the reactive power has changed (B or E channel).  
The sign of the reactive power has changed (A or D channel).  
This bit should be ignored.  
8
The sign of the active power has changed (C or F channel).  
The sign of the active power has changed (B or E channel).  
The sign of the active power has changed (A or D channel).  
The end of a line cycle accumulation period.  
This bit should be ignored.  
7
6
5
4
3
The active energy register is half full (D, E, or F channel).  
The reactive energy register is half full (A, B, or C channel).  
The active energy register is half full (D, E, or F channel)  
The active energy register is half full (A, B, or C channel).  
2
REHF1  
1
AEHF2  
0
AEHF1  
Table 31. STATUS1 Register (Address 0xE503) and MASK1 Register (Address 0xE50B)  
Bits  
Bit Name Default Value  
Description  
[31:25] Reserved  
0x0000000  
0x0  
These bits should be ignored.  
24  
23  
22  
21  
20  
19  
18  
17  
16  
15  
14  
13  
12  
11  
10  
9
PKV  
The end of the voltage channel peak detection period.  
The end of the current channel peak detection period.  
This bit should be ignored.  
PKI  
0x0  
Reserved  
Reserved  
Reserved  
Reserved  
OV  
0x0  
0x1  
This bit should be ignored.  
0x0  
This bit should be ignored.  
0x0  
This bit should be ignored.  
0x0  
An overvoltage event has occurred.  
An overcurrent event has occurred.  
A sag event has occurred.  
OI  
0x0  
Sag  
0x0  
RSTDONE 0x1  
The end of a software or hardware reset.  
C or F current channel zero crossing.  
B or E current channel zero crossing.  
A or D current channel zero crossing.  
This bit should be ignored.  
ZXI3  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
0x0  
ZXI2  
ZXI1  
Reserved  
Reserved  
ZXV  
This bit should be ignored.  
Voltage channel zero crossing.  
8
ZXTOI3  
ZXTOI2  
ZXTOI1  
Reserved  
Reserved  
ZXTOV  
Reserved  
NLOAD2  
NLOAD1  
A zero crossing on the C or F current channel is missing.  
A zero crossing on the B or E current channel is missing.  
A zero crossing on the A or D current channel is missing.  
This bit should be ignored.  
7
6
5
4
This bit should be ignored.  
3
A zero crossing on the voltage channel is missing.  
This bit should be ignored.  
2
1
Active and reactive no load condition on the D, E, or F current channel.  
Active and reactive no load condition on the A, B, or C current channel.  
0
Rev. 0 | Page 44 of 48  
 
 
Data Sheet  
ADE7816  
OUTLINE DIMENSIONS  
6.10  
6.00 SQ  
5.90  
0.30  
0.23  
0.18  
PIN 1  
INDICATOR  
PIN 1  
INDICATOR  
31  
30  
40  
1
0.50  
BSC  
4.45  
4.30 SQ  
4.25  
EXPOSED  
PAD  
21  
20  
10  
11  
0.45  
0.40  
0.35  
0.25 MIN  
TOP VIEW  
BOTTOM VIEW  
FOR PROPER CONNECTION OF  
THE EXPOSED PAD, REFER TO  
THE PIN CONFIGURATION AND  
FUNCTION DESCRIPTIONS  
0.80  
0.75  
0.70  
0.05 MAX  
0.02 NOM  
SECTION OF THIS DATA SHEET.  
COPLANARITY  
0.08  
0.20 REF  
SEATING  
PLANE  
COMPLIANT TO JEDEC STANDARDS MO-220-WJJD.  
Figure 48. 40-Lead Lead Frame Chip Scale Package [LFCSP_WQ]  
6 mm × 6 mm Body, Very Very Thin Quad  
(CP-40-10)  
Dimensions shown in millimeters  
ORDERING GUIDE  
Model1  
Temperature Range  
Package Description  
40-Lead LFCSP_WQ  
40-Lead LFCSP_WQ  
Evaluation Board  
Package Option  
ADE7816ACPZ  
ADE7816ACPZ-RL  
EVAL-ADE7816EBZ  
−40°C to +85°C  
−40°C to +85°C  
CP-40-10  
CP-40-10  
1 Z = RoHS Compliant Part.  
Rev. 0| Page 45 of 48  
 
 
ADE7816  
NOTES  
Data Sheet  
Rev. 0 | Page 46 of 48  
Data Sheet  
NOTES  
ADE7816  
Rev. 0| Page 47 of 48  
ADE7816  
NOTES  
Data Sheet  
I2C refers to a communications protocol originally developed by Philips Semiconductors (now NXP Semiconductors).  
©2012 Analog Devices, Inc. All rights reserved. Trademarks and  
registered trademarks are the property of their respective owners.  
D10390-0-2/12(0)  
Rev. 0 | Page 48 of 48  
 
 
 
 
 
 
 
 

相关型号:

ADE7816ACPZ

Six Current Channels, One Voltage Channel
ADI

ADE7816ACPZ-RL

Six Current Channels, One Voltage Channel
ADI

ADE7854AACPZ

Polyphase Multifunction Energy Metering IC
ADI

ADE7854AACPZ-RL

Polyphase Multifunction Energy Metering IC
ADI

ADE7854ACPZ

Polyphase Multifunction Energy Metering IC
ADI

ADE7854ACPZ-RL

Polyphase Multifunction Energy Metering IC
ADI

ADE7858

Poly Phase Multifunction Energy Metering IC with per Phase Active and Reactive Powers
ADI

ADE7858AACPZ

Polyphase Multifunction Energy Metering IC With Per Phase Active And Reactive Powers
ADI

ADE7858AACPZ-RL

Polyphase Multifunction Energy Metering IC With Per Phase Active And Reactive Powers
ADI

ADE7858ACPZ

Poly Phase Multifunction Energy Metering IC with per Phase Active and Reactive Powers
ADI

ADE7858ACPZ

SPECIALTY ANALOG CIRCUIT, QCC40, 6 X 6 MM, ROHS COMPLIANT, MO-220WJJD, LFCSP-40
ROCHESTER

ADE7858ACPZ-REF

Poly Phase Multifunction Energy Metering IC with per Phase Active and Reactive Powers
ADI