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

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, 1+L(s), 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 P=K0/(τs+1) with K0 = 20 and τ = 16 ms (the motor of lesson 2) under proportional control Kp.
  • The closed loop is first order too, with DC gain KpK0/(1+KpK0) and time constant τ/(1+KpK0): 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 P=20/(0.016s+1) gets proportional control with Kp = 0.5. What's the closed loop's time constant?

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

G1+GH

The loop's transfer functions

With controller C, plant P, unity sensor and loop gain L=PC, from each input to the output y and the error e:

FromTo yTo e
Reference rT=PC1+PCS=11+PC
Disturbance at the plant's inputP1+PC
Disturbance at the outputS
Sensor noise n−T

Every one shares the denominator 1+L(s). The characteristic equation 1+L(s)=0 gives the closed-loop poles.

Mason's gain formula

For a diagram with forward paths Pk and loops Li, T=∑kPkΔkΔ, with Δ=1−∑Li+∑LiLj−… (sums over sets of loops that don't touch), and Δk is Δ with the loops touching path k removed. For a loop inside a loop: T=G1G21+G2H2+G1G2H1.

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 P/(1+PC), 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 (G2 = 4 with feedback H2 = 0.25) inside an outer one (G1 = 5 ahead of it, feedback H1 = 0.5). What's the DC gain?

Show the solution
  1. Reduce the inner loop. G21+G2H2=42=2
  2. Close the outer loop. T=5×21+5×2×0.5=106=1.667
  3. Check with Mason's formula. It gives the result at once: T=G1G21+G2H2+G1G2H1=201+1+10=1.667

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 Kp = 0.5, how much speed does it cost?

Show the solution
  1. Disturbance path. The disturbance reaches the output through P/(1+PC), whose DC value is P1+PC=201+10=1.82rad/s per unit: eleven times less.
  2. 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
  1. Mason's formula. There are two forward paths, PC and PF, both touching the one loop −PC, so T=P(C+F)1+PC
  2. Without feedforward. With F = 0: T=1011=0.909
  3. Choose F. With F=1/P=0.5: T=2×5.511=1 exactly.
  4. Why it works. The feedforward supplies the input the plant needs, and feedback only has to correct what the model gets wrong.

Answer T=P(C+F)/(1+PC): 0.909 with no feedforward, and exactly 1 with F = 1/P = 0.5.

Check

A plant P=2/(τs+1) with τ = 50 ms gets proportional control Kp = 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 P=3/(τs+1) with Kp = 1?

Check

An inner loop G2 = 4 with feedback H2 = 1 sits inside an outer loop: G1 = 2, feedback H1 = 0.5. What's the overall DC gain?

Check

A loop gain L=K/(s(s+a)) 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 Kp = 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 Kp = 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°.

Explain why

Why is it dangerous to cancel an unstable plant pole with a controller zero?

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.