/
7.0 Sampling 7.0 Sampling

7.0 Sampling - PowerPoint Presentation

debby-jeon
debby-jeon . @debby-jeon
Follow
395 views
Uploaded On 2017-04-07

7.0 Sampling - PPT Presentation

71 The Sampling Theorem A link between ContinuoustimeDiscretetime Systems x t y t h t x n y n h n Sampling x n x nT T sampling period ID: 534893

text sampling fig time sampling text time fig frequency discrete impulse aliasing signals train continuous problem interpolation decimation lowpass

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "7.0 Sampling" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

7.0 Sampling

7.1 The Sampling Theorem

A link between Continuous-time/Discrete-time Systems

x

(

t

)

y

(t)

h(t)

x

[

n

]

y[n]

h[n]

Sampling

x[n]=x(nT), T : sampling period

x

[

n]

x(t)

h[n]

y[n]

y(t)

h(t)

RecoverySlide2

Motivation: handling continuous-time signals/systems

digitally using computing environment accurate, programmable, flexible, reproducible, powerful compatible to digital networks and relevant technologies all signals look the same when digitized, except at different rates, thus can be supported by a single network Question: under what kind of conditions can a continuous-time signal be uniquely specified by its discrete-time samples?

See Fig. 7.1, p.515 of text

Sampling TheoremSlide3

Recovery from Samples

?

 

 

 

 

0

1

2Slide4
Slide5
Slide6
Slide7
Slide8
Slide9

Impulse Train Sampling

See Fig. 4.14, p.300 of text

periodic spectrum, superposition of scaled, shifted replicas of

X

(

j

ω

)

See Fig. 7.3, p.517 of textSlide10

Sampling Theorem (1/2)

x

(

t

) uniquely specified by its samples x(nT), n=0,

1, 2……

precisely reconstructed by an ideal lowpass

filter with Gain T and cutoff frequency ωM < ωc < ωs- ωMapplied on the impulse train of sample values

Impulse Train Sampling

See Fig. 7.4, p.519 of textSlide11
Slide12

Sampling Theorem (2/2)

if

ω

s

≤ 2 ωMspectrum overlapped, frequency components confused --- aliasing effect

can’t be reconstructed by lowpass filtering

Impulse Train Sampling

See Fig. 7.3, p.518 of textSlide13

Aliasing Effect

,

 

 

After sampling with

, any two frequency components

,

become indistinguishable, or sharing identical samples, or should be considered as identical frequency components if  

(

for discrete-time signals )

 0 0 0 

  

   

  

 

 

 

 

  

 Slide14

Continuous/Discrete

Sinusoidals (p.36 of 1.0

)

 

 

 

 

 

 

2

3

5

4

0

1

   

  

 

 

 

 

 

  

 

 : discrete-time signalsany : sampling  

 

 

 

 

 Slide15

Sampling

,

 

sampling

 

 

0

 

 

 sampling

  

 0

 

, if  

 0 1 2 3

 (chap4) (

chap5)  

  

0 1 2 3

 

 

 

  Slide16

Aliasing Effect

 

 

Aliasing

Effect

0

 

 

 

 

 

 Slide17

Sampling Thm

 

 

 

0

 

 

 

0

   Slide18

Recovery from Samples

?

(p.3 of

7.0)

 

 

 

 

0

1

2Slide19

Practical Sampling

(any other pulse shape)

x

(

t

)

(

t)

 

(t) 

x(t)

t

t

T

 

 

 

T

T

 

t

 

1

 

0

 

t

 

 

 

 

 

 

 

 

 

0

0

 

 

 Slide20

Practical Sampling

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(any other

pulse shape) 

 

 

 

 

 

 00

   

 Slide21

Practical Issues

nonideal

lowpass

filters accurate enough for practical purposes determined by acceptable level of distortionoversampling ωs = 2 ωM + ∆ ω sampled by pulse train with other pulse shapes

signals practically not bandlimited : pre-filtering

Impulse Train SamplingSlide22

Oversampling with Non-ideal Lowpass Filters

 

 

 

 

 

 

0

 

 0 

  Slide23

Signals not Bandlimited

 

0

0

 

 

 

 Slide24

Zero-order Hold:

holding the sampled value until the next sample taken

modeled by an impulse train sampler followed by a system with rectangular impulse response

Sampling with A Zero-order Hold

See Fig. 7.6, 7.7, 7.8, p.521, 522 of text

Reconstructed by a

lowpass

filter

Hr(jω)Slide25
Slide26
Slide27

Impulse train sampling/ideal lowpass filtering

Interpolation

See Fig. 7.10, p.524 of textSlide28
Slide29

Ideal InterpolationSlide30

Zero-order hold can be viewed as a “coarse” interpolation

Interpolation

See Fig. 7.12, p.525 of text

Sometimes additional lowpass filtering naturally applied

See Fig. 7.11, p.524 of text

