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 Embedded Coder support package for Texas Instruments C2000™ processors was at the heart of this demonstration.
Find all models used in this episode on MATLAB Central File Exchange.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.