Abstract

A compound control based on active disturbance rejection control (ADRC) scheme and slide mode control (SMC) is proposed to investigate the attitude tracking problem for a spacecraft with modeling uncertainties, external disturbances, actuator failures, and actuator saturations simultaneously. A positive term including control input is separated from the system, and then, the active disturbance rejection concept and the extended state observer (ESO) are applied to deal with the general uncertain item caused by uncertainties, external disturbances, actuator failures, and actuator saturations. The sliding mode surface is designed to transform the attitude tracking problem into attitude stabilization problem. In order to deal with the actuator saturations, a saturation degree coefficient and its corresponding adaptive law are introduced. Compared to other existing references, the proposed scheme does not need to know the structure or upper bound information of the inertial matrix uncertainties and external disturbances. Finally, the stability of the closed-loop system is analyzed by using input to state stability theory. Simulation results are given to verify the effectiveness of the proposed scheme. More importantly, the proposed technique can also be applied to the attitude stabilization of other aircraft, such as the attitude of unmanned aerial vehicle and helicopter in maritime rescue.

1. Introduction

With the development of space missions, the reliable control scheme is significantly important for the rigid spacecraft. As the part of spacecraft systems, attitude control plays an important role in spacecraft design and has been studied extensively under various scenarios [15]. The reliability of attitude control determines that the planned missions can be accomplished successfully or not. It is a significant challenge to obtain a steady attitude when there exist uncertainties, external disturbances, actuator failures, or saturations. However, lots of nonlinear control schemes are applied on attitude control in much literature. In [3, 4], an extended state observer sliding mode control (SMC) is proposed for spacecraft attitude control with inertia uncertainty and external disturbance. In [4, 5], the adaptive SMC is applied to attitude stabilization with control constraints. In the above adaptive SMC scheme, it is assumed that the inertia matrix and the external disturbance are bounded and satisfy certain conditions. In [6], two quasi-continuous higher-order sliding controllers are applied to spacecraft attitude-tracking. In [7], to alleviate chattering and ensure a smooth control for actuators by SMC, a second-order sliding mode controller based on anti-unwinding control method is proposed for the attitude stabilization of a rigid spacecraft. In [1], nonlinear H∞ robust controller is proposed for F-16 aircraft with mass and moment inertia uncertainties. To solve the associated Hamilton–Jacobi partial differential inequality, a special Lyapunov function with mass and moment inertia uncertainties is considered. A robust control law based on the mini-max approach and the inverse optimal approach is proposed for the attitude control with external disturbances [8]. In [9], the inverse optimal feedback control based on integrator backstepping is proposed for rigid spacecraft without considering the disturbances and uncertainties. The optimal adaptive controller is designed to achieve attitude tracking for rigid spacecraft [10]. To deal with the inertia matrix uncertainty and attenuate the disturbance, both the adaptive control and the inverse optimal control approach are applied. However, the abovementioned controls are based on precise analytic structure of uncertainty to derive online updating algorithms for unknown but constant parameters in the system.

Actually, the inputs of spacecraft systems are usually limited, which are known as actuator saturation or input saturation. In practical systems, input saturation may lead to instability or unacceptable performance degradation for the spacecraft’s attitude. To deal with the input saturation, lots of methods appeared [5, 1115]. In [11], taking into account control input saturation, external disturbances, and parametric uncertainty, a variable structure control method is proposed for spacecraft attitude stabilization, which ensures the fast and accurate response. Thereafter, the continuous variable structure control approach is presented for attitude tracking [12]. In [13], two saturated finite-time attitude controllers based on the homogeneous method are proposed for rigid spacecraft subject to control input saturation, without considering the external disturbance and uncertainty. In [14], a saturated attitude control scheme composed of the quaternion part, the saturated angular velocity part, and the bounded antidisturbance part was proposed for spacecraft with bounded disturbances. In [15], two novel anti-unwinding attitude controllers based on the inverse optimal approach and unit quaternion are designed for spacecraft subject to uncertainty and external disturbance.

