Pulse Density Modulation (PDM)

Representing an analog signal's amplitude via the density of pulses.

The Core Idea: Encoding Information with Density

Pulse Density Modulation (PDM) is a method for representing an analog signal using a stream of digital bits (a binary signal). Unlike other pulse modulation techniques that encode information in the height (PAM) or width (PWM) of pulses, PDM encodes the information in the density of the pulses.

Think of it like this: if you wanted to represent temperature using a bell, you would ring it more frequently for a high temperature and less frequently for a low temperature. The speed, or density, of the rings communicates the temperature value. In PDM:

  • A higher amplitude in the original analog signal corresponds to a higher density of '1' bits in the digital stream.
  • A lower amplitude corresponds to a lower density of '1' bits (or a higher density of '0' bits).

Interactive PDM Demonstration

+3V-3V0V100s1s2s3s4s5s6s0100101001010010100101001110011
Analog Signal
PDM Bitstream

PDM Information

Average Bit Density:50.2%
Sampling Rate (Hz):50 Hz

Sigma-Delta Modulator

The PDM bitstream is generated using a Sigma-Delta modulator that continuously compares the analog input with its own output approximation.

Higher analog values result in more '1' bits, while lower values produce more '0' bits.

PDM in Action: A Visual Example

The relationship between the analog signal and the PDM bitstream is easiest to understand visually. The diagram below shows a smooth analog sine wave and the resulting PDM stream generated from it.

Observe how the PDM signal behaves:

  • At the peak of the sine wave (highest positive amplitude), the PDM stream contains a high concentration of '1's.
  • In the trough of the sine wave (most negative amplitude), the stream is dominated by '0's.
  • Where the sine wave crosses the zero point, the density of '1's and '0's is roughly equal. The average value of the PDM stream at any given point in time corresponds to the amplitude of the analog signal at that moment.

Generation: The Role of Sigma-Delta (\Sigma\Delta) Modulation

A PDM stream is not just a theoretical concept; it is the direct, real-world output of a widely used type of analog-to-digital converter called a Sigma-Delta (\Sigma\Delta) modulator.

A Sigma-Delta modulator works using a simple feedback loop. It constantly compares the analog input with an approximation of its own output, and generates a '1' or '0' to nudge the approximation closer to the input. This process happens at a very high speed (oversampling). The stream of these '1's and '0's is precisely the PDM signal. The "Sigma" part refers to an integrator that sums the error, and the "Delta" part refers to the 1-bit that generates the output bit.

From PDM back to Analog: Demodulation with a Low-Pass Filter

Recovering the original analog signal from the high-frequency stream of PDM pulses is surprisingly simple. All that is required is a .

The filter effectively performs an averaging operation. It cannot respond to the rapid changes of the individual '1' and '0' pulses, so it outputs their average value over time. Since the density of '1's in the PDM stream was directly proportional to the original signal's amplitude, this averaging process accurately reconstructs the original, smooth analog waveform.

Applications and Advantages

PDM's unique characteristics make it highly suitable for high-quality audio applications and other specialized areas.

  • High-Fidelity Digital Audio: The digital audio format used in Super Audio CDs (SACD) is called Direct Stream Digital (DSD), which is a form of PDM. The extremely high sampling rate used in the underlying Sigma-Delta modulator pushes the inherent quantization noise to very high, ultrasonic frequencies that are easily removed by the low-pass filter, resulting in exceptionally clean and high-resolution sound.
  • Digital MEMS Microphones: Modern digital microphones, especially the tiny ones in smartphones and other devices (MEMS - Micro-Electro-Mechanical Systems), often contain a built-in Sigma-Delta modulator. They directly output a PDM signal, which is robust against the electrical noise that can plague traditional analog microphone signals, leading to clearer recordings.
    Pulse Density Modulation (PDM) | Teleinf Edu