Block Diagrams, Signal Flow, and Mason Rule
Real control systems are built from interconnected subsystems. Nise's reduction chapter shows how to collapse block diagrams and signal-flow graphs into equivalent transfer functions, so that the response and stability tools from earlier chapters can be applied. This is where modeling becomes system analysis: motors, sensors, amplifiers, loads, and feedback paths become one closed-loop expression.
The methods here are algebraic, but they are also organizational. A clean block diagram exposes where disturbances enter, where sensor dynamics sit, and which signals are internal. Signal-flow graphs provide a compact alternative when many loops interact. Mason's gain formula is especially useful when block-diagram reduction becomes visually messy.
![]()
Figure: Feedback loop block diagram in control theory. Image: Wikimedia Commons, Inductiveload, public domain.
Definitions
A block diagram represents subsystem transfer functions as directed blocks connected by signals. A summing junction forms a signed algebraic sum. A pickoff point copies a signal without changing it.
For blocks in series,
For blocks in parallel,
when their outputs are added.
For a single negative-feedback loop,
For positive feedback, the denominator becomes .
A signal-flow graph has nodes representing signals and directed branches representing gains. A forward path is a path from input node to output node that does not touch any node more than once. A loop is a closed path that starts and ends at the same node without touching another node more than once. Non-touching loops share no nodes.
Mason's gain formula gives the overall transfer function:
where is the gain of the th forward path,
with products taken over non-touching loops, and is with all loops touching the th forward path removed.
Key results
Moving summing junctions and pickoff points changes local block labels but must preserve every signal equation. Two common transformations are:
| Move | Required change |
|---|---|
| Move pickoff before a block to after it | add in copied branch |
| Move pickoff after a block to before it | add in copied branch |
| Move summing junction before a block to after it | multiply side input by |
| Move summing junction after a block to before it | divide side input by |
Closed-loop block diagrams are usually reduced from inner loops outward. If a diagram has nested loops, reduce the innermost loop first, then combine series and parallel blocks. If loops overlap heavily, construct a signal-flow graph and use Mason's formula.
For nonunity feedback with forward path and feedback path , the closed-loop transfer function from reference to output is
The error signal at the summing junction is not necessarily ; it is . This distinction matters when computing steady-state error or interpreting sensor scaling.
State equations can also be represented by signal-flow graphs. Each integrator output is a state variable, and branches correspond to matrix coefficients. This creates a bridge between transfer-function diagrams and state-space models.
A useful reduction habit is to write the signal equations before moving blocks. For example, if and , the algebra is unambiguous even when the diagram is visually crowded. After the equations are written, reduction is just substitution. This is often safer than memorizing many diagram moves, especially when disturbances and sensor noise enter at multiple points.
Disturbance paths should be kept separate from reference paths until the end. A closed-loop system has different transfer functions from reference to output, disturbance to output, sensor noise to output, and reference to error. Collapsing the whole diagram into one block too early can hide these distinctions. In design, a controller may improve reference tracking while worsening noise transmission, so separate transfer functions are needed to see the trade-off.
Mason's formula is most helpful when loops overlap. In a graph with several feedback paths, a brute-force block reduction may require repeated movement of summing junctions and pickoff points. Signal-flow graphs instead count forward paths, loops, and non-touching loop products. The price is careful bookkeeping: missing one non-touching loop product changes the determinant and therefore the final transfer function.
Internal stability is not guaranteed by a pleasant reduced transfer function. If an unstable pole is exactly cancelled by a zero in the algebra, the input-output transfer function may look stable even though an internal signal can grow. Physical systems rarely achieve exact cancellation under parameter uncertainty. For control design, exact cancellation of unstable or lightly damped modes is normally avoided unless a deeper robust-control argument supports it.
Block diagrams also encode units. A summing junction is meaningful only when the incoming signals share compatible units or have already been scaled by transducers. Adding an angle command in radians directly to a voltage feedback signal is physically wrong unless a potentiometer or sensor gain has converted one into the other's units. Many errors in feedback modeling are unit errors disguised as algebra errors.
Reduction should preserve the question being asked. If the task is to find , internal error signals may disappear from the final expression. If the task is to size an amplifier, compute actuator effort, or check sensor noise, those internal signals must be retained or recovered after reduction. A single equivalent block is useful for pole and output-response analysis, but engineering design often needs several transfer functions from different inputs to different internal and external signals.
In large diagrams, it is often better to name intermediate transfer functions than to force one enormous expression immediately. For example, reduce an actuator-motor-load group to , a sensor-filter group to , and a compensator to , then form . This keeps algebra readable and makes later design changes localized.
For documentation, include both the original unreduced diagram and the reduced result. The unreduced diagram explains the physical architecture; the reduced transfer function supports calculation. Keeping both prevents later readers from losing the connection between mathematical poles and actual components.
This also makes audits and later redesigns much easier.
It preserves design intent.
It also supports maintenance.
Visual
| Interconnection | Formula | Stability denominator |
|---|---|---|
| series | product of denominators before cancellation | |
| parallel sum | common denominator after addition | |
| negative feedback | after clearing fractions | |
| positive feedback | after clearing fractions | |
| Mason graph |
Worked example 1: nested block reduction
Problem: A forward path contains followed by an inner negative-feedback loop with and . The result is followed by with outer unity negative feedback. Find the closed-loop transfer function.
Method:
- Reduce the inner loop:
- Substitute:
- Combine the forward path:
- Apply outer unity feedback:
- Clear the fraction:
Checked answer: .
Worked example 2: Mason gain formula
Problem: A signal-flow graph has one input-output forward path . It has two loops: touching the forward path and also touching the forward path. The two loops do not touch each other. Find .
Method:
- Write the determinant:
- Substitute the loops:
- Replace and :
- Since both loops touch the only forward path, no loops remain for :
- Apply Mason:
Checked answer: The determinant factors as because the loops are non-touching.
Code
import sympy as sp
s = sp.symbols("s")
G1 = 2
G2 = 5 / (s + 1)
H2 = sp.Rational(2, 5)
G3 = 1 / (s + 3)
inner = sp.simplify(G2 / (1 + G2 * H2))
forward = sp.simplify(G1 * inner * G3)
closed = sp.simplify(forward / (1 + forward))
print("inner loop:", sp.factor(inner))
print("forward path:", sp.factor(forward))
print("closed-loop T:", sp.factor(closed))
Common pitfalls
- Reducing a feedback loop before checking the sign at the summing junction.
- Treating nonunity feedback as if the summing-junction error were .
- Moving pickoff points across blocks without compensating by or .
- Cancelling pole-zero factors too early. A cancelled unstable internal mode may still matter physically if the realization is not exact.
- Missing non-touching loop products in Mason's determinant.
- Forgetting that disturbance transfer functions differ depending on where the disturbance enters.
Connections
- Introduction to feedback introduces the closed-loop formula.
- Physical system modeling supplies subsystem blocks.
- Steady-state errors rely on correctly reduced error transfer functions.
- Root locus starts from the characteristic equation found after reduction.
- Digital control repeats many reduction ideas in the -domain.