Converting a real-world (analog) signal into a digital signal means that you have to bring the signal into an Analog-to-Digital converter (ADC). From there, the ADC turns the continuous analog signal into a discrete, digital signal by sampling, or taking regular snapshots of, the curves of the analog signal. After sampling is complete, any information about what happened with the analog signal between taking samples is lost. Therefore, the main difference between sampled-time signals and continuous-time (real-world or analog) signals is that an analog signal exists at *every* point in time, whereas a sampled-time signal is only known at the moment that it’s sampled. A sudden blip in between sampling moments would be lost. (If the sudden blip is unwanted noise, then digitizing a signal can be useful for eliminating noise, but that’s another topic.) Harry Nyquist found that signals needed to be sampled at twice the bandwidth of a signal *or more *if it’s to have any meaning. Real-world signals are almost always more complex than a sine wave, however. Nevertheless, we can look at the system response in sampling a sine wave and apply that to complex real-world signals. In fact, real-world signals can be emulated using sums of sine wanes at different amplitudes and frequencies.

An example in further detail can be seen in Fig 6, which is eleven samples per cycle. If a 90 Hz sine wave is sampled at 1,000 samples per second, the wave has an analog frequency of 0.09 of the sampling rate, represented by: f= 0.09 x1000. Eleven samples (11 = 1000/90) are taken in one full cycle of the sine wave. If no other sinusoidal wave can replicate this wave by connecting the sample points, then the sample rate is going to accurately represent the original, real-world signal that we sampled.

If a signal has frequency rate of *f*_{M}, then the sampling rate needs to be at least *f*_{s} such that:

*a f*_{M} < (*f*_{s} /2) or *f*_{M} < 0.5 x *f*_{s})

A term that is commonly used is the “Nyquist frequency.” The Nyquist frequency is (*f*_{s} /2), or one-half of the sampling rate. In other words, the proper sampling rate (in order to get a satisfactory result) is the Nyquist rate, which is 2 x *f*_{M}, or double the highest frequency of the real-world signal that you want to sample.

The textbook expression of the Nyquist-Shannon sampling rate is, “If a continuous, band-limited signal contains no frequency components higher than *f*_{M}, then we can recover the original signal without distortion if we sample at a rate of at least 2 *f*_{M} samples per second.”[i] The Nyquist rate, then, is 2 *f*_{M}. Dr. Harry Nyquist completed his B.S. and M.S. degrees in Electrical Engineering from the University of North Dakota before obtaining his PhD. in Physics from Yale.

[i] University of Washington, Lecture notes, CSE467, CSE467, *Advanced Logic Design*, https://courses.cs.washington.edu/courses/cse467/admin

## Leave a Reply