HOME

TheInfoList



OR:

An anti-aliasing filter (AAF) is a filter used before a signal sampler to restrict the
bandwidth Bandwidth commonly refers to: * Bandwidth (signal processing) or ''analog bandwidth'', ''frequency bandwidth'', or ''radio bandwidth'', a measure of the width of a frequency range * Bandwidth (computing), the rate of data transfer, bit rate or thr ...
of a
signal A signal is both the process and the result of transmission of data over some media accomplished by embedding some variation. Signals are important in multiple subject fields including signal processing, information theory and biology. In ...
to satisfy the
Nyquist–Shannon sampling theorem The Nyquist–Shannon sampling theorem is an essential principle for digital signal processing linking the frequency range of a signal and the sample rate required to avoid a type of distortion called aliasing. The theorem states that the sample r ...
over the band of interest. Since the theorem states that unambiguous reconstruction of the signal from its samples is possible when the power of frequencies above the
Nyquist frequency In signal processing, the Nyquist frequency (or folding frequency), named after Harry Nyquist, is a characteristic of a Sampling (signal processing), sampler, which converts a continuous function or signal into a discrete sequence. For a given S ...
is zero, a brick wall filter is an idealized but impractical AAF. A practical AAF makes a trade off between reduced
bandwidth Bandwidth commonly refers to: * Bandwidth (signal processing) or ''analog bandwidth'', ''frequency bandwidth'', or ''radio bandwidth'', a measure of the width of a frequency range * Bandwidth (computing), the rate of data transfer, bit rate or thr ...
and increased
aliasing In signal processing and related disciplines, aliasing is a phenomenon that a reconstructed signal from samples of the original signal contains low frequency components that are not present in the original one. This is caused when, in the ori ...
. A practical anti-aliasing filter will typically permit some aliasing to occur or attenuate or otherwise distort some in-band frequencies close to the Nyquist limit. For this reason, many practical systems sample higher than would be theoretically required by a perfect AAF in order to ensure that all frequencies of interest can be reconstructed, a practice called
oversampling In signal processing, oversampling is the process of sampling (signal processing), sampling a signal at a sampling frequency significantly higher than the Nyquist rate. Theoretically, a bandwidth-limited signal can be perfectly reconstructed if ...
.


Optical applications

In the case of
optical Optics is the branch of physics that studies the behaviour and properties of light, including its interactions with matter and the construction of instruments that use or detect it. Optics usually describes the behaviour of visible, ultravio ...
image sampling, as by
image sensor An image sensor or imager is a sensor that detects and conveys information used to form an image. It does so by converting the variable attenuation of light waves (as they refraction, pass through or reflection (physics), reflect off objects) into s ...
s in
digital camera A digital camera, also called a digicam, is a camera that captures photographs in Digital data storage, digital memory. Most cameras produced today are digital, largely replacing those that capture images on photographic film or film stock. Dig ...
s, the anti-aliasing filter is also known as an optical low-pass filter (OLPF), blur filter, or AA filter. The mathematics of sampling in two spatial dimensions is similar to the mathematics of
time-domain In mathematics and signal processing, the time domain is a representation of how a signal, function, or data set varies with time. It is used for the analysis of function (mathematics), mathematical functions, physical signal (information theory), ...
sampling, but the filter implementation technologies are different. The typical implementation in
digital camera A digital camera, also called a digicam, is a camera that captures photographs in Digital data storage, digital memory. Most cameras produced today are digital, largely replacing those that capture images on photographic film or film stock. Dig ...
s is two layers of
birefringent Birefringence, also called double refraction, is the optical property of a material having a refractive index that depends on the polarization and propagation direction of light. These optically anisotropic materials are described as birefring ...
material such as
lithium niobate Lithium niobate () is a synthetic salt consisting of niobium, lithium Lithium (from , , ) is a chemical element; it has chemical symbol, symbol Li and atomic number 3. It is a soft, silvery-white alkali metal. Under standard temperatur ...
, which spreads each optical point into a cluster of four points. The choice of spot separation for such a filter involves a tradeoff among sharpness, aliasing, and fill factor (the ratio of the active refracting area of a microlens array to the total contiguous area occupied by the array). In a
monochrome A monochrome or monochromatic image, object or palette is composed of one color (or values of one color). Images using only shades of grey are called grayscale (typically digital) or black-and-white (typically analog). In physics, mon ...
or
three-CCD A three-CCD (3CCD) camera is a camera whose Image sensor, imaging system uses three separate charge-coupled devices (CCDs), each one receiving filtered red, green, or blue color ranges. Light coming in from the Camera lens, lens is split by a ...
or Foveon X3 camera, the microlens array alone, if near 100% effective, can provide a significant anti-aliasing function, while in color filter array (e.g.
Bayer filter A Bayer filter mosaic is a color filter array (CFA) for arranging RGB color model, RGB color filters on a square grid of photosensors. Its particular arrangement of color filters is used in most single-chip digital image sensors used in digit ...
) cameras, an additional filter is generally needed to reduce aliasing to an acceptable level. Alternative implementations include the
Pentax K-3 The Pentax K-3 is a 24-megapixel Pentax high-end digital single-lens reflex camera with an APS-C sensor, announced on 7 October 2013. The Pentax K-3 is the successor to both the K-5 II and K-5 IIs models, which have a 16-megapixel sensor. The K- ...
's anti-aliasing filter, which applies small
vibration Vibration () is a mechanical phenomenon whereby oscillations occur about an equilibrium point. Vibration may be deterministic if the oscillations can be characterised precisely (e.g. the periodic motion of a pendulum), or random if the os ...
s to the sensor element.


