ztransform signal and system analysissonca.kasshin.net › ensc380 › chapter 12.pdf · 1...

39
1 z Transform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 – Linear Systems 2 Block Diagrams and Transfer Functions Just as with CT systems, DT systems are conveniently described by block diagrams and transfer functions can be determined from them. For example, from this DT system block diagram the difference equation can be determined. y n [] = 2x n []x n 1 [ ]1 2 y n 1 [ ]

Upload: others

Post on 10-Jun-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

1

z Transform Signal and System

Analysis

Chapter 12

Chapter 12 ENSC 380 – Linear Systems 2

Block Diagrams and Transfer

FunctionsJust as with CT systems, DT systems are conveniently

described by block diagrams and transfer functions can be

determined from them. For example, from this DT system

block diagram the difference equation can be determined.

y n[ ]= 2x n[ ]− x n −1[ ]− 12y n−1[ ]

Page 2: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

2

Chapter 12 ENSC 380 – Linear Systems 3

Block Diagrams and Transfer

FunctionsFrom a z-domain block diagram the transfer function can

be determined.

Y z( )= 2X z( )− z−1X z( )− 12z−1Y z( )

H z( )= Y z( )X z( )

=2 − z−1

1+1

2z−1=2z −1

z +1

2

Chapter 12 ENSC 380 – Linear Systems 4

Block Diagram Reduction

All the techniques for block diagram reduction introduced

with the Laplace transform apply exactly to z transform

block diagrams.

Page 3: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

3

Chapter 12 ENSC 380 – Linear Systems 5

System Stability

A DT system is stable if its impulse response

is absolutely summable. That requirement

translates into the z-domain requirement that

all the poles of the transfer function must lie

in the open interior of the unit circle.

Chapter 12 ENSC 380 – Linear Systems 6

System Interconnections

Cascade

Parallel

Page 4: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

4

Chapter 12 ENSC 380 – Linear Systems 7

System Interconnections

H z( )= Y z( )X z( )

=H1 z( )

1+H1 z( )H2 z( )=

H1 z( )1+ T z( )

T z( )= H1 z( )H2 z( )

Chapter 12 ENSC 380 – Linear Systems 8

Responses to Standard Signals

If the system transfer function is the z transform

of the unit step sequence response is

which can be written in partial-fraction form as

If the system is stable the transient term, , dies out

and the steady-state response is .

H z( )= N z( )D z( )

Y z( )= z

z −1N z( )D z( )

Y z( )= zN1 z( )D z( )

+H 1( ) z

z −1

zN1 z( )D z( )

H 1( ) z

z −1

Page 5: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

5

Chapter 12 ENSC 380 – Linear Systems 9

Responses to Standard Signals

Let the system transfer function be

Then

and

Let the constant K be 1 − p. Then

H z( )= Kz

z − p

Y z( )= z

z −1Kz

z − p=

Kz

1− pz

z −1−

pz

z − p

y n[ ]= K

1− p1− pn+1( )u n[ ]

y n[ ]= 1− pn+1( )u n[ ]

Chapter 12 ENSC 380 – Linear Systems 10

Responses to Standard SignalsUnit Sequence Response

One-Pole System

Page 6: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

6

Chapter 12 ENSC 380 – Linear Systems 11

Responses to Standard SignalsUnit Sequence Response

Two-Pole System

Chapter 12 ENSC 380 – Linear Systems 12

Responses to Standard SignalsIf the system transfer function is the z transform

of the response to a suddenly-applied sinusoid is

The system response can be written as

and, if the system is stable, the steady-state response is

a DT sinusoid with, generally, different magnitude and phase.

H z( )= N z( )D z( )

Y z( )= N z( )D z( )

z z − cos Ω0( )[ ]z2 − 2z cos Ω0( )+1

y n[ ]= Z −1 z

N1 z( )D z( )

+ H p1( )cos Ω0n + ∠H p1( )( )u n[ ]

H p1( )cos Ω0n + ∠H p1( )( )u n[ ]

Page 7: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

7

Chapter 12 ENSC 380 – Linear Systems 13

For a stable system, the response to a suddenly-applied

sinusoid approaches the response to a true sinusoid (applied

for all time).

Pole-Zero Diagrams and

Frequency Response

Chapter 12 ENSC 380 – Linear Systems 14

Let the transfer function of a DT system be

Pole-Zero Diagrams and

Frequency Response

H z( )= z

z2 −z

2+5

