Sub topic 1
The Ideal Op Amp Model
Prerequisites
This chapter assumes you know Ohm's law, Kirchhoff's current and voltage laws, voltage dividers, and the idea of an amplifier with gain. Later chapters also use capacitor behavior (i = C dv/dt) and simple integrals. Here you only need the first group.
What the model is
An operational amplifier (op amp) is a high-gain voltage amplifier with two inputs and one output. The inverting input is marked "−", the non-inverting input is marked "+", and the output is Vout. The op amp amplifies the difference between the two inputs:
Vout = A × (V+ − V−)
A is the open-loop gain. A real op amp has an A of 100,000 or more. The ideal op amp model simplifies the real device so that circuits can be analyzed with a few lines of algebra.
The ideal assumptions
The model makes four assumptions:
- Infinite open-loop gain: A → ∞.
- Infinite input resistance: no current flows into either input.
- Zero output resistance: the output acts as a perfect voltage source, so its voltage does not change with load current.
- Infinite bandwidth and no offset: the gain is the same at every frequency, and Vout = 0 when V+ = V−.
Two of these assumptions do most of the work in this tutorial. Zero input current lets you ignore the inputs when you write KCL at a node. Infinite gain means that a finite output requires a nearly zero input difference. The next chapters build on this.
Why infinite gain matters
Vout is always finite, because it cannot exceed the supply voltages. If Vout = 5 V and A = 100,000, the input difference is only 5 V / 100,000 = 50 µV. As A grows toward infinity, the difference goes to zero. This is the basis of the virtual short, which is covered in a later chapter. It only holds when the op amp is in a feedback circuit that keeps the output within its limits.
A numeric check
The SPICE netlist below models the ideal op amp as a voltage-controlled voltage source (VCVS) with a gain of 100 k. It builds an inverting summing amplifier, which you will derive later. With equal 10 kΩ resistors the output should be −(V1 + V2) = −3 V.
* Inverting summing amplifier, ideal op amp modeled as a high-gain VCVS
V1 in1 0 DC 1
V2 in2 0 DC 2
R1 in1 inv 10k
R2 in2 inv 10k
Rf inv out 10k
E1 out 0 0 inv 100k
.op
.endThe source E1 sets V(out) = 100000 × (V(0) − V(inv)), which is the ideal model with a large but finite A. The operating point shows V(out) close to −3 V, slightly off because the gain is finite. In a simulator that uses this model, the ideal result is the limit as the gain increases.
Where the model fails
The model is a tool, not the truth. Keep these limits in mind:
- Saturation. The output cannot go beyond the supply rails. A circuit that "should" output 12 V on a ±9 V supply will clip near the rail.
- Finite gain and bandwidth. The gain falls at high frequency, so the ideal result is only valid well below the op amp's limits.
- Input bias current and offset voltage. These cause small errors that matter for DC accuracy and for the integrator later on.
Summary of use
Treat the op amp as a device with no input current and an output that adjusts itself to make the two inputs equal. The analysis steps for later chapters are:
- Assume zero current into both inputs.
- Assume the inputs are at the same voltage (needs negative feedback).
- Write KCL at the inverting node and solve for Vout.
- Check that the answer lies within the supply limits.
Exercise
An op amp has A = 200,000 and runs with Vout = 4 V in the linear region. What is the voltage difference V+ − V− at its inputs, and why can it be treated as zero in the ideal model?
Show answer
V+ − V− = Vout / A = 4 / 200,000 = 20 µV. This is tiny compared with typical signal levels of volts, and it goes to zero as A goes to infinity, so the ideal model treats the inputs as equal.
Exercise
A non-ideal op amp has an input current of 1 µA into its inverting terminal. Which ideal assumption does this violate, and does it matter if the circuit's resistors are 1 MΩ?
Show answer
It violates the infinite input resistance assumption (zero input current). With 1 MΩ resistors, 1 µA drops 1 V across them, so the error is large and the ideal model would give poor results.