image thumbnail

6 DoF Vehicle Model in Simulink

version 2.0 (317 KB) by Srivatsan Srinivasan
Model for yaw studies. Discrete-time model, euler-fwd integration. RT code compile-able. All-wheel steer-drive. 2015-20 Matlab compatible.


Updated 06 Jan 2021

View License

The simulink file contains a working planar 6 degree of freedom vehicle model for yaw stability studies. You can switch between asphalt, snow, wet asphalt and icy road conditions. The model can be compiled into RT code for dSPACE simulations. You can choose to have it run with all wheel steer. Right now the rear steer has been set to zero. Please go through ReadMe file. The inputs are individual wheel torques and front and rear road-wheel steering angle. You can give handwheel angle as input if you choose to have front wheel drive by multiplying it with a steering ratio of 1/20.

Model built using equations in:

Berntorp, K., Olofsson, B., Lundahl, K., & Nielsen, L. (2014).
Models and methodology for optimal trajectory generation in safety-critical road-vehicle manoeuvres.
Vehicle System Dynamics, 52(10), 1304–1332.

Cite As

Srivatsan Srinivasan (2021). 6 DoF Vehicle Model in Simulink (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with R2015a to R2020b
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!