21. Bode Plots: Phase Lead and Resonance

Lecture 21: Bode Plots: Phase Lead, Multiple Poles and Resonance

Introduction

Bode plots become useful for design when the contributions of several poles and zeros can be combined without calculating every frequency point. A stable real zero contributes positive phase, whereas a stable real pole contributes negative phase; in decibels, their magnitude contributions add. We use these rules to explain lead and lag compensation and to assemble responses with several real factors. We then consider a complex pole pair, for which damping determines the shape of the response near resonance.

Video lecture

The lecture is presented in two videos, Bode Plots: Phase Lead, Multiple Poles and Resonance.

Part 1: Phase Lead and Adding Real Factors

Chapters: 0:00 First-order building blocks: s + a and 1/(s + a) · 2:37 Phase lead: the zero comes first · 4:51 Two real factors: the magnitudes add · 7:02 Adding slopes: 20 and 40 dB per decade · 10:04 Two real poles: the mirror image · 11:00 Phase: 45 degrees per decade · 13:21 Adding the phase ramps

Part 2: Repeated Poles and Resonance

Chapters: 0:00 Beyond separate real poles and zeros · 0:36 Repeated poles and zeros · 2:08 A complex pole pair: the two limits · 5:20 Near the natural frequency · 6:49 Light damping: a resonance peak · 8:09 Damping near one, and everything between · 9:36 The resonance peak · 11:03 Phase of the complex pole pair

Lecture materials

  • Fill-in skeleton slides, to print or annotate and fill in while watching the videos: PDF

The lecture notes are on this page. Exercises with answers are at the end.

First-order building blocks

The construction starts with the real factors already encountered in sinusoidal-response analysis. A zero at $-a$ and a pole at $-a$ have the same corner frequency, but their effects on magnitude slope and phase have opposite signs. Keeping these two rules separate avoids confusing decibel slopes with angular slopes.

$$ G_z(s)=s+a,\qquad G_p(s)=\frac{1}{s+a},\qquad a\gt 0. $$

A zero changes the asymptotic magnitude slope by $+20$ dB/decade at $a$; a pole changes it by $-20$ dB/decade. The phase changes over approximately $0.1a$ to $10a$. Its ramp slope is $+45^\circ$/decade for the zero and $-45^\circ$/decade for the pole. Magnitude-slope units are dB/decade; phase-slope units are degrees/decade.

First-order building blocks

Why a lead compensator produces phase lead

Combining one zero and one pole gives a simple compensator. If the zero has the lower break frequency, its positive phase contribution appears before the pole’s negative contribution. The resulting phase lead explains how the ordering of the roots affects the loop response.

$$ C(s)=K\frac{s+z}{s+p},\qquad 0\lt z\lt p,\qquad \phi_C=\tan^{-1}(\omega/z)-\tan^{-1}(\omega/p). $$

For positive $K$, the phase is positive between the low- and high-frequency limits. A lag compensator reverses the ordering, $0\lt p\lt z$, and contributes negative phase. Here $z,p$ are positive magnitudes of left-half-plane root locations. The curves show the ordering with break frequencies 1 and 10 rad/s.

Why a lead compensator produces phase lead

Place the zero before the pole for phase lead

This ordering can be checked directly from the phase formula. For a positive frequency and $z\lt p$, the zero’s arctangent is larger than the pole’s arctangent. The difference is therefore positive, even though it tends to zero at both frequency extremes.

$$ \begin{aligned}\phi_z&=\tan^{-1}(\omega/z),\\\phi_p&=-\tan^{-1}(\omega/p),\\0\lt z\lt p&\ \Longrightarrow\ \phi_z+\phi_p\gt 0.\end{aligned} $$

With $z\lt p$, the ratio $\omega/z$ is larger than $\omega/p$ at every positive frequency. Since arctangent is increasing, the zero contribution exceeds the magnitude of the pole contribution. Both contributions vanish at low frequency and cancel as frequency tends to infinity, leaving a positive phase bump between them. Reversing their order gives a lag compensator. This frequency-domain picture explains the names lead and lag.

Place the zero before the pole for phase lead

Add magnitude slopes at each breakpoint

