DSP-CIS Chapter-7: Introduction to Multi-rate Systems & Filter Banks

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

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.
Time-Frequency Analysis Analyzing sounds as a sequence of frames
August 2004Multirate DSP (Part 2/2)1 Multirate DSP Digital Filter Banks Filter Banks and Subband Processing Applications and Advantages Perfect Reconstruction.
University of Ioannina - Department of Computer Science Wavelets and Multiresolution Processing (Background) Christophoros Nikou Digital.
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
1 Audio Compression Techniques MUMT 611, January 2005 Assignment 2 Paul Kolesnik.
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.
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.
Multirate Digital Signal Processing
Fundamental of Wireless Communications ELCT 332Fall C H A P T E R 6 SAMPLING AND ANALOG-TO-DIGITAL CONVERSION.
Image (and Video) Coding and Processing Lecture 2: Basic Filtering Wade Trappe.
Over-Sampling and Multi-Rate DSP Systems
T Digital Signal Processing and Filtering
Chapter 4: Sampling of Continuous-Time Signals
FT Representation of DT Signals:
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
… Representation of a CT Signal Using Impulse Functions
Formatting and Baseband Modulation
Dr Martin Hendry, Dept of Physics and Astronomy University of Glasgow, UK Astronomical Data Analysis I 11 lectures, beginning autumn 2008.
Discrete-Time and System (A Review)
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.
UNIT - 4 ANALYSIS OF DISCRETE TIME SIGNALS. Sampling Frequency Harry Nyquist, working at Bell Labs developed what has become known as the Nyquist Sampling.
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.
DSP-CIS Chapter 10: Cosine-Modulated Filter Banks & Special Topics
Audio Compression Usha Sree CMSC 691M 10/12/04. Motivation Efficient Storage Streaming Interactive Multimedia Applications.
Wavelets and Filter Banks
Digital Signal Processing II Lecture 9: Filter Banks - Special Topics Marc Moonen Dept. E.E./ESAT, K.U.Leuven
111 Lecture 2 Signals and Systems (II) Principles of Communications Fall 2008 NCTU EE Tzu-Hsien Sang.
DSP-CIS Chapter-8: Maximally Decimated PR-FBs Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven
MPEG Audio coders. Motion Pictures Expert Group(MPEG) The coders associated with audio compression part of MPEG standard are called MPEG audio compressor.
README Lecture notes will be animated by clicks. Each click will indicate pause for audience to observe slide. On further click, the lecturer will explain.
System Function of discrete-time systems
Unit-V DSP APPLICATIONS. UNIT V -SYLLABUS DSP APPLICATIONS Multirate signal processing: Decimation Interpolation Sampling rate conversion by a rational.
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/
Chapter 2 Signals & Systems Review
Channel Spectral Characteristics Some Polyphase Filter Options.
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
Software Defined Radio PhD Program on Electrical Engineering Sampling Theory and Quantization José Vieira.
DSP-CIS Part-IV : Filter Banks & Subband Systems Chapter-10 : Filter Bank Preliminaries Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven
Frequency Domain Coding of Speech 主講人:虞台文. Content Introduction The Short-Time Fourier Transform The Short-Time Discrete Fourier Transform Wide-Band Analysis/Synthesis.
P. 1 DSP-II Digital Signal Processing II Lecture 6: Maximally Decimated Filter Banks Marc Moonen Dept. E.E./ESAT, K.U.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.
Continuous-time Signal Sampling
Topics 1 Specific topics to be covered are: Discrete-time signals Z-transforms Sampling and reconstruction Aliasing and anti-aliasing filters Sampled-data.
Single carrier  Multicarrier  OFDM Single Carrier - ISI, Receiver complexity  ISI, Bit rate limitation Multi-carrier - Negligible ISI, Approximately.
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
VLSI SP Course 2001 台大電機吳安宇 Multirate Processing of Digital Signals: Fundamentals For NTUEE VLSI Signal Processing Course Instructor: 吳安宇教授.
EEE4176 Applications of Digital Signal Processing
Software Defined Radio PhD Program on Electrical Engineering
Applications of Multirate Signal Processing
Sampling rate conversion by a rational factor
Digital Signal Processing II Lecture 8: Filter Banks - Special Topics
Quadrature-Mirror Filter Bank
DSP-CIS Chapter 8: Modulated Filter Banks
Govt. Polytechnic Dhangar(Fatehabad)
DSP-CIS Part-I / Chapter-2 : Signals & Systems Review
Presentation transcript:

