{{short description|High-gain voltage amplifier with a differential input}}

{{Infobox electronic component | name = Operational amplifier | image = Ua741 opamp.jpg | caption = The μA741, a popular early integrated op amp | type = Discrete circuit<br/>Integrated circuit | working_principle = | invented = Karl D. Swartzel Jr. | first_produced = | pins = {{ubl|'''V<sub>+</sub>''' non-inverting input |'''V<sub>−</sub>''' inverting input |'''V<sub>out</sub>''' output |'''V<sub>S+</sub>''' positive power supply<ref group="nb" name="ps">The power supply pins (''V''<sub>S+</sub> and ''V''<sub>S−</sub>) can be labeled in different ways (''See IC power supply pins''). Often, these pins are left out of the diagram for clarity, and the power configuration is described or assumed from the circuit.</ref> |'''V<sub>S−</sub>''' negative power supply<ref group="nb" name="ps" />}} | symbol = 250px | symbol_caption = Circuit diagram symbol for a representative op amp. Pins are labeled as listed above. }}

An '''operational amplifier''' (often '''op amp''', '''op-amp''', or '''opamp''') is a DC-coupled electronic amplifier with a differential input, a (usually) single-ended output voltage,<ref>{{cite web |url=http://www.maxim-ic.com/appnotes.cfm/an_pk/1108 |id=Maxim Application Note 1108 |title=Understanding Single-Ended, Pseudo-Differential and {{Sic|hide=y|Fully|-}}Differential ADC Inputs |archive-url=https://web.archive.org/web/20070626153413/http://www.maxim-ic.com/appnotes.cfm/an_pk/1108 |archive-date=2007-06-26 |access-date=November 10, 2007}}</ref> and an extremely high gain. Its name comes from its original use of performing mathematical operations in analog computers. The '''voltage-feedback opamp''' ('''VFOA''' or '''VFA''', the focus of this article) amplifies the voltage difference between its two inputs, while the less common ''current-feedback op amp'' (CFOA) amplifies the current between its two inputs.<ref>{{Cite web |last=Karki |first=James |date=November 1998 |title=Voltage Feedback Vs Current Feedback Op Amps |url=https://www.ti.com/lit/an/slva051/slva051.pdf |website=Texas Instruments}}</ref>

By using negative feedback, the characteristics of an op amp application circuit (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 {{Currency|amount=100|code=US}}.<ref>{{cite web |title=Apex OP PA98 |url=http://www.digikey.com/product-detail/en/PA98/598-1337-ND/1761961 |access-date=8 November 2015 |quote=APEX PA98 Op Amp Modules, Selling Price: $207.51 |url-status=dead |archive-url=https://web.archive.org/web/20160101094650/http://www.digikey.com/product-detail/en/PA98/598-1337-ND/1761961 |archive-date=1 January 2016 }}</ref> 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== thumb|An op amp without negative feedback (a comparator) 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 display=block>V_\text{out} = A_\text{OL} (V_+ - V_-),</math> where {{math|''A''<sub>OL</sub>}} 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 {{math|''A''<sub>OL</sub>}} is typically very large (100,000 or more for integrated circuit op amps, corresponding to +100&nbsp;dB). Thus, even small microvolts of difference between {{math|''V''<sub>+</sub>}} and {{math|''V''<sub>&minus;</sub>}} may drive the amplifier into clipping or 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, and optionally positive feedback for regeneration, an ''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 === 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 are 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 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 {{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> # When an op amp operates in linear (i.e., not saturated) mode, the difference in voltage between the non-inverting (+) and inverting (&minus;) pins is negligibly small. # The input impedance of the (+) and (&minus;) pins is much larger than other resistances in the circuit.

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>

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>

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>

==Characteristics {{anchor|Op-amp characteristics}}== <!-- Ideal and real op-amps redirects here, to "Op-amp characteristics" --> === Ideal op amps === thumb|250px|right|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:<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>

* Arbitrarily high open-loop gain {{math|1= ''G'' = ''v''<sub>out</sub> / ''v''<sub>in</sub>}} * Infinite input impedance {{math|''R''<sub>in</sub>}}, and thus zero input current * Zero input offset voltage * Unbounded output voltage range * Unrestricted bandwidth with zero phase shift and infinite slew rate * Zero output impedance {{math|''R''<sub>out</sub>}}, and thus ability to source or sink unbounded output current * Zero noise * No effect of common-mode voltages, as described by common-mode rejection ratio (CMRR) * No effect of supply variations on the output, i.e., perfect rejection of power supply variation. These ideals can be summarized by the two {{em|golden rules}}: # In a negative feedback configuration the output does whatever is necessary to make the voltage difference between the inputs zero. # The inputs draw zero current.<ref name=AoE>{{Cite book |last1= Horowitz |first1= Paul |last2= Hill |first2=Winfield |title= The Art of Electronics |publisher= Cambridge University Press |year= 1989 |location= Cambridge, UK |url= https://books.google.com/books?id=bkOMDgwFA28C&pg=PA177 |isbn=0-521-37095-7}}</ref>{{rp|177}}

The first rule only applies in the usual case where the op amp is used in a negative feedback design, 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.<ref name="AoE"/>{{rp|177}}

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 in 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.

{{glossary begin}} {{term| Finite gain }} {{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. }}

{{term| Non-zero output impedance }} {{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.

Low-impedance outputs typically require high 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| Finite input impedances }} {{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 more important design parameters for typical operational amplifier applications. }}

{{term| Input capacitance }} {{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. }}

{{term| Input current }} {{defn| Due to biasing requirements or leakage, a small amount of current<ref group="nb">Typically ~10 nanoamperes, nA, for 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 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 drift in the operational amplifier. }}

{{term| Input offset voltage }} {{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 choppers or other circuits that measure the offset voltage periodically and subtract it from the input voltage.</ref> }}

{{term| Common-mode gain }} {{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 amplifiers that operate at high gain. }}

{{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 change, 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 }} {{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–bandwidth product}} of 1&nbsp;megahertz&nbsp;(MHz) would have a gain of 5 at 200&nbsp;kilohertz, 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–bandwidth 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 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 stabilized by means of frequency compensation, which increases the 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 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}}

''Fast'' or ''high-speed'' is used to refer to op amps with at least 50&nbsp;MHz of {{abbr|GBWP|gain–bandwidth product}} and a high slew rate.<ref>{{Cite web |last=Liska |first=Peggy |date=July 2020 |title=3 Common Questions When Designing with High-speed Amplifiers |url=https://www.ti.com/lit/ta/sszt273/sszt273.pdf |website=Texas Instruments}}</ref><ref>{{Cite web |last=Jung |first=Walt |last2=Kester |first2=Walt |title=High Speed Op Amps |url=https://www.analog.com/media/en/training-seminars/design-handbooks/Practical-Analog-Design-Techniques/Section2.pdf |website=Analog Devices}}</ref> While typical low-cost, general-purpose op amps exhibit a {{abbr|GBWP|gain–bandwidth product}} of a few megahertz, specialty and high-speed op amps exist that can achieve a {{abbr|GBWP|gain–bandwidth product}} of hundreds of megahertz. Very high-frequency circuits often use a current-feedback operational amplifier, because their bandwidth doesn't decrease with gain like voltage-feedback op amps.}}

{{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==== thumb|The input (yellow) and output (green) of a saturated op amp in an inverting amplifier [[File:Opamp-transconductance-and-slew-integrator.svg|thumb|Simplified opamp internals. The first amplification stage multiplies the differential input voltage ({{Mvar|V}}<sub>in</sub>) times a transconductance (g<sub>m</sub>) to produce a current ({{Mvar|I}}). The next stage converts that current into a voltage ({{Mvar|V<sub>2</sub>}}) and provides frequency compensation by integrating that current through a miller capacitance ({{Mvar|C}}). The maximum current {{Mvar|I{{sub|sat}}}} that can be drawn from that first stage will limit the slew rate in this integration stage to {{Mvar|I{{sub|sat}}}}/{{Mvar|C}}. A final stage (not shown) buffers {{Mvar|V<sub>2</sub>}} to provide high output current (both sinking and sourcing) for the output voltage.<ref>{{Cite web |last=Williams |first=Ian |last2=Kay |first2=Art |title=Slew Rate |url=https://www.ti.com/content/dam/videos/external-videos/en-us/1/3816841626001/4078676441001.mp4/subassets/opamps-slew-rate-introduction-presentation-quiz.pdf |website=Texas Instruments}}</ref><ref>{{Cite web |last=Karki |first=Jim |date=January 2018 |title=Understanding Operational Amplifier Specifications (Rev. B) - SLOA011B |url=https://www.ti.com/lit/an/sloa011b/sloa011b.pdf |website=Texas Instruments}}</ref>]] thumb|Slew limiting may distort large or fast signals. A 250&nbsp;kHz input sine (magenta) is buffered by an opamp with a 720&nbsp;mV/μs slew limit. With a small input sine, the output (yellow) has almost no distortion. But as the input's amplitude increases, the output can't transition fast enough to reproduce the larger sine's steeper slope and looks more like a triangle wave. {{glossary begin}} {{term| Saturation }} {{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 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| Slew rate limiting }} {{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{{sub|sat}}}} 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''{{sub|sat}}/''C''}}.

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 |title=Op Amp Output Phase-Reversal and Input Over-Voltage Protection |year=2009 |publisher=Analog Devices |access-date=2012-12-27 |archive-date=2012-12-02 |archive-url=https://web.archive.org/web/20121202205518/http://www.analog.com/static/imported-files/tutorials/MT-036.pdf |url-status=dead }}</ref><ref>{{cite web |url=http://www.edn.com/contents/images/45890.pdf |title=Bootstrapping your op amp yields wide voltage swings |last1=King |first1=Grayson |last2=Watkins |first2=Tim |date=13 May 1999 |publisher=Electronic Design News |access-date=2012-12-27 |archive-date=2014-03-05 |archive-url=https://web.archive.org/web/20140305231302/http://www.edn.com/contents/images/45890.pdf |url-status=dead }}</ref> Under such conditions, negative feedback becomes positive, likely causing the circuit to ''lock up'' in that state. }} {{glossary end}}

====Power considerations==== {{glossary begin}} {{term| Limited output current }} {{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 circuits on their outputs without damage. }}

{{term| Limited output voltage }} {{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> }}

{{term| Output sink current }} {{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}}

== Classification == Op amps may be classified by their construction: * discrete, built from individual transistors or tubes/valves, * hybrid, consisting of discrete and integrated components, * full integrated circuits — most common, having displaced the former two due to low cost. 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.<ref name="rail-to-rail" /> * 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 == {{Main|Operational amplifier applications}}

==Historical timeline== upright|thumb|GAP/R K2-W: a vacuum-tube op amp (1953) '''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 uses three vacuum tubes to achieve a gain of {{nowrap|90 dB}} and operates on voltage rails of {{nowrap|±350 V}}. It has 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.<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>

'''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 mentions an op-amp design by a student that would turn out to be quite significant. This op amp, designed by Loebe Julie, has two major innovations. Its input stage uses a long-tailed triode pair with loads matched to reduce drift in the output and, far more importantly, it is the first op-amp design to have two inputs (one inverting, the other non-inverting). The differential input makes 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-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 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&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 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. 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 |archive-date=2020-11-30 |archive-url=https://web.archive.org/web/20201130213825/http://www.analog.com/media/en/training-seminars/design-handbooks/Op-Amp-Applications/SectionH.pdf |url-status=dead }}</ref>

{{clear}} thumb|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 are effectively small circuit boards with packages such as edge connectors. They usually have hand-selected resistors in order to improve things such as voltage offset and drift. The P45 (1961) has a gain of 94&nbsp;dB and runs on ±15&nbsp;V rails. It was intended to deal with signals in the range of {{nowrap|±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.<ref>{{cite web |url=http://www.philbrickarchive.org/ |title=The Philbrick Archive |website=www.philbrickarchive.org |access-date=28 April 2018 |url-status=live |archive-url=https://archive.today/20120907192216/http://www.philbrickarchive.org/ |archive-date=7 September 2012 }}</ref><ref>June 1961 advertisement for Philbrick P2, {{cite web |url=http://www.philbrickarchive.org/p2%20and%206033%20ad%20rsi%20vol32%20no6%20june1961.pdf |title=The all-new, all solid-state Philbrick P2 amplifier |access-date=2011-05-11 |url-status=live |archive-url=https://web.archive.org/web/20111008160503/http://www.philbrickarchive.org/p2%20and%206033%20ad%20rsi%20vol32%20no6%20june1961.pdf |archive-date=2011-10-08 }}</ref> 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.

{{clear}} thumb|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.{{Citation needed|date=January 2009}} 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<ref>{{cite book |first=A. P. |last=Malvino |title=Electronic Principles |edition=2nd |date=1979 |isbn=0-07-039867-4 |page=[https://archive.org/details/electronicprinci00malv/page/476 476] |publisher=McGraw-Hill |url=https://archive.org/details/electronicprinci00malv/page/476 }}</ref> (also designed by Bob Widlar) was released.

'''1968: Release of the μA741.''' The popularity of monolithic op amps was further improved with 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 manufacturing processes allowed them to include a 30&nbsp;pF compensation capacitor inside the chip instead of requiring external compensation. This simple difference has made the 741 a canonical op amp, and a range of 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''.

'''1970: First high-speed, low-input current FET design.''' In the 1970s, high-speed, low-input current designs started to be made by using JFETs.

'''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.

'''Recent trends.''' 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&nbsp;V and increasingly 3.3&nbsp;V (sometimes as low as 1.8&nbsp;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.<ref name="rail-to-rail" />

== See also == {{Portal|Electronics}} * μA741 * Current conveyor * {{slink|DIY audio|Operational amplifier swapping}} * List of LM-series integrated circuits * Operational transconductance amplifier * Sallen–Key topology

==Notes== {{Reflist|group=nb}}

==References== {{Reflist}}

==Further reading==<!-- Note: this section name is linked from Operational amplifier applications --> ;Books * ''Op Amps For Everyone''; 5th Ed; Bruce Carter, Ron Mancini; Newnes; 484 pages; 2017; {{ISBN|978-0-12-811648-7}}. <small>[https://web.archive.org/web/20100216070704/http://focus.ti.com/lit/an/slod006b/slod006b.pdf (2 MB PDF - 1st edition)]</small> * ''Operational Amplifiers - Theory and Design''; 3rd Ed; Johan Huijsing; Springer; 423 pages; 2017; {{ISBN|978-3-319-28126-1}}. * ''[http://www.dissidents.com/books.htm Operational Amplifiers and Linear Integrated Circuits - Theory and Application]''; 3rd Ed; James Fiore; Creative Commons; 589 pages; 2016.<small>[http://www.dissidents.com/resources/OperationalAmplifiersAndLinearICs_3E.pdf (13 MB PDF Text)]</small><small>[http://www.dissidents.com/resources/LaboratoryManualForOperationalAmplifiersAndLinearICs_3E.pdf (2 MB PDF Lab)]</small> * ''Analysis and Design of Linear Circuits''; 8th Ed; Roland Thomas, Albert Rosa, Gregory Toussaint; Wiley; 912 pages; 2016; {{ISBN|978-1-119-23538-5}}. * ''Design with Operational Amplifiers and Analog Integrated Circuits''; 4th Ed; Sergio Franco; McGraw Hill; 672 pages; 2015; {{ISBN|978-0-07-802816-8}}. * ''Small Signal Audio Design''; 2nd Ed; Douglas Self; Focal Press; 780 pages; 2014; {{ISBN|978-0-415-70973-6}}. * ''Linear Circuit Design Handbook''; 1st Ed; Hank Zumbahlen; Newnes; 960 pages; 2008; {{ISBN|978-0-7506-8703-4}}. <small>[https://www.analog.com/en/education/education-library/linear-circuit-design-handbook.html (35 MB PDF)]</small> * ''Op Amp Applications Handbook''; 1st Ed; Walt Jung; Analog Devices & Newnes; 896 pages; 2005; {{ISBN|978-0-7506-7844-5}}. <small>[https://www.analog.com/en/education/education-library/op-amp-applications-handbook.html (17 MB PDF)]</small> * ''Operational Amplifiers and Linear Integrated Circuits''; 6th Ed; Robert Coughlin, Frederick Driscoll; Prentice Hall; 529 pages; 2001; {{ISBN|978-0-13-014991-6}}. * ''Active-Filter Cookbook''; 2nd Ed; Don Lancaster; Sams; 240 pages; 1996; {{ISBN|978-0-7506-2986-7}}. <small>[https://archive.org/download/ActiveFilterCookbook/Active%20Filter%20Cookbook.pdf (28 MB PDF - 1st edition)]</small> * ''IC Op-Amp Cookbook''; 3rd Ed; Walt Jung; Prentice Hall; 433 pages; 1986; {{ISBN|978-0-13-889601-0}}. <small>[https://archive.org/download/ICOpAmpCookbook_201808/IcOp-ampCookbook.pdf (18 MB PDF - 1st edition)]</small> * ''Engineer's Mini-Notebook&nbsp;– OpAmp IC Circuits''; 1st Ed; Forrest Mims III; Radio Shack; 49 pages; 1985; ASIN B000DZG196. <small>[https://archive.org/download/Forrest_Mims-Engineers_Mini-Notebook_Op_Amp_Ic_Circuits_Radio_Shack_Electronics/Forrest%20Mims-Engineer's%20Mini-Notebook%20Op%20Amp%20Ic%20Circuits%20(Radio%20Shack%20Electronics)(1).pdf (4 MB PDF)]</small> * {{cite book|title=Intuitive IC Op Amps - from Basics to Useful Applications |edition=1st |first=Thomas |last=Frederiksen |publisher=National Semiconductor |date=1984 |url=https://archive.org/details/intuitiveicopamp00fred }} * ''Designing with Operational Amplifiers - Applications Alternatives''; 1st Ed; Jerald Graeme; Burr-Brown & McGraw Hill; 269 pages; 1976; {{ISBN|978-0-07-023891-6}}. * ''Applications of Operational Amplifiers - Third Generation Techniques''; 1st Ed; Jerald Graeme; Burr-Brown & McGraw Hill; 233 pages; 1973; {{ISBN|978-0-07-023890-9}}. <small>[https://archive.org/download/ApplicationsOfOperationalAmplifiers-3rdGenerationTechniques/Graeme-ApplicationsOfOperationalAmplifiers3rdGenerationTechniques.pdf (37 MB PDF)]</small> * ''Understanding IC Operational Amplifiers''; 1st Ed; Roger Melen and Harry Garland; Sams Publishing; 128 pages; 1971; {{ISBN|978-0-672-20855-3}}. <small>[https://archive.org/details/Understanding_IC_Operational_Amplifiers_Roger_Melen_and_Harry_Garland/ ''(archive)'']</small> * ''Operational Amplifiers - Design and Applications''; 1st Ed; Jerald Graeme, Gene Tobey, Lawrence Huelsman; Burr-Brown & McGraw Hill; 473 pages; 1971; {{ISBN|978-0-07-064917-0}}.

;Books with opamp chapters * ''Learning the Art of Electronics - A Hands-On Lab Course''; 1st Ed; Thomas Hayes, Paul Horowitz; Cambridge; 1150 pages; 2016; {{ISBN|978-0-521-17723-8}}. (Part 3 is 268 pages) * ''The Art of Electronics''; 3rd Ed; Paul Horowitz, Winfield Hill; Cambridge; 1220 pages; 2015; {{ISBN|978-0-521-80926-9}}. (Chapter 4 is 69 pages) * ''[http://www.ibiblio.org/kuphaldt/electricCircuits/index.htm Lessons in Electric Circuits] - Volume III - Semiconductors''; 5th Ed; Tony Kuphaldt; Open Book Project; 528 page; 2009. (Chapter 8 is 59 pages) <small>[http://www.ibiblio.org/kuphaldt/electricCircuits/Semi/SEMI.pdf (4 MB PDF)]</small> * ''Troubleshooting Analog Circuits''; 1st Ed; Bob Pease; Newnes; 217 pages; 1991; {{ISBN|978-0-7506-9499-5}}. (Chapter 8 is 19 pages)

;Historical application handbooks * [https://archive.org/details/bitsavers_signeticsdcsAnalogApplications_33415016 Analog Applications Manual (1979, 418 pages)], Signetics. (OpAmps in section 3)

;Historical databooks * [https://archive.org/details/bitsavers_nationaldaLinearDatabookVolume1_72855006 Linear Databook 1 (1988, 1262 pages)], National Semiconductor. (OpAmps in section 2) * [https://archive.org/details/bitsavers_motoroladaotorolaLinearandInterfaceICs_68927280 Linear and Interface Databook (1990, 1658 pages)], Motorola. (OpAmps in section 2) * [https://archive.org/details/bitsavers_rcadataBoogratedCircuits_54789692 Linear Databook (1986, 568 pages)], RCA.

;Historical datasheets * [https://www.ti.com/lit/ds/symlink/lm201a-n.pdf LM301, Single BJT OpAmp], Texas Instruments * [https://web.archive.org/web/20081202220019/http://www.ti.com/lit/gpn/lm324 LM324, Quad BJT OpAmp], Texas Instruments * [http://www.ti.com/lit/gpn/lm741 LM741, Single BJT OpAmp], Texas Instruments * [http://www.ti.com/lit/gpn/ne5532 NE5532, Dual BJT OpAmp], Texas Instruments (NE5534 is similar single) * [http://www.ti.com/lit/gpn/tl072 TL072, Dual JFET OpAmp], Texas Instruments (TL074 is Quad)

==External links== {{Commons category|Operational amplifiers}} {{Wikiversity|Operational amplifier}} {{Wikibooks|Electronics|Op-Amps}} * {{web archive |url=https://web.archive.org/web/20170829062314/http://www.ti.com/ww/en/bobpease/assets/AN-31.pdf |title=Op Amp Circuit Collection}}, National Semiconductor Corporation * [http://www.allaboutcircuits.com/vol_3/chpt_8/1.html Operational Amplifiers], All About Circuits * [http://www.linear.com/solutions/5587 Loop Gain and its Effects on Analog Circuit Performance], Linear{{snd}}Introduction to loop gain, gain and phase margin, loop stability * {{Webarchive|url=https://web.archive.org/web/20120320005100/http://www.analog.com/library/analogDialogue/archives/45-04/op_amp_measurements.html |date=2012-03-20 |title=Simple Op Amp Measurements}}{{snd}}How to measure offset voltage, offset and bias current, gain, CMRR, and PSRR. * {{web archive |url=https://web.archive.org/web/20150107092245/http://www.facstaff.bucknell.edu/mastascu/elessonshtml/opamps/opamp1.html |title=Operational Amplifiers}}{{snd}}Introductory on-line text by E. J. Mastascusa (Bucknell University) * {{web archive |url=https://web.archive.org/web/20120224133510/http://www.bowdenshobbycircuits.info/opamp.htm |title=Operational Amplifier (Op-Amp) Basics}}{{snd}}Introduction to op-amp circuit stages, second order filters, single-op-amp bandpass filters, and a simple intercom * {{web archive |url=https://web.archive.org/web/20120616161548/http://lyle.smu.edu/ee/7321/MOS_op-amp_design.pdf |title=MOS op amp design: A tutorial overview}} * {{web archive |url=https://web.archive.org/web/20070414155549/http://www.intersil.com/data/an/an519.pdf |title=Operational Amplifier Noise Prediction (All Op Amps)}}{{snd}}using spot noise * {{Webarchive|url=https://web.archive.org/web/20090602203221/http://www.williamson-labs.com/480_opam.htm |date=2009-06-02 |title=Op Amps}}{{snd}}Operational Amplifier Basics * [http://www.analog.com/library/analogDialogue/archives/39-05/Web_ChH_final.pdf History of the Op-amp] {{Webarchive|url=https://web.archive.org/web/20121007072916/http://www.analog.com/library/analogDialogue/archives/39-05/Web_ChH_final.pdf |date=2012-10-07 }}, from vacuum tubes to about 2002 * {{web archive |url=https://web.archive.org/web/20110823212009/http://electronicdesign.com/article/analog-and-mixed-signal/what-s-all-this-julie-stuff-anyhow-6071.aspx |title=What's All This Julie Stuff, Anyhow?}}{{snd}}Loebe Julie historical OpAmp interview by Bob Pease * [http://www.PhilbrickArchive.org/ www.PhilbrickArchive.org ]{{spaced ndash}}A free repository of materials from George A Philbrick / Researches - Operational Amplifier Pioneer * {{Webarchive|url=https://web.archive.org/web/20130315062932/http://electronicdesign.com/print/power/what-s-difference-between-operational-amplifiers-and-instrumentation-amplifiers |title=What's The Difference Between Operational Amplifiers And Instrumentation Amplifiers? |date=2013-03-15 }}, Electronic Design Magazine

{{Authority control}}

{{DEFAULTSORT:Operational Amplifier}} Category:Electronic amplifiers Category:Linear integrated circuits Category:Integrated circuits