filter design

23
TOPIC:-FILTER DESIGN By Nehe Pradeepkumar Dattatraya

Upload: pradeep-nehe

Post on 05-Jul-2015

237 views

Category:

Engineering


3 download

DESCRIPTION

Iir and fir filter design

TRANSCRIPT

Page 1: filter design

TOPIC:-FILTER DESIGNBy

Nehe PradeepkumarDattatraya

Page 2: filter design

Introduction.

IIR Filter Design by Impulse invariance method.

IIR Filter Design by Bilinear transformation method.

FIR Filter Design by Frequency sampling technique.

Advantages and Disadvantages.

Page 3: filter design

Filter:- The systm that modify the spectral contents of the

input signal are termed as filter.

Filters mainly are of two types

1-Analog Filter

2-Digital Filter

Filter

Analog Filter

Digital Filter

IIR Filter

FIR Filter

Page 4: filter design

Performance of digital filter can not influenced due to

component ageing, temp, &power supply variations

Highly immune to noise.

Operated over wide range of frequency.

Multiple filtering possible only in digital filter.

Page 5: filter design

Now we will introduce to the design method of the

FIR filter and IIR filter respectively.

IIR is the infinite impulse response abbreviation.

Digital filters by the accumulator, the multiplier, and

it constitutes IIR filter the way, generally may divide

into three kinds, respectively is Direct form, Cascade

form, and Parallel form.

IIR filter design methods include the impulse

invariance, bilinear transformation.

Page 6: filter design

FIR is the finite impulse response abbreviation,

because its design construction has not returned to the

part which gives.

Its construction generally uses Direct form and

Cascade form.

FIR filter design methods include the window

function, frequency sampling.

Page 7: filter design

Steps:

s z transformation

Step 1: let the impulse response of analog filter is h(t)

Given the transfer function in S-domain, find the impulse response h(t).

Step 2: Sample h(t) to get h(n).

unit sample response can be obtained by putting t=nT

Step 3: Find H(Z), by taking z-transform of h(n).

Page 8: filter design

The most straightforward of these is the impulse

invariance transformation

Let h(t) be the impulse response corresponding to

H(s), and define the continuous to discrete time

transformation by setting h(n)=h(nT)

We sample the continuous time impulse response to

produce the discrete time filter

Page 9: filter design

The impulse invariance transformation does map the

jώ-axis and the left-half s plane into the unit circle

and its interior, respectively.

Page 10: filter design

The most generally useful is the bilinear transformation.

To avoid aliasing of the frequency response as encountered with the impulse invariance transformation.

We need a one-to-one mapping from the s plane to the z plane.

The problem with the transformation is many-to-one.

's Tz e

Page 11: filter design

We could first use a one-to-one transformation from s to s’ , which compresses the entire s plane into the strip

Then s’ could be transformed to z by

with no effect from aliasing.

Im( ')sT T

's Tz e

Page 12: filter design

The transformation from s to s’ is given by

The characteristic of this transformation is seen most

readily from its effect on the jώ axis. Substituting

s=jώ and s’= jώ’ , we obtain

12' tanh ( )

2

sTs

T

12' tan ( )

2

T

T

Page 13: filter design

The discrete-time filter design is obtained from the

continuous-time design by means of the bilinear

transformation

1 1(2/ )(1 )/(1 )( ) ( ) |c s T z z

H z H s

Page 14: filter design

For arbitrary, non-classical specifications of , the calculation of , n=0,1,…,M, via an appropriate approximation can be a substantial computation task.

It may be preferable to employ a design technique that utilizes specified values of directly, without the necessity of determining

' ( )dH

( )dh n

' ( )dH

( )dh n

Page 15: filter design

We wish to derive a linear phase IIR filter with real

nonzero h(n) . The impulse response must be

symmetric

where are real and denotes the integer part

[ /2]

0

1

2 ( 1/ 2)( ) 2 cos( )

1

M

k

k

k nh n A A

M

kA [ / 2]M

Page 16: filter design

It can be rewritten as

where N=M+1 and

Therefore, it may write

where

1/ 2 /

0/2

( )N

j k N j kn N

k

kk N

h n A e e

k N kA A

1

0/2

( ) ( )N

k

kk N

h n h n

/ 2 /( ) j k N j kn N

k kh n A e e

Page 17: filter design

with corresponding transform

where

Hence

which has a linear phase

1

0/2

( ) ( )N

k

kk N

H z H z

/

2 / 1

(1 )( )

1

j k N N

kk j k N

A e zH z

e z

' ( 1)/2 sin / 2( )

sin[( / / 2)]

j T N

k k

TNH A e

k N T

Page 18: filter design

The only nonzero contribution to at is

from , and hence that

Therefore, by specifying the DFT samples of the

desired magnitude response at the

frequencies , and setting

'( )H k

' ( )kH '( )k kH N A

' ( )dH

k

' ( ) /k d kA H N

Page 19: filter design

We produce a filter design from equation for which

The desired and actual magnitude responses are equal

at the N frequencies

''( ) ( )k d kH H

k

Page 20: filter design

In between these frequencies, is interpolated as

the sum of the responses , and its magnitude

does not, equal that of

'( )H ' ( )kH

' ( )dH

Page 21: filter design

FIR advantage:

1. Finite impulse response

2. It is easy to optimalize

3. Linear phase

4. Stable

FIR disadvantage:

1. It is hard to implementation than IIR

Page 22: filter design

IIR advantage :

1. It is easy to design

2. It is easy to implementation

IIR disadvantage:

1. Infinite impulse response

2. It is hard to optimalize than FIR

3. Non-stable

Page 23: filter design