- Wiener filter
In
signal processing , the Wiener filter is a filter proposed byNorbert Wiener during the 1940s and published in 1949.ref|Wiener1949 Its purpose is to reduce the amount ofnoise present in a signal by comparison with an estimation of the desired noiseless signal.Description
The goal of the Wiener filter is to filter out
noise that has corrupted a signal. It is based on astatistical approach.Typical filters are designed for a desired
frequency response . The Wiener filter approaches filtering from a different angle. One is assumed to have knowledge of the spectral properties of the original signal and the noise, and one seeks the LTI filter whose output would come as close to the original signal as possible. Wiener filters are characterized by the following:ref|Brown1996
# Assumption: signal and (additive) noise are stationary linearstochastic process es with known spectral characteristics or knownautocorrelation andcross-correlation
# Requirement: the filter must be physically realizable, i.e.causal (this requirement can be dropped, resulting in a non-causal solution)
# Performance criterion:minimum mean-square error This filter is frequently used in the process of
deconvolution ; for this application, seeWiener deconvolution .Model/problem setup
The input to the Wiener filter is assumed to be a signal, , corrupted by additive noise, . The output, , is calculated by means of a filter, , using the following convolution::
where
* is the original signal (to be estimated)
* is the noise
* is the estimated signal (which we hope will equal )
* is the Wiener filterThe error is and the squared error is where
* is the desired output of the filter
* is the errorDepending on the value of "α" the problem name can be changed:
* If then the problem is that ofprediction
* If then the problem is that of filtering
* If then the problem is that ofsmoothing Writing as a
convolution integral: .Taking the
expected value of the squared error results in:where
* is the observed signal
* is theautocorrelation function of
* is theautocorrelation function of
* is thecross-correlation function of andIf the signal and the noise are uncorrelated (i.e., the cross-correlation is zero) then note the following
*
* For most applications, the assumption of uncorrelated signal and noise is reasonable because the source of the noise (e.g. sensor noise orquantization noise ) do not depend upon the signal itself.The goal is to then minimize by finding the optimal .
tationary solution
The Wiener filter has solutions for two possible cases: the case where a causal filter is desired, and the one where a non-causal filter is acceptable. The latter is simpler but is not suited for real-time applications. Wiener's main accomplishment was solving the case where the causality requirement is in effect.
Noncausal solution
:
Provided that is optimal then the MMSE equation reduces to
And the solution, is the inverse two-sided
Laplace transform of .Causal solution
:
Where
* consists of the causal part of (that is, that part of this fraction having a positive time solution under the inverse Laplace transform)
* is the causal component of (i.e. the inverse Laplace transform of is non-zero only for )
* is the anti-causal component of (i.e. the inverse Laplace transform of is non-zero only for negative t)This general formula is complicated and deserves a more detailed explanation. To write down the solution in a specific case, one should follow these steps (see [http://csi.usc.edu/PDF/wienerhopf.pdf LLoyd R. Welch: Wiener Hopf Theory] ):
1. Start with the spectrum in rational form and factor it into causal and anti-causal components:::where contains all the zeros and poles in the left hand plane (LHP) and contains the zeroes and poles in the RHP.
2. Divide by and write out the result as a partial fraction expansion.
3. Select only those terms in this expansion having poles in the LHP. Call these terms .
4. Divide by . The result is the desired filter transfer function
= FIR Wiener filter for discrete series=In order to derive the coefficients of the Wiener filter, we consider a signal "w" ["n"] being fed to a Wiener filter of order "N" and with coefficients , . The output of the filter is denoted "x" ["n"] which is given by the expression
:
The residual error is denoted "e" ["n"] and is defined as "e" ["n"] = "x" ["n"] − "s" ["n"] (See the corresponding block diagram). The Wiener filter is designed so as to minimize the mean square error (MMSE criteria) which can be stated concisely as follows:
:
where denote the expectation operator. In the general case, the coefficients may be complex and may be derived for the case where "w" ["n"] and "s" ["n"] are complex as well. For simplicity, we will only consider the case where all these quantities are real. The mean square error may be rewritten as:
:
To find the vector which minimizes the expression above, let us now calculate its derivative w.r.t
:
If we suppose that "w" ["n"] and "s" ["n] are stationary, we can introduce the following sequences known respectively as the autocorrelation of "w" ["n"] and the cross-correlation between "w" ["n"] and "s" ["n"] defined as follows
:
The derivative of the MSE may therefore be rewritten as (notice that )
:
Letting the derivative be equal to zero, we obtain
:
which can be rewritten in matrix form
:
These equations are known as the Wiener-Hopf equations. The matrix appearing in the equation is a symmetric
Toeplitz matrix . These matrices are known to be positive definite and therefore non-singular yielding a single solution to the determination of the Wiener filter coefficients. Furthermore, there exists an efficient algorithm to solve the Wiener-Hopf equations known as the Levinson-Durbin algorithm.The FIR Wiener filter is related to the
Least mean squares filter , but minimizing its error criterion does not rely on cross-correlations or auto-correlations. Its solution converges to the Wiener filter solution.ee also
*
Norbert Wiener
*Kalman filter
*Wiener deconvolution
*Eberhard Hopf
*Least mean squares filter
*Similarities between Wiener and LMS References
*Wiener, Norbert (1949), "Extrapolation, Interpolation, and Smoothing of Stationary Time Series". New York: Wiley. ISBN 0-262-73005-7
*Brown, Robert Grover and Patrick Y.C. Hwang (1996) "Introduction to Random Signals and Applied Kalman Filtering". 3 ed. New York: John Wiley & Sons. ISBN 0-471-12839-2
Wikimedia Foundation. 2010.