2016 Volume 14 Issue ists30 Pages Pd_111-Pd_117
In this paper, a real-time capable nonlinear model predictive controller is implemented for the attitude control of an upper stage launch vehicle with liquid propellant. A mass spring model is used as an analogy to simulate the disturbance generated by the sloshing propellant. For the implementation of the nonlinear model predictive controller, an optimal control problem is defined with finite time horizon. The objective function is minimized while satisfying constraints on the control inputs. The resulting optimal control problem is transcribed using single shooting method to parametrize the control inputs using uniform discretization points. The continuous control inputs are obtained by linear interpolation. A dedicated discretization algorithm in FORTRAN is coupled with a solver which used quasi-Newton algorithm to generate solutions fast. Approximation of the Hessian matrix is used to reduce computational requirements. Furthermore, the algorithm can perform parallel computation of the derivatives of the objective function with respect to optimization variables. This results in a real-time capability of generating solutions in the order of hundred milliseconds for each iteration. The algorithm is applied for attitude maneuver and disturbance rejection for the upper stage of a launch vehicle.