Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Window comparator outputs

Status
Not open for further replies.

Kisen

Member
Hi

Below is a schematic of a window comparator.
I followed this schematic from one i found online.

As i understood it, when the input voltage was within the window, both outputs from IC4/IC5 would be high. Leaving the window on either side results in that opamp output going low.

In this circuit, i get the opposite behaviour. IC4/IC5 are output low, until leaving the window when one goes high.
This results in the NAND gate not being appropriate. An OR gate will be needed here instead.

My confusion is why, based on this schematic, do the outputs remain low while inside the window?

Thanks in advance for your help.

1646477428414.png
 
Hi

Below is a schematic of a window comparator.
I followed this schematic from one i found online.

As i understood it, when the input voltage was within the window, both outputs from IC4/IC5 would be high. Leaving the window on either side results in that opamp output going low.

In this circuit, i get the opposite behaviour. IC4/IC5 are output low, until leaving the window when one goes high.
This results in the NAND gate not being appropriate. An OR gate will be needed here instead.

My confusion is why, based on this schematic, do the outputs remain low while inside the window?

Thanks in advance for your help.

View attachment 136031

Do yourself a favor and use real comparators, like LM339, instead of opamps.
Then you won't need a gate.
 
What behavior do you want?
Then you won't need a gate.
The reason for that is most common comparators have an open-collector output, so can be wired together with one pull-up resistor to give an AND output function.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top