The compensator example combines two factors of opposite type. The same addition rule applies to any collection of poles and zeros: order the break frequencies, establish the initial gain, and update the accumulated magnitude slope at each break.

$$ 20\log_{10}|(j\omega+a_1)(j\omega+a_2)|=20\log_{10}|j\omega+a_1|+20\log_{10}|j\omega+a_2|. $$

With $a_1\lt a_2$, two zeros produce slopes $0$, $+20$, then $+40$ dB/decade. Two poles produce $0$, $-20$, then $-40$ dB/decade. Establish the correct low-frequency gain before tracing these slope changes. Normalizing each factor as $a(1+s/a)$ is a reliable way to keep the constant gain. The figure uses normalized poles at 1 and 100 rad/s.

Add magnitude slopes at each breakpoint

Two zeros: add the individual lines

For a concrete construction, consider two real zeros with $a_1\lt a_2$. Below both break frequencies, each contributes an approximately constant magnitude. As the frequency passes each corner, one more rising asymptote contributes to the total.

$$ \begin{aligned}G_1(s)&=(s+a_1)(s+a_2),\quad a_1\lt a_2,\\M_1&=20\log_{10}|j\omega+a_1|,\\M_2&=20\log_{10}|j\omega+a_2|,\\M_{G_1}&=M_1+M_2.\end{aligned} $$

Below both corners, the magnitude is approximately $a_1a_2$, so the line begins at $20\log_{10}(a_1a_2)$. Crossing $a_1$ activates the first $+20$ dB/decade contribution. Crossing $a_2$ activates the second, giving $+40$ dB/decade. Add the two ordinates at each frequency, rather than joining unrelated line segments. The reciprocal two-pole model reflects the complete magnitude construction in zero dB. The figure uses $a_1=1$ and $a_2=100$ rad/s. The video draws the two corners further apart, at $a_1=1$ and $a_2=1000$ rad/s. The sum then starts at $20\log_{10}1000=60$ dB, rises at $+20$ dB/decade to $120$ dB at $1000$ rad/s, and continues at $+40$ dB/decade, reaching $160$ dB at $10^4$ rad/s. At each corner the exact curve lies $3$ dB above the straight lines.

Two zeros: add the individual lines

Add phase ramps, including overlap

The magnitude construction is only half of the Bode plot. Phase must also be added at each frequency, but its transition intervals extend on both sides of the magnitude corners. Consequently, phase contributions can overlap even when the break frequencies are distinct.

$$ \phi(\omega)=-\tan^{-1}(\omega/a_1)-\tan^{-1}(\omega/a_2). $$

For two stable real poles, the total phase tends to $-180^\circ$. If their transition intervals overlap, the ramp slopes add in the overlap; they are not two isolated steps. Two zeros similarly approach $+180^\circ$.

Add phase ramps, including overlap

Build phase from the transition intervals

To make that overlap explicit, mark the beginning and end of every phase ramp before adding the curves. A factor contributes a changing angle only within its own approximate transition interval. In an overlap, both ramp slopes contribute to the total.

$$ \begin{aligned}(M_1e^{j\phi_1})(M_2e^{j\phi_2})&=M_1M_2e^{j(\phi_1+\phi_2)},\\\phi_{G_1}&=\phi_1+\phi_2,\\\text{single-zero ramp slope}&=\frac{90^\circ}{2\ \mathrm{dec}}=45^\circ/\mathrm{dec}.\end{aligned} $$

Mark $0.1a_1$, $10a_1$, $0.1a_2$, and $10a_2$. Between its own endpoints, each zero contributes a $+45^\circ$/decade ramp. Where two ramps overlap, their slopes add. Outside a factor’s transition interval, its contribution is constant. With two poles the same construction has negative signs, ending at $-180^\circ$. With two zeros it ends at $+180^\circ$.

The figure applies this construction to the example from the video, $a_1=1$ and $a_2=1000$ rad/s, whose transition intervals, $0.1$ to $10$ rad/s and $100$ to $10^4$ rad/s, do not overlap. The straight-line phase of $G_1$ therefore rises at $45^\circ$/decade to $90^\circ$, stays flat between $10$ and $100$ rad/s, where the exact phase is $84.9^\circ$ and $95.1^\circ$, and rises again to $180^\circ$; the phase of $G_2=1/G_1$ is its mirror image.

