S9 · Lesson 4 · Transfer functions and block diagrams
Combining blocks in series, parallel and feedback, the closed-loop transfer functions from reference, disturbance and noise, the characteristic equation, Mason's gain formula, and why pole–zero cancellations hide trouble
A control system is a few blocks wired in a loop: a controller, an actuator, the plant, a sensor. Each block is a transfer function, and the algebra of block diagrams turns the whole loop into one transfer function from any input to any output. The denominator that appears every time, , holds the loop's fate: its roots are the closed-loop poles. This lesson builds the algebra and uses it to see how feedback speeds up a slow plant.
- A first-order plant with = 20 and τ = 16 ms (the motor of lesson 2) under proportional control .
- The closed loop is first order too, with DC gain and time constant : more gain makes it faster and more accurate.
- The dashed curve is the plant alone, scaled to reach 1. The loop's speed comes from overdriving the plant at first, which a real amplifier can do only up to its limits.
Predict
The motor gets proportional control with = 0.5. What's the closed loop's time constant?
, a pole at −11/0.016 = −688 s⁻¹: time constant 16/11 = 1.45 ms, eleven times faster than the plant, with DC gain 10/11 = 0.91.
Name it
Combining blocks
Series blocks multiply, parallel blocks add, and a forward path G with feedback H through a summing junction with a minus sign gives
The loop's transfer functions
With controller C, plant P, unity sensor and loop gain , from each input to the output y and the error e:
| From | To y | To e |
|---|---|---|
| Reference r | ||
| Disturbance at the plant's input | ||
| Disturbance at the output | ||
| Sensor noise n |
Every one shares the denominator . The characteristic equation gives the closed-loop poles.
Mason's gain formula
For a diagram with forward paths and loops , , with (sums over sets of loops that don't touch), and is Δ with the loops touching path k removed. For a loop inside a loop: .
Cancellations
If C has a zero exactly on an unstable pole of P, the pole disappears from T but not from the loop: it's still in , so a disturbance at the plant's input makes the output blow up. Never cancel an unstable pole.
Worked example
A loop has an inner loop ( = 4 with feedback = 0.25) inside an outer one ( = 5 ahead of it, feedback = 0.5). What's the DC gain?
Show the solution
- Reduce the inner loop.
- Close the outer loop.
- Check with Mason's formula. It gives the result at once:
Answer the DC gain is 1.667.
Worked example
A load torque enters the motor loop at the plant's input, where it would cost 20 rad/s of speed per unit without control. With = 0.5, how much speed does it cost?
Show the solution
- Disturbance path. The disturbance reaches the output through , whose DC value is per unit: eleven times less.
- What would remove it. Proportional control doesn't remove it entirely; an integrator would.
Answer the load costs 1.82 rad/s of speed per unit, eleven times less than without control.
Worked example
A plant P = 2 has a feedback controller C = 5 and a feedforward path F from the reference straight to the plant's input. What closed-loop gain results, and what F makes it exactly 1?
Show the solution
- Mason's formula. There are two forward paths, PC and PF, both touching the one loop −PC, so
- Without feedforward. With F = 0:
- Choose F. With : exactly.
- Why it works. The feedforward supplies the input the plant needs, and feedback only has to correct what the model gets wrong.
Answer : 0.909 with no feedforward, and exactly 1 with F = 1/P = 0.5.
Check
A plant with τ = 50 ms gets proportional control = 5. What's the closed-loop time constant?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
What's the DC gain of the closed loop around with = 1?
Check
An inner loop = 4 with feedback = 1 sits inside an outer loop: = 2, feedback = 0.5. What's the overall DC gain?
Check
A loop gain with K = 4 and a = 4. What's the closed loop's damping ratio?
Check
A disturbance of 1 units enters at the input of a plant with DC gain 4, under proportional control = 3. How much does it change the output at DC?
Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.
Check
A forward gain G = 100 has a sensor gain H = 0.1 in its feedback path. What's the closed-loop gain?
Check
A plant of DC gain 2 is under proportional control = 1 with unity feedback.
(a)
What is the closed-loop DC gain from reference to output?
(b)
What DC gain does a disturbance at the plant's input see?
(c)
And sensor noise (in magnitude)?
Check
A forward gain a sits ahead of an inner loop (forward b, feedback d); the outer loop's feedback is c.
Step 1
What is the inner loop's gain?
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
What is the overall gain?
Explain why
Why is it dangerous to cancel an unstable plant pole with a controller zero?
On paper the zero and the pole divide out of the loop gain, so the transfer function from reference to output looks stable. But the cancellation only hides the pole from that one transfer function. A disturbance entering at the plant's input, or any initial condition in the plant, still excites the unstable mode, and the controller can't see or act on it because its zero blocks exactly that signal. In practice the cancellation is never exact either, so the closed loop keeps a pole very near the unstable one. The pole has to be moved by feedback, not covered up.
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.