2025-10-06 1:52 AM
I am working on a project to drive a door using a PMSM motor in position control mode.
I've encountered a problem I can't solve. When the motor is positioned at some specific rotor positions, it fails to start properly and tends to spin out of control during the startup sequence.
There are very similar 2 posts titled “Loss of control whenever the motor starts at some specific points” (https://community.st.com/t5/stm32-mcus-motor-control/loss-of-control-whenever-the-motor-starts-at-some-specific/td-p/143892) and “Motor sometimes starts in wrong direction, because of wrong sign of Iq measured” (https://community.st.com/t5/stm32-mcus-motor-control/motor-sometimes-starts-in-wrong-direction-because-of-wrong-sign/td-p/64553).
Has anyone found a solution? If so, could you please share it with us?
Thanks in advance for your help.
Details:
ST MCW Ver : 6.4.0
STM32CubeIDE Ver : 1.19.0
Driving algorithm : FOC
Control board : Nucleo-G474RE
Power board : STEVAL-IHM023V3
Bridge : X-NUCLEO-IHM09M2
PMSM : 10 pairs
Encoder : Inremental, 1024