|
|||||
May 8, 1997 Circuit simulates contact bounceShyam Sunder Tiwari, IGCAR, Kalpakkam, India The circuit in Figure 1a simulates contact bounce of electromechanically and mechanically actuated electrical contacts. The circuit generates contact-bounce pulses for contact closing and opening. You can easily program the contact-bounce period and frequency through variable resistors. This circuit is useful for testing debouncing-hardware circuits and debouncing-software programs. Figure 1b shows the input and output waveforms. The input signal can be low-active or high-active TTL, or the circuit can generate the input by connecting R3 and C3 to IC1A in Figure 1a. If you don't use an external input signal, then the input remains an open circuit. Thus, you can use IC1A either as a buffer for external signals or as an oscillator with R3 and C3. The output of IC1A connects to the delay generator comprising R1 and C1. Varying R1 varies the bounce period. IC2A compares the delayed and direct outputs of IC1A. The output of this comparator controls gated-oscillator IC3A. R2 and C2 set the oscillator frequency. The number of oscillator pulses within the bounce period varies with frequency. Hence, to accommodate the same number of pulses at different frequencies, you need to tune together both R1 and R2. XOR gate IC2B compares the output of the gated oscillator with the output of IC1A to generate the desired output. The output is a modified signal with embedded bounce pulses. The circuit works well with a 5V dc power source. In addition to HCT logic, other CMOS ICs in the HC, ACT, and C families are suitable. However, LS and S series of bipolar ICs may not work well with high values of resistors and low values of capacitors. (DI #2018) |
|||||
|
|||||
| EDN Access | Feedback | Table of Contents | |
|||||
| Copyright © 1997 EDN Magazine, EDN Access. EDN is a registered trademark of Reed Properties Inc, used under license. EDN is published by Cahners Publishing Company, a unit of Reed Elsevier Inc. | |||||