chap5-sampling rate conversion.pptx

22
Copyright © 2005. Shi Ping CUC Chapter 5 • Sampling Rate Conversion •Cont ent Introduction Decimation by a factor D Interpolation by a factor I Sampling rate conversion by a rational factor I/D

Upload: vijayalaxmi-biradar

Post on 07-Feb-2016

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

Chapter 5• Sampling Rate Conversion

• Content

Introduction Decimation by a factor D Interpolation by a factor I Sampling rate conversion by a rational

factor I/D

Page 2: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

In many practical applications of DSP, one is faced with the problem of changing the sampling rate of a signal.

The process of converting a signal from a given rate to a different rate is called sampling rate conversion.

Systems that employ multiple sampling rates in the processing of digital signals are called multirate digital signal processing systems.

• Introduction

Page 3: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

There are two general methods to accomplish the sampling rate conversion of a digital signal. To pass the digital signal through a D/A converter, filter

it if necessary, and then to resample the resulting analog signal at the desired rate;

To perform the sampling rate conversion entirely in the digital domain.

The process of reducing the sampling rate by an integer factor D (downsampling by D) is called decimation.

The process of increasing the sampling rate by an integer factor I (upsampling by I) is called interpolation.

• Introduction

• return

Page 4: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

• In downsampling by an integer factor D>1, every D-th samples of the input sequence are kept and others are removed:

• D

•Decimation by a factor D

Page 5: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

Relationship in time domain

Input sequence

• Periodic train of impulses

• Output sequence

• demo

•Decimation by a factor D

Page 6: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

Relationship in frequency domain

•Decimation by a factor D

Page 7: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

• demo

Page 8: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

• h(n) • D

Using a digital low-pass filter to prevent aliasing

•Decimation by a factor D

• return

Page 9: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

• In up-sampling by an integer factor I >1, I -1 equidistant zeros-valued samples are inserted between each two consecutive samples of the input sequence. Then a digital low-pass filter is applied.

• I • h(n)

• demo

• Interpolation by a factor I

Page 10: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

Relationship in frequency domain

Input sequence

• demo

• Interpolation by a factor I

• return

Page 11: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

If is a rational number

• h1(n)

• h2(n)

• I

• D

• interpolation • decimation

• Sampling rate conversion by a rational factor I/D

• Sampling period

Page 12: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

• h (n)

• I

• D

• example1

• Sampling Rate Conversion

• example2

• return

Page 13: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

-15 -10 -5 0 5 10 150

2

n

-15 -10 -5 0 5 10 150

0.5

1

n

-15 -10 -5 0 5 10 150

2

n

-15 -10 -5 0 5 10 150

2

n

• return

Page 14: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

• return

Page 15: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

0 4 8 12 16 20 24 28 32 36 40 44 480

2

4

n

0 4 8 12 16 20 24 28 32 36 40 44 480

2

4

n

0 4 8 12 16 20 24 28 32 36 40 44 480

2

4

n

• return

Page 16: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

• return

Page 17: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

Page 18: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

• return

Page 19: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

P137, No.26 in textbook

Page 20: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

Page 21: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

Page 22: chap5-Sampling Rate Conversion.pptx

• Copyright © 2005. Shi Ping CUC

• return