# Connexions

You are here: Home » Content » Digital Signal Processing: A User's Guide » Efficient Multirate Filter Structures

### Recently Viewed

This feature requires Javascript to be enabled.

Inside Collection (Course):

Course by: Douglas L. Jones. E-mail the author

# Efficient Multirate Filter Structures

Module by: Douglas L. Jones. E-mail the author

Rate-changing appears expensive computationally, since for both decimation and interpolation the lowpass filter is implemented at the higher rate. However, this is not necessary.

## Interpolation

For the interpolator, most of the samples in the upsampled signal are zero, and thus require no computation. (Figure 1)

For m=LmL+mmodL m L m L m L and p=mmodL p m L ,
x 1 m=m= N 1 N 2 h L p mym=k= N 1 L N 2 L g p k x 0 mLk x 1 m m N 1 N 2 h L p m y m k N 1 L N 2 L g p k x 0 m L k
(1)
g p n=hLn+p g p n h L n p Pictorially, this can be represented as in Figure 2. These are called polyphase structures, and the g p n g p n are called polyphase filters.

### Computational cost

If hm h m is a length-NN filter:

• No simplification: N T 1 =LN T 0 computationssec N T 1 L N T 0 computations sec
• Polyphase structure: (LLN1 T 0 o )computationssec=N T 0 L L N 1 T 0 o computations sec N T 0 where LL is the number of filters, NL N L is the taps/filter, and 1 T 0 1 T 0 is the rate.
Thus we save a factor of LL by not being dumb.

#### Note:

For a given precision, NN is proportional to LL, (why?), so the computational cost does increase with the interpolation rate.

#### Question:

Can similar computational savings be obtained with IIR structures?

## Efficient Decimation Structures

We only want every MMth output, so we compute only the outputs of interest. (Figure 3) x 1 m=k= N 1 N 2 x 0 Lmkhk x 1 m k N 1 N 2 x 0 L m k h k

The decimation structures are flow-graph reversals of the interpolation structure. Although direct implementation of the full filter for every MMth sample is obvious and straightforward, these polyphase structures give some idea as to how one might evenly partition the computation over MM cycles.

## Efficient L/M rate changers

Interpolate by LL and decimate by MM (Figure 4).

Combine the lowpass filters (Figure 5). We can couple the lowpass filter either to the interpolator or the decimator to implement it efficiently (Figure 6). Of course we only compute the polyphase filter output selected by the decimator.

### Computational Cost

Every T 1 =ML T 0 seconds T 1 M L T 0 seconds , compute one polyphase filter of length NL N L , or NL T 1 =NLML T 0 =NM T 0 multipliessecond N L T 1 N L M L T 0 N M T 0 multiplies second However, note that NN is proportional to maxLM L M .

## Content actions

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

#### Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

#### Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks