Importing custom ISO 8608 road profile into CarMaker/Simulink

Hello everyone,

I am currently working on a suspension testing simulation and need to implement a specific “rough road” profile (ISO 8608 Class B).

Current Setup:

  • I have the road profile implemented in MATLAB as a timetable (height vs. time), but I can also discretize it in space (height vs. distance).

  • I am using CarMaker for Simulink (CM4S).

What I have tried:

  1. Scenario Editor: I attempted to generate the profile here, but I could not find a function to import my custom profile vector.

  2. Direct Simulink Input: I tried to force the vertical position of the wheel contact point directly within the Simulink environment, but I couldn’t find the correct input interface to achieve this.

The existing “rough road” example in CarMaker seems to be a “big wave” profile, which doesn’t match the stochastic nature of the Class B profile I need (see attached image).

Has anyone successfully imported a custom road height vector or forced vertical displacement in CM4S? Any guidance would be appreciated!

You could try importing the road height from a file using the Scenario editor, as suggested in:

Alternatively, you can modify the contact point of the road and tyre by using a Contact Point Modification FMU, as described in chapter 9 of the programmer’s guide. However, I’m not sure how that translates to a Simulink model.