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

S9 · Lesson 29 · Robustness and model uncertainty

How wrong a model may be: multiplicative uncertainty, the small-gain theorem and the robust stability test |WT| < 1, gain and delay uncertainty, and robust performance

Every controller is designed for a model, and every model is wrong: gains drift with temperature, resonances hide above the frequencies anyone measured, delays change with load. Gain and phase margins (lesson 25) guard against two particular kinds of error, one at a time. Robust control asks the general question: given a bound on how far the real plant may differ from the model at each frequency, is the loop guaranteed to stay stable, and to keep performing? The answer comes from a single inequality on the complementary sensitivity.

  • The solid curve is 20log⁡|T| for a closed loop ωn2/(s2+2ζωns+ωn2) with ζ = 0.5; the dashed curve is −20log⁡|W|, the inverse of an uncertainty weight that's 10% at low frequency and grows past 100% above 10 rad/s, W=0.1(s+1)/(s/20+1).
  • The loop is guaranteed stable for every plant in the set as long as the solid curve stays below the dashed one at every frequency.
  • Raise ωn and T's peak climbs into the region where the model is poor: fast loops need good models at high frequencies.

Predict

A loop's closed-loop gain T peaks at 1.5. The real plant's gain may differ from the model's by an unknown factor at every frequency. How large may that relative error be with stability guaranteed?

Name it

Describing uncertainty

A multiplicative (relative) uncertainty set contains every plant

Ptrue=P(1+WΔ),|Δ(jω)|≤1

where the weight W says how large the relative error may be at each frequency: small at low frequency where the model was measured, near or above 1 where it's unknown. Typical sources:

  • a gain known only within ±r: |W| = r;
  • an unmodeled delay of up to θ: |W|=|e−jωθ−1|=2|sin⁡(ωθ/2)|≤ωθ;
  • neglected fast poles and resonances: |W| rising with frequency.

The small-gain theorem and robust stability

A feedback loop of two stable systems is stable if the product of their peak gains is below one. Applied to the uncertainty seen through the nominal loop, the closed loop is stable for every plant in the set exactly when

|W(jω)T(jω)|<1for all ω

so |T| must stay under 1/|W|. Since T ≈ 1 below crossover, the model must be good there (|W| < 1); above crossover T rolls off and the model may be poor.

Robust performance

Performance is usually a bound on the sensitivity, |WpS|<1, with a weight Wp large where disturbances must be rejected. Keeping it for every plant in the set needs

|WpS|+|WT|<1for all ω

which is harder than nominal performance and robust stability separately, most of all near crossover, where both S and T are near one.

Worked example

A loop has nominal T=1/(s+1) (from L=1/s). What unmodeled delay does the small-gain test guarantee it can tolerate, and what's the exact limit?

Show the solution
  1. The small-gain test. With |W|=2|sin⁡(ωθ/2)|, it needs 2|sin⁡(ωθ/2)|1+ω2<1 at every ω.
  2. Search for the limit. A numerical search finds it holds up to θ = 1.48 s; at θ = 1 s the peak of |WT| is 0.76.
  3. The exact limit. It's the delay margin: PM/ωc=(π/2)/1=1.57s
  4. Compare. The test is only 6% conservative here, because a delay's error really can take any phase as frequency varies.

Answer the small-gain test guarantees 1.48 s of delay, and the exact limit is 1.57 s.

Worked example

A loop has a 9.5 dB gain margin (a factor of 3). The plant's gain is known only within ±50%. What margin survives the worst case, and what does the robust stability test say?

Show the solution
  1. Worst-case gain margin. At 1.5 times the nominal gain: GM=3/1.5=2 or 6.0 dB: still stable.
  2. Robust stability test. At all frequencies it asks for a peak closed-loop gain below 2: |T|<1/0.5=2
  3. How the two compare. The test covers gain errors of any phase as well as real ones, so it is stricter than checking the gain margin, but it also covers the plant's gain drifting differently at different frequencies.

Answer a gain margin of 2 (6.0 dB) survives, and the robust stability test asks for |T|<2 at every frequency.

Worked example

At 0.5 rad/s, the loop L=10/(s(s+1)) must keep |S| below 0.1 (so |Wp| = 10) while the model may be off by 30% (|W| = 0.3). Is robust performance met at that frequency?

Show the solution
  1. Sensitivities at 0.5 rad/s. |S|=0.057,|T|=1.02
  2. Robust performance test. |WpS|+|WT|=0.573+0.307=0.880<1 so it's met.
  3. Where the room went. Nominal performance alone looks comfortable at 0.57, but the uncertainty uses up most of the remaining room.
  4. Larger errors. A model error above 42% there would break the guarantee even though the nominal loop meets its specification.

Answer yes: |WpS|+|WT| = 0.880, below 1, though a model error above 42% would break it.

Check

A closed loop's |T| peaks at 1.3.

(a)

Up to what relative model error, of any phase, is stability guaranteed?

Check

A loop may contain an unmodeled delay of up to 20 ms.

(a)

How large is the relative uncertainty |e−jωθ−1| at 50 rad/s?

(b)

What's the largest |T| allowed at that frequency?

Check

A loop has a gain margin of 3 (a factor) and the plant's gain may be up to 20% higher than modeled.

(a)

What gain margin remains in the worst case?

(b)

In decibels?

Check

At one frequency a loop has |S| = 0.2 and |T| = 0.9; the performance weight is |Wp| = 10 and the uncertainty weight |W| = 0.5.

(a)

What is |WpS|+|WT| there (robust performance needs it below 1)?

Check

Two stable systems in a feedback loop have peak gains 2 and 0.1.

(a)

What is the product the small-gain theorem tests?

(b)

How large could the second system's peak gain be, with the first unchanged, and stability still guaranteed?

Check

A loop L=e−sθ/(τcs) was designed for θ = 0 with τc = 2 s; the actual delay is 0.1 s.

(a)

What phase margin does it have?

(b)

What's the largest delay it could tolerate?

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

Check

Why must a model be accurate near and below the crossover frequency but may be poor far above it?

Check

A loop with |T| = M at frequency w faces a delay uncertainty of up to t seconds, or separately a gain uncertainty of ±r.

Step 1

What is the delay's |W| at w?

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

Write peak_wt(L, W, ws): the largest |W(jω)T(jω)| over the list of frequencies ws, with L and W given as Python functions of the complex s; and max_delay(L, wmin, wmax): the largest θ (by bisection between 0 and 10) for which the small-gain test with |W|=2|sin⁡(ωθ/2)| passes on 4000 log-spaced frequencies from wmin to wmax.

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

Explain why

How does the robust stability condition |WT| < 1 connect to gain and phase margins?

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.