Straight-line and exact phase of (s+1)(s+1000) and of its reciprocal, with the transition intervals 0.1 to 10 and 100 to 10^4 rad/s

Repeated factors multiply the contribution

If several roots coincide, their transitions occur at the same frequencies. The addition rules still apply: a repeated factor simply contributes the same magnitude and phase several times. Multiplicity therefore changes the slope and total angle without introducing a new construction rule.

$$ 20\log_{10}|(j\omega+a)^m|=m\,20\log_{10}|j\omega+a|,\qquad \arg(j\omega+a)^m=m\tan^{-1}(\omega/a). $$

A double pole changes the high-frequency slope by $-40$ dB/decade and contributes $-180^\circ$ in total. Its approximate phase ramp has slope $-90^\circ$/decade across the two-decade transition. A repeated zero has the opposite signs. Multiplicity must be counted even when several break frequencies coincide.

Repeated factors multiply the contribution

A second-order denominator

Repeated real poles are one possible second-order factor, but a second-order denominator may also have complex conjugate poles. The distant magnitude limits remain simple; the behavior between them now depends strongly on damping. Write the denominator in terms of the natural frequency $\omega_n\gt 0$ and damping ratio $\zeta$.

$$ G(s)=\frac{1}{s^2+2\zeta\omega_n s+\omega_n^2},\qquad |G(j\omega)|=\frac{1}{\sqrt{(\omega_n^2-\omega^2)^2+(2\zeta\omega_n\omega)^2}}. $$

The low-frequency gain is $1/\omega_n^2$. At high frequency the magnitude approaches $1/\omega^2$, hence $-40$ dB/decade. At $\omega=\omega_n$, the magnitude is $1/(2\zeta\omega_n^2)$. Smaller positive damping produces a sharper amplification near the natural frequency. At $\zeta=1$, the denominator is $(s+\omega_n)^2$. The figure sets $\omega_n=1$; a numerator $\omega_n^2$ would normalize DC gain to one.

A second-order denominator

Locate the second-order poles

The pole locations explain this damping dependence geometrically. With unit numerator, the frequency-response magnitude is the reciprocal of the product of the distances from $j\omega$ to the two poles. A lightly damped pole lies close to the imaginary axis, so this product can become small near the natural frequency.

$$ \begin{aligned}s^2+2\zeta\omega_n s+\omega_n^2&=(s-p_+)(s-p_-),\\p_\pm&=-\zeta\omega_n\pm j\omega_n\sqrt{1-\zeta^2},\\|G(j\omega)|&=\frac1{|j\omega-p_+|\,|j\omega-p_-|}.\end{aligned} $$

For $0\lt \zeta\lt 1$, the roots form a complex conjugate pair. Evaluating at $j\omega$ measures the distance from that point to each pole. When damping is small, the upper pole approaches the imaginary axis near $j\omega_n$. One distance becomes small as the forcing frequency passes nearby, making the reciprocal product large. As $\zeta$ approaches one, the roots meet at $-\omega_n$ and the response becomes that of a repeated real pole.

Locate the second-order poles

Low, high, and natural-frequency limits

The geometric picture can be checked by evaluating three useful frequency regions. At low and high frequencies, one denominator term dominates. At the natural frequency, the real terms cancel and the damping term alone determines the magnitude.

$$ \begin{aligned}G(j\omega)&=\frac1{\omega_n^2-\omega^2+j2\zeta\omega_n\omega},\\\omega\ll\omega_n:&\quad |G|\approx1/\omega_n^2,\\\omega\gg\omega_n:&\quad |G|\approx1/\omega^2,\\\omega=\omega_n:&\quad |G|=1/(2\zeta\omega_n^2).\end{aligned} $$

The constant term controls the low-frequency limit, while the quadratic term controls the high-frequency limit. Thus the high-frequency logarithmic magnitude is $20\log_{10}(1/\omega^2)=-40\log_{10}\omega$, giving a $-40$ dB/decade slope. At the natural frequency the real denominator terms cancel; the damping term alone sets the magnitude. Smaller positive damping raises the response in this region without changing either far-frequency slope.

