Sub topic 2
What 'Ideal' Means: The Assumptions of the Model
This chapter assumes you know Ohm's law, KCL and KVL, node-voltage analysis, and the idea of a dependent source. It covers the assumptions behind the ideal op amp and what each one idealizes. Later chapters use these assumptions to analyze circuits.
The op amp as a dependent source
A real op amp contains dozens of transistors. For circuit analysis you can replace all of them with a simple model. The op amp has a non-inverting input (+), an inverting input (−), and one output. Its output voltage is a multiple of the difference between the inputs:
vout = A · (v+ − v−)
Here A is the open-loop gain. This is a voltage-controlled voltage source. It senses a voltage at the input terminals and produces a voltage at the output terminal. The ideal model is this source with its internal imperfections removed.
The assumptions
Each assumption sets one physical quantity to an extreme value.
| Assumption | Ideal value | Real quantity it idealizes |
|---|---|---|
| Open-loop gain | A is infinite | Typically 10^5 to 10^6 at low frequency |
| Input resistance | Infinite, so input currents are zero | Input bias current, from picoamps (FET inputs) to hundreds of nanoamps (bipolar inputs) |
| Output resistance | Zero | Tens of ohms open loop |
| Bandwidth | Infinite, with no phase shift | Gain falls with frequency |
| Offset | v+ = v− when the output is zero | Input offset voltage of microvolts to millivolts |
| Output swing | Not limited (in the linear analysis) | Limited by the supply rails |
Two of these do most of the work in analysis:
- Infinite input resistance. No current flows into either input terminal, so i+ = i− = 0. You can then write KCL at an input node and ignore the op amp as a path for current.
- Infinite gain. The output is a finite voltage, so v+ − v− = vout / A must go to zero as A grows. Feedback makes this useful, which a later chapter develops.
Zero output resistance means the output acts as an ideal voltage source. The load does not change vout. Infinite bandwidth means the same gain applies at every frequency, so you can treat the model as purely algebraic.
Seeing the effect of A
The size of A decides how close the real circuit comes to the ideal one. The code below applies the open-loop equation with the output limited to the supply rails.
def ideal_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))
# Without feedback, a 1 mV difference drives the output to a rail (comparator behavior).
print(ideal_opamp_output(0.001, 0.0)) # 15.0
print(ideal_opamp_output(-0.001, 0.0)) # -15.0
# With a tiny differential input the output stays in its linear range.
print(ideal_opamp_output(50e-6, 0.0)) # 5.0A difference of 1 mV with A = 10^5 would ask for 100 V, so the output stops at the 15 V rail. Only a difference of about 150 µV or less keeps the output in its linear range. This is why the input difference must be held near zero for the amplifier to work as a linear device.
Where the limits are
The assumptions describe the device, not the whole circuit. The supply rails still limit the output swing, so a result such as vout = −40 V from a ±15 V supply means the output has saturated and the linear analysis no longer applies. The ideal model also says nothing about bandwidth, offset or noise. Those effects come up in the last chapter of this tutorial.
Exercise
An op amp has A = 200,000 and runs from ±12 V supplies. What is the largest magnitude of v+ − v− that keeps the output in its linear range? Which two ideal assumptions let you write KCL at the inverting input using only the external resistors?
Show answer
The output must satisfy |vout| ≤ 12 V, so |v+ − v−| ≤ 12 / 200,000 = 60 µV. KCL at the inverting input can ignore the op amp because of infinite input resistance, which gives i− = 0. Infinite gain is the other assumption, and it is what lets you treat v+ − v− as essentially zero when you write the node voltages.