Sub topic 13
Output limits and saturation
This chapter assumes you know the ideal op amp model, the virtual short under negative feedback, and the inverting summer, difference amplifier, and integrator equations from earlier chapters.
Why the ideal equations stop
The ideal model lets the output reach any voltage needed to hold the two inputs equal. A real op amp cannot do that. Its output cannot go beyond the supply voltages. Many parts also stop 1 to 2 V short of each rail, and rail-to-rail parts get within millivolts. This chapter uses a ±13 V swing from ±15 V supplies.
When the equation asks for more than the swing allows, the output clamps near the rail. This is called saturation. The virtual short fails at that point, because the feedback loop can no longer force the inverting input to match the non-inverting input.
What saturation looks like
Inside the limits, the input difference is nearly zero and the closed-loop equation holds. Once the output sits at a rail, the input difference becomes nonzero and the output no longer follows the equation.
Checking each circuit
Always compute the ideal output first, then compare it to the swing.
- Summing amplifier: The output is -Rf × ΣVi/Ri. Adding inputs or raising Rf increases the magnitude. With ±13 V limits, four 4 V inputs into equal resistors would ask for -16 V, so the output clamps at -13 V.
- Difference amplifier: The output is the gain times the difference. A large common-mode voltage can also push the op amp's input pins outside their allowed range. Check both the output swing and the input range.
- Integrator: The output ramps at -Vin/RC for a constant input. It never stops ramping on its own, so it always saturates eventually.
For the integrator, the time to reach the limit is
t_sat = Vsat × RC / Vin
With R = 10 kΩ, C = 100 nF, Vin = 1 V and Vsat = 13 V, RC is 1 ms, so t_sat is 13 ms.
Simulating the clamp
This script adds a clamp to the numeric integrator from the earlier chapter and reports when it saturates.
R = 10e3 # ohms
C = 100e-9 # farads, so RC = 1 ms
vin = 1.0 # constant 1 V input
vsat = 13.0 # output swing limit, +/- volts
dt = 1e-5 # 10 microsecond time step
v = 0.0
t_sat = None
for n in range(1, 2001): # 2000 steps = 20 ms
v = max(-vsat, v - vin / (R * C) * dt) # ramp down, clamp at -vsat
if t_sat is None and v <= -vsat:
t_sat = n * dt
print(round(v, 3)) # -13.0, stuck at the rail
print(round(t_sat * 1e3, 1)) # about 13.0 msThe clamp is a simple model. A real op amp also takes time to leave saturation after the input reverses, which delays the recovery.
Staying linear
- Scale the resistor ratios so the largest expected input stays inside the swing, with some margin.
- For summers, add up the worst-case inputs, not the typical ones.
- For integrators, choose RC so the expected input over the expected time stays under Vsat, and reset the capacitor when needed.
- Add a feedback resistor across the integrator capacitor so a DC offset cannot push it to a rail. The next chapter covers this.
Exercise
An inverting integrator has R = 20 kΩ and C = 50 nF. It runs from ±12 V supplies with an output swing of ±10 V, and Vout(0) = 0. A constant +0.5 V input is applied. How long until the output saturates, and at what voltage?
Show answer
RC = 20 kΩ × 50 nF = 1 ms. The output ramps at -Vin/RC = -0.5 V / 1 ms = -500 V/s. It reaches -10 V after 10 V / 500 V/s = 20 ms. It then stays clamped at about -10 V.