CHAPTER 14 / MODELING

Signal-flow graphs and Mason's gain formula

Draw signals as nodes and blocks as branches, then read the transfer function of a multi-loop system directly from its forward paths and loops.

THE SHORT ANSWER

A signal-flow graph draws a linear system's equations as nodes for signals and directed branches whose gains are transfer functions; each node equals the sum of its incoming branch signals. Mason's gain formula T = (1/Δ)ΣPₖΔₖ reads the transfer function from the forward-path gains Pₖ and the graph determinant Δ, built from the loop gains and the products of non-touching loops. Each cofactor Δₖ keeps only the loops that do not touch path k.

T=1Δ∑kPkΔk,Δ=1−∑Li+∑LiLj−∑LiLjLk+⋯T=\frac{1}{\Delta}\sum_k P_k\Delta_k,\qquad \Delta=1-\sum L_i+\sum L_iL_j-\sum L_iL_jL_k+\cdots
WHAT YOU WILL LEARN

Convert a block diagram into a signal-flow graph, list its forward paths, loops and non-touching loops, compute a transfer function with Mason's gain formula, and confirm it by block reduction or direct algebra.

The block-algebra lecture combined blocks in series, in parallel and in a feedback loop, one loop at a time. Real diagrams often have several loops, and a feedback path may leave from inside one loop and return inside another. This lecture redraws the same equations as a graph and reads the transfer function from its paths and loops.

Review the previous lesson: Block diagrams: follow the signal, then reduce the blocks
START WITH AN EXAMPLE

First, picture it

Block-diagram reduction works one loop at a time: combine blocks in series, close an inner loop, and repeat. That is easy when the loops are nested like the layers of an onion. When loops interlock, so that a feedback path leaves from inside one loop and returns inside another, no loop can be closed first. You have to move a summing junction or a pickoff point across a block, add a compensating block and redraw, and every redrawing is a chance to lose a sign. A signal-flow graph carries the same equations with less ink: every signal is a dot and every block is an arrow. Mason's gain formula then reads the transfer function off the graph in one pass, from two lists: the forward paths from input to output, and the loops. Nothing is redrawn.

THE IDEA

Build the idea step by step

A signal-flow graph has two kinds of object. A node is one signal, such as the error E or the output Y. A branch is a directed line from one node to another, and its gain is the transfer function that multiplies the signal it carries. The value of a node is the sum of the signals on all branches that enter it; branches that leave a node do not change its value. An input node, or source, has only outgoing branches; the output node is the node whose signal you want. A path is a chain of branches followed in their direction that passes no node twice. A forward path runs from the input node to the output node, and its gain Pk is the product of its branch gains. A loop is a closed path that returns to its starting node without passing any other node twice; its loop gain Li is the product of its branch gains, signs included. Two loops touch when they share at least one node, and loops that share no node are non-touching. A loop touches a forward path in the same sense: it shares a node with the path.

Read the equations

xj=∑igij xix_j=\sum_i g_{ij}\,x_i

Node rule: the signal at node j is the sum of the signals arriving on its incoming branches, each multiplied by its branch gain. Outgoing branches do not appear in a node's own equation.

E=R−H1X2−H3Y⟹R→ 1 E,X2→−H1E,Y→−H3EE=R-H_1X_2-H_3Y\quad\Longrightarrow\quad R\xrightarrow{\ 1\ }E,\qquad X_2\xrightarrow{-H_1}E,\qquad Y\xrightarrow{-H_3}E

Converting a summing junction: each incoming signal becomes a branch into the node E, and a minus sign moves into the branch gain. Here one feedback signal comes from the internal signal X₂ and one from the output Y.

Pk=∏branches of path kg,Li=∏branches of loop igP_k=\prod_{\text{branches of path }k}g,\qquad L_i=\prod_{\text{branches of loop }i}g

A forward-path gain and a loop gain are both plain products of branch gains. Signs are part of the gains, so a negative-feedback loop has a negative loop gain.

Δ=1−∑iLi+∑i,jLiLj−∑i,j,kLiLjLk+⋯\Delta=1-\sum_i L_i+\sum_{i,j}L_iL_j-\sum_{i,j,k}L_iL_jL_k+\cdots

The graph determinant. The first sum runs over all loops, the second over every pair of non-touching loops, the third over every triple of mutually non-touching loops, and so on, with alternating signs.

T=YR=1Δ∑kPk ΔkT=\frac{Y}{R}=\frac{1}{\Delta}\sum_k P_k\,\Delta_k

Mason's gain formula. Δk is Δ recomputed with only the loops that do not touch forward path k; if every loop touches path k, Δk = 1.

P1=G,L1=−GH⟹T=G1+GHP_1=G,\quad L_1=-GH\quad\Longrightarrow\quad T=\frac{G}{1+GH}

With one forward path and one loop touching it, Mason's formula reduces to the familiar negative-feedback formula from the block-algebra lecture.

