Research Article | Open Access

# Chattering-Free Adaptive Sliding Mode Control for Attitude Tracking of Spacecraft with External Disturbance

**Academic Editor:**Jun-Juh Yan

#### Abstract

The attitude tracking problem of spacecraft in the presence of unknown disturbance is investigated. By using the adaptive control technique and the Lyapunov stability theory, a chattering-free adaptive sliding mode control law is proposed for the attitude tracking problem of spacecraft with unknown disturbance. Simulation results are employed to demonstrate the effectiveness of the proposed control design technique in this paper.

#### 1. Introduction

Attitude control of a spacecraft with unknown external disturbance has been studied intensively in the past decade. In [1], a general attitude control design framework was proposed for the analysis of attitude tracking control of a rigid body using the nonsingular unit quaternion representation. In [2], an adaptive control scheme for the attitude control of a rigid spacecraft was derived using a linear parameterization of the equation of motion, and global convergence of the tracking error to zero was shown using passivity theory. In [3], Tsiotras further proposed passivity based linear asymptotically stabilizing controllers without angular velocity feedback. In [4], Tayebi proposed a quaternion based dynamic output feedback control law of a rigid body without velocity measurement by introducing an auxiliary dynamical system. A typical feature in all of the mentioned attitude control schemes is that the control laws were all presented without considering external disturbances.

In order to deal with attitude control problem in the presence of unexpected disturbances, various approaches have been proposed in [5–7]. In [5], an inverse optimal adaptive control method was proposed to achieve attitude tracking and disturbance attenuation for a class of disturbances with bounded energy. In [6], an internal model method was presented for attitude tracking and disturbance rejection. In [8–10], some sliding mode control strategies were proposed to solve the attitude control and disturbance rejection problem.

Sliding mode control method is known to be an efficient control technique applicable to systems with profound nonlinearity and modeling uncertainty [11]. The sliding mode control has several useful advantages such as fast response, low sensitivity to external disturbances, robustness to the plant uncertainties, and easy realization [12–14]. However, since the conventional sliding mode controllers often include the sign function, they suffer from the undesirable chattering phenomenon. A common method to alleviate chattering phenomenon is to insert a fixed or variable boundary layer near the sliding plane, such that a continuous control replaces the discontinuous one when the system is inside the boundary layer. Although the boundary layer method can give a chattering-free system, a finite steady-state error may exist. Then, other methods have increasingly gained researchers’ interest, and several chattering-free control techniques have been studied in [15, 16]. However, the chattering-free adaptive sliding mode control for attitude control of spacecraft in the presence of unknown disturbance has not been fully investigated, which constitutes the main motivation of the present research.

In this paper, we aim to propose a chattering-free adaptive sliding mode control law for the attitude tracking problem of rigid spacecraft in the presence of unknown disturbance. The main contribution of this paper is that a dynamic sliding mode control law, which is free of chattering phenomenon, is presented for attitude tracking problem of rigid spacecraft and the unknown external disturbance has been handled by using adaptive control technique.

The rest of this paper is organized as follows. The dynamic equations of spacecraft are briefly reviewed and the attitude tracking problem is formulated in Section 2. The chattering-free adaptive sliding mode control law is given, and the stability analysis of closed-loop system is also presented in Section 3. A simulation example is provided to demonstrate the efficiency of the proposed control law in Section 4. Concluding remarks are collected in Section 5.

#### 2. Governing Equations and Problem Formulation

In this section, we use the unit quaternion to represent the attitude of a rigid spacecraft. The advantage of quaternion representation for spacecraft attitude is due to its superior numerical property and void of singularity [17].

The dynamic model for the rigid spacecraft can be expressed as follows [6]: where denotes the angular velocity of the body fixed reference frame with respect to an inertial reference frame , and are the control input and the external disturbance, respectively, is the identity matrix, and represents the unit quaternion describing the orientation of the body fixed frame with respect to the inertial frame , which is subject to the constraint

The matrix is the inertia matrix of the spacecraft, which is constant, symmetric positive definite, and the symbol denotes an operator acting on any three-dimensional vector in such a way that

In order to consider the attitude tracking problem, similar to [6], we assume that with and denotes the desired unit quaternion of the spacecraft in a desired body fixed reference frame with respect to the inertial frame and the desired angular velocity of with respect to expressed in , respectively.

The dynamic equations corresponding to and are the following:

Next, as in [17], define the quaternion tracking error with as follows:

Then, the tracking error dynamics can be obtained as follows: where is the error angular velocity of relative to expressed in and is the directional cosine matrix that brings onto as follows:

Before proceeding further, we first introduce the following assumptions.

*Assumption 1. *The external disturbance in (2) and its derivative are assumed to be bounded.

In this paper, we aim at attitude tracking in the presence of unknown disturbances. Given a desired quaternion , the objective is to design a feedback controller such that, for any admissible disturbance satisfying Assumption 1 and for any , the state of the closed-loop system composed of (9)–(11) and the controller is bounded and

