UTM BOOK Intro To Control Engineering
UTM BOOK Intro To Control Engineering
lara
rsiri
ada GONTENTS
7115,
enl,
logi
Preface
Index 189
ig
r8
o
1
4
'7
1
PREFACE
2
3
)
8
9
0
This book is intended to serve as a text for a first course in control sysrem engineering for
Z
::;helor degree engineering students. The text has grown out of academic staff with in-depth
4
srox'ledge and experience in the subject matter. The book has been intentionally kept short so
--;rat students would be able to appreciate the fundamental contenrs to be
understood and the
:larerial can be covered in a one semester course.
This book emphasizes particularly on the design and analysis of feedback control sysrem.
Control systems are found in a broad range of applications within various engineering disciplines,
namely electrical, mechanical, chemical, or aerospace engineering. Many illustrated examples and
:xercises are included in the book to assist students to undersrand better the fundamental conceprs
of control system analysis and design. Every section in the rext is headed by learning outcomes so
that the students may evaluate their understanding of the subject matrer after completing each
section.
The pre-requisites for the students using this book are that they should have completed
courses in physics and mathematics particularly through differential equations. They should Jrerdy
be well versed in applying the physical laws of physics, such as equilibrium equarion, Newton's
Iaws of motion, conservation of mass and energy, Kirchorfft law, and other iommon physical
laws. Other required subjects are Laplace transformation and linear algebrawhich are incorporated
in this book.
This book consists of six chapters. Chapter 1 introduces studenrs the basic conceprs of
control system as well as definitions and terminologies. Examples of open- and closed-loop
systems are also included. The general tasks of control engineers are highlighted in this chapter.
Chapter 2 addresses the representation of various physical ,yrt.-r, namely mechanical,
rotational, hydraulic, liquid-level, thermal, and electrical systems into mathematical models. These
mathematical models are developed into input-output relationships or rransfer functions. Two
methods of determining the transfer function of a dynamics system are introduced which are
block diagram manipulation and the use of Mason's rule and signal flow graph.
xl Preface
Hishamuddin Jamaluddin
Mohd ShafiekYaacob
Robiah Ahmad
Faculty of Mechanical Engineering
Universiti Teknolo gi Malaysia
20t1
t,il
s$lflt
'::rrr.
@[llg!i]i[]l
-''rio
liilulrulrg[,,
i l5i,i]f: lLl:iil:
irifrilWtrUjr'i lrin l
ll:f l[]ir:]
'lfiullrlnrfl 'nrry* ;
'frur,,urult "r,,' ',LY:
,l[r"ifi
illunmi lyTTii
's.
ip
CHAPTE,R 1
ry
rn
n
INTRODUCTION TO
al GONTROL SYSTEMS
d
h
n
Outcomes:
objective. The design objective is to ensure the actual output of the system is equal ro the desired
output or the reference signal. Formally, a system can be defined as any collection of interacting
elements for which there are cause-and-effect relationships among the variables. Furthermore, a
control system is an interconnection of components forming a system configuration which will
provide the desired system response. In short, a control system should be able to produce the
value of an output variable similar to the desired value.
Disturbance, z(r)
Output,y(r)
. i - --
1.3 TERMS AND DEFINITIONS iIT*j" rll'-f
.l- llT I1/r. !l:r
State variable is a quantity that changes with time. It refers to the past, presenr, and future
l[lr L] ]r. !i
conditions of the svstem. The state variables of a system are defined as a minimal set of variables
such that knowledge of these variables at any time /6, and information on the input excitation
subsequently applied, are sufficient to determine the state of the system ar any future time / > /s.
Examples of state variables for some systems are as follows:
(1) For a mechanical system, the state variables might be the displacement, velociry accelerarion,
force, angular displacement, moment, etc.
(2) For an electrical system, the state variables might be the current, voltage, and power.
Introduction to Control Systems I S
red i r For an economic system, the state variables might be the monetary exchange rate, GDB
ing stock index, etc.
er2
vill Output variable is,the quantiry to be controlled that is of concern to the user. Examples
of
*re ourput variables are as follows:
1) For an engine, the output variables might be the angular velociry or the shaft
torque.
l) For a car, the output variables might be the displacement, ,r.lo.iry or acceleration.
,l ) For an iron, the output variable is the temperarure.
es)
)ut Input variable is a reference quantity or a desired value for a feedback control system.
For a
ne in the control system, input variable is also known as rhe forcing function. It is a
'omPonent
quantiry that can be manipulated. The input variables for selected control ,yr,J-,
ra-l are as follows:
In
he
1) The reference temperature for an oven.
2) The reference angular velocity of an engine.
3) The reference warer level in a boiler.
).
Figure 1.3 shows a schematic diagram of a liquid level control system. The reference input
for the system is the reference level, h,^1. This level is the desired level of the control system.
The output variable is the liquid level, h(t); the actual level is measured by a sensor. The objective
of the designed control system is that the outputvariable, h(t),is desired to be the same as the
reference variable, ,,4i, even though there exists a disturbance or a change in the reference value.
The signal r(r) is the difference berween the reference variable and the output variable, and it is an
input variable for the controller. The output of the controller is u(t) and it will instruct the
acruator to increase or decrease the valve opening thus forcing the output variable to be equal to
the reference variables. The block diagram representation of this system is shown in Figure 1.4.
4;(r)-
q,(.t)
t
Figure 1.3 A liquid level control system
+: dJ
E rl^ilF
tyi|ir
1m5.* &
,Sh: rrfiJrfl,ax1i"-aru
Figure 1.4 Block diagram representation of a liquid level system iqulmqq iilrr, :r
*''"]l;:
,Il0l[8tr0][r[ril.
illltr[lo]iidlllLrri,mr. .il
Exercise 1.1
A speed control system is shown in Figure 1.5. The mechanical goyernor is acting as the sensc,:
element that measures the angular velocity of the engine. The hydraulic valve allows the spooi -
be displaced by a small force produced by the governor to control the fuel control valve. Expl-:
how this system works and list all the variables in the system. \Mhat are the input and ourp-:
variables of the system? Draw the block diagram representation of the sysrem.
Introduction to Control Srystems I S
Put ---' ]
:m.
ive
the
ue.
an
lre
to f-L.:lt Lt--t:'r..ta,
.4.
<_
Oil under pressure ---+
Hydraulicvalve
Fuel -------+
Control valve
Actuating
v signil, u(t)
io
n
rt
Figure 1.6 An open-loop control system
6 I Introduction to Control Engineering
A domestic orren shown in Figure 1.7 rs an example of an open-loop control system. The L- ;:.: , :
block diagram represenration of the system is shown in Figure 1.8. The temperature of the oven x.- t.-
depends on rhe setting as well as other quantities beyond the control of the operator, such as --: r- r;
ambient remperarure and efficiency of the heating element. The heating unit is controlled by a
switch with several settings. The switch position controls the current flow through the heating
element. This position is the input to the system since it will cause the system to produce an
[jl;I'L::.
output in term of the oven temperature. Since the current flow to the heating element is rh. J{ li
quantiry that is varied, it is known as the manipulated variable or the controlled signal.
Switch position
*/
Power source
Temperature
T::tln
Heating element ililm/[!flui]lH lrl[ilrmui
fiffilmmflinlr ]rror
,fimx$muHs ffi!
For a certain switch position, the oyen temperature depends on the current flo..- r,: --. - ruuEfimm
heating element and the heat loss through the oven wall. If the oven temperature is not the .,::-. UOr@
as the desired temperature, this open-loop system cannot automatically change the input curr..,.
If there is a change in the ambient temperature, the oven temperature will also change. Theret,::. ru il@fmrI fi
an open-loop sysrem cannot make the desired correction in the presence of disturbance.
variable,y(r), is measured and fed back for comparison with the reference input, and an actuating
signal is sent through the system to correct the error. This system is also known as a feedback
control system. Figure 1.9 shows the block diagram representation of a closedJoop system.
Desired
output,
u(r)
Controller
Measurement
\fr/ith a thermometer in the oven, a human operator can act as a controller to change the
switch position so that the oven temperature approaches the desired temperarure. This is an
example of feedback control system. The controller action depends on the error or the difference
a
benveen the desired temperature and the actual temperature. Since the closed-loop system is
operated by a human controller, the result may not be satisfactory. The temperature may oscillate
around the desired temperature when the position of the switch is changed. The performance
may deteriorate further due to fatigue and other human weaknesses.
In order to improve the performance, the human controller may be replaced by a mechanical
or electrical device to act as the comparator and controller, as shown in Figure 1 .10. This system
is known as an automatic feedback control system. Now the temperarure is measured by a
Reference
voltage
Amplifier
thermocouple . The voltage is fed back and compared with the reference voltage rhar represenrs
the desired temperature. The error signal is amplified electronically thus controlling the currenr
flow to the heating element. Since the feedback voltage is subtracted from the reference voltage,
this system is also known as a negarive feedback system.
Exercis
1.5.3 Comparison between Open-loop and Closed-loop Systems L.
The main advantage of a feedback system is that it does not require precise design for the controller.
The problem that may arise from feedback system is stabiliry if the controller and its parameters
are not properly tuned. The comparisons between openJoop and closed-loop systems are given
Erercis
in Thble 1.1.
:rr-:aJ.:
_ f, t
Open-loop system ClosedJoop system -*
: -:---:o1 ri
(1) The system components are simple (1) The system components are more complex a \t1
(2) Require precise design of the controller (2) Controller design is simple
(3) Require a dedicated controller (3) General controller may be used
Exercis
(4) Sensitive to disturbances (4) Not sensitive to disturbances
: .- L\\L
(5) The system is always stable (5) Stability problem needs to be tackled -'=.-ribe
(6) Control action usually based on time or cycle (5) Control action is based on error signal
Exercis
r--,-e m-C
Exercise 1.2 ]"-.;ribe
Give five examples of an open-loop system and five examples of a closed-loop system. Describe
the control action of each svstem. Exercis
l-t :ar art
Exercis
1.6 CONTROL ENGINEERING DESIGN ,i1ar ar,
Control engineers are required to identi$, components to be used in control systems, such as the Exercis
controllers, actuators, and sensors. The controller needs to be designed so that the response of the --i-.'c
nr-r
output variable is equal to the desired value with a satisfacrory speed of response. Before the
conffol system can be implemented, a mathematical model olthe sysrem i,, componenrs
must be derived. Analysis will be conducted to ensure that the sysrem "rrd response meets the
specification requirements using certain techniques such as time response analysis, frequency response Furthet
analysis, stabiiiry analysis, etc. These specifications include transienr response and steady-512s6
specifications. Usually the system response and its performance are evaluated by compurer {uo. B.
Introrluction to Control Sy*ems I g
3nts simulation. Several computer aided design sofiwares for control system design are available in the
rent market. One of the most popular compurer packages is MATLAB.
€e,
Exercise 1.3
Draw the basic block diagram for a domestic air conditioning unit. Determine the functions of
each component in the system. Show all the variables involved in the system.
Ier.
ers
ren Exercise 1.4
Draw the basic block diagram for a steer control system of an automobile. Assume that the
desired path is the reference input and the driver is acting as the sensor and the controller.
Exercise 1.5
Build a basic block diagram of a position control system where an electric moror is used to
control the angular position of a shaft. A potentiometer is used to measure the angular displacement
x of the shaft.
Exercise 1.6
-ir-e rwo examples of a domestic system which are controlled by an open-loop control sysrem.
lescribe how these control svsrems work.
Exercise 1.7
Give two examples of a domestic system which are controlled using a closed-loop control system.
Describe how these control systems work.
Exercise 1.8
what are the advantages and the disadvantages of an open-loop control sysrem.
Exercise 1.9
\X/hat are the advantages and the disadvantages of a closed-loop control sysrem.
Exercise 1.10
Give two examples of a closed-loop system where human controller are used,.
Further Readings
Kuo, B. C. 1995. Automatic Control Systems. E nglewood Cliffs, NJ: Prentice-Hall International.
10 | Introtluction to Control Engineering
Mason, S. J. 1953. FeedbackTheory: Some Properties of Signal Flow Graphs. Proc. IRE. 4l(9),
1144-tt56.
Mason, S. J. 1956. Feedback Theory: Further Properties of Signal Flow Graphs. Proc. IRE.
44(7):920-926.
Ogata, K.2004. system Dynamics. Upper saddle River, NJ: Pearson Prentice-Hall.
Vu, H. V and R. S. Esfandiari. 1997. Dynamic Systems: ModelinganclAnalysis. NewYork:
McGraw-Hill.
Voods, R. L. and K. L. Lawrence . 1997. Modeling and Simulation of Dynamic Systems. Upper
Saddle River, NJ: Prentice-Hall.
2.1 M,
Outcome
.-.-.._-
- uf \Li l
- ..-T--
..l-
- t-'.'
2.1,1 Me
I (e):
[ork: CHAPTER 2
pper
Scaled and prototype models can be expensive and time consuming to develop and modifr.
Any modification may involve expertise, fabrication, additional componenrs, etc. Mathematical
model is cheap and can be developed quickly. Once the designer is satisfied with the performance
of the model, a scaled or prototype model can be developed. This will ensure minimal
modifications. L2"2"1 L,
A1l dynamic systems, such as engineering, economic, biological, or ecological systems, can
be described by differential equations. These differential equations have the same characteristics
even though theywere derived from different types of physical systems. Control engineers use
the same techniques to analyse these systems. Therefore the theory and analysis studied by the
control engineers are the same for all dynamic systems.
(1) derive the mathematical model and draw the block diagram for translational mechanical
system, rotational mechanical system, gear system, hydraulic system, liquid level system,
thermal system, and electrical system.
Slope = *
x(r)
Figure 2.3 is the block diagram representation of Equation (2.1). The input
of the block is
the displacement, x(t), andthe output is the force, fQ).Theexpression in the block is known as
the transfer operator. If the force,
f(t),it defined as input "nd th. displacemenr as ourpur, rhe
equation can be written as:
x(t):)rr,l (2.2)
14 | Introduction to Contol Engineering
x0\ d-,,/- Lt
/ln
-:-- -
;- - -
Figure 2.3 Block diagram representing Equation (2.1)
In general, the block diagram represents the equation in the form of,
Output uariable = trdnsf€r o?eruttor x input uariable
If both ends of the spring can be displaced as shown in Figure 2.5, the force in the spring is
proportional to the effective elongation of the spring and the relationship can be wrimen as:
fO=k(x1Q)-xz@). (2.3)
Figure 2.6 Block diagram for spring with displacements at both ends
Mathematical Modrlling I tS
f (r)=ma(r)=*'':\').
dt
(2.4)
n
Using D-operator, that is D =;, we have a(t) = D2x(t). Thus we can write:
The block diagram for Equatio n (2.5) is as shown in Figure 2. 8 . Note ,tr", IDI represents an
-,-.qrator. Figure 2.8 can be manipulated to become an equivalent block diagram as shown in
- igure 2.9.
is
,)
f(t)=k(x;(t)*x,(t)). (2.6)
The equation for the mass is:
mD2x,(t) = f@. (2.7)
The block diagram representation of Equations (2.6) and (2.7) can be drawn as shown in
Figure 2.1 1.
j x,G)
///////////////t
Exercise 2.1
Draw the block diagram for a transladonal mechanical system represented by the equarions given
below. The input variable is x;(t) and the output variable is x,(t). F(r) is the force and k and m are
the system paramerers.
2.2.2.4 Damper
ril I Figure 2.12 shows the symbol of a damper. The characteristic of a damper is that the force, F(r),
that resists the motion, is proportional to the relative velocity of the piston ro rhe cylinder. If the
cvlinder is stationary, then we can write:
6)
F(t) = cDx(t) (2.8)
where r is a constant known as coefficient of viscous friction. The corresponding block diagram
7)
is shown in Figure 2.13.
in
Ftgure2.12 Adamper
Erercisr
: ,:_._ - ':
::: _;:-
The block diagram representation of Equations (2. 12) to (2.14) can be drawn as shown in
Figure 2.l7.It should be noted that the appearance of a block diagram depends on how the
variables are defined and it is not unique.
;e F. xo(n
oo
777)
Figure 2.16 A mass-spring-damper system
Mathematical Modelling I tg
+'\
FoG)
Exercise 2.2
Derive a set of equations that completely describe the system shown in Figure 2.18 and draw the
biock diagram to represent this set of equations. The input variable is the displacemen t x;(t) and
ihe output variable is the displacement x,(r).
| *,1t1
ts
oo
ts r,(rl 777777',/
Figure 2.18 Schematic diagram for Exercise 2.2
The block diagram representation of these equations is as shown in Figure 2.20.This diagram
is similar with the system in Figure 2.17 with the variables and parameters are replaced as follows:
o;(t)
*...., 3v diffe:
Figure 2.19 An inertia-stiffness-damper system. Systems (a) and (b) are equivalent
- tr t(
+-, - :irrn:
TAD
- :i- for(
Figure 2.20 Block diagram for the inertia-stiffness-damper system
angular displacement. \Mhile the system parameters are the number of gear ieeth or radii that 'r'.-r-ite:
15)
r5)
L7)
am
MS:
Figure 2.21 A gear system
do Q\ do,()
_l
I
n;-=oA-' (2.20)
r' (t)
F (t) =r'(')
rr,
- (2.23)
uo
*l:* r,(t) is the torque acting on gear A and. tse) is the torque acting on gear B. Then, we can
wilte:
rr(r)=!',(,). (2.24)
n
The block diagram for the considered gear is as shown in
Figure 2.22.If n > 1, the gear system is
known as a reduction gear. This systJm will cause the reduction
in the angular velociry and
amplification of the torque.
Introduction to Control Engineering
c (t) = L',(')
rd
r, (t) = ke (t)
tu(t)= eo1 (r) We can also
where r(r) is the torque, r is the radius, and 0(t) is the angular displacement. Draw the block
diagram representation for this set of equations. Take coQ) as the input variable and 0(t) as the
output variable. 'n here ,4 is t
ba-sed on th
orifice, and
of the designed valve and piston load. Schematic diagram of a hydraulic valve is shown in Figure
).24.The spool displacement is representedby x(t) and the piston displacement that moves the
load is7(r). tWhen the spool is displaced to the right, the high pressure fluid flows into the right
side of the piston and fluid on the left side of the piston will flow back through the capillary. Th.
r-olumetric flow rate, q(t), is:
n'here Z is a constant, LP(t) is the pressure drop across the valve , P, is the supply pressure source,
and 21(r) is the pressure difference across the piston. From Equations (2.25) and (2.26),we can
,.r-rite:
rvhere,4 is the cross sectional area of the piston and, 17'= k^E.These equations
I are derived
Vz
based on the following assumptions: zero nonlineariry incompressible fluid, no leaks, annular
orifice, and a constant P,. The block diagram is shown inFigure 2.25.
It,
rrll ,*," ,t,
LP(t) LpG)
x(t)=*+9 (2.30)
- -,: rhe lev
if the length \ and l2are assumed equal. The block diagram of this hydraulic servo system is given -:,:m the S
inFigtre 2.27 .
\ o1r\ -'.,l
a,u
-,
*(t)
+Y@
<-
s,G)
[,
2.2.5.2 Walking lever
,t
r Figure 2.28 shows a general case of a walking lever. The equation that describes the relationship
D between the variables is:
e
tt
x(r)=;:I rlr)-;lt+l)'
; tQ ). (2.3r)
lt+l)
For the lever shown in Figure 2.2.9, it can be seen thar:
(2.32)
From the similar triangle relationship ,*r:::*:
'O) = lr+ a (2.33)
*(t) d
ard
tG) -!:1,-o
*(t) a d (2.34)
Substituting Equations (2.33) and (2.34) into Equation (2.31), we ger:
I t- I t
x(t)=-L- n
--:-t- .'r- *(t)= *(r).
4+ l) d l1+l) d
=.e)_
,J7"
Figure 2.28 A walking lever
26 | Intoduction to Control Engineering
ivhereflz
Draw the
variable i
{ x(
,I 2.2.6 r
The obsr
|4
y(t)
paramete
t-iowing i
liquid flc
required
Figure 2.29 Displacements of the walking lever
Exercise 2.4
The equations that completely described the dynamics of the system in Figure 2.30 are given as:
Let
rhe tank
f ,, (r) = k, (* , (t) - x, (t)) out of th,
*nQ)=L*"(r)
d
Let us study the liquid level system shown in Figure 2.3l.The flowrate of the liquid into
:he tank is q;(t) , h(t) is the liquid level in the tank, and q,(t) is the flowrate of the liqui j flowing
out of the tank. The pipe resistance is:
h(t)
n= (2.36)
q, (t)
Using the principle of conservation of mass, fluid flow rate into the tank is equal to
-
of increase of the liquid in
the rare
the tank plus the flowrate of fluid going out of the t".,k. Th.r.fore, we
can write:
q,(t)=, q"(t)
ry+
or using D-operator:
qO
h,G) /\
=q'lt) (2.40)
R
t
hr(t) t
hr(t)
I +
Figure 2.34 The block diagram of the interacting liquid level system
Exercise 2.5
Jerive the set of equations that completely describe the dynamics of the sysrem shown in Figure
3) 1"3>. Draw the block diagram representation for this system by assuming thar.
q(t) is the iriput
.ariable and h2Q) is the ourput variable.
))
The observed variables for a thermal system are the temperature , 0(t), and the heat fl,owrate, h(t). la.-ra:ic e
The system parameters are the thermal resistance, R, and thermal capacitance, C.Letus study the ru:-illes ar
thermal system shown in Figure 2.36.The mathematical model is derived by assuming that there :tr: -.ne-.e el
is no heat loss to the surrounding, no heat is stored by the wall, and the fluid in the tank is well
i..st.ror:
mixed with uniform temperature distribution. The thermal resistance is:
--
i.uctor:
e (t\ .*racitor:
R_ (2.42)
h"(r)
The b
where 0(r) is the fluid output temperature and b,(t) is the rate of heat flowing out of the tank. :a*-n;ftr fur
From the principle of conservation of energy, that is the heat flowing into the tank is equal to the For n
heat stored in the tank plus the heat flowing out of the tank, we get:
From Equations (2.42) and (2.43), the block diagram representation of the thermal system
can be drawn as shown inFigrre 2.37.
Figurt
D Hotfluid
Coldfluid---}
Figur,
VG)=V1Q)+V2Q). (2.47)
3)
*<v,i)- fryt-
Figure 2.39 shows two electrical elements in parallel. The voltage relationship is:
Figure 2.40 shows a currenr divider at a node. The current relationship is:
i(t)=ilt)+i2Q).
Figure 2.41 shows an electrical circuit consists of an inductor, L, capacitor, Cand resisror, &
in series. The equations that describe the dynamics of the sysrem are: Exercisr
Figttre 2.2
VQ) =V,(t)-V,(t)-u, (t) (2.50)
"lu,*'i'
describes
is the inpr
'*',,',',',
CD
Exercisr
Frgure2.4
describe tl
rhe input
Exercisr
Figrue 2.'
equations
-\sume tl
Exercise 2.6
Figure 2.43 shows a translational mechanical system. Derive a set of differential equations that
describes the dynamics of this system. Draw the block diagram by assuming that the force, F(t),
is the input and the displacement, x1(l), is the output.
2)
3)
)r'
Exercise 2.7
Figure 2.44 shows a translational mechanical system. Derive the set of differential equations that
describe the dynamics of this system. Draw the block diagram by assuming that the force, F(r), is
rhe input and the displacement, x1(t), is the output.
Exercise 2.8
Figure 2'45 shows a dynamic vibradon damper to control vibration.
Derive the differential
equations describing the dynamics of this system and draw
its block diagram ,.pr.r..r,r,iorr.
-{ssume that the force, F(t), is the input and the displacemen t, x1(t),i,
th."o,r,p,,t.'
T*,
Tno
Figure 2.45 System for Exercise 2.g
34 | Introduction to Control Engineering
Exerci
Derive
Figure 2.46 System for Exercise 2.9 assumir
Exercise 2.10
Figure 2.47 shows a mo disks torsional system. Derive the differential equations
describing the
dynamics of the system and draw its block diagram representation. Assume that the
torqu., r(r),
is the input and the angular displacement,0/t),is the output.
Exercise 2.11
For the system shown is Figure 2.48, the rotational motion of the lever is small
such that the
motion of the top end and the middle point are essentially horizontal. Derive the
differential
Mathematical Mofulling I gS
equations describing the dynamics of the system and draw its block diagram represenrarion.
)f Assume that the force, F(t), is the input and the displacement, x(t), is the output.
n
le
"--,-3_,--li-51
vt,)l ,3
lv"rrt
(4
14(dl
Exercise 2.13
Figure 2.50 shows an armature control DC motor with a resistor, R, added in the armature loop.
The voltage across the resistor is fed back to the input of the amplifier. Derive the differential
equations for this system and draw its block diagram. Assume that the voltage, V;(t), is the input From Eqr
and the angular displacement, 0(t), is the output.
or
Ir.u,
* \ ,A,t
This ratic
(1) obtain the transfer function of any dynamic systems represented by block diagrams using
block diagram manipulation method.
2.3.3 Bl
0^(t\
#0,(r) = F,(D)F,(D).
1\ ' t' (2.57)
FJD)F2@)
vn
9aQ) = FID) 0{t) + Fr(D) 1r(t)
= \Fr@) + F2(D)) 01Q) (2.6r)
38 | Introduction to Con*ol Engineering
FID)+Fz(D)
+9
Ft(D)
=0,(t)- F,(D)O,(t). (2.66)
Rearranging yields:
0,(r)
_ Ft(D) (2.67)
0,(t) r+ F1@)F,(D)'
Mathematical Modelling I gg
This relationship is known as the negative feedback law. Therefore, the ciosed-\oop ttansfer
function is given by:
t+ Ft(D)F,(D)
Example 2.1
m Obtain the transfer function for the mass-spring sysrem represented by the block diagram shown
as
in Figure 2.11.
7) Solution
From Section 2.3.2, rwo blocks in series can be simplified resulting into the intermediate
4) block
diagr.lT in Figure 2.57. From Section 2.3.4, the negative feedback relationship gives the
5)
**i
simplified block diagram as shown in Figure 2.58.The t."rrsf.r function for this system
is:
*" (t)
*,(t) mD2 + h
Table 2.1 shows the equivalent block diagrams that can be used for simplificarion or
manipulation of block diagram to obtain the transfer function of a control sysrem.
_ It
x#A-B+C
-t Exer
ln Obta
the rr
A C
Exer
Obta
C
Exer
Obtai
D
Exer
Obtai
A
a Exer
Al-
Obtai
t, B
Exer
Obtai
Mathematical Modelling I +t
OI
Exercise 2.14
Obtain the transfer function for the interacting Iiquid level system shown in Figure 2.34 using
rhe manipulation of block diagram merhod.
Exercise 2.15
Obtain the transfer function for the sysrem in Exercise 2.5.
Exercise 2.16
Obtain the transfer function for the sysrem inExercise 2.7.
Exercise 2.17
Obtain the transfer function for the sysrem in Exercise 2.g.
Exercise 2.18
Obtain the transfer function for the system in Exercise 2.9.
Exercise 2.19
Obtain the transfer function for the system in Exercise 2. 10.
+2 | Intoduction to Control Engineering
Exercise 2.22
Obtain the transfer functions for the sysrems in Exercise 2. 13.
(1) Signal
draw the signal flow graph from differential equations,
(2) draw the equivalent signal flow graph from a block diagram, and
(3) use Mason's gain formula to obtain the transfer function.
Based r
2.4.1 Concept
Besides the block diagram manipulation method, the transfer function of a complex sysrem may
be obtained using a simple formula. It is done by redrawing the block diagramtr transforming
directly from the differential equations relating all the variables into a signal flo* graph
representation. From the signal flow graph, the transfer function is obtained using Masons gain
formula' The signal flow graph is another graphical form that can be used to ,.pr.r.r-r, dyrrrlrrri.
"
system. It represents the flow of signals in the system. Figure 2.59(b) is a signal flow graph for the
system represented by the block diagram in Figure 2.59(a). Variables in the signal flow graph are
represented by nodes. Tiansfer operarors are represented by branches.
Produ<
;Node diagrar
z(t) are
xri)#xz(t)
\
\. grr,r.1,
Elimin
(a) (b)
Figure 2.59 A equivalent system: (a) btock diagram, (b) signal flow graph
The eq
Mathematical Mode lling l+s
2.4.2 Algebra of Signal Flow Graph
Addition: The variable at a node is equal to the sum of all signals coming into the node.
As an example, based on Figure 2.60, thevariable at the output node is:
Figure2.60 Addition
Signal transfer: The variable represented by a node is transferred to all outgoing branches.
Based on Figure 2.51, the equation for the variables at the outpur nodes are:
may
ning
aph
gain
rnic
r the
I are Figure 2.61 Signal transfer
Product: The transfer operators in series can be simplified into a product, similar to the block
diagram manipulation method. As shown in Figure 2.52(a), the variables at the nodes
z(t) are:
/t) and
y(t) = 10x(t), z(t) = *20yQ)
Eliminating the variable, T(r), we get:
z(t) = -200x(t).
The equivalent signal flow graph is shown in Figure 2.62(b).
44 | Introduaion to Control Engineering
Forward
10 -20 -200
# #
x(t) tG) z(t) x(t) z(t) Feedbacli
(a) (b)
Self loop
Gain:
Figure 2.62 Signal flow graph (b) is simplification of (a)
Path gair
Loop gai
Example 2.2
Draw the signal flow graph for the mass-spring-damper system represented by the block d'iagram
inFrg'tre2.l7.
Solution
The signal flow graph for this system is shown in Figure 2.63.The arrows must be shown on the
branches to indicate the directions of signal flow. The negative sign for the transfer operator is
used when the effect of summation is negative.
F-(t)
2.4.4 n
The trans
expressior
Figure 2.63 Signal flow graph for Example 2.2
where
Exercise 2.23
Draw the signal flow graph for the sysrem in Exercise 2.1. !@
u(t)
Pi
A
2.4.3 Definitions
Li
In general, there are several terms used to describe signal flow graph. Consider the signal flow
graph shown in Figtre 2.54. Jwo
determinz
Matbematical Mode/ling I +S
Forward path: The path from the input node to the ourput node. That is from xlt) to x2Q) to
4(t) ro xaQ).
Feedback path: A path that starts from a node and ends at the same node, that is from x2(t) to
4(t) and back to x2Q).It is also called a loop.
Self loop: A feedback loop with one branch, that is E
Gain: It is the transfer operator for a branch, that is Efor the self loop.
Path gain: The product of the gains for all branches that formed the path. The path gain
for the path x1(r) to x2Q) to 4Q) to xaQ) ts ABC.
Loop gain: The product of the gains for all branches that formed the loop, that is for the
loop from x2Q) to 4Q) and back to x2Q) is BF.
. Two loops or paths are said to be non-touching if they do not share a common node.The
determinant of the signal flow graph or the .har".t.iistic equation is A.
16 | Intoduction to Control Engineering
Us
Example 2.3
Figure 2.65 is a block diagram of a dynamic system. Draw the signal flow graph for this system
and obtain the transfer function using Mason's Gain Formula.
Solution
The signal flow graph for this system is shown in Figure 2.66.There are two forward paths with
the following gains: Exerci
Draw tl
h = Gr(D)
P2= G^D).
There are two feedback loops with the loop gains of:
Lt = -Gt(D)Ht@)
L2 = -G2(D)HJD).
Therefore,
A = 1 +G/D) H1(D)+Gz(D) HID).
Since both loops touch the first forward path P1, then A1 is obtained by dropping Ll and
L2 from A. Therefore,
Ar=1.
Similarly, both loops touch the second forward path P2. So,
Az=1'
Mathematical Modelling 1 +Z
tu)
"(t)
G,(D)+G,(D)
r+ G,(D) H,(D)+ G,(D) H,(D)
Gz(D)
-Ht@)
vith
Exercise 2.24
Draw the equivalent signal flow graph for the sysrem inFigure 2.67 .
Exercise 2.25
Draw the signal flow graph for the system in Figure 2.58. Exam;
Consid
slt) flow grr
There a
Exercise 2.26
Using Masont Gain Formula, obtain the transfer functions for the systems shown in Figure 2.69.
Then,
Gr(D) Gr(D)
Since all
Gr(D)
Similarl'
Gt@) Gz@)
Then
Gs@)
where (f
Figure 2.69 Signal flow graphs for Exercise 2.26
Mathematical Modelling I ng
Example 2.4
Consider a dynamic system represented by the block diagram shown in Figure 2.7O.The signal
flow graph for this system is shown in Figure 2.71.There are two forward paths. These are:
4 = GID)G2(D)q@)
Pz = GID)G^D)
There are five loops, namely:
Lr = GJD)G2(D)H.(D)
L2 = G2(D)q(DHr(D)
4 = -GJD)G2@)q@)
L4 = G4(D)HiD)
L5 = -GJD)G{D).
Then,
Since all the loops touch the first forward path, ?1, then:
Ar=1'
Similarly,
Lz=l'
Then
y(t) _ 4A,,+
p,a,,
A
"(t)
G.G.G3+GlG4
l-G.G2H.- G2G3H2+ G.G2G3 - GnHr+ GtG4
Draw the
.-,-stem in
Exercisr
Draw the
.r-Stem in
Exercisr
Draw the
sr-stem in
Figure 2.70 Block diagram for Example 2.4
Exercisr
H,(D) Draw the
rystem in
Further
Kuo, B. (
\Iason, S,
Figure 2.71 Signal flow graph for Figure 2.7 1 114,
\fason, S
at(t
Exercise 2.27 Ogata, K.
Draw the signal flow graph and using Mason's gain formula, obtain the transfer function for the \-u, H. V
system in Exercise 2.6. Mc(
Voods, R
Exercise 2.28 Sadc
Draw the signal flow graph and using Mason's gain formula, obtain the transfer function for the
system in Exercise 2.7.
Exercise 2.29
Draw the signal flow graph and using Mason's gain formula, obtain the transfer function for the
system in Exercise 2.8.
Exercise 2.30
Draw the signal flow graph and using the Mason's gain formula, obtain the transfer function for
the system in Exercise 2.9.
Exercise 2.31
MathematicalModelling I St
Draw the signal flow graph and using Mason's gain formula, obtain the transfer function for the
system in Exercise 2.10.
Exercise 2.33
Draw the signal flow graph and using Mason's gain formula, obtain the transfer function for the
:a-stem in Exercise 2.12.
Exercise 2.34
Draw the signal flow graph and using Mason's gain formula, obtain the transfer function for the
$'stem in Exercise 2.13.
Further Readings
Kuo, B. C. L995. Automatic Control Systems. Englewood Cliffs, NJ: Prentice-Hall.
-\4ason, S. J. 1953. Feedback Theory: Some properties of Signal Flow Graphs. Proc. IRE. 4I(9):
tt44-1155.
-Vason, S. J. 1956. FeedbackTheory: Further properties of Signal Flow Graphs. Proc. IRE.
44(7):920-926.
ogata, K. 2004. s)rtem Dynamics. upper Saddle River, NJ: Pearson Prentice-Hall.
\ru, H. V and R. S. Esfandiari. 1997. Dynamic Systems: Modeling andAnalysis. NewYork:
McCraw-Hill.
Woods, R. L. and K. L. Lawrence.1997. Modeling and Simulation of Dynamic Systems. Upper
Saddle fuver, NJ: Prentice-Hall.
CHAPTER 3
TIME RESPONSE OF
A CONTROL SYSTEM
3.1.1 Concept
It has been stated in Chapter 2 thatthe first step in analysing a dynamic or a conrrol system is ro
derive a mathematical model of the system. The model is needed by a designer ro evaluate the
performance of the system before a prototype model is developed. This wilt drastically save the
cost of development. If the model does not perform as desired, the system can be re-modelled or
new components of different parameters can be introduced.
Once the model has been obtained, the performance of the system has to be evaluated.
Various methods are available. In analysing the performance of a model, conrrol engineers need
to consider what particular standard input signals should be used and compare the response of the
mode,l with the design specification. Some of the standard input signals that can be used are step,
impulse, ramp, and sinusoidal inputs. The rype ofinput signal to be used for perform"rr..
depends on the application of the system and the narure of input signal used by the system."nrlyri,
If a
54 | Introduction to Control Engineering
i
rypical input signal to the system is gradually changing with time, a ramp input may be a good
test input. Similarly if a system is subjected to a sudden load disturbance but the output signal is Exercise
required to be constant, a step input may be a good test signal.
Similar analysis is also applicable to control system design. Once a control sysrem is designed Consider:
and it satisfies the standard input test signal, the performance of the real sysrem is generally vertical dis
satisfactory. The usage of these standard test signals enables one to compare the performance of the car acc
the designed systems. In short, time response analysis is a study on how the output of a system
changes with time when it is excited with some standard input signals.
An e>
(,
o
250
O
d
u
o"
225
-U overshoots and speeds
F
200
45
Time (second)
lod
Ll is Exercise 3.1
Consider a car moving horizontally. If vertical displacement of the car body is the output and
red
vertical displacement of the wheel is the input, sketch the possible responses of the car bodywhen
,1ly
the car accidentally hits a road divider.
eof
tem
An example of the usage of a ramp function as a test signal can be seen in aircraft tracking
system as shown by a block diagram in Figure 3.2(a). This aircraft tracking system is placed on
the earth surface and designed to track the position of a moving aircraft. Thus, the input signal
lett is always changing with time and it can be written as u(t) = at, where a is a constant. The input
mge and output signals are shown in Figure 3.2(b).
0'c The mathematical model of a dynamic system, as discussed in Chapter 2, can be represented
nt is by a transfer function. The transfer function can be re-written as an ordinary differential equation
Lthe (ODE). Thus, given any input signal represented by any time function, the output of the system
ater. can be obtained by solving ODE. Various methods are available to solve ODE. For control
nto engineers, Laplace transformation method is used for solving linear differential equations because
.eral
rent
Output signal,
the desired position theactual position
Time, second
(b)
Figure 3.2 Aircraft tracking system: (a) block diagram, (b) input and output signals
56 | Introrluction to Control Engineering
standard Laplace transform table can be used to find the Laplace transform, F(s), of a given
function,flt), and the solution can be obtained directly.
In this chapter, we will consider the usage of Laplace transformation method to solve ODE
and the time response of a dynamic system, how a control system is classified, the characteristics
of first and second order systems, the transient response and steady-state specifications for a
feedbackcontrol system, and introducdon to PlD-controller (Proportional + Integral + Derivative). Example
Consider a
3.1.3 Mathematical Model assuming a
Figure 3.3 shows a dynamic system represented by a block diagram whereT(r) is the output and time respor
u(t) is the input to the system. Both of these quantities are function of time and are known as
variables. Time response analysis is the study of the output response of a system, T(r), when the
system is excited with some input signals, u(t). As seen in Chapter 2, the mathematical model
developed is in the form of an ODE. Therefore the time response of the model can be obtained
by solving the ODE.
Solution
The differe
Figure 3.3 Representation of a dynamic system
To obtain the output response of a dynamic system, it is easier if we re-write the transfer
function of the system as an ODE. In general, an ODE is:
Time respc
this case is
4*
dt,
* o,-,4
n-t -, * o,-,ry+...
4-z
h4-
dt,
+ ao!(r) = with given
equation.
t
s
d*-'u(r\ t...tt^,
,',d*uQ) *, h,-,
.d-'u(r) *, .-r-:7#J+"'+ braQ) G'l)
dt* dt*-'
Exercise
with the initial condition y(t)= lr,ff{rr)= !r, ,ffi{rr)= !,-, and. n > m. The
Derive the
damper is a
corresponding D-operator transfer function model is: form of OI
Time Response of a Control Sltstem t5/
ned
F)
oo
777777,
Figure 3.4 A mass-spring displacement system
Solution
The differential equation model representing this system is:
d'tU)
sfer
*-;i'+ kyQ)= ku(r).
Iime response analysis is the study of behaviour of the ourpur response variable, y(t), which in
this case is the mass displacement when some input signal, u(t), is applied at the end of the spring
with given some initial condidons. The output response can be obtained by solving this differentiJ
equation.
). 1)
Exercise 3.2
Derive the mathematical model in the form of ODE for the system shown in Example 3.1 if a
lhe
damper is added to the system in parallel to the spring. Compare this equation with ih. g.r,.r^l
form of ODE given by Equation (3.1).
58 | Introduaion to Control Engineering
Hence,
3.2.1 Goncept
In the previous section, we have seen the general form of an ODE and how ir represents a
dynamic system. The solution of the ODE is the output response of the dynamic system in time
domain. There are many methods of solving differential equations and the method considered
in this book is the Laplace transformation method.
wheref
Consider a function in time domain,flr), where:
f@= o, tr<0.
The Laplace transform offr) is:
Using tl
Llf @l= J*, e f (t) dt
.
(3.3)
Therefore, if f(r) is given, F(s) can be obtained and similarly if f(s) is given,flr) can be obtained
For zero
using the inverse of Laplace transform:
B. Laplacetransform
is a linear operator that satisfies:
The Lap
Ll"f,(t)+ Ff,(r)] =
"cLf,(r)]* frrlf,@] G.e1
Time Response of a Control System I Sg
The Laplace transform of a derivati ur, t ('), can be derived using Equation (3.3), thus:
dr
'1ry)=fiu"4P "
=lr"f (r)]. *rj*o{',f (t)dt.
Hence,
d{Jf)=
Ld, J "
sF(s) (3.8)
Using the same approach, the Laplace transform of a second derivative is obtained as:
(3.3)
,l'' {9]I =,,r,(,) - y 1oy{-(o)-
-L dr' d,
(3.e)
ied as
Iherefore, in general,
(3.4)
Ll
d'
f \,)1 = r df-g- d'' f (0)
0) - ;-,
- s., Jr(\-' -.. . -
I dr' I ^s" dt
) . (3. t o;
dt"
ained
For zero initial condidons,
{3.5)
,lryJ=,',1,; (3. t t;
with magnir
7Q)=Lrtln. (3.12) 3.2, it canb
tP
dt
= f (t), ,r (o) = o. (3.t3)
,1ry)=F(,)-/(o) (3.r+S
Therefore
A ramp fun<
Example 3.2
Derive the Laplace transform of an exponential functron, f (t)= r"'
The graphic,
Solution is:
Llr"'f = J: t "eo'dt
l* ,,o ,\,dt
-Jo" -t41-l- -;'
= 1
= "'-1"-,_1.
H(t)={i::: (3.15)
and its graphical representation is shown in Figure 3.5. One way of obtaining the Laplace transform
of a unit step function is using the method shown in Example 3.2. The exponential function
Time Response of a Control Srystem I Ot
(3.13)
(3.t4)
The graphical representation ofa ramp function is as shown in Figure 3.5. Thelaplace transform
is:
=ly:)- -l-La,
Jo (3.1e)
-,L -s_1.
= [g-l- = t '
L-r'l. 12
(3.16)
rsform
nction
Figure 3.6 A ramp function
62 | Introduction to Control Engineering
6 (t -a)=9, t * a
where B is the frequency of the oscillation. From Equation (3.3), it can be shown that:
Tirue Response of a Control System I 0g
=*.[ r l
l'-jB)
t
=;+B' (3.23)
(3.2r)
Thble 3.1 Laplace transform table
1
Unit ramp, /
2
.f
Polynomial, At Ant
.t "*1
1
r
Lxponent, e-at
s+a
of derivatives in the ODE by taking into consideration all the initial conditions followed by the Therefore,
Laplace transform of the input function. This will lead to an ordinary algebraic equarion in
Laplace domain. The algebraic equation is then decomposed into terms that are available in the
Laplace transform table. The solution of the ODE in time domain is obtained by taking the
inverse Laplace transform by comparing the corresponding functions in the table. Rearrangin
The values
methods. Tl
Figure 3.8 A block diagram representation
Let,
Solution
Firstly, the Laplace transforms of each term in the ODE are obtained as follow:
thus,
rly(')l= r(,)
For this exan
cla 1t11=L.
Thus,
and,
)'@)= Llu(t))
'Iry.
,lryl+ rly(t)f= Llu(t))
Time Response of a Control System | 0S
the Therefore,
nin
. the sr (s)+ r(s; = 1.
.t
;the
Rearranging this equation will give:
)z(s)=.+
's(s+1)
In order to ohtainT(r), the inverse Laplace transform of fG) is obtained by using the Laplace
transform table (Thble 3.1). This will require us to re-write the right hand side of ih. equation
into terms as a function of s that are available in the Laplace rransform table. That is,
is the
t(t)= c'ly(,)l = r'[4,ir]
wn in
To use the Laplace rransform table, re-write IZ(s) as:
Y(s)=ilb=+.*
The values of constants Al and 42 can be calculated using partial fraction method or other
methods. The partial fraction method can be briefly described as follows:
Ler,
)'(s) =
l/ (r) :s4
D(r) o (, -,,)' (3.24)
rhus,
e,:N(')(r-,'
,., _
D (,
,, _ r,)1,=,, .
o.25)
For this example,
/',_
=
1 I
=
,11 11)'1,=n ''
and,
rl
,4, =,G = -,.
+1)(,*,)1,__,
66 1 Introduction to Control Engineering
Therefore,
Exercise
(t) =
J\/
y . !l = r- e-,,
,,1!- (s+t)] r > o. Using Exar
[s unit step fi.
Exercise
Example 3.4 A different
sow,
ff . 4ry + 3 y Q) = zu G\ if the given initial conditions areT(0) - o,
ff @) = o,
and u = H(t) is a unit step input.
If a unit ste
Solution
obtain the c
For a zero initial condition, the Laplace transform of the above equation is:
U (s)= 1
J
Solu.
d'1(
\7e obtain,
dt'
r(i)=
,(r'-r as+3) Solution
2 The Laplace
s(s+1)(s+3)'
Using partial fraction,
I'(s)= ?,-L*- L ..
3 s+1 3(s+3)
From the Laplace transform table, T(r) is:
!(t)=l-n' *1r''' .
and,
3)
Time Response of a Conrrol System I Al
Exercise 3.3
Using Example 3.1, if k = 2 and m = l, obtain the time response of this sysrem if the input is a
unit step function. Assume all initial conditions are zero.
Exercise 3.4
A differential equation describing a dynamic system is:
d'tG) . . dt,(r\
=0, -;*t;+zyQ)=,(r)
If dy(o) _r.
a unit step input is used ro excire the system with initial conditions 7(0) = o and
dr
obtain the output response of this sysrem.
Example 3.5
solu,
d't(') *s4'\ :2 4@) -1.
if the initialconditions arey(0) and
dr, d;+6yQ)=l2e' dt
Solution
The Laplace transforms for the terms in this equation are
rLy@l=y(,)
arid,
LL4=*
68 | Introduction to Control Engineering
Q\ II9
dr'
Exercise 3.5
Obtain the solutions of the following differential equations with the given initial conditions.
3.2.10 Tn
u) +P.6++t3y(t)=5, y(o):r. ffrct:o Tiansfer func
Laplace trans
(z) transform of
+y.3ry+4y(t)=7s; -y(o)=1, fft )=,
(3)
+P+2ff+at(,)=6sin@t; y(o)=4, !@=,
This is the for
(4) y(o)=r
ry.zy(t)=1,
Exercise 3.6
3.3 CLA
Obtain the output response of the following dynamic systems excited with a unit step input:
Outcomes:
(1) G(,)=
#, /(o):1 After completi
B) G(s)=6j.ffi , t@)=0.ff{D=o
(4) G(,):
#*r, /(o)= 0,ff{0=t.
Exercise 3.7
Obtain the transfer function, G(s), for the system represented using the following differential
equations. Obtain the output response of the system with the given initial conJitions when
excited with a unit step input:
(1) y(o)=r
ry+6y(t)=u(t);
(2) u(t); y(o)=
ry.?ry.rcy(t)= 1,
ff{o=n
Outcomes:
After completing this section, the reader should be able to:
Solution
(1) order.
(2) order =
(3) order=
Figure 3.9 A block diagram of a feedback control system
(1) G(r)=
where b' ts aconstant. This transfer function can also be written as:
Example 3.6
t{/hat are the order, rank and class of the following systems?
-,4
S.T L
(1) G(s) =
so +3s3 + 3s2 + s
Time Response of a Control System I Zt
(2) G(s) =
rtrol s3 (s+2)(s+1)
;tem
s2 +s+1
(3) G(r)=
(s+2)(s'z+s+4)
Solution
(1) order = n=4, rank=n-m=4-l= 3,class=l=l
(2) order = n=5, rank=n-m=5-0= 5,class=l=3
(3) order = n=3, rank= ru-m=3-2= l,class=l=0
Exercise 3.8
What are the order, rank, and class of the following sysrems?
.3.27)
(1) G(s)= 4 o1 t)
-f +JJ +J-t
(2) s*1
G(s)=
,' (r' + 2s +1)
o.za1
Exercise 3.9
A control system is represented by a block diagram in Figure 3.10. Obtain the open-loop transfer
ts: function of this sysrem and find the order, rank, and class of the open-loop sysrem.
3,4STEPRESPONSEOFAFIRSTORDERSYSTEM
Outcomes: where Kis th
two paramet,
After completing this section, the reader should be able to:
function of
This is a first order system as defined in Section 3.3.1.Ingeneral, the transfer
a
l--"
Figure 3.11 A spring-damper system
Using partial
F,(t) = Fo(l
Iherefore th
r(,) K
,A=,*r=' (3'lo)
where Kis the gain of the system and lis the time consranr. These paramerers, Kand T, arcthe
two parameters that characterise the response of a first order system.
since the Laplace transform of a unit step function obtained from Laplace transform table is
1
\/ s(7s+1) (3.34)
Y lsl=
KK
(3.35)
s s*llT
Therefore the output response of the system is:
"f.l
t(t)= n('-"11 I
'l
o.36)
The gai
u(t)
n'stems are s
value of the
/\ r_7( /
0.8
0.632
I
0.6
I
I
I
0.4
I
I v(t) 0.6:
I
0.2 I
I
- T
Iime (second)
The effect of tirne constant, 4 on the time response can be analysed as follows. Let K = 1.
Then the output response is:
Let say we have three first order systems with the time constanrs of T, = l, T2 = 2, and Tt = 3
seconds. tW4ren time, /, is equal to the time constant, the outpur is: I
1.5
y(r):r-,(+Y =0.632. (3.38)
!(t)
The output responses for these three systems are shown in Figure 3.14. Nlthe outputs will
reach the value of 0.532 when the time, ,, is equal to the time constants. Thus, the larger the
value of the time constant, the slower is the outpur response.
The effect of gain, ( of the system can be studied by considering three first order sysrems
0.5
with the same value of time constant, 7i say equal to one but having three different values of
gains, i.e., Kt= 0.5, Kz= l, and K3= 2.The speed of response of each of this sysrem is the same
as shown earlier, since the time constants of these systems are the same. The output response is
given by:
I
t,:
li
T1 72734 r4
Time (second)
Figure 3.14 The effect of time constant on the speed of output response
37)
K3
=3
t.5
38) /
v@
n ill / K
the
i
ir'
:InS K1
0.5
sof
[ne
eis
f;:-
10
Time (second)
39)
Figure 3.15 The effect of gain on the output response
76 | Introduction to Control Engineering
3.5
Exercise 3.10
A dynamic system is known to be a first order process. If the time constant is 0.5 and the gain is Outcom
10, obtain the transfer function of this system. If the input to the system is a unit step function
and the initial condition is zero, obtain the time response of this system. Sketch the output -{fter com
response.
1) defir
,2) desc
Exercise 3.11
the c
The relation bewveen input voltage, u(t), with output torque, r(t), for a DC motor can be
r3) sket<
represented by a first order transfer function. A step input test of 6 V with zero initial condition
of th
was performed. A steady state output torque of 20 N-cm was obtained. It is observed that the
t4) deri
time taken to reach output torque of 12.5 N-cm is 0.4 sec. Derive the transfer function of the
|)) deri'
DC motor.
syst€
Exercise 3.12
A first order system is represented by the following transfer function: 3.5.1 S
l'(r) 1 An exami
U(r) s-t2 block diq
If the input signal, zz(r), consists of two impulses as shown in Figure 3.15, obtain and sketch the
time response, y(t), of the system for zero initial conditions Qtlease note tltat the initial conditions
dre no longer zero for the second impulse input signal).
:h the
litions
I
x"(') klm 3.5.2 S
X,(t)-
i
(3.40)
s'+(clm)s+klm' In general
This transfer function indicates that the system is a second order system where the highest zero initia
power of s at the denominator is two. The general transfer function of a second order system is:
r(,) Kai
= (3.4t1
U (t) s' +2(a,s+a) where
where, at, is the undamped natural frequency, ( is the damping ratio, and Kis the gain of the
system. These are the three parameters that will characterise the response of the system. The
is the darr
system can exhibit three types of responses that depend on the value of the damping ratio. These
are undamped response if e = 0, overdamped response if 4> t, and underdamped response if
0. 6.1.
The type of response can also be identified based on the values of poles of the system. The
poles are the roots of the characteristic equation. The characteristic equation of a second order Ther
system is: the poles :
"3.42)
(1) Undamped response, 6 = 0
The general transfer function becomes:
(3.43) r (r)
u (') (3.48)
The time response can be obtained by taking the inverse Laplace transform by referring to The pair o{
the Laplace transform table, thus: that can be
are:
I Q)=l- cos2t' (3.53)
Figure 3.19 shows that the output is continuously oscillating with the frequency equals to
the natural frequency, o)n, and in this case is 2 radls.
(.)
Thking the
right hand
b t.5
o
o.
q9l
-E Thusa= 1
2 0.5
2 4 6 8 10
Thking invr
Time (second)
in Figure 3
(21 Underdamped response, 0 < e < 1
r(,)
- 2
U (t) s2 +2s +2'
(3.54)
Comparing with the general second order transfer function (i.e., Equation (3.41)), we obtained
d:Z and 2(a,:2. Thus the damping ratio is0.707 which ir 0 . 6 < 1. The values of the
poles are -l , j, which is a pair of complex conjugate poles.
If the system is excited with a unit step input and the initial conditions are zero, then:
2IABs+L
Y(sl=--;-'-=-* . . (3.55)
s' l2s -f 2 .r J s' *2s 12
Using partial fraction method or otherwise, we have:
r(s)= L- (3.55)
s s'+2s*2
"*2
Time Response of a ControL Slstem I gt
to The pair of the corresponding time and s domain in the Laplace transform table (i.e., Thble 3.1)
that can be used to obtain the time response for the second term on the right side of the equation
are:
i3)
0)
Damped sine, e
o'sin ;-- ., .
o)/
ito ls+a)- +@'
s+a
o'
Damped cosine, e cos o)t
(s+a)'+a'
Thking the denominator of the s function in the table and compare with the second rerm on the
right hand side of Equation (3.56) to be solved, we have:
s*l 1
-)r(.")=l-
\- /
s (s+t)'+t- (s+1)'+t' (3.58)
1.6
7T-
1.4
'; 1)
.54)
ned
-o
O
Y]
a
Y L: 2o/o
e
U
tthe 0.8
O
-d 0.6
I
zd
0.4
5s) 0.2
0
/ tt t2 t,
-1
t, I
Time (second)
56)
Figure 3.20 An underdamped response of a second order system
82 | Introduction to Con*ol Engineering
The following observations from the output response will enable conffol engineers ro obrain First peak oc
the values of the gain of the system, damping ratio, and the natural frequency and vice-versa.
These observations are:
G) The first peak occurs at time, /1, given by: The second
@,,tt=P.rd. (:.e01
.\lr- 4'
(b) The second peak occurs at time, t2, givenby: Settling tim,
(3.6t)
(.) Settling time, /r, is the time the output response is considered to reach its steady-state value Maximum ,
Solution
Damped natural frequenry:
Taking the
r -- 3n 3n
(3.60)
' *,Jr-E' tzJt-l.2)
-na.
lG)=l-2e-'+e-2' (3.57)
U I Introduction to Control Engineering
The output response is shown in Figure 3.2i. There is no overshoot and the response is Exercise
slower than an underdamped system. The larger the value of (, the slower is the output response. The block,
and param,
(1) Overs
(2) Settlir
1.5 -- -'t
I
I
10
Time (second)
Exercise
Exercise 3.14 The open-l
A feedback control system is shown in Figure 3.22.If the controller gain, K, is 100, obtain the
damping ratio and natural frequency of the system. Calculate the rise time, the time first peak
occurs, maximum overshoot, and settling time of the output response when excited with a unit
step input with zero initial conditons and sketch the output response. The contrc
Percentage
(1) Can t.
(2) Deter
values
Figure 3.23 The block diagram for the system in Exercise 3.'16
Exercise 3.17
The open-loop transfer function of a uniry feedback control system is:
ain the
st peak KG(s\- K
ra unit s(s+2)
The controller gain, ( is to be designed such that the first peak occurs ar rime,
b = 1 s and
percentage overshoot is 57o when excited with a step input.
(1) describe rhe difference berween regulator sysrem and tracking system,
e time (2) derive the transfer function relating error and input signal,
xcited (3) use the final value rheorem, and
(4) define and calculate position error, velocity error, and acceleration error constants.
86 | Introduction to Control Engineering
N7ater in
It
tp.
For b<
the transier
Load or
response sF
disturbance
resPonses a
Constant
Output For a highe
reference
order syster
input
to the imag
approximar
The sr
nstant. Output
hough potentiometer
Process
: steam
Figure Amplifier
9lt + e"@
Varying
input signal
For both systems, the controller is designed such that the ourput response should fuifil both
the transient response specification as well as the steady-state response ipecification. tansient
response specification is normally defined in terms of overshoot and speed of response. These
responses are determined by the values of damping ratio and the undamped natural frequency.
For a higher order system, the response may be analysed by approximating the system as a second
order system by considering only the dominant poles. Dominant poles are the poles that are close
to the imaginary axis. Once the two dominant poles have been identified, the responses can be
approximated as a second order system and can be analysed as discussed earlier.
The steady-state response specification requires the steady-state error to be zero, that is, as
time tends to infiniry the output response tends to the reference value.
BB I Introduction to Control Engineering
\We have r
If this sys
(1) Error
Since in this analysis we are interested in the error when the system is excited with some given test
signals, it will be easier ifwe relate the error directly to the input signal. The transfer function can wherc k,
be obtained as follows. From the block diagram: a system I
Since we want to relate E(s) directly to [.I(s), eliminating ($ from Equations (3.68) and (3.69)
and re-arranging the equation yields:
Consider
(21 Test signals
the error r
Test signals are used to test the effectiveness of feedback systems. The common test signals are
unit step input, unit ramp input, and unit parabolic input. Step input is normally used to test the
Time Response of a Connol System I gg
effectiveness of a regulator system while for tracking system, this test is insufficient. Further tests
using varying inputs are required and these include ramp and parabolic inputs.
nds to
If this system is excited with a unit step input, U (s)=1, ,nd zero initial conditions, then:
J
E(s)=-o."fu"O
i (372)
If we are interested in the steady-state value, this value can be obtained using the final value
theorem, thus:
rI nput signal
(3.6e)
I
r (3.6e) 1+h p
0.5
(3.70)
:endsto
nytime 0 i0 20 30 40
Time (second)
Consider a simple system shown in Figure 3.30. If this sysrem is excited with a unit step input,
the error response is given by:
nals are
test the
90 | Introduction to Control Engineering
Thus,
Iherefore,
Figure 3.30 A feedback control system
E(r): In genr
r+ KG(s)H(s) s conclude th
11s+101 zefo.
(3.74)
;: i+10+ 1( ;
-K-s+ 10 Example I
The steady-state error can be obtained using the final value rheorem, rhus: Calculate pc
Thus this system has a steady-state errot .f when excited with a unit step input signal.
#
This error can be decreased by increasing the value of K The error cannot be eliminated completely Solution
unless Kis infinity but this may cause some other practical problems. Position errr
Solution
The open-loop transfer function of a Class 1 system is:
,D(r) Calculate th
where tV(s) and D(s) are the numerator and denominator of the open-loop transfer function when it is e>
respectively. \We have seen position error constant is given by:
Thus,
ro=*Pl
,a(,)
:-
L_.
Therefore,
e":t+l:Q.
k?
In general, Class 1 system has zero steady-state error when excited with a step input. \7e can
conclude that at least one integrator must exist in the sysrem for the steady-state error to be
zefo.
o.74)
Example 3.9
Calculate position error constant and steady-state error of a uniry feedback system when subjected
to a unit step input. The openJoop transfer function is:
{3.75)
\/ \/
KG (s) H (s) =
-+-
(s+20)
signal.
rpletely Solution
Position error constant, ku, is:
ho=tj1;KG(s)11(s)=-9[ =*=o.t
s* 201, ,n 20
Thus, the steady-state error is:
e" =
11
=o'567
r+ 1= 1*oj
Exercise 3.18
Calculate the position error constant and steadr5s2ls error of a unity feedback
conrol sysrem
when it is excited with a unit step input, given the open-loop tr"nrf.i function:
nctl0n
KG(s)H(s) = -+-
(s+ 20)
92 | Introduction to Control Engineering
€u =r'
r
fl _
=
r | =
1 I
3]7)
t.KG(dHO 71.-. r+rK6i(rl16)1,_. roc1ryr1r1;= 4
where *, is known velocity error constant. Figure 3.31 shows the steady-state error when
as the
excited with a unit ramp input.
r-
ltr
Output resbonse ,/ Input signal
'' 1: ----l--------
40
I ti ? '/
30 ,
i l _.r_;t- 1
20
10
2{r-'-'-:'
). -4-T'-
i I
k
Exercise
0 -q{-"1 i :
Determine
10 20 30 40 and parabo
Time (second)
t)
(3) KG(s
u(t)= 3.78)
,
where the Laplace transform is:
Exercise
Obtain the
Y(,)=1. (3.7e) and parabol
r
J
Time Response of a Connol System I gS
)ack
.;,
1
"
1
KG(s)H(s)
il
s'l,_.
r
s' + s'KG(s)II(r)
l_ = + (3.80)
I+
l*.- s'KG(s) H(r)1,.,0 k,
where hn is the acceleration error constant and I I b, is known as the acceleration lag.
In general, the steady-state error depends on the test signal and the class of the system is
',.76)
determined by the open-loop transfer function, KGG)I{s). Table 3.2 shows the summary of
steady-state errors for different classes of systems with respect to the standard test signals.
yhen 1
1
Ramp input 6 , 0
K,
1
Parabolic input @
h,
Exercise 3.19
Determine the class and order of the system below. Obtain the error constanrs for step, ramp,
and parabolic inputs.
Exercise 3.20
of the system shown in Figure 3.32 if theinputs are unit srep, rarnp,
.7e)
*ffiffi:;#f.:f:::rror
94 | Introduction to Contol Engineering
The trans
(1) define the transfer functions of proportional, integral, and derivative acrions or their
combinations, and
(2) describe the effect of control acdons on the response of a feedback system. and the tr:
state specification. Figure 3.33 shows a typical feedback control sysrem wher e G,(l is the controller
transfer function. (3) Der
Derivative
domain, tl
Output, (s)
Reference
input
G.(,)=ffi=uu (3.s2)
where rl is the proportional gain. If the process, G(s), is Class 0, there will be a steady-stare error
when excited with a step input. The magnitude ofthe steady-state error can be reduced by increasing
the value of the controller gain, K, but this may lead to orher pracrical problems. This error can
be eliminated by introducing an integral action. The output response of a Class 0 system would
not be able to follow ramp and parabolic inputs.
G,(,)=#=+ (3.84)
rrisS,
where K; is the integral constant.
zdy-
roller
(3) Derivative (D) action
Derivative action predicts error before it occurs, thus pre-emptive action can be taken. In time
domain, the input-output relationship is:
(3.85)
(3.86)
M(s\
c.(r)=ffi=Ko(t+Trs) (3.87)
Kd
where T, =
K,
Obtain
(5) Proportional plus integral (Pl) action output r
Furthe
(6) Proportional plus integral plus derivative (PID) action
Close, (
The transfer function of PiD controller is: Bo,
Dorf, R
G,(,)=H= *,(r.r,.+) (3.8e)
Evans,
Sac
\
Franklin
The problem faced by control engineers is to choose suitable values of Ko, Ts, and I that Up
can satisfy the design specifications. The problem of determining the controller parameters is Kalman,
called tuning. Various methods have been proposed. For a regulator system, one of the suitable D(r
methods is the Ziegler-Nichols method. Ogata, 3
Ziegler, .
Exercise 3.21 7ha
Describe the effect of proportional, integral, and derivative actions on the output response of a
feedback conffol system.
Exercise 3.22
A feedback control sysrem of a first order process is shown inFigure 3.34.
Time Response of a Control Sryaem I gZ
(3.87)
Obtain the unit step response of the sysrem if the initial conditions are zero and sketch the
output responses for the respective controllers used as given below;
Discuss the speed of response and the steady-state error of the sysrem due to these controllers.
Further Readings
Close, C. M. and D. K. Frederick. 1993. Modeling and Analysis of Dynamic Systems. 2"d ed.
Boston: Houghton Mifflin.
Dorf, R. c. and R. H. Bishop. 2001. Modern contol system.International Edition. Upper
(3.8e) Saddle River, N|: Prentice-Hall.
Evans, \fl R. 1954. Control System Dynamics. New York: McGraw-Hill.
Franklin, G. F., J. D. Powel, and A. Emami-Naeni. 2002. Feedback Control of Dynamics Slsteml
T;that Upper Saddle River, NJ: Pearson Prentice-Hall.
reters iS Kalman, R. E. 1964. \7hen Is a Linear Control System Optimal. ASME J. Basic Engineering.
;uitable D(82): 5r-60.
Ogata, K.2002. Modern Con*ol Engineering. Upper Saddle Riveq NJ: Prentice-Hall.
Ziegler, J. G. and N. B. Nichols. 1942. Optimum Setting for Automatic Controllers. ASME
Ti,ans. 54:759-768.
nse of a
CFIAPTE,R 4
4.1.1 Goncept
\'X/hen designing a closed-loop control system, the problems of stabiliry may arise if the controller
is not properly designed. A stable open-loop control system may become an unstable closed-loop
control system. In certain conditions, an unstable openJoop control system may become a stabli
closed-loop control system. Therefore a controller or a compensaror must be designed so that
the closed-loop system is stable and its response meers the specification.
4.1.2 Definition
A system is stable if when input signal is used as an input signal, rhe ourpur signa)
a bounded
produced by the system is also bounded. Figure 4.1 shows some examples of bounded iriput
signals with bounded and unbounded outpur signals.
100 | Introduction to Control Engineering
Consider a closed-loop system as shown in Figure 4.2. The transfer function for this The
system is: format as:
r(,) G(,)
u(,) 1+G(s)r1(s)' (4.r)
The expression 1 + G(tH(t = 0, the denominator of the transfer function equated to 0 is where p is
known as the characteristic equation. Generally, a closed-loop transfer function can be written in and poles r
the form of ratio of polynomial equations: (a bounde,
expression D(s) : 0 from Equation (4.2) is the characteristic equation for the system.
The respor
astable or ,
equarion.
The r
'"' Bounded be stable,
Unbounded
output signai -
unstable system
Figure 4.1 lnput and output signals, stable and unstable systems
The transfer function for the feedback system can also be written in poles and zeros
format as:
) is where p is the system's poles and z is the system's zeros, while m and n are the number of zeros
rrn and poles respectively. If all the poles are distinct and the input signal is impulse signal, UG) = 1
(a bounded signal), then:
The response is bounded if the roots of the denominator or poles are negatives. It is observed that
a stable or unstable response is determined by the position ofthe poles or roors of the characteristic
equation.
The same goes to repeated poles or complex roots. For all cases, in order for the sysrem ro
be stable, the real part of the roots must be less or equal to zero. Although the root of the
numerator, the zeros, has effect on the response of the system, however, it does not have effect on
stabiliry. It effects the transient and the steady-state responses. Therefore, the requirement and
condition for a feedback system to be stable is that all the poles of closed-loop transfer function
must have negative real parts.
Unstable region
x
Critically stable
Figure 4.3 shows the positions of poles or roots of the characteristic equation on.r-plane. Inverse La1
The system is stable if all the poles are located on the left-hand side of the imaginary axis. System
is critically stable if there is a pole located on the imaginary axis.
lVhen / J
Thus the s
Example 4.1
Derive the time response with impulse input and zero initial conditions for a control system
represented by the transfer function below. Determine the stabiliry of the system. Example
Y(t) * s*l Show the s
u(') (s+3)(s+2)
Solution
This system has two poles and both of them are negatives: \ The Laplace Solution
= -2 and s2 = -3.
ffansform for impulse input is UG) =1.Thus, The charac
Example 4.2
Derive the time response with impulse input and zero initial conditions for a control system Exercise
represented by the transfer function below. Determine the stabiliry of the sysrem. Define the
are the reqr
_ .'+1
Y(t)
Y(r) (s+3)(s-2) Exercise
Determine
Solution determinin
The system has two poles which 2re 11 = +2 and sz= -3, with one positive pole. For impulse
(1) Q(,)
input, UG) =1: (2) Q(,)
s*1 (3) Q(,)
Y(s)=
(s+3)(s-2) 5(s+3) 5(s-2)
Stability and Roor Lorus I tOS
V4ren t -+ @, e 3' -s O but /' --; -, there fore, y(t) -+ -, which shows that y(t) is unbounded.
Thus the system is unstable. Note that positive pole leads to unbounded time function.
Example 4.3
Show the stabiliry of a control sysrem with the characteristic equation given by:
Q(')= s3 +4s'+5s+4
lace
Solution
The characteristic equation can be rewritten as:
Q(r)=(s+2)(s'+2s+2).
The roots for this characteristic equation are:
Exercise 4.2
Determine the stabiliry of the control systems with the characteristic equations given below by
determining their roots.
(1) Q(r)= s3 +3s'+4s+2
pulse
(2) Q(r)=s'+s'+2s+24
(3) Q(r)= s3 +2s'+4s+8
104 | Introrluction to Control Engineering
(1) K"(s)H(s)=
(s+ 2)(s+ 1)
5(s+ 3)
(2) K,(s)u(s)=
s (s+ 3)(s + 8) The co
ones are zer(
affecting thr
parts if and
4,2 ROUTH'S STABILITY CRITERION Otherwise,
changes.
Outcomes:
After completing this section, the reader should be able to:
4.2.1 Method
Consider the characteristic equation of a dynamic system, in general given by:
As stated earlier, the stabiliry of a dynamic system depends on the value of the poles or roots of
the characteristic equation. For a stable system, all poles must be negative. Routh stability criterion
enables a designer to determine whether all poles are negative without the needs to solve for the
values of the poles. This can be done by consrrucing the Routh array defined as:
Solution
J dn d^n-z a,
n1 The charact
dd do-5
: 4-L n-)
4b2 b3
C,tt C^ C.3
: The Routh
0
::
J
Stabiliry and Root Locus I tOS
where dn, dn-:, .. ., do are the coeffi.cients of the characteristic equation, and:
back
tem. dn-t -dn-t --aan n-1^ l^ d, rdr-o - drdr-5
br= - / -
-
an-l d nt
Example 4.4
Figure 4.4 shows a feedback control system using a proporrional controller with a controller gain
of three. Determine the stabiliry of the feedback sysrem.
(4.6)
rrs of
erion
rr the Figure 4.4 Feedback system for Example 4.4
Solution
The characteristic equation of the feedback system is:
s3 +5s']_7s*3=0.
The Routh array is:
106 | Introduction to Con*ol Engineering
J3 1 7 0
2
J 5 3 0
J
1 5x7 -1x3
_-b.4 5x0-lx0 0
5
0 6.4x3*5x0
J
6.4
All elements in the first column have the same sign (i.e., positive), therefore the feedback In th,
system is stable.
replaced w
If an element in the first column is zero, it may be replaced with a small positive number, t,
and allowed to approach zero a{aer completing the array.
Example 4.5
Figure 4.5 shows a feedback control system using proportional controller with a controller gain
Inspe
system is sr
critical staL
oscillating
If the
then the sy,
use Routh's
Figure 4.5 Feedback system for Example 4.5
Example
Solution
Figure 4.6 r
-f3 1 4 0
J
2
) t2 0
-t
1 3x4-l2xl 3x0- 1x 0
0
3
0 0x12-3x0
In the first column of row s0, a,ralue of 9 i, obtained. In this case, rhe value 0 in row s1 is
0
replaced with a small positive figure, e. Thus:
:r, a
.t
3
I 40
J
2
3 t20
.t
1
t 00
0
.t t2
galn
Inspecting the first column, we find that all the elements are positive, rhus the feedback
system is stable. \7e can show that the poles of the system are -3 and x2j.Thus, this is a case"of
critical stabiliry where if the system is excited with a bounded signal, the output will continuously
oscillating with a bounded magnitude.
If there is any coefficient of the characteristic equation equals zero or has negative value,
then the system is unstable. Hence only characteristic equation with positive coefficient needs to
use Routh's stability criterion.
Example 4.6
Figure 4.6 shows a feedback control system using a proportional controller. Obtain the range of
values of K for the feedback system to be stable.
s(sr +6s'+1ls+6)
K>0 Determine
and
Exercise
6o-6K A control s
> o.
10 positive nu
Solving for K we obtain the range for stability as follows:
0<K<10.
Although Routh's stabiliry criterion will allow designers to determine absolute stabiliry
relatively fast, nevertheless it does not provide information on the degree of stabiliry and show
how to improve system behaviour. The biggest problem to utilise this criteria is the need for the
designer to know the transfer function of the system. In most practical cases, transfer functions of
many dynamic systems are complex and difficult to derive. This problem can be overcome by
using experimental methods, such as the frequency response method, where data can be plotted
as Nyquist diagram or Bode diagram.
4.3 Rr
Outcome
Exercise 4.4
Using Routht stability criterion, determine the stability ofthe control systems having characteristic After comp
equations as follows:
(1) sketcl
(1) s'+.r' + Zs + 24 : o (2) show
(2) so+2s3+8s2+4s*3=0 from I
(3) utilise
Stability and Root Locus I tOg
Exercise 4.5
The open-loop transfer function of a unity feedback control system is:
KG(s)H(s)=
s(s+ 4)(s+ 8)'
Determine the range of the constant controller gain, K, for the closed-loop sysrem to be stable.
Exercise 4.6
The characteristic equation of a feedback control sysrem is given as:
Exercise 4.7
A control system is represented by a block diagram as shown in Figure 4.7, where K and a are
positive numbers. Determine the range of Kand a for the system to be stable.
lin-
rO\\'
the
sof
Figure 4.7 Control system for Exercise 4.7
b,v
ted
4.3 ROOT LOCUS
Outcomes:
After completing this section, rhe reader should be able to:
the locus o
Consider a feedback system shown in Figure 4.8 where the closed-loop transfer function is:
4.10, this I
r(,) KG (s)
u(r)- r+ KG (i)11(r) (4.8)
where 1(is the controller gain assumed to be positive throughout and KG(lH(s) is the openJoop
transfer function.
The dynamic behaviour of the closedJoop system depends on the roots of the characteristic
equation:
Obser
1+ KG(s)H(, = 0. (4.e) zeros for K
Consider a feedback system shown in Figure 4.9.
Consi
and define
s2 +2s*K:0, (4.10)
Srabitity and Roor Locus I ttt
s. If -2a,{a-ay
also (4.rt)
the
If K= 0, the poles are 0 and -2,if K= 0.5, the poles are -0.29 and-I.7,if K= l the poles are
rod.
-1 and -1 and if K= 2 the poles are -1 + j and-l -j. if these values are plotted on an s-p1ane and
the locus of the pole locations is drawn as the value of Kis varied from 0 ro € as shownin Figure
a is:
4.10, this locus is known as roor locus diagram.
4.8)
ooP
K= 0 K= 0.5
Figure 4.10 A root locus diagram with the arrows indicate the movement
of the pole location when the value of K is increased
lStlc
Observe that the loci start at the open-loop poles for K = 0 and terminare ar the open-loop
4.9) K = * ('x' denores poles) . The proof is as follows:
zeros for
v (,) KG (s)
u (') t+ KG (i)11(i) (4.12)
KG (s)u (s)=
m/(r)
D(r) (4.13)
Then,
y (,) KG (s)D(s)
_
10) u (') D(s)+x-al(,) (4.14)
ll2 1 Introrluction to Control Engineering
where ,n/G) and D(s) are the numerator and denominator of the open-loop transfer function
respectively. Therefore the closed-loop poles are the roots of the characteristic equation DG) *
m/G) = o.
Show the c
If K = 0, the characteristic equation becomes:
(1) l(rc(s)1{s)l = 1 l
It should be noted that ilgQo ( +n radians) are the same point on the s-plane and:
Example 4.7
The open-loop transfer function of a uniry feedback system is given by: ifK=4.
Stabili7r and Root Locas I ttS
)n t('*^'.)
KG(s)H(s):
s(s+ 2)
, Hg)=1.
Show the change in the poles location when the parameter Kvaries from 0 to
-.
Solution
The closed-loop transfer function is:
6 r(,) r(s+l)
=
LI tz (r) s'+(2+K)s+K
and the characteristic equation is:
)n.
| -e s'+(2+K)s*K=0.
Therefore, the values of the poles are:
ot
Example 4.8
Using angle and magnitude crireria, show that rr =
-1 +.7 is one of the roors of the characteristic
equation for a unity feedback control system with the open-loop transfer function given by:
KG (s)H (s)=
,(r'+ 4s+6)
ifK=4.
ll4 | Introduction to Control Engineering
Solution 4.4 F
If s1 is a root of a characteristic equation, it must fulfil the requirement:
Outcon
KG (s)H (r): -t.
After cor
Ifgiven K=4andoneoftherootsisrr =-1 *T,substitutingsl =-1* jandK=4intoopenJoop
transfer function yields:
(1) sket
(s): ,-.' K4
(2) ider
KG (s)H
,(r'+ 4s+6) (-r*y)[(- t* j)'+4(-r+7)+e] @6
(3) ider
4 usir
=
7-t* i17r*4=-' conl
This can also be shown graphically as in Figure 4.l2.The figure shows the position of the
poles of the open-loop transfer function (0, -2 t 1 .414) and root s1 . Angle criterion is given by:
4.4.1 (
/, (1) Plor
IKG(s)a(,)l =
4h pole
absc
(2) On
(1.4r 4) (2.61 3 ) (1 .082 )
il
as
-1
(3) The
nuII
tran
nuII
(4) For
Figure 4.12 Positions of poles with respect to root s1
Stability and Root Locus I t tS
(1) Plot the locations of the poles and zeros of the open-loop transfer function using 'x' for
poles and' O ' for zeros. Note that it is important to use the same scale for the ordinate and
abscissa for a meaningful angle measuremenr.
()\ On the real axis, the locus lies to the left of an odd number of singularities (poles and zeros),
as illustrated in Figure 4.13.
(3) The root locus starts at the open-loop poles (-K= 0) and the number of loci is equal to the
number of open-loop poles, p. As K -+ *, zloci terminare at the z zeros of the op.rr-loop
transfer function, where z is the number of zeros. If the number of zeros is lesslhan the
number of poles, p - zlociwill approach implied zeros at oo.
(4) For large values of gain, the locus is asymptotic to the directions having the angles of:
1 16 | Introduction to Control Engineering
(2p+1)180" Calculate t
fuymptote angle = k - 0. I. 2,.'. (4.18) loop syster
;,
The loci approach the asymptotes when K--> *.The number of asymptote angles is /, with
d is the difference between the number of poles and zeros, i.e- d = p - z. For Solution
d = I to 4, the asymptotes are as shown in Figure 4.14.The asymptote angles are as follows: Rule l: On
zeros with
d = l: asymptote angle = 180o is 0. The v
d = 2: asymprote angle = 90", 270"
d = 3: asymprore angle = 50o, 180o, 300" Rule 2: On
d = 4: asymptote angle = 45", 135", 225", 315"
Rule 3:Th<
-) at eithe
Rule 4:
(5) The intersection of the asymptotes with the real axis is known as the centre of graviry (cg) o{ Rule 5:Th
the pole-zero configuration.
-
-2, -
I P'-\'' (4.1e)
and thus ti
wherep; andz;arethe values of open-loo :;"irrand zeros respectively.
Example 4.9
A feedback system with a proportional controller is shown in Figure 4.15.
Calculate the asymptote angle and the centre of graviry and sketch the root locus of the closed-
t.1S ioop system.
11-1Ih
For Solution
O\vS: Rule 1: On the root locus diagram, the openJoop poles are marked with ',.' while the openJoop
zeros with 'O '. The number of openJoop poles, p, is 3, and the number of openJoo p zeros, z,
is 0. The values of poles arei ?t= O, pz= _1, and?3=
-4.
Rule 2: On the real axis, the locus exists berween 0 to -1 and on rhe left of -4.
g: of Rule 5: The point of intersection of the asymprore angle with the real axis is:
(o)+(-r)+(-4) _,_
'g= =*l'ltr
i.19)
3-o
and thus the sketch of the root locus diagram is shown in Figure 4.16.
Figure 4.16 The sketch of the root locus diagram for Example 4.9
1 18 | Introduoion to Control Engineering
Rule 2: O
Exercise 4.8 zeros -2.
Sketch the root locus diagram for a feedback system with the open-loop transfer function given
by,
Rule 3: T
K (s+4) at openJc
KG (s)H (s):
,(r'+ 2s+2)
Rule 4: Si
180o, ther
(6) A breakaway point, o6, is the point on the real axis where the locus leaves or meets at the real from the <
axis. The location of the breakaway point, 06, is obtained by solving: and impli
The
$':tr
(o,- p,) (4.20)
using Rul,
7 7 (on-",)
where p; and z; are the values of open-loop transfer function poles and zeros respectively. Rule 6:
A breakaway point, C6, CZn also be determined by rewriting the characteristic equation in
the following form: that prodr
t<=f(') (4.2r)
wherefs) is a function of s. On the real axis, a breakaway point, 06,is atmaximum ( with Therefore
in Figure,
_-u
dK
(4.22) Alter
ds
in the forr
Example 4.10
The open-loop transfer function of a feedback control system is given by:
KG(s)H(sl:ffi
Sketch the root locus of the feedback system. The chara,
Solution
Rule l: This system has one real zero (q = -2) on the real axis and a pair of complex conjugate
Rule 3: The root locus srams from open-loop poles (p,= -t *.,|-li andp2= _1_ r[37') and ends
at open-loop zeros (q = -2) or implied zeros (oo).
Rule 6: +__ 1
ob+r+J5j ob+l-"13i ob+2
that produces
t
o! + 4on =6
h Therefore ot = 0 or 4. The solution that fulfils this case is
-4.Theroor locus diagram is shown
inFigwe 4.17.
Alternatively, the breakaway point can be obtained by rewriting the characteristic
- equation
in the form of K=fls). The open-loop transfer function .an b. rewriten as:
KG(s\H(s',= K(s+2)
\/ \/
(s+l+J-A;Xr* r-rl-li)
K(s+2)
KG(s)H(s)=
(s') +2s+ 4)'
r+ KG (s)rz(s; = s
(s'+2s+4)
(s+2)
120 | Introduction to Control Engineering
(s+2)'
-0
or whe
valu
s2 + 4s =0. Exat
That yields the same solution as before.
Exampl,
The open
system.
Solutior
This syst,
p2=-3,i
conjugate
Rule 1: O
Exercise 4.9 zeros witl
Calculate the breakaway points of the root locus diagrams for a system of the following open-
loop transfer functions: Rule 2: O
K('+5) Rule 3: T
(1) KG(s)H1r;= and
s(s+1) -7) e
(7) The locus leaves or approaches the real axis at the angle of +90o.
(8) The angle the locus leaves a complex conjugate openJoop poles which is the angle of departure,
07, can be found by applying the angle criterion and using:
0a=-20+180 (4.23)
where 0 is the sum of angular distribution of poles and zeros with poles angles are positive
values while zeros angles are negative values. The application of this rule is illustrated in
Example 4.1 1.
Example 4.11
The open-loop transfer function of a feedback system is given below. Plot the root locus of the
system.
K (s+ 4)
KG(s)H(s)=
s(s+3)(s+5)(s'+ 2s+2)
Solution
This system has one real open-loop zeros (q = -4) and three real open-loop poles (pt = O,
p2 = -3, and p = -5) and a pair of complex conjugate open-loop poles. The pair of complex
conjugate open-loop poles is:
J+- +xz
?s, ?s =-zx = -r_j.
2
Rule 1: On the root locus diagram, the openJoop poles are marked wirh 'x' while the open-loop
zeros with 'O'.
Rule 2: On the real axis, the loci are berween 0 and -3 and betwee n -4 and -5.
Rule 3: The loci start from open-loop poles
@1 = O, ?z = -3,p3 = -5, ?q= -l + j, and p, = -1
- j) and end at open-loop zeros (21= 4) or implied zeros (-).
Rule 4:The asymptote angles are:
(2[+ 1) I 80'
_ (2k +l)180'
=(2k-1)45 = 45o'135'225'375"
?- z 5-l
122 | Introduction to Control Engineering
i1_+1
,r-Ot-Pi r,-Ot-Zi
thus
111111 I-J-I-
Rule B: The angle of departure of the locus from the complex pole can be o'otained by referring to
Figure 4.18. Thus:
(9) The i
\e :0,+or+q+o^-0, Kat r
be ap
= 90o+ 135 +27" +14" -l8o =248".
obtair
Example
..,,,,,,+""'X'
'":,... ; Consider tl
:
the imagin;
i
:< 0,
..x
!\
.\. Solution
The charac
Figure 4.18 The complex- conjugate pole with respect to other poles and zeros
In the above calculation, the angles contributed by poles are positive while zeros are negarive.
Therefore:
The Routh
Stability and Root Locus I tZZ
0,uLl=-Fo+l8o
= -248 + 1B0o = -68o.
The sketch of the root locus using the above rules is shown in Figure 4.19.
(9) The intersections of locus with the imaginary axis can be located by calculating the values of
Kat the intersection. This is a critical stabiliry situation where Routh stabiliry criterion can
be applied. Auxiliary equation is used for this Kvalue and the point of intersecion can be
obtained by solving the auxiliary equation. This is illustrated inExample 4.12.
Example 4.12
Consider the same problem as Example 4.1 1. Obtain the point of intersection of the locus with
the imaginary axis.
Solution
The characteristic equation of the closed-loop system is:
,t 1 33 30+K 0
.t
4
10 46 4K0
.t
3
28.4 30+0.6K 00 I
i
4K 00
k
2
.t 35.4 -0.2| K I
1
to52-98]2K -0.t226K2
.t 0
35.4-0.2t1 cor
lComple*
0
4K 0 wtth posrttl
-0
te
l
35.4-0.211 | *.*,,,,.
This equation is satisfied tf K = 10.6. The coefficient of the auxiliary equation is obtained from
the elements of row s2 in the Routh array, thus for K = 10.5, the auxiliary equation is: I
yields r = +1.137. Thus the locus intersects with the imaginary axis at
K = t0.6.
i.l3j when the gain
t_
I
The value of Kcorresponding to any point s6 on the locus can be found by measuring the
s6 to all the poles and zeros of the open-loop transfer function
length of each vector drawn from 4.4.3 Dt
and then evaluated using: N;
As discussr
r,,r- - P ll'. - P'\"'l', -,',1
t,'t-ffi. lro
(4.24) defined in
order syste
frequency,
The application of this equation is illustrated in Example 4.13.
system can
poles. The
4.4.2 Transient Response represent z
are selecter
The transient response of a dynamic system is closely related to the location of the poles. Poles
located on the right side of s-plane will result with an unstable system. If all poles are negative real
A dif
difFerent n
numbers, the output response will be overdamped. A complex conjugate poles will result with a
frequencl.,
damped oscillating system. Poles on the imaginary axis will result in sustained oscillation. Figure
specificatir
4.20 shows the location of the poles on the s-plane and the corresponding types of response.
@1, the de
Stabiti4t and Root Locus I tZS
Imaginary
axis r Stabiliryboundary
t+
Region ofslow response
ln ^-
V\ \
mplex conjugate poles \
with positive real parts Complex conjugate poies
lr-.
X
with negative real parts
Real a-xis
:d from
Positive real poles
tl
he gain
Figure 4.20 The location of the poles on s-plane and the types of response
ing the
mction 4.4.3 Determination of Dampinq Ratio, (, Natural Frequen cy, qtn, Damped
Natural Frequency, @a, and rime constant, r, from Root Locri's Diagram
As discussed in Chapter 3, the design transient response specifications of a dynamic system are
(4.24) defined in terms of time constant, T, if thesystem is a first order system or approximated as a firsr
order system, while the values of damping ratio, $, natural frequency, an, inddamped natural
frequency, tos, if the system is a second order sysrem or ahigher order sysrem. Ah-igher order
system can be approximated as a second order system. For example, a third order system has
three
poles. The two dominant poles that are close to the imaginary axis are assumed as the values
that
represent a second order system. Similarly with a higher order system, the rwo
dominant poles
are selected for the approximation.
;. Poles
ive real A different values of poles located on the s-plane as shown in Figure 4.20 willresult with
rvith a
different rypes of responses and these values correipond to the yalues oid"mping ratio, (,natural
Figure
frequency, a)n, and damped natural frequenry, al). Th,rr if we are girr.., tt. tirrri.nt
response
nse.
specification in terms of damping ratio, (,natural frequency, a* anldamped natural f..qrr.rr.y,
@7, the desired values of the dominant poles can be locaied on the ,-pi".r.
or the root locus
126 | Introduction to Control Engineering
diagram and correspondingly the value of Kparameter can be calculated. Similarly, with known The pole
pole position of the closed-loop system on the.r-plane, the behaviour of the system can be deduced
from the values of T, $, 0)n, and a)7.
Referring to Figure 4.2la,a vertical line (real part of a pole) corresponds to constan J il = I
, 4a, .
T'
A horizontal line (imaginary part of a pole) corresponds to constant damped natural frequency,
a1.The constant undamped natural frequency, cD, is represented by a circular line as shown in
Figure 4.21b and a radial line represents a constant damping ratio, (.
The va.lt
earlier, th
Constantline, 1/I
The dam
Constant line, (
Im The time
-'--l ja,
"
,,"''t.'..... |
-6=o thus I=
The
general tr
we have:
Figure 4.21b Values of T, (, an, and ar6 on the s-plane
The poles of this system is -1 +,r.Thus the pole position on the s-plane is shown inFigure 4.22.
The values of (, @n, and a4 can be deduced from the pole position on the s-plane as discussed
earlier, the undamped natural frequency, 0)r, is:
@a =lrudls'
\(/e can show that F = 45", then the damping ratio is:
!=t,
T
thus 7= 1s.
These values can be validated as follows. Comparing the characteristic equation with rhe
general transfer function of a second order system:
sz +2(a,s+o)z =0,
we have:
d, =z
and
2(co,=2.
I2B I Introduction to Control Engineering
Thus, The r,
Example 4.13
Sketch the root locus of the feedback control system shown in Figure 4.23. Choose the value of
Ksuch that the damping ratio does not exceed 0.5 and the time constant is less than 1 second.
Therefore ,
s(s+4)(s+10)
Solution
The open-loop transfer function is:
KG(s)H(s)=
s(s+ 4)(s+ 10)
Using the rules to construct root locus diagram, we have:
The root locus olot of this system is shown in Figure 4.24.If the required damping ratio is
0.5, we need B = cos-' 0.5 = 60o. This is shown by line OB.Theintersection of this line with the
locus is shown by point D. For the required time constant of 1 second, we need ]T : t . This is
shown bylineAC.The intersection with the root locus is E. Since D satisfies the design requiremenr,
let say this is the designed feedback pole location. The value of the controller gain can be obtained
by making measurements on the root locus diagram where lsl = OD = 2.85,ls + 4l = FD = 3.60,
and ls + 101 = GD = 8.90, thus:
r
Ircc 61a 1,)l =
K
-1
l{ls+alls+tol
K
of = I'
(235)(3.60)Geo)
Therefore K = 91.3 is the required controller gain that satisfies the design specification.
Further I
Exercise 4.10
Sketch the root locus of the feedback control system with the open-loop transfer functions
Evans, \fl .
Hurwitz, 1
given by:
Real l
K
(1) KG(s)H(s)= K
Khatwani,
(2) KG(s)H(s)=
(s+1)(s+6) (s+ 1)(s+ 3)(s + 5) 583.
Krishran, I
(3) K
KG (s)H (s)= (4) KG(s)H(s) -
-^-\-,t-^\-, AC(1
r(r'+4s+8) s(s+1), Lewis, P. F
Prent
(5) KG(s)H(s)= . K (6) KG (s)H (s)= Pillai, S. K
s2 +4s+8 s(s+2)(s+3) AC(1
Exercise 4.11
Sketch the root locus plot of a feedback control system shown in Figure 4.25 and determine the
value of Kso that the damping ratio is 0.5. Further, determine the natural frequency, damping
ratio, and time constant of the designed system.
Exercise 4.12
Sketch the root locus plot of the control system shown in Figure 4.26 and determine the value of
K if the required damping ratio is 0.707.
Further Readings
fi10ns
Evans, \fl R. 1950. Control System Synthesis by Root Locus Method. Trans. AIEE.69:66-69.
Hurwitz, A. 1895. On the Conditions underwhich an Equation has Only Roots with Negative
Real Parts. Mathematische Annalen. 46: 273-284.
Khatwani, K. J. 1981. On Routh-Hurwitz Criterion. IEEE Thans. Automatic Control. AC(6):
583.
Krishran, V. 1966. Semi-analytical Approach to Root Locus. IEEE Thanl Automatic Control.
AC(l1): 102-108.
Lewis, P H. and C. Yang. 1997. Basic Control Systems Engineering. Upper Saddle fuver, NJ:
Prentice-Hall.
Pillai, S. K. 1981 . The e Method of Routh-Hurwitz Criterion. IEEE Tians. Automatic Con*ol.
AC(10): 584.
ne the
mping
ilue of
CHAPTER 5
5.1.1 Concept
Frequency resPonse analysis is the study of steady-stare response of a dynamic system
when it is
excited with a sinusoidal signal of frequency, @. Theexcitation frequency i, urii.d from
0 to -
and frequency response data are acquired. These data represent th. characteristic of a dynamic
system. These frequency response data are the gain and phase shift of the system as function
of
frequency.
\7e can use frequency response method for two purposes. These are: to determine the
mathematical model or transfer function of a dynamic iystem and to analyse the stabiliry
of a
closedJoop sysrem. Consider a sinusoidal input signal:
tl
where ,4 is the amplitude and o is the frequency of the input signal. For a linear system, the and the pl
output signal is also sinusoidal with the same frequency given by:
The frequ
Equations
u(t)=Asin(ar) of G(s), it:
/t)=Bsin(at+Q)
Example
Obtain th
Time (second)
Solutior
Figure 5.2 lnput-outputfrequencyresponse
The trans
thus:
The gain is the ratio of the output to the input amplitudes, and measuring these amplitudes
results in:
B
Cain = (5.3)
A
Frequencl Response Ana/ysis I 135
O= rad
<l i"2n 6.+)
_a:_ where Z is the length for_ one complete cycle and x is the length of delay benveen input
and
output signals, for example the length between peak of input signal and thl .orr.rpondirrg
-- l peak
of the outpur signal.
Let the transfer function of a dynamic system is GG). As discussed in the previous chaprers,
the transfer function of a linear system is defined as the ratio of the Laplace rransform of th.
output variable to the Laplace transform of the input variable wirh all initial conditions assumed
to be zero. The Laplace transformation for a time-invariant system of
f(t) is defined as:
F(s)= Il,"f (t)dt 5.5)
The frequency domain of the system is described by the Fourier transform given by:
F (a)=
J*. '*' f (t)*. (5.6)
Equations (5.5) and (5.6) show that by substituting , = j@, for a sysrem with a transfer function
of G(s), its transfer function in frequency domain ii given as,
c(jr)= G(s). (5 7\
Example 5.1
obtain the frequency response ffansfer function of a first order system given by:
G (s):
l+Ts
Solution
The transfer function of the system in frequency domain can be obtained by replacing
s with j6,,
thus:
G(jot)=
l+Qat
<l
f
I
The frequency response transfer function, G(ja), is represented by a complex number: Since u(t
and
Example 5.2
5.1.2 (
Obtain the steady-state response of the dynamic sysrem shown in Figure 5.3 lf the input is
The freq
u(t) = 4sin(2t).
represent
logarithn
the scopr
Thr
function
combina
Figure 5.3 A dynamic system for Example 5.2
Solution 5.2 t
The output signal is given by:
Outcon
y(t)=Bsin(at+Q)
After cor
where
n =lc(1at)lxa.
(1) deri
(2) plor
Frequencl Response Analysis I tZl
l"ei)l=, --l- A =
",Ei J'
Q = zG (jr)=-ra.,-'f3l= i.to7 rad..
(1,
The steady-state response of the sysrem:
4
7,, = ,' sin (zt -t.107 ).
V)
(1) derive the expressions to calculate the gain and phase shift from transfer function,
(2) plot Nyquist diagrams for differentiator, integ.ator, first and second order sysrems,
138 | Introduaion to Control Engineering
(3) determine the frequency range to calculare the gain and phase shift, By substi
(4) calculate the gain and phase shift, and
(5) draw polar plots or Nyquist diagram.
The abor
5.2.1 Goncept modulus
phase shi
The plot of frequency response data, i.e. the gain and phase shift, as a function of frequency, rrt.
that varies from 0 to rc on a polar graph paper is known as the Nyquist diagram. The polar plot
of the frequency response data is drawn using the complex number representation where the and
coordinates of the polar plot are the real and imaginary parts of G(ja) as shown in Figure 5.4.
0. 4 resPectlY(
\7e
0. zG(ja) expressio
phase shi
0" when a;
lc(ja,l
and a--
Using tht
is shown
In this chapter, we will start by presenting the calculation of frequency response data for
some common elements in a transfer function typically representing a dynamic sysrem. Then,
the plots of the Nyquist diagrams of these data are shown.
5.2.2 Differentiator
The transfer function of a differentiator is:
GG) = r. 6.12)
r
fl Frcquenqy,RarponrAnz/ytz't I ISS
ii
G(jctt) = ja . (5.13)
The above expression is a complex number without the real part. The gain for the system is the
modulus of G(ja) while the phase shift is the argument of G(ja).Therefore, the gain and
phase shift are:
zG(jo)=9s" (5.r5)
respectively.
We will analyze the change in the gain and phase shift as rr) varies from 0 to
-. The above
expressions for gain and phase shift show that as the frequency varies, the gain varies while the
phase shift remains consranr with the value of 90o. For the gain,
when at -+ 0
lc (7a;)l -+ o (5.1e;
and a) -+ -
lc17a;;l-+ -. (5.r7)
Using the above information, the data is plotted on a polar graph paper and the Nyquist diagram
is shown in Figure 5.5.
G(i)=!. (5.18)
.t
By substituting s with j(0, the frequency response transfer function is: Bv substir
The value of the gain varies with frequency as shown below: As a com
As shown
when ar --> 0, point on
-, (5.23) lG(ja)1,
lc(7a;;l-+ be easier r
and () -+ -,
o, 6.24)
lc17a;)l-+
thus the Nyquist diagram for an integrator is shown in Figure 5.6.
and
for the ga
G(s) =
K
(5.25)
1+Ts
By substituting s withTa;, then,
c (j')=
' -+-'
l+7j0) 6.2e1
\(/e can see that G(jtl) is a complex number and can be rewritten as:
where R(a\:
\-- / ! - -and-- I^ (ro\=
\--, -ffi*, .
l+(Tro), 7+(T*)r'
As a complex number, G(ja) can be plotted on the Argand diagram as shown in Figure 5.7.
As shown above, the complex number is a function of ar. Point G(ja) varies as al varies. Any
point on the locus can be determined by the real and imaginary parts of G(ja) or the gain,
lc(ja)|, and phase shift, ZG(ia), of G(ja). For a first order lag sysrem, the calculationiwill
be easier using:
* (rat)' (5.2e)
al
The values of the gain and phase shift vary as the frequencyvaries. Firstly, lett determine the TI
gain and phase shift at two extreme frequencies , i.e . o) = 0 and ro = €, rhus: semicir<
is showr
when o = 0,
and when a) ) * ,
Gain
lG
(ir)l-0 andphase shift Q =-90".
Another important frequency needs to be investigated by a control engineer is the centre frequeno-
(also known as break frequency). For a first order system, the cenrre frequency is cD = ],T *h.r.
Iis the time constant. Substituting the valu e o) =l irr,o the expressions for gain and phase shift
" T I
yields From F
K
lc(i,)l= T (5.tr)
and
and
zc(ja)- -45" . (5.22)
Based on these data, the Nyquist diagram can be drawn and is shown in Figure 5.8. This
Iocus is a semicircle where the center is located atO.5Konthe real axis which is equivalent to the
radius of the semicircle. Using F
Therefc
00
Thus,
where -r
The plot can be shown to be a semi-circle as follows. For simpliciry let K = l. For a
semicircle, the radius, x, is a constant, equals to 0.5 independent of aL The geometry of a semicircle
is shown in Figure 5.9. Ve need to show r = 0.5, aconsranr independent of a.
From Figure 5.9, Xis the real part of G( ja) while )'is the imaginary part, that is:
(5.33)
and
l
-:- (5.34)
Ll
h.
Using Pathagorous theorem:
,( I
.r.--l-__r.Lr_- 1)' ( r, .l.f
It*1rr;' 2) l,*trol'')
Thus,
x=0.5
where x is a constant, independent of r0, therefore the locus is a semicircle.
144 | Introduction to Control Engineering
Exercise 5.1
A frequency response test is performed on a dynamic system. The data is plotted on a polar graph
paper and the Nyquist diagram is shown in Figure 5.10. The locus is a semicircle. Derive the
transfer function for this system.
Th
importar
are 0, 0),
phase sh
at = 0.5
Based or
rd'
G(s)=+2(a,s+0t'
s2
. (5.36)
G(ja)= Kai
al-a' + j2(o4ot 6.37)
'
lc(,rtl=g
lt '-GII. *'(:'l
(5.38)
Res
rutro,
system is
maximur
$.
Q =tan-' (5.3e)
'[;l
The change in gain and phase shift as frequency varies can be determined by studying some
important frequencies that can describe the characteristic ofa second order system. These frequencies
are 0, o)r, and *, where ro, is the centre frequency of a second order system. Thus the gain and
phase shifts for the frequencies of interesr are:
(o ) 6, o, -+ -180" (5.42lt
lc 11i,o11= @ .
Based on these data, the Nyquist diagram is plotted as shown in Figure 5.11.
Resonance may occur for a second order s)rstem. This depends on the value of the damping
ratio, (. If resonance occurs, the amplitude of oscillation of ,h. or,pu, is maximum when the
system is excited with the_ input signal of frequency equals to the resonance frequency. Let the
maximum gain occurs at frequency, 60, hence the expression for resonance frequency is:
1-24' (5.43)
146 | Introduction to Control Engineering
The derivation of this expression can be shown as follows. The gain is given by Equation (5.aS).
The maximum gain that gives o)rcan be determined by solving:
dlc(jat)|,
dto
=o (5.45)
since the maximums for lC(7ar)l ana lC(i{l' occur at the same frequency. Solving for
alc (iat)l'
= 0 is easier because the square roor rerm d.oes not exist in the expression.
dro
Differentiating:
Exerci
Figure I
system.
lc(iql'= (5.46)
[' [;ll.^r("*)
with respect to a) and equating to 0 yields the resonance frequency:
@, = @,ll-2c' . (5.47)
Figure 5.12 shows the Nyquist diagram of a second order system with resonance. From
t-2e2 >o
therefore,
5.2.6
c < 0.707. It is corr
The gain at resonance frequency can be obtained by substituting the resonance frequency, the syste
Equation (5.43), into the gain expression given by Equation (5.aS) resulting with: 5.14.
lc {i')1.", -
n*=E@
1
5'48)
Frequency Response Anallsis I t+l
Exercise 5.2
Figure 5.13 shows the Nyquist diagram of a dynamic sysrem. Derive the transfer function of this
system. Does resonance occur in this system? If so, determine the resonance frequency.
l2
Figure 5.13 Nyquist diagram for Exercise 5.2
Example 5.3
Figure 5.15 shows a dynamic system that consists of nvo elements in series. Obtain the frequency
response data and sketch the Nyquist diagram.
Solution
Both transfer functions in the system can be rewritten as:
) 0.5
\ / =--t
GI (s)
1+0.5s
and G (r)=
l+0.25s
Substituting s with ja, the gains and phase shifts are given as
2
lc,(jdl= __+ (0.5a;)" and ZGt(j@) = -ran ' 0.5rr.r
,tt
and
(2) K(
(3) K(
(4) K(
Exercis
The tran
follows:
Obain r
(1) defi
(2) defi
(3) anal
(4) detr
Figure 5.17 A dynamic system for Exercise 5.3 (5) calc
Frequency Response Analysis I tSt
_ One advantage of using Nyquist diagram is that it represents the frequency response
characteristic of a system over the entire frequency range in a single plot and therefore ,n"kirrg it
easier to analyse. However, one disadvantage is rhat it is difficult to plot. It will be no lor!.,
practical when a system needs analytical modification and checking foi its performance.
Exercise 5.4
Sketch the Nyquist diagram for these open-loop transfer functions:
(2) (t+9';') -
KG(s)H (sr=
(t) (s+3)
KG (s) H (s) =
(s'z+4s+16)
(4) 30(s+8)
KG (s)a (s)=
s(s+2)(s+4)
Exercise 5.5
The transfer function of an open-loop control system with a negative unity feedback is given as
follows:
10
KG(s)H(s)=
s(s+ 5)(s + 2)
Obtain the frequency response data of the open-loop sysrem ancl sketch the Nyquisr diagram.
Outcomes:
After completing this section, rhe reader should be able to:
(1) If the gain IKG(ja)H(ja)l < 1 when the phase shift IKc(jat)H(jat) : -180o, the
closed-loop system is stable.
5.3.2 Dr
The degre
response d
rGQa)tt(ja:) gain margi
5.3.3 Gi
Figure 5.19 Nyquist diagram of the open-loop system For a stabl
hand side
Frequency Response Analysis I tSS
(2) If the gain IKG( ja)H(ja)l:1 when Z KG( ja)H(ic,t1:-rrrowhere the locus inrersects
with point -1, the closed-loop system is critically stable.
(3) If the gain IKG(ja)H(ja)l > 1 when the phase shift Z KG(ja)H(jot) = -180o , the
feedback system is unstable.
Figure 5.20 shows the possible plots for three different range of gain, ,(
(1) The closed-loop system is becoming unstable as Kincreases.
(2) The system is said to undergo critical stability as the locus passes through point
-1.
(3) The system is more stable for smaller value of K
KG(jat)u(
Unstable
Critically
stable Stable
open-loop system, IKG(ja)H(ja)1, at the frequency in which the phase shift is -180o and is
given as:
GM =!x (5.54)
where
The phase margin, 7 is defined as 180o plus the phase shift of the open-loop system,
Solutir
IKG(jot)H(jot), at the frequency in which the gain of the open-loop system is unity. The valr
is to obr
r:180" + ZKG(j@)U (ir)lKG4a)H( j,.,)=l. (5.55)
phase ar
Figure 5.21 shows the,gain and phase margins defined on a Nyquist diagram. by calcu
(5.55).
(1) Ur
The frec
v
The exp
-c
11a1u 11ro11=t
For feedback system design, a typical value for phase margin, 7 is in between 40o to 60o
and gain margin, GM, is between two to three. If the gain and phase margins are in these ranges,
the damping for a closed-loop system is reasonable. Th,
constant
the frequ
expressic
These p<
Example 5.4
Figure 5.
Figure 5.22 shows a feedback control system. Determine the phase and gain margins for this
system.
Frequency Response Analysis I tSS
Solution
The values of phase and gain niargins may be determined
using two merhods. The first method
is. to obtain the frequency response data,
and these data plio,t.d as a Nyquist diagram. The
phase and gain margins are measured from the plotted "r.
Nyq,rir, diagram. Tir.'r..ord method is
by calculation based on the definition of phase and gain
(5.55). -".gi.r, given by Equations (5.54) and
10
KG (j@)H (jr)=
ja(t+o.t jioo)')
lxc(p)a(i,)l=4ft,
and
10 20
GM=l =
|
=2
x 0.5
and phase margin, hence,
v-)1o
Therefor
Thr
The phas
\We need
Hence,
GM=
It<c
(1 a) ru ( i r)1,
o",,.)H( io)=_r so.
Y/e need to identify the value of al when the phase shift of the open-loop is 80o, therefore:
- 1
thus,
hence,
ar=10 rad/s.
Therefore, the gain at this frequency is:
10
* =lr<c(7ro)rr(7ro)l= = 0.5
ro(r+(o.rxro)')
Thus, the gain margin is:
GM:1 =J-:2.
x 0.5
The phase margin y canbe determined from the definition:
(ir)l= 1;l
Ir<c (1a)a ;
' ,(1+ (0. ta;)')
:; r = 1.
Hence,
0.0k03 +ar-10 = 0.
Solving this equation yields:
a= 6.8 radls.
substituting the value of a = 6.8 rad/s into the phase shift expression:
therefore, (1) de
(2) US
/ = I 800+ (-1 58.4) = 21.6" (3) de
(4) dr
5.4.1
Exercise 5.6
A feedback control system is shown in Figure 5.24.If K = 1, plot the Nyquist diagram for this Nyquisr
system and determine the gain and phase margins. Veri$ryour answer using mathematical method.
involr.ir
Determine the critical value of Kfor stability. ofa dyn
if the g;
much er
presentz
s (1 + 0. li)(1 + 0.02s)
Exercise 5.7
Consider the system in Exercise 5.5. Analyse the stabiliry of the feedback system by plotting a
Nyquist diagram. Determine the values for gain and phase margins. Verify these values
mathematically.
Exercise 5.8
A negative uniry feedback system has an open-loop transfer function given by:
10K (s + 0.5)
KG (s)H (s)=
s2 (s+2)(r+10)
Th
Sketch the Nyquist diagrams for K = 1 and K= 10. Compare the values of the gain and phase
margins and discuss the effect of Kon the stability of the feedback sysrem. superim
plotted i
gain in <
5.4 BODE DIAGRAM
Outcomes: th
logarithr
After completing this section, rhe reader should be able to: approacl
Frequency Response Analysis I tSg
5.4.1 Concept
Nyquist diagram is easy to plot but may not be easy ro use for control sysrem design when
involving two or more elements in a transfer function. The overall gain of the transfer function
of a dynamic system is multiplicative. However, multiplicarion can be trarrsformed into addition
if the gains are computed logarithmically. Thus, designing using logarithmic graph would be
much easier. Figure 5.25 shows a semi-logarithmic (is also known as semi-log) scaG graph. The
presentation of frequency response data using logarithmic plot is known as a Bode diagram.
Linear
The gain
lrc (1co) a (1a)l
^"aphase
shift zKG (jro) a (jr)
are plotted separately but
superimposed on a same graph paper using linear against logarithmic axes. The gain curve is
plotted in decibel (dB) on the linear scale against frequency, ar, Ln the logarithmic sclle *here the
gain in dB is:
The phase frequency response is the sum of the phase frequency response of the numerator
terms minus the sum of the phase frequency response of the denominator terms. The algebraic
sum for magnitude and phase responses is the graphic addition of each term. Thus at 1c
\7e observe that the effect of each term on the gain of the overall system when using gradient c
logarithmic values is addition rather than multiplication when using absolute values. Therefore if Figu
a constant gain is used as a controller, using Bode plot the gain will shift the gain curve vertically.
1
This will ease the design of a proportional type controller. 0)-- rs
T
5.4.2 Straight-line Asymptotic Approximation for Gain PIot
Consider a first order system given by: Based on
and can b
G(i)= (5.60;
l+Ts
By substituting s withTo,
G ( jat)=.+-. (5.51)
t+ lJa
The gain and phase shift are:
Fi
Frequencry Response Anallsis I tOt
and,
lc (iqldB = 2olos
t+ (rilo)' 5.eql
Using a straight-line asymptotic approximation, the gain at low frequency and high frequency
can be approximated as:
*h., al << !
T
lc(ir)ldB = -1otog1= o dB
NI
when a<<-
T
Figure 5.26 shows the Bode plot for gain response curves of a first order lag. Frequency
Asymptotic
- approximation
=trr
fa
0)
-20 dB/decade
Figure 5.26 Asymptotic and actual magnitude response curves of a first order lag
162 | Introdraion to Control Engineering
and continues to -90o one decade above the break frequenry. Figure 5.27 shows the approximated
phase curve.
The straight-line asymptotic approximation for phase shift is more difficult to use because
there are many components in a transfer function such as integrators, differentiators, first order
Iags, first order leads, etc. as compared with the gain plot. It will be easier to calculate the phase
shifts for some frequencies that cover the whole range and plot these data and draw the phase
shift curve.
Example 5.5
A dynamic system is represented by the transfer function:
5
G(r)=
s+5
Draw the Bode diagram for this sysrem.
Solution
The break frequenry for this system is al = rad/s. A straightJine asymproric approximation
#=5
produces the gain curve as shown in Figure 5.28. Atlow frequency lower than the break frequency,
a = 5 radls, the gain is 0 dB. At high frequency, higher than 5 rad/s, the gain curve is a stiaight-
line with the slope of *2! dB/decade passing through point 5 rad/s at gain 0 dB. To ploJth.
phase shift curve, a few frequencies are selected. The frequencies of 0.5, 1, 5, 10, and 30 radls
::it::::
\r\: iiii:ii
rr::::
lGldB
rN
::::;:::
Frequency (radls)
-20
-3010
Frequency (rad/s)
may be selected so that the curve will cover the frequency range of the system. The expression for
phase shift is: For 6)<
The pha
G(ja)=t+7jco. (5.55)
The gain and phase shift are: where.
I
T
lc(iqldB=1olog1=odB.
1
T
lc (iqldB = 10 log(Tro)' = 2otosT +2otosa.
The phase is:
ZC (1ot) = ran-' (rT).
For r0 <<117,
tG (ja) -+ oo.
For 6 >>llT,
zG(jro)-+ 90o.
Figure 5.29 shows the gain and phase shift curves for the system. The phase shift curve is obtained
by calculation. Note that at low frequency, the gain is 0 dB while at high frequency the gain is a
straight line with slope of 20 dB/decade passes through ,= .
|
5.4.5 Bode Plot of Gombination of severar Lead and Lag Elements
Lett consider a system with a transfer function that consists of lead and lag elemenrs given by:
(t+{s)(1+1')
G(s) =
(t+ {s)(t +T,s)$+r,s)
= G,(s)xG,(r)"G, (r)*G, (s)xG, (s) 6.lo)
where,
I,et T1> T4> Tr> Ts> 73. The asymptote gain curves for individual components in the transfer
function, i.e. lG1l, lGrl, lGtl, lGal, and lG5l arc plotted and shown by th. thin lines in Figure
5.30. Since logarithmic scale is used, the overall gain of the sysrem
lC(jat)lcan be determinJ by
addJng all the comPonen_ts. The resultant plot for the gain is shown by the thick line. The phasl
shift can be plotted by calculating the phase shifts by choosing several frequencies in the ,r.rg. of
the gain plot. The phase shift data is obtained from:
100 The g
lcldB 50
?,
, a
:+ 20 B/decade
There
1o-1 1oo 1lr 101 102 103 104
gain,.
Frequency (rad/s)
5.4.7
90 * " "i"'-i ::
The l
60
z.Go
i/
30 ''./ /
.4 By sul
.tttttF
nr
|i ,r-.-li-t
T;;i:i:l l::
i i :ii:iit ; i ;:;:::r i ::::ii;t i :ll;:::l
io-' 1oo 101 102 103 104
Frequency (rad/s)
and ir
The p
vrl-c\ t_ K(1+Tos)(t+4r)
u /
l=
(r+4s)(r+4i)(t +r,s)
= t<G (s) (5.t21
Frequency Response Analysis | 167
5.4.7 lntegrator
The transfer function for an integrator is:
1
G (r) =;. (:5.t+1
c(ja,)=l (5.75)
J0)
Thus, the gain is:
lc (ir)l=*, 6.te)
and in decibel, it can be written as:
lGldB
Gain plot
-20 dB/decade
The gai
Exercise 5.10
Sketch the Bode plots for the systems given by the following transfer functions:
and in <
(l) G(s):
' ,(l+l0s)
''O
The ph
(2) G(s)= , 'O
\ / s(o.ts+t)
5.4.9
(3) G(s)= 3oo(s+5)
\/ s(s+10)(s+30) The tra
Use straightJine asymptotic approximation for plotting gain curves and use calculation for plotting
phase shift curves.
The fre
5.4.8 Differentiator
The transfer function for a differentiator is:
T]
Phase shift plot
where r
90"
oj For hie.
40 dB
20 dB
0dB At brea
at= | a= 10
lc (1i.o)l= co (5.s0)
and in dB, it can be written as:
nc G(s)= , Fd -.
s'+2$o,s+ol' 6.82)
The frequency response transfer function, for K 1, can be written
= as:
G(ja)=
'-(tl.',tE) (5.83)
The centre frequency for a second order system is the natural frequenry, arr. For low frequency
where a << 0)n, the system gain is:
lctiqldB=-40,*[g ]
\@" )
At break frequency, i.e. (o = an, theactual gain is:
lcuql,,,,=20'.r[* ]
\'5 )
170 | Introduction to Control Engineering
Exer
Thus, as al -+ 0, the phase shift, @ -) 0o; as rD -+ cD,, the phase shift @ + -90'; and as o) ) 6, A frer
the phase shift @ -+ -180o. diagn
Figure 5.33 shows the gain curve of the Bode plot for a second order system with varied Derir
damping ratios. The gain curve breaks at the natural frequency and decreases at the rate of *40
dB/decade at high frequency. This is expected since a second order system consists of two first
order lags in series with the same time constanr.
a (rat
lG( jt
tG(
Exer
In orc
The r
Exercise 5.12
Repeat Exercise 5.5 using Bode diagram.
5.5
5.4.10 Modelling using Bode Diagram Outc
Tlansfer function of a dynamic system can be estimated using experimental frequency response After
data. It is easier to use Bode diagram rather than Nyquist diagram because asymptoticallywe have
shown the gains of common elements in a transfer function will result with gradients of +20 dB/ (1) (
decade or its multiples. If two or more elements are in the transfer functions, the gain plot wili (2) (
have gradient of 0 or multiple of +20 dBidecade. The gain dataare plotted on a semi-log graph (3) (
Frequenqt Response Analysis I tZ t
paper' A ruler is used, to produce straight lines that fitted the data that
produce gradients in
multiples of +20 dB/decade or 0 dB/decade. The intersections
of these lines are the break
frequencies that provide the information on the time consrants
for the sysrem. This is the inverse
process of plotting the Bode gain plot using straight line
asymptotic approximation.
Exercise 5.13
A. frequency response data obtained from an experiment is shown in T"ble 5.4. Plot the Bode
of the sysrem. Prior knowledge indicates that the system is a second
{iagram order system.
Derive the transfer function of the sysrem from the gain plot.
l0 20 30 60 BO r00
lc(j..l0)l 7.847 3.719 1 .569 0.863 0.359 0.109 0.0550.020 0.013 0.01 1
zG(ja)" - 100 -109 *123 -132 -139 -r39 _r33 -1 19
-tt3 _109
5.5.1 Method
Bode diagram is easier to use for system design. \fhen a proportional controller is used to fulfil
the phase and gain margins' specifications or to determine the value of proportional gain for
critical stabiliry the value of the gain can be determined easily. The effect of proportional value
on logarithmic scale is the shift of 20log Kfor all frequencies. Therefore, 0 dB axis can be shifted
vertically by the value of 20log K
Consider a feedback system as shown in Figure 5.34.The stabiliry of the feedback sysrem
can be analysed by plotting the frequency response data of the open-loop sysrem, i.e.
KG(ja)H(7al). Based on the Bode diagram (Figure 5.35), we identifi. two frequencies, that is
the frequenry when the open-loop gain is 0 dB, let this frequenry be als6, and the other is the
frequency when the phase shift is *180o and let the frequency be (o_1s6..
Examp
Consider
determil
Figure 5.34 A feedback system
Solutio
A feedback system is stable if at6as < (D-ra6.. Conversely if at66s ) the feedback
o)-180.,
system is unstable and the Bode diagram is shown in Figure 5.35. Critical stability can be identified
Since the
if ahae = (0-180". Referring to Figure 5.35, the gain margin is shown by GM thatcorresponds to
-lKc(ja)H(ja)l dB when the phase shift of zKG(ja)H(jco) is -180o. The phase margin is and Tr=
indicated by yat frequency (r;66.
The gain
the phas<
Ga:nlKG(ja)A(jr,t)l
values for
which arr
Phase shift t KG(j'g) H(j a) shown in
The
-1 800
tbr
rlu"
ftr,i
[ern
Phase shili
i.e.
rrL
d-re
Example 5.6
Consider the feedback system in Exercise 5 .6. If K = 1 , draw the Bode diagram for
the system and
determine the phase and gain margins. Determine the value of Kfor criJcal stabiliry.
Solution
rck
ied
Since the dme constants for the first order lags in the open-loop transfer
to function are T1= 0.1 s
ris and T2 = O.O2s, hence the break frequencies are a-1= : 10 radls and @r= = 50 radls.
# #
The gain curve can be determined using the straight-line asymptotic approximation.
To produce
the phase shift curve, a few frequencies are chosen, such as 4, I0,30,
60, and 200 radls. The
values for phase shift can be calculated from the phase shift expression:
20log K= 16,
of
l6
K =10i,
174 | Introduction to Con*ol Engineering
therefore, Exercir
K= 5.3.
Repeat I
Exercis
Repeat I
IGllldB
Further
Bode, H
-5 Bel
Brocken
77a
IKGH
Brocken
Tia
-90"
Ferreira,
Tra
*1 90"
Nise, N.
Yeunp I
-270" E(:
Frequency
Exercise 5.15
A feedback control system is shown in Figure 5 .38.If K = 1 , draw the Bode diagram and determine
the phase and gain margins for this system. Calculate the limit of Kfor stabiliry.
s(r+2.5s)(t+0.25s)
Exercise 5.16
Repeat Exercise 5.7 using Bode diagram.
Exercise 5.17
Repeat Exercise 5.8 using Bode diagram.
Further Readings
Bode, H. \( 1940. Relations between Attenuation and Phase in Feedback Amplifier Design.
Bell System Technical Journal. 19: 421-454.
Brockett, R. \( and J. L. 'X/illems. 1965. Frequency Domain Stabiliry Criteria part I. IEEE
Trans. Automatic Control. AC(10): 255-26I.
-
Brockett, R. \M and J. L. \7illems. 1965. Frequency Domain Stabiliry Criteria Part II. IEEE
Trans. Automatic Control. AC(10): 407-413.
-
Ferreira, P. 1999. Concerning the Nyquist Plots of Rational Functions of NonzeroType. IEEE
Transaction on Education. 42(3) : 228-229 .
Nise, N. s. 2004. control systems Engineering. Hoboken, NJ:
John \x/iley & Sons.
Yeung, K. S. 1985. A Reformulation of Nyquist's Criterion. IEEE Tial.ns. Educ., Feb. 1985.
E(28): 58-60.
CHAPTE,R 6
In other applications, the specification used is sensitivity toward,s paramerer variarions (that is,
robustness or disturbance rejection).
The design of a control system can be done in time domain or frequency domain. For
example, the steady-state accuracy is defined based on srep, ramp, or parabolic inputs.
The design
178 | In*oduction to Connol Engineering
to satisfy this specification is easier to be done in time domain. Other specifications such as
maximum overshoot, rise time, and settling time are also based on dme domain. The measures
of relative stabiliry are phase and gain margins. These specifications are evaluated in frequency
domain.
Normally, a conventional controller design uses a fixed controller configuration. The designer
decides the overall system configuration by positioning the controller relative ro the position of
the process. The next problem is determining the controller parameters that will satisfy the design
(a)
Figure 6
(b) specifica
characte.
Figure 6.2 Controller configurations: (a) series compensation, (b) feedback compensation comPens
Control S\stem Design I tZg
Figure 6.2 (cont'd) Controller configurations: (c) state-feedback, (d) series-feedback compensation,
(e)forward and series compensation, (f) feedforward compensation
Compensators in Figures 5.2(a)to (c) have one degree of freedom. The weakness of this 6.2.1
configuration is that the design criteria that can be satisfied are limited. For example, if relative
stabiliry is satisfied, possibly the sensitivity towards parameter variation may not be satisfied. Steadr-
Configurations in Figures 6.2(d) to (f) have two degrees of freedom. an inter
The most widely used controller in industries is the PID (proportional plus integral plus If this ir
derivative) controller using series compensation configuration. Besides, lead, lag, and lead-lag of the s
(1) Complex conjugate poles of the closed-loop transfer function results with underdamped
response. If the values of all the poles are real, the response is overdamp ed. Zeros of closed-
T1
loop system results with overshoot although the response is overdamped.
respoI1!
(2) The response of the system is dominated by poles nearest to the origin of the s-plane. This
is known as dominant poles. The transient response of poles further from the origin fades
faster.
(3) Dominant poles further from the origin result with faster response.
(4) If the poles and zeros are near cancellation, the effect of the poles on the response is
small.
The time domain specification is loosely related to the frequency domain specification. The
rise time is inversely proportional to the bandwidth. Phase margin, gain margin, and resonance
amplitude are inversely propotional to the damping ratio.
(1) describe the efFects of integral gain on the transient response based on roor locus, and
(2) design P- and Pl-controllers.
Control System Design I tgt
G(s) =
(s+ 1)(s+ 2)g + Q' (5.1)
The root locus plot is shown in Figure G.4. Let say, K is chosen to satis$, the transient
response specified by the damping ratio, ( = 0.707, and take nore the corresponding
time consranr
and natural frequency. The dominant closed-loop pole shown in Figure 6.4 is denoted by,4. This
is a Class 0 system. Choosing an appropriate value of ( the response satisfizing ( = O.lOl can be
obtained but there exists steady-state error if excited with a step input. In Chapter 3, it has been
stated that if an integrator is inserted as shown in Figure 6.5, the steady-state errorwill be eliminated.
Figure 6.6 shows the root locus of the system compensated with an integral controller. For
the same specification, e = 0.707, point" A' is located but this location indicates that the time
constant and the natural frequency are different, thus may not satisfy the speed of response T
specification. This problem can be solved using the Pl-controller as shown in Figure 6.7.The Comp;
transfer function for PI compensator can be written as: are a]rr
transi;:
Exerc
Consic
(1) L
1
r-,1
/1\ -:
itl
:-
(3: ^-
(_
j-.
lL (
G(,)=t[t.+)
_ K(s+ K,) (6.2)
-t
The root locus for the system compensated with PI controller is shown in Figure 6.8.
Comparing the root locus in Figure 6.8 with rhat in Figure 5.4 shows that pointr4 and.ioint A'
are almost located at the same position. Clearly Pl-conuoller is able to prod,r..
the desired
transient response as well as able to eliminate the steady-state error.
Exercise 6.1
Consider rhe sysrem in Figure 6.3.
6.3
6
Outcc
4
After c,
1= 0.707
2 (1) dt
A7 ar
h
(n
'5o
(2) d.
E
6.3.1
-2
The rr;
-4 s-plane
determ
loop p,
-6 .2
-6 -4 -2 0 4 6 locus .',
Real axis
in the t
the ibr
Figure 6.8 Root locus for system compensated with Pl controller
Exercise 6.2
Consider a unity feedback control system with the process given by the following mansfer function:
s+6 g.here
G(s\=
\ / (s+1)(s+2)(s+4) -
(propc
follo",:
(1) If P-controller G.(s) = K is used:
C
tfan.--
G) Sketch the root locus diagram.
(b) Calculate the time constant and the controller parameter if the required damping ratio
is 0.866.
k) Show that steady-state error exists if the system is excited with a step input function.
T
1
respo:l
(2) If I-controll er, G, ={, i, used, show that:
-t
the dc,.
G) The speed of response is slower. ri rth ii
(b) The steady-state error is zero. The s:
br- a ze
(3) Show that Pl-controller will make the response faster. speci:-"
Control Srystem Design I tAS
6.3 PD.CONTROLLER
Outcomes:
After completing this section, the reader should be able to:
(1) describe the effect of derivative gain on the transient response based on roor locus diagram,
and
(2) design PD controller.
G,=Krs+K
=r(,*L\
'l, K, ) (6.3)
where Kis the proportional gain and KTis thederivative gain. This compensator is known as pD
(p_roportional plus derivative)-controller. The effect of improved speed can be illustrated
by the
following example.
Consider a con&ol system with a proportional controller as shown in Figure 6.3 with the
transfer function of the process given by:
l-
G(s) =
(s+1)(s +2)(s+5)
The root locus is shown in Figure 6.9. Letsay the sysrem is designed to satisfy the transient
response specification_of damping ratio, ( = 0.4. From the root locus diagram, the position
of
the dominant closed-loop_pole is at point A.Thevalue of the dominarrt-pol.s r.. ! 2.lj
-0.9
with the value of K= 23. This value for Kis obtained using the same as in Examp le 4:-i.
-.thod
The speed of response is the time constant I10.9, that is 1. 1 s. Let say this system is compensated
by a zeros ofvalue IJKa= 3. This root locus is shown in Figure 6.10. For the same damping ratio
specification, the value of the dominant closed-loop pol.s ar.
-2.3 + 5.5j at A, with K) = 35.
186 | Introduaion to Control Engineering
Simila
the res
impro'
Exerr
Use \l
to r-ali
ur = d,.eo
Don-l
a1:
Settlr
For ea'
erro rs.
Figure 6.9 Root locus for system with P-controller
Exerr
Consi
;\
I rlT=2
.T= 1.43 s
and th
u'ith
desisr
effec:
r-
Similarly, the value for Ksis obtained using the same method as in Example 4.l3.The speed of
the response is now 112.3 or 0.43 s. Clearly this example shows that the speed of response can be
improved by using PD-controller.
Exercise 6.3
Use MAfLAB to validate the data in the example discussed above. Use MATLAB and SIMULINK
to validate the data in Thble 6.1 for the system compensared with the given I{/Ka.
For each case, calculate the gain Kand Ks, percentage overshoots, time constants, and steady-state
errors.
Exercise 6.4
Consider a process with the following transfer function:
- \-'l=
G(-,) , '
(s+1)(s +2)(s+5)'
and the controller:
C,(r)=Kd(s+KlKd),
with unity feedback. Using MAILAB or otherwise, obtain the time consranrs if the system is
designed to satisfy damping ratio of 0.4 for the values of l{/K;given in Thble 6.2. Discuss the
effect of l(/Kson the speed of response.
Further Readings
Astrom, K. J. and T. Haaglund. 1988. Auromatic Tuning of PID Controllers. Research Thiangle
Park, NC: Instrument Society ofAmerica.
Bailey, F. N. and S. Meshkat. 1983. Root Locus Design of a Robust Speed Control. Proc.
Incremental Motion Control Symposium, June 1983. 49-54.
Gopal, M.2003. Control Systems: Principles and Design. Singapore: McGraw-Hill.
Smith, H. \fl and E. J. Davison. 1972. Design of Industrial Regulators. Proc. IEE. 119: l2lO-
r2t6.
Van de Vegte, J. 1994. Feedback Con*ol Systems. Englewood Cliffs, NJ: Prentice-Hall.
\fillems, J. C. and S. K. Mitter. 197l. Controllabiliry, Observabiliry Pole Allocation, and State
Reconstruction- IEEE Thans. Automatic Control. AC(16): 582-595.
Ziegler, J. G. and N. B. Nichols. 1943. Process Lags in Automatic Control Circuits. ASME
Ti'ans. 65: 433-444.
A
absolur
acceler,
,
(
,a,l.rr,o
amplin
angle o
angle c
aslTnpi
autom;
aLrxiliar
B
block c
11.
E
:
r
Bode d
1-0