← back to Control Theory

Frequency Response

Wikipedia · wpBode plot · CC BY-SA 4.0

Feed a sinusoid into a linear system. The output is a sinusoid at the same frequency, but with different amplitude and phase. The Bode plot shows magnitude and phase as functions of frequency. Gain margin and phase margin tell you how close you are to instability.

Bode plots

Two plots stacked vertically. The top plot shows magnitude in decibels (20*log10 of the gain) versus log frequency. The bottom plot shows phase in degrees versus log frequency. Straight-line asymptotes approximate the curves. Each pole contributes -20 dB/decade of slope and -90 degrees of phase shift. Each zero contributes +20 dB/decade and +90 degrees.

|H| (dB) 0 ωc -20 dB/dec GM ∠H (deg) -180° -90° PM ω

Gain and phase margin

Gain margin: how much you can increase the gain before the system goes unstable. Measured at the frequency where the phase is -180 degrees. Phase margin: how much additional phase lag the system can tolerate. Measured at the frequency where the gain is 0 dB (the gain crossover frequency). Positive margins mean stable. Typical design targets: gain margin of at least 6 dB, phase margin of at least 45 degrees.

Scheme
Neighbors