#### 3. Main Result

In order to convert the problem to a more tractable problem, we take the following coordinate transformation suggested in [5]: where is a positive definite matrix which will be specified later.

Then, we obtain where

*Remark 2. *According to [6, Lemma 3.1], we need only to design a feedback controller such that the states of the closed-loop system composed of (9), (10), (16), and the controller are bounded and .

In order to present an adaptive chattering-free sliding mode control law, we introduce the following dynamical sliding mode surfaces: where is a positive definite matrix and is defined as follows: where is a positive definite matrix.

*Remark 3. *Based on Assumption 1, it is easy to see that
where is an unknown positive constant.

Now, we are ready to state our main result.

Theorem 4. *Under Assumption 1, let the adaptive sliding mode controller be
**
where is a positive definite matrix, is the estimation of the unknown constant , and
**
Then, for any initial condition, the states of the closed-loop system composed of (9), (10), (16), and (21) are bounded and
*

*Proof. *Firstly, consider the following Lyapunov function candidate:
where .

Taking time derivative of the Lyapunov function candidate , one obtains that

Combining (25) with (18) and (19), it follows that

Inserting (16) into the right hand of (26), it yields

According to (20), we have

Furthermore, introducing the adaptive sliding mode controller (21) into the right hand of inequality (28), one can obtain
where denotes the largest eigenvalue of the positive definite matrix .

Therefore, the states and are bounded. By the construction of and , it is easy to conclude that is bounded. Furthermore, by the coordinate transformation (15), is also bounded. Next, let . Integrating both sides of (29) yields that

Thus, exists and is finite. On the other hand, is bounded for all since all states are bounded. Thus, by using Barbalat’s lemma, one has
and therefore
which implies that

*Remark 5. *In the design of traditional sliding mode control, the sliding mode surface is often defined as
and then under the assumption that , the adaptive sliding mode controller can be designed as
where is a positive definite matrix, is the estimation of the unknown constant , and

The difference between the adaptive sliding mode controllers (21) and (35) is that the discontinuous sign function appears in the first derivative of the controller (21); thus chattering phenomenon is alleviated.

#### 4. Numerical Simulation

In this section, we present a numerical simulation example to illustrate the effectiveness of the developed adaptive chattering-free sliding mode control design method for attitude tracking of rigid spacecraft.

The simulation parameters are taken from [18] with some adjustments. The inertial matrix of the spacecraft and disturbance are assumed to be respectively. In order to show the effectiveness of the proposed attitude tracking control law, we suppose that the desired unit quaternion to be tracked is generated by dynamic equation (6), in which the desired angular velocity is given by

Note that the disturbance in the form of (38) is very standard [8], and it is easy to verify that Assumption 1 is satisfied; that is, there is an unknown positive constant such that for some selected control gain and . Therefore, according to Theorem 4, we can get the adaptive sliding mode control law as in (21). The simulation results are shown in Figures 1, 2, 3, 4, 5, 6, 7, and 8, where the initial value of unit quaternion and the initial value of the angular velocity are given by respectively. The initial desired unit quaternion is given by and the initial values of the remaining states are all chosen as 0.

**(a)**

**(b)**

**(a)**

**(b)**

**(a)**

**(b)**

**(a)**

**(b)**

**(a)**

**(b)**

**(a)**

**(b)**

**(a)**

**(b)**

**(a)**

**(b)**

The initial values and parameter matrices of the adaptive sliding mode control law (21) are chosen to be , . In order to show the effectiveness of the proposed controller, the comparison of simulation results between controllers (21) and (35) are presented in Figures 1–8 where the initial values and parameter matrices of the adaptive sliding mode control law (35) are chosen to be and . (a) of Figures 1–8 is the results of the adaptive sliding mode controller (21), while (b) of Figures 1–8 is the results of the adaptive sliding mode controller (35). The attitude tracking of quaternion is shown in Figures 1–4, which show that the adaptive sliding mode control law (21) proposed in this paper guaranteed attitude tracking of spacecraft in the presence of the disturbance. Figures 5–7 depict the time response of angular velocity of the spacecraft. The time response of control torques is illustrated in Figure 8, which show that the adaptive sliding mode control law (21) is free of chattering.

#### 5. Conclusion

The attitude tracking problem of spacecraft with unknown disturbance has been studied in this paper. The disturbance and its derivative involved in the spacecraft model have been assumed to be bounded with unknown upper boundary. By combining the techniques from sliding mode control and robust adaptive control, a chattering-free adaptive sliding mode attitude tracking control law has been presented with the help of a dynamical sliding mode surface. Finally, a numerical example has been provided to show the usefulness and effectiveness of the proposed design method.

#### Conflict of Interests

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

#### Acknowledgments

This work was supported by the China Postdoctoral Science Foundation funded project under Grant no. 2013M531016 and the Fundamental Research Funds for the Central Universities.

