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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Matthias Arndt
12/22/11 00:54
Read: 669 times

#185175 - Software design placement of filter algorithms
Hello together,

this is a more generic topic regarding software design of placement of filter algorithms within the application architecture.

Assume the application samples a raw input, maybe directly the result of an ADC conversion.
This value is later interpreted as a physical value like a temperature or pressure and likely to be imprecise and has some jitter. Thus a filter is needed.

Which way would you choose?
a) filter the raw ADC value first, convert it later to a physical representation on the application layer
b) first convert to physical representation on the application layer and filter it afterwards

(Physical representation here means a fixedpoint representation such as 1/10 degrees celsius per bit)

I personally feel a bit undecided which one to choose. It probably depends on the actual hardware in use.

Are there any comments or general design guidelines on this topic?


List of 7 messages in thread
Software design placement of filter algorithms      Matthias Arndt      12/22/11 00:54      
   Depends      Per Westermark      12/22/11 01:05      
      As found out recently ...      Christoph Franck      12/23/11 03:41      
   Determined by linearity      Oliver Sedlacek      12/22/11 06:08      
   I would filter the raw A2D data      Bert Van Den Berg      12/22/11 10:33      
      Bipolar ADCs can have 2's complement output      Kalpak Dabir      12/23/11 05:50      
   Yes, it depends.      Christoph Franck      12/23/11 03:38      

Back to Subject List