Generation of simulink monitors for control applications from formal requirements

The increasing complexity of embedded systems requires an improved capability of detecting and fixing errors. The availability of a modeling environment like Simulink allows the verification by simulation or model checking of system properties and of the correct behavior of the design. This verification is possible upon condition that the requirements are expressed in a formal way. Test and verification in Simulink is often a time-consuming process that requires the systems developers to translate requirements in model blocks for the verification. The capability of performing such translation is seldom available and prone to translation and interpretation errors. We present in this paper a monitor generation tool and a Simulink library that enable a methodology to translate requirements in structured natural language into formal Signal Time Language (STL) constraints, leading to the automatic generation of Simulink monitors that check at run-time the desired properties. The tool automatically creates and connects the monitor blocks to a target Simulink model.

[1]  Ron Koymans,et al.  Specifying real-time properties with metric temporal logic , 1990, Real-Time Systems.

[2]  Dana Fisman,et al.  A Practical Introduction to PSL , 2006, Series on Integrated Circuits and Systems.

[3]  Stefania Gnesi,et al.  An automatic tool for the analysis of natural language requirements , 2005, Comput. Syst. Sci. Eng..

[4]  Dejan Nickovic,et al.  Monitoring Temporal Properties of Continuous Signals , 2004, FORMATS/FTRTFT.

[5]  Fred Kröger,et al.  Temporal Logic of Programs , 1987, EATCS Monographs on Theoretical Computer Science.

[6]  Emiel Krahmer,et al.  Squibs and Discussions: Real versus Template-Based Natural Language Generation: A False Opposition? , 2005, CL.

[7]  Thomas Ferrère,et al.  Efficient Robust Monitoring for STL , 2013, CAV.

[8]  Alberto Ferrari,et al.  Formalization and completeness of evolving requirements using Contracts , 2013, 2013 8th IEEE International Symposium on Industrial Embedded Systems (SIES).

[9]  Jamie L. Patterson Parsing of Natural Language Requirements Iv Abstract Parsing of Natural Language Requirements , 2014 .

[10]  Dogan Ulus,et al.  Timed Pattern Matching , 2014, FORMATS.

[11]  Dogan Ulus,et al.  Online Timed Pattern Matching Using Derivatives , 2016, TACAS.

[12]  Dejan Nickovic,et al.  Checking Temporal Properties of Discrete, Timed and Continuous Behaviors , 2008, Pillars of Computer Science.

[13]  Paul Caspi,et al.  Timed regular expressions , 2002, JACM.

[14]  Mahesh Viswanathan,et al.  Meeting a Powertrain Verification Challenge , 2015, CAV.

[15]  Sanjit A. Seshia,et al.  ST-Lib: A Library for Specifying and Classifying Model Behaviors , 2016, SAE Technical Paper Series.

[16]  Jorge J. García Flores Semantic Filtering of Textual Requirements Descriptions , 2004, NLDB.

[17]  Edmund M. Clarke,et al.  Design and Synthesis of Synchronization Skeletons Using Branching-Time Temporal Logic , 1981, Logic of Programs.