![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1750074/image.png)
is it possible to Stepper Motor Drive simulate at 10 milisecond fixed time step
23 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/discussions/uploaded_files/34739/image.png)
is it possible to Stepper Motor Drive simulate at 10 milisecond fixed time step
0 个评论
回答(1 个)
Deep
2024-8-9,9:17
I see that you are looking at the “Stepper Motor Drive” example model linked here - https://www.mathworks.com/help/sps/ug/stepper-motor-drive.html. The documentation states that the example motor is operating with a stepping rate of 500 steps/s, which does not match your requirement. You can open the model using the following command:
openExample('simscapeelectricalsps/StepperMotorExample')
The “Drive” block is a masked block. Double clicking on it will show its properties. You can modify the “Stepping rate (step/s)” property to 100 step/s, which corresponds to your requirement of 10 millisecond long fixed steps.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1750074/image.png)
The scope output will show that the stepper motor is now operating with 10 millisecond long fixed steps. Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Motor Drives 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!