You are on page 1of 22

n

Control System Analysis using the Root Locus


Method

se
S Z Sayed Hassen

Outline of the lecture

as
Contents
1 Introduction 1

2 Root Locus

3 Properties

4 Sketching
H 4

9
d
5 Refining the Sketch 14
ye

1 Introduction
Introduction to Root Locus

• Root Locus is a graphical representation of the location of the closed-loop


poles of a system as a system parameter is varied.
Sa

• It is a powerful method of analysis and design for stability and transient


response of dynamical systems.
• The effect of varying gain upon percent overshoot, settling time, peak time
can be vividly displayed using the root locus technique.
• It also provides a graphical representation of a system’s stability and clearly
picture ranges of stability/instability and marginal stability.
Dr

• Although it can be used for first and second order systems, the real power
of the root locus lies in its ability to provide solutions for systems of order
> 2.

1
Vector Representation of Complex Numbers
• A complex number σ + jω can be graphically represented by a vector and

n
can also be described in polar form with magnitude M and angle θ, M ∠θ.
• If the complex number is substituted in a complex function F (s), another
complex number will result.

se
• For example, if F (s) = (s + a), then, F (σ + jω) = (σ + a) + jω.
• F (s) has a zero at −a. If we translate the vector a units to the left, we
have an alternate representation of the complex number that originates at
the zero of F (s) and terminates at the point s = σ + jω.

as
• We conclude that (s + a) is a complex number and can be represented by a
vector drawn from the zero of the function to the point s.
• For example, (s + 7)|s→5+j2 is a complex number from the zero of the
function −7, to the point s, which is 5 + j2.

H
Vector Representation of Complex Numbers
d
ye
Sa

Figure 1: Vector representation of complex numbers


Dr

Evaluation of Complex Function via Vectors


If we apply the concepts to a complicated function:
Q
m
(s + zi )
F (s) = i=1
Qn ;
(s + pj )
j=1

2
Since each complex factor can be thought of as a vector, the magnitude M of
F (s) at any point, s, is

n
Q
m
Q |(s + zi )|
zero lengths
M= Q = i=1
Q
n ,
pole lengths
|(s + pi )|

se
j=1

where a zero length is the magnitude of the vector drawn from the zero of F (s)
at −zi to the point s, and a pole length is the magnitude of the vector drawn
from the pole of F (s) at −pj to the point s.

as
Evaluation of a Complex Function via Vectors
The angle θ of F (s) at any point, s is
X X
θ = zero angles − pole angles

=
X
m

i=1
H
∠(s + zi ) −
X
n

j=1
∠(s + pj )

where a zero angle is the angle, measured from the positive extension of the
real axis, of a vector drawn from the zero of F (s) at −zi to the point s, and a
pole angle is the angle measured from the positive extension of the real axis, of
d
the vector drawn from the pole of F (s) at −pj to the point s.

Evaluation of a Complex Function via Vectors


ye

(s+1)
Given F (s) = s(s+2) , find F (s) at s = −3 + j4. The problem can be graphi-

cally depicted as: The vector originating at the zero at -1 is 20∠116.6.
Sa
Dr

3
Evaluation of a Complex Function via Vectors
The vector√originating at the pole at the origin and at the pole at -2 are ...
5∠126.9 and 17∠104.0 respectively.

n

20
M ∠θ = √ ∠(116.6 − 126.9 − 104) = 0.217∠ − 114.3
5 17

se
Example
Given
(s + 2)(s + 4)
F (s) =
s(s + 3)(s + 6)

as
Find F (s) at the point s = −7 + j9 in the following ways:
• Direct substitution of the point into F (s).
• Calculating the result using vectors.

2 Root Locus
Defining Root Locus
H
Answer: −0.0339 − j0.0899 = 0.096∠ − 110.7◦
d
ye

Figure 2: Security camera with auto tracking that can be used to follow moving
Sa

objects automatically

