22. Bode Plots: Dominant Poles and Zeros

Lecture 22: Bode Plots: Dominant Poles, Zeros and Model Approximation

Introduction

A transfer function describes both the modes that can appear in a response and the weight with which those modes are excited and observed. This distinction matters when reducing a model or interpreting a controller design. We begin with a PD-plus-lag feedback loop and examine when a nearby stable zero suppresses a slow mode. A matched exponential input then illustrates the role of a transfer-function zero more directly. Finally, a worked Bode example shows how the importance of a pole depends on the frequency band of interest. The last part compares the frequency response of a stable real pole with that of an unstable one.

Video lecture

The lecture is presented in three videos, Bode Plots: Dominant Poles, Zeros and Model Approximation.

Part 1: Where Did the Dominant Pole Go?

Chapters: 0:00 A PD-plus-lag design · 0:54 Root locus: three branches · 1:26 Which closed-loop pole is dominant? · 2:11 The closed-loop transfer function · 4:04 Approximate pole-zero cancellation · 5:35 When the cancellation fails · 7:26 Stable and unstable pole-zero cancellation

Part 2: Unstable Zeros and a Bode Example

Chapters: 0:00 Unstable zeros are not always terrible · 0:52 Route 1: the differential equation · 2:27 Route 2: the Laplace transform · 4:09 A Bode example: two very distinct poles · 7:26 Which pole matters depends on the input band · 9:03 A Bode example: the phase

Part 3: Bode Plots for Unstable Systems

Chapters: 0:00 An unstable pole: does frequency response make sense? · 2:49 Magnitude: the same as the stable pole · 4:19 Phase: from -180 to -90 degrees

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.

PD plus lag compensation in the loop

Consider a plant with poles at $-3$ and $-6$, controlled by a proportional-derivative (PD) factor and a lag factor. The additional controller pole makes the loop third order. Before deciding whether a second-order response approximation is reasonable, we must identify all of the closed-loop branches.

$$ G(s)=\frac{1}{(s+3)(s+6)},\qquad C(s)=K_p(s+z_2)\frac{s+z_1}{s+p}. $$

The loop $L=CG$ has three poles and two finite zeros, so the ordinary root locus has three branches and one branch going to infinity. Its asymptote angle is $180^\circ$, and its centroid is $-3-6-p+z_1+z_2$.

PD plus lag compensation in the loop

Root-locus branch count and asymptote

The branch count follows from the poles of the complete loop $L(s)=C(s)G(s)$, including the controller. The two finite zeros account for two branch endpoints; the remaining branch tends to infinity. This geometry identifies the possible closed-loop modes as the positive gain changes.

$$ \begin{aligned}n-m&=3-2=1,\\\sigma_a&=\frac{(-3)+(-6)+(-p)-(-z_1)-(-z_2)}{1}\\&=-9-p+z_1+z_2,\\\theta_a&=180^\circ.\end{aligned} $$

The root locus belongs to the complete loop $C(s)G(s)$. Its three branches begin at the three open-loop poles. Two branches terminate at the two finite zeros, while one goes to infinity along the negative-real direction. For any selected positive gain, there are three closed-loop poles, one on each branch. A slow real pole near the origin appears to challenge a second-order approximation based on the complex pair.

Root-locus branch count and asymptote

Dominant behavior depends on residues as well as poles

A root-locus plot locates the modes, but it does not by itself give their amplitudes in an input-output response. A slow pole may contribute little if a nearby numerator zero makes its residue small. We therefore examine the closed-loop transfer function as well as its characteristic roots.

$$ T(s)=\frac{K_p(s+z_1)(s+z_2)}{(s+p)(s+3)(s+6)+K_p(s+z_1)(s+z_2)}. $$

The numerator retains the finite open-loop zeros before cancellations. If a stable closed-loop pole is close to $-z_1$, that factor is approximately canceled and the complex pair may dominate the visible transient. This is an approximation, not an elimination of a state. For a simple pole $p_i$, the residue is $N(p_i)/D^{\prime}(p_i)$; a nearby numerator zero makes $N(p_i)$ small. A small slow term can still control the very late tail.

Dominant behavior depends on residues as well as poles

Factor the selected closed-loop poles

Factoring the denominator at the selected gain makes this suppression visible. The slow closed-loop pole and a nearby stable zero form a ratio that may be close to one over the frequency range of interest. The remaining factors then describe the dominant visible response.

$$ \begin{aligned}T(s)&=\frac{K_p(s+z_1)(s+z_2)}{(s-p_{c1})(s-p_{c2})(s-\overline{p}_{c2})},\\p_{c1}\approx-z_1&\ \Longrightarrow\ \frac{s+z_1}{s-p_{c1}}\approx1,\\T(s)&\approx\frac{K_p(s+z_2)}{(s-p_{c2})(s-\overline{p}_{c2})}.\end{aligned} $$

