The OpenECU® Sim-API is a Simulink® blockset that allows users to rapidly develop the hardware inputs/outputs, and operating system for rapid prototyping and production ECU applications. Sim-API is seamlessly integrated into Matlab to provide a complete toolchain from concept to software build. Sim-API has been used on hundreds of rapid prototyping projects and multiple series production applications over the last 10 years.
Features & Benefits
The following video shows a brief example of how to use OpenECU to develop a simple model to turn on a temperature warning lamp. This simple example demonstrates the complete OpenECU workflow.
Step 1: Create an I/O Wrapper Using Sim-API
Using the Sim-API Simulink blockset, you select the input/output (I/O) blocks to represent the I/O needs of your application.
Step 2: Add Your Controls
The core controls of your application can be developed in pure Simulink without any Sim-API blocks. Sim-API sits purely at the periphery of the control application to support the I/O.
Step 3: Build Model & Flash ECU
OpenECU provides a complete software build environment. From within Simulink, press CTRL-B on the model and the rest of the build is fully automated. Code generation is handled by Mathworks Simulink Coder or Embedded Coder. When MathWorks has completed the code generation, OpenECU will compile the generated code and link it to the OpnECU operating system libraries. Additionally OpenECU creates ASAP2 files to support common third party calibration tools such as ETAS, ATI, Vector, and dSpace. The build is completed with the creation of the ASAP2 and .s37 files ready to be flashed on the ECU.
Simulink Blockset Overview
Sim-API contains more than 180 unique Simulink blocks designed to provide the ECU configuration, input handling, and output drivers for all of the OpenECU hardware products.
- Pulse Width Modulation
- Constant Current
- Pulse Width Modulation
- Peak & Hold Injector
- Stepper Motor
- CAN db Receive
- CAN db Transmit
- Basic CAN Receive
- Basic CAN Transmit
- In-use performance ratio
- Diagnostic Trouble Codes
- Freeze Frame
- J1939 DM1-DM52
- Lookup Table
- Non-volatile Memory
Screenshots & Example Models
Licensing and Installation
OpenECU Sim-API can be downloaded directly from our website. The product is licensed as either node-locked single user (installed on one user’s PC) or as single-seat floating (network installed; for use by multiple users, one user at a time only).
OpenECU Sim-API comes with a comprehensive documentation package. The user guide covers all OpenECU hardware products and all Simulink blocks. This user guide, combined with the built-in example models provide the user with the ability to self-serve when questions arise. Register to download.
Customers with current maintenance can reach out to our technical support team by email or phone.
We are interested in hearing from you.
Tell us what challenges you are facing