AnsweredAssumed Answered

Stepper motor speed control with powerstep01 (X-NUCLEO-IHM03A1 )

Question asked by Simon Laporte on Jul 5, 2018
Latest reply on Jul 12, 2018 by Simon Laporte

I am using an X-NUCLEO-IHM03A1 board (powerstep01) to control a stepper motor (17HS24-0644S) speed.


When I use the command "Run (DIR, SPD)" over SPI interface, I observed that the speed in step/s is not exactly the same as requested. (e.g requested 200 step/s, result is 198.4 step/s)


I have noticed that by changing slightly the voltage value of the powerstep01 pin VDDIO the speed of the motor changes as well for the same requested value.


For example:

VDD = 3.3V speed = 198.4 step/s,

VDD = 3.4V gives 196 step/s

VDD = 3.2V = 201.6 step/s




My application requires to control the speed of several stepper motors precisely and currently this is an issue since the speed varies according to VDD and it is very sensitive.


Does anyone knows about this issue, is there a workaround 


Note: I used the library from IHM03A1_ExampleFor3Motors - Motion control example for 3 motors. | Mbed 

with the same initialization parameters.






stepper motor

stepper motor driver