FIR Filter Design using Different Window Techniques

Similar documents

Gibb s Phenomenon Analysis on FIR Filter using Window Techniques

Department of Electrical and Electronics Engineering Institute of Technology, Korba Chhattisgarh, India

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

Performance Analysis of FIR Digital Filter Design Technique and Implementation

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

Advanced Digital Signal Processing Part 5: Digital Filters

Corso di DATI e SEGNALI BIOMEDICI 1. Carmelina Ruggiero Laboratorio MedInfo

Aparna Tiwari, Vandana Thakre, Karuna Markam Deptt. Of ECE,M.I.T.S. Gwalior, M.P, India

Design of FIR Filters

Departmentof Electrical & Electronics Engineering, Institute of Technology Korba Chhattisgarh, India

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

Experiment 4- Finite Impulse Response Filters

A Comparative Performance Analysis of High Pass Filter Using Bartlett Hanning And Blackman Harris Windows

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

Optimal FIR filters Analysis using Matlab

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3

EEM478-DSPHARDWARE. WEEK12:FIR & IIR Filter Design

EE 470 Signals and Systems

Digital FIR LP Filter using Window Functions

FIR FILTER DESIGN USING A NEW WINDOW FUNCTION

F I R Filter (Finite Impulse Response)

Digital Filters FIR and IIR Systems

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window:

EC6502 PRINCIPLES OF DIGITAL SIGNAL PROCESSING

4. Design of Discrete-Time Filters

A comparative study on main lobe and side lobe of frequency response curve for FIR Filter using Window Techniques

ECE 421 Introduction to Signal Processing

CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR

Simulation Based Design Analysis of an Adjustable Window Function

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

FIR window method: A comparative Analysis

An Improved Window Based On Cosine Hyperbolic Function

Chapter 5 Window Functions. periodic with a period of N (number of samples). This is observed in table (3.1).

FIR FILTER DESIGN USING NEW HYBRID WINDOW FUNCTIONS

Digital Signal Processing

2) How fast can we implement these in a system

MULTIRATE IIR LINEAR DIGITAL FILTER DESIGN FOR POWER SYSTEM SUBSTATION

COMPARISON OF VARIOUS FILTERING TECHNIQUES USED FOR REMOVING HIGH FREQUENCY NOISE IN ECG SIGNAL

EE 422G - Signals and Systems Laboratory

Performance Analysis on frequency response of Finite Impulse Response Filter

DESIGN OF FIR AND IIR FILTERS

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam

Signal Processing Toolbox

ISSN: X International Journal of Advanced Research in Electronics and Communication Engineering (IJARECE) Volume 7, Issue 5, May 2018

Digital Signal Processing

ijdsp Workshop: Exercise 2012 DSP Exercise Objectives

Keywords FIR lowpass filter, transition bandwidth, sampling frequency, window length, filter order, and stopband attenuation.

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

FIR Digital Filter and Its Designing Methods

International Journal of Digital Application & Contemporary research Website: (Volume 2, Issue 6, January 2014)

CHAPTER -2 NOTCH FILTER DESIGN TECHNIQUES

Window Functions And Time-Domain Plotting In HFSS And SIwave

DSP Filter Design for Flexible Alternating Current Transmission Systems

Oluwole Oyetoke 1, 2 Dr. O.E Agboje. Covenant University, Ota, Nigeria

CG401 Advanced Signal Processing. Dr Stuart Lawson Room A330 Tel: January 2003

IJRASET: All Rights are Reserved

Digital Filters - A Basic Primer

Design Band Pass FIR Digital Filter for Cut off Frequency Calculation Using Artificial Neural Network

GUJARAT TECHNOLOGICAL UNIVERSITY

Signals. Continuous valued or discrete valued Can the signal take any value or only discrete values?

2018 American Journal of Engineering Research (AJER)

Keyword ( FIR filter, program counter, memory controller, memory modules SRAM & ROM, multiplier, accumulator and stack pointer )

FIR Filters Digital Filters Without Feedback

Digital Signal Processing

ISSN (PRINT): , (ONLINE): , VOLUME-5, ISSUE-2,

Understanding the Behavior of Band-Pass Filter with Windows for Speech Signal

SKP Engineering College

