Comb filter

Last updated
Feedforward comb filter structure Comb filter feedforward.svg
Feedforward comb filter structure

In signal processing, a comb filter is a filter implemented by adding a delayed version of a signal to itself, causing constructive and destructive interference. The frequency response of a comb filter consists of a series of regularly spaced notches in between regularly spaced peaks (sometimes called teeth) giving the appearance of a comb.

Contents

Comb filters exist in two forms, feedforward and feedback ; which refer to the direction in which signals are delayed before they are added to the input.

Comb filters may be implemented in discrete time or continuous time forms which are very similar.

Applications

Advanced PAL Comb Filter-II (APCF-II, Motorola MC141627FT) Sony VPL-HS1 - EP-GW 1-682-352-12 - Motorola MC141627FT-1.jpg
Advanced PAL Comb Filter-II (APCF-II, Motorola MC141627FT)

Comb filters are employed in a variety of signal processing applications, including:

In acoustics, comb filtering can arise as an unwanted artifact. For instance, two loudspeakers playing the same signal at different distances from the listener, create a comb filtering effect on the audio. [1] In any enclosed space, listeners hear a mixture of direct sound and reflected sound. The reflected sound takes a longer, delayed path compared to the direct sound, and a comb filter is created where the two mix at the listener. [2] Similarly, comb filtering may result from mono mixing of multiple mics, hence the 3:1 rule of thumb that neighboring mics should be separated at least three times the distance from its source to the mic.[ citation needed ]

Discrete time implementation

Feedforward form

Feedforward comb filter structure in discrete time Comb filter feedforward.svg
Feedforward comb filter structure in discrete time

The general structure of a feedforward comb filter is described by the difference equation:

where is the delay length (measured in samples), and α is a scaling factor applied to the delayed signal. The z transform of both sides of the equation yields:

The transfer function is defined as:

Frequency response

Feedforward magnitude response for various positive values of a and K = 1 in discrete time Comb filter response ff pos.svg
Feedforward magnitude response for various positive values of α and K = 1 in discrete time
Feedforward magnitude response for various negative values of a and K = 1 in discrete time Comb filter response ff neg.svg
Feedforward magnitude response for various negative values of α and K = 1 in discrete time

The frequency response of a discrete-time system expressed in the z-domain, is obtained by substitution where is the imaginary unit and is angular frequency. Therefore, for the feedforward comb filter:

Using Euler's formula, the frequency response is also given by

Often of interest is the magnitude response, which ignores phase. This is defined as:

In the case of the feedforward comb filter, this is:

The term is constant, whereas the term varies periodically. Hence the magnitude response of the comb filter is periodic.

The graphs show the periodic magnitude response for various values of Some important properties:

  • The response periodically drops to a local minimum (sometimes known as a notch), and periodically rises to a local maximum (sometimes known as a peak or a tooth).
  • For positive values of the first minimum occurs at half the delay period and repeats at even multiples of the delay frequency thereafter:
  • The levels of the maxima and minima are always equidistant from 1.
  • When the minima have zero amplitude. In this case, the minima are sometimes known as nulls.
  • The maxima for positive values of coincide with the minima for negative values of , and vice versa.

Impulse response

The feedforward comb filter is one of the simplest finite impulse response filters. [3] Its response is simply the initial impulse with a second impulse after the delay.

Pole–zero interpretation

Looking again at the z-domain transfer function of the feedforward comb filter:

the numerator is equal to zero whenever zK = −α. This has K solutions, equally spaced around a circle in the complex plane; these are the zeros of the transfer function. The denominator is zero at zK = 0, giving K poles at z = 0. This leads to a pole–zero plot like the ones shown.

Pole-zero plot of feedforward comb filter with K = 8 and a = 0.5 in discrete time Comb filter pz ff pos.svg
Pole–zero plot of feedforward comb filter with K = 8 and α = 0.5 in discrete time
Pole-zero plot of feedforward comb filter with K = 8 and a = -0.5 in discrete time Comb filter pz ff neg.svg
Pole–zero plot of feedforward comb filter with K = 8 and α = −0.5 in discrete time

Feedback form

Feedback comb filter structure in discrete time Comb filter feedback.svg
Feedback comb filter structure in discrete time

Similarly, the general structure of a feedback comb filter is described by the difference equation:

This equation can be rearranged so that all terms in are on the left-hand side, and then taking the z transform:

The transfer function is therefore:

Frequency response

Feedback magnitude response for various positive values of a and K = 2 in discrete time Comb filter response fb pos.svg
Feedback magnitude response for various positive values of α and K = 2 in discrete time
Feedback magnitude response for various negative values of a and K = 2 in discrete time Comb filter response fb neg.svg
Feedback magnitude response for various negative values of α and K = 2 in discrete time

By substituting into the feedback comb filter's z-domain expression:

the magnitude response becomes:

