Abstract

The robust optimal attitude control problem for a flexible spacecraft is considered. Two optimal sliding mode control laws that ensure the exponential convergence of the attitude control system are developed. Integral sliding mode control (ISMC) is applied to combine the first-order sliding mode with optimal control and is used to control quaternion-based spacecraft attitude manoeuvres with external disturbances and an uncertainty inertia matrix. For the optimal control part the state-dependent Riccati equation (SDRE) and optimal Lyapunov techniques are employed to solve the infinite-time nonlinear optimal control problem. The second method of Lyapunov is used to guarantee the stability of the attitude control system under the action of the proposed control laws. An example of multiaxial attitude manoeuvres is presented and simulation results are included to verify the usefulness of the developed controllers.

1. Introduction

In recent years considerable attention has been focused on the optimal control problems of a spacecraft. Various optimal control methods have been proposed for solving the attitude control problems of a rigid spacecraft. Nonlinear control was used in [1] to design a stabilizing feedback control for the spacecraft tracking problem. Sharma and Tewari [2] devised a Hamilton-Jacobi formulation for tracking attitude manoeuvres of spacecraft to derive a nonlinear optimal control law. An inverse optimal adaptive controller was applied to attitude tracking of spacecraft by Luo et al. [3]. An adaptive control and nonlinear control were merged to design robust optimal controllers. An alternative way to design a robust optimal controller is to use an optimal sliding mode controller design scheme. Sliding mode control (SMC) is a very effective approach when applied to a system with disturbances which satisfy the matched uncertainty condition. In recent decade, SMC has widely been extended to incorporate new techniques, such as adaptive sliding mode control, higher-order sliding mode control, and optimal sliding mode control. These techniques preserve the main advantages of SMC and also yield more accuracy and desired performances [4, 5]. Various real life applications have been controlled by practical implementations of these advanced SMC techniques. Adaptive sliding mode controllers were used to control manipulators [6, 7] and a hypersonic flight vehicle [8]. Second-order sliding mode controllers have been applied to electrical devices (container cranes [9], DC drives [10, 11]), practical mechanical systems [12], aircraft pitch control [13], and spacecraft attitude tracking control [14]. On the other hand, optimal sliding mode control has been rarely studied for practical applications since this method requires the knowledge of a stabilizing control law to solve a nonlinear optimal control problem. Optimal sliding mode control has been developed by Xu [15] by employing the ISMC concept [16] to combine the first-order sliding mode with optimal control. Unfortunately, the class of nonlinear systems studied in [15] is a special case of nonlinear systems and cannot be applied to more general highly nonlinear systems (e.g., spacecraft system). The Xu method [15] has further been extended to a more general class of nonlinear systems in [17]. Pukdeboon and Zinober [17] have developed robust optimal control laws for attitude tracking of a rigid spacecraft. However, the optimal sliding mode control of a flexible spacecraft has rarely been studied. An optimal sliding mode controller was developed in [18] for a linear stochastic system and applied to the middeck active control experiment (MACE) which represents the control structure interaction problem for a precision spacecraft. The integrated controller combining the optimal sliding mode and active vibration suppression control was presented in Hu and Ma [19]. For their control strategy, the technique of active vibration control using smart materials was used to actively suppress certain flexible modes by designing optimal positive position feedback (OPPF) compensators that add damping to the flexible structures in certain critical modes in the inner feedback loop.

In this paper the SDRE approach is used for nonlinear optimal controller designs, The SDRE approach was applied to optimal control and stabilization for nonlinear systems by Banks and Mhana [20]. The explicit control law has been studied for nonlinear system of the form . In [21] Cloutier et al. studied nonlinear regulation and nonlinear control via the SDRE approach. Some real-life applications have been successfully controlled by implementation of the SDRE technique. In [22, 23] the SDRE method was successfully applied to spacecraft attitude control for rest-to-rest manoeuvres. Zhang et al. [24] has applied the SDRE technique to propose optimal controllers for a flexible transporter system with arbitrarily varying lengths. On the other hand, a nonlinear optimal controller can be developed by using the optimality Hamilton-Jacobi-Bellman principle. This concept was used to design suboptimal control laws for the Euler-Lagrange systems in [25–27]. One approach to solve the equations obtained by the optimality Hamilton-Jacobi-Bellman principle is to use the optimal Lyapunov technique and its corresponding theorems. Based on Krasovskii's theorem and the optimal Lyapunov technique, many optimal controllers have been developed for attitude stabilization of a rigid body by El-Gohary and coresearchers [28–31].

