Research Article Open Access

A GUI-Enabled, Automated LSTM-Based Inverse Kinematics Pipeline for 6-DOF Robotic Arms Using MATLAB and CoppeliaSim

Waleed Abdulrahman Saleh Al-Akwa1 and Mohammed Abdulwahab Ahmed Daba2
  • 1 Department of Mechatronics Engineering, University of Sana'a, Sana'a, Yemen
  • 2 Department of Mechatronics Engineering, University of Sana'a, Sana'a, Yemen

Abstract

Existing deep learning-based inverse kinematics (IK) solutions often target specific robotic arms and require significant modifications when applied to different configurations. To support early-phase design and testing of 6-degree-of-freedom (6-DOF) robotic arms, this study presents a fast and adaptable IK solution through a user-friendly interface. Unlike traditional numerical methods that are computationally intensive, sensitive to initial conditions, and may not generalize to custom designs, the proposed approach allows users to input Denavit-Hartenberg (DH) parameters and quickly generate a first-draft IK solution. This solution is built on a deep learning-based pipeline using a Long Short-Term Memory (LSTM) neural network integrated with a MATLAB-based graphical user interface (GUI) for automated dataset generation and model training. To enhance performance, this approach applies various data preprocessing techniques, including MinMaxScaler, Normalizer, RobustScaler, and StandardScaler. It also incorporates K-Fold cross-validation for performance evaluation and an early stopping mechanism to prevent overfitting. Multiple 6-DOF robotic arms are tested using MATLAB and CoppeliaSim by performing tasks, such as trajectory tracking of letters and words on planar and non-planar surfaces, to ensure a flexible solution across diverse robotic configurations and task environments.

Journal of Mechatronics and Robotics
Volume 9 No. 1, 2025, 13-23

DOI: https://doi.org/10.3844/jmrsp.2025.13.23

Submitted On: 18 January 2025 Published On: 26 May 2025

How to Cite: Saleh Al-Akwa, W. A. & Daba, M. A. A. (2025). A GUI-Enabled, Automated LSTM-Based Inverse Kinematics Pipeline for 6-DOF Robotic Arms Using MATLAB and CoppeliaSim. Journal of Mechatronics and Robotics, 9(1), 13-23. https://doi.org/10.3844/jmrsp.2025.13.23

  • 198 Views
  • 65 Downloads
  • 0 Citations

Download

Keywords

  • Inverse Kinematics
  • LSTM
  • Neural Networks
  • Graphical User Interface