Formal Verification of Robotic Contact Tasks via Reachability Analysis

Chencheng Tang, Matthias Althoff

Abstract

As robots transition from isolated industrial environments to collaborative workspaces, ensuring the safety of human-robot interaction (HRI) is paramount. This paper introduces a formal verification method for robotic contact tasks using reachability analysis. By modeling the system as a hybrid automaton and introducing a novel "trinal" guard intersection algorithm, the authors provide a framework to mathematically guarantee safety even in the presence of mechanical impacts, discrete-time inputs, and system time delays. The approach demonstrates significant improvements in computational efficiency and accuracy compared to existing geometric methods.

Introduction

In modern robotics, tasks involving physical contact—such as assembly, deburring, or direct human collaboration—require rigorous safety guarantees. Traditionally, engineers have relied on extensive physical testing to validate safety protocols. However, physical testing is inherently limited; it cannot account for the infinite variety of edge cases arising from sensor noise, communication delays, and mechanical uncertainties.

Formal verification via reachability analysis offers a robust alternative by mathematically computing the set of all possible states a system can reach. If this reachable set never intersects with defined "unsafe" regions (e.g., force thresholds that could cause human injury), the system is formally verified as safe. Despite its potential, applying reachability analysis to contact tasks is challenging due to the hybrid nature of the dynamics, where continuous motion is interrupted by discrete impact events.

The Challenge of Hybrid Dynamics in Contact Tasks

Contact tasks are modeled as hybrid systems because they involve both continuous-time dynamics (robot movement) and discrete-time events (impacts and control mode switches). Two primary obstacles hinder the application of standard reachability analysis to these systems:

  1. Guard Intersection Complexity: The "guard" represents the mathematical boundary where a robot makes contact with a surface. Calculating the exact set of states at the moment of impact is computationally intensive and often leads to over-approximation, where the predicted safety bounds become too large to be useful.
  2. Real-World Constraints: Most theoretical models ignore discrete-time control inputs and communication delays. In practice, the microsecond delays between a sensor reading and a controller response can significantly impact the force exerted during a collision.

Proposed Methodology

The authors address these challenges by modeling the robot, controller, and environment as a hybrid automaton. To ensure the model reflects reality, they incorporate Padé approximations to account for system time delays. The core of their contribution lies in two methodological innovations:

Time Synchronization for Discrete-Time Inputs

When a set of possible robot states approaches a contact boundary, the impact does not occur at a single point in time but over an interval. This "time uncertainty" typically causes the reachable set to expand uncontrollably in subsequent steps. The authors introduce a synchronization step that resets the system clock immediately following an impact, effectively tightening the input uncertainty for future state predictions.

Trinal Guard Intersection Algorithm

The "trinal" approach is a hybrid algorithmic strategy designed to compute guard intersections efficiently without sacrificing accuracy. It combines three techniques:

  • Dynamics Scaling: Flattens the reachable set as it nears the contact boundary.
  • Hyperplane Mapping: Projects the flattened set onto the boundary surface.
  • Geometric Intersection: Uses constrained zonotopes to compute the exact overlap.

By integrating these methods, the algorithm achieves a complexity of $O(n^6)$, bypassing the computational bottlenecks of purely geometric approaches while avoiding the excessive over-approximations of pure mapping.

Experimental Evaluation

The proposed method was evaluated using a simulated environment based on the DLR LWR III robotic arm. Safety thresholds were derived from the ISO/TS 15066 standard for collaborative robots. The researchers tested 15 distinct collision scenarios, varying the robot's effective mass (1.5 to 8 kg) and approach speeds (0.1 to 0.55 m/s).

Key Results

  • Robustness: The trinal approach successfully verified safety or identified violations in all 15 scenarios. In contrast, standard geometric methods failed to compute results in three high-acceleration scenarios.
  • Computational Efficiency: The trinal intersection proved to be nearly 10x faster than pure scaling methods. For instance, it computed subsequent guard intersections in 1.47s and 0.77s, compared to 13.3s and 9.81s for the baseline.
  • Tight Safety Bounds: The volume of the over-approximated state sets remained orders of magnitude smaller than those produced by pure mapping, ensuring the results were precise enough for practical safety certification.

Conclusion and Future Work

This research demonstrates that formal verification of complex robotic contact tasks is feasible through optimized reachability analysis. By explicitly modeling time delays and employing a multi-faceted intersection algorithm, the authors provide a path toward mathematically guaranteed safety in HRI.

While the current work utilizes a 1D abstraction of robot dynamics—sufficient for normal force calculations—future work will focus on extending this to full 3D robotic models. Additionally, the authors plan to perform conformance checking against physical hardware to ensure the formal models accurately represent real-world industrial robot behavior.

Summary updated

Abstract

Verifying the correct behavior of robots in contact tasks is challenging due to model uncertainties associated with contacts. Standard methods for testing often fall short since all (uncountable many) solutions cannot be obtained. Instead, we propose to formally and Efficiently verify robot behaviors in contact tasks using reachability analysis, which enables checking all the reachable states against user-provided specifications. To this end, we extend the state of the art in reachability analysis for hybrid (mixed discrete and continuous) dynamics subject to discrete-time input trajectories. In particular, we present a novel and scalable guard intersection approach to reliably compute the complex behavior caused by contacts. We model robots subject to contacts as hybrid automata in which crucial time delays are included. The usefulness of our approach is demonstrated by verifying safe human-robot interaction in the presence of constrained collisions, which was out of reach for existing methods.
BibTeX
@inproceedings{tang2023formal,
  author = {Chencheng Tang and Matthias Althoff},
  title = {{Formal Verification of Robotic Contact Tasks via Reachability Analysis}},
  booktitle = {IFAC-PapersOnLine},
  year = {2023},
  doi = {10.1016/j.ifacol.2023.10.028},
}
Figure