The class of nonlinear systems studied in [15] was a special case of nonlinear systems whereas our design will work for a more general class of nonlinear systems. We have developed two controllers for application to spacecraft regulation manoeuvres. The first controller is an SDRE-based sliding mode (SM) controller. It uses the method in [15] and combines this with ISMC [16] and the SDRE approach [20]. Since spacecraft systems are highly nonlinear systems, the SDRE approach is rather difficult to apply for spacecraft systems. The basic concepts in [32] are used for applying the SDRE approach to the spacecraft system. For the second controller, the optimal Lyapunov technique [28–31] is applied to develop an optimal control law and the ISMC concept is used to merge the resulting optimal controller and first-order sliding control. The control law obtained could be called an optimal Lyapunov-based SM controller.

This paper is organized as follows. In Section 2 the dynamic equations of a fexible spacecraft and the attitude kinematics [33, 34] are described. Section 3 presents the integral sliding mode [16] technique. In Section 4 we discuss an optimal sliding mode controller and study the sliding manifold and control law in the stability proof of this controller. Section 5 describes the SDRE technique and includes a systematic procedure for the design of the SDRE controller. In Section 6 the optimal Lyapunov technique is used to produce an optimal feedback controller that yields global asymptotic stability. A controller design procedure is proposed and the stability proof of this controller is investigated. In Section 7 an example of spacecraft attitude manoeuvres is presented in order to make comparisons between the SDRE-based SM controller and the optimal Lyapunov-based SM controller. In Section 8 we present conclusions.

2. Mathematical Model of Flexible Spacecraft

A flexible spacecraft is composed of a rigid main body and some flexible appendages. The kinematics of the spacecraft determine the attitude of the main body and are described by the four unitary quaternions [34] where and denote the Euler axis and Euler angle, respectively. We define here the quaternion with . Then the kinematic equations are described in terms of the attitude quaternion [34] and are given by where denotes the angular velocity vector and is the identity matrix. The skew-symmetric matrix is and the elements of are restricted by . Note that a quaternion consists of the scalar and the three-dimensional vector , so it has four components. The scalar term is used for avoidance of singular points in the attitude representation [34]. The quaternion kinematics equation is required to be solved for all four components. However, to indicate the orientation of the spacecraft or a rotational motion, it is sufficient to use only the vector because this vector completely shows rotation axis and angle. Furthermore, the scalar can be calculated easily using the vector and the condition . More details of quaternion and other attitude representations can be found in [34, 35].

The equation governing a flexible spacecraft is expressed as [33] where is the total inertia matrix of the spacecraft, is the modal displacement, and is the coupling matrix between the central rigid body and the flexible attachments. denotes the control input, represents the external disturbance torque, and and denote the stiffness and damping matrices, respectively, which are defined as with damping and natural frequency .

Letting the relative dynamic equation (2.4) can be written as where

Note that because of the constraint relation among the four unitary quaternions , and are not independent of the other components of the quaternion.

3. ISMC

The concept of integral sliding mode [16] concentrates on the robustness of the motion in the whole state space. It is constructed without the reaching phase and it ensures insensitivity of the desired trajectory with respect to matched uncertainties, starting at time zero. However, since this controller design requires a first-order SMC, the main drawback of sliding control, namely, the chatter problem, is encountered.

Integral sliding control is applied to obtain robustness against external disturbances during the sliding mode. Next the concepts of ISMC [16] are discussed.

Consider a nonlinear dynamic system where . Suppose there exists a feedback control law such that system (3.1) can be stabilized to follow a desired trajectory.

For system (3.1) the control law [16] is designed as where is the ideal control and is designed to be discontinuous to reject the disturbances. The switching function [16] is designed as

The switching function consists of two parts; the first part may be designed as the linear combination of the system states (similar to the conventional sliding mode design); and the second part induces the integral term and will be determined as where is determined based on the requirement since the sliding mode occurs at time zero. To derive the sliding mode equation, the time derivative of on the system trajectories should be made equal to zero. The equivalent control is determined by solving the algebraic equation with respect to the control input and then substituting into the equation for .

4. Optimal Sliding Mode Controller Design

We continue the controller design by using the ISMC technique. The way to obtain the optimal performance is to design an ideal control in (3.2) using nonlinear optimal control techniques. So our designs will consider an ideal control as the optimal control law for nonlinear attitude regulation systems. (In this paper the SDRE and the optimal Lyapunov approaches are used to produce optimal control laws and the details will be given in subsequent sections.).

We use the integral sliding mode concept to obtain the sliding manifold and a new robust optimal control law is then developed. The second method of Lyapunov is used to show that reaching and sliding on the manifold are guaranteed.

