File Exchange

## Quarter of Vehicle Simulation with Simscape

version 1.0 (10.7 KB) by

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

4.66667
3 Ratings

Updated

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: http://www.mathworks.com/matlabcentral/fileexchange/27589-motion-driver-for-simmechanics

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.

Nishanth

### Nishanth (view profile)

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'?

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?

Thanks

Olexander Zhytenko

### Olexander Zhytenko (view profile)

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

Mac Rodge

### Mac Rodge (view profile)

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

Javier Ruiz

### Javier Ruiz (view profile)

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

Javier Ruiz

### Javier Ruiz (view profile)

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.

Jack Becerra H.