Professional Documents
Culture Documents
Adaptive Control
Methods, algorithms and applications
From needs to applications
I.D. Landau, GIPSA-Lab, Grenoble-INP,Dept. of Automatic Control
A. Karimi, EPFL, Lausanne, Automatic Control Lab.
Grenoble, December 7-11, 2009
1
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Introduction
Parameter adaptation algorithms
Identification in open loop a brief review
Iterative identification in closed loop and controller redesign
Direct and Indirect Adaptive Control
Robust control design for Adaptive Control
Parameter estimators for Adaptive Control
Adaptive regulation (versus adaptive control)
Adaptive control with multiple models
2
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Adaptive Control
Part 1: Introduction
3
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Adaptive Control
A set of techniques for automatic adjustment of the controllers
in real time, in order to achieve or to maintain a desired level
of performance of the control system when the parameters of the
plant (disturbance) dynamic model are unknown and/or change
in time
Particular cases:
1 Automatic tuning of the controllers for unknown but constant plant parameters
2 Unpredictable change of the plant (disturbance) model in time
4
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Outline
Concepts
Basic schemes
Adaptive control versus Robust control
Adaptive control configurations
(open loop adaptation, direct and indirect adaptive control)
Parameter adaptation algorithms
RST digital controller
Adaptive control: regimes of operation
Identification in closed and controller redesign
Adaptive regulation
Use of a priori available information
Adaptive control with multiple models
Example of applications
5
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Conceptual Structures
Desired
Performance
Controller
Design
Method
Plant
Model
Reference
Controller
Desired
Performance
Plant
Adaptation
Scheme
Reference
Controller
Plant
An adaptive control
structure
Remark:
An adaptive control system is nonlinear since controller parameters will depend upon u and y
6
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
7
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Adaptive
control
Measurement:
Controlled variables
Measurement:
Index of performance (I.P.)
8
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Distrubances
Adjustable
Controller
Plant
Desired
Performance
ComparisonDecision
Adaptation
Mechanism
Performance
Measurement
Adaptation scheme
9
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Adaptive Control
System
Transducer
IP measurement
Reference input
Desired IP
Comparison block
Controller
Adaptation mechanism
10
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
11
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
The task of the adaptation loop is solely to search for the good
values of the controller parameters
12
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
13
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
14
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
16
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
ADJUSTABLE
CONTROLLER
PLANT
TABLE
ENVIRONMENT
MEASURE
SUPERVISION
CONTROLLER
COMPUTATION
PERFORMANCE
SPECIFICATIONS
ADJUSTABLE
CONTROLLER
PLANT
MODEL
ESTIMATION
u
PLANT
Prediction (adaptation)
error
Plant Model
Basic Estimation
Scheme
Plant
y(t)
+
u(t)
q-1
Adjustable
Predictor
y (t )
Parametric
Adaptation
Algorithm
18
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Adaptation
error
PARAMETRIC
ADAPTATION
ALGORITHM
ADJUSTABLE
+
-
CONTROLLER
PLANT
Plant
Adjustable predictor
19
(vector)
(vector)
Adaptation Measurement Error prediction
Gain function
function
(matrix) (vector)
(scalar)
Regressor vector
Estimated
Parameter
vector
(t + 1) = (t ) + F (t )v(t + 1)
(v = f ( ))
20
e(k)
r(k)
DIGITAL
COMPUTER
u(t)
y(t)
PLANT
y(k)
DAC
+
Actuator
Process
Sensor
ADC
ZOH
CLOCK
CLOCK
e(k)
u(k)
r(k)
+
COMPUTER
-
u(t)
DAC
+
ZOH
y(t)
PLANT
y(k)
ADC
DISCRETIZED PLANT
22
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Computer
(controller)
u(t)
D/A
+
ZOH
y(t)
PLANT
A/D
Discretized Plant
r(t)
Bm
Am
+
-
Controller
1
S
R
u(t)
q d B
A
y(t)
Plant
Model
q 1 y (t ) = y (t 1)
23
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
26
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
1/S
R
+
1/S
-
q-d B/A
w
+ y
+
Plant
q-d B/A
y -
CL
Model
N = 1 : Adaptive Control
t+1
t+N
time
Controller
computed
at (t +N)
time
N = Small
Adaptive Control
N = Large
Iterative Identification in C.L.
And Controller Re-design
N
Plant Identification in C.L. +
Controller Re-design
Adaptive Control
(t ) : Dirac
(t )(or e(t ))
input
Disturbance
model
output
PLANT
u (t )
Plant
model
p(t )
unmeasurable
disturbance
y (t )
Adaptive Regulation
(t )(or e(t ))
disturbance source (unmeasurable)
input
Disturbance
model
output
PLANT
u (t )
Plant
model
p(t )
unmeasurable
disturbance
y (t )
variations
Plant model is assumed to be known ( a priori system identification)
and almost constant
Small plant parameters variations handled by a robust control design
No effort is made to simultaneously estimate the plant model
*) Assumed to be characterized by a rational power spectrum if stationary
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
31
Supervisory Control
MODELS
1
G1
CONTROLLERS
K1
G2
..
Gn
SUPERVISOR
K2
..
PLANT
y
Kn
The supervisor:
will check what plant-model error is minimum
will switch to the controller associated with the selected model
Can provide a very fast decision (if there are not too many models)
but not a fine tuning
33
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Adaptive model
+
-
G1
Fixed models
..
Gn
G2
SUPERVISOR
Controller
PLANT
y
+
CL
Controller
y
P.A.A.
The supervisor select the best fixed model and then the adaptive model will be selected
Multiple fixed models : improvement of the adaptation transients
Adaptive plant model estimator (CLOE Estimator) : performance improvement
34
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
35
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Steel
strip
air
Preheat
oven
air
Measurement of
Air
knives deposited mass
Steel strip
zinc
Zinc bath
Ge s
H (s) =
1 + sT
; =
L
V
L- distance
knives measure
V- strip speed
Digital Regulation
Computer aided
manual control
% samples
Standard Deviations
: 3.3%
.
: 4.5%
% deposited zinc
9 operation regions
The sampling period is tied to the strip speed to have constant discrete time delay
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
37
Large delay : 90 s
Better quality( reduction of the humidity standard deviation)
Reduction of fuel comsumption and of the thermal stress.
38
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
motor
load
axis
d.c.
motor
axis
position
Position
transducer
y(t)
Controller
A u(t)
D
C
R-S-T
controller
D
A
C
ref
39
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
42
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
The
TheActive
ActiveSuspension
SuspensionSystem
System
machine
elastomere cone
main
chamber
piston
residual acceleration (force)
4
hole
motor
actuator
(piston
position)
support
controller
inertia chamber
u p (t)
(disturbance)
q -d1 C / D
Controller
R /S
Objective:
Reject the effect of unknown
and variable narrow band
disturbances
Do not use an aditional
measurement
u(t)
p1 (t )
Plant
q B / A
-d
+ +
y(t)
Two paths :
Primary
Secondary (double
differentiator)
Ts = 1.25 ms
(residual force)
43
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Active
suspension
Residual
force
(acceleration)
measurement
Primary force
(acceleration)
(the shaker)
44
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Open
loop
47 Hz
Closed
loop
Initialization of the
adaptive controller
45
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
46
References
ISBN: 1-84628-055-9
ISBN: 2-7462-0478-9
Web site:http://landau-bookic.lag.ensieg.inpg.fr
47
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
References
ISBN: 3-5407-6187-x
ISBN: 0-8247-6548-6
48
References
The course is mainly based on the following books:
I.D. Landau, G. Zito Digital control systems design, identification and
and papers:
I.D. Landau "Identification in closed loop- A powerful design tool
(better models, simpler controllers), Control Eng. Practice, no. 1, Jan. 2001
I.D. Landau From robust control to adaptive control "Control Eng. Practice,
vol. 7,no10, pp1113-1124, 1999
A. Karimi, I.D. Landau Robust adaptive control of a flexible transmission system
using multiple models, IEEE Trans. on CST, March 2000
I.D. Landau, A. Constantinescu, D. Rey Adaptive narrow band disturbance
rejection applied to an active suspension an internal model approach
Automatica, Vol. 41, n4, Avril 2005
49
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Adaptive Control
Part 2: Parameter adaptation algorithms
50
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
51
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
(vector)
(vector)
Adaptation Measurement Error prediction
Gain function
function
(matrix) (vector)
(scalar)
Regressor
vector
Plant Model
d
d 1
q B(q ) q B * (q )
1
G (q ) =
=
1
A(q )
A(q 1 )
y (t + 1) = A * (q 1 ) y (t ) + B * (q 1 )u (t d ) = T (t )
Parameter vector
y (t + 1) = a1 y (t ) + b1u (t ) = T (t )
T = [a1 , b1 ]
Measurement vector
Parameter vector
(t )T = [ y(t ), u (t )]
(t ) T = [a1 (t ), b1 (t )]
o (t + 1) = y (t + 1) y o (t + 1) = o (t + 1,(t ))
Criterion to be minimized (objective):
J (t + 1) = (t + 1)
o
] [
2
= (t + 1,(t ))
o
)
54
J(a 1 , b 1 )
min J (t + 1) = (t + 1)
(t )
(t + 1) = (t ) F
b 1
sens de
ladaptation
b1
gradient
of the criterion
J (t + 1)
(t )
F = I ( > 0)
gradient
(I = unit matrix)
1 J (t + 1) o (t + 1) o
=
(t + 1)
2 (t )
(t )
a 1
a1
courbe (surface)
iso-critre
(t + 1) = y (t + 1) y (t + 1) = y (t + 1) (t ) (t )
o
o (t + 1)
= (t )
(t )
(t + 1) = (t ) + F (t ) o (t + 1)
55
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
(t + 1) = (t ) + F (t ) o (t + 1)
F = I ( > 0)
F > 0 Positive definite matrix
Adaptation gain
(t+1)
>
Geometrical
interpretation
>
(t )
(t+1)
F (t ) (t+1) ; F=
>
F (t ) (t+1) ; F > o
(t)
(t + 1) = y (t + 1) y (t + 1)
min J (t + 1) = [ (t + 1)]2
(t +1)
(t + 1) = (t ) F
J (t + 1)
(t )
1 J (t + 1) (t + 1)
=
(t + 1)
2 (t + 1) (t + 1)
(t + 1) = y (t + 1) y (t + 1) = y (t + 1) (t + 1) T (t )
(t + 1)
= (t )
(t + 1)
(t + 1) = (t ) + F (t ) (t + 1)
For implementation one should express:
(t + 1) = f ((t ), (t ), 0 (t + 1))
57
]T
(t + 1) = y (t + 1) (t )T (t ) (t + 1) (t ) (t )
0 (t + 1)
(t + 1) = (t ) + F (t ) (t + 1)
(t + 1) (t ) = F (t ) (t + 1)
(t + 1) =
(t + 1) = 0 (t + 1) (t )T F (t ) (t + 1)
(t + 1) = (t ) +
F (t ) o (t + 1)
1 + (t ) F (t )
T
o (t + 1)
1 + (t )T F (t )
Stable for any F > 0
Implementation:
1.
2.
3.
4.
(t + 1) = (t ) + F (t + 1) (t ) o (t + 1)
F 1 (t + 1) = 1 (t ) F 1 (t ) + 2 (t )(t )(t )T
0 < 1 (t ) 1 ; 0 2 (t ) < 2 ; F (0) > 0
Matrix inversion
lemma
F (t ) (t ) (t )T F (t )
1
F (t + 1) =
F (t )
1 (t )
1 (t )
T
T
t
F
t
t
+
(
)
(
)
(
)
1
F
(F 1 + T ) = F 1 + T F
2 (t )
o (t + 1) = y (t + 1) (t )T (t )
(t ) regressor vector
59
F (t ) (t ) (t )T F (t )
F (t + 1) = F (t )
1 + (t )T F (t ) (t )
F (t ) (t )
F (t + 1) (t ) =
1 + (t )T F (t ) (t )
y(t + 1) = T (t )
At t+1: acquisition of y(t+1)
After t+1
o (t + 1) = y (t + 1) (t )T (t )
(t + 1) = (t ) + F (t + 1) (t ) o (t + 1)
60
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
General form:
F (t + 1) 1 = 1 (t ) F (t ) 1 + 2 (t ) (t ) (t )T
0 < 1 (t ) 1 ; 0 2 (t ) < 2 ; F (0) > 0
()
F (t ) (t ) (t )T F (t )
1
F (t )
F (t + 1) =
1 (t )
1 (t )
+ (t )T F (t ) (t )
2 (t )
61
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
F (t + 1) 1 = 1 (t ) F (t ) 1 + 2 (t ) (t ) (t )T
0 < 1 (t ) 1 ; 0 2 (t ) < 2 ; F (0) > 0
1 (t ) = 1 = 1 ; 2 (t ) = 1
t F(t)-1 F(t)
1 = 0.95,...,0.99
t
J (t ) =
1(t i ) y (i ) (t ) T (i 1)
i =1
One gives more weight in the criterion the last prediction error (weigtht=1).
The weight on the first prediction error is very small (weight = ( t 1) << 1 ; <1 and t>100)
1 0
1 0 q 1
1 (t )
t ; 1 1
2 (t ) = 2 = 1
1 (0) = 0.95,...,0.99 ; 0 = 0.95,...,0.99
Typical values:
Minimized criterion:
t 1
J (t ) = 1 ( j i ) y (i ) (t )T (i 1)
i =1 j =1
Since 1(t) goes towards 1 for large i, one forgets intial valus
Parameter estimation for plants with constant parameters
Use in self-tuning regime .
Maintain a larger gain then A.1 at the beginning
Gives in general better performances than A.1
63
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Comparison A.1/A.3
Tr F=Trace of matrix F (sum of the diagonal terms of gain matrix F)
The trace is a measure of thegain for the case of matrix gains
Tr F
A.3
A.1
t
64
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
GI
F ( 0) =
.
.
GI
n = number of parameters
GI = (0.01)0.1 to 4
1
F (t ) (t ) (t )T F (t )
trF (t + 1) =
tr F (t )
= trF (t )
T
1 (t )
(t ) + (t ) F (t ) (t )
One computes: 1 (t ),
for (t ) = 1 (t ) / 2 (t ) fixed
trF (t ) nG ; G = (0.01)0.1 to 4
trF (t ) nG ; G = (0.01)0.1 to 1
1 (t ) = 1 = 1 ; 2 (t ) = 2 = 0
F (t + 1) = F (t ) = F (0)
66
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Comparison A.4/A.5/A.6
Tr F
A.6
A.5
A.4
67
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
I = (GI ) I
GI =<< 1 ; (0) = 0
The trace of the gain matrix is a measure of the value of the adaptation gain
Remark:
If the trace of F(t) does not decrease significantly, in general the
parameter estimation is bad.
(can happens when the excitation signals are not appropriate)
68
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
(t + 1) = (t ) + F (t ) (t ) (t + 1)
F (t ) (t ) (t )T F (t )
F (t + 1) = F (t )
1 + (t )T F (t ) (t )
(t + 1) =
0 (t + 1)
1 + (t )T F (t ) (t )
(t + 1) = H (q ) (t + 1) (t )
1
(x)
(t + 1) =
(xx)
0 (t + 1)
1 + (t )T F (t ) (t )
Define:
H ' ( z 1 ) = H ( z 1 )
71
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Im H
s =j
H (j )
Re H
Re H > 0
Re H < 0
Discrete - time
Im z
Im H
j
z =e
1
-1
- j
H (e
)
Re H
Re z
j
z=e
Re H < 0 Re H > 0
- asymptotically stable
- Re H (e j ) > 0 for all e j = 1, (0 < < )
(discrete-time case)
72
T = [a1 , b1 ]
Measurement vector
Parameter vector
(t )T = [ y(t ), u (t )]
a priori
Prediction error
o (t + 1) = y (t + 1) y o (t + 1) = o (t + 1 / (t ))
(t + 1) = y (t + 1) y (t + 1) = (t + 1 / (t + 1))
But:
T
(t + 1) = (t + 1) (t )
Is of the form (x) and we can use the PAA (xx) with (t ) = (t )
73
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
(x)
(xxx)
Linear
~
T (t + 1)
H (q 1 )
(t + 1)
(X )
(t + 1)
q 1
+
~
(t ) +
(t )
(X )
F(t)
scalar
product
Nonlinear/Time Varying
The stability of the adaptive systems is studied using this equivalent representation
74
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
75
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
(t ) = 0 only if * = 0
*
T
*
*
Plant model:
y (t + 1) = a1 y (t ) + b1u (t )
b1
b1
The two models have the same
u (t ) = const.
=
static gain but a1 a1 ; b1 b1
1 + a1 1 + a1
b1
b1
y (t + 1) = y (t ) =
u
u
y (t + 1) = y (t ) =
et
1 + a1
1 + a1
Estimated model:
(t + 1) = y (t + 1) y (t + 1) = 0 for u (t ) = const. ; a1 a1 ; b1 b1
G
plant
model
77
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
Analysis
(t + 1) = y (t + 1) y (t + 1) = [a1 a1 ]y (t ) + [b1 b1 ]u (t ) = 0
y (t ) =
b1q 1
1 + a1q
u (t )
[
(
) ] u(t) = 0
(t + 1) = [ (b1 b1 ) + q 1 (b1a1 a1b1 ) ] u(t) = ( 0 + 1q 1 )u (t ) = 0
(*)
( 0 + z 11 ) z t = 0
z=
1 T
= e ; = rel
0
e
u (t ) = eTet
b1
b1
nB
i =1
i =1
y (t ) = ai y (t i ) + bi u (t d i )
Excitation signal:
u (t ) = sin i Te t
i =1
One should choose p such that u(t) can not be a solution of the recursive equation
for whch features the parametr errors.
nA + nB = even
nA + nB = odd
nA + nB
p
2
nA + nB + 1
B2
B3
B4
B5
+
( addition modulo 2 )
Characteristic parameters:
number of cells (N)
Maximum pulse duration ( tim=Nte )
length of the sequence ( L=2N-1 )
C++ code and .m file for generation of PRBS: see the book website
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1
80
81
I.D. Landau, A. Karimi: A Course on Adaptive Control - 1