DSPRelated.com
Forums

Cross Correlation on a 20kHz tone

Started by "cry...@ymail.com" December 1, 2009
Hi there,

I am working on a "robot" that determines the source of an audio signal. Right now I am using cross correlation to determine angle and it works beautifully if I shout or clap at it. However, I want to use a 20kHz tone because its inaudible and I'd like to be able to ignore other loud sounds in the room.

Right now I am working in Labview. It has a very difficult time cross correlation a tone (actually any tone) because it seems like the SNR is lower than a clap or shout. I tried a basic RC envelope detector which worked with a recorded sample tone, but when using my 3 microphone set up, it fails miserably.

Also, when I generate a tone, the heads of the tones are relatively flat, but after recording them (I have very good measurement mics, Behringer 8000 ECM's and am filtering for 20 kHz), the heads are very noisy.

Does anyone have any ideas how to cross correlate on a 20 kHz signal? I've tried creating chirps from 16-20kHz in audacity with no avail. I am a EE Controls Grad Student so my DSP knowledge is a little lacking.

Thanks!!
Crystal