• Let us consider a security camera similar to the one shown below which
can automatically follow a subject. The tracking system monitors pixel
changes and positions the camera to center the changes.
• The root locus technique can be used to analyze the effect of loop gain
Dr

upon the system’s transient response and stability.

Defining Root Locus


The block diagram representation of the tracking system is shown below:
and the closed-loop transfer function is given by The closed-loop poles of the
system change location as the gain K is varied.

4
n
se
as
Defining Root Locus
We apply the quadratic formula to the denominator (characteristic equation)
of the transfer function:

H
d
ye
Sa

• As the gain K increases, the pole which is at -10 for K = 0 moves towards
the right, and the pole at 0 for K = 0 moves towards the left.
• They meet at -5 and break away from the real axis and move into the
complex plane.
Dr

Root Locus
The representation of the paths of the closed-loop poles as the gain is varied is
called the root locus

5
n
se
as
H
d
ye
Sa

Defining Root Locus

• The poles are real for gains less than 25. At gain of 25, the system is
critically damped and for gains above 25, the system is underdamped.
• For the underdamped part, since the real part does not change as K is
increased, it can be concluded that the settling time will remain the same
since Ts ≈ 4/σ.
Dr

• As we increase the gain, the damping ratio diminishes and the percentage
overshoot increases.
• The damped frequency of oscillation which is equal to the imaginary part
of the pole, also increases with an increase in gain, resulting in a reduction
of the peak time.

6
• Finally, the root locus never crosses over into the right half plane and the
system is always stable.

n
• This analysis can be extended to higher order systems. The root locus
allow us to make that association with the analysis and design of higher
order systems.

se
3 Properties
Properties of the Root Locus
• We will now examine the properties of root locus, from which we will be able to sketch the

as
root locus for higher order systems without having to factor the denominator of the closed-
loop transfer function.
• Assume a system with closed-loop transfer function
KG(s)
T (s) = (1)
1 + KG(s)H(s)

H
• From (1), a pole s exists when the characteristic polynomial in the denominator becomes
zero, or

KG(s)H(s) = −1 = 1∠(2k + 1)180◦ k = 0, ±1, ±2, ±3, · · ·

• Alternatively, it can be deduced that a value of s is a closed-loop pole if

|KG(s)H(s)| = 1 and ∠KG(s)H(s) = (2k + 1)180◦


d
• A pole of the closed-loop system causes the angle of G(s)H(s) (since K is a scalar) to be an
odd multiple of 180◦ . Furthermore, the magnitude of KG(s)H(s) must be unity, implying
that the value of K is the reciprocal of the magnitude of G(s)H(s) when the pole value is
ye

substituted in s.

Properties of the Root Locus


Let us reconsider the previous system we had
K
Sa

KG(s)H(s) =
s(s + 10)

• For a gain K = 5, the closed loop poles were −9.47 and −0.53.
• Substituting s = −9.47 in the equation above should give KG(s)H(s) =
· · · −1.

• Same for s = −0.53.


Dr

• Let us now visualize graphically the meaning of

∠KG(s)H(s) = (2k + 1)180◦

on an example.

7
n
se
as
Properties of the Root Locus
Consider the following system: The closed-loop transfer function is given by
K(s + 3)(s + 4)
T (s) =
(1 + K)s2 + (3 + 7K)s + (2 + 12K)

satisfy the 2 conditions stated before.

Properties of the Root Locus


Let us consider the point −2 + j3.
H
If point s is a closed loop system pole for some value of gain K, then s must
d
ye
Sa

• If this point is a closed-loop pole for some value of gain, then the angles
of the zeros minus the angles of the poles must equal an odd multiple of
180◦ .
• From above,

θ1 + θ2 − θ3 − θ4 = 56.31 + 71.57 − 90 − 108.43 = −70.55◦


Dr

• Therefore, −2 + j3 is not a point on the root locus.



• For the point −2 + j(1/ 2), the angles add up to 180◦ .

8
Properties of the Root Locus
From the equations derived before:
Q

