17. PD Transient Design

Lecture 17: Transient Design with Root Locus Using PD Control

Lectures 13–16 built up the root locus: how to sketch it (Lectures 13 and 14), how a fast pole limits the achievable gain (Lecture 15), and what each part of a pole location does to the response (Lecture 16). In this lecture we use the locus as a design tool. With proportional (P) control, the gain can only slide the closed-loop poles along a fixed locus. Adding a zero reshapes the locus and pulls it to the left, which gives a faster transient at the same damping ratio. This is proportional–derivative (PD) design. We first see the idea on a three-pole plant, then design a PD controller step by step from overshoot and settling-time specifications.

Video lecture

The lecture is presented in one video, Reshaping the Root Locus: Designing a PD Controller for Speed and Stability. Throughout, $G(s)$ excludes the gain $K$, the compensated open loop is $\tilde G(s)$, and the closed-loop poles solve $1 + K\tilde G(s) = 0$.

Chapters: 0:00 P control on a three-pole plant · 2:09 Damping ratio fixes the pole angle · 4:05 Design 1: a zero on the pole at -2 · 7:17 Design 2: the zero at -3 · 9:03 Zeros add derivative action (PD) · 10:28 A complete design problem · 13:00 Step 1: from overshoot to the zeta line · 14:32 Step 2: the target pole · 16:22 Step 3: placing the PD zero

Lecture materials

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

The lecture notes are on this page. The text below follows the video, and adds the gain from the magnitude condition, a second ($3\times$) version of the design and a check by simulation. Exercises with answers are at the end.

P control on a three-pole plant

Consider the unity-feedback loop with a proportional controller $K$ and the plant

$$G(s) = \frac{1}{(s+1)(s+2)(s+5)} .$$

Sketching the locus (the rules of Lecture 13). Three poles at $-1$, $-2$ and $-5$, no finite zeros, so $n = 3$ and $m = 0$.

  • Real-axis segments: $[-2, -1]$ and $(-\infty, -5]$.
  • Centroid and asymptote angles: $$\sigma_a = \frac{\sum p_i - \sum z_i}{n - m} = \frac{(-1) + (-2) + (-5)}{3} = -\frac83, \qquad \theta_a = \pm\frac{180^\circ}{3 - 0} = \pm60^\circ,\ 180^\circ .$$
  • The branch from $-5$ runs off to the left: it is the less dominant pole. The branches from $-1$ and $-2$ meet, break away from the real axis and bend toward the $\pm60^\circ$ asymptotes: these are the dominant poles, and the closed loop behaves approximately as a second-order system.

The damping ratio fixes the angle of the pole

Recall the standard second-order system $\omega_n^2/(s^2 + 2\zeta\omega_n s + \omega_n^2)$ of Lecture 7. Its transient specifications are tied to the location of the poles $s = -\zeta\omega_n \pm j\sqrt{1-\zeta^2}\,\omega_n$:

Quantity Formula Set by
Settling time $T_s \approx 4/(\zeta\omega_n)$ real part $-\zeta\omega_n$
Peak time $T_p = \pi/\omega_d$ imaginary part $\omega_d = \sqrt{1-\zeta^2}\,\omega_n$
Overshoot $\%OS = 100\,e^{-\zeta\pi/\sqrt{1-\zeta^2}}$ damping ratio $\zeta$ only

Let $\theta$ be the angle between the pole and the negative real axis. From the right triangle formed by the pole, its projection on the real axis and the origin,

$$\tan\theta = \frac{\sqrt{1-\zeta^2}\,\omega_n}{\zeta\omega_n} = \frac{\sqrt{1-\zeta^2}}{\zeta}, \qquad \cos\theta = \zeta .$$

$\omega_n$ cancels: a target damping ratio is a target angle, that is, a ray from the origin, the $\zeta$ line. Lecture 16 showed what moving along that ray does: further from the origin, the response is faster with the same overshoot.

Reading off the P design. For $\zeta = 0.5$ (about $16\%$ overshoot) the ray is at $120^\circ$ from the positive real axis. The computed locus crosses it at

$$s = -1.06 \pm j1.84, \qquad K = |s+1|\,|s+2|\,|s+5| = 16.5,$$

by the magnitude condition. The third closed-loop pole is at $-5.88$, about five times further left, so the pair at $-1.06\pm j1.84$ dominates (Lecture 8). The predicted transient is $T_s = 4/1.06 = 3.8$ s and $T_p = \pi/1.84 = 1.7$ s. With P control there is nothing more to choose: the locus is fixed, and so is the point where it crosses the $\zeta$ line. The design is stable (no right-half-plane poles) and approximately second order, but it cannot be made faster.

