Salta al contenuto
Note per Studenti The Root Locus Report

The Root Locus

In questa pagina 6

Why the root locus

The control design goal is to find C(s)C(s) such that y(t)≃r(t)y(t) \simeq r(t). The requirements split into two groups:

The difficulty: H(s)=C(s)G(s)H(s) = C(s)G(s) changes in an obvious way when C(s)C(s) changes, but it is not obvious how W(s)=C(s)G(s)1+C(s)G(s)W(s) = \dfrac{C(s)G(s)}{1+C(s)G(s)} changes when C(s)C(s) changes. The root locus answers exactly this: it shows how the poles of W(s)W(s) move as the controller parameter varies.

Setting

Basic loop with unity feedback:

 r(t)    e(t)   +------+  u(t)   +------+
 ---->(+)------>| C(s) |-------->| G(s) |----+---> y(t)
       ^ -      +------+         +------+    |
       |                                     |
       +-------------------------------------+

with

G(s)=N(s)D(s),m=deg⁡N(s),n=deg⁡D(s),C(s)=K.G(s) = \frac{N(s)}{D(s)}, \qquad m = \deg N(s), \quad n = \deg D(s), \qquad C(s) = K.

Then H(s)=C(s)G(s)=K G(s)H(s) = C(s)G(s) = K\,G(s) and

W(s)=C(s)G(s)1+C(s)G(s)=K G(s)1+K G(s)=K N(s)D(s)+K N(s).W(s) = \frac{C(s)G(s)}{1 + C(s)G(s)} = \frac{K\,G(s)}{1 + K\,G(s)} = \frac{K\,N(s)}{D(s) + K\,N(s)}.

The last step multiplies numerator and denominator by D(s)D(s).

Assumptions

  1. N(s)N(s) and D(s)D(s) are coprime (no common factors).
  2. G(s)G(s) is proper (n≥mn \ge m).
  3. N(s)N(s) and D(s)D(s) are monic (without loss of generality): the coefficient of the highest-degree term is 11, D(s)=sn+an−1sn−1+⋯+a0,N(s)=sm+bm−1sm−1+⋯+b0.D(s) = s^n + a_{n-1}s^{n-1} + \dots + a_0, \qquad N(s) = s^m + b_{m-1}s^{m-1} + \dots + b_0.

Why the monic assumption costs nothing. Start from general polynomials D(s)=ansn+an−1sn−1+⋯+a0D(s) = a_n s^n + a_{n-1}s^{n-1} + \dots + a_0 and N(s)=bmsm+bm−1sm−1+⋯+b0N(s) = b_m s^m + b_{m-1}s^{m-1} + \dots + b_0. Define the monic versions

D′(s)=sn+an−1ansn−1+⋯+a0an,N′(s)=sm+bm−1bmsm−1+⋯+b0bm,D'(s) = s^n + \frac{a_{n-1}}{a_n}s^{n-1} + \dots + \frac{a_0}{a_n}, \qquad N'(s) = s^m + \frac{b_{m-1}}{b_m}s^{m-1} + \dots + \frac{b_0}{b_m},

so that D(s)=anD′(s)D(s) = a_n D'(s) and N(s)=bmN′(s)N(s) = b_m N'(s). Then

