OneTechnologyWay•P. O. Box9106•Norwood,MA02062-9106,U.S.A.•Tel:781.329.4700•Fax:781.461.3113• www.analog.com
Differences Between the ADE7880 and the ADE7878
by Petre Minciunescu
INTRODUCTION
This application note describes the differences between the
ADE7878 and the ADE7880. It discusses the hardware and
software differences and provides a header file for the
ADE7880.
HARDWARE DIFFERENCES
The ADE7880 is pin-for-pin compatible with the ADE7878.
New Antialiasing Filters
However, because the ADC bandwidth has been increased from
2 kHz (−3 dB point) to 3.3 kHz (−3 dB point), the antialiasing
filters used in the input datapath of the ADCs has to be changed.
Previously, on the ADE7878 evaluation board, a 1 kΩ/22 nF
(7.2 kHz corner) antialiasing filter was used. A 1 kΩ/10 nF
(15.9 kHz corner) antialiasing filter is used on the ADE7880
evaluation board.
NEUTRAL CURRENT MAY USE DIFFERENT SENSOR
THAN PHASE CURRENTS
The neutral current may be sensed using a different sensor type
than the phase currents. For example, the phase currents may
be sensed with Rogowski coils and the neutral current may be
sensed with current transformers (CTs), or vice versa.
Use Bit 0 (INTEN) in the CONFIG register of the ADE7880 to
enable/disable the integrators in the phase current channels.
Use Bit 3 (ININTEN) in the CONFIG3 register of the ADE7880 to
enable/disable the integrator in the neutral current channel.
The definition of the gain register at Address 0xE60F in the
The register map has changed. Many of the ADE7878 registers
now have new addresses. The ADE7880 has additional registers
because of the new harmonic calculations. The register information
is found in the Appendix: ADE7880.H Header File section.
ADE7880 Does Not Compute the Total Reactive Power
and the Total Reactive Energy
The ADE7878 computes the total and fundamental reactive
powers/energies. The ADE7880 computes only the fundamental
reactive power/energy.
The ADE7878 stores the instantaneous values of the phase total
reactive powers into AVAR, BVAR, and CVAR registers. These
registers have been eliminated.
The ADE7878 HSDC port transmits the phase total reactive powers
when Bits[4:3] (HXFER) in the HSDC_CFG register have been
set to 10. Instead, the ADE7880 transmits the fundamental reactive
powers when the HXFER bits have been set to 10. The ADE7880
phase fundamental reactive power registers, AFVAR, BFVAR
and CFVAR, are not mapped with an address in the register
space and can be accessed only through the HSDC port.
xPGAIN Registers Replaced the xWGAIN, xVARGAIN,
xVAGAIN Registers (x = A, B, C)
In the ADE7878, the gain registers in the active, reactive, and
apparent powers datapaths were AWGAIN, BWGAIN, CWGAIN,
AVARGAIN, BVARGAIN, CVARGAIN, AVAGAIN, BVAGAIN,
and CVAGAIN. The recommendation was to use the same
values to initialize them on each phase.
In the ADE7880, the APGAIN, BPGAIN, and CPGAIN registers
replace the xWGAIN, xVARGAIN, and xVAGAIN on each phase.
APGAIN manages all the power gains on Phase A, BPGAIN
manages all the power gains on Phase B, and CPGAIN manages
all the power gains on Phase C.
The WTHR, VARTHR, and VATHR Register Definitions
Changed
In the ADE7878, the WTHR, VARTHR, and VATHR, 48-bit
registers are defined as
where:
PMAX = 33,516,139 = 0x1FF6A6B as the instantaneous power
computed when the ADC inputs are at full scale.
f
= 8 kHz, the frequency with which the DSP computes the
S
instantaneous power.
n is an integer that determines what derivative of wh [10
desired as one LSB of the xWATTHR/xVARHR/xVAHR registers.
U
and IFS are the rms values of phase voltages and currents
FS
when the ADC inputs are at full scale.
n
wh] is
Rev. A | Page 3 of 8
In the ADE7880, the WTHR, VARTHR, and VATHR are now
8-bit unsigned registers and are defined as
where:
PMAX = 27,059,678 = 0x19CE5DE as the instantaneous power
computed when the ADC inputs are at full scale.
f
= 1.024 MHz, the frequency at which every instantaneous
S
power computed by the DSP at 8 kHz is accumulated.
n is an integer that determines what derivative of wh [10
n
wh] is
desired as one LSB of the xWATTHR/xVARHR/xVAHR registers.
U
and IFS are the rms values of phase voltages and currents
FS
when the ADC inputs are at full scale.
No Load Management Changed for the Total Active/
Reactive and the Fundamental Active/Reactive Powers
In the ADE7880, the no load condition for the total active/reactive
powers and the fundamental active/reactive powers has changed.
See the ADE7880data sheet for more information.
HPF Managed by Bit 0 (HPFEN) in the CONFIG3 Register
(ADE7880)
In the ADE7878, the high-pass filters (HPFs) used in the current
and voltage channels datapaths are managed by the HPFDIS
24-bit register. If the register is 0, its default value, the HPFs are
enabled. If the register is initialized with a nonzero value, the HPFs
are disabled.
In the ADE7880, the HPFs are managed by Bit 0 (HPFEN) in
the CONFIG3 register. If HPFEN is 0, the HPFs are disabled.
If HPFEN is 1, its default value, the HPFs are enabled.
ADE7880 Computes RMS Value of the Sum of the Phase
Currents
The ADE7878 and the ADE7880 compute the instantaneous
value of the sum of the phase currents and store it into the ISUM
register. The ADE7878 does not compute the rms of ISUM.
The ADE7880 computes the rms of ISUM and stores it into the
NIRMS register if Bit 2 (INSEL) of the CONFIG3 register (see
the ADE7880 data sheet) is set to 1. If INSEL is 0, its default
value, the NIRMS register contains the rms of the neutral
current sensed at the INP and INN pins.
ADE7880 Computes RMS of Third Voltage in 3P3W
Configurations
In 3P3W configurations (when the CONSEL bits in the
ACCMODE register are set to 01), only Phase A and Phase C
are sensed using Phase B as reference. Both the ADE7878 and
the ADE7880 compute the rms values of the line voltages between
Phase A and Phase B and between Phase C and Phase B and store
them into the AVRMS and CVRMS registers. The ADE7880
computes the rms values of the line voltage between Phase A
and Phase C and stores them into the BVRMS register.
Page 4
AN-1127 Application Note
00
Signed accumulation.
Same as energy registers
01
Positive only accumulation.
Signed accumulation
11
Absolute accumulation.
Signed accumulation
ADE7880 May Compute Smoother Instantaneous Active
Powers
Bit 1 (LPFSEL) in CONFIG3 register manages the settling time
of the total active power calculations in the ADE7880. If LPFSEL is
cleared to 0, its default value, the settling time is 650 ms. If LPFSEL
is set to 1, the settling time is 1300 ms, providing for smoother
instantaneous total active power.
ADE7880 Introduces Communication Verification
Registers
The ADE7880 includes a set of three registers that allow any
communication via I
2
C or SPI to be verified. The LAST_OP,
LAST_ADD, and LAST_RWDATA registers record the nature,
address, and data of the last successful communication,
respectively.
ADE7880 Improves CHECKSUM Calculations
In the ADE7878, the CHECKSUM calculations cover 13
configuration registers and 6 internal registers.
In the ADE7880, the CHECKSUM calculations cover 13
configuration registers, all registers located in the DSP data
memory RAM between Address 0x4380 and Address 0x43BE
and 8 internal registers. In addition, every time a register is
written or changes value inadvertently, Bit 25 (CRC) in the
STATUS1 register is set to 1. If Bit 25 (CRC) in the MASK1
register is set to 1, the
IRQ1
interrupt pin is driven low.
Energy Accumulation Modes and Energy-to-Frequency
Conversion Modes Changed
In the ADE7878, the energy-to-frequency converter generates
pulses at Pin CF1, Pin CF2, and Pin CF3/HSCLK function of
Bits[1:0] (WATTACC) and Bits[3:2] (VARACC) in the ACCMODE
register. The instantaneous powers are always signed accumulated
in the energy registers independent of the state of the WA T TAC C
and VARACC bits.
In the ADE7880, the modes determined by the WAT TA CC and
VARACC bits in the ACCMODE register have changed (see
Table 1 and Tab le 2). The instantaneous powers are now
accumulated into the energy registers based on their state.
The energy-to-frequency converter generates pulses at the
CF1, CF2/HREADY, and CF3/HSCLK pins also based on the
WATTACC and VARACC bits, with one exception. When
the instantaneous total and fundamental active powers are
accumulated in positive only mode (WATTACC = 01), the
energy-to-frequency converter still generates the pulses in
signed accumulation mode.
Identifying the ADE7880 and ADE7878 when the Same
Board Can Accommodate Both of Them
The CONFIG register for both the ADE7880 and the ADE7878
is located at the same address, Address 0xE618. The default
value is 0x0 for the ADE7878 and 0x2 for the ADE7880.
To identify if the ADE7878 or the ADE7880 is mounted on the
board read Address 0xE618 after power up. If the value is 0x0, the
ADE7878 is mounted. If the value is 0x2, the ADE7880 is mounted.
Table 1. Total Active Power Accumulation Mode and Fundamental Active Power Accumulation Mode
WATTACC Bits (Bits[1:0] in
the ACCMODE Register) Total/Fundamental Active Energy Registers Accumulation Modes CF Pulse Generation Modes
10 (reserved) The ADE7880 behaves like WATTACC Bits[1:0] = 00. Same as energy registers
11 Absolute accumulation. Same as energy registers
Table 2. Fundamental Reactive Power Accumulation Modes
VAR ACC Bits (Bits[3:2] in
ACCMODE Register) Fundamental Reactive Energy Registers Accumulation Modes CF Pulse Generation Modes
00 Signed accumulation. Same as energy registers
01 (Reserved) The ADE7880 behaves like VARACC Bits[1:0] = 00. Same as energy registers
10 The fundamental reactive power is accumulated depending on the sign of
the fundamental active power. If the active power is positive, the reactive
power is accumulated as is, whereas if the active power is negative, the
reactive power is accumulated with reversed sign.