Shanghai University
Article Information
- Pengcheng WU, Hao WEN, Ti CHEN, Dongping JIN
- Model predictive control of rigid spacecraft with two variable speed control moment gyroscopes
- Applied Mathematics and Mechanics (English Edition), 2017, 38(11): 1551-1564.
- http://dx.doi.org/10.1007/s10483-017-2278-9
Article History
- Received Nov. 10, 2016
- Revised May. 24, 2017
Control moment gyroscopes (CMGs) obtain the angular momentum via high speed spinning rotor, and export torques owing to the change of angular momentum. CMGs are widely used in large spacecrafts due to their merits of producing larger torques, having simpler physical structure, longer life span, higher precision, and higher stability than conventional flywheels or jets[1-2].
Currently, CMGs are mainly divided into some sorts according to their structures, such as single gimbal control moment gyroscopes (SGCMGs) and variable speed control moment gyroscopes (VSCMGs). An SGCMG holds the constant rotor spinning velocity and produces output torque on account of the change of angular momentum caused by the rotation of gimbal axis. The SGCMG has a simple structure and large torque amplification ability, and is widely used in the field of spacecraft control. However, an SGCMG can only produce gyroscope torque in one direction. In order to realize three axes control of the spacecraft, more than three SGCMGs are needed[3]. In addition, the configuration of SGCMGs is usually designed to be redundant to keep the system from unexpected failures caused by the breakdown of SGCMGs. For instance, Chinese 'Tiangong-1' space station is configured with six SGCMGs[4]. Moreover, the SGCMG has a singularity problem[5]. Inevitably, there are some combinations of gimbal angles such that SGCMGs cannot produce demanded torques[6]. For the design redundancy, many steering laws have been used such as the Moore-Penrose pseudo-inverse steering law. However, these steering laws cannot make the system escape from singular states[7]. Faced with this problem, many researchers designed various improved steering laws such as singularity robust inverse (SRI) and pseudo-inverse with null motion. Nevertheless, as far as we know, no simple and effective steering law can solve the singularity problem completely.
In contrast, reaction wheels (RWs) can produce output torques owing to the variation of the spinning rates of rotors. Different from that, VSCMGs have both the features of RWs and SGCMGs. While the rotor spinning rate of the SGCMG remains constant, the rotor spinning rate of the VSCMG is allowed to vary in a continuous manner. Therefore, a VSCMG can produce output torque by virtue of the rotation of gimbal axis and change of rotor spinning rate. Since a VSCMG has an extra degree of freedom, its structure will be more complex compared with SGCMGs. Ford and Hall[8] introduced the equations of motion of a spacecraft which contained several VSCMGs. However, the RW and CMG modes were operated exclusively, not simultaneously in their control laws. Schaub et al.[9] designed control laws which can change modes of RW and CMG automatically in their paper. Schaub and Junkins[10] also proposed steering laws with null motion, which can make VSCMGs escape from singular configuration under the circumstance of generating no output torques. Cui and He[11] designed steering laws for two parallel VSCMGs. Kanzawa et al.[12] proposed steering laws which not only provide the demanded control torques, but also control the terminal gimbal angles of CMGs.
The spacecraft and the array of CMGs were usually studied independently in the recent relevant literature. Firstly, the control torques needed by a spacecraft are designed, and then steering laws are obtained by solving the gimbal rates and rotor spinning accelerations of CMGs according to the reference control torques. The actual torques produced by CMGs are not precisely equal to the demanded torques due to the possible singularity. It is pointed out here that CMGs are treated as ideal actuators where the interaction between the array of CMGs and spacecraft is ignored. By treating gimbal rates as input variables and considering the spacecraft and the array of CMGs as a whole system, Bhat and Tiwari[13] built a mathematical model which was used to avoid the effect of singularity, without considering the influence of external disturbances on the system in their paper. By taking external disturbances into account, the method of nonlinear model predictive control (NMPC) was used to implement the attitude feedback control of the integrated system of spacecraft and the array of SGCMGs[14]. The dynamics of the coupling system consisting of the array of VSCMGs and spacecraft has not been considered in those studies above, where SGCMGs were only used as actuators.
Generally, CMGs are configured in a spacecraft redundantly to obtain torques along three independent directions. However, some uncertainties, such as mechanical malfunctions, may cause the onboard failures of CMGs. Therefore, CMGs with gimbal axes skewed to each other seem to be the better choice serving as actuators[15]. Many researchers intensively investigated the attitude control problem of those systems. For example, Crouch[16] discussed the controllability of a system which was driven by flywheels, and concluded that the system with less than three flywheels can never become controllable. Hu and Ge[17] developed a control law for spacecrafts driven by jets. Yang and Wu[18] considered the orientation control of a spacecraft driven by arbitrary configurations of double SGCMGs. Bhat and Tiwari[13] showed that with one or more CMGs, the combined dynamics of the spacecraft-CMG system was globally controllable, despite the presence of singularity. Gui et al.[15] designed a controller by reducing the kinematic and dynamic equations of a spacecraft driven by two SGCMGs with gimbal axes skewed to each other. Flywheels, jets, and SGCMGs were mostly used as actuators in those studies above.
In this paper, the attitude maneuver control problem of a rigid spacecraft via the array of VSCMGs is investigated. Firstly, the strategy is developed on how to drive the rigid spacecraft into the desired attitude when unexpected failures of CMGs occur during the operation. Next, the spacecraft and VSCMGs are taken as a whole system, and the coupling interaction between the spacecraft and VSCMGs is considered. Different from the conventional methods where steering laws are proposed to drive CMGs, the first-order derivative of gimbal rates and the second-order derivative of the rotor spinning velocity are treated directly as input variables in this paper, and the singularity problem will not be present any more. At last, the attitude maneuver control law for the spacecraft is designed based on the NMPC. The remaining part of this paper is organized as follows. In Section 2, the integrated system of spacecraft and the array of VSCMG is built. In Section 3, the control task is formulated, and the controller based on the NMPC method is designed. In Section 4, a simulation case is given, and the feasibility of the proposed controller is verified by numerical simulation. As a comparison, a steering law based on the conventional method is also discussed briefly.
2 Mathematical modelingIn this study, a rigid spacecraft driven by two VSCMGs is considered. The spacecraft and the array of VSCMGs are studied as an entire system.
The total angular momentum of this entire system is
![]() |
(1) |
where J represents the inertial matrix of spacecraft, Jω represents the angular momentum of spacecraft, and hCMG represents the total angular momentum of VSCMGs. The time derivative of Eq. (1) can be expressed as
![]() |
(2) |
where
According to the angular momentum theorem[19], one has
![]() |
(3) |
where Text stands for the outer space disturbances. In general, the magnitude of Text is very small, about 10-7 N·m[20].
According to Eqs. (1) -(3), the dynamic equation of spacecraft with CMGs is
![]() |
(4) |
where
As shown in Fig. 1, the configuration of two VSCMGs with gimbal axes skewed to each other is the focus of the present study. γ is an oblique angle held constant. Unit orthogonal bases { b1, b2, b3} stand for the spacecraft-fixed frame, while gi and hi represent the gimbal axis and the angular momentum of the ith VSCMG, respectively. In fact, hi is a function of the gimbal angle δi and the rotor spinning velocity Ωi, i.e., hi =hi (δi, Ωi), where Ωi determines the magnitude of hi, while δi represents the direction of hi. The total angular momentum of the two VSCMGs is
![]() |
(5) |
![]() |
Fig. 1 Schematic configuration of two skew VSCMGs |
|
Let JW denote the moment of inertia of rotor. Hence, the total angular momentum is presented as follows:
![]() |
(6) |
The derivative of Eq. (6) in the spacecraft-fixed reference frame can be expressed as
![]() |
(7) |
For the sake of notational simplicity, Eq. (7) can be rewritten in the compact form of
![]() |
(8) |
where
![]() |
Hence, Eq. (6) can also be rewritten as
![]() |
(9) |
Substituting Eqs. (8) and (9) into Eq. (4), the dynamic equation of system is derived in the spacecraft-fixed reference frame,
![]() |
(10) |
In addition, from the perspective of physical significance, one has
![]() |
(11) |
where Tctrl stands for the output torques produced by the array of VSCMGs.
To describe the attitude of spacecraft in this paper, unit quaternions are used, which were given by[21-22]
![]() |
(12) |
subject to the constraint
![]() |
(13) |
The rotational angle θ is about the Euler axis, which is determined by the unit vector ε.
The kinematic equation of spacecraft is
![]() |
(14) |
where
![]() |
(15) |
The control task in this section is to drive the spacecraft to the target attitude with the desired angular velocity. The desired attitude and angular velocity are denoted as qf and ωf. The objective of the control problem can be formulated as follows:
![]() |
(16) |
The spacecraft and the array of CMGs are conventionally studied separately in the previous work. Firstly, the demanded control torques needed by the spacecraft are calculated. Then, the demanded control torques are considered as system input variables, and the steering laws are formulated in order to solve for the gimbal rates and rotor spinning accelerations of CMGs[23]. To compare with the control strategy proposed below in this paper, a conventional method based on the design of steering laws is briefly discussed here in advance.
The array of CMGs usually responds to the demanded torques through certain steering laws. Define the matrix L as L=[D0 D1]. Then, a steering law for the array of VSCMGs introduced in Ref. [9] is adopted here,
![]() |
(17) |
where
![]() |
In fact, the minimum solution for
Different from the conventional method mentioned above, the first-order derivative of gimbal rates and the second-order derivative of rotor spinning velocity can be adopted directly as input variables, and the singularity problem will not be present anymore. Finally, the attitude maneuver control law for the spacecraft can be obtained based on the NMPC method[24-30].
Based on the strategy above, Eq. (4) can be rewritten to obtain the state equations of system as follows:
![]() |
(18) |
It is worth noting that though the dynamics of the spacecraft has been added in Eq. (18), the output torques produced by the array of CMGs are not treated as input vectors of the system here. Otherwise, the coupling interaction between the array of CMGs and spacecraft will be ignored, and the actual torques will not be equal to the demanded torques precisely under the circumstance of singularity. Through taking
To ensure the consistency between the model and the real system, the state constraints and input constraints of the system must be taken into consideration. The initial conditions and constraints are mentioned below.
The initial conditions of state variables are
![]() |
The terminal constraints of output variables are
![]() |
The input constraints caused by the limit of actuators are
![]() |
where i=1, 2.
In fact, Eq. (18) can be generalized as the form below
![]() |
(19) |
where
The idea of NMPC is exploited in this work for controller design, with the purpose of realizing the process of attitude maneuver fast and accurately. At each sampling instant, the NMPC scheme requires to solve an open-loop optimal control problem using the current system state as the initial value[24-30]. The optimal control problem at the kth sampling instant is formulated as
![]() |
(20) |
where P, M, R, and S are the weighting matrices of appropriate dimension, T is the length of the predictive horizon, x0 is the measurement of the system state at the sampling instant, u(t) and v(t) stand for control input vectors, rc and rf denote the path and terminal constraints, respectively, and x(t) and x(t)ref are the state at the time instant t and its reference value, respectively. The integrant in the cost function J is taken to be the sum of the squares of the control inputs and the state errors with respect to the reference values, with the purpose of minimizing tracking errors and control efforts. Besides, the cost function also includes a terminal term to penalize the state errors at the ending time.
For numerically solving the optimal control problem defined by Eq. (20), the multiple shooting method in Ref. [29] is used to transform and solve the continuous optimal control problem. Detailed information about the multiple shooting method can be found in Ref. [29]. Notably, the continuous-time differential equation, i.e., Eq. (19), is discretized using the following 4-stage explicit Runge Kutta (ERK) method such that
![]() |
(21) |
where the incremental step δs is equal to the sampling period. Thus, Eq. (19) can be reformulated as the following discrete form:
![]() |
(22) |
where
![]() |
(23) |
The state variables at the next time instant can be evaluated recursively with respect to the last time instant.
By choosing Np discrete points over the predictive horizon [tk, tk +T], the optimal control problem can be converted into the following nonlinear programming problem:
![]() |
(24) |
where Np is the total number of the time intervals of the predictive horizon, x0 is the measurement of the system state at the sampling instant, xk+i and xk+iref are the states at the time instant k+i and its reference value, and uk+i and vk+i stand for control input vectors, respectively. The integral part of the objective function J in Eq. (20) is approximated as the sum of the discrete values of the integrand at the nodes for i=0, 1, …, Np. In the NMPC scheme, the predictive horizon keeps moving forward during the process of online control by increasing k by 1 at the end of each sampling interval. The generalized Gauss Newton method is used for solving the NLP problem described by Eq. (23). No fundamentals of this algorithm is discussed here, since it has been widely discussed and well developed[29].
4 Simulation casesCite a small agile spacecraft as an example. Its inertial matrix is presented as[30]
![]() |
The initial values of angular velocity, the initial quaternion, and the desired quaternion are provided as follows:
![]() |
The parameters and the physical constraints are shown below,
![]() |
where i=1, 2.
Disturbances are chosen as
![]() |
The weight matrices introduced in Eq. (20) are given as follows:
![]() |
where IN denotes an N× N identity matrix, and 0m× n denotes an m× n matrix whose elements are all zero.
The numerical simulation is performed for a period of 40 s. The control horizon is taken as 4 s, and 10 intervals are used for discretization over the control horizon. The simulation results are summarized in Figs. 2-11.
![]() |
Fig. 2 Time histories of attitude quaternions |
|
![]() |
Fig. 3 Time histories of angular velocity |
|
![]() |
Fig. 4 Time histories of gimbal angles of VSCMGs |
|
![]() |
Fig. 5 Time histories of gimbal rates of VSCMGs |
|
![]() |
Fig. 6 Time histories of rotor spinning rates of VSCMGs |
|
![]() |
Fig. 7 Time histories of rotor spinning accelerations of VSCMGs |
|
![]() |
Fig. 8 Time histories of control inputs ![]() ![]() |
|
![]() |
Fig. 9 Time histories of control inputs ![]() ![]() |
|
![]() |
Fig. 10 Total angular momentum of array of VSCMGs |
|
![]() |
Fig. 11 Output torques produced by array of VSCMGs |
|
Figures 2 and 3 show the time responses of the attitude and angular velocity under the controller based on the NMPC. The spacecraft is stabilized to the desired attitude within 40 s. The magnitudes of angular velocity are smaller than 0.4 rad/s during the total process of maneuver.
Figures 4-7 show that, VSCMGs can adjust gimbal angles and rotor spinning rates along with system input variables and produce output torques, to make the spacecraft achieve the desired attitude and angular velocity. The gimbal rates
Figures 8 and 9 show input variables
Figures 10 and 11 show the total angular momentum and output torques produced by VSCMGs during the spacecraft maneuver. The magnitudes of output torques are kept within the range of 12 N·m. Since the spacecraft and the array of VSCMGs are treated as a whole system, there is no error between output torques of the array of VSCMGs and the demanded torques. After 20 s, the total angular momentum keeps constant, while output torques converge to zero.
To compare with the simulation results obtained by using the proposed strategy, the results of the conventional control strategy are illustrated next in Figs. 12-16. As shown in Figs. 13-16, the RW mode is employed, while the gimbal angles of VSCMGs remain constant. Figures 12-16 illustrate that the whole process of the attitude maneuver based on the conventional steering law can be accomplished within 30 s, a little shorter than that based on the proposed strategy. However, the magnitudes of demanded control torques and state variables such as
![]() |
Fig. 12 Demanded control torques based on steering laws |
|
![]() |
Fig. 13 Gimbal angles of VSCMGs based on steering laws |
|
![]() |
Fig. 14 Gimbal rates of VSCMGs based on steering laws |
|
![]() |
Fig. 15 Rotor spinning rates of VSCMGs based on steering laws |
|
![]() |
Fig. 16 Rotor spinning accelerations of VSCMGs based on steering laws |
|
This paper focuses on the problem of attitude control regarding the rigid spacecraft where the VSCMGs are used as actuators. Firstly, a mathematical model is built by treating the spacecraft and the array of VSCMGs as an entire system and taking the coupling interaction between the spacecraft and VSCMGs into account. Then, the first-order derivative of gimbal rates and the second-order derivative of rotor spinning velocity are treated directly as input variables. Consequently, the explicit treatment of the singularity of CMGs becomes not necessary any more. With the existence of disturbances, the attitude maneuver controller for the spacecraft is designed based on the NMPC method. Compared with the conventional method based on the steering law, simulation results of the proposed strategy demonstrate that, the spacecraft can achieve the desired attitude and angular velocity under the physical restrictions within 40 s smoothly, keeping in view the high precision and stability of orientation. Meanwhile, the system input variables prepared by the controller always satisfy the physical restrictions.
[1] | Guo, Y.N., Li, C.J., Zhang, Y.H., and Ma, G.F. Spacecraft attitude maneuver using control moment gyroscope with gimbal angle constraints. Acta Aeronautica et Astronautica Sinica, 32(7), 1231-1239 (2011) |
[2] | Hu, Q., Jia, Y.H., and Xu, S.J. Dynamics and vibration suppression of space structures with control moment gyroscopes. Acta Astronautica, 96(4), 232-245 (2014) |
[3] | Cheng, G. D. Research on Attitude Maneuver Control of Agile Satellites Using Control Moment Gyroscope (in Chinese), M. Sc. dissertation, Harbin Institute of Technology, 60-88(2014) |
[4] | Wei, D.Z., Li, G., Fu, R., Wu, D.Y., and Zhang, J.Y. Design of SGCMG and long life rotor bearing system technology in Tiangong-1(in Chinese). Science in China (Series E:Technological Sciences), 44(3), 261-268 (2014) |
[5] | Zhang, J.R. Steering laws analysis of SGCMGs based on singular value decomposition theory. Applied Mathematics and Mechanics (English Edition), 29(8), 1013-1021 (2008) doi:10.1007/s10483-008-0805-2 |
[6] | Wie, B. Singularity analysis and visualization for single-gimbal control moment gyro systems. Journal of Guidance, Control, and Dynamics, 27(2), 271-282 (2004) doi:10.2514/1.9167 |
[7] | Zhang, J.W., Ma, K.M., and Meng, G.Z. Modeling of spacecraft attitude systems with single gimbal control moment gyros and controllability analysis (in Chinese). Systems Engineering and Electronics, 34(4), 761-766 (2012) |
[8] | Ford, K.A. and Hall, C.D. Flexible spacecraft reorientations using gimbaled momentum wheels. Advances in the Astronautical Sciences, 97(3), 1895-1914 (1998) |
[9] | Schaub, H., Vadali, S.R., and Junkins, J.L. Feedback control law for variable speed control moment gyros. Journal of the Astronautical Sciences, 46(3), 307-328 (1998) |
[10] | Schaub, H. and Junkins, J.L. Singularity avoidance using null motion and variable-speed control moment gyros. Journal of Guidance, Control, and Dynamics, 23(1), 11-16 (2000) doi:10.2514/2.4514 |
[11] | Cui, P.L. and He, J.X. Steering law for two parallel variable-speed double-gimbal control moment gyros. Journal of Guidance, Control, and Dynamics, 37(1), 350-359 (2013) |
[12] | Kanzawa, T., Haruki, M., and Yamanaka, K. Steering law of control moment gyroscopes for agile attitude maneuvers. Journal of Guidance, Control, and Dynamics, 39(4), 952-962 (2016) doi:10.2514/1.G001261 |
[13] | Bhat, S.P. and Tiwari, P.K. Controllability of spacecraft attitude using control moment gyroscopes. IEEE Transactions on Automatic Control, 54(3), 585-590 (2009) doi:10.1109/TAC.2008.2008324 |
[14] | Zhang, J.W., Ma, K.M., Meng, G.Z., and Tian, S. Spacecraft maneuvers via singularityavoidance of control moment gyros based on dual-mode model predictive control. IEEE Transactions on Aerospace and Electronic Systems, 51(4), 2546-2559 (2015) doi:10.1109/TAES.2015.130715 |
[15] | Gui, H.C., Jin, L., and Xu, S.J. Maneuver planning of a rigid spacecraft with two skew control moment gyros. Acta Astronautica, 104(1), 293-303 (2014) doi:10.1016/j.actaastro.2014.08.010 |
[16] | Crouch, P. Spacecraft attitude control and stabilization:applications of geometric control theory to rigid body models. IEEE Transactions on Automatic Control, 29(4), 321-331 (1984) doi:10.1109/TAC.1984.1103519 |
[17] | Hu, B. and Ge, X.S. Nonlinear control of attitude stabilization of an underactuated spacecraft (in Chinese). Journal of Beijing Institute of Machinery, 24(1), 12-16 (2009) |
[18] | Yang, H. and Wu, Z. Attitude controller design of underactuated spacecraft with two control moment gyroscopes (in Chinese). Proceedings of the 6th World Congress on Intelligent Control and Automation, IEEE, Dalian, 939-943 (2006) |
[19] | Chen, L.Q. and Xue, Y. Theoretical Mechanics (in Chinese), 2nd ed , Tsinghua University Press, Beijing, 360-389 (2014) |
[20] | Cui, W. Q. Research on Attitude Maneuver of Agile Satellites Using SGCMGs (in Chinese), M. Sc. dissertation, Harbin Institute of Technology, 60-89(2010) |
[21] | Di Gennaro, S. Passive attitude control of flexible spacecraft from quaternion measurements. Journal of Optimization Theory and Application, 116(1), 41-60 (2003) doi:10.1023/A:1022106118182 |
[22] | Wen, H., Chen, T., Jin, D.P., and Hu, H.Y. Passivity-based control with collision avoidance for a hub-beam spacecraft. Advances in Space Research, 59(1), 425-433 (2017) doi:10.1016/j.asr.2016.09.013 |
[23] | Hu, Q. and Zhang, J.R. Attitude control and vibration suppression for flexible spacecraft using control moment gyroscopes. Journal of Aerospace Engineering, 29(1), 15-27 (2015) |
[24] | Wen, H., Zhu, Z.H., Jin, D.P., and Hu, H.Y. Model predictive control with output feedback for a deorbiting electrodynamic tether system. Journal of Guidance, Control, and Dynamics, 39(10), 2455-2460 (2016) doi:10.2514/1.G000535 |
[25] | Peng, H.J. and Jiang, X. Nonlinear receding horizon guidance for spacecraft formation reconfiguration on libration point orbits using a symplectic numerical method. ISA Transactions, 60, 38-52 (2016) doi:10.1016/j.isatra.2015.10.015 |
[26] | Li, M.W. and Peng, H.J. Solutions of nonlinear constrained optimal control problems using quasilinearization and variational pseudospectral methods. ISA Transactions, 62, 177-192 (2016) doi:10.1016/j.isatra.2016.02.007 |
[27] | Wen, H., Zhu, Z.H., Jin, D.P., and Hu, H.Y. Tension control of space tether via online quasilinearization iterations. Advances in Space Research, 57(3), 754-763 (2016) doi:10.1016/j.asr.2015.11.037 |
[28] | Li, P., Zhu, Z.H., and Meguid, S.A. State dependent model predictive control for orbital rendezvous using pulse-width pulse-frequency modulated thrusters. Advances in Space Research, 58(1), 64-73 (2016) doi:10.1016/j.asr.2016.04.022 |
[29] | Quirynen, R., Vukov, M., Zanon, M., and Diehl, M. Autogenerating microsecond solvers for nonlinear MPC:a tutorial using ACADO integrators. Optimal Control Applications and Methods, 36(5), 685-704 (2015) doi:10.1002/oca.v36.5 |
[30] | Fan, G.W., Chang, L., Dai, L., Xu, K., and Yang, X.B. Nonlinear model predictive control of agile satellite attitude maneuver (in Chinese). Optics and Precision Engineering, 23(8), 2318-2327 (2015) doi:10.3788/OPE. |