Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

C.S Unit - 2

Download as pdf or txt
Download as pdf or txt
You are on page 1of 22

Smartzworld.com Smartworld.

asia

Control Systems

UNIT-2

Block Diagram:

A control system may consist of a number of components. In order to show the functions
performed by each component in control engineering, we commonly use a diagram called the
―Block Diagram.

A block diagram of a system is a pictorial representation of the function performed by


each component and of the flow of signals. Such a diagram depicts the inter-relationships which
exists between the various components. A block diagram has the advantage of indicating more
realistically the signal flows of the actual system.
In a block diagram all system variables are linked to each other through functional
blocks. The ―Functional Block or simply ―Block is a symbol for the mathematical operation on
the input signal to the block which produces the output. The transfer functions of the components
are usually entered in the corresponding blocks, which are connected by arrows to indicate the
direction of flow of signals. Note that signal can pass only in the direction of arrows. Thus a
block diagram of a control system explicitly shows a unilateral property.

Fig 2.1 shows an element of the block diagram. The arrow head pointing towards the block
indicates the input and the arrow head away from the block represents the output. Such arrows
are entered as signals.

X(s)
G(s Y(s)
Fig 2. )1
The advantages of the block diagram representation of a system lie in the fact that it is
easy to form the over all block diagram for the entire system by merely connecting the blocks of
the components according to the signal flow and thus it is possible to evaluate the contribution of
each component to the overall performance of the system. A block diagram contains information
concerning dynamic behavior but does not contain any information concerning the physical
construction of the system. Thus many dissimilar and unrelated system can be represented by the
same block diagram.

ECE/ 27

jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

Control Systems

It should be noted that in a block diagram the main source of energy is not explicitly
shown and also that a block diagram of a given system is not unique. A number of a different
block diagram may be drawn for a system depending upon the view point of analysis.

Error detector : The error detector produces a signal which is the difference between the
reference input and the feed back signal of the control system. Choice of the error detector is
quite important and must be carefully decided. This is because any imperfections in the error
detector will affect the performance of the entire system. The block diagram representation of
the error detector is shown in fig2.2

+
R C(s)
( -
s
)
C(s)
Fig2.2

Note that a circle with a cross is the symbol which indicates a summing operation. The plus or
minus sign at each arrow head indicates whether the signal is to be added or subtracted. Note
that the quantities to be added or subtracted should have the same dimensions and the same units.

Block diagram of a closed loop system .

Fig2.3 shows an example of a block diagram of a closed system


Summing point

Branch point
R(s) + G(s) C(s)
-

Fig. 2.3

The output C(s) is fed back to the summing point, where it is compared with reference input
R(s). The closed loop nature is indicated in fig1.3. Any linear system may be represented by a
block diagram consisting of blocks, summing points and branch points. A branch is the point
from which the output signal from a block diagram goes concurrently to other blocks or
summing points.

ECE/ 28

jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

Control Systems

When the output is fed back to the summing point for comparison with the input, it is
necessary to convert the form of output signal to that of he input signal. This conversion is
followed by the feed back element whose transfer function is H(s) as shown in fig 1.4. Another
important role of the feed back element is to modify the output before it is compared with the
input.

B(s)
R + G( C C(s)
( -
s B(s) (ss)
) )

H(s
) Fig 2.4

The ratio of the feed back signal B(s) to the actuating error signal E(s) is called the open
loop transfer function.
open loop transfer function = B(s)/E(s) = G(s)H(s)
The ratio of the output C(s) to the actuating error signal E(s) is called the feed forward
transfer function .
Feed forward transfer function = C(s)/E(s) = G(s)
If the feed back transfer function is unity, then the open loop and feed forward transfer
function are the same. For the system shown in Fig1.4, the output C(s) and input R(s) are related
as follows.
C(s) = G(s) E(s)
E(s) = R(s) - B(s)
= R(s) - H(s) C(s) but B(s) = H(s)C(s)
Eliminating E(s) from these equations
C(s) = G(s) [R(s) - H(s) C(s)]
C(s) + G(s) [H(s) C(s)] = G(s) R(s)
C(s)[1 + G(s)H(s)] = G(s)R(s)

ECE/ 29

jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

Control Systems

C(s) G(s)
=
R(s) 1 + G(s) H(s)
C(s)/R(s) is called the closed loop transfer function.

The output of the closed loop system clearly depends on both the closed loop transfer
function and the nature of the input. If the feed back signal is positive, then
C(s) G(s)
=
R(s) 1 - G(s) H(s)

Closed loop system subjected to a disturbance

Fig2.5 shows a closed loop system subjected to a disturbance. When two inputs are present in
a linear system, each input can be treated independently of the other and the outputs
corresponding to each input alone can be added to give the complete output. The way in
which each input is introduced into the system is shown at the summing point by either a plus
or minus sign.

Disturbance
N(s)
+ + +
R(s)
- )
G1(s G2(s ) C(s)

H(s

) Fig2.5
Fig2.5 closed loop system subjected to a disturbance.

Consider the system shown in fig 2.5. We assume that the system is at rest initially with
zero error. Calculate the response CN(s) to the disturbance only. Response is
CN(s) G2(s)
=
R(s) 1 + G1(s)G2(s)H(s)
On the other hand, in considering the response to the reference input R(s), we may
assume that the disturbance is zero. Then the response CR(s) to the reference input R(s)is

ECE/ 30

jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

Control Systems

CR(s) G1(s)G2(s)
=
R(s) 1 + G1(s)G2(s)H(s).

The response C(s) due to the simultaneous application of the reference input R(s) and the
disturbance N(s) is given by
C(s) = CR(s) + CN(s)
G2(s)
C(s) = [G1(s)R(s) + N(s)]
1 + G1(s)G2(s)H(s)

Procedure for drawing block diagram :

To draw the block diagram for a system, first write the equation which describes the dynamic
behaviour of each components. Take the laplace transform of these equations, assuming zero
initial conditions and represent each laplace transformed equation individually in the form of
block. Finally assemble the elements into a complete block diagram.

As an example consider the Rc circuit shown in fig2.6 (a). The equations for the circuit
shown are
R

ei i eo
C

Fig. 2.6a

-----------(1)
ei = iR + 1/c idt
And
eo = 1/c idt ---------(2)

Equation (1) becomes

ei = iR + eo
ei - eo
--------------(3)
=i
R

ECE/ 31

jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

Control Systems

Laplace transforms of equations (2) & (3) are


Eo(s) = 1/CsI(s) -----------(4)
Ei(s) - Eo(s)
= I(s) -------- (5)
R

Equation (5) represents a summing operation and the corresponding diagram is shown in fig1.6
(b). Equation (4) represents the block as shown in fig2.6(c). Assembling these two elements, the
overall block diagram for the system shown in fig2.6(d) is obtained.

I(s) 1/C Eo(S)


+ 1/R I(s)
Ei(s)
_ FiS .6(c)
Eo(s) Eo(s) + Eo(s)
1/ R g2
_
Fig2.6(b) I(s)
1/C
S

Fig2.6(d)

SIGNAL FLOW GRAPHS

An alternate to block diagram is the signal flow graph due to S. J. Mason. A signal flow graph is a
diagram that represents a set of simultaneous linear algebraic equations. Each signal flow graph
consists of a network in which nodes are connected by directed branches. Each node represents a
system variable, and each branch acts as a signal multiplier. The signal flows in the direction
indicated by the arrow.

Definitions:
Node: A node is a point representing a variable or signal.
Branch: A branch is a directed line segment joining two nodes.
Transmittance: It is the gain between two nodes.
Input node: A node that has only outgoing branche(s). It is also, called as source and
corresponds to independent variable.

ECE/ 32
jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

Control Systems

Output node: A node that has only incoming branches. This is also called as sink and
corresponds to dependent variable.
Mixed node: A node that has incoming and out going branches.
Path: A path is a traversal of connected branches in the direction of branch arrow.
Loop: A loop is a closed path.
Self loop: It is a feedback loop consisting of single branch.
Loop gain: The loop gain is the product of branch transmittances of the loop.
Nontouching loops: Loops that do not posses a common node.
Forward path: A path from source to sink without traversing an node more than once.
Feedback path: A path which originates and terminates at the same node. Forward path
gain: Product of branch transmittances of a forward path.
Properties of Signal Flow Graphs:
1) Signal flow applies only to linear systems.
2) The equations based on which a signal flow graph is drawn must be algebraic equations
in the form of effects as a function of causes.
Nodes are used to represent variables. Normally the nodes are arranged left to right,
following a succession of causes and effects through the system.
3) Signals travel along the branches only in the direction described by the arrows of the
branches.
4) The branch directing from node Xk to Xj represents dependence of the variable Xj on Xk
but not the reverse.
5) The signal traveling along the branch X k and Xj is multiplied by branch gain akj and
signal akjXk is delivered at node Xj.

