World Library  
Flag as Inappropriate
Email this Article

All-pass filter

Article Id: WHEBN0005845712
Reproduction Date:

Title: All-pass filter  
Author: World Heritage Encyclopedia
Language: English
Subject: Bridged T delay equaliser, Electronic filter topology, Filter (signal processing), Linear filters, Electronic filters
Collection: Digital Signal Processing, Filter Frequency Response, Linear Filters
Publisher: World Heritage Encyclopedia
Publication
Date:
 

All-pass filter

An all-pass filter is a signal processing filter that passes all frequencies equally in gain, but changes the phase relationship between various frequencies. It does this by varying its phase shift as a function of frequency. Generally, the filter is described by the frequency at which the phase shift crosses 90° (i.e., when the input and output signals go into quadrature – when there is a quarter wavelength of delay between them).

They are generally used to compensate for other undesired phase shifts that arise in the system, or for mixing with an unshifted version of the original to implement a notch comb filter.

They may also be used to convert a mixed phase filter into a minimum phase filter with an equivalent magnitude response or an unstable filter into a stable filter with an equivalent magnitude response.

Contents

  • Active analog implementation 1
    • Interpretation as a Padé approximation to a pure delay 1.1
    • Implementation using low-pass filter 1.2
    • Voltage controlled implementation 1.3
    • General usage 1.4
  • Passive analog implementation 2
    • Lattice filter 2.1
    • T-section filter 2.2
    • Bridged T-section filter 2.3
  • Digital Implementation 3
  • See also 4
  • External links 5

Active analog implementation

Figure 1: Schematic of an op amp all-pass filter

The operational amplifier circuit shown in Figure 1 implements an active all-pass filter with the transfer function

H(s) = \frac{ sRC - 1 }{ sRC + 1 }, \,

which has one pole at -1/RC and one zero at 1/RC (i.e., they are reflections of each other across the imaginary axis of the complex plane). The magnitude and phase of H(iω) for some angular frequency ω are

|H(i\omega)|=1 \quad \text{and} \quad \angle H(i\omega) = 180^{\circ} - 2 \arctan(\omega RC). \,

As expected, the filter has unity-gain magnitude for all ω. The filter introduces a different delay at each frequency and reaches input-to-output quadrature at ω=1/RC (i.e., phase shift is 90 degrees).

This implementation uses a high-pass filter at the non-inverting input to generate the phase shift and negative feedback to compensate for the filter's attenuation.

In fact, the phase shift of the all-pass filter is double the phase shift of the high-pass filter at its non-inverting input.

Interpretation as a Padé approximation to a pure delay

The Laplace transform of a pure delay is given by

\exp\{-sT\},

where T is the delay (in seconds) and s\in\mathbb{C} is complex frequency. This can be approximated using a Padé approximant, as follows:

\exp\{-sT\} =\frac{\exp\{-sT/2\}}{\exp\{sT/2\} } \approx \frac{1-sT/2}{1+sT/2} ,

where the last step was achieved via a first-order Taylor series expansion of the numerator and denominator. By setting RC = T/2 we recover H(s) from above.

Implementation using low-pass filter

A similar all-pass filter can be implemented by interchanging the position of the resistor and capacitor, which turns the high-pass filter into a low-pass filter. The result is a phase shifter with the same quadrature frequency but a 180 degree shift at high frequencies and no shift at low frequencies. In other words, the transfer function is negated, and so it has the same pole at -1/RC and reflected zero at 1/RC. Again, the phase shift of the all-pass filter is double the phase shift of the first-order filter at its non-inverting input.

Voltage controlled implementation

The resistor can be replaced with a FET in its ohmic mode to implement a voltage-controlled phase shifter; the voltage on the gate adjusts the phase shift. In electronic music, a phaser typically consists of two, four or six of these phase-shifting sections connected in tandem and summed with the original. A low-frequency oscillator (LFO) ramps the control voltage to produce the characteristic swooshing sound.

General usage

These circuits are used as phase shifters and in systems of phase shaping and time delay. Filters such as the above can be cascaded with unstable or mixed-phase filters to create a stable or minimum-phase filter without changing the magnitude response of the system. For example, by proper choice of pole (and therefore zero), a pole of an unstable system that is in the right-hand plane can be canceled and reflected on the left-hand plane.

Passive analog implementation

The benefit to implementing all-pass filters with active components like operational amplifiers is that they do not require inductors, which are bulky and costly in integrated circuit designs. In other applications where inductors are readily available, all-pass filters can be implemented entirely without active components. There are a number of circuit topologies that can be used for this. The following are the most commonly used circuits.

Lattice filter

An all-pass filter using lattice topology

The lattice phase equaliser, or filter, is a filter composed of lattice, or X-sections. With single element branches it can produce a phase shift up to 180°, and with resonant branches it can produce phase shifts up to 360°. The filter is an example of a constant-resistance network (i.e., its image impedance is constant over all frequencies).

T-section filter

The phase equaliser based on T topology is the unbalanced equivalent of the lattice filter and has the same phase response. While the circuit diagram may look like a low pass filter it is different in that the two inductor branches are mutually coupled. This results in transformer action between the two inductors and an all-pass response even at high frequency.

Bridged T-section filter

The bridged T topology is used for delay equalisation, particularly the differential delay between two landlines being used for stereophonic sound broadcasts. This application requires that the filter has a linear phase response with frequency (i.e., constant group delay) over a wide bandwidth and is the reason for choosing this topology.

Digital Implementation

A Z-transform implementation of an all-pass filter with a complex pole at z_0 is

H(z) = \frac{z^{-1}-\overline{z_0}}{1-z_0z^{-1}} \

which has a zero at 1/\overline{z_0}, where \overline{z} denotes the complex conjugate. The pole and zero sit at the same angle but have reciprocal magnitudes (i.e., they are reflections of each other across the boundary of the complex unit circle). The placement of this pole-zero pair for a given z_0 can be rotated in the complex plane by any angle and retain its all-pass magnitude characteristic. Complex pole-zero pairs in all-pass filters help control the frequency where phase shifts occur.

To create an all-pass implementation with real coefficients, the complex all-pass filter can be cascaded with an all-pass that substitutes \overline{z_0} for z_0, leading to the Z-transform implementation

H(z) = \frac{z^{-1}-\overline{z_0}}{1-z_0z^{-1}} \times \frac{z^{-1}-z_0}{1-\overline{z_0}z^{-1}} = \frac {z^{-2}-2\Re(z_0)z^{-1}+\left|{z_0}\right|^2} {1-2\Re(z_0)z^{-1}+\left|z_0\right|^2z^{-2}}, \

which is equivalent to the difference equation

y[k] - 2\Re(z_0) y[k-1] + \left|z_0\right|^2 y[k-2] = x[k-2] - 2\Re(z_0) x[k-1] + \left|z_0\right|^2 x[k], \,

where y[k] is the output and x[k] is the input at discrete time step k.

Filters such as the above can be cascaded with unstable or mixed-phase filters to create a stable or minimum-phase filter without changing the magnitude response of the system. For example, by proper choice of z_0, a pole of an unstable system that is outside of the unit circle can be canceled and reflected inside the unit circle.

See also

External links

  • JOS@Stanford on all-pass filters
  • ECE 209 Phase-Shifter Circuit, analysis steps for a common analog phase-shifter circuit.
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.