Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is...

41
Block Diagrams

Transcript of Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is...

Page 1: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Block Diagrams

Page 2: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Equivalent Structures

Page 3: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

• The Transfer Function of LTI system can be connected in 2 ways :

a. Parallel Connection :

The overall transfer function,

H(z) = H1(z) + H2(z) + … + HL(z)

Page 4: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

• b. Cascade connection :

The overall transfer function :

H(z) = H1(z).H2(z). … HL(z)

Each one of them can be implemented using any of the Direct Forms

Page 5: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

• Canonic

– number of delays in the block diagram representation is equal to the order of the difference equation

• Non-canonic

– otherwise

Page 6: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

FIR FILTER STRUCTURES

Page 7: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

FIR FILTERS

• These are realized using only two Forms:

• (as it only has the Numerator part i.e. ALL

ZERO SYSTEMS)

• 1. Direct Form 1 or Tapped delay Line or

Transversal delay Line Filter.

• 2. Cascade form

Page 8: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

FIR Filter Structures • Direct form

– An FIR filter of order N requires N + 1 multipliers, N adders and N delays.

– An FIR filter of order 4

y[n] = h[0]x[n] + h[1]x[n-1] + h[2]x[n-2] +

h[3]x[n-3]+ h[4]x[n-4]

Page 9: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

FIR Filter Structures

Page 10: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

• Cascade form

– Transfer function H(z) of a causal FIR filter

of order N

– Factorized form

Where k = N/2 if N is even and k = (N + 1)/2 if N is

odd, with β2k = 0

N

k

kzkhzH0

][)(

k

k

kk zzhzH1

2

2

1

1 )1(]0[)(

Page 11: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Example…

• Determine the Direct Form & Cascade

Form Realization for the transfer Function

of an FIR Digital filter which is given by

H(z)= (1-1/4 Z +3/8 Z^2)(1-1/8Z-1/2Z^2)

Page 12: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Direct Form

• We Simply Expand the equation to get this

form as

Page 13: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Cascade Form

• H(z)=H1(z)* H2(z) & hence

Page 14: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Equivalent Structures

Page 15: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

IIR FILTER STRUCTURES

Page 16: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

• IIR system/filter can be realized in

several structures:

1. DIRECT FORM I

2. DIRECT FORM II (CANONIC)

3. CASCADE FORM

4. PARALLEL FORM

Page 17: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

IIR System Function

Page 18: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Bifurcation of H(z) into

H1(z) & H2(z)

Page 19: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Block Diagram of Direct Form I & II

Page 20: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

IIR Filter Structures

Page 21: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

IIR Filter Structures

Page 22: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Direct Form I Realization

Page 23: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Direct Form II Realization

Page 24: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Canonic Direct Form II Realization

Page 25: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Parallel Form Realization

Page 26: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Example..

Page 27: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Direct Form I

Page 28: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Direct Form II & Cascade Form

Page 29: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Parallel Form

• To get this we use PFE method :

• H(z)= Y(z)/X(z)

• Giving us A1=-7/3 & A2= 10/3 so

implementing it we have -----

Page 30: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Parallel Form

Page 31: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR
Page 32: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

• Direct Form I – Consider a third order IIR described by transfer function

– Implement as a cascade of two filter section

3

3

1

1

3

3

1

10

1)(

)()(

zdzd

zpzpp

zD

zPzH

Page 33: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Where

and

• Resulting in realization indicated below

3

3

2

2

1

101 )()(

)()( zpzpzppzP

zX

zWzH

3

3

2

2

1

1

21

1

)(

1

)(

)()(

zdzdzdzDzW

zYzH

Page 34: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

• Direct Form I

Page 35: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

• Direct Form II (Canonic)

– The two top delays can be shared

Page 36: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

• Cascade Form

• A third order transfer function

k kk

kk

zz

zzpzH

2

2

1

1

2

2

1

10

1

1)(

1

22

1

12

2

22

1

12

1

11

1

110

1

1

1

1)(

zz

zz

z

zpzH

Page 37: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

• Cascade Form

Page 38: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

• Parallel Form: Use Partial Fraction Expansion

Form to realize them

k kk

kk

zz

zzH

2

2

1

1

1

100

1)(

Page 39: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

• Parallel Form: used in High Speed Filtering

applications(as operated parallely)

Page 40: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Parallel IIR Structures

Page 41: Block Diagrams - ggn.dronacharya.info...– number of delays in the block diagram representation is equal to the order of the difference equation •Non-canonic – otherwise . FIR

Parallel IIR Structures