From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Time-delay estimation and acoustic bearing estimation.

Code and Documents

Attachment

Bearing estimation,acoustic source locator,time-delay estimation in an acoustic environment.

The program simulates the estimation of an acoustic source. The source travels in a circle at a variable height (and radius) about an origin. The software estimates the co-ordinates (x,y,z) in 3D space. This is trickier to get to work than it first appears. You can only estimate integer delays whilst the true distance will be non-integer - hence errors. These errors and small if the source is not too far away from the mic array. The furtehr away teh source the bigger the error. This method uses the Spherical Intersection method to estimate the co-ordinates and the Hannan-Thomson Generalised Cross-Correlation method to estimate the time-delays (in samples).

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors