Sub topic 6
The Voltage Follower as a Buffer
This chapter assumes you know the non-inverting amplifier gain, Vout = (1 + Rf/Rg) Vin. It also assumes the virtual short and the voltage divider. Here you will see how that gain formula reduces to a gain of exactly 1, and why a gain-of-1 stage is still worth building.
From the non-inverting amplifier to gain of one
The non-inverting amplifier has gain 1 + Rf/Rg. Two limits of that formula make the gain equal 1:
- Set Rf to 0 Ω, which is a plain wire from the output to the inverting input.
- Remove Rg, which makes it infinite, so nothing connects the inverting input to ground.
Either change alone gives a gain of 1. The usual circuit makes both: the output goes straight to the inverting input, and no other resistor is attached there. The signal enters at the non-inverting input.
The virtual short gives the result without algebra:
- Negative feedback keeps the two inputs at the same voltage, so V- = V+.
- The input signal sets V+ = Vin.
- The wire from the output sets V- = Vout.
- Therefore Vout = Vin.
This circuit is called a voltage follower or unity-gain buffer. The output follows the input in both magnitude and sign. The gain is +1, which is 0 dB.
Why a stage with no gain is useful
The follower does not change the voltage. It changes how much current the source must supply. Its input impedance is very high, and its output impedance is very low. The source sees a nearly open circuit, and the load sees a nearly ideal voltage source.
This is called impedance transformation. The follower also gives current gain, even though its voltage gain is 1. The load current comes from the op amp's supply rails, not from the signal source.
Loading a source without a buffer
A real source behaves like an ideal voltage Vs in series with a resistance Rs. Connecting a load RL forms a voltage divider, and the load sees only
VL = Vs · RL / (Rs + RL)
The next code block compares a direct connection with a buffered one. It uses a 100 kΩ source, a 1 kΩ load, and a buffer with 1 GΩ input resistance and open-loop gain A = 100,000.
def divider(vs, rs, rl):
"""Voltage across rl when a source vs with series resistance rs drives it."""
return vs * rl / (rs + rl)
def follower_gain(open_loop_gain):
"""Closed-loop gain of a voltage follower: beta = 1, so A / (1 + A)."""
return open_loop_gain / (1 + open_loop_gain)
vs, rs, rl = 1.0, 100e3, 1e3
rin_buffer = 1e9
direct = divider(vs, rs, rl)
buffered = divider(vs, rs, rin_buffer) * follower_gain(1e5)
print(f"direct: {direct:.5f} V")
print(f"buffered: {buffered:.5f} V")The output is:
direct: 0.00990 V
buffered: 0.99989 VWithout the buffer, the load receives about 1% of the source voltage. With the buffer, the load receives 99.989%. The buffered value includes two small losses: the divider formed by Rs and the buffer's input resistance, and the finite open-loop gain. The buffer's own output impedance is a few milliohms, which is negligible against a 1 kΩ load, so the code leaves it out.
The loading error is mostly decided by one ratio: the source resistance divided by the input resistance of whatever follows it.
| Connection | Resistance seen by source | Fraction of Vs reaching the load |
|---|---|---|
| Direct to 1 kΩ load | 1 kΩ | 0.99% |
| Direct to 100 kΩ load | 100 kΩ | 50% |
| Through a 1 GΩ-input buffer | 1 GΩ | 99.99% before gain error |
Input and output impedance of the follower
The earlier chapters on impedance showed that feedback changes the impedance an amplifier presents. The follower is the extreme case, because the feedback fraction β is 1, the largest value it can take.
- Input impedance. Series-mixing feedback multiplies the op amp's own input impedance by roughly (1 + Aβ). With β = 1 and A = 100,000, the multiplier is about 100,000. The result is usually limited by the common-mode input resistance and the input capacitance of the part, not by the feedback loop. Typical figures run from tens of megohms for bipolar inputs to teraohms for JFET and CMOS inputs.
- Output impedance. Voltage sampling divides the open-loop output resistance Ro by (1 + Aβ). With Ro = 75 Ω and A = 100,000, the closed-loop output resistance at DC is about 0.75 mΩ.
Both figures hold at DC and low frequency. As frequency rises, A falls, and the input and output impedances worsen in step with it. The output impedance of a follower becomes inductive in its datasheet plots for this reason.
Where a buffer earns its place
- High-impedance sensors. A pH electrode can have a source resistance of hundreds of megohms. A piezoelectric element or a photodiode behaves similarly. Any ordinary load would divide the signal away, so a CMOS or JFET follower sits right at the sensor.
- Driving an ADC input. Many ADCs draw brief current spikes when they sample. A buffer with low output impedance supplies those spikes, and its output recovers quickly.
- Isolating stages. In active filters and multi-stage circuits, the buffer stops one stage's load from changing another stage's behavior.
- Reference voltages. A resistor divider makes a convenient reference but a poor supply for a load. A buffer lets the divider set the voltage while the op amp supplies the current.
- Driving cables and heavy loads. A buffer with enough output current handles a low-impedance load that would pull down a weak source.
Practical limits of the follower
The follower is the simplest op amp circuit, but it has more limits than its schematic suggests.
Unity-gain stability
The follower has the highest feedback fraction possible, β = 1. The loop gain therefore stays high out to the frequency where A itself falls to 1, which leaves the least phase margin. An op amp must be unity-gain stable to work as a follower. Some fast or decompensated parts are not. Their datasheets give a minimum stable gain, often 5 or 10, and these parts can oscillate as followers.
Capacitive loads
A capacitive load, such as a long cable, adds a pole with the op amp's output resistance. That pole removes phase margin, and the follower may ring or oscillate. A common fix is a small resistor, often 10 Ω to 100 Ω, in series with the output, placed outside the feedback connection or sometimes inside it with a compensation capacitor. Check the datasheet for the recommended method.
Common-mode input range
Both inputs of a follower swing with the signal, so the common-mode voltage equals Vin. Many op amps fail to behave correctly when their inputs come within 1 V to 2 V of a rail. If the signal must reach a rail, choose a part with rail-to-rail inputs. Some of these parts have an input stage that changes at a crossover point, which can add small distortion.
Bandwidth, slew rate, and output current
Because β = 1, the closed-loop bandwidth of a follower equals the gain-bandwidth product of the op amp. A part with a 1 MHz GBW gives a follower with a −3 dB point near 1 MHz. A large, fast signal is also limited by slew rate. The output current limit caps how hard the follower can drive the load, and the output voltage still cannot pass the supply rails.
Bias current
The bias current flows through the source resistance and creates an offset voltage. A bipolar-input part with 100 nA bias current and a 100 kΩ source gives 100 nA × 100 kΩ = 10 mV of error. A CMOS-input part with 1 pA bias current gives 100 nV with the same source. High source resistance and low bias current usually go together in the choice of part.
Checking the follower in SPICE
The netlist below models the op amp as a voltage-controlled voltage source with gain 1e5. Its output is wired back to its inverting control node, which makes the follower. The operating point should show an output of about 0.99999 V for a 1 V input, matching A / (1 + A).
* Voltage follower, ideal gain +1
Vin in 0 DC 1
E1 out 0 in out 1e5
Rload out 0 1k
.op
.endThe controlled source E1 forces V(out) = 1e5 · (V(in) − V(out)). Solving gives V(out) = 1e5 / (1 + 1e5) · V(in). Because this model has zero output resistance, the 1 kΩ load does not change the answer. A real op amp with a finite Ro would differ only by a few microvolts at DC.
Summary of the design decisions
- Use a follower when the source resistance is comparable to, or larger than, the load resistance.
- Choose a part that is unity-gain stable.
- Choose the input type by source resistance: CMOS or JFET for very high source resistance, and bipolar when low noise and low voltage offset matter more.
- Check the common-mode range against the largest and smallest input voltages.
- Check output current, capacitive load, and slew rate against the load.
Exercise
A sensor behaves as a 2 V source with 50 kΩ series resistance. It must drive a 500 Ω load. (a) What voltage does the load receive when connected directly, and what is the loss in dB relative to the source? (b) A follower with 1 GΩ input resistance and negligible output resistance is inserted. What voltage does the load receive, ignoring gain error?
Show answer
(a) VL = 2 V × 500 / (50,000 + 500) = 2 × 0.009901 = 0.0198 V, about 19.8 mV. The loss is 20 log10(0.009901) = −40.1 dB. (b) The input divider is 1 GΩ / (1 GΩ + 50 kΩ) = 0.99995, so the follower output is 2 V × 0.99995 = 1.9999 V, and the load receives that voltage because the output resistance is negligible. The buffer recovers almost the entire 2 V.
Exercise
A follower uses an op amp with 50 pA bias current and is driven from a 1 MΩ source. What input offset error does the bias current cause? What would the error be with a 50 nA bipolar-input part?
Show answer
The error is Ibias × Rsource. For 50 pA this is 50e-12 × 1e6 = 50 µV. For 50 nA it is 50e-9 × 1e6 = 50 mV, a thousand times larger, which is why high-resistance sources need low-bias-current inputs.