EE 521: Instrumentation and Measurements

Similar documents
Lecture 7 Discrete Systems

Digital Signal Processing Lecture 9 - Design of Digital Filters - FIR

Digital Signal Processing

Digital Signal Processing Lecture 8 - Filter Design - IIR

Digital Signal Processing Lecture 10 - Discrete Fourier Transform

Review of Discrete-Time System

Discrete-Time Signals and Systems. Frequency Domain Analysis of LTI Systems. The Frequency Response Function. The Frequency Response Function

Like bilateral Laplace transforms, ROC must be used to determine a unique inverse z-transform.

Filter Analysis and Design

Digital Signal Processing IIR Filter Design via Bilinear Transform

Review of Fundamentals of Digital Signal Processing

EEL3135: Homework #4

ELC 4351: Digital Signal Processing

EE482: Digital Signal Processing Applications

ELEG 305: Digital Signal Processing

Stability Condition in Terms of the Pole Locations

Discrete-Time Signals and Systems. The z-transform and Its Application. The Direct z-transform. Region of Convergence. Reference: Sections

EE 225D LECTURE ON DIGITAL FILTERS. University of California Berkeley

ECE 410 DIGITAL SIGNAL PROCESSING D. Munson University of Illinois Chapter 12

UNIVERSITY OF OSLO. Please make sure that your copy of the problem set is complete before you attempt to answer anything.

Review of Fundamentals of Digital Signal Processing

DIGITAL SIGNAL PROCESSING. Chapter 6 IIR Filter Design

-Digital Signal Processing- FIR Filter Design. Lecture May-16

Z Transform (Part - II)

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF INFORMATION TECHNOLOGY. Academic Year

Lecture 9 Infinite Impulse Response Filters

APPLIED SIGNAL PROCESSING

Chapter 7: IIR Filter Design Techniques

Lecture 16: Filter Design: Impulse Invariance and Bilinear Transform

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EC2314- DIGITAL SIGNAL PROCESSING UNIT I INTRODUCTION PART A

UNIVERSITY OF OSLO. Faculty of mathematics and natural sciences. Forslag til fasit, versjon-01: Problem 1 Signals and systems.

Discrete Time Systems

Discrete-time signals and systems

/ (2π) X(e jω ) dω. 4. An 8 point sequence is given by x(n) = {2,2,2,2,1,1,1,1}. Compute 8 point DFT of x(n) by

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

SIDDHARTH GROUP OF INSTITUTIONS:: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE)

Multimedia Signals and Systems - Audio and Video. Signal, Image, Video Processing Review-Introduction, MP3 and MPEG2

Discrete-Time David Johns and Ken Martin University of Toronto

Filter structures ELEC-E5410

z-transform Chapter 6

LECTURE NOTES DIGITAL SIGNAL PROCESSING III B.TECH II SEMESTER (JNTUK R 13)

Use: Analysis of systems, simple convolution, shorthand for e jw, stability. Motivation easier to write. Or X(z) = Z {x(n)}

Digital Signal Processing. Lecture Notes and Exam Questions DRAFT

Lecture 14: Windowing

Signals and Systems. Problem Set: The z-transform and DT Fourier Transform

Very useful for designing and analyzing signal processing systems

The Z transform (2) 1

Frequency-Domain C/S of LTI Systems

Your solutions for time-domain waveforms should all be expressed as real-valued functions.

