Professional Documents
Culture Documents
APPLICATION NOTE
One Technology Way • P.O. Box 9106 • Norwood, MA 02062-9106 • 781/329-4700 • World Wide Web Site: http://www.analog.com
INTRODUCTION
The AD7750 integrates two high resolution sigma-delta HPF DIGITAL F1
S -TO-
ADCs and the digital signal processing necessary to CH1 ADC
LPF FREQUENCY F2
AD7750
The real power calculation is derived from the instanta- ..101110..
ADC 1
neous power signal. The instantaneous power signal is PGA DIGITAL
..10110..
X -TO-
generated by a direct multiplication of the current and FREQUENCY
..101010..
voltage signals. In order to extract the real power compo- ADC 2
NEUTRAL
frequency conversion.
INSTANTANEOUS INSTANTANEOUS REAL
POWER SIGNAL POWER SIGNAL
cos(ω × t ) +
[ (
V × I × 1 + cos 2 × ω × t )] (1) V3I
2
cos(608 )
where:
p(t) = v(t) × i(t), CURRENT
608
p(t ) =
[
V × I cos(60 °) + cos(2 ωt – 60 °) ] Using Equations 2 and 3, the real power, P, can be
expressed in terms of its fundamental real power (P1) and
2
harmonic real power (PH).
P = P1 + PH
–2–
AN-545
where: the outputs F1 and F2 operate at a much lower frequency
P1 = V1 × I1cosφ1 significant averaging of the instantaneous real power
(4) signal is carried out. The result is a greatly attenuated
φ1 = α1 – β1
sinusoidal content and a virtually ripple free frequency
and
output.
∞
PH = ∑Vh × Ihcos φh F1
h =1
(5)
FREQUENCY
φh = αh − βh DIGITAL F1
V S -TO-
F2
FREQUENCY
LPF
Since we have already shown the real power calculation MULTIPLIER TIME
FOUT
to be valid in the case of a pure sinusoidal signal, the
I DIGITAL
FREQUENCY
same must hold true for each sinusoidal component of S -TO- FOUT
LPF TO PRESERVE FREQUENCY
the harmonic real power term. Hence the real power is REAL POWER
(DC TERM)
V3I
correctly computed for nonsinusoidal voltage and cur- 2
cos(2v3t)
rent waveforms. ATTENUATED TIME
BY LPF
–3–
AN-545
used. The active high logic output FOUT is used to drive an The output frequency at the basic current (Ib) of 5 A is
LED for calibration purposes. A calibration constant of calculated as follows:
3200 imp/kWhr will be used. This calibration constant of Meter Constant = 100 imp/kWhr
32× the meter constant (100 imp/kWhr) is selected by the
100 imp/hr = 0.02777 Hz
logic inputs FS, S1 and S0—see Table I in the AD7750 data
Watts at Ib = 5 A × 220 V = 1.1 kW
sheet.
Frequency at Ib = 0.02777 Hz × 1.1 = 0.03055 Hz
+5V
0005147 The shunt size selected is 400 µΩ; therefore, the rms
R f1 voltage signal on Channel 1 with a current of 5 A is easily
VDD F1
C f1
V1+
100imp/kWhr calculated as 400 µΩ × 5 A = 2 mV rms.
400mV F2
R f1 AD7750 3200imp/kWhr
V1– FOUT The gain in Channel 1 should be set to 16 to compensate
C f1
REVP for the small signal level across the shunt. The AD7750
REFIN G1 Mode 6 operation is selected by setting FS = S2 = 1 and
REFOUT ACDC S1 = 0. This selects a Power Measurement Mode and an
Ra Rc FS +5V
C f2
V2+ FOUT frequency that is 32 times the F1 and F2 frequency.
S2
R f2 S1
This will give the required meter calibration constant of
NEUTRAL
Rb XTAL
V2– 3200 imp/kWhr. The signal level on Channel 2 is calcu-
PHASE
3.5795MHz
C f2
33pF lated using the AD7750 equation. This will give the
AGND DGND
33pF
attenuation needed on the resistor divider network to
PSU +5V adjust the AD7750 output frequency to 100 imp/kWhr.
MOV
Freq = 0.03055 (Hz) @ Ib
220V V1 = 0.002 (Volts) @ Ib
–4–
AN-545
ALIASING EFFECTS
high enough so that the phase response variation at 50 Hz
is kept minimal. For example, with a +10% variation in
both the R and C values, the phase response at 50 Hz is
now –0.359°. This results in an increased phase lag of
0.062° at 50 Hz. The error seen in the power calculation
IMAGE due to this phase mismatch will be greatest at low PF
FREQUENCIES
(Power Factor). For example at PF = 0.5 the error would be
0 2k 450k 900k
FREQUENCY – Hz cos(60.062°)/cos(60°) × 100% = 0.2%.
Figure 7. Aliasing of High Frequency Components after This error is greatly reduced by selecting passive compo-
Sampling nents with tighter tolerance for the antialiasing networks.
The oversampling rate of the AD7750 is approximately 0
900 kHz. This means that frequencies above 450 kHz (i.e., 50Hz, –0.2978
the Nyquist frequency) are aliased after sampling. As can
be seen from Figure 7, only those frequencies near
900 kHz will appear in the band of interest (dc to
PHASE – Degrees
–0.2
2 kHz). Therefore, the function of the antialias filter is to
attenuated these high frequency components.
poor component tolerances etc. Figure 9. Phase Response of RC Filter (f –3 dB = 9.6 kHz)
— Phase Lag of 0.297° at 50 Hz
Phase Response of the Antialias Filters
By selecting a corner frequency of approximately 10 kHz Attenuation Network
an attenuation of some 40 dB is achieved at 1 MHz using The same phase matching concerns must be taken into
a simple RC filter. This should satisfy the antialias re- account when selecting components for the attenuation
quirements. The Magnitude and Phase responses of this network for Channel 2. First, the resistance values used
simple RC filter are shown in Figures 8 and 9. The corner must be large enough to reduce the power dissipation in
frequency of the filter is set at 9.6 kHz. the attenuation network. Second, care must be taken to
ensure that the frequency response of the attenuation
0
network is the same as the antialias filters used on
9.6kHz, –3dB
Channel 1.
–20
network due to calibration. The attenuation ratio is ad-
justed by varying Rb. Varying Rb will, of course, cause the
frequency response of the network to vary and this is
what must be minimized. The effective resistance of the
network is given by Rc plus the parallel combination of Ra
–40 and Rb. Because the required attenuation is always high
1 100 10k 1M
FREQUENCY – Hz
(1/663 is this case), the effective resistance is approxi-
mated by Rb + Rc if Rb << Ra. Now, by keeping Rb much
Figure 8. Magnitude Response of RC Filter
(f–3 dB = 9.6 kHz) smaller than Rc, the effect on the frequency response will
be minimized.
Figure 9 shows that the filter introduces a phase lag of
0.297° at 50 Hz. This phase lag is not significant if the The f–3 dB of the network is 9.6 kHz and this is achieved by
antialias filters on Channel 1 and Channel 2 are matched. using a 3.3 nF capacitor and an effective resistance
However, due to component tolerances etc., the f–3 dB may of 5 kΩ. Rc is chosen to be 4.5 kΩ and Rb is, therefore,
vary slightly from filter to filter. The f–3 dB is selected to be 500 Ω. In order to achieve the required attenuation Ra is
–5–
AN-545
selected to be 330 kΩ (Rb × 663). Note: Rb cannot be made Adjusting the resistance value in order to calibrate the
much smaller as this would mean a smaller value of Ra meter does affect the f–3 dB of the network. In the example
and increased power dissipation. shown the worst case phase error at 50 Hz is when the
effective resistance is at its highest value. For the ex-
Rf1 V1+ ample shown in Figure 11 the worst case effective resis-
Cf1 tance is 5.25 kΩ. The phase response is give by:
E3397–1–7/98
Rf1 V1–
–tan–1(2 × π × 50 Hz × 5.25 kΩ × 3.3 nF) = –0.312°
Cf1
H(f) = Rb 3 1
Rb + Ra 1 + sCR* Assuming an ideal phase lag of –0.297° on Channel 1, this
*R = Rc + Ra 3 Rb
H(f)
V2+
means a maximum error of 0.015° due to calibration. The
Ra* Rc* Rb + Ra
worst case power calculation error would be seen at
Rb* C
PF = 0.5,
NEUTRAL
V2–
PHASE
PHASE
PRINTED IN U.S.A.
Network
–6–