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

Similar documents
Solutions: Homework Set # 5

Chapter 7: The z-transform

EE 521: Instrumentation and Measurements

Grades will be determined by the correctness of your answers (explanations are not required).

Lecture 7 Discrete Systems

EE482: Digital Signal Processing Applications

Digital Signal Processing Lecture 8 - Filter Design - IIR

Digital Control & Digital Filters. Lectures 21 & 22

Design of IIR filters

Lecture 9 Infinite Impulse Response Filters

Stability Condition in Terms of the Pole Locations

The Z transform (2) 1

Z Transform (Part - II)

The Johns Hopkins University Department of Electrical and Computer Engineering Introduction to Linear Systems Fall 2002.

Review of Fundamentals of Digital Signal Processing

Grades will be determined by the correctness of your answers (explanations are not required).

Digital Signal Processing

Lecture 2 OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE

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

Review of Discrete-Time System

Discrete Time Systems

Signals and Systems Lecture 8: Z Transform

Question Paper Code : AEC11T02

Review of Fundamentals of Digital Signal Processing

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

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

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

Very useful for designing and analyzing signal processing systems

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

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

Discrete-Time David Johns and Ken Martin University of Toronto

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

Lecture 16: Filter Design: Impulse Invariance and Bilinear Transform

Chapter Intended Learning Outcomes: (i) Understanding the relationship between transform and the Fourier transform for discrete-time signals

Need for transformation?

# 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.

(i) Represent discrete-time signals using transform. (ii) Understand the relationship between transform and discrete-time Fourier transform

ECE 350 Signals and Systems Spring 2011 Final Exam - Solutions. Three 8 ½ x 11 sheets of notes, and a calculator are allowed during the exam.

QUESTION BANK SIGNALS AND SYSTEMS (4 th SEM ECE)

Module 4 : Laplace and Z Transform Problem Set 4

Lecture 04: Discrete Frequency Domain Analysis (z-transform)

Chapter 5 Frequency Domain Analysis of Systems

EC Signals and Systems

Z-Transform. The Z-transform is the Discrete-Time counterpart of the Laplace Transform. Laplace : G(s) = g(t)e st dt. Z : G(z) =

VI. Z Transform and DT System Analysis

Signals and Systems Profs. Byron Yu and Pulkit Grover Fall Midterm 2 Solutions

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

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

ELEG 305: Digital Signal Processing

Multirate signal processing

z-transform Chapter 6

GATE EE Topic wise Questions SIGNALS & SYSTEMS

DIGITAL SIGNAL PROCESSING. Chapter 6 IIR Filter Design

Filter Analysis and Design

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ω

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

ELEG 305: Digital Signal Processing

y[n] = = h[k]x[n k] h[k]z n k k= 0 h[k]z k ) = H(z)z n h[k]z h (7.1)

The Z-Transform. Fall 2012, EE123 Digital Signal Processing. Eigen Functions of LTI System. Eigen Functions of LTI System

Signal Analysis, Systems, Transforms

Digital Signal Processing IIR Filter Design via Bilinear Transform

Discrete Time Systems

New Mexico State University Klipsch School of Electrical Engineering EE312 - Signals and Systems I Fall 2015 Final Exam

EEL3135: Homework #4

EE123 Digital Signal Processing. M. Lustig, EECS UC Berkeley

Transform Analysis of Linear Time-Invariant Systems

EE 224 Signals and Systems I Review 1/10

Signals and Systems Spring 2004 Lecture #9

Digital Signal Processing. Midterm 1 Solution

A system that is both linear and time-invariant is called linear time-invariant (LTI).

EE102B Signal Processing and Linear Systems II. Solutions to Problem Set Nine Spring Quarter

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

ECE-314 Fall 2012 Review Questions for Midterm Examination II

ECE503: Digital Signal Processing Lecture 5

Module 4. Related web links and videos. 1. FT and ZT

Module 4 : Laplace and Z Transform Lecture 36 : Analysis of LTI Systems with Rational System Functions

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

EECE 301 Signals & Systems Prof. Mark Fowler

Let H(z) = P(z)/Q(z) be the system function of a rational form. Let us represent both P(z) and Q(z) as polynomials of z (not z -1 )

PS403 - Digital Signal processing

Definition of the Laplace transform. 0 x(t)e st dt

The Laplace Transform

CHAPTER 2 RANDOM PROCESSES IN DISCRETE TIME

