Three-dimensional motion sound source tracking and positioning method based on sound array and motion trail generation method

Through the negative feedback control of two sound array devices and the extended Kalman filter method, combined with the maximum correlation entropy criterion, the limitations of two-dimensional sound source positioning and the decline in the effect of traditional Kalman filter in nonlinear noise environments are solved, achieving Accurate tracking and trajectory generation of three-dimensional moving sound sources.

CN118625327APending Publication Date: 2024-09-10HUAZHONG UNIV OF SCI & TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410665262.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing sound source localization methods are limited to two-dimensional planes and cannot achieve tracking and trajectory depiction of three-dimensional moving sound sources, and the effect of traditional Kalman filtering decreases in nonlinear and non-Gaussian noise environments.

Method used

Two sound array devices at a certain angle are used to localize three-dimensional moving sound sources. Through negative feedback control and the extended Kalman filter method, combined with the maximum correlation entropy criterion, the tracking and trajectory generation of three-dimensional moving sound sources are realized.

Benefits of technology

It achieves precise positioning and trajectory depiction of three-dimensional moving sound sources, improves the stability and accuracy of positioning, and adapts to uncertainty factors in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625327A
    Figure CN118625327A
Patent Text Reader

Abstract

The invention belongs to the field of array signal processing and automatic control, and particularly relates to a three-dimensional motion sound source tracking and positioning method and a motion trail generation method based on a sound array, and the method comprises the steps: setting two sound array devices which form a certain included angle; establishing a two-dimensional reference coordinate system on any plane opposite to each piece of acoustic array equipment, and taking a central point coordinate of the equipment in a detection area on the plane as a reference coordinate; mapping the three-dimensional space position with the maximum sound source intensity found by each device in real time to a two-dimensional reference coordinate system; based on a difference value between the two-dimensional coordinate and the reference coordinate, the equipment is subjected to attitude adjustment through negative feedback control by taking an equipment detection plane directly facing a sound source as a target; after the equipment directly faces the sound source, the position of the sound source is determined according to the point on the shortest distance line segment between the two connecting lines based on the space three-dimensional coordinate system, three-dimensional space motion sound source positioning is achieved, motion trail generation is achieved based on an improved Kalman filtering algorithm, and reliability is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of array signal processing and automatic control, and more specifically, relates to a three-dimensional moving sound source tracking and positioning method and a motion trajectory generating method based on an acoustic array. Background Art

[0002] Tracking and positioning of sound sources is a key technology used to determine the location of sound sources. It can further track and determine the trajectory of moving sound sources. It has wide applications and prospects in many fields. Accurately locating the sound source can improve the quality of voice communication and the accuracy of voice recognition, and at the same time can focus on the target position more accurately. In addition, the sound source positioning technology is also widely used in sound enhancement and noise reduction processing, audio positioning navigation, voiceprint recognition and other fields. Tracking and positioning of moving sound sources can determine the location of the sound source in real time, and assist in monitoring and analysis. It can be applied to ship and vehicle detection, machine equipment abnormality monitoring, biological analysis and other fields. Therefore, the tracking and positioning of sound sources has important academic and application value.

[0003] At present, the localization of sound sources is often limited to the use of two-dimensional static sound source localization. For example, the Chinese invention patent specification CN111650559A (application publication number) proposes a real-time two-dimensional sound source localization algorithm, combining the VAD algorithm and the improved SRP-PHAT algorithm strategy, and adopting the azimuth angle and elevation angle step-by-step localization method to solve the problems of accuracy, stability and computational complexity of two-dimensional sound source localization. The Chinese invention patent specification CN117686976A (application publication number) provides a position encoding and decoding method for two-dimensional sound source localization without quantization error, which can eliminate quantization error and greatly improve the accuracy of sound source localization, and has a good localization effect even under harsh conditions such as noise and reverberation. However, two-dimensional localization has certain limitations: two-dimensional localization can only provide the position information of the sound source on a certain plane, but cannot provide accurate information of the sound source in the distance dimension, which limits the accuracy of localization; at the same time, it is impossible to achieve three-dimensional dynamic tracking and trajectory description of moving sound sources.

[0004] In addition, the accuracy of sound source tracking and positioning is affected by uncertain factors such as environmental noise, which may reduce the accuracy of positioning. In order to improve the accuracy, Kalman filtering is often used as an effective method for target tracking and state estimation. For example, Chinese invention patent specification CN110045333A (application publication number) proposes a sound source positioning method based on Kalman filtering, using Kalman filtering to estimate the virtual trajectory. Chinese invention patent specification CN115453458A (application publication number) proposes a high-precision sound source positioning method based on Kalman filtering, which more accurately realizes the high-precision continuous positioning and tracking problem of medium and high frequency targets under non-constant sound speed conditions. However, Kalman filtering assumes the conditions of linear systems and Gaussian noise, while the sound source positioning problem in the real world often has the characteristics of nonlinear and non-Gaussian noise. Therefore, the effect of the traditional Kalman filtering method will be significantly reduced. In order to overcome these limitations, it is necessary to improve Kalman filtering to improve the accuracy. Summary of the invention

[0005] In view of the defects of the prior art and the need for improvement, the present invention provides a three-dimensional moving sound source tracking and positioning method and a motion trajectory generation method based on an acoustic array, the purpose of which is to solve the problem that the existing sound positioning method can only be limited to static sound source positioning in a two-dimensional plane.

[0006] To achieve the above object, according to one aspect of the present invention, a three-dimensional moving sound source tracking and positioning method based on an acoustic array is provided, comprising:

[0007] Two acoustic array devices are arranged at a certain angle, wherein the spatial position of each acoustic array device satisfies that: the three-dimensional moving sound source is located in the detection area of ​​the acoustic array device;

[0008] A two-dimensional reference coordinate system is established on any plane that each acoustic array device faces, and the coordinates of the center point of the detection area of ​​the acoustic array device on the plane are used as reference coordinates;

[0009] The three-dimensional spatial position of the maximum sound source intensity found by each sound array device in real time is mapped to the two-dimensional reference coordinate system to obtain the corresponding two-dimensional coordinate; based on the difference between the two-dimensional coordinate and the reference coordinate, the detection plane of the sound array device is aimed at the three-dimensional moving sound source, and the sound array device is rotated around the z-axis and / or the pitch angle is adjusted through negative feedback control;

[0010] After each sound array device is facing the three-dimensional moving sound source, the sound source position is determined based on the three-dimensional coordinate system of the space according to the point on the shortest distance line segment between two connecting lines, so as to realize the three-dimensional moving sound source tracking and positioning, wherein the connecting line represents the connecting line between the corresponding sound array device and the three-dimensional moving sound source.

[0011] Furthermore, a detection plane of each acoustic array arrangement is equipped with a plurality of microphone heads arranged in a multi-arm spiral pattern.

[0012] Furthermore, the midpoint of the shortest distance line segment between the two connecting lines is taken as the sound source position.

[0013] Further, based on the orientation of the three-dimensional motion sound source, a spatial three-dimensional coordinate system is established so that the three-dimensional motion sound source is located in a quadrant of the three-dimensional coordinate system;

[0014] The two acoustic array devices are arranged at a certain angle to each other, specifically: one of the acoustic array devices is arranged on the x-axis of the three-dimensional coordinate system, and the other acoustic array device is arranged on the y-axis of the three-dimensional coordinate system;

[0015] Then determine the coordinates A(a,0,0) of one of the acoustic array devices in the three-dimensional spatial coordinate system, and calculate the angles α1, β1, γ1 between the normal vector of the detection plane of the acoustic array device and the x, y, z axes of the three-dimensional spatial coordinate system; determine the coordinates B(0,b,0) of the other acoustic array device in the three-dimensional spatial coordinate system, and calculate the angles α2, β2, γ2 between the normal vector of the detection plane of the acoustic array device and the x, y, z axes of the three-dimensional spatial coordinate system;

[0016] The equation of the connection between the two acoustic array devices and the three-dimensional moving sound source is:

[0017]

[0018]

[0019] The present invention also provides a three-dimensional moving sound source tracking and positioning device based on an acoustic array, comprising:

