<< Chapter < Page Chapter >> Page >
Illustration of the sampling theorem

In this module we illustrate the processes involved in sampling and reconstruction. To see how all these processes work together as a whole, take a look at the system view . In Sampling and reconstruction with Matlab we provide a Matlab script for download. The matlab script shows the process of sampling and reconstruction live .

Basic examples

To sample an analog signal with 3000 Hz as the highest frequency component requires samplingat 6000 Hz or above.

The sampling theorem can also be applied in two dimensions, i.e. for image analysis. A 2D sampling theorem has a simple physical interpretation in image analysis:Choose the sampling interval such that it is less than or equal to half of the smallest interesting detail in the image.

The process of sampling

We start off with an analog signal. This can for example be the sound coming from your stereo at home or your friend talking.

The signal is then sampled uniformly. Uniform sampling implies that we sample every T s seconds. In we see an analog signal. The analog signal has been sampled at times t n T s .

Analog signal, samples are marked with dots.
In signal processing it is often more convenient and easier to workin the frequency domain. So let's look at at the signal in frequency domain, . For illustration purposes we take the frequency content of the signal as a triangle.(If you Fourier transform the signal in you will not get such a nice triangle.)
The spectrum X Ω .
Notice that the signal in is bandlimited. We can see that the signal is bandlimited because X Ω is zero outside the interval Ω g Ω g . Equivalentely we can state that the signal has no angular frequencies above Ω g , corresponding to no frequencies above F g Ω g 2 .

Now let's take a look at the sampled signal in the frequency domain. While proving the sampling theorem we found the the spectrum of the sampled signal consists of a sum of shifted versions of the analog spectrum. Mathematically this isdescribed by the following equation:

X s Ω T s 1 T s k -∞ X Ω 2 k T s

Sampling fast enough

In we show the result of sampling x t according to the sampling theorem . This means that when sampling the signal in / we use F s 2 F g . Observe in that we have the same spectrum as in for Ω g Ω g , except for the scaling factor 1 T s . This is a consequence of the sampling frequency. As mentioned in the proof the spectrum of the sampled signal is periodic with period 2 F s 2 T s .

The spectrum X s . Sampling frequency is OK.

So now we are, according to the sample theorem , able to reconstruct the original signal exactly . How we can do this will be explored further down under reconstruction . But first we will take a look at what happens when we sample too slowly.

Sampling too slowly

If we sample x t too slowly, that is F s 2 F g , we will get overlap between the repeated spectra, see . According to the resulting spectra is the sum of these. This overlap gives rise to the concept of aliasing.

If the sampling frequency is less than twice the highest frequency component, then frequencies in the original signal that are above half the sampling rate will be "aliased"and will appear in the resulting signal as lower frequencies.

The consequence of aliasing is that we cannot recover the original signal,so aliasing has to be avoided. Sampling too slowly will produce a sequence x s n that could have orginated from a number of signals. So there is no chance of recovering the original signal.To learn more about aliasing, take a look at this module . (Includes an applet for demonstration!)

The spectrum X s . Sampling frequency is too low.

To avoid aliasing we have to sample fast enough. But if we can't sample fast enough (possibly due to costs) we can include an Anti-Aliasing filter. This willnot able us to get an exact reconstruction but can still be a good solution.

Typically a low-pass filter that is applied before sampling to ensure that no components with frequencies greater than halfthe sample frequency remain.

The stagecoach effect

In older western movies you can observe aliasing on a stagecoach when it starts to roll. At first the spokes appear toturn forward, but as the stagecoach increase its speed the spokes appear to turn backward. This comes from the fact that the sampling rate,here the number of frames per second, is too low. We can view each frame as a sample of an image that is changing continuouslyin time. ( Applet illustrating the stagecoach effect )

Reconstruction

Given the signal in we want to recover the original signal, but the question is how?

When there is no overlapping in the spectrum, the spectral component given by k 0 (see ),is equal to the spectrum of the analog signal. This offers an oppurtunity to use a simple reconstruction process. Remember what you have learned about filtering.What we want is to change signal in into that of . To achieve this we have to remove all the extra components generated in the sampling process.To remove the extra components we apply an ideal analog low-pass filter as shown in As we see the ideal filter is rectangular in the frequency domain. A rectangle in the frequency domain corresponds to a sinc function in time domain (and vice versa).

