lesson

Updated 6 days ago ยท 1 view
Every time you stream music or make a cellular call, smooth analog sound waves are chopped, rounded, and converted into streams of pure numbers.
This process is called Pulse Code Modulation (PCM), a technique that converts a continuous analog voltage into a sequence of binary digits.
In 1937, British engineer Alec Reeves conceived PCM to transmit noise-free speech over transatlantic cables, decades before digital computers were fast enough to make it practical.
How does an electronic circuit take an infinitely variable wave and turn it into exact ones and zeros without losing the original signal?
The Three Stages of PCM
Converting an analog signal to a PCM stream requires three sequential operations: sampling, quantization, and encoding.
๐Interactive diagram
Sampling converts a continuous-time signal into a discrete-time signal (Pulse Amplitude Modulation / PAM) at uniform intervals Tsโ=fsโ1โ.
According to the Nyquist Sampling Criterion, the sampling rate must satisfy fsโโฅ2fmaxโ to prevent aliasing distortion.
To digitize these pulse amplitudes, we must restrict an infinite range of possible voltages into a finite set of allowed levels.
Uniform Quantization and Step Size
An n-bit analog-to-digital converter divides the total input voltage range Vrangeโ=VmaxโโVminโ into L=2n distinct quantization levels.
The voltage difference between any two adjacent levels is the step size (or resolution), denoted by ฮ (delta): ฮ=2nVmaxโโVminโโ=LVrangeโโ