chapter 6: sampled data systems and the z-transform 1

29
Chapter 6: Sampled Data Systems and the z-Transform 1

Upload: imogen-pope

Post on 04-Jan-2016

273 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Chapter 6: Sampled Data Systems and the z-Transform 1

Chapter 6:

Sampled Data Systemsand the z-Transform

1

Page 2: Chapter 6: Sampled Data Systems and the z-Transform 1

Sampled-data system

A sampled-data system operates on discrete-time rather than continuous-time signals.

2

Page 3: Chapter 6: Sampled Data Systems and the z-Transform 1

6.1 The sampling process

A sampler is basically a switch that closes every T seconds.

3

Page 4: Chapter 6: Sampled Data Systems and the z-Transform 1

r(t): continuous signal

r*(t): sampled signal

• q: amount of time the switch is closed

4

Page 5: Chapter 6: Sampled Data Systems and the z-Transform 1

In practice, q T , and the pulses can be approximated by flat-topped rectangles.

5

Page 6: Chapter 6: Sampled Data Systems and the z-Transform 1

If q is neglected, the operation is called “ideal sampling”

6

Page 7: Chapter 6: Sampled Data Systems and the z-Transform 1

Ideal sampling• Ideal sampling of a continuous signal can be considered as a

multiplication of the continuous signal, r(t), with a pulse train, P(t).

• The pulse train:

7;)()(

n

nTttP

Page 8: Chapter 6: Sampled Data Systems and the z-Transform 1

Ideal sampling

• Let, r(t) = 0, for t<0, then,

8

.)()()(*

n

nTtnTrtr

.)()()(*

n

nTttrtr

),()()(* trtPtr

.)()()(0

*

n

nTtnTrtr

Page 9: Chapter 6: Sampled Data Systems and the z-Transform 1

The z-transform

• Taking Laplace transform of the sampled signal r*(t) gives:

• Let us define z = esT. Then,

• This is the definition of the z-transform.9

.)()(0

n

nznTrzR

.)()(0

*

n

nTsenTrsR

Page 10: Chapter 6: Sampled Data Systems and the z-Transform 1

The z-transform

Notice that the z-transform consists of an infinite series in the complex variable z,

i.e. the r(nT ) are the coefficients of this power series at different sampling instants.

10

...,)3()2()()0()( 321 zTrzTrzTrrzR

Page 11: Chapter 6: Sampled Data Systems and 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 systems.

• We will look at how we can find the z-transforms of some commonly used functions.

• We first give a closer look at the D/A converter.

11

Page 12: Chapter 6: Sampled Data Systems and the z-Transform 1

D/A converter as a zero-order hold (ZOH)

• D/A converter converts the sampled signal r∗(t) into a continuous signal y(t).

• D/A can be approximated by a ZOH circuit.

• The ZOH remembers the last information until a new sample is obtained, i.e. it takes the value r(nT) and holds it constant for nT ≤ t < (n + 1)T , and the value r (nT) is used during the sampling period.

12

Page 13: Chapter 6: Sampled Data Systems and the z-Transform 1

The zero-order hold (ZOH)• The impulse response of a ZOH:

• The transfer function of ZOH is

13

.11

)(s

e

s

e

ssG

TsTs

Page 14: Chapter 6: Sampled Data Systems and the z-Transform 1

The zero-order hold (ZOH)

14

A sampler and zero-order hold can accurately follow the input signal if the sampling time T is small compared to the transient changes in the signal.

Page 15: Chapter 6: Sampled Data Systems and the z-Transform 1

Example 6.1Figure 6.10 shows an ideal sampler followed by a ZOH. Assuming the input signal r (t) is as shown in the figure, show the waveforms after the sampler and also after the ZOH.

Answer

15

Page 16: Chapter 6: Sampled Data Systems and the z-Transform 1

The z-transform of some common functions

16

Page 17: Chapter 6: Sampled Data Systems and the z-Transform 1

Unit Step Function

17.1||,1

1

1

...1)()(

1

321

00

zz

zz

zzzzznTrzRn

n

n

n

.0,1

,0,0)(

n

nnTr

Page 18: Chapter 6: Sampled Data Systems and the z-Transform 1

Useful closed-form series summations

18

xxxxx

n

n

1

11 321

0

232

0 )1(32

x

xxxxnx

n

n

x

xxxxx

NN

N

n

n

1

11

121

0

Page 19: Chapter 6: Sampled Data Systems and the z-Transform 1

Unit Ramp Function

19

.0,

,0,0)(

nnT

nnTr

.1,)1(

...32)()(

2

321

00

zz

Tz

TzTzTznTzznTrzRn

n

n

n

Page 20: Chapter 6: Sampled Data Systems and the z-Transform 1

Exponential Function

20

.0,

,0,0)(

ne

nnTr anT

.0,

,0,0)(

te

ttr at

.1

1

...1)()(

1

221

00

aTaT

aTaT

n

nanT

n

n

ez

z

ze

zezezeznTrzR

Page 21: Chapter 6: Sampled Data Systems and the z-Transform 1

General Exponential Function

21

.0,

,0,0)(

np

nnr n

.

1

1

...1)()(

1

221

00

pz

z

pz

zppzzpznTrzRn

nn

n

n

Page 22: Chapter 6: Sampled Data Systems and the z-Transform 1

Sine Function

22

.0,sin

,0,0)(

nTn

nnr

.1cos2

sin

1)(

)(

2

1

2

1)(

).(2

1

2sin

2

2

Tzz

Tz

eezz

eez

jez

z

ez

z

jzR

eejj

eeTn

TjTj

TjTj

TjTj

TjnTjnTjnTjn

Page 23: Chapter 6: Sampled Data Systems and the z-Transform 1

Discrete Impulse Function

23

.0,0

,0,1)()(

n

nnnr

.1)()(0

n

nznTrzR

Page 24: Chapter 6: Sampled Data Systems and the z-Transform 1

Delayed Discrete Impulse Function

24

.,0

,0,1)()(

kn

knknnr

.)()(0

k

n

n zznTrzR

Page 25: Chapter 6: Sampled Data Systems and the z-Transform 1

25

Page 26: Chapter 6: Sampled Data Systems and the z-Transform 1

The z-Transform of a Function Expressed as a Laplace Transform

• Given a function G(s), find G(z) which denotes the z-transform equivalent of G(s).

• It is important to realize that G(z) is not obtained by simply substituting z for s in G(s)!

26

Page 27: Chapter 6: Sampled Data Systems and the z-Transform 1

Example 6.2

Given

Determine G(z).

27

.65

1)(

2

sssG

Page 28: Chapter 6: Sampled Data Systems and the z-Transform 1

Answer: Using Inverse Laplace transform

• Partial fraction

• Inverse Laplace transform

• Substitute t = nT gives

• Finally,

28

.3

1

2

1

)3)(2(

1

65

1)(

2

sssssssG

.)}({)( 321 tt eesGLtg

.)( 32 nTnT eenTg

.))((

)()(

32

32

32 TT

TT

TT ezez

eez

ez

z

ez

zzG

Page 29: Chapter 6: Sampled Data Systems and the z-Transform 1

Method 2: Laplace to z-transform table

• From table in Appendix A

• So,

29

.3

1

2

1

)3)(2(

1

65

1)(

2

sssssssG

.))((

)()(

32

32

32 TT

TT

TT ezez

eez

ez

z

ez

zzG