How to constrain the rotation of a joint in SimMechanics 2nd generation

조회 수: 2 (최근 30일)
christopher bitikofer
christopher bitikofer 2016년 12월 23일
댓글: Dimple Prakash 2021년 11월 29일
I'm working on modeling a robot and need to limit the ranges of my joints. currently the simulation seems to hit singularities and jump out of the intended work-space. Thus my thought is I could sidestep the problem by constraining out any ranges of motion the robot will not traverse anyway. Previously I've used saturation blocks to limit signals but am having no luck implementing anything similar with this model. This is the first time I've worked with SimMechanics Multibody so I'm probably missing something basic here but any help is appreciated!

답변 (1개)

Pouya Jamali
Pouya Jamali 2017년 1월 22일
Hi Christopher,
If you haven't found a solution yet, I would suggest you have a look into the 'Rotational Hard Stop' block in SimScape. In order to employ that block you would need to convert your simulink signals to physical signals and vice verse using S to PS and PS to S converter blocks. Feel free to use the example I have attached for you.
Good luck with Matlab,
Pouya
  댓글 수: 1
Dimple Prakash
Dimple Prakash 2021년 11월 29일
Thank you for your answer !!!
It was helpful..Could you please explain about the Hardstop block in your model?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Multibody Dynamics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by