Beruflich Dokumente
Kultur Dokumente
Based on MATLAB
Chonghua Li
College of Mechanical and Electrical Engineering
Guizhou Normal University
Guiyang ,China
1001lch@sina.com
Abstract—Digital filtering occupies an extremely important and the amount of calculation becomes very large. With the
position in the digital signal processing. This paper introduces development of the computer technology and large scale
the definition and basic principles of FIR digital filters, and the integrated circuit (LSI), digital filters have been realized with
design methods based on MATLAB. After the description of the MATLAB software. Not only make the design of digital filter
process of design and simulation of a FIR band-pass filter by by computer-aided become possible, but also make the design
means of window function method, the results prove that various reach optimization.
performance of the designed FIR filter reach the appointed
requirement, the designed method is simple, the design process is
handy and efficient. II. FIR DIGITAL FILTERS
Keywords- FIR digital filter; window function; MATLAB; A Design Principle of FIR Filter
design; Simulatio If the unit-sample response is finite sequence limited h (n),
101
1) Obtaining a unit impulse response hd(n) of the ideal
The coefficient of differential equation equals filter by the Inverse Fourier Transform.
successive value h(n) of unit-sample response, the system
function H(z) can be expressed as the following form:
h( x) = hd (n) ⋅ W (n)
4) Examining the performance of filter.
102
"Window Specifications” can be definition and choice of saved for paper "kaiser1.fda" after the completion of the design.
Window functions. Filter characteristics and the filtering effect are shown in Figure
2.
Now we assumed that there is a group of signal of 15Hz
sinusoidal in signals .Now a band-pass digital filter is asked to During the design process, comparing the characteristics of
be designed , using it to track and analyze this signal, and amplitude frequency and phase frequency characteristics of
smoothing power frequency and other harmonic in order to filter and design require, we can adjust the parameters and filter
isolate the signal from the complex signal. types at any time in order to obtain the best effect.
Parameters requirements: filter order number N = 38, beta
= 3.4. Sampling frequency fs=100Hz,bandpass lower cut-off B. Simulation based on Simulink
frequency fc1=10 Hz, bandpass cap cut-off frequency fc2=20 In the Simulink environment, the filter paper "kaiser1.fda"
Hz, transition bandwidth 6Hz, Pass and stop band was imported into the module "Digital Filter Design ", when
fluctuations=0.01 ,design by Kaiser window. the signal "s (t) = sin (10ʌt) + sin (30ʌt) + sin (60ʌt) "was
inputted, simulation diagram and filtering effect as shown in
figure 3. As can be seen from Figure 3, 15Hz frequency sine
wave signal can pass the band-pass filter "filt1", but 5Hz or
30Hz frequency sine wave signal will be damped greatly. The
simulation results show that various performance index of the
design of FIR filters have reached specified requirements and
the process of design was simple and easy to do.
103
Figure 3. Simulink simulation diagram and filtering eff REFERENCE
˄1˅ Simulink simulation diagram [1] Zhengzhou Li., “ Processing and Application of MATLAB digital
signal ,”[M] Beijing China: Tsinghua university press. May 2008.
˄2˅ Discrete waveform before and after filtering [2] Ding Lei, Zhencun Pan, Wei Cong , “ Design and Simulation of the
Digital Filter Based on MATLAB Signal Processing Toolbox.” Relay,
vol.31(9) ,pp.49-51, 2003.
IV.
CONCLUSION [3] Shuntian Lou, Bohan Li, “ Analysis and Design of System Based on the
FIR digital filter through the example of the design and MATLAB -Signal Processing .” [M] Xian China: Xidian University
Press, 1998.
analysis, in MATLAB environment, based on MATLAB [4] Haili Guo, Ziting Wang, “Design and Realization of FIR Digital Filters
Signal Processing Toolbox design of digital filters can be Based on Matlab/Simulink ,”The application of electrical,vol.27
convenient, fast and correctly designed to meet the strict linear (1) ,2008.
phase The FIR filter, saving a lot of programming time, [5] Changhong Dong etc, “ Processing and Application of MATLAB Signal,”
improving the efficiency of programming, and parameter Beijing China: Defense Industry Press, 2005.
[6] Ergong zheng Hanqiang Li, “ Design and Filter of FIR Filters Based on
changes is also very convenient. To signal transmission and the
the MATLAB, ” Computer and Information Technology, October ˈ
treatment has an extremely important role. Digital Filter
2005
designed using MATLAB in the digital communications [7] Dazhu Yang, “ Design and Simulation of FIR Filters in MATLAB
systems and signal processing of the computer field, have Environment, ” Electronic Technology Applicat .
broad application prospects.
104