Next Article in Journal
Development of a Programmable System Used for the Preparation of a Mixture of Flammable/Explosive Gases
Previous Article in Journal
Real-Time Object Classification on an Enamel Paint Coating Conveyor Line Using Mask R-CNN
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Comparative Analysis: Fractional PID vs. PID Controllers for Robotic Arm Using Genetic Algorithm Optimization

1
Interdisciplinary Research Center for Smart Mobility and Logistics, King Fahd University of Petroleum and Minerals, Dhahran 31261, Saudi Arabia
2
Applied Research Center for Metrology, Standards and Testing, King Fahd University of Petroleum and Minerals, Dhahran 31261, Saudi Arabia
3
Department of Control and Instrumentation Engineering, King Fahd University of Petroleum and Minerals, Dhahran 31261, Saudi Arabia
*
Author to whom correspondence should be addressed.
Automation 2024, 5(3), 230-245; https://doi.org/10.3390/automation5030014
Submission received: 7 May 2024 / Revised: 21 June 2024 / Accepted: 25 June 2024 / Published: 28 June 2024

Abstract

:
This paper presents a comparative analysis of a fractional-order proportional–integral–derivative (FO-PID) controller against the standard proportional–integral–derivative (PID) controller, applied to a nonlinear robotic arm manipulator systems. The genetic algorithm (GA) optimization method was implemented to tune the gain parameters of the FO-PID and PID controllers. The performance of the FO-PID and PID controllers were evaluated though different cost functions, including integral of squared error (ISE), integral of absolute error (IAE), integral of time-weighted absolute error (ITAE), and integral of time-weighted squared error (ITSE). The performance of these controllers was examined via extensive simulations by using MATLAB/SIMULINK for different operating scenarios of the robotic arm manipulator system. Based on the obtained results, a comparative performance matrix is proposed, wherein cost functions ISE, IAE, ITAE, and ITSE are represented as columns while characteristic parameters (overshoot, rising time, and settling time) are represented as rows. The proposed performance matrix facilitates the selection between the PID and FO-PID controllers.

1. Introduction

Robotic manipulator systems have changed many manufacturing automation systems in a way that makes them much more accurate and efficient while still meeting high safety standards [1,2,3]. However, their impact extends beyond industrial settings, finding applications in fields such as healthcare, agriculture, and research [4]. In the 1950s and 1960s, industrial robot manipulators were introduced as substitutes for humans in hazardous tasks, resulting in improved productivity and quality. These robotics are typically designed and programmed to perform specific tasks, such as welding, object manipulation, painting, assembly, and manufacturing [5,6,7].
Robotics surpasses automation by introducing physical machines capable of performing tasks with a high degree of autonomy, where robotics plays a crucial role in flexible production, particularly when tasks require precision and adaptability [8]. The robotics are equipped with sensors and actuators systems that enable interaction with their environment [9].
Figure 1 illustrates a two-joint robotic arm that enables the links to perform rotational movements. The positions of the two joints relative to a reference point are represented by the angles q 1 and q 2 . The values of these two angles determine the overall shape and orientation of the robotic arm. By controlling these two angles (state variables), it becomes possible to manipulate the robotic arm position and orientation. The capabilities of a robotic arm include performing various tasks such as reaching specific points in space, manipulating objects, or following desired trajectories.
FO-PID and standard PID controllers are gaining popularity in various industrial applications due to their advantages such as simplicity, straightforward implementation, and easy troubleshooting and maintenance [10]. The tuning methods proposed for either PID or FO-PID controller designs include biquadratic approximation of a fractional-order differential operator [11], constrained min–max optimization [12], swarm optimization [13], auto-tuning methods [14], and robust tuning methods [15,16].
Intelligent controllers such as fuzzy logic controllers and neural network controllers are applied for the control of robotic manipulators. These controllers are complemented by optimization algorithms to enhance the performance of robotic manipulator systems by optimizing position, velocity, and vibration [17].
The selection of optimal gain values for the PID controller is crucial as it directly affects the overall performance and effectiveness of the control system design, while it is more challenging in the case of the FO-PID controller. The selection of the gain values (tuning) directly results in the overall control performance against uncertainties or/and disturbances that may negatively influence the controller stability, such as in terms of tracking accuracy, transient response, overshoot, rising time, and settling time.
Traditionally, the tuning of PID or FO-PID controllers relied on trial-and-error methods, which become more time consuming as systems become more complex, especially for nonlinear systems such as in robotic arm dynamics. To address these challenges and achieve more efficient gains in the tuning process, several heuristic iterative techniques have been proposed [18,19] to solve the PID and FO-PID controller optimization problem in robotic manipulation.
These techniques include several optimization methods such as the particle swarm optimization (PSO) algorithm [20,21], improved PSO [22,23], the GA algorithm [24,25,26], differential evolution (DE) [27], ant colony optimization (ACO) [28,29], and artificial bee colony [30,31] algorithms. These optimization methods are able to be applied to different types of complex control systems and designs, such as in [32,33], where the performance of these designs can be further improved.
This paper applied the GA optimization method, one of the most commonly used and fundamental optimization techniques, to tune gain parameters for the FO-PID and traditional PID controllers. The main contributions of this paper can be outlined as follows.
  • The aim is to contribute to the existing body of knowledge by providing a comparative analysis of FO-PID and traditional PID controllers for nonlinear robotic arm manipulators applying GA optimization.
  • The unique aspect of this study lies in the comprehensive evaluation of the performance of the FO-PID and PID controllers considering different cost functions, namely, ISE, IAE, ITAE, and ITSE. The performance evaluation for each controller was conducted under two different robotic arm operating scenarios. The first scenario involved ideal conditions with nominal parameter values for the robot arm model. The second scenario assumed parameter uncertainty in the robotic arm mass, particularly m 2 , where its value changes from the nominal 5 kg to 6 kg due to an additional load of 1 kg. In this scenario, friction forces were included in the robot arm dynamics, with coefficients α 1 = α 2 = 50 .
  • This study fills a gap in the literature by proposing a performance matrix to facilitate the selection between FO-PID and PID controllers. In this matrix, cost functions (ISE, IAE, ITAE, and ITSE) are represented as columns, while characteristic parameters (overshoot, rise time, and settling time) are represented as rows. The elements of the matrix indicate the type of controller.
