<< Chapter < Page Chapter >> Page >

Analog signals, in general, are continuous in time. In digital signal processing, we do not use the whole analog signal but replace it by its amplitudes taken at regular intervals. This is sampling . The problem is we must sample the signal so that the samples represent correctly the signal, i.e. from the samples we can reconstruct the original analog signal perfectly.

Sampling of continuous-time signals

Sampling a continuous-time signal turns it into a correspond discrete-time signal so that it can be processed on digital systems. Actually, the sampling is followed by two other operations, quantization and binary encoding . In reality, the analog-to-digital converters (abbreviated ADC or A/D) do all the three steps.

Sampling of signal at sampling interval (period) T s MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVCI8FfYJH8YrFfeuY=Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfeaY=biLkVcLq=JHqpepeea0=as0Fb9pgeaYRXxe9vr0=vr0=vqpWqadeqabiGaciaacaqabeaadaqaaqaaaOqaaiaadsfadaWgaaWcbaGaam4Caaqabaaaaa@37E3@

[link] depicts the sampling of a signal at regular interval t = n size 12{t=n} {} T s size 12{T rSub { size 8{s} } } {} where n is an integer, positive and negative. This is uniform sampling that we use routinely. Rarely, nonuniform sampling is mentioned. We denote the samples of the signal x(t) as x ( t ) size 12{ { {x}} \( t \) } {} or x ( nT s ) size 12{x \( ital "nT" rSub { size 8{s} } \) } {} . [link] shows the sampling process. It turns out that sampling is just a multiplication of the analog signal x(t) with a sampling signal (or function) s(t):

x ( t ) = x ( nT s ) = x ( t ) s ( t ) size 12{ { {x}} \( t \) =x \( ital "nT" rSub { size 8{s} } \) =x \( t \) s \( t \) } {}

The principle of sampling (a) Multiplying ; (b) Switching

The sampling signal s(t) is a regular sequence of narrow pulses δ t MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVCI8FfYJH8YrFfeuY=Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfeaY=biLkVcLq=JHqpepeea0=as0Fb9pgeaYRXxe9vr0=vr0=vqpWqadeqabiGaciaacaqabeaadaqaaqaaaOqaaiabes7aKjaadshaaaa@3884@ of amplitude 1 ( [link] ) when multiplying s(t) with the signal x(t) we obtain the instantaneous values of x(t) which are the samples. An electric switch ( [link] b) is a way to implement the sampling: When the contact closes in a short time, the signal passes; and when the contact opens, no output signal appears.

sampling by a sequence of narrow pulses δ ( t ) MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVCI8FfYJH8YrFfeuY=Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfeaY=biLkVcLq=JHqpepeea0=as0Fb9pgeaYRXxe9vr0=vr0=vqpWqadeqabiGaciaacaqabeaadaqaaqaaaOqaaiabes7aKjaacIcacaWG0bGaaiykaaaa@39DD@

The time distance T s MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVCI8FfYJH8YrFfeuY=Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfeaY=biLkVcLq=JHqpepeea0=as0Fb9pgeaYRXxe9vr0=vr0=vqpWqadeqabiGaciaacaqabeaadaqaaqaaaOqaaiaadsfadaWgaaWcbaGaam4Caaqabaaaaa@37E3@ is called sampling interval or sampling period , f s = 1 / T s size 12{f rSub { size 8{s} } =1/T rSub { size 8{s} } } {} is sampling frequency (Hz or samples/sec), also called sampling rate. The samples were written as x ( nT s ) size 12{x \( ital "nT" rSub { size 8{s} } \) } {} but T s size 12{T rSub { size 8{s} } } {} is usually taken as 1, hence the samples will be denoted universally, unless otherwise specified, as x(n). The integer n can represent sample, time, space, but we will often call it time index , or just index, or sample.

