Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Linear and Rotary Encoders by Thomas E. Kissell Industrial Electronics said:One of the major drawbacks of the incremental encoder is that the number of pulses that are counted are stored in a buffer or external counter. If power loss occurs, the count will be lost. This means that if a machine with an encoder has its electricity turned off each night or for maintenance, the encoder will not know its exact position when power is restored. The encoder must use a home-detection switch to indicate the correct machine position. The incremental encoder uses a homing routine that forces the motor to move until a home limit switch is activated. When the home limit switch is activated, the buffer or counter is zeroed and the system knows where it is relative to fixed positional points. The absolute encoder is designed to correct this problem. It is designed in such a way that the machine will always know its location.
jorgito said:Hello Farmer,
I think you are right.
The algorithm is not correct.
Supose that A is high and B is high. Now consider a little vibration in the axis, rotor or anything your encoder is conected to. The oscilation could be small, as to not change the B phase state. So, every time you sense a negative edge in A you are incrementing Counter.
The encoder algorithm needs to remember the A edge and count up or down in the B edge.
Hope this helps.
Best regards