Sub topic 13
Output limits and saturation
The ideal op amp can put out any voltage the circuit asks for. A real op amp cannot. Its output stays inside a range set by its supply rails, and every equation in this tutorial (summing, difference, integrator) is valid only while the output is inside that range. This chapter covers where the limits are, what happens to the virtual short when the output hits them, and why the integrator is the circuit most likely to run into them. It assumes you have the ideal model, negative feedback, and the virtual short from the earlier chapters.
Where the limits come from
The output stage is built from transistors that need some voltage across them to conduct. The output therefore cannot reach the supply rails. The usable range is smaller than the supply, and it shrinks as the load draws more current.
| Op amp type | Typical output swing on ±15 V supplies | Notes |
|---|---|---|
| Classic bipolar (such as 741) | about ±13 V | Loses 1.5 to 2 V on each side |
| General-purpose JFET input | about ±13.5 V | Similar to the above |
| Rail-to-rail output | within tens of millivolts of each rail | Lightly loaded only |
These figures are typical. Read the "output voltage swing" line in the datasheet, and note the load resistance it was measured with.
In this chapter, Vsat means the largest output magnitude the op amp can actually deliver. The examples use ±12 V supplies and Vsat = 10.5 V.
Two other limits matter:
- Output current limit. Most op amps limit output current to roughly 10 to 40 mA. A low-resistance load plus the feedback network can hit this limit before the voltage limit, and then the output clips at a lower voltage than the datasheet swing suggests.
- Single supply. With one supply and ground as the negative rail, the output cannot go below roughly 0 V (a little above it for non-rail-to-rail parts). An inverting amplifier with a ground-referenced input then cannot produce a positive-input response at all unless you bias the circuit above ground.
What saturation does to the virtual short
The virtual short depends on negative feedback having enough output range to pull the inverting input to the voltage of the non-inverting input. When the output is pinned at a rail, feedback no longer has any authority. The op amp is then a comparator that is stuck, and the two inputs are no longer equal.
You can still analyze the circuit. Replace the op amp with a fixed voltage source Vout = ±Vsat, then solve the resistor network for the inverting node.
Take a summing amplifier with Rf = R1 = R2 = 10 kΩ, V1 = 6 V and V2 = 7 V. The ideal output is −(6 + 7) = −13 V, which is beyond the −10.5 V limit. With the output fixed at −10.5 V, the inverting node sits at:
V⁻ = (6/10k + 7/10k + (−10.5)/10k) / (3/10k) = 2.5/3 ≈ 0.83 V
The non-inverting input is at 0 V, so the differential input is about −0.83 V. A negative differential input drives the output toward the negative rail, which is where it already is. That consistency confirms the saturated state is a stable solution.
def clipped_summer(vs, rs, rf, vsat):
"""Inverting summer with output clipped to +/- vsat.
Returns (ideal output, actual output, inverting-node voltage).
The inverting-node voltage is 0 when the virtual short holds
and moves away from 0 when the output saturates.
"""
ideal = -rf * sum(v / r for v, r in zip(vs, rs))
vout = max(-vsat, min(vsat, ideal))
g_total = sum(1 / r for r in rs) + 1 / rf
vminus = (sum(v / r for v, r in zip(vs, rs)) + vout / rf) / g_total
return ideal, vout, vminus
for vs in ([1.0, 2.0], [6.0, 7.0]):
ideal, vout, vminus = clipped_summer(vs, [10e3, 10e3], 10e3, 10.5)
print(f"inputs {vs}: ideal {ideal:.2f} V, actual {vout:.2f} V, V- = {vminus:.3f} V")The first case prints an inverting-node voltage of 0.000 V (virtual ground). The second prints about 0.833 V, so the virtual short has failed. A quick way to detect saturation on a bench or in a simulation is to measure the voltage between the two inputs. If it is more than a few millivolts, the output is clipped or the op amp is otherwise out of its linear range.
Designing to stay inside the limits
For a linear stage, the largest expected output magnitude must be below Vsat with some margin. Each circuit has a simple worst-case check:
- Inverting amplifier:
|Vout| = (Rf/R1) · |Vin|, so the gain times the largest input must stay belowVsat. - Summing amplifier:
|Vout| = Rf · Σ(|Vi| / Ri)in the worst case, where all inputs push the same way. Adding inputs adds output swing. A mixer that works with two inputs may clip when a third is connected. - Difference amplifier: the output limit applies to the difference times the gain. Also check the input common-mode range. The non-inverting input of the op amp, which sits at a divided-down version of V2, must stay inside the datasheet's input common-mode range even when the output looks fine.
Rearranged, the summing amplifier rule gives a design limit on the feedback resistor: Rf ≤ Vsat / Σ(Vi,max / Ri). Leave 10 to 20 percent margin for supply tolerance, load effects, and resistor tolerance.
Why the integrator saturates so easily
The inverting amplifier, summer, and difference amplifier all have a finite gain at DC, so a small DC input gives a small DC output. The ideal integrator has capacitor feedback and therefore no DC feedback path. Its output is Vout = −(1/RC) ∫Vin dt + Vout(0), which grows without bound for any input with a nonzero average.
For a constant input, the time to reach the limit is:
t_sat = Vsat · R · C / |Vin|
With R = 10 kΩ, C = 100 nF (RC = 1 ms) and a 1 V input, the output ramps at −1000 V/s and hits −10.5 V after 10.5 ms. After that the output sits at −10.5 V and stays there as long as the input holds.
The clipped output no longer follows the integral, so any measurement or downstream circuit that assumed it did will see wrong values.
Tiny DC errors count too
A zero-volt input does not guarantee a flat output. Any small DC voltage at the input behaves as a constant input to the integrator. Two real sources are the input offset voltage Vos and the input bias current Ib.
- An offset of
Vosappears across R and drives a currentVos/Rinto the capacitor, so the output drifts atVos/(RC). - A bias current
Ibthat flows through the capacitor changes the output atIb/C.
def time_to_saturation(vin, r, c, vsat):
"""Seconds for an ideal integrator to ramp from 0 V to vsat with constant vin."""
return vsat * r * c / abs(vin)
r, c, vsat = 10e3, 100e-9, 10.5
t = time_to_saturation(1.0, r, c, vsat)
print(f"1 V input: {t * 1e3:.2f} ms") # 10.50 ms
t = time_to_saturation(2e-3, r, c, vsat)
print(f"2 mV offset: {t:.2f} s") # 5.25 sA 2 mV offset is a typical figure for a general-purpose op amp. The result is that the integrator reaches a rail in about five seconds with nothing connected to its input. Using a 1 µF capacitor lengthens this only because the drift rate Vos/(RC) falls. Drift at the source never goes away.
Square waves and initial conditions
A zero-average square wave is the friendly case. With ±1 V amplitude at 1 kHz, each half-period lasts 0.5 ms, so the output changes by (1/RC) · 1 V · 0.5 ms = 0.5 V in each half. The result is a triangle wave with 0.5 V peak-to-peak, well inside the limits.
The same stage saturates if the square wave has a DC offset. A +0.1 V offset on the input adds a drift of −100 V/s, and the triangle wave slides to the rail within about 100 ms. The output waveform then looks clipped on one side only.
Initial conditions matter as well. Vout(0) is whatever the capacitor holds at the moment you start. If the capacitor is not discharged first, for example by a reset switch across it, the integration starts from an unknown level and may saturate much sooner than t_sat suggests.
Recovery from saturation
An integrator comes out of saturation more quickly than you might expect. While the output is clamped, the capacitor cannot keep charging indefinitely. Its voltage is V⁻ − Vout, and Vout is fixed, so the capacitor charges only as far as V⁻ rises toward the input voltage. This stores roughly the input voltage's worth of extra charge, not an unbounded amount. When the input reverses, the output leaves the rail after a delay on the order of RC. The op amp's own overload recovery time, listed in some datasheets, adds to this.
The standard fix for slow drift is to add a resistor in parallel with the integrating capacitor. That gives a finite DC gain of −Rf/R, so offsets are amplified by a bounded factor and the output settles instead of ramping. The next chapter covers how to choose that resistor.
Exercise
A summing amplifier has R1 = R2 = 10 kΩ and Rf = 47 kΩ, with ±12 V supplies and Vsat = 10.5 V. The inputs are +2 V and +3 V. What is the ideal output, what does the circuit actually output, and what is the largest Rf that keeps the output linear at 10 V magnitude?
Show answer
Ideal output = −47k × (2/10k + 3/10k) = −47k × 0.5 mA = −23.5 V. The op amp clips, so the actual output is about −10.5 V. For a 10 V limit, Rf ≤ 10 V / 0.5 mA = 20 kΩ, which gives −10 V.
Exercise
An ideal inverting integrator uses R = 100 kΩ and C = 1 µF, with Vout(0) = 0. A constant +0.5 V is applied and Vsat = 10.5 V. What is the output slope, and how long until it saturates? Which rail does it reach?
Show answer
RC = 0.1 s, so the slope is −0.5 V / 0.1 s = −5 V/s. Time to saturation = 10.5 V / 5 V/s = 2.1 s. The output reaches the negative rail, −10.5 V, because the integrator inverts.