Implement Encoder Interface Mode and debounce input signals?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-09-24 1:19 AM
Posted on September 24, 2012 at 10:19
Sliding noise:
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.
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-09-24 6:26 AM
Posted on September 24, 2012 at 15:26
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-09-24 6:52 AM
Posted on September 24, 2012 at 15:52
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 ErikOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-11-28 1:15 AM
Posted on November 28, 2012 at 10:15
Is there anything that I can do by programming to filter a debounce input signal?
