Window comparator- Opamp Configurations


The simple comparator circuit has one inherent problem: it can only tell us if one of the input voltages is higher than the other.

But what if you needed a circuit that tells us if a signal is within a range of values? you would need a circuit that tells you if the signal is higher than a minimum and if it also is lower than the maximum. The problem itself hints at the solution.

For a window comparator, we need one simple comparator set up just like the previous circuit: use the non inverting as reference and the inverting input as the signal entry. This comparator will set the maximum; if the signal goes higher than the reference the output will go negative, signaling an out of range (if we consider positive to be in range).

Another comparator is set by switching the reference and signal inputs, connecting the reference to the inverting input and the signal to the non inverting. If the signal is lower than the reference, the output will go negative, again indicating an out of range; this comparator sets the minimum.

When both opamp outputs go positive, it means that the signal is below the maximum and above the minimum, in other words, the signal is within the window of voltages you have defined.

There's one thing to consider with this configuration, when the signal is out of range, one of the opamps will go full negative (virtual connection to negative supply) and the other will be full positive (virtual connection to positive supply). This causes a short circuit condition that needs to be avoided as it could cause damage to the circuit or the supplies.

One way to protect from this condition is use diodes configured as the logic AND gate. This simply means to connect two diodes at the opamp outputs, connect both their anodes together and to the positive supply via a high value resistor.

What this does is that only when both opamps are at full positive (diodes' conduction blocked, basically disconnecting the opamps from the rest of the circuit) will the output be positive, held by the high value resistor.

When either opamp goes negative, the diode connected to it will be forward biased, basically connecting the output to ground; the other opamp is blocked from connecting to the output by the reverse biased diode (positive opamp output connected to cathode, negative to anode) and no short circuit condition occurs.

 
 
 

User Agreement and Disclaimer

User Agreement The creator of THIS PAGE or the ISP(s) hosting any content on this site take NO responsibility for the way you use the information provided on this site. These circuits here are for educational purposes only and SHOULD BE VIEWED ONLY. If you download any files to view them, you are agreeing to delete them within a 24 hour period. If you are affiliated with any government, or ANTI-Piracy group or any other related group or were formally a worker of one you CANNOT enter this web site, cannot access any of its files and you cannot view any of the HTML files. All the objects on this site are PRIVATE property and are meant for previewing only. If you enter this site without following these agreements you are not agreeing to these terms and you are violating code 431.322.12 of the Internet Privacy Act signed by Bill Clinton in 1995 and that means that you CANNOT threaten our ISP(s) or any person(s) or company storing these files, cannot prosecute any person(s) affiliated with this page which includes family, friends or individuals who run or enter this web site. IF YOU DO NOT AGREE TO THESE TERMS THEN LEAVE.

Disclaimer All files are found using legitimate search engine techniques. This site does not and will not condone hacking into sites to create the links it list. We will and do assume that all links found on the search engines we use are obtained in a legal manner and the webmasters are aware of the links listed on the search engines. If you find a URL that belongs to you, and you did not realize that it was "open to the public", please use the report button to notify the blogmaster [circuitsmag(at)gmail(dot)com] it will remove within 24 hours. This is not an invitation for webblog haters to spam with requests to remove content they feel that is objectionable and or unacceptable. Proof of URL ownership is required. NOTICE: This Blog Has Already Been Reviewed And Accepted By Blogger.com

Labels

2SA1216 (1) 2SC2922 (1) Amplifier (140) Bandpass (2) Basic Electronics (9) Bias Current (2) Car Audio (2) Circuits (273) Digital (1) Diode (1) Electronic Circuit (1) Gadgets (1) GPS (1) hack (1) Hexfet (1) How To (1) IRFP250 (1) IRFP9250 (1) LCD (1) LM1117 (1) LM1558 (1) LM1875 (1) LM2577 (1) LM339 (3) LM350 (1) LM3886 (2) LM3915 (1) LM723 (1) Microcontroller (8) Modding (1) Offset Voltage (2) Others (518) Phone (5) Power Amplifier (64) Rectifiers (12) TDA2030 (1) TDA7250 (1) TDA7313 (1)

Electronics

Electronic Circuits, Schematics, Hobby kits, Custom Electronics design & tutorials homepage. Tons of free working Electronic Circuits & Discusson forum with thousands of members to discuss anything about Electronics! electronic,circuits,diagrams,electronics, hobby, kits, tutorials, schematics, hobbyists Voltage sags and interruptions, transient overvoltages, fundamental of harmonics, applied harmonics, long duration voltage variation, power quality benchmarking, distributed generation and power quality, wiring and grounding, power quality monitoring, what is power quality, power quality power voltage, why are we concerned about power quality, the power quality evaluation procedure, who should use this book, need for a consistent vocabulary, general classes of power quality problems, transients, long duration voltage variation, Short-Duration Voltage Variations,Voltage Imbalance,Waveform Distortion, Voltage Fluctuation,Power Frequency Variations, Power Quality Terms,Ambiguous Terms, CBEMA and ITI Curves, Sources of Sags and Interruptions, Estimating Voltage Sag Performance, Fundamental Principles of Protection, Solutions at the End-User Level, Evaluating the Economics of Different Ride-Through Alternatives, Motor-Starting Sags, Utility System Fault-Clearing Issues, Sources of Transient Overvoltages, Principles of Overvoltage Protection, Devices for Overvoltage Protection, Utility Capacitor-Switching Transients, Utility System Lightning Protection, Managing Ferroresonance, Switching Transient Problems with Loads, Computer Tools for Transients Analysis,Harmonic Distortion,Voltage versus Current Distortion,Voltage versus Current Distortion, Harmonics versus Transients, Harmonic Indexes, Harmonic Sources from Commercial Loads, Harmonic Sources from Industrial Loads, Locating Harmonic Sources,System Response Characteristics, Effects of Harmonic Distortion,Interharmonics,Harmonic Distortion Evaluations, Principles for Controlling Harmonics,Where to Control Harmonics, Harmonic Studies, Devices for Controlling Harmonic Distortion, Harmonic Filter Design: A Case Study, Standards of Harmonics, Principles of Regulating the Voltage, Devices for Voltage Regulation, Utility Voltage Regulator Application, Capacitors for Voltage Regulation, Power Quality Monitoring Standards,Application of Intelligent Systems, Assessment of Power Quality Measurement Data, Power Quality Measurement Equipment, Historical Perspective of Power Quality Measuring Instruments,Monitoring Considerations,Solutions to Wiring and Grounding Problems, Typical Wiring and Grounding Problems,Reasons for Grounding, Interconnection Standards, Siting DGDistributed Generation, http://tinyurl.com/2fwls3

LINKS

free counters Site Meter Electronic circuits, kits, do-it-yourself, circuit diagrams, design and electronics hobby schematics electronic,circuits,diagrams,electronics,hobby,kits,tutorials schematics,hobbyists Science Blogs Technology blogs