In this Lecture. Frequency domain analysis

Similar documents
Chapter 4 Discrete Fourier Transform (DFT) And Signal Spectrum

EEL3135: Homework #3 Solutions

Discrete Fourier Transform

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

Discrete-time Signals and Systems in

EEO 401 Digital Signal Processing Prof. Mark Fowler

3.2 Complex Sinusoids and Frequency Response of LTI Systems

Interchange of Filtering and Downsampling/Upsampling

E : Lecture 1 Introduction

6.003: Signal Processing

ENT 315 Medical Signal Processing CHAPTER 2 DISCRETE FOURIER TRANSFORM. Dr. Lim Chee Chin

Lecture 19: Discrete Fourier Series

Fourier analysis of discrete-time signals. (Lathi Chapt. 10 and these slides)

Topic 3: Fourier Series (FS)

Summary of lecture 1. E x = E x =T. X T (e i!t ) which motivates us to define the energy spectrum Φ xx (!) = jx (i!)j 2 Z 1 Z =T. 2 d!

6.003 Signal Processing

Digital Signal Processing: Signal Transforms

BME 50500: Image and Signal Processing in Biomedicine. Lecture 2: Discrete Fourier Transform CCNY

8/19/16. Fourier Analysis. Fourier analysis: the dial tone phone. Fourier analysis: the dial tone phone

Chapter 2: Problem Solutions

L29: Fourier analysis

Fourier Analysis of Signals Using the DFT

SEISMIC WAVE PROPAGATION. Lecture 2: Fourier Analysis

Flash File. Module 3 : Sampling and Reconstruction Lecture 28 : Discrete time Fourier transform and its Properties. Objectives: Scope of this Lecture:

EE482: Digital Signal Processing Applications

DFT and Matlab with some examples.

Digital Signal Processing

Random signals II. ÚPGM FIT VUT Brno,

Signals & Systems. Lecture 5 Continuous-Time Fourier Transform. Alp Ertürk

LAB 2: DTFT, DFT, and DFT Spectral Analysis Summer 2011

EE123 Digital Signal Processing

Ch. 15 Wavelet-Based Compression

Chapter 8 The Discrete Fourier Transform

INTRODUCTION TO THE DFS AND THE DFT

!Sketch f(t) over one period. Show that the Fourier Series for f(t) is as given below. What is θ 1?

Fourier Analysis Overview (0A)

EEO 401 Digital Signal Processing Prof. Mark Fowler

Review of Discrete-Time System

Contents. Digital Signal Processing, Part II: Power Spectrum Estimation

SIGNALS AND SYSTEMS. Unit IV. Analysis of DT signals

ELEG 305: Digital Signal Processing

DSP Laboratory (EELE 4110) Lab#5 DTFS & DTFT

Down-Sampling (4B) Young Won Lim 11/15/12

6.003 Signal Processing

Image Acquisition and Sampling Theory

Need for transformation?

DFT-Based FIR Filtering. See Porat s Book: 4.7, 5.6

NAME: 11 December 2013 Digital Signal Processing I Final Exam Fall Cover Sheet

Digital Signal Processing Chapter 10. Fourier Analysis of Discrete- Time Signals and Systems CHI. CES Engineering. Prof. Yasser Mostafa Kadah

Ch.11 The Discrete-Time Fourier Transform (DTFT)

Evaluating Fourier Transforms with MATLAB

A523 Signal Modeling, Statistical Inference and Data Mining in Astrophysics Spring 2011

CMPT 318: Lecture 5 Complex Exponentials, Spectrum Representation

SNR Calculation and Spectral Estimation [S&T Appendix A]

VII. Bandwidth Limited Time Series

Chapter 6: Applications of Fourier Representation Houshou Chen

Module 3. Convolution. Aim

Topic 7. Convolution, Filters, Correlation, Representation. Bryan Pardo, 2008, Northwestern University EECS 352: Machine Perception of Music and Audio

ELEG 305: Digital Signal Processing

EE301 Signals and Systems In-Class Exam Exam 3 Thursday, Apr. 20, Cover Sheet

Computational Methods CMSC/AMSC/MAPL 460. Fourier transform

