Why my assembly doesn't move in simscape multibody

28 次查看(过去 30 天)
I'm try to learn how to use simscape multibody. I've followed all the procedures to make a simulation and up till the animation part. The assembly is just a wheel attached to a motor and I used concentric and coincident mate. I also checked that the wheel could rotate with my mouse draging one side of the wheel. Attached the simulink diagram generated by matlab. I'm open to any possibly to check where is wrong.
simulation problem.JPG

回答(1 个)

Yatish Chandra Chitluri
Hello @Xiaolin Wang, I hope you found your solution. If not, I've a couple of ideas.
Firstly, as there is no motion specified to the joint nor a force specified to a frame, So, I don't expect the wheel to rotate.
Secondly, I'm guessing gravity will not be causing any rotation.
So, I suggest you to give a motion/force to the revolute joint (like direct kinematics) or you can try defining a frame movement on the wheel using, "bushing joint" (like Inverse Kinematics)
In Revolute joint, Try Torque-Automatically computed and Motion - Provided by Input, (remeber that units of motion here are radians). simply use any source and Simulink-PS Convertor.
Or you can the other way,Torque - Provided by Input and Motion- Automatically computed. Either way, take care of Units
I hope this helps. Good luck!
Regards,
Yatish.
  1 个评论
PHLORM Thinhhouy
PHLORM Thinhhouy 2021-9-19
编辑:PHLORM Thinhhouy 2021-9-19
I don't know why it doesn't work.
" Type mismatch in signal connection. Source signal type is s and destination signal type is rad. Convert the signals to have commensurate units and compatible sizes before directly connecting. "

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Multibody Dynamics 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by