ArticleslgStudy

engineering

Sampling (signal processing)

Sampling (signal processing) is a engineering topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Sampling (signal processing) rather than just read about it. In short: In signal processing, sampling is the reduction of a continuous-time signal to a discrete-time signal. A common example is the conversion of a sound wave to a sequence of "samples".

Sampling (signal processing) — main illustration
Sampling (signal processing) — illustration

Key takeaways

  • Sampling (signal processing) belongs to engineering; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Sampling (signal processing) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Sampling (signal processing) from memory before moving on to harder problems.

Reference excerpt

In signal processing, sampling is the reduction of a continuous-time signal to a discrete-time signal. A common example is the conversion of a sound wave to a sequence of "samples". A sample is a value of the signal at a point in time and/or space; this definition differs from the term's usage in statistics, which refers to a set of such values. A sampler is a subsystem or operation that extracts samples from a continuous signal. A theoretical ideal sampler produces samples equivalent to the instantaneous value of the continuous signal at the desired points. The original signal can be reconstructed from a sequence of samples, up to the Nyquist limit, by passing the sequence of samples through a reconstruction filter.

Theory

Functions of space, time, or any other dimension can be sampled, and similarly in two or more dimensions. For functions that vary with time, let s ( t ) {\displaystyle s(t)} be a continuous function (or "signal") to be sampled, and let sampling be performed by measuring the value of the continuous function every T {\displaystyle T} seconds, which is called the sampling interval or sampling period. Then the sampled function is given by the sequence:

s ( n T ) {\displaystyle s(nT)} , for integer values of n {\displaystyle n} . The sampling frequency or sampling rate, f s {\displaystyle f_{s}} , is the average number of samples obtained in one second, thus f s = 1 / T {\displaystyle f_{s}=1/T} , with the unit samples per second, sometimes referred to as hertz, for example 48 kHz is 48,000 samples per second. Reconstructing a continuous function from samples is done by interpolation algorithms. The Whittaker–Shannon interpolation formula is mathematically equivalent to an ideal low-pass filter whose input is a sequence of Dirac delta functions that are modulated (multiplied) by the sample values. When the time interval between adjacent samples is a constant ( T ) {\displaystyle (T)} , the sequence of delta functions is called a Dirac comb. Mathematically, the modulated Dirac comb is equivalent to the product of the comb function with s ( t ) {\displaystyle s(t)} . That mathematical abstraction is sometimes referred to as impulse sampling. Most sampled signals are not simply stored and reconstructed. The fidelity of a theoretical reconstruction is a common measure of the effectiveness of sampling. That fidelity is reduced when s ( t ) {\displaystyle s(t)} contains frequency components whose cycle length (period) is less than 2 sample intervals (see Aliasing). The corresponding frequency limit, in cycles per second (hertz), is 0.5 {\displaystyle 0.5} cycle/sample × f s {\displaystyle f_{s}} samples/second = f s / 2 {\displaystyle f_{s}/2} , known as the Nyquist frequency of the sampler. Therefore, s ( t ) {\displaystyle s(t)} is usually the output of a low-pass filter, functionally known as an anti-aliasing filter. Without an anti-aliasing filter, frequencies higher than the Nyquist frequency will influence the samples in a way that is misinterpreted by the interpolation process.

Practical considerations In practice, the continuous signal is sampled using an analog-to-digital converter (ADC), a device with various physical limitations. This results in deviations from the theoretically perfect reconstruction, collectively referred to as distortion. Various types of distortion can occur, including:

… excerpt ends here. Continue reading the full article.

Illustrations

Sampling (signal processing): Signal sampling representation. The continuous signal S(t) is represented with a green colored line while the discrete samples are indicated by the blue vertical lines.
Signal sampling representation. The continuous signal S(t) is represented with a green colored line while the discrete samples are indicated by the blue vertical lines.
Sampling (signal processing): The top two graphs depict Fourier transforms of two different functions that produce the same results when sampled at a particular rate. The baseband function is sampled faster than its Nyquist rate, and the bandpass function is undersampled, effectively converting it to baseband. The lower graphs indicate how identical spectral results are created by the aliases of the sampling process.
The top two graphs depict Fourier transforms of two different functions that produce the same results when sampled at a particular rate. The baseband function is sampled faster than its Nyquist rate, and the bandpass function is undersampled, effectively converting it to baseband. The lower graphs indicate how identical spectral results are created by the aliases of the sampling process.

Worked examples

Example 1 — a first encounter with Sampling (signal processing)

Start with the simplest possible case. Write down what Sampling (signal processing) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In engineering, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Sampling (signal processing) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Sampling (signal processing) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Sampling (signal processing)

In research
Sampling (signal processing) appears in engineering research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Sampling (signal processing) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Sampling (signal processing) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Audio engineering, Digital audio, Digital signal processing, so understanding it makes those chapters shorter.
In everyday life
Look for Sampling (signal processing) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Sampling (signal processing) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Sampling (signal processing) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Sampling (signal processing) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Sampling (signal processing) in simple terms?

In signal processing, sampling is the reduction of a continuous-time signal to a discrete-time signal. A common example is the conversion of a sound wave to a sequence of "samples".

Why does Sampling (signal processing) matter?

Because it connects several engineering ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Sampling (signal processing)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Sampling (signal processing).

Tags

  • Audio engineering
  • Digital audio
  • Digital signal processing
  • Film and video technology
  • Signal processing
  • Sound measurements

Keep exploring