dsPIC30F Quadrature Encoder Interface Module
© 2005 Microchip Technology Inc.
Page 8
© 2005 Microchip Technology Incorporated. All Rights Reserved. dsPIC30F Quadrature Encoder Interface Module 8
Digital Filters
T
CY
QEA/B
Filter
Here we can see that the input signal at the QEA or QEB pin is sampled using
the selected clock, in this case the instruction cycle period Tcy. If at least three
samples having the same value are detected the output is updated, otherwise
the input signal changes are disregarded. Glitches and spikes can be efficiently
filtered out by the digital filters.