Introduction To Control Systems-Student-2021 - 2022 New
Introduction To Control Systems-Student-2021 - 2022 New
TO
CONTROL SYS-
TEMS
BY
Omotosho Temidayo Victor
Professor of Atmospheric and Radio
Communication Physics
PHY451 COURSE OUTCOMES
At the end of the whole course, the student is expected to
develop the:
1. Ability to apply various mathematical principles (from
calculus and linear algebra) to solve control system
problems.
2. Ability to obtain mathematical models for such
mechanical, electrical and electromechanical systems.
3. Ability to derive equivalent differential equation, transfer
function and state space model for a given system.
4. Ability to perform system’s time and frequency-domain
analysis with response to test inputs. Analysis includes the
determination of the system stability.
PHY421 COURSE EVALUATION
Practicalproject : 10%
Assignments : 10%
Mid-Term : 10%
Final Examination : 70%
in Azimo
Humanoid robot
in manufacturing
processes in CNC machines
36
Application Examples
Drones -
unmanned
aerial vehicles
In cruise missiles
In battle tanks
In robot warriors 37
1. SPEED CONTROL SYSTEM
ROLL
YAW
PICTH
49
50
Loop Autopilot Engaged & Disengaged 51
Ship Stabilization Control System. (a) Ship in roll position;
(b) simplified block diagram of ship stabilization control system
i..
66
Two major configurations of control systems
Riding with
eyes closed
69
Two Outstanding Features of Open-loop Control Systems
Arms steer
Eyes sense
Brain compute
75
CONTROL SYSTEM IS ALSO AUTOMATION
Processor (Brain)
Feedback(Eyes)
Output
Controlling Unit(hand) action unit
(Leg)
Goal of the system: Position the reader head in order to read data
stored on a track.
Variables to control: Position of the reader head
DISK DRIVE READ SYSTEM
Specification:
i. Speed of disk: 1800 rpm to 7200 rpm
ii. Distance head-disk: Less than 100nm
iii. Position accuracy: 1 µm
iv. Move the head from track ‘a’ to track ‘b’ within 50ms
System Configuration:
Six Characteristics of Closed-loop Systems
1. Increased accuracy. For example, the ability to
faithfully reproduce the input.
2. Tendency toward oscillation or instability
3. Reduced sensitivity of the ratio of output/input to
variations in SYS parameters & other characteristics
4. Reduced effects of nonlinearities.
5. Reduced effects of external disturbances or noise.
6. Increased bandwidth. The bandwidth of a system
is a frequency response measure of how well the
system responds to variations in the input signal.
Three Advantages of Closed-loop systems
1. Greater accuracy than the open-loop
systems.
2. They are less sensitive to noise,
disturbances and changes in environment.
3. Transient response & steady-state error can
be controlled more conveniently and with
greater flexibility in a closed-loop system,
often by a simple adjustment of gain
(amplification) in the loop and sometimes by
redesigning the controller.
Example: Open-loop vs Closed Loop
Process of Walking:
Desired output: a point where you want to be.
Controller: the brain
Plant or process: the legs
Open-loop control:
Walking with your eyes closed.
Dropping a Bomb:
Objective of dropping a bomb
from a height is to hit a target
below.
Desired output: Target below
Photo courtesy U.S. Air Force
Plant or process: the bomb with
its control fins
85
Example: Open-loop vs Closed
Dropping a Bomb:
Loop Objective of dropping a bomb
from a height is to hit a target
below.
Desired output: Target below
Plant or process: the bomb with
its control fins
Disturbance
Controlled Manipulated
Error Signal Variable
Set-point or Actual
Reference + Output
input + +
+ Controller Actuator + Process
-
Sensor
Feedback Signal
Components in a Closed Loop System
Computer-controlled systems
In modern systems, the controller/compensator is a
digital computer. The advantage of using a computer
is that many loops can be controlled or compensated
by the same computer through time sharing.
Furthermore, any adjustments of compensator
parameters requires to yield a desired response can
be made by changes in software rather than
hardware. The computer can also perform
supervisory functions, such as scheduling many
required applications
Computer control systems
A very important category of real time systems are automatic control
systems. In fact all control systems are real-time systems because
they must react to external events within a specified amount of time.
Digital control
of an Air Heater:
FIG 1-2
The system shown in Fig. 1-2, consisting of a mirror
pivoted at one end and adjusted up and down with a
screw at the other end, is properly termed a control
system.
1. Identify the input and
2. Output for the pivoted,
Note: some of these devices require an analogue signal to operate them. This means
that they need to be connected to the computer using a digital-to-analogue
converter.
06/09/2022 171
Traffic Light Control System
Distributed System
A set of intersections
A set of connection
(roads)
Traffic lights regulating
Traffic lights are
controlled independently
•Few drivers
•Unusual
Better Actuators
Provide more Muscle
Better Control
Provides more finesse by combining sensors and
actuators in more intelligent ways
Disturbances and Uncertainty
One of the things that makes control science
interesting is that all real life systems are acted
on by noise and external disturbances. These
factors can have a significant impact on the
performance of the system. As a simple
example, aircraft are subject to disturbances in
the form of wind-gusts, and cruise controllers in
cars have to cope with different road gradients
and different car loadings.
Homogeneity
A final point is that all interconnected systems,
including control systems, are only as good as
their weakest element. The implications of this
in control system design are that one should
aim to have all components (plant, sensors,
actuators, communications, computing,
interfaces, algorithms, etc) of roughly
comparable accuracy and performance.
In order to make progress in control engineering
(as in any field) it is important to be able to
justify the associated expenditure. This usually
takes the form of a cost benefit analysis.
Typical steps include:
1. Assessment of a range of control
opportunities;
2. Developing a short list for closer examination;
3. Deciding on a project with high economic or
environmental impact
Cost benefit analysis
4. Consulting appropriate personnel
(management, operators, production staff,
maintenance staff etc.);
5. Identifying the key action points;
6. Collecting base case data for later
comparison;
7. Deciding on revised performance
specifications;
8. Updating actuators, sensors etc.;
Cost benefit analysis (Contd.)
9. Development of algorithms;
10. Testing the algorithms via simulation;
11. Testing the algorithms on the plant using a rapid
prototyping system;
12. Collecting preliminary performance data for
comparison with the base case;
13. Final implementation;
14. Collection of final performance data;
15. Final reporting on project.
Signals and systems terminology
The Design of Feedback Control systems
STEP 1
Detailed layout
STEP 2 Functional block diagram
Antenna Control System
Functional Block Diagram
Wind force
Antenna System
volts torque Angular
Ref. + volts power position
input Diff. Power
_
amp amp Motor Antenna
Error
volts
Angle
Feedback Path sensor
219
STEP 3 Schematic layout
Step 5: Reduce the Block Diagram
Step 6: Analyze and Design
• Ramp inputs represent constant-velocity inputs
to a position control system by their linearly
increasing amplitude. These waveforms can be
used to test a system’s ability to follow a linearly
increasing input or, equivalently, to track a
constant velocity target. For example, a position
control system that tracks a satellite that moves
across the sky at a constant angular velocity, as
shown above, would be tested with a ramp input
to evaluate the steady-state error between the
satellite’s angular position and that of the control
system.
Finally, parabolas, whose second derivatives are
constant, represent constant acceleration inputs
to position control systems and can be used to
represent accelerating targets, such as the missile
above, to determine the steady-state error
performance.
SYSTEM MODELING
228
System Modeling: An Introduction
• Any physical system or process may be defined as one
which operates on one or more inputs to produce one
or more outputs. All the physical processes are
dynamic in nature which depends on time. Before
designing any process, we have to predict the output
of the process for a defined input. A good design
should pre tell about the output of the system for all
possible inputs. Practically speaking the inputs will not
be very accurate as we think and design. There should
be some ‘Pilot running’ before operating the actual
process. This may be done by simulation, emulation or
experimentation
• There are two types of analyzing a system
• By experimentation
• By Modeling 229
Experimentation
Experimentation is done by constructing the
system and testing with some definite
inputs. In this method there are some
demerits. They are as follows:
Cost for construction will go in vain if the design is
not appropriate
There may be a Loss / Damage / Breakage in system
while experimenting on it
So experimentation is not a suitable solution for
analyzing any system. There must be some alternate
for this, which is nothing but the modeling.
230
Modeling
• Modeling, as the literal meaning denotes, it is
generating a model for a real process or system.
Example: Model examination is a typical process
equivalent to an university examination
Tw(s)
+ p(s)
Sa(s) 1 + 1 1
Gc(s)
Ra s La
Kh BmGp(s)
s Jm s
+
-
Ks
233
Types of Models
• Physical Models
A model for a given system
– scale models depends upon:
– analogue models • defined system boundaries
• objective of the study
• Mathematical Models • level of approximation
– analytically based required
– experimentally based
234
Types of Models
• A design model will often have many
assumptions and simplifications made to allow
the use of analytical methods (we will normally
require linear, time-invariant models).
237
The Modeling Process
5. Make simplifications to create an
approximate model suitable for control
design.
– Linearization of model equations
– Reduce the order of the model by eliminating
unimportant dynamics
– Use lumped parameter approximations for distributed
parameter system.
trade-off
Model Complexity Model Accuracy
238
Mathematical Modeling
• The most powerful tool in designing any system is
the mathematical modeling. Mathematical modeling
is representing the physical system by means of
mathematical equation. Most of the systems are
dynamic in nature. So systems are represented as
mathematical function of time. Example x(t), y(t)
etc. There are lots of easy and powerful tools
available in mathematics which further reduces the
complexity in analysis. Differential equations are
the equations in mathematics that are used to
represent dynamic functions. Physical systems are
thus modeled as differential equations in
mathematical modeling.
6/9/22 239
There are several physical systems like mechanical,
electrical, electro mechanical, thermal, hydraulic,
pneumatic etc., Every system has got its own way of
modeling which is dealt in detail in the forth coming
sessions. Before modeling any physical system, we
should understand that the modeling is based on the
energy storage capacity of the process. The energy
storage capacity is the factor that makes the system
highly dynamic.
• In an electrical system, any electrical component
will be one of or a combination of the three
elements
• Resistance (Energy Non storing / Energy Dissipating
element)
• Inductance (Energy Storage element)
• Capacitance (Energy Storage element)
240
Mathematical Modeling
241
Mathematical Modeling
243
Linear System
What is Linear System?
The system whose steady state output is always
proportional to input is a Linear System. During
transient state, this need not be maintained
A system whose transient output is proportional to
input at the instant of the application of input is
the zero order linear system
Zero order system is the simplest linear system to
analyze, but most difficult to construct
Examples of Physical Systems
244
Non-linear System
• What is Non-linear System?
In the real world, all the elements, devices,
processors are all non-linear but they differ in
degree of nonlinearity. Some will be slightly
nonlinear and some moderately nonlinear and
many are totally non-linear
• They are governed by non-linear differential
equations
• Example – Vanderpol Equation
245
How to detect non-linear system?
• A linear system when applied with sinusoidal
input will give sinusoidal output with different
magnitude and in phase
• Only zero order linear system will give sinusoidal
output magnified by a constant with zero phase
shift
• For non-linear system, the output for sinusoidal
input with fixed frequency is non-sinusoidal in
nature, while frequency remains same
• If differential equation is available, then applying
the principle of linearity, superposition etc., the
difference between linear and nonlinear system
can be identified
MODELING OF PHYSICAL SYSTEMS
• One of the common tasks in the analysis and
design of control systems is Mathematical
Modeling of the Systems
• Mathematical model of a dynamic system is
defined as a set of equations that represents the
dynamics of the system accurately, or at least
fairly well
• Dynamics of any system (mechanical, electrical, thermal,
economic, biological etc.) may be described in terms of
differential equations. Such equations are obtained by
physical laws governing a particular system. Eg. Kirchhoff’s
laws
6/9/22 for electrical system 247
• Once a mathematical model of a system is
obtained, various analytical and computer tools
can be used for analysis and synthesis purposes
i
+
v
Resistance v=Ri v = R dq/dt
_
i
Capacitance v = 1/C i dt v = 1/C q
+
v
_
BASIC LAWS
– Kirchhoff’s voltage law: The algebraic
sum of voltages around any closed loop
in an electrical circuit is zero
i
Inductance v = L di/dt v = L dq2/dt2
+
v
_ Resistance v=Ri v = R dq/dt
293
Electrical Network Transfer Functions
The transfer function to the mathematical modeling
of electric circuits including passive networks and
operational amplifier circuits. Subsequent sections
cover mechanical and electromechanical systems.
Equivalent circuits for the electric networks that we
work with first consist of three passive linear
components: resistors, capacitors, and inductors.
Table below summarizes the components and the
relationships between voltage and current and
between voltage and charge under zero initial
conditions.
TABLE below Voltage-current, voltage-charge, and
impedance relationships for capacitors, resistors,
and inductors Note: The following set of symbols
and units is used throughout this example:
v(t) V(volts),
i(t) A(amps), q(t)
Q (coulombs),
C F(farads),
R (ohms),
G (mhos),
L H (henries).
Example: An RC Circuit
Find the transfer function Vo(s) / Vi(s) . R
1 1
vi R i i dt , vo i dt vi i vo
C C
Taking the Laplace
1 1
Vi ( s ) R I ( s ) , Vo ( s ) I ( s)
sC sC
then, eliminating I(s)
1 Vo ( s ) 1
Vo ( s ) Vi ( s ) or
1 RCs Vi ( s ) 1 s
where, = RC
297
Transfer Function—Single Loop via the Differential
Equation
• PROBLEM: Find the transfer function relating
the capacitor voltage, Vc(s), to the input
voltage, V(s) in Figure below
SOLUTION: In any problem, the designer must
first decide what the input and output should
be. In this network, several variables could have
been chosen to be the output—for example, the
inductor voltage, the capacitor voltage, the
resistor voltage, or the current. The problem
statement, however, is clear in this case: We are
to treat the capacitor voltage as the output and
the applied voltage as the input. Summing the
voltages around the loop, assuming zero initial
conditions, yields the integral-differential
equation for this network as
Block diagram of
series RLC electrical network
• Let us now develop a technique for
simplifying the solution for future problems.
First, take the Laplace transform of the
equations in the voltage-current column of
Table assuming zero initial conditions
Notice that this function is similar to the definition of
resistance, that is, the ratio of voltage to current. But,
unlike resistance, this function is applicable to capacitors and
inductors and carries information on the dynamic behavior
of the component, since it represents an equivalent
differential equation. We call this particular transfer function
impedance. The impedance for each of the electrical
elements is shown in Table 2.3. Let us now demonstrate how
the concept of impedance simplifies the solution for the
transfer function. The Laplace transform of Eq. 2.61),
assuming zero initial conditions, is
FIGURE 2.5 Laplace-transformed
network
Transfer Functions of Dynamic
Elements and Networks
Basic Laws
Newton’s Laws
– A body will accelerate when acted on by a
net force
– Force equals the rate of change of
momentum
– Every applied force is reacted by an equal
and opposite force
Mechanical Translation Models
x
force/velocity force/position
f
M
Mass f = M dv/dt f = M dx2/dt2
x
f Viscous f=Bv f = B dx/dt
B friction
Spring f = k v dt f=kx
f x
313
Models of Mechanical Systems
Mechanical translational systems
dv(t )
• Newton’s second law: f (t ) Ma (t ) M
dt
T,
Inertia T = J d/dt T = J d2/dt2
T,
Viscous T=B T = B d/dt
B friction
Stiffness T = s dt T=s
s
T,
315
Transformation Models
i1 i2
v1 v2 v1 N1 i1 N2
Transformer = =
N1 N2 v2 N2 i2 N1
f2 , x2
f1 , x1 f1 L2 x1 L1
L2 Lever = =
L1
f2 L1 x2 L2
T2 , 2
N1 T1 N1 q1 N2
Gears = =
T2 N2 q2 N1
N2
T1 , 1
316
Example 1 Mechanical system: Spring-mass-damper system.
2
1
2
Solution of a Differential Equation using Matlab
State-Space Representation
The limitation of transfer function representation
becomes obvious as we tackle more complex problems.
For complex systems with multiple inputs and outputs,
transfer function matrices can become very clumsy. In
modern control, the method of choice is state-space or
state variables in the time domain – essentially a matrix
representation of the model equations.
What Are We Up to?
Learning how to write the state-space representation
of a model.
Understanding the how a state-space representation is
related to the transfer function representation
Understand state variables, state differential
equations, and output equations.
Recognize that state variable models can describe
the dynamic behavior of physical systems and can be
represented by block diagrams and signal flow
graphs.
Know how to obtain the transfer function model
from a state variable model, and vice versa.
Be aware of solution methods for state variable
models and the role of the state transition matrix in
obtaining the time responses.
Understand the important role of state variable
modeling in control system design.
A time-varying control system is a system in
which one or more of the parameters of the
system may vary as a function of time. For
example, the mass of an airplane varies as a
function of time as the fuel is expended
during flight. A multivariable system is a
system with several input and output signals.
The time-domain representation of control
systems is an essential basis for modern control
theory and system optimization. The time-
domain analysis and design of control systems
uses the concept of the state of a system
Advantages of State Variable Analysis
Dynamic Observation
Process Process
Controllable
inputs u u
State equation Observations
D
y
B x +
+ 1/s C
A
Output equation
State x
Disturbance Measurement
(noise) w Error (noise) n
Plant
446
State Space Model Example : RLC Circuit
State x
Disturbance Measurement
(noise) w Error (noise) n 456
Plant
Very few processes (and systems) have an input that has
a direct influence on the output. Hence D is usually
zero. When we discuss single-input-single-out put(SISO)
models, scalar variables should be used for the input,
output, and feedthrough: u, y, and D. For convenience,
we keep the notation for B and C, but keep in mind
that, in this case, B is a column vector and C is a row
vector. If x is of the order of n, then A is n × n, B is n × 1,
and C is 1 × n. The idea behind the use is that we can
make use of linear system theories, and we can analyse
complex systems much more effectively. There is no
unique way to define the state variables. What will be
shown is just one of many possibilities
Example 1b: Find the state equations for the
translational mechanical system shown below
SOLUTION: First write the differential equations for
the network, using the methods of the Laplace-
transformed equations of motion. Next take the
inverse Laplace transform of these equations,
assuming zero initial conditions, and obtain
Examples 2
Derive the state-space representation of a second-
order differential equation below
which allow us to redefine the second-order equation as a set of two coupled first-
order equations. The first differential equation is the definition of the state variable
x2 in Eq. (Equation 3); the second is based on the differential equation
6
as a statement that x1 is our output variable.
Compare the results with Eqs. (1) and (2), and we see
that, in this case,
8
9
which is the form of Eq. (2). With MATLAB, the statements for this
example are
Comments at the end of Example 1 also apply here. The result should
be correct, and we should find that both the roots of the
characteristic polynomial p
and the eigenvalues of the matrix a are −0.2 ± 0.98 j .
We can also check by going backward:
11
Thus all the coefficients in Eqs. (1) and (2) are scalar, with A = −3, B =
1, C = −1, and D = 1. Furthermore, (E10) and (E11) can be represented
by the block diagram in Fig. below
We may note that the coefficient D is not zero, meaning that, with a
lead–lag element, an input can have an instantaneous effect on the
output. Thus, although the state variable x has zero initial condition, it is
not necessarily so with the output y. This analysis explains the mystery
with the inverse transform of this transfer function. The MATLAB
statement for this example is
State Space Analysis
480
State Space Models
For continuous time systems
Consider
num=[10 10]
den=[1 6 5 10]
[A,B,C,D] = tf2ss(num,den)
A=
-6 -5 -10
1 0 0
0 1 0
B=
1
0
0
C=
0 10 10
D=
0
Transformation from State space to transfer
function
A=[-6 -5 -10;1 0 0;0 1 0]
B=[1;0;0]
C=[0 10 10]
D=[0]
[num,den]=ss2tf(A,B,C,D)
num =
den =
1
0
0
Q=
1 -6 31
0 1 -6
0 0 1
ans =
3
Observability
• Consider the system with state equation
x Ax Bu and y Cx Du, a
composite matrix Q can be formed such that
T
Q [C A C T T
A
T 2
C ....
T
AT
C ]
n 1 T
A=
A=[-6 -5 -10;1 0 0;0 1 0]
C=[0 10 10] -6 -5 -10
Q=[C' A'*C' (A'^2)*C'] 1 0 0
0 1 0
rank(Q)
C=
0 10 10
Q=
0 10 -50
10 10 -50
10 0 -100
ans =
3
Control design methodology
Controller
Modeling Design
analytical Dynamic model Root-Locus PI Control algorithm
system IDs Control
Satisfy
Requirement
Performance Specifications
Analysis
Design Goals
Performance Specifications
• Stability
• Transient response
• Steady-state error
• Robustness
– Disturbance rejection
– Sensitivity
Stability
Concept Of Stability
im1 ( s zi ) C1 C2 Cn
Y ( s ) G ( s )U ( s ) K n ...
i 1 ( s pi ) s p1 s p2 s pn
n
y (t ) Ci e pit
i 1
pi t t
Note : Ci e
if Re[ pi ] 0
Example
• Consider the Transfer function calculated in previous
slides.
X (s) C
G( s )
Y ( s ) As B
B
s
A
514
Examples
• Consider the following transfer functions.
– Determine
• Whether the transfer function is proper or improper
• Poles of the system
• zeros of the system
• Order of the system
s3 s
)i G( s ) )ii G( s )
s( s 2 ) ( s 1)( s 2 )( s 3)
( s 3) 2 s 2 ( s 1)
)iii G( s ) )iv G( s )
s( s 2 10) s( s 10)
515
Stability of Control Systems
• The poles and zeros of the system are plotted in s-plane
to check the stability of the system.
j
LHP RHP
Recall s j
s-plane
516
Stability of Control Systems
1. If all the poles of the system lie in left half
plane (LHP) the system is said to be Stable.
2. If any of the poles lie in right half plane(RHP)
the system is said to be unstable.
3. If pole(s) lie on imaginary axis the system is
said to be marginally stable. j
LHP RHP
s-plane 517
Stability of Control Systems
• For example
C
G( s ) , if A 1, B 3 and C 10
As B
• Then the only pole of the system lie at
pole 3
j
LHP RHP
X
-3
s-plane
518
Examples
• Consider the following transfer functions.
Determine whether the transfer function is proper or
improper
Calculate the Poles and zeros of the system
Determine the order of the system
Draw the pole-zero map
Determine the Stability of the system
s3 s
)i G( s ) )ii G( s )
s( s 2 ) ( s 1)( s 2 )( s 3)
( s 3) 2 s 2 ( s 1)
)iii G( s ) )iv G( s )
s( s 2 10) s( s 10)
519
Performance Specs Stability
Stable
Unstable
The “Roots” of a Response
Im(s) Marginally
Stable
Stable
Unstable
Re(s)
527
Types of system description and their corresponding definitions of
asymptotic stability, marginal stability, and instability.
Various Stability criteria have been developed.
These criteria give pertinent information regarding
the stability of a system without directly applying the
definitions for stability and without requiring
complicated numerical procedures. The most
popular criteria are the following:
1. The algebraic (Routh, Hurwitz, and the
continued fraction) criteria,
2. the Nyquist criterion,
3. the Bode criterion, and
4. the Nichols criterion, as well as
5. the root locus technique, are all in the
frequency domain 2-5 are graphical methods
6. the Lyapunov criterion is in the time
domain.
out of the six criteria 1 to 5 are in the
frequency domain only one is in the time
domain
Performance Specs & Steady-state error
lim f (t ) lim sF ( s )
t s 0
where
p1 , p 2 ... p n 1 numerator coefficients
q1 , q1 ... q m 1 denominator coefficients
where
p1 , p 2 ... p n 1 the zeros of H(s)
q1 ,q1 ... q m 1 the poles of H(s)
Y ( s) 4s 3 4( s 0.75)
G (s) 2
U ( s ) s 6 s 5 ( s 1)( s 5)
06/09/2022 MATLAB Control Toolbox 567
Control System Toolbox
Zero-pole-gain model (ZPK)
where
x state vector
u and y input and output vectors
A , B ,C and D state-space matrices
x1 ' 0 1 x1 0 x1 (0) 0
x ' 5 6 x 1 u x (0) 0
2
2 2
x1
y 3 4
x2
b= d=
u1 u1
x1 0 y1 0
x2 1
ss2tf
zp2tf ss2zp
tf2zp zp2ss
Zero-pole-gain
3s 2
G( s )
2 s 3 4s 2 5 s 1
where γ = arg(C / R). The average value of Td(ω) over the frequencies
of interest is usually specified
4. Bandwidth (BW): The bandwidth of a system is defined as that
range of frequencies over which the system responds satisfactorily.
582
5. Cutoff Rate: is the frequency rate at which the magnitude ratio
decreases beyond the cutoff frequency ωc. For example, the cutoff
rate may be specified as 6 db/octave. An octave is a factor-of-two
change in frequency.
6. Resonance Peak Mp: is a measure of relative stability, is the
maximum value of the magnitude of the closed-loop frequency
response. That is,
Controlled
variable
Overshoot
Steady state error
%
Reference
Time
Settling time
TRANSIENT-RESPONSE ANALYSIS WITH MATLAB
Unit-step response curve.
596
EXAMPLE
A higher-order system is defined by
598
601
STABILITY ANALYSIS
BIBO: Bounded Input Bounded Output systems.
For LTI systems this requires that all poles of the closed-loop
Other methods find the exact locations of the roots. For first and
second order systems, analytical method can be used. For higher
order systems, computer programs or simulation are required.
The Routh-Hurwitz Stability Criterion
Consider the following equation of the nth degree
in s
ansn+an-1sn-1+…+a1s+a0=0, (1)
where the coefficients an, an-1, …, a1, a0 are all of
the same sign and none is zero.
Some roots will have +ve real parts and the system
will be unstable if all the coefficients of its
characteristic equation do not have the same sign
or if all the terms are not present.
616
Assignment 10: Make a Routh table and tell how
many roots of the following polynomial are in the
right half-plane and in the left half-plane.
Odd
632
ansn+an-1sn-1+…+a1s+a0=0, (1)
Step 1. Arrange the coefficients of the given equation in two rows in
the following fashion:
Row 1: an an-2 an-4 …
bn-3= -1 an an-4
an-3 an-1 an-5
635
Step 3. Form a fourth row from the second and third rows:
636
Step 4. continue this procedure of forming a
new row from the two preceding rows until only zeros are
obtained.
In general an array of n+1 rows will result with the last two
rows each containing a single element.
637
638
Statement : Routh-Hurwitz criterion states that the system whose
characteristic equation is eqn (1), is stable if and only if all the
elements in the first column of the array formed by the coefficients
in the above manner have the same algebraic sign.
If the elements in the first column are not all of the same sign, the
number of sign changes in the first column = the number of roots
with +ve real parts.
639
640
Problem 1
Apply Routh-Hurwitz criterion to the following equation
and find the stability of the system.
S4+2s3+3s2+4s+5=0
Solution:
Routh array
1st row: 1 3 5
2nd row: 2 4 0
3rd row: 1 5
4th row: -6
5th row: 5
Since the number of sign changes in the first column are
two, the given eqn has two roots with +ve real parts.
Hence the system is unstable.
643
Problem 2
Apply Routh-Hurwitz criterion to the following equation
and find the stability of the system.
S4+7s3+17s2+17s+6=0
Solution:
Routh array
1st row: 1 17 6
2nd row: 7 17
3rd row: 14.58 6
4th row: 14.12
5th row: 6
Since all the coefficients in the first column are of the
same sign (+ve) the given eqn has no roots with +ve real
644
parts. Hence the system is stable
Problem 3
Apply the Routh-Hurwitz criterion to the following
equation and find the stability of the system:
S5+2s4+2s3+4s2+11s+10=0
Solution
Here all the coefficients are +ve and none is zero. Hence
we proceed to write the Routh array as follows:
1st row: 1 2 11
2nd row: 2 4 10
3rd row: 0 6
We cannot proceed further because the first element in the
3rd row is zero.
645
The situation can be remedied by multiplying the original eqn by a
factor (s+a), where a>0, and then applying the same procedure.
The reasoning is that multiplication by (s+a) will change the
vanishing element without changing the number of roots with +ve
real parts.
Any +ve real number can be used for a; the simplest choice is a=1.
S6+3s5+4s4+6s3+15s2+21s+10=0
646
S6+3s5+4s4+6s3+15s2+21s+10=0
The Routh array now becomes :
1 4 15 10
1 2 7 (after dividing by 3)
1 4 5 (after dividing by 2)
-1 1 (after dividing by 2)
1 1 (after dividing by 5)
2
1
647
There are two changes of sign in the first column of the Routh
array, which indicates that there are two roots having +ve real
parts in the given eqn.
Hence the system is unstable.
648
Problem
Apply the Routh-Hurwitz criterion to the following
equation and find the stability of the system:
S5+s4+4s3+24s2+3s+63=0
Solution
Here all the coefficients are +ve and none is zero. Hence
we proceed to write the Routh array as follows:
1st row: 1 4 3
2nd row: 1 24 63
3rd row: -1 -3 (after dividing by 20)
4th row: 1 3 (after dividing by 21)
5th row: 0
?
.
649
We cannot proceed further because of the zero in the fifth row.
650
Examination reveals that this situation will occur whenever the array
has two consecutive rows in which the ratio of the corresponding
elements is constant.
When this happens, all the elements in the following row will vanish.
This is an indication that the given eqn has at least one pair of roots
which lie radially opposite to each other and equidistant from the
origin.
651
The row can be completed by forming an auxiliary polynomial in
s2, using the elements in the last non vanishing row as its
coefficients; the coefficients of the derivative of this
aux.ploynomial has to be taken for the elements in the following
row.
In the problem, the elements in the last non vanishing row are 1 and
3; hence the aux. polynomial in s2 is
s2 +3
652
The derivative of this polynomial is
2s, whose coefficient 2 is to be taken as the element in the
row following the last non vanishing row.
The Routh array now becomes
1 4 3
1 24 63
-1 -3
1 3
2
3
653
There are two changes of sign in the first column and hence
there two roots with +ve real parts. Hence the system is
unstable.
The roots of the eqn formed by the aux polynomial
654
Some basic results:
Second order system:
P2 ( s) s 2 a1s a0 ( s p1 )( s p2 )
s 2 ( p1 p2 ) s p1 p2
P2 ( s) s 3 a2 s 2 a1s a0 ( s p1 )( s p2 )( s p3 )
s 3 ( p1 p2 p ) s 2 ( p1 p2 p1 p3 p2 p3 ) s p1 p2 p3
We see that the coefficients of the polynomial are given by:
an 1 negative of the sum of all roots.
an 2 sum of the products of all possible combinatio ns
of roots taken 2 at a time.
an 3 negative of the sum of the products of all
possible combinatio ns of roots taken 3 at a time.
Suppose that all the roots are real and on the left half plane, then
all coefficients of the polynomial are positive.
If all the roots are real and in the left half plane then no
coefficient can be zero.
The only case for which a coefficient can be negative is when
there is at least one root in the right half plane.
The above is also true for complex roots.
1) If any coefficient is equal to zero, then not all roots are in
the left half plane.
2) If any coefficient is negative, then at least one root is in
the right half plane.
3) The converse of rule 2) is not always true.
Example:
P( s) s 3 s 2 2 s 8 ( s 2)( s 2 s 4)
all coefficien ts are positive. But two roots
(complex) are in the right half plane.
ROUTH-HURWITZ STABILITY
CRITERION
All the coefficients must be positive if all the roots are in the left
half plane. Also it is necessary that all the coefficients for a stable
system be nonzero.
These requirements are necessary but not sufficient. That is we
know the system is unstable if they are not satisfied; yet if they are
satisfied, we must proceed further to ascertain the stability of the
system.
For example,
The c row is calculated from the two rows directly above it.
Etc…
1 an an 2 1 an an 4
b1 b2 , .......
an 1 an 1 an 3 an 1 an 1 an 5
1 an 1 an 3 1 an 1 an 5
c1 c2 , ......
b1 b1 b2 b1 b1 b3
P ( s ) s 3 s 2 2 s 8 ( s 2)( s 2 s 4)
Example:
The Routh array is :
s3 1 2
s2 1 8
s1 -6
s0 8
Since there are two sign changes on the first column, there are two
roots of the polynomial in the right half plane: system is unstable.
Case 2: The first element in a row is zero, with at least one nonzero
element in the same row. In this case, replace the first element which is
zero by a small number . All the elements that follow will be functions
of . After all the elements are calculated, the signs of the elements in
the first column are determined by letting approach zero.
Example:
5 4 3 2
P(s) s 2s 2s 4s 11s 10
s5 1 2 11
s4 2 4 10
s3 6
2 12
s - 10
s1 6
s 0 10
When we calculate the elements :
b1 0, b 2 6, therefor e we put b1
and calculate the other coefficien ts. You should
verify the results.
There are 2 sign changes regardless of is positive or negative. Therefore the system is
unstable.
Case 3: All elements in a row are zero.
Example:
P( s) s 2 1
s2 1 1
s1 0
s0
Here the array cannot be completed because of the zero element in the first
column.
Another example:
P(s) s 3 s 2 2s 2
The array is :
s3 1 2
s2 1 2
s1 0
s0
Case 3 polynomial contains an even polynomial as a factor.
It is called the auxiliary polynomial. In the first example,
the auxiliary polynomial is s2 1
and in the second example, auxiliary polynomial is
s2 2
Case 3 polynomial may be analyzed as follows:
i
Suppose that the row of zeros is the s then the
row,
auxiliary polynomial is differentiated with respect to s,
and the coefficients of the resulting polynomial used to
i
replace the zeros in the s row. The calculation of the
array then continues as in the case 1.
Example:
P( s ) s 4 s 3 3s 2 2 s 2
The Routh array is :
s4 1 3 2
s3 1 2
s2 1 2
s1 0
s0
Since the s1 row contains zeros, the auxiliary
polynomial is obtained from the s 2 row :
Paux ( s ) s 2 2
The derivative is 2 s, therefore 2 replaces 0 in the
s1 row, and the Routh array is then completed.
P ( s ) s 4 s 3 3s 2 2 s 2
The Routh array now becomes :
s4 1 3 2
s3 1 2
s2 1 2
s1 2
s0 2
Hence there are no roots in the right half plane.
The values of gain and phase margin and corresponding frequencies are
2 -40dB/decade =K 1/2
3 -60dB/decade =K 1/3
… … …
N -20NdB/decade =K 1/N
713
• Each first order term , i.e. , (1+jωT ) term
• In the denominator will contribute -20
dB/decade .
• Each first order term , i.e. , (1+jωT ) term
• In the numerator will contribute +20
dB/decade.
• Each second order term in the
denominator will contribute -40 dB/decade
714
• Corner frequency:
Determination of corner frequency is vital,
since the slope of magnitude plot will
change at each corner frequency .
• Each first order term , i.e. , (1+jωT ) term
has a corner frequency of ω = 1/T
• Each second order term , i.e. ,
• ωn2
• (s2+2ζωns+ωn2) term has a
corner frequency of ωn .
•
715
Draw the Bode plot for the following
Open-loop transfer function
G(s)H(s) = 4
s(1+0.5s)(1+0.08s)
And determine (a) the gain margin
(b) the phase margin
(c) the closed loop stability
716
G(s)H(s) = 4
s(1+0.5s)(1+0.08s)
Step1: Check whether given transfer function is in
normalized form.
Here, G(s)H(s) is in normalized form
Then put s= jω
G(jω)H(jω) = 4
jω(1+0.5 jω)(1+0.08 jω )
717
The starting frequency of the Bode plot is
taken as lower than the lowest corner
frequency.
Step 3. Determine the initial slope and point
of intersection with frequency (ω)axis:
Since system is type 1, the initial slope of
the Bode plot is -20 db/ decade.
point of intersection with frequency (ω)axis
occurs at ω = K = 4
718
Step 4: Determine change in slope at each
corner frequency and plot the magnitude plot.
The initial slope of -20 db/ decade continues
till the lowest corner frequency (ω = 2) is
reached.
The corner frequency (ω = 2) is due to the
first order term in the denominator, (1+j0.5ω)
which will contribute -20 db/ decade.
719
Hence total slope becomes (-20 + -20) db/
decade = -40 db/ decade
( Note that a decade is a frequency band
from ω1 to 10ω1, where ω1 is any
frequency)
( Also note that an octave is a frequency
band from ω1 to 2ω1, where ω1 is any
frequency)
( Octave = 1/0.301decade)
Hence 20 db/ decade = 20 x 0.3 db/ octave
= 6 db/ octave
720
The slope of -40 db/decade will continue till
the next corner frequency (ω = 12.5) is
reached.
The corner frequency (ω = 12.5) is due to the
first order term in the denominator,
(1+j0.08ω) which will contribute -20 db/
decade.
Hence total slope becomes (-40 + -20) db/
decade = -60 db/ decade.
The slope of -60 db/decade will continue for
frequencies greater than ω = 12.5.
721
Step 5: calculate G(jω) H(jω) for
frequencies between ω = 1 to 100:
G(jω) H(jω)=
-900 – tan-1(0.5ω)- tan-1(0.08ω)
ω 1 2 8 10 20 50
rad/sec
722
dB
20 -1200
-20db/decade
10 -1500
0 5 -1800
1 4 ω 100
2.7 10
-10 -40db/decade -2100
-20 -2400
-2700
-20db/decade
723
• The gain margin is defined as negative of
gain in db at phase cross over frequency.
• phase cross over frequency is 5 rad/sec
• And corresponding gain value = -13 dB
• Hence gain margin = 13 dB
• The phase margin is given by
1800 + G(jω)H(jω) at gain cross
over frequency .
• The gain cross over frequency is 2.7
rad/sec
• And corresponding phase angle = -1500
724
• Hence phase margin = 1800 + (-1500)
• = 300
• The phase margin & gain margin are both
positive.
• Hence system is stable.
• If phase cross over frequency is greater
than gain cross over frequency, system
will be stable.
725
• Draw the Bode plot for the following
• Open-loop transfer function
• G(s)H(s) = 30
• s(1+0.5s)(1+0.08s)
• And determine (a) the gain margin
• (b) the phase margin
• (c) the closed loop
stability
726
• Draw the Bode plot for the following
• Open-loop transfer function
• G(s)H(s) = 48(s+10)
• s(s+20)(s2+2.4s+16)
• And determine (a) the gain margin
• (b) the phase margin
• (c) the closed loop stability
727
• G(s)H(s) = 48(s+10)
• s(s+20) (s2+2.4s+16)
• Step1: Check whether given transfer
function is in normalized form.
• Here, G(s)H(s) is not in normalized form.
• G(s)H(s) = 48 x 10 [s/10 +1] 16
• 20x 16x s[s/20 +1] (s2+2.4s+16)
• = 1.5(0.1s +1) x 16
s( 0.05s + 1) (s2+2.4s+16)
728
Then put s= jω
• G(jω)H(jω) =1.5(0.1jω +1) x 16
jω ( 0.05 jω + 1) [ j2.4ω + (16- ω2)]
729
• The starting frequency of the Bode plot is
taken as lower than the lowest corner
frequency.
• Step 3. Determine the initial slope and
point of intersection with frequency
(ω)axis:
• Since system is type 1, the initial slope of
the Bode plot is -20 db/ decade.
• point of intersection with frequency
(ω)axis
occurs at ω = K = 1.5
730
• Step 4: Determine change in slope at each
corner frequency and plot the magnitude
plot.
• The initial slope of -20 db/ decade continues
till the lowest corner frequency (ω = 4) is
reached.
• The corner frequency (ω = 4) is due to the
second order term (quadratic term) in the
denominator, 16
• [ j2.4ω + (16- ω2)]
• which will contribute -40 db/ decade.
731
• Hence total slope becomes (-20 + -40) db/ decade
= -60 db/ decade
• ( Note that a decade is a frequency band from ω1
to 10ω1, where ω1 is any frequency)
• ( Also note that an octave is a frequency band from
ω1 to 2ω1, where ω1 is any frequency)
• ( Octave = 1/0.301decade)
• Hence -60 db/ decade = -60 x 0.3 db/ octave
• = -18 db/ octave
•
732
• The slope of -60 db/decade will continue
till the next corner frequency (ω = 10) is
reached.
• The corner frequency (ω = 10) is due to
the first order term in the numerator,
(1+j0.1ω) which will contribute +20 db/
decade.
• Hence total slope becomes (-60 + +20)
db/ decade = -40 db/ decade.
• The slope of -40 db/decade will continue
till the next corner frequency (ω = 20) is
reached.
733
• The corner frequency (ω = 20) is due to
the first order term in the denominator,
(1+j0.05ω) which will contribute -20db/
decade.
734
• Step 5: calculate G(jω) H(jω) for
frequencies between ω = 1 to 100:
• G(jω) H(jω)= tan-1(0.1ω) -900 –
• tan-1(0.05ω)- tan-1 2.4ω/(16- ω2 )
ω 1 4 5 10 20 50
rad/sec
735
Frequency Response Analysis
G (s)
Frequency Response Analysis
1
G ( s)
• Consider process ( s 1)
1.5
Input
Output
1
0.5
A m plitude
-0.5
-1
-1.5
0 5 10 15 20 25 30 35 40 45 50
Time (sec)
Frequency domain specifications
The gain margin is defined as the change in open loop
gain required to make the system unstable. Systems with
greater gain margins can withstand greater changes in
system parameters before becoming unstable in closed
loop. Keep in mind that unity gain in magnitude is equal
to a gain of zero in dB.
The phase margin is defined as the change in open loop
phase shift required to make a closed loop system
unstable.
The phase margin is the difference in phase between the
phase curve and -180 deg at the point corresponding to the
frequency that gives us a gain of 0dB (the gain cross over
frequency, Wgc).
Likewise, the gain margin is the difference between the
Gain and Phase Margin
-180
Developing a Bode Plot from the Transfer Function
G p (i ) R( ) i I
Ar ( ) R 2 ( ) I 2 ( )
I ( )
1
( ) tan
R( )
Derivation of the Bode Plot for a First Order
Process
Kp Kp
G p (s) G p (i )
p s 1 i p 1
After rationaliz ation
Kp K p p
G p (i ) 2 2
i 2 2
1
p 1p
K p2 K p2 2 2p Kp
Ar ( ) 2 2
1
p
2 2
1
p
( ) tan 1 ( p )
Bode Plots
Bode Diagram
40 Constant
Integral factor
Magnitude (dB)
Derivative factoe
20
-20
135
90
Phase (deg)
45
-45
-90
0 1
10 10
Frequency (rad/sec)
Bode Plots
Bode Diagram
70
30
Magnitude (dB)
20
10
-10
-20
-30
-40
90
45
Phase (deg)
-45
-90
-2 -1 0 1 2
10 10 10 10 10
Frequency (rad/sec)
Bode Plots
Bode Diagram
70
30
Magnitude (dB)
20
10
-10
-20
-30
-40
90
45
Phase (deg)
-45
-90
-2 -1 0 1 2
10 10 10 10 10
Frequency (rad/sec)
Bode plots
Bode Diagram
20
Under damped
10
Critically damped
0 Over damped
-10
Magnitude (dB)
-20
-30
-40
-50
-60
-70
-80
0
-45
Phase (deg)
-90
-135
-180
-2 -1 0 1 2
10 10 10 10 10
Frequency (rad/sec)
The Polar Plots or the Nyquist Plot.
The Nyquist
Criterion
752
Mathematical background:
• Consider the denominator of overall transfer
function:
• Do(s) = 1+G(s)H(s)
• = K(s-s1)(s-s2)(s-s3)…(s-sm)
• (s-sa)(s-sb)(s-sc)…(s-sn)
Equation(1)
• Where s1,s2,…,sm are zeros of Do(s) and sa,
sb, … sn are poles of Do(s) and s is a
complex variable : s = σ + jω
753
• The function Do(s) apparently will also be
complex.
• Let us write Do(s) = u(s) + j v(s)
• When s takes on different values, both u(s)
and v(s) will vary.
• It is manifestly impossible to represent the
function Do(s) graphically in a single diagram
for all complex values of s.
• However, since the zeros, s1,s2,…,sm and the
poles, sa, sb,…, sn, completely characterize
the function Do(s), a simple plot in the s-plane
showing the location of zeros and poles,
provides a neat way of specifying properties of
Do(s) graphically.
754
• For each value , so , of s, there corresponds a
value of Do(so) = u(so) + j v(so) which can be
represented by a point in Do(s) plane.
• If we now allow s to take on successive
values along a closed contour C in the
• s-plane , a corresponding closed contour г,
as shown in the next slide, will be traced.
• We say that the contour C in the s-plane is
mapped onto the Do(s) plane as the contour
г by the functional relationship given in
• Equation(1)
755
• Mapping of a contour C in S-plane onto a contour г
in Do(s) plane
jω
• contour C contour г
jv
σ
u
г
s1 C
σ
u
(a) S plane
(b) Do(s) plane
760
Mapping of a contour C which encircles two
zeros of Do(s) jv
jw
s1 C
г
σ
u
s2
(a) S plane
(b) Do(s) plane
761
• (2) Contour C encircles zeros but not poles:
• As we trace the contour C in the direction of
arrow, the interior of the contour, which is
always on the right of the contour and which
contains a zero, s1, maps onto Do(s)-plane
as the contour г.
• г is correspondingly traced with its interior,
which contains the origin, always on its right.
• Hence if C is described in a clockwise
direction, so is г .
762
Mapping of a contour C which encircles a
pole of Do(s) jv
jw
C
X Sa г
σ
u
(a) S plane
(b) Do(s) plane
763
• The contour г encircles the origin of the
Do(s) plane once in clockwise direction
because the contour C encircles one zero in
the s-plane in the clockwise direction.
• In general, if the contour C encircles Z zeros
in the clockwise direction, the corresponding
• contour г encircles the origin of the Do(s)
plane Z times in clockwise direction .
• A zero of multiplicity k counts as k zeros.
764
• (3) Contour C encircles poles but not zeros:
• Here, as we trace the contour C in the
direction of arrow, the region on the right
which contains a pole, Sa, maps on to the
• Do(s)-plane as the region also on the right of
the contour г, which contains the point at
infinity as г is described.
• Hence interior of contour C maps onto the
exterior of the contour г .
• Since
765
Mapping of a contour C which encircles a
pole of Do(s) jv
jw
C
X Sa г
σ
u
(a) S plane
(b) Do(s) plane
766
Contour C which encloses the entire right
half of the complex s- plane
jw
S = +j∞
S ∞
σ
S=0
S = -j∞
(a) S plane
767
Nyquist Diagram
f
Imaginary Axis
Ar
Real Axis
Nyquist Diagram
(Complex Plane Plot)
R ( ) Ar cos
I ( ) Ar sin
4
Imaginary Ax is
-2
-4
-6
-8
-10
-1 0 1 2 3 4 5
Real Axis
Nyquist Plot
Nyquist Diagram
20
first order factor in denominator
15 first order factor in numarator and denominator
first order factor in numerator
10
5
Imaginary Axis
-5
-10
-15
-20
-1 0 1 2 3 4 5
Real Axis
Nyquist Plot
Nyquist Diagram
4
Underdamped
3 Critically damped
Overdamped
2
Imaginary Axis
-1
-2
-10
-20
-30
-180 -135 -90 -45 0 45 90 135 180
Open-Loop Phase (deg)
Nichols plot
Nichols Chart
40
10
-10
-20
-30
-40
-90 -45 0 45 90
Open-Loop Phase (deg)
Nichols plot
Nichols Chart
50
Under damped
Critically damped
Over damped
0
Open-Loop Gain (dB)
-50
-100
-180 -135 -90 -45 0
Open-Loop Phase (deg)
The Nyquist Stability Criterion
Im( G( w) )
0
0
5
2 1 0 1 2 3 4 5 6
Re( G( w) )
The Cauchy criterion
The Cauchy criterion (from complex analysis) states that when taking a closed contour in
the complex plane, and mapping it through a complex function G(s), the number of times
that the plot of G(s) encircles the origin is equal to the number of zeros of G(s) enclosed
by the frequency contour minus the number of poles of G(s) enclosed by the frequency
contour. Encirclements of the origin are counted as positive if they are in the same
direction as the original closed contour or negative if they are in the opposite direction.
When studying feedback controls, we are not as interested in G(s) as in the closed-loop
transfer function:
G(s)
---------
1 + G(s)
If 1+ G(s) encircles the origin, then G(s) will enclose the point -1.
Since we are interested in the closed-loop stability, we want to know if there are any
closed-loop poles (zeros of 1 + G(s)) in the right-half plane.
Therefore, the behavior of the Nyquist diagram around the -1 point in the real axis is very
important; however, the axis on the standard nyquist diagram might make it hard to see
what's happening around this point
The Nyquist Stability Criterion - Application
Knowing the number of right-half plane (unstable) poles in open loop (P), and the
number of encirclements of -1 made by the Nyquist diagram (N), we can determine
the closed-loop stability of the system.
We can also use the Nyquist diagram to find the range of gains for a closed-loop unity
feedback system to be stable. The system we will test looks like this:
where G(s) is :
s^2 + 10 s + 24
---------------
s^2 - 8 s + 15
Nichols chart
Nichols chart analysis is a modification of the Nyquist and
Bode methods. It is a frequency response method. The
Nichols chart is a useful technique for determining the
stability and the closed-loop frequency response of a
feedback system. Nichols chart is basically a
transformation of the M- and N-circles on the polar plot
into non-circular M and N counters on a dB magnitude
versus phase angle plot in rectangular coordinates. If the
open-loop frequency response function of a continuous-
time system is represented by GH(ω), then GH(ω) is
plotted on a Nichols chart is called a Nichols chart plot of
GH(ω). The Nichols chart has two advantages over the
polar plot. They are:
Nichols chart
(a) since |GH(ω)| is plotted on a logarithmic scale, a
much wider range of magnitude can be graphed
(b) the graph of GH(ω) is essentially a summation of
the individual magnitude and phase angle
contributions of its poles and zeros.
The stability is obtained from a plot of the open-loop
gain versus phase characteristics
Gain Margin, Phase Margin, Phase Crossover
Frequency, And Gain Crossover Frequency
The MATLAB command
[Gm, pm, wcp, wcg] = margin (sys)
Where, Gm is the gain margin, pm is the phase
margin, wcp is the phase –crossover frequency, and
wcg is the gain crossover frequency. The following
MATLAB command is commonly used for obtaining
the resonant peak and resonant frequency:
[mag, phase, w] = bode (num, den, w)
[mag, phase, w] = bode (sys, w)
[Mp, k] = max (mag),
resonant peak = 20 * log 10 (Mp)
resonant frequency = w(k)
The following lines are used in MATLAB program to
obtain bandwidth:
n=1
while 20 * log 10 (mag (n)) > – 3
n=n+1
end
bandwidth = w(n)
The Nichols Stability Method
Polar Stability Plot - Nichols Mathcad Implementation
This example makes a polar plot of a transfer function and draws one contour of constant
closed-loop magnitude. To draw the plot, enter a definition for the transfer function
G(s):
45000
G ( s)
s ( s 2) ( s 30)
The frequency range defined by the next two equations provides a logarithmic frequency scale
running from 1 to 100. You can change this range by editing the definitionsm
forand m:
.02 m
m 0 100 m 10
Now enter a value forM to define the closed-loop magnitude contour that will be plotted.
M 1.1
Calculate the points on the M-circle:
M2 M
MCm
exp 2 j .01 m
M2 1 2
M 1
The first plot showsG, the contour of constant closed-loop magnitude,M
The Nichols Stability Method
The first plot showsG, the contour of constant closed-loop magnitude,
M, and the
Nyquist of the open loop system
Im G j m
Im MCm
Re G j m Re MCm 1
The Nichols Stability Method
The Nichols Stability Method Mpw
1
G
j j 1 0.2 j 1
-3dB
-72 deg wr=0.8
-142 deg
The Nichols Stability Method
0.64
G
j j j 1
2
GM
PM
ROOT LOCUS
(THEORY)
Consider the following standard control system,
1+ KG(s)H(s)
Where K is varied
H(s)
• Transience and stability of a system depends upon its CLOSED LOOP
POLES.
Plot of the LOCI of the closed loop poles as a function of the open
loop gain (K), where K is varied from –infinity to infinity
When,
K is varied from –infinity to zero, it is a direct root locus.
• Hence the roots or poles and zeroes of the equation are found first.
Say,
G(s)=_________(s+1)___
(s^2 + 4s +5)(s+3)
So the poles of the equation are
s+3=0, s=-3
s^2 +4s+5=0 s=-2+I and -2-I
And the poles are
s+1=0 s=-1
RULE 2: Number of LOCI
• If n>m , then
Total number of loci= n
• So, number of loci that start from a pole and end in infinity is n-m.
• A point on the real axis will lie on the root locus if and only if,
Where q=0,1,2….n-m-1
• The point where the asymptote touches the real axis is known as the
centroid.
• Break-in point is defined as the point where the root locus enters real axis.
• Break away point is defined as the point where the root locus comes out of
the real axis.
• Break away & break in points are points on the real axis at which multiple
roots of the characteristic equation occur.
• Observation: If there are 2 adjacently placed poles on the real axis and the
real axis is a part of the root locus, hence minimum 1 break away point exists
between the 2 poles.
1. Construct 1+G(s)H(s)=0
2. Develop the routh array in terms of K
3. Find K value for which routh array contains a term of zeroes.
4. Frame auxiliary equation with the help of coefficients from the row above
the row of zeroes.
5. Substitute the K value found in step 2, equate the equation to zero, find the
value of s.
The roots of the equation give the intersection points.
e.g. say G(s)H(s)= K/s*s+1*s+3
Characteristic equation will be s^3+ 4s^2 +3s+K=0,
Routh array s^3: 1 3
s :4 K
s^0: (12-K)/4…..hence K-12=0 K=12
Substituting K=12 in the auxiliary equation, 4s^2+K=0,
hence we get K=(+or-) root(3)i , which are the intersection points.
RULE 8: Angle of departure and angle of arrival.
• The root locus always leaves a complex pole, at an angle known as the depar-
ture angle given by,
Theta=180+ arg( G(s)H(s) )
• The root locus always arrives at a complex zero, at an angle known as the ar-
rival angle.
Theta=180- arg( G(s)H(s) ),
Where G(s)H(s) is the angle excluding the zero where the angle has the be
calculated
Steps of a ROOT LOCUS method:
1. Determine the branch number ending at infinity of the loci using rule 1.
5. Using rule 4 determine the asymptotes centre and draw step 4 and step 5.
8. Determine the jw crossover if root locus has complex poles and zeroes.
Root Locus
Locus is defined as a set of all points satisfying a set of
conditions. The term root refers to the roots of the
characteristic equation, which are the poles of the closed-
loop transfer function. These poles define the time response
of the system and hence the performance and stability of the
system. Hence, root-locus defines a graph of the poles of the
closed-loop transfer function as the system parameter, such
as the gain is varied. Evan’s root locus method, or simply
root-locus method, gives all closed-loop poles graphically,
using the knowledge provided by the open-loop poles and
open-loop zeros. A root-locus plot is composed of as many
individual loci as there are poles. Individual loci are referred
to as branches of the root locus
Root Locus
Closed-loop poles
Plotting the root locus of a transfer function
Choosing a value of K from root locus
Closed-loop response
Key Matlab commands used in this
tutorial: cloop, rlocfind, rlocus, sgrid, step
A plant to be controlled is described by a transfer
function
and thus the poles of the closed loop system are values of s
such that 1 + K H(s) = 0.
If we write H(s) = b(s)/a(s), then this equation has the
form:
num=[1 7];
den=conv(conv([1 0],[1 5]),conv([1 15],[1 20]));
rlocus(num,den)
axis([-22 3 -15 15])
Closed-Loop Poles
and thus the poles of the closed loop system are values of s such that
1 + K H(s) = 0.
To determine what
part of the locus is
acceptable, we can use
the command
sgrid(Zeta,Wn) to plot
lines of constant
damping ratio and
natural frequency.
Choosing a value of K from the root locus
Its two arguments are the
damping ratio (Zeta) and
natural frequency (Wn)
[these may be vectors if you want to look at a range
of acceptable values].
In our problem, we need an overshoot less than 5%
(which means a damping ratio Zeta 0.7) and a rise
time of 1 second (which means a natural frequency
Wn > 1.8).
Enter in the Matlab command window:
zeta=0.7; Wn=1.8; sgrid(zeta, Wn)
Rise Time: defined as the 10% to 90% time from a
former setpoint to new setpoint. The quadratic
approximation for normalized rise time for a 2 nd-
order system, step response, no zeros is: where ζ is
the damping ratio and ω0 is the natural frequency of
the network. However, the proper calculation for rise
time of a system of this type is: where ζ is the
damping ratio and ωn is the natural frequency of the
network.
ROOT-LOCUS ANALYSIS
818
R(s) C(s)
G(s)
H(s)
821
General Rules for constructing
ROOT LOCI
• 1. Locate the poles and zeros of G(s)H(s)
• on the s plane.
• The root locus branches start from
open-loop poles and terminate at zeros
• (finite zeros or zeros at infinity)
• The open-loop zeros are the zeros of
G(s)H(s)
822
• Number of branches of root-locus equals
the number of open-loop poles (n) since it
is , generally, greater than the number of
open-loop zeros (m).
• The number of individual root-locus
branches terminating at finite open-loop
zeros is equal to the number (m) of the
• open-loop zeros.
• The remaining n-m branches terminate at
• infinity along asymptotes.
823
• If we include poles and zeros at infinity, the
number of open-loop poles equals that of
open-loop zeros.
824
• 2. Determine the root loci on the real axis.
• Root loci on the real axis are determined
by poles and zeros lying on it.
• The complex-conjugate poles & zeros of
G(s)H(s) have no effect on the root loci on
the real axis.
• For constructing root loci on the real axis,
choose a test point on it.
• If the total number of real poles & real
zeros to the right of this test point is odd ,
• then this point lies on a root locus.
825
• 3. Determine the asymptotes of root loci
• If the test point s is located far from the
origin, then the angle of each complex
quantity may be considered the same.
• Therefore, the root loci for very large values
of s must be asymptotic to straight lines
whose angles are given by:
• Angles of asymptotes = +1800(2k+1)
• n-m
• where k=0,1,2,…
• n = number of finite poles of G(s)H(s)
• m= number of finite zeros of G(s)H(s)
826
• The number of distinct asymptotes = n-m.
828
If root locus lies between an open-loop pole
and a zero (finite or infinite) on the real axis,
then there may exist no breakaway or break-in
points or there may exist both breakaway or
break-in points.
829
Suppose that the characteristic equation is
given by
B(s) + K A(s) =0
• Breakaway and break-in points correspond
• to multiple roots of the characteristic
• equation.
• Hence they can be determined from the
roots of
• dK =0 (1)
• ds
830
• It is important to note that Breakaway and
break-in points must be roots of
Equation(1), but not all roots of Equation(1)
are breakaway and break-in points .
• If a real root of Equation(1) lies on the root
locus portion of the real axis, then it is an
actual breakaway and break-in point.
• If a real root of Equation(1) is not on the
root locus portion of the real axis, then this
root is neither a breakaway nor a break-in
point.
831
• If two roots of Equation (1) are a complex-
conjugate pair and if it is not certain whether
they are on root loci, then it is necessary to
check the corresponding K value.
• If the value of K is positive, then that point is
an actual a breakaway or a break-in point.
• If the value of K is negative, then that point is
neither a breakaway nor a break-in point.
832
• 5. Determine the angle of departure (angle of
arrival) of the root locus from a complex pole
(at a complex zero).
• To sketch the root loci with accuracy, we
must find the direction of root loci near the
complex poles & zeros.
• Angle of departure from a complex pole =
1800 - (sum of the angles of vectors to the
complex pole in question from other poles)+
(sum of the angles of vectors to the complex
pole in question from zeros)
833
• Angle of arrival at a complex zero = 1800 -
(sum of the angles of vectors to the complex
zero in question from other zeros)+ (sum of
the angles of vectors to the complex zero in
question from poles).
834
• 6. Find the points where the root loci may
cross the imaginary axis
• The points where the root loci may cross the
jω axis can be found by
(a) Use of Routh’s stability criterion or
(b) Letting s= jω in characteristic equation,
equating both the real part and imaginary part to
zero, and solving for ω & K.
• The values of ω thus found give the
frequencies at which root loci cross the
imaginary axis.
• The K value gives the gain at the crossing
point.
835
• 7. Taking a series of test points in the
broad neighborhood of the origin of the s
plane, sketch the root loci.
• Determine root loci in the broad
neighborhood of the jω axis & the origin.
• The most important part of the root loci is
on neither the real axis nor the
asymptotes but the part in the broad
neighborhood of the jω axis & the origin.
• The shape of the root loci in this important
region in the s plane must be obtained
with sufficient accuracy.
836
R(s) C(s)
K
S(s+1)(s+2)
837
• For the given system, G(s)= S(s+1)(s+2)
K
• H(s)=1
• The angle condition becomes
• G(s)H(s) = S(s+1)(s+2)
K
838
• Step 1. Locate the poles & zeros of G(s)H(s)
on the s plane.
• The poles are s=0, -1, -2.
• There are no zeros.
jω
j3
j2
j1
σ
x x x
-4 -3 -2 -1 0 1 2
-j1
-j2
-j3 839
• The location of poles are indicated by
crosses.
• (The location of zeros,if any, are indicated by
small circles)
• The number of branches of root loci = n-m
• =3-0
• =3
• Where,
• n = number of finite poles of G(s)H(s) =3
• m= number of finite zeros of G(s)H(s) =0
840
• Step2. Determine the root loci on the real
axis.
• To determine the root loci on the real axis,
we select test point s on the –ve real axis
between 0 and -1.
• The number of poles & zeros to the right of
the test point is 1(odd number).
• Hence this test point lies on the root loci.
• Thus, root loci exists on the –ve real axis
between 0 & -1
841
• If we select a test point between -1 & -2,
the number of poles to the right of the
test point is an even number (2).
• Hence this test point is not on the root
loci.
• Thus, root loci does not exists on the –ve
real axis between 0 & -1.
• If we select a test point to the right of -2,
the number of poles to the right of the
test point is an odd number (3).
842
• Hence this test point is on the root loci.
• Thus, root loci does exists on the –ve real
axis between -2 & -∞.
• Step 3. Determine the asymptotes of the
root loci.
• Angles of asymptotes = +_ 1800(2k+1)
• n-m
• where k=0,1,2,…
• n=3
• m= 0
843
• Angles of asymptotes = +_ 1800(2k+1)
• 3
• Number of asymptotes = n-m = 3
• When k=0, Angles of asymptotes=+600, -600.
• S(s+1)(s+2)
or, K=-(s3+3s2+2s)
• By setting dK =0 , we obtain
• ds
• dK = -(3s2+6s+2)=0
• ds
• or s= -0.4226, s= -1.5774
845
• Since the break away point must lie on a
root locus between 0 & -1, it is clear that
s= -0.4226 corresponds to the actual
break away point.
• Point s= -1.5774 is not on the root locus.
• Hence it is not an actual break away point.
• In fact evaluation of values of K
corresponding to s= -0.4226, s= -1.5774
yields
• K=0.3849 (+ve) for s= -0.4226
• K=- 0.3849 (-ve) for s= -1.5774
846
• Step : 5. Determine the points where the
root loci cross the imaginary axis
• Method 1
• By use of Routh’s stability criterion
• The characteristic eqn is
1+ K =0
s(s+1)(s+2)
• i.e. s3+3s2+2s+K=0
• The Routh’s array becomes
847
S3 1 2
S2 3 K
S1 6-K
3
S0 K
850
• The frequencies at the crossing points on the
imaginary axis are thus ω= √2 +
_
• The gain value corresponding to the crossing
points is K=6
• Step No 6: Choose a test point in the broad
neighborhood of the jω axis and the origin and
apply the angle condition.
• If a test point is on the root loci, then the
• sum of three angles, θ1+ θ2+ θ3, must be 1800
• If the test point does not satisfy the angle
condition, select another test point until it satisfy
the angle condition.
851
• Continue this process and locate sufficient
number of points satisfying the angle
condition.
jω
S+2 S+1
S
j1
θ1
θ3 θ2
-2 -1 0 σ
852
asymptotes
K ∞
jω
j3
j2
K=6
j1
σ
∞ K 600
x x x
-4 -3 -2 -1 0 1 2
-j1
K=6
-j2
-j3 K ∞ 853
• Problem 2: Sketch the root locus plot of
system having G(s)=K(s+2) , H(s)=1
• s2+2s+3
854
• Step 1. Locate the poles & zeros of G(s)H(s)
on the s plane.
• The poles are s=-1+j√2, -1-j√2
• The zero is s= -2.
jω j2
x j√2
j1
σ
o
-2 -1 0 1
-j1
x -j√2 855
• Step2. Determine the root loci on the real
axis.
• To determine the root loci on the real axis,
we select test point s on the –ve real axis
between 0 and -2.
• The number of poles & zeros to the right of
the test point is nil.
• Hence this test point does not lies on the
root loci.
• Thus, root loci does not exist on the –ve real
axis between 0 & -2
856
• Taking a test point to the left of s= -2, we
find that the number of real poles & zeros
to the right of test point is odd (=1).
• Hence the root loci exist on the –ve real
axis from s=-2 to -∞ as shown
857
jω j2
x j√2
j1
σ
o
-2 -1 0 1
-j1
x -j√2 858
• Step 3. Determine the asymptotes of the
root loci.
• Angles of asymptotes = +_ 1800(2k+1)
• n-m
• where k=0,1,2,…
• n = number of poles= 2
• m= number of zeros=1
• Angles of asymptotes = +_ 1800(2k+1)
• 1
• Number of asymptotes = n-m = 1
• When k=0, Angles of asymptotes=1800
859
• Step 4: Determine the angle of departure
from the complex conjugate poles.
• The presence of a pair of complex
conjugate poles demands determination of
the angle of departure from these poles.
• Knowledge of this angle is important since
the root locus near a complex pole yields
information as to whether the locus
originating from the complex poles
migrates towards real axis or extends
toward the asymptotes.
860
• Determination of angle of departure.
jω j2
x j√2
j1
550 σ
o
-2 -1 0 1
-j1
900
x -j√2 861
• Angle of departure from a complex pole =
1800 - (sum of the angles of vectors to the
complex pole in question from other
poles)+ (sum of the angles of vectors to
the complex pole in question from zeros)
• Angle of departure from the complex pole
at s=-1+j√2 = 1800 –(900)+550=1450
• (Since the root locus is symmetric about
the real axis),
Angle of departure from the complex pole
at s=-1-j√2 = -1450
862
• Step:4. Determine the break-in point
• The break-in point can be found from
• the roots of dK=0
• ds
• Since the characteristic equation is given by
• 1+G(s)H(s)=0, we have
• 1+ K (s+2) = 0
• s2+2s+3
•
• Hence, K= -(s2+2s+3)
• (s+2)
• we have, dK = -(2s+2)(s+2)-(s2+2s+3)
• ds (s+2)2 =0
864
• Step 5. Sketch root-locus plot based on the
information obtained in the foregoing steps.
• To determine root loci accurately, several
points must be found using angle condition.
•
865
• Root locus plot
1450 jω j2
x j√2
j1
Break-in point
σ
o
-3.73 -2 -1 0 1
-j1
x -j√2 866
-1450
• It is seen that root locus in the complex s
plane is a part of a circle.
• We can prove that root locus is circular in
shape by deriving the eqn for the root locus,
using the angle condition.
• For the present system, the angle condition
is
• S+2 – s+1- j√2 – s+1+ j√2 +_= 1800(2k+1)
• If s= σ+jω is substituted in to this last eqn,
we obtain
• σ+2+jω - σ+1+jω - j√2 – σ+1+jω + j√2 =
• 1800(2k+1) +_ 867
• Which can be written as
• Tan-1( σ+ω 2 ) - Tan-1( ωσ -+√21 ) - Tan-1( ω + √2
σ+1
)=
1800(2k+1)
+
_
868
• Sketch the root locus plot for the system
having open loop transfer function given
by G(s)H(s) = k
• s(s+4)(s2+4s +13)
869
• Step 1. Locate the poles & zeros of
G(s)H(s) on the s plane.
• The open-loop poles are,
• s = 0, s= - 4, s = -2 + j 3, s = -2 -
j3
• The number of open loop poles = 4
• The number of open loop zeros = 0
• Hence number of branches of root locus
• =4–0=4
870
j4
x j3
j2
j1
x x
-4 -3 -2 -1 0
-j1
-j2
x -j3
871
• Step 2. Determine the root loci on the real
axis.
• Root loci on the real axis is determined by
poles and zeros lying on it.
• If we select any test point between 0 & -4,
we find that number of poles to the right
of test point is = 1 (odd)
• Hence the segment of real axis between
0 & -4 is on the root loci.
872
j4
x j3
j2
j1
x x
-4 -3 -2 -1 0
-j1
-j2
x -j3
873
• Step 3. Determine the asymptotes of the
root loci.
•Angles of asymptotes = 1800(2k+1)
• n-m
• where k=0,1,2,…
• n=4
• m= 0
• number of asymptotes = n-m = 4
• Angles of asymptotes =
• + 450, - 450 ,+1350 , -1350
874
• Point of intersection of asymptotes (on the
real axis)
• or the centroid =
• (sum of poles)-(sum of zeros)
• n-m
• = (0+-4+-2+j3+ -2-j3) – 0
= -2
• 4
875
• Step 4: Determine the break away point
• The break away points can be determined
from the roots of dK =0
• ds
• The characteristic equation is
• 1+G(s)H(s)=0
• i.e., 1+ k =0
• s(s+4)(s2+4s +13)
•
876
• K = - ( s4 + 8s3 + 29 s2 + 52s)
• d K = -(4s3 + 24 s2 + 58 s +52)
ds
put d K = 0
ds
Thus (4s3 + 24 s2 + 58 s +52) = 0
The break away points are given by
roots of the above equation. One of the
roots is s = -2 .
The other roots are found as follows:
877
• (s+2) is a factor ,
• Hence we have (4s3 + 24 s2 + 58 s +52)
• (s+2)
• = (4s2 + 16s + 26)
• and thus (s+2) (4s2 + 16s + 26)
=0
• The two complex break away points are
given by roots of (4s2 + 16s + 26) =0
• i.e. , s= -2 + j 1.58 , -2 – j 1.58
878
• Step 5. Determination of angle of departure.
• Presence of a pair of complex conjugate poles
demand determination of angle of departure from
these poles.
• Angle of departure from pole at -2+j3
• = 1800-(φ1+ φ2+ φ3)
j2
j1 φ1
x x
-4 -3 -2 -1 0
-j1
-j2
x -j3
880
• Hence angle of departure from pole at -
2+j3
•= 1800-(φ1+ φ2+ φ3)
• = 1800-(1800- tan -1 (3/2)+tan -1 (3/2)+
900)
• = - 900
• And angle of departure from pole at -2-j3
• = + 900
881
• Step :6. Determine the points where the
root loci cross the imaginary axis
• By use of Routh’s stability criterion
• The characteristic equation is
• 1+G(s)H(s)=0
• i.e., 1+ k =0
• s(s+4)(s2+4s +13)
883
• Corresponding value of s is found from
• auxiliary equation for s2 row.
• i.e., 22.5 s2 + K = 0
• or 22.5 s2 + 146.8 = 0
• Or s = +j 2.56, - j 2.56
884
K=∞
K=∞
x j3
1350 450
x -2 x
0
-4
-450
-1350
x -j3
K=∞
K=∞
885
• Home Work
886