Abstract

Double-gimbal control moment gyros can implement the satellite attitude maneuver efficiently. In order to reduce the energy consumption of double-gimbal control moment gyros and avoid the singularity state, an attitude maneuver path planning method is proposed by using the improved Fourier basis algorithm. Considering that the choice of the Fourier coefficients is important for the Fourier basis algorithm to converge quickly, a choosing method of the initial Fourier coefficients which can reduce the computational time of the path planning algorithm notably is proposed. Moreover, an attitude-tracking feedback controller based on the Fourier basis path planning algorithm is designed to acquire robustness. Simulation results show that the proposed path planning algorithm can implement attitude maneuver path planning in shortened time. Meanwhile, the feasibility of the attitude-tracking feedback controller which is based on the above path planning algorithm is verified in terms of the low energy consumption, high attitude-tracking precision, and the safe use of double-gimbal control moment gyros.

1. Introduction

High-resolution earth observation demands the satellite to have the ability of rapid attitude maneuver. Therefore, control moment gyros (CMGs) which can output large and precise torque are ideal attitude control actuator for the agile maneuver satellite. The main problem of using CMGs is the existence of singularity state, at which CMGs cannot produce torque in a certain direction. According to the gimbal numbers, CMGs can be divided into two classes, including single-gimbal CMGs (SGCMGs) and double-gimbal CMGs (DGCMGs). The singularity avoidance steering law is very important for SGCMGs to fulfill the requirement of the rapid attitude maneuver. Compared with SGCMG, DGCMG has more than one degree of freedom, and its angular momentum envelop is nearly spherical. Therefore, it is believed that DGCMGs can implement the rapid attitude maneuver with high efficiency.

Existing attitude control logics with CMGs are composed of attitude control laws and CMG steering laws [1, 2]. According to attitude tracking errors, the desired attitude control torque is computed by the attitude control laws. The objective of the CMG steering laws is to avoid singularity states. A large-angle attitude maneuver control law based on nonlinear methods is proposed in [1], and a singularity robustness plus null motion steering law is designed to ensure DGCMGs against singularity. References [3, 4] investigate on the singularity avoidance steering law specially. A modified singular-direction avoidance steering law of SGCMGs is introduced in [3]. Kennel presents the vector distribution steering law for parallel-mounted DGCMGs in [4], which makes use of redundant degrees of freedom of DGCMGs.

However, when the CMG steering law is separated from the attitude control law, CMG singularity problem and energy consumption cannot be considered in the computing process of attitude control torque. In addition, there exist singularity states which cannot be avoided by CMG steering laws. To deal with the above problems, the attitude control and CMG steering law should be integrated together as a whole control system.

An effective method of integrating the attitude control law and CMG steering law together is to plan the attitude maneuver path according to the satellite maneuver characteristic. Recent path planning algorithms mainly include Legendre pseudospectral algorithm [5, 6], generic algorithm (GA) [7, 8], and Fourier basis algorithm (FBA) [9, 10]. By using an integral cost function consisting of energy consumption and time cost index, [5] applies the Legendre pseudospectral algorithm to the optimal path planning. Reference [6] reviews key theoretical results of the pseudospectral optimal method which are important for successful flights. An energy optimal attitude maneuver path is planned by using the improved GA [7].

The Legendre pseudospectral algorithm and generic algorithm have many optimal parameters, thus resulting in complex computation. Moreover, the two algorithms generate time-discrete control inputs, which need to be approximated by continuous functions after the path planning. The rapid attitude maneuver control systems of agile satellites are real-time systems. Therefore, the Legendre pseudospectral algorithm and generic algorithm are not very suitable for the rapid attitude maneuver control. Regarding the gimbal rates of SGCMGs as control inputs, [9, 10] proposes a continuous optimal path planning method based on the FBA. The idea of FBA is to approximate control inputs by applying a Fourier series. The path planning method based on FBA is advantageous in terms of the computational time, and the path planning results are continuous. However, the Fourier coefficient vector is initialized by some random process in [9, 10], and the algorithm cannot converge rapidly. The choosing method of the initial Fourier coefficient has not been introduced yet. Moreover, there exists no Fourier basis path planning method which is proposed to investigate the attitude control of agile maneuver satellite with DGCMGs. Besides, since the disturbances and attitude tracking errors have not been considered in the path planning, the attitude tracking controller which can achieve the system robustness needs to be improved [5, 9].

This paper fills the above gap in the existing literature. The path planning and attitude control law of the agile maneuver satellite with DGCMGs are integrated together. The energy consumption and terminal state errors of double-gimbal control moment gyroscopes are considered at the same time. An improved FBA is proposed for the attitude maneuver path planning for agile maneuver satellite with DGCMGs. In order to shorten the computational time of the path planning, a choosing method of the initial Fourier coefficient is introduced. Meanwhile, the attitude tracking feedback controller based on the path planning method is proposed by applying a sliding mode controller. Simulations are carried out to verify the availability of the introduced path planning method and the corresponding attitude tracking controller.

