MATLAB Answers

How to introduce a rotary motor in simulink multibody

6 views (last 30 days)
Ainara Ramos
Ainara Ramos on 27 Nov 2018
Answered: Jason Chen on 17 Dec 2018
I want to create a model of a crank-slider mechanism, I have already assembled the mechanism (file attached) but I don’t know how to introduce a constant angular velocity rotary motor correctly. I have defined a specific velocity state target at the first revolute joint, but the angular velocity isn't constant (see scope image), I think I must do it in another way. Does anybody know how to introduce a rotary motor in simulink multibody?
Maybe an example could help me. Does anybody know where to find a full example of a crank-slider mechanism or similar? I can’t find what I want.
Captura3.JPG

  0 Comments

Sign in to comment.

Accepted Answer

Jason Chen
Jason Chen on 17 Dec 2018
Torque is needed at the revolute joint to make the follower speed stayed constant. Here is how to do it: In the actuation property of the revolute joint, set Toque to be Automatically Computed, set Motion to be Provided by Input. Then connected a Simulink-PS Converter block to the motion input q. In the Input Handling tab of the Simulink-PS Converter block, set the Filtering and derivatives to Filter input and Input filtering order to Second-order filtering. In essence, we are doing inverse dynamics here.

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.