ControlLoopLab
Home Bode marginsWorked example

Lead network with two unity crossings

A proportional loop has less than unity DC gain and a higher mid-band peak from the added zero.

Model inputs

Open-loop plant
rad/s
rad/s
s
Lead zero
rad/s

Open-loop Bode plot

Marginal
Phase margin
41.927°
Gain margin
3.6036dB
Gain crossover
144.29rad/s
Delay margin
0.0050716s
Bode magnitude and phaseLoop magnitudedB0.252.0416.71361110−19.7−9.11.4612Frequency (rad/s, log)Unwrapped phasedeg0.252.0416.71361110−648−401−15492.6Frequency (rad/s, log)ωgc / PM arrowωpc / GM arrow
L(s) = K(1 + s/ωz) exp(−sθ) / [sⁿ(1 + s/ωp1)(1 + s/ωp2)]

Calculated results

Gain crossover ωgc
144.29rad/s
Phase margin
41.927°
Phase crossover ωpc
222.11rad/s
Gain margin
3.6036dB
Gain margin ratio
1.5142×
Added delay margin
0.0050716s
Finite unity crossings
2
Nyquist RHP pole count
0
  • Multiple unity crossings. The phase margin is paired with the limiting added-delay crossing.
  • For multiple odd-180° crossings, the reported gain margin is the one closest to 0 dB.

Model and interpretation

Full methodology

Check the open-loop model

Assumes unity negative feedback, two stable real poles, a positive gain and an optional left-half-plane zero. Phase is unwrapped analytically, including the linear delay term. The logarithmic chart is for inspection. Crossovers are root-refined at full precision.

Interpret crossovers together

The Nyquist count uses odd-180° crossings where loop gain exceeds unity. Without delay, the Routh criterion gives the stability boundary directly. An odd-180° unity crossing places a pole on the imaginary axis and other unstable poles can coexist. The reported gain margin is closest to 0 dB. A positive added-delay allowance is meaningful only when the current loop is stable.

Apply the screening thresholds

A stable model with phase margin below 30° or gain margin below 6 dB is marked marginal. A negative delay margin describes the signed reserve at the quoted crossover. Inspect the full measured loop for uncertainty, extra poles and nonlinear constraints.