16

=z

z − p1( ) z − p2( )

p1 =1+ j2

4p2 =

1− j2

4

H ejΩ( )=

e jΩ

ejΩ − p1 e

jΩ − p2

Page 8: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

8

Chapter 12 ENSC 380 – Linear Systems 15

Pole-Zero Diagrams and

Frequency Response

Chapter 12 ENSC 380 – Linear Systems 16

The Jury Stability Test

Let a transfer function be in the form,

where D(z) = aDzD + aD−1z

D−1 + … + a1z + a0

Form the “Jury” array

H z( )= N z( )D z( )

Page 9: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

9

Chapter 12 ENSC 380 – Linear Systems 17

The Jury Stability Test

L, s0 > s2

The third row is computed from the first two by

The fourth row is the same set as the third row except in

reverse order. Then the c’s are computed from the b’s in

the same way the b’s are computed from the a’s. This

continues until only three entries appear. Then the system

is stable if

b0 =a0 aD

aD a0, b1 =

a0 aD−1

aD a1, b2 =

a0 aD−2

aD a2,L

D 1( )> 0 −1( )DD −1( )> 0

aD > a0 , b0 > bD−1 , c0 > cD−2 ,

1

101,

−− =

DDD

aa

aab

Chapter 12 ENSC 380 – Linear Systems 18

Root Locus

Root locus methods for DT systems are like root

locus methods for CT systems except that the

interpretation of the result is different.

CT systems: If the root locus crosses into the

right half-plane the system goes unstable at that

gain.

DT systems: If the root locus goes outside the

unit circle the system goes unstable at that gain.

Page 10: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

10

Chapter 12 ENSC 380 – Linear Systems 19

Simulating CT Systems with DT

Systems

The ideal simulation of a CT system by a DT system would have

the DT system’s excitation and response be samples from the CT

system’s excitation and response. But that design goal is never

achieved exactly in real systems at finite sampling rates.

Chapter 12 ENSC 380 – Linear Systems 20

Simulating CT Systems with DT

Systems

One approach to simulation is to make the impulse response of the

DT system be a sampled version of the impulse response of the

CT system.

With this choice, the response of the DT system to a DT unit

impulse consists of samples of the response of the CT system to a

CT unit impulse. This technique is called impulse-invariant

design.

h n[ ]= h nTs( )

Page 11: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

11

Chapter 12 ENSC 380 – Linear Systems 21

Simulating CT Systems with DT

Systems

When the impulse response of the DT system is a

sampled version of the impulse response of the CT system but the

unit DT impulse δ[n] is not a sampled version of the unit CT impulse δ(t).

A CT impulse cannot be sampled. If the CT impulse were

sampled at its time of occurrence what would the sample value

be? The functional value of the impulse is not defined at its time

of occurrence because the impulse is not an ordinary function.

h n[ ]= h nTs( )

Chapter 12 ENSC 380 – Linear Systems 22

Simulating CT Systems with DT

Systems

In impulse-invariant design, even though the impulse response is a

sampled version of the CT system’s impulse response that does not

mean that the response to samples from any arbitrary excitation

will be a sampled version of the CT system’s response to that

excitation.

All design methods for simulating CT systems with DT systems

are approximations and whether or not the approximation is a good

one depends on the design goals.

Page 12: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

12

Chapter 12 ENSC 380 – Linear Systems 23

Sampled-Data Systems

In a practical simulation of CT systems by DT systems, we

usually sample the excitation with an ADC, process the

samples, and then produce a CT signal with a DAC.

Chapter 12 ENSC 380 – Linear Systems 24

Sampled-Data Systems

An ADC simply samples a signal and produces numbers. A

common way of modeling the action of a DAC is to imagine

the DT impulses in the DT signal which drive the DAC are

instead CT impulses of the same strength and that the DAC

has the impulse response of a zero-order hold.

Page 13: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

13

Chapter 12 ENSC 380 – Linear Systems 25

Sampled-Data Systems

The desired equivalence between a CT and a DT system is

illustrated below.

The design goal is to make look as much like as

possible by choosing h[n] appropriately.

yd t( ) yc t( )

Chapter 12 ENSC 380 – Linear Systems 26

Sampled-Data SystemsConsider the response of the CT system not to the actual signal,

x(t), but rather to an impulse-sampled version of it,

The response is

where and the response at the n-th multiple of

is

The response of a DT system with to the excitation,

is