Again, the response is periodic, as the graphs demonstrate. The feedback comb filter has some properties in common with the feedforward form:

  • The response periodically drops to a local minimum and rises to a local maximum.
  • The maxima for positive values of coincide with the minima for negative values of and vice versa.
  • For positive values of the first maximum occurs at 0 and repeats at even multiples of the delay frequency thereafter:

However, there are also some important differences because the magnitude response has a term in the denominator:

  • The levels of the maxima and minima are no longer equidistant from 1. The maxima have an amplitude of 1/1 − α.
  • The filter is only stable if |α| is strictly less than 1. As can be seen from the graphs, as |α| increases, the amplitude of the maxima rises increasingly rapidly.

Impulse response

The feedback comb filter is a simple type of infinite impulse response filter. [4] If stable, the response simply consists of a repeating series of impulses decreasing in amplitude over time.

Pole–zero interpretation

Looking again at the z-domain transfer function of the feedback comb filter:

This time, the numerator is zero at zK = 0, giving K zeros at z = 0. The denominator is equal to zero whenever zK = α. This has K solutions, equally spaced around a circle in the complex plane; these are the poles of the transfer function. This leads to a pole–zero plot like the ones shown below.

Pole-zero plot of feedback comb filter with K = 8 and a = 0.5 in discrete time Comb filter pz fb pos.svg
Pole–zero plot of feedback comb filter with K = 8 and α = 0.5 in discrete time
Pole-zero plot of feedback comb filter with K = 8 and a = -0.5 in discrete time Comb filter pz fb neg.svg
Pole–zero plot of feedback comb filter with K = 8 and α = −0.5 in discrete time

Continuous time implementation

Comb filters may also be implemented in continuous time which can be expressed in the Laplace domain as a function of the complex frequency domain parameter analogous to the z domain. Analog circuits use some form of analog delay line for the delay element. Continuous-time implementations share all the properties of the respective discrete-time implementations.

Feedforward form

The feedforward form may be described by the equation:

where τ is the delay (measured in seconds). This has the following transfer function:

The feedforward form consists of an infinite number of zeros spaced along the jω axis (which corresponds to the Fourier domain).

Feedback form

The feedback form has the equation:

and the following transfer function:

The feedback form consists of an infinite number of poles spaced along the jω axis.

See also

Related Research Articles

<span class="mw-page-title-main">Bessel function</span> Families of solutions to related differential equations

Bessel functions, first defined by the mathematician Daniel Bernoulli and then generalized by Friedrich Bessel, are canonical solutions y(x) of Bessel's differential equation

<span class="mw-page-title-main">Cutoff frequency</span> Frequency response boundary

In physics and electrical engineering, a cutoff frequency, corner frequency, or break frequency is a boundary in a system's frequency response at which energy flowing through the system begins to be reduced rather than passing through.

<span class="mw-page-title-main">Gyrocompass</span> Type of non-magnetic compass based on the rotation of the Earth

A gyrocompass is a type of non-magnetic compass which is based on a fast-spinning disc and the rotation of the Earth to find geographical direction automatically. The use of a gyrocompass is one of the seven fundamental ways to determine the heading of a vehicle. A gyroscope is an essential component of a gyrocompass, but they are different devices; a gyrocompass is built to use the effect of gyroscopic precession, which is a distinctive aspect of the general gyroscopic effect. Gyrocompasses are widely used for navigation on ships, because they have two significant advantages over magnetic compasses:

<span class="mw-page-title-main">Quantum harmonic oscillator</span> Important, well-understood quantum mechanical model

The quantum harmonic oscillator is the quantum-mechanical analog of the classical harmonic oscillator. Because an arbitrary smooth potential can usually be approximated as a harmonic potential at the vicinity of a stable equilibrium point, it is one of the most important model systems in quantum mechanics. Furthermore, it is one of the few quantum-mechanical systems for which an exact, analytical solution is known.

Chebyshev filters are analog or digital filters that have a steeper roll-off than Butterworth filters, and have either passband ripple or stopband ripple. Chebyshev filters have the property that they minimize the error between the idealized and the actual filter characteristic over the operating frequency range of the filter, but they achieve this with ripples in the passband. This type of filter is named after Pafnuty Chebyshev because its mathematical characteristics are derived from Chebyshev polynomials. Type I Chebyshev filters are usually referred to as "Chebyshev filters", while type II filters are usually called "inverse Chebyshev filters". Because of the passband ripple inherent in Chebyshev filters, filters with a smoother response in the passband but a more irregular response in the stopband are preferred for certain applications.

In signal processing, a finite impulse response (FIR) filter is a filter whose impulse response is of finite duration, because it settles to zero in finite time. This is in contrast to infinite impulse response (IIR) filters, which may have internal feedback and may continue to respond indefinitely.

The Sallen–Key topology is an electronic filter topology used to implement second-order active filters that is particularly valued for its simplicity. It is a degenerate form of a voltage-controlled voltage-source (VCVS) filter topology. It was introduced by R. P. Sallen and E. L. Key of MIT Lincoln Laboratory in 1955.

