Arduino-FOC icon indicating copy to clipboard operation
Arduino-FOC copied to clipboard

problem to notice the movement in the alignment of the sensor

Open AndSan97 opened this issue 2 years ago • 4 comments

I'm testing the torque control algorythm with arduino UNO, simple FOC shield (version 2.0.4) and BLDC motor (8 poles) with Hall sensors integrated. When I launch the program obtain "Failed to notice movement",what could be the problem?

AndSan97 avatar Oct 02 '23 07:10 AndSan97

During the sensor align procedure, SimpleFOC measures the direction of the sensor and the zero electrical angle offset. If your motor is not moving at all, it will fail.

Is your motor not moving ? Your driver could be set in a wrong way, or motor.voltage_sensor_align could be too low. Is your motor moving ? Then your sensor might be set in a wrong way.

Candas1 avatar Oct 02 '23 07:10 Candas1

When I launch the program the motor rotates before in a direction then change the direction in order to find the zero but It fails.

AndSan97 avatar Oct 02 '23 07:10 AndSan97

Well you have your answer then ;)

Candas1 avatar Oct 02 '23 08:10 Candas1

Thank you for the advices, I have tried to control the settings of Hall's sensor but obtain always the same problem. Maybe It's related to the low number of poles?

AndSan97 avatar Oct 05 '23 09:10 AndSan97