
Stability and Feedback
-Overview
Feedback and closed-loop design are essential when you need predictable gain and transient response. This chapter introduces loop analysis using Bode plots, phase and gain margin, and practical compensation techniques for op‑amps and regulator control loops.
Prerequisites
- Familiarity with Bode plots and op‑amp basics from the intermediate series
Learning objectives
- Explain phase margin and gain margin and why they matter
- Use Bode plots to assess stability and design simple compensation networks
- Apply compensation to common op‑amp and regulator topologies
Tools & materials
- Oscilloscope, function generator, Bode plotter or network analyser (or software alternatives)
Hands-On Mini Task
- Simulate or build a unity‑gain feedback amplifier (op‑amp based) and measure open-loop behaviour if available.
- Observe loop gain on a Bode plot and determine phase/gain margin.
- Add a simple compensation network (e.g., small series R with a capacitor in feedback) and observe the change in margins and transient behaviour.
Expected result: improved phase/gain margins and a cleaner step response with less ringing.
Theory
Closed-loop stability is determined by the loop transfer function L(jω) = A(jω)β(jω), where A is open-loop gain and β is feedback factor. Instability occurs when the loop gain is 1∠0° (Barkhausen criterion). Practically we use Bode plots to inspect magnitude and phase: aim for a positive phase margin (typically 45–60°) and gain margin >6 dB to ensure robust performance.
Phase and gain margin
- Phase margin (PM): amount of additional phase lag at the frequency where |L(jω)| = 1 (0 dB) before the loop reaches −180°.
- Gain margin (GM): amount of additional gain required to bring |L(jω)| to 1 at the phase crossover frequency.
Practical compensation techniques
- Lead compensation: adds phase lead near the crossover to increase PM.
- Lag compensation: increases low-frequency gain for steady-state error reduction but reduces bandwidth.
- Pole-zero placement using simple RC networks or using op‑amp feedback networks to shape the loop.
Worked example — simple op‑amp compensation
Given an op‑amp with open-loop gain A0 and a single dominant pole at fp, use a feedback network to achieve closed-loop gain of 10 with PM ≈ 50°. Sketch the Bode plot for A and β, choose a compensator zero to add phase near crossover, and verify with simulation.
Measurement tips
- When measuring loop gain on the bench, use a small injection signal and proper buffering; avoid saturating the amplifier.
- Use averaging on the spectrum/Bode analyser to reduce noise in measurements.
Common pitfalls
- Measuring without considering source/load impedance can give misleading loop measurements.
- Overcompensating reduces bandwidth unnecessarily; prefer minimal compensation to meet margin targets.
Further reading
- B. Razavi, "Design of Analog CMOS Integrated Circuits" — feedback chapter
- Application notes from major op‑amp and regulator vendors on compensation techniques
Navigation
- Previous: Introduction
- Next: PCB Layout and Practical Design