Reducing block diagrams to one block
About this lesson
A real loop is drawn as many blocks, junctions and loops. Three rules turn it into one block: parallel paths add, blocks in series multiply, and a negative-feedback loop becomes G/(1 + GH). Follow a motor position loop as its parts slide together into T(s) = (2s + 1)/(s³ + 2s² + 2s + 1), then check that the full diagram and the one block give the same step response.
One block from R to Y
This diagram holds a motor shaft at the angle we ask for. R(s) is the angle asked for, Y(s) the angle we get. Our job: replace every block, junction and loop with one block, T(s) = Y(s)/R(s). The plot shows its output.
R(s) angle asked for (input) Y(s) shaft angle (output) full diagram 5 blocks, 3 junctions, 2 loops goal one block T(s) = Y(s)/R(s) The plot shows the full diagram's answer to a unit step R = 1. Any reduction must give exactly the same curve.
Read the lesson step by step
One block from R to Y
This diagram holds a motor shaft at the angle we ask for. R(s) is the angle asked for, Y(s) the angle we get. Our job: replace every block, junction and loop with one block, T(s) = Y(s)/R(s). The plot shows its output.
R(s) angle asked for (input) Y(s) shaft angle (output) full diagram 5 blocks, 3 junctions, 2 loops goal one block T(s) = Y(s)/R(s) The plot shows the full diagram's answer to a unit step R = 1. Any reduction must give exactly the same curve.Blocks multiply, circles add
A block multiplies its input by its transfer function: out = G(s) × in. A circle adds its inputs with the signs shown. A dot copies a signal unchanged. Reducing a diagram is just this algebra, one piece at a time.
block out = G(s) · in circle out = (+ in1) (− in2) ... dot pickoff: the same signal goes two ways motor G = 1/(s + 1) tachometer H = 1 shaft 1/s (speed → angle)Rule 1: parallel paths add
The controller splits the error into two paths, a gain of 2 and an integrator 1/s, then adds them. Paths whose outputs are added combine by adding: C(s) = 2 + 1/s = (2s + 1)/s.
parallel: out = G1·in + G2·in = (G1 + G2)·in C(s) = 2 + 1/s = 2s/s + 1/s = (2s + 1)/s # python (full program on step 7) C = parallel(([2], [1]), ([1], [1, 0])) # ([2, 1], [1, 0])Rule 2: close the inner loop
The tachometer feeds the motor speed back. Call the motor G = 1/(s + 1) and the tachometer H = 1. Around the loop out = G·(in − H·out), so out/in = G/(1 + GH) = 1/(s + 2).
loop: out = G·(in − H·out) out·(1 + GH) = G·in out/in = G/(1 + GH) G = 1/(s + 1), H = 1: (1/(s + 1)) / (1 + 1/(s + 1)) = 1/(s + 1 + 1) = 1/(s + 2) A plus sign at the circle would give G/(1 − GH) instead.Rule 3: series blocks multiply
The inner loop's speed drives the shaft, which turns speed into angle: 1/s. When one block feeds the next, multiply: P(s) = 1/(s + 2) × 1/s = 1/(s² + 2s).
series: out = G2·(G1·in) = (G1·G2)·in P(s) = 1/(s + 2) · 1/s = 1/(s² + 2s) # python P = series(inner, ([1], [1, 0])) # ([1], [1, 2, 0])Series again: the forward path
The controller and the plant are now in a row too, so multiply again: G(s) = C(s)·P(s) = (2s + 1)/(s³ + 2s²). This is the forward path, from the error at the first circle to the output.
G(s) = C(s) · P(s) = (2s + 1)/s · 1/(s² + 2s) = (2s + 1)/(s³ + 2s²) What is left: one block G(s) inside one unity-feedback loop.Rule 2 again: the outer loop
The output is fed straight back and subtracted at the first circle: unity feedback, H = 1. So T = G/(1 + G). Multiply top and bottom by s³ + 2s²: T(s) = (2s + 1)/(s³ + 2s² + 2s + 1). One block.
T = G/(1 + G), G = (2s + 1)/(s³ + 2s²) = (2s + 1)/(s³ + 2s² + 2s + 1) def mul(a, b): # polynomials: coefficient lists, highest power first out = [0] * (len(a) + len(b) - 1) for i, x in enumerate(a): for j, y in enumerate(b): out[i + j] += x * y return out def add(a, b): n = max(len(a), len(b)) a, b = [0] * (n - len(a)) + a, [0] * (n - len(b)) + b return [x + y for x, y in zip(a, b)] series = lambda g, h: (mul(g[0], h[0]), mul(g[1], h[1])) parallel = lambda g, h: (add(mul(g[0], h[1]), mul(h[0], g[1])), mul(g[1], h[1])) feedback = lambda g, h: (mul(g[0], h[1]), add(mul(g[1], h[1]), mul(g[0], h[0]))) C = parallel(([2], [1]), ([1], [1, 0])) # 2 + 1/s inner = feedback(([1], [1, 1]), ([1], [1])) # motor, tachometer P = series(inner, ([1], [1, 0])) # then the shaft 1/s G = series(C, P) T = feedback(G, ([1], [1])) # unity feedback print(T) # ([2, 1], [1, 2, 2, 1])Same output, one block
Push a unit step into both. The full diagram, simulated block by block, and the one block T(s) draw the same curve: peak 1.43 at 2.89 s, settling at 1 because T(0) = 1. Reduction changes the drawing, never the behaviour.
T(0) = 1/1 = 1 → the output ends at R = 1 peak 1.43 at t = 2.89 s 2 % settling 8.3 s import math # unit step through T(s), by partial fractions y = lambda t: 1 + math.exp(-t) - 2 * math.exp(-t / 2) * math.cos(math.sqrt(3) / 2 * t) ts = [i / 1000 for i in range(20001)] tp = max(ts, key=y) print(round(tp, 2), round(y(tp), 2)) # 2.89 1.43The poles come out on top
The bottom of T(s) factors as (s + 1)(s² + s + 1), so the closed-loop poles are −1 and −0.5 ± 0.87j. They decide how the response moves, as in Poles and zeros on the s-plane. The tangled diagram hid them.
s³ + 2s² + 2s + 1 = (s + 1)(s² + s + 1) poles s = −1 s = −0.5 ± 0.87j zero s = −0.5 (from 2s + 1) Step response, by partial fractions: y(t) = 1 + e^(−t) − 2·e^(−t/2)·cos(0.87 t)
5 quick questions
Choose one answer per question. You can change your choices before checking them.
01Two blocks, 3 and 1/(s + 1), sit in a row: the first feeds the second. What single block replaces them?
Blocks in series multiply: 3 × 1/(s + 1) = 3/(s + 1).
02Two blocks, 2 and 1/s, both take the same input and a junction adds their outputs. What single block replaces them?
Parallel paths whose outputs are added combine by adding: 2 + 1/s = (2s + 1)/s.
03A block G = 4/(s + 1) has H = 1 fed back to a junction with a minus sign. What is the closed-loop transfer function?
G/(1 + GH) = (4/(s + 1)) / (1 + 4/(s + 1)) = 4/(s + 1 + 4) = 4/(s + 5).
04A loop reduces to T(s) = 1/(s + 2). Where is its closed-loop pole?
A pole is where the bottom of T(s) is zero: s + 2 = 0 gives s = −2. The same way, the factor (s + 1) in this lesson's T(s) gives the pole s = −1.
05After reducing, how can you check that T(s) = (2s + 1)/(s³ + 2s² + 2s + 1) is right?
Reduction is exact algebra, so both give the same output. Here both peak at 1.43 at 2.89 s and settle at 1, because T(0) = 1.
Glossary
- Block
- A box holding a transfer function G(s). Its output is G(s) times its input.
- Summing junction
- A circle that adds its input signals, each with the sign written next to it.
- Pickoff point
- A dot where a signal is copied unchanged to two or more places.
- Series (cascade)
- Blocks in a row, one feeding the next. They combine by multiplying.
- Parallel
- Blocks that take the same input and whose outputs are added. They combine by adding.
- Feedback rule
- A loop with forward block G and feedback block H, subtracted at the junction, equals one block G/(1 + GH).
- Open-loop (forward path) transfer function
- G(s), everything from the error at the first junction to the output, before the loop is closed.
- Closed-loop transfer function
- T(s) = Y(s)/R(s), the one block that replaces the whole diagram.
Notes and sources
- The motor, tachometer and controller gains are illustrative round numbers, not a measured motor. Every curve and number in the figure is computed from them.
- Rule 2 as written is for negative feedback, a minus sign where the loop returns to the circle: G/(1 + GH). With a plus sign the loop gives G/(1 − GH).
- Bigger diagrams also need moves that shift a summing junction or a pickoff point past a block (Nise ch. 5 lists them). This diagram reduces with the three rules alone.
- Single-input, single-output blocks in a row can be multiplied in any order. With matrices of transfer functions (several inputs and outputs) the order matters.
- The Python is plain Python 3: a transfer function is a pair of coefficient lists, highest power first. python-control's series(), parallel() and feedback() do the same job; feedback() is negative by default.
- N. S. Nise, Control Systems Engineering, 8th ed., Wiley (ch. 5, reduction of multiple subsystems)
- K. Ogata, Modern Control Engineering, 5th ed., Pearson (ch. 2, §2-3)
- G. F. Franklin, J. D. Powell, A. Emami-Naeini, Feedback Control of Dynamic Systems, 8th ed., Pearson
- MIT OpenCourseWare 16.06 Principles of Automatic Control (S. Hall)
- MIT OpenCourseWare 6.302 Feedback Systems (Roberge, Dawson, Lundberg)
- Wikibooks, Control Systems: Block Diagrams (series, parallel and feedback rules)
- python-control: control.feedback (negative feedback by default)
- python-control: control.series
- python-control: control.parallel
Quiz Unlocks after the last step.