Mode-automata: a new domain-specific construct for the development of safe critical systems

  • Authors:
  • Florence Maraninchi;Yann Rémond

  • Affiliations:
  • VERIMAG-Centre Equation, 2 Avenue de Vignate, F38610 Gieres, France and Institut National Polytechnique de Grenoble (INPG) and VERIMAG, France;Université Joseph Fourier Grenoble (UJF) and VERIMAG, France

  • Venue:
  • Science of Computer Programming - Special issure on formal methods for industrial critical systems (FMICS 2000)
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

Over the past ten years, the family of synchronous languages (Special Section of the Proc. IEEE 79 (9) (1991)) has been very successful in offering domain-specific, formally defined languages and programming environments for safety-critical systems. Among them, Lustre is well-suited for the development of regulation systems, which are first designed by control engineers, and can then be programmed as block-diagrams. Automatic generation of C code provides the embedded software.The success of Lustre showed that it is a good idea to offer domain-specific languages and constructs to reduce the gap between the first design of a system (for instance a control law) and the program written for it. When the structure of the first design has to be encoded into the available constructs of a general-purpose programming language, the interesting information is likely to be lost somewhere on the way from the original design to the actual implementation. This may have consequences on the efficiency of the code produced, or even on the correctness of the design.Working with the systems Lustre is well-suited for, we observed that they are often specified informally using the notion of running modes. However, there seemed to exist no language in which the mode-structure of a complex system could be expressed directly. Following the approach of domain-specific languages, we proposed to extend Lustre with a new construct, called mode-automaton, devoted to the description of these running modes of regulation systems.In this paper, we define the language of mode-automata and its semantics, give some ideas on the compilation process, illustrate the approach with the example of the production cell, and comment on the benefits of the approach, in general.