Couldn't you then use just 1 processor to sample all 4 mics, allowing for sampling delays in the software?@ 20Mhz the 12F675 should do an 8 bit sample in about 20uSec.
I think syncing 4/5 micros together will be a hard problem.Couldn't you then use just 1 processor to sample all 4 mics, allowing for sampling delays in the software?
Instead of peaks, it's easier to detect zero crossing using comparators. Then you can easily construnct a composite signal, which will turn to 1 when left microphone crosses - to + and to 0 when the right microphone does this. The duty cycle of this signal will be equal to the phase shift. You get these signals from each pair of adjacent microphones and feed it to an MCU which has enough CCP modules to process all signals and measure the duty cycles on them. You only need to figure out if duty cycle is less than 50% (meaning left microphone is leading - sound is left of the centerline) or more 50% (meaning it's lagging - right of the centerline). Doesn't need much processing power.
I still am not clear on how to establish the direction of the wave, can u elaborate on analyzing the zero crossing duty cycle to determine the
direction. a 45 deg quadrant is fine.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?