0% found this document useful (0 votes)
9 views51 pages

4 Signal flow graphs and Mason's gain rule

The document discusses signal flow graphs as an alternative graphical representation for control system dynamics, emphasizing their equivalence to block diagrams. It introduces key concepts such as nodes, branches, and transmittance, and explains how to analyze control systems using Mason's Gain Formula. The document also outlines properties and algebraic rules for manipulating signal flow graphs to derive relationships among system variables.

Uploaded by

mutiegideon561
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views51 pages

4 Signal flow graphs and Mason's gain rule

The document discusses signal flow graphs as an alternative graphical representation for control system dynamics, emphasizing their equivalence to block diagrams. It introduces key concepts such as nodes, branches, and transmittance, and explains how to analyze control systems using Mason's Gain Formula. The document also outlines properties and algebraic rules for manipulating signal flow graphs to derive relationships among system variables.

Uploaded by

mutiegideon561
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 51

DEPARTMENT OF

ELECTRICAL ENGINEERING

Signal Flow Graphs and The Mason’s Gain


Rule

January 27, 2025

© Katsuhiko, O. (2002). Modern control engineering. Pearson


Education International.

Ony
angoS
.Obur
a 1/51
DEPARTMENT OF
ELECTRICAL ENGINEERING
General introduction

A block diagram is useful for graphical representation of control


system dynamics.

They are also used extensively in the analysis and design of


control systems.

The alternative approach to graphical representation of control


system dynamics is the signal flow graph approach.1

1
Often calledOnayanMason
goS
. a graph after S. J. Mason who coined the term.
Obur 2/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

The signal flow graph approach and the block diagram


approach yield the same information...

...and one is in no sense superior to the other.

Ony
angoS
.Obur
a 3/51
DEPARTMENT OF
ELECTRICAL ENGINEERING
Signal flow graphs

A signal flow graph is a diagram that represents a set of


simultaneous linear algebraic equations.

When applying the signal flow graph method to analyses of control


systems,...

...we must first transform linear DEs into algebraic equations


in s.

Ony
angoS
.Obur
a 4/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

A signal flow graph consists of a network in which nodes are


connected by directed branches.

Each node represents a system variable, and each branch


connected between two nodes acts as a signal multiplier.

Note that the signal flows in only one direction.

Ony
angoS
.Obur
a 5/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

The direction of signal flow is indicated by an arrow placed on


the branch,...

...and the multiplication factor is indicated along the branch.

The signal flow graph depicts the flow of signals from one
point of a system to another...

...and gives the relationships among the signals.

Ony
angoS
.Obur
a 6/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

A signal flow graph contains essentially the same information


as a block diagram.

If a signal flow graph is used to represent a control system, then a


gain formula, called Mason’s gain formula,...

...may be used to obtain the relationships among system


variables without carrying out reduction of the graph.

Ony
angoS
.Obur
a 7/51
DEPARTMENT OF
ELECTRICAL ENGINEERING
Definitions

Node Is a point representing a variable or signal.

Transmittance Is a real or complex gain between two nodes.

Such gains can be expressed in terms of the TF


between two nodes.

Branch Is a directed line segment joining two nodes. Its


gain is the transmittance.

Ony
angoS
.Obur
a 8/51
DEPARTMENT OF
ELECTRICAL ENGINEERING
Definitions

Input node or source Is a node that has only outgoing


branches. This corresponds to an independent
variable.

Output node or sink Is a node that has only incoming


branches. This corresponds to a dependent
variable.

Mixed node Is a node that has both incoming and outgoing


branches.

Ony
angoS
.Obur
a 9/51
DEPARTMENT OF
ELECTRICAL ENGINEERING
Definitions

Figure 1: Signal flow graph.

Ony
angoS
.Obur
a 10/51
DEPARTMENT OF
ELECTRICAL ENGINEERING
Definitions

Path Is a traversal of connected branches in the


direction of the branch arrows.

If no node is crossed more than once, then the


path is open.

If the path ends at the same node from which it


began and does not cross any other node more
than once, it is closed.

If a path crosses some node more than once but


ends at a different node from which it began, it
is neither open nor closed.

Ony
angoS
.Obur
a 11/51
DEPARTMENT OF
ELECTRICAL ENGINEERING
Definitions

Loop Is a closed path.

Loop gain Is the product of the branch transmittances of a


loop.

Non-touching loops Loops are non-touching if they do not


possess any common nodes.

Ony
angoS
.Obur
a 12/51
DEPARTMENT OF
ELECTRICAL ENGINEERING
Definitions

Forward path Is a path from an input node (source) to an


output node (sink) that does not cross any
nodes more than once.

Forward path gain Is the product of the branch transmittances


of a forward path.

Figure 1 shows nodes and branches, together with


