<< 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.

Got questions? Get instant answers now!

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.

Got questions? Get instant answers now!

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 )

Got questions? Get instant answers now!

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

what is microbiology
Agebe Reply
What is a cell
Odelana Reply
what is cell
Mohammed
how does Neisseria cause meningitis
Nyibol Reply
what is microbiologist
Muhammad Reply
what is errata
Muhammad
is the branch of biology that deals with the study of microorganisms.
Ntefuni Reply
What is microbiology
Mercy Reply
studies of microbes
Louisiaste
when we takee the specimen which lumbar,spin,
Ziyad Reply
How bacteria create energy to survive?
Muhamad Reply
Bacteria doesn't produce energy they are dependent upon their substrate in case of lack of nutrients they are able to make spores which helps them to sustain in harsh environments
_Adnan
But not all bacteria make spores, l mean Eukaryotic cells have Mitochondria which acts as powerhouse for them, since bacteria don't have it, what is the substitution for it?
Muhamad
they make spores
Louisiaste
what is sporadic nd endemic, epidemic
Aminu Reply
the significance of food webs for disease transmission
Abreham
food webs brings about an infection as an individual depends on number of diseased foods or carriers dully.
Mark
explain assimilatory nitrate reduction
Esinniobiwa Reply
Assimilatory nitrate reduction is a process that occurs in some microorganisms, such as bacteria and archaea, in which nitrate (NO3-) is reduced to nitrite (NO2-), and then further reduced to ammonia (NH3).
Elkana
This process is called assimilatory nitrate reduction because the nitrogen that is produced is incorporated in the cells of microorganisms where it can be used in the synthesis of amino acids and other nitrogen products
Elkana
Examples of thermophilic organisms
Shu Reply
Give Examples of thermophilic organisms
Shu
advantages of normal Flora to the host
Micheal Reply
Prevent foreign microbes to the host
Abubakar
they provide healthier benefits to their hosts
ayesha
They are friends to host only when Host immune system is strong and become enemies when the host immune system is weakened . very bad relationship!
Mark
what is cell
faisal Reply
cell is the smallest unit of life
Fauziya
cell is the smallest unit of life
Akanni
ok
Innocent
cell is the structural and functional unit of life
Hasan
is the fundamental units of Life
Musa
what are emergency diseases
Micheal Reply
There are nothing like emergency disease but there are some common medical emergency which can occur simultaneously like Bleeding,heart attack,Breathing difficulties,severe pain heart stock.Hope you will get my point .Have a nice day ❣️
_Adnan
define infection ,prevention and control
Innocent
I think infection prevention and control is the avoidance of all things we do that gives out break of infections and promotion of health practices that promote life
Lubega
Heyy Lubega hussein where are u from?
_Adnan
en français
Adama
which site have a normal flora
ESTHER Reply
Many sites of the body have it Skin Nasal cavity Oral cavity Gastro intestinal tract
Safaa
skin
Asiina
skin,Oral,Nasal,GIt
Sadik
How can Commensal can Bacteria change into pathogen?
Sadik
How can Commensal Bacteria change into pathogen?
Sadik
all
Tesfaye
by fussion
Asiina
what are the advantages of normal Flora to the host
Micheal
what are the ways of control and prevention of nosocomial infection in the hospital
Micheal
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, Fundamentals of signal processing. OpenStax CNX. Nov 26, 2012 Download for free at http://cnx.org/content/col10360/1.4
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Fundamentals of signal processing' conversation and receive update notifications?

Ask