[0020] Two acoustic array devices, each of which has a spatial position that satisfies: a three-dimensional moving sound source is located in a detection area of ​​the acoustic array device;

[0021] A control device is used to establish a two-dimensional reference coordinate system on any plane facing each sound array device, and use the coordinates of the center point of the detection area of ​​the sound array device on the plane as the reference coordinates; map the three-dimensional spatial position of the sound source intensity with the maximum detected by each sound array device in real time to the two-dimensional reference coordinate system to obtain the corresponding two-dimensional coordinates; based on the difference between the two-dimensional coordinates and the reference coordinates, with the detection plane of the sound array device facing the three-dimensional moving sound source as the goal, through negative feedback control, make the sound array device rotate around the z-axis and / or adjust the pitch angle; after each sound array device faces the three-dimensional moving sound source, determine the sound source position based on the spatial three-dimensional coordinate system according to the point on the shortest distance line segment between two connecting lines, wherein the connecting line represents the connecting line between the corresponding sound array device and the three-dimensional moving sound source.

[0022] The present invention also provides a method for generating a motion trajectory of a three-dimensional motion sound source, comprising:

[0023] Based on the sound source position set collected by the three-dimensional moving sound source tracking and positioning method based on the sound array as described above, the motion trajectory of the three-dimensional moving sound source is generated.

[0024] Furthermore, the coordinate data of the sound source position set is filtered by using an extended Kalman filter method, and based on the filtered sound source position set, a motion trajectory of a three-dimensional moving sound source is generated by function fitting regression.

[0025] Furthermore, when the extended Kalman filter method is used for filtering, the measurement noise covariance matrix used is the measurement noise covariance matrix corrected by the maximum correlation entropy criterion, which is expressed as:

[0026]

[0027] In the formula, represents the measurement noise covariance matrix after correction by the maximum correlation entropy criterion; R represents the preset original measurement noise covariance matrix; T represents the transposition operation; Indicates the value of the Gaussian kernel function corresponding to the i-th dimension in the sound source position, H k represents the coefficient of the first-order term after Taylor expansion of the measurement equation h, represents the prior state estimate at time k obtained by the posterior state estimate at time k-1, z k Indicates the location of the sound source measured by the sound array device.

[0028] The present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is executed by a processor, the device where the storage medium is located is controlled to execute the motion trajectory generation method of a three-dimensional motion sound source as described above.

[0029] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects:

[0030] (1) The present invention proposes a method for tracking and locating a three-dimensional moving sound source based on an acoustic array, wherein two acoustic array devices are arranged at a certain angle, wherein the spatial position of each acoustic array device satisfies: the three-dimensional moving sound source is located in the detection area of ​​the acoustic array device; a two-dimensional reference coordinate system is established on any plane facing each acoustic array device, and the coordinates of the center point of the detection area of ​​the acoustic array device on the plane are used as reference coordinates; the three-dimensional spatial position of the sound source with the maximum intensity discovered by each acoustic array device in real time is mapped to the two-dimensional reference coordinate system to obtain the corresponding two-dimensional coordinates; based on the difference between the two-dimensional coordinates and the reference coordinates, with the detection plane of the acoustic array device facing the three-dimensional moving sound source as the goal, the acoustic array device is rotated around the z-axis and / or the pitch angle is adjusted through negative feedback control; after each acoustic array device faces the three-dimensional moving sound source, the sound source position is determined based on the three-dimensional coordinate system according to the point on the shortest distance line segment between two connecting lines to achieve three-dimensional moving sound source tracking and locating. The present invention adopts two acoustic array devices, and based on negative feedback control, adjusts each device to face the sound source, and finally determines the position of the sound source according to the connection distance between the two devices and the sound source, so as to have good tracking stability and high reliability.

[0031] (2) The present invention also proposes a motion trajectory generation method, in which an improved Kalman filter algorithm is introduced to cope with the influence of non-Gaussian noise and nonlinear trajectory, and improve the accuracy of sound source tracking and positioning. The improved algorithm effectively suppresses the influence of nonlinear system and non-Gaussian noise on the sound source positioning coordinates by processing the nonlinear system and introducing the maximum correlation entropy criterion. The algorithm can better adapt to the uncertainty factors in complex environments, thereby improving the accuracy of sound source tracking and positioning. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A flowchart of a method for tracking and locating a three-dimensional moving sound source based on an acoustic array provided in an embodiment of the present invention;

