AB orthogonal 2 Hall encoder + 8 pole magnetic ring closed-loop control problem

Hello, I am using simplefoc to debug my brushless motor, due to structural problems, there is no way to install the magnetic encoder, AB orthogonal 2 Hall encoders are used to detect the magnetic ring of 8 poles. Can this encoder do speed and position closed-loop? Is there any relationship with the number of poles in the ring? I didn’t debug successfully, based on the speed closed-loop control of this encoder, the motor keeps jittering? I don’t know if it’s because of this encoder? Thanks for informing

1 Answer

1

Hey @5683junwei, welcome to SimpleFOC!

How many CPR does this encoder give you? 8 x 4 in quadrature mode, for 32 CPR?

I think this would be too low for effective control of the motor. How many pole pairs is the motor?

Thank you. Yes, I feel that this is also the reason for the low CPR. My motor has 10 pairs of poles

What is the appropriate CPR of the encoder?

I think for FOC on a 10 pole pair motor at least something like 500 CPR - that would then give you 50 counts per electrical revolution, equals a resolution of 7.2 electrical degrees per count. That should be enough to allow for a calibration and decent commutation, but even more resolution would be better