Note that the abovementioned references concentrate on the attitude control without actuator fault. In practice, besides the saturation, actuator failures also usually occur in spacecraft systems. As is known to all, control failures can lead to performance deterioration, instability, and even catastrophic accidents. Therefore, it is very important to design a controller with fault-tolerant capability to improve the spacecraft system reliability. In order to enhance the reliability of spacecraft systems, some scholars are focusing on fault-tolerant attitude control [1619]. In [20], an adaptive fault-tolerant control method is proposed for the spacecraft subjected to two types of faults, without uncertainties and disturbances. In [16], an adaptive backstepping sliding mode control scheme is designed to achieve attitude tracking for flexible spacecraft with actuator failures, disturbances, and uncertainties. In [17], an adaptive fault-tolerant control based on the fuzzy logic system and sliding mode observers is presented for near-space vehicle without the bounds of the derivative of the faults. In [18], two integral-type sliding mode control schemes are used to compensate actuator faults for spacecraft with external disturbances.

However, as far as the authors know, few papers focus on the attitude control for the rigid spacecraft subjected to uncertainties, disturbances, failures, and actuator saturation simultaneously. In [2], a nonregression-based indirect robust approach is presented to achieve attitude tracking when accounting for uncertainties, disturbances, failures, and actuator saturation simultaneously. Although the uncertainty is done by its bound, it is assumed that the external disturbance and the inertia matrix are bounded and satisfy certain conditions. In [19], a variable structure control is developed for attitude stabilization of spacecraft with partial loss of actuator effectiveness fault and actuators saturation. Then, the authors proposed an adaptive sliding mode control for spacecraft subjected to partial loss of actuator effectiveness fault, and the control law is modified to ensure that the control signal never contains saturation [21]. The neural network is used to approximate uncertainties and online updating law to estimate the bound of actuator fault without any information of the fault. In [22], based on fuzzy logic and backstepping techniques, a robust adaptive control is proposed for spacecraft in the presence of uncertainties, disturbances, actuator failures, and input saturation. Actually, the spacecraft system with uncertainties, disturbances, actuator failures, and actuator saturation simultaneously is a more complicated uncertain nonlinear system, whose typical representative is a nonaffine nonlinear system. In [2327], the active disturbance rejection technique presented in [28] is applied to the nonaffine nonlinear system. Therefore, in this paper, a compound control based on active disturbance rejection control (ADRC) scheme and slide mode control (SMC) is designed to achieve attitude tracking for the spacecraft system. To handle the saturation, the saturation coefficient is introduced and its adaptive law is designed. The main contribution of this paper compared to others is that the proposed scheme can achieve reliability against inertia matrix uncertainties, external disturbances, actuators faults, and saturation. Moreover, the actuator faults that the scheme can deal with by the proposed scheme include partial effectiveness loss fault, additive fault, and total fault. The proposed scheme does not depend on the precise analytic structure of inertia matrix and disturbances, nor depend on their bounds, which can also be applied in spacecraft systems with time-varying parameters.

This paper is organized as follows. The spacecraft attitude tracking problem and some preliminary results are described in Section 2. The compound control scheme is proposed to achieve the attitude tracking in Section 3. Several simulation results are presented in Section 4, and conclusions are drawn in Section 5.

2. Problem Formulation and Preliminaries

2.1. Attitude Dynamics

The mathematical models of the rigid spacecraft attitude dynamics are given by [24]where is the inertia matrix of the spacecraft determined by the mass distribution of the spacecraft, and obviously, it is symmetric positive definite. is the actual control torque generated by thrusters. is the thruster distribution matrix (for a given spacecraft, is available and can be adjusted by changing the locations and directions of the thrusters [3]). is the external disturbance. is the unit quaternion vector representing the spacecraft’s attitude orientation, satisfying , where and are the vector part and scalar components, respectively. is the identity matrix, is the angular velocity of the spacecraft, and is a skew symmetric matrix of and has the following form:

