Can the stepper motor with stepper driver be used in a Simscape Multibody model?
9 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm trying to create a simulation model of a feed drive system, based on a test rig I have built of a 2-axis gantry feed drive system.
The mechanical system is created in Simscape Multibody from a CAD model of a the linear guide. The joints are primarily revolute, prismatic,leadscrew or bearing joints which have springs/dampers connected with the multibody interface blocks to represent a lumped mass system.
It shows promising results when I connect it with the "Rotational electromechanical converter" block and works relatively smoothly with some zero crossings.
However the real system is driven by stepper motors and it would be ideal if I could simulate it using the Simscape stepper motor models. But when I try to connect them to the multibody with only a single axis model it takes forever to simulate. Even with a really slow pulse period.
Additionally I can't seem to get the stepper motor model to run faster than ~50 RPM.
Is this simply a limitation between simscape 1D to 3D or can I make this work with certain settings? I'm currently using the ode23t solver.
I'll post some pictures of the system just to give an overview. Since it's based on CAD models I can't provide a file that can be executed easily.
The overall system.
The motor input to the mechanical system.
The electrical part of the system.
The way I implement joints.
0 个评论
回答(1 个)
Adeline
2023-9-14
Hi,
Thank you for sharing reference images of the model. I understand you are trying to execute a Simscape Multibody model which includes a stepper motor and its driver.
The motor can be connected to a revolute joint in the multibody model using the “Rotational Multibody Interface” block.
In the shared images I noticed that the simulation mode is set to “Normal”. Slowing the pulse may not necessarily speed up the simulation but it can affect the RPM which depends on the control pulse frequency. Instead, try optimizing the model performance by switching the simulation mode to “Rapid Accelerator”.
For details regarding the speed control of the stepper motor, please refer to the following link:
For more understanding about the Rapid Accelerator mode, please refer to the following link:
For more ways to optimize performance, please refer to the frequently viewed topics in the following link:
Hope this helps with the model simulation.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simscape Multibody 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!