The paper is organized into the following pattern: Section 1 presented a brief introduction, while Section 3 is dedicated to the robotic arm mathematical modeling. Section 4 discusses the control design. Next, Section 5 provides a detailed discussion about the GA algorithm and integration with the FO-PID controller. Section 6 is the core part where the simulation results are obtained and critically analyzed. Finally, Section 7 concludes the paper, followed by recommendations and future directions in Section 8.

2. The Methodology

The main objective of this paper is to conduct a comparative analysis of the performance of an FO-PID controller against the traditional PID controller implemented for a nonlinear robotic arm manipulator system, where the GA optimization technique is used to tune the controllers’ gain parameters. This section explains the methodology that was conducted to achieve the research objectives.
Figure 2 shows a flowchart that describes the major steps followed to obtain the results. These steps include the introduction, where some previous work is discussed and objectives are defined. Then, the dynamic model of the two-link robotic arm manipulator is developed. Subsequently, the standard PID and FO-PID controllers are implemented to the robotic arm manipulator systems. Thereafter, the GA optimization algorithm is applied to tune the PID and FO-PID controllers’ gain parameters to enhance the control system performance. The simulation results are obtained for each type of controller separately. Then, a comparative analysis is performed between the performances of the standard PID and FO-PID controllers. Subsequently, the performance matrix is created to include the cost functions (ISE, IAE, ITAE, and ITSE) as columns and the performance criteria (overshoot, rise time, and settling time) as rows.

3. Robotic Manipulator Dynamics

Modeling the robot manipulator involves considering both internal and external forces. The internal forces comprise the inertia force, Coriolis force, and friction force, while the external forces consist of the gravitational forces and external loads. By accounting for the combination and interaction of these forces, the dynamics of a two-link rigid robot arm manipulator can be described as follows:
M ( q ( t ) ) q ¨ ( t ) + C ( q ( t ) q ˙ ( t ) ) q ˙ ( t ) + G ( q ( t ) ) + F ( q ˙ ( t ) ) = τ ( t ) ,
where M ( q ( t ) ) represents the inertial matrix, as given by
M ( q ( t ) ) = l 2 2 m 2 + 2 l 1 l 2 m 2 c o s ( q 2 ) + l 1 2 ( m 1 + m 2 ) l 2 2 m 2 + l 1 l 2 m 2 c o s ( q 2 ) l 2 2 m 2 + l 1 l 2 m 2 c o s ( q 2 ) l 2 2 m 2
and C ( q ˙ ( t ) , q ( t ) ) represents the Coriolis force.
C ( q ˙ ( t ) q ( t ) ) q ˙ = m 2 l 1 l 2 s i n ( q 2 ) q ˙ 2 2 2 m 2 l 1 l 2 s i n ( q 2 ) q ˙ 1 q ˙ 2 m 2 l 1 l 2 s i n ( q 2 ) q ˙ 2 2
while G ( q ( t ) ) represents the gravitational forces and can be written as
G ( q ( t ) ) = m 2 l 2 g c o s ( q 1 ) c o s ( q 2 ) + ( m 1 + m 2 ) l 1 g c o s ( q 1 ) m 2 l 2 g c o s ( q 1 ) c o s ( q 2 )
and F ( q ˙ ( t ) ) represents the friction force as given by
F ( q ˙ ( t ) ) = α 1 s g n ( q ˙ 1 ) α 2 s g n ( q ˙ 2 )
Finally, τ ( t ) is the control input signal and can be written as
τ ( t ) = τ 1 ( t ) τ 2 ( t ) ,
where the dynamic model parameters in (1) are listed and defined as in Table 1.

4. FO-PID Control Design

