How to introduce a rotary motor in simulink multibody
1 view (last 30 days)
Show older comments
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/197039/Captura3.jpeg)
0 Comments
Accepted Answer
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
More Answers (0)
Communities
More Answers in the Power Electronics Control
See Also
Categories
Find more on Multibody Dynamics 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!