Professional Documents
Culture Documents
TO
by
Zhiqiang Gao, Associate Professor and
April 1996
reserved
OUTLINE
MOTIVATION
BACKGROUND
FREQUENCY RESPONSE
STABILITY
DESIGN METHODS
LIMITATIONS OF MATHEMATICAL MODELS
ROBUST STABILITY
FU.EQUENCY RESPONSE
r(f)
R (u))
=A sil16J!
~--'j
v(!)
-"- 'l_V~~r-----'
== I vV (s ) I!5 _
jeu
=-- I \V ( jeu ) I
y (t)
==
ARCev) cos wt
+ epC(v) ....
== arg
~'V(Jw)
+ (w)]
., .
q+
ll(r )
y(f)
y (s)
1+
U(S)
) ==
Ie
1-
I-
_ __
~t
()
()
so
-so
.~. ~.~
...
. ,.,;
10- 1
10- 2
10 0
10 1
10 2
1 () 1
10 2
w (rad)
(0)
0
-100
--.
:r.
Il.t
C4J
-200
--.....'3
'-S -300
CtJ
~
::::
-400
-500
I () - :'
10- 1
IOn
W
(fad/sec)
(lJ)
;".,' = 10
c..'
= 1
-I
C<.'
= 0.1
I~-I) ,
.. ~
H(s)
..
G(s)
--
= G(s)H(s)(l+G(s)H(s)yl
Stability Tests:
Pole Locations
The closed-loop control system is stable if C(s) has all
the poles in the left half plane
Nyquist Plot:
The closed-loop control system is stable if the Nyquist
1 J6e cfoSea~loop co~1~o(syst~m is stahleIf th~Nyquist
plot of G(s)H(s) satjsfy the Nyquist Stability Criterion
poles"
po
of
right half-pI
loop
P, [hat a
'- P
s, tli! a r0 U nd
1 of the
5)
5)
K(5
(5
2)(5
J CD
s plane
4)
-pla
"'" Re
A'
IS
,-l
()
Unit .
GH-plane
ist
di
1
I
I
!
I
IQ'
I '
nee
"ElV \
?iffase .
instability
. - GM - 20 log a
lns
Ph
margin - <DNf -
Reference
Inpu t ,---_----,
ret)
Prefilter
d(t)
+
}----IIiI'-f..
ontrollell-----{
u(t)
Plant
Output
yet)
Sensor
Noise
Design considerations:
command following
steady state and transient response
stability (gain/phase) margin
disturbance rejection
unmodeled dynamics/nonlinearity
-PID
Root Locus
State Space
System
'-
Optim.al Control
a cost function and use mathematical
programming technique to minimize it
PID
u(t) == Kpe(t) + KJ e(t)dt
K deCt)
o
dt
simple procedure
easy to understand
quick solution
can
be directly
disturbance
nOIse
uncertainty
to deal
R
+
Yes)
R(s)
s --
A
2
-
3A 2
16
LIMITATIONS OF
MODELS
Parameter Inaccuracies
Field current
{r
Solution: Ii
Unmodeled
No matter how
there will always
(s) is
u
G p (s) is the
a (s)
ode-l
rturbed model
is an additive
fa (jw)'
lant
urbation to t
a bound
the
model
(jw) I
(s)
LmCs) == - -
u:
(0)
(b)
a(jw)
p(jw)
!CjJ(jw)!- a(jw)
f3(jw)
+ f3(jw)
2
IC (JUJ. \)
p
a (
')1 --
JW
/) (.)'
j
) -
-<1
f3(jw.) - a(jw)
-----
( G /) (j ) ( I
(G1J jw)
III
I) ( .
(j )))
)
LIII ( . ))
Lm
(8 m -
8m
1m
-
(8 m - 8p )
..
== l p
r.
r.
pp8 p
.
Tm == JmG m
.
.
G
f3m m + f3,/J p
JpGp
+fJ
1-.1
"
[/1/ -
.I 8diff
f3 8diff
f3s
C0difl(S) ==
II.!
[ s(s + f3IJ)
K.Jiciifl
+ Ks
11.1 - - ] Tm(s)
--s2 + fJI.!s
KsI.l
Time-Delay Systems
(s)
-sT
(1
lO,-----------------------------------------------~
of
perturbation.
s
s
ROBUST STABILITY
yes)
e pertllrbed
<=>
R(s)
---.1
(;(5)
conflgurCltion.
G fJ (S) -
{J
( iev) I
ILa(jw)\
G )- G
)(
I)
(5 )
La (s )
La (jw)
fa (j )
Y (5)
1m
(I
Ulst pto
At
of
(s) and
(s).
dist
hw
h ,the distance between
I ( jw )
ROBUST STATBILITY
( 1) I == \1
G ( jw ) I
Condition
\G ( j w ) IIa ( j LV )
G(jw)1
I
I'
,!
11
( j w)I
I.
== j
c (.I (u )
G(s) - C7 c (s)G()(S) (1
Lm(s)) - G(s) (J
ROBUST STATBILITY
Condition
!lm(jw)C(jw)!
C(jw)1
/1
( jw)1
(j(j) )
G (jel))
tm (jw) I
1m (jw)
C(jw)
G (jw)
LmCs)}
c (s)
= a, a constant
G )
G(s)
G (s)
dB
40
Im I (
0.01
0]
10
100
-----~---r~---+--~---'-,~--------,-------
a = 100
a = 10
-40
{J
n
Output
Ge(s)
controller
yet)
Sensor
NQise
Objective:
Manipulate loop gain frequency response,
Gp(jco)Ge(jco), to
closed-loop specifications
. n Procedure:
D
. ,Specifications
Find a Ge(s) to
Constraints on G(jco)H(jco)
constrain ts
From Des'
Specifications
Specs:
command following
Yes) _ Gp(s)Gc(s) ~: 1
:=
R(s) 1 Gp(s) (s)
disturbance rej
Yes)
D(s)
Yes) ,
N(s)
co) I
all
reduction
Gp(s)Gc(s)
on
s)
1 Gp(s)Gc(s)
nsor noi
IGp(jco)
Gp
)Gc(s)
robust stability
1 Gp(jOJ)
(jOJ) 1<
1
1 Gp(jOJ)Gc(jOJ)
lm(jOJ)
stability
. n/phase)
pole roll-off at
cra
ver frequency
Constraints on GGco)HGco):
Low Frequency: I GGco)H(jco)1
IGp(jeu)Gc(jeu)l
dB
low
constraints
-20db/dec
Find
1. Use constant
and worry about high
frequency constraints later
2. Us an integrator, lis
compensator
with a b O
10
100
10 1
Frequency
o r---r--r-"--'-rTTr"""-~TTTl r<~
I I
rTT~-r-==-r-r-TTTl
I
-45
--90
10- 2
10-
10 1
(r;lci/s<:c)
10
lead compensator
)-
s+a
s+b
with b
20
-;::;
10
;.;:
IOu
10 1
10"
40
u
~ 20
0::
1 at high frequency:
1.
gain adjustment
. Add poles
A Design Example:
ATS-6 (Applications Technology Satellite 6), 1974
Objective of the control system:
Point the antenna to target with .01 to .1 degree
30 fL diameter antenna
.hlXis'
,
,
,
,
,
,
e:mil
,
,
.'
,
,
,
t,
y-axis
[0
((j )
orbit
reaction
wheel
reference
line to earth
F
/
fJ{J
I
I
solar
pressure
T-KTi-ce
UJ
e=K8
v w
e - I\. /J w tli
'I
y
e.e-
dl'
dt
Ri
(3 P(5)
V(s)
--
V(S)
0.01
10
Gm(s)
Gp(S)
10
10
Gm(s)
V(s)
0.01)
5(5
10 35(5
0.01)(5
10)
8p
10
10
(0 III (s )
D/(s)
- (0.00 1) ( 10)
S2(S
G (S)
0.01
+ 0.01 )(5 + 10)
10)
-0.01
+ 10)
+ 10
10
8p
JW
( -0.03
lm (jW) -
0.000
30
30
~-0.01
C~) III (S )
I (-) Ii!
I
/ Iii
.i ) Ima\
\.1
s ~ (.\'
-
10)
( ) D'(s)
r S
0,01
10
1/
100) -
(' I i ma\
0.01 (10
10
5)
5)2 10 (1.7
10
40
90
- 135
0.019
0.19
10(5
0.019)
+ 0.19
IOO~~~~--L~~~~~~~-~~~-~~~~~'~~w
10-:1
,,
,
,
,,
180
,
-~-
5 -:
0.005
5
+ 0.019)
0.005) (5
10
-------
I i ! I III
(5
I I ,
III
I IIII1I
r-"
I I I I I II
o
-40
~LL.LLL11L-i-l.-LLLlll-~-LlllJl
10- 2
ucncy
((j )
-I
IO~1
I I I I III
t()O
I I I I I II
10 1
I
\
~------------------,
0...
0...
Q)
Vi 0.5
100
200
JOO
400
Time (SeC)
0.1 0 ~----,------.--.------.-------~
0.05
Magnified behavior
Magnified beh<lvior
(two poles
at origin)
I
-o.OS
--I
"
D'
10-:1
8c
0.019
s + 0.019
10 (s + 0.005)(s + 0.019)
s (s + 0.19)
10S(S + 0.01 )
r---~0-3-
10
s+10
1.5
~----------------------------------~--------~
()
0.5
o
o
~--------------------------------~----------~
100
200
Time (sec)
300
400
_I
G\(s)
Tn<
~I
G 2 (s)
(0)
E
G,(s)
Till
G 2 (s)
~0 (~/)
-
L(s)
(IJ)
Gp(s)
==
==
==
Gj (S)G2(S) - G1(s)L(s)
Gj(S)G2(S) - G1(s)L(s)
1/.1
(0)
1/ J
1/ J
L ___
(l..
\
__ _ _ _ _ _ _
~~
(h)
________ _
l/J
L(s) =
+ (f3 / J ) s + Ks / J
lIes) == 4
(s
+ l~~(s + 3s + 9)
+ 3)_1(s2 + 0.6s + 9)
20~--------------------------------------------~
o
~
-20~----------~~
Ks=9
......:)
Z
~
-Lin , -.... . . . . .
- 40 -- " ... . .
'0-
_... ,,"
'
..... ".
. .. , . ......- ..
Ks=.LOO
...
. s- ..... . ,,'
-60
- 80L---------------------------------------------~
10- 1
100
10 1
10 2
W
IU jeo)l.
(fad/sec)
II' (jw) I
I 2(jW) I
1
0.1 )
40
SUMMARY
Further Reading:
and
Schultz,
1993
lfff:{)
I.>,.
~M
~r'i 2..or91
Plant
Digital
computer
l-l1
dUVll
Remote Control
scale interconnected system
with
PLC
, N)
DISCRETE SIGNALS:
Order Hold
Input
u(t)
Output
yet)
yit)
o
e
to yjl)
Output
(;)
(s) -: :
10'
.......
: .:
. : . : .:
:
10- 1 ' _ _ _
10-'
-.
~."
.~
..
~.
::
: . : : . ..
..
...
"
~~.
_~_~..
_.~ ..~~~~~~
10
10'
, I
10'
10
Unsainple.d .
-150
.
: : . : :Samp\ed
~ ~.
*'. "
.~.
: . .
. . .. . . . .. . . .
-250
-300L---~---~~~~~~L_--_~
10-'
10
__ -~.~.~~.~~~~
10'
l\ If '"
trh; n
a <:tf'n
3. Pole-zero matching.
Numerical Approximation
dJ
dt
J(t)
(s)
(s)
e(t) .
J(tO)
jl
e(l)dl,
1 >10
10
(k
) - I(kY)
kT T
kT
e(t)dr.
T
2 {e(kT)
f(kT
T)
f(kT)
e(kT
(z - l)F(z)
1) (z),
i~~~ = ~ G-~) .
H(z)
H(z)
==
Gc(s)L=
.
z+
+ T)}
A Design Example
disturbances
settling time
20
Solution:
abs 1
s
+1
2z-1
Tz+l
2z-1
2z-1 1
ab--1
=k PiP
Ps
PI =1 +aT/2,
P2P3)Z-i
(P6 - Ps )z-! - P6
-2
-2
- 1,
Programmable Difference
u(k)=(l/ps)[ (Ps-P6)u(k-l )+P6u (k-2)+kpIP3 e (k)
+k(PIP4+P2P3)e(k-l )+kp2p4e(k-2)]
Implementation Issues:
Sampling rate selection
Anti-Aliasing Fitler
ADC and DAC resolution: number of bits
Signal Conditioning
Sensor Noises
Averaging and Low pass filter
Processor speed consideration
Isolati-on of analog and digital circuitry
Spectrum analysis of noise/disturbance characteristics