Signal & Linear system

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

description

Signal & Linear system. Chapter 5 D T 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. - PowerPoint PPT Presentation

Transcript of Signal & Linear system

Page 1: Signal & Linear system

Signal & Linear system

Chapter 5 DT System Analysis : Z Transform

Basil Hamed

Page 2: Signal & Linear system

IntroductionZ-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

Basil Hamed 2

Solve difference equations with initial conditions

Solve zero-state systems using the transfer function

Z-T is used to

Page 3: Signal & Linear system

5.1 The Z-transformWe define X(z),the direct Z-transform of x[n],as Where z is the complex variable.

The unilateral z-Transform

Basil Hamed 3

Page 4: Signal & Linear system

Z-Transform of Elementary Functions:

Example 5.2 P 499 find the Z-transform of

a) U[n]

Solution

b) x[n]= ={ =1 Z 1

Basil Hamed 4

Page 5: Signal & Linear system

Z-Transform of Elementary Functions:

b) x[n]=u[n] ={

We have from power series from Book P 48+……..=

Basil Hamed 5

Page 6: Signal & Linear system

Z-Transform of Elementary Functions:

c)

Basil Hamed 6

Page 7: Signal & Linear system

Z-Transform of Elementary Functions:

d) x(t)= { t nT

X[n]=

X[z]=

Basil Hamed 7

Page 8: Signal & Linear system

Z-Transform of Elementary Functions:

Example given yFind X(z) & Y(z)

Solution

Basil Hamed 8

Page 9: Signal & Linear system

Region of Convergence

Basil Hamed 9

Page 10: Signal & Linear system

Region of Convergence

Basil Hamed 10

Page 11: Signal & Linear system

Z-Transform of Elementary Functions:

Y - Let n=-mY - -

As seen in the example above, X(z) & Y(z) are identical, the only different is ROC

Basil Hamed 11

Page 12: Signal & Linear system

Relationship between ZT & LT

Basil Hamed 12

Page 13: Signal & Linear system

Relationship between ZT & LT

Basil Hamed 13

Page 14: Signal & Linear system

ROC

Basil Hamed 14

Page 15: Signal & Linear system

ROCExample given Find X(z)Solution ROC

Basil Hamed 15

Page 16: Signal & Linear system

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 Then a

Basil Hamed 16

Page 17: Signal & Linear system

5.2 Some Properties of The Z-Transform

Basil Hamed 17

Right Shift of x[n] (delay) Then …Note that if x[n]=0 for n=-1,-2,-3,…, then Z{x[n]}=

Page 18: Signal & Linear system

5.2 Some Properties of The Z-Transform

Left Shift in Time (Advanced) : :

Example given Find y[n]

Basil Hamed 18

Page 19: Signal & Linear system

5.2 Some Properties of The Z-Transform

Basil Hamed 19

Page 20: Signal & Linear system

5.2 Some Properties of The Z-Transform

Example Given For y[n], n x[n]=u[n], y[1]=1, y[0]=1Solve the difference equation Solution take inverse z and find y[n]

Basil Hamed 20

Page 21: Signal & Linear system

5.2 Some Properties of The Z-Transform

Then Example given Find Y[z] Solution From Z-Table (

Basil Hamed 21

Frequency Scaling (Multiplication by )

Page 22: Signal & Linear system

5.2 Some Properties of The Z-Transform

Then

Example; given y[n]=n[n+1]u[n], find Y[z]Solution y[n]= Z[n u[n]]= And

Basil Hamed 22

Differentiation with Respect to Z

Page 23: Signal & Linear system

5.2 Some Properties of The Z-Transform

Then Example find x(0)Solution

Basil Hamed 23

Initial Value Theorem

Page 24: Signal & Linear system

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]; The initial value is x(0)=1, which agrees with the result we have.

Basil Hamed 24

Final value Theorem

Page 25: Signal & Linear system

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 Find xSolution Example given x[n]= Find xSolution The system is unstable because we have one pole outside the unit circle so the system does not have final value,

Basil Hamed25

Page 26: Signal & Linear system

Stability of DT Systems

Basil Hamed 26

Page 27: Signal & Linear system

5.2 Some Properties of The Z-Transform

Basil Hamed 27

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

Y[n]={1,5,5,-5,-6,4,1,-2}

Page 28: Signal & Linear system

5.2 Some Properties of The Z-Transform

Basil Hamed 28

Example: given

Find the T. F of the System

Page 29: Signal & Linear system

5.2 Some Properties of The Z-Transform

Solution:

Basil Hamed 29

∴𝐻 (𝑧 )= 2𝑍3+𝑍2+𝑍−1

𝑍 (𝑍−12)(𝑍−1)

Page 30: Signal & Linear system

The Inverse of Z-Transform

There are many methods for finding the inverse of Z-transform; Three methods will be discussed in this class.

1. Direct Division Method (Power Series Method)2. Inversion by Partial fraction Expansion3. Inversion Integral Method

Basil Hamed 30

Page 31: Signal & Linear system

The Inverse of Z-Transform1. 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 :

Solution Z-0.1 Z

Z-0.1 0.1X(z)=

Basil Hamed31

Page 32: Signal & Linear system

The Inverse of Z-TransformExample find x[n]Solution 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 32

Page 33: Signal & Linear system

The Inverse of Z-Transform2. Inversion by Partial-fraction ExpansionT.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 find x[n]

Basil Hamed 33

Page 34: Signal & Linear system

The Inverse of Z-Transform

Solution:

Using same method used in Laplace transform To find A,B,C,D A=1, B=5/2, C=-9, D=9

Basil Hamed 34

Page 35: Signal & Linear system

The Inverse of Z-TransformExample 5.3 P 501 given Find the inverse Z-Transform.Solution:

From Table 5-1 (12-b)

Basil Hamed 35

Page 36: Signal & Linear system

The Inverse of Z-Transform 0.5r=1.6 r=3.2, =-2.246 rad =3+j4=5 Example find y[n]

Basil Hamed36

Page 37: Signal & Linear system

The Inverse of Z-Transform3. Inversion integral Method:

If the function X(z) has a simple pole at Z=a then the residue is evaluated as

Basil Hamed 37

Page 38: Signal & Linear system

The Inverse of Z-TransformFor a pole of order m at Z=a the residue is calculated using the following expression:

Example Find x[n] for Solution: The only method to solve above function is by integral method. has multiple poles at Z= 1

Basil Hamed 38

Page 39: Signal & Linear system

The Inverse of Z-Transform

Example Obtain the inverse Z transform of

Solution:

Basil Hamed39

Page 40: Signal & Linear system

The Inverse of Z-Transform has a triple pole at Z=1 at triple pole Z=1]

