Feedback, Stability & Frequency Compensation
Loop gain, Bode plots, phase margin, pole splitting, and compensation — keeping your amplifier from oscillating
📑 Table of Contents
- Negative Feedback Fundamentals
- Four Feedback Topologies
- Loop Gain & Bode Analysis
- Gain Margin & Phase Margin
- Pole Splitting (Miller Compensation)
- RHP Zero & Nulling Techniques
- Cascode Compensation
- Multi-Stage Compensation (NMC, RNIC)
- Stability in the Presence of Capacitive Load
- Numerical Stability Analysis
1. Negative Feedback Fundamentals
Negative feedback trades gain for predictability. The closed-loop gain depends on the feedback network (passive, precise) rather than the open-loop amplifier (active, variable).
Benefits of Negative Feedback
| Parameter | Without Feedback | With Feedback (factor 1+Aβ) |
|---|---|---|
| Gain | A (high, variable) | 1/β (low, precise) |
| Bandwidth | BW | BW × (1+Aβ) — wider |
| Distortion | THD | THD / (1+Aβ) — lower |
| Input impedance* | Rin | Depends on topology |
| Output impedance* | Rout | Depends on topology |
| Sensitivity | dA/A | (dA/A)/(1+Aβ) — lower |
Feedback can make a stable system oscillate if the loop gain has excessive phase shift. Stability analysis is mandatory for every feedback design.
2. Four Feedback Topologies
| Topology | Senses | Returns | Effect on Zin | Effect on Zout | Example |
|---|---|---|---|---|---|
| Series-Shunt (voltage-voltage) | Voltage | Voltage | ↑ Increases | ↓ Decreases | Non-inverting amp |
| Shunt-Shunt (current-voltage) | Voltage | Current | ↓ Decreases | ↓ Decreases | Transimpedance amp |
| Series-Series (voltage-current) | Current | Voltage | ↑ Increases | ↑ Increases | Transconductance amp |
| Shunt-Series (current-current) | Current | Current | ↓ Decreases | ↑ Increases | Current amplifier |
Series at input → Rin increases by (1+Aβ). Shunt at input → Rin decreases. Shunt at output → Rout decreases. Series at output → Rout increases.
3. Loop Gain & Bode Analysis
The loop gain T(s) = A(s)·β(s) determines everything: closed-loop accuracy, bandwidth, and stability.
A feedback system oscillates when the loop gain satisfies |T(jω)| = 1 and ∠T(jω) = −360° (or equivalently −180° for negative feedback, since the inversion already accounts for 180°). To avoid oscillation, the phase must be less negative than −180° at the frequency where |T| = 1.
4. Gain Margin & Phase Margin
| Phase Margin | Step Response | Quality |
|---|---|---|
| < 0° | Unstable — oscillates | ❌ Unacceptable |
| 0°–30° | Heavy ringing, long settling | ⚠️ Poor |
| 45° | ~23% overshoot, moderate ringing | Acceptable (minimum) |
| 60° | ~8.7% overshoot, fast settling | ✅ Good (target) |
| 70°–80° | Minimal overshoot, slow | Conservative |
| 90° | No overshoot — critically damped | Over-compensated |
Aim for PM ≥ 60° and GM ≥ 10 dB as a standard practice. For switched-capacitor circuits, PM ≥ 72° is preferred to minimize settling error (which matters more than overshoot).
5. Pole Splitting (Miller Compensation)
The most common compensation technique for two-stage op-amps. A capacitor Cc between the output of stage 1 and stage 2 exploits the Miller effect to split the poles apart.
Before Compensation (Two Poles Close Together)
After Miller Compensation
The dominant pole moves down by the factor gm2R2 while the non-dominant pole moves up. This creates the separation needed for stability.
6. RHP Zero & Nulling Techniques
Miller compensation introduces a right-half-plane zero caused by feedforward through Cc:
An RHP zero adds +20 dB/dec to magnitude (good) but −90° to phase (bad!) — it degrades phase margin.
Solutions
| Technique | How It Works | Result |
|---|---|---|
| Nulling Resistor Rz | Rz in series with Cc | z = gm2/(1−gm2Rz)Cc |
| Rz = 1/gm2 | Zero moves to infinity | Zero eliminated |
| Rz > 1/gm2 | Zero moves to LHP | Cancels p2 — best PM |
| Cascode compensation | Cc from output to cascode node | Blocks feedforward — no RHP zero |
| Current-buffer compensation | Current buffer isolates Cc | Zero moved to very high freq. |
If Rz = 1/gm2, the resistor must track gm2 over PVT. A common technique implements Rz as a MOSFET in triode whose gate voltage is derived from the same bias as stage 2, ensuring automatic tracking.
7. Cascode Compensation
Instead of connecting Cc from the output to the stage-1 output, connect it from the output to a low-impedance cascode node inside stage 1. This eliminates the feedforward path that creates the RHP zero.
Benefits: No RHP zero, no nulling resistor needed, better PSRR. Widely used in telescopic and folded-cascode OTAs with a second gain stage.
8. Multi-Stage Compensation (NMC, RNIC)
With supply voltages below 1V, three-stage amplifiers are sometimes needed. Compensating three poles is more challenging.
| Technique | Description | Pro | Con |
|---|---|---|---|
| NMC (Nested Miller) | Two Miller caps: Cc1 (stage 3→1), Cc2 (stage 3→2) | Simple, well-understood | Large caps, limited GBW |
| RNMC (Reversed Nested) | Cc1 (stage 2→1), Cc2 (stage 3→2) | Better GBW than NMC | More complex stability |
| RNIC | Reversed NMC + inner capacitor | Highest efficiency | Design complexity |
| DFCFC | Damping factor control | Excellent for heavy loads | Extra amplifiers needed |
9. Stability in the Presence of Capacitive Load
External capacitive loads (CL) push the non-dominant pole toward the unity-gain frequency, reducing phase margin.
Solutions for Large CL
Increase Cc — reduces GBW, pushing crossover below p2. Increase gm,output — pushes p2 up but costs more power. Add a buffer — isolates the high-gain node from CL. Indirect compensation — techniques that decouple the dominant pole from CL variation.
For a two-stage Miller OTA, the maximum load capacitance for 60° PM is approximately: CL,max ≈ Cc × gm6 / (2.2 × gm1). Beyond this, increase Cc or gm6.
10. Numerical Stability Analysis
🔁 Blog 5 Recap
- Negative feedback trades gain for predictability, linearity, and bandwidth — but risks instability.
- Four topologies exist — identified by how feedback senses (voltage/current) and returns (voltage/current).
- Phase margin ≥ 60° and gain margin ≥ 10 dB are standard design targets.
- Miller compensation splits poles but creates an RHP zero — fix with a nulling resistor or cascode compensation.
- Multi-stage amplifiers need NMC, RNMC, or more advanced techniques for three-pole compensation.
- Large CL pushes p2 toward fUGF — budget gm,output accordingly.
📚 Next up — Blog 6: Noise, Matching & Layout for Analog — thermal, flicker, Pelgrom's law, and layout techniques that make or break silicon.
↑ Back to Table of Contents
Comments
Post a Comment