Best EssaysLong reads and ideas worth your time
Technology

How do noise-cancelling headphones work? Fighting sound with sound

Active noise cancelling erases engine drone by playing an inverted copy of it into your ear. How the microphones, chips and physics work, and why some sounds get through.

By Editorial team · · 6 min read

Put on a good pair of noise-cancelling headphones on a long-haul flight and switch them on. The deep, constant roar of the engines, the sound you’d stopped noticing until it disappeared, drops away to a faint hush. Voices nearby are still audible, a baby’s cry still cuts through, but the drone that makes fourteen hours in economy so exhausting is mostly gone.

It feels a little like magic. The real explanation is stranger and more elegant: the headphones cancel sound by making more of it. They listen to the noise around you and, in a fraction of a millisecond, generate a mirror image of it that wipes out the original before it reaches your eardrum.

What sound actually is

Sound is a pressure wave. When an engine runs or a person speaks, it pushes and pulls on the surrounding air, creating alternating regions where air molecules are squeezed together (compressions) and spread apart (rarefactions). These ripples spread outwards. When they reach your ear, they make your eardrum vibrate, and your inner ear and brain translate that vibration into the sensation of sound.

Two properties matter here. Frequency is how many compressions pass a point each second, measured in hertz (Hz); we hear it as pitch. Amplitude is how strong the pressure changes are; we hear it as loudness. Human hearing spans roughly 20 Hz to 20,000 Hz, with sensitivity falling at the extremes and with age.

Two ways to block noise

Headphones reduce outside noise in two quite different ways.

Passive isolation is simply physical blocking. Over-ear cups with dense padding, or earbuds with silicone or foam tips sealed in the ear canal, stop sound from getting in, just as earplugs do. Passive isolation works best on higher frequencies, such as chatter, clattering and hissing, because short wavelengths are easily absorbed and reflected by solid materials.

Active noise cancellation (ANC) uses electronics to counter sound that gets past the physical barrier. It is most effective on low frequencies, the rumbles and drones below about 1,000 Hz that passive materials struggle to stop. Low-frequency sound has long wavelengths, several metres in the case of a deep engine hum, which pass easily through padding and plastic.

Good noise-cancelling headphones combine both. The physical design handles the high frequencies; the electronics handle the lows.

Destructive interference

Active noise cancellation relies on a basic property of waves called interference. When two waves meet, their effects add together. If the peaks of one line up with the peaks of the other, they reinforce each other and the result is louder. If the peaks of one line up with the troughs of the other, they cancel out.

That second case is called destructive interference. If you can produce a sound wave that is exactly the same as the incoming noise but inverted, so that every compression is matched by a rarefaction of equal size, the two will cancel and the pressure at your eardrum will barely change. In audio terms, the anti-noise is 180 degrees out of phase with the noise.

The idea isn’t new. The German physicist Paul Lueg patented the concept of active sound cancellation in the 1930s. In the 1950s engineers built early noise-cancelling headsets for pilots and helicopter crews. The modern consumer story is usually traced to Amar Bose, founder of the Bose Corporation, who began sketching a design on a flight in 1978 after finding the airline’s headphones useless against cabin noise. Bose’s early headsets were developed for aviation; consumer versions followed much later as electronics shrank and became less costly to make.

Inside a noise-cancelling headphone

A typical noise-cancelling headphone or earbud contains several components working together:

  • Microphones that pick up sound. Most modern designs have several per ear.
  • A processing chip, usually a dedicated digital signal processor, that analyses the incoming noise and calculates the anti-noise.
  • The speaker driver, which plays your music and the anti-noise at the same time.
  • A battery to power it all, since ANC is an active process.

There are three broad approaches to where the microphones go.

Feedforward ANC places microphones on the outside of the ear cup or earbud. They hear the noise before it reaches your ear, giving the processor a head start. The weakness is that they can’t hear what actually arrives inside your ear, so they can’t correct for how the headphones fit, and they’re more susceptible to wind noise.

Feedback ANC places a microphone inside the ear cup, near the speaker. It hears what you hear, including any noise that has leaked through, and continuously adjusts to minimise it. This approach corrects for fit, but it reacts after the noise has arrived and can be less effective at higher frequencies.

Hybrid ANC uses both. Outer microphones anticipate the noise; inner microphones check the result and correct errors. Most high-end headphones and earbuds now use hybrid designs.

Speed is everything

For cancellation to work, the anti-noise has to arrive at precisely the right moment. If it’s late by even a small fraction of a wavelength, it will no longer line up neatly with the noise. At low frequencies, where wavelengths are long, there’s a little more tolerance. At higher frequencies, the timing requirements become extremely tight, measured in microseconds.

That’s one reason ANC works best on low, steady sounds. Engine drone, air-conditioning hum, train rumble and the roar of a road are predictable and relatively low in pitch. The processor can model them and keep cancelling them reliably. Sudden, unpredictable sounds, such as a dropped plate, a dog’s bark or a nearby voice, change too quickly and contain too many high frequencies for the system to fully counter. Fortunately, those are the sounds passive isolation handles better.

Modern processors also adapt continuously. Many headphones now adjust their cancellation dozens or hundreds of times per second, responding to changes in the surrounding noise and in how the headphones are sitting on your head. Some measure the shape of your ear canal with a test tone when you first put them on and tune the cancellation to suit.

Why it can feel strange

Some people find active noise cancellation uncomfortable at first. A common complaint is a feeling of pressure in the ears, sometimes compared with being on a plane during descent or underwater. There’s no actual change in air pressure inside the ear, so the sensation seems to be a perceptual effect: the brain associates the removal of low-frequency sound with a pressure change, because in everyday life the two often go together. Most people adapt within a few days, and some headphones let you reduce the strength of cancellation.

ANC can also produce a faint hiss, especially in quiet rooms, as the electronics introduce a small amount of noise of their own. Better designs keep this very low.

Transparency mode

The same microphones that make noise cancellation possible can be used for the opposite purpose. In “transparency” or “ambient” mode, headphones pass outside sound through to your ears on purpose, mixed with your music, so you can hear announcements, traffic or a colleague without removing them. Done well, it can sound almost as if you aren’t wearing headphones at all.

Some models offer adaptive modes that switch automatically, letting voices through while still dampening steady background noise, or lowering loud sudden sounds such as sirens or construction to a safer level.

Benefits beyond comfort

The most obvious benefit of ANC is comfort on planes, trains and in noisy offices. There’s also a hearing-health argument. In a noisy environment, people often turn their music up to drown out background sound, sometimes to levels that can damage hearing over time. By reducing the background noise, ANC lets listeners enjoy music at lower volumes.

Many people also find steady background noise tiring, even when they’ve stopped consciously noticing it. Reducing it can make long journeys less fatiguing and make it easier to concentrate.

There are trade-offs. Removing too much environmental sound in traffic or on a bike is risky, because you need to hear what’s around you. Transparency modes help, but awareness of surroundings should come first.

Fighting sound with sound

Active noise cancellation is a neat example of a technology that works by embracing the very thing it’s fighting. Rather than trying to build a perfect wall against sound, it accepts that some noise will get in and then erases it with a precisely timed counter-wave. The idea is almost a century old. What made it practical for everyday use was the steady shrinking of microphones, chips and batteries, until a computer fast enough to out-think engine noise could fit inside an earbud.

The next time you switch on noise cancelling and the world goes quiet, it’s worth remembering that your ears are actually receiving more sound than before. It’s just that two sets of waves are cancelling each other out on the way in.

Best Essays is an independent publication. Essays are researched and edited by our editorial team; see our editorial policy. Spotted an error? Email info@bestessays.com.au.