[0033] Figure 2 A flow chart of an extended Kalman filtering method optimized using the maximum correlation entropy criterion provided in an embodiment of the present invention;

[0034] Figure 3 A schematic diagram of realizing three-dimensional positioning of a sound source through an acoustic array provided in an embodiment of the present invention;

[0035] Figure 4 The present invention provides an overall flow chart of a method for tracking, locating and optimizing the trajectory of a three-dimensional moving sound source based on an acoustic array in an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solutions 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. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0037] Embodiment 1

[0038] A three-dimensional moving sound source tracking and positioning method based on acoustic array, such as Figure 1 As shown, including:

[0039] Two acoustic array devices are arranged at a certain angle, wherein the spatial position of each acoustic array device satisfies that: the three-dimensional moving sound source is located in the detection area of ​​the acoustic array device;

[0040] A two-dimensional reference coordinate system is established on any plane that each acoustic array device faces, and the coordinates of the center point of the detection area of ​​the acoustic array device on the plane are used as reference coordinates;

[0041] The three-dimensional spatial position of the maximum sound source intensity found by each sound array device in real time is mapped to the two-dimensional reference coordinate system to obtain the corresponding two-dimensional coordinate; based on the difference between the two-dimensional coordinate and the reference coordinate, the detection plane of the sound array device is aimed at the three-dimensional moving sound source, and the sound array device is rotated around the z-axis and / or the pitch angle is adjusted through negative feedback control;

[0042] After each sound array device is facing the three-dimensional moving sound source, the sound source position is determined based on the three-dimensional coordinate system of the space according to the point on the shortest distance line segment between two connecting lines, so as to realize the three-dimensional moving sound source tracking and positioning, wherein the connecting line represents the connecting line between the corresponding sound array device and the three-dimensional moving sound source.

[0043] The present invention uses two sound array devices at a certain angle, which can be used as a preferred method. Each sound array is equipped with multiple microphone heads arranged in a multi-arm spiral for detection. Each sound array device can freely rotate around the Z axis and adjust the pitch angle as the position of the moving sound source changes, so as to face the direction with the maximum sound source intensity. Among them, in actual implementation, the process of adaptively adjusting the tracking and realizing three-dimensional spatial positioning according to the position of the three-dimensional moving sound source can specifically include the following steps:

[0044] Step 1: Mount the acoustic array on a control device such as a two-dimensional pan-tilt head to rotate the acoustic array. Specifically, the acoustic array is rotated mainly on the pitch axis (pitch angle) and the yaw axis (rotation around the Z axis) to make the acoustic array always point to the point with the maximum sound intensity.

[0045] Step 2, exemplarily adjusting the heights of the two gimbals to be consistent, and selecting an appropriate point on site as the coordinate origin O, the height of the coordinate origin being consistent with the horizontal heights of the two gimbals.

[0046] Step 3, based on the coordinate origin selected in the previous step, establish a three-dimensional coordinate system xOyz in real space, place the first gimbal at the appropriate position of the x-axis so that the target area can be fully displayed by the acoustic array (so that the target area is in the detection area of ​​the acoustic array), and record the coordinates of the first gimbal as A (a, 0, 0); place the second gimbal at the appropriate position of the y-axis so that the target area can be fully displayed by the acoustic array, and record the coordinates of the second gimbal as B (0, b, 0).

[0047] Step 4, establish a two-dimensional reference coordinate system on a plane facing each acoustic array device, and use the center point of the detection area of ​​the acoustic array on the plane as the reference point, denoted as N0(x0, y0).

[0048] Step 5: Each sound array device continuously detects the sound source in the three-dimensional space. When the three-dimensional position with the maximum sound source intensity is found at a certain time k, the point with the maximum sound intensity is mapped to the two-dimensional reference coordinate system to obtain the two-dimensional coordinates, which are recorded as M(x(k), y(k)). The difference between the horizontal and vertical coordinates and the reference point coordinates is calculated, which is recorded as e1(k)=x0-x(k), e2(k)=y0-y(k). For e1(k) and e2(k), determine (pre-empirically) the appropriate K P1 , K I1 , K D1 Parameters and K P2 , K I2 , K D2 After the parameters, substitute into the formula:

[0049]

[0050]

[0051] The controller outputs u1(k) and u2(k) are obtained, and then negative feedback control is performed on u1(k) and u2(k) after passing through the system transfer function H(s).

[0052] Step 6, transmit the output results of u1(k) and u2(k) after negative feedback control to the control device to control the movement of the corresponding device to complete the rotation of the acoustic array device in the pitch axis and yaw axis directions.

[0053] Step 7, perform steps 2 to 4 on the two sound array devices at each moment, so that each sound array can face the direction of the maximum sound source intensity in real time, complete adaptive adjustment, and achieve tracking of the moving sound source.

[0054] Step 8, after the tracking is completed, the angles α1, β1, and γ1 between the normal vector of a certain acoustic array and the x, y, and z axes can be obtained from the control device in real time. The coordinates of the acoustic array are known to be A (a, 0, 0) (the first few steps are all changing the direction); the coordinates of another acoustic array are B (0, b, 0), and the angles between its normal vector and the x, y, and z axes are α2, β2, and γ2. Then the equations of the following two straight lines (the line connecting the two when the device and the target are facing each other) can be obtained:

[0055]

[0056]

[0057] Taking into account the measurement error, in three-dimensional space, two straight lines obtained by one measurement usually do not intersect. Therefore, it is preferred to mark the coordinates of the midpoint of the line segment at the shortest distance between the two straight lines as the position coordinates M of the sound source. k (x k ,y k ,z k ).

[0058] Step 8, recording the position coordinates of the moving sound source in a continuous time to obtain a time series of a set of three-dimensional coordinates of the sound source, and recording the time series for subsequent trajectory description and prediction of the moving sound source.

[0059] Embodiment 2

[0060] A three-dimensional moving sound source tracking and positioning device based on an acoustic array, comprising:

[0061] Two acoustic array devices, each of which has a spatial position that satisfies: a three-dimensional moving sound source is located in a detection area of ​​the acoustic array device;

[0062] A control device is used to establish a two-dimensional reference coordinate system on any plane facing each sound array device, and use the coordinates of the center point of the detection area of ​​the sound array device on the plane as the reference coordinates; map the three-dimensional spatial position of the sound source intensity with the maximum detected by each sound array device in real time to the two-dimensional reference coordinate system to obtain the corresponding two-dimensional coordinates; based on the difference between the two-dimensional coordinates and the reference coordinates, with the detection plane of the sound array device facing the three-dimensional moving sound source as the goal, through negative feedback control, make the sound array device rotate around the z-axis and / or adjust the pitch angle; after each sound array device faces the three-dimensional moving sound source, determine the sound source position based on the spatial three-dimensional coordinate system according to the point on the shortest distance line segment between two connecting lines, wherein the connecting line represents the connecting line between the corresponding sound array device and the three-dimensional moving sound source.

[0063] The relevant technical solution is the same as that in Embodiment 1 and will not be described in detail here.

[0064] Embodiment 3

[0065] A method for generating a motion trajectory of a three-dimensional moving sound source, comprising:

[0066] Based on the sound source position set collected by the three-dimensional moving sound source tracking and positioning method based on the sound array as described in the first embodiment, the motion trajectory of the three-dimensional moving sound source is generated.

[0067] After the first embodiment, a series of time series of sound source motion coordinates (x k ,y k ,z k ), in order to solve the problem of three-dimensional sound source trajectory tracking and depiction based on acoustic array technology, this embodiment proposes an extended Kalman filter method optimized by the maximum correlation entropy criterion to filter the non-Gaussian noise generated in the nonlinear system and the data noise points, thereby obtaining a motion trajectory diagram of the sound source tracking target. Among them, Figure 2 As shown, the process of filtering coordinate data using the extended Kalman filter method optimized by the maximum correlation entropy criterion includes the following steps:

[0068] Step 1: Establish the state space equation for the nonlinear system consisting of the acoustic array, the target and the control device:

