Datasheet

ADE7854/ADE7858/ADE7868/ADE7878 Data Sheet
Rev. G | Page 58 of 100
Apparent Power Gain Calibration
The average apparent power result in each phase can be scaled
by ±100% by writing to one of the phases VAGAIN 24-bit registers
(AVAGAIN, BVAGAIN, or CVAG AIN). The VAGAIN registers
are twos complement, signed registers and have a resolution of
2
23
/LSB. The function of the xVAGAIN registers is expressed
mathematically as
+
××
=
23
2
1
RegisterVAGAIN
rmsIrmsV
PowerApparent
Average
(41)
The output is scaled by 50% by writing 0xC00000 to the
xVAGA IN registers, and it is increased by +50% by writing
0x400000 to them. These registers calibrate the apparent power
(or energy) calculation in the ADE7854/ADE7858/ADE7868/
ADE7878 for each phase.
As previously stated in the Current Waveform Gain Registers
section, the 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 35, the AVAGAIN, BVAGAIN, and CVAGAIN 24-bit
registers are accessed as 32-bit registers with the four MSBs
padded with 0s and sign extended to 28 bits.
Apparent Power Offset Calibration
Each rms measurement includes an offset compensation register
to calibrate and eliminate the dc component in the rms value
(see the Root Mean Square Measurement section). The voltage
and current rms values are multiplied together in the apparent
power signal processing. As no additional offsets are created in
the multiplication of the rms values, there is no specific offset
compensation in the apparent power signal processing. The offset
compensation of the apparent power measurement in each phase is
accomplished by calibrating each individual rms measurement.
Apparent Power Calculation Using VNOM
The ADE7854/ADE7858/ADE7868/ADE7878 can compute the
apparent power by multiplying the phase rms current by an rms
voltage introduced externally in the VNOM 24-bit signed register.
When one of Bits[13:11] (VNOMCEN, VNOMBEN, or
VNOMAEN) in the COMPMODE register is set to 1, the
apparent power in the corresponding phase (Phase x for
VNOMxEN) is computed in this way. When the VNOMxEN
bits are cleared to 0, the default value, then the arithmetic
apparent power is computed.
The VNOM register contains a number determined by V, the
desired rms voltage, and V
FS
, the rms value of the phase voltage
when the ADC inputs are at full scale:
910,191,4×=
FS
V
V
VNOM
(42)
where V is the desired nominal phase rms voltage.
As stated in the Current Waveform Gain Registers, the serial
ports of the ADE78xx work on 32-, 16-, or 8-bit words. Similar
to the register presented in Figure 36, the VNOM 24-bit signed
register is accessed as a 32-bit register with the eight MSBs
padded with 0s.
Apparent Energy Calculation
Apparent energy is defined as the integral of apparent power.
Apparent Energy = ∫s(t)dt (43)
Similar to active and reactive powers, the ADE7854/ADE7858/
ADE7868/ADE7878 achieve the integration of the apparent power
signal in two stages (see Figure 73). The first stage is conducted
inside the DSP: every 125 µs (8 kHz frequency), the instanta-
neous phase apparent power is accumulated into an internal
register. When a threshold is reached, a pulse is generated at the
processor port and the threshold is subtracted from the internal
register. The second stage is conducted outside the DSP and
consists of accumulating the pulses generated by the processor
into internal 32-bit accumulation registers. The content of these
registers is transferred to the VA-hour registers, x VA H R , when
these registers are accessed. Figure 68 from the Active Energy
Calculation section illustrates this process. The VATHR 48-bit
register contains the threshold. Its value depends on how much
energy is assigned to one LSB of the VA-hour registers. When a
derivative of apparent energy (VAh ) of [10
n
VAh ], where n is an
integer, is desired as one LSB of the xVAH R register; then, the
xVATHR register can be computed using the following equation:
FSFS
n
s
IV
fPMAX
VATHR
×
×
××
=
103600
where:
PMAX = 33,516,139 = 0x1FF6A6B, the instantaneous power
computed when the ADC inputs are at full scale.
f
S
= 8 kHz, the frequency with which the DSP computes the
instantaneous power.
V
FS
, I
FS
are the rms values of phase voltages and currents when
the ADC inputs are at full scale.
VATH R i s a 48-bit register. As previously stated in the Current
Waveform Gain Registers section, the serial ports of the ADE7854/
ADE7858/ADE7868/ADE7878 work on 32-, 16-, or 8-bit words.
Similar to the WTHR register presented in Figure 69, the VATH R
register is accessed as two 32-bit registers (VATHR1 and VATHR0),
each having eight MSBs padded with 0s.
This discrete time accumulation or summation is equivalent to
integration in continuous time following the description in
Equation 44.
( )
( )
×==
=
0
0T
Lim
n
TnTsdttsergyApparentEn
(44)
where:
n is the discrete time sample number.
T is the sample period.