CALCULUSOFVARIATIONSANDOPTIMALCONTROLTHEORY.pdf

大小 2.2MB 页数 200 页 格式 PDF

Thank you for your interest in this book!

Please note that the current version – which is based on a set of lecture notes used by UIUC students – is significantly different from the version that will be published by Princeton University Press. Specifically, this copy does not reflect numerous (although mostly minor) corrections and editing done during the publication process, and the final book formatting will result in different page numbers and overall layout. You are welcome to browse and download this preliminary copy, but for serious use I recommend getting the actual book.

Daniel Liberzon liberzon@uiuc.edu

August 9, 2011

(空页)

DANIEL LIBERZON

ii

Since the building of the universe is perfect and is created by the wisdom creator, nothing arises in the universe in which one cannot see the sense of some maximum or minimum.

Leonhard Euler

The words “control theory” are, of course, of recent origin, but the subject itself is much older, since it contains the classical calculus of variations as a special case, and the first calculus of variations problems go back to classical Greece.

Hector J. Sussmann

Cover illustration by Polina Ben-Sira ⃝c 2009

Contents

Pre face vii
1
Intr
oduct ion 1
1.1 Optim al control problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
1.2 Some background on finite-dimensional optimization . . . . . . . . . . . . . . . . . . .
3
1.2.1 Unconstrained optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
1.2.2 Constrained optimization
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . .
9
1.3 Previ ew of infinite-dimensional optimization . . . . . . . . . . . . . . . . . . . . . . . .
14
1.3.1 Function spaces, norms, and local minima . . . . . . . . . . . . . . . . . . . . .
14
1.3.2 First variation and first-order necessary condition . . . . . . . . . . . . . . . . .
16
1.3.3 Second variation and second-order conditions . . . . . . . . . . . . . . . . . . .
17
1.3.4 Global minima and convex problems . . . . . . . . . . . . . . . . . . . . . . . .
19
1.4 Notes and references for Chapter 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
20
2
Cal
culus of Variations 21
2.1 Exam ples of variational problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21
2.1.1 Dido’s isoperimetric problem
. . . . . . . . . . . . . . . . . . . .
. . . . . . . .
21
2.1.2 Light reflection and refraction . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22
2.1.3 Catenary
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . .
23
2.1.4 Brachistochrone
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . .
24
2.2 Basic calculus of variations problem
. . . . . . . . . . . . . . . . . . . .
. . . . . . . .
26
2.2.1 Weak and strong extrema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26
2.3 First- order necessary conditions for weak extrema . . . . . . . . . . . . . . . . . . . . .
28
2.3.1 Euler-Lagrange equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
28
2.3.2 Historical remarks
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . .
31
2.3.3 Technical remarks
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . .
32
2.3.4 Two special cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33

iii

DANIEL LIBERZON

iv

2.3.5 Variable-endpoint problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
34
2.4 Hamil tonian formalism and mechanics . . . . . . . . . . . . . . . . . . . . . . . . . . .
36
2.4.1 Hamilton’s canonical equations . . . . . . . . . . . . . . . . . . . . . . . . . . .
36
2.4.2 Legendre transformation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37
2.4.3 Principle of least action and conservation laws
. . . . . . . . . . . . . . . . .
.
39
2.5 Variat ional problems with constraints
. . . . . . . . . . . . . . . . . . . . . . . . . .
.
41
2.5.1 Integral constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42
2.5.2 Non-integral constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44
2.6 Secon d-order conditions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
46
2.6.1 Legendre’s necessary condition for a weak minimum
. . . . . . . . . . . . . .
.
47
2.6.2 Sufficient condition for a weak minimum . . . . . . . . . . . . . . . . . . . . . .
50
2.7 Notes and references for Chapter 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
54
3
Fro
m Calc ulus of Variations to Optimal Control 57
3.1 Necess ary conditions for strong extrema . . . . . . . . . . . . . . . . . . . . . . . . . .
57
3.1.1 Weierstrass-Erdmann corner conditions
. . . . . . . . . . . . . . . . . . . . .
.
57
3.1.2 Weierstrass excess function
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
61
3.2 Calcul us of variations versus optimal control . . . . . . . . . . . . . . . . . . . . . . . .
65
3.3 Optim al control problem formulation and assumptions . . . . . . . . . . . . . . . . . .
67
3.3.1 Control system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
67
3.3.2 Cost functional . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
69
3.3.3 Target set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
70
3.4 Variat ional approach to the fixed-time, free-endpoint problem . . . . . . . . . . . . . .
71
3.4.1 Preliminaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
71
3.4.2 First variation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
73
3.4.3 Second variation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
76
3.4.4 Some comments
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
77
3.4.5 Critique of the variational approach and preview of the maximum principle . .
78
3.5 Notes and references for Chapter 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
80
4
The
Maxi mum Principle 81
4.1 Statem ent of the maximum principle
. . . . . . . . . . . . . . . . . . . . . . . . . .
.
81
4.1.1 Basic fixed-endpoint control problem . . . . . . . . . . . . . . . . . . . . . . . .
81
4.1.2 Basic variable-endpoint control problem . . . . . . . . . . . . . . . . . . . . . .
82
4.2 Proof of the maximum principle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
84

