2021-09-02 03:19 AM - last edited on 2024-10-02 06: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 01:11 AM
Since your question is about STM32 MCSDK, I added STM32 Motor Control topic.
2024-10-02 07:57 AM
Hello Florian,
Could you attach your stwb6 project file. (renamed in .txt) ?
Regards
Cedric