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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/20/06 05:20
Read: times


 
#114594 - More sophisticated? Maybe not.
Responding to: ???'s previous message
Kai Klaas said:

But doesn't mean this, that you have to sample the output of integrator during the whole bouncing event plus an extra time and that you have to analyze the samples in order to interpret the slopes by a suited algorithm? Isn't this much more sophisticated than "my" methode of only looking for the last toggling? ...


Perhaps not. After all, the method I propose requires only that he monitor the integrator voltage until its delta becomes nonzero, and then start timing. Prior to that time, he knows the switch has not yet bounced for the first time. Subsequently, he monitors until he encounters a steady stream of samples at the KNOWN maximum voltage delta. Once that point is reached, he knows the reed has stopped bouncing, and since he knows how long each delta is, he can easily deduct the number of samples at which the delta is the same as the known maximum. I don't think this needs a particularly sophisiticated algorithm. If the current before the first bounce is know, and the current after the last bounce is known, then all that remains is to collect samples, compute the delta, compare them against the known threshold values (perhaps with a "fudge factor" to allow for small relay variations and inaccuracies in the converter), then subtract the time for the number of samples necessary to convince onesself that the bounce has ended.

In real life, of course, the terminal delta may vary just a bit, in fact, probably at least an LSB, so the challenge is to evaluate that "bit" of error and learn to recognize it and compensate for it.

This test shouldn't take long, so the average of several attempts would probably validate a series of sample sequences, and still take less than a second.

A simple single simple loop will do the whole job, I believe, with a bit of setup and a bit of post-processing.

RE




List of 52 messages in thread
TopicAuthorDate
Measuring Bounce of a Reed Switch            01/01/70 00:00      
   Current progress.            01/01/70 00:00      
      reply            01/01/70 00:00      
         DSO            01/01/70 00:00      
            Of course its a good idea ;-)            01/01/70 00:00      
               also..            01/01/70 00:00      
                  Rather redrawing, i prefer ...            01/01/70 00:00      
   Schematic is incomplete            01/01/70 00:00      
      Simple way            01/01/70 00:00      
   I would do it like that            01/01/70 00:00      
      detecting end of bounce?            01/01/70 00:00      
         Much simpler            01/01/70 00:00      
            this is all getting complicated            01/01/70 00:00      
               there may be definition problem here            01/01/70 00:00      
                  Thanks Richard            01/01/70 00:00      
                  Question and answer            01/01/70 00:00      
                     You're right, of course            01/01/70 00:00      
                        They tell it here            01/01/70 00:00      
                           Yes, it's pretty complete.            01/01/70 00:00      
                              Form A            01/01/70 00:00      
                     More sophisticated? Maybe not.            01/01/70 00:00      
                        OK brass tacks            01/01/70 00:00      
                           that's the basic idea            01/01/70 00:00      
                              60386 processor            01/01/70 00:00      
                                 that wasn't the point, Suresh            01/01/70 00:00      
                                    resolution/max error using ralph            01/01/70 00:00      
                                       not so fast ...            01/01/70 00:00      
                                    reply            01/01/70 00:00      
                                       Really?            01/01/70 00:00      
                                          I doubted when i typed            01/01/70 00:00      
                                             and the manual is right! sorry.            01/01/70 00:00      
                                                Really?            01/01/70 00:00      
                                                   correction            01/01/70 00:00      
                                                      There could be. But I made the mistake            01/01/70 00:00      
            Quantum flux compensator?            01/01/70 00:00      
               is it still April 1            01/01/70 00:00      
                  You are right but,            01/01/70 00:00      
               he means a flux capacitor ...            01/01/70 00:00      
                  And I thought...            01/01/70 00:00      
                  Compensator            01/01/70 00:00      
                     Translation            01/01/70 00:00      
            quantum flux capacitor?            01/01/70 00:00      
               language, culture            01/01/70 00:00      
                  reply : april 1!            01/01/70 00:00      
                     no, it was a natural response            01/01/70 00:00      
                        Ok Erik.            01/01/70 00:00      
                           The "Flux Capacitor" is from a movie            01/01/70 00:00      
                              Yes. to some extent!            01/01/70 00:00      
                     Never wanted to fool you!            01/01/70 00:00      
                        Obviously            01/01/70 00:00      
                           A joke and fooling someone is NOT the sa            01/01/70 00:00      
                              This made me think like that            01/01/70 00:00      

Back to Subject List