kinematics and compliance virtual test laboratory
model-based calibration toolbox™ allows you to generate optimized suspension parameters for the and blocks by using the kinematics (k) and compliance (c) virtual test laboratory.
to create and open a working copy of the k and c virtual test laboratory reference application, enter
the k and c virtual test laboratory contains vehicle, test system, and test control subsystems. the vehicle system has two variants:
simscape multibody vehicle
— vehicle with a simscape™ multibody™ suspension systemvdbs vehicle
— vehicle with an block
this table summarizes the virtual test laboratory tests.
test | objective | method |
---|---|---|
generate mapped suspension from spreadsheet data | use measured vertical force and suspension geometry data to generate calibrated suspension parameters for the mapped suspension blocks. note you can use a third-party simulation model to generate the measured suspension data. |
the virtual test lab uses model-based calibration toolbox to fit camber angle, toe angle, and vertical force response models for the data. the virtual test lab then uses the response models to generate suspension parameters for the suspension blocks. |
generate mapped suspension from simscape suspension | use a simscape multibody suspension system to generate calibrated suspension parameters for the suspension mapped blocks. |
the virtual test lab uses model-based calibration toolbox to perform a sobol sequence design of experiments (doe) on the suspension height and handwheel angle operating points. at each operating point, the reference application stimulates the simscape multibody suspension system with a chirp signal over a frequency range of 0.1 to 2 hz. the virtual test lab then uses the data to fit the suspension vertical force, camber angle, and toe angle with a gaussian process model (gpm) as a function of the suspension state. finally, the reference application uses the gpm to generate suspension parameters for the suspension blocks. |
compare mapped and simscape suspension responses | compare the mapped suspension with the simscape multibody suspension results. |
the virtual test laboratory stimulates the simscape multibody suspension at one operating point and then compares the response to the mapped suspension. |
generate mapped suspension from spreadsheet data
the virtual test lab uses model-based calibration toolbox to fit camber angle, toe angle, and vertical force response models for the data. the virtual test lab then uses the response models to generate suspension parameters for the suspension blocks.
generate mapped suspension calibration
use the spreadsheet file field to provide a data file. by default, the reference application has
kandctestdata.xlsx
containing required data. the table summarizes the data file requirements for generating calibrated tables.data description data requirements for generating mapped suspension tables z vertical axis suspension height, in m
required
zdot vertical axis suspension height velocity breakpoints, in m/s
required
str steering angle, in rad
required
fz vertical axis suspension force, in n
required
ca camber angle, in rad
required
ta toe angle, in rad
required
click generate mapped suspension calibration to generate response surface models in model-based calibration toolbox.
the model browser opens when the process completes. you can view the camber angle, ca, toe angle, ta, and vertical force, fz, response model fits for the data.
apply calibration to mapped suspension model
click apply calibration to mapped suspension model. the virtual test lab uses the response models to generate calibrated suspension and breakpoint data.
click ok to update the model workspace and suspension blocks.
in the model explorer, you can view the generated suspension parameters.
parameter | model workspace variable | description |
---|---|---|
axle breakpoints, f_susp_axl_bp |
| axle breakpoints, p, dimensionless. |
vertical axis suspension height breakpoints, f_susp_dz_bp |
| vertical axis suspension height breakpoints, m, in m. |
vertical axis suspension height velocity breakpoints, f_susp_dzdot_bp |
| vertical axis suspension height velocity breakpoints, n, in m/s. |
vertical axis suspension force and moment responses, f_susp_fmz |
|
|
suspension geometry responses, f_susp_geom |
|
|
steering angle breakpoints, f_susp_strgdelta_bp |
| steering angle breakpoints, o, in rad. |
generate mapped suspension from simscape suspension
the virtual test lab uses model-based calibration toolbox to perform a sobol sequence design of experiments (doe) on the suspension height and handwheel angle operating points. at each operating point, the reference application stimulates the simscape multibody suspension system with a chirp signal over a frequency range of 0.1 to 2 hz. the virtual test lab then uses the data to fit the suspension vertical force, camber angle, and toe angle with a gaussian process model (gpm) as a function of the suspension state. finally, the reference application uses the gpm to generate suspension parameters for the suspension blocks.
the test laboratory exercises the suspension system with the doe settings contained in the doemat
array. to view the doemat
array values, open the model explorer.
element | description |
---|---|
| suspension height |
| handwheel angle |
| chirp signal amplitude |
| starting chirp frequency |
| ending chirp frequency |
| simulation time to complete chirp signal frequency range |
the generation can take time to run and slow other computer processes. view progress in the matlab® window.
in the model explorer, you can view the generated suspension parameters.
parameter | model workspace variable | description |
---|---|---|
axle breakpoints, f_susp_axl_bp |
| axle breakpoints, p, dimensionless. |
vertical axis suspension height breakpoints, f_susp_dz_bp |
| vertical axis suspension height breakpoints, m, in m. |
vertical axis suspension height velocity breakpoints, f_susp_dzdot_bp |
| vertical axis suspension height velocity breakpoints, n, in m/s. |
vertical axis suspension force and moment responses, f_susp_fmz |
|
|
suspension geometry responses, f_susp_geom |
|
|
steering angle breakpoints, f_susp_strgdelta_bp |
| steering angle breakpoints, o, in rad. |
compare mapped and simscape suspension responses
the virtual test laboratory stimulates the simscape multibody suspension at one operating point and then compares the response to the mapped suspension.
to stimulate the simscape multibody suspension model, the test laboratory uses with the doe settings contained in the
doemat
array.during the simulation, to view the suspension system, select the mechanics explorers tab.
after the simulation completes, use the simulation data inspector to compare the suspension system response for the mapped suspension and simscape multibody suspension model. for example, compare the vertical force, camber angle, and toe angle responses.
see also
|