hr_rezaee
Advanced Member level 3
- Joined
- Oct 6, 2004
- Messages
- 747
- Helped
- 109
- Reputation
- 218
- Reaction score
- 24
- Trophy points
- 1,298
- Location
- Iran-Mashhad
- Activity points
- 4,025
How I can remove bounce of relay ?
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.
VVV said:The method I keep recommending for this is the use of a D-type flip-flop. Feed the signal from the relay to the D input of the FF. Clock the FF with a frequency that is lower than: 1/ Tbounce, where Tbounce is the time required for the bouncing action to end (typically 5-20ms). Thus, if the clock to the FF is 50Hz, you will get nice, clean pulses at the Q, Q/ outputs, even if the bounce time takes 20ms
However, in your case, the bounce time must be less, if the relay can actually switch at 100Hz. Therefore, I recommend you measure the actual bounce time for your relay, add some margin to it and then calculate the frequency of the FF clock.
This works great.