2. Model of the Satellite Attitude Control System

As shown in Figure 1, the two parallel-mounted DGCMGs are used as the attitude control actuators. , and are unit vectors aligned along the axes of the satellite body frame coordinate. The orthonormal set of unit vectors is used to describe the orientation of the th DGCMG relative to the spacecraft body frame, where is fixed along the inner gimbal axis, is fixed along the outer gimbal axis, and is fixed along the wheel spin axis. and denote the inner gimbal angle and outer gimbal angle of the th DGCMG, respectively. and represent the inner gimbal rate and outer gimbal rate of the th DGCMG, respectively. Assuming that denote the wheel angular momentum of the DGCMG, the total angular momentum of two parallel-mounted DGCMGs expressed in the satellite body frame coordinate can be written as

The output torque of DGCMGs can be obtained by using the time derivative of as follows:where denotes the gimbal angle vector of two parallel-mounted DGCMGs and is the time derivative of with respect to the satellite body frame. is a matrix, which can describe the three-dimensional control authority of DGCMGs. As the singularity index approaches zero, DGCMGs will encounter singularity.

Considering the angular momentum of each component in the satellite attitude control system, the total angular momentum is where represents the satellite moment of inertia and represents the attitude angular velocity. Supposing that the satellite body is rigid, the dynamic equation is where is the time derivative of with respect to the satellite body frame and is the disturbance toque. According to (2) and (3), (4) can be rewritten as

Aiming at describing the large-angle attitude maneuver, the quaternion kinematics equation yields where is unit quaternion. and are scalar and vector components of . , and denote elements of expressed in the satellite body frame coordinate. is a matrix associated with the attitude angular velocity.

Selecting as the state variable, the attitude control model of the satellite equipped with DGCMGs can be described as where the control input vector is the DGCMG gimbal rate vector . The boundary conditions of (7) are where is the desired attitude maneuver time. is the initial state variable vector. is the desired state variable vector.

3. Path Planning Method Based on the Improved Fourier Basis Algorithm

3.1. Introduction of the Improved Fourier Basis Algorithm

The path planning method based on the improved FBA adopts a Fourier series to approximate the control inputs. The searching methods, such as gradient descent method and Newton method, are applied to search for the near optimal Fourier coefficients, which make the cost function of the attitude path planning converge to its minimal value. In order to achieve the safe use of DGCMGs, the path planning objective is to obtain the smooth attitude maneuver path which keeps the maximal gimbal rate low, avoiding vibrating motions. Therefore, the energy consumption of DGCMGs should be low enough to meet the requirement of the path planning objective. By considering the terminal state errors and the energy consumption of DGCMGs, the cost function of the attitude maneuver path planning yields where is a weighting matrix, which should be large enough to reduce the terminal state errors. The first term in the cost function is the energy cost of control inputs, and the second term depends on terminal state errors. If the control inputs are expressed by an orthonormal basis for , the search for control inputs can be converted into solving for optimal parameters of the expression. By choosing a Fourier basis to describe the control input vector and restricting control inputs to the first three terms of the Fourier basis, the following can be obtained: wherewhere denotes the Fourier base term matrix, denotes the Fourier coefficient vector, is a identity matrix, and is the basic frequency of the Fourier basis approximation. Inserting (12) into (11), the cost function of the path planning comes to depend on the Fourier coefficients as follows:

In this way, the problem of the path planning based on FBA is equivalent to a nonlinear search problem for the near optimal coefficients that makes the cost function approach its minimal value.

3.2. Choosing Method of the Initial Fourier Coefficients

The choice of the initial Fourier coefficients is very important to make the path planning method based on improved FBA converge rapidly, which can improve the convergence speed of the algorithm. The initial Fourier coefficients are computed by the initial path of DGCMG gimbal rates. Moreover, as can be seen in (7), gimbal rates can be generated by the quaternion. Therefore, the choice of the initial Fourier coefficients can start with the determination of initial quaternion paths. is used to denote the initial quaternion path, where and are the vector components of the initial quaternion and the target quaternion, respectively. represents the vector components of the intermediate nodes of the quaternion path. The path length is calculated by the simulation time and simulation step . According to (6), can be computed by the initial quaternion and initial attitude angular velocity . To meet the requirement of satellite attitude agile maneuver, intermediate nodes in the initial quaternion path are produced based on the sigmoid function: where is an appropriate constant. and can be computed as follows: where and is a constant larger than .

