Sub topic 7
Input and Output Impedance: Loading the Source
This chapter assumes you can apply Ohm's law and the voltage divider, and that you already know the ideal gain formulas for both amplifier configurations. Here we look at what the amplifier does to the circuit that drives it, and what the load does to the amplifier.
Why impedance matters
An amplifier is never connected to an ideal source or an ideal load. A sensor, a filter, or a previous amplifier stage drives the input. A cable, an ADC, or a speaker loads the output. Each of these has its own resistance, so the gain you design on paper is not always the gain you get.
Two quantities describe the interaction:
- Input resistance (Rin,amp) is the resistance the source sees looking into the amplifier. A source with output resistance Rs and an amplifier with input resistance Rin,amp form a voltage divider. The amplifier input only receives Vs · Rin,amp / (Rs + Rin,amp).
- Output resistance (Rout,amp) is the resistance the load sees looking back into the amplifier. It forms a divider with the load resistance RL. The load receives Vout,open · RL / (Rout,amp + RL).
An ideal voltage amplifier has infinite input resistance and zero output resistance, so neither divider loses any signal. Real circuits come close in some configurations and not in others.
Input resistance of the inverting amplifier
In the inverting amplifier, the input resistor Rin connects the source to the summing node. The summing node is held at 0 V by the virtual short (the feedback forces the inverting input to match the grounded non-inverting input).
The current drawn from the source is therefore:
Iin = (Vin - 0) / Rin = Vin / RinThe source sees a voltage Vin across a current Vin/Rin, so:
Rin,amp = Vin / Iin = RinThe input resistance equals the resistor Rin. It is finite and it is set by your gain choice, because the gain is -Rf/Rin. The summing node acts as a virtual ground, so the amplifier's own input terminals add nothing to the load on the source.
If the source has output resistance Rs, that resistance is in series with Rin. The effective input resistor is Rs + Rin, and the gain becomes:
Vout / Vs = -Rf / (Rs + Rin)A source resistance of 1 kΩ with Rin = 1 kΩ and Rf = 10 kΩ gives a gain of -5, not -10. The error is 50%, which is far larger than any op amp imperfection.
Input resistance of the non-inverting amplifier
In the non-inverting amplifier, the source connects directly to the op amp's non-inverting input pin. An ideal op amp draws no current into that pin, so the source sees an infinite resistance.
A real op amp has a finite differential input resistance and a common-mode input resistance. The size depends on the input stage technology:
| Input stage | Typical input resistance | Typical input bias current |
|---|---|---|
| Bipolar (BJT) | 100 kΩ to a few MΩ | 10 nA to 1 µA |
| JFET | 10^12 Ω | 1 pA to 100 pA |
| CMOS | 10^12 Ω or more | 0.1 pA to 10 pA |
Negative feedback increases the effective input resistance seen at the non-inverting input by a factor related to the loop gain. For a bipolar op amp, that often pushes the value into the hundreds of megaohms or higher. For most signal sources, the non-inverting input resistance is effectively infinite compared with Rs, so the source is not loaded and no divider error appears.
The following code compares the two configurations for a source with output resistance Rs. It assumes an ideal op amp for the non-inverting case and ignores bias current.
def inverting_with_source(rs, rin, rf):
# Source resistance adds in series with Rin.
return -rf / (rs + rin)
def noninverting_with_source(rs, rf, rg, r_input=float('inf')):
# The source drives the + pin through a divider with the amplifier's
# input resistance. With r_input = infinity there is no loss.
divider = r_input / (rs + r_input)
return divider * (1 + rf / rg)
print(inverting_with_source(0, 1e3, 10e3)) # -10.0
print(inverting_with_source(1e3, 1e3, 10e3)) # -5.0
print(noninverting_with_source(1e3, 9e3, 1e3)) # 10.0
print(noninverting_with_source(1e3, 9e3, 1e3, 1e6)) # about 9.99Comparing the two configurations
The two configurations load the source in different ways, and this often decides which one to use.
| Property | Inverting | Non-inverting |
|---|---|---|
| Input resistance | Rin (set by the gain resistors) | Very high (op amp input) |
| Effect of source resistance | Changes the gain | Almost none |
| Gain sign | Negative | Positive |
| Minimum gain magnitude | Can be below 1 | Not below 1 |
The inverting amplifier needs a source with low output resistance, or a source resistance you account for in the design. The non-inverting amplifier tolerates sources with high output resistance, such as piezoelectric sensors, pH electrodes, or a voltage divider built from large resistors.
Output resistance
An ideal op amp has zero output resistance. The output is a perfect voltage source of value A(V+ − V−), and feedback keeps the output at the voltage the feedback network requires, no matter how much current the load draws.
Real op amps have an open-loop output resistance Ro, usually between 10 Ω and 200 Ω for a general-purpose part. Feedback reduces this by the loop gain. The closed-loop output resistance is approximately:
Rout,closed = Ro / (1 + A·β)Here A is the open-loop gain and β is the feedback fraction, the part of the output that returns to the inverting input. For the non-inverting amplifier, β = Rg / (Rf + Rg). For the inverting amplifier, β is Rin / (Rin + Rf) if the source is ideal.
Take Ro = 100 Ω, A = 100,000 at low frequency, and a gain of 10, so β ≈ 0.1. Then:
Rout,closed = 100 / (1 + 100000 × 0.1) ≈ 0.01 ΩAt DC and low frequencies, a closed-loop op amp is a near-ideal voltage source. This result applies to both configurations, because it depends on the feedback, not on where the input signal enters.
Output resistance rises with frequency
Open-loop gain A falls as frequency rises (the next chapters on gain-bandwidth cover this). When A·β falls, the closed-loop output resistance rises. At frequencies near the closed-loop bandwidth, A·β approaches 1 and Rout,closed approaches Ro. For this reason, an op amp that drives a load well at 100 Hz can struggle at 1 MHz.
Current limits matter more than resistance
Even with a very low output resistance, an op amp can only deliver a limited current, often 10 mA to 40 mA for a general-purpose part. A load of 100 Ω at 5 V needs 50 mA, so the output will clip or enter current limit before the divider math matters. Check the maximum output current in the datasheet, and also the feedback network itself, which is part of the load. The total load on the output is RL in parallel with Rf + Rin (or Rf + Rg).
The voltage follower as an impedance converter
The voltage follower (a non-inverting amplifier with Rf = 0 and Rg removed, so β = 1) has a gain of 1. Its value is entirely in its impedances: very high input resistance and very low output resistance. It moves a signal from a high-impedance source to a low-impedance load without changing the voltage.
Consider a 100 kΩ source driving a 10 kΩ load directly. The divider delivers only 10/110, or 9.1%, of the source voltage. Insert a follower and the load receives nearly the full voltage, because the source sees a megaohm-scale or higher input and the load sees a milliohm-scale output.
Worked example: matching a configuration to a source
A sensor produces 50 mV and has an output resistance of 20 kΩ. You need a gain of 20 and the load is 10 kΩ.
Option A: inverting. To get a gain of -20 with an effective input resistor that includes the 20 kΩ source, the total input resistance must be Rin + Rs. If you choose Rin = 1 kΩ, the source resistance dominates and the gain is -Rf/(21 kΩ). Hitting -20 needs Rf = 420 kΩ. That works only if the sensor's output resistance is stable. If it drifts by 10%, the gain drifts by nearly 10%. Using a larger Rin makes the gain less sensitive to Rs, but raises noise and bias-current error.
Option B: non-inverting. Choose Rf = 19 kΩ and Rg = 1 kΩ for a gain of 20. The sensor drives the non-inverting input directly. With a JFET or CMOS op amp, input resistance is above 10^12 Ω, so the 20 kΩ source resistance causes a divider loss of well under 0.001%. The gain is set by Rf and Rg alone.
Option B is the better design here. The gain does not depend on the sensor's resistance, and the 10 kΩ load is driven from the low-resistance output.
* Non-inverting amplifier with 20k source resistance and 10k load
Vs sig 0 DC 0.05
Rs sig in 20k
Rf out inv 19k
Rg inv 0 1k
E1 out 0 in inv 1e5
Rload out 0 10k
.op
.endThe operating point gives an output voltage near 1.0 V, as designed, regardless of the 20 kΩ source resistance. Change Rs to 200 kΩ and the result stays at 1.0 V, because the ideal controlled source draws no input current. A real part with finite input resistance would show a small drop.
Common errors
- Forgetting source resistance in the inverting amplifier. Add Rs to Rin when computing gain, or drive the amplifier from a buffer.
- Assuming the non-inverting input has infinite resistance for any op amp. Bipolar parts draw nanoamps of bias current, which creates a voltage drop across a large Rs. That is a DC error, covered in a later chapter.
- Treating output resistance as constant. It rises with frequency.
- Ignoring the feedback network as a load. With Rf + Rg at 1 kΩ total, a 10 V output draws 10 mA before the real load is connected.
- Using the inverting amplifier with a high-impedance sensor. The gain would depend on a poorly controlled resistance.
Summary table
| Quantity | Inverting | Non-inverting | Follower |
|---|---|---|---|
| Rin,amp | Rin | Very high | Very high |
| Rout,closed (low frequency) | Ro/(1 + Aβ), very small | Ro/(1 + Aβ), very small | Ro/(1 + A), smallest |
| Source resistance affects gain | Yes | Only through bias current | Only through bias current |
| Typical use | Low-impedance sources, summing | Sensors, buffering | Isolating source from load |
Exercise
A source has an output resistance of 2 kΩ and an open-circuit voltage of 0.5 V. It drives an inverting amplifier with Rin = 8 kΩ and Rf = 40 kΩ. (a) What is the amplifier's input resistance? (b) What is the actual gain from source open-circuit voltage to output? (c) What would the output be with an ideal source of zero resistance?
Show answer
(a) The input resistance is Rin = 8 kΩ, because the summing node is a virtual ground. (b) The source resistance adds in series with Rin, giving 10 kΩ. The gain is -40k/10k = -4, so the output is -4 × 0.5 V = -2 V. (c) With zero source resistance the gain is -40k/8k = -5, so the output is -2.5 V. The source resistance causes a 20% reduction in output magnitude.
Exercise
A non-inverting amplifier uses a JFET-input op amp with 10^12 Ω input resistance and Ro = 75 Ω. The gain is 11 and the open-loop gain is 200,000. (a) Estimate the closed-loop output resistance at low frequency. (b) Why does the output resistance matter less here than the 50 mA current limit when driving a 100 Ω load at 3 V?
Show answer
(a) β = 1/11 ≈ 0.0909, so Aβ ≈ 200000 × 0.0909 ≈ 18,180. Rout,closed ≈ 75 / 18,181 ≈ 0.004 Ω. (b) A 3 V output across 100 Ω needs 30 mA, and the feedback network adds more. Whether that fits within the current limit decides if the output clips. The 0.004 Ω output resistance would cause a voltage drop of only about 0.12 mV at 30 mA, which is negligible next to a possible current-limit failure.