Comparator Using an Op Amp Not Simulating Properly

I'm trying to model a comparator circuit we had to build for a lab in my Electronics and Circuits course using an op-amp and potentiometer.

My understanding is that varying the value of the potentiometer causes the op-amp to saturate towards one of the rail voltages - the first LED lighting up with positive voltage, and the second LED lighting up with negative voltage. However, I can't seem to get the simulator to model this output.

Can anyone help clarify where I've gone wrong? I'm using the DC Sweep to vary the R1.K value from 0 - 1 with 0.1 steps, but the voltage at Vo1 stays around 14.9V.

The circuit, from what I can see, matches our schematic diagram. Is there a limitation to the software or am I doing something wrong?

by CubanitaChilena
August 27, 2013

Ah I've solved the problem. I overlooked a resistor value. Thank you to anyone who took the time to read through this post.

by CubanitaChilena
August 27, 2013

Post a Reply

Please sign in or create an account to comment.

Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.