Ade7753
Ade7753
VAGAIN[11:0]
: Σ
PGA ZX
VRMSOS[11:0]
V2P + SAG
ADC : Σ
V2N - VADIV[7:0] WDIV[7:0]
LPF1
4kΩ
2.4V
ADE7753 REGISTERS &
REFERENCE SERIAL INTERFACE
REFERENCE INPUT
REFIN/OUT Input Voltage Range 2.6 V max 2.4 V +8%
2.2 V min 2.4V -8%
Input Capacitance 10 pF max
ON-CHIP REFERENCE Nominal 2.4V at REFIN/OUT pin
Reference Error ±200 mV max
Current source 10 µA max
Output Impedance 4 kΩ min
Temperature Coefficient 20 ppm/°C typ
CLKIN Note all specifications CLKIN of 3.579545MHz
Input Clock Frequency 4 MHz max
1 MHz min
LOGIC INPUTS
RESET, DIN, SCLK, CLKIN and CS
Input High Voltage, VINH 2.4 V min DVDD = 5 V ± 10%
Input Low Voltage, VINL 0.8 V max DVDD = 5 V ± 10%
Input Current, IIN ±3 µA max Typically 10nA, VIN = 0V to DVDD
Input Capacitance, CIN 10 pF max
LOGIC OUTPUTS3
SAG & IRQ Open Drain outputs, 10kΩ pull up resistor
Output High Voltage, VOH 4 V min ISOURCE = 5mA
Output Low Voltage, VOL 0.4 V max ISINK = 0.8mA
ZX & DOUT
Output High Voltage, VOH 4 V min ISOURCE = 5mA
Output Low Voltage, VOL 0.4 V max ISINK = 0.8mA
CF
Output High Voltage, VOH 4 V min ISOURCE = 5mA
Output Low Voltage, VOL 1 V max ISINK = 7mA
POWER SUPPLY For specified Performance
AV DD 4.75 V min 5V - 5%
5.25 V max 5V +5%
DV DD 4.75 V min 5V - 5%
5.25 V max 5V + 5%
AI DD 3 mA max Typically 2.0 mA
DIDD 4 mA max Typically 3.0 mA
NOTES:
1
See Terminology Section for explanation of Specifications
2
See Plots in Typical Performance Graphs
3
Specifications subject to change without notice
4
See Analog Inputs Section
ORDERING GUIDE
IOL
MODEL Package Option*
200 µA
ADE7753ARS RS-20
TO ADE7753ARSRL RS-20
OUTPUT +2.1V EVAL-ADE7753EB ADE7753 evaluation board
PIN
CL * RS = Shrink Small Outline Package in tubes; RSRL = Shrink Small Outline
50pF Package in reel.
1.6 mA IOH
Write timing
t1 20 ns (min) CS falling edge to first SCLK falling edge
t2 150 ns (min) SCLK logic high pulse width
t3 150 ns (min) SCLK logic low pulse width
t4 10 ns (min) Valid Data Set up time before falling edge of SCLK
t5 5 ns (min) Data Hold time after SCLK falling edge
t6 TBD ns (min) Minimum time between the end of data byte transfers.
t7 TBD ns (min) Minimum time between byte transfers during a serial write.
t8 100 ns (min) CS Hold time after SCLK falling edge.
Read timing
t9 3.1 us (min) Minimum time between read command (i.e. a write to Communication
Reigster) and data read.
t10 TBD ns (min) Minimum time between data byte transfers during a multibyte read.
t113 30 ns (min) Data access time after SCLK rising edge following a write to the
Communications Register
t124 100 ns (max) Bus relinquish time after falling edge of SCLK.
10 ns (min)
t 13 4 100 ns (max) Bus relinquish time after rising edge of CS.
10 ns (min)
NOTES
1
Sample tested during initial release and after any redesign or process change that may affect this parameter. All input signals are specified with tr = tf = 5ns (10% to 90%)
and timed from a voltage level of 1.6V.
2
See timing diagram below and Serial Interface section of this data sheet.
3
Measured with the load circuit in Figure 1 and defined as the time required for the output to cross 0.8V or 2.4V.
4
Derived from the measured time taken by the data outputs to change 0.5V when loaded with the circuit in Figure 1. The measured number is then extrapolated back to
remove the effects of charging or discharging the 50pF capacitor. This means that the time quoted in the timing characteristics is the true bus relinquish time of the part
and is independent of the bus loading.
CS
t1 t13
t9 t10
SCLK
DIN 0 0 0 A4 A3 A2 A1 A0
t11 t11 t12
Terminology
MEASUREMENT ERROR
The error associated with the energy measurement made by input signal levels when the supplies are varied ±5%. Any
the ADE7753 is defined by the following formula: error introduced is again expressed as a percentage of
reading.
Percentage Error =
Energy registered by ADE 7753 − True Energy ADC OFFSET ERROR
× 100 %
True Energy This refers to the DC offset 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
PHASE ERROR BETWEEN CHANNELS magnitude of the offset depends on the gain and input range
The digital integrator and the HPF (High Pass Filter) in selection - see characteristic curves. However, when HPF1 is
Channel 1 have non-ideal phase response. To offset this switched on the offset is removed from Channel 1 (current)
phase response and equalize the phase response between and the power calculation is not affected by this offset. The
channels, two phase correction network is placed in Channel offsets may be removed by performing an offset calibration -
1: one for the digital integrator and the other for the HPF. see Analog Inputs.
Each phase correction network corrects the phase response of
the corresponding component and ensures a phase match GAIN ERROR
between Channel 1 (current) and Channel 2 (voltage) to The gain error in the ADE7753 ADCs is defined as the
within ±0.1° over a range of 45Hz to 65Hz and ±0.2° over difference between the measured ADC output code (minus
a range 40Hz to 1kHz. the offset) and the ideal output code - see Channel 1 ADC &
Channel 2 ADC. It is measured for each of the input ranges
POWER SUPPLY REJECTION on Channel 1 (0.5V, 0.25V and 0.125V). The difference is
This quantifies the ADE7753 measurement error as a per- expressed as a percentage of the ideal code.
centage of reading when the power supplies are varied.
For the AC PSR measurement a reading at nominal supplies GAIN ERROR MATCH
(5V) is taken. A second reading is obtained with the same The Gain Error Match is defined as the gain error (minus the
input signal levels when an ac (175mV rms/120Hz) signal is offset) obtained when switching between a gain of 1 (for each
introduced onto the supplies. Any error introduced by this of the input ranges) and a gain of 2, 4, 8, or 16. It is expressed
AC signal is expressed as a percentage of reading—see as a percentage of the output ADC code obtained under a gain
Measurement Error definition above. of 1. This gives the gain error observed when the gain
For the DC PSR measurement a reading at nominal supplies selection is changed from 1 to 2, 4, 8 or 16.
(5V) is taken. A second reading is obtained with the same
PIN CONFIGURATION
SSOP Packages
RESET 1 20 DIN
DVDD 2 19 DOUT
AVDD 3 18 SCLK
V1P 4 ADE7753 17 CS
TOP VIEW
V1N 5 16 CLKOUT
(Not to Scale)
V2N 6 15 CLKIN
V2P 7 14 IRQ
AGND 8 13 SAG
REFIN/OUT 9 12 ZX
DGND 10 11 CF
TBD TBD
TBD TBD
TBD TBD
TPC 3— Error as a % of Reading (Gain=16) TPC 6— Test Circuits for Performance Curves
–8– REV. PrF 10/02
PRELIMINARY TECHNICAL DATA
ADE7753
ANALOG INPUTS
The ADE7753 has two fully differential voltage input chan- GAIN REGISTER*
Channel 1 and Channel 2 PGA Control
nels. The maximum differential input voltage for input pairs 7 6 5 4 3 2 1 0
V1P/V1N and V2P/V2N are ±0.5V. In addition, the maxi-
0 0 0 0 0 0 0 0 ADDR: 0FH
mum signal level on analog inputs for V1P/V1N and V2P/
V2N are ±0.5V with respect to AGND. PGA 1 Gain Select
Each analog input channel has a PGA (Programmable Gain 000 = x1
PGA 2 Gain Select 001 = x2
Amplifier) with possible gain selections of 1, 2, 4, 8 and 16. 000 = x1 010 = x4
001 = x2 011 = x8
The gain selections are made by writing to the Gain regis- 010 = x4 100 = x16
ter—see Figure 2. Bits 0 to 2 select the gain for the PGA in 011 = x8
100 = x16
Channel 1 Full Scale Select
00 = 0.5V
Channel 1 and the gain selection for the PGA in Channel 2 *Register contents show power on defaults
01 = 0.25V
10 = 0.125V
is made via bits 5 to 7. Figure 1 shows how a gain selection
for Channel 1 is made using the Gain register.
Figure 2— ADE7753 Analog Gain register
GAIN[7:0]
It is also possible to adjust offset errors on Channel 1 and
Channel 2 by writing to the Offset Correction Registers
(CH1OS and CH2OS respectively). These registers allow
Gain (k)
V1P selection channel offsets in the range ±20mV to ±50mV (depending on
the gain setting) to be removed. Note that it is not necessary
Vin + to perform an offset correction in an Energy measurement
- k.Vin application if HPF in Channel 1 is switched on. Figure 3
Σ shows the effect of offsets on the real power calculation. As
V1N + can be seen from Figure 3, an offset on Channel 1 and
Offset Channel 2 will contribute a dc component after multiplica-
Adjust tion. Since this dc component is extracted by LPF2 to
(±50mV)
generate the Active (Real) Power information, the offsets will
CH1OS[7:0]
Bit 0 to 5: Sign magnitude coded offset correction
have contributed an error to the Active Power calculation.
Bit 6: Not used This problem is easily avoided by enabling HPF in Channel
Bit 7: Digital Integrator (On=1, Off=0; default ON) 1. By removing the offset from at least one channel, no error
component is generated at dc by the multiplication. Error
terms at Cos(w.t) are removed by LPF2 and by integration of
Figure 1— PGA in Channel 1 the Active Power signal in the Active Energy register (AEN-
ERGY[23:0]) – see Energy Calculation.
In addition to the PGA, Channel 1 also has a full scale input
range selection for the ADC. The ADC analog input range DC component (including error term) is
extracted by the LPF for real power
selection is also made using the Gain register—see Figure 2. calculation
As mentioned previously the maximum differential input VOS.IOS
voltage is 1V. However, by using bits 3 and 4 in the Gain V.I
register, the maximum ADC input voltage can be set to 0.5V, 2
GAIN-dB
disable the digital integrator and the HPF. -20
-30
CH1OS[5:0]
-50
2 3
10 10
FREQUENCY-Hz
00h
-50mV 0mV
+50mV Figure 6– Combined gain response of the digital integrator
Offset and phase compensator
Adjust
-88
3Fh 11, 1111b Sign + 5 Bits
-88.5
-89
-89.5
FREQUENCY-Hz
-1
-1.5
-3.5
-4
REFERENCE
x1, x2, x4,
x8, x16 TO
Channel 2
V2P GAIN[7:5] MULTIPLIER
1 -63% to + 63% FS
V2 PGA2 ADC 2
V2N
ZERO ZXTO
ZX
CROSS detection bit
LPF1
f-3dB = 140Hz
23.2 8@ 60Hz
1.0
0.92
ZX Figure 11 - Zero crossing Time out detection
PERIOD MEASUREMENT
V2 LPF1
The ADE7753 provides also the period measurement of the
line. The period register is an unsigned 15-bit register and is
Figure 10– Zero cross detection on Channel 2 updated every period.
The ZX signal will go logic high on a positive going zero The resolution of this register is 2.2ms/LSB when
crossing and logic low on a negative going zero crossing on CLKIN=3.579545MHz, which represents 0.013% when the
Channel 2. The zero crossing signal ZX is generated from the line frequency is 60Hz. When the line frequency is 60Hz, the
output of LPF1. LPF1 has a single pole at 156Hz (at CLKIN value of the Period register is approximately 7576d. The
= 3.579545MHz). As a result there will be a phase lag length of the register enables the measurement of line
between the analog input signal V2 and the output of LPF1. frequencies as low as 13.9Hz.
REV. PrF 10/02 –11–
PRELIMINARY TECHNICAL DATA
ADE7753
POWER SUPPLY MONITOR tains 03h the SAG pin will go active low at the end of the fifth
The ADE7753 also contains an on-chip power supply moni- line cycle for which the line voltage falls below the threshold,
tor. The Analog Supply (AVDD) is continuously monitored if the DISSAG bit in the Mode register is logic zero. As is
by the ADE7753. If the supply is less than 4V ± 5% then the the case when zero-crossings are no longer detected, the sag
ADE7753 will go into an inactive state, i.e. no energy will be event is also recorded by setting the SAG flag in the Interrupt
accumulated when the supply voltage is below 4V. This is Status register. If the SAG enable bit is set to logic one, the
useful to ensure correct device operation at power up and IRQ logic output will go active low - see ADE7753 Interrupts.
during power down. The power supply monitor has built-in The SAG pin will go logic high again when the absolute value
hysteresis and filtering. This gives a high degree of immunity of the signal on Channel 2 exceeds the sag level set in the Sag
to false triggering due to noisy supplies. Level register. This is shown in Figure 13 when the SAG pin
goes high during the tenth line cycle from the time when the
signal on Channel 2 first dropped below the threshold level.
AVDD
Sag Level Set
5V The contents of the Sag Level register (1 byte) are compared
4V to the absolute value of the most significant byte output from
LPF1, after it is shifted left by one bit. Thus for example the
nominal maximum code from LPF1 with a full scale signal
0V
on Channel 2 is 2518h—see Channel 2 sampling. Shifting one
Time bit left will give 4A30h. Therefore writing 4Ah to the SAG
ADE7753 Level register will put the sag detection level at full scale.
Power-on
Inactive Inactive Active Inactive Writing 00h will put the sag detection level at zero. The Sag
State Level register is compared to the most significant byte of a
waveform sample after the shift left and detection is made
SAG when the contents of the sag level register are greater.
PEAK DETECTION
Figure 12 - On-Chip power supply monitor
The ADE7753 can also be programmed to detect when the
As can be seen from Figure 12 the trigger level is nominally absolute value of the voltage or the current channel of one
set at 4V. The tolerance on this trigger level is about ±5%. phase exceeds a certain peak value. Figure 14 illustrates the
The SAG pin can also be used as a power supply monitor behavior of the peak detection for the voltage channel.
input to the MCU. The SAG pin will go logic low when the
ADE7753 is in its inactive state. The power supply and V2
decoupling for the part should be such that the ripple at VPKLVL[7:0]
AV DD does not exceed 5V±5% as specified for normal
operation.
Channel 2
Full Scale
Figure 14 - ADE7753 Peak detection
SAGLVL[7:0] Both channel 1 and channel 2 are monitored at the same time.
Figure 14 shows a line voltage exceeding a threshold which
is set in the Voltage peak register (VPKLVL[7:0]). The
SAG reset high
when Channel 2
Voltage Peak event is recorded by setting the PKV flag in the
SAGCYC[7:0] = 06H
exceeds SAGLVL[7:0] Interrupt Status register. If the PKV enable bit is set to logic
6 half cycles one in the Interrupt Mask register, the IRQ logic output will
go active low. Similarly, the Current Peak event is recorded
SAG by setting the PKI flag in the Ineterrupt Status register—see
ADE7753 Interrupts.
Peak Level Set
Figure 13– ADE7753 Sag detection The contents of the VPKLVL and IPKLVL registers are
respectively compared to the absolute value of channel 1 and
Figure 13 shows the line voltage fall below a threshold which channel 2, after they are multiplied by 2.
is set in the Sag Level register (SAGLVL[7:0]) for five line
cycles. Since the Sag Cycle register (SAGCYC[7:0]) con-
–12– REV. PrF 10/02
PRELIMINARY TECHNICAL DATA
ADE7753
Thus, for example, the nominal maximum code from the read command—see Interrupt timing. When carrying out a read
channel 1 ADC with a full scale signal is 2851ECh —see with reset, the ADE7753 is designed to ensure that no
Channel 1 Sampling. Multiplying by 2 will give 50A3D8h. interrupt events are missed. If an interrupt event occurs just
Therefore, writing 50h to the IPKLVL register will put the as the Status register is being read, the event will not be lost
channel 1 peak detection level at full scale and set the current and the IRQ logic output is guaranteed to go high for the
peak detection to its least sensitive value. duration of the Interrupt Status register data transfer before
Writing 00h will put the channel 1 detection level at zero. going logic low again to indicate the pending interrupt. See
The detection is done when the content of the IPKLVL the next section for a more detailed description.
register is smaller than the incoming channel 1 sample. Using the ADE7753 Interrupts with an MCU
Peak Level Record Shown in Figure 15 is a timing diagram which shows a
The ADE7753 records the maximum absolute value reached suggested implementation of ADE7753 interrupt manage-
by channel 1 and channel 2 in two different registers - IPEAK ment using an MCU. At time t1 the IRQ line will go active
and VPEAK respectively. VPEAK and IPEAK are 24-bit low indicating that one or more interrupt events have oc-
unsigned registers. These registers are updated each time the curred in the ADE7753. The IRQ logic output should be tied
absolute value of the Waveform sample from the correspond- to a negative edge triggered external interrupt on the MCU.
ing channel is above the value stored in the VPEAK or IPEAK On detection of the negative edge, the MCU should be
register. The contents of the VPEAK register corresponds to configured to start executing its Interrupt Service Routine
2 times the maximum absolute value observed on the channel (ISR). On entering the ISR, all interrupts should be disabled
2 input. The contents of IPEAK represents the max absolute using the global interrupt enable bit. At this point the MCU
value observed on the channel 1 input. Reading the external interrupt flag can be cleared in order to capture
RSTVPEAK and RSTIPEAK registers will clear their re- interrupt events which occur during the current ISR. When
spective contents after the read operation. the MCU interrupt flag is cleared a read from the Status
ADE7753 INTERRUPTS register with reset is carried out. This will cause the IRQ line
ADE7753 Interrupts are managed through the Interrupt to be reset logic high (t2)—see Interrupt timing. The Status
Status register (STATUS[15:0]) and the Interrupt Enable register contents are used to determine the source of the
register (IRQEN[15:0]). When an interrupt event occurs in interrupt(s) and hence the appropriate action to be taken. If
the ADE7753, the corresponding flag in the Status register a subsequent interrupt event occurs during the ISR, that event
is set to a logic one - see Interrupt Status register. If the enable will be recorded by the MCU external interrupt flag being set
bit for this interrupt in the Interrupt Enable register is logic again (t3). On returning from the ISR, the global interrupt
one, then the IRQ logic output goes active low. The flag bits mask will be cleared (same instruction cycle) and the external
in the Status register are set irrespective of the state of the interrupt flag will cause the MCU to jump to its ISR once
enable bits. again. This will ensure that the MCU does not miss any
In order to determine the source of the interrupt, the system external interrupts.
master (MCU) should perform a read from the Status Interrupt timing
register with reset (RSTSTATUS[15:0]). This is achieved The ADE7753 Serial Interface section should be reviewed first
by carrying out a read from address 0Ch. The IRQ output will before reviewing the interrupt timing. As previously de-
go logic high on completion of the Interrupt Status register MCU
int. flag set
t1 t2 t3
IRQ
DIN 0 0 0 0 0 1 0 1
t11 t11
IRQ
....10100101......
1-Bit DAC 0 2kHz 447kHz 894kHz
Frequency (Hz)
Figure 17– First Order Sigma-Delta (Σ−∆) ADC
A sigma-delta modulator converts the input signal into a Figure 18– Noise reduction due to Oversampling & Noise
continuous serial stream of 1's and 0's at a rate determined by shaping in the analog modulator
the sampling clock. In the ADE7753 the sampling clock is
Antialias Filter
equal to CLKIN/4. The 1-bit DAC in the feedback loop is
Figure 17 also shows an analog low pass filter (RC) on the
driven by the serial data stream. The DAC output is sub-
input to the modulator. This filter is present to prevent
tracted from the input signal. If the loop gain is high enough
aliasing. Aliasing is an artifact of all sampled systems.
the average value of the DAC output (and therefore the bit
Basically it means that frequency components in the input
stream) will approach that of the input signal level. For any
signal to the ADC which are higher than half the sampling
given input value in a single sampling interval, the data from
rate of the ADC will appear in the sampled signal at a
–14– REV. PrF 10/02
PRELIMINARY TECHNICAL DATA
ADE7753
frequency below half the sampling rate. Figure 19 illustrates Output
Impedance
the effect. Frequency components (arrows shown in black) Maximum 6kΩ
above half the sampling frequency (also know as the Nyquist Load = 10µA
REFIN/OUT
frequency, i.e., 447kHz) get imaged or folded back down PTAT 60µA 2.42V
below 447kHz (arrows shown in grey). This will happen with
all ADCs regardless of the architecture. In the example 2.5V
1.7kΩ
shown, only frequencies near the sampling frequency, i.e.,
894kHz, will move into the band of interest for metering, i.e, 12.5kΩ
40Hz - 2kHz. This allows the usage of very simple LPF (Low
Pass Filter) to attenuate high frequency (near 900kHz) noise 12.5kΩ
and prevents distortion in the band of interest. For conven-
tional current sensor, a simple RC filter (single pole LPF) Reference input to ADC
12.5kΩ Channel 1 (Range Select)
with a corner frequency of 10kHz will produce an attenuation 2.42V, 1.21V, 0.6V
of approximately 40dBs at 894kHz—see Figure 18. The
20dB per decade attenuation is usually sufficient to eliminate 12.5kΩ
00h
SCLK +
HPF LPF3
Read from WAVEFORM
Σ
24 24
Channel 1 IRMS
DIN 0 0 0 01 Hex
DOUT Sign
Channel 1 DATA - 24 bits
V1N
Channel 1 (Current Waveform)
Data Range After integrator (50Hz)
50Hz 1EF73Ch
V1
0.5V, 0.25V, 000000h
2851ECh
0.125V, 62.5mV, Channel 1 (Current Waveform)
31.3mV, 15.6mV, Data Range E108C4h
000000h
0V
2851ECh
D7AE14h
ADC Output
Analog Channel 1 (Current Waveform)
word Range 000000h
Input 60Hz Data Range After Integrator (60Hz)
Range
D7AE14h 19CE08h
000000h
-40
Phase (°)
-8
-50
value of this full-scale AC signal is approximately 1,561,400
-10
(17D338h) in the VRMS register.
-60 -12
-70 -14
Voltage Signal - V(t)
-80 -16 2518h VRMSOS[11:0]
0h SGN 29 28 2
2
2
1
2
0
-90 -18
1 2 3
10 10 10 DAE8h VRMS[23:0]
Frequency (Hz)
LPF1 LPF3
+ 17D338h
+
Figure 24 – Magnitude & Phase response of LPF1
Channel 2
S 00h
These phase errors can vary from part to part and they must 0.7
be corrected in order to perform accurate power calculations.
0.6
The errors associated with phase mismatch are particularly
PHASE-DEGREES
0.5
noticeable at low power factors. The ADE7753 provides a
means of digitally calibrating these small phase errors. The 0.4
FREQUENCY-Hz
10
3
10
4
V1N LPF2
24 0.14
0.12
V2P
GAIN-dB
1
Delay Block Channel 2 delay 0.1
V2 PGA2 ADC 2 V2
4.48µs / LSB reduced by 4.48µs
V1
V2N (0.18lead at 60Hz) 0.08
0Bh in PHCAL[5:0]
5 0
V2
0.06
0.18 0 0 1 0 1 1
V1
PHCAL[5:0] 0.04
-100µs to +34µs
0.02
60Hz
0
40 45 50 55 60 65 70
FREQUENCY-Hz
60Hz
() () ()
p t = v t × i t -4
p(t ) = VI − VI cos(ωt )
(3)
-8
dBs
is given by the expression in Equation 4.
-16
∫ p (t )dt = VI
1 nT
P= (4)
-20
nT 0 -24
1.0Hz 3.0Hz 10Hz 30Hz 100Hz
where T is the line cycle period. Frequency
000000h
133333h
CCCCDh Positive The output of the multiplier is divided by WDIV. If the value
66666h Power in the WDIV register is equal to 0 then the internal Active
00000h Energy register is divided by 1. WDIV is an 8-bit unsigned
F9999Ah Negative register. After dividing by WDIV, the active energy is
F33333h Power accumulated in a 48-bit internal energy accumulation regis-
ECCCCDh ter. The upper 24 bit of this register is accessible through a
000h 7FFh 800h
read to the Active Energy register (AENERGY[23:0]). A
WGAIN[11:0]
read to the RAENERGY register will return the content of
Active Power the AENERGY register and the upper 24-bit of the internal
Calibration Range
register is clear after a read to AENERGY register.
As shown in Figure 35, the Active Power signal is accumu-
Figure 34 – Active Power Calculation Output Range lated in an internal 48-bit signed register.
ENERGY CALCULATION The Active Power signal can be read from the Waveform
As stated earlier, power is defined as the rate of energy flow. register by setting MODE[14:13] = 0,0 and setting the
This relationship can be expressed mathematically as WSMP bit (bit 3) in the Interrupt Enable register to 1. Like
Equation 5. the Channel 1 and Channel 2 waveform sampling modes the
waveform date is available at sample rates of 27.9kSPS,
dE 14kSPS, 7kSPS or 3.5kSPS—see Figure 22.
P= (5)
dt Figure 36 shows this energy accumulation for full scale
signals (sinusoidal) on the analog inputs. The three curves
Where P = Power and E = Energy. displayed, illustrate the minimum period of time it takes the
Conversely Energy is given as the integral of Power. energy register to roll-over when the Active Power Gain
E = ∫ Pdt (6)
register contents are 7FFh, 000h and 800h. The Watt Gain
register is used to carry out power calibration in the ADE7753.
The ADE7753 achieves the integration of the Active Power As shown, the fastest integration time will occur when the
signal by continuously accumulating the Active Power signal Watt Gain register is set to maximum full scale, i.e., 7FFh.
in an internal non-readable 56-bit Energy register. The
Active Energy register (AENERGY[23:0]) represents the AENERGY[23:0]
∞
E = ∫ p(t )dt = Lim∑ p(nT ) × T (7) Time
t → 0 n =1 00,0000h
4 6.2 8 12.5 (minutes)
LPF2 + 46 0
Figure 36 - Energy register roll-over time for full-scale
+
Σ power (Minimum & Maximum Power Gain)
Voltage Channel
Active Power
WGAIN[11:0] Note that the energy register contents will roll over to full-
Signal - P* scale negative (800000h) and continue increasing in value
OUTPUT
CLKIN WAVEFORM
REGISTER THE INTERNAL ACTIVE ENERGY REGISTER
VALUES Conversely if the power is negative the energy register would
under flow to full scale positive (7FFFFFh) and continue
time (nT)
decreasing in value.
By using the Interrupt Enable register, the ADE7753 can be
Figure 35 – ADE7753 Active Energy Calculation configured to issue an interrupt (IRQ) when the Active
The discrete time sample period (T) for the accumulation Energy register is half-full (positive or negative) or when an
register in the ADE7753 is 1.1µs (4/CLKIN). As well as over/under flow occurs.
calculating the Energy this integration removes any sinusoi- Integration time under steady load
dal components which may be in the Active Power signal. As mentioned in the last section, the discrete time sample
period (T) for the accumulation register is 1.1µs (4/CLKIN).
–20– REV. PrF 10/02
PRELIMINARY TECHNICAL DATA
ADE7753
With full-scale sinusoidal signals on the analog inputs and the output pulse is generated when (CFDEN+1)/(CFNUM+1)
WGAIN register set to 000h, the average word value from number of pulses are generated at the DFC output. Under
each LPF2 is CCCCDh - see Figure 31. The maximum steady load conditions the output frequency is proportional to
positive value which can be stored in the internal 47-bit the Active Power.
register is 246 - 1 or 7FFF,FFFF,FFFFh before it overflows, The maximum output frequency, with AC input signals at
the integration time under these conditions with WDIV=0 is full-scale and CFNUM=00h & CFDEN=00h, is approxi-
calculated as follows: mately 23 kHz.
The ADE7753 incorporates two registers, CFNUM[11:0]
3FFF , FFFF, FFFFh and CFDEN[11:0], to set the CF frequency. These are
Time = × 1.12 µs = 187.5s = 3.12 min s unsigned 12-bit registers which can be used to adjust the CF
CCCCDh
frequency to a wide range of values. These frequency scaling
When WDIV is set to a value different from 0, the integration registers are 12-bit registers which can scale the output
time varies as shown on Equation 8. frequency by 1/212 to 1 with a step of 1/212.
Time = TimeWDIV=0 x WDIV (8) If the value zero is written to any of these registers, the value
POWER OFFSET CALIBRATION one would be applied to the register. The ratio (CFNUM+1)/
The ADE7753 also incorporates an Active Power Offset (CFDEN+1) should be smaller than one to assure proper
register (APOS[15:0]). This is a signed 2’s complement 16- operation. If the ratio of the registers (CFNUM+1)/
bit register which can be used to remove offsets in the active (CFDEN+1) is greater than one, the register values would
power calculation—see Figure 33. An offset may exist in the be adjust to a ratio (CFNUM+1)/(CFDEN+1) of one.
power calculation due to cross talk between channels on the For example if the output frequency is 1.562kHz while the
PCB or in the IC itself. The offset calibration will allow the contents of CFDENare zero (000h), then the output frequency
contents of the Active Power register to be maintained at zero can be set to 6.1Hz by writing FFh to the CFDEN register.
when no power is being consumed. Note that for values where CFDEN>CFNUM, the
Two hundred fifty six LSBs (APOS=0100h) written to the performance of the CF frequency is not guaranteed. CFNUM
Active Power Offset register are equivalent to 1 LSB in the should always be set to a value less than CFDEN.
Waveform Sample register. Assuming the average value The output frequency will have a slight ripple at a frequency
outputs from LPF2 is CCCCDh (838,861 in Decimal) when equal to twice the line frequency. This is due to imperfect
inputs on Channels 1 and 2 are both at full-scale. At -60dB filtering of the instantaneous power signal to generate the
down on Channel 1 (1/1000 of the Channel 1 full-scale Active Power signal – see Active Power Calculation. Equation 3
input), the average word value outputs from LPF2 is 838.861 gives an expression for the instantaneous power signal. This
(838,861/1,000). 1 LSB in the LPF2 output has a measure- is filtered by LPF2 which has a magnitude response given by
ment error of 1/838.861 × 100% = 0.119% of the average Equation 9.
value. The Active Power Offset register has a resolution
1
equal to 1/256 LSB of the Waveform register, hence the H (f ) =
power offset correction resolution is 0.00047%/LSB (0.119%/ f2
256) at -60dB. 1+
8 .9 2
ENERGY TO FREQUENCY CONVERSION (9)
ADE7753 also provides energy to frequency conversion for The Active Power signal (output of LPF2) can be rewritten
calibration purposes. After initial calibration at manufactur- as.
ing, the manufacturer or end customer will often verify the
energy meter calibration. One convenient way to verify the
meter calibration is for the manufacturer to provide an output
⋅ cos(4π fl t )
VI
= −
p(t ) VI
frequency which is proportional to the energy or active power
2fl
2
(10)
under steady load conditions. This output frequency can 1 + 8.9
provide a simple, single wire, optically isolated interface to
external calibration equipment. Figure 37 illustrates the where fl is the line frequency (e.g., 60Hz)
Energy-to-Frequency conversion in the ADE7753. From Equation 6
11 CFNUM[11:0] 0
⋅ sin(4π fl t )
VI
Energy DFC CF E (t ) = VIt −
23 AENERGY[23:0] 0 2fl
2 (11)
4π fl 1 + 8.9
11 CFDEN[11:0] 0
+ 46 0
Σ
Output from
LPF2
+
−
R
S VI U
V
sin(4. F. f . t )
l
WDIV[7:0]
ACCUMULATE ACTIVE
ENERGY IN INTERNAL
REGISTER AND UPDATE
T4. F . f (1+
l 2. f / 8.9Hz)
l
W 23 0
THE LAENERGY REGISTER
AT THE END OF LINECYC
LINE-CYCLES
LPF1 LAENERGY[23:0]
FROM
t CHANNEL 2
ADC
ZERO CROSS
DETECTION
CALIBRATION
CONTROL
LINE CYCLE ENERGY ACCUMULATION MODE Figure 39 – Energy Calculation in Line Cycle Energy Accu-
In Line Cycle Energy Accumulation mode, the energy mulation Mode
accumulation of the ADE7753 can be synchronized to the
Channel 2 zero crossing so that active energy can be accumu- Note that in this mode, the 16-bit LINECYC register can
lated over an integral number of half line cycles. The hold a maximum value of 65,535. In other words, the line
advantage of summing the active energy over an integer energy accumulation mode can be used to accumulate active
number of half line cycles is that the sinusoidal component energy for a maximum duration over 65,535 half line cycles.
in the active energy is reduced to zero. This eliminates any At 60Hz line frequency, it translates to a total duration of
ripple in the energy calculation. Energy is calculated more 65,535 / 120Hz = 546 seconds.
accurately and in a shorter time because integration period
can be shortened. By using the line cycle energy accumula- POSITIVE ONLY ACCUMULATION MODE
tion mode, the energy calibration can be greatly simplified In Positive Only Accumulation mode, the energy accumula-
and the time required to calibrate the meter can be signifi- tion is done only for positive power, ignoring any occurrence
cantly reduced. The ADE7753 is placed in line cycle energy of negative power above or below the no load threshold as
accumulation mode by setting bit 7 (CYCMODE) in the shown in Figure 40. The ADE7753 is placed in positive only
Mode register. In Line Cycle Energy Accumulation Mode
the ADE7753 accumulates the active power signal in the
LAENERGY register (Address 04h) for an integral number
of line cycles, as shown in Figure 39. The number of half line
cycles is specified in the LINECYC register (Address 1Ch). Active Energy
other calibration cycle will start as long as the CYCMODE Figure 40 – Energy Accumulation in Positive Only
bit in the Mode register is set. Note that the result of the first Accumulation Mode
–22– REV. PrF 10/02
PRELIMINARY TECHNICAL DATA
ADE7753
accumulation mode by setting the MSB of the MODE Instantaneous Reactive
register (MODE[15]). The default setting for this mode is 90 DEGREE
PHASE SHIFT
Power Signal - Rp(t)
Active
Power
103880h
Figure 42 - Power triangle AD055h
5682Bh
p(t ) = Vrms I rms cos(θ ) − Vrms I rms cos( 2ωt + θ ) (20) Figure 44- Apparent Power Calculation Output range
The Apparent Power (AP) is defined as Vrms x Irms. This Apparent Power Offset Calibration
expression is independent from the phase angle between the Each RMS measurement includes an offset compensation
current and the voltage. register to calibrate and eliminate the DC component in the
Figure 43 illustrates graphically the signal processing in each RMS value -see Channel 1 RMS calculation and Channel 2 RMS
phase for the calculation of the Apparent Power in the calculation. The channel 1 and channel 2 RMS values are then
ADE7753. multiplied together in the Apparent Power signal processing.
As no additional offsets are created in the multiplication of
Irms Apparent Power the RMS values, there is no specific offset compensation in
Signal - P
Current RMS Signal - i(t) the Apparent Power signal processing. The offset compensa-
AD055h
1C82B3h
tion of the Apparent Power measurement is done by calibrating
00h
MULTIPLIER each individual RMS measurements.
+
FF,FFFFh. As the average word value is added to the
internal register which can store 248 - 1 or 7FFF,FFFF,FFFFh
Apparent Power
APPARENT POWER ARE
before it overflows, the integration time under these condi-
Signal - P
T
ACCUMULATED (INTEGRATED) IN
THE APPARENT ENERGY REGISTER tions with VADIV=0 is calculated as follows:
AD055h
7FFF, FFFF,FFFFh
Time = × 1.2µs = 888s = 14.8min
00000h
AD055h
time (nT)
When VADIV is set to a value different from 0, the integra-
tion time varies as shown on Equation 23.
Figure 45- ADE7753 Apparent Energy calculation Time = TimeWDIV=0 x VADIV (23)
The upper 52-bit of the internal register are divided by LINE APPARENT ENERGY ACCUMULATION
VADIV. If the value in the VADIV register is equal to 0 then The ADE7753 is designed with a special Apparent Energy
the internal active Energy register is divided by 1. VADIV is accumulation mode which simplifies the calibration process.
an 8-bit unsigned register. The upper 24-bit are then written By using the on-chip zero-crossing detection, the ADE7753
in the 24-bit Apparent Energy register (VAENERGY[23:0]). accumulates the Apparent Power signal in the LVAENERGY
RVAENERGY register (24 bits long) is provided to read the register for an integral number of half cycles, as shown in
Apparent Energy. This register is reset to zero after a read Figure 47. The line Apparent energy accumulation mode is
operation. always active.
Figure 45 shows this Apparent Energy accumulation for full The number of half line cycles is specified in the LINCYC
scale signals (sinusoidal) on the analog inputs. The three register. LINCYC is an unsigned 16-bit register. The
curves displayed, illustrate the minimum time it takes the ADE7753 can accumulate Apparent Power for up to 65535
energy register to roll-over when the VA Gain registers combined half cycles. Because the Apparent Power is inte-
content is equal to 7FFh, 000h and 800h. The VA Gain grated on the same integral number of line cycles as the Line
register is used to carry out an apparent power calibration in Active Energy register, these two values can be compared
the ADE7753. As shown, the fastest integration time will easily. The active and apparent Energy are calculated more
occur when the VA Gain register is set to maximum full scale, accurately because of this precise timing control and provide
i.e., 7FFh. all the information needed for Reactive Power and Power
VAENERGY[23:0]
Factor calculation. At the end of an energy calibration cycle
the CYCEND flag in the Interrupt Status register is set. If the
FF,FFFFh CYCEND mask bit in the Interrupt Mask register is enabled,
VAGAIN = 7FFh
the IRQ output will also go active low. Thus the IRQ line can
VAGAIN = 000h
VAGAIN = 800h also be used to signal the end of a calibration.
80,0000h
The Line Apparent Energy accumulation uses the same
signal path as the Apparent Energy accumulation. The LSB
40,0000h size of these two registers is equivalent.
+
46 0
20,0000h
Σ
+
Apparent Power
LVAENERGY REGISTER IS
Time VADIV[7:0] UPDATED EVERY LINECYC
00,0000h ZERO-CROSSINGS WITH THE
4.9 7.4 11.1 14.8 (minutes) TOTAL APPARENT ENERGY
LPF1 DURING THAT DURATION
FROM ZERO 0
CALIBRATION 23
CHANNEL 2 CROSSING
ADC DETECTION CONTROL LVAENERGY[23:0]
Figure 46- Energy register roll-over time for full-scale
power (Minimum & Maximum Power Gain)
LINECYC[15:0]
Note that the Apparent Energy register contents roll-over to
full-scale negative (80,0000h) and continue increasing in
value when the power or energy flow is positive - see Figure Figure 47 - ADE7753 Apparent Energy Calibration
46.
By using the Interrupt Enable register, the ADE7754 can be
configured to issue an interrupt (IRQ) when the Apparent
Energy register is half full (positive or negative) or when an
over/under flow occurs.
REV. PrF 10/02 –25–
PRELIMINARY TECHNICAL DATA
ADE7753
CALIBRATING THE ENERGY METER 2971.4 × 2 × 60
Frequency (CF) = = 1398.3Hz
When calibrating the ADE7753, the first step is to calibrate 255
the frequency on CF to some required meter constant, e.g., Alternatively, the average value from LPF2 under this con-
3200 imp/kWh. dition is approximately 1/16 of the full-scale level. As
A convenient way to to determine the output frequency on CF described previously, the average LPF2 output at full-scale
is to use the line cycle energy accumulation mode. As shown ac input is CCCCD (hex) or 838,861 (decimal). At 1/16 of
in Figure 37, DFC generates a pulse each time a LSB in the full-scale, the LPF2 output is then 52,428.81. Then using
LAENERGY register is accumulated. CF frequency (before Digital to Frequency Conversion, the frequency under this
the CF frequency divider) can be conveniently determined by load is calculated as:
the following expression: 52428.81× 3.579545MHz
Frequency(CF) = = 1398.3Hz
2 27
Content of LAENERGY[23 : 0] Register
CF Frequency = This is the frequency with the contents of the CFNUM and
Elasped Time CFDEN registers equal to 000h. The desired frequency out
is 3.9111Hz. Therefore, the CF frequency must be divided
When the CYCMODE (bit 7) bit in the Mode register is set
by 2797/3.9111Hz or 357.5 decimal. This is achieved by
to a logic one, energy is accumulated over an integer number
of half line cycles. If the line frequency is fixed and the loading the pair of CF Divider registers with the closest
number of half cycles of integration is specified, the total rational number. In this case, the closest rational number is
elasped time can be calculated by the following: found to be 1/358 (or 1h/166h). Therefore, 0h and 165h
should be written to the CFNUM and CFDEN registers
1 respectively. Note that the CF frequency is multiplied by the
Elasped Time = × number of half cycles
2 × fl contents of (CFNUM + 1) / (CFDEN + 1). With the CF
Divide registers contents equal to 1h/166h, the output
For example, at 60Hz line frequency, the elasped time for frequency is given as 2797Hz / 358 = 3.905Hz. This setting
255 half cycles will be 2.125 seconds. Rewriting the above in has an error of -0.1%.
terms of contents of various ADE7753 registers and line
Calibrating CF is made easy by using the Calibration mode
frequencies (fl):
on the ADE7753. The critical part of this approach is that the
LAENERGY[2 3 : 0] × 2 × fl line frequency needs to be exactly known. If this is not
CF Frequency = (24)
LINECYC[15 : 0] possible, the frequency can be measured by using the PE-
where fl is the line frequency. RIOD register of the ADE7753.
Alternatively, CF frequency can be calculated based on the Note that changing WGAIN[11:0] register will also affect
average LPF2 output. the output frequency from CF. The WGAIN register has a
Average LPF2 Output × CLKIN gain adjustment of 0.0244% / LSB.
CF Frequency= (25) Determine the kWHr/LSB Calibration Coefficient
2 27
The Active Energy register (AENERGY) can be used to
Calibrating the Frequency at CF calculate energy. A full description of this register can be
When the frequency before frequency division is known, the found in the Energy Calculation section. The AENERGY reg-
pair of CF Frequency Divider registers (CFNUM and ister gives the user both sign and magnitude information
CFDEN) can be adjusted to produce the required frequency regarding energy consumption. On completion of the CF
on CF. In this example a meter constant of 3200 imp/kWh frequency output calibration, i.e., after adjusting the CF
is chosen as an appropriate constant. This means that under Frequency divider and the Watt Gain (WGAIN) register, the
a steady load of 1kW, the output frequency on CF would be, second stage of the calibration is to determine the kWh/LSB
3200 imp / kWh 3200 coefficient for the AENERGY register. Equation 26 below
Frequency (CF ) = = = 0.8888 Hz shows how LAENERGY can be used to calculate the calibra-
60 min × 60 sec 3600 tion coefficient.
Assuming the meter is set up with a test current (basic
current) of 20A and a line voltage of 220V for calibration, the kWHr/LSB =
load is calculated as 220V × 20A = 4.4kW. Therefore the Calibration Power (in kW) LINECYC[15 : 0]
× (26)
expected output frequency on CF under this steady load 3600 seconds/Hr LAENERGY[23 : 0] × 2 × fl
condition would be 4.4 × 0.8888Hz = 3.9111Hz.
Under these load conditions the transducers on Channel 1 Once the coefficient is determined, the MCU can compute
and Channel 2 should be selected such that the signal on the the energy consumption at any time by reading the AENERGY
voltage channel should see approximately half scale and the contents and multiplying by the coefficient to calculate kWh.
signal on the current channel about 1/8 of full scale (assuming In the above example, at 4.4kW, after 255 half cycles (at
a maximum current of 80A). Assuming at line frequency of 60Hz), the resulting LAENERGY is approximately 2971
60Hz, energy is accumulated over FFh number of half line decimal. The kWHr/LSB can therefore be calculated to be
cycles, the resulting content of the LAENERGY register will 8.74×10-7 kWHr/LSB using the above equation.
be approximately 2971.4 (decimal). CF frequency is there-
fore calculated to be:
–26– REV. PrF 10/02
PRELIMINARY TECHNICAL DATA
ADE7753
CLKIN FREQUENCY CHECKSUM REGISTER
In this datasheet, the characteristics of the ADE7753 is shown The ADE7753 has a Checksum register (CHECKSUM[5:0])
with CLKIN frequency equals 3.579545 MHz. However, the to ensure the data bits received in the last serial read operation
ADE7753 is designed to have the same accuracy at any are not corrupted. The 6-bit Checksum register is reset
CLKIN frequency within the specified range. If the CLKIN before the first bit (MSB of the register to be read) is put on
frequency is not 3.579545MHz, various timing and filter the DOUT pin. During a serial read operation, when each
characteristics will need to be redefined with the new CLKIN data bit becomes available on the rising edge of SCLK, the
frequency. For example, the cut-off frequencies of all digital bit will be added to the Checksum register. In the end of the
filters (LPF1, LPF2, HPF1, etc.) will shift in proportion to serial read operation, the content of the Checksum register
the change in CLKIN frequency according to the following will equal to the sum of all ones in the register previously
equation: read. Using the Checksum register, the user can determine
if an error has occured during the last read operation.
CLKIN Frequency Note that a read to the Checksum register will also generate
New Frequency = Original Frequency × (27)
3.579545 MHz a checksum of the Checksum register itself.
The change of CLKIN frequency does not affect the timing
DOUT CONTENT OF REGISTER (n-bytes)
characteristics of the serial interface because the data transfer
is synchronized with serial clock signal (SCLK). But one
needs to observe the read/write timing of the serial data +
transfer-see ADE7753 Timing Characteristics. Table III lists Σ CHECKSUM REGISTER ADDR: 3Eh
+
various timing changes that are affected by CLKIN fre-
quency. Figure 48– Checksum register for Serial Interface Read
Table III
Frequency dependencies of the ADE7753 parameters
IN
REGISTER # 2 OUT
each register must be transferred as there is no other way of
DECODE
REGISTER # 3 IN
OUT bringing the ADE7753 back into communications mode
without resetting the entire device, i.e., using RESET.
SCLK
DIN X X X X DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
CS
t1 t13
t9 t10
SCLK
DIN 0 0 0 A4 A3 A2 A1 A0
t11 t11 t12
01h WAVEFORM R 24 bits 0h The Waveform register is a read-only register. This register
contains the sampled waveform data from either Channel 1,
Channel 2 or the Active Power signal. The data source and the
length of the waveform registers are selected by data bits 14 and
13 in the Mode Register - see Channel 1 & 2 Sampling.
02h AENERGY R 24 bits 0h The Active Energy register. Active Power is accumulated
(Integrated) over time in this 24-bit, read-only register. The
energy register can hold a minimum of 6 seconds of Active
Energy information with full scale analog inputs before it
overflows - see Energy Calculation.
03h RAENERGY R 24 bits 0h Same as the Active Energy register except that the register is
reset to zero following a read operation
04h LAENERGY R 24 bits 0h Line Accumulation Active Energy register. The instantaneous
active power is accumulated in this read-only register over the
LINCYC number of half line cycles.
05h VAENERGY R 24 bits 0h Apparent Energy register. Apparent power is accumulated over
time in this read-only register.
06h RVAENERGY R 24 bits 0h Same as the VAENERGY register except that the register is reset
to zero following a read operation.
07h LVAENERGY R 24 bits 0h Apparent Energy register. The instantaneous real power is
accumulated in this read-only register over the LINECYC
number of half line cycles
08h LVARENERGY R 24 bits 0h Reactive Energy register. The instantaneous reactive power is
accumulated in this read-only register over the LINECYC
number of half line cycles.
09h MODE R/W 16 bits 000Ch The Mode register. This is a 16-bit register through which most
of the ADE7753 functionality is accessed. Signal sample rates,
filter enabling and calibration modes are selected by writing to
this register. The contents may be read at any time—see Mode
Register.
0Ah IRQEN R/W 16 bits 40h Interrupt Enable register. ADE7753 interrupts may be
deactivated at any time by setting the corresponding bit in this 8-
bit Enable register to logic zero. The Status register will
continue to register an interrupt event even if disabled. However,
the IRQ output will not be activated—see ADE7753 Interrupts.
0Bh STATUS R 16 bits 0h The Interrupt Status register. This is an 8-bit read-only register.
The Status Register contains information regarding the source of
ADE7753 interrupts - see ADE7753 Interrupts.
0Ch RSTSTATUS R 16 bits 0h Same as the Interrupt Status register except that the register
contents are reset to zero (all flags cleared) after a read
operation.
0Dh CH1OS R/W 8 bits 00h Channel 1 Offset Adjust. Bit 6 is not used. Writing to bits 0 to 5
allows offsets on Channel 1 to be removed – see Analog Inputs
and CH1OS Register. Writing a logic one to the MSB of this
register enables the digital integrator on Channel 1, a zero
disables the integrator. The default value of this bit is zero.
0Eh CH2OS R/W 8 bits 0h Channel 2 Offset Adjust. Bit 6 and 7 not used. Writing to bits 0
to 5 of this register allows any offsets on Channel 2 to be
removed - see Analog Inputs.
0Fh GAIN R/W 8 bits 0h PGA Gain Adjust. This 8-bit register is used to adjust the gain
selection for the PGA in Channel 1 and 2 - see Analog Inputs.
10h PHCAL R/W 6 bits 0Dh Phase Calibration register. The phase relationship between
Channel 1 and 2 can be adjusted by writing to this 6-bit register.
The valid content of this 2's compliment register is between 1Dh
to 21h. At line frequency of 60Hz, this is a range from -2.06 to
+0.7 degrees. —see Phase Compensation.
11h APOS R/W 16 bits 0h Active Power Offset Correction. This 16-bit register allows small
offsets in the Active Power Calculation to be removed – see
Active Power Calculation.
12h WGAIN R/W 12 bits 0h Power Gain Adjust. This is a 12-bit register. The Active Power
calculation can be calibrated by writing to this register. The
calibration range is ±50% of the nominal full scale active power.
The resolution of the gain adjust is 0.0244% / LSB—see Channel
1 ADC Gain Adjust.
13h WDIV R/W 8 bits 0h Active Energy divider register. The internal active energy register
is divided by the value of this register before being stored in the
AENERGY register.
14h CFNUM R/W 12 bits 3Fh CF Frequency Divider Numerator register. The output frequency
on the CF pin is adjusted by writing to this 12-bit read/write
register – see Energy to Frequency Conversion.
15h CFDEN R/W 12 bits 3Fh CF Frequency Divider Denominator register. The output
frequency on the CF pin is adjusted by writing to this 12-bit
read/write register – see Energy to Frequency Conversion.
16h IRMS R 24 bits 0h Channel 1 RMS value (current channel).
17h VRMS R 24 bits 0h Channel 2 RMS value (voltage channel).
18h IRMSOS R/W 12 bits 0h Channel 1 RMS offset correction register
19h VRMSOS R/W 12 bits 0h Channel 2 RMS offset correction register
1Ah VAGAIN R/W 12 bits 0h Apparent Gain register. Apparent power calculation can be
calibrated by writing this register. The calibration range is 50%
of the nominal full scale real power. The resolution of the gain
adjust is 0.02444% / LSB.
1Bh VADIV R/W 8 bits 0h Apparent Energy divider register. The internal apparent energy
register is divided by the value of this register before being stored
in the VAENERGY register.
1Ch LINECYC R/W 15 bits FFFh Line Cycle Energy Accumulation Mode Line-Cycle register.
This 15-bit register is used during line cycle energy
accumulation mode to set the number of half line cycles for
energy accumulation - see Line Cycle Energy Accumulation Mode.
1Dh ZXTOUT R/W 12 bits FFFh Zero-cross Time Out. If no zero crossings are detected on
Channel 2 within a time period specified by this 12-bit register,
the interrupt request line (IRQ) will be activated. The maximum
time-out period is 0.15 second - see Zero Crossing Detection.
1Eh SAGCYC R/W 8 bits FFh Sag line Cycle register. This 8-bit register specifies the number
of consecutive line cycles the signal on Channel 2 must be below
SAGLVL before the SAG output is activated - see Voltage Sag
Detection
1Fh SAGLVL R/W 8 bits 0h Sag Voltage Level. An 8-bit write to this register determines at
what peak signal level on Channel 2 the SAG pin will become
active. The signal must remain low for the number of cycles
specified in the SAGCYC register before the SAG pin is
activated—see Line Voltage Sag Detection.
20h IPKLVL R/W 8 bits FFh Channel 1 Peak Level threshold (current channel). This register
sets the level of the current peak detection. If the channel 1 input
exceeds this level, the PKI flag in the status register is set.
21h VPKLVL R/W 8 bits FFh Channel 2 Peak Level threshold (voltage channel). This register
sets the level of the voltage peak detection. If the channel 2 input
exceeds this level, the PKV flag in the status register is set.
22h IPEAK R 24 bits 0h Channel 1 peak register. The maximum input value of the
Current channel since the last read of the register is stored in this
register.
23h RSTIPEAK R 24 bits 0h Same as Channel 1 peak register except that the register contents
are reset to 0 after read.
24h VPEAK R 24 bits 0h Channel 2 peak register. The maximum input value of the
Voltage channel since the last read of the register is stored in this
register.
25h RSTVPEAK R 24 bits 0h Same as Channel 2 peak register except that the register contents
are reset to 0 after a read.
26h TEMP R 8 bits 0h Temperature register. This is an 8-bit register which contains the
result of the latest temperature conversion – see Temperature
Measurement.
27h PERIOD R 15 bits 0h Period of the channel 2 (volatge channel) input estimated by
Zero-crossing processing.
28h-
3Ch Reserved
3Dh TMODE R/W 8 bits - Test mode register
3Eh CHKSUM R 6 bits 0h Checksum Register. This 6-bit read only register is equal to the
sum of all the ones in the previous read – see ADE7753 Serial Read
Operation.
3Fh DIEREV R 8 bits - Die Revision Register. This 8-bit read only register contains the
revision number of the silicon.
Communications Register
The Communications register is an 8-bit, write-only register which controls the serial data transfer between the ADE7753
and the host processor. All data transfer operations must begin with a write to the communications register. The data written
to the communications register determines whether the next operation is a read or a write and which register is being accessed.
Table IV below outlines the bit designations for the Communications register.
Table V. Communications Register
0 to 5 A0 to A5 The six LSBs of the Communications register specify the register for the data transfer
operation. Table III lists the address of each ADE7753 on-chip register.
6 RESERVED This bit is unused and should be set to zero.
7 W/ R When this bit is a logic one the data transfer operation immediately following the write to
the Communications register will be interpreted as a write to the ADE7753. When this bit
is a logic zero the data transfer operation immediately following the write to the
Communications register will be interpreted as a read operation.
0 DISHPF 0 The HPF (High Pass Filter) in Channel 1 is disabled when this bit is set.
1 DISLPF2 0 The LPF (Low Pass Filter) after the multiplier (LPF2) is disabled when this bit is set.
2 DISCF 1 The Frequency output CF is disabled when this bit is set
3 DISSAG 1 The line voltage Sag detection is disabled when this bit is set
4 ASUSPEND 0 By setting this bit to logic one, both ADE7753's A/D converters can be turned off. In
normal operation, this bit should be left at logic zero. All digital functionality can be
stopped by suspending the clock signal at CLKIN pin.
5 TEMPSEL 0 The Temperature conversion starts when this bit is set to one. This bit is automatically
reset to zero when the Temperature conversion is finished.
6 SWRST 0 Software chip reset. A data transfer should not take place to the ADE7753 for at least 18µs
after a software reset.
7 CYCMODE 0 Setting this bit to a logic one places the chip in line cycle energy accumulation mode.
8 DISCH1 0 ADC 1 (Channel 1) inputs are internally shorted together.
9 DISCH2 0 ADC 2 (Channel 2) inputs are internally shorted together.
10 SWAP 0 By setting this bit to logic 1 the analog inputs V2P and V2N are connected to ADC 1 and
the analog inputs V1P and V1N are connected to ADC 2.
12, 11 DTRT1,0 00 These bits are used to select the Waveform Register update rate
DTRT 1 DTRT0 Update Rate
0 0 27.9kSPS (CLKIN/128)
0 1 14kSPS (CLKIN/256)
1 0 7kSPS (CLKIN/512)
1 1 3.5kSPS (CLKIN/1024)
14, 13 WAVSEL1,0 00 These bits are used to select the source of the sampled data for the Waveform Register
WAVSEL1,0 Length Source
0 0 24 bits Active Power signal (output of LPF2)
0 1 Reserved
1 0 24 bits Channel 1
1 1 24 bits Channel 2
15 POAM 0 Writing a logic one to this bit will allow only positive power to be accumulated in the
ADE7753. The default value of this bit is 0.
MODE REGISTER*
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 ADDR: 09H
POAM DISHPF
(Positive Only Accumulation) (Disable HPF in Channel 1)
WAVSEL DISLPF2
(Wave form selection for sample mode) (Disable LPF2 after multiplier)
00 = LPF2
01= Reserved DISCF
10 = CH1 (Disable Frequency output CF)
11 = CH2 DISSAG
DTRT (Disable SAG output)
(Waveform samples output data rate) ASUSPEND
00 = 27.9kSPS (CLKIN/128)
(Suspend CH1&CH2 ADC’s)
01 = 14.4 kSPS (CLKIN/256)
10 = 7.2 kSPS (CLKIN/512) STEMP
11 = 3.6 kSPS (CLKIN/1024) (Start temperature sensing)
SWRST
SWAP
(Software chip reset)
(Swap CH1 & CH2 ADCs)
CYCMODE
DISCH2
(Line Cycle Energy Accumulation Mode)
(Short the analog inputs on Channel 2)
DISCH1
(Short the analog inputs on Channel 1)
Table VII: Interrupt Status Register, Reset Interrupt Status Register & Interrupt Enable Register
Bit Interrupt
Location Flag Description
0h AEHF Indicates that an interrupt was caused by the 0 to 1 transition of the MSB of the Active
Energy register (i.e. the AENERGY register is half full)
1h SAG Indicates that an interrupt was caused by a SAG on the line voltage or no zero crossings were
detected.
2h CYCEND Indicates the end of energy accumulation over an integer number of half line cycles as
defined by the content of the LINECYC Register—see Line Cycle Energy Accumulation Mode
3h WSMP Indicates that new data is present in the Waveform Register.
4h ZX This status bit reflects the status of the ZX logic ouput—see Zero Crossing Detection
5h TEMP Indicates that a temperature conversion result is available in the Temperature Register.
6h RESET Indicates the end of a reset (for both software or hardware reset). The corresponding
enable bit has no function in the Interrupt Enable Register, i.e. this status bit is set at
the end of a reset, but it cannot be enabled to cause an interrupt.
7h AEOF Indicates that the Active Energy register has overflowed.
8h PKV Indicates that waveform sample from Channel2 has exceeded the VPKLVL value.
9h PKI Indicates that waveform sample from Channel1 has exceeded the IPKLVL value.
Ah VAEHF Indicates that an interrupt was caused by the 0 to 1 transition of the MSB of the Apparent
Energy register (i.e. the VAENERGY register is half full)
Bh VAEOF Indicates that the Apparent Enrgy register has overflowed.
Ch ZXTO Indicates that an interrupt was caused by a missing zero crossing on the line voltage for the
specified number of line cycles—see Zero Crossing Time Out
Dh PPOS Indicates that the power has gone from negative to positive.
Eh PNEG Indicates that the power has gone from positive to negative.
Fh RESERVED Reserved
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm)
0.295 (7.50)
0.271 (6.90)
20 11
0.301 (7.64)
0.212 (5.38)
0.205 (5.21)
0.311 (7.9)
1 10
8° 0.037 (0.94)
0.008 (0.203) 0.0256 0° 0.022 (0.559)
SEATING 0.009 (0.229)
(0.65)
0.002 (0.050) PLANE 0.005 (0.127)
BSC
AD7753
XRS
0240
K58207
1 10
ERRATA
1. SAGCYC
The contents of SAGCYC register is equivalent to
(SAGCYC-1). For example, if the desired number of
linecycles for SAG detection is 20d line cycles, one should
write 21d to the SAGCYC Register. This is not a silicon
bug.
2. CFNUM and CFDEN
CFNUM should always be less than CFDEN. The behav-
ior of the output frequency is not guaranteed for CF. This
is not a silicon bug.
Page 18
1. The phase calibration register resolution has changed to
0.048 from 0.024. This section calculations have been
changed to reflect this new resolution.
2. Figure 27 updated with new PHCAL range and delay
block rate.
Page 20
Figure 36 Timing was updated.
Page 21
1. The internal active energy accumulation register is 47 bits
instead of 53 bits. The equation also shows this change. This
change is also implemented in the equations of page 25 as
well as Figures 45 and 47 on page 25.
2. The maximum output frequency is changed to 23Hz.
3. Text added to explain CFNUM must be less than
CFDEN.
Page 22
1. Figure 39 shows the actual internal register length to be 47
bits. This change is also on page 23, Figure 41.
2. Line Cycle Energy accumulation mode section changed to
15 bits for LINECYC Register.
www.datasheetcatalog.com