Formal Verification of Nonlinear Simulink Models via Syntactic Hybridization - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2017

Formal Verification of Nonlinear Simulink Models via Syntactic Hybridization

Nikolaos Kekatos
  • Fonction : Auteur
  • PersonId : 1003931
Marcelo Forets
  • Fonction : Auteur
  • PersonId : 1003932
Goran Frehse

Résumé

In this paper we present a methodology that facilitates the integration of formal verification techniques into the model-based design paradigm. The focus is on set-based reachability analysis and on control systems that are described by hybrid dynamics and nonlinear components. Starting with a standard simulation model, e.g., in MATLAB/Simulink, we transform it into an equivalent verification model, formally a network of hybrid automata, in the SX format used by several reachability tools. A major obstacle here is that highly scalable reachability algorithms and tools exist for piecewise affine (PWA) dynamical models, but not for nonlinear ones. To obtain PWA over-approximations of nonlinear dynamics, we use an abstraction method known as hybridization. It partitions the state-space into a set of domains, and for each domain, it approximates the nonlinear dynamics by simpler ones with added nondeterministic inputs to account for the abstraction error. Existing hybridization procedures operate on the composed (flattened) system, so the number of partitions is a function of the abstraction error that is exponential in the number of variables. This quickly leads to intractably large models, even for small systems. To mitigate this problem, we decompose the original dynamics and carry out the state-space partitioning and PWA approximation on the components. The number of partitions in each PWA component is at most quadratic in the abstraction error so that an explosion in the number of partitions is largely avoided. Since the SX format can handle templates, several components may share the same abstraction. The result is a highly compact model that retains the modular structure of the original simulation model. If only a small subset of the partitions is reachable, the bottleneck of having excessively large PWA models can be avoided by composing the model on-the-fly during the reachability analysis. We illustrate the approach by verifying selected nonlinear MATLAB/Simulink models with the reachability tool SpaceEx.
Fichier principal
Vignette du fichier
root.pdf (559.06 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-01487658 , version 1 (12-03-2017)
hal-01487658 , version 2 (21-03-2017)

Identifiants

  • HAL Id : hal-01487658 , version 1

Citer

Nikolaos Kekatos, Marcelo Forets, Goran Frehse. Formal Verification of Nonlinear Simulink Models via Syntactic Hybridization. 2017. ⟨hal-01487658v1⟩
410 Consultations
1136 Téléchargements

Partager

Gmail Facebook X LinkedIn More