Δ=1−L1−L2+L1L2=(1−L1)(1−L2)\Delta=1-L_1-L_2+L_1L_2=(1-L_1)(1-L_2)

When the only two loops do not touch, Δ factors: each loop can be closed on its own. The product term L₁L₂ is what makes the factorisation work.

x=Ax+bR⟹(I−A) x=bR,Δ=det⁡(I−A)x=Ax+bR\quad\Longrightarrow\quad (I-A)\,x=bR,\qquad \Delta=\det(I-A)

The same graph as linear equations: Δ is the determinant of the node equations. Solving these equations directly is the independent check used in this lecture.

What the symbols mean

xi, xjx_i,\ x_j
node signals (Laplace transforms)
gijg_{ij}
gain of the branch from node i to node j
PkP_k
gain of the k-th forward path from the input node to the output node
LiL_i
loop gain of the i-th loop, sign included
Δ\Delta
graph determinant, built from all loops
Δk\Delta_k
Δ computed from only the loops that do not touch forward path k
TT
transfer function from the input node to the output node
R, YR,\ Y
input and output signals
E, X2, X3, X4E,\ X_2,\ X_3,\ X_4
internal signals of the worked example
Gi, HiG_i,\ H_i
forward-path and feedback-path block transfer functions
A, bA,\ b
matrix of branch gains between nodes, and gains from the input to each node
ss
Laplace variable, in inverse seconds

The formula holds for linear graphs with zero initial conditions. T is the transfer function from an input node, which has only outgoing branches, to whichever node you choose as the output. Every loop gain carries its own sign, and each sum in Δ runs over sets of loops in which every pair is non-touching, each set counted once.

WORKED EXAMPLE / block diagram and its signal-flow graph
BLOCK DIAGRAMRG₁G₂G₃+++−−−+EX₂X₃X₄YH₁G₄H₂H₃SIGNAL-FLOW GRAPH1G₁G₂G₃1G₄−H₃−H₁−H₂REX₂X₃X₄Y

Each signal of the block diagram becomes a node, each block a branch, and each minus sign a negative branch gain. Orange marks G₄, which creates the second forward path R → E → X₂ → Y; green marks the feedback branches. The loops −G₁H₁ and −G₃H₂ share no node, and neither do −G₃H₂ and −G₁G₄H₃.

WORKED EXAMPLE

