Stepper motor speed control with powerstep01 (X-NUCLEO-IHM03A1 )
Posted on July 05, 2018 at 00:09
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/sVDD =
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
https://os.mbed.com/teams/ST/code/IHM03A1_ExampleFor3Motors/
with the same initialization parameters.
Datasheet:
