How to make a comparator circuit

Thread Starter

paulepc

Joined Apr 2, 2014
55
The -15 is the result I get on the circuit simulator, don't know why.
The simulator switches the output from +12 to -12 volt.

Basically what I trying to solve is if the voltage going into the op amp drop below 1.2 volts

I need to disable the circuit. I thought I would pass the 1.2 to 3.2 into an op amp which would give me a maximum volts of approx +10 and a minimum as close to zero as I can get it.

then put that through a comparator that would shut the voltage down if the input drops below 1 volt.
 

Attachments

WBahn

Joined Mar 31, 2012
33,187
I'm totally confused. You say that the -15V is the output from the simulator and then immediately say that the simulator is switching the output from +12V to -12V. So which is it?

What do you mean by "shut down the voltage"? You have a comparator that is powered by +12V and -12V rails, so if the differential input voltage is positive, you should get something approaching +12V out and if the differential voltage is negative you should get an output approaching -12V. Why do you think that the voltage would be "shut down" and what does that even mean?

Perhaps you might start with a concise description of what you are trying to do. You have some input from somewhere and you need to produce some output in response. What is the that relationship supposed to be.
 

Thread Starter

paulepc

Joined Apr 2, 2014
55
Thanks for the comments, I will post a complete circuit tomorrow if that's ok I really need some import this the last part of the project.
The forum has been a big help. Really glad I joined.
 

Thread Starter

paulepc

Joined Apr 2, 2014
55
The project receives a PWM signal that goes through a u/Controller which outputs .5 volts to 3 volts this needs to be converted to +/- 10 volts to drive a motion controller driving servo motors. my circuit simulates what I need.

My problem is if there is no signal coming out of the u/controller I need the output to be zero volts, this makes sure the motion controller cannot move therefore safe.

So what I need is to disable the circuit or switch off the output and pull it to ground if the input drops below .5 volts

I am stuck on this I would really appreciate some help.

Paul
 

Attachments

Top