Open access peer-reviewed chapter

Adaptive Integral High‐Order Sliding Mode for a Fixed Wing Aircraft

Written By

Zaouche Mohammed, Foughali Khaled and Amini Mohamed

Submitted: September 30th, 2016 Reviewed: January 24th, 2017 Published: June 28th, 2017

DOI: 10.5772/67580

Chapter metrics overview

1,519 Chapter Downloads

View Full Metrics


In order to develop and implement the laws piloting for an aircraft, flights validation will be necessary. This could in fact be done, in a first step, by using flight simulators. In this work, we choose the predator virtual model flying in MicrosoftTM flight simulator (MSFS) and we propose the procedure of controlling its attitude. We send the adaptive integral high‐order sliding mode (AIHOSM) inputs piloting control. This work is a real‐time virtual simulation. For the AIHOSM controller, we propose the gain adaptation for reduction of chattering phenomena and possibility to control the aircraft presented by the uncertain nonlinear systems in which the uncertainties have unknown bounds. This technique is more robust and simpler to implement than the quaternion one and only needs the information about the sliding mode surface.


  • adaptive integral high-order sliding mode controller
  • Microsoft flight simulatorr
  • UAV predator
  • real-time virtual simulation

1. Introduction

In reality, all physical systems are affected by uncertainties due to modeling errors, parametric variation, and external disturbances. Controlling of dynamical systems in the presence of uncertainties is extremely difficult as the controller's performances degrade and the system may even be led to instability. As such, active researches are continuing to develop controllers that can work successfully in spite of uncertainties. Robust control techniques such as nonlinear adaptive control, model predictive control, backstepping and sliding mode control [1, 2, 3, 4, 5, 11, 19, 20, 32, 34] have been evolved to deal with uncertainties.

The classical Sliding Mode Control (SMC) leads, generally, to the appearing of an undesirable chattering phenomenon [2, 3, 9, 10, 13, 14, 15] to solve this problem we propose an approach using the Adaptive Integral High Order Sliding Mode Controller (AIHOSMC). This technique ensures a good tradeoff between error and robustness against noise and especially a good accuracy for a certain frequency range, regardless of the gain setting of the algorithm. This technique is based on estimating the successive derivatives of the sliding mode surface and transmitting them to the control block, all by using an aircraft in virtual simulated environments [24, 25]. It is real‐time virtual simulation, which is close to the real‐world situation.

The piloting technique proposed in this work is more robust and simpler to implement than the quaternion one. It only requires information about the sliding mode surface.


2. Problem statement

Through a methodology based on the confrontation of the real and the simulated worlds, the main objective of this chapter is to develop an autopilot based on a robust controller to maintain the desired trajectory (Figure 1).

Figure 1.

Real trajectory.

To achieve this objective, we use the flight simulator FS2004 as a simulated world environment coupled to a hardware and a software development platform. This simulator is developed by Microsoft, with several simulated aircraft included in its airplane library. We choose the Predator MQ‐1 (Figure 2). It is considered as a reconnaissance and an intelligent system.

Figure 2.

The predator MQ‐1 flying in FS‐2004.

In this work, the main goal is to maintain the desired aircraft's trajectory; and to do so, we propose the following approach:

  • description and analysis of the aircraft system model;

  • implementation of a real‐time interface between the flight simulator FS2004 and the module real‐time Windows target of Simulink/Matlab;

  • development and implementation of the piloting law based on adaptive integral sliding mode for the design of the autopilot controller;

  • flight tests.


3. Characteristics of the predator

The MQ‐1 predator is an American unmanned aerial vehicle (UAV) that can serve in the reconnaissance or attack role. Predator has been in the United States Air Force (USAF) service since 1995 and has seen combat in numerous theatres.

