ENع
→Root locus sketching rules
الدرس 26 · Root locus

Sketching rules: branches, asymptotes and the real axis

لم يُترجم بعد؛ يُعرض باللغة الإنجليزية

18 دقيقة9 خطوات5 أسئلةIntermediate
عن هذا الدرس

You do not have to solve a fourth-order polynomial to know roughly where its roots go. Put a gain K in front of G(s) = (s + 3) / (s(s + 1)(s + 2)(s + 4)) and read the sketch straight from the poles and the zero: how many branches there are, where they start and end, which pieces of the real axis they use, and the straight-line asymptotes the far branches follow. Then turn up the gain and watch the real roots obey every rule.

ستتعلّم

حدّد ما تشعر بأنك أتقنته. هذا التقييم الذاتي لا يؤثر في درجة الدرس.

شكل 26 · تفاعلي
01 / 09

A gain inside a loop

A gain K drives the plant G(s) = (s + 3) / (s(s + 1)(s + 2)(s + 4)), and the output is fed back. The closed-loop poles solve 1 + K·G(s) = 0. Five rules sketch where they go as K grows.

closed loop  T(s) = K·G(s) / (1 + K·G(s))

poles of T:  1 + K·G(s) = 0
  s(s + 1)(s + 2)(s + 4) + K(s + 3) = 0
  s⁴ + 7s³ + 14s² + (8 + K)s + 3K = 0

open-loop poles  0, -1, -2, -4    n = 4
open-loop zero   -3               m = 1

the root locus = every place these four
roots can be, for K from 0 upward
جارٍ تحميل الرسم…
أو ← →
اقرأ الدرس خطوة بخطوة
  1. A gain inside a loop

    A gain K drives the plant G(s) = (s + 3) / (s(s + 1)(s + 2)(s + 4)), and the output is fed back. The closed-loop poles solve 1 + K·G(s) = 0. Five rules sketch where they go as K grows.

    closed loop  T(s) = K·G(s) / (1 + K·G(s))
    
    poles of T:  1 + K·G(s) = 0
      s(s + 1)(s + 2)(s + 4) + K(s + 3) = 0
      s⁴ + 7s³ + 14s² + (8 + K)s + 3K = 0
    
    open-loop poles  0, -1, -2, -4    n = 4
    open-loop zero   -3               m = 1
    
    the root locus = every place these four
    roots can be, for K from 0 upward
  2. Rule 1: start on the open-loop poles

    At K = 0 the K(s + 3) term vanishes, so the closed-loop poles sit exactly on the open-loop poles: 0, −1, −2 and −4. Four poles, so four branches. Nudge K up and each one slides off its ×.

    K = 0:  s(s + 1)(s + 2)(s + 4) = 0
            s = 0, -1, -2, -4
    
    number of branches = number of open-loop poles
                       = n = 4
    
    K = 0.4 (the nudge):
      -0.207, -0.692, -2.085, -4.017
  3. Rule 2: end on a zero or at infinity

    For a huge K, divide the equation by K: only s + 3 = 0 is left. So one branch ends on the zero ○ at −3. Four branches but only one zero: the other 4 − 1 = 3 run off to infinity.

    s(s + 1)(s + 2)(s + 4) / K + (s + 3) = 0
    
    K → ∞:  s + 3 = 0   →   s = -3
    
    1 branch ends on the zero at -3
    n - m = 4 - 1 = 3 branches end at infinity
  4. Rule 3: the real axis

    Slide a test point along the real axis and count the real poles and zeros to its right. An odd count puts it on the locus; even, not. That gives three pieces: −1 to 0, −3 to −2, and left of −4.

    test point x   poles+zeros to its right   on?
      -0.5          1  (0)                     yes
      -1.5          2  (0, -1)                 no
      -2.5          3  (0, -1, -2)             yes
      -3.5          4  (+ zero -3)             no
      -5            5  (+ pole -4)             yes
    
    why: each pole or zero to the right adds 180°
    to the angle of G(x); the locus needs an odd
    multiple of 180°. Complex pairs cancel out.
  5. Rule 4: where the asymptotes meet

    The three branches going to infinity follow straight lines called asymptotes. They meet on the real axis at the centroid: σa = (sum of poles − sum of zeros) / (n − m) = (−7 − (−3)) / 3 = −4/3.

    sum of poles   0 - 1 - 2 - 4 = -7
    sum of zeros   -3
    
    σa = (-7 - (-3)) / (4 - 1)
       = -4 / 3 = -1.33
  6. Rule 5: the asymptote angles

    Their angles are (2k + 1)·180° / (n − m) for k = 0, 1, 2: 60°, 180° and 300°. One branch heads left along the axis. Two leave at ±60°, mirror images, because complex poles come in conjugate pairs.

    θk = (2k + 1)·180° / (n - m),  n - m = 3
    
    k = 0   60°
    k = 1   180°   (along the real axis, left)
    k = 2   300°   (= -60°)
    
    the locus is symmetric about the real axis
  7. Turn up the gain

    Now raise K from 0 to 30. The poles from 0 and −1 meet, leave the axis and bend toward the ±60° lines. −2 slides to −3; −4 runs left. Past K ≈ 9.65 two poles cross into the right half: unstable.

    K = 30:
      0.42 ± 2.49j       (right half: unstable)
      -2.83, -5.00
    
    next lesson (Breakaway points and the
    imaginary-axis crossing):
      the pair leaves the axis at s ≈ -0.435
      (K ≈ 0.535) and crosses the imaginary
      axis at s = ±1.59j, K ≈ 9.65
  8. Why the centroid works

    Add the four closed-loop poles: the sum is −7 for every K, because K never touches the s³ term. For large K one pole sits near −3, so the three far poles must average (−7 + 3) / 3 = −4/3.

    s⁴ + 7s³ + ... : the roots add up to -7
    (K only appears in the s and constant terms)
    
    K = 100:
      1.12 ± 3.86j,  -2.94, -6.30
      sum = -7
      three far poles: average real part -1.35
      (tends to -4/3 as K grows)
  9. Compute the sketch

    Python turns the two lists, poles and zeros, straight into the sketch: the number of branches, the centroid, the asymptote angles and which pieces of the real axis are on the locus. No polynomial solving needed.

    poles = [0, -1, -2, -4]
    zeros = [-3]
    n, m = len(poles), len(zeros)
    centroid = (sum(poles) - sum(zeros)) / (n - m)
    angles = [(2 * k + 1) * 180 / (n - m) for k in range(n - m)]
    def on_locus(x):   # odd count to the right
        return sum(1 for p in poles + zeros if p > x) % 2 == 1
    print(n, round(centroid, 3), angles, [on_locus(x) for x in (-0.5, -1.5, -2.5, -3.5, -5)])
    # 4 -1.333 [60.0, 180.0, 300.0] [True, False, True, False, True]

اختبار يتاح بعد الخطوة الأخيرة.