TRUETIME: SIMULATION OF CONTROL LOOPS UNDER SHARED COMPUTER RESOURCES
Dan Henriksson, Anton Cervin, Karl-Erik Årzén
Department of Automatic Control Lund Institute of Technology P.O. Box 118, SE-221 00 Lund, Sweden {dan,anton,karlerik}@control.lth.se
The paper presents Truetime, a Matlab Simulink-based simulator for real-time control systems. Truetime makes it possible to simulate the temporal behavior of multi-tasking real-time kernels containing controller tasks and to study the effects of CPU and network scheduling on control performance. The simulated real-time kernel is event-driven and can handle external interrupts as well as fine-grained simulation details such as context switches. Arbitrary scheduling policies may be defined, and the control tasks may be implemented using C functions, M functions, or Simulink block diagrams. A number of examples that illustrate the use of Truetime are presented.
Keywords: Event-based simulation, Real-time control systems, Shared resources, Real-time kernel, Feedback scheduling
Session slot T-Th-M13: Real-Time Systems Issues/Area code 9d : Algorithms and Architectures for Real-Time Control

|