v

CALCULUS OF VARIATIONS AND OPTIMAL CONTROL

4.2.1 From Lagrange to Mayer form
. . . . . . . . . . . . . . . . . . . .
. . . . . . .
85
4.2.2 Temporal control perturbation
. . . . . . . . . . . . . . . . . . . .
. . . . . . .
87
4.2.3 Spatial control perturbation . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
87
4.2.4 Variational equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
89
4.2.5 Terminal cone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
91
4.2.6 Key topological lemma . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
93
4.2.7 Separating hyperplane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
95
4.2.8 Adjoint equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
97
4.2.9 Properties of the Hamiltonian . . . . . . . . . . . . . . . . . . . . . . . . . . . .
98
4.2.10 Transversality condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
4.3 Discus sion of the maximum principle
. . . . . . . . . . . . . . . . . . . .
. . . . . . . 102
4.3.1 Changes of variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
4.4 Time- optimal control problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
4.4.1 Example: double integrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
4.4.2 Bang-bang principle for linear systems . . . . . . . . . . . . . . . . . . . . . . . 110
4.4.3 Nonlinear systems, singular controls, and Lie brackets
. . . . . . .
. . . . . . . 112
4.4.4 Fuller’s problem
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 116
4.5 Existe nce of optimal controls
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 118
4.6 Notes and references for Chapter 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
5
The
Hami lton-Jacobi-Bellman equation 125
5.1 Dyna mic programming and the HJB equation . . . . . . . . . . . . . . . . . . . . . . . 125
5.1.1 Motivation: the discrete problem . . . . . . . . . . . . . . . . . . . . . . . . . . 125
5.1.2 Principle of optimality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
5.1.3 HJB equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
5.1.4 Sufficient condition for optimality
. . . . . . . . . . . . . . . . . .
. . . . . . . 132
5.1.5 Historical remarks
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . 134
5.2 HJB e quation versus the maximum principle
. . . . . . . . . . . . . . . .
. . . . . . . 135
5.2.1 Example: nondifferentiable value function . . . . . . . . . . . . . . . . . . . . . 136
5.3 Viscos ity solutions of the HJB equation
. . . . . . . . . . . . . . . . . . .
. . . . . . . 137
5.3.1 One-sided differentials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
5.3.2 Viscosity solutions of PDEs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
5.3.3 HJB equation and the value function . . . . . . . . . . . . . . . . . . . . . . . . 141
5.4 Notes and references for Chapter 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143

DANIEL LIBERZON

vi

6
The
Linea r Quadratic Regulator 145
6.1 Finite- horizon LQR problem. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
6.1.1 Candidate optimal feedback law
. . . . . . . . . . . . . . . . . . . .
. . . . . . 146
6.1.2 Riccati differential equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
6.1.3 Value function and optimality . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
6.1.4 Global existence of solution for the RDE . . . . . . . . . . . . . . . . . . . . . . 151
6.2 Infinit ie-horizon LQR problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
6.2.1 Existence and properties of the limit . . . . . . . . . . . . . . . . . . . . . . . . 153
6.2.2 Infinite-horizon problem and its solution . . . . . . . . . . . . . . . . . . . . . . 155
6.2.3 Closed-loop stability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
6.2.4 Complete result and discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
6.3 Notes and references for Chapter 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
7
Adv
anced Topics 161
7.1 Maxim um principle on manifolds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
7.1.1 Differentiable manifolds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
7.1.2 Re-interpreting the maximum principle
. . . . . . . . . . . . . . . .
. . . . . . 163
7.1.3 Symplectic geometry and Hamiltonian flows . . . . . . . . . . . . . . . . . . . . 166
7.2 HJB e quation, canonical equations, and characteristics . . . . . . . . . . . . . . . . . . 167
7.2.1 Method of characteristics
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . 167
7.2.2 Canonical equations as characteristics of the HJB equation
. . . . .
. . . . . . 170
7.3 Riccat i equations and inequalities in robust control . . . . . . . . . . . . . . . . . . . . 171
7.3.1 L2 gain
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . 171
7.3.2 H∞control problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
7.3.3 Riccati inequalities and LMIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
7.4 Maxim um principle for hybrid control systems . . . . . . . . . . . . . . . . . . . . . . . 176
7.4.1 Hybrid optimal control problem. . . . . . . . . . . . . . . . . . . . . . . . . . . 176
7.4.2 Hybrid maximum principle
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . 177
7.4.3 Example: light reflection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
7.5 Notes and references for Chapter 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Bib liograp hy 181
Inde x
. .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186

Preface

