# Low-pass filter

Low-pass filter

A low-pass filter is a filter that passes low-frequency signals but attenuates (reduces the amplitude of) signals with frequencies higher than the cutoff frequency. The actual amount of attenuation for each frequency varies from filter to filter. It is sometimes called a high-cut filter, or treble cut filter when used in audio applications.

The concept of a low-pass filter exists in many different forms, including electronic circuits (like a "hiss filter" used in audio), digital algorithms for smoothing sets of data, acoustic barriers, blurring of images, and so on. Low-pass filters play the same role in signal processing that moving averages do in some other fields, such as finance; both tools provide a smoother form of a signal which removes the short-term oscillations, leaving only the long-term trend.

Examples of low pass filters

Figure 1 shows a low pass RC filter for voltage signals, discussed in more detail below. Signal "Vout" contains frequencies from the input signal, with high frequencies attenuated, but with little attentuation below the corner frequency of the filter determined by its "RC" time constant. For current signals, a similar circuit using a resistor and capacitor in parallel works the same way. See current divider.

Acoustic

A stiff physical barrier tends to reflect higher sound frequencies, and so acts as a low-pass filter for transmitting sound. When music is playing in another room, the low notes are easily heard, while the high notes are attenuated.

Electronic

Electronic low-pass filters are used to drive subwoofers and other types of loudspeakers, to block high pitches that they can't efficiently broadcast.

Radio transmitters use lowpass filters to block harmonic emissions which might cause interference with other communications.

An integrator is another example of a low-pass filter.

DSL splitters use low-pass and high-pass filters to separate DSL and POTS signals sharing the same pair of wires.

Low-pass filters also play a significant role in the sculpting of sound for electronic music as created by analogue synthesisers. "See subtractive synthesis."

Ideal and real filters

An ideal low-pass filter completely eliminates all frequencies above the cutoff frequency while passing those below unchanged. The transition region present in practical filters does not exist in an ideal filter. An ideal low-pass filter can be realized mathematically (theoretically) by multiplying a signal by the rectangular function in the frequency domain or, equivalently, convolution with a sinc function in the time domain.

However, the ideal filter is impossible to realize without also having signals of infinite extent, and so generally needs to be approximated for real ongoing signals, because the sinc function's support region extends to all past and future times. The filter would therefore need to have infinite delay, or knowledge of the infinite future and past, in order to perform the convolution. It is effectively realizable for pre-recorded digital signals by assuming extensions of zero into the past and future, but even that is not typically practical.

Real filters for real-time applications approximate the ideal filter by truncating and windowing the infinite impulse response to make a finite impulse response; applying that filter requires delaying the signal for a moderate period of time, allowing the computation to "see" a little bit into the future. This delay is manifested as phase shift. Greater accuracy in approximation requires a longer delay.

The Whittaker–Shannon interpolation formula describes how to use a perfect low-pass filter to reconstruct a continuous signal from a sampled digital signal. Real digital-to-analog converters use real filter approximations.

Electronic low-pass filters

There are a great many different types of filter circuits, with different responses to changing frequency. The frequency response of a filter is generally represented using a Bode plot.

* A first-order filter, for example, will reduce the signal amplitude by half (about –6 dB) every time the frequency doubles (goes up one octave); more precisely, the rolloff approaches 20 dB per decade in the limit of high frequency. The magnitude Bode plot for a first-order filter looks like a horizontal line below the cutoff frequency, and a diagonal line above the cutoff frequency. There is also a "knee curve" at the boundary between the two, which smoothly transitions between the two straight line regions. If the transfer function of a first-order lowpass filter has a zero as well as a pole, the Bode plot will flatten out again, at some maximum attenuation of high frequencies; such an effect is caused for example by a little bit of the input leaking around the one-pole filter; this one-pole–one-zero filter is still a first-order lowpass. "See Pole–zero plot and RC circuit."

* A second-order filter attenuates higher frequencies more steeply. The Bode plot for this type of filter resembles that of a first-order filter, except that it falls off more quickly. For example, a second-order Butterworth filter will reduce the signal amplitude to one fourth its original level every time the frequency doubles (–12 dB per octave, or –40 dB per decade). Other all-pole second-order filters may roll off at different rates initially depending on their Q factor, but approach the same final rate of –12 dB per octave; as with the first-order filters, zeroes in the transfer function can change the high-frequency asymptote. See RLC circuit.

* Third- and higher-order filters are defined similarly. In general, the final rate of rolloff for an order-n all-pole filter is 6n dB per octave.

On any Butterworth filter, if one extends the horizontal line to the right and the diagonal line to the upper-left (the asymptotes of the function), they will intersect at exactly the "cutoff frequency". The frequency response at the cutoff frequency in a first-order filter is –3 dB below the horizontal line. The various types of filters — Butterworth filter, Chebyshev filter, Bessel filter, etc. — all have different-looking "knee curves". Many second-order filters are designed to have "peaking" or resonance, causing their frequency response at the cutoff frequency to be "above" the horizontal line. "See electronic filter for other types."