ECE503: Digital Signal Processing Lecture 4

Discrete Time Signals and Systems Time-frequency Analysis. Gloria Menegaz

Notes on L (Optimal) Filters

V. IIR Digital Filters

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

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).

Filter Design Problem

EE 3054: Signals, Systems, and Transforms Summer It is observed of some continuous-time LTI system that the input signal.

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

Digital Filters Ying Sun

Discrete-Time Fourier Transform (DTFT)

Discrete-time signals and systems

Digital Control & Digital Filters. Lectures 1 & 2

ESE 531: Digital Signal Processing

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

Digital Signal Processing

Transcription:

Inversion of the z-transform Focus on rational z-transform of z 1. Apply partial fraction expansion. Like bilateral Laplace transforms, ROC must be used to determine a unique inverse z-transform. Let 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 and assume that M < N.

ECE352 1 Inversion of the z-transform (cont.) If M N: X(z) = M N k=0 f k z k + B(z) A(z) where B(z) has order one less than the denominator polynomial. Partial fraction expansion is obtained by factoring the denominator polynomial into a product of first-order terms. X(z) = b 0 + b 1 z 1 + + b M z M a 0 N k=1 (1 d kz 1 ) = N k=1 A k 1 d k z 1, if all poles d k are distinct

ECE352 2 Inversion of the z-transform (cont.) A k (d k ) n u[n] z A k 1 d k z 1, with ROC z > d k. A k (d k ) n u( n 1) z A k 1 d k z 1, with ROC z < d k. If a pole d i is repeated r times, then there are r terms in the partial-fraction expansion associated with that pole: A i1 1 d i z 1, A i2 (1 d i z 1 ) 2,, A ir (1 d i z 1 ) r

ECE352 3 Inversion of the z-transform (cont.) A (n+1) (n+m 1) (m 1)! (d i ) n u[n] z A (1 d i z 1 ) m, with ROC z > d i. A (n+1) (n+m 1) (m 1)! (d i ) n u[ n 1] z < d i. z A (1 d i z 1 ) m, with ROC ROC of X(z) is the intersection of the ROCs associated with the individual terms in the partial-fraction expansion.

ECE352 4 Inversion of the z-transform: Examples Example 7.9, p 574 : find the inverse z-transform of X(z) = 1 z 1 + z 2 (1 1 2 z 1 )(1 2z 1 )(1 z 1 ) with ROC 1 < z < 2. Using partial fraction expansion: X(z) = = A 1 1 1 2 z 1 + A 2 1 2z 1 + A 3 1 z 1 1 1 1 + 2 2 + 2 z 1 1 2z 1 1 z 1 where A 1,A 2, and A 3 are solved the same way as in Laplace transform: A 1 = X(z)(1 1/2z 1 ) z=1/2 = 1.

ECE352 5 Inversion of the z-transform: Examples (cont.)

ECE352 6 Inversion of the z-transform: Examples (cont.) Applying the given ROC The first term (pole at z = 1/2) is a RSS. Thus, ( ) 1 n z 2 u[n] 1 1 1z 1. 2 The second term (pole at z = 2) is a LSS. Thus, 2(2) n z u[ n 1] 2 1 2z 1. The third term (pole at z = 1) is a RSS. Thus, 2(1) n u[n] Combining these terms gives z 2 1 z 1. x[n] = ( ) n 1 u[n] 2(2) n u[ n 1] 2(1) n u[n]. 2

ECE352 7 Inversion of the z-transform: Examples (cont.) Example 7.10, p 575 : Find the inverse z-transform of X(z) = z3 10z 2 4z + 4 2z 2, with ROC z < 1 2z 4 X(z) given in terms of z, instead of z 1. X(z) is not a proper function of z 1. Factoring z 3 from the numerator and 2z 2 from the denominator gives X(z) = 1 ( 1 10z 1 2 z 4z 2 + 4z 3 ) 1 z 1 2z 2 = 1 zy (z) 2

ECE352 8 Inversion of the z-transform: Examples (cont.) Factor 1 2z is easily incorporated using the time-shift property. The term in parentheses, Y (z), must be converted into two terms, a polynomial function of z 1 and a proper function of z 1, as Y (z) = ( 2z 1 + 3) + = ( 2z 1 + 3) + 5z 1 2 (1 + z 1 )(1 2z 1 ) 1 1 + z 1 3 1 2z 1, with ROC z < 1

