Sponsored Links
-->

Tuesday, January 9, 2018

osxAcousticEC - This SW has been replaced by FP-AUD-SMARTMIC1 ...
src: www.st.com

The Multidelay block frequency domain adaptive filter (MDF) algorithm is a block-based frequency domain implementation of the (normalised) Least mean squares filter (LMS) algorithm.


Video Multidelay block frequency domain adaptive filter



Introduction

The MDF algorithm is based on the fact that convolutions may be efficiently computed in the frequency domain (thanks to the Fast Fourier Transform). However, the algorithm differs from the Fast LMS algorithm in that block size it uses may be smaller than the filter length. If both are equal, then MDF reduces to the FLMS algorithm.

The advantages of MDF over the (N)LMS algorithm are:

  • Lower algorithmic complexity
  • Partial de-correlation of the input (which 'may' lead to faster convergence)

Maps Multidelay block frequency domain adaptive filter



Variable definitions

Let N {\displaystyle N} be the length of the processing blocks, K {\displaystyle K} be the number of blocks and F {\displaystyle \mathbf {F} } denote the 2Nx2N Fourier transform matrix. The variables are defined as:

e _ ( l ) = F [ 0 1 x N , e ( l N ) , ... , e ( l N - N - 1 ) ] T {\displaystyle {\underline {\mathbf {e} }}(\ell )=\mathbf {F} \left[\mathbf {0} _{1xN},e(\ell N),\dots ,e(\ell N-N-1)\right]^{T}}
x _ k ( l ) = d i a g { F [ x ( ( l - k + 1 ) N ) , ... , x ( ( l - k - 1 ) N - 1 ) ] T } {\displaystyle {\underline {\mathbf {x} }}_{k}(\ell )=\mathrm {diag} \left\{\mathbf {F} \left[x((\ell -k+1)N),\dots ,x((\ell -k-1)N-1)\right]^{T}\right\}}
X _ ( l ) = [ x _ 0 ( l ) , x _ 1 ( l ) , ... , x _ K - 1 ( l ) ] {\displaystyle {\underline {\mathbf {X} }}(\ell )=\left[{\underline {\mathbf {x} }}_{0}(\ell ),{\underline {\mathbf {x} }}_{1}(\ell ),\dots ,{\underline {\mathbf {x} }}_{K-1}(\ell )\right]}
d _ ( l ) = F [ 0 1 x N , d ( l N ) , ... , d ( l N - N - 1 ) ] T {\displaystyle {\underline {\mathbf {d} }}(\ell )=\mathbf {F} \left[\mathbf {0} _{1xN},d(\ell N),\dots ,d(\ell N-N-1)\right]^{T}}

With normalisation matrices G 1 {\displaystyle \mathbf {G} _{1}} and G 2 {\displaystyle \mathbf {G} _{2}} :

G 1 = F [ 0 N x N 0 N x N 0 N x N I N x N ] F H {\displaystyle \mathbf {G} _{1}=\mathbf {F} {\begin{bmatrix}\mathbf {0} _{NxN}&\mathbf {0} _{NxN}\\\mathbf {0} _{NxN}&\mathbf {I} _{NxN}\\\end{bmatrix}}\mathbf {F} ^{H}}
G ~ 2 = F [ I N x N 0 N x N 0 N x N 0 N x N ] F H {\displaystyle {\tilde {\mathbf {G} }}_{2}=\mathbf {F} {\begin{bmatrix}\mathbf {I} _{NxN}&\mathbf {0} _{NxN}\\\mathbf {0} _{NxN}&\mathbf {0} _{NxN}\\\end{bmatrix}}\mathbf {F} ^{H}}
G 2 = d i a g { G ~ 2 , G ~ 2 , ... , G ~ 2 } {\displaystyle \mathbf {G} _{2}=\mathrm {diag} \left\{{\tilde {\mathbf {G} }}_{2},{\tilde {\mathbf {G} }}_{2},\dots ,{\tilde {\mathbf {G} }}_{2}\right\}}

In practice, when multiplying a column vector x {\displaystyle \mathbf {x} } by G 1 {\displaystyle \mathbf {G} _{1}} , we take the inverse FFT of x {\displaystyle \mathbf {x} } , set the first N {\displaystyle N} values in the result to zero and then take the FFT. This is meant to remove the effects of the circular convolution.




Algorithm description

For each block, the MDF algorithm is computed as:

y ^ _ ( l ) = G 1 X _ ( l ) h ^ _ ( l - 1 ) {\displaystyle {\underline {\hat {\mathbf {y} }}}(\ell )=\mathbf {G} _{1}{\underline {\mathbf {X} }}(\ell ){\underline {\hat {\mathbf {h} }}}(\ell -1)}
e _ ( l ) = d _ ( l ) - y ^ _ ( l ) {\displaystyle {\underline {\mathbf {e} }}(\ell )={\underline {\mathbf {d} }}(\ell )-{\underline {\hat {\mathbf {y} }}}(\ell )}
? x x ( l ) = X _ H ( l ) X _ ( l ) {\displaystyle \mathbf {\Phi } _{\mathbf {xx} }(\ell )={\underline {\mathbf {X} }}^{H}(\ell ){\underline {\mathbf {X} }}(\ell )}
h ^ _ ( l ) = h ^ _ ( l - 1 ) + ? G 2 ? x x - 1 ( l ) X _ H ( l ) e _ ( l ) {\displaystyle {\underline {\hat {\mathbf {h} }}}(\ell )={\underline {\hat {\mathbf {h} }}}(\ell -1)+\mu \mathbf {G} _{2}\mathbf {\Phi } _{\mathbf {xx} }^{-1}(\ell ){\underline {\mathbf {X} }}^{H}(\ell ){\underline {\mathbf {e} }}(\ell )}

It is worth noting that, while the algorithm is more easily expressed in matrix form, the actual implementation requires no matrix multiplications. For instance the normalisation matrix computation ? x x = X _ H ( l ) X _ ( l ) {\displaystyle \mathbf {\Phi } _{\mathbf {xx} }={\underline {\mathbf {X} }}^{H}(\ell ){\underline {\mathbf {X} }}(\ell )} reduces to an element-wise vector multiplication because X _ ( l ) {\displaystyle {\underline {\mathbf {X} }}(\ell )} is block-diagonal. The same goes for other multiplications.




References

  • J.-S. Soo and K. Pang, "Multidelay block frequency domain adaptive filter," IEEE Transactions on Acoustics, Speech and Signal Processing, vol. 38, no. 2, pp. 373-376, 1990.
  • H. Buchner, J. Benesty, W. Kellermann, "An Extended Multidelay Filter: Fast Low-Delay Algorithms for Very High-Order Adaptive Systems". Proc. IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP), 2003.
  • A free implementation of the MDF algorithm is available in Speex (main source file)



See also

  • Adaptive filter
  • Recursive least squares
  • For statistical techniques relevant to LMS filter see Least squares.

Source of article : Wikipedia