Info

This question is closed. Reopen it to edit or answer.

Square Pulse for Stepper Motor in Real time

1 view (last 30 days)
Mohamed Haroon Abdul Jabbar
Closed: Sabin on 11 Feb 2023
Hi,
I would like to control the speed of stepper motor using Simulink signal. I have interfaced Raspberry Pi 3 in Simulink, which will be used to send the pulse signal to the stepper driver. The required speed/frequency range is 500Hz to 5.5KHz. The motor and driver works perfectly when connected to Arduino and uploaded the code from Arduino IDE. However in Simulink, I have tried some models from File Exchange to generate pulse between this range, But I couldn't get stable pulses as it was very fluctuating. Is there any other solution to generate stable square pulses with variable frequency for the stepper motor from Simulink? Thank you.

Answers (0)

Communities

More Answers in the  Power Electronics Control

Products

Community Treasure Hunt

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

Start Hunting!