Basics of Control - Signal Flow Graphs
Basics of Control - Signal Flow Graphs
Basics of Control - Signal Flow Graphs
By:
Prof. K Puttaswamy,
PESCE, Mandya
Input node
x1 a x2 b x3 1 x3 Output node
C
Properties of signal flow graph
1. A branch indicates the functional dependence of one signal upon another. A signal passes through only
in the direction specified by the arrow of the branch .
2. A node adds the signals of all incoming branches and transmits this sum to all outgoing branches.
3. A mixed node which has both incoming and outgoing branches may be treated as an output node by
adding an outgoing branch of unity transmittance.
4. For a given system, signal flow graph is not unique. Many different signal flow graphs can be drawn for
a given sytem by writing the system equations differently.
Signal flow graph Algebra
The independent and dependent variables of the equations become the input nodes and output nodes
respectively. The branch transmittance can be obtained from the coefficients of the equations. To determine
the input output relationship we may use Mason’s formula or we may reduce the signal flow graph to a
graph containing only input and output nodes we use the following rules
1. The value of a node with one incoming branch as shown in fig. 1 x2 = ax1
2. The total transmittance of cascaded branches is equal to the product of all the branch transmittances.
Cascaded branches can be combined into single branch the multiplying the transmittance as shown in
fig. 2
3. Parallel branches may be combined by adding transmittances as shown in fig. 3
a a b ab
=
x1 x2 x1 x2 x3 x1 x3
x2 = ax1 x3 = abx1
fig.(1) Fig. (2)
x1 x2 a+b x2 = (a + b) s1
= x1 x2
b Fig. (3)
x1 x1
a ac
c x4 x4
b x3 = bc
x2 x2 x4 = (ac)x1
x4 = (bc)x2
Fig. (4)
x1 a x2 b x3 x1 ab x3 ab
= = x1 1 - bc x3
c bc
Fig. (5)
x3 = bx 2 x3 = abx1 + bcx3
x2 = ax1 + cx3 x3 = abx1 + b2cx2
= abx1 + b2c (ax1 + cx3)
= abx1 + b2cax1 + b2c2x3
x3 (1 – b2c2 ) = abx1 (1 + bc)
abx1 (1 + bc)
x3 =
1 – b2c2
ab
x3 = x1
1 - bc
a11 a22
b1
x2
u1 x1 x2 x3 x1 a21 x3
a12 b2 a23
a13 u2
b
a31
a33
x1 x2 a32 x3
a31
a22
a11 a33
b1 a21 a32 1
u1 x1 x2 x3 x3
a12 b2 a23
u2
a13
k = Cofactor of kth forward path, determinant of the graph with the loops touching the kth forward path
removed
Or value of for all loops except for those which touch the forward path ‘K’
BLOCK DIAGRAM
H(s) -H(s)
H2
+ +
G1 +
- G2 G3
- +
R(s) C(s)
H1
(2)
R(s) 1 1 G1 G2 G3 1
C(s)
(1)
H1 (3)
-1
In this system there is only one forward path between the input R(s) and output C(s). The forward path gain is
P1 = G1 G2 G3
In this figure there are three individual loops. The gains of these loops are
L1 = G1 G2 H1
L2 = - G2 G3 H2
2. Use the signal flow graph method determine the gain c/R for the block diagram shown.
G1
1 2
R 3 + 4 5
G1 G2 G3
+ + + C
- +
H2
H1
k Pk k
G4
loop (3)
R 1 G1 G2 G3 1 C
loop (1)
H2
loop (2)
- H1
P=
Mason’s formula
= 1 – (L1 + L2 + L3)
= 1 – (G2G3H2 – G1G2G3H1 – G1G2G4H1)
1 is obtained from
1=1
2= 1
G1G2G3 + G1G2G4
=
1 - [G1G2G3H2 – G1G2G3H1 – G1G2G4H1]
G1G2G3 + G1G2G4
c/R = p =
1 - G1G2H2 + G1G2G3H1 + G1G2G4H1
3. The following equation describes a control system. Construct the signal flow graph for it and obtain
transfer function .
Y2 and Y2
U1 for u2 = 0 U2 for u1 = 0
Where Y2 = out put node and u1 & u2 are the inputs
Y1 = a11 Y1 + a12 Y2 + b1 U1 ------ (1)
Y2 = a21 x a22 Y2 + b2 U2 --------- (2)
Solution
The different node variables are Y1 & Y2 ,U1 & U2 are the inputs.
Consider the equation signal flow graph is
a11
b1
U1 Y1
y2
a12
a22
Similarly considering the equation 2
a21
Signal flow graph is Y1 Y2
b2
u2
a11 a22
b1 a21
1
u1 output
Y1 Y2
a12 b2
u2
Transfer function Y2
u1 u2 = 0
Assuming u2 = 0
a11 a22
b1 a21 1
U1 Y1 Y2
a12
k Pk k
Using Mason’s gain formula T.F =
k=1
k = No of forward paths = 1
P1 = b1 a21
L1 = a12 a21
L2 = a11
L3 = a22
L2 & L3 are non touching loops
= 1 – [ L1 + L2 + L3 ] + L2 L3
1 = cofactor of the determinant eliminating all loop gains which are touching the first forward path.
1 =1
Y2 P1 1 b1a21
U1 =
1– a12a21 –a11 – a22 + a11a22
Assuming u1 = o
Then the graph is
a11
a22
a21
Y1 Y2
a12 b2
u2
Y2
T.F =
U2 U1 =0
K = No of forward path = 1
P 1 = b2
Individual loops are
L1 = a21 a12
L2 = a11
L3 = a22
nontouching loops are L2 & L3
4. Construct the signal flow graph for the following set of system equations
Y2 = G1Y1 + G3Y3 --- --- (1)
Y3 = G4Y1 + G2Y2 + G5Y3 --- --- (2)
Y4 = G6Y2 + G7Y3 --- --- (3)
Y1 G1 Y2 Y3
G3
G4
Y1
Y2 G2 Y3
G6
Y2 Y3 G7 Y4
G1 G2
Y2 G7
Y1 Y3 Y4
G3
No of forward path = K = 4
4
Transfer function = pk Ak
K =1 G6
= p1 1 + p2 2 + p3 3 + p4 4
L1 = G2 G3 L2 = G5 (Self loop )
= 1 – (L1 + L2 )
= 1 – G2G3 –G5
There are no nontouching loop combinations
4 =1
G4
1 2
6
R(s) 5 + 7 C(s)
+ + G1 + G2 G3 +
- - 3 -
4
H2
H1
G4
R(s) 1 1 2 1 3 G1 4 G2 5 G3 6 7 1 C(s)
-H2
-H1
-1
1. Find out the laplace transform of the given network and re draw the network in ‘S’ domain
2. Work down the equations for different branch current and node voltages.
3. Simulate each equation by drawing the corresponding signal flow graph.
4. Combine all the signal flow graphs to get the total signal flow graph.
5. Use Mason’s gain formula to derive the transfer function of the given network.
6. Formal the transfer function for the given network.
Vi C L Vo
I1(s) 1 I2(s)
Vi(s) LS Vo (s)
SC
Equations are
I1(s) = Vi (s) – V1 (s) …… (1)
R1
[ I1(s) – I2 (s)]
V1(s) = ……. (2)
CS
V1(s) - V0 (s)
I2 (s) = …………. (3)
R2
V0(s) = I2(s) LS
1
Vi R1 I1 V1
- 1
R1
1
Signal flow graph for equation 2 I1 Sc V1 I2
-1
Sc
-1
R2
Signal flow graph for equation 4
I2 SL Vo
1 1 1
Vi R1 I1 Sc V1 R2 I2 SL Vo
1 1 1
- R - Sc - R
1 2
Vo PK k
= =
Vi
No of forward paths = 1
V0 P1 1
Vi =
L
Forward path gain Ti =
R1R2C
Feedback loops are
1 1 SL
L1 = - L2 = - L3 = -
SR1C SR2C R2
L
V0 R1R2C SL
= =
Vi 1 1 SL L SR1R2C + R2 + R1 + S2LR1C + SL
1+ + + +
SR1C SR2C R2 R1R2C
R1
Vi Vo R2
R1 x 1/Sc
Z= R1 + 1 /Sc
I (S ) = Vi(s) – Vo(s)
Z Z= R1
R1Sc + 1
= Vi(s) – Vo(s) 1 + R1Sc
R1
Vo (s) = I (s) R2
1+ R1SC
R1
Vi 1 Vo
- 1 + R1Sc
R1
I(s) R2 Vo(s)
1 + R1Sc
R1 1 R2 Vo
Vi
1+R1Sc
- R1
Loop gown L1 = - R2 1 + R1 Sc
R1
Procedure :
1. To obtain the block diagram from the given signal flow graph, it is necessary to write set of
system equations representing the given signal flow graph.
2. Assume suitable node variables, write equations for every node.
3. while writing equations remember that the value of the variable represented by the node is the
algebraic sum of all the signals entering at that node. The outgoing branches have no effect on
the value of the node variable.
(1) Obtain the Block diagram from the signal flow graph, shown below
2S Y 3 2 W 1
Z U
X
-4 -3
-5
Write the equations for various node variables Y, Z, W and U, Input node is X. There are only outgoing
branches.
Y = (2S ) X – 4Z - 5U
Z = 3Y – 3W
W = 2Z
U = 1 W + SZ
The block digram simulation of various equations are
X
2S + Y
-
-
4
From Z
5
From U
3 From W
W + U
+
From Z S
4 S
X - Y Z W +
2S + 3 + 2 U
- -