Multi-rate Signal Processing 3. The Polyphase Representation

Similar documents
Basic Multi-rate Operations: Decimation and Interpolation

Multi-rate Signal Processing 7. M-channel Maximally Decmiated Filter Banks

Review of Discrete-Time System

! Downsampling/Upsampling. ! Practical Interpolation. ! Non-integer Resampling. ! Multi-Rate Processing. " Interchanging Operations

Lecture 19 IIR Filters

LECTURE NOTES DIGITAL SIGNAL PROCESSING III B.TECH II SEMESTER (JNTUK R 13)

Quadrature-Mirror Filter Bank

EEL3135: Homework #4

Lecture 11 FIR Filters

ENEE630 ADSP RECITATION 5 w/ solution Ver

Digital Signal Processing Lecture 4

Digital Filter Structures. Basic IIR Digital Filter Structures. of an LTI digital filter is given by the convolution sum or, by the linear constant

Examples. 2-input, 1-output discrete-time systems: 1-input, 1-output discrete-time systems:

ECE503: Digital Signal Processing Lecture 6

R13 SET - 1

Multirate signal processing

DISCRETE-TIME SIGNAL PROCESSING

! Introduction. ! Discrete Time Signals & Systems. ! Z-Transform. ! Inverse Z-Transform. ! Sampling of Continuous Time Signals

Z Transform (Part - II)

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

Filter Banks II. Prof. Dr.-Ing. G. Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany

Multirate Digital Signal Processing

Filter Banks II. Prof. Dr.-Ing Gerald Schuller. Fraunhofer IDMT & Ilmenau Technical University Ilmenau, Germany

Filter Banks with Variable System Delay. Georgia Institute of Technology. Atlanta, GA Abstract

Interchange of Filtering and Downsampling/Upsampling

