FPGA-Based High-Performance Collision Detection: An Enabling Technique for Image-Guided Robotic Surgery

Zhaorui Zhang, Xin Yao, Benben Liu, Xiangyu Li, Kit-Hang Lee, Chun‐Fai Ng, Danail Stoyanov, Ray C. C. Cheung, Ka‐Wai KwokFrontiers in Robotics and AI 2016 · DOI

Abstract

Collision detection is a critical component in image-guided robotic surgery, where real-time performance is essential for preserving healthy anatomical structures. However, the computational complexity of traditional algorithms often fails to meet the high-frequency demands of haptic feedback. This paper presents a fast and accurate collision detection algorithm for Oriented-Bounding-Boxes (OBBs), optimized for FPGA implementation. By utilizing a multi-stage pipeline—including an improved Sweep and Prune algorithm and the Separating Axis Test—the proposed system achieves a 1 kHz frame rate, outperforming CPU-based solutions by 8x while maintaining high energy efficiency.

Introduction: The Challenge of Real-Time Haptics

In robotic surgery, surgeons rely on haptic feedback to interact safely with delicate tissues. To ensure a smooth and realistic tactile experience, the collision detection system must update at a rate of at least 1 kHz. Standard surgical environments involve thousands of complex 3D objects, typically modeled using Oriented Bounding Boxes (OBBs) for high accuracy. However, checking every OBB pair for collisions is computationally expensive ($O(n^2)$), creating a bottleneck on conventional CPU architectures.

Geometric modeling of OBB, Sphere, and AABB bounding volumes used to represent surgical instruments and anatomy.

A Multi-Stage Collision Detection Pipeline

To address these challenges, the researchers developed a multi-stage pipeline designed to filter out non-colliding objects quickly before performing rigorous checks.

The proposed collision detection pipeline, transitioning from OBB to AABB for broad-phase filtering followed by narrow-phase SAT.
  1. OBB to AABB Conversion: Complex OBBs are first converted into simpler Axis-Aligned Bounding Boxes (AABBs) to facilitate rapid initial screening.
  2. Improved Sweep and Prune (SAP): Acting as a "broad-phase" filter, this algorithm identifies potential collision pairs. Unlike standard SAP which uses hardware-inefficient linked lists, this improved version uses a traversal method that identifies OBBs within specific ranges on a sorted axis, reducing complexity.
  3. Separating Axis Test (SAT): The "narrow-phase" check. Only the pairs that pass the SAP filter are subjected to the SAT, which tests 15 potential axes to confirm an actual collision.

Hardware Acceleration on FPGA

The true performance gain comes from the hardware-algorithm co-design. By implementing the pipeline on a Field-Programmable Gate Array (FPGA), the system leverages:

  • Pipelining: Allowing a new collision result to be produced every clock cycle once the pipeline is full.
  • Task-Level Parallelism: Processing X, Y, and Z axes simultaneously and independently.
  • Custom Bit-Widths: Using fixed-point data for the sorting phase to maximize speed and resource efficiency without compromising the precision required for surgery.

Results and Clinical Impact

The system was validated using synthetic datasets and clinical data from a robotic prostatectomy involving 17,500 OBBs. Key results include:

  • 8x Speedup: The FPGA implementation significantly outperformed a high-end Intel i7 CPU running the same optimized algorithm.
  • 1 kHz Frame Rate: The system successfully met the gold standard for haptic feedback even with high object counts.
  • Energy Efficiency: The FPGA solution consumed only 7.2W compared to the CPU's 95W, making it ideal for the power-constrained and crowded environment of a modern operating room.

Conclusion

This FPGA-accelerated approach provides the necessary throughput for real-time collision detection in robotic surgery. By redesigning standard algorithms to be "FPGA-native," the researchers have enabled a level of haptic fidelity previously difficult to achieve in complex surgical scenes. Future work will focus on extending this architecture to handle deformable tissues and integrating it into complete haptic rendering engines.

Summary updated

Abstract

Collision detection, which refers to the computational problem of finding the relative placement or con-figuration of two or more objects, is an essential component of many applications in computer graphics and robotics. In image-guided robotic surgery, real-time collision detection is critical for preserving healthy anatomical structures during the surgical procedure. However, the computational complexity of the problem usually results in algorithms that operate at low speed. In this paper, we present a fast and accurate algorithm for collision detection between Oriented-Bounding-Boxes (OBBs) that is suitable for real-time implementation. Our proposed Sweep and Prune algorithm can perform a preliminary filtering to reduce the number of objects that need to be tested by the classical Separating Axis Test algorithm, while the OBB pairs of interest are preserved. These OBB pairs are re-checked by the Separating Axis Test algorithm to obtain accurate overlapping status between them. To accelerate the execution, our Sweep and Prune algorithm is tailor-made for the proposed method. Meanwhile, a high performance scalable hardware architecture is proposed by analyzing the intrinsic parallelism of our algorithm, and is implemented on FPGA platform. Results show that our hardware design on the FPGA platform can achieve around 8X higher running speed than the software design on a CPU platform. As a result, the proposed algorithm can achieve a collision frame rate of 1 KHz, and fulfill the requirement for the medical surgery scenario of Robot Assisted Laparoscopy.
BibTeX
@inproceedings{zhang2016fpga,
  author = {Zhaorui Zhang and Xin Yao and Benben Liu and Xiangyu Li and Kit-Hang Lee and Chun‐Fai Ng and Danail Stoyanov and Ray C. C. Cheung and Ka‐Wai Kwok},
  title = {{FPGA-Based High-Performance Collision Detection: An Enabling Technique for Image-Guided Robotic Surgery}},
  booktitle = {Frontiers in Robotics and AI},
  year = {2016},
  doi = {10.3389/frobt.2016.00051},
}
Figure