The finite zeros remain in the numerator after closing the loop. If the slow real closed-loop pole is near the lag zero, their ratio is close to one over the frequency range of interest. The complex pair can then dominate the visible response. The approximation is valid only when the selected gain places the pole sufficiently near the zero; it does not eliminate the corresponding internal state. A small residual slow mode can still affect the late tail. At $s=0$ the ratio equals $z_1/|p_{c1}|$, which differs from one unless the cancellation is exact. The reduced model therefore reproduces the shape of the transient but not the final value; multiplying it by $z_1/|p_{c1}|$ restores the DC gain $T(0)$. Exercise 1 below gives a numerical example.

The video illustrates this with $z_2=9$, $z_1=0.1$, $p=0.01$ and $K_p=9$. The closed-loop poles are then $p_{c2},\overline{p}_{c2}=-8.96\pm j4.26$ and $p_{c1}=-0.084$, close to the lag zero at $-0.1$. In the unit-step response the slow pole contributes $-0.157e^{-0.084t}$, while the final value is $T(0)=0.978$, so the complex pair shapes the visible transient. For these numbers $z_1/|p_{c1}|=1.19$, and the reduced model settles at $0.82$ instead of $0.978$. The figure shows the computed unit-step response. In the first half second the output rises to $0.84$ and stays within $0.006$ of the second-order model; the remaining approach to $0.978$ is the slow tail $0.978-0.157e^{-0.084t}$, whose time constant is $11.9$ s.

Unit-step response of the PD-plus-lag loop at Kp = 9 compared with the second-order model and the slow tail
Factor the selected closed-loop poles

When the approximation becomes inaccurate

The approximation depends on the actual closed-loop pole location, which changes with gain. An open-loop lag pole and zero being close is not sufficient on its own. Their effect must be assessed after the gain has been chosen and the resulting closed-loop roots are known.

$$ C_{\mathrm{lag}}(s)=\frac{s+z_1}{s+p},\qquad C_{\mathrm{lag}}(0)=\frac{z_1}{p},\qquad 0\lt p\lt z_1. $$

For a branch that ends at a finite zero, the selected gain determines how close its closed-loop pole is to that endpoint. Moving the lag pole and zero toward the origin while retaining their ratio can preserve the desired low-frequency gain and reduce their effect near a faster designed pair. Verify the actual time response rather than assuming exact cancellation. Never use an unstable pole-zero cancellation as a guarantee of internal stability; model error can expose the hidden unstable mode.

The illustration in the video shows both ways the approximation can fail. If the lag zero is placed far from its pole, at $z_1=1$ with $p=0.01$ and $K_p=2$, the slow closed-loop pole lies at $-0.565$ and its step-response term $-0.489e^{-0.565t}$ is about half of the final value. If the lag pair stays at $z_1=0.1$ and $p=0.01$ but the gain is small, $K_p=0.5$, the slow pole is still near its starting point, at $-0.028$, and its term is $-0.518e^{-0.028t}$. At $K_p=100$ the pole has moved to $-0.098$, next to the zero, and the term shrinks to $-0.017e^{-0.098t}$.

When the approximation becomes inaccurate

Move the lag pair while retaining its ratio

One way to reduce the lag pair’s influence on faster dynamics is to move both roots toward the origin while preserving their ratio. The ratio retains the DC gain improvement, whereas the smaller absolute root locations reduce their variation near the faster modes. This gives a useful design adjustment, subject to checking the resulting response.

$$ \begin{aligned}C_{\mathrm{lag}}(s)&=\frac{s+z_1}{s+p},\quad \beta=\frac{z_1}{p}\gt 1,\\\widetilde C_{\mathrm{lag}}(s)&=\frac{s+\alpha z_1}{s+\alpha p},\quad0\lt \alpha\lt 1,\\\widetilde C_{\mathrm{lag}}(0)&=\beta.\end{aligned} $$

The zero-to-pole ratio controls the low-frequency gain improvement. Scaling both locations toward the origin preserves that ratio while reducing their separation in absolute frequency. This can reduce disturbance of a faster designed complex pair. Low selected gain can still leave the real closed-loop pole near its starting pole rather than near the terminating zero, so inspect the actual response. Keep the pair stable; an unstable cancellation cannot certify internal stability.

Move the lag pair while retaining its ratio

Stable and unstable pole-zero cancellation

Approximate cancellation is acceptable only when both the pole and the zero lie in the left half-plane. A zero in the right half-plane cannot be cancelled safely, and it also attracts a root-locus branch into the right half-plane. Consider a loop with a zero at $+2$.