Remark 1. may change or be uncertain over time due to fuel consumptions or onboard mission; therefore, should be viewed as uncertain item or unknown item so that it could not be used directly in control design. It is reasonable to assume the invertible in the form , in which is the nominal inertia matrix and is the uncertainty. Compared to the abovementioned references, both and are unknown here, which is the most relaxed and simple condition.

Assumption 1. and are available in feedback control design. In practical, angles and angular velocities can be measured with relative sensors.

Assumption 2. The external disturbances are bounded.
The control objective is to make the aircraft track the desired attitude dynamics when the thrusters are constrained.
The torques generated by the constrained thrusters can be described as follows:where is the thruster torque without limitation. The function is used to describe that the control torques generated by the thrusters are limited. indicates the maximum value of the control torque generated by the thruster.
According to [5, 29], the saturation function can be expressed aswithObviously, the coefficient denotes the saturation degree of .
Similar to [5], the desired attitude motion is supposed to be generated bywhere is the desired unit quaternion vector of the spacecraft, satisfying , where and are the vector part and scalar component, respectively. is the desired angular velocity of the spacecraft. As in [3, 5], are assumed to be bounded.
The goal of the attitude tracking control is to design the controller so that the attitude in equations (1)–(3) tracks the desired attitude in equations (8)-(9), that is, to achieve and . To analyse the attitude tracking problem, as in [3, 5], we define attitude orientation error and angular velocity error as follows:where is a rotation matrix, and note that .
From equations (1)–(12), the attitude orientation error and angular velocity error can be derived as follows:It has been proved that through equations (10)–(12), the aim of and would be achieved by stabilizing systems (13)-(14) in [29].
In order to stabilize systems (13)-(14), as in [5, 6], the sliding surface can be selected as follows:where and is a positive-designed constant.
Differentiating equation (15) and then multiplying by , we can obtain the following:In Section 3, the control will be designed such that . According to Lemma 2.1 in [5], can guarantee and .

2.2. Input to State Stability

Lemma 1 (see [29]). Consider the system; there exists a function so that for all and , it satisfieswhere , and are class functions and is a class function. Then, the system is input to state stable (ISS), and for all and such that , the following is satisfied:where is a class function and is a class function.

3. Compound Control for Attitude Tracking

The first case considered here is the spacecraft with only three thrusters. Actually, there always exist two types of thruster faults in the practical spacecraft system. Therefore, partial effectiveness loss fault and additive fault are considered here. The second case considered is the spacecraft with more than three thrusters; however, some of it might experience losing power totally.

3.1. Spacecraft with Only Three Thrusters

As the spacecraft has only three thrusters, in equation (1) would be . When partial effectiveness loss fault and additive fault happen, the attitude dynamics should be described as follows:where ; denotes thruster effectiveness; and when denotes that the thruster works normally, while indicates that the thruster loses its effectiveness partially. indicates the additive fault, and it is bounded.

Then, the sliding surface dynamics would be described by

According to the active disturbance rejection concept in [2326], equation (35) could be changed to the following:where is a nonsingular matrix selected by the designer and is the general uncertain item:

It contains the unknown inertia matrix, external disturbance, and the uncertainties produced by thruster fault. To facilitate analysis, is chosen as a diagonal matrix.

As in [4, 2426], in order to deal with , the extended state observer (ESO) for equation (21) can be constructed as follows:where is the estimation error of the ESO, and are the observer output, and , , and are the observer gains. It has been proved in [4, 25] that for appropriate values of , the observer output approaches and approaches .

With the uncertainties estimated by the ESO, the sliding control law can be designed aswith , , and , where and are positive constant parameters chosen by the designer. is the state of ESO equation (23), which can approach .

Theorem 1. Consider a spacecraft system with partial effectiveness loss fault and additive fault; meanwhile, the thrusters are limited, which is stated in equation (19). If control scheme (24) is implemented, then the control objectives and would be achieved.

