Video length is 17:14

Programming ECUs Using Simulink

From the series: Improving Your Racecar Development

Christoph Hahn and guest presenter Jose Avendano introduce you to a remote-control model racecar programmed using Simulink® hardware support packages. They showcase how Simulink developed control algorithms are effortlessly implemented in a real vehicle by taking advantage of automatic code generation and direct hardware deployment.

In the first video of this two-part series, you’ll be introduced to the hardware support package libraries and how hardware drivers can be implemented to interface with custom components of a vehicle with minimal effort and by reusing content from existing Simulink models. Open-loop torque vectoring and Closed-loop traction control algorithms are implemented and programmed into a Texas Instrument™ LaunchPad XL development board and showcased as part of the demo.

The main takeaways of the first part of the series are:

  • Simulink support packages offer a great opportunity to deploy controllers that may have already been designed as part of vehicle simulations.
  • Hardware programming using this approach will also reduce development time that may be associated to microcontroller programming given that code is generated and deployed on to the hardware directly through the Simulink interface.

To search for hardware supported by MATLAB® and Simulink, visit our Hardware Support page.

For more information about the range of coder products offered check out the following links to the product pages.

The C2000 Microcontroller Blockset processors was at the heart of this demonstration.

If you are interested in any of the real-time testing solutions, check out Simulink Real-Time™ and Simulink Desktop Real-Time™.

Find all models used in this episode on MATLAB Central File Exchange.

Published: 8 Sep 2017