<< Chapter < Page Chapter >> Page >

Block signal processing

In this section the usual convolution and recursion that implements FIR and IIR discrete-time filters are reformulated in terms of vectors andmatrices. Because the same data is partitioned and grouped in a variety of ways, it is important to have a consistent notation in order to beclear. The n t h element of a data sequence is expressed h ( n ) or, in some cases to simplify, h n . A block or finite length column vector is denoted h ̲ n with n indicating the n t h block or section of a longer vector. A matrix, square or rectangular, is indicatedby an upper case letter such as H with a subscript if appropriate.

Block convolution

The operation of a finite impulse response (FIR) filter is described by a finite convolution as

y ( n ) = k = 0 L - 1 h ( k ) x ( n - k )

where x ( n ) is causal, h ( n ) is causal and of length L , and the time index n goes from zero to infinity or some large value. With a change of index variables this becomes

y ( n ) = h ( n - k ) x ( k )

which can be expressed as a matrix operation by

y 0 y 1 y 2 = h 0 0 0 0 h 1 h 0 0 h 2 h 1 h 0 x 0 x 1 x 2 .

The H matrix of impulse response values is partitioned into N by N square sub matrices and the X and Y vectors are partitioned into length- N blocks or sections. This is illustrated for N = 3 by

H 0 = h 0 0 0 h 1 h 0 0 h 2 h 1 h 0 H 1 = h 3 h 2 h 1 h 4 h 3 h 2 h 5 h 4 h 3 etc.
x ̲ 0 = x 0 x 1 x 2 x ̲ 1 = x 3 x 4 x 5 y ̲ 0 = y 0 y 1 y 2 etc.

Substituting these definitions into [link] gives

y ̲ 0 y ̲ 1 y ̲ 2 = H 0 0 0 0 H 1 H 0 0 H 2 H 1 H 0 x ̲ 0 x ̲ 1 x ̲ 2

The general expression for the n t h output block is

y ̲ n = k = 0 n H n - k x ̲ k

which is a vector or block convolution. Since the matrix-vector multiplication within the block convolution is itself a convolution, [link] is a sort of convolution of convolutions and the finite length matrix-vector multiplication can be carried out using the FFT or otherfast convolution methods.

The equation for one output block can be written as the product

y ̲ 2 = H 2 H 1 H 0 x ̲ 0 x ̲ 1 x ̲ 2

and the effects of one input block can be written

H 0 H 1 H 2 x ̲ 1 = y ̲ 0 y ̲ 1 y ̲ 2 .

These are generalize statements of overlap save and overlap add [link] , [link] . The block length can be longer, shorter, or equal to the filter length.

Block recursion

Although less well-known, IIR filters can also be implemented with block processing [link] , [link] , [link] , [link] , [link] . The block form of an IIR filter is developed in much the same way as for the block convolutionimplementation of the FIR filter. The general constant coefficient difference equation which describes an IIR filter with recursivecoefficients a l , convolution coefficients b k , input signal x ( n ) , and output signal y ( n ) is given by

y ( n ) = l = 1 N - 1 a l y n - l + k = 0 M - 1 b k x n - k

using both functional notation and subscripts, depending on which is easier and clearer. The impulse response h ( n ) is

h ( n ) = l = 1 N - 1 a l h ( n - l ) + k = 0 M - 1 b k δ ( n - k )

which can be written in matrix operator form

1 0 0 0 a 1 1 0 a 2 a 1 1 a 3 a 2 a 1 0 a 3 a 2 h 0 h 1 h 2 h 3 h 4 = b 0 b 1 b 2 b 3 0

In terms of N by N submatrices and length- N blocks, this becomes

A 0 0 0 0 A 1 A 0 0 0 A 1 A 0 h ̲ 0 h ̲ 1 h ̲ 2 = b ̲ 0 b ̲ 1 0

From this formulation, a block recursive equation can be written that will generate the impulse response block by block.

A 0 h ̲ n + A 1 h ̲ n - 1 = 0 for n 2
h ̲ n = - A 0 - 1 A 1 h ̲ n - 1 = K h ̲ n - 1 for n 2

with initial conditions given by

h ̲ 1 = - A 0 - 1 A 1 A 0 - 1 b ̲ 0 + A 0 - 1 b ̲ 1

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Fast fourier transforms. OpenStax CNX. Nov 18, 2012 Download for free at http://cnx.org/content/col10550/1.22
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Fast fourier transforms' conversation and receive update notifications?

Ask