Physics › Electronics › Operational amplifiers
Operational amplifiers
An amplifier with a gain of a hundred thousand is useless on its own, since a fraction of a millivolt drives its output hard against the supply rail. Hand some of the output back to the input and the same chip becomes whatever amplifier a pair of resistors describes.
Pick your board and the few notes written for the other boards quietly fold away, here and in the practice players. Nothing is deleted: every folded piece reopens on a tap.
Builds on Potential dividers and Discrete semiconductor devices.
IN THIS TOPIC
- State the properties of the ideal op-amp and use the open-loop relation.
- Explain comparator action and saturation, say which input carries the signal, and say what a comparator is for.
- Say what negative feedback sacrifices and what it gains.
- Use the inverting gain, and explain the virtual earth that produces it.
- Use the non-inverting gain, and use the gain-bandwidth product to find a bandwidth.
COMMON MISCONCEPTION
An op-amp with an open-loop gain of 100 000 multiplies any input by 100 000.
The ideal amplifier, and the rails that own it
An operational amplifier amplifies the difference between its two inputs, the non-inverting input and the inverting input . At A-level it is treated as ideal, and the ideal has four properties worth learning as a list. Its open-loop gain is infinite. Its input resistance is infinite, so neither input draws current. Its output resistance is zero, so the output does not sag under load. Its bandwidth is infinite. A representative general-purpose device manages about 105, a few megohms and tens of ohms; the numbers vary from chip to chip, and the data sheet is the authority for any particular part.
Take that equation seriously for a moment. With = 105 and an output that can reach 13 V before the supply rails stop it, a difference of 13/105 = 130 μV already drives the output the whole way. Anything larger asks for a voltage beyond the rails, and the amplifier cannot deliver it. The output sticks a volt or so inside the rail and stays there, saturated. So much for multiplying any input by a hundred thousand.
Saturation put to work: the comparator
Being saturated is useful if the question you are asking is which input is larger. Wire the signal to the non-inverting input and the fixed reference to the inverting input . Then is positive whenever the signal is above the reference, so the output sits at the positive rail, and it is negative whenever the signal is below the reference, so the output sits at the negative rail. Swap the two connections, reference on and signal on , and both statements reverse. The circuit is a comparator, and it turns a smoothly varying voltage into a two-level decision. Which input carries the signal is part of the answer, never an afterthought.
The switch-over is sharp because the whole swing from one rail to the other takes only 26/105 = 260 μV of input difference. A thermostat is a comparator with a thermistor divider on one input and a preset divider on the other. A light-operated alarm is the same circuit with an LDR, and a frost warning is the same circuit again with the inputs swapped, which is the polarity reversal above.
Giving the gain away on purpose
Feed a fraction of the output back to the inverting input and the amplifier acquires a conscience. Should the output start to rise too far, the fed-back share raises , which cuts the difference the amplifier is working on and pulls the output back down. It settles wherever the two inputs are almost equal, and with so much open-loop gain, almost equal means within microvolts.
The gain then belongs to the feedback network rather than to the chip, and that is the trade-off the rest of the subject is built on. Give up most of the gain available and what you get in return is a gain set by resistors you chose, a far wider bandwidth, less distortion, and behaviour that survives a change of chip.
The inverting amplifier and its virtual earth
The inverting amplifier earths the non-inverting input and feeds the signal through to the inverting input, with bridging that input to the output. Feedback holds the two inputs within microvolts of each other, and one of them is at 0 V, so the other is held at 0 V as well without being connected to earth at all. That node is the virtual earth.
Two facts finish the derivation. The current arriving through is , since one end of that resistor is at and the other is at 0 V. None of it enters the op-amp, so all of it runs on through , and the output must sit at minus that current times . Divide one by the other and the chip has vanished from the answer:
WORKED EXAMPLE
Following the current round
In the figure = 0.20 V, = 10 kΩ and = 47 kΩ. Find the current into the virtual earth and the output voltage, then check against the gain equation.
The input resistor has the whole 0.20 V across it, so I = 0.20/(10 × 103) = 20 μA.
That current continues through the 47 kΩ resistor from a node at 0 V, so the output is −20 × 10−6 × 47 × 103 = −0.94 V.
The gain equation agrees, −(47/10) × 0.20 = −0.94 V. Learn the current route anyway, because the derivation marks are written for it.
The non-inverting amplifier
Move the signal to the non-inverting input and return the feedback through a divider of and hung across the output. The divider offers the inverting input the fraction of whatever the output is doing, and feedback drives the output until that fraction matches . Rearranging gives a gain of
Two differences from the inverting circuit matter in an exam. The output is in phase with the input, and the gain can never fall below one, since the 1 is stuck at the front. The signal also arrives straight at the op-amp's own input terminal, so the circuit draws almost nothing from whatever drives it. A high-resistance sensor is far better read this way.
GUIDED PRACTICE
Designing to a number
An instrument needs a non-inverting amplifier of gain 11, built with 1.0 kΩ as . Find , and state the gain the same two resistors would give in the inverting arrangement.
Show the working
1 + /1.0 = 11, so = 10 kΩ.
In the inverting circuit the same pair gives −10/1.0 = −10.
The non-inverting gain is always one greater, and it keeps the phase. Quoting 10 for a non-inverting design is the standard slip, and it costs the mark.
What the bargain costs: gain-bandwidth product
The bandwidth a real op-amp has is small. For the same representative compensated device, the open-loop gain of 105 only holds up to about 10 Hz, and above that the gain falls in proportion to frequency until it reaches one at around 1 MHz. Multiply the gain by the frequency at which it runs out and the answer is the same everywhere along that slope:
The trade in negative feedback is therefore a quantitative one. Ask a 1 MHz chip for a closed-loop gain of 1000 and its corner lands at 1 kHz; settle for a gain of 10 and the same chip corners at 100 kHz. Every factor of ten of gain surrendered gives a factor of ten of bandwidth.
Be careful with the word flat. The corner quoted as a bandwidth is where the gain has already fallen to , about 0.71, of its low-frequency value, the same 0.71 that fixed a filter's cut-off earlier in this unit, which is why it is called the 3 dB point. A bandwidth of 1 kHz therefore means flat to within that 0.71 up to 1 kHz, not untouched up to it. Cascade two identical stages and each contributes its own 0.71 at the shared corner, leaving the pair at 0.71 × 0.71 = 0.50 there, so a chain is always narrower than any one of its stages.
INDEPENDENT PRACTICE
Enough bandwidth for audio
An op-amp has a gain-bandwidth product of 1.0 MHz, and an audio stage must reach 20 kHz. Find the gain that puts one stage's corner at 20 kHz. Two such stages are then cascaded: give the overall gain, and say where the pair has fallen to 0.71. Then find the gain per stage that would put the pair's own 0.71 point at 20 kHz.
Show the working
Gain = 1.0 × 106/(20 × 103) = 50, so one stage of gain 50 has already dropped to 0.71 of its flat value at 20 kHz.
Two of them give an overall gain of 50 × 50 = 2500, but each is at 0.71 there, so the pair is at 0.71 × 0.71 = 0.50 of flat at 20 kHz, not flat at all. The pair reaches 0.71 far earlier, where , that is at 0.644 of the stage corner: 20 × 0.644 = 12.9 kHz.
For the pair to hold 0.71 out to 20 kHz each stage needs its corner at 20/0.644 = 31.1 kHz, so a gain of 1.0 × 106/(31.1 × 103) = 32. Two stages of 32 give 1024 overall and reach 0.71 at 20.1 kHz.
Splitting a large gain between stages still gains bandwidth, since one stage of gain 1024 would corner at 1.0 × 106/1024 = 977 Hz. The lesson is to test the tolerance on the whole chain rather than on one stage.
ASSESSMENT FOCUS
- The four ideal properties are a list, so write them as one. Infinite open-loop gain, infinite input resistance, zero output resistance, infinite bandwidth.
- Comparator answers need the reference named, the input it sits on stated, and both rails given. With the signal on and the reference on the output is at the positive rail above the reference and at the negative rail below it; swapping the inputs reverses both, and either way the change takes only a few hundred microvolts.
- The virtual earth carries the derivation marks. The inverting input is held at 0 V, the input current is , no current enters the op-amp, so all of it flows on through .
- Mind the signs. Inverting gain is negative and the output is in antiphase; non-inverting gain is positive and can never drop below 1.
- Hold every calculated output against the supply rails before writing it down. If it exceeds them, say the amplifier saturates and give the output as the rail voltage.
- Bandwidth questions are one division. Gain-bandwidth product over the closed-loop gain, and the two always move in opposite directions. That answer is the frequency at which the gain has fallen to 0.71, so a cascade of stages reaches 0.71 sooner than any single stage in it.
CHECK YOURSELF
An op-amp with an open-loop gain of 1.0 × 105, a gain-bandwidth product of 1.0 MHz and an output that saturates at ±13 V is wired as an inverting amplifier with = 5.0 kΩ and = 100 kΩ. Find the closed-loop gain and the bandwidth, then the output for an input of 0.10 V and for an input of 1.0 V.
Show a hint
Gain from the resistor ratio, bandwidth from the product, and hold each answer against the rails.
Show the answer
Gain = − = −100/5.0 = −20, so the output is inverted and twenty times larger.
Bandwidth = 1.0 × 106/20 = 50 kHz.
For 0.10 V in, the output is −20 × 0.10 = −2.0 V, comfortably inside the rails.
For 1.0 V in, the equation asks for −20 V. The output cannot pass the rail, so the amplifier saturates at about −13 V and the waveform is clipped flat.
With no feedback the op-amp only compares: a few hundred microvolts of difference send the output to a rail.
Negative feedback hands the gain to the resistors, and gain times bandwidth stays constant.
Inverting gain is minus Rf over Rin about a virtual earth; non-inverting gain is 1 + Rf over R1.
WORKBOOK
Printable practice for this topic: original exam-style questions with room to work, and a fully worked answer book. Free to use; please do not redistribute or sell.
Or read them with their mark schemes on the operational amplifiers questions page.
WHERE TO GO NEXT
- Rearranging equations is the maths this lesson leans on, worked through from GCSE.
CHECK YOUR PROGRESS
Rate how confident you feel with each objective for this lesson. Ratings are saved in this browser, on this device, unless you sign in.
- State the properties of the ideal op-amp and use the open-loop relation.
- Explain comparator action and saturation, say which input carries the signal, and say what a comparator is for.
- Say what negative feedback sacrifices and what it gains.
- Use the inverting gain, and explain the virtual earth that produces it.
- Use the non-inverting gain, and use the gain-bandwidth product to find a bandwidth.
Open the full revision checklist to track your progress across the whole unit.