Next Article in Journal
Resilient Scheduling as a Response to Uncertainty in Construction Projects
Next Article in Special Issue
Robust Flow Field Signal Estimation Method for Flow Sensing by Underwater Robotics
Previous Article in Journal
Change in Sediment Provenance on the Inner Slope of the Chukchi Rise and Their Paleoenvironmental Implications
Previous Article in Special Issue
Bounded Attitude Control with Active Disturbance Rejection Capabilities for Multirotor UAVs
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimization of PID Controller to Stabilize Quadcopter Movements Using Meta-Heuristic Search Algorithms

1
Computer Science Department, Southern Connecticut State University, New Haven, CT 06515, USA
2
Department of Computer Science, Al-Balqa Applied University, Salt 19117, Jordan
3
Department of Computing Sciences, Texas A&M University, Corpus Christi, TX 78412, USA
4
Department of Computer Science, College of Computers and Information Technology, Taif University, P.O. Box 11099, Taif 21944, Saudi Arabia
5
Department of Information Technology, College of Computers and Information Technology, Taif University, P.O. Box 11099, Taif 21944, Saudi Arabia
*
Author to whom correspondence should be addressed.
Appl. Sci. 2021, 11(14), 6492; https://doi.org/10.3390/app11146492
Submission received: 16 February 2021 / Revised: 1 July 2021 / Accepted: 3 July 2021 / Published: 14 July 2021
(This article belongs to the Special Issue Advances in Aerial, Space, and Underwater Robotics)

Abstract

:
Quadrotor UAVs are one of the most preferred types of small unmanned aerial vehicles, due to their modest mechanical structure and propulsion precept. However, the complex non-linear dynamic behavior of the Proportional Integral Derivative (PID) controller in these vehicles requires advanced stabilizing control of their movement. Additionally, locating the appropriate gain for a model-based controller is relatively complex and demands a significant amount of time, as it relies on external perturbations and the dynamic modeling of plants. Therefore, developing a method for the tuning of quadcopter PID parameters may save effort and time, and better control performance can be realized. Traditional methods, such as Ziegler–Nichols (ZN), for tuning quadcopter PID do not provide optimal control and might leave the system with potential instability and cause significant damage. One possible approach that alleviates the tough task of nonlinear control design is the use of meta-heuristics that permit appropriate control actions. This study presents PID controller tuning using meta-heuristic algorithms, such as Genetic Algorithms (GAs), the Crow Search Algorithm (CSA) and Particle Swarm Optimization (PSO) to stabilize quadcopter movements. These meta-heuristics were used to control the position and orientation of a PID controller based on a fitness function proposed to reduce overshooting by predicting future paths. The obtained results confirmed the efficacy of the proposed controller in felicitously and reliably controlling the flight of a quadcopter based on GA, CSA and PSO. Finally, the simulation results related to quadcopter movement control using PSO presented impressive control results, compared to GA and CSA.

1. Introduction

Recently, there has been an upward trend in the popularity of Unmanned Aerial Vehicles (UAVs) in a wide range of practical applications. While large outdoor UAVs are already in application for civil, commercial or military activities, the indoor flight of small UAVs remains a challenging field of application from a scientific point of view. Inland flight requires the right type of vehicle and appropriate navigation, control and collision-avoidance algorithms. In terms of vehicle type, helicopter-like vehicles are among the most encouraging candidates in terms of their weight, low cost, size, high maneuverability, slow-flying ability and even stable hovering flight in constrained conditions. One special helicopter-like vehicle with the added advantage of plain construction and rotor mechanics is the quadrotor.
Quadrotors have received much interest in the research community, where a large number of applications are being presented and experimented. In particular, there has been a growing interest in quadcopter applications, such as object detection and landing to drone stations [1], rescue and disasters [2], agriculture [3], and even other tasks, such as those reported in [4]. It is critically essential for the success of the missions performed that the UAVs precisely and rapidly follow the required path in civilian purposes, such as logistics, mapping, search and rescue, surveillance, exploration and many more military missions, such as attack, defense, supervision and surveillance [5,6].
This current expansion is mostly attributed to the lower cost of on-board sensors, actuators, small-scale embedded computing platforms and simplified rotor mechanics [7]. In spite of the significant advances, flight control is still an open topic of research. By varying the speed of the individual motors, the lift force can be varied, and lateral and/or vertical motion can be generated. However, despite the four actuators, the quadrotor is a non-linear, aerodynamically unstable system that must be stabilized by an appropriate control system. On the one hand, flight control essentially alludes to the ability to carry out highly time-sensitive sensory data acquirement, processing, and the computation of forces for application to aircraft actuators. On the other hand, to name a few, it is advisable that UAV flight controllers are able to withstand faults, adapt to changes in payload and/or the environment, and improve the flight path. UAV flight control systems are mostly implemented using Proportional-Integral-Derivative (PID) control systems. PID has shown exceptional performance in many conditions, including in the context of drone racing, where accuracy and lightness are key factors. In contrast, it has many handicaps: (1) at times, it provides a high control signal due to wind, thus overshooting and continuing to increase as the accumulated error is unwound; and (2) the differentiator leads to the amplification of noise. The PID controller system is the preferred control method [8]. The PID controller has only three parameters, giving it an easy adjustment space to obtain a better control point [9]. It is evident that fast response speed and high controllability can be achieved by implementing proper PID parameters [10]. Therefore, the method of tuning PID parameters has become one of the hot research topics in the engineering field. In stable environments, a PID controller displays close to the best possible performance. When bared to unknown dynamics, such as variable payloads, wind and voltage drops, however, a PID controller can be far from optimal [11]. On the other hand, because quadcopters are dynamically unstable, under-actuated and nonlinear systems, it is difficult to design a quadcopter’s PID controller to track a moving target, particularly under the variable speed of the moving target and under the influence of the environment. This is because any error that occurs in any of them can cause serious damage to the quadcopter.
The PID controller successfully tracks a reference altitude, despite undergoing a large overshoot on takeoff. This may be related to the ground impact, which produces an unexpectedly strong lift before the quadcopter surveys the ground. Understanding how to balance the different aspects of flight to make a quadcopter respond optimally to a particular flight style is not a simple matter that can happen overnight. Practical knowledge of PID tuning helps to achieve this easily, and the more familiar the operator is with the PID settings, the easier it is to set the codecs to fly in any way.
Conventional methods, such as Ziegler–Nichols (ZN) [12], for the PID controller does not guarantee optimal control for a quadcopter. This method might cause system instability as well as major losses and damages to the system. Therefore, a more efficient control method is needed for the quadcopter that can make the system very stable with minimal losses and without damaging the system. A secondary goal is to achieve reliable and proper movements and directions for the quadcopter. For next-generation flight control systems to be intelligent, there is a need to devise a way to integrate adaptability to the changeable environment and dynamics. Accordingly, the evolution of intelligent flight control systems remains an active research domain [13], concretely through the use of artificial neural networks, which are an appealing choice that have been agreed on as global approximators, and noise-resistance [14]. Online learning methods [15] have the merit of learning the dynamics of an aircraft in real time. The key restriction with these methods is that the flight control system is only aware of its past experiences. It follows that its performance level is constrained when exposed to an unprecedented event. Offline training models using supervised learning are problematic, as data acquisition is prohibitively expensive and derived from imprecise representations of rudimentary aircraft dynamics, which can result in suboptimal control policies [16].
At present, many research trends in adaptive control are gradually being turned toward the use of meta-heuristic algorithms to accommodate and solve professional engineering problems [17,18]; these algorithms have enticed the attention of many researchers [19]. Overall, a variety of studies have been conducted based on meta-heuristic algorithms to obtain appropriate PID parameters, such as Genetic Algorithms (GA) [20], Particle Swarm Optimization (PSO) [21], the Artificial Immune System (AIS) [22] and the Kidney-Inspired Algorithm (IKA) [23]. A PID controller designed by other meta-heuristic optimization methods was also applied in servo systems. Pršić et al. [24] used the Firefly algorithm to adjust the three parameters of the PID controller in parallel robot platforms with six degrees of freedom gain. The Beetle Antennae Search (BAS) algorithm was adapted for use in UAV avoidance [25], trajectory organizing and control systems [26,27].
Most of the previous studies show reasonable performance and results. However, they either use the Global Positioning System (GPS) to discover the location of the target, which provides inaccurate identification in indoor environments, or they use sensor fusion. Other researchers have focused more on the part of computer vision, ignoring the influence of external disturbances, such as the impact of the environment.

Objectives of the Work

The current work focuses on the PID controller of a quadcopter whose parameters are to be tuned by meta-heuristic algorithms, including Genetic Algorithms (GA) [28], the Crow Search Algorithm (CSA) [29,30] and Particle Swarm Optimization (PSO) [31,32]. These meta-heuristics have long been accepted by the artificial intelligence community for their adequacy in solving a wide range of real applications by arriving at optimal or accurate solutions with respect to a compact set of parameters, such as time or cost [33,34,35]. The optimization methods for the quadcopter PID controller, in this work, were mathematically formulated to control the movements of the quadcopter in the x, y and z directions over the quadcopter coordinates. In the assessment of the performance of the optimization algorithms used in the work, such parameters as overshooting, rising time and settling time were integrated in a multi-objective fitness function in order to achieve an optimal gain for the PID controller.
The key contributions of the proposed work lie in the following: (1) overcoming the nonlinearity and instability of a quadcopter system through the use of three meta-heuristics that control the movements and directions of a quadcopter with the aim of obtaining high gain for the quadcopter’s PID controller; (2) it is expected that this will allow verification of the system performance and make a comparison between these meta-heuristics, using a set of related measures, as the second contribution; and (3) the third contribution is the comparison of the results of these meta-heuristics with the results of a traditional method.
The mathematical model used to simulate the movements of a quadcopter is given in Section 2. Section 3 then presents the PID controller for the quadcopter’s motors. The following Section 4 presents a brief description of GA, CSA and PSO. The evaluation methods and experimental results are presented in Section 6. Section 7 then presents a statistical analysis test for the controlling methods. Section 8 then discusses the results with closing comments, and further outlooks are given in Section 9.

2. Mathematical Model of Quadcopter

A mathematical model is needed to simulate and/or monitor the movement of a quadcopter in a three-dimensional space space with the configuration shown in Figure 1. This model is essential to establish a relationship to link the inputs with the outputs of the quadcopter system. The model can be used to predict the position and attitude of a quadcopter, using the four angular velocities of the propellers, where a quadcopter can operate under various operating conditions with respect to different input values. The stability and control of a quadcopter can be achieved with a suitable model [36].
The quadcopter is an UAV with four rotors connected to two horizontal bands. Rotors 1 and 3 rotate clockwise, while rotors 2 and 4 rotate counterclockwise to balance the torque. Quadcopters can move in six different ways by combining translational and rotational motion. The four inputs of the quadcopter can be described as follows:
  • Thrust (z): This is the vertical force that moves the quadcopter through the air in any direction, which is caused by increasing or decreasing the speed of all four rotors by the same amount, greater or lesser than the gravitational force.
  • Roll angle ( ϕ ): This identifies the rotation of the quadcopter around the x-axis, where the roll movement of the quadcopter is obtained by decreasing the speed of the second rotor and increasing the speed of the fourth rotor. This moves the quadcopter to the sides, engendering it to roll. However, it does not cause the quadcopter to alter its altitude position. These “rolls” make the quadcopter move left and right on its horizontal axis.
  • Pitch ( θ ): This identifies the rotation of the quadcopter around the y-axis, where the pitch movement is obtained by decreasing the speed of the first rotor and increasing the speed of the third rotor. The pitch means that the quadcopter tilts downwards or upwards on the basis of its orientation and the location of its nose. An upwards tilt will move the quadcopter in a backwards motion, while a downwards tilt will move it in a forwards motion.
  • Yaw ( ψ ): This identifies the rotation of the quadcopter around the z-axis, whereby the yaw motion is obtained by increasing the angular velocities of two opposite rotors and decreasing the velocities of the other two. Yaw refers to the direction that the front of the quadcopter faces when rotating either clockwise or counterclockwise on its vertical axis.

2.1. Quadcopter Coordinates

Referring to the dynamic model of a quadcopter presented in Figure 2, the following two reference frames can be used to describe the dynamic behavior movement of a quadcopter [37]:
  • The linear and angular positions of the Earth’s inertial frame (E) can be defined as follows:
    ζ = x y z , η = ϕ θ ψ
  • The linear and angular velocities of the body-fixed frame (B) can be defined as follows:
    Y = u v w , Ω = p q r
The following assumptions were taken into account when developing a dynamic model of a quadcopter:
  • The body of the quadcopter is rigid and symmetrical.
  • The center of gravity and center of body mass coincide.
  • The aerodynamic effects are not significant in the case proposed in this work.
Equations (21) and (22) can be used to derive the formulas for ζ ˙ and η ˙ as defined below:
ζ ˙ = R Y
η ˙ = J Ω
The rotation matrices along x , y and z axes are defined below:
  • Rotation along the x-axis is as follows:
    R ϕ = 1 0 0 0 C ϕ S ϕ 0 S ϕ C ϕ
    where C ϕ and S ϕ indicate cos ϕ and sin ϕ , respectively.
  • Rotation along the y-axis is as follows:
    R θ = C θ 0 S θ 0 1 0 S θ 0 C θ
    where C θ and S θ indicate cos θ and sin θ , respectively.
  • Rotation along the z-axis is as follows:
    R ψ = C ψ S ψ 0 S ψ C ψ 0 0 0 1
    where C ψ and S ψ indicate cos ψ and sin ψ , respectively.
  • Equation (6) can be used to convert all the angles from the B frame to E frame:
    R = R ϕ × R θ × R ψ
    R = C ψ C θ C ψ S θ S ϕ S ψ S ϕ C ψ S θ C ϕ + S ψ C ϕ S ψ C θ S ψ S θ S ϕ + C ψ C ϕ S ψ S θ C ϕ C ψ S ϕ S θ C θ S ϕ C θ C ϕ
  • The angular velocity translation matrix ( J ) is defined in Equation (7).
    J = 1 0 S θ 0 C ϕ S ϕ C θ 0 S ϕ C ϕ C θ
Finally, the kinematic model for a quadcopter is given in Equation (8):
x ˙ = w [ S ϕ S ψ + C ϕ C ψ S θ ] v [ C ϕ S ψ C ψ S ϕ S θ ] + u [ C ψ C θ ] y ˙ = v [ C ϕ C ψ + S ϕ S ψ S θ ] w [ C ψ S ϕ C ϕ S ψ S θ ] + u [ C θ S ψ ] z ˙ = w [ C ϕ C θ ] u [ S θ ] + v [ C θ S ϕ ] ϕ ˙ = p + r [ C ϕ T θ ] + q [ S ϕ T θ ] θ ˙ = q [ C ϕ ] r [ S ϕ ] ψ ˙ = r × C ϕ / C θ + q × S ϕ / C θ

2.2. Forces and Moment

The following terms are used in the control optimization process presented in this work:
  • The moment of inertia or angular mass is the rotating body’s resistance to angular acceleration or angular deceleration. It is best described as the product of the mass and the square of its perpendicular distance from the axis of rotation.
  • Torque is a measure of how much force is applied on an object, causing the object to rotate. It can be defined mathematically as τ = r × F , where F is the force and r is the moment arm.
