Sub topic 4
Why negative feedback makes the circuit usable
This chapter assumes you know Ohm's law, KCL, node-voltage analysis, voltage dividers, and the idea of a dependent source. It explains why an op amp is almost never used without a feedback path from its output back to its inverting input.
The problem with open loop
An op amp's output is approximately
Vout = A (V+ − V−)
where A is the open-loop gain, typically 10^5 or more. The output cannot exceed the supply rails, so the linear relation holds only while the differential input is tiny. With rails of ±15 V and A = 10^5, the linear range is about ±150 µV. A 1 mV difference already drives the output to a rail.
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.0Without feedback, the device behaves as a comparator: the output sits at one rail or the other. The gain A also varies widely between parts and with temperature, so an open-loop amplifier would have an unpredictable gain.
How feedback corrects itself
Negative feedback means a fraction of the output is returned to the inverting (−) input. Follow the chain of cause and effect:
- Suppose the output rises more than the input calls for.
- The fed-back voltage at V− rises with it.
- The difference V+ − V− shrinks.
- Because Vout = A (V+ − V−), the output is pulled back down.
The loop settles where the differential input is just large enough to produce the required output. That value is Vout / A, which is a few microvolts for a typical output.
Why this gives a predictable circuit
Let the feedback network return a fraction β of the output to V−, with V+ = Vin. Then
Vout = A (Vin − β Vout)
Solving for the gain:
Vout / Vin = A / (1 + Aβ)
When Aβ is much larger than 1, this becomes approximately 1/β. The result depends only on the feedback network, which is usually two resistors, and not on A. That is the practical benefit: precise resistors set the gain, and the loose, variable A does not.
Dividing the numerator and denominator by A gives the form 1/β × 1/(1 + 1/(Aβ)). The second factor is the gain error caused by finite A, covered in a later chapter.
The consequence used in analysis
Since Vout stays within the rails and A is huge, the differential input V+ − V− must be very small. For analysis we treat it as zero:
V+ = V−
This is the virtual short, developed in the next chapter. It holds only when two conditions are met:
- The feedback is negative. Returning the output to the non-inverting (+) input gives positive feedback, which pushes the output further toward a rail.
- The output is not saturated. At a rail, the output no longer responds to the input, and V+ = V− does not hold.
Exercise
An op amp has A = 10^5 and a feedback network with β = 0.1 (V− = 0.1 × Vout, V+ = Vin). Find the closed-loop gain Vout/Vin, and the differential input V+ − V− when Vin = 1 V.
Show answer
Gain = A / (1 + Aβ) = 10^5 / (1 + 10^4) ≈ 9.999, close to 1/β = 10. With Vin = 1 V, Vout ≈ 9.999 V, so V+ − V− = Vout / A ≈ 9.999 / 10^5 ≈ 100 µV. This is tiny compared with the 1 V input, which is why V+ ≈ V− is a good approximation.
Exercise
A non-inverting stage sits on ±12 V supplies and is designed for a gain of 10. For which input range does the linear analysis hold, ignoring the small drop between the rails and the output swing?
Show answer
The output must stay within ±12 V, so the input must satisfy |Vin| ≤ 12 / 10 = 1.2 V. Beyond that, the output saturates at a rail and V+ = V− no longer holds.