xδ t( )= x nTs( )δ t − nTs( )n=−∞

∑ = x t( )∗ fs comb fst( )

y t( )= h t( )∗xδ t( )= h t( )∗ x m[ ]δ t −mTs( )m=−∞

∑ = x m[ ]h t − mTs( )m=−∞

∑x n[ ]= x nTs( ) Ts

y nTs( )= x m[ ]h n − m( )Ts( )m=−∞

∑h n[ ]= h nTs( )

x n[ ]= x nTs( )y n[ ]= x n[ ]∗h n[ ]= x m[ ]h n −m[ ]

m=−∞

Page 14: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

14

Chapter 12 ENSC 380 – Linear Systems 27

Sampled-Data Systems

The two responses are equivalent in the sense that the values at

corresponding DT and CT times are the same.

Chapter 12 ENSC 380 – Linear Systems 28

Sampled-Data Systems

Modify the CT system to reflect the last analysis.

Then multiply the impulse responses of both systems by Ts

Page 15: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

15

Chapter 12 ENSC 380 – Linear Systems 29

Sampled-Data SystemsIn the modified CT system,

In the modified DT system,

where and h(t) still represents the impulse

response of the original CT system. Now let approach zero.

This is the response, , of the original CT system.

y t( )= xδ t( )∗Ts h t( )= x nTs( )δ t − nTs( )n=−∞

∗h t( )Ts = x nTs( )h t − nTs( )Ts

n=−∞

y n[ ]= x m[ ]h n − m[ ]m=−∞

∑ = x m[ ]Ts h n −m( )Ts( )m=−∞

h n[ ]= Ts h nTs( )Ts

limTs→0

y t( )= limTs→0

x nTs( )h t − nTs( )Ts

n=−∞

∑ = x τ( )h t − τ( )dτ−∞

yc t( )

Chapter 12 ENSC 380 – Linear Systems 30

Sampled-Data Systems

Summarizing, if the impulse response of the DT system is

chosen to be then, in the limit as the sampling rate

approaches infinity, the response of the DT system is exactly

the same as the response of the CT system.

Of course the sampling rate can never be infinite in practice.

Therefore this design is an approximation which gets better as

the sampling rate is increased.

Ts h nTs( )

Page 16: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

16

Chapter 12 ENSC 380 – Linear Systems 31

Digital Filters

• Digital filter design is simply DT system

design applied to filtering signals

• A popular method of digital filter design is to

simulate a proven CT filter design

• There are many design approaches each of

which yields a better approximation to the

ideal as the sampling rate is increased

Chapter 12 ENSC 380 – Linear Systems 32

Digital Filters

• Practical CT filters have infinite-duration

impulse responses, impulse responses which

never actually go to zero and stay there

• Some digital filter designs produce DT filters

with infinite-duration impulse responses and

these are called IIR filters

• Some digital filter designs produce DT filters

with finite-duration impulse responses and

these are called FIR filters

Page 17: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

17

Chapter 12 ENSC 380 – Linear Systems 33

Digital Filters

• Some digital filter design methods use time-

domain approximation techniques

• Some digital filter design methods use

frequency-domain approximation techniques

Chapter 12 ENSC 380 – Linear Systems 34

Digital FiltersImpulse and Step Invariant Design

Page 18: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

18

Chapter 12 ENSC 380 – Linear Systems 35

H s s( )

Impulse invariant:

h t( ) L−1 Sample

h n[ ] ZHz z( )

Step invariant:

H s s( )×1

s H s s( )s

L−1

h−1 t( )Sample

h−1 n[ ]

Z z

z −1H z z( )

×z −1z

Hz z( )

Impulse and Step Invariant Design

Digital Filters

Chapter 12 ENSC 380 – Linear Systems 36

Impulse invariant approximation of the one-pole system,

yields

H s s( )= 1

s + a

H z z( )= 1

1− e− aTs z−1

Digital FiltersImpulse and Step Invariant Design

Page 19: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

19

Chapter 12 ENSC 380 – Linear Systems 37

Let a be one and let in H z z( )= 1

1− e− aTs z−1Ts = 0.1

Digital Filter

Impulse Response

CT Filter

Impulse Response

Digital FiltersImpulse and Step Invariant Design

Chapter 12 ENSC 380 – Linear Systems 38

Step response of H z z( )= 1

1− e− aTs z−1

Digital Filter

Step Response

CT Filter

Step Response

Notice scale difference