Two forward paths, four loops, two non-touching pairs

  1. Write one equation per summing junction or block of the diagram in the figure. The first summing junction subtracts an internal signal X₂ through H₁ and the output Y through H₃; a second one subtracts X₄ through H₂; the output adds a shortcut G₄ from X₂.

    E=R−H1X2−H3Y,X2=G1E,X3=G2X2−H2X4,X4=G3X3,Y=X4+G4X2E=R-H_1X_2-H_3Y,\quad X_2=G_1E,\quad X_3=G_2X_2-H_2X_4,\quad X_4=G_3X_3,\quad Y=X_4+G_4X_2
  2. Turn each signal into a node and each term into a branch. The minus signs move into the gains −H₁, −H₂ and −H₃, and the signal passes from R to E and from X₄ to Y through branches of gain 1.

    R→1E→G1X2→G2X3→G3X4→1Y,X2→G4Y,X2→−H1E,X4→−H2X3,Y→−H3ER\xrightarrow{1}E\xrightarrow{G_1}X_2\xrightarrow{G_2}X_3\xrightarrow{G_3}X_4\xrightarrow{1}Y,\qquad X_2\xrightarrow{G_4}Y,\quad X_2\xrightarrow{-H_1}E,\quad X_4\xrightarrow{-H_2}X_3,\quad Y\xrightarrow{-H_3}E
  3. List the forward paths from R to Y, following branches only in their direction and never passing a node twice. There are two: the main chain and the shortcut through G₄.

    P1=G1G2G3  {R,E,X2,X3,X4,Y},P2=G1G4  {R,E,X2,Y}P_1=G_1G_2G_3\ \ \{R,E,X_2,X_3,X_4,Y\},\qquad P_2=G_1G_4\ \ \{R,E,X_2,Y\}
  4. List the loops with their node sets. Start a loop at any of its nodes and go around once; the same loop found again from another starting node is not a new loop. There are four.

    L1=−G1H1  {E,X2},L2=−G3H2  {X3,X4},L3=−G1G2G3H3  {E,X2,X3,X4,Y},L4=−G1G4H3  {E,X2,Y}\begin{aligned}L_1&=-G_1H_1\ \ \{E,X_2\}, & L_2&=-G_3H_2\ \ \{X_3,X_4\},\\ L_3&=-G_1G_2G_3H_3\ \ \{E,X_2,X_3,X_4,Y\}, & L_4&=-G_1G_4H_3\ \ \{E,X_2,Y\}\end{aligned}
  5. Compare node sets pair by pair. L₂ shares no node with L₁ and none with L₄; every other pair shares E or X₂. No three loops are mutually non-touching, because L₁ and L₄ touch each other.

    non-touching pairs: (L1,L2), (L2,L4);no non-touching triple\text{non-touching pairs: }(L_1,L_2),\ (L_2,L_4);\qquad \text{no non-touching triple}
  6. Assemble Δ. Each loop gain is negative, so every term ends up positive.

    Δ=1−(L1+L2+L3+L4)+(L1L2+L2L4)=1+G1H1+G3H2+G1G2G3H3+G1G4H3+G1G3H1H2+G1G3G4H2H3\begin{aligned}\Delta&=1-(L_1+L_2+L_3+L_4)+(L_1L_2+L_2L_4)\\&=1+G_1H_1+G_3H_2+G_1G_2G_3H_3+G_1G_4H_3+G_1G_3H_1H_2+G_1G_3G_4H_2H_3\end{aligned}
  7. Find the cofactors. P₁ passes through all six nodes, so every loop touches it and Δ₁ = 1. P₂ misses X₃ and X₄, so L₂ does not touch it and stays in Δ₂.

    Δ1=1,Δ2=1−L2=1+G3H2⟹T=G1G2G3+G1G4(1+G3H2)Δ\Delta_1=1,\qquad \Delta_2=1-L_2=1+G_3H_2\qquad\Longrightarrow\qquad T=\frac{G_1G_2G_3+G_1G_4(1+G_3H_2)}{\Delta}
  8. Now put in numbers: G₁ = 1/(s + 1), H₁ = 2, G₂ = 5, G₃ = 1/s, H₂ = 4, G₄ = 3 and H₃ = 1. The loop gains are L₁ = −2/(s + 1), L₂ = −4/s, L₃ = −5/(s(s + 1)) and L₄ = −3/(s + 1). Multiply the numerator and Δ by s(s + 1).

    Δ=s2+10s+29s(s+1),P1Δ1+P2Δ2=5+3(s+4)s(s+1)⟹T(s)=3s+17s2+10s+29\Delta=\frac{s^2+10s+29}{s(s+1)},\qquad P_1\Delta_1+P_2\Delta_2=\frac{5+3(s+4)}{s(s+1)}\qquad\Longrightarrow\qquad T(s)=\frac{3s+17}{s^2+10s+29}
  9. Cross-check by block reduction. These loops happen to be nested, so they can be closed from the inside out. The loop around G₁ closes to 1/(s + 3) and the loop around G₃ to 1/(s + 4). The middle branch 5/(s + 4) is in parallel with G₄ = 3, the result is in series with 1/(s + 3), and closing the outer loop through H₃ = 1 gives the same T(s). The two methods agree: the poles are −5 ± j2 and the DC gain is 17/29 ≈ 0.586.

    1s+3(5s+4+3)=3s+17(s+3)(s+4)⟹T=3s+17(s+3)(s+4)+3s+17=3s+17s2+10s+29\frac{1}{s+3}\left(\frac{5}{s+4}+3\right)=\frac{3s+17}{(s+3)(s+4)}\qquad\Longrightarrow\qquad T=\frac{3s+17}{(s+3)(s+4)+3s+17}=\frac{3s+17}{s^2+10s+29}
REFERENCE

Reference table

From a block diagram to a signal-flow graph
Block-diagram elementSignal-flow graphRemark
Signal (input, block output, summing-junction output)Nodeits value is the sum of the signals on its incoming branches
Block GBranch of gain G from the block's input node to its output nodegains multiply along a path
Summing junctionThe node of its output signal, with one incoming branch per entering signala node can only add
Minus sign at a summing junctionNegative branch gain, such as −Hthe sign becomes part of the loop gain
Pickoff (take-off) pointOne more outgoing branch from the same nodenot a new node
Signal passed on unchangedBranch of gain 1—
Two summing junctions with nothing between themOne nodeaddition does not depend on order

A node's outgoing branches do not change its value. Converting back to a block diagram applies the same rules in reverse and keeps every transfer function.

More detail and model assumptions
A CLOSER LOOK

From a block diagram to a graph, and back

Give every signal a node: the input, the output of each summing junction, the output of each block, and the output of the system. A pickoff (take-off) point is not a new node; it is the node itself sending out one more branch. Each block becomes a branch from its input node to its output node, carrying the block's transfer function. A summing junction becomes the node of its output signal, and every signal entering it becomes a branch into that node. A signal that enters with a minus sign gets a branch gain with a minus sign: −H instead of H. Where a signal passes on unchanged, for example from R into the first summing junction, draw a branch of gain 1.

Two details matter. A node adds up everything that comes in but cannot subtract, so the minus sign must live in a branch gain. And a signal that feeds both a block and a summing junction, as X₂ does in the worked example, is simply one node with several outgoing branches. Two summing junctions in a row with nothing between them can be merged into one node, because addition does not care about order.

The way back reads the same rules in reverse. Every node with more than one incoming branch becomes a summing junction, every branch whose gain is not 1 becomes a block, and a node with several outgoing branches becomes a pickoff point. A branch gain −H can be drawn as a block H that enters its summing junction with a minus sign. The diagram you get back may look different from the one you started with, but it encodes the same equations and therefore has the same transfer functions.

