The Comparative Study of FPGA Based FIR Filter Design Using Optimized Convolution Method and Overlap Save Method
The Comparative Study of FPGA Based FIR Filter Design Using Optimized Convolution Method and Overlap Save Method
Abstract— This paper describes a comparative study of We have designed low pass FIR filter using MATLAB FDA
designing digital filter of long duration sequences. Here we have tool. Here we have developed overlap save method structure
adopted the approach of block filtering scheme “overlap save and optimized linear convolution method of designing
method” and compare with the optimized linear convolution digital filter and synthesized this structure using Xilinx ISE
scheme for designing digital filter. We have implemented both
13.4 synthesis tool and implemented in Spartan 3A. In our
methods in FPGA Spartan 3A starter kit, XC3S700A device.
Implementing both algorithms in FPGA hardware platform paper we have proposed that the long input sequences can
reveals that there is a 67% area reduction and 70.6% increase in be processed using optimized overlap save method
operating frequency in overlap save method compare to optimize technique of designing digital filter. This technique leads to
convolution method. In addition the power utilization summary reduction in the critical path, power consumption and at the
reveals that there is a 24.24% increased in the power utilization same time it increases the clock frequency in comparison to
of overlap save method. Thus the experimental results shows that optimized linear convolution method of designing digital
to design an area optimized , high speed digital filter we should filter. The rest of the paper is MATLAB FDA tool is shown
used overlap save method where as for a power efficient digital in section 2.The FPGA implementation of overlap save
filter we should used optimized linear convolution method.
method structure is given in section 3. The FPGA
Index Terms— FIR,MATLAB, Linear convolution. implementation of linear convolution structure is shown in
section 4.section 5 contains the comparative study and
I. INTRODUCTION calculation of noise variance. Section 6 contains the
conclusion.
Digital signal processing has a broad application in the field
of real time signal processing operation such as speech II. DESIGN OF FIR FILTER USING MATLAB FDA
processing, Audio Compression, Digital Image Processing,
For signal processing operation finite impulse response
radar signal processing and different media applications[1].
(FIR) filter plays an important role, these are the digital
These computation intensive real time applications requires
filter that computes the output response as the weighted,
digital filter to perform the signal processing operation. A
finite term-sum of past, present and future values of the
digital filter is an important class of linear time invariant
filter input as given in equation (2)[3].
system (LTI) that performs on a sample discrete time signal
to reduce or enhanced certain aspect of that signal[2]. In this
paper we focus on designing low pass FIR filter using the
overlap save method technique. The general form of digital
filter difference equation is given below in equation (1)[2]. Where M1, M2 are finite. In this paper we will design a
causal FIR (finite impulse response) filter; the difference
equation is given as below in equation (3) .
37 Published By:
Blue Eyes Intelligence Engineering
& Sciences Publication Pvt. Ltd.
The Comparative Study of FPGA based FIR Filter Design Using Optimized Convolution Method and Overlap Save
Method
In frequency domain, we can represent this truncated Thus in this paper we will design over FIR digital filter
impulse response is shown in the equation (6). using an optimized, computation effective algorithm of
overlap-save method.
In this method we consider the input data having the length
L & the impulse response having the length M. the block
Table I length of the input data should have the size N=L+M-1[6,7]
Properties Specification . Thus the block of data sequences is given by,
response low pass
order 2nd
table Yes
window rectangular window
cut-off frequency (wc ) 0.198
attenuation at cut-off 6 db
frequency
Table II
Transfer function Co-efficient
h(0) 0.325996
h(1) 0.3480081 The response of the FIR filter is now computed by the
h(2) 0.325996 circular convolution method [8]:
38 Published By:
Blue Eyes Intelligence Engineering
& Sciences Publication Pvt. Ltd.
International Journal of Recent Technology and Engineering (IJRTE)
ISSN: 2277-3878, Volume-3, Issue-1, March 2014
A. Simulation results
A. FPGA based design of the overlap save method
We have design our structure using VHDL language and
algorithm
implemented in spartan 3A, starter kit,device
In order to design the architechere of overlap save method XC3S700A.The simulation results of the overlap save
we will divide over structure into two parts – controller and method with different blocks of the input is shown in the
data path.we have used the approach of finite state machine figure(4a) and figure(4b).The table III shows the simulated
for the design of controller part, the input of the controller output results exact valuer,its approaxmiate values and error
part is the input data sequence and the output is the blocks generated due to approaximation.The figure (3) shows the
of data sequences. Thus the FSM controller will divide the plot of the input samples vs error in order to calculate the
long duration input sequence into a fixed block size given variance of output noise.From the error vs sample plot we
by the equation (7), eqation (8) and eqation (10). The output find that as the number of sample increases with each
of the controller is attached with data path as shown in the iteration, error also increases linearly.
diagram figure(2). The data path is again divided into two
sub blocks. The first subblocks is nothing but a ring counter Variance output noise [2] (15)
that produce a impulse response as required during the
B. Device utilization
computation of the circular convolution as shown in the
diagram figure(2).The second subblock consists of We have implemented the structure in spartam-3A starter kit
multipliers and adders that requires during computation of in the device XC3S700A.The device utilization summary ,
the circular convolution.we have used 8 bit array multiplier the maximum computation path delay & the power
and 8 bit ripple carry adder to perform the fast computation utilization of this structure is given in the table below (IV )
of the input sequence .The output of these second subblocks
is connected to a shift register as shown in the diagram ERROR PLOT
figure(2).These serial shift register is used to implement the
0.15
overlap save method.From the five output response of each
0.1
error
= sample
39 Published By:
Blue Eyes Intelligence Engineering
& Sciences Publication Pvt. Ltd.
The Comparative Study of FPGA based FIR Filter Design Using Optimized Convolution Method and Overlap Save
Method
Table III
Table IV
Logic device utilization Path delay and frequency required to Power utilization (w)
summary implement the circuit
Total Number of 180 Minimum period 27.100ns Total 0.041
slices register power
Number of slice 140 Maximum Frequency 36.900MHz Dynamic 0.009
flip flops power
Fig. 4a. Simulation waveform of overlap save structure when select line (s =’00’)
40 Published By:
Blue Eyes Intelligence Engineering
& Sciences Publication Pvt. Ltd.
International Journal of Recent Technology and Engineering (IJRTE)
ISSN: 2277-3878, Volume-3, Issue-1, March 2014
Fig. 4b. Simulation waveform of overlap save structure when select lines (s=’01’)
IV OPTIMIZED LINEAR CONVOLUTION METHOD The simulation results of the linear convolution with
To perform the signal processing operation, we have to different inputs are shown in the figure(6a) and the output
study the impulse response of a system. In DSP system response is shown in the figure(6b).
convolution is a mathematical tool for the study of the B. Device utilization
output response of a system. Thus we can find the output We have implemented the structure in Spartan 3A starter kit
response of a linear time invariant system by using the in the device XC3S700A.The device utilization summary
technique of convolution[9]. the maximum computation path delay & the power
utilization of this structure is given in the table below (VI)
p0 p1 s0 s1 s2 s3 t0 t1 t2 t3 t4 u0 u1 u2 u3 Fina
l
outp
Here x(n) is the input sequences, h(n) is the impulse ut
response & y(n) is the output sequences. In this paper we 0 0 0 0 0 0 0 0 0 0 0 - Y0
have designed a low pass FIR filter using overlap-save 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 Y1
method, now we will verify the output response of the 1 0 0 0 0 0 0 0 1 0 1 0 0 1 0 Y2
system using the optimized convolution circuit. 1 0 0 0 0 1 0 1 0 0 0 0 1 0 0 Y3
In this circuit we have used an only one array multiplier and 1 0 0 0 1 0 0 1 0 1 1 0 1 1 0 Y4
a ripple carry adder with array of multiplexer as a switching 1 0 0 0 1 1 1 0 0 0 1 1 0 0 0 Y5
element to generate the output respons of the FIR low pass 1 0 0 1 0 0 0 0 1 0 0 1 0 1 0 Y6
filter. 1 0 0 1 0 1 1 0 1 1 1 1 1 0 0 Y7
The proposed architecture is divided into two blocks: one 1 0 0 1 1 0 1 1 0 1 0 1 1 1 0 Y8
for input sequences analysis and another for the generation 1 0 0 1 1 1 1 1 1 0 0 1 1 1 1 Y9
1 0 1 0 0 0 1 1 1 0 1 - Y10
for the output sequences. In this paper input circuit
depending upon the control signal the input sequences
multiplied with the impluse response in order to generate the
intermidiate sequences. In the output circuit,the intermidiate
signals are added as shown in the figure(5b) to produced the
final output results. According to the table V generarion of
output response for the various combination of control lines
are shown below.
A. Simulation result
We have design our structure using VHDL language and
implemented in spartan 3A starter kit,device.
41 Published By:
Blue Eyes Intelligence Engineering
& Sciences Publication Pvt. Ltd.
The Comparative Study of FPGA based FIR Filter Design Using Optimized Convolution Method and Overlap Save
Method
42 Published By:
Blue Eyes Intelligence Engineering
& Sciences Publication Pvt. Ltd.
International Journal of Recent Technology and Engineering (IJRTE)
ISSN: 2277-3878, Volume-3, Issue-1, March 2014
43 Published By:
Blue Eyes Intelligence Engineering
& Sciences Publication Pvt. Ltd.
The Comparative Study of FPGA based FIR Filter Design Using Optimized Convolution Method and Overlap Save
Method
VI CONCLUSION
This paper has presented a comparative study of a designing
FIR filter of long duration sequences using both optimized
convolution method and overlap save method. The FPGA
implementation results shows that for a area optimized, high
speed FIR filter design application we can preferred overlap
save method. But for a low power FIR filter design
application we can preferred optimized linear convolution
method
REFERENCES
[1] Leila Ismail, Member, IEEE Computer Society, and Driss Guerchi,,
“Performance Evaluation of Convolution on the Cell Broadband
Engine Processor” IEEE TRANSACTIONS ON PARALLEL AND
DISTRIBUTED SYSTEMS, VOL. 22, NO. 2, FEBRUARY 2011.
[2] S Poornachandra and B Sasikala,“signal and system Tata”, McGraw
Hill , 3rd edition , 2010.
[3] Zdenka Babic, Danilo P. Mandic,“A Fast Algorithm for Linear
Convolution of Discrete Time Signals”,5th International Conference
on telecommunicationin modern satellite, cable and broadcasting
service 2001.
[4] P.Ramesh Babu,“ Digital Signal Processing”,Scitech
publications,3rd edition Feb 2006.
[5] Sumit Kumar Maity , Madhusudan Maiti, “A comparative study on
FPGA based FIR filter using broadcast structure and overlap save
method”, International Journal of Advanced Research in Computer
Science and Electronics Engineering (IJARCSEE) Volume 1, Issue
9, November 2012.
[6] Pramod Kumar Meher,, “Parallel and Pipelined Architectures for
Cyclic Convolution by Block Circulant Formulation Using Low-
Complexity Short-Length Algorithms”, IEEE TRANSACTIONS
ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY,
VOL. 18, NO. 10, OCTOBER 2008.
[7] John W. Pierre,” A Novel Method for Calculating the Convolution
Sum of Two Finite Length Sequences”, IEEE TRANSACTIONS
ON EDUCATION, VOL. 39, NO. 1, FEBRUARY 1996.
[8] Hideo Murukumi,,“GENERALIZATION OF THE CYCLIC
CONVOLUTION SYSTEM AND ITS APPLICATIONS”, IEEE
International conference on acoustics ,speech and signal processing,
2000.
[9] Khader Mohammad, Sos Agaian, ”Efficient FPGA implementation
of convolution”, IEEE International Conferenceon Systems, Man,
and Cybernetics San Antonio, TX, USA - October 2009.
Gargi Roy
44 Published By:
Blue Eyes Intelligence Engineering
& Sciences Publication Pvt. Ltd.