Reshaping the locus: add a zero

A zero changes the locus itself. Two designs place a zero on the real axis, one exactly on the pole at $-2$ and one a little to the left of it, at $-3$. All loci below are computed; the gray curve is the P-control locus and the hollow circles mark earlier designs on the same $\zeta = 0.5$ ray.

Design 1: a zero on the pole at $-2$

The compensated open loop cancels the pole at $-2$:

$$\tilde G(s) = \frac{s+2}{(s+1)(s+2)(s+5)} = \frac{1}{(s+1)(s+5)} .$$

Now $n - m = 2$: the centroid is $\sigma_a = (-1-5)/2 = -3$ and the asymptotes are at $\theta_a = \pm180^\circ/(3-1) = \pm90^\circ$. The branches meet at $-3$ and go straight up and down, crossing the $\zeta$ line at $s = -3 \pm j5.20$. This loop is exactly second order, $s^2 + 6s + 5 + K$, so $2\zeta\omega_n = 6$ with $\zeta = 0.5$ gives $\omega_n = 6$ and $K = 36 - 5 = 31$.

The closed-loop pole is much further to the left than with P control, on the same ray:

  • $T_s = 4/(\zeta\omega_n)$: the real part $\zeta\omega_n$ is larger, so $T_s$ is smaller;
  • $T_p = \pi/\omega_d$: the imaginary part $\omega_d$ is larger, so $T_p$ is smaller;
  • $\%OS$ depends only on $\zeta$, and the angle is the same, so $\%OS$ is the same.

A faster transient with the same percentage overshoot: these are the benefits of adding a zero.

Design 2: the zero at $-3$

With the zero at $-3$, $\tilde G(s) = \dfrac{s+3}{(s+1)(s+2)(s+5)}$, again $n - m = 2$ and the asymptotes are at $\pm90^\circ$, now from

$$\sigma_a = \frac{(-1-2-5) - (-3)}{3-1} = \frac{-8+3}{2} = -2.5 .$$

The branch from $-5$ moves right to the zero at $-3$; the branches from $-1$ and $-2$ break away and bend toward the vertical line $\mathrm{Re}\,s = -2.5$. They cross the $\zeta$ line at $s = -2.39 \pm j4.13$ with $K = 21.2$; the third pole, at $-3.23$, is close to the zero at $-3$, so its effect nearly cancels.

What moving the locus left buys us. At the same $\zeta$ line:

Design Dominant poles $K$ $T_s = 4/(\zeta\omega_n)$ $T_p = \pi/\omega_d$
P $-1.06\pm j1.84$ 16.5 3.8 s 1.71 s
Design 1: zero at $-2$ $-3.00\pm j5.20$ 31.0 1.3 s 0.60 s
Design 2: zero at $-3$ $-2.39\pm j4.13$ 21.2 1.7 s 0.76 s

Design 2 is still much faster than P control, but slightly to the right of Design 1. The simulated step responses confirm the prediction: (b) and (c) are about three times faster than (a), with similar overshoot. (All three settle below 1: this type-0 loop has a steady-state error, the topic of Lecture 12 and of the lag compensator in Lecture 18.)

Zeros add derivative action: PD control

Why does a zero help? In the Laplace domain, multiplying by $s$ means taking a derivative. Pass an input $u(t)$ through a zero, $Y(s) = (s+1)U(s)$:

$$y(t) = u(t) + \dot u(t) .$$

While the input is rising, its derivative is positive, so adding it accelerates the rise: the output gets there earlier (Lecture 9). A compensator that adds a zero is therefore a derivative term:

$$K(s+z) = \underbrace{Kz}_{\text{proportional}} + \underbrace{Ks}_{\text{derivative}},$$

and the design is called PD (proportional–derivative) design.

A complete design problem

We now carry out a full design with specifications on both overshoot and speed. The plant is

$$G(s) = \frac{1}{s(s+4)(s+6)},$$

and we require $\%OS \le 16\%$ and a settling time four times shorter than with P control. (The same problem with a $3\times$ reduction is Nise’s Example 9.3; it is worked alongside below.)

With P control, the locus has centroid $\sigma_a = (0-4-6)/3 = -10/3$ and asymptotes at $\pm60^\circ$ and $180^\circ$. The $16\%$ line meets it at one point only, so the overshoot can be met, but the settling time is whatever that point gives: very limited. To go further left on the same line, we must bend the locus to the left, by adding a zero.

Step 1: from the overshoot to the $\zeta$ line

From Lecture 7,

$$\zeta = \frac{-\ln(\%OS/100)}{\sqrt{\pi^2 + \ln^2(\%OS/100)}} = \frac{-\ln 0.16}{\sqrt{\pi^2 + \ln^2 0.16}} \approx 0.504 .$$

