Simscape/Multibody Mechanical System with constant Torque/velocity

4 ビュー (過去 30 日間)
Thomas
Thomas 2018 年 1 月 8 日
Hi everyone,
I have the Simscape and Simscape Multibody toolboxes, from this I have generated a model of a stepper motor (just the motor with something on the shaft, so I can tell if it is spinning or not). What I'm trying to do, is link the actuator torque of the model to an electrical/mechanical system, so I can then start to create a closed loop for it.
Just to check that everything is working, I've linked the torque input of the Multibody model to a constant value, and I see that the angles and velocities increase very quickly (as torque affects the acceleration). What I don't get is, if I configure the input of the actuator such that it is based on position and have this position ramping up (at a constant angular velocity), I see that the "sensed" torque is a sine wave - shouldn't this be zero (after the initial speed "up-phase") Is anyone able to explain what I am seeing? As this doesn't make sense to me...
Regards, Thomas

回答 (1 件)

Sharan Paramasivam Murugesan
Sharan Paramasivam Murugesan 2018 年 1 月 11 日
I believe this is a solver issue. Please try a different solver like ode23t which is a better solver for stiff systems.

カテゴリ

Help Center および File ExchangeMultibody Dynamics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by