Lecture Signal Flow Graphs
Lecture Signal Flow Graphs
Lecture Signal Flow Graphs
Outline
Introduction to Signal Flow Graphs
Definitions
Terminologies
Examples
Introduction
Alternative method to block diagram representation,
developed by Samuel Jefferson Mason.
y ax
Y2( s )
x1
a21 x1 a22 x2 r2
x2
f
c
x0
x1
x2
x3
x4
There are four variables in the equations (i.e., x1,x2,x3,and x4) therefore four nodes are
required to construct the signal flow graph.
Arrange these four nodes from left to right and connect them with the associated
branches.
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.
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.
Consider the signal flow graph below and identify the following
a)
b)
c)
d)
e)
f)
g)
Input node.
Output node.
Forward paths.
Feedback paths (loops).
Determine the loop gains of the feedback loops.
Determine the path gains of the forward paths.
Non-touching loops
Consider the signal flow graph below and identify the following
Consider the signal flow graph below and identify the following
There are four loops
Consider the signal flow graph below and identify the following
a)
b)
c)
d)
e)
f)
g)
Input node.
Output node.
Forward paths.
Feedback paths.
Self loop.
Determine the loop gains of the feedback loops.
Determine the path gains of the forward paths.
a) Input node
b) Output node
Masons Rule:
The transfer function, C(s)/R(s), of a system represented by a signal-flow graph
is;
n
C( s )
R( s )
Pi i
i 1
Where
n = number of forward paths.
Pi = the i th forward-path gain.
= Determinant of the system
i = Determinant of the ith forward path
is called the signal flow graph determinant or characteristic function. Since
=0 is the system characteristic equation.
Masons Rule:
n
C( s )
R( s )
Pi i
i 1
= 1- (sum of all individual loop gains) + (sum of the products of the gains
of all possible two loops that do not touch each other) (sum of the
products of the gains of all possible three loops that do not touch each
other) + and so forth with sums of higher number of non-touching loop
gains
i = value of for the part of the block diagram that does not touch the ith forward path (i = 1 if there are no non-touching loops to the i-th path.)
Systematic approach
1. Calculate forward path gain Pi for each forward
path i.
2. Calculate all loop transfer functions
3. Consider non-touching loops 2 at a time
4. Consider non-touching loops 3 at a time
5. etc
6. Calculate from steps 2,3,4 and 5
7. Calculate i as portion of not touching forward
path i
28
C P11 P2 2
Therefore,
L1 G1G4 H1 ,
L2 G1G2G4 H 2 ,
L3 G1G3G4 H 2
1 L1 L2 L3
1 G1G4 H1 G1G2G4 H 2 G1G3G4 H 2
Example#1: Continue
P1
P2
L1 G2 H 2 ,
L2 H 3G3 ,
L3 G6 H 6 ,
L4 G7 H 7
33
Example#2: continue
4. Consider three non-touching loops.
None.
5. Calculate from steps 2,3,4.
1 L1 L2 L3 L4 L1L3 L1L4 L2 L3 L2 L4
1 G2 H 2 H 3G3 G6 H 6 G7 H 7
34
Example#2: continue
Eliminate forward path-1
1 1 L3 L4
1 1 G6 H 6 G7 H 7
Eliminate forward path-2
2 1 L1 L2
2 1 G2 H 2 G3 H 3
35
Example#2: continue
Y ( s ) P11 P2 2
R( s )
G1G2G3G4 1 G6 H 6 G7 H 7 G5G6G7 G8 1 G2 H 2 G3 H 3
Y (s)
36
Example#3
Find the transfer function, C(s)/R(s), for the signal-flow
graph in figure below.
Example#3
There is only one forward Path.
Example#3
There are four feedback loops.
Example#3
Non-touching loops taken two at a time.
Example#3
Non-touching loops taken three at a time.
Example#3
C( s )
R( s )
Pi i
i 1
P11 P2 2 P3 3
P2 A72
L1 A32 A23
L2 A43 A34
L3 A54 A45
L4 A65 A56
L5 A76 A67
L6 A77
L7 A42 A34 A23
L8 A65 A76 A67
L1 L3
L2 L4
L3 L5
L4 L6
L1 L4
L2 L5
L3 L6
L4 L7
L1 L5
L2 L6
L1 L6
L2 L8
L1 L8
L5 L7
L7 L8
L1 L3
L2 L4
L3 L5
L4 L6
L1 L4
L2 L5
L3 L6
L4 L7
L1 L5
L2 L6
L1 L6
L2 L8
L1 L8
L5 L7
L7 L8
R(s)
E(s)
X1
G1
G2
X2
G3
X3
G4
H2
H3
R(s)
E(s)
G1
X1
G2
H2
H3
X2
G3
H1
X3 G4 C(s)
C(s)
E(s)
G1
X1
G2
X2
G3
G4
X3
C(s)
H2
H3
1 1
G1G2G3G4
C ( s)
G
Example#6
R(s)
E(s)
R(s) 1
Y1
G1
X
2
-1
X1
X1
G2
Y2
-1
G1
Y1
-1
E(s)
1
X2
-1
C(s)
G2
-1
Y2
1
1
C(s)
Example#6
-1
R(s) 1
E(s)
-1
X1
X2
-1
7 loops:
3 2 non-touching loops :
G1
G2
Y1
-1
1
-1
Y2
1
1
C(s)
Example#6
-1
E(s)
R(s) 1
-1
X1
X2
G1
Y1
-1
G2
-1
Then:
Y2
C(s)
-1
1 2G2 4G1G2
p1 ( 1) G1 1
p2 ( 1) G1 ( 1) G2 1
p3 1 G2 1
4 forward paths:
p4 1 G2 1 G1 1
1 1 G2
2 1
3 1 G1
4 1
Example#6
We have
C( s )
pk k
R( s )
G G1 2G1G2
2
1 2G2 4G1G2
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.
Design Example#1
1
V1 ( s )
I1 ( s ) I1 ( s ) R
Cs
V2 ( s ) I1( s )R
Cs
Cs
V1 (s )
R
I1 (s )
V2 (s )
END OF LECTURE