Vehicle Dynamics Blockset
Model and simulate vehicle dynamics in a virtual 3D environment
Vehicle Dynamics Blockset™ provides fully assembled reference application models that simulate driving maneuvers in a 3D environment. You can use the prebuilt scenes to visualize roads, traffic signs, trees, buildings, and other objects around the vehicle. You can customize the reference models by using your own data or by replacing a subsystem with your own model. The blockset includes a library of components for modeling propulsion, steering, suspension, vehicle bodies, brakes, and tires.
Vehicle Dynamics Blockset provides a standard model architecture that can be used throughout the development process. It supports ride and handling analyses, chassis controls development, software integration testing, and hardware-in-the-loop testing. By integrating vehicle dynamics models with a 3D environment, you can test ADAS and automated driving perception, planning, and control software. These models let you test your vehicle with standard driving maneuvers such as a double lane change or with your own custom scenarios.
Vehicle Dynamics Blockset™ provides a set of reference applications, which are preassembled vehicle dynamics models for simulating driving maneuvers. They include subsystems for the propulsion, driveline, steering, suspension, vehicle body, brakes, and tires. You can create your own versions of the reference applications to test that your vehicle meets the design requirements under normal and extreme driving conditions. Use the reference applications to:
- Analyze ride and handling
- Develop chassis control features
- Test advanced driver assist systems (ADAS) and automated driving (AD) control features
These reference applications serve as a test framework that you can parameterize with your own vehicle data. You can further customize the subsystems using blocks from the Vehicle Dynamics Blockset or Powertrain Blockset™ libraries, or from your own Simulink® and Simscape™ libraries. The reference applications come with a Simulink Projects configuration to promote best practices for your development team. Simulink Projects enables management and version control for top-level model files, component model files, and scripts.
Simulating vehicle dynamics in a 3D environment helps you visualize and understand the vehicle’s dynamic response. You can also use the 3D environment to define a photorealistic virtual world in which to drive the vehicle. Vehicle Dynamics Blockset comes with several prebuilt scenes created with the Unreal Engine®, a game engine developed by Epic Games®. Additional scenes are available via the Vehicle Dynamics Blockset interface for Unreal Engine 4 support package. The support package also provides project files you can use in the Unreal Engine editors to customize scenes for your own needs.
To characterize a vehicle’s ride and handling performance, you can simulate standard driving maneuvers with the reference applications in Vehicle Dynamics Blockset, including maneuvers such as a double lane change, swept sine, or slowly increasing steer. By customizing the prebuilt models, you can also create your own driving maneuvers. Evaluate how your vehicle meets design requirements by simulating understeer or oversteer behavior, lateral acceleration limits, and many other dynamic responses. You can further analyze the vehicle using MATLAB® and Simulink to perform design studies and optimize the system.
Designing and testing chassis control systems often requires a detailed vehicle dynamics model that captures key effects such as suspension stiffness, body pitch and roll, and lateral and longitudinal tire slip. The reference applications available with Vehicle Dynamics Blockset include these effects, and enable you to select different model variants based on the complexity required for your analysis. The reference applications provide a closed-loop testing framework in which you can incorporate your own ABS controller, yaw stability controller, or other chassis control feature. The same models can be used throughout the development process, from controls development to software integration testing and hardware-in-the-loop (HIL) testing.
Testing for advanced driver assist systems (ADAS) and automated driving (AD) control features often begins with a simple bicycle model for describing the vehicle. For testing features such as automated emergency braking or obstacle avoidance, however, a bicycle model is insufficient because tire slip and other effects become crucial. The vehicle dynamics models available in Vehicle Dynamics Blockset give you the higher fidelity you need for testing such automated driving features.
You can also use the 3D environment provided with the reference applications to develop your own virtual test ground for ADAS and automated driving features. For example, the vehicle models come with a virtual camera that sends images back to Simulink during the simulation. In this way, you can analyze the signals in Simulink to test your lane detection algorithm. Customizing the scenes in the Unreal Engine editors gives you additional flexibility to create and simulate scenarios that fully exercise your ADAS and automated driving features.