Sub topic 5
The virtual short and zero input current
This chapter assumes you know Ohm's law, KCL, node-voltage analysis, and the idea of a dependent source. It also assumes you have seen why negative feedback keeps an op amp in its linear range. Here we turn that result into two rules you can apply to any ideal op amp circuit.
The two constraints
An ideal op amp with negative feedback obeys two rules at its inputs:
- Virtual short: the voltage at the non-inverting input equals the voltage at the inverting input, so v+ = v−.
- Zero input current: no current enters either input terminal, so i+ = i− = 0.
The two rules come from different assumptions. Zero input current follows from infinite input resistance. The virtual short follows from infinite open-loop gain together with negative feedback.
Where the virtual short comes from
The output is vout = A(v+ − v−). Rearranged, this gives v+ − v− = vout / A. In the linear region, vout is limited by the supply rails, for example ±15 V. If A is 10^5, the input difference is at most 15 V / 10^5 = 150 µV. As A grows toward infinity, the difference goes to zero.
Negative feedback is what keeps the op amp in this region. If v+ rises above v−, the output rises. Through the feedback path, that raises v−, which shrinks the difference again. The loop settles where v+ ≈ v−.
Short, but not a real short
A "virtual short" means the two voltages are equal. It does not mean the terminals are connected by a wire. A real short would let current flow between the terminals. Here, no current flows, because of the second rule.
The circuit below shows both ideas. The non-inverting input is grounded, so the inverting input sits at 0 V even though no wire joins it to ground. That point is called a virtual ground.
Using both rules together
Both rules reduce the work. The virtual short fixes a node voltage, and zero input current removes a branch from the KCL equation at that node.
Take the circuit above with R1 = 1 kΩ, Rf = 10 kΩ, and Vin = 1 V.
- Since v+ = 0 V, the virtual short gives v− = 0 V.
- The current through R1 is (Vin − 0) / R1 = 1 V / 1 kΩ = 1 mA.
- Zero input current means all of that 1 mA flows through Rf.
- The voltage across Rf is 1 mA × 10 kΩ = 10 V, with the current flowing from the inverting node toward the output.
- So Vout = 0 V − 10 V = −10 V.
This matches the gain −Rf / R1 = −10.
Common errors
- Using the virtual short without checking feedback. If the feedback goes to the non-inverting input, or the output is saturated, v+ = v− is false.
- Treating the virtual short as a path for current. Never write a KCL term for current flowing between the two inputs.
- Forgetting that the output supplies current. The output terminal can source or sink whatever current the circuit needs. Do not apply KCL at the output node and assume the currents there sum to zero without including the op amp output current.
- Assuming the inverting input is at ground in every circuit. The node is at 0 V only when v+ is at 0 V.
Exercise
A non-inverting input is held at 2 V, and negative feedback is in place around an ideal op amp. A 4 kΩ resistor connects the inverting node to ground. What current flows in that resistor, and what current enters the inverting input?
Show answer
By the virtual short, the inverting node is at 2 V. The current in the 4 kΩ resistor is 2 V / 4 kΩ = 0.5 mA. The current entering the inverting input is 0, because the input resistance is infinite.