This section presents a detailed description of the design and implementation of the FO-PID controller. Simply, the FO-PID controller is an enhanced version of the standard PID controller which is commonly implemented in industrial applications to improve the performance of control systems. Technically, the FO-PID controller introduces a range of improvements to provide extra degrees of freedom by adding two supplementary parameters ( λ and μ ) in addition to the original three parameters ( K P , K I , and K D ) of the standard PID controller.
The first step in control design involves defining the error dynamics equation. Given that the measured states are determined by q 1 and q 2 , along with their respective set points q 1 d and q 2 d , then the error dynamic equation e ( t ) can be formulated as follows:
e ( t ) = q d q
where e ( t ) = [ e 1 ( t ) e 2 ( t ) ] T , e 1 ( t ) = q 1 d ( t ) q 1 ( t ) , and e 2 ( t ) = q 2 d ( t ) q 2 ( t ) .
Now, given the error dynamic equation as in (2), then the FO-PID control law can be written either in the time domain as in (3), or in the frequency domain as in (4).
τ ( t ) F O P I D = K P e ( t ) + K I d λ d t λ e ( t ) + K D d μ d t μ e ( t )
τ ( s ) F O P I D = ( K P + K I 1 s λ + K D s μ ) E ( s )
where u ( t ) is the FO-PID output (control signal to be supplied to the robotic arm manipulator system), and e ( t ) is the error signal (the difference between the measured response, and the desired signal); while K P , K I , K D , λ , and μ represent the FO-PID controller’s gain parameters. The implementation of the proposed control scheme is shown in Figure 3, where the dynamic equation of the robotic arm manipulator and FO-PID control law are given as in (1) and (3), respectively.
Despite the straightforward implementation of the FO-PID controller, fine-tuning its gain parameters remains a substantial challenge. This research aims to capitalize on the advantages offered by the FO-PID controller while addressing the intricate task of optimizing its gain parameters. Consequently, a significant portion of this paper is dedicated to a comprehensive analysis and implementation of the GA algorithm, as detailed in the following section, in order to tune the FO-PID controller.

5. Genetic Algorithm

A GA algorithm [34] is an optimization technique inspired by the process of natural selection and genetics. It utilizes a population of candidate solutions, applies genetic operators such as selection, crossover, and mutation, and iteratively evolves the population to find optimal or near-optimal solutions to a given problem [25].
The basic idea behind a GA algorithm is to represent candidate solutions to a problem as individuals in a population. Each individual is encoded as a string of genes, where each gene represents a parameter or a decision variable of the problem. The population starts with a set of randomly generated individuals.
The algorithm proceeds through a series of generations. In each generation, the individuals in the population are evaluated using a fitness function, which quantifies the quality of a generated solution. The fitter individuals, those with higher fitness values, are more likely to be selected for reproduction.
Reproduction is performed through genetic operators. Crossover involves generating offspring individuals from two parent individuals. This is typically achieved by exchanging segments of their gene strings. Mutation introduces random changes to the gene strings of individuals, which helps introduce diversity into the population.
After reproduction, the offspring individuals, along with some of the fittest individuals from the previous generation, make up the population for the next generation. This process continues until reaching a maximum number of generations [25].
In this study, a genetic algorithm is applied to optimize the gains of an FO-PID controller. The goal is to find the optimal values for gains that result in the best control performance for a given system. The GA for the FOPID is illustrated in Figure 4. In the following parts, we explain each part of the GA algorithm.

5.1. Initialization Part

The initialization phase of the GA algorithm is responsible for initializing the GA parameters (population size, maximum generation), and the controller parameters ( K P , K I , K D , λ , and μ ). N solutions (N = population size) of the controllers gain parameters, as shown in Figure 5, are generated. Then, the fitness values of the initial solutions are evaluated by assessing the performance of the fractional PID controllers gain parameters via an objective function. This process involves simulating the behavior of the controller with the initial parameter values, calculating the corresponding error values, and updating the best iterated solution.

5.2. Objective Function

The quality of the performance of the proposed control scheme is represented by a fitness value, which is calculated based on a cost or objective function. The performance of the FO-PID controller is determined by using performance criteria (requirements) such as overshoot, settling time, and rising time. Throughout the optimization process, different sets of tuning gain parameters are tested, and the main objective is to capture the minimum fitness value resulting in improving the performance requirements.
As can be observed from (3) and (4) the FO-PID controller is characterized by five parameters ( K P , K I , K D , λ , and μ ), where the selection of these parameters’ values directly influences the robustness of the FO-PID controller.
In this study, the most commonly used objective functions in the field of control systems, namely, ISE, IAE, ITSE, and ITAE were employed to investigate the performance of the FO-PID controller, where the standard PID controller was chosen as benchmark to evaluate the performance FO-PID controller. The following are the mathematical expressions of the cost functions (ISE, IAE, ITAE, and ITSE).
ISE = 0 T e n d ( e ( t ) ) 2 d t
ISE is the integral over time of the squared error between the desired response q d and the actual response of the robot arm manipulator system q, as shown in Figure 3, where e ( t ) denotes the error as in (2) at time t, and T e n d is the total time.
IAE = 0 T e n d | e ( t ) | d t
IAE is similar to ISE but calculates the integral of the absolute error over time.
ITAE = 0 T e n d t | e ( t ) | d t
Similarly, ITAE is a variant of IAE where the absolute error is weighted by time before integration. It emphasizes minimizing the accumulation of absolute errors over time, with a preference for earlier errors.
ITSE = 0 T e n d t ( e ( t ) ) 2 d t
ITSE is a variant of ISE where the squared error is weighted by time before integration. This weighting scheme gives more importance to errors occurring earlier in the response.

5.3. Create the Next Generation