Guidelines to Construct the Signal Flow Graphs:

The signal flow graph of a system is constructed from its describing equations, or by direct
reference to block diagram of the system. Each variable of the block diagram becomes a node
and each block becomes a branch. The general procedure is

1) Arrange the input to output nodes from left to right. 2)


Connect the nodes by appropriate branches.
3) If the desired output node has outgoing branches, add a dummy node and a unity gain
branch.
4) Rearrange the nodes and/or loops in the graph to achieve pictorial clarity.

ECE/ 33

jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

Control Systems

Signal Flow Graph Algebra

Addtion rule
The value of the variable designated by a node is equal to the sum of all signals entering the
node.
Transmission rule
The value of the variable designated by a node is transmitted on every branch leaving the node.
Multiplication rule
A cascaded connection of n-1 branches with transmission functions can be replaced by a single
branch with new transmission function equal to the product of the old ones.

Mason‟s Gain Formula

The relationship between an input variable and an output variable of a signal flow graph is given
by the net gain between input and output nodes and is known as overall gain of the system.
Masons gain formula is used to obtain the over all gain (transfer function) of signal flow graphs.

Gain P is given by
P 1 Pkk
k
Where, Pk is gain of kth forward path,
∆ is determinant of graph

∆=1-(sum of all individual loop gains)+(sum of gain products of all possible combinations of
two nontouching loops - sum of gain products of all possible combination of three
nontouching loops) + 

∆k is cofactor of kth forward path determinant of graph with loops touching kth forward path. It is
obtained from ∆ by removing the loops touching the path Pk.

Example1
Draw the signal flow graph of the block diagram shown in Fig.2.7

H2
X1 X2 X3 X4 X5 X6 C

R   G1  G2 G3


H1

Figure 2.7 Multiple loop system

ECE/ 34

jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

Control Systems

Choose the nodes to represent the variables say X1 .. X6 as shown in the block diagram..
Connect the nodes with appropriate gain along the branch. The signal flow graph is shown in
Fig. 2.7

-H2

R X1 X2 X3 C
1 1 G1 1 G2 G3 1

X4
X5 X6
H1

-1

Figure 1.8 Signal flow graph of the system shown in Fig. 2.7

Example 2.9

Draw the signal flow graph of the block diagram shown in Fig.2.9.

G1 X2
X1 C
R 
 

G2

G3
X3

G4

Figure 2.9 Block diagram feedback system

ECE/ 35

jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

Control Systems

The nodal variables are X1, X2, X3.


The signal flow graph is shown in Fig. 2.10.
G1

R G2 X2 1 X3 1 C

X1

-G3

G4

Figure 2.10 Signal flow graph of example 2

Example 3
Draw the signal flow graph of the system of equations.

X1 a11X1 a12 X 2 a13X 3 b1u1


X 2 a21X1 a22 X 2 a23X 3 b2u2
X 3 a31X1 a32 X 2 a33X 3

The variables are X1, X2, X3, u1 and u2 choose five nodes representing the variables.
Connect the various nodes choosing appropriate branch gain in accordance with the equations.
The signal flow graph is shown in Fig. 2.11.

ECE/ 36

jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

Control Systems

a
1
a12
u
2
b
a11 2 a33
X2
b a32
u 1
a21
1 X
1
X
3

a23

a31

Figure 2.11 Signal flow graph of example 2

Example 4
LRC net work is shown in Fig. 2.12. Draw its signal flow graph.

R L

ec(t)
i(t)
e(t)  C 

Figure 2.12 LRC network


The governing differential equations are
L di Ri 1 idt et1
dt C
or

L di Ri ec et2


dt
C dec it3
dt

Taking Laplace transform of Eqn.1 and Eqn.2 and dividing Eqn.2 by L and Eqn.3 by C

ECE/ 37

jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

Control Systems

sIs i 0 R IS 1 Ecs 1

Es4 

L L L
sEcs ec 0 1

Is5 

C
Eqn.4 and Eqn.5 are used to draw the signal flow graph shown in Fig.7.

i(0+)
ec(0+)
1
1 1 1
s
LsR  L  Cs s
Ec(s)
I