The meanings of 'low' and 'high' — that is, the cutoff frequency — depend on the characteristics of the filter. The term "low-pass filter" merely refers to the shape of the filter's response; a high-pass filter could be built that cuts off at a lower frequency than any low-pass filter – it is their responses that set them apart. Electronic circuits can be devised for any desired frequency range, right up through microwave frequencies (above 1000 MHz) and higher.

Passive electronic realization

One simple electrical circuit that will serve as a low-pass filter consists of a resistor in series with a load, and a capacitor in parallel with the load. The capacitor exhibits reactance, and blocks low-frequency signals, causing them to go through the load instead. At higher frequencies the reactance drops, and the capacitor effectively functions as a short circuit. The combination of resistance and capacitance gives you the time constant of the filter $au = RC$ (represented by the Greek letter tau). The break frequency, also called the turnover frequency or cutoff frequency (in hertz), is determined by the time constant:

$f_mathrm\left\{c\right\} = \left\{1 over 2 pi au \right\} = \left\{1 over 2 pi R C\right\}$

or equivalently (in radians per second):

$omega_mathrm\left\{c\right\} = \left\{1 over au\right\} = \left\{ 1 over R C\right\}.$

One way to understand this circuit is to focus on the time the capacitor takes to charge. It takes time to charge or discharge the capacitor through that resistor:
* At low frequencies, there is plenty of time for the capacitor to charge up to practically the same voltage as the input voltage.
* At high frequencies, the capacitor only has time to charge up a small amount before the input switches direction. The output goes up and down only a small fraction of the amount the input goes up and down. At double the frequency, there's only time for it to charge up half the amount.

Another way to understand this circuit is with the idea of reactance at a particular frequency:
* Since DC cannot flow through the capacitor, DC input must "flow out" the path marked $V_mathrm\left\{out\right\}$ (analogous to removing the capacitor).
* Since AC flows very well through the capacitor — almost as well as it flows through solid wire — AC input "flows out" through the capacitor, effectively short circuiting to ground (analogous to replacing the capacitor with just a wire).

It should be noted that the capacitor is not an "on/off" object (like the block or pass fluidic explanation above). The capacitor will variably act between these two extremes. It is the Bode plot and frequency response that show this variability.

Active electronic realization

Another type of electrical circuit is an "active" low-pass filter.

In the operational amplifier circuit shown in the figure, the cutoff frequency (in hertz) is defined as:

$f_mathrm\left\{c\right\} = \left\{1 over 2 pi R_2 C \right\}$

or equivalently (in radians per second):

$omega_mathrm\left\{c\right\} = frac\left\{1\right\}\left\{R_2 C\right\}$

The gain in the passband is $frac\left\{-R_2\right\}\left\{R_1\right\}$, and the stopband drops off at −6 dB per octave, as it is a first-order filter.

Sometimes, a simple gain amplifier (as opposed to the very-high-gain operation amplifier) is turned into a low-pass filter by simply adding a feedback capacitor C. This feedback decreases the frequency response at high frequencies via the Miller effect, and helps to avoid oscillation in the amplifier. For example, an audio amplifier can be made into a low-pass filter with cutoff frequency 100 kHz to reduce gain at frequencies which would otherwise oscillate. Since the audio band (what we can hear) only goes up to 20 kHz or so, the frequencies of interest fall entirely in the passband, and the amplifier behaves the same way as far as audio is concerned.

Laplace notation

Continuous-time filters can also be described in terms of the Laplace transform of their impulse response in a way that allows all of the characteristics of the filter to be easily analyzed by considering the pattern of poles and zeros of the Laplace transform in the complex plane (in discrete time, one can similarly consider the Z-transform of the impulse response).

A first-order low-pass filter can be described in Laplace notation as

