How to create contact between wheel and floor while making the wheel roll on the floor ?

Hello ther,
I created a simplified CAD Model of a car suspension and have been trying now to create a contact between floor and Wheel and to make the wheel roll on the floor.
(Note: The CAD Model was created in SolidWorks and then exported to Simscape. This way i got an automatic generated block diagram)
For the contact i downloaded the "contact forces library" and added the sphere to plane contact to the block diagram.
Here are my questions:
  • Could the spatial contact force be a better fit than the sphere to plane contact?
  • How to connect the blocks so that only the wheel rotates and not the entire suspension?
In the beginning the ease the understanding, I tried to make a simple ball roll on an even floor. But it's just jumping on its own. Why and how to make it just roll on the even floor . (See attachement Kugel_Flaeche2)

 Accepted Answer

Hi there
Definitely, using the spatial force contact block would be the best option. See the submission below with an implementation of a similar problem.
https://se.mathworks.com/matlabcentral/fileexchange/55478-electric-vehicle-rolling-over-uneven-terrain
Br Juan

More Answers (0)

Categories

Asked:

on 20 May 2021

Answered:

on 26 May 2021

Community Treasure Hunt

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

Start Hunting!