Root Locus: ROBT303 Linear Control Theory With Lab
Root Locus: ROBT303 Linear Control Theory With Lab
Root locus
Tohid Alizadeh
1 / 37
Part I
2 / 37
n (t )
and
d (t )
u (t ) = kp e (t ) = Gc (s ) = kp ,
r
- n
kp
Gp (s)
PROPORTIONAL
ACTUATOR
CONTROLLER
+ PROCESS
+
+
Mp
kp
and/or
T (s )
such that
Ts ,2% )
vary as a function of
kp
3 / 37
Gp (s ) = K 0 Gp0 (s ) = K 0
where
N (s )
and
D (s )
Then, by dening
KGp (s )
(s + z1 )(s + z2 ) . . . (s + zm )
N (s )
= K0
D (s )
(s + p1 )(s + p2 ) . . . (s + pn )
= kp K 0
T (s ) =
L(s )
=
1 + L( s )
Gp0 (s )
1 + Gp0 (s )
N (s )
D (s ) + N (s )
Therefore, the poles of the closed-loop system are the roots of the characteristic
equation
D (s ) + N (s ) = 0
Denition
The root locus of a feedback system is a plot of the poles of
T (s )
as parameter
changes
4 / 37
A simple example
5 / 37
A simple example
In this case, we nd the roots of
D (s ) + KN (s ) = s 2 + 10s + K = 0
Since it is a second-order polynomial,
it is easy to see how the poles change
as a function of
=K 0
in this case
0, and negative
locus (NL) the values of the roots for
of the roots for
<0
6 / 37
D (s ) + N (s ) = 0,
1+
N (s )
= 1 + Gp0 (s ) = 0,
D (s )
Gp0 (s ) =
N (s )
1
=
D (s )
All points of the complex plane which satisfy any of these conditions are points
of the root locus
Looking at the last condition, and remembering that, for a given complex
number
s , Gp0 (s )
Magnitude condition:
N (s )
1
D (s ) = ||
Phase condition:
N (s )
+ 2h,
1
=
=
D (s )
0 + 2h,
> 0 (PL)
< 0 (NL)
7 / 37
pi ,
zi ,
and
= the angle
we get
m
n
X
N (s ) X
=
i
i
D (s ) i = 1
j =1
Figure 6-2 (a) and (b) Diagrams showing angle measurements from open-loop poles and open-loop zero to test point s.
Example:
Gp0 (s ) = 1 1 2 3 4
Next, we dene some properties, useful to draw the root locus of a given system
Modern Control Engineering, Fifth Edition
2016-2017
8 / 37
rlocus()
However, we want to have some intuition on how the root locus is sketched,
especially for synthesizing controllers
9 / 37
rlocus()
However, we want to have some intuition on how the root locus is sketched,
especially for synthesizing controllers
9 / 37
Part II
10 / 37
Since
N (s )
and
D (s )
Rule 1
The root locus has 2n branches,
This can obtained from the fact that the polynomial equation
D (s ) + N (s ) = 0
has
11 / 37
Gp (s ).
Amongst these,
Gp (s ),
and
r =nm
at innity
1+
from which
(s + p1 )(s + p1 ) . . . (s + pn )
=0
(s + p1 )(s + p1 ) . . . (s + pn ) + (s + z1 )(s + z1 ) . . . (s + zm ) = 0
(s + z1 )(s + z2 ) . . . (s + zm )
= 0,
Gp ( s )
which has
The other
r =nm
12 / 37
Asymptotic behavior
Rule 3
The branches that go to innity have asymptotes which meet on the real axis, at the
point of abscissa
xa =
and form with the real axis angles
r a =
m
X
i =1
zi
n
X
i =1
pi
such that
(2h + 1),
2h,
h = 0, 1, . . . , r 1
h = 0, 1, . . . , r 1
(PL)
(NL)
Gp0 (s ) =
lim
sm
= lim r
s s
sn
xa
r 2
13 / 37
each, from
Modern Control
Engineering,
FifthLab
Edition
ROBT303 Linear Control
Theory
with
N (s )D 0 (s ) N 0 (s )D (s ) = 0
for both PL and NL.
N 0 (s )
and
D 0 (s )
of
N (s )
and
D (s ).
Root Locus
1
0.982
0.962
0.925
0.86
0.72
0.45
0.8
0.6 0.992
BREAKAWAY POINT
0.4
Imaginary Axis
0.998
0.2
4
0.2
0.998
0.4
0.6 0.992
BREAKIN POINT
0.8
1
5
0.962
0.982
4
0.925
3
0.86
2
Real Axis
0.72
0.45
15 / 37
Angles of departure
Rule 6
The angles of departure
is
q dep =
X
m
n
X
i + (2k + 1),
i
i =1
m
X
dep
i =1
and
i =1
n
X
i =1
i + 2k ,
k = 0, 1, . . . , q 1 (PL)
k = 0, 1, . . . , q 1 (NL)
= 0).
16 / 37
Angles of arrival
Rule 7
The angles of arrival
q arr =
arr
X
m
n
X
+
i + (2k + 1),
i
i =1
m
X
i =1
and
i +
i =1
n
X
i =1
i + 2k ,
is
k = 0, 1, . . . , q 1 (PL)
k = 0, 1, . . . , q 1 (NL)
= 0).
This rule can be also obtained by checking the phase condition, this time in the
neighborhood of the considered zero
17 / 37
Some notes
Remember that, once we know that a point
want to nd the associated gain
kp
s = s is
N (
D (
s ) = 1 ||
s)
=
D (
s)
||
N (
s)
We obtain the sign of
= kp K 0 kp =
K0
(or
kp )
closed-loop system is BIBO stable, we can apply the Routh criterion, and nd
the values of
D (s ) + N (s )
has all positive values
18 / 37
Part III
19 / 37
Examples
r
- n
Example 1 (Click
kp
Gp (s)
PROPORTIONAL
ACTUATOR
CONTROLLER
+ PROCESS
+
+
Draw a sketch of the root locus associated to the standard feedback loop with
proportional controller
Gc (s ) = kp
Gp ( s ) =
s +1
and compare the obtained solution with that obtained with Matlab. In addition:
compute (if possible) the value of
closed-loop system,
Ts ,5% = 0.3
kp
kp R
to
r (t ) = step(t )
stable
Tohid Alizadeh (NU)
20 / 37
Examples (cont'ed)
r
- n
Example 2 (Click
kp
Gp (s)
PROPORTIONAL
ACTUATOR
CONTROLLER
+ PROCESS
+
+
Draw a sketch of the root locus associated to the standard feedback loop with
proportional controller
Gc (s ) = kp
Gp (s ) =
0.05
s (1 + 10s )
and compare the obtained solution with that obtained with Matlab. In addition:
compute (if possible) the value of
kp
to
r (t ) = 5ramp(t )
system
nd the range of values of
Tohid Alizadeh (NU)
kp R
21 / 37
Examples (cont'ed)
r
- n
Example 3 (Click
kp
Gp (s)
PROPORTIONAL
ACTUATOR
CONTROLLER
+ PROCESS
+
+
Draw a sketch of the root locus associated to the standard feedback loop with
proportional controller
Gc (s ) = kp
Gp (s ) =
15
s (s + 3)(s + 5)
and compare the obtained solution with that obtained with Matlab. In addition:
nd the range of values of
kp R
stable
compute (if possible) the value of
kp
22 / 37
Examples (cont'ed)
r
- n
Example 4 (Click
kp
Gp (s)
PROPORTIONAL
ACTUATOR
CONTROLLER
+ PROCESS
+
+
Draw a sketch of the root locus associated to the standard feedback loop with
proportional controller
Gc (s ) = kp
Gp ( s ) =
s +1
s2
and compare the obtained solution with that obtained with Matlab. In addition:
nd the range of values of
kp R
stable
compute (if possible) the value of
kp
23 / 37
Examples (cont'ed)
r
- n
kp
Example 5 (Click
Gp (s)
PROPORTIONAL
ACTUATOR
CONTROLLER
+ PROCESS
+
+
Draw a sketch of the root locus associated to the standard feedback loop with
proportional controller
Gc (s ) = kp
s +2
Gp (s ) = 2
s + 2s + 2
and compare the obtained solution with that obtained with Matlab. In addition:
nd the range of values of
kp R
stable
for which value of
kp
is it possible to approximate
T (s )
as a rst-order system?
24 / 37
Examples (cont'ed)
r
- n
kp
Example 6 (Click
Gp (s)
PROPORTIONAL
ACTUATOR
CONTROLLER
+ PROCESS
+
+
Draw a sketch of the root locus associated to the standard feedback loop with
proportional controller
Gc (s ) = kp
Gp (s ) =
s (s + 1)(s 2 + 4s + 13)
and compare the obtained solution with that obtained with Matlab. In addition:
nd the range of values of
kp R
stable
nd the value of
kp
25 / 37
Examples (cont'ed)
r
- n
Example 7 (Click
kp
Gp (s)
PROPORTIONAL
ACTUATOR
CONTROLLER
+ PROCESS
+
+
Draw a sketch of the root locus associated to the standard feedback loop with
proportional controller
Gc (s ) = kp
s +b
Gp (s ) = 2
s (s + a )
and compare the obtained solution with that obtained with Matlab, for the following
conditions:
a = 10,
and
b=1
a = 9,
and
b=1
a = 8,
and
b=1
26 / 37
Examples (cont'ed)
r
- n
kp
Gp (s)
PROPORTIONAL
ACTUATOR
CONTROLLER
+ PROCESS
+
+
Example 8
Draw a sketch of the root locus associated to the standard feedback loop with
proportional controller
Gc (s ) = kp
Gp (s ) =
(s + 1)2
(s + 2)2
and compare the obtained solution with that obtained with Matlab. In addition:
nd the range of values of
stable, by using
both
kp R
27 / 37
Examples (cont'ed)
r
- n
kp
Gp (s)
PROPORTIONAL
ACTUATOR
CONTROLLER
+ PROCESS
+
+
Example 9
Draw a sketch of the root locus associated to the standard feedback loop with
proportional controller
Gc (s ) = kp
Gp (s ) =
(s + 1)2
(s + 2)4
and compare the obtained solution with that obtained with Matlab. In addition:
nd the range of values of
kp R
stable, by directly using the magnitude condition instead of the Routh criterion
28 / 37
Part IV
29 / 37
Design procedure
The design procedure for a proportional controller using the root locus can be
summarized as follows:
1
2
Mp , Tr ,
and
Ts
for a step
T (s )
can be
kp :
Find a gain
kp
Have a look at the additional poles and/or zeros, and plot the step response, to
verify if the transient requirements are actually met (i.e., if the approximation
was good)
kp ,
kp > 0
30 / 37
p ,
Mp < M
as
= q
Consider that
= cos( ),
where
p /100)
ln(M
2
p /100)
2 + ln (M
is the angle between the line connecting the
pole with positive imaginary part and the origin, and the negative real axis
Therefore, the poles will be constrained in the white sector in the gure, and the
limit angle
increases
31 / 37
Tr < Tr ,
we nd
We know that
n = 1.8/Tr ,
Tr = 1.8/n ,
n
n >
and we impose
from the origin (i.e., the magnitude of the corresponding complex number)
Therefore, the poles will be constrained in the white area in the gure, and the
forbidden circle will increase as a smaller
Tr
is required
32 / 37
Ts ,2% = 4/d ,
where
poles
Therefore, we nd
d = 4/Ts ,2%
and impose
d
d >
The poles will be constrained in the white half plane in the gure, and the
dividing line will move left as
Ts ,2%
increases
33 / 37
Steady-state requirements
The fact that the steady-state error for a given polynomial reference will be zero
does not depend on the chosen gain
the process
kp ,
Gp ( s )
kp
For instance, if
Gp ( s ) =
then
L(s ) =
s +3
kp
s +3
1
kp
1+ 3
do it
kp > 0
ROBT303 Linear Control Theory with Lab
34 / 37
Gp (s ) =
then
L( s ) =
kp
s
kp
be satised
for all
d (t )
Important: for some systems, increasing the gain too much leads to instability
35 / 37
Example: DC motor
Considering again the previously-analyzed DC motor, we recall that its transfer
function was
Gp (s ) =
0.01
0.005s 2
+ 0.06s + 0.1001
Ts ,2% < 2
s,
rltool
kp = 87.7
Step Response
1.4
1.2
Amplitude
0.8
0.6
0.4
0.2
0.2
0.4
0.6
Time (sec)
0.8
1.2
36 / 37
Example: DC motor
Let us assume now that the same motor is used for a high-precision application,
for which we need
By using the
Ts ,2% < 2
rltool
s,
met by using a proportional controller, since not enough degrees of freedom are
provided
Step Response: kp=27
0.8
1.8
0.7
1.6
1.4
0.6
1.2
Amplitude
Amplitude
0.5
0.4
1
0.8
0.3
0.6
0.2
0.4
0.1
0
0.2
0.2
0.4
0.6
0.8
Time (sec)
1.2
1.4
To have
Mp < 5%,
To have
e < 1%,
kp = 27,
0.2
0.4
0.6
Time (sec)
for which
kp = 1025,
for which
0.8
1.2
is too large
Mp
is too large
37 / 37