Resonance frequency and damped natural frequency

A large response near $\omega_n$ does not mean that the maximum occurs exactly there. Nor is the forcing frequency of maximum response generally equal to the damped oscillation frequency of the transient. Distinguishing these frequencies is necessary when interpreting a resonance peak.

$$ \omega_r=\omega_n\sqrt{1-2\zeta^2},\quad 0\lt \zeta\lt \frac{1}{\sqrt{2}};\qquad \omega_d=\omega_n\sqrt{1-\zeta^2}. $$

Differentiate the squared magnitude denominator with respect to $\omega^2$ to obtain $\omega_r^2=\omega_n^2(1-2\zeta^2)$. A nonzero-frequency peak exists only when $\zeta\lt 1/\sqrt{2}$. For the DC-normalized second-order low-pass, the peak magnitude is $1/[2\zeta\sqrt{1-\zeta^2}]$. For the numerator-one model, divide this by $\omega_n^2$. With $\omega_n=1$, as in the video, $\zeta=0.1$ gives a peak of $5.03$ ($14.0$ dB) at $\omega_r=0.990$, $\zeta=0.3$ gives $1.75$ ($4.85$ dB) at $\omega_r=0.906$, and $\zeta=0.5$ gives $1.15$ ($1.25$ dB) at $\omega_r=0.707$. For $\zeta\ge1/\sqrt2\approx0.707$ the magnitude decreases monotonically from its low-frequency value.

Resonance frequency and damped natural frequency

Find the resonant peak

To locate the peak precisely, minimize the squared magnitude of the denominator. Using $\omega^2$ as the independent variable reduces the calculation to a quadratic expression. The stationary point represents a nonzero-frequency resonance only when it lies in the positive-frequency range.

$$ \begin{aligned}x&=\omega^2,\\D(x)&=(\omega_n^2-x)^2+4\zeta^2\omega_n^2x,\\D^{\prime}(x)&=2(x-\omega_n^2)+4\zeta^2\omega_n^2,\\D^{\prime}(x)=0&\ \Longrightarrow\ x=\omega_n^2(1-2\zeta^2).\end{aligned} $$

Maximizing $|G|$ is equivalent to minimizing its squared denominator. A peak at a positive frequency exists only if $1-2\zeta^2\gt 0$. Substitution gives $|G(j\omega_r)|=1/[2\zeta\omega_n^2\sqrt{1-\zeta^2}]$. The imaginary part of a free-response pole is instead $\omega_d=\omega_n\sqrt{1-\zeta^2}$. The forced-response peak and the transient oscillation frequency answer different questions.

Phase of the complex pole pair

The second-order description is completed by its phase. The same damping term that controls amplification near resonance also controls how rapidly the denominator angle changes. A quadrant-aware angle calculation is essential once the real part of the denominator becomes negative.

$$ \phi(\omega)=-\operatorname{atan2}(2\zeta\omega_n\omega,\,\omega_n^2-\omega^2). $$

For positive damping, the phase is $-90^\circ$ exactly at $\omega_n$. Use the two-argument arctangent to preserve the correct quadrant above the natural frequency. As damping decreases, both the magnitude peak and the phase transition become sharper. At zero damping the transfer function has imaginary-axis poles and the usual stable steady-state interpretation at resonance fails. Far above the natural frequency, $G(j\omega)\approx1/(j\omega)^2=-1/\omega^2$, a point on the negative real axis, so the phase approaches $-180^\circ$. A straight-line sketch ramps the phase from $0$ at $0.1\omega_n$ to $-180^\circ$ at $10\omega_n$, passing $-90^\circ$ at $\omega_n$.

Perspective

The same addition rules handle separated and repeated real factors, while the second-order form describes a complex pole pair. The distant slopes reveal the number of poles and zeros; damping determines the response near resonance. When interpreting a peak, distinguish the forcing frequency $\omega_r$ from the free-response frequency $\omega_d$, and retain the correct constant gain when normalizing the transfer function.

