Konferensartikel

Error-free Control Programs by means of Graphical Program Design; Simulation-based Verification and Automatic Code Generation

Stephan Seidel
Fraunhofer Institute for Integrated Circuits, Design Automation Division, Germany

Ulrich Donath
Fraunhofer Institute for Integrated Circuits, Design Automation Division, Germany

Ladda ner artikelhttp://dx.doi.org/10.3384/ecp11063628

Ingår i: Proceedings of the 8th International Modelica Conference; March 20th-22nd; Technical Univeristy; Dresden; Germany

Linköping Electronic Conference Proceedings 63:70, s. 628-637

Visa mer +

Publicerad: 2011-06-30

ISBN: 978-91-7393-096-3

ISSN: 1650-3686 (tryckt), 1650-3740 (online)

Abstract

Currently the formalisation in the process of creating automation control programs starts with the programming of the real-time controller. But inconsistencies in the requirements definition and misinterpretations will lead to errors in the program which have to be resolved through expensive software-in-the-loop and field tests. This paper introduces a holistic approach for the formalisation of the control design already in the design phase. It also illustrates the design flow for the model-based creation of error-free control programs. Created by means of graphical editors the system definition; which includes the control algorithm; is transferred into Modelica code and thus the executable system model is used for the simulation-based verification. The simulation results are compared to the requirements. Once these are fulfilled and no further errors found; program code for the real-time controller is generated automatically. In this paper Structured Text for programmable logic controllers (PLCs) according to IEC 61131 is generated. In final software-in-the-loop tests the real-time capabilities of the control program are validated.

Nyckelord

Graphical program design; Modelica; IEC 61131; Structured Text; Software in the Loop

Referenser

Inga referenser tillgängliga

Citeringar i Crossref