Non-Linear Model Predictive Control Using CasADi Package for Trajectory Tracking of Quadrotor

Mohamed Elhesasy, Tarek N. Dief, Mohammed Atallah, Mohamed Okasha, Mohamed M. Kamra, Shigeo Yoshida, Mostafa A. Rushdi

Research output: Contribution to journalArticlepeer-review

21 Citations (Scopus)

Abstract

In this paper, we present the development of a non-linear model predictive controller for the trajectory tracking of a quadrotor using the CasADi optimization framework. The non-linear dynamic model of the quadrotor was derived using Newton–Euler equations, and the control algorithm and drone dynamics were wrapped in Matlab. The proposed controller was tested by simulating the tracking of a 3D helical reference trajectory, and its efficiency was evaluated in terms of numerical performance and tracking accuracy. The results showed that the proposed controller leads to faster computational times, approximately 20 times faster than the Matlab toolbox (nlmpc), and provides better tracking accuracy than both the Matlab toolbox and classical PID controller. The robustness of the proposed control algorithm was also tested and verified under model uncertainties and external disturbances, demonstrating its ability to effectively eliminate tracking errors.

Original languageEnglish
Article number2143
JournalEnergies
Volume16
Issue number5
DOIs
Publication statusPublished - Mar 2023

Keywords

  • CasADi
  • model predictive control (MPC)
  • non-linear MPC (NLMPC)
  • PID
  • quadrotor
  • Simulink

ASJC Scopus subject areas

  • Renewable Energy, Sustainability and the Environment
  • Building and Construction
  • Fuel Technology
  • Engineering (miscellaneous)
  • Energy Engineering and Power Technology
  • Energy (miscellaneous)
  • Control and Optimization
  • Electrical and Electronic Engineering

Fingerprint

Dive into the research topics of 'Non-Linear Model Predictive Control Using CasADi Package for Trajectory Tracking of Quadrotor'. Together they form a unique fingerprint.

Cite this