Simulation-Based Testing of RCM-Constrained Robotic Software via Task Manifolds
This arXiv preprint introduces Manifold, a framework for testing whether a simulated surgical robot can withdraw a needle safely through a fixed entry port. All randomly generated Manifold candidates were executable, and genetic search exposed all seven observed failure patterns. The results show why test teams need to measure both which starting configurations they reach and how the resulting motions fail.
Can a test domain built around the fixed entry point produce more executable cases, expose more kinds of failure and support defect detection across robots with different kinematics?
An ophthalmic robot must withdraw its needle through a narrow entry channel. Independent motor commands can describe unreachable or redundant starting states, and Cartesian tip positions can be incompatible with the required shaft alignment. Even from a feasible start, tracking errors or scheduling delays can drive the needle into simulated tissue.
Test generators sample bounded motor commands, Cartesian XYZ tip coordinates or a reduced space fitted with Principal Component Analysis (PCA). PCA in this study was fitted to normalized, valid motor configurations, but points sampled in that space could still fail the same feasibility checks applied to Cartesian XYZ.
Manifold defines the needle's starting state using two shaft angles about the remote center of motion (RCM) and an insertion depth. It filters for workspace, inverse kinematics and actuator limits before random sampling, grid traversal or genetic search. An offline checker evaluates trajectories for forbidden contacts and crossings between recorded points, and a shared grid measures starting-state coverage. The five-motor robot uses analytic inverse kinematics. The 7-DoF Kinova Gen3 uses seeded numerical inverse kinematics and MoveIt 2 to generate plans for offline checks. Genetic search uses prior risk estimates and failure feedback.
For Manifold, Cartesian XYZ and PCA, respectively, random candidate validity was 100.00%, 4.79% and 24.51%. Generating 18,412 executable cases per representation took 2.15 s, 12.43 s and 50.62 s. In five-motor simulation, random and genetic algorithm (GA) testing each ran four sets of 4,603 tests per representation. Random search found 624, 943 and 409 failures across 6, 1 and 1 patterns. Single-run traversal covered 100.00%, 47.78% and 55.61% of the 5,075-cell grid in 5,075, 3,846 and 30,027 tests. GA found 7, 2 and 2 patterns at 11.72%, 21.33% and 9.34% mean coverage. With four runs of 4,603 tests per controller and strategy, defective v1 and patched v2 averaged 91.26% and 89.49% failures under GA, a 1.77 percentage point gap. Random rates were 3.33% and 3.39%. In the Kinova Gen3 plan-only comparison, traversal recorded 11,296 failures in 68,334 tests (16.53%), with 100.00% coverage. Random sampling recorded 11,819 failures in 68,918 tests (17.15%), with 63.78% coverage.
The study evaluates one withdrawal task and reports no physical execution. Manifold traversal reaches every cell by construction because the reference grid comes from Manifold, but it exposed only three of the seven patterns. The controller comparison cannot attribute individual failures to the known defect. The Kinova Gen3 study ran each strategy once, omitted the Cartesian XYZ and PCA baselines, and excluded a numerically sensitive collision boundary.
Surgical robot makers and motion-planning software teams could use the workflow now for internal simulation regression tests if they can model feasible starts, validate the simulator and check trajectories against their own safety constraints. Using the evidence to support product safety claims would require physical tests.
The full text is not republished here because the paper's license does not allow it. Read the original on arXiv.