Definitionresearch
Barrier certificate
Also called Prajna-Jadbabaie barrier certificate.
A function that is at most zero on the initial set, positive on the unsafe set, and does not increase along trajectories, which proves that no trajectory reaches the unsafe set.
A barrier certificate is a function of the state that proves a safety property: no trajectory that starts in an initial set ever enters an unsafe set. It is at most zero on the initial set, positive on the unsafe set, and it does not increase along the solutions, so a solution cannot cross from the first set to the second. Prajna and Jadbabaie (2004) defined it for continuous and hybrid systems and showed that, for polynomial data, the search for a polynomial certificate is a sum of squares program, so a semidefinite program can find one. The idea is the safety counterpart of a Lyapunov function: the proof needs no computation of the solutions or of the reachable set.
Definition
Let with and a disturbance , with such that solutions exist and are unique. Let be the initial set and the unsafe set. A barrier certificate is a continuously differentiable function with
Theorem (Prajna and Jadbabaie 2004). If a barrier certificate exists, then no solution that starts in and stays in reaches .
Proof. Along a solution, , so for all . A point of has , so the solution never reaches one.
The convex search. The three conditions are linear in , so the set of barrier certificates is convex. If is polynomial and , and are semialgebraic, a sufficient condition is that there are a polynomial , a constant , and sums of squares , , with
A polynomial of degree in variables is a sum of squares if and only if it equals for a positive semidefinite , where lists the monomials of degree at most . So each condition is a semidefinite constraint with a matrix of that size, and the coefficients of and of the multipliers are the decision variables. For and the matrices are ; for and they are . The size grows fast with and , and this limits the method to systems of moderate dimension.
Variants of the definition.
- Zero level only. It is enough that where , but the set of such is not convex, so the convex condition on all of is the one used for search.
- Hybrid systems. One function for each location , the conditions above in each location, and a condition at each jump that the reset map keeps the state in the zero sublevel set of the function of the new location (Prajna and Jadbabaie 2004).
- Stochastic systems. For a stochastic differential equation, a nonnegative whose expected value does not increase (a martingale argument) bounds the probability of ever reaching by (Prajna, Jadbabaie and Pappas 2007).
Examples and non-examples
Example (a scalar contraction). For , and , take . Then on , on , and .
Example (a level set of a Lyapunov function). For , , the Lyapunov equation gives , and has . Let be the disk of radius and . On , . On , , at . So is a barrier certificate.
Example (safe but not asymptotically stable). For the harmonic oscillator , , with the unit disk and , has . It proves safety, although no solution converges to the origin. A barrier certificate needs no decrease to zero, only no increase.
Non-example (an unsafe system). For , and , the solution from is , which reaches at . So no barrier certificate exists. The candidate meets the first two conditions, but .
Non-example (the third condition only on the sets). A function that decreases on and on but increases between them proves nothing: the condition on the derivative must hold on all of , or at least on the zero level set of , which is where a solution would cross.
Related definitions
- Lyapunov function. A Lyapunov function is positive definite and decreases, and proves stability. A barrier certificate has no sign condition at an equilibrium and need not decrease strictly. A sublevel set of a Lyapunov function that contains and misses gives a barrier certificate, as in the second example.
- Control barrier function. For a system with an input, a control barrier function asks that some input makes satisfy a decrease condition, with the safe set ; the sign convention is the opposite. It is a tool for design: it gives a set of safe inputs at each state (Ames et al. 2019). A barrier certificate is a tool for verification of a closed system.
- CBF safety filter. The online quadratic program that picks the safe input closest to a nominal input, using a control barrier function (Ames, Xu, Grizzle and Tabuada 2017).
- Positively invariant set. The set of a barrier certificate is positively invariant, for solutions that stay in , and it contains and misses .
- Reachable set. The set contains the reachable set from , so a barrier certificate is a reachable set over-approximation in implicit form. Hamilton-Jacobi reachability computes the reachable set itself on a grid, instead of a certificate.
- Converse results. Wisniewski and Sloth (2016) gave conditions under which a safe system has a barrier certificate, so the search is not hopeless by construction. Prajna and Rantzer (2007) gave convex certificates for the dual property, that solutions do reach a target set.
References
- S. Prajna and A. Jadbabaie, Safety verification of hybrid systems using barrier certificates, Hybrid Systems: Computation and Control (HSCC 2004), LNCS 2993, Springer, 2004, pages 477 to 492, the definition for continuous and hybrid systems, the safety theorem, and the search by sum of squares programming
- S. Prajna, A. Jadbabaie and G. J. Pappas, A framework for worst-case and stochastic safety verification using barrier certificates, IEEE Transactions on Automatic Control 52(8), 2007, pages 1415 to 1428, barrier certificates with disturbances, for hybrid systems, and for stochastic systems with a bound on the probability of reaching the unsafe set
- S. Prajna and A. Rantzer, Convex programs for temporal verification of nonlinear dynamical systems, SIAM Journal on Control and Optimization 46(3), 2007, pages 999 to 1021, convex certificates for eventuality and other temporal properties
- R. Wisniewski and C. Sloth, Converse barrier certificate theorems, IEEE Transactions on Automatic Control 61(5), 2016, pages 1356 to 1361, conditions under which a safe system has a barrier certificate
- A. D. Ames, S. Coogan, M. Egerstedt, G. Notomista, K. Sreenath and P. Tabuada, Control barrier functions: theory and applications, European Control Conference, 2019, pages 3420 to 3431, the relation between barrier certificates, barrier functions and control barrier functions
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag RKCE24 Edit this page History Report an error Markdown