Sub topic 3
Open-Loop Gain and Output Saturation
This chapter assumes you can apply Ohm's law and KCL, write node-voltage equations for resistor circuits, and recognize a dependent source. You should also know the terminal names of an op amp: the non-inverting input (+), the inverting input (−), the output, and the two supply pins.
The op amp as a voltage-controlled voltage source
An op amp is a differential amplifier with very high gain. It senses the difference between its two input voltages and produces an output voltage proportional to that difference. The constant of proportionality is the open-loop gain, written A. "Open loop" means no connection runs from the output back to an input. The gain is measured with the output left to respond to the inputs alone.
The linear model is:
Vout = A (V+ − V−)Here V+ and V− are voltages measured relative to a common reference (ground). The quantity V+ − V− is the differential input voltage, often written Vd. In circuit-analysis terms, the op amp's output is a voltage-controlled voltage source (VCVS) with gain A, controlled by Vd.
Typical general-purpose op amps have a DC open-loop gain between about 10^5 and 10^7. The ideal model takes the limit A → ∞. This chapter explains what that limit means, and why it cannot hold for any real output voltage.
Why a huge gain implies a tiny input difference
Rearrange the linear model to solve for the input difference:
Vd = Vout / ASuppose the output is 5 V and A = 10^5. Then Vd = 5 V / 10^5 = 50 µV. If A grows without bound while Vout stays finite, Vd approaches zero. This is the seed of the virtual short, which a later chapter develops fully. For now, note the direction of the argument: a finite output with a very large gain requires a very small input difference.
The table shows how Vd shrinks as A grows, for a fixed 5 V output.
| Open-loop gain A | Vd needed for Vout = 5 V |
|---|---|
| 10^3 | 5 mV |
| 10^5 | 50 µV |
| 10^6 | 5 µV |
| 10^7 | 0.5 µV |
Output saturation
The linear equation Vout = A·Vd cannot hold for every input. An op amp is powered from supply rails, and its output cannot exceed them. With a dual supply of ±15 V, the output cannot go above roughly +15 V or below roughly −15 V. Real output stages stop a little short of each rail, typically by 1 to 2 V for a general-purpose bipolar device. Rail-to-rail devices come within millivolts.
When the linear equation asks for more than the supply can deliver, the output clamps at a limit. This is saturation. Writing the positive and negative limits as Vsat+ and Vsat−, the full transfer characteristic is:
Vout = Vsat+ if A·Vd > Vsat+
Vout = A·Vd if Vsat− ≤ A·Vd ≤ Vsat+
Vout = Vsat− if A·Vd < Vsat−The linear region is very narrow. With A = 10^5 and rails of ±15 V, the output stays linear only when |Vd| is below 15 V / 10^5 = 150 µV. Any larger difference drives the output to a rail.
Simulating the transfer characteristic
The following Python function implements the clamped model. Run it to see the narrow linear region and the two clamped regions.
def opamp_output(v_plus, v_minus, gain=1e5, v_neg=-15.0, v_pos=15.0):
"""Open-loop output of an op amp, limited to the supply rails."""
v = gain * (v_plus - v_minus)
return max(v_neg, min(v_pos, v))
# A 1 mV difference would ask for 100 V, so the output clamps at a rail.
print(opamp_output(0.001, 0.0)) # 15.0
print(opamp_output(-0.001, 0.0)) # -15.0
# A 50 microvolt difference stays inside the linear region.
print(opamp_output(50e-6, 0.0)) # about 5.0 (floating point may show 5.000000000000001 or similar)
# Sweep the input difference to see where the output leaves the linear range.
for vd_uv in (-200, -150, -100, 0, 100, 150, 200):
vd = vd_uv * 1e-6
print(f"Vd = {vd_uv:5d} uV -> Vout = {opamp_output(vd, 0.0):7.3f} V")The sweep prints −15, −15, −10, 0, 10, 15, 15 volts (the ±150 µV points land exactly on the boundary values of ±15 V). Only the middle values are on the sloped part of the characteristic.
Open-loop behavior: the comparator
With no feedback, the op amp is only useful as a comparator. Any V+ above V− by more than a few tens of microvolts gives a high output. Any V+ below V− gives a low output. The output reports which input is larger, and the exact size of the difference carries little information.
Three practical points follow.
- Real inputs carry an input offset voltage, typically 0.1 to 5 mV. This offset acts like a small voltage in series with one input. A comparator with both inputs tied together will therefore saturate to one rail or the other, and which rail depends on the sign of the offset.
- Noise of a few microvolts at the inputs is enough to flip a comparator whose inputs are nearly equal. The output chatters between the rails.
- Op amps designed for linear use recover slowly from saturation, because internal transistors are driven out of their normal operating region. Dedicated comparator ICs are built to recover quickly.
What this means for circuit analysis
The open-loop op amp is too sensitive to use as an amplifier. Gain A varies from device to device by factors of two or more and drifts with temperature. A circuit whose gain equals A would be unpredictable. The input range that keeps it linear is microvolts wide, so ordinary signals saturate it.
Two facts carry forward to the next chapters.
- For the output to sit in its linear range, the input difference must be tiny: |Vd| ≤ Vsat/A.
- Nothing in the op amp itself forces Vd to be small. An external connection must do that.
That connection is negative feedback, covered in the next chapter. Once feedback holds Vd near zero, the circuit's gain depends on the external resistors and not on A.
Checking a circuit in SPICE
SPICE can model the op amp as a VCVS with large gain. The ideal VCVS has no saturation, so a simulation using it will happily report outputs beyond the supply. Check results against the rails yourself.
Open-loop op amp modeled as a VCVS, no feedback
Vp inp 0 DC 100u
Vm inn 0 DC 0
E1 out 0 inp inn 1e5
Rload out 0 10k
.op
.endThe simulator reports V(out) = 10 V, since 1e5 × 100 µV = 10 V. This lies within a ±15 V supply, so a real device would reproduce it. Change the input to 1 mV and the simulator reports 100 V, which no ±15 V op amp could produce. To model saturation you would add a limiting element, such as a behavioral source with a clamp function, or use the manufacturer's macromodel.
Common errors
- Treating A as infinite and then trying to compute Vout from A·Vd. Infinity times zero is undefined. The ideal model fixes Vd by the circuit constraint and finds Vout from the other equations.
- Forgetting that the rails limit the output. A gain calculation that predicts 20 V from a ±15 V supply is wrong, and the real output will be clipped near 13 to 14 V for a typical device.
- Assuming the output can reach the supply voltage. Check the datasheet's output swing specification.
- Confusing the supply rails with the signal ground. The rails are separate pins. The ± symbols on the op amp triangle are often omitted from schematics, but the supply limits still apply.
Exercise
An op amp has open-loop gain A = 2 × 10^5 and is powered from ±12 V supplies. Its output saturates at ±10.5 V. (a) What is the largest |Vd| for which the output is still linear? (b) What does the output equal if V+ = 2.000 mV and V− = 1.900 mV? (c) What does it equal if V+ = 2.000 mV and V− = 1.980 mV?
Show answer
(a) The linear limit is |Vd| = 10.5 V / (2 × 10^5) = 52.5 µV. (b) Vd = 2.000 mV − 1.900 mV = 100 µV. The linear model asks for 2 × 10^5 × 100 µV = 20 V, which exceeds 10.5 V, so the output saturates at +10.5 V. (c) Vd = 20 µV, which is below 52.5 µV. The output is linear: Vout = 2 × 10^5 × 20 µV = 4.0 V.
Exercise
A student builds a circuit with no connection between the output and either input. The inputs are both tied to ground. The output reads +13.8 V on a ±15 V supply. Does this mean the op amp is faulty? Explain.
Show answer
Not necessarily. With A near 10^5, any input offset voltage of even 0.14 mV is enough to drive the output to a rail, because 10^5 × 0.14 mV = 14 V. Real op amps have offsets of this size or larger, so an open-loop op amp with grounded inputs saturates toward one rail. The reading of +13.8 V is consistent with a small positive offset and an output that stops about 1.2 V below the supply. The circuit has no feedback to hold Vd near zero.