Chapter 5 DT System Analysis : Z Transform Basil Hamed

Slides:



Advertisements
Similar presentations
ELEN 5346/4304 DSP and Filter Design Fall Lecture 7: Z-transform Instructor: Dr. Gleb V. Tcheslavski Contact:
Advertisements

AMI 4622 Digital Signal Processing
Lecture 19: Discrete-Time Transfer Functions
Lecture 14: Laplace Transform Properties
EE-2027 SaS, L18 1/12 Lecture 18: Discrete-Time Transfer Functions 7 Transfer Function of a Discrete-Time Systems (2 lectures): Impulse sampler, Laplace.
Digital Control Systems The z-Transform. The z Transform Definition of z-Transform The z transform method is an operational method that is very powerful.
Z-Transform Fourier Transform z-transform. Z-transform operator: The z-transform operator is seen to transform the sequence x[n] into the function X{z},
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
UNIT - 4 ANALYSIS OF DISCRETE TIME SIGNALS. Sampling Frequency Harry Nyquist, working at Bell Labs developed what has become known as the Nyquist Sampling.
Properties of the z-Transform
The z-Transform Prof. Siripong Potisuk. LTI System description Previous basis function: unit sample or DT impulse  The input sequence is represented.
Properties and the Inverse of
CE Digital Signal Processing Fall 1992 Z Transform
ECE 8443 – Pattern Recognition ECE 3163 – Signals and Systems Objectives: Modulation Summation Convolution Initial Value and Final Value Theorems Inverse.
Ch.7 The z-Transform and Discrete-Time Systems. 7.1 The z-Transform Definition: –Consider the DTFT: X(Ω) = Σ all n x[n]e -jΩn (7.1) –Now consider a real.
CHAPTER 4 Laplace Transform.
1 1 Chapter 3 The z-Transform 2 2  Consider a sequence x[n] = u[n]. Its Fourier transform does not converge.  Consider that, instead of e j , we use.
Fourier Series. Introduction Decompose a periodic input signal into primitive periodic components. A periodic sequence T2T3T t f(t)f(t)
CHAPTER 4 Laplace Transform.
Chapter 5 Z Transform. 2/45  Z transform –Representation, analysis, and design of discrete signal –Similar to Laplace transform –Conversion of digital.
Z Transform Chapter 6 Z Transform. z-Transform The DTFT provides a frequency-domain representation of discrete-time signals and LTI discrete-time systems.
1 Z-Transform. CHAPTER 5 School of Electrical System Engineering, UniMAP School of Electrical System Engineering, UniMAP NORSHAFINASH BT SAUDIN
Department of Computer Eng. Sharif University of Technology Discrete-time signal processing Chapter 3: THE Z-TRANSFORM Content and Figures are from Discrete-Time.
Z TRANSFORM AND DFT Z Transform
THE LAPLACE TRANSFORM LEARNING GOALS Definition
ES97H Biomedical Signal Processing
Homework 3.
Digital Signal Processing
Signal and Systems Prof. H. Sameti Chapter 10: Introduction to the z-Transform Properties of the ROC of the z-Transform Inverse z-Transform Examples Properties.
Chapter 7 The Laplace Transform
Lecture 5 – 6 Z - Transform By Dileep Kumar.
Lecture 4: The z-Transform 1. The z-transform The z-transform is used in sampled data systems just as the Laplace transform is used in continuous-time.
Chapter 2 The z Transform.
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.
Lecture 26 Outline: Z Transforms Announcements: Reading: “8: z-transforms” pp (no inverse or unilateral z transforms) HW 9 posted, due 6/3 midnight.
Properties of the z-Transform
Digital and Non-Linear Control
Review of DSP.
Lecture 7: Z-Transform Remember the Laplace transform? This is the same thing but for discrete-time signals! Definition: z is a complex variable: imaginary.
(2) Region of Convergence ( ROC )
The Z-Transform.
CHAPTER 5 Z-Transform. EKT 230.
3.1 Introduction Why do we need also a frequency domain analysis (also we need time domain convolution):- 1) Sinusoidal and exponential signals occur.
Digital Control Systems (DCS)
Laplace and Z transforms
EE Audio Signals and Systems
Chapter 15 Introduction to the Laplace Transform
LAPLACE TRANSFORMS PART-A UNIT-V.
Chapter 5 Z Transform.
The Inverse Z-Transform
Chapter 5 Integral Transforms and Complex Variable Functions
UNIT II Analysis of Continuous Time signal
Signal and Systems Chapter 9: Laplace Transform
LECTURE 28: THE Z-TRANSFORM AND ITS ROC PROPERTIES
The sampling of continuous-time signals is an important topic
Prof. Vishal P. Jethava EC Dept. SVBIT,Gandhinagar
Research Methods in Acoustics Lecture 9: Laplace Transform and z-Transform Jonas Braasch.
Signals and Systems EE235 Lecture 31 Leo Lam ©
Z TRANSFORM AND DFT Z Transform
Z-Transform ENGI 4559 Signal Processing for Software Engineers
Fundamentals of Electric Circuits Chapter 15
CHAPTER-6 Z-TRANSFORM.
Discrete-Time Signal processing Chapter 3 the Z-transform
Discrete-Time Signal processing Chapter 3 the Z-transform
9.0 Laplace Transform 9.1 General Principles of Laplace Transform
10.0 Z-Transform 10.1 General Principles of Z-Transform Z-Transform
CHAPTER 4 Laplace Transform. EMT Signal Analysis.
Review of DSP.
IntroductionLecture 1: Basic Ideas & Terminology
THE LAPLACE TRANSFORM LEARNING GOALS Definition
Presentation transcript:

