The Nyquist stability criterion
لم يُترجم بعد؛ يُعرض باللغة الإنجليزية
عن هذا الدرس
Cut the loop, shake it with sines and plot the open loop L(jω) as one curve. Count how many times that curve winds round −1: with Z = N + P that count tells you how many closed-loop poles are unstable, without solving for a single root. One loop, K/(s + 1)³, is stable at K = 4, on the edge at K = 8 and unstable at K = 12.
Is this loop stable?
A gain K = 4 drives the plant G(s) = 1/(s + 1)³, and the output is fed back and subtracted. Stable means every root of 1 + K·G(s) = 0 has a negative real part. Can we tell without solving?
plant G(s) = 1 / (s + 1)³ open loop L(s) = K·G(s), K = 4 closed loop T(s) = L / (1 + L) closed-loop poles: roots of 1 + L(s) = 0 stable ⇔ all of them have real part < 0 Nyquist: decide this from L(jω) alone, the open loop's response to sines.
اقرأ الدرس خطوة بخطوة
Is this loop stable?
A gain K = 4 drives the plant G(s) = 1/(s + 1)³, and the output is fed back and subtracted. Stable means every root of 1 + K·G(s) = 0 has a negative real part. Can we tell without solving?
plant G(s) = 1 / (s + 1)³ open loop L(s) = K·G(s), K = 4 closed loop T(s) = L / (1 + L) closed-loop poles: roots of 1 + L(s) = 0 stable ⇔ all of them have real part < 0 Nyquist: decide this from L(jω) alone, the open loop's response to sines.Everything hinges on −1
Call L(s) = K·G(s) the open loop: the path round the loop with the feedback cut. A closed-loop pole is a value of s where 1 + L(s) = 0, which means L(s) = −1. So −1 is the critical point.
1 + L(s) = 0 ⇔ L(s) = −1 open loop L(s) = K·G(s) what a signal meets going once round the loop, before the minus sign critical point −1 + 0j the whole test asks how L sits relative to this one point.A sine in, a sine out
Feed the open loop a sine at ω = 1 rad/s. Once settled, the output is a sine of the same frequency, 1.414 times as big and 135° behind. That pair is one complex number: L(j1) = −1 − 1j, a dot on the plane.
L(jω) = 4 / (1 + jω)³ ω = 1: (1 + j)³ = −2 + 2j L(j1) = 4 / (−2 + 2j) = −1 − 1j |L| = 4 / 2^1.5 = 1.414 (gain) ∠L = −3·atan(1) = −135° (phase) input cos(t) output 1.414·cos(t − 135°)Sweep ω: the Nyquist plot
Turn ω from 0 to ∞ and follow the dot. It starts at 4, the phase falls toward −270° and the gain toward 0. It crosses the negative real axis at ω = √3 ≈ 1.73 rad/s, at −0.5. That is the Nyquist plot.
ω |L| ∠L L(jω) 0 4.000 0° 4 1 1.414 −135° −1 − 1j √3 0.500 −180° −0.5 ← crossing ∞ 0 −270° 0 phase −180° when 3·atan(ω) = 180°: atan(ω) = 60°, ω = √3 = 1.73 rad/s |L| = 4 / (1 + 3)^1.5 = 4/8 = 0.5Close the curve
The s-plane is a map of every complex s; unstable poles live in its right half. Walk s clockwise round that half: up the jω axis, then round a huge arc. Turning the knob below zero gives the mirror image; the arc squeezes to 0.
Nyquist contour: s goes clockwise round the right half plane up the jω axis ω = −∞ … 0 … +∞ round a huge arc |s| → ∞ L(−jω) = conjugate of L(jω): the mirror image on the arc: L ≈ 4 / s³ → 0 the image of the contour is one closed curveCount the turns round −1
Pin a needle at −1, pointing at the dot. Walk the dot once round the closed curve; the needle's net clockwise turns are N. The curve crosses at −0.5, right of −1, so the needle swings and comes back: N = 0.
N = net clockwise turns of the needle from −1 to L(s), once round the contour = clockwise encirclements of −1 by L K = 4: crossing at −0.5 (right of −1) needle swings, then unwinds N = 0Why counting works
The needle points along 1 + L(s). As s circles the right half plane, each zero of 1 + L inside adds one clockwise turn, each pole inside one anticlockwise turn. Zeros of 1 + L are closed-loop poles; its poles are L's poles.
argument principle (Cauchy): s goes once clockwise round a closed path F(s) turns clockwise round 0 (zeros of F inside) − (poles of F inside) times F(s) = 1 + L(s) zeros of F = closed-loop poles poles of F = poles of L (open loop) F round 0 = L round −1: the needleZ = N + P
So Z = N + P. P counts open-loop poles in the right half plane: none, all three sit at −1. Z counts closed-loop poles there. N = 0 and P = 0 give Z = 0: stable. Check the roots: −0.206 ± 1.375j, −2.587.
Z = N + P Z closed-loop poles in the right half plane N clockwise encirclements of −1 by L P open-loop poles in the right half plane K = 4: N = 0, P = 0 → Z = 0 stable check: (s + 1)³ = −4 s = −0.206 ± 1.375j, −2.587K = 12: two turns
Raise K to 12. The same shape grows three times bigger and now crosses at −1.5, left of −1. The needle makes two full clockwise turns: N = 2, so Z = 2 + 0 = 2. Two closed-loop poles are unstable: 0.145 ± 1.983j.
K = 12: crossing at −12/8 = −1.5 (left of −1) N = 2, P = 0 → Z = 2 unstable check: (s + 1)³ = −12 s = 0.145 ± 1.983j, −3.289 the step response would grow and swing at about 2 rad/sK = 8: right through −1
At K = 8 the curve passes through −1 at ω = √3. A sine there returns the same size, upside down; the minus sign flips it back, so it feeds itself. Poles ±j√3: the edge, the same K < 8 limit Routh gives.
K = 8, ω = √3: L = 8/8 at −180° = −1 output = −1 × input, minus sign → +input the loop sustains a sine on its own check: (s + 1)³ = −8 s = ±1.732j, −3 (marginal) Routh on s³ + 3s² + 3s + 1 + K: stable for −1 < K < 8Count it in Python
Automate the count: step ω along the whole axis, add up the small changes in the needle's angle, and divide by a full turn. Pure Python with cmath gives N = 0 at K = 4 and N = 2 at K = 12.
import cmath, math def L(w, K): # the open loop K / (s + 1)^3 at s = jw return K / (1j * w + 1) ** 3 def turns(K, n=100000): # clockwise turns of the needle from -1 to L ws = [math.tan(math.pi * (i / n - 0.5)) for i in range(1, n)] a = [cmath.phase(L(w, K) + 1) for w in ws] d = sum((y - x + math.pi) % (2 * math.pi) - math.pi for x, y in zip(a, a[1:])) return round(-d / (2 * math.pi)) print(L(1, 4)) for K in (4, 12): print('K', K, 'N', turns(K)) # (-1-1j) # K 4 N 0 # K 12 N 2
أسئلة سريعة: 5
اختر إجابة واحدة لكل سؤال. يمكنك تغيير اختياراتك قبل التحقق منها.
01Why is the point −1 special in the Nyquist plane?
The closed-loop poles are the roots of 1 + L(s) = 0, that is L(s) = −1. The criterion asks how the image of the right half plane under L sits around that one point.
02The open loop has no right-half-plane poles (P = 0) and its Nyquist plot circles −1 twice clockwise. How many closed-loop poles are in the right half plane?
Z = N + P = 2 + 0 = 2. For K = 12 the check agrees: the closed-loop poles are 0.145 ± 1.983j, −3.289, two with positive real part.
03Why does counting turns of a needle pinned at −1 tell you about closed-loop poles?
The needle points along 1 + L(s). As s goes once clockwise round the right half plane, it turns once clockwise for each zero of 1 + L inside and once anticlockwise for each pole inside. Its zeros are the closed-loop poles and its poles are the open-loop poles, so net clockwise turns N = Z − P.
04The plot of L(jω) for ω from 0 to ∞ is only half the story. How is the closed curve finished?
L(−jω) is the complex conjugate of L(jω), so negative ω draws the mirror image across the real axis. On the huge arc |s| → ∞ and L ≈ K/s³ → 0, so the arc maps to the single point 0 and the two halves join into one closed curve.
05For this loop, at which gain does the Nyquist plot pass exactly through −1?
At ω = √3 the plot is at −K/8, so K = 8 puts it on −1. The closed-loop poles are then ±j√3 and −3: the edge. Routh on s³ + 3s² + 3s + 1 + K gives the same limit, K < 8.
المسرد
- Open loop L(s)
- The transfer function met going once round the loop with the feedback cut, here L(s) = K·G(s). Its frequency response L(jω) is what the Nyquist plot draws.
- Critical point
- The point −1 + 0j in the Nyquist plane. A closed-loop pole is a value of s with L(s) = −1.
- Nyquist contour
- A closed path in the s-plane that runs clockwise round the whole right half plane: up the jω axis and back round a very large arc, with small detours round any poles on the axis.
- Nyquist plot
- The image of the Nyquist contour under L(s): the curve L(jω) for ω from −∞ to +∞, plus the image of the large arc.
- Encirclement
- One full turn of the Nyquist plot round the point −1. N counts the net clockwise turns.
- Z = N + P
- Z is the number of closed-loop poles in the right half plane, N the clockwise encirclements of −1 and P the open-loop poles in the right half plane. Stable needs Z = 0.
- Argument principle
- As s goes once clockwise round a closed path, F(s) turns clockwise round 0 as many times as (zeros of F inside) minus (poles of F inside).
الملاحظات والمصادر
- Every point on the Nyquist plane is L(jω) = K / (1 + jω)³ computed exactly; the sines are the exact steady-state output, |L|·cos(ωt + ∠L). Turn counts come from adding the needle's angle changes along the sampled contour.
- Sign conventions differ between books. Here the contour runs clockwise round the right half plane and N counts clockwise encirclements, so Z = N + P, as in Ogata §7-5. Nise counts anticlockwise turns and writes N = P − Z: the same rule with the sign of N flipped.
- If L has poles on the jω axis (an integrator, say), the contour takes a tiny detour round them and the curve picks up a large arc. This loop has none, so the plain contour works.
- The Python uses only the standard library. With python-control installed, ct.nyquist_response(ct.tf([12], [1, 3, 3, 1])).count returns the number of encirclements of −1.
- N. S. Nise, Control Systems Engineering, 8th ed., Wiley (ch. 10 Frequency Response Techniques; the Nyquist criterion from §10.3)
- K. Ogata, Modern Control Engineering, 5th ed., Pearson (§7-5 Nyquist stability criterion)
- G. F. Franklin, J. D. Powell, A. Emami-Naeini, Feedback Control of Dynamic Systems, 8th ed., Pearson (ch. 6, the frequency-response design method)
- MIT OpenCourseWare 16.06 Principles of Automatic Control (S. Hall): Nyquist criterion
- MIT OpenCourseWare 6.302 Feedback Systems (Roberge, Dawson, Lundberg): Nyquist criterion
- Nyquist stability criterion (Wikipedia)
- python-control documentation: control.nyquist_response
- Python documentation: cmath (phase)
اختبار يتاح بعد الخطوة الأخيرة.