Title :
Recursive Modeling of Stateflow as Input/Output-Extended Automaton
Author :
Meng Li ; Kumar, Ravindra
Author_Institution :
Dept. of Electr. & Comput. Eng., Iowa State Univ., Ames, IA, USA
Abstract :
Stateflow, a graphical interface tool for Matlab, is a common choice for design of event-driven software and systems. In order for their offline analysis (testing/verification) or online analysis (monitoring), the Stateflow model must be converted to a form that is amenable to formal analysis. In this paper, we present a systematic method, which translates Stateflow into a formal model, called Input/Output Extended Finite Automata (I/O-EFA). The translation method treats each state of the Stateflow model as an atomic module, and applies composition/refinement rules for each feature (such as state-hierarchy, local events) recursively to obtain the entire model. The size of the translated model is linear in the size of the Stateflow chart. Our translation method is sound and complete in the sense that it preserves the discrete behaviors as observed at the sample times. Further, the translation method has been implemented in a Matlab tool, which outputs the translated I/O-EFA model that can itself be simulated in Matlab.
Keywords :
finite automata; formal verification; graphical user interfaces; mathematics computing; program testing; system monitoring; I/O-EFA model; Matlab tool; Stateflow model; atomic module; composition rules; discrete behaviors; event-driven software design; formal analysis; formal verification; graphical interface tool; input/output extended finite automata; input/output-extended automaton; offline analysis; online analysis; recursive modeling; refinement rules; systematic method; translation method; Analytical models; Automata; Discrete-time systems; MATLAB; Mathematical model; Extended finite automata; stateflow; translation;
Journal_Title :
Automation Science and Engineering, IEEE Transactions on
DOI :
10.1109/TASE.2013.2272535