Path: EDN Asia >> Design Ideas >> IC/Board/Systems Design >> Zero-crossing detector with few high-voltage parts
IC/Board/Systems Design Share print

Zero-crossing detector with few high-voltage parts

18 Mar 2013  | Luca Matteini

Share this page with your friends

The circuit in this article generates a zero-crossing pulse off the ac mains and provides galvanic isolation. The falling edge of the output pulse happens at approximately 200µsec before the zero crossing. You can use the circuit to safely stop the triggering of a thyristor gate, giving it time to properly turn off. The circuit generates short pulses only when the mains voltage is approximately 0V, thereby dissipating only 200 mW at 230V and a 50Hz input.


The circuit charges capacitor C1 up to the limit that 22V zener diode D3 creates (figure 1 and reference 1). You limit the input current with resistors R1 and R5. As the input-rectified voltage drops below the C1Vage, Q1 starts conducting and generates a pulse a few hundreds of microseconds long. The coupling of IC1 makes the response of Q1 squarer. The rms operating voltage dictates the only requirement for R1 and R5. SMD, 1206-size resistors typically withstand 200V-rms operation. This design splits the input voltage between R1 and R5, for a total rating of 400V rms. D3 limits the voltage across the bridge to 22V so that all of the subsequent components can have lower voltage ratings. A 22V zener diode can clamp as high as 30V, so this design uses a 50V, 470-nF ceramic capacitor. Ceramic capacitors have better reliability than electrolytic or tantalum capacitors, especially at higher temperatures. If you prefer a cheaper and smaller 25V part, you can change the zener diode's voltage to 18V and still have a good margin for safety. Use R4 to limit the peak current in the LED. The primary limit on the LED current is the slope of the rectified ac input. The gradual slope doesn't let Q1 generate current spikes when it discharges C1's stored energy.


You can simulate the operation of the circuit in LTspice Version IV (figure 2 and reference 2). With a 230V input at 50Hz, the simulation shows a 17-mA peak in the optocoupler LED. The simulation gives good results with inputs of 90 to 250V, both at 50 and 60Hz. At 110V and a 60Hz input, the LED current peak is 8.5 mA, so IC1 still works. If you need higher LED-drive currents, you can reduce the value of R3 or increase the value of C1.


Testing a physical circuit shows good correlation with the simulation (figure 3). Driving the isolated output from a 5V logic supply yields a good pulse waveform (Trace 1). The mains input is fed to the scope with a 15V isolation transformer for safety (Trace 2). You can use the persistence feature of the oscilloscope to show the zero-crossing point when zooming in to the transition (figure 4). This approach allows you to accurately measure the pulse timing relative to the input zero crossing.


References
1. Demchenko, Peter, "Improved optocoupler circuits reduce current draw, resist LED aging," EDN, Dec 14, 2007, pg 60.
2. "LTspice IV," Linear Technology Corp.


About the author
Luca Matteini is from Agliana, Italy.

To download the PDF version of this article, click here.




Want to more of this to be delivered to you for FREE?

Subscribe to EDN Asia alerts and receive the latest design ideas and product news in your inbox.

Got to make sure you're not a robot. Please enter the code displayed on the right.

Time to activate your subscription - it's easy!

We have sent an activate request to your registerd e-email. Simply click on the link to activate your subscription.

We're doing this to protect your privacy and ensure you successfully receive your e-mail alerts.


Add New Comment
Visitor (To avoid code verification, simply login or register with us. It is fast and free!)
*Verify code:
Tech Impact

Regional Roundup
Control this smart glass with the blink of an eye
K-Glass 2 detects users' eye movements to point the cursor to recognise computer icons or objects in the Internet, and uses winks for commands. The researchers call this interface the "i-Mouse."

GlobalFoundries extends grants to Singapore students
ARM, Tencent Games team up to improve mobile gaming


News | Products | Design Features | Regional Roundup | Tech Impact