IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v16y2023i5p2143-d1077225.html
   My bibliography  Save this article

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

Author

Listed:
  • Mohamed Elhesasy

    (College of Engineering, UAE University, Al-Ain P.O. Box 15551, United Arab Emirates)

  • Tarek N. Dief

    (College of Engineering, UAE University, Al-Ain P.O. Box 15551, United Arab Emirates)

  • Mohammed Atallah

    (College of Engineering, UAE University, Al-Ain P.O. Box 15551, United Arab Emirates)

  • Mohamed Okasha

    (College of Engineering, UAE University, Al-Ain P.O. Box 15551, United Arab Emirates)

  • Mohamed M. Kamra

    (College of Engineering, UAE University, Al-Ain P.O. Box 15551, United Arab Emirates)

  • Shigeo Yoshida

    (Research Institute for Applied Mechanics (RIAM), Kyushu University, Fukuoka 816-8580, Japan
    Institute of Ocean Energy (IOES), Saga University, Saga 840-8502, Japan)

  • Mostafa A. Rushdi

    (Research Institute for Applied Mechanics (RIAM), Kyushu University, Fukuoka 816-8580, Japan)

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.

Suggested Citation

  • Mohamed Elhesasy & Tarek N. Dief & Mohammed Atallah & Mohamed Okasha & Mohamed M. Kamra & Shigeo Yoshida & Mostafa A. Rushdi, 2023. "Non-Linear Model Predictive Control Using CasADi Package for Trajectory Tracking of Quadrotor," Energies, MDPI, vol. 16(5), pages 1-17, February.
  • Handle: RePEc:gam:jeners:v:16:y:2023:i:5:p:2143-:d:1077225
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/16/5/2143/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/16/5/2143/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Ngoc Phi Nguyen & Sung Kyung Hong, 2018. "Fault-Tolerant Control of Quadcopter UAVs Using Robust Adaptive Sliding Mode Approach," Energies, MDPI, vol. 12(1), pages 1-15, December.
    2. Rabab Benotsmane & József Vásárhelyi, 2022. "Towards Optimization of Energy Consumption of Tello Quad-Rotor with Mpc Model Implementation," Energies, MDPI, vol. 15(23), pages 1-25, December.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Rabab Benotsmane & György Kovács, 2023. "Optimization of Energy Consumption of Industrial Robots Using Classical PID and MPC Controllers," Energies, MDPI, vol. 16(8), pages 1-28, April.
    2. Ngoc Phi Nguyen & Nguyen Xuan Mung & Le Nhu Ngoc Thanh Ha & Tuan Tu Huynh & Sung Kyung Hong, 2020. "Finite-Time Attitude Fault Tolerant Control of Quadcopter System via Neural Networks," Mathematics, MDPI, vol. 8(9), pages 1-17, September.
    3. Ngoc Phi Nguyen & Sung Kyung Hong, 2019. "Fault Diagnosis and Fault-Tolerant Control Scheme for Quadcopter UAVs with a Total Loss of Actuator," Energies, MDPI, vol. 12(6), pages 1-22, March.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:16:y:2023:i:5:p:2143-:d:1077225. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.