Fourier Series FIR About Digital Filter Design

Slides:



Advertisements
Similar presentations
Digital filters: Design of FIR filters
Advertisements

Chapter 8. FIR Filter Design
Nonrecursive Digital Filters
EE513 Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
CHAPTER 7 Digital Filter Design Wang Weilian School of Information Science and Technology Yunnan University.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Equiripple Filters A filter which has the Smallest Maximum Approximation Error among all filters over the frequencies of interest: Define: where.
Filtering Filtering is one of the most widely used complex signal processing operations The system implementing this operation is called a filter A filter.
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
LINEAR-PHASE FIR FILTERS DESIGN
Chapter 8 FIR Filter Design
Parks-McClellan FIR Filter Design
EECS 20 Chapter 9 Part 21 Convolution, Impulse Response, Filters Last time we Revisited the impulse function and impulse response Defined the impulse (Dirac.
AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters.
EEE422 Signals and Systems Laboratory Filters (FIR) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
ELEN 5346/4304 DSP and Filter Design Fall Lecture 11: LTI FIR filter design Instructor: Dr. Gleb V. Tcheslavski Contact:
Relationship between Magnitude and Phase (cf. Oppenheim, 1999)
1 Lecture 2: February 27, 2007 Topics: 2. Linear Phase FIR Digital Filter. Introduction 3. Linear-Phase FIR Digital Filter Design: Window (Windowing)
Practical Signal Processing Concepts and Algorithms using MATLAB
1 Diagramas de bloco e grafos de fluxo de sinal Estruturas de filtros IIR Projeto de filtro FIR Filtros Digitais.
1 Lecture 5: March 20, 2007 Topics: 1. Design of Equiripple Linear-Phase FIR Digital Filters (cont.) 2. Comparison of Design Methods for Linear- Phase.
Filter Design Techniques
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Biomedical Signal processing Chapter 7 Filter Design Techniques Zhongguo Liu Biomedical.
FIR Digital Filter Design
Nov'04CS3291: Section 41 University of Manchester Department of Computer Science CS3291 Digital Signal Processing '04-'05 Section 4: ‘A design technique.
DSP-CIS Chapter-4: FIR & IIR Filter Design Marc Moonen Dept. E.E./ESAT, KU Leuven
EE Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
MATLAB for Signal Processing The MathWorks Inc. Natick, MA USA Filter Design.
IIR Filter design (cf. Shenoi, 2006) The transfer function of the IIR filter is given by Its frequency responses are (where w is the normalized frequency.
Digital Signal Processing FIR Filter Design
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
1 Chapter 7 Filter Design Techniques (cont.). 2 Optimum Approximation Criterion (1)  We have discussed design of FIR filters by windowing, which is straightforward.
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 9: Filter Design: FIR 1.Windowed Impulse Response 2.Window Shapes 3.Design by Iterative.
1 Lecture 3: March 6, 2007 Topic: 1. Frequency-Sampling Methods (Part I)
1 Chapter 7 FIR Filter Design Techniques. 2 Design of FIR Filters by Windowing (1)  We have discussed techniques for the design of discrete-time IIR.
Fundamentals of Digital Signal Processing. Fourier Transform of continuous time signals with t in sec and F in Hz (1/sec). Examples:
Chapter 7 Finite Impulse Response(FIR) Filter Design
1 Introduction to Digital Filters Filter: A filter is essentially a system or network that selectively changes the wave shape, amplitude/frequency and/or.
Advisor : 高永安 Student : 陳志煒
Chapter 9-10 Digital Filter Design. Objective - Determination of a realizable transfer function G(z) approximating a given frequency response specification.
Chapter 7. Filter Design Techniques
1 Digital Signal Processing Digital Signal Processing  IIR digital filter structures  Filter design.
Design of FIR Filters. 3.1 Design with Least Squared Error Error Criterion.
Optimum Approximation of FIR Filters Quote of the Day There are three kinds of lies: lies, damned lies, and statistics. Benjamin Disraeli Content and Figures.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
Lecture 13 Outline: FIR Filter Design: Freq. Response Matching, Causal Design, Windowing Announcements: Reading: “4: FIR Discrete-Time Filters” pp
EEE4176 Application of Digital Signal Processing
DSP-CIS Part-II / Chapter-4 : Filter Design Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
IIR Filter design (cf. Shenoi, 2006)
Figure 8.1 (p. 615) Time-domain condition for distortionless transmission of a signal through a linear time-invariant system. Signals and Systems, 2/E.
Lecture: IIR Filter Design
EEE422 Signals and Systems Laboratory
IIR Filters FIR vs. IIR IIR filter design procedure
J McClellan School of Electrical and Computer Engineering
Chapter 6 IIR Digital Filter Design
LINEAR-PHASE FIR FILTERS DESIGN
Filter Design by Windowing
لجنة الهندسة الكهربائية
Lecture 13 Outline: Windowing in FIR Filter Design
MMSE Optimal Design: The Least Squares method
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
z Transform Signal and System Analysis
Chapter 7 FIR Digital Filter Design
Chapter 7 Finite Impulse Response(FIR) Filter Design
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Simple Filters Comb Filters (Optional reading) Allpass Transfer.
ELEN E4810: Digital Signal Processing Topic 9: Filter Design: FIR
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Chapter 7 Finite Impulse Response(FIR) Filter Design
Presentation transcript:

Fourier Series FIR About Digital Filter Design Bilinear Transformation Method of IIR Filter Design Design of Lowpass IIR Digital Filters Design of Hignpass, Bandpass, and Bandstop IIR Digital Filter FIR Filter Design Based on Windowed Fourier Series Computer-Aided Design of Digital Filters Digital Filter Design Using MATLAB

FIR Filter Design Based on Windowed Series Least Integral-Squared Error Design of FIR Filters In practical application:the desired frequency response is piecewise constant with sharp transitions between bands. Aim:Find a finite –duration impulse response sequence of the length 2M+1 whose DTFT approximates the desired DTFT In some sense. one commonly used approximation criterion is to minimize the integral-squared error.

FIR Filter Design Based on Windowed Series Integral-squared error The integral-squared error is minimum when = for .

FIR Filter Design Based on Windowed Series Impulse Response of Ideal Filters Four commonly used frequency selective filters are the lowpass,highpass,bandpass,bandstop filters. Example:lowpass filter zero-phase frequency response The corresponding impulse response so the impulse response is doubly infinite,not absolutely summable,and therefore unrealizable.

FIR Filter Design Based on Windowed Series By setting all impulse response coefficient outside the range equal to zero,we arrival at a finite-length noncausal approximation of length ,which when shifted to the right yield the coeffcients of a causal FIR lowpass filter:

FIR Filter Design Based on Windowed Series Gibbs phenomenon The causal FIR filter obtained by simply truncating the impulse response coefficients of the ideal filters exhibit an oscillatory behavior in their respective magnitude responses.which is more commonly referred to as the Gibbs phenomenon.

FIR Filter Design Based on Windowed Series Cause of Gibbs phenomenon: The FIR filter obtained by truncation can be expressed as:

FIR Filter Design Based on Windowed Series Illustration of the effect of the windowing in frequency domain

FIR Filter Design Based on Windowed Series The window used to achieve simple truncation of the ideal filter is rectangular window: So two basic reason of the oscillatory behavior: (1)the impulse response of a ideal filter is infinitely long and not absolutely summable. (2)the rectangular window has an abrupt transition to zero.

FIR Filter Design Based on Windowed Series How to reduce the Gibbs phenomenon? (1 )using a window that tapers smoothly to zero at each end. (2)providing a smooth transition from the passband to the stopband.

FIR Filter Design Based on Windowed Series Fixed Window Functions Hann: Hamming: Blackman:

FIR Filter Design Based on Windowed Series Two important parameters: (1)main lobe width. (2)relative sidelobe level. The effect of window function on FIR filter design (1) the window have a small main lobe width will ensure a fast transition from the passband to the stopband. (2)the area under the sidelobes small will reduce the ripple

FIR Filter Design Based on Windowed Series Designing an FIR filter (1)select a window above mentioned. (2)get (3)determine the cutoff frequency by setting: (4)M is estimated using ,the value of the constant c is obtain from table given.

FIR Filter Design Based on Windowed Series Adjustable Window Functions Windows have been developed that provide control over ripple by means of an additional parameter. (1)Dolph-Chebyshev window (2)Kaiser window

FIR Filter Design Based on Windowed Series Impulse Response of FIR Filters with a Smooth Transition --One way to reduce the Gibbs phenomenon. The simplest modification to the zero-phase lowpass filter specification is to provide a transition band between the passband and stopband responses and to connect these two with a first order spline function .

Computer-Aided Design of Digital Filter Two specific design approaches based in iterative potimization techniques. The aim is to determine iteratively the coefficients of the digital transfer function so that the difference between and for all value of over closed subintervals of is minimized ,and usually the difference is specified as a weighted error function given by:

Computer-Aided Design of Digital Filter Chebyshev criterion --to minimize the peak absolute value of the weighted error Least-p criterion --to minimize the integral of pth power of the weighted error function

Computer-Aided Design of Digital Filter Design of Equiripple Linear-Phase FIR Filter The frequency response of a linear-phase FIR filter is: The weighted error function in this case involves the amplitude response and is given by

Computer-Aided Design of Digital Filter Type 1 linear-phase FIR filter The amplitude response is : It can be rewrite using the notation in the form Where

Computer-Aided Design of Digital Filter Type 2 linear-phase FIR filter The amplitude response is : It can be rewrite in the form: Where

Computer-Aided Design of Digital Filter Type 3 linear-phase FIR filter The amplitude response is : It can be rewrite in the form:

Computer-Aided Design of Digital Filter Type 4 linear-phase FIR filter The amplitude response is : It can be rewrite in the form:

Computer-Aided Design of Digital Filter The amplitude response for all four types of linear-phase FIR filters can be expressed in the form Then the we modify the form of the weight approximation function as:

Computer-Aided Design of Digital Filter Using the notions and we can rewrite it as: Then we determine the coefficients to minimize the peak absolute value of the weighted approximation error over the specified frequency bands

Computer-Aided Design of Digital Filter Alternation Theorem The amplitude function is the best unique aproximation of the desired amplitude response obtained by minimizing the peak absolute valu of if and only if there exist at least extremal angular frequencies, ,in a closed subset R of the frequency range such that and with for all in the range

Digital Filter Design Using Matlab IIR Digital Filter Design Using Matlab Steps:(1)determine the filter order N and the frequency scaling factor Wn . [N,Wn]=buttord(Wp,Ws,Rp,Rs) [N,Wn]=cheb1ord(Wp,Ws,Rp,Rs) [N,Wn]=cheb2ord(Wp,Ws,Rp,Rs) [N,Wn]=ellipord(Wp,Ws,Rp,Rs) Where Wp=2Fp/FT and Ws= 2Fs/FT .

Digital Filter Design Using Matlab (2)determine the coefficients of the transfer function. [b,a]=butter(N,Wn) [b,a]=cheby1(N,Rp,Wn) [b,a]=cheby2(N,Rs,Wn) [b,a]=ellip(N,Rp,Rs,Wn)

Digital Filter Design Using Matlab FIR Digital Filter Design Using Matlab Steps(1).estimate the filter order from the given specification. remezord,kaiserord (2)determine the coefficient of the transfer function using the estimated order and the filter specification. remez

Digital Filter Design Using Matlab FIR Digital Filter Order Estimation Using Matlab [N,fpts,mag,wt]=remezord(fedge,mval,dev) [N,fpts,mag,wt]=remezord(fedge,mval,dev,FT) For FIR filter design using the Kaiser window,the window order should be estimated using kaiserord [N,Wn,beta,ftype]=kaiserord(fedge,mval,dev) [N,Wn,beta,ftype]=kaiserord(fedge,mval,dev,FT) C=kaiserord(fpts,mval,dev,FT,’cell’)

Digital Filter Design Using Matlab Equiripple Linear-phase FIR Design Using Matlab --emplying the Parks-McClellan algorithm. b=remez(N,fpts,mag) b=remez(N,fpts,mag,wt) b=remez(N,fpts,mag,’ftype’) b=remez(N,fpts,mag,wt,’ftype’)

Digital Filter Design Using Matlab FIR equiripple lowpass filter of Example 7.27 for N=28

Digital Filter Design Using Matlab Gain response of the FIR equiripple bandpass filter of Example 7.28.

Digital Filter Design Using Matlab Window-based FIR Filter Design Using Matlab Steps: (1)estimate the order of the FIR filter. (2)select the type of the window and compute its coefficient. (3)compute the desired impluse response of the ideal filter.

Digital Filter Design Using Matlab Window Generation W=blackman(L) W=hamming(L) W=hanning(L) W=chebwin(L,Rs) W=kaiser(L,beta)

Digital Filter Design Using Matlab fir1 is used to design conventional lowpass,highpass, bandpass,bandstop and multiband FIR filter. b=fir1(N,Wn) b=fir1(N,Wn,’ftype’) b=fir1(N,Wn,window) b=fir1(N,Wn,’ftype’window) b=fir1(……,’noscale’)

Digital Filter Design Using Matlab A example of a conventional lowpass FIR filter

Digital Filter Design Using Matlab fir2 is employed to design FIR filters with arbitarily shaped magnitude response. b=fir2(N,f,m) b=fir2(N,f,m,window) b=fir2(N,f,m,npt) b=fir2(N,f,m,npt,window) b=fir2(N,f,m,npt,lap,window)

Digital Filter Design Using Matlab A Examples of multilevel filter --Magnitude response of the multilevel filter designed with fir2

Digital Filter Design Using Matlab Least-squares Error FIR Filter Design Using Matlab firls –to design any type of multiband linear-phase FIR filter based on the least-squares method b=firls(N,fpts,mag) b=firls(N,fpts,mag,wt) b=firls(N,fpts,mag,’ftype’) b=firls(N,fpts,mag,wt,’ftype’)

Digital Filter Design Using Matlab A example of the linear-phase FIR lowpass filter --Gain response of the linear-phase FIR lowpass filter