Contact Modelling in Imported Model

3 views (last 30 days)
Devarsh Patel
Devarsh Patel on 2 Apr 2021
I am trying to make a spinning ball launcher. I made the design in solidworks and when imported into solidworks, all the physical contact constraints were missing. Due to gravity, ball and ball pusher are falling down instantly.
I tried to use spatial force block and some 3-D constraints like face to plane force etc. But I am not able to implement them correctly. It is my final year project and the deadline is next week. Any help would be much appreciated.
Thanks
D

Answers (1)

Pratheek Punchathody
Pratheek Punchathody on 5 Apr 2021
Unilateral contact constraints are not respected when importing a model from CAD into Simscape Multibody. To add these constraints, you will need to post-process the model after it is imported.
There are two ways to add the constraint that the end-effector does not go through walls in the the model:
1. Add a Planar Joint to the model that connects the World Frame and the end-effector. Then set limits on the x and y prismatic primitives of the joint that coincide with the walls.
2. Add two Spatial Contact Force blocks to the model to model the contact between the walls and the end-effector. However, Spatial Contact Force blocks cannot currently be used with CAD geometry, so the user would have to add "proxy geometry" as discussed here: Modeling Contact Force Between Two Solids

Community Treasure Hunt

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

Start Hunting!