simmechanics simulation seem to slow, like if subject to friction.

2 次查看(过去 30 天)
Dear all,
I am trying to model a triple pendulum with simmechanics. The solution I obtain doesn't coincide with the simulation I have done on matlab. Actually, the simmechanics model seems to moove to slowly, as if it was damped. I didn't put any friction so I don't understand why it behaves like that. I attached the simulink file. Does anyone know what the problem is'
Thanks a lot in advance.

采纳的回答

Steve Miller
Steve Miller 2018-1-31
I looked at your model. It is nicely built, and you made good use of masks. Without the MATLAB Code, we cannot see the difference. Looking at the dynamics, it is clear that there is no damping whatsoever, for the pendulum does not seem to lose energy.
I am pretty certain the reason your models are different is because you entered values of centimeters in your masks, but the Simscape Multibody blocks (Solid blocks, Rigid Transform blocks) are set to meters. I have made the units consistent and the model behavior is much different now. The adjusted model is attached (TripleInvertedPendulum_fixed_centimeters.mdl).
--Steve

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by