Trajectory Planning and Control for Robotic Magnetic Manipulation
Ogulcan Isitman, Gokhan Alcan, Ville Kyrki
TL;DR
This work tackles trajectory planning and control for magnetic capsule endoscopy by coupling an external permanent magnet (EPM) on a robotic arm with an internal permanent magnet (IPM) inside the GI tract. It introduces a constrained iterative linear quadratic regulator (iLQR) solved with an augmented Lagrangian to enforce joint, obstacle, and magnetic constraints, yielding optimal state/input trajectories and time-varying gains for real-time closed-loop control. The method demonstrates robustness to disturbances and precise IPM tracking in simulations and real-world experiments, with an emphasis on safety and manipulability of the EPM. The results indicate a unified framework that directly accounts for IPM dynamics, enabling safer, more efficient navigation of a magnetic capsule and offering a path toward higher autonomy in capsule endoscopy.
Abstract
Robotic magnetic manipulation offers a minimally invasive approach to gastrointestinal examinations through capsule endoscopy. However, controlling such systems using external permanent magnets (EPM) is challenging due to nonlinear magnetic interactions, especially when there are complex navigation requirements such as avoidance of sensitive tissues. In this work, we present a novel trajectory planning and control method incorporating dynamics and navigation requirements, using a single EPM fixed to a robotic arm to manipulate an internal permanent magnet (IPM). Our approach employs a constrained iterative linear quadratic regulator that considers the dynamics of the IPM to generate optimal trajectories for both the EPM and IPM. Extensive simulations and real-world experiments, motivated by capsule endoscopy operations, demonstrate the robustness of the method, showcasing resilience to external disturbances and precise control under varying conditions. The experimental results show that the IPM reaches the goal position with a maximum mean error of 0.18 cm and a standard deviation of 0.21 cm. This work introduces a unified framework for constrained trajectory optimization in magnetic manipulation, directly incorporating both the IPM's dynamics and the EPM's manipulability.
