PDC Lecture Notes 7 - Stability of Closed-Loop Systems 2018
PDC Lecture Notes 7 - Stability of Closed-Loop Systems 2018
The stability of a control system is often extremely important and is generally a safety issue in the
engineering of a system. An example to illustrate the importance of stability is the control of a nuclear
reactor. An instability of this system could result in an unimaginable catastrophe.
Definitions
The stability of of system relates to its response to inputs or disturbance. A system which remains in
a constant state unless affected by an external action which returns to a constant state when the
external action is removed can be considered to be stable.
A systems stability can be defined in terms of its response to external impulse inputs.
Definition a:
A system is stable if its impulse response approaches zero as time approaches infinity.
The system stability can also be defined in terms of bounded (limited) inputs.
Definition b:
A system is stable if every bounded input produces a bounded output.
Stability Notes
Control analysis is concerned not only with the stability of a system but also the degree of stability of
a system.. A typical system equation without considering the concept of integral action is of the form.
[a2 D2 + a1 D + a0 ]x = f(D) y
The transient response, and as a result the stability, of such a system depends on the coefficients a 0,
a1 , a2.
Assuming a0 >0 then provided that a1 > 0 and a2 > 0 the complementary function will not contain any
positive time exponentials and the system will be stable. If either a1 < 0 (negative damping) or a2 <
0 (negative mass) the transient response will contain positive exponentials and the system will be
unstable.
If a1 = 0 (As resulting from zero damping) then the complementary function will oscillate indefinitely.
This is not an unstable response but this marginally stable response is not satisfactory. Following are
a number of plots to illustrate the types of stability responses resulting from an input...
1
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
Introduction
The Routh stability criterion provides a convenient method of determining control systems
stability. It determines the number of characteristic roots within the unstable right half of the s-
plane, and the number of characteristic roots in the stable left half, and the number of roots on the
imaginary axis. It does not locate the roots. The method may also be used to establish limiting values
for a variable factor beyond which the system would become unstable...
The characteristic equation being tested for stability is generally of the form
b1= ( an-1.an-2 - an. a n-3 )/ an-1 b 2= ( an-1 .an-4 - an. a n-5)/ a n-1
The numerator in each case is formed from the elements in the two rows above in col 1 (pivot column)
and in the column to the right of the element being calculated. The calculated element is made 0 if the
row is too short to complete the calculation. The last row will have just one element.
All of the roots of the characteristic equation have negative real parts only if the elements in column 1
of the Routh array are the same sign,
The number of sign changes in column 1 is equal to the number of roots of the characteristic equation
with positive real parts.
Example:
To test the stability of a system having a characteristic equation
F(s) = s 3 + 6 s 2 + 12 s 3 + 8 = 0
Row 3 s0 8
Column 1 (pivot column) includes no changes of sign and therefore the roots of the characteristic
equation have only real parts and the system is stable.
Example
To test the stability of a system having a characteristic equation
F(s) = s 5 + 2 s 4 + 2 s 3 + 4 s 2 + s + 1
There are two sign changes in column 1 and there are therefore 2 positive roots and the system is
unstable.
This also indicates the presence of a divisor polynomial N(s) whose roots are all symmetrically
arranged about the origin i.e. they are of the form
s = α … or s = j ω … or s = α j ω and s = α j ω
An all zero row will always be associated with and odd power of s
In order to complete the array, the previous row is differentiated with respect to s and the array is
completed in the normal way.
When assessing this modified array, the number of sign changes in the first column (before the all
zero row) indicate the number of roots of the remainder polynomial with positive real parts. From the
all zero row down, each change of sign in column 1 indicates the number of roots in the divisor
3
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
polynomial with positive real roots and as the roots are symmetrical this would indicate the number
of roots in the right half s plane and the number of roots in the left- hand s plane. Root not accounted
for in this way i.e., no sign change, must lie of the imaginary axis
Example
Consider a closed loop control system with negative feedback which has an open loop transfer
function.
KGH(s) = K /(s (s+1)( s 2 + s + 1) ..
In this array row 3 becomes an all zero row if K = 3/4 and the divisor polynomial of row 2 = (3/2) s 2
+ 3/4 = 0 ...= 2 s 2 + 1
N(s) = (2 s 2 + 1)
The coefficients of N'(s) are used to replace the zero coefficients in row 3
There are no sign changes up to/including row 2 indicating the roots of the remainder polynomial are
in the right-hand s plane.
As there are no changes of sign from row 2 down the roots of the divisor polynomial must lie on the
imaginary axis.
i.e., 2 (j ω) 2 + 1 = 0
It is sometimes required to find a range of values of a parameter for which the system is stable. This
can be achieved by use of the Routh Criteria using the method illustrated by the following example...
4
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
In order for the system to be stable there should be no sign change in column 1. To achieve this K
must be greater than -1 and K must be less than 8. Therefore for system stability: -1 < K < 8
Stability analysis
Know that the system is stable is not generally sufficient for the requirements of control system design.
There is a need for stability analysis to determine how close the system is to instability and how much
margin when disturbances are present and when the gain is adjusted.
The standard method of completing a system analysis includes the following steps.
Determine the equations or transfer functions for each component
Create a model - generally a block diagram
Formulate the system model by appropriately connecting the blocks nodes and branches
Determine the system characteristics
We'll control this system with a very simple proportional controller in which the input to the system
to be controlled is proportional (with gain, K) to the difference between the input, R(s), and the
output, C(s).
5
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
K
C s K G s ss 3
Rs 1 K G s 1 K
ss 3
K K
2
ss 3 K s 3s K
C s 1
K=1 2
Rs s 3s 1
C s 10
K=10 2
Rs s 3s 10
6
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
C s 100
K=100 2
Rs s 3s 100
The response with K = 1 was too slow, the response with K = 100 was too oscillatory, and the
response with K = 10 is almost just right, though we may want to adjust K to get a little bit less
overshoot. Clearly this method is rather "hit-or-miss" and it may take us a long time to find a
suitable value for K.
3 9 4K
s
2
This will give overdamped response for 9 > 4K, underdamped response for 9 < 4K, and critically
damped response for 9 = 4K. If we specify that we want an underdamped response with ζ=1/√2 we
must set the magnitudes of the real and imaginary parts of the roots equal to each other. So starting
from
3 4K 9
s j
2 2
we know that the real and imaginary parts must have equal magnitude
3 4K 9
2 2
and we can solve for K.
3 4K 9
9 4K 9
18 9
K 4.5
4 2
Let's try this value. If we use K = 4.5 we get the transfer function
7
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
C s 4.5
2
Rs s 3s 4.5
and the step response is shown below. As you can see, it is superior to our other attempts; it is
reasonably fast with fairly small overshoot.
While this technique is suitable for simple problems, like the one given, it quickly becomes
untenable for more complicated systems. For example, what would we do if
s 1
G s
s 4s 2 6s 4
3
We will need another approach to deal with such systems. This is introduced in the next section
(though in the context of the simple system we have been dealing with).
If we want to plot the path of the roots as K varies we can calculate the roots of the equation
s2 + 3s + K = 0
K Roots
1 -2.62, -0.38
2 -2, -1
8
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
4 -1.5 ± j1.32
10 -1.5 ± j2.78
20 -1.5 ± j4.21
40 -1.5 ± j6.14
100 -1.5 ± j9.89
These values are plotted below (for complex conjugate roots, the value of K are only shown for the
root with a positive imaginary part).
There is a lot of information in this diagram. It tells us that the system starts out overdamped for
small values of K, and becomes underdamped as K increases, and becomes increasingly
underdamped as K continues to increase.
A root locus plot is a variation on this kind of plot. It shows the path of the roots as K is varied, but
does not show the actual values of K. This kind of plot is sufficiently important that MatLab has a
command specifically for generating these plots. A root locus plot for this system is shown below,
along with the Matlab used to create it.
>> rlocus(G)
>> axis([-4 0 -10 10])
9
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
The starting points for the roots, when K = 0, are shown by the two small "x" marks at s = 0 and s
= -3. As K increases, the two roots move horizontally towards each other, meet at s = -1.5, and then
move vertically away from each other.
Though the value of K isn't plotted on the graph it is easily found. For example, if we want to know
the value of K at s = -1.5 we can use the fact that the characteristic equation of
C s K Gs
Rs 1 K Gs
This equation is true for any point on the root locus, and in particular it is true at s = -1.5. Since at
s = -1.5
G s
1
ss 3
G 1.5
1
2.25
Examples
1 2 3 4 5
1 1 s3 s2 s 2s 2
2
ss 3
s s 5s 6 s s 2 s 4 s 6 s 4 s s 9s 3 33s 2 51s 26
2 2 3 2 4
To sketch a root locus there are several techniques that can be used as a guide. Not all of these are
applicable to all loci. The steps used to sketch a root locus plot are enumerated below:
Gather Background Information from Transfer Function
Rules
1. Symmetry
2. Number of Branches
3. Starting and Ending Points
4. Locus on Real Axis
5. Asymptotes as |s|→∞
6. Break-Away and -In Points
7. Angle of Departure
8. Angle of Arrival
9. Locus Crosses Imaginary Axis
Given Gain "K," Determine Location of Poles
Given Pole Location, Determine Value of "K"
K Gs
T s
1 K Gs H s
N s
1 K Gs H s 1 K 0
Ds
11
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
We can write the loop gain as a ratio of polynomials, (we will assume K > 0, a0 > 0, b0 > 0; generally,
a0 = 1). N(s), the numerator polynomial, is defined to be mth order; D(s) is nth order. N(s) has zeros
at zi (i = 1…m); D(s) has zeros at pi (i = 1...n). Note the zeros of D(s) are the poles of the loop
gain. The difference between the orders of the numerator and denominator polynomial, n and m,
is q, so q = n - m. We assume here that the transfer function is proper - in other words q ≥ 0.
b0 s m b1 s m1 bm1 s bm
1 KGs H s 1 K 0
a0 s n a1s n1 an1 s an
b0 s z1 s z 2 s z m
1 KGs H s 1 K 0
a0 s p1 s p2 s pn
It is convenient for the derivation of many of the rules that follow to rewrite the characteristic
equation as follows.
N s
K 1
Ds
Many of the rules discussed below come from two conditions imposed by the characteristic
equation. Since this equation involves a complex quantity both the magnitude and phase of the
two sides of the equation must be equal.
N s
K 1
Ds
Since K ≥ 0, it has a phase of 0° and can be ignored. The angle of -1 is any odd multiple of 180°.
N s
r 180 0 , r 1, 3, 5,
Ds
12
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
Note: an alternate set of rules, for K<0 can be derived; this is referred to as the complementary
root locus.
Key Concept: Properties of Open Loop Gain Used to Draw Root Locus
The loop gain is KG(s)H(s) which can be rewritten as KN(s)/D(s).
N(s), the numerator polynomial, is mth order; D(s) is nth order:
b0 s m b1 s m1 bm1 s bm
1 KGs H s 1 K 0
a0 s n a1s n1 an1 s an
b0 s z1 s z 2 s z m
1 KGs H s 1 K 0
a0 s p1 s p2 s pn
RULES
Rule 1: Symmetry
Since the characteristic equation has real coefficients, any zeros must occur in complex
conjugate pairs (which are symmetric about the real axis). Since the root locus is just a
diagram of the roots of the characteristic equation as K varies, it must also be symmetric about
the real axis.
It is apparent that if K→0, the only way the left hand side of the equation can be equal to 1 is
if the quantity in the absolute value goes to infinity. This happens when D(s) → 0. So the
poles of the loop gain (D(s) = 0) are the starting points for the loci (when K=0).
It is also apparent that if K → ∞, the only way the left hand side of the equation can be equal
to 1 is if the quantity in the absolute value goes to zero. This happens when N(s) → 0, and it
also happens as s → ∞ if the order of the denominator is greater than the order of the
13
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
numerator. So the zeros of the loop gain (which occur at N(s) = 0, and perhaps as s→∞) are
the ending points for the loci (when K → ∞).
N s b s z1 s z 2 s z m
0
Ds a0 s p1 s p2 s pn
b s z1 s z 2 s z m
0
0
a s p1 s p 2 s p
n
N s s z1 s z 2 s z m
D s s p1 s p 2 s p
n
m n
Now consider the angle between a point "s" (the red vector) on the real axis, and a point "z"
(the blue vector) that is also on the real axis. The diagrams below show the vector "s - z" f (the
green vector) or the case when "s" is to the left of "z," and when s is to the right of z.
14
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
In both figures, "s" is shown by a red vector, and "z" is shown by a blue vector. The difference
can be found by drawing a vector from the point "z" to the point "s," which is shown by a green
vector. When "s" is to the left of "z" (left diagram), the angle of the vector "s – z" is 180° (or
any odd multiple of 180°). When "s" is to the right of "z" (right diagram), the angle of the
vector "s z" is 0° (or any even multiple of 180°).
However, we still need to consider complex conjugate poles and zeros. To see their
contribution, consider the diagram below.
In this diagram the vector "s" is red, "z" and its conjugate "z*" are blue and "s – z" and "s – z*"
are green. Clearly the angle contributions from "z" and its conjugate "z*" (shown in dotted
green) are equal and opposite, and so cancel each other out. Therefore, we need not consider
the contribution of complex conjugate zeros, or poles; we need only consider the contribution
of zeros and poles that are on the real axis.
15
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
m n
This equation indicates that any zeros to the left of a quantity "s" on the real axis contributes
180°, a pole to the left will contribute -180°, but a pole or zero to the right of "s" on the real
axis contributes 0°. Since the sum of angle contributions from zeros on the real axis minus
the sum of contributions from poles on the real axis is an odd multiple of 180°, this indicates
that if a point "s" on the real axis will only be on the locus if it is to the left of an odd number
of zeros and poles that are on the axis.
Rule 5: Asymptotes as |s| ∞ (This is the most involved derivation; you may wish to skip it)
If q > 0 (in other words, the denominator polynomial of the loop gain is of higher order than
is the numerator), then the loop gain has q zeros as |s|→∞. We will show that we can make
some simple approximations that will describe the behavior of the closed loop poles as |s|→
∞. If q = 0, you need not do this step.
We can rewrite this, and then if we let |s|→ ∞, all but the highest order terms of the polynomials go
become insignificant.
KGs H s 1
b0 s m
KGs H s K
b 1 b 1 b
n
K 0 nm K 0 q K 0 s q
s a0 s a0 s a0 s a0
KGs H s K
b0 q
s r 180 0 , r 1, 3, 5,
s a0
K, a0, b0 and M are all positive so they don't contribute to the angle, so
16
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
e jq q r 180 0
180 0
r , r 1, 3, 5,
q
To summarize: as |s|→ ∞, the loci are asymptotic to a set of lines that that radiate outward from
the origin with angles of θ = ±r180°/q where r = 1, 3, 5...
and we get
Me j q
M q e jq
Since the number is complex, both the magnitude and phase must be equal.
This tells us that as β goes from 0 to infinity, so does the magnitude of "s."
This tells us that the angle of "s" is given by ±r180°/q, where r=1, 3, 5...
Taking both the magnitude and phase into consideration this shows that
sq = - β
is represents lines emanating from the origin at equally spaced angles as β goes from 0 to ∞.
A better approximation to get both angle and real axis intersect of asymptotes
In the approximation above, we kept only the highest order term of the numerator and
denominator polynomial as |s|→ ∞. We can get a better approximation if we keep the two
highest order terms. Let's start with the factored form of the loop gain, and multiply it out:
17
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
b0 s z1 s z 2 s z m
KGs H s K
a0 s p1 s p2 s pn
m m
s s m1 zi
K 0
b i 1
a0 n n
s s n1 pi
i 1
Aside: Approximation of polynomial as |s|→ ∞
Now let's do some manipulations to get this into a more useful form. First, we let |s|→ ∞ and only
keep the two highest order terms of the polynomials.
b s z1 s z 2 s z m
lim 1 KGs H s lim 1 K 0
s s
a0 s p1 s p2 s pn
m m1 m
s s zi
b0 i 1
K
a0 n n1 n
s s pi
i 1
We can multiply the numerator and denominator by the same term. This simplifies the numerator.
m m
s s m1 zi
lim KGs H s K 0
b i 1
s a0 n n
s s n1 pi
i 1
m
1 s 1 zi
K
b0 i 1
a0 n m n
s s nm1 pi
i 1
Note that the second term in the numerator polynomial is small, so we can use the binomial
approximation.
lim 1 x
1
, so
x 0 x 1
lim KGs H s K 0
b 1
s a0 nm nm1 n
m
s s
i 1
p i
1 s 1
i 1
zi
b 1
K 0
a0 nm nm1 n m n m
s s
i 1
p i s n m 1
i 1
z i s nm2
i 1
p i zi
i 1
Keep only the highest order terms from the denominator polynomial (since |s|→ ∞):
18
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
b0
lim KGs H s K
1
s a0 nm n m
s s nm1 pi z i
i 1 i 1
b 1
K 0 q
a0 s s q 1
where
n m
pi z i and q=n–m
i 1 i 1
Now we note that a polynomial with repeated roots is given by
(s – )q = sq – qsq – 1 + …
This is expression has the same form as the one in the denominator of the expression we just
derived (i.e., loop gain as |s|→∞). We can make the substitution:
n m
pi zi
i 1 i 1
q q
Putting this back into our expression for the characteristic equation we get (as |s|→∞):
KGs H s 1
b 1
K 0 1
a0 s q
s q K b0
a0
This represents a set of vectors that intersect the real axis at s=-σ, that radiate outward with angles
of θ = ±r180°/q where r = 1, 3, 5...
Since
sq = – β
represents lines emanating from the origin at equally spaced angles as β goes from 0 to ∞ , then the
expression
19
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
s q
is just shifted by σ. In other words, it represents lines emanating from σ at equally space angles.
This tells us that the locus is asymptotic to these lines because both the locus and (s – σ)q have the
same form as |s|→∞ .
pi z i
i 1 i 1
At the break-away (and -in) points, the derivative of the characteristic equation is also zero.
d N s
1 K 0
ds Ds
I prefer to switch the order of the subtraction (though it really makes no difference),
N(s)D'(s) – N'(s)D(s) = 0.
Note: Many times, especially for simple root loci, there are no break-away or break-in
points. In these cases, this step is not necessary.
20
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
angle. To find the angle at which the locus leaves a complex pole, we start from the re-stated
angle criterion (from the "Locus on Real Axis" rule):
i 1 i 1
To find the angle at which the locus leaves from the pole pj, we can rewrite the angle criterion
by isolating the angle between the locus and pj.
i 1 i 1
i j
or
i 1 i 1
i2
In this equation we have taken r = 1 since the solutions are the same for all values of r. Now
if we consider a point "s" on the locus that is very close to p j, then all the terms on the right
hand side can be approximated by the angle between the pole or zero and p j. In other words,
if "s" is very close to pj, then we can approximate the angle criterion as:
s z 180 p
m n
j
0
2 zi p2 pi
i 1 i 1
i2
This is demonstrated by an example, below which shows a Root Locus plot of a function
G(s)H(s) that has one zero at s = -1, and three poles at s = -2, and s = -1 ± j. :
To find the angle of departure from the pole at s = -1 + j (which we will call p2), we choose a
point on the locus very near p2 and then find the angles from the zero and the other poles.
21
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
s z j 180 0 p2 zi p2 pi
1 3
i 1 i 1
i2
p 2 depart 180 0 z1 p1 p 3
180 0 90 0 450 90 0
2250
s p j 1800 p j zi p j pi
m n
i 1 i 1
j 1
Note: Many times, especially for simple root loci, there are no complex poles in loop gain. In
these cases, this step is not necessary.
If the loop gain, G(s)H(s), has a simple zero on the real axis, we know that the locus will arrive
at the zero, as K → ∞, along the axis. However, if the zero is complex it can arrive at any
angle. To find the angle at which the locus arrives at a complex zero, we start from the re-
stated angle criterion (from the "Locus on Real Axis" rule):
m n
To find the angle at which the locus arrives from the pole zj, we can rewrite the angle criterion
as
i j i
0
r 1, 3, 5,
i 1 i 1
j 1
or
i 1 i 1
j 1
In this equation we have taken r = 1 since the solutions are the same for all values of r. Now
if we consider a point "s" on the locus that is very close to z j, then all the terms on the right
hand side can be approximated by the angle between the pole or zero and z j. In other words,
if "s" is very close to zj, then we can approximate the angle criterion as:
j
i 1 i 1
j 1
22
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
The angle of arrival at a complex pole, zj, is 180 degrees + (sum of angles between zj and all
other zeros) - (sum of angles between zj and all poles).
j
i 1 i 1
j 1
Note: Many times, especially for simple root loci, there are no complex zeros in loop gain. In
these cases, this step is not necessary.
Note: Many times, especially for simple root loci, the root locus does not cross the imaginary
axis, or does so along the real axis. In these cases, this step is not necessary.
Key Concept: Find Location of Closed Loop Poles from Value of "K"
Rewrite characteristic equation as D(s) + KN(s) = 0. Put value of K into equation, and find roots
of characteristic equation.
or
D s
K
N s
a0 s n a1 s n1 an1 s an
K
b0 s m b1 s m1 bm1 s bm
23
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
So, given a value of "s" that is on the locus, it is possible to solve for the corresponding value
of K.
Note that if the value of "s" is obtained by inspection of a root locus plot, it is only
approximate. If the chosen value does not actually lie on the locus, the resulting value of K
may be complex. If this happens, the imaginary part will be small, so just take the imaginary
part of K. You should then use this value of K (see above) to find the exact value of the root
location.
Key Concept: Find Value of "K" from Location of Closed Loop Pole
Ds
Rewrite characteristic equation as K , replace s by the desired pole location and
N s
solve for K.
Note: Many times this step is not necessary, especially when the task is simply to draw the
root locus.
G1(s) G2(s)
0.075s 2 s 1
G1s
1
Gss
s 6s 2 45s
3
s 3 3s 2 5s
24
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
The two root loci are clearly very different, but it turns out (because of the way that I chose the
systems) that if we choose K = 40, we get two closed loop systems with identical characteristic
equations.
Closed loop system with G1(s) Closed loop system with G2(s)
K G1s K G 2s
T 1s T 1s
1 K G1s 1 K G 2s
1 0.075s 2 2 1
40 3 40 3
s 6s 2 45s s 3s 2 5s
1 0.075s 2 2 1
1 40 3 1 40 3
s 6s 2 45s s 3s 2 5s
3
40 3s 2 40s 40
3
s 6s 45s 40
2
s 6s 2 45s 40
The roots of the characteristic equations are at s = -1 and s = -2.5 ± j5.8 (i.e., the roots of the
characteristic equation s3 + 6s2 + 45s + 40), so we might expect the behavior of the systems to
be similar. Since the pole at s = -1 is closer to the origin, we would expect it to dominate
somewhat, giving the system behavior similar to a first order system with a time constant of 1
second, and a settling time of 4 seconds. However, if we plot the two responses, we get
something quite different.
25
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
T1(s) resembles (somewhat) a first order system, and has no overshoot, and its settling time is
almost exactly 4 seconds, as predicted. However, T2(s) behaves very differently, it is much
faster and more oscillatory than expected. How can we explain this?
If we look more closely at T1(s) and T2(s), we can understand what happened. In particular,
let’s look at pole-zero plots of both closed loop transfer functions.
26
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
T1(s) has poles at s = -1 and s = -2.5 ± j5.8, and no zeros. T2(s) has poles at s = -1 and s = -2.5
± j5.8 and zeros at -12.2 and -1.1. The zero at s = -1.1 is almost directly on top of the pole at s
= -1, and so largely negates its effect. The closed loop system, T2(s), therefore behaves very
much like a second order system with s = -2.5 ± j5.8 (ωn = 6.3 rad/sec, and ζ = 0.4).
The lesson here is that while the poles of a system (the roots of the denominator polynomial)
are very important in determining the behavior of a system, the zeros of the system (the roots
of the numerator polynomial) can also be important. After performing a root-locus design, it
is critical to go back and test the closed loop system to ensure that it behaves as expected.
As K changes, so do locations of closed loop poles (i.e., zeros of characteristic equation). The
table below gives rules for sketching the location of these poles as K varies from 0 to infinity
(K > 0).
27
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
If q > 0 there are asymptotes of the root locus that intersect the real axis
n m
Asymptotes as |s|→∞
pi z i 1800
at i 1 i 1
, and radiate out with angles r , where r =
q q
1, 3, 5
Break-Away and -In There are break-away or in points of the locus on the axis
Points on Real Axis wherever N(s)D'(s) – N(s)D(s) = 0.
Angle of departure from pole
p j zi p j pi
Angle of Departure m n
i 1 i 1
j 1
Locus Crosses Use Routh-Horwitz to determine where the locus crosses the imaginary
Imaginary Axis axis.
Rewrite characteristic equation as D(s) + KN(s) = 0. Put value of K into
Determine Location of
equation, and find roots of characteristic equation. (This may require a
Poles, Given Gain "K"
computer)
Ds
Rewrite characteristic equation as K , replace s by the desired
Determine Value of N s
"K", Given Pole pole location and solve for K. Note: if s is not exactly on locus, K may be
Locations complex, but the imaginary part should be small. Take the real part of K
for your answer.
TRANSFER FUNCTION
1
Gs Hs
ss 3
28
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
We can rewrite the open loop transfer function as G(s)H(s)=N(s)/D(s) where N(s) is the
numerator polynomial, and D(s) is the denominator polynomial.
N(s) = 1, and D(s)= s2 + 3 s.
NUMBER OF BRANCHES
The open loop transfer function, G(s)H(s), has 2 poles, therefore the locus has 2 branches.
Each branch is displayed in a different color.
START/END POINTS
Root locus starts (K = 0) at poles of open loop transfer function, G(s)H(s). These are shown
by an "x" on the diagram above
As K → ∞ the location of closed loop poles move to the zeros of the open loop transfer
function, G(s)H(s). Don't forget we have we also have q = n – m = 2 zeros at infinity. (We
have n = 2 finite poles, and m=0 finite zeros).
29
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
The root locus exists on real axis to left of an odd number of poles and zeros of open loop
transfer function, G(s)H(s), that are on the real axis. These real pole and zero locations
are highlighted on diagram, along with the portion of the locus that exists on the real axis.
Root locus exists on real axis between: 0 and -3
because on the real axis, we have 2 poles at s = -3, 0, and we have no zeros.
In the open loop transfer function, G(s)H(s), we have n = 2 finite poles, and m = 0 finite
zeros, therefore we have q = n – m = 2 zeros at infinity.
Angle of asymptotes at odd multiples of ±180°/q, (i.e., ±90°)
There exist 2 poles at s = 0, -3; so sum of poles = -3
There exist 0 zeros; so sum of zeros = 0.
(Any imaginary components of poles and zeros cancel when summed because they appear
as complex conjugate pairs.)
Intersect of asymptotes is at ((sum of poles) (sum of zeros))/q = -1.5.
Intersect is at ((-3) (0))/2 = -3/2 = -1.5 (highlighted by five pointed star).
30
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
ANGLE OF DEPARTUR
No complex poles in loop gain, so no angles of departure.
ANGLE OF ARRIVAL
No complex zeros in loop gain, so no angles of arrival.
31
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
Locus crosses imaginary axis at 1 value of K. These values are normally determined by
using Routh's method. This program does it numerically, and so is only an estimate.
Locus crosses where K = 0, corresponding to crossing imaginary axis at s=0. These
crossings are shown on plot.
So, by choosing K we determine the characteristic equation whose roots are the closed loop
poles. For example, with K = 2.25225, then the characteristic equation is
D(s) + KN(s) = s2 + 3 s + 2.2522(1) = 0, or
s2 + 3 s + 2.2522 = 0
This equation has 2 roots at s = -1.5 ±0.047j. These are shown by the large dots on the root
locus plot
CHOOSE POLE LOCATION AND FIND K
32
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
This s value is not exactly on the locus, so K is complex, (see note below), pick real part of K
(4.87)
For this K there exist 2 closed loop poles at s = -1.5 ± 1.6j. These poles are highlighted on
the diagram with dots, the value of "s" that was originally specified is shown by an asterisk.
Note: it is often difficult to choose a value of s that is precisely on the locus, but we can pick a point
that is close. If the value is not exactly on the locus, then the calculated value of K will be complex
instead of real. Just ignore the imaginary part of K (which will be small).
Note also that only one pole location was chosen and this determines the value of K. If the system
has more than one closed loop pole, the location of the other poles is determining solely by K, and
may be in undesirable locations.
TRANSFER FUNCTION
1
ss 5s 6
2
We have n = 3 poles at s = 0, -3, -2. We have m=0 finite zeros. So there exists q=3 zeros as
s goes to infinity (q = n-m = 3 – 0 = 3).
We can rewrite the open loop transfer function as G(s)H(s) = N(s)/D(s) where N(s) is the
numerator polynomial, and D(s) is the denominator polynomial.
N(s) = 1, and D(s) = s3 + 5 s2 + 6 s.
33
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
NUMBER OF BRANCHES
The open loop transfer function, G(s)H(s), has 3 poles, therefore the locus has 3 branches.
Each branch is displayed in a different color.
START/END POINTS
Root locus starts (K = 0) at poles of open loop transfer function, G(s)H(s). These are shown
by an "x" on the diagram above
As K → ∞ the location of closed loop poles move to the zeros of the open loop transfer
function, G(s)H(s). Don't forget we have we also have q = n – m = 3 zeros at infinity. (We
have n = 3 finite poles, and m=0 finite zeros).
34
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
The root locus exists on real axis to left of an odd number of poles and zeros of open loop
transfer function, G(s)H(s), that are on the real axis. These real pole and zero locations are
highlighted on diagram, along with the portion of the locus that exists on the real axis.
In the open loop transfer function, G(s)H(s), we have n = 3 finite poles, and m = 0 finite
zeros, therefore we have q = n – m = 3 zeros at infinity.
Break Out (or Break In) points occur where N(s)D'(s) – N'(s)D(s) = 0, or
3 s2 + 10 s + 6 = 0. (details below*) This polynomial has 2 roots at s = -2.5, -0.78.
From these 2 roots, there exists 2 real roots at s = -2.5, -0.78. These are highlighted on the
diagram above (with squares or diamonds.)
Not all of these roots are on the locus. Of these 2 real roots, there exists 1 root at s = -0.78
on the locus (i.e., K>0). Break-away (or break-in) points on the locus are shown by squares.
(Real break-away (or break-in) with K less than 0 are shown with diamonds).
N(s) and D(s) are numerator and denominator polynomials of G(s)H(s), and the tick mark,
', denotes differentiation.
N(s) = 1
N'(s) = 0
D(s)= s3 + 5 s2 + 6 s
D'(s)= 3 s2 + 10 s + 6
N(s)D'(s)= 3 s2 + 10 s + 6
N'(s)D(s)= 0
N(s)D'(s) – N'(s)D(s)= 3 s2 + 10 s + 6
Here we used N(s)D'(s) – N'(s)D(s)=0, but we could multiply by -1 and use N'(s)D(s) –
N(s)D'(s)=0.
ANGLE OF DEPARTURE
No complex poles in loop gain, so no angles of departure.
ANGLE OF ARRIVAL
No complex zeros in loop gain, so no angles of arrival.
36
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
Locus crosses imaginary axis at 2 values of K. These values are normally determined by
using Routh's method. This program does it numerically, and so is only an estimate.
Locus crosses where K = 0, 30.2, corresponding to crossing imaginary axis at s = 0, ±2.45j,
respectively. These crossings are shown on plot.
37
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
and K = -D(s)/N(s) = 4.15 + 0.222j. This s value is not exactly on the locus.
Note: it is often difficult to choose a value of s that is precisely on the locus, but we can pick
a point that is close. If the value is not exactly on the locus, then the calculated value of K
will be complex instead of real. Just ignore the imaginary part. These poles are highlighted
on the diagram with dots, the value of "s" that was originally specified is shown by an
asterisk.
Note: it is often difficult to choose a value of s that is precisely on the locus, but we can pick
a point that is close. If the value is not exactly on the locus, then the calculated value of K
will be complex instead of real. Just ignore the imaginary part of K (which will be small).
Note also that only one pole location was chosen and this determines the value of K. If the
system has more than one closed loop pole, the location of the other poles are determine
solely by K, and may be in undesirable locations.
TRANSFER FUNCTION
s3
Gs Hs
s s 2
2
We can rewrite the open loop transfer function as G(s)H(s)=N(s)/D(s) where N(s) is the
numerator polynomial, and D(s) is the denominator polynomial.
N(s)= s + 3, and D(s)= s2 - 1 s - 2.
NUMBER OF BRANCHES
The open loop transfer function, G(s)H(s), has 2 poles, therefore the locus has 2
branches. Each branch is displayed in a different color.
START/END POINTS
Root locus starts (K = 0) at poles of open loop transfer function, G(s)H(s). These
are shown by an "x" on the diagram above
As K → ∞ the location of closed loop poles move to the zeros of the open loop transfer
function, G(s)H(s). Finite zeros are shown by a "o" on the diagram above. Don't forget
we have we also have q=n-m=1 zero at infinity. (We have n = 2 finite poles, and m=1
finite zero).
39
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
The root locus exists on real axis to left of an odd number of poles and zeros of open
loop transfer function, G(s)H(s), that are on the real axis. These real pole and zero
locations are highlighted on diagram, along with the portion of the locus that exists
on the real axis.
Root locus exists on real axis between:
2 and -1
-3 and negative infinity
because on the real axis, we have 2 poles at s = -1, 2, and we have 1 zero at s = -3.
In the open loop transfer function, G(s)H(s), we have n = 2 finite poles, and m = 1
finite zero, therefore we have q=n-m=1 zero at infinity.
Break Out (or Break In) points occur where N(s)D'(s) – N'(s)D(s) = 0, or
s2 + 6 s - 1 = 0. (details below*)
From these 2 roots, there exists 2 real roots at s = -6.2, 0.16. These are highlighted
on the diagram above (with squares or diamonds.)
These roots are all on the locus (i.e., K > 0), and are highlighted with squares.
* N(s) and D(s) are numerator and denominator polynomials of G(s)H(s), and the
tick mark, ', denotes differentiation.
N(s) = s + 3
N'(s) = 1
D(s)= s2 - 1 s - 2
D'(s)= 2 s - 1
N(s)D'(s)= 2 s2 + 5 s - 3
N'(s)D(s) = s2 - 1 s - 2
N(s)D'(s) – N'(s)D(s) = s2 + 6 s – 1
ANGLE OF DEPARTURE
No complex poles in loop gain, so no angles of departure.
41
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
ANGLE OF ARRIVAL
No complex zeros in loop gain, so no angles of arrival.
So, by choosing K we determine the characteristic equation whose roots are the closed loop
poles.
42
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
This equation has 2 roots at s = -3.1 ± 3.2j. These are shown by the large dots on the root
locus plot
Note: it is often difficult to choose a value of s that is precisely on the locus, but
we can pick a point that is close. If the value is not exactly on the locus, then the
calculated value of K will be complex instead of real. Just ignore the imaginary
part of K (which will be small).
Note also that only one pole location was chosen and this determines the value of
K. If the system has more than one closed loop pole, the location of the other poles
are determine solely by K, and may be in undesirable locations.
43
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
TRANSFER FUNCTION
s 1
Gs Hs
s 4s 2 6s 4
3
We can rewrite the open loop transfer function as G(s)H(s)=N(s)/D(s) where N(s)
is the numerator polynomial, and D(s) is the denominator polynomial.
N(s)= s + 1, and D(s) = s3 + 4 s2 + 6 s + 4.
NUMBER OF BRANCHES
The open loop transfer function, G(s)H(s), has 3 poles, therefore the locus has 3
branches. Each branch is displayed in a different color.
START/END POINTS
Root locus starts (K=0) at poles of open loop transfer function, G(s)H(s). These
are shown by an "x" on the diagram above
As K → ∞ the location of closed loop poles move to the zeros of the open loop
transfer function, G(s)H(s). Finite zeros are shown by a "o" on the diagram above.
Don't forget we have we also have q=n-m=2 zeros at infinity. (We have n=3 finite
poles, and m=1 finite zero).
44
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
The root locus exists on real axis to left of an odd number of poles and zeros of open
loop transfer function, G(s)H(s), that are on the real axis. These real pole and zero
locations are highlighted on diagram, along with the portion of the locus that exists
on the real axis.
... because on the real axis, we have 1 pole at s = -2, and we have 1 zero at s = -1.
In the open loop transfer function, G(s)H(s), we have n = 3 finite poles, and m = 1
finite zero, therefore we have q = n – m = 2 zeros at infinity.
Angle of asymptotes at odd multiples of ±180°/q, (i.e., ±90°)
From these 3 roots, there exists 1 real root at s = -0.34. These are highlighted on
the diagram above (with squares or diamonds.)
* N(s) and D(s) are numerator and denominator polynomials of G(s)H(s), and the
tick mark, ', denotes differentiation.
N(s) = s + 1
N'(s) = 1
D(s)= s3 + 4 s2 + 6 s + 4
D'(s)= 3 s2 + 8 s + 6
N(s)D'(s)= 3 s3 + 11 s2 + 14 s + 6
N'(s)D(s)= s3 + 4 s2 + 6 s + 4
N(s)D'(s)-N'(s)D(s)= 2 s3 + 7 s2 + 8 s + 2
ANGLE OF DEPARTURE
46
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
ANGLE OF ARRIVAL
No complex zeros in loop gain, so no angles of arrival.
47
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
So, by choosing K we determine the characteristic equation whose roots are the
closed loop poles.
This equation has 3 roots at s = -1.4 ± 1.8j, -1.3. These are shown by the large dots
on the root locus plot
48
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
For this K there exist 3 closed loop poles at s = -1.2 ± 1.3j, -1.6Note: it is often difficult
to choose a value of s that is precisely on the locus, but we can pick a point that is
close. If the value is not exactly on the locus, then the calculated value of K will be
complex instead of real. Just ignore the imaginary part. These poles are highlighted
on the diagram with dots, the value of "s" that was originally specified is shown by
an asterisk.
Note: it is often difficult to choose a value of s that is precisely on the locus, but we
can pick a point that is close. If the value is not exactly on the locus, then the
calculated value of K will be complex instead of real. Just ignore the the imaginary
part of K (which will be small).
Note also that only one pole location was chosen and this determines the value of K.
If the system has more than one closed loop pole, the location of the other poles are
determine solely by K, and may be in undesirable locations.
TRANSFER FUNCTION
s 2 2s 2
Gs Hs 4
ss 9s 3 33s 2 51s 26
We can rewrite the open loop transfer function as G(s)H(s) = N(s)/D(s) where N(s)
is the numerator polynomial, and D(s) is the denominator polynomial.
N(s) = s2 + 2 s + 2, and
D(s) = s5 + 9 s4 + 33 s3 + 51 s2 + 26 s.
49
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
NUMBER OF BRANCHES
The open loop transfer function, G(s)H(s), has 5 poles, therefore the locus has 5
branches. Each branch is displayed in a different color.
START/END POINTS
Root locus starts (K = 0) at poles of open loop transfer function, G(s)H(s). These
are shown by an "x" on the diagram above
As K → ∞ the location of closed loop poles move to the zeros of the open loop
transfer function, G(s)H(s). Finite zeros are shown by a "o" on the diagram
above. Don't forget we have we also have q=n-m=3 zeros at infinity. (We have n=5
finite poles, and m=2 finite zeros).
50
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
The root locus exists on real axis to left of an odd number of poles and zeros of open
loop transfer function, G(s)H(s), that are on the real axis. These real pole and zero
locations are highlighted on diagram, along with the portion of the locus that exists
on the real axis.
... because on the real axis, we have 3 poles at s = -1, -2, 0, and we have no zeros.
In the open loop transfer function, G(s)H(s), we have n = 5 finite poles, and m = 2
finite zeros, therefore we have q = n – m = 3 zeros at infinity.
Angle of asymptotes at odd multiples of ±180°/q, (i.e., ±60°, ±180°)
51
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
Break Out (or Break In) points occur where N(s)D'(s) – N'(s)D(s) = 0, or
33 s6 + 26 s5 + 97 s4 + 204 s3 + 274 s2 + 204 s + 52 = 0. (details below*)
This polynomial has 6 roots at s = -2.7 ± 1.1j, -0.65 ± 1.6j, -1.4, -0.46.
From these 6 roots, there exists 2 real roots at s = -1.4, -0.46. These are highlighted
on the diagram above (with squares or diamonds.)
Not all of these roots are on the locus. Of these 2 real roots, there exists 1 root at s =
-0.46 on the locus (i.e., K > 0). Break-away (or break-in) points on the locus are
shown by squares.
(Real break-away (or break-in) with K less than 0 are shown with diamonds).
* N(s) and D(s) are numerator and denominator polynomials of G(s)H(s), and the
tick mark, ', denotes differentiation.
N(s) = s2 + 2 s + 2
N'(s) = 2 s + 2
D(s)= s5 + 9 s4 + 33 s3 + 51 s2 + 26 s
D'(s)= 5 s4 + 36 s3 + 99 s2 + 102 s + 26
N(s)D'(s)= 5 s6 + 46 s5 + 181 s4 + 372 s3 + 428 s2 + 256 s + 52
N'(s)D(s)= 2 s6 + 20 s5 + 84 s4 + 168 s3 + 154 s2 + 52 s
N(s)D'(s) – N'(s)D(s)= 3 s6 + 26 s5 + 97 s4 + 204 s3 + 274 s2 + 204 s + 52
ANGLE OF DEPARTURE
52
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
ANGLE OF ARRIVAL
53
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
54
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
So, by choosing K we determine the characteristic equation whose roots are the
closed loop poles.
This equation has 5 roots at s = -4.6, -1.6 ± 2.3j, -0.56 ±0.89j. These are shown
by the large dots on the root locus plot.
Characteristic Equation is
1 + KG(s)H(s) = 0
1 + KN(s)/D(s) = 0
55
Stability of Closed-Loop System
Engr. Caesar P. Llapitan
This s value is not exactly on the locus, so K is complex, (see note below), pick real
part of K (11)
For this K there exist 5 closed loop poles at s = -3.9, -2.1 ±2j, -0.48 ±0.66j. These
poles are highlighted on the diagram with dots, the value of "s" that was originally
specified is shown by an asterisk.
Note: it is often difficult to choose a value of s that is precisely on the locus, but we
can pick a point that is close. If the value is not exactly on the locus, then the
calculated value of K will be complex instead of real. Just ignore the imaginary part
of K (which will be small).
Note also that only one pole location was chosen, and this determines the value of
K. If the system has more than one closed loop pole, the location of the other poles
are determine solely by K, and may be in undesirable locations.
PROBLEM SET:
Sketch the root loci for the following equations:
K
1. 1 0
(s 1)(2s 1)
K
2. 1 0
s(s 1)(2s 1)
K(4s 1)
3. 1 0
s(s 1)(2s 1)
K(1.5s 1)
4. 1 0
s(s 1)(2s 1)
K(0.5s 1)
5. 1 0
s(s 1)(2s 1)
On your sketch you should locate quantitatively all poles, zeros, and asymptotes. In addition, show
the parameter that is being varied along the locus and the direction in which the loci travel as this
parameter is increased.
56