cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL-PTOOL2V1, STSPIN32F0252, Motor stall setting

eric239955_stm1
Associate II

The motor will stall at lower RPM,

We found that the MCU did not detect a high current pull before the rotor stalled.

Stop the motor because of MC_LF_TIMER_FAILURE (RUN_STAY_WHILE_STALL_MS set to 2000, should be enough),

Is there any parameter that can be adjusted so that the current is pulled up before the rotor is blocked?

In addition, should the detected motor current be pulled high after the rotor is locked (maintain RUN_STAY_WHILE_STALL_MS for some time) ?

1 ACCEPTED SOLUTION

Accepted Solutions
Cristiana SCARAMEL
ST Employee

Hello @Community member​,

to control the current during operation, you should monitor the ADC connected to the ‘Curr_fdbk’ signal on PA5, after having properly configured the gain of the U2A operational amplifier.

To prevent excessive current during rotor stall, you should also dimension the overcurrent protection by changing, if needed, the gain of U2B operational amplifier, which brings the shunt signal on the internal overcurrent comparator (VREF threshold of 460 mV typ. value).

Note that, it is not recommended to maintain energized phases for a longer time when stall is detected, to avoid overheating of the motor coils. 

I hope this post can help you, if so please "Select as Best" button.

If you feel a post has answered your question, please click "Accept as Solution"

View solution in original post

1 REPLY 1
Cristiana SCARAMEL
ST Employee

Hello @Community member​,

to control the current during operation, you should monitor the ADC connected to the ‘Curr_fdbk’ signal on PA5, after having properly configured the gain of the U2A operational amplifier.

To prevent excessive current during rotor stall, you should also dimension the overcurrent protection by changing, if needed, the gain of U2B operational amplifier, which brings the shunt signal on the internal overcurrent comparator (VREF threshold of 460 mV typ. value).

Note that, it is not recommended to maintain energized phases for a longer time when stall is detected, to avoid overheating of the motor coils. 

I hope this post can help you, if so please "Select as Best" button.

If you feel a post has answered your question, please click "Accept as Solution"