Sound source three-dimensional positioning method and device

By using multiple microphone array devices in three-dimensional space to calculate the pitch angle and azimuth angle of the sound source, combined with the distance between microphone array devices, the problem of low three-dimensional space positioning accuracy in the existing technology is solved, and high-precision sound positioning is achieved. Source three-dimensional coordinate positioning.

CN118688718APending Publication Date: 2024-09-24SHENZHEN FENGHUO HONGSHENG TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410577912.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-05-11
Filing Date
2024-05-10
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing sound source positioning technology is mainly applied on a two-dimensional plane. The positioning accuracy in three-dimensional space is not high, and effective three-dimensional coordinate positioning is not achieved.

Method used

Design a three-dimensional sound source positioning method that uses multiple microphone array devices placed on the rectangular coordinate system of the three-dimensional space. By calculating the pitch angle and azimuth angle from the sound source to each microphone, combined with the distance between the microphone array devices, the sound source is determined. The 3D coordinate position of the source. Specific steps include calculating the time delay difference from the sound source to each microphone, determining the pitch angle and azimuth angle through Fourier transform and cross power spectrum analysis, and determining the two-dimensional projection point of the sound source through the intersection point of the straight line equation, and finally determining the altitude. three-dimensional coordinates.

Benefits of technology

Significantly improves the accuracy of sound source positioning, achieving long-distance and high-precision positioning in three-dimensional space.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118688718A
    Figure CN118688718A
Patent Text Reader

Abstract

The invention belongs to the technical field of sound source positioning, and discloses a sound source three-dimensional positioning method and device, a single microphone array positioning device is characterized in that microphones are placed on positive and negative half axes of an x axis, a y axis and a z axis of a three-dimensional space rectangular coordinate system respectively, and the distances from the microphones to an original point of the coordinate system are equal; the sound source three-dimensional positioning method comprises the following steps: when a sound source enters a plurality of microphone array positioning devices and is received by the microphone array positioning devices, obtaining a pitch angle from the sound source to each microphone array positioning device and a pickup area where the sound source is located through calculation; performing angle calculation on two microphones adjacent to the pickup area, and determining an azimuth angle according to the pitch angle; according to the azimuth angles of the multiple microphone array positioning devices and the distance between the devices, multiple sets of binary linear equations are determined, and the intersection point of the multiple sets of linear equations is the two-dimensional coordinate position of the projection point of the sound source on the two-dimensional plane. Carrying out mean value processing on the plurality of two-dimensional coordinates to determine a two-dimensional coordinate position of the sound source target projection point; and calculating the height between the sound source and the target projection point according to the pitch angle and the distance between the two-dimensional coordinate position of the target projection point and the microphone array positioning equipment, thereby determining the three-dimensional coordinate position of the sound source. The positioning method provided by the invention has the advantage of high positioning precision on the basis of obtaining the position of the three-dimensional sound source.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of sound source positioning, and more specifically, relates to a method and device for three-dimensional positioning of a sound source. Background Art

[0002] Microphone array sound source localization technology is a technology that determines the location of the spatial source of sound and is a passive localization technology. When the sound source localization system detects a target, it does not actively transmit a signal, but relies on receiving the signal emitted by the target to complete its location. Compared with radar and active sonar positioning, sound source localization technology has four main advantages: (1) Low energy consumption. Compared with the active positioning method of transmitting signals, sound source positioning technology passively receives sound wave signals when locating the target, so it consumes less energy than active positioning equipment.

[0003] (2) Strong anti-interference ability. Passive sound source positioning can work all-weather compared to active positioning and is less affected by bad weather. Sound wave signals can also pass through obstacles such as gullies and mountains to complete signal collection and implement positioning.

[0004] (3) High concealment. In the actual detection and positioning environment, the interference of electromagnetic equipment will not affect the accuracy of sound source positioning, nor will it be detected and positioned by radio. It will not be detected, interfered with or destroyed by the enemy during the war.

[0005] (4) Low cost. Since the production cost of acoustic sensors is lower than that of radars, they can be deployed in large numbers and have a wider detection range.

