|
|||||||||||||||||||
|
|
Understanding the sampling process Sep 1, 2004 12:00 PM By R. N. Mutagi Sampling is the first step in the process of converting a continuous analog signal to a sequence of digital numbers. This article provides an insight into time and frequency domains of sampled signals. The concept of the spectral window, defined by the sampling process, helps understand digital signals and signal processing.
Changing the sampling rate
Many signal processing applications require changing the sampling frequency of a signal. For example, in the sub-band coding of speech and audio the digital signal sampled at Nyquist rate is split in to different frequency bands and each band is downconverted to baseband and re-sampled at a lower rate as it has lower bandwidth compared to the original signal. Each band is coded separately by quantizing with different number of bits depending on the signal amplitude. For example, Figure 12 (a) shows a signal spectrum split in to eight sub-bands and Figure 12 (b) shows the conversion of band No. 4 to baseband. All the bands two through eight are downconverted similarly. The signal in each band is re-sampled and re-quantized with different number of bits. The bandsplitting is done with digital bandpass filters. The output of filters is at the original sampling rate. Using down- sampling the sampling rate is reduced. When there is a need to reduce the sampling rate we resort to down-sampling or decimation. When the signal is sampled at interval T we have a sequence of samples x[nT] as shown in Figure 13(a), with the corresponding spectrum shown in figure 13(b), the sampling frequency being equal to 1/T. This could be the downconverted baseband signal of Figure 12(b). As we notice the sampling rate for this signal is too large as evident from the large gap in the spectral diagram and we intend to reduce it. If we desire to reduce the sampling rate by an integer factor of M then we drop (M-1) samples and pick up every M Upsampling
If we wish to increase the sampling rate then we do upsampling. The upsampler comprises of a sample inserter followed by a low-pass filter with a cutoff frequency L ƒ To change the sampling rate by a rational factor K=L/M we combine interpolation and decimation techniques described above. For example, to change the sampling rate of a signal from 10 MHz to 15 MHz (K = 3/2) we upsample the signal by 3 to get 30 MHz sampling rate, then down-sample the result by two to get desired sampling rate. Recovering the signal from its samples
Recovering the original signal from the samples is a simple and straight-forward process. All you have to do is pass the samples through a low-pass filter (bandpass filter in case of bandpass samples). How does the filter recover the signal? An ideal low-pass filter characteristics with cutoff frequency 0.5ƒ
|
|
||||||||||||||||||
| Back to Top |