e.g. viewed at a distance by human eyes, mosaic

smoothed naturallySlide31
Slide32
Slide33
Slide34
Slide35

Higher order holds

Interpolation

See Fig. 7.13, p.526, 527 of text

zero-order : output discontinuous

first-order : output continuous, discontinuous

derivatives

second-order : continuous up to first derivative

discontinuous second derivativeSlide36
Slide37
Slide38

Consider a signal

x(

t)=cos ω

0

t

Aliasing

sampled at sampling frequency

reconstructed by an ideal lowpass filterwithxr(t) : reconstructed signalfixed ωs, varying ω0Slide39

Consider a signal

x(

t)=cos ω

0

t

Aliasing

when aliasing occurs, the original frequency ω0 takes on the identity of a lower frequency, ωs – ω0

See Fig. 7.15, 7.16, p.529-531 of text

w0 confused with not only ωs + ω0, but ωs – ω0Slide40
Slide41
Slide42
Slide43

Consider a signal

x(

t)=cos ω

0

t

Aliasing

many

xr(t) exist such thatthe problem is it is not easy to find the right oneif x(t) = cos

(ω0t + ϕ)the impulses have extra phases ejϕ, e-jϕ

Slide44

 

 

 

 

 

 

 

 

 

 

Sinusoidals

(

p.25 of 4.0)Slide45

Consider a signal

x(

t)=cos (

ω

0t + Φ)

Aliasing

(a) (b)

(c) (d)

phase also changedSlide46

Example 7.1 of Text

,

,

 

Sampling

is “

time-varying” 

  

 000 

  (a)

 

(c)

 (b)  Slide47

Example 7.1 of Text

(a)

 

 

 

 

 

 

 

   

 

 

 

000 

  

  

  

  

 

 

(b)  

(c)   Slide48

 

Example 7.1 of Text

,

 

 

 

=

 

 

 

 

 

 

 

 

 

 

 Slide49

Examples

Example 7.1

, p.532 of text

(Problem 7.39, p.571 of text)

sampled and low-pass filteredSlide50

7.2 Discrete-time Processing of

Continuous-time Signals

Processing continuous-time signals digitally

C/D

Conversion

x

c

(

t)y

c(t)

A/D Converter

D/CConversion

D/A Converter

Discrete-time

System

xd[n]=xc(nT

)

yd[n]=yc(nT)

x

[

n

]

x(t)

h[n]

y[n]

y(t)

h

(

t

)

RecoverySlide51

C/D Conversion

Formal Formulation/Analysis

impulse train sampling with sampling period

T

mapping the impulse train to a sequence with unity spacing

normalization (or scaling) in timeSlide52

Frequency Domain Representation

Formal Formulation/Analysis

ω

for continuous-time,

for discrete-time, only in this sectionSlide53

Frequency Domain Relationships

Formal Formulation/Analysis

continuous-time

discrete-time

(5.9)

(4.9)Slide54

Frequency Domain Relationships

Formal Formulation/Analysis

relationship

See Fig. 7.22, p.537 of text

(7.6)Slide55

C/D Conversion

X

d

(

ej

Ω) is a frequency-scaled (by

T) version of X

p(jω)xd[n] is a time-scaled (by 1/T) version of xp(t

) Xd

(ejΩ) periodic with period 2πXp(jω) periodic with period 2

π/T=ωs

 

 

 

  

  

  

 

 

 

00 1 2 3 4

 1

   

 

  

  

 Slide56
Slide57

D/C Conversion

Formal Formulation/Analysis

mapping a sequence to an impulse train

lowpass

filteringSlide58

Complete System

Formal Formulation/Analysis

equivalent to a continuous-time system

See Fig. 7.24, 7.25, 7.26, p.538, 539, 540 of text

if the sampling theorem is satisfied

(7.24)

(7.25)Slide59

x

[

n

]

x

(

t)

h[n]

y[n]

y(t)

h

(t)

RecoverySlide60
Slide61
Slide62

Note

Discrete-time Processing of Continuous-time Signals

the complete system is linear and time-invariant if the sampling theorem is satisfied

sampling process itself is NOT time-invariantSlide63

Digital Differentiator

Examples

band-limited differentiator

discrete-time equivalent

See Fig. 7.27, 7.28, p.541, 542 of textSlide64
Slide65

Delay

Examples

y

c

(

t

)=x

c(t-∆)discrete-time equivalent

See Fig. 7.29, p.543 of textSlide66
Slide67

Delay

Examples

∆/

T

an integer

∆/

T

not an integer undefined in principlebut makes sense in terms of sampling if the sampling theorem is satisfiede.g. ∆/T=

1/2, half-sample delay

See Fig. 7.30, p.544 of textSlide68
Slide69

 

 

 

0

00 

 

 

 

  

  

 

 

 

 

  UpSamplingDownSampling

Up/Down Sampling

7.3 Change of Sampling FrequencySlide70