[0006] Sound source positioning technology has application needs in many industries, such as automobiles, home appliances, aerospace, consumer electronics, heavy equipment, military operations, etc. In the military field, sound source positioning technology can be used to detect the location of enemy artillery positions, reverse bombing, and protect our military forces. In war, snipers often blend into the terrain with makeup and hide in secret areas to perform special tasks. They usually accurately shoot and kill key military figures or destroy important facilities. Sound source positioning technology can accurately and quickly detect the hidden position of snipers and kill them. The sound source positioning system on military ships can detect surface ships and enemy submarines in the open without being affected by the complex environmental noise of the ocean, track the location information of enemy ships, and track the trajectory of missiles fired by artillery and locate the bombing point. Sound source positioning technology can also assist in the research and measurement of landing points in the field of aerospace.

[0007] At present, the research in this field in China is developing rapidly and has achieved certain results. The existing technology mainly conducts in-depth research on the localization of planar sound sources from the aspects of identification rate, positioning accuracy, sound pickup distance and positioning range, and most of them have formed products. In the prior art, the positioning devices using the sound source localization method are generally applied on a two-dimensional plane, and the research on positioning in three-dimensional space is not thorough. The research on positioning in three-dimensional space only introduces the calculation method of pitch angle and azimuth angle, and does not specifically explain the angle accuracy. There is a problem of low accuracy, and the effective sound pickup distance is short. In addition, there is little research on the distance of the sound source, and three-dimensional coordinate positioning has not been achieved. Summary of the invention

[0008] Since the sound source localization method in the prior art is mainly applied on a two-dimensional plane, the purpose of the present invention is to design a method and device for three-dimensional sound source localization, so as to solve the current situation of low sound source localization accuracy based on realizing the sound source localization method in three-dimensional space and calculating the three-dimensional coordinates of the sound source.

[0009] The present invention provides a method for three-dimensional positioning of a sound source. A single microphone array positioning device includes placing a microphone on each of the positive and negative semi-axes of the x-axis, y-axis and z-axis of a three-dimensional rectangular coordinate system, and the distance between each microphone and the origin of the coordinate system is equal. The method for three-dimensional positioning of a sound source includes the following steps: When a sound source is incident on a plurality of microphone array positioning devices and is received by the plurality of microphone array positioning devices, a pitch angle from the sound source to each microphone array positioning device and a sound pickup area where the sound source is located are obtained by calculation; Calculate the angles of two microphones adjacent to the sound pickup area, and determine the azimuth angle according to the pitch angle; Determine multiple sets of two-variable linear equations according to the azimuth angles of the multiple microphone array positioning devices and the distances between the devices, wherein the intersection of the multiple sets of linear equations is the two-dimensional coordinate position of the projection point of the sound source on the two-dimensional plane, and then perform mean processing on the multiple two-dimensional coordinates to determine the two-dimensional coordinate position of the target projection point of the sound source; The height between the sound source and the target projection point is calculated according to the pitch angle and the distance between the two-dimensional coordinate position of the target projection point and the microphone array positioning device, thereby determining the three-dimensional coordinate position of the sound source.

[0010] Furthermore, obtaining the pitch angle from the sound source to each microphone array positioning device by calculation includes calculating the time delay difference between the relative microphones on the coordinate axis of the microphone array positioning device and the distance from the sound source to each microphone array positioning device.

[0011] As an embodiment of the present invention, a method for calculating the signal delay difference of microphone sampling data in a group of two is specifically as follows: (1) Perform frame division, windowing and interpolation processing on audio data; (2) Performing fast Fourier transform on the processed audio data; (3) Calculate the cross-power spectrum of the two transformed audio data; (4) Weighting the cross power spectrum and performing inverse fast Fourier transform; (5) The location of the maximum value is found through peak detection. The ratio of the maximum value location to the sampling rate is the time delay difference of the signals received by the two microphones.

[0012] Furthermore, we can use the formula Get the pitch angle according to the formula Get the azimuth angle; where c is the speed of sound, is the signal delay difference of the two microphones on the Z axis, and r is the distance between the two microphones.

[0013] Furthermore, the entire 360° omnidirectional sound pickup array is divided into four sound pickup areas, with angle ranges of (45°, 135°), (135°, 225°), (225°, 315°) and (315°, 45°), and the target sound pickup area where the sound source position is located is determined according to the time delay difference between adjacent microphones.

[0014] Furthermore, the angles of two microphones adjacent to the sound pickup area are calculated so that the angle error is no greater than 1.2°.

[0015] Furthermore, the method for calculating the delay difference also includes increasing the audio sampling rate by interpolation.

