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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/22/11 08:05
Read: times


 
#185176 - Depends
Responding to: ???'s previous message
I often do a first pass filtering the raw data. Might for example read times, add and shift right 3 steps. The need for this depends on if the hw contains any electrical noise on the input data or the voltage reference etc.

Next step is that I may add a low-pass filter on the resulting data. This also depends a bit on what I am measuring. If level of a fluid in a container of a moving vehicle, then the surface level will obviously jump up and down with the movement of the car. In this case, it is irrelevant to filter for electrical noise affecting voltage reference or input signal.

Another issue is what speed you need to sample. If sampling 50kHz, then you don't want to perform 50000 conversions from raw data to a presentable unit. Much better to perform the filtering on raw data.

If sampling once/second, then it's natural that every sample will also be displayed, obviating the need for a conversion. Any filtering may be to decide if you should generate an alarm - maybe after having had 5 measurements in a row (5 seconds) outside acceptable level. So the filtering would be made on the already converted values.

List of 7 messages in thread
TopicAuthorDate
Software design placement of filter algorithms            01/01/70 00:00      
   Depends            01/01/70 00:00      
      As found out recently ...            01/01/70 00:00      
   Determined by linearity            01/01/70 00:00      
   I would filter the raw A2D data            01/01/70 00:00      
      Bipolar ADCs can have 2's complement output            01/01/70 00:00      
   Yes, it depends.            01/01/70 00:00      

Back to Subject List