File Exchange

image thumbnail

Cloose Loop Engine PIL Simulation with Arduino

version 1.0 (586 KB) by

Closed Loop Engine Controller running PIL Simulation with Arduino Board

3 Downloads

Updated

View License

This model is a modified version of the "Engine Timing Model" provided with Simulink Demos. Bus structure was implemented to separate Controller from Plant, reference model is used to run controller in PIL simulation using an Arduino Board. Different simulation configuration parametters and data types were modified to run PIL simulation.

Comments and Ratings (4)

I want to ask you about your file exchange "Cloose Loop Engine PIL Simulation with Arduino", i want to khnow what are the steps I should follow in order to excute this part "ECM Engine Control Module
Running Arduino PIL Mode" in arduino and these parts "Engine Plant
Running on Host PC" & "Driver Running on Host PC" in host PC

model "EngineOL" is the original version of the "Engine Timing Model" provided with Simulink Demos. this model does NOT run in the Arduino target, it is fully simulated on a PC thus it can be simulated using variable-step solver.
The model that runs in PIL mode with the Arduino target is PILEngineCLwArduino_Rel.mdl

Kroger

Kroger (view profile)

When it is compiled "The specified code generation target for model 'EngineOL' cannot be used with a variable-step solver" message appears. What are configuration parameters to run this model?

behi sg

MATLAB Release
MATLAB 7.13 (R2011b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video