Using (3.3) and letting , the switching function is designed as where is a symmetric positive-definite constant matrix and is an auxiliary variable that is the solution of the differential equation [16] with being the optimal controller for the system (3.1). Using the ISMC (3.2) we obtain an optimal sliding mode controller where is a positive definite diagonal matrix, and the th component of is given by Now we show that the control law (4.3) is designed such that the reaching and sliding mode conditions are satisfied. The candidate Lyapunov is selected as [18] and the time derivative of is With the substitution of and (4.2) we obtain With external disturbances and the optimal control , the control law (3.2) can be written as Substituting (4.2) and (4.8) in (4.7), the time derivative of can be written as Let the discontinuous control input have the following form where is a positive definite diagonal matrix. Letting , we obtain We choose such that is positive definite and then (4.11) becomes Obviously if is chosen such that , then . This guarantees reaching and sliding on the manifold.

5. SDRE Controller

In this section we mention briefly the optimal controller design scheme using the SDRE approach. The regulation motion of a flexible spacecraft is considered. The Xu method [15] and the integral sliding mode [16] are merged to design a new controller which consists of two parts; the sliding mode and optimal control. The first-order sliding mode is used for the sliding mode controller design while the optimal control law is designed using the SDRE method [20] to solve the infinite-time optimal quadratic problem.

The SDRE method requires factorization of the nonlinear dynamics into the state vector and the product of a matrix valued function which depends the state itself. This matrix is so called the state-dependent coefficient (SDC) matrix. For the optimal controller design, the difficulty of using the SDRE approach is how choose the appropriate SDC matrix. Using the basic concepts described in [32] we can rewrite the spacecraft dynamics equation in a more suitable form and the appropriate SDC matrix is then selected. After we obtain the optimal control law, a new optimal sliding mode controller will be designed by merging the optimal control and first-order sliding mode controller.

This controller is designed such that it minimizes the performance index where Here, the state is defined as . The weighting matrices , , and are positive semidefinite and positive definite, respectively. and are all sufficiently smooth functions of the state vector , and is the initial conditions of the process. It is assumed that and for all .

To apply the SDRE method must be decomposed as . Using the theorem in [32] the SDC matrix can be obtained by writing in a more suitable form as To use the SDRE approach the SDC matrix is chosen as Thus, the optimal control [15] is given as where is the solution to the generalized SDRE [15] Note that the parameterization in (5.3) is not unique. It has explicitly been selected to make the stability problem analytically tractable. It is convenient to use this parameterization, since the state-dependent Riccati equation (5.6) will have a simple form to be solved for . Next, it should be checked whether the parametrization in (5.3) is pointwise controllable for all . The controllability matrix is where

Clearly the condition for pointwise controllability is where denotes the determinant of the matrix . Letting , one obtains Using (5.10) we can ensure that . This implies that has full rank. In Cimen [36] it was stated that the observability matrix has full rank by choosing the positive definite for all . If our design selects to be positive definite, the observability matrix will be a full rank matrix and the sufficient condition for observability is satisfied. Thus, the SDRE method generates a closed loop solution, which is locally asymptotically stable. However, the success of the SDRE approach depends on a good choice of the matrix . It is difficult to obtain global stability because of the limitations of this technique.

After we obtain the matrix , an optimal controller can be designed using (5.5). Substituting this control into (4.3) the SDRE-based SM controller is obtained.

6. Optimal Lyapunov Controller

This section presents an optimal control moment which stabilizes the zero solution and minimizes the selected performance index (5.1). The basic principles in Krasovskii [37] with a Lyapunov function are applied to develop an optimal controller. The stability proof of this control law is also performed by using the optimal Lyapunov technique (see [28–31]).

