From the series: Improving Your Racecar Development
Christoph Hahn, MathWorks
Jose Avendano, MathWorks
Christoph Hahn and guest presenter Jose Avendano introduce you to options available for accessing the data within your vehicle’s CAN bus. Data obtained through Simulink® data logging or other devices can be directly integrated into virtual CAN channels to be included in simulations to assess fidelity and accuracy.
They discuss CAN data logging using Simulink hardware support packages for CAN devices. These tools allow you to log the information within your CAN network or to create custom data loggers depending on your needs. CAN replay functionality is also demonstrated to integrate data acquired into simulations or data visualizations for performance analysis. By implementing CAN interactions through Simulink support, you can create custom electronics that can use information directly from the vehicles CAN bus or even interact with existing CAN nodes.
The main takeaways of this second part of the RC Racecar series are that Simulink support packages for CAN devices allow you to create custom CAN data loggers, include CAN data in simulations, and create custom electronics to interact with existing CAN devices in the vehicle. You can also use these tools to create powerful visualizations of testing data, increase and verify the fidelity of your simulations, or program custom electronics that may provide you with a competitive advantage by having access to real-time information from the CAN bus.
Special thanks to Kvaser for participating in the creation of this demo and providing the necessary hardware.
For an introduction to the Vehicle Network Toolbox™ and an overview of the MATLAB® functionality, watch the MATLAB and Simulink Racing Lounge video “CAN Communication with Your ECUs and the Vehicle Network Toolbox”.
Also, check out the full range of functionality supported by the Vehicle Network Toolbox in the following product and examples pages.
Find all models used in this episode on MATLAB Central File Exchange.
MATLAB and Simulink Racing Lounge: Vehicle Modeling, Part 4: Simscape Multibody Ed Marquez and Christoph Hahn from MathWorks show you a Simscape Multibody model that represents vehicle dynamics with 3D visualization.
MATLAB and Simulink Racing Lounge: Vehicle Modeling, Part 3: Simscape Ed Marquez and Christoph Hahn from MathWorks show you how to create vehicle models for simulations of different powertrains using Simscape. Simscape is the language of physical modeling and it also allows users to model multi-domain systems.
MATLAB and Simulink Racing Lounge: Vehicle Modeling, Part 2: Powertrain Blockset Ed Marquez and Christoph Hahn from MathWorks show you how to create vehicle models with Powertrain Blockset for simulations of different powertrains to help you make informed decisions during the design process.
MATLAB and Simulink Racing Lounge: Vehicle Modeling, Part 1: Simulink Ed Marquez and Christoph Hahn from MathWorks show you how to create vehicle models for simulations of different powertrains to help you make informed decision during the design process.
Modeling of a Continuously Variable Transmission (CVT) BAJA All-Terrain Vehicle (ATV) Join Veer Alakshendra and Christoph Hahn as they discuss modeling a vehicle with continuously variable transmission (CVT) relevant to automotive competitions such as BAJA.
MATLAB and Simulink Racing Lounge: Remote Control Racecar, Part 2: Integrating CAN Data into Your Simulation Use Simulink to access data directly from your vehicle’s CAN bus and then integrate it into your simulations. Increase fidelity of existing simulations by replaying test data through virtual CAN channels without the need for further data processing.
MATLAB and Simulink Racing Lounge: Remote Control Racecar, Part 1: Programming ECUs Using Simulink Hardware Support Save valuable development time by programming custom ECUs and vehicle controllers with the hardware support packages available for Simulink.
MATLAB and Simulink Racing Lounge: Importing CAD Assemblies into Simscape Multibody Christoph Hahn, of MathWorks, shows you how to import CAD assemblies into Simscape Multibody using Onshape.
MATLAB and Simulink Racing Lounge: Real-Time Simulation and Testing of a Throttle Valve Controller Learn how to use Simulink Real-Time for rapid control prototyping and hardware-in-the-loop (HIL) testing. Naga Pemmaraju and Christoph Hahn guide you through real-time testing for a throttle valve controller using the Simulink Real-Time Explorer.
MATLAB and Simulink Racing Lounge: Developing Algorithms for ADAS Systems with MATLAB and Simulink Marco Roggero and Christoph Hahn, of MathWorks, explain how MATLAB and Simulink can assist in the development of an advanced driver assistance system. They will cover lane tracking, adaptive cruise control, and sensor fusion.
MATLAB and Simulink Racing Lounge: A MicroAutoBox Workflow Frank Schmidtmeier, of dSPACE, and Christoph Hahn, of MathWorks, guide you step-by-step through the workflow from reading sensor data to your Simulink model to auto-generated C code running on the ECU.
MATLAB and Simulink Racing Lounge: Processing CFD Simulation Data Use the matrix processing capabilities of MATLAB to work with your CFD simulation data. Christoph Hahn and Nicolas Gautier from MathWorks demonstrate how to get results into MATLAB and perform analyses. Find all models on the MATLAB FileExchange.
MATLAB and Simulink Racing Lounge: Modeling Vehicle Dynamics Model your vehicle dynamics for lap-time simulation, prediction of energy consumption, or to tune your suspension system. Christoph Hahn, Sebastian Castro, and Swarooph Seshadri, of MathWorks
MATLAB and Simulink Racing Lounge: Virtual Test-Driving Model and validate your race car in a virtual environment. Prasanna Kannan, of IPG, and Christoph Hahn, of MathWorks, introduce you to the benefits of Simulink and the IPG CarMaker.
MATLAB and Simulink Racing Lounge: Basics of Code Generation Spend more time on algorithm development and less time manually producing code. Christoph Hahn and Andreas Uschold of MathWorks discuss how to efficiently bring algorithms to C/C++ code and hardware with code generation.
MATLAB and Simulink Racing Lounge Modeling Physical Components, Part 2: Data Driven Concepts Learn a variety of modeling methods to fit your racecar needs. We’ll demonstrate five modeling approaches and share tips on how to choose the right model. Also, find all models used in the episode on the MATLAB Central FileExchange.
MATLAB and Simulink Racing Lounge: Modeling Physical Components, Part 1: Mathematical Models Model the physical systems of your racecar and learn about the variety of modeling methods to fit your needs. Sebastian Castro and Christoph Hahn, of MathWorks, demonstrate five modeling approaches and share tips on how to choose the right model.
MATLAB and Simulink Racing Lounge: Principles of Control Design Create a robust controller with a Simulink
MATLAB and Simulink Racing Lounge: CAN Communication with Your ECUs and the Vehicle Network Toolbox Connect your Controller Area Network (CAN) to MATLAB and Simulink using the Vehicle Network Toolbox to inspect, test, and validate the operation of a vehicle before an actual dynamic event.
MATLAB and Simulink Racing Lounge: Determining Chassis Stiffness with MATLAB Christoph Hahn, technical education specialist at MathWorks, introduces you to an efficient approach to determine structural properties of a steel tube frame using the direct stiffness method.
MATLAB and Simulink Racing Lounge: Battery Modeling with Simulink Javier Gazzarri and Christoph Hahn introduce you to battery modeling using Simulink.
MATLAB and Simulink Racing Lounge: Embedded Code Generation for Your Vehicle Control Systems Tobias Kumschmider and Christoph Hahn introduce you to the MathWorks Code Generation tool chain, provide information about supported platforms, and show the capabilities in a process-in-the-loop (PIL) software demo.
MATLAB and Simulink Racing Lounge: CAD Import in SimMechanics Learn how to Import a CAD assembly into SimMechanics using SimMechanics Link via a plug-in that lets you save your CAD file as an XML file, or an API that you connect to your CAD system.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .Select web site
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.