:$frac\left\{mathrm\left\{Output\left\{mathrm\left\{Input = frac\left\{1\right\}\left\{1 + s au\right\}$

where "s" is the Laplace transform variable and "τ" is the filter time constant.

Digital simulation

The effect of a low-pass filter can be simulated on a computer by analyzing its behavior in the time domain, and then discretizing the model.

From the circuit diagram to the right, according to Kirchoff's Laws and the definition of capacitance:

:$V_\left\{in\right\}\left(t\right) - V_\left\{out\right\}\left(t\right) = I\left(t\right) R$:$Q_c\left(t\right) = C V_\left\{out\right\}\left(t\right)$:$I\left(t\right) = frac\left\{d Q_c\right\}\left\{d t\right\}$

Taking the time derivative of the second equation, $I\left(t\right) = C frac\left\{dV_\left\{out\left\{dt\right\}$. Combining this with the first equation:

:$V_\left\{in\right\}\left(t\right) - V_\left\{out\right\}\left(t\right) = C left \left[frac\left\{dV_\left\{out\left\{dt\right\} ight\right] R$

Now we may discretize the equation. Let us represent $V_\left\{in\right\}$ by a series of samples $x_\left\{1...n\right\}$. We will likewise represent $V_\left\{out\right\}$ by a series of sample $y_\left\{1...n\right\}$ at thesame points in time. For simplicity we assume that the samples are taken at evenly-spaced points in time separated by $Delta t$. Making these substitutions:

:$x_i - y_i = C left \left[ frac\left\{y_\left\{i\right\}-y_\left\{i-1\left\{Delta t\right\} ight\right] R$

And rearranging terms:

:$y_i = x_i left\left( frac\left\{Delta t\right\}\left\{RC + Delta t\right\} ight\right) + y_\left\{i-1\right\} left\left( frac\left\{RC\right\}\left\{RC + Delta t\right\} ight\right)$

or more succinctly,

:$y_n = alpha x_n + \left(1 - alpha\right) y_\left\{n-1\right\},$ :where $alpha = frac\left\{Delta t\right\}\left\{RC + Delta t\right\}$

This gives us a way to determine the output samples in terms of the input samples and the preceding output. The following algorithm will simulate the effect of a low-pass filter on a series of digital samples:

// Return RC low-pass filter output samples, given input samples, // time interval "dt", and time constant "RC" function lowpass("real [0..n] " x, "real" dt, "real" RC) var "real [0..n] " y var "real" alpha := dt / (RC + dt) y [0] := x [0] for i from 1 to n y [i] := alpha * x [i] + (1-alpha) * y [i-1] return y

Equivalently, more efficiently, and somewhat more intuitively (the change in filter output is proportional to the difference between the last output and the current input, which is the essence of exponential decay):

for i from 1 to n y [i] := y [i-1] + alpha * (x [i] - y [i-1] )

* Baseband
* Digital filter: Another realization of a low-pass filter
* High-pass filter
* Band-stop filter
* Band-pass filter

* [http://electronica.asm.ro/filters/low_pass_filter.html Low-pass visual simulation]
* [http://www.muzique.com/schem/filter.htm RC Filter Calculator]
* [http://electronica.asm.ro/filters/cutoff.php Cutoff frequency calculator]
* [http://www.st-andrews.ac.uk/~www_pa/Scots_Guide/experiment/lowpass/lpf.html Low Pass Filter java simulator]

Wikimedia Foundation. 2010.

### Look at other dictionaries:

• low-pass filter — žemųjų dažnių filtras statusas T sritis automatika atitikmenys: angl. low pass filter vok. Tiefpaß, m; Tiefpaßfilter, n rus. фильтр низких частот, m pranc. filtre passe bas, m …   Automatikos terminų žodynas

• low-pass filter — žemųjų dažnių filtras statusas T sritis fizika atitikmenys: angl. low pass filter vok. Tiefpaß, m; Tiefpaßfilter, n rus. низкочастотный фильтр, m; фильтр нижних частот, m pranc. filtre passe bas, m …   Fizikos terminų žodynas

• low-pass filter — noun a filter that passes frequencies below a certain value and attenuates frequencies above that value • Hypernyms: ↑filter * * * noun : an electric circuit filter that transmits only frequencies below a prescribed frequency limit …   Useful english dictionary

• Low-pass filter — PP An audio filter that allows allows frequencies below a certain threshold to pass through while stopping higher ones …   Audio and video glossary

• low-pass filter — /ˌloʊ pas ˈfɪltə/ (say .loh pahs filtuh) noun an electrical network which allows only signals with frequencies below a certain value, which may be fixed or variable, to pass …   Australian-English dictionary

• Low-shelf filter — PP An audio filter that allows allows frequencies below a certain threshold to pass through while reducing higher ones …   Audio and video glossary

• Low pass — may refer to*Low Pass, Oregon *Low pass filter …   Wikipedia

• Low-Pass — Als Tiefpass bezeichnet man in der Elektronik Filter, die Signalanteile mit Frequenzen unterhalb ihrer Grenzfrequenz annähernd ungeschwächt passieren lassen, Anteile mit höheren Frequenzen dagegen abschwächen. Entsprechende Filterfunktionen… …   Deutsch Wikipedia

• low-pass — adjective Electronics (of a filter) transmitting all frequencies below a certain value …   English new terms dictionary

• High-pass filter — A high pass filter is a filter that passes high frequencies well, but attenuates (reduces the amplitude of) frequencies lower than the cutoff frequency. The actual amount of attenuation for each frequency varies from filter to filter. It is… …   Wikipedia