Multidelay block frequency domain adaptive filter
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.
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)
Variable definitions
Let [math]\displaystyle{ N }[/math] be the length of the processing blocks, [math]\displaystyle{ K }[/math] be the number of blocks and [math]\displaystyle{ \mathbf{F} }[/math] denote the 2Nx2N Fourier transform matrix. The variables are defined as:
- [math]\displaystyle{ \underline{\mathbf{e}}(\ell) = \mathbf{F}\left[ \mathbf{0}_{1xN}, e(\ell N),\dots,e(\ell N-N-1) \right]^T }[/math]
- [math]\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\} }[/math]
- [math]\displaystyle{ \underline{\mathbf{X}}(\ell) = \left[ \underline{\mathbf{x}}_0(\ell), \underline{\mathbf{x}}_1(\ell), \dots, \underline{\mathbf{x}}_{K-1}(\ell) \right] }[/math]
- [math]\displaystyle{ \underline{\mathbf{d}}(\ell) = \mathbf{F}\left[ \mathbf{0}_{1xN}, d(\ell N),\dots,d(\ell N-N-1) \right]^T }[/math]
With normalisation matrices [math]\displaystyle{ \mathbf{G}_1 }[/math] and [math]\displaystyle{ \mathbf{G}_2 }[/math]:
- [math]\displaystyle{ \mathbf{G}_1 = \mathbf{F}\begin{bmatrix} \mathbf{0}_{N\times N} & \mathbf{0}_{N\times N} \\ \mathbf{0}_{N\times N} & \mathbf{I}_{N\times N} \\ \end{bmatrix}\mathbf{F}^H }[/math]
- [math]\displaystyle{ \tilde{\mathbf{G}}_2 = \mathbf{F}\begin{bmatrix} \mathbf{I}_{N\times N} & \mathbf{0}_{N\times N} \\ \mathbf{0}_{N\times N} & \mathbf{0}_{N\times N} \\ \end{bmatrix}\mathbf{F}^H }[/math]
- [math]\displaystyle{ \mathbf{G}_2 = \operatorname{diag} \left\{ \tilde{\mathbf{G}}_2, \tilde{\mathbf{G}}_2, \dots, \tilde{\mathbf{G}}_2 \right\} }[/math]
In practice, when multiplying a column vector [math]\displaystyle{ \mathbf{x} }[/math] by [math]\displaystyle{ \mathbf{G}_1 }[/math], we take the inverse FFT of [math]\displaystyle{ \mathbf{x} }[/math], set the first [math]\displaystyle{ N }[/math] 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:
- [math]\displaystyle{ \underline{\hat{\mathbf{y}}}(\ell) = \mathbf{G}_1 \underline{\mathbf{X}}(\ell) \underline{\hat{\mathbf{h}}}(\ell-1) }[/math]
- [math]\displaystyle{ \underline{\mathbf{e}}(\ell) = \underline{\mathbf{d}}(\ell) - \underline{\hat{\mathbf{y}}}(\ell) }[/math]
- [math]\displaystyle{ \mathbf{\Phi}_\mathbf{xx}(\ell) = \underline{\mathbf{X}}^H(\ell)\underline{\mathbf{X}}(\ell) }[/math]
- [math]\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) }[/math]
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 [math]\displaystyle{ \mathbf{\Phi}_\mathbf{xx} = \underline{\mathbf{X}}^H(\ell)\underline{\mathbf{X}}(\ell) }[/math] reduces to an element-wise vector multiplication because [math]\displaystyle{ \underline{\mathbf{X}}(\ell) }[/math] 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.
Original source: https://en.wikipedia.org/wiki/Multidelay block frequency domain adaptive filter.
Read more |