HOME

TheInfoList



OR:

In
digital signal processing Digital signal processing (DSP) is the use of digital processing, such as by computers or more specialized digital signal processors, to perform a wide variety of signal processing operations. The digital signals processed in this manner are ...
, a cascaded integrator–comb (CIC) is an optimized class of
finite impulse response In signal processing, a finite impulse response (FIR) filter is a filter whose impulse response (or response to any finite length input) is of ''finite'' duration, because it settles to zero in finite time. This is in contrast to infinite impulse r ...
(FIR) filter combined with an interpolator or decimator. A CIC filter consists of one or more
integrator An integrator in measurement and control applications is an element whose output signal is the time integral of its input signal. It accumulates the input quantity over a defined time to produce a representative output. Integration is an importan ...
and
comb filter In signal processing, a comb filter is a filter implemented by adding a delayed version of a signal to itself, causing constructive and destructive interference. The frequency response of a comb filter consists of a series of regularly spaced no ...
pairs. In the case of a decimating CIC, the input signal is fed through one or more cascaded integrators, then a down-sampler, followed by one or more comb sections (equal in number to the number of integrators). An interpolating CIC is simply the reverse of this architecture, with the down-sampler replaced with a zero-stuffer (up-sampler).


The CIC filter

CIC filters were invented by Eugene B. Hogenauer, and are a class of FIR filters used in
multi-rate digital signal processing Sample-rate conversion, sampling-frequency conversion or resampling is the process of changing the sampling rate or sampling frequency of a discrete signal to obtain a new discrete representation of the underlying continuous signal. Application ar ...
. The CIC filter finds applications in interpolation and decimation. Unlike most FIR filters, it has a decimator or interpolator built into the architecture. The figure at the right shows the Hogenauer architecture for a CIC interpolator. The system function for the composite CIC filter referenced to the high sampling rate, fs is: : \begin H(z) &=\left \sum_^z^ \right ^N \\ &= \left ( \frac \right ) ^N \end Where: :''R'' = decimation or interpolation ratio :''M'' = number of samples per stage (usually 1 but sometimes 2) :''N'' = number of stages in filter Characteristics of CIC Filters # Linear phase response; # Utilize only delay and addition and subtraction; that is, it requires no multiplication operations;


CIC as a moving average filter

A CIC filter is an efficient implementation of a moving-average filter. To see this, consider how a moving average filter can be implemented recursively by adding the newest sample x /math> to the previous result y -1/math> and subtracting the oldest sample. Omitting the division by RM, we have: : \begin y &= \sum_^ x -k\\ &= y -1+ x - x -RM \end The second equality corresponds to a comb (c = x - x -RM/math>) followed by an integrator (y = y -1+ c /math>). The conventional CIC structure is obtained by cascading N identical moving average filters, then rearranging the sections to place all integrators first (decimator) or combs first (interpolator). Such rearrangement is possible because both combs and integrators are LTI. For an interpolator, the upsampler which normally precedes the interpolation filter can be passed through the comb sections using a Noble identity, reducing the number of delay elements needed by a factor of R. Similarly, for a decimator, the downsampler which normally follows the decimation filter can be moved before the comb sections. The equivalence of a CIC to moving average filter allows us to trivially calculate its bit growth as N \log_2(RM).


Comparison with other filters

CIC filters are used in multi-rate processing. An
FIR filter In signal processing, a finite impulse response (FIR) filter is a filter whose impulse response (or response to any finite length input) is of ''finite'' duration, because it settles to zero in finite time. This is in contrast to infinite impulse ...
is used in a wide array of applications, and can be used in multi-rate processing in conjunction with an interpolator or decimator. CIC filters have low pass frequency characteristics, while FIR filters can have
low-pass 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 ...
,
high-pass 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 de ...
, or
band-pass 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 ...
frequency characteristics. CIC filters use only addition and subtraction. FIR filters use addition, subtraction, but most FIR filters also require multiplication. CIC filters have a specific frequency
roll-off Roll-off is the steepness of a Transfer function, transfer function with frequency, particularly in network analysis (electrical circuits), electrical network analysis, and most especially in connection with filter (signal processing), filter cir ...
, while low pass FIR filters can have an arbitrarily sharp frequency roll-off. CIC filters are in general much more economical than general FIR filters, but tradeoffs are involved. In cases where only a small amount of interpolation or decimation are needed, FIR filters generally have the advantage. However, when rates change by a factor of 10 or more, achieving a useful FIR filter anti-aliasing stop band requires many FIR taps. For large rate changes, a CIC has a significant advantage over a FIR filter with respect to architectural and computational efficiency. Additionally, CIC filters can typically be reconfigured for different rates by changing nothing more than the decimation/interpolation section assuming the bit width of the integrators and comb sections meets certain mathematical criteria based on the maximum possible rate change. Whereas a FIR filter can use
fixed Fixed may refer to: * ''Fixed'' (EP), EP by Nine Inch Nails * ''Fixed'', an upcoming 2D adult animated film directed by Genndy Tartakovsky * Fixed (typeface), a collection of monospace bitmap fonts that is distributed with the X Window System * ...
or
floating point In computing, floating-point arithmetic (FP) is arithmetic that represents real numbers approximately, using an integer with a fixed precision, called the significand, scaled by an integer exponent of a fixed base. For example, 12.345 can be ...
math, a CIC filter uses only fixed point math. This is necessary because, as a recursively implemented FIR filter, a CIC filter relies on exact cancellation of poles from the integrator sections by zeros from the comb sections. While the reasons are less than intuitive, an inherent characteristic of the CIC architecture is that if fixed bit length overflows occur in the integrators, they are corrected in the comb sections. The range of filter shapes and responses available from a CIC filter is somewhat limited. Larger amounts of
stopband A stopband is a band of frequencies, between specified limits, through which a circuit, such as a filter or telephone circuit, does not allow signals to pass, or the attenuation is above the required stopband attenuation level. Depending on applic ...
rejection can be achieved by increasing the number of poles. However, doing so requires an increase in
bit width Bit-length or bit width is the number of binary digits, called bits, necessary to represent an unsigned integer as a binary number. Formally, the bit-length of a natural number n \geq 0 is :\ell(n) = \lceil \log_2(n+1) \rceil where \log_2 is the ...
in the integrator and comb sections which increases filter
complexity Complexity characterises the behaviour of a system or model whose components interaction, interact in multiple ways and follow local rules, leading to nonlinearity, randomness, collective dynamics, hierarchy, and emergence. The term is generall ...
. The shape of the filter response provides even fewer degrees of design freedom. For this reason, many real-world filtering requirements cannot be met by a CIC filter alone. However, a CIC filter followed by a short to moderate length FIR or IIR proves highly applicable. Additionally, the FIR filter shape is normalized relative to the CIC's sampling rate at the FIR/CIC interface so one set of FIR coefficients can be used over a range of CIC interpolation and decimation rates.


References


External links


CIC Filter Introduction

Understanding cascaded integrator–comb filters
{{DEFAULTSORT:Cascaded integrator-comb filter Digital signal processing