Contact Modelling in Imported Model

2 ビュー (過去 30 日間)
Devarsh Patel
Devarsh Patel 2021 年 4 月 2 日
回答済み: Pratheek Punchathody 2021 年 4 月 5 日
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.

回答 (1 件)

Pratheek Punchathody
Pratheek Punchathody 2021 年 4 月 5 日
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!

Translated by