In
signal processing
Signal processing is an electrical engineering subfield that focuses on analyzing, modifying and synthesizing '' signals'', such as sound, images, and scientific measurements. Signal processing techniques are used to optimize transmissions, ...
, the Wiener filter is a
filter used to produce an estimate of a desired or target random process by linear time-invariant (
LTI) filtering of an observed noisy process, assuming known
stationary
In addition to its common meaning, stationary may have the following specialized scientific meanings:
Mathematics
* Stationary point
* Stationary process
* Stationary state
Meteorology
* A stationary front is a weather front that is not moving ...
signal and noise spectra, and additive noise. The Wiener filter minimizes the mean square error between the estimated random process and the desired process.
Description
The goal of the Wiener filter is to compute a
statistical estimate of an unknown signal using a related signal as an input and filtering that known signal to produce the estimate as an output. For example, the known signal might consist of an unknown signal of interest that has been corrupted by additive
noise
Noise is unwanted sound considered unpleasant, loud or disruptive to hearing. From a physics standpoint, there is no distinction between noise and desired sound, as both are vibrations through a medium, such as air or water. The difference aris ...
. The Wiener filter can be used to filter out the noise from the corrupted signal to provide an estimate of the underlying signal of interest. The Wiener filter is based on a
statistical
Statistics (from German: '' Statistik'', "description of a state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of data. In applying statistics to a scientific, industr ...
approach, and a more statistical account of the theory is given in the
minimum mean square error (MMSE) estimator article.
Typical deterministic filters are designed for a desired
frequency response
In signal processing and electronics, the frequency response of a system is the quantitative measure of the magnitude and phase of the output as a function of input frequency. The frequency response is widely used in the design and analysis of s ...
. However, the design of the Wiener filter takes a different approach. One is assumed to have knowledge of the spectral properties of the original signal and the noise, and one seeks the
linear time-invariant filter whose output would come as close to the original signal as possible. Wiener filters are characterized by the following:
# Assumption: signal and (additive) noise are stationary linear
stochastic processes with known spectral characteristics or known
autocorrelation
Autocorrelation, sometimes known as serial correlation in the discrete time case, is the correlation of a signal with a delayed copy of itself as a function of delay. Informally, it is the similarity between observations of a random variable ...
and
cross-correlation
In signal processing, cross-correlation is a measure of similarity of two series as a function of the displacement of one relative to the other. This is also known as a ''sliding dot product'' or ''sliding inner-product''. It is commonly used f ...
# Requirement: the filter must be physically realizable/
causal
Causality (also referred to as causation, or cause and effect) is influence by which one event, process, state, or object (''a'' ''cause'') contributes to the production of another event, process, state, or object (an ''effect'') where the ca ...
(this requirement can be dropped, resulting in a non-causal solution)
# Performance criterion:
minimum mean-square error (MMSE)
This filter is frequently used in the process of
deconvolution
In mathematics, deconvolution is the operation inverse to convolution. Both operations are used in signal processing and image processing. For example, it may be possible to recover the original signal after a filter (convolution) by using a de ...
; for this application, see
Wiener deconvolution.
Wiener filter solutions
Let
be an unknown signal which must be estimated from a measurement signal
. Where alpha is a tunable parameter.
is known as prediction,
is known as filtering, and
is known as smoothing (see Wiener filtering chapter of
for more details).
The Wiener filter problem has solutions for three possible cases: one where a noncausal filter is acceptable (requiring an infinite amount of both past and future data), the case where a
causal
Causality (also referred to as causation, or cause and effect) is influence by which one event, process, state, or object (''a'' ''cause'') contributes to the production of another event, process, state, or object (an ''effect'') where the ca ...
filter is desired (using an infinite amount of past data), and the
finite impulse response
In signal processing, a finite impulse response (FIR) filter is a filter whose impulse response (or response to any finite length input) is of ''finite'' duration, because it settles to zero in finite time. This is in contrast to infinite impulse ...
(FIR) case where only input data is used (i.e. the result or output is not fed back into the filter as in the IIR case). The first case is simple to solve but is not suited for real-time applications. Wiener's main accomplishment was solving the case where the causality requirement is in effect;
Norman Levinson gave the FIR solution in an appendix of Wiener's book.
Noncausal solution
:
where
are
spectral densities. Provided that
is optimal, then the
minimum mean-square error equation reduces to
:
and the solution
is the inverse two-sided
Laplace transform
In mathematics, the Laplace transform, named after its discoverer Pierre-Simon Laplace (), is an integral transform that converts a function of a real variable (usually t, in the ''time domain'') to a function of a complex variable s (in the ...
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
)
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:
# 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 half plane (LHP) and
contains the zeroes and poles in the right half plane (RHP). This is called the
Wiener–Hopf factorization.
# Divide
by
and write out the result as a
partial fraction expansion.
# Select only those terms in this expansion having poles in the LHP. Call these terms
.
# Divide
by
. The result is the desired filter transfer function
.
Finite impulse response Wiener filter for discrete series
The causal
finite impulse response
In signal processing, a finite impulse response (FIR) filter is a filter whose impulse response (or response to any finite length input) is of ''finite'' duration, because it settles to zero in finite time. This is in contrast to infinite impulse ...
(FIR) Wiener filter, instead of using some given data matrix X and output vector Y, finds optimal tap weights by using the statistics of the input and output signals. It populates the input matrix X with estimates of the auto-correlation of the input signal (T) and populates the output vector Y with estimates of the cross-correlation between the output and input signals (V).
In order to derive the coefficients of the Wiener filter, consider the signal ''w''
'n''being fed to a Wiener filter of order (number of past taps) ''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''nbsp;− ''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