$$ L(s)=K\frac{s-2}{(s+3)(s+6)},\qquad (s+3)(s+6)+K(s-2)=s^2+(9+K)s+18-2K. $$

One branch runs from $-3$ to the zero at $+2$. It crosses the imaginary axis at the origin when $K=9$, so the closed loop is unstable for every $K\gt 9$. The discriminant of this quadratic, $(9+K)^2-4(18-2K)=K^2+26K+9$, is positive for every $K\ge0$, so both branches stay on the real axis; the other branch runs from $-6$ toward $-\infty$ and reaches $-18$ at $K=9$, as the root locus in the figure shows. A similar problem arises if the lag zero of the PD-plus-lag design is moved into the right half-plane: with the zero at $+0.1$, the lag pole at $-0.01$ and $z_2=9$, the closed loop is stable only for $K_p\lt 0.2$. Compensator zeros should therefore be kept in the left half-plane.

Root locus of K(s-2)/((s+3)(s+6)): the branch from -3 to the zero at +2 reaches s = 0 at K = 9

A matched exponential input: the ODE

The PD-plus-lag example concerns a zero reducing the contribution of a system mode, and the preceding section showed why a right-half-plane zero is undesirable in a feedback loop. A right-half-plane zero is not always harmful, however: it can also suppress a specially matched input. Let $D$ denote differentiation with respect to time and consider a growing exponential whose exponent matches a right-half-plane zero.

$$ \begin{aligned}G(s)&=\frac{s-2}{s^2+2s+1},\quad u=e^{2t},\\\ddot y+2\dot y+y&=\dot u-2u,\\t\gt 0:\quad\dot u-2u&=2e^{2t}-2e^{2t}=0.\end{aligned} $$

The input grows without bound, but applying $D-2$ to $e^{2t}$ gives zero for $t\gt 0$. The output therefore obeys a homogeneous stable second-order equation, whose solutions are $(c_1+c_2t)e^{-t}$. They decay to zero. Initial conditions determine the constants. For a causal input switched on at zero, the switching event must be included; it supplies the initial derivative in the zero-state response.

A matched exponential input: the ODE

The same example by Laplace transforms

The differential equation shows why the forcing vanishes for $t\gt 0$, but the causal switching condition still determines the response. A Laplace-transform calculation with zero initial state includes that switching automatically and identifies the remaining decaying output explicitly.

$$ \begin{aligned}U(s)&=\frac1{s-2},\\Y(s)&=\frac{s-2}{(s+1)^2}\frac1{s-2}=\frac1{(s+1)^2},\\y(t)&=te^{-t},\quad t\ge0.\end{aligned} $$

For zero initial state, the input transform has a pole exactly at the transfer-function zero. Their factors cancel in the product $G(s)U(s)$, leaving only stable output modes. The response has $y(0^+)=0$ and $\dot y(0^+)=1$, consistent with causal switching in the ODE. Any scalar multiple of this matched exponential has the same cancellation property. A different exponent would not cancel, so this is a signal-specific effect. For $u=e^{3t}$, for example, there is no cancellation and the output grows with the input, reaching $y(5)\approx2.04\times10^5$. Building a model of the expected signal into the dynamics in this way is an idea used in more advanced designs: a disturbance of the matched form then has no lasting effect on the output.

The separated-frequency worked example

We now return to frequency-response construction with a transfer function whose break frequencies are widely separated. This separation makes the contribution of each factor easy to follow. Normalizing the factors first exposes the DC gain and prevents a constant multiplier from being lost.

$$ G(s)=\frac{s+100}{(s+1)(s+10000)}=0.01\frac{1+s/100}{(1+s)(1+s/10000)}. $$

The DC gain is $0.01$, or $-40$ dB. The break frequencies are $1$, $100$, and $10000$ rad/s. Trace the accumulated magnitude slope through these locations: $0$, $-20$, $0$, then $-20$ dB/decade. The middle plateau is approximately $-80$ dB.

The separated-frequency worked example

Build the magnitude one interval at a time

With the DC level and break frequencies identified, the magnitude sketch can be built continuously from left to right. Each new slope starts at the magnitude reached by the preceding interval. This preserves both the gain level and the accumulated effect of earlier factors.

$$ M(\omega)\approx\begin{cases}-40,&\omega\lt 1,\\-40-20\log_{10}\omega,&1\le\omega\lt 100,\\-80,&100\le\omega\lt 10^4,\\-80-20\log_{10}(\omega/10^4),&\omega\ge10^4.\end{cases} $$

