Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/21/05 10:24
Read: times


 
#95444 - Not debounce. Hysteresis/schmitt
Responding to: ???'s previous message
Debouncing is a different problem - vibrations that generate quite a variable range of levels, often stepping into each of "legal zones" before stabilizing. So if you expect "bouncing" signal, you just need to ignore its changes for a moment, until it stabilizes.

In case of signal between "legal 0" and "legal 1", you should use a part specifically designed to eliminate this problem: a schmitt trigger as a buffer. This way the output doesn't change when the input voltage is in the "grey zone", that is the output will remain 0 until the input goes above healthy VIH, and then remains 1 until input goes back below VIL. Temporary entering the "grey zone" won't change the output value.
The problem may be in some small spikes of voltage, say, you have 1V which should in your case mean 0, but a short random spike triggers the trigger to output 1V input as pure 5V "1" output until the voltage drops below 0.8V for at least a moment. You can prevent this with an antialiasing filter - just a capacitor between the line and the ground. Just note - the bigger the capacitor, the bigger spikes it will be able to absorb, but also the more it will delay the signal so short pulses may get lost.

List of 49 messages in thread
TopicAuthorDate
Invalid input voltage?            01/01/70 00:00      
   read the specs            01/01/70 00:00      
      Re:read the specs            01/01/70 00:00      
         Noise margins            01/01/70 00:00      
            Re:Noise margins            01/01/70 00:00      
            MAKE the signal determinate            01/01/70 00:00      
   0 or 1            01/01/70 00:00      
      Fuzzy logic...?!            01/01/70 00:00      
         zone between VIL and VIH            01/01/70 00:00      
         zone between VIL and VIH            01/01/70 00:00      
            The 'grey' zone            01/01/70 00:00      
               Illogical signals help us to having...            01/01/70 00:00      
                  Well, I'm lost!            01/01/70 00:00      
                     Re:Well, I'm lost!            01/01/70 00:00      
                        Scopes            01/01/70 00:00      
                           Re:Scopes            01/01/70 00:00      
                     7 or 9 value logic            01/01/70 00:00      
                  I understand what Mehdi is saying.....            01/01/70 00:00      
                     Ah            01/01/70 00:00      
                     excellent, Michael            01/01/70 00:00      
                        triad            01/01/70 00:00      
                     wow, Mike            01/01/70 00:00      
                     There's the rub            01/01/70 00:00      
                     Detect What?            01/01/70 00:00      
                     Absolutely but!            01/01/70 00:00      
                        a question based on a guess            01/01/70 00:00      
               Not debounce. Hysteresis/schmitt            01/01/70 00:00      
                  Re:Not debounce. Hysteresis/schmitt            01/01/70 00:00      
                     Well, then ADC.            01/01/70 00:00      
         It Could be            01/01/70 00:00      
            "undefined operation"            01/01/70 00:00      
               Undefined            01/01/70 00:00      
                  Exactly            01/01/70 00:00      
   Thanks...            01/01/70 00:00      
      based on the above            01/01/70 00:00      
         Erik:Based on mehdi's emphasis            01/01/70 00:00      
            Thanks            01/01/70 00:00      
            Wow.            01/01/70 00:00      
               I describe it!            01/01/70 00:00      
                  Service            01/01/70 00:00      
                  I will never            01/01/70 00:00      
                     I will always            01/01/70 00:00      
            the missing if            01/01/70 00:00      
   Port 0 output when no power            01/01/70 00:00      
      Port 0 to Port 0.            01/01/70 00:00      
         Voltage Divder of 10k            01/01/70 00:00      
            nope            01/01/70 00:00      
               2 line solution            01/01/70 00:00      
                  I do somethimes my thumbs have another o            01/01/70 00:00      

Back to Subject List