Sampling Theorem - Signals and Systems - Lecture Notes | ECE 3640, Study notes of Signals and Systems

Material Type: Notes; Class: Signals and Systems; Subject: Electrical & Computer Engr; University: Utah State University; Term: Unknown 1989;

Typology: Study notes

Pre 2010

Uploaded on 07/30/2009

koofers-user-1eo-1
koofers-user-1eo-1 🇺🇸

10 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE 3640
Lecture 6 Sampling
Objective: To learn and prove the sampling theorem and understand its impli-
cations.
The sampling theorem
Due to the increased use of computers in all engineering applications, including
signal processing, it is important to spend some more time examining issues of
sampling. In this chapter we will look at sampling both in the time domain and
the frequency domain.
We have already encountered the sampling theorem and, arguing purely from
a trigonometric-identity point of view, have established the Nyquist sampling cri-
terion for sinusoidal signals. However, we have not fully addressed the sampling
of more general signals, nor provided a general proof. Nor have we indicated how
to reconstruct a signal from its samples. With the tools of Fourier transforms and
Fourier series available to us we are now ready to finish the job that was started
months ago.
To begin with, suppose we have a signal x(t) which we wish to sample. Let us
suppose further that the signal is bandlimited to BHz. This means that its Fourier
transform is nonzero for 2πB < ω < 2πB. Plot spectrum.
We will model the sampling process as multiplication of x(t) by the “picket
fence” function
δT(t) = X
n
δ(tnT ).
We encountered this periodic function when we studied Fourier series. Recall that
by its Fourier series representation we can write
δT(t) = 1
TX
n
ejnωst
where ωs=2π
T. The frequency fs=ωs/(2π) = 1/T is the sampling frequency in
samples/sec. Suppose that the sampling frequency is chosen so that fs>2B, or
equivalently, ωs>4πB.
The sampled output is denoted as x(t), where
x(t) = x(t)δT(t)
Using the F.S. representation we get
x(t) = x(t)1
TX
n
ejnωst
Now lets look at the spectrum of the transformed signal. Using the convolution
property,
X(ω) = 1
2π
1
TX(ω)X
n
2πδ(ωs) = 1
TX
n
X(ωs).
Plot the spectrum of the sampled signal with both ωfrequency and ffrequency.
Observe the following:
pf3
pf4

Partial preview of the text

Download Sampling Theorem - Signals and Systems - Lecture Notes | ECE 3640 and more Study notes Signals and Systems in PDF only on Docsity!

ECE 3640

Lecture 6 – Sampling

Objective: To learn and prove the sampling theorem and understand its impli- cations.

The sampling theorem

Due to the increased use of computers in all engineering applications, including signal processing, it is important to spend some more time examining issues of sampling. In this chapter we will look at sampling both in the time domain and the frequency domain. We have already encountered the sampling theorem and, arguing purely from a trigonometric-identity point of view, have established the Nyquist sampling cri- terion for sinusoidal signals. However, we have not fully addressed the sampling of more general signals, nor provided a general proof. Nor have we indicated how to reconstruct a signal from its samples. With the tools of Fourier transforms and Fourier series available to us we are now ready to finish the job that was started months ago. To begin with, suppose we have a signal x(t) which we wish to sample. Let us suppose further that the signal is bandlimited to B Hz. This means that its Fourier transform is nonzero for − 2 πB < ω < 2 πB. Plot spectrum. We will model the sampling process as multiplication of x(t) by the “picket fence” function δT (t) =

n

δ(t − nT ).

We encountered this periodic function when we studied Fourier series. Recall that by its Fourier series representation we can write

δT (t) =

T

n

ejnωs^ t

where ωs = (^2) Tπ. The frequency fs = ωs/(2π) = 1/T is the sampling frequency in samples/sec. Suppose that the sampling frequency is chosen so that fs > 2 B, or equivalently, ωs > 4 πB. The sampled output is denoted as x(t), where

x(t) = x(t)δT (t)

Using the F.S. representation we get

x(t) = x(t)

T

n

ejnωs^ t

Now lets look at the spectrum of the transformed signal. Using the convolution property,

X(ω) =

2 π

T

X(ω) ∗

n

2 πδ(ω − nωs) =

T

n

X(ω − nωs).

Plot the spectrum of the sampled signal with both ω frequency and f frequency. Observe the following:

  • The spectrum is periodic, with period 2π, because of the multiple copies of the spectrum.
  • The spectrum is scaled down by a factor of 1/T.
  • Note that in this case there is no overlap between the images of the spectrum.

Now consider the effect of reducing the sampling rate to fs < 2 B. In this case, the duplicates of the spectrum overlap each other. The overlap of the spectrum is aliasing. This demonstration more-or-less proves the sampling theorem for general signals. Provided that we sample fast enough, the signal spectrum is not distorted by the sampling process. If we don’t sample fast enough, there will be distortion. The next question is: given a set of samples, how do we get the signal back? From the spectrum, the answer is to filter the signal with a lowpass filter with cutoff ωc ≥ 2 πB. This cuts out the images and leaves us with the original spectrum. This is a sort of idealized point of view, because it assumes that we are filtering a continuous-time function x(t), which is a sequence of weighted delta functions. In practice, we have numbers x[n] representing the value of the function x[n] = x(nT ) = x(n/fs). How can we recover the time function from this?

Theorem 1 (The sampling theorem) If x(t) is bandlimited to B Hz then it can be recovered from signals taken at a sampling rate fs > 2 B. The recovery formula is

x(t) =

n

x(nT )g(t − nT )

where

g(t) =

sin(πfst) πfst

= sinc(πfst).

Show what the formula means: we are interpolating in time between samples using the sinc function. We will prove this theorem. Because we are actually lacking a few theoretical tools, it will take a bit of work. What makes this interesting is we will end up using in a very essential way most of the transform ideas we have talked about.

  1. The first step is to notice that the spectrum of the sampled signal,

X(ω) =

T

n

X(ω − nωs)

is periodic and hence has a Fourier series. The period of the function in frequency is ωs, and the fundamental frequency is

p 0 =

2 π ωs

fs

= T.

By the F.S. we can write

X(ω) =

n

cnejnωT

where the cn are the F.S. coefficients

cn =

ωs

ωs

X(ω)e−jnωT^ dω =

2 π ωs

2 π

−∞

T

X(ω)e−jnωT^ dω.

  1. Flexibility
  2. Channel coding theorem. Source coding theorem.
  3. Encryption
    • Time division multiplexing
    • Pulse code modulation

Spectral sampling

Just as we can sample a band-limited signal in the time domain and reconstruct it, provided that we sample often enough, so can we also sample a time-limited signal in the frequency domain and exactly reconstruct the spectrum, provided that we take the samples close enough together in the spectrum. There is thus a dual to the sampling theorem which applies to sampling the spectrum. We can also use this kind of thinking to find the F.T. of a periodic signal. Let f (t) be a causal signal time-limited to τ seconds. Its F.T. is

F (ω) =

∫ (^) τ

0

f (t)e−jωtdt.

Now create a periodic extension of f (t) by repeating it every T 0 seconds.

fT 0 (t) =

n

f (t − nT 0 ).

Since fT 0 (t) is periodic, it has a F.S. and we can write

fT 0 (t) =

n

Dnejnω^0 t

where ω 0 = 2π/T 0 and (when τ < T 0 )

Dn =

T 0

∫ T 0

0

f (t)e−jnω^0 t^ =

T 0

∫ (^) τ

0

f (t)e−jnω^0 t.

Comparing the F.S. coefficient with the F.T. above, it follows that

Dn =

T 0

F (nω 0 ).

An implication of this is that we can find the F.S. coefficients by first taking the F.T. of one period of our signal, then sampling and scaling the F.T. In terms of reconstructing the signal spectrum from its samples, we can see that as long as T 0 > τ , the cycles of f (t) do not overlap. We can then (at least in concept) reconstruct the entire spectrum of F (ω) from its samples. Conceptually, we time- limit the function, then take its F.T. The sampling condition can be expressed as follows: T 0 > τ

F 0 <

τ

So we can reconstruct from samples of the spectrum, provided that the samples are close enough by comparison with the time-limit of the function.