Simulation-Based Testing of RCM-Constrained Robotic Software via Task Manifolds
Organizations: School of Intelligent Science and Technology, Hangzhou Institute for Advanced Study, University of Chinese Academy of Sciences, Hangzhou Shi, Zhejiang Sheng, China · School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou Shi, Guangdong Sheng, China · Institute of Software Chinese Academy of Sciences, Haidian Qu, Beijing Shi, China
Abstract
System-level testing of surgical robots requires generating executable test scenarios that exercise diverse, safety-critical behaviors. However, remote-center-of-motion (RCM) surgical manipulators operate within tightly constrained workspaces governed by coupled task geometry, inverse kinematics, and motor limits. Direct sampling in motor-command or Cartesian spaces frequently wastes testing budgets on physically unfeasible configurations. To address this limitation, we present a manifold-centered testing framework that decouples feasible test-domain construction from downstream test-generation strategies. Candidate inputs are generated directly within this constructed feasible domain and mapped to lower-level joint commands for simulation execution. Offline trajectory safety oracles and a spatial reference grid then evaluate failure yield and coverage. We compare our task-manifold representation against Cartesian XYZ and principal component analysis (PCA) under random testing, systematic traversal, and genetic search strategies. Results demonstrate that the feasible task domain improves test-generation efficiency and enables systematic reference-cell coverage. Crucially, random and genetic search strategies detect a broader spectrum of failure patterns than baseline representations, revealing that complete reference-cell coverage alone does not exhaust intra-cell behavioral dynamics. Furthermore, differential testing between defective and patched controller versions reveals that targeted evolutionary search detects aggregate failure-rate shifts from software repairs. Finally, a cross-platform study on a 7-DoF Kinova Gen3 arm in MoveIt 2 confirms workflow transferability to kinematically redundant manipulators. Together, these findings highlight the necessity of combining feasibility-aware domain modeling with complementary search strategies for systematic testing of robot software.
Figures & tables
| Term | Notation | Meaning |
|---|---|---|
| Task manifold | — | Task states satisfying structural task constraints, such as RCM alignment. |
| Motor-command space | Motor-command vectors satisfying individual motor limits. These bounds alone do not ensure task feasibility. | |
| Task-coordinate domain | Candidate task-coordinate vectors before feasibility checks. For the motivating example, it is . | |
| Feasible test domain | The subset of satisfying task constraints and admitting at least one valid motor realization in . Sampling and search operate on this domain. |
| Parameter | Value |
|---|---|
| limits | |
| limits | |
| Workspace center | mm |
| RCM point | mm |
| Inner / outer workspace radius | mm / mm |
| Permitted entry-channel radius | mm |
| Space | Runs | Valid cases | Candidate cases | Candidate validity | Total time (s) |
|---|---|---|---|---|---|
| Cartesian XYZ | 4 | 18,412 | 384,270 | 12.43 | |
| Manifold | 4 | 18,412 | 18,412 | 2.15 | |
| PCA | 4 | 18,412 | 75,117 | 50.62 |
| Strategy | Space | Executed tests | Coverage (%) | Failure patterns (count) | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| P1 | P2 | P3 | P4 | P5 | P6 | P7 | ||||
| Random | Cartesian XYZ | 51.03 | 943 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Manifold | 52.22 | 609 | 5 | 3 | 2 | 4 | 1 | 0 | ||
| PCA | 49.96 | 409 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| Traversal | Cartesian XYZ | 47.78 | 382 | 1 | 1 | 0 | 0 | 0 | 0 | |
| Manifold | 100.00 | 455 | 0 | 1 | 2 | 0 | 0 | 0 | ||
| Controller | Strategy | Runs budget | Failures | Mean failure rate SD | Failures in motor-limit region |
|---|---|---|---|---|---|
| v2 | Random | 624 | pp | ( ) | |
| v1 | Random | 613 | pp | ( ) | |
| v2 | GA | 16477 | pp | ( ) | |
| v1 | GA | 16803 | pp | ( ) |
| Strategy | Tests | Failures | Failure rate | Coverage | ||
|---|---|---|---|---|---|---|
| Planning | Task | Total | ||||
| Random | 68,918 | 8,204 | 3,615 | 11,819 | ||
| Traversal | 68,334 | 8,229 | 3,067 | 11,296 | ||
Surgical Robotics
Surgical robotics develops robotic tools and systems for minimally invasive, image-guided, and microsurgical procedures.
See all 203 papers