E(s)
L
L 
s

jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

ntrol Systems

SIGNAL FLOW GRAPHS

The relationship between an input variable and an output variable of a signal flow graph is given
by the net gain between input and output nodes and is known as overall gain of the system.
Masons gain formula is used to obtain the over all gain (transfer function) of signal flow graphs.

Mason‟s Gain Formula

Gain P is given by
1
P  P 
k k
k

Where, Pk is gain of kth forward path,


∆ is determinant of graph

∆=1-(sum of all individual loop gains) + (sum of gain products of all possible combinations of
two nontouching loops - sum of gain products of all possible combination of three
nontouching loops) + 

∆k is cofactor of kth forward path determinant of graph with loops touching kth forward path. It is
obtained from ∆ by removing the loops touching the path Pk.

Example 1
Obtain the transfer function of C/R of the system whose signal flow graph is shown in Fig.2.13

G1

R
G2 1 1 C

-G3
G4

Figure 2.13 Signal flow graph of example 1

There are two forward paths:


Gain of path 1 : P1=G1
Gain of path 2 : P2=G2

39
ECE/

jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

Control Systems

There are four loops with loop gains:


L1=-G1G3, L2=G1G4, L3= -G2G3, L4= G2G4
There are no non-touching loops.
∆ = 1+G1G3-G1G4+G2G3-G2G4
Forward paths 1 and 2 touch all the loops. Therefore, ∆1= 1, ∆2= 1
G1 G2
The transfer function T = Cs  P11 P22

Rs  1 G1G3 G1G4 G2G3 G2G4

Example 2
Obtain the transfer function of C(s)/R(s) of the system whose signal flow graph is shown in
Fig.2.14.

-H2
R 1 G1 G2 G3 C(s)
1 1
(
s
)

H1
-1

Figure 2.14 Signal flow graph of example 2

There is one forward path, whose gain is: P1=G1G2G3


There are three loops with loop gains:
L1=-G1G2H1, L2=G2G3H2, L3= -G1G2G3
There are no non-touching loops.
∆ = 1-G1G2H1+G2G3H2+G1G2G3
Forward path 1 touches all the loops. Therefore, ∆1= 1.

G1G2G3
The transfer function T = Cs  P11

jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

Rs  1 G1G2 H1 G1G3H 2 G1G2G3

Example 3
Obtain the transfer function of C(s)/R(s) of the system whose signal flow graph is shown in
Fig.2.15.

EControl Systems

G6 G7

G1 1 C(s)
R(s) G3 G4 G5
G2
X2 X4 X5
X1 X3
-H1
-H2

Figure 2.15 Signal flow graph of example 3

There are three forward paths.


The gains of the forward path are: P1=G1G2G3G4G5
P2=G1G6G4G5
P3= G1G2G7
There are four loops with loop gains:
L1=-G4H1, L2=-G2G7H2, L3= -G6G4G5H2, L4=-G2G3G4G5H2
There is one combination of Loops L1 and L2 which are nontouching with loop gain product
L1L2=G2G7H2G4H1
∆ = 1+G4H1+G2G7H2+G6G4G5H2+G2G3G4G5H2+ G2G7H2G4H1
Forward path 1 and 2 touch all the four loops. Therefore ∆1= 1, ∆2= 1.
Forward path 3 is not in touch with loop1. Hence, ∆3= 1+G4H1.

The transfer function

T= C(s) / R(s)
G1G2G3G4G5 G1G4G5G6 G1G2G71 G4H1
Cs P11 P22 P33

R  
 
s
jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

1 G 4
H1 G2G7 H2 G6G4G5H2 G2G3G4G5 H2 G2G4G7 H1H 2

jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

example 4

Find the gains X 6 , X 5 , X 3 for the signal flow graph shown in Fig.2.16.
X1 X 2 X1

b -h

a c d e X5 f X6
X1

X2 X3 X4

-g
-i

Figure 2.16 Signal flow graph of MIMO system

Case 1: X 6
X1

There are two forward paths.


The gain of the forward path are: P1=acdef
P2=abef
There are four loops with loop gains:
L1=-cg, L2=-eh, L3= -cdei, L4=-bei
There is one combination of Loops L1 and L2 which are nontouching with loop gain product
L1L2=cgeh
∆ = 1+cg+eh+cdei+bei+cgeh
Forward path 1 and 2 touch all the four loops. Therefore ∆1= 1, ∆2= 1.

