Part III: Analog Electronics | Chapter 9

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:

Gain stabilized against component variations
Bandwidth extended by factor (1 + Aβ)
Nonlinearity and distortion reduced
Input impedance increased (series feedback)
Output impedance reduced (shunt feedback)
Noise referred to input may be reduced

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:

\[ A_f = \frac{A}{1 + A\beta} = \frac{A}{1 + T} \]

When \( T = A\beta \gg 1 \):

\[ A_f \approx \frac{1}{\beta} \]

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:

Magnitude Condition
\( |A\beta| = 1 \)
Phase Condition
\( \angle A\beta = -180° \)

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 \):

Gain Margin (GM)

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° \).

\( \text{GM} = -|T(j\omega_{pc})|_{\text{dB}} \)
Phase Margin (PM)

The additional phase lag needed to reach −180°. Measured at the gain crossover frequency where \( |T| = 1 \) (0 dB).

\( \text{PM} = 180° + \angle T(j\omega_{gc}) \)

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.

Python
script.py121 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server