Computation of Inverse Kinematics of Redundant Manipulator Using Particle Swarm Optimization Algorithm and Its Combination with Artificial Neural Networks †
Abstract
:1. Introduction
2. Literature Review
3. Methodology
3.1. Inverse Kinematics Computations
3.1.1. Two-DOF with Two Revolute Joints Robot Manipulators
3.1.2. Three-DOF Redundant Manipulator
3.1.3. Four-DOF Redundant Manipulator
3.2. Particle Swarm Optimization (PSO)
3.2.1. Methodology of PSO
3.2.2. Algorithm of PSO
- Initialization: Create and uniformly distribute a population of particles over B. Evaluate each particle’s position using the fitness function as shown in Equation (19):
- 2.
- Update Personal Best: Evaluate positions of vectors B. If a particle’s current position is better than its previous best position, update to the new position. Locate the best particle based on its previous best location.
- 3.
- Update Velocities: Update all particles’ velocities based on Equation (20), considering inertia weight (W), cognitive constant (c1), social constant (c2), and random numbers (U1, U2).
- 4.
- Update Positions: Move all particles to their new positions based on Equation (20), considering velocity and current position.
- 5.
- Iteration: Repeat steps 2–4 until stopping criteria are met.
3.3. Integration of PSO and ANN
3.3.1. Implementation of ANN for Inverse Kinematic Problem
- Initializing joint angles within the permitted range.
- Using FK equations to obtain end-effector coordinates (X, Y, Z).
- Employing random joint angles in constraint equations to obtain input constraints.
- Setting [X, Y, Z, C] as inputs and [θ1, θ2, θ3, θ4] as outputs to the ANN.
- Designing the ANN structure, including hidden layers, neurons, and training functions.
- Training, testing, and validating the ANN.
- Defining a valid target trajectory and preparing input data for the ANN.
- Applying inputs to the ANN to obtain joint angles as outputs.
3.3.2. Combination of PSO and ANN
- Initialize random values for each joint angle within the permitted range.
- Use PSO to obtain the end-effector coordinates (X, Y, Z) as inputs for the ANN.
- Utilize random joint angles in constraint equations to derive the input constraints for the ANN.
- Set [X, Y, Z, C] as inputs and [θ1, θ2, θ3, θ4] as outputs for the ANN.
4. Results and Analysis
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- “Manipulator (Device)”. En.Wikipedia.Org. 2020. Available online: https://en.wikipedia.org/wiki/Manipulator_(device) (accessed on 21 February 2020).
- Chirikjian, G.S. Theory and Applications of Hyper-Redundant Robotic Manipulators; California Institute of Technology: Pasadena, CA, USA, 1992. [Google Scholar]
- Sciavicco, L.; Siciliano, B. A solution algorithm to the inverse kinematic problem for redundant manipulators. IEEE J. Robot. Autom. 1988, 4, 403–410. [Google Scholar] [CrossRef]
- Murray, R.M.; Li, Z.; Sastry, S.S. A Mathematical Introduction to Robotic Manipulation; CRC Press: Boca Raton, FL, USA, 2017. [Google Scholar]
- Wang, L.C.; Chen, C.C. A combined optimization method for solving the inverse kinematics problems of mechanical manipulators. IEEE Trans. Robot. Autom. 1991, 7, 489–499. [Google Scholar] [CrossRef]
- Fu, Z.; Yang, W.; Yang, Z. Solution of inverse kinematics for 6R robot manipulators with offset wrist based on geometric algebra. J. Mech. Robot. 2013, 5, 031010. [Google Scholar] [CrossRef] [PubMed]
- Alavandar, S.; Nigam, M.J. Neuro-fuzzy based approach for inverse kinematics solution of industrial robot manipulators. Int. J. Comput. Commun. Control 2008, 3, 224–234. [Google Scholar] [CrossRef]
- Daya, B.; Khawandi, S.; Akoum, M. Applying neural network architecture for inverse kinematics problem in robotics. J. Softw. Eng. Appl. 2010, 3, 230. [Google Scholar] [CrossRef]
- Duysinx, P.; Géradin, M. An Introduction to Robotics: Mechanical Aspects; University of Liège: Liège, Belgium, 2004. [Google Scholar]
- Gómez, S.; Sánchez, G.; Zarama, J.; Ramos, M.C.; Alcántar, J.E.; Torres, J.; Núñez, A.; Santana, S.; Nájera, F.; Lopez, J.A. Design of a 4-DOF robot manipulator with optimized algorithm for inverse kinematics. Int. J. Mech. Mechatron. Eng. 2015, 9, 929–934. [Google Scholar]
- Aghajarian, M.; Kiani, K. Inverse kinematics solution of PUMA 560 robot arm using ANFIS. In Proceedings of the 2011 8th International Conference on Ubiquitous Robots and Ambient Intelligence (URAI), Incheon, Republic of Korea, 23–26 November 2011; IEEE: Piscataway, NJ, USA, 2011; pp. 574–578. [Google Scholar]
- Tejomurtula, S.; Kak, S. Inverse kinematics in robotics using neural networks. Inf. Sci. 1999, 116, 147–164. [Google Scholar] [CrossRef]
- Ming, Y.; Guizhang, L.; Jiangeng, L. An inverse kinematics solution for manipulators based on fuzzy logic. In Proceedings of the 2001 International Conferences on Info-Tech and Info-Net. Proceedings (Cat. No. 01EX479), Beijing, China, 29 October–1 November 2001; IEEE: Piscataway, NJ, USA, 2001; Volume 4, pp. 400–404. [Google Scholar]
- Batista, J.; Souza, D.; Dos Reis, L.; Barbosa, A.; Araújo, R. Dynamic model and inverse kinematic identification of a 3-DOF manipulator using RLSPSO. Sensors 2020, 20, 416. [Google Scholar] [CrossRef] [PubMed]
- Zhao, J.; Xu, T.; Fang, Q.; Xie, Y.; Zhu, Y. A synthetic inverse kinematic algorithm for 7-DOF redundant manipulator. In Proceedings of the 2018 IEEE International Conference on Real-Time Computing and Robotics (RCAR), Kandima, Maldives, 1–5 August 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 112–117. [Google Scholar]
- Dereli, S.; Köker, R. Calculation of the inverse kinematics solution of the 7-DOF redundant robot manipulator by the firefly algorithm and statistical analysis of the results in terms of speed and accuracy. Inverse Probl. Sci. Eng. 2020, 28, 601–613. [Google Scholar] [CrossRef]
- Song, R.; Chen, X.; Shen, C.; Zhang, H. Modeling FOG drift using back-propagation neural network optimized by artificial fish swarm algorithm. J. Sens. 2014, 2014, 273043. [Google Scholar] [CrossRef]
- Oh, S.Y.; Orin, D.; Bach, M. An inverse kinematic solution for kinematically redundant robot manipulators. J. Robot. Syst. 1984, 1, 235–249. [Google Scholar] [CrossRef]
- Zhao, J.; Zhao, L.; Liu, H. Motion planning of hyper-redundant manipulators based on ant colony optimization. In Proceedings of the 2016 IEEE International Conference on Robotics and Biomimetics (ROBIO), Qingdao, China, 3–7 December 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 1250–1255. [Google Scholar]
- Liu, Y.; Xi, J.; Bai, H.; Wang, Z.; Sun, L. A general robot inverse kinematics solution method based on improved PSO algorithm. IEEE Access 2021, 9, 32341–32350. [Google Scholar]
- Starke, S.; Hendrich, N.; Magg, S.; Zhang, J. An efficient hybridization of genetic algorithms and particle swarm optimization for inverse kinematics. In Proceedings of the 2016 IEEE International Conference on Robotics and Biomimetics (ROBIO), Qingdao, China, 3–7 December 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 1782–1789. [Google Scholar]
- Dereli, S.; Köker, R. IW-PSO approach to the inverse kinematics problem solution of a 7-DOF serial robot manipulator. Sigma J. Eng. Nat. Sci. 2018, 36, 77–85. [Google Scholar]
- Monfared, P. Computation of Inverse Kinematics of Redundant Manipulator Using Particle Swarm Optimization Algorithm and Its Combination with Artificial Neural Networks. Master’s Thesis, University of Regina, Regina, SK, Canada, 2023. [Google Scholar]
- Mohammed, A.A.; Sunar, M. Kinematics modeling of a 4-DOF robotic arm. In Proceedings of the 2015 International Conference on Control, Automation and Robotics, Singapore, 20–22 May 2015; IEEE: Piscataway, NJ, USA, 2015; pp. 87–91. [Google Scholar]
- Available online: https://www.analyticsvidhya.com/blog/2021/10/an-introduction-to-particle-swarm-optimization-algorithm/ (accessed on 23 September 2024).
- Habibkhah, S. Artificial Neural Networks for the Computation of the Inverse Kinematics of Redundant Manipulators. Master’s Thesis, University of Regina, Regina, SK, Canada, 2020. [Google Scholar]
Configuration | Population of Swarms | Iteration | Run Time | Error (MSE) |
---|---|---|---|---|
1 | 50 | 100 | 1 min, 10 s | 0.001 |
2 | 75 | 200 | 1 min, 40 s | 0.0003981 |
3 | 100 | 300 | 2 min, 10 s | 0.0002511 |
4 | 150 | 400 | 4 min, 37 s | 0.0007814 |
Paths | Population of Swarms | Iteration | Run Time | Error (MSE) |
---|---|---|---|---|
1 | 100 | 300 | 2 min, 10 s | 0.0002511 |
2 | 100 | 300 | 17 min, 9 s | 0.0004964 |
3 | 100 | 300 | 6 min, 2 s | 0.0007153 |
4 | 100 | 300 | 9 min, 4 s | 0.0009080 |
5 | 100 | 300 | 18 min, 4 s | 0.000811 |
Iterations | Run Time | Error (MSE) | |
---|---|---|---|
PSO-ANN | 50 | 2 min, 10 s | 0.0002511 |
ANN | 1000 | 36.10 s | 0.045589 |
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. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Monfared, P.; Fei, X.; Peng, W. Computation of Inverse Kinematics of Redundant Manipulator Using Particle Swarm Optimization Algorithm and Its Combination with Artificial Neural Networks. Eng. Proc. 2024, 76, 58. https://doi.org/10.3390/engproc2024076058
Monfared P, Fei X, Peng W. Computation of Inverse Kinematics of Redundant Manipulator Using Particle Swarm Optimization Algorithm and Its Combination with Artificial Neural Networks. Engineering Proceedings. 2024; 76(1):58. https://doi.org/10.3390/engproc2024076058
Chicago/Turabian StyleMonfared, Pedram, Xiaoning Fei, and Wei Peng. 2024. "Computation of Inverse Kinematics of Redundant Manipulator Using Particle Swarm Optimization Algorithm and Its Combination with Artificial Neural Networks" Engineering Proceedings 76, no. 1: 58. https://doi.org/10.3390/engproc2024076058
APA StyleMonfared, P., Fei, X., & Peng, W. (2024). Computation of Inverse Kinematics of Redundant Manipulator Using Particle Swarm Optimization Algorithm and Its Combination with Artificial Neural Networks. Engineering Proceedings, 76(1), 58. https://doi.org/10.3390/engproc2024076058