[0016] The present invention also provides a device for three-dimensional positioning of a sound source, comprising a collection unit, and a plurality of microphone array positioning devices arranged in a three-dimensional space, wherein the microphones in the plurality of microphone array positioning devices are arranged on the positive and negative semi-axes of the x-axis, y-axis, and z-axis of a three-dimensional rectangular coordinate system, and the distance between each microphone and the origin of the three-dimensional rectangular coordinate system is equal; A first calculation unit, when a sound source is incident on a plurality of microphone array positioning devices and is received by the plurality of microphone array positioning devices, obtains by calculation a pitch angle from the sound source to each microphone array positioning device and a sound pickup area where the sound source is located; calculates angles of two microphones adjacent to the sound pickup area, and determines an azimuth angle according to the pitch angle; A second calculation unit determines a plurality of sets of two-variable linear equations according to the azimuth angles of the plurality of microphone array positioning devices and the distances between the devices, wherein the intersection of the plurality of sets of linear equations is the two-dimensional coordinate position of the projection point of the sound source on the two-dimensional plane, and then the two-dimensional coordinate position of the target projection point of the sound source is determined by averaging the plurality of two-dimensional coordinates; and the height between the sound source and the target projection point is calculated according to the pitch angle and the distance between the two-dimensional coordinate position of the target projection point and the microphone array positioning device, thereby determining the three-dimensional coordinate position of the sound source.

[0017] Compared with the prior art, the above technical solution conceived by the present invention realizes the calculation of the three-dimensional coordinates of the sound source by the joint use of multiple microphone array devices. Due to the use of appropriate microphone spatial array structure and sound source localization algorithm, each microphone array device can calculate the pitch angle and azimuth angle separately and in real time; by judging the sound pickup area and selecting appropriate microphone audio data, the sound source azimuth angle with an error of only 1.2° can be calculated, which greatly improves the localization accuracy of the three-dimensional sound source. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 is a schematic diagram of a three-dimensional space microphone array model in a device for three-dimensional sound source positioning provided by an embodiment of the present invention; Figure 2 is a schematic diagram of a far-field model in a device for three-dimensional positioning of a sound source provided by an embodiment of the present invention; Figure 3 It is a schematic diagram of a calculation model of multiple microphone arrays in a device for three-dimensional positioning of a sound source provided by an embodiment of the present invention; Figure 4 is a schematic diagram of a plane projection provided by an embodiment of the present invention; Figure 5 Schematic diagram of a six-element microphone spatial array in a device for three-dimensional positioning of a sound source provided by an embodiment of the present invention; Figure 6 is a schematic diagram of the time delay difference on a plane provided by an embodiment of the present invention; Figure 7 is a flow chart of a method for implementing a delay estimation method in a method for three-dimensional positioning of a sound source provided by an embodiment of the present invention; Figure 8 It is a signal flow diagram in the method for three-dimensional positioning of a sound source provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0020] The method for three-dimensional positioning of a sound source provided in an embodiment of the present invention adopts multiple microphone array positioning devices (at least two) and cooperates with host computer software to complete functions such as sound source audio data collection, angle calculation, data transmission and three-dimensional coordinate display; the three-dimensional coordinates of the sound source can be positioned in space, and it has the characteristics of long sound pickup distance and high positioning accuracy.

[0021] In the embodiment of the present invention, a single microphone array positioning device is an audio acquisition system composed of two or more microphones arranged in a certain structure. As long as multiple microphones are used, they can be collectively referred to as microphone array positioning devices. However, a microphone array positioning device can have different numbers and configurations of microphones, such as using four microphones arranged in a straight line, or arranged in a square, or using six microphones to form a regular hexagon. These are all different microphone array positioning devices.

[0022] Microphone array positioning equipment is an array positioning equipment with a specific spatial structure formed by placing a certain number of acoustic sensors according to specific rules. It is mainly responsible for collecting sound source signals and serving as the basis for subsequent position information calculation. When designing the microphone array structure, the main considerations are the number of array elements, array element spacing, array aperture, and spatial distribution of microphone sensors.

[0023] If the number of array elements is too small, it is difficult to obtain effective sound source location information. If the number of array elements is too large, the information obtained will be richer in theory, and the positioning effect will be better. However, it will also increase the redundancy of the information obtained and the amount of calculation, affecting the real-time positioning effect of the sound source. The array aperture is used to represent the spatial volume of the array. The larger the aperture, the more complex the wiring and the greater the difficulty of implementation. The array element spacing refers to the distance between two adjacent elements in the microphone array. Within a certain range, the smaller the array element spacing, the higher the array cutoff frequency. In order to obtain better resolution during the experiment, it is necessary to comprehensively consider the array aperture, array element spacing and the sound source target being measured.

[0024] According to the requirements, the embodiment of the present invention designs the microphone array positioning device into a three-dimensional configuration to achieve a three-dimensional positioning effect. The distance from each microphone to the center of the sphere on the array model is equal, and in theory, the entire area can be effectively detected. Figure 1 As shown, a single microphone array positioning device places a microphone on each of the positive and negative semi-axes of the x, y, and z axes in a spatial rectangular coordinate system, and the distance between each microphone and the origin of the coordinate system is equal. Figure 1 The structure of a microphone array positioning device used in an embodiment of the present invention is shown in the figure, where black dots represent microphones; six microphones are used to form a microphone array; the x, y, and z axes are a spatial rectangular coordinate system, which is convenient for displaying the specific placement position of each microphone in the array.

[0025] The three-dimensional microphone array model used in the embodiment of the present invention can effectively calculate the pitch angle of the sound source. and azimuth In the far-field sound source path model, the paths from the sound source to each microphone in a single microphone array positioning device can be considered as parallel lines. Figure 22 shows a far-field sound source path model, where R1 and R2 represent the incident paths from the far-field sound source to the microphone M1 and the microphone M2, respectively.

[0026] The sound is incident on the microphone array at an angle of λ and is received by it. The distance between the microphones is , the sound source signal propagates to The microphone will be transmitted to The microphone was gone The distance. When the speed of sound is known to be In this case, the signal delay difference received by the microphone can be expressed as formula 2-1.

[0027] … (2-1) Therefore, we only need to estimate , we can estimate the incident angle λ, see formula 2-2.

[0028] … (2-2) Delay Difference It is calculated using the generalized cross-correlation algorithm. As can be seen from the above formula, a microphone array can be used to calculate the azimuth angle of the sound source, but the distance information of the sound source cannot be obtained. Therefore, the present invention designs a method for calculating the specific coordinate position of the sound source using a multi-microphone array positioning device. Figure 3 shown.

[0029] like Figure 3 As shown, each device is a positioning device with a three-dimensional microphone array. The distance between two adjacent devices is known and can be variable. Device 1 is used as the reference coordinate system. The path from the sound source O (X, Y, Z) to device 1 is Oa1, and its projection on the xy plane is Sa1. is the pitch angle from device 1 to sound source O. Similarly, the path from sound source O to device 2 is Oa2, and its projection on the xy plane is Sa2. Figure 4 shown.

[0030] exist Figure 4 In the equipment Establish a coordinate system. You only need to know the linear expressions of Sa1 and Sa2 in the coordinate system. Their intersection S is the projection point of the sound source on the two-dimensional plane. Let the coordinates of S be (X, Y), a1 and a2 are six-element three-dimensional microphone arrays, with coordinates (0, 0) and (d, n) respectively. is the azimuth angle of a1, then the expression of Sa1 is formula 2-3.

[0031] … (2-3) is the azimuth angle of a2, then the expression of Sa2 is formula 2-4.

[0032] … (2-4) Combining the two equations, we get equation 2-5.

[0033] … (2-5) The pitch angle calculated based on the coordinates of the projection point S (X, Y) and device 1 , we can get formula 2-6.

[0034] … (2-6) At this point, the three-dimensional coordinates of the sound source relative to device 1 in space are calculated.

[0035] For the calculation of the pitch angle and azimuth angle from the sound source to a single microphone array positioning device, a sound source localization algorithm based on time delay difference of arrival (TDOA) is used. Taking a six-element microphone spatial array as an example, the relationship between the array structure and the sound source angle is as follows: Figure 5 shown.

[0036] Six-element three-dimensional microphone spatial array Figure 5 As shown, the six microphones are fixed in three rectangular coordinate systems. , , , , , It is known that in the far-field sound source model, the propagation paths from the sound source to each microphone are parallel lines, and the calculation method of formula (2-2) can be used. and The time delay difference between the two microphones , the pitch angle of the sound source relative to the current microphone array can be obtained through formula (2-2) .

[0037] Specifically, obtaining the pitch angle from the sound source to each microphone array positioning device by calculation includes calculating the time delay difference between the relative microphones on the coordinate axis of the microphone array positioning device and the distance from the sound source to each microphone array positioning device.

