Moving Average and Exponential Average

A block moving Average have the following equation :








The actual implementation will require :
(1) N-tap delay element
(2) 1-tap delay element
(3) 1 shifter (If N = 2n)
(4) 2 adder

An exponential Average will have the following equation :






















Alpha value will decide the convergence speed and the weight of the current input signal or data. If the alpha value are smaller then the weight of the current input signal affect less.

The actual implementation will require :
(1) 1-tap delay element.
(2) 2 shifter (If alpha = 2
n)
(3) 1 adder


We can easily find out that the Exponential Average are easily to implement than the Moving Average. But if we need to observe the instantaneous change data , the moving average method will be accurate than exponential average method.
  

留言

這個網誌中的熱門文章

Spread Spectrum Clock Generation (SSCG)

SIFS/DIFS/PIFS (802.11 Mac Layer)