Abstract

In view of the issue of rapid attitude maneuver control of agile satellite, this paper presents an attitude-tracking control algorithm with path planning based on the improved genetic algorithm, adaptive backstepping control as well as sliding mode control. The satellite applies double gimbal control moment gyro as actuator and is subjected to the external disturbance and uncertain inertia properties. Firstly, considering the comprehensive mathematical model of the agile satellite and the double gimbal control moment gyro, an improved genetic algorithm is proposed to solve the attitude path-planning problem. The goal is to find an energy optimal path which satisfies certain maneuverability under the constraints of the input saturation, actuator saturation, slew rate limit and singularity measurement limit. Then, the adaptive backstepping control and sliding mode control are adopted in the design of the attitude-tracking controller to track accurately the desired path comprised of the satellite attitude quaternion and velocity. Finally, simulation results indicate the robustness and good tracking performance of the derived controller as well as its ability to avert the singularity of double gimbal control moment gyro.

1. Introduction

Rapid attitude maneuver control as one of the key technologies of agile satellite, has been extensively studied. Because of the superior properties such as large output torque and momentum storage, control moment gyro (CMG) is the ideal actuator for the rapid attitude maneuver control of agile satellite [1]. Compared with single gimbal CMG (SGCMG), double gimbal CMG (DGCMG) has many advantages, including the output control torque with two degrees of freedom, nearly spherical angular momentum envelop, good configuration efficiency, no striking singularity problem, low computation complexity of the steering law, and so on [2]. In the early 1970s, DGCMG has been successfully applied. For example, three orthogonally-mounted DGCMGs were used in the NASA’s Skylab [3]. And the International Station is controlled by four parallel-mounted DGCMGs [4].

Many researches on satellite attitude control using CMG as actuator has been presented abundantly in the past decades [58]. The existing control systems are usually separated into the attitude control law and the CMG steering law. When the control torque is calculated by the attitude control law, the geometric singularity problem of the CMG is not taken into account. As a result, the singularity problem cannot be considered from a global perspective. An effective singularity avoidance method is to use a tracking controller to track the planned attitude trajectories accurately. And the planned attitude trajectories are based on the comprehensive mathematic model of agile satellite and CMG in the whole maneuvering process [911]. The attitude path planning problem of the agile satellite using SGCMGs is converted to an optimal control problem in [10]. And the Legendre pseudospectral method is used to solve the optimal control problem so that the comprehensive optimal attitude path is obtained in the aspect of the time and energy. Finally, a sliding mode controller is designed to track accurately the desired path. A feedback control with nominal inputs for agile satellites using SGCMGs is proposed in [11]. The feedforward control law using an energy optimal path planned by Fourier basis algorithm is used to solve the singularity problem of the SGCMGs. Moreover, a feedback control system is also designed in order to acquire the robustness against errors and disturbances. However, the attitude paths obtained in [10, 11] are local optimal [12]. The Legendre pseudospectral method and the Fourier basis algorithm are fundamentally gradient methods. The gradient method is a local method in that a locally optimal solution will generally be obtained. Whereas, the heuristic method is a global technique. In recent years, a path planning problem is introduced to new heuristic techniques such as fuzzy logic [13], ant colony optimization [14, 15], neural network [16], simulated annealing [17], genetic algorithm (GA) [1821], and so on. Each method has its own strength over others in certain aspects. However, GA has attracted significant attention because of efficient use of large numbers of parallel processors, each of implementation for both continuous and discrete problems, no requirement for the continuity in response functions, and more robust solution generations to search for global or near global solutions.

Sliding mode control is widely applied in spacecraft attitude control for its strong robustness against disturbances and uncertainties when the system states are sliding on the sliding surface [22, 23]. However, these design methods require the information on the bounds of the uncertainties/disturbances for the computation of the controller gains. Nevertheless, it is difficult to know the bounds of the uncertainties/disturbances in practical situation. Unlike these methods, nonlinear adaptive control methods do not require these bounds. They include the adaptive mechanism for estimating the uncertainties/disturbances [24]. Therefore, a variety of adaptive controllers are developed [25, 26]. Meanwhile, the adaptive robust spacecraft controllers based on the combination of sliding mode control and adaptive control are also designed [27, 28]. However, the methods mentioned above do not explicitly investigate the effects of constant disturbance toques on the attitude control. More recently, the backstepping control method is proposed to address the attitude control problem [24, 29, 30], due to its remarkable capability in designing cascaded systems, and it is well established that the spacecraft systems just satisfy the cascaded structure. Furthermore, the added integrator with backstepping control can improve the robustness of the system against the constant disturbance torques. For drawbacks of the simple linear backstepping controller, such as sluggish motion and excessive control input, the arctangent nonlinear tracking function is adopted in [29, 30]. Combined with the existing results in the literature, there are four advantages which make the adaptive backstepping sliding mode control attractive. Firstly, the adaptive backstepping sliding mode controller can be implemented easily and systematically by incorporating the backstepping design processes. Secondly, the convergence of the attitude tracking error for possible initial conditions can be guaranteed by selecting the Lyapunov function. Thirdly, the bounds of the uncertainties/disturbances do not require to be known because the uncertainties/disturbances can be estimated by the adaptation mechanism. Finally, the system robustness against modeling uncertainties and external disturbances can be improved because of the added integrator with backstepping control, so that the accuracy of steady-state control can be enhanced.

This paper addresses the design of the closed-loop control system of the rapid attitude maneuver of agile satellite using DGCMGs. An improved GA is adopted to plan the energy optimal attitude trajectory based on the comprehensive model of agile satellite and DGCMGs. Moreover, the desired path planned by the improved GA must satisfy the variable constrained conditions, such as control input saturation, actuator saturation, slew rate limit, and singularity measurement limit. Then, an attitude tracking controller is proposed based on the sliding mode control method and adaptive backstepping control method using hyperbolic tangent function as a nonlinear tracking function. Finally, to realize the rapid attitude maneuver, the attitude tracking controller is applied to track accurately the desired path composed of the satellite attitude quaternion and velocity.

2. Dynamic Modeling of Rigid Agile Satellite Using DGCMGs

In this paper, the agile satellite has a DGCMG system that is an orthogonal configuration of two DGCMGs in Figure 1. This section describes the dynamic model of agile satellite and the output torque equation of DGCMGs. The objective of this section is to construct a numerical calculation model of the satellite attitude maneuver using DGCMGs.

2.1. Dynamic Modeling of Rigid Agile Satellite

The unit quaternion is adopted to describe the attitude of agile satellite to obtain the global representation without singularities. The unity quaternion is defined as . Where and are the scalar and vector components of the unit quaternion, respectively. Let denote the desired quaternion. The error quaternion is described as

Let and denote the satellite angular velocity and the desired one. is the skew-symmetric matrix of the vector . The skew-symmetric matrix of the vector is defined by

Then the error of angular velocity is given as where , represents the identity matrix.

The kinematic differential equations can be written as [31] where

The control torque of DGCMG is generated through changing the direction of the angular momentum. Let denote the total angular momentum of the DGCMGs, then the output torque of the DGCMGs can be represented as

According to the Euler equation, the error dynamic model can be expressed as [31] where where is the satellite inertia matrix, and and are the nominal and uncertain components of the inertia matrix. is the command torque, is the external disturbance torque, including the gravity gradient torque, aerodynamic torque, and torque of solar radiation. It is assumed that is an unknown bounded function. that results from and is the uncertain part in the dynamic equation, and it is also an unknown bounded function.

2.2. Output Torque Equation of DGCMGs

In order to realize the three-axis attitude control, an orthogonal configuration of two DGCMGs is adopted. The configuration diagram is given in Figure 1.

The vector set is the unit vector of the satellite body coordinate frame. , , and are orthogonal to each other. , , and are parallel to the outer gimbal axis, spin axis and inner gimbal axis of the th DGCMG, . and are the inner gimbal angle and outer gimbal angle of the th DGCMG. Let denote the angular momentum magnitude of the individual DGCMG. Then the angular momentum of the DGCMGs is a function depending on the gimbal angles . It is expressed as where , . According to the principle of angular momentum exchange, the time derivative of is equal and opposite to the output torque from the DGCMGs to the satellite body, and their relationship is where

An obstacle when using a CMG system in practice is the existence of singular gimbal angle states for which the CMGs cannot generate torque along arbitrary directions. The singularity measurement is given as [4]

