Main Content

Import and Simulate High-Fidelity Tire Models in Virtual Vehicle Models

For accuracy in simulating high-frequency driving events, use a high-fidelity tire model such as the Flexible Ring Tire (FTire) model by Cosin Scientific Software. You can import an FTire model into Virtual Vehicle Composer models for applications requiring multiple points of tire contact, such as modeling driving on inclement road surfaces, low-speed maneuvers, detailed braking development, NVH and harmonic analysis, and tire wear. This example shows how to import an FTire model into a Virtual Vehicle Composer model using custom components and simulates a double-lane change maneuver.

Configured virtual vehicle Simulink model.

Tip

You must have FTire/core and FTire/link installed prior to executing this workflow. For more information, see Cosin Scientific Software.

Build Virtual Vehicle with FTire Components

Import FTire custom components and build a virtual vehicle model.

  1. Navigate to the MATLAB® toolstrip. On the Apps tab, click the down arrow on the far right of the toolstrip to expand the apps gallery, and then select Virtual Vehicle Composer.

  2. To create a new virtual vehicle model, on the Virtual Vehicle Composer toolstrip, on the Composer tab, click New.

    Virtual Vehicle Composer app toolstrip showing the Composer tab that contains the new button.

  3. On the Setup tab in the Virtual Vehicle Composer app, configure these settings for a passenger vehicle:

    • Powertrain architectureConventional Vehicle

      You can also select an electric vehicle or hybrid vehicle. For more information, see Powertrain architecture.

    • Vehicle dynamicsCombined Longitudinal and Lateral Dynamics

    • Model templateSimulink

    Virtual vehicle composer setup page with the powertrain architecture set to conventional vehicle, vehicle dynamics set to combined longitudinal and lateral dynamics, and model template set to Simulink.

  4. Click Confirm Setup.

  5. Click the Data and Calibration tab.

    From the Component Selection tree, select Front Tire and Wheel. On the toolstrip, click Import Component.

    Import Component toolstrip icon.

  6. The Import Component dialog box opens. To import the FTireTiresFront.slx component model, click Browse. You can find this file by navigating to MATLAB\Projects\examples\VirtualVehicle\PassVeh\Plant.

    Import Component dialog box

    For more information importing custom components, see Add Virtual Vehicle Custom Component.

  7. Repeat steps 2 and 3 for the Rear Tire and Wheel component, importing the FTireTiresRear.slx model.

    Note

    When configuring a virtual vehicle model with a one-axle trailer, the FTire models do not apply to the wheels and tires of the trailer.

  8. Navigate to the Scenario and Test pane and configure these settings:

    ScenarioDouble Lane Change

    3D Scene Selection3D Scene

  9. Click Build Virtual Vehicle.

Enable FTire Variant Subsystem

After you build your virtual vehicle, enable the FTire subsystem variant for the front and rear wheels. By default, a pictorial representation of the FTire subsystem is selected as the active variant.

  1. Navigate to the Vehicle/ConfiguredSimulinkPlantModel (ConfiguredSimulinkPlantModel)/Front Wheels/FTireTiresFront (FTireTiresFront) subsystem.

  2. Right-click the FTire subsystem and select Variant > Label Mode Active Choice > FTire hub position ext. (FTire hub position ext.).

    FTire hub position ext. subsystem

  3. Update the FTire library block to use the road and tire files from your specific FTire installation.

    Block Parameters dialog box for the FTire hub position block

    Note

    If you select a different tire size, you must update the Unloaded Radius Offset value, the vertical position of the wheel to a position above ground, and the chassis position. Otherwise, initialization errors can occur related to the initial position.

  4. Repeat steps 1 and 2 for the Vehicle/ConfiguredSimulinkPlantModel (ConfiguredSimulinkPlantModel)/Rear Wheels/FTireTiresRear (FTireTiresRear)/FTire subsystem.

Run Co-Simulation with FTire

On the ConfiguredVirtualVehicleModel model toolstrip, click Run. As the simulation runs, view the simulation results using the Simulation 3D Viewer and the Cosin animation dialog box.

Note

The 3D scene does not use the FTire geometry. You must align the 3D scene with the FTire road model to keep them in sync. In this example the road file and the 3D scene are both flat and have the same ground.

For more information using FTire features in a Simulink® environment, see FTire/link.

Simulation 3D Animation viewer

See Also

|

External Websites