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.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.