Chapter 5 DT System Analysis : Z Transform Basil Hamed Signal & Linear system Chapter 5 DT System Analysis : Z Transform Basil Hamed

Introduction Z-Transform does for DT systems what the Laplace Transform does for CT systems In this chapter we will: -Define the ZT -See its properties -Use the ZT and its properties to analyze D-T systems Z-T is used to Solve difference equations with initial conditions Solve zero-state systems using the transfer function Basil Hamed

5.1 The Z-transform We define X(z),the direct Z-transform of x[n],as 𝑋 𝑧 = 𝑛=−∞ ∞ 𝑥[𝑛] 𝑧 −𝑛 Where z is the complex variable. 𝑥 𝑛 = 1 2𝜋𝑗 𝑋[𝑧] 𝑧 𝑛−1 𝑑𝑧 The unilateral z-Transform 𝑋 𝑧 = 𝑛=0 ∞ 𝑥[𝑛] 𝑧 −𝑛 Basil Hamed

Z-Transform of Elementary Functions: Example 5.2 P 499 find the Z-transform of 𝛿 𝑛 U[n] 𝑎 𝑛 𝑢[𝑛] 𝑒 −𝑎𝑡 𝑢(𝑡) Solution x[n]= 𝛿 𝑛 ={ 1, 𝑛=0 0, 𝑛≠0 𝑋 𝑧 = 𝑛=0 ∞ 𝑥 𝑛 𝑍 −𝑛 =1 𝑍 0 + 0𝑍 −1 + 0𝑍 −2 + 0𝑍 −3 +… =1 𝛿 𝑛 Z 1 Basil Hamed

Z-Transform of Elementary Functions: b) x[n]=u[n] ={ 1, 𝑛≥0 0, 𝑛<0 𝑋 𝑧 = 𝑛=0 ∞ 𝑥 𝑛 𝑍 −𝑛 =1+ 𝑍 −1 + 𝑍 −2 + 𝑍 −3 +… We have from power series from Book P 48 1+𝑥+ 𝑥 2 + 𝑥 3 + 𝑥 3 +……..= 1 1−𝑥 𝑥 <1 𝑛=0 ∞ 𝑥 𝑛 = 1 1−𝑥 𝑥 <1 ∴𝑋 𝑧 = 1 1− 𝑍 −1 𝑧 −1 <1 𝑋 𝑧 = 𝑧 𝑧−1 𝑧 >1 Basil Hamed

Z-Transform of Elementary Functions: Basil Hamed

Z-Transform of Elementary Functions: d) x(t)= { 𝑒 −𝑎𝑡 𝑡≥0 0 𝑡<0 t nT X[n]= 𝑒 −𝑎𝑛𝑇 𝑛=0,1,2,……. 𝑋 𝑧 =𝑍 𝑒 −𝑎𝑛𝑇 = 𝑛=0 ∞ 𝑥[𝑛] 𝑍 −𝑛 = 𝑛=0 ∞ 𝑒 −𝑎𝑛𝑇 𝑍 −𝑛 = 𝑛=0 ∞ (𝑒 −𝑎𝑇 𝑍 −1 ) 𝑛 =1+ 𝑒 −𝑎𝑇 𝑍 −1 + 𝑒 −2𝑎𝑇 𝑍 −2 +… X[z]= 1 1− 𝑒 −𝑎𝑇 𝑍 −1 = 𝑍 𝑍− 𝑒 −𝑎𝑇 𝑍 > 𝑒 −𝑎𝑇 Basil Hamed

Z-Transform of Elementary Functions: Example given 𝑥 𝑛 ={ [ 1 2 ] 𝑛 𝑛≥0 0 𝑛<0 y 𝑛 ={ −[ 1 2 ] 𝑛 𝑛<0 0 𝑛≥0 Find X(z) & Y(z) Solution 𝑋 𝑧 = 𝑛=0 ∞ ( 1 2 ) 𝑛 𝑍 −𝑛 = 𝑛=0 ∞ ( 1 2 𝑍 −1 ) 𝑛 ∴𝑋 𝑧 = 1 1− 1 2 𝑍 −1 = 𝑍 𝑍− 1 2 𝑍 > 1 2 Basil Hamed

Region of Convergence Basil Hamed

Region of Convergence Basil Hamed

Z-Transform of Elementary Functions: Let n=-m Y 𝑧 = - −𝑚=−∞ −1 ( 1 2 𝑍 −1 ) −𝑚 = - 𝑚=∞ 1 ( 1 2𝑍 ) −𝑚 𝑌 𝑧 = 𝑚=1 ∞ (2𝑍 ) 𝑚 =1− 𝑚=0 ∞ (2𝑍 ) 𝑚 =1− 1 1−2𝑍 2𝑍 <1 ∴𝑌 𝑧 = 𝑍 𝑍− 1 2 𝑍 < 1 2 As seen in the example above, X(z) & Y(z) are identical, the only different is ROC Basil Hamed

Relationship between ZT & LT Basil Hamed

Relationship between ZT & LT Basil Hamed

Relationship between ZT & LT In the S-plane, the region of stability is the left half-plane. If the transfer function, G(s), is transformed into a sampled-data transfer function, G(z), the region of stability on the z-plane can be evaluated from the definition, Letting s = 𝛼 +jw, we obtain Basil Hamed

ROC Basil Hamed

ROC Example given 𝑥 𝑛 =( 1 2 ) 𝑛 𝑢 𝑛 +( 1 3 ) 𝑛 𝑢 𝑛 Find X(z) Solution 𝑋 𝑧 = 𝑛=0 ∞ ( 1 2 ) 𝑛 𝑍 −𝑛 + 𝑛=0 ∞ ( 1 3 ) 𝑛 𝑍 −𝑛 𝑋 𝑧 = 1 1− 1 2 𝑍 −1 + 1 1− 1 3 𝑍 −1 = 𝑍 𝑍− 1 2 + 𝑍 𝑍− 1 3 ROC 𝑍 > 1 2 , 𝑍 > 1 3 ∴ 𝑍 > max 1 2 , 1 3 = 1 2 Basil Hamed

5.2 Some Properties of The Z-Transform As seen in the Fourier & Laplace transform there are many properties of the Z-transform will be quite useful in system analysis and design. If 𝑥 1 𝑛 ↔ 𝑋 1 𝑧 & 𝑥 2 [𝑛]↔ 𝑋 2 [𝑧] Then a 𝑥 1 𝑛 +𝑏 𝑥 2 [𝑛]↔𝑎 𝑋 1 [𝑧]+𝑏 𝑋 2 [𝑧] Basil Hamed

5.2 Some Properties of The Z-Transform Right Shift of x[n] (delay) if 𝑥 𝑛 ↔𝑋 𝑧 Then 𝑍 𝑥 𝑛− 𝑛 0 = 𝑍 − 𝑛 0 𝑋 𝑧 +𝑋 − 𝑛 0 + 𝑍 −1 𝑋 − 𝑛 0 +1 +… …+ 𝑍 − 𝑛 0 +1 𝑋[−1] Note that if x[n]=0 for n=-1,-2,-3,…, − 𝑛 0 then Z{x[n− 𝑛 0 ]}= 𝑍 − 𝑛 0 𝑋 𝑧 𝑥 𝑛−1 ↔ 𝑍 −1 𝑋 𝑧 +𝑥[−1] 𝑥 𝑛−2 ↔ 𝑍 −2 𝑋 𝑧 +𝑥 −2 + 𝑍 −1 𝑥[−1] Basil Hamed

5.2 Some Properties of The Z-Transform Left Shift in Time (Advanced) 𝑥[𝑛+1]↔𝑍𝑋[𝑧]−𝑥[0]𝑍 𝑥 𝑛+2 ↔ 𝑍 2 𝑋 𝑧 −𝑥 0 𝑍 2 −𝑥 1 𝑍 : 𝑥 𝑛+ 𝑛 0 ↔ 𝑍 𝑛 0 𝑋 𝑧 −𝑥 0 𝑍 𝑛 0 −𝑥 1 𝑍 𝑛 0 −1 −…−x[ 𝑛 0 −1] Example given 𝑦 𝑛 − 1 2 𝑦 𝑛−1 =𝛿 𝑛 , 𝑦 −1 =3 Find y[n] Basil Hamed

5.2 Some Properties of The Z-Transform 𝑌 𝑧 − 1 2 𝑍 −1 𝑌 𝑧 +𝑦 −1 =1 𝑌 𝑧 1− 1 2 𝑍 −1 =1+ 3 2 ∴𝑌 𝑧 = 5 2 1− 1 2 𝑍 −1 = 5 2 𝑍 𝑍− 1 2 𝑦 𝑛 = 𝑍 −1 {𝑌 𝑧 } Basil Hamed

5.2 Some Properties of The Z-Transform Example Given 𝑦 𝑛+2 −𝑦 𝑛+1 + 2 9 𝑦 𝑛 =𝑥[𝑛] For y[n], n≥0 𝑖𝑓 x[n]=u[n], y[1]=1, y[0]=1 Solve the difference equation Solution [𝑍 2 𝑌 𝑧 −𝑦 0 𝑍 2 −𝑦 1 𝑍]−[𝑍𝑌 𝑧 −𝑦 0 𝑍]+ 2 9 𝑌 𝑧 =𝑋[𝑧] 𝑌 𝑧 𝑍 2 −𝑍+ 2 9 − 𝑍 2 −𝑍+𝑍= 𝑍 𝑍−1 ∴𝑌 𝑧 = 𝑍 𝑍−1 + 𝑍 2 𝑍 2 −𝑍+ 2 9 take inverse z and find y[n] Basil Hamed

5.2 Some Properties of The Z-Transform Frequency Scaling (Multiplication by 𝑎 𝑛 ) if 𝑥 𝑛 ↔𝑋 𝑧 Then 𝑎 𝑛 𝑥[𝑛]↔𝑋[ 𝑧 𝑎 ] Example given 𝑦 𝑛 = (𝑎 𝑛 cos Ω 0 )𝑢[𝑛] Find Y[z] Solution From Z-Table 𝑥 𝑛 = ( cos Ω 0 )𝑢 𝑛 →𝑋 𝑧 = 𝑍(𝑍− cos Ω 0 ) 𝑍 2 −2𝑍 cos Ω 0 +1 ∴𝑌 𝑧 = (𝑍/𝑎)(𝑍/𝑎− cos Ω 0 ) (𝑍/𝑎) 2 −2(𝑍/𝑎) cos Ω 0 +1 𝑌 𝑧 = 𝑍(𝑍− a cos Ω 0 ) 𝑍 2 −2 𝑎 𝑍 cos Ω 0 + 𝑎 2 Basil Hamed

5.2 Some Properties of The Z-Transform Differentiation with Respect to Z if 𝑥 𝑛 ↔𝑋 𝑧 Then 𝑍 𝑛 𝑘 𝑥 𝑛 =(−𝑍 𝑑 𝑑𝑧 ) 𝑘 𝑋(𝑧) Example; given y[n]=n[n+1]u[n], find Y[z] Solution y[n]= 𝑛 2 𝑢 𝑛 +𝑛𝑢[𝑛] Z[n u[n]]= −𝑍 𝑑 𝑑𝑧 𝑍 𝑢 𝑛 =−𝑍 𝑑 𝑑𝑧 𝑍 𝑍−1 = 𝑍 (𝑍−1 ) 2 And 𝑍 𝑛 2 𝑢 𝑛 =(−𝑍 𝑑 𝑑𝑧 ) 2 𝑍[𝑢 𝑛 ] =−𝑍 𝑑 𝑑𝑧 𝑍 (𝑍−1 ) 2 = 𝑍(𝑍+1) (𝑍−1 ) 3 𝑌 𝑧 = 𝑍(𝑍+1) (𝑍−1 ) 3 + 𝑍 (𝑍−1 ) 2 = 2 𝑍 2 (𝑍−1 ) 3 Basil Hamed

5.2 Some Properties of The Z-Transform if 𝑥 𝑛 ↔𝑋 𝑧 Then 𝑥 0 = lim 𝑍→∞ 𝑋(𝑧 ) Example 𝑋(𝑧) 𝑍 = 𝑍 3 − 3 4 𝑍 2 +2𝑍− 5 4 (𝑍−1)(𝑍− 1 3 )( 𝑍 2 − 1 2 𝑍+1) find x(0) Solution 𝑥 0 = lim 𝑍→∞ 𝑋(𝑧 ) 𝑥 0 = lim 𝑍→∞ 𝑍 4 − 3 4 𝑍 3 +2 𝑍 2 − 5 4 𝑍 𝑍 4 − 11 6 𝑍 3 +2 𝑍 2 − 9 6 𝑍+ 1 3 =1 Initial Value Theorem Basil Hamed

5.2 Some Properties of The Z-Transform The initial value theorem is a convenient tool for checking if the Z-transform of a given signal is in error. Using Matlab software we can have x[n]; 𝑥 𝑛 =𝑢 𝑛 +( 1 3 ) 𝑛 𝑢 𝑛 −( 1 2 ) 𝑛 cos⁡( 𝜋 3 𝑛) The initial value is x(0)=1, which agrees with the result we have. lim 𝑛→∞ 𝑥 𝑛 = lim 𝑍→1 𝑍−1 𝑋 𝑧 = lim 𝑍→1 1− 𝑍 −1 𝑋 𝑧 Final value Theorem Basil Hamed

5.2 Some Properties of The Z-Transform As in the continuous-time case, care must be exercised in using the final value thm. For the existence of the limit; all poles of the system must be inside the unit circle. (system must be stable) Example given 𝑋 𝑧 = 𝑍 3 − 3 4 𝑍 2 +2𝑍− 5 4 (𝑍−1)(𝑍− 1 3 )( 𝑍 2 − 1 2 𝑍+1) Find x(∞) Solution x ∞ = lim 𝑍→1 1− 𝑍 −1 𝑋 𝑧 = 𝑍 3 − 3 4 𝑍 2 +2𝑍− 5 4 𝑍(𝑍− 1 3 )( 𝑍 2 − 1 2 𝑍+1) =1 Example given x[n]= 2 𝑛 𝑢 𝑛 Find x(∞) Solution 𝑥 𝑧 = 𝑍 𝑍−2 The system is unstable because we have one pole outside the unit circle so the system does not have final value, Basil Hamed

Stability of DT Systems Basil Hamed

5.2 Some Properties of The Z-Transform Convolution Y(z)= X(z)H(z) Example: given h[n]={1,2,0,-1,1} and x[n]={1,3,-1,-2} Find y[n] Solution y[n]= x[n] * h[n] Y(z)=X(z)H(z) 𝑋 𝑧 =1+3 𝑍 −1 − 𝑍 −2 −2 𝑍 −3 H 𝑧 =1+2 𝑍 −1 +0− 𝑍 −3 − 𝑍 −4 𝑌 𝑧 =1+5 𝑍 −1 +5 𝑍 −2 −5 𝑍 −3 −6 𝑍 −4 +4 𝑍 −5 + 𝑍 −6 −2 𝑍 −7 Y[n]={1,5,5,-5,-6,4,1,-2} Basil Hamed

5.2 Some Properties of The Z-Transform Example: given ℎ 1 𝑛 = 𝑛−1 𝑢 𝑛 , ℎ 2 𝑛 =𝛿 𝑛 +𝑛𝑢 𝑛−1 +𝛿 𝑛−2 , ℎ 3 =( 1 2 ) 𝑛 𝑢 𝑛 Find the T. F of the System Basil Hamed

5.2 Some Properties of The Z-Transform Solution: 𝐻 𝑧 = 𝑌(𝑧) 𝑋(𝑧) = 𝐻 3 𝑧 [ 𝐻 2 𝑧 − 𝐻 1 𝑧 ] 𝐻 1 𝑧 = 𝑍 (𝑍−1 ) 2 − 𝑍 𝑍−1 = 2𝑍− 𝑍 2 (𝑍−1 ) 2 𝐻 2 𝑧 =1+ −𝑍 𝑑 𝑑𝑧 𝑍 −1 𝑢 𝑧 + 𝑍 −2 = 𝑍 4 − 𝑍 3 +2 𝑍 2 +1 𝑍 2 (𝑍−1 ) 2 𝐻 3 𝑧 = 𝑍 𝑍− 1 2 ∴𝐻 𝑧 = 2 𝑍 3 + 𝑍 2 +𝑍−1 𝑍(𝑍− 1 2 )(𝑍−1) Basil Hamed

The Inverse of Z-Transform There are many methods for finding the inverse of Z-transform; Three methods will be discussed in this class. Direct Division Method (Power Series Method) Inversion by Partial fraction Expansion Inversion Integral Method Basil Hamed

The Inverse of Z-Transform 1. Direct Division Method (Power Series Method): The power series can be obtained by arranging the numerator and denominator of X(z) in descending power of Z then divide. Example determine the inverse Z- transform : 𝑋 𝑧 = 𝑍 𝑍−0.1 𝑍 >0.1 Solution 1+0.1 𝑍 −1 + .1 2 𝑍 −2 +… Z-0.1 Z Z-0.1 0.1 X(z)=1+.1 𝑍 −1 + .1 2 𝑍 −2 +…→ 𝑥 𝑛 =(0.1 ) 𝑛 𝑢[𝑛] Basil Hamed

The Inverse of Z-Transform Example 𝑋 𝑧 = 𝑍 3 − 𝑍 2 −𝑍− 1 16 𝑍 3 − 3 4 𝑍 2 − 1 2 𝑍− 1 16 𝑍 > 1 2 find x[n] Solution 1+ 1 4 𝑍 −1 + 13 16 𝑍 −2 +… 𝑍 3 − 3 4 𝑍 2 − 1 2 𝑍− 1 16 𝑍 3 − 𝑍 2 −𝑍− 1 16 𝑍 3 − 5 4 𝑍 2 − 1 2 𝑍− 1 16 X(0)=1, x(1)=1/4, x(2)=13/16,……. In this example, it is not easy to determine the general expression for x[n]. As seen, the direct division method may be carried out by hand calculations if only the first several terms of the sequence are desired. In general the method does not yield a closed form for x[n]. Basil Hamed

The Inverse of Z-Transform 2. Inversion by Partial-fraction Expansion T.F has to be rational function, to obtain the inverse Z transform. The use of partial fractions here is almost exactly the same as for Laplace transforms……the only difference is that you first divide by z before performing the partial fraction expansion…then after expanding you multiply by z to get the final expansion Example 𝑋 𝑧 = 𝑍 3 − 𝑍 2 −𝑍− 1 16 𝑍 3 − 3 4 𝑍 2 − 1 2 𝑍− 1 16 𝑍 > 1 2 find x[n] Basil Hamed

The Inverse of Z-Transform Solution: 𝑋(𝑧) 𝑍 = 𝑍 3 − 𝑍 2 −𝑍− 1 16 𝑍( 𝑍 3 − 3 4 𝑍 2 − 1 2 𝑍− 1 16 ) = 𝑍 3 − 𝑍 2 −𝑍− 1 16 𝑍(𝑍− 1 2 ) 2 (𝑍− 1 4 ) 𝑋(𝑧) 𝑍 = 𝐴 𝑍 + 𝐵 (𝑍− 1 2 ) 2 + 𝐶 (𝑍− 1 2 ) + 𝐷 𝑍− 1 4 Using same method used in Laplace transform To find A,B,C,D A=1, B=-11/2, C=-9, D=-23 ∴ 𝑋(𝑧) 𝑍 = 1 𝑍 + −11 2 (𝑍− 1 2 ) 2 + −9 (𝑍− 1 2 ) + −23 𝑍− 1 4 𝑋(𝑧)=1+ −11 2 𝑍 (𝑍− 1 2 ) 2 + −9𝑍 (𝑍− 1 2 ) + −23𝑍 𝑍− 1 4 𝑥 𝑛 =𝛿 𝑛 +[−5.5𝑛( 1 2 ) 𝑛 −23( 1 4 ) 𝑛 −9( 1 2 ) 𝑛 𝑢 𝑛 ] Basil Hamed

The Inverse of Z-Transform Example 5.3 P 501 given 𝑋 𝑧 = 2𝑍(3𝑍+17) (𝑍−1)( 𝑍 2 −6𝑍+25) Find the inverse Z-Transform. Solution: 𝑋(𝑧) 𝑍 = 2(3𝑍+17) (𝑍−1)(𝑍−3−𝑗3)(𝑍−3+𝑗4) 𝑋(𝑧) 𝑍 = 𝑘 1 𝑍−1 + 𝑘 2 𝑍−3−𝑗4 + 𝑘 2 ∗ 𝑍−3+𝑗4 𝑋 𝑧 =2 𝑍 𝑍−1 + 1.6 𝑒 −𝑗2.246 𝑍 𝑍−3−𝑗4 + 1.6 𝑒 𝑗2.246 𝑍 𝑍−3+𝑗4 From Table 5-1 (12-b) 𝑍 −1 0.5𝑟 𝑒 𝑗𝜃 𝑍 𝑍−𝛾 + 0.5𝑟 𝑒 𝑗𝜃 𝑍 𝑍− 𝛾 ∗ =𝑟 𝛾 𝑛 cos 𝛽 𝑛 +𝜃 𝑢[𝑛] Basil Hamed

The Inverse of Z-Transform 𝛾= 𝛾 𝑒 𝑗𝛽 0.5r=1.6 r=3.2, 𝜃=-2.246 rad 𝛾=3+j4=5 𝑒 𝑗0.927 𝛾 =5, 𝛽=0.927 𝑥 𝑛 =[2+3.2 5 ) 𝑛 cos 0.927𝑛−2.246 𝑢 𝑛 Example find y[n] Basil Hamed

The Inverse of Z-Transform 3. Inversion integral Method: 𝑥 𝑛 = 1 2𝜋𝑗 𝑋(𝑧) 𝑍 𝑛−1 𝑑𝑧 𝑥 𝑛 = 𝑎𝑡 𝑝𝑜𝑙𝑒𝑠 𝑜𝑓𝑋(𝑧) 𝑍 𝑛−1 [𝑟𝑒𝑠𝑖𝑑𝑢𝑒 𝑜𝑓 𝑋 𝑧 𝑍 𝑛−1 ] If the function X(z) 𝑍 𝑛−1 has a simple pole at Z=a then the residue is evaluated as 𝑟𝑒𝑠𝑖𝑑𝑢𝑒 | 𝑍=𝑎 = 𝑍−𝑎 𝑋(𝑧) 𝑍 𝑛−1 | 𝑍=𝑎 Basil Hamed

The Inverse of Z-Transform For a pole of order m at Z=a the residue is calculated using the following expression: 𝑟𝑒𝑠𝑖𝑑𝑢𝑒 | 𝑍=𝑎 = 1 (𝑚−1)! 𝑑 𝑚−1 𝑑𝑧 [(𝑍−𝑎 ) 𝑚 𝑋 𝑧 𝑍 𝑛−1 ] | 𝑍=𝑎 Example Find x[n] for 𝑋 𝑧 = 𝑍 (𝑍−1 ) 2 Solution: The only method to solve above function is by integral method. 𝑋 (𝑧) 𝑍 𝑛−1 has multiple poles at Z= 1 Basil Hamed

The Inverse of Z-Transform 𝑋 𝑧 𝑍 𝑛−1 = 𝑍 (𝑍−1 ) 2 𝑍 𝑛−1 = 𝑍 𝑛 (𝑍−1 ) 2 ∴𝑥 𝑛 = 1 2−1 ! 𝑑 2−1 𝑑 𝑧 2−1 [(𝑍−1 ) 2 𝑍 (𝑍−1 ) 2 𝑍 𝑛−1 ] | 𝑍=1 𝑥 𝑛 = 𝑑 𝑑𝑧 𝑍 𝑛 | 𝑍=1 =𝑛 𝑍 𝑛−1 | 𝑍=1 =𝑛 Example Obtain the inverse Z transform of 𝑋 𝑧 = 𝑍 −2 (1− 𝑍 −1 ) 3 𝑅𝑂𝐶 𝑍 >1 Solution: 𝑋 𝑧 = 𝑍 (𝑍 −1 ) 3 𝑋 𝑧 𝑍 𝑛−1 = 𝑍 (𝑍 −1 ) 3 𝑍 𝑛−1 = 𝑍 𝑛 (𝑍−1 ) 3 Basil Hamed

The Inverse of Z-Transform 𝑋 𝑧 𝑍 𝑛−1 has a triple pole at Z=1 𝑥 𝑛 =[𝑟𝑒𝑠𝑖𝑑𝑢𝑒 𝑜𝑓 𝑍 𝑛 (𝑍−1 ) 3 at triple pole Z=1] 𝑥 𝑛 = 1 (3−1)! 𝑑 2 𝑑 𝑧 2 [(𝑧−1 ) 3 𝑍 𝑛 (𝑍−1 ) 3 ] | 𝑍=1 𝑥 𝑛 = 1 2 𝑛 𝑛−1 𝑍 𝑛−2 | 𝑍=1 = 1 2 𝑛 𝑛−1 𝑛=0,1,2.. Example Obtain the inverse Z transform of 𝑋 𝑧 = 𝑍(𝑍+2) (𝑍−1 ) 2 Basil Hamed

The Inverse of Z-Transform By Partial Fraction: 𝑋(𝑧) 𝑧 = 𝑍+2 (𝑍−1 ) 2 = 𝑘 1 (𝑍−1 ) 2 + 𝑘 2 𝑍− 1 𝑘 1 =3, 𝑘 2 =1 𝑋(𝑧)= 3𝑍 (𝑍−1 ) 2 + 𝑍 𝑍− 1 𝑥 𝑛 = 3𝑛+1 𝑢[𝑛] By Inversion Integral Method: 𝑋 𝑧 𝑍 𝑛−1 = (𝑍+2) 𝑍 𝑛 (𝑍−1 ) 2 , 𝑋 𝑧 𝑍 𝑛−1 has double poles at Z=1 𝑥 𝑛 =[𝑟𝑒𝑠𝑖𝑑𝑢𝑒 𝑜𝑓 (𝑍+2) 𝑍 𝑛 (𝑍−1 ) 2 at double poles at Z=1] ∴𝑥 𝑛 = 1 (2−1)! 𝑑 𝑑𝑧 [ 𝑍−1 ) 2 𝑍+2 𝑍 𝑛 (𝑍−1 ) 2 | 𝑍=1 = 𝑑 𝑑𝑧 [ 𝑍+2 𝑍 𝑛 ] | 𝑍=1 𝑥 𝑛 =3𝑛+1 𝑛=0,1,2,… Basil Hamed

Example Obtain the inverse z transform of Solution: Basil Hamed

Example Basil Hamed

Example Basil Hamed

Example Basil Hamed

Example X[k]= { 0 𝑘=0,1,2,3 𝑘−3 𝑘=4,5,6,……. Basil Hamed

Methods of Evaluation of the Inverse Z transform Basil Hamed

Basil Hamed

Transfer Function Basil Hamed

Transfer Function Basil Hamed

Transfer Function Zero Input Response Zero State Response Basil Hamed

We’ll consider the ZT/Difference Eq. approach first… ZT For Difference Eqs. Given a difference equation that models a D-T system we may want to solve it: -with IC’s -with IC’s of zero Note…the ideas here are very much like what we did with the Laplace Transform for CT systems. We’ll consider the ZT/Difference Eq. approach first… Basil Hamed

Solving a First-order Difference Equation using the ZT Basil Hamed

Solving a First-order Difference Equation using the ZT Basil Hamed

First Order System w/ Step Input Basil Hamed

Solving a Second-order Difference Equation using the ZT Basil Hamed

Solving a Nth-order Difference Equation using the ZT Basil Hamed

Example Find the unit impulse response of the system described by the following equation : Solution: Basil Hamed

Example Basil Hamed

Example A discrete−time system is described by the difference equation a. Compute the transfer function H[z] b. Compute the impulse response h[n] c. Compute the response when the input is x[n]= 10 n ≥ 0 Basil Hamed

Example a. b. Taking the Z transform of both sides we obtain Basil Hamed

Example c Basil Hamed

Example Basil Hamed

Example Basil Hamed

Discrete-Time System Relationships Basil Hamed

Example System Relationships Basil Hamed

Example System Relationships Basil Hamed