AN-750 Application Note: ADE7758 Phase Dropout Detection For VAR Calculation
AN-750 Application Note: ADE7758 Phase Dropout Detection For VAR Calculation
AN-750 Application Note: ADE7758 Phase Dropout Detection For VAR Calculation
APPLICATION NOTE
One Technology Way • P.O. Box 9106 • Norwood, MA 02062-9106 • Tel: 781/329-4700 • Fax: 781/326-8703 • www.analog.com
MAGNITUDE (dB)
The ADE7758 measures the line frequency of one phase
at a time. If a phase drops out, the line frequency 2
measurement on that phase can be incorrect due to
offset or noise causing erroneous zero-crossing detection. 1
Compensation for reactive power calculation is based
on the line frequency measurement of one phase. If the 0
phase used for frequency measurement drops out, this
can induce error to the reactive power calculation of the –1
40 45 50 55 60 65 70
other phases. To solve this problem, the meter needs FREQUENCY (Hz)
to detect the phase dropout and switch the frequency
Figure 1. Magnitude Response
measurement to an active phase. The phase used for
89.80
frequency measurement can be changed using Bit 0 to
Bit 1 in the measurement mode register (MMODE [7:0],
89.85
Address 0x14). Table I shows the setting of the two
bits, MMODE [1: 0] , for dif ferent phase frequency
89.90
measurement.
PHASE (Degrees)
1 0 C
90.10
40 45 50 55 60 65 70
FREQUENCY (Hz)
VAR CALCULATION Figure 2. Phase Response
Reactive power is defined as the product of the voltage
and current waveforms when one of these signals is ZERO-CROSSING TIMEOUT
phase shifted by 90°. There is a phase-shift filter in the The ADE7758 measures the line frequency using zero-
ADE7758 that introduces a 90° phase shift in the current crossing detection circuits. Refer to the Zero-Crossing
channel of the reactive energy datapath. The magnitude Detection section in the data sheet for more details
and phase response of the phase-shift filter is shown about zero-crossing detection.
in Figure 1 and Figure 2, respectively. Because the
REV. 0
AN-750
The ADE7758 has a zero-crossing timeout interrupt for is set to 6, the SAG event is recorded at the end of the
each phase. If no zero crossing is detected for a time sixth half cycle. In conjunction with ZXTOUT, SAG can be
period determined by the zero-crossing timeout regis- used to detect when a phase has dropped out.
ter (ZXTOUT [15:0], Address 0x1B), the corresponding
zero-crossing timeout detection bit in the interrupt status VAP, VBP, OR VCP
–2– REV. 0
AN-750
The steps to implement this phase dropout detection 2. Monitor the voltage rms value.
method are outlined as follows:
We can read voltage rms registers periodically.
• Set ZXTOUT register, i.e., 0x12C(300d) for CLKIN of When a phase drops out, the voltage rms register
10 MHz and line frequency of 50 Hz. value of that phase is very small. If the phase used
• Set SAGCYC register to a small value, i.e., 0x05. for frequency measurement drops out, change the
frequency measurement to an active phase by setting
• Set SAGLVL to a value larger than possible noise but
the MMODE register according to Table I. However,
smaller than the lowest expected value during normal
this method is not recommended because continuously
operation, i.e., half full-scale value.
reading the voltage rms register may use a lot of system
• Set Bit 3 to Bit 8 in the MASK register to enable SAG resources and power consumption.
and ZXTO interrupts for all three phases.
• When an interrupt is detected, read the reset interrupt
status register (RSTATUS [19:0], Address 0x1A) to
find out which phase drops out by looking at the SAG
and ZXTO bits.
• Switch the frequency measurement to an active
phase by setting the MMODE register according to
Table I.
• Exclude the dropped phase from zero - crossing
detection by changing Bit 3 to Bit 5 in the LCYCMODE
register.
REV. 0 –3–
AN05137–0–1/05(0)
© 2005 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners.
–4–