ControlLoopLab
Home Lead, lag & notchWorked example

Prewarped notch high in the digital band

A high-frequency mode occupies much of the available digital bandwidth at the chosen sample rate.

Model inputs

Compensator
Hz
Hz
Hz

Realized compensator frequency response

Notch designed
Notch depth
−14.807dB
Phase penalty
−3.5515°
Digital BW
105.96Hz
Notch center
710Hz
Compensator magnitude and phaseNotch attenuationdB59.21202434931000−14.8−9.2−3.62Frequency (Hz, log)Phase responsedeg59.21202434931000−50.7−16.91750.8Frequency (Hz, log)Notch centerLoop crossover
Lead α = (1 + sin φm)/(1 − sin φm) · Notch depth = 20 log₁₀(ζz/ζp)

Calculated results

Notch depth
−14.807dB
Analog −3 dB bandwidth
301.9Hz
Digital lower edge
653.62Hz
Digital upper edge
759.58Hz
Digital −3 dB bandwidth
105.96Hz
Analog crossover phase
−6.6313°
Digital crossover phase
−3.5515°
b0
0.8788347502447462
b1
1.0442822409595496
b2
0.8249835281313002
a1
1.0442822409595496
a2
0.7038182783760464
  • 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.