how to make body contact in SimMechanics, so that one body does not penetrate into the body of another when it display in animation, such as gripper grasps the objects.
1 回表示 (過去 30 日間)
古いコメントを表示
My project is design and control gripper to grasp the objects using SimMechanics and Solidworks software packages.I have problem when my gripper pick up the object. The fingers penetrate the object although I add joint spring damper. I don't know how to solve this problem. Would you like to explain me, please. You cant contact in widhiwyn@yahoo.com Thank you very much with your kind attentions
Best Regards
Wayan Widhiada LJMU
0 件のコメント
回答 (2 件)
Martin
2011 年 3 月 2 日
Modeling contact can be quite tricky.
A key thing to remember is that the solver does not know the shape of a body in SimMechanics; it only knows the locations of the various coordinate systems (CG, CS1, CS2.... CS#). Without knowledge of the shape of the body surfaces, it cannot directly model contact between them. Note that if you brought in the model from SolidWorks using SimMechanics Link, the cool looking pieces in the visualization are graphical, it only uses what you can see in the block diagram for the actual simulation.
The general method for contact modeling involves detecting the distance between two bodies and applying a force to each of them. This requires adding sensors to the bodies, performing calculations on the sensed values, and using actuators to apply the forces and torques.
A simple version of this, mech_bouncing_ball.mdl, is found in the SimMechanics demos. This shows unidirectional contact force (from plane to ball). This model is simplified by the fact that the ball is symmetric, the plane is stationary, and no reaction force is exerted on the plane.
In addition to normal forces, you would also need to model friction between the ball and gripper so that it does not just fall out. This can also be calculated in a similar fashion as above, or using techniques described here.
0 件のコメント
Mohamed Abdelkader Zahana
2014 年 12 月 14 日
Hello Wayan,
Were yo able to solve the problem? I am interested to get into the details. Thanks.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Assembly についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!