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.

help in designing voltage comparator

Status
Not open for further replies.

mmnr00

Junior Member level 1
Junior Member level 1
Joined
Mar 8, 2010
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
sydney, australia
Activity points
1,391
ye guys,

I'm building a comparator with hysteresis using an opamp, and I follow whats in the datasheets (LM324). Below is the circuit diagram of my design, and the output signal wave. I need to build a comparator which output voltage is +2V and -2V, and the hysteresis value Vt=1V. From the datasheets, i found that this formula is used to calculate the value of the resistors.

Vt=(R1/(R2 + R1))* (Voh - Vol), Voh is 2V and Vol is -2V. From the calculation, I got R2/R1=3. I choose R2=300Ω and R1=100Ω.

The output voltage is not like what I was expected. The output voltage is amplified by the value of 3. This means that the circuit is not working as it should as I got an amplifier rather that a comparator. I try to figure it out for hours but still got no solution. My input voltage is set 5V, and my Vref is =0.

Hope you guys can help me. I'm totally lost here. Thanks in advance for any help!
 

So basically u building a schmitt triger...

Hmm I will try to simulate your circuit and see what is going wrong. Will take some time as I dont have my the software on this PC. Your calculation R2/R1=3 seems ok but make sure your op-amp is working in saturation mode.

Since your Vsat is +/-2V check you are connecting both supplies. You cannot work below 3v in single supply i guess. see datasheet

You are using Sin source as input or square wave?
Paste the schematics again if you have modified something..
 

hey i tried the circuit with saw toothed wave and ua 741. Then with lm324.. Find the document attached.

Also refer

The +vsat is not acheived .. that i have to look into why.. do some study n share the analysis...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top