Simple Methods ZCD PDF
Simple Methods ZCD PDF
Simple Methods ZCD PDF
I. INTRODUCTION
Proceedings of The 29th Annual Conference of the IEEE Industrial Electronics Society Paper # 000291
Fig. 2. Frequency and phase response of a 1st order Butterworth filter with
cutoff at 600 Hz.
( 1)
s = d (x (t ) )
( 2)
dt
= Am cos( t ) t = 0 volts / s
rad / sec
1
=
rad / volt or
Am volts / sec Am
180
angular per volt
Am
( 3)
Proceedings of The 29th Annual Conference of the IEEE Industrial Electronics Society Paper # 000291
the actual zero crossing with a 0.6752 angular degree per C
temperature coefficient. As (3) reveals, is inversely
proportional to signal amplitude. Hence for a 120 vac input
signal, the phases computed above will be only one tenth as
great.
D. Zero-Crossing Detection by Interpolation
The implementation used in this design identifies two
points on the sine wave: the first just before the positive going
zero crossing and the second just after the same zero crossing.
This implementation uses two optoisolators as shown in Fig. 3
to compensate for variations in level sensitivity and switching
time delays. Optoisolators with Schmitt triggered outputs are
used to provide additional hysteresis.
Input signals with constant frequency render delays due to
optoisolator output switching indistinguishable from delays
due to threshold levels. The interpolation method requires
additional processor resources to accurately determine when
two events occur. This usually requires that the processor have
interrupt capability and capture and compare resources. The
processor is programmed to capture the time of the times
when Out- optoisolator output goes high and the Out+
optoisolator output goes low. The true zero crossing is
computed by linear interpolation between these two times.
Fig. 4 shows that this method results in an improved degree of
accuracy. The Est. Zero shown in Fig. 4 is computed from
the phase-locked loop algorithm that estimates the next zero
crossing time.[5]
+5V
R1
`
D1
Out+
U1
+5V
R2
`
D2
OutU2
Out +
Out -
Est. Zero
R2
+5V
R0
Volts
0
-2
-4
-6
R1
+5V
D1
V1
D2
V2
Vc
Comparator
0.5
Time - ms
Proceedings of The 29th Annual Conference of the IEEE Industrial Electronics Society Paper # 000291
V 2 = 0 for Vc < 0
( 4)
5 ( R 0 + R1)
=
>
2
0
V
for
Vc
R 0 + R1 + R 2
R0
R 0 + R1
Vc( s ) = V 2( s )
R0 R1 C s + R1
R0 R1 C s + R0 + R1
Vc( s ) = V 2( s )
R1 C s
s
=
R1 C s + R1 s +
R0
R1
R2
+5V
D1
V1
D2
Vc
V2
Comparator
( 6)
+5V
( 5)
+5V
Proceedings of The 29th Annual Conference of the IEEE Industrial Electronics Society Paper # 000291
[4]
TLP2200 GaAlAs IRED & PHOTO isolated bus driver data sheet,
TOSHIBA SEMICONDUCTOR
[8]
Fig. 8. Expanded plot of the dynamic zero crossing detector for positive
output step
[2]
Olli Vainio and S.J. Ovaska, Digital Filtering for Robust Zero Crossing
Dectors, IEEE Transactions on Instrumentation and Measurements, April,
1996, pp 426-430.
[4] ]