Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Linear system reachability

reachability polyzonotope-reach

Linear system reachability computes sets that contain every state of x′ = A x + B u, when the start state is in a set X and the input u(t) can be any signal with values in a zonotope U (a center plus a list of generator vectors). Each time step of length r gives two sets: the time-point set at the end of the step, and the time-interval set for every moment during the step. The time-point set is e^{Ar} X plus the effect of the input; a truncated Taylor series gives the matrix exponential, and an interval matrix bounds the terms it cuts off. The time-interval set encloses the convex hull of X and its successor, plus correction terms for the curve between them. Every set is a sound over-approximation (it contains all true states, and possibly more), so use it to prove that a linear model stays safe, and as the inner step of nonlinear methods.

Pseudocode

algorithm LinearReach(X₀, U, A, B, r, η, k, ρ)input: start set X₀, input zonotope U, system x′ = A x + B u, step r, Taylor terms η, steps k, order ρoutput: time-point sets X_i and time-interval sets R_i for i = 1, …, kE ← taylor-remainder(A, r, η)          ▷ interval matrix that bounds the cut-off termsΦ ← ∑ for j = 0, …, η of (A r)^j / j! + E    ▷ encloses e^(A r)Γ ← ∑ for j = 0, …, η of A^j r^(j+1) / (j+1)! + E · rF, F̃ ← curvature-corrections(A, r, η)c_u ← center(B U)                      ▷ the constant part of the inputU_Δ ← B U ⊕ (−c_u)                     ▷ the part that may vary in timeR_p ← ⊕ for j = 0, …, η of (A^j r^(j+1) / (j+1)!) · U_Δ ⊕ E · r · U_ΔX ← X₀for i in 1, …, k doX_i ← Φ · X ⊕ Γ · c_u ⊕ R_pH ← hull-with-successor(X, Φ · X ⊕ Γ · c_u)  ▷ every λ x + (1 − λ) x′, λ ∈ [0, 1]R_i ← H ⊕ F · X ⊕ F̃ · c_u ⊕ R_pX ← reduce(X_i, ρ)                   ▷ the caller keeps the generator count boundedreturn X₁, …, X_k and R₁, …, R_k

In the crates

  • polyzonotope-reach

    Propagates x' = A x + B u with zonotope inputs, returning time-point and time-interval sets using a truncated Taylor matrix exponential with an interval remainder.

    LinearReachLinearSystem

Lineage

Comes from

Nothing on this site.

Papers

  1. Reachability of Uncertain Linear Systems Using Zonotopes Antoine Girard · 2005· Hybrid Systems: Computation and Control (HSCC), Lecture Notes in Computer Science introduces doi 10.1007/978-3-540-31954-2_19
  2. Reachability Analysis and its Application to the Safety Assessment of Autonomous Cars Matthias Althoff · 2010· Dissertation, Technische Universität München extends