This determinant is an indicator of how close the CMG cluster is to a singular point. Where is a positive scalar. When , DGCMGs are strapped into the singularity state. The distance from the singularity state is farther when is larger.

3. Attitude Tracking Control with Path-Planning

The whole attitude control system consists of the attitude path planning and the attitude tracking control, which applies DGCMGs as actuator. In the attitude path planning, an improved GA algorithm is adopted to find the energy optimal path without separating the whole control system into the attitude control law and the CMG steering law. Moreover, the desired path planned by GA satisfies certain maneuver ability and various physical constrains, including input saturation, actuator saturation, angular velocity limit and singularity measurement limit. In the attitude tracking control, to guarantee the system robustness to the external disturbance and uncertain inertia properties, an adaptive backstepping sliding mode controller is designed to track accurately the desired path comprised of the attitude quaternion and velocity instead of gimbal angular velocity of the DGCMGs. Using the attitude quaternion and velocity as reference trajectory will lead to the few deviation of gimbal angular velocity of the DGCMGs from the desired path in the practical maneuvering process. Consequently, the singularity of DGCMGs cannot be avoided completely. However, the robustness of the system will be enhanced. The whole control system block diagram is shown in Figure 2.

3.1. Reference Maneuver Path Planning Using GA

This section deals with the trajectory planning problem for agile satellite using DGCMGs as actuator. An improved GA using a floating representation is proposed to search for the energy optimal path. To overcome the premature convergence or get into local optimal problem of the classic GA, considering the characteristics of rapid attitude maneuver of the agile satellite, a heuristic method is utilized to produce the initial population. Then, in order to guarantee the DGCMGs away from the singularity state, a fitness function is defined based on the energy consumed by DGCMGs. Moreover, for purpose of making the command torque and the angular velocity of satellite smoothing, the smooth mutation operator for the angular velocity and the angular acceleration is presented.

(1) Individual Representation
Compared with the binary representation, the floating representation can be implemented easily, and computer memory is saved. Moreover, it is more suitable for solving multidimensional, high-precision numerical problem [18]. Therefore, the floating representation is used to encode attitude quaternion path. The chromosome structure is denoted as . Where and are the vector components of the initial attitude and target attitude, respectively. is the vector components of the attitude quaternion of the intermediate nodes. The path length is calculated according to the simulation time and the simulation step , .

(2) Population Initialization
In order to improve the searching efficiency, a heuristic method is adopted to produce the initial population. In this problem, the boundary conditions of the state variables are described as

To satisfy the boundary conditions, , , and are calculated based on the comprehensive mathematic model of the agile satellite using DGCMGs as actuator. In addition, is produced by the following rules:(1) To make the energy minimal, is monotone increasing or decreasing. So part of the initial population is generated as follows: (2) If the singular point is not taken into account, the connection between and is the shortest and the most smooth. Based on this idea, part of initial population is produced.(3) When the agile satellite realizes the fastest maneuver, the angular velocity of the agile satellite usually includes acceleration and deceleration that are similar to the function derivative curve. Therefore, part of the initial population is initialized as follows: where , . and are given as where , is an appropriate constant greater than .

(3) Fitness Function
A fitness function is designed based on the energy consumed by DGCMGs for ensuring the DGCMGs away from the singularity state. Usually, the energy consumption is estimated by the norm of control inputs. However, the energy consumption of DGCMGs cannot be estimated precisely because the satellite angular velocities cannot be ignored with respect to the DGCMGs gimbal angular velocities in the agile satellite. Therefore, the energy consumption of the DGCMGs required to run a given path is set up as follows: where is an output torque vector of the DGCMGs on the th point in the path . This evaluation term for the energy consumption is derived from an assumption of the proportional property between the output torque and the electrical energy consumption of the DGCMG gimbal [11].

Moreover, the trajectory planned by the improved GA must satisfy various physical constrained conditions, including the input saturation, gimbal angular velocity of DGCMGs limit, angular velocity of agile satellite limit, and singularity measurement limit. Then the evaluation function is adjusted to the following constrained conditions: where , , and denote the maximal command torque, the maximal gimbal angular velocities of the DGCMGs, the maximal angular velocity of satellite, and the minimal singularity measurement, respectively. To guarantee the system robustness, , , and are less than the actual maximal command , actual maximal gimbal angular velocities of DGCMGs , and the actual maximal angular velocity of satellite , respectively.