n
K= 1
= 1
= Q pole lengths
|G(s)H(s)| M zero lengths


With the point s = −2 + j(1/ 2), the gain

se
L3 L4
K= = 0.33
L1 L2

Thus, the point −2 + j(1/ 2) is a point on the root locus for a gain of 0.33.

as
Properties of the Root Locus
Summary
• Given the poles and zeros of an open-loop transfer function, KG(s)H(s),
a point in the s-plane is on the root locus for a particular value of gain K,

H
if the angles of the zeros minus the angles of the poles, all drawn to the
selected point on the s-plane, add up to (2k + 1)180◦ .
• Furthermore, gain K at that point for which the angles add up to (2k +
1)180◦ is found by dividing the product of the pole lengths by the product
of the zero lengths.
d
Example
Given a unity feedback system that has the forward transfer function
ye

K(s + 2)
G(s) =
(s2 + 4s + 13)
1. Calculate ∠G(s) at the point −3+j0 by finding the algebraic sum of angles
of the vectors drawn from the zeros and poles of G(s) to the given point.
Sa

2. Determine if the point specified above is on the root locus.


3. If the point specified above is on the root locus, find the gain K using the
lengths of the vectors.
Soln: 180◦ , K = 10

4 Sketching
Dr

Sketching the Root Locus

• By sweeping through every point in the s-plane to locate those points for
which the angles add up to an odd multiple of ±180◦, the root locus can
be obtained.

9
• This task is tedious without the aid of a computer.
• The concept can however be used to develop rules that can be used to

n
sketch the root locus without the effort required to plot the locus.
• Once a sketch is obtained, points that are of interest for a particular prob-
lem can be accurately plotted.

se
• We will consider five rules that allows us to sketch the root locus with min-
imal calculations. The sketch gives an intuitive insight into the behaviour
of a control system. The sketch can be refined by finding actual points and
angles on the root locus but require some calculations.

as
Sketching the Root Locus
1. Number of Branches
Each closed loop pole moves as the gain is varied. If we define a branch as
the path that one pole traverses, then there will be one branch for each closed-
loop pole.
1. Number of branches
H
The number of branches of the root locus equals the number of closed-loop
poles.
d
ye
Sa

Sketching the Root Locus


2. Symmetry
If complex closed-loop poles do not exist in conjugate pairs, the resulting
polynomial, formed by multiplying the factors containing the closed-loop poles,
would have complex coefficients. Physically realizable systems cannot have
complex coefficients in their transfer functions. Thus, we conclude:
Dr

2. Symmetry
The root locus is symmetrical about the real axis.

10
n
se
Sketching the Root Locus
3. Real axis segments
Figure below shows the poles and zeros of a general open-loop system. To

as
calculate the angular contribution of the poles and zeros at each point p1 , p2 , p3
and p4 along the real axis, we observe the following:
• At each point, the angular contribution of a pair of open-loop complex
poles or zeros is zero.

the respective point is zero.

Sketching the Root Locus


3. Real axis segments
H
• The contribution of the open-loop poles and open-loop zeros to the left of
d
• The conclusion is that the only contribution to the angle at any of the
points comes from the open-loop, real axis poles and zeros that exist to
the right of the respective point.
ye

• If we calculate the angle at each point using only the open-loop, real axis
poles and zeros that exist to the right of each point, we note the following:
1. The angles on the real axis alternate between 0◦ and 180◦.
2. The angle is 180◦ for regions of the real axis that exist to the left of
Sa

an odd number of poles and/or zeros.

3. Real axis segments


On the real axis, for K > 0, the root locus exists to the left of an odd number
of real axis, finite open-loop poles and/or finite open-loop zeros.
Dr

Sketching the Root Locus


4. Starting and ending Points
Where does the root locus begin (zero gain) and end (infinite gain) ? Con-
sider the closed-loop transfer function
KNG (s)DH (s)
T (s) =
DG (s)DH (s) + KNG (s)NH (s)