Digital FiltersImpulse and Step Invariant Design

Page 20: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

20

Chapter 12 ENSC 380 – Linear Systems 39

Digital Filters

Why is the impulse response exactly

right while the step response is wrong?

This design method forces an equality

between the impulse strength of a CT

excitation, a unit CT impulse at zero,

and the impulse strength of the

corresponding DT signal, a unit DT

impulse at zero. It also makes the

impulse response of the DT system,

h[n], be samples from the impulse

response of the CT system, h(t).

Chapter 12 ENSC 380 – Linear Systems 40

A CT step excitation is not an impulse. So what should the

correspondence between the CT and DT excitations be now? If the

step excitation is sampled at the same rate as the impulse response

was sampled, the resulting DT signal is the excitation of the DT

system and the response of the DT system is the sum of the

responses to all those DT impulses.

Digital Filters

Page 21: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

21

Chapter 12 ENSC 380 – Linear Systems 41

Digital FiltersIf the excitation of the CT system were a sequence of CT unit

impulses, occurring at the same sampling rate used to form h[n],

then the response of the DT system would be samples of the

response of the

CT system.

Chapter 12 ENSC 380 – Linear Systems 42

Impulse invariant approximation of

with a 1 kHz sampling rate

yields

H s s( )= s

s2 + 400s + 2 ×105

H z( )= z z − 0.9135( )z2 −1.508z + 0.6703

Digital FiltersImpulse and Step Invariant Design

Page 22: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

22

Chapter 12 ENSC 380 – Linear Systems 43

Step invariant approximation of

with a 1 kHz sampling rate

yields

H s s( )= s

s2 + 400s + 2 ×105

H z z( )= 7.97 ×10−4 z −1( )z2 −1.509z + 0.6708

Digital FiltersImpulse and Step Invariant Design

Chapter 12 ENSC 380 – Linear Systems 44

Every CT transfer function implies a corresponding differential

equation. For example,

Derivatives can be approximated by finite differences.

H s s( )= 1

s + a⇒

d

dty t( )( )+ ay t( )= x t( )

d

dty t( )( )≅ y n +1[ ]− y n[ ]

Ts

d

dty t( )( )≅ y n[ ]− y n−1[ ]

Ts

d

dty t( )( )≅ y n +1[ ]− y n −1[ ]

2Ts

Forward Backward

Central

Finite Difference Design

Digital Filters

Page 23: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

23

Chapter 12 ENSC 380 – Linear Systems 45

For example, using a forward difference to approximate the

derivative,

A more systematic method is to realize that every s in a CT

transfer function corresponds to a differentiation in the time

domain which can be approximated by a finite difference.

H s s( )= 1

s + a⇒y n +1[ ]− y n[ ]

Ts

+ ay n[ ]= x n[ ]

s→z −1Ts

X z( ) s→1− z−1

Ts

X z( ) s→z − z−1

2Ts

X z( )

Forward Backward Central

Digital FiltersFinite Difference Design

Chapter 12 ENSC 380 – Linear Systems 46

Then, forward difference approximation is

H s s( )= 1

s + a⇒H z z( )= 1

s + a

s→ z−1

Ts

=Ts

z − 1− aTs( )

Digital FiltersFinite Difference Design

Page 24: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

24

Chapter 12 ENSC 380 – Linear Systems 47

Backward difference approximation

of

with a 1 kHz sampling rate

yields

H s s( )= s

s2 + 400s + 2 ×105

H z( )= 6.25 ×10−4 z z −1( )

z2 −1.5z + 0.625

Digital FiltersFinite Difference Design

Chapter 12 ENSC 380 – Linear Systems 48

Direct substitution and matched z-transform design use the

relationship to map the poles and zeros of an s-domain

transfer function into corresponding poles and zeros of a z-

domain transfer function. If there is an s-domain pole at a, the z-

domain pole will be at .

Direct Substitution

Matched z-Transform

Direct Substitution and Matched z-Transform Design

z = esTs

z = esTs

eaTs

s − a→ z − eaTs

s − a→1− eaTs z−1

Digital Filters

Page 25: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

25

Chapter 12 ENSC 380 – Linear Systems 49

Matched z-transform approximation of

with a 1 kHz sampling rate

yields

H s s( )= s

s2 + 400s + 2 ×105

H z z( )= z z −1( )z2 −1.509z + 0.6708

Digital FiltersDirect Substitution and Matched z-Transform Design