2. Typical Discrete-Time Systems All-Pass Systems (5.5) 2.2. Minimum-Phase Systems (5.6) 2.3. Generalized Linear-Phase Systems (5.

DEPARTMENT OF EI DIGITAL SIGNAL PROCESSING ASSIGNMENT 1

# FIR. [ ] = b k. # [ ]x[ n " k] [ ] = h k. x[ n] = Ae j" e j# ˆ n Complex exponential input. [ ]Ae j" e j ˆ. ˆ )Ae j# e j ˆ. y n. y n.

Signals and Systems. Spring Room 324, Geology Palace, ,

Z - Transform. It offers the techniques for digital filter design and frequency analysis of digital signals.

Digital Signal Processing. Midterm 1 Solution

Question Bank. UNIT 1 Part-A

Lecture 8 - IIR Filters (II)

Filter Design Problem

Digital Control & Digital Filters. Lectures 21 & 22

IT DIGITAL SIGNAL PROCESSING (2013 regulation) UNIT-1 SIGNALS AND SYSTEMS PART-A

DSP. Chapter-3 : Filter Design. Marc Moonen. Dept. E.E./ESAT-STADIUS, KU Leuven

Convolution. Define a mathematical operation on discrete-time signals called convolution, represented by *. Given two discrete-time signals x 1, x 2,

INFINITE-IMPULSE RESPONSE DIGITAL FILTERS Classical analog filters and their conversion to digital filters 4. THE BUTTERWORTH ANALOG FILTER

ECGR4124 Digital Signal Processing Final Spring 2009

ESE 531: Digital Signal Processing

Lecture 3 - Design of Digital Filters

Discrete Time Systems

There are two main classes of digital lter FIR (Finite impulse response) and IIR (innite impulse reponse).

Lecture 2 OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE

SEL4223 Digital Signal Processing. Inverse Z-Transform. Musa Mohd Mokji

Discrete-Time Fourier Transform (DTFT)

ECE503: Digital Signal Processing Lecture 4

Transform Analysis of Linear Time-Invariant Systems

Lecture 19 IIR Filters

Introduction to Digital Signal Processing

INF3440/INF4440. Design of digital filters

DSP-CIS. Chapter-4: FIR & IIR Filter Design. Marc Moonen

DIGITAL SIGNAL PROCESSING UNIT III INFINITE IMPULSE RESPONSE DIGITAL FILTERS. 3.6 Design of Digital Filter using Digital to Digital

2.161 Signal Processing: Continuous and Discrete Fall 2008

Signals & Systems Handout #4

Vel Tech High Tech Dr.Ranagarajan Dr.Sakunthala Engineering College Department of ECE

Design of IIR filters

VI. Z Transform and DT System Analysis

! Introduction. ! Discrete Time Signals & Systems. ! Z-Transform. ! Inverse Z-Transform. ! Sampling of Continuous Time Signals

LAB 6: FIR Filter Design Summer 2011

ESE 531: Digital Signal Processing

UNIT - III PART A. 2. Mention any two techniques for digitizing the transfer function of an analog filter?

EC Signals and Systems

UNIT-II Z-TRANSFORM. This expression is also called a one sided z-transform. This non causal sequence produces positive powers of z in X (z).

Digital Signal Processing Lecture 3 - Discrete-Time Systems

Digital Signal Processing Lecture 4

Chapter 7: Filter Design 7.1 Practical Filter Terminology

UNIVERSITI SAINS MALAYSIA. EEE 512/4 Advanced Digital Signal and Image Processing

X (z) = n= 1. Ã! X (z) x [n] X (z) = Z fx [n]g x [n] = Z 1 fx (z)g. r n x [n] ª e jnω

Signals and Systems Lecture 8: Z Transform

Discrete Time Fourier Transform

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

PS403 - Digital Signal processing

ELEG 5173L Digital Signal Processing Ch. 5 Digital Filters

ECE503: Digital Signal Processing Lecture 5

Transcription:

Aly El-Osery Electrical Engineering Department, New Mexico Tech Socorro, New Mexico, USA November 1, 2009 1 / 27

1 The z-transform 2 Linear Time-Invariant System 3 Filter Design IIR Filters FIR Filters 2 / 27

Definition The z-transform of a discrete-time signal x(n) is defined as the power series X(z) x(n)z n (1) n= where z is a complex variable, and hence, can be represented as a magnitude and phase. z = re jθ (2) It exists only for those values of z for which this series converges. 3 / 27

Summation Formula N a n = n=m { a M a N+1 1 a, if a 1 N M + 1, if a = 1 (3) 4 / 27

x(n) = a n u(n) Right-Sided Sequence Z X(z) = This definition is not complete without stating the region-of-convergence (ROC). 1 1 az 1 (4) Im(z) 1 0.8 a x(n) 0.6 0.4 0 Re(z) 0.2... 0-1 0 1 2 3 4 5 n... ROC 5 / 27

x(n) = a n u( n 1) left-sided Sequence Z X(z) = This definition is not complete without stating the region-of-convergence (ROC). 1 1 az 1 (5) Im(z) n -5-4 -3-2 -1 0 1 0... -0.1-0.2-0.3 x(n) 0 a Re(z) -0.4-0.5 ROC 6 / 27

Poles and Zeros If X(z) is rational function, then X(z) = B(z) A(z) = b 0 + b 1 z 1 + + b M z M a 0 + a 1 z 1 + + a N z N = b 0 a 0 z M+N (z z 1)(z z 2 ) (z z M ) (z p 1 )(z p 2 ) (z p N ) (6) z = z 1, z 2,...,z M and p = p 1, p 2,...,p N are the zeros and poles of X(z), respectively. 7 / 27

A relaxed linear time-invariant system with input x(n), an impulse response h(n), and an output y(n) can be expressed in the z-domain as Y(z) = H(z)X(z) (7) where H(z) is the transfer function of the system. 8 / 27

Difference Equation and hence, y(n) = N a k y(n k) + k=1 Y(z) X(z) = H(z) = M b k x(n k) (8) k=0 M k=0 b kz k 1 + N k=1 a kz k (9) 9 / 27

Causality and Stability Causality A system is causal if the ROC is the exterior of a circle. Stability A system is stable if the ROC includes the unit circle. Causal and Stable A system is both causal and stable if the poles are inside the unit circle. 10 / 27

Response to Complex Exponential Using the convolution equation y(n) = h(k)x(n k) (10) k= If this system is excited by a complex exponential x(n) = Ae jωn, < n < (11) where ω is an arbitrary frequency, then y(n) = AH(ω)e jωn (12) 11 / 27

Relationship to Fourier Transform If the ROC includes the unit circle, then H(ω) = H(z) z=e jω = h(n)e jωn (13) k= 12 / 27

Effect of Pole-Zero Location L p k ω z k Figure: Frequency response using the location of poles and zeros mag = product of distances from all zeros to L product of distances from all poles to L (14) 13 / 27

Filter Specs Figure: Filter Specifications 14 / 27

By Pole-Zero Placement Place zeros at locations you want the magnitude to decrease. Place Poles at locations you want the magnitude to increase. 15 / 27

Transformation from Analog Filters Use a transformation to convert analog filters to digital filters. The bilinear transformation is frequently used. s = 2 T ( ) 1 z 1 1 + z 1 (15) 16 / 27

Transformation from Analog Filters The bilinear transformation causes a frequency warping described by ω = 2 tan 1 ΩT 2 (16) 17 / 27

Transformation from Analog Filters Some common analog filter includes Butterworth: No ripple in either passband or stopband. Type I Chebyshev: ripple in passband only. Type II Chebyshev: ripple in stopband only. Elliptic: ripple in both passband and stopband. 18 / 27

Quantization Effects Due to quantization, the location of poles and zeros will be different than designed. This will cause the frequency response to be modified. To minimize the effects of quantization, build your filter as a cascade of second order systems. 19 / 27

A system using FIR filters has the output characterized by y(n) = M 1 k=0 h(k)x(n k) (17) FIR filters with symmetric and antisymmetric impulse responses have linear phase. 20 / 27

FIR Filter Design Using Windows 1 Compute the infinite impulse response from the an ideal impulse response. h d (ω) = 1 π H d (ω)e jωn dω (18) 2π π 2 Compute a finite impulse response using a finite length window. h(n) = h d (n)w(n) (19) 3 Windows include rectangular, Hamming, Hanning, Bartlet, Blackman, etc. 4 The wider the window, the sharper the cut-off. 21 / 27

. Figure: c Proakis and Manolakis, Digital Signal Processing, 4th Edition, Prentice Hall, 2007 22 / 27

. Figure: c Proakis and Manolakis, Digital Signal Processing, 4th Edition, Prentice Hall, 2007 23 / 27

FIR Filter Design Using Frequency-Sampling Method 1 Design the required filter in the Frequency domain. 2 Sample the designed magnitude response. 3 Add the linear phase. 4 Compute the IDFT to obtain h(n). 24 / 27

. 1.2 1.2 1 1 0.8 0.8 Magnitude 0.6 Magnitude 0.6 0.4 0.4 0.2 0.2 0 0 10 20 30 40 50 60 70 0 0 10 20 30 40 50 60 70 k k Figure: Frequency sampling approach with not transition points (left) and with transition points (right). 25 / 27

. 20 no transition points transition points 0-20 Magnitude -40-60 -80-100 -120 0 1 2 3 4 5 6 7 frequency Figure: Magnitude response using frequency sampling approach with not transition points (left) and with transition points (right). 26 / 27

FIR Filter Design Using Equiripple Method Uses the Alternation Theorem and solves an optimization problem resulting in an equal ripple. Design is accomplished by specifying bandedges and a weighting function. 27 / 27