A domain-specifi language for real-time dynamical systems emulation on a microcontroller

Francisco David Hernandez, Domingo Cortes, Marco A. Ramirez-Salinas, Jorge Resa

Research output: Contribution to journalArticlepeer-review

1 Scopus citations

Abstract

Translating a control law to code so that it can be executed in real time by a microcontroller is time-consuming and requires knowledge in diverse areas. There are powerful tools like Matlab and DSpace, that can ease the process, however, these tools are expensive and hide the way the translation is actually made. These two factors greatly diminish the use of these tools in education and small business. This paper presents SystDynam, a high-level language designed for describing static and dynamical systems and hence, controllers. The language was purposely created to be easy to process in order to obtain a C code by using free software tools. Therefore, a senior student or a control engineer with a short training in language processors can understand how the translation is made. The necessary code for translation is described here and is freely available. Having the controller described by C code, it can be compiled to be executed as the main task in a real-time operating systems, thereby obtaining the real-time controller. The complete process can also be used for emulating dynamical systems, thereby enabling the use of hardware in the loop simulations and low-cost rapid prototyping and providing an auxiliary tool for teaching some engineering courses.

Original languageEnglish
Pages (from-to)453-461
Number of pages9
JournalStudies in Informatics and Control
Volume28
Issue number4
DOIs
StatePublished - 2019

Keywords

  • Control applications
  • Control languages
  • Controllers
  • Embedded systems
  • Rapid prototyping

Fingerprint

Dive into the research topics of 'A domain-specifi language for real-time dynamical systems emulation on a microcontroller'. Together they form a unique fingerprint.

Cite this