#### References

- J. T.-Y. Wen and K. Kreutz-Delgado, “The attitude control problem,”
*IEEE Transactions on Automatic Control*, vol. 36, no. 10, pp. 1148–1162, 1991. View at: Publisher Site | Google Scholar - O. Egeland and J.-M. Godhavn, “Passivity-based adaptive attitude control of a rigid spacecraft,”
*IEEE Transactions on Automatic Control*, vol. 39, no. 4, pp. 842–846, 1994. View at: Publisher Site | Google Scholar - P. Tsiotras, “Further passivity results for the attitude control problem,”
*IEEE Transactions on Automatic Control*, vol. 43, no. 11, pp. 1597–1600, 1998. View at: Publisher Site | Google Scholar - A. Tayebi, “Unit quaternion-based output feedback for the attitude tracking problem,”
*IEEE Transactions on Automatic Control*, vol. 53, no. 6, pp. 1516–1520, 2008. View at: Publisher Site | Google Scholar - W. Luo, Y.-C. Chu, and K.-V. Ling, “Inverse optimal adaptive control for attitude tracking of spacecraft,”
*IEEE Transactions on Automatic Control*, vol. 50, no. 11, pp. 1639–1654, 2005. View at: Publisher Site | Google Scholar - Z. Chen and J. Huang, “Attitude tracking and disturbance rejection of rigid spacecraft by adaptive control,”
*IEEE Transactions on Automatic Control*, vol. 54, no. 3, pp. 600–605, 2009. View at: Publisher Site | Google Scholar - X. Zhang and D. Cheng, “Nonlinear internal model based attitude tracking and disturbance rejection,”
*Asian Journal of Control*, vol. 14, no. 5, pp. 1397–1402, 2012. View at: Google Scholar - Z. Zhu, Y. Xia, and M. Fu, “Adaptive sliding mode control for attitude stabilization with actuator saturation,”
*IEEE Transactions on Industrial Electronics*, vol. 58, no. 10, pp. 4898–4907, 2011. View at: Publisher Site | Google Scholar - A.-M. Zou, K. D. Kumar, Z.-G. Hou, and X. Liu, “Finite-time attitude tracking control for spacecraft using terminal sliding mode and chebyshev neural network,”
*IEEE Transactions on Systems, Man, and Cybernetics B*, vol. 41, no. 4, pp. 950–963, 2011. View at: Publisher Site | Google Scholar - K. Lu, Y. Xia, Z. Zhu, and M. V. Basin, “Sliding mode attitude tracking of rigid spacecraft with disturbances,”
*Journal of the Franklin Institute*, vol. 349, no. 2, pp. 413–440, 2012. View at: Publisher Site | Google Scholar - J. Y. Hung, W. Gao, and J. C. Hung, “Variable structure control. A survey,”
*IEEE Transactions on Industrial Electronics*, vol. 40, no. 1, pp. 2–22, 1993. View at: Publisher Site | Google Scholar - M. Chen and W.-H. Chen, “Sliding mode control for a class of uncertain nonlinear system based on disturbance observer,”
*International Journal of Adaptive Control and Signal Processing*, vol. 24, no. 1, pp. 51–64, 2010. View at: Publisher Site | Google Scholar - T. R. Oliveira, A. J. Peixoto, E. V. L. Nunes, and L. Hsu, “Control of uncertain nonlinear systems with arbitrary relative degree and unknown control direction using sliding modes,”
*International Journal of Adaptive Control and Signal Processing*, vol. 21, no. 8-9, pp. 692–707, 2007. View at: Publisher Site | Google Scholar - A. J. Koshkouei, “Passivity-based sliding mode control for nonlinear systems,”
*International Journal of Adaptive Control and Signal Processing*, vol. 22, no. 9, pp. 859–874, 2008. View at: Publisher Site | Google Scholar - M. Falahpoor, M. Ataei, and A. Kiyoumarsi, “A chattering-free sliding mode control design for uncertain chaotic systems,”
*Chaos, Solitons and Fractals*, vol. 42, no. 3, pp. 1755–1765, 2009. View at: Publisher Site | Google Scholar - H. Li, X. Liao, C. Li, and C. Li, “Chaos control and synchronization via a novel chatter free sliding mode control strategy,”
*Neurocomputing*, vol. 74, no. 17, pp. 3212–3222, 2011. View at: Publisher Site | Google Scholar - M. D. Shuster, “A survey of attitude representations,”
*Journal of the Astronautical Sciences*, vol. 41, no. 4, pp. 439–517, 1993. View at: Google Scholar - F. Lizarralde and J. T. Wen, “Attitude control without angular velocity measurement: a passivity approach,”
*IEEE Transactions on Automatic Control*, vol. 41, no. 3, pp. 468–472, 1996. View at: Publisher Site | Google Scholar

#### Copyright

Copyright © 2014 Xuxi Zhang et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.