A1221 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A12 · Lesson 21 · The argument principle

Counting zeros inside a curve, and judging a feedback loop's stability from its frequency response

To know whether a feedback loop is stable, you need to know whether 1+L(s) has any zeros in the right half-plane. Finding those zeros can be hard, and often you only have L(jω) as measured data. Complex analysis offers a way around this: you can count the zeros inside a curve without finding them, by watching how many times the function's value winds around the origin as you walk the curve. That's the argument principle, and applied to a feedback loop it becomes Nyquist's criterion, which reads stability straight off a plot of L(jω).

  • The curve is the Nyquist plot of L(s)=K(s+1)3: the values of L(jω) as ω runs from −∞ to ∞. The dot marks −1.
  • The closed loop is stable while the curve does not encircle −1. Raise K: the curve grows, and at K = 8 it passes through −1.
  • The readouts give the gain margin and the real part of the rightmost closed-loop pole, which crosses zero at the same moment.

Predict

A function f is analytic inside and on a circle and has 3 zeros inside it, none on it. As z goes once around the circle counterclockwise, how many times does f(z) wind around the origin?

Name it

The argument principle

If f is analytic inside and on a simple closed curve C, except for poles inside, and has no zeros or poles on C, then

12πj∮Cf′(z)f(z)dz=Z−P,

where Z and P count the zeros and poles inside, each with its multiplicity. Since f′f=(ln⁡f)′, the integral measures the change in ln⁡f around C, which is j times the change in arg⁡f. So Z−P is the number of times f(C) winds counterclockwise around the origin.

Rouché's theorem

If |g|<|f| everywhere on C, then f and f+g have the same number of zeros inside C. The small term g can't pull f+g around the origin, so their winding numbers agree. This locates polynomial roots in rings without solving for them.

Nyquist's criterion

A loop with open-loop gain L(s) has closed-loop poles at the zeros of 1+L(s). Take C to be the Nyquist contour: up the imaginary axis and around a huge half circle through the right half-plane, traversed clockwise. Map it through L. Counting clockwise encirclements of −1 by the plot (encirclements of 0 by 1+L),

Z=N+P,

where P is the number of open-loop poles in the right half-plane, N the number of clockwise encirclements of −1, and Z the number of closed-loop poles in the right half-plane. The loop is stable when Z = 0: an open-loop-stable L must not encircle −1 at all, and an open-loop-unstable one must encircle it counterclockwise once for each unstable pole.

Margins

If the plot crosses the negative real axis at −a with a<1, the gain can rise by a factor 1/a before it touches −1: that's the gain margin.

Worked example

How many zeros does p(z)=z5+3z+1 have inside |z|<1, and how many in the ring 1<|z|<2?

Show the solution
  1. On the unit circle. |3z|=3 while |z5+1|≤2. By Rouché, p has as many zeros inside as 3z does: one.
  2. On |z| = 2. |z5|=32 while |3z+1|≤7. So inside |z|<2, p has as many zeros as z5: all five.
  3. None on the unit circle. There |z5+3z+1|≥3−2=1, so four zeros lie in the ring.
  4. No algebra needed. We never solved the quintic.

Answer one zero inside |z|<1, and four in the ring 1<|z|<2.

Worked example

For which gains K is the loop L(s)=K(s+1)3 stable?

Show the solution
  1. The stability condition. L has no right-half-plane poles, so the closed loop is stable when the Nyquist plot doesn't encircle −1.
  2. Where the phase is −180°. That's where the plot crosses the negative real axis: 3tan−1⁡ω=180° so ω=tan⁡60°=3.
  3. The gain there. |L|=K(1+3)3/2=K8
  4. Compare with −1. For K<8 the crossing is at −K/8, inside −1, and the loop is stable. At K = 8 it passes through −1, and above that it encircles −1 twice clockwise (once for each of the two conjugate poles that cross).
  5. Check with Routh. Routh's test on s3+3s2+3s+1+K gives the same bound, 3⋅3>1+K.

Answer the loop is stable for K<8.

Worked example

L(s)=Ks−1 has an unstable open-loop pole. For which K does feedback stabilize it?

Show the solution
  1. What's needed. P = 1, so the plot must encircle −1 once counterclockwise.
  2. The Nyquist plot. L(jω)=K(−1−jω)1+ω2 traces a circle through 0 and −K, centered at −K/2.
  3. Its direction. It runs counterclockwise as ω increases: at ω = −1 it's at −K2+K2j, at ω = 0 at −K, at ω = 1 at −K2−K2j.
  4. When it encircles −1. It does exactly when K>1. Then N = −1 and Z = N + P = 0: stable.
  5. Check directly. 1+Ks−1=0 gives s=1−K, which is in the left half-plane for K > 1.

Answer feedback stabilizes it for K>1.

Check

How many zeros does z6+5z2+1 have inside |z|<1?

Check

L(s)=K(s+3)3. What is the largest K for a stable closed loop?

Check

What is the gain margin of L(s)=2(s+1)3, in decibels?

Check

L(s)=Ks(s+1)(s+3).

(a)

At what frequency, in rad/s, does its phase reach −180°?

Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.

(b)

What is the largest K for a stable loop?

Check

A loop has 1 open-loop poles in the right half-plane, and its Nyquist plot circles −1 clockwise 1 times. How many closed-loop poles are in the right half-plane?

Check

f(z)=(z−1)3(z+3)z−0.5. What is 12πj∮f′fdz around |z|=2?

Check

What does Nyquist's criterion need that a root finder doesn't?

Check

L(s)=Ks−1 in unity feedback.

Step 1

Where is the closed-loop pole?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

For L(s)=K(s+1)3, find by bisection the frequency wc in (0.1, 10) where the phase −3tan−1⁡ω reaches −π, and set Kmax to the gain that makes |L(jωc)|=1.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Explain why

Why does the number of times f(z) circles the origin count the zeros minus the poles inside the curve?

Practice

Keep practicing

9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.