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 CenterFile Exchange에서 Assembly에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by