22eit401 Cs Unit1 Contd....
22eit401 Cs Unit1 Contd....
22eit401 Cs Unit1 Contd....
1
Outline
• Introduction to Signal Flow Graphs
– Definitions
– Terminologies
– Examples
• Mason’s Gain Formula
– Examples
• Signal Flow Graph from Block Diagrams
• Design Examples
2
Introduction
• Alternative method to block diagram representation,
developed by Samuel Jefferson Mason.
3
Fundamentals of Signal Flow Graphs
• Consider a simple equation below and draw its signal flow graph:
y ax
• The signal flow graph of the equation is shown below;
a y
x
4
Signal-Flow Graph Models
Draw the signal flow graph to represent the following
Input output relations
𝑅1 (𝑠) 𝑌1 (𝑠)
𝑅2 (𝑠) 𝑌2 (𝑠)
5
Signal-Flow Graph Models
Represent the following I/O relations in signal flow diagram form
r1 and r2 are inputs and x1 and x2 are outputs
a11 x1 a12 x2 r1 x1
a21 x1 a22 x2 r2 x2
𝑟1 𝑥1
𝑟2 𝑥2
6
Signal-Flow Graph Models
7
Terminologies
• An input node or source contain only the outgoing branches. i.e., X1
• An output node or sink contain only the incoming branches. i.e., X4
• A path is a continuous, unidirectional succession of branches along which no
node is passed more than ones. i.e.,
X1 to X2 to X3 to X4 X1 to X2 to X4 X2 to X3 to X4
• A forward path is a path from the input node to the output node. i.e.,
X1 to X2 to X3 to X4 , and X1 to X2 to X4 , are forward paths.
• A feedback path or feedback loop is a path which originates and terminates on
the same node. i.e.; X2 to X3 and back to X2 is a feedback path.
8
Terminologies
• A self-loop is a feedback loop consisting of a single branch. i.e.; A33 is a self
loop.
• The gain of a branch is the transmission function of that branch.
• The path gain is the product of branch gains encountered in traversing a path.
i.e. the gain of forwards path X1 to X2 to X3 to X4 is A21A32A43
• The loop gain is the product of the branch gains of the loop. i.e., the loop gain
of the feedback loop from X2 to X3 and back to X2 is A32A23.
• Two loops, paths, or loop and a path are said to be non-touching if they have
no nodes in common.
9
Consider the signal flow graph below and identify the following
a) Input node.
b) Output node.
c) Forward paths.
d) Feedback paths (loops).
e) Determine the loop gains of the feedback loops.
f) Determine the path gains of the forward paths.
g) Non-touching loops
10
Consider the signal flow graph below and identify the following
11
Consider the signal flow graph below and identify the following
12
Consider the signal flow graph below and identify the following
13
Consider the signal flow graph below and identify the
following
a) Input node.
b) Output node.
c) Forward paths.
d) Feedback paths.
e) Self loop.
f) Determine the loop gains of the feedback loops.
g) Determine the path gains of the forward paths.
14
Input and output Nodes
a) Input node
b) Output node
15
(c) Forward Paths
16
(d) Feedback Paths or Loops
17
(d) Feedback Paths or Loops
18
(d) Feedback Paths or Loops
19
(d) Feedback Paths or Loops
20
(e) Self Loop(s)
21
(f) Loop Gains of the Feedback Loops
22
(g) Path Gains of the Forward Paths
23
Mason’s Rule (Mason, 1953)
• The block diagram reduction technique requires successive
application of fundamental relationships in order to arrive at the
system transfer function.
• On the other hand, Mason’s rule for reducing a signal-flow graph
to a single transfer function requires the application of one
formula.
• The formula was derived by S. J. Mason when he related the
signal-flow graph to the simultaneous equations that can be
written from the graph.
24
Mason’s Rule:
• The transfer function, C(s)/R(s), of a system represented by a signal-flow graph
is;
n
Pi i
C( s ) i 1
R( s )
Where
∆i = value of Δ for the part of the block diagram that does not touch the i-
th forward path (Δi = 1 if there are no non-touching loops to the i-th path.)
26
Systematic approach
27
Example#1: Apply Mason’s Rule to calculate the transfer function of
the system represented by following Signal Flow Graph:
Therefore, C P11 P2 2
R
There are three feedback loops
1 L1 L2 L3
29
Example#1: Apply Mason’s Rule to calculate the transfer function of
the system represented by following Signal Flow Graph
31
Example#2: Apply Mason’s Rule to calculate the transfer function
of the system represented by following Signal Flow Graph
P1
P2
1 L1 L2 L3 L4 L1 L3 L1 L4 L2 L3 L2 L4
1 G2 H 2 H 3G3 G6 H 6 G7 H 7
G2 H 2G6 H 6 G2 H 2G7 H 7 H 3G3G6 H 6 H 3G3G7 H 7
33
Example#2: continue
Eliminate forward path-1
1 1 L3 L4
1 1 G6 H 6 G7 H 7
2 1 L1 L2
2 1 G2 H 2 G3 H 3
34
Example#2: continue
Y ( s ) P11 P2 2
R( s )
35
Example#3
• Find the transfer function, C(s)/R(s), for the signal-flow
graph in figure below.
36
Example#3
• There is only one forward Path.
37
Example#3
• There are four feedback loops.
38
Example#3
• Non-touching loops taken two at a time.
39
Example#3
• Non-touching loops taken three at a time.
40
Example#3
41
Example#4: Apply Mason’s Rule to calculate the transfer function
of the system represented by following Signal Flow Graph
3
Pi i
C( s ) i 1 P11 P2 2 P3 3
R( s )
42
Example#4: Forward Paths
43
Example#4: Loop Gains of the Feedback Loops
L1 A32 A23
L5 A76 A67
L2 A43 A34 L9 A72 A57 A45 A34 A23
L6 A77
L3 A54 A45 L10 A72 A67 A56 A45 A34 A23
L7 A42 A34 A23
L4 A65 A56
L8 A65 A76 A67
44
Example#4: two non-touching loops
L1 L3 L2 L4 L3 L5 L 4 L6 L5 L7 L7 L8
L2 L5 L3 L6 L 4 L7
L1 L4
L1 L5 L 2 L6
L1 L6 L2 L8
L1 L8
45
Example#4: Three non-touching loops
L1 L3 L2 L4 L3 L5 L 4 L6 L5 L7 L7 L8
L2 L5 L3 L6 L 4 L7
L1 L4
L1 L5 L 2 L6
L1 L6 L2 L8
L1 L8
46
From Block Diagram to Signal-Flow Graph Models
Example#5
H1
H3
-H1
R(s) 1 E(s) G1 X1 G2 X2 G3 X3 G4 C(s)
-H2
-H3
47
From Block Diagram to Signal-Flow Graph Models
Example#5
-H1
R(s) 1 E(s) G1 X1 G2 X2 G3 G4 X3 1 C(s)
-H2
-H3
C ( s) G1G2G3G4
G
R( s ) 1 G1G2G3G4 H 3 G2G3 H 2 G3G4 H 1
48
Example#6
-
- X1 Y1
G1
R(s) + + C(s)
E(s)
- -X +
2
G2
- Y2
-1
X1 G1 Y1
-1
-1 1
R(s) 1 E(s) C(s)
1 1 1
X2 G2 Y2
-1
-1
49
Example#6
-1
X1 G1 Y1
-1 1
R(s) 1 E(s) -1 C(s)
1 X2 1 Y2 1
G2
-1 -1
7 loops:
3 ‘2 non-touching loops’ :
50
Example#6
-1
X1 G1 Y1
-1 1
R(s) 1 E(s) -1 C(s)
1 X2 1 Y2 1
G2
-1 -1
We have
C( s ) pk k
R( s )
G G1 2G1G2
2
1 2G2 4G1G2
52
Example-7: Determine the transfer function C/R for the block diagram below
by signal flow graph techniques.
• The signal flow graph of the above block diagram is shown below.
• Because the loops touch the nodes of P1, • Hence the control ratio T = C/R is
hence