Research Article  Open Access
Robust Integral Terminal Sliding Mode Control for Quadrotor UAV with External Disturbances
Abstract
The purpose of this paper is to solve the problem of controlling of the quadrotor exposed to external constant disturbances. The quadrotor system is partitioned into two parts: the attitude subsystem and the position subsystem. A new robust integral terminal sliding mode control law (RITSMC) is designed for stabilizing the inner loop and the quick tracking of the right desired values of the Euler angles. To estimate the disturbance displayed on the axis and to control the altitude position subsystem, an adaptive backstepping technique is proposed, while the horizontal position subsystem is controlled using the backstepping approach. The stability of the quadrotor subsystems is guaranteed by the Lyapunov theory. The effectiveness of the proposed methods is clearly comprehended through the obtained results of the various simulations effectuated on MATLAB/Simulink, and a comparison with another technique is presented.
1. Introduction
1.1. Background and Motivation
Over the last decade, the robotic field has attracted great attention from researchers, in particular, the unmanned aerial vehicle (UAV). The quadrotor is a type of drone, which consists of four rotors. This last has a simple mechanical structure. The quadrotor can land vertically and take off. The quadrotor has been used in many applications such as military missions, journalism, disaster management, archaeology, geographical monitoring, taxi services, search/rescue missions, environmental protection, performing missions in oceans or other planets, mailing and delivery, and other miscellaneous applications [1, 2]. Therefore, the quadrotor is a strongly coupled and highly nonlinear system. The quadrotor is an underactuated system, because the six DOF (, , , , , and ) should be regulated by the four controls.
In order to control the quadrotor in a closed loop, many techniques have been designed such as the backstepping control, fuzzy logic based on intelligent control, sliding mode control, adaptive control approaches, neural network method, intelligent fuzzy logic control, model predictive control [3], hybrid finitetime control [4], proportional derivative sliding mode control [5], nonlinear PID controller [6], and adaptive fractional order sliding mode control [7].
1.2. Literature Review
In Reference [8], nonlinear control techniques are designed for the quadrotor’s position and attitude. The attitude loop uses the regular sliding mode controller. The backstepping technique is combined with a sliding mode control to design robust controllers for the outer loop and the yaw angle. In order to estimate the quadrotor UAV fault, an observer is developed. In Reference [9], a secondorder sliding mode control technique is developed to control an underactuated quadrotor UAV. In order to select the best coefficient of this proposed controller, the Hurwitz analysis is used. The control approach allows converging the state variables to their reference values and ensuring the stability of the quadrotor system. In Reference [10], a global fast terminal sliding mode control technique is developed for a quadrotor UAV. The controller allows solving the chattering problem, stabilizing the vehicle, and converging all state variables to zero. In Reference [11], a nonsingular fast terminal SMC technique has been established for the stabilization and control of uncertain and nonlinear dynamical systems based on a disturbance observer. In Reference [12], an adaptive control method based on the sliding mode technique is developed for tracking control and for the stability of an uncertain quadrotor. The quadrotor unknown parameters are estimated at any moment. The proposed control laws guarantee the stability of the quadrotor system and recommend that the state variables converge to their origin values in finite time. A combination of sliding mode control and integral backstepping techniques is presented in Reference [13]. The control strategy allows tracking of the flight trajectory in the presence of the disturbances and stabilizing of the attitude of the UAV. In Reference [14], a nonsingular fast terminal sliding mode (NFTSM) method is designed to obtain the good performance of the quadrotor attitude. The tracking errors of the quadrotor are converged to zero through this controller. In the study by Reference [15], a fast terminal SMC approach is proposed for the tracking control problem of a nonlinear massspring system in the presence of noise, exterior disturbance, and parametric uncertainty. The proposed controller is confirmed via both experimental and simulation results. In Reference [16], a highorder sliding mode observer is combined with a nonsingular modified supertwisting algorithm to propose a solution for the trajectorytracking problem of unmanned aerial systems (UAS). The proposed approach techniques offer an estimation for the translational velocities of the quadrotor and improve the robust performance ability of the UAV system against external disturbances. In Reference [17], an adaptive supertwisting based on the terminal sliding mode technique is applied on the fourthorder systems. The experimental results of the proposed control scheme are presented. In Reference [18], a terminal sliding mode controller for the yaw and altitude subsystems is designed. A sliding mode technique is developed to control the quadrotor underactuated subsystem. In Reference [19], two nonlinear control techniques (backstepping and sliding mode controllers) are suggested to solve the tracking trajectory problem in the presence of relatively high perturbations, problems of the quadrotor system affected by input delays, parametric uncertainties, unmolded uncertainties, and timevarying state and external disturbances; a robust nominal controller and a robust compensator are proposed in Reference [20] to solve the process.
1.3. Contribution
In this paper, a robust integral terminal sliding mode control method is proposed for a quadrotor attitude. Then, an integral terminal sliding mode surface is used for the attitude of the quadrotor to ensure tracking errors converge to zero in short finite time. The RITSMC scheme is designed based on the Lyapunov theory. However, an adaptive backstepping is designed to estimate the unknown external disturbance acting in the axis and to control the altitude subsystem. The backstepping technique is used to control the horizontal position of the quadrotor in the presence of external perturbations. The contribution of this paper is given by the following points: (i)A novel hybrid control structure of the quadrotor system subject to underactuated, kinematicsdynamics couplings, and external disturbances is proposed(ii)An RITSMC is proposed for the quadrotor attitude to eliminate singularities without adding any constraints compared to TSMC and to reduce the chattering effect in the conventional SMC(iii)An AB control approach commands the altitude of the quadrotor and estimates the disturbances at any moment simultaneously
1.4. Paper Organization
The rest of the paper is structured as follows: the formulation of the quadrotor system is given in Section 2. The new RITSMC and the adaptive backstepping techniques are presented in Section 3. The numerical simulation results are prepared in Section 4. Finally, the conclusions are exposed in Section 5.
2. The System Modeling
The quadrotor is equipped with four rotors as shown in Figure 1. The bodyfixed (, , , and ) and earthfixed (, , , and ) frames are defined. The absolute position of the quadrotor is defined by the vector . The vector represents the Euler angles. The angular and linear velocities of the quadrotor are defined by the vectors and , respectively.
In this context, the formalism of NewtonEuler is used to obtain the quadrotor model [19, 21, 22]:
is the rotation matrix
The coordinate transformation is given by the rotation matrix:
We use to and to . represents the total mass of the quadrotor, is a density matrix, and denotes the matrix moment of the inertia. is the total thrust; this expression is given by where , is the angular speed and is a parameter that depends on the air density and blade geometry. denotes a skewsymmetric matrix. , , and are the resultant of the aerodynamic friction torque, the resultant of the gyroscopic effect torque, and the torque developed by the four rotors of the quadrotor, respectively. These expressions can be given, respectively, as follows: where , , and represent the friction aerodynamics parameters.
denotes the rotor inertia. is the drag coefficient and is the distance between a propeller and the center of the quadrotor. The complete quadrotor dynamics in the presence of external disturbances referred to in [22] is as
The relationship between the quadrotor inputs and the propeller speeds of the quadrotor can be written as follows [22]:
The dynamic model of the quadrotor position subsystem has three outputs (, , and ) and one control input . In order to solve the underactuated problem, three virtual control (, , and ) inputs using adaptive backstepping and the backstepping technique are designed. The virtual control inputs are given as follows:
Therefore, the desired roll, pitch, and yaw angles () and the total thrust can be obtained as follows:
3. Controller Design and Stability Analysis
This section presents the robust nonlinear controller for the quadrotor UAV in the presence of external perturbations. The proposed control of the quadrotor is divided into the inner loop and the outer loop. For the outer loop, an adaptive backstepping (AB) controller for the altitude subsystem is designed. The AB method ensures the tracking of the desired altitude and an accurate estimation of the unknown perturbation acting on the altitude subsystem. The backstepping technique is used to obtain the virtual control (, ). For the inner loop, a new robust integral terminal sliding mode control (RITSMC) is proposed. The attitude controller generates the rolling, pitching, and yawing torques to control the orientation of the quadrotor in the presence of external disturbances. Finally, the proposed control strategy solves the trajectory problem in short finite time with accuracy of the system performance. The general proposed control scheme is shown in Figure 2.
3.1. Adaptive Backstepping Control for Altitude Subsystem
Define tracking error of the altitude subsystem as
Consider the Lyapunov candidate function:
Taking the time derivative of equation (12)
The virtual control law is where is a positive constant.
Define the tracking error of step 2 as
The virtual control and adaptive law of the altitude subsystem are given by equation (16) and equation (17), respectively: where and are the positive parameters and denotes the estimate of .
Proof. The Lyapunov function is considered as follows: The time derivative of is given as Considering the control law equation (16) and adaptive law equation (17), we get
3.2. Backstepping Control for Horizontal Position Subsystem
In this part, the backstepping technique is used to control the horizontal position of a quadrotor.
Introduce the tracking errors of the and positions:
Define the Lyapunov candidate function as
The time derivatives of equations (23) and (24) are given by
From equation (25), the virtual control laws are where are the positive constants.
Consider the tracking errors of step 2 are given as
The virtual control laws of the horizontal subsystems are given by
Proof. Using the same, procedure presented in the subsection 3.1 demonstrate the stability of horizontal subsystem.
3.3. Robust Integral Terminal Sliding Mode Control Laws for Attitude Subsystem
In order to solve the chattering phenomenon and to eliminate the singularity in a TSMC, a robust nonlinear controller based on the integral terminal sliding mode technique is designed for the quadrotor attitude.
Introduce the tracking errors and its derivative, respectively, of the attitude subsystem:
Consider the ITSM surface function as of the quadrotor attitude as [23, 24] where and are the positive constants and and the positive integers with .
The surface dynamics are given by
Using the exponential reaching laws, we get
From equation (31) and equation (32), the control laws of the attitude subsystem are given as
Proof. In order to demonstrate the stability of the attitude subsystem, the Lyapunov candidate function of the roll subsystem is given as follows:
The time derivative of is
4. Simulation Results
To validate the performances of the proposed controllers, numerical simulations will be presented in this section. The parameters of the quadrotor used in the simulation are selected in Table 1. The initial attitude and position of the quadrotor are chosen as [0, 0, 0] rad and [0, 0, 0] m. The desired trajectory of the yaw angle and the position is given in Table 2. The external disturbances used in the simulation are given as follows: at ; at ; at ; at ; at ; and at . Besides, the parameters of the proposed controller are listed in Table 3.
Remark 1. In order to achieve a smooth and quick tracking performance, the design parameters of the proposed ABRITSMC, BSMC, and SMC techniques have been tuned by using a toolbox optimization method in MATLAB/Simulink (see, e.g., [25]).
Furthermore, In order to highlight the superiority of the proposed control laws, comparisons with the backstepping sliding mode control and the firstorder sliding mode control technique are done.



