Amplifier unity gain is a circuit configuration—typically a voltage follower—where the output voltage exactly matches the input voltage (a gain of 1 or 0 dB), used not to increase signal amplitude but to provide impedance buffering and current drive. When you first encounter a unity-gain buffer on a schematic, it looks like a mistake: the output is tied directly to the inverting input, and the signal goes into the non-inverting input. Why use an expensive, precision operational amplifier just to output the exact same voltage you put in? The answer lies in what the circuit does to the current and the impedance, rather than the voltage.

What Unity Gain Actually Changes in a Circuit

A simple piece of copper wire also has a voltage gain of 1. However, a wire passes the source impedance directly to the load. If your source is weak (high impedance) and your load is heavy (low impedance), a wire will result in severe signal attenuation due to the voltage divider effect.

A unity-gain op-amp buffer changes the impedance profile of the signal path. It presents a massively high input impedance to the source (drawing virtually zero current) and a very low output impedance to the load (capable of sourcing or sinking tens of milliamps). It acts as an impedance transformer. The op-amp's internal high-gain stage and 100% negative feedback loop force the output pin to match the input pin's voltage, using the op-amp's own power supply rails to provide the necessary current to the load.

What it changes: Voltage remains identical (Gain = 1). Current capacity increases dramatically. Source impedance is isolated from load impedance.

The Math: A Worked Numeric Example

To see why this matters on the bench, let's look at a common sensor interfacing problem. Suppose you are reading a high-impedance piezoelectric vibration sensor with an output impedance of 1 MΩ. You want to feed this into a microcontroller's ADC, which has an input sampling impedance of 10 kΩ.

Scenario A: Direct Connection (The Wire)
If you connect the sensor directly to the ADC, you create a voltage divider. The voltage the ADC actually sees is calculated as:

V_adc = V_sensor × (R_adc / (R_sensor + R_adc))
V_adc = V_sensor × (10,000 / (1,000,000 + 10,000))
V_adc = V_sensor × 0.0099

You have just lost 99% of your signal. A 2V peak vibration reads as a pathetic 19.8 mV at the ADC, completely buried in the noise floor.

Scenario B: Unity-Gain Buffer (e.g., TL072 or OPA140)
Insert a JFET-input op-amp like the TL072 between the sensor and the ADC. The TL072 has an input impedance of roughly 10^12 Ω (1 TΩ). The voltage divider between the sensor and the op-amp input is now:

V_in = V_sensor × (1,000,000,000,000 / (1,000,000 + 1,000,000,000,000)) ≈ 1.0

The op-amp reads the full 2V. Because it is in a unity-gain configuration, it drives its output pin to 2V. The output impedance of the TL072 is less than 1 Ω. The new voltage divider between the op-amp output and the ADC is:

V_adc = 2V × (10,000 / (1 + 10,000)) = 1.9998V

Signal integrity is preserved perfectly.

Where You Meet Unity Gain in Practice

You will find unity-gain buffers hiding in plain sight across almost every mixed-signal and audio PCB:

  • DAC Output Stages: Integrated DACs (like the PCM5102A) often have limited drive capability. A unity-gain buffer is used to drive long RCA cables or the low-impedance input of a Class-D amplifier without the DAC's internal resistors causing high-frequency rolloff.
  • pH and Electrochemical Sensors: Glass pH electrodes can have source impedances exceeding 100 MΩ. Specialized electrometer-grade op-amps (like the LMC6062) are wired as unity-gain buffers to step this down to a robust low-impedance signal for data loggers.
  • Active Filter Isolation: In multi-stage active Sallen-Key filters, a unity-gain buffer is often placed between stages to prevent the input impedance of the second filter stage from altering the Q-factor and cutoff frequency of the first stage.

Real-World Scenario: The Capacitive Load Trap

While unity-gain is the most common buffer configuration, it is also the most dangerous for stability. Here is a classic bench failure.

The Setup: You are using an OPA2134 (a legendary precision audio op-amp) in a unity-gain configuration to drive a 10-meter run of coaxial cable connected to an oscilloscope. The cable has a capacitance of roughly 100 pF per meter, presenting a 1 nF (1000 pF) capacitive load to the op-amp output.