The first pole lowers the slope by 20 dB/decade. Over the next two decades, the magnitude drops from $-40$ to $-80$ dB. The zero at 100 rad/s restores 20 dB/decade, giving a plateau. The pole at $10^4$ rad/s lowers the slope again. The exact curve rounds the corners, but its distant limits follow these lines. Every interval begins at the value reached by the preceding interval.

Build the magnitude one interval at a time

Dominance depends on the frequency band

The separated breaks also clarify when a reduced model is useful. If the input frequencies are well below the fastest pole, that pole contributes almost a constant over the band of interest. Its dynamic variation may be neglected there, but its constant gain must remain in the approximation.

$$ \omega\ll10000:\qquad G(j\omega)\approx\frac{1}{10000}\frac{j\omega+100}{j\omega+1}. $$

For an input concentrated in a limited frequency band, evaluate the model in that band. The fast pole may be approximated by its DC factor, but cannot simply be deleted without rescaling. Human motion, the example used in the video, has little content above about 10 Hz, which is $62.83$ rad/s. Below $100$ rad/s the reduced model matches the full magnitude to within $0.001$ dB, so in that band the pole at $1$ rad/s dominates and the pole at $10^4$ rad/s only sets a constant gain. Omitted high-frequency modes can still matter for feedback robustness or broadband noise.

Dominance depends on the frequency band

Add the three phase contributions

To complete the response, add the phase of the zero and subtract the phases of the two poles. Their separated locations produce distinct transitions. The final phase can also be checked from the relative degree: two poles and one zero give a net first-order high-frequency decay.

$$ \phi(\omega)=\tan^{-1}(\omega/100)-\tan^{-1}\omega-\tan^{-1}(\omega/10000). $$

The first pole ramps from $0.1$ to $10$ rad/s, the zero from $10$ to $1000$ rad/s, and the fast pole from $1000$ to $100000$ rad/s. The asymptotic phase therefore moves from $0$ to $-90^\circ$, back toward $0$, then toward $-90^\circ$. Use degrees/decade for phase slopes, not dB/decade. At high frequency the relative degree is one, which independently checks the $-90^\circ$ limit.

Add the three phase contributions

Mark each phase-ramp interval

The approximate phase curve follows by placing the two-decade transition interval around each break. In this example, the end of one ramp coincides with the beginning of the next. Adding their ordinates explains the recovery of phase between the two pole transitions.

$$ \begin{array}{c|c|c}\text{factor}&\text{transition interval (rad/s)}&\Delta\phi\\\hline1/(s+1)&0.1\ \text{to}\ 10&-90^\circ\\s+100&10\ \text{to}\ 1000&+90^\circ\\1/(s+10^4)&1000\ \text{to}\ 10^5&-90^\circ\end{array} $$

The first pole’s phase ramp ends at 10 rad/s just as the zero’s ramp begins. The zero then raises the total phase back toward zero before the final pole lowers it again. The accumulated asymptotic phase is $0\to-90^\circ\to0\to-90^\circ$. These are sums of the individual ordinates: a positive zero contribution must actually raise the total, not merely flatten an already completed pole transition. The exact phase recovers only to $-11.4^\circ$ at $1000$ rad/s, because the zero has then reached $84.3^\circ$ while the fast pole already contributes $-5.7^\circ$; at $10^6$ rad/s the phase is $-89.4^\circ$.

The figure marks the three intervals and overlays the exact phase, which reaches only $-78.6^\circ$ at $10$ rad/s, where the straight lines give $-90^\circ$.

Straight-line and exact phase of (s+100)/((s+1)(s+10^4)) with the three transition intervals

Frequency response of an unstable system

The familiar steady-state interpretation of $G(j\omega)$ assumes a stable system, but the algebraic evaluation can also be carried out for an unstable transfer function. This matters in feedback design because an unstable open loop may become stable after the loop is closed. Compare a stable real pole at $-a$ with an unstable one at $+a$, where $a\gt 0$.

$$ G_{\mathrm{s}}(s)=\frac{1}{s+a},\qquad G_{\mathrm{u}}(s)=\frac{1}{s-a},\qquad a\gt 0. $$

Time-domain stability concerns whether natural modes decay. The factor $1/(s-a)$ has the growing mode $e^{at}$, so a standalone sinusoidal experiment need not settle. Nevertheless, $G(j\omega)$ is an algebraic complex number wherever the denominator is nonzero. In feedback design the plant or controller may be unstable while the complete interconnection is stable. This motivates asking whether open-loop frequency information can determine closed-loop stability. A right-half-plane zero, such as $s-a$, is distinct from an unstable pole.

The unstable-pole vector

To evaluate the unstable example, first locate the denominator $j\omega-a$ in the complex plane. At positive frequency it lies in the second quadrant. Its reciprocal has the opposite angle, so the quadrant choice determines the correct continuous phase branch.