Proof. Construct the Lyapunov function as follows:where and is a designed constant. In view of equation (21), its time derivative can be given as follows:Owing to both and being diagonal matrices and combining with equation (24), equation (27) can be expressed as follows:As in [30], since, then according to the density property of the real number, there would exist a constant satisfyingAccording to equation (29), it yieldsAccording to equation (25), it is not difficult to note that ensures that is always larger than zero. Therefore, the following can be further obtained:According to equation (25) and in equation (31), it yieldsThen, can be viewed as the disturbance input of the closed loop system consisting of equations (20), (23), (24), and (25). When , with , equation (32) is smaller than zero. Therefore, the closed loop system is ISS. Based on Lemma 1, it is easy to conclude that the estimation error by ESO will affect that whether the dynamic of the sliding mode converges to the sliding surface . According to the principle of ESO, it is shown that can only converge into a residual set of , which means that will converge into a small residual set of zero. That is to say, the dynamic of the sliding mode will be restricted to the neighborhood of the sliding surface. Fortunately, this neighborhood can be reduced to any small size by selecting the ESO parameters and the controller parameters . Furthermore, and determine the speed of convergence and the final error. According to equation (24), the bigger the parameters and are, the faster the speed converging to zero and the smaller the approach error is.

Remark 2. Obviously, is a class function, so Lyapunov function (26) satisfies Lemma 1; that is to say, the closed loop system is ISS.

Remark 3. In order to ensure the stability for the dynamic of the sliding mode and the ability to approach the selected sliding surface, and should satisfy . The reason is that , and is designed as an incremental function.

Remark 4. B0 determines the effectiveness of the active disturbance rejection. Although B0 can be selected as an arbitrary diagonal matrix, the closer B0 is to the real value, the better the effect of the active disturbance rejection.

Remark 5. As crosses the zero, the controller in equation (24) will be discontinuous, which will result in chattering. Therefore, the bounded layer should be introduced to eliminate the chattering. As in [5], equation (24) can be modified as follows:where is the bounded layer, and it should be selected to be small enough.

3.2. Spacecraft with More than Three Thrusters

When the spacecraft has more than three thrusters, some of which might suffer from total fault, then the attitude dynamics would be described as follows [2]:where denotes the work status of the thrusters. means that the thruster has either totally failed or been shut down purposely.

Correspondingly, sliding surface dynamics (16) would be described by

Firstly, we can choose as .

According to the active disturbance rejection concept in [2326], equation (35) could be changed to the following:where is the total uncertain item, which can be written as follows:

It contains the unknown inertia matrix, external disturbance, and uncertainties produced by thrusters fault.

And then, it is interesting to find that the sliding dynamics can be stabilized with a slight modification to the above controller, as follows:where all the control parameters are defined as before. The stability of the closed loop system can be analyzed by using the same Lyapunov function. Combining controller (38) and adaptive law (39), the derivative of the Lyapunov function can be given as follows:

Note that the multiplication of a vector and a diagonal matrix in equation (40) satisfies the following:

Then, it is not difficult to calculate the right side of equation (40) and it can be expressed as

According to equation (39), is a positive parameter. Combining equation (29), we can obtain the following:

Consider as the disturbance input of the closed loop system consisting of equations (35), (23), (38), and (39). When , with , equation (43) is less than zero. Therefore, the entire closed-loop system is ISS for , and the following theorem can be established.

Theorem 2. Consider a spacecraft system; meanwhile, the thrusters are limited, which is stated in equation (34). If control scheme (38) is implemented, then the control objectives and would be achieved.

Remark 6. Similar to Remark 5, in order to eliminate the chattering, equation (38) can be modified as follows:where is the bounded layer and it should be selected to be small enough.

4. Simulation Results

To verify the effect of the scheme proposed above, several simulations on a spacecraft under various conditions are conducted. The limit of thrusters is selected as . The initial values for the spacecraft are selected as and . The initial values for the desired unit quaternion is set to . The unknown nominal inertial matrix and its uncertainties are chosen asand the disturbances are selected as .

The ESO parameters are designed as , and. And, the initial states of ESO are set to . The parameters of the control law in equations (24), (25), (38), and (39) are selected as , , , , , , and . The initial value for adaptive law is set to .

