220 likes | 334 Views
Spatial Power Spectrum Analyzer. Outline. Introduction Objective Review Original Design Describe project build and functional tests Discuss successes and challenges Recommendations Questions. Introduction . Detect the sound source and interface to computer
E N D
Outline • Introduction • Objective • Review Original Design • Describe project build and functional tests • Discuss successes and challenges • Recommendations • Questions
Introduction • Detect the sound source and interface to computer • Tell the direction of the sound source • Apply to “smart” video cameras that follow sound source • Apply to museum displays that detect approaching people
Objective • A breakout box • detect and receive an input speech signal • An analyzer • calculate the location of the speech source • Labview • Benefits • Provides interactive control to other devices and technologies • Low cost solution of spatial power spectrum detection
Sound Souse Microphone array Power A/D converter LabView Matlab Display screen Review Original Design
Describe project build • Formulas • Equipment • Set up
Formulas • D x cos(a) = dt x S • D:distance between each two microphones • 10cm, 20cm, 50cm, 100cm • a: angle of the direction • Unknown! • dt: time delay between each pair of microphones separated distance • Calculated • S: the sound speed • 340-344 m/s
For loop For t’=1:N For t=1 : N S(t’)=S|S1(t) – S2(t-t’)|2 Delay = t’ when S is maximum FFT ‘a’ = IFFT[fft(S1)xfft(S2)*] delay = index (max(|a|)) Find time delay
S(t) t S(t-t’) t t’
S(t) t S(t-t’) t t’
Sampling Rate • At least 3.3 KHz for D=1m • D x cos(j) = dt x S • 1m x cos(0) / (340m/s)= dt = 0.003s = 330Hz • We use 105 samples/sec
Hardware Microphones A/D Converters Power Amplification Sound Source PC Monitor Software Labview Equipments
Functional test • Using Matlab testing mathematic logic • Calibrate the microphones • Testing angles • With different distances between microphones • With different distances between microphones and sound source
Sampling rate to 100kHz Two different methods for calculating time delay Filter out background noises Consistent angle measurements Discuss successes and challenges
Recommendations • Spend more time testing/designing mics/amp circuit – focus on relative microphone sensitivity as well as overall output levels • Success rate with different sound sources • How much do room acoustics affect performance?
Questions • ?