Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Will this zero crossing detector work in real?

Status
Not open for further replies.

Rafique Abdullah

Newbie level 2
Joined
May 17, 2014
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
12
I designed this zero crossing detector circuit.
ZCD_OPAmp_Comp_1.png
Simulation:
zcd_opamp_comp_1sim.png
Will this circuit work practically?
I required your feedback.
Thanks.
 

It should work but the square-wave won't be exactly at the zero crossing due to the forward voltage drop of the diode.

If you are concerned about eliminating the negative half of the waveform then couple the signal through a series resistor (≈10kΩ) and use a diode (cathode to ground) to clamp the voltage. Also connect the minus input to ground to detect the zero point.

It will also only work at low frequencies due to the low frequency response of the op amp. For higher frequencies you can use a comparator (such as an LM339) instead of an op amp.

What will the input signal voltage and frequency be in the real circuit?
 

Thanks for your reply.
I corrected as you told and circuit is working fine Now.
Its input will be 5Volt and 50 Hz. connected to output of CT, and PT. Its output will be connected to PIC Interrupt pins.

- - - Updated - - -

Zero crossing detector Circuit.
ZCD_OPAmp_Comp_2.png
Simulation:
zcd_opamp_comp_2sim.png
 

The output of a LM358 is a totem pole, when powered by 5v it will only swing to about 3.5 volts. Depending on the controller's logic thresholds, this will only provide a borderline logic high.

Use a LM393 instead. It has the exact same pinout as a LM358. Since it is an open collector output, you have to use an external resistor to 5v, and will swing accordingly.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top