The next lecture uses these frequency-response ideas to assess dominant modes and model approximations in compensated systems.

Exercises

Try each exercise before opening its answer.

Exercise 1. For the lead compensator $C(s) = \dfrac{s+1}{s+10}$, find the frequency $\omega_m$ at which the phase lead is largest, the maximum lead $\phi_{\max}$, and the gain $|C(j\omega_m)|$ in dB.

Answer

Setting the derivative of $\phi_C = \tan^{-1}(\omega/z) - \tan^{-1}(\omega/p)$ to zero gives $\omega^2 = zp$, so the peak lies at the geometric mean of the two break frequencies:

$$\omega_m = \sqrt{zp} = \sqrt{10} = 3.162\ \text{rad/s},\qquad \phi_{\max} = \sin^{-1}\frac{p-z}{p+z} = \sin^{-1}\frac{9}{11} = 54.90^\circ.$$

There $|C(j\omega_m)| = \sqrt{z/p} = 0.3162$, which is $-10.0$ dB, halfway between the low-frequency gain $-20$ dB and the high-frequency gain $0$ dB. A numerical sweep of $\phi_C$ gives the same peak.

Exercise 2. Sketch the straight-line magnitude of

$$G(s) = \frac{1000(s+1)}{(s+10)(s+100)}.$$

Give the low-frequency gain and the slope in each frequency band, and compare the asymptote with the exact magnitude at $\omega = 10$, $\sqrt{1000}$, and $1000$ rad/s.

Answer

$G(0) = 1000/(10\cdot100) = 1$, so the plot starts at $0$ dB. The slope is $0$ below $1$ rad/s, $+20$ dB/decade from $1$ to $10$, $0$ from $10$ to $100$, and $-20$ dB/decade above $100$. The asymptote is therefore $20$ dB on the plateau between $10$ and $100$ rad/s.

$\omega$ (rad/s) asymptote (dB) exact (dB)
$10$ $20$ $16.99$
$\sqrt{1000} = 31.6$ $20$ $19.18$
$1000$ $0$ $-0.04$

The exact curve lies about $3$ dB below the corner at $\omega = 10$, as expected for a single pole. In the middle of the plateau it is still $0.8$ dB low, because the zero and the two poles are only one decade apart.

Exercise 3. For the repeated pole $G(s) = \dfrac{1}{(s+2)^2}$, find the low-frequency gain in dB, the exact magnitude and phase at $\omega = 2$ rad/s, the phase at $\omega = 20$ rad/s, and the high-frequency slope.

Answer

$G(0) = 1/4$, which is $-12.04$ dB. At $\omega = 2$ each factor contributes $1/(2\sqrt2)$ and $-45^\circ$, so $|G(j2)| = 1/8$, which is $-18.06$ dB (6.02 dB below the low-frequency gain), and $\arg G(j2) = -90^\circ$. At $\omega = 20 = 10a$ the phase is $-2\tan^{-1}10 = -168.6^\circ$, close to the final value $-180^\circ$. The high-frequency slope is $-40$ dB/decade.

Exercise 4. A DC-normalized second-order system $G(s) = \dfrac{\omega_n^2}{s^2 + 2\zeta\omega_n s + \omega_n^2}$ has $\zeta = 0.2$ and $\omega_n = 10$ rad/s. Find $\omega_r$, the peak magnitude $M_r$, $|G(j\omega_n)|$, and the damped natural frequency $\omega_d$.

Answer $$\omega_r = \omega_n\sqrt{1-2\zeta^2} = 9.592\ \text{rad/s},\qquad M_r = \frac{1}{2\zeta\sqrt{1-\zeta^2}} = 2.552\ (8.14\ \text{dB}),$$

$$|G(j\omega_n)| = \frac{1}{2\zeta} = 2.5,\qquad \omega_d = \omega_n\sqrt{1-\zeta^2} = 9.798\ \text{rad/s}.$$

The peak of the frequency response ($\omega_r$) and the oscillation frequency of the transient ($\omega_d$) differ, although both are close to $\omega_n$ for light damping. A numerical search of $|G(j\omega)|$ finds the same peak.

