With the
theory out of the way, we
have to face the real world and set more constraints.
The Number of Microphones
In this project, we are using the TI TMS320C6211 DSK board.
This board has two channels that sample at 48 kHz and another
channel that samples at 8 kHz. Since we are not interpolating
our signals, the sampling frequency is increasingly critical,
so we can only use
two microphones.
Figure 1 shows what happens to the beampattern
when we use reduced sampling frequency.
Array Spacing
In order to find the best array spacing (theoretically), we
have to go through a few calculations. In our most extreme
case, the signals will be hitting our array from 180°.
This gives us perfect destructive interference, as our phase
difference will be
π. Therefore, we
only need half of the wavelength:
d=λ2
d
λ
2
(1)
We can find λ by dividing the frequency of our sine
wave (500 Hz) by the speed of sound (346.287 m/s):
λ=cf=346.287500=0.69
λ
c
f
346.287
500
0.69
(2)
and our array spacing
dd ends up
being 0.345 m.