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

2 ビュー (過去 30 日間)
edamondo
edamondo 2017 年 1 月 3 日
回答済み: Steve Miller 2018 年 1 月 31 日
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 Center および File ExchangeAssembly についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by