P. 1 DSP-II Digital Signal Processing II Lecture 6: Maximally Decimated Filter Banks Marc Moonen Dept. E.E./ESAT, K.U.Leuven

Slides:



Advertisements
Similar presentations
Digital Filter Banks The digital filter bank is set of bandpass filters with either a common input or a summed output An M-band analysis filter bank is.
Advertisements

DSP-CIS Chapter-5: Filter Realization
Chapter 4 sampling of continous-time signals 4.5 changing the sampling rate using discrete-time processing 4.1 periodic sampling 4.2 discrete-time processing.
August 2004Multirate DSP (Part 2/2)1 Multirate DSP Digital Filter Banks Filter Banks and Subband Processing Applications and Advantages Perfect Reconstruction.
Multistage Implementation Problem: There are cases in which the filter requirements call for a digital filter of high complexity, in terms of number of.
Filtering Filtering is one of the most widely used complex signal processing operations The system implementing this operation is called a filter A filter.
1 Copyright © S. K. Mitra Quadrature-Mirror Filter Bank In many applications, a discrete-time signal x[n] is split into a number of subband signals by.
1 Copyright © 2001, S. K. Mitra Polyphase Decomposition The Decomposition Consider an arbitrary sequence {x[n]} with a z-transform X(z) given by We can.
Wavelet Transform A very brief look.
4.4.3 Interpolation Using Unchanged Key Values It is often necessary to retain the values from the input sequence y(m) in the interpolated x(n). without.
DSP-CIS Chapter-7: Introduction to Multi-rate Systems & Filter Banks
Lecture 4: Sampling [2] XILIANG LUO 2014/10. Periodic Sampling  A continuous time signal is sampled periodically to obtain a discrete- time signal as:
AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters.
A matrix having a single row is called a row matrix. e.g.,
Relationship between Magnitude and Phase (cf. Oppenheim, 1999)
T Digital Signal Processing and Filtering
Chapter 4: Sampling of Continuous-Time Signals
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
H 0 (z) x(n)x(n) o(n)o(n) M G 0 (z) M + vo(n)vo(n) yo(n)yo(n) H 1 (z) 1(n)1(n) M G 1 (z) M v1(n)v1(n) y1(n)y1(n) fo(n)fo(n) f1(n)f1(n) y(n)y(n) Figure.
DSP-CIS Chapter-7: Filter Banks -Preliminaries
P. 1 DSP-II Digital Signal Processing II Lecture 5: Filter Banks - Preliminaries Marc Moonen Dept. E.E./ESAT, K.U.Leuven homes.esat.kuleuven.be/~moonen/
DSP-CIS Chapter-5: Filter Realization Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven
The Wavelet Tutorial: Part3 The Discrete Wavelet Transform
Tamal Bose, Digital Signal and Image Processing © 2004 by John Wiley & Sons, Inc. All rights reserved. Figure 5-1 (p. 321) Decimation by a factor of M.
Chapter 7 IIR Filter Design
DSP-CIS Chapter 10: Cosine-Modulated Filter Banks & Special Topics
Digital Signal Processing II Lecture 9: Filter Banks - Special Topics Marc Moonen Dept. E.E./ESAT, K.U.Leuven
DSP-CIS Chapter-8: Maximally Decimated PR-FBs Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven
IIR Filter design (cf. Shenoi, 2006) The transfer function of the IIR filter is given by Its frequency responses are (where w is the normalized frequency.
Digital Signal Processing FIR Filter Design
P. 1 DSP-II Digital Signal Processing II Lecture 3: Filter Realization Marc Moonen Dept. E.E./ESAT, K.U.Leuven homes.esat.kuleuven.ac.be/~moonen/
Professor A G Constantinides 1 Interpolation & Decimation Sampling period T, at the output Interpolation by m: Let the OUTPUT be [i.e. Samples exist at.
P. 1 DSP-II Digital Signal Processing II Lecture 7: Modulated Filter Banks Marc Moonen Dept. E.E./ESAT, K.U.Leuven homes.esat.kuleuven.be/~moonen/
DSP-CIS Chapter-7: Filter Banks -Preliminaries Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven
DSP-CIS Chapter-9: Modulated Filter Banks Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven /
P. 1 DSP-II Digital Signal Processing II Lecture 5: Filter Banks - Preliminaries Marc Moonen Dept. E.E./ESAT, K.U.Leuven homes.esat.kuleuven.be/~moonen/
Transform Analysis of LTI systems 主講人:虞台文. Content The Frequency Response of LTI systems Systems Characterized by Constant- Coefficient Difference Equations.
1 Lecture 4: March 13, 2007 Topic: 1. Uniform Frequency-Sampling Methods (cont.)
Subband Coding Jennie Abraham 07/23/2009. Overview Previously, different compression schemes were looked into – (i)Vector Quantization Scheme (ii)Differential.
DSP-CIS Part-IV : Filter Banks & Subband Systems Chapter-12 : Frequency Domain Filtering Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven
Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note.
Transform Analysis of LTI Systems Quote of the Day Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke Content and Figures.
DSP-CIS Part-IV : Filter Banks & Subband Systems Chapter-10 : Filter Bank Preliminaries Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven
Digital Signal Processing II Lecture 7: Maximally Decimated Filter Banks Marc Moonen Dept. E.E./ESAT, K.U.Leuven
Sub-Band Coding Multimedia Systems and Standards S2 IF Telkom University.
Topics 1 Specific topics to be covered are: Discrete-time signals Z-transforms Sampling and reconstruction Aliasing and anti-aliasing filters Sampled-data.
P. 1 DSP-II Digital Signal Processing II Lecture 3: Filter Realization Marc Moonen Dept. E.E./ESAT, K.U.Leuven homes.esat.kuleuven.ac.be/~moonen/
Digital Signal Processing Lecture 6 Frequency Selective Filters
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
Chapter 5. Transform Analysis of LTI Systems Section
Decimation & Interpolation (M=4) 0  /4  /4  /2  /4  /4  /2  /4  /4  /2  /4  M=4 M M Bandwidth -  /4 Figure 12 USBLSB.
Sampling Rate Conversion by a Rational Factor, I/D
DSP-CIS Chapter 6: Filter Banks - Preliminaries Marc Moonen Dept. E.E./ESAT, K.U.Leuven
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
IIR Filter design (cf. Shenoi, 2006)
EEE4176 Applications of Digital Signal Processing
Software Defined Radio PhD Program on Electrical Engineering
DCT – Wavelet – Filter Bank
Digital Signal Processing II Lecture 8: Filter Banks - Special Topics
Quick Review of LTI Systems
8. Stability, controllability and observability
Quadrature-Mirror Filter Bank
Chapter 7 Finite Impulse Response(FIR) Filter Design
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Simple Filters Comb Filters (Optional reading) Allpass Transfer.
DSP-CIS Chapter 8: Modulated Filter Banks
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Multirate Processing of Digital Signals: Fundamentals
DSP-CIS Part-I / Chapter-2 : Signals & Systems Review
Chapter 9 Advanced Topics in DSP
Digital Signal Processing II Lecture 3: Filter Realization
Presentation transcript:

p. 1 DSP-II Digital Signal Processing II Lecture 6: Maximally Decimated Filter Banks Marc Moonen Dept. E.E./ESAT, K.U.Leuven homes.esat.kuleuven.be/~moonen/

DSP-II p. 2 Version Lecture-6 Maximally Decimated Filter Banks Part-II : Filter Banks : Preliminaries Applications Intro perfect reconstruction filter banks (PR FBs) : Maximally decimated FBs Multi-rate systems review PR FBs Paraunitary PR FBs : Modulated FBs DFT-modulated FBs Cosine-modulated FBs : Special Topics Non-uniform FBs & Wavelets Oversampled DFT-modulated FBs Frequency domain filtering Lecture-5 Lecture-6 Lecture-7 Lecture-8

DSP-II p. 3 Version Lecture-6 Maximally Decimated Filter Banks PART-II : Filter Banks LECTURE-6 : Maximally decimated FBs `Interludium’: Review of multi-rate systems Perfect reconstruction (PR) FBs –2-channel case –M-channel case `Interludium’: Paraconjugation & paraunitary functions Paraunitary PR FBs

DSP-II p. 4 Version Lecture-6 Maximally Decimated Filter Banks Review of Multi-rate Systems 1/10 Decimation : decimator (downsampler) example : u[k]: 1,2,3,4,5,6,7,8,9,… 2-fold downsampling: 1,3,5,7,9,... Interpolation : expander (upsampler) example : u[k]: 1,2,3,4,5,6,7,8,9,… 2-fold upsampling: 1,0,2,0,3,0,4,0,5,0... N u[0], u[N], u[2N]... u[0],u[1],u[2]... N u[0],0,..0,u[1],0,…,0,u[2]...u[0], u[1], u[2],...

DSP-II p. 5 Version Lecture-6 Maximally Decimated Filter Banks Review of Multi-rate Systems 2/10 Z-transform (frequency domain) analysis of expander `expansion in time domain ~ compression in frequency domain’ expander mostly followed by `interpolation filter’ to remove images (and `interpolate the zeros) N u[0],0,..0,u[1],0,…,0,u[2]...u[0], u[1], u[2],... N 3 `images’

DSP-II p. 6 Version Lecture-6 Maximally Decimated Filter Banks Review of Multi-rate Systems 3/10 Z-transform (frequency domain) analysis of decimator decimation introduces ALIASING if input signal occupies frequency band larger than, for hence decimation mostly preceded by anti-aliasing (decimation) filter N N u[0], u[N], u[2N]... u[0],u[1],u[2]... i=0i=2i=1 3

DSP-II p. 7 Version Lecture-6 Maximally Decimated Filter Banks Review of Multi-rate Systems 4/10 Z-transform analysis of decimator (continued) - Note that is periodic with period while is periodic with period the summation with i=0…N-1 restores the periodicity with period ! - Example: N

DSP-II p. 8 Version Lecture-6 Maximally Decimated Filter Banks PS: Filter bank set-up revisited - analysis filters Hi(z) are also decimation (anti-aliasing) filters, to avoid aliased contributions in subband signals - synthesis filters Gi(z) are also interpolation filters, to remove images after expanders (upsampling) subband processing 3 H1(z) subband processing 3 H2(z) subband processing 3 H3(z) subband processing 3 H4(z) IN G1(z) G2(z) G3(z) G4(z) + OUT

DSP-II p. 9 Version Lecture-6 Maximally Decimated Filter Banks Review of Multi-rate Systems 5/10 Interconnection of multi-rate building blocks : identities also hold if all decimators are replaced by expanders N x a N x a = = = N + u2[k] N x u1[k] N + N u2[k] u1[k] N x N u2[k] u1[k]

DSP-II p. 10 Version Lecture-6 Maximally Decimated Filter Banks Review of Multi-rate Systems 6/10 `Noble identities’ (I) : (only for rational functions) Example : N=2 h[0],h[1],0,0,0,… =NN u[k] y[k]

DSP-II p. 11 Version Lecture-6 Maximally Decimated Filter Banks Review of Multi-rate Systems 7/10 `Noble identities’ (II) : (only for rational functions) Example : N=2 h[0],h[1],0,0,0,… =NN u[k] y[k]

DSP-II p. 12 Version Lecture-6 Maximally Decimated Filter Banks Review of Multi-rate Systems 8/10 Application of `noble identities : efficient multi-rate filter implementations through… Polyphase decomposition: example : (2-fold decomposition) example : (3-fold decomposition) general: (N-fold decomposition)

DSP-II p. 13 Version Lecture-6 Maximally Decimated Filter Banks Review of Multi-rate Systems 9/10 Polyphase decomposition: example : Efficient implementation of a decimation filter i.e. all filter operations performed at the lowest rate u[k] 2 + H(z) u[k] 2 + = 2

DSP-II p. 14 Version Lecture-6 Maximally Decimated Filter Banks Review of Multi-rate Systems 10/10 Polyphase decomposition: example : Efficient implementation of an interpolation filter i.e. all filter operations performed at the lowest rate = u[k] 2 + H(z) u[k] 2 + 2

DSP-II p. 15 Version Lecture-6 Maximally Decimated Filter Banks Refresh General `subband processing’ set-up: - analysis bank+ synthesis bank - multi-rate structure: down-sampling after analysis, up-sampling for synthesis - aliasing vs. ``perfect reconstruction” - applications: coding, (adaptive) filtering, transmultiplexers - PS: subband processing ignored in filter bank design subband processing 3 H0(z) subband processing 3 H1(z) subband processing 3 H2(z) subband processing 3 H3(z) IN F0(z) F1(z) F2(z) F3(z) + OUT

DSP-II p. 16 Version Lecture-6 Maximally Decimated Filter Banks Refresh Two design issues : - filter specifications, e.g. stopband attenuation, passband ripple, transition band, etc. (for each (analysis) filter!) - perfect reconstruction property. PS: Perfect reconstruction property as such is easily satisfied, if there aren’t any (analysis) filter specs, e.g. (see Lecture-5) …but this is not very useful/practical. Stringent filter specs. necessary for subband coding, etc. This lecture : Maximally decimated FB’s : u[k-3] u[k]

DSP-II p. 17 Version Lecture-6 Maximally Decimated Filter Banks Perfect Reconstruction : 2-Channel Case It is proved that... (try it!) U(-z) represents aliased signals, hence the `alias transfer function’ A(z) should ideally be zero T(z) is referred to as `distortion function’ (amplitude & phase distortion). For perfect reconstruction, T(z) should ideally be a pure delay H0(z) H1(z) 2 2 u[k]2 2 F0(z) F1(z) + y[k]

DSP-II p. 18 Version Lecture-6 Maximally Decimated Filter Banks 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): i) ii) H0(z) H1(z) 2 2 u[k]2 2 F0(z) F1(z) + y[k]

DSP-II p. 19 Version Lecture-6 Maximally Decimated Filter Banks Perfect Reconstruction : 2-Channel Case An initial choice is ….. : 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]

DSP-II p. 20 Version Lecture-6 Maximally Decimated Filter Banks 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

DSP-II p. 21 Version Lecture-6 Maximally Decimated Filter Banks Perfect Reconstruction : 2-Channel Case A 2nd (better) choice is: [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 : H0(z) H1(z) 2 2 u[k]2 2 F0(z) F1(z) + y[k] This is already pretty complicated…

DSP-II p. 22 Version Lecture-6 Maximally Decimated Filter Banks Perfect Reconstruction : M-Channel Case It is proved that... (try it!) 2nd term represents aliased signals, hence all `alias transfer functions’ Al(z) should ideally be zero (for all l ) H(z) is referred to as `distortion function’ (amplitude & phase distortion). For perfect reconstruction, H(z) should ideally be a pure delay H2(z) H3(z) F2(z) F3(z) y[k] H0(z) H1(z) 4 4 u[k] 4 4 F0(z) F1(z) + Sigh !!…

DSP-II p. 23 Version Lecture-6 Maximally Decimated Filter Banks Perfect Reconstruction : M-Channel Case A simpler analysis results from a polyphase description : i-th row of E(z) has polyphase components of Hi(z) i-th column of R(z) has polyphase components of Fi(z) u[k-3] u[k] Do not continue until you understand how formulae correspond to block scheme!

DSP-II p. 24 Version Lecture-6 Maximally Decimated Filter Banks Perfect Reconstruction : M-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 u[k-3] u[k]

DSP-II p. 25 Version Lecture-6 Maximally Decimated Filter Banks Perfect Reconstruction : M-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-> u[k-3] u[k]

DSP-II p. 26 Version Lecture-6 Maximally Decimated Filter Banks Perfect Reconstruction : M-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 u[k] T(z)*u[k-3] u[k]

DSP-II p. 27 Version Lecture-6 Maximally Decimated Filter Banks Perfect Reconstruction : M-Channel Case Hence necessary & sufficient condition for PR (where T(z)=pure delay): In is nxn identity matrix, r is arbitrary (Obvious) example : u[k-3] u[k]

DSP-II p. 28 Version Lecture-6 Maximally Decimated Filter Banks Perfect Reconstruction : M-Channel Case For conciseness, will use this from now on : - Procedure: 1. Design all analysis filters (see Part-I). 2. This determines E(z) (=polyphase matrix). 3. Assuming E(z) can be inverted (?), choose synthesis filters - Example : DFT/IDFT Filter bank (Lecture-5) : E(z)=F, R(z)=F^-1 - FIR E(z) generally leads to IIR R(z), where stability is a concern… u[k-3] u[k]

DSP-II p. 29 Version Lecture-6 Maximally Decimated Filter Banks Perfect Reconstruction : M-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

DSP-II p. 30 Version Lecture-6 Maximally Decimated Filter Banks Perfect Reconstruction : M-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

DSP-II p. 31 Version Lecture-6 Maximally Decimated Filter Banks Perfect Reconstruction : M-Channel Case Question: How can we find polynomial (FIR) matrices E(z) that have a FIR inverse? Answer: `Unimodular’ matrices (=matrices with determinant=constant*z^-d) Example: where the Ei’s are constant (=not a function of z) invertible matrices procedure : optimize Ei’s to obtain analysis filter specs (ripple, etc.)

DSP-II p. 32 Version Lecture-6 Maximally Decimated Filter Banks Perfect Reconstruction : M-Channel Case Question: Can we avoid direct inversion, e.g. through the usage FIR E(z) matrices with additional `special properties’ ? (compare with (real) orthogonal or (complex) unitary matrices, where inverse is equal to (hermitian) transpose) Answer: YES, `paraunitary’ matrices (=special class of FIR matrices with FIR inverse) See next slides…. Will focus on paraunitary E(z) leading to paraunitary PR filter banks

DSP-II p. 33 Version Lecture-6 Maximally Decimated Filter Banks Paraunitary PR Filter Banks Interludium : `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, paraconjugation corresponds to complex conjugation paraconjugation = `analytic extension’ of unit-circle conjugation

DSP-II p. 34 Version Lecture-6 Maximally Decimated Filter Banks Paraunitary PR Filter Banks Interludium : `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, paraconjugation corresponds to transpose conjugation paraconjugation = `analytic extension’ of unit-circle transpose conjugation

DSP-II p. 35 Version Lecture-6 Maximally Decimated Filter Banks Paraunitary PR Filter Banks Interludium : `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 H1(z) and H2(z) are paraunitary, then H1(z).H2(z) is paraunitary

DSP-II p. 36 Version Lecture-6 Maximally Decimated Filter Banks Paraunitary PR Filter Banks - If E(z) is paraunitary hence perfect reconstruction is obtained with If E(z) is FIR, then R(z) is also FIR !! (cfr. definition paraconjugation) u[k-3] u[k]

DSP-II p. 37 Version Lecture-6 Maximally Decimated Filter Banks Paraunitary PR Filter Banks Example: paraunitary FIR E(z) with FIR inverse R(z) where the Ei’s are constant unitary matrices Procedure : optimize unitary Ei’s to obtain analysis filter specs. ps: 2-channel case with real coefficients, then hence optimize phi’s... (=lossless lattice (!), see lecture-3) paraunitary

DSP-II p. 38 Version Lecture-6 Maximally Decimated Filter Banks Paraunitary PR Filter Banks Properties of paraunitary PR filter banks: 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 lecture 3 !!)

DSP-II p. 39 Version Lecture-6 Maximally Decimated Filter Banks Paraunitary PR Filter Banks Properties of paraunitary PR filter banks (continued): Synthesis filter coefficients are obtained by conjugating the analysis filter coefficients + reversing the order : Magnitude response of synthesis filter Fk is the same as magnitude response of corresponding analysis filter Hk: Analysis filters are power complementary (cfr. supra) Synthesis filters are power complementary example: DFT/IDFT bank, Lecture-5 example: 2-channel case, page 21 Great properties/designs.... (proofs omitted)

DSP-II p. 40 Version Lecture-6 Maximally Decimated Filter Banks Conclusions Have derived general conditions for perfect reconstruction, based on polyphase matrices for analysis/synthesis bank Seen example of general PR filter bank design : Paraunitary FIR PR FBs Sequel = other (better) PR structures Lecture 7: Modulated filter banks Lecture 8: Oversampled filter banks, etc.. Reference: `Multirate Systems & Filter Banks’, P.P. Vaidyanathan Prentice Hall 1993.