Before diving into PCM, it's essential to understand why we need to convert analog signals to digital ones. Analog signals are continuous in both time and amplitude. While they are a direct representation of real-world phenomena (like sound waves), they are highly susceptible to noise and interference during transmission. Noise accumulates over long distances and can distort the signal, making it difficult to recover the original information.
Digital signals, on the other hand, are discrete. They are represented by a finite set of values, typically binary digits (0s and 1s). The main advantage of a digital signal is its resilience to noise. As long as the noise level is not so high that it changes a '1' to a '0' or vice versa, the original signal can be perfectly reconstructed at the receiver. This robustness makes digital communication far more reliable for long-distance and high-quality transmission
Modulation is the process of altering one or more properties of a periodic waveform known as a carrier signal with respect to the modulation signal, which contains information to be transmitted. Modulation is performed by the device known as a modulator, and this technique is mainly used to overcome the interference of the signal. Modulation techniques typically aid in long-distance communication.
Modulation is of two types:
In analog modulation, a continuously varying sine wave is considered a carrier wave. This wave modulates the data signal. In amplitude modulation, three parameters can be altered, they are: frequency, amplitude and phase.
Types of analog modulation are:
Pulse Code Modulation (PCM) is the most widely used method for converting an analog signal into a digital stream of binary digits. It's not a single process but a series of three distinct steps that systematically transform a continuous waveform into a series of pulses that represent a code. The output of a PCM system is a sequence of binary codes, or "pulses," which can be easily transmitted and stored.
The three primary stages of the PCM process are:
Sampling is the process of measuring the amplitude of the analog signal at uniform intervals of time. According to the Nyquist-Shannon sampling theorem, to avoid aliasing and accurately reconstruct the original signal, the sampling rate must be at least twice the highest frequency present in the analog signal.
Nyquist–Shannon sampling theorem:If a continuous signal x(t) contains no frequencies higher than
hertz, then it can be completely determined by its samples taken at a rate
sampling frequency (samples per second)
=highest frequency present in the signal
This minimum sampling rate is called the Nyquist rate, and
is called the Nyquist frequency.
Quantization involves mapping the sampled amplitude values to a finite set of discrete levels. This process introduces quantization error, which is the difference between the actual sampled value and the quantized value.
Encoding is the process of converting the quantized values into a binary format. Each quantized level is assigned a unique binary code, and the sequence of these binary codes represents the original analog signal in digital form
The PCM system can be represented by the following block diagram:
At the receiver end, the process is reversed:
In Linear PCM, the quantization levels are uniformly spaced. This type of PCM is widely used in audio applications, including CDs and DVDs, due to its simplicity and high fidelity.
Differential PCM encodes the difference between successive samples rather than the absolute value of each sample. This reduces the amount of data required for transmission and is particularly useful in applications with limited bandwidth.
Adaptive Differential PCM is an enhancement of DPCM that adjusts the quantization step size based on the signal's characteristics. This adaptation improves compression efficiency and is commonly used in speech coding applications.
A complete PCM communication system consists of a transmitter that performs the three PCM stages and a receiver that performs the reverse process.
The transmitter takes the analog input signal and processes it through the following blocks:
The output of the transmitter is a digital signal ready for transmission through a channel (e.g., optical fiber, satellite link, etc.).
The receiver performs the inverse operations to recover the original analog signal:
The receiver's LPF is crucial for eliminating the unwanted replicas of the original signal's spectrum that are created during the sampling process.
PCM's dominance in modern communication is due to several key advantages:
The bandwidth required to transmit a PCM signal is a key consideration. The bit rate (R_b) of the PCM signal is given by:
where n is the number of bits per sample and fs is the sampling frequency.
The bandwidth of a digital signal is approximately half of the bit rate.
Since ,the minimum bandwidth required for a PCM signal is:
This shows that the bandwidth of a PCM signal is directly proportional to the number of bits per sample (n) and the maximum frequency of the message signal ().
(Session 2026 - 27)