2800 views|4 replies

314

Posts

0

Resources
The OP
 

[Repost] What is the difference between an operational amplifier and a comparator? [Copy link]

The operational amplifier and comparator are similar in appearance and drawing symbols, so what are the differences between them and how to distinguish them in practical applications?
A comprehensive analysis based on the pictures and text will consolidate everyone's foundation and help engineers reach a higher level.
Let's take a look at their internal difference diagram:
From the internal diagram, we can see that the difference between the operational amplifier and the comparator lies in the output circuit. The operational amplifier uses a dual transistor push-pull output, while the comparator uses only one transistor, with the collector connected to the output terminal and the emitter grounded.
The comparator requires an external pull-up resistor from the positive power supply to the output terminal, which is equivalent to the collector resistance of the transistor.
The operational amplifier can be used for linear amplification circuits (negative feedback) and can also be used for nonlinear signal voltage comparison (open loop or positive feedback). Voltage comparators can only be used for signal voltage comparison and cannot be used in linear amplification circuits (comparators have no frequency compensation). Both can be used for signal voltage comparison, but comparators are designed as high-speed switches. They have faster conversion rates and shorter delays than operational amplifiers.
Operational amplifier
As a linear amplifier circuit, I will not say much here (there will be a need to discuss amplifiers separately in the future). This is very common in motherboard circuit diagrams. It is generally used in voltage stabilization circuits. Using a negative feedback circuit, it is combined with a transistor to be equivalent to a three-terminal voltage regulator, but it is more flexible to use. As shown below:
In many cases, you need to know which of two signals is larger, or when a signal exceeds a preset voltage (used as a voltage comparison). It is easy to build a simple circuit using an operational amplifier to achieve this function. When the V+ voltage is greater than the V- voltage, the output is a high level. When the V+ voltage is less than the V- voltage, the output is a low level. As shown below:
Analyze the circuit, 2.5v is divided by resistors to get 1V input to the V- terminal. When the bus voltage normally generates 1.2v, it is input to V+. At this time, the V+ voltage is higher than the V- voltage, and a high level is output to the EN start pin of the CPU power management chip. If the bus voltage is not output or is abnormally less than 1v, the V+ voltage is lower than the V- voltage, and a low level is output.
Voltage comparator
When the voltage at the non-inverting terminal (V+) of the comparator is lower than the voltage at the inverting terminal (V-), the output transistor is turned on and the output is grounded at a low level; when the voltage at the non-inverting terminal is higher than the inverting terminal, the output transistor is turned off and the power supply output through the pull-up resistor is a high level. As shown below:
Analyze the circuit. When the comparator U8A above has VCC output, it is divided by the voltage divider resistor and input to the in-phase terminal (V+). Its voltage is greater than the voltage of 5VSB input to the inverting terminal (V-) after voltage division. The internal transistor is turned off and the power supply 12v is output through the pull-up resistor (at the same time, the voltage of the in-phase terminal of the comparator U8B below is also greater than the inverting terminal, and the internal transistor is also turned off). The N-channel field transistor Q37 is turned on and outputs VCC5V. At the same time, the P-channel field transistor Q293 is turned off. Conversely, when the inverting terminal voltage is greater than the in-phase terminal voltage, the internal transistor is turned on, the pull-up power supply 12V is pulled down to a low level, the N-channel field transistor Q37 is turned off, and the P-channel field transistor Q293 is turned on and outputs 5VSB. This is the 5VDUAL generation circuit.
In practical applications, comparators need pull-up power, while operational amplifiers generally do not.
The essential difference between op amps and voltage comparators
(1) The main difference between amplifiers and comparators is the closed-loop characteristics!
Amplifiers mostly work in a closed-loop state, so they are required not to be self-excited after the closed loop. Comparators mostly work in an open-loop state and pursue speed. For low-frequency situations, amplifiers can completely replace comparators (pay attention to the output level). Conversely, comparators cannot be used as amplifiers in most cases.
Because the comparator is optimized for speed, this optimization reduces the closed-loop stability range. The op amp is optimized for the closed-loop stability range, so it reduces the speed. Therefore, comparators and amplifiers of the same price range should have their own responsibilities. Just as amplifiers can be used as comparators, it cannot be ruled out that comparators can also be used as amplifiers. But the price you pay to make it closed-loop stable may exceed adding an amplifier!
In other words, whether an op amp is used as a comparator or an amplifier depends on the depth of the circuit's negative feedback. Therefore, a shallow closed-loop comparator may work in the amplifier state and not self-excite. But a lot of tests must be done to ensure that it is stable under all working conditions of the product! At this time, you have to carefully calculate the cost/risk.
(2) Operational amplifiers and comparators are exactly the same. Simply put, comparators are open-loop applications of op amps, but comparators are designed for voltage threshold comparisons. They require precise comparison thresholds, short output edge rise or fall times after comparison, and outputs that comply with TTL/CMOS levels/or OC, etc. They do not require accuracy in the intermediate links, and their driving capabilities are also different. Generally speaking, when op amps are used as comparators, most of them cannot achieve full-scale output, or the edge time after comparison is too long. Therefore, it is better to use fewer op amps as comparators in designs.
Differences between op amps and comparators
Although comparators and op amps have the same symbols on circuit diagrams, there are significant differences between these two devices and they are generally not interchangeable. The differences are as follows:
1. The comparator has a fast flipping speed, approximately in the order of ns, while the op amp flipping speed is generally in the order of us (except for special high-speed op amps). 2. The op amp can be connected to the negative feedback circuit, while the comparator cannot use negative feedback. Although the comparator also has two input terminals, the in-phase and the inverting input terminals, it does not have a phase compensation circuit inside. Therefore, if negative feedback is connected, the circuit cannot work stably. There is no internal phase compensation circuit, which is also the main reason why the comparator is much faster than the op amp. 3. The output stage of the op amp generally adopts a push-pull circuit and a bipolar output. Most comparators have an open collector output stage, so a pull-up resistor is required, and the unipolar output is easy to connect to digital circuits. (3) The output of the comparator (LM339 and LM393) is an open collector (OC) structure, which requires a pull-up resistor to be able to output current. The output stage of the op amp is a push-pull structure with symmetrical current sourcing and sinking capabilities. In addition, in order to speed up the response speed, the comparator has very few intermediate stages and no internal frequency compensation. The op amp has added compensation circuits to meet the needs of working in the linear region. Therefore, the comparator (LM339 and LM393) is not suitable for use as an op amp. The op amp is mainly used in switching power supplies for feedback circuits, sampling and amplification of overcurrent protection, etc.
Source: Internet, please delete if infringed
25)](2) Operational amplifiers and comparators are exactly the same. Simply put, comparators are open-loop applications of op amps, but comparators are designed for voltage threshold comparisons. They require precise comparison thresholds, short output edge rise or fall times after comparison, and outputs that comply with TTL/CMOS levels/or OC, etc. They do not require accuracy in the intermediate links, and their driving capabilities are also different. Generally speaking, when op amps are used as comparators, most of them cannot achieve full-scale output, or the edge time after comparison is too long. Therefore, it is better to use fewer op amps as comparators in designs.
Differences between op amps and comparators
Although comparators and op amps have the same symbols on circuit diagrams, there are significant differences between these two devices and they are generally not interchangeable. The differences are as follows:
1. The comparator has a fast flipping speed, approximately in the order of ns, while the op amp flipping speed is generally in the order of us (except for special high-speed op amps). 2. The op amp can be connected to the negative feedback circuit, while the comparator cannot use negative feedback. Although the comparator also has two input terminals, the in-phase and the inverting input terminals, it does not have a phase compensation circuit inside. Therefore, if negative feedback is connected, the circuit cannot work stably. There is no internal phase compensation circuit, which is also the main reason why the comparator is much faster than the op amp. 3. The output stage of the op amp generally adopts a push-pull circuit and a bipolar output. Most comparators have an open collector output stage, so a pull-up resistor is required, and the unipolar output is easy to connect to digital circuits. (3) The output of the comparator (LM339 and LM393) is an open collector (OC) structure, which requires a pull-up resistor to be able to output current. The output stage of the op amp is a push-pull structure with symmetrical current sourcing and sinking capabilities. In addition, in order to speed up the response speed, the comparator has very few intermediate stages and no internal frequency compensation. The op amp has added compensation circuits to meet the needs of working in the linear region. Therefore, the comparator (LM339 and LM393) is not suitable for use as an op amp. The op amp is mainly used in switching power supplies for feedback circuits, sampling and amplification of overcurrent protection, etc.
Source: Internet, please delete if infringed
25)](2) Operational amplifiers and comparators are exactly the same. Simply put, comparators are open-loop applications of op amps, but comparators are designed for voltage threshold comparisons. They require precise comparison thresholds, short output edge rise or fall times after comparison, and outputs that comply with TTL/CMOS levels/or OC, etc. They do not require accuracy in the intermediate links, and their driving capabilities are also different. Generally speaking, when op amps are used as comparators, most of them cannot achieve full-scale output, or the edge time after comparison is too long. Therefore, it is better to use fewer op amps as comparators in designs.
Differences between op amps and comparators
Although comparators and op amps have the same symbols on circuit diagrams, there are significant differences between these two devices and they are generally not interchangeable. The differences are as follows:
1. The comparator has a fast flipping speed, approximately in the order of ns, while the op amp flipping speed is generally in the order of us (except for special high-speed op amps). 2. The op amp can be connected to the negative feedback circuit, while the comparator cannot use negative feedback. Although the comparator also has two input terminals, the in-phase and the inverting input terminals, it does not have a phase compensation circuit inside. Therefore, if negative feedback is connected, the circuit cannot work stably. There is no internal phase compensation circuit, which is also the main reason why the comparator is much faster than the op amp. 3. The output stage of the op amp generally adopts a push-pull circuit and a bipolar output. Most comparators have an open collector output stage, so a pull-up resistor is required, and the unipolar output is easy to connect to digital circuits. (3) The output of the comparator (LM339 and LM393) is an open collector (OC) structure, which requires a pull-up resistor to be able to output current. The output stage of the op amp is a push-pull structure with symmetrical current sourcing and sinking capabilities. In addition, in order to speed up the response speed, the comparator has very few intermediate stages and no internal frequency compensation. The op amp has added compensation circuits to meet the needs of working in the linear region. Therefore, the comparator (LM339 and LM393) is not suitable for use as an op amp. The op amp is mainly used in switching power supplies for feedback circuits, sampling and amplification of overcurrent protection, etc.
Source: Internet, please delete if infringed

This post is from Power technology

Latest reply

Thank you teacher  Details Published on 2019-2-3 17:42
 
 

333

Posts

0

Resources
2
 
I have learned a lot, thank you for your selfless dedication!
This post is from Power technology
 
 
 

1507

Posts

1

Resources
3
 
The output of the comparator (LM339 and LM393) is an open collector (OC) structure, which requires a pull-up resistor to have the ability to output current to the outside. The output stage of the op amp is a push-pull structure with symmetrical current sourcing and sinking capabilities. In addition, in order to speed up the response speed, the comparator has very few intermediate stages and no internal frequency compensation. The op amp has added a compensation circuit to meet the needs of working in the linear region. Therefore, the comparator (LM339 and LM393) is not suitable for use as an op amp. The op amp is mainly used in the feedback circuit, sampling and amplification of overcurrent protection, etc. in the switching power supply.
This post is from Power technology
 
 
 

63

Posts

0

Resources
4
 
Thank you for clearing up the confusion
This post is from Power technology
 
 
 

6

Posts

0

Resources
5
 
Thank you teacher
This post is from Power technology
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list