forked from bmnn/evrythg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
APR_L1.txt
547 lines (390 loc) · 8.23 KB
/
APR_L1.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
Adaptive and Predictive Control
L1: Introduction
Dr.-Ing. Stefan Sosnowski
Institute for Information-Oriented Control
Technische Universit¨t M¨nchen
a
u
APR Lecture, summer semester 2014
www.itr.ei.tum.de
Organizational Info
Hours:
2 SWS lecture, 1 SWS exercises,
1 SWS tutorials
Exercises:
Denis Cehajic, M.H. Mamduhi
Time :
Monday 13:15 to 14:45, room N0507
Thursday 13:15 to 14:45, room N0507
Consultation hours:
Please make an appointment via eMail:
sosnowski@tum.de, denis.cehajic@tum.de,
mh.mamduhi@tum.de
Introduction
2
Location
Address:
Barerstr. 21, 4. OG
80333 M¨nchen
u
Building: 0305 S5 (old LRZ)
Area: South-East-Area
Introduction
3
Organizational Info
Exams:
Midterm:
- Participation is optional
- One grade step bonus for final exam grade
- written exam
Final exam:
- 90 min written exam
Materials:
Moodle / Elearning
http://www.moodle.tum.de/
- Lecture slides
- Exercises
- Solutions to exercises
- Complementary material
- Notifications
Introduction
4
Recommended Literature
Adaptive Control: Second Edition, K. J. Astrom and D. B.
Wittenmark, [Astrom and Wittenmark 2008]
Model Predictive Control, E. F. Camacho and C. B. Alba,
[Camacho and Alba 2007]
Further Reading:
Adaptive Control Design and Analysis, G. Tao, [Tao 2003]
Constrained Control and Estimation, G. C. Goodwin, J. A. De
Don´, and M. M. Seron, [Goodwin, Don´, and Seron 2005]
a
a
Adaptive Control Tutorial, P. Ioannou and B. Fidan, [Ioannou and
Fidan 2006]
Introduction
5
Motivation
to adapt (latin: ”adaptare”): Make (something) suitable for a new
use or purpose; modify1
In control ⇒ modify the controller according to changes in the
plant
1
definition: Oxford dictionary
Introduction
6
Changes in System-behavior: Example 1
Figure: X15 experimental aircraft
Introduction
7
Flight Control
Table: Parameter changes
Mach
Altitude [ft]
a11
a12
a13
a21
a22
a23
b1
λ1
λ2
0.5
5000
1.5
35000
-0.9896
17.41
96.15
0.2648
-0.8512
-11.39
-97.78
-3.07
1.23
-0.51262
26.96
178.9
-0.6896
-1.225
-30.38
-175.6
− 0.87 ± 4.3i
− 0.87 ± 4.3i
Pitch angle Θ
˙
Pitch rate q = Θ
Normal acceleration Nz
Elevon angle δe
Input to elevon servo u
a11 a12 a13
b1
x = a21 a22 a23 x + 0 u
˙
0
0 −a
a
where xT = (Nz
˙
Θ δe )
Introduction
8
Flight Control
Table: Parameter changes
Mach
Altitude [ft]
a11
a12
a13
a21
a22
a23
b1
λ1
λ2
0.5
5000
1.5
35000
-0.9896
17.41
96.15
0.2648
-0.8512
-11.39
-97.78
-3.07
1.23
-0.51262
26.96
178.9
-0.6896
-1.225
-30.38
-175.6
− 0.87 ± 4.3i
− 0.87 ± 4.3i
unstable
poorly
damped
Pitch angle Θ
˙
Pitch rate q = Θ
Normal acceleration Nz
Elevon angle δe
Input to elevon servo u
a11 a12 a13
b1
x = a21 a22 a23 x + 0 u
˙
0
0 −a
a
where xT = (Nz
˙
Θ δe )
Introduction
8
Changes in System-behavior: Example 2
Hard disk drives (HDD)
Data is written in concentric
tracks
Track-following: disturbance
rejection problem
Disturbance consists of
RRO (repeatable runout) –
imperfections on the tracks,
etc.
NRRO (non-repeatable
runout) – vibrations,
ball-bearing imperfections,
etc.
Introduction
9
Changes in System-behavior: Example 3
Effects of waves on ship steering by an autopilot
wind speed: 2-4
m/s
wind speed: 18-20
m/s
waves have a dominating effect on the ship heading and speed
autopilot has to cope with large changes of wave frequencies
(factor 3)
Introduction
10
Changes in System-behavior: Example 3
Adaptive autopilot
PID autopilot
Introduction
11
Changes in System-behavior: Example 4
Underwater Robotics
6D motion
Dynamics dependent on center of mass and motion direction
Equations of motion: highly coupled and non-linear in every
degree of freedom
Online estimation through recursive least-squares optimization
with forgetting factor
Introduction
12
Changes in System-behavior: Example 5
Cooperative manipulation with robots
Uncertainty in kinematic parameters
Least-squares estimation of rigid transformations
Minimization of actuator torques
Introduction
13
Changes in System-behavior: Example 5
Cooperative manipulation with robots
Joint manipulation with haptic coupling
Partial knowledge of grasp geometries
Control design for closed kinematic chains
Limited availability of information on each robot
Introduction
14
Other changes in System-behavior
Friction
Temperature
Load
etc. . .
Introduction
15
Parameter Variation: Example 1
Influence of parameter variations on the system behavior
G(s) =
open loop
1
,
(s + 1)(s + a)
a ∈ [−0.01, 0.01]
closed loop
Introduction
16
Parameter Variation: Example 1
Influence of parameter variations on the system behavior
G(s) =
open loop
1
,
(s + 1)(s + a)
a ∈ [−0.01, 0.01]
closed loop
Introduction
16
Parameter Variation: Example 2
Influence of parameter variations on the system behavior
G(s) =
open loop
400(1 − T s)
,
(s + 1)(s + 20)(1 + T s)
T ∈ [0, 0.03]
closed loop
Introduction
17
Parameter Variation: Example 2
Influence of parameter variations on the system behavior
G(s) =
open loop
400(1 − T s)
,
(s + 1)(s + 20)(1 + T s)
T ∈ [0, 0.03]
closed loop
Introduction
17
History of Adaptive Control
Figure: Development of adaptive control methods [IoannouSlides]
Introduction
18
Adaptive Control Loop
Figure: Basic concept of an adaptive control loop
Introduction
19
Self-tuning Regulator
Figure: Self-tuning regulator loop
Introduction
20
Model-Reference Adaptive Systems
Figure: MRAS block diagram
Introduction
21
Gain Scheduling
Figure: Gain scheduling control loop
Introduction
22
Predictive Control
Model based computation of future system behavior based on
future reference values
For each timestep: Calculate optimal control input (cost
function)
Use of a moving prediction horizon
Use of constraints on inputs and state variables
Introduction
23
MPC Analogy
Figure: Analogy of the model predictive control idea
Introduction
24
MPC structure
Figure: Basic structure of an MPC loop
Introduction
25
Adaptation and Prediction
Adaptation:
Prediction:
adjust parameters of the
current controller to current
(and past) process states
adapt model to current (and
past) process states to predict
future behavior and compute
optimal control strategy
⇒ Adaptive control
⇒ Predictive control
Introduction
26
Content
1. Introduction to Adaptive and Predictive Control
2. Parameter Estimation
3. Self tuning regulators, pole placement
4. Model Reference Adaptive systems
5. Autotuning, Gain Scheduling
6. Practical Issues and Implementation, Applications
Introduction
27
Content
7. Stochastic Adaptive Controllers, Predictive Self-tuning
controllers
8. Fixed horizon optimal control, Receding horizon optimal control
(RHC)
9. Constrained Linear Quadratic Optimal Control
10. Model predictive control, Generalized predictive control
Introduction
28
References
Karl J Astrom and Dr. Bjorn Wittenmark.
Adaptive Control: Second Edition (Dover Books on Electrical Engineering). Second Edi.
Dover Publications, 2008. isbn: 9780486462783.
Eduardo F Camacho and Carlos Bordons Alba.
Model Predictive Control (Advanced Textbooks in Control and Signal Processing). 2nd. Springer, 2007.
isbn: 9781852336943.
Graham C. Goodwin, Jos´ A. De Don´, and Mar´ M. Seron.
e
a
ıa
Constrained Control and Estimation: an optimisation approach. Communications and Control Engineering.
London: Springer-Verlag, 2005. isbn: 1-85233-548-3. doi: 10.1007/b138145.
Petros Ioannou and Bar´p Fidan. Adaptive Control Tutorial (Advances in Design and Control).
y
SIAM, Society for Industrial and Applied Mathematics, 2006. isbn: 9780898716153.
Gang Tao. Adaptive Control Design and Analysis (Adaptive and Learning Systems for Signal Processing,
Communications and Control Series). 1st. Wiley-IEEE Press, 2003, p. 640. isbn: 9780471274520.
29