From the series: Improving Your Racecar Development
Christoph Hahn, Jaremy Pyle, MathWorks
To interface directly with the vehicle and access vehicle operations, Christoph Hahn and software developer Jaremy Pyle of MathWorks, introduce Vehicle Network Toolbox™ and demonstrate how it provides connectivity from controller area networks (CANs) to MATLAB® and Simulink®.
In-vehicle networks are the backbone of the electronic operations of a car. A vehicle is essentially a distributed embedded system. The CAN is the most common protocol within this system. Vehicle Network Toolbox provides a direct connection from the CAN networks to MATLAB and Simulink, enabling you to inspect, test, and validate the operation of a vehicle before an actual dynamic event.
From MATLAB or Simulink, you can monitor, filter, and analyze live CAN bus data or log and record CAN messages for later analysis and replay. In a software demonstration, Jaremy uses Vehicle Network Toolbox to send CAN data from MATLAB into a Simulink model and then return that data in a more visual format. These tools assist greatly during the initial development to virtually prove out concepts, set up test environments, and easily change from the virtual environment to a real device. This simplifies the process of iterating as you switch from vehicle to simulation.
Vehicle Network Toolbox provides a single environment for all CAN network interfaces. A great place to start is by accessing the documentation, which provides explanations and examples of functions.
Vehicle Modeling Using Simscape Multibody Ed Marquez and Christoph Hahn from MathWorks show you a Simscape Multibody model that represents vehicle dynamics with 3D visualization.
Vehicle Modeling Using 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.
Vehicle Modeling Using 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.
Vehicle Modeling Using 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.
ECU Tuning and Data Logging Using CAN and Simulink 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.
Programming ECUs Using Simulink Save valuable development time by programming custom ECUs and vehicle controllers with the hardware support packages available for Simulink.
Importing CAD Assemblies into Simscape Multibody Christoph Hahn, of MathWorks, shows you how to import CAD assemblies into Simscape Multibody using Onshape.
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.
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.
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.
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.
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
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.
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.
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.
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.
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.
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.
Battery Modeling with Simulink Javier Gazzarri and Christoph Hahn introduce you to battery modeling using Simulink.
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.