2021-09-02 3:19 AM - last edited on 2024-10-02 6:29 AM by Andrew Neil
Hello,
I am driving a motor using the STEVAL-SPIN3201. The code is generated via the mc workbench.
When I test the programm, the motor behaves like that:
The motor starts up slowly according to the start up procedure I chose in the workbench.
Then suddenly the motor moves with fullspeed for some seconds.
After this the motor slowes down to the desired speed. Now I am able to change this speed via the motor pilot.
When I change the Kp and Ki value, I can reduce the duration of the "full speed periode". However, it is still there.
Can you explain what is happening and why the motor moves to full speed for a short time?
Thanks a lot for your help!
Florian
2021-09-03 1:11 AM
Since your question is about STM32 MCSDK, I added STM32 Motor Control topic.
2024-10-02 7:57 AM
Hello Florian,
Could you attach your stwb6 project file. (renamed in .txt) ?
Regards
Cedric
2026-01-08 10:49 AM
Hi,
I have similar issue, the motor starts off slow and after a while revs at full speed and slowly comes to the set speed.
Regards
Ashok
2026-01-08 11:11 PM
Hello @ashok_083,
Because the original post is outdated, create a new post that includes these recommendations.