I'm trying to build a project that detects a sound source's location with three transducers/microphones and multilateration. I need to find a way to know the exact time the microphones detects the sound source.
How I've done the project so far is, i've connected the microphone to a bandass, then to an op amp that outputs a square wave(358), then the signal is fed to an MCU that triggers an interrupts through input capture and stores the value of the counter(time stamps).
The problem is, the time stamps are very inaccurate. After connecting an oscilloscope to each of my microphone and looking at the signals through labview, i noticed that the sound signals gets distorted from 1 microphone to the other so it doesn't trigger the 2nd interrupt at the right time.
I thought about just making a bridge rectifier to get rid of this problem, but i can't get it to work =(. Any suggestions?
How I've done the project so far is, i've connected the microphone to a bandass, then to an op amp that outputs a square wave(358), then the signal is fed to an MCU that triggers an interrupts through input capture and stores the value of the counter(time stamps).
The problem is, the time stamps are very inaccurate. After connecting an oscilloscope to each of my microphone and looking at the signals through labview, i noticed that the sound signals gets distorted from 1 microphone to the other so it doesn't trigger the 2nd interrupt at the right time.
I thought about just making a bridge rectifier to get rid of this problem, but i can't get it to work =(. Any suggestions?