Skip to main content
FMaur.1
Visitor II
September 2, 2021
Question

MC Workbench Sensorless motor Control: motor goes to full speed at start up, desired speed later?

  • September 2, 2021
  • 3 replies
  • 1114 views

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

3 replies

Cristiana SCARAMEL
Technical Moderator
September 3, 2021

Since your question is about STM32 MCSDK, I added STM32 Motor Control topic.

"If you feel a post has answered your question, please click ""Accept as Solution"""
cedric H
Technical Moderator
October 2, 2024

Hello Florian,

Could you attach your stwb6 project file. (renamed in .txt) ?

Regards

Cedric

Visitor II
January 8, 2026

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

GMA
Technical Moderator
January 9, 2026

Hello @ashok_083,

Because the original post is outdated, create a new post that includes these recommendations.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA