Introduction To Optimal Control
Introduction To Optimal Control
• Given a system
• Subject to
• U<Umax
•
Classification of optimal control problems
J dt
to
J dt
to
• This is similar to
𝑚𝑖𝑛𝑖𝑚𝑖𝑧𝑒𝑡 𝑓
𝑑𝑣 2
=(𝑢− 0.2 𝑣 )/𝑚
𝑑𝑡
𝑑𝑚
=−0.01 𝑢2
𝑑𝑡
[]
𝑥1
𝑥2
𝑥3
𝑥 (𝑡 𝑓 )=
𝑥4
𝑥5
𝑥6
• Then the error will also be six dimensional
variable given by -D
• Hence the objective function will then be
S = s11(x1-xa)^2+s22*(x2-yA)^2+…
Minimum control effort
• Objective: is to minimize the energy used to
drive a system from its initial state to a final
state
• J has the form
tf
J U (t )T RU (t )dt
to
subject to
𝑠=𝑣
˙
˙ ( 𝑢 − 0.2 𝑣 2 ) / 𝑚
𝑣=
𝑚=−0.01
˙ 𝑢2
u ≤ 1.1
𝑢≥− 1.1
𝑣 ≤1.7
𝑣 ( 0 ) =0 𝑣 ( 𝑡 𝑓 )=0
𝑠 ( 0 ) =0 𝑠 ( 𝑡 𝑓 )=0
Optimal servomechanism or tracking
problem
• Objective: is to design a control signal which
minimizes the error between desired actual
path of a system
• J has the form
tf
tf
T
J [ x(t ) d (t )] Q[ x(t ) d (t )]dt e(t )T Qe (t )dt
to
to
• J=int(e1^2+e2^2+…)
Optimal servomechanism contd
• The above problem can be extended to more
advanced forms
– Servomechanism with minimum control effort
tf
J ([ x(t ) d (t )]T Q[ x(t ) d (t )] U (t )T RU (t )) dt
to
J [ X (t ) D (t )] S [ X (t ) D (t )] ([ X (t ) d (t )] Q[ x (t ) d (t )] U (t )
f f
T
f f
T T
RU (t )) dt
to
Optimal regulator problem
• This is a sub problem of the optimal
servomechanism where the final point is zero
• Objective: is to drive a system towards a point
where the final state value is zero.
• The performance measure J is given by
tf
J [ X (t f )]T S [ X (t f )] ([ X (t )]T Q[ x(t )] U (t )T RU (t )) dt
to
Examples
• Consider a body of mass M moving along a
frictionless surface
u
M
xo , vo
x f ,v f
J dt t f
0
Examples
• If friction of the surface us considered in the
motion of the above body, the SS model
dx d d2
F b ma m (v(t )) m 2 ( x(t ))
dt dt dt
x 1 x2
F b b
x 2 x2 u x2
m m m
• The cost function can be taken to be the same
• Min J=tf time optimal problem formulation for the
frictionless problem
• Subject to
– X1d=x2
– X2d=F/M=U
– U<amax
– U>amin