Sub topic 1
The ideal op amp: what we assume
Prerequisites
This chapter assumes you can do the following:
- Apply Ohm's law and Kirchhoff's current and voltage laws.
- Combine resistors in series and parallel, and use the voltage divider.
- Read a simple schematic and understand gain, including decibels.
You do not need any semiconductor knowledge. We treat the op amp as a block with terminals and rules.
What an op amp is
An operational amplifier (op amp) is a high-gain amplifier with two inputs and one output. It amplifies the difference between its inputs. The two inputs are:
- The non-inverting input, marked +.
- The inverting input, marked −.
The output voltage is
Vout = A × (V+ − V−)
Here A is the open-loop gain, the gain with no feedback connected. Real op amps have A from about 10^5 to 10^7. The device also needs power supply pins, for example +15 V and −15 V. These limit how far the output can swing.
The ideal model
Analysis is much easier if we replace the real device with an idealized one. The ideal op amp makes these assumptions:
| Property | Ideal value | Why it helps |
|---|---|---|
| Open-loop gain A | Infinite | The input difference must be zero for a finite output |
| Input resistance | Infinite | No current flows into either input |
| Output resistance | Zero | The output holds its voltage regardless of load |
| Bandwidth | Infinite | Gain does not fall with frequency |
| Input offset voltage | Zero | Equal inputs give exactly zero output |
| Input bias current | Zero | Same as infinite input resistance, with no leakage |
Two of these assumptions do most of the work in later chapters:
- No current enters either input. Input currents are zero, so the inputs do not load the circuit they connect to.
- Infinite gain. With a finite output, V+ − V− = Vout / A must be zero.
Why the ideal model alone is not enough
Infinite gain gives a puzzle. If A is infinite, any tiny difference between the inputs would push the output to infinity. In practice the output stops at the supply rails. So an op amp on its own, with no feedback, is a comparator. It swings to one rail or the other depending on which input is larger.
The next chapters show how feedback from the output to the inverting input forces the difference to nearly zero. That result is what lets us treat the inputs as equal. This chapter only sets out the model. It does not yet use feedback.
How good is the ideal model?
The ideal model fits a typical general-purpose op amp well at low frequencies and modest gains. Here are typical real values for comparison:
| Property | Ideal | Typical general-purpose part |
|---|---|---|
| Open-loop gain | Infinite | 100,000 (100 dB) |
| Input resistance | Infinite | 1 MΩ to 10^12 Ω |
| Output resistance | Zero | 10 Ω to 100 Ω open loop |
| Input offset voltage | 0 | 0.1 mV to 5 mV |
With A = 100,000 and an output of 10 V, the real input difference is 10 V / 100,000 = 100 µV. That is small compared with the volts at the circuit nodes, which is why ignoring it works. Later chapters cover where the approximation breaks down: finite gain error, limited bandwidth, DC errors, and slew rate.
Checking the idea numerically
This short Python snippet computes the input difference that a real op amp needs for a given output:
def input_difference(vout, open_loop_gain):
"""Voltage between the two inputs needed to produce vout."""
return vout / open_loop_gain
for a in (1e3, 1e5, 1e7):
diff = input_difference(10.0, a)
print(f"A = {a:>10.0f} -> V+ - V- = {diff * 1e6:10.3f} uV")The output shows the difference shrinking from 10,000 µV at A = 1,000 to 1 µV at A = 10^7. As A grows, the difference tends to zero, which is the ideal assumption.
Exercise
An op amp with open-loop gain 200,000 produces an output of 5 V while operating in its linear range. What is the voltage between its two inputs, and what current flows into the inverting input in the ideal model?
Show answer
V+ − V− = 5 V / 200,000 = 25 µV. In the ideal model the input resistance is infinite, so the current into the inverting input is zero.