Lecture 1
Lecture 1
Zhi-Hong Mao
Associate Professor of ECE and Bioengineering
University of Pittsburgh, Pittsburgh, PA
1
Outline
Course description
Course organization
Brief review of optimization methods
What is optimal control?
Why optimal control?
Approaches to optimal control
An example
Course description
This course introduces:
Fundamental mathematics of optimal control theory
Implementation of optimal controllers for practical
applications
1
Course description
This course introduces:
Fundamental mathematics of optimal control theory
Implementation of optimal controllers for practical applications
Course organization
Course organization
Time: Thursday 5:20 pm-7:50 pm
Instructor: Dr. Zhi-Hong Mao
Text book
F. L. Lewis, Draguna Vrabie, and V. L. Syrmos, Optimal
Control, 3rd Edition, John Wiley and Sons, New York, 2012
(or 2nd Edition, 1995)
Lecture notes available at
http://www.pitt.edu/~zhm4/ECE3650
Email list
Emergent notices will be sent to you via emails
2
Course organization
Time: Monday 5:20 pm-7:50 pm
Instructor: Dr. Zhi-Hong Mao
Text book
Lecture notes
Email list
Course evaluation
Homework and class participation: 30% (late
homework will not be accepted)
Midterm: 30%
Final exam: 40%
minimize L(u )
subject to fi (u ) 0, i 1,..., n
x x
y 9
3
Brief review of optimization methods
Formulation of optimization problems
x x
maximize xy
subject to 2 x y 24
10
4
Brief review of optimization methods
Formulation of optimization problems
13
14
15
5
Brief review of optimization methods
Formulation of optimization problems
Optimization in biology
Optimization theory not only explains current
adaptations of biological systems, but also helps to
predict new designs that may yet evolve
Biological world may provide solutions to engineering
problems: The structures, movements, and behaviors
of animals, and their life histories, have been shaped
by the optimization processes of evolution or of
learning by trial and error
16
Optimization methods
Extremum of a smooth
function
Gradient search
Simplex algorithm
17
Genetic
algorithm
18
6
Brief review of optimization methods
Formulation of optimization problems
Examples of optimization problems
Question (Steiners
Optimization methods problem): How to find
Extremum of a smooth function a point inside a
Gradient search triangle that gives the
Simplex algorithm
shortest sum of
Lagrangian methods and Lagrange multipliers
Randomized algorithms
distances to the
vertices?
Energy-function-based
optimization
With applications in protein
folding problems, Hopfield
neural networks, robotic path
planning, etc.
19
Protein folding
20
Hemoglobin
21
7
What is optimal control?
Definition
Optimal control is to find optimal ways to control a
dynamic system
22
x Ax Bu
y Cx Du
23
d 2 y (t ) x1 (t ) y (t )
m u(t ) dy (t ) dx1 (t )
dt 2 x2 ( t )
dt dt
x Ax Bu
y Cx Du x1 (t ) 0 1 x1 (t ) 0
x (t ) 0 0 x (t ) 1 / mu(t )
2 2
Question: What are A, B, C,
and D for this example? x (t )
y (t ) [1 0] 1
x2 ( t ) 24
8
What is optimal control?
Definition
25
t 0 t 0
27
9
What is optimal control?
Definition
28
x (t )Qx(t ) uT (t )Ru(t ) dt
tf
J xT (t f )Fx(t f ) T
t0
x (t )Qx(t ) uT (t )Ru(t ) dt
tf
J xT (t f )Fx(t f ) T
t0
30
10
What is optimal control?
Definition
Formulation of optimal control problems
31
32
33
11
Why optimal control?
Problems with classical control system design
Why optimal control?
34
Word of caution
Optimal control design assumes that the system
model is exactly known and that there are no
disturbances
Lack of intuition in design
Optimal control should not be viewed as a
replacement of classical analytic methods; rather, it
should be considered as an addition that
complements the older tools of classical control
35
Calculus of variations
Pontryagins maximum principle
Dynamic programming
Hamilton-Jacobi-Bellman equation
36
12
Approaches to optimal control
Calculus of variations
Dynamic programming
An example
38
An example
39
13
An example
DCM
Feedforward control 40
41
An example
DCM
42
Feedback control
14
43
44
An example
J xT Qx uT Ru dt
Km i
u Va , x (q, i, )'
J 20q(t )2 (t )2 0.01Va (t )2 dt
DCM 0
45
Optimal control
15
46
References
J. R. Banga. Optimization in computational systems biology. BMC Systems Biology, 2008.
J. W. Chinneck. Practical optimization: a gentle introduction. Available online at
http://www.sce.carleton.ca/faculty/chinneck/po.html
G. B. Dantzig. The diet problem. Interfaces 20, 43-47, 1990.
R. J. Jagacinski and J. M. Flach. Control Theory for Humans: Quantitative Approaches to
Modeling Performance. Lawrence Erlbaum Associates Publishers, Mahwah, NJ, 2003.
F. L. Lewis, D. L. Vrabie, and V. L. Syrmos. Optimal Control, 3rd Edition, John Wiley and
Sons, 2012.
D. E. Kirk. An introduction to dynamic programming. IEEE Transactions on Education E-
10, 212-219, 1967.
A. Martin. Large-scale optimization. Optimization and Operations Research, in
Encyclopedia of Life Support Systems, Eolss Publishers, Oxford, UK, 2004.
S. H. Zak. Systems and Control. Oxford University Press, 2003.
http://asweknowit.net/images_edu/dwa5%20brain%20cells%20non-neuronal.jpg
http://en.wikipedia.org/wiki/Conjugate_gradient_method
http://en.wikipedia.org/wiki/File:Hb-animation2.gif
http://en.wikipedia.org/wiki/Linear-quadratic_regulator
http://en.wikipedia.org/wiki/Protein_folding
http://faculty.cs.tamu.edu/amato/dsmft/research/folding/index.shtml.OLD2
http://molsim.chem.uva.nl/gallery/index.html
http://www.johnrdixonbooks.com/images/Optimization.pdf
http://www.mathworks.com/products/control/demos.html?file=/products/demos/shipping/co
ntrol/dcdemo.html 47
16