Library
Back to reading

3.8.4 What Is Pulse-Code Modulation (PCM)?

  1. Why Was PCM Developed?
  2. What Are the Stages of PCM?
  3. How Does Sampling Work?
  4. Why Is Sampling Necessary?
  5. What Is Quantization?
  6. Why Is Quantization Necessary?
  7. What Is Quantization Noise?
  8. How Are Samples Converted into Binary Numbers?
  9. How Is the Original Signal Reconstructed?
  10. Why Does PCM Voice Use an 8 kHz Sampling Rate?
  11. Why Are 8 Bits Used for Each PCM Sample?
  12. How Is the 64 kbps PCM Data Rate Calculated?
  13. What Are the Advantages of PCM?
  14. What Are the Disadvantages of PCM?
  15. Where Is PCM Used Today?
  16. How Does PCM Relate to Other Source Coding Methods?
  17. Why Is PCM Important?

Most information sources encountered in communications systems are analog. Human speech, music, video signals, temperature measurements, and many sensor outputs vary continuously with time and can assume an effectively infinite number of values. Modern communications systems, however, are overwhelmingly digital and process information as sequences of binary digits.

A fundamental issue therefore is how to convert a continuously varying analog signal into a digital bitstream.

One of the most important answers is that PCM is the technique used to convert analog signals into digital form by sampling the signal, quantizing the samples, and representing the resulting values as binary numbers. Since its introduction in the twentieth century, PCM has become the foundation of digital telephony, digital audio, multimedia communications, and many other communications systems.

Indeed, PCM is so important that much of modern digital communications can be viewed as an extension or refinement of the basic PCM process.

So, Pulse-Code Modulation (PCM) is a method of representing an analog signal as a sequence of binary numbers. The name reflects the three principal stages involved:

The result is a digital representation of the original analog waveform. At the receiver, the process is reversed and an approximation of the original signal is reconstructed.

PCM forms the basis of:

Why Was PCM Developed?

Early communications systems were primarily analog. Although analog transmission can provide good quality, it suffers from several disadvantages:

PCM was developed to overcome these limitations. Once information is represented digitally, it can be:

These advantages led to the widespread adoption of PCM throughout modern telecommunications networks.

What Are the Stages of PCM?

The PCM process consists of three principal stages:

  1. Sampling.
  2. Quantization.
  3. Encoding.

Each stage performs a specific function in converting an analog waveform into a digital bitstream.

How Does Sampling Work?

The first step is sampling. A continuously varying analog signal is measured at regular intervals. For example, a speech signal may be sampled 8000 times per second. Each measurement records the instantaneous amplitude of the waveform at a particular instant. The resulting sequence of sample values provides a discrete representation of the original continuous signal.

The sampling frequency must satisfy the Nyquist criterion fs = 2 fmax where fs is the sampling frequency and fmax is the highest signal frequency. Provided this condition is satisfied, the original signal can be reconstructed accurately.

Why Is Sampling Necessary?

Digital systems cannot process continuously varying signals directly. Instead, they work with discrete values represented by binary numbers. Sampling converts a continuous-time signal into a discrete-time signal that can be manipulated digitally.

Without sampling, digital communications systems would be unable to process analog information such as speech and music.

What Is Quantization?

Sampling determines when measurements are taken. Quantization determines how accurately those measurements are represented.

A sampled signal may assume an enormous number of possible amplitude values. Digital systems cannot represent an infinite number of values. Instead, the amplitude range is divided into a finite number of levels. Each sample is assigned to the nearest available level. This process is called quantization. For example, a system using 256 quantization levels can represent sample amplitudes using 256 discrete values.

Each sample is therefore approximated by the nearest permitted level.

Why Is Quantization Necessary?

Without quantization, each sample would require an infinite number of bits. Quantization converts continuously varying sample amplitudes into values that can be represented digitally.

The trade-off is that some information is lost.

The difference between the actual sample value and the quantized value is known as quantization error. This error appears as quantization noise in the reconstructed signal.

What Is Quantization Noise?

Quantization noise arises because samples are rounded to the nearest available level.