DSP-CIS Chapter-7: Introduction to Multi-rate Systems & Filter Banks Marc Moonen Dept. E.E./ESAT, KU Leuven marc.moonen@esat.kuleuven.be www.esat.kuleuven.be/scd/

Overview Filter banks introduction Introduction Applications Aliasing & perfect reconstruction Review of multi-rate systems DFT/IDFT filter bank Maximally decimated DFT-modulated filter banks Other…

Filter Banks Introduction What we have in mind is this… : - Signals split into frequency channels/subbands - Per-channel/subband processing - Reconstruction : synthesis of processed signal - Applications : see below (audio coding etc.) - In practice, this is implemented as a multi-rate structure for higher efficiency (see next slides) subband processing H1(z) H2(z) H3(z) H4(z) IN + OUT H1 H4 H3 H2

Filter Banks Introduction Step-1: Analysis filter bank - collection of N filters (`analysis filters’, `decimation filters’) with a common input signal - ideal (but non-practical) frequency responses = ideal bandpass filters - typical frequency responses (overlapping, non-overlapping,…) H1 H4 H3 H2 H1(z) H2(z) H3(z) H4(z) IN N=4

Filter Banks Introduction Step-2: Decimators (downsamplers) - To increase efficiency, subband sampling rate is reduced by factor D (= Nyquist (bandpass) sampling theorem) - Maximally decimated filter banks (=critically downsampled): # subband samples= # fullband samples this sounds like maximum efficiency, but aliasing (see below)! - Oversampled filter banks (=non-critically downsampled): # subband samples> # fullband samples D=N D<N N=4 D=3 H1(z) 3 IN H2(z) 3 H3(z) 3 PS: 3-fold downsampling = ‘remove every 2nd and 3rd sample’ (see below) H4(z) 3

