How to limit angle rotation in Multibody 1G ? [URGENT!]

2 views (last 30 days)
Hi, everyone. I have trouble applying angle rotation range of revolute joint using multibody first generation (R2016b). In multibody, not 1G version, there's an angle constraints block, however it seems that it does not exist in Multibody 1G.
If I want to limit joint rotation angle from 30 to 90 degree at revolute joint, how should I do ? Also, How should I do to keep joint rotation angle at 90 degrees constant?
Could you please give me a hand about these two questions?
Thank you.

Accepted Answer

Lucas Lebert
Lucas Lebert on 8 Dec 2016
As you already figured out, there is no angle constraint block in SimMechanics 1G. In the first generation you could connect a Joint Sensor and a Joint Actor to the revolute joint. Then you can use the information about the position (and possibly of the torque) to calculate the torque needed to enforce the ranges. Using the Joint Actuator you can apply this force to the revolute joint. Keep in mind, that depending on the implementation of the controler, the system might get very stiff.
So generally I would advise to update to the second generation of Simscape Multibody since it has a easy solution for this issue and is also updated regularly.
  1 Comment
z s
z s on 17 Apr 2018
Could you please tell me what is the easy solution in the second generation?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!