## differential circuit

10 posts / 0 new
Author
Message

hi every body
excuse me i'dont speak english well! :oops:
if i chose incorrect suject for my prablem excuse me!
i want to detect zero crossing point of a Sinusoidal signal with this circute that see under :
i simulated in proteus and it work corectly but i don't sure that is work in fact
fils of proteus : zero_detector2.rar
and pictures :

[/url]

Looks OK.
Will possibly require input AC conditioning and input protection. Depends of the AC source, of cause.

Quote:
i don't sure that is work in fact
Then build the circuit and try it out. Dump Proteus :)

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

Quote:
Will possibly require input AC conditioning and input protection. Depends of the AC source, of cause.

what condition and protection?

mojtaba_led wrote:
Quote:
Will possibly require input AC conditioning and input protection. Depends of the AC source, of cause.

what condition and protection?
Depends upon the AC condition/specifications. If it is 230 VAC 50Hz you will need a different approach compared with if it is 5 VAC.

Ross McKenzie, Melbourne Australia

thank you
no it can be 1mv ac to 5v ac i'm using a transformer and a resistor divider to scale down in Interval 0 to 5 vac

At 1mv, you will have problems as many comparators have an input offset of several millivolts. You will need a comparator with less than 1mv offset. An LM324 will not meet that spec.

Be careful about the input voltage range. I don't believe that a LM324 will handle 5V AC input with +/-5V supplies. And, are those voltages RMS or peak?

Its not clear what the function of the two buffers is. Any micro input will handle the clipped comparator output just fine without the buffers.

Jim

Until Black Lives Matter, we do not have "All Lives Matter"!

thank you very much for answer

Quote:
are those voltages RMS or peak?

those are peak

Quote:
Its not clear what the function of the two buffers is.

i used these to receive better pulse whitout Distortion
and the first gate is 40106 that is a shmit triger not and the second gate is 4009 that is a not

This circuit will NOT work so well. An LM324 is an op-amp, not a comparator. If you use a comparator with an open-collector output, such as an LM339, you won't need that terrible diode network. Simply connect the output transistor's emitter to ground. You also will not need the Schmitt trigger and the other buffer.

However, almost all of these low-cost comparators and op-amps have offset voltages as high as 3mV (sometimes larger). This means that the signal must be at least 3mv in order to trip the comparator, and better 6mV.

Jim

Until Black Lives Matter, we do not have "All Lives Matter"!