[0069]

[0070] Where, f(*) and h(*) are nonlinear equations; x k It represents the spatial position estimation of the three-dimensional motion sound source at time k. As the state variable of the three-dimensional motion sound source, based on the inherent property f of the nonlinear system, the x corresponding to the previous time k-1 is k-1 The sound source position at the current time k is derived; z k Represents the sound source position measured by the sound array device, which is M k ;w k and v k They represent process noise and measurement noise respectively, both of which conform to the normal distribution with an expectation of 0, and their covariance matrices are Q and R respectively. When the process noise and measurement noise that conform to the normal distribution pass through the state space equation, they become non-Gaussian noise.

[0071] Step 2: In order to effectively eliminate the influence of non-Gaussian noise on the measurement, the nonlinear system state equation is linearized. k-1 ,w k )exist A first-order Taylor expansion is obtained:

[0072]

[0073] Among them, A k and W k are all Jacobian matrices, A k It means that f has an effect on x. The Jacobian matrix of the partial derivative is calculated as This is the coefficient of the first-order term of the Taylor expansion. k Indicates that f has an effect on w The Jacobian matrix of the partial derivative is calculated as This is the coefficient of the first-order term of the Taylor expansion.

[0074] Represents the posterior state estimate at time k-1 (i.e., the filtered value at time k-1).

[0075] Step 3, ignoring infinitesimal terms, the above equation can be expressed as

[0076]

[0077] in, It means that the prior state estimate at time k is obtained through time k-1. This equation completes the linearization of the state variables of the sound source. The value of the initial state variable can be determined by the initial state of the system.

[0078] Step 4: Measure the coordinate vector h(x k ,v k )exist A first-order Taylor expansion is obtained

[0079]

[0080] Among them, H k and V k are all Jacobian matrices, H k Indicates that h is The Jacobian matrix of the partial derivative is calculated as This is the coefficient of the first-order term of the Taylor expansion. V k Indicates that h has an effect on v The Jacobian matrix of the partial derivative is calculated as This is the coefficient of the first-order term of the Taylor expansion.

[0081] Step 5, ignoring infinitesimal terms, the above equation can be expressed as

[0082]

[0083] This equation completes the linearization of the measured coordinate vector of the sound source.

[0084] Step 6: Construct a general expression of the extended Kalman filter

[0085]

[0086] in, represents the posterior state estimate, K k represents the extended Kalman filter gain. The purpose of the subsequent steps 7 to 8 is to find the extended Kalman filter gain K before correction k .

[0087] Step 7, calculate the covariance matrix of the prior state estimation error as:

[0088]

[0089] The covariance matrix of the posterior state estimation error is calculated as:

[0090]

[0091] Step 8: Combine the above expressions to find the extended Kalman filter gain K k for:

[0092]

[0093] Step 9: To further improve the robustness of the extended Kalman filter, the correlation entropy function is introduced based on the maximum correlation entropy criterion. k and The correlation is used to optimize the filter so that the filter can more effectively handle the process noise and measurement noise that are converted into non-normal noise due to the nonlinear system. The maximum correlation entropy cost function is defined as:

[0094]

[0095] in, represents the Gaussian kernel function, σ 2 represents the variance in the Gaussian kernel function, e k Represents x k and The correlation degree between them, m represents the dimension of the state variable, which is three here.

[0096] Step 10, solve The measurement noise covariance matrix corrected by the maximum correlation entropy criterion can be obtained as:

[0097]

[0098] in,

[0099] Step 11, the modified measurement noise covariance matrix is ​​brought into the extended Kalman filter gain, and the extended Kalman filter gain based on the maximum correlation entropy criterion is obtained as follows:

[0100]

[0101] Step 12: The sound source position coordinates (x k ,y k ,z k ) The above-mentioned extended Kalman filter based on maximum correlation entropy is performed in sequence, and finally the filtered sound source position coordinates are obtained.

[0102]

[0103] Step 13, the filtered sound source position coordinate time series is connected and depicted as the trajectory of the sound source, and after performing function fitting regression, it can be used for analysis and prediction of the sound source motion trajectory, such as Figure 3 shown.

