Use of Translational Hardstop with Multi Body

1 view (last 30 days)
Hi everyone, I have finally figured out how to use translational hard stop in Sim Mechanics 2nd Generation. And I have just implemented a free fall for a cylinder on a ground plane. Attached is the capture of the .mdl file
And the simulation looks like as follows:
Now as I try to attach an object with this cylinder object using a revolute joint at one of its ends, it gives crazy behaviour:
This is the resulting model file
And the simulation results in the following:
Now as you can see, the resulting body is nomore respectful of the hardstop condition.
Please guide. Any tutorial or example on Translational Hard Stop for Sim Mechanics will also be helpful.

Answers (1)

Sebastian Castro
Sebastian Castro on 18 Mar 2015
My guess is the extra weight of the new object (which is much bigger) makes it such that the hard stop spring and damper can't push the whole assembly back up.
If you reduce the mass of the objects or increase the hard stop stiffness/damping parameters, they might stay where you want them.
- Sebastian

Categories

Find more on Brakes and Detents in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!