• No results found

Properties of Z transform, Inverse Z Transform & Solution of Difference Equations. EE 3512: Lecture 34, Slide 0

N/A
N/A
Protected

Academic year: 2021

Share "Properties of Z transform, Inverse Z Transform & Solution of Difference Equations. EE 3512: Lecture 34, Slide 0"

Copied!
16
0
0

Loading.... (view fulltext now)

Full text

(1)

EE 3512: Lecture 34, Slide 0

Properties of Z transform,

Inverse Z Transform

&

(2)

Properties of the z-Transform

• Linearity: • Time-shift: • Multiplication by n: Proof: • Multiplication by an: Proof: • Multiplication by ejn: • Multiplication by cosn: • Multiplication by sinn: • Summation: ] [ ] [ ] [ ] [ 2 1 2 1 n bx n aX z bX z ax    ] [ ] [ 0 0 z X z n n x   n dz z dX z n nx[ ]   [ ]

[ ]

] [ ) ( ] [ ) ( ] [ 1 n nx z n x n dz z dX z z n x n dz z dX z n x X(z) n n n n n n Z       

                    a z X n x an [ ]

              

        a z X a z n x z n x a n u a n n n n n n ] [ ]) [ ( ) ( Z

e z

X n x ejn [ ]  jn

 

X e z X e z

n x n jn jn  ) 2 / 1 ( ] [ ) cos(

 

X e z X e z

j n x n jn jn  ) 2 / ( ] [ ) sin( ) ( 1 ) ( ] [ ] [n x i V z X z v n     

(3)

EE 3512: Lecture 34, Slide 2

Convolution

• Convolution:

Proof:

Change of index on the second sum:

The ROC is at least the intersection of the ROCs of x[n] and h[n], but can be a larger region if there is pole/zero cancellation.

• The system transfer function is completely analogous to the CT case:

• Causality:

Implies the ROC must be the exterior of a circle and include z = .

) ( ) ( ] [ ] [ ] [ * ] [n h n x k h n k X z H z x k   

  

                                     

 

n n k n n k k z k n h k x z k n h k x k n h k x n h n x ] [ ] [ ] [ ] [ ] [ ] [ ] [ * ] [ Z Z k n m  

) ( ) ( ] [ ] [ ] [ ] [ ] [ * ] [ ( ) ) z H z X z m h z k x z m h k x n h n x m m k k i m m k                                     

Z

      n n z n h z H n h[ ] ( ) [ ] 0 0 ] [nnh

(4)

Initial-Value and Final-Value Theorems (One-Sided ZT)

• Initial Value Theorem:

Proof:

• Final Value Theorem: • Example:

• Tables 7.2 and 7.3 in the textbook contain a summary of the z-Transform properties and

common transform pairs.

) ( lim ] 0 [ X z x z  ] 0 [ ... ] 1 [ ] 0 [ lim ] [ lim ) ( lim 1 0 x z x x z n x z X z n n z z               

) ( ) 1 ( lim ] [ lim 1 z X z n x z n    10 5 . 5 5 . 0 4 2 3 )] ( ) 1 [( ] [ lim ) 5 . 0 )( 1 ( 4 2 3 5 . 0 5 . 1 2 4 2 3 ) ( 1 2 2 1 2 2 2 3 2                          z z n z z z z z X z n x z z z z z z z z z z z X

(5)

EE 3512: Lecture 34, Slide 4

Inverse Laplace Transform

• Recall the definition of the inverse Laplace transform via contour integration:

• The inverse z-transform follows from this:

Evaluation of this integral is beyond the scope of this course. Instead, as with the Laplace transform, we will restrict our interest in the inverse transform to rational forms (ratio of polynomials). We will see shortly that this is convenient since linear constant-coefficient difference equations can be converted to polynomials using the z-transform.

• As with the Laplace transform, there are two common approaches:  Long Division

 Partial Fractions Expansion

• Expansion by long division Is also known as the power series expansion approach and can

be easily demonstrated by an example.

 

      C st st j j ds e s X j ds e s X j t x ( ) 2 1 2 1 ) (    

  C n dz z z X j n x ( ) 1 2 1 ] [ 

(6)

Long Division

• Consider: Solution: 4 2 1 ) ( 3 2     z z z z X 1 1 1 2 2 3 4 3 4 2 1 4 2           z z z z z z z 3 2 1 3 2 1 3 2 1 1 2 2 3 3 0 12 6 4 12 6 3 4 3 4 2 1 4 2                          z z z z z z z z z z z z z z 4 3 2 1 4 3 2 4 3 1 3 2 1 3 2 1 1 2 2 3 4 3 0 16 20 6 16 8 4 12 6 4 12 6 3 4 3 4 2 1 4 2                                       z z z z z z z z z z z z z z z z z z z z z ... ] 4 [ 4 ] 3 [ 3 ] 1 [ 1 ] [ 0 ] [ ... 4 3 0 ) ( 1 2 3 4                    n n n n n x z z z z z X     Implications of stability?

(7)

EE 3512: Lecture 34, Slide 6

Inverse z-Transform Using Partial Fractions

• Rational transforms can be factored using the same partial fractions approach

we used for the Laplace transforms.

• The partial fractions approach is preferred if we want a closed-form solution

rather than the numerical solution long division provides.

• Example:

In this example, the order of the numerator and denominator are the same. For this case, we can use a trick of factoring X(z)/z:

2 1 ) ( 3 2 3      z z z z z X

2

0.643 ) ( 0825 . 0 429 . 0 866 . 0 5 . 0 ) ( 5 . 0 2 1 ) ( ) ( 2 866 . 0 5 . 0 866 . 0 5 . 0 ) ( ) 866 . 0 5 . 0 )( 866 . 0 5 . 0 )( 2 ( 2 ) ( 2 3 866 . 0 5 . 0 1 0 0 3 1 1 0 2 3                                               z j z z z z z X c j j z z z X c z z z X c z c j z c j z c z c z z X j z j z z z z z z A

(8)

Inverse z-Transform (Cont.)

We can compute the inverse using our table of common transforms:

The exponential terms can be converted to a single cosine using a magnitude/phase conversion: ] [ 2 ] [ ) 866 . 0 5 . 0 ( ] [ ) 866 . 0 5 . 0 ( ] [ ] [ 2 1 866 . 0 5 . 0 1 866 . 0 5 . 0 1 2 866 . 0 5 . 0 866 . 0 5 . 0 ) ( 3 1 1 0 1 3 1 1 1 1 0 3 1 1 0 n u c n u j c n u j c n c n x z c z j c z j c c z z c j z z c j z z c c z X n n n                               ] [ ) 2 ( 643 . 0 ) 19 . 0 4 cos( 874 . 0 ] [ 5 . 0 ] [ ) 2 ( ) cos( 2 ] [ ] [ 2 ] [ ) 866 . 0 5 . 0 ( ] [ ) 866 . 0 5 . 0 ( ] [ ] [ ) (10.89 rad 19 . 0 429 . 0 0825 . 0 tan 437 . 0 ) 0825 . 0 ( ) 429 . 0 ( rad 3 4 5 . 0 866 . 0 tan 1 ) 866 . 0 ( ) 5 . 0 ( 3 1 1 1 1 0 3 1 1 0 1 1 2 2 1 1 1 2 2 1 n u n n n u c c n p p c n c n u c n u j c n u j c n c n x c c p p n n n n n                                         

(9)

EE 3512: Lecture 34, Slide 8

First-Order Difference Equations

• Consider a first-order difference equation: • We can apply the time-shift property:

• We can solve for Y(z):

• The response is again a function of two things: the response due to the initial

condition and the response due to the input.

• If the initial condition is zero:

• Applying the inverse z-Transform:

• Is this system causal? Why? • Is this system stable? Why?

• Suppose the input was a sinusoid. How would you compute the output? ] [ ] 1 [ ] [n ay n bx n y   

( ) [ 1]

( ) ) (z a z 1Y z y bX z Y      ) ( 1 1 ] 1 [ ) ( 1 1 X z az b az ay z Y       1 1 1 ) ( ) ( ) ( ) ( 1 ) (       az b z X z Y z H z X az b z Y ] [ ) ( 1 ] [ 1 1 n u a b az b n h   n        Z

(10)

Example of a First-Order System

• Consider the unit-step response of this system:

• Use the (1/z) approach for the inverse transform:

• The output consists of a DC term, an exponential term due to the I.C., and an

exponential term due to the input. Under what conditions is the output stable?

) 1 )( ( ] 1 [ 1 1 1 1 ] 1 [ ) ( 1 1 ] 1 [ ) ( 1 1 ) ( ] [ ] [ 2 1 1 1 1 1 1                                       z a z bz a z z ay z az b az ay z X az b az ay z Y a z z z z X n u n x ... , 2 , 1 , 0 ], 1 ) ( [ 1 ) ]( 1 [ ] ) 1 ( ) ( [ 1 ) ]( 1 [ ] [ 1 1 ] 1 [ 1 ) 1 /( ) 1 /( ] 1 [ ) ( 1 ) 1 /( ) 1 /( ) 1 )( ( 1 ) ( 1 2                                                            n a a b a ay a a a b a ay n y z z a z az a b a z z ay z z a b a z z a ab a z z ay z Y z a b a z a ab z a z bz z z z V n n n n n

(11)

EE 3512: Lecture 34, Slide 10

Second-Order Difference Equations

• Consider a second-order difference equation: • We can apply the time-shift property:

• Assume x[-1] = 0 and solve for Y(z):

• Multiplying z2/z2:

• Assuming the initial conditions are zero:

• Note that the impulse response is of the form:

This can be visualized as a complex pole pair with a center frequency and bandwidth (see Java applet).

] 1 [ ] [ ] 2 [ ] 1 [ ] [na1y n a2y n b0x nb1x ny

( ) [ 1]

 

( ) [ 1] [ 2]

( ) ( ) ) (z a1 z 1Y z y a2 z 2Y z z 1y y b0X z b1z 1X z Y               ) ( 1 1 ] 1 [ ] 1 [ ] 2 [ ) ( 2 2 1 1 1 1 0 2 2 1 1 1 2 1 2 z X z a z a z b b z a z a z y a y a y a z Y                 2 1 2 1 2 0 ) ( a z a z z b z b z Y    

2 2 2 ) cos 2 ( ) cos ( ) ( ] [ cos ] [ a z a z z a z z H n u n a n h n         

) ( ] 1 [ ] 2 [ ] 1 [ ) ( 2 1 2 1 2 0 2 1 2 2 2 2 1 z X a z a z z b z b a z a z z y a z y a y a z Y             

(12)

Example of a Second-Order System

• Consider the unit-step response of this system:

• We can further simplify this:

• The inverse z-transform gives:

1 ] 2 [ , 2 ] 1 [ where ] 1 [ ] [ ] 2 [ 5 . 0 ] 1 [ 5 . 1 ] [ 1 1 ) ( ] [ ] [ 1                  y y n x n x n y n y n y a z z z z X n u n x 1 3 5 . 0 5 . 0 5 . 0 5 . 1 5 . 2 ) ( 2 2          z z z z z z z z z Y

)] 1 ( ) ( : note [ 5 . 0 5 . 1 5 . 0 5 . 1 5 . 3 1 5 . 0 5 . 1 5 . 0 5 . 1 ) 2 )( 5 . 0 ( ) 1 )( 5 . 0 ( ) 2 )( 5 . 1 ( ) ( ] 1 [ ] 2 [ ] 1 [ ) ( 2 2 2 2 2 2 2 2 2 2 2 1 2 1 2 0 2 1 2 2 2 2 1                                          z z z z z z z z z z z z z z z z z z z z z z z X a z a z z b z b a z a z z y a z y a y a z Y ... , 2 , 1 , 0 , ) 1 ( 3 ) 5 . 0 ( 5 . 0 ] [n     ny n n

(13)

EE 3512: Lecture 34, Slide 12

Nth-Order Difference Equations

• Consider a general difference equation:

• We can apply the time-shift property once again:

• We can again see the important of poles in the stability and overall frequency

response of the system.

• Since the coefficients of the denominator are most often real, the transfer

function can be factored into a product of complex conjugate poles, which in turn means the impulse response can be computed as the sum of damped sinusoids. Why?

• The frequency response of the system can be found by setting z = ej.

      M i i N i iy n i b x n i a n y 1 1 ] [ ] [ ] [ N N M M N i i i M i i i M i i i N i i i M i i i N i i i z a z a z a a z b z b z b b z a z b z X z Y z H z b z X z a z Y z X z b z Y z a z Y                                              

... 1 ... 1 ) ( ) ( ) ( ) ( 1 ) ( ) conditions initial zero (assuming ) ( ) ( ) ( 2 2 1 1 0 2 2 1 1 0 1 1 1 1 1 1

(14)

Transfer Functions

• In addition to our normal transfer function

components, such as summation and

multiplication, we use one important additional component: delay.

• This is often denoted by its z-transform equivalent. • We can illustrate this with an example (assume

initial conditions are zero):

] [n x z-1 y[n]  x[n1] ] [n x D y[n]  x[n1] ) ( ) (z z 1X z Y  

(15)

EE 3512: Lecture 34, Slide 14

Transfer Function Example

• Redraw using z-transform:

• Write equations for the behavior at

each of the summation nodes:

• Three equations and three unknowns: solve the first for Q1(z) and substitute into the

other two equations.

) ( ) ( 2 ) ( ) ( 3 ) ( ) ( ) ( ) ( ) ( 2 1 1 2 2 1 z Q z Q z Y z Y z Q z zQ z X z Q z zQ      

5 3 1 2 ) ( ) ( ) ( ) ( 3 ) ( 1 1 ) ( 2 ) ( 3 ) ( 1 1 2 ) ( ) ( 3 ) ( 1 1 ) ( ) ( 3 ) ( ) ( ) ( ) ( 3 ) ( ) ( ) ( ) ( ) ( ) ( 2 1 2 2 1 1 2 2 1 1 2 2 2 1 2 2 2 2 1 2 1 2 1 2 1 1                                             z z z z X z Y z H z Y z z X z z z X z z Y z z X z z z z Y z Y z z X z z z Q z Y z z X z z Q z z Q z Y z X z z Q z z zQ z X z z Q z z Q . Simplify..

(16)

References

Related documents

With respect to discrete  time signals and systems , the ztransform is related to Fourier transform the same way as the Laplace transform is to the Fourier transform

Based on the finding of this study e-service quality influences customer perceived value in online buying, That is, an increase in the quality of the website service enhance

Background: Problems associated with alcohol abuse are recognised by the World Health Organization as a major health issue, which according to most recent estimations is responsible

- Root cause analysis of performance issues from the NFV infrastructure perspective - Mechanism for time-stamping of hardware (e.g. network interface cards, NICs and NIDs) -

Valve & Actuator services Turbomachinery services Advanced Part Solutions Specialist Coatings services Hydro-Electric Power services Wind Power services

Makes a good effort to use the target language; avoids using English in class. Conventions of the written language

Using data on Ozark-TWA merger, Butler and Huston (1989) found that mergers that result in major carrier hub airports are likely to benefit time-sensitive but

SQL Technologies: DDS, CORBA SQL mappings SOA mappings ESB JMS SOAP DDS RTSB .NET SQL Enterprise Databases Web Services Real-Time Systems WSDL.. Thank you Joe