Operational amplifier: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>Kvng
review: repos ref. rm rep. ce for clarity.
 
imported>Sbb
Internal circuitry of 741-type op amp: using more appropriate fields in {{cite web}} to document extra citation info
Line 28: Line 28:
==Operation==
==Operation==
[[Image:Op-amp open-loop 1.svg|thumb|An op amp without negative feedback (a comparator)]]
[[Image:Op-amp open-loop 1.svg|thumb|An op amp without negative feedback (a comparator)]]
The amplifier's differential inputs consist of a non-inverting input (+) with voltage ''V<sub>+</sub>'' and an inverting input (&minus;) with voltage ''V<sub>&minus;</sub>''; ideally the op amp amplifies only the difference in voltage between the two, which is called the ''differential input voltage''. The output voltage of the op amp ''V''<sub>out</sub> is given by the equation
The amplifier's differential inputs consist of a non-inverting input (+) with voltage {{math|''V''<sub>+</sub>}} and an inverting input (&minus;) with voltage {{math|''V''<sub>&minus;</sub>}}; ideally the op amp amplifies only the difference in voltage between the two, which is called the ''differential input voltage''. The output voltage of the op amp {{math|''V''<sub>out</sub>}} is given by the equation
:<math>V_\text{out} = A_\text{OL} (V_+ - V_-),</math>
<math display=block>V_\text{out} = A_\text{OL} (V_+ - V_-),</math>
where ''A''<sub>OL</sub> is the [[Electronic feedback loops|open-loop]] gain of the amplifier (the term "open-loop" refers to the absence of an external feedback loop from the output to the input).
where {{math|''A''<sub>OL</sub>}} is the [[Electronic feedback loops|open-loop]] gain of the amplifier (the term "open-loop" refers to the absence of an external feedback loop from the output to the input).


=== Open-loop amplifier ===
=== Open-loop amplifier ===
The magnitude of ''A''<sub>OL</sub> is typically very large (100,000 or more for integrated circuit op amps, corresponding to +100&nbsp;[[Decibel|dB]]). Thus, even small microvolts of difference between ''V''<sub>+</sub> and ''V''<sub>&minus;</sub> may drive the amplifier into [[Clipping (signal processing)|clipping]] or [[Saturation current|saturation]]. The magnitude of ''A''<sub>OL</sub> is not well controlled by the manufacturing process, and so it is impractical to use an open-loop amplifier as a stand-alone [[differential amplifier]].
The magnitude of {{math|''A''<sub>OL</sub>}} is typically very large (100,000 or more for integrated circuit op amps, corresponding to +100&nbsp;[[Decibel|dB]]). Thus, even small microvolts of difference between {{math|''V''<sub>+</sub>}} and {{math|''V''<sub>&minus;</sub>}} may drive the amplifier into [[Clipping (signal processing)|clipping]] or [[Saturation current|saturation]]. The magnitude of {{math|''A''<sub>OL</sub>}} is not well controlled by the manufacturing process, and so it is impractical to use an open-loop amplifier as a stand-alone [[differential amplifier]].


