HOME

TheInfoList



OR:

In
signal processing Signal processing is an electrical engineering subfield that focuses on analyzing, modifying and synthesizing ''signals'', such as audio signal processing, sound, image processing, images, and scientific measurements. Signal processing techniq ...
, a sinc filter is an idealized
filter Filter, filtering or filters may refer to: Science and technology Computing * Filter (higher-order function), in functional programming * Filter (software), a computer program to process a data stream * Filter (video), a software component tha ...
that removes all frequency components above a given
cutoff 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 ...
, without affecting lower frequencies, and has
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 sa ...
response. The filter's
impulse response In signal processing and control theory, the impulse response, or impulse response function (IRF), of a dynamic system is its output when presented with a brief input signal, called an Dirac delta function, impulse (). More generally, an impulse ...
is a sinc function in the
time domain Time domain refers to the analysis of mathematical functions, physical signals or time series of economic or environmental data, with respect to time. In the time domain, the signal or function's value is known for all real numbers, for the cas ...
and its
frequency response In signal processing and electronics, the frequency response of a system is the quantitative measure of the magnitude and phase of the output as a function of input frequency. The frequency response is widely used in the design and analysis of sy ...
is a
rectangular function The rectangular function (also known as the rectangle function, rect function, Pi function, Heaviside Pi function, gate function, unit pulse, or the normalized boxcar function) is defined as \operatorname(t) = \Pi(t) = \left\{\begin{array}{rl ...
. It is an "ideal"
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 filter des ...
in the frequency sense, perfectly passing low frequencies, perfectly cutting high frequencies; and thus may be considered to be a ''brick-wall filter''. Real-time filters can only approximate this ideal, since an ideal sinc filter (a.k.a. ''rectangular filter'') is non-causal and has an infinite delay, but it is commonly found in conceptual demonstrations or proofs, such as the
sampling theorem Sampling may refer to: *Sampling (signal processing), converting a continuous signal into a discrete signal * Sampling (graphics), converting continuous colors into discrete color components *Sampling (music), the reuse of a sound recording in ano ...
and the
Whittaker–Shannon interpolation formula The Whittaker–Shannon interpolation formula or sinc interpolation is a method to construct a continuous-time bandlimited function from a sequence of real numbers. The formula dates back to the works of E. Borel in 1898, and E. T. Whittaker in ...
. In mathematical terms, the desired frequency response is the
rectangular function The rectangular function (also known as the rectangle function, rect function, Pi function, Heaviside Pi function, gate function, unit pulse, or the normalized boxcar function) is defined as \operatorname(t) = \Pi(t) = \left\{\begin{array}{rl ...
: :H(f) = \operatorname \left( \frac \right) = \begin 0, & \text , f, > B, \\ \frac, & \text , f, = B, \\ 1, & \text , f, < B, \end where is an arbitrary cutoff frequency (a.k.a. ''bandwidth''). The impulse response of such a filter is given by the
inverse Fourier transform In mathematics, the Fourier inversion theorem says that for many types of functions it is possible to recover a function from its Fourier transform. Intuitively it may be viewed as the statement that if we know all frequency and phase information ...
of the frequency response: : \begin h(t) = \mathcal^ \ &= \int_^B \exp(2\pi i f t) \, df \\ &= 2B \operatorname(2 \pi B t) \end where ''sinc'' is the normalized sinc function. As the sinc filter has infinite impulse response in both positive and negative time directions, it must be approximated for real-world (non-abstract) applications; a windowed sinc filter is often used instead. Windowing and truncating a sinc filter
kernel Kernel may refer to: Computing * Kernel (operating system), the central component of most operating systems * Kernel (image processing), a matrix used for image convolution * Compute kernel, in GPGPU programming * Kernel method, in machine learnin ...
in order to use it on any practical real world data set reduces its ideal properties.


Brick-wall filters

An idealized
electronic filter Electronic filters are a type of signal processing filter in the form of electrical circuits. This article covers those filters consisting of lumped electronic components, as opposed to distributed-element filters. That is, using components ...
with full transmission in the pass band, complete attenuation in the stop band, and abrupt transitions is known colloquially as a "brick-wall filter" (in reference to the shape of the
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, theoretically models the system's output for ...
). The sinc filter is a brick-wall
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 filter des ...
, from which brick-wall
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. Description In electronics and signal processing, a filter is usually a two-por ...
s and
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 d ...
s are easily constructed. The lowpass filter with brick-wall cutoff at frequency ''B''''L'' has impulse response and transfer function given by: : h_(t) = 2B_L \operatorname\left(2B_L t\right) : H_(f) = \operatorname\left( \frac \right). The band-pass filter with lower band edge ''B''''L'' and upper band edge ''B''''H'' is just the difference of two such sinc filters (since the filters are zero phase, their magnitude responses subtract directly): : h_(t) = 2B_H \operatorname\left(2B_H t\right) - 2B_L \operatorname\left(2B_L t\right) : H_(f) = \operatorname\left( \frac \right) - \operatorname\left( \frac \right). The high-pass filter with lower band edge ''B''''H'' is just a transparent filter minus a sinc filter, which makes it clear that the
Dirac delta function In mathematics, the Dirac delta distribution ( distribution), also known as the unit impulse, is a generalized function or distribution over the real numbers, whose value is zero everywhere except at zero, and whose integral over the entire ...
is the limit of a narrow-in-time sinc filter: : h_(t) = \delta(t) - 2B_H \operatorname\left(2B_H t\right) : H_(f) = 1 - \operatorname\left( \frac \right). Brick-wall filters that run in realtime are not physically realizable as they have infinite latency (i.e., its
compact support In mathematics, the support of a real-valued function f is the subset of the function domain containing the elements which are not mapped to zero. If the domain of f is a topological space, then the support of f is instead defined as the smallest ...
in the
frequency domain In physics, electronics, control systems engineering, and statistics, the frequency domain refers to the analysis of mathematical functions or signals with respect to frequency, rather than time. Put simply, a time-domain graph shows how a signa ...
forces its time response not to have compact support meaning that it is ever-lasting) and infinite order (i.e., the response cannot be expressed as a
linear differential equation In mathematics, a linear differential equation is a differential equation that is defined by a linear polynomial in the unknown function and its derivatives, that is an equation of the form :a_0(x)y + a_1(x)y' + a_2(x)y'' \cdots + a_n(x)y^ = b( ...
with a finite sum), but approximate implementations are sometimes used and they are frequently called brick-wall filters.


Frequency-domain sinc

The name "sinc filter" is applied also to the filter shape that is rectangular in time and a sinc function in frequency, as opposed to the ideal low-pass sinc filter, which is sinc in time and rectangular in frequency. In case of confusion, one may refer to these as sinc-in-frequency and sinc-in-time, according to which domain the filter is sinc in. Sinc-in-frequency Cascaded integrator–comb (CIC) filters, among many other applications, are almost universally used for decimating
delta-sigma Delta-sigma (ΔΣ; or sigma-delta, ΣΔ) modulation is a method for encoding analog signals into digital signals as found in an analog-to-digital converter (ADC). It is also used to convert high bit-count, low-frequency digital signals into ...
ADCs, as they are easy to implement and nearly optimal for this use. The simplest implementation of a Sinc-in-frequency filter is a group-averaging filter, also known as accumulate-and-dump filter. This filter also performs a data rate reduction. It collects ''N'' data samples, accumulates them and provides the accumulator value as output. Thus, the decimation factor of this filter is ''N''. It can be modeled as a FIR filter with all ''N'' coefficients equal, followed by a N-time downsampling block. The simplicity of the filter, requiring just an accumulator as central data processing block, is foiled with strong aliasing effects: an N sample filter aliases all non-fully attenuated signal components lying above \frac to the baseband ranging from 0 to \frac (''fS'' is the input sample rate). A group averaging filter processing ''N'' samples has ''N''/2 transmission zeroes.
The picture "transmission function of a 16sample group averaging filter" shows how the transmission function looks above the Nyquist frequency.


Stability

The sinc filter is not bounded-input–bounded-output (BIBO) stable. That is, a bounded input can produce an unbounded output, because the integral of the absolute value of the sinc function is infinite. A bounded input that produces an unbounded output is sgn(sinc(''t'')). Another is sin(2''Bt'')''u''(''t''), a sine wave starting at time 0, at the cutoff frequency.


See also

*
Lanczos resampling filtering and Lanczos resampling are two applications of a mathematical formula. It can be used as a low-pass filter or used to smoothly interpolate the value of a digital signal between its samples. In the latter case it maps each sample of t ...
*
Aliasing In signal processing and related disciplines, aliasing is an effect that causes different signals to become indistinguishable (or ''aliases'' of one another) when sampled. It also often refers to the distortion or artifact that results when a ...
*
Anti-aliasing filter An anti-aliasing filter (AAF) is a filter used before a signal sampler to restrict the bandwidth of a signal to satisfy the Nyquist–Shannon sampling theorem over the band of interest. Since the theorem states that unambiguous reconstruct ...


References


External links


Brick Wall Digital Filters and Phase Deviations

Brick-wall filters
{{DEFAULTSORT:Sinc Filter Signal processing Digital signal processing Filter theory Filter frequency response