transmittances.

Ony
angoS
.Obur
a 13/51
DEPARTMENT OF
ELECTRICAL ENGINEERING
Properties of Signal Flow Graphs

1. A branch indicates the functional dependence of one


signal on another.

A signal passes only through in the direction specified by


the arrow of the branch.

2. A node sums the signals of all incoming branches and


transmits this sum to all outgoing branches.

Ony
angoS
.Obur
a 14/51
DEPARTMENT OF
ELECTRICAL ENGINEERING
Properties of Signal Flow Graphs

3. A mixed node2 , may be treated as an output node (sink)


by adding an outgoing branch of unity transmittance.

See Figure 1. The branch with unity transmittance is directed


from x3 to another node, also denoted by x3 .

Note, however, that we cannot change a mixed node to a


source by this method.

2
which has both
Ony incoming
angoS.
Obur
a and outgoing branches. 15/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Ony
angoS
.Obur
a 16/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

4. For a given system, a signal flow graph is not unique.

Many different signal flow graphs can be drawn for the


system by writing the system equations differently.

Ony
angoS
.Obur
a 17/51
DEPARTMENT OF
ELECTRICAL ENGINEERING
Signal Flow Graph Algebra

In drawing, we bring the input nodes (sources) to the left and


the output nodes (sinks) to the right.

The independent and dependent variables become the input


nodes (sources) and output nodes (sinks), respectively.

The branch transmittances can be obtained from the


coefficients of the equations.

Ony
angoS
.Obur
a 18/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

To accomplish this, we use the following rules:

1. The value of a node with one incoming branch, as shown in


Figure 2(a), is x2 = ax1 .

2. The total transmittance of cascaded branches is equal to


the product of all the branch transmittances.

Cascaded branches can thus be combined into a single branch


by multiplying the transmittances, as shown in Figure 2(b).

Ony
angoS
.Obur
a 19/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Figure 2: Signal flow graphs and simplifications.

Ony
angoS
.Obur
a 20/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

3. Parallel branches may be combined by adding the


transmittances, as shown in Figure 2(c).

4. A mixed node may be eliminated, as shown in Figure 3(d).

Ony
angoS
.Obur
a 21/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Figure 3: Signal flow graphs and simplifications.

Ony
angoS
.Obur
a 22/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

5. A loop may be eliminated, as shown in Figure 3(e). Note


that
x3 = bx2 , x2 = ax1 + cx3

x3 = abx1 + bcx3 (1)

or
ab
x3 = x1 (2)
1 − bc
Equation (1) corresponds to a diagram having a self-loop of
transmittance bc.

Ony
angoS
.Obur
a 23/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Elimination of the self-loop yields (1), which clearly shows that the
overall transmittance is
ab
l − bc

Ony
angoS
.Obur
a 24/51
DEPARTMENT OF
ELECTRICAL ENGINEERING
Signal Flow Graph Representation of Linear Systems

The graph can be drawn from the system equations or, with
practice, by inspection of the physical system.

Routine reduction by use of the foregoing rules gives the


relation between an input and output variable.

Ony
angoS
.Obur
a 25/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Consider a system defined by the following set of equations:

x1 = a11 x1 + a12 x2 + a13 x3 + b1 u1 (3)

x2 = a21 x1 + a22 x2 + a23 x3 + b2 u2 (4)

x3 = a31 x1 + a32 x2 + a33 x3 (5)

where u1 , and u2 are input variables and x1 , x2 , and x3 are


output variables.

The signal flow graphs are shown in Figure 4 where (a) represents
(3), (b) represents (4), and (c) represents (5); (d) represents the
complete signal flow graph for the system described by (3)-(5)

Ony
angoS
.Obur
a 26/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Figure 4: Signal flow graphs.


Ony
angoS
.Obur
a 27/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

A signal flow graph for this system (a graphical representation of


these 3 simultaneous equations)...

...indicating the interdependence of the variables, can be


obtained as follows:

First locate the nodes x1 , x2 , and x3 as shown in Figure 4(a).

Ony
angoS
.Obur
a 28/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Ony
angoS
.Obur
a 29/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Note that aij , is the transmittance between xj , and xi .

Equation (3) states that x1 , is equal to the sum of the 4 signals


a11 x1 , a12 x2 , a13 x3 , and b1 u1 .

Equation (4) states that x2 is equal to the sum of a21 x1 , a22 x2 ,


a23 x3 , and b2 u2 .

Ony
angoS
.Obur
a 30/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

The signal flow graph representing (3), (4), and (5) is then
obtained by combining Figures 4(a), (b), and (c).

In dealing with a signal flow graph, the input nodes (sources)


may be considered one at a time.

The output signal is then equal to the sum of the individual


contributions of each input.

