Why my assembly doesn't move in simscape multibody

16 vues (au cours des 30 derniers jours)
Xiaolin Wang
Xiaolin Wang le 16 Juin 2019
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

Réponses (1)

Yatish Chandra Chitluri
Yatish Chandra Chitluri le 21 Jan 2021
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 commentaire
PHLORM Thinhhouy
PHLORM Thinhhouy le 19 Sep 2021
Modifié(e) : PHLORM Thinhhouy le 19 Sep 2021
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. "

Connectez-vous pour commenter.

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by