
ADE7854/ADE7858/ADE7868/ADE7878
Rev. E | Page 44 of 96
Voltage RMS Offset Compensation
The ADE78xx incorporates voltage rms offset compensation
registers for each phase: AVRMSOS, BVRMSOS, and CVRMSOS.
These are 24-bit signed registers used to remove offsets in the
voltage rms calculations. An offset can exist in the rms calculation
due to input noises that are integrated in the dc component of
V2(t). The voltage rms offset compensation register is added to the
squared voltage rms before the square root is executed. Assuming
that the maximum value from the voltage rms calculation is
4,191,400 with full-scale ac inputs (50 Hz), one LSB of the current
rms offset represents 0.00037% ((
128
4191
2
+
/4191 1) × 100)
of the rms measurement at 60 dB down from full scale. Conduct
offset calibration at low current; avoid using voltages equal to zero
for this purpose.
VRMSOS
rms
V
rms
V
×
+
=
128
2
0
(15)
where V rms0 is the rms measurement without offset correction.
serial ports of the ADE78xx work on 32-, 16-, or 8-bit words
and the DSP works on 28 bits. Similar to registers presented in
Figure 33, the AVRMSOS, BVRMSOS, and CVRMSOS 24-bit
registers are accessed as 32-bit registers with the four most
significant bits padded with 0s and sign extended to 28 bits.
ACTIVE POWER CALCULATION
The ADE7854/ADE7858/ADE7868/ADE7878 compute the
total active power on every phase. Total active power considers
in its calculation all fundamental and harmonic components of
the voltages and currents. In addition, the ADE7878 computes
the fundamental active power, the power determined only by
the fundamental components of the voltages and currents.
Total Active Power Calculation
Electrical power is defined as the rate of energy flow from source
to load, and it is given by the product of the voltage and current
waveforms. The resulting waveform is called the instantaneous
power signal, and it is equal to the rate of energy flow at every
instant of time. The unit of power is the watt or joules/sec. If an
ac system is supplied by a voltage, v(t), and consumes the current,
i(t), and each of them contains harmonics, then
sin
2
)
(
1
∑
∞
=
k
V
t
v
(
kωt + φk)
(16)
()
k
γ
t
ω
k
I
t
i
+
=
∑
∞
=
sin
2
)
(
1
where:
Vk, Ik are rms voltage and current, respectively, of each
harmonic.
φk, γk are the phase delays of each harmonic.
The instantaneous power in an ac system is
p(t) = v(t) × i(t) =
cos(
φk – γk)
cos(2
kωt + φk + γk) +
{cos[(
k m)ωt + φk – γm] – cos[(k + m)ωt + φk + γm]}
∑
∞
=1
k
k I
V
∑
∞
=1
k
k I
V
∑
∞
≠
=
m
k
m
k
m
k I
V
1
,
(17)
The average power over an integral number of line cycles (n) is
given by the expression in Equation 18.
P =
()
∑
∫
∞
=
1
0
1
k
nT
I
V
dt
t
p
nT
cos(
φk – γk)
(18)
where:
T is the line cycle period.
P is referred to as the total active or total real power.
Note that the total active power is equal to the dc component of
the instantaneous power signal p(t) in Equation 17, that is,
∑
∞
=1
k
k I
V
cos(
φk – γk)
This is the expression used to calculate the total active power in
the ADE78xx for each phase. The expression of fundamental active
power is obtained from Equation 18 with k = 1, as follows:
FP = V1I1 cos(φ1 – γ1)
(19)
Figure 59 shows how the ADE78xx computes the total active
power on each phase. First, it multiplies the current and voltage
signals in each phase. Next, it extracts the dc component of the
instantaneous power signal in each phase (A, B, and C) using
LPF2, the low-pass filter.
AVGAIN
HPFDIS
[23:0]
HPF
LPF
AIGAIN
HPFDIS
[23:0]
DIGITAL
INTEGRATOR
HPF
VA
IA
AWGAIN
AWATTOS
AWATT
24
APHCAL
INSTANTANEOUS
PHASE A ACTIVE
POWER
08
51
0-
1
45
DIGITAL SIGNAL PROCESSOR
Figure 59. Total Active Power Datapath