Inverse kinematics using neural networks and random forests for trajectory tracking of a three-degree-of-freedom robotic arm
Date
2024-09-14
Journal Title
Journal ISSN
Volume Title
Publisher
Benemérita Universidad Autónoma de Puebla
Abstract
Direct and inverse kinematics are crucial in the operation of manipulator robots to achieve desired positions and orientations and execute specific tasks through precise trajectory tracking in the workspace. This study addresses the challenge of inverse kinematics for a three-degree-of-freedom robot, highlighting its complexity due to the nonlinear nature of the trigonometric equations and the existence of multiple solutions for a given end-effector position.
To solve this problem, two machine learning approaches were implemented: artificial neural networks and random forests. First, the direct kinematics model was obtained using the Denavit-Hartenberg method. With these equations, a training dataset was generated by positioning the robot at various points within the workspace using MATLAB and the Robotics Toolbox by Peter Corke.
The models were developed in Python using TensorFlow, Keras, and Scikit-learn. The neural network was adjusted by increasing the number of neurons in the hidden layers until a satisfactory response was obtained, while the random forest model was optimized by varying the number of decision trees. Both models were evaluated with previously unseen trajectories, and their performance was compared using graphs generated in Python and trajectory tracking simulations in MATLAB.
The results demonstrated that both approaches can effectively adapt to multidimensional regression problems when provided with an appropriate dataset. In this context, the inverse kinematics problem for a three-degree-of-freedom robotic manipulator was posed as a regression problem, using neural network and random forest models to map a set of numerical inputs to a set of numerical targets, thereby demonstrating the feasibility of these approaches in solving complex robotics problems.
Description
Keywords
Citation
Collections
Document Viewer
Select a file to preview:
Can't see the file? Try reloading