Without [[negative feedback amplifier|negative feedback]], and optionally [[positive feedback]] for [[Regenerative circuit|regeneration]], an ''[[Electronic feedback loops|open-loop]]'' op amp acts as a [[comparator]], although comparator ICs are better suited.<ref>{{Cite web |last=Bryant |first=James |date=2011 |title=Application Note AN-849: Using Op Amps as Comparators |url=https://www.analog.com/media/en/technical-documentation/application-notes/AN-849.pdf |url-status=live |archive-url=https://web.archive.org/web/20230202080015/https://www.analog.com/media/en/technical-documentation/application-notes/AN-849.pdf |archive-date=2023-02-02}}</ref> If the inverting input is held at ground (0&nbsp;V), and the input voltage ''V''<sub>in</sub> applied to the non-inverting input is positive, the output will be maximum positive; if ''V''<sub>in</sub> is negative, the output will be maximum negative.  
Without [[negative feedback amplifier|negative feedback]], and optionally [[positive feedback]] for [[Regenerative circuit|regeneration]], an ''[[Electronic feedback loops|open-loop]]'' op amp acts as a [[comparator]], although comparator ICs are better suited.<ref>{{Cite web |last=Bryant |first=James |date=2011 |title=Application Note AN-849: Using Op Amps as Comparators |url=https://www.analog.com/media/en/technical-documentation/application-notes/AN-849.pdf |url-status=live |archive-url=https://web.archive.org/web/20230202080015/https://www.analog.com/media/en/technical-documentation/application-notes/AN-849.pdf |archive-date=2023-02-02}}</ref> If the inverting input of an ideal op amp is held at ground (0&nbsp;V), and the input voltage {{math|''V''<sub>in</sub>}} applied to the non-inverting input is positive, the output will be maximum positive; if {{math|''V''<sub>in</sub>}} is negative, the output will be maximum negative.  


=== Closed-loop amplifier ===
=== Closed-loop amplifier ===
[[Image:Operational amplifier noninverting.svg|thumb|An op amp with negative feedback (a non-inverting amplifier)]]
[[Image:Operational amplifier noninverting.svg|thumb|An op amp with negative feedback (a non-inverting amplifier)]]


If predictable operation is desired, negative feedback is used, by applying a portion of the output voltage to the inverting input. The ''closed-loop'' feedback greatly reduces the gain of the circuit. When negative feedback is used, the circuit's overall gain and response is determined primarily by the feedback network, rather than by the op-amp characteristics. If the feedback network is made of components with values small relative to the op amp's input impedance, the value of the op amp's open-loop response ''A''<sub>OL</sub> does not seriously affect the circuit's performance. In this context, high input [[Electrical impedance|impedance]] at the input terminals and low output impedance at the output terminal(s) are particularly useful features of an op amp.  
If predictable operation is desired, negative feedback is used, by applying a portion of the output voltage to the inverting input. The ''closed-loop'' feedback greatly reduces the gain of the circuit. When negative feedback is used, the circuit's overall gain and response is determined primarily by the feedback network, rather than by the op-amp characteristics. If the feedback network is made of components with values small relative to the op amp's input impedance, the value of the op amp's open-loop response {{math|''A''<sub>OL</sub>}} does not seriously affect the circuit's performance. In this context, high input [[Electrical impedance|impedance]] at the input terminals and low output impedance at the output terminal(s) are particularly useful features of an op amp.  


The response of the op-amp circuit with its input, output, and feedback circuits to an input is characterized mathematically by a [[transfer function]]; designing an op-amp circuit to have a desired transfer function is in the realm of [[electrical engineering]]. The transfer functions are important in most applications of op amps, such as in [[analog computers]].
The response of the op-amp circuit with its input, output, and feedback circuits to an input is characterized mathematically by a [[transfer function]]; designing an op-amp circuit to have a desired transfer function is in the realm of [[electrical engineering]]. The transfer functions are important in most applications of op amps, such as in [[analog computers]].


In the non-inverting amplifier on the right, the presence of negative feedback via the [[voltage divider]] ''R''<sub>f</sub>, ''R''<sub>g</sub> determines the ''closed-loop gain'' ''A''<sub>CL</sub>&nbsp;= {{nowrap|''V''<sub>out</sub> / ''V''<sub>in</sub>}}. Equilibrium will be established when ''V''<sub>out</sub> is just sufficient to pull the inverting input to the same voltage as ''V''<sub>in</sub>. The voltage gain of the entire circuit is thus {{nowrap|1 + ''R''<sub>f</sub> / ''R''<sub>g</sub>}}. As a simple example, if ''V''<sub>in</sub>&nbsp;= 1&nbsp;V and R<sub>f</sub>&nbsp;= ''R''<sub>g</sub>, ''V''<sub>out</sub> will be 2&nbsp;V, exactly the amount required to keep ''V''<sub>&minus;</sub> at 1&nbsp;V. Because of the feedback provided by the ''R''<sub>f</sub>, ''R''<sub>g</sub> network, this is a ''closed-loop'' circuit.
In the non-inverting amplifier on the right, the presence of negative feedback via the [[voltage divider]] {{math|''R''<sub>f</sub>}}, {{math|''R''<sub>g</sub>}} determines the ''closed-loop gain'' {{math|1= ''A''<sub>CL</sub> = ''V''<sub>out</sub> / ''V''<sub>in</sub>}}. Equilibrium will be established when {{math|''V''<sub>out</sub>}} is just sufficient to pull the inverting input to the same voltage as {{math|''V''<sub>in</sub>}}. The voltage gain of the entire circuit is thus {{math|1 + ''R''<sub>f</sub> / ''R''<sub>g</sub>}}. As a simple example, if {{math|1= ''V''<sub>in</sub> = 1 V}} and {{math|1= R<sub>f</sub> = ''R''<sub>g</sub>}}, {{math|''V''<sub>out</sub>}} will be 2&nbsp;V, exactly the amount required to keep {{math|''V''<sub>&minus;</sub>}} at 1&nbsp;V. Because of the feedback provided by the {{math|''R''<sub>f</sub>}}, {{math|''R''<sub>g</sub>}} network, this is a ''closed-loop'' circuit.


Another way to analyze this circuit proceeds by making the following (usually valid) assumptions:<ref>{{cite book |first=Jacob |last=Millman |title=Microelectronics: Digital and Analog Circuits and Systems |publisher=McGraw-Hill |date=1979 |isbn=0-07-042327-X |pages=[https://archive.org/details/microelectronics00mill_0/page/523 523–527] |url=https://archive.org/details/microelectronics00mill_0/page/523 }}</ref>
Another way to analyze this circuit proceeds by making the following (usually valid) assumptions:<ref>{{cite book |first=Jacob |last=Millman |title=Microelectronics: Digital and Analog Circuits and Systems |publisher=McGraw-Hill |date=1979 |isbn=0-07-042327-X |pages=[https://archive.org/details/microelectronics00mill_0/page/523 523–527] |url=https://archive.org/details/microelectronics00mill_0/page/523 }}</ref>
Line 50: Line 50:
# The input impedance of the (+) and (&minus;) pins is much larger than other resistances in the circuit.
# The input impedance of the (+) and (&minus;) pins is much larger than other resistances in the circuit.


The input signal ''V''<sub>in</sub> appears at both (+) and (&minus;) pins per assumption 1, resulting in a current ''i'' through ''R''<sub>g</sub> equal to {{nowrap|''V''<sub>in</sub> / ''R''<sub>g</sub>}}:
The input signal {{math|''V''<sub>in</sub>}} appears at both (+) and (&minus;) pins per assumption 1, resulting in a current {{mvar|i}} through {{math|''R''<sub>g</sub>}} equal to {{math|''V''<sub>in</sub> / ''R''<sub>g</sub>}}:
<math display=block>i = \frac{V_\text{in}}{R_\text{g}}</math>
<math display="block">i = \frac{V_\text{in}}{R_\text{g}}.</math>


Since Kirchhoff's current law states that the same current must leave a node as enter it, and since the impedance into the (&minus;) pin is near infinity per assumption 2, we can assume practically all of the same current ''i'' flows through ''R''<sub>f</sub>, creating an output voltage
Because Kirchhoff's current law states that the same current must leave a node as enter it, and because the impedance into the (&minus;) pin is near infinity per assumption 2, we can assume practically all of the same current {{mvar|i}} flows through {{math|''R''<sub>f</sub>}}, creating an output voltage
<math display=block>V_\text{out} = V_\text{in} + iR_\text{f} = V_\text{in} + \left(\frac{V_\text{in}}{R_\text{g}} R_\text{f}\right) = V_\text{in} + \frac{V_\text{in}R_\text{f}} {R_\text{g}} = V_\text{in} \left(1 + \frac{R_\text{f}}{R_\text{g}}\right)</math>
<math display="block">V_\text{out} = V_\text{in} + iR_\text{f} = V_\text{in} + \left(\frac{V_\text{in}}{R_\text{g}} R_\text{f}\right) = V_\text{in} + \frac{V_\text{in}R_\text{f}} {R_\text{g}} = V_\text{in} \left(1 + \frac{R_\text{f}}{R_\text{g}}\right).</math>


By combining terms, we determine the closed-loop gain ''A''<sub>CL</sub>:
By combining terms, we determine the closed-loop gain {{math|''A''<sub>CL</sub>}}:
<math display=block>A_\text{CL} = \frac{V_\text{out}}{V_\text{in}} = 1 + \frac{R_\text{f}}{R_\text{g}}</math>
<math display="block">A_\text{CL} = \frac{V_\text{out}}{V_\text{in}} = 1 + \frac{R_\text{f}}{R_\text{g}}.</math>


==Op-amp characteristics==
==Op-amp characteristics==
Line 66: Line 66:
An ideal op amp is usually considered to have the following characteristics:<ref>{{cite web |url=http://www.ti.com.cn/cn/lit/an/slaa068b/slaa068b.pdf |title=Understanding Basic Analog – Ideal Op Amps |url-status=live |archive-url=https://web.archive.org/web/20161227060510/http://www.ti.com.cn/cn/lit/an/slaa068b/slaa068b.pdf |archive-date=2016-12-27 }}</ref><ref>{{cite web |url=http://research.cs.tamu.edu/prism/lectures/iss/iss_l5.pdf |title=Lecture 5: The ideal operational amplifier |url-status=dead |archive-url=https://web.archive.org/web/20161123045824/http://research.cs.tamu.edu/prism/lectures/iss/iss_l5.pdf |archive-date=2016-11-23 |access-date=2016-12-26 }}</ref><ref>{{Cite book |last=Schlaepfer |first=Eric |url=https://tubetime.us/wp-content/uploads/2018/10/Ideal-Op-Amp-Datasheet.pdf |title=IC01 Ideal Operational Amplifier |publisher=Perfect Semiconductor |year=2018 |access-date=2022-12-20}}</ref>
An ideal op amp is usually considered to have the following characteristics:<ref>{{cite web |url=http://www.ti.com.cn/cn/lit/an/slaa068b/slaa068b.pdf |title=Understanding Basic Analog – Ideal Op Amps |url-status=live |archive-url=https://web.archive.org/web/20161227060510/http://www.ti.com.cn/cn/lit/an/slaa068b/slaa068b.pdf |archive-date=2016-12-27 }}</ref><ref>{{cite web |url=http://research.cs.tamu.edu/prism/lectures/iss/iss_l5.pdf |title=Lecture 5: The ideal operational amplifier |url-status=dead |archive-url=https://web.archive.org/web/20161123045824/http://research.cs.tamu.edu/prism/lectures/iss/iss_l5.pdf |archive-date=2016-11-23 |access-date=2016-12-26 }}</ref><ref>{{Cite book |last=Schlaepfer |first=Eric |url=https://tubetime.us/wp-content/uploads/2018/10/Ideal-Op-Amp-Datasheet.pdf |title=IC01 Ideal Operational Amplifier |publisher=Perfect Semiconductor |year=2018 |access-date=2022-12-20}}</ref>


* Infinite [[open-loop gain]] ''G'' = ''v''<sub>out</sub> / ''v''<sub>in</sub>
* Infinite [[open-loop gain]] {{math|1= ''G'' = ''v''<sub>out</sub> / ''v''<sub>in</sub>}}
* Infinite [[input impedance]] ''R''<sub>in</sub>, and so zero input current  
* Infinite [[input impedance]] {{math|''R''<sub>in</sub>}}, and so zero input current  
* Zero [[input offset voltage]]  
* Zero [[input offset voltage]]  
* Infinite output voltage range
* Infinite output voltage range
* Infinite [[bandwidth (signal processing)|bandwidth]] with zero [[phase shift]] and infinite [[slew rate]]  
* Infinite [[bandwidth (signal processing)|bandwidth]] with zero [[phase shift]] and infinite [[slew rate]]  
* Zero [[output impedance]] ''R''<sub>out</sub>, and so infinite output current range
* Zero [[output impedance]] {{math|''R''<sub>out</sub>}}, and so infinite output current range
* Zero [[Electronic noise|noise]]
* Zero [[Electronic noise|noise]]
* Infinite [[common-mode rejection ratio]] (CMRR)
* Infinite [[common-mode rejection ratio]] (CMRR)
Line 87: Line 87:
Real op amps differ from the ideal model in various aspects.
Real op amps differ from the ideal model in various aspects.


;Finite gain
{{glossary begin}}
:[[Open-loop gain]] is finite in real operational amplifiers. Typical devices exhibit open-loop DC gain exceeding 100,000. So long as the [[loop gain]] (i.e., the product of open-loop and feedback gains) is very large, the closed-loop gain will be determined entirely by the amount of negative feedback (i.e., it will be independent of open-loop gain). In applications where the closed-loop gain must be very high (approaching the open-loop gain), the feedback gain will be very low and the lower loop gain in these cases causes non-ideal behavior from the circuit.
{{term| Finite gain }}
;Non-zero [[output impedance]]
{{defn| [[Open-loop gain]] is finite in real operational amplifiers. Typical devices exhibit open-loop DC gain exceeding 100,000. So long as the [[loop gain]] (i.e., the product of open-loop and feedback gains) is very large, the closed-loop gain will be determined entirely by the amount of negative feedback (i.e., it will be independent of open-loop gain). In applications where the closed-loop gain must be very high (approaching the open-loop gain), the feedback gain will be very low and the lower loop gain in these cases causes non-ideal behavior from the circuit. }}
:Low output impedance is important for low-impedance loads; for these loads, the voltage drop across the output impedance effectively reduces the open-loop gain. In configurations with a voltage-sensing negative feedback, the output impedance of the amplifier is effectively lowered; thus, in linear applications, op-amp circuits usually exhibit a very low output impedance.
 
:Low-impedance outputs typically require high [[quiescent current|quiescent (i.e., idle) current]] in the output stage and will dissipate more power, so low-power designs may purposely sacrifice low output impedance.
{{term| Non-zero [[output impedance]] }}
;Finite [[input impedance]]s
{{defn| Low output impedance is important for low-impedance loads; for these loads, the voltage drop across the output impedance effectively reduces the open-loop gain. In configurations with a voltage-sensing negative feedback, the output impedance of the amplifier is effectively lowered; thus, in linear applications, op-amp circuits usually exhibit a very low output impedance.
:The ''differential input impedance'' of the operational amplifier is defined as the impedance ''between'' its two inputs; the ''common-mode input impedance'' is the impedance from each input to ground. [[MOSFET]]-input operational amplifiers often have protection circuits that effectively short circuit any input differences greater than a small threshold, so the input impedance can appear to be very low in some tests. However, as long as these operational amplifiers are used in a typical high-gain negative feedback application, these protection circuits will be inactive. The input bias and leakage currents described below are a more important design parameter for typical operational amplifier applications.
 
;Input [[capacitance]]
Low-impedance outputs typically require high [[quiescent current|quiescent (i.e., idle) current]] in the output stage and will dissipate more power, so low-power designs may purposely sacrifice low output impedance. }}
:Additional input impedance due to [[parasitic capacitance]] can be a critical issue for high-frequency operation where it reduces input impedance and may cause phase shifts.
 
;Input current
{{term| Finite [[input impedance]]s }}
:Due to [[biasing]] requirements or [[Leakage (semiconductors)|leakage]], a small amount of current<ref group="nb">Typically ~10 nanoamperes, nA, for [[Bipolar junction transistor|bipolar]] op amps, tens of picoamperes, pA, for [[JFET]] input stages, and only a few pA for [[MOSFET]] input stages.</ref> flows into the inputs. When high resistances or sources with high output impedances are used in the circuit, these small currents can produce significant voltage drops. If the input currents are matched, ''and'' the impedance looking ''out'' of ''both'' inputs are matched, then those voltages at each input will be equal. Because the operational amplifier operates on the ''difference'' between its inputs, these matched voltages will have no effect.<!-- (unless the operational amplifier has poor [[Common-mode rejection ratio|CMRR]], which is described below). CMRR is usually much better than matching of currents, so not relevant. --> It is more common for the input currents to be slightly mismatched. The difference is called input offset current, and even with matched resistances a small ''offset voltage'' (distinct from the input offset voltage below) can be produced. This offset voltage can create offsets or drifting in the operational amplifier.
{{defn| The ''differential input impedance'' of the operational amplifier is defined as the impedance {{em|between}} its two inputs; the ''common-mode input impedance'' is the impedance from each input to ground. [[MOSFET]]-input operational amplifiers often have protection circuits that effectively short circuit any input differences greater than a small threshold, so the input impedance can appear to be very low in some tests. However, as long as these operational amplifiers are used in a typical high-gain negative feedback application, these protection circuits will be inactive. The input bias and leakage currents described below are a more important design parameter for typical operational amplifier applications. }}
;Input offset voltage
 
:Input offset voltage is a voltage required across the op amp's input terminals to drive the output voltage to zero.<ref>{{cite book |first=D. F. |last=Stout |title=Handbook of Operational Amplifier Circuit Design |publisher=McGraw-Hill |date=1976 |isbn=0-07-061797-X |pages=1–11}}</ref><ref group="nb">This definition hews to the convention of measuring op-amp parameters with respect to the zero voltage point in the circuit, which is usually half the total voltage between the amplifier's positive and negative power rails.</ref> In the perfect amplifier, there would be no input offset voltage. However, it exists because of imperfections in the differential amplifier input stage of op amps. Input offset voltage creates two problems: First, due to the amplifier's high voltage gain, it virtually assures that the amplifier output will go into saturation if it is operated without negative feedback, even when the input terminals are wired together. Second, in a closed loop, negative feedback configuration, the input offset voltage is amplified along with the signal and this may pose a problem if high precision DC amplification is required or if the input signal is very small.<ref group="nb">Many older designs of operational amplifiers have offset null inputs to allow the offset to be manually adjusted away. Modern precision op amps can have internal circuits that automatically cancel this offset using [[chopper (electronics)|chopper]]s or other circuits that measure the offset voltage periodically and subtract it from the input voltage.</ref>
{{term| Input [[capacitance]] }}
;Common-mode gain
{{defn| Additional input impedance due to [[parasitic capacitance]] can be a critical issue for high-frequency operation where it reduces input impedance and may cause phase shifts. }}
:A perfect operational amplifier amplifies only the voltage difference between its two inputs, completely rejecting all voltages that are common to both. However, the differential input stage of an operational amplifier is never perfect, leading to the amplification of these common voltages to some degree. The standard measure of this defect is called the [[common-mode rejection ratio]] (CMRR). Minimization of common-mode gain is important in [[#Non-inverting amplifier|non-inverting amplifiers]] that operate at high gain.
 
;Power-supply rejection
{{term| Input current }}
:The output of a perfect operational amplifier will be independent of power supply voltage fluctuations. Every real operational amplifier has a finite [[power supply rejection ratio]] (PSRR) that reflects how well the op amp can reject noise in its power supply from propagating to the output. With increasing frequency the power-supply rejection usually gets worse.
{{defn| Due to [[biasing]] requirements or [[Leakage (semiconductors)|leakage]], a small amount of current<ref group="nb">Typically ~10 nanoamperes, nA, for [[Bipolar junction transistor|bipolar]] op amps, tens of picoamperes, pA, for [[JFET]] input stages, and only a few {{abbr|pA|picoamperes}} for [[MOSFET]] input stages.</ref> flows into the inputs. When high resistances or sources with high output impedances are used in the circuit, these small currents can produce significant voltage drops. If the input currents are matched, {{em|and}} the impedance looking {{em|out}} of {{em|both}} inputs are matched, then those voltages at each input will be equal. Because the operational amplifier operates on the {{em|difference}} between its inputs, these matched voltages will have no effect.<!-- (unless the operational amplifier has poor [[Common-mode rejection ratio|CMRR]], which is described below). CMRR is usually much better than matching of currents, so not relevant. --> It is more common for the input currents to be slightly mismatched. The difference is called input offset current, and even with matched resistances a small ''offset voltage'' (distinct from the {{gli|input offset voltage}} below) can be produced. This offset voltage can create offsets or drifting in the operational amplifier. }}
;Temperature effects
 
:Performance and properties of the amplifier typically changes, to some extent, with changes in temperature. Temperature drift of the input offset voltage is especially important.  
{{term| Input offset voltage }}
;Drift
{{defn| Input offset voltage is a voltage required across the op amp's input terminals to drive the output voltage to zero.<ref>{{cite book |first=D. F. |last=Stout |title=Handbook of Operational Amplifier Circuit Design |publisher=McGraw-Hill |date=1976 |isbn=0-07-061797-X |pages=1–11}}</ref><ref group="nb">This definition hews to the convention of measuring op-amp parameters with respect to the zero voltage point in the circuit, which is usually half the total voltage between the amplifier's positive and negative power rails.</ref> In the perfect amplifier, there would be no input offset voltage. However, it exists because of imperfections in the differential amplifier input stage of op amps. Input offset voltage creates two problems: First, due to the amplifier's high voltage gain, it virtually assures that the amplifier output will go into saturation if it is operated without negative feedback, even when the input terminals are wired together. Second, in a closed loop, negative feedback configuration, the input offset voltage is amplified along with the signal and this may pose a problem if high precision DC amplification is required or if the input signal is very small.<ref group="nb">Many older designs of operational amplifiers have offset null inputs to allow the offset to be manually adjusted away. Modern precision op amps can have internal circuits that automatically cancel this offset using [[chopper (electronics)|chopper]]s or other circuits that measure the offset voltage periodically and subtract it from the input voltage.</ref> }}
:Real op-amp parameters are subject to slow change over time and with changes in temperature, input conditions, etc.
 
;Finite [[bandwidth (signal processing)|bandwidth]]
{{term| Common-mode gain }}
:All amplifiers have finite bandwidth. To a first approximation, the op amp has the frequency response of an [[integrator]] with gain. That is, the gain of a typical op amp is inversely proportional to frequency and is characterized by its [[gain–bandwidth product]] (GBWP). For example, an op amp with a GBWP of 1&nbsp;MHz would have a gain of 5 at 200&nbsp;kHz, and a gain of 1 at 1&nbsp;MHz. This dynamic response coupled with the very high DC gain of the op amp gives it the characteristics of a first-order [[low-pass filter]] with very high DC gain and low cutoff frequency given by the GBWP divided by the DC gain.{{paragraph break}}The finite bandwidth of an op amp can be the source of several problems, including:{{glossary}}{{term|Stability}}{{defn|Associated with the bandwidth limitation is a phase difference between the input signal and the amplifier output that can lead to [[electronic oscillation|oscillation]] in some feedback circuits. For example, a sinusoidal output signal meant to interfere destructively with an input signal of the same frequency will interfere constructively if delayed by 180 degrees forming [[positive feedback]]. In these cases, the feedback circuit can be [[BIBO stability|stabilized]] by means of [[frequency compensation]], which increases the [[Gain margin|gain or phase margin]] of the open-loop circuit. The circuit designer can implement this compensation externally with a separate circuit component. Alternatively, the compensation can be implemented within the operational amplifier with the addition of a [[Frequency compensation#Dominant-pole compensation|dominant pole]] that sufficiently attenuates the high-frequency gain of the operational amplifier. The location of this pole may be fixed internally by the manufacturer or configured by the circuit designer using methods specific to the op amp. In general, dominant-pole frequency compensation reduces the bandwidth of the op amp even further. When the desired closed-loop gain is high, op-amp frequency compensation is often not needed because the requisite open-loop gain is sufficiently low; consequently, applications with high closed-loop gain can make use of op amps with higher bandwidths.}}{{term|Distortion, and other effects}}{{defn|Limited bandwidth also results in lower amounts of feedback at higher frequencies, producing higher distortion, and output impedance as the frequency increases.}}{{glossary end}}{{paragraph break}}Typical low-cost, general-purpose op amps exhibit a GBWP of a few megahertz. Specialty and high-speed op amps exist that can achieve a GBWP of hundreds of megahertz. For very high-frequency circuits, a [[current-feedback operational amplifier]] is often used.
{{defn| A perfect operational amplifier amplifies only the voltage difference between its two inputs, completely rejecting all voltages that are common to both. However, the differential input stage of an operational amplifier is never perfect, leading to the amplification of these common voltages to some degree. The standard measure of this defect is called the [[common-mode rejection ratio]] (CMRR). Minimization of common-mode gain is important in [[#Non-inverting amplifier|non-inverting amplifiers]] that operate at high gain. }}
;Noise
 
:Amplifiers intrinsically output noise, even when there is no signal applied. This can be due to internal thermal noise and flicker noise of the device. For applications with high gain or high bandwidth, noise becomes an important consideration and a [[low-noise amplifier]], which is specifically designed for minimum intrinsic noise, may be required to meet performance requirements.
{{term| Power-supply rejection }}
{{defn| The output of a perfect operational amplifier will be independent of power supply voltage fluctuations. Every real operational amplifier has a finite [[power supply rejection ratio]] (PSRR) that reflects how well the op amp can reject noise in its power supply from propagating to the output. With increasing frequency the power-supply rejection usually gets worse. }}
 
{{term| Temperature effects }}
{{defn| Performance and properties of the amplifier typically changes, to some extent, with changes in temperature. Temperature drift of the input offset voltage is especially important. }}
 
{{term| Drift }}
{{defn| Real op-amp parameters are subject to slow change over time and with changes in temperature, input conditions, etc. }}
 
{{term| Finite [[bandwidth (signal processing)|bandwidth]] }}
{{defn| All amplifiers have finite bandwidth. To a first approximation, the op amp has the frequency response of an [[integrator]] with gain. That is, the gain of a typical op amp is inversely proportional to frequency and is characterized by its [[gain–bandwidth product]] (GBWP). For example, an op amp with a {{abbr|GBWP|gain–bandwith product}} of 1&nbsp;MHz would have a gain of 5 at 200&nbsp;kHz, and a gain of 1 at 1&nbsp;MHz. This dynamic response coupled with the very high DC gain of the op amp gives it the characteristics of a first-order [[low-pass filter]] with very high DC gain and low cutoff frequency given by the {{abbr|GBWP|gain–bandwith product}} divided by the DC gain.
 
The finite bandwidth of an op amp can be the source of several problems, including:
{{glossary begin}}
{{term| Stability }}
{{defn| Associated with the bandwidth limitation is a phase difference between the input signal and the amplifier output that can lead to [[electronic oscillation|oscillation]] in some feedback circuits. For example, a sinusoidal output signal meant to interfere destructively with an input signal of the same frequency will interfere constructively if delayed by 180 degrees forming [[positive feedback]]. In these cases, the feedback circuit can be [[BIBO stability|stabilized]] by means of [[frequency compensation]], which increases the [[Gain margin|gain or phase margin]] of the open-loop circuit. The circuit designer can implement this compensation externally with a separate circuit component. Alternatively, the compensation can be implemented within the operational amplifier with the addition of a [[Frequency compensation#Dominant-pole compensation|dominant pole]] that sufficiently attenuates the high-frequency gain of the operational amplifier. The location of this pole may be fixed internally by the manufacturer or configured by the circuit designer using methods specific to the op amp. In general, dominant-pole frequency compensation reduces the bandwidth of the op amp even further. When the desired closed-loop gain is high, op-amp frequency compensation is often not needed because the requisite open-loop gain is sufficiently low; consequently, applications with high closed-loop gain can make use of op amps with higher bandwidths. }}
 
{{term| Distortion, and other effects}}
{{defn| Limited bandwidth also results in lower amounts of feedback at higher frequencies, producing higher distortion, and output impedance as the frequency increases.}}
{{glossary end}}
 
Typical low-cost, general-purpose op amps exhibit a {{abbr|GBWP|gain–bandwith product}} of a few megahertz. Specialty and high-speed op amps exist that can achieve a {{abbr|GBWP|gain–bandwith product}} of hundreds of megahertz. For very high-frequency circuits, a [[current-feedback operational amplifier]] is often used. }}
 
{{term| Noise }}
{{defn| Amplifiers intrinsically output noise, even when there is no signal applied. This can be due to internal thermal noise and flicker noise of the device. For applications with high gain or high bandwidth, noise becomes an important consideration and a [[low-noise amplifier]], which is specifically designed for minimum intrinsic noise, may be required to meet performance requirements. }}
{{glossary end}}




====Non-linear imperfections====
====Non-linear imperfections====
[[File:Inverting Amplifier Signal Clipping.png|thumb|The input (yellow) and output (green) of a saturated op amp in an inverting amplifier]]
[[File:Inverting Amplifier Signal Clipping.png|thumb|The input (yellow) and output (green) of a saturated op amp in an inverting amplifier]]
;Saturation
{{glossary begin}}
:Output voltage is limited to a minimum and maximum value close to the [[power supply]] voltages.<ref group="nb">That the output cannot reach the power supply voltages is usually the result of limitations of the amplifier's [[#Output stage|output stage]] transistors.</ref> The output of older op amps can reach to within one or two volts of the supply rails. The output of so-called '''{{vanchor|rail-to-rail}} op amps''' can reach to within millivolts of the supply rails when providing low output currents.<ref name="rail-to-rail" />
{{term| Saturation }}
;Slew rate limiting
{{defn| Output voltage is limited to a minimum and maximum value close to the [[power supply]] voltages.<ref group="nb">That the output cannot reach the power supply voltages is usually the result of limitations of the amplifier's [[#Output stage|output stage]] transistors.</ref> The output of older op amps can reach to within one or two volts of the supply rails. The output of so-called '''{{vanchor|rail-to-rail}} op amps''' can reach to within millivolts of the supply rails when providing low output currents.<ref name="rail-to-rail" /> }}
:The amplifier's output voltage reaches its maximum rate of change, the [[slew rate]], usually specified in volts per microsecond (V/μs). When slew rate limiting occurs, further increases in the input signal have no effect on the rate of change of the output. Slew rate limiting is usually caused by the input stage saturating; the result is a constant current {{mvar|i}} driving a capacitance {{mvar|C}} in the amplifier (especially those capacitances used to implement its [[frequency compensation]]); the slew rate is limited by {{math|d''v''/d''t'' {{=}} ''i''/''C''}}.{{paragraph break}} Slewing is associated with the ''large-signal'' performance of an op amp. Consider, for example, an op amp configured for a gain of 10. Let the input be a 1{{nbsp}}V, 100&nbsp;kHz sawtooth wave. That is, the amplitude is 1{{nbsp}}V and the period is 10 microseconds. Accordingly, the rate of change (i.e., the slope) of the input is 0.1&nbsp;V per microsecond. After 10× amplification, the output should be a 10{{nbsp}}V, 100&nbsp;kHz sawtooth, with a corresponding slew rate of 1{{nbsp}}V per microsecond. However, the classic '''741''' op amp has a 0.5{{nbsp}}V per microsecond slew rate specification so that its output can rise to no more than 5{{nbsp}}V in the sawtooth's 10-microsecond period. Thus, if one were to measure the output, it would be a 5{{nbsp}}V, 100&nbsp;kHz sawtooth, rather than a 10{{nbsp}}V, 100&nbsp;kHz sawtooth.{{paragraph break}}Next consider the same amplifier and 100&nbsp;kHz sawtooth, but now the input amplitude is 100{{nbsp}}mV rather than 1{{nbsp}}V. After 10× amplification the output is a 1{{nbsp}}V, 100&nbsp;kHz sawtooth with a corresponding slew rate of 0.1{{nbsp}}V per microsecond. In this instance, the 741 with its 0.5{{nbsp}}V per microsecond slew rate will amplify the input properly.{{paragraph break}} Modern high-speed op amps can have slew rates in excess of 5,000{{nbsp}}V per microsecond. However, it is more common for op amps to have slew rates in the range 5–100{{nbsp}}V per microsecond. For example, the general purpose TL081 op amp has a slew rate of 13{{nbsp}}V per microsecond.  As a general rule, low power and small bandwidth op amps have low slew rates. As an example, the LT1494 micropower op amp consumes 1.5 microamp but has a 2.7&nbsp;kHz gain-bandwidth product and a 0.001{{nbsp}}V per microsecond slew rate.
 
;Non-[[linear]] input-output relationship
{{term| Slew rate limiting }}
:The output voltage may not be accurately proportional to the difference between the input voltages producing distortion. This effect will be very small in a practical circuit where substantial negative feedback is used.
{{defn| The amplifier's output voltage reaches its maximum rate of change, the [[slew rate]], usually specified in volts per microsecond (V/μs). When slew rate limiting occurs, further increases in the input signal have no effect on the rate of change of the output. Slew rate limiting is usually caused by the input stage saturating; the result is a constant current {{mvar|i}} driving a capacitance {{mvar|C}} in the amplifier (especially those capacitances used to implement its [[frequency compensation]]); the slew rate is limited by {{math|d''v''/d''t'' {{=}} ''i''/''C''}}.
;Phase reversal
 
:In some integrated op amps, when the published common mode voltage is violated (e.g., by one of the inputs being driven to one of the supply voltages), the output may slew to the opposite polarity from what is expected in normal operation.<ref>{{cite web
Slewing is associated with the ''large-signal'' performance of an op amp. Consider, for example, an op amp configured for a gain of 10. Let the input be a 1{{nbsp}}V, 100&nbsp;kHz sawtooth wave. That is, the amplitude is 1{{nbsp}}V and the period is 10 microseconds. Accordingly, the rate of change (i.e., the slope) of the input is 0.1&nbsp;V per microsecond. After 10× amplification, the output should be a 10{{nbsp}}V, 100&nbsp;kHz sawtooth, with a corresponding slew rate of 1{{nbsp}}V per microsecond. However, the classic '''741''' op amp has a 0.5{{nbsp}}V per microsecond slew rate specification so that its output can rise to no more than 5{{nbsp}}V in the sawtooth's 10-microsecond period. Thus, if one were to measure the output, it would be a 5{{nbsp}}V, 100&nbsp;kHz sawtooth, rather than a 10{{nbsp}}V, 100&nbsp;kHz sawtooth.
 
Next consider the same amplifier and 100&nbsp;kHz sawtooth, but now the input amplitude is 100{{nbsp}}mV rather than 1{{nbsp}}V. After 10× amplification the output is a 1{{nbsp}}V, 100&nbsp;kHz sawtooth with a corresponding slew rate of 0.1{{nbsp}}V per microsecond. In this instance, the 741 with its 0.5{{nbsp}}V per microsecond slew rate will amplify the input properly.
 
Modern high-speed op amps can have slew rates in excess of 5,000{{nbsp}}V per microsecond. However, it is more common for op amps to have slew rates in the range 5–100{{nbsp}}V per microsecond. For example, the general purpose TL081 op amp has a slew rate of 13{{nbsp}}V per microsecond.  As a general rule, low power and small bandwidth op amps have low slew rates. As an example, the LT1494 micropower op amp consumes 1.5 microamp but has a 2.7&nbsp;kHz gain-bandwidth product and a 0.001{{nbsp}}V per microsecond slew rate. }}
 
{{term| Non-[[linear]] input-output relationship }}
{{defn| The output voltage may not be accurately proportional to the difference between the input voltages producing distortion. This effect will be very small in a practical circuit where substantial negative feedback is used. }}
 
{{term| Phase reversal }}
{{defn| In some integrated op amps, when the published common mode voltage is violated (e.g., by one of the inputs being driven to one of the supply voltages), the output may slew to the opposite polarity from what is expected in normal operation.<ref>{{cite web
  |url=http://www.analog.com/static/imported-files/tutorials/MT-036.pdf
  |url=http://www.analog.com/static/imported-files/tutorials/MT-036.pdf
  |title=Op Amp Output Phase-Reversal and Input Over-Voltage Protection
  |title=Op Amp Output Phase-Reversal and Input Over-Voltage Protection
Line 143: Line 178:
  |publisher=Electronic Design News
  |publisher=Electronic Design News
  |access-date=2012-12-27
  |access-date=2012-12-27
  }}{{dl|fix-attempted=yes|date=July 2020}}</ref> Under such conditions, negative feedback becomes positive, likely causing the circuit to ''lock up'' in that state.
  }}{{dl|fix-attempted=yes|date=July 2020}}</ref> Under such conditions, negative feedback becomes positive, likely causing the circuit to ''lock up'' in that state. }}
{{glossary end}}


====Power considerations====
====Power considerations====
;[[current limiting|Limited output current]]
{{glossary begin}}
:The output current must be finite. In practice, most op amps are designed to limit the output current to prevent damage to the device, typically around 25&nbsp;mA for a type 741 IC op amp. Modern designs are electronically more robust than earlier implementations and some can sustain direct [[short circuit]]s on their outputs without damage.
{{term| [[current limiting|Limited output current]] }}
;Limited output voltage
{{defn| The output current must be finite. In practice, most op amps are designed to limit the output current to prevent damage to the device, typically around 25&nbsp;mA for a type 741 IC op amp. Modern designs are electronically more robust than earlier implementations and some can sustain direct [[short circuit]]s on their outputs without damage. }}
:Output voltage cannot exceed the power supply voltage supplied to the op amp. The maximum output of most op amps is further reduced by some amount due to limitations in the output circuitry. ''Rail-to-rail op amps'' are designed for maximum output levels.<ref name="rail-to-rail">{{cite web |url=https://www.ti.com/lit/an/sloa039a/sloa039a.pdf?ts=1623104120425&ref_url=https%253A%252F%252Fwww.google.com%252F |title=Application of Rail-to-Rail Operational Amplifiers |publisher=[[Texas Instruments]] |access-date=2021-06-08}}</ref>
 
;Output sink current
{{term| Limited output voltage }}
:The output sink current is the maximum current allowed to sink into the output stage. Some manufacturers provide an output voltage vs. the output sink current plot which gives an idea of the output voltage when it is sinking current from another source into the output pin.
{{defn| Output voltage cannot exceed the power supply voltage supplied to the op amp. The maximum output of most op amps is further reduced by some amount due to limitations in the output circuitry. ''Rail-to-rail op amps'' are designed for maximum output levels.<ref name="rail-to-rail">{{cite web |url=https://www.ti.com/lit/an/sloa039a/sloa039a.pdf?ts=1623104120425&ref_url=https%253A%252F%252Fwww.google.com%252F |title=Application of Rail-to-Rail Operational Amplifiers |publisher=[[Texas Instruments]] |access-date=2021-06-08}}</ref> }}
;Limited dissipated power
 
:The output current flows through the op amp's internal output impedance, generating heat that must be dissipated. If the op amp dissipates too much power, then its temperature will increase above some safe limit. The op amp must shut down or risk being damaged.
{{term| Output sink current }}
Modern integrated [[FET]] or [[MOSFET]] op amps approximate more closely the ideal op amp than bipolar ICs when it comes to input impedance and input bias currents. Bipolars are generally better when it comes to input ''voltage'' offset, and often have lower noise. Generally, at room temperature, with a fairly large signal, and limited bandwidth, FET and MOSFET op amps now offer better performance.
{{defn| The output sink current is the maximum current allowed to sink into the output stage. Some manufacturers provide an output voltage vs. the output sink current plot which gives an idea of the output voltage when it is sinking current from another source into the output pin. }}
 
{{term| Limited dissipated power }}
{{defn| The output current flows through the op amp's internal output impedance, generating heat that must be dissipated. If the op amp dissipates too much power, then its temperature will increase above some safe limit. The op amp must shut down or risk being damaged.
 
Modern integrated [[FET]] or [[MOSFET]] op amps approximate more closely the ideal op amp than bipolar ICs when it comes to input impedance and input bias currents. Bipolars are generally better when it comes to input ''voltage'' offset, and often have lower noise. Generally, at room temperature, with a fairly large signal, and limited bandwidth, FET and MOSFET op amps now offer better performance. }}
{{glossary end}}


== Internal circuitry of {{vanchor|1=741}}-type op amp ==
== Internal circuitry of 741-type op amp<span class="anchor" id="741"></span> ==
[[Image:OpAmpTransistorLevel Colored Labeled.svg|thumb|right|500px|A component-level diagram of the common 741 op amp. Dotted lines outline: {{colorbox|red}}{{nbsp}}[[current mirror]]s; {{colorbox|blue}}{{nbsp}}[[differential amplifier]]; {{colorbox|magenta}}{{nbsp}}[[Class-A amplifier|class A]] gain stage; {{colorbox|limegreen}}{{nbsp}}voltage level shifter; {{colorbox|cyan}}{{nbsp}}output stage.]]
[[Image:OpAmpTransistorLevel Colored Labeled.svg|thumb|right|500px|A component-level diagram of the common 741 op amp. Dotted lines outline: {{colorbox|red}}{{nbsp}}[[current mirror]]s; {{colorbox|blue}}{{nbsp}}[[differential amplifier]]; {{colorbox|magenta}}{{nbsp}}[[Class-A amplifier|class A]] gain stage; {{colorbox|limegreen}}{{nbsp}}voltage level shifter; {{colorbox|cyan}}{{nbsp}}output stage.]]


Line 166: Line 208:
  |date        = November 18, 2002
  |date        = November 18, 2002
  |publisher    = Stanford University
  |publisher    = Stanford University
  |postscript  = Handout #18: EE214 Fall 2002.
  |id          = Handout #18
|series      = EE214 Fall 2002 Course Notes
  |url-status  = dead
  |url-status  = dead
  |archive-url  = https://web.archive.org/web/20121024123401/http://www.stanford.edu/class/archive/ee/ee214/ee214.1032/Handouts/ho18opamp.pdf
  |archive-url  = https://web.archive.org/web/20121024123401/http://www.stanford.edu/class/archive/ee/ee214/ee214.1032/Handouts/ho18opamp.pdf
Line 172: Line 215:
  |access-date  = July 5, 2011
  |access-date  = July 5, 2011
  }}</ref>  
  }}</ref>  
In this discussion, we use the parameters of the [[hybrid-pi model]] to characterize the small-signal, grounded emitter characteristics of a transistor. In this model, the current gain of a transistor is denoted ''h''<sub>fe</sub>, more commonly called the β.<ref name="Lu">{{cite web
In this discussion, we use the parameters of the [[hybrid-pi model]] to characterize the small-signal, grounded emitter characteristics of a transistor. In this model, the current gain of a transistor is denoted  
{{math|''h''<sub>fe</sub>}}, more commonly denoted {{mvar|β}}.<ref name="Lu">{{cite web
  |url          = http://cc.ee.ntu.edu.tw/~lhlu/eecourses/Electronics2/Electronics_Ch10.pdf
  |url          = http://cc.ee.ntu.edu.tw/~lhlu/eecourses/Electronics2/Electronics_Ch10.pdf
  |title        = Electronics 2, Chapter 10
  |title        = Electronics 2, Chapter 10
Line 189: Line 233:
# Voltage amplifier (outlined [[magenta]]) — provides high voltage gain, a single-pole frequency [[roll-off]], and in turn drives the
# Voltage amplifier (outlined [[magenta]]) — provides high voltage gain, a single-pole frequency [[roll-off]], and in turn drives the
# Output amplifier (outlined [[cyan]] and [[green]]) — provides high current gain (low [[output impedance]]), along with output current limiting, and output short-circuit protection.
# Output amplifier (outlined [[cyan]] and [[green]]) — provides high current gain (low [[output impedance]]), along with output current limiting, and output short-circuit protection.
Additionally, it contains [[current mirror]] (outlined red) bias circuitry and [[Frequency compensation|compensation]] capacitor (30&nbsp;pF).
Additionally, it contains [[current mirror]] (outlined red) bias circuitry and [[Frequency compensation|compensation]] capacitor ({{val|30|u=pF}}).


==== Differential amplifier ====
==== Differential amplifier ====
Line 196: Line 240:
It entails two cascaded transistor pairs, satisfying conflicting requirements. The first stage consists of the matched NPN [[emitter follower]] pair Q1, Q2 that provide high input impedance. The second is the matched PNP [[common-base]] pair Q3, Q4 that eliminates the undesirable [[Miller effect]]; it drives an [[active load]] Q7 plus matched pair Q5, Q6.
It entails two cascaded transistor pairs, satisfying conflicting requirements. The first stage consists of the matched NPN [[emitter follower]] pair Q1, Q2 that provide high input impedance. The second is the matched PNP [[common-base]] pair Q3, Q4 that eliminates the undesirable [[Miller effect]]; it drives an [[active load]] Q7 plus matched pair Q5, Q6.


That active load is implemented as a modified [[Wilson current mirror]]; its role is to convert the (differential) input current signal to a single-ended signal without the attendant 50% losses (increasing the op amp's open-loop gain by 3&nbsp;dB).<ref group="nb">Widlar used this same trick in μA702 and μA709</ref> Thus, a small-signal differential current in Q3 versus Q4 appears summed (doubled) at the base of Q15, the input of the voltage gain stage.
That active load is implemented as a modified [[Wilson current mirror]]; its role is to convert the (differential) input current signal to a single-ended signal without the attendant 50% losses (increasing the op amp's open-loop gain by {{val|3|u=[[decibel|dB]]}}).<ref group="nb">Widlar used this same trick in μA702 and μA709</ref> Thus, a small-signal differential current in Q3 versus Q4 appears summed (doubled) at the base of Q15, the input of the voltage gain stage.


==== Voltage amplifier ====
==== Voltage amplifier ====
Line 202: Line 246:


==== Output amplifier ====
==== Output amplifier ====
The output stage (Q14, Q20, outlined in cyan) is a [[Class AB]] amplifier. It provides an output drive with impedance of ~50{{nbsp}}Ω, in essence, current gain. Transistor Q16 (outlined in green) provides the quiescent current for the output transistors and Q17 limits output source current.
The output stage (Q14, Q20, outlined in cyan) is a [[Class AB]] amplifier. It provides an output drive with impedance of about {{val|50|u=Ω}}, in essence, current gain. Transistor Q16 (outlined in green) provides the quiescent current for the output transistors and Q17 limits output source current.


=== Biasing circuits ===
=== Biasing circuits ===
Biasing circuits provide appropriate quiescent current for each stage of the op amp.
Biasing circuits provide appropriate quiescent current for each stage of the op amp.


The resistor (39&nbsp;) connecting the (diode-connected) Q11 and Q12, and the given supply voltage (''V''<sub>''S''+</sub>&nbsp;&nbsp;''V''<sub>''S''−</sub>), determine the current in the [[current mirror]]s, (matched pairs) Q10/Q11 and Q12/Q13. The collector current of Q11, ''i''<sub>11</sub> × 39&nbsp;kΩ = ''V''<sub>''S''+</sub> − ''V''<sub>''S''−</sub> − 2 ''V''<sub>BE</sub>. For the typical ''V''<sub>''S''</sub> = ±20&nbsp;V, the standing current in Q11 and Q12 (as well as in Q13) would be ~1&nbsp;mA. A supply current for a typical 741 of about 2&nbsp;mA agrees with the notion that these two bias currents dominate the quiescent supply current.<ref name="NS LM741" />
The {{val|39|u=}} resistor connecting the [[diode-connected transistor]]s  Q11 and Q12, and the given supply voltage {{math|1= ''V''{{sub|S}} = ''V''{{sub|S+}} − ''V''{{sub|S−}}}}, determine the current in the [[current mirror]]s, (matched pairs) Q10/Q11 and Q12/Q13. The collector current of Q11, {{math|1= ''i''{{sub|11}} × 39&nbsp;kΩ =}} {{math|''V''{{sub|S}} 2''V''{{sub|BE}}}}. For the typical {{math|1= ''V''{{sub|S}} = {{val|20|u=V}}}}, the standing current in Q11 and Q12 (as well as in Q13) would be about {{val|1|u=mA}}. A supply current for a typical 741 of about {{val|2|u=mA}} agrees with the notion that these two bias currents dominate the quiescent supply current.<ref name="NS LM741" />


Transistors Q11 and Q10 form a [[Widlar current mirror]], with quiescent current in Q10 ''i''<sub>10</sub> such that ln(''i''<sub>11</sub>&nbsp;/ ''i''<sub>10</sub>)&nbsp;= ''i''<sub>10</sub>&nbsp;× 5&nbsp;&nbsp;/ 28&nbsp;mV, where 5&nbsp;kΩ represents the emitter resistor of Q10, and 28&nbsp;mV is ''V''<sub>T</sub>, the [[thermal voltage]] at room temperature. In this case ''i''<sub>10</sub>&nbsp;≈ 20&nbsp;μA.
Transistors Q11 and Q10 form a [[Widlar current mirror]], with quiescent current in Q10 {{math|''i''{{sub|10}}}} such that {{math|1= ln(''i''{{sub|11}}/''i''{{sub|10}}) = ''i''{{sub|10}} × {{val|5|u=}} / {{val|28|u=mV}}}}, where {{val|5|u=}} represents the emitter resistor of Q10, and {{val|28|u=mV}} is {{math|''V''{{sub|T}}}}, the [[thermal voltage]] at room temperature. In this case {{math|1= ''i''{{sub|10}} {{val|20|u=μA}}}}.


==== Differential amplifier ====
==== Differential amplifier ====
The biasing circuit of this stage is set by a feedback loop that forces the collector currents of Q10 and Q9 to (nearly) match. Any small difference in these currents provides drive for the common base of Q3 and Q4.<ref group="nb">The base drive for input transistors Q1/Q2 is the input bias current and must be sourced externally.</ref> The summed quiescent currents through Q1 and Q3 plus Q2 and Q4 is mirrored from Q8 into Q9, where it is summed with the collector current in Q10, the result being applied to the bases of Q3 and Q4.
The biasing circuit of this stage is set by a feedback loop that forces the collector currents of Q10 and Q9 to (nearly) match. Any small difference in these currents provides drive for the common base of Q3 and Q4.<ref group="nb">The base drive for input transistors Q1/Q2 is the input bias current and must be sourced externally.</ref> The summed quiescent currents through Q1 and Q3 plus Q2 and Q4 is mirrored from Q8 into Q9, where it is summed with the collector current in Q10, the result being applied to the bases of Q3 and Q4.


The quiescent currents through Q1 and Q3 (also Q2 and Q4) ''i''<sub>1</sub> will thus be half of ''i''<sub>10</sub>, of order ~10&nbsp;μA. Input bias current for the base of Q1 (also Q2) will amount to ''i''<sub>1</sub>&nbsp;/ β; typically ~50&nbsp;nA,<ref name="NS LM741" /> implying a current gain ''h''<sub>fe</sub>&nbsp;≈ 200 for Q1 (also Q2).
The quiescent currents through Q1 and Q3 (also Q2 and Q4) {{math|''i''{{sub|1}}}} will thus be half of {{math|''i''{{sub|10}}}}, of order about {{val|10|u=μA}}. Input bias current for the base of Q1 (also Q2) will amount to {{math|''i''{{sub|1}}/''β''}}; typically around {{val|50|u=nA}},<ref name="NS LM741" /> implying a current gain {{math|1= ''h''{{sub|fe}} ≈ 200}} for Q1 (also Q2).


This feedback circuit tends to draw the common base node of Q3/Q4 to a voltage ''V''<sub>com</sub>&nbsp;2 ''V''<sub>BE</sub>, where ''V''<sub>com</sub> is the input common-mode voltage. At the same time, the magnitude of the quiescent current is relatively insensitive to the characteristics of the components Q1–Q4, such as ''h''<sub>fe</sub>, that would otherwise cause temperature dependence or part-to-part variations.
This feedback circuit tends to draw the common base node of Q3/Q4 to a voltage {{math|1= ''V''{{sub|com}} 2''V''{{sub|BE}}}}, where {{math|''V''{{sub|com}}}} is the input common-mode voltage. At the same time, the magnitude of the quiescent current is relatively insensitive to the characteristics of the components Q1–Q4, such as {{math|''h''{{sub|fe}}}}, that would otherwise cause temperature dependence or part-to-part variations.


Transistor Q7 drives Q5 and Q6 into conduction until their (equal) collector currents match that of Q1/Q3 and Q2/Q4. The quiescent current in Q7 is ''V''<sub>BE</sub>&nbsp;/ 50&nbsp;kΩ, about 35&nbsp;μA, as is the quiescent current in Q15, with its matching operating point. Thus, the quiescent currents are pairwise matched in Q1/Q2, Q3/Q4, Q5/Q6, and Q7/Q15.
Transistor Q7 drives Q5 and Q6 into conduction until their (equal) collector currents match that of Q1/Q3 and Q2/Q4. The quiescent current in Q7 is {{math|''V''{{sub|BE}} / {{val|50|u=}}}}, about {{val|35|u=μA}}, as is the quiescent current in Q15, with its matching operating point. Thus, the quiescent currents are pairwise matched in Q1/Q2, Q3/Q4, Q5/Q6, and Q7/Q15.


==== Voltage amplifier ====
==== Voltage amplifier ====
Quiescent currents in Q16 and Q19 are set by the current mirror Q12/Q13, which is running at ~1&nbsp;mA. The collector current in Q19 tracks that standing current.{{elucidate|reason=Through what means?|date=October 2023}}
Quiescent currents in Q16 and Q19 are set by the current mirror Q12/Q13, which is running at approximately {{val|1|u=mA}}. The collector current in Q19 tracks that standing current.{{elucidate|reason=Through what means?|date=October 2023}}


==== Output amplifier ====
==== Output amplifier ====
In the circuit involving Q16 (variously named [[rubber diode]] or ''V''<sub>BE</sub> multiplier), the 4.5&nbsp;kΩ resistor must be conducting about 100&nbsp;μA, with Q16 ''V''<sub>BE</sub> roughly 700&nbsp;mV. Then ''V''<sub>CB</sub> must be about 0.45&nbsp;V and ''V''<sub>CE</sub> at about 1.0&nbsp;V. Because the Q16 collector is driven by a current source and the Q16 emitter drives into the Q19 collector current sink, the Q16 transistor establishes a voltage difference between the Q14 base and the Q20 base of ~1&nbsp;V, regardless of the common-mode voltage of Q14/Q20 bases. The standing current in Q14/Q20 will be a factor [[diode modelling|exp(100&nbsp;mV&nbsp;mm/ ''V''<sub>T</sub>) ≈ 36]] smaller than the 1&nbsp;mA quiescent current in the class A portion of the op amp. This (small) standing current in the output transistors establishes the output stage in class AB operation and reduces the [[crossover distortion]] of this stage.
In the circuit involving Q16 (variously named [[rubber diode]] or {{math|''V''{{sub|BE}}}} multiplier), the {{val|4.5|u=}} resistor must be conducting about {{val|100|u=μA}}, with Q16 {{math|1= ''V''{{sub|BE}} ≈ {{val|700|u=mV}}}}. Then {{math|''V''{{sub|CB}}}} must be about {{val|0.45|u=V}}, and {{math|1= ''V''{{sub|CE}} ≈ {{val|1.0|u=V}}}}. Because the Q16 collector is driven by a current source and the Q16 emitter drives into the Q19 collector current sink, the Q16 transistor establishes a voltage difference between the Q14 base and the Q20 base of about {{val|1|u=V}}, regardless of the common-mode voltage of Q14/Q20 bases. The standing current in Q14/Q20 will be a factor [[diode modelling|{{math|1= exp({{val|100|u=mV·mm}}/ ''V''{{sub|T}}) ≈ 36}}]] smaller than the {{val|1|u=mA}} quiescent current in the class A portion of the op amp. This (small) standing current in the output transistors establishes the output stage in class AB operation and reduces the [[crossover distortion]] of this stage.


=== Small-signal differential mode ===
=== Small-signal differential mode ===
Line 230: Line 274:


==== Input impedance ====
==== Input impedance ====
The input stage with Q1 and Q3 is similar to an emitter-coupled pair (long-tailed pair), with Q2 and Q4 adding some degenerating impedance. The input impedance is relatively high because of the small current through Q1-Q4. A typical 741 op amp has a differential input impedance of about 2 MΩ.<ref name="NS LM741">National Semiconductor LM741 data sheet</ref> The common mode input impedance is even higher, as the input stage works at an essentially constant current.
The input stage with Q1 and Q3 is similar to an emitter-coupled pair (long-tailed pair), with Q2 and Q4 adding some degenerating impedance. The input impedance is relatively high because of the small current through Q1–Q4. A typical 741 op amp has a differential input impedance of about {{val|2|u=}}.<ref name="NS LM741">National Semiconductor LM741 data sheet</ref> The common mode input impedance is even higher, as the input stage works at an essentially constant current.


==== Differential amplifier ====
==== Differential amplifier ====
A differential voltage ''V''<sub>in</sub> at the op amp inputs (pins 3 and 2, respectively) gives rise to a small differential current in the bases of Q1 and Q2 ''i''<sub>in</sub>&nbsp;≈ ''V''<sub>in</sub>&nbsp;/ (2''h''<sub>ie</sub>''h''<sub>fe</sub>). This differential base current causes a change in the differential collector current in each leg by ''i''<sub>in</sub>''h''<sub>fe</sub>. Introducing the transconductance of Q1, ''g''<sub>''m''</sub>&nbsp;= ''h''<sub>fe</sub>&nbsp;/ ''h''<sub>ie</sub>, the (small-signal) current at the base of Q15 (the input of the voltage gain stage) is ''V''<sub>in</sub>''g''<sub>''m''</sub>&nbsp;/ 2.
A differential voltage {{math|''V''{{sub|in}}}} at the op amp inputs (pins 3 and 2, respectively) gives rise to a small differential current in the bases of Q1 and Q2 {{math|1= ''i''{{sub|in}} ≈ ''V''{{sub|in}} / (2''h''{{sub|ie}}''h''{{sub|fe}})}}. This differential base current causes a change in the differential collector current in each leg by {{math|''i''{{sub|in}}''h''{{sub|fe}}}}. Introducing the transconductance of Q1, {{math|1= ''g''{{sub|''m''}}''h''{{sub|fe}} / ''h''{{sub|ie}}}}, the (small-signal) current at the base of Q15 (the input of the voltage gain stage) is {{math|''V''{{sub|in}}''g''{{sub|''m''}} / 2}}.


This portion of the op amp cleverly changes a differential signal at the op amp inputs to a single-ended signal at the base of Q15, and in a way that avoids wastefully discarding the signal in either leg. To see how, notice that a small negative change in voltage at the inverting input (Q2 base) drives it out of conduction, and this incremental decrease in current passes directly from Q4 collector to its emitter, resulting in a decrease in base drive for Q15. On the other hand, a small positive change in voltage at the non-inverting input (Q1 base) drives this transistor into conduction, reflected in an increase in current at the collector of Q3. This current drives Q7 further into conduction, which turns on current mirror Q5/Q6. Thus, the increase in Q3 emitter current is mirrored in an increase in Q6 collector current; the increased collector currents shunts more from the collector node and results in a decrease in base drive current for Q15. Besides avoiding wasting 3&nbsp;dB of gain here, this technique decreases common-mode gain and feedthrough of power supply noise.
This portion of the op amp cleverly changes a differential signal at the op amp inputs to a single-ended signal at the base of Q15, and in a way that avoids wastefully discarding the signal in either leg. To see how, notice that a small negative change in voltage at the inverting input (Q2 base) drives it out of conduction, and this incremental decrease in current passes directly from Q4 collector to its emitter, resulting in a decrease in base drive for Q15. On the other hand, a small positive change in voltage at the non-inverting input (Q1 base) drives this transistor into conduction, reflected in an increase in current at the collector of Q3. This current drives Q7 further into conduction, which turns on current mirror Q5/Q6. Thus, the increase in Q3 emitter current is mirrored in an increase in Q6 collector current; the increased collector currents shunts more from the collector node and results in a decrease in base drive current for Q15. Besides avoiding wasting {{val|3|u=dB}} of gain here, this technique decreases common-mode gain and feedthrough of power supply noise.


==== Voltage amplifier ====
==== Voltage amplifier ====
A current signal ''i'' at Q15's base gives rise to a current in Q19 of order ''i''β<sup>2</sup> (the product of the ''h''<sub>fe</sub> of each of Q15 and Q19, which are connected in a [[Darlington pair]]). This current signal develops a voltage at the bases of output transistors Q14 and Q20 proportional to the ''h''<sub>ie</sub> of the respective transistor.
A current signal {{mvar|i}} at Q15's base gives rise to a current in Q19 of order {{math|''''{{sup|2}}}} (the product of the {{math|''h''{{sub|fe}}}} of each of Q15 and Q19, which are connected in a [[Darlington pair]]). This current signal develops a voltage at the bases of output transistors Q14 and Q20 proportional to the {{math|''h''{{sub|ie}}}} of the respective transistor.


==== Output amplifier ====
==== Output amplifier ====
Output transistors Q14 and Q20 are each configured as an emitter follower, so no voltage gain occurs there; instead, this stage provides current gain, equal to the ''h''<sub>fe</sub> of Q14 and Q20.
Output transistors Q14 and Q20 are each configured as an emitter follower, so no voltage gain occurs there; instead, this stage provides current gain, equal to the {{math|''h''{{sub|fe}}}} of Q14 and Q20.


The current gain lowers the output impedance and although the output impedance is not zero, as it would be in an ideal op amp, with negative feedback it approaches zero at low frequencies.
The current gain lowers the output impedance and although the output impedance is not zero, as it would be in an ideal op amp, with negative feedback it approaches zero at low frequencies.
Line 248: Line 292:


==== Overall open-loop gain ====
==== Overall open-loop gain ====
The net open-loop small-signal voltage gain of the op amp is determined by the product of the current gain ''h''<sub>fe</sub> of some 4 transistors. In practice, the voltage gain for a typical 741-style op amp is of order 200,000,<ref name="NS LM741" /> and the current gain, the ratio of input impedance (~2−6{{nbsp}}) to output impedance (~50{{nbsp}}Ω) provides yet more (power) gain.
The net open-loop small-signal voltage gain of the op amp is determined by the product of the current gain {{math|''h''{{sub|fe}}}} of some 4 transistors. In practice, the voltage gain for a typical 741-style op amp is of order 200,000,<ref name="NS LM741" /> and the current gain, the ratio of input impedance (about {{val|2|-|6|u=MΩ}}) to output impedance (around {{val|50|u=Ω}}) provides yet more (power) gain.


==== Small-signal common mode gain ====
==== Small-signal common mode gain ====
The ideal op amp has infinite [[common-mode rejection ratio]], or zero common-mode gain.
The ideal op amp has infinite [[common-mode rejection ratio]], or zero common-mode gain.


In the present circuit, if the input voltages change in the same direction, the negative feedback makes Q3/Q4 base voltage follow (with 2 ''V''<sub>BE</sub> below) the input voltage variations. Now the output part (Q10) of Q10-Q11 current mirror keeps up the common current through Q9/Q8 constant in spite of varying voltage. Q3/Q4 collector currents, and accordingly the output current at the base of Q15, remain unchanged.
In the present circuit, if the input voltages change in the same direction, the negative feedback makes Q3/Q4 base voltage follow (with {{math|2''V''{{sub|BE}}}} below) the input voltage variations. Now the output part (Q10) of Q10–Q11 current mirror keeps up the common current through Q9/Q8 constant in spite of varying voltage. Q3/Q4 collector currents, and accordingly the output current at the base of Q15, remain unchanged.


In the typical 741 op amp, the common-mode rejection ratio is 90&nbsp;dB,<ref name="NS LM741" /> implying an open-loop common-mode voltage gain of about 6.<!-- 200,000 / 10^^(4.5) -->
In the typical 741 op amp, the common-mode rejection ratio is {{val|90|u=dB}},<ref name="NS LM741" /> implying an open-loop common-mode voltage gain of about 6.<!-- 200,000 / 10^^(4.5) -->


==== Frequency compensation ====
==== Frequency compensation ====
The innovation of the Fairchild μA741 was the introduction of [[frequency compensation]] via an on-chip (monolithic) capacitor, simplifying application of the op amp by eliminating the need for external components for this function. The 30&nbsp;pF capacitor stabilizes the amplifier via [[Miller effect|Miller compensation]] and functions in a manner similar to an op-amp [[integrator]] circuit. Also known as ''dominant [[Pole (complex analysis)|pole]] compensation'' because it introduces a pole that masks (dominates) the effects of other poles into the open loop frequency response; in a 741 op amp this pole can be as low as 10&nbsp;Hz (where it causes a −3&nbsp;dB loss of open loop voltage gain).
The innovation of the Fairchild μA741 was the introduction of [[frequency compensation]] via an on-chip (monolithic) capacitor, simplifying application of the op amp by eliminating the need for external components for this function. The {{val|30|u=pF}} capacitor stabilizes the amplifier via [[Miller effect|Miller compensation]] and functions in a manner similar to an op-amp [[integrator]] circuit. Also known as ''dominant [[Pole (complex analysis)|pole]] compensation'' because it introduces a pole that masks (dominates) the effects of other poles into the open loop frequency response; in a 741 op amp this pole can be as low as {{val|10|u=Hz}} (where it causes a {{val|-3|u=dB}} loss of open loop voltage gain).


This internal compensation is provided to achieve [[BIBO stability|unconditional stability]] of the amplifier in negative feedback configurations where the feedback network is non-reactive and the [[loop gain]] is [[unity (mathematics)|unity]] or higher. In contrast, amplifiers requiring external compensation, such as the μA748, may require external compensation or closed-loop gains significantly higher than unity.
This internal compensation is provided to achieve [[BIBO stability|unconditional stability]] of the amplifier in negative feedback configurations where the feedback network is non-reactive and the [[loop gain]] is [[unity (mathematics)|unity]] or higher. In contrast, amplifiers requiring external compensation, such as the μA748, may require external compensation or closed-loop gains significantly higher than unity.


==== Input offset voltage ====
==== Input offset voltage ====
The ''offset null'' pins may be used to place external resistors (typically in the form of the two ends of a potentiometer, with the slider connected to ''V''<sub>''S''–</sub>) in parallel with the emitter resistors of Q5 and Q6, to adjust the balance of the Q5/Q6 current mirror. The potentiometer is adjusted such that the output is null (midrange) when the inputs are shorted together.
The ''offset null'' pins may be used to place external resistors (typically in the form of the two ends of a potentiometer, with the slider connected to {{math|''V''{{sub|S–}}}}) in parallel with the emitter resistors of Q5 and Q6, to adjust the balance of the Q5/Q6 current mirror. The potentiometer is adjusted such that the output is null (midrange) when the inputs are shorted together.


=== Non-linear characteristics ===
=== Non-linear characteristics ===


==== Input breakdown voltage ====
==== Input breakdown voltage ====
The transistors Q3, Q4 help to increase the reverse ''V''<sub>BE</sub> rating; The base-emitter junctions of the NPN transistors Q1 and Q2 break down at around 7{{nbsp}}V, but the PNP transistors Q3 and Q4 have ''V''<sub>BE</sub> breakdown voltages around 50{{nbsp}}V.<ref>[http://ecow.engr.wisc.edu/cgi-bin/get/ece/342/schowalter/notes/chapter10/theua741operationalamplifier.ppt The μA741 Operational Amplifier]{{dead link|date=June 2016|bot=medic|fix-attempted=yes}}{{cbignore|bot=medic}}</ref>
The transistors Q3, Q4 help to increase the reverse {{math|''V''{{sub|BE}}}} rating; The base-emitter junctions of the NPN transistors Q1 and Q2 break down at around {{val|7|u=V}}, but the PNP transistors Q3 and Q4 have {{math|''V''{{sub|BE}}}} breakdown voltages around {{val|50|u=V}}.<ref>[http://ecow.engr.wisc.edu/cgi-bin/get/ece/342/schowalter/notes/chapter10/theua741operationalamplifier.ppt The μA741 Operational Amplifier]{{dead link|date=June 2016|bot=medic|fix-attempted=yes}}{{cbignore|bot=medic}}</ref>


==== Output-stage voltage swing and current limiting ====
==== Output-stage voltage swing and current limiting ====
Variations in the quiescent current with temperature, or due to manufacturing variations, are common, so [[crossover distortion]] may be subject to significant variation.
Variations in the quiescent current with temperature, or due to manufacturing variations, are common, so [[crossover distortion]] may be subject to significant variation.


The output range of the amplifier is about one volt less than the supply voltage, owing in part to ''V''<sub>BE</sub> of the output transistors Q14 and Q20.
The output range of the amplifier is about one volt less than the supply voltage, owing in part to {{math|''V''{{sub|BE}}}} of the output transistors Q14 and Q20.


The {{val|25|u=Ω}} resistor at the Q14 emitter, along with Q17, limits Q14 current to about {{val|25|u=mA}}; otherwise, Q17 conducts no current. Current limiting for Q20 is performed in the voltage gain stage: Q22 senses the voltage across Q19's emitter resistor ({{val|50|u=Ω}}); as it turns on, it diminishes the drive current to Q15 base. Later versions of this amplifier schematic may show a somewhat different method of output current limiting.
The {{val|25|u=Ω}} resistor at the Q14 emitter, along with Q17, limits Q14 current to about {{val|25|u=mA}}; otherwise, Q17 conducts no current. Current limiting for Q20 is performed in the voltage gain stage: Q22 senses the voltage across Q19's emitter resistor ({{val|50|u=Ω}}); as it turns on, it diminishes the drive current to Q15 base. Later versions of this amplifier schematic may show a somewhat different method of output current limiting.


===Applicability considerations===
===Applicability considerations===
While the 741 was historically used in audio and other sensitive equipment, such use is now rare because of the improved [[Noise (electronics)|noise]] performance of more modern op amps. Apart from generating noticeable hiss, 741s and other older op amps may have poor [[common-mode rejection ratio]]s and so will often introduce cable-borne mains hum and other common-mode interference, such as switch ''clicks'', into sensitive equipment.
While the 741 was historically used in audio and other sensitive equipment, such use is now rare because of the improved [[Noise (electronics)|noise]] performance of more modern op amps. Apart from generating noticeable hiss, 741s and other older op amps may have poor [[common-mode rejection ratio]]s and so will often introduce cable-borne mains hum and other common-mode interference, such as switch "clicks", into sensitive equipment.


The ''741'' has come to often mean a generic op-amp IC (such as μA741, LM301, 558, LM324, TBA221 — or a more modern replacement such as the TL071). The description of the 741 output stage is qualitatively similar for many other designs (that may have quite different input stages), except:
The '741' has come to often mean a generic op-amp IC (such as μA741, LM301, 558, LM324, TBA221 — or a more modern replacement such as the TL071). The description of the 741 output stage is qualitatively similar for many other designs (that may have quite different input stages), except:
* Some devices (μA748, LM301, LM308) are not internally compensated (require an external capacitor from output to some point within the operational amplifier, if used in low closed-loop gain applications).
* Some devices (μA748, LM301, LM308) are not internally compensated. Hence, they provide a pin for wiring an external capacitor from output to some point within the operational amplifier, if used in low closed-loop gain applications.<ref>{{cite web |url=https://datasheet.octopart.com/UA748HC-Fairchild-Semiconductor-datasheet-182286989.pdf |title=μA748 Operational Amplifier |access-date=}}</ref>
* Some modern devices have ''rail-to-rail'' output capability, meaning that the output can range from within a few millivolts of the positive supply voltage to within a few millivolts of the negative supply voltage.<ref name="rail-to-rail" />
* Some modern devices have ''rail-to-rail'' output capability, meaning that the output can range from within a few millivolts of the positive supply voltage to within a few millivolts of the negative supply voltage.<ref name="rail-to-rail" />


Line 405: Line 449:


==Historical timeline==
==Historical timeline==
'''1941: A vacuum tube op amp.''' An op amp, defined as a general-purpose, DC-coupled, high gain, inverting feedback amplifier, is first found in {{US patent|2,401,779}} "Summing Amplifier" filed by [[Karl D. Swartzel Jr.]] of Bell Labs in 1941. This design used three [[vacuum tube]]s to achieve a gain of {{nowrap|90 dB}} and operated on voltage rails of {{nowrap|±350 V}}. It had a single inverting input rather than differential inverting and non-inverting inputs, as are common in today's op amps. Throughout [[World War II]], Swartzel's design proved its value by being liberally used in the M9 [[Director (military)|artillery director]] designed at Bell Labs. This artillery director worked with the [[SCR-584 radar]] system to achieve extraordinary hit rates (near 90%) that would not have been possible otherwise.<ref name="Jung-2004">{{cite book |title=Op Amp Applications Handbook |page=777 |chapter=Chapter 8: Op Amp History |first=Walter G. |last=Jung |publisher=Newnes |year=2004 |isbn=978-0-7506-7844-5 |url=https://books.google.com/books?id=dunqt1rt4sAC |access-date=2008-11-15}}</ref>
'''1941: A vacuum tube op amp.''' An op amp, defined as a general-purpose, DC-coupled, high-gain, inverting feedback amplifier, is first found in {{US patent|2,401,779}} "Summing Amplifier" filed by [[Karl D. Swartzel Jr.]] of Bell Labs in 1941. This design used three [[vacuum tube]]s to achieve a gain of {{nowrap|90 dB}} and operated on voltage rails of {{nowrap|±350 V}}. It had a single inverting input rather than differential inverting and non-inverting inputs, as are common in today's op amps. Throughout [[World War II]], Swartzel's design proved its value by being liberally used in the M9 [[Director (military)|artillery director]] designed at Bell Labs. This artillery director worked with the [[SCR-584 radar]] system to achieve extraordinary hit rates (near 90%) that would not have been possible otherwise.<ref name="Jung-2004">{{cite book |title=Op Amp Applications Handbook |page=777 |chapter=Chapter 8: Op Amp History |first=Walter G. |last=Jung |publisher=Newnes |year=2004 |isbn=978-0-7506-7844-5 |url=https://books.google.com/books?id=dunqt1rt4sAC |access-date=2008-11-15}}</ref>


[[Image:K2-w Vacuum Tube Op-amp.jpg|right|thumb|120px|GAP/R K2-W: a vacuum-tube op amp (1953)]]
[[Image:K2-w Vacuum Tube Op-amp.jpg|right|thumb|120px|GAP/R K2-W: a vacuum-tube op amp (1953)]]
Line 411: Line 455:
'''1947: An op amp with an explicit non-inverting input.''' In 1947, the operational amplifier was first formally defined and named in a paper by [[John R. Ragazzini]] of Columbia University.<ref>{{cite journal |last1=Ragazzini |first1=John R. |author1-link=John R. Ragazzini |last2=Randall |first2=Robert H. |last3=Russell |first3=Frederick A. |title=Analysis of Problems in Dynamics by Electronic Circuits |journal=Proceedings of the IRE |volume=35 |issue=5 |pages=444–452 |publisher=IEEE |date=May 1947 |issn=0096-8390 |doi=10.1109/JRPROC.1947.232616}}</ref> In this same paper a footnote mentioned an op-amp design by a student that would turn out to be quite significant. This op amp, designed by [[Loebe Julie]], had two major innovations. Its input stage used a long-tailed [[triode]] pair with loads matched to reduce drift in the output and, far more importantly, it was the first op-amp design to have two inputs (one inverting, the other non-inverting). The differential input made a whole range of new functionality possible, but it would not be used for a long time due to the rise of the chopper-stabilized amplifier.<ref name="Jung-2004"/>
'''1947: An op amp with an explicit non-inverting input.''' In 1947, the operational amplifier was first formally defined and named in a paper by [[John R. Ragazzini]] of Columbia University.<ref>{{cite journal |last1=Ragazzini |first1=John R. |author1-link=John R. Ragazzini |last2=Randall |first2=Robert H. |last3=Russell |first3=Frederick A. |title=Analysis of Problems in Dynamics by Electronic Circuits |journal=Proceedings of the IRE |volume=35 |issue=5 |pages=444–452 |publisher=IEEE |date=May 1947 |issn=0096-8390 |doi=10.1109/JRPROC.1947.232616}}</ref> In this same paper a footnote mentioned an op-amp design by a student that would turn out to be quite significant. This op amp, designed by [[Loebe Julie]], had two major innovations. Its input stage used a long-tailed [[triode]] pair with loads matched to reduce drift in the output and, far more importantly, it was the first op-amp design to have two inputs (one inverting, the other non-inverting). The differential input made a whole range of new functionality possible, but it would not be used for a long time due to the rise of the chopper-stabilized amplifier.<ref name="Jung-2004"/>


'''1949: A chopper-stabilized op amp.''' In 1949, Edwin A. Goldberg designed a [[Chopper (electronics)|chopper]]-stabilized op amp.<ref>{{cite web |url=http://www.analog.com/library/analogDialogue/archives/39-05/Web_ChH_final.pdf |title=Op Amp Applications |publisher=[[Analog Devices]] |access-date=2012-12-27 |url-status=dead |archive-url=https://web.archive.org/web/20121007072916/http://www.analog.com/library/analogDialogue/archives/39-05/Web_ChH_final.pdf |archive-date=2012-10-07 }}</ref> This set-up uses a normal op amp with an additional [[Alternating current|AC]] amplifier that goes alongside the op amp. The chopper gets an AC signal from [[Direct current|DC]] by switching between the DC voltage and ground at a fast rate (60 or 400&nbsp;Hz). This signal is then amplified, rectified, filtered and fed into the op amp's non-inverting input. This vastly improved the gain of the op amp while significantly reducing the output drift and DC offset. Unfortunately, any design that used a chopper couldn't use the non-inverting input for any other purpose. Nevertheless, the much-improved characteristics of the chopper-stabilized op amp made it the dominant way to use op amps. Techniques that used the non-inverting input were not widely practiced until the 1960s when op-amp [[Integrated circuit|IC]]s became available.<!--[[User:Kvng/RTH]]-->
'''1949: A chopper-stabilized op amp.''' In 1949, Edwin A. Goldberg designed a [[Chopper (electronics)|chopper]]-stabilized op amp.<ref>{{cite web |url=http://www.analog.com/library/analogDialogue/archives/39-05/Web_ChH_final.pdf |title=Op Amp Applications |publisher=[[Analog Devices]] |access-date=2012-12-27 |url-status=dead |archive-url=https://web.archive.org/web/20121007072916/http://www.analog.com/library/analogDialogue/archives/39-05/Web_ChH_final.pdf |archive-date=2012-10-07 }}</ref> This set-up uses a normal op amp with an additional [[Alternating current|AC]] amplifier that goes alongside the op amp. The chopper gets an AC signal from [[Direct current|DC]] by switching between the DC voltage and ground at a fast rate (60 or 400&nbsp;Hz). This signal is then amplified, rectified, filtered and fed into the op amp's non-inverting input. This vastly improved the gain of the op amp while significantly reducing the output drift and DC offset. Unfortunately, any design that used a chopper couldn't use the non-inverting input for any other purpose. Nevertheless, the much-improved characteristics of the chopper-stabilized op amp made it the dominant way to use op amps. Techniques that used the non-inverting input were not widely practiced until the 1960s when op-amp [[Integrated circuit|IC]]s became available.


'''1953: A commercially available op amp.''' In 1953, vacuum tube op amps became commercially available with the release of the model K2-W from [[George A. Philbrick]] Researches, Incorporated. The designation on the devices shown, GAP/R, is an acronym for the complete company name. Two nine-pin [[12AX7]] vacuum tubes were mounted in an octal package and had a model K2-P chopper add-on available that would effectively "use up" the non-inverting input. This op amp was based on a descendant of Loebe Julie's 1947 design and, along with its successors, would start the widespread use of op amps in industry.
'''1953: A commercially available op amp.''' In 1953, vacuum tube op amps became commercially available with the release of the model K2-W from [[George A. Philbrick]] Researches, Incorporated. The designation on the devices shown, GAP/R, is an acronym for the complete company name. Two nine-pin [[12AX7]] vacuum tubes were mounted in an octal package and had a model K2-P chopper add-on available. This op amp was based on a descendant of Loebe Julie's 1947 design and, along with its successors, would start the widespread use of op amps in industry.<ref>{{citation |url=https://www.analog.com/media/en/training-seminars/design-handbooks/Op-Amp-Applications/SectionH.pdf |title=Op Amp History |access-date=2025-06-02 |publisher=[[Analog Devices]] |pages=20–21}}</ref><!--[[User:Kvng/RTH]]-->


[[Image:Discrete opamp.png|right|thumb|120px|GAP/R model P45: a solid-state, discrete op amp (1961).]]
[[Image:Discrete opamp.png|right|thumb|120px|GAP/R model P45: a solid-state, discrete op amp (1961).]]

Revision as of 23:29, 19 June 2025

Template:Short description

Template:Infobox electronic component

An operational amplifier (often op amp or opamp) is a DC-coupled electronic voltage amplifier with a differential input, a (usually) single-ended output,[1] and an extremely high gain. Its name comes from its original use of performing mathematical operations in analog computers.

By using negative feedback, an op amp circuit's characteristics (e.g. its gain, input and output impedance, bandwidth, and functionality) can be determined by external components and have little dependence on temperature coefficients or engineering tolerance in the op amp itself. This flexibility has made the op amp a popular building block in analog circuits.

Today, op amps are used widely in consumer, industrial, and scientific electronics. Many standard integrated circuit op amps cost only a few cents; however, some integrated or hybrid operational amplifiers with special performance specifications may cost over Template:Currency.[2] Op amps may be packaged as components or used as elements of more complex integrated circuits.

The op amp is one type of differential amplifier. Other differential amplifier types include the fully differential amplifier (an op amp with a differential rather than single-ended output), the instrumentation amplifier (usually built from three op amps), the isolation amplifier (with galvanic isolation between input and output), and negative-feedback amplifier (usually built from one or more op amps and a resistive feedback network).

Operation

File:Op-amp open-loop 1.svg
An op amp without negative feedback (a comparator)

The amplifier's differential inputs consist of a non-inverting input (+) with voltage Template:Math and an inverting input (−) with voltage Template:Math; ideally the op amp amplifies only the difference in voltage between the two, which is called the differential input voltage. The output voltage of the op amp Template:Math is given by the equation Vout=AOL(V+V), where Template:Math is the open-loop gain of the amplifier (the term "open-loop" refers to the absence of an external feedback loop from the output to the input).

Open-loop amplifier

The magnitude of Template:Math is typically very large (100,000 or more for integrated circuit op amps, corresponding to +100 dB). Thus, even small microvolts of difference between Template:Math and Template:Math may drive the amplifier into clipping or saturation. The magnitude of Template:Math is not well controlled by the manufacturing process, and so it is impractical to use an open-loop amplifier as a stand-alone differential amplifier.

Without negative feedback, and optionally positive feedback for regeneration, an open-loop op amp acts as a comparator, although comparator ICs are better suited.[3] If the inverting input of an ideal op amp is held at ground (0 V), and the input voltage Template:Math applied to the non-inverting input is positive, the output will be maximum positive; if Template:Math is negative, the output will be maximum negative.

Closed-loop amplifier

File:Operational amplifier noninverting.svg
An op amp with negative feedback (a non-inverting amplifier)

If predictable operation is desired, negative feedback is used, by applying a portion of the output voltage to the inverting input. The closed-loop feedback greatly reduces the gain of the circuit. When negative feedback is used, the circuit's overall gain and response is determined primarily by the feedback network, rather than by the op-amp characteristics. If the feedback network is made of components with values small relative to the op amp's input impedance, the value of the op amp's open-loop response Template:Math does not seriously affect the circuit's performance. In this context, high input impedance at the input terminals and low output impedance at the output terminal(s) are particularly useful features of an op amp.

The response of the op-amp circuit with its input, output, and feedback circuits to an input is characterized mathematically by a transfer function; designing an op-amp circuit to have a desired transfer function is in the realm of electrical engineering. The transfer functions are important in most applications of op amps, such as in analog computers.

In the non-inverting amplifier on the right, the presence of negative feedback via the voltage divider Template:Math, Template:Math determines the closed-loop gain Template:Math. Equilibrium will be established when Template:Math is just sufficient to pull the inverting input to the same voltage as Template:Math. The voltage gain of the entire circuit is thus Template:Math. As a simple example, if Template:Math and Template:Math, Template:Math will be 2 V, exactly the amount required to keep Template:Math at 1 V. Because of the feedback provided by the Template:Math, Template:Math network, this is a closed-loop circuit.

Another way to analyze this circuit proceeds by making the following (usually valid) assumptions:[4]

  1. When an op amp operates in linear (i.e., not saturated) mode, the difference in voltage between the non-inverting (+) and inverting (−) pins is negligibly small.
  2. The input impedance of the (+) and (−) pins is much larger than other resistances in the circuit.

The input signal Template:Math appears at both (+) and (−) pins per assumption 1, resulting in a current Template:Mvar through Template:Math equal to Template:Math: i=VinRg.

Because Kirchhoff's current law states that the same current must leave a node as enter it, and because the impedance into the (−) pin is near infinity per assumption 2, we can assume practically all of the same current Template:Mvar flows through Template:Math, creating an output voltage Vout=Vin+iRf=Vin+(VinRgRf)=Vin+VinRfRg=Vin(1+RfRg).

By combining terms, we determine the closed-loop gain Template:Math: ACL=VoutVin=1+RfRg.

Op-amp characteristics

Ideal op amps

File:Op-Amp Internal.svg
An equivalent circuit of an operational amplifier that models some resistive non-ideal parameters.

An ideal op amp is usually considered to have the following characteristics:[5][6][7]

These ideals can be summarized by the two Template:Em:

  1. In a closed loop the output does whatever is necessary to make the voltage difference between the inputs zero.
  2. The inputs draw zero current.[8]Template:Rp

The first rule only applies in the usual case where the op amp is used in a closed-loop design (negative feedback, where there is a signal path of some sort feeding back from the output to the inverting input). These rules are commonly used as a good first approximation for analyzing or designing op-amp circuits.[8]Template:Rp

None of these ideals can be perfectly realized. A real op amp may be modeled with non-infinite or non-zero parameters using equivalent resistors and capacitors in the op-amp model. The designer can then include these effects into the overall performance of the final circuit. Some parameters may turn out to have negligible effect on the final design while others represent actual limitations of the final performance.

Real op amps

Real op amps differ from the ideal model in various aspects.

Template:Glossary begin Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn Template:Glossary end


Non-linear imperfections

File:Inverting Amplifier Signal Clipping.png
The input (yellow) and output (green) of a saturated op amp in an inverting amplifier

Template:Glossary begin Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn Template:Glossary end

Power considerations

Template:Glossary begin Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn Template:Glossary end

Internal circuitry of 741-type op amp

File:OpAmpTransistorLevel Colored Labeled.svg
A component-level diagram of the common 741 op amp. Dotted lines outline: #REDIRECT Template:Color box Template:Redirect category shellTemplate:Nbspcurrent mirrors; #REDIRECT Template:Color box Template:Redirect category shellTemplate:Nbspdifferential amplifier; #REDIRECT Template:Color box Template:Redirect category shellTemplate:Nbspclass A gain stage; #REDIRECT Template:Color box Template:Redirect category shellTemplate:Nbspvoltage level shifter; #REDIRECT Template:Color box Template:Redirect category shellTemplate:Nbspoutput stage.

Sourced by many manufacturers, and in multiple similar products, an example of a bipolar transistor operational amplifier is the 741 integrated circuit designed in 1968 by David Fullagar at Fairchild Semiconductor after Bob Widlar's LM301 integrated circuit design.[9] In this discussion, we use the parameters of the hybrid-pi model to characterize the small-signal, grounded emitter characteristics of a transistor. In this model, the current gain of a transistor is denoted Template:Math, more commonly denoted Template:Mvar.[10]

Architecture

A small-scale integrated circuit, the 741 op amp shares with most op amps an internal structure consisting of three gain stages:[11]

  1. Differential amplifier (outlined dark blue) — provides high differential amplification (gain), with rejection of common-mode signal, low noise, high input impedance, and drives a
  2. Voltage amplifier (outlined magenta) — provides high voltage gain, a single-pole frequency roll-off, and in turn drives the
  3. Output amplifier (outlined cyan and green) — provides high current gain (low output impedance), along with output current limiting, and output short-circuit protection.

Additionally, it contains current mirror (outlined red) bias circuitry and compensation capacitor (Template:Val).

Differential amplifier

The input stage consists of a cascaded differential amplifier (outlined in dark blue) followed by a current-mirror active load. This constitutes a transconductance amplifier, turning a differential voltage signal at the bases of Q1, Q2 into a current signal into the base of Q15.

It entails two cascaded transistor pairs, satisfying conflicting requirements. The first stage consists of the matched NPN emitter follower pair Q1, Q2 that provide high input impedance. The second is the matched PNP common-base pair Q3, Q4 that eliminates the undesirable Miller effect; it drives an active load Q7 plus matched pair Q5, Q6.

That active load is implemented as a modified Wilson current mirror; its role is to convert the (differential) input current signal to a single-ended signal without the attendant 50% losses (increasing the op amp's open-loop gain by Template:Val).[nb 1] Thus, a small-signal differential current in Q3 versus Q4 appears summed (doubled) at the base of Q15, the input of the voltage gain stage.

Voltage amplifier

The (class-A) voltage gain stage (outlined in magenta) consists of the two NPN transistors Q15 and Q19 connected in a Darlington configuration and uses the output side of current mirror formed by Q12 and Q13 as its collector (dynamic) load to achieve its high voltage gain. The output sink transistor Q20 receives its base drive from the common collectors of Q15 and Q19; the level-shifter Q16 provides base drive for the output source transistor Q14. The transistor Q22 prevents this stage from delivering excessive current to Q20 and thus limits the output sink current.

Output amplifier

The output stage (Q14, Q20, outlined in cyan) is a Class AB amplifier. It provides an output drive with impedance of about Template:Val, in essence, current gain. Transistor Q16 (outlined in green) provides the quiescent current for the output transistors and Q17 limits output source current.

Biasing circuits

Biasing circuits provide appropriate quiescent current for each stage of the op amp.

The Template:Val resistor connecting the diode-connected transistors Q11 and Q12, and the given supply voltage Template:Math, determine the current in the current mirrors, (matched pairs) Q10/Q11 and Q12/Q13. The collector current of Q11, Template:Math Template:Math. For the typical Template:Math, the standing current in Q11 and Q12 (as well as in Q13) would be about Template:Val. A supply current for a typical 741 of about Template:Val agrees with the notion that these two bias currents dominate the quiescent supply current.[12]

Transistors Q11 and Q10 form a Widlar current mirror, with quiescent current in Q10 Template:Math such that Template:Math, where Template:Val represents the emitter resistor of Q10, and Template:Val is Template:Math, the thermal voltage at room temperature. In this case Template:Math.

Differential amplifier

The biasing circuit of this stage is set by a feedback loop that forces the collector currents of Q10 and Q9 to (nearly) match. Any small difference in these currents provides drive for the common base of Q3 and Q4.[nb 2] The summed quiescent currents through Q1 and Q3 plus Q2 and Q4 is mirrored from Q8 into Q9, where it is summed with the collector current in Q10, the result being applied to the bases of Q3 and Q4.

The quiescent currents through Q1 and Q3 (also Q2 and Q4) Template:Math will thus be half of Template:Math, of order about Template:Val. Input bias current for the base of Q1 (also Q2) will amount to Template:Math; typically around Template:Val,[12] implying a current gain Template:Math for Q1 (also Q2).

This feedback circuit tends to draw the common base node of Q3/Q4 to a voltage Template:Math, where Template:Math is the input common-mode voltage. At the same time, the magnitude of the quiescent current is relatively insensitive to the characteristics of the components Q1–Q4, such as Template:Math, that would otherwise cause temperature dependence or part-to-part variations.

Transistor Q7 drives Q5 and Q6 into conduction until their (equal) collector currents match that of Q1/Q3 and Q2/Q4. The quiescent current in Q7 is Template:Math, about Template:Val, as is the quiescent current in Q15, with its matching operating point. Thus, the quiescent currents are pairwise matched in Q1/Q2, Q3/Q4, Q5/Q6, and Q7/Q15.

Voltage amplifier

Quiescent currents in Q16 and Q19 are set by the current mirror Q12/Q13, which is running at approximately Template:Val. The collector current in Q19 tracks that standing current.Template:Elucidate

Output amplifier

In the circuit involving Q16 (variously named rubber diode or Template:Math multiplier), the Template:Val resistor must be conducting about Template:Val, with Q16 Template:Math. Then Template:Math must be about Template:Val, and Template:Math. Because the Q16 collector is driven by a current source and the Q16 emitter drives into the Q19 collector current sink, the Q16 transistor establishes a voltage difference between the Q14 base and the Q20 base of about Template:Val, regardless of the common-mode voltage of Q14/Q20 bases. The standing current in Q14/Q20 will be a factor [[diode modelling|Template:Math]] smaller than the Template:Val quiescent current in the class A portion of the op amp. This (small) standing current in the output transistors establishes the output stage in class AB operation and reduces the crossover distortion of this stage.

Small-signal differential mode

A small differential input voltage signal gives rise, through multiple stages of current amplification, to a much larger voltage signal on output.

Input impedance

The input stage with Q1 and Q3 is similar to an emitter-coupled pair (long-tailed pair), with Q2 and Q4 adding some degenerating impedance. The input impedance is relatively high because of the small current through Q1–Q4. A typical 741 op amp has a differential input impedance of about Template:Val.[12] The common mode input impedance is even higher, as the input stage works at an essentially constant current.

Differential amplifier

A differential voltage Template:Math at the op amp inputs (pins 3 and 2, respectively) gives rise to a small differential current in the bases of Q1 and Q2 Template:Math. This differential base current causes a change in the differential collector current in each leg by Template:Math. Introducing the transconductance of Q1, Template:Math, the (small-signal) current at the base of Q15 (the input of the voltage gain stage) is Template:Math.

This portion of the op amp cleverly changes a differential signal at the op amp inputs to a single-ended signal at the base of Q15, and in a way that avoids wastefully discarding the signal in either leg. To see how, notice that a small negative change in voltage at the inverting input (Q2 base) drives it out of conduction, and this incremental decrease in current passes directly from Q4 collector to its emitter, resulting in a decrease in base drive for Q15. On the other hand, a small positive change in voltage at the non-inverting input (Q1 base) drives this transistor into conduction, reflected in an increase in current at the collector of Q3. This current drives Q7 further into conduction, which turns on current mirror Q5/Q6. Thus, the increase in Q3 emitter current is mirrored in an increase in Q6 collector current; the increased collector currents shunts more from the collector node and results in a decrease in base drive current for Q15. Besides avoiding wasting Template:Val of gain here, this technique decreases common-mode gain and feedthrough of power supply noise.

Voltage amplifier

A current signal Template:Mvar at Q15's base gives rise to a current in Q19 of order Template:Math (the product of the Template:Math of each of Q15 and Q19, which are connected in a Darlington pair). This current signal develops a voltage at the bases of output transistors Q14 and Q20 proportional to the Template:Math of the respective transistor.

Output amplifier

Output transistors Q14 and Q20 are each configured as an emitter follower, so no voltage gain occurs there; instead, this stage provides current gain, equal to the Template:Math of Q14 and Q20.

The current gain lowers the output impedance and although the output impedance is not zero, as it would be in an ideal op amp, with negative feedback it approaches zero at low frequencies.

Other linear characteristics

Overall open-loop gain

The net open-loop small-signal voltage gain of the op amp is determined by the product of the current gain Template:Math of some 4 transistors. In practice, the voltage gain for a typical 741-style op amp is of order 200,000,[12] and the current gain, the ratio of input impedance (about Template:Val) to output impedance (around Template:Val) provides yet more (power) gain.

Small-signal common mode gain

The ideal op amp has infinite common-mode rejection ratio, or zero common-mode gain.

In the present circuit, if the input voltages change in the same direction, the negative feedback makes Q3/Q4 base voltage follow (with Template:Math below) the input voltage variations. Now the output part (Q10) of Q10–Q11 current mirror keeps up the common current through Q9/Q8 constant in spite of varying voltage. Q3/Q4 collector currents, and accordingly the output current at the base of Q15, remain unchanged.

In the typical 741 op amp, the common-mode rejection ratio is Template:Val,[12] implying an open-loop common-mode voltage gain of about 6.

Frequency compensation

The innovation of the Fairchild μA741 was the introduction of frequency compensation via an on-chip (monolithic) capacitor, simplifying application of the op amp by eliminating the need for external components for this function. The Template:Val capacitor stabilizes the amplifier via Miller compensation and functions in a manner similar to an op-amp integrator circuit. Also known as dominant pole compensation because it introduces a pole that masks (dominates) the effects of other poles into the open loop frequency response; in a 741 op amp this pole can be as low as Template:Val (where it causes a Template:Val loss of open loop voltage gain).

This internal compensation is provided to achieve unconditional stability of the amplifier in negative feedback configurations where the feedback network is non-reactive and the loop gain is unity or higher. In contrast, amplifiers requiring external compensation, such as the μA748, may require external compensation or closed-loop gains significantly higher than unity.

Input offset voltage

The offset null pins may be used to place external resistors (typically in the form of the two ends of a potentiometer, with the slider connected to Template:Math) in parallel with the emitter resistors of Q5 and Q6, to adjust the balance of the Q5/Q6 current mirror. The potentiometer is adjusted such that the output is null (midrange) when the inputs are shorted together.

Non-linear characteristics

Input breakdown voltage

The transistors Q3, Q4 help to increase the reverse Template:Math rating; The base-emitter junctions of the NPN transistors Q1 and Q2 break down at around Template:Val, but the PNP transistors Q3 and Q4 have Template:Math breakdown voltages around Template:Val.[13]

Output-stage voltage swing and current limiting

Variations in the quiescent current with temperature, or due to manufacturing variations, are common, so crossover distortion may be subject to significant variation.

The output range of the amplifier is about one volt less than the supply voltage, owing in part to Template:Math of the output transistors Q14 and Q20.

The Template:Val resistor at the Q14 emitter, along with Q17, limits Q14 current to about Template:Val; otherwise, Q17 conducts no current. Current limiting for Q20 is performed in the voltage gain stage: Q22 senses the voltage across Q19's emitter resistor (Template:Val); as it turns on, it diminishes the drive current to Q15 base. Later versions of this amplifier schematic may show a somewhat different method of output current limiting.

Applicability considerations

While the 741 was historically used in audio and other sensitive equipment, such use is now rare because of the improved noise performance of more modern op amps. Apart from generating noticeable hiss, 741s and other older op amps may have poor common-mode rejection ratios and so will often introduce cable-borne mains hum and other common-mode interference, such as switch "clicks", into sensitive equipment.

The '741' has come to often mean a generic op-amp IC (such as μA741, LM301, 558, LM324, TBA221 — or a more modern replacement such as the TL071). The description of the 741 output stage is qualitatively similar for many other designs (that may have quite different input stages), except:

  • Some devices (μA748, LM301, LM308) are not internally compensated. Hence, they provide a pin for wiring an external capacitor from output to some point within the operational amplifier, if used in low closed-loop gain applications.[14]
  • Some modern devices have rail-to-rail output capability, meaning that the output can range from within a few millivolts of the positive supply voltage to within a few millivolts of the negative supply voltage.[15]

Classification

Op amps may be classified by their construction:

IC op amps may be classified in many ways, including:

  • Device grade, including acceptable operating temperature ranges and other environmental or quality factors. For example: LM101, LM201, and LM301 refer to the military, industrial, and commercial versions of the same component. Military and industrial-grade components offer better performance in harsh conditions than their commercial counterparts but are sold at higher prices.
  • Classification by package type may also affect environmental hardiness, as well as manufacturing options; DIP, and other through-hole packages are tending to be replaced by surface-mount devices.
  • Classification by internal compensation: op amps may suffer from high frequency instability in some negative feedback circuits unless a small compensation capacitor modifies the phase and frequency responses. Op amps with a built-in capacitor are termed compensated, and allow circuits above some specified closed-loop gain to be stable with no external capacitor. In particular, op amps that are stable even with a closed loop gain of 1 are called unity gain compensated.
  • Single, dual and quad versions of many commercial op-amp IC are available, meaning 1, 2 or 4 operational amplifiers are included in the same package.
  • Rail-to-rail input (and/or output) op amps can work with input (and/or output) signals very close to the power supply rails.[15]
  • CMOS op amps (such as the CA3140E) provide extremely high input resistances, higher than JFET-input op amps, which are normally higher than bipolar-input op amps.
  • Programmable op amps allow the quiescent current, bandwidth and so on to be adjusted by an external resistor.
  • Manufacturers often market their op amps according to purpose, such as low-noise pre-amplifiers, wide bandwidth amplifiers, and so on.

Applications

File:Generic 741 pinout top.png
DIP pinout for 741-type operational amplifier

Script error: No such module "Labelled list hatnote".

Use in electronics system design

Script error: No such module "Unsubst". The use of op amps as circuit blocks is much easier and clearer than specifying all their individual circuit elements (transistors, resistors, etc.), whether the amplifiers used are integrated or discrete circuits. In the first approximation op amps can be used as if they were ideal differential gain blocks; at a later stage, limits can be placed on the acceptable range of parameters for each op amp.

Circuit design follows the same lines for all electronic circuits. A specification is drawn up governing what the circuit is required to do, with allowable limits. For example, the gain may be required to be 100 times, with a tolerance of 5% but drift of less than 1% in a specified temperature range; the input impedance not less than one megohm; etc.

A basic circuit is designed, often with the help of electronic circuit simulation. Specific commercially available op amps and other components are then chosen that meet the design criteria within the specified tolerances at acceptable cost. If not all criteria can be met, the specification may need to be modified.

A prototype is then built and tested; additional changes to meet or improve the specification, alter functionality, or reduce the cost, may be made.

Applications without feedback

Without feedback, the op amp may be used as a voltage comparator. Note that a device designed primarily as a comparator may be better if, for instance, speed is important or a wide range of input voltages may be found since such devices can quickly recover from full-on or full-off saturated states.

A voltage level detector can be obtained if a reference voltage Vref is applied to one of the op amp's inputs. This means that the op amp is set up as a comparator to detect a positive voltage. If the voltage to be sensed, Ei, is applied to op amp's (+) input, the result is a noninverting positive-level detector: when Ei is above Vref, VO equals +Vsat; when Ei is below Vref, VO equals −Vsat. If Ei is applied to the inverting input, the circuit is an inverting positive-level detector: When Ei is above Vref, VO equals −Vsat.

A zero voltage level detector (Ei = 0) can convert, for example, the output of a sine-wave from a function generator into a variable-frequency square wave. If Ei is a sine wave, triangular wave, or wave of any other shape that is symmetrical around zero, the zero-crossing detector's output will be square. Zero-crossing detection may also be useful in triggering TRIACs at the best time to reduce mains interference and current spikes.

Positive-feedback applications

File:Op-Amp Schmitt Trigger.svg
Schmitt trigger implemented by a non-inverting comparator

Another typical configuration of op amps is with positive feedback, which takes a fraction of the output signal back to the non-inverting input. An important application of positive feedback is the comparator with hysteresis, the Schmitt trigger.

Some circuits may use positive feedback and negative feedback around the same amplifier, for example triangle-wave oscillators and active filters.

Negative-feedback applications

Non-inverting amplifier

File:Op-Amp Non-Inverting Amplifier.svg
An op amp connected in the non-inverting amplifier configuration

In a non-inverting amplifier, the output voltage changes in the same direction as the input voltage.

The gain equation for the op amp is

Vout=AOL(V+V).

However, in this circuit V is a function of Vout because of the negative feedback through the R1 R2 network. R1 and R2 form a voltage divider, and as V is a high-impedance input, it does not load it appreciably. Consequently

V=βVout,

where

β=R1R1+R2.

Substituting this into the gain equation, we obtain

Vout=AOL(VinβVout).

Solving for Vout:

Vout=Vin(1β+1AOL).

If AOL is very large, this simplifies to

VoutVinβ=VinR1R1+R2=Vin(1+R2R1).

The non-inverting input of the operational amplifier needs a path for DC to ground; if the signal source does not supply a DC path, or if that source requires a given load impedance, then the circuit will require another resistor from the non-inverting input to ground. When the operational amplifier's input bias currents are significant, then the DC source resistances driving the inputs should be balanced.[16] The ideal value for the feedback resistors (to give minimal offset voltage) will be such that the two resistances in parallel roughly equal the resistance to ground at the non-inverting input pin. That ideal value assumes the bias currents are well matched, which may not be true for all op amps.[17]

Inverting amplifier

File:Op-Amp Inverting Amplifier.svg
An op amp connected in the inverting amplifier configuration

In an inverting amplifier, the output voltage changes in an opposite direction to the input voltage.

As with the non-inverting amplifier, we start with the gain equation of the op amp:

Vout=AOL(V+V).

This time, V is a function of both Vout and Vin due to the voltage divider formed by Rf and Rin. Again, the op-amp input does not apply an appreciable load, so

V=1Rf+Rin(RfVin+RinVout).

Substituting this into the gain equation and solving for Vout:

Vout=VinAOLRfRf+Rin+AOLRin.

If AOL is very large, this simplifies to

VoutVinRfRin.

A resistor is often inserted between the non-inverting input and ground (so both inputs see similar resistances), reducing the input offset voltage due to different voltage drops due to bias current, and may reduce distortion in some op amps.

A DC-blocking capacitor may be inserted in series with the input resistor when a frequency response down to DC is not needed and any DC voltage on the input is unwanted. That is, the capacitive component of the input impedance inserts a DC zero and a low-frequency pole that gives the circuit a bandpass or high-pass characteristic.

The potentials at the operational amplifier inputs remain virtually constant (near ground) in the inverting configuration. The constant operating potential typically results in distortion levels that are lower than those attainable with the non-inverting topology.Script error: No such module "Unsubst".

Other applications

Most single, dual and quad op amps available have a standardized pin-out which permits one type to be substituted for another without wiring changes. A specific op amp may be chosen for its open loop gain, bandwidth, noise performance, input impedance, power consumption, or a compromise between any of these factors.

Historical timeline

1941: A vacuum tube op amp. An op amp, defined as a general-purpose, DC-coupled, high-gain, inverting feedback amplifier, is first found in U.S. patent 2,401,779 "Summing Amplifier" filed by Karl D. Swartzel Jr. of Bell Labs in 1941. This design used three vacuum tubes to achieve a gain of 90 dB and operated on voltage rails of ±350 V. It had a single inverting input rather than differential inverting and non-inverting inputs, as are common in today's op amps. Throughout World War II, Swartzel's design proved its value by being liberally used in the M9 artillery director designed at Bell Labs. This artillery director worked with the SCR-584 radar system to achieve extraordinary hit rates (near 90%) that would not have been possible otherwise.[18]

File:K2-w Vacuum Tube Op-amp.jpg
GAP/R K2-W: a vacuum-tube op amp (1953)

1947: An op amp with an explicit non-inverting input. In 1947, the operational amplifier was first formally defined and named in a paper by John R. Ragazzini of Columbia University.[19] In this same paper a footnote mentioned an op-amp design by a student that would turn out to be quite significant. This op amp, designed by Loebe Julie, had two major innovations. Its input stage used a long-tailed triode pair with loads matched to reduce drift in the output and, far more importantly, it was the first op-amp design to have two inputs (one inverting, the other non-inverting). The differential input made a whole range of new functionality possible, but it would not be used for a long time due to the rise of the chopper-stabilized amplifier.[18]

1949: A chopper-stabilized op amp. In 1949, Edwin A. Goldberg designed a chopper-stabilized op amp.[20] This set-up uses a normal op amp with an additional AC amplifier that goes alongside the op amp. The chopper gets an AC signal from DC by switching between the DC voltage and ground at a fast rate (60 or 400 Hz). This signal is then amplified, rectified, filtered and fed into the op amp's non-inverting input. This vastly improved the gain of the op amp while significantly reducing the output drift and DC offset. Unfortunately, any design that used a chopper couldn't use the non-inverting input for any other purpose. Nevertheless, the much-improved characteristics of the chopper-stabilized op amp made it the dominant way to use op amps. Techniques that used the non-inverting input were not widely practiced until the 1960s when op-amp ICs became available.

1953: A commercially available op amp. In 1953, vacuum tube op amps became commercially available with the release of the model K2-W from George A. Philbrick Researches, Incorporated. The designation on the devices shown, GAP/R, is an acronym for the complete company name. Two nine-pin 12AX7 vacuum tubes were mounted in an octal package and had a model K2-P chopper add-on available. This op amp was based on a descendant of Loebe Julie's 1947 design and, along with its successors, would start the widespread use of op amps in industry.[21]

File:Discrete opamp.png
GAP/R model P45: a solid-state, discrete op amp (1961).

1961: A discrete IC op amp. With the birth of the transistor in 1947, and the silicon transistor in 1954, the concept of ICs became a reality. The introduction of the planar process in 1959 made transistors and ICs stable enough to be commercially useful. By 1961, solid-state, discrete op amps were being produced. These op amps were effectively small circuit boards with packages such as edge connectors. They usually had hand-selected resistors in order to improve things such as voltage offset and drift. The P45 (1961) had a gain of 94 dB and ran on ±15 V rails. It was intended to deal with signals in the range of ±10 V.

1961: A varactor bridge op amp. There have been many different directions taken in op-amp design. Varactor bridge op amps started to be produced in the early 1960s.[22][23] They were designed to have extremely small input current and are still amongst the best op amps available in terms of common-mode rejection with the ability to correctly deal with hundreds of volts at their inputs.

File:Modular opamp.png
GAP/R model PP65: a solid-state op amp in a potted module (1962)

1962: An op amp in a potted module. By 1962, several companies were producing modular potted packages that could be plugged into printed circuit boards.Script error: No such module "Unsubst". These packages were crucially important as they made the operational amplifier into a single black box which could be easily treated as a component in a larger circuit.

1963: A monolithic IC op amp. In 1963, the first monolithic IC op amp, the μA702 designed by Bob Widlar at Fairchild Semiconductor, was released. Monolithic ICs consist of a single chip as opposed to a chip and discrete parts (a discrete IC) or multiple chips bonded and connected on a circuit board (a hybrid IC). Almost all modern op amps are monolithic ICs; however, this first IC did not meet with much success. Issues such as an uneven supply voltage, low gain and a small dynamic range held off the dominance of monolithic op amps until 1965 when the μA709[24] (also designed by Bob Widlar) was released.

1968: Release of the μA741. The popularity of monolithic op amps was further improved upon the release of the LM101 in 1967, which solved a variety of issues, and the subsequent release of the μA741 in 1968. The μA741 was extremely similar to the LM101 except that Fairchild's facilities allowed them to include a 30 pF compensation capacitor inside the chip instead of requiring external compensation. This simple difference has made the 741 the canonical op amp and many modern amps base their pinout on the 741s. The μA741 is still in production, and has become ubiquitous in electronics—many manufacturers produce a version of this classic chip, recognizable by part numbers containing 741. The same part is manufactured by several companies.

1970: First high-speed, low-input current FET design. In the 1970s high speed, low-input current designs started to be made by using FETs. These would be largely replaced by op amps made with MOSFETs in the 1980s.

File:LH033CG.jpg
LH0033CG: a high speed hybrid IC op amp

1972: Single sided supply op amps being produced. A single sided supply op amp is one where the input and output voltages can be as low as the negative power supply voltage instead of needing to be at least two volts above it. The result is that it can operate in many applications with the negative supply pin on the op amp being connected to the signal ground, thus eliminating the need for a separate negative power supply.

The LM324 (released in 1972) was one such op amp that came in a quad package (four separate op amps in one package) and became an industry standard. In addition to packaging multiple op amps in a single package, the 1970s also saw the birth of op amps in hybrid packages. These op amps were generally improved versions of existing monolithic op amps. As the properties of monolithic op amps improved, the more complex hybrid ICs were quickly relegated to systems that are required to have extremely long service lives or other specialty systems.

File:LM741CN.jpg
An op amp in a mini DIP package

Recent trends. RecentlyTemplate:When? supply voltages in analog circuits have decreased (as they have in digital logic) and low-voltage op amps have been introduced reflecting this. Supplies of 5 V and increasingly 3.3 V (sometimes as low as 1.8 V) are common. To maximize the signal range modern op amps commonly have rail-to-rail output (the output signal can range from the lowest supply voltage to the highest) and sometimes rail-to-rail inputs.[15]

See also

Script error: No such module "Portal". Template:Div col

Template:Div col end

Notes

Template:Reflist

References

Template:Reflist

Further reading

Books
Books with opamp chapters
Historical application handbooks
Historical databooks
Historical datasheets

External links

Template:Sister project Template:Sister project Template:Sister project

Template:Authority control

  1. Script error: No such module "citation/CS1".
  2. Script error: No such module "citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1".
  6. Script error: No such module "citation/CS1".
  7. Script error: No such module "citation/CS1".
  8. a b Script error: No such module "citation/CS1".
  9. Script error: No such module "citation/CS1".
  10. Script error: No such module "citation/CS1".
  11. Script error: No such module "citation/CS1".
  12. a b c d e National Semiconductor LM741 data sheet
  13. The μA741 Operational AmplifierTemplate:Dead linkTemplate:Cbignore
  14. Script error: No such module "citation/CS1".
  15. a b c Cite error: Invalid <ref> tag; no text was provided for refs named rail-to-rail
  16. An input bias current of 1 μA through a DC source resistance of 10 kΩ produces a 10 mV offset voltage. If the other input bias current is the same and sees the same source resistance, then the two input offset voltages will cancel out. Balancing the DC source resistances may not be necessary if the input bias current and source resistance product is small.
  17. Script error: No such module "citation/CS1".
  18. a b Script error: No such module "citation/CS1".
  19. Script error: No such module "Citation/CS1".
  20. Script error: No such module "citation/CS1".
  21. Script error: No such module "citation/CS1".
  22. Script error: No such module "citation/CS1".
  23. June 1961 advertisement for Philbrick P2, Script error: No such module "citation/CS1".
  24. Script error: No such module "citation/CS1".


Cite error: <ref> tags exist for a group named "nb", but no corresponding <references group="nb"/> tag was found