Arduino-FOC
Arduino-FOC copied to clipboard
problem to notice the movement in the alignment of the sensor
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?
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.
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.
Well you have your answer then ;)
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?