Lecture 10. Digital Signal Processing. Chapter 7. Discrete Fourier transform DFT. Mikael Swartling Nedelko Grbic Bengt Mandersson. rev.

University of Connecticut Lecture Notes for ME5507 Fall 2014 Engineering Analysis I Part III: Fourier Analysis

Experimental Fourier Transforms

Continuous Fourier transform of a Gaussian Function

7.16 Discrete Fourier Transform

Fourier Analysis Overview (0A)

Mathematics for Chemists 2 Lecture 14: Fourier analysis. Fourier series, Fourier transform, DFT/FFT

ECS455: Chapter 5 OFDM. ECS455: Chapter 5 OFDM. OFDM: Overview. OFDM Applications. Dr.Prapun Suksompong prapun.com/ecs455

Fall 2011, EE123 Digital Signal Processing

Up-Sampling (5B) Young Won Lim 11/15/12

Experiment 0: Periodic Signals and the Fourier Series

ESE 250: Digital Audio Basics. Week 4 February 5, The Frequency Domain. ESE Spring'13 DeHon, Kod, Kadric, Wilson-Shah

Tutorial Sheet #2 discrete vs. continuous functions, periodicity, sampling

Aspects of Continuous- and Discrete-Time Signals and Systems

Lecture Notes on Fundamentals of Audio-Video Signal Processing

Signals and Systems. Lecture 14 DR TANIA STATHAKI READER (ASSOCIATE PROFESSOR) IN SIGNAL PROCESSING IMPERIAL COLLEGE LONDON

Signals & Systems. Chapter 7: Sampling. Adapted from: Lecture notes from MIT, Binghamton University, and Purdue. Dr. Hamid R.

LABORATORY 1 DISCRETE-TIME SIGNALS

Signal Processing COS 323

Problem Value

Music 270a: Complex Exponentials and Spectrum Representation

Discrete-time Fourier Series (DTFS)

Discrete Systems & Z-Transforms. Week Date Lecture Title. 9-Mar Signals as Vectors & Systems as Maps 10-Mar [Signals] 3

EA2.3 - Electronics 2 1

Lecture # 06. Image Processing in Frequency Domain

Fourier Analysis Overview (0B)

Problem Value

University Question Paper Solution

EE301 Signals and Systems In-Class Exam Exam 3 Thursday, Apr. 19, Cover Sheet

Representing a Signal

Chapter 2: The Fourier Transform

Lectures on Spectra of Discrete-Time Signals

Sinc Functions. Continuous-Time Rectangular Pulse

Discrete Fourier transform (DFT)

Discrete-time signals and systems

Chap 2. Discrete-Time Signals and Systems

! Circular Convolution. " Linear convolution with circular convolution. ! Discrete Fourier Transform. " Linear convolution through circular

1. Calculation of the DFT

ELEN E4810: Digital Signal Processing Topic 11: Continuous Signals. 1. Sampling and Reconstruction 2. Quantization

Transcription:

In this Lecture Frequency domain analysis

Introduction In most cases we want to know the frequency content of our signal Why? Most popular analysis in frequency domain is based on work of Joseph Fourier We will cover two methods of frequency domain analysis of discrete-time signals Discrete-Time Fourier Transform Discrete Fourier Series or Discrete Fourier Transform

Spectrum of a signal Spectrum Continuous Discrete Aperiodic Signal Signal Continuous Fourier transform Fourier series Discrete Discrete-time Fourier transform DiscreteFourier transform Or DiscreteFourier series Periodic Signal

Discrete Time Fourier Transform Applies to a-periodic discrete-time signal Mathematically calculated as, X () DTFT{x[n]} x[n] e jn n The Inverse DTFT is calculated as x[n] IDTFT{X ()} X () e jn d n

Periodicity? The Fourier transform of a Discrete-time signal X () x[n] e jn n X ( 2k ) j 2k n x[n] e n X ( 2k ) x[n] e jn e j 2πkn X ( 2k ) x[n] e jn n X ( 2k ) X ( ) e j 2πkn cos2πkn j sin2πkn 1

1 0.8 x[nt] 0.6 0.4 0.2 0-5 -4-3 -2-1 0 1 2 3 4 5 time 1 0.8 X[f] 0.6 0.4 0.2 0-30 -20-10 0 10 20 30 frequency

