C9 · Lesson 34 · Block diagrams and feedback
Connecting systems, and what feeding the output back does
Real systems are built from blocks: a sensor, an amplifier, a motor, a controller. In the s-domain, connecting blocks is just algebra: blocks in a chain multiply, blocks side by side add. The most consequential connection is feedback, where the output is measured and subtracted from the input. It's how an op amp gets a precise gain from wildly variable transistors, how a thermostat holds a temperature, and how a rocket balances on its thrust. Feedback moves a system's poles, which means it can make a sluggish system fast, an unstable one stable, or, pushed too hard, a stable one ring.
- A plant , like a motor's position, sits in a unity-feedback loop. The crosses are the open-loop poles and the line is the root locus: where the closed-loop poles go as the gain K rises.
- The dots are the closed-loop poles at the current K. At low K they're real: a slow, smooth response. Past they split into a complex pair and the response overshoots.
- Raise K and the poles climb: faster, but less damped. The readouts give the natural frequency, damping ratio and step-response overshoot.
Predict
An unstable plant is put in a unity-feedback loop with a gain K in front. How large must K be for the loop to be stable?
K > 2. The closed loop is , with its pole at , which is in the left half-plane once K > 2. Feedback pulls the pole across the jω axis, which no amount of open-loop gain could do.
Name it
Connecting blocks
| Connection | Overall transfer function |
|---|---|
| series | |
| parallel | |
| negative feedback, forward G, feedback H |
is the loop gain. Where it's large, the closed loop is about 1/H: set by the feedback path, which can be made of precise resistors, instead of by G.
What feedback buys
- Insensitivity: a fractional change in G changes the closed-loop gain by only of that fraction.
- Speed: for with unity feedback, the closed-loop pole moves from −a to : faster by a factor , at a DC gain of .
- Stabilization: has a closed-loop pole at , stable for K > a.
The price
Higher gain moves poles further, and not always leftward. With the closed loop is , a second-order system with
so more gain means faster but more oscillatory. Plants with more poles can go unstable as K rises, which is where control design (S9) begins.
Worked example
An amplifier with open-loop gain 1000 uses feedback H = 0.01. What is its closed-loop gain, and what happens if the open-loop gain drops 20%?
Show the solution
- Closed-loop gain. close to 1/H = 100.
- With G down 20%. G falls to 800: a change of 2.2% for a 20% change in G.
- First-order estimate.
Answer the closed-loop gain is 90.9, and it falls only 2.2%, to 88.9, when the open-loop gain drops 20%.
Worked example
in unity feedback. Describe the step response at K = 16 and K = 100.
Show the solution
- Damping at K = 16.
- Overshoot at K = 16.
- K = 100. Here and ζ = 0.2, so the overshoot is 53%.
- Compare. Six times the gain: faster, but far more ringing.
Answer at K = 16 the response overshoots 16% (ζ = 0.5); at K = 100 it's faster but overshoots 53% (ζ = 0.2).
Worked example
A plant is in unity feedback. Where is the closed-loop pole, and what is the steady-state error to a step, for K = 9?
Show the solution
- Closed loop.
- Pole. It moves from −1 to : ten times faster.
- Steady-state error. The DC gain is so the output settles at 90% of the command, an error of 1/(1 + K) = 10%.
- The promise of feedback. More gain means a faster loop and a smaller error, which is the basic promise of feedback; an integrator in the loop removes the error entirely.
Answer the closed-loop pole is at −10, and the steady-state error to a step is 10%.
Check
A forward gain of 1000 has feedback H = 0.1. What is the closed-loop gain?
Check
The forward gain 200 drifts by 30%. With feedback H = 0.05, by roughly how many percent does the closed-loop gain change?
Check
in unity feedback.
(a)
Where is the closed-loop pole?
(b)
What is the closed-loop DC gain?
Check
is unstable. Above what K does unity feedback make it stable?
Check
in unity feedback.
(a)
What is the closed loop's natural frequency?
Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.
(b)
What is its damping ratio?
Check
A second-order closed loop has ζ = 0.4. What percent overshoot does its step response show?
Check
and .
(a)
What is the DC gain of the two in series?
(b)
What is the DC gain of the two in parallel?
Check
An amplifier with forward gain 200 uses feedback H = 0.05.
(a)
What is the closed-loop gain?
(b)
By what factor does feedback shrink the effect of a change in G?
Check
with K = 25 and a = 2, in unity feedback.
(a)
What is ?
Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.
(b)
What is ζ?
Explain why
Why does a large loop gain make the closed-loop gain depend on the feedback network instead of the amplifier?
The closed-loop gain is G/(1 + GH). When GH is much larger than 1, the 1 is negligible and the G's cancel, leaving 1/H. Physically, the feedback compares a fraction H of the output with the input and drives the amplifier with the difference; a huge G means only a tiny difference is needed, so the output settles where H times the output nearly equals the input. Changes in G change that tiny difference but barely move the output. Since H is usually a resistor divider, which can be made precise and stable, the whole amplifier inherits that precision.
Practice
Keep practicing
12 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.