The optimal Lyapunov function, defined as the minimum value of the performance index (5.1), is given by The function represents the value of the integral performance index when evaluated along the optimal trajectory. Let the positive definite symmetric matrix and the matrix be partitioned as respectively. We next show that can be treated as a Lyapunov function. Based on Krasovskii's theorem, the function satisfies the following equation: We assume that is the optimal control law. From the optimality conditions of Krasovskii's theorem, function must satisfy the following partial differential equation: which is known as the Hamilton-Jacobi equation. Clearly, the resulting partial differential equation (6.4) contains the optimal control . In particular if the optimal control is known, we can solve this equation for the optimal Lyapunov function . On the other hand if the function is known, this equation can be solved for the optimal control . In fact both solutions of this equation and control torques are dependent on each other. Substituting (2.2) and (2.7) into (6.4), one obtains Let a Lyapunov function be chosen as where is a positive-definite matrix that is a solution of the Lyapunov equation with a positive-definite matrix . The gradient of V with respect to ,   and is given by This function consists of the sum of quadratic terms, so it is a positive definite function with respect to stabilizing variables. Substituting (6.7) into (6.5), one obtains After lengthy calculus manipulation, one can obtain the optimal control as We can conclude that (6.5) can be solved by using the Lyapunov function and the controller with the following relations: We also prove that the optimal control (6.9) with the chosen Lyapunov function (6.6) yields global asymptotic stability. For the purpose of the stability analysis, the first time derivative of is considered and it takes the form Substituting (2.7) into (6.11), we obtain which can be further expressed as which can be further expressed as where We know that there exists an appropriate controller parameter such that is positive definite. Therefore is negative definite and global asymptotic stability has been proved.

After obtaining the resulting optimal controller, a new optimal sliding mode controller will be developed by combining this controller with a first-order SMC. The optimal Lyapunov-based SM controller can be obtained by letting and substituting (6.9) into (4.3).

7. Simulation Results

An example of attitude control of flexible spacecraft [33] is presented with numerical simulations to validate and compare both controllers; SDRE-based SM controller and optimal Lyapunov-based SM controller. The spacecraft is assumed to have the nominal inertia matrix and coupling matrices respectively. The first four elastic modes have been considered in the model used for simulating spacecraft at , , , and with damping , , , and . The weighting matrices are chosen to be and . The initial states of the rotation motion are given by , and . For the SDRE-based SM controller the control vector is designed by using (4.3) with optimal control (5.5). The optimal Lyapunov-based SM controller is obtained by using (4.3) with optimal control (6.9). For both controllers the switching function (4.1) is chosen using the same constant matrix defined as with . To obtain the initial is chosen to be . The attitude control problem is considered in the presence of external disturbance . The disturbance model [33] is Simulation studies have been performed to test both controllers. Figures 1 and 2 clearly show the performance of the SDRE-based SM controller. The responses of quaternion and angular velocity components reach zero after 70 seconds. Obviously the effect of external disturbances on quaternion and angular velocity is totally removed. From Figure 4 it can be seen that the SDRE-based SM controller stabilizes the closed-loop system of flexible spacecraft and provides quite smooth control torque responses. As shown in Figures 5 and 6 the modal displacements () converge to the neighborhood of zero.

On the other hand Figure 7 shows that the optimal Lyapunov-based SM controller provides good trajectories of the quaternions and they reach zero in about 80 seconds. Similarly, from Figure 8 it can be seen that the angular velocities reach zero after 100 seconds. As shown in Figure 10 the control torques obtained by the optimal Lyapunov-based SM controller are quite smooth although the external disturbances are taken into account. The responses of modal displacements are similar to those obtained by the SDRE-based SM controller (Figures 11 and 12). For both controllers, the sliding vectors are on the sliding manifold () at time zero and very close to zero thereafter (Figures 3 and 9).

Making comparisons between the simulation results obtained by the SDRE-based SM controller and optimal Lyapunov-based SM controller, it can be seen that the SDRE-based SM controller provides smoother attitude responses and achieves the desired attitude faster. In view of these simulation results, the SDRE-based SM controller seems to be a more useful approach for general cases of attitude regulation problems. Different models and manoeuvres may yield different behaviour. However, the success of the SDRE approach depends on a good choice of the SDC matrix . It is difficult to obtain global stability because of the limitations of this technique. On the other hand the difficulty of using the optimal Lyapunov approach is how to find a suitable Lyapunov function. Once this function is known, the optimal Lyapunov approach can be used for the optimal controller design that yields global asymptotic stability.

8. Conclusion

We have studied two controller designs for attitude stabilization of a flexible spacecraft. Both the SDRE-based SM controller and optimal Lyapunov-based SM controller have been successfully applied to the spacecraft attitude manoeuvres. To obtain both controller designs, ISMC combined with first-order sliding mode and optimal control has been applied to quaternion-based spacecraft attitude manoeuvres with external disturbances and an uncertain inertia matrix. The SDRE and the optimal Lyapunov approaches are used to solve the infinite-time nonlinear optimal control problem. The second method of Lyapunov is used to guarantee the stability of the attitude control system under the action of both controllers. An example of multiaxial attitude manoeuvres is presented and simulation results are given and compared to verify the usefulness of the developed controllers.

Acknowledgment

The authors thank the referees for their valuable comments that have improved this paper.