Exercise 5. For the system of Exercise 4, find the phase at $\omega = \omega_n$ and at $\omega = 2\omega_n$. What does the one-argument arctangent give at $2\omega_n$? Finally, does the system have a resonance peak if $\zeta = 0.5$? If $\zeta = 0.8$?

Answer

At $\omega_n$ the real part of the denominator vanishes, so the phase is $-90^\circ$. At $2\omega_n$,

$$\phi = -\operatorname{atan2}(2\zeta\omega_n\omega,\ \omega_n^2-\omega^2) = -\operatorname{atan2}(80,\,-300) = -165.07^\circ.$$

The one-argument form $-\tan^{-1}\bigl(80/(-300)\bigr)$ gives $+14.93^\circ$, which is in the wrong quadrant. For $\zeta = 0.5 < 1/\sqrt2$ there is a small peak, $M_r = 1.1547$ ($1.25$ dB) at $\omega_r = 0.7071\,\omega_n$. For $\zeta = 0.8 > 1/\sqrt2$ there is no peak: the magnitude decreases monotonically from $1$.

Exercises from the video

These exercises follow particular moments in the two videos on this page, and each one names the part, chapter and time to watch before you start it.

Video exercise 1. Reading the numbers off the sum of two zeros. From Part 1, chapters “Adding slopes: 20 and 40 dB per decade” at 7:02 and “Two real poles: the mirror image” at 10:04.

The video adds the magnitudes of $s+a_1$ and $s+a_2$ with $a_1=1$ and $a_2=1000$ to build $G_1(s)=(s+1)(s+1000)$.

(a) Using only the straight-line asymptotes, give $20\log_{10}|G_1(j\omega)|$ at $\omega=0.1$, $10$, $100$ and $10^4$ rad/s, and the slope on each interval.

(b) Compute the exact values at the two corners, $\omega=1$ and $\omega=1000$ rad/s, and explain why each exceeds the asymptote by the same amount.

(c) Write down the same values for $G_2(s)=1/G_1(s)$.

Video exercise 2 (Python). Locating the resonance peak numerically. From Part 2, chapter “The resonance peak”, at 9:36.

The video states that $\omega_r=\omega_n\sqrt{1-2\zeta^2}$ and that a peak exists only for $\zeta\lt 1/\sqrt2$. With $\omega_n=1$, so that $G_3(s)=\dfrac{1}{s^2+2\zeta s+1}$, run

import numpy as np
w = np.logspace(-2, 1, 300001)
for zeta in (0.1, 0.3, 0.5, 0.75):
    G3 = 1 / ((1j*w)**2 + 2*zeta*(1j*w) + 1)
    k = np.argmax(np.abs(G3))
    print(f"{zeta:4.2f}  {w[k]:.4f}  {20*np.log10(abs(G3[k])):6.2f}  {20*np.log10(1/(2*zeta)):6.2f}")

The printed columns are $\zeta$, the frequency of the largest $|G_3|$ on the grid, that largest value in dB, and $|G_3(j\omega_n)|$ in dB. Compare the second and third columns with $\omega_r$ and $|G_3(j\omega_r)|=1/(2\zeta\sqrt{1-\zeta^2})$, and explain the last row.

Video exercise 3. Phase ramps that overlap. From Part 1, chapters “Phase: 45 degrees per decade” at 11:00 and “Adding the phase ramps” at 13:21.

In the video the two corners are three decades apart, so their phase ramps do not overlap. Take instead $G(s)=\dfrac{10}{(s+1)(s+20)}$.

(a) Give the DC gain in dB and the straight-line magnitude slopes.

(b) Using the rule that each pole’s phase ramps from $0$ to $-90^\circ$ between $0.1a$ and $10a$, list the frequencies where the straight-line phase changes slope, the slope on each interval, and the straight-line phase at $\omega=2$, $5$ and $10$ rad/s.

(c) Compute the exact phase at $\omega=5$ and at $\omega=10$ rad/s and compare it with the straight-line values.

References

Norman S. Nise, Control Systems Engineering, 6th ed., Wiley, 2011.

  • §10.2: Bode construction and second-order factors.
  • §10.8: Resonance and transient response.
  • §§11.3–11.4: Lag and lead compensation.