Sub topic 3
The virtual short and the summing node
This chapter assumes you know Ohm's law, Kirchhoff's current law (KCL), resistor dividers, and how to read a simple schematic. It also assumes you have met the ideal op amp and the idea of negative feedback from the earlier chapters. Here we turn those ideas into one working tool. That tool is the virtual short, and you will use it to analyze every op amp circuit in the rest of the tutorial.
Where the virtual short comes from
An ideal op amp has infinite open-loop gain and draws no current at its inputs. Its output is
Vout = A × (V+ − V−)where A is the open-loop gain. In a real part, A is on the order of 100,000 or more. Because Vout cannot exceed the supply rails, the difference V+ − V− must be tiny whenever the output is not saturated. For Vout = 5 V and A = 100,000, the difference is only 50 µV. In the ideal limit, A is infinite and the difference is zero.
Negative feedback is what makes this happen. When the output is wired back to the inverting input, any difference between the inputs is driven toward zero by the output itself. This gives the rule:
- Virtual short: with negative feedback and an output that is not saturated, V+ = V−.
The short is "virtual" because the two inputs are at the same voltage, but no current flows between them. A real short circuit would carry current. The op amp inputs carry none.
The two rules
Every ideal op amp analysis with negative feedback uses these two rules:
- The input voltages are equal: V+ = V−.
- The input currents are zero: I+ = I− = 0.
Rule 1 only holds when the feedback is negative and the output is within the rails. If the feedback is positive, or the output is clipped, rule 1 fails and the analysis does not apply.
The summing node
The summing node is the inverting input node, where the input current and the feedback current meet. Rule 2 says no current enters the op amp there. So KCL at that node says that the current arriving through the input resistor must leave through the feedback resistor.
If the non-inverting input is grounded, rule 1 puts the summing node at 0 V. It is called a virtual ground: it sits at ground potential but is not connected to ground. This makes the currents easy to calculate, because the voltage across each resistor is known.
A repeatable procedure
Use these steps on any ideal op amp circuit with negative feedback:
- Confirm the feedback path goes from the output to the inverting input.
- Set V− equal to V+. Write down the voltage at the summing node.
- Use Ohm's law to find the current in each resistor attached to that node.
- Apply KCL at the node with zero current into the op amp.
- Solve for Vout.
Worked example
Take Rin = 1 kΩ, Rf = 10 kΩ, Vin = 1 V, and a grounded non-inverting input.
- V+ = 0 V, so V− = 0 V.
- The current through Rin is (1 V − 0 V) / 1 kΩ = 1 mA.
- That 1 mA cannot enter the op amp, so it flows through Rf.
- The voltage across Rf is 1 mA × 10 kΩ = 10 V, with the higher voltage at the summing node end.
- Vout = 0 V − 10 V = −10 V.
The next chapter generalizes this result as Vout = −(Rf/Rin) Vin.
Common errors
- Treating the virtual short as a real ground in the wrong place. The inverting input is at the same voltage as the non-inverting input. It is at 0 V only when the non-inverting input is grounded.
- Forgetting the output limits. If the calculated Vout is beyond the supply rails, the real output clips and V+ ≠ V−. In the example above, a ±5 V supply would clip the −10 V result.
- Applying the rule to open-loop circuits. A comparator with no feedback has no virtual short.
Exercise
An op amp has its non-inverting input at 2 V and negative feedback. The output sits at 6 V and is not saturated. What is the voltage at the inverting input, and what is the approximate input differential voltage if A = 100,000?
Show answer
By the virtual short, the inverting input is at 2 V. The actual differential voltage is Vout / A = 6 V / 100,000 = 60 µV, which is small enough to treat as zero.
Exercise
An input source of 2 V drives a 4 kΩ resistor into the inverting input. The non-inverting input is grounded and a 12 kΩ resistor connects the output back to the inverting input. Find the output voltage.
Show answer
The summing node is at 0 V, so the input current is 2 V / 4 kΩ = 0.5 mA. This current flows through the 12 kΩ resistor, dropping 6 V. Vout = 0 − 6 V = −6 V.