Skip to content

PCM and ADPCM

An analog speech waveform is continuous in time and amplitude; a waveform coder converts it to digital form while preserving enough sample information for acceptable reconstruction. The main families are:

  • PCM: encode the absolute quantized sample.

  • DPCM: predict the sample and encode only the prediction error.

  • ADPCM: adapt the predictor and/or quantizer to changing speech statistics.

  • Delta modulation: one-bit differential coding with an oversampled staircase.

Pulse Code Modulation (PCM) represents each analog sample by a binary codeword. Its three defining operations are sampling (values taken every TsT_s), quantization (each value rounded to one of L=2nL=2^n levels) and encoding (the selected level written as an nn-bit word).

PCM is digital even though its source is analog; PAM alone is not digital because its pulse amplitudes remain continuous.

PCM transmitter: the anti-alias LPF enforces f_(m) < f_(s)/2; stable samples are optionally compressed, uniformly quantized and encoded, then a serializer/line coder forms the clock-recoverable channel waveform.

PCM transmitter: the anti-alias LPF enforces fm<fs/2f_m<f_s/2; stable samples are optionally compressed, uniformly quantized and encoded, then a serializer/line coder forms the clock-recoverable channel waveform.

Before sampling, the anti-alias LPF limits the retained message band to fm<fs/2f_m<f_s/2; the sample-and-hold then presents a stable value to the quantizer. An optional A-law/μ\mu-law compressor before a uniform quantizer reduces dynamic range so weak speech gets finer effective resolution. The encoder forms an nn-bit codeword, after which parallel-to-serial conversion and line coding produce a channel waveform from which timing can be recovered. Thus the encoder output is a sequence of codewords, not a direct copy of the analog waveform.

PCM receiver: input filtering limits noise and equalizes the channel; 3R regeneration and de-framing recover timed channel codewords; decoding, DAC/hold, optional expansion and reconstruction filtering recover the waveform.

PCM receiver: input filtering limits noise and equalizes the channel; 3R regeneration and de-framing recover timed channel codewords; decoding, DAC/hold, optional expansion and reconstruction filtering recover the waveform.

The input filter/equalizer limits out-of-band noise as well as compensating channel distortion. After 3R regeneration and clock/frame recovery, the line decoder/de-framer recovers binary codewords and their channel positions. The PCM decoder maps each word to a quantized level; a DAC/hold creates the corresponding staircase, an expander (when used) inverts compression, and the reconstruction LPF suppresses sampling images and smooths the output. The result still differs from the original by quantization error and any bit errors or filtering distortion.

Bmin⁡=Rb/2B_{\min}=R_b/2 is a theoretical zero-ISI lower bound for two-level signaling; the actual occupied bandwidth depends on line code, pulse shaping and roll-off (Manchester, e.g., needs more than shaped NRZ).

Under the usual uniform-error model for an ideal, uniform, non-overloaded quantizer, the error is treated as uniformly distributed over [−Δ/2,Δ/2][-\Delta/2,\Delta/2] and uncorrelated with the input. Then

Each extra bit adds ≈6 dB\approx6\,dB of ideal SQNR but raises RbR_b by fsf_s.

QuantityValue
Speech passband300300 – 3400 Hz
Sampling rate fsf_s8 kHz
Sampling period TsT_s125 μs125\,\mu\mathrm{s}
Codeword length nn8 bit/Sa
Channel bit rate64 kbit/s

Standard telephone PCM parameters.

Speech has a large dynamic range and dwells near zero, so A-law/μ\mu-law compression allocates finer steps to weak signals; the receiver expands. In exchange, it can penalize or distort large signals relative to a uniform quantizer with the same nominal near-full-scale step. In natural-binary PCM an MSB error changes a sample far more than an LSB error, so a low channel BER and reliable synchronization are essential. Gray coding can make adjacent quantizer indices differ by one bit, but this is distinct from the standardized code assignments used by conventional telephony PCM.

Advantages: 3R regeneration stops noise accumulation, quality is stable over long links, digital processing/encryption/storage/error control are easy, and one TDM/switching network can carry voice, data and signaling with repeatable IC characteristics. Costs: extra bandwidth, unavoidable quantization noise, accurate sampling plus bit/frame synchronization, and converter/timing circuitry that adds complexity and power consumption.

