ניתוח בוד וניקויסט
הוצג
8:27
מערכות בקרה
This course closes the loop. Signals and systems gave us the open-loop transfer function; now we ask how to make the output follow the input quickly…
קריינות באנגלית · כתוביות באנגלית ובסינית 中文 שאפשר להחליף ביניהן
בשיעור הזה
| English | משמעות |
|---|---|
| phase margin/feɪz ˈmɑːdʒɪn/ | מרווח פאזי |
| gain crossover/ɡeɪn ˈkrɒsəʊvə/ | מעבר עוצמה |
| gain margin/ɡeɪn ˈmɑːdʒɪn/ | מרווח רבח |
| phase crossover/feɪz ˈkrɒsəʊvə/ | מעבר פאזה |
| Nyquist criterion/ˈnaɪkwɪst kraɪˈtɪərɪən/ | קריטריון נייקוויסט |
| encirclements/enˈsɜːkəlmənts/ | הקפות |
Measure, don't guess
- In industry you rarely know where the poles are. You measure a frequency response instead.
- Margins say how close a loop is to instability, in decibels and degrees. Every datasheet for a control loop quotes them.
The Bode plot
- A Bode plot draws the loop gain $L(j\omega)$ as magnitude in dB and phase in degrees, against log frequency.
- Each pole adds a $-20$ dB/decade slope and up to $-90°$ of phase; each zero does the opposite.
מעל שני תדרי הקוטב שלה, לולאה עם שני קוטבים ואף אינה יורדת במהירות שיפוע של כמה dB לדקה?
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
כל קוטב מוסיף −20 dB לדקה, ולכן שני קוטבים נותנים −40.
Two margins
- Phase margin 相位裕度: at the gain crossover 增益穿越 ($|L| = 1$), how far the phase is above $-180°$.
- Gain margin 幅值裕度: at the phase crossover 相位穿越 ($\angle L = -180°$), how far $|L|$ is below 1. The working rule is $\zeta \approx PM/100$.
לולאה יש גבול פאזי של 60°. הערכו את יחס הריסוך של המערכת הסגורה. נתנו 1 מקום עשרוני.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
$\zeta \approx PM/100 = 0.6$. זוהי כלל עבודה, מדויק לכמה עשיריות למעגלים טיפוסיים.
The Nyquist criterion
- The Nyquist criterion 奈奎斯特准则 plots $L(j\omega)$ and counts clockwise encirclements 包围 $N$ of the point $-1$.
- Then $Z = N + P$ closed-loop poles lie in the right half plane, where $P$ counts the open-loop RHP poles.
למערכת הפתוחה יש קוטב אחד ב-RHP (P = 1), והגרף נייקוויסט מקיף את −1 פעם אחת בשעה ירוקה (N = 1). כמה קוטבי RHP יש למערכת הסגורה?
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
$Z = N + P = 1 + 1 = 2$. כדי ליצב צמח זה, הגרף חייב להקיף את −1 פעם אחת נגד כיוון השעון (N = −1).
Worked example: margins by arithmetic
- $L = \dfrac{100}{s(s+10)}$: $|L| = 1$ at $\omega_{c} = 7.86$ rad/s. The phase there is $-128.2°$, so $PM = 51.8°$; the gain margin is infinite.
- The closed loop $\dfrac{100}{s^{2} + 10s + 100}$ has $\zeta = 0.5$ exactly; the rule predicted 0.52.
![Straight-line Bode plot of 100/[s(s+10)] with the phase margin marked.](/handout-media/university_electrical_engineering/assets/10-bode-margins.png?v=1793069432)
עבור L = 4/[s(s + 2)], מעבר הרווח מתרחש ב-1.572 רד/שניה. מהו גבול הפאזי, בדרגות? נתנו 1 מקום עשרוני.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
הפאזי הוא $-90° - \arctan(1.572/2) = -128.2°$, ולכן $PM = 51.8°$. כמו בדוגמה פותרת, לולאה זו יש $\zeta = 0.5$.
Worked example: one plant, three ways
- $L = \dfrac{20}{s(s+2)(s+4)}$: the phase is $-180°$ at 2.83 rad/s, where $|L| = 20/48$. So $GM = 2.4$ (7.6 dB), and $PM = 25.7°$: 48% overshoot.
- The Nyquist curve crosses the real axis at $-K/48$: right of $-1$ at $K = 20$, through it at 48, and twice round it at 96, giving 2 RHP poles. Routh agrees.
![Nyquist plots of K/[s(s+2)(s+4)] for three gains.](/handout-media/university_electrical_engineering/assets/10-nyquist-criterion.png?v=1793069432)
הצמח הנמשך K/[s(s + 2)(s + 4)] פועל ב-K = 12. מהו גבול הרווח שלו, ב-dB? נתנו מספר שלם קרוב ביותר.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
$GM = 48/12 = 4$, ו-$20\log_{10}4 = 12.0$ dB.
Three common slips
- Margins from the closed loop. They belong to the loop gain $L$, before the loop closes.
- Mixed-up crossovers. PM goes with the gain crossover; GM with the phase crossover.
- Forgetting $P$. If the plant has RHP poles, $N$ alone is not the answer.
גבולי פאזי ורווח נקראים מתגובת התדר של המערכת הסגורה.
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
הם משתייכים לרווח הלולאה L(jω), לפני שהלולאה נסגרת. זה מה שהופך אותם לחיזוי.
התאמו כל כמות למיקום שבו קוראים אותה.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
שני חצות נתינות את שני הגבולות; ספירת ניקוויסט נותנת את התשובה המדויקת.
Recap
- PM at $|L| = 1$; GM at $\angle L = -180°$.
- $\zeta \approx PM/100$ carries margins into the time domain.
| Loop $L(s)$ | PM | GM |
|---|---|---|
| $\dfrac{100}{s(s+10)}$ | 51.8° | infinite |
| $\dfrac{20}{s(s+2)(s+4)}$ | 25.7° | 7.6 dB |
-
The second loop's 25.7° margin means about 48% overshoot.
-
Nyquist: $Z = N + P$, counted around $-1$.
מה השתבש? רק צוות האתר רואה זאת.