24
Compiled by, Mrs.S.Sherine Assistant Professor Department of EEE BIHER . BEE604 Digital Signal Processing

PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Compiled by,

Mrs.S.Sherine

Assistant Professor

Department of EEE

BIHER .

BEE604 – Digital Signal Processing

Page 2: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

CONTENTS

Sampling

Discrete Time Fourier Transform

Properties of DTFT

Discrete Fourier Transform

Inverse Discrete Fourier Transform

FAST FOURIER TRANSFORMS

Page 3: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Sampling

Continuous signals are digitized using digital computers

When we sample, we calculate the value of the

continuous signal at discrete points

How fast do we sample

What is the value of each point

Quantization determines the value of each samples

value

Page 4: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Sampling Periodic Functions

- Note that wb = Bandwidth, thus if then aliasing occurs

(signal overlaps)

-To avoid aliasing

-According sampling theory: To hear music up to 20KHz a CD

should sample at the rate of 44.1 KHz

Page 5: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Discrete Time Fourier Transform

In likely we only have access to finite amount of data

sequences (after sampling)

Recall for continuous time Fourier transform, when the

signal is sampled:

Assuming

Discrete-Time Fourier Transform (DTFT):

Page 6: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Discrete Time Fourier Transform

Discrete-Time Fourier Transform (DTFT):

A few points

DTFT is periodic in frequency with period of 2p

X[n] is a discrete signal

DTFT allows us to find the spectrum of the discrete signal

as viewed from a window

Page 7: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Example of Convolution

Convolution

We can write x[n] (a periodic function) as an infinite sum of the function xo[n] (a non-periodic function) shifted N units at a time

This will result

Thus

Page 8: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Finding DTFT For periodic signals

Starting with xo[n]

DTFT of xo[n]

Page 9: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

DT Fourier Transforms 1. W is in radian and it is

between 0 and 2p in each

discrete time interval

2. This is different from w where

it was between – INF and + INF

3. Note that X(W) is periodic

Page 10: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Properties of DTFT Remember:

For time scaling note that

m>1 Signal spreading

Page 11: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Discrete Fourier Transform

We often do not have an infinite amount of data which is required by DTFT

For example in a computer we cannot calculate uncountable infinite (continuum) of frequencies as required by DTFT

Thus, we use DTF to look at finite segment of data

We only observe the data through a window

In this case the xo[n] is just a sampled data between n=0, n=N-1 (N points)

Page 12: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Discrete Fourier Transform

It turns out that DFT can be defined as

Note that in this case the points are spaced 2pi/N; thus

the resolution of the samples of the frequency spectrum

is 2pi/N.

We can think of DFT as one period of discrete Fourier

series

Page 13: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

A short hand notation

remember:

Page 14: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Inverse of DFT

We can obtain the inverse of DFT

Note that

Page 15: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Example of DFT

Find X[k]

We know k=1,.., 7; N=8

Page 16: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Example of DFT

Time shift Property of DFT

Polar plot for

Page 17: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Example of DFT

Summation for X[k]

Using the shift property!

Page 18: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Example of IDFT

Remember:

Page 19: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Fast Fourier Transform Algorithms

Consider DTFT

Basic idea is to split the sum into 2 subsequences of

length N/2 and continue all the way down until you

have N/2 subsequences of length 2

Log2(8)

N

Page 20: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Radix-2 FFT Algorithms - Two

point FFT

We assume N=2^m

This is called Radix-2 FFT Algorithms

Let’s take a simple example where only two points are

given n=0, n=1; N=2

http://www.cmlab.csie.ntu.edu.tw/cml/dsp/training/coding/transform/fft.html

y0

y1

y0

Butterfly FFT

Advantage: Less

computationally

intensive: N/2.log(N)

Page 21: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

General FFT Algorithm

First break x[n] into even and odd

Let n=2m for even and n=2m+1 for odd

Even and odd parts are both DFT of a N/2 point

sequence

Break up the size N/2 subsequent in half by letting

2mm

The first subsequence here is the term x[0], x[4], …

The second subsequent is x[2], x[6], …

1

1)2sin()2cos(

)]12[(]2[

2/

2

2/

2/

2/2/

2/

2/

2/

2

12/

0

2/

12/

0

2/

N

N

jN

N

m

N

N

N

m

N

Nm

N

mk

N

mk

N

N

m

mk

N

k

N

N

m

mk

N

W

jeW

WWWW

WW

mxWWmxW

ppp

Page 22: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

Example

1

1)2sin()2cos(

)]12[(]2[][

2/

2

2/

2/

2/2/

2/

2/

2/

2

12/

0

2/

12/

0

2/

N

N

jN

N

m

N

N

N

m

N

Nm

N

mk

N

mk

N

N

m

mk

N

k

N

N

m

mk

N

W

jeW

WWWW

WW

mxWWmxWkX

ppp

Let’s take a simple example where only two points are given n=0, n=1; N=2

]1[]0[]1[]0[)]1[(]0[]1[

]1[]0[)]1[(]0[]0[

1

1

0

0

1.0

1

1

1

0

0

1.0

1

0

0

0.0

1

0

1

0

0

0.0

1

xxxWxxWWxWkX

xxxWWxWkX

mm

mm

Same result

Page 23: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

FFT Algorithms - Four point

FFT First find even and odd parts and then combine them:

The general form:

Page 24: PowerPoint Presentation · Title: PowerPoint Presentation Author: BIST Created Date: 1/18/2019 9:10:51 AM

FFT Algorithms - 8 point FFT