Three tools for one question: how does the loop behave, and how close is it to oscillating by itself? Example plant: the DC motor from the first practical exam, , with a gain K in front.
magnitude |G| [dB]
phase ∠G [°]
FR-02 · Franklin ch. 6
s-plane: locus and closed-loop poles
step response for this K
Where are the poles for K = 500? Size of the imaginary part:
DC-01 (lugar de las raíces) · examen práctico 1, apartado 1.1
The motor from the practical exam (L = K·500/(s(s+500))) and the oven from FR-03 p. 7. Green = phase margin MF (margen de fase), red = gain margin MG (margen de ganancia). Under the Bode plot a small step response shows what the numbers mean in time.
Top: |L| (magnitud). Bottom: ∠L (fase). Thick blue = selected K, thin grey = the other K values (the phase is the same for every K).
Link: closed-loop step response for this K
Small MF = big overshoot. MG < 0 = the curve leaves the plot. Dashed = final value.
Special cases (click “Show”)
| What you see | What it means | |
|---|---|---|
| The magnitude never crosses 0 dB | Wcp does not exist → MF = ∞ | |
| The phase never crosses −180° | Wcg does not exist → MG = ∞, stable for every K | |
| At −180° the magnitude is exactly 0 dB | MG = 0 dB, MF = 0° → the edge | |
| At −180° the magnitude is ABOVE 0 dB | MG < 0 dB → unstable |
MATLAB: margin(L) draws the same, with Gm and Pm in the title. [Gm,Pm,Wcg,Wcp] = margin(L) gives the numbers (Gm as a ratio, mag2db(Gm) in dB). Several K at once: bode(50*G,125*G,1000*G).
Motor: which K gives exactly MF = 60°?
FR-02 p. 4–7 · FR-03 p. 7 (oven), p. 9–11 (MG, MF, Ms) · examen práctico 1, apartado 1.3