Example Obtain the inverse Z transform of

Basil Hamed 40

Page 41: Signal & Linear system

The Inverse of Z-TransformBy Partial Fraction:

By Inversion Integral Method: , has double poles at Z=1 at double poles at Z=1]

Basil Hamed41

Page 42: Signal & Linear system

Basil Hamed 42

Page 43: Signal & Linear system

Transfer Function

Basil Hamed 43

Page 44: Signal & Linear system

Transfer Function

Basil Hamed 44

Page 45: Signal & Linear system

Transfer Function

Basil Hamed 45

Zero State ResponseZero Input Response

Page 46: Signal & Linear system

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 46

Page 47: Signal & Linear system

Solving a First-order Difference Equation using the ZT

Basil Hamed 47

Page 48: Signal & Linear system

Solving a First-order Difference Equation using the ZT

Basil Hamed 48

Page 49: Signal & Linear system

First Order System w/ Step Input

Basil Hamed 49

Page 50: Signal & Linear system

Solving a Second-order Difference Equation using the ZT

Basil Hamed 50

Page 51: Signal & Linear system

Solving a Nth-order Difference Equation using the ZT

Basil Hamed 51

Page 52: Signal & Linear system

Discrete-Time System Relationships

Basil Hamed 52

Page 53: Signal & Linear system

Example System Relationships

Basil Hamed 53

Page 54: Signal & Linear system

Example System Relationships

Basil Hamed 54