Professional Documents
Culture Documents
Week 7 - Control System Part 2
Week 7 - Control System Part 2
Week 7 - Control System Part 2
2.0 INTRODUCTION
In order to control a system, one must understand the system and obtain the mathematical
model of the system. The understanding of the system is very important in order to come
out with the right mathematical model. Since the system under consideration is dynamic in
nature, the descriptive equations are usually differential equations. Once the equations are
linearized, the Laplace Transform can be utilized to simplify the method of solution.
Basic requirements for mathematical models are that they should provide :
Often systems are modeled in terms of changes in variables around the operating point
before the application of the inputs rather than the variables themselves. This allows for
setting all initial conditions of the system to be zero and hence the transfer function can be
determined. Transfer function of a system is defined as :
Y( s )
T(s)
X(s) zero initial condition.
where
The type and nature of the differential equations needed to describe a given system
depends on the type and nature of the system.
Equivalent circuit for the electric networks consists of three passive linear components:
resistors, capacitors and inductors. The mathematical modeling of electric networks can be
done using the relationships in Table 1. The combination of electrical components and
identification of input and output has to be done in order to find the transfer function. The
guiding principles are Kirchhoff’s laws.
1t dv( t ) 1 1
v( t ) i( )d i( t ) C v( t ) q( t ) Cs
C0 dt C Cs
Capacitor
di( t ) 1t d2 q( t ) 1
v( t ) L v(t ) v ( )d v( t ) L Ls
dt L0 dt Ls
Inductor
1 di( t ) 1
i( t ) v( t ) v( t ) L
v( t ) Ri( t ) R dt R
R
Resistor
i(t) R
vi(t) C vo(t)
Figure 1
1
Vo (s) I(s) (2)
Cs
1
or v o (t ) i(t)dt
c
I(s) CsVo (s)
Vo (s) 1 1
Vi (s) (RCs 1) RC(s 1 / RC)
Vo (s) 1 / RC
Vi (s) (s 1 / RC)
Theory: y = ax
x a y
+ 1
Vi ( s) I( s)
R
-
Vo (s)
1
From equation (2): Vo (s) I(s)
Cs
I(s) 1
Vo (s)
Cs
Vi(s)
+ 1 1
Vo(s)
R I(s) Cs
-
Theory:
x a b y
x ab y
Vi(s)
+ 1
Vo(s)
RCs
-
Theory:
x
+ a y
a
x y
1 a
1 1
Vo (s) RCs RCs 1
Vi (s) 1 RCs 1 RCs 1
1
RCs RCs
1
RC(s 1 / RC)
1
Vo (s) RC
Vi (s) 1
(s )
RC
1
Vi(s) RC Vo(s)
1
s
RC
vi(t) R vo(t)
Figure 2
1
Vi (s) I(s) Vo (s) (1)
Cs
1
or v i ( t) i(t) dt v o ( t)
C
1 Vo (s) 1
Vi (s) Vo (s) 1 Vo (s)
Cs R RCs
1 RCs
Vo (s)
RCs
Vo (s) RCs
Vi (s) (RCs 1)
RCs
RC(s 1 / RC)
Vo (s) s
Vi (s) (s 1/ RC)
1
From equation (1): Vi (s) I(s) Vo (s)
Cs
1
Vi (s) Vo (s) I(s)
Cs
[ Vi (s) Vo (s)]Cs I(s)
Vi ( s) + Cs I( s)
Vo (s)
I(s) R Vo (s)
Vi(s)
+ Cs R Vo(s)
I(s)
-
Vi(s)
+ RCs Vo(s)
RCs
RC(s 1 / RC)
Vo (s) s
Vi (s) (s 1/ RC)
s
Vi(s) 1 Vo(s)
s
RC
i(t) R L
vi(t) C vo(t)
Figure 3
Vi (s) (R Ls)I(s)Vo (s) (1)
di
or v i (t) Ri(t) L v o ( t)
dt
1
Vo (s) I(s) (2)
Cs
1
or v o (t ) i(t)dt
C
I(s) CsVo (s)
Vo (s) 1
Vi (s) (R Ls)Cs 1
1
2
LCs RCs 1
1
RC 1
LC s 2 s
LC LC
1
Vo (s) LC
Vi (s) R 1
s2 s
L LC
Vi (s) + 1 I(s)
R Ls
-
Vo (s)
1
From equation (2): Vo (s) I(s)
Cs
I(s) 1
Vo (s)
CS
Vi(s)
+ 1 1
Vo(s)
R Ls Cs
-
+ 1
Vi(s) Vo(s)
Cs(R Ls)
-
1 1
Vo (s) Cs(R Ls) Cs(R Ls)
Vi (s) 1 Cs(R Ls) 1
1
Cs(R Ls) Cs(R Ls)
1 1
2
Cs(R Ls) 1 LCs RCs 1
1
RC 1
LC s 2 s
LC LC
1
Vo (s) LC
Vi (s) R 1
s2 s
L LC
1
Vi(s) LC Vo(s)
2 R 1
s s
L LC
PROBLEM 1 : Determine the transfer function VL(s)/Vi(s) of the circuit in Figure P1.
Figure P1
PROBLEM 2 : Determine the transfer function I2(s)/Vi(s) of the circuit in Figure P2.
R1 R2
+
Vi(t) L C Vc(t)
i1(t) i2(t)
DC -
Figure P2
PROBLEM 3 : Determine the transfer function VL(s)/Vi(s) of the circuit in Figure P3.
VS
DC i(t)
+
L VL(t)
-
Figure P3
Mechanical systems parallel to electrical networks as there are analogies between the two
systems. Mechanical systems like electrical networks have three passive linear components
i.e. the spring and mass (both are energy storage elements and the damper dissipates
energy). The two energy-storage elements are analogous to the two electrical energy-
storage elements, the inductor and capacitor. The energy dissipater is analogous to electrical
resistance. Table 2 summarizes the relationship between force-velocity, force-displacement
and impedance translational relationships for springs, viscous damper and mass. The
guiding principles for this system is using Newton’s law.
Table 2 : Force, velocity, displacement and impedance relationships for springs, viscous
dampers and mass.
t f ( t ) Kx( t ) K
f (t) K v ( )d
0
Spring
f (t) fv v( t ) f (t ) fv
dx ( t )
dt fvs
Viscous
Damper
d2 x( t )
dv( t ) f ( t ) M Ms2
f (t) M dt
dt
Mass
Determine the transfer function X(s)/F(s) of the translational mechanical system in Figure 4.
x(t)
f(t)
Figure 4
d 2x
Kx(t) M 2 KX(s) Ms2X(s)
dt
M M
f(t) F(t)
x(t) X(s)
(a) (b)
Figure 5:
(a) Free body diagram of mass and spring system
(b) Transformed FBD
d2 x
Differential equation f (t ) M
Kx(t )
dt 2
2
Laplace transform F(s) (Ms K )X(s)
X ( s) 1
Transfer Function: 2
F(s) (Ms K)
Example 5:
Determine the transfer function X(s)/F(s) of the translational mechanical system in Figure 6.
Figure 6
Figure 7:
(a) Free body diagram of mass, spring and viscous damper system
(b) Transformed FBD
d2 x dx
Differential equation f (t ) M fV Kx(t )
dt 2 dt
X ( s) 1
Transfer Function : 2
F(s) (Ms fv s K )
Example 6:
x1(t) x2(t)
fv2
f(t)
M1 M2
K1 K3
K2
fv1 fv3
Figure 8
Example 7:
x3(t)
M3
fv3 fv4
K1 K2
M1 M2 f(t)
x1(t) x2(t)
fv1 fv2
Figure 9
PROBLEM 4 :
Figure P4
PROBLEM 5 :
Figure P5
t T( t ) K (t ) K
T( t ) K ( )d
0
Spring
T( t ) D (t) T( t ) D
d (t)
dt Ds
Viscous
Damper
d2 ( t )
J d ( t ) T( t ) J Js2
T( t ) J dt
dt
Inertia
The values K, D and J are called spring constant, coefficient of viscous friction and moment
of inertia respectively. The concept of degrees of freedom carries over to rotational systems
except that a point of rotation is tested by rotating it while all other points are held still equals
the number of equations of motion required to describe the system.
The rotational mechanical system equation is similar as the translational mechanical system
except that the free-body diagrams consists of torques rather than forces :
1. First rotate a body while holding other points still and place its free-body diagram due
to body’s own motion.
2. Then, holding the body still, rotate adjacent points of motion one at a time and add
the torques due to the adjacent motion to the free-body diagram.
3. Repeat process 1 and 2 for each point of motion.
4. For each free-body diagram, the torques are summed and set equal to zero to form
the equations of motion.
T, J
or
D
T, J
Example 8:
T, 1 K 2
D2
J1 J2
D1
Figure 10 : Schematic diagram
T, 1 2
J1 J2
D1 D2
Bearing Bearing
Physical system
Example 9:
T, 1 K 2
D2 D3
3
J1 J2 J3
D1
Figure 11
PROBLEM 6 :
Write the equations of motion for the rotational mechanical system shown in Figure P6.
Figure P6
Example 10:
Determine the transfer function (s) / Vi (s) of the rotational mechanical system in Figure
12.
Figure 12.
d
Back electromotive force (back e.m.f), e b
dt
K b - back e.m.f. coefficient (V/rad)
d
eb Kb
dt
E b ( s ) K b s ( s) (2)
Motor torque, T ia
T K mi a
K m - Motor torque coefficient (Nm/A)
T ( s) K m I a ( s )
T ( s)
I a ( s) (3)
Km
Js 2 Fs
I a ( s) ( s) (5)
Km
Js 2 Fs
Vi (s) (R a L a s) ( s) K b s ( s)
Km
1
Vi (s) (R a L a s)(Js 2 Fs) K b s (s)
Km
(s) Km
Vi (s) (R a L a s)(Js 2 Fs) K mK b s
Km
Vi (s) ( s)
(R a L a s)(Js 2 Fs) K mK b s
+ 1
Vi (s) I a (s)
(R a L a s)
-
E b ( s)
I a ( s) Km T ( s)
T ( s) 1
2
( s)
JS Fs
(s) Kb s E b ( s)
+ 1 I a ( s) T ( s) 1
Vi (s) Km ( s)
(R a L a s) (Js 2
Fs)
-
E b ( s)
Kb s
x a b c y
x abc y
+ Km
Vi ( s) ( s)
(R a L a s)(Js 2 Fs)
-
Kb s
Theory:
x
+ a y
x a y
1 ab
Km
( s) (R a L a s)(Js2 Fs)
Vi (s) KmKb s
1
(R a L a s)(Js2 Fs)
Km
(R a L a s)(Js2 Fs)
(R a La s)(Js2 Fs) KmKb s
(R a L a s)( Js2 Fs)
( s) Km
Vi (s) (R a L a s)(Js 2 Fs) K mK b s
Km
Vi ( s) ( s)
(R a L a s)(Js 2 Fs) K mK b s
Example 11:
Determine the transfer function (s) / Vi (s) of the rotational mechanical system in Figure
13.
if Rf Ra
ia=constant F
T,
Vi Lf
M J
Figure 13
Motor torque, T if
T K fif
K f - Motor Torque coefficient (Nm/A)
T ( s) K f I f ( s)
T ( s)
I f ( s) (2)
Kf
Js 2 Fs
I f ( s) ( s) (4)
Kf
Js 2 Fs
Vi (s) (R f L f s) ( s)
Kf
( s) Kf
Vi (s) (R f L f s)(Js 2 Fs)
Kf
Vi (s) ( s)
(R f L f s)(Js 2 Fs)
1
Vi ( s) I f ( s)
R f Lf s
I f ( s) Kf T ( s)
T ( s) 1
2
( s)
JS Fs
1 I f (s) T ( s) 1
Vi ( s) Kf ( s)
(R f L f s) ( Js 2 Fs)
Open-loop system
Kf
Vi (s) ( s)
(R f L f s)(Js 2 Fs)
( s) Kf
Vi (s) (R f L f s)(Js 2 Fs)
Example 12:
Determine the transfer function Vo (s) / Vi (s) of the rotational mechanical system in
Figure 14.
if Rf
Vi Lf G
Vo
Constant
speed
Figure 14
Generator voltage, v o if
vo K gi f
K g - Generator coefficient (V/A)
Vo (s) K g I f ( s)
Vo (s)
I f ( s) (2)
Kg
Vo (s)
Vi (s) (R f L f s)
Kg
Vo (s) Kg
Vi (s) (R f L f s)
Kg
Vi (s) Vo (s)
(R f L f s)
1
Vi (s) I f ( s)
R f Lf s
I f ( s) Kf T ( s)
1 I f ( s)
Vi (s) Kf Vo (s)
(R f L f s)
Kg
Vi (s) Vo (s)
(R f L f s)
Vo (s) Kg
Vi (s) (R f L f s)
PROBLEM 7 :
ia Ra La
if Rf
B
T,
e Lf G ea eb M J
if=constan
t
Constant
speed
Generator Motor
Figure P7