CH3: Mason's Rule Example: Solution
CH3: Mason's Rule Example: Solution
𝐶(𝑠)
Q: Find the transfer function: TF = for the signal flow graph below using the Mason’s rule.
𝑅(𝑠)
Solution:
𝐶(𝑠) ∑ 𝑘 𝑇𝑘 ∆ 𝑘
Recall the Mason’s rule: TF = = where:
𝑅(𝑠) ∆
2. T1 = G1 G2 G3 G4 G5 (eq.1)
1
Loop gain 1: G2 H1 (eq.2)
Loop gain 2: G4 H2 (eq.3)
Loop gain 3: G7 H3 (eq.4)
Loop gain 4: G2 G3 G4 G5 G6 G7 G8 (eq.5)
Sum of nontouching loops taken three at a time: NTLG3tot = LG123 (only one eq.)
4.3 Nontouching loops taken four at a time? None, because loops 1, 2 and 3 all touch loop 4
5. Find Δ :
Δ = 1 - LGtot + NTLG2tot - NTLG3tot (eq.12)
6. Find Δk :
Δk = Δ1 = Δ - Sum of loop gain terms in Δ that touch the one forward path
+ (G2 H1 G4 H2 + G2 H1 G7 H3 + G4 H2 G7 H3 )
– (G2 H1 G4 H2 G7 H3 ) (eq.13)
The loop gain terms in Δ (eq.13) that touch the forward path are:
- (G2 H1 G4 H2 G7 H3)
2
* Equivalently, this can also be done if we use the second definition of Δk :
“Δk is formed by eliminating from Δ those loop gains that touch the k-th forward path”
Which means, if we take (eq.12 or eq.13), and we eliminate the loop gains that touch the first
(k = 1) forward path: LG that does not touch the forward path
Δ = 1 – (G2 H1 + G4 H2 + G7 H3 + G2 G3 G4 G5 G6 G7 G8 )
7. Finally, by substituting (eq.1), (eq.), (eq.) and (eq.) into the Mason’s rule formula, we obtain the
transfer function:
∑ 𝑘 𝑇𝑘 ∆ 𝑘 𝑇1 ∆1
TF = = =
∆ ∆
𝐺1 𝐺2 𝐺3 𝐺4 𝐺5 (1− 𝐺7 𝐻3 )
TF = 1− (𝐺 𝐻1 +𝐺4 𝐻2 +𝐺7 𝐻3 + 𝐺2 𝐺3 𝐺4 𝐺5 𝐺6 𝐺7 𝐺8 )+ (𝐺2 𝐻1 𝐺4 𝐻2 +𝐺2 𝐻1 𝐺7 𝐻3 +𝐺4 𝐻2 𝐺7 𝐻3 )– (𝐺2 𝐻1 𝐺4 𝐻2 𝐺7 𝐻3 )
2
** Note: if we have more than one forward path: meaning that k > 1, then the Mason’s rule formula would
be:
∑ 𝑘 𝑇𝑘 ∆ 𝑘 ∑𝑘=2 𝑇𝑘 ∆𝑘 𝑇1 ∆1 + 𝑇2 ∆2
e.g.: k = 2 : Then, TF = = =
∆ ∆ ∆