Hostname: page-component-74656f9884-8r8nv Total loading time: 0 Render date: 2026-11-07T13:00:49.344Z Has data issue: false hasContentIssue false

Tuning of cascade PID controller gains of quadcopter under bounded disturbances using metaheuristic based research algorithm

Published online by Cambridge University Press:  11 April 2025

E.H. Çopur*
Affiliation:
Department of Aerospace Engineering, Necmettin Erbakan University, Konya 42040, Türkiye
E. Balta
Affiliation:
Department of Aeronautical Engineering, Necmettin Erbakan University, Konya 42040, Türkiye
H.H. Bilgic
Affiliation:
Department of Aeronautical Engineering, Necmettin Erbakan University, Konya 42040, Türkiye
*
Corresponding author: E.H. Çopur; Email: ehcopur@erbakan.edu.tr
Rights & Permissions [Opens in a new window]

Abstract

The proportional–integral–derivative (PID) controller remains widely used in industrial applications today due to its simplicity and ease of implementation. However, tuning the controller’s gains is crucial for achieving desired performance. This study compares the performance of PID controllers within a cascade control architecture designed for both position and attitude control of a quadcopter. Particle swarm optimisation (PSO), grey wolf optimisation (GWO), artificial bee colony (ABC), and differential evaluation (DE) methods are employed to optimally tune the PID parameters. A set of PID gains is determined offline by minimising various modified multi-objective functions based on different fitness measures: IAE, ISE, ITAE and ITSE. These measures are adapted as fitness functions for position and attitude control. A simulation study is conducted to determine which fitness function yields the optimal PID gains, as evidenced by the lowest values of the objective functions. In these simulations, two different desired trajectories are designed, and the controllers are applied to ensure the quadcopter tracks these trajectories accurately. Additionally, to test the robustness of the flight control architecture and the finely tuned PID controllers against various environmental effects and parametric uncertainties, several case scenarios are also explored.

Information

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

Figure 1. The configuration of quadcopter UAV with respect to its frames.

Figure 1

Table 1. Quadcopter parameters

Figure 2

Figure 2. A general cascade control architecture.

Figure 3

Figure 3. The flowchart used in the optimisation mechanism.

Figure 4

Table 2. The weighting coefficients

Figure 5

Table 3. Parameters values of the optimisation algorithms

Figure 6

Table 4. The best values of the fitness functions for spiral trajectory

Figure 7

Figure 4. Position response of the quadcopter in the spiral trajectory tracking mission with different optimisation algorithms.

Figure 8

Figure 5. Position errors of the quadcopter in the spiral trajectory tracking mission with different optimisation algorithms.

Figure 9

Figure 6. Attitude errors of the quadcopter in the spiral trajectory tracking mission with different optimisation algorithms.

Figure 10

Figure 7. Position response of the quadcopter in the square trajectory tracking mission with different optimisation algorithms.

Figure 11

Figure 8. Position errors of the quadcopter in the square trajectory tracking mission with different optimisation algorithms.

Figure 12

Figure 9. Attitude errors of the quadcopter in the square trajectory tracking mission with different optimisation algorithms.

Figure 13

Table 5. The best values of the fitness functions for square trajectory

Figure 14

Table 6. Performance of PID controllers for spiral path

Figure 15

Table 7. Performance of PID controllers for 2${}^{nd}$ Scenario in Fig. 11

Figure 16

Figure 10. Position response of the quadcopter in the spiral trajectory tracking mission with ABC-IAE algorithm.

Figure 17

Figure 11. Reference path for the second scenario.

Figure 18

Figure 12. Position response of the quadcopter with ABC-IAE algorithm for the ${2^{{\mathrm{nd}}}}$ scenario.