A CLOSER LOOK

Why non-touching loops multiply, and what Δ really is

Take two first-order sections in cascade, each with its own local feedback and nothing else. Their loops share no node, so each section can be closed on its own and the transfer function is the path gain divided by (1 − L₁)(1 − L₂). Expand that denominator: (1 − L₁)(1 − L₂) = 1 − L₁ − L₂ + L₁L₂. The product term is exactly the second line of Mason's Δ. Loops that touch cannot be separated this way, which is why their product never appears.

In general Δ is a determinant. Write the node equations as x = Ax + bR, where the entry of A in row i and column j is the gain of the branch from node j to node i. Then (I − A)x = bR and Δ = det(I − A). Expanding this determinant produces one term for every set of mutually non-touching loops, with sign (−1)ᵐ for a set of m loops: that is Mason's Δ. Cramer's rule then gives the output as a ratio of two determinants, and the numerator determinant is what Σ PkΔk adds up. Mason's formula is Cramer's rule organised by paths and loops, which is why it always agrees with solving the node equations directly.

Because Δ depends only on the loops, every transfer function taken from the same graph has the same denominator Δ before any cancellation, whichever input and output you choose. That is why a disturbance input sees the same closed-loop poles as the reference: the poles belong to the loops, not to the signal you apply.

A CLOSER LOOK

Typical mistakes, and three checks

Sign of feedback: a loop gain is the product of its branch gains, and the minus sign of a negative-feedback summing junction is one of them. In the worked example L₃ = −G₁G₂G₃H₃; with the sign lost, Δ would contain −G₁G₂G₃H₃ and describe positive feedback. Counting a loop twice: E → X₂ → E and X₂ → E → X₂ are the same loop, so list each loop once, for example by its set of nodes. Forgetting what Δk keeps: writing Δk = 1 out of habit is right only when every loop touches path k. In the worked example it would drop G₁G₄G₃H₂ from the numerator.

Two more rules are easy to break. A forward path or a loop must not pass the same node twice. And a product term in Δ needs loops that are pairwise non-touching: in a triple, every one of the three pairs must be separate.

Three quick checks catch most errors. Set one branch gain to zero and confirm that the result reduces to the simpler graph: with G₄ = 0 the worked example has a single path and T = 5/(s² + 7s + 17). Compare the denominator with the closed-loop poles you expect; every transfer function of the graph must share it. And for a numeric example, solve the node equations directly at one value of s and compare.

A CLOSER LOOK

When to use which method

Mason's formula is not always the faster route. When loops are nested, closing the inner loops first is quick and shows useful intermediate transfer functions, as the worked example's cross-check does. The formula pays off when loops interlock, when there are several forward paths, and when you need several transfer functions from one diagram, because Δ is computed only once. For large systems, software solves the node equations or a state-space model instead; in hand calculation the formula's real value is a checklist that does not let a term go missing.

TRY IT

Connect the example to the lab

The block-algebra bench starts at G₁ = 2, G₂ = 3 and H = 1. Before switching its connection, draw each one as a graph. Series is one forward path of gain 6 and no loop, so T = 6. Parallel is two forward paths and no loop, so T = G₁ + G₂ = 5. Negative feedback is one forward path G₁G₂ and one loop of gain −G₁G₂H = −6, so T = 6/7 ≈ 0.857. Then predict with Mason's formula what H = 2 gives (L = −12, T = 6/13 ≈ 0.462) before you read it on the bench.

Check one-loop and two-path graphs on the block-algebra bench
YOUR EXPERIMENT

Make a prediction before moving a control.

  1. PREDICTOn the block-algebra bench choose negative feedback with G₁ = 2, G₂ = 3 and H = 1. Draw its graph: one forward path G₁G₂ and one loop −G₁G₂H. Predict y/r with Mason's formula, and predict it again for H = 0.5.
  2. CHANGE ONE THINGChange only H, from 1 to 0.5.
  3. OBSERVERead y/r: about 0.857 (6/7) at H = 1 and 1.5 at H = 0.5. The loop gain went from −6 to −3; the forward path did not change.
  4. EXPLAINUse Δ = 1 − L to explain why halving H raises the output, and why P₁ = G₁G₂ is unaffected. Then switch to the parallel connection and explain T = G₁ + G₂ as two forward paths with Δ = 1.
BE CAREFUL

Three mistakes cause most wrong answers. Losing the minus sign of a negative-feedback summing junction turns a loop gain −GH into +GH. Listing the same loop twice, once from each starting node, counts it twice in Δ. And Δk is not always 1: it keeps every loop that does not touch path k and drops only the loops that do.

Check your understanding+

A graph has exactly two loops, with gains −2 and −3, and they share no node. Its only forward path has gain 12 and touches both loops. What is the transfer function, and what would you get if you forgot the product term in Δ?