The simulation results are shown in Figures 3–8. The desired and actual tracking positions , , and are shown in Figure 3, where the proposed control strategy that drives the quadrotor to track the desired flight trajectory more rapidly and more accurately can be seen, then the classic sliding mode control method and the backstepping sliding mode controller. The constant disturbances are added in the position subsystem at . It appears that the proposed control approach has managed to effectively hold the quadrotor’s position in finite time contrary to the SMC and BSMC; the same behaviour can be observed at for the position and at for the position of the quadrotor system. Furthermore, trajectory attitudes , , and are shown in Figure 4. It can be seen that the quadrotor attitude tracks the desired angles in short finite time. The attitude sliding variables (, , and ) are shown in Figure 6; the convergence to zero in finite time of the sliding surfaces can be observed. The trajectorytracking errors of the position are depicted in Figure 5. The estimate force acting in direction is shown in Figure 8. In order to demonstrate the superiority of the proposed control strategy, the quadrotor trajectory path performance in 3D space is shown in Figure 7. Clearly, it can be seen that the proposed control strategy can accurately track the square trajectory in the presence of external disturbances. The proposed control approach obtains better performance compared to the conventional SMC and BSMC methods in terms of disturbance rejection and trajectory tracking.
5. Conclusions
In this study, we have examined the problem of the flight trajectorytracking phenomenon of the quadrotor with disturbances. The proposed control scheme is made up of three different parts: control of an altitude, a horizontal position, and an attitude subsystem. Firstly, the altitude subsystem is addressed based on adaptive backstepping. Also, the backstepping technique is designed to control the positions and of a quadrotor. The control objectives of this loop are (i) obtaining the desired roll and pitch angles, (ii) tracking the desired flight trajectory in finite time, and (iii) generating the total thrust. Secondly, a new robust integral terminal sliding mode controller has been constructed to stabilize the attitude subsystem. The objectives of the RITSMC control scheme are (i)tracking the desired angles(ii)stabilizing the quadrotor attitude(iii)generating the rolling, pitching, and yawing torques
In addition, the proposed controller achieves the fast and accurate tracking of the quadrotor trajectory. Finally, simulation results have demonstrated that the proposed controller is able to improve control performance of the quadrotor UAV system in the presence of external disturbances. The proposed control strategy has shown the effectiveness and superiority of the classical sliding mode control strategy and backstepping sliding mode control technique.
The following points will be addressed in the future work: (i)Taking into account the motor dynamics of the quadrotor(ii)Inclusion of a fault detection in the actuators and sensors(iii)Use of adaptive RITSMC approach in the improvement of the quadrotor control system
Data Availability
No new data were created during the study.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
References
 M. Hassanalian and A. Abdelkefi, “Classifications, applications, and design challenges of drones: a review,” Progress in Aerospace Science, vol. 91, pp. 99–131, 2017. View at: Publisher Site  Google Scholar
 A. Mairaj, A. I. Baba, and A. Y. Javaid, “Application specific drone simulators: recent advances and challenges,” Simulation Modelling Practice and Theory, vol. 94, pp. 100–117, 2019. View at: Publisher Site  Google Scholar
 H. Mo and G. Farid, “Nonlinear and adaptive intelligent control techniques for quadrotor UAV  a survey,” Asian Journal of Control, vol. 21, no. 2, pp. 989–1008, 2018. View at: Publisher Site  Google Scholar
 N. Wang, Q. Deng, G. Xie, and X. Pan, “Hybrid finitetime trajectory tracking control of a quadrotor,” ISA Transactions, vol. 90, pp. 278–286, 2019. View at: Publisher Site  Google Scholar
 Z. Li, X. Ma, and Y. Li, “Robust tracking control strategy for a quadrotor using RPDSMC and RISE,” Neurocomputing, vol. 331, pp. 312–322, 2019. View at: Publisher Site  Google Scholar
 A. A. Najm and I. K. Ibraheem, “Nonlinear PID controller design for a 6DOF UAV quadrotor system,” Engineering Science and Technology, an International Journal, 2019. View at: Publisher Site  Google Scholar
 M. Vahdanipour and M. Khodabandeh, “Adaptive fractional order sliding mode control for a quadrotor with a varying load,” Aerospace Science and Technology, vol. 86, pp. 737–747, 2019. View at: Publisher Site  Google Scholar
 F. Chen, R. Jiang, K. Zhang, B. Jiang, and G. Tao, “Robust backstepping slidingmode control and observerbased fault estimation for a quadrotor UAV,” IEEE Transactions on Industrial Electronics, vol. 63, no. 8, pp. 5044–5056, 2016. View at: Publisher Site  Google Scholar
 E. H. Zheng, J. J. Xiong, and J. L. Luo, “Second order sliding mode control for a quadrotor UAV,” ISA Transactions, vol. 53, no. 4, pp. 1350–1356, 2014. View at: Publisher Site  Google Scholar
 J. J. Xiong and G. B. Zhang, “Global fast dynamic terminal sliding mode control for a quadrotor UAV,” ISA Transactions, vol. 66, pp. 233–240, 2017. View at: Publisher Site  Google Scholar
 S. Mobayen and F. Tchier, “Nonsingular fast terminal slidingmode stabilizer for a class of uncertain nonlinear systems based on disturbance observer,” Scientia Iranica, vol. 24, no. 3, pp. 1410–1418, 2017. View at: Publisher Site  Google Scholar
 O. Mofid and S. Mobayen, “Adaptive sliding mode control for finitetime stability of quadrotor UAVs with parametric uncertainties,” ISA Transactions, vol. 72, pp. 1–14, 2018. View at: Publisher Site  Google Scholar
 Z. Jia, J. Yu, Y. Mei, Y. Chen, Y. Shen, and X. Ai, “Integral backstepping sliding mode control for quadrotor helicopter under external uncertain disturbances,” Aerospace Science and Technology, vol. 68, pp. 299–307, 2017. View at: Publisher Site  Google Scholar
 C. C. Hua, K. Wang, J. N. Chen, and X. You, “Tracking differentiator and extended state observerbased nonsingular fast terminal sliding mode attitude control for a quadrotor,” Nonlinear Dynamics, vol. 94, no. 1, pp. 343–354, 2018. View at: Publisher Site  Google Scholar
 S. Amirkhani, S. Mobayen, N. Iliaee, O. Boubaker, and S. H. Hosseinnia, “Fast terminal sliding mode tracking control of nonlinear uncertain mass–spring system with experimental verifications,” International Journal of Advanced Robotic Systems, vol. 16, no. 1, 2019. View at: Publisher Site  Google Scholar
 F. Muñoz, E. S. Espinoza, I. GonzálezHernández, S. Salazar, and R. Lozano, “Robust trajectory tracking for unmanned aircraft systems using a nonsingular terminal modified supertwisting sliding mode controller,” Journal of Intelligent & Robotic Systems, vol. 93, no. 12, pp. 55–72, 2019. View at: Publisher Site  Google Scholar
 D. Ashtiani Haghighi and S. Mobayen, “Design of an adaptive supertwisting decoupled terminal sliding mode control scheme for a class of fourthorder systems,” ISA Transactions, vol. 75, pp. 216–225, 2018. View at: Publisher Site  Google Scholar
 J. J. Xiong and E. H. Zheng, “Position and attitude tracking control for a quadrotor UAV,” ISA Transactions, vol. 53, no. 3, pp. 725–731, 2014. View at: Publisher Site  Google Scholar
 S. Bouabdallah and R. Siegwart, “Backstepping and slidingmode techniques applied to an indoor micro quadrotor,” in Proceedings of the 2005 IEEE International Conference on Robotics and Automation, pp. 2247–2252, Barcelona, Spain, April 2005. View at: Publisher Site  Google Scholar
 H. Liu, J. Xi, and Y. Zhong, “Robust attitude stabilization for nonlinear quadrotor systems with uncertainties and delays,” IEEE Transactions on Industrial Electronics, vol. 64, no. 7, pp. 5585–5594, 2017. View at: Publisher Site  Google Scholar
 M. Labbadi, M. Cherkaoui, Y. El Houm, and M. Guisser, “A comparative analysis of control strategies for stabilizing a quadrotor,” in Information Systems and Technologies to Support Learning. EMENAISTL 2018. Smart Innovation, Systems and Technologies, Á. Rocha and M. Serrhini, Eds., vol. 111 of Smart Innovation, Systems and Technologies, Springer, Cham, 2019. View at: Publisher Site  Google Scholar
 M. Labbadi, M. Cherkaoui, Y. El Houm, and M. Guisser, “Modeling and robust integral sliding mode control for a quadrotor unmanned aerial vehicle,” in 2018 6th International Renewable and Sustainable Energy Conference (IRSEC), pp. 1–6, Rabat, Morocco, December 2018. View at: Publisher Site  Google Scholar
 R. Zhang, L. Dong, and C. Sun, “Adaptive nonsingular terminal sliding mode control design for near space hypersonic vehicles,” IEEE/CAA Journal of Automatica Sinica, vol. 1, no. 2, pp. 155–161, 2014. View at: Publisher Site  Google Scholar
 A. Riani, T. Madani, A. Benallegue, and K. Djouani, “Adaptive integral terminal sliding mode control for upperlimb rehabilitation exoskeleton,” Control Engineering Practice, vol. 75, pp. 108–117, 2018. View at: Publisher Site  Google Scholar
 F. P. Freire, N. A. Martins, and F. Splendor, “A simple optimization method for tuning the gains of PID controllers for the autopilot of Cessna 182 aircraft using modelintheloop platform,” Journal of Control, Automation and Electrical Systems, vol. 29, no. 4, pp. 441–450, 2018. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2019 Moussa Labbadi and Mohamed Cherkaoui. 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.