Linköping University: Students Alumni Trade and Industry/Society Internal Search
stetu

SIGNAL-SIMULINK: Hybrid System Co-simulation

Stephane Tudoret

Technical Report. Linköping Electronic Articles in Computer and Information Science. Vol. 4(2000): nr 20, February 21, 2000

ABSTRACT
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.


Related files:
stetu.pdf.gzAdobe Acrobat portable document, compressed (with gzip)
stetu.ps.gzpostscript 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
( ! ) perl script by Giovanni Squillero with modifications from Gert Jervan   (v3.1, p5.2, September-2002-)