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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/16/08 07:36
Modified:
  05/16/08 08:22

Read: times


 
#154816 - I shouldn\\\'t post after a long workday ...
Responding to: ???'s previous message
... since I'll end up omitting half of what I intended to say and the rest becomes incomprehensible.

Yes, if you truncate/round the filter output to the number of bits that the ADC outputs, you'll not be able to stop the LSB from flickering in a case where the ADC input value is sufficiently close to the threshold between two steps. Truncation adds 1 LSB or noise, rounding adds 0.5 LSB of noise.

If you keep the additional bits of precision gained by filtering, then you can get the flickering to below the ADC resolution, effectively getting a number of stable bits that is equal to or even larger than the ADC resolution, at the cost of having to carry around additional bits after that (that's the point I forgot earlier - you need to keep those bits instead of throwing them away). However, as soon as you truncate/round that value to the ADC resolution (e.g. for output, to save memory, etc), you're adding 0.5-1 LSB of round-off/truncation noise and the last (ADC resolution) bit will flicker again.

I hope I'm making more sense now than in the earlier posting, and I realize that this doesn't really help the OP since he needs to round his value to the output resolution at some point.

I also apologize for my short temper. I've found myself explaining "their own" spec to "them" at work too often lately (not calling any names here), which starts to wear down my patience outside work.



List of 41 messages in thread
TopicAuthorDate
ADC smoothing assistance...            01/01/70 00:00      
   Low-pass filter            01/01/70 00:00      
      How stabile is your power supply?            01/01/70 00:00      
         Not very, apparently.            01/01/70 00:00      
            Getting better...            01/01/70 00:00      
            To ground            01/01/70 00:00      
            Start by cleaning up the supply ...            01/01/70 00:00      
               Right!            01/01/70 00:00      
            Correction.            01/01/70 00:00      
               Maybe what you need is a low-impedance probe            01/01/70 00:00      
                  Springtime...            01/01/70 00:00      
                     yes, that looks like mine ... sort-of            01/01/70 00:00      
      Still listening...            01/01/70 00:00      
   Digital and Analog            01/01/70 00:00      
   try steady and more than minimum            01/01/70 00:00      
   ahhhhhh...........so its not only me!            01/01/70 00:00      
   is 2 lsb random error close enough?            01/01/70 00:00      
      Thanks...            01/01/70 00:00      
      Yep.....and that IS the final answer......            01/01/70 00:00      
      Don't truncate ...            01/01/70 00:00      
   LSB flickering            01/01/70 00:00      
      Erm ... not quite true.            01/01/70 00:00      
         Specific Case....            01/01/70 00:00      
            Should work in any case ...            01/01/70 00:00      
         Sorry, but you are entirely wrong...            01/01/70 00:00      
            You must know more about the flickering            01/01/70 00:00      
            I shouldn\\\'t post after a long workday ...            01/01/70 00:00      
   I need to chime in on this thread,,,,            01/01/70 00:00      
      throwing away bits            01/01/70 00:00      
      Integrate and Decimate            01/01/70 00:00      
         Here's my code            01/01/70 00:00      
            Where's the integration?            01/01/70 00:00      
         Dropping bits will not prevent flickering...            01/01/70 00:00      
            this confuses the issue            01/01/70 00:00      
               Immanent flickering            01/01/70 00:00      
                  I don't disagree ...            01/01/70 00:00      
                     Precision...            01/01/70 00:00      
   How I solved my Midi Controller LSB Flicker/Flutte            01/01/70 00:00      
      "Slack" same as hystersis            01/01/70 00:00      
         Sorry!            01/01/70 00:00      
      slack            01/01/70 00:00      

Back to Subject List