Call $\tilde\theta$ the angle of the $\zeta$ line from the positive real axis. With $\tan\theta = \sqrt{1-\zeta^2}/\zeta$,

$$180^\circ - \tilde\theta = \tan^{-1}\frac{\sqrt{1-\zeta^2}}{\zeta} = 59.74^\circ \quad\Longrightarrow\quad \tilde\theta = 120.26^\circ .$$

Question for reflection: to obtain less than $16\%$ overshoot, should the $\zeta$ line rotate toward or away from the real axis? (See Exercise 2.)

Step 2: the target pole

The original locus meets the $\zeta$ line at $s = -1.205 \pm j2.065$ (computed: $-1.2044$), with $K = 43.4$, so the original settling time is

$$T_s = \frac{4}{\zeta\omega_n} = \frac{4}{1.205} = 3.32\ \text{s}.$$

The target is one fourth of it, $\tilde T_s = 3.32/4 = 0.83$ s $= 4/(\zeta\tilde\omega_n)$, so $\zeta\tilde\omega_n \approx 4.82$. Staying on the $\zeta$ line, the target closed-loop pole is

$$s_d = -4.82 + j8.26 \qquad (3\times\text{ case: } \tilde T_s = 1.11\ \text{s},\ s_d = -3.61 + j6.19).$$

Neither target lies on the original locus, so no gain alone can reach it.

Step 3: place the PD zero with the angle condition

Add a zero at $-z_c$: $\tilde G(s) = \dfrac{s+z_c}{s(s+4)(s+6)}$. For $s_d$ to be a closed-loop pole, it must satisfy $1 + K\tilde G(s_d) = 0$, the most important equation of root-locus design, and in particular the angle condition

$$\angle\tilde G(s_d) = \alpha_1 - \tilde\theta - \theta_2 - \theta_3 = \pm180^\circ,$$

where $\alpha_1$ is the angle of the vector from the zero to $s_d$, and $\tilde\theta$, $\theta_2$, $\theta_3$ those from the open-loop poles $0$, $-4$ and $-6$ (angles from the zeros minus angles from the poles, Lecture 13).

Reading (here: computing) the pole angles at $s_d = -4.82 + j8.26$: $\tilde\theta = 120.26^\circ$, $\theta_2 = 95.65^\circ$, $\theta_3 = 81.85^\circ$, so

$$\alpha_1 = 120.26^\circ + 95.65^\circ + 81.85^\circ - 180^\circ = 117.76^\circ .$$

Since $\alpha_1 \gt 90^\circ$, the zero lies to the right of $s_d$:

$$z_c = 4.82 - \frac{8.26}{\tan(180^\circ - 117.76^\circ)} = 4.82 - 4.35 = 0.47 .$$

The video stops here (“then you will know $\alpha_1$, and the open-loop zero you should design”).

Step 4: the gain, and a check by simulation

Once the angle condition holds, the magnitude condition $|K\tilde G(s_d)| = 1$ gives the gain:

$$K = \frac{|s_d|\,|s_d+4|\,|s_d+6|}{|s_d+z_c|} = 70.9, \qquad C(s) = 70.9\,(s + 0.47).$$

The same steps for the $3\times$ target $-3.61 + j6.19$ give pole angles $120.26^\circ$, $86.42^\circ$ and $68.92^\circ$, $\alpha_1 = 95.60^\circ$, $z_c = 3.61 - 6.19/\tan 84.40^\circ = 3.01$ and $K = 47.5$:

Speed-up Zero angle $\alpha_1$ PD zero Gain $K$ Third closed-loop pole
$3\times$ $95.6^\circ$ $-3.01$ $47.5$ $-2.77$
$4\times$ $117.8^\circ$ $-0.47$ $70.9$ $-0.36$

The compensated loci pass exactly through the targets:

In both designs the third closed-loop pole sits near the added zero, which suggests the second-order approximation holds. Simulation shows that this is true for the $3\times$ design but only partly true for the $4\times$ design:

  • $3\times$: overshoot $12\%$, $T_s = 1.16$ s, as designed. The pole-zero pair at $-2.77$/$-3.01$ nearly cancels.
  • $4\times$: the fast dominant poles produce a quick initial rise, but the pair at $-0.36$/$-0.47$ is very slow (time constant $1/0.36 = 2.7$ s). The cancellation is not exact, so a small, slow tail remains and the 2% settling time stretches to about $6.7$ s.

The lesson is general: a near-cancelling pole-zero pair is harmless when it is fast, but a slow pair leaves a long tail even when its residue is small. Lecture 22 returns to this effect. Always confirm a root-locus design by simulation.

