UR3 Collaborative Robot Inverse Kinematics Using Metaheuristic Optimization: A Unified Comparative and Experimental Evaluation
Julio Antonio Caballero-Mora, Daniel Sanin-Villa, Huber Girón-Nieto, Vanessa Botero-Gómez, Rogelio de Jesús Portillo-Vélez, Janet Carolina López-Romero, Juan C. TejadaThe inverse kinematics (IK) problem of the UR3 collaborative manipulator is addressed through a singularity-aware optimization framework and a statistically grounded benchmarking methodology. The IK task is formulated as a full-pose optimization problem minimizing a physically scaled residual combining Cartesian position and orientation errors. Emphasizing consistency between error formulation and optimization paradigms, a matrix-based pose-error representation is adopted as a numerically stable residual for stochastic search. Simultaneously, a smooth Jacobian-conditioning penalty is incorporated to mitigate instability near ill-conditioned configurations. Five metaheuristic solvers (PSO, GWO, GA, JADE, ALO) are implemented under a unified, reproducible experimental protocol with common maximum search settings. The Levenberg–Marquardt (LM) numerical method is included as a deterministic baseline to compare gradient-based precision against derivative-free global exploration. Performance is evaluated across nominal, industrial, and near-singular poses using 1000 Monte Carlo runs per configuration. Final-solution accuracy, variability, and computational time are analyzed directly from the Monte Carlo outcome distributions, descriptive statistics, and nonparametric rank-based tests. Results indicate that LM achieves superior numerical precision and computational speed. Among the metaheuristics, GA provides the lowest mean objective values and the smallest objective dispersion across the three tested poses, whereas JADE is the fastest solver. GWO provides an intermediate solution profile, with competitive objective values and substantially shorter execution times than GA and ALO. The optimized solutions are first verified in a RoboDK virtual environment. Subsequently, representative GWO-based configurations are experimentally validated on a physical UR3 robot through both isolated static poses and a continuous multi-pose trajectory tracking task, confirming practical kinematic feasibility and sequential stability. The proposed framework establishes a reproducible benchmark for statistically robust evaluation of metaheuristic-based IK optimization in collaborative robotics.