$$ \begin{aligned}j\omega-a&=-a+j\omega,\\|j\omega-a|&=\sqrt{a^2+\omega^2},\\\arg(j\omega-a)&=\pi-\tan^{-1}(\omega/a).\end{aligned} $$

For positive frequency, the denominator vector lies in quadrant II. It begins along the negative real axis and moves toward the positive imaginary direction. The numerator has phase zero; taking the reciprocal therefore negates this continuous denominator angle. Choosing the correct quadrant is essential: a one-argument arctangent alone would put this vector in the wrong quadrant.

The unstable-pole vector

Equal magnitudes, different phases

The denominator vectors for the stable and unstable poles have equal lengths at every frequency. Their angles, however, differ because their horizontal components have opposite signs. Thus magnitude alone cannot distinguish these two pole locations.

$$ |G_{\mathrm{s}}(j\omega)|=|G_{\mathrm{u}}(j\omega)|=\frac{1}{\sqrt{a^2+\omega^2}},\qquad \angle G_{\mathrm{u}}(j\omega)=-\pi+\tan^{-1}\!\frac{\omega}{a}. $$

For $\omega\ll a$, the magnitude approaches $1/a$. For $\omega\gg a$, it approaches $1/\omega$, giving a $-20$ dB/decade slope. The stable-pole phase moves from $0$ to $-90^\circ$; the unstable-pole phase, on the continuous branch used here, moves from $-180^\circ$ to $-90^\circ$. At $\omega=a$, their phases are $-45^\circ$ and $-135^\circ$. The straight-line phase approximation spans $0.1a$ to $10a$. The curves are normalized to $a=1$.

Equal magnitudes, different phases

Perspective

A useful approximation must preserve the behavior relevant to the input and frequency band under study. Pole locations determine decay rates, but zeros and residues determine how strongly those modes appear. Similarly, a distant pole may contribute almost no variation within a low-frequency band while still supplying an essential constant gain. The worked examples show why a reduced response should be checked against both the full transfer function and the intended operating conditions.

The unstable-pole comparison adds a warning: a stable and an unstable pole at the same distance from the origin have identical magnitude plots and differ only in phase. We next use the complete complex frequency response to address a different question: whether closing a feedback loop produces a stable system.

Exercises

Try each exercise before opening its answer.

Exercise 1. Use the PD-plus-lag loop of this lecture, $G(s)=\dfrac{1}{(s+3)(s+6)}$ and $C(s)=K_p(s+z_2)\dfrac{s+z_1}{s+p}$, with $z_2=8$, $z_1=0.2$ and $p=0.02$. (a) Write the closed-loop characteristic polynomial as a function of $K_p$. (b) For $K_p=10$, find the three closed-loop poles, the DC gain $T(0)$, and the step-response residue of the slow real pole. (c) Repeat part (b) for $K_p=0.5$. At which of the two gains does the lag zero approximately cancel the slow closed-loop pole? A numerical root finder may be used for the cubic.

Answer

(a) The characteristic polynomial is the denominator of $T(s)$:

$$\Delta(s)=(s+0.02)(s+3)(s+6)+K_p(s+0.2)(s+8)=s^3+(9.02+K_p)s^2+(18.18+8.2K_p)s+(0.36+1.6K_p).$$

(b) For $K_p=10$, $\Delta(s)=s^3+19.02s^2+100.18s+16.36$. Its roots are $p_{c2},\overline{p}_{c2}=-9.426\pm j2.856$ and $p_{c1}=-0.1687$, so the slow pole lies $0.031$ to the right of the lag zero at $-0.2$. The DC gain is $T(0)=16/16.36=0.978$. With $Y(s)=T(s)/s$, the residue at the slow pole is $N(p_{c1})/\bigl(p_{c1}D^{\prime}(p_{c1})\bigr)=-0.155$, and the step response has the form

$$y(t)=0.978-0.155\,e^{-0.1687t}+(\text{terms that decay like } e^{-9.426t}).$$

The complex pair, with time constant $0.106$ s, shapes the early transient. The reduced model $K_p(s+z_2)/\bigl((s-p_{c2})(s-\overline{p}_{c2})\bigr)$ has DC gain $0.825$, and the rest of the approach to $0.978$ is a slow creep with time constant $5.93$ s. The cancellation is approximate: the residual slow term is about 16 percent of the final value.

(c) For $K_p=0.5$, $\Delta(s)=s^3+9.52s^2+22.28s+1.16$, with three real roots $-5.526$, $-3.940$ and $-0.0533$. The slow pole is $0.033$ from the lag pole at $-0.02$ and $0.147$ from the lag zero. Its step-response residue is $-0.514$ while $T(0)=0.690$, so the slow mode carries about 75 percent of the final value, with a time constant of $18.8$ s. Only $K_p=10$ places the slow pole close enough to the zero for an approximate cancellation; at the low gain the pole is still near the start of its branch.

