2 Basic Root Locus Analysis and Examples PDF
2 Basic Root Locus Analysis and Examples PDF
Fall 2010
16.30/31 22
U0
w
Zw /m
xsp =
, Asp =
1
1
(Mw + Mw Zw /m) Iyy
(Mq + Mw U0)
Iyy
q
Ze /m
Bsp =
1
Iyy
(Me + Mw Ze /m)
Add that = q, so s = q
Take the output as , input is e, then form the transfer function1
1 q(s)
1
(s)
=
=
0 1 (sI Asp)1Bsp
e(s) s e(s) s
For the 747 (40Kft, M = 0.8) this reduces to:
(s)
1.1569s + 0.3435
= 2
Ge (s)
e(s)
s(s + 0.7410s + 0.9272)
0.68
0.54
0.42
0.3
0.2
0.09
0.8
0.8
0.6
0.84
0.6
0.4
0.4
Imaginary Axis
0.95
0.2
0.2
0.2
0.2
0.95
0.4
0.6
0.4
0.6
0.84
0.8
1
1
0.8
0.68
0.9
0.54
0.8
0.7
0.6
0.42
0.5
0.4
Real Axis
0.3
0.2
0.3
0.2
0.09
0.1
10
0.1
Fall 2010
16.30/31 23
7
6
5
POOR
ACCEPTABLE
4
3
SATISFACTORY
2
UNACCEPTABLE
1
0
0.1
0.2
0.4
0.6 0.8 1
Damping ratio s
This criterion was developed in 1950s, and more recent data is pro
vided in MILSPEC8785C
Based on this plot, a good target: frequency 3 rad/sec and
damping of about 0.6
Problem is that the short period dynamics are no where near these
numbers, so we must modify them.
Could do it by redesigning the aircraft, but it is a bit late for
that. . .
Fall 2010
16.30/31 24
4
s+4
ea
Ge (s)
(s)
Ge (s)H(s)k
=
c(s) 1 + Ge (s)H(s)k
Fall 2010
16.30/31 25
Gc(s)
Gp(s)
Signals are:
u
y
r
e
control commands
output/measurements
reference input
response error
2 Errata:
Fall 2010
16.30/31 26
Basic questions:
Synthesis: Given Kp, Np and Dp, how should we chose Kc, Nc, Dc
to put the closed loop poles in the desired locations?
Kc Kp N c N p
DcDp + KcKpNcNp
is the closed loop transfer function
Gcl (s) =
Fall 2010
16.30/31 27
So values of s for which Ld(s) = 1/K, with K real are on the RL.
For K positive, s0 is on the root locus if
Ld(s0) = 180 l 360,
l = 0, 1, . . .
[0 locus]
Ld(s0) = 0 l 360,
l = 0, 1, . . .
Fall 2010
16.30/31 28
Nc N p
=0
DcDp
DcDp + KNcNp = 0
So if K 0, then locus starts at solutions of DcDp = 0 which are
the poles of the plant and compensator.
Ld =
NcNp
=0
DcDp
Fall 2010
16.30/31 29
More details as K :
Assume there are n zeros and p poles of Ld(s)
Then for large |s|,
Ld(s)
1
(s )pn
l = 1, 2, . . .
pj
pn
zi
Fall 2010
16.30/31 210
Example: L(s) = s4
Im
Re
s+1
s2(s + 4)
Im
Re
s1
s2(s 4)
Im
Re
Fall 2010
16.30/31 211
Locus points on the real line are to the left of an odd number
of real axis poles and zeros [K positive].
Follows from the phase condition and the fact that the phase
contribution of the complex poles/zeros cancels out
Dp(s0)Dc(s0)
1
K
=
|Ld(s0)|
Np(s0)Nc(s0)
Fall 2010
16.30/31 212
Im
Re
Fig. 3: Basic
Im
Re
Im
Re
Fall 2010
16.30/31 213
Im
Re
Im
Re
Im
Re
Im
Re
Fall 2010
16.30/31 214
Performance Issues
Interested in knowing how well our closed loop system can track var
ious inputs
Steps, ramps, parabolas
Both transient and steady state
For perfect steady state tracking want error to approach zero
lim e(t) = 0
Can determine this using the closed-loop transfer function and the
nal value theorem
lim e(t) = lim se(s)
s0
y(s)
= Gc(s)Gp(s)
e(s)
Fall 2010
16.30/31 215
s0
ess 0
ramp parabola
type 0
1
1 + Kp
type 1
1
Kv
type 2
1
Ka
where
Kp = lim Gc(s)Gp(s)
P
osition Error Constant
Kv = lim sGc(s)Gp(s)
s0
s0
Ka = lim s2Gc(s)Gp(s)
s0
which are a good simple way to keep track of how well your system
is doing in terms of steady state tracking performance.
Fall 2010
16.30/31 216
Dynamic Compensation
For a given plant, can draw a root locus versus K. But if desired
pole locations are not on that locus, then need to modify it using
dynamic compensation.
Basic root locus plots give us an indication of the eect of adding
compensator dynamics. But need to know what to add to place
the poles where we want them.
New questions:
What type of compensation is required?
How do we determine where to put the additional dynamics?
There are three classic types of controllers u = Gc(s)e
2. Integral feedback:
u(t) = Ki
t
0
e( )d Gc(s) =
Ki
s
Fall 2010
16.30/31 217
e(s) =
r(s)
(1 + GcGp)
Fall 2010
16.30/31 218
Im
Re
Re
Fall 2010
16.30/31 219
Re
Derivative feedback is very useful for pulling the root locus into
the LHP - increases damping and more stable response.
Fall 2010
16.30/31 220
Controller Synthesis
First determine where the poles should be located
Will proportional feedback do the job?
What types of dynamics need to be added? Use main building block
GB (s) = Kc
(s + z)
(s + p)
GB (s) Kc
(s + z)
s
Re
Re
GB (s) Kc(s + z)
which is essentially PD compensator, called a lead.
Various algorithms exist to design the components of the lead and lag
compensators
Fall 2010
16.30/31 221
(s + z)
(s + p)
(-1,2j)
Re
As shown in the gure, there are four terms in Ld(s0) the two
poles at the origin contribute 117 each
Given the assumed location of the compensator pole/zero, can
work out their contribution as well
Fall 2010
16.30/31 222
2
z1
2(117) + = 180
2
2
arctan
= 53
arctan
z1
10z 1
tan(A B) =
so
tan(A) tan(B)
1 + tan(A) tan(B)
( z2 1 ) ( 10z21 )
1 + ( z2 1 )( 10z21 )
= 1.33
1
2
3
4
5
6
7
8
9
10
11
12
13
clear all
target = 1+2*j;
syms z M; ratio=10;
phi z=(imag(target)/(z+real(target)));
phi p=(imag(target)/(ratio*z+real(target)));
M=(phi zphi p)/(1+phi z * phi p);
test=solve(Mtan(pi/180*(2*phi origin180)));
Z=eval(test(1));
P=ratio*Z;
K=1/abs((target+Z)/(target2*(target+P)));
[Z P K]
Fall 2010
16.30/31 223
Pole Placement
Another option for simple systems is called pole placement.
Know that the desired characteristic equation is
c(s) = s2 + 10zs2 + Ks + Kz = 0
3 Errata:
Fall 2010
16.30/31 224
% Fall 2009
close all
figure(1);clf
set(gcf,'DefaultLineLineWidth',2)
set(gcf,'DefaultlineMarkerSize',10)
set(gcf,'DefaultlineMarkerFace','b')
12
13
14
15
16
17
18
19
20
21
22
%Example: G(s)=1/22
z=roots([20 49 10]);z=max(z),k=25/(52*z),alpha=5*z/(52*z),
num=1;den=[1 0 0];
rlocus(conv(num,knum),conv(den,kden));
hold;plot(alpha+eps*j,'d');plot([1+2*j,12*j],'d');hold off
r=rlocus(conv(num,knum),conv(den,kden),1)'
axis([25 5 15 15])
Fall 2010
16.30/31 225
Observations
In a root locus design it is easy to see the pole locations, and thus
we can relatively easily identify the dominant time response
Caveat is that near pole/zero cancelation complicates the process
of determining which set of poles will dominate
Some of the performance specications are given in the frequency
response, and it is dicult to determine those (and the corresponding
system error gains) in the RL plot
Easy for low-order systems, very dicult / time consuming for higher
order ones
As we will see, extremely dicult to identify the robustness margins
using a RL plot
A good approach for a fast/rough initial design
MIT OpenCourseWare
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.