To satisfy these constrained conditions with keeping the energy consumption of the DGCMGs low, the evaluation function of this optimization is modified in the following form: where is the number of the unfeasible points in the path , and is an appropriate positive constant. Equation (3.7) represents that those paths with unfeasible nodes are heavily penalized with an extra energy cost.

(4) Next Generation Process
For purpose of making the command torque and the angular velocity of satellite smoothing, a smooth mutation operator for the angular velocity and angular acceleration is presented.

Selection. The individuals with the lowest energy cost (strongest) are chosen from the current population.

Crossover. New individuals (called offspring) are generated from the selected path by using a crossover operator. Therefore, a total of pairs are formed. The first two offspring of each pair are equal to their parents. The two other offspring are produced as the recombination of their parents. The recombination process between the two selected paths is defined as follows [18].

Supposing the selected two chromosomes are

Thus supposing the split position is at , the offspring is produced as follows: where . The greatest possible information exchange is obtained by choosing that is very important for the crossover operator. In this paper, is randomly selected. However, for different chromosomes, is different.

Mutation. To satisfy the boundary conditions described as (3.1), the mutation operation is performed on . When the path is feasible, a small percentage of feasible points is mutated at random and ensure that the path is still feasible. On the other hand, when the path is unfeasible, a large percentage of unfeasible points is mutated at random.

Moreover, due to the smooth requirement of the angular velocity and the command torque, the smooth mutation operator for the angular velocity and the angular acceleration is executed. If one point that is more or less than its adjacent points is found, this point is mutated between the two adjacent points.

Finally, to avoid that the strongest individual is destroyed, the excellent individual protection method is adopted. The best individual of each generation is directly inherited into the next generation, and not be mutated. This method will improve the convergence speed of the algorithm.

3.2. Attitude Tracking Controller Design

In the attitude path planning, various physical constrained conditions are considered and have a certain margin for the external disturbances and uncertainties. Therefore, these physical constrained conditions including the input limitation is not required to be considered in the attitude tracking controller design. In order to track accurately the desired path, and to overcome the external disturbance and the uncertain inertial properties, the attitude tracking controller is derived based on the sliding mode control method and the backstepping control method using hyperbolic tangent function as a nonlinear tracking function. Because it is difficult to know the uncertain inertial and the external disturbances in practical situation, it is necessary to assume that the uncertainties that result from the external disturbance and inertial properties is an unknown bounded function. Then, the adaptive control method is utilized to estimate the uncertainties that result from the external disturbance and inertial properties.

(1) Adaptive Backstepping Sliding Mode Controller Design Method
The attitude control system described by (2.4) and (2.7) has a cascaded structure. The error of the angular velocity vector can be thought of as a pseudoinput vector, while the command torque is a real control input vector that affects . Thus, the backstepping control method can be easily employed in the satellite attitude control system.

The first step in the backstepping control method is to find the control law for the subsystem described by (2.4). The state variable is defined by

Let us consider the following candidate Lyapunov function

Substituting (2.4) into the time derivative of (3.11) yields

In accordance with the discussion performed in [29], the simple linear tracking law is not effective for the satellite maneuver for the reason of sluggish motion, trivial nonlinear term cancellation, and excessive control input at the initial stage of the maneuver. To overcome these defects, an effective nonlinear tracking function is proposed. When it is adopted, the nonlinear tracking law is obtained:

Supporting the nonlinear function satisfies where . Only when , . Then is asymptotic stability.

After designing the tracking law, the real control input should be determined such that (3.13) is achieved. The state variable is selected as By choosing the following sliding surface where , then where is the Jacobian matrix of , is the total uncertain, and is expressed as

Because and are difficult to be known in practical situation, the uncertainties that result from and is an unknown bounded function. Consider the following candidate Lyapunov function for the overall system where is a positive constant. is the estimation of , is the estimation error of . Because the uncertain inertial momentum and external disturbance are changing gradually, .

The derivative of (3.19) is obtained

Letting

For the reason that is an unknown bounded function, an adaptive law is utilized to estimate it. And the adaptive law is selected as follows: Where , and are positive constants. Substituting (3.21) and (3.22) into (3.20) gives

