2012-09-24 01:19 AM
Hello
I want to implement an encoder interface in a timer (Encoder Interface Mode). But how do I handle the sliding noise on the rising or falling edge of the A and B signal (see picture)? I would need some kind of debouncing of the signals. Sliding noise:2012-09-24 06:26 AM
You can use comparator, plug the A and A' signals into the comparator's input. And you can do it for B and B' or/and Z and Z' or you can use high-speed optocouplers.
2012-09-24 06:52 AM
1) what is the size of 'R' and how much capacitance (stray or otherwise) on the lines?
2) if the 'sliding noise' does not 'slide' past the transition of the other signal, what is the problem? 3) you are aware that the old nugget ''B equal direction, A equal clock'' misses at some direction changes 4) you are aware that whan an encoder stop just over a transition you can get VERY high frequency state changes Erik2012-11-28 01:15 AM
Is there anything that I can do by programming to filter a debounce input signal?