The new generation is obtained from the old one through the following steps:
  • Selection: Select individuals from the population for reproduction based on their fitness values. Individuals with higher fitness values are selected, mimicking the process of natural selection. In PID and FO-PID controllers, the selection technique selects individuals of the PID or FO-PID controller parameters represented in Figure 5.
  • Crossover: After the selection process, the crossover operation is performed on selected individuals to create offspring. Crossover involves exchanging FO-PID gains between two parents to generate new sets of gains, as illustrated in Figure 6.
  • Mutation: Introduce random changes (mutations) to the offspring individuals to maintain diversity in the population. This helps explore new regions of the search space. Mutation can involve small perturbations to the FO-PID gains, as shown in Figure 7.
  • Insertion and deletion: Insertion involves adding new individuals to the population from outside sources, such as randomly generated individuals or individuals from previous generations. This helps introduce new genetic material into the population. Deletion involves removing individuals from the population to control its size and prevent it from growing too large.
Finally, the next generation is created by combining the offspring individuals with some of the fittest individuals from the previous generation to form the next generation population. Once the GA algorithm terminates, extract the FO-PID gains with the best fitness value as the optimized solution.

6. Simulation Results and Discussion

The simulation results in this work were obtained using MATLAB/SIMULINK R2023b, where extensive simulations were carried out with different scenarios to evaluate the performance of the proposed control scheme.

6.1. Simulation Setup

The parameter settings of this simulation throughout the work are listed in Table 2, Table 3 and Table 4.
The PID controller gain parameters, K P , K I , and K D , resulting from the application of the GA algorithm are presented in Table 5, where the initial values of [ q 1 q 2 ] T are [ 0 0 ] T and the desired values are [ 1 0.5 ] T .
The FO-PID controller gain parameters, K P , K I , K D , λ , and μ , resulting from the application of the GA algorithm are presented in Table 6.

6.2. Simulation Results

In this section, two different operating scenarios were applied to evaluate the performance of the proposed control scheme.

6.2.1. Scenario 1

In this scenario the performance of the proposed control scheme was evaluated under ideal conditions, assuming only the nominal parameter values of the robot arm manipulator model as listed in Table 2.
The PID and FO-PID controllers responses were tested against each cost function, where Figure 8a–d represent the step responses against the ISE, IAE, ITAE, and ITSE cost functions, respectively.
For further and deep analysis, the simulation results were obtained for each cost function ISE, IAE, ITAE, and ITSE in the case of the PID controller response, as depicted in Figure 9a. Similarly, Figure 9b shows the results for the FO-PID controller response.
Table 7 compares the improvement as percentage in the fitness values between the PID and FO-PID controllers against each cost function, ISE, IAE, ITAE, and ITSE. While Figure 10 shows a graphical visualization of the fitness values between the PID and FO-PID controllers against each cost function, ISE, IAE, ITAE, and ITSE.
Table 8 and Table 9 present the values of rising time ( T r ), settling time ( T s ), and overshoot ( O S ) for PID and FO-PID, respectively, against different cost functions (ISE, IAE, ITAE, ITSE). The following is a summary of observations and analysis:
1.
Overshoot:
  • As can be observed, the FO-PID outperformed the PID controller when employing the ITE and ITSE cost functions, while for the IAE and ITAE cost functions, the standard PID outperformed the FO-PID controller.
2.
Rising time:
  • The FO-PID controller provided a faster rising time compared to the PID controller when employing the IAE and ITAE cost functions. While for the ISE and ITSE cost functions, the PID and FO-PID controllers almost have the same performance, with slightly better performance in the cases of the PID controller.
3.
Settling time:
  • The FO-PID controller outperformed the standard PID controller, with the FO-PID providing faster settling times across most cost functions.
Based on the above observations and analysis, Table 10 presents the characteristic parameters against the cost functions and provides recommendations regarding the choice between PID and FO-PID controllers.

6.2.2. Scenario 2

In this scenario, the performance of the proposed control system was evaluated by assuming parameter uncertainty in m 2 , where it changes from a nominal value of 5 kg to 6 kg, picking up an extra load of 1 kg. Furthermore, friction forces have been added to the robot arm dynamic with coefficients α 1 = α 2 = 50 .
The PID and FO-PID controllers’ responses were evaluated against each cost function in the presence of parameter uncertainty and friction forces in the system dynamics, where Figure 11a–d represent the step responses against the ISE, IAE, ITAE, and ITSE cost functions.
For a more comprehensive analysis, simulation results were obtained considering parameter uncertainty for each cost function, ISE, IAE, ITAE, and ITSE, in the case of PID controller response, as depicted in Figure 12a. Similarly, Figure 12b presents the results for the FO-PID controller response.
Summarily, as in the first scenario, Table 11 and Table 12 present the values of rising time ( T r ), settling time ( T s ), and overshoot ( O S ) for PID and FO-PID, respectively, in the presence of uncertainty and added frictional forces against different cost functions (ISE, IAE, ITAE, ITSE). The following is a summary of observations and analysis:
1.
Overshoot:
  • As can be observed the FO-PID outperformed the PID controller when employing the ITE and ITSE cost functions, while for the IAE and ITAE cost functions, the standard PID outperformed the FO-PID controller.
2.
Rising Time:
  • The FO-PID controller provided faster rising time compared to the PID controller when employing the IAE and ITAE cost functions. While for the ISE and ITSE cost functions, the PID and FO-PID controllers almost have the same performance, with slightly better performance in the case of the PID controller.
3.
Settling Time:
  • The FO-PID controller outperformed the standard PID controller, with the FO-PID providing faster settling times across most cost functions.

7. Conclusions

