The paper presents a concept and its implementation software modules to obtain ready to run real-time simulation code directly from Modelica models. Basically, a Modelica special model building block has been developed supporting the denition of the realtime input /output variables, their communication with external tasks or systems (e.g. a real hardware and software controller), and the scheduling of the periodic execution of the simulation task. The special module links to the real-time operating system (Linux with extension RTAI) through a special purpose C library. The real-time simulation of a 7-DOF space robotic arm is presented as a test case.

Real-time simulation of Modelica models under Linux/RTAI

FERRETTI, GIANNI;MAGNANI, GIANANTONIO;ROCCO, PAOLO
2005-01-01

Abstract

The paper presents a concept and its implementation software modules to obtain ready to run real-time simulation code directly from Modelica models. Basically, a Modelica special model building block has been developed supporting the denition of the realtime input /output variables, their communication with external tasks or systems (e.g. a real hardware and software controller), and the scheduling of the periodic execution of the simulation task. The special module links to the real-time operating system (Linux with extension RTAI) through a special purpose C library. The real-time simulation of a 7-DOF space robotic arm is presented as a test case.
2005
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11311/262674
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact