How can I use "Rotational Hard Stop" block to limit rotation between two angles?
10 views (last 30 days)
Show older comments
Hello,
I want to model a system that includes both rotational and translational behaviors. In the real system, there are mechanical limits of motion. I need to have these limits in my model as well. I found only "Rotational Hard Stop" and "Translational Hard Stop" blocks for this purpose. However I cannot use these blocks to define limits. As an example, how can I add "Rotational Hard Stop" block to the model below to limit rotational motion between 0 and 2*pi radians?
Thanks,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1294180/image.jpeg)
0 Comments
Answers (1)
Balavignesh
on 16 Feb 2023
Hi Muhammet,
I understand that you want to limit the rotation between two angles.
Please refer the answer to a similar question posted in the community:
I hope this helps
2 Comments
Balavignesh
on 20 Feb 2023
Hi Muhammet,
You must use only the rotational and translational hard stop to limit the angles. There are no other blocks in Simscape mechanical library to achieve this. Attaching a reference model on how to use rotational hard stop and translational hard stop to impose constraints. As per the documentation, for both the blocks, you have to set the gap between the slider and the upper/lower Bound (Maximum and minimum possible values) to limit the angle. Please refer to the documentation for the details.
Reference models:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1300955/image.png)
Rotational Hard stop
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1300960/image.png)
I hope this helps
See Also
Categories
Find more on Assembly 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!