1. Introduction
Quadrotor unmanned aerial vehicles (UAVs) emerge as a prominent area of focus in current low altitude transport research due to their simplicity, high agility, and particularly their vertical takeoff and landing capabilities [
1,
2,
3]. They are extensively utilized in various capacities such as cargo transport, rescue and disaster relief, and construction surveying [
4,
5,
6]. However, the introduction of loads increases the complexity of the entire system; more significantly, if the load swings excessively during transport, the cables may become entangled with the propeller, leading to potential system failure [
7]. In response to these challenges, researchers proposed corresponding control methods that yielded some success in UAV position control and swing angle suppression.
UAV control technology has developed rapidly in recent years, and researchers have applied both PID and LQR to UAV control with good results. Eltayeb [
8] and Zhang [
9] devised a fuzzy PID controller that employs fuzzy logic for the adaptive adjustment of PID control parameters. References [
10,
11,
12] explored the utilization of the linear quadratic regulator (LQR) algorithm in quadrotor control. The researchers linearized the nonlinear dynamic model of the quadrotor and implemented the LQR controller for attitude and position control. In reference [
13,
14], the authors applied FOC and sliding mode control to the control of quadrotor which showed good results. The fractional order sliding mode observer was designed in reference [
15,
16], and the results showed that it is more robust than the classical sliding mode observer. FOC shows great potential in enhancing the stability and robustness of UAV controllers, especially in dealing with uncertainty and perturbations. In the existing research, adaptive control methods are widely used in underactuated systems, which can solve the disturbance problems caused by position parameters in nonlinear systems. Most models of quadrotor UAVs are based on the assumption that the mass is constant, but such assumptions do not hold in practice. In actual quadrotor missions, uncertainty and unknown payload mass are inevitable. Therefore, it is necessary to introduce an adaptive control method into a quadrotor system.
Sliding mode control offers the benefits of robustness, adaptability to nonlinearity, and rapid transient response, making it particularly well-suited for complex systems with high uncertainty. Feng proposed non-singular terminal sliding modes in [
17]. By designing a non-singular, nonlinear sliding mode surface, a faster rate of convergence is achieved, and effective control is ensured in all states without fear of the problem of singular failure. In recent years, this control method was applied to the control of quadrotor UAVs with good control results. For example, in [
18], the authors applied a second-order sliding mode controller for altitude control of a quadrotor, demonstrating superior performance compared to three other reference controllers discussed in the paper. Ding [
19] and Pan [
20] proposed an adaptive sliding mode attitude controller that ensures a high convergence rate, even in the presence of model uncertainties and external disturbances. Lyapunov’s method is a key approach in control theory for analyzing the stability of nonlinear systems. By constructing a suitable positive definite function with a negative definite derivative under the system dynamics, this method facilitates the design of control algorithms that ensure stability. The authors in [
21] developed an integral adaptive sliding mode controller utilizing the Lyapunov method to tackle challenges arising from variable payloads and external disturbances in quadrotor systems, with simulation results confirming the robustness of this approach. By incorporating nonlinear terms into the sliding surface, a terminal sliding mode was developed to improve system convergence. In [
22,
23,
24], scholars implemented non-singular fast terminal sliding mode control in quadrotor systems. The simulation results indicated a significant enhancement in system performance and successful mitigation of singularity issues. In [
25,
26,
27], researchers integrated the terminal sliding mode with adaptive control technology and applied it to quadrotor control. The findings demonstrated that the controller significantly improved the system’s resistance to interference, reduced buffeting, and enhanced the system’s response rate. Hence, the controller design in this paper is achieved through the integration of adaptive control and non-singular fast terminal sliding mode.
The main method of using unmanned aerial vehicles (UAVs) to operate on overhanging loads is to attach the loads to the quadrotor with cables [
28], as shown in
Figure 1. Researchers have developed various control methods based on this framework. Reference [
29] tackled the overshoot issue in suspended systems by developing an adaptive control scheme grounded in Lyapunov theory, allowing for precise positioning and swing suppression of the quadrotor amidst external disturbances. To achieve global control of the system, [
30] utilized the differential flatness of the system dynamics to design a feedback subsystem based on load trajectories and cable orientations, which significantly enhanced the maneuverability of the system. In [
31], a feedback linearization approach was employed to develop inner and outer loop controllers, resulting in exponentially rapid convergence for both the quadrotor’s position and load swing. The validation results on an experimental platform confirmed the effectiveness of this controller. Reference [
32] developed a load swing suppression system utilizing sliding mode control. Simulation studies with varying cable lengths demonstrated the effectiveness of this control strategy in reducing the maximum swing angle of the load and eliminating residual vibrations. Similarly, Shi [
33] analyzed the periodic disturbances caused by load swings in suspended systems and implemented a disturbance observer to compensate for these effects. Both simulation and real-time experimental results demonstrated HESO effectiveness in accurately estimating periodic disturbances, thereby greatly improving the robustness of the system. In all of the aforementioned studies, the cable was treated as a rigid bar, neglecting its deformation during motion. While this simplification was reasonable within the context of the study, it may not be adequate in situations where cable deformation needs to be taken into account. Additionally, the deformation of the elastic bar introduces additional vibration, thereby complicating system control and impacting load stability and precise positioning.
The quadrotor is inherently underactuated, and this characteristic is further pronounced when a load is suspended beneath it, particularly with the added complexity of a variable cable length. Consequently, the inclusion of a variable cable length introduces greater challenges in controlling the system. In recent years, researchers made advancements in quadrotor suspended systems with variable cable lengths. The authors in [
34] conducted an analysis of time-varying cables and developed a controller utilizing non-linear coupled feedback signals to achieve swing angle suppression and trajectory tracking. In a similar vein, the research in [
35] involved an analysis of a variable-length cable suspension system and the evaluation of interaction forces between the quadrotor and the load, with control references being generated through trajectory planning. In [
36], with variable cable lengths, the authors developed a three-dimensional model of the quadrotor and designed an energy coupling-based swing suppression strategy that dissipated energy to eliminate load swings. Simulations confirmed the effectiveness of this method even in the presence of disturbances. The authors in [
37] examined the impact of cable elasticity and developed a two-dimensional suspension system model. They developed a nonlinear controller based on this model, establishing the stability of the controller using Lyapunov invariance theory and validating its effectiveness through simulation results. The researchers in [
38] conducted a study on load uncertainty and developed an adaptive controller to estimate mass variations during flight. Referring to [
39], authors utilized a spring-damper system to model the connecting cables and developed a controller based on energy methods, while also employing an adaptive controller to estimate system mass. In comparison to traditional rigid cables, variable-length and elastic cables are better suited for practical application needs. The controller was reconfigured to accommodate the variable length quadrotor suspended system in the aforementioned study. The objective of this research was to achieve comprehensive system control by incorporating a feedback signal, while maintaining the original controller’s structural integrity.
The main innovations and contributions of this article are outlined as follows:
The connecting cables were modeled as a spring-damper system to analyze the impact of elastic deformation on the quadrotor system, and air resistance was included to simulate the swing damping of the load, thus establishing a dynamic model.
The load swing is caused by the quadrotor’s flight. Expanding on this principle, a novel control strategy was proposed that integrates the swing angle controller with the horizontal position controller of the quadrotor, enabling both position tracking and suppression of swing angle. The controller proposed in this paper is capable of controlling the quadrotor even in the absence of a suspension load.
An adaptive controller was developed using non-singular fast terminal sliding mode control, incorporating a switching function and estimating the tension of the cable to mitigate the impact of unknown load weight and cable length on the system in multitasking scenarios.
The organizational structure of this paper is as follows: In
Section 2, the dynamic model of the quadrotor elastic suspension system is presented.
Section 3 introduces the control design process based on the non-singular fast terminal sliding mode control method, detailing the attitude controller, position controller, and swing angle controller.
Section 4 describes simulated experiments performed to verify the effectiveness of the proposed controller. Finally, in
Section 5, a summary of the paper’s content is provided along with future work directions.
3. Controller Design
The quadrotor elastic suspension controller comprises an inner attitude controller, an outer position controller, and a swing angle controller. This paper employed the non-singular fast terminal sliding mode approach for controller design to improve control accuracy. Compared to traditional linear sliding mode control, the terminal sliding mode surface incorporates nonlinear terms to enhance convergence speed. With a carefully designed parameter configuration, the system avoids the singularity problem when the error approaches zero, thereby achieving superior control accuracy and rapid response. This makes it particularly well-suited for high-performance control of nonlinear systems. The control framework of the system is depicted in
Figure 3.
For QSPSE, the state variables are defined as follows:
The state error is defined as follows:
Based on the dynamic equations, each state variable of the quadrotor elastic suspension system can be represented as a second-order system. To control this system effectively, a non-singular fast terminal sliding surface applicable to any second-order system was designed in this paper and expressed as follows:
By differentiating the Equation (19), we obtain the following:
where,
and
are positive constants.
,
,
, and
are all positive odd numbers, and
,
,
.
The state equations for a second-order system can be expressed in the following form:
where
and
represent the system’s state variables, which are defined in Equation (17). In the case of position,
represents velocity and
represents acceleration.
is a nonlinear function of the system, describing the inherent dynamics of the system.
represents the control input, which is a function that relates to the control input and describes its impact on the system’s dynamics.
For the control system described in this paper, the approaching law was set to be an exponential approaching law, expressed as follows:
According to Equations (18)–(22), the expression for the control input of any second-order system is given by the following:
All controller designs presented in this paper were derived from this method, and their stability established using the Lyapunov method. Substituting Equation (23) into Equation (21) and combining it with Equation (20) yields the derivative of the sliding surface as below:
The Lyapunov function is constructed as follows:
Taking the derivative of Equation (25) yields the following:
Taking the derivative of the sliding surface into the Equation (26) gives the following:
Combined with the definition of , can be obtained. The sliding mode surface is reachable, the controller is stable.
3.1. Attitude Controller Design
The form of the attitude dynamics equation written as Equation (21) is as follows:
where
By substituting Equation (28) into Equation (23), the attitude control equation can be obtained:
The attitude loop equation is similar, and the controller design method is the same. The roll angle
is taken as an example to prove its stability, and the following Lyapunov function is constructed:
Take the derivative of (33), you obtain the following:
Combined with the definition of and , can be obtained. To sum up, can be obtained, the sliding mode surface is reachable, the controller is stable.
3.2. Position Controller Design
3.2.1. Altitude Controller Design
The damping term in the dynamic model is primarily included to represent the complexities of the physical environment and has no impact on controller design. The mass of the load primarily affects the tension and length of the cable, and these two quantities are challenging to measure. An adaptive controller is integrated into the altitude control system to estimate cable force and cable length, addressing challenges associated with measuring cable tension and length in practical applications, thereby mitigating the effects of the unknown load mass by calculating the cable force.
The altitude equation can be written in the form of Equation (21):
where
By substituting Equation (35) into Equation (23), we can obtain the altitude control equation:
In order to prove the stability of the controller, the following Lyapunov function is constructed:
where,
represents the error between the estimated uncertainty and the actual uncertainty. This is defined as follows:
On assuming that the vertical component of the cable’s force changes slowly, the following simplifications can be obtained:
By differentiating the Equation (38), we obtain the following:
The adaptive law can be expressed as follows:
By combining Equation (42) and the definitions of and , can be obtained. The sliding mode surface is reachable, the controller is stable.
To adapt to different task scenarios and quickly respond to changes in parameter uncertainties, the following switching function is designed:
Thus, the estimated values of the cable force and cable length can be obtained:
3.2.2. Horizontal Position Controller
To facilitate the design of the swing angle controller, a virtual control input is established for the horizontal position controller:
The horizontal dynamic equation can be written in the form of Equation (21):
where
By substituting Equation (47) into Equation (23), we can obtain the horizontal position control equation:
The dynamic equation of the horizontal position and the dynamic equation of the altitude are identical in form, and the same controller design method is used, so the proof process is similar.
The desired attitude angle can be determined using virtual control variables:
3.3. Anti-Swing Controller
The virtual control input for the rotation angle controller is defined in a manner consistent with that of the virtual control for the horizontal position:
where
The expression from Equation (51) is substituted into Equation (11) and rewritten in the form of Equation (21), as depicted below:
where
By substituting the Equation (53) into Equation (23), the swing angle control equation can be obtained:
is taken as an example to prove the stability of the above control. The following Lyapunov function is constructed:
Taking the derivative of the above expression, the following expression is obtained:
Combined with the definition of and , can be obtained. To sum up, can be obtained, the sliding mode surface is reachable, the controller is stable. The controller stability of is proved to be similar to that of .
The virtual control variables for swing angle and horizontal position are coupled in the following way:
At this point, the desired attitude angle equation is adjusted to the following format:
In sliding mode control, the high-frequency switching of control inputs can lead to chattering in the system. To address this issue, the sign function in the control equation is substituted with a saturation function, defined as follows:
4. Results
This section presents the simulation and evaluation of the proposed control scheme for the QSPSE using the MATLAB/Simulink platform. The performance of the proposed scheme is compared with that of the based energy control method in [
39] and the PID−LQR control method in [
45]. The LQR controller is employed for the attitude loop, while the PID controller is utilized for the position loop in the context of a PID−LQR controller. For the other controllers in the paper, the mass of the load is known. The control parameters utilized in this study are provided in
Table 2 and
Table 3.
This study evaluated the performance of the proposed controller by examining three task scenarios. The first scenario focused on maneuvering the quadrotor to a predetermined position with the initial load swing angle set at 0°. In the second scenario, the second scenario began with the load at an initial swing angle, and the controller guided the quadrotor back to the original position while managing the load’s swing. The third scenario involved controlling the quadrotor to follow a predefined trajectory. The simulation was conducted under ideal conditions, meaning that there is no wind or external interference. The simulation lasted for 15 s, with a step size of 0.001 s, and the solver was set to ODE1 Euler solver.
4.1. Case 1: Stationary Hover
The quadrotor was controlled to fly to the designated position and achieve a stationary hover. The initial and target values of each state variable in the QSPSE were set as follows:
The designed controller was applied to QSPSE, and numerical simulations were conducted for the aforementioned task scenarios, with results presented in
Figure 4,
Figure 5,
Figure 6,
Figure 7 and
Figure 8. The red curve represents the proposed controller, the blue curve signifies the energy-based controller, the green curve corresponds to the PID−LQR controller, and the black curve indicates the steady-state values of the state variables.
Figure 4 and
Figure 5 show that all three controllers effectively steer the drone to the target location. The proposed controller makes the UAV attitude change less, and the platform stability is improved.
Table 4 indicates that the proposed controller exhibits a smaller overshoot, with a reduction of 34.1% compared to the PID−LQR controllers and a decrease of 74.1% compared to the energy-based controller.
Figure 4.
The position control of quadrotor in Case 1.
Figure 4.
The position control of quadrotor in Case 1.
Figure 5.
The attitude control of quadrotor in Case 1.
Figure 5.
The attitude control of quadrotor in Case 1.
Figure 6 and
Table 5 show that the proposed control strategy effectively mitigates load swing, leading to a decrease in swing amplitude and an accelerated convergence rate. The proposed controller in this paper theoretically increases the feedback of the swing angle controller as the swing angle increases. Consequently, the calculated attitude angle and position loop output decrease, resulting in slower movement of the quadrotor. The UAV position loop was coupled with the swing angle feedback to achieve position control, leading to a small overshoot while reducing the amplitude of the load swing angle.
Table 5 shows that the swing angle overshoot is reduced by 71.2% and 64.9%, respectively, compared to the energy-based controller, and by 53.1% and 51.3% compared to the PID−LQR controller.
Figure 6.
The curve of load swing angle in Case 1.
Figure 6.
The curve of load swing angle in Case 1.
Figure 7 shows the fluctuation of the cable length. It can be seen from the figure that the cable length of the other two controllers has obvious oscillation, which is not conducive to the stability of the system. The proposed controller makes the cable reach the stable value quickly, which is more conducive to the stability of the system.
Figure 7.
The curve of the length of cable in Case 1.
Figure 7.
The curve of the length of cable in Case 1.
Figure 8 depicts the comparison between the estimated and actual values of the cable tension and length, with specific values outlined in
Table 6. The estimated errors are 6.7% and 2.3%, respectively. The findings indicate that the adaptive controller effectively mitigates the impact of unknown load mass on the system, thereby enhancing the system’s capacity to adapt to uncertain parameters.
Figure 8.
Estimation curve of cable force and cable length in Case 1.
Figure 8.
Estimation curve of cable force and cable length in Case 1.
The simulation above shows that in a stable system, each state variable will either converge to a steady state or oscillate within a small range with minimal impact. Due to the presence of numerous state variables, directly evaluating system stability is relatively complex. To address this issue, this paper introduced energy as a criterion for evaluating system stability. When the system is in a stable state, both the quadrotor and the load remain stationary, indicating zero kinetic energy. As such, the kinetic energy of the load serves as a metric for assessing load stability, while that of the quadrotor can be utilized to gauge position control stability. The overall kinetic energy is employed to determine system stability.
Figure 9 depicts the kinetic energy changes of the system and its internal components, from which the stability time of the system can be determined.
Table 7 presents the adjustment time of the system, with the proposed controller system having the shortest stability time at 5.37 s, which is 9.7% higher than that of the PID−LQR controller and 54.1% higher than that of the energy-based controller.
4.2. Case 2: Anti-Swing Control
Given an initial swing angle, the control system aims to suppress the angle and return the quadrotor to its starting position. The initial values and desired values for each state variable of the QSPSE are set as below. The simulation results are presented in
Figure 10,
Figure 11,
Figure 12,
Figure 13 and
Figure 14.
In this scenario, the initial swing angle of the load is non-zero, resulting in an overall system instability. The current control objective is to stabilize the load swing and maintain the quadrotor’s position unchanged.
Figure 10 and
Figure 11 depict the position and attitude control curves of the quadrotor, showing that three controllers effectively return the quadrotor to its initial position. The attitude angles display only minimal fluctuations, showcasing robust disturbance rejection performance.
Table 8 shows detailed data regarding the amount of overshoot in position control in Case 2.
The load swing angle curve depicted in
Figure 12 shows the effectiveness of the proposed controller in mitigating swing angle, leading to a more rapid reduction in amplitude and rapid stabilization. The overshoot value of the load swing angle is detailed in
Table 9, providing evidence that the control method presented in this paper yields a smaller swing amplitude for the load. The overshoot of the swing angle exhibits reductions of 15.2% and 29.3% in comparison to the PID−LQR controller, and decreases of 21.5% and 30.8% compared to the energy-based controller. The load swing theoretically causes the quadcopters to move near to the initial point. In conjunction with Case 1, it can be observed that enhanced position tracking correlates with increased motion velocity, thereby yielding a greater swing angle. The controller developed in this paper separates the design of position control and swing angle control controllers, coupling the two control quantities. Compared to other controllers, a larger overshoot is traded for a smaller swing angle overshoot, thereby accelerating the convergence rate of the swing angle.
Figure 13 shows that the proposed controller accelerates the convergence of cable length to a stable value, providing further evidence of its contribution to system stability.
Figure 14 and
Table 10 illustrate the simulation results of the adaptive controller. The estimated error of the adaptive controller is 5.1% for the cable tension and 1.7% for the length of cable. The energy change curve is depicted in
Figure 15, while the system’s adjustment time is detailed in
Table 11.
Figure 15 shows the kinetic energy changes of the system and its components in Case 2.
Table 11 shows the adjustment time of the system. Compared with the PID−LQR controller, the proposed controller’s adjustment time is 12.3% faster and 21.9% faster than the monthly energy-based controller.
Under Case 2, a square-wave signal with an amplitude of 2 and a duration of 1 s is superimposed onto the fifth second of the angular acceleration curve for the swing angle. The system is subjected to simulated external forces and loads, and its response is observed. The simulation results are presented below.
As shown in
Figure 16 and
Figure 17, despite the interference of external forces, the UAV is still able to return to its initial position, and the swing angle will quickly converge to 0.
4.3. Case 3: Spiral Ascent
The initial values and desired values for each state variable of the QSPSE are set as follows:
The simulation results are depicted in
Figure 18,
Figure 19,
Figure 20,
Figure 21 and
Figure 22. Analysis of
Figure 18 and
Figure 19 illustrates that the proposed control strategy surpasses the energy-based controller and PID−LQR controller in tracking the sinusoidal trajectory, exhibiting reduced variations in the quadrotor’s attitude angles and leading to improved platform stability. The proposed controller has a 92.1% reduction in phase lag compared to the PID−LQR controller for the x position, and an 89.9% reduction compared to the energy-based controller. For the y position, the proposed controller has an 89.1% reduction in phase lag compared to the PID−LQR controller and an 89.2% reduction compared to the energy-based controller.
Figure 20 and
Table 12 show that the energy-based controller leads to a greater swing angle, reaching a peak value twice as large as that of the proposed controller, thus adversely affecting system stability. For
, the maximum swing angle is reduced by 1.7% and 4%, respectively, compared to the other two controllers. For
, the proposed controller reduces the maximum swing angle by 55.1% compared to the PID−LQR control and by 65.4% compared to the energy-based controller.
The variation in cable length, as depicted in
Figure 21, illustrates that the energy-based controller and PID−LQR controller induce larger fluctuations in cable length due to the increased swing angle, while the proposed controller maintains only minor fluctuations around the stable value without significant oscillation. The adaptive results shown in
Figure 22 and
Table 13 indicate that the proposed adaptive strategy exhibits minimal estimation error in this task scenario. Combining these two scenarios, it can be concluded that the adaptive controller is capable of meeting the control requirements across different character scenes. In this scenario, the estimated error of the adaptive controller is less than 1%. The kinetic energy change of the system is illustrated in
Figure 23. It can be observed from the figure that the controller proposed in this paper tends to stabilize the energy change more rapidly, indicating that the system is already in a stable state.
5. Conclusions
This study focused on the elastic suspended system of a quadrotor, in which the connecting rod was modeled as a spring-damper system to facilitate the development of a corresponding mathematical model. Based on this model, a sliding mode controller for the quadrotor was designed. In order to effectively suppress load swing during position tracking, a swing angle controller was also implemented, integrating processed swing angle feedback into the quadrotor’s position control loop. Simulation results demonstrated that the proposed controller can not only quickly position the quadrotor at the target location or along a predefined sinusoidal trajectory but also effectively mitigate load oscillations. Even with an initial swing angle, the controller successfully returns the quadrotor to its starting position, showcasing strong control performance. The proposed control strategy effectively tracks the sinusoidal signal while significantly suppressing load motion, achieving system stability. Additionally, the adaptive control strategy adeptly estimates the cable’s force in various scenarios, mitigating the impact of mass uncertainty on the overall system and resulting in excellent control outcomes.
In a realistic environment, intricate airflow patterns, communication delays, sensor noise, and external disturbances can have a significant impact on control accuracy and stability, thereby increasing the complexity of system debugging. Future work will focus on validating and enhancing response experiments based on experimental data to improve result reliability. Additionally, research efforts should concentrate on addressing the uncertainty of model parameters in quadrotor unmanned transport systems and potential external disturbances during transportation. Given the underactuation of the quadrotor UAV itself, there is practical value in delving into robust controller design with strong anti-jamming capabilities.