Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

cross correlation improvement to detect delay between two mikes

Status
Not open for further replies.

Alberto Novell

Newbie level 2
Newbie level 2
Joined
Jan 15, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
19
Hi there I'm trying to measure time delay of one percussive event recorded by two contact mikes on a glass surface. I decided to check the cross correlation (via FFT) and detect the index of the max in the function. The method is really jittery as the medium affects the transfer function of the signal. I wonder if there is a better method than cross correlation or some signal cleaning that can help before the calculation, or in the cross-correlation function. Also there might be a way to reconstruct the distortion transfer through the medium (as in phase cancellation)..any help?
 

How jittery is jittery? I would expect the cross-correlation to perform pretty well. Can you upload your input data?

Do you have any control over the percussive events? (i.e. can you design what shapes these waveforms take?).
 

HI weetabixharry, thanks for your answer,,,
well in certain cases it jitters about 100-200 samples, while I'd like a resolution of 20 at least. It's in materials like glass where sound travels fast and the material distorts the wave. I uploaded some recordings using a stick and a finger, in each recording we tapped around the center, right and left (you can easily see which side comes first) creating three impulses.

download here:
**broken link removed**

I can't really predict the form of the impulse, but I could claibrate the system with some previous signals. So now I'm trying to mark the signal in the calibration.

Even just by looking at the signals is difficult to associate the peaks and the valleys..

If you have any idea please shoot :)

some images here


 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top