After getting the relationship between the body frame and the inertial frame, we can calculate the forces and torque acting on the quadcopter so that we can control the movements of the quadcopter. The thrust force acting upwards is given as follows:
T B = i = 1 4 T i = k 0 0 i = 1 4 ω i 2
The torque force is the rotational force operating on the body of the quadcopter, making the body rotate in a specific direction.
τ B = L · k · ( ω 1 2 + ω 3 2 ) L · k · ( ω 2 2 + ω 4 2 ) b · ( ω 1 2 + ω 2 2 ω 3 2 + ω 4 2
In the E frame, the linear acceleration of a quadcopter is a combination of gravitational force and thrust force.
x ¨ y ¨ z ¨ = 0 0 g + T B / m · cos ψ sin θ cos ϕ + sin ϕ sin θ sin ϕ sin θ cos ϕ cos ψ sin ϕ cos θ cos ϕ
where x is a positional vector, x ¨ is the linear acceleration, g is the gravity force, and T B is the thrust vector. The motion of angular acceleration can be defined as follows:
M x M y M z = I x x 0 0 0 I y y 0 0 0 I z z · p ˙ q ˙ r ˙ + 0 r q r 0 p q p 0 · I x x 0 0 0 I y y 0 0 0 I z z · p q r
M x M y M z = I x x · p ˙ I y y · q ˙ I z z · r ˙ I y y · q r + I z z · q r I x x · p r I z z · p r I x x · p q + I y y · p q
p ˙ q ˙ r ˙ = M x + ( I y y I z z ) · q r I x x M y + ( I z z I x x ) · q r I y y M z + ( I x x I y y ) · p q I z z
where ω is the angular velocity, τ is the torque and I is the moment of inertia. The translation and rotation movements can be defined as follows:
x ¨ = ( cos ψ sin θ cos ϕ + sin ϕ sin θ ) · T B m
y ¨ = ( sin ϕ sin ϕ cos ϕ cos ψ sin ϕ ) · T B m
z ¨ = ( cos ϕ cos θ ) · T B m
p ˙ = M x + ( I y y I z z ) · q r I x x
q ˙ = M y + ( I z z I x x ) · q r I y y
r ˙ = M z + ( I x x I y y ) · p q I z z

3. PID Controller

Due to the increasing number of applications and complexity of the quadcopter on a daily basis, approved control algorithms also need to progress so that they can deliver better performance and boost flexibility [38]. In the past, modest linear control methods were accepted, due to their lower computational requirements and stable behavior. However, with advanced modeling methods and faster on-board computational power, a wide-range of nonlinear methods have been used to run in real time. The proposed nonlinear control methodologies have grown rapidly, and they provide high performance, making the quadcopter more powerful [39,40].
In this paper we explore one of the well-recognized controllers in industry, called the PID controller [34,41]. The PID controller has many merits, such as reducing the downtime, rise time, and peak error, and smoothing the movement of the output in addition to the overshoot of the system. Meanwhile, this type of controller has many difficulties in adjusting its parameters. For example, its low ability to tune P, I and D parameters may result in poor performance, slow control and, in some cases, system instability. Consequently, many types of tuning methods for the PID controller demand considerable attention from the operator to identify the optimal set of values for those parameters to reach a reasonable gain. One of the conventional methods widely used to fine-tune the parameters of the PID controller is the Zeigler–Nichols method [12]. However, in a few past cases, this method did not produce sensible results in reducing the time response of the signal as reported in the literature.
Based on the developed mathematical model for the quadcopter, the four inputs of the PID controller of the quadcopter’s motors were tuned to control the altitude, attitude, heading and position of the quadrotor in space. In this work, GAs, PSO and CSA are presented to optimize the gain of the PID controller in order to improve the system’s dynamic response.
P = K p × e ( t )
I = K i × 0 t e ( t )
D = K d × d e ( t ) d t
The control function can be expressed mathematically as given in Equation (24).
u ( t ) = K p e ( t ) + K i 0 t e ( t ) + K d d e ( t ) d t
The transfer function of the PID controller is defined as presented in Equation (25).
U ( S ) = K p + K i × 1 s + K d × s
The transfer function is capable of capturing the dynamics of the quadcopter’s movements [42]. Furthermore, the transfer function is utilized to demonstrate the effectiveness of the presented method. The transfer functions for the inputs of the PID controller, ϕ , θ , ψ and z are defined in Equations (26)–(29), respectively [42].
G ( s ) = 65 × s + 4560 s 3 + 109 × s 2 + 1023 × s + 2935
G ( s ) = 56.95 × s + 4391 s 3 + 105 × s 2 + 870 × s + 4430
G ( s ) = 105 s 2 + 413 × s
G ( s ) = 1.63 s 2 + 5 × s
The PID controller was designed using closed-loop feedback control in order to stabilize the closed-loop system based on pre-defined equality characteristics. The PID controller can be described by a discrete transfer function as that given in Equation (30).
U ( s ) = K d × s 2 + K p × s + K i s
At each generation, the error is recomputed for the closed-loop system, where the resulting error is corrected by the PID controller and passed as inputs to the motors of the quadcopter.
In short, flight control systems for UAVs are mostly carried out using PID control systems. A PID controller is typically used to stabilize the rotational and translational motion of an UAV quadrotor system and enforce it to follow a specific path with minimum energy and error. It is evident that a fast response speed and high control capacity can be obtained by implementing adequate PID parameters. Thus, the method of tuning the PID parameter has become one of the hotspots of research in the engineering field. The tuning process, by which optimal values for the controller parameters are gained, is a crucial challenge. Many studies have been performed to locate the best way to fine-tune the PID parameters in order to obtain appropriate performance, such as rapid response, zero steady-state error, and minimal undershoot/overshoot. Although there are only three parameters, tuning PID parameters is a difficult process because it must meet complex criteria within the limitations of system actuators. In addition, the conventional PID controller only works for lower-order systems and lacks robustness against large uncertainties in system parameters. This is due to the inadequate number of parameters for handling the independent specifications of the time–domain response, such as the overshooting and settling time. Therefore, an effective PID controller control method is needed to have a better control point. The evolution of a method for tuning quadcopter PID parameters may save effort and time, and preferable control performance can be reached. For this intent, we propose, in this paper, a mathematics-based framework using several meta-heuristic optimization algorithms to design a robust PID controller for an UAV system. The produced control system should improve time-response dynamic properties, guarantee durability against large parameter uncertainties, and provide an effective tuning tool with fewer tuning parameters. After the determination of the parameters of the PID controller, the closed-loop system will achieve the required performance criteria.

4. Bio-Inspired Meta-Heuristic Algorithms

Bio-inspired optimizer algorithms are of great value for addressing many types of complex real-world problems, making it feasible to arrive at reasonable global solutions in a plausible time frame with better accuracy and reliability than classical search methods [43]. In fact, there is a great need, in practice, for large reliability and adequacy as well as low computational burden when the problem under investigation is so challenging and the search area is quite large. Moreover, in some cases, there is a need to compare the appropriateness of particular and global solutions.
The fundamental motivation for using meta-heuristic algorithms in this controlling and optimization problem is reliable optimization through the use of a local search strategy and the randomness in their evolutionary processes to find optimal or near-optimal solutions. However, this does not always result in meta-heuristics finding compelling or optimal solutions, as was shown in several cases [33,44,45]. In such a context, exploration and exploitation constitute the fundamental and important processes of meta-heuristic algorithms. While the meta-heuristic algorithm endeavors to assay various areas in the search domain during the exploration process, it seeks to converge the search into all sub-optimal solutions found in the exploitation process [33,43].
Broadly speaking, nature-inspired algorithms have intelligence behavior based on the collective behavior of a group of social individuals with multiple collaborating agents for the sake of optimizing a given problem. Although these algorithms are made up of relatively modest individuals, they offer harmonious social behavior to guide the individuals to their intended goals. These algorithms outset by randomly creating a predetermined number of possible solutions. The candidate solutions are then updated at each iteration loop, using a particular mechanism on the basis of the meta-heuristic algorithm used. Each algorithm evaluates each solution within each iteration loop, using an objective function. Evolutionary Algorithms (EAs), such as Genetic Algorithms, and Swarm Intelligence (SI), such as Particle Swarm Optimization and the Crow Search Algorithm, are two categories of bio-inspired meta-heuristic algorithms.

5. Proposed Multi-Objective Fitness Function

Fitness function plays a key role in the optimization problems that assists the optimization method in measuring the quality of the solution of the problem under study and how effective the solution of the problem is. The fitness function used by the meta-heuristic algorithms presented in this work, namely GA, CSA and PSO, to optimize the parameters of the PID controller for the inputs of the quadcopter is the integration of the weighted absolute error time and other three parameters identified as the overshoot, rise time and settling time of the quadcopter. Therefore, this fitness function is a multi-objective function as given in Equation (31):
F i t n e s s = β 1 × K + β 2 × r + β 3 × s + β 4 × o
where β 1 , β 2 , β 3 and β 4 represent the weighting parameters that boost the efficacy of PSO; r, s and o are the rise time, settling time and overshoot, respectively; and K is the integral of the weighted absolute error time defined in Equation (32) [46]:
K = 0 n t × e d t
where n stands for the number of samples, t represents the sample time and e stands for the error difference between unity and the response time of the closed-loop system.
In Equation (31), the values of β 1 , β 2 , β 3 and β 4 are arbitrarily defined as 0.7, 0.1, 0.1 and 0.1, respectively. So, the proposed fitness function is intended to reduce all the parameter values, K, r, s and o, concurrently based on the priority that is set as the weight parameters, namely β 1 , β 2 , β 3 and β 4 .
Notably, the fitness function proposed for GA, CSA and PSO to implement the problem under study is a multi-objective function that integrates several parameters, including K, o, r and s. This combination of these parameters is targeted to increase the gain of the PID controller in the optimization process as well as to contribute to measuring the impact of the closed system performance based on the step response. As a matter of fact, K in Equation (32) is utilized in Equation (31) to arrive at an optimal PID control system design as confirmed in [30]. This parameter is integrated into the multi-objective fitness function to produce a system with a much faster settling time.

6. Experimental Results

This section presents the evaluation results of the conventional ZN method along with the results of GA, CSA and PSO in adjusting the PID parameters while controlling the movements of the quadcopter and provides an overall analysis of the varied computational time elapsed by these algorithms.

6.1. Parameter Setting

The parameter settings used by GA, PSO and CSA to optimize the gain of the PID controller for the developed experiments are displayed in Table 1. The parameters’ values were selected based on the design of the experiments to conform each algorithm to the fundamental nature of the controlling problem. In fact, the values of the parameters were changed several times until a reasonable solution was found. However, only good settings are often obtained, not the best settings.

6.2. Time Results

The overshoot, rise time and settling time values obtained by the ZN method, GAs, PSO and CSA during controlling the parameter inputs of the PID controller, namely, roll ( ϕ ), pitch ( θ ), yaw ( ψ ) and thrust (z), while controlling the movement of the quadcopter are presented in Table 2.
The overshoot, rise and settling times in Table 2 obtained by the ZN method and optimization process conducted by GAs, PSO and CSA for the PID controller parameters for a quadcopter illustrate the efficiency of these methods in controlling the movement of the quadcopter. It is clearly noted from Table 2 that the overshoot, rise time and settling time reported by the ZN method for the roll, pitch, yaw and thrust inputs of the quadcopter are relatively large. The overshoot for input yaw of the ZN method is analogous to the overshoot for the thrust input. The rise and settling times reported for the input yaw by the ZN method are very small, compared to the rise and settling times reported for the input thrust. Moreover, the settling time reported for the input roll by the ZN method is comparable to that of the input roll reported for the input pitch. The overshoot, rise time and settling time obtained by the GA-based approach are relatively small. Further, the overshoot values obtained with the GA-based approach are small, compared to the corresponding overshoot values obtained by the ZN method. However, the rise and settling times obtained by the ZN method for inputs yaw and thrust are smaller than those inputs obtained with the GA-based approach. The overshoot values for inputs roll, pitch and thrust obtained by CSA are smaller than those obtained by GA. However, the overshoot value for the input yaw-obtained CSA-based approach is smaller than that obtained by GA. By comparing the control responses from GA- and CSA-based methods for the position and orientation of the PID controller, the CSA-based method has smaller overshoots for inputs roll and yaw of the quadcopter. However, the CSA-based method has longer settling times for these inputs.
As Table 2 shows, the overshoot, rise time and settling time values obtained based on PSO provide better large performance rates, compared to the corresponding time values obtained by the ZN, GAs and CSA methods. The respective obtained values based on PSO and those corresponding values obtained based on CSA are not significant. In short, the results of the performance values of the quadcopter inputs obtained based on GA, PSO and CSA are valuable, promising and denote that these meta-heuristic optimization algorithms have acquired desirable control for the movement of a quadcopter. These results confirm the eligibility of the proposed controlling optimization approach to optimize any nonlinear dynamic system, using the meta-heuristic algorithms utilized in this work.

6.3. PID Controller Tuning Parameters

The PID controller values, K p , K i and K d , obtained by GA, PSO and CSA for the inputs of the quadcopter, denoted as roll ( ϕ ), pitch ( θ ), yaw ( ψ ) and thrust (z), along with the fitness values, are presented in Table 3.
The fitness cost values obtained by the GA-based approach for the quadcopter inputs in Table 3 are encouraging for all inputs of the quadcopter, which confirm reasonable control for the movement of the quadcopter. Table 3 confirms that PSO reported low fitness costs for all inputs of the quadcopter. Obviously, the fitness cost reported for the input ϕ is lower than the fitness cost reported for the other inputs of the quadcopter. However, the difference is relatively small compared to the inputs, θ and ψ , which are insignificant. Furthermore, PSO reported a fitness cost for the input ϕ that is significantly less than the fitness cost reported for the input z. PSO also reported a fitness cost for the input θ that is comparable to the fitness cost reported for the input ψ . In a nutshell, the low fitness values obtained by PSO in Table 3 underline the suitability of PSO in controlling the movement of the quadcopter through optimizing the PID controller parameters. The fitness values obtained by CSA are promising, where the values obtained for inputs roll and thrust are smaller than those obtained by GA. However, the fitness values reported by CSA for inputs pitch and yaw are larger than those reported by GA.

6.4. Convergence Results

The convergence curves of GA, PSO and CSA used to accomplish the optimization process presented in this work are presented, using different population sizes to demonstrate the ability of these algorithms to provide accurate control for the quadcopter movements through tuning the PID parameters of the quadcopter. Figure 3, Figure 4 and Figure 5 show the convergence characteristic curves of the roll control input of the quadcopter obtained by GA, PSO and CSA, respectively, over a different number of population sizes.
It is observed from Figure 3 that there is significant convergence in the evolutionary process of the GA-based approach in optimizing the PID controller of the quadcopter. These convergence curves are promising and affirm the effectiveness of GA in controlling the quadcopter’s movements. The convergence curves of controlling the quadcopter movement using the PSO-based approach are rendered for up to 100 iterations. These convergence curves show that PSO lays out fast convergence with very low error. It can be seen from Figure 4 that the convergence curve for the population of size 60 converges more rapidly to the optimal cost than that for the other population sizes, although PSO with population sizes of 40, 60, 80 and 100 roughly reach near fitness cost values. The fitness cost value obtained by PSO for the population of size 20 is not optimal and is significantly higher than the fitness cost values reported by PSO for larger population sizes. Thus, any further increase in the population sizes is likely to reach a very small fitness cost value. It is possible that a very large increase in the size of populations will not significantly reduce the fitness cost value further. The fitness cost value for some population sizes continues to decline slightly with further population sizes. The fitness cost value may reduce further with more than 100 particles in the population of PSO. There is a big difference between the curves of population size 20 and the other curves, which indicates that the controlling process implemented by PSO with 100 particles and 80 particles achieves better control than the controlling process carried out by PSO with 20 particles. The performance of CSA in optimizing the roll input for the quadcopter is shown for up to 100 iterations in Figure 5. These curves represent the fitness cost values obtained using the fitness criterion in Equation (31). The convergence curves in Figure 5 demonstrate that the CSA-based approach provides stable control of the quadcopter with fast convergence and very low error.
Figure 6 compares the convergence characteristic curves of the roll control input of the quadcopter obtained by GA, PSO and CSA for a population size of 100.
The convergence curves in Figure 6 confirm that the control method presented based on GA, PSO and CSA reaches a sensible degree of performance in controlling the roll input of the quadcopter for all of these meta-heuristic methods. It is clearly observed that PSO converges to a very small error value, compared to GA and CSA.

6.5. Simulation Results

The simulated step signal representations of the quadcopter’s inputs, roll ( ϕ ), pitch ( θ ), yaw ( ψ ) and thrust (z), using a PID controller along with simulations of the amplitudes of square signals of the inputs’ responses obtained by the GA and ZN methods, are illustrated in Figure 7, Figure 8, Figure 9 and Figure 10, respectively.
It is clearly evident from Figure 7, Figure 8, Figure 9 and Figure 10 that there are significant differences between GA and ZN step response curves, indicating that GA achieves a slight overshoot, a small rise time and a small settling time, compared to those arrived at by the ZN method. By comparing the simulated step responses from the GA- and ZN-based methods, the GA-based approach is faster and has a smaller overshoot for input yaw of the quadcopter. However, the GA-based approach has a longer settling time. Remarkably, the degree of separation between the GA and ZN curves is relatively large for all quadcopter inputs.
The simulated step signals of the inputs—roll, pitch, yaw and thrust—using the PID controller of the quadcopter as well as the simulations of amplitudes of the input responses obtained by the PSO and ZN methods are presented in Figure 11, Figure 12, Figure 13 and Figure 14, respectively.
Obviously, Figure 11, Figure 12, Figure 13 and Figure 14 confirm that PSO is substantially more effective than the ZN method in controlling the movement of the quadcopter. This is due to the fact that the signal representations obtained by PSO report small overshoot, modest rise and settling times, compared to those reported by the ZN method.
The simulated step signal representations using the PID controller of the quadcopter inputs—roll, pitch, yaw and thrust—along with the simulations of amplitudes of the input responses obtained by the CSA and ZN methods are displayed in Figure 15, Figure 16, Figure 17 and Figure 18, respectively.
It is clearly observed from Figure 15, Figure 16, Figure 17 and Figure 18 that there are appreciable differences between CSA and ZN step signal representations, indicating that CSA arrives at slight overshoot, small rise and small settling times compared to those reached by the ZN method. Significantly, there is a relatively large degree of separation between the CSA and ZN curves for all of the quadcopter inputs.
The simulated step signals for the roll, pitch, yaw and thrust inputs of the quadcopter shown in Figure 1 based on the use of GA, PSO, CSA and ZN methods by optimizing the PID controller of the quadcopter to stabilize its movements are presented in Figure 19.
The results shown in Figure 19a–d demonstrate the effectiveness of GA, PSO and CSA in reliably controlling the roll, pitch, yaw and thrust inputs of a quadcopter, respectively. As it is clear, the simulated signals for the roll, pitch, yaw and thrust inputs in Figure 19a–d, respectively, obtained based on GA, PSO and CSA are better than those corresponding responses obtained by the ZN method. Interestingly, the responses obtained based on GA, PSO and CSA for roll, pitch, yaw and thrust inputs of the quadcopter are almost similar to each other, with not much difference between them. However, PSO provides the best results, compared to the others.

7. Statistical Test Analysis

To locate the importance of the differences between the optimization outcomes arrived at by each method, we utilize the Friedman statistical test. This test is conducted to find out if there are perceivable differences between the overshoot results of the methods presented in this work [47]. If there are statistically notable differences between the optimization results, the Holm method [47] will be conducted as a posterior statistical procedure that is usually used to compare the best method of performance (i.e., the control method) with the rest of the methods. The level of confidence, pointed out as α , is 5% in all evaluated cases.
In more detail, Friedman’s test requires the calculation of the average ranked value. Then, a comparison is used to assess the critical values obtained for the level of significance tested ( α = 0.05 ) with Friedman’s test to check whether or not the null hypothesis is rejected. In such a context, if the level of significance (i.e., the p-value) divulged by Friedman’s test is less than or equal to 0.05 , the null hypothesis is rejected, denoting that there is a big difference between the performance scores of the algorithms. After that, further steps are needed to determine which algorithm’s performance is crucially different from the best algorithm and which algorithms are similar. This is to check whether the outcomes arrived at by the best algorithm differ from the outcomes of the other methods in a statistically significant manner. For this intent, this study looks at a post-hoc statistical analysis method of Holm’s test [48] to see which methods are worse or better than the best algorithm and at what level of significance. Holm’s test is a widely applicable test method based upon the sequential rejection method. It orders all optimization algorithms on the basis of their p-values and compares them to α / k i , where α is the significance level, k represents the freedom degree and i denotes the algorithm number. The method starts with the most significant p-value and consecutively rejects the null hypothesis as long as p i < α / k i . Once the method is not able to reject the hypothesis, it stops and stops all the remaining hypotheses passable. In applying Friedman’s test, the best-performing algorithm obtains the lowest ranking, while the worst performing algorithm obtains the highest rank. The lowest ranked method is used as a control algorithm for post-hoc analysis.
The average order of the optimization results arrived at by Friedman’s method as per the overshoot metric is tabulated in Table 4. The controlling results based the presented methods in this work are ranked as PSO in the first order, followed, in order, by CSA, GA and ZN.
The p-value, computed using Friedman’s statistical test for the overshoot measure in Table 2, is 0.025557 ; the null hypothesis of the homologous performance level is unacceptable to assert if there are statistically significant differences between the performance of all evaluated methods.
The Holm’s method is then appealed as a post-test procedure to determine if there are statistically substantial differences between the best performing algorithm (that is, PSO) and the remaining algorithms (ZN, GA and CSA). Holm’s method dismisses the hypotheses with p-values of less than 0.025 . The results obtained based on the Holm’s procedure are presented in Table 5.
The findings of Holm’s method reveal that the optimization results obtained based on PSO in controlling the movement of the quadcopter are statistically better than the optimization results obtained based on the ZN-, GA- and CSA-based approaches. In the case of the optimization results obtained using the CSA-based approach, there is no significant difference between these results and those obtained using the PSO-based approach, in accordance with the results given in Table 4 and Table 5. In summary, these end results imply that controlling the movement of the quadcopter using a CSA-based approach is a feasible alternative approach to the PSO-based approach, which needs further investigation.

8. Discussion of the Results

It is clearly observed from Table 2 that PSO reports overshoot values for the quadcopter inputs that are significantly lesser than the overshoot values reported by the ZN method, shown in Table 2, for the same corresponding quadcopter inputs. Further, GA and CSA reported overshoot values as shown in Table 2, which are lower than those reported by the ZN method for the corresponding inputs. These findings are attributed to the powerful features of GA, CSA and PSO as meta-heuristic optimization methods and the robustness of the presented multi-objective fitness function given in Equation (31). However, the overshoot values reported by PSO for the inputs of the quadcopter in Table 2 are lower than those reported by GA and CSA as shown in Table 2.
The rise and settling times reported by GA, CSA and PSO for all quadcopter inputs are remarkably lower than those reported by the ZN method for the same corresponding inputs. This clarifies and may prove that GA, CSA and PSO are reliable and more effective than the classical ZN method in controlling the movements of the quadcopter, using PID control parameters. Additionally, the differences in the rise and settling times between the control process developed based on PSO, GA and CSA for the four inputs of the quadcopter are respectively less than 0.0045, 0.0209, 0.00925, and 0.431625, on average, which are small and not statistically significant.
Overshoot of the motor signal of the quadcopter is a critical factor that should be slashed. If the temperature of the insulation of the motor of a quadcopter is elevated further away than its rated limits, then the motor will be ruined rapidly [49]. Table 2 states that the overshoot values of all movements of the quadcopter reported by PSO are close to zero in all cases considered; the overshoot values for all movements of the quadcopter reported by GA and CSA are very small in all cases considered. Outstandingly, this outcome is highly desirable for reaching an extremely low temperature for the motors of the quadcopter to protect them from destruction.
The control approaches developed based on GA, CSA and PSO report very low fitness values for all quadcopter inputs, which simply means that the controlling processes developed using these meta-heuristic algorithms for the PDI controller of the quadcopter reached an optimal control for the movements of the quadcopter. Moreover, there is no significant difference between the cost values of these algorithms, whereas the differences in fitness cost values between the optimization developed based on PSO, GA and CSA for the four inputs of the quadcopter are, respectively, less than 0.0015475 and, 0.0209, 0.00925, and 0.009815, on average, which are not statistically significant.
Simply put, the step signals representations of the quadcopter inputs plotted using GA, CSA and PSO demonstrate that these meta-heuristic algorithms are robust tuning algorithms for the quadcopter’s PID controller and are better than the conventional tuning methods, such as the evaluated ZN method. In short, this expected upshot asserts the reliability level of GA, CSA and PSO in optimizing the PID parameters for the quadcopter.
All in all, the following observations can be made from the experimental results of GA, CSA and PSO when used to optimize the PID parameters to control the movements of the quadcopter.
  • As per the overshoot evaluation method, GA, CSA and PSO outperform the ZN method through reporting significant reductions in the overshoot values as presented in Table 2.
  • In accordance with the rise and settling time values, GA, CSA and PSO report rise and settling time values that are considerably lower than the rise and settling time values reported by the ZN method for all inputs of the quadcopter as presented in Table 2.
  • As per the fitness function values for the inputs of the quadcopter, GA, CSA and PSO reach extremely low fitness costs for all inputs, indicating that GA, CSA and PSO are robust and effective in optimizing the PID parameters for the quadcopter flight as presented in Table 3.
  • The convergence curves of the evolutionary processes of GA, CSA and PSO confirm the appropriateness of these methods and the robustness of the proposed multi-objective fitness function in controlling the flight of a quadcopter.
For all evaluation criteria, the meta-heuristic algorithms presented in this paper, including GA, CSA and PSO, are able to control the PID controller of the quadcopter to control its movement in all orientations. The superior performance of these algorithms in such an optimization and control problem is attributed to the astonishing features of meta-heuristics and the fitness function, which suggested carrying out such work. The meta-heuristic optimization algorithms is presented in Appendix A.

9. Conclusions and Future Work

This work presented the use of Genetic Algorithms (GAs), Particle Swarm Optimization, and the Crow Search Algorithm (CSA) to adjust the parameters of the Proportional Integral-Derivative (PID) controller to control the movements of a quadcopter. The goal was a reliable scheme to control the movements and direction of a quadcopter. We adopted a multi-objective fitness function for GA, PSO and CSA to optimize the parameters of the PID controller by controlling the quadcopter’s flight. The performance of these algorithms was studied in detail with respect to time and accuracy. Convergence curves were presented to demonstrate the ability of this algorithm to provide an accurate controlling process. A fitness function was used to evaluate the performance of the PID controller to control the movements of a quadcopter. Superb results and credible flight orientation of the quadcopter were obtained through the use of GA, PSO and the traditional Ziegler–Nichols (ZN) method. The gain of the developed PID controller was tested through a closed-loop step response system. Further study is needed to assess the suitability of this method to control a quadcopter in a range of directions. It would be beneficial to perform a comparison of alternative meta-heuristic algorithms to control the PID of a quadcopter. Further work is needed to generalize the proposed controlling method based on meta-heuristics to tune the parameters of the PID controller for different types of aerial vehicles.

Author Contributions

Conceptualization, A.S., D.R.M., M.B. and S.A.; Methodology, A.S., M.B., A.M. and D.R.M.; Data curation, A.S., D.R.M., S.A. and H.T.; implementation and experimental work, A.S., M.B., D.R.M. and H.T.; Validation, A.S., M.B., H.T. and D.R.M.; Writing original draft preparation, A.S., M.B., D.R.M., A.M. and H.T.; Writing review and editing, A.S., M.B., A.M. and S.A.; Proofreading, A.S. and A.M.; Supervision, A.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Acknowledgments

Sultan Aljahdali acknowledge that this work was supported by Taif University Researchers Supporting Project Number (TURSP-2020/73), Taif University, Taif, Saudi Arabia.

Conflicts of Interest

The authors declare that there is no conflict of interest regarding the publication of this paper.

Appendix A. Meta-Heuristic Optimization Algorithms

Appendix A.1. Genetic Algorithms

Genetic Algorithms are one of the most well-known EAs inspired from Darwin’s theory of evolution by John Holland in 1975 [50] and subsequently extended and explored in depth by [51] and Goldberg [52]. The key inspiration features of GAs were inspired based on the evolutionary concepts of natural selection and genetic operators, referred to as crossover and mutation operators. GA does not demand any gradient information and is more likely to converge to the search area for optimum global solutions. The population of GA is initialized by a number of candidate solutions. The iterative procedure of GAs is prolonged through the application of the difference vector based on GAs reproduction operators, in order, including mutation and crossover operators followed by the selection mechanism. Then, each solution within each loop in the evolutionary computational process is evaluated using a pre-determined objective criterion presented to fit to the optimization problem under consideration. In such a context, an objective value is allocated to each individual of the GAs to determine the solution quality of the individuals at each iteration loop of the evolutionary process. In general terms, the problem under study is usually represented by a number of individuals (i.e., chromosomes) that are commensurate with the nature of the problem. Each chromosome acts for a candidate potential solution. The fitness function in GA is always used to judge the quality of the solution of each chromosome in the population. Chromosomes undergo mutation and crossover operators throughout the evolutionary process, eventually leading to the following generation. The crossover operation integrates picked pairs of chromosomes to evolve the following generation that comes up with a new solution. Mutation is always used to prohibit coming down into local solutions. GA can be adapted to a wide range of problems and domains. Hence, it is widely known for its ability to solve complex optimization problems. GA has few mathematical requirements, and these implement an important characteristic of GA when used to address optimization issues. The main steps of GAs can be briefly outlined by a pseudo-code as illustrated in Algorithm A1.
Algorithm A1: Pseudo-code of GAs.
1:
N ← Population size.
2:
L ← Number of iterations.
3:
l← Current iteration.
4:
P c ← Crossover rate.
5:
P m ← Mutation rate.
6:
Initialize the population of GA with a size of N.
7:
Evaluate the fitness function of each chromosome using Equation (31) given below.
8:
while l ≤ L do
         Selection : Select Parents from the current population.
9:
Crossover : Perform crossover operation for offsprings with a probability of P c .
10:
if  ( r a n d ( 0.0 , 1.0 ) < P m )  then
                 Mutation : Mutate the generated offsprings from the population.
      end
       Evaluation : Evaluate every chromosome using the fitness function.
11:
Updating : Update the population by removing certain limit of lease fit solutions.
      end
      Results: Return the global best solution.
In the proposed work, the evolutionary GA process comprises a number of basic steps to reach the optimal movement and orientation of a quadcopter as given below:
Representation: This step uses a proper chromosome representation so that it can optimize the gain of the PID controller. In this case, the candidate solutions (i.e., individuals) are stored in a three-dimensional parameter vector.
Initialization: This step defines a set of chromosomes in the population and creates random values of genes for those chromosomes.
Evaluation: In this step, the fitness function value is recomputed for each chromosome generated in the initialization phase.
Selection: In this step, the roulette wheel selection mechanism is used to select the suitable chromosomes from the population for mating and the creation of the off-springs produced.
Crossover: A single point crossover mechanism is used to identify one point for each parent and to generate a new child, using a combination of all the data before the allocated crossover point from the first parent with all data after the allocated crossover point of the second parent.
Mutation: This genetic step implements a random tweak in the chromosomes to boost the diversity concept in the population. In other words, it is implemented by replacing the gene at a random position with a new value.

Appendix A.2. Particle Swarm Optimization

Particle swarm optimization is a well-known and familiar type of SI algorithm proposed by Kennedy and Eberhart in 1995 [31,53]. The main inspiration of PSO is to mimic the collective interactive behavior of non-intelligent social swarms, such as birds and fishes, with collaborating agents in nature. It represents a set of solutions (i.e., particles) that move in groups in the search space. The particles of PSO explore possible solutions in the search area and accelerate to the global solutions based on a predetermined criterion. The term “particles” was adopted because particles experience positions, velocities and accelerations of the swarms in accordance with specific equations that update the particles’ movement. The particles of the PSO algorithm are updated at each iteration based on the optimal solutions found so far by all particles, as the best solution can be explicitly identified by the best updated particle. The position of each particle is controlled based on the fitness score of each particle as well as the fittest particle of the swarms in the search area. Equation (A1) can be used to update the velocity, v, and the position, x, for each particle for a number of n particles in PSO.
v i d ( t + 1 ) = ω v i d ( t ) + α r 1 [ p i d ( t ) x i d ( t ) ] + γ r 2 [ p g d ( t ) x i d ( t ) ] x i d ( t + 1 ) = x i d ( t ) + v i d ( t + 1 )
where i identifies the index number of each particle, d indicates the dimension of the problem under consideration, t identifies the iteration number, v i d is the velocity of the ith particle in the dth dimension, p i d represents the best position of the ith particle visited so far in the dth dimension, p g d represents the global best position of a particle in the swarm in the dth dimension, ω is a positive inertia weight, r 1 and r 2 are two randomly generated numbers between 0 and 1, α and β are two constants that represent the values of the degree of influence of p i d and p g d on the particles velocity, respectively, and x i d is the position of the ith particle in the dth dimension.
Equation (A1) can be used to find a new solution in the search space and to update the global best solution. The key steps of PSO can be summarized as shown by the pseudo-code in Algorithm A2.
The PSO algorithm embraces exploration search properties, making it well suited for optimizing nonlinear functions and complex real-world problems. It is expected that through the use of PSO, there is a high probability of evading minimal local solutions over and over by encouraging more exploration of the search domain. This issue is concerned with the fact that survival is the ultimate goal for fish schooling and bird flocking. Consequently, PSO exhibits a coordinated behavior that distinguishes the social behavior of bird and fish swarms in nature.
There are many applications presented in the literature based on PSO that have reported convincing results in a wide range of optimization issues [28,54]. Today, there is rapid development in the use of meta-heuristic algorithms, and especially PSO, to address real contemporary problems, such as the problem under consideration. The particle representation for the problem under study is represented in Table A1.
Table A1. PSO particle representation.
Table A1. PSO particle representation.
k p k i K d
Algorithm A2: Pseudo-code of PSO.
1:
N ← Population size.
2:
L ← Number of iterations.
3:
l ← Current iteration.
4:
pbest ← Personal best solution.
5:
gbest ← Global best solution.
6:
p ← Best particle.
7:
Initialize the positions of all N particles.
8:
Evaluate the fitness function of each particle using Equation (31)
9:
whileWhile l ≤ L do
       foreach particle in p do
             Update p b e s t :
10:
    if  ( f ( p ) < f ( p b e s t ) ) then
                    p b e s t = p.
             end
             Update g b e s t
11:
    if  ( f ( p b e s t ) < f ( g b e s t ) ) then
                    g b e s t = p b e s t
             end
     end
     foreach particle in p do
           Update velocity and position: using Equation (A1)
     end
      end
      Results: return g b e s t .

Appendix A.3. Crow Search Algorithm

The Crow Search Algorithm is a meta-heuristic algorithm inspired from the collective behavior of crows in nature [29]. Specifically, abstract ideas of living social behavior and crows feeding aspects led to the evolution of this algorithm with a mathematical model, described in detail in [29]. Many studies have reported in the literature that crows exhibit intelligent behavior and capabilities of intelligently hiding food in a specific location and the capabilities of finding it again. In such a context, crows communicate in a complex way, as they have a good memory of where they store their food. As such, CSA is a meta-heuristic population-based search algorithm, and it is implemented in accordance with the following rules:
  • Crows inhabit in nature in flocks.
  • Crows can recall the places in which they store their food and fetch it once more.
  • Crows can see other animals when they pillage their stored food.
  • Crows have the capacity to manage themselves in ratios to safeguard their unattended food.
To solve a particular optimization problem using CSA, the solution is represented as the position of the crows at any instant of time as given in Equation (A2).
x j , g = x 1 j , g , x 2 j , g , , x D j , g
where x j , g stands for the position of the j th crow at generation g and D identifies the dimension of the problem under study.
Similar to any population-based algorithm, CSA begins by randomly generating a pool of possible solutions, representing a flock of crows. As mentioned earlier, crows make use of their memory to recover hidden food placements, which implicitly typifies the quality of the crows’ positions. The quality of each solution is judged by the fitness value computed from a fitness evaluation criterion used to solve the given problem. The quality of each solution is collected in a predefined array as stated in Equation (A3).
M e m o r y = m 1 1 m 2 1 m d 1 m 1 2 m 2 2 m d 2 m 1 N m 2 N m d N
The crows in flocks update their positions as per the following procedure: each crow j realizes another crow k from the flock to pursue it with the aim to locate the hidden food by the last crow, and is referred to as m k . This mechanism is illustrated in Equation (A4).
x j , k + 1 = x j , g + r j × f l j , g × m k , g x j , g r k A P k , g a r a n d o m p o s i t i o n O t h e r w i s e
where r k indicates a random number generated from a uniform distribution in the interval from 0 to 1, and A P k , g stands for the awareness probability of crow kth at generation g.
The solution quality is valued for each new crow position, using the fitness score obtained in each iteration. The crow’s position is updated if its solution is better than the current crow’s solution. However, the crow remains in place if the quality of its solution is lesser than that of the current crow. The crows’ location memory can be updated, using Equation (A5).
m j , g + 1 = x j , g + 1 f x j , g + 1 i s b e t t e r t h a n f m j , g m j , g O t h e r w i s e
where f denotes the score value of the fitness criterion.
Likewise, each crow updates its memory if its solution quality in the new position is higher than the memorized position. CSA is implemented in an iterative procedure: the new positions and memories of the crows are created, assessed, and updated at each iteration loop until convergence, in which a defined evaluation method fit to the problem under study is met.
In short, the iterative steps of CSA can be described briefly by an pseudo-code as outlined in Algorithm A3.
While the usefulness of CSA in optimization problems is incontrovertible, it has not been used to optimize a control problem. Therefore, in light of the stimulating results of the CSA in many fields, we explore, in this work, its significance in a control problem for optimizing the parameters of the PID controller of a quadcopter to control its movement.
Algorithm A3: Pseudo-code stating the basic steps of the Crow Search Algorithm.
1:
N ← Number of crows in the search space.
2:
AP ← Awareness probability.
3:
fl ← Flight length.
4:
k ← Iteration counter.
5:
K ← maximum number of iterations.
6:
Set the initial values of N, A P , f l and K
7:
Initialize all crows positions, x i , randomly in the search space, where i = 1 , 2 , , N .
8:
Evaluate the fitness value for each crow using the fitness function f ( x )
9:
Initialize the memory, m, of all crows
10:
Set k ← 1 while (kK) do
        for i = 1, 2, , N do
11:
      Randomly pick one of crows, such as crow z, to pursue if ( r z A P z , l ) then
12:
            x i k + 1 = x i k + r i × f l i k × ( m z k x i k )
             end
13:
       x i k + 1 = Random location in the search space
        end
14:
Check the feasibility of each position for each crow ( x i k + 1 )
15:
Evaluate each new position for each crow f ( x i k + 1 )
16:
Update the memory for each crow in the population m i k + 1
17:
k = k + 1
        end
18:
Return best solution of all crows x

References

  1. Talha, M.; Asghar, F.; Rohan, A.; Rabah, M.; Kim, S.H. Fuzzy logic-based robust and autonomous safe landing for UAV quadcopter. Arab. J. Sci. Eng. 2019, 44, 2627–2639. [Google Scholar] [CrossRef]
  2. Saha, H.; Basu, S.; Auddy, S.; Dey, R.; Nandy, A.; Pal, D.; Roy, N.; Jasu, S.; Saha, A.; Chattopadhyay, S.; et al. A low cost fully autonomous GPS (Global Positioning System) based quad copter for disaster management. In Proceedings of the 2018 IEEE 8th Annual Computing and Communication Workshop and Conference (CCWC), Las Vegas, NV, USA, 8–10 January 2018; pp. 654–660. [Google Scholar]
  3. Navia, J.; Mondragon, I.; Patino, D.; Colorado, J. Multispectral mapping in agriculture: Terrain mosaic using an autonomous quadcopter UAV. In Proceedings of the 2016 International Conference on Unmanned Aircraft Systems (ICUAS), Arlington, VA, USA, 7–10 June 2016; pp. 1351–1358. [Google Scholar]
  4. Hunt, G.; Mitzalis, F.; Alhinai, T.; Hooper, P.A.; Kovac, M. 3D printing with flying robots. In Proceedings of the 2014 IEEE International Conference on Robotics and Automation (ICRA), Hong Kong, China, 31 May–7 June 2014; pp. 4493–4499. [Google Scholar]
  5. Hu, C.; Zhang, Z.; Yang, N.; Shin, H.S.; Tsourdos, A. Fuzzy multiobjective cooperative surveillance of multiple UAVs based on distributed predictive control for unknown ground moving target in urban environment. Aerosp. Sci. Technol. 2019, 84, 329–338. [Google Scholar] [CrossRef]
  6. Altan, A.; Hacıoğlu, R. Model predictive control of three-axis gimbal system mounted on UAV for real-time target tracking under external disturbances. Mech. Syst. Signal Process. 2020, 138, 106548. [Google Scholar] [CrossRef]
  7. Paiva, E.; Soto, J.; Salinas, J.; Ipanaqué, W. Modeling, simulation and implementation of a modified PID controller for stabilizing a quadcopter. In Proceedings of the 2016 IEEE International Conference on Automatica (ICA-ACCA), Curico, Chile, 19–21 October 2016; pp. 1–6. [Google Scholar]
  8. Fan, Y.; Shao, J.; Sun, G.; Shao, X. Improved beetle antennae search algorithm-based Lévy flight for tuning of PID controller in force control system. Math. Probl. Eng. 2020, 2020, 4287315. [Google Scholar] [CrossRef]
  9. de Jesus Rubio, J.; Cruz, P.; Paramo, L.A.; Meda, J.A.; Mujica, D.; Ortigoza, R.S. PID anti-vibration control of a robotic arm. IEEE Lat. Am. Trans. 2016, 14, 3144–3150. [Google Scholar] [CrossRef]
  10. Kumar, J.; Kumar, V.; Rana, K. Design of robust fractional order fuzzy sliding mode PID controller for two link robotic manipulator system. J. Intell. Fuzzy Syst. 2018, 35, 5301–5315. [Google Scholar] [CrossRef]
  11. Maleki, K.N.; Ashenayi, K.; Hook, L.R.; Fuller, J.G.; Hutchins, N. A reliable system design for nondeterministic adaptive controllers in small UAV autopilots. In Proceedings of the 2016 IEEE/AIAA 35th Digital Avionics Systems Conference (DASC), Sacramento, CA, USA, 25–29 September 2016; pp. 1–5. [Google Scholar]
  12. Meshram, P.; Kanojiya, R.G. Tuning of PID controller using Ziegler-Nichols method for speed control of DC motor. In Proceedings of the IEEE-International Conference on Advances in Engineering, Science and Management (ICAESM-2012), Nagapattinam, India, 30–31 March 2012; pp. 117–122. [Google Scholar]
  13. Santoso, F.; Garratt, M.A.; Anavatti, S.G. State-of-the-art intelligent flight control systems in unmanned aerial vehicles. IEEE Trans. Autom. Sci. Eng. 2017, 15, 613–627. [Google Scholar] [CrossRef]
  14. Miglino, O.; Lund, H.H.; Nolfi, S. Evolving mobile robots in simulated and real environments. Artif. Life 1995, 2, 417–434. [Google Scholar] [CrossRef]
  15. Dierks, T.; Jagannathan, S. Output feedback control of a quadrotor UAV using neural networks. IEEE Trans. Neural Netw. 2009, 21, 50–66. [Google Scholar] [CrossRef]
  16. Shepherd, J.F., III; Tumer, K. Robust neuro-control for a micro quadrotor. In Proceedings of the 12th Annual Conference on Genetic and Evolutionary Computation, Portland, OR, USA, 7–11 July 2010; pp. 1131–1138.
  17. Braik, M. A Hybrid Multi-gene Genetic Programming with Capuchin Search Algorithm for Modeling a Nonlinear Challenge Problem: Modeling Industrial Winding Process, Case Study. Neural Process. Lett. 2021, 36, 1–44. [Google Scholar]
  18. Braik, M.S. Chameleon Swarm Algorithm: A bio-inspired optimizer for solving engineering design problems. Expert Syst. Appl. 2021, 174, 114685. [Google Scholar] [CrossRef]
  19. Braik, M.; Sheta, A.; Al-Hiary, H. A novel meta-heuristic search algorithm for solving optimization problems: Capuchin search algorithm. Neural Comput. Appl. 2021, 33, 2515–2547. [Google Scholar] [CrossRef]
  20. Alkamachi, A.; Erçelebi, E. Modelling and genetic algorithm based-PID control of H-shaped racing quadcopter. Arab. J. Sci. Eng. 2017, 42, 2777–2786. [Google Scholar] [CrossRef]
  21. Yeom, K. Intelligent controller modelling for steerable robotic bar using bio-inspired control synthesis. Microsyst. Technol. 2019, 25, 1493–1504. [Google Scholar] [CrossRef]
  22. Wang, M.; Feng, S.; He, C.; Li, Z.; Xue, Y. An artificial immune system algorithm with social learning and its application in industrial PID controller design. Math. Probl. Eng. 2017, 2017, 3959474. [Google Scholar] [CrossRef]
  23. Ekinci, S.; Hekimoğlu, B. Improved kidney-inspired algorithm approach for tuning of PID controller in AVR system. IEEE Access 2019, 7, 39935–39947. [Google Scholar] [CrossRef]
  24. Pršić, D.; Nedić, N.; Stojanović, V. A nature inspired optimal control of pneumatic-driven parallel robot platform. Proc. Inst. Mech. Eng. Part C J. Mech. Eng. Sci. 2017, 231, 59–71. [Google Scholar] [CrossRef]
  25. Wu, Q.; Shen, X.; Jin, Y.; Chen, Z.; Li, S.; Khan, A.H.; Chen, D. Intelligent beetle antennae search for UAV sensing and avoidance of obstacles. Sensors 2019, 19, 1758. [Google Scholar] [CrossRef] [Green Version]
  26. Wu, Q.; Lin, H.; Jin, Y.; Chen, Z.; Li, S.; Chen, D. A new fallback beetle antennae search algorithm for path planning of mobile robots with collision-free capability. Soft Comput. 2020, 24, 2369–2380. [Google Scholar] [CrossRef]
  27. Fan, Y.; Shao, J.; Sun, G. Optimized PID controller based on beetle antennae search algorithm for electro-hydraulic position servo control system. Sensors 2019, 19, 2727. [Google Scholar] [CrossRef] [Green Version]
  28. Sheta, A.; Braik, M.S.; Aljahdali, S. Genetic algorithms: A tool for image segmentation. In Proceedings of the 2012 International Conference on Multimedia Computing and Systems, Tangiers, Morocco, 10–12 May 2012; pp. 84–90. [Google Scholar]
  29. Askarzadeh, A. A novel metaheuristic method for solving constrained engineering optimization problems: Crow search algorithm. Comput. Struct. 2016, 169, 1–12. [Google Scholar] [CrossRef]
  30. Sheta, A.; Faris, H.; Braik, M.; Mirjalili, S. Nature-inspired metaheuristics search algorithms for solving the economic load dispatch problem of power system: A comparison study. In Applied Nature-Inspired Computing: Algorithms and Case Studies; Nilanjan, D., Amira, S., Ashour, S.B., Eds.; Springer: Singapore, 2020; pp. 199–230. [Google Scholar]
  31. Kennedy, J.; Eberhart, R.C. Particle swarm optimization. In Proceedings of the IEEE International Conference on Neural Networks, Perth, WA, Australia, 27 November–1 December 1995; Volume 4, pp. 1942–1948. [Google Scholar]
  32. Braik, M.; Sheta, A. Exploration of Genetic Algorithms and Particle Swarm Optimization in Improving the Quality of Medical Images; Lambert Academic Publishing (LAP): Saarbrücken, Germany, 2011; pp. 329–360. [Google Scholar]
  33. Sheta, A.; Braik, M.; Al-Hiary, H. Modeling the Tennessee Eastman chemical process reactor using bio-inspired feedforward neural network (BI-FF-NN). Int. J. Adv. Manuf. Technol. 2019, 103, 1359–1380. [Google Scholar] [CrossRef]
  34. Maddi, D.; Sheta, A.; Davineni, D.; Al-Hiary, H. Optimization of PID Controller Gain Using Evolutionary Algorithm and Swarm Intelligence. In Proceedings of the 2019 10th International Conference on Information and Communication Systems (ICICS), Irbid, Jordan, 11–13 June 2019; pp. 199–204. [Google Scholar]
  35. Braik, M.; Al-Zoubi, H.; Al-Hiary, H. Artificial neural networks training via bio-inspired optimisation algorithms: Modelling industrial winding process, case study. Soft Comput. 2021, 25, 4545–4569. [Google Scholar] [CrossRef]
  36. Jiŕinec, T. Stabilization and Control of Unmanned Quadcopter. Master’s Thesis, LuleåUniversity of Technology, Luleå, Sweden, 30 May 2011. Validerat; 20111004 (anonymous). [Google Scholar]
  37. Gibiansky, A. Quadcopter Dynamics and Simulation. 23 November 2012. Available online: https://andrew.gibiansky.com/blog/physics/quadcopter-dynamics/ (accessed on 1 July 2021).
  38. Henriques, B.S.M. Estimation and Control of a Quadrotor Attitude; Master of Science; Instituto Superior Técnico, Lisbon University: Lisbon, Portugal, 2011. [Google Scholar]
  39. Thu, K.M.; Gavrilov, A. Designing and Modeling of Quadcopter Control System Using L1 Adaptive Control. Procedia Comput. Sci. 2017, 103, 528–535. [Google Scholar] [CrossRef]
  40. HadiAbbas, N.; Sami, A.R. Tuning of PID Controllers for Quadcopter System using Hybrid Memory based Gravitational Search Algorithm–Particle Swarm Optimization. Int. J. Comput. Appl. 2017, 172, 9–18. [Google Scholar]
  41. Ang, K.H.; Chong, G.; Li, Y. PID control system analysis, design, and technology. IEEE Trans. Control Syst. Technol. 2005, 13, 559–576. [Google Scholar]
  42. Li, J.; Li, Y. Dynamic analysis and PID control for a quadrotor. In Proceedings of the 2011 IEEE International Conference on Mechatronics and Automation, Beijing, China, 7–10 August 2011; pp. 573–578. [Google Scholar]
  43. Yang, X.S. Nature-Inspired Metaheuristic Algorithms; Luniver Press: Frome, UK, 2010. [Google Scholar]
  44. Sheta, A.; Faris, H.; Aljarah, I. Estimating ARMA Model Parameters of an Industrial Process Using Meta-Heuristic Search Algorithms. Int. J. Eng. Technol. 2018, 7, 187–194. [Google Scholar] [CrossRef] [Green Version]
  45. Krell, E.; Sheta, A.; Balasubramanian, A.P.R.; King, S.A. Collision-Free Autonomous Robot Navigation in Unknown Environments Utilizing PSO for Path Planning. J. Artif. Intell. Soft Comput. Res. 2019, 9, 267–282. [Google Scholar] [CrossRef] [Green Version]
  46. Patel, A.; Juneja, P.K.; Chaturvedi, M.; Rawat, S. Integral Error Based Controller Design & Performance Analysis for a TOPDT Process. In Proceedings of the 2016 International Conference on Advances in Computing, Communication, & Automation (ICACCA) (Spring), Dehradun, India, 8–9 April 2016. [Google Scholar]
  47. Ross, S. Introduction to Probability and Statistics for Engineers and Scientists, Student Solutions Manual, 4th ed.; Academic Press: Cambridge, MA, USA, 2009. [Google Scholar]
  48. Holm, S. A simple sequentially rejective multiple test procedure. Scand. J. Stat. 1979, 6, 65–70. [Google Scholar]
  49. Bloch, H.P.; Geitner, F.K. Practical Machinery Management for Process Plants; Gulf Publishing Company: Houston, TX, USA, 1988; Volume 3. [Google Scholar]
  50. Holland, J. Adaptation in Natural and Artificial Systems; University of Michigan Press: Ann Arbor, MI, USA, 1975. [Google Scholar]
  51. De Jong, K. Analysis of Behavior of a Class of Genetic Adaptive Systems. Ph.D. Thesis, University of Michigan, Ann Arbor, MI, USA, 1975. [Google Scholar]
  52. Goldberg, D. Genetic Algorithms in Search, Optimization, and Machine Learning; Addison-Wesley: New York, NY, USA, 1989; p. 989. [Google Scholar]
  53. Poli, R.; Kennedy, J.; Blackwell, T. Particle swarm optimization. Swarm Intell. 2007, 1, 33–57. [Google Scholar] [CrossRef]
  54. Braik, M.; Sheta, A.; Ayesh, A. Particle swarm optimisation enhancement approach for improving image quality. Int. J. Innov. Comput. Appl. 2007, 1, 138. [Google Scholar] [CrossRef]
Figure 1. Quadcopter configuration.
Figure 1. Quadcopter configuration.
Applsci 11 06492 g001
Figure 2. Block diagram of a quadcopter model.
Figure 2. Block diagram of a quadcopter model.
Applsci 11 06492 g002
Figure 3. Convergence curves of GA with various population sizes.
Figure 3. Convergence curves of GA with various population sizes.
Applsci 11 06492 g003
Figure 4. Convergence curves of PSO using various numbers of population sizes.
Figure 4. Convergence curves of PSO using various numbers of population sizes.
Applsci 11 06492 g004
Figure 5. Convergence curves of CSA using various numbers of population sizes.
Figure 5. Convergence curves of CSA using various numbers of population sizes.
Applsci 11 06492 g005
Figure 6. Convergence curves of GA, PSO and CSA with population size 100.
Figure 6. Convergence curves of GA, PSO and CSA with population size 100.
Applsci 11 06492 g006
Figure 7. Simulated output responses of the roll input of a quadcopter using GA and ZN methods.
Figure 7. Simulated output responses of the roll input of a quadcopter using GA and ZN methods.
Applsci 11 06492 g007
Figure 8. Simulated output response of the pitch input of a quadcopter using GA and ZN methods.
Figure 8. Simulated output response of the pitch input of a quadcopter using GA and ZN methods.
Applsci 11 06492 g008
Figure 9. Simulated output responses of the yaw input of the quadcopter using GA and ZN methods.
Figure 9. Simulated output responses of the yaw input of the quadcopter using GA and ZN methods.
Applsci 11 06492 g009
Figure 10. Simulated output responses of the thrust input of a quadcopter using GA and ZN methods.
Figure 10. Simulated output responses of the thrust input of a quadcopter using GA and ZN methods.
Applsci 11 06492 g010
Figure 11. Simulated output responses of the roll input of a quadcopter using PSO and ZN methods.
Figure 11. Simulated output responses of the roll input of a quadcopter using PSO and ZN methods.
Applsci 11 06492 g011
Figure 12. Simulated output responses of the pitch input of a quadcopter using PSO and ZN methods.
Figure 12. Simulated output responses of the pitch input of a quadcopter using PSO and ZN methods.
Applsci 11 06492 g012
Figure 13. Simulated output responses of the yaw input of a quadcopter using PSO and ZN methods.
Figure 13. Simulated output responses of the yaw input of a quadcopter using PSO and ZN methods.
Applsci 11 06492 g013
Figure 14. Simulated output responses of the thrust input of a quadcopter using PSO and ZN methods.
Figure 14. Simulated output responses of the thrust input of a quadcopter using PSO and ZN methods.
Applsci 11 06492 g014
Figure 15. Simulated output responses of the roll input of a quadcopter using CSA and ZN methods.
Figure 15. Simulated output responses of the roll input of a quadcopter using CSA and ZN methods.
Applsci 11 06492 g015
Figure 16. Simulated output responses of the pitch input of a quadcopter using CSA and ZN methods.
Figure 16. Simulated output responses of the pitch input of a quadcopter using CSA and ZN methods.
Applsci 11 06492 g016
Figure 17. Simulated output responses of the yaw input of a quadcopter using CSA and ZN methods.
Figure 17. Simulated output responses of the yaw input of a quadcopter using CSA and ZN methods.
Applsci 11 06492 g017
Figure 18. Simulated output responses of the thrust input of a quadcopter using CSA and ZN methods.
Figure 18. Simulated output responses of the thrust input of a quadcopter using CSA and ZN methods.
Applsci 11 06492 g018
Figure 19. Simulated output responses of the roll, pitch, yaw and thrust inputs of a quadcopter using (a) GA, (b) PSO, (c) CSA and (d) ZN methods.
Figure 19. Simulated output responses of the roll, pitch, yaw and thrust inputs of a quadcopter using (a) GA, (b) PSO, (c) CSA and (d) ZN methods.
Applsci 11 06492 g019
Table 1. Parameter setting of GA, PSO and CSA used in this study.
Table 1. Parameter setting of GA, PSO and CSA used in this study.
AlgorithmParameterValue
   GANumber of genes100
Mutation fraction0.1
Crossover fraction0.8
Lower bound0
Upper bound50
Number of iterations100
   PSONumber of particles100
Inertia weight ( ω )1
Cognitive parameter ( α )1.5
Social parameter ( γ )2.0
Lower bound0
Upper bound50
Number of iterations100
  CSANumber of crows100
Awareness probability ( A P )0.1
Flight length ( f l )2
Lower bound0
Upper bound50
Number of iterations100
Table 2. Overshoot, rise time and settling time obtained by ZN, GAs, PSO and CSA.
Table 2. Overshoot, rise time and settling time obtained by ZN, GAs, PSO and CSA.
MethodZNGAs
EvaluationOvershootRise timeSettling timeOvershootRise timeSettling time
Roll6.3340.260.7811.98570.1170.164
Pitch4.7910.1680.790.04510.2240.364
Yaw10.2660.00230.0191.3510.1600.263
Thrust10.26680.1891.5821.9990.0380.517
MethodPSOCSA
EvaluationOvershootRise timeSettling timeOvershootRise timeSettling time
Roll00.1190.1810.3900.1410.2182
Pitch0.03860.1920.280.01930.22360.362
Yaw0.04250.1660.2965.840.1411.507
Thrust0.01590.0440.56400.0990.9603
Table 3. The fitness and PID controller values for the quadcopter inputs as obtained by GAs, PSO and CSA.
Table 3. The fitness and PID controller values for the quadcopter inputs as obtained by GAs, PSO and CSA.
MethodGAs
Parameter K p K i K d Fitness cost
Roll4.29369.9990.27580.04247
Pitch1.7989100.204630.00993
Yaw49.9999.462600.1323
Thrust505043.00910.10289
MethodPSO
Parameter K p K i K d Fitness cost
Roll4.3088100.32540.0257
Pitch2.02329.99980.17360.0405
Yaw500.708300.0354
Thrust5032.79837.8140.1798
MethodCSA
Parameter K p K i K d Fitness cost
Roll3.4769.93570.29520.03737
Pitch1.80209.99960.20370.00994
Yaw49.79649.9410.02750.22835
Thrust37.0720.001120.82350.0450
Table 4. Average order of the optimization methods based on Friedman’s test using the overshoot metric measure.
Table 4. Average order of the optimization methods based on Friedman’s test using the overshoot metric measure.
AlgorithmRanking
ZN4.0
GA2.75
CSA1.75
PSO1.5
Table 5. Results of Holm’s method based on the overshoot measure.
Table 5. Results of Holm’s method based on the overshoot measure.
iMethodzp-Value α ÷ iHypothesis
1CSA0.273860.784190.0500Not rejected
2GA1.369300.170900.0250Not rejected
3ZN2.738610.006160.0166Rejected
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Sheta, A.; Braik, M.; Maddi, D.R.; Mahdy, A.; Aljahdali, S.; Turabieh, H. Optimization of PID Controller to Stabilize Quadcopter Movements Using Meta-Heuristic Search Algorithms. Appl. Sci. 2021, 11, 6492. https://doi.org/10.3390/app11146492

AMA Style

Sheta A, Braik M, Maddi DR, Mahdy A, Aljahdali S, Turabieh H. Optimization of PID Controller to Stabilize Quadcopter Movements Using Meta-Heuristic Search Algorithms. Applied Sciences. 2021; 11(14):6492. https://doi.org/10.3390/app11146492

Chicago/Turabian Style

Sheta, Alaa, Malik Braik, Dheeraj Reddy Maddi, Ahmed Mahdy, Sultan Aljahdali, and Hamza Turabieh. 2021. "Optimization of PID Controller to Stabilize Quadcopter Movements Using Meta-Heuristic Search Algorithms" Applied Sciences 11, no. 14: 6492. https://doi.org/10.3390/app11146492

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop