EECE574 Lecture1
EECE574 Lecture1
1 / 49
Introduction
Objectives
Objectives
Course Objective: To give an overview of the theory and practice of the mainstream adaptive control techniques Four assignments: 15% each Project: 40% Textbook: K.J. strm and B. Wittenmark, Adaptive Control, Addison-Wesley Publishing Co., Inc., Reading, Massachusetts, 1995. (This book is out of print, but is downloadable from the internet)
2 / 49
Introduction
Books
Related Books
N. Hovakimyan, C. Cao, L1 Adaptive Control theory, SIAM Press, Philadelphia, 2010. P. Ioannou and B. Fidan, Adaptive Control Tutorial, SIAM Press, Philadelphia, 2006. V. Bobal, J. Bohm, J. Fessl and J. Macacek, Digital Self-Tuning Controllers, Springer-Verlag, Berlin, 2005. Landau, Lozano and MSaad, Adaptive Control, Springer-Verlag, Berlin, 1998. Isermann, Lachmann and Matko, Adaptive Control Systems, Prentice-Hall, Englewood Cliffs, NJ, 1992. Wellstead and Zarrop, Self-Tuning Systems Control and Signal Processing, J. Wiley and Sons, NY, 1991. Bitmead, Gevers and Wertz, Adaptive Optimal Control, Prentice-Hall, Englewood Cliffs, NJ, 1990. Goodwin and Sin, Adaptive Filtering, Prediction, and Control, Prentice-Hall, Englewood Cliffs, NJ, 1984. Ljung, and Sderstrm, Theory and Practice of Recursive Identication, MIT Press, Cambridge, MA, 1983.
3 / 49
Introduction
Books
Course Outline
1 2 3 4 5 6 7 8 9
Introduction Identication Control Design Self-Tuning Control Model-Reference Adaptive Control Properties of Adaptive Controllers Auto-Tuning and Gain Scheduling Implementation and Practical Considerations Extensions
4 / 49
Background
Denitions
5 / 49
Background
Denitions
Linear feedback can cope with parameter changes (within some limits) According to G. Zames1 :
A non-adaptive controller is based solely on a-priori information An adaptive controller is based on a posteriori information as well
Background
Denitions
An adaptive controller is a xed-structure controller with adjustable parameters and a mechanism for automatically adjusting those parameters In this sense, an adaptive controller is one way of dealing with parametric uncertainty Adaptive control theory essentially deals with nding parameter ajustment algorithms that guarantee global stability and convergence
7 / 49
Background
Denitions
Control of systems with time-varying dynamics If dynamics change with operating conditions in a known, predictable fashion, use gain scheduling If the use of a xed controller cannot achieve a satisfactory compromise between robustness and performance, then and only then, should adaptive control be used Use the simplest technique that meets the specications 2
. . . or as A. Einstein apparently once said: make things as simple as possible, but no simpler
Guy Dumont (UBC) EECE 574 Overview 8 / 49
Background
Process Variations
u
P
T and S are respectively known as the complementary sensitivity and the sensitivity functions. Note that S+T =1
9 / 49
Background
Process Variations
The closed-loop transfer function is NOT sensitive to process variations at those frequencies where the loop transfer function L = PC is large Generally L >> 1 at low frequencies, and L << 1 at high frequencies However, L >> 1 can only be achieved in a limited bandwidth, particularly when unstable zeros are present
10 / 49
Background
Process Variations
Difcult to judge impact of process variations on closed-loop behaviour from open-loop time responses
Signicant changes in open-loop responses may have little effect on closed-loop response Small changes in open-loop responses may have signicant effect on closed-loop response
Effect depends on the desired closed-loop bandwidth Better to use frequency responses
11 / 49
Background
Example 1
300
250
Amplitude
200
150
100
50
50 Time (sec)
100
150
Background
Example 1
1.2
Amplitude
0.8
0.6
0.4
0.2
5 Time (sec)
10
15
13 / 49
Background
Example 1
10
10
10 Frequency (rad/sec)
10
10
10
14 / 49
Background
Example 1
10
10 Frequency (rad/sec)
10
10
15 / 49
Background
Example 2
Amplitude
10
0.5
1.5
3.5
4.5
Background
Example 2
Amplitude
0.5
0.5
0.1
0.2
0.3
0.4
0.6
0.7
0.8
0.9
17 / 49
Background
Example 2
Magnitude (dB)
50
100
150 360
Phase (deg)
180
180 10
2
10
10
10 Frequency (rad/sec)
10
10
10
18 / 49
Background
Example 2
Magnitude (dB)
50
100
150 360
Phase (deg)
180
180 10
0
10
10 Frequency (rad/sec)
10
10
19 / 49
Background
Example 2
10
Amplitude
0.5
1.5
3.5
4.5
Background
Example 2
Magnitude (dB)
50
100
10
10 10 Frequency (rad/sec)
10
10
21 / 49
Background
Example 2
22 / 49
Background
Example 2
23 / 49
Adaptive Schemes
Gain Scheduling
Gain Scheduling
In many cases, process dynamics change with operating conditions in a known fashion
Flight control systems Compensation for production rate changes Compensation for paper machine speed
Controller parameters change in a predetermined fashion with the operating conditions Is gain scheduling adaptive?
24 / 49
Adaptive Schemes
Gain Scheduling
Gain Scheduling
Controller parameters
Gain schedule
Setpoint Controller
Input
Process
Output
25 / 49
Adaptive Schemes
Mid 1950s: Flight control systems (eventually solved by gain scheduling) 1957: Bellman develops dynamic programming 1958: Kalman develops the self-optimizing controller which adjusts itself automatically to control an arbitrary dynamic process 1960: Feldbaum develops the dual controller in which the control action serves a dual purpose as it is directing as well as investigating
26 / 49
Adaptive Schemes
But now came a technical problem that spelled the end. The Honeywell adaptive ight control system began a limit-cycle oscillation just as the plane came out of the spin, preventing the systems gain changer from reducing pitch as dynamic pressure increased. The X-15 began a rapid pitching motion of increasing severity. All the while, the plane shot downward at 160,000 feet per minute, dynamic pressure increasing intolerably. . . . As the X-15 neared 65,000 feet, it was speeding downward at Mach 3.93 and experiencing over 15 g vertically, both positive and negative, and 8 g laterally. It broke up into many pieces amid loud sonic rumblings, . . . Then an Air Force pilot, . . . , spotted the main wreckage . . . . Mike Adams was dead and the X-15 destroyed.
27 / 49
Adaptive Schemes
Late 60s-early 70s: System identication approach with recursive least-squares Early 1980s: Convergence and stability analysis Mid 1980s: Robustness analysis 1990s: Multimodel adaptive control 1990s: Iterative control 2000s: L1 adaptive control: fast adaptation with guaranteed robustness.
28 / 49
Adaptive Schemes
Performance specications given in terms of reference model Originally introduced for ight control systems (MIT rule) Nontrivial adjusment mechanism
29 / 49
Adaptive Schemes
Model
Model output
Adjustment mechanism
Process Output
30 / 49
Adaptive Schemes
Self-Tuning Control
Self-Tuning Controller
Self-tuning control can be thought of as an automation of this procedure when these two operations are performed on-line
31 / 49
Adaptive Schemes
Self-Tuning Control
Self-Tuning Controller
Process parameters Control design Controller parameters Setpoint Controller Input Process Output
Recursive estimation
32 / 49
Adaptive Schemes
Self-Tuning Control
Self-tuning
Continuous updating of controller parameters Used for truly time-varying plants
Auto-tuning
Once controller parameters near convergence, adaptation is stopped Used for time invariant or very slowly varying processes Used for periodic, usually on-demand tuning
33 / 49
Adaptive Schemes
Self-Tuning Control
Final Motivation...
34 / 49
Adaptive Schemes
Self-Tuning Control
Final Motivation...
35 / 49
Dual Control
36 / 49
Dual Control
Can handle very rapid parameter changes Resulting controller has very interesting features:
Regulation Caution Probing
37 / 49
Dual Control
38 / 49
Dual Control
In case b is known, the solution is trivial: min I1 = min [y (t 1) + bu(t 1)]2 + 2 = 2 since e(t) is independent of y (t 1), u(t 1) and b. u(t) = y (t) b I1opt = 2
39 / 49
Dual Control
Now, assume that b is unknown. We now have an estimate b with covariance pb If least-squares is used:
t t
b=
s=1
[y (s) y (s 1)]u(s 1) /
s=1 t
u 2 (s 1)
pb = 2 /
s=1
u 2 (s 1)
40 / 49
Dual Control
The most direct way to control the system is simply to replace b by b in the controller above, thus ignoring the uncertainty: uce (t) = then I1ce = 2 + y (t) b
pb 2 y (t 1) b2
41 / 49
Dual Control
Cautious Controller
Cautious Controller
42 / 49
Dual Control
Cautious Controller
Cautious Controller
Because pb is positive, the cautious controller has a smaller gain than the certainty equivalence one, which by ignoring uncertainty may be at times too bold Turn-off phenomenon:
When the uncertainty pb is large, controller gain is small and so does the control action So, unless an external perturbation is added to the input, no learning can take place and the uncertainty pb cannot be reduced
43 / 49
Dual Control
Dual Controller
Dual Controller
N-stage control Find u(t) that minimizes
N
IN = E[
1
By using the N-stage control problem with N > 1, it can be shown that the effect of present inputs on the future values of b and pb enters the minimization of IN Indeed it is sometimes benecial to sacrice short term performance by sending a probing signal to reduce the uncertainty, and thus improve performance in the long term
44 / 49
Dual Control
Dual Controller
Dual Controller
Using dynamic programming, a functional equation (Bellman equation) can be derived However, this equation can only be solved numerically and for very simple cases For large N, the control tends towards a steady-state control law
45 / 49
Dual Control
Dual Controller
Dual Controller
Dene = y =
b pb
bu y
= 1 corresponds to the certainty-equivalence controller = 2 /(1 + 2 ) corresponds to the cautious controller Dual controller for large N is: = 2 0.56 + 2 + 0.08 + 2.2 1.9 + 1.7 1
46 / 49
Dual Control
Dual Controller
Dual Controller
Dual Control Map
Dual Control
Dual Controller
Low uncertainty boldness prevails Large uncertainty + large control error caution prevails Large uncertainty + small control error probing prevails
48 / 49
The dual controller is in general impossible to compute Most current adaptive control methods enforce certainty equivalence Thus, learning is passive rather than active Passive learning is a shortcoming of current adaptive control methods Practical methods of active learning attractive for
Commissioning of adaptive controllers Adaptive control of processes with rapidly time-varying dynamics
49 / 49