ArticleslgStudy

science

Pulse-density modulation

Pulse-density modulation is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Pulse-density modulation rather than just read about it. In short: Pulse-density modulation (PDM) is a form of modulation used to represent an analog signal with a binary signal. In a PDM signal, specific amplitude values are not encoded into codewords of pulses of different weights as they would be in pulse-code modulation (PCM); rather, the relative density of the pulses corresponds to the analog signal's amplitude. 1-bit DAC is an example of a PDM application.

Pulse-density modulation — main illustration
Pulse-density modulation — illustration

Key takeaways

  • Pulse-density modulation belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Pulse-density modulation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Pulse-density modulation from memory before moving on to harder problems.

Reference excerpt

Pulse-density modulation (PDM) is a form of modulation used to represent an analog signal with a binary signal. In a PDM signal, specific amplitude values are not encoded into codewords of pulses of different weights as they would be in pulse-code modulation (PCM); rather, the relative density of the pulses corresponds to the analog signal's amplitude. 1-bit DAC is an example of a PDM application.

Description In a pulse-density modulation bitstream, a 1 {\displaystyle 1} corresponds to a pulse of positive polarity ( + A {\displaystyle +A} ), and a 0 {\displaystyle 0} corresponds to a pulse of negative polarity ( − A {\displaystyle -A} ). Mathematically, this can be represented as

x [ n ] = − A ( − 1 ) a [ n ] , {\displaystyle x[n]=-A(-1)^{a[n]},}

where x [ n ] {\displaystyle x[n]} is the bipolar bitstream (either − A {\displaystyle -A} or + A {\displaystyle +A} ), and a [ n ] {\displaystyle a[n]} is the corresponding binary bitstream (either 0 {\displaystyle 0} or 1 {\displaystyle 1} ). A run consisting of all 1 {\displaystyle 1} s would correspond to the maximum (positive) amplitude value, all 0 {\displaystyle 0} s would correspond to the minimum (negative) amplitude value, and alternating 1 {\displaystyle 1} s and 0 {\displaystyle 0} s would correspond to a zero amplitude value. The continuous amplitude waveform is recovered by low-pass filtering the bipolar PDM bitstream.

Examples A single period of the trigonometric sine function, sampled 100 times and represented as a PDM bitstream, is: 0101011011110111111111111111111111011111101101101010100100100000010000000000000000000001000010010101

Two periods of a higher frequency sine wave would appear as: 0101101111111111111101101010010000000000000100010011011101111111111111011010100100000000000000100101

In pulse-density modulation, a high density of 1s occurs at the peaks of the sine wave, while a low density of 1s occurs at the troughs of the sine wave.

Analog-to-digital conversion

A PDM bitstream is encoded from an analog signal through the process of a 1-bit delta-sigma modulation. This process uses a one-bit quantizer that produces either a 1 or 0 depending on the amplitude of the analog signal. A 1 or 0 corresponds to a signal that is all the way up or all the way down, respectively. Because in the real world, analog signals are rarely all the way in one direction, there is a quantization error, the difference between the 1 or 0 and the actual amplitude it represents. This error is fed back negatively in the ΔΣ process loop. In this way, every error successively influences every other quantization measurement and its error. This has the effect of averaging out the quantization error, while noise shaping it to push most of the quantization error into higher frequencies, which for audio signals would be ultrasonic.

PDM-to-PCM conversion Decimation is needed to convert a PDM signal from its very high sampling rate (e.g. some PDM mics may sample between 1 MHz to 3.25 MHz) to the much lower PCM sampling rate (which for audio may range between 16 kHz to 48 kHz).

Digital-to-analog conversion The frequency components of interest, for example the audio frequency range, are much lower than the PDM's very high sampling rate. So, the process of converting a PDM signal into an analog one is simple: one only has to pass the PDM signal through a low-pass filter. Because the delta-sigma modulator had pushed most quantization noise into higher frequencies, low-pass filtering removes the high-frequency quantization noise while keeping the lower-frequency signal of interest.

Relationship to PWM Pulse-width modulation (PWM) is a special case of PDM where the switching frequency is fixed and all the pulses corresponding to one sample are contiguous in the digital signal. The method for demodulation to an analogue signal remains the same, but the representation of a 50% signal with a resolution of 8 bits, a PWM waveform will turn on for 128 clock cycles and then off for the remaining 128 cycles. With PDM and the same clock rate the signal would alternate between on and off every other cycle. The average obtained by a low-pass filter is 50% of the maximum signal level for both waveforms, but the PDM signal switches more often. For 100% or 0% level, they are the same, with the signal permanently on or off respectively.

Relationship to biology Notably, one of the ways animal nervous systems represent sensory and other information is through rate coding whereby the magnitude of the signal is related to the rate of firing of the sensory neuron. In direct analogy, each neural event – called an action potential – represents one bit (pulse), with the rate of firing of the neuron representing the pulse density.

Algorithm

… excerpt ends here. Continue reading the full article.

Illustrations

Pulse-density modulation: An example of PDM of 100 samples of one period of a sine wave. 1s represented by blue, 0s represented by white, overlaid with the sine wave.
An example of PDM of 100 samples of one period of a sine wave. 1s represented by blue, 0s represented by white, overlaid with the sine wave.
Pulse-density modulation: A second example of PDM of 100 samples of two periods of a sine wave of twice the frequency
A second example of PDM of 100 samples of two periods of a sine wave of twice the frequency
Pulse-density modulation: Pulse-density modulation of a sine wave using this algorithm
Pulse-density modulation of a sine wave using this algorithm

Worked examples

Example 1 — a first encounter with Pulse-density modulation

Start with the simplest possible case. Write down what Pulse-density modulation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Pulse-density modulation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Pulse-density modulation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Pulse-density modulation

In research
Pulse-density modulation appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Pulse-density modulation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Pulse-density modulation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Signal processing, so understanding it makes those chapters shorter.
In everyday life
Look for Pulse-density modulation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Pulse-density modulation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Pulse-density modulation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Pulse-density modulation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Pulse-density modulation in simple terms?

Pulse-density modulation (PDM) is a form of modulation used to represent an analog signal with a binary signal. In a PDM signal, specific amplitude values are not encoded into codewords of pulses of different weights as they would be in pulse-code modulation (PCM); rather, the relative density of t…

Why does Pulse-density modulation matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Pulse-density modulation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Pulse-density modulation.

Tags

  • Signal processing

Keep exploring