Docsity

Understanding Sampling and Aliasing in Digital Signal Processing, Slides of Computer Fundamentals

Partial preview of the text

Download Understanding Sampling and Aliasing in Digital Signal Processing and more Slides Computer Fundamentals in PDF only on Docsity!

Sampling and Aliasing

OVERVIEW

  • Periodic sampling, the process of representing

a continuous signal with a sequence of

discrete data values, pervades the field of

digital signal processing.

  • In practice, sampling is performed by applying

a continuous signal to an analog-to-digital

(A/D) converter whose output is a series of

digital values.

ALIASING

  • There is a frequency-domain ambiguity

associated with the discrete-time signal

samples that is absent in the continuous

signal world.

eg. Suppose you are given the

following sequence of values,

x(0) = 0 x(1) = 0. x(2) = 0. x(3)= 0

x(4) = -0. x(5) = -0. x(6) = 0

and were told that they represented instantaneous

values of a sinewave. Next you were told to

draw that sinewave. You would be able to draw a

sinewave that passes through the points

representing the original sequence.

yn

n

(^10 2 4 )

0

1

As an example, consider two sine waves that

differ only in frequency. One has a frequency of

500 Hz, and the frequency of the subsequent sine

wave is 8500 Hz.

x1i 0 x2i

ti

Consider the continuous time domain sinusoidal

signal

This a garden variety sinewave with a frequency

fo Hz. If we sample at a rate of^ fs samples per

second, where Ts = 1/fs. If we start sampling at

t = 0, we will obtain samples at 0 ts , 1 ts , 2 ts ,

and so on.

x t ( ) = sin( 2 π f to )

Because two values of a sine wave are

identical if they’re separated by an integer

multiple of 2π radians, i.e.,

where m is any integer. Now

sin(φ ) = sin(φ + 2 π m )

x ( n ) = sin( 2 π fonts ) = sin( 2 π fonts + 2 π m )

 

  

 

 

 

 

 = + s s

o nt nt

m x ( n ) sin 2 π f

If we let m be an integer multiple of n , m=kn ,

we can replace the m/n ratio with k so that

The fo and (fo + kfs ) factors are equal. It means

that an x(n) sequence of digital sample values,

representing a sine wave of f o Hz, also exactly

represents sine waves at other frequencies,

namely fo + kfs. This is one of the most

important relationships in the field of DSP.

= + s s

o (^) t nt

k

x ( n ) sin 2 π f

IMPULSE FUNCTION

The impulse function is represented by δ (t). Its domain is all t , and the range contains only two values, 0 and ∞.

The range is zero for all values of time except when t = 0 , when the time function has the value of infinity (i.e. blows up ).

t

t

δ t

The graphical representation of the delta function is given below

δ (t)

t

The δ function is obtained from ∆ (t) by the limiting process

The width of function goes to zero as its amplitude goes to infinity in a manner that causes the area under the curve to remain constant at unity. ∆ (t)

t

( ) lim ( ) 0

t = ∆ t ∆→

As ∆ decreases in value, the function becomes narrower and higher. In the limit, as ∆ → 0, ∆ t → δ (t).

The integral of ∆ (t) is unity for any value of ∆. It follows that the integral of the δ function is also unity provided that the origin is included in the limits of integration. Otherwise, it is zero.

otherwise

a b t dt

b

a^0 ,

TIME-SHIFTED FUNCTIONS

If the argument of the δ function is replaced with t- τ , we see that the impulse still occurs when the argument takes on the value of zero (i.e., when t- τ = 0 or t = τ).

t

t t

TIME-SIFTING PROPERTY

If we integrate the product of the δ function and any time function, we can observe the sifting property of δ function.

where ε is arbitrarily small.

∫ f^ t t dt ∫ f t t dt ∫ f t t dt ∫ f t t^ dt

∞

−∞ − −

∞

−∞

ε

ε

ε

ε