This book grew out of my lecture notes for a graduate course on optimal control theory which I taught at the University of Illinois at Urbana-Champaign during the period from 2005 to 2010. While preparing the lectures, I have accumulated an entire shelf of textbooks on calculus of variations and optimal control systems. Although some of them are excellent, navigating and combining the material from so many sources was a daunting task, and I was unable to find a single text with all the features that I wanted:

Appropriate presentation level. I needed a friendly introductory text accessible to graduate students who have not had extensive training in control theory or mathematical analysis; a text that is rigorous and builds a solid understanding of the subject without getting bogged down in technicalities.

Logical and notational consistency among topics. There are intimate connections between the classical calculus of variations, the maximum principle, and the Hamilton-Jacobi-Bellman theory, which I wanted to emphasize throughout the course. Due to differences in notation and presentation style in the existing sources, it is very difficult for students (and even for instructors) to piece this material together.

Proof of the maximum principle. The maximum principle is a centerpiece of optimal control theory which also elucidates and puts in perspective earlier developments in calculus of variations, and I felt it was important to cover its proof. This is a challenging task because a complete proof is rather long and, without adequate preparation and guidance, the effort required to understand it can seem prohibitive to most students.

Historical perspective. A course on optimal control gives students a unique chance to get exposed to the work of some of the greatest mathematical minds and trace the beautiful historical development of the subject, from early calculus of variations results to modern optimal control theory. A good text, while of course focusing on the mathematical developments, should also give students a sense of the history behind them.1

Manageable size. It is very useful to have a text compact enough so that all of the material in it can be covered in one semester, since very few students will take more than one course specifically on this subject.

The present book is an attempt to meet all of the above challenges (inevitably, with varying degrees of success). The comment about proving the maximum principle in class deserves some elaboration. I believe that to build the understanding necessary to correctly and effectively use the

1In Tom Stoppard’s famous play “Arcadia” there is an interesting argument between a mathematician and a historian about what is more important: scientific progress or the personalities behind it. In a technical book such as this one, the emphasis is clear, but some flavor of the history can enrich one’s understanding and appreciation of the subject.

vii

DANIEL LIBERZON

viii

maximum principle, it is very helpful—if not essential—to master its proof. In my experience, the proof given in this book is not too difficult for students to follow. This has to do not just with the clarity and structure of the proof itself, but also with the fact that special attention is paid to preparing students for this proof earlier on in the course (as well as helping them digest it through subsequent discussions). On the other hand, due to the central role that the proof of the maximum principle plays in this book, instructors not planning to cover this proof in class will not fully benefit from adopting this text.

While some prior exposure to control theory, mathematical analysis, and optimization is certainly helpful, this book is sufficiently self-contained so that any motivated graduate student specializing in a technical subject (such as engineering or mathematics) should be able to follow it. Depending on the student’s background, some supplementary reading may be necessary from time to time; the notes and references located at the end of each chapter should facilitate this process.

Chapters 1–6 form the main part of the book and can serve as the basis for a one-semester course. Depending on the pace, the instructor may also have time for some or all of the advanced topics discussed in Chapter 7. I included only topics that in my opinion directly extend and enhance the understanding of the core material. The instructor may give preference to some other areas instead, such as the important issue of state constraints in optimal control, the classical subject of stochastic optimal control and estimation, the very popular model predictive control, or the numerous applications of optimal control theory. Fortunately, good references covering these topics are readily available. It is also possible that the instructor will want to further elaborate on some aspects of the theory presented in Chapters 1–6; in this regard, the end-of-chapter notes and references may be a useful resource.

About 60 exercises are interspersed throughout the first six chapters and represent an integral part of the book. My intention is for students to start working on each exercise as soon as the corresponding material is covered. A solutions manual is available upon request for instructors.

I am grateful to my colleagues Tamer Ba¸sar, Yi Ma, and Bill Perkins who shared their valuable experiences and lecture notes from their offerings of the optimal control course at UIUC. I am also indebted to students and friends who suffered through earlier drafts of this book and provided numerous corrections and suggestions, along with stimulating discussions and much-needed encouragement; I would like to especially thank Sairaj Dhople, Michael Margaliot, Nathan Shemonski, Hyungbo Shim, Guosong Yang, and Jingjin Yu. I appreciated the helpful and thoughtful comments of the reviewers and the support and professionalism of Vickie Kearn and other editorial staff at Princeton University Press. On the artistic side, I thank Polina Ben-Sira for the very cool cover drawing, and my wife Olga not only for moral support but also for substantial help with all the figures inside the book. Finally, I am thankful to my daughter Ada who told me that I should write the book and gave me a toy tangerine which helped in the process, as well as to my little son Eduard whose arrival definitely boosted my efforts to finish the book.

I decided not to eliminate all errors from the book, and instead left several of them on purpose in undisclosed locations as a way to provide additional educational experience. To report success stories of correcting errors, please contact me at my current email address (which is easy to find on the web).

Daniel Liberzon Champaign–Chicago–Paris

预览结束 · 共 200 页