This example simulates the ignition control of a four-cylinder engine. It has been developed as a collaboration between Guy Rouleau from MathWorks and Isaac Hisahiro Ito at Toyota Motor North America R&D. The model is intended for demonstration and educational purpose.
The model implements the following feature:
- Simscape language for modeling a four-cylinder engine ignition process
- Symbolic Math Toolbox for designing the engine model equations
- Simscape Driveline for modeling of the vehicle drivetrain
- Export-function model for the controller, allowing the code generated from it to be integrated with an external environment and scheduler
- Stateflow for simulating the Engine Control Unit scheduler
- SimEvents for simulation of hardware timers
See this blog post for more details: https://blogs.mathworks.com/simulink/2018/11/07/internal-combustion-engine-ignition-control-example-part-1
Guy Rouleau (2019). Four-Cylinder Engine Ignition Control Simulation (https://www.mathworks.com/matlabcentral/fileexchange/69271-four-cylinder-engine-ignition-control-simulation), MATLAB Central File Exchange. Retrieved .
Really great example. Shows a lot of best practices and combines a lot of capabilities. Definitely one to review even if this application isn't one you regularly work on. The blog post is also great: https://blogs.mathworks.com/simulink/2018/11/07/internal-combustion-engine-ignition-control-example-part-1/
Updated to R2019a:
Fixed Typos in Notes
Updated description to mention Symbolic Math Toolbox