ECE352 9 Inversion of the z-transform: Examples (cont.) Thus, we have X(z) = 1 zy (z) 2 Y (z) = ( 2z 1 1 + 3) + 1 + z 1 3 1 2z 1 (apply tables on p 784 785 ) y[n] = 2δ[n 1] + 3δ[n] ( 1) n u[ n 1] + 3(2) n u[ n 1] x[n] = 1 y[n + 1] 2 = δ[n] + 3 2 δ[n + 1] 1 2 ( 1)n+1 u[ n 2] + 3(2) n u[ n 2].

ECE352 10 The transfer function For LTI discrete-time systems with input x[n] and output y[n]: y[n] = x[n] h[n] Y (z) = X(z)H(z), where system transfer function H(z) is viewed as H(z) = Y (z) X(z). In order to uniquely determine the impulse response from the transfer function, must know ROC. If ROC is not known, other system characteristics such as stability or casuality must be known.

ECE352 11 The transfer function - Examples Example 7.13, p 580 : Find the transfer function and impulse of a causal LTI system if the input is x[n] = ( 1/3) n u[n] and the output is y[n] = 3( 1) n u[n] + (1/3) n u[n]. X(z) = Y (z) = = 1 1 + (1/3)z 1, ROC z > 1/3 3 1 + z 1 + 1 1 (1/3)z 1 4 (1 + z 1 )(1 (1/3)z 1, ROC z > 1 )

ECE352 12 The transfer function - Examples (cont.) Thus, the transfer function is obtained as H(z) = 4(1 + (1/3)z 1 ) (1 + z 1 )(1 (1/3)z 1, with ROC z > 1 ) Partial-fraction expansion: H(z) = = A 1 + z 1 + B 1 1 3 z 1 2 1 + z 1 + 2 1 1 3 z 1 Taking inverse z-transform we obtain the system impulse response h[n] = 2( 1) n u[n] + 2(1/3) n u[n].

ECE352 13 The transfer function - Examples (cont.) Problem 7.8, p 580 : An LTI system has impulse response h[n] = (1/2) n u[n]. Determine the input to the system if the output if given by y[n] = (1/2) n u[n] + ( 1/2) n u[n]. The z-transform of system output Y (z) = 1 1 (1/2)z 1 + 1 1 + (1/2)z 1, ROC z > 1/2 System transfer function H(z) = 1 1 (1/2)z 1, ROC z > 1/2

ECE352 14 The transfer function - Examples (cont.) The z-transform of the system input is X(z) = Y (z)/h(z) = 1 + 1 (1/2)z 1 1 + (1/2)z 1 2 z = 1 + (1/2)z 1 x[n] = 2( 1/2) n u[n].

ECE352 15 The transfer function and difference equation For a system described by the difference equation: N a k y[n k] = k=0 H(z) = Y (z) X(z) = M b k x[n k] k=0 M k=0 b kz k N k=0 a kz k The transfer function of an LTI system described by a difference equation is a ratio of polynomials in z 1. This form of the transfer function is termed a rational transfer function.

ECE352 16 The transfer function and difference equation - Examples Example 7.14, p 581 : Determine the transfer function and the impulse response for the causal LTI system described by the difference equation y[n] (1/4)y[n 1] (3/8)y[n 2] = x[n] + 2x[n 1] Taking z-transform of both sides gives Y (z) (1/4)z 1 Y (z) (3/8)z 2 Y (z) = X(z) + 2z 1 X(z) H(z) = Y (z) X(z) = = 1 + 2z 1 1 (1/4)z 1 (3/8)z 2 2 1 + (1/2)z 1 + 1 1 (3/4)z 1 h[n] = 2( 1/2) n u[n] + (3/4) n u[n] (causal system)

ECE352 17 The transfer function and difference equation - Examples (cont.) Example 7.15, p 581 : Find the difference-equation description of an LTI system with transfer function H(z) = 5z + 2 z 2 + 3z + 2. Dividing both numerator and denominator by z 2, we obtain H(z) = Y (z) X(z) = Cross multiply and then inverse z-transform: 5z 1 + 2z 2 1 + 3z 1 + 2z 2. Y (z) + 3Y (z)z 1 + 2Y (z)z 2 = 5X(z)z 1 + 2X(z)z 2 y[n] + 3y[n 1] + 2y[n 2] = 5x[n 1] + 2x[n 2]

