Accounting for Hysteresis in the Forward Kinematics of Nonlinearly-Routed Tendon-Driven Continuum Robots via a Learned Deep Decoder Network

Brian Y. Cho, Daniel S. Esser, Jordan Thompson, Bao Thach, Robert J. Webster Iii, Alan KuntzarXiv 2024

TL;DR

This paper introduces a deep learning approach to predict the full 3D shape of tendon-driven continuum robots while accounting for hysteresis. By conditioning a deep decoder network on both current and previous tendon configurations, the model achieves highly accurate shape predictions in real-time. This approach significantly outperforms traditional physics-based models and standard learning methods, paving the way for safer and more precise robotic surgeries.

What Problem Does This Paper Address?

Tendon-driven continuum robots (TDCRs) are flexible, snake-like manipulators ideal for navigating complex, narrow anatomical pathways during minimally invasive surgeries. However, controlling and planning movements for these robots requires an accurate forward kinematics model—a mathematical mapping from tendon pulls to the robot's actual physical shape.

Traditional physics-based models (such as those leveraging Cosserat rod theory) struggle because they cannot easily account for unmodeled physical realities like non-homogeneous material properties, friction, and hysteresis. Hysteresis means the robot's current shape depends not just on its current tendon lengths, but on its history of previous movements (see the top-right of Figure 1). While prior machine learning methods have attempted to learn these kinematics from data, they typically only predict the robot's tip position, ignore the history of the robot's shape, or require slow post-processing to reconstruct the full geometry.

Fig. 1: (Upper left) We leverage point clouds to represent the whole shape of the robot. (Upper right) Hysteresis causes the robot’s shape to significantly depend on its prior configuration history. History 1 and History 2 show the sensed shape of the robot at the same tendon-displacement configuration, but having come from different prior configurations. (Bottom) Our proposed deep decoder neural network model aims to learn the tendon robot’s entire shape while accounting for hysteresis. Taking as input the current and previous tendon configurations it produces a point cloud (white) that well aligns with the ground truth (red).

Methods

The authors propose a data-driven forward kinematics model using a novel deep decoder neural network that directly outputs the robot's full 3D geometry as a point cloud.

[q_prior, q_current] ---> [Deep Decoder Network] ---> 3D Point Cloud (Shape)

Key components of the method include:

  • Hysteresis Conditioning: The network's input is an augmented configuration vector $\eta = [q_{\text{prior}}, q_{\text{current}}]$, which pairs the previous tendon displacements with the current ones.
  • Deep Decoder Architecture: The network consists of four fully connected layers of increasing size (128 to 1024 units) with ReLU activations and batch normalization. The final layer outputs a $3M$ dimensional vector, which is reshaped into a $3 \times M$ matrix representing a 3D point cloud of $M$ points (see Figure 2).
  • Blended Loss Function ($L_{\text{tendon}}$): To train the network to generate accurate and well-distributed point clouds, the authors combined two point-cloud metrics:
  • Chamfer Distance: Captures the overall coarse geometry of the robot.
  • Earth Mover's Distance (EMD): Acts as a regularizer to ensure the predicted points are evenly distributed across the robot's surface, rather than clumping in low-motion areas.
Figure 2

Datasets

Because no standard benchmark datasets exist for nonlinearly-routed TDCRs exhibiting hysteresis, the authors collected their own data using a physical testbed:

  • The Robot: A custom 3D-printed flexible robot (0.2 m long) actuated via four tendons (three straight, one helical).
  • Data Collection: Two RealSense D405 depth cameras captured the ground-truth shape from different angles. The point clouds were registered to the robot's base frame and segmented to isolate the robot from the background.
  • The Hysteresis Dataset ($D_{\text{hys}}$): Contains 8,319 data points. It consists of a nominal set of 2,773 configurations reached from a zero-tension "home" position, augmented by two additional sets where those same configurations were reached from randomized prior configurations.

Key Insights and Ideas

  • Quantifying the Hysteresis Gap: The authors proved that hysteresis is a massive source of error in these systems. Reaching the exact same tendon configuration from two different prior states resulted in an end-tip position discrepancy of $9 \pm 6.5\%$ of the total robot length.
  • Point Clouds as Direct Kinematic Outputs: Instead of predicting abstract mathematical parameters (like curvature or backbone equations) that require heavy downstream computation for collision detection, directly outputting a point cloud makes the model immediately useful for real-time motion planning.
  • The Necessity of EMD: Using Chamfer distance alone caused the network to cheat by clustering points near the robot's base (where movement is minimal). Incorporating EMD forced a uniform distribution of points along the entire backbone, drastically improving shape accuracy (see Figure 4).
Figure 4

Key Results

The authors evaluated their model against a state-of-the-art physics-based model and a baseline machine learning model that ignores history (non-hysteresis).

  • Superior Accuracy: On 50 independent test cases, the proposed model achieved an average Chamfer distance error of 0.0057 m. This is 2.3x more accurate than the non-hysteresis learned model (0.013 m) and 6.6x more accurate than the physics-based model (0.0374 m) (see Figure 6).
  • Massive Speedups: The deep decoder network computes the full robot shape in just 0.32 ms. Compared to the physics-based model, which takes 613 ms to solve the differential equations and generate a point cloud, the proposed method is ~1,915 times faster, making it ideal for real-time control loops.
  • Trajectory Consistency: When tested on continuous, multi-step sequential trajectories, the model successfully maintained low tracking errors across the entire path.
Figure 6

Limitations and Future Work

  • Single-Step Memory: The model currently only looks one step back ($q_{\text{prior}}$). True physical hysteresis can have longer-term dependencies. The authors note that incorporating longer trajectory histories (perhaps via LSTMs or Transformers) is a logical next step.
  • Rate-Independent Assumption: The model does not account for the velocity or acceleration of tendon displacement, which can impact dynamic hysteresis effects.
  • Control Integration: While this paper solves the forward kinematics problem, future work will focus on utilizing this model for closed-loop control and real-time obstacle avoidance planning.

Summary updated

BibTeX
@misc{cho2024accounting,
  author = {Brian Y. Cho and Daniel S. Esser and Jordan Thompson and Bao Thach and Robert J. Webster III and Alan Kuntz},
  title = {{Accounting for Hysteresis in the Forward Kinematics of Nonlinearly-Routed Tendon-Driven Continuum Robots via a Learned Deep Decoder Network}},
  year = {2024},
  eprint = {2404.03816},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.03816},
}
Figure