In order to verify the performance of ESO, the desired angular velocity is set to a sinusoidal signal, such as .

4.1. Simulation for Spacecraft with Only Three Thrusters

In this section, it is assumed that thrusters have partial effectiveness loss fault and additive fault, such as and .

Simulation results are given to show the performance of control law (24). Figure 1 demonstrates the attitude quaternion tracking error. The attitude quaternion tracking error curve indicates that the proposed control law achieves the desired attitude tracking in 5 s. The spacecraft has achieved the desired angular velocity in 5 s from the angular tracking error curve exhibited in Figure 2. From Figures 1 and 2, the validity of the conclusion of Theorem 1 can be verified such that control law (24) can make the spacecraft converge to the desired attitude and angular velocity in spite of the saturation, uncertainties, and disturbances.

From the sliding surface depicted in Figure 3, it could be drawn that the dynamic of sliding mode converge into the neighborhood of the sliding surface very quickly. According to equation (15), as is equal to 0, , which is exactly reflected in Figures 1 and 2. The control torques produced by three thrusters are illustrated in Figure 4. They are limited by . The adaptive law depicted in Figure 5 shows that although the parameter cannot converge to a certain constant, its change is very slow. However, the dynamic of the sliding mode just only converges into the neighborhood of the sliding surface and not converges to . The performance of ESO is illustrated in Figure 6, which verifies that the total influence produced by the absolutely unknown inertial matrix, external disturbance, and actuator fault can be well estimated via ESO.

4.2. Simulation for Spacecraft with More than Three Thrusters

In this section, three thrusters with fading fault and the other three with totally failed fault are assumed, which is depicted as follows [2]:

Assume that the six thrusters are distributed as

For the simulation purposes, the system’s initial states, inertial matrix and its uncertainties, disturbances, and other parameters are all the same as above.

Figure 7 demonstrates the attitude quaternion tracking error. The attitude quaternion tracking error curve indicates that the proposed control law achieves the desired attitude tracking in 5 s. The spacecraft has achieved the desired angular velocity in 5 s from the angular tracking error curve exhibited in Figure 8. From Figures 7 and 8, the validity of the conclusion of Theorem 2 could be verified such that control law (38) can make the spacecraft converge to the desired attitude and angular velocity in spite of the saturation, uncertainties, and disturbances.

From the sliding surface depicted in Figure 9, it could be drawn that the dynamic of sliding mode converge into the neighborhood of the sliding surface very quickly. According to equation (15), as is equal to 0, , which is exactly reflected in Figures 7 and 8. The control torques produced by six thrusters are illustrated in Figure 10. They are limited by . From Figure 10, it is obviously deduced that three thrusters show totally failed fault which is consistent with equation (46).

Define ; then, the control torques for spacecraft are illustrated in Figure 11. It can be seen that the applied moment for spacecraft does not exceed the upper limit. The adaptive law depicted in Figure 12 shows that although the parameter cannot converge to a certain constant, its change is very slow. However, the dynamic of sliding mode just only converges into the neighborhood of the sliding surface and not converges to . The performance of ESO is illustrated in Figure 13, which verifies that the total influence produced by the absolutely unknown inertial matrix, external disturbance, and actuator fault can be well estimated via ESO.

Based on Figures 113, it can be concluded that the proposed scheme has achieved a good performance on attitude tracking by using ADRC and SMC.

5. Conclusions

In this paper, the attitude tracking problem for a spacecraft with uncertainties, external disturbances, actuator failures, and saturations is considered. The developed scheme for attitude tracking does not need to know the structure or upper bound information of the inertial matrix uncertainties and external disturbances. Based on ADR concept, the total uncertainties are attenuated by ESO, and the parameter adaptive method is used to deal with the thruster saturation problem; meanwhile, the sliding mode control law ensures the attitude tracking effect. Moreover, the proposed method can be well accommodated for the spacecraft with part of thrusters with total fault and saturation. Several simulation results have proved the effect of the proposed method.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported in part by the Natural Science Foundation of Shandong Province, China (Grant no. Zr2019mf065).