Exercise 2. In Exercise 1, scale the lag pair toward the origin with $\alpha=0.2$, so that the lag factor becomes $\widetilde C_{\mathrm{lag}}(s)=(s+0.04)/(s+0.004)$, and keep $K_p=10$ and $z_2=8$. (a) Show that the DC gain of the lag factor is unchanged, and compare the phases of the original and the scaled lag factors at $\omega=5$ rad/s. (b) Find the new closed-loop poles and the step-response residue of the slow pole. Compared with Exercise 1(b), what has improved and what has become worse?

Answer

(a) Both factors have $\beta=0.2/0.02=0.04/0.004=10$, so $C_{\mathrm{lag}}(0)=\widetilde C_{\mathrm{lag}}(0)=10$ ($20$ dB) and the low-frequency gain improvement is retained. At $\omega=5$ rad/s,

$$\angle C_{\mathrm{lag}}(j5)=\tan^{-1}\frac{5}{0.2}-\tan^{-1}\frac{5}{0.02}=-2.06^\circ,\qquad \angle\widetilde C_{\mathrm{lag}}(j5)=\tan^{-1}\frac{5}{0.04}-\tan^{-1}\frac{5}{0.004}=-0.41^\circ.$$

Both factors have the same largest phase lag, $54.90^\circ$, but scaling moves it from $0.0632$ to $0.0126$ rad/s, further below the frequencies of the fast pair.

(b) The closed-loop poles are $-9.485\pm j2.798$ and $-0.0335$. The complex pair is now very close to $-9.500\pm j2.784$, the pair that the PD factor alone gives at $K_p=10$ (the roots of $s^2+19s+98$), so the lag pair disturbs the designed fast response less than before. The DC gain is still $T(0)=0.978$. The slow pole, however, moved toward the origin with the lag pair. Its residue is $-0.160$, about the same size as in Exercise 1, while its time constant has grown from $5.93$ s to $29.9$ s, so the final creep toward the steady-state value takes about five times longer. Scaling the lag pair trades less disturbance of the fast pair for a longer slow tail, which is one more reason to check the actual response.

Exercise 3. Consider $G(s)=\dfrac{s-3}{(s+1)(s+2)}$ with zero initial state. (a) Write the differential equation relating $u$ and $y$, and show that the input $u=e^{3t}$ produces no forcing for $t\gt 0$. (b) Use Laplace transforms to find $y(t)$ for $u=e^{3t}$, $t\ge0$. Give $y(0^+)$, $\dot y(0^+)$, and the peak value of $y$ with its time. (c) Repeat part (b) for $u=e^{2t}$. Does the output remain bounded?

Answer

(a) Since $(s+1)(s+2)=s^2+3s+2$,

$$\ddot y+3\dot y+2y=\dot u-3u.$$

For $t\gt 0$, $\dot u-3u=3e^{3t}-3e^{3t}=0$, so the output obeys the homogeneous equation, whose solutions $c_1e^{-t}+c_2e^{-2t}$ decay. The switching of the input at $t=0$ determines the constants.

(b) With $U(s)=1/(s-3)$,

$$Y(s)=\frac{s-3}{(s+1)(s+2)}\cdot\frac{1}{s-3}=\frac{1}{(s+1)(s+2)}=\frac{1}{s+1}-\frac{1}{s+2},\qquad y(t)=e^{-t}-e^{-2t}.$$

Hence $y(0^+)=0$ and $\dot y(0^+)=1$. Setting $\dot y=-e^{-t}+2e^{-2t}=0$ gives $e^{-t}=1/2$, so the peak is $y=0.25$ at $t=\ln2=0.693$ s. At $t=5$ s the input has grown to $e^{15}\approx3.27\times10^6$, while $y(5)=0.0067$. A simulation of the full system with this input agrees with the closed form.

(c) With $U(s)=1/(s-2)$ there is no cancellation:

$$Y(s)=\frac{s-3}{(s+1)(s+2)(s-2)}=\frac{4/3}{s+1}-\frac{5/4}{s+2}-\frac{1/12}{s-2},\qquad y(t)=\tfrac{4}{3}e^{-t}-\tfrac{5}{4}e^{-2t}-\tfrac{1}{12}e^{2t}.$$

The output is unbounded; for example, $y(5)=-1835.5$. The zero at $s=3$ suppresses only the exponential whose exponent matches it.

Exercise 4. Consider

