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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/29/03 21:49
Read: times


 
#51667 - RE: low pass filter algorithm for 8051
Responding to: ???'s previous message
I have used a simple version of FIR filter and it works very well, with no delay

Xo = ((G * Xo) + Xs)/(1+G)

where Xo is the last output from the equation,
G is the smoothing factor(0 no smoothing)
Xs is the ADC sample
you will have to initialize Xo to the very first sample.
you get very good smoothing with small (2,3) numbers for G.

ed.


List of 7 messages in thread
TopicAuthorDate
low pass filter algorithm for 8051            01/01/70 00:00      
RE: low pass filter algorithm for 8051            01/01/70 00:00      
RE: low pass filter algorithm for 8051            01/01/70 00:00      
   RE: low pass filter algorithm for 8051            01/01/70 00:00      
      RE: low pass filter algorithm for 8051            01/01/70 00:00      
         RE: low pass filter algorithm for 8051            01/01/70 00:00      
            RE: low pass filter algorithm for 8051            01/01/70 00:00      

Back to Subject List