[0104] The method of this embodiment can solve the problem that the existing Kalman filter is not effective in trajectory optimization of nonlinear systems.

[0105] Embodiment 4

[0106] A computer-readable storage medium includes a stored computer program, wherein when the computer program is executed by a processor, the device where the storage medium is located is controlled to execute a motion trajectory generation method for a three-dimensional motion sound source as described in the first embodiment above.

[0107] The relevant technical solution is the same as that in Embodiment 3 and will not be described in detail here.

[0108] The overall process of the three-dimensional moving sound source tracking and positioning and trajectory optimization method based on acoustic array proposed in the present invention is as follows: Figure 4As shown. In view of the problem that the existing sound positioning method can only be limited to the static sound source positioning of a two-dimensional plane, the present invention uses two sound array devices at a certain angle, and each sound array is equipped with a plurality of microphone heads arranged in a multi-arm spiral for detection; each sound array device can rotate freely and adjust the pitch angle as the position of the moving sound source changes through negative feedback PID control, so as to face the direction with the maximum sound source intensity, and then obtain the three-dimensional coordinates of the sound source through geometric calculations through the sound source information detected by the two sound array devices. A three-dimensional detection system is formed by using two sound array devices at a certain angle, and the three-dimensional spatial coordinate position of the sound source can be obtained through geometric calculations, and the moving sound source can be tracked through negative feedback PID control. In addition, the existing Kalman filter has a poor effect on the trajectory optimization of nonlinear systems. The present invention proposes an extended Kalman filter method optimized by the maximum correlation entropy criterion to filter the non-Gaussian noise generated in the nonlinear system and filter the data noise points, thereby obtaining a motion trajectory diagram of the sound source tracking target. Based on the maximum correlation entropy criterion, the correlation entropy function is introduced, and the filter is optimized according to the correlation of and, so that the filter can more effectively handle the process noise and measurement noise that are converted into non-normal due to passing through the nonlinear system, thereby solving the problem that the existing Kalman filter has poor effect on trajectory optimization of nonlinear systems.

[0109] Therefore, in general, the three-dimensional moving sound source tracking and positioning and trajectory optimization method based on the sound array of the present invention effectively solves the problem that the sound source positioning is limited to a plane and can only perform static sound source positioning, and at the same time solves the problem that the traditional Kalman filter method cannot depict and predict the motion trajectory in an environment with non-Gaussian noise or when the moving sound source has a nonlinear trajectory. And experiments have shown that the accuracy of the sound source motion trajectory depicted by the extended Kalman filter method optimized by the maximum correlation entropy criterion is better than that of the traditional Kalman filter method.

[0110] 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 three-dimensional moving sound source tracking and positioning method based on an acoustic array, characterized in that: include: Two acoustic array devices are arranged at a certain angle, wherein the spatial position of each acoustic array device satisfies that: the three-dimensional moving sound source is located in the detection area of ​​the acoustic array device; A two-dimensional reference coordinate system is established on any plane that each acoustic array device faces, and the coordinates of the center point of the detection area of ​​the acoustic array device on the plane are used as reference coordinates; The three-dimensional spatial position of the maximum sound source intensity found by each sound array device in real time is mapped to the two-dimensional reference coordinate system to obtain the corresponding two-dimensional coordinate; based on the difference between the two-dimensional coordinate and the reference coordinate, the detection plane of the sound array device is aimed at the three-dimensional moving sound source, and the sound array device is rotated around the z-axis and / or the pitch angle is adjusted through negative feedback control; After each sound array device is facing the three-dimensional moving sound source, the sound source position is determined based on the three-dimensional coordinate system of the space according to the point on the shortest distance line segment between two connecting lines, so as to realize the three-dimensional moving sound source tracking and positioning, wherein the connecting line represents the connecting line between the corresponding sound array device and the three-dimensional moving sound source.

2. The three-dimensional moving sound source tracking and positioning method according to claim 1, characterized in that: The detection plane of each acoustic array is equipped with a plurality of microphone heads arranged in a multi-arm spiral.

