Just curious... I have Googled and read a bit, but find the explanations I came across unsatisfying. Sure, in principle you want to measure the incoming environmental noise with a microphone mounted to each ear's headphone; then add an inverted copy of the signal to the signal driving the respective speaker. But how does this actually work in practice?
(a) I assume that there is a phase delay in the microphone, and in driving the speaker. So if you simply invert the microphone's signal, your resulting speaker output will probably be "too late" -- right?
(b) So, do real-world noise cancelling headphones actually delay the microphone signal further, by a bit less than 180°, so that the previous wave cycle received on the microphone drives the speaker, to interfere with the next incoming wave? The fact that noise cancelling headphones apparently can't handle one-off impulse signals is consistent with that assumption.
(c) But, of course, a "bit less than 180° delay" means a different delay time for each frequency component. Does the signal processing actually include an FFT, frequency-dependent time delay, and re-synthesis? Or some clever all-pass filter with the right frequency-dependent delay characteristics?
(d) Finally, how do you determine the amplitude of the cancelling signal you need to feed to the phones? Even without the active cancellation, only a dampened version of the incoming sound will reach the ear, due to the headphone's passive noise dampening. One needs to supply an inverted signal with the same (frequency-dependent) amplitude. Do the manufacturers just characterize the frequency-dependent passive dampening once, in the lab, and assume that it will be the same for each person wearing the headphone? Or is something more clever going on?
I'd appreciate any insights you might have on this -- and any references to technical literature. Thanks!
EDIT: Fixed mangled sentence in point (a) above...
And adding one more question:
(e) Several publications and DSP app-notes deal with "active feedback" noise cancellation schemes, which assume the presence of another microphone (behind the speaker), to detect and minimize an error signal. But do commercial ANC headphones have such error detection microphones?