Lecture 33 Z-Transform Process Control Prof. Kannan M. Moudgalya - - PowerPoint PPT Presentation

lecture 33 z transform
SMART_READER_LITE
LIVE PREVIEW

Lecture 33 Z-Transform Process Control Prof. Kannan M. Moudgalya - - PowerPoint PPT Presentation

Lecture 33 Z-Transform Process Control Prof. Kannan M. Moudgalya IIT Bombay Wednesday, 6 November 2013 1/30 Process Control Z-Transform Outline 1. Motivation of Z-transform 2. Z-transform definition and implications to LTI systems 3.


slide-1
SLIDE 1

Lecture 33 Z-Transform

Process Control

  • Prof. Kannan M. Moudgalya

IIT Bombay Wednesday, 6 November 2013

1/30 Process Control Z-Transform

slide-2
SLIDE 2

Outline

  • 1. Motivation of Z-transform
  • 2. Z-transform definition and implications to LTI

systems

  • 3. Examples and theorems

2/30 Process Control Z-Transform

slide-3
SLIDE 3
  • 1. Motivation of Z-transform

3/30 Process Control Z-Transform

slide-4
SLIDE 4

Impulse Response Models for LTI Systems

◮ Impulse response of an LTI system initially at

rest is given by g(n):

Time Invariant System

{g(n)} {δ(n)}

◮ Let the output of such a system be y(n) for an

arbitrary input u(n)

◮ The output is given by

{y(n)} = ∞

k=−∞ u(k){g(n − k)}

◮ This can be represented using the convolution

  • peration, ∗: {y(n)} = {u(n)} ∗ {g(n)}

4/30 Process Control Z-Transform

slide-5
SLIDE 5

An example of output calculation

{y(n)} =

  • k=−∞

u(k){g(n − k)} {g(n)} = {1, 2, 3}, {u(n)} = {4, 5, 6} g, u start at n = 0. They are zero for n < 0. y(0) = u(0)g(0) = 4 y(1) = u(0)g(1) + u(1)g(0) = 13 y(2) = u(0)g(2) + u(1)g(1) + u(2)g(0) = 28 y(3) = u(1)g(2) + u(2)g(1) = 27 y(4) = u(2)g(2) = 18 All other terms that don’t appear above are 0

5/30 Process Control Z-Transform

slide-6
SLIDE 6

MCQ

The symbol 1(n) denotes

  • 1. Unit step response
  • 2. Unit step sequence
  • 3. How can a constant be a function of n?

6/30 Process Control Z-Transform

slide-7
SLIDE 7

Another Example

◮ Take a system with g(n) = 0.8n1(n) ◮ Excite it with u(n) = 0.5n1(n) ◮ Determine the output y(n) = u(n) ∗ g(n) ◮ What does this mean? ◮ Same as, y(n) = ∞

k=−∞ u(k)g(n − k)

7/30 Process Control Z-Transform

slide-8
SLIDE 8

Causality of LTI Systems

◮ If output depends only on past inputs, called

causal

◮ If output depends on future inputs, not causal ◮ Can we say anything about g(n) for LTI causal

systems?

◮ Initial state is zero ◮ No input until n = 0 - impulse input ◮ So, impulse response can begin only from n = 0

◮ For LTI causal systems, g(n) = 0 for n < 0

8/30 Process Control Z-Transform

slide-9
SLIDE 9

Convolution is cumbersome

◮ In general, we will work with infinite number of

terms

◮ To calculate every term of y(n), we need to

sum up infinite number of terms

◮ We need to calculate y(n) for infinite values of

n

◮ Extremely tedious ◮ Propose a convenient method in the next slide

9/30 Process Control Z-Transform

slide-10
SLIDE 10

Polynomial Calculation ≡ Convolution

Also carryout multiplication: (u(0) + u(1)z−1 + u(2)z−2)× (g(0) + g(1)z−1 + g(2)z−2) = u(0)g(0)+ (u(0)g(1) + u(1)g(0))z−1+ (u(0)g(2) + u(1)g(1) + u(2)g(0))z−2+ (u(1)g(2) + u(2)g(1))z−3+ u(2)g(2)z−4

10/30 Process Control Z-Transform

slide-11
SLIDE 11

Polynomial calculation

◮ z a position marker - coeff. of z−i at ith instant ◮ u(0) + u(1)z−1 + u(2)z−2 - a way of

representing a sequence with three terms: {u(0), u(1), u(2)}

◮ If we can represent this polynomial

◮ e.g. u(0) + u(1)z−1 + u(2)z−2 + · · ·

in a compact way,

◮ it will simplify the convolution calculation

11/30 Process Control Z-Transform

slide-12
SLIDE 12
  • 2. Z-transform definition and implications

12/30 Process Control Z-Transform

slide-13
SLIDE 13

Definition of Z-transform

Z-transform of a sequence {u(n)}, denoted by U(z), is defined as: U(z) =

  • n=−∞

u(n)z−n where z is such that there is absolute convergence. That is, z should be chosen so as to satisfy

  • n=−∞

|u(n)z−n| < ∞

13/30 Process Control Z-Transform

slide-14
SLIDE 14

External (BIBO) Stability of LTI Systems

◮ If every Bounded Input produces Bounded

Output,

◮ system is externally stable ◮ equivalently, system is BIBO stable

◮ Necessary and sufficient condition for BIBO

stability of LTI systems is

  • n=−∞

|g(n)| < ∞

◮ That is, ∞

n=−∞ |g(n)| < ∞ ⇔ BIBO Stability

◮ Don’t care about what unbounded input does...

14/30 Process Control Z-Transform

slide-15
SLIDE 15

Transfer function

◮ Z-transform of g(n), denoted by G(z), is called

the transfer function

◮ That is, g(n) ↔ G(z) ◮ Poles and zeros are defined for G(z) just as in

continuous time systems

15/30 Process Control Z-Transform

slide-16
SLIDE 16

Important properties of transfer functions: Stability

Given a causal, BIBO stable system with impulse response g(n)

◮ Z-transform of g(n), namely G(z), will have

poles inside unit circle

16/30 Process Control Z-Transform

slide-17
SLIDE 17

Examples of stability

Is the following system stable? G1(z) = (z + 0.5) (z − 0.5)(z + 0.75) How about G2(z) = (z + 0.5) (z − 0.5)(z + 2)

17/30 Process Control Z-Transform

slide-18
SLIDE 18

Important properties of transfer functions: Causality

◮ Let g(n) be the impulse response of an LTI

causal system

◮ Let G(z) be the Z-transform of g(n). ◮ G(z) = N(z)

D(z) with

◮ N(z) is a polynomial of degree n ◮ D(Z) is a polynomial of degree m

◮ n ≤ m

18/30 Process Control Z-Transform

slide-19
SLIDE 19

Examples of causality

Is the following system causal? G3(z) = (z + 0.5)(z + 0.25) (z + 0.75) How about G4(z) = (z + 0.5) (z + 3)(z + 2)

19/30 Process Control Z-Transform

slide-20
SLIDE 20

Recall: Motivation for Z-transform

(u(0) + u(1)z−1 + u(2)z−2)× (g(0) + g(1)z−1 + g(2)z−2) = u(0)g(0)+ (u(0)g(1) + u(1)g(0))z−1+ (u(0)g(2) + u(1)g(1) + u(2)g(0))z−2+ (u(1)g(2) + u(2)g(1))z−3+ u(2)g(2)z−4 That is, u(n) ∗ g(n) ↔ U(z)G(z) Instead of convolution, work with Z-transforms

20/30 Process Control Z-Transform

slide-21
SLIDE 21

Recap of a benefit of Z-transform

Instead of convolution, can take Z-transform, multiply and then invert!

21/30 Process Control Z-Transform

slide-22
SLIDE 22
  • 3. Examples and theorems

22/30 Process Control Z-Transform

slide-23
SLIDE 23

Example

◮ u1(n) = an1(n) ◮ U1(z) = ∞

n=0 anz−n

◮ = ∞

n=0 (az−1)n

◮ = 1 + (az−1) + (az−1)2 + · · · ◮ If |az−1| < 1, the sum converges to ◮ =

1 1 − az−1 = z z − a

◮ We write, an1(n) ↔

z z − a, |z| > |a|

23/30 Process Control Z-Transform

slide-24
SLIDE 24

Example: Z-transform of Convolution

Determine the step response of a system with impulse response g(n) = 0.5n1(n) using the Z-transform approach.

G(z) =

  • j=−∞

g(j)z−j =

  • j=0

0.5jz−j = [1 + 0.5z−1 + (0.5z−1)2 + · · · ] = 1 1 − 0.5z−1

where we have assumed |z| > 0.5. Also have

U(z) =

  • j=−∞

g(j)z−j =

  • j=0

z−j = [1 + z−1 + z−2 + · · · ] = 1 (1 − z−1), |z| > 1

24/30 Process Control Z-Transform

slide-25
SLIDE 25

Example: Z-transform of Convolution

Y(z) = G(z)U(z) = 1 1 − z−1 1 1 − 0.5z−1, |z| > 1 Carry out partial fraction expansion. It is easy to check that the above expression is equivalent to Y(z) = 2 1 − z−1 − 1 1 − 0.5z−1, |z| > 1 On inverting this expression, we obtain y(n) = 2 × 1(n) − 0.5n1(n) On simplifying, y(n) = (2 − 0.5n)1(n)

25/30 Process Control Z-Transform

slide-26
SLIDE 26

Example 1 - Linearity

Find the Z-transform of u1(n) = δ(n) − 3δ(n − 2): U1(z) =

  • n=−∞

δ(n)z−n − 3

  • n=−∞

δ(n − 2)z−n On simplifying, U1(z) = 1 − 3z−2 ∀z−1 finite

26/30 Process Control Z-Transform

slide-27
SLIDE 27

Z-transform - Shifting

Z [u(n + d)] =

  • n=−∞

u(n + d)z−n = zd

  • n=−∞

u(n + d)z−(n+d) = zdU(z)

27/30 Process Control Z-Transform

slide-28
SLIDE 28

Z-transform - Shifting

Example: If {u(n)} ↔ U(z), then {u(n + 3)} ↔ z3U(z) {u(n − 2)} ↔ z−2U(z)

28/30 Process Control Z-Transform

slide-29
SLIDE 29

Reference

Reference:

  • K. M. Moudgalya, Digital Control, Wiley,

Chichester, 2007 Also, New Delhi, 2009

29/30 Process Control Z-Transform

slide-30
SLIDE 30

What we learnt today

◮ Motivation of Z-transform ◮ Definition and implications to LTI systems ◮ Examples ◮ Theorems

30/30 Process Control Z-Transform

slide-31
SLIDE 31

Thank you

31/30 Process Control Z-Transform