Unit I Control Engineering Material
Unit I Control Engineering Material
1
2. Mathematical modeling of systems
(vi) Deterministic and stochastic control systems: A control systems is deterministic if
the response is predictable and repeatable. If not the control system is a stochastic
control system which involves random variables and parameters.
(vii) Static and dynamic systems: A system is called static if its present output depends on
past input, whereas, a dynamic system is the one whose current output depends only
on current input.
(viii)Natural and man-made control systems: The system inside a human being or
biological systems are known as natural control system. The various control systems
that are designed and developed by man are known as man-made control systems.
(ix) Systems based on components: Depending upon the components connected in the
system, it can be classified as electrical, mechanical, electromechanical, hydraulic,
pneumatic, thermal, etc.
5
2. Mathematical modeling of systems
The output voltage Vo(t) is taken across the capacitor, then
1 I(s)
V0(t) = idt (or) V0(s) =
C Cs
The transfer function is given by
I(s)
V0 (s) Cs 1
G(s) = = =
Vi (s) LCs2 + RCs +1 LCs2 + RCs +1
I(s)
Cs
The block diagram representation is shown in Fig. 2.8.
Vi(s) 1 V0(s)
Lcs 2 + Rcs +1
Figure 2.8 Block diagram of the RLC Circuit shown in Fig. 7
Example 2.2
Derive the transfer function Vi(s)/I(s) and V0(s)/Vi(s) of the circuit shown in Fig. 2.9.
I(s) 1
Taking Laplace Transform Vi(s) = RI(s) + = R + I(s) (2.1)
Cs Cs
Vi (s) 1+ RCs
or =
I(s) Cs
Now the output voltage is given by V0(t) = Ri(t)
V (s)
Taking Laplace transform V0(s) = RI(s) or I(s) = 0 (2.2)
R
1+ RCs V0 (s) 1+ RCs
Substituting Eqn. (2.2) in (2.1) Vi(s) = . = V0 (s)
Cs R RCs
V0 (s) RCs
=
Vi (s) 1+ RCs
Example 2.3
Derive the transfer function of the network shown in Fig. 2.10.
7
2. Mathematical modeling of systems
Solution
The circuit shown in Fig. 2.17 is redrawn in Laplace domain as shown in Fig. 2.18
11
2. Mathematical modeling of systems
1 1 1
(sC + ) (s + ) s + R c
= 1
Vo (s) R1 CR1
= =
Vi (s) 1 1 1 1 (R1 + R 2 )
sC + + s+ + s+
R1 R 2 R1C R 2C R1R 2C
If the transfer function of the system is given by
1
s +
1
s+
G(s) =
Vo (s)
= R 1 C = T
Vi (s) 1
s +
αT
s + 1 . 1
R2 R 1 C
R +R
1 2
R2
where, T = R1c and α = This network is known as lead network.
R1 + R 2
Example 2.8
dy dx
A system having input x and output y is represented by + 3y = + 2x . Find the transfer
dt dt
function of the system.
Solution
The system is represented by
dy dx
+ 3y = + 2x (2.25)
dt dt
Taking Laplace transform of eq. (2.25), we get
sY(s) + 3Y(s) = sX(s) + 2X(s)
Initial conditions of the system are assumed to be zero.
Y(s) (s + 3) = X(s) (s+2)
Y(s) s + 2
or = (2.26)
X(s) s + 3
Example 2.9
Determine the transfer function of a system represented by
d3 y d2y dy d2x dx
+3 +2 +y= +2 + 3x
3 2 dt 2 dt
dt dt dt
Solution
Taking Laplace transform of the given equation and assuming initial condition to be zero, it
can be written as
s3Y(s) + 3s2Y(s) + 2sY(s) + Y(s) = s2X(s) + 2sX(s) + 3X(s)
or (s3 + 3s2 + 2s + 1) Y(s) = (s2 + 2s + 3) X(s)
Y(s) s 2 + 2s + 3
= 3
X(s) s + 3s 2 + 2s +1
s 2 + 2s + 3
Therefore, the transfer function of the system is G(s) = 3
s + 3s 2 + 2s +1
Example 2.10
12
2. Mathematical modeling of systems
3s + 2
The transfer function of a system is given by G(s) = . Find the differential
s 2 + 2s + 3
equation of the system having input x and output y.
Solution
Y(s) 3s + 2
Here G(s) = =
X(s) 2
s + 2s + 3
2
Cross multiplying s Y(s) + 2sY(s) + 3Y(s) = 3sX(s) + 2X(s)
Taking inverse Laplace transform, we can write
d2 y dy dx
+ 2 + 3y = 3 + 2x
2 dt dt
dt
This is the required differential equation of the system.
Example 2.11
Find the transfer function of a system if its impulse response is e-3t sin 2t.
Solution
The impulse response of the system is given by
c(t) = e-3t sin 2t
2 2
LT[c(t)] = LT[e-3t sin 2t] = =
2 2
(s + 3) + 4 (s + 6s +13)
Since the Laplace transform of the impulse response of a system represents is its transfer
function, the transfer function of the system is
2
G(s) =
(s 2 + 6s +13)
Example 2.12
4
The step response of a system is given by y(t) = 6 - e-5t + e-3t . Find the transfer function of
5
the system.
Solution
Since the derivative of a step response gives impulse response, the impulse response is given
dy
by: Impulse response = = 4e-5t – 3e-3t
dt
Since the transfer function is the Laplace transform of the impulse response, we have
dy
G(s) = L.T. of [ ] = L.T.of [4e-5t – 3e-3t]
dt
4 3 4(s + 3) - 3(s + 5) 4s +12 - 3s -15 s -3
G(s) = - = = =
s+5 s+3 (s + 3)(s + 5) (s + 3)(s + 5) (s + 3)(s + 5)
Example 2.13
The pole zero plot of a transfer function is shown in Fig. 2.19. Find the transfer function of
the system.
14
2. Mathematical modeling of systems
Example 2.17
Determine V2 / V1 for the circuit shown in Fig. 2.20.
Solution
Using Kirchhoff’s voltage law, we get V1 = I1R1 + I2(R2 + RL) (2.27)
V2
and V2 = I2RL (or) I2 = (2.28)
RL
Again, by Kirchhoff’s current law, we get
I2 = I1 + V2 (2.29)
From Eqns. (2.28) and (2.29), we get
V2 = (I1 + V2) RL
or (1 - RL) V2 = I1RL
1- αR L
I1 = V2 (2.30)
RL
Substituting Eqns. (2.30) and (2.28) in Eqn. (2.27) we get,
1- αR L V2
V1 = V2R1 + (R 2 + R L )
RL RL
V
= 2 [(1- αR L )R1 + (R 2 + R L )]
RL
V2 RL
or =
V1 (1- αR L )R1 + (R 2 + R L )
This is the transfer function of Fig. 2.20.
Example 2.18
Find V2 / V1 of Fig. 2.21, where OP-AMP is ideal.
15
2. Mathematical modeling of systems
16
2. Mathematical modeling of systems
Example 2.20
An electrical circuit is shown in Fig. 2.24. Obtain the transfer function relating the output
voltage eo(t) to the input voltage ei(t).
17
2. Mathematical modeling of systems
Solution
V2 (s) R1 R1C1s V3 (s)
From Fig. 2.25. = = and =K
V1 (s) 1 1+ R1C1s V2 (s)
R1 +
C1s
V0 (s) R2 R 2 C 2s
also = =
V3 (s) R + 1 1+ R 2C 2s
2
C 2s
Multiplying the above three equations
V2 (s) V3 (s) V0 (s) KR1R 2C1C2s2
× × =
V1 (s) V2 (s) V3 (s) (1+ R1C1s)(1+ R 2C2s)
V0 (s) KT1T2s2
= Where T1 = R1C1 and T2 = R2C2
V1(s) (1+ sT1)(1+ sT2 )
2.6.7 Transfer function of armature controlled DC motor
The mechanical system of the motor is shown in Fig. 2.73. The torque equation is given by:
d 2θ dθ
J +B = T (2.63)
2 dt
dt
Torque in a DC motor is proportional to the product of flux and current. Since flux is
constant, the torque is proportional to armature current ia only.
Therefore,
T ia
T = Kt ia (2.64)
Substituting the value of T from Eqn. (2.64) in Eqn. (2.63)
d 2θ dθ
J + B = Ktia
2 dt
dt
Taking Laplace transform of the above equation
Js2(s) + Bs(s) = KtIa(s)
(Js2 + Bs)θ(s)
(or) Ia(s) = (2.65)
Kt
Substituting the value of Ia(s) from Eqn. (2.65) in Eqn. (2.62), we get
(Js2 + Bs)θ(s)
[Ra + sLa] + Kb s (s) = Va(s)
Kt
[Ra + sLa] (Js2 + Bs)θ(s) + KbKt s (s) = Kt Va(s)
(s) Kt
=
Va ( s) La Js 2
Ra 1 + s Bs 1 + + Kb Kt s
Ra Bs
( s) Kt / Ra B
=
Va ( s) L J K K
s 1 + s a 1 + s + b t
Ra B Ra B
( s) K
=
Va ( s) s (1 + sTa )(1 + sTm ) + KKt
Where Ta = La/Ra - Electrical time constant
Tm = J/B - Mechanical time constant
K = Kt/RaB - Motor gain constant
2.6.8 Transfer function of field controlled DC motor
In field control DC motor, the armature voltage is kept constant and the speed is varied by
varying the field current of the motor as shown in Fig. 2.74.
19
2. Mathematical modeling of systems
Since the armature voltage is kept constant, the torque is proportional to field current i.e.,
T if
(or) T = Kfif (2.69)
Substituting for torque in the differential equation governing the mechanical system equation
d 2θ dθ
J + B = Kfif
dt 2 dt
Js2(s) + Bs(s) = KfIf(s) (2.70)
Substituting for If(s) from Eqn. (2.67) in Eqn. (2.70)
K f Vf (s)
[Js2 + Bs] (s) =
(R f + sLf )
θ(s) Kf Kf
= =
Vf (s) 2
(Js + Bs)(R f + sLf ) s(Js + B)(R f + sL f )
20
2. Mathematical modeling of systems
Kf Km
= =
sLf sJ s(1+ sTf )(1+ sTm )
sR f 1+ B 1+
Rf B
Kf
where Km = = Motor gain constant
Rf B
L
Tf = f = Field time constant
Rf
J
Tm = = Mechanical time constant
B
21
2. Mathematical modeling of systems
The negative feedback results in better stability in steady state and rejects any
disturbance signals. It also has low sensitivity to parameter variations. Hence
negative feedback is preferred in close loop systems.
10. What are the characteristics of negative feedback?
The characteristics of negative feedback are as follows:
(i) accuracy in tracking steady state value
(ii) rejection of disturbance signals
(iii) low sensitivity to parameter variations
(iv) reduction in gain at the expense of better stability
11. What is the effect of positive feedback on stability?
The positive feedback increases the error signal and drives the output to instability.
But sometimes the positive feedback is used in minor loops in control systems to
amplify certain internal signals or parameters.
12. Distinguish between open-loop and closed-loop system.
Open Loop Closed Loop
(i) Inaccurate & unreliable (i) Accurate & reliable
(ii) Simple and economical (ii) Complex and costlier
(iii) The changes in output due to (iii) The changes in output due to
external disturbances are not external disturbances are corrected
corrected automatically automatically.
(iv) They are generally stable (iv) Great efforts are needed to design
a stable system.
14. State the principle of homogeneity (or) State the principle of superposition.
The principle of superposition and homogeneity states that if the system has responses
y1(t) and y2(t) for the inputs x1(t) and x2(t) respectively then the system response to
the linear combination of these input a1x1(t) + a2x2(t) is given by linear combination of
the individual outputs a1y1(t) + a2y2(t), where a1 and a2 are constants.
15. Define linear system.
A system is said to be linear if it obeys the principle of superposition and
homogeneity. The principle of superposition states that the response of a system to a
weighed sum of signals is equal to the corresponding weighed sum of the responses of
the system to each of the individual input signals.
23
2. Mathematical modeling of systems
4.1 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. The elements of a block diagrams
are functional block, summing point and branch point.
4.2 Functional block
25
2. Mathematical modeling of systems
Figure 4.6 Block diagram of speed equation
d
The back emf eb is given by: eb = K b . Taking L.T of back emf Equation
dt
Eb(s) = s Kb . (s) = ω(s) Kb, this is shown in Fig. 4.7.
27
2. Mathematical modeling of systems
28
2. Mathematical modeling of systems
10. Elimination of feedback loop:
Proof:
C = (R – CH)G = RG – CHG
C + CHG = RG
C(1 + HG) = RG
C G
=
R 1+ GH
Also
Example 4.2
Find C(s)/R(s) of the block diagram shown in Fig. 4.17.
Figure 4.18
Step 2: The two parallel feed back loops are combined as shown in Fig. 4.19.
Figure 4.19
Step 3: The feedback loop is replaced by its equivalent block as shown in Fig. 4.20.
Figure 4.20
Step 4: The series connected blocks are combined to give the over all transfer function
C(s)/R(s):
29
2. Mathematical modeling of systems
C(s) G1G 2
=
R(s) 1+ G1 (H1 + H 2 )
Example 4.3
Find the single block equivalent of Fig. 4.21.
Figure 4.21
Solution
Step 1: The cascade and parallel blocks of Fig. 4.21 are reduced as shown in Fig. 4.22
Figure 4.22
Step 2: The internal feedback loop of Fig. 4.22 is reduced by its equivalent block as shown in
Fig. 4.23
Figure 4.23
Step 3: The cascade blocks of Fig. 4.23 are replaced by its equivalent block as shown in Fig.
4.24.
Figure 4.24
Step 4: The feedback loop of fig. 4.24 is replaced by its equivalent block as shown in Fig.
4.25.
Figure 4.25
Step 5: The two cascade blocks in fig. 4.25 are replaced by equivalent block as shown in Fig.
4.26.
30
2. Mathematical modeling of systems
Figure 4.26
Example 4.4
Find the output of the system shown in Fig. 4.27
Figure 4.27
Solution
Step 1: Putting x = 0, Fig. 4.27 becomes as shown in Fig. 4.28.
Figure 4.28
Step 2: Removing the cascade blocks and internal feedback loop of Fig. 4.28, we get as
shown in Fig. 4.29.
Figure 4.29
Step 3: Removing the cascade blocks of Fig. 4.29, we get as shown in Fig. 4.30.
Figure 4.30
Step 4: The equivalent of Fig. 4.30 is shown in Fig. 4.31.
31
2. Mathematical modeling of systems
Figure 4.31
Step 5: The transfer function is given by
C G1G 2G 3
=
R 1 + G 3H1 + G1G 2G 3H 2
Example 4.5
Find the closed loop transfer function of the system shown in Fig. 4.32.
Figure 4.32
Solution
Step 1: Moving the take-off point between G2 and G3 in Fig. 4.32 to before G2 as shown in
Fig. 4.33.
Figure 4.33
Step 2: Combining the blocks in series and parallel, Fig. 4.33 becomes as shown in Fig. 4.34.
Figure 4.34
Step 3: The summer after the block G1 in Fig. 4.34 is shifted before G1 as shown Fig. 4.35.
32
2. Mathematical modeling of systems
Figure 4.35
Step 4: Inter change the summers in Fig. 4.35 as shown in Fig. 4.36.
Figure 4.36
Step 5: Eliminating the feed back path and blocks in series in Fig. 4.36, it becomes as shown
in Fig. 4.37.
Figure 4.37
Step 6: Eliminating the inner loop in Fig. 4.37, We get Fig. 4.38.
Figure 4.38
Step 7: Fig. 4.38 can be redrawn as Fig. 4.39.
33
2. Mathematical modeling of systems
Figure 4.39
Step 7 The transfer function is given by
G1G2G3 + G1G4
C 1 + G1G2 H1 + G2G3 H 2 + G4 H 2
=
R 1+ G1G2G3 + G1G4
1 + G1G2 H1 + G2G3 H 2 + G4 H
C G1G2G3 + G1G4
=
R 1 + G1G2 H1 + G2G3 H 2 + G4 H + G1G2G3 + G1G4
Example 4.6
Obtain the closed loop transfer function C(s)/R(s) of the system shown in Fig. 4.40.
Figure 4.40
Step 1: Splitting the summer and the take-off point in Fig. 4.40, we get Fig. 4.41.
Figure 4.41
Step 2: Eliminating the inner loop of G2 and H1 and shifting the take-off point between G2
and G3 to after the block G3 in Fig. 4.41, we get Fig. 4.42.
34
2. Mathematical modeling of systems
Figure 4.42
Step 3: Combining the blocks and eliminating the feed back loop in Fig. 4.42, we get Fig.
4.43.
Figure 4.43
Step 4: Combining the blocks and eliminating the feed back loop in Fig. 4.43, we get Fig.
4.44
Figure 4.44
Step 5:Combining the forward path he transfer function is given by
C G1G2G3
= + G4 .
R 1 + G2 H1 + G2G3 H 2 − G1G2 H1
Example 4.7
Obtain the closed loop transfer function C(s)/R(s) of the system shown in Fig. 4.45.
35
2. Mathematical modeling of systems
Figure 4.45
Step 1: Rearranging the take-off points in Fig. 4.45, we get Fig. 4.46.
Figure 4.46
Step 2: Combining the blocks in series and eliminating the loop in Fig. 4.46, we get Fig. 4.47.
Figure 4.47
Step 3: Moving the take-off point Between G2 and G3 to after G3 in Fig. 4.47, we get Fig.
4.48.
Figure 4.48
Step 4: Moving the take-off point to output side and combining the blocks in cascade in Fig.
4.48, we get Fig. 4.49.
36
2. Mathematical modeling of systems
Figure 4.49
Step 5: Combining the cascade blocks in Fig. 4.50, we get Fig. 4.51.
Figure 4.51
Step 6: Eliminating the loop and interchanging the summer in Fig. 126, we get Fig. 127.
Figure 4.52
Step 7: Eliminating the inner loop in Fig. 4.52, we get Fig. 4.53
Figure 4.53
Step 8: Eliminating the unity feed back loop, the transfer function is given by
G1G2G3G4
C 1 + G4 H1 H 2 − G2G3G4 H 3 + G1G2 H 4 (1 + G4 H1H 2 )
=
R 1+ G1G2G3G4
1 + G4 H1 H 2 − G2G3G4 H 3 + G1G2 H 4 (1 + G4 H1H 2 )
37
2. Mathematical modeling of systems
C G1G2G3G4
=
R 1 + G4 H1 H 2 − G2G3G4 H 3 + G1G2 H 4 (1 + G4 H1H 2 ) + G1G2G3G4
Solution
Step 1: If we assume R2 = 0, Fig. 4.54 reduces to Fig. 4.55.
Figure 4.55
Step 2: From fig. 4.55.
G1G 2
C1= R1
1+ HG1G 2
Step 3: If we assume R1 = 0. Fig. 4.54 reduces to fig. 4.56.
Figure 4.56
Step 4: From fig. 4.56,
R 2G 2
C1 =
1+ G1HG 2
Step 5: Hence, the total response when both the input is given
38
2. Mathematical modeling of systems
C = C1 + C2
R1G1G 2 R 2G 2
= +
1+ HG1G 2 1+ HG1G 2
G2
C= [R1G1 + R 2 ]
(1+ G1G 2 H)
Step 6: The above equation is represented in Fig. 4.57.
Figure 4.57
Example 4.9
For the block diagram shown in Fig. 4.58, determine the output due to the input R and
disturbance D.
Figure 4.58
Solution
Step 1: Assuming the disturbance D = 0, the block diagram with input R is represented in
Fig. 4.59.
Figure 4.59
Step 2: Eliminating G3 in Fig. 4.59, results as shown in Fig. 4.60.
39
2. Mathematical modeling of systems
Figure 4.60
Step 3: Reducing the feedback loop in Fig. 4.60, we get as shown in Fig. 4.61.
Figure 4.61
Step 4: The resultant transfer function is given by
C1 (1- G 3H1 )G1G 2
=
R (1+ G1G 2 H1H 2 )
Step 5: Assuming R = 0, the block diagram of Fig. 4.58, represented due to input D is shown
in Fig. 4.62.
Figure 4.62
Step 6: The block diagram of Fig. 4.62, now can be reduced as shown in Fig. 4.63.
Figure 4.63
Step 7: Eliminating the feedback loop in Fig, 4.63, we get as shown in Fig. 4.64.
Figure 4.64
Step 8: The transfer function between C2 and D is given by:
40
2. Mathematical modeling of systems
C2 G2
=
D (1+ G1G 2 H1H 2 )
Step 9: When both R and D are simultaneously applied, using superposition theorem,
combining the results obtained in step 4 and step 8, the following equation for the output C is
obtained.
[R(1- G 3H1 )G1G 2 + DG 2 ]
C = C 1 + C2 =
(1+ G1G 2 H1H 2 )
Example 4.10
For the block diagram shown in Fig. 4.65, find the output C due to R and disturbance D.
Figure 4.65
Solution
Step 1: Assuming D=0, the block diagram shown in Fig. 4.65, becomes as shown in Fig.
4.66.
Figure 4.66
Step 2: The feedback loops in Fig. 4.66 is reduced as shown in Fig. 4.67.
Figure 4.67
Step 3: The three forward path blocks and the feedback block in Fig. 4.67 is combined to give
the transfer function as shown in fig. 4.68.
41
2. Mathematical modeling of systems
Figure 4.68
Step 4: Assuming R=0, the block diagram shown in Fig. 4.65, becomes as shown in Fig. 4.69.
Figure 4.69
Step 5: The two feedback loops in Fig. 4.69 are combined as shown in Fig. 4.70.
Figure 4.70
Step 6: The block diagram shown in Fig. 4.70, can be redrawn as shown in Fig. 4.71.
Figure 4.71
Step 7: The block diagram shown in Fig. 4.71, can be reduced to give the transfer function as
shown in Fig. 4.72.
Figure 4.72
Step 8: When D = 0, the output is C1 and is given by:
RG1G 2G 3
C1 =
[(1+ G1 )(1+ G 3H1) + G1G 2G 3H 2 ]
When R = 0, the output is C2 and is given by:
DG 3 (1+ G1)
C2 =
[(1+ G1 )(1+ G 3H1) + G1G 2G 3H 2 ]
When R and D are simultaneously present, the output is C = C1 + C2.
42
2. Mathematical modeling of systems
G 3[RG1G 2 + D(1+ G1)]
C=
[(1+ G1 )(1+ G 3H1) + G1G 2G 3H 2 ]
Example 4.11
For the block diagram shown in Fig. 4.73, find C.
Figure 4.73
Solution
Step 1: Assuming D=0, the summer in Fig. 4.73, can be splitted as shown in Fig. 4.74.
Figure 4.74
Step 2: The forward path and the feedback path in Fig. 4.74 can be modified as shown in Fig.
4.75.
Figure 4.75
Step 3: The inner feedback loop in Fig. 4.75 is reduced as shown in Fig. 4.76.
Figure 4.76
Step 3: The value of C1 is given as shown in Fig. 4.77.
Figure 4.77
43
2. Mathematical modeling of systems
RG 2 (G1 + G 3 )
C1 =
[1+ G 2 (G1 + H1 )]
Step 4: Now assume R=0. The block diagram shown in Fig. 4.73 is redrawn as shown in Fig.
4.78.
Figure 4.78
Step 5: The block diagram shown in Fig. 4.78 is redrawn as shown in Fig. 4.79.
Figure 4.79
Step 6: The block diagram shown in Fig. 4.79 is now reduced as shown in Fig. 4.80 to give
the value of C2
Figure 4.80
D
C2 =
(1+ G 2 (G1 + H1 )
Step 7: If both R and D are simultaneously present, the superposition theorem is used and the
output C due to R and D is obtained as
RG 2 (G1 + G 3 ) + D
C = C 1 + C2 =
[1+ G 2 (G1 + H1)]
Example 4.12
For the block diagram shown in Fig. 4.81, when there are two inputs R1 and R2, determine the
outputs C1 and C2.
44
2. Mathematical modeling of systems
Figure 4.81
Solution
Step 1: Assuming R2 = 0, and ignoring C2 the input / output relationship C1/R1 is represented
as shown in Fig. 4.82.
Figure 4.82
Step 2: The transfer function C1/R1 is given by:
C1 G4 G 4 R1
= and C1 = (4.2)
R1 (1- G1G 2G 3G 4 ) (1- G1G 2G 3G 4 )
Step 3: Assuming R1 = 0 in the block diagram shown in fig. 4.81, and ignoring C1, the input /
output relationship at C2/R2, is obtained as shown in Fig. 4.83.
Figure 4.83
Step 4: The transfer function C2/R2 is given by:
C2 G1 G1R 2
= and C2 = (4.3)
R 2 (1- G1G 2G 3G 4 ) (1- G1G 2G 3G 4 )
Step 5: Assuming R2=0 and neglecting C1, from Fig. 4.81, the transfer function C2/R1 is given
as shown in fig. 4.84.
Figure 4.84
C2 -G1G 3G 4 -G1G 3G 4 R1
= and C2 = (4.4)
R1 (1- G1G 2G 3G 4 ) (1- G1G 2G 3G 4 )
45
2. Mathematical modeling of systems
Step 6: Assuming R1=0 and neglecting C2, from Fig. 4.81, the transfer function C1/R2 is given
in fig. 4.85.
Figure 4.85
C1 -G1G 2G 4 -G1G 2G 4 R 2
= and C1 = (4.5)
R 2 1- G1G 2G 3G 4 1- G1G 2G 3G 4
Step 7: When R1 and R2 are simultaneously present, the output C1 due to R1 and R2 is given
by combining Eqn. (4.2) and (4.5):
[G 4 (R1 - G1G 2 R 2 )]
Combined response C1 = (4.6)
(1- G1G 2G 3G 4 )
Step 8: When R1 and R2 are simultaneously present the output C2 due to R1 and R2 is given
by combining Eqn. (4.3) and (4.4):
[G (R - G G R )]
Combined response C2 = 1 2 3 4 1 (4.7)
(1- G1G 2G 3G 4 )
Example 4.13
Using block diagram reduction techniques find the T.F. from each input to the output C for
the system shown in Fig. 4.86.
Figure 4.86
Solution
Step 1: Assume X(s) = 0 and R(s) is present. Let C1(s) be the output now. Eliminating the
inner feedback loop of fig. 4.86 block diagram reduced to as shown in Fig. 4.87
Figure 4.87
Step 2: The forward path block of Fig. 4.87 is combined to give the block diagram as shown
in Fig. 4.88.
Figure 4.88
46
2. Mathematical modeling of systems
Step 3: The feedback loop of Fig. 4.88 is combined to give the block diagram as shown in
Fig. 4.89
Figure 4.89
Step 4: From fig. 4.89, the output C1, when input R only present is given by fig. 4.90.
Figure 4.90
R(s)G1G 2G 3G 5
C1(s) =
{(1+ G 2 )(1+ G 5H 5 ) + G 2G 3G 5}
Step 5: Assume R(s) = 0 and X(s) is present. Let C2(s) be the output now. Fig. 4.86 block
diagram reduced to as shown in Fig. 4.91.
Figure 4.91
Step 6: The inner loop of Fig. 4.91is reduced to give as shown in Fig. 4.92.
Figure 4.92
Step 7: From Fig. 4.92, the output C2 is given by:
X(s)G 4G 5 (1+ G 2 )
C2 =
{(1+ G 2 )(1+ G 5H 5 ) + G 2G 3G 5}
Step 8: When both R(s) and X(s) are simultaneously present, the output C(s) = C 1(s) + C2(s)
as per superposition theorem. Hence,
G {R(s)G1G 2G 3 + G 4 (1+ G 2 )X(s)}
C= 5
{(1+ G 2 )(1+ G 5H5 ) + G 2G 3G 5}
Note: The denominators of C1 and C2 are the same. This is due to the property that the
characteristic equation is same for a given system irrespective of the input given.
Example 4.14
For the system represented by the block diagram shown in the Fig. 4.93, determine C1/R1and
C2/R1.
47
2. Mathematical modeling of systems
Figure 4.93
Solution
C1
Case (i) To find
R1
Step 1: In this case set R2 = 0 and consider only one output C1. Hence we can remove the
summing point which adds R2 and need not consider G6, since G6 is on the open path. The
resulting block diagram is shown in Fig. 4.94.
Figure 4.94
Step 2: Eliminating the feedback path in Fig. 4.94, it becomes as shown in Fig. 4.95.
Figure 4.95
Step 3: Combining the blocks in cascade and splitting the summing point in Fig. 4.95. We get
Fig. 4.96.
48
2. Mathematical modeling of systems
Figure 4.96
Step 4: Eliminating the loop in Fig. 4.96, we get as shown in fig. 4.97.
Figure 4.97
Step 5: Combining the blocks in cascade of Fig. 4.97, we get Fig. 4.98.
Figure 4.98
Step 6: Eliminating the loop in Fig. 4.98, we get Fig. 4.99.
Figure 4.99
Step 6: Simplifying and combining the blocks shown in Fig. 151, we get:
C1 G1G 2G 3 (1+ G 4 )
=
R1 (1+ G 4 ) + G1G 2 (1+ G 4 ) - G1G 4G 5H1H 2
C
Case (ii): To find 2
R1
Step 7: In fig. 4.93 assume R2 = 0 and consider only one output C2. Hence we can remove
the summing point which adds R2 and need not consider G3, since G3 is on the open path.
The resulting block diagram is shown in fig. 4.100.
49
2. Mathematical modeling of systems
Figure 4.100
Step 2: Eliminating the feedback path of fig. 4.100, we get as shown in fig. 4.101.
Figure 4.101
Step 3: Combining blocks in cascade and splitting the summing point in Fig. 4.101, we get as
shown in Fig. 4.102.
Figure 4.102
Step 4: Eliminating feedback path in Fig. 4.102, we get Fig. 4.103
Figure 4.103
50
2. Mathematical modeling of systems
Step 5: Combining the blocks in Fig. 4.103, we get fig. 4.104.
Figure 4.104
Step 6: Eliminating feedback path in Fig. 4.104, we get fig. 4.105
Figure 4.105
Step 6: Simplifying and Combining the blocks in cascade of Fig. 4.105, we get the transfer
function as:
C2 G1G 4G 5G 6 H 2
=
R 1 (1+ G 4 )(1+ G1G 2 ) - G1G 4G 5H1H 2
51
2. Mathematical modeling of systems
Source
5 Output node (or) It is a node that has only incoming branches.
Sink
6 Mixed node It is a node that has both incoming and outgoing
branches.
7 Path A path is a traversal of connected branches in the
direction of the branch arrows. The path should not
cross a node more than once.
8 Open path An open path starts at a node and ends at another
node.
9 Closed path Closed path starts and ends at same node.
10 Forward path It is a path from an input node to an output node that
does not cross any node more than once.
11 Forward path It is the product of the branch transmittances (gains)
gain of a forward path.
12 Individual loop It is a closed path starting from a node and after
passing through a certain part of a graph arrives at the
same node without crossing any node more than once.
13 Loop gain It is the product of the branch transmittances (gains)
of a loop
Non-touching If the loops do not have a common node then they are
loops said to be non-touching loops.
52
2. Mathematical modeling of systems
Figure 4.116
Rule 2: Cascaded branches can be combined to give a single branch whose
transmittance is equal to the product of individual branch transmittance. This
is shown in Fig. 4.117.
Figure 4.117
Figure 4.118
Figure 4.119
Rule 5: A loop may be eliminated by writing equations at the input and output node
and rearranging the equations to find the ratio of output to input. This ratio
gives the gain of resultant branch. This is shown in Fig. 4.120.
Figure 4.120
Proof:
x2 = ax1 + cx3
x3= bx2
Put x2 = ax1 + cx3 in the equation for x3
x3 = b(ax1 + cx3) = ab x1 + bc x3
(or) x3 – bc x3 = ab x1
x3(1 – bc) = ab x1
x3 ab
=
x1 1- bc
53
2. Mathematical modeling of systems
+ ……………………………………
K = for that part of the graph which is not touching Kth forward path.
Example 4.18
Construct a signal flow graph for armature controlled dc motor.
Solution
The differential equations governing the armature controlled dc motor are (refer section
2.6.7).
di
Va = iaRa + La a + eb
dt
(4.10)
T = Ktia
(4.11)
dω
T= J + Bω
dt
(4.12)
eb = Kb
(4.13)
dθ
=
dt
(4.14)
On taking Laplace transform of Eqns. (4.10) to (4.14) we get,
Va(s) = Ia(s)Ra + Las Ia(s) + Eb(s)
(4.15)
T(s) = KtIa(s)
(4.16)
T(s) = Js(s) + B (s)
(4.17)
Eb(s) = Kb(s)
(4.18)
(s) = s (s)
(4.19)
In armature controlled dc motor armature voltage Va(s) is the input variable and angular
displacement (s) is the output variable. Ia(s), T(s), Eb(s) and (s) are intermediate variables.
55
2. Mathematical modeling of systems
1
Ia(s) = [Va (s) - E b (s)] . This is shown in Fig.
R a + sLa
4.121.
Figure 4.121
From Eqn. (4.16), T(s) = KtIa(s). The signal flow graph is shown in Fig. 4.122.
Figure 4.122
From Eqn. (4.17), T(s) = (s) [Js + B]
1
(s) = T(s) . This is shown in Fig. 4.123.
Js + B
Figure 4.123
Figure 4.124
From Eqn. (4.19), (s) = s(s)
1
(s) = ω(s) , This is shown in Fig. 4.125.
s
Figure 4.125
The complete signal flow graph of armature controlled DC motor is shown in Fig. 4.126.
56
2. Mathematical modeling of systems
Figure 4.127
Solution
Step 1: There are two forward paths as shown in Fig. 4.128.
Figure 4.129
Loop gain (L1) of the loop shown in fig. 171(a) = -G2H1
Loop gain (L2) of the loop shown in fig. 171(b) = -G4H2
Loop gain (L3) of the loop shown in fig. 171(c) = -G1G2G3G4G5H3
Loop gain (L4) of the loop shown in fig. 171(d) = -G6H3
Step 3: The combinations of two non-touching loops are:
(i) Loop 1 and Loop 2 is non-touching: Loop gain L12 = G2G4H1H2
(ii) Loop 1 and Loop 4 is non-touching: Loop gain L22 = G2G6H1H3
(iii) Loop 2 and Loop 4 is non-touching: Loop gain L32 = G4G6H2H3
Step 4: Out of these four loops, Loop 1, Loop 2 and Loop 4 are possible combinations of
three non-touching loops:
L13 = -G2G4G6H1H2H3
Step 5: There is no higher order non-touching loops.
Step 6: = 1 – (L1 + L2 + L3 + L4) + (L12 + L22 + L32) – L13
= 1 + (G2H1 + G4H2 + G1G2G3G4G5H3 + G6H3)
+ (G2G4H1H2 + G2G6H1H3 + G4G6 H2H3) + G2G4G6H1H2H3
Step 7:
(i) Considering the first forward path P1, all Loops 1, 2, 3, 4 touch it.
1 = 1 – (0) = 1
57
2. Mathematical modeling of systems
(ii) Considering the second forward path P2, Loops 1, 2 do not touch it.
2 = 1– (Sum of gain of individual non-touching loops)
+ (Sum of gain product of two non-touching loops)
2 = 1 – (-G2H1 – G4H2) + G2G4H1H2
= 1 + G2H1 + G4H2 + G2G4H1H2
PΔ +P Δ
Step 8: T= 1 1 2 2
Δ
G1G 2G3G 4G5 + G6 (1+ G 2H1 + G 4H2 + G 2G 4H1H2 )
=
1+ (G 2H1 + G 4H2 + G1G 2G3G 4G5H3 + G6H3 ) + ( G 2G 4H1H2 + G 2G6H1H3 + G 4G 6H2H3 ) + G 2G 4G6H1H2H3
Example 4.20
Find the transfer function of the system shown in Fig. 4.130 using Mason’s gain formula.
Figure 4.130
Solution
Step 1: The two forward paths of the given SFG of Fig. 4.130 are shown in Fig. 4.131
58
2. Mathematical modeling of systems
Figure 4.132
L1 = -G1G2H1; L2 = -G2G3H2 and L3 =G2G4H1H2
Step 3: There are no higher order non-touching loops.
Step 4: = 1 – (L1 + L2 +L3) = 1 + G1G2H1 + G2G3H2 - G2G4H1H2
Step 5: For P1: Loop 1, Loop 2 and Loop 3 touch the first forward path
1 = 1
For P2: Loop 1, Loop 2 and Loop 3 touches P2
2 = 1
PΔ +P Δ G1G 2G 3 + G 4
Step 6: Transfer function = 1 1 2 2 =
Δ 1+ G1G 2 H1 + G 2G 3H 2
Example 4.21
The SFG of a system is shown in Fig. 4.133. Find the transfer function of the system.
Figure 4.133
Solution
Step 1: The two forward paths of the system in Fig. 4.133 are shown in Fig. 4.134.
Figure 4.136
Solution
Step 1: The SFG of Fig. 4.136 has the following forward paths as shown in fig. 4.137.
60
2. Mathematical modeling of systems
Figure 4.139
Solution
Step 1: The two forward path of Fig. 4.139 is shown in Fig. 4.140.
Figure 4.142
Solution
Step 1: The three forward paths of Fig. 4.142 are shown in Fig. 4.143.
63
2. Mathematical modeling of systems
Figure 4.145
Solution
Step 1: The forward paths of Fig. 4.145 are as shown in Fig. 4.146.
64
2. Mathematical modeling of systems
65
2. Mathematical modeling of systems
L62 = Gain of Loop 4 Gain of Loop 5 = G8G9G11H2H3
L72 = Gain of Loop 2 and Gain of Loop 3 = G5G7G8H1H2
Step 4: Three non-touching loops are given by:
L13 = Gain of Loop 1 Gain of Loop 2 Gain of Loop 5 = -G2G5G11H1H2H3
L23 = Gain of Loop 1 Gain of Loop 4 Gain of Loop 5 = -G2G8G9G11H1H2H3
L33 = Gain of Loop 2 Gain of Loop 3 Gain of Loop 5 = -G5G7G10G11H1H2H3
Step 5: There are no higher order non-touching loops
Step 6:
= 1 – (L1 + L2 + L3 + L4 + L5) + (L12 + L22 + L32 + L42 + L52 + L62+L72) - (L13 + L23 + L33)
= 1 + (G2H1 + G5H2 + G7G10H1 + G8G9H2 + G11H3)
+ (G2G5H1H2 + G2G8G9H1H2 + G2G11H1H3 + G5G11H2H3 + G7G10G11H1H3
+ G8G9G11H2H3 + G5G7G10H1H2)
+ (G2G5G11H1H2H3 + G2G8G9G11H1H2H3 + G5G7G10G11H1H2H3)
Step 7:
For P1, 1 = 1 – (-G5H2 – C8C9H2) = 1 + (G5H2 + G8G9H2)
For P2, 2 = 1 – (-G5H2) = 1 + G5H2
For P3, 3 = 1
For P4, 4 = 1 – (-G2H1 – G7G10H1) = 1 + (G2H1 + G7G10H1)
For P5, 5 = 1 – (-G2H1) = 1 + G2H1
For P6, 6 = 1
Step 8:
PΔ +P Δ +P Δ +P Δ +P Δ +P Δ
Transfer function = 1 1 2 2 3 3 4 4 5 5 6 6
Δ
Example 4.26
Find transfer function of the system shown in Fig. 4.148 using Mason’s gain formula.
Figure 4.148
Solution
Step 1: The two forward paths of the given SFG in Fig. 4.148 are shown in Fig. 4.149:
66
2. Mathematical modeling of systems
67
2. Mathematical modeling of systems
Example 4.27
Find transfer function of the system shown in Fig. 4.151 using Mason’s gain formula.
Figure 4.151
Solution
Step 1: The two forward paths of Fig. 4.151 are shown in Fig. 4.152:
68
2. Mathematical modeling of systems
Figure 4.154
Solution
Step 1: The SFG shown in Fig. 4.154 has the following three forward paths as shown in Fig.
4.155.
69
2. Mathematical modeling of systems
Figure 4.157
Solution
Step 1: The two forward paths of Fig. 4.157 are shown in Fig. 4.158.
Example 4.30
Construct the signal-flow graphs for the following set of equations:
Y2 = G1Y1 – G2Y4
Y3 = G3Y2 + G4Y3
Y4 = G5Y1 + G6Y3
Where Y4 is the output. Using Mason’s gain formula, find the transfer function of the system.
Solution
From equation Y2 = G1Y1 – G2Y3, Fig. 4.160 is drawn.
Figure 4.160
Using equation Y3 = G3Y2 + G4Y3, fig. 4.160 is modified as shown in Fig. 4.161:
Figure 4.161
Using equation Y4 = G5Y1G6Y3, fig. 4.161 is modified as shown in Fig. 4.162:
Figure 4.162
Using dummy nodes for input and output, Fig. 4.162 becomes as shown in fig. 4.163
Figure 4.163
Fig. 4.164 shows the signal–flow graph of the given equation of the system. To get the
transfer function of the system, the following steps are followed.
Step 1: The forward paths of the system shown in Fig. 4.163 are shown in Fig. 4.164.
P1 = G1G3G6
and P2 = G5
71
2. Mathematical modeling of systems
72
2. Mathematical modeling of systems
Vi(s) = Vo(s) + (R1 + sL) I(s)
V (s)-Vo (s)
I(s) = i (4.20)
R1 +sL
Using Eqn. (4.20), the SFG as shown in Fig. 4.168 can be drawn:
Figure 4.169
The SFG of figure has only one forward path.
1 1 1+ sR 2C
Path gain (P1) = R 2 + =
sC (R1 + sL) sC(R1 + sL)
The SFG has only one loop.
1+ sR 2C
Loop gain (L) = -
sC(R1 + sL)
1+ sR 2C
=1–L=1+
sC(R1 + sL)
1 = 1 (Since loop is touching the only forward path).
1+ sR 2C
×1
P1Δ1 sC(R1 + sL) 1+ sR 2C
Transfer function = = =
Δ 1+ sR 2C s 2 LC + sC(R1 + R 2 ) +1
1+
sC(R1 + sL)
Example 4.32
Find the transfer function of an electrical network shown in Fig. 4.170 using Mason’s gain
formula.
73
2. Mathematical modeling of systems
74
2. Mathematical modeling of systems
2
PΔ s LC +1
Transfer function = 1 1 =
Δ s 2 LC + sRC +1
Example 4.33
Determine the transfer function of an electrical network shown in Fig. 4.175
75
2. Mathematical modeling of systems
L
P1 =
R1R 2 C
Step 2:
Individual feedback loops are shown in Fig. 4.179.
Figure 4.179
1 1 sL
L1 = - , L2 = - and L3 = -
sR1C sR 2 C R2
Step 3:
L
The loops L1 and L3 are non-touching. Therefore, L12 = L1L3 =
R1R 2 C
Step 4: There are no higher–order non-touching loops.
Step 5: Since all the loops touch the forward path, 1 = 1.
Step 6:
1 1 sL L
= 1- - - - +
sR1C sR 2C R 2 R1R 2C
1 1 sL L
= 1+ + + +
sR1C sR 2C R 2 R1R 2C
Step 7:
L
P1Δ1 R1R 2C sL
T.F. = = =
Δ 1 1 sL L 2
s R1LC + s(L + R1R 2C) + (R1 + R 2 )
1+ + + +
sR1C sR 2C R 2 R1R 2C
Example 4.34
Obtain the block diagram for the signal-flow graph shown in Fig. 4.180
Figure 4.180
Solution
Y1 = G1X – H1Y2 (4.28)
Y2 = G2Y1 – H2Y4 (4.29)
Y3 = G3Y2 – H3Y4 (4.30)
Y4 = G4Y3 + G5Y2 (4.31)
Y = G6Y4 (4.32)
From Eqn. (4.28), Fig. 4.181 can be obtained.
76
2. Mathematical modeling of systems
Figure 4.181
Using Eqn. (4.29), Fig. 4.181 is modified as shown in Fig. 4.182:
Figure 4.182
Using equation (4.30), Fig. 4.182 is modified as shown in Fig. 4.183:
Figure 4.183
Using equations (4.31) and (4.32), Fig. 4.183 is modified as shown in Fig. 4.184:
Figure 4.184 Shows the block diagram of the SFG referred in Fig. 4.180
Short Questions
4.1 What is block diagram? What are the basic components of block diagram?
A block diagram of a system is a pictorial representation of the functions performed
by each component of the system and shows the flow of signals. The basic elements
of block diagram are block, branch point and summing point.
4.2 What is the basis for framing the rules of block diagram reduction technique?
The rules for block diagram reduction technique are framed such that any
modification made on the diagram does not alter the input output relation.
4.3 Write the rule for moving the summing point ahead of a block.
77
2. Mathematical modeling of systems
Proof C = (R – CH) G
C = RG – CHG
C + CHG = RG
C(1 + HG) = RG
C G
=
R 1+ GH
4.5 What is a signal flow graph?
A signal flow graph is a diagram that represents a set of simultaneous linear algebraic
equations. By taking Laplace transform, the time domain differential equations
governing a control system can be transferred to a set of algebraic equations in s-
domain. The signal flow graph of the system can be constructed using these
equations.
4.6 What is transmittance?
The transmittance is the gain acquired by the signal when it travels from one node to
another node in signal flow graph.
4.7 What is sink and source?
Source is the input node in the signal flow graph and it has only outgoing branches.
Sink is an output node in the signal flow graph and it has only incoming branches.
4.8 Define non-touching loop.
The loops are said to be non-touching if they do not have common nodes.
4.9 What are the basic properties of signal flow graph?
The basic properties of signal flow graph are
a. Signal flow graph is applicable to linear systems.
b.It consists of nodes and branches. A node is a point representing a variable or
signal. A branch indicates functional dependence of one signal on the other.
c. A node adds the signals of all incoming branches and transmits this sum to all
outgoing branches.
d.Signals travel along branches only in the marked direction and is multiplied by
the gain of the branch.
e. The algebraic equations must be in the form of cause and effect relationship.
4.10 Write the Mason’s gain formula.
Mason’s gain formula states that the overall gain of the system [transfer function] as
follows,
1
Overall gain, T = Σ k Pk Δ k
Δ
T = T(s) = Transfer function of the system
K = Number of forward paths in the signal flow graph
78
2. Mathematical modeling of systems
Pk = Forward path gain of Kth forward path.
= 1 – (Sum of individual loop gains)
+ ……………………………………
K = for that part of the graph which is not touching Kth forward
path.
2. Concept of state, state vector, state space, state trajectory and state space structure
The definitions of some common terms used in state space modeling are:
State: The state of a dynamic system is the smallest set of variables (called state variables)
such that the knowledge of these variable at t=t0, together with the knowledge of the input for
t t0 completely, determines the behavior of the system for any time t t0.
State Vector: If n state variable x1, x2, x3, ..., xn are needed to completely describe the
behavior of a given system, then these n state variable can be considered as the n-components
of a vector X. Such a vector is called a state vector.
State space: The n-dimensional space whose co-ordinate axes consist of the x1-axis, x2-axis
... xn-axis is called a state space.
State trajectory: At any time t, the state of the system defines a point in state space. As time
progresses and the system state changes, a set of points will be defined. This set of points,
the locus of the tip of the state vector as time progresses, is called the state trajectory of the
system.
State Space Structure: In state variable formulation of a system, the state variables are
usually represented by x1(t), x2(t), ..., xn(t), the inputs by u1(t), u2(t), u3(t), ..., um(t) and the
outputs by y1(t), y2(t), ..., yp(t). The state space structure may be visualized in block diagram
form as shown in Fig. 1. The different variables may be represented as the input vector u(t),
output vector y9t) and state vector x(t).
79
2. Mathematical modeling of systems
80
2. Mathematical modeling of systems
a11 a12 a1n x1 b11 b12 b1m u1
x1
a 21 a 22 a 2n x2 b 21 b 22 b 2m u2
x2
= + (2)
a 31 a 32 a 3n x3 b31 b32 b3m u3
3
x
a n1 an2 a nn x n b n1 bn 2 b nm u m
n
x
82
2. Mathematical modeling of systems
x1 + x2 + C x 3 = 0
1 1
or x3 = - x1 - x 2 (7)
C C
Applying Kirchhoff’s voltage law in R1-side loop
di1
e + i1R1 + L1 =V
dt
Substituting the variables in the above equation
u + x1R1 + L1 x1 = x3
R1 1 1
x1 = - x1 + x 3 - u (8)
L1 L1 L1
Applying Kirchhoff’s voltage law in R2-side loop
di 2
L2 + i2 R 2 = V
dt
Substituting the variables in the above equation
L2 x 2 + x2R2 = x3
R2 1
x2 = - x2 + x3 (9)
L2 L2
Equations (7), (8) and (9) are the state equations of the RLC network. Combining the
equation in the matrix form we get,
83
2. Mathematical modeling of systems
x1 - R 1 1 x1 1
0 - L
L1 L1
1
= 1
+
[u]
(10)
x2 0 -
R2 x2
L2 0
L2
1 1
x3 - - 0 x 3 0
C C
If the voltage across the resistance R1 and R2 and the voltage across the capacitor C are the
outputs, then;
y1 = i1R1; y2 = i2R2; y3 = V
Substituting the variables
y1 = x1R1; y2 = x2R2 and y3 = x3
In the matrix form,
y1 R1 0 0 x1
= (11)
y2 0 R2 0 x2
y 3 0 0 1 x 3
Example 2
Obtain the state model of the parallel RLC network shown in fig. 5.
x1 = V = x2
84
2. Mathematical modeling of systems
x2 = V
and u = cos ωt
Substituting the variables in the above equation
1 1
ωImu = x 2 + x1 + C x 2
R L
1 1 I
or x2 = - x1 - x2 + m u
LC RC C
In matrix form, the state equation is
0 1 x1 0
x1 = + [u] (12)
1 1 I
- - x 2 m
x2 LC RC C
The output equation is
x1
Y = 1 0 (13)
x 2
Example 3
Obtain the state model of the electrical network shown in fig. 6, by choosing v1(t) and v2(t) as
state variables. Assume R = 1 K and C = 0.5 mF.
Solution
The voltage source is converted into current source as shown in fig. 6a.
At note 1, applying Kirchhoff’s current law
V1 - V2 dV
+C 1 = 0 (14)
R dt
Applying Kirchhoff’s current law at note 2,
V2 - V1 V2 dV V
+ +C 2 = (15)
R R dt R
Let the state variables are
85
2. Mathematical modeling of systems
x1 = V1
x2 = V2
and Input V = u
Substituting the state variable, equation (14) becomes
x1 - x 2
+ C x1 = 0
R
1 1
C x1 = - x1 + x 2
R R
1 1
x1 = - x1 + x2 (16)
RC RC
Substituting in equation (15)
x 2 - x1 x 2 u
+ + C x2 =
R R R
1 2 1
or x2 = x1 - x2 + u (17)
RC RC RC
The state equation (16) and (17) in matrix form is given by
1 1 0
x 1 RC RC x1
-
= u
+ (18)
1 2 1
x2 RC - RC x 2 RC
The Output Y = V1 = x1
In matrix form
x1
y = 1 0 (19)
x 2
Subsuming the value R = 1 K and C = 0.5 mF in equation (18)
-2 2 x1 0
x1
= + u (20)
2 -4 x 2 2
x2
x1
y = 1 0 (21)
x 2
Example 4
For the RLC circuit shown in Fig. 7, obtain the state-space model.
86
2. Mathematical modeling of systems
L x1 + Rx1 + x2 = u
R 1 1
x1 = - x1 - x 2 + u
L L L
dV
C C =i
dt
C x 2 = x1 output y = VC = x2
x
x2 = 1
C
In matrix form
R 1
- L - x1 1
x1 L L
=
+ u
(24)
1
C 0 x 2 0
x2
x1
y = 0 1 (25)
x 2
Example 5
Find the state space model of the electrical network shown in Fig. 8.
87
2. Mathematical modeling of systems
V C = x1 and diL/dt = x 2
and input V = u
Substituting the state variables in equation (26) and (27)
x1
C x1 + = x2
R
1 1
(or) x1 = - x1 + x 2 (25)
RC C
Similarly
L x 2 + x1 = u
1 1
x 2 = - x1 + u (26)
L L
The output is given by the voltage across the capacitor
Y = VC = x1 (27)
In matrix form, the state equation and output equation are
1 1 x 0
x1 - RC C 1
+ u
= (28)
1 1
x2
-
L 0 x 2 L
88
2. Mathematical modeling of systems
x1
Y = 1 0 (29)
x 2
Example 11
Derive the state model for the circuit shown in fig. 14.
L1 x1 - x3 + x4 – u1 = 0
1 1 1
(or) x1 = x 3 - x 4 + u1
L1 L1 L1
Rx2 + L2 x 2 + u2 – x4 = 0
R 1 1
(or) x2 = - x2 + x4 - u2
L2 L2 L2
1
C1 x 3 = x 1 (or) x3 = x1
C1
1 1
C2 x 4 = x 1 – x2 (or) x4 = x1 - x2
C2 C2
89
2. Mathematical modeling of systems
In matrix form
1 1
x1 0 0 - x
L1 L1 1
R 1 1
x2 = 0 - 0 x 0 u1
L2 L 2 2 L1 (61)
+
1 1
0 0 0 x3 0 - u
x3 C L 2 2
1
1 1
C - 0 0 x 4
x4 1 C2
y = VC2 = x4
x1
x2
or y = 0 0 0 1 (62)
x3
x 4
Example 12
Obtain the state space model for the circuit shown in fig. 15.
Solution
di 2
At Loop 1 Vi = Ri1 + L + Ri 2 (63)
dt
At Loop 2 Vi = Ri1 + VC (64)
dVC
C = i3 (65)
dt
Current i1 – i2 = i3 (66)
90
2. Mathematical modeling of systems
Let the state variable are
x1 = i2 and x2 = VC and u = Vi
Substituting the variables in the equation (63), (64), (65) and (66)
Vi = Ri1 + L x1 + Rx1 (67)
Vi = Ri1 + x2 (68)
C x 2 = i3 = i1 – x1 (69)
i1 – x1 = i3 (70)
Combining equations (67) and (68)
91
2. Mathematical modeling of systems
Figure 15 An electrical circuit
Solution
The circuit is redrawn by converting the current source into a voltage source.
L1 x1 + R2x1 + u2 – x2 = 0
R2 1 u
x1 = - x1 + x 2 - 2 (80)
L L L
1 1 1
x 2 = - x1 - x2 + u1 (81)
C R1C R1C
In matrix form
R2 1 1
x1 - L 0 - u1
L L
=
(82)
+
1 1 1
x2 -C -
R1C R1C
0 u 2
92
2. Mathematical modeling of systems
1 1
y = i1-i2 = - x1 + u1 -X2
R1 R1
1 1
=- x1 - X 2 + u1
R1 R1
x1 u1
1 1
y = − -X 2 + 0 (83)
R1 R1
x 2 u 2
Example 14
Obtain the state model for the circuit shown in Fig. 16.
93
2. Mathematical modeling of systems
1 1 1 1
x2 = x1 - + x2 + u2
R 2C2 R 2C2 R 3C2 R 3C2
In matrix form
1 1 1 1
x1 - + x1 0 u1
= R1C1 R 2C1 R 2C1 R1C1
+ (86)
1 1 1 1
x2 - + x 2 0 u
R 3C2 2
R 2 C 2 R 2 C 2 R 3C 2
If the voltage across the capacitor VC1 and VC2 are output
y1 1 0 x1
= (87)
y 2 0 1 x 2
Example 15
Determine the state model of an armature controlled d.c. motor and draw the bock diagram of
the model
Solution
The differential equation governing the mechanical systems of the motor shown in Fig. 19, is
d 2θ dθ
J 2
+B =T (91)
dt dt
Also Torque is proportional to armature current, i.e.,
T ia or T = Ktia (92)
Substituting equation (91) in equation (89), the equation becomes
d 2θ dθ
J +B = Ktia (93)
dt 2 dt
Define the state variables as
dθ
x1 = ia; x2 = and x3 = and input Va = u
dt
Substituting the variable in equation (90)
dx1
x1Ra + La + Kbx2 = u
dt
or x1Ra + La x1 + Kbx2 = u
Ra K 1
or x1 = - x1 - b x 2 + u
La La La
Substituting the variables in equation (91)
J x 2 + Bx2 = Ktx1
K B
or x 2 = t x1 - x 2
J J
and x 3 = x2
In matrix form
95
2. Mathematical modeling of systems
x1 Ra Kb 1
- L - 0 x1
a La
a
L
= K B
(93)
x2 0 x 2 + 0 u
t -
J
J
x3 0 1 0 x 3 0
If the armature circuit, speed and displacement are the output variables, then
dθ
y1 = ia = x1 ; y2 = = x2 and y3 = = x3
dt
In matrix form
y1 1 0 0 x1
= (94)
y2 0 1 0 x 2
y 3 0 0 1 x 3
and x 3 = x2
In matrix form
Rf 1
- L 0 0 x1
x1
f
L
f
= (100)
K tf B
x2 J - 0 x 2 + 0 u
J
x3 0 1 0 x 3 0
97
2. Mathematical modeling of systems
x1
1
y 0 1 0
= x2 (101)
y 2 0 0 1
x 3
Fig. 24 shows the block diagram representation of the state model of field controlled dc
motor.
99
2. Mathematical modeling of systems
12. What are the basic elements used to construct the state diagram?
The basic elements used to construct the state diagram are Scalar, Adder and
Integrator.
13. Sketch the basic elements used to construct the block diagram of a state model.
The basic elements used to construct block diagram of a state model are shown in the
following table.
14. Sketch the basic elements used to construct the signal flow graph of a state
model.
The basic elements used to construct the signal flow graph of a state model are shown
in the following table.
100
2. Mathematical modeling of systems
15. Draw the block diagram of the system described by the state model.
0 1 0 x1 0
x1
= 0 0 1 x 2 + 0 u and y = x1
x2
x3 0 a 2 a 3 x 3 1
Solution
16. Draw the signal flow graph of the system described by the state model.
X1 a1 a 2 0 x1 1
X 2 = 1 0 1 x 2 + 0 u and y = x3
X 3 0 1 0 x 3 0
Solution
17. Determine the state model of the system represented by the block diagram of .
Solution
101
2. Mathematical modeling of systems
X1 0 1 0 x1 1
X 2 = 1 0 0 x 2 + 0 u and y = x3
X 3 0 1 0 x 3 0
18. Determine the state model of the system represented by the signal flow graph of Fig. .
Solution
X1 0 1 0 x1 0
X 2 = -2 0 1 x 2 + 0 u and y = x1
X 3 0 0 0 x 3 1
Solution
d2 y dy
Given that,
2
+10 + 7y - u = 0
dt dt
On taking laplace transform of equ(1) without zero initial conditions we get,
s2Y(s) + 10s Y(s) + 7 Y(s) – U(s) = 0
(s2 + 10 s + 7) Y(s) = U(s)
Y(s) 1
= 2 … (2)
U(s) s +10s + 7
The equ(2) is the transfer function of the system.
Y(s) 1
20. The transfer function of a system is given by = 2 . Determine the
U(s) s + 10s + 7
differential equation governing the system.
Solution
102
2. Mathematical modeling of systems
Y(s) 1
Given that = 2
U(s) s +10s + 7
[4s|2|+2s+1]Y(s)=10U(s)
4s2Y(s)+2sY(s)+Y(s)=10U(s) .....(1)
On taking inverse laplace transform of equ(1) we get
d2 y
dy
4 +2
+ y = 10u
dt 2 dt
d2 y dy
4 2 + 2 + y -10u = 0 ....... (2)
dt dt
The equ(2) is the differential equation governing the system.
21. What are the advantages of state space modelling using physical variable?
The advantages of choosing the physical variable are the following,
1. The state variable can be utilized for the purpose of feedback.
2. The implementation of design with state variable feedback becomes straight
forward.
3. The solution of state equation gives time variation of variables which have direct
relevance to the physical system.
103