Download presentation
Presentation is loading. Please wait.
Published byOlivia Crawford Modified over 9 years ago
1
DSP-CIS Chapter-8: Maximally Decimated PR-FBs Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven marc.moonen@esat.kuleuven.be www.esat.kuleuven.be/stadius/
2
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 2 : Preliminaries Filter bank (FB) set-up and applications Perfect reconstruction (PR) problem Multi-rate systems review (=10 slides) Example: Ideal filter bank (=10 figures) : Maximally Decimated PR-FBs Example: DFT/IDFT filter bank Perfect reconstruction theory Paraunitary PR-FBs : DFT-Modulated FBs Maximally decimated DFT-modulated FBs Oversampled DFT-modulated FBs : Special Topics Cosine-modulated FBs Non-uniform FBs & Wavelets Frequency domain filtering Chapter-7 Chapter-8 Chapter-9 Chapter-10 Part-III : Filter Banks
3
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 3 General `subband processing’ set-up (Chapter-7) : PS: subband processing ignored in filter bank design Refresh (1) subband processing 3 H0(z) subband processing 3 H1(z) subband processing 3 H2(z) 3 3 3 3 subband processing 3 H3(z) IN F0(z) F1(z) F2(z) F3(z) + OUT downsampling/decimation analysis bank synthesis bank upsampling/expansion
4
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 4 PS: analysis filters H n (z) are also decimation/anti-aliasing filters, to avoid aliasing in subband signals after decimation (downsampling) PS: synthesis filters G n (z) are also interpolation filters, to remove images after expanders (upsampling) downsampling/decimationupsampling/expansion Refresh (2) subband processing 3 H0(z) subband processing 3 H1(z) subband processing 3 H2(z) 3 3 3 3 subband processing 3 H3(z) IN F0(z) F1(z) F2(z) F3(z) + OUT
5
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 5 Refresh (3) Assume subband processing does not modify subband signals (e.g. lossless coding/decoding) The overall aim would then be to have y[k]=u[k-d], i.e. that the output signal is equal to the input signal up to a certain delay But: downsampling introduces ALIASING… subband processing 3 H0(z) subband processing 3 H1(z) subband processing 3 H2(z) 3 3 3 3 subband processing 3 H3(z) IN F0(z) F1(z) F2(z) F3(z) + OUT y[k]=u[k-d]?
6
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 6 Refresh (4) Question : Can y[k]=u[k-d] be achieved in the presence of aliasing ? Answer : Yes !! PERFECT RECONSTRUCTION banks with synthesis bank designed to remove aliasing effects ! subband processing 3 H0(z) subband processing 3 H1(z) subband processing 3 H2(z) 3 3 3 3 subband processing 3 H3(z) IN F0(z) F1(z) F2(z) F3(z) + OUT y[k]=u[k-d]?
7
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 7 Refresh (5) Two design issues : ✪ Filter specifications, e.g. stopband attenuation, passband ripple, transition band, etc. (for each (analysis) filter!) ✪ Perfect reconstruction (PR) property. Challenge will be in addressing these two design issues at once (‘PR only’ (without filter specs) is easy, see next slides) This chapter : Maximally decimated FB’s :
8
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 8 Example: DFT/IDFT Filter Bank Basic question is..: Downsampling introduces ALIASING, then how can PERFECT RECONSTRUCTION (PR) (i.e. y[k]=u[k-d]) be achieved ? Next slides provide simple PR-FB example, to demonstrate that PR can indeed (easily) be obtained Discover the magic of aliasing-compensation…. G1(z) G2(z) G3(z) G4(z) + output = input 4 H1(z) output = input 4 H2(z) output = input 4 H3(z) 4 4 4 4 output = input 4 H4(z) u[k] y[k]=u[k-d]?
9
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 9 Example: DFT/IDFT Filter Bank First attempt to design a perfect reconstruction filter bank - Starting point is this : convince yourself that y[k]=u[k-3] … 4 4 4 4 u[k] 4 4 4 4 + + + u[k-3] u[0],0,0,0,u[4],0,0,0,... u[-1],u[0],0,0,u[3],u[4],0,0,... u[-2],u[-1],u[0],0,u[2],u[3],u[4],0,... u[-3],u[-2],u[-1],u[0],u[1],u[2],u[3],u[4],...
10
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 10 Example: DFT/IDFT Filter Bank - An equivalent representation is... As y[k]=u[k-d], this can already be viewed as a (1 st ) perfect reconstruction filter bank (with lots of aliasing in the subbands!) All analysis/synthesis filters are seen to be pure delays, hence are not frequency selective (i.e. far from ideal case with ideal bandpass filters….) PS: Transmux version (TDM) see Chapter-7 4 4 4 4 + u[k-3] 4 4 4 4 u[k]
11
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 11 Example: DFT/IDFT Filter Bank -now insert DFT-matrix (discrete Fourier transform) and its inverse (I-DFT)... as this clearly does not change the input-output relation (hence perfect reconstruction property preserved) 4 4 4 4 + u[k-3] 4 4 4 4 u[k]
12
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 12 Example: DFT/IDFT Filter Bank - …and reverse order of decimators/expanders and DFT- matrices (not done in an efficient implementation!) : =analysis filter bank =synthesis filter bank This is the `DFT/IDFT filter bank’. It is a first (or 2 nd ) example of a maximally decimated perfect reconstruction filter bank ! 4 4 4 4 u[k] 4 4 4 4 + u[k-3]
13
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 13 Example: DFT/IDFT Filter Bank What do analysis filters look like? (N-channel case) This is seen/known to represent a collection of filters Ho(z),H1(z),..., each of which is a frequency shifted version of Ho(z) : i.e. the H n are obtained by uniformly shifting the `prototype’ Ho over the frequency axis. u[k] : :
14
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 14 Example: DFT/IDFT Filter Bank The prototype filter Ho(z) is a not-so-great lowpass filter with significant sidelobes. Ho(z) and Hi(z)’s are thus far from ideal lowpass/bandpass filters. Hence (maximal) decimation introduces significant ALIASING in the decimated subband signals Still, we know this is a PERFECT RECONSTRUCTION filter bank (see construction previous slides), which means the synthesis filters can apparently restore the aliasing distortion. This is remarkable! Other perfect reconstruction banks : read on.. Ho(z)H1(z) N=4 H3(z)H2(z)
15
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 15 Example: DFT/IDFT Filter Bank Synthesis filters ? synthesis filters are (roughly) equal to analysis filters… PS: Efficient DFT/IDFT implementation based on FFT algorithm (`Fast Fourier Transform’). + *(1/N) N=4 : :
16
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 16 Perfect Reconstruction Theory Now comes the hard part…(?) ✪ 2-channel case: Examples… ✪ N-channel case: Polyphase decomposition based approach
17
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 17 Perfect Reconstruction : 2-Channel Case It is proved that... (try it!) U(-z) represents aliased signals, hence A(z) referred to as `alias transfer function’’. T(z) referred to as `distortion function’ (amplitude & phase distortion). H0(z) H1(z) 2 2 u[k]2 2 F0(z) F1(z) + y[k]
18
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 18 Perfect Reconstruction : 2-Channel Case Requirement for `alias-free’ filter bank : If A(z)=0, then Y(z)=T(z).U(z), hence the complete filter bank behaves as a linear time invariant (LTI) system (despite up- & downsampling)! Requirement for `perfect reconstruction’ filter bank (= alias-free + distortion-free): H0(z) H1(z) 2 2 u[k]2 2 F0(z) F1(z) + y[k]
19
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 19 Perfect Reconstruction : 2-Channel Case A first attempt is as follows….. : so that For the real coefficient case, i.e. which means the amplitude response of H1 is the mirror image of the amplitude response of Ho with respect to the quadrature frequency hence the name `quadrature mirror filter’ (QMF) H0(z) H1(z) 2 2 u[k]2 2 F0(z) F1(z) + y[k]
20
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 20 Perfect Reconstruction : 2-Channel Case `quadrature mirror filter’ (QMF) : hence if Ho (=Fo) is designed to be a good lowpass filter, then H1 (=-F1) is a good high-pass filter. H0(z) H1(z) 2 2 u[k]2 2 F0(z) F1(z) + y[k] HoH1
21
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 21 Perfect Reconstruction : 2-Channel Case A 2nd (better) attempt is as follows: [Smith & Barnwell 1984] [Mintzer 1985] i) so that (alias cancellation) ii) `power symmetric’ Ho(z) (real coefficients case) iii) so that (distortion function) ignore the details! This is a so-called`paraunitary’ perfect reconstruction bank (see below), based on a lossless system Ho,H1 : This is already pretty complicated…
22
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 22 Perfect Reconstruction : N-Channel Case It is proved that... (try it!) 2nd term represents aliased signals, hence all `alias transfer functions’ A n (z) should ideally be zero (for all n ) T(z) is referred to as `distortion function’ (amplitude & phase distortion). For perfect reconstruction, T(z) should be a pure delay H2(z) H3(z) 4 4 4 4 F2(z) F3(z) y[k] H0(z) H1(z) 4 4 u[k] 4 4 F0(z) F1(z) + Sigh !!…
23
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 23 Perfect Reconstruction : N-Channel Case A simpler analysis results from a polyphase description : n-th row of E(z) has polyphase components of H n (z) n-th column of R(z) has polyphase components of F n (z) 4 4 4 4 + u[k-3] u[k] 4 4 4 4 Do not continue until you understand how formulae correspond to block scheme!
24
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 24 Perfect Reconstruction : N-Channel Case With the `noble identities’, this is equivalent to: Necessary & sufficient conditions for i) alias cancellation ii) perfect reconstruction are then derived, based on the product 4 4 4 4 + u[k-3] u[k] 4 4 4 4
25
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 25 Perfect Reconstruction : N-Channel Case Necessary & sufficient condition for alias-free FB is…: a pseudo-circulant matrix is a circulant matrix with the additional feature that elements below the main diagonal are multiplied by 1/z, i.e...and first row of R(z).E(z) are polyphase cmpnts of `distortion function’ T(z) read on-> 4 4 4 4 + u[k-3] u[k] 4 4 4 4
26
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 26 Perfect Reconstruction : N-Channel Case PS: This can be explained as follows: first, previous block scheme is equivalent to (cfr. Noble identities) then (iff R.E is pseudo-circ.)… so that finally.. 4 4 4 4 + u[k] 4 4 4 4 4 4 4 4 4 + T(z)*u[k-3] 4 4 4 u[k]
27
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 27 Perfect Reconstruction : N-Channel Case Necessary & sufficient condition for PR is…: (i.e. where T(z)=pure delay, hence p r (z)=pure delay, and all other p n (z)=0) I n is nxn identity matrix, r is arbitrary Example (r=0) : for conciseness, will use this from now on ! 4 4 4 4 + u[k-3] u[k] 4 4 4 4
28
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 28 Perfect Reconstruction : N-Channel Case Example : DFT/IDFT Filter bank : E(z)=F, R(z)=F^-1 Design Procedure: 1. Design all analysis filters (see Part-II). 2. This determines E(z) (=polyphase matrix). 3. Assuming E(z) can be inverted (?), synthesis filters are (delta to make synthesis causal) Will consider only FIR analysis filters, leading to simple polyphase decompositions (see Chapter-7). However, FIR E(z) generally leads to IIR R(z), where stability is a concern…
29
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 29 Perfect Reconstruction : N-Channel Case PS: Inversion of matrix transfer functions ?… –The inverse of a scalar (i.e. 1-by-1 matrix) FIR transfer function is always IIR (except for contrived examples) – The inverse of an N-by-N (N>1) FIR transfer function can be FIR
30
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 30 Perfect Reconstruction : N-Channel Case PS: Inversion of matrix transfer functions ?… Compare this to inversion of integers and integer matrices: –The inverse of an integer is always non-integer (except for `E=1’) – The inverse of an N-by-N (N>1) integer matrix can be integer
31
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 31 Perfect Reconstruction : N-Channel Case Question: Can we build FIR E(z)’s that have an FIR inverse? Answer: YES, `unimodular’ E(z)’s = matrices with {determinant=constant*z^-d} e.g. where the E l ’s are constant (≠ a function of z) invertible matrices Example: E(z) = FIR LPC lattice, see Chapter-5 (not a good filter bank though… explain!) Design Procedure: optimize E l ’s to obtain filter specs (ripple, etc.), etc.. all E(z)’s FIR E(z)’s FIR unimodular E(z)’s
32
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 32 Perfect Reconstruction : N-Channel Case Question: Can we build unimodular E(z)’s with additional `special properties’, where inverses are avoided so that R(z) is trivially obtained and its specs are better controlled? (compare with (real) orthogonal or (complex) unitary matrices, where inverse is equal to (Hermitian) transpose) Answer: YES, `paraunitary‘ E(z)’s See next slides…. (start by comparing p.37 to p.31) all E(z)’s FIR E(z)’s FIR unimodular E(z)’s FIR paraunitary E(z)’s
33
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 33 Paraunitary PR Filter Banks Review : `PARACONJUGATION’ For a scalar transfer function H(z), paraconjugate is i.e it is obtained from H(z) by - replacing z by 1/z - replacing each coefficient by its complex conjugate Example : On the unit circle, paraconjugate corresponds to complex conjugate paraconjugate = `analytic extension’ of unit-circle complex conjugate
34
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 34 Paraunitary PR Filter Banks Review : `PARACONJUGATION’ For a matrix transfer function H(z), paraconjugate is i.e it is obtained from H(z) by - transposition - replacing z by 1/z - replacing each coefficient by is complex conjugate Example : On the unit circle, paraconjugate corresponds to conjugate transpose(*) paraconjugate = `analytic extension’ of unit-circle conjugate transpose(*) (*) =Hermitian transpose
35
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 35 Paraunitary PR Filter Banks Review : `PARAUNITARY matrix transfer functions’ Matrix transfer function H(z), is paraunitary if (possibly up to a scalar) For a square matrix function A paraunitary matrix is unitary on the unit circle paraunitary = `analytic extension’ of unit-circle unitary. PS: if Hx(z) and Hy(z) are paraunitary, then Hx(z).Hy(z) is paraunitary
36
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 36 Paraunitary PR Filter Banks - If E(z) is paraunitary then perfect reconstruction is obtained with (delta to make synthesis causal) If E(z) is FIR, then R(z) is also FIR !! (cfr. definition paraconjugation) 4 4 4 4 + u[k-3] u[k] 4 4 4 4
37
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 37 Paraunitary PR Filter Banks Question: Can we build paraunitary FIR E(z) (with FIR inverse R(z))? Answer : Yes! where the E l ’s are constant unitary matrices Example: 1-input/2-output FIR lossless lattice, see Chapter-5 Example: 1-input/M-output FIR lossless lattice, see Chapter-5 Design Procedure : optimize unitary E l ’s (e.g. rotation angles in lossless lattices) to obtain analysis filter specs, etc..
38
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 38 Paraunitary PR Filter Banks Properties of paraunitary PR filter banks: (proofs omitted) If polyphase matrix E(z) (and hence E(z^N)) is paranunitary, and then vector transfer function H(z) (=all analysis filters ) is paraunitary If vector transfer function H(z) is paraunitary, then its components are power complementary (lossless 1-input/N-output system) (see Chapter 5)
39
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 39 Paraunitary PR Filter Banks Properties of paraunitary PR filter banks (continued): Synthesis filters are obtained from analysis filters by conjugating the analysis filter coefficients + reversing the order (cfr page 34): Hence magnitude response of synthesis filter F n is the same as magnitude response of corresponding analysis filter H n : Hence, as analysis filters are power complementary (cfr. supra), synthesis filters are also power complementary Examples: DFT/IDFT bank, 2-channel case (p. 21) Great properties/designs....
40
DSP-CIS / Chapter-8: Maximally Decimated PR-FBs / Version 2014-2015 p. 40 Conclusions Have derived general conditions for perfect reconstruction, based on polyphase matrices for analysis/synthesis bank Seen example of general PR filter bank design : PR/FIR/Paraunitary FBs, e.g. based on FIR lossless lattice filters Sequel = other (better) PR structures Chapter 9: Modulated filter banks Chapter 10: Oversampled filter banks, etc.. Reference: `Multirate Systems & Filter Banks’, P.P. Vaidyanathan Prentice Hall 1993.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.