11
As K approaches zero (small gain),
KNG (s)DH (s)
T (s) ≈

n
DG (s)DH (s) + ǫ

The closed-loop system poles at small gain approach the combined poles of
G(s) and H(s). We conclude that the root locus begins at the poles G(s)H(s),

se
the open-loop transfer function.

Sketching the Root Locus


4. Starting and ending Points
At high gains, where K is approaching infinity,

as
KNG (s)DH (s)
T (s) =
ǫ + KNG (s)NH (s)

We see that the closed-loop system poles at large gains approach the combined
zeros of G(s) and H(s). Now we conclude that the root locus ends at the zeros
of G(s)H(s), the open-loop transfer function.
4. Starting and ending points

H
The root locus begins at the finite and infinite poles of G(s)H(s) and ends at
the finite and infinite zeros of G(s)H(s).
d
Sketching the Root Locus
4. Starting and ending Points
As an example, consider the previous example:
ye
Sa
Dr

Sketching the Root Locus


4. Starting and ending Points
Complete root locus for the previous example:

12
n
se
as
Sketching the Root Locus
5. Behaviour at infinity
Consider applying Rule 4 to the following open-loop transfer function:

KG(s)H(s) =

H K
s(s + 1)(s + 2)
There are three finite poles and no finite zeros.
• A function can have infinite poles and zeros. If a function approaches
infinity as s approaches infinity, then the function has a pole at infinity.
d
• If a function approaches zero as s approaches infinity, then the function
has a zero at infinity.
• For example, G(s) = s has a pole at infinity, since G(s) approaches infinity
ye

as s approaches infinity.
• On the other hand, G(s) = 1/s has a zero at infinity.
• Every function of s has an equal number of poles and zeros if we include
the infinite poles and zeros as well as the finite poles and zeros.
Sa

Sketching the Root Locus


5. Behaviour at infinity
In this example,
K
KG(s)H(s) =
s(s + 1)(s + 2)
the system contains three finite poles and three infinite zeros.
• Thus, the root locus begins at the finite poles and ends at the infinite zeros.
Dr

• Where are the infinite zeros ? We must know where these zeros are in
order the show the root locus moving from the three finite poles to the
infinite zeros.
• Rule 5 helps us locate these zeros at infinity. Rule 5 also helps us locate
poles at infinity for functions containing more finite zeros than finite poles.

13
Sketching the Root Locus
5. Behaviour at infinity
The derivation of this Rule can be found in various control literature. We

n
will only state the results here.
5. Behaviour at infinity
The root locus approaches straight lines as asymptotes as the locus approaches

se
infinity. Further, the equation of the asymptotes is given by the real-axis inter-
cept, σa and angle θa as follows:
P P
finite poles− finite zeros (2k+1)π
σa = #finite poles−#finite zeros θa = #finite poles−#finite zeros

as
where k = 0, ±1, ±2, ±3 and the angle is given in radians with respect to the
positive extension of the real axis.

Sketching a Root Locus with Asymptotes

Example
L(s) = H
Example 1. Sketch the root locus for a unity feedback system with transfer func-
tion
K(s + 3)
s(s + 1)(s + 2)(s + 4)
d
ye
Sa
Dr

5 Refining the Sketch


Refining the Sketch
Real-axis Breakaway and Break-in points

14
n
se
as
• The point where the locus leaves the real axis, −σ1 is called the breakaway
point.
• The point where the locus returns to the real axis, σ2 is called the break-in
point.

Refining the Sketch


Real-axis Breakaway and Break-in points
H
• At the breakaway or break-in point, the branches of the root locus form an angle of 180◦ /n
d
with the real axis, where n is the number of closed-loop poles arriving at or departing from
the single breakaway or break-in point on the real axis. The branches at the breakaway point
form 90◦ angles with the real axis.

• The gain must be maximum along the real axis at the point where the breakaway occurs,
ye

