Professional Documents
Culture Documents
ECE 331 Complete Notes
ECE 331 Complete Notes
ECE 331 Complete Notes
Course Content
Steady state error analysis, computer aided simulations of system response to standard test inputs –
impulse, step and ramp
Stability:
Stable and unstable systems, characteristic equation, location of the roots in the s-plane for stability.
Frequency response:
Bode plots, gain and phase margin, Nyquist plots, stability. Gain and phase margins, Nichols chart
References:
1. Modern control Engineering – Katsuhiko Ogata
Process – This refers to any operation to be controlled e.g chemical, biological etc.
Disturbance – Any signal that tend to adversely affect the value of the output of the system
Input – This is the stimulus or excitation applied to a control system from an external source inorder to
produce a specific output
Control – This refers to the manipulation of any quantity of interest in a desired manner so as to achieve
a desired result. It means to regulate, direct, manipulate or command.
Control system – This is the arrangement of different physical elements connected in such a manner so
as to regulate, direct or command itself (or another system) so as to achieve a certain objective
Actuator – Final control element that produces the desired control action eg motor opening/closing a
valve or a relay switching ON or OFF an electric circuit
Controlled variable – Quantity or condition that is measured and controlled, usually the output of the
system
Manipulated variable – quantity or condition that that is varied by the controller so as to affect the value
of the controlled variable
3. Noise – This is the undesired input signal. A good control system should be insensitive to such
signals
4. Stability – This means for a bounded input, the output is also bounded. In the absence of the
input, the output should tend to zero. A good control system should always be stable
5. Bandwidth – This is the operating frequency range of any system. For frequency response of a
good control system, the bandwidth should be large
Open loop – This refers to systems in which the output has got no effect on the control action
This means that in closed loop control, the control action is dependent of the output of the system
The system is open loop because the controller does not ascertain whether the hands are
dry or not, before switching OFF
(ii) Automatic clothes washing machine – Dirty clothes are washed using a detergent for a
preset time and the machine stops without ascertaining the degree of cleanliness of the
clothes )no feedback)
The control action is dependent on the output since part of the output (or its function) is fed back
for comparison with the input. When this feedback signal is positive, it is referred to as positive
feedback and when negative, it is called negative feedback.
Output
Input
CONTROLLER PLANT
FEEDBACK ELEMENTS
Examples:
(i) Automatic fluid level control system
Inlet
Sight tube
Outlet
The operator maintains the level of the fluid at height h by manipulating the outlet valve.
The inlet flow rate might change due to the changes in the pressure, temperature etc that
constitutes inlet disturbance
Consequently, the level of the fluid sighted may go below or above the reference input h.
The operator must compensate for this disturbance.
When the temperature falls below a certain range, the heating process is started and when
it rises beyond a certain range, heating is stopped.
CLASSIFICATION OF SYSTEMS
Systems can be classified as
A system can be represented using a mathematical model which relates the input to the output
such that y (t ) F {x(t )} where F denotes function of.
y (t ) 3x(t ) 2
y(t ) x 2 (t )
A system is said to be time invariant if its response does not change with the time of excitation.
The system output remains the same, except for the time delay depending on the time at which
excitation occurs.
On the other hand, if the mathematical model of the system given by the differential equations
has coefficients which are function of time, the system is time varying
(c) Single input single output(SISO) and multiple input multiple output (MIMO) systems
In SISO systems, the quantity of interest is usually one, which may be speed, voltage, frequency
etc
In many practical applications, more than one quantity of interest are encountered eg in a
chemical plant, we may require to control the temperature, pressure, fluid flow etc
simultaneously
Controller Plant
Feedback elements
A MIMO system
In a continuous time system, the signals associated with various parts of a system are all
continuous functions of time.
In a discrete time system, signals at one or more points of a system are either in form of a pulse
train or a digital code
(e) Order – Depending on the order of the differential equations , the system may be first order,
second order or higher order
We shall restrict our study to Linear time invariant continuous time systems of first and second
order during the course of the study
In open loop system the output is neither measured nor fed back for comparison with the input
(i) The relationship between the input and the output is known
Disadvantages
(i) To maintain the required quality, recalibration is necessary from time to time
(ii) Disturbances and changes in calibration causes errors and the output may be different from
what is desired
Disadvantages
(i) Complicated in design
3 Inaccurate Accurate
7 Economical Expensive
Feedforward path
Input
reference r(t) Error signal Manipulated Output
Command e(t) signal u(t) signal c(t)
input Reference
Controller Plant
transducer
Feedback
Feedback signal elements
b(t)
Feedback path
Feedback is the property of the system which permits the output of the system to be compared with the
reference signal so that appropriate control action is formed. The feedback signal may be positive or
negative. When the signal is positive, e(t ) r (t ) b(t ) and the system is said to be positive feedback.
When negative, e(t ) r (t ) b(t ) and the system is negative feedback. In many cases, the controller
may contain a series of more than one block whose action will be to drive the controlled output, such
that the error is reduced to zero
Reference input – External signal applied to a feedback control system inorder to obtain a specific action
from the system
Primary feedback signal b(t) – Signal proportional to the controlled output, may be the signal itself or its
function
Feedback element – Transducer that produces the feedback signal b(t) as a function of the output c(t)
Forward path – the transmission path from the actuating signal to the output
Feedback path – The transmission path from the output to the primary feedback
2.0 MATHEMATICAL MODELLING OF SYSTEMS
This is the mathematical representation of the physical model by use of the appropriate physical laws.
Usually, the mathematical models of the system are characterized by differential equations.
Derivation of the system model is based upon the fact that the dynamics of the system can be
completely described by differential equations (Des)or by experimental test data
When the system can be described completely by a set of constant coefficient Des, the system is said to
be Linear time invariant (LTI) and the relationship between the input and output is independent of time
Mechanical systems
Mechanical elements – Use of Newtons laws of motion
Mass element
displacement _ y d2y
F M
dt 2
Spring
x y
F k ( y x)
Damper
x y
d ( y x)
FB
dt
Inertia element
J
,
d 2
TJ
dt 2
Torsional spring
2 , 2
1 , 1
T k ( 2 1 )
Damper element
1 , 1 2 , 2
d ( 2 1 )
T B
dt
Example1:
Consider the mechanical system
k B
M
x
By newton laws, F 0
F kx B x M x
F M x B x kx
Example 2:
k M B
Sum of forces
d 2 ( y x) dy
M 2
B ky 0 or M y B y ky M x
dt dt
Example 3:
Fixed axis rotation
Viscous fluid
Shaft stifness k
Equivalent
J T
k d
B
dt
The torque equation T B k J or T J B k
Example 4:
Gear trains – Used to achieve mechanical matching of load to motor
T1
TL 2
Tm 1
T2
J 2 , B2
N 2 _ teeth
2 N1
1 N 2
2 2 N1
N2
1 1
The moment of inertia and viscous friction referred to shaft 1 is given as:
2 2
N1 N1
J 1 eq J1 J2 B1 eq B1 B2
N2 N2
2 2
N2 N2
J 2 eq J2 J1 B2 eq B2 B1
N1 N1
Example 5
x y
d2y d ( y x)
M 2
B k ( y x) 0
dt dt
Electrical systems
Use of Kirchoff KVL and KCL laws
e(t ) i (t ) C
Using KVL, the algebraic sum of the voltage around the loop = 0
e v R v L vC
t
di 1
e iR L
dt C
idt
Example 2
R1 R2
C1 C2
e i1 i2
t
1
e R1i1
C1 (i
1 i 2 )dt
t t
1 1
0 R2 i 2
C1
(i2 i1 )dt
C1 i dt
2
Thermal elements
Thermal elements include:
Heat transfer
Combustion
Chemical reaction
T - Temperature
C MS
T1 T2
q
R
T1 T2 - Temperature change
Example 1
Heater Water
Let:
Tw - Water temperature
Ta - Air temperature
Tw Ta
But q 0
R
dTw T Ta
C qi w
dt R
dTw q Tw T
a
dt C RC RC
Fluid systems
Made up of tanks connected together by means of pipes and valves
qi
h
R
X
qo
Valve
h - Head
R - Valve resistance
V - Volume
qo h
R
dV
qi q o
dt
dh
C qi qo
dt
LAPLACE TRANFORMATION
Laplace transformation offers a great advantage of solving linear differential equations. The differential
equations are transformed into the complex frequency or Laplace domain.
This simplifies the mathematical manipulations since integration/differentiation associated with time
domain is replaced with algebraic manipulations of the transformed equations.
The time domain solution is obtained by taking the inverse Laplace transformation.
Laplace transformation
n n 1 n2 m m1 m 2
a0 y a1 y a2 y a n1 y an y b0 x b1 x b2 x bm1 x bm x ; n m
LOutput
T ( s)
LInput zero _ initial _ conditions
In deriving the TF
(i) Write the DE of the system
(iii) Take the ratio of the output to the input. This gives the TF
Comments on the TF
1. The TF of a system is the mathematical model that relates the output variable to the input
variable
2. The TF is the property of the system itself, independent of the nature of the excitation, nput or
driving function
3. The TF relates the input to the output, but does not provide any information on the physical
structure of the system
4. If the TF is known, the output or response can be studied for various forms of the inputs with a
view of understanding the nature of the system
6. The inverse Laplace transform of the TF gives the impulse response function of the system. The
impulse response of a system s the response due to a unit impulse input, which is the system.
In time domain, the output y (t ) of a system g (t ) to an input x (t ) is given by the convolution intergral
t t
y(t ) x( ) g (t )d g ( ) x(t )d
0 0
Y ( s) X ( s )G ( s )
Y ( s ) L{ y (t )};
X ( s ) L{x(t )};
G ( s ) L{g (t )}
Examples on TF
Example 1
L
R
ei (t ) C eo (t )
i (t )
Given that the input is ei (t ) and the output eo (t ) , obtain the transfer function of the circuit:
t
1
eo (t )
C
i(t )dt
t
di(t ) 1
ei (t ) L
dt
Ri (t )
C
i(t )dt
I ( s)
Eo (s)
sC
I ( s)
Ei ( s ) sLI ( s) RI ( s)
sC
I ( s)
Eo (s) sC 1
giving the TF
Ei ( s) 1 s LC sRC 1
2
I ( s)sL R
sC
Alternatively, we can draw the s-plane equivalent of the circuit. The following transformations are
performed:
1
C
sC
L sL
RR
e(t ) E ( s)
i (t ) I ) s )
sL
R
1
Ei (s ) E o (s )
I (s ) sC
The transfer function can be viewed as the voltage ratio given as:
1
E o ( s) sC 1
same as above.
Ei (s)
sL R
1 s LC sRC 1
2
sC
Example 2
R1 R2
C1 C2 eo (s )
ei (s ) i1 (t ) i2 (t )
t
1
ei (t ) i1 (t ) R1
C1 {i (t ) i
1 2 (t )}dt
t t
1 1
0
C1
{i2 (t ) i1 (t )}dt i2 (t ) R2
C2 i
2 (t )dt
t
1
eo (t )
C2 i
2 (t )dt
1
Ei (s) I1 (s) R1 {I 1 (s) I 2 (s)}
sC1
1 1
0 {I 2 (s) I1 (s)} R2 I 2 (s) I 2 ( s)
sC1 sC 2
1
Eo ( s) I 2 ( s)
sC 2
1 1
Ei ( s) I 1 ( s)R1 I 2 ( s)
sC1 sC1
1 1 1
0 I 1 (s) I 2 ( s ) R2
sC1 sC1 sC 2
Eo (s)
Solving for I1 (s) and I 2 (s) and determining
Ei ( s)
R1 1
1
sC1 sC1 I 1 ( s ) E i ( s )
1 1 1 I 2 ( s ) 0
R2
sC1 sC1 sC 2
Use either elimination method, inverse rule or crammers rule to solve. Here we use crammers rule:
R1 R R 1
Det R1 R2 1 2 2
sC1 sC 2 sC1 s C1C 2
1
Ei ( s)
sC 1
1 1 1 1
0 R2 Ei ( s) R2
sC1 sC 2
I 1 ( s) sC1 sC 2
Det Det
R1 1 Ei ( s)
sC1
1 1
0 Ei ( s)
I 2 ( s)
sC1 sC1
Det Det
Therefore:
Ei (s)
1 1 sC1
E o (s) I 2 (s)
sC 2 sC 2 Det
1 1 1 1
Ei ( s ) R2 R1 Ei ( s)
1 1 sC1 sC 2 sC1 sC1 1
Ei ( s) I 1 ( s)R1 I 2 (s)
sC1 sC1 Det Det sC1
Ei (s)
1 sC1
Eo (s) sC 2 Det
Ei (s) 1 1 1 1
E i ( s) R2 R1 Ei ( s)
1
sC sC 2 sC1
sC1
Det Det
1
2
s C 2 C1
R1 R 1 R 1 1
R1 R2 1 2 2 2 2 2 2
sC1 sC 2 s C1 sC1 s C 2 C1 s C1
1
s R1 R2 C 2 C1 s( R1C 2 R1C1 R2 C 2 ) 1
2
Example 3
R2
R1
e0
ei
Inverting amplifier
R2
eo ei
R1
R2
Eo ( s) Ei ( s)
R1
R2
G(s) TF
R1
Home work/Exercises
Determine the TF for the following systems:
(a)
C
R1
ei eo
R2 1
G( s)
R1 sR2 C 1
(b)
R1
R2
ei eo
C
(c)
R1
C
R2
eo
ei
(d)
R1
C1
R2
eo
ei
C2
(e)
C1 R2
R1
C2
ei eo
(f)
C2
C1
R2
R1
ei eo
Mechanical systems
x y
Let the input be the externally applied force that causes the displacement x (t ) and the output is the
displacement y (t )
d 2 y (t ) dy(t ) dx(t )
M 2
B ky(t ) B kx(t )
dt dt dy
Y ( s) sB k
2
X (s) s M sB k
Homework
(a)
xi
k1 B1
B2 xo
k2
y
X o ( s)
Obtain the transfer function ; note that xi ; xo ; y are all displacements
X i ( s)
(b)
x(t )
M
M
B f (t )
X (s)
Find , given that F (s) is an externally applied force.
F (s)
Servo-system
A servo system is a feedback control system in which the controlled variable is a mechanical position or
its time derivatives such as velocity and acceleration.
La
Ra
if
ei
M
ia
J, B
,
It is desired to obtain the transfer function relating the output position of the motor shaft to the applied
( s)
armature voltage such that TF . Note that the field current is kept constant
Ei ( s )
Solution:
K f I f ; where K f is a constant
Tm K a ia K f i f
Tm = Motor torque
K a is a constant.
Since the field current i f is constant, we can rewrite the torque equation as
Tm K T ia
d
eb K b is the back emf which is proportional to the motor speed and K b is a constant.
dt
d 2 d
T Tm J 2
B K T ia
dt dt
Eb (s) sK b (s)
K T I a ( s)
( s)
s 2 J sB
Ei ( s) Eb ( s )
But I a (s) and Eb (s) sK b (s)
sLa Ra
E (s) Eb (s)
K T i
K T I a ( s) sLa Ra
( s) 2
s J sB s 2 J sB
E ( s ) sK b ( s )
K T i
sLa Ra
( s)
s J sB
2
K T Ei ( s) K T sK b ( s)
( s)
sLa Ra s J sB 2
sLa Ra s 2 J sB
sK T K b
K T Ei ( s )
(s)1
sLa Ra s J sB
sLa Ra s J sB
2 2
( s) KT
Ei ( s ) ssLa Ra sJ B sK T K b
Homework
Obtain the TF of the field controlled motor shown. Note that the armature current is constant.
ia cons tan t
,
ei
if
M
J,
B
qi
C2
C1
h2
h1
R1 R2
X X
q2
q1
Q2 ( s )
Obtain the transfer function
Qi ( s)
For tank 1:
dh1
C1 q i q1
dt
h1 h2
q1
R1
dh1 h h2
C1 qi 1
dt R1
dh1
Or R1C1 h1 R1 qi h2
dt
dh2
C2 q1 q 2
dt
h2
q2
R2
Therefore
dh2 h1 h2 h2
C2
dt R1 R2
dh2
R1 R2 C 2 R2 h1 R2 h2 R1 h2
dt
Q2 (s) 1
Therefore
Qi (s) 1 sR1C1 sR2 C1 sR2 C 2 sR1 R2 C1C 2
Homework:
Q o ( s)
Develop the TF for the following system:
Qi (s)
C1
h1
R1
X
q1
C2
h2
R2
X
q2
3.0 BLOCK DIAGRAM REPRESENTATION
A control system may consist of a number of components. These systems may be complex and difficult
to analyze. Often, block diagrams are used.
Block diagrams provide a pictorial representation of the system functions performed by each
component, and the flow of the signals.
They offer the advantage of indicating more clearly and realistically the signal flows of the actual system.
Input TF Output
X (s ) G (s )
Y (s )
Y ( s) G( s) X ( s)
(b) Summing point (Difference point)
Performs the summing or subtraction operations
R(s )
E ( s) R( s) B( s)
B(s )
Example:
Consider the armature controlled servosystem:
La
Ra
if
ei
M
ia
J, B
,
To draw its block diagram, we first write the equations that describe the system:
Therefore:
I a (s ) T (s )
E a (s ) 1 1 1 (s )
KT
sLa Ra sJ B s
E b (s )
Kb
R(s ) C (s )
G (s )
C ( s ) R( s )G ( s )
Rule 2: series/cascade blocks
R(s )
G1 ( s ) G2 (s) C (s )
G1 ( s )G 2 ( s )
R(s ) C (s )
G1 ( s )
G1 ( s ) G 2 ( s )
G2 (s)
R(s ) E (s ) C (s )
G (s )
B(s )
H (s )
Defining:
R (s ) - Input reference signal
C (s ) - Output or controlled signal
B (s ) - Feedback signal
E (s ) - Actuating error
H (s ) - TF of the feedback elements
B( s )
G( s) H ( s) - Loop TF
E ( s)
C (s)
We desire to obtain the expression for
R( s )
From above:
C ( s) G( s) E ( s)
E (s) R(s) B(s) R(s) H (s)C (s)
C (s) G(s)R(s) H (s)C (s)
C(s)1 G(s) H (s) G(s) R(s)
C ( s) G( s )
; which is the expression for a feedback element.
R( s ) 1 G ( s ) H ( s )
Exercise:
C ( s) G( s)
Show that for a positive feedback;
R( s ) 1 G ( s ) H ( s )
R(s )
C (s ) R(s ) C (s )
G (s ) G (s )
1
B(s ) G(s)
B(s )
R(s )
C (s ) R(s ) C (s )
G (s ) G (s )
B(s )
B(s )
G (s )
C (s )
G (s ) C (s )
R(s ) C (s ) R(s )
G (s ) G (s ) C (s )
1
G(s)
R(s )
R(s )
C1( s ) C1( s )
C 2( s )
B(s )
B(s )
C 2( s )
C 2( s )
R(s ) R(s )
C1( s ) C1( s )
B(s )
B(s )
C 2( s )
Examples:
Use the block diagram reduction to simplify the following system:
G5 ( s )
C (s )
R(s )
G1 ( s ) G2 (s) G3 ( s ) G4 ( s) G6 ( s )
H 1 (s)
H 2 (s)
G5 ( s )
C (s )
R(s )
G1 ( s)G 2 ( s) G3 ( s ) G4 ( s) G6 ( s )
H 1 (s)
H 2 (s)
Next, shift the summing on point after G4 (s) to before G4 (s) and swap the two summing points
G5 ( s )
G4 (s)
C (s )
R(s )
G1 ( s)G 2 ( s) G3 ( s ) G4 (s) G6 ( s )
H 1 (s)
H 2 (s)
Notice the parallel and the cascade elements formed.
It is worthy to note that the block reduction is note unique since we could have chosen for example to
move the summing point ahead of G3 (s) to before G3 (s) and the results would be different. For
whatever approaches is taken, the final expression should be identical
R(s ) G5 ( s )
G1 ( s)G 2 ( s) G3 ( s ) G 4 ( s ) G6 ( s )
G4 ( s) C (s )
H 1 (s)
H 2 (s)
We further notice the series and feedback elements. These reduces to:
G 4 ( s )G6 ( s )
R(s ) G (s)
G1 ( s )G2 ( s ) 5 G3 ( s ) 1 G 4 ( s )G6 ( s ) H 1 ( s )
G4 ( s ) C (s )
H 2 (s)
Finally, we observe the series(inner block) and feedback elements. Therefore the final expression
reduces to
C ( s) G1 (s)G2 (s)G6 (s)G3 (s)G4 (s) G5 (s)
R(s) 1 G4 (s)G6 (s) H 1 (s)} {G1 (s)G2 (s)G6 (s) H 2 (s)G3 (s)G4 (s) G5 (s)
Example 2:
Simplify:
H 2 (s)
C (s )
R(s ) G1 ( s ) G2 (s) G3 ( s )
H 1 (s)
H 1 (s)
(ii) Joining the inner cascade and closing the feedback loop
H 2 (s)
G1 ( s )
G1 ( s )G2 ( s ) C (s )
R(s ) G3 ( s )
1 G1 ( s )G2 ( s ) H 1 ( s )
H 2 (s)
G1 ( s )
G1 ( s )G2 ( s ) G3 ( s ) C (s )
R(s )
1 G1 ( s )G2 ( s ) H 1 ( s )
Homework exercise:
Use block diagram reduction techniques to simplify the following:
G2 ( s)
R(s ) G1 ( s )
C (s )
H 1 (s)
H 3 (s)
R(s )
G1 ( s ) G 2 (s) G3 ( s ) G4 ( s) C (s )
H 2 (s)
H 1 (s)
C (s )
R(s )
G1 ( s ) G 2 (s)
H (s )
C (s )
U (s )
G 2 (s)
G1 ( s ) H (s )
C ( s) G2 ( s )
U (s) 1 G1 (s)G2 (s) H (s)
R(s ) C (s )
G1 ( s ) G 2 (s)
H (s )
C ( s) G1 (s)G2 ( s)
R(s) 1 G1 ( s)G2 (s) H ( s)
Therefore by superposition
G1 ( s)G2 ( s) G2 ( s)
C ( s) R( s ) U (s)
1 G1 ( s)G2 ( s) H ( s) 1 G1 ( s)G2 ( s) H ( s)
C ( s)
G2 ( s)
G1 (s) R(s) U (s)
1 G1 ( s)G2 ( s) H ( s)
4.0 SIGNAL FLOW GRAPHS
Block diagrams have limitations for complicated systems because the block reduction process is
complicated
Signal flow graphs (sfg) consists of a network of nodes interconnected by directed branches. They do
contain the same information as block diagrams.
Definitions
x1 x2
Branch: A directed line segment joining two nodes. In the process, a signal travelling from one
node to another is multiplied by the gain or transmittance of the branch.
x1 x2
Transmittance : This is the gain between two nodes, usually expressed as a transfer function
x1 x2
G1 ( s )
Input node (or source): Node that has only outgoing branches. It corresponds to the independent
variable
x1
Output node (sink): Node that has only incoming branches and corresponds to the dependent
variable.
x2
When this condition is not met, an additional branch of unity gain is introduced in order to meet this
condition
x1 x2 G1 ( s ) x2 1
G1 ( s ) x2
x1
H 1 (s)
H 1 (s)
Path: A path is a traversal of connected branches in the direction of the branch arrows such that no
node is traversed more than once
Forward path: A path from the input node to the output node that does not cross any nore more than
once
Construction of SFGs
Consider a system described by the following set of equations:
x 2 a 21 x1 a32 x3 a 42 x 4 a52 x5
x3 a 23 x 2
x 4 a34 x3 a 44 x 4
x5 a35 x3 a 45 x 4
a 42
x1 a 44 x5
a12 x2 a 23 x3 a 34 x4 a 45 1
a 35
a32
a 52
Example 2:
x1 a11 x1 a12 x 2 a13 x3 b1u1
x 2 a 21 x1 a 22 x 2 a 23 x3 b2 u 2
x3 a 31 x1 a 32 x 2 a 33 x3
a13
x1 a 22
a11 a 21 x2 a32 x3
u1 1
b1
u2
a 23
a12
a31
Example 3:
Construct the SFG for the system represented by the block diagram
H 2 (s)
C (s )
R(s )
G1 ( s ) G2 ( s ) G3 ( s )
H 1 (s)
H 2 (s)
C (s )
R(s ) x5
G1 ( s ) G2 ( s ) G3 ( s )
x1 x2 x3 x4
H 1 (s)
x1 R ( s ) C ( s )
x 2 x1 x5 H 1 ( s )
x3 x 2G1 ( s )
x 4 x3 C ( s ) H 2 ( s )
x5 x 4G 2 ( s )
C ( s ) x5G3 ( s )
H2
R(s ) x1 x2 x3 x4 G2 x5 C (s )
1 1 G1 ( s ) 1 G3 ( s ) 1
H 1 (s)
1
P
1
TF
k k
k 1
1 - (sum of individual loop gains) + (sum of gain products of all combination of any two non touching
loops) - (sum of gain products of all combination of 3 non touching loops) + …
k - Cofactor of the k th forward path gven by the determinant of the graph with the loops touching the
k th forward path removed
Example:
Obtain the transfer function of the system described by the SFG
H2
1
1 1 G3 ( s )
G1 ( s ) G2
R(s ) C (s )
H 1 (s)
1
P1 G1G2 G3
L1 G1G2 G3
L2 G1G2 H1
L3 G2 G3 H 2
Determinant
(1 G1G2 H 1 G1G2 G3 G2 G3 H 2
(1 G1G2 H 1 G1G2 G3 G2 G3 H 2 )
1 1
1
TF P1 1
1
G1G2 G3 1
(1 G1G2 H1 G1G2 G3 G2 G3 H 2 )
C ( s) G1G2 G3
R(s) (1 G1G2 H 1 G1G2 G3 G2 G3 H 2 )
Example 2
G7 ( s )
G6 ( s)
G1 ( s ) G2
R(s ) G3 ( s ) G4 (s) G5 ( s ) 1
C (s )
H 1 (s)
H2
Forward paths
P1 G1G2G3G4G5
P2 G1G6 G4 G5
P3 G1G2 G7
Loops
L1 G2 G3G4 G5 H 2
L2 G6 G4 G5 H 2
L3 G2 G7 H 2
L4 G4 H1
Non-touching loops
1 ( L1 L2 L3 L4 ) L3 L4
Cofactors
1 1
2 1
3 1 L4
Closed loop TF
TF
1
P11 P2 2 P3 3
G1G 2 G3 G 4 G5 G1G6 G 4 G5 G1G 2 G7 (1 G 4 H 1 )
1 G 2 G3 G 4 G5 H 2 G 6 G 4 G5 H 2 G 2 G 7 H 2 G 4 H 1 G 2 G 4 G 7 H 1 H 2
Homework:
a 42
x1 a 44 x5
a12 x2 a 23 x3 a 34 x4 a 45 1
a 35
a32
a 52
Transient response: That which goes from the initial state to the final state
Usually, standard test signals are used to analyse the systems characteristics. The choice of the test
signal to a control system depends on its suitability as a test signal and the environment under which
the system normally operates i.e the kind of signals the system will be more likely be subjected to.
(t ) 0; t 0
(t )dt 1
L (t ) 1
1 t 0
u (t ) ;
0 t 0
Lu (t )
1
s
t t 0
r (t ) ;
0 t 0
Lr (t )
1
s2
Parabolic / accelerationsignal
t 2 t0
a(t ) ;
0 t0
La(t )
1
s3
Sinusoidal signal
sin t
s 2
2
s
cos t
s 2
2
R(s ) 1 C (s )
Ts
1
TF
Ts 1
0.9
0.8
c(t )
0.7
0.6
Amplitude
0.5
0.4
0.3
0.2
0.1
0
0 1 2 3 4 5 6
Time (sec)
The output rises from zero to unity as time tends to infinity. At t 0 , the initial slope of the
1
curve is given by
T
T is referred to as the time constant and indicates how fast the system tends to reach unity. A
small time constant corresponds to a fast system.
Step Response
1
0.9
T1
T2
0.8 T3
0.7
0.6
Amplitude
0.5
T1 T 2 T 3
0.4
0.3
0.2
0.1
0
0 1 2 3 4 5 6
Time (sec)
lim sE ( s)
s0
0
Thus a first order system tracks the unit step input with a zero steady state error
(c) Response to a unit ramp input
1
R( s ) 2
s
1 1
C ( s)
s 2 Ts 1
By partial fraction expansion
1 T T2
C ( s)
s 2 s Ts 1
t
c(t ) t T Te T ;t 0
Error response e(t ) r (t ) c(t )
t
e(t ) T 1 e T
ess lim e(t ) T
t
Step Response
6
5 r (t ) t
4
T
Amplitude
3
c(t )
0
0 1 2 3 4 5 6
Time (sec)
The first order system tracks a unit ramp input with a steady state error equal to the time
constant. The smaller the time constant, the smaller the steady state error
C (s) n 2
2
R( s ) s 2n s n 2
Where
n = The undamped natural frequency
= Damping ratio
2n = Attenuation
s1 , s 2 n j n 1 2 n j d
If 0 1, the closed loop poles are complex conjugate and lie on the LHS of the s-plane. The system is
referred to as underdamped and the transient response is oscillatory.
UNDERDAMPED CASE
C (s) n 2
2 ,
R( s ) s 2n s n 2
For this case, (2n ) 2 4n 2 1 and the roots are given by
C ( s) n 2
R( s) ( s n j d )( s n j d )
n
Is given as c(t ) e nt sin d t
1 2
Impulse Response
20
15
10
Amplitude
-5
-10
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
Time (sec)
1
The response of the system to a step input R( s)
s
n 2
C ( s)
s( s n j d )( s n j d )
1 s 2n n
C ( s)
s ( s n ) d
2 2
( s n ) 2 d
2
c(t ) 1 e nt (cos d t sin d t )
1 2
e nt 1 2
c(t ) 1 sin( d t tan 1 )
1 2
Step Response
1.5
1
Amplitude
0.5
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
Time (sec)
e nt e nt
Note the upper envelope 1 and the lower envelope 1
1 2 1 2
The error signal e(t ) 1 c(t ) e nt (cos d t sin d t ) exhibits a damped sinusoidal
1 2
oscillation.
UNDAMPED CASE
If 0 , the oscillations become undamped and continue indefinitely
c(t ) 1 cos n t
Step Response
2
1.8
1.6
1.4
1.2
Amplitude
0.8
0.6
0.4
0.2
0
0 0.5 1 1.5 2 2.5 3
Time (sec)
n 2 n 2
C (s) ; c(t ) n 2 te nt
s 2 2 n s n
2
(s n ) 2
Impulse Response
10
6
Amplitude
0
0 0.1 0.2 0.3 0.4 0.5 0.6
Time (sec)
Step Response
1
0.9
0.8
0.7
0.6
Amplitude
0.5
0.4
0.3
0.2
0.1
0
0 0.1 0.2 0.3 0.4 0.5 0.6
Time (sec)
Impulse Response
6
4
Amplitude
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
Time (sec)
n
e nt ( 2 1 ) 2 1 )
c(t ) 1 e nt (
2 1
2
Step Response
1
0.9
0.8
0.7
0.6
Amplitude
0.5
0.4
0.3
0.2
0.1
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
Time (sec)
1.8
1.6
1.4
1.2
Amplitude
0.8
0.6
0.4
0.2
0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5
Time (sec)
Pole location
Locus of the poles for a second order system
0
0 1
1 1
1
0 1
0
0 No damping
0 1 Underdamped
Step Response
15
10
5
Amplitude
-5
-10
0 0.2 0.4 0.6 0.8 1 1.2
Time (sec)
n d n 1 2
n
Figure11: Relationship of the damping coefficient, damped natural frequency and undamped natural
frequency.
1.4
1.2 Mp
2% / 5%
1
Amplitude
0.8
0.6
0.4
0.2
0 td
0 tp 0.2 0.4 0.6 0.8 1 1.2
Time (sec)
ts
(a) Delay time t d – This is the time required for the response to reach half of the final value for the
first time. Note that for when the damping ratio is small, the oscillatory response can reach half
the value more times
(b) Rise time t r - This is the time required for the response to rise from 0-100% of the final value
(for underdamped systems) or the time required to rise from 10-90% of the final value for
overdamped case. Note that in overdamped case, the system respose approach 100% as time
tends to infinity, that is why we specify 10-90%
(c) Peak time t p - This is the time required for the response to reach the first peak of the
overshoot. Note that an underdamped system has several overshoots
(d) Peak overshoot M p - This indicates the normalized difference between the peak value and the
c(t p ) c ss
steady state output. Peak overshoot =
c ss
c(t p ) = peak value at t t p ;
c ss = steady state value= c( ) = lim c(t )
t
(e) Settling time t s - This is the time required for the systems response to reach and stay within a
specifiedband range. This is usually specified as 2% or 5%
(f) Steady state error ess - Error between the actual output and the desired output as time tends to
infinity = lim e(t )
t
d
d 1 2
tan 1 ; tr tan 1
d
(b) Peak time t p
At peak time, the derivative of c(t ) =0
d d
c(t p ) 1 e nt (cos d t sin d t )
dt dt
1 2
n t p n t p
n e (cos d t p sin d t p ) d e (sin d t p cos d t p ) 0
1 2 1 2
The cosine terms cancel out, remaining with
2 n n t p n t p
( e d e ) sin d t p 0
1 2
sin d t p 0
d t p n ; 0,1,2,
tp
d
n 2,3,4, corresponds to the other peaks
(c) Maximum overshoot M p
M p c(t p ) 1
n
d
c(t p ) 1 e (cos d t sin d )
d 1 2 d
The cosine term = 1, while the sine term equals 0
n n
d d
M p 1 e 1 e
n
d d d
e e per unit 0r e 100 per cent
(d) Settling time t s
The response is bounded by exponential envelopes. The upper and lower envelopes are given as
e nt
1
1 2
Note that e 3T 0.95 e 4T 0.982
1
T
n
4 4
For 2% criterion, t s 4T
n
3 3
For 5% criterion, t s 3T
n
1 0.7
(e) Delay time t d ,
n
Example 1.
Given δ=0.6, ωn=5rads/sec, obtain
Example 2.
1
A second order system has a transfer function given by . A step input is applied to it.
s 2.4s 9
2
Determine
(i) Tp=1.14S
(ii) Tr=0.72S
(iii) Ts=3.3S (2%)
(iv) Mp=25.38%
Example 3
25
The open loop TF of a unity feedback control system is given by G( s) . Find
s( s 5)
(i) Mp=16.3%
(ii) Tr=0.485S
(iii) Ts=1.6S
(iv) Tp=o.72S
E(s)
H(s)
n 2 2 e nt
c(t ) L1 2 2 ; c (t ) t sin( d t )
s ( s 2n s n 2 ) n 1 2
n
2
ess lim e(t ) lim r (t ) c(t ) lim t c(t )
t t t n
Step Response
1.4
1.2
0.8
Amplitude
0.6
0.4
0.2
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time (sec)
The response of a second order system to a ramp input is oscillatory. However, the steady state error is
not zero as in the case of the step input we saw in the analysis of the second order system
A system may have zero steady state error to a step input but may exhibit a non zero steady state error
to a ramp input.
Steady state error is a measure of the system accuracy. Whether a given system will exhibits steady
state error for a given type of input depends on the type of the open loop TF
The difference between the steady state response and the desired response gives the steady static
error. A control system has steady state error for changes in position, velocity and acceleration.
These error constants are known as static error coefficients. They have the ability to minimize the steady
state errors.
C ( s) G( s)
and
R( s ) 1 G ( s )
E ( s) 1
R( s ) 1 G ( s )
1 1 1 1
E ( s) and ess lim sE (s)
1 G( s) s s 0 1 G(0) 1 Kp
1
ess ( position)
1 Kp
1 1 1 1
ess (velocity) lim sE (s) lim s lim
s 0 s 0 1 G( s ) s 2 s 0 1 G( s ) s
1
= lim s Kv
s 0 sG(s)
1
e ss (velocity)
Kv
1 1 1 1
ess (acceleration) lim sE (s) lim s lim
s 0 s 0 1 G( s) s 3 s 0 1 G( s) s 2
1
= lim 2
Ka
s 0 s G( s )
1
e ss (acceleration)
Kv
Step Response
1.5
1
Amplitude
0.5
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
Time (sec)
Step Response
1.4
1.2
0.8
Amplitude
0.6
0.4
0.2
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time (sec)
Step Response
350
300
250
200
Amplitude
150
100
50
0
0 5 10 15 20 25
Time (sec)
K (1 T1 s)(1 T2 s)...(1 Tm s)
G( s) H ( s) . The poles at the origin are s j
s (1 Ta s)(1 Tb s)...(1 Tn s)
j
Type 0 1
1 Kp
Type 1 0 1
Kv
Type 2 0 0 1
Ka
As the type of system becomes higher, more steady static errors are eliminated. Types 0, 1 and 2 are
commonly used. In practice, system with types more than 2 are not employed (More than two
intergrations)
This is because:
(ii) The dynamic errors tend to be larger although their steady state response is desirable.
( s z ) n
2
C (s)
2
R( s ) s 2n s n 2
C
(0) 1 for c ss 1 when the input r (t ) 1 and ess 0
R
1 d
Or c z (t ) c(t ) c(t )
z dt
Step Response
2
1.8
1.6
1.4
1.2
Amplitude
0.8
0.6
0.4
0.2
0
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45
Time (sec)
The zero contributes to a pronounced early peak with increased overshoot. The smaller the value of z,
the more pronounced the peaking phenomenon.
The system can only meet one specification exactly while conflicting with another specification.
In order to meet two independent specifications, the second order system has to be modified. This is
known as compensation,
6.0 STABILITY
An LTI (linear time invariant) system is stable if
(i) When excited with a bounded input, the output is also bounded
(ii) In the absence of the input, the output tends to zero, irrespective of the initial conditions
(asymptotic stability)
Unstable system – When excited with a bounded input, the output is unbounded
Critically or marginally stable system-When a bounded input is applied to a marginally stable system, the
output does not decrease to zero or increase without bound.
Conditionally stable systems-These are systems that are which are stable only for some certain
conditions of some parameters. Should this parameter(s) change, the system becomes unstable
p( s) bo s n b1 s n 1 .... bn
G( s)
q( s) a 0 s m a1 s m1 ... a m
The roots of q (s ) gives the location of the poles while the roots of p (s ) gives the location of the zeros
Impulse Response
1
0.9
1 0.8
sa 0.7
0.6
Amplitude
0.5
X
e at
0.4
0.3
0.2
0.1
0
0 1 2 3 4 5 6
Time (sec)
Impulse Response
14
1
sa 12
10
X 8
e at
Amplitude
0
0 0.5 1 1.5 2 2.5
Time (sec)
Impulse Response
0.5
0.4
1
0.3
s 2
s
X 0.2
sin(t )
0.1
Amplitude
0
X -0.1
-0.2
-0.3
-0.4
-0.5
0 5 10 15 20 25
Time (sec)
Impulse Response
2
1.8
1.6
1 1.4 u (t )
s 1.2
Amplitude
X 1
0.8
0.6
0.4
0.2
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time (sec)
1
s2
XX
Double pole
X
X
X
Double pole
X
X
From above, we can define stability interms of the locations of the poles in the s plane.
A system is stable if its poles lie on the LHS of the s plane (or if its roots have negative real part)
In terms of impulse response, a system is stable if its impulse response tend to zero as time tends to
infinity
For poles that lie on the jω axis, the system is marginally stable.
Step Response
1.4
1.2
0.8
Amplitude
0.6
0.4
0.2
0
0 0.5 1 1.5 2 2.5
Time (sec)
Relative stability is a measure of how fast the transients die out in the system.
ROUTH’s STABILITY CRITERION
For systems of orders higher than 2, we need not get the roots of the characteristic equation q (s )
inorder to determine the stability of the system. Routh’s and Hurwitz criteria provide a simple way of
judging whether a pole of a system lie on the RHS or LHS of the s plane.
p( s) bo s n b1 s n 1 .... bn
G( s) mn
q( s) a 0 s m a1 s m1 ... a m
By factoring the characteristic equation and determining the position of the roots, we can determine the
stability of the system.
Write the polynomial in the form q(s) a0 s m a1 s m1 a2 s m2 a3 s m3 ... am1 s am 0
(a) The coefficients of q ( s ) 0 must be real and must have the same sign
Example 1.
q(s) s 5 5s 4 3s 3 2s 2 s 8 0
Example 2.
q(s) s 5 5s 4 3s 3 2s 2 s 0
The constant term (corresponding to s 0 ) is zero and thus there is a root at s=0 and the system at its best
is marginally stable
Example 3.
q(s) s 5 5s 4 3s 3 2s 2 8 0
Unstable – coefficient of s=0
Example 4.
q(s) s 5 5s 4 3s 3 2s 2 s 8 0
No sign change and all coefficients are present. The two necessary conditions are met, and the stability
of the closed loop poles can be determined by arranging the coefficients in the Routh’s array
sn a0 a2 a4 a6
s n1 a1 a3 a5 a7
s n2 b1 b2 b3 b4
s n 3 c1 c2 c3 c4
s1 y1 y2
s0 z1
Where
a1a 2 a0 a3 a a a 0 a5 a a a0 a7
b1 ; b2 1 4 ; b3 1 6
a1 a1 a1
This process is continued until the nth row has been completed.
Routh’s stability criterion states that the number of roots with positive real parts is equal to the number
of the changes in sign of the coefficients of the first column in the array. That is for a stable system, the
first column should have no sign change.
Example 1
q(s) a0 s 3 a1 s 2 a2 s a3 0
s3 a0 a2
s2 a1 a3
a1a 2 a0 a3
s1 0
a1
s0 a3
Example 2
q(s) s 4 s 3 s 2 2s 3 0
s4 1 1 3
s3 1 2
s2 -1 3
s1 5 0
s0 3
Note that the first column has 2 sign changes from 1 to -1 and -1 to 5. Therefore, the system is unstable
and has 2 poles on the RHS of the s plane
Exercise
q(s) s 4 2s 3 3s 2 4s 5 0
(unstable)
Special cases
(i) Case 1 – A zero appearing in any row of the first column while the other terms are non zero
When this happens, we replace the zero with a small positive constant , so as to avoid
dividing by zero.
Example
q(s) s 3 2s 2 s 2 0
s3 1 2
s2 2 2
s1 0 0
2 0
s0 2
The zero appearing indicates instability or marginal stability. For this case, the system is marginally
stable since there is a root at s j
Example 2
q(s) s 5 s 4 2s 3 2s 2 3s 5 0
s5 1 2 3
s4 1 2 5
s3 0 1 -2 0
2 2
s2 5
4 4 5 2
s1 0
2 2
s0 5
4 4 5 2
lim 2
0 2 2
Exercise:
q(s) s 3 3s 2 0 ; Disregard the fact that this does not meet the necessary conditions for stability
Case 2 –
(ii) If all the coefficients in any derived row are zero, it indicates that there are roots of equal
magnitude lying radially opposite in the s plane
In such a case, the evaluation of the rest of the array can be continued by forminy an auxiliary
polynomial by using the coefficients of the derivative of the polynomial of the next row.
Example 2
q(s) s 5 2s 4 24s 3 4s 2 25s 50 0
(Disregard the fact that this does not meet the necessary condition for stability)
s5 1 24 -25
s4 2 48 50
s3 0 0 0
P(s) 2s 4 48s 2 50
dP( s )
8s 3 96s and proceed
ds
s3 8 96 0
s2 24 -50
s1 112.7 0
s0 -50
Exercise
q(s) s 6 2s 5 8s 4 12s 3 20s 2 16s 16 0
Hurwitz criterion
We arrange the coefficients into the Hurwitz determinant as:
a1 a3 a5 a7
a0 a2 a4 a6
0 a1 a3 a5
H
0 a0 a2 a4
0 0 an
To have all the roots in the LHS of the s plane, the n-sub determinantsof the Hurwitz determinant should
be positive
D1 a1
a1 a3
D2
a0 a2
a1 a3 a5
D3 a0 a2 a4
0 a1 a3
(i) As the order of the system increases, it is difficult to solve individual determinants
Example
Use Hurwitz to determine the stability of
q( s ) s 3 s 2 s 4 0
1 4 0
H1 1 0
0 1 4
Exercise
q(s) s 3 8s 2 14s 24 0 (stable)
K
G( s)
s(s s 1)( s 4)
2
C(s)
R(s)
G(s)
E(s)
H(s)
G( s)
The closed loop TF
1 G( s) H ( s)
K
s( s s 1)( s 4)
2
K
and the characteristic equation
1
K s(s s 1)( s 4) K
2
s( s s 1)( s 4)
2
q(s) s 4 5s 3 5s 2 4s K 0
s4 1 5 K
s3 5 4 0
21
s2 K
5
84 5 K
s1 5 0
21
5
s0 K
For stability
K 0
84
5K 0
5
84
Or K
25
This implies that the gain of the system cannot be increased infinitely
Example 2
s 3 ( K 0.5)s 2 4Ks 50 0
s3 1 4K 0
s2 K+0.5 50
4 K 2 2 K 50
s1 0
K 0.5
s0 50
4K 2 2K 50 0
K1 3.29, K 2 3.79
And 3.29 K
Exercise
(i) Determine the number of poles on the RHS if any for the system
s 6 s 5 3s 4 3s 3 2s 2 s 1 0 (4 no)
K (s 2)
(ii) Open loop TF with G(s) and unity feedback. (K>0)
s(s 1)
Transient response of a closed loop system has relation to the location of the closed loop poles
For a variable loop gain system, the location of the closed loop poles depend on the loop gain chosen.
Root locus method provides a graphical technique of plotting the locus of the roots in the s-plane as a
given system parameter is varied over a range of values eg, gain, addition of a pole or zero etc
Root locus helps to determine the value of the loop gain that will make the damping ratio of the closed
loop poles as desired.
Similarly, if the open loop poles and zeros are variable, the root locus suggests the way to choose the
location of these poles and zeros.
C(s)
R(s)
G(s)
E(s)
H(s)
C ( s) G( s )
The closed loop TF and the characteristic equation 1 G ( s) H ( s) 0
R( s ) 1 G ( s ) H ( s )
Or G ( s) H ( s) 1
The values of s that fulfil this condition are the roots of the characteristic equation
CONSTRUCTION
Consider the system shown above with the characteristic equation G(s) H (s) 1. For example
K (s z1)
G( s) H ( s ) , p 2, p3 are complex conjugate for example
(s p1)( s p2)( s p3)( s p4)
The pole-zero plot in the s plane
Test _ po int_ 1
A2 2
A4 A3 B1 A1 p 2
4 1 1
p4 z1
p1
3
p3
A1, A2, A3, A4, B1 are the magnitude of the distance from the poles and zero to a chosen test point
To find out whether test point 1 is part of the locus, it must fulfill both the angle and magnitude
condition
KB1
G( s) H ( s)
A1A2 A3 A4
And G ( s) H ( s) 1 ( 1 2 3 4)
2. As K is varied from zero to infinity, each branch of the root locus originates from an open loop
pole at K 0 , and either terminates at an open loop zero or at infinity at K
The number of branches terminating at infinity equals (Number of open loop poles – number of
open loop zeros). Note that it is assumed that number of poles equals number of zeros only that
the other zeros are located at infinity
3. A point on the real axis lies on the locus if the number of open loop poles and zeros to the right
of this point is odd
4. The branches of the root locus which tend to infinity do so along straight line asymptotes given
2k 1)180 o
by Angle _ of _ asymptote ,
nm
5. Asymptotes cross the real axis at a point called known as centroid given by
Centroid=
Sum _ of _ real _ parts _ of _ poles Sum _ of _ real _ parts _ of _ zeros Re( poles) Re( zeros)
number _ of _ poles number _ of _ zeros nm
6. Break away/ Break in point (points at which multiple roots of the characteristic equation occur)
dK
is given by 0
ds
7. The angle of departure from a complex pole is given by ±180o-(sum of angles of vectors to a
complex pole in question from other poles)+(sum of angle of vectors to a complex pole in
question from zeros)
The angle of arrival from a complex zero is given by ±180o-(sum of angles of vectors to a
complex zero in question from other zeros)+(sum of angle of vectors to a complex zero in
question from poles)
Departure angle
1 1
2
8. Intersection of the root locus branches with the imaginary axis is determined from the Routh’s
criterion
EXAMPLE 1
K
s ( s 1)( s 2)
K
G( s) H ( s)
s(s 1)( s 2)
2k 1)180o
Asymptotes = = ±60o, ±180o, ±300o
nm
dK
Break away point 0
ds
K s 3 3s 2 2s 0
dK
3s 2 6s 2 0 , s1, s 2 0.4226,1.574 we take -0.4226 since it lies between two poles
ds
and K is positive for this case (K=0.3849). For s=-1.574, K is negative (K=-0.3849) and cannot be
negative gain
s3 1 2
s2 3 K
6K
s1 0
3
s0 K
For stability
K 0
K 6
And K=6 at the crossing.
The value of s at the crossing point is s j 2 . This can be gotten from solving for s in
s 3 3s 2 2s 6 0 by equating s j and solving the real and imaginary parts
Root Locus
4
1
Imaginary Axis
-1
-2
-3
-4
-6 -5 -4 -3 -2 -1 0 1 2
Real Axis
EXAMPLE 2
From the above example, determine the value of K for which the damping ratio is 0.5
Root Locus
4
1 60 o s1 0.3337 j 0.5780
Imaginary Axis
A3 A2 A1
0
-1 s1 0.3337 j 0.5780
-2
-3
-4
-6 -5 -4 -3 -2 -1 0 1 2
cos 0.5 Real Axis
60 o
To determine K, we replace s=0.3337+j0.5780 in the equation K s 3 3s 2 2s 0 to get
K=1.0383. Alternatively K= A1A2 A3 (the phasor products)
K
(Note: In example 1, the transfer function can be written as G( s) H ( s) which
s 3s 2 2s
3
0s 3 0s 2 0s 1
can be written in descending powers of s as G(s) H (s) K
s 3 3s 2 2s 0
Using Matlab, define the numerator as num = [0 0 0 1] and the denominator den = [ 1 3 2 0] with
descending coefficients of s. Use the matlab command rlocus(num,den) and observe the plot.
Use matlab in the similar manner for step,and impulse responses as step(num,den)
impulse(num,den) etc
MORE EXAMPLES
Root Locus
2
1.5
0.5
Imaginary Axis
-0.5
-1
-1.5
K ( s 2) K ( s 2)
-2
-4.5 -4 -3.5 -3 -2.5 -2 -1.5 -1 -0.5 0
s 2 s 3 s ( s 1 j 2) ( s 1 j 2)
2
Root Locus
10
2
Imaginary Axis
-2
-4
-6
-8
-10
K (s 3) -10 -8 -6 -4 -2 0 2 4
2. G( s) Real Axis
Imaginary Axis
0
-1
-2
-3
-4
-5
-8 -6 -4 -2 0 2 4
K
3. G(s)
Real Axis
s(s 3)( s 2s 2)
2
asymptotes 45o, 135o, 225o, 315o centroid -1.25, breakaway poit 4.54 departure angle -71.6o,
K=8.16 and s=j1.1 at crossing point
Root Locus
1
0.8
0.6
0.4
0.2
Imaginary Axis
-0.2
-0.4
-0.6
-0.8
-1
K (s 2)( s 3)
-3.5 -3 -2.5 -2 -1.5 -1 -0.5 0
4. G(s)
Real Axis
s(s 1)
Root Locus
10
2
Imaginary Axis
-2
-4
-6
-8
-10
-14 -12 -10 -8 -6 -4 -2 0 2 4
K
5. G(s)
Real Axis
s(s 6s 25)
2
Root Locus
2.5
1.5
0.5
Imaginary Axis
0
-0.5
-1
-1.5
-2
-2.5
-4.5 -4 -3.5 -3 -2.5 -2 -1.5 -1 -0.5 0 0.5
K
6. G(s)
Real Axis
s(s 4s 5)
2
Root Locus
8
2
Imaginary Axis
-2
-4
-6
-8
-8 -6 -4 -2 0 2 4 6
K
7. G(s)
Real Axis
Root Locus
4
1
Imaginary Axis
-1
-2
-3
-4
-4 -3.5 -3 -2.5 -2 -1.5 -1 -0.5 0
K (s 1)
8. G(s) 2
Real Axis
s (s 3.6)
Root Locus
8
Imaginary Axis
0
-2
-4
-6
-8
K (s 0.4)
-4 -3.5 -3 -2.5 -2 -1.5 -1 -0.5 0
9. G(s) 2
Real Axis
s (s 3.6)
NOTE:
From the root locus, we can determine the loop gain of a system for a specified damping
ratio
The determination of roots for a specified loop gain is done using trial and error
ROOT CONTUORS
When a parameter other than the gain K varies, the corresponding plots are called root contours.
K
Consider the system G(s) 2 , where a is a variable pole position, the characteristic equation
s ( s a)
K
1 0 or s 2 as K 0 . Allowing both K and a to vary leads to root contours. For the
s( s a)
K
system 1 0
s(s 1)( s a)
Root Locus
10
2
Imaginary Axis
-2
-4
-6
-8
-10
-14 -12 -10 -8 -6 -4 -2 0 2 4
Real Axis
POSITIVE FEEDBACK SYSTEMS
C ( s) G( s)
The closed loop TF and the characteristic equation 1 G ( s) H ( s ) 0
R( s ) 1 G ( s ) H ( s )
Exercise: Read about the changes in the rules for positive feedback systems. Also note that positive
feedback systems are unstable
System compensation
Sometimes it is necessary to modify the structure of a system so that the overall system behavior will be
as desired. Such a redesign or addition of a suitable device is called compensation.
A compensator is a device that is incorporated into the system for the purposes of satisfying the
specifications.
Commonly used controllers are the lead, lag, lead-lag and the PID controllers.
Compensation schemes
H(s)
Gc(s)
H(s)
If a sinusoidal input is applied to the input of a network and the sinusoidal steady state output has a
phase lead, the network is called a lead network. If the output has a phase lag, it is called a lag
network. If the output has both a lead and a lag phase occurring at different frequencies, the
network is called lead-lag network
It pulls the locus to the right tending to lower the system relative stability and slow down
the response settling time
Imaginary Axis
1
Imaginary Axis
0 0
0
-0.2
-0.1 -1
-0.4
-2
-0.2
-0.6
-3
-0.8 -0.3
-4
-1
-2 -1.8 -1.6 -1.4 -1.2 -1 -0.8 -0.6 -0.4 -0.2 0 -0.4 -5
-2 -1.8 -1.6 -1.4 -1.2 -1 -0.8 -0.6 -0.4 -0.2 0 -8 -7 -6 -5 -4 -3 -2 -1 0 1
Real Axis
Real Axis Real Axis
Figure Effect of adding one and two poles on the root locus
4 4
6
3 3
4
2 2
1 2
Imaginary Axis
1
Imaginary Axis
Imaginary Axis
0 0 0
-1 -1
-2
-2 -2
-4
-3
-3
-6
-4
-4
-5 -8
-5 -3.5 -3 -2.5 -2 -1.5 -1 -0.5 0 -3.5 -3 -2.5 -2 -1.5 -1 -0.5 0
-8 -7 -6 -5 -4 -3 -2 -1 0 1
Real Axis Real Axis
Real Axis
LEAD COMPENSATION
1
s
A lead compensator has the transfer function Gc( s ) Kc T , 0 1
1
s
T
Example:
4
s ( s 2)
Root Locus
0.8
0.6
0.4
0.2
Imaginary Axis
-0.2
-0.4
-0.6
-0.8
-2 -1.8 -1.6 -1.4 -1.2 -1 -0.8 -0.6 -0.4 -0.2 0
Real Axis
Solution
T
o
S
60
Position S= 1 j 3 gives position of open loop poles or use the quadratic formula on
s 2 2s 4
Damping factor. cos 60o = 0.5 or equate s 2 2s 4 = s 2n s n
2 2
4
Velocity error constant = lim sG(s) = lim s. 2
s0 s 0
s(s 2)
Draw a circle radius 4 to cut the constant δ line at point P
The angle condition at point 1 3 =180o -(120o+90o) = 30o
This does not meet the angle condition because of the deficiency of 30 degrees
P
T
o
S
60
P
A
C O
D
B
(s 2.9)
The magnitude condition must fulfil K c 1
s(s 2)(s 5.4) s 1 j 3
Kc=4.68
( s 2.9)
Finally Gc ( s) 4.68
( s 5.4)
Root Locus
15
10
5
Imaginary Axis
-5
-10
-15
-6 -5 -4 -3 -2 -1 0
Real Axis
We can now synthesize our lead compensator whether electronic, electrical, mechanical etf.
Note that the design is not unique, since we could have chosen a compensator with a zero at s=-2 and a
pole at s=-4. This satisfies the angle condition and the gain can be adjusted to satisfy the magnitude
condition.
The above design method gives the highest Kv for good system response performance.
0.8
Amplitude
0.6
0.4
0.2
0
0 1 2 3 4 5 6
Time (sec)
LAG COMPENSATION
Lag compensation improves the steady state accuracy of the system but reduces the speed of the
response. If the transient response is satisfactory but the steady state response is unsatisfactory, we use
a lag compensator
Compensation for such case consists of improving the open loop gain without changing the transient
response characteristics
To avoid an appreciable change in the root loci the angle contribution of the lag network should be
limited to a small amount not greater than 5%, ie place the pole and zero of the lag network very close
to the origin of the s plane.
This way, the closed loop poles of the compensated system will be shifted slightly from their original
locations.
1
s
A lag compensator takes the form Gc( s ) Kc T , 1
1
s
T
1
s
5 T 0
1
s
T
Example
1.06
Consider the system G(s)
s(s 1)( s 2)
1.06
s ( s 1)( s 2)
1.06
s ( s 1)( s 2)
C ( s) 1.06
The closed loop transfer function
R(s) s(s 1)( s 2) 1.06
C ( s) 1.06
R(s) (s 2.3386)( s 0.3307 j 0.5864)( s 0.3307 j 0.5864)
3
Position of closed loop poles
2
1
Imaginary Axis
0
-1
-2
-3
-4
-6 -5 -4 -3 -2 -1 0 1 2
Real Axis
0.491
n 0.673
Kv 0.53
s 0.05
We place the pole and the zero very close to the origin such that Gc( s) Kc
s 0.005
(Note: The left curve is the uncompensated system while the right curve is the compensated system)
Root Locus
4
1
Imaginary Axis
-1
-2
-3
-4
-6 -5 -4 -3 -2 -1 0 1 2
Real Axis
The new closed loop poles are determined from the root locus as s=-0.31±j0.55 and the gain
s( s 0.005)( s 1)( s 2)
K 1.0235
s 0.05 s 0.31 j 0.55
This value of K can also be determined from the graph when drawn to scale by measuring the distance
of the vectors
K=1.06Kc or Kc=0.9656
s 0.05
Gc( s ) 0.9656
s 0.005
The new velocity error constant is given as lim sG(s)Gc(s) 5.12 sec 1
s 0
LEAD-LAG COMPENSATION
These combines the advantages of both the lead and the lag compensators.
8.0 FREQUENCY RESPONSE METHODS
Time domain approaches suffer the disadvantage that they become difficult to analyse as the order of
the system increases.
Frequency response implies the steady state response of a system to a sinusoidal input.
In these methods, the frequency of the input signal is varied over a certain range and the response is
studied.
These methods offer the advantage that the mathematical model of the system is not necessary.
x(t ) y (t )
G(s)
X (s ) Y (s )
The steady state output of the system is also sinusoidal with the same frequency but with a different
magnitude and phase angle.
Replacing s j in G (s )
G( j) Me j
y ss X G( j) sin( t )
1
x(t ) X sin t
0.8
0.6
X Y
0.4
y (t ) Y sin(t )
0.2
-0.2
-0.4
-0.6
-0.8
-1
0 2000 4000 6000 8000 10000 12000 14000
Y X G ( j )
G ( j ) is called the sinusoidal transfer function. A positive phase angle is called a phase lead, while a
negative phase angle is called a phase lag.
Example.
x(t ) K y (t )
X (s ) Ts 1 Y (s )
Solution
K
G( j )
jT 1
K T
G ( j ) ; tan 1 = G ( j )
T 1
2 2 1
K
yss(t ) X sin( T tan 1 T )
1 (T ) 2
Homework
1
s
1 2T1
2
T1 T
G (s) ; show that y ss (t ) X 2 sin( t tan 1 T1 tan 1 T 2 )
1 T1 1 T2
2 2
s
T2
Generally, frequency response methods have both the magnitude and phase vary as a function of
frequency ω.
C ( s) G( s)
Resonant Peak M r - For a closed loop system transfer function M (s) . The
R( s ) 1 G ( s ) H ( s )
maximum value of M ( j ) as ω is varied is called the resonant peak. A larger value of M r corresponds
to a large maximum overshoot
Bandwidth BW - This is the range of frequencies beyond which the magnitude M ( j ) falls below -3dB.
A large BW means higher frequencies can easily be passed through the system and it gives an idea about
the transient response characteristics.
Cut off rate – Slope of the log-magnitude curve near the cut off frequency. It indicates the ability of the
system to distinguish a signal from noise
Phase margin – 180o+phase angle at the gain crossover frequency. The phase margin indicates how
much the system angle can be increased to make the system unstable.
Gain margin – reciprocal of the gain at phase cross over frequency. It indicates how much the gain can
be increased to make the system unstable.
For the canonical second order systems, there is a direct correlation between the time domain
specifications and the frequency domain specifications.
These are plotted on a semilog paper. That is the x-axis is logarithmic and the y-axis is linear.
0.8
0.6
0.4
0.2
-0.2
-0.4
-0.6
-0.8
-1
-1 0 1
10 10 10
Semilog paper: Note the x axis is logarithmic while the y axis is linear.
Factors of G ( j ) H ( j )
Bode Diagram K 5
15
14.5
Magnitude (dB)
14
f
13.5
13
Magnitude _ plot
12.5
1
0.5
Phase (deg)
0
f
-0.5
Phase _ plot
-1
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/sec)
1
(ii) Integral factors
j
1
Magnitude: 20 log 20 log j 20 log dB
j
Phase: tan 1 90 o
0
Bode Diagram
40
Magnitude (dB) 20
-20
-40
-60
-89
-89.5
Phase (deg)
-90
-90.5
-91
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/sec)
The logarithm base is usually base 10. Therefore, the integral factor has a slope of -20dB/decade or -
6dB per octave
Phase: tan 1 90 o
0
Bode Diagram
60
40
Magnitude (dB)
20
0
f
-20
Magnitude _ plot
-40
91
90.5
Phase (deg)
90
89.5
f
Phase _ plot
89
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/sec)
1
(iv) First order factors 1 jT and
1 jT
1
We consider only since the phase and magnitude for 1 jT is equal, safe for change of
1 jT
sign.
1
Magnitude: 20 log 20 log 1 jT 20 log 1 2T 2 dB
1 jT
1
At such that 1 2T 2 1 , the magnitude is approximately 20 log 1 0
T
1
At such that 1 2T 2 T ; the magnitude is approximately 20 log T
T
1
At ; such that 1 2T 2 2 ; the magnitude is 20 log 2 3dB
T
T
Phase angle: tan 1
1
1 1 1 0
At such that , the phase is approximately tan 1 0
T 1 jT 1 1
1 1 1 jT
At such that ; the phase is approximately tan 1 90 o
T 1 jT jT 0
1 1 1 1
At ; such that ; the phase is tan 1 45 o
T 1 jT 1 j 1
The plot is
-40
-80
0
f
Phase _ plot
Phase (deg)
-45
-90
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/sec)
1
is referred to as corner or break frequency since the two asymptotes have the same value ie
T
the low frequency asymptote and the high frequency asymptote
The asymptotes are easy to draw and are sufficiently close to the exact curve
Varying the time constant T shifts the corner frequency to the right or left but the shape of the curve
remains the same.
An advantage of the Bode diagram is that reciprocal factors need only a sign change.
(v) Quadratic factors
2
j j 1
1 2 and
n n j j
2
1 2
n n
In a similar manner, the curves for the magnitude and phase can be obtained as
Bode Diagram
20
0.1
0 0.5
1 f
Magnitude (dB)
-20
-40
-60
-100
0
0.1
0.5
-45
1
Phase (deg)
-135
-180
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/sec)
G( j) has a peak value at some frequency called the resonant frequency. This occurs at
r n 1 2 2 ; 0 0.707
1
And Mr . For 1 , Mr 1
2 1 2
(a) Rewrite the sinusoidal transfer function G ( j ) H ( j ) as a product of the basic factors
(b) Identify the corner frequencies associated with these basic factors
Example
10(s 3)
G( s)
s(s 2)( s 2 s 2)
10( j 3)
Rewrite G( j ) . This can further be factored as
j ( j 2)( j j 2)
2
j
1) 7.5(
G ( j ) 3
j (
j
1)(
j 2 j 1)
2 2 2
This is composed of
Gain =7.5
Bode Diagram
19
18.5
Magnitude (dB)
18
17.5
17
16.5
1
0.5
Phase (deg)
-0.5
-1
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/sec)
1
Intergral factor
j
Bode Diagram
40
20
Magnitude (dB)
-20
-40
-60
-89
-89.5
Phase (deg)
-90
-90.5
-91
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/sec)
j
First order factor 1 , corner frequency = 3
3
Bode Diagram
60
50
Magnitude (dB)
40
30
20
10
0
90
Phase (deg)
45
0
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/sec)
1
First order factor , corner frequency = 2
j
1
2
Bode Diagram
0
-10
Magnitude (dB)
-20
-30
-40
-50
-60
0
Phase (deg)
-45
-90
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/sec)
1
Quadratic factors , corner frequency = 2
j 2
j
1
2 2
Bode Diagram
50
0
Magnitude (dB)
-50
-100
-150
0
-45
Phase (deg)
-90
-135
-180
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/sec)
Bode Diagram
100
50
Magnitude (dB)
-50
-100
-150
-200
-90
-135
Phase (deg)
-180
-225
-270
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/sec)
Note:
You can also draw a table with ranges of frequencies and calculate the magnitude and the phase to use
in plotting.
0 0.01 0.1 0.2 0.5 10 100 5000 etc
G( j)
G ( j )
You need not have two plots, the same plot with two different y-scales for the log magnitude and angle.
Notice that the figure has two curves with the LHS scale is for the magnitude and the RHS scale for the
phase
Exercise:
Read how you can obtain the static error constants Kp , Kv and Ka from the Bode plots
0.6
150 30
0.4
0.2
180 0
210 330
240 300
270
1
(i) intergral factors G( j )
j
1
G ( j ) , G ( j ) tan 1 90 o
0
0 1 2 5 100
90
1
120 60
0.8
0.6
150 30
0.4
0.2
180 0
210 330
240 300
270
1
(ii) First order factors G( j )
1 jT
1
G ( j ) ; G ( j ) tan 1 T , which is generally a semi circle
1 T 2 2
1
Consider G ( s ) ;
s 1
1 1
G( j ) and G ( j ) ; G ( j ) tan 1
1 j 1
2
0 1 2 5 10 100
-0.05
-0.1
-0.15
-0.2
-0.25
-0.3
-0.35
-0.4
-0.45
-0.5
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
1
Quadratic factors 2
takes the general form
j j
1 2
n n
0
-0.02
-0.04
-0.06
-0.08
-0.1
-0.12
-0.14
-0.16
-0.18
-0.06 -0.04 -0.02 0 0.02 0.04 0.06 0.08 0.1 0.12
Exercise
10( s 1)
(i) Plot the Bode diagram for the following system G( s)
( s 2)( s 5)
s
(ii) Plot the Polar diagram for G( s)
( s 1)
1
(iii) Plot the Nyquist diagram for G( s)
s( s 1)
Phase margin is the difference between phase angle and -180o ie 180o
It has the advantage that relative stability of the closed loop can be determined quickly and that the
compensation can be worked out easily
Example
1
G( j )
1 j
0 0.1 0.5 1 10 100
Magnitude
Phase
C(s)
R(s)
G(s)
E(s)
H(s)
C ( s) G( s )
R( s ) 1 G ( s ) H ( s )
For stability, the roots of 1 G ( s) H ( s) must lie on the Left Hand Side of the s-plane
Nyquist stability criterion determines the stability of a closed loop system from its open loop frequency
response and open loop poles.
Although the poles of the open loop TF G ( s ) H ( s ) may lie on the RHS of the s plane, the systemis stable
if the closed loop poles lie on the LHS of the s plane.
Therefore the Nyquist stability criterion relates the open loop frequency response G ( j ) H ( j ) to the
number of poles and zeros of 1 G ( s) H ( s) that lie on the RHS of the s plane
MAPPING THEOREM
A function F (s) maps a complex variable in the s-plane to produce another complex number. For
example, let F (s) s 2 2s 1 be the mapping function. A complex variable s 4 3 j in the s-plane is
mapped onto F (s) F (4 3 j ) (4 3 j ) 2 2 (4 3 j ) 1 16 30 j
We extend this mapping to contour mapping where a collection of points that form a contour in the s-
(s z1 )( s z 2 )...(s z n )
plane is mapped under some arbitrary mapping F (s) 1 G(s) H (s) in the
(s p1 )( s p 2 )...(s p m )
F(s)-plane.
s plane
F ( s ) plane
A
A'
Such that point A maps onto point A' and so on A contour in the s-plane maps onto a contour in the
F(s) plane which may be stated as for a given continuous closed path in the s plane, there corresponds a
closed curve in the F(s) plane.
The direction of the contour (clockwise or anticlockwise)in the F(s)-plane depends on whether the
contour in s-plane encompasses the zeros and/or poles of F (s)
Applying the mapping theorem for the determination of the system stability, our interest will be to find
the closed path contour in the F(s)-plane for corresponding RHS of the s- plane.
We chose our contour as the clockwise path encompassing the entire RHS of the s-plane. This is called
the Nyquist path.
If there exists a pole or a zero on this path , we make a detour of infinitesimal radius
j
j
This path is chosen to enclose all the poles and zeros of F ( s ) 1 G ( s ) H ( s ) that have positive real
paths
The condition for a physically realizable system is that the degree of the denominator polynomialmest
be higher than that of the numerator polynomial such that
(ii) As is varied from to in the clockwise direction, the contour in the F(s) plane may
circle the origin
F ( s ) _ plane
Cons tan t
Since 1 G ( j ) H ( j ) if the vector sum of the unit vector 1 and the vector quantity G ( j ) H ( j ) , the
curve of 1 G ( j ) H ( j ) is identical to that of G ( j ) H ( j ) with the origin translated to - 1 j 0 for
the latter case.
1 F ( s ) _ plane F ( s ) _ plane
1 G ( j ) H ( j )
G ( j ) H ( j )
Constant 1 j0
This forms the basis of the Nyquist stability criterion which states
For stability, as ω is varies from to , the locus of G ( j ) H ( j ) must encircle the point -1+j0 k
times in the counter clockwise direction, where k is the number of poles in the RHS of the s plane.
Example1
K
For the system G(s) H (s)
(T1 s 1)(T2 s 1)
1 j0
The open loop transfer function has got no open loop pole in the RHS of the s plane
Example 2
K
G( s) H ( s)
s(T1 s 1)(T2 s 1)
1 j0
1 j0
For large values of K, the path encloses the point -1+j0 in the clockwise direction, hence is non
stable
Example 3
Consider the system
K ( s 3)
G( s) H ( s)
ss 1
Exercise
2( s 3)
Determine the stability of the system G ( s) H ( s)
ss 1
1
The inverse polar plot of G ( j ) H ( j ) is the graph of . The Nyquist stability criterion
G( j ) H ( j )
applied to the inverse plot states that
For a closed loop system to be stable, the encirclements, if any, of the -1+j0 point by the locus of
1
must be counter clockwise and the number of such encirclementsmust equalto the
G( j ) H ( j )
1
number of poles of that lie on the RHS.
G( j ) H ( j )
Example
3( s 0.5)
G( s)
s3 s2 1
1 s3 s2 1
G ( s ) 3( s 0.5)
1 j0
The closeness of the locus of G ( j ) H ( j ) to the point -1+j0 is a measure of the margin of stability.
Gain Margin – This is the reciprocal of the magnitude G( j) H ( j) at the frequency at which the phase
angle is -180o
Phase crossover frequency – This is the frequency at which the phase angle of the open loop TF equals -
180o
GH _ plane
1
1
Kg Kg
G ( j )
In dB K g (dB) 20 log G ( j )
A positive gain margin means the system is stable. It indicates how much the gain can be increased (for a
stable system) to make the system unstable or how mush the gain must be decreased (unstable system)
to make the system stable.
Phase margin – This is the amount of the additional phase lag at the gain crossover frequency required
to bring the system to the verge of stability 180 , where is the phase angle
Phase and gain margins are also obtained from Bode plots and Log magnitude Vs Phase plots
Unit _ circle
1
1
Kg
Phase _ m arg in
dB 0
3dB
b
Cut off frequency is the frequency at which the magnitude of the closed loop frequency response is -3dB
Bandwidth
This is the frequency range 0 b where the magnitude of the frequency response does not go
below -3dB. A large bandwidth corresponds to a small rise time or fast response.
Cut off rate
This is the slope of the log magnitude curve near the cut off frequency. A closed loop frequency
response with a steep cut off characteristics has a large resonant peak magnitude.
Im
GH _ Plane
1 j0
0
P
Re
A
OA
OA represents G( j) while PA represents 1 G( j) . The ratio represents the closed loop
PA
frequency response and the phase angle is the angle
C ( j )
We can represent Me j , where M is the magnitude and α the phase angle
R( j )
M2 M
We can construct loci for constant M centered at 2 ,0 and radius
M 1 M 2 1
Cons tan t _ M _ circles
1 1 1 1
Similarly, We can construct constant phase angle circles centered at , radius
2 2N 4 (2 N ) 2
The use of constant M and constant N circles enable us to find the entire closed loop frequency
response from the open loop frequency response.
It is convenient to construct the M and N loci in the log magnitude versus phase plane. The resulting
chart is known as the Nichols chart.
Nichols chart gives both the gain characteristics and the phase characteristics at the same time.
One can determine the following from the chart easily
Phase margin
Gain margin
Resonant frequency
Bandwidth etc of the closed loop system from the plot of the open loop system
0.5dB
2dB
12dB
90
120 180 120 90
150 150
Nichols chart
Phase margin
Gain margin
Resonant frequency
Bandwidth
The approaches used in the design are polar plots and the Bode plots
Polar plots are more complicated because the shape of the plot changes. Bode plots provide a
convenient approach because the compensator plot is simply added onto the original diagram
LEAD COMPENSATION
1
s
A lead compensator takes the form Gc( s ) Kc T , 0 1
1
s
T
Bode Diagram
35
30
Magnitude (dB)
25
20
15
40
30
Phase (deg)
20
10
0
-2 -1 0 1 2 3
10 10 10 10 10 10
Frequency (rad/sec)
1
The maximum phase angle m occurs at m where sin m
1
1
And m
T
Example
4
s ( s 2)
It is desired to design a lead compensator for the system such that the static velocity error constant is
20sec-1 with a phase margin of atleast 50o and the gain margin atleast 10dB.
Solution
Step 1
Determine the value of K that satisfies the static velocity error constant Kv
1
s
T 4
GGc( s) Kc
1 s ( s 2)
s
T
Kc 10
Step 2
Plot the Bode plot with the adjusted gain so as to determine the phase and gain margin of the
uncompensated system
40
Now G( s)
s( s 2)
Bode Diagram
Magnitude (dB) 50
-50
-90
Phase (deg)
-135
17 o
-180
-1 0 1 2
10 10 10 10
Frequency (rad/sec)
Step 3
Determine the amount of phase required to bring the phase margin to the required value
=50o-17o=33o
We usually add between 5o and 12o to account for the shift in the gain crossover frequency. Therefore
the required phase lead = 33o+5o=38o
Step 4
1
sin m , =0.24
1
Determine the frequency where the magnitude of the uncompensated system G ( j ) is equal to
1 1
20 log . This becomes the new gain cross over frequency which corresponds to m
T
1 1
6.2dB
0.24
Step 5
Determine the corner frequencies
1
This frequency corresponds to
T
1 1
c ; c 4.41
T T
1
c 18.4
T
s 4.41 4
GGc(s) 41.7
s 18.4 s(s 2)
Bode Diagram
30
20
Magnitude (dB)
10
-10
-20
0
Phase (deg)
-45
-90
-1 0 1 2 3
10 10 10 10 10
Frequency (rad/sec)
Note: Obtaining the phase and gain margins from
Bode diagram
dB
Gain _ m arg in
90
180
Phase _ m arg in
270
dB
Gain _ m arg in
0
180
Phase _ m arg in