ADE9000 Technical Reference Manual
For example, with the MTEN bit in the CONFIG0 register equal
to zero, for single-point gain compensation and AIGAIN,
AVGAIN, APGAIN, and AWATTOS all equal to zero, the
Phase A total active energy has a digital gain of 1. Then, the
Phase A total active energy accumulated in the user accessible
accumulator overflows in 106.4 sec with the nominal full-scale
AWATT value of 20,694,066.
Maximum
Internal
Energy
44
2
=
×
20,694,066
8000
Accessing the User Energy Registers
Each 45-bit user accessible signed energy accumulator is
divided into two registers: a register containing the 32 most
significant bits, xHR_HI, and a register containing the 13 least
significant bits, xHR_LO, as shown in Figure 24.
f
DSP
+
AWATTHR_HI
31
0
31
Figure 24. Internal Energy Register to AWATTHR_HI and AWATTHR_LO
The expected user energy accumulation can be calculated
according to this formula based on the average AWATT value.
USER_ENERGY_ACCUMULATION
= AWATT × (EGY_TIME + 1)
Then, AWATTHR_HI contains the 32 most significant bits,
which can be calculated by rounding the following equation
down to the nearest whole number:
AWATTHR_HI
= ROUNDDOWN(USER_ENERGY_ACCUMULATION × 2
The 13 LSBs of USER_ENERGY_ACCUMULATION are stored
in the AWATTHR_LO register.
Read User Energy Register with Reset
If the RD_RST_EN bit is set in the EP_CFG register, its contents
are reset when a user accessible energy register is read.
For example, if AWATTHR_HI is read, the AWATTHR_HI register
value goes to zero. The AWATTHR_LO register contents are
not modified.
User Energy Register Use Models
There are three main use models for energy accumulation:
•
Read energy register with reset
•
Accumulate energy over a defined number of line cycles
•
Accumulate energy over a defined number of samples
Accumulato
r
Time
(sec)
=
106
3 .
sec
INTERNAL ENERGY ACCUMULATOR
12
0
AWATTHR_LO
To read energy register with reset, use the following settings:
•
Configuration register settings:
•
EP_CFG register, EGY_LD_ACCUM bit = 0.
•
EP_CFG register, EGY_TMR_MODE bit = 0.
•
EP_CFG register, RD_RST_EN bit = 1.
•
EP_CFG register, EGY_PWR_EN bit = 1.
•
EGY_TIME register = 1.
•
Output: read just the xHR_HI register, which has enough
resolution for most applications. The xHR_LO register is
maintained and accumulated and does not need to be read
by the user.
•
Maximum time before reading xHR_HI to prevent
overflow with full-scale inputs: 106 sec.
To accumulate energy over a defined number of half line cycles,
use the following settings:
•
Configuration register settings:
•
EP_CFG register, EGY_LD_ACCUM bit = 1.
•
EP_CFG register, EGY_TMR_MODE bit = 1.
•
EP_CFG register, RD_RST_EN bit = 0.
•
EP_CFG register, EGY_PWR_EN bit = 1.
•
EGY_TIME register = desired number of half line
cycles.
•
Output:
•
The xHR_HI register has enough resolution for most
applications.
•
To maintain perfect synchronization with CF pulse
output, the xHR_LO register must be read as well,
because it is cleared at every EGYRDY cycle.
•
Maximum time before reading xHR_HI to prevent
overflow with full-scale inputs: 13.3 sec.
To accumulate energy over a defined number of samples, use
the following settings:
•
Configuration register settings:
−13
)
•
EP_CFG register, EGY_LD_ACCUM bit = 1
•
EP_CFG register, EGY_TMR_MODE bit = 0
•
EP_CFG register, RD_RST_EN bit = 0
•
EP_CFG register, EGY_PWR_EN bit = 1
•
EGY_TIME register = desired number of samples
•
Output:
•
The xHR_HI register has enough resolution for most
applications.
•
To maintain perfect synchronization with CF pulse
output, the xHR_LO register must be read as well,
because it is cleared at every EGYRDY cycle.
•
Maximum time before reading xHR_HI to prevent
overflow with full-scale inputs: 13.3 sec.
Rev. 0 | Page 21 of 86
UG-1098
Need help?
Do you have a question about the ADE9000 and is the answer not in the manual?
Questions and answers