A multiplexed PCM receiver must find bit boundaries, the nn bits of one word, frame boundaries and each channel’s time slot. Framing patterns (E1/T1) provide alignment; loss of frame alignment misroutes sample words even when bits are correct. Line coding (e.g. HDB3) maintains physical timing transitions, while framing identifies the logical TDM structure — different functions. An E1 frame has TS0 plus 31 remaining time slots. In the common PCM30/CAS arrangement, TS16 carries channel-associated signaling and TS1–TS15 plus TS17–TS31 carry 30 voice channels; the 31 non-TS0 slots must therefore not all be called channel slots.

Regenerative repeater performs the three R’s (reshape/equalize, retime/clock, regenerate). E1 has TS0 plus 31 remaining slots; in PCM30/CAS, TS16 carries signaling and the other 30 non-TS0 slots carry voice channels.

Regenerative repeater performs the three R’s (reshape/equalize, retime/clock, regenerate). E1 has TS0 plus 31 remaining slots; in PCM30/CAS, TS16 carries signaling and the other 30 non-TS0 slots carry voice channels.

Adjacent speech samples are strongly correlated. DPCM predicts the current sample from previous reconstructed samples and transmits only the difference.

DPCM transmitter: the predicted value x̂(n) is subtracted from the input, the error e(n) is quantized/encoded, and the local reconstruction feeds a predictor identical to the decoder’s.

DPCM transmitter: the predicted value x^(n)\hat{x}(n) is subtracted from the input, the error e(n)e(n) is quantized/encoded, and the local reconstruction feeds a predictor identical to the decoder’s.

If prediction is effective, e[n]e[n] has lower variance than x[n]x[n] and can be quantized with fewer bits for the same distortion. Limitations: predictor state must stay synchronized, quantization error feeds the loop, and channel errors can disturb several later samples. Prediction also gives little saving for rapidly changing or uncorrelated signals.

ADPCM improves DPCM by adapting its quantizer step size and/or predictor coefficients to recent signal behaviour: larger step for fast/large signals, smaller for weak/slow ones.

ADPCM codec: a DPCM loop in which both the quantizer step and the predictor coefficients are adapted from reconstructed history (ITU-T G.726).

ADPCM codec: a DPCM loop in which both the quantizer step and the predictor coefficients are adapted from reconstructed history (ITU-T G.726).

The decoder must perform the identical predictor and quantizer adaptation from the same reconstructed history; otherwise the two adaptive states diverge.

G.726 supports 16, 24, 32 and 40 kbit/s; the 32 kbit/s mode halves the PCM rate with useful telephony quality. ADPCM has moderate computational complexity and has been used for speech storage, cordless telephony and legacy digital voice links. Costs: more state dependence, possible error propagation and lower transparency for arbitrary audio.

Delta modulation (DM) is one-bit DPCM: at each (oversampled) instant it sends only whether the local staircase should rise or fall by fixed step Δ\Delta (bit 1 ⇒+Δ\Rightarrow +\Delta, bit 0 ⇒−Δ\Rightarrow -\Delta). The receiver integrates the bits and low-pass filters the staircase.

Delta-modulation encoder: a comparator emits one bit per sample and a feedback integrator builds the staircase estimate used for the next comparison.

Delta-modulation encoder: a comparator emits one bit per sample and a feedback integrator builds the staircase estimate used for the next comparison.

DM staircase versus input: too small Δ lags a steep input (slope overload); too large Δ hunts about a flat input (granular noise). ADM adapts Δ (increase on runs of equal bits, decrease on alternating bits) to reduce both.

DM staircase versus input: too small Δ\Delta lags a steep input (slope overload); too large Δ\Delta hunts about a flat input (granular noise). ADM adapts Δ\Delta (increase on runs of equal bits, decrease on alternating bits) to reduce both.

Increasing fsf_s also improves staircase tracking, but DM sends one bit at every sample, so its bit rate rises by the same factor. Its very simple one-bit format suits low-rate voice and control links where high-fidelity audio is not required.

FeaturePCMDPCMADPCMDM
Encoded valueAbsolute samplePrediction errorAdaptive pred. errorSign of 1-step error
Bits/sampleSeveral (8)Fewer than PCMOften 4 (speech)
Sample rateNyquist ++ margin≈\approx PCM≈\approx PCMMuch higher (oversample)
Typical rate kbit/s<< PCM kbit/s=fs=f_s
ComplexityModeratePredictorAdaptive pred. & quant.Simplest format
Main impairmentQuant. noisePred. ++ quant. errorAdaptation / propagationSlope overload, granular
Typical useGeneral telephony/audioCorrelated waveformsSpeech, cordless, legacyLow-rate voice/control

Comparison of PCM, DPCM, ADPCM and delta modulation.