



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




The techniques described in previous lecture convert digital data to digital signals. Sometimes, however, we have an analog signal such as one created by a microphone or camera. We have seen that a digital signal is superior to an analog signal. The tendency today is to change an analog signal to digital data. In this section we describe pulse code modulation techniques (PCM). After the digital data are created (digitization), we can use one of the techniques described to convert the digital data to a digital signal.
The most common technique to change an analog signal to digital data (digitization) is called pulse code modulation ( PCM ). A PCM encoder has three processes:
The first step in PCM is sampling. The term sampling means measuring the amplitude of the signal at equal intervals. The analog signal is sampled every Ts s , where Ts is the sample interval or period. The sampling process is sometimes referred to as pulse amplitude modulation ( PAM ). We need to remember, however, that the result is still an analog signal with nonintegral values. In PAM , the original signal is sampled at equal intervals as shown in figure below.
Sampling Rate One important consideration is the sampling rate or frequency. What are the restrictions on Ts?. According to the Nyquist theorem , to reproduce the original analog signal, one necessary condition is that the sampling rate must be at least twice the highest frequency in the original signal. So if we want to sample telephone voice with a maximum frequency (4000 Hz) , we need sampling rate at (8000) sample per second.
The last step in PCM is encoding. After each sample is quantized and the number of bits per sample is decided, each sample translated to its binary equivalent.
After we found the sampling rate, we need to determine the number of bits to be transmitted for each sample. This depends on the level of precision needed. The choice of L , the number of levels, depends on the range of the amplitudes of the analog signal and how accurately we need to recover the signal. If the amplitude of a signal fluctuates between two values only, we need only two levels; if the signal, like voice, has many amplitude values, we need more quantization levels. Example: A signal is sampled, each sample requires at least 12 levels of precision (+0 to +5 , - 0 to -5), how many bits should be sent for each sample? Sol: We need 4 bits, 1 bit for the sign and 3 bits for the value; a 3 bits value can represent 2 3 = 8 levels (000 to 111) Which is more than what We need. A 2 bits value is not enough since (2 2 = 4). A 4 bits value is too much because (2 4 = 16).