16.323 Principles of Optimal Control: Mit Opencourseware
16.323 Principles of Optimal Control: Mit Opencourseware
edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.
x =
1 1 1 2
x +
1 0
y=
1 0 x
A naive way to implement a reference tracker is to modify the LQR controller from u = Kx to u = r Kx: x = (A BK )x + Br , y = Cx Verify that this leads to particularly poor tracking of a step input! 1
(b) An alternative strategy is to use u = N r Kx, where N is a constant. What is a good way to choose N to ensure zero steady state error for this closed-loop system? What are the consequences of this change in the step response of the closed-loop system? (c) A completely dierent approach to ensuring zero steady-state error is to use what is often called an LQ-servo. The approach is to add a new state to the system that integrates the tracking error: x i = r y = r Cx, giving:
x x i
= y =
C 0 C 0
x xi
B 0
u+
0 1
x xi
The LQR problem statement can now be modied (ignore r in the design of u) to place a high weighting on xi to penalize the tracking error. Use this technique to design a new controller (keep Rxx and Ruu the same as part(a) and tune the weight on xi to achieve a performance that is similar to part (b)). Compare the transient responses for the approaches in (b) and (c) - do you see any advantages to one approach over the other? 5. Consider the optimal control of thrust vector direction that maximizes the terminal velocity of the space launch vehicle in the rectilinear frame. The vehicle dynamics (see gure) is represented as u v x y = = = = a cos a sin u v
where (x, y ) and (u, v ) denote the position and the velocity of the rocket with respect to an rectilinear inertial frame. The thrust acceleration a is assumed to be a known function of time. The boundary conditions are given as: u(t0 ) = v (t0 ) = x(t0 ) = y (t0 ) = 0, v (tf ) = 0, y (tf ) = h. Also, the terminal time tf is given and h is the altitude of the target orbit. (a) Show that the optimal control law takes the form of tan = tan 0 c t where 0 and c are constant. This law is referred to as linear tangent law. (b) What happens if there exists the gravity described as: v = a sin g with g being constant? 2 (2) (1)
y a t=T
u (T)
h x
t=0
(c) Use the numerical methods discussed in class to nd the optimal control inputs and resulting path when g = 0, h = 5000m, a = 2m/s, and tf = 200sec. Compare the numerical and analytic solutions.