Vehicle Dynamics Blockset

 

Vehicle Dynamics Blockset

Model and simulate vehicle dynamics in a virtual 3D environment

Video length is 2:18

Reference Applications

Preassembled models for a variety of automotive vehicles

Black sedan stopped at a city intersection visualized in a 3D simulation environment.

Passenger Cars

Red motorcycle with rider on a city street visualized in a 3D simulation environment.

Motorcycles

Red truck with white trailer on a highway visualized in a 3D simulation environment.

Trucks

Product Highlights

Vehicle parameters displayed in a table in the virtual vehicle composer application.

Virtual Vehicle Composer App

Interactively parameterize, configure, and build a virtual vehicle to execute system-level vehicle dynamics analyses.

Blue sedan performing automatic emergency braking at a city intersection where an accident is taking place visualized in a 3D simulation environment.

ADAS and AD Testing

­Test advanced driver assistance systems (ADAS) and automated driving (AD) control features using vehicle dynamics models that capture crucial effects such as tire slip.

3D Environment

Visualize your vehicle’s dynamic response to various maneuvers using photorealistic 3D scenes created with Unreal Engine.

Tiles showing the eight groups of components in the vehicle dynamics blockset.

Component Library

Build your own vehicle models from a component library of propulsion, steering, suspension, vehicle body, brakes, tires, and driver models, as well as component and supervisory controllers.

Vehicle Scenarios

Evaluate the performance of chassis control algorithms and characterize your vehicle’s ride and handling performance during driving maneuvers, including double-lane changes and split-mu braking tests.

3D plot of a surface fit to suspension data visualized in the kinematics and compliance virtual test laboratory reference application.

Virtual K&C Test Lab

Analyze the response of your suspension using Kinematics & Compliance (K&C) test data or a detailed Simscape Multibody model.

Vehicle Dynamics Blockset FAQs

Vehicle Dynamics Blockset provides preassembled reference applications for automotive vehicle models, along with component libraries and tools for modeling and simulating vehicle dynamics in a virtual 3D environment.

The blockset provides preassembled reference applications for passenger cars, trucks, two-wheelers (e.g., motorcycles) and three-wheelers (e.g., tuk-tuks).

The blockset includes component libraries for propulsion, steering, suspension, vehicle body, brakes, tires, and driver models, as well as component and supervisory controllers.

Yes, Vehicle Dynamics Blockset supports an interface with Unreal Engine to visualize simulations using photorealistic 3D scenes and communicate scene information back to your model. Vehicle Dynamics Blockset extends the Unreal Engine interface provided b <a href="/content/mathworks/www/en/products/3d-animation.html">Simulink 3D Animation</a>, adding automotive-specific 3D assets such as passenger cars, tractor trailers, motorcycles and three-wheeled vehicles.

The Virtual Vehicle Composer is an app for interactively configuring and parameterizing pre-built vehicle models. See <a href="https://www.mathworks.com/help/vdynblks/ug/get-started-with-the-virtual-vehicle-composer.html">this example</a> for more information.

Yes, the models are open and customizable. You can incorporate your own subsystems and customize them as needed. This includes adding custom Simulink or Simscape component models, as well as integrating components from third-party simulation software in the form of S-functions or FMUs.

You can use Vehicle Dynamics Blockset for ride and handling analyses, chassis controls development, software integration testing, hardware-in-the-loop (HIL) testing, and testing ADAS and automated driving control features.

The blockset includes preassembled maneuvers for common ride and handling tests, including double-lane change, slowly increasing steer, sine with dwell, fishhook, and split-mu braking tests.

Yes, the models are open and customizable. You can use Simulink and Stateflow to define your own maneuvers, then connect them to the vehicle model.

Yes, the blockset provides several tools to help you parameterize your models, including: A <a href="https://www.mathworks.com/help/vdynblks/ug/kinematics-and-compliance-reference-application.html">Virtual K&C Test Lab</a> reference application for running K&C tests, importing test data and fitting suspension models to that data A <a href="https://www.mathworks.com/help/vdynblks/ug/tiremanager-app.html">Tire Manager App</a> and associated MATLAB APIs for importing and preprocessing measured tire data, visualization and model fitting, and exporting tire model parameters for use with Simulink

Yes, you can use these models for hardware-in-the-loop (HIL) testing and achieve real-time execution using Simulink Real-Time, enabling controller validation and system testing. The models are compatible with all major HIL providers. <a href="https://www.mathworks.com/help/autoblks/ug/deploy-vvc-model-to-speedgoat-realtime-target.html">See this</a> example for more information.

Yes, you can connect the models to Unreal Engine for the visualization and common gaming hardware for the steering wheel and pedal inputs, then drive your vehicle around in a virtual 3D environment. See <a href="https://www.mathworks.com/help/vdynblks/ug/configure-a-driving-simulator-with-virtual-vehicle-composer.html">this example</a> for more information.

Vehicle Dynamics Blockset provides library blocks for Magic Formula 6.2, Dugoff and Fiala tire models. It also supports the CPI and STI tire interface definition. The <a href="https://www.mathworks.com/matlabcentral/fileexchange/128724-extended-tire-features-for-vehicle-dynamics-blockset">Extended Tire Features for Vehicle Dynamics Blockset</a> add-on includes predefined parameter sets for a wide range of vehicle classes, from motorcycles, to small passenger cars, to pickup trucks and commercial vehicles. It also includes the <a href="https://www.mathworks.com/help/vdynblks/ug/tiremanager-app.html">Tire Manager app</a> and <a href="https://www.mathworks.com/help/vdynblks/ug/tiremodel-class.html">MATLAB APIs</a> that you can use to fit tire models and convert between various tire model types, e.g., converting from Magic Formula 5.2 to Magic Formula 6.2. If you use high fidelity tire models such as FTire, <a href="https://www.mathworks.com/help/vdynblks/ug/execute-obstacle-avoidance-test-with-high-fidelity-tire-models.html">this example</a> shows how to interface them to Vehicle Dynamics Blockset vehicle models.

That depends on the controller and the parameter values provided. When parameters can be taken from physical test data (e.g., K&C test data, tire test data), the models can reproduce real world results quite well. Because Vehicle Dynamics Blockset includes generic, representative controls, the vehicle may behave differently than it would with production controllers. For more information, see <a href="/content/mathworks/www/en/videos/develop-virtual-vehicles-using-powertrain-blockset-1747216323431.html">this presentation</a> from FEV on how they calibrated an EV model from vehicle test data.

Interested in Vehicle Dynamics Blockset?