High Precision Real Time Collision Detection

Alexandre Coulombe, Hsiu-Chin LinarXiv 2020

Abstract

This paper presents a high-precision, real-time collision detection system designed for modern industrial robotics. By optimizing the Gilbert-Johnson-Keerthi (GJK) algorithm through graph-based environment modeling and a streamlined geometric distance sub-algorithm, the proposed method achieves computation speeds significantly faster than existing industry standards. Evaluation on industrial robot models demonstrates sub-millisecond performance, meeting the rigorous requirements for real-time human-robot interaction in Industry 4.0 environments.

Introduction

In the era of Industry 4.0, safe and efficient human-robot collaboration is paramount. This necessitates collision detection systems that are both highly precise—to allow operation in cluttered or tight spaces—and extremely fast, typically requiring response times under 1 millisecond. Traditional approaches often force a compromise: simple bounding volumes (like spheres or boxes) offer speed at the cost of precision, while mesh-based libraries like the Flexible Collision Library (FCL) provide precision but often fail to meet real-time constraints due to high computational overhead and complex calibration requirements.

Methodology

The core of the proposed system is the Recursive Gilbert-Johnson-Keerthi (RGJK) algorithm, enhanced by several key optimizations:

Graph-Based Environment Modeling

Rather than processing 3D meshes as unstructured triangle lists, the system represents them as graph data structures. Vertices serve as nodes, and edges represent the mesh topology. This structure enables "hill-climbing" optimization: the algorithm starts from a previous witness point and traverses neighbors to find the vertex furthest in a given direction. This approach leverages temporal continuity, as the closest points between robot links change minimally between high-frequency control steps.

Geometric Distance Sub-algorithm

Standard GJK implementations rely on complex barycentric coordinate calculations to find the closest point on a simplex (point, line, triangle, or tetrahedron) to the origin. The authors replace this with a more efficient approach using linear algebra and vector rejection.

Geometric distance sub-algorithm illustrating the search for the closest point on a simplex to the origin.

By partitioning the search space into distinct geometric regions, the algorithm can rapidly eliminate irrelevant areas and compute the shortest distance using fundamental vector operations, significantly reducing the CPU load.

Transformation Efficiency

Efficiency is further improved by optimizing coordinate transformations. Unlike standard libraries that may recompute transformations for every individual check, this system applies the robot's current joint-state transformations to the meshes once per time step, reusing the results for all subsequent distance queries.

Experimental Evaluation

The system was evaluated using two distinct industrial robot models: the KUKA LBR iiwa 7 R800, a 7-DOF collaborative robot, and the Mecademic Meca500, a compact high-precision robot.

The Mecademic Meca500 (left) and KUKA LBR iiwa (right) robots used for performance evaluation.

Meshes were sourced from standard ROS industrial packages and processed into convex hull representations. Performance was benchmarked against the FCL library over 20,000 randomized robot poses.

Results

The proposed method demonstrated dramatic speedups over FCL. While FCL exceeded the 1ms real-time threshold—taking over 200ms for the KUKA model—the proposed RGJK method consistently stayed below 0.2ms.

Robot FCL Library (ms) Proposed Method (ms) Speedup
Meca500 7.093 ± 0.649 0.057 ± 0.012 ~124x
KUKA LWR 214.935 ± 76.427 0.173 ± 0.015 ~1,242x

Discussion and Future Work

The system's reliance on convex hulls currently limits its application to strictly convex shapes or requires convex decomposition for complex concave environments. Future work will focus on extending the model to handle dynamic obstacles through the integration of external sensors like LiDAR or depth cameras. Additionally, the authors plan to integrate this high-speed distance querying directly into active collision avoidance controllers to enhance safety in dynamic human-centric workspaces.

Summary updated

BibTeX
@misc{coulombe2020high,
  author = {Alexandre Coulombe and Hsiu-Chin Lin},
  title = {{High Precision Real Time Collision Detection}},
  year = {2020},
  eprint = {2007.12045},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.12045},
}
Figure