View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Quarter of Vehicle Simulation with Simscape

4.5 | 2 ratings Rate this file 24 Downloads (last 30 days) File Size: 10.7 KB File ID: #31445 Version: 1.0
image thumbnail

Quarter of Vehicle Simulation with Simscape



The model simulates a quarter of vehicle employing Simulink and Simscape.

| Watch this File

File Information

The model simulates a quarter of vehicle employing Simscape. The input to the model is the road profile. The outputs are the displacement and velocity of the sprung and unsprung masses. The current model uses a chirp signal from 0 to 25Hz as road profile, in order to test the frequency response of the system.

In order to run the model, the Motor Drive Libraries for SimMechanics provided here are necessary:

Said files are employed in order to calculate the velocity and acceleration of the road profile and utilize a Simscape Ideal Velocity Source as input to the model.


Motion Driver For Sim Mechanics inspired this file.

Required Products Simscape Multibody
MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
16 Dec 2014 Nishanth

Hello Javier

Thank you for this submission.

I would like to know why you have added another sensor in between sprung mass and unsprung mass and is there any particular meaning behind 'Zdef'?

11 Mar 2014 Simon

Simon (view profile)

Hi Javier,

is it possible to add speed of the car as an another input along with road profile? If so, how?


Comment only
30 Jan 2012 Olexander Zhytenko

Hi Javier!
how to build a half-car model with Simscape?

Comment only
07 Jan 2012 Mac Rodge

Hi Javier!
Very nice work.
Can you provide the model for active suspension system?

Comment only
10 Nov 2011 Javier Ruiz

And the 1/128 is just the sampling rate at which the simulation is running.

Comment only
10 Nov 2011 Javier Ruiz

Hi Jack.
1. I used the motion driver because of the way it calculates the derivatives. See the comments on the Motion Driver's link.

2. I am using a chirp signal in order see the frequency response of the system. In the resulting signals you should be able to see the resonance frequencies of the suspended and un-suspended masses. You can wire a different signal in order to simulate a bump or a road profile.

I hope this helps you. Let me know if you have other questions.

Comment only
10 Nov 2011 Jack Becerra H.

Javier, I saw your comments on other suspension systems from here.
Let me ask you something about this model:
1. Why do you use a Motion Driver? And why is the time constant=1/128 secs?
2. Why a Chirp signal as input? The results I obtain with my parameters are oscillatory for a displacement (Z_def) response even until a reasonable stabilization time.
Please, help me. Thanks.

Contact us