AnsweredAssumed Answered

BLDC Motor with FOC SDK V4.3 sometimes stops delayed

Question asked by Martin Leibinnis on Jul 13, 2017
Latest reply on Jul 18, 2017 by Martin Leibinnis

We are using the FOC SDK V4.3 on a STM32F302. Motor is an e-bike motor with 550W 36V 20poles, using Hall-Sensors.

System is running fine so far. But sometimes when calling the function MCI_StopMotor(mci) we experience a delay of about 20 seconds until the motor really stops and the function MCI_GetSTMState(mci) returns IDLE. The function MCI_StopMotor(mci) does return TRUE.

 

We call MCI_StopMotor(mci) and then (if it returns TRUE, what it always does) wait until MCI_GetSTMState(mci) returns IDLE. But this sometimes leads to long delays, as mentioned. The motor just keeps spinning with the actual speed for about 20 seconds and then stops. Of course this behaviour is somewhat critical in an e-bike application.

 

What can we do about this issue? It is difficult to reproduce, but it does happen from time to time.

Can anyone help?

 

Thanks in advance,

Martin

Outcomes