Sound source positioning method and device, computer storage medium and electronic equipment

文档序号:1353109 发布日期:2020-07-24 浏览:6次 中文

阅读说明:本技术 声源定位方法及装置、计算机存储介质和电子设备 (Sound source positioning method and device, computer storage medium and electronic equipment ) 是由 葛宝珊 葛杨 沈松 于 2020-03-25 设计创作,主要内容包括:本公开涉及数据处理技术领域,提供了一种声源定位方法、声源定位装置,以及实现声源定位方法的计算机可读存储介质及电子设备。其中,该方法包括:对于当前测量区域,确定当前测量区域的尺寸以及当前测量区域对应的测量精度;根据测量精度对当前测量区域进行网格划分以确定多个假定声源,以在多个假定声源中确定当前测量区域的目标声源;根据目标声源在当前测试区域所处的位置,在当前测试区域中划分出尺寸较小的下一测量区域;将下一测量区域更新为当前测量区域,以定位下一测量区域的目标声源。本技术方案能够在保证声源定位精度的情况下,有利于减少计算量,进而提升声源定位效率。(The disclosure relates to the technical field of data processing, and provides a sound source positioning method, a sound source positioning device, a computer-readable storage medium for realizing the sound source positioning method and an electronic device. Wherein, the method comprises the following steps: for the current measurement area, determining the size of the current measurement area and the measurement precision corresponding to the current measurement area; performing mesh division on a current measurement area according to measurement accuracy to determine a plurality of assumed sound sources so as to determine a target sound source of the current measurement area among the plurality of assumed sound sources; dividing a next measurement area with a smaller size in the current test area according to the position of the target sound source in the current test area; and updating the next measurement area to the current measurement area so as to locate the target sound source of the next measurement area. According to the technical scheme, under the condition of ensuring the sound source positioning precision, the calculation amount is favorably reduced, and the sound source positioning efficiency is further improved.)

1. A sound source localization method, characterized in that the method comprises:

for a current measurement area, determining the size of the current measurement area and determining the grid division size of the current measurement area;

performing meshing on the current measurement area according to the meshing size to determine a plurality of assumed sound sources, and determining a target sound source of the current measurement area from the plurality of assumed sound sources;

dividing a next measurement area with a smaller size in the current test area according to the position of the target sound source in the current test area;

and updating the next measurement area to the current measurement area so as to locate the target sound source of the next measurement area.

2. The sound source localization method according to claim 1, wherein determining the size of the current measurement area and the meshing size of the current measurement area comprises:

acquiring a first side length L and a second side length W of an inscribed rectangle of the current measurement area to obtain the size of the current measurement area, wherein L is greater than or equal to W, and L and W are positive numbers;

and obtaining that the mesh division size of the current measurement area in the first edge direction is L/n, the mesh division size of the current measurement area in the second edge direction is W/n, and n is positive integer.

3. The sound source localization method according to claim 1, wherein determining a target sound source of the current measurement area among the plurality of assumed sound sources comprises:

calculating a power of each of the assumed sound sources based on an acoustic array composed of a plurality of acoustic sensors;

and determining the assumed sound source with the maximum power as the target sound source of the current measuring area.

4. The sound source localization method of claim 3, wherein calculating the power of each of the assumed sound sources based on an acoustic array composed of a plurality of acoustic sensors comprises:

calculating a time delay between each acoustic sensor and a reference sensor for each assumed sound source, wherein the reference sensor is the acoustic sensor closest to the assumed sound source in the acoustic array;

and carrying out signal time shift on each acoustic sensor according to the time delay, and carrying out weighted summation to obtain the power of the assumed sound source.

5. The sound source localization method according to any one of claims 1 to 4, wherein cutting out a next measurement area with a smaller size in the current test area according to the position of the target sound source in the current test area comprises:

and determining the side length of the next measurement area according to the grid division size by taking the position of the target sound source in the current test area as the center of the next measurement area, and cutting the next measurement area in the current test area.

6. The sound source localization method according to claim 4, wherein updating the next measurement area to the current measurement area to localize a target sound source of the next measurement area comprises:

for the updated current measurement area, determining the grid division size of the updated current measurement area;

and according to the position of the target sound source in the updated current test area, dividing a next measurement area with a smaller size in the updated current test area.

7. The sound source localization method according to claim 4, wherein before the meshing the current measurement area according to the meshing size, the method further comprises:

judging whether the measurement precision corresponding to the current measurement area meets a preset precision requirement or not;

and if so, taking the target sound source of the current measurement area as a final sound source.

8. A sound source localization apparatus, characterized in that the apparatus comprises:

a size determination module configured to: for a current measurement area, determining the size of the current measurement area and determining the grid division size of the current measurement area;

a meshing module configured to: performing meshing on the current measurement area according to the meshing size to determine a plurality of assumed sound sources, and determining a target sound source of the current measurement area from the plurality of assumed sound sources;

a region segmentation module configured to: cutting a next measurement area with a smaller size in the current test area according to the position of the target sound source in the current test area;

an update module configured to: and updating the next measurement area to the current measurement area so as to locate the target sound source of the next measurement area.

9. A computer storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out a sound source localization method according to any one of claims 1 to 7.

10. An electronic device, characterized in that the electronic device comprises:

one or more processors;

storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the sound source localization method according to any one of claims 1 to 7.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:声学成像方法、装置、设备及可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!