DISCRETE FOURIER TRANSFORM AND FILTER DESIGN

Similar documents
The Discrete Fourier Transform. Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido

Qäf) Newnes f-s^j^s. Digital Signal Processing. A Practical Guide for Engineers and Scientists. by Steven W. Smith

Digital Signal Processing

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

The Discrete Fourier Transform

DIGITAL SIGNAL PROCESSING CCC-INAOE AUTUMN 2015

Notes on Fourier transforms

ECE 429 / 529 Digital Signal Processing

Signals and Systems Using MATLAB

MULTIRATE DIGITAL SIGNAL PROCESSING

Topic 6. The Digital Fourier Transform. (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith)

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal.

Signals. Continuous valued or discrete valued Can the signal take any value or only discrete values?

Digital Signal Processing. VO Embedded Systems Engineering Armin Wasicek WS 2009/10

The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D.

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

Digital Signal Processing

Discrete Fourier Transform, DFT Input: N time samples

Fourier Transform Pairs

McGraw-Hill Irwin DIGITAL SIGNAL PROCESSING. A Computer-Based Approach. Second Edition. Sanjit K. Mitra

Understanding Digital Signal Processing

FFT Convolution. The Overlap-Add Method

Coming to Grips with the Frequency Domain

IMAGE PROCESSING: AREA OPERATIONS (FILTERING)

DIGITAL SIGNAL PROCESSING WITH VHDL

DSP Notes. Contents Filter characteristics Manipulating filters Moving average filters Similar filters...

Frequency Division Multiplexing Spring 2011 Lecture #14. Sinusoids and LTI Systems. Periodic Sequences. x[n] = x[n + N]

FFT analysis in practice

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

Two-Dimensional Wavelets with Complementary Filter Banks

Application of Fourier Transform in Signal Processing

Lecture 3 Complex Exponential Signals

Design of FIR Filters

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.

Sampling of Continuous-Time Signals. Reference chapter 4 in Oppenheim and Schafer.

ece 429/529 digital signal processing robin n. strickland ece dept, university of arizona ECE 429/529 RNS

DFT: Discrete Fourier Transform & Linear Signal Processing

Signal Processing Techniques for Software Radio

EC6502 PRINCIPLES OF DIGITAL SIGNAL PROCESSING

System analysis and signal processing

Discrete Fourier Transform (DFT)

Digital Signal Processing

Lecture 2 Review of Signals and Systems: Part 1. EE4900/EE6720 Digital Communications

6.02 Fall 2012 Lecture #13

Topic 2. Signal Processing Review. (Some slides are adapted from Bryan Pardo s course slides on Machine Perception of Music)

Electrical & Computer Engineering Technology

Multirate Digital Signal Processing

+ a(t) exp( 2πif t)dt (1.1) In order to go back to the independent variable t, we define the inverse transform as: + A(f) exp(2πif t)df (1.

Sampling and Signal Processing

Analysis and design of filters for differentiation

Linear Systems. Claudia Feregrino-Uribe & Alicia Morales-Reyes Original material: Rene Cumplido. Autumn 2015, CCC-INAOE

6.02 Practice Problems: Modulation & Demodulation

Wavelet Transform. From C. Valens article, A Really Friendly Guide to Wavelets, 1999

Study on Multi-tone Signals for Design and Testing of Linear Circuits and Systems

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase

Appendix B. Design Implementation Description For The Digital Frequency Demodulator

Module 9 AUDIO CODING. Version 2 ECE IIT, Kharagpur

Signal Processing for Speech Applications - Part 2-1. Signal Processing For Speech Applications - Part 2

Lab 4 Digital Scope and Spectrum Analyzer

Filter Banks I. Prof. Dr. Gerald Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany. Fraunhofer IDMT

Final Exam Solutions June 14, 2006

1. In the command window, type "help conv" and press [enter]. Read the information displayed.

Digital Image Processing

SAMPLING THEORY. Representing continuous signals with discrete numbers

Glossary. Study Guide 631. frequencies above one-half the sampling rate that would alias during conversion.

Introduction. Chapter Time-Varying Signals

ESE 531: Digital Signal Processing

speech signal S(n). This involves a transformation of S(n) into another signal or a set of signals

The Polyphase Filter Bank Technique

Digital Signal Processing


Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3

PROBLEM SET 5. Reminder: Quiz 1will be on March 6, during the regular class hour. Details to follow. z = e jω h[n] H(e jω ) H(z) DTFT.

Signal Processing Toolbox

2) How fast can we implement these in a system

A New High Speed Low Power Performance of 8- Bit Parallel Multiplier-Accumulator Using Modified Radix-2 Booth Encoded Algorithm

Teaching Plan - Dr Kavita Thakur

Introduction to Digital Signal Processing Using MATLAB

Islamic University of Gaza. Faculty of Engineering Electrical Engineering Department Spring-2011

Midterm Review. Image Processing CSE 166 Lecture 10

EE 470 Signals and Systems

Signal processing preliminaries

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 14 FIR Filter

Lecture 3, Multirate Signal Processing

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

Introduction to Wavelets. For sensor data processing

Sampling Theory. CS5625 Lecture Steve Marschner. Cornell CS5625 Spring 2016 Lecture 7

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 13 Inverse FFT

Signal Processing Summary

Corso di DATI e SEGNALI BIOMEDICI 1. Carmelina Ruggiero Laboratorio MedInfo

FFT-based Digital Receiver Architecture for Fast-scanning Application

Introduction to Wavelet Transform. Chapter 7 Instructor: Hossein Pourghassem

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

DSP Filter Design for Flexible Alternating Current Transmission Systems

Digital Signal Processing

Lecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications

Image acquisition. Midterm Review. Digitization, line of image. Digitization, whole image. Geometric transformations. Interpolation 10/26/2016

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester

Transcription:

DISCRETE FOURIER TRANSFORM AND FILTER DESIGN N. C. State University CSC557 Multimedia Computing and Networking Fall 2001 Lecture # 03

Spectrum of a Square Wave 2

Results of Some Filters 3

Notation 4 x[n] and y[n] are discretely sampled signals z[n] = x[n] + y[n] = addition of two signals to produce a third signal A "system" modifies one signal to produce another

Fundamental Concept of DSP 5 If x[n] can be decomposed into a set of additive components and a system acting on x[n] produces an output y[n] and the system is applied to each of the additive components individually to produce a set of outputs Then adding the outputs together will produce y[n]

6

Convolution 7 Let a system acting on x[n] be represented as h[n] Convolution is defined as y[i] = sum from j=0 to M of (x[i-j] h[j]) Notation for convolution: y[n] = x[n] * h[n]

Convolution Example 8

Cont d 9

10 Cont d

Some Examples of Convolution 11

Examples (cont d) 12

Convolution: Boundary Values 13 What values do you use for x[i] when i<0 or i>n? One solution: "pad with zeros

Another View 14 Convolution = "sum of weighted components" Weighting coefficients or factors = values of the samples of h[n]

"Calculus-Like" Convolution Operations 15 "First difference" each sample of the output = difference between adjacent samples in the input "Running sum" each sample in output = sum of all the input samples up to that sample First difference and running sum are inverses

"Calculus-Like" Convolution Operations 16

17 (cont d)

Associativity of Convolution 18 The order of two or more systems performed in series is irrelevant Two or more systems performed in series can be replaced by the convolution of the two systems

Correlation 19 Purpose: find the "degree of match" between two signals optimal technique for detecting a reference signal or pattern in random noise Definition: y[i] = sum from j=0 to M of (x[i+j] h[j])

Correlation Application 20

Illustration of Correlation Computation 21

Discrete Fourier Transform (DFT) 22 Decompose an N-point signal into (N/2+1) sine waves and (N/2+1) cosine waves to be determined: amplitude of each sine and cosine wave The sine and cosine waves form an orthoganal basis function

Illustration of Fourier Transform 23

Illustration (cont d) 24

Terminology of DFT 25 ReX[N] = real part of the frequency domain representation ImX[N] = imaginary part of the frequency domain representation note: ImX[0] = ImX[N/2] = 0, always No complex arithmetic in this course! Independent variable = i/n = fraction of the sampling frequency

Scaling ReX and ImX 26 Scaling needed to get amplitudes of basis functions = = - = = (see p. 156 of Smith for explanation of why scaling is needed) ReX = amplitude of cosine waves ImX = amplitudes of sine waves

Synthesis (Inverse DFT) 27 Σ = π + π = = Σ

Analysis (DFT) 28 Correlate x[n] with each of the basis functions reminder: find the "degree of match" between x[n] and each of the basis functions basis function = - Σ = π = - - Σ = π basis function

Example: First Part of Correlation 29

Polar Notation 30 (skip)

Linearity of DFT 31

Linearity (cont d) 32

Compression and Expansion of Time-Varying Signals 33 Equivalent to resampling at a higher or lower rate Interpolation = adding samples Decimation = removing samples

Expansion (cont d) 34 Resampling from the actual (analog) signal -- no problem! Resampling from a discrete (digital) signal -- problems! How do you interpolate between samples -- linear? curve fit? Better idea: convert to frequency domain, pad with zeros, synthesize back to time domain at new rate

Expansion (cont d) 35

Digital Filters 36 "Thousands of times better performance than analog filters" Implementing a filter = convoluting a signal with the filter kernel

Filter Characteristics 37

Filter Design 38 High pass, band pass, and band reject can be derived from low pass filters Input signal x(n) h(n) y l (n) - y h (n) low-pass filter Low frequencies of x(n) only high frequencies of x(n) only An exercise for the reader: how can you construct band pass and band reject filters from this?

Moving Average Filter Design 39 M = order of the filter Higher M = better filter quality, lower M = less computation - = Σ - =

40

Ideal Filter Design 41 Start with frequency transform of the desired response 1. Do IDFT to time domain 2. Terminate the infinite series at M+1 points 3. Shift to range 0 to M 4. Multiply by Blackman window to compensate for finite effects

Ideal Filter Design Illustration 42

Illustration (cont d) 43

Filter Design (Bottom Line) 44 f c is fraction of sampling rate E.g., if sampling rate is 8000 samples/sec, and you want a cutoff frequency of 2000 cycles/sec, then f c = 2000/8000 =.25 = π - - π + π - -

Sources of Information 45 Smith, The Scientist Chapter 6 Delta function and impulse response skim only Convolution read Input side algorithm not needed Output side algorithm read Sum of weighted inputs read Chapter 7 Delta function not needed Calculus-like operations read Low-pass and high-pass filters read Causal and non-causal signals not needed Zero phase etc. not needed Mathematical properties read Correlation read Speed not needed

Sources of Information 46 Smith, The Scientist Chapter 8 Family of Fourier Transforms read Notation and format of the Real DFT read Frequency domain independent variable read DFT basis functions read Synthesis, calculating the inverse DFT read Analysis, calculating the DFT read Duality not needed Polar notation skim Chapter 9 Spectral analysis of signals read only the starting part Frequency response of systems not needed Convolution via the frequency domain useful, not needed

Sources of Information 47 Smith, The Scientist Chapter 10 Linearity of fourier transform read Characteristics of phase not needed Periodic nature of DFT skim Compression and expansion, multirate read Multiplying signals (modulation) skip Chapter 11 13 not needed Chapter 14 Filter basics read How information is represented skip Time domain parameters skim only Frequency domain parameters read High-pass, band-pass, and band-reject filters skim only Filter classification skim only

Sources of Information 48 Smith, The Scientist Chapter 15 Implementation by convolution - read Noise reduction vs. step response skim only Frequency response skim only Rest of chapter - skip Chapter 16 Strategy for the windowed sinc filter skim only Designing the filter read Rest of chapter - skip

And More Sources of Information 49 [Pierce81] Signals: The Telephone and Beyond [McClellen98] DSP First: A Multimedia Approach