Simulation of Surgical Suturing Using Position-Based Dynamics and the Material Point Method

Surgical suturing simulation with a PBD suture and MPM soft tissue

Project Date: 2025

Project Overview

This project introduces a high-performance surgical suturing simulator that combines a custom Material Point Method soft-tissue solver with a Position-Based Dynamics suture model. The simulator reproduces dynamic contact between a flexible thread, a curved surgical needle, and deformable tissue while remaining efficient enough for parallel reinforcement-learning environments.

The main technical challenge was coupling two different physics systems. The soft tissue is simulated using physically based continuum mechanics, while the suture is represented as a lightweight rope governed by positional constraints. A custom two-way coupling method transfers contact forces and momentum between these solvers.

Custom-Developed Physics

MPM Soft-Tissue Simulation

The soft tissue is simulated using the custom CUDA-accelerated CRESSim-MPM framework. Unlike simplified constraint-based tissue models, the Material Point Method represents tissue as a continuum material with physically meaningful deformation, stress, velocity, and mass.

MPM Simulation Pipeline

  1. Particle-to-Grid: Material-point mass, momentum, and stress are transferred to nearby grid nodes.
  2. Grid Update: Internal forces, external forces, contact, and momentum are resolved on the grid.
  3. Grid-to-Particle: Updated velocities and deformation information are transferred back to the tissue particles.
  4. Grid Reset: Temporary grid data are cleared before the next simulation step.

This approach preserves a stronger connection to material mechanics than using Position-Based Dynamics for the tissue itself. It therefore avoids relying entirely on artificial positional constraints and difficult non-physical parameter tuning to reproduce tissue behavior.

Position-Based Dynamics Suture

The surgical suture is represented as a chain of connected particles. Position-Based Dynamics was selected because it provides a stable and computationally efficient way to simulate flexible rope-like objects in real time.

The PBD implementation is lightweight even when executed on the CPU. In the parallel simulator, the PBD rope calculation and visual alignment required only approximately 0.63 ms per simulation step, making soft-tissue computation the primary performance bottleneck.

Two-Way PBD–MPM Contact Coupling

A custom coupling layer was developed to enable the PBD suture to interact dynamically with the MPM tissue. Instead of constraining the thread to a predefined needle path, the system allows the suture and tissue to exchange forces during insertion and motion through the tissue.

Suture Representation Inside the MPM Solver

Two-Way Momentum Transfer

  1. PBD particle positions are used to update the virtual line segments.
  2. The MPM solver detects contact between the segments and the tissue.
  3. Contact forces from the thread modify the tissue-grid momentum.
  4. The resulting tissue reaction impulses are recorded by the MPM solver.
  5. These impulses are transferred back to the corresponding PBD particles.
  6. The next PBD step updates the thread using both its internal constraints and the tissue-contact response.

This creates a closed physical interaction loop: the suture pushes and deforms the tissue, while the tissue resists and redirects the suture. The method produces stable and visually plausible suture–tissue interaction without treating the thread as a purely kinematic object.

Needle–Tissue Interaction

The curved surgical needle is represented as a one-dimensional arc-shaped manifold during contact with the tissue. The custom contact model permits tangential motion along the needle curve while constraining unrealistic motion away from the insertion path.

Massively Parallel Simulation

The simulator was designed for robot learning, where thousands or millions of interactions must be collected efficiently. Multiple independent suturing scenes can run concurrently, with each scene containing its own tissue, needle, suture, physics state, and reinforcement-learning agent.

Parallel Environment Architecture

CUDA Stream Parallelism

Scene-related memory transfers and MPM computations were separated across multiple CUDA streams. This allows GPU operations from different scenes and solver stages to overlap rather than being executed entirely in sequence.

Physics Performance Results

CUDA Stream Scaling

Moving from one to two CUDA streams reduced the measured MPM step time by approximately 64%. This demonstrated that scene-level concurrency and asynchronous GPU execution substantially improved the throughput of the parallel simulator.

Component-Level Performance

The results show that the custom MPM soft-body solver dominates the computational cost, while the PBD thread remains inexpensive. This hybrid design enables physically richer soft-tissue behavior without sacrificing the speed required for reinforcement learning.

Reinforcement-Learning Environment

A parallel reinforcement-learning task was developed to validate that the custom physics framework can support autonomous surgical skill learning. The task was divided into three sequential phases.

  1. Needle Insertion: Guide the needle tip toward the designated entry marker.
  2. Needle Driving: Rotate the curved needle through the tissue while minimizing unwanted translational sliding.
  3. Needle Extraction: Exit the tissue through the designated target marker.

Training Setup

Robot-Learning Results

Needle Insertion

Needle Extraction

Both PPO and SAC demonstrated stable policy improvement. Exit accuracy was lower than insertion accuracy because the needle becomes visually occluded after entering the tissue, forcing the policy to rely more heavily on proprioceptive observations and its previously selected trajectory.

Main Contributions

Current Limitations

Technologies Used

Project Gallery