The transfer function T = X 6 P11

P22cdef abef
X1  1 cg eh cdei bei cgeh

ECE/ 42
jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

Control Systems

Case 2: X 5
X2
The modified signal flow graph for case 2 is shown in Fig.2.17.

b -h

X5 1 X5
X2 1 c d e
X2
X3 X4

-g

-i

Figure 2.17 Signal flow graph of example 4 case 2

The transfer function can directly manipulated from case 1 as branches a and f are removed
which do not form the loops. Hence,

The transfer function T= X 5 P11 P22cde

be
X2  1 cg eh cdei bei cgeh

Case 3: X 3
X1
The signal flow graph is redrawn to obtain the clarity of the functional relation as shown in
Fig.2.18. -h
c
a X2 b e f 1
X1 X5 X3

X4 X3
-i d

-g

Figure 2.18 Signal flow graph of example 4 case 3

ECE/ 43
Control Systems
T
jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

here are two forward paths.


The gain of the forward path are: P1=abcd
P2=ac
There are five loops with loop gains:
L1=-eh, L2=-cg, L3= -bei, L4=edf, L5=-befg
There is one combination of Loops L1 and L2 which are nontouching with loop gain product
L1L2=ehcg
∆ = 1+eh+cg+bei+efd+befg+ehcg
Forward path 1 touches all the five loops. Therefore ∆1= 1.
Forward path 2 does not touch loop L1. Hence, ∆2= 1+ eh

The transfer function T = X 3 P11

P22abef ac1 eh


X1  1 eh cg bei efd befg ehcg

Example 5

For the system represented by the following equations find the transfer function X(s)/U(s) using
signal flow graph technique.
X X 1 3u

X1a1 X1 X 22u

X 2 a 2 X 1 1u

Taking Laplace transform with zero initial conditions


Xs X1s3Us
sX1sa1 X1s X 2s2Us
sX 2sa2 X1s1Us

Rearrange the above equation


Xs X1s3Us

X1s a1 X1s 1 X 2s


 s 2 Us
s s
X 2s a2 X1s Us
s 
1
s

The signal flow graph is shown in Fig.2.19.


Control Systems 1 s
U
s

1s


a1 
2
X s a
s 1
jntuworldupdates.org 2 Specworld.in
Smartzworld.com Smartworld.asia

X X
3 X2

Figure 2.19 Signal flow grapgh of example 5

There are three forward paths.


The gain of the forward path are: P1=3
P2=1/ s2
P3=2/ s

There are two loops with loop gains:


L1 a1
s
L2 a 2
s2
L1=-eh, L2=-cg, L3= -bei, L4=edf, L5=-befg

There are no combination two Loops which are nontouching.

 1 a1 a22


ss

Forward path 1 does not touch loops L1 and L2. Therefore


1 1 a1 a22
ss

Forward path 2 path 3 touch the two loops. Hence, ∆2= 1, ∆2= 1.

 
The transfer function T =
X 3 P11 P22 P333 s2 a1s a22s1
X1  s2 a1s a2
ECE/ 45
Control Systems

Recommended Questions:

1. Define block diagram & depict the block diagram of closed loop system.
2. Write the procedure to draw the block diagram.

3. Define signal flow graph and its parameters

4. Explain briefly Mason's Gain formula


5. Draw the signal flow graph of the block diagram shown in Fig below.
jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

H2
X1 X2 X3 X4 X5 X6 C

R   G1  G2 G3


H1

6. Draw the signal flow graph of the block diagram shown in Fig below

G1
X2
X1
R   C

 
G2

G3

 X3

G4

ECE/ 46

jntuworldupdates.org Specworld.in
Smartzworld.com Smartworld.asia

Control Systems

7. For the LRC net work is shown in Fig Draw its signal flow graph.

R L

ec(t)
i(t)
e(t)  C 

Figure

8. Obtain the transfer function of C(s)/R(s) of the system whose signal flow graph is shown in
Fig.
G6 G7

C(s)
R(s) G1 G2 G3 G4 G5 1

X1 X X3 X4
X5
2 -H1
-H2

Q.9 For the system represented by the following equations find the transfer function X(s)/U(s)
using signal flow graph technique.
X X13u

X1a1X1 X 22u

X 2a2 X11u

ECE/ 47

jntuworldupdates.org Specworld.in

You might also like