I have two main question about the subject of "Quadrature encoder" of DC motors. I provide the following link of a DC motor with integrated encoder: https://www.aliexpress.com/item/1005005947866498.html in the encoder specifications it says: "Basic pulse number : 11PPR" and yet just bellow, it says: "Number of magnetic ring trigger poles: 22 poles (11 pairs of poles)". As far as I understood, the 11 PPR, is the number of pulses per revolution. but what about the second statement, the 22 poles ?
the datasheet of the motor gives RPM=9968 (with no ration) which is approximately 1043 rad/s
what made me to ask this question, is that I have used an arduino mega to measure the speed of the motor in an open loop case (rad/s), using the concept of encoder interrupt to calculate the speed as follows
speed = ((position - lastposition)/11*deltaT)*2*pi; //deltaT in seconds, already converted
and when I used the serial monitor or plotter to debug, I have noticed that the rotation speed is twice the expected one (around 2100 rad/s).
another question is in the following video: https://www.youtube.com/watch?v=HRaZLCBFVDE at time 6:12 where the encoder is explained, from the motor specification, the encoder has 64 counts per revolution (CPR), but when it comes to the programming part, the author uses 16 counts unstead of 64, could anyone explain to me that ?
author uses 16 counts unstead of 64... why would you wait for a full revolution before checking the speed? \$\endgroup\$what about the second statement, the 22 poles ?... what about them ? ... please do not ask vague questions \$\endgroup\$