somewhere between -1 and -2. Naturally, the gain increases above this value as the poles
move into the complex plane.We conclude that the breakaway point occurs at a point of
maximum gain on the real axis between the open-loop poles.

• When the closed-loop complex pair returns to the real axis, the gain will continue to increase
to infinity as the closed-loop poles move toward the open-loop zeros. It must be true, then,
that the gain at the break-in point is the minimum gain found along the real axis between
Sa

the two zeros.

Refining the Sketch


Real-axis Breakaway and Break-in points
The Figure below shows the variation of real-axis gain. The breakaway point
is found at the maximum gain between -1 and -2, and the break-in point is found
at the minimum gain between -3 and -5.
Dr

Refining the Sketch


Real-axis Breakaway and Break-in points

• One way to find the points at which the root locus breaks away from
and break into the real axis, we use differential calculus to maximize and
minimize the gain K.

15
n
se
• For all points on the root locus,

as
1
K=−
G(s)H(s)

• Since along the real axis, s = σ, therefore we will be finding

H
K =−
1
G(σ)H(σ)
(2)

• By differentiating (2) with respect to σ and equating the result to zero, we


can determine the points of maximum and minimum gain and hence the
d
breakaway and break-in points.

Refining the Sketch


ye

Real-axis Breakaway and Break-in points


Example 2. Find the breakaway and break-in points for the root-locus shown
using differential calculus.
Sa
Dr

Refining the Sketch


Real-axis Breakaway and Break-in points

16
(s − 3)(s − 5) s2 − 8s + 15
KG(s)H(s) = K =K 2
(s + 1)(s + 2) s + 3s + 2

n
For all points along the root locus, KG(s)H(s) = −1, and along the real axis,
s = σ,
σ 2 − 8σ + 15
K 2 = −1

se
σ + 3σ + 2
−(σ 2 + 3σ + 2)
K=
(σ 2 − 8σ + 15)
Differentiating K with respect to σ and setting the derivative to zero,

as
dK 11σ 2 − 26σ − 61
= = 0,
dσ (σ 2 − 8σ + 15)2
Solving for σ, we find σ = −1.45, 3.82 which are the breakaway and break-in
points respectively.

Refining the Sketch


Real-axis Breakaway and Break-in points
H
Another method, called the transition method eliminates the step of differ-
entiation and is stated below.
Transition Method
d
Breakaway and break-in points satisfy the relationship
X
m
1 X 1 n
= (3)
σ + zi σ + pi
ye

1 1

where zi and pi are the negative of the zeros and poles respectively of G(s)H(s).

Refining the Sketch


Real-axis Breakaway and Break-in points
Sa

Example 3. Repeating the previous example using the transition method, we


have
1 1 1 1
+ = +
σ−3 σ−5 σ+1 σ+2
Simplifying, we have
11σ 2 − 26σ − 61 = 0

Refining the Sketch


Dr

jω axis crossing
The jω-axis crossing is a point on the root locus that separates the stable operation of the
system from the unstable operation.
• The value of ω at the axis crossing yields the frequency of oscillation, while the gain at the
jω-axis crossing yields, for this example, the maximum positive gain for system stability.
• In other cases, a system can show instability for small values of gain K where the root locus
starts in the RHP and ending in the LHP for large values of gain.

17
n
se
as
Refining the Sketch
jω axis crossing
To find the jω-axis crossing, we can use the Routh-Hurwitz criterion as fol-
lows:

H
• Forcing a row of zeros in the Routh table will yield the gain;
• Going back one row to the even polynomial equation and solving for the
roots yields the frequency at the imaginary-axis crossing.

Refining the Sketch


d
jω axis crossing
Example 4. For the system shown, Find the frequency and gain, K, for which
ye

the root locus crosses the imaginary axis. For what range of K is the system
Sa

stable?

Refining the Sketch


jω axis crossing
The closed-loop transfer function is
K(s + 3)
T (s) =
s4 + 7s3 + 14s2 + (8 + K)s + 3K
Dr

