Optimal Control Notes
Optimal Control Notes
• Authorized documents: one double-sided page, to be handed back with your exam.
• Observations:
– each step of the solution has to be thoroughly motivated;
– write your name on each sheet and number them, including the total number.
– 7 points per question
I. Dynamic Programming
Consider the problem of bringing to rest at the origin in minimal time the state of the forced harmonic
oscillator ẍ + x = u using controls satisfying u ∈ [−1, 1].
For this problem:
1) define the appropriate performance measure;
2) give the corresponding Hamilton-Jacobi equation;
3) solve this equation to find u∗ (t).
1) Extend the state to obtain the integral and check for controllability;
2) Design an LQR to find the optimal PID gains.
• Authorized documents: one double-sided page, to be handed back with your exam.
• Observations:
– each step of the solution has to be thoroughly motivated;
– write your name on each sheet and number them, including the total number.
– 7 points per question
I. Dynamic Programming
Consider the problem of bringing to the desired final state in minimal time the state of the system
ẋ = ax2 + u using controls satisfying u ∈ [−1, 1].
For this problem:
1) define the appropriate performance measure;
2) give the corresponding Hamilton-Jacobi equation;
3) solve this equation to find u∗ (t).
III. LQ Controller
Consider a controlled object with the transfer function of the form
b1 s + b0
G(s) =
s2 + a1 s + a 0
where b0 = 2, b1 = 0.1, a0 = 4, a1 = 3.
1) Write this system in the state-space form.
2) Is this system controllable and observable?
3) Design a feedback LQ controller with integrator based on state observation (choose Q = I and R = 1
in the cost function).
4) What happens if b0 = 0?
Optimization and Optimal Control
Exam 2017-2018 (S1), 1h30
E. WITRANT, UJF/UFR PhyTEM, December 21, 2017.
International Master in Systems, Control and Information Technologies (MiSCIT)
• Authorized documents: one double-sided page, to be handed back with your exam.
• Observations:
– each step of the solution has to be thoroughly motivated;
– write your name on each sheet and number them, including the total number.
Fig. 1. Edward diwheel from the University of Adelaide, Australia. Left: photograph of the diwheel driving in inversion mode. Right:
Schematic showing the coordinate systems, mass distributions and states. Exerpt from [1].
where {a1,2,3 , b, c} are constant parameters, u(t) is the controlled input and v(t) is a known exogeneous
input (not controlled, related to φ̇). Derive an optimal controller for this system by considering that the
system is initially at rest, ends at rest at a free final time, and that the state and input trajectories minimize
the performance measure:
1 T 2
Z
J(u) = θ (t) + r u2 (t)dt
2 0
More precisely:
1) write the state-space description and the Hamiltonian;
2) obtain the necessary conditions;
3) check that you obtain a consistent number of equations to solve your problem.
Then propose a simplified controller by linearizing the system, considering a constant v(t) and an infinite
time-horizon.
Reference
1 B. Cazzolato, J. Harvey, C. Dyer, K. Fulton, E. Schumann, T. Zhu, Z. Prime B. Davis, S. Hart, E.
Pearce and J. Atterton, ”Modeling, simulation and control of an electric diwheel”, Proceedings of
Australasian Conference on Robotics and Automation, Monash University, Melbourne, Australia, 7-9
Dec 2011.
Optimization and Optimal Control
Exam 2018-2019 (S1), 1h30
E. WITRANT, UJF/UFR PhyTEM, December 20, 2018.
International Master in Systems, Control and Information Technologies (MiSCIT)