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 has any zeros in the right half-plane. Finding those zeros can be hard, and often you only have 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 .
- The curve is the Nyquist plot of : the values of 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?
Three times, counterclockwise. Near each zero, f behaves like , and the factor turns once around as z circles . The angles of the three factors add, so f's angle turns three times. Poles inside would each subtract a turn.
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
where Z and P count the zeros and poles inside, each with its multiplicity. Since , the integral measures the change in around C, which is times the change in . So is the number of times winds counterclockwise around the origin.
Rouché's theorem
If everywhere on C, then and have the same number of zeros inside C. The small term g can't pull 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 has closed-loop poles at the zeros of . 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 ),
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 with , the gain can rise by a factor before it touches −1: that's the gain margin.
Worked example
How many zeros does have inside , and how many in the ring ?
Show the solution
- On the unit circle. while . By Rouché, p has as many zeros inside as does: one.
- On |z| = 2. while . So inside , p has as many zeros as : all five.
- None on the unit circle. There , so four zeros lie in the ring.
- No algebra needed. We never solved the quintic.
Answer one zero inside , and four in the ring .
Worked example
For which gains K is the loop stable?
Show the solution
- The stability condition. L has no right-half-plane poles, so the closed loop is stable when the Nyquist plot doesn't encircle −1.
- Where the phase is −180°. That's where the plot crosses the negative real axis: so .
- The gain there.
- Compare with −1. For the crossing is at , 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).
- Check with Routh. Routh's test on gives the same bound, .
Answer the loop is stable for .
Worked example
has an unstable open-loop pole. For which K does feedback stabilize it?
Show the solution
- What's needed. P = 1, so the plot must encircle −1 once counterclockwise.
- The Nyquist plot. traces a circle through 0 and −K, centered at .
- Its direction. It runs counterclockwise as ω increases: at ω = −1 it's at , at ω = 0 at −K, at ω = 1 at .
- When it encircles −1. It does exactly when . Then N = −1 and Z = N + P = 0: stable.
- Check directly. gives , which is in the left half-plane for K > 1.
Answer feedback stabilizes it for .
Check
How many zeros does have inside ?
Check
. What is the largest K for a stable closed loop?
Check
What is the gain margin of , in decibels?
Check
.
(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
. What is around ?
Check
What does Nyquist's criterion need that a root finder doesn't?
Check
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°.
Step 2
Where is at ω = 0?
Check
For , find by bisection the frequency wc in (0.1, 10) where the phase reaches −π, and set Kmax to the gain that makes .
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?
Factor f as , where g is analytic with no zeros inside. The angle of f is the sum of the angles of the factors on top, minus those below, plus the angle of g. As z goes once around C, each factor with inside turns through a full 360°, and each factor whose root is outside comes back to its starting angle. g has no zeros inside, so is analytic there and its angle returns too. So the total change in is , which is the number of turns around the origin.
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.