General filter structures

Introduction

A structural representation using interconnected basic building blocks is the first step in hardware or software implementation of an LTI filter. The structural representation provides the relation between some pertinent internal variables with the input and the output that in turn provide the keys to the implementation. There are various forms of the structural representation of filters. We review in this module structures for non-recursive and recursive systems. Then we will introduce the transposition theorem which is a general method of deriving from any given structure another structure from which the input- output properties remain unchanged. Finally, we will discuss several special filter structures.

Screencast video [⯈]



Module overview

This module will cover the following topics:

  1. Structures of non-recursive systems - First a general overview of a non-recursive system is explained.
  2. Structures of recursive systems - Afterwards this class of filters is extented to also include recursive filters.
  3. Transposition theorem - Here a method is discussed to change the structure of a filter.
  4. Special structures [⯈] - Finally the theory is put into practice and some very common examples of filter structures are discussed.



Summary

General difference equation and system function

y[n]=k=0M1bkx[nk]+k=1N1aky[nk]H(z)=Y(z)X(z)=k=0M1bkzk1k=1N1akzk=B(z)A(z)

Structures for Non Recursive systems

Impulse response: h[n]=k=0M1hkδ[nk] with hk=bk Direct form:H(z)=n=0M1hkzk Cascadeform:H(z)=Ck=1M1(1αkz1)H(z)=Ck=1Ms(1+β1,kz1+β2,kz2)

Structures for Recursive systems

Direct form I:H(z)=B(z)1A(z)Direct form II:H(z)=1A(z)B(z)Cascade:H(z)=Ck=1max{N1,M1}1βkz11αkz1Parallel(N>M,αiαk):H(z)=k=1N1Ck1αkz1

Transposition theorem

  1. Reverse direction of all branches.
  2. Change branch points ()into summation nodes ()and vice versa.
  3. Interchange the input (x[n]) and output (y[n]).

Linear-phase filter

H(ejθ)=|H(ejθ)|ejφ{H(ejθ)}φ{H(ejθ)}=cθ+απ2with constant c and α{0,±1}.

  • Exact linear phase only with even/odd symmetry FIR.
  • Only complex conjugated mirrored or on unit circle.

All-pass filter

|Hap(ejθ)|=1θ

Minimum and maximum phase system

Hmin(z): All zeros inside unit circle

Hmax(z): All zeros outside unit circle

Factoring: Product All pass and Minimum Phase filter

H(z)=Hap(z)Hmin(z)

Comb filter

G(z)=H(zN)

Averaging filter

h[n]=1Mk=0M1δ[nk]H(ejθ)=1Msin(M2θ)sin(12θ)ejM12θ H(z)=1Mn=0M1(1αnz1)11z1with zeros αn=ejn2πM

Frequency sampling filter

h[n]=k=0M1hkδ[nk]IDFT1Ml=0M1H[l]ej(2π/M)lk H(z)={1M(1zM)}{l=0M1H[l](1αlz1)}with αl=ejl2πM

Lattice filter

A lattice filter consists of a number of cascaded modules and each module has the same structure. The structure has low sensitivity to parameter quantization effects, and a simple criterion for ensuring filter stability.