Summary and outlook

Summary

  • An overshoot specification fixes a $\zeta$ line ($\tan\theta = \sqrt{1-\zeta^2}/\zeta$); a $T_s$ or $T_p$ specification fixes the point on it.
  • With P control, the design point is wherever the fixed locus crosses the $\zeta$ line.
  • Stable zeros pull the locus left: faster $T_s$ and $T_p$ at the same overshoot. A zero is a derivative, $K(s+z) = Kz + Ks$: PD control.
  • Place the compensator zero with the angle condition, find the gain from the magnitude condition, then simulate.

PD control improves the transient, but it does nothing for the steady-state error, and an ideal derivative amplifies noise. Lecture 18 replaces the ideal PD by its practical form, the lead compensator, and adds a lag compensator to improve the steady-state error.

Exercises

Try each exercise before opening its answer.

Exercise 1. For Design 1, use the angle condition to show that $s = -3 + j5.20$ is on the locus of $K/((s+1)(s+5))$, and find $K$ from the magnitude condition.

Answer

From the pole $-1$: $\angle(-2 + j5.20) = 111.05^\circ$; from the pole $-5$: $\angle(2 + j5.20) = 68.95^\circ$. The sum is $180^\circ$, so $\angle\tilde G = -180^\circ$ and the angle condition holds. Then $K = |s+1|\,|s+5| = \sqrt{4 + 27}\,\sqrt{4 + 27} = 31$.

Exercise 2. To obtain less than $16\%$ overshoot, should the $\zeta$ line rotate toward or away from the negative real axis? Find $\tilde\theta$ for $\%OS = 10\%$.

Answer

Less overshoot needs a larger $\zeta = \cos\theta$, that is, a smaller angle $\theta$ from the negative real axis: the line rotates toward the negative real axis (more damping). For $\%OS = 10\%$, $\zeta = 0.591$, $\theta = 53.8^\circ$ and $\tilde\theta = 180^\circ - 53.8^\circ = 126.2^\circ$ (compared with $120.26^\circ$ for $16\%$).

Exercise 3. Repeat Step 3 for the $3\times$ target $s_d = -3.61 + j6.19$: find the pole angles, $\alpha_1$, the zero and the gain.

Answer

From $0$: $120.26^\circ$; from $-4$: $\angle(0.39 + j6.19) = 86.42^\circ$; from $-6$: $\angle(2.39 + j6.19) = 68.92^\circ$. Then $\alpha_1 = 275.60^\circ - 180^\circ = 95.60^\circ$, slightly more than $90^\circ$, so the zero is slightly to the right of $s_d$: $z_c = 3.61 - 6.19/\tan(84.40^\circ) = 3.01$. The magnitude condition gives $K = |s_d|\,|s_d+4|\,|s_d+6|/|s_d+3.01| = 47.5$, so $C(s) = 47.5(s+3.01)$.

Exercise 4. Why does the $4\times$ design, whose dominant poles have $T_s = 0.83$ s, take about $6.7$ s to settle within 2%?

Answer

Its third closed-loop pole, $-0.36$, is close to the zero $-0.47$ but not on it. The residue of that pole is small, but its time constant is $1/0.36 \approx 2.7$ s, so the small mode decays slowly and keeps the response outside the 2% band long after the dominant poles have settled. In the $3\times$ design the pair is at $-2.77$/$-3.01$, fast enough to be harmless.

Exercise 5. Show that a PD controller $C(s) = K(s+z)$ acting on the error $e(t)$ produces $u(t) = K z\,e(t) + K\dot e(t)$, and explain why the derivative term speeds up the response.

Answer

$U(s) = K(s+z)E(s) = Kz\,E(s) + K\,sE(s)$, and $sE(s)$ is the transform of $\dot e(t)$ (zero initial condition). While the error changes quickly, as at the start of a step, the derivative term adds a large control action in the right direction, so the output rises earlier, as in the $u + \dot u$ illustration above.

All numbers on this page were checked numerically; every root locus shown is computed, not hand-drawn.

References

  • N. S. Nise, Control Systems Engineering, 6th ed.: §4.6 Underdamped Second-Order Systems (p. 177); §8.7 Transient Response Design via Gain Adjustment (p. 415); §9.1 Introduction (p. 456); §9.3 Improving Transient Response via Cascade Compensation (p. 469), including Example 9.3.
  • X. Chen and M. Tomizuka, Introduction to Modern Controls, with Illustrations in MATLAB and Python: §8.2.1 Method of Eigenvalue Locations (p. 144).
  • Original classroom recording of this lecture: YouTube.