In this research, a comparative analysis was conducted between FO-PID and traditional PID controllers for a nonlinear robotic arm manipulator system using GA optimization. The objective was to evaluate the performance of these two controllers under two different operating scenarios by tuning the gain parameters of the proposed scheme. The first scenario involved ideal nominal parameters, while the second scenario included the presence of frictional forces in the dynamical model. The performance of the controller gains, including ISE, IAE, ITAE, and ITSE, was evaluated through numerical simulations using MATLAB/SIMULINK. The results demonstrated that the FO-PID controller outperformed the standard PID controller in terms of overshoot, rise time, and settling time when evaluated against certain cost functions. The application of GA for tuning the FO-PID controller’s gain parameters proved to be effective in enhancing its performance. The proposed performance matrix, which considered different cost functions and characteristic parameters, provided valuable insights for selecting between PID and FO-PID controllers.

8. Future Work and Recommendations

The research team is planning to apply similar comprehensive and comparative analysis to different optimization methods such as PSO or/and adaptive PSO where similar performance matrices can be extracted. Meanwhile, the team may recommend extending the performance matrices to include additional criteria.

Author Contributions

A.E.: formal analysis, writing—original draft preparation, conceptualization, methodology, software, validation, visualization; G.A.: discussion, conceptualization, methodology, writing—review and editing; I.H.I.: discussion, conceptualization, methodology, project administration, writing—review and editing; N.M.A.: discussion, conceptualization, methodology, project administration, writing—review and editing; A.A.: discussion, validation, writing—review and editing. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by grant number INML2404.

Data Availability Statement

The article presents all essential data.

Acknowledgments

