Understanding Root Locus in Control Systems
Understanding Root Locus in Control Systems
• The root locus is the path of the roots of the characteristic equation traced out
in the s-plane as a system parameter varies from zero to infinity.
or
• The root locus technique is a graphical method for sketching the locus of roots
of system characteristic equation in the s-plane as a parameter is varied.
The root locus is a powerful tool for designing and analysing feedback control systems
because it:
o provides the engineer with a measure of the sensitivity of the roots of the system
to a variation in the parameter being considered.
The characteristic equation is important to determine the stability, the further away the
roots are to the imaginary side the less oscillatory and the more stable it becomes.
When it gets to the imaginary axis it oscillates continuously.
H(s)
1
𝑅(𝑠) = 𝐼𝑛𝑝𝑢𝑡
𝐶(𝑠) = 𝑂𝑢𝑡𝑝𝑢𝑡
𝑠 2 + 2𝑠 + 𝐾 = 0 (2)
−2±√4−4𝐾
𝑠= 2
= −1 ± √1 − 𝐾
For each 𝐾 there are 2 roots
(From the loop equation as can be determined, the stability of the system is
determine on whether any of the roots fall on the right hand side (r.h.s) of 𝑠 plane)
When 𝐾 < 1 the roots are real
When 𝐾 = 1 there are two equal roots
When 𝐾 > 1 there are two complex conjugate roots with the real part remaining
constant.
For example:
2
when 𝐾 = 0, 𝑠1 = 0, 𝑠2 = −2
when 𝐾 = 0.5, 𝑠1 = −1 + √0.5, 𝑠2 = −1 − √0.5
when 𝐾 = 1, 𝑠1 = 𝑠2 = −1
when 𝐾 = 5, 𝑠1 = −1 + 𝑗2, 𝑠2 = −1 − 𝑗2
For any particular value of 𝐾, stability is determined by whether or not there are roots
in the right hand side of 𝑗𝜔 axis on 𝑠 plane.
Consider the feedback system shown in Figure 1, in order to find the roots of the
closed loop transfer function, we required that:
1 + 𝐺(𝑠)𝐻(𝑠) = 0
i.e 𝐺(𝑠)𝐻(𝑠) = −1 = 1∠(2𝑛 + 1)𝜋 (3)
where 𝑛 = 0, ±1, ±2 … … ..
equation (3) implies that the existence of a root of the characteristic equation,
i. the angle of 𝐺(𝑠)𝐻(𝑠) must be an odd multiple of 𝜋
∠𝐺(𝑠)𝐻(𝑠) = (2𝑛 + 1)𝜋 for 𝐾 > 0
ii. the magnitude must be unity
|𝐺(𝑠)𝐻(𝑠)| = 1 (4)
3
(i) The open loop poles are the roots of the characteristic equation
1 + 𝐺(𝑠)𝐻(𝑠) = 0, when 𝐾 = 0
𝐾(𝑠+𝜏1 )(𝑠+𝜏3 )
1 + (𝑠+𝜏 =0 (6)
2 )(𝑠+𝜏4 )(𝑠+𝜏6 )
This gives 𝑠 = −𝜏2 , 𝑠 = −𝜏4 , 𝑠 = −𝜏6 e.t.c are the open loop poles
(ii) The open loop zeros are the roots of the characteristics equation as 𝐾 → ∞
From equation (3) this gives 𝑠 = −𝜏1 , 𝑠 = −𝜏3, 𝑠 = −𝜏5 e.t.c
4
All angles are considered positive measured in the clockwise sense or
𝛽 = (∠𝑑𝑒𝑛𝑜𝑚𝑖𝑛𝑎𝑡𝑜𝑟 − ∠𝑛𝑢𝑚𝑒𝑟𝑎𝑡𝑜𝑟)
Note that poles angle is positive and zeros angle is negative
5
Figure 4: Plot of the asymptote on the complex plain
Angle of asymptote:
Angle of asymptote is given by
(2𝑚+1)𝜋
𝛾=± 𝑝−𝑧
𝑐 and 𝑚 are the number of real part of the pole and zero; and 𝑣 and 𝑤 are the
maximum number of real part of the pole and zero of the open-loop transfer function.
Rule 7 Break away Point on the Real Axis
1 + 𝐺(𝑠)𝐻(𝑠) = 𝑓(𝐾)
𝑑𝐾
The breakaway point is obtained by equating 𝑑𝑠 to zero, where 𝑠 is now real and
finding the roots (there are other methods for finding the breakaway point on the real
axis)
A pair of complex conjugate poles crossing the imaginary axis is indicated when the
𝑠1 row is equal to zero
180−𝐾
i.e. =0
9
6
𝐾 = 180
This imply the system is stable for all gains up to a value of 180. The value of the
roots at the 𝑗𝜔 crossing is obtained from the 𝑠 2 row by writing the auxiliary equation
9𝑠 2 + 𝐾 = 0
𝑠 = ±𝑗√20
= ±𝑗4.48
Rule 9: angle of departure from complex pole (or angle of approach to a Complex
Zero)
Angle of departure or approach is the domain in which the root locus leave a complex
pole or enters a complex zero.
Note
𝐺(𝑠)𝐻(𝑠) = 𝐹𝑒 −𝑗𝛽
𝐹 = |𝐺(𝑠)𝐻(𝑠)| = 1
−𝛽 = (1 + 2𝑚)𝜋
−𝛽 = ∑(∠𝑛𝑢𝑚𝑒𝑟𝑎𝑡𝑜𝑟) − ∑(∠𝑑𝑒𝑛𝑜𝑚𝑖𝑛𝑎𝑡𝑜𝑟)
(1 + 2𝑚)180𝑜 𝐾 > 0
−𝛽 = {
(𝑚)360𝑜 𝐾< 0
𝛽 = ∑(∠𝑑𝑒𝑛𝑜𝑚𝑖𝑛𝑎𝑡𝑜𝑟) − ∑(∠𝑛𝑢𝑚𝑒𝑟𝑎𝑡𝑜𝑟)
7
Figure 5:
Figure 6:
EXAMPLE
𝐾
Let 𝐺(𝑠)𝐻(𝑠) = 𝑠(𝑠+4)(𝑠+5)
8
Or since the characteristic equation is a 3rd order equation there are 3 branches
each starting from a pole (at either finite or infinite position) and ending at a zero (at
either finite or infinite position)
Rule 2:
The open-loop poles are at 0, - 4, - 5,
i.e. root locus starts (𝐾 = 0) from 0, - 4 – 5 for this problem since there are no finite
zero, all loci terminate (𝐾 = ∞) at zeros which are located at infinity.
Rule 3:
The portions of the real axis between -4 and 0, and also between - ∞ to – 5 are part
of the root locus.
Rule 4:
The portions of the root locus occur in complex conjugate pairs
Rule 5:
The 3 loci approach infinite as 𝐾 becomes large at angles given by
(2𝑚+1)𝜋
𝛾=± for 𝑚 = 0, 1, 2 … … 𝑢𝑝 𝑡𝑜 𝑚 = 𝑝 − 𝑧 − 1
𝑝−𝑧
(−4−5)−0
𝑠𝛾 = = −3
3−0
Recall
∑𝑣𝑐=1 𝑅𝑒 (𝑝𝑐 )−∑𝑤
𝑚=1 𝑅𝑒 (𝑧𝑚 )
𝑠𝛾 = 𝑣−𝑤
Rule 7:
𝐾
𝐺(𝑠)𝐻(𝑠) = 𝑠(𝑠+4)(𝑠+5)
𝐾
1 + 𝐺(𝑠)𝐻(𝑠) = 1 + 𝑠(𝑠+4)(𝑠+5) = 0
𝐾 = −𝑠(𝑠 + 4)(𝑠 + 5)
= −𝑠 3 − 9𝑠 2 − 20𝑠
𝑑𝐾
= −3𝑠 2 − 18𝑠 − 20 = 0
𝑑𝑠
𝑠1 = −1.47
𝑠2 = −4.53
9
The 𝑠2 is not a possible solution in this negative feedback example. Since no
branch exists on the real axis at this point. The – 4.53 is actually a breakaway
point for this system where there is positive feedback present.
Rule 8:
The intersection of the root locus and the imaginary axis can be determined as
follows:
Characteristic equation is
3𝑠 2 + 18𝑠 + 20 + 𝐾 = 0
The routh – Hurwitz arrange is
𝑠3 1 20
𝑠2 9 K
𝑠1 180-K
9
0 K
𝑠
For this array, a zero in the third row indicates a pair of complex conjugate poles
crossing the imaginary axis.
180−𝐾
At this point = 0 or 𝐾 = 180.
9
180 –K = 0 or K = 180
9
This system is stable for all gains up to 180. The corresponding value of 𝑠 occurring
at the crossing of the imaginary axis can be obtained from the expression
9𝑠 2 + 180 = 0
𝑠 = ±𝑗√20 = 𝑗4.48.
Assignment sketch the root locus for a system with
𝐾(1−0.5𝑠)
𝐺(𝑠)𝐻(𝑠) = 𝑠(1+0.1𝑠)(1−0.25𝑠)
10
CPE 541 Control Theory II Lecture II
Frequency response analysis and design:
• The frequency response of a system is defined as the steady-state response of the
system to a sinusoidal input signal.
• The technique allows the transfer function of both the system elements and the
complete system to be estimated, and the controller to be designed
• Let the system input be
𝜃𝑖 (𝑡) = 𝐴1 𝑠𝑖𝑛𝜔𝑡 (1)
• In complex form, equation (1) becomes
𝜃𝑖 (𝑡) = 𝐴1 𝑒 𝑗𝜔𝑡 (2)
• The steady state response of a linear system to the input of equation (1) is
𝜃𝑜 (𝑡) = 𝐴2 sin(𝜔𝑡 − ∅) (3)
• In complex form equation (3) becomes
𝜃𝑜 (𝑡) = 𝐴2 𝑒 𝑗(𝜔𝑡−∅) ) (4)
• where ∅ is the phase between the input and output sine wave as shown in Figure 1
𝐴2 = 𝐴1 |𝐺(𝜔)| (6)
𝜃𝑜 (𝜔)
• 𝜃𝑖 (𝜔)
= |𝐺(𝜔)|𝑒 −𝑗∅ (9)
• For a given 𝜔 equation (9) represents a point 𝑃(𝜔) in complex plane.
• When 𝜔 is varies from 0 to ∞ in the complex plane, a locus will be generated
• Example of the locus is shown in Figure 2 and is called polar plot
• The shape of this plot is uniquely related to the dynamic characteristics of the system
𝑑𝜃𝑖 (𝑡)
𝑑𝑡
= 𝑗𝜔(𝐴1 𝑒 𝑗𝜔𝑡 )
• Taking Laplace transform gives
• Therefore, for sinusoidal input, the steady state system response may be calculated
by substituting 𝑠 = 𝑗𝜔 into the transfer function and using the law of complex algebra to
calculate the modulus and phase angle.
• The results in Table 1 can be used to plot the polar plot of Figure 4 or a rectangular
plot of Figures 5 and 6
𝐾
• 𝐺(𝑗𝜔) = 𝜔 2 𝜔
(21)
{1−( ) }+𝑗{2𝜁( )}
𝜔𝑛 𝜔𝑛
from (21)
𝐾
• |𝐺(𝑗𝜔)| = (22)
2 2 2
√{1−( 𝜔 ) } +{2𝜁( 𝜔 )}
𝜔𝑛 𝜔𝑛
𝜔
−2𝜁( )
• ∠𝐺(𝑗𝜔) = 𝑡𝑎𝑛−1 { 𝜔𝑛
𝜔 2
} (23)
1−( )
𝜔𝑛
• From equations (22) and (23) the modulus and phase may be calculated as shown in
Table 2.
Table 2: Modulus and phase for a second-order system
• The results in Table 2 are function of 𝜁 and may be represented as a polar plot or
frequency response diagrams as shown in Figures 7and 8 respectively
Figure 7: Polar diagram of a second-order system
Modulus
Phase
Figure 8: Frequency response diagrams of a second-order system
Bode diagram:
• The Bode plot is the logarithmic version of frequency response diagrams illustrated in
Figure 6 and 8 for first and second order systems respectfully and it consists of:
• a log modulus-log frequency plot and
• a linear phase log frequency plot
• The technique uses asymptote to quickly construct frequency response diagram by
hand
• The construction of the diagram for higher-order systems is achieved by simple
graphical addition of the individual diagrams of the separate elements in the system
• The modulus is plot on the linear y-axis scale in decibels, where
• |𝐺(𝑗𝜔)|𝑑𝐵 = 20𝑙𝑜𝑔10 |𝐺(𝑗𝜔)| (24)
• The phase is plot on the linear y-axis scale in degrees
• The frequency is plotted on a logarithmic x-axis scale for both modulus frequency and
phase frequency plots.
𝐶(𝑗𝜔)
• = 𝐺1 (𝑗𝜔)𝐺2 (𝑗𝜔) (27)
𝑅(𝑗𝜔)
𝐶(𝑗𝜔)
• 𝑅(𝑗𝜔)
= |𝐺1 (𝑗𝜔)||𝐺2 (𝑗𝜔)|𝑒 𝑗(∅1 +∅2 ) (28)
𝐶(𝑗𝜔)
• |𝑅(𝑗𝜔)| = |𝐺1 (𝑗𝜔)||𝐺2 (𝑗𝜔)| (29)
𝐶(𝑗𝜔)
• |𝑅(𝑗𝜔)| 𝑑𝐵 = 20𝑙𝑜𝑔10 |𝐺1 (𝑗𝜔)| + 20𝑙𝑜𝑔10 |𝐺2 (𝑗𝜔)| (30)
and
𝐶(𝑗𝜔)
• ∠ 𝑅(𝑗𝜔) = ∅1 + ∅2 = ∠𝐺1 (𝑗𝜔) + ∠𝐺2 (𝑗𝜔) (31)
• It can be seen from equations (30) and (31) that the complete system frequency
response is obtained by summation of the log modulus of the system elements, and
summation of the phase of system elements.
Phase
Figure 12: Bode gain and phase for first-order a lead system
Second-order systems:
• Log modulus plot:
• LF asymptote: A horizontal line at 𝐾 dB.
• HF asymptote: when 𝜔 ≫ 𝜔𝑛 equation (22) that is
𝐾
|𝐺(𝑗𝜔)| =
2 2 2
√{1−( 𝜔 ) } +{2𝜁( 𝜔 )}
𝜔𝑛 𝜔𝑛
• approximates to
𝐾
|𝐺(𝑗𝜔)| = 𝜔 2 (36)
( )
𝜔𝑛
• From equation (36), an octave increase in frequency will reduce the modulus by a
quarter, or -12 dB and a decade frequency increase will reduce the modulus by a factor
of 100, or -40 dB. Hence the HF asymptote for a second-order system has a slope of
-12 dB/octave or -40 dB/decade.
• The LF and HF asymptotes intercept at 𝜔 = 𝜔𝑛
• Also, the exact value of modulus from equation (22) is
𝐾
|𝐺(𝑗𝜔)| =
2𝜁
• The value of the modulus relative to the LF asymptote is
𝐾⁄
2𝜁 1
|𝐺(𝑗𝜔)|𝑑𝐵 = 20 log10 ( ) = 20 log10 (2𝜁) (37)
𝐾
• Hence,
• 𝜁 = 0.25, Relative modulus = +6 dB
• 𝜁 = 0.5, Relative modulus = 0 dB
• 𝜁 = 1, Relative modulus = -6 dB
Log modulus
Phase
Figure 13: Bode gain and phase for a second-order system.
A pure integrator:
• Consider a pure integrator of the form
𝐾
𝐺(𝑠) = (38)
𝑠
• Equation (38) can be express as
𝐾
𝐺(𝑗𝜔) = 0+𝑗𝜔 (39)
• Rationalizing equation (39) gives
𝐾(0−𝑗𝜔)
𝐺(𝑗𝜔) = 2 (40)
𝜔
𝐾
|𝐺(𝑗𝜔)| = (41)
𝜔
And
𝐾𝜔
−( 2 )
−1
∠𝐺(𝑗𝜔) = 𝑡𝑎𝑛 ( 0𝜔 ) = 𝑡𝑎𝑛−1 ∞ = −90𝑜 (42)
• It can be seen from equation (41) that the modulus will be halve in value each time the
frequency is doubled, i.e. the slope is -6 dB/octave (-20 dB/decade) over the complete
frequency range.
• The earliest work usually referenced on PID controller is due to Ziegler-Nichols (Z-N)
• The procedure is known as controller tuning and to achieve the tuning there are two
methods that can be applied
Method I:
• An open-loop step response identification of the plant was suggested with the resulting
response modelled (fit) by a first-order plus dead time (FOPDT) transfer function as
shown in equation (2).
𝐾𝑒 −𝑠𝜏
𝐺(𝑠) = (2)
1+𝑠𝑇
• where K is the system gain, T > 0 is the time constant and τ > 0 is the dead time
parameter
• Based on equation (2), the suggested controller parameters are as given in Table 1.
Table 1: Controller parameters for method 1
Type 𝐾𝑝 𝑇𝑖 𝑇𝑑
P 𝑇⁄
𝜏𝐾
PI 0.9𝑇⁄ 3.33𝜏
𝜏𝐾
PID 1.2𝑇⁄ 2𝜏 0.5𝜏
𝜏𝐾
Method II:
• With the controller in situ in the control loop,
• The controller is set to proportional mode by switching off both the integral and
derivative mode
• Then tuned up the proportional controller parameter until an oscillation took place.
• The value of the proportional gain at this point (critical or ultimate gain) and the
frequency of oscillation is denoted by 𝐾𝑐 and 𝜔𝑐 respectively. But
2𝜋
𝜔𝑐 = 𝑇 (3)
𝑐
• where 𝑇𝑐 is the critical or ultimate period in seconds.
• Based on these values the controller parameters are as presented in Table 2.
Table 2: Controller parameters for method 2
Type 𝐾𝑝 𝑇𝑖 𝑇𝑑
P 0.5𝐾𝑐
PI 0.45𝐾𝑐 0.8𝑇𝑐
PID 0.6𝐾𝑐 0.5𝑇𝑐 0.125𝑇𝑐
• It should be note that the Z-N design method was based on achieving around a 25%
overshoot to the set point step response.