Sampling
Last updated
Was this helpful?
Last updated
Was this helpful?
Sampling a continuous-time signal means representing it as a sequence of points measured at regular intervals . Notice that if we were to take a signal and multiply it by an impulse train, then we would get a series of impulses equal to at the sampling points and everywhere else. We can call this signal .
In the Fourier Domain,
What this tells us is that the Fourier Transform of our sampled signal is a series of copies of , each centered at where For example, lets say that our original signal has the following Fourier Transform. Notice the signal is band-limited by .
Remember that an ideal low pass filter is a square wave in the frequency domain and a sinc in the time domain. Thus if we allow
then our reconstructed signal will be
This is why we call reconstructing a signal from its samples "sinc interpolation." This leads us to formulate the Nyquist Theorem.
Like in continuous time, the reconstructed signal is recovered via sinc interpolation.
The Nyquist Theorem in DT will tell us when this works.
We must be careful though because as long as the DT system we apply is LTI, the overall CT system will be linear too, but it will not necessarily be time invariant because sampling inherently depends on the signal’s timing.
Assuming that the Nyquist theorem holds,
This shows us that as long as the Nyquist theorem holds, we can process continuous signals with a disrete time LTI system and still have the result be LTI.
There are two major cases: if and . Case One:
When , the shifted copies of the original (shown in blue) do not overlap with each other or which the original copy. If we wanted to recover the original signal, we could simply apply a low pass filter to isolate the unshifted copy of and then take the inverse Fourier Transform. Case Two:
Notice how in this case, the shifted copies overlap with the original . This means in our sampled signal, the higher frequency information is bleeding in with the lower frequency information. This phenomenon is known as aliasing. When aliasing occurs, we cannot simply apply a low pass filter to isolate the unshifted copy of .
When , then our ability to reconstruct the original signal depends on the shape of its Fourier Transform. As long as are equal to and ), then we can apply an LPF because we can isolate the original and take its inverse Fourier Transform.
Suppose a continuous signal is bandlimited and we sample it at a rate of , then the signal reconstructed by sinc interpolation is exactly
Sampling in discrete time is very much the same as sampling in continuous time. Using a sampling period of we construct a new signal by taking an impulse train and multiplying elementwise with the original signal.
Our indices only go from to in the Fourier Domain because we can only shift a particular number of times before we start to get repeated copies. This is the impulse train sampled signal. It has 0’s at the unsampled locations. If we want to, we could simply remove those zeros and get a downsampled signal
Suppose a discrete signal is bandlimited by and we sample it at a rate of , then the signal reconstructed by sinc interpolation is exactly
Thus as long as the Nyquist Theorem holds, we can take a downsampled signal and upsample it (i.e reconstruct the missing pieces) by expanding by a factor of and putting for padding, and then applying sinc-interpolation to it.
Notice that we have two ways of representing our sample signal. We can either write it as a discrete time signal or we can write it as an impulse train . Based on their Fourier Transforms,
Thus if we let , then we see that these two representations of a signal have the same Fourier Transforms and thus contain the same information. This means that for some continuous signals, convert them to discrete time via sampling, use a computer to apply an LTI system, and convert the result back to a CT output.