The authors would like to acknowledge King Fahd University of Petroleum and Minerals, as well as the Interdisciplinary Research Center for Smart Mobility and Logistics.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Javaid, M.; Haleem, A.; Singh, R.P.; Suman, R. Substantial capabilities of robotics in enhancing industry 4.0 implementation. Cogn. Robot. 2021, 1, 58–75. [Google Scholar] [CrossRef]
  2. Eltayeb, A.; Rahmat, M.; Eltoum, M.M.; MH, S.I.; Basri, M. Adaptive sliding mode control design for the 2-DOF robot arm manipulators. In Proceedings of the 2019 International Conference on Computer, Control, Electrical, and Electronics Engineering (ICCCEEE), Khartoum, Sudan, 21–23 September 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 1–5. [Google Scholar]
  3. Mohammed, A.A.; Eltayeb, A. Dynamics and control of a two-link manipulator using PID and sliding mode control. In Proceedings of the 2018 International Conference on Computer, Control, Electrical, and Electronics Engineering (ICCCEEE), Khartoum, Sudan, 2–14 August 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 1–5. [Google Scholar]
  4. Campilho, R.D.; Silva, F.J. Industrial Process Improvement by Automation and Robotics. Machines 2023, 11, 1011. [Google Scholar] [CrossRef]
  5. Czimmermann, T.; Chiurazzi, M.; Milazzo, M.; Roccella, S.; Barbieri, M.; Dario, P.; Oddo, C.M.; Ciuti, G. An autonomous robotic platform for manipulation and inspection of metallic Surfaces in Industry 4.0. IEEE Trans. Autom. Sci. Eng. 2021, 19, 1691–1706. [Google Scholar] [CrossRef]
  6. Buerkle, A.; Eaton, W.; Al-Yacoub, A.; Zimmer, M.; Kinnell, P.; Henshaw, M.; Coombes, M.; Chen, W.H.; Lohse, N. Towards industrial robots as a service (IRaaS): Flexibility, usability, safety and business models. Robot. Comput. Integr. Manuf. 2023, 81, 102484. [Google Scholar] [CrossRef]
  7. Lakshminarayanan, S.; Kana, S.; De San Bernabe, A.; Turlapati, S.H.; Accoto, D.; Campolo, D. Robots in manufacturing: Programming, control, and safety standards. In Digital Manufacturing; Elsevier: Amsterdam, The Netherlands, 2024; pp. 85–131. [Google Scholar]
  8. Michalos, G.; Makris, S.; Spiliotopoulos, J.; Misios, I.; Tsarouchi, P.; Chryssolouris, G. ROBO-PARTNER: Seamless human-robot cooperation for intelligent, flexible and safe operations in the assembly factories of the future. Procedia CIRP 2014, 23, 71–76. [Google Scholar] [CrossRef]
  9. Ogenyi, U.E.; Liu, J.; Yang, C.; Ju, Z.; Liu, H. Physical human–robot collaboration: Robotic systems, learning methods, collaborative strategies, sensors, and actuators. IEEE Trans. Cybern. 2019, 51, 1888–1901. [Google Scholar] [CrossRef]
  10. Jamil, A.A.; Tu, W.F.; Ali, S.W.; Terriche, Y.; Guerrero, J.M. Fractional-order PID controllers for temperature control: A review. Energies 2022, 15, 3800. [Google Scholar] [CrossRef]
  11. El-Khazali, R. Fractional-order PIλDμ controller design. Comput. Math. Appl. 2013, 66, 639–646. [Google Scholar] [CrossRef]
  12. Beschi, M.; Padula, F.; Visioli, A. The generalised isodamping approach for robust fractional PID controllers design. Int. J. Control 2017, 90, 1157–1164. [Google Scholar] [CrossRef]
  13. Kumar, A.; Kumar, V. Hybridized ABC-GA optimized fractional order fuzzy pre-compensated FOPID control design for 2-DOF robot manipulator. AEU-Int. J. Electron. Commun. 2017, 79, 219–233. [Google Scholar] [CrossRef]
  14. Monje, C.A.; Vinagre, B.M.; Feliu, V.; Chen, Y. Tuning and auto-tuning of fractional order controllers for industry applications. Control Eng. Pract. 2008, 16, 798–812. [Google Scholar] [CrossRef]
  15. Valério, D.; Da Costa, J.S. Tuning of fractional PID controllers with Ziegler–Nichols-type rules. Signal Process. 2006, 86, 2771–2784. [Google Scholar] [CrossRef]
  16. Lee, A.C.; Wang, S.; Fan, C.J. A current index approach to compensate commutation phase error for sensorless brushless DC motors with nonideal back EMF. IEEE Trans. Power Electron. 2015, 31, 4389–4399. [Google Scholar] [CrossRef]
  17. Sahu, V.S.D.M.; Samal, P.; Panigrahi, C.K. Modelling, and control techniques of robotic manipulators: A review. Mater. Today Proc. 2022, 56, 2758–2766. [Google Scholar] [CrossRef]
  18. Tajjudin, M.; Ishak, N.; Ismail, H.; Rahiman, M.H.F.; Adnan, R. Optimized PID control using Nelder-Mead method for electro-hydraulic actuator systems. In Proceedings of the 2011 IEEE Control and System Graduate Research Colloquium, Shah Alam, Malaysia, 27–28 June 2011; IEEE: Piscataway, NJ, USA, 2011; pp. 90–93. [Google Scholar]
  19. Bingül, Z.; KARAHAN, O. Fractional PID controllers tuned by evolutionary algorithms for robot trajectory control. Turk. J. Electr. Eng. Comput. Sci. 2012, 20, 1123–1136. [Google Scholar]
  20. Zhong, H.; Bai, W.; Huang, W.; Zheng, Z. Adaptive pid controller design method based on pso. In Proceedings of the 2020 Chinese Control And Decision Conference (CCDC), Hefei, China, 22–24 August 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 4501–4506. [Google Scholar]
  21. Kobaku, T.; Poola, R.; Agarwal, V. Design of Robust PID Controller Using PSO-Based Automated QFT for Nonminimum Phase Boost Converter. IEEE Trans. Circuits Syst. II Express Briefs 2022, 69, 4854–4858. [Google Scholar] [CrossRef]
  22. Jia, L.; Zhao, X. An improved particle swarm optimization (PSO) optimized integral separation PID and its application on central position control system. IEEE Sens. J. 2019, 19, 7064–7071. [Google Scholar]
  23. Ahmed, G.; Sheltami, T.; Mahmoud, A.; Yasar, A. IoD swarms collision avoidance via improved particle swarm optimization. Transp. Res. Part A Policy Pract. 2020, 142, 260–278. [Google Scholar] [CrossRef]
  24. Liming, C.; Jun, Z. Motion Strategy of Drilling Anchor Manipulator Based on Intelligent Optimization Algorithm. J. Phys. Conf. Ser. 2023, 2519, 012033. [Google Scholar] [CrossRef]
  25. Ahmed, G.; Sheltami, T.; Ghaleb, M.; Hamdan, M.; Mahmoud, A.; Yasar, A. Energy-Efficient Internet of Drones Path-Planning Study Using Meta-Heuristic Algorithms. Appl. Sci. 2024, 14, 2418. [Google Scholar] [CrossRef]
  26. Wang, P.; Kwok, D. Optimal design of PID process controllers based on genetic algorithms. Control Eng. Pract. 1994, 2, 641–648. [Google Scholar] [CrossRef]
  27. Storn, R.; Price, K. Differential evolution–a simple and efficient heuristic for global optimization over continuous spaces. J. Glob. Optim. 1997, 11, 341–359. [Google Scholar] [CrossRef]
  28. Dorigo, M.; Di Caro, G. Ant colony optimization: A new meta-heuristic. In Proceedings of the 1999 Congress on Evolutionary Computation-CEC99 (Cat. No. 99TH8406), Washington, DC, USA, 6–9 July 1999; IEEE: Piscataway, NJ, USA, 1999; Volume 2, pp. 1470–1477. [Google Scholar]
  29. Dorigo, M.; Blum, C. Ant colony optimization theory: A survey. Theor. Comput. Sci. 2005, 344, 243–278. [Google Scholar] [CrossRef]
  30. Karaboga, D.; Basturk, B. Artificial bee colony (ABC) optimization algorithm for solving constrained optimization problems. In Proceedings of the International Fuzzy Systems Association World Congress, Cancun, Mexico, 18–21 June 2007; Springer: Berlin/Heidelberg, Germany, 2007; pp. 789–798. [Google Scholar]
  31. Karaboga, D.; Basturk, B. A powerful and efficient algorithm for numerical function optimization: Artificial bee colony (ABC) algorithm. J. Glob. Optim. 2007, 39, 459–471. [Google Scholar] [CrossRef]
  32. Imran, I.H.; Stolkin, R.; Montazeri, A. Adaptive control of quadrotor unmanned aerial vehicle with time-varying uncertainties. IEEE Access 2023, 11, 19710–19724. [Google Scholar] [CrossRef]
  33. Imran, I.H.; Memon, A.M.; Kurtulus, D.F.; Goli, S.; Alhems, L.M. Extended Discrete-Time Quasi-Sliding Mode Control for VTOL UAV in the Presence of Uncertain Disturbances. IEEE Access 2023, 11, 55630–55643. [Google Scholar] [CrossRef]
  34. Whitley, D. A genetic algorithm tutorial. Stat. Comput. 1994, 4, 65–85. [Google Scholar] [CrossRef]
  35. Baek, J.; Jin, M.; Han, S. A new adaptive sliding-mode control scheme for application to robot manipulators. IEEE Trans. Ind. Electron. 2016, 63, 3628–3637. [Google Scholar] [CrossRef]
