Digital Filter Structures - The Catholic University of...

53
1 Copyright © 2001, S. K. Mitra Digital Filter Structures Digital Filter Structures The convolution sum description of an LTI discrete-time system can, in principle, be used to implement the system For an IIR finite-dimensional system this approach is not practical as here the impulse response is of infinite length However, a direct implementation of the IIR finite-dimensional system is practical

Transcript of Digital Filter Structures - The Catholic University of...

Page 1: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

1Copyright © 2001, S. K. Mitra

Digital Filter StructuresDigital Filter Structures

• The convolution sum description of an LTIdiscrete-time system can, in principle, beused to implement the system

• For an IIR finite-dimensional system thisapproach is not practical as here the impulseresponse is of infinite length

• However, a direct implementation of the IIRfinite-dimensional system is practical

Page 2: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

2Copyright © 2001, S. K. Mitra

Digital Filter StructuresDigital Filter Structures

• Here the input-output relation involves afinite sum of products:

• On the other hand, an FIR system can beimplemented using the convolution sumwhich is a finite sum of products:

∑∑ == −+−−= Mk k

Nk k knxpknydny 01 ][][][

∑ = −= Nk knxkhny 0 ][][][

Page 3: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

3Copyright © 2001, S. K. Mitra

Digital Filter StructuresDigital Filter Structures

• The actual implementation of an LTI digitalfilter can be either in software or hardwareform, depending on applications

• In either case, the signal variables and thefilter coefficients cannot be representedwith finite precision

Page 4: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

4Copyright © 2001, S. K. Mitra

Digital Filter StructuresDigital Filter Structures• However, a direct implementation of a digital

filter based on either the difference equationor the finite convolution sum may notprovide satisfactory performance due to thefinite precision arithmetic

• It is thus of practical interest to developalternate realizations and choose the structurethat provides satisfactory performance underfinite precision arithmetic

Page 5: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

5Copyright © 2001, S. K. Mitra

Digital Filter StructuresDigital Filter Structures• A structural representation using

interconnected basic building blocks is thefirst step in the hardware or softwareimplementation of an LTI digital filter

• The structural representation provides thekey relations between some pertinentinternal variables with the input and outputthat in turn provides the key to theimplementation

Page 6: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

6Copyright © 2001, S. K. Mitra

Block Diagram RepresentationBlock Diagram Representation

• In the time domain, the input-outputrelations of an LTI digital filter is given bythe convolution sum

or, by the linear constant coefficientdifference equation

∑∑ == −+−−= Mk k

Nk k knxpknydny 01 ][][][

∑∞−∞= −= k knxkhny ][][][

Page 7: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

7Copyright © 2001, S. K. Mitra

Block Diagram RepresentationBlock Diagram Representation• For the implementation of an LTI digital

filter, the input-output relationship must bedescribed by a valid computational algorithm

• To illustrate what we mean by acomputational algorithm, consider the causalfirst-order LTI digital filter shown below

Page 8: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

8Copyright © 2001, S. K. Mitra

Block Diagram RepresentationBlock Diagram Representation

• The filter is described by the differenceequation

• Using the above equation we can computey[n] for knowing the initial condition

and the input x[n] for :

]1[][]1[][ 101 −++−−= nxpnxpnydny

0≥n1−≥n]1[−y

Page 9: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

9Copyright © 2001, S. K. Mitra

Block Diagram RepresentationBlock Diagram Representation

• We can continue this calculation for anyvalue of the time index n we desire

]1[]0[]1[]0[ 101 −++−−= xpxpydy]0[]1[]0[]1[ 101 xpxpydy ++−=]1[]2[]1[]2[ 101 xpxpydy ++−= ..

.

..

.

Page 10: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

10Copyright © 2001, S. K. Mitra

Block Diagram RepresentationBlock Diagram Representation• Each step of the calculation requires a

knowledge of the previously calculatedvalue of the output sample (delayed value ofthe output), the present value of the inputsample, and the previous value of the inputsample (delayed value of the input)

• As a result, the first-order differenceequation can be interpreted as a validcomputational algorithm

Page 11: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

11Copyright © 2001, S. K. Mitra

Basic Building BlocksBasic Building Blocks• The computational algorithm of an LTI

digital filter can be convenientlyrepresented in block diagram form using thebasic building blocks shown below

x[n] y[n]

w[n]

+ Ax[n] y[n]

y[n]1−zx[n]x[n] x[n]

x[n]

Adder

Unit delay

Multiplier

Pick-off node

Page 12: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

12Copyright © 2001, S. K. Mitra

Basic Building BlocksBasic Building Blocks

Advantages of block diagram representation• (1) Easy to write down the computational

algorithm by inspection• (2) Easy to analyze the block diagram to

determine the explicit relation between theoutput and input

Page 13: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

13Copyright © 2001, S. K. Mitra

Basic Building BlocksBasic Building Blocks

• (3) Easy to manipulate a block diagram toderive other “equivalent” block diagramsyielding different computational algorithms

• (4) Easy to determine the hardwarerequirements

• (5) Easier to develop block diagramrepresentations from the transfer functiondirectly

Page 14: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

14Copyright © 2001, S. K. Mitra

Analysis of Block DiagramsAnalysis of Block Diagrams• Carried out by writing down the expressions

for the output signals of each adder as a sumof its input signals, and developing a set ofequations relating the filter input and outputsignals in terms of all internal signals

• Eliminating the unwanted internal variablesthen results in the expression for the outputsignal as a function of the input signal andthe filter parameters that are the multipliercoefficients

Page 15: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

15Copyright © 2001, S. K. Mitra

Analysis of Block DiagramsAnalysis of Block Diagrams• Example - Consider the single-loop feedback

structure shown below

• The output E(z) of the adder is

• But from the figure)()()()( 2 zYzGzXzE +=

)()()( 1 zEzGzY =

Page 16: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

16Copyright © 2001, S. K. Mitra

Analysis of Block DiagramsAnalysis of Block Diagrams

• Eliminating E(z) from the previous twoequations we arrive at

which leads to)()()()]()(1[ 121 zXzGzYzGzG =−

)()(1)(

)()()(

21

1zGzG

zGzXzYzH

−==

Page 17: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

17Copyright © 2001, S. K. Mitra

Analysis of Block DiagramsAnalysis of Block Diagrams

• Example - Analyze the cascaded latticestructure shown below where the z-dependence of signal variables are notshown for brevity

Page 18: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

18Copyright © 2001, S. K. Mitra

Analysis of Block DiagramsAnalysis of Block Diagrams

• The output signals of the four adders aregiven by

• From the figure we observe

21 SXW α−=112 SWW δ−=

213 WSW ε+=

21 SWY γ+β=

31

2 WzS −=2

11 WzS −=

Page 19: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

19Copyright © 2001, S. K. Mitra

Analysis of Block DiagramsAnalysis of Block Diagrams• Substituting the last two relations in the first

four equations we get

• From the second equation we get and from the third

equation we get

31

1 WzXW −α−=2

112 WzWW −δ−=

221

3 WWzW ε+= −

31

1 WzWY −γ+β=

)1/( 112

−δ+= zWW2

13 )( WzW −+ε=

Page 20: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

20Copyright © 2001, S. K. Mitra

Analysis of Block DiagramsAnalysis of Block Diagrams

• Combining the last two equations we get

• Substituting the above equation in

we finally arrive at

113 11WW

zz−

δ++ε=

,31

1 WzXW −α−= 31

1 WzWY −γ+β=

21

21

)(1)()( −−

−−

α+αε+δ+γ+γε+βδ+β==zzzz

XYzH

Page 21: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

21Copyright © 2001, S. K. Mitra

The Delay-Free Loop ProblemThe Delay-Free Loop Problem• For physical realizability of the digital filter

structure, it is necessary that the blockdiagram representation contains no delay-free loops

• To illustrate the delay-free loop problemconsider the structure below

Page 22: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

22Copyright © 2001, S. K. Mitra

The Delay-Free Loop ProblemThe Delay-Free Loop Problem• Analysis of this structure yields

which when combined results in

• The determination of the currentvalue of y[n] requires the knowledge of thesame value

][][][ nynwnu +=])[][(][ nAunvBny +=

( )])[][(][][ nynwAnvBny ++=

Page 23: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

23Copyright © 2001, S. K. Mitra

The Delay-Free Loop ProblemThe Delay-Free Loop Problem• However, this is physically impossible to

achieve due to the finite time required tocarry out all arithmetic operations on adigital machine

• Method exists to detect the presence ofdelay-free loops in an arbitrary structure,along with methods to locate and removethese loops without the overall input-outputrelation

Page 24: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

24Copyright © 2001, S. K. Mitra

The Delay-Free Loop ProblemThe Delay-Free Loop Problem• Removal achieved by replacing the portion

of the overall structure containing the delay-free loops by an equivalent realization withno delay-free loops

• Figure below shows such a realization ofthe example structure described earlier

Page 25: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

25Copyright © 2001, S. K. Mitra

Canonic and Canonic and NoncanonicNoncanonicStructuresStructures

• A digital filter structure is said to becanonic if the number of delays in the blockdiagram representation is equal to the orderof the transfer function

• Otherwise, it is a noncanonic structure

Page 26: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

26Copyright © 2001, S. K. Mitra

Canonic andCanonic and Noncanonic NoncanonicStructuresStructures

• The structure shown below is noncanonic asit employs two delays to realize a first-orderdifference equation

]1[][]1[][ 101 −++−−= nxpnxpnydny

Page 27: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

27Copyright © 2001, S. K. Mitra

Equivalent StructuresEquivalent Structures

• Two digital filter structures are defined tobe equivalent if they have the same transferfunction

• We describe next a number of methods forthe generation of equivalent structures

• However, a fairly simple way to generate anequivalent structure from a given realizationis via the transpose operation

Page 28: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

28Copyright © 2001, S. K. Mitra

Equivalent StructuresEquivalent Structures

Transpose Operation• (1) Reverse all paths• (2) Replace pick-off nodes by adders, and

vice versa• (3) Interchange the input and output nodes• All other methods for developing equivalent

structures are based on a specific algorithmfor each structure

Page 29: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

29Copyright © 2001, S. K. Mitra

Equivalent StructuresEquivalent Structures

• There are literally an infinite number ofequivalent structures realizing the sametransfer function

• It is thus impossible to develop allequivalent realizations

• In this course we restrict our attention to adiscussion of some commonly usedstructures

Page 30: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

30Copyright © 2001, S. K. Mitra

Equivalent StructuresEquivalent Structures

• Under infinite precision arithmetic anygiven realization of a digital filter behavesidentically to any other equivalent structure

• However, in practice, due to the finitewordlength limitations, a specificrealization behaves totally differently fromits other equivalent realizations

Page 31: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

31Copyright © 2001, S. K. Mitra

Equivalent StructuresEquivalent Structures• Hence, it is important to choose a structure

that has the least quantization effects whenimplemented using finite precisionarithmetic

• One way to arrive at such a structure is todetermine a large number of equivalentstructures, analyze the finite wordlengtheffects in each case, and select the oneshowing the least effects

Page 32: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

32Copyright © 2001, S. K. Mitra

Equivalent StructuresEquivalent Structures

• In certain cases, it is possible to develop astructure that by construction has the leastquantization effects

• We defer the review of these structures aftera discussion of the analysis of quantizationeffects

• Here, we review some simple realizationsthat in many applications are quite adequate

Page 33: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

33Copyright © 2001, S. K. Mitra

Basic FIR Digital FilterBasic FIR Digital FilterStructuresStructures

• A causal FIR filter of order N is characterizedby a transfer function H(z) given by

which is a polynomial in• In the time-domain the input-output relation

of the above FIR filter is given by

∑ =−= N

nnznhzH 0 ][)(

1−z

∑ = −= Nk knxkhny 0 ][][][

Page 34: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

34Copyright © 2001, S. K. Mitra

Direct Form FIR Digital FilterDirect Form FIR Digital FilterStructuresStructures

• An FIR filter of order N is characterized byN+1 coefficients and, in general, requireN+1 multipliers and N two-input adders

• Structures in which the multipliercoefficients are precisely the coefficients ofthe transfer function are called direct formstructures

Page 35: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

35Copyright © 2001, S. K. Mitra

Direct Form FIR Digital FilterDirect Form FIR Digital FilterStructuresStructures

• A direct form realization of an FIR filter canbe readily developed from the convolutionsum description as indicated below for N =4

Page 36: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

36Copyright © 2001, S. K. Mitra

Direct Form FIR Digital FilterDirect Form FIR Digital FilterStructuresStructures

• An analysis of this structure yields

which is precisely of the form of theconvolution sum description

• The direct form structure shown on theprevious slide is also known as a tappeddelay line or a transversal filter

][][][][ 4433 −+−+ nxhnxh][][][][][][][ 22110 −+−+= nxhnxhnxhny

][][][][ 4433 −+−+ nxhnxh

Page 37: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

37Copyright © 2001, S. K. Mitra

Direct Form FIR Digital FilterDirect Form FIR Digital FilterStructuresStructures

• The transpose of the direct form structureshown earlier is indicated below

• Both direct form structures are canonic withrespect to delays

Page 38: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

38Copyright © 2001, S. K. Mitra

Cascade Form FIR DigitalCascade Form FIR DigitalFilter StructuresFilter Structures

• A higher-order FIR transfer function canalso be realized as a cascade of second-order FIR sections and possibly a first-ordersection

• To this end we express H(z) as

where if N is even, and if Nis odd, with

∏ =−− ++= K

k kk zzhzH 12

21

110 )(][)( ββ

2NK =

21+= NK

02 =Kβ

Page 39: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

39Copyright © 2001, S. K. Mitra

Cascade Form FIR DigitalCascade Form FIR DigitalFilter StructuresFilter Structures

• A cascade realization for N = 6 is shownbelow

• Each second-order section in the abovestructure can also be realized in thetransposed direct form

Page 40: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

40Copyright © 2001, S. K. Mitra

PolyphasePolyphase FIR Structures FIR Structures

• The polyphase decomposition of H(z) leadsto a parallel form structure

• To illustrate this approach, consider a causalFIR transfer function H(z) with N = 8:

4321 43210 −−−− ++++= zhzhzhzhhzH ][][][][][)(8765 8765 −−−− ++++ zhzhzhzh ][][][][

Page 41: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

41Copyright © 2001, S. K. Mitra

PolyphasePolyphase FIR Structures FIR Structures• H(z) can be expressed as a sum of two

terms, with one term containing the even-indexed coefficients and the othercontaining the odd-indexed coefficients:

)][][][][][()( 8642 86420 −−−− ++++= zhzhzhzhhzH)][][][][( 7531 7531 −−−− ++++ zhzhzhzh

)][][][][][( 8642 86420 −−−− ++++= zhzhzhzhh)][][][][( 6421 7531 −−−− ++++ zhzhzhhz

Page 42: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

42Copyright © 2001, S. K. Mitra

PolyphasePolyphase FIR Structures FIR Structures

• By using the notation

we can express H(z) as

3211 7531 −−− +++= zhzhzhhzE ][][][][)(

43210 86420 −−−− ++++= zhzhzhzhhzE ][][][][][)(

)()()( 21

120 zEzzEzH −+=

Page 43: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

43Copyright © 2001, S. K. Mitra

PolyphasePolyphase FIR Structures FIR Structures

• In a similar manner, by grouping the termsin the original expression for H(z), we canreexpress it in the form

where now)()()()( 3

223

113

0 zEzzEzzEzH −− ++=

210 630 −− ++= zhzhhzE ][][][)(

211 741 −− ++= zhzhhzE ][][][)(

212 852 −− ++= zhzhhzE ][][][)(

Page 44: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

44Copyright © 2001, S. K. Mitra

PolyphasePolyphase FIR Structures FIR Structures

• The decomposition of H(z) in the form

or

is more commonly known as the polyphasedecomposition

)()()()( 32

231

130 zEzzEzzEzH −− ++=

)()()( 21

120 zEzzEzH −+=

Page 45: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

45Copyright © 2001, S. K. Mitra

PolyphasePolyphase FIR Structures FIR Structures

• In the general case, an L-branch polyphasedecomposition of an FIR transfer functionof order N is of the form

where

with h[n]=0 for n > N

)()( Lm

Lm

m zEzzH ∑ −=

−= 10

∑+

=

−+=LN

n

mm zmLnhzE

/)(

][)(1

0

Page 46: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

46Copyright © 2001, S. K. Mitra

PolyphasePolyphase FIR Structures FIR Structures• Figures below show the 4-branch, 3-branch,

and 2-branch polyphase realization of atransfer function H(z)

• Note: The expression for the polyphasecomponents are different in each case)(zEm

Page 47: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

47Copyright © 2001, S. K. Mitra

PolyphasePolyphase FIR Structures FIR Structures

• The subfilters in the polyphaserealization of an FIR transfer function arealso FIR filters and can be realized usingany methods described so far

• However, to obtain a canonic realization ofthe overall structure, the delays in allsubfilters must be shared

)( Lm zE

Page 48: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

48Copyright © 2001, S. K. Mitra

PolyphasePolyphase FIR Structures FIR Structures• Figure below shows a canonic realization of

a length-9 FIR transfer function obtainedusing delay sharing

Page 49: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

49Copyright © 2001, S. K. Mitra

Linear-Phase FIR StructuresLinear-Phase FIR Structures• The symmetry (or antisymmetry) property of a

linear-phase FIR filter can be exploited toreduce the number of multipliers into almosthalf of that in the direct form implementations

• Consider a length-7 Type 1 FIR transferfunction with a symmetric impulse response:

321 3210 −−− +++= zhzhzhhzH ][][][][)(654 012 −−− +++ zhzhzh ][][][

Page 50: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

50Copyright © 2001, S. K. Mitra

Linear-Phase FIR StructuresLinear-Phase FIR Structures• Rewriting H(z) in the form

we obtain the realization shown below

)]([)]([)( 516 110 −−− +++= zzhzhzH342 32 −−− +++ zhzzh ][)]([

Page 51: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

51Copyright © 2001, S. K. Mitra

Linear-Phase FIR StructuresLinear-Phase FIR Structures

• A similar decomposition can be applied to aType 2 FIR transfer function

• For example, a length-8 Type 2 FIR transferfunction can be expressed as

• The corresponding realization is shown onthe next slide

)]([)]([)( 617 110 −−− +++= zzhzhzH

)]([)]([ 4352 32 −−−− ++++ zzhzzh

Page 52: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

52Copyright © 2001, S. K. Mitra

Linear-Phase FIR StructuresLinear-Phase FIR Structures

• Note: The Type 1 linear-phase structure fora length-7 FIR filter requires 4 multipliers,whereas a direct form realization requires 7multipliers

Page 53: Digital Filter Structures - The Catholic University of Americasip.cua.edu/res/docs/courses/ee515/chapter06/ch6-1.pdf · k k N y[n] k 1dk y[n k] 0 p x[n k] = ... Digital Filter Structures

53Copyright © 2001, S. K. Mitra

Linear-Phase FIR StructuresLinear-Phase FIR Structures

• Note: The Type 2 linear-phase structure fora length-8 FIR filter requires 4 multipliers,whereas a direct form realization requires 8multipliers

• Similar savings occurs in the realization ofType 3 and Type 4 linear-phase FIR filterswith antisymmetric impulse responses