Airwrench tool gives access to flight dynamic characteristics ( This tool allows creating and tuning flight dynamics files description of simulated planes models. This software uses aerodynamics formulas and equations described on the Mudpond Flight Dynamics Workbook. It calculates aerodynamic coefficients based on the physical characteristics and performance of the aircraft (Table 1).

DimensionsMoments of inertia
Length: 11.88 mPitch: 1800.0
Wingspan: 14.84 mRoll: 3700.00
Wing surface area: 11.43 m2Yaw: 1800.00
Wing root chord: 1.55 mCross: 0.00
Aspect ratio: 19.28
Taper ratio: 0.10

Table 1.

FS2004 aircraft‐simulated characteristics PREADAR MQ‐1.


4. Implementation of a real‐time interface between Microsoft flight simulator and the module “real‐time windows target” of Simulink/Matlab

We communicate with FS2004 by using a dynamic link library called FSUIPC.dll (Flight Simulator Universal Inter‐Process Communication). This library created by Peter Dowson and is downloadable from his website [36] ( It allows external applications to read and write in and from Microsoft flight simulator (MSFS) by the means of an IPC (interprocess communication) using a buffer of 64 Ko. The documentation given with FSUIPC explains the organization of this buffer [8, 17, 18].

To read or write a variable using the FSUIPC, we need to know its offset address, its format, and the necessary conversions. For example, the bank angle (φ) is read as a signed long S32 at the offset 0x057C. Table 2 shows the parameters used in our simulation.

OffsetNameVar. typeSize (octet)Usage
057CBank angle (φ)S324Degree
578Elevation angle (θ)S324Degree
580Head angle (ψ)U324Degree
02BCSpeed IAS (V)S324Knot*128
0BB2Elevator deflection (δe)S162-16383 to +16383
0BB6Aileron deflection (δa)S162-16383 to +16383
0BBARudder deflection (δr)S162-16383 to +16383
088CThrust control (δx)S162-16383 to +16383

Table 2.

Flight parameters in the buffer FSUIPC.

To deal with the design of an autopilot controller, we propose an environment framework based on a software in the loop (SIL) methodology (see Figure 3) and we use Microsoft flight simulator (MSFS‐2004) as a plane simulation environment [24, 25].

Figure 3.

Software‐in‐the‐loop architecture.

This work is a real‐time virtual simulation, we read or/and write the desired parameters from and to MSFS‐2004 through the computer memory by using the FSUIPC library.


5. System modeling

The model describing the system is presented by [12, 25, 26]


with is the aircraft state vector in the body frame:

x=[uvwpqrφθψ]T  =[x1.......x9]TE2

U=[δtδeδaδr]Tis the control vector and δt, δe, δaand δrdenoting thrust control, elevator deflection, aileron deflection, and rudder deflection, respectively.

We propose the following output vector:


The nonlinear functions f(x) and g(x) are given by [16, 23, 25]:




where Δ=Ixz2IxxIzz,a1=(IzzCl4IxzCn4)Δ,a2=(IzzCl6IxzCn5)Δ,, a4=(IzzCn5IxzCl6)Δ.

The coefficients Cx1,........,Cn5are defined in Table 3 [21, 22, 25, 26].


Table 3.

Expression of the modified aerodynamic coefficients.


6. Integral sliding mode controller problem formulation

Consider the following nonlinear uncertain system [31]


S(x,t)is a sliding variable. fand gare uncertain smooth vector fields and are differentiable.

The uncertainties in f(x)and g(x)are caused by the parameter variations, the nonmodeled dynamics, or the external disturbances.

Assumption 1[31]: The relative degree rof system (6) is constant and known, and the associated zero dynamics are stable.

The rth‐order sliding mode is defined through the following definition.

Definition 1[6, 7, 8, 31]: Consider the nonlinear system (6) and the sliding variable S. Assume that the time derivatives S,S˙,.....,S(r1)are continuous functions. The manifold defined as


is called “rth‐order sliding mode set,” which is nonempty and is locally an integral set in the Fillipov sens [30]. The motion Σron is called “rth‐order sliding mode” with respect to the sliding variable S.

Definition 2[68, 31, 32]: Consider the nonlinear system (6) and the sliding variable S. Assume that the time derivatives S,S˙,.....,S(r1)are continuous functions. The manifold defined as


With μi0(0ir1), is named “real rth‐order sliding mode set,” which is nonempty and is locally an integral set in the Fillipov sens [30]. The motion on Σris called “real rth‐order sliding mode” with respect to the sliding variable S. Given the form of system (6), the rth‐order sliding mode control (SMC) approach allows the finite time stabilization to zero of the sliding variable Sand its (r‐1) first time derivatives by defining a suitable discontinuous control function. The rth time derivative of Ssatisfies the equation [68]:


With b=LgLfr1Sand a=LfrS

Assumption 2[31, 32]: Solutions of Eq. (9) with discontinuous right‐hand side are defined in the sense of Fillipov [30].

Assumption 3[31, 32]: Functions a(t,x)and b(t,x)are smooth and uncertain but bounded functions; furthermore, they can be partitioned into a well‐known nominal part (respectively, a¯(t,x)and b¯(t,x)is an uncertain bounded one, respectively, a(t,x)and Δb(t,x).


Functions a(t,x)and a¯(t,x)are such that a0and a¯0there is an upper bound constant ξand a priori known constant 0γ1such that the uncertain functions satisfy the following inequalities [33]:


The rth‐order sliding mode controller (SMC) of Eq. (6) with respect to the sliding variable Sis equivalent to the finite time stabilization of


With 1ir1and z=[z1z2zr]T=[SS˙….S(r1)]T

Consider the following state feedback control


with σthe auxiliary control input. Note that this state feedback control linearizes (by an input‐output point of view) the nominal system, i.e., system (12) with no uncertainties.

Applying Eq. (13) to system (10), one gets


The control objective is now the following: how to define a discontinuous control law ensuring the stabilization of the previous system, in a finite time and in spite of the uncertainties?

6.1. Control design

We proposed two high‐order sliding mode controllers based on integral sliding mode concept [27]: the first requires knowledge of the uncertainties bounds, whereas, for the second one, no knowledge of the bounds is required. This latter feature is due to an adaptation law for the control gain.

6.1.1. Finite time stabilization of an integrators’ chain system

The following theorem proposes a continuous finite time stabilizing feedback controller for a chain of integrators, by giving an explicit construction involving a small parameter. One gets an asymptotically stable closed‐loop system; the system is homogeneous of negative degree with respect to a suitable dilation, which implies the finite time stability. Consider the system (12) with no uncertainty (Δa(t,x)=0and Δb(t,x)=0).


Theorem 1[28]

Let k1,,kr0be such that the polynomial λr+krλr1++k2λ+k1is Hurwitz. There exists ε]0,1[such that, for every α]1ε,1[, the origin is a globally finite time stable equilibrium point for system (15) under the feedback


With α1,….,αr1satisfy αi1=αiαi+12αi+1αi

For i=2,,rwith αr=αand αr+1=1.

6.1.2. Robust finite time controller design based on integral sliding mode [31, 32]

Consider the following function, named “integral sliding variable,” defined as (t0being the initial time)


with the term σnomdefined by Eq. (16) in Theorem 1. Note that, S(z(t0))=0: then the system is evolving on the sliding manifold early from the initial time.

This latter feature is a key point of the integral sliding mode controller; in fact, the definition of the integral sliding variable allows to ensure that a sliding mode has been established early from the initial time, thanks to the finite time convergence property of σnom. Then, it is necessary to force the system to evolve on the integral sliding surface S=0in spite of the uncertainties and perturbations: it will be the role of the discontinuous part of the controller. In fact, the term σnomappearing in Scan be viewed as a desired trajectory generator. By supposing that, tt0,S=0, one has


From the previous inequality, it is clear that, if the control σguarantees that S=0,tt0and given the features of σnom, system (15) is stabilized at the origin in a finite time.

Then, in order to stabilize system (15), the following control law is defined


This controller has two parts:

  • The first one σnom, called “ideal control”, is continuous and stabilizes the system (15) at the origin in absence of uncertainties. This controller is also used in order to generate the system's ideal trajectories;

  • The second one Ksign(S)provides the complete compensation of uncertainties and perturbations and ensures that control objectives are reached, where the gain is satisfying


Theorem 2:[29, 33] Consider the nonlinear system (6) and assume that assumptions 1–3 are fulfilled. Then, if the gain

Kfulfills the condition (20), the control law


ensures the establishment of a rth‐order sliding mode versus the sliding variable S, i.e., the trajectories of system (6) converge to zero in finite time.


7. Application of the adaptive integral‐ high‐order‐sliding ‐mode controller for piloting

The relative degrees are rφ=rθ=rψ=0.

The input control Uis defined by σφ,θ,ψ=[δeδaδr]T.

We propose the integral sliding variable as follows:


where yd=[φdθdψd]Tis the desired vector and z1,φ,θ,ψ=[φθψ]Tis the output vector of integrators’ chain.

In Theorem 1, we choose ε=0.7, so we can take α=0.5.

The integrators’ chain is defined by


where, σnom=λ^1φ,θ,ψ|z1φ,θ,ψ|13sign(z1φ,θ,ψ)λ^2φ,θ,ψ|z2φ,θ,ψ|12sign(z2φ,θ,ψ).

The control input can be chosen as


where K1φ,θ,ψ0.

The reduction of the noise is assumed by the presence of the linear term (Kiz2i, where i=φ,θ,ψ) in the equation of each output iin the algorithm. This linear term can be expressed as the law of the control, which allows the reduction of the chattering effect. The addition of this continuous term smoothes the output noise due to a low gain values. If the chosen values of these gains become very low, the convergence of the algorithm becomes slow. Therefore, the choice of the convergence gains remains difficult and is based on a compromise between reducing the noise and having a short algorithm's convergence time. It should also be noted that in the presence of noise, it is necessary to impose small initial values for the dynamic gains in order to reduce the effect of the discontinuous control. Moreover, the presence of integral term (0tsign(z2φ,θ,ψ)dt) in the expressions of the dynamic gains provides the smoothing of the estimated derivatives.

The dynamic adaptation of the gains λ^˙i,i{0,1,2}is given by


The application of this piloting technique in FS2004 is shown in Figure 2. λ,  μand hare latitude, longitude and altitude of aircraft, respectively.

The input signals at the upper and lower saturation values of the control laws are used to respect the actuators bounds. Scaled functions are added to take into account the actuators resolutions.

The adaptive integral high‐order sliding mode technique is used to recover the desired signal. Several flight tests were realized to demonstrate the effectiveness of the combined controller/integrators’ chain.

7.1. Simulation results

We run the flight simulator FS2004 and the interface with the module real‐time windows target of Simulink/Matlab.

In a first step, we used aircraft predator, the aircraft taking off was done using the keyboard. Then, we run our software to transmit the control inputs based on the adaptive integral higher‐order sliding mode to the autopilot controller in order to maintain the desired trajectory.

The desired signal injected and the output integrators’ chain are shown in Figure 4. We notice the outputs of the integrators’ chain z1,jwhere j=φ,θ,ψfollows the references φd, θdand ψdperfectly. The surface sliding mode Sϕ,θ,ψis small (see Figure 5).

Figure 4.

Application of the adaptive integral high order sliding mode controller in FS2004.

Figure 5.

Reference and output integrators.

Figure 6 shows the error between the output integrators’ chain z1φand φd0. The signal z1φfollows φd.

Figure 6.

Surface sliding modeSφ.

The input signals at the upper and the lower saturation values of the aileron, rudder, and elevator deflections are used to respect the virtual Joystick (PPjoy) bounds. Upper limit: 62767, lower limit: 1.

Airwrench gives the following data:

  • Aileron parameters: Aileron area 1.70 m2, aileron up angle limit 20.0°, aileron down angle limit 15.0°.

  • Elevator parameters: Elevator area 1.54 m2, elevator up angle limit 25.00°, elevator down angle limit 20.00°.

  • Rudder parameters: Rudder area 0.62 m2, Rudder angle limit 24.00°.

The aileron, elevator, and rudder deflections are shown in Figures 79. We notice the absence of the chattering phenomenon.

Figure 7.

Ailler control.

Figure 8.

Rudder control.

Figure 9.

Elevator control.

The evolution parameters λ^1, λ^2, and λ^3are shown in Figure 10.

Figure 10.

Dynamic parameters evolutionλ^1,λ^2, andλ^3.

The flight tests demonstrate the robustness of the adaptive integral high‐order sliding mode. It makes it possible to ensure a better derivation of the desired input signal in real time, and this is to ensure a good accuracy of tracking the desired trajectory.


8. Conclusion

In this chapter, a procedure of the communication with an aircraft model in a simulated environment and the implementation of the real‐time interface between the Microsoft flight simulator and the module “real‐time windows target” of Simulink/Matlab has been presented. After that, an adaptive integral sliding mode for an aircraft autopilot has been presented. Our approach uses the environment simulator (FS2004) to reduce the design process complexity.

For the piloting part, we have interested the gain adaptation for the reduction of chattering phenomena and possibility to control the aircraft presented by the uncertain nonlinear systems in which the uncertainties have unknown bounds. This technique is more robust and simpler to implement than the quaternion one and only needs the information about the sliding mode surface.

The flight tests demonstrate the robustness of an adaptive integral sliding mode. The former ensures a better derivation of the desired input signal in real time, and this ensures a good accuracy in terms of tracking for a desired reference.


  1. 1. O. Harkegard and S. Torkel Glad Flight Control Design Using Backstepping, Linkopings universitet, Linkoping, Sweden, 2001.
  2. 2. J.J.E. Slotine and Li, Applied nonlinear control, Practice-Hall, Englewood Cliffs, New Jersey 07632, United States, 1991
  3. 3. J.J.E. Slotine and J.A. Coetsee, Adaptive sliding controller synthesis for non-linear systems, International Journal of Control, Vol.43, Issue 6, pp. 1631–1651, 1986.
  4. 4. J.L. Junkins, K. Subbarao and A. Verma, Structured adaptive control for poorly modeled nonlinear dynamical systems. Computer Modeling in Engineering & Sciences, Vol. 1, No. 4, pp. 99–118, 2000.
  5. 5. V. Chiroi, L. Munteanu and I. Ursu, On chaos control in uncertain nonlinear system. Computer Modeling in Engineering & Sciences, Vol. 72, No. 3, pp. 229–246, 2011.
  6. 6. A. Levant, Higher‐order sliding modes, differentiation and output feedback control. International Journal of Control, Vol. 76, No. 9/10, pp. 924–941, 2003.
  7. 7. A. Levant, Robust exact differentiation via sliding mode technique. Automatica, Vol. 34, No. 3, pp.379–384, 1989.
  8. 8. A. Levant, Quasi continuous high order sliding mode controllers, IEEE Transactions on Automatic Control, Vol.50, No. 11, pp. 1812–1816, 2005
  9. 9. A. Sabanovic, L. Fridman, S. Spurgeon, Variable structure systems: from principles to implementation, The Institution of Engineering and Technology, ISBN: 978-0-86341-350-6, 2004
  10. 10. B. Bandyopadhyay and J. Sivaramakrishnan, Discrete-time Sliding Mode Control: A Multirate Output Feedback Approach, Lecture Notes in Control and Information Sciences, Springer Berlin Heidelberg New York, ISBN 978-3-540-28140-5, pp. 27–49, 2006
  11. 11. B. Bandyopadhyay, F. Deepak and K.-S. Kim, Sliding Mode Control Using Novel Sliding Surfaces, Lecture Notes in Control and Information Sciences, Vol. 392, Springer Berlin Heidelberg New York. ISBN 978-3-642-03448-0, 2009
  12. 12. D. Allerton, Principles of flight simulation, Aerospace series, John Wiley & Sons, Ltd. ISBN: 978-0-470-75436-8, pp. 97–154, 2009
  13. 13. G. Bartolini, L. Fridman, A. Pisano and E. Usai, Modern Sliding Mode Control Theory: New Perspectives and Applications, Lecture Notes in Control and Information Sciences, Vol. 375, Springer, Berlin Heidelberg New York. ISBN 978-3-540-79016-7, chap. 4, 2008
  14. 14. H. Yigeng, S. Laghrouche, Liu Weiguo and A. Miraoui, Robust High Order Sliding Mode Control of Permanent Magnet Synchronous Motors, Book: Recent Advances in Robust Control - Theory and Applications in Robotics and Electromechanics, InTech. Chapter 13, ISBN 978-953-307-421-4, 2011
  15. 15. W. Perruquetti and J.P. Barbot, Sliding mode control in engineering, Marcel Dekker, New york Basel, ISBN:0-8247-0671-4, 2000
  16. 16. J.L. Boiffier, The dynamics of flight: the equations, John Wiley & Sons, Chichester UK, ISBN: 0471942375, pp. 92, 1998
  17. 17. P. Lopez and A. S. Nouri, Elementary and practical theory of the sliding mode controls, Springer Berlin Heidelberg New York. ISBN 3-540-31003-7, 2000
  18. 18. R. Louali, R. Belloula, M.S. Djouadi and S. Bouaziz, Real‐time characterization of Microsoft Flight Simulator 2004 for integration into Hardware in the Loop architecture, 19th Mediterranean Conference on Control and Automation, Greece, 2004.
  19. 19. J. Salgado, Contribution to the control of an autonomous submarin robot sous marin type torpedo, Phd Thesis, Université de Montpellier, 2004.
  20. 20. V.I. Utkin, Sliding Mode in Control Optimisation, Springer‐Verlag, Berlin, 1992.
  21. 21. V. Klein, P.C. Murphy, T.J. Curry, and J.M. Brandon, Analysis of Wind Tunnel Longitudinal Static and Oscillatory Data of the F‐16XL Aircraft, NASA/TM‐97‐206276, December 1997.
  22. 22. Jay M. Brandon and John V. Foster, Recent dynamic measurements and considerations for aerodynamic modeling of fighter airplane configurations, American Institute of Aeronautics and Astronautics, AIAA – 98–4447, 1998.
  23. 23. Yuri B. Shtessel. Ilya A. Shkolnikov, Mark, D J. Brown An asymptotic second‐order smooth sliding mode control, Asian Journal of Control. Vol. 5, No. 4, pp. 498–504, December 2003.
  24. 24. W. Perruquetti and J. P. Barbot, Sliding mode control in engineering, Marcel Dekker, New York. 2002.
  25. 25. M. Zaouche, Identification and robust control of an aerodynamic system with three axes, Phd Thesis, School Military Polytechnic, Algiers, 2015.
  26. 26. M. Zaouche, A. Beloula, R. louali, S. Bouaziz and M. Hamerlain Adaptive differentiators via second order sliding mode for a fixed wing aircraft, Computer Modeling in Engineering and Sciences, Vol. 104, No. 3, pp. 159–184, 2015.
  27. 27. S. Laghrouche, F. Plestan, A. Glumineau, Higher order sliding mode control based on integral sliding mode Automatica,Vol. 43, No. 3, pp.531–537, 2007.
  28. 28. M. Defoort, T. Floquet and A. Kokosy, Finite time control of a class of MIMO nonlinear systems using high order integral sliding mode control Proc. 9th Int. Conf. on Variable Structure Systems, Alghero, Italy, pp. 133–138, 2006.
  29. 29. Q. Zong, , Z. S Zhao and J. Zhang Higher order sliding mode control with self‐tuning law based on integral sliding mode, IET Control Theory and Application, Vol. 4, No. 7, pp. 1282–1289, 2010.
  30. 30. A.F. Filippov, Differential equations with discontinuous right hand side, Kluwer Academic Publisher, Dordrecht, 1988.
  31. 31. M. Taleb, , F. Plestan and B. Bououlid. An adaptive solution for robust control based on integral high‐order sliding mode concept: adaptive integral sliding mode control, International Journal of Robust and Nonlinear Control, 2014.
  32. 32. J. Zhang, Q. Zong, and Z.-S. Zhao. Higher order sliding mode control with self-tuning law based on integral sliding mode, IET Control Theory and Applications, Vol. 4, No. 7, pp. 1282–1289, 2010.
  33. 33. Qun Zong, Zhanshan Zhao and Liqian Dou, Higher order adaptive sliding mode control for a class of SISO systems, Proceedings of the 48h IEEE Conference on Decision and Control (CDC) held jointly with 2009 28th Chinese Control Conference, 28th Chinese Control Conference. Shanghai, 12/2009
  34. 34. F. Plestan. A new algorithm for high-order sliding mode control, International Journal of Robust and Nonlinear Control, John Wiley & Sons, Ltd., Volume 18, Issue 4–5, pp. 441–453, 2008.

Written By

Zaouche Mohammed, Foughali Khaled and Amini Mohamed

Submitted: September 30th, 2016 Reviewed: January 24th, 2017 Published: June 28th, 2017