Verification of Periodically Controlled Hybrid Systems: Application to An Autonomous Vehicle

Tichakorn Wongpiromsarn, Sayan Mitra, Richard M. Murray, Andrew Lamperski2009 · DOI

TL;DR

This paper introduces a new formal framework, Periodically Controlled Hybrid Automata (PCHA), to model and verify the complex behavior of hybrid systems, like autonomous vehicles. By leveraging this framework, the authors present a method to mathematically prove the safety and progress properties of such systems, ensuring they behave as expected even under unforeseen interactions.

What Problem Does This Paper Address?

Designing reliable embedded systems, especially those interacting with the physical world like autonomous vehicles, is incredibly challenging. Subtle bugs can arise from the complex interplay between computing, communication, and control subsystems. The authors highlight a real-world example: the "stuttering" behavior of an autonomous vehicle that almost caused a collision. This issue stemmed from a poor interaction between the vehicle's obstacle avoidance system and its path planner, leading to a dangerous loop of acceleration, deviation, and braking. Traditional testing methods failed to uncover this bug, underscoring the need for more rigorous verification techniques. The paper aims to provide a formal method to mathematically guarantee the correctness of these complex hybrid systems.

Methods

The core contribution is the introduction of Periodically Controlled Hybrid Automata (PCHA). This formalism extends existing hybrid automata models by specifically addressing systems where control actions (like updating the plant's input) occur at roughly periodic intervals, while other actions (like sensor updates or set-point changes) can happen in between.

The paper then presents a novel sufficient condition for verifying invariant properties of PCHAs. This condition doesn't require solving complex differential equations directly. Instead, it relies on checking specific conditions related to periodicity and "subtangential" properties at the boundaries of candidate invariant sets. Crucially, these checks can be automated using techniques like sum of squares decomposition or quantifier elimination.

The authors also detail how to automatically compute invariant sets using a constraint-based approach. For the specific application to an autonomous vehicle, they define a family of invariant sets that bound the vehicle's deviation, disorientation, and speed, and then prove that these sets are indeed preserved over time.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • PCHA as a Modeling Paradigm: The PCHA formalism is a significant step in modeling hybrid systems with periodic control, a common pattern in robotics and control systems.
  • Automated Verification of Invariants: The ability to automatically verify invariant properties using sum of squares or quantifier elimination is a major advancement, moving beyond manual proofs.
  • Bridging Formal Methods and Real-World Systems: The paper demonstrates the practical application of formal verification to a complex, real-world problem like autonomous vehicle control, addressing a critical gap.
  • Understanding Design Trade-offs: The analysis of the autonomous vehicle example reveals how seemingly minor parameter choices can lead to significant behavioral differences, highlighting the importance of formal verification in identifying these trade-offs.
  • Geometric Properties for Safe Paths: The work derives geometric properties of planner-generated paths that guarantee they can be safely followed by the vehicle, providing actionable insights for path planning algorithms.

Key Results

The paper successfully applies its PCHA verification framework to the planner-controller subsystem of an autonomous vehicle. They:

  • Formally verify safety and progress properties: This means they mathematically prove that the vehicle will stay within certain bounds (safety) and make progress towards its goals (progress).
  • Derive geometric properties for safe paths: These properties specify how path segments and turns should be designed to ensure the vehicle can navigate them safely.
  • Replicate and explain the "stuttering" behavior: By violating certain derived conditions, they can reproduce the problematic behavior, demonstrating the power of their model to diagnose design flaws.
  • Show that with proper parameter choices, the system is safe: The authors conclude that the observed undesirable behavior was not due to an inherent flaw in the system's architecture but rather an unfortunate choice of parameters, which their verification method helps to avoid.

Limitations and Future Work

  • Generalization of PCHA: While the paper focuses on a specific PCHA structure, the authors note that their framework can be extended to PCHAs with more complex input, output, and internal actions.
  • Automated Invariant Computation: The paper presents methods for checking invariant conditions and finding subsets for verification. Future work includes exploring more advanced techniques for automatically computing invariant sets.
  • Integrating Proof Techniques: The authors suggest integrating theorem proving (for control steps) with automated methods (for control-free fragments) for a more comprehensive verification approach.
  • Progress Property Proofs: While the paper establishes progress properties, the authors acknowledge that the proofs are involved and suggest exploring ideas from other research for more straightforward proofs.
  • Lyapunov Functions: Future research will investigate finding appropriate Lyapunov functions for progress proofs.
  • TEMPO Environment: A long-term goal is to integrate these verification techniques into a unified environment like TEMPO.

Summary updated

BibTeX
@misc{wongpiromsarn2009verification,
  author = {Tichakorn Wongpiromsarn and Sayan Mitra and Richard M. Murray and Andrew Lamperski},
  title = {{Verification of Periodically Controlled Hybrid Systems: Application to An Autonomous Vehicle}},
  year = {2009},
  doi = {10.21236/ada522591},
}
Figure