When the quaternion path is obtained, the attitude angular velocity can be achieved by the time derivative of quaternion. Furthermore, DGCMG gimbal rates can be calculated by the attitude angular velocity according to (5). Finally, the Fourier series shown in (13) is applied to approximating the evaluating gimbal rates, thus generating the initial Fourier coefficient vector.

3.3. Search Method for the Fourier Basis Algorithm

The Newton method based on the first and second partial derivatives of the cost function can improve the convergence property of the path planning algorithm. However, it is difficult to compute the second partial derivative of the cost function, and the above choosing method of the initial Fourier coefficient vector has improved the convergence speed already. Therefore, the gradient descent method which only based on the first partial derivative of the cost function is applied to searching for the near optimal Fourier coefficient vector. The computation of the first-order derivative of the cost function at the searching point is shown as follows: where is a positive constant and is described by

has no simple mathematic expression, and it can be numerically evaluated by integrating its time derivative from to . and are given as where is the partial derivative of gimbal rates with respect to the Fourier coefficient vector. Its time derivative and initial value are

By applying the gradient descent method, the Fourier coefficient variation about the searching point is given by

Thus, the updating equation of the Fourier coefficient vector can be obtained:

The updating operation of the Fourier coefficient vector should be continued, until the near optimal solution of the path planning satisfies the requirement of DGCMG energy consumption and terminal state accuracy at the same time. Results of the proposed path planning method are composed of the varying path of the DGCMG gimbal rates, quaternion, and attitude angular velocity.

4. Attitude Tracking Feedback Controller Based on the Improved Path Planning

4.1. Model of Attitude Tracking Error

The error quaternion can be computed by the desired quaternion and the current quaternion as follows: where and have the constraint equation: . Assuming that is the desired attitude angular velocity, then the error of the attitude angular velocity is defined as where , is the cross matrix of , and denotes identity matrix.

By inserting (24) into (5), the following can be obtained: where .

According to the quaternion kinematics (6), the kinematics equation based on error quaternion can be written as where .

4.2. Design of the Attitude Tracking Controller Based on the Improved Path Planning

The path planning method can acquire the continuous path of DGCMG gimbal rates which are effective in smooth action. The feedforward controller using the planning path of gimbal rates directly can track the desired quaternion path accurately without considering the disturbances. However, there always exist several disturbances, and the feedforward controller cannot maintain precise attitude control. In order to acquire the robustness against disturbances, the attitude tracking feedback controller is introduced based on the attitude maneuver path planned by the improved FBA. Since sliding mode controller has strong robustness and favorable dynamic response performance, the sliding mode controller is applied to the design of attitude tracking feedback controller. Moreover, the planning paths of the quaternion and attitude angular velocity are regarded as the tracking paths of the attitude maneuver. The objective of the feedback controller design is to compensate for the attitude tracking error by adding to , where represents the planning gimbal rate of the proposed path planning method and is the added control input vector which can eliminate errors. The block diagram of the attitude tracking feedback controller is illustrated by Figure 2.

The sliding surface is chosen as where is a positive diagonal matrix, is the error between the real angular velocity and the planning angular velocity, and is the vector component of error quaternion.

In order to verify the stability of the sliding mode , the Lyapunov function is selected as follows:

It is obvious that is positive, and its time derivative is

Inserting into (29), the following can be obtained: Since is a positive matrix, there exists , thus guaranteeing the stability of the sliding mode. The time derivative of is where is the total control input vector.

In order to generate a proper control law, another Lyapunov function is chosen as

The time derivative of can be written as

Let

Then (33) can be rewritten as where and are both positive diagonal matrices. It is obvious that , and the sliding surface can be reachable with the control law.

The saturation function is defined as where is a small positive constant. Aiming at avoiding the vibrating motions, the sign function in (34) is substituted by the saturation function as follows:

Then the added control input vector can be calculated by

As can be seen from (37) and (38), the added control input vector is associated with the attitude tracking errors, thus enabling it to compensate for the existing errors. It is confirmed that the added control inputs can improve the accuracy of the attitude control system.

5. Simulations and Discussions

Simulations for the path planning method based on improved FBA and the associated attitude tracking feedback controller are performed by using two parallel-mounted DGCMGs. The satellite moment of inertia is

Related parameters of the satellite and DGCMGs are shown as follows: the desired attitude maneuver time , the simulation step , the initial quaternion , the desired quaternion , the initial attitude angular velocity , the desired attitude angular velocity , the wheel angular momentum of DGCMGs , the initial gimbal angle vector , and the maximal gimbal rate is 10 deg/s.

5.1. Path Planning Results Based on the Improved FBA

Path planning results based on the improved FBA are compared with that in [7]. During the comparison, the related parameters of the satellite and DGCMGs are all the same. Parameters of the initial Fourier coefficient choosing method are , . Parameters of searching method are , . The stop condition of the Fourier coefficient update is , . The DGCMG energy consumption in the path planning method is calculated by the following equation:

Figures 37 show the attitude maneuver path planning results based on the path planning method in [7] and that proposed in this paper. Figure 3 illustrates the varying path of the quaternion. Figure 4 illustrates the varying path of the attitude angular velocity. As can be seen from Figure 4, the attitude angular velocity of the both methods can converge to the desired value in the given maneuver time. Figure 4 illustrates the varying path of the attitude angular velocity.

Figure 5 gives the planning result of the DGCMG gimbal rates. As shown in Figure 5(a), DGCMG gimbal rates of the path planning method in [7] nearly reach the limit of 10 deg/s. In contrast, the proposed improved path planning method can keep DGCMG gimbal rates under 8.2 deg/s; thus, the safe use of DGCMGs is maintained, as shown in Figure 5(b). Furthermore, the initial gimbal rates of the path planning method in [7] reach 8.2 deg/s. However, the initial gimbal rates of the proposed improved path planning are no more than 0.8 deg/s. Since the tracking speed of the gimbal rate controller is limited, vibration cannot be avoided when the initial gimbal rates are large. The DGCMG gimbal angles are shown in Figure 6. All of the gimbal angles vary smoothly.

Figure 7 describes the singularity index of the two path planning methods. The minimal value of the singularity index in Figure 7(b) is larger than that in Figure 7(a). It indicates that the proposed method can plan effective paths which prevent DGCMGs from encountering singularity states. The computational time of the path planning method in [7] is about 30.4 s. In contrast, the proposed method based on FBA can implement the path planning within 3.2 s, and its computational time is 90% shorter than that of the method in [7]. Moreover, the DGCMG energy consumption of the proposed method is 0.0805, which is 20% lower than that of the method in [7]. In a word, the proposed path planning method based on FBA is more effective than the method in [7] in the aspect of the computational time and DGCMG energy consumption.

5.2. Attitude Tracking Feedback Controller Based on the Improved FBA

Simulations for the attitude tracking controllers are carried out in this section. Results of the feedback controller have been compared with that of the feedforward controller which uses the path planning directly. Because the simulation time is much shorter than the varying period of the environmental disturbance, the disturbance torque vector is regarded as constant: Nm. Parameters of the attitude tracking feedback controller are chosen as , , and , .

Figures 811 give the simulation results of the feedforward and feedback controllers. Figure 8 illustrates the attitude quaternion trajectory. Figure 9 illustrates the attitude angular velocity trajectory. Figure 9(a) shows that the attitude angular velocity of the feedforward controller is still larger than rad/s at the terminal time, and the attitude maneuver has not been finished in the desired maneuver. On the other hand, the attitude angular velocity in Figure 9(b) is within rad/s at the terminal time; thus, the feedback controller implements the attitude maneuver task.

Figure 10 illustrates the DGCMG gimbal rates. As can be seen in Figure 10, the safe use of DGCMGs can be guaranteed by both the feedforward and feedback attitude tracking controllers. Because the feedforward controller makes use of the planning results directly, the gimbal rate trajectory in Figure 10(a) is the same as the planning path of gimbal rates. As shown in Figure 10(b), the DGCMG energy consumption increases owing to the feedback compensation. It is suggested that the robustness of the control system is obtained at the cost of increasing DGCMG energy consumption. Figure 11 illustrates gimbal angles of DGCMGs. The trajectories of gimbal angles vary smoothly during the whole maneuver time.

6. Conclusions

Considering the energy consumption and terminal state errors of double-gimbal control moment gyroscopes at the same time, the path planning method based on an improved FBA is proposed for planning a near optimal path with low energy consumption and smoothly varying DGCMG gimbal rates. The feedforward control using the above path can prevent the DGCMGs from encountering the singularity, and the rapid actuation of DGCMGs is guaranteed. In order to improve the search efficiency of the Fourier coefficients and reduce the computational time of the path planning, a choosing method of the Fourier coefficients is put forward according to the satellite maneuver characteristic. Owing to the fact that the feedforward control cannot acquire the robustness, a feedback controller based on the path planning is introduced. The forward control inputs of the feedback controller are the planning gimbal rates, and the slide mode control method is used to compute the feedback control inputs. Thus, the accuracy of attitude control system is improved notably. Finally, the effectiveness of the proposed path planning method and attitude tracking feedback controller is validated by simulations. Comparing with the path planning method in [7], the proposed path planning method is advantageous in terms of the initial gimbal rates, maximal gimbal rates, and energy consumption of DGCMGs. Moreover, the computational time of path planning is much shorter than that of [7] and thus is benefiting to the satellite attitude agile maneuver.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

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, and National Civil Aerospace Preresearch Project.