Δ = 1 + 2 + 3 + (−2)(−3) = 12, which equals (1 + 2)(1 + 3), so T = 12/12 = 1. Without the product term Δ would be 6 and T = 2, twice the true value.
PRACTICE PROBLEMS

Solve these before opening the solutions

Work each problem on paper first. Open the answer to check yours, then the full solution if you need the steps, and mark how it went.

  1. The graph below has input R, output x₅ and constant branch gains. (a) List the forward paths and the loops with their gains and node sets. (b) Which pairs of loops touch? (c) Find x₅/R with Mason's formula and check it by solving the node equations.

    R→1x1→2x2→3x3→1x4→4x5x2→−1x1,x4→−0.5x2,x5→−0.25x4\begin{array}{c}R\xrightarrow{1}x_1\xrightarrow{2}x_2\xrightarrow{3}x_3\xrightarrow{1}x_4\xrightarrow{4}x_5\\[4pt] x_2\xrightarrow{-1}x_1,\qquad x_4\xrightarrow{-0.5}x_2,\qquad x_5\xrightarrow{-0.25}x_4\end{array}
    Show answer

    AnswerOne forward path, P₁ = 24. Loops L₁ = −2 {x₁, x₂}, L₂ = −1.5 {x₂, x₃, x₄}, L₃ = −1 {x₄, x₅}; only L₁ and L₃ are non-touching. Δ = 7.5 and x₅/R = 3.2.

    Δ=7.5,x5R=247.5=3.2\Delta=7.5,\qquad \frac{x_5}{R}=\frac{24}{7.5}=3.2
    Show full solution

    Solution

    1. There is only one forward path, and it passes through every node.

      P1=1⋅2⋅3⋅1⋅4=24P_1=1\cdot2\cdot3\cdot1\cdot4=24
    2. Three loops, each with its node set.

      L1=2(−1)=−2 {x1,x2},L2=3⋅1⋅(−0.5)=−1.5 {x2,x3,x4},L3=4(−0.25)=−1 {x4,x5}L_1=2(-1)=-2\ \{x_1,x_2\},\quad L_2=3\cdot1\cdot(-0.5)=-1.5\ \{x_2,x_3,x_4\},\quad L_3=4(-0.25)=-1\ \{x_4,x_5\}
    3. (b) L₁ and L₂ share x₂, and L₂ and L₃ share x₄; L₁ and L₃ share nothing. L₁ and L₂ overlap without either containing the other, the situation in which block reduction needs a moved junction. Mason's formula only needs the node sets.

    4. (c) Only L₁L₃ enters the second sum of Δ. The single path touches every loop, so Δ₁ = 1.

      Δ=1−(L1+L2+L3)+L1L3=1+4.5+2=7.5,x5R=P1Δ1Δ=247.5=3.2\Delta=1-(L_1+L_2+L_3)+L_1L_3=1+4.5+2=7.5,\qquad \frac{x_5}{R}=\frac{P_1\Delta_1}{\Delta}=\frac{24}{7.5}=3.2
    5. Check with the node equations. From x₅ = 4x₄ and x₄ = x₃ − 0.25x₅ we get x₄ = x₃/2. With x₃ = 3x₂ and x₂ = 2x₁ − 0.5x₄ we get 1.75x₂ = 2x₁, and x₁ = R − x₂ then gives x₂ = 2R/3.75. So x₅ = 6x₂ = 3.2R.

      x4=12x3,1.75 x2=2x1=2(R−x2) ⇒ x2=2R3.75,x5=4x4=6x2=3.2Rx_4=\tfrac12x_3,\qquad 1.75\,x_2=2x_1=2(R-x_2)\ \Rightarrow\ x_2=\frac{2R}{3.75},\qquad x_5=4x_4=6x_2=3.2R
  2. A position servo: the error E = R − Y drives an amplifier of gain 8. A tachometer measures the motor speed W and its signal 4W is subtracted at a second summing junction in front of the motor, whose speed follows W = U/(s + 2); the position is Y = W/s. (a) Draw the signal-flow graph. (b) Find Y/R with Mason's formula. (c) Do the two loops touch, and what does that mean for Δ?

    Show answer

    AnswerThe loops L₁ = −4/(s + 2) and L₂ = −8/(s(s + 2)) share U and W, so Δ has no product term. Y/R = 8/(s² + 6s + 8) = 8/((s + 2)(s + 4)), with poles at −2 and −4.

    YR=8s2+6s+8=8(s+2)(s+4)\frac{Y}{R}=\frac{8}{s^2+6s+8}=\frac{8}{(s+2)(s+4)}
    Show full solution

    Solution

    1. (a) Nodes R, E, U, W and Y. The tachometer branch leaves W and enters U with a negative gain; the outer feedback leaves Y and enters E with gain −1.

      R→1E→8U→1s+2W→1sY,W→−4U,Y→−1ER\xrightarrow{1}E\xrightarrow{8}U\xrightarrow{\frac{1}{s+2}}W\xrightarrow{\frac{1}{s}}Y,\qquad W\xrightarrow{-4}U,\qquad Y\xrightarrow{-1}E
    2. (b) There is one forward path, and it passes through every node.

      P1=8s(s+2),Δ1=1P_1=\frac{8}{s(s+2)},\qquad \Delta_1=1
    3. (c) Two loops, and both pass through U and W, so they touch: Δ contains no L₁L₂ term.

      L1=−4s+2 {U,W},L2=−8s(s+2) {E,U,W,Y},Δ=1+4s+2+8s(s+2)=s2+6s+8s(s+2)L_1=-\frac{4}{s+2}\ \{U,W\},\qquad L_2=-\frac{8}{s(s+2)}\ \{E,U,W,Y\},\qquad \Delta=1+\frac{4}{s+2}+\frac{8}{s(s+2)}=\frac{s^2+6s+8}{s(s+2)}
    4. Divide the path term by Δ.

      YR=P1Δ1Δ=8s2+6s+8=8(s+2)(s+4)\frac{Y}{R}=\frac{P_1\Delta_1}{\Delta}=\frac{8}{s^2+6s+8}=\frac{8}{(s+2)(s+4)}
    5. Check by block reduction: the tachometer loop closes to 1/(s + 6), the forward path becomes 8/(s(s + 6)), and the unity outer loop gives the same result. Without the tachometer the denominator would be s² + 2s + 8: the inner loop adds damping.

      1/(s+2)1+4/(s+2)=1s+6,8/(s(s+6))1+8/(s(s+6))=8s2+6s+8\frac{1/(s+2)}{1+4/(s+2)}=\frac{1}{s+6},\qquad \frac{8/(s(s+6))}{1+8/(s(s+6))}=\frac{8}{s^2+6s+8}
  3. A plant G(s) = 1/((s + 1)(s + 4)) is under proportional feedback C = 6 with a unity sensor. A static feedforward F = 4 adds the reference directly to the plant input, and a disturbance D also enters at the plant input. (a) Draw one graph with both inputs R and D. (b) Find Y/R and Y/D with Mason's formula. (c) Why do the two share a denominator, and what does F do to the steady output for a unit step reference?

    Show answer

    AnswerY/R = 10/(s² + 5s + 10) and Y/D = 1/(s² + 5s + 10). Both have Δ = 1 + CG because the graph has a single loop. F makes the steady output 1, whereas proportional control alone gives 0.6.

    YR=10s2+5s+10,YD=1s2+5s+10\frac{Y}{R}=\frac{10}{s^2+5s+10},\qquad \frac{Y}{D}=\frac{1}{s^2+5s+10}
    Show full solution

    Solution

    1. (a) Nodes R, D, E, U and Y. Three branches enter U: from E through C, from R through F, and from D with gain 1.

      R→1E→6U,R→4U,D→1U,U→GY,Y→−1ER\xrightarrow{1}E\xrightarrow{6}U,\qquad R\xrightarrow{4}U,\qquad D\xrightarrow{1}U,\qquad U\xrightarrow{G}Y,\qquad Y\xrightarrow{-1}E
    2. There is one loop, through E, U and Y.

      L1=−6G=−6(s+1)(s+4),Δ=1+6(s+1)(s+4)=s2+5s+10(s+1)(s+4)L_1=-6G=-\frac{6}{(s+1)(s+4)},\qquad \Delta=1+\frac{6}{(s+1)(s+4)}=\frac{s^2+5s+10}{(s+1)(s+4)}
    3. (b) From R there are two forward paths, through the controller and through the feedforward. Both pass through U and Y, so both touch the loop and Δ₁ = Δ₂ = 1.

      YR=6G+4GΔ=10s2+5s+10\frac{Y}{R}=\frac{6G+4G}{\Delta}=\frac{10}{s^2+5s+10}
    4. From D there is one path, D → U → Y, and it also touches the loop.

      YD=GΔ=1s2+5s+10\frac{Y}{D}=\frac{G}{\Delta}=\frac{1}{s^2+5s+10}
    5. (c) Δ depends only on the loops, so every input of this graph sees the same closed-loop poles, −2.5 ± j1.94. At s = 0, G(0) = 1/4: proportional control alone gives 6G(0)/(1 + 6G(0)) = 0.6, and the feedforward F = 1/G(0) = 4 raises the steady output to 1. F changes only the numerator of Y/R; the disturbance response is unchanged.

      YR(0)=(6+4)/41+6/4=1,YR(0)∣F=0=6/41+6/4=0.6\frac{Y}{R}(0)=\frac{(6+4)/4}{1+6/4}=1,\qquad \left.\frac{Y}{R}(0)\right|_{F=0}=\frac{6/4}{1+6/4}=0.6
  4. A student analysed the graph below, with G₁ = 2/(s + 1), H₁ = 1, G₂ = 4/s and G₃ = 0.5, and wrote: “Loops −G₁H₁, −H₁G₁ and +G₁G₂, so Δ = 1 + 2G₁H₁ − G₁G₂. Forward paths G₁G₂ and G₃, so T = (G₁G₂ + G₃)/Δ.” Find the three mistakes and give the correct T(s).

    R→1E→G1X→G2Y,X→−H1E,Y→−1E,R→G3YR\xrightarrow{1}E\xrightarrow{G_1}X\xrightarrow{G_2}Y,\qquad X\xrightarrow{-H_1}E,\qquad Y\xrightarrow{-1}E,\qquad R\xrightarrow{G_3}Y
    Show answer

    AnswerThe loop −G₁H₁ was counted twice, the outer loop gain is −G₁G₂ because its branch −1 carries the sign, and Δ₂ = 1 + G₁H₁ because the path R → Y does not touch the inner loop. T(s) = (0.5s² + 1.5s + 8)/(s² + 3s + 8) = 0.5 + 4/(s² + 3s + 8).

    T(s)=0.5s2+1.5s+8s2+3s+8=0.5+4s2+3s+8T(s)=\frac{0.5s^2+1.5s+8}{s^2+3s+8}=0.5+\frac{4}{s^2+3s+8}
    Show full solution

    Solution

    1. Loops. E → X → E and X → E → X are the same loop, so it is counted once. The outer loop E → X → Y → E includes the branch of gain −1, so its gain is −G₁G₂, not +G₁G₂.

      L1=−G1H1 {E,X},L2=−G1G2 {E,X,Y},Δ=1+G1H1+G1G2L_1=-G_1H_1\ \{E,X\},\qquad L_2=-G_1G_2\ \{E,X,Y\},\qquad \Delta=1+G_1H_1+G_1G_2
    2. Cofactors. P₁ = G₁G₂ passes through E, X and Y and touches both loops. P₂ = G₃ visits only R and Y: it touches L₂ at Y but not L₁, so L₁ stays in Δ₂.

      Δ1=1,Δ2=1−L1=1+G1H1\Delta_1=1,\qquad \Delta_2=1-L_1=1+G_1H_1
    3. The correct transfer function.

      T=G1G2+G3(1+G1H1)1+G1H1+G1G2T=\frac{G_1G_2+G_3(1+G_1H_1)}{1+G_1H_1+G_1G_2}
    4. Put in the numbers and multiply the numerator and the denominator by s(s + 1).

      T(s)=8+0.5 s(s+3)s(s+1)+2s+8=0.5s2+1.5s+8s2+3s+8T(s)=\frac{8+0.5\,s(s+3)}{s(s+1)+2s+8}=\frac{0.5s^2+1.5s+8}{s^2+3s+8}
    5. Sanity check at s = 0. The integrator in G₂ can hold a constant output only when its input X is zero, and then E = R − Y must be zero as well, so T(0) must be 1. The corrected result gives 8/8 = 1. The student's expression gives −1 at s = 0, a clear sign that something was wrong.

      T(0)=88=1T(0)=\frac{8}{8}=1
  5. Exam-level. Find Y/R = x₆/R for the graph below in terms of G₁ … G₆ and H₁ … H₄. Write Δ both expanded and in a compact factored form.

    R→1x1→G1x2→G2x3→G3x4→G4x5→G5x6=Yx2→−H1x1,x4→−H2x3,x6→−H3x5,x2→G6x5,x6→−H4x1\begin{array}{c}R\xrightarrow{1}x_1\xrightarrow{G_1}x_2\xrightarrow{G_2}x_3\xrightarrow{G_3}x_4\xrightarrow{G_4}x_5\xrightarrow{G_5}x_6=Y\\[4pt] x_2\xrightarrow{-H_1}x_1,\quad x_4\xrightarrow{-H_2}x_3,\quad x_6\xrightarrow{-H_3}x_5,\quad x_2\xrightarrow{G_6}x_5,\quad x_6\xrightarrow{-H_4}x_1\end{array}
    Show answer

    AnswerT = [G₁G₂G₃G₄G₅ + G₁G₅G₆(1 + G₃H₂)]/Δ with Δ = (1 + G₁H₁)(1 + G₃H₂)(1 + G₅H₃) + G₁G₅H₄[G₂G₃G₄ + G₆(1 + G₃H₂)].

    T=G1G2G3G4G5+G1G5G6(1+G3H2)(1+G1H1)(1+G3H2)(1+G5H3)+G1G5H4[G2G3G4+G6(1+G3H2)]T=\frac{G_1G_2G_3G_4G_5+G_1G_5G_6(1+G_3H_2)}{(1+G_1H_1)(1+G_3H_2)(1+G_5H_3)+G_1G_5H_4\left[G_2G_3G_4+G_6(1+G_3H_2)\right]}
    Show full solution

    Solution

    1. Forward paths: the main chain, and the shortcut through G₆ that skips x₃ and x₄.

      P1=G1G2G3G4G5  {all nodes},P2=G1G6G5  {x1,x2,x5,x6}P_1=G_1G_2G_3G_4G_5\ \ \{\text{all nodes}\},\qquad P_2=G_1G_6G_5\ \ \{x_1,x_2,x_5,x_6\}
    2. Loops: three local loops and two loops that close through H₄, one along each forward path.

      L1=−G1H1,L2=−G3H2,L3=−G5H3,L4=−G1G2G3G4G5H4,L5=−G1G6G5H4L_1=-G_1H_1,\quad L_2=-G_3H_2,\quad L_3=-G_5H_3,\quad L_4=-G_1G_2G_3G_4G_5H_4,\quad L_5=-G_1G_6G_5H_4
    3. Non-touching sets. L₁, L₂ and L₃ share no node with one another, which gives three pairs and one triple. L₅ misses x₃ and x₄, so it also pairs with L₂. L₄ passes through every node and touches every loop.

      pairs: L1L2, L1L3, L2L3, L2L5;triple: L1L2L3\text{pairs: }L_1L_2,\ L_1L_3,\ L_2L_3,\ L_2L_5;\qquad \text{triple: }L_1L_2L_3
    4. Assemble Δ. The triple enters as −L₁L₂L₃, which is +G₁H₁G₃H₂G₅H₃ because each Lᵢ is negative.

      Δ=1+G1H1+G3H2+G5H3+G1G2G3G4G5H4+G1G5G6H4+G1G3H1H2+G1G5H1H3+G3G5H2H3+G1G3G5G6H2H4+G1G3G5H1H2H3\begin{aligned}\Delta&=1+G_1H_1+G_3H_2+G_5H_3+G_1G_2G_3G_4G_5H_4+G_1G_5G_6H_4\\&\quad+G_1G_3H_1H_2+G_1G_5H_1H_3+G_3G_5H_2H_3+G_1G_3G_5G_6H_2H_4+G_1G_3G_5H_1H_2H_3\end{aligned}
    5. Cofactors: P₁ touches every loop; P₂ misses x₃ and x₄, so only L₂ survives in Δ₂.

      Δ1=1,Δ2=1+G3H2,T=G1G2G3G4G5+G1G5G6(1+G3H2)Δ\Delta_1=1,\qquad \Delta_2=1+G_3H_2,\qquad T=\frac{G_1G_2G_3G_4G_5+G_1G_5G_6(1+G_3H_2)}{\Delta}
    6. Group the eleven terms of Δ: eight of them form (1 + G₁H₁)(1 + G₃H₂)(1 + G₅H₃), and the other three share the factor G₁G₅H₄. Block reduction gives the same compact form: close the three local loops, combine the middle section in parallel with G₆, then close the outer loop through H₄.

      Δ=(1+G1H1)(1+G3H2)(1+G5H3)+G1G5H4[G2G3G4+G6(1+G3H2)]\Delta=(1+G_1H_1)(1+G_3H_2)(1+G_5H_3)+G_1G_5H_4\left[G_2G_3G_4+G_6(1+G_3H_2)\right]