Chapter 12 ENSC 380 – Linear Systems 50

This method is based on trying to match the frequency response

of a digital filter to that of the CT filter. As a practical matter it

is impossible to match exactly because a digital filter has a

periodic frequency response but a good approximation can be

made over a range of frequencies which can include all the

expected signal power.

The basic idea is to use the transformation,

to convert from the s to z domain.

s→1

Ts

ln z( ) esTs → zor

Bilinear Transformation

Digital Filters

Page 26: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

26

Chapter 12 ENSC 380 – Linear Systems 51

The straightforward application of the transformation,

would be the substitution,

But that yields a z-domain function that is a transcendental

function of z with infinitely many poles. The exponential

function can be expressed as the infinite series,

and then approximated by truncating the series.

s→1

Ts

ln z( )

Hz z( )= Hs s( )s→

1

Tsln z( )

Digital FiltersBilinear Transformation

∑∞

==++++=

0

32

!...

!3!21

k

kx

k

xxxxe

Chapter 12 ENSC 380 – Linear Systems 52

Truncating the exponential series at two terms yields the

transformation,

or

(This approximation is identical to the finite difference method

using forward differences to approximate derivatives.) But, this

method has a problem. It is possible to transform a stable s-

domain function into an unstable z-domain function.

1+ sTs→ z

s→z −1Ts

Digital FiltersBilinear Transformation

Page 27: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

27

Chapter 12 ENSC 380 – Linear Systems 53

The stability problem can be solved by a very clever

modification of the idea of truncating the series. Express the

exponential as

Then approximate both numerator and denominator with a

truncated series.

This is called the bilinear transformation because both numerator

and denominator are linear functions of z.

esTs =

esTs2

e−s

Ts2

→ z

1+sTs

2

1−sTs

2

→ z s→2

Ts

z −1z +1

Digital FiltersBilinear Transformation

Chapter 12 ENSC 380 – Linear Systems 54

The bilinear transformation

has the quality that every

point in the s plane maps into

a unique point in the z plane,

and vice versa. Also, the left

half of the s plane maps into

the interior of the unit circle

in the z plane so a stable s-

domain system is

transformed into a stable z-

domain system.

Digital FiltersBilinear Transformation

Page 28: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

28

Chapter 12 ENSC 380 – Linear Systems 55

The bilinear transformation is unique among the digital filter design

methods because of the unique mapping of points between the two

complex planes. There is however a “warping” effect. It can be seen

by mapping real frequencies in the z plane (the unit circle) into

corresponding points in the s plane. Letting with Ω real, the

corresponding contour in the s plane is

or

z = e jΩ

s =2

Ts

e jΩ −1ejΩ +1

= j2

Ts

tanΩ2

Ω= 2 tan−1ωTs

2

Digital FiltersBilinear Transformation

Chapter 12 ENSC 380 – Linear Systems 56

Bilinear approximation of

with a 1 kHz sampling rate

yields

H s s( )= s

s2 + 400s + 2 ×105

H z( )= z2 −1z2 −1.52z + 0.68

Digital FiltersBilinear Transformation

Page 29: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

29

Chapter 12 ENSC 380 – Linear Systems 57

FIR digital filters are based on the

idea of approximating an ideal

impulse response. Practical CT

filters have infinite-duration impulse

response. The FIR filter

approximates this impulse by

sampling it and then truncating it to

a finite time (N impulses in the

illustration).

FIR Filters

Digital Filters

Chapter 12 ENSC 380 – Linear Systems 58

FIR digital filters can also

approximate non-causal filters

by truncating the impulse

response both before time t = 0

and after some later time which

includes most of the signal

energy of the ideal impulse

response.

Digital FiltersFIR Filters

Page 30: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

30

Chapter 12 ENSC 380 – Linear Systems 59

The design of an FIR

filter is the essence of

simplicity. It consists of

multiple feedforward

paths, each with a

different delay and

weighting factor and all

of which are summed to

form the response.

hN n[ ]= amδ n− m[ ]m=0

N −1

Digital FiltersFIR Filters

Chapter 12 ENSC 380 – Linear Systems 60

Since this filter has no feedback paths its transfer function is of the

form,

and it is guaranteed stable because it has N − 1 poles, all of which are located at z = 0.

H N z( )= amz−m

m=0

N −1

Digital FiltersFIR Filters

Page 31: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

31

Chapter 12 ENSC 380 – Linear Systems 61

The effect of truncating an impulse response can be modeled by

