cancel
Showing results for 
Search instead for 
Did you mean: 

Field oriented control with STEVAL-SPIN3201: Why does Motor always stops right after start up with speed feedback or start-up failure?

FMaur.1
Associate

Hello,

I have big troubles driving a motor with the STEVAL-SPIN3201 using FOC-Algorithms.

The motor is connected to the board and the code is generated using the MC workbench.

The motor always starts turning but then suddenly stops. I think it is the moment, when the final value of the speed ramp is reached. The motor pilot then shows speed feedback or start-up failure. I already tried different parameter settings.

Do you have an idea about the cause of this problem?

It would be great if you could help me.

Best regards,

Florian

2 REPLIES 2
Enrico Poli
ST Employee

Added STM32 Motor control topic

ARaj.1
Associate II

Your PWM frequency maybe too high. Anything above 15-16kHz caused problems as the PWM frequency is also what's used to trigger FOC calculation, and if the calculation takes longer than the period of the frequency you will get FOC error.