Points to ponder The signal is discrete in time domain but continuous in frequency domain The integration sign gives it away! Usually used for signals with infinite period DTFT gives exact frequency concentration for w (omega)[1] But requires sequence to last n Requires infinite memory IDTFT also requires a infinite amount of memory to perform integration and infinite processing time!

In practice, we don t have infinite memory, we can t afford to have infinite processing time and the signal we want to analyze does not have infinite duration Besides, spectrum usually changes with time! Music changing notes Question for you DTFT/IDTFT fails? DTFT/IDTFT is only expressions like u[n] good for simple analytical

Discrete Fourier Series Applies to periodic discrete-time signal Explanation by example! Suppose one wants to estimate the spectrum of discrete-time periodic signal x(t) is sampled at fs Sampling period T = 1/fs Fundamental period T 0 = T

Fourier series for analog signal is given as 1 c k x(t) e jk 0t dt k T T 0 0 Substituting T 0 = T and w 0 = 2π/T 0 and approximating the integration over one period by summation over one period, also t by nt, we get c k 1 1 x[n] e n0 Analysis j 2kn k ~ 1 j 2kn x[n] c k e k 0 Synthesis It can be easily proved that c k is periodic with (just replace k by +K) So that, c k = c k+

fo -fs/2 0 fs/2 fs 3fs/2 fs = fo Amplitude spectrum for c k

Points to ponder As displayed in Figure, only the line spectral portion between the frequency -fs/2 and frequency fs/2 (folding frequency) represents the frequency information of the periodic signal The spectral portion from fs/2 to fs is a copy of the spectrum in the negative frequency range from -fs/2 to 0 Hz due to the spectrum being periodic for every f 0 Hz

Amplitude spectral components from fs/2 to fs are really the folded version of the amplitude spectral components from 0 to fs/2 in terms of fs-f So we usually only calculate for coeffs for positive frequencies and use periodic property to find coeffs for negative frequency i.e. c k 1 1 n0 x[n] e j 2kn k 0,1,..., 1 For the kth harmonic the frequency is f = kfo Hz

Example 1: The periodic signal x(t) sin(2 )t, is sampled at 4 Hz (a) Compute the spectrum c k (b) Plot the two sided spectrum From the analog signal we can find the fundamental frequency o 2 rad/sec And the fundamental period is T o 1sec Using the sampling interval T 1 1 0.25sec, we get the f s 4 Sampled signal as f o o 2 2 1 Hz 2 x[n] sin(2 nt ) sin(0.5 n)

Choosing the duration of one period we take the values of x[n] x[0] 0, x[1] 1, x[2] 0, x[3] 1 Solving the equation for DFS c k 3 1 c 0 x[n] 1 x[0] x[1] x[2] x[3] 1 0 1 0 1 0 4 n0 4 4 c 1 1 1 x[n] e n0 j 2kn 1 3 n j 2 k 4 x[n] e 1 x[0] x[1]e j 2 x[2]e j x[3]e j3 2 4 n0 4 1 x[0] x[1]( j) x[2](1) x[3]( j) 4 1 0 1( j) 0(1) 1( j) 1 2 j j0.5 4 4 Using Euler s expansion of e x = cos(x)+jsin(x)

Similarly, after solving c 2 and c 3, we ll get 3 c 2 1 x[n] e 4 n0 j 2 x 2 n 4 0 3 1 x[n] e j 2 x 4 n0 Using Periodicity property c k = c k+, we get c 1 c 3 j0.5 c 2 c 2 0 3 n 4 j0.5 Values of k

Example 2: Given a sequence x[n] for 0 n 3 where x[n] = [1 2 3 4], find the Discrete Fourier Series

Discrete Fourier Transform Applies to periodic discrete-time sequences We can also make an a-periodic sequence seem periodic Lets concentrate on development of DFT First, we assume that the process acquires data samples from digitizing the interested continuous signal for a duration of To seconds ext, we assume that a periodic signal x[n] is obtained by copying the acquired data samples with the duration of To to itself repetitively

Continued developing DFT We determine the Fourier series coefficients using oneperiod data samples (using equation for DFS) Multiply the coeffs by to obtain i.e. X (k ) c k c k 1 1 x[n] e j 2kn k 0,1,..., 1 DFS n0 1 X (k ) x[n] e j n0 2kn k 0,1,..., 1 DFT where n is the time-index and k is the frequency index, also known as bins

Lets simply the equation by substituting, W e j 2 / cos( 2 ) j sin( 2 ) Therefore the Discrete Fourier Transform of x[n] becomes X (k ) 1 n0 x[n] W kn k 0,1,..., 1 and the Inverse Discrete Fourier Transform of X[k] becomes x[n] 1 1 k 0 X (k ) W kn n 0,1,..., 1

Example 3: Given a sequence x[n] for 0 n 3 where x[n] = [1 2 3 4], find the Discrete Fourier Transform Since = 4, therefore W kn W kn e j 2kn / 4 e jkn / 2 4 so now we can use the simplified formula X (k ) 3 n0 3 x[n] W kn 4 x[n] e jkn / 2 k 0,1,2,3 n0 Solving for k = 0 3 X (0) x[n] e j 0 x[0]e j 0 x[1]e j 0 x[2]e j 0 x[3]e j 0 n0 1 2 3 4 10

Solving for k = 1 X (1) 3 n0 n 2 2 j j 0 j x[n] e x[0]e x[1]e x[2]e j x[3]e j 3 2 x[0](1) x[1]( j) x[2](1) x[3](1) 1 j2 3 j4 2 j2 Similarly, solving for k = 2 and k = 3 we get X (2) 2 X (3) 2 j2 You can even verify this result yourself using Matlab, try this fft([1 2 3 4]) ans = 10-2+2i -2-2-2i

Example 4: Find the Inverse Discrete Fourier Transform of the DFT found in example 3 In example 2, we found out the following values in freq. domain X(0) = 10 ; X(1) = -2+j2 ; X(2) = -2 ; X(3) = -2-j2-1 -π/2 Since = 4, W 4 = e, therefore, x[n] 1 X (n) W kn 1 X (n) e jkn / 2 4 4 4 k 0 k 0 x[0] 1 3 3 Solving for n = 0 n 0,1,2,3 3 j 0 X (k) e X (0)e j 0 X (1)e j 0 X (2)e j 0 X (3)e j 0 4 k 0 1 {10 (2 j2) 2 (2 j2)} 1 4

Solving for n = 1 x[1] 1 3 4 k 0 X (k ) e j k 2 2 j 0 j X (0)e X (1)e X (2)e j X (3)e j 3 2 1 [ X (0){1} X (1){ j} X (1){1} X (1){1}] 4 1 {10 j(2 j2) (2) j(2 j2)} 2 4 Similarly, solving for n = 2 and n = 3 we get x[2] 3 x[3] 4 You can even verify this result yourself using Matlab, try this ifft([10, -2+2i, -2, -2-2i]) ans = 1 2 3 4

Relationship between k and its associated frequency The -point DFT expresses frequency content from -fs/2 Hz to fs/2 Hz So can we map the frequency bin k to its corresponding frequency as f kf s f f s Hz The frequency resolution, the frequency step between two DFT points, is given as Hz

Example 4: In example 3, we found the DFT of the given sequence x[n] If the sampling rate is 10 Hz, determine (a) The sampling period, time index, and sampling time instant for a digital sample x[3] in time domain (b) The frequency resolution, frequency bin number, and mapped frequency for each of the DFT coefficients X(1) and X(3) in frequency domain (a) In time-domain, the sampling period can be calculated as T 1 1 0.1 f s 10 sec For x[3] the time index is n = 3 and the sampling time instant is t nt 3 0.1 0.3 sec

(b) In frequency-domain, since the total number of DFT points is = 4 f f s 10 2.5 Hz 4 The frequency bin number for X(1) is k = 1, so its associated freq is f kf s 110 2.5 4 Similarly, for X(3) is k = 3, so its associated freq is Hz f kf s 310 7.5 4 Hz

Amplitude & Phase response Once we have X(k), we can find its amplitude and phase response X (k ) R(k ) ji (k ) X (k) {R(k)} 2 {I (k)} 2 I (k) k tan 1 R(k )

Example 5: Plot the magnitude and phase response for the following discrete-time signal x[n]=[1 0 01]