multiplying the ideal impulse response by a “window” function. If

a CT filter’s impulse response is truncated between t = 0 and t = T,

the truncated impulse response is

where, in this case,

hT t( )=h t( ) , 0 < t < T0 , otherwise

= h t( )w t( )

w t( )= rectt −

T

2T

Digital FiltersFIR Filters

Chapter 12 ENSC 380 – Linear Systems 62

The frequency-domain effect of truncating an impulse response is

to convolve the ideal frequency response with the transform of the

window function.

If the window is a rectangle,

HT f( )= H f( )∗W f( )

W f( )= T sinc Tf( )e− jπfT

Digital FiltersFIR Filters

Page 32: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

32

Chapter 12 ENSC 380 – Linear Systems 63

Let the ideal transfer function be

The corresponding impulse response is

The truncated impulse response is

The transfer function for the truncated impulse response is

H f( )= rect f

2B

e− jπfT

hT t( )= 2Bsinc 2B t −T

2

rect

t −T

2T

h t( )= 2Bsinc 2B t −T

2

HT f( )= rect f

2B

e− jπfT ∗T sinc Tf( )e− jπfT

Digital FiltersFIR Filters

Chapter 12 ENSC 380 – Linear Systems 64

Digital FiltersFIR Filters

Page 33: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

33

Chapter 12 ENSC 380 – Linear Systems 65

FIR Filters

Digital Filters

Chapter 12 ENSC 380 – Linear Systems 66

Digital FiltersFIR Filters

Page 34: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

34

Chapter 12 ENSC 380 – Linear Systems 67

The effects of windowing a DT filter’s impulse response are

similar to the windowing effects on a CT filter.

hN n[ ]=h n[ ] , 0 ≤ n < N0 , otherwise

= h n[ ]w n[ ]

H N jΩ( )= H jΩ( ) W jΩ( )

Digital FiltersFIR Filters

Chapter 12 ENSC 380 – Linear Systems 68

Digital FiltersFIR Filters

Page 35: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

35

Chapter 12 ENSC 380 – Linear Systems 69

FIR Filters

Digital Filters

Chapter 12 ENSC 380 – Linear Systems 70

Digital FiltersFIR Filters

Page 36: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

36

Chapter 12 ENSC 380 – Linear Systems 71

The “ripple” effect in the frequency domain can be reduced

by windows of different shapes. The shapes are chosen to

have DTFT’s which are more confined to a narrow range of

frequencies. Some commonly used windows are

1. von Hann

(Hanning)

2. Bartlett

(triangular)

w n[ ]= 121− cos

2πnN −1

, 0 ≤ n < N

w n[ ]=

2n

N −1, 0 ≤ n ≤

N −12

2 −2n

N −1,N −12≤ n < N

Digital FiltersFIR Filters

Chapter 12 ENSC 380 – Linear Systems 72

3. Hamming

4. Blackman

5. Kaiser

w n[ ]= 0.54 − 0.46cos 2πnN −1

, 0 ≤ n < N

w n[ ]= 0.42 − 0.5cos 2πnN −1

+ 0.08cos

4πnN −1

, 0 ≤ n < N

w n[ ]=I0 ω a

N −12

2

− n−N −12

2

I 0 ω a

N −12

Digital FiltersFIR Filters

Page 37: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

37

Chapter 12 ENSC 380 – Linear Systems 73

Windows Window Transforms

Digital FiltersFIR Filters

Chapter 12 ENSC 380 – Linear Systems 74

Windows Window Transforms

Digital FiltersFIR Filters

Page 38: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

38

Chapter 12 ENSC 380 – Linear Systems 75

Standard Realizations

• Realization of a DT system closely parallels

the realization of a CT system

• The basic forms, canonical, cascade and

parallel have the same structure

• A CT system can be realized with integrators,

summers and multipliers

• A DT system can be realized with delays,

summers and multipliers

Chapter 12 ENSC 380 – Linear Systems 76

Standard Realizations

Canonical

Delay

Summer

Multiplier

Page 39: zTransform Signal and System Analysissonca.kasshin.net › ensc380 › Chapter 12.pdf · 1 zTransform Signal and System Analysis Chapter 12 Chapter 12 ENSC 380 –Linear Systems 2

39

Chapter 12 ENSC 380 – Linear Systems 77

Standard Realizations

Cascade

Chapter 12 ENSC 380 – Linear Systems 78

Standard RealizationsParallel