Sub topic 6
The voltage follower as a buffer
This chapter assumes you know Ohm's law, the voltage divider, and the virtual short from the previous chapters. It covers the simplest op amp circuit and the main reason to use it.
What the circuit is
A voltage follower is a non-inverting amplifier with Rf = 0 and Rg removed (infinite). The output connects directly to the inverting input, and the source drives the non-inverting input.
Put those values into the non-inverting gain formula:
Vout = (1 + Rf/Rg) Vin = (1 + 0) Vin = Vin
You can also get this from the virtual short. Feedback forces the inverting input to equal the non-inverting input. The inverting input is tied to the output, so Vout = Vin. The gain is exactly +1, which is why the circuit is also called a unity-gain buffer.
Why a gain of 1 is useful
A gain of 1 sounds pointless, since the voltage does not change. The value lies in what happens to current and impedance.
- The input draws almost no current. An ideal op amp has infinite input resistance, and a real one is typically megohms or more.
- The output can supply current. The op amp output drives the load from its own supply, not from the source.
- With feedback, the output resistance is very small, often a fraction of an ohm at low frequency.
The follower therefore copies a voltage from a high-impedance point to a low-impedance point. It isolates the source from the load.
Loading without a buffer
Suppose a sensor has a source resistance Rs = 100 kΩ and open-circuit voltage 2.0 V. It feeds a load RL = 10 kΩ directly. The two resistors form a voltage divider:
V_load = 2.0 × 10 / (100 + 10) ≈ 0.18 V
The load receives under 10% of the sensor voltage. Now insert a follower. The op amp input resistance is far larger than 100 kΩ, so the divider at the input barely attenuates. If the input resistance is 10 MΩ:
V_in = 2.0 × 10,000 / (10,000 + 100) ≈ 1.98 V
The follower then reproduces 1.98 V at its output and holds it, even into 10 kΩ. The load now sees about 99% of the sensor voltage instead of 9%.
You can check this with a short script.
def divider(v, r_top, r_bottom):
return v * r_bottom / (r_top + r_bottom)
vs, rs, rl = 2.0, 100e3, 10e3
r_in_opamp = 10e6
direct = divider(vs, rs, rl)
buffered = divider(vs, rs, r_in_opamp) # follower output equals this voltage
print(f"Direct: {direct:.3f} V") # 0.182 V
print(f"Buffered: {buffered:.3f} V") # 1.980 VCommon uses
- Driving a low-impedance load, such as a cable or an ADC input with a sampling capacitor, from a high-impedance source.
- Isolating stages so that one stage's input does not change the behavior of the previous stage.
- Buffering the midpoint of a resistor divider so it can act as a stable reference voltage under load.
Things to watch
The ideal equations hide a few limits.
- Supply rails. The output cannot exceed the supply range. Input voltages near the rails can also exceed the input common-mode range of some op amps, so check the datasheet.
- Capacitive loads. A follower has the least feedback attenuation of any configuration, so it has the least stability margin. A large capacitor on the output can cause ringing or oscillation. A small series resistor, often 10 to 100 Ω, at the output usually helps.
- Bias current. The input current is small but not zero. Through a large source resistance it creates a small offset voltage. Later chapters cover this.
Exercise
A source with open-circuit voltage 5 V and source resistance 50 kΩ drives a 5 kΩ load directly. Then a voltage follower with 10 MΩ input resistance is placed between them. What voltage does the load see in each case? Give both values to two decimal places.
Show answer
Direct: 5 × 5 / (50 + 5) = 0.45 V. Buffered: the input divider gives 5 × 10,000 / (10,000 + 50) ≈ 4.98 V, and the follower output reproduces this voltage across the 5 kΩ load, so the load sees about 4.98 V.
Exercise
Using the virtual short, explain why the output of a voltage follower equals its input.
Show answer
Negative feedback drives the difference between the two op amp inputs to nearly zero. The inverting input is connected directly to the output, so the output voltage equals the inverting input voltage. That voltage equals the non-inverting input voltage, which is Vin. Therefore Vout = Vin.