The Polyphase Filter Bank Technique

ELEC Dr Reji Mathew Electrical Engineering UNSW

Designing Filters Using the NI LabVIEW Digital Filter Design Toolkit

Digital Signal Processing for Audio Applications

Dipti Rathore 1, Anjali Gupta 2, Sumit Chakravorty 3, Pranay Kumar Rahi 4 1, 2, 3. IJRASET: All Rights are Reserved

UNIVERSITY OF SWAZILAND

DIGITAL SIGNAL PROCESSING WITH VHDL

Bibliography. Practical Signal Processing and Its Applications Downloaded from

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3

Noise estimation and power spectrum analysis using different window techniques

Design of Digital Filter and Filter Bank using IFIR

Design Digital Non-Recursive FIR Filter by Using Exponential Window

The Comparative Study of FPGA based FIR Filter Design Using Optimized Convolution Method and Overlap Save Method

Part One. Efficient Digital Filters COPYRIGHTED MATERIAL

Analysis and design of filters for differentiation

MATLAB for Audio Signal Processing. P. Professorson UT Arlington Night School

The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #1

Outline. Discrete time signals. Impulse sampling z-transform Frequency response Stability INF4420. Jørgen Andreas Michaelsen Spring / 37 2 / 37

CS3291: Digital Signal Processing

SCUBA-2. Low Pass Filtering

1. Find the magnitude and phase response of an FIR filter represented by the difference equation y(n)= 0.5 x(n) x(n-1)

Design of High Performance FIR Filter Using Vedic Mathematics in MATLAB

Digital Signal Processing. VO Embedded Systems Engineering Armin Wasicek WS 2009/10

Problem Point Value Your score Topic 1 28 Discrete-Time Filter Analysis 2 24 Upconversion 3 30 Filter Design 4 18 Potpourri Total 100

A Survey Report for Design of FIR Filter with different method

SMS045 - DSP Systems in Practice. Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003

Design and comparison of butterworth and chebyshev type-1 low pass filter using Matlab

ISSN: International Journal Of Core Engineering & Management (IJCEM) Volume 3, Issue 4, July 2016

Fig 1 describes the proposed system. Keywords IIR, FIR, inverse Chebyshev, Elliptic, LMS, RLS.

UNIT-II MYcsvtu Notes agk

Transcription:

FIR Filter Design using Different Window Techniques Kajal, Kanchan Gupta, Ashish Saini Dronacharya College of Engineering Abstract- Digital filter are widely used in the world of communication and computation. On the other hand to design a digital finite impulse response (FIR) filter that satisfying all the required conditions is a challenging one. In this paper, design techniques of low pass FIR filters using Blackman window method, Optimal Parks McClellan method and Genetic Algorithm method are presented. The stability, number of components required and filter coefficients are demonstrated for different design techniques. It is shown that filter design by using GA is best because the numbers of components required are less and stability is more as compare with other techniques. Design comparisons are presented to show the effectiveness of GA optimization method Index Terms Rectangular, Hanning and Hamming windows, FIR Filter. I. INTRODUCTION Digital filters are actually the discrete time systems which are mainly used for filter purpose. And these include filterating of arrays or sequences. These arrays or sequences can be obtained by sampling the input signal which is analog in nature. The digital filters perform the frequency related operations such as low pass, high pass, band reject, band pass and all pass, etc. also the digital specifications include cut off frequency, sampling frequency of input signal, pass band variation, stop band attenuation, approximation, type of filter. So these filters are proficient of performing that condition which are extremely complicated, to accomplish with an analog implementation. Also the major advantage of the digital filter is that all the characteristics of a digital filter can be easily upgraded under software control. Actually the digital filter may be realized through hardware as well as software. But the software digital filters requires digital hardware for their operation. There are two types of filters which provides these functions are Finite Impulse Response(FIR) and Infinite Impulse Response(IIR) filters. FIR Filter Systems are those systems for which the unit sample response h(n) has finite number of terms. IIR Filter Systems are those systems for which such infinite number of unit sample response terms are to be considered are called Infinite Impulse Response. A. Difference Between FIR and IIR Filter FIR filter is Finite in nature while IIR Filter if infinite. Feedback system is not involved in FIR so it is non recursive while IIR filter is recursive in nature. The impulse response of an FIR filter will finally reaches zero. The impulse response of an IIR filter may very well keep "ringing" infinitely. IIR filters can be accurately simulate analog filter response while FIR can t do this FIR filter has a linear phase where as IIR filter has no particular phase. FIR filter is more stable than IIR filter. FIR filter consist of only zeroes and IIR filter consists of both poles and zeroes. FIR filters are filters having a transfer function of a polynomial in z- and is an all-zero filter in the logic that the zeroes in the z-plane resolve the frequency response magnitude characteristic [4]. The z transform of a N-point FIR filter is given by H (z) = N 1 h(n)z n k=0 FIR filters are particularly useful for applications where exact linear phase response is required. The FIR filter is generally implemented in a non-recursive way which guarantees a stable filter. FIR filter design essentially consists of two parts Approximation problem Realization problem The approximation stage takes the measurement and gives a transfer function through four steps. They are as follows: A desired or ideal response is chosen, usually in the frequency domain. An allowed class of filters is chosen (e.g. the length N for a FIR filters). A measure of the quality of approximation is chosen. IJIRT 100462 INTERNATONAL JOURNAL OF INNOVATIVE RESEARCH IN TECHNOLOGY 991

