sources of ambiguity and error sampling considerationsrate) depending on the signal dynamics leads...

4
1 Oct 02, Alfred Hero, Univ. Michigan 1 Digitization and Reconstruction of Continuous Time Signals Digitization/Reconstruction block diagram Reconstruction methods Reconstruction via interpolation • Examples Prof Alfred Hero EECS206 F02 Lect 19 Oct 02, Alfred Hero, Univ. Michigan 2 Digital Signal Processing System t X(t) Signal Digitizer Signal Reconstruction Digital processor y(t) X(t) y(t) X[n] t Oct 02, Alfred Hero, Univ. Michigan 3 Sources of ambiguity and error Signal Digitization: – Sampling rate too slow – Quantization too coarse Digital processing: – Roundoff errors/register overflow – Transmission/memory-storage errors – Buggy code! Signal Reconstruction: – Interpolation errors Oct 02, Alfred Hero, Univ. Michigan 4 Sampling Considerations Consider time sampling/reconstruction without quantization: sampling period (secs/sample) sampling rate or frequency (samples/sec) Ideal Sampler Reconstruction x(t) y(t) x[n] x(t) x[n] Oct 02, Alfred Hero, Univ. Michigan 5 Reconstruction of periodic signals from their time samples Time domain methods: estimate x(t) by simple ZOH or by applying interpolation to x[n] Frequency domain methods: estimate line spectrum of x(t) from line spectrum of x[n] and use estimate to re-synthesize x(t). Oct 02, Alfred Hero, Univ. Michigan 6 Interpolation Methods of Reconstruction Square interpolation Triangular interpolation Amplitude = 1 Amplitude = 1

Upload: others

Post on 21-May-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Sources of ambiguity and error Sampling Considerationsrate) depending on the signal dynamics leads to fundamental ambiguity due to a phenomenon called “aliasing.” • Over-sampling

1

Oct 02, Alfred Hero, Univ. Michigan

1

Digitization and Reconstruction of Continuous Time Signals

• Digitization/Reconstruction block diagram• Reconstruction methods• Reconstruction via interpolation• Examples

Prof Alfred HeroEECS206 F02

Lect 19

Oct 02, Alfred Hero, Univ. Michigan

2

Digital Signal Processing System

t

X(t)

Signal Digitizer SignalReconstructionDigital processor

y(t)

X(t) y(t)X[n]

t

Oct 02, Alfred Hero, Univ. Michigan

3

Sources of ambiguity and error• Signal Digitization:

– Sampling rate too slow– Quantization too coarse

• Digital processing:– Roundoff errors/register overflow– Transmission/memory-storage errors– Buggy code!

• Signal Reconstruction:– Interpolation errors

Oct 02, Alfred Hero, Univ. Michigan

4

Sampling Considerations • Consider time sampling/reconstruction without quantization:

• sampling period (secs/sample)

• sampling rate or frequency (samples/sec)

Ideal Sampler Reconstruction

x(t)y(t)x[n]

x(t)

x[n]

Oct 02, Alfred Hero, Univ. Michigan

5

Reconstruction of periodic signals from their time samples

• Time domain methods: estimate x(t) by simple ZOH or by applying interpolation to x[n]

• Frequency domain methods: estimate line spectrum of x(t) from line spectrum of x[n] and use estimate to re-synthesize x(t).

Oct 02, Alfred Hero, Univ. Michigan

6

Interpolation Methods of Reconstruction

• Square interpolation

• Triangular interpolation

Amplitude = 1

Amplitude = 1

Page 2: Sources of ambiguity and error Sampling Considerationsrate) depending on the signal dynamics leads to fundamental ambiguity due to a phenomenon called “aliasing.” • Over-sampling

2

Oct 02, Alfred Hero, Univ. Michigan

7

Interpolation Methods of Reconstruction

• Truncated sinc interpolation Amplitude = 1

Oct 02, Alfred Hero, Univ. Michigan

8

Example

• Consider cts time periodic signal

• Fundamental frequency: ?

• Highest freq component: ?

Oct 02, Alfred Hero, Univ. Michigan

9

Example

• Consider cts time periodic signal

• Fundamental frequency:

• Highest freq component:

Oct 02, Alfred Hero, Univ. Michigan

10

Example (ctd)X(t)

Oct 02, Alfred Hero, Univ. Michigan

11

Sample x(t) at 1850 samples/sec

Note: max frequency sinusoid gets sampled at 1850/900=2.05 samples/cycle Oct 02, Alfred Hero,

Univ. Michigan12

Square wave interpolation(ZOH)

(Note sampling is time shifted wrt last slide)

Page 3: Sources of ambiguity and error Sampling Considerationsrate) depending on the signal dynamics leads to fundamental ambiguity due to a phenomenon called “aliasing.” • Over-sampling

3

Oct 02, Alfred Hero, Univ. Michigan

13

Square wave interpolation(ZOH)

Oct 02, Alfred Hero, Univ. Michigan

14

ZOH Reconstruction: 2 samples/cycle

Oct 02, Alfred Hero, Univ. Michigan

15

Triangular wave (linear) interpolation

Oct 02, Alfred Hero, Univ. Michigan

16

Triangular wave (linear) interpolation

Oct 02, Alfred Hero, Univ. Michigan

17

Linear interpolator reconstruction:2 samples/cycle

Oct 02, Alfred Hero, Univ. Michigan

18

Truncated Sinc Interpolation

Page 4: Sources of ambiguity and error Sampling Considerationsrate) depending on the signal dynamics leads to fundamental ambiguity due to a phenomenon called “aliasing.” • Over-sampling

4

Oct 02, Alfred Hero, Univ. Michigan

19

Truncated sinc reconstruction2 samples/cycle

Oct 02, Alfred Hero, Univ. Michigan

20

Can reduce error by increasing sampling rate to 7250 samples/sec

Note: max frequency sinusoid gets sampled at 7250/900=8.0 samples/cycle

Oct 02, Alfred Hero, Univ. Michigan

21

ZOH Reconstruction8 samples/cycle

Oct 02, Alfred Hero, Univ. Michigan

22

Linear interpolator reconstruction8 samples/cycle

Oct 02, Alfred Hero, Univ. Michigan

23

Truncated Sinc Reconstruction8 samples/cycle

Oct 02, Alfred Hero, Univ. Michigan

24

Poor choice of sample frequency and/or interpolation function cause

errors• Sampling a signal below a certain rate (the Nyquist

rate) depending on the signal dynamics leads to fundamental ambiguity due to a phenomenon called “aliasing.”

• Over-sampling a signal above Nyquist rate never leads to aliasing but may be computationally expensive.

• Even if adequately sampled, use of poor interpolators can lead to distortion in reconstructed signal.

• There is a distortion tradeoff between low sampling rate and low complexity of interpolator