2025-03-28 2:02 AM
I am using ST’s Motor Control Workbench (MCW) version 6.3.2 to control a sliding door. I am using PMSM as motor and FOC as control method. PMSM has 10 pole pairs and there is a 1024 ppr incremental quadrature encoder on it (has not index pin). I am using Nucleo-G474RE, STEVAL-IHM023V3 and X-Nucleo-IHM09M2 boards.
I am having trouble with encoder alignment. if I'm not mistaken, ST MCW uses “move till aligned with phase A” method (see attachment) as the encoder alignment. But i have a mechanical limit and this will not allow the motor to perform the needed alignment movements. I have posted this in the motor control forum. Not answered yet (https://community.st.com/t5/stm32-mcus-motor-control/incremental-encoder-alignment-problem/td-p/775343)
Does ST have any plans to update MCW software to include the motionless start method into speed sensing configuration in the near future?
Can anyboady give/share source code/flow chart etc.?
Any information you provide will be gladly appreciated.
2025-04-21 11:36 PM
Hello @EDokm,
Thank you for your feedback and your long-term interest in our products.
It is not planed on ST to update MCW software to include the motionless start method into speed sensing configuration in the near future.
2025-04-25 5:37 AM
I am trying to control a sliding door. When the sliding door is in the fully closed position, the motor cannot rotate in the CCW direction at all, it can only rotate in the CW direction. In this case, in the event of a power failure, the encoder cannot align and motor stucks.
I have changed the rotation direction of motor by changing phase sequence (swapped 2 phases and 2 channels on the motor connector and encoder connector respectivelly). This action solved the encoder alignment problem for the fully closed position. But this is a makeshift.
Do you have any suggestions other than changing the direction of rotation of the motor?
Regards.