Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Conservative linearization

reachability polyzonotope-reach

Conservative linearization computes reachable sets for a nonlinear system x′ = f(x, u) that contain every true state. In each step it linearizes f near the middle of the set and runs the linear reachability step, with the abstraction error (the difference between f and its linear model) as an extra input in a guessed box. Then it bounds the true error over the time-interval set, which holds every state during the step: by Taylor's theorem the error is ½ Δzᵀ H(ξ) Δz, and the method encloses it with the Hessians H over a box around the set. If this bound is inside the guess, the step is proven; if not, the guess grows and the step runs again, up to a fixed number of tries. It needs only the Jacobian and the Hessians of f, so it works for any smooth model, but the error box grows fast for wide sets.

Pseudocode

algorithm Conservative-Linearization(X, U, f, r, κ, ρ)input: start set X, input zonotope U, dynamics x′ = f(x, u), step r, error growth factor κ, order ρoutput: time-point set X′ and time-interval set R for one step, or failurex* ← middle(interval-hull(X)) + (r / 2) · f(middle(interval-hull(X)), center(U))z* ← (x*, center(U))                   ▷ the linearization pointA, B ← jacobian(f, z*)w ← f(z*) − A x* − B center(U)         ▷ offset of the linear modelΨ ← {0}                                ▷ guessed box for the abstraction errorfor attempt in 1, …, max-iterations doX′, R ← linear-step(X, A, B U ⊕ w ⊕ Ψ, r)R ← reduce(R, ρ)Δz ← (R × U) ⊕ (−z*)H ← hessian(f, box(z*, R × U))        ▷ holds every segment from z* into R × UQ ± R_H ← ½ · H                       ▷ center and radiusε ← |Δz|ᵀ R_H |Δz| + R_J |Δz|        ▷ R_J: spread of the Jacobian at z*Ψ-true ← interval-hull(quadratic-map(Q, Δz)) + [−ε, ε]if Ψ-true ⊆ Ψ thenreturn X′, R                       ▷ the guess holds, so the step is provenΨ ← widen(Ψ, Ψ-true, κ)return failure                         ▷ the abstraction diverged

In the crates

  • polyzonotope-reach

    Linearizes the dynamics each step and bounds the abstraction error with Lagrange remainders over the time-interval set, widening the guessed error box until it is confirmed.

    NonlinearReachMethod

Lineage

Comes from

builds on Linear system reachability

Led to

Nothing on this site.

Papers

  1. Reachability analysis of nonlinear systems with uncertain parameters using conservative linearization Matthias Althoff, Olaf Stursberg, Martin Buss · 2008· 2008 47th IEEE Conference on Decision and Control introduces doi 10.1109/CDC.2008.4738704