Mark each exercise after you check your answer. Marks stay in this browser.

KEY TERMS

Terms this lecture teaches

All terms in the glossary →
QUESTIONS STUDENTS ASK

Frequently asked questions

What is the difference between a block diagram and a signal-flow graph?

Both encode the same linear equations. A block diagram draws blocks, summing junctions and pickoff points; a signal-flow graph draws each signal as a node and each block as a branch, with every minus sign moved into a branch gain. Converting in either direction keeps all the transfer functions.

What are non-touching loops in Mason's gain formula?

Two loops are non-touching when they share no node. Only sets of mutually non-touching loops contribute product terms to Δ: pairs with a plus sign, triples with a minus sign, and so on. Loops that share even one node never appear multiplied together.

When is the path cofactor Δₖ not equal to 1?

Δₖ keeps every loop that does not touch forward path k, so it equals 1 only when every loop touches that path. A short path that skips part of the graph often leaves a loop untouched; dropping that loop from Δₖ out of habit removes a term from the numerator.

Why do all transfer functions of one graph share the same denominator?

Δ is built from the loops alone and does not depend on which input or output you pick, so before any cancellation every transfer function of the graph has Δ as its denominator. That is why a disturbance sees the same closed-loop poles as the reference.

Should I use Mason's formula or block-diagram reduction?

When loops are nested, closing the inner loops first is quick and shows useful intermediate results. Mason's formula pays off when loops interlock, when there are several forward paths, or when you need several transfer functions from one diagram, because Δ is computed once. Either way, check the answer by solving the node equations at one value of s.

Why the next lesson follows

With the closed-loop transfer function in hand, whether from reduction or from Mason's formula, we can ask how quickly its output rises, overshoots and settles.

YOUR PROGRESS

Finished the reading and the exercises? Mark the lecture as done to tick it on the syllabus. Progress stays in this browser.

EIGENROOM · https://eigenroom.com/theory/signal-flow-graphs · Updated 2026-11-15