Formal Verification of Autonomous Systems

Derive a barrier inequality, check it for a speed-limited cart, and compare feedback certificates with worst-case reachability.

Source
Anbloq
Language
English
Created
Updated
Chapters
3
Reading time
2 min
In this article3 chapters
  1. A barrier turns safety into a differential condition
  2. The model determines which boundary constraints are feasible
  3. Reachability makes disturbance quantifiers explicit

A barrier turns safety into a differential condition

Let a control-affine model satisfy \(\dot x=f(x)+g(x)u\). Define the safe set by \(h(x)\ge0\), with differentiable \(h\). A feedback law can be constrained by

\[ \nabla h(x)^\top(f(x)+g(x)u)\ge-\alpha(h(x)). \]

Under regularity assumptions, feasibility within the actuator bounds and a suitable increasing \(\alpha\) with \(\alpha(0)=0\), this condition can guarantee forward invariance. For the choice \(\alpha(h)=kh\) with \(k>0\), the inequality implies \(h(x(t))\ge e^{-kt}h(x(0))\) along a valid trajectory. This follows by multiplying the differential inequality by \(e^{kt}\) and integrating.

A Lyapunov function certifies a decrease property on a region. The related idea of an inductive invariant makes explicit why a safety argument must cover each transition that starts inside the proposed set.

The model determines which boundary constraints are feasible

A cart with controllable velocity \(\dot x=u\) must remain at \(x\le b\). Set \(h=b-x\). Then \(u\le k(b-x)\), so at the boundary the allowable velocity points inward or is zero. If acceleration is the actual input, the first derivative of the same \(h\) depends on velocity and cannot be set directly. A certificate then has to account for braking distance, velocity and available acceleration. Sampling delay and errors can also invalidate a continuous-time argument unless the certificate includes a margin or an appropriate discrete-time model.

Reachability makes disturbance quantifiers explicit

Backward reachability asks from which states an unsafe region can be reached under specified control and disturbance choices. A Hamilton–Jacobi formulation can compute a value function for the associated dynamic game, including whether a controller can keep a system safe against bounded disturbances. Grid cost grows rapidly with dimension. A barrier certificate proves a selected set invariant under explicit conditions and can be cheaper to enforce, though finding such a barrier can be difficult. Model predictive control adds performance objectives and predictions. Model checking uses reachable states too, with a different representation of time and transitions.[1][2]

References

  1. Aaron D. Ames et al., Control Barrier Functions: Theory and Applications ↩
  2. Ian M. Mitchell, Alexandre M. Bayen and Claire J. Tomlin, A Time-Dependent Hamilton–Jacobi Formulation of Reachable Sets for Continuous Dynamic Games ↩