1. Introduction
In space missions, actuator failure is invariably unforeseeable [
1]. When the number of independent control inputs of a spacecraft is fewer than the number of its degrees of freedom, the spacecraft is said to be underactuated. Meanwhile, the spacecraft is influenced by sun–moon gravitational perturbation [
2]. How to control this underactuated system has always been an important and challenging topic in attitude control.
The primary issue confronted in the attitude control of underactuated spacecraft is whether the attitude system of the spacecraft can be controlled without one or two independent control inputs [
3]. This problem was resolved by Crouch in 1984. Under the condition where the actuator is a thruster with merely two control inputs, Crouch [
4] proposed the sufficient and necessary conditions for the global controllability of an underactuated spacecraft. Additionally, Crouch further proved that if the actuator is a flywheel, the total angular momentum of an underactuated system must be zero. On this foundation, Byrnes and Isidori [
5] further demonstrated that a continuous time-invariant control law does not satisfy Brockett’s necessary conditions [
6], thus the control law cannot asymptotically stabilize the attitude of underactuated spacecraft. Consequently, in the subsequent research, time-varying and discontinuous control laws were commenced for the attitude control of underactuated spacecraft.
Based on the aforementioned research on the controllability of the attitude system of underactuated spacecraft, the current control approaches can be categorized into two types in accordance with the distinct actuators: one is the underactuated spacecraft with a thruster serving as the actuator; the other is the underactuated spacecraft with a flywheel serving as the actuator. Firstly, the control of the underactuated spacecraft with the thruster as the actuator is presented. Zhang et al. [
7] designed a time-varying dynamic feedback controller for such nonlinear underactuated systems by using the auxiliary states generated by time-varying oscillators similar to differential equations and constructing a new Lyapunov-like function. Lu and Meng [
8] introduced an underactuated controller in the case of multiple states being driven by a single input. Firstly, based on orbit and attitude models, the input and underactuated characteristics are analyzed. Nadafi and Kabganian [
9] designed a robust controller to achieve perfect attitude tracking of an underactuated spacecraft, taking into account saturation and uncertainty. Due to the non-singularity of this design, it can reduce the burden of limiting the initial conditions of the quaternion. Brewer and Tsiotras [
10] used the average theory to propose two motion controllers that can stabilize a complete attitude of the underactuated satellite, so that the attitude of the underactuated satellite can achieve exponential stability. Hao et al. [
11] studied the rotational decoupling properties of plane axis rotations of rigid bodies using eigenvalue analysis-based methods, and for the application of decoupling properties, applied it to the attitude redirection problem using two-dimensional control. Nadafi and Kabganian [
12] proposed a non-singular attitude tracking control that does not require initial conditions to restrict quaternions. According to the Lyapunov criterion and LaSalle invariance theorem, the controller in large angle maneuvering is analyzed. Zou et al. [
13] proposed an attitude stability control law for asymmetric underactuated spacecraft, ensuring that the control input is bound and small enough when the initial condition is close to the singular manifold. Tian et al. [
14] developed an underactuated tracking controller incorporating an adaptive barrier function to address the underactuated attitude tracking problem of tethered spacecraft. The effectiveness and robustness of the proposed controller were validated through comprehensive simulations. Meng and Lu [
15] proposed an intelligent attitude control method for underactuated spacecraft based on thrust vector control technology. Additionally, a control law was designed that utilizes an enhanced coupling strategy and an adaptive fuzzy observer. Simulation results demonstrate that this approach achieves a faster convergence rate. Zhou and Zhang [
16] employed time-varying state transformation to convert the underactuated system into a linear time-varying system. Building on this framework, a smooth time-varying state feedback controller was proposed, ensuring exponential convergence of all system states. Finally, the effectiveness of the control law was validated through simulations. Wang [
17] analyzed and designed the hierarchical fuzzy system and verified the effectiveness of the hierarchical system through two numerical examples. On this basis, Mon further proposed a hierarchical sliding mode control and Hwang applied it to path tracking [
18]. Avanzini [
19] addressed the issue of aiming at the fixed axis of the universal body along the inertial fixed direction when only two reaction wheels could exchange angular momentum with the spacecraft platform in the presence of non-zero residual angular momentum. Bai et al. [
20] considered the situation where an underactuated rigid spacecraft only has two reaction wheels and studied the design of the attitude controller for the underactuated rigid spacecraft. Yao et al. [
21] designed three types of fixed-time controllers to achieve local stability control of the underactuated spacecraft, where the angular velocity and attitude of the underactuated axis could not fully converge to zero. Different from the traditional sliding mode control methods of Surganova [
22] and Dao [
23] in robot systems, the hierarchical sliding mode control law designed in this paper mainly targets fully underactuated systems rather than systems with power loss. The fundamental difference lies in the significant gap in the controllability of the system. In addition, the control law designed in this paper has strong robustness and strict finite-time convergence characteristics.
The attitude control of an underactuated spacecraft with a flywheel serving as the actuator has also been investigated. Ismail et al. [
24], Duan et al. [
25], Zhang et al. [
26], Alger et al. [
27], Ousaloo [
28], Jia et al. [
29], Golzari et al. [
30], and Bunryo et al. [
31] employed reaction wheels as actuators in attitude control.
In conclusion, despite extensive research on the attitude control of underactuated spacecrafts, most existing studies reveal that the attitude and angular velocity do not converge to zero but instead approach another constant value. Moreover, due to the complexity of analyzing the stability of intermediate hierarchy sliding variables, hierarchical sliding mode control methods are seldom applied in the control of underactuated spacecrafts. Additionally, prior research has largely focused on achieving asymptotic stability across three axes, with relatively few studies addressing finite-time convergent controllers. To address these gaps, this paper proposes a non-singular finite-time controller for the attitude stabilization of underactuated spacecrafts, based on a hierarchical sliding mode approach:
- (1)
A sliding surface is constructed through a non-singular terminal sliding mode method, and the hierarchical construction method is enhanced based on conventional hierarchical sliding mode control frameworks. Ultimately, a three-hierarchical non-singular terminal sliding surface is developed to ensure the stability of sliding variables at each hierarchy, thereby achieving finite-time stabilization of the spacecraft attitude.
- (2)
Compared to some previous studies, the control law designed in this paper can accommodate larger initial attitude without imposing restrictions on the initial conditions. Moreover, good convergence and robustness can still be guaranteed under large initial attitude conditions. This characteristic aligns with practical requirements in spacecraft attitude control.
In summary, most of the existing non-singular terminal sliding mode controllers are mainly designed for full actuated systems or partially failed fault systems, and their control objective is to achieve precise trajectory tracking or stability on all axes. However, for underactuated systems, the fundamental challenge lies in the nonholonomic constraint characteristics of the system, which makes it impossible for continuous time-invariant control laws to achieve asymptotic stability. The method proposed in this paper is specifically constructed for the structural characteristics of underactuated systems. By designing a three-hierarchy sliding mode surface, it actively utilizes and manages this underactuated constraint, ultimately achieving simultaneous finite-time stability of three axes, which is difficult to directly implement with traditional single-hierarchy non-singular sliding mode methods. In addition, the designed control law features stricter finite-time convergence characteristics, higher accuracy, and lower control torque requirements.
The remainder of this paper is organized as follows. In the second section, the dynamic model of an underactuated spacecraft is presented, and the parameterized attitude kinematic model for an underactuated system is established, enabling the decoupling of the underactuated axis from the other two axes. In the subsequent section, the designs of a three-hierarchy non-singular terminal sliding variable proposed based on the theory of hierarchical sliding mode control and a corresponding hierarchical terminal sliding mode control law with finite-time convergence are presented. In the next part, the finite-time convergence and stability of the sliding variable are demonstrated. Finally, the effectiveness of the control law proposed in this paper is verified through numerical simulation and comparative experiment.
5. Simulation Results and Analysis
To verify the correctness and effectiveness of the hierarchical terminal sliding mode control law proposed in this paper and achieve the purpose of finite-time convergence, numerical simulation is conducted. The simulation is set for the underactuated spacecraft with only two independent thrusters as inputs, where the Z axis has no thrust input, that is, the Z axis is the underactuated axis. Based on existing references, we select a typical type of asymmetric underactuated spacecraft as the simulation object and set the moment of inertia as , , . To validate the effectiveness of the designed control law in achieving satisfactory control performance for both small and large initial attitudes, this study conducts two sets of simulation experiments.
5.1. Small Initial Attitude Simulation
The first set focuses on a condition with a small initial attitude. The small initial attitude is set to . In addition, the initial angular velocity is set to .
To further alleviate the buffeting issue caused by the designed hierarchical sliding mode control law, the hyperbolic tangent function is employed to substitute the sign function . Using tanh instead of the signed function sign does not affect robustness; it only affects control accuracy. Although the accuracy will be slightly reduced, it can still meet the high-precision control requirements in practical applications.
The controller parameters designed in this simulation for small initial attitude are presented as follows:
,
,
,
,
,
. The aforementioned parameters were utilized for numerical simulation. To further prove the advantages of the designed control law, it is compared with the control law devised by Yao [
21] and the general sliding mode control law. Compared to the control law proposed by Yao and the general sliding mode control law, the control law introduced in this paper demonstrates superior advantages, and the comparison results are presented in
Figure 1,
Figure 2 and
Figure 3.
It can be observed from
Figure 1 and
Figure 2 that for the controller proposed in this paper, the angular velocity and attitude of the underactuated spacecraft, including the underactuated axis, converge to the stable point 0 approximately at 7 s, and the convergence process is relatively smooth, which differs from the buffeting phenomenon of general sliding mode control. Meanwhile, there exists a phenomenon that angular velocity and attitude of the underactuated axis always converge to the stable point prior to the other two axes, which reflects the hierarchical terminal sliding mode control concept designed in this paper, namely an appropriate control quantity
is always selected to ensure that the sliding variable
where the underactuated axis is located converges to zero first. At this point, the controller transforms into a degenerate controller that does not incorporate the angular speed and attitude of the underactuated axis, causing the system to exhibit a fully actuated state.
Compared to the control law proposed by Yao and the general sliding mode control law, the control law introduced in this paper demonstrates superior advantages.
Figure 1,
Figure 2 and
Figure 3 also illustrates the control performance of Yao’s designed control law and the general sliding mode control law on the attitude and angular velocity. First, Yao’s controller and the general sliding mode control law are consistent with traditional controllers in that it requires an initial angular velocity of zero. In contrast, the controller proposed in this paper does not require a zero initial angular velocity, thus offering broader applicability. Furthermore, the precision of Yao’s control law and the general sliding mode control law are lower than that of the hierarchical sliding mode control law developed in this study. Specifically, the proposed method in this paper enables the angular velocity to converge with a precision of
, whereas Yao’s method achieves only
. Additionally, this controller secures an attitude convergence accuracy of
, a significant improvement in the precision attainable with Yao’s controller. Meanwhile, the hierarchical sliding mode control law stabilizes the attitude in approximately 7 s, the control law of Yao stabilizes in approximately 10 s, while the general sliding mode control law stabilizes in close to 20 s, demonstrating the rapidity of the control law designed in this paper. Compared with the control law of Yao, the hierarchical sliding mode control law did not show an overshoot phenomenon. A comparison of the attitude and angular velocity along the underactuated axis for the three controllers further emphasizes these distinctions. The specific comparison of control performance is presented in
Table 1.
The calculation of energy consumption is quantitatively evaluated through a proxy index method. The proxy index is the total control action, that is, the integral of the absolute value of the control torque over time, which directly represents the fuel consumption. Mathematically, it is expressed as
The control law introduced by Yao and the general sliding mode control law do not ensure convergence of both the attitude and angular velocity to a stable point of zero but instead approach a constant value. In contrast, the hierarchical terminal sliding mode control law proposed here achieves convergence of both the attitude and angular velocity along the underactuated axis to a stable point of zero, ultimately reaching a stable configuration.
Furthermore, as demonstrated in
Figure 3, the controller proposed by Yao, the general sliding mode control law, and the hierarchical sliding mode controller introduced in this paper are capable of rapidly and smoothly driving the control torque to zero. However, the hierarchical sliding mode controller presented in this study requires a smaller control torque, thereby providing enhanced applicability. The smaller control torque also means less energy is consumed, making it more suitable for engineering applications. The specific fuel consumption comparison is shown in
Table 1. In addition, the hierarchical sliding mode control law proposed in this paper does not exhibit oscillation phenomena near the stable point, which is not possessed by Yao’s control law. Although general sliding mode control law does not show detailed oscillation either, its convergence rate is much lower than that of the hierarchical sliding mode control law.
To further verify the universality of the control law designed in this paper, a set of other small initial states were selected for simulation. The initial attitude is set to
and the initial angular velocity is set to
. The results are shown in
Figure 4.
5.2. Large Initial Attitude Simulation
In contrast to previous studies on the attitude control of underactuated spacecrafts, the control law proposed in this paper demonstrates effective performance even with a larger initial attitude. The large initial attitude is set to . The controller parameters used in this simulation are largely consistent with those employed in a condition of a small initial attitude. However, to ensure non-singularity of the controller, the singularity avoidance parameter needs to be adjusted. In this simulation, . To demonstrate the robustness of the designed control law against external disturbances, the external disturbance is set as , and .
The simulation is also compared with Yao’s control law and the general sliding mode control law, and the specific simulation results are shown in
Figure 5,
Figure 6 and
Figure 7. The results show that, including the underactuated axis, the spacecraft’s three-axis attitude successfully converges to zero with an accuracy of
. Simultaneously, the angular velocity across all three axes also converge rapidly to zero, achieving a precision of
. Under conditions of large initial attitudes and identical disturbances, the controller developed in this study demonstrates advantages over the controller proposed by Yao across multiple dimensions. First, regarding robustness, the convergence accuracy of both attitude and angular velocity is significantly higher than that achieved by Yao’s controller and the general sliding mode control law, with improved disturbance rejection capabilities. In terms of convergence speed, both the hierarchical sliding mode control law and the Yao control law converge at around 6 s, which is far ahead of the 15 s of the general sliding mode control. However, in terms of overshoot, the hierarchical sliding mode control law does not have an overshoot, which is superior to the small overshoot of the Yao control law. The specific comparison of control performance is presented in
Table 2. Additionally, the proposed controller ensures that the angular velocity and attitude of the underactuated axis converge to zero, whereas Yao’s controller and the general sliding mode control law only enables convergence to a constant value.
Furthermore, under the same disturbance, while the final control torques generated by the three controllers tend to the same level, the initial control torque required by Yao’s controller and the general sliding mode control controller is substantially higher, demanding greater energy consumption, which may limit its practicality in engineering applications. The specific fuel consumption comparison is shown in
Table 2.
The convergence behavior remains largely consistent under larger initial attitude and smaller initial attitude conditions. The angular velocity and attitude stabilize and smoothly converge to zero, though the convergence process differs slightly, with the convergence accuracy being marginally lower for larger initial attitudes. Additionally, it is noticeable that the convergence speed of the underactuated axis decreases, which is attributed to the finite-time convergence nature of the control law, inherently linking the convergence time to the initial values of the angular velocity and attitude of the underactuated spacecraft. Furthermore, in contrast to the condition with smaller initial attitudes, the control torque for larger initial attitudes exhibit fluctuations, reflecting a more complex dynamic behavior than that observed in the smaller initial attitude case.
To further verify the universality of the control law designed in this paper, another set of large initial states was selected for simulation. The initial attitude is set to
and the initial angular velocity is set to
. In addition, to better align with the actual situation, considering the aforementioned external interference torque, Gaussian white noise interference and sensor measurement noise were added. The noise parameters were set at the
level. The results are shown in
Figure 8.
6. Conclusions
This paper investigates the attitude control problem of an underactuated spacecraft equipped with thrusters in only two directions. To achieve tri-axis stabilization of underactuated spacecraft, a kinematic model using w-z parameters was employed, and a hierarchical sliding mode control law was proposed. The global finite-time stability of the sliding variables was proven using the Lyapunov stability theorem and finite-time convergence theory. Finally, numerical simulations validated the effectiveness and correctness of the proposed control law, demonstrating that the angular velocity and attitude (including the underactuated axis) can converge rapidly and stably to the equilibrium point, regardless of whether the initial attitude is large or small, thus addressing the shortcomings in controlling the underactuated axis. Notably, the core concept of the hierarchical terminal sliding mode control framework introduced in this work—sequentially addressing underactuated constraints and achieving finite-time stability through the construction of multi-layer sliding mode surfaces—is inherently generalizable. This approach is expected to be extendable to other actuator types, such as reaction wheels (RWs) and control moment gyroscopes (CMGs). Furthermore, the proposed control structure, particularly the design principle of the hierarchical sliding mode surface, can be directly adapted to the controller design of similar systems by incorporating appropriate actuator models.
Another challenge in the attitude control system of underactuated spacecraft is robustness. Given the underactuated spacecraft’s limited ability to cope with external disturbances, inertia uncertainties, and flexible appendages, a sliding mode control method integrated with an adaptive approach to adjust system parameters is used to address issues of disturbances and uncertainties. Furthermore, considering the hierarchical structure of the system model, a regression control method is proposed to enhance the robustness of the attitude control system for underactuated spacecrafts. This approach will require further development and refinement in future work.