3. The three-dimensional moving sound source tracking and positioning method according to claim 1, characterized in that: The midpoint of the shortest distance line segment between the two connecting lines is taken as the sound source position.

4. The three-dimensional moving sound source tracking and positioning method according to claim 1, characterized in that: Based on the orientation of the three-dimensional moving sound source, a spatial three-dimensional coordinate system is established so that the three-dimensional moving sound source is located in a quadrant of the three-dimensional coordinate system; The two acoustic array devices are arranged at a certain angle to each other, specifically: one of the acoustic array devices is arranged on the x-axis of the three-dimensional coordinate system, and the other acoustic array device is arranged on the y-axis of the three-dimensional coordinate system; Then determine the coordinates A(a,0,0) of one of the acoustic array devices in the three-dimensional spatial coordinate system, and calculate the angles α1, β1, γ1 between the normal vector of the detection plane of the acoustic array device and the x, y, z axes of the three-dimensional spatial coordinate system; determine the coordinates B(0,b,0) of the other acoustic array device in the three-dimensional spatial coordinate system, and calculate the angles α2, β2, γ2 between the normal vector of the detection plane of the acoustic array device and the x, y, z axes of the three-dimensional spatial coordinate system; The equation of the connection between the two acoustic array devices and the three-dimensional moving sound source is:

5. A three-dimensional moving sound source tracking and positioning device based on an acoustic array, characterized in that: include: Two acoustic array devices, each of which has a spatial position that satisfies: a three-dimensional moving sound source is located in a detection area of ​​the acoustic array device; A control device, used to establish a two-dimensional reference coordinate system on any plane that each acoustic array device faces, and use the coordinates of the center point of the detection area of ​​the acoustic array device on the plane as the reference coordinates; The three-dimensional spatial position of the maximum sound source intensity discovered by each sound array device in real time is mapped to the two-dimensional reference coordinate system to obtain the corresponding two-dimensional coordinate; based on the difference between the two-dimensional coordinate and the reference coordinate, with the detection plane of the sound array device facing the three-dimensional moving sound source as the goal, through negative feedback control, the sound array device is rotated around the z-axis and / or the pitch angle is adjusted; after each sound array device faces the three-dimensional moving sound source, the sound source position is determined based on the three-dimensional coordinate system according to the point on the shortest distance line segment between two connecting lines, wherein the connecting line represents the connecting line between the corresponding sound array device and the three-dimensional moving sound source.

6. A method for generating a motion trajectory of a three-dimensional moving sound source, characterized in that: include: Based on the sound source position set collected by the three-dimensional moving sound source tracking and positioning method based on the sound array as described in any one of claims 1 to 4, a motion trajectory of the three-dimensional moving sound source is generated.

7. The motion trajectory generation method according to claim 6, characterized in that: The coordinate data of the sound source position set is filtered by using an extended Kalman filter method, and based on the filtered sound source position set, a motion trajectory of a three-dimensional moving sound source is generated by function fitting regression.

8. The motion trajectory generation method according to claim 7, characterized in that: When the extended Kalman filter method is used for filtering, the measurement noise covariance matrix used is the measurement noise covariance matrix corrected by the maximum correlation entropy criterion, which is expressed as: In the formula, represents the measurement noise covariance matrix after correction by the maximum correlation entropy criterion; R represents the preset original measurement noise covariance matrix; T represents the transposition operation; Indicates the value of the Gaussian kernel function corresponding to the i-th dimension in the sound source position, H k represents the coefficient of the first-order term after Taylor expansion of the measurement equation h, represents the prior state estimate at time k obtained by the posterior state estimate at time k-1, z k Indicates the location of the sound source measured by the sound array device.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed by a processor, the device where the storage medium is located is controlled to execute a motion trajectory generation method for a three-dimensional motion sound source as described in any one of claims 6 to 8.

Citation Information

Patent Citations

  • Sound source three-dimensional positioning method based on Kalman filtering

    CN110045333A

  • Two-dimensional sound source positioning method for real-time processing

    CN111650559A

  • High-precision sound source localization method based on shallow sea sound field characteristics and Kalman filtering

    CN115453458A

  • Position encoding and decoding method without quantization error for two-dimensional sound source localization

    CN117686976A