Allpass
   HOME

TheInfoList



OR:

An all-pass filter is a
signal processing filter In signal processing, a filter is a device or process that removes some unwanted components or features from a signal. Filtering is a class of signal processing, the defining feature of filters being the complete or partial suppression of some asp ...
that passes all
frequencies Frequency is the number of occurrences of a repeating event per unit of time. Frequency is an important parameter used in science and engineering to specify the rate of oscillatory and vibratory phenomena, such as mechanical vibrations, audio ...
equally in gain, but changes the
phase Phase or phases may refer to: Science *State of matter, or phase, one of the distinct forms in which matter can exist *Phase (matter), a region of space throughout which all physical properties are essentially uniform *Phase space, a mathematica ...
relationship among various frequencies. Most types of filter reduce the amplitude (i.e. the magnitude) of the signal applied to it for some values of frequency, whereas the all-pass filter allows all frequencies through without changes in level.


Common applications

A common application in
electronic music Electronic music broadly is a group of music genres that employ electronic musical instruments, circuitry-based music technology and software, or general-purpose electronics (such as personal computers) in its creation. It includes both music ...
production is in the design of an effects unit known as a " phaser", where a number of all-pass filters are connected in sequence and the output mixed with the raw signal. It does this by varying its
phase Phase or phases may refer to: Science *State of matter, or phase, one of the distinct forms in which matter can exist *Phase (matter), a region of space throughout which all physical properties are essentially uniform *Phase space, a mathematica ...
shift as a function of frequency. Generally, the filter is described by the frequency at which the
phase shift In physics and mathematics, the phase (symbol φ or ϕ) of a wave or other periodic function F of some real variable t (such as time) is an angle-like quantity representing the fraction of the cycle covered up to t. It is expressed in such a s ...
crosses 90° (i.e., when the input and output signals go into quadrature – when there is a quarter
wavelength In physics and mathematics, wavelength or spatial period of a wave or periodic function is the distance over which the wave's shape repeats. In other words, it is the distance between consecutive corresponding points of the same ''phase (waves ...
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 In signal processing, a comb filter is a Filter (signal processing), filter implemented by adding a delayed version of a signal processing, signal to itself, causing constructive and destructive Interference (wave propagation), interference. The ...
. They may also be used to convert a mixed phase filter into a
minimum phase 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. The most general causal LTI transfer function can be uniquely factored into a series of an ...
filter with an equivalent magnitude response or an unstable filter into a stable filter with an equivalent magnitude response.


Active analog implementation


Implementation using low-pass filter

The
operational amplifier An operational amplifier (often op amp or opamp) is a direct coupling, DC-coupled Electronic component, electronic voltage amplifier with a differential input, a (usually) Single-ended signaling, single-ended output, and an extremely high gain ( ...
circuit shown in adjacent figure implements a single-pole
active Active may refer to: Music * ''Active'' (album), a 1992 album by Casiopea * "Active" (song), a 2024 song by Asake and Travis Scott from Asake's album ''Lungu Boy'' * Active Records, a record label Ships * ''Active'' (ship), several com ...
all-pass filter that features a
low-pass filter A low-pass filter is a filter that passes signals with a frequency lower than a selected cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency. The exact frequency response of the filter depends on the filt ...
at the non-inverting input of the opamp. The filter's
transfer function In engineering, a transfer function (also known as system function or network function) of a system, sub-system, or component is a function (mathematics), mathematical function that mathematical model, models the system's output for each possible ...
is given by: :H(s) = - \frac = \frac , \, which has one pole at -1/RC and one
zero 0 (zero) is a number representing an empty quantity. Adding (or subtracting) 0 to any number leaves that number unchanged; in mathematical terminology, 0 is the additive identity of the integers, rational numbers, real numbers, and compl ...
at 1/RC (i.e., they are ''reflections'' of each other across the imaginary axis of the
complex plane In mathematics, the complex plane is the plane (geometry), plane formed by the complex numbers, with a Cartesian coordinate system such that the horizontal -axis, called the real axis, is formed by the real numbers, and the vertical -axis, call ...
). The magnitude and phase of H(iω) for some
angular frequency In physics, angular frequency (symbol ''ω''), also called angular speed and angular rate, is a scalar measure of the angle rate (the angle per unit time) or the temporal rate of change of the phase argument of a sinusoidal waveform or sine ...
ω are :, H(i\omega), =1 \quad \text \quad \angle H(i\omega) = - 2\arctan( \omega RC ). \, The filter has
unity Unity is the state of being as one (either literally or figuratively). It may also refer to: Buildings * Unity Building, Oregon, Illinois, US; a historic building * Unity Building (Chicago), Illinois, US; a skyscraper * Unity Buildings, Liverpoo ...
- 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°). This implementation uses a low-pass filter at the non-inverting input to generate the phase shift and
negative feedback Negative feedback (or balancing feedback) occurs when some function (Mathematics), function of the output of a system, process, or mechanism is feedback, fed back in a manner that tends to reduce the fluctuations in the output, whether caused ...
. * At high
frequencies Frequency is the number of occurrences of a repeating event per unit of time. Frequency is an important parameter used in science and engineering to specify the rate of oscillatory and vibratory phenomena, such as mechanical vibrations, audio ...
, the
capacitor In electrical engineering, a capacitor is a device that stores electrical energy by accumulating electric charges on two closely spaced surfaces that are insulated from each other. The capacitor was originally known as the condenser, a term st ...
is a
short circuit A short circuit (sometimes abbreviated to short or s/c) is an electrical circuit that allows a current to travel along an unintended path with no or very low electrical impedance. This results in an excessive current flowing through the circuit ...
, creating an
inverting amplifier This article illustrates some typical operational amplifier applications. Operational amplifiers are optimised for use with negative feedback, and this article discusses only negative-feedback applications. When positive feedback is required, a c ...
(i.e., 180° phase shift) with unity gain. * At low frequencies and DC, the capacitor is an
open circuit Open circuit may refer to: * Open circuit breathing apparatus, any type of breathing apparatus where the exhaled gas is discharged to the surroundings without recycling any of it ** Open-circuit scuba, a type of Scuba-diving equipment where the user ...
, creating a
unity Unity is the state of being as one (either literally or figuratively). It may also refer to: Buildings * Unity Building, Oregon, Illinois, US; a historic building * Unity Building (Chicago), Illinois, US; a skyscraper * Unity Buildings, Liverpoo ...
- gain voltage buffer (i.e., no phase shift). * At the
corner frequency 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 ( attenuated or reflected) rather than ...
ω=1/RC of the low-pass filter (i.e., when input frequency is 1/(2πRC)), the circuit introduces a 90° shift (i.e., output is in quadrature with input; the output appears to be delayed by a quarter
period Period may refer to: Common uses * Period (punctuation) * Era, a length or span of time *Menstruation, commonly referred to as a "period" Arts, entertainment, and media * Period (music), a concept in musical composition * Periodic sentence (o ...
from the input). In fact, the phase shift of the all-pass filter is double the phase shift of the low-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 : e^, where T is the delay (in seconds) and s\in\mathbb is complex frequency. This can be approximated using a
Padé approximant In mathematics, a Padé approximant is the "best" approximation of a function near a specific point by a rational function of given order. Under this technique, the approximant's power series agrees with the power series of the function it is ap ...
, as follows: : e^ =\frac \approx \frac , where the last step was achieved via a first-order
Taylor series In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor ser ...
expansion of the numerator and denominator. By setting RC = T/2 we recover H(s) from above.


Implementation using high-pass filter

The
operational amplifier An operational amplifier (often op amp or opamp) is a direct coupling, DC-coupled Electronic component, electronic voltage amplifier with a differential input, a (usually) Single-ended signaling, single-ended output, and an extremely high gain ( ...
circuit shown in the adjacent figure implements a single-pole
active Active may refer to: Music * ''Active'' (album), a 1992 album by Casiopea * "Active" (song), a 2024 song by Asake and Travis Scott from Asake's album ''Lungu Boy'' * Active Records, a record label Ships * ''Active'' (ship), several com ...
all-pass filter that features a
high-pass filter A high-pass filter (HPF) is an electronic filter that passes signals with a frequency higher than a certain cutoff frequency and attenuates signals with frequencies lower than the cutoff frequency. The amount of attenuation for each frequency ...
at the non-inverting input of the opamp. The filter's
transfer function In engineering, a transfer function (also known as system function or network function) of a system, sub-system, or component is a function (mathematics), mathematical function that mathematical model, models the system's output for each possible ...
is given by: :H(s) = \frac, \,Williams, A.B.; Taylor, F.J., ''Electronic Filter Design Handbook'', McGraw-Hill, 1995 , p. 10.7. which has one pole at -1/RC and one
zero 0 (zero) is a number representing an empty quantity. Adding (or subtracting) 0 to any number leaves that number unchanged; in mathematical terminology, 0 is the additive identity of the integers, rational numbers, real numbers, and compl ...
at 1/RC (i.e., they are ''reflections'' of each other across the imaginary axis of the
complex plane In mathematics, the complex plane is the plane (geometry), plane formed by the complex numbers, with a Cartesian coordinate system such that the horizontal -axis, called the real axis, is formed by the real numbers, and the vertical -axis, call ...
). The magnitude and phase of H(iω) for some
angular frequency In physics, angular frequency (symbol ''ω''), also called angular speed and angular rate, is a scalar measure of the angle rate (the angle per unit time) or the temporal rate of change of the phase argument of a sinusoidal waveform or sine ...
ω are :, H(i\omega), =1 \quad \text \quad \angle H(i\omega) = \pi - 2\arctan( \omega RC ). \, The filter has
unity Unity is the state of being as one (either literally or figuratively). It may also refer to: Buildings * Unity Building, Oregon, Illinois, US; a historic building * Unity Building (Chicago), Illinois, US; a skyscraper * Unity Buildings, Liverpoo ...
- 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 lead is 90°). This implementation uses a
high-pass filter A high-pass filter (HPF) is an electronic filter that passes signals with a frequency higher than a certain cutoff frequency and attenuates signals with frequencies lower than the cutoff frequency. The amount of attenuation for each frequency ...
at the non-inverting input to generate the phase shift and
negative feedback Negative feedback (or balancing feedback) occurs when some function (Mathematics), function of the output of a system, process, or mechanism is feedback, fed back in a manner that tends to reduce the fluctuations in the output, whether caused ...
. * At high
frequencies Frequency is the number of occurrences of a repeating event per unit of time. Frequency is an important parameter used in science and engineering to specify the rate of oscillatory and vibratory phenomena, such as mechanical vibrations, audio ...
, the
capacitor In electrical engineering, a capacitor is a device that stores electrical energy by accumulating electric charges on two closely spaced surfaces that are insulated from each other. The capacitor was originally known as the condenser, a term st ...
is a
short circuit A short circuit (sometimes abbreviated to short or s/c) is an electrical circuit that allows a current to travel along an unintended path with no or very low electrical impedance. This results in an excessive current flowing through the circuit ...
, thereby creating a
unity Unity is the state of being as one (either literally or figuratively). It may also refer to: Buildings * Unity Building, Oregon, Illinois, US; a historic building * Unity Building (Chicago), Illinois, US; a skyscraper * Unity Buildings, Liverpoo ...
- gain voltage buffer (i.e., no phase lead). * At low frequencies and DC, the capacitor is an
open circuit Open circuit may refer to: * Open circuit breathing apparatus, any type of breathing apparatus where the exhaled gas is discharged to the surroundings without recycling any of it ** Open-circuit scuba, a type of Scuba-diving equipment where the user ...
and the circuit is an
inverting amplifier This article illustrates some typical operational amplifier applications. Operational amplifiers are optimised for use with negative feedback, and this article discusses only negative-feedback applications. When positive feedback is required, a c ...
(i.e., 180° phase lead) with unity gain. * At the
corner frequency 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 ( attenuated or reflected) rather than ...
ω=1/RC of the high-pass filter (i.e., when input frequency is 1/(2πRC)), the circuit introduces a 90° phase lead (i.e., output is in quadrature with input; the output appears to be advanced by a quarter
period Period may refer to: Common uses * Period (punctuation) * Era, a length or span of time *Menstruation, commonly referred to as a "period" Arts, entertainment, and media * Period (music), a concept in musical composition * Periodic sentence (o ...
from the input). 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.


Voltage controlled implementation

The resistor can be replaced with a
FET The field-effect transistor (FET) is a type of transistor that uses an electric field to control the current through a semiconductor. It comes in two types: junction FET (JFET) and metal-oxide-semiconductor FET (MOSFET). FETs have three termi ...
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.


Passive analog implementation

The benefit to implementing all-pass filters with active components like
operational amplifiers An operational amplifier (often op amp or opamp) is a DC-coupled electronic voltage amplifier with a differential input, a (usually) single-ended output, and an extremely high gain. Its name comes from its original use of performing mathem ...
is that they do not require
inductor An inductor, also called a coil, choke, or reactor, is a Passivity (engineering), passive two-terminal electronic component, electrical component that stores energy in a magnetic field when an electric current flows through it. An inductor typic ...
s, which are bulky and costly in
integrated circuit An integrated circuit (IC), also known as a microchip or simply chip, is a set of electronic circuits, consisting of various electronic components (such as transistors, resistors, and capacitors) and their interconnections. These components a ...
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

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 Image impedance is a concept used in electronic network design and analysis and most especially in filter design. The term ''image impedance'' applies to the impedance seen looking into a Port (circuit theory), port of a network. Usually a two-port ...
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
landline A landline is a physical telephone connection that uses metal wires or optical fiber from the subscriber's premises to the network, allowing multiple phones to operate simultaneously on the same phone number. It is also referred to as plain old ...
s being used for
stereophonic sound Stereophonic sound, commonly shortened to stereo, is a method of sound reproduction that recreates a multi-directional, 3-dimensional audible perspective. This is usually achieved by using two independent audio channels through a configurat ...
broadcasts. This application requires that the filter has a
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 s ...
response with frequency (i.e., constant
group delay In signal processing, group delay and phase delay are functions that describe in different ways the delay times experienced by a signal’s various sinusoidal frequency components as they pass through a linear time-invariant (LTI) system (such as ...
) over a wide bandwidth and is the reason for choosing this topology.


Digital implementation

A
Z-transform In mathematics and signal processing, the Z-transform converts a discrete-time signal, which is a sequence of real or complex numbers, into a complex valued frequency-domain (the z-domain or z-plane) representation. It can be considered a dis ...
implementation of an all-pass filter with a complex pole at z_0 is :H(z) = \frac \ which has a zero at 1/\overline, where \overline denotes the
complex conjugate In mathematics, the complex conjugate of a complex number is the number with an equal real part and an imaginary part equal in magnitude but opposite in sign. That is, if a and b are real numbers, then the complex conjugate of a + bi is a - ...
. 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 Complex commonly refers to: * Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe ** Complex system, a system composed of many components which may interact with each ...
unit circle In mathematics, a unit circle is a circle of unit radius—that is, a radius of 1. Frequently, especially in trigonometry, the unit circle is the circle of radius 1 centered at the origin (0, 0) in the Cartesian coordinate system in the Eucli ...
). 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 for z_0, leading to the
Z-transform In mathematics and signal processing, the Z-transform converts a discrete-time signal, which is a sequence of real or complex numbers, into a complex valued frequency-domain (the z-domain or z-plane) representation. It can be considered a dis ...
implementation :H(z) = \frac \times \frac = \frac , \ which is equivalent to the
difference equation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
: y - 2\Re(z_0) y -1+ \left, z_0\^2 y -2 = x -2- 2\Re(z_0) x -1+ \left, z_0\^2 x \, where y /math> is the output and x /math> is the input at discrete time step k. Filters such as the above can be cascaded with
unstable In dynamical systems instability means that some of the outputs or internal state (controls), states increase with time, without bounds. Not all systems that are not Stability theory, stable are unstable; systems can also be marginal stability ...
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 In mathematics, a unit circle is a circle of unit radius—that is, a radius of 1. Frequently, especially in trigonometry, the unit circle is the circle of radius 1 centered at the origin (0, 0) in the Cartesian coordinate system in the Eucli ...
can be canceled and reflected inside the unit circle.


See also

*
Bridged T delay equaliser thumb The bridged-T delay equaliser is an electrical all-pass filter circuit utilising bridged-T topology whose purpose is to insert an (ideally) constant delay at all frequencies in the signal path. It is a class of image filter. Applications ...
*
Lattice phase equaliser A lattice phase equaliser or lattice filter is an example of an all-pass filter. That is, the attenuation of the filter is constant at all frequency, frequencies but the relative phase (waves), phase between input and output varies with frequenc ...
*
Minimum phase 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. The most general causal LTI transfer function can be uniquely factored into a series of an ...
*
Hilbert transform In mathematics and signal processing, the Hilbert transform is a specific singular integral that takes a function, of a real variable and produces another function of a real variable . The Hilbert transform is given by the Cauchy principal value ...
*
High-pass filter A high-pass filter (HPF) is an electronic filter that passes signals with a frequency higher than a certain cutoff frequency and attenuates signals with frequencies lower than the cutoff frequency. The amount of attenuation for each frequency ...
*
Low-pass filter A low-pass filter is a filter that passes signals with a frequency lower than a selected cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency. The exact frequency response of the filter depends on the filt ...
*
Band-stop filter In signal processing, a band-stop filter or band-rejection filter is a filter that passes most frequencies unaltered, but attenuates those in a specific range to very low levels. It is the inverse of a ''band-pass filter''. A notch filter is ...
*
Band-pass filter A band-pass filter or bandpass filter (BPF) is a device that passes frequencies within a certain range and rejects ( attenuates) frequencies outside that range. It is the inverse of a '' band-stop filter''. Description In electronics and s ...
*
Lattice delay network Lattice delay networks are an important subgroup of lattice networks. They are all-pass filters, so they have a flat amplitude response, but a phase response which varies linearly (or almost linearly) with frequency. All lattice circuits, regardles ...


References


External links


ECE 209 Phase-Shifter Circuit
analysis steps for a common analog phase-shifter circuit.
filter-solutions.com: All-pass filters
{{Electronic filters Linear filters Filter frequency response Digital signal processing