Audio applications

Anti-aliasing filters are used at the input of an
analog-to-digital converter In electronics, an analog-to-digital converter (ADC, A/D, or A-to-D) is a system that converts an analog signal, such as a sound picked up by a microphone or light entering a digital camera, into a Digital signal (signal processing), digi ...
. Similar filters are used as reconstruction filters at the output of a
digital-to-analog converter In electronics, a digital-to-analog converter (DAC, D/A, D2A, or D-to-A) is a system that converts a digital signal into an analog signal. An analog-to-digital converter (ADC) performs the reverse function. DACs are commonly used in musi ...
. In the latter case, the filter prevents imaging, the reverse process of aliasing where in-band frequencies are mirrored out of band.


Oversampling

With
oversampling In signal processing, oversampling is the process of sampling (signal processing), sampling a signal at a sampling frequency significantly higher than the Nyquist rate. Theoretically, a bandwidth-limited signal can be perfectly reconstructed if ...
, a higher intermediate digital sample rate is used, so that a nearly ideal
digital filter In signal processing, a digital filter is a system that performs mathematical operations on a Sampling (signal processing), sampled, discrete-time signal to reduce or enhance certain aspects of that signal. This is in contrast to the other ma ...
can sharply cut off aliasing near the original low
Nyquist frequency In signal processing, the Nyquist frequency (or folding frequency), named after Harry Nyquist, is a characteristic of a Sampling (signal processing), sampler, which converts a continuous function or signal into a discrete sequence. For a given S ...
and give better phase response, while a much simpler
analog filter Analogue Filter (signal processing), filters are a basic building block of signal processing much used in electronics. Amongst their many applications are the separation of an audio signal before application to bass (music), bass, mid-range sp ...
can stop frequencies above the new higher Nyquist frequency. Because analog filters have relatively high cost and limited performance, relaxing the demands on the analog filter can greatly reduce both aliasing and cost. Furthermore, because some
noise Noise is sound, chiefly unwanted, unintentional, or harmful sound considered unpleasant, loud, or disruptive to mental or hearing faculties. From a physics standpoint, there is no distinction between noise and desired sound, as both are vibrat ...
is averaged out, the higher sampling rate can moderately improve
signal-to-noise ratio Signal-to-noise ratio (SNR or S/N) is a measure used in science and engineering that compares the level of a desired signal to the level of background noise. SNR is defined as the ratio of signal power to noise power, often expressed in deci ...
. A signal may be intentionally sampled at a higher rate to reduce the requirements and distortion of the anti-alias filter. For example, compare
CD audio Compact Disc Digital Audio (CDDA or CD-DA), also known as Digital Audio Compact Disc or simply as Audio CD, is the standard format for audio compact discs. The standard is defined in the '' Red Book'' technical specifications, which is why t ...
with
high-resolution audio High-resolution audio is a term for music files with bit depth greater than 16-bit and sampling frequency higher than 44.1 kHz or 48 kHz used in CD and DVD formats. The Audio Engineering Society (AES), Consumer Technology Association ( ...
. CD audio filters the signal to a passband edge of 20 kHz, with a stopband Nyquist frequency of 22.05 kHz and sample rate of 44.1 kHz. The narrow 2.05 kHz transition band requires a compromise between filter complexity and performance. High-resolution audio uses a higher sample rate, providing both a higher passband edge and larger transition band, which allows better filter performance with reduced aliasing, reduced attenuation of higher audio frequencies and reduced time and phase domain signal distortion.


Bandpass signals

Often, an anti-aliasing filter is 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 ...
; this is not a requirement, however. Generalizations of the Nyquist–Shannon sampling theorem allow sampling of other band-limited
passband A passband is the range of frequency, frequencies or wavelengths that can pass through a Filter (signal processing), filter. For example, a radio receiver contains a bandpass filter to select the frequency of the desired radio signal out of all t ...
signals instead of
baseband In telecommunications and signal processing, baseband is the range of frequencies occupied by a signal that has not been modulated to higher frequencies. Baseband signals typically originate from transducers, converting some other variable into ...
signals. For signals that are bandwidth limited, but not centered at zero, a
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 ...
can be used as an anti-aliasing filter. For example, this could be done with a single-sideband modulated or
frequency modulated Frequency modulation (FM) is a signal modulation technique used in electronic communication, originally for transmitting messages with a radio wave. In frequency modulation a carrier wave is varied in its instantaneous frequency in proporti ...
signal. If one desired to sample an
FM radio FM broadcasting is a method of radio broadcasting that uses frequency modulation (FM) of the radio broadcast carrier wave. Invented in 1933 by American engineer Edwin Armstrong, wide-band FM is used worldwide to transmit high fidelity, high-f ...
broadcast centered at 87.9 MHz and bandlimited to a 200 kHz band, then an appropriate anti-alias filter would be centered on 87.9 MHz with 200 kHz bandwidth (or
passband A passband is the range of frequency, frequencies or wavelengths that can pass through a Filter (signal processing), filter. For example, a radio receiver contains a bandpass filter to select the frequency of the desired radio signal out of all t ...
of 87.8 MHz to 88.0 MHz), and the sampling rate would be no less than 400 kHz, but should also satisfy other constraints to prevent
aliasing In signal processing and related disciplines, aliasing is a phenomenon that a reconstructed signal from samples of the original signal contains low frequency components that are not present in the original one. This is caused when, in the ori ...
.


Signal overload

It is very important to avoid input signal overload when using an anti-aliasing filter. If the signal is strong enough, it can cause clipping at the
analog-to-digital converter In electronics, an analog-to-digital converter (ADC, A/D, or A-to-D) is a system that converts an analog signal, such as a sound picked up by a microphone or light entering a digital camera, into a Digital signal (signal processing), digi ...
, even after filtering. When
distortion In signal processing, distortion is the alteration of the original shape (or other characteristic) of a signal. In communications and electronics it means the alteration of the waveform of an information-bearing signal, such as an audio signal ...
due to clipping occurs after the anti-aliasing filter, it can create components outside the
passband A passband is the range of frequency, frequencies or wavelengths that can pass through a Filter (signal processing), filter. For example, a radio receiver contains a bandpass filter to select the frequency of the desired radio signal out of all t ...
of the anti-aliasing filter; these components can then alias, causing the reproduction of other non-
harmonic In physics, acoustics, and telecommunications, a harmonic is a sinusoidal wave with a frequency that is a positive integer multiple of the ''fundamental frequency'' of a periodic signal. The fundamental frequency is also called the ''1st har ...
ally related frequencies.


Notes


References

{{DSP Digital signal processing Linear filters Electronic filter applications Anti-aliasing