A unity gain opamp, often called a voltage follower or buffer, is an operational amplifier configured with its output tied directly to its inverting input, producing an output voltage exactly equal to its input voltage (gain = 1). While it doesn't multiply your voltage, it fundamentally changes the current delivery capability of your circuit by providing extreme impedance transformation.
The One-Sentence Definition and the 'Why Not Just Use a Wire?' Question
Beginners looking at a unity gain schematic—signal into the non-inverting pin, output shorted to the inverting pin—frequently ask: 'Why not just use a jumper wire?'
People commonly confuse the voltage follower with a simple passive connection, or they mistakenly group it with non-inverting amplifiers that have a gain greater than one. The buffer doesn't amplify the signal's voltage; it amplifies its strength.
Think of it like a massive municipal water tower connected to a tiny, low-flow trickle hose. The trickle hose (your high-impedance source) can't fill a bucket quickly, but it can easily keep the giant water tower (the opamp's high-impedance input) topped off. When you need a massive burst of water (current) to fill a bucket (the low-impedance load), you draw from the tower's wide output pipes, not the trickle hose.
The Math: A Bench-Tested Numeric Example
Let's put real numbers on the bench to see what happens when you ignore impedance. Suppose you have a 5V supply and need a 2.5V reference. You build a voltage divider using two 100kΩ resistors. The Thevenin equivalent of this source is 2.5V with a 50kΩ output impedance. Now, you connect a 1kΩ load (like a small relay coil or a low-impedance LED driver) across the bottom resistor.
5V * (990 / (100,000 + 990)) = 0.049V. Your 2.5V reference has entirely collapsed.
If you insert a unity gain buffer (like a TLV2372) between the divider and the load, the math changes completely. The opamp's input draws roughly 1 pA (picoamp). The voltage divider sees virtually no load and holds exactly 2.5V at the non-inverting pin. The opamp's output effortlessly drives the 1kΩ load, sourcing the required 2.5mA while maintaining a rock-solid 2.5V at the load. You haven't amplified the voltage; you've amplified the available current by a factor of thousands.
Where You Meet the Unity Gain Opamp in Practice
You will rarely see a voltage follower used just for the sake of it. It solves specific impedance-mismatch problems in these common scenarios:
- ADC Driving: Successive Approximation Register (SAR) ADCs, like those inside microcontrollers, use an internal sampling capacitor. When the sample switch closes, it draws a sudden spike of current. If your source impedance is too high, the voltage sags during the sample window, causing non-linear and inaccurate readings. A buffer provides the instantaneous current spike the ADC demands.
- Audio Signal Routing: High-impedance sources like passive electric guitar pickups (often 250kΩ to 500kΩ) lose high-frequency content ('tone suck') when driving long cables or low-impedance pedal inputs. A unity gain buffer at the instrument's output preserves the high-end frequencies.
- Driving Coaxial Cables: Video and RF signals often travel over 50Ω or 75Ω coaxial cables. Driving a 75Ω cable directly from a high-impedance circuit will attenuate the signal massively. A high-speed unity gain buffer (like the THS7314) is used to drive the cable's characteristic impedance directly.
Real-World Scenario: Buffering a High-Impedance Sensor for an ESP32
Here is a scenario straight from the bench that highlights both the necessity of a buffer and a common trap that catches experienced makers.
- The Setup: You are reading a 1MΩ NTC thermistor configured as a voltage divider with another 1MΩ resistor. At 25°C, the divider outputs exactly 1.65V. You wire this directly to GPIO 34 (an ADC pin) on an ESP32-WROOM-32.
- The Numbers: The source impedance of your divider is 500kΩ (1M || 1M). The ESP32's SAR ADC has an input impedance that drops to roughly 10kΩ–50kΩ during the sampling phase due to charge injection.
- The Outcome: The ESP32 reads 0.8V instead of 1.65V. Your firmware calculates the temperature as wildly high, and the readings fluctuate with every Wi-Fi transmission.
- The Fix (and What Went Wrong): You correctly identify the impedance mismatch and add an MCP6001 opamp as a unity gain buffer. However, to filter out Wi-Fi RF noise, you tie a 100nF bypass capacitor directly from the opamp's output pin to ground. Suddenly, the ADC reads pure garbage, and the opamp gets warm.
What went wrong? You destroyed the opamp's phase margin. Driving a purely capacitive load (the 100nF cap) directly from an opamp's output introduces a pole in the feedback loop, causing the MCP6001 to break into high-frequency oscillation (often around 1–3 MHz). The ESP32 ADC aliases this high-frequency noise, resulting in unpredictable readings.
Common Pitfalls: Phase Margin and Decompensated Opamps
Not all opamps are stable at unity gain. When reading datasheets on Texas Instruments' Op-Amp Portfolio or Analog Devices, you must check the 'Unity-Gain Stable' specification.
Some high-speed, precision opamps (like the OPA656 or LT1128) are decompensated. They are internally optimized for gains of +5 or higher to achieve wider bandwidth at those gains. If you wire a decompensated opamp as a voltage follower (gain = 1), it will oscillate violently the moment you power it on. Always verify that the datasheet explicitly states the part is 'unity-gain stable' or shows a phase margin greater than 45° at a gain of 1 in the open-loop gain and phase plot.
Frequently Asked Questions
Can I use a cheap LM358 for a unity gain buffer?
Yes, the LM358 is unity-gain stable and costs pennies. However, it suffers from 'crossover distortion' when the output crosses zero volts, and its output cannot swing all the way to the positive rail (it typically tops out at VCC - 1.5V). For precision DC buffering or single-supply 3.3V systems, spend the extra $0.50 on a rail-to-rail input/output (RRIO) opamp like the MCP6001 or TLV2372.
Does a unity gain buffer consume power if it isn't driving a load?
Yes. Even with no load connected to the output, the internal transistors of the opamp require a quiescent current (Iq) to remain biased and operational. For a low-power part like the LPV521, this is roughly 0.4 µA. For a high-speed audio opamp like the NE5532, it can be 8 mA or more per channel. Always check the Iq spec if your circuit is battery-powered.
How does the Gain-Bandwidth Product (GBW) affect a voltage follower?
In a unity gain configuration, the closed-loop bandwidth is equal to the opamp's GBW. If you are buffering a 100 kHz audio signal and you use an LM358 (GBW ≈ 1 MHz), you only have 10x bandwidth overhead, which can lead to phase shift and slew-rate limiting on fast transients. For high-frequency buffering, select an opamp with a GBW at least 20 to 50 times higher than your maximum signal frequency.
For deeper reading on opamp stability and compensation networks, refer to the classic Texas Instruments Application Note SLOA013B, which remains one of the most comprehensive guides to understanding operational amplifier behavior on the bench.






