ControlLoopLab
Home Lead, lag & notchWorked example

Gantry notch close to crossover

A gantry resonance sits close enough to crossover to affect phase reserve.

Model inputs

Compensator
Hz
Hz
Hz

Realized compensator frequency response

Check phase reserve
Notch depth
−21.868dB
Phase penalty
−44.03°
Digital BW
55.524Hz
Notch center
92Hz
Compensator magnitude and phaseNotch attenuationdB7.6725.283.1273900−21.9−13.9−5.962Frequency (Hz, log)Phase responsedeg7.6725.283.1273900−67.6−22.522.567.6Frequency (Hz, log)Notch centerLoop crossover
Lead α = (1 + sin φm)/(1 − sin φm) · Notch depth = 20 log₁₀(ζz/ζp)

Calculated results

Notch depth
−21.868dB
Analog −3 dB bandwidth
56.668Hz
Digital lower edge
68.196Hz
Digital upper edge
123.72Hz
Digital −3 dB bandwidth
55.524Hz
Analog crossover phase
−44.345°
Digital crossover phase
−44.03°
b0
0.91805813446229
b1
-1.728605862776566
b2
0.9036823685784813
a1
-1.728605862776566
a2
0.8217405030407716
  • Bandwidth uses the half-power threshold (−3.0103 dB). Verify the digital phase penalty against full-loop stability margins.

Model and interpretation

Full methodology

Place the peak phase change

The unwarped lead prototype places its zero at ωm/√α and pole at ωm√α. Lag interchanges the pole and zero and reverses the phase sign. The high-frequency to DC gain ratios are α for lead and 1/α for lag.

Check notch width and crossover lag

The notch zero damping is strictly smaller than its pole damping. The half-power edges exist only for ζz/ζp ≤ 1/√2. A wider notch can reduce phase reserve far below the resonance. Compare the realized penalty at the intended loop crossover.

Transfer the digital coefficients

The bilinear transform is prewarped at the design center. Coefficients use the same a0 = 1 and negative-feedback convention as the IIR calculator. Recheck pole stability and quantization in the target realization.