[0038] When calculating the azimuth, use the The delay difference calculated by four microphones can also be calculated by formula (2-2) after calculating the pitch angle and then the azimuth angle. However, it should be noted that the delay difference calculated by two microphones on the plane is is the time delay difference between the two microphones in three-dimensional space, which needs to be converted to a plane, such as Figure 6 The solid line is the actual propagation path from the sound source to the microphones M6 and M3, and their path difference is , let the speed of sound be C, and the time delay difference be The pitch angle is known to be , The projection on the plane is , then the time delay difference on the plane is Substituting into formula (2-2), the azimuth angle calculation is shown in formula 2-7.

[0039] … (2-7) The result of audio delay difference is an estimate of the number of audio sampling points. Therefore, the accuracy of angle calculation is mainly related to the size of the microphone array and the audio sampling rate. The larger the radius of the microphone array and the higher the audio sampling rate, the higher the accuracy of the calculated angle.

[0040] In addition, the accuracy of angle calculation is also related to trigonometric functions. It is related to the nature of . When the slope of the curve is the largest, the angular resolution is the largest when the sound source is directly in front of the array, and the angular resolution is the smallest when the sound source is to the side of the array. , The minimum resolution angle of the microphone array is about 1° near 90°, and the maximum resolution angle is about 7.4° near 0°. In the range of (45°, 135°), the average angle resolution is 1.2°, that is, the angles of the two microphones adjacent to the pickup area are calculated so that the angle error is no higher than 1.2°. Therefore, for the angle calculation, the sound source angle needs to be placed within the range of (45°, 135°) as much as possible.

[0041] The planar array used in the present invention is a four-element array, which can divide the entire 360° omnidirectional pickup array into four pickup areas, whose angle ranges are (45°, 135°), (135°, 225°), (225°, 315°) and (315°, 45°), respectively. The target pickup area where the sound source is located is determined according to the time delay difference between adjacent microphones.

[0042] When determining the pickup area, calculate and The time delay difference between the two microphones ,according to The sign of the value can be used to preliminarily determine the angle range of the sound source on the plane. Then calculate and The time delay difference between the two microphones , the sound source can be determined to one of the four pickup areas mentioned above.

[0043] For a certain pickup area, use the appropriate microphone to calculate the delay difference , the accuracy of the azimuth angle can be controlled within 1.2°. If you want to further improve the accuracy, you can expand the size of the microphone array or increase the audio sampling rate. The calculation method of the delay difference also includes increasing the audio sampling rate by interpolation. Without changing the hardware structure and performance, the interpolation algorithm can be used to increase the audio sampling rate to 96kHz. There is no requirement for the interpolation algorithm used, and any of the following methods can be selected: Newton interpolation, Hermite interpolation, Lagrange interpolation, spline interpolation, linear interpolation, etc.

[0044] For the calculation of the delay difference, the generalized cross-correlation algorithm (gcc-phat) method can be used to estimate the delay of receiving sound by different microphones in groups of two. The specific implementation steps are as follows: the six microphone data after AD conversion are subjected to frame windowing and interpolation processing, and then Fourier transform (FFT) is performed on them respectively. The results are first calculated for the cross-power spectrum, and then weighted processing is performed. The signal data is subjected to inverse Fourier transform (IFFT), and the maximum value point is found through peak detection. Finally, the delay difference of the received signal between the microphones is estimated through the position of this point in this data. The algorithm flow is as follows Figure 7 shown.

[0045] The sign of the delay difference value can be positive or negative, which means that one of the two microphones used in the delay estimation algorithm receives the sound signal earlier or later than the other microphone. There is no restriction here and you can set it yourself.

[0046] In the method for three-dimensional positioning of a sound source provided by an embodiment of the present invention, a microphone is placed on each of the positive and negative semi-axes of the x-axis, y-axis and z-axis of a three-dimensional rectangular coordinate system, and the distance between each microphone and the origin of the coordinate system is equal; the method for three-dimensional positioning of a sound source comprises the following steps: When a sound source is incident on a plurality of microphone array positioning devices and is received by them, the pitch angle from the sound source to each microphone array positioning device and the sound pickup area where the sound source is located are obtained by calculation; Calculate the angles of two microphones adjacent to the sound pickup area and determine the azimuth angle based on the pitch angle; Determine multiple sets of two-variable linear equations based on the azimuth angles of multiple microphone array positioning devices and the distances between the devices. The intersection of the multiple sets of linear equations is the two-dimensional coordinate position of the projection point of the sound source on the two-dimensional plane. Then, the two-dimensional coordinate position of the target projection point of the sound source is determined by averaging the multiple two-dimensional coordinates. The height between the sound source and the target projection point is calculated based on the pitch angle and the two-dimensional coordinate position of the target projection point and the distance between the microphone array positioning device, thereby determining the three-dimensional coordinate position of the sound source.

[0047] The present invention can obtain the three-dimensional sound source coordinate position and has the advantage of high positioning accuracy.

[0048] The present invention provides a device for three-dimensional positioning of a sound source, comprising: A collection unit, a plurality of microphone array positioning devices arranged in a three-dimensional space, wherein the microphones in the plurality of microphone array positioning devices are arranged on the positive and negative semi-axes of the x-axis, y-axis, and z-axis of the three-dimensional rectangular coordinate system, and the distance between each microphone and the origin of the three-dimensional rectangular coordinate system is equal; A first calculation unit, when a sound source is incident on a plurality of microphone array positioning devices and is received by the plurality of microphone array positioning devices, obtains by calculation a pitch angle from the sound source to each microphone array positioning device and a sound pickup area where the sound source is located; calculates angles of two microphones adjacent to the sound pickup area, and determines an azimuth angle according to the pitch angle; The second calculation unit determines multiple sets of two-variable linear equations according to the azimuth angles of the multiple microphone array positioning devices and the distances between the devices, the intersection of the multiple sets of linear equations is the two-dimensional coordinate position of the projection point of the sound source on the two-dimensional plane, and then the two-dimensional coordinate position of the target projection point of the sound source is determined by averaging the multiple two-dimensional coordinates; the height between the sound source and the target projection point is calculated according to the pitch angle and the distance between the two-dimensional coordinate position of the target projection point and the microphone array positioning device, thereby determining the three-dimensional coordinate position of the sound source.

[0049] The present invention is implemented in the form of embedded hardware devices as the main device and the upper computer software as the auxiliary device. In terms of hardware, multiple sound source localization devices based on embedded platforms are designed and completed, one as the main device to establish a reference coordinate system, and the others as slave devices to provide device position information and angle calculation data. For any sound source localization device, it is necessary to have an audio acquisition unit, a positioning calculation unit and a data transmission unit.

[0050] The audio acquisition unit is used to obtain the six-channel audio analog signals collected by the microphone array and obtain digital signals through A / D conversion. The positioning calculation unit calculates the time delay difference of the sound source reaching the corresponding microphone on the coordinate axis based on the audio digital signal, and then calculates the pitch angle and azimuth based on the time delay difference. The data transmission unit transmits the obtained pitch angle and azimuth values ​​to the upper computer software. The transmission methods include but are not limited to: wired or wireless network, serial port, etc.

[0051] Following the principles of miniaturization and modular design, the sound source localization equipment is assembled from structural parts and circuit boards, and the various components are easy to install. The circuit design adopts the "MCU+Codec" approach, combined with a small number of peripheral circuits to achieve the technical requirements of audio signal acquisition, processing, and angle calculation. A three-dimensional microphone array is used to synchronously collect sound source signals. After appropriate adjustments to the signal conditioning circuit, synchronous analog-to-digital processing is performed through the audio chip, and the converted digital signals are transmitted in parallel to the MCU. The sound source localization algorithm is used to achieve effective estimation of the pitch angle and azimuth angle of the sound source, and the results are transmitted to the host computer software by wire or wireless means. The signal flow is as follows: Figure 8 shown.

[0052] The host computer software needs to have a data receiving unit, a coordinate calculation unit and a display unit. The data receiving unit establishes a data transmission channel with all sound source positioning devices and receives the pitch angle and azimuth angle values ​​from each sound source positioning device in real time. The coordinate calculation unit comprehensively calculates the three-dimensional coordinate value of the sound source based on the angle information uploaded by each device. In order to make the result more reliable, a coordinate calculation is performed between each two devices based on the reference coordinate system of the main device to obtain multiple sets of three-dimensional coordinate values. The three-dimensional sound source coordinates relative to the main device are finally obtained by the majority discrimination method. The coordinate information is displayed on the host computer software through the display unit.

[0053] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for three-dimensional positioning of a sound source, characterized in that: A single microphone array positioning device includes placing a microphone on each of the positive and negative semi-axes of the x-axis, y-axis and z-axis of a three-dimensional rectangular coordinate system, and the distance between each microphone and the origin of the coordinate system is equal; a method for three-dimensional positioning of a sound source includes the following steps: When a sound source is incident on a plurality of microphone array positioning devices and is received by the plurality of microphone array positioning devices, a pitch angle from the sound source to each microphone array positioning device and a sound pickup area where the sound source is located are obtained by calculation; Calculate the angles of two microphones adjacent to the sound pickup area, and determine the azimuth angle according to the pitch angle; Determine multiple sets of two-variable linear equations according to the azimuth angles of the multiple microphone array positioning devices and the distances between the devices, wherein the intersection of the multiple sets of linear equations is the two-dimensional coordinate position of the projection point of the sound source on the two-dimensional plane, and then perform mean processing on the multiple two-dimensional coordinates to determine the two-dimensional coordinate position of the target projection point of the sound source; The height between the sound source and the target projection point is calculated according to the pitch angle and the distance between the two-dimensional coordinate position of the target projection point and the microphone array positioning device, thereby determining the three-dimensional coordinate position of the sound source.

2. The method according to claim 1, characterized in that The obtaining of the pitch angle from the sound source to each microphone array positioning device by calculation includes calculating the time delay difference between the relative microphones on the coordinate axis of the microphone array positioning device and the distance from the sound source to each microphone array positioning device.

3. The method according to claim 2, characterized in that The calculation method of the delay difference is: (1) Perform frame division, windowing and interpolation processing on audio data; (2) Performing fast Fourier transform on the processed audio data; (3) Calculate the cross-power spectrum of the two transformed audio data; (4) Weighting the cross power spectrum and performing inverse fast Fourier transform; (5) The location of the maximum point is found through peak detection. The ratio of the location of the maximum point to the sampling rate is the time delay difference of the signals received by the two microphones on the positive and negative half axes.

4. The method according to claim 1, characterized in that According to the formula Get the pitch angle according to the formula Get the azimuth; Where c is the speed of sound, is the signal delay difference of the two microphones on the Z axis, and r is the distance between the two microphones.

5. The method according to any one of claims 1 to 4, characterized in that: The entire 360° omnidirectional sound pickup array is divided into four sound pickup areas, with angle ranges of (45°, 135°), (135°, 225°), (225°, 315°) and (315°, 45°). The target sound pickup area where the sound source is located is determined according to the time delay difference between adjacent microphones.

6. The method according to claim 5, characterized in that The angles of the two microphones adjacent to the sound pickup area are calculated so that the angle error is no greater than 1.2°.

7. The method according to claim 3, characterized in that The method for calculating the time delay difference also includes increasing the audio sampling rate by interpolation.

8. A device for three-dimensional positioning of a sound source, characterized in that: include: A collection unit, a plurality of microphone array positioning devices arranged in a three-dimensional space, wherein the microphones in the plurality of microphone array positioning devices are arranged on the positive and negative semi-axes of the x-axis, y-axis, and z-axis of the three-dimensional rectangular coordinate system, and the distance between each microphone and the origin of the three-dimensional rectangular coordinate system is equal; A first calculation unit, when a sound source is incident on a plurality of microphone array positioning devices and is received by the plurality of microphone array positioning devices, obtains by calculation a pitch angle from the sound source to each microphone array positioning device and a sound pickup area where the sound source is located; calculates angles of two microphones adjacent to the sound pickup area, and determines an azimuth angle according to the pitch angle; A second calculation unit determines a plurality of sets of two-variable linear equations according to the azimuth angles of the plurality of microphone array positioning devices and the distances between the devices, wherein the intersection of the plurality of sets of linear equations is the two-dimensional coordinate position of the projection point of the sound source on the two-dimensional plane, and then the two-dimensional coordinate position of the target projection point of the sound source is determined by averaging the plurality of two-dimensional coordinates; and the height between the sound source and the target projection point is calculated according to the pitch angle and the distance between the two-dimensional coordinate position of the target projection point and the microphone array positioning device, thereby determining the three-dimensional coordinate position of the sound source.

Citation Information

Cited By

  • Sound source three-dimensional positioning system and method based on binocular acoustic camera

    CN121325104A