Simbody // Simple Quarter of Car

2 views (last 30 days)
Thomas Pujolle
Thomas Pujolle on 7 Sep 2016
Edited: Steve Miller on 7 Dec 2022
Hello there,
I found an example of quarter of vehicule simulation using simscape and the physics library, here it is : https://www.mathworks.com/matlabcentral/fileexchange/31445-quarter-of-vehicle-simulation-with-simscape
I am now trying to do the same thing using Simbody. I also want to be able to monitor the position of the intermediate masses, respectively the tire and the car. Problem, It seems I have to specify a world frame which fix whatever frame is linked to it. If I attach it to the car I cannot monitor its position, if I attach to the tire, then the tire cannot move and I cannot input a road profile.
Attached is the file I'm running. In the scope I want to be able to see the road profile (as translation), then first transfer function between the road and tire, then the second transfer function between the tire and the car. Since the car is the also the "mass" of the mechanical system, the later looks like the first one.
How should I build this in order to be able to input the road profile, and see both the tire and the car moving, while including gravity?
Any help or tip on that would be much appreciated :)

Answers (1)

Steve Miller
Steve Miller on 6 Dec 2022
Edited: Steve Miller on 7 Dec 2022
The screenshot below shows the structure you are aiming for with your model (model simple_quarter_car_model.slx is attached). You need a Prismatic Joint for each degree of freedom, plus a Prismatic Joint with motion actuation to model the change in road height.
For more on vehicle simulation, see this page:
--Steve

Community Treasure Hunt

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

Start Hunting!