[SOLVED] How to compare multiple voltages ( II )

Status
Not open for further replies.
If you look at the simulation op amp output you will see that it goes to near the negative rail when it is not high. That may work in simulation, but it will likely zap the comparator input in real life.

As I previously said you need to use a "single supply" type op amp (such as the LT1079). The common-mode input voltage range and the output voltage range determine whether the op amp is a single-supply type device or not. A common single supply op amp is the LM324.
 


I have been using an interactive simulator found at the falstad.com website.

The link below will open the website and bring in the specs to my schematic. It will run on your computer.

Click Allow to permit the connection. The second input has the potentiometer adjust. Slide the trackbar at the right to change it.

Right click on items you want to edit. A window will open.

The op amps can be edited. You determine single or bipolar supply operation, by typing in a minimum and maximum output voltage.

https://tinyurl.com/9rx26ch

If you hover over the op amps, you'll see each has a range of 0 to 5 V. However the outputs go slightly into the negative. I guess no simulator is perfect.
 

True. But the falstad simulator is likely a simple simulation program with simplified models and thus is likely to have inaccuracies in its results. A Spice type simulator, such as LTspice, which is a complex and mature simulator program generally would give more accurate results.
 

Get it, many thanks.



- - - Updated - - -

It is a cool simulator, thanks for introducing.


 


the circuits works ! in real world~

- - - Updated - - -

thanks you guys all


 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…