Summary
Motivated by new aerospace applications, the condition of minimum‐energy achieving high accuracy of both terminal orbital injection and attitude angle is required for better navigation and observation. The stability of guidance command also needs to be improved considering the control system. In this article, an optimal guidance algorithm with an advanced numerical method of spacecrafts is proposed. In order to ensure the continuity of the attitude angle and its terminal constraints, the thrust vector is treated as the state variable in the optimal control problems, and the rate of attitude angle change is regarded as the control variable. Then the optimal ascent problem of spacecrafts based on a nondimensional dynamical model is derived in detail, including performance index considering energy consumption, optimal conditions, and terminal conditions. To improve the computational efficiency of optimal ascent problems, a numerical method and a solution strategy are proposed. Simulation results show that the terminal attitude angle error of proposed method is much less than that of the traditional guidance method, and the continuity and stability of the guidance command is also better, which demonstrates the high accuracy and strong adaptability of the guidance algorithm developed in this article.