$$G(s)=\frac{10^5(s+1)}{(s+100)(s+10^4)}.$$

(a) Write $G$ in normalized form, and give the DC gain in dB and the break frequencies. (b) Give the slope of the straight-line magnitude in each frequency interval and the level of the middle plateau. (c) Describe the asymptotic phase, and compare it with the exact phase at $\omega=10$ rad/s. (d) For inputs concentrated near $\omega=1000$ rad/s, what simple model describes $G$? Compare it with the exact magnitude and phase at $\omega=1000$ rad/s and with the low-frequency gain.

Answer

(a) Factoring out the break frequencies gives

$$G(s)=0.1\,\frac{1+s}{(1+s/100)(1+s/10^4)}.$$

The DC gain is $0.1$, or $-20$ dB. The zero breaks at $1$ rad/s and the poles at $100$ and $10^4$ rad/s.

(b) The slope is $0$ below $1$ rad/s, $+20$ dB/decade from $1$ to $100$ rad/s, $0$ from $100$ to $10^4$ rad/s, and $-20$ dB/decade above $10^4$ rad/s. The magnitude rises $40$ dB over the two decades from $1$ to $100$ rad/s, so the plateau lies at $+20$ dB.

(c) The zero raises the phase from $0$ to $+90^\circ$ between $0.1$ and $10$ rad/s. The pole at $100$ rad/s returns it toward $0$ between $10$ and $1000$ rad/s, and the pole at $10^4$ rad/s lowers it to $-90^\circ$ between $1000$ and $10^5$ rad/s. The asymptotic phase is therefore $0\to+90^\circ\to0\to-90^\circ$, and the final value agrees with the relative degree of one. At $\omega=10$ rad/s the exact phase is $\tan^{-1}10-\tan^{-1}0.1-\tan^{-1}0.001=78.52^\circ$, below the asymptotic $90^\circ$ because the zero has reached only $84.29^\circ$ and the pole at $100$ rad/s already contributes $-5.71^\circ$.

(d) For $100\ll\omega\ll10^4$, $s+1\approx s$, $s+100\approx s$ and $s+10^4\approx10^4$, so $G(s)\approx10^5s/(s\cdot10^4)=10$, a constant gain of $20$ dB with zero phase. The exact values at $\omega=1000$ rad/s are $|G(j1000)|=9.901$ ($19.91$ dB) and $\angle G(j1000)=-0.06^\circ$. In this band the gain is $99.0$ times ($39.91$ dB) the low-frequency gain of $0.1$, so a model fitted to slow inputs would be wrong here by a factor of about one hundred.

Exercise 5. Let $a=5$, $G_{\mathrm{s}}(s)=1/(s+5)$ and $G_{\mathrm{u}}(s)=1/(s-5)$. (a) Find the magnitude in dB and the phases of both transfer functions at $\omega=5$ and $\omega=50$ rad/s. What does a one-argument arctangent give for $\angle G_{\mathrm{u}}(j5)$? (b) The input $u=\sin5t$ is applied to $G_{\mathrm{u}}$ with zero initial state. Find $y(t)$. Does the output approach the sinusoid $|G_{\mathrm{u}}(j5)|\sin\bigl(5t+\angle G_{\mathrm{u}}(j5)\bigr)$, and what does $G_{\mathrm{u}}(j5)$ describe in this case?

Answer

(a) Both magnitudes equal $1/\sqrt{25+\omega^2}$: $0.1414$ ($-16.99$ dB) at $\omega=5$ and $0.0199$ ($-34.02$ dB) at $\omega=50$. The stable phases, $-\tan^{-1}(\omega/5)$, are $-45^\circ$ and $-84.29^\circ$. The unstable phases, $-180^\circ+\tan^{-1}(\omega/5)$, are $-135^\circ$ and $-95.71^\circ$. At every frequency the two phases add to $-180^\circ$. The denominator $-5+j5$ lies in quadrant II, and a one-argument arctangent, $\tan^{-1}\bigl(5/(-5)\bigr)=-45^\circ$, places it in quadrant IV. It would give $\angle G_{\mathrm{u}}(j5)=+45^\circ$, which is incorrect.

(b) The output transform is

$$Y(s)=\frac{1}{s-5}\cdot\frac{5}{s^2+25}.$$

The residue at $s=5$ is $5/(25+25)=0.1$, and the remaining terms form the sinusoid given by $G_{\mathrm{u}}(j5)$:

$$y(t)=0.1e^{5t}+0.1414\sin(5t-135^\circ)=0.1e^{5t}-0.1\sin5t-0.1\cos5t.$$

