S9 · Lesson 28 · Sensitivity and fundamental limitations
The sensitivity and complementary sensitivity functions and why they add to one, the waterbed effect and Bode's sensitivity integral, and the limits that right-half-plane zeros, unstable poles and time delays put on any controller
It would be nice to have a loop that rejects every disturbance at every frequency, ignores sensor noise and responds instantly. Mathematics says no. The sensitivity function, which shapes disturbance rejection, and the complementary sensitivity, which passes noise, always add up to one, and Hendrik Bode proved in 1945 that pushing sensitivity down at some frequencies forces it up at others. Some plants make matters worse: a right-half-plane zero caps how fast any controller can make the loop, an unstable pole sets a minimum speed, and a delay caps it again. Knowing these limits tells you when to stop tuning and change the hardware.
- The magnitudes of the sensitivity and the complementary sensitivity for .
- At low frequency |S| is small (good disturbance rejection) and T ≈ 1. At high frequency T is small (sensor noise blocked) and S ≈ 1. Between them, near crossover, both rise.
- Raise K: the low-frequency dip in |S| deepens and widens, and the peak above 0 dB grows. That's the waterbed effect.
Predict
A boost converter has a right-half-plane zero at 18 kHz in its control-to-output response. Roughly how high can its voltage loop's crossover go?
A right-half-plane zero adds phase lag like a pole while raising the gain like a zero, and no controller can cancel it (that would need an unstable controller pole, lesson 4). A common rule keeps the crossover below half the zero, here 9 kHz, and in practice designers aim for a fifth to a third of it.
Name it
Two functions that add to one
S maps output disturbances to the output and the reference to the error; T maps the reference to the output and sensor noise to the output. Since they add to one, they can't both be small at the same frequency: a loop gives up disturbance rejection exactly where it starts rejecting noise.
Bode's sensitivity integral
If L has relative degree at least two and are its right-half-plane poles,
For a stable L the right side is zero: every decibel of attenuation below crossover is paid for by amplification elsewhere. Unstable poles make the bill larger.
Limits from the plant
Rules of thumb for the crossover (Skogestad and Postlethwaite):
- RHP zero at z: .
- RHP pole at p: ; the loop must be fast enough to catch the instability.
- Time delay θ: .
An unstable pole together with an RHP zero forces a peak sensitivity of at least , whatever the controller. When z and p are close, no controller gives a usable loop.
Where these come from in electronics
A boost or buck-boost converter has an RHP zero at (continuous conduction); a magnetic levitation rig and a balancing robot have unstable poles; digital controllers and slow sensors add delay.
Worked example
A boost converter has L = 22 µH, a 10 Ω load and duty cycle 0.5. Where's its RHP zero, and what crossover does that allow?
Show the solution
- RHP zero.
- Crossover limit. The crossover should stay below about 9 kHz.
- Heavy load. It must be lower still at heavy load, since a smaller R lowers the zero.
- High duty cycle. A larger D shrinks and drops the zero fast: at D = 0.75,
Answer the zero is at 18.1 kHz, so the crossover should stay below about 9 kHz, and lower at heavy load or high duty cycle.
Worked example
A plant has an unstable pole at +2 rad/s and an RHP zero at +10 rad/s. What's the best peak sensitivity any controller can reach?
Show the solution
- Sensitivity bound.
- Crossover window. The loop also needs crossover above 2p = 4 rad/s and below z/2 = 5 rad/s, a narrow window.
- A slower zero. Had the zero been at 5 rad/s, the bound would be 2.33 and the window empty.
- The remedy. Change the sensor or actuator location to move the zero.
Answer no controller can get below 1.5, and the crossover must fit between 4 and 5 rad/s.
Worked example
A loop has an unstable plant pole at +2 rad/s and holds |S| at 0.5 from 0 to 5 rad/s. If the amplification Bode's integral demands is spread evenly from 5 to 50 rad/s, how big is it?
Show the solution
- What the integral must equal.
- The attenuated band. From 0 to 5 rad/s it contributes
- What the upper band must supply.
- Spread over 5 to 50 rad/s. The average and the |S| it means: a 1.9 dB rise.
- Compare a stable plant. With the same attenuation it would need only 3.47/45, a 0.7 dB rise: the unstable pole more than doubles the bill.
Answer |S| = 1.24 across 5 to 50 rad/s, a 1.9 dB rise, against 0.7 dB for a stable plant.
Check
At some frequency a loop gain has magnitude 1 and phase −100°. How much are disturbances at that frequency amplified (|S|)?
Check
A loop of relative degree two has right-half-plane poles at +2 and, if not zero, +0 rad/s. What's ?
Check
A plant has an RHP zero at +10 and an RHP pole at +1 rad/s. What's the smallest peak sensitivity achievable?
Check
A boost converter has L = 47 µH, a 5 Ω load and duty cycle 0.3. Where's its right-half-plane zero?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
A stable loop holds |S| at 1/2 for all ω below 1 rad/s. If the compensating rise is spread evenly from 1 to 20 rad/s (and |S| = 1 above), what |S| does that band have?
Check
By the rule , how fast must the loop balancing a 0.5 m inverted pendulum cross over?
Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.
Check
At some frequency a loop gain has magnitude 1 and phase −120°.
(a)
What is |S| there?
(b)
And |T|?
Check
A plant has an RHP zero at z and an RHP pole at p, with z > p.
Step 1
What is the smallest possible peak sensitivity?
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
By the rule of thumb, what is the most the crossover may be?
Step 3
And the least?
Explain why
Why can't a controller simply cancel a plant's right-half-plane zero?
Cancelling a zero at +z would need a controller pole at +z, an unstable controller mode. Even if the cancellation were exact on paper, that mode would still be excited by noise and initial conditions and grow without bound inside the controller, and in practice the plant's zero is never known exactly, so the cancellation would leave a closed-loop pole near +z. The zero stays in every closed-loop transfer function from the reference, which means the output must initially move the wrong way, and the faster the loop tries to respond the larger that wrong-way excursion. That's why an RHP zero caps the achievable bandwidth no matter how the controller is designed.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.