ECE352 18 System causality and stability Similar to continuous-time LTI systems, but there are differences. System transfer function H(z) response. z h[n], system impulse In order to uniquely determine h[n], must know ROC or other knowledge of the system characteristics. Causal system h[n] = 0 for n < 0 H(z) is right-sided transform. Stable system h[n] absolutely summable DTFT of x[n] exists ROC includes unit circle (z = e jω ).

ECE352 19 System causality and stability (cont.) Assume a pole at z = d k. If d k < 1 (pole inside unit circle), the pole contributes an exponentially decaying term to the impulse response. If d k > 1 (pole outside unit circle), the pole contributes an exponentially increasing term to the impulse response. Conclusion: If a system is causal and stable, then all poles of H(z) are inside the unit circle.

ECE352 20 System causality and stability (cont.)

ECE352 21 System causality and stability (cont.)

ECE352 22 System causality and stability - Examples Read Example 7.16, p 584 Read Example 7.17, p 585 Problem 7.10, p 585 : A stable and causal LTI system is described by the difference equation y[n] + 1 4 y[n 1] 1 8 y[n 2] = 2x[n] + 5 x[n 1]. 4 Find the system impulse response.

ECE352 23 System causality and stability - Examples (cont.) Taking z-transform of both sides of the difference equation, we obtain Y (z) + 1 4 Y (z)z 1 1 8 Y (z)z 2 = 2X(z) + 5 4 X(z)z 1 H(z) = Y (z) X(z) = 2 + 5 4 z 1 1 + 1 4 z 1 1 8 z 2 = = 2 + 5 4 z 1 (1 1 4 z 1 )(1 + 1 2 z 1 ) A 1 1 4 z 1 + B 1 + 1 2 z 1

ECE352 24 System causality and stability - Examples (cont.) Poles at z = 1/4 and z = 1/2, both are inside the unit circle. Because system is causal, both poles corresponding to right-sided terms. A = 2 + 5 4 z 1 1 + 1 2 z 1 B = 2 + 5 4 z 1 1 1 4 z 1 H(z) = h[n] = z 1 =4 z 1 = 2 = 1 = 3 1 3 1 1 + 4z 1 1 + 1 2 ( ) z 1 n ( 1 u[n] 3 1 n u[n] 4 2)

ECE352 25 Freq. response from poles and zeros If ROC of an LTI system transfer function includes the unit circle, frequency response can be obtained as H(e jω ) = H(z) z=e jω. For a rational transfer function assuming a p th -order pole at z = 0 and an l th -order zero at z = 0 expressed as H(z) = bz p M p k=1 (1 c kz 1 ) z l N l k=1 (1 d kz 1 ) where b = b p /a l, the frequency response is obtained by substituting z = e jω : H(e jω ) = be jpω M p k=1 (1 c ke jω ) e jlω N l k=1 (1 d ke jω ) = be j(n M)Ω M p k=1 (ejω c k ) N l k=1 (ejω d k )

ECE352 26 Freq. response from poles and zeros (cont.) For a particular frequency Ω 0, the overall magnitude is evaluated in terms of the magnitude associated with each pole and zero as H(e jω 0 ) = b M p k=1 (ejω 0 c k ) N l k=1 (ejω 0 dk ) and the overall phase is evaluated in terms of the phase associated with each pole and zero as arg{h(e jω 0 )} = arg{ b} + (N M)Ω 0 + M p k=1 arg{e jω 0 c k } N l k=1 arg{e jω 0 d k }

ECE352 27 Applications to Filters and Equalizers Distortionless transmission: A scaling of magnitude A constant time delay Let x(t) be the input to an LTI system. If the system is distortionless, output must be y(t) = Cx(t t 0 ), where C is a constant and t 0 is the transmission delay. The impulse response of the system is: h(t) = Cδ(t t 0 ). Fourier transform of y(t): Y (jω) = CX(jω)e jωt 0.

ECE352 28 Distortionless transmission The system transfer function: H(jω) = Ce jωt 0 Magnitude response: H(jω) = C Phase response: arg{h(jω)} = ωt 0