When looking at [link] and [link] we may ask if the sampling is appropriate, that is the samples are too close or too far away or just right. This is really a big question and will be answered soon. For the time being, let’s examine the sampling of a sinewave ( [link] ) x(t) having period T x MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVCI8FfYJH8YrFfeuY=Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfeaY=biLkVcLq=JHqpepeea0=as0Fb9pgeaYRXxe9vr0=vr0=vqpWqadeqabiGaciaacaqabeaadaqaaqaaaOqaaiaadsfadaWgaaWcbaGaamiEaaqabaaaaa@37E8@ and frequency F x = 1 / T x MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVCI8FfYJH8YrFfeuY=Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfeaY=biLkVcLq=JHqpepeea0=as0Fb9pgeaYRXxe9vr0=vr0=vqpWqadeqabiGaciaacaqabeaadaqaaqaaaOqaaiaadAeadaWgaaWcbaGaamiEaaqabaGccqGH9aqpcaaIXaGaai4laiaadsfadaWgaaWcbaGaamiEaaqabaaaaa@3C5A@ at the sampling rate f s size 12{f rSub { size 8{s} } } {} . Different authors use different symbols, this cause certain difficulty for readers. The figure shows the same sinewave but with 3 different sampling frequency f s MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVCI8FfYJH8YrFfeuY=Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfeaY=biLkVcLq=JHqpepeea0=as0Fb9pgeaYRXxe9vr0=vr0=vqpWqadeqabiGaciaacaqabeaadaqaaqaaaOqaaiaadAgadaWgaaWcbaGaam4Caaqabaaaaa@37F5@ . In the first case f s = 8 F x MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVCI8FfYJH8YrFfeuY=Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfeaY=biLkVcLq=JHqpepeea0=as0Fb9pgeaYRXxe9vr0=vr0=vqpWqadeqabiGaciaacaqabeaadaqaaqaaaOqaaiaadAgadaWgaaWcbaGaam4CaaqabaGccqGH9aqpcaaI4aGaamOramaaBaaaleaacaWG4baabeaaaaa@3BBB@ , the samples are quite close and represent very well the signal (from the samples we can reconstruct the signal). In the second case f s = 4 F x MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVCI8FfYJH8YrFfeuY=Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfeaY=biLkVcLq=JHqpepeea0=as0Fb9pgeaYRXxe9vr0=vr0=vqpWqadeqabiGaciaacaqabeaadaqaaqaaaOqaaiaadAgadaWgaaWcbaGaam4CaaqabaGccqGH9aqpcaaI0aGaamOramaaBaaaleaacaWG4baabeaaaaa@3BB7@ , still the samples can represent the signal (imagine that we connect the successive sample values to get a triangular wave

Sampling a sinewave of frequence f F x = 1 / T x F MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVCI8FfYJH8YrFfeuY=Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfeaY=biLkVcLq=JHqpepeea0=as0Fb9pgeaYRXxe9vr0=vr0=vqpWqadeqabiGaciaacaqabeaadaqaaqaaaOqaaiaadAeadaWgaaWcbaGaamiEaaqabaGccqGH9aqpcaaIXaGaai4laiaadsfadaWgaaWcbaGaamiEaaqabaGccaWGgbaaaa@3D2F@ at different sampling rates f s MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVCI8FfYJH8YrFfeuY=Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfeaY=biLkVcLq=JHqpepeea0=as0Fb9pgeaYRXxe9vr0=vr0=vqpWqadeqabiGaciaacaqabeaadaqaaqaaaOqaaiaadAgadaWgaaWcbaGaam4Caaqabaaaaa@37F5@

which is then passed through an analog lowpass filter to smooth out the wave form). In the last case f s = 2 F x MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLnhiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr4rNCHbGeaGqiVCI8FfYJH8YrFfeuY=Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfeaY=biLkVcLq=JHqpepeea0=as0Fb9pgeaYRXxe9vr0=vr0=vqpWqadeqabiGaciaacaqabeaadaqaaqaaaOqaaiaadAgadaWgaaWcbaGaam4CaaqabaGccqGH9aqpcaaIYaGaamOramaaBaaaleaacaWG4baabeaaaaa@3BB5@ , the sampling rate is equal twice the signal frequency. This is the critical case: The samples may or may not represent the signal depending on positions of sampling points.

Questions & Answers

I'm interested in biological psychology and cognitive psychology
Tanya Reply
what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
What would be the best educational aid(s) for gifted kids/savants?
Heidi Reply
treat them normal, if they want help then give them. that will make everyone happy
Saurabh
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