Filter Banks Introduction Step-3: Subband processing - Example : coding (=compression) + (transmission or storage) + decoding - Filter bank design mostly assumes subband processing has `unit transfer function’ (output signals=input signals), i.e. mostly ignores presence of subband processing N=4 D=3 H1(z) 3 subband processing IN H2(z) subband processing H3(z) subband processing H4(z) subband processing

Filter Banks Introduction Step-4: Expanders (upsamplers) - restore original fullband sampling rate by D-fold upsampling PS: 3-fold upsampling = ‘insert 2 zeros in between every two samples’ (see below) subband processing 3 H1(z) H2(z) H3(z) H4(z) IN N=4 D=3

Filter Banks Introduction Step-5: Synthesis filter bank - upsampling has to be followed by (interpolation) filtering (see p.22) - collection of N `synthesis’ (`interpolation’) filters, with a `common’ (summed) output signal - frequency responses : preferably `matched’ to frequency responses of the analysis filters, e.g., to provide perfect reconstruction (see below) G1 G4 G3 G2 G1(z) G2(z) G3(z) G4(z) + OUT subband processing 3 H1(z) H2(z) H3(z) H4(z) IN N=4 D=3

Aliasing versus Perfect Reconstruction - 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, especially so in maximally decimated (but also in non-maximally decimated) filter banks G1(z) G2(z) G3(z) G4(z) + output = input 3 H1(z) H2(z) H3(z) H4(z) N=4 D=3 u[k] y[k]=u[k-d]?

Aliasing versus Perfect Reconstruction 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 ! G1(z) G2(z) G3(z) G4(z) + output = input 3 H1(z) H2(z) H3(z) H4(z) N=4 D=3 u[k] y[k]=u[k-d]?

Filter Banks Applications Subband coding : Coding = Fullband signal split into subbands & downsampled subband signals separately encoded (e.g. subband with smaller energy content encoded with fewer bits) Decoding = reconstruction of subband signals, then fullband signal synthesis (expanders + synthesis filters) Example : Image coding (e.g. wavelet filter banks) Example : Audio coding e.g. digital compact cassette (DCC), MiniDisc, MPEG, ... Filter bandwidths and bit allocations chosen to further exploit perceptual properties of human hearing (perceptual coding, masking, etc.)

Filter Banks Applications Subband adaptive filtering : - See Chapter-8 - Example : Acoustic echo cancellation Adaptive filter models (time-varying) acoustic echo path and produces a copy of the echo, which is then subtracted from microphone signal. = difficult problem ! ✪ long acoustic impulse responses ✪ time-varying

Filter Banks Applications - Subband filtering = N (simpler?) subband modeling problems instead of one (more complicated?) fullband modeling problem - Perfect reconstruction guarantees distortion-free desired near-end speech signal 3 H1(z) H2(z) H3(z) H4(z) + G1(z) G2(z) G3(z) G4(z) OUT ad.filter

Filter Banks Applications Transmultiplexers : Frequency Division Multiplexing (FDM) in digital communications - N different source signals multiplexed into 1 transmit signal by expanders & synthesis filters (ps: here interpolation factor ) - Received signal decomposed into N source signals by analysis filters & decimators - Again ideal filters = ideal bandpass filters D>=N 5 G1(z) G2(z) G3(z) G4(z) + H1(z) H2(z) H3(z) H4(z) transmission channel signal-1 signal-2 signal-3 signal-4

Filter Banks Applications - Non-ideal synthesis & analysis filters result in aliasing as well as CROSS-TALK between channels, i.e. each reconstructed signal contains unwanted contributions from other signals - Analysis & synthesis are reversed here, but similar perfect reconstruction theory (try it!) (where analysis bank removes cross-talk introduced by synthesis bank, if transmission channel = distortion free)

Filter Banks Applications PS: special case is Time Division Multiplexing (TDM), if synthesis and analysis filters are replaced by delay operators (and N=D) PS: special case is Code Division Multiplexing (CDMA) 4 + transmission channel u1[k],u1[k+1] u2[k],u2[k+1] u3[k],u3[k+1] u4[k],u4[k+1] u1[k],u2[k],u3[k],u4[k],u1[k+1],u2[k+1]... u1[k-1],u1[k] u2[k-1],u2[k] u3[k-1],u3[k] u4[k-1],u4[k] 0,0,0,u4[k],0,0,0,u4[k+1]... PS: another special case is OFDM… explain! What are Gi(z) & Hi(z) ?

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) 2-fold upsampling: 1,0,2,0,3,0,4,0,5,0... D u[0], u[N], u[2D]... u[0],u[1],u[2]... D u[0],0,..0,u[1],0,…,0,u[2]... u[0], u[1], u[2],...

Review of Multi-rate Systems 2/10 Z-transform (frequency domain) analysis of expander `expansion in time domain ~ compression in frequency domain’ D u[0],0,..0,u[1],0,…,0,u[2]... u[0], u[1], u[2],... D `images’ D

Review of Multi-rate Systems 2bis/10 Z-transform (frequency domain) analysis of expander expander mostly followed by `interpolation filter’ to remove images (and `interpolate the zeros’) interpolation filter can be low-/band-/high-pass D u[0],0,..0,u[1],0,…,0,u[2]... u[0], u[1], u[2],... 3 `images’ LP

Review of Multi-rate Systems 3/10 Z-transform (frequency domain) analysis of decimator `compression in time domain ~ expansion in frequency domain’ PS: Note that is periodic with period while is periodic with period The summation with d=0…D-1 restores the periodicity with period ! u[0],u[1],u[2]... D u[0], u[D], u[2D]... D d=2 d=0 d=1 3

Review of Multi-rate Systems 4/10 Z-transform (frequency domain) analysis of decimator decimation introduces ALIASING if input signal occupies frequency band larger than , hence mostly preceded by anti-aliasing (decimation) filter anti-aliasing filter can be low-/band-/high-pass u[0],u[1],u[2]... D u[0], u[N], u[2D]... d=2 d=0 d=1 LP 3

Review of Multi-rate Systems 5/10 Interconnection of multi-rate building blocks : identities also hold if all decimators are replaced by expanders D x a = D x a u1[k] D + u2[k] u1[k] + D = u2[k] u1[k] x D = u1[k] D x u2[k] u2[k] D

Review of Multi-rate Systems 6/10 `Noble identities’ (I) : (only for rational functions) Example : D=2 h[0],h[1],0,0,0,… = D u[k] y[k]

Review of Multi-rate Systems 7/10 `Noble identities’ (II) : (only for rational functions) Example : D=2 h[0],h[1],0,0,0,… u[k] y[k] u[k] y[k] D = D

Review of Multi-rate Systems 8/10 Application of `noble identities : efficient multi-rate realizations of FIR filters through… Polyphase decomposition: example : (2-fold decomposition) example : (3-fold decomposition) general: (D-fold decomposition)

Review of Multi-rate Systems 9/10 Polyphase decomposition: Example : efficient implementation of an FIR decimation filter i.e. all filter operations performed at the lowest rate H(z) u[k] + 2 u[k] = 2 2 +

Review of Multi-rate Systems 10/10 Polyphase decomposition: Example : efficient implementation of an FIR interpolation filter i.e. all filter operations performed at the lowest rate u[k] 2 + H(z) = u[k] 2 2 +

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…. y[k]=u[k-d]? H1(z) 4 output = input 4 G1(z) u[k] H2(z) 4 output = input 4 G2(z) + H3(z) 4 output = input 4 G3(z) H4(z) 4 output = input 4 G4(z)

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 u[k] + 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],...

DFT/IDFT Filter Bank - An equivalent representation is ... 4 As y[k]=u[k-d], this can already be viewed as a (1st) 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 p.16 4 + u[k-3] u[k]

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 + u[k-3] u[k]

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 2nd) example of a maximally decimated perfect reconstruction filter bank ! 4 4 + u[k-3] u[k]

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 Hn are obtained by uniformly shifting the `prototype’ Ho over the frequency axis. u[k] : :

DFT/IDFT Filter Bank The prototype filter Ho(z) is a not-so-great H2(z) H1(z) Ho(z) H3(z) 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.. N=4

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 + : :

Maximally Decimated DFT-Modulated FBs Uniform versus non-uniform (analysis) filter bank: N-channel uniform FB: i.e. frequency responses are uniformly shifted over the unit circle Ho(z)= `prototype’ filter (=one and only filter that has to be designed) Time domain equivalent is: non-uniform = everything that is not uniform e.g. for speech & audio applications (cfr. human hearing) example: wavelet filter banks H0(z) H1(z) H2(z) H3(z) IN H0 H3 H2 H1 uniform non-uniform

Maximally Decimated DFT-Modulated FBs Uniform filter banks can be realized cheaply based on polyphase decompositions + DFT(FFT) (hence name `DFT-modulated FB) 1. Analysis FB If (N-fold polyphase decomposition) then H0(z) H1(z) H2(z) H3(z) u[k] i.e.

Maximally Decimated DFT-Modulated FBs where F is NxN DFT-matrix (and `*’ is complex conjugate) This means that filtering with the Hn’s can be implemented by first filtering with polyphase components and then DFT i.e.

Maximally Decimated DFT-Modulated FBs conclusion: economy in… implementation complexity (for FIR filters): N filters for the price of 1, plus DFT (=FFT) ! design complexity: Design `prototype’ Ho(z), then other Hn(z)’s are automatically `co-designed’ (same passband ripple, etc…) ! i.e. u[k]

Maximally Decimated DFT-Modulated FBs Special case: DFT-filter bank, if all En(z)=1 u[k] Ho(z) H1(z)

Maximally Decimated DFT-Modulated FBs PS: with F instead of F* (see p.32), only filter ordering is changed u[k] Ho(z) H1(z)

Maximally Decimated DFT-Modulated FBs DFT-modulated analysis FB + maximal decimation u[k] 4 4 u[k] = = efficient realization !

Maximally Decimated DFT-Modulated FBs 2. Synthesis FB: similar.. y[k] +

Maximally Decimated DFT-Modulated FBs Expansion + DFT-modulated synthesis FB : 4 + + + y[k] 4 + = = efficient realization ! y[k]

Maximally Decimated DFT-Modulated FBs How to achieve Perfect Reconstruction (PR) with maximally decimated DFT-modulated FBs? polyphase components of synthesis bank prototype filter are obtained by inverting polyphase components of analysis bank prototype filter y[k] 4 + u[k]

Maximally Decimated DFT-Modulated FBs y[k] 4 + u[k] Design Procedure : 1. Design prototype analysis filter Ho(z) (see Chapter-3). 2. This determines En(z) (=polyphase components). 3. Assuming all En(z) can be inverted (?), choose synthesis filters

Maximally Decimated DFT-Modulated FBs Will consider only FIR prototype analysis filters, leading to simple polyphase decompositions. However, FIR En(z)’s generally again lead to IIR Rn(z)’s, where stability is a concern… Hence need for other/better design procedures

Other FBs… Para-unitary perfect reconstruction filter banks Cosine-modulated perfect reconstruction filter banks Non-critically downsampled DFT-modulated perfect recinstruction filter banks Non-uniform filter banks Wavelet filter banks Etc…