ECE352 29 Ideal low-pass filters Consider where H(jω) = { e jωt 0 ω ω c 0 ω > ω c the constant is set to C = 1. a finite delay t 0 is chosen. ω c is the cutoff frequency.

ECE352 30 Ideal low-pass filters (cont.) To evaluate the filter impulse response h(t), we take the inverse Fourier transform: H(jω) F T h(t) = 1 2π = 1 2π ωc e jω(t t0) dω ω c e jω(t t ω 0) c j(t t 0 ) ω c = sin(ω c(t t 0 )) π(t t 0 )) = ω ( c π sinc ωc ) π (t t 0) where the definition of sinc(ωt) = sin(πωt) πωt is applied.

ECE352 31 Ideal low-pass filters (cont.) Frequency response of ideal low-pass filters. (a) Magnitude response. (b) Phase response.

ECE352 32 Ideal low-pass filters (cont.) Time-shifted form of the impulse response of an ideal, noncausal, low-pass filter for ω c = 1 and t 0 = 8.

ECE352 33 Design of filters Impulse responses of ideal filters are noncausal and infinite length. These filters are nonimplementable. Practical filters allow Passband ripple: 1 ɛ H(jω) 1 for 0 ω ω p, where ω p is the passband cutoff frequency and ɛ is a tolerance parameter. Stop band ripple: H(jω) δ for ω ω s, where ω s is the stopband cutoff frequency and δ is the tolerance parameter. Transition band: ω s ω p, a finite width.

ECE352 34 Ideal low-pass filters (cont.) Tolerance diagram of a practical low-pass filter. The passband, transition band, and stopband are shown for positive frequencies.

ECE352 35 Approximating functions Butterworth prototype Butterworth function of order K: H(jω) 2 = ω c : cutoff frequency. K: filter order. 1 + 1 ( ) 2K, K = 1, 2, 3,, ω ω c For prescribed values of tolerance parameters ɛ and δ, the passband and stopband frequencies are: ( ) 1/(2K) ɛ ω p = ω c ω s = ω c ( 1 δ δ 1 ɛ ) 1/(2K)

ECE352 36 Approximating functions Butterworth prototype (cont.) Magnitude response of Butterworth filter for varying orders.

ECE352 37 Approximating functions Butterworth prototype (cont.) Butterworth filters are maximally flat at ω = 0 (i.e., the first 2K 1 derivatives of H(jω) 2 at ω = 0 are equal to zero). For any given set of specifications (ω p, ω s, ɛ, δ), K and ω c can be calculated, and hence H(jω) 2 can be determined. Given Butterworth function H(jω) 2, the transfer function H(s) maybe obtained by using the following procedures: Find the 2K pole locations of H(s)H( s) s=jω = H(jω) 2 : s = ω c e jπ(2k+1)/(2k), for k = 0, 1,, 2K 1. For a stable system, the K poles on the left half plane belong to H(s).

ECE352 38 Approximating functions Butterworth prototype (cont.) Read example 8.3, p 627. Problem 8.3, p 628 : Find the transfer function of a Butterworth filter with cutoff frequency ω c = 1 and filter order K = 2. The 2K = 4 poles of H(s)H( s) are determined to be (s = ω c e j(2k+1)/(2k), k = 0, 1, 2, 3): s 1,2 = 2 2 ± j 2 2, s 3,4 = 2 2 ± j 2 2. Poles of H(s) are: s 3,4 = 2 2 ± j 2 2. Thus, H(s) = = 1 (s + 2 2 + j 2 2 )(s + 2 2 j 2 1 s 2 + 2s + 1 2 )

ECE352 39 Approximating functions Chebyshev prototype Magnitude response of Chebyshev filter for order (a) K = 3 and (b) K = 4 and passband ripple = 0.5 db. The frequencies ω b and ω a in case (a) and the frequencies ω a1 and ω b, and ω a2 in case (b) are defined in accordance with the optimality criteria for equiripple amplitude response.

ECE352 40 Approximating functions Chebyshev prototype (cont.) Equiripple in the passband. Monotonic in the stopband. Approximation functions with an equiripple magnitude response are known collectively as Chebyshev functions. A filter designed on this basis is called a Chebyshev filter.

ECE352 41 Frequency transformations So far, have considered only low-pass filters. High-pass, band-pass, and band-stop filters can be designed by an appropriate transformation of the independent variable. Low-pass to high-pass transformation: s ω c s, where ω c is the desired cutoff frequency of the high-pass filter. Low-pass to band-pass transformation: s s2 +ω 2 0 Bs, where B is the bandwidth of the band-pass filter and ω 0 is the midband frequency of the band-pass filter, both measured in radians per second.