Adaptive Neural Network Control for Load-Varying Two-Link Robots Using Honey Badger Optimization
DOI:
https://doi.org/10.18196/jrc.v6i2.26370Keywords:
Robotic Manipulators, Neural Network Controller, PID Controller, PI-PD, Honey Badger AlgorithmAbstract
This paper illustrates a proportional-integral-derivative based neural network (PID-NN) controller to manipulate the angular position of the two-link robot considering the load variation on the system. The two-link robot system's dynamic equations were derived using the Lagrange method. To improve the tuning process of the design coefficients of the controller, the learning process was framed as an optimization task. Subsequently, to determine the optimal weight values, the honey badger algorithm (HBA) was introduced. To analyze how well the proposed controller performs, Simulations in MATLAB were carried out to compare the PID-NN controller against a PI-PD controller. The findings revealed superior performance of the PID-NN controller in standard conditions. Furthermore, the PID-NN demonstrated a substantial enhancement when a load variation was augmented.
References
M. Baccouch and S. Dodds, "A two-link robot manipulator: Simulation and control design," International Journal of Robotic Engineering, vol. 5, no. 2, pp. 1-17, 2020.
N. Dersarkissian, R. Jia, and D. L. Feitosa, "Control of a two-link robotic arm using fuzzy logic," 2018 IEEE International Conference on Information and Automation (ICIA), pp. 481-486, 2018.
J. Velagic M. Hebibovic, and B. Lacevic, "On-Line Identification of a Robot Manipulator Using Neural Network with an Adaptive Learning Rate," IFAC Proceedings, vol. 38, no. 1, pp. 403-408, 2005.
C. Li-jie, "Research on the nonlinear dynamical behavior of double pendulum," 2011 International Conference on Mechatronic Science, Electric Engineering and Computer (MEC), pp. 1637-1640, 2011.
A. A. Mohammed and A. Eltayeb, "Dynamics and control of a two-link manipulator using PID and sliding mode control," 2018 International Conference on Computer, Control, Electrical, and Electronics Engineering (ICCCEEE), pp. 1-5, 2018.
E. H. Guechi, S. Bouzoualegh, Y. Zennir, and S. Blažič, "MPC control and LQ optimal control of a two-link robot arm: A comparative study,” Machines, vol. 6, no. 3, p. 37, 2018.
A. Bendimrad, A. El Amrani, and B. El Amrani, "Optimization of the Performances of a Two-Joint Robotic Arm using Sliding Mode Control," International Journal of Automotive and Mechanical Engineering, vol. 19, no. 2, pp. 9634-9646, 2022.
Y. Long, J. You, Y. Huang, Z. Chen, and M. Shi, "Robust Variable Structure PID Controller for Two-Joint Flexible Manipulator," International Conference on Computing, Control and Industrial Engineering, pp. 133-144, 2023.
Y. Shen, "Robotic trajectory tracking control system based on fuzzy neural network," Measurement: Sensors, vol. 31, p. 101006, 2024.
H. Al-Khazraji, "Comparative study of whale optimization algorithm and flower pollination algorithm to solve workers assignment problem," International Journal of Production Management and Engineering, vol. 10, no. 1, pp. 91-98, 2022.
F. R. Yaseen, M. Q. Kadhim, H. Al-Khazraji, and A. J. Humaidi, "Decentralized Control Design for Heating System in Multi-Zone Buildings Based on Whale Optimization Algorithm," Journal Européen des Systèmes Automatisés, vol. 57, no. 4, pp. 981-989, 2024.
H. Al-Khazraji, S. Khlil, and Z. Alabacy, "Industrial picking and packing problem: Logistic management for products expedition," Journal of Mechanical Engineering Research and Developments, vol. 43, no. 2, pp. 74-80, 2020.
F. R. Al-Ani, O. F. Lutfy, and H. Al-Khazraji, "Optimal Synergetic and Feedback Linearization Controllers Design for Magnetic Levitation Systems: A Comparative Study," Journal of Robotics and Control (JRC), vol. 6, no. 1, pp. 22-30, 2025.
H. Al-Khazraji, K. Al-Badri, R. Al-Majeez, and A. J. Humaidi, "Synergetic control design based sparrow search optimization for tracking control of driven-pendulum system," Journal of Robotics and Control (JRC), vol. 5, no. 5, pp. 1549-1556, 2024.
S. Khlil, H. Al-Khazraji, and Z. Alabacy, "Solving assembly production line balancing problem using greedy heuristic method," IOP Conference Series: Materials Science and Engineering, vol. 745, no. 1, pp. 1-7, 2020.
H. Al-Khazraji, A. R. Nasser, and S. Khlil, "An intelligent demand forecasting model using a hybrid of metaheuristic optimization and deep learning algorithm for predicting concrete block production," IAES International Journal of Artificial Intelligence, vol. 11, no. 2, pp. 649-657, 2022.
F. R. Yaseen and H. Al-Khazraji, "Optimized Vector Control Using Swarm Bipolar Algorithm for Five-Level PWM Inverter-Fed Three-Phase Induction Motor," International Journal of Robotics and Control Systems, vol. 5, no. 1, pp. 333-347, 2025.
H. AL-Khazraji, C. Cole, and W. Guo, "Optimization and simulation of dynamic performance of production–inventory systems with multivariable controls," Mathematics, vol. 9, no. 5, p. 568, 2021.
A. K. Ahmed, H. Al-Khazraji, and S. M. Raafat, "Optimized PI-PD Control for Varying Time Delay Systems Based on Modified Smith Predictor," International Journal of Intelligent Engineering & Systems, vol. 17, no. 1, pp. 331-342, 2024.
H. Al-Khazraji, R. M. Naji, and M. K. Khashan, "Optimization of sliding mode and back-stepping controllers for AMB systems using gorilla troops algorithm," Journal Européen des Systèmes Automatisés, vol. 57, no. 2, pp. 417-424, 2024.
R. Al-Majeez, K. Al-Badri, H. Al-Khazraji, and S. M. Ra'afat, "Design of A Backstepping Control and Synergetic Control for An Interconnected Twin-Tanks System: A Comparative Study," International Journal of Robotics and Control Systems, vol. 4, no. 4, pp. 2041-2054, 2024.
H. Al-Khazraji, W. Guo, and A. J. Humaidi, "Improved cuckoo search optimization for production inventory control systems," Serbian Journal of Electrical Engineering, vol. 21, no. 2, pp. 187-200, 2024.
M. A. AL-Ali, O. F. Lutfy, and H. Al-Khazraj, "Comparative Study of Various Controllers Improved by Swarm Optimization for Nonlinear Active Suspension Systems with Actuator Saturation," International Journal of Intelligent Engineering & Systems, vol. 17, no. 4, pp. 870-881, 2024.
Z. N. Mahmood, H. Al-Khazraji, and S. M. Mahdi, "PID-based enhanced flower pollination algorithm controller for drilling process in a composite material," Annales de Chimie. Sci. des Matériaux, vol. 47, no. 2, pp. 91-96, 2023.
R. M. Naji, H. Dulaimi, and H. Al-Khazraji, "An optimized PID controller using enhanced bat algorithm in drilling processes," Journal Européen des Systèmes Automatisés, vol. 57, no. 3, pp. 767-772, 2024.
A. K. Ahmed and H. Al-Khazraji, "Optimal control design for propeller pendulum systems using gorilla troops optimization," Journal Européen des Systèmes Automatisés, vol. 56, no. 4, pp. 575-582, 2023.
H. Al-Khazraji, C. Cole, and W. Guo, "Analysing the impact of different classical controller strategies on the dynamics performance of production-inventory systems using state space approach," Journal of Modelling in Management, vol. 13, no. 1, pp. 211-235, 2018.
M. A. Al-Ali, O. F. Lutfy, and H. Al-Khazraj, "Investigation of optimal controllers on dynamics performance of nonlinear active suspension systems with actuator saturation," Journal of Robotics and Control (JRC), vol. 5, no. 4, pp. 1041-1049, 2024.
A. J. Humaidi, T. M. Kadhim, S. Hasan, I. K. Ibraheem, and A. T. Azar, "A Generic Izhikevich-Modelled FPGA-Realized Architecture: A Case Study of Printed English Letter Recognition," 2020 24th International Conference on System Theory, Control and Computing (ICSTCC), pp. 825-830, 2020.
A. J. Humaidi and T. M. Kadhim, "Spiking versus traditional neural networks for character recognition on FPGA platform," Journal of Telecommunication, Electronic and Computer Engineering, vol. 10, no. 3, pp. 109–115, 2018.
A. J. Humaidi and T. M. Kadhim, "Recognition of Arabic Characters using Spiking Neural Networks," 2017 International Conference on Current Trends in Computer, Electrical, Electronics and Communication (CTCEEC), pp. 7-11, 2017.
A. Al-Jodah, S. J. Abbas, A. F. Hasan, A. J. Humaidi, A. S. Al-Obaidi, A. A. Al-Qassar, and R. F. Hassan, "PSO-based optimized neural network PID control approach for a four wheeled omnidirectional mobile robot," International Review of Applied Sciences and Engineering, vol. 14, no. 1, pp. 58–67, 2023.
A. M. Abood, A. R. Nasser, and H. Al-Khazraji, "Predictive maintenance of electromechanical systems based on enhanced generative adversarial neural network with convolutional neural network," IAES International Journal of Artificial Intelligence (IJ-AI), vol. 12, no. 4, pp. 1704-1712, 2023.
H. Ziad, A. Al-Dujaili, and A. J. Humaidi, "Electrical faults classification in permanent magnet synchronous motor using ResNet neural network," International Review of Applied Sciences and Engineering, vol. 15, no. 3, pp. 355–364, 2024.
M. I. Mansoor, H. M. Tuama, and A. J. Humaidi, "Application of correlation-based recurrent neural network in porosity prediction for petroleum exploration," Engineering Research Express, vol. 7, no. 1, p. 015241, 2025.
M. Y. Hasan, D. J. Kadhim, and A. J. Humaidi, "Prediction of electricity-consumption and residential bills based on artificial neural network," International Review of Applied Sciences and Engineering, vol. 16, no. 1, pp. 142–152, 2025.
O. A. M. López, A. M. López, and J. Crossa, "Multivariate statistical machine learning methods for genomic prediction,” Springer Nature, p. 691, 2022.
N. Tan, "Computation of stabilizing PI-PD controllers," International Journal of Control, Automation and Systems, vol. 7, pp. 175-184, 2009.
M.M. Ozyetkin, C. Onat, and N. Tan, "PI-PD controller design for time delay systems via the weighted geometrical center method," Asian Journal of Control, vol. 22, no. 5, pp. 1811-1826, 2020.
F. Alyoussef, I. Kaya, and A. Akrad, "Robust PI-PD Controller Design: Industrial Simulation Case Studies and a Real-Time Application," Electronics, vol. 13, no. 17, p. 3362, 2024.
F. Peker and I. Kaya, "Identification and real time control of an inverted pendulum using PI-PD controller," 2017 21st International Conference on System Theory, Control and Computing (ICSTCC), pp. 771-776, 2017.
T. R. Farshi, “Battle royale optimization algorithm,” Neural Computing and Applications, vol. 33, no. 4, pp. 1139–1157, 2021.
H. Al-Khazraji, S. Khlil, and Z. Alabacy, "Cuckoo search optimization for solving product mix problem," IOP Conference Series: Materials Science and Engineering, vol. 1105, no. 1, p. 012016, 2021.
H. Al-Khazraji, S. Khlil, and Z. Alabacy, "Solving mixed-model assembly lines using a hybrid of ant colony optimization and greedy algorithm," Engineering and Technology Journal, vol. 40, no. 1, pp. 172-180, 2022.
H. Al-Khazraji and L. T. Rasheed, "Performance evaluation of pole placement and linear quadratic regulator strategies designed for mass-spring-damper system based on simulated annealing and ant colony optimization," Journal of Engineering, vol. 27, no. 11, pp. 15-31, 2021.
H. Al-Khazraji, C. Cole, and W. Guo, "Multi-objective particle swarm optimisation approach for production-inventory control systems," Journal of Modelling in Management, vol. 13, no. 4, pp. 1037-1056, 2018.
F. A. Hashim, E. H. Houssein, K. Hussain, M. S. Mabrouk, and W. Al-Atabany, "Honey Badger Algorithm: New metaheuristic algorithm for solving optimization problems," Mathematics and Computers in Simulation, vol. 192, pp. 84-110, 2022.
D. J. Kapner, T. S. Cook, E. G. Adelberger, J. H. Gundlach, B. R. Heckel, C. D. Hoyle, and H. E. Swanson, "Tests of the gravitational inverse-square law below the dark-energy length scale," Physical review letters, vol. 98, no. 2, p. 021101, 2007.
M. H. Khan, A. Ulasyar, A. Khattak, H. S. Zad, M. Alsharef, A. A. Alahmadi, and N. Ullah, "Optimal sizing and allocation of distributed generation in the radial power distribution system using honey badger algorithm," Energies, vol. 15, no. 16, p. 5891, 2022.
F. R. Al-Ani, O. F. Lutfy, and H. Al-Khazraji, "Optimal Backstepping and Feedback Linearization Controllers Design for Tracking Control of Magnetic Levitation System: A Comparative Study," Journal of Robotics and Control (JRC), vol. 5, no. 6, pp. 1888-1896, 2024.
M. Q. Kadhim, F. R. Yaseen, H. Al-Khazraji, and A. J. Humaidi, "Application of Terminal Synergetic Control Based Water Strider Optimizer for Magnetic Bearing Systems," Journal of Robotics and Control (JRC), vol. 5, no. 6, pp. 1973-1979, 2024.
H. Al-Khazraji, “Optimal Design of a Proportional-Derivative State Feedback Controller Based on Meta-Heuristic Optimization for a Quarter Car Suspension System,” Mathematical Modelling of Engineering Problems, vol. 9, no.2, pp. 575-582, 2022.
Z. N. Mahmood, H. Al-Khazraji, and S. M. Mahdi, "Adaptive control and enhanced algorithm for efficient drilling in composite materials," Journal Européen des Systèmes Automatisés, vol. 56, no. 3, pp. 507-512, 2023.
H. Al-Khazraji, K. Al-Badri, R. Almajeez, and A. J. Humaidi, "Synergetic control-based sea lion optimization approach for position tracking control of ball and beam system," International Journal of Robotics and Control Systems, vol. 4, no. 4, pp. 1547-1560, 2024.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Kareem Al-Badri, Hussien Dulaimi, Huthaifa Al-Khazraji , Amjad J Humaidi

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
This journal is based on the work at https://journal.umy.ac.id/index.php/jrc under license from Creative Commons Attribution-ShareAlike 4.0 International License. You are free to:
- Share – copy and redistribute the material in any medium or format.
- Adapt – remix, transform, and build upon the material for any purpose, even comercially.
The licensor cannot revoke these freedoms as long as you follow the license terms, which include the following:
- Attribution. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- ShareAlike. If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
- No additional restrictions. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
• Creative Commons Attribution-ShareAlike (CC BY-SA)
JRC is licensed under an International License