Ideal Operational Amplifier and Basic Configurations
In questa pagina 6
The component
The operational amplifier (op-amp, the triangle with the signs and ) has two inputs and one output. The name comes from its original use: performing analog operations (sums, integrals) to compute, for example, differential equations. In circuits it is often drawn without the supply terminals , which are however there: the energy of the output signal and the current delivered by the output come from them (Kirchhoff's current law on the whole component requires that the current leaving the terminal enters from a supply).
Definition (operational amplifier: output proportional to the difference of the inputs). The two inputs are the non-inverting input (, sign ) and the inverting input (, sign ): they have the same gain in modulus and opposite sign, so
Example. With , and : ; with the two inputs equal, even at , .
The op-amp amplifies the difference of the signals: two equal inputs (even if non-zero) give zero output. Voltages are always referred to ground, the node at zero potential taken as reference (ground is not earth: the latter is a safety connection). A voltage written at a terminal (for example ) means the terminal is connected to a generator: it is not an open terminal, and current can flow into it.
Ideal model
Definition (ideal model of the operational amplifier).
- infinite gain, ;
- infinite bandwidth (it works also at zero frequency);
- infinite input resistance: the input currents are zero;
- zero output resistance: does not depend on the delivered current.
Example. With an input at draws no current; with an output at stays at on any load.
With the circuit would seem unusable: if the output goes to (in reality it saturates at ), if to (), and only with can it take a finite value. The point is that is not obtained with a short circuit between the inputs (which would remove the useful connections): it is obtained as the equilibrium point of a feedback network that brings the output back to the inverting input.
Negative feedback and the virtual short
Consider the circuit with at the terminal and the divider bringing from the output to the terminal a fraction of : If were larger than the equilibrium value, , i.e. , and the output would tend to decrease, towards equilibrium. If it were smaller, and the output would rise. So the only value the system can hold is the one with . This is negative feedback: a variation of the output produces at the input a variation that opposes it.
If the two inputs were exchanged (divider on and signal on ), the equilibrium would be the same but not stable: a small increase of would increase and make grow further (positive feedback). The output would go into saturation ( or ) and the circuit would no longer be a linear amplifier: this is the structure of comparators.
Principle (virtual short with negative feedback). In a circuit with ideal op-amp and negative feedback:
- between the two inputs there is a virtual shortthe two terminals have the same voltage as if shorted, but no current flows between them: (same voltage, but no current between the terminals);
- the input currents are zero;
- if is at ground, and one speaks of virtual ground.
Example. With and negative feedback and no current enters the inputs; if is grounded, the terminal is at (virtual ground).
Write the node equations with Kirchhoff's current law with no current towards the inputs, impose and solve for .
Non-inverting amplifier
Formula (non-inverting amplifier). Signal at ; between output and ; between and ground. By the virtual short and the divider (unloaded, since the terminal draws no current) gives :
Example. and : ; with the output is .
The gain is positive and larger than 1. because the signal enters an input that draws no current. For : switch off and apply a test current at the output; since also , so there is no current in and : for any , i.e. .
Limit case: voltage follower (buffer). and give : . The circuit does not amplify the voltage but the current: the source, which may have a high output resistance, delivers no current (ideal op-amp), while the load can draw as much as it wants. It is used to decouple a source from a load.
Inverting amplifier
Formula (inverting amplifier). The signal reaches connected to ; between output and ; to ground. Virtual ground: . The currents (towards the node) and (from the node towards the output) must sum to zero because no current enters the terminal: .
because the node is at virtual ground: the generator current is . For : with and a test current at the output, , so also and : . If the source has internal resistance the series input resistance is and the gain with respect to the open-circuit voltage of the generator is .
Example. and : ; with the output is and .
Numerical examples.
- Non-inverting with , : . With : . With supply and the required output would be but it saturates at about .
- Inverting with , : ; gives ; . If the generator has the output becomes .
Grafico interattivo: Transfer characteristic of an inverting amplifier with A_v = -4 and supply ±5 V: the output follows the line -4·v_S only for |v_S| < 1.25 V
The real component departs from this model; see Non-Idealities of Operational AmplifiersA real op-amp has finite frequency-dependent gain A(jw) = A0/(1 + jw/wA), output resistance, input currents (bias IB, offset IOS), offset voltage VOS and a limited output slew rate; with negative feedback the closed-loop gain is G A/(A+G) with G = 1 + R2/R1, so the bandwidth is wT/G (constant gain-bandwidth product), and the DC errors of VOS, IB, IOS are found by superposition with the signal switched off.Non-Idealities of Operational Amplifiers →. The configurations extended to impedances and to several inputs are in Operational Amplifier Circuits - Summing, Difference, Integrator, DifferentiatorWith the virtual short all the basic op-amp circuits follow: inverting summer vO = -sum(R/Rk)Vk, difference amplifier vO = (R2/R1)(V1 - V2) with R1/R2 = R3/R4, integrator vO = -(1/RC) integral of vS, differentiator vO = -RC dvS/dt, and the instrumentation amplifier (1 + 2R/Rg)(R4/R3)(V1 - V2); in frequency it is enough to use the impedance Z(s) in place of R in the inverting and non-inverting formulas.Operational Amplifier Circuits - Summing, Difference, Integrator, Differentiator →.
Common mistakes
- Applying the virtual short to a circuit with positive feedback or without feedback (it requires negative feedback).
- Thinking that current flows in the virtual short: the voltage is zero and so is the current.
- Forgetting that cannot exceed saturation.
- Forgetting the internal resistance of the source in the gain of the inverting amplifier.
Versione ripasso
Key statements and formulas
- Definition: , non-inverting input (sign ), inverting input (sign ).
- Ideal model: , infinite bandwidth, (zero input currents), . The supplies are implied but present: the output energy comes from them.
- Negative feedback (output to the terminal): virtual shortsame voltage on the two terminals as if shorted, but no current flows between them, i.e. , so . With grounded, : virtual ground.
- Positive feedback: no stable equilibrium, the output saturates (comparator).
- Non-inverting: , , . Limit case (buffer, , ): , amplifies current and decouples source and load.
- Inverting: , , . With source resistance : .
Main steps of the examples
- , , : ; equal inputs give .
- Non-inverting with , : ; gives . With supply and the required saturates at about .
- Inverting with , : ; gives , . With : .
- With and supply the line is followed only for .
Typical mistakes
- Virtual short without negative feedback.
- Confusing the gain of the non-inverting (, always above 1) with that of the inverting ().
- Writing for the inverting amplifier: the input is the resistance towards the virtual ground node.
- Thinking current flows in the virtual short.
- Forgetting saturation and the source resistance.