controlling stepper motor with simulink and raspberry pi

5 ビュー (過去 30 日間)
nadav levy
nadav levy 2020 年 8 月 6 日
コメント済み: Maleeha 2025 年 4 月 20 日
hi,
I'm trying to run Nema17 stepper motor using simulink and raspberry pi 4, and analog driver.
I've managed to run the motor, but the RPM is very low (about 10 sec per revolution) and the motion isn't smooth. I think the problem is with the pulse generator and I can't get the right pulses to make it run properly. Anyone knows how can I give a simple command to the motor of - Step X steps in speed of Y RPM ? thanks
  3 件のコメント
nadav levy
nadav levy 2020 年 8 月 21 日
Thank you Reeno,
I've seen this example before and tried to analyze it. Just to make clear, my motor is real and not just a model. Can you be more specific in the sequence, do you mean in the matlab or simulink? can you send a screen shot of the pulse generator? I wish to control the angle accuratly and the RPM to have low/medium/high speed.
thanks,
Nadav
Maleeha
Maleeha 2025 年 4 月 20 日
i am facing a similar issue. were you able to solve it?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeRaspberry Pi Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by