is it possible to Stepper Motor Drive simulate at 10 milisecond fixed time step

조회 수: 9 (최근 30일)
infent
infent 2024년 8월 8일
편집: infent 2024년 8월 27일
is it possible to Stepper Motor Drive simulate at 10 milisecond fixed time step

답변 (2개)

Deep
Deep 2024년 8월 9일
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.
The scope output will show that the stepper motor is now operating with 10 millisecond long fixed steps. Hope this helps!

infent
infent 2024년 8월 27일
편집: infent 2024년 8월 27일
Hi @Deep,
Thank you for your response. I have tried with 100 steps/s but stepper motor is not giving proper results . can you please check the results once.
Kind regards,

카테고리

Help CenterFile Exchange에서 Motor Drives에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by