Professional Documents
Culture Documents
Introduction
Angle and Magnitude Condition
Construction of Root Loci
Examples
Introduction
Consider a unity feedback control system
shown below.
R (s )
K
s 1
C (s )
R( s) 1 G ( s) s 1 K
Introduction
The open loop stability does not depend
upon gain K.
K
G (s)
s 1
R( s) s 1 K
Introduction
Location of closed loop Pole for different
values of K (remember
K>0).
C ( s)
K
R( s)
Pole
-1.5
s 1 K
Pole-Zero Map
0.5
-2
-3
-4
-6
-11
-16
Imaginary Axis
K
0.
5
1
2
3
5
10
15
K 0
K
-0.5
-16
-14
-12
-10
-8
-6
-4
-2
R( s) s 1 K
K
0.
5
1
2
3
5
10
15
Pole
-1.5
-2
-3
-4
-6
-11
-16
0.
5
1
2
3
5
10
15
?
?
?
?
?
?
?
In
magnitude conditions are important.
and
R( s) 1 G ( s) H ( s)
G ( s ) H ( s ) 1
Where k=1,2,3
The magnitude of G(s)H(s)=-1 is
G(s) H (s) 1
G(s) H (s) 1
Angle Condition
G ( s ) H ( s ) 180 (2k 1)
(k 1,2,3...)
Magnitude Condition
G (s) H (s) 1
The values of s that fulfill both the angle and
magnitude conditions are the roots of the
characteristic equation, or the closed-loop
poles.
A locus of the points in the complex plane
satisfying the angle condition alone is the root
locus.
s 1
G ( s) H ( s)
s ( s 3)( s 4)
-0.5
-1
-4
-3.5
-3
-2.5
-2
Real Axis
-1.5
-1
-0.5
Imaginary Axis
0.5
G ( s ) H ( s ) s p 1 1 2 3
-0.5
-1
-4
-3
-2.5
-2
-1.5
-1
-0.5
Imaginary Axis
0.5
B1
B2
B3
0
-0.5
-1
-4
G (s) H (s) s p
-3.5
-3
s 1 s p
s s p s 3 s p s 4 s p
-2.5
-2
-1.5
-1
B1 B2 B3
-0.5
Example#1
Apply angle and magnitude conditions
(Analytically as well as graphically) on
following unity feedback system at s=0.25.
Example#1
Here
K
G(s) H (s)
s ( s 1)( s 2)
Example#1
G ( s ) H ( s ) s 0.25 K
s 0.25
G ( s ) H ( s ) s 0.25 180 0 0
G ( s ) H ( s ) s 0.25 180(2k 1)
Example#1
Here
K
G(s) H (s)
s ( s 1)( s 2)
Example#1
Now we know from angle condition that the
point s=-0.25 is on the rot locus. But we do
not know the value of gain K at that specific
point.
We can use magnitude condition to determine
the value of gain at any point on the root
K
locus.
1
s ( s 1)( s 2) s 0.25
K
1
(0.25)(0.25 1)(0.25 2) s 0.25
Example#1
K
1
(0.25)(0.25 1)(0.25 2) s 0.25
K
1
(0.25)(0.75)(1.75)
K
1
0.3285
K
1
0.328
K 0.328
Example#1
Home work:
Check whether following point are on
the root locus or not (Graphically as well
as analytically) ? If yes determine the
value of gain K.
1. s=-0.2+j0.937
2. s=-1+j2
Imaginary Axis
0.5
K
G ( s) H ( s)
s ( s 1)( s 2)
-0.5
-1
-5
-4
-3
-2
-1
Real Axis
Imaginary Axis
Pole-Zero Map
0.5
p1
-0.5
-1
-5
-4
-3
-2
-1
Real Axis
Pole-Zero Map
Thus
Imaginary Axis
0.5
p2
-0.5
-1
-5
-4
-3
-2
-1
Real Axis
Pole-Zero Map
Thus
Imaginary Axis
0.5
p3
-0.5
-1
-5
-4
-3
-2
-1
Real Axis
0.5
Imaginary Axis
Pole-Zero Map
p4
-0.5
-1
-5
-4
-3
-2
-1
Real Axis
Imaginary Axis
0.5
-0.5
-1
-5
-4
-3
-2
-1
Actual Curve
Asymptotic Approximation
180(2k 1)
Angle of asymptotes
nm
where
n-----> number of poles
m-----> number of zeros
G( s) H ( s)
K
s ( s 1)( s 2)
180( 2k 1)
30
60
whe n k 0
3 0
180 when k 1
300 when k 2
420 when k 3
Since the angle repeats itself as k is varied, the
distinct angles for the asymptotes are determined
as 60, 60, -180and 180.
poles zeros
nm
For
K
s ( s 1)( s 2)
( 0 1 2) 0
30
3
1
3
Imaginary Axis
60 ,60 , 180
0.5
180
60
60
-0.5
-1
-5
-4
-3
-2
-1
Real Axis
Home Work
Consider
system.
following
Determine
Root loci on real axis
Angle of asymptotes
Centroid of asymptotes
unity
feedback
0.5
Imaginary Axis
The
breakaway
point corresponds
to a point in the s
plane
where
multiple roots of
the characteristic
equation occur.
Pole-Zero Map
-0.5
-1
-5
-4
-3
-2
-1
Real Axis
It is the point
where
the
root
locus
branches
arrives at real axis.
0.5
Imaginary Axis
Pole-Zero Map
-0.5
-1
-5
-4
-3
-2
-1
Real Axis
s ( s 1)( s 2)
s ( s 1)( s 2)
K
1
s( s 1)( s 2)
K s ( s 1)( s 2)
The breakaway dK
pointd can now be determined
s ( s 1)( s 2)
as
ds
ds
s ( s 1)( s 2)
s 0.4226
Imaginary Axis
0.5
180
60
60
-0.5
-1
-5
-4
-3
-2
-1
Real Axis
s 0.4226
Imaginary Axis
0.5
-0.5
-1
-5
-4
-3
-2
-1
Real Axis
Solution
K ( s 2 8s 15)
1
2
s 3s 2
( s 2 3s 2)
K 2
( s 8s 15)
Differentiating K with respect to s and setting the derivative equal to
zero yields;
2
2
dK
[( s 8s 15)( 2s 3) ( s 3s 2)( 2 s 8)]
0
2
2
ds
( s 8s 15)
11s 2 26s 61 0
Solution
-1.45
3.82
Imaginary Axis
0.5
180
60
60
-0.5
-1
-5
-4
-3
-2
-1
Which yields
( K 3 2 ) 0
Root Locus
5
4
3
Imaginary Axis
2
1
0
-1
-2
-3
-4
-5
-7
-6
-5
-4
-3
-2
Real Axis
-1
Example#2
Consider following unity feedback system.
Example#2
The damping ratio of 0.5 corresponds to
cos
cos 1
cos 1 (0.5) 60
Example#2
The value of K that yields such poles is found
from the magnitude condition
K
1
s ( s 1)( s 2) s 0.3337 j 0.5780
Example#2
The third closed loop pole at K=1.0383 can be
obtained as
K
1 G ( s) H ( s) 1
0
s ( s 1)( s 2)
1.0383
1
0
s ( s 1)( s 2)
s ( s 1)( s 2) 1.0383 0
Root Locus
2
1.5
-0.2+j0.96
Imaginary Axis
0.5
0
-0.5
-1
-1.5
-2
-3
-2.5
-2
-1.5
-1
-0.5
0.5
1.5
Example#3
Sketch the root locus of following
system and determine the location of
dominant closed loop poles to yield
maximum overshoot in the step
response less than 30%.
Example#3
Step-1: Pole-Zero Map
Pole-Zero Map
1
0.8
0.6
Imaginary Axis
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
-5
-4
-3
-2
Real Axis
-1
Example#3
Step-2: Root Loci on Real axis
Pole-Zero Map
1
0.8
0.6
Imaginary Axis
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
-5
-4
-3
-2
Real Axis
-1
Example#3
Step-3: Asymptotes
Pole-Zero Map
1
0.8
0.6
90
Imaginary Axis
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
-5
-4
-3
-2
Real Axis
-1
Example#3
Step-4: breakaway point
Pole-Zero Map
1
0.8
0.6
Imaginary Axis
0.4
0.2
0
-1.55
-0.2
-0.4
-0.6
-0.8
-1
-5
-4
-3
-2
Real Axis
-1
Example#3
Root Locus
8
6
Imaginary Axis
4
2
0
-2
-4
-6
-8
-4.5
-4
-3.5
-3
-2.5
-2
Real Axis
-1.5
-1
-0.5
0.5
Example#3
Mp<30% corresponds to
Mp e
30% e
1 2
100
1 2
100
0.35
cos 1 (0.35)
69.5
Example#3
Root Locus
8
6
Imaginary Axis
4
2
0
-2
-4
-6
-8
-4.5
-4
-3.5
-3
-2.5
-2
Real Axis
-1.5
-1
-0.5
0.5
Example#3
Root Locus
8
6
System: sys
Gain: 28.9
Pole: -1.96 + 5.19i
Damping: 0.354
Overshoot (%): 30.5
Frequency (rad/sec): 5.55
Imaginary Axis
4
2
0
-2
-4
-6
-8
-4.5
-4
-3.5
-3
-2.5
-2
Real Axis
-1.5
-1
-0.5
0.5
Example-4: Continue.
A complete row of zeros yields the possibility for imaginary axis roots.
For positive values of gain, K > 0, those for which the root locus is
plotted, only the s1 row can yield a row of zeros. Thus,
From the above equation, K is evaluated as; K = 9.65, -74.6.
Forming the even polynomial by using the s2 row with K = 9.65, we
obtain
Thus the root locus crosses the j-axis at s = j1.59 at a gain,
K = 9.65.
Practice Exercise-1
PROBLEM: Given a unity feedback system that has the forward
transfer function;
Do the following:
a. Calculate the angle of 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.
b. Determine if the point specified in part (a) is on the root locus.
c. If the point specified in part (a) is on the root locus, then find the
gain, K, using the lengths of the vectors.
Practice Exercise-2
PROBLEM: Sketch the root locus and its asymptotes for
a unity feedback system that has the forward transfer
function
K ( s 3)
G ( s) H ( s)
s ( s 1)( s 2)( s 4)
Let us begin by calculating the asymptotes. The realaxis intercept is evaluated as;
Example: Sketch the root locus for the system with the
characteristic equation of;
a)
b)
c)
d)
o
For K = 1, a = 180
For K = 2, a = 300o
A root locus exists on the real axis between points s = 1 and s = 3.6.
The intersection of the asymptotes and the real axis is determined as,
The angles of the asymptotes that intersect at 1.3, given by Eq. (vi),
are;
For K = 0, a = 90o
For K = 1, a = -90o or 270o
The breakaway and break-in points are found from Eq. (a) as,
To check the points where root-locus branches may cross the imaginary
axis, substitute into the characteristic equation, yielding.
equation
can
be
MATLAB SIMULATION
Proportional Control
A proportional controller attempts to perform better
than the On-off type by applying power in
proportion to the difference in temperature
between the measured and the set-point. As the
gain is increased the system responds faster to
changes in set-point but becomes progressively
underdamped and eventually unstable. The final
temperature lies below the set-point for this system
because some difference is required to keep the
heater supplying power.
Proportional+Integral+Derivative Control
it is possible to eliminate steady-state error
while using relatively low gain by adding an
integral term to the control function which
becomes
RISE TIME
OVERSHOOT
SETTLING TIME
S-S ERROR
Kp
Decrease
Increase
Small Change
Decrease
Ki
Decrease
Increase
Increase
Eliminate
Kd
Small
Change
Decrease
Decrease
Small
Change
2.
3.
4.
5.
Adjust each of Kp, Ki, and Kd until you obtain a desired overall
response.
Lastly, please keep in mind that you do not need to implement all three controllers
(proportional, derivative, and integral) into a single system, if not necessary. For
example, if a PI controller gives a good enough response (like the above
example), then you don't need to implement derivative controller to the system.
Keep the controller as simple as possible.
1
2
s 10s 20
num=1;
den=[1 10 20];
step(num,den)
1.4
1.2
To: Y(1)
Amplitude
0.8
Step Response
0.6
From: U(1)
1
0.4
0.9
0.8
0.2
0.7
0
0.2
0.4
0.6
num=[Kp];
den=[1 10 20+Kp];
t=0:0.01:2;
step(num,den,t)
0.8
1.2
Time (sec.)
K=300
1.4
1.6
1.8
0.6
To: Y(1)
Amplitude
Kp=300;
0.5
K=100
0.4
0.3
0.2
0.1
0
0.2
0.4
0.6
0.8
Time (sec.)
1.2
1.4
1.6
1.8
T( s )
MATLAB Example
s ( 10 Kd ) s ( 20 Kp )
Step Response
From: U(1)
1.4
1.2
Step Response
0.9
0.4
0.8
0.2
t=0:0.01:2;
step(num,den,t)
From: U(1)
0.6
0.2
0.4
0.7
Kd=10
0.6
0.8
Time (sec.)
1.2
1.4
1.6
1.8
0.6
To: Y(1)
num=[Kd Kp];
0.8
Amplitude
Kd=10;
To: Y(1)
Kp=300;
Amplitude
2 0.5
0.4
0.3
Kd=20
0.2
0.1
0
0.2
0.4
0.6
0.8
Time (sec.)
1.2
1.4
1.6
1.8
T( s )
MATLAB Example
s 10 s ( 20 Kp ) s Ki
Step Response
From: U(1)
1.4
1.2
Step Response
0.8
0.6
1.2
0.4
step(num,den,t)
Ki=70
0.2
0.4
0.6
0.8
Time (sec.)
1.2
1.4
1.6
1.8
To: Y(1)
0.2
From: U(1)
1.4
A m plitude
num=[Kp Ki];
To: Y(1)
Ki=70;
Amplitude
Kp=30;
0.8
2
0.6
0.4
Ki=100
0.2
0.2
0.4
0.6
0.8
Time (sec.)
1.2
1.4
1.6
1.8
RLTOOL
Syntax
rltool
rltool(sys)
rltool(sys,comp)
RLTOOL
RLTOOL
RLTOOL
RLTOOL
Example - Practice
Example - Practice
REFERENCE:
http://imtiazhussainkalwar.weebly.com /
http://ctms.engin.umich.edu/CTMS/index.php?
example=Introduction§ion=ControlPID