Ony
angoS
.Obur
a 31/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

The overall gain from an input to an output may be obtained


directly from the signal flow graph by;

▶ inspection,

▶ use of Mason’s formula, or

▶ a reduction of the graph to a simpler form.

Ony
angoS
.Obur
a 32/51
DEPARTMENT OF
ELECTRICAL ENGINEERING
Signal Flow Graphs of Control Systems

Some signal flow graphs of simple control systems are shown in


Figures 5 to 8.

For simple graphs, the closed-loop TF C (s)/R(s) or


C (s)/N(s) can be obtained easily by inspection.

For complicated signal flow graphs, Mason’s gain formula is


quite useful.

Ony
angoS
.Obur
a 33/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Figure 5: Signal flow graphs.

Ony
angoS
.Obur
a 34/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Figure 6: Signal flow graphs.

Ony
angoS
.Obur
a 35/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Figure 7: Signal flow graphs.

Ony
angoS
.Obur
a 36/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Figure 8: Signal flow graphs.

Ony
angoS
.Obur
a 37/51
DEPARTMENT OF
ELECTRICAL ENGINEERING
Mason’s Gain Formula for Signal Flow Graphs

Normally, we wish to determine the relationship between an


input variable and an output variable of the signal flow graph.

The transmittance between an input node and an output


node is the overall gain, or overall transmittance.

Mason’s gain formula, which is applicable to the overall gain,


is given by
1 X
P= Pk △k

k

Ony
angoS
.Obur
a 38/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

where
Pk = path gain or transmittance of kth forward path.

△ = determinant of graph.

= 1−(sum of all individual loop gains) + (sum of


gain products of all possible combinations of two
non-touching loops) − (sum of gain products of
all possible combinations of three non-touching
loops) + . . ..
P P P
= 1− a La + b,c Lb Lc − d,e,f Ld Le Lf + . . .

Ony
angoS
.Obur
a 39/51
DEPARTMENT OF
ELECTRICAL ENGINEERING
P
a La = sum of all individual loop gains.
P
b,c Lb Lc = sum of gain products of all possible combinations
of two non-touching loops.
P
d,e,f Ld Le Lf = sum of gain products of all possible
combinations of three non-touching loops.

△k = cofactor of the kth forward path determinant of


the graph with the loops touching the kth
forward path removed,...

...that is, the cofactor △k , is obtained from △ by


removing the loops that touch path Pk

Ony
angoS
.Obur
a 40/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Note that the summations are taken over all possible paths
from input to output.

We shall illustrate the use of Mason’s gain formula by means of


two examples.

Ony
angoS
.Obur
a 41/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Example 1

Consider the system shown in Figure 9. A signal flow graph for this
system is shown in Figure 10. Let us obtain the closed-loop TF
C (s)/R(s) by use of the Mason’s gain formula.

In this system there is only one forward path between the input
R(s) and the output C (s). The forward path gain is

P1 = G1 G2 G3

Ony
angoS
.Obur
a 42/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Figure 9: Multiple-loop system.

Ony
angoS
.Obur
a 43/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Figure 10: Signal flow graph for the system in Figure 9.

Ony
angoS
.Obur
a 44/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

From Figure 10, we see that there are 3 individual loops. The
gains of these loops are;

L1 = G1 G2 H1

L2 = −G2 G3 H2

L3 = −G1 G2 G3

Note that since all 3 loops have a common branch, there are
no non-touching loops.

Ony
angoS
.Obur
a 45/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Hence, the determinant △ is given by

△ = 1 − (L1 + L2 + L3 )
= 1 − G1 G2 H1 + G2 G3 H2 + G1 G2 G3

The cofactor △1 of the determinant along the forward path


connecting the input node and output node...

...is obtained from △ by removing the loops that touch this


path.

Ony
angoS
.Obur
a 46/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Since path P1 touches all three loops, we obtain

△1 = 1
The overall gain between the input R(s) and the output C (s), or
the closed-loop TF, is ∴ given by;

C (s) 1
=P= × P1 △1
R(s) △
G1 G2 G3
=
1 − G1 G2 H1 + G2 G3 H2 + G1 G2 G3

Ony
angoS
.Obur
a 47/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

This is the same as the closed-loop TF obtained by block


diagram reduction.

Mason’s gain formula ∴ gives the overall gain C (s)/R(s)


without a reduction of the graph.

Ony
angoS
.Obur
a 48/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Example 2

Consider the system shown in Figure 11. Obtain the closed-loop


TF C (s)/R(s) by use of the Mason’s gain formula.

Ony
angoS
.Obur
a 49/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

Figure 11: Signal flow graph for a system.

Ony
angoS
.Obur
a 50/51
DEPARTMENT OF
ELECTRICAL ENGINEERING

51/51

You might also like