Decimation Filter A Design Perspective

Slides:



Advertisements
Similar presentations
FILTERS Presented by: Mohammed Alani Supervised By: Dr. Nazila Safavi
Advertisements

Signal and System IIR Filter Filbert H. Juwono
So far We have introduced the Z transform
The Design of a Delta Sigma Modulator Presented by: Sameh Assem Ibrahim 24-July-2003.
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
AMI 4622 Digital Signal Processing
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
MM3FC Mathematical Modeling 3 LECTURE 3
Sampling, Reconstruction, and Elementary Digital Filters R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
MM3FC Mathematical Modeling 3 LECTURE 6 Times Weeks 7,8 & 9. Lectures : Mon,Tues,Wed 10-11am, Rm.1439 Tutorials : Thurs, 10am, Rm. ULT. Clinics : Fri,
Why prefer CMOS over CCD? CMOS detector is radiation resistant Fast switching cycle Low power dissipation Light weight with high device density Issues:
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
EECS 20 Chapter 9 Part 21 Convolution, Impulse Response, Filters Last time we Revisited the impulse function and impulse response Defined the impulse (Dirac.
Sigma Delta A/D Converter SamplerModulator Decimation Filter x(t) x[n]y[n] Analog Digital fsfs fsfs 2 f o 16 bits e[n] Over Sampling Ratio = 2f o is Nyquist.
Department of Electrical & Computer Engineering 1 ES585a - Computer Based Power System Protection Course by Dr.T.S.Sidhu - Fall 2005 Class discussion presentation.
Over-Sampling and Multi-Rate DSP Systems
Digital Signals and Systems
Unit III FIR Filter Design
0 - 1 © 2010 Texas Instruments Inc Practical Audio Experiments using the TMS320C5505 USB Stick “FIR Filters” Texas Instruments University Programme Teaching.
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.
The sampling of continuous-time signals is an important topic It is required by many important technologies such as: Digital Communication Systems ( Wireless.
DSP. What is DSP? DSP: Digital Signal Processing---Using a digital process (e.g., a program running on a microprocessor) to modify a digital representation.
Discrete-Time and System (A Review)
1 Chapter 8 The Discrete Fourier Transform 2 Introduction  In Chapters 2 and 3 we discussed the representation of sequences and LTI systems in terms.
Cascaded Integrator Comb Filter 長庚電機通訊組 碩一 張晉銓 指導教授 : 黃文傑博士.
Filters and Delta Sigma Converters
Digital Signal Processing
Chapter 6 Digital Filter Structures
Copyright © 2001, S. K. Mitra Digital Filter Structures The convolution sum description of an LTI discrete-time system be used, can in principle, to implement.
Unit-V DSP APPLICATIONS. UNIT V -SYLLABUS DSP APPLICATIONS Multirate signal processing: Decimation Interpolation Sampling rate conversion by a rational.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Z TRANSFORM AND DFT Z Transform
Fundamentals of Digital Signal Processing. Fourier Transform of continuous time signals with t in sec and F in Hz (1/sec). Examples:
ES97H Biomedical Signal Processing
Copyright © 2003 Texas Instruments. All rights reserved. DSP C5000 Chapter 15 Infinite Impulse Response (IIR) Filter Implementation.
Digital Signal Processing
Digital Signal Processing
Software Defined Radio PhD Program on Electrical Engineering Sampling Theory and Quantization José Vieira.
DEPARTMENTT OF ECE TECHNICAL QUIZ-1 AY Sub Code/Name: EC6502/Principles of digital Signal Processing Topic: Unit 1 & Unit 3 Sem/year: V/III.
Chapter 6 Discrete-Time System. 2/90  Operation of discrete time system 1. Discrete time system where and are multiplier D is delay element Fig. 6-1.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
Lecture 09b Finite Impulse Response (FIR) Filters
1 Discrete-Time signals and systems. 2 Introduction Signal: A signal can be defined as a function that conveys information, generally about the state.
Chapter 6. Digital Filter Structures and Designs Section
Analysis of Linear Time Invariant (LTI) Systems
1 Digital Signal Processing (DSP) By: Prof. M.R.Asharif Department of Information Engineering University of the Ryukyus, Okinawa, Japan.
Math for CS Fourier Transforms
Real-time Digital Signal Processing Digital Filters.
In summary If x[n] is a finite-length sequence (n  0 only when |n|
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring.
Amplitude Modulation X1(w) Y1(w) y1(t) = x1(t) cos(wc t) cos(wc t)
EEE4176 Applications of Digital Signal Processing
Discrete-time Systems
蔡宗珉 : Multi-stage Filter Implementation
Sampling rate conversion by a rational factor
EE Audio Signals and Systems
Description and Analysis of Systems
لجنة الهندسة الكهربائية
لجنة الهندسة الكهربائية
Lect5 A framework for digital filter design
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
UNIT V Linear Time Invariant Discrete-Time Systems
Z TRANSFORM AND DFT Z Transform
Chapter 6 Discrete-Time System
Green Filters Cascade Polyphase M-to-1 Down Sample Filter, Inner Filter, and Polyphase 1-to-M Up Sample Filter fred harris.
Zhongguo Liu Biomedical Engineering
Chapter 9 Advanced Topics in DSP
ELEN E4810: Digital Signal Processing Topic 11: Continuous Signals
Presentation transcript:

Decimation Filter A Design Perspective Presented by: Sameh Assem Ibrahim

What is Decimation ? M x[n] y[m] Two types of sampling rate conversion - Interpolation when F’ > F or T’ < T (inserting L-1 equidistant zero-valued samples between two consecutive samples of x[n] ) - Decimation when F’ < F or T’ > T (keeping every M-th sample of x[n] and removing M-1 in-between samples to generate y[m]) Decimation factor M M = F’/F <1 A block diagram representation M x[n] y[m]

The Use of Decimation in ΣΔ ADC -1- Analog input Digital FS Analog Output FN ΣΔ loops Decimator 1 bit Multiple bits FS is the high sampling rate used in the ΣΔ modulator FN is the Nyquist Sampling Rate = 2 Fmax FS >> FN FS/FN = M

The Use of Decimation in ΣΔ ADC -2- Converts ΣΔ bits stream into PCM data of required resolution (16 bits in our case) Reduces the sampling rate to Nyquist rate. This helps in: * Preventing inefficient use of bandwidth * Reduced speed of operation in the following circuits Suppresses out of band noise

Can we just Decrease the Sampling Rate? -1- ω X(j ω) -2πFmax 0 2πFmax 2πFS 4πFS FS > 2 Fmax ω X(j ω) -2πFmax 0 2πFmax 2πFS 4πFS FS < 2 Fmax 6πFS 8πFS 10πFS 12πFS Aliasing

Can we just Decrease the Sampling Rate? -2- 2πFN 2πFS 4πFS ΣΔ (FS >> 2 Fmax) ω X(j ω) No Problem if FS is integer multiples of FN 4πFN 6πFN 2πFN 2πFS 4πFS ΣΔ (FS >> 2 Fmax) ω X(j ω) πFS Noise shaped by ΣΔ Really?? Problem

Can we just Decrease the Sampling Rate? -3- A decimation filter is needed Design of a decimator is the design of its decimation filter Decimation filter is a digital filter It must have zeros at the integer multiples of the new sampling rate The Block diagram including the filter y[n] h[n] x[n] M y[m]

Digital Filters Background The Z-transform Z-transform is the discrete time counterpart of the Laplace transform Used in the analysis of LTI systems Used in the study of stability of a filter Im{z} Unit circle Re{z}

Digital Filters Background Some Z-transform Properties Linearity Time shifting Scaling in the z-domain Time expansion Convolution First difference Accumulation

Digital Filters Background The Discrete Fourier Transform Discrete Fourier transform is the discrete time counterpart of the continuous time Fourier transform In z-domain: Put r=1: Used in estimating the frequency response of a filter

Digital Filters Background Signal Flow Graphs Basic Elements Operation Symbol Time domain Description Frequency domain Description Unit delay x[n] z-1 y[n] y[n]=x[n-1] M-sample delay x[n] z-M y[n] y[n]=x[n-M] Gain x[n] c y[n] y[n]=cx[n] Gain and delay x[n] cz-1 y[n] y[n]=cx[n-1] Sampling rate compressor x[n] y[m] y[m]=x[Mm] Sampling rate expander Input branch x[n] -- Output branch y[n] M L

Digital Filters Background Signal Flow Graphs Operations z-1 c1 c2 x[n] y[n] y[n]=x[n]+c2x[n-1]+c1y[n-1] x1[n] y[n]=x1[n]+x2[n]+x3[n] x2[n] x3[n] y1[n]=x[n] x[n] y2[n]=x[n] y3[n]=x[n]

Digital Filters Background Basic Elements Implementations Delay units are implemented as D-FFs Gain units are implemented as digital multipliers implemented in VHDL or through ALUs Coefficients to be multiplied with are either stored in a ROM or have a generating digital circuitry if they have an easily implemented function Adding branches can be done using VHDL adders or ALUs Accumulators and first difference

Digital Filters Background Signal Flow Commutation Two branch operations commute if the order of their cascade operation can be interchanged without affecting the input-to- output response of the cascaded system.

Digital Filters Background FIR vs. IIR Filters The impulse response is non- zero for N samples only The impulse response duration is infinite They don’t contain any poles in the z-domain Have both poles and zeros in the z-domain Have no continuous time counterpart Are easily derived from continuous time filters Linear phase can be easily achieved Linear phase can only be approximated Always stable Must be checked for stability Coefficients can be rounded to reasonable word lengths This will result in large quantization noise Higher order than IIR is always required IIR filters are generally very efficient Most Implemented ΣΔ ADCs use FIR implementation

Decimation Filter Realization Structures used can be classified into: Direct Form Structures Polyphase structures Structures with time varying coefficients Each of these can be implemented using FIR or IIR filters. The choice depends on the application used Structures 3 are particularly useful when considering conversion by factors of L/M (not our case) Structures 1 and 2 can both be used

FIR Direct Form Structures A direct implementation of the convolution equation In many applications the FIR filter is designed to have linear phase Consequently, the impulse response is symmetric

FIR Direct Form Structures for Decimators Multiplications and additions are done at the low sampling frequency

Polyphase FIR Structures for Decimators Savings of a factor of M in the storage requirements can be achieved by proper design of filters

Single Stage vs. Multiple Stages If M can be factored into the product Then Decimation can be done in stages M1 x[n] y[m] h[n] M2 FS FS/M1 FS/M1M2=FS/M No Advantage

Filter Design Procedure Most implemented ΣΔ ADCs use a two stages decimation filter 1st Stage A Comb (sinck) Filter 2nd Stage An FIR filter with symmetric coefficients The 2nd stage reduces sampling rate to the Nyquist frequency Provides the sharp filtering necessary to reduce the frequency aliasing effect Provides the passband response compensation for the droop introduced by the “comb-filter” Provides linear phase relationship The first stage is realized as a direct form structure Reduces the sampling rate to 1/16 FS Introduces zeros around multiples of the new sampling frequencies These frequencies would alias into the required band and thus increases noise

Design of the Comb Filter -1- A comb-filter of length M is an FIR filter with all M coefficients equal to one. The transfer function of a comb-filter is The filter is a simple accumulator which performs a moving average. Using the formula for a geometric sum

Design of the Comb Filter -2- This can be written as Using commutation M X[z] Y(z) M X[z] Y(z)

Design of the Comb Filter -3- The accumulation is done at the higher rate The differentiation is done at the lower rate 2 registers only are required regardless of M The filter should be properly scaled for unity gain. This can be done by dividing over M The two’s complement number system should be used to avoid overflowing M X[z] Y(z)

Design of the Comb Filter -4- The advantages of a comb filter are No multipliers are required No storage is required for filter coefficients Intermediate storage is reduced by integrating at the high sampling rate and differentiating at the low sampling rate, compared to the equivalent implementation using cascaded uniform FIR filters The structure of comb-filters is very “regular” Little external control or complicated local timing is required The same filter design can easily be used for a wide range of rate change factors, M, with the addition of a scaling circuit and minimal changes to the filter timing

Design of the Comb Filter -5- A single comb filter will not give enough stop band attenuation Cascaded comb filters can often meet requirements The frequency response of a properly scaled M stage comb filter can be written as M FS/M 4 cascaded comb filters

Design of the Comb Filter -6-

Design of the Second Filter Stage Better to be designed in two low pass filter stages Stage 1 for the compensation of the droop in the passband introduced by the comb filter Stage 2 gives the final decimation ratio and provides for the required attenuation in the stop band MATLAB filter design and analysis tool can be used Stage A LPF FIR (Compensator) Stage B LPF FIR

Design of the Compensator -1- Compensates the droop of the comb filter Decimates by 2 Fixed point filter response 21 taps Symmetric FIR Filter specifications: (FIR) - Stopband slope (60 dB) - 5th order Inverse sinc - Passband, stopband ripple

Design of the Compensator -2- Zoom in on passband Cascaded response Comb filter response Compensation filter response added

Design of the Compensator -3- zoomed constant

Design of the Compensator -4- Realized as polyphase structure

Design of the Last Filter Stage -1- Implemented as an FIR LPF Gives the final attenuation in the stopband required Fixed point filter response 63 taps Symmetric FIR

Design of the Last Filter Stage -2- Final frequency Response

Design of the Last Filter Stage -3- Realized as a polyphase filter

References R.E.Crochiere, L.R. Rabiner, “Multirate Digital Signal Processing”, Prentice-Hall, 1983 J.C.Candy, G.C.Temes, “Oversampling Delta-Sigma Data Converters, Theory, Design and Simulation”, IEEE Press, 1992 D.Orifino, “Designing Digital Radio Applications with Simulink®”, The MathWorks, 2002 “Principles of Sigma-Delta Modulation for Analog to Digital Converters”, Motorola