Talk:Active noise control
From Wikipedia, the free encyclopedia
Contents |
[edit] Phase vs. polarity
Inverting polarity and shifting phase by 180° are not the same thing. Shifting the phase takes one cycle's worth of time. Inverting polarity is instantaneous.
Ideally, the noise cancellation device flips the polarity of the wave to cancel the noise. This would be the case in noise-cancelling headphones, for instance, where the electric wave can easily start from the microphone, be flipped, and travel to the speaker just in time for the acoustic wavefront to get there.
I left the phase comment in place because I imagine there are other systems where you might actually want a phase shift, if there is some kind of unavoidable delay in the system or something? But maybe it should be changed to polarity, too. - Omegatron 16:41, Apr 15, 2005 (UTC)
- That depends on how you implement the phase shifting. If you're doing things digitally, you're breaking down signals into time-independent channels when you do the Fourier transform, so phase and polarity changes are identical. A more accurate description would be to simply say that the system computes a sound to generate that causes destructive interference (cancellation) at the desired location. To call this "reversing polarity" or imposing a "180 degree phase shift" is to grossly oversimplify, as you have to take into account the positions of your cancelling speakers, microphones, and desired silence zones (sound propagation causes a different phase shift in each spectral component, due to finite speed of sound). --Christopher Thomas 23:22, 28 August 2006 (UTC)
-
- You wouldn't do a Fourier transform if you were just going to flip the polarity. :-) I agree that it should just state what is going on in general at first, as I'm sure different systems have different implementations. Some just flip the polarity, some incorporate a time delay, some incorporate filtering, variable phase shift across the frequency bands, etc. — Omegatron 23:39, 28 August 2006 (UTC)
-
-
- I have trouble seeing how any system that didn't work in the frequency domain would work in practice. Something that simply generated a signal with negative amplitude would have have the microphone and the speaker in the same place, which would also have to be right on top of either the noise source or the person who you wanted to insulate from the noise. Even if you're willing to do this, something like a noise-cancelling headphone set would have to use a band-pass filter to allow desired sounds to pass, and for both at-source and at-listener versions you'd have to perform strange tricks to avoid feedback problems (trying to cancel the cancellation signal).
-
-
-
- Lastly, a stronger argument occurs to me (which has apparently been stated by others in subsequent threads): Flipping the polarity of the waveform does, in fact, produce a 180 degree phase shift (at least if you're using a sampling window small enough that sound isn't changing much over the window). You've apparently argued below that the mechanism is different, but that assumes a very narrow definition of phase shift (i.e., the operation performed by a causal phase-shifting filter, rather than the phase shift itself). In both engineering and mathematics, the term typically refers to the result only, without requiring the operation to be causal (which is what gives you a delay when implementing a phase-shift filter). --Christopher Thomas 00:36, 29 August 2006 (UTC)
-
-
-
- I have trouble seeing how any system that didn't work in the frequency domain would work in practice.
- Not as well. :-) But it would still work. As long as the noise level is lower with the device on than off, it's working. Obviously some implementations work better than others.
- In both engineering and mathematics, the term typically refers to the result only, without requiring the operation to be causal (which is what gives you a delay when implementing a phase-shift filter).
- Exactly. An active noise control is inherently causal. — Omegatron 02:29, 29 August 2006 (UTC)
- I have trouble seeing how any system that didn't work in the frequency domain would work in practice.
-
-
-
-
-
- If you are agreeing with my last paragraph, then why are you arguing that "phase shift of 180 degrees" is not correct? If you are disagreeing, please state what parts you disagree with. As-is, your statement appears both confusing and incorrect to engineers and mathematicians for the reasons stated above.--Christopher Thomas 02:54, 29 August 2006 (UTC)
-
-
-
-
-
-
-
-
- I don't understand what you're asking. — Omegatron 03:07, 29 August 2006 (UTC)
-
-
-
-
-
-
-
-
-
-
- Capsule summary of this thread as I've been interpreting it:
-
-
-
-
-
-
-
-
-
-
-
- O: Inverting polarity and shifting phase by 180° are not the same thing.
-
-
-
-
-
-
-
-
-
-
-
- C: Yes they are, for reasons X, Y, and Z, and saying they're not confuses scientists and engineers.
-
-
-
-
-
-
-
-
-
-
-
- O: I agree with your statements, but you're still wrong.
-
-
-
-
-
-
-
-
-
-
-
- C: Come again?
-
-
-
-
-
-
-
-
-
-
-
- My apologies if I'm missing something you've said, or haven't expressed my own statements clearly enough, but that's pretty much how I'm presently parsing this conversation. --Christopher Thomas 03:22, 29 August 2006 (UTC)
-
-
-
-
-
Let me try and summarize/summarise:
- At the exact point in space where noise cancellation is actually taking place, the antinoise waveform is polarity flipped from the noise waveform, thus causing destructive interference.
- At that same point in space, the antinoise waveform (taken as a whole) is not phase-shifted 180 degrees from the noise waveform; this would not cause destructive interference.
- But if you could take the Fourier transforms of both the noise and antinoise waveforms, you'd find that each individual sine wave component within the antinoise waveform is both polarity-flipped and 180 degrees opposite in phase from its corresponding sine wave component in the noise waveform. This is because, for the specific case of a sine wave, there's no distinguishment between being "polarity flipped" and 180 degrees phase shifted.
Everyone: have I sumari[zs]ed this correctly?
Atlant 13:04, 29 August 2006 (UTC)
- Pretty much. To rephrase my complaints:
- The term "phase shifting a signal" is ambiguous, as it could mean "delaying a repeating (or short-time stationary) signal by a fraction of its fundamental frequency" or "delaying each frequency component individually by an equal fraction of a cycle", which have completely different effects:
- Delaying an entire wave by a fraction of its cycle can be used for noise cancellation (as described in the first section of the first patent of such a system)
- Phase shifting each frequency component by any value other than 180° would not be as useful (unless the medium is dispersive?)
- I think that using the term "phase shifting" is highly misleading, when the actual electronics merely flip the wave. I'm aware that the output waveforms are mathematically equivalent in a non-causal theoretical treatment, but the actual device is just flipping the signal over, and it's misleading to imply otherwise. It's not doing an analog-to-digital conversion, applying an FFT, shifting the phase of each component, inverse transforming, and doing a digital-to-analog conversion. It's not applying an all-pass filter with a constant phase shift for each frequency, set to 180°. (Both of which would require a time delay.) It's just flipping the black and the red wires. — Omegatron 13:55, 29 August 2006 (UTC)
- The term "phase shifting a signal" is ambiguous, as it could mean "delaying a repeating (or short-time stationary) signal by a fraction of its fundamental frequency" or "delaying each frequency component individually by an equal fraction of a cycle", which have completely different effects:
-
- This appears to summarize things, but I feel strongly that saying that "inverting polarity and shifting phase by 180° are not the same thing" is at least as misleading, because for us signal-processing types, phase shifting is usually interpreted as referring to each of the component frequencies.
-
- Would a phrasing along the lines of, "...implemented by inverting the polarity of the waveform, which has the effect of altering the phase of each frequency component by 180 degrees, causing destructive interference" be acceptable to you? It would certainly go a long way towards eliminating my concerns (and apparently the concerns of other responders), while hopefully avoiding the ambiguity which you're objecting to. --Christopher Thomas 02:18, 31 August 2006 (UTC)
because for us signal-processing types, phase shifting is usually interpreted as referring to each of the component frequencies.
- That's simply not true. Terms like "phase shift" are ambiguous when talking about anything except sinusoids. Most of the time, they are actually interpreted to refer to the cycles of a repeating waveform as a whole; not the individual frequency components, though both meanings are valid:
- Phase shift
- A change in phase of a periodic signal with respect to another periodic signal or reference signal.[1]
- Phase
- A time based relationship between a periodic function and a reference. In electricity, it is expressed in angular degrees to describe the voltage or current relationship of two alternating waveforms.
- Phase Difference
- The time expressed in degrees between the same reference point on two periodic waveforms.[2]
- Phase
- A particular angular stage or point of advancement in a cycle; the fractional part of the angular period through which the wave has advanced, measured from the phase reference.
- Phase Shift
- The angular difference of two periodic functions.[3]
- Phase
- The timing of a sound wave that is measured in degrees from 0-360.
- Phase Shift
- Frequency interaction ... which can cause some frequencies to be delayed with respect to other frequencies.[4]
- phase shift
- The change in phase of a periodic signal with respect to a reference.[5]
- phase difference
- The time interval or phase angle by which one wave leads or lags another.[6]
- Besides, even if it does have a well-defined meaning in a certain field, Wikipedia is not field-specific, so we can't just say it has one particular meaning when it has a variety of meanings in general usage.
Would a phrasing along the lines of, "...implemented by inverting the polarity of the waveform, which has the effect of altering the phase of each frequency component by 180 degrees, causing destructive interference" be acceptable to you?
- Not really. To reiterate:
- I'm very well aware that sin(ωt) + ( − sin(ωt)) = sin(ωt) + sin(ωt + π) = 0. Really. They are mathematically equal. I know this.
- For a non-sinusoidal signal, a polarity flip is mathematically equivalent to shifting each individual frequency component by 180 degrees. Yes, I know.
- But you could also say sin(ωt) + sin( − ωt) = 0. No one is calling it "time-reversal cancellation". You could say , but no one is implementing a circuit with double integrators to achieve the same result as an inverter. It is misleading to say you are phase canceling when you are really polarity canceling. Yes, the outputs are indistinguishable, but the method is not.
- Also, in real, practical systems, the method used will never achieve ideal mathematical results, anyway, so you will only have partial cancellation, and the methods used will be distinguishable.
- Also, different physical devices use different methods with varying degrees of cancellation. The simplest, and most well-known, is to just invert the polarity (which certainly does not require performing a Fourier transform, as you seemed to imply above), but there are more advanced methods with better results. We need to document this in detail. So in the intro, we just say "...implemented by generating a wave that causes destructive interference". Later, we say "The simplest and most well-known method is to invert the polarity, which cancels out waves adequately in certain conditions, such as plane waves in ducts or localized low frequency..." "A more complex method uses adaptive filters to... " and detail each type.
- "How can I create a simple sound cancellation device?" and the Active Noise Control FAQ contain information that we should cover here. — Omegatron 16:55, 5 September 2006 (UTC)
[edit] Comments to phase vs. polarity
ANC systems actually use both polarity inversions and phase shifting, depending on the controller strategy. There are two types of control strategies: feedback and feedforward.
- In a feedback control system, the signal you want to cancel (error signal) is fed to the controller. Commonly, a polarity inversion and some filtering are used, which may cause phase shifting. This type of strategy is the simplest one, but can only be used when the delays between the speaker and the error microphone are small; otherwise the system becomes unstable. Also, when using feedback controllers, it's not possible to cancel in the whole frecuency range, in fact there are always amplifications in some frequency bands. It can be done using analog devices.
- In a feedforward control system, a reference signal and the error signal are fed to the controller. The reference signal is correlated with the sound you want to cancel; in other words, it gives the controller information about the signal it has to cancel. The controller then uses a minimization algorithm to compute the appropriate filter so that the filtered reference signal emitted trough the speaker minimizes the error signal. In this case filters are used, which shift the phase of the reference signal. It is possible to obtain cancellation in a frequency range without causing amplifications in other bands. This strategy needs complex calculations, so a DSP or other computer system are required.
In any case, when defining the concept of destructive interference, the signals have opposite phase in a mathematical sense, regardless of how you obtain that difference of phase in practise, by inverting polarity or shifting the phase. --Alejandroff 11:50, 19 October 2005 (UTC)
- This paper defines them differently. It says feed-forward is for canceling a repeating signal that is already well-known, and feed-back is for canceling unpredictable noise from the environment. — Omegatron 14:04, 5 September 2006 (UTC)
-
- If you are talking about the small description in (Rafaely and Jones 2002), that is just talking about what they did in the experiment, which was about headsets. Talking in general, it is clear that with a feedback controler you can only obtain sound reduction in a certain frequency range. The width of this range will depend mainly on the delay between the error microphone adn the secondary speaker. In a headset, this delay is obiously small, but in almost all other application of ANC, this is not the case.
-
- Feedforward controllers only need a reference signal, in other words, you need a signal correlated to the noise you want to cancel. All you need is that reference signal, you don't need it to be periodic, it can be white noise, for example. The band you can control is basically the band of the reference signal; that is, if the reference signal has power in one frequency band, in principle you can obtain canelation. [7] this article refered here, in which i particiapted, discribes an example of broadband noise cancelation of a white noise signal using a feedforward controller.
-
- Nelson, P. A. and Elliott, S. J., 1992. Active Control of Sound. Academic, London.
- Elliott, S. J., 2001. Signal Processing for Active Control. Academic Press.
- Kuo, S. M., and Morgan, D. R., 1996. Active noise control systems. John Wiley & Sons, Inc.
-
- Those references are good books that explain all this methods deeply. — Alejandroff 02:22, 5 November 2006 (UTC)
[edit] More on phase versus polarity
I've just removed the several comments in the article that incorrectly stated that the antinoise signal was not a phase-reversed version of the noise. I suspect the problem was that these statements were phrased too simply to be meaningful, but it's easily shown using the Fourier transform that, for those frequency bands where noise cancellation is taking place, the various frequency components of (that is, the multiple sine waves that constitute) the antinoise signal are most definitely phase-reversed from their analagous components in the noise signal; that's why destructive interference takes place. In the time domain, the antinoise is polarity reversed. In the frequency domain, it's phase-reversed (which, for a sine wave, also happens to be polarity-reversed, frequency-by-frequency).
I think this is probably too difficult to explain in the article, but if someone wants to take a crack at being bold and explaining it, please be my guest!
Atlant 12:18, 10 August 2006 (UTC)
- There's a lot of confusion about this: [8] [9] [10] [11] [12] — Omegatron 14:54, 10 August 2006 (UTC)
(that is, the multiple sine waves that constitute) the antinoise signal are most definitely phase-reversed from their analagous components in the noise signal
- But you didn't go in and phase-shift each individual frequency component; you flipped the whole signal over.
- Such a phase shift in a real-life system would require a delay. — Omegatron 19:31, 25 August 2006 (UTC)
-
- No, not for pure sine waves where a polarity reversal and a 180° phase shift are functionally identical: no delay required.
-
- Atlant 18:11, 27 August 2006 (UTC)
-
-
- Functionally identical, but not identical. In a real-life system, a phase shift requires a delay. A phase shift of 35° and a phase shift of 180° are more closely related than a polarity flip. — Omegatron 19:24, 27 August 2006 (UTC)
-
-
-
-
- I'm sorry, but you're wrong. For a sine wave, the results are indistinguishable.
-
-
-
-
-
- Atlant 02:22, 28 August 2006 (UTC)
-
-
-
-
-
-
- That's what I just said. The results are indistinguishable, but the methods used are not. — Omegatron 03:04, 28 August 2006 (UTC)
-
-
-
[edit] Active Noise Controller
I would like to know about the companies who can supply active noise cancellation ear defenders and also DSP based active noise controller (with adaptive algorithm or LMS- & FXLMS algorithm.
Thanks for your valuable reply.
- Google would be the obvious place to start.
- By the way, you can "sign" your talk postings by including four tildes (~~~~) after your post. When you press "Save page", these will be converted into your username or IP address in a handy, Wikilinked format. A timestamp for your post will also be included.
- Atlant 14:03, 17 February 2006 (UTC)
[edit] A removed description
I've removed this recently-added text from the article. To me, the description farther up in this talk page is more accurate. This newer description doesn't include the simple nearly-instantaneous, band-limited feedback mechanism that is commonly used in ANC headphones.
- Several different types of noise cancellation are possible. First is feedback, where a periodic signal is processed to produce a periodic signal of the opposite phase at a certain location of space, usually near an error microphone. This requires the noise signal to be periodic. Secondly is the feedfoward system, in which noise is recorded along a path between the noise and cancellation actuator(s). In a causal system, noise is recorded close to the source such that sound of an opposite phase can intercept it along a path. This system does not require the signal to be periodic.
- Atlant 21:35, 20 March 2006 (UTC)
[edit] Applications
Shouldn't this page talk about, well, applications? Like military firing ranges, high-noise industrial areas? The first part actually seems to be talking about Types. Bihal 05:45, 28 April 2006 (UTC)
- Yes. Please be bold and add to the article!
- Atlant 13:13, 28 April 2006 (UTC)