We then obtain the Routh array shown below:


s4 1 14 3K
s3 7 8+K
s2 90 − K 21K
−K 2 −65K+720
s1 90−K
s0 21K

18
A complete row of zeros yields the possibility for imaginary axis roots. For positive values of gain,
only the s1 row can yield a row of zeros. Thus
−K 2 − 65K + 720 = 0

n
Therefore, K = 9.65. Forming the even polynomial by using the s2 row with K = 9.65, we obtain
(90 − K)s2 + 21K = 80.35s2 + 202.7 = 0

se
We determine s = ±j1.59. Thus the root locus crosses the jω axis at ±j1.59 at a gain of 9.65. We
conclude that the system is stable for 0 ≤ K < 9.65.

Refining the Sketch


jω axis crossing

as
• Another method for finding the jω-axis crossing (or any point on the root
locus) uses the fact that at the jω-axis crossing, the sum of the angles from
the finite open-loop poles and zeros must add to (2k + 1)180◦ .
• Thus, we can search jω-axis until we find the point that meets this angle

Refining the Sketch


Angles of Departure and Arrival
H
condition and can be done through MATLAB.

• We further refine our sketch by finding angles of departure and arrival


d
from complex poles and zeros.
• The root locus starts at the open-loop poles and ends at the open-loop zeros.
ye

• We want to calculate the root locus departure angle from the complex
poles and the arrival angle to the complex zeros.
• If we assume a point on the root locus ǫ close to a complex pole, the sum
of angles drawn from all finite poles and zeros to this point is an odd
multiple of 180◦ .
Sa

• Except for the pole that is ǫ close to the point, we assume all angles drawn
from all other poles and zeros are drawn directly to the pole that is near
the point.
• Thus, the only unknown angle in the sum is the angle drawn from the pole
that is ǫ close, which is the angle of departure from this complex pole.
Dr

Refining the Sketch


Angles of Departure and Arrival
Solving for

θ1 = θ2 + θ3 − θ4 − θ5 + θ6 − (2k + 1)180◦

19
n
se
as
Refining the Sketch
Angles of Departure and Arrival

H
• Similarly, if we assume a point on the root locus ǫ close to a complex zero,
the sum of angles drawn from all finite poles and zeros to this point is an
odd multiple of 180◦ .
d
• Except for the zero that is ǫ close to the point, we can assume all angles
drawn from all other poles and zeros are drawn directly to the zero that
is near the point.
ye

• Thus, the only unknown angle in the sum is the angle drawn from the
zero that is ǫ close, which is the angle of arrival to this complex zero.

Refining the Sketch


Angles of Departure and Arrival
Sa

Solving for

θ2 = θ1 − θ3 + θ4 + θ5 − θ6 + (2k + 1)180◦

Refining the Sketch


Angles of Departure and Arrival
Dr

Example 5 (Angle of departure from complex pole). Given the unity feedback
system, find the angle of departure from the complex poles and sketch the root
locus.
(s+2)
Using the poles and zeros of G(s) = (s+3)(s2 +2s+2) , we calculate the sum of

angles drawn to a point close to the complex pole, −1 + j1.

20
n
se
as
Refining the Sketch
Angles of Departure and Arrival
H
d
ye
Sa
Dr

−θ1 − θ2 + θ3 − θ4 = −θ1 − 90◦ + tan−1 (1/1) − tan−1 (1/2) = 180◦

Thus, Angle of departure θ1 = 108.4◦.

Sketching the Root Locus

21
Example
Example 6. Given a unity feedback systems that has the following forward trans-
fer function

n
K(s + 2)
G(s) = 2
(s − 4s + 13)

se
• Sketch the root locus,
• Find the imaginary axis crossing,
• Find the gain K at the jω crossing,
• Find the break-in point,

as
• Find the angle of departure from the complex poles.

s = ±j 21, K = 4, −7, −233.1◦

H
d
ye
Sa
Dr

22

You might also like