<< Chapter < Page Chapter >> Page >
Third Section

After this first experiment, it will be easier to think about 1D sound. Now check the sound waveforms below (recorded on a Sunday morning, in Brochstein Pavilion at Rice University, length 10 seconds).

Picture of 2 waveforms
Recorded sound wave

It is easy to see that these two sound waves are exactly the opposite of each other by carefully checking some specific spikes.

Now if you play the first OR the second piece of data, you would hear some gibberish of background music, people talking, and spoon and plates clinking on a typical Sunday morning. That being said, you should realize that your ears are not as sensitive as your eyes in some way; they cannot detect phase difference monotonically! The second piece of signal, though being the negative version of the first piece, sounds identical to humans. Now if you play the two signals at the same time, you would get absolutely nothing, like what happened to your eyes before: silence!

To experiment with this more convincingly, try it out with your own speaker set. First make sure you have two audio channels. Open MATLAB, and type in:

recObj = audiorecorder; recordblocking(recObj,5); % try to make some noisenoiseData = getaudiodata(recObj); antiNoiseData = - noiseData; % invert!double_channel = [noiseData,noiseData];sound(double_channel,8000);

Now you can hear the piece you’ve just recorded. To examine our cancelling theory, type in this:

double_channel = [noiseData,-noiseData];sound(double_channel,8000);

Note that if you are listening to this by your earphones, you would still hear the sound, but notice a subtle difference: your brain automatically calculates the position of the sound source by combining the two sound signals from your left and right ears. If you were playing them with your loudspeakers, however, you would very likely get nothing. Try to place the diaphragms of the speakers right towards each other very closely, and the sound waves will cancel out.

This is the basic mechanism of ANC. It is widely applied in most noise cancelling systems, such as headphones (to enable one to hear music better), on cars (to reduce the noise of the engine and tires), and in cell phones (to reduce background noise in conversations). While this sounds useful and easy, the real world is not always so straightforward. Detecting the phase of a sound wave is hard. Usually a Phase Locked Loop is used to determine the phase of input noise and to generate a 180-degree phase-shifted "anti-noise" as described above. This algorithm requires a steady noise source (resembling a sinusoidal wave) and is therefore unable to filter out more complex noise such as the background noise of a crowd. Even if the input were a pure sine tone, the reduction would be no more than 10dB. The greatest restriction is the geometry of environment settings. The location of the microphone used to pick up the sound signal and the location of output loudspeakers determine the sound quality of the noise cancellation. As you may have noticed, when you put your two speakers right in front of each other with no space between them, the cancellation works best; as the speakers are moved away from each other, you can hear louder and louder noise. The sound waves tend to reflect off of the wall, or any other surface, sometimes reinforcing each other and resulting in unpredictable behavior. Another limitation is that high frequency noise has really short wavelengths, which makes the distance between ears non-negligible, so that the cancellation signal for the left ear can actually reinforce noise for right ear.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Elec 301 projects fall 2014. OpenStax CNX. Jan 09, 2015 Download for free at http://legacy.cnx.org/content/col11734/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Elec 301 projects fall 2014' conversation and receive update notifications?

Ask