Simmechanics representation of a compressed spring
古いコメントを表示
How can i represent a pre-compressed spring between two bodies?
採用された回答
その他の回答 (1 件)
Jonathon
2012 年 8 月 20 日
0 投票
1 件のコメント
Ryan G
2012 年 8 月 20 日
Below is a rough idea of how you could implement this. The spring block included does not really allow for 2-stage springs, although there might be something better than what I have to do it. Essentially you can actuate the body and feedback the position. K*x = Force so you can use that as the actuation force.
In this example after the length of teh spring passes 5 meters it detaches. I created a latch so once it detaches it can't re-attach. This is very rough/quick assembly so you need to check for units and +/- accuracy here. You would also need to adjust the position x as it is in world coordinates.

カテゴリ
ヘルプ センター および File Exchange で Assembly についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!