Author Guidelines for Preparing a Paper for the International Journal

advertisement
An Optimised Structure for CIC Decimation Filter
Sachin B R
Student, R V College of Engineering,ECE,Bangalore,Karnataka,India
sachinbrraj@gmail.com
Abstract
Decimation filter is a type of filter used to reduce the sampling frequency. A Cascaded Integrator Comb (CIC) structure
is used to implement this filter which has equal number of integrator and comb stages. In this paper, an optimised
implementation of this filter is discussed which reduces the number of comb stages for a given order. The filter is
modeled using VHDL, simulated in Modelsim and implemented on FPGA.
Keywords: Decimation, CIC filter, ModelSim,FPGA.
1. Introduction
In many applications, for example in a
communications system, the required signal may
be only KHz wide but it may be centered at very
high frequencies. Sampling such a signal at the
Nyquist criteria, i.e. sampling at twice the
highest input frequency, leads to a higher data
rate of the signal. Processing a high data rate
signal is a difficult task. Reducing the data rate
of such signals would ease the processing
significantly. In a communications system, two
systems might be working at different rates
which require a rate change process. This is
achieved by the use of a decimator or an
interpolator.
In cases where decimation or interpolation rates
are very high, implementation using finite
impulse response filters (FIR) filters might be
costly due to the requirement of large number of
filter taps. CIC filters, which are an optimized
class of FIR filters, introduced by Hogenauer [1],
provide a very efficient means of implementing
these filter functions without the requirement of
multipliers. This paper discusses the architecture
of CIC filters and the implementation aspects of
decimation filter.
where R is differential delay and is usually 1 or
2.In this paper it is chosen to be 1,N is the filter
order and M is decimation factor.
The denominator is implemented using integrator
stages and numerator is implemented using
differentiator stages as shown in fig 1 and 2
respectively.
Fig 1: Integrator Fig 2: Differentiator
The CIC filter is a cascade of digital integrators
followed by a cascade of combs (digital
differentiators) in equal number as shown in fig
3. Between the integrators and the combs there is
a digital switch or decimator, used to lower the
sampling frequency of the combs signal with
respect to the sampling frequency of the
integrators. The integrator stages operate at a
clock frequency of fs, while differentiator stages
operate at fs/M .
2. Existing method
The CIC filter transfer function in the Z-plane is
given by :
(1  z  RM ) N
H ( z)  H ( z)H ( z) 
(1  z 1 ) N
N
I
N
C
(1)
Fig 3: CIC filter
The delay block (Z-1) is implemented as a
register whose size is given by the formula:
Wi  N log 2 ( RM )  Bin
(2)
where Bin is the number of input bits
1
Wi is the register size of ith stage
The number of output is also the same as Wi.
The tabular column depicted below shows the
device utilization summary of the device
xc3s500e -4 fg320.
3. Proposed method
In the proposed method, for an order N, the
structure consists of N integrators and N-1
differentiators. The digital switch in between acts
like a differentiator thus reducing the need of one
more differentiator.. The functioning of the
switch is such that at every clock of
differentiator, the register in Nth stage of
integration is stored with the register value of
(N-1)th stage and at every clock of integrator, the
normal functioning of an integrator is
implemented i.e. adding its contents with (N-1)
register and storing the sum in the same register.
This functionality removes the need of a
differentiator stage. Thereby reduces hardware
utilisation and power dissipation.
4. Results
A decimation filter with decimation factor of 4
and 3rd order is implemented. The fig 4 shows
the various clocks and the functionality of the
switch. The input is a sine wave of 16 bits. As
we can see in fig 4, the differentiator and output
(d_dec) changes at clk_differentiator and
integrator as well as input is changing at
clk_integrator. Hence a decimation of 4 is
obtained.
Table 1: Device utilization summary
Number of slice flip
flops
Number of 4 input
LUT
Number of occupied
slices
Number of slices
containing related
Number of slices
logic
containing unrelated
logic
Total number of 4
input
LUT used as
Number
95
logic
Number used as
feed-thru
Number of bonded
IOBs
Number
of
BUFGMUXs
2
66
54
54
0
68
66
25
1
5. Conclusion
In this paper the CIC decimator structure is
optimized in terms of hardware required for its
implementation. This reduces the area occupied
and power dissipation significantly compared to
the existing method. The results are verified in
Modelsim. The design is implemented in Xilinx
Spartan 3E FPGA and verified in hardware.
6. References
Fig 4: Switch functionality
The fig 5 shows the full view of fig 4 .As we can
see, the input is a sine wave and output is also a
sine wave but changing at the rate of 4 times
lesser than the input.
Fig 5: Input, output waveforms
[1] Hogenauer, E., "An economical class of
digital
filters
for
decimation
and
interpolation," Acoustics, Speech and Signal
Processing,
IEEE
Transactions
on ,
vol.29,no.2,pp.155,162,Apr
1981,doi:
10.1109/TASSP.1981.1163535
related
logic Balagopal, S.; Saxena, V.,
[2]Koppula,
R.M.R.;
"Efficient design and
synthesis of
related logic filters for wideband deltadecimation
sigma rel
ADCs," SOC Conference (SOCC),
2011 IEEE International , vol., no.,
rel 26-28 Sept. 2011
pp.380,385,
[3]Shiqian Zhang; Jing Qi; Jie Bao, "The
improvement
of
design
for
CIC
compensation
filter,"
Electronics,
Communications and Control (ICECC), 2011
2
International
Conference on , vol., no.,
pp.1712,1715, 9-11 Sept. 2011
[4]Awasthi, V.; Raj, K., "Power performance
analysis of compensated Cascaded Integrator
Comb (CIC) filter in optimum computing,"
Power and Energy in NERIST (ICPEN), 2012
1st International Conference on , vol., no.,
pp.1,6, 28-29 Dec. 2012
[5]Sharma, S.; Kulkarni, S.; Vanitha, M.;
Lakshminarsimhan,
P.,
"Hardware
Realization of Modified CIC Filter for
Satellite Communication," Computational
Intelligence and Communication Networks
(CICN), 2010 International Conference on ,
vol., no., pp.41,44, 26-28 Nov. 2010
[6] Anna Engelbert, Carl Hallqvist,”Computable
efficient recursive filters”, pp.14-23,
Chalmers University of Technology,
Sweden,2008.
3
Download