Letting

Owing to Where . Then (3.23) can be rewritten as

Duing to

By choosing the values of , , and , it can be guaranteed that is a positive definite matrix. Simultaneously, can be guaranteed by choosing the nonlinear tracking function . Therefore, can be ensured by selecting the values of , , , , and the nonlinear tracking function .

(2) Nonlinear Tracking Function Selection
According to the design process of the adaptive backstepping sliding mode controller, to guarantee and , the nonlinear tracking function must satisfy

According to [29], the following condition can contribute to reduce the peak control torque where . The above condition prescribes that the nonlinear tracking function value does not produce a large value when . Meanwhile, if the following condition is imposed, the convergence speed can be increased when . where . Equation (3.30) requires that produce higher absolute value than the linear tracking function when is small. This condition contributes to the removal of sluggish motion. The following hyperbolic tangent function would be one of the candidate functions that satisfy (3.28)–(3.30) where . In this paper, (3.31) is chosen as the nonlinear tracking function because of its simplicity and smoothness. Moreover, it has fewer parameters than the arctangent function. Differentiating (3.31) with respect to time gives

To avoid the chattering of the control input, the sign function in (3.21) can be replaced by where is a small positive constant. Equation (3.21) can be rewritten as

From above, the adaptive backstepping sliding mode controller includes (3.22), (3.31), (3.32) and (3.34).

4. Numerical Simulation

This section presents the simulation results to illustrate the effectiveness of the attitude tracking control with path-planning.

In the simulation, the agile satellite is assumed to be a rigid body, and two DGCMGs are installed as illustrated in Figure 1. Consider the spacecraft model (2.4) and (2.7) with the nominal inertia matrix

The uncertainties of the inertia matrix is

The other parameters for satellite and DGCMGs are given in Table 1. The external disturbance is where ?rad/s. The parameters for attitude tracking controller are chosen as , , , , , and .

The simulation results are shown in Figures 3, 4, 5, 6, 7, and 8. The solid line denotes the desired path planned by the improved GA. The dotted line expresses the results of the practical numerical simulation. The planning time and the whole maneuvering time are ?s and ?s, respectively.

The solid line in Figures 38 indicates that the proposed GA is effective. The trajectory planned by the improved GA not only satisfies the desired maneuver ability, but also meets various physical constrains, such as input saturation, actuator saturation, angular velocity limit, and singularity measurement limit.

Figures 35 shows that the practical maneuvering curves of the state variables of the agile satellite are essentially consistent with the planning path. The results indicate good tracking performance of the derived controller.

The conventional controller without path planning will cause the actuator saturation at the initial time because the initial error is large in the rapid maneuvering process. However, the results in Figure 5 show that, the proposed control law not only keep the control torque away from the input restriction , but also guarantee its smoothness.

From the results in Figures 68, there is few deviation of state variables curve of DGCMGs in the practical maneuvering process from the desired path. These errors are caused by using the attitude quaternion and velocity as reference trajectory. However, Figure 8 indicates that the singularity measurement curve is smooth and always away from the singularity in the practical maneuvering process. It is carried out to verify the ability to avoid DGCMG singularity of the proposed control law.

5. Conclusion

Agile satellite requires large-angle and rapid attitude maneuver ability. CMGs are expected to be applied to attitude control actuators of agile satellite. However, in the existing satellite attitude control systems using CMGs, the singularity problem cannot be considered from a global perspective. To solve the problem, an attitude tracking control algorithm with path planning is provided. Firstly, an improved GA is proposed to plan an energy optimal attitude path. Moreover, the desired path planned by GA satisfies certain maneuverability and various physical constrains, including input saturation, actuator saturation, angular velocity limit and singularity measurement limit. Then an attitude tracking controller is designed based on the sliding mode control method and the backstepping control method using hyperbolic tangent function as the nonlinear tracking function. And the adaptive control method is utilized to estimate uncertainties that results from the external disturbance and the inertial properties. From the results of the numerical simulations, the robustness and good tracking performance of the derived controller as well as its ability to avoid DGCMG singularity are verified.

Acknowledgments

This research has been supported by National Natural Science Foundation of China under Grant 61121003, the National Basic Research Program (973 Program) of China under Grant 2009CB2400101C, National Civil Aerospace Preresearch Project.