H Ω The ideal reconstruction filter.

Then we have reconstructed the original spectrum, and as we know if two signals are identical in the frequency domain, they are also identical in the time domain . End of reconstruction.

Conclusions

The Shannon sampling theorem requires that the input signal prior to sampling is band-limited to at most half the sampling frequency. Under this conditionthe samples give an exact signal representation. It is truly remarkable that such a broad and useful class signals can be represented that easily!

We also looked into the problem of reconstructing the signals form its samples. Again the simplicity of the principle is striking: linear filtering by an ideal low-pass filter will do the job. However,the ideal filter is impossible to create, but that is another story...

Go to?

  • Introduction
  • Proof
  • Illustrations
  • Matlab Example
  • Aliasing applet
  • Hold operation
  • System view
  • Exercises

Questions & Answers

A golfer on a fairway is 70 m away from the green, which sits below the level of the fairway by 20 m. If the golfer hits the ball at an angle of 40° with an initial speed of 20 m/s, how close to the green does she come?
Aislinn Reply
cm
tijani
what is titration
John Reply
what is physics
Siyaka Reply
A mouse of mass 200 g falls 100 m down a vertical mine shaft and lands at the bottom with a speed of 8.0 m/s. During its fall, how much work is done on the mouse by air resistance
Jude Reply
Can you compute that for me. Ty
Jude
what is the dimension formula of energy?
David Reply
what is viscosity?
David
what is inorganic
emma Reply
what is chemistry
Youesf Reply
what is inorganic
emma
Chemistry is a branch of science that deals with the study of matter,it composition,it structure and the changes it undergoes
Adjei
please, I'm a physics student and I need help in physics
Adjanou
chemistry could also be understood like the sexual attraction/repulsion of the male and female elements. the reaction varies depending on the energy differences of each given gender. + masculine -female.
Pedro
A ball is thrown straight up.it passes a 2.0m high window 7.50 m off the ground on it path up and takes 1.30 s to go past the window.what was the ball initial velocity
Krampah Reply
2. A sled plus passenger with total mass 50 kg is pulled 20 m across the snow (0.20) at constant velocity by a force directed 25° above the horizontal. Calculate (a) the work of the applied force, (b) the work of friction, and (c) the total work.
Sahid Reply
you have been hired as an espert witness in a court case involving an automobile accident. the accident involved car A of mass 1500kg which crashed into stationary car B of mass 1100kg. the driver of car A applied his brakes 15 m before he skidded and crashed into car B. after the collision, car A s
Samuel Reply
can someone explain to me, an ignorant high school student, why the trend of the graph doesn't follow the fact that the higher frequency a sound wave is, the more power it is, hence, making me think the phons output would follow this general trend?
Joseph Reply
Nevermind i just realied that the graph is the phons output for a person with normal hearing and not just the phons output of the sound waves power, I should read the entire thing next time
Joseph
Follow up question, does anyone know where I can find a graph that accuretly depicts the actual relative "power" output of sound over its frequency instead of just humans hearing
Joseph
"Generation of electrical energy from sound energy | IEEE Conference Publication | IEEE Xplore" ***ieeexplore.ieee.org/document/7150687?reload=true
Ryan
what's motion
Maurice Reply
what are the types of wave
Maurice
answer
Magreth
progressive wave
Magreth
hello friend how are you
Muhammad Reply
fine, how about you?
Mohammed
hi
Mujahid
A string is 3.00 m long with a mass of 5.00 g. The string is held taut with a tension of 500.00 N applied to the string. A pulse is sent down the string. How long does it take the pulse to travel the 3.00 m of the string?
yasuo Reply
Who can show me the full solution in this problem?
Reofrir Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Ece 454 and ece 554 supplemental reading. OpenStax CNX. Apr 02, 2012 Download for free at http://cnx.org/content/col11416/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Ece 454 and ece 554 supplemental reading' conversation and receive update notifications?

Ask