The Numbers: The OPA2134 has an open-loop output resistance of about 25 Ω. When this 25 Ω resistance interacts with the 1 nF cable capacitance, it creates a low-pass pole in the feedback loop at roughly 6.3 MHz (f = 1 / (2πRC)). Because the OPA2134 has a gain-bandwidth product (GBW) of 8 MHz, this pole introduces a severe phase shift right at the frequency where the loop gain crosses 0 dB.

The Outcome: You power on the circuit and apply a 1 kHz test tone. Instead of a clean sine wave, your oscilloscope shows a fuzzy, thick band. You zoom in and see a violent 1.5 MHz sinusoidal oscillation superimposed on your audio signal. The op-amp has turned into a radio-frequency oscillator.

What Went Wrong: The capacitive load degraded the circuit's phase margin to below zero degrees. Unity-gain configurations have the lowest inherent phase margin of any op-amp circuit because the feedback factor (β) is 1, meaning the loop gain is equal to the open-loop gain.

The Fix: Never drive heavy capacitive loads directly from a unity-gain buffer without isolation.
  1. Add a small series resistor (typically 10 Ω to 50 Ω) between the op-amp output pin and the capacitive load.
  2. Take the negative feedback trace directly from the op-amp output pin, not from the load side of the resistor. This isolates the capacitor from the feedback loop, restoring phase margin while maintaining DC accuracy.
  3. Alternatively, swap the OPA2134 for a modern op-amp explicitly designed to drive capacitive loads, such as the OPA1678.

Common Confusions and Mistakes

Even experienced hobbyists and junior engineers trip over a few misconceptions regarding unity-gain circuits:

Confusion 1: 'Unity gain means no feedback.'
Reality: A unity-gain buffer actually utilizes 100% negative feedback. The entire output signal is fed back to the inverting input. It is the maximum possible feedback configuration, which is exactly why it yields the lowest distortion and widest bandwidth, but also the lowest phase margin.

Confusion 2: 'Any op-amp is stable at unity gain.'
Reality: Many high-speed, wide-bandwidth op-amps are decompensated. For example, the OPA847 is optimized for high slew rates and requires a minimum closed-loop gain of 12 V/V to remain stable. If you wire an OPA847 as a unity-gain buffer, it will oscillate immediately, regardless of the load. Always check the 'Minimum Stable Gain' column in the datasheet.

Confusion 3: 'I can use an LM358 for high-fidelity audio buffering.'
Reality: While the LM358 is stable at unity gain and costs pennies, its bipolar input stage suffers from severe crossover distortion when the output crosses 0V, as the output transistors hand off current. For audio, always use a rail-to-rail CMOS or JFET input op-amp to avoid this dead-zone distortion.

FAQ: Troubleshooting Unity Gain Buffers

Why is my unity gain buffer outputting a DC offset?

Every real op-amp has an input offset voltage (Vos). In a unity-gain configuration, the noise gain is 1, so the output DC offset will be exactly equal to the Vos specified in the datasheet. If you are using a standard LM741 (Vos ≈ 2 mV), your output will sit 2 mV off ground. If you need microvolt-level precision, select a 'zero-drift' or chopper-stabilized op-amp like the ADA4522, which has a maximum Vos of just 2.5 µV.

Can I use a unity-gain buffer to drive a relay coil?

No. Op-amp output stages are typically limited to 20-40 mA and are highly sensitive to inductive flyback voltage spikes. Driving a relay coil directly will likely destroy the output transistors. Use the unity-gain buffer to drive the base/gate of a discrete BJT or MOSFET, and let the transistor handle the relay coil. Always place a flyback diode across the relay coil.

Does unity gain mean 0 dB?

Yes. The decibel formula for voltage gain is 20 × log10(Vout / Vin). Since Vout = Vin, the ratio is 1. The base-10 logarithm of 1 is 0. Therefore, a unity-gain amplifier has a voltage gain of exactly 0 dB. However, because it provides current amplification, its power gain is greater than 0 dB.

For deeper reading on op-amp stability and buffering, refer to the All About Circuits voltage follower chapter and the Texas Instruments Precision Labs Op-Amp training series for visual demonstrations of phase margin collapse.