Docsity

Discrete-Time Signal Processing: Sampling, Nyquist Rate, and Aliasing, Study notes of Signals and Systems

Toggle sidebar
bg1
EE 422G Notes: Chapter 8 Instructor: Cheung
Page 5-1
Roadmap for Discrete-Time Signal Processing
Continuous-time Signal
x(t) = cos(2πft)
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
-1
-0.5
0
0.5
1
Discrete-time Signals (Section 8.1)
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
-1
-0.5
0
0.5
1
TT
Sampling Period = T seconds (or sampling frequency = 1/T Hz)
Denoted as x(nT) or simply x(n) for n=0,1,2,…
If T is too big, we have no idea of the original continuous-time signal!
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
-1
-0.5
0
0.5
1
T
pf3
pf4
pf5
pf8

Partial preview of the text

Download Discrete-Time Signal Processing: Sampling, Nyquist Rate, and Aliasing and more Study notes Signals and Systems in PDF only on Docsity!

Roadmap for Discrete-Time Signal Processing

Continuous-time Signal

x(t) = cos(2πft)

0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2

-0.

0

1

Discrete-time Signals (Section 8.1)

0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2

-0.

0

1

T T

Sampling Period = T seconds (or sampling frequency = 1/T Hz)

Denoted as x(nT) or simply x(n) for n=0,1,2,…

If T is too big, we have no idea of the original continuous-time signal!

0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2

-0.

0

1

T

So increase the sampling frequency, but by how much?

0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2

-0.

0

1

Surprising result by Nyquist (Section 8.2)

Reconstruction formula: 

= (^) ∑ ∑

∞

∞

−

T

t nT xnT t nT

T

x t x nT n n

T

tnT ( ) sinc ( )

sin( ) ( ) ( ) 0 0

( )

π

π

Quantization (Section 8.2)

Not only time can be discretized, signal level can too (and must to be stored in

computer). x ( nT )= 10. 3422364353 ...≈ 10. 34

A 32-bit computer can store 2 4,294,967, 296

32

= levels. Is it good enough?

Similarities between continuous-time and discrete-time analysis

PROPERTIES CONTINUOUS-TIME DISCRETE-TIME

System Properties

Linearity, Causality,

Stability

Linearity, Causality, Stability (8.4)

System Equation

Differential Equation

y ( t ) 3 y ( t ) x ( t ) dt

d

  • =

Difference Equation (8.4)

y [ nT ]− y [( n − 1 ) T ]= x [ nT ]

Complex Frequency

Transform

Laplace Transform

∫

∞ (^) −

0

X ( s ) x ( t ) e dt

st

Z-transform (8.3)

∑

∞

−

0

n

nT X z x nT z

A continuous-time signal, having no frequency components above fh Hz,

can be completely recovered by samples taken at a sampling rate greater

than or equal to 2fh Hz. This is called the Nyquist rate.

Chapter 8 Discrete-Time Signals and Systems

Part one: A/D and D/A

8.2A Analog-to-Digital Conversion

Sampling Operation

Why xs ( t ), instead of just using the values of x ( t ) at 0, T, 2T, …?

1. Almost the same

xnT t nT t nT

t nT xs t ( ) ( )

Sampling Model:

∑

∞

= −∞

s (^) n x ( t ) x ( t ) δ( t nT )

Here, our sampling function p ( t ) is

a periodic signal composed of a

train of delta functions.

∑

∞ = −∞

n

p ( t ) δ( t nT )

T 2T 3T 4T 5T

2. The impulse retains energy of the samples – behaves like a real signal!

∫ ∑^ ∫^ ∑

∞

0

2 2 2 ( ) ( ) ( ) ( ) s (^) n

x t dt xnT δ t nTdt xnT

For analysis purpose, we use xs ( t )to represent the discrete-time signal x ( nT )( xs ( t )

is the continuous-time “surrogate” of x ( nT )).

Spectrum of X s ( j ω) and its relationship to X ( j ω)

Multiplication in Time ⇔ Convolution in Frequency

xs ( t )= x ( t )⋅ p ( t ) ⇔

∞

− ∞

X (^) s ( j ω )= X [ j (ω−υ)]⋅ P ( j υ) d υ

From Table 4-2 (Ch.4),

[∑ ] ∑

∞ =−∞

∞ = −∞  

n m T

m

T

P j F t nT

π ω δ δ ω

  • another impulse train (in frequency domain) with period (^) s fs T

= = , our

sampling frequency

Thus,

∑^ (^ )

∞

=−∞

∞

−∞

∞

=−∞

m s

s m s

X j jm

T

m d

T

X j X j

ω ω

ω ω υ δυ ω υ

( ) [ ( )]

  • Compare this with the impulse train. X (^) s ( j ω) becomes a periodic spectrum with

period ω s.

Pictorially, if X ( j ω)looks like

What does X s ( j ω) looks like?

  • ωh ωh

X(jω)

The phenomenon of sampling under the Nyquist rate is called ALIASING.

In time domain:

In frequency domain:

-2πf

X(jω)

ω 2 πf

x(t) = Sine wave of f Hz

Xs(jω)

ω 2 πf

xs(t) = sampling x(t) at fs<2f

-4πfs -2πfs -2πf 2 πfs 4 πfs

If our ear can be model as a low-pass filter with bandwidth around f Hz,

EAR(jω)

ω

this is what we will hear: the original plus unwanted lower-frequency components.

EAR(jω)Xs(jω)

ω

At the times of sampling,

indicated by vertical lines,

the two signals shown both

agree with the observations.

Either of these signals could

produce the indicated

observations, shown by

circled points, so the two

signals are said to be

"aliased."

-2πf^2 πf

Original Image:

Downsample by a factor of

two: look at the low

frequency pattern around the

stripes.

If sampling frequency is

fixed (for example CD), the

original signal is low-passed

first to ensure that no aliasing

occurs. This processing is

called anti-aliasing.