Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
The first question is very vague but................in general terms, the failure rate is not related whether it is an opamp or a comparator.
To your second question: You can use an opamp as a comparator, and the web is filled with circuits doing so. But if you are using a generic plain vainilla opamp, it will be slower and the output voltage may not swing all the way up to the rail. My advice is when you have a "compare voltage" function, is to use a proper comparator device.
On the other hand, you CANNOT EVER use a comparator as an opamp.
My question is if replace an opamp in place of comparator might failure? opamp can cover comparator works but vice versus is not correct. Mostly comparator has opend drain output and work with digital circuit.
OPAMP:
It is designed to amplify analog input signals in a way that there is an analog signal on the output, too.
There always is a negtive feedback.
This means the voltage between both inputs is about zero.
The output is not saturated at the supply rails.
The output always is push-pull.
It may suffer form phase reversal if the input stage is overdriven.
It may suffer form high recovery time when input was overdriven.
Comparator:
It is designed for the output to switch, it is a digital output.
There is no negative feedback.
The voltage between both input may be large.
The output usually saturates at one of the supply rails.
The output may be open collector or push-pull.
A comparator used as an amplifier may suffer from instability.
Yes, english is not my mother english. The circuit not working and circuit failure has the same meaning in my question.
- - - Updated - - -
Opamp use amplify small signal,with large signal at the input it behave like the function of comparator. Opamp has finite gain in range of input, but comparator always has infinite gain.
Both an opamp and a comparator have circuits with very high voltage gain. The circuit produces phase shift at high frequencies which will cause the circuit to oscillate when negative feedback is used with an opamp so the opamp has a "frequency compensation" capacitor inside to reduce its gain at frequencies where phase shift causes the negative feedback to become positive feedback. A comparator is never used with negative feedback so it does not need a "frequency compensation" capacitor which would seriously slow down its switching. An opamp switches very slowly, a comparator switches very quickly.
A comparator is usually used with hysteresis which is a little added positive feedback so it has a '"snap action". With the positive feedback then its gain is infinite.
Op amps are for clean amplification at controlled gain (closed loop).
Comparators are for fast decisions, open loop.
An op amp in a comparator application will be slow (delay and
transition) and in many technologies, offer a poor logic level
(inappropriate altogether, or low noise margin).
A comparator in an op amp application will likely be unstable,
lacking any internal compensation. If you could stabilize it
you might still not like the crossover and slew rate asymmetry
distortion. Some comparators will draw high current and/or
chatter when you try to hold them linear (like ones with
CMOS output stages that have decent logic drive strength
in both directions).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.