The growing term dominates, with $y(2)=2202.8$ already, so the output never approaches the sinusoid. $G_{\mathrm{u}}(j5)$ still gives the amplitude and phase of the forced sinusoidal component of the solution, and the growing term would vanish only for the special initial value $y(0)=-0.1$. Feedback analysis uses $G(j\omega)$ in this algebraic sense, because a closed loop built around an unstable plant can still be stable.

The numerical answers to these exercises were checked with a short Python script using NumPy and python-control.

Exercises from the video

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

Video exercise 1 (Python). Where the slow closed-loop pole sits. From Part 1, chapters “Approximate pole-zero cancellation” at 4:04 and “When the cancellation fails” at 5:35.

The video uses $G(s)=\dfrac{1}{(s+3)(s+6)}$ and $C(s)=K_p(s+9)\dfrac{s+0.1}{s+0.01}$, and $T(s)$ denotes the closed loop under negative unity feedback. Run

import numpy as np
import control as ct
s = ct.tf('s')
G = 1 / ((s + 3) * (s + 6))
for Kp in (0.5, 9, 100):
    C = Kp * (s + 9) * (s + 0.1) / (s + 0.01)
    T = ct.feedback(C * G, 1)
    p = np.sort_complex(ct.poles(T))
    print(Kp, np.round(p, 3), round(float(ct.dcgain(T)), 4))

(a) For each $K_p$, identify the slow closed-loop pole and compare it with the lag zero at $-0.1$.

(b) Derive the printed DC gain by hand from $T(0)$.

Video exercise 2. An unstable zero and an input it does not block. From Part 2, chapter “Route 2: the Laplace transform”, at 2:27.

Take $G(s)=\dfrac{s-2}{(s+1)^2}$ with zero initial conditions.

(a) Reproduce the result in the video: for $u(t)=e^{2t}$, find $y(t)$ and its largest value.

(b) The video then shows $u(t)=e^{3t}$ and says that $y(5)$ is about $2\times10^5$. Find $y(t)$ by partial fractions and evaluate $y(5)$.

Video exercise 3. Reading the two-pole Bode example. From Part 2, chapters “A Bode example: two very distinct poles” at 4:09 and “A Bode example: the phase” at 9:03.

Take $G(s)=\dfrac{s+100}{(s+1)(s+10^4)}$.

(a) Give the DC gain in dB and the level of the straight-line plateau between $100$ and $10^4$ rad/s.

(b) Compute $20\log_{10}|G(j100)|$ factor by factor and explain why it lies about 3 dB above the plateau.

(c) Show that $\angle G(j100)=-45^\circ$ exactly. Then compute the phase at $10^3$ and $10^6$ rad/s and compare it with the straight-line phase.

Video exercise 4. Cancellation in the right half-plane. From Part 1, chapter “Stable and unstable pole-zero cancellation”, at 7:26.

(a) For the loop $L(s)=K\dfrac{s-2}{(s+3)(s+6)}$ with $K\gt 0$, find the closed-loop characteristic polynomial and the range of $K$ for stability. Where is the closed-loop pole at the boundary value?

(b) In the PD-plus-lag design of Video exercise 1, move the lag zero into the right half-plane: $C(s)=K_p(s+9)\dfrac{s-0.1}{s+0.01}$ with $G(s)=\dfrac{1}{(s+3)(s+6)}$. Use the Routh criterion to find the stable range of $K_p\gt 0$.

(c) In one or two sentences, explain why the slow branch cannot stay in the left half-plane at large gain.

Video exercise 5. An unstable pole on a Bode plot and an unstable controller. From Part 3, chapters “An unstable pole: does frequency response make sense?” at 0:00, “Magnitude: the same as the stable pole” at 2:49 and “Phase: from -180 to -90 degrees” at 4:19.

(a) For $G(s)=\dfrac{1}{s-a}$ with $a\gt 0$, show that $|G(j\omega)|=\left|\dfrac{1}{j\omega+a}\right|$ and that $\angle G(j\omega)=-180^\circ+\tan^{-1}(\omega/a)$. For $a=1$, give the magnitude and phase at $\omega=0.1$, $1$ and $10$ rad/s and the slope of the straight-line phase.

(b) The video motivates such plots with a hard plant $G(s)=\dfrac{s-1}{(s+1)(s-2)}$ stabilized by the unstable controller $C(s)=9.5\dfrac{s+1.5}{s-8}$. Find the closed-loop characteristic polynomial and show with the Routh criterion that the loop is stable.

(c) Replace $9.5$ by a gain $K$. Find the range of $K$ that stabilizes the loop, and the steady-state output for a unit-step reference $r$ at $K=9.5$.

References

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

  • §§4.7–4.8: Additional poles, zeros, and dominant response.
  • §§9.2–9.4: Cascade compensation.
  • §10.2: Bode plots.