Abstract
Inverse kinematics (IK) is a key component of robotic manipulator motion planning and control. Classical numerical IK methods can incur substantial computational effort when repeatedly solving constrained IK problems, motivating learning-based alternatives. In this work, a constrained flow matching inverse kinematics (CFM-IK) framework is proposed to generate diverse joint configurations for a desired end-effector target position while accounting for the physical limitations of the robot. To facilitate trajectory-level deployment, generated solutions are refined through a trajectory-aware inference-time projection that enforces joint constraints while preserving Cartesian accuracy and motion continuity. A hardware qualification stage further evaluates projected trajectories against joint position, joint step, and projection error criteria before execution, while joint velocity and acceleration are assessed retrospectively as dynamic diagnostics. The framework is evaluated numerically and experimentally on an SO-ARM101 manipulator using planar and three-dimensional trajectories. Real-robot execution is assessed using encoder-based forward kinematics together with external monocular calibrated AprilTags-based Cartesian measurements. Additional Jacobian-based analysis quantifies how discrete joint position measurements propagate into encoder-derived Cartesian trajectories, identifying encoder quantization as a potential contributor to the observed staircase behavior. The results demonstrate that CFM-IK can produce accurate, diverse, constraint-compliant IK solutions that can be transformed into smooth, hardware-qualified trajectories and successfully executed on a physical manipulator. Across 500 Cartesian targets, CFM + projection achieved 98.01% candidate feasibility under a 5 mm accuracy threshold and 100% best-of-five target success. In the 10-Hz online experiment, the proposed framework achieved a 0.010 mm numerical FK RMSE with 100% deadline compliance, while real-robot experiments confirmed millimeter-level trajectory tracking.