Mathematics - Signals And Systems - Sampling


[Image1]

Introduction

Hey it's a me again @drifter1!

Today we continue with my mathematics series about Signals and Systems in order to cover Sampling.

So, without further ado, let's get straight into it!


Sampling Theorem

The sampling theorem is a direct consequence of the modulation theorem and very easy to understand. It basically specifies the minimum sapling rate that has to be used in order to be able to recontruct a continuous-time signal. When uniformly sampled (equally spaced samples) at more than twice the highest frequency present in the signal its possible to recover the original signal. Let's also note that the signal is then uniquely recoverable.

Mathematically, if ωM the highest/max frequency present in the signal (or band limit of the signal), the sampling rate ωS has to be:


Sampling and Reconstruction

Through the sampling theorem its possible to represent band-limited continuous-time signals as a sequence of samples, and so as discrete-time signals. In order to reconstruct the original signal, the impulse train of samples is passed through an ideal low-pass filter.

This whole procedure is of course only successful when the relation between the sampling rate and highest frequency is met. As such the reconstructing low-pass filter always generates a reconstruction-consistent signal, even when the sampling condition is violated. But, will reconstruct a signal that is identical to the original signal only when the signal is bandlimited by less than half the sampling frequency, which matches the given set of samples.

For example, the following GIF shows how the sampling frequency affects the sampling of a simple sinusoidal signal:



[Image 2]


Aliasing

When the conditions of the sampling theorem are violated, the frequencies in the original signal which are above half the sampling frequency are reflected down to frequencies below half the sampling frequency. This leads to distortion, which is referred to as aliasing, because higher frequencies take on the alias of lower frequencies.

The concept is far easier to understand in the context of sinusoidal signals. Many continuous-time sinusoids can be taken as samples of a simple sinusoidal signal. If it so happens that all samples have equal height the frequency becomes zero and so there is no clear way of determining which continuous sinusoid was sampled. In this case, the reconstruction filter will make its assumptions for the frequency an reconstruct with constant output. In other words, the sampling frequency will be aliased down to zero frequency (or DC).

In the presence of aliasing an ideal low-pass filter cannot reconstruct the original signal, but samples of the reconstructed signal will always match the samples of the original signal. Sometimes aliasing might also be desirable, specifically when using pulses of light, where aliasing can be used to alias into much lower frequencies that can be seen.


RESOURCES:

References

  1. Alan Oppenheim. RES.6-007 Signals and Systems. Spring 2011. Massachusetts Institute of Technology: MIT OpenCourseWare, License: Creative Commons BY-NC-SA.

Images

Mathematical equations used in this article were made using quicklatex.

Block diagrams and other visualizations were made using draw.io and GeoGebra


Previous articles of the series

Basics

LTI Systems and Convolution

Fourier Series and Transform

Filtering, Sampling, Modulation, Interpolation

  • Filtering → Convolution Property, Ideal Filters, Series R-C Circuit and Moving Average Filter Approximations
  • Continuous-Time Modulation → Getting into Modulation, AM and FM, Demodulation
  • Discrete-Time Modulation → Applications, Carriers, Modulation/Demodulation, Time-Division Multiplexing

Final words | Next up

And this is actually it for today's post!

Next time we will get into Interpolation...

See Ya!

Keep on drifting!

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center