102Technology

How noise cancelling works

Headphones make a sound to silence a sound. Add an upside down copy of a tone, see what a small delay does at different pitches and see how exact the timing must be.

The headphones

Silence made of two sounds

Noise cancelling headphones make a sound to silence a sound. A tiny microphone listens to the noise outside. A circuit makes a copy of the noise turned upside down, so that when the noise pushes the air one way the copy pushes it the other way. Played together the two cancel. This is called destructive interference.

Three parts. In the first, add an upside down copy to a steady tone and see what is left. In the second, see what a small delay does at different pitches. In the third, see how exact the timing must be. The sums are a simple model made for this page. Real headphones are more complicated. Without a script each part shows one picture or table.

First part

An upside down copy

A steady tone is a wave that goes up and down. Turn it upside down and the ups become downs. Add the two and you get a flat line, which is silence. That works only if the copy matches the noise exactly and arrives at exactly the right moment.

Slide the pitch of the noise and the lateness of the copy. The page draws the noise, the copy and the sum. With no delay the sum is flat. With a delay the copy is out of step, and something is left. If the copy is late by more than a sixth of a period, the sum is louder than the noise on its own, and the headphones make it worse.

The noiseThe anti-noise, turned upside down and 0.10 ms lateWhat is left when they meet (same scale)Three periods of a 500 Hz tone

A 500 hertz noise with a copy 0.10 milliseconds late leaves 31% of the noise, a cut of 10.1 decibels.

Second part

A small delay and the pitch of the noise

Every circuit takes a little time, and sound takes time to travel between the microphone and the ear. A delay of a tenth of a millisecond is tiny. But a high note goes through many more waves in that time than a low note, so the same delay is a bigger mismatch for a high note.

Slide the delay. The graph shows what is left of the noise at each pitch. Low notes are cancelled well. Higher notes are cancelled badly, and above a certain pitch the sum is mostly louder than the noise. The graph rises and falls again at higher pitches, because at some pitches the delay happens to be a whole number of waves. That is a quirk of this simple model. This is why the sources say that noise cancelling works best on steady, low sounds, such as a hum, and that the padding of the cups does the work for higher sounds.

No change. Below the line is quieter.100 Hz1,000 HzWhat is left of the noise, by pitch
What is left of the noise at four pitches when the copy is 0.1 milliseconds late
PitchLeft of the noiseChange in loudness
100 Hz6%24.0 dB quieter
500 Hz31%10.1 dB quieter
1,000 Hz62%4.2 dB quieter
3,000 Hz162%4.2 dB louder

With a delay of 0.10 milliseconds, the copy helps up to about 1667 hertz. Above that it is mostly worse, and comes and goes at pitches where the delay is a whole number of periods.

Third part

How exact the timing must be

The amount that is left depends on the phase error, which is how far the copy is out of step, measured as a part of a full turn of the wave. A copy that is 5.7 degrees out of step leaves about a tenth of the noise, which is a reduction of 20 decibels. A copy that is 60 degrees out leaves as much as there was. At 180 degrees it is exactly the wrong way round and doubles the noise.

Pick a pitch and slide the phase error. The page shows the time that it takes, in millionths of a second. For a 100 hertz hum, 5.7 degrees is about 158 millionths of a second. For a 1000 hertz tone it is only about 16. That is why the timing has to be fast, and why higher notes are so hard.

What is left of the noise for four phase errors, and the time each takes at 100 and 1000 hertz
Phase errorLeftAt 100 HzAt 1000 Hz
1°1.7%28 µs2.8 µs
5.7°9.9%158 µs15.8 µs
20°34.7%556 µs55.6 µs
60°100.0%1,667 µs166.7 µs

A phase error of 5.7 degrees leaves 9.9% of the noise, a cut of 20.0 decibels. At 1000 hertz it takes 15.8 millionths of a second.

Key takeaways

  1. Noise cancelling adds a copy of the noise turned upside down. The two cancel. This is destructive interference.
  2. It works only if the copy matches in size and timing. If it is late by more than a sixth of a period, it makes the noise worse.
  3. A small delay is a small error for a low note and a big one for a high note, so cancelling works best on low, steady sounds.
  4. The padding of the cups blocks the higher sounds that the circuit cannot cancel.
  5. A phase error of 5.7 degrees leaves about a tenth of the noise, a cut of 20 decibels.

Sources

Some of these sites could not be opened while this page was written, so some facts were checked through search results that quote them. That a microphone picks up the noise and a circuit makes an inverted copy that cancels it by destructive interference, and that the method works best on steady, low sounds while the cups block higher sounds, appeared in several places. The search did not state that delay limits high pitches, but it said that the timing of the anti-noise must be precise, and the effect of a delay at different pitches is computed on the page with a simple model, 2 times the sine of half the phase error, so the page says this is a model. Dates differ for Paul Lueg’s patent (1933, 1934 or 1936), and the earmuff of 1957 with about 20 decibels between about 50 and 500 hertz came from one source. No source for a cutoff of about 1000 hertz was found, so the page gives none. The numbers 5.7 degrees, 20 decibels, 158 and 16 millionths of a second are computed. Nothing here is advice.