2025-02-12 04:56 AM
Hello,
I am currently working with a custom board using an STGIB15CH60TS-LZ driver and an STM32H503RBT6 microcontroller.
The motor is a 48V, 500W, 300 RPM brushless motor with three Hall effect sensors (120° mechanical angle, 300° electrical angle). It is used in an electric bike.
I am using the FOC algorithm with:
Everything works correctly, but I sometimes have an issue at startup and under load. Once the motor is running, the issue does not occur.
The image shows the three Hall effect sensors during a failed startup. In this case, the issue comes from the C2 signal.
I believe the problem is caused by small movements in the opposite direction of the expected motor rotation for the FOC algorithm. The motor controller returns a "speed feedback" error.
I am looking for a solution to prevent this error in the FOC algorithm since the reverse movements are unavoidable.
Thank you.