Incremental Nonlinear Dynamics Inversion and Incremental Backstepping: Experimental Attitude Control of a Tail-Sitter UAV
Abstract
:1. Introduction
2. Aircraft Model and Simulator
2.1. UAV Nonlinear Model
2.2. Sensing and Estimation
2.3. Affine Form in Hover Conditions
3. Incremental Control Methods for Attitude Stabilization
3.1. INDI Attitude Control
3.2. IBKS Attitude Control
4. Hardware-in-the-Loop Validation
- Altitude control:The incremental attitude control solutions were paired with the same altitude and vertical velocity controller, ensuring analogous testing conditions. This control strategy starts by defining a desired forward force [24],
- Setup description:As in the research work that preceded these developments [23], the setup used in HITL simulations consisted of an Arduino Nano 33 IOT [38] connected to a W5500 Ethernet module [39] via a Serial Peripheral Interface (SPI) protocol. This enables sensor data from the simulated aircraft model in MATLAB to be sent to the MCU, together with the references , which proceeds to perform the necessary estimation steps and compute the control action, . This is then sent back to MATLAB, effectively controlling the simulated UAV. The SPI connection allows for fast bi-directional data streaming via a User Datagram Protocol (UDP) over the Ethernet, enabling the HITL simulations to be run at seconds, which was also the sampling time used to run the Arduino board and to perform the discretization of the filters described in Section 2 and Section 3.
- Numerical implementation:It was soon verified that the IBKS implementation was more computationally- demanding than the INDI one, mainly due to the multiple matrix over vector multiplications and matrix inversions present in (24), (30) and (31). Therefore, some care was taken to optimize the code in order to minimize these costly operations. The first step in such an optimization process was to implement the different gain matrices— and in INDI and and in IBKS—as simple multiplications of the different vector components by constants, taking advantage of these matrices being diagonal and avoiding unnecessary multiplications by zeros. For a generic 3-by-3 diagonal matrix with components , and a vector , this results in . The same reasoning was applied when using , as its inverse is trivial when assumed as a diagonal matrix, as illustrated in (13).The only exception to this procedure comes from matrix , which should not be simplified in order to accurately represent the attitude kinematics in (16). To avoid the computations required for its inversion at every instant, it was inverted symbolically, resorting to MATLAB, and was implemented directly as a separate matrix, with the expression
4.1. Hardware-in-the-Loop Results
- INDI: , , , ,
- IBKS: , , , , .
4.2. Analysis of Computational Resources
5. Experimental Validation
5.1. Description of the Experimental Setup
5.1.1. Flight Controller
5.1.2. Ground Station
5.1.3. Ground Truth
5.2. Experimental Results
- INDI: , , , , .
- IBKS: , , , , .
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
AC | Aerodynamic Center |
AOA | Angle-of-Attack |
BKS | Backstepping |
BLDC | Brushless Direct Current |
CF | Complementary/Command Filter |
CG | Center-of-Gravity |
DOF | Degree-of-Freedom |
ESC | Electronic Speed Controller |
FC | Flight Controller |
HITL | Hardware-in-the-Loop |
I2C | Inter-Integrated Circuit |
IMU | Inertial Measurement Unit |
IBKS | Incremental Backstepping |
INDI | Incremental Nonlinear Dynamics Inversion |
ISG | Input Scaling Gain |
LPF | Low-Pass Filter |
LQR | Linear Quadratic Regulators |
MAC | Mean Aerodynamic Chord |
MCS | Motion Capture System |
MCU | Micro-Controller Unit |
MDPI | Multidisciplinary Digital Publishing Institute |
NDI | Nonlinear Dynamics Inversion |
NED | North-East-Down |
PCB | Prrinted Circuit Board |
PID | Proportional Integral-Derivative |
PWM | Pulse WidthModulation |
QTM | Qualysis Track Manager |
RMS | Root-Mean-Square |
SD | Second-(order) Derivative |
SPI | Serial Peripheral Interface |
UAV | Uncrewed Aerial Vehicles |
UDP | User Datagram Protocol |
VTOL | Vertical Takeoff and Landing |
References
- Zhou, Y.; Zhao, H.; Liu, Y. An evaluative review of the VTOL technologies for unmanned and manned aerial vehicles. Comput. Commun. 2020, 149, 356–369. [Google Scholar] [CrossRef]
- Rakesh, D.; Kumar, N.A.; Sivaguru, M.; Keerthivaasan, K.V.R.; Janaki, B.R.; Raffik, R. Role of UAVs in innovating agriculture with future applications: A review. In Proceedings of the 2021 International Conference on Advancements in Electrical, Electronics, Communication, Computing and Automation (ICAECA), Coimbatore, India, 8–9 October 2021. [Google Scholar]
- Ducard, G.J.; Allenspach, M. Review of designs and flight control techniques of hybrid and convertible VTOL UAVs. Aerosp. Sci. Technol. 2021, 118, 107035. [Google Scholar] [CrossRef]
- Saeed, A.S.; Younes, A.B.; Cai, C.; Cai, G. A survey of hybrid unmanned aerial vehicles. Prog. Aerosp. Sci. 2018, 98, 91–105. [Google Scholar] [CrossRef]
- Yu, Z.; Zhang, Y.; Jiang, B. PID-type fault-tolerant prescribed performance control of fixed-wing UAV. J. Syst. Eng. Electron. 2021, 32, 1053–1061. [Google Scholar]
- Kazemi, M.H.; Tarighi, R. PID-based attitude control of quadrotor using robust pole assignment and LPV modeling. Int. J. Dyn. Control 2024. [Google Scholar] [CrossRef]
- Tunik, A.A.; Nadsadna, O.I. Robust digital gain-scheduling control of the UAV altitude. In Proceedings of the 2017 IEEE 4th International Conference Actual Problems of Unmanned Aerial Vehicles Developments (APUAVD), Kiev, Ukraine, 17–19 October 2017. [Google Scholar]
- Wang, J.; Holzapfel, F.; Peter, F. Comparison of nonlinear dynamic inversion and backstepping controls with application to a quadrotor. In Proceedings of the EuroGNC, Delft, The Netherlands, 10–12 April 2013; pp. 1245–1263. [Google Scholar]
- Azinheira, J.R.; Moutinho, A. Hover Control of an UAV with Backstepping Design Including Input Saturations. IEEE Trans. Control. Syst. Technol. 2014, 16, 517–526. [Google Scholar] [CrossRef]
- Jang, K.; Bang, H.; Kim, Y. Mitigating Time-Delay in Nonlinear Dynamics Inversion for Multirotor Unmanned Aerial Vehicles. J. Guid. Control. Dyn. 2024, 47, 573–588. [Google Scholar] [CrossRef]
- Xin, H.; Chen, Q.; Xian, Y.; Wang, P.; Wang, Y.; Yao, X.; Hou, Z. Longitudinal Decoupling Control of Altitude and Velocity for a Fixed-Wing Aircraft. IEEE Trans. Intell. Veh. 2024. early access. [Google Scholar] [CrossRef]
- Khanna, A.; Mukherjee, B.K. UAV Performing Level Turn Maneuver Under CG Offset: Backstepping Control Scheme. In Proceedings of the 10th IEEE Uttar Pradesh Section International Conference on Electrical, Electronics and Computer Engineering (UPCON), Gautam Buddha Nagar, India, 1–3 December 2023. [Google Scholar]
- Lombaerts, T.; Kaneshige, J.; Schuet, S.; Hardy, G.; Aponso, B.L.; Shish, K.H. Nonlinear dynamic inversion based attitude control for a hovering quad tiltrotor eVTOL vehicle. In Proceedings of the AIAA Scitech 2019 Forum, San Diego, CA, USA, 7–11 January 2019. [Google Scholar]
- Amiri, N.; Ramirez-Serrano, A.; Davies, R.J. Integral backstepping control of an unconventional dual-fan unmanned aerial vehicle. J. Intell. Robot. Syst. 2013, 69, 147–159. [Google Scholar] [CrossRef]
- Cordeiro, R.A.; Azinheira, J.R.; Moutinho, A. Robustness of incremental backstepping flight controllers: The boeing 747 case study. IEEE Trans. Aerosp. Electron. Syst. 2021, 57, 3492–3505. [Google Scholar] [CrossRef]
- Safwat, E.; Weiguo, Z.; Kassem, M.; Mohsen, A. Robust Nonlinear Flight Controller For Small Unmanned Aircraft Vehicle based on Incremental BackStepping. In Proceedings of the AIAA Scitech 2020 Forum, Orlando, FL, USA, 6–10 January 2020. [Google Scholar]
- Wang, Y.C.; Chen, W.S.; Zhang, S.X.; Zhu, J.W.; Cao, L.J. Command-filtered incremental backstepping controller for small unmanned aerial vehicles. J. Guid. Control. Dyn. 2018, 41, 954–967. [Google Scholar] [CrossRef]
- Tal, E.; Karaman, S. Accurate tracking of aggressive quadrotor trajectories using incremental nonlinear dynamic inversion and differential flatness. IEEE Trans. Control. Syst. Technol. 2020, 29, 1203–1218. [Google Scholar] [CrossRef]
- Smeur, E.J.; Bronz, M.; de Croon, G.C. Incremental control and guidance of hybrid aircraft applied to a tailsitter unmanned air vehicle. J. Guid. Control. Dyn. 2020, 43, 274–287. [Google Scholar] [CrossRef]
- Tal, E.A.; Karaman, S. Global trajectory-tracking control for a tailsitter flying wing in agile uncoordinated flight. In Proceedings of the AIAA Aviation 2021 Forum, Virtual Event, 2–6 August 2021. [Google Scholar]
- Beard, R.W.; McLain, T.W. Small Unmanned Aircraft: Theory and Practice, 1st ed.; Princeton University Press: Princeton, NJ, USA, 2018. [Google Scholar]
- E-Flite XVERT VTOL Webpage. Available online: https://www.horizonhobby.de/en_DE/product/x-vert-vtol-bnf-basic-504mm/EFL1850.html (accessed on 16 April 2024).
- Athayde, A.; Moutinho, A.; Azinheira, J.R. Experimental Nonlinear and Incremental Control Stabilization of a Tail-Sitter UAV with Hardware-in-the-Loop Validation. Robotics 2024, 13, 51. [Google Scholar] [CrossRef]
- Chiappinelli, R.; Nahon, M. Modeling and Control of a Tailsitter UAV. In Proceedings of the 2018 International Conference on Unmanned Aircraft Systems (ICUAS), Dallas, TX, USA, 12–15 June 2018. [Google Scholar]
- Stevens, B.L.; Lewis, F.L. Aircraft Control and Simulation: Dynamics, Controls Design, and Autonomous Systems, 3rd ed.; John Wiley & Sons: Hoboken, NJ, USA, 2016. [Google Scholar]
- Khan, W.; Nahon, M. Real-time modeling of agile fixed-wing UAV aerodynamics. In Proceedings of the 2015 International Conference on Unmanned Aircraft Systems (ICUAS), Denver, CO, USA, 9–12 June 2015. [Google Scholar]
- Khan, W.; Nahon, M. Modeling dynamics of agile fixed-wing UAVs for real-time applications. In Proceedings of the 2016 International Conference on Unmanned Aircraft Systems (ICUAS), Arlington, VA, USA, 7–10 June 2016. [Google Scholar]
- Khan, W.; Nahon, M. Toward an accurate physics-based UAV thruster model. IEEE ASME Trans. Mechatron. 2013, 18, 1269–1279. [Google Scholar] [CrossRef]
- Madgwick, S.O.; Harrison, A.J.; Vaidyanathan, R. Estimation of IMU and MARG orientation using a gradient descent algorithm. In Proceedings of the 2011 IEEE International Conference on Rehabilitation Robotics, Zurich, Switzerland, 29 June–1 July 2011. [Google Scholar]
- Horn, J.F. Non-linear dynamic inversion control design for rotorcraft. Aerospace 2019, 6, 38. [Google Scholar] [CrossRef]
- Coelho, R.; Moutinho, A.; Azinheira, J.R. Quadrotor Attitude Control using Incremental Nonlinear Dynamics Inversion. In Proceedings of the International Conference on Informatics in Control, Automation and Robotics, Madrid, Spain, 26–28 July 2017. [Google Scholar]
- Azinheira, J.R.; Moutinho, A.; Carvalho, J.R. Lateral control of airship with uncertain dynamics using incremental nonlinear dynamics inversion. IFAC Pap. Online 2015, 48, 69–74. [Google Scholar] [CrossRef]
- Cordeiro, R.A.; Marton, A.S.; Azinheira, J.R.; Carvalho, J.R.; Moutinho, A. Increased robustness to delay in incremental controllers using input scaling gain. IEEE Trans. Aerosp. Electron. Syst. 2021, 58, 1199–1210. [Google Scholar] [CrossRef]
- Acquatella, P.; van Kampen, E.; Chu, Q.P. Incremental backstepping for robust nonlinear flight control. In Proceedings of the EuroGNC 2013, Delft, The Netherlands, 10–12 April 2013. [Google Scholar]
- Oland, E.; Kristiansen, R. Quaternion-based backstepping control of a fixed-wing unmanned aerial vehicle. In Proceedings of the IEEE Aerospace Conference, Big Sky, MT, USA, 2–9 March 2013. [Google Scholar]
- Khalil, H.K. Nonlinear Systems, 3rd ed.; Prentice Hall: Englewood Cliffs, NJ, USA, 2020. [Google Scholar]
- Van Ekeren, W.; Looye, G.; Kuchar, R.; Chu, Q.; Van Kampen, E.J. Design, implementation and flight-test of incremental backstepping flight control laws. In Proceedings of the AIAA Guidance, Navigation, and Control Conference, Kissimmee, FL, USA, 8–12 January 2018. [Google Scholar]
- Arduino Nano 33 IOT Product Page. Available online: https://docs.arduino.cc/hardware/nano-33-iot/ (accessed on 16 April 2024).
- Wiznet W5500 Product Page. Available online: https://www.wiznet.io/product-item/w5500/ (accessed on 16 April 2024).
- Basic Linear Algebra Library Page, by Tom Stewart. Available online: https://github.com/tomstewart89/BasicLinearAlgebra (accessed on 16 April 2024).
- Nordic Semiconductor nRF24 Series Product Page. Available online: https://www.nordicsemi.com/Products/nRF24-series (accessed on 16 April 2024).
- NRF24L01 Library Page, by TMRh20. Available online: https://nrf24.github.io/RF24/ (accessed on 16 April 2024).
- MS5611 Barometer Product Page. Available online: https://www.okystar.com/product-item/gy-63-ms5611-atmospheric-pressure-sensor-module-height-sensor-module-iicspi-communication-oky3232/29/ (accessed on 16 April 2024).
- MS5611 Pressure and Temperature Sensor Library Page, by Rob Tillaart. Available online: https://www.arduino.cc/reference/en/libraries/ms5611/ (accessed on 16 April 2024).
- Raspberry Pi Pico Product Page. Available online: https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html (accessed on 16 April 2024).
- Raspberry Pi Pico Arduino Core Page, by Earle F. Philhower, III. Available online: https://arduino-pico.readthedocs.io/en/latest/ (accessed on 16 April 2024).
Cont. | ||||||||
---|---|---|---|---|---|---|---|---|
INDI | 0.0214 | 0.0125 | 0.0215 | 0.0185 | 0.0030 | 0.0009 | 0.0003 | 0.0014 |
IBKS | 0.0299 | 0.0169 | 0.0289 | 0.0252 | 0.0033 | 0.0010 | 0.0003 | 0.0015 |
Cont. | [s] | [s] |
---|---|---|
INDI | 0.005008 | 0.000157 |
IBKS | 0.005334 | 0.000483 |
Cont. | ||||||||
---|---|---|---|---|---|---|---|---|
INDI | 0.0796 | 0.0283 | 0.1024 | 0.0701 | 0.0045 | 0.0081 | 0.0011 | 0.0046 |
IBKS | 0.0822 | 0.0382 | 0.0769 | 0.0658 | 0.0042 | 0.0038 | 0.0007 | 0.0029 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Athayde, A.; Moutinho, A.; Azinheira, J.R. Incremental Nonlinear Dynamics Inversion and Incremental Backstepping: Experimental Attitude Control of a Tail-Sitter UAV. Actuators 2024, 13, 225. https://doi.org/10.3390/act13060225
Athayde A, Moutinho A, Azinheira JR. Incremental Nonlinear Dynamics Inversion and Incremental Backstepping: Experimental Attitude Control of a Tail-Sitter UAV. Actuators. 2024; 13(6):225. https://doi.org/10.3390/act13060225
Chicago/Turabian StyleAthayde, Alexandre, Alexandra Moutinho, and José Raul Azinheira. 2024. "Incremental Nonlinear Dynamics Inversion and Incremental Backstepping: Experimental Attitude Control of a Tail-Sitter UAV" Actuators 13, no. 6: 225. https://doi.org/10.3390/act13060225
APA StyleAthayde, A., Moutinho, A., & Azinheira, J. R. (2024). Incremental Nonlinear Dynamics Inversion and Incremental Backstepping: Experimental Attitude Control of a Tail-Sitter UAV. Actuators, 13(6), 225. https://doi.org/10.3390/act13060225