Figure 1. Illustration of a two-joint robotic arm manipulator.
Figure 1. Illustration of a two-joint robotic arm manipulator.
Automation 05 00014 g001
Figure 2. Research methodology flowchart.
Figure 2. Research methodology flowchart.
Automation 05 00014 g002
Figure 3. Control scheme for robotic arm manipulator systems.
Figure 3. Control scheme for robotic arm manipulator systems.
Automation 05 00014 g003
Figure 4. Flowchart of the GA-based FO-PID control scheme.
Figure 4. Flowchart of the GA-based FO-PID control scheme.
Automation 05 00014 g004
Figure 5. Solution representation of FO-PID controller gains.
Figure 5. Solution representation of FO-PID controller gains.
Automation 05 00014 g005
Figure 6. One-point crossover for FO-PID controller in GA algorithm.
Figure 6. One-point crossover for FO-PID controller in GA algorithm.
Automation 05 00014 g006
Figure 7. Mutation process for FO-PID controller in GA algorithm.
Figure 7. Mutation process for FO-PID controller in GA algorithm.
Automation 05 00014 g007
Figure 8. Ideal case: evaluating objective functions against controller (PID and FO-PID). (a) ISE: Step response for robotic arm joints q 1 and q 2 ; (b) IAE: Step response for robotic arm joints q 1 and q 2 ; (c) ITAE: Step response for robotic arm joints q 1 and q 2 ; (d) ITSE: Step response for robotic arm joints q 1 and q 2 .
Figure 8. Ideal case: evaluating objective functions against controller (PID and FO-PID). (a) ISE: Step response for robotic arm joints q 1 and q 2 ; (b) IAE: Step response for robotic arm joints q 1 and q 2 ; (c) ITAE: Step response for robotic arm joints q 1 and q 2 ; (d) ITSE: Step response for robotic arm joints q 1 and q 2 .
Automation 05 00014 g008
Figure 9. Ideal case:Evaluating the cost functions against each controller separately. (a) Evaluating the cost functions against the PID controller only; (b) Evaluating the cost functions against the FOPID controller only.
Figure 9. Ideal case:Evaluating the cost functions against each controller separately. (a) Evaluating the cost functions against the PID controller only; (b) Evaluating the cost functions against the FOPID controller only.
Automation 05 00014 g009
Figure 10. Fitness value comparison for PID and FO-PID controllers.
Figure 10. Fitness value comparison for PID and FO-PID controllers.
Automation 05 00014 g010
Figure 11. Evaluating the objective functions against controller (PID and FO-PID) in the presence of parameter uncertainty. (a) ISE: Step response for robotic arm joints q 1 and q 2 ; (b) IAE:Step response for robotic arm joints q 1 and q 2 ; (c) ITAE:Step response for robotic arm joints q 1 and q 2 ; (d) ITSE:Step response for robotic arm joints q 1 and q 2 .
Figure 11. Evaluating the objective functions against controller (PID and FO-PID) in the presence of parameter uncertainty. (a) ISE: Step response for robotic arm joints q 1 and q 2 ; (b) IAE:Step response for robotic arm joints q 1 and q 2 ; (c) ITAE:Step response for robotic arm joints q 1 and q 2 ; (d) ITSE:Step response for robotic arm joints q 1 and q 2 .
Automation 05 00014 g011
Figure 12. Evaluating the cost functions against each controller separately in the presence of uncertainty. (a) Evaluating the cost functions against the PID controller only in the presence of uncertainty; (b) Evaluating the cost functions against the FO-PID controller only in the presence of uncertainty.
Figure 12. Evaluating the cost functions against each controller separately in the presence of uncertainty. (a) Evaluating the cost functions against the PID controller only in the presence of uncertainty; (b) Evaluating the cost functions against the FO-PID controller only in the presence of uncertainty.
Automation 05 00014 g012
Table 1. Definition of the model parameters.
Table 1. Definition of the model parameters.
SymbolParameter
l 1 Length of link 1
l 2 Length of link 2
m 1 Mass of link 1
m 2 Mass of link 2
q 1 Angle 1
q 2 Angle 2
α 1 Friction coefficient 1
α 2 Friction coefficient 2
gGravity acceleration
Table 2. Robot arm manipulator physical parameters [35].
Table 2. Robot arm manipulator physical parameters [35].
ParameterSymbolUnitValue
Length of link 1 l 1 m0.2
Length of link 2 l 2 m0.1
Mass of link 1 m 1 kg10
Mass of link 2 m 2 kg5
Gravity accelerationgms−29.81
Friction coefficient 1 α 1 -50
Friction coefficient 2 α 2 -50
Table 3. Parameters of GA.
Table 3. Parameters of GA.
GA ParametersValue
Population Size100
Crossover Probability0.8
Mutation Probability0.01
Max Generations100
Table 4. Lower and upper values for PID and FO-PID controllers.
Table 4. Lower and upper values for PID and FO-PID controllers.
Controller ParameterLower ValueUpper Value
K P 0200
K I 050
K D 010
λ 0 1.5
μ 0 1.5
Table 5. PID controller parameters for different cost functions.
Table 5. PID controller parameters for different cost functions.
Cost FunctionState VariablePID Parameters
K p K i K d
ISE q 1 147.118243.12689.9803
q 2 198.05620.74289.9872
IAE q 1 68.721549.81989.7411
q 2 193.57160.57233.2319
ITAE q 1 57.284649.04226.7107
q 2 181.37450.61704.7110
ITSE q 1 192.944142.00979.6103
q 2 126.48120.88049.8813
Table 6. FO-PID controller parameters for different cost functions.
Table 6. FO-PID controller parameters for different cost functions.
Cost FunctionState VariableController Parameters
K p K i K d λ μ
ISE q 1 192.632833.19709.95631.39061.3590
q 2 55.00470.69939.22700.54021.2321
IAE q 1 187.798648.51118.40721.41311.3941
q 2 151.94000.07827.63251.01650.7618
ITAE q 1 185.450049.78008.85001.25191.4472
q 2 133.50040.36312.91930.50890.8643
ITSE q 1 156.523537.23599.62571.31981.3663
q 2 189.24010.59189.82230.35841.1866
Table 7. Comparison of fitness values between PID and FO-PID controllers.
Table 7. Comparison of fitness values between PID and FO-PID controllers.
Cost FunctionControllerFitness ValueImprovement (%)
ISEPID0.092247.76
FO-PID0.0482
IAEPID0.362111.32
FO-PID0.3213
ITAEPID0.3122−87.91
FO-PID0.5842
ITSEPID0.962150.68
FO-PID0.4749
Table 8. Characteristics of PID controller against cost functions.
Table 8. Characteristics of PID controller against cost functions.
Cost FunctionState VariableCharacteristic Parameters
OS T r T s
ISE q 1 0.230.19.9
q 2 0.040.029.92
IAE q 1 0.030.149.72
q 2 0.050.049.94
ITAE q 1 00.29.75
q 2 0.020.029.94
ITSE q 1 0.330.099.91
q 2 0.070.099.91
Table 9. Characteristics of FO-PID controller against cost functions.
Table 9. Characteristics of FO-PID controller against cost functions.
Cost FunctionState VariableCharacteristic Parameters
OS T r T s
ISE q 1 0.020.18.46
q 2 00.179.71
IAE q 1 0.030.099.83
q 2 0.590.019.91
ITAE q 1 0.010.066.80
q 2 0.950.019.85
ITSE q 1 0.020.149.81
q 2 0.010.059.91
Table 10. Performance metrics comparison.
Table 10. Performance metrics comparison.
Performance MetricCost Functions
ISE IAE ITAE ITSE
Overshoot (OS)FO-PIDPIDPIDFO-PID
Rising Time ( T r )PIDFO-PIDFO-PIDPID
Settling Time ( T s )FO-PIDFO-PIDFO-PIDFO-PID
Table 11. Characteristics of PID controller against cost functions in the presence of uncertainty.
Table 11. Characteristics of PID controller against cost functions in the presence of uncertainty.
Cost FunctionState VariableCharacteristic Parameters
OS T r T s
ISE q 1 0.210.19.89
q 2 0.040.19.9
IAE q 1 0.010.227.67
q 2 0.040.059.93
ITAE q 1 0.041.528.09
q 2 0.010.079.9
ITSE q 1 0.30.13.4
q 2 0.060.19.86
Table 12. Characteristics of FO-PID controller against cost functions in the presence of uncertainty.
Table 12. Characteristics of FO-PID controller against cost functions in the presence of uncertainty.
Cost FunctionState VariableCharacteristic Parameters
OS T r T s
ISE q 1 0.020.117.39
q 2 00.289.37
IAE q 1 0.030.19.78
q 2 0.60.019.9
ITAE q 1 0.010.066.53
q 2 0.960.019.94
ITSE q 1 0.020.156.25
q 2 0.010.059.91
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Eltayeb, A.; Ahmed, G.; Imran, I.H.; Alyazidi, N.M.; Abubaker, A. Comparative Analysis: Fractional PID vs. PID Controllers for Robotic Arm Using Genetic Algorithm Optimization. Automation 2024, 5, 230-245. https://doi.org/10.3390/automation5030014

AMA Style

Eltayeb A, Ahmed G, Imran IH, Alyazidi NM, Abubaker A. Comparative Analysis: Fractional PID vs. PID Controllers for Robotic Arm Using Genetic Algorithm Optimization. Automation. 2024; 5(3):230-245. https://doi.org/10.3390/automation5030014

Chicago/Turabian Style

Eltayeb, Ahmed, Gamil Ahmed, Imil Hamda Imran, Nezar M. Alyazidi, and Ahmed Abubaker. 2024. "Comparative Analysis: Fractional PID vs. PID Controllers for Robotic Arm Using Genetic Algorithm Optimization" Automation 5, no. 3: 230-245. https://doi.org/10.3390/automation5030014

Article Metrics

Back to TopTop