|
|
Line 1: |
Line 1: |
| This article illustrates some typical '''applications''' of '''[[operational amplifier]]s'''. A simplified schematic notation is used, and the reader is reminded that many details such as device selection and power supply connections are not shown.
| | Hi there, [http://www.aseandate.com/index.php?m=member_profile&p=profile&id=13352970 accurate psychic readings] I am Alyson Boon although it is not the title on my beginning certification. Office supervising is where her main earnings [http://fashionlinked.com/index.php?do=/profile-13453/info/ spirit messages] arrives from but she's already utilized for an additional one. Kentucky is exactly where I've always been residing. What me and my family members adore is doing ballet but I've been using on new issues recently.<br><br>My web site :: online psychics ([http://www.edmposts.com/build-a-beautiful-organic-garden-using-these-ideas/ http://www.edmposts.com]) |
| | |
| == Practical considerations ==
| |
| === Input offset problems ===
| |
| | |
| The equations shown below, pertaining to each type of circuit, assume that an [[Operational amplifier#Ideal op-amps|ideal op amp]] is used. Those interested in construction of any of these circuits for practical use should consult a more detailed reference. See the [[#External links|External links]] <!--and [[#Further reading|Further reading]]--> section.
| |
| | |
| Resistors used in practical solid-state op-amp circuits are typically in the kΩ range. Resistors much greater than 1 MΩ cause excessive [[thermal noise]] and make the circuit operation susceptible to significant errors due to bias or leakage currents.
| |
| | |
| Practical operational amplifiers draw a small current from each of their inputs due to bias requirements and leakage. These currents flow through the resistances connected to the inputs and produce small voltage drops across those resistances. In AC signal applications this seldom matters. If high-precision DC operation is required, however, these voltage drops need to be considered. The design technique is to try to ensure that these voltage drops are equal for both inputs, and therefore cancel. If these voltage drops are equal and the [[common-mode rejection ratio]] of the operational amplifier is good, there will be considerable cancellation and improvement in DC accuracy.
| |
| | |
| If the input currents into the operational amplifier are equal, to reduce offset voltage the designer must ensure that the DC resistance looking out of each input is also matched. In general, input currents differ, the difference being called the ''input offset current'', I<sub>os</sub>. Matched external input resistances R<sub>in</sub> will still produce an input voltage error of R<sub>in</sub>·I<sub>os</sub> .  Most manufacturers provide a method for tuning the operational amplifier to balance the input currents (e.g., "offset null" or "balance" pins that can interact with an external voltage source attached to a potentiometer). Otherwise, a tunable external voltage can be added to one of the inputs in order to balance out the offset effect. In cases where a design calls for one input to be short-circuited to ground, that short circuit can be replaced with a variable resistance that can be tuned to mitigate the offset problem.
| |
| | |
| Many operational amplifiers that have [[MOSFET]]-based input stages have input leakage currents that will truly be negligible to most designs.
| |
| | |
| ===Power supply effects===
| |
| | |
| Although the power supplies are not shown in the operational amplifier designs below, they can be critical in operational amplifier design.
| |
| | |
| Power supply imperfections (e.g., power signal ripple, non-zero source impedance) may lead to noticeable deviations from ideal operational amplifier behavior. For example, operational amplifiers have a specified [[power supply rejection ratio]] that indicates how well the output can reject signals that appear on the power supply inputs. Power supply inputs are often noisy in large designs because the power supply is used by nearly every component in the design, and inductance effects prevent current from being instantaneously delivered to every component at once. As a consequence, when a component requires large injections of current (e.g., a digital component that is frequently switching from one state to another), nearby components can experience sagging at their connection to the power supply. This problem can be mitigated with copious use of [[decoupling capacitor|bypass capacitor]]s connected across each power supply pin and ground. When bursts of current are required by a component, the component can ''bypass'' the power supply by receiving the current directly from the nearby capacitor (which is then slowly recharged by the power supply).
| |
| | |
| Additionally, current drawn into the operational amplifier from the power supply can be used as inputs to external circuitry that augment the capabilities of the operational amplifier. For example, an operational amplifier may not be fit for a particular high-gain application because its output would be required to generate signals outside of the safe range generated by the amplifier. In this case, an external [[push–pull output|push–pull amplifier]] can be controlled by the current into and out of the operational amplifier. Thus, the operational amplifier may itself operate within its factory specified bounds while still allowing the negative feedback path to include a large output signal well outside of those bounds.<ref>Paul Horowitz and Winfield Hill, ''[[The Art of Electronics]]''. 2nd ed. Cambridge University Press, Cambridge, 1989 ISBN 0-521-37095-7</ref>
| |
| | |
| ==Amplifiers==
| |
| === Inverting amplifier ===
| |
| | |
| [[Image:Op-Amp Inverting Amplifier.svg|300px]]
| |
| | |
| An inverting amplifier inverts and scales the input signal. As long as the op-amp gain is very large, the amplifier gain is determined by two stable external resistors (the feedback resistor ''R''<sub>f</sub> and the input resistor ''R''<sub>in</sub>) and not by op-amp parameters which are highly temperature dependent. In particular, the ''R''<sub>in</sub>–''R''<sub>f</sub> resistor network acts as an electronic [[seesaw]] (i.e., a class-1 [[lever]]) where the inverting (i.e., '''−''') input of the operational amplifier is like a [[wikt:fulcrum|fulcrum]] about which the seesaw pivots. That is, because the operational amplifier is in a negative-feedback configuration, its internal high gain effectively fixes the inverting (i.e., −) input at the same 0 V (''ground'') voltage of the non-inverting (i.e., +) input, which is similar to the stiff mechanical support provided by the fulcrum of the seesaw. Continuing the analogy,
| |
| * Just as the movement of one end of the seesaw is opposite the movement of the other end of the seesaw, positive movement away from 0 V at the input of the ''R''<sub>in</sub>–''R''<sub>f</sub> network is matched by negative movement away from 0 V at the output of the network; thus, the amplifier is said to be ''inverting.''
| |
| * In the seesaw analogy, the [[moment (physics)|mechanical moment]] or [[torque]] from the force on one side of the fulcrum is balanced exactly by the force on the other side of the fulcrum; consequently, asymmetric lengths in the seesaw allow for small forces on one side of the seesaw to generate large forces on the other side of the seesaw. In the inverting amplifier, electrical current, like torque, is conserved across the ''R''<sub>in</sub>–''R''<sub>f</sub> network and relative differences between the ''R''<sub>in</sub> and ''R''<sub>f</sub> resistors allow small voltages on one side of the network to generate large voltages (with opposite sign) on the other side of the network. Thus, the device ''amplifies'' (and inverts) the input voltage. However, in this analogy, it is the [[multiplicative inverse|reciprocal]]s of the resistances (i.e., the [[electrical conductance|conductance]]s or [[admittance]]s) that play the role of lengths in the seesaw.
| |
| Hence, the amplifier output is related to the input as in
| |
| :<math>V_{\text{out}} = -\frac{R_{\text{f}}}{R_{\text{in}}} V_{\text{in}}\!\,</math>.
| |
| So the voltage gain of the amplifier is <math>A = -R_{\text{f}}/R_{\text{in}}</math> where the negative sign is a convention indicating that the output is negated. For example, if ''R''<sub>f</sub> is 10 kΩ and ''R''<sub>in</sub> is 1 kΩ, then the gain is −10 kΩ/1 kΩ, or −10 (or −10 V/V).<ref>Basic Electronics Theory, Delton T. Horn, 4th ed. McGraw-Hill Professional, 1994, p. 342–343.</ref> Moreover, the [[input impedance]] of the device is <math>R_{\text{in}}</math> because the operational amplifier's inverting (i.e., −) input is a [[virtual ground]].
| |
| | |
| In a real operational amplifier, the current into its two inputs is small but non-zero (e.g., due to [[biasing|input bias currents]]). The current into the inverting (i.e., −) input of the operational amplifier is drawn across the ''R''<sub>in</sub> and ''R''<sub>f</sub> resistors in parallel, which appears like a small parasitic voltage difference between the inverting (i.e., −) and non-inverting (i.e., +) inputs of the operational amplifier. To mitigate this practical problem, a third resistor of value <math>R_{\text{f}} \| R_{\text{in}} \triangleq R_{\text{f}} R_{\text{in}} / (R_{\text{f}} + R_{\text{in}})</math> can be added between the non-inverting (i.e., +) input and the true ground.<ref>Malmstadt, Enke and Crouch, ''Electronics and Instrumentation for Scientists'', The Benjamin/Cummings Publishing Company, Inc., 1981, ISBN 0-8053-6917-1, Chapter 5. p. 118.</ref> This resistor does not affect the idealized operation of the device because no current enters the ideal non-inverting input. However, in the practical case, if input currents are roughly equivalent, the voltage added at the inverting input will match the voltage at the non-inverting input, and so this [[common-mode signal]] will be ignored by the operational amplifier (which operates on [[differential amplifier|differences]] between its inputs).
| |
| | |
| {{clear}}
| |
| | |
| ===Non-inverting amplifier{{anchor|Non-inverting amplifier configuration}}=== | |
| [[Image:Op-Amp Non-Inverting Amplifier.svg|300px]]
| |
| | |
| Amplifies a voltage (multiplies by a constant greater than 1)
| |
| :<math>V_{\text{out}} = V_{\text{in}} \left( 1 + \frac{R_2}{R_1} \right)\,</math>
| |
| * Input impedance <math>Z_{\text{in}} \approx \infin</math>
| |
| ** The input impedance is ''at least'' the impedance between non-inverting (<math>+</math>) and inverting (<math>-</math>) inputs, which is typically 1 MΩ to 10 TΩ, plus the impedance of the path from the inverting (<math>-</math>) input to ground (i.e., <math>R_1</math> in parallel with <math>R_2</math>).
| |
| ** Because negative feedback ensures that the non-inverting and inverting inputs match, the input impedance is actually '''much higher.'''{{dubious|date=October 2012}}
| |
| * Although this circuit has a large input impedance, it suffers from error of input bias current.
| |
| ** The non-inverting (<math>+</math>) and inverting (<math>-</math>) inputs draw small leakage currents into the operational amplifier.
| |
| ** These input currents generate voltages that act like unmodeled input offsets. These unmodeled effects can lead to noise on the output (e.g., offsets or drift).
| |
| ** Assuming that the two leaking currents are '''matched,''' their effect can be mitigated by ensuring the DC impedance looking '''out''' of each input is the same.
| |
| *** The voltage produced by each bias current is equal to the product of the bias current with the equivalent DC impedance looking out of each input. Making those impedances equal makes the offset voltage at each input equal, and so the non-zero bias currents will have no impact on the '''difference''' between the two inputs.
| |
| *** A resistor of value
| |
| ***:<math>R_1 \| R_2 \triangleq \left(\frac{1}{R_1} + \frac{1}{R_2}\right)^{-1} = \frac{ R_1 R_2 }{ R_1 + R_2 },\,</math>
| |
| **:which is the equivalent resistance of <math>R_1</math> in parallel with <math>R_2</math>, between the <math>V_{\text{in}}</math> source and the non-inverting (<math>+</math>) input will ensure the impedances looking '''out''' of each input will be matched.
| |
| *** The matched bias currents will then generate matched offset voltages, and their effect will be hidden to the operational amplifier (which acts on the difference between its inputs) so long as the [[common-mode rejection ratio|CMRR]] is good.
| |
| ** Very often, the input currents are ''not'' matched.
| |
| *** Most operational amplifiers provide some method of balancing the two input currents (e.g., by way of an external [[potentiometer]]).
| |
| *** Alternatively, an external offset can be added to the operational amplifier input to nullify the effect.
| |
| *** Another solution is to insert a variable resistor between the <math>V_{\text{in}}</math> source and the non-inverting (<math>+</math>) input. The resistance can be tuned until the offset voltages at each input are matched.
| |
| *** Operational amplifiers with [[MOSFET]]-based input stages have input currents that are so small that they often can be neglected.
| |
| {{clear}}
| |
| | |
| === Differential amplifier (difference amplifier)===
| |
| [[Image:Op-Amp Differential Amplifier.svg|300px]]
| |
| | |
| {{main|Differential amplifier}}
| |
| | |
| :''The name "differential amplifier" should not be confused with the "[[#Inverting_differentiator|differentiator]]," which is also shown on this page.''
| |
| | |
| :''The "[[#Instrumentation amplifier|instrumentation amplifier]]," which is also shown on this page, is a modification of the differential amplifier that also provides high [[input impedance]].''
| |
| | |
| The circuit shown computes the [[subtraction|difference]] of two voltages multiplied by some constant. In particular, the output voltage is:
| |
| | |
| :<math> V_{\text{out}} = \frac{ \left( R_{\text{f}} + R_1 \right) R_{\text{g}} }{\left( R_{\text{g}} + R_2 \right) R_1} V_2 - \frac{R_{\text{f}}}{R_1} V_1 = \left( \frac{R_1 + R_{\text{f}} }{R_1} \right) \cdot \left( \frac{R_{\text{g}}}{R_{\text{g}} + R_2} \right) V_2 - \frac{R_{\text{f}}}{R_1} V_1. </math>
| |
| | |
| The differential input impedance ''Z''<sub>in</sub> (i.e., the impedance between the two input pins) is approximately ''R''<sub>1</sub> + ''R''<sub>2</sub>. The input currents vary with the operating point of the circuit. Consequently, if the two sources feeding this circuit have appreciable [[output impedance]], then non-idealities can appear in the output, as the equations for this circuit were derived assuming zero source impedance for both V1 and V2. An [[#Instrumentation amplifier|instrumentation amplifier]] mitigates these problems.
| |
| | |
| * Under the condition that the ''R''<sub>''f''</sub> /''R''<sub>1</sub> = ''R''<sub>''g''</sub> /''R''<sub>2</sub>, the output expression becomes:
| |
| | |
| ::<math>V_{\text{out}} = A (V_{\text{2}} - V_{\text{1}})\,</math> where <math>A \triangleq \frac{ R_{\text{f}} }{ R_1 }</math> is the ''differential gain'' of the circuit.
| |
| | |
| :Moreover, the amplifier synthesized with this choice of parameters has good [[common-mode rejection ratio|common-mode rejection]] in theory because components of the signals that have ''V''<sub>1</sub> = ''V''<sub>2</sub> are not expressed on the output. Although this property is described here with resistances, it is a more general property of the impedances in the circuit. So, for example, if a compensation capacitor is added across any resistor (e.g., to improve [[phase margin]] and ensure [[Control_theory#Closed-loop_transfer_function|closed-loop]] [[BIBO stability|stability]] of the operational amplifier), similar changes need to be made in the rest of the circuit to maintain the ratio balance. Otherwise, high-frequency components common to both ''V''<sub>1</sub> and ''V''<sub>2</sub> can express themselves on the output. Additionally, because of [[leakage (electronics)|leakage]] or [[biasing|bias]] currents in a real operational amplifier, it is usually desirable for the impedance looking out each input to the operational amplifier to be equal to the impedance looking out of the other input of the operational amplifier. Otherwise, the same current into each operational amplifier input will generate a parasitic differential signal and thus a parasitic output component. Consequently, choosing ''R''<sub>1</sub> = ''R''<sub>2</sub> and ''R''<sub>''f''</sub> = ''R''<sub>''g''</sub> is common in practice.
| |
| | |
| * In the special case when ''R''<sub>''f''</sub> /''R''<sub>1</sub> = ''R''<sub>''g''</sub> /''R''<sub>2</sub>, as before, and ''R''<sub>''f''</sub> = ''R''<sub>1</sub>, the differential gain ''A'' = 1, and the circuit is a differential follower with:
| |
| | |
| ::<math> V_{\text{out}} = V_2 - V_1.\, </math>
| |
| | |
| {{clear}}
| |
| | |
| === Voltage follower (unity buffer amplifier){{anchor|Voltage follower}} ===
| |
| | |
| [[Image:Op-Amp Unity-Gain Buffer.svg|200px]]
| |
| | |
| Used as a [[buffer amplifier]] to eliminate loading effects (e.g., connecting a device with a high [[source impedance]] to a device with a low [[input impedance]]).
| |
| | |
| :<math> V_{\text{out}} = V_{\text{in}} \!\ </math>
| |
| :<math>Z_{\text{in}} = \infty</math> (realistically, the differential input impedance of the op-amp itself, 1 MΩ to 1 TΩ)
| |
| | |
| Due to the strong (i.e., [[unity (mathematics)|unity]] gain) feedback and certain non-ideal characteristics of real operational amplifiers, this feedback system is prone to have poor [[phase margin|stability margin]]s. Consequently, the system may be [[BIBO stability|unstable]] when connected to sufficiently capacitive loads. In these cases, a [[frequency compensation|lag compensation]] network (e.g., connecting the load to the voltage follower through a resistor) can be used to restore stability. The manufacturer [[data sheet]] for the operational amplifier may provide guidance for the selection of components in external compensation networks. Alternatively, another operational amplifier can be chosen that has more appropriate internal compensation.
| |
| | |
| {{clear}}
| |
| | |
| === Summing amplifier ===
| |
| [[Image:Op-Amp Summing Amplifier.svg|left|200px]]
| |
| A summing amplifier sums several (weighted) voltages:
| |
| | |
| :<math> V_{\text{out}} = -R_{\text{f}} \left( \frac{V_1}{R_1} + \frac{V_2}{R_2} + \cdots + \frac{V_n}{R_n} \right) </math>
| |
| | |
| * When <math>R_1 = R_2 = \cdots = R_n</math>, and <math>R_{\text{f}}</math> independent
| |
| | |
| :<math> V_{\text{out}} = -\frac{R_{\text{f}}}{R_1} ( V_1 + V_2 + \cdots + V_n ) \!\ </math>
| |
| | |
| * When <math>R_1 = R_2 = \cdots = R_n = R_{\text{f}}</math>
| |
| | |
| :<math> V_{\text{out}} = -( V_1 + V_2 + \cdots + V_n ) \!\ </math>
| |
| * Output is inverted
| |
| * Input impedance of the '''''n''th''' input is <math>Z_n = R_n</math> (<math>V_-</math> is a [[virtual ground]])
| |
| | |
| === Instrumentation amplifier ===
| |
| | |
| [[Image:Op-Amp Instrumentation Amplifier.svg|300px]]
| |
| | |
| {{main|Instrumentation amplifier}}
| |
| | |
| Combines very high [[input impedance]], high [[common-mode rejection]], low [[DC offset]], and other properties used in making very accurate, low-noise measurements
| |
| | |
| * Is made by adding a [[#Non-inverting amplifier|non-inverting]] [[buffer amplifier|buffer]] to each input of the [[#Differential amplifier|differential amplifier]] to increase the input impedance.
| |
| | |
| {{clear}}
| |
| | |
| ==Oscillators==
| |
| === Wien bridge oscillator ===
| |
| | |
| [[File:Wien bridge classic osc.svg|300px]]
| |
| | |
| {{main|Wien bridge oscillator}}
| |
| | |
| Produces a very low distortion [[sine wave]]. Uses negative temperature compensation in the form of a light bulb or diode.
| |
| | |
| {{clear}}
| |
| | |
| === Relaxation oscillator ===
| |
| | |
| {{main|Relaxation oscillator}}
| |
| | |
| [[File:Op-Amp Relaxation Oscillator.svg|300px]]
| |
| | |
| By using an [[RC network]] to add slow [[negative feedback]] to the inverting [[#Schmitt_trigger|Schmitt trigger]], a [[relaxation oscillator]] is formed. The feedback through the RC network causes the Schmitt trigger output to [[oscillate]] in an endless symmetric [[square wave]] (i.e., the Schmitt trigger in this configuration is an [[astable multivibrator]]).
| |
| | |
| ==Filters==
| |
| {{main|Active filter}}
| |
| Operational amplifiers can be used in construction of [[active filter]]s, providing high-pass, low-pass, band-pass, reject and delay functions. The high input impedance and gain of an op-amp allow straightforward calculation of element values, allowing accurate implementation of any desired filter topology with little concern for the loading effects of stages in the filter or of subsequent stages. However, the frequencies at which active filters can be implemented is limited; when the behavior of the amplifiers departs significantly from the ideal behavior assumed in elementary design of the filters, filter performance is degraded.
| |
| | |
| ==Comparators and detectors==
| |
| === Comparator ===
| |
| | |
| :[[Image:Op-Amp Comparator.svg|200px]]
| |
| | |
| {{main|Comparator}}
| |
| | |
| [[Bistability|Bistable]] output that indicates which of the two inputs has a higher voltage. That is,
| |
| :<math> V_{\text{out}} = \begin{cases} V_{\text{S}+} & \text{if } V_1 > V_2, \\ V_{\text{S}-} & \text{if } V_1 < V_2, \\ 0 & \text{if } V_1 = V_2, \end{cases} </math>
| |
| where <math>V_{\text{S}+}</math> and <math>V_{\text{S}-}</math> are nominally the positive and negative supply voltages (which are not shown in the diagram).
| |
| | |
| === Threshold detector ===
| |
| [[image:threshold detector with hysteresis.jpg|right|Circuit diagram for threshold detector with hysteresis]]
| |
|
| |
| The threshold detector with [[hysteresis]] consists of an [[operational amplifier]] and a series of [[resistors]] that provide hysteresis. Like other detectors, this device functions as a [[voltage]] switch, but with an important difference. The state of the detector output is not directly affected by input voltage, but instead by the voltage drop across its input terminals (here, referred to as Va). From [[Kirchhoff's circuit laws|Kirchhoff's Current Law]], this value depends both on Vin and the output voltage of the threshold detector itself, both multiplied by a resistor ratio.
| |
| | |
| :<math>V_a={R_1 \over {R_1 + R_5}}V_{in} + {R_5 \over {R_1 + R_5}}V_{THRout}</math>
| |
| | |
| Unlike the zero crossing detector, the detector with hysteresis does not switch when Vin is zero, rather the output becomes Vsat+ when Va becomes positive and Vsat- when Va becomes negative. Further examination of the Va equation reveals that Vin can exceed zero (positive or negative) by a certain magnitude before the output of the detector is caused to switch. By adjusting the value of R1, the magnitude of Vin that will cause the detector to switch can be increased or decreased. Hysteresis is useful in various applications. It has better noise immunity than the level detector, so it is used in interface circuits. Its positive feedback has a faster transition, so it is used in timing applications such as frequency counters. It is also used in astable multivibrators found in instruments such as function generators.
| |
| {{clear}}
| |
| | |
| === Zero level detector ===
| |
| [[image:zero crossing detector.svg|200px|thumb|right|Circuit Diagram]]
| |
| A ''zero crossing detector'' is a comparator with the reference level set at zero.
| |
| It is used for detecting the zero crossings of AC signals. It can be made from an [[operational amplifier]] with an input voltage at its positive input (see circuit diagram).
| |
| | |
| When the input voltage is positive, the output voltage is a positive value, when the input voltage is negative, the output voltage is a negative value. The magnitude of the output voltage is a property of the operational amplifier and its power supply.
| |
| | |
| Applications include converting an analog signal into a form suitable to use for frequency measurements, in [[phase locked loop]]s, or for controlling power electronics circuits that must switch with a defined relationship to an alternating current waveform.
| |
| | |
| This detector exploits the property that the instantaneous frequency of an [[Frequency modulation|FM]] wave is approximately given by
| |
| <math>f_i=\frac{\Delta t}{2}</math>
| |
| where <math>\Delta t</math> is the time difference between adjacent zero crossings of FM wave | |
|
| |
| <ref>[http://sound.westhost.com/appnotes/an005.htm Elliott Sound Products] Application Notes : Zero Crossing Detectors and Comparators</ref>
| |
| | |
| === Schmitt trigger ===
| |
| | |
| {{main|Schmitt trigger}}
| |
| | |
| A [[bistable multivibrator]] implemented as a [[comparator]] with [[hysteresis]].
| |
| | |
| [[Image:Op-Amp Schmitt Trigger.svg|300px]]
| |
| | |
| In this configuration, the input voltage is applied through the resistor <math>{R_1}</math> (which may be the source internal resistance) to the non-inverting input and the inverting input is grounded or referenced. The hysteresis curve is non-inverting and the switching thresholds are <math>\pm \frac{R_1}{R_2}V_{\text{sat}}</math> where <math>V_{\text{sat}}</math> is the greatest output magnitude of the operational amplifier.
| |
| | |
| {{clear}}
| |
| | |
| [[File:Op-Amp Inverting Schmitt Trigger.svg|300px]]
| |
| | |
| Alternatively, the input source and the [[electrical ground|ground]] may be swapped. Now the input voltage is applied directly to the inverting input and the non-inverting input is grounded or referenced. The hysteresis curve is inverting and the switching thresholds are <math>\pm \frac{R_1}{R_1 + R_2} V_{\text{sat}}</math>. Such a configuration is used in the [[#Relaxation_oscillator|relaxation oscillator]] shown above.
| |
| | |
| {{clear}}
| |
| | |
| ==Integration and differentiation==
| |
| === Inverting integrator ===
| |
| | |
| {{merge_from|Op amp integrator|discuss=Talk:Op amp integrator#Merge_proposal|date=December 2012}}
| |
| | |
| [[Image:Op-Amp Integrating Amplifier.svg|300px|]]
| |
| | |
| [[Integral|Integrates]] the (inverted) signal over time
| |
| | |
| :<math>V_{\text{out}} = -\int_0^t \frac{ V_{\text{in}} }{RC} \, \operatorname{d}t + V_{\text{initial}}\,</math>
| |
| | |
| (where <math>V_{\text{in}}</math> and <math>V_{\text{out}}</math> are functions of time, <math>V_{\text{initial}}</math> is the output voltage of the integrator at time ''t'' = 0.)
| |
| | |
| * This can also be viewed as a [[Low-pass filter|low-pass]] [[electronic filter]]. It is a filter with a single [[complex pole|pole]] at DC (i.e., where <math>\omega = 0</math>) and gain.
| |
| * There are several potential problems with this circuit.
| |
| ** It is usually assumed that the input <math>V_{\text{in}}</math> has zero DC component (i.e., has a zero average value). Otherwise, unless the capacitor is periodically discharged, the output will drift outside of the operational amplifier's operating range.
| |
| ** Even when <math>V_{\text{in}}</math> has no offset, the leakage or bias currents into the operational amplifier inputs can add an unexpected offset voltage to <math>V_{\text{in}}</math> that causes the output to drift. Balancing input currents '''and''' replacing the non-inverting (<math>+</math>) short-circuit to ground with a resistor with resistance <math>R</math> can reduce the severity of this problem.
| |
| ** Because this circuit provides no DC feedback (i.e., the capacitor appears like an open circuit to signals with <math>\omega = 0</math>), the offset of the output may not agree with expectations (i.e., <math>V_{\text{initial}}</math> may be out of the designer's control with the present circuit).
| |
| : Many of these problems can be made less severe by adding a ''large'' resistor <math>R_F</math> in parallel with the feedback capacitor. At significantly high frequencies, this resistor will have negligible effect. However, at low frequencies where there are drift and offset problems, the resistor provides the necessary feedback to hold the output steady at the correct value. In effect, this resistor reduces the DC gain of the "integrator" – it goes from infinite to some finite value <math>R_F/R</math>.
| |
| | |
| {{clear}}
| |
| | |
| === Inverting differentiator ===
| |
| | |
| [[Image:Op-Amp Differentiating Amplifier.svg|300px]]
| |
| | |
| [[Derivative|Differentiates]] the (inverted) signal over time.
| |
| | |
| :<math>V_{\text{out}} = -RC \,\frac{\operatorname{d}V_{\text{in}} }{ \operatorname{d}t} \, \qquad \text{where } V_{\text{in}}\text{ and } V_{\text{out}} \text{ are functions of time.}</math>
| |
| | |
| * This can also be viewed as a [[High-pass filter|high-pass]] [[electronic filter]]. It is a filter with a single [[complex zero|zero]] at DC (i.e., where [[angular frequency]] <math>\omega = 0</math> radians) and gain. The high-pass characteristics of a differentiating amplifier (i.e., the low-frequency zero) can lead to stability challenges when the circuit is used in an analog servo loop (e.g., in a [[PID controller]] with a significant derivative gain). In particular, as a [[root locus|root locus analysis]] would show, increasing feedback gain will drive a closed-loop pole toward marginal stability at the DC zero introduced by the differentiator.
| |
| | |
| {{clear}}
| |
| | |
| ==Synthetic elements==
| |
| === Inductance gyrator ===
| |
| | |
| [[Image:Op-Amp Gyrator.svg|300px]]
| |
| | |
| {{main|Gyrator}}
| |
| | |
| Simulates an [[inductor]] (i.e., provides [[inductance]] without the use of a possibly costly inductor). The circuit exploits the fact that the current flowing through a capacitor behaves through time as the voltage across an inductor. The capacitor used in this circuit is smaller than the inductor it simulates and its capacitance is less subject to changes in value due to environmental changes.
| |
| | |
| This circuit is unsuitable for applications relying on the [[back EMF]] property of an inductor as this will be limited in a gyrator circuit to the voltage supplies of the op-amp.
| |
| | |
| {{clear}}
| |
| | |
| === Negative impedance converter (NIC) ===
| |
| | |
| [[Image:Op-Amp Negative Impedance Converter.svg|300px]]
| |
| | |
| {{main|Negative impedance converter}}
| |
| | |
| Creates a [[resistor]] having a negative value for any signal generator
| |
| | |
| * In this case, the ratio between the input voltage and the input current (thus the input resistance) is given by:
| |
| | |
| :<math>R_{\text{in}} = -R_3 \frac{R_1}{R_2}</math>
| |
| | |
| In general, the components <math>R_1</math>, <math>R_2</math>, and <math>R_3</math> need not be resistors; they can be any component that can be described with an [[Electrical impedance|impedance]].
| |
| | |
| {{clear}}
| |
| | |
| ==Non-linear==
| |
| === Precision rectifier ===
| |
| | |
| [[Image:Op-Amp Precision Rectifier.svg|250px|]]
| |
| | |
| {{main|Precision rectifier}}
| |
| | |
| The voltage drop V<sub>F</sub> across the forward biased diode in the circuit of a passive rectifier is undesired. In this active version, the problem is solved by connecting the diode in the negative feedback loop. The op-amp compares the output voltage across the load with the input voltage and increases its own output voltage with the value of V<sub>F</sub>. As a result, the voltage drop V<sub>F</sub> is compensated and the circuit behaves very nearly as an ideal (''super'') [[diode]] with V<sub>F</sub> = 0 V.
| |
| | |
| The circuit has speed limitations at high frequency because of the slow negative feedback and due to the low slew rate of many non-ideal op-amps.
| |
| {{clear}}
| |
| | |
| === Logarithmic output ===
| |
| {{See also|Log amplifier}}
| |
| [[Image:Op-Amp Logarithmic Amplifier.svg|300px]]
| |
| | |
| * The relationship between the input voltage <math>v_{\text{in}}</math> and the output voltage <math>v_{\text{out}}</math> is given by:
| |
| | |
| ::<math>v_{\text{out}} = -V_{\text{T}} \ln \left( \frac{v_{\text{in}}}{I_{\text{S}} \, R} \right)</math>
| |
| | |
| :where <math>I_{\text{S}}</math> is the ''saturation current'' and <math>V_{\text{T}}</math> is the ''thermal voltage''.
| |
| | |
| * If the operational amplifier is considered ideal, the inverting input pin is virtually grounded, so the current flowing into the resistor from the source (and thus through the diode to the output, since the op-amp inputs draw no current) is:
| |
| | |
| ::<math>\frac{v_{\text{in}}}{R} = I_{\text{R}} = I_{\text{D}}</math>
| |
| | |
| :where <math>I_{\text{D}}</math> is the current through the diode. As known, [[Diode#Shockley diode equation|the relationship between the current and the voltage]] for a [[diode]] is:
| |
| | |
| ::<math>I_{\text{D}} = I_{\text{S}} \left( e^{\frac{V_{\text{D}}}{V_{\text{T}}}} - 1 \right).</math>
| |
| | |
| :This, when the voltage is greater than zero, can be approximated by:
| |
| | |
| ::<math>I_{\text{D}} \simeq I_{\text{S}} e^{\frac{V_{\text{D}}}{V_{\text{T}}}}. </math>
| |
| | |
| :Putting these two formulae together and considering that the output voltage is the negative of the voltage across the diode (<math>V_{\text{out}} = -V_{\text{D}}</math>), the relationship is proven.
| |
| | |
| This implementation does not consider temperature stability and other non-ideal effects.
| |
| | |
| {{clear}}
| |
| | |
| ===Exponential output===
| |
| | |
| [[Image:Op-Amp Exponential Amplifier.svg|300px]]
| |
| | |
| * The relationship between the input voltage <math>v_{\text{in}}</math> and the output voltage <math>v_{\text{out}}</math> is given by:
| |
| | |
| :<math>v_{\text{out}} = -R I_{\text{S}} e^{\frac{v_{\text{in}}}{V_{\text{T}}}}</math>
| |
| | |
| where <math>I_{\text{S}}</math> is the [[saturation current]] and <math>V_{\text{T}}</math> is the [[Thermal_voltage#Role_in_semiconductor_physics:_the_thermal_voltage|thermal voltage]].
| |
| | |
| * Considering the operational amplifier ideal, then the negative pin is virtually grounded, so the current through the diode is given by:
| |
| | |
| :<math>I_{\text{D}} = I_{\text{S}} \left( e^{\frac{V_{\text{D}}}{V_{\text{T}}}} - 1 \right)</math>
| |
| | |
| when the voltage is greater than zero, it can be approximated by:
| |
| | |
| :<math>I_{\text{D}} \simeq I_{\text{S}} e^{\frac{V_{\text{D}}}{V_{\text{T}}}}. </math>
| |
| | |
| The output voltage is given by:
| |
| :<math>v_{\text{out}} = -R I_{\text{D}}.\,</math>
| |
| | |
| {{clear}}
| |
| | |
| == Other applications ==
| |
| <div class="references" style="-moz-column-count:3; column-count:3;">
| |
| * audio and video [[preamplifier|preamplifiers]] and [[buffer amplifier|buffer]]s
| |
| * [[Filter (signal processing)|filter]]s
| |
| * [[voltage regulator]] and [[current regulator]]
| |
| * [[analog-to-digital converter]]
| |
| * [[digital-to-analog converter]]
| |
| * [[voltage clamp]]s
| |
| * [[electronic oscillator|oscillator]]s and [[waveform generator]]s
| |
| * [[Analog computer]]
| |
| * [[Capacitance multiplier]]
| |
| * [[Charge amplifier]]
| |
| </div> | |
| | |
| == See also ==
| |
| | |
| * [[Current-feedback operational amplifier]]
| |
| * [[Frequency compensation]]
| |
| * [[Operational amplifier]]
| |
| * [[Operational transconductance amplifier]]
| |
| * [[Transimpedance amplifier]]
| |
| | |
| == References ==
| |
| {{reflist}}
| |
| | |
| ==Further reading==
| |
| * ''Basic Operational Amplifiers and Linear Integrated Circuits''; 2nd Ed; Thomas L Floyd; David Buchla; 593 pages; 1998; ISBN 978-0-13-082987-0.
| |
| * ''Design with Operational Amplifiers and Analog Integrated Circuits''; 3rd Ed; Sergio Franco; 672 pages; 2002; ISBN 978-0-07-232084-8. <small>[http://www.mhhe.com/engcs/electrical/franco3/ (book website)]</small>
| |
| * ''Operational Amplifiers and Linear Integrated Circuits''; 6th Ed; Robert F Coughlin; 529 pages; 2000; ISBN 978-0-13-014991-6.
| |
| * ''Op-Amps and Linear Integrated Circuits''; 4th Ed; Ram Gayakwad; 543 pages; 1999; ISBN 978-0-13-280868-2.
| |
| * ''Op Amps and Linear Integrated Circuits''; 1st Ed; James M Fiore; 640 pages; 2001; ISBN 978-0766817937.
| |
| * ''Op Amps For Everyone''; 1st Ed; Ron Mancini; 464 pages; 2002; Texas Instruments SLOD006B. <small>[http://focus.ti.com/lit/an/slod006b/slod006b.pdf (Free PDF Download)]</small>
| |
| * ''Small Signal Audio Design''; 1st Ed; Douglas Self; 556 pages; 2010; ISBN 978-0-240-52177-0.
| |
| | |
| == External links ==
| |
| {{Wikibooks|Electronics|Op-Amps}}
| |
| * {{PDFlink|[http://focus.ti.com/lit/an/slod006b/slod006b.pdf Op Amps for Everyone]|1.96 [[Mebibyte|MiB]]<!-- application/pdf, 2061665 bytes -->}}
| |
| * {{PDFlink|[http://instruct1.cit.cornell.edu/courses/bionb440/datasheets/SingleSupply.pdf Single supply op-amp circuit collection]|163 [[Kibibyte|KiB]]<!-- application/pdf, 167039 bytes -->}}
| |
| * {{PDFlink|[http://www.national.com/an/AN/AN-31.pdf Op-amp circuit collection]|962 [[Kibibyte|KiB]]<!-- application/pdf, 985824 bytes -->}}
| |
| * {{PDFlink|[http://www.analog.com/static/imported-files/application_notes/28080533AN106.pdf A Collection of Amp Applications]|1.06 [[Mebibyte|MiB]]<!-- application/pdf, 1120990 bytes -->}} – [[Analog Devices]] [[Application note]]
| |
| * {{PDFlink|[http://www.ligo.caltech.edu/~vsanni/ph5/pdf/BasicOpAmpApplications.pdf Basic OpAmp Applications]|173 [[Kibibyte|KiB]]<!-- application/pdf, 177205 bytes -->}}
| |
| * {{PDFlink|[http://focus.ti.com/lit/an/sboa092a/sboa092a.pdf Handbook of operational amplifier applications]|2.00 [[Mebibyte|MiB]]<!-- application/pdf, 2103557 bytes -->}} – [[Texas Instruments]] [[Application note]]
| |
| * [http://focus.ti.com/analog/docs/gencontent.tsp?familyId=57&genContentId=28017 Low Side Current Sensing Using Operational Amplifiers]
| |
| * {{PDFlink|[http://www.national.com/an/AN/AN-30.pdf Log/anti-log generators, cube generator, multiply/divide amp]|165 [[Kibibyte|KiB]]<!-- application/pdf, 169719 bytes -->}}
| |
| * [http://www.edn.com/archives/1994/030394/05di7.htm Logarithmically variable gain from a linear variable component]
| |
| * [http://www.philbrickarchive.org/1964-1_v12_no1_the_lightning_empiricist.htm Impedance and admittance transformations using operational amplifiers] by D. H. Sheingold
| |
| * [http://www.linear.com/docs/4138 ''High Speed Amplifier Techniques ''] very practical and readable{{spaced ndash}}with photos and real waveforms
| |
| * [http://instruct1.cit.cornell.edu/courses/bionb440/datasheets/SingleSupply.pdf Single supply op-amp circuit collection] <!-- should link directly to TI -->
| |
| | |
| [[Category:Electronic amplifiers]]
| |
| [[Category:Linear integrated circuits]]
| |