Completely in parallel with impulse train sampling of continuous-time signals

Impulse Train Sampling of Discrete-time

Signals

See Fig. 7.31, p.546 of textSlide71

See Fig. 7.31, p.546 of textSlide72

(

P.5

of 7.0)Slide73

(

P.7

of 7.0)Slide74

(

P.8

of 7.0)Slide75

Completely in parallel with impulse train sampling of continuous-time signals

Impulse Train Sampling of Discrete-time

Signals

See Fig. 7.32, p.547 of textSlide76

 Slide77

Aliasing Effect

,

 

 

After sampling with

, any two frequency components

,

become indistinguishable, or sharing identical samples, or should be considered as identical frequency components if  

(

for discrete-time signals )

 0 0 0 

  

   

  

 

 

 

 

  

 (P.13 of 7.0)Slide78

Sampling

,

 

sampling

 

 

0

 

 

 sampling

  

 0

 

, if  

 0 1 2 3

 (chap4) (

chap5)  

  

0 1 2 3

 

 

 

  

(P.15 of 7.0)Slide79

Aliasing Effect

 

 

Aliasing

Effect

0

 

 

 

 

 

 

(

P.16 of 7.0)Slide80

Aliasing for Discrete-time Signals

 

 

 

+

 

 

 Slide81

Completely in parallel with impulse train sampling of continuous-time signals

Impulse Train Sampling of Discrete-time

Signals

ω

s

> 2

ω

M, no aliasing, ωs = x[

n] can be exactly recovered from xp[n] by a lowpass filterWith Gain N and cutoff frequency ωM <

ωc < ωs- ωM 

See Fig. 7.33, p.548 of textωs

< 2

ωM, aliasing occurs

filter output xr[n] ≠ x[n]but xr

[kN] = x[kN], k=0, ±1, ±2, …… Slide82
Slide83

Interpolation

Impulse Train Sampling of Discrete-time

Signals

h

[

n

] : impulse response of the lowpass

filterin general a practical filter hr[n

] is usedSlide84
Slide85

Decimation: reducing the sampling frequency by a factor of

N,

downsampling :

two reversible steps

Decimation/Interpolation

deleting all zero’s between non-zero

samples to

produce a new sequence (inverse of time expansion property of discrete-time Fourier transform)

See Fig. 7.34, p.550 of text

taking every N-th sample, leaving zeros in between both steps reversible in both time/frequency domainsSlide86
Slide87

(

p.38

of 5.0)Slide88

(

p.39

of 5.0)Slide89

Time Expansion

If n/k is an integer, k: positive integer

See Fig. 5.14, p.378 of text

See Fig. 5.13, p.377 of text

(

p.37

of 5.0)Slide90

Decimation

:

Decimation/Interpolation

See Figs. 7.34, 7.35, p. 550, 551 of textSlide91
Slide92
Slide93

Decimation

Decimation/Interpolation

decimation

without introducing aliasing requires oversampling situation

See an example in Fig. 7.36, p. 552 of textSlide94
Slide95

Interpolation: increasing the sampling frequency by a factor of

N, upsampling

Decimation/Interpolation

reverse

the two-step

process in decimation

from

xb[n] construct xp[n] by inserting N-1 zero’sfrom x

p[n] construct x[n] by lowpass filteringSee Fig. 7.37, p. 553 of text

Change of sampling frequency by a factor of N/M: first interpolating by N

, then decimating by MSlide96
Slide97

Decimation/Interpolation

Decimation

Interpolation

0 1 2

0 1 2 

 

 

  

   

 0 

 

 

 Slide98

Decimation/Interpolation

 

 

0

 

 

0

0000

   

  ,

 ,

 

 

 

 

  for

 for  

 Slide99

Examples

Example 7.4/7.5

, p.548, p.554 of text

sampling

x

[

n

] without aliasingSlide100

Examples

Example 7.4/7.5

, p.548, p.554 of text

maximum possible downsampling: using full band [-

π

,

π

]Slide101

Examples

Example 7.4/7.5

, p.548, p.554 of textSlide102

Problem

7.6, p.557 of textSlide103

Problem

7.20, p.560 of text

: inserting one zero after each sample

: decimation 2:1, extracting every second sample

Which of (a)(b) corresponds to low-pass filtering

with ?Slide104

Problem

7.20, p.560 of text

: inserting one zero after each sample

: decimation 2:1, extracting every second sample

(a) yesSlide105

Problem

7.20, p.560 of text

(b) no

: inserting one zero after each sample

: decimation 2:1, extracting every second sampleSlide106

Problem

7.23, p.562 of textSlide107

Problem

7.23, p.562 of textSlide108

Problem

7.23, p.562 of textSlide109

Problem

7.24, p.562 of text

2Slide110

Problem

7.41, p.572 of textSlide111

Problem

7.41, p.572 of textSlide112

Problem

7.52, p.580 of text

dual problem for frequency domain sampling