Feedback & Stability
Negative feedback theory, loop gain, closed-loop gain, Barkhausen criterion, Bode stability analysis, gain margin, phase margin, and the Nyquist criterion
1. The Power of Negative Feedback
Negative feedback is the most powerful technique in analog circuit design. By feeding a fraction \( \beta \) of the output back to the input in opposition to the input signal, it simultaneously achieves multiple improvements:
The price paid for all these benefits is a reduction in gain by the factor\( (1 + A\beta) \), where \( T = A\beta \) is called the loop gain. When \( T \gg 1 \), the closed-loop gain is determined almost entirely by the passive feedback network.
2. Closed-Loop Gain Formula
Consider a forward amplifier with gain \( A \) and feedback network with factor \( \beta \). At the summing junction:\( \varepsilon = X_{in} - \beta X_{out} \), and\( X_{out} = A\varepsilon \). Solving:
When \( T = A\beta \gg 1 \):
The closed-loop gain becomes independent of the amplifier gain \( A \) and depends only on the feedback fraction \( \beta \) — set by stable passive components like resistors.
3. Barkhausen Criterion for Oscillation
If the feedback inadvertently becomes positive (loop phase shift = 180°), the system may oscillate. The Barkhausen criterion states that sustained oscillation occurs when the loop gain satisfies both conditions simultaneously:
Intentionally designed oscillators (Wien bridge, phase-shift oscillator) use these conditions constructively. In amplifiers, the designer must ensure sufficient gain and phase margins to prevent inadvertent oscillation.
4. Bode Stability: Gain & Phase Margin
Bode stability analysis examines the open-loop transfer function \( T(j\omega) = A(j\omega)\beta \):
The additional gain (in dB) needed to bring the system to the edge of instability. Measured at the phase crossover frequency where \( \angle T = -180° \).
The additional phase lag needed to reach −180°. Measured at the gain crossover frequency where \( |T| = 1 \) (0 dB).
Practical design rules: GM > 6 dB and PM > 45° for robust stability. PM > 60° gives a well-damped transient response (overshoot < 10%).
5. Python: Bode Plot, Gain & Phase Margin
Plot open-loop vs closed-loop Bode diagrams for a two-pole amplifier (A₀ = 10⁵, poles at 1 kHz and 100 kHz), identify gain and phase crossover frequencies, and show how feedback extends bandwidth.
Click Run to execute the Python code
Code will be executed with Python 3 on the server