zonoLAB: A MATLAB toolbox for set-based control systems analysis using hybrid zonotopes
Justin Koeln, Trevor J. Bird, Jacob Siefert, Justin Ruths, Herschel Pangborn, Neera Jain
TL;DR
zonoLAB addresses the need for scalable, expressive set-based analysis in dynamic systems by leveraging hybrid zonotopes to exact-represent reachability, MPC policies, and neural-network mappings within a MATLAB toolbox. The approach unifies zonotopes, constrained zonotopes, and hybrid zonotopes to enable convenient set operations, set-based mappings, and open-/closed-loop analysis for MLD, PWA, MPC, and nonlinear systems. Key contributions include formal definitions of the three representations, conversion utilities, plotting capabilities, and a set-mapping framework, plus demonstrations for MLD/PWA, MPC, neural networks, and nonlinear dynamics. This work facilitates rigorous safety verification and controller design with a practical, open-source tool that can be extended to more activation functions, nonlinear bounds, and complexity-reduction techniques.
Abstract
This paper introduces zonoLAB, a MATLAB-based toolbox for set-based control system analysis using the hybrid zonotope set representation. Hybrid zonotopes have proven to be an expressive set representation that can exactly represent the reachable sets of mixed-logical dynamical systems and tightly approximate the reachable sets of nonlinear dynamic systems. Moreover, hybrid zonotopes can exactly represent the continuous piecewise linear control laws associated with model predictive control and the input-output mappings of neural networks with piecewise linear activation functions. The hybrid zonotope set representation is also highly exploitable, where efficient methods developed for mixed-integer linear programming can be directly used for set operation and analysis. The zonoLAB toolbox is designed to make these capabilities accessible to the dynamic systems and controls community, with functionality spanning fundamental operations with hybrid zonotope, constrained zonotope, and zonotope set representations, powerful set analysis tools, and general-purpose algorithms for reachability analysis of open- and closed-loop systems.