H(s)=K G(s)=K N(s)D(s)=K bman⏟K′  N′(s)D′(s)⏟monic.H(s) = K\,G(s) = K\,\frac{N(s)}{D(s)} = \underbrace{K\,\frac{b_m}{a_n}}_{K'}\;\underbrace{\frac{N'(s)}{D'(s)}}_{\text{monic}}.

It is therefore enough to study how W(s)W(s) varies with K′K' (using monic N′,D′N', D') and then deduce the variation with KK through K=anbmK′K = \dfrac{a_n}{b_m}K'. (On this slide the primes denote the monic versions; later, in the multiple-point rule, N′N' and D′D' denote derivatives.)

Objective. Study how the poles of W(s)W(s) change by changing C(s)=KC(s) = K. The poles of W(s)W(s) coincide with the roots of the closed-loop characteristic polynomial

PK(s)=D(s)+K N(s).P_K(s) = D(s) + K\,N(s).

Definition of the positive root locus

L+={s∈C  :  ∃ K≥0  such that PK(s)=0}.\mathcal{L}_+ = \Big\{ s \in \mathbb{C} \;:\; \exists\, K \ge 0 \ \text{ such that } P_K(s) = 0 \Big\}.

In words: the set of complex numbers ss for which there exists a controller C(s)=K≥0C(s) = K \ge 0 such that ss is a pole of WW. L+\mathcal{L}_+ is known as the positive root locus; it represents the set of possible poles of W(s)W(s) for any possible C(s)=K≥0C(s) = K \ge 0. The slide sketches an example: the locus is drawn as curves with arrows (orientation given by increasing KK), symmetric about the real axis, with some branches along the real axis and a pair of complex branches forming a loop above and below it.

Characteristics

C1. L+\mathcal{L}_+ consists of nn directed curves. The orientation is given by increasing KK; the curves are called branches.

Informal proof. Expanding,

PK(s)=D(s)+KN(s)=sn+an−1sn−1+⋯+(am+K)sm+(am−1+Kbm−1)sm−1+⋯+a0+Kb0.P_K(s) = D(s) + K N(s) = s^n + a_{n-1}s^{n-1} + \dots + (a_m + K)s^m + (a_{m-1} + K b_{m-1})s^{m-1} + \dots + a_0 + K b_0 .

For any fixed KK, PK(s)P_K(s) is a polynomial of degree nn (the highest term sns^n is not touched by KK, because n≥mn \ge m and both polynomials are monic), so PK(s)=0P_K(s) = 0 consists of nn points in the complex plane. Varying KK, the nn roots describe nn curves; continuity holds because the roots of a polynomial are continuous with respect to its coefficients.

C2. L+\mathcal{L}_+ is symmetric with respect to the real axis R\mathbb{R}.

Proof. For any fixed KK, PK(s)P_K(s) is a polynomial of degree nn with real coefficients; if σ+jω\sigma + j\omega is a root of PK(s)P_K(s), then so is σ−jω\sigma - j\omega.

C3. L+\mathcal{L}_+ contains the poles of G(s)G(s); its closure L+‾\overline{\mathcal{L}_+} contains the zeros of G(s)G(s).

Informal proof.

  • For K=0K = 0: PK(s)=D(s)P_K(s) = D(s), so PK(s)=0P_K(s) = 0 when D(s)=0D(s) = 0: the poles of G(s)G(s) are roots of PK(s)P_K(s) (for the specific value K=0K = 0).
  • For K→+∞K \to +\infty: PK(s)→N(s)P_K(s) \to N(s) (up to the factor KK), so PK(s)=0P_K(s) = 0 when N(s)=0N(s) = 0: the zeros of G(s)G(s) are reached as roots of PK(s)P_K(s) (for the specific value K→+∞K \to +\infty). They are reached only in the limit, which is why they belong to the closure.

Sketching rules

R1. Origin and end of the branches. All the branches originate at the poles of G(s)G(s). mm branches converge at the zeros of G(s)G(s); the remaining n−mn - m branches diverge (go to infinity).

Equivalent formulation (R1rev): each pole of G(s)G(s) generates a branch; each zero of G(s)G(s) attracts a branch. A pole or zero with multiplicity ℓ\ell is equivalent to ℓ\ell coincident poles or zeros.

R2. Real axis. All points of the real axis R\mathbb{R} that have an odd number of poles and zeros of G(s)G(s) on their right belong to L+\mathcal{L}_+. All other points of R\mathbb{R} do not belong to L+\mathcal{L}_+. If n−m≠0n - m \neq 0 and n−mn - m is odd, a branch diverges along the negative real axis.

R3. Asymptotes. The branches extending to ∞\infty asymptotically follow n−mn - m straight lines, the asymptotes. They originate from the same point, the centroid, which lies on the real axis:

σc=∑ipi−∑ℓzℓn−m∈R,\sigma_c = \frac{\sum_i p_i - \sum_\ell z_\ell}{n - m} \in \mathbb{R},

with pip_i the poles of G(s)G(s) and zℓz_\ell its zeros. The asymptotes divide the full angle into n−mn - m equal sectors. The negative real axis is either an asymptote (if n−mn - m is odd) or an angle bisector (if n−mn - m is even).

The slides draw the first cases (rays in green, branches in red):

n−mn - m asymptotes
00 none
11 the negative real axis, starting from the centroid
22 a vertical line through the centroid (two branches going up and down)
33 three rays at 120∘120^\circ from each other: the negative real axis and two rays at ±60∘\pm 60^\circ from the positive direction
44 four rays at 45∘45^\circ from the real axis, i.e. at ±45∘\pm 45^\circ and ±135∘\pm 135^\circ

(The ray angles in the table follow from "equal sectors, with the negative real axis as asymptote or bisector"; the slide only marks 120∘120^\circ and 45∘45^\circ.)

R4. Multiple points. The branches may intersect at special points known as multiple points. A multiple point sˉ\bar s satisfies

{N′(sˉ) D(sˉ)=N(sˉ) D′(sˉ)Kˉ=−D(sˉ)N(sˉ)≥0N′(s)=dN(s)ds,D′(s)=dD(s)ds.\begin{cases} N'(\bar s)\,D(\bar s) = N(\bar s)\,D'(\bar s) \\[2pt] \bar K = -\dfrac{D(\bar s)}{N(\bar s)} \ge 0 \end{cases}\qquad N'(s) = \frac{dN(s)}{ds}, \quad D'(s) = \frac{dD(s)}{ds}.

Informal proof. The branches intersect at sˉ\bar s   ⟺  \iff W(s)W(s) has coincident poles at sˉ\bar s   ⟺  \iff sˉ\bar s is a multiple root of PK(s)P_K(s). A multiple root is characterised by PK(sˉ)=0P_K(\bar s) = 0 and dPKds(sˉ)=0\dfrac{dP_K}{ds}(\bar s) = 0 (example on the slide: PK(s)=s2(s+1)=s3+s2P_K(s) = s^2(s+1) = s^3 + s^2 has derivative 3s2+2s=s(3s+2)3s^2 + 2s = s(3s+2), which vanishes at the double root s=0s = 0). Here

PK(sˉ)=D(sˉ)+KN(sˉ)=0 ⇒ K=−D(sˉ)N(sˉ)≥0P_K(\bar s) = D(\bar s) + K N(\bar s) = 0 \ \Rightarrow\ K = -\frac{D(\bar s)}{N(\bar s)} \ge 0

(K<0K < 0 is not of interest for L+\mathcal{L}_+), and

PK′(sˉ)=D′(sˉ)+KN′(sˉ)=0.P_K'(\bar s) = D'(\bar s) + K N'(\bar s) = 0.

Substituting KK into the second equation:

D′(sˉ)−D(sˉ)N(sˉ)N′(sˉ)=0 ⇒ N(sˉ)D′(sˉ)=N′(sˉ)D(sˉ).D'(\bar s) - \frac{D(\bar s)}{N(\bar s)}N'(\bar s) = 0 \ \Rightarrow\ N(\bar s)D'(\bar s) = N'(\bar s)D(\bar s).

Behaviour at a multiple point. Special case: multiple poles or zeros of G(s)G(s) are multiple points of L+\mathcal{L}_+. Let sˉ\bar s be a multiple point of multiplicity ℓ\ell.

value of KK at sˉ\bar s branches directions
Kˉ=0\bar K = 0 (sˉ\bar s is a pole of GG) ℓ\ell outgoing tangent to ℓ\ell equally spaced rays
Kˉ≠0\bar K \neq 0, Kˉ≠+∞\bar K \neq +\infty ℓ\ell incoming and ℓ\ell outgoing tangent to 2ℓ2\ell equally spaced rays; incoming and outgoing alternate
Kˉ=+∞\bar K = +\infty (sˉ\bar s is a zero of GG) ℓ\ell incoming tangent to ℓ\ell equally spaced rays

Pictures on the slides (all with sˉ\bar s on the real axis): for ℓ=2\ell = 2 at a pole, the two branches leave either along the real axis in opposite directions or vertically; for ℓ=3\ell = 3 at a pole, three rays at 120∘120^\circ (one along the real axis, two at ±60∘\pm 60^\circ from the opposite direction). For Kˉ\bar K intermediate and ℓ=2\ell = 2, four rays at 90∘90^\circ with alternating in and out: either two incoming along the real axis and two outgoing vertically (branches meet on the axis and leave it), or two incoming vertically and two outgoing along the axis (branches come back onto the axis). For a zero, the same pictures with all arrows pointing in.

Worked examples

Example 1: G(s)=s−1(s+1)(s+2)G(s) = \dfrac{s-1}{(s+1)(s+2)}

Poles −1,−2-1, -2 (n=2n = 2), zero +1+1 (m=1m = 1), n−m=1n - m = 1.

              Im
               ^
               |
   <==<==x-----x==>==>==o--------> Re
        -2    -1        1
 (x pole, o zero, arrows = direction of increasing K)

Apply R2 point by point on the real axis:

  • Right of s=1s = 1: no pole or zero on the right (zero count) ⇒\Rightarrow not in L+\mathcal{L}_+.
  • Between −1-1 and 11: one zero on the right (odd) ⇒\Rightarrow in L+\mathcal{L}_+.
  • Between −2-2 and −1-1: pole −1-1 and zero 11 on the right (even) ⇒\Rightarrow not in L+\mathcal{L}_+.
  • Left of −2-2: three singularities on the right (odd) ⇒\Rightarrow in L+\mathcal{L}_+.

Poles generate branches, the zero attracts one: the branch from −1-1 moves right toward the zero at 11; the branch from −2-2 moves left and diverges to −∞-\infty along the negative real axis (n−m=1n - m = 1 is odd).

Example 2: G(s)=(s+2)(s−1)(s+1)(s+3)(s+4)G(s) = \dfrac{(s+2)(s-1)}{(s+1)(s+3)(s+4)}, stability of W(s)W(s)

Poles −1,−3,−4-1, -3, -4 (n=3n = 3), zeros −2,1-2, 1 (m=2m = 2), n−m=1n - m = 1. R2 on the real axis:

  • s>1s > 1: none on the right ⇒\Rightarrow no.
  • (−1,1)(-1, 1): zero 11 on the right (1, odd) ⇒\Rightarrow yes.
  • (−2,−1)(-2, -1): −1-1 and 11 (2, even) ⇒\Rightarrow no.
  • (−3,−2)(-3, -2): −2-2, −1-1, 11 (3, odd) ⇒\Rightarrow yes.
  • (−4,−3)(-4, -3): four on the right (even) ⇒\Rightarrow no.
  • s<−4s < -4: five on the right (odd) ⇒\Rightarrow yes.

So the branch from −3-3 goes right to the zero −2-2; the branch from −1-1 goes right to the zero +1+1; the branch from −4-4 goes left to −∞-\infty.

        Im
         ^
         |
 <==<=x--x==>==o==x==>==>==>==o-----> Re
     -4 -3     -2 -1         1

What the plot says about BIBO stability of W(s)W(s):

  • Two branches (the ones from −3-3 to −2-2 and from −4-4 to −∞-\infty) lie completely in the negative half-plane: 2 poles with Re⁡<0\operatorname{Re} < 0 for every K≥0K \ge 0.
  • One branch (from −1-1 to +1+1) starts in the negative half-plane, crosses the imaginary axis at the origin and ends in the positive half-plane: 1 pole with Re⁡<0\operatorname{Re} < 0 for small KK, Re⁡>0\operatorname{Re} > 0 for large KK.

Hence there exists KcrK_{cr} such that W(s)W(s) is BIBO stable for 0≤K<Kcr0 \le K < K_{cr} and not BIBO stable for K≥KcrK \ge K_{cr}. The crossing is at s=0s = 0, so KcrK_{cr} satisfies PKcr(0)=0P_{K_{cr}}(0) = 0:

D(0)+KcrN(0)=0,D(0)=1⋅3⋅4=12,N(0)=(2)(−1)=−2,D(0) + K_{cr}N(0) = 0, \qquad D(0) = 1\cdot 3\cdot 4 = 12, \quad N(0) = (2)(-1) = -2,

Kcr=122=6.K_{cr} = \frac{12}{2} = 6.

(Here NN and DD are already monic, so KK and K′K' coincide.)

Poles +1+1 and −2-2, zero −1-1 (n−m=1n - m = 1). R2: (−1,1)(-1, 1) has the pole 11 on its right (odd) ⇒\Rightarrow in L+\mathcal{L}_+; left of −2-2: three singularities on the right ⇒\Rightarrow in L+\mathcal{L}_+; (−2,−1)(-2,-1) is excluded. On the sketch the branch from the pole +1+1 moves left toward the zero −1-1, the branch from −2-2 moves left to −∞-\infty; points K1<K2<K3K_1 < K_2 < K_3 are marked on both branches in order of increasing KK.

The slide then overlays two dashed grey curves, each bounding a desired region for the closed-loop poles, labelled with transient specifications (tr,1∗,ts,1∗,Ms,1∗t_{r,1}^*, t_{s,1}^*, M_{s,1}^* for one region and tr,2∗,ts,2∗,Ms,2∗t_{r,2}^*, t_{s,2}^*, M_{s,2}^* for the other). The idea: a value of KK is acceptable for a given set of specifications only if the poles at that KK fall inside the corresponding region; the locus shows which gains do so.

Example 4: G(s)=s+1(s−1)(s−2)=s+1s2−3s+2G(s) = \dfrac{s+1}{(s-1)(s-2)} = \dfrac{s+1}{s^2 - 3s + 2}, multiple points

Here N=s+1N = s + 1, D=s2−3s+2D = s^2 - 3s + 2, so N′=1N' = 1 and D′=2s−3D' = 2s - 3; n−m=1n - m = 1, hence one asymptote (the negative real axis).

Real axis (R2): (1,2)(1, 2) has the pole 22 on its right (odd) ⇒\Rightarrow in L+\mathcal{L}_+; (−1,1)(-1, 1) has two poles on its right (even) ⇒\Rightarrow not in; left of −1-1 three singularities (odd) ⇒\Rightarrow in. The two poles at 11 and 22 move toward each other along (1,2)(1, 2), meet, leave the axis, go around the zero in a loop, and come back onto the real axis to the left of the zero; one goes to the zero at −1-1, the other to −∞-\infty.

Multiple points: solve N′D=ND′N'D = ND':

1⋅(s2−3s+2)=(s+1)(2s−3) ⇒ s2−3s+2=2s2−s−3 ⇒ s2+2s−5=0,1\cdot(s^2 - 3s + 2) = (s+1)(2s - 3) \ \Rightarrow\ s^2 - 3s + 2 = 2s^2 - s - 3 \ \Rightarrow\ s^2 + 2s - 5 = 0,

sˉ1,2=−1±6,sˉ1≃1.5,sˉ2≃−3.5.\bar s_{1,2} = -1 \pm \sqrt{6}, \qquad \bar s_1 \simeq 1.5, \quad \bar s_2 \simeq -3.5.

Check that each lies in L+\mathcal{L}_+ with Kˉ=−D(sˉ)/N(sˉ)≥0\bar K = -D(\bar s)/N(\bar s) \ge 0:

Kˉ1=−D(sˉ1)N(sˉ1)≃0.1>0⇒sˉ1∈L+,Kˉ2=−D(sˉ2)N(sˉ2)≃9.9>0⇒sˉ2∈L+.\bar K_1 = -\frac{D(\bar s_1)}{N(\bar s_1)} \simeq 0.1 > 0 \Rightarrow \bar s_1 \in \mathcal{L}_+, \qquad \bar K_2 = -\frac{D(\bar s_2)}{N(\bar s_2)} \simeq 9.9 > 0 \Rightarrow \bar s_2 \in \mathcal{L}_+.

Both are genuine multiple points: sˉ1≃1.5\bar s_1 \simeq 1.5 is where the branches leave the real axis (breakaway, small gain ≃0.1\simeq 0.1) and sˉ2≃−3.5\bar s_2 \simeq -3.5 is where they return to it (gain ≃9.9\simeq 9.9).

Versione ripasso

Setting. Loop with C(s)=KC(s) = K, G=N/DG = N/D, m=deg⁡Nm = \deg N, n=deg⁡Dn = \deg D; W=KND+KNW = \dfrac{KN}{D + KN}. Poles of WW = roots of PK(s)=D(s)+KN(s)P_K(s) = D(s) + K N(s). Assumptions: N,DN, D coprime, n≥mn \ge m, both monic (w.l.o.g.; with K′=Kbm/anK' = K b_m/a_n, i.e. K=anbmK′K = \tfrac{a_n}{b_m}K').

Definition. L+={s∈C:∃K≥0, PK(s)=0}\mathcal{L}_+ = \{ s \in \mathbb{C} : \exists K \ge 0,\ P_K(s) = 0 \} = possible poles of WW for C=K≥0C = K \ge 0.

Characteristics

  • C1: nn directed curves (branches), oriented by increasing KK (roots depend continuously on coefficients).
  • C2: symmetric about the real axis (real coefficients).
  • C3: L+\mathcal{L}_+ contains the poles of GG (K=0K = 0); L+‾\overline{\mathcal{L}_+} contains the zeros of GG (K→+∞K \to +\infty).

Sketching rules

  • R1: each pole of GG generates a branch; each zero attracts one; mm branches end at zeros, n−mn - m go to infinity. Multiplicity ℓ\ell = ℓ\ell coincident singularities.
  • R2: a real point is in L+\mathcal{L}_+ iff it has an odd number of poles plus zeros of GG on its right. If n−mn - m is odd, a branch goes to −∞-\infty along the negative real axis.
  • R3: n−mn - m asymptotes from the centroid σc=∑pi−∑zℓn−m\sigma_c = \dfrac{\sum p_i - \sum z_\ell}{n - m}, dividing the plane into n−mn - m equal sectors; negative real axis is an asymptote if n−mn - m is odd, a bisector if even. n−m=0n - m = 0: none; 22: vertical line; 33: 120∘120^\circ; 44: 45∘45^\circ.
  • R4: multiple points satisfy N′(sˉ)D(sˉ)=N(sˉ)D′(sˉ)N'(\bar s)D(\bar s) = N(\bar s)D'(\bar s) and Kˉ=−D(sˉ)/N(sˉ)≥0\bar K = -D(\bar s)/N(\bar s) \ge 0 (derived from PK=0=PK′P_K = 0 = P_K'). At a multiple point of multiplicity ℓ\ell: Kˉ=0\bar K = 0 gives ℓ\ell outgoing branches along ℓ\ell equally spaced rays; Kˉ=+∞\bar K = +\infty gives ℓ\ell incoming; intermediate Kˉ\bar K gives ℓ\ell in and ℓ\ell out on 2ℓ2\ell equally spaced rays, alternating.

Design use. Steady state: CC gives HH the right poles. Transient: CC places the poles of WW in the region σ≥σ∗\sigma \ge \sigma^*, ωn≥ωn∗\omega_n \ge \omega_n^*, ξ≥ξ∗\xi \ge \xi^* (tr≃1.8/ωnt_r \simeq 1.8/\omega_n, ts≃4.6/σt_s \simeq 4.6/\sigma, Ms=f(ξ)M_s = f(\xi)). Stability: a branch crossing the imaginary axis at 00 gives KcrK_{cr} from PKcr(0)=0P_{K_{cr}}(0) = 0, e.g. D(0)+KcrN(0)=0D(0) + K_{cr}N(0) = 0.

Worked results. G=(s+2)(s−1)(s+1)(s+3)(s+4)G = \dfrac{(s+2)(s-1)}{(s+1)(s+3)(s+4)}: Kcr=12/2=6K_{cr} = 12/2 = 6, stable for 0≤K<60 \le K < 6. G=s+1(s−1)(s−2)G = \dfrac{s+1}{(s-1)(s-2)}: multiple points sˉ=−1±6≃1.5, −3.5\bar s = -1 \pm \sqrt{6} \simeq 1.5,\ -3.5 with Kˉ≃0.1, 9.9\bar K \simeq 0.1,\ 9.9.

Typical mistakes

  • Counting singularities on the left instead of the right in R2.
  • Forgetting that N′,D′N', D' in R4 are derivatives, while on the monic slide they were the normalised polynomials.
  • Accepting a multiple-point candidate without checking Kˉ≥0\bar K \ge 0.
  • Assuming a zero lies on L+\mathcal{L}_+: it belongs only to its closure (K→∞K \to \infty).

Teoria collegata