Beruflich Dokumente
Kultur Dokumente
BHARATI AINAPURE2
Computer Engg. Department, MIT College of Engg,Pune,
ainapuressa@yahoo.co.in
Abstract: This paper gives brief overview of the basic structure and hardware characteristics of the Finite
Impulse Response (FIR) digital filter.FIR filter has been designed efficiently using matlab and implemented on
Field Programmable Gate Array (FPGA) platform. MATLAB FDATool has been used to determine filter
coefficients and 4th order 32 bit filter has been prototyped. The design has been prototyped on an XC3S500-
4FG320 in Spartan-3E Platform using Integrated Synthesis Environment (ISE) 9.1/10.1 Tools all in one design
suit from Xilinx.
…. (2.1)
…. (2.2)
As it can be seen from the differential equations(2.2)[Jieshan(2009)], FIR filter order is N-I, length is N. System
output depends on a function of the input, and has no direct relationship with the past output, it does not contain
feedback branch. y(n) is the output. [Jiang (2010)] And x(n-i) is the input sample sequence on the nth times. h(i) is
the i-th level filter tap coefficient, L is the number of the filter tap. Its basic structure is shown in Fig. 1
[Jieshan(2009)]. We can find that the structure of FIR filter in hardware is mainly composed of the shift register,
adder and multiplier.
….(3.1)
Because hd(n) is infinitely long, we have to deal with it by the window function to get to the unit impulse
response h(n) which meets the requirement. Its calculation formula is shown in (3.2). w(n) is the window
function.
…. (3.2)
FIR filter coefficients has been found from the method of window function, the basic idea of window function
is to have the narrowest main lobe width and side lobes as small as possible, so we use Hamming window for
the filter design. Matlab special toolbox FDATool (Filter Design & Analysis) has been used to simulate and
design filter[Zhang(2006)], the filter amplitude-frequency characteristics meet the requirements .The filter
coefficients exported to a text file, 4-order impulse response coefficients of FIR filters are as follows:
FIR Filter Design parameters has been given as follows
1) Order of filter - 4
6) Filter Coefficients
Table 1 Filter Coefficients for low pass and high pass filter
0.02658205770921216 -0.074845619115308265
0.45040671298934842 0.83799343436458384
0.02658205770921216 -0.074845619115308265
-0.0037453391408711189 -0.0055441199344672806
5. Simulation Results
Conclusion
This paper mainly describes the design and simulation of FIR filter which is based on FPGA, XILINX tools
and Matlab.By using these tools time required to get desired results has become less.FIR filter coefficients design
has been performed by using FDATool. VHDL has been used to enter hardware description. VHDL codes have been
written, synthesized, mapped then successfully configured and prototyped. FIR filter designed fully complies with
design requirements.
References
[1] Jiang Xiaoyan and Bao Yujun , “FIR Filter Design Based on FPGA”, 20IO International Conference on Computer Application and
System Modeling (ICCASM 2010),
[2] Jieshan Lin and Huang Shizhen, “An Design of the 16-order FIR Digital Filter Based on FPGA”, 2009, International Conference on
Information Science and Engineering (ICISE2009)
[3] Zhang Chi and Guo Li Li, Design of FIR filter with Matlab and running on FPGA, Applied Science and Technology. vol. 33, no. 6,
pp.83, Jun. 2006
[4] http://www.mathworks.com/help/toolbox/signal/fdatool.html
[5] S. Salivahanan, A. Vallavaraj,”Digital Signal Processing ”,Tata McGraw Hill Publishing company,New Delhi, 2007
[6] Rudra Pratap ,”Getting started with MATLAB 7: a quick introduction for scientists and engineers”, Oxford University Press, 2006
[7] Volnei A .Pedroni,”Circuit Design with VHDL”,,MIT Press Cambridge,London,England,2004