D3 · Lesson 4 · Block diagrams
Transfer functions as blocks, combining blocks in series, in parallel and around a feedback loop, nested loops, DC gain from s = 0, and reducing a motor position loop to a second-order system whose natural frequency and damping can be read off
A control engineer's first sketch of any system is a block diagram: boxes for the motor, the amplifier, the sensor and the controller, joined by arrows carrying signals, with circles where signals add or subtract. Each box holds a transfer function, the Laplace-domain ratio of its output to its input (C9). A handful of rules collapse any diagram into one transfer function from reference to output, and from that single expression come the loop's speed, damping, steady-state error and stability.
- A motor position loop: an amplifier and motor with transfer function (the motor's speed lags its voltage by τ, and position integrates speed), with unity feedback.
- Reducing the loop gives , a second-order system with and .
- Raising the gain K speeds the loop but lowers its damping: the classic trade-off.
Predict
A motor with τ = 0.1 s sits in a unity-feedback position loop with gain K = 10. What's the closed loop's damping ratio?
The loop reduces to . Dividing by τ: , so = 10 rad/s and = 10, ζ = 0.5. Quadrupling K to 40 doubles but halves ζ to 0.25.
Name it
Combining blocks
- Series: blocks in a chain multiply, .
- Parallel: paths that join at a summing junction add, .
- Feedback: a forward path G with feedback H subtracted at the input gives
Nested loops reduce from the inside out: replace the inner loop by its closed-loop transfer function, then treat it as a block of the outer loop.
DC gain
Setting s = 0 gives each block's response to a constant. A block with a pole at s = 0 (an integrator, such as position from speed) has infinite DC gain, which is why a type 1 loop like the motor position loop has zero steady-state error to a step.
Reading the result
A closed loop of the form is a standard second-order system: its natural frequency and damping ratio give the overshoot and settling time of lesson 3.
Worked example
A forward path of DC gain 20 has an inner feedback loop of gain 0.5 around it and unity feedback around everything. What's the overall DC gain?
Show the solution
- Inner loop.
- Outer loop.
- Check. It's the same as
- Why it's so low. The inner loop's heavy feedback leaves too little gain for the outer loop to track well.
Answer the overall DC gain is 0.645.
Worked example
In the motor loop with τ = 0.1 s, what gain gives ζ = 0.7, and what's then?
Show the solution
- Set the damping. gives Kτ = 0.510, so K = 5.10.
- Natural frequency.
Answer K = 5.10 gives ζ = 0.7, with = 7.14 rad/s.
Worked example
Two blocks of gain 10 and 5 are in series, with a feedback path of 0.2 from the output back to the input. What is the overall gain?
Show the solution
- Forward path.
- Loop gain.
- Overall gain.
- Compare. That's close to the that a very large loop gain would give.
Answer the overall gain is 4.55.
Check
A forward block of DC gain 20 has feedback of gain 0.1. What's the closed loop's DC gain?
Check
A unity-feedback loop around has K = 20 s⁻¹ and τ = 0.05 s. What's its natural frequency?
Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.
Check
For the same loop (K = 20 s⁻¹, τ = 0.05 s), what's the damping ratio?
Check
A forward block of DC gain 10 has an inner feedback loop of gain 0.05 around it, and unity feedback around the whole thing. What's the overall DC gain?
Check
Blocks of gain 10 and 2 are in series with feedback 0.5 from the output.
(a)
What is the overall gain?
(b)
What is the loop gain?
Check
A motor with τ = 0.1 s is under proportional gain K with unity feedback.
(a)
What K gives ζ = 0.5?
(b)
What is then?
Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.
Explain why
Why does raising the gain of a motor position loop make it faster but less damped?
Closing the loop around the motor and its integrator gives a second-order system whose stiffness comes from the gain and whose damping comes from the motor's own friction and lag, which the gain doesn't change. Raising the gain is like stiffening a spring on a fixed mass and damper: the natural frequency rises with the square root of the gain, so the response gets faster, but the same damping is spread over a faster motion, so the damping ratio falls with the square root of the gain and the response overshoots and rings more. Adding damping through the controller, such as velocity feedback or a derivative term, is how a loop gets both speed and damping.
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.