How to decide maximum acceleration and speed of stepper motor

3D Modelling, Slicing, Hosts and Management
Post Reply
User avatar
Posts: 1
Joined: Fri Oct 12, 2018 8:17 am

How to decide maximum acceleration and speed of stepper motor

Post by DSBros » Fri Oct 12, 2018 8:23 am


I am new to Accelstepper library: I am using MDBT40 with Stepper motor and programming it using Arduino IDE.
Here are the specification of motor:

Max rated Current: 0.8A
Inductance: 5mH
Input supply : 12V
1.8 degree
1/4th microstepping mode

Since the RPM was not mentioned in the datasheet, I did some calculation using these links: ... ator.phtml ... er-on-cnc/

I got minimum and maximum RPM to be 100-480 RPM.
i.e. (480*200)/60=1600 steps/sec=> 6400 steps/sec for 1/4th microstepping
So converting it from RPM to steps/seconds gives me maximum speed of 6400 steps/sec.

Thus using this calculation, I used setMaxspeed(6000). About acceleration, I set it to 12000 (random trial and error).
The speed of motor doesn`t seems to fast enough when I run the same motors using timers or without acceleration. After certain value of acceleration, the speed remains constant and is very low (not expected maximum speed). My application requires a slow start for a very small time (5% to total distance).
Can some one help we with how to decide the value of acceleration? Is there any specific calculation?
Also is the maximum speed calculation correct?
Am I going in right direction?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests