Linear phase
In signal processing, linear phase is a property of a filter where the phase response of the filter is a linear function of frequency. The result is that all frequency components of the input signal are shifted in time (usually delayed) by the same constant amount (the slope of the linear function), which is referred to as the group delay. Consequently, there is no phase distortion due to the time delay of frequencies relative to one another.
For discrete-time signals, perfect linear phase is easily achieved with a finite impulse response (FIR) filter by having coefficients which are symmetric or anti-symmetric.[1] Approximations can be achieved with infinite impulse response (IIR) designs, which are more computationally efficient. Several techniques are:
- a Bessel transfer function which has a maximally flat group delay approximation function
- a phase equalizer
Definition
A filter is called a linear phase filter if the phase component of the frequency response is a linear function of frequency. For a continuous-time application, the frequency response of the filter is the Fourier transform of the filter's impulse response, and a linear phase version has the form:
- [math]\displaystyle{ H(\omega) = A(\omega)\ e^{-j \omega \tau}, }[/math]
where:
- A(ω) is a real-valued function.
- [math]\displaystyle{ \tau }[/math] is the group delay.
For a discrete-time application, the discrete-time Fourier transform of the linear phase impulse response has the form:
- [math]\displaystyle{ H_{2\pi}(\omega) = A(\omega)\ e^{-j \omega k/2}, }[/math]
where:
- A(ω) is a real-valued function with 2π periodicity.
- k is an integer, and k/2 is the group delay in units of samples.
[math]\displaystyle{ H_{2\pi}(\omega) }[/math] is a Fourier series that can also be expressed in terms of the Z-transform of the filter impulse response. I.e.:
- [math]\displaystyle{ H_{2\pi}(\omega) = \left. \widehat H(z) \, \right|_{z = e^{j \omega}} = \widehat H(e^{j \omega}), }[/math]
where the [math]\displaystyle{ \widehat H }[/math] notation distinguishes the Z-transform from the Fourier transform.
Examples
When a sinusoid[math]\displaystyle{ ,\ \sin(\omega t + \theta), }[/math] passes through a filter with constant (frequency-independent) group delay [math]\displaystyle{ \tau, }[/math] the result is:
- [math]\displaystyle{ A(\omega)\cdot \sin(\omega (t-\tau) + \theta) = A(\omega)\cdot \sin(\omega t + \theta - \omega \tau), }[/math]
where:
- [math]\displaystyle{ A(\omega) }[/math] is a frequency-dependent amplitude multiplier.
- The phase shift [math]\displaystyle{ \omega \tau }[/math] is a linear function of angular frequency [math]\displaystyle{ \omega }[/math], and [math]\displaystyle{ -\tau }[/math] is the slope.
It follows that a complex exponential function:
- [math]\displaystyle{ e^{i(\omega t + \theta)} = \cos(\omega t + \theta) + i\cdot \sin(\omega t + \theta), }[/math]
is transformed into:
- [math]\displaystyle{ A(\omega)\cdot e^{i(\omega (t-\tau) + \theta)} = e^{i(\omega t + \theta)}\cdot A(\omega) e^{-i\omega \tau} }[/math][note 1]
For approximately linear phase, it is sufficient to have that property only in the passband(s) of the filter, where |A(ω)| has relatively large values. Therefore, both magnitude and phase graphs (Bode plots) are customarily used to examine a filter's linearity. A "linear" phase graph may contain discontinuities of π and/or 2π radians. The smaller ones happen where A(ω) changes sign. Since |A(ω)| cannot be negative, the changes are reflected in the phase plot. The 2π discontinuities happen because of plotting the principal value of [math]\displaystyle{ \omega \tau, }[/math] instead of the actual value.
In discrete-time applications, one only examines the region of frequencies between 0 and the Nyquist frequency, because of periodicity and symmetry. Depending on the frequency units, the Nyquist frequency may be 0.5, 1.0, π, or ½ of the actual sample-rate. Some examples of linear and non-linear phase are shown below.
A discrete-time filter with linear phase may be achieved by an FIR filter which is either symmetric or anti-symmetric.[2] A necessary but not sufficient condition is:
- [math]\displaystyle{ \sum_{n =-\infty}^\infty h[n] \cdot \sin(\omega \cdot (n - \alpha) + \beta)=0 }[/math]
for some [math]\displaystyle{ \alpha, \beta \in \mathbb{R} }[/math].[3]
Generalized linear phase
Systems with generalized linear phase have an additional frequency-independent constant [math]\displaystyle{ \beta }[/math] added to the phase. In the discrete-time case, for example, the frequency response has the form:
- [math]\displaystyle{ H_{2\pi}(\omega) = A(\omega)\ e^{-j \omega k/2 + j \beta}, }[/math]
- [math]\displaystyle{ \arg \left[ H_{2\pi}(\omega) \right] = \beta - \omega k/2 }[/math] for [math]\displaystyle{ -\pi \lt \omega \lt \pi }[/math]
Because of this constant, the phase of the system is not a strictly linear function of frequency, but it retains many of the useful properties of linear phase systems.[4]
See also
Notes
- ↑ The multiplier [math]\displaystyle{ A(\omega) e^{-i\omega \tau} }[/math], as a function of ω, is known as the filter's frequency response.
Citations
- ↑ Selesnick, Ivan. "Four Types of Linear-Phase FIR Filters". Openstax CNX. Rice University. http://cnx.org/content/m10706/latest/. Retrieved 27 April 2014.
- ↑ Selesnick, Ivan. "Four Types of Linear-Phase FIR Filters". Openstax CNX. Rice University. http://cnx.org/content/m10706/latest/. Retrieved 27 April 2014.
- ↑ Oppenheim, Alan V; Ronald W Schafer (1975). Digital Signal Processing (3 ed.). Prentice Hall. ISBN 0-13-214635-5.
- ↑ Oppenheim, Alan V; Ronald W Schafer (1975). Digital Signal Processing (1 ed.). Prentice Hall. ISBN 0-13-214635-5.
Original source: https://en.wikipedia.org/wiki/Linear phase.
Read more |