For example, suppose the actual sample value is 4.63 but the nearest quantization level is 4.5. The difference 0.13 is the quantization error.

When many samples are quantized, these errors appear as a noise-like distortion in the reconstructed signal. Increasing the number of quantization levels reduces this error and improves signal quality.

Quantization noise is discussed in more detail in the next FAQ.

How Are Samples Converted into Binary Numbers?

After quantization, each sample level is assigned a binary code. This stage is known as encoding. For example, a system using 256 = 28 quantization levels requires 8 bits to represent each sample.

Some example encodings might be:

Quantization LevelBinary Code
000000000
100000001
200000010
......
25511111111

The resulting stream of binary numbers forms the PCM bitstream. This bitstream can then be transmitted, stored, compressed, encrypted, or processed by other digital systems.

How Is the Original Signal Reconstructed?

At the receiver, the PCM process is reversed. The binary data is first decoded to recover the quantized sample values.

A digital-to-analog converter (DAC) then produces a staircase-like waveform corresponding to those samples.

Finally, a reconstruction filter smooths the waveform and removes unwanted high-frequency components introduced during the conversion process.

Provided the sampling and quantization processes were performed correctly, the reconstructed signal closely resembles the original waveform.

Why Does PCM Voice Use an 8 kHz Sampling Rate?

Traditional telephone systems limit speech frequencies to approximately 300 Hz to 3.4 kHz. The highest useful speech frequency is therefore about 3.4 kHz.

Applying the Nyquist criterion gives fs = 6.8 kHz. A sampling rate of 8 kHz was chosen because it exceeds the theoretical minimum and simplifies system design.

This sampling frequency became the worldwide standard for digital telephony.

Why Are 8 Bits Used for Each PCM Sample?

Traditional PCM telephony uses 256 quantization levels. Since 28 = 256, each sample requires 8 bits.

This choice provides a practical compromise between:

Using more bits improves quality but increases data rate. Using fewer bits reduces data rate but increases quantization noise.

How Is the 64 kbps PCM Data Rate Calculated?

A standard PCM voice channel uses:

Therefore 8,000 times 8 = 64,000 bits per second. The resulting data rate is 64 kbps.

This became the standard digital voice channel used throughout the global telephone network and is commonly known as a DS0 channel.

What Are the Advantages of PCM?

PCM offers numerous advantages.

These advantages led to the replacement of many analog transmission systems by PCM-based digital systems.

What Are the Disadvantages of PCM?

PCM also has limitations.

Despite these limitations, PCM remains one of the most successful and widely used communications technologies ever developed.

Where Is PCM Used Today?

PCM continues to be used throughout modern communications systems. Applications include:

Although modern compression techniques frequently reduce the resulting bit rates, the underlying conversion process often begins with PCM.

How Does PCM Relate to Other Source Coding Methods?

PCM is one of the simplest and most important source-coding techniques. Many other methods build upon the same principles.

Examples include:

These techniques seek to reduce the bit rate required while preserving acceptable signal quality.

Modern speech coders also build upon concepts introduced by PCM. Consequently, PCM serves as the foundation for many later developments in source coding.

Why Is PCM Important?

PCM marked a major transition in communications engineering from analog to digital transmission.

By converting analog signals into binary data, PCM enabled the development of modern digital telecommunications networks and laid the foundation for digital signal processing, computer networking, and multimedia communications.

Even though many modern systems employ more sophisticated compression techniques, PCM remains one of the fundamental building blocks of digital communications and continues to influence the design of contemporary communications systems.

Summary

Pulse-Code Modulation (PCM) is a method of converting analog signals into digital form through the processes of sampling, quantization, and binary encoding. By representing analog waveforms as sequences of binary numbers, PCM enables information to be transmitted, stored, and processed using digital systems.

Traditional PCM telephony samples speech at 8 kHz and represents each sample using 8 bits, producing the familiar 64 kbps digital voice channel. Although newer source-coding techniques often achieve lower bit rates, PCM remains one of the most important and widely used technologies in modern communications engineering.

Back to reading

Return to Chapter 3 FAQ 3.8.4