A method or algorithm is selected to find the best filter transfer function. The realization part deals with choosing the structure to implement the transfer function which may be in the form of circuit diagram or in the form of a program. There are essentially three well-known methods for FIR filter design namely: (1) The window method (2) The frequency sampling technique (3)Optimal Filter Design Method B. Applications Traditionally, most digital filter applications have been limited to audio and high-end image processing. With advances in process technologies and digital signal processing methodologies, digital filters are now cost-effective in the IF range and in almost all video markets. Digital filters are commonly used for audio frequencies for two reasons. First, digital filters for audio are superior in price and performance to the analog alternative. Second, audio Analog-to-Digital Converters (A/Ds) and Digital-to-Analog Converters (DACs) can be manufactured with high accuracy and are available at low cost. Thus, the combined cost of filtering and conversion (if necessary) is low. The cost trades are much more difficult in the 1MHz to 100MHz signal range, such as the IF ranges of many radio receivers. II. THE WINDOW METHOD The method the most used in digital filter design is Fourier series method. However, there is a problem in this method. The problem is that Fourier series method causes to Gibb s oscillations at cut-off frequency region. In this the desired frequency response H(e jw ). The Fourier transform of the weighting function consists of the main lobe, which contains most of the energy of the window function and side lobes which decays rapidly. In this method the desired frequency response specification Hd(w), corresponding unit sample response hd(n) is determined using the following relation h d (n)=1/2π h (w)e jwn dw d H d(w)= n= hd (n)e jwn In general, unit sample response hd(n) obtained from the above relation is infinite in duration, so it must be truncated at some point say n= M-1 to yield an FIR filter of length (i.e. 0 to M-1).This truncation of hd(n) to length M-1 is same as multiplying hd(n) by the rectangular window defined as W(n) =a-b cos (2p(n+1)/(N+1) + ccos (4p(n+1) /(N+1)) n= 0,1, N-1 =0 otherwise Thus the unit sample response of the FIR filter becomes h(n) = h d (n) w(n) =hd(n) 0 n M-1 = 0 otherwise Now, the multiplication of the window function w(n) with hd(n) is equivalent to convolution of Hd(w) with W(w), where W(w) is the frequency domain representation of the window function W(w)= M 1 w(n)e jwn n=0 Thus the convolution of Hd(w) with W(w) yields the frequency response of the truncated FIR filter H(w)=1/2π H d (v)w(w v)dw(w) The frequency response can also be obtained using the following relation H(w)= M 1 h(n)e jwn n=0 Direct truncation of hd(n) to M terms to obtain h(n) leads to the Gibbs phenomenon effect which manifests itself as a fixed percentage overshoot and ripple before and after an approximated discontinuity in the frequency response due to the non-uniform convergence of the fourier series at a discontinuity. Thus the frequency response obtained by using above equation contains ripples in the frequency domain. In order to reduce the ripples, instead of multiplying hd(n) with a rectangular window w(n), hd(n) is multiplied with a window function that contains a taper and decays toward zerogradually, instead of abruptly as it occurs in a rectangular window. As multiplication of sequences hd(n) and w(n) in time domain is equivalent to convolution of Hd(w)and W(w) in the frequency domain, it has the effect of smoothing Hd(w). The several effects of windowing IJIRT 100462 INTERNATONAL JOURNAL OF INNOVATIVE RESEARCH IN TECHNOLOGY 992

the Fourier coefficients of the filter on the result of the frequency response of the filter are as follows: (i) A major effect is that discontinuities in H(w) become transition bands between values on either side of the discontinuity. (ii) The width of the transition bands depends on the width of the main lobe of the frequency response of the window function, w(n) i.e. W(w). (iii) Since the filter frequency response is obtained via a convolution relation, it is clear that the resulting filters are never optimal in any sense. (iv) As M (the length of the window function) increases, the main lobe width of W(w) is reduced which reduces the width of the transition band, but this also introduces more ripple in the frequency response. (v) The window function eliminates the ringing effects at the band edge and does result in lower side lobes at the expense of an increase in the width of the transition band of the filter. The FIR filter design process via window functions can be split into several steps: Some of the windows commonly used are as follows: 1. Bartlett triangular window W (n)= -2(n+1)/ N+1 ;n=0,1,2,.,(n-1)/2 = 2-(2(n+1))/N+1 ; n= (N-1)/2 N-1 = 0, otherwise 2-5. Generalized cosine windows (Rectangular, Hanning, Hamming and Blackman) W(n)= a-bcos(2p(n+1)/(n+1))+c cos(4p(n+1)/(n+1)) ; n=0,1 N-1 =0 ; otherwise II. Simulation and Results:- In simulation number of sample point (N)=65, Filter Order=61, Ws=.4580,Wp=.341 1. Defining filter specifications; 2. Specifying a window function according to the filter specifications; 3. Computing the filter order required for a given set of specifications; 4. Computing the window function coefficients; 5. Computing the ideal filter coefficients according to the filter order; 6. Computing FIR filter coefficients according to the obtained window function and ideal filter coefficients; 7. If the resulting filter has too wide or too narrow transition region, it is necessary to change the filter order by increasing or decreasing it according to needs, and after that steps 4, 5 and 6 are iterated as many times as needed. The final objective of defining filter specifications is to find the desired normalized frequencies (ωc, ωc1, ωc2), transition width and stopband attenuation. The window function and filter order are both specified according to these parameters. IJIRT 100462 INTERNATONAL JOURNAL OF INNOVATIVE RESEARCH IN TECHNOLOGY 993

IJIRT 100462 INTERNATONAL JOURNAL OF INNOVATIVE RESEARCH IN TECHNOLOGY 994

REFERENCES [1] S. Salivahanan, A. Vallavaraj, C. Gnanaapriya, Digital Signal Processing, Tata McGraw-Hill. [2] John G. Poakis, Dimitris G. Manolakis, Digital Signal Processing (Principals,Algorithms and Application), Pearson Education, Third Edition. [3] S. M. Shamsul Alam, Md. Tariq Hasan., Performance Analysis of FIR Filter Design by Using Optimal, Blackman Window and Frequency Sampling Methods. [4] Arojit Roychowdhury, FIR Filter Design Techniques Electronic Systems Group, EE Dept, IIT Bombay. [5] Parks-McClellan FIR Filter Design (cnx.org Content). [6] Ivan W.Seleswick and C.Sidney Burrus Exchange Algorithm that Complement the Park McClellan Algorithm for Linear Phase FIR Filter Design. [7] Gennaro Evangelista, Design of Optimum High Order Finite Word length Digital FIR Filters with Linear Phase [8] Flávio C. A. Teixeira, Universidade de Brasília, Optimum Finite Impulse Response Digital Filter Design Using Computational Intelligence Based Optimization Algorithms. III. CONCLUSION FIR filter design by using hamming is stable as compare to rectangular and hanning windows techniques. Ripples in pass band are less in hamming as compare to other two techniques (as shown in fig 2, 3, 4). Hamming has linear phase as compare to rectangular and hanning windows. IJIRT 100462 INTERNATONAL JOURNAL OF INNOVATIVE RESEARCH IN TECHNOLOGY 995