Hostname: page-component-74656f9884-8rzl6 Total loading time: 0 Render date: 2026-11-06T09:14:30.413Z Has data issue: false hasContentIssue false

Attitude modelling and real-time robust control of a 3-DoF quadcopter UAV test bench

Published online by Cambridge University Press:  28 February 2024

S.M. Ahmad*
Affiliation:
Control & Instrumentation Engineering Department, King Fahd University of Petroleum and Minerals, Dhahran, Kingdom of Saudi Arabia Interdisciplinary Research Center for Intelligent Manufacturing and Robotics, King Fahd University of Petroleum and Minerals, Dhahran, Kingdom of Saudi Arabia
S. Fareed
Affiliation:
Drone Robotics Pvt Ltd, The Catalyst GIK Incubator, Topi, Pakistan
*
Corresponding author: S.M. Ahmad; Email: sarvat.ahmad@kfupm.edu.sa
Rights & Permissions [Opens in a new window]

Abstract

In this work, a three degrees-of-freedom (3-DoF) static quadcopter unmanned aerial vehicle (UAV) test-rig of a pendulum-type configuration is custom-designed, developed, instrumented, and interfaced with a PC. The rig serves as a test bed to develop high-fidelity mathematical models as well as to investigate autopilot designs and real-time closed-loop controllers’ performances. The Simulink Desktop Real-Time software is employed for the quadcopter’s attitude signals acquisition and real-time implementation of closed-loop controllers on a target microcontroller hardware. The mathematical models for pitch, roll, and yaw axes are derived via the first principle and validated with the experimental linear system identification (SI) techniques. Subsequently, employing the multi-parameter root contour technique, the classical proportional integral derivative (PID) controllers are designed and implemented in real-time on the quadcopter UAV test rig. This served as a benchmark controller for comparing it with an integral-based linear quadratic regulator (LQR) controller. Further, to improve the transient response of the LQR controller, a novel robust integral-based LQR controller with a feedforward term (LQR-FF) is implemented, which shows much superior performance than the benchmark and basic LQR controller. This work thus will act as a precursor for a more complex 3-DoF autopilot design of an untethered quadcopter.

Information

Type
Research Article
Copyright
© The Author(s), 2024. Published by Cambridge University Press on behalf of Royal Aeronautical Society
Figure 0

Figure 1. Experimental setup of a 3-DoF quadcopter UAV test rig.

Figure 1

Figure 2. Actual (a) and wireframe view (b) of quadcopter UAV including orientation axes.

Figure 2

Figure 3. Complementary filter architecture.

Figure 3

Figure 4. Control architecture for a 3-DoF test rig.

Figure 4

Figure 5. Schematic of pitch axis of a 3-DoF test rig.

Figure 5

Table 1. Parameters of 3-DoF test rig

Figure 6

Figure 6. Pitch/roll axis cross-validation.

Figure 7

Figure 7. Yaw axis open-loop pulse response.

Figure 8

Figure 8. Self validation test – yaw axis.

Figure 9

Figure 9. Open-loop yaw response for a multi- step input.

Figure 10

Figure 10. Cross-validation test for yaw axis.

Figure 11

Figure 11. Thrust curve for 1,000KV BLDC motor with 1,045 propeller.

Figure 12

Figure 12. Root contour plot of pitch controller.

Figure 13

Table 2. Pitch PID controller gains obtained by root contour method

Figure 14

Figure 13. Simulink GUI for 3-DoF PID controller implementation.

Figure 15

Figure 14. Quadcopter closed-loop responses with PID controller implementation.

Figure 16

Figure 15. Block diagram representation of type 1 servo system.

Figure 17

Figure 16. Experimental response of 3-DoF closed-loop quadcopter with LQR controller implementation.

Figure 18

Figure 17. Block diagram representation of robust integral LQR controller with feedforward term.

Figure 19

Figure 18. Experimental step response of robust integral LQR controller with feedforward term.

Figure 20

Table 3. Performance analysis of classical and modern controllers