T
In audio applications, need for efficient digital perform down-sampling to low frequency
filter has been increasing at high rate because components from high frequency components.
of high speed and low power requirements. In canonic signed digit (CSD) representation is an
this paper, we discussed design of a decimation efficient way for representing filter coefficients .In
filter used for high performance audio this paper, we implemented a decimation filter
ES
applications. We implemented decimation filter
in order to obtain low-power with the use of
canonical signed digit (CSD) representation.
using a comb filter and three half-band FIR
filters[4].The filter coefficients obtained are
represented using CSD representation, which
Basic requirement of this digital filter is to requires less hardware and consumes less power.
decrease the frequency spectrum and filtered The remainder of the paper is organized as follow.
out the feedback signal. The architecture of the Section 2 describes the filter architecture. Section
proposed digital filter includes a 4- filter stage, 3 presents the comb filter implementation section
i.e a comb filter and three stages of half-band 4 presents half-band fir filter design, section 5
finite impulse response (FIR) filters. The CSD presents CSD number representation and CSD
conversion algorithm and section 6 includes
A
representation is suitable for common sub
expression elimination, and it significantly results.
reduces the number of adders required for the
filter synthesis. This project is implemented in Table[1]. Filter specifications(ref[1])
CADENCE EDA tools using TSMC180nm
library. Decimation factor 128
IJ
Need for decimation filter is to remove the Output word length 16bits
quantization noise within the band of interest and
avoid aliasing of high frequency down to low Output word rate 10khz
frequency components or within the signal
bandwidth. This way of implementation reduces
the power consumption, also utilizes much lesser
hardware compared to few other designs this is 2. FILTER ARCHITECTURE:
Delta sigma modulator output bit pattern at filter stages.[3] since filter stages operate at low
1.28Mhz is given as input for decimation filter frequency which results in decrease in the
whose output will be down sampled to 10khz with hardware used and also reduces power consumed
a pass-band ripple of 0.0001.[1] Comb filter is by these stages.[1] Comb filter is used as first
implemented as a combination of 3 stages of stage of decimation filter as it is suitable to
integrators and 3 stages of differentiators, and a operate at high frequencies, whose response is a
decimation factor of 16 is used for down low pass filter with a sharper cut-off. Comb filter
sampling. Comb filter output will down sample is a Sinc fir filter, which is realized using L+1
the sampling frequency from 1.28Mhz to 80khz. averaging filters, where L is the order of delta-
Also we used 3 stages of half-band fir filters with sigma modulator.[6] Transfer function of a single
down sampling of 2 for each stage. The first half- averaging filter Tavg(z) is given as
band fir filter with input sampling frequency of
80khz has a pass band ripple of 0.00004, pass- Tavg(z) = ∑ (1)
band of 20khz, and stop-band attenuation of -
110db, and the number of coefficients for this Which is realized as follows ,
T
filter is 4. The second half-band filter has a
sampling frequency of 40khz, has a pass band Tavg(z) = (2)
ripple of 0.00004, pass-band of 20khz, and stop-
band attenuation of -110db, and the number of Where cascade of L+1 filters is obtained as,
coefficients for this filter is 4. The third half-band
filter has a sampling frequency of 20khz, has a
ES
pass band ripple of 0.00001, pass-band of 20khz,
and stop-band attenuation of -100db, and the
Tavg(z) =
( )
Y[n]
Half-band Halfband
16-bit 16-bit
Fir2 Fir3
y[n]
Fig.1 comb filter architecture(Ref[1])
4. HALF-BAND FIR FILTER DESIGN: way for representing filter coefficients, since it
reduces 33% of non-zero digits compared with the
FIR filters offer control over filter shaping and binary representation.
linear phase performance. Due to its linear phase
response, they are used in audio application, but at For a given M-bit representation of a number the
the cost of the high filter order.[2] A linear phase signed digit representation can be related to its 2’s
FIR filter requires large number of coefficients, complement version as follows,
we have implemented half-band FIR filter to
X = -xM-12M-1 +∑ ∑ (4)
reduce the number of coefficients.[4] In half-band
filters, the number of taps is reduced considerably Where xk {0,1} , Sk {-1,0,1} where SkSk-1=0
since the odd coefficients are zeros, which reduces
for k=1......M-1.[3]Signed digits are ternary, in
the hardware and also power consumption.
contrast with 2’scomplement digits, which are
For the design of half-band filter with impulse
binary.[5] The value of a CSD number can be
response[3] obtained by summing terms Sk≠0.[3] Since always
T
h(n)={ filter coefficients are normalized to x [-1,1].
Where i be any real number. CSD numbers can be represented as follows,
X =∑ (5)
The number of taps in an FIR filter is
proportional to the stop band rejection, the ratio of Where L is number of non-zero digits and
ES
the sampling frequency, and the transition band.
[1]Half-band FIR filter is realized as follows,
Pk { }
C0 C2 C4 ậW = ậW-1
for(i=0 to W-1)
IJ
Y[n] {
i=ậi ậW-1
C5
i= i -1 i
Fig.4 Half-band Fir filter
ậi = (1 - 2ậI+1) i
5. CSD REPRESENTATION:
}
It is an efficient way of representing signed digit
numbers(twos complement numbers). The number
set used for representing CSD number is {-1,0,1},
and also CSD is a unique representation such that
no two consecutive bits in representing number
are non-zero.[3] A number represented in CSD
requires atmost non-zero digits where n is the
total number of bits used for representing the
number.[4] CSD number system is most efficient
ISSN: 2230-7818 @ 2011 http://www.ijaest.iserp.org. All rights Reserved. Page 113
BRAHMA REDDY.P et al. / (IJAEST) INTERNATIONAL JOURNAL OF ADVANCED ENGINEERING SCIENCES AND TECHNOLOGIES
Vol No. 6, Issue No. 1, 111 - 115
T
It can be inferred from the obtained synthesized
reports that by using CSD multiplier, since
number of non-zero bits gets reduced to half there
by amount of hardware(adders) required gets
ES reduced, which results in reduction power
dissipation but at the cost of area.
CONCLUSION:
In this paper, we have implemented a
decimation filter designed for high performance
audio applications. which includes a comb filter
and 3-stages of half-band fir filters are designed
A
and implemented using Matlab and verified for
real time application using Modelsim. Filter
coefficients are represented using hardware
efficient CSD(ternary) representation. And CSD
Fig.4 Response for half-band fir filter multiplier is used to perform general
IJ
T
processing and communication systems, 2008.
ISPACS 2008.page:1-4.