1 Lecture 4: March 13, 2007 Topic: 1. Uniform Frequency-Sampling Methods (cont.)

Slides:



Advertisements
Similar presentations
Digital Filter Banks The digital filter bank is set of bandpass filters with either a common input or a summed output An M-band analysis filter bank is.
Advertisements

Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
ELEN 5346/4304 DSP and Filter Design Fall Lecture 7: Z-transform Instructor: Dr. Gleb V. Tcheslavski Contact:
AMI 4622 Digital Signal Processing
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
Lecture 19: Discrete-Time Transfer Functions
AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters.
Lecture 16: Introduction to Linear time-invariant filters; response of FIR filters to sinusoidal and exponential inputs: frequency response and system.
Systems: Definition Filter
Relationship between Magnitude and Phase (cf. Oppenheim, 1999)
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
1 Chapter 8 The Discrete Fourier Transform 2 Introduction  In Chapters 2 and 3 we discussed the representation of sequences and LTI systems in terms.
Chapter 2 Discrete-Time Signals and Systems
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.
CHAPTER 8 DSP Algorithm Implementation Wang Weilian School of Information Science and Technology Yunnan University.
Chapter 7 LTI Discrete-Time Systems in the Transform domain.
Chapter 6 Digital Filter Structures
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.
1 BIEN425 – Lecture 11 By the end of the lecture, you should be able to: –Design and implement FIR filters using frequency-sampling method –Compare the.
Copyright © 2001, S. K. Mitra Digital Filter Structures The convolution sum description of an LTI discrete-time system be used, can in principle, to implement.
1 Lecture 3: March 6, 2007 Topic: 1. Frequency-Sampling Methods (Part I)
Partial-fraction Expansion
1 Inverse Laplace Transform Note that most of the transforms are written as fractions.
Fourier Analysis of Discrete-Time Systems
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Z TRANSFORM AND DFT Z Transform
Chapter 7 Finite Impulse Response(FIR) Filter Design
Department of Electrical and Computer Engineering Brian M. McCarthy Department of Electrical & Computer Engineering Villanova University ECE8231 Digital.
1 Introduction to Digital Filters Filter: A filter is essentially a system or network that selectively changes the wave shape, amplitude/frequency and/or.
EEE 503 Digital Signal Processing Lecture #2 : EEE 503 Digital Signal Processing Lecture #2 : Discrete-Time Signals & Systems Dr. Panuthat Boonpramuk Department.
1 Digital Signal Processing Digital Signal Processing  IIR digital filter structures  Filter design.
Digital Signal Processing
Transform Analysis of LTI Systems Quote of the Day Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke Content and Figures.
Chapter 4 LTI Discrete-Time Systems in the Transform Domain
Linear filtering based on the DFT
Lecture 17: Response of FIR filters to exponential inputs, response of FIR filters to periodic inputs, cascaded filters Sections 4.4.2,4.4.4, Sections.
Z Transform The z-transform of a digital signal x[n] is defined as:
Topics 1 Specific topics to be covered are: Discrete-time signals Z-transforms Sampling and reconstruction Aliasing and anti-aliasing filters Sampled-data.
Lecture 8: Transform Analysis of LTI System XILIANG LUO 2014/10 1.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
Digital Signal Processing Lecture 6 Frequency Selective Filters
Generalized Linear Phase Quote of the Day The mathematical sciences particularly exhibit order, symmetry, and limitation; and these are the greatest forms.
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
Chapter 5. Transform Analysis of LTI Systems Section
Chapter 2 The z-transform and Fourier Transforms The Z Transform The Inverse of Z Transform The Prosperity of Z Transform System Function System Function.
In summary If x[n] is a finite-length sequence (n  0 only when |n|
Application of digital filter in engineering
1 Chapter 8 The Discrete Fourier Transform (cont.)
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
IIR Filter design (cf. Shenoi, 2006)
EEE4176 Applications of Digital Signal Processing
Speech Signal Processing
Digital Signal Processing Lecture 4 DTFT
Discrete-Time Structure
LINEAR-PHASE FIR FILTERS DESIGN
Quick Review of LTI Systems
Lect5 A framework for digital filter design
UNIT V Linear Time Invariant Discrete-Time Systems
لجنة الهندسة الكهربائية
Z TRANSFORM AND DFT Z Transform
Chapter 6 Discrete-Time System
Chapter 7 Finite Impulse Response(FIR) Filter Design
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Frequency Response Transfer Function Introduction to Filters.
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Simple Filters Comb Filters (Optional reading) Allpass Transfer.
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Chapter 9 Advanced Topics in DSP
Chapter 7 Finite Impulse Response(FIR) Filter Design
Presentation transcript:

1 Lecture 4: March 13, 2007 Topic: 1. Uniform Frequency-Sampling Methods (cont.)

2 1. Nonrecursive FIR Filter Design by DFT Applications (cont.) 2. Nonrecursive FIR Filter Design by Direct Computation of Unit Sample Response 3. Recursive FIR Filter Design Topics: Lecture 4: March 13, 2007

Uniform Frequency-Sampling Method B. Nonrecursive FIR Filter Design by DFT Applications

4 specification of the desired frequency response at a set of equally spaced frequencies, solving for the unit sample response h(n) of the linear phase FIR filter from these equally spaced specification based on DFT application.

5 Suppose that we specify the frequency response of the filter at the frequencies Then, we obtain:

6 It is a simple matter to identify the previous expression as DFT of h(k): Thus, we obtain This expression allows to compute h(k) from H(n), where frequency response is specified at the set of equally spaced frequencies. Notice: H(n) has to be specified correctly!

7 Important property of H(n) : for n= 1, 2, …, M-1 Proof:

8 Frequency response of the linear phase FIR digital filters: Proof:

9 Uniform Frequency-Sampling Method B. : A Review 1. Specification of H(n) by: for n= 1, 2, …, M-1 2. Computation of h(k) by: for k= 0, 1, 2, …, M-1

10 Determine the coefficients h(k) of a linear phase FIR filter of length M=15, frequency response of which satisfies the condition: Solution: for n= 1, 2, …, M-1 Example:

11

12

13 for k= 0, 1, 2, …, M-1

14 By using MATLAB (function ifft.m) the following filter coefficients can be obtained: h(0)=h(14)= h(1)=h(13)= h(2)=h(12)= h(3)=h(11)= h(4)=h(10)= h(5)=h(9)= h(6)=h(8)= h(7)=

15 Example Solution: Magnitude Response

Uniform Frequency-Sampling Method C. Nonrecursive FIR Filter Design by Direct Computation of Unit Sample Response

Uniform Frequency-Sampling Method C. Nonrecursive FIR Filter Design by Direct Computation of Unit Sample Response

Uniform Frequency-Sampling Method C. Nonrecursive FIR Filter Design by Direct Computation of Unit Sample Response We have shown that It is more convenient, however, to define the samples H(n) of the frequency response for the FIR filter as where

19 for n= 1, 2, …, M-1 M : even

20 Proof: for n= 1, 2, …, M-1

21 In the view of the symmetry for the real-valued frequency samples G(n), it is a simple matter to determine an expression for h(k) in terms of G(n). If M is even, we have:

22 In the view of the symmetry for the real-valued frequency samples G(n), it is a simple matter to determine an expression for h(k) in terms of G(n). If M is even, we have:

23 Because:

24 We can get: for k= 0, 1, 2, …, M-1

25 Thus we can compute h(k) directly from the specified frequency samples G(n) or equivalently, H(n) (method 3). This approach eliminates the need for a matrix inversion (method 1) or for direct DFT computation (method 2) for determining the unit sample response of the linear phase FIR filter from its frequency-domain specification.

26 Thus we can compute h(k) directly from the specified frequency samples G(n) or equivalently, H(n) (method 3). This approach eliminates the need for a matrix inversion (method 1) or for direct DFT computation (method 2) for determining the unit sample response of the linear phase FIR filter from its frequency-domain specification.

27 Thus we can compute h(k) directly from the specified frequency samples G(n) or equivalently, H(n) (method 3). This approach eliminates the need for a matrix inversion (method 1) or for direct DFT computation (method 2) for determining the unit sample response of the linear phase FIR filter from its frequency-domain specification.

28 Summary on the Uniform Frequency-Sampling Method 3.

29 1. Unit Sample Response: Symmetrical,

30 2. Unit Sample Response: Symmetrical,

31 3. Unit Sample Response: Antisymmetrical,

32 4. Unit Sample Response: Antisymmetrical,

33 Determine the coefficients h(n) of a linear phase FIR filter of length M=15 with symmetrical impulse response, frequency response of which satisfies the condition: Example:

34 Solution: Unit Sample Response: Symmetrical,

35

36

37 Etc. h(0)=h(14)= h(1)=h(13)= h(2)=h(12)= h(3)=h(11)= h(4)=h(10)= h(5)=h(9)= h(6)=h(8)= h(7)= End.

38 Example Solution: Magnitude Response

Uniform Frequency-Sampling Method D. Recursive FIR Filter Design

Uniform Frequency-Sampling Method D. Recursive FIR Filter Design

Uniform Frequency-Sampling Method D. Recursive FIR Filter Design An FIR filter can be uniquely specified by giving either its impulse response (coefficients h(k)) or, equivalently, by the DFT coefficients H(n). These sequences are related by the following expressions: n=0, 1, …, M-1 k=0, 1, …, M-1

42 It has also been shown that H(n) can be regarded as Z- transform of h(k), evaluated at N points equally spaced around the unit circle:

43 Thus, the transfer function of an FIR filter can easily be expressed in terms of DFT coefficients of h(k):

44 H 1 (z)H 2 (z)

45 The transfer function H(z) can be expressed in the form: where poles ! zeros

46 The zeros of the comb filter cancel the poles of the parallel bank of filters, so that in effect the final transfer function contains no poles, but it is in fact FIR filter. a comb filter and a parallel bank of single-pole filters H(z) can be interpreted as a cascade of

47 Alternative form to can be obtained by combining a pair of complex- conjugate poles of H(z) or two real-valued poles to form two-pole filters with real valued coefficients and taking into account. Then, we can obtain in the forms:

48 A(k) and B(k) are the real-valued coefficients given by

49 Proof:

50

51

52 Then,

53 Comments on A(k) and B(k) Computation: 1. Because, it can be found that,

54 2. Let us assume that then,

55 Summary on A(k) and B(k) Computation:

56 Comments on Quantization Effects: There is a potential problem in the frequency sampling realization of the recursive FIR filters. These realizations introduce poles and zeros at equally spaced points on the unit circle. In the ideal situation, the zeros cancel the poles and, consequently, the actual zeros of H(z) are determined by the selection of the frequency samples H(k). In a practical implementation, however, quantization effects preclude a perfect cancellation of the poles and zeros. In fact, the locations of poles on the unit circle provide no damping of the round-off noise. As result, such noise tends to increase with time and, ultimately, may destroy computations the normal operation of the filter.

57 Comments on Quantization Effects: There is a potential problem in the frequency sampling realization of the recursive FIR filters. These realizations introduce poles and zeros at equally spaced points on the unit circle. In the ideal situation, the zeros cancel the poles and, consequently, the actual zeros of H(z) are determined by the selection of the frequency samples H(k). In a practical implementation, however, quantization effects preclude a perfect cancellation of the poles and zeros. In fact, the locations of poles on the unit circle provide no damping of the round-off noise. As result, such noise tends to increase with time and, ultimately, may destroy computations the normal operation of the filter.

58 Comments on Quantization Effects: There is a potential problem in the frequency sampling realization of the recursive FIR filters. These realizations introduce poles and zeros at equally spaced points on the unit circle. In the ideal situation, the zeros cancel the poles and, consequently, the actual zeros of H(z) are determined by the selection of the frequency samples H(k). In a practical implementation, however, quantization effects preclude a perfect cancellation of the poles and zeros. In fact, the locations of poles on the unit circle provide no damping of the round-off noise. As result, such noise tends to increase with time and, ultimately, may destroy computations the normal operation of the filter.

59 Comments on Quantization Effects: There is a potential problem in the frequency sampling realization of the recursive FIR filters. These realizations introduce poles and zeros at equally spaced points on the unit circle. In the ideal situation, the zeros cancel the poles and, consequently, the actual zeros of H(z) are determined by the selection of the frequency samples H(k). In a practical implementation, however, quantization effects preclude a perfect cancellation of the poles and zeros. In fact, the locations of poles on the unit circle provide no damping of the round-off noise. As result, such noise tends to increase with time and, ultimately, may destroy computations the normal operation of the filter.

60 To mitigate this problem, we can move both the poles and zeros from the unit circle just inside the unit circle, let us say at radius r=1-x, where x is a very small number. Thus the original system function of the linear phase FIR filter The corresponding two-pole filter realization can be modeled accordingly. The damping provided by selecting r<1 ensures that round-off noise will be bounded and thus instability is avoided. becomes

61 Example: Determine the transfer function of a recursive linear phase FIR filter for M=15. The real-valued frequency response of the filter to be designed has to satisfy the condition: Solution:

62 Step 1: H(n) computation for n= 0, 1, 2, …, (M-1)/2 i.e. n= 0, 1, 2, 3, 4, 5, 6, 7.

63 Step 1 (cont.): Because

64 Step 2: A review of basic expressions

65 Step 3: A(k) computation

66 Step 4: B(k) computation

67 Step 5: computation (M=15):

68 Step 6: computation, (M-1)/2=(15-1)/2=7 for k= 4, 5, 6, 7.

69 Step 7: result H(z) The different frequency responses and zero-pole plot of the particular transfer functions are given in the next figures.

70 Magnitude Responses

71 Magnitude Responses

72 Magnitude Response : zoom

73 Magnitude Response Recursive FIR Filter Nonrecursive FIR Filter

74 Zero-Pole Plot Unit Circle Zeros Poles