SIGNAL-SIMULINK: Hybrid System Co-simulation
Technical Report. Linköping Electronic Articles in Computer and Information Science. Vol. 4(2000): nr 20, February 21, 2000
This report presents an approach to simulating hybrid systems. We show how a discrete controller that controls a continuous environment can be co-simulated with the environment (plant) using C-code generated automatically from mathematical models. This approach uses Signal with Simulink to model complex hybrid systems. The choices are motivated by the fact that Signal is a powerful tool for modelling complex discrete behaviours and Simulink is well-suited to deal with continuous dynamics. We present various alternatives for implementing the communication between the plant and the controller, and how the Matlab code generation mechanism in Real-time Workshop can be used for this purpose. Finally, we present interesting scenarios in the co-simulation of a discrete controller with its environment: a non-trivial siphon pump proposed by the Swedish engineer Christofer Polhem in 1697.
|stetu.pdf.gz||Adobe Acrobat portable document, compressed (with gzip)|
|stetu.ps.gz||postscript document, compressed (with gzip)|
[T00] Stephane Tudoret, "SIGNAL-SIMULINK: Hybrid System Co-simulation", Technical Report. Linköping Electronic Articles in Computer and Information Science. Vol. 4(2000): nr 20, February 21, 2000