2. Typical Discrete-Time Systems All-Pass Systems (5.5) 2.2. Minimum-Phase Systems (5.6) 2.3. Generalized Linear-Phase Systems (5.

Lecture 2 Discrete-Time LTI Systems: Introduction

Implementation of Discrete-Time Systems

(Refer Slide Time: )

VU Signal and Image Processing

Lecture 8 Finite Impulse Response Filters

Shift Property of z-transform. Lecture 16. More z-transform (Lathi 5.2, ) More Properties of z-transform. Convolution property of z-transform

Module 4 MULTI- RESOLUTION ANALYSIS. Version 2 ECE IIT, Kharagpur

z-transforms Definition of the z-transform Chapter

ELEG 305: Digital Signal Processing

ELEG 305: Digital Signal Processing

DESIGN OF ALIAS-FREE LINEAR PHASE QUADRATURE MIRROR FILTER BANKS USING EIGENVALUE-EIGENVECTOR APPROACH

Question Paper Code : AEC11T02

Digital Filter Structures

Parametric Signal Modeling and Linear Prediction Theory 1. Discrete-time Stochastic Processes (cont d)

ECE503: Digital Signal Processing Lecture 5

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EC2314- DIGITAL SIGNAL PROCESSING UNIT I INTRODUCTION PART A

ECE538 Final Exam Fall 2017 Digital Signal Processing I 14 December Cover Sheet

Linear Convolution Using FFT

EE 225D LECTURE ON DIGITAL FILTERS. University of California Berkeley

Perfect Reconstruction Two- Channel FIR Filter Banks

Parametric Signal Modeling and Linear Prediction Theory 1. Discrete-time Stochastic Processes

MULTIRATE DIGITAL SIGNAL PROCESSING

Course and Wavelets and Filter Banks. Filter Banks (contd.): perfect reconstruction; halfband filters and possible factorizations.

( ) John A. Quinn Lecture. ESE 531: Digital Signal Processing. Lecture Outline. Frequency Response of LTI System. Example: Zero on Real Axis

Signals & Systems Handout #4

Let H(z) = P(z)/Q(z) be the system function of a rational form. Let us represent both P(z) and Q(z) as polynomials of z (not z -1 )

Analog vs. discrete signals

Analog LTI system Digital LTI system

Discrete-Time Signals & Systems

Filter structures ELEC-E5410

Digital Signal Processing Lecture 3 - Discrete-Time Systems

Digital Signal Processing

6.003: Signals and Systems

Stability Condition in Terms of the Pole Locations

z-transform Chapter 6

Signals and Systems. Problem Set: The z-transform and DT Fourier Transform

ELEG 5173L Digital Signal Processing Ch. 5 Digital Filters

/ (2π) X(e jω ) dω. 4. An 8 point sequence is given by x(n) = {2,2,2,2,1,1,1,1}. Compute 8 point DFT of x(n) by

Z - Transform. It offers the techniques for digital filter design and frequency analysis of digital signals.

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING EXAMINATIONS 2010

Module 4 : Laplace and Z Transform Problem Set 4

Z-Transform. x (n) Sampler

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science. Fall Solutions for Problem Set 2

Design and Application of Quincunx Filter Banks

Bifrequency and Bispectrum Maps: A New Look at Multirate Systems with Stochastic Inputs

Discrete Time Systems

ELEG 305: Digital Signal Processing

Digital Signal Processing IIR Filter Design via Bilinear Transform

Lecture 7 - IIR Filters


6.02 Fall 2012 Lecture #10

2. CONVOLUTION. Convolution sum. Response of d.t. LTI systems at a certain input signal

The basic structure of the L-channel QMF bank is shown below

Z-Transform. 清大電機系林嘉文 Original PowerPoint slides prepared by S. K. Mitra 4-1-1

Discrete-time signals and systems

Digital Speech Processing Lecture 10. Short-Time Fourier Analysis Methods - Filter Bank Design

Digital Signal Processing Lecture 10 - Discrete Fourier Transform

QUESTION BANK SIGNALS AND SYSTEMS (4 th SEM ECE)

Lecture 16: Multiresolution Image Analysis

LTI H. the system H when xn [ ] is the input.

Stationarity condition for. Fractional sampling filters

Notes 22 largely plagiarized by %khc

Discrete-Time Signals and Systems

Lecture 7 Discrete Systems

Introduction to Digital Signal Processing

THEORY OF MIMO BIORTHOGONAL PARTNERS AND THEIR APPLICATION IN CHANNEL EQUALIZATION. Bojan Vrcelj and P. P. Vaidyanathan

ECE 308 Discrete-Time Signals and Systems

Digital Signal Processing, Homework 1, Spring 2013, Prof. C.D. Chung

ECE 350 Signals and Systems Spring 2011 Final Exam - Solutions. Three 8 ½ x 11 sheets of notes, and a calculator are allowed during the exam.

Digital Signal Processing Lecture 9 - Design of Digital Filters - FIR

Grades will be determined by the correctness of your answers (explanations are not required).

Discrete-Time David Johns and Ken Martin University of Toronto

Introduction to DSP Time Domain Representation of Signals and Systems

Discrete Time Systems

Transcription:

Multi-rate Signal Processing 3. The Polyphase Representation Electrical & Computer Engineering University of Maryland, College Park Acknowledgment: ENEE630 slides were based on class notes developed by Profs. K.J. Ray Liu and Min Wu. The LaTeX slides were made by Prof. Min Wu and Mr. Wei-Hong Chuang. Contact: minwu@umd.edu. Updated: September 16, 2012. ENEE630 Lecture Part-1 1 / 25

Polyphase Representation: Basic Idea Example: FIR filter H(z) = 1 + 2z 1 + 3z 2 + 4z 3 Group even and odd indexed coefficients, respectively: H(z) = (1 + 3z 2 ) + z 1 (2 + 4z 2 ), More generally: Given a filter H(z) = n= h[n]z n, by grouping the odd and even numbered coefficients, we can write H(z) = n= h[2n]z 2n + z 1 n= h[2n + 1]z 2n ENEE630 Lecture Part-1 2 / 25

Polyphase Representation: Definition H(z) = n= h[2n]z 2n + z 1 n= h[2n + 1]z 2n Define E 0 (z) and E 1 (z) as two polyphase components of H(z): We have E 0 (z) = n= h[2n]z n, E 1 (z) = n= h[2n + 1]z n, H(z) = E 0 (z 2 ) + z 1 E 1 (z 2 ) These representations hold whether H(z) is FIR or IIR, causal or non-causal. The polyphase decomposition can be applied to any sequence, not just impulse response. ENEE630 Lecture Part-1 3 / 25

FIR and IIR Example 1 FIR filter: H(z) = 1 + 2z 1 + 3z 2 + 4z 3 H(z) = (1 + 3z 2 ) + z 1 (2 + 4z 2 ), E 0 (z) = 1 + 3z 1 ; 2 IIR filter: H(z) = 1 1 αz 1. E 1 (z) = 2 + 4z 1 Write into the form of H(z) = E 0 (z 2 ) + z 1 E 1 (z 2 ): 1 H(z) = 1+αz 1 1 αz 1 1+αz 1 = 1 1 α 2 z 2 + z 1 = 1+αz 1 1 α 2 z 2 α 1 α 2 z 2 E 0 (z) = 1 1 α 2 z 1 ; E 1 (z) = α 1 α 2 z 1 (For higher order filters: first write in the sum of 1st order terms) ENEE630 Lecture Part-1 4 / 25

Extension to M Polyphase Components For a given integer M and H(z) = n= h[n]z n, we have: H(z) = n= h[nm]z nm + z 1 n= h[nm + 1]z nm +... + z (M 1) n= h[nm + M 1]z nm Type-1 Polyphase Representation H(z) = M 1 l=0 z l E l (z M ) where the l-th polyphase components of H(z) given M is E l (z) n= e l[n]z n = n= h[nm + l]z n Note: 0 l (M 1); strictly we may denote as E (M) l (z). ENEE630 Lecture Part-1 5 / 25

Example: M = 3 3 The Polyphase Representation z l : time advance (there is a delay term when putting together the polyphase components) ENEE630 Lecture Part-1 6 / 25

Alternative Polyphase Representation If we define R l (z) = E M 1 l (z), 0 l M 1, we arrive at the Type-2 polyphase representation H(z) = M 1 l=0 z (M 1 l) R l (z M ) Type-1: E k (z) is ordered consistently with the number of delays in the input Type-2: reversely order the filter R k (z) with respect to the delays ENEE630 Lecture Part-1 7 / 25

Issues with Direct Implementation of Decimation Filters Decimation Filters: Question: Any wasteful effort in the direct implementation? The filtering is applied to all original signal samples, even though only every M filtering output is retained finally. Even if we let H(z) operates only for time instants multiple of M and idle otherwise, all multipliers/adders have to produce results within one step of time. Can M be moved before H(z)? Only when H(z) is a function of z M, we can apply the noble identities to switch the order. ENEE630 Lecture Part-1 8 / 25

Efficient Structure for Decimation Filter Apply Type-1 polyphase representation: ENEE630 Lecture Part-1 9 / 25

Computational Cost For FIR filter H(z) of length N: Total cost of N multipliers and (N 1) adders is unchanged. Considering multiplications per input unit time (MPU) and additions per input unit time (APU), E k (z) now operates at a lower rate: only N/M MPU and (N 1)/M APU are required. This is as opposed to N MPU and (N 1) APU at every M instant of time and system idling at other instants, which leads to inefficient resource utilization. (i.e., requires use fast additions and multiplications but use them only 1/M of time) ENEE630 Lecture Part-1 10 / 25

Polyphase for Interpolation Filters Observe: the filter is applied to a signal at a high rate, even though many samples are zero when coming out of the expander. Using the Type-2 polyphase decomposition: H(z) = z 1 R 0 (z 2 ) + R 1 (z 2 ): 2 polyphase components R k (z) is half length of H(z) The complexity of the system is N MPU and (N 2) APU. ENEE630 Lecture Part-1 11 / 25

General Cases 3 The Polyphase Representation In general, for FIR filters with length N: M-fold decimation: MPU = N N 1 M, APU = M L-fold interpolation: MPU = N, APU = N L filtering is performed at a lower data rate APU = ( N L 1) L ENEE630 Lecture Part-1 12 / 25

Fractional Rate Conversion Typically L and M should be chosen to have no common factors greater than 1 (o.w. it is wasteful as we make the rate higher than necessary only to reduce it down later) H(z) filter needs to be fast as it operates in high data rate. The direct implementation of H(z) is inefficient: { there are L 1 zeros in between its input samples only one out of M samples is retained ENEE630 Lecture Part-1 13 / 25

Example: L = 2 and M = 3 1 Use Type-1 polyphase decomposition (PD) for decimator: 2 Use Type-2 PD for interpolator: ENEE630 Lecture Part-1 14 / 25

Example: L = 2 and M = 3 3 Try to take advantage of both: Question: What s the lowest possible data rate to process? f /M Challenge: Can t move 2 further to the right and 3 to the left across the delay terms. ENEE630 Lecture Part-1 15 / 25

Trick to enable interchange of L and M z 1 = z 3 z 2 z 3 and z 2 can be considered as filters in z M and z +L Noble identities can be applied: can be interchanged as they are relatively prime ENEE630 Lecture Part-1 16 / 25

Overall Efficient Structure Now it becomes Finally, can move decimation earlier by Type-1 PD of R k (z) R 0 (z) = R 00 (z 3 ) + z 1 R 01 (z 3 ) + z 2 R 02 (z 3 ) R 1 (z) = R 10 (z 3 ) + z 1 R 11 (z 3 ) + z 2 R 12 (z 3 ) ENEE630 Lecture Part-1 17 / 25

Observations 3 The Polyphase Representation For N-th order H(z): MPU = (N + 1)/M independent of L The final structure is the most efficient: { Decimators are moved to the left of all computational units Expanders are moved to the right of all computational units Thus the computation is operated at the lowest possible rate. The above scheme works for arbitrary integers L and M as long as they are relatively prime. Under this condition, we have: 1 n 0, n 1 Z s.t. n 1 M n 0 L = 1 (Euclid s theorem) We can then decompose z 1 = z n0l z n1m 2 L and M are interchangeable ENEE630 Lecture Part-1 18 / 25

Commutator Model: A Delay Chain followed by Decimators Polyphase implementation is often characterized by 1 A delay chain followed by a set of decimators, ENEE630 Lecture Part-1 19 / 25

Commutator Model: Expanders followed by A Delay Chain 2 A set of expanders followed by a delay chain Commutator/switch model is an appealing conceptual tool to visualize these operations ENEE630 Lecture Part-1 20 / 25

Discussions: Linear Periodically Time Varying Systems Some multirate systems that we have seen are linear periodically time varying (LPTV) systems. e.g., y[n] = { x[n] if n is multiple of M 0 otherwise = x[n] c[n] c[n] is a comb function: takes 1 for n is multiple of M and 0 o.w. This is a linear system with periodically time varying response coefficients, and the period is M. ENEE630 Lecture Part-1 21 / 25

Time-invariant System with Decimator / Expander Even though L and M are time-varying, a cascaded system having them as building blocks may become time-invariant. This structure is the same as a fractional decimation system with L = M. ENEE630 Lecture Part-1 22 / 25

Time-invariant System with M & M details Recall: [X(z)] M = M 1 k=0 X ( WM k z1/m) 1 M ENEE630 Lecture Part-1 23 / 25

Perfect Reconstruction (PR) Systems The above system is said to be a perfect reconstruction system if ˆx[n] = cx[n n 0 ] for some c 0 and integer n 0, i.e., the output is identical to the input, except a constant multiplicative factor and some fixed delay. Look ahead: we ll see the quadrature mirror filter bank (QMF) is generally a LPTV system, reduces to an LTI system when aliasing is completely cancelled, and achieves PR for certain analysis/synthesis filters. ENEE630 Lecture Part-1 24 / 25

Special Time-invariant System with M & M (back) Recall: [X(z)] M = M 1 k=0 X ( WM k z1/m) 1 M Y(z) = [ X(z M )H(z) ] M M 1 k=0 X ( W Mkz) H ( WM k z1/m) = X(z)[H(z)] M = 1 M M [H(z)] M implies decimating the impulse response h[n] by M-fold, corresponding to the 0-th polyphase component of H(z). Y(z) = X(z)E 0 (z), i.e.,, an LTI system. ENEE630 Lecture Part-1 25 / 25