<span class="mw-page-title-main">Step response</span>

The step response of a system in a given initial state consists of the time evolution of its outputs when its control inputs are Heaviside step functions. In electronic engineering and control theory, step response is the time behaviour of the outputs of a general system when its inputs change from zero to one in a very short time. The concept can be extended to the abstract mathematical notion of a dynamical system using an evolution parameter.

In control theory and signal processing, a linear, time-invariant system is said to be minimum-phase if the system and its inverse are causal and stable.

<span class="mw-page-title-main">Butterworth filter</span> Type of signal processing filter

The Butterworth filter is a type of signal processing filter designed to have a frequency response that is as flat as possible in the passband. It is also referred to as a maximally flat magnitude filter. It was first described in 1930 by the British engineer and physicist Stephen Butterworth in his paper entitled "On the Theory of Filter Amplifiers".

<span class="mw-page-title-main">Hamilton–Jacobi equation</span> A reformulation of Newtons laws of motion using the calculus of variations

In physics, the Hamilton–Jacobi equation, named after William Rowan Hamilton and Carl Gustav Jacob Jacobi, is an alternative formulation of classical mechanics, equivalent to other formulations such as Newton's laws of motion, Lagrangian mechanics and Hamiltonian mechanics.

In rotordynamics, the rigid rotor is a mechanical model of rotating systems. An arbitrary rigid rotor is a 3-dimensional rigid object, such as a top. To orient such an object in space requires three angles, known as Euler angles. A special rigid rotor is the linear rotor requiring only two angles to describe, for example of a diatomic molecule. More general molecules are 3-dimensional, such as water, ammonia, or methane.

<span class="mw-page-title-main">Two-state quantum system</span> Simple quantum mechanical system

In quantum mechanics, a two-state system is a quantum system that can exist in any quantum superposition of two independent quantum states. The Hilbert space describing such a system is two-dimensional. Therefore, a complete basis spanning the space will consist of two independent states. Any two-state system can also be seen as a qubit.

<span class="mw-page-title-main">Duffing equation</span> Non-linear second order differential equation and its attractor

The Duffing equation, named after Georg Duffing (1861–1944), is a non-linear second-order differential equation used to model certain damped and driven oscillators. The equation is given by

<span class="mw-page-title-main">Weierstrass–Enneper parameterization</span> Construction for minimal surfaces

In mathematics, the Weierstrass–Enneper parameterization of minimal surfaces is a classical piece of differential geometry.

An all-pass filter is a signal processing filter that passes all frequencies equally in gain, but changes the phase relationship among various frequencies. Most types of filter reduce the amplitude of the signal applied to it for some values of frequency, whereas the all-pass filter allows all frequencies through without changes in level.

Sinusoidal plane-wave solutions are particular solutions to the electromagnetic wave equation.

In functional analysis, compactly supported wavelets derived from Legendre polynomials are termed Legendre wavelets or spherical harmonic wavelets. Legendre functions have widespread applications in which spherical coordinate system is appropriate. As with many wavelets there is no nice analytical formula for describing these harmonic spherical wavelets. The low-pass filter associated to Legendre multiresolution analysis is a finite impulse response (FIR) filter.

m-derived filters or m-type filters are a type of electronic filter designed using the image method. They were invented by Otto Zobel in the early 1920s. This filter type was originally intended for use with telephone multiplexing and was an improvement on the existing constant k type filter. The main problem being addressed was the need to achieve a better match of the filter into the terminating impedances. In general, all filters designed by the image method fail to give an exact match, but the m-type filter is a big improvement with suitable choice of the parameter m. The m-type filter section has a further advantage in that there is a rapid transition from the cut-off frequency of the passband to a pole of attenuation just inside the stopband. Despite these advantages, there is a drawback with m-type filters; at frequencies past the pole of attenuation, the response starts to rise again, and m-types have poor stopband rejection. For this reason, filters designed using m-type sections are often designed as composite filters with a mixture of k-type and m-type sections and different values of m at different points to get the optimum performance from both types.

<span class="mw-page-title-main">RLC circuit</span> Resistor Inductor Capacitor Circuit

An RLC circuit is an electrical circuit consisting of a resistor (R), an inductor (L), and a capacitor (C), connected in series or in parallel. The name of the circuit is derived from the letters that are used to denote the constituent components of this circuit, where the sequence of the components may vary from RLC.

References

  1. Roger Russell. "Hearing, Columns and Comb Filtering" . Retrieved 2010-04-22.
  2. "Acoustic Basics". Acoustic Sciences Corporation. Archived from the original on 2010-05-07.
  3. Smith, J. O. "Feedforward Comb Filters". Archived from the original on 2011-06-06.
  4. Smith, J.O. "Feedback Comb Filters". Archived from the original on 2011-06-06.