Broadband sound source localization method used by service robot
Through asynchronous measurement and Laplacian-enhanced low-rank tensor completion technology, the problem of insufficient frequency response and poor real-time performance in the service robot sound source positioning system is solved, and accurate sound source positioning and stability in complex environments are achieved. sexual enhancement.
Patent Information
- Application Number
- CN202410967143.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-10-15
AI Technical Summary
Existing service robot sound source positioning systems have problems such as insufficient frequency response due to microphone array size limitations, poor flexibility and real-time performance due to synchronous measurement limitations, high computational complexity, and low positioning accuracy in low signal-to-noise ratio environments.
Using asynchronous measurement technology and Laplacian-enhanced low-rank tensor completion method, asynchronous sound samples are obtained by sequentially moving the microphone array, tensorization processing and sound source localization algorithm optimization are performed to improve the accuracy and accuracy of sound source localization. stability.
It achieves accurate recognition of sound signals and precise positioning of sound sources in complex environments, improves the stability and convergence speed of sound source positioning, reduces system costs, adapts to service robots of different sizes and shapes, and enhances sound sources in dynamic environments. Positioning capabilities.
Smart Images

Figure CN118777983A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of sound source target positioning and discloses a broadband sound source positioning method used by a service robot. Background Art
[0002] With the rapid development of service robot technology, the sound source localization function of robots has become increasingly important in a variety of application scenarios. Sound source localization technology enables robots to identify and locate sound sources in the environment, such as human voices or other important sounds, in real time, which is essential for improving the robot's interactive ability and environmental adaptability. The sound source localization technology of service robots originated from the early simple microphone arrays, and with the advancement of technology, it has developed into advanced systems that integrate complex algorithms. The establishment of sound source localization technology for service robots aims to improve the autonomy and responsiveness of robots in complex environments without increasing the burden on operators. Although the technical content is high, it should be simple and intuitive for users, making the operation of the robot more humane and easy to control.
[0003] However, the existing service robot sound source localization system has some defects and shortcomings, which are mainly manifested in the following aspects:
[0004] (1) Due to the limitation of robot volume, the size and microphone spacing of traditional microphone arrays are fixed, resulting in blind spots in capturing low-frequency and high-frequency sounds, which affects the accuracy of sound source localization and the frequency response range;
[0005] (2) Existing technologies usually require microphone arrays to perform synchronous measurements, which limits the flexibility and scalability of the system. In a dynamically changing environment, synchronous measurements may not be able to respond to changes in the sound source in a timely manner, thereby reducing the real-time and reliability of positioning.
[0006] (3) When processing broadband sound signals, existing technologies often require independent sound source localization at each frequency point, which not only increases the complexity of calculation but is also difficult to implement in practical applications, especially in sound environments with complex frequency components.
[0007] (4) In an environment with a low signal-to-noise ratio, existing technologies have difficulty in accurately distinguishing sound signals from background noise, which leads to a significant decrease in the accuracy of sound source localization and affects the performance of robots in noisy environments;
[0008] Based on the above problems, the present invention proposes a broadband sound source localization method used by a service robot, aiming to solve the problems existing in the above-mentioned prior art. Summary of the invention
[0009] 1. Technical issues to be resolved
[0010] In view of the shortcomings of the prior art, the present invention provides a broadband sound source localization method for use by a service robot, which has the advantages of being able to accurately identify sound signals, precisely locate sound sources in complex environments, and improve the stability and convergence speed of the sound source localization algorithm, so that the system can maintain a high positioning accuracy even in a low signal-to-noise ratio or multi-sound source environment. It solves the problems existing in the prior art of blind spots in the capture of low-frequency and high-frequency sounds of traditional microphone matrices, poor real-time and reliability of positioning, high computational complexity, and low sound source localization accuracy.
[0011] (II) Technical solution
[0012] In order to achieve the above-mentioned purpose of being able to accurately identify sound signals and accurately locate sound sources in complex environments, the present invention provides the following technical solutions:
[0013] The present invention provides a first solution: a broadband sound source localization method used by a service robot, comprising:
[0014] Step 1: Initialize the microphone array unit to collect sound signals;
[0015] Step 2: Use a signal processing unit to pre-process the collected sound signal;
[0016] Step 3: After obtaining the preprocessed sound signal, using the asynchronous measurement technology, obtain asynchronous sound samples by sequentially moving the microphone array units;
[0017] Step 4: Perform tensor quantization on the asynchronous samples obtained in step 3, and apply the Laplace enhanced low-rank tensor completion method to identify the complete sound signal;
[0018] Step 5: Execute the sound source localization algorithm in the localization algorithm unit to optimize the sound signal processed in step 4, and estimate the sound source position according to the optimized sound signal;
[0019] Step 6: Output the sound source localization result through the control interface unit and provide it to the user or for further decision-making of the robot.
[0020] As an embodiment of the present invention, the process of initializing the microphone array unit includes:
[0021] Step 1.1: Load the position and configuration information of the microphone array;
[0022] Step 1.2: Integrate the position information of all microphones into a position matrix. The number of rows in the matrix represents the number of microphones, the first column is the microphone x-coordinate, the second column is the y-coordinate, and the third column is the z-coordinate.
[0023] As an embodiment of the present invention, the process of preprocessing the collected sound signal using the signal processing unit includes:
[0024] Step 2.1: Calculate the distance matrix D from the scanning point to the microphone;
[0025] Step 2.2: Calculate the transmission matrix H according to the distance matrix D from the scanning point to the microphone, perform singular value decomposition on the transmission matrix H, and extract the feature matrix Φ;
[0026] Step 2.3: Use the feature matrix Φ to construct the projection matrix ψ and store it.
[0027] As an embodiment of the present invention, the process of calculating the distance matrix D from the scanning point to the microphone includes:
[0028] Step 2.1.1: Construct a distance matrix with a row number equal to the number of scanning points and a column number equal to the number of microphones, which is used to store the distance from each scanning point to each microphone;
[0029] Step 2.1.2: Calculate the distance from each scan point to each microphone using the Euclidean distance formula;
[0030] Step 2.1.3: Traverse all scanning points and microphones, calculate the distance one by one and fill in the distance matrix to obtain the distance matrix D from the scanning point to the microphone.
[0031] As an embodiment of the present invention, the process of calculating the transmission matrix H according to the distance matrix D from the scanning point to the microphone and performing singular value decomposition on the transmission matrix H to extract the characteristic matrix Φ includes:
[0032] Step 2.2.1: Based on the distance matrix D from the scanning point to the microphone, the transfer function
[0033]
[0034] Calculate the distance attenuation and phase change to generate the transmission matrix H from the sound source to the microphone;
[0035] Step 2.2.2: Perform singular value decomposition on the transfer matrix H, decompose the matrix into three matrices U, S and V; calculate the number of eigenvectors k to be retained p , represents the number of features k to be retained p =NumSM 0.5 ×NumMic; use the first k left singular matrix U p Construct the feature matrix Φ by columns;
[0036] Among them, k pCalculated based on the number of microphones and the number of measurements, NumSM is the number of measurements, and NumMic is the number of microphones.
[0037] As an embodiment of the present invention, the projection matrix ψ is used to project the signal into the feature space, specifically:
[0038] ψ=Φ·(Φ T ·Φ) -1 ·Φ T .
[0039] As an embodiment of the present invention, the process of obtaining asynchronous sound samples by sequentially moving the microphone array unit using the asynchronous measurement technology includes:
[0040] Step 3.1: Start collecting sound signals at the initial position and record the sound data and timestamp;
[0041] Step 3.2: Then move the microphone array unit to a new position according to a predetermined path and repeat the acquisition;
[0042] Step 3.3: Construct a zero matrix of size NumMic*NumSM×NumMic*NumSM, and place the cross-spectrum matrix of size NumMic×NumMic obtained from each measurement on the diagonal blocks of the matrix to form a measurement matrix with the cross-spectrum matrix of each measurement on the diagonal blocks and zeros in the remaining positions. In this way, a virtual larger microphone array can be constructed using the collected sound samples.
[0043] As an embodiment of the present invention, the process of performing tensor quantization processing on the asynchronous samples obtained in step 3 and applying the Laplace enhanced low-rank tensor completion method to identify the complete sound signal includes:
[0044] Step 4.1: Set the threshold parameter t = alpha / mu / 10, initialize Yk{1} to a randomly generated three-dimensional array of size m×n×M3 as the initial estimate; initialize Xk{1} to Yk{1}, indicating the estimate at the initial moment; initialize Pi_k{1} to an all-zero matrix as the initial multiplier variable; initialize psiB_T to the transpose of psi_B for subsequent operations; alpha is the regularization parameter, mu is the penalty parameter, M3 is the dimension of the third dimension of the spectral matrix, and psi_B is the Fourier basis;
[0045] Step 4.2: Start looping until the maximum number of iterations is reached
[0046] Define a four-dimensional array Gk to store the estimated value updated in each iteration. At the beginning of each iteration, update Gk through Yk{it} and Pi_k{it};
[0047] Step 4.3: Process Gk by t-SVD method to obtain Y_recover_FFT, and then obtain Y_recover by inverse Fourier transform, and update Xk{it+1}
[0048] Step 4.4: Update Yk{it+1} and Pi_k{it+1} respectively
[0049] Step 4.5: Calculate the error err between the current estimate Xk{it} and D_datamissing. If the error is less than the set threshold, the stopping criterion SC is used, and the iteration ends.
[0050] Step 4.6: Output the completed matrix R_matrix.
[0051] As an embodiment of the present invention, the sound source localization algorithm in the localization algorithm unit is executed to optimize the sound signal processed in step 4, and the process of estimating the sound source position according to the optimized sound signal includes:
[0052] Step 5.1: Perform eigenvalue decomposition on the optimized signal matrix R_matrix, and obtain the eigenvalue and eigenvector through [V, Dia] = eig (R_matrix);
[0053] Where V is the eigenvector matrix of the matrix R_matrix, and each column is an eigenvector; Dia is a diagonal matrix, and the elements are the eigenvalues of R_matrix;
[0054] Step 5.2: Extract the diagonal elements of the diagonal matrix Dia, which are the eigenvalues of R_matrix, and transpose them into a row vector EVA;
[0055] Step 5.3: Sort the eigenvalue vector EVA, I is the sorting index, [EVA, I] = sort(EVA); the elements in EVA are arranged in ascending order;
[0056] Step 5.4: Flip the matrix V from right to left by column, so that the eigenvectors arranged from large to small can be obtained;
[0057] Step 5.5: Extract the eigenvector Vn of the noise subspace from the matrix V
[0058] Vn=V(:,Num_source+1:NumMic);
[0059] Where Num_source is the number of sound sources, and the eigenvectors from Num_source+1 to NumMic are selected, which correspond to smaller eigenvalues; Num_source+1:NumMic refers to the eigenvectors from the Num_source+1th column to the NumMicth column; these eigenvectors are considered to be the eigenvectors of the noise subspace, while the eigenvectors of the first Num_source columns are considered to be the eigenvectors of the signal subspace;
[0060] Step 5.6: Calculate the noise subspace matrix inR_ev
[0061] inR_ev=Vn*Vn';
[0062] This is the product of the noise subspace eigenvector Vn, resulting in a projection matrix for calculating the MUSIC spectrum function;
[0063] Step 5.7: Define the weight function w
[0064] Initialize a zero vector w of size 1×NumMic, and calculate the distance between each point on the scanning plane and the microphone by scanning the x, y, and z coordinates of the point on the scanning plane and the microphone.
[0065]
[0066] in, is a complex exponential; / NumMic is used to normalize the direction vector;
[0067] Step 5.8: Traverse all points (k, n) on the scanning plane and calculate the MUSIC spectrum value of each point;
[0068] beta_MUSIC(n,k)=w*inR_ev*w';
[0069] The MUSIC spectrum value of the current point is calculated and stored in beta_MUSIC(n,k);
[0070] Step 5.9: Repeat the above steps from 1000 Hz to 6000 Hz with a step size of 100 Hz, accumulate the matrix of MUSIC spectrum values at all frequencies, and obtain the final positioning result.
[0071] The present invention provides a second solution: a broadband sound source localization system for a service robot that executes a broadband sound source localization method for a service robot, comprising:
[0072] A microphone array unit, used to capture sound signals in the surrounding environment, includes at least four microphones arranged in a predetermined geometric layout;
[0073] A signal processing unit receives the output of the microphone array unit and executes a preset signal processing process, using an asynchronous measurement method and a Laplace enhanced low-rank tensor completion technique to process the sound signal;
[0074] A positioning algorithm unit, which executes a sound source localization algorithm according to the output of the signal processing unit;
[0075] Control interface unit, used for system configuration, user interaction and output of positioning results.
[0076] (III) Beneficial effects
[0077] Compared with the prior art, the present invention provides a broadband sound source localization method used by a service robot, which has the following beneficial effects:
[0078] 1. This method can more accurately identify sound signals and accurately locate sound sources in complex environments by using asynchronous measurement technology and Laplace-enhanced low-rank tensor completion methods; this method effectively overcomes the problems of insufficient frequency response and spatial resolution caused by the physical limitations of microphone arrays in the prior art;
[0079] 2. This method uses asynchronous measurement technology to allow the microphone array to collect sound at different locations, thereby providing a larger virtual array size and higher spatial resolution; this flexibility enables the system to adapt to service robots of different sizes and shapes, while improving the ability to localize sound sources in dynamic environments;
[0080] 3. Compared with traditional large-scale microphone arrays, this method reduces the need for a large number of physical microphones through asynchronous measurement and tensor completion technology, thereby reducing the cost of the system and simplifying the structure; this method enables even cost-sensitive applications to deploy efficient sound source localization systems;
[0081] 4. The alternative direction multiplier method (ADMM) optimization algorithm used in the optimization iteration in step 4 of this method improves the stability and convergence speed of the sound source localization algorithm, so that the system can maintain a high positioning accuracy even in a low signal-to-noise ratio or multi-sound source environment; it achieves the purpose of accurately identifying sound signals and accurately locating sound sources in complex environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0082] Figure 1 A flow chart of a broadband sound source localization method used by the service robot of the present invention;
[0083] Figure 2 A flowchart of the present invention using the Laplace enhanced low-rank tensor completion method to identify a complete sound signal;
[0084] Figure 3A system flow chart of a broadband sound source localization system used by the service robot of the present invention;
[0085] Figure 4 is a geometric diagram of the microphone array and the sound source position of the NSM in Example 2 of the present invention;
[0086] Figure 5 This is a diagram of direct positioning results of a single 4-channel array broadband beamforming method according to Embodiment 2 of the present invention;
[0087] Figure 6 This is a diagram of the positioning results of NSM in Example 2 of the present invention.
[0088] Among them, Figure 5 In the figure, (a) is the DAS positioning result, and (b) is the MUSIC positioning result;
[0089] exist Figure 6 In the figure, Figure (a) shows the positioning result of LRMC broadband NSM, and Figure (b) shows the positioning result of LRTC NSM based on L-TNN. DETAILED DESCRIPTION
[0090] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0091] Example 1: Please refer to Figure 1-Figure 3 , the present invention provides a technical solution:
[0092] A broadband sound source localization method used by a service robot, such as Figure 1 As shown, this method is used for broadband sound source localization of a service robot, including
[0093] Step 1: Initialize the microphone array unit and collect sound signals, including
[0094] Step 1.1: Load the position and configuration information of the microphone array;
[0095] Step 1.2: Integrate the position information of all microphones into a position matrix. The number of rows in the matrix represents the number of microphones. The first column is the microphone x-coordinate, the second column is the y-coordinate, and the third column is the z-coordinate. The purpose of initialization is to determine the exact position of each microphone in space and provide input data for the subsequent sound source localization algorithm. It supports the acquisition and preprocessing of sound signals, as well as the operation and optimization of subsequent signal processing algorithms. It provides the geometric structure information of the array to support the repeatability, stability and accuracy of the sound source localization system.
[0096] Step 2: Use the signal processing unit to pre-process the collected sound signal, including
[0097] Step 2.1: Calculate the distance matrix D from the scanning point to the microphone
[0098] Step 2.1.1: Construct a distance matrix with a row number equal to the number of scanning points and a column number equal to the number of microphones, which is used to store the distance from each scanning point to each microphone;
[0099] Step 2.1.2: Calculate the distance from each scan point to each microphone using the Euclidean distance formula;
[0100] Step 2.1.3: Traverse all scanning points and microphones, calculate the distance one by one and fill in the distance matrix to obtain the distance matrix D from the scanning point to the microphone;
[0101] Step 2.2: Calculate the transmission matrix H based on the distance matrix D from the scanning point to the microphone, and perform singular value decomposition on the transmission matrix H to extract the feature matrix Φ
[0102] Step 2.2.1: Based on the distance matrix D from the scanning point to the microphone, the transfer function The construction of combines distance attenuation and phase change, fully describes the transmission characteristics from the sound source to the microphone, and generates the transmission matrix H between the sound source and the microphone by calculating the distance attenuation and phase change;
[0103] Step 2.2.2: Perform singular value decomposition on the transfer matrix H, decompose the matrix into three matrices U, S and V; calculate the number of eigenvectors k to be retained p , here k p It is calculated based on the number of microphones (NumMic) and the number of measurements (NumSM), indicating the number of features k to be retained p =NumSM 0.5 ×NumMic; use the first k left singular matrix U p Construct the feature matrix Φ by columns;
[0104] Step 2.3: Use the feature matrix Φ to construct the projection matrix ψ and store it
[0105] The projection matrix ψ is used to project the signal into the feature space, and the formula is:
[0106] ψ=Φ·(Φ T ·Φ) -1 ·Φ T ,
[0107] Through this matrix, the main information of the signal can be retained in the feature space, and the noise and other irrelevant components can be reduced;
[0108] Step 3: Using the asynchronous measurement technique, obtain asynchronous sound samples by sequentially moving the microphone array units, including
[0109] Step 3.1: Start collecting sound signals at the initial position and record the sound data and timestamp;
[0110] Step 3.2: Then move the microphone array unit to a new position according to a predetermined path and repeat the acquisition;
[0111] Step 3.3: Construct a zero matrix of size NumMic*NumSM×NumMic*NumSM, by placing the cross-spectrum matrix of size NumMic×NumMic obtained from each measurement on the diagonal block position of the matrix, to form a measurement matrix with the cross-spectrum matrix of each measurement on the diagonal block and the rest of the positions being zero;
[0112] The collected sound samples are then used to construct a virtual larger microphone array to enhance the system’s resolution and frequency coverage.
[0113] Step 4: Perform tensor quantization on the asynchronous samples obtained in step 3, and apply the Laplace enhanced low-rank tensor completion method to identify the complete sound signal, such as Figure 2 Shown, including
[0114] Step 4.1: Set the threshold parameter t = alpha / mu / 10, initialize Yk{1} to a randomly generated three-dimensional array of size m×n×M3 as the initial estimate; initialize Xk{1} to Yk{1}, indicating the estimate at the initial moment; initialize Pi_k{1} to an all-zero matrix as the initial multiplier variable; initialize psiB_T to the transpose of psi_B for subsequent operations; alpha is a regularization parameter whose value in this embodiment is alpha = 0.3705, mu is a penalty parameter mu = 24.5 / n (where n is the second dimension of the spectral matrix), M3 is the dimension of the third dimension of the spectral matrix, and psi_B is the Fourier basis;
[0115] Step 4.2: Start looping until the maximum number of iterations is reached
[0116] Define a four-dimensional array Gk to store the estimated value updated in each iteration; at the beginning of each iteration, update Gk through Yk{it} and Pi_k{it}, and smooth its spectrum matrix to ensure symmetry for low-rank estimation;
[0117] Gk_c=psi_B(:,:,m3)*Gk(:,:,m3,it)*psiB_T(:,:,m3);
[0118] Gk_c=(Gk_c+Gk_c′) / 2;
[0119] Gk(:,:,m3,it)=Gk_c;
[0120] Step 4.3: Process Gk by t-SVD method to obtain Y_recover_FFT, and then obtain Y_recover by inverse Fourier transform, which is used to update Xk{it+1}
[0121] [U1, S1, V1] = svd(Y_nc);
[0122] Y_recover_FFT(:,:,m3)=U1(:,1:svp)*max(diag(SigmaS)-t,0)*V1(:,1:svp)';
[0123] Y_recover=ifft(Y_recover_FFT,[],3);
[0124] Xk{it+1}=Y_recover;
[0125] Step 4.4: Update Yk{it+1} and Pi_k{it+1} respectively
[0126] Yk{it+1}=1 / (mu+1)*(D_datamissing+mu*Ek).*Omega;
[0127] Yk{it+1}=Yk{it+1}+Ek.*Inv_Omega;
[0128] Pi_k{it+1}=Pi_k{it}+gama*mu*(Xk{it+1}-Yk{it+1});
[0129] Step 4.5: Calculate the error err between the current estimate Xk{it} and D_datamissing; if the error is less than the set threshold, the stopping criterion SC is used, and the iteration ends;
[0130] Step 4.6: Output the completed matrix R_matrix;
[0131] Step 5: Execute the sound source localization algorithm in the localization algorithm unit to estimate the sound source position based on the optimized sound signal, including
[0132] Step 5.1: Perform eigenvalue decomposition on the optimized signal matrix R_matrix, and obtain the eigenvalue and eigenvector through [V, Dia] = eig (R_matrix);
[0133] Where V is the eigenvector matrix of the matrix R_matrix, and each column is an eigenvector; Dia is a diagonal matrix, and the elements are the eigenvalues of R_matrix;
[0134] Step 5.2: Extract the diagonal elements of the diagonal matrix Dia, which are the eigenvalues of R_matrix, and transpose them into row vectors EVA;
[0135] Step 5.3: Sort the eigenvalue vector EVA, I is the sorting index, [EVA, I] = sort(EVA); the elements in EVA are arranged in ascending order;
[0136] Step 5.4: Flip the matrix V from right to left by column, so that the eigenvectors arranged from large to small can be obtained;
[0137] Step 5.5: Extract the eigenvector Vn of the noise subspace from the matrix V
[0138] Vn=V(:,Num_source+1:NumMic);
[0139] Where Num_source is the number of sound sources, and the eigenvectors from Num_source+1 to NumMic are selected, which correspond to smaller eigenvalues; Num_source+1:NumMic refers to the eigenvectors from the Num_source+1th column to the NumMicth column; these eigenvectors are considered to be the eigenvectors of the noise subspace, while the eigenvectors of the first Num_source columns are considered to be the eigenvectors of the signal subspace;
[0140] Step 5.6: Calculate the noise subspace matrix inR_ev
[0141] inR_ev=Vn*Vn';
[0142] This is the product of the noise subspace eigenvector Vn, resulting in a projection matrix for calculating the MUSIC spectrum function;
[0143] Step 5.7: Define the weight function w
[0144] Initialize a zero vector w of size 1×NumMic, and calculate the distance between each point on the scanning plane and the microphone by scanning the x, y, and z coordinates of the point on the scanning plane and the microphone.
[0145]
[0146] in, is a complex exponential representing the phase delay from the scanning point to the microphone. / NumMic is used to normalize the direction vector so that the total power of the vector is evenly distributed in the array.
[0147] Step 5.8: Traverse all points (k, n) on the scanning plane and calculate the MUSIC spectrum value of each point;
[0148] beta_MUSIC(n,k)=w*inR_ev*w';
[0149] The MUSIC spectrum value of the current point is calculated and stored in beta_MUSIC(n,k);
[0150] Step 5.9: Repeat the above steps from 1000 Hz to 6000 Hz with a step size of 100 Hz, accumulate the matrix of MUSIC spectrum values at all frequencies, and obtain the final positioning result;
[0151] Step 6: Output the sound source localization result through the control interface unit and provide it to the user or for further decision-making of the robot.
[0152] like Figure 3 As shown, a broadband sound source localization system used by a service robot for executing the broadband sound source localization method used by the service robot as described above includes a microphone array unit, a signal processing unit, a localization algorithm unit and a control interface unit; wherein
[0153] The microphone array unit is used to capture sound signals in the surrounding environment, and includes at least four microphones arranged in a predetermined geometric layout;
[0154] The signal processing unit receives the output of the microphone array unit and executes a preset signal processing process, using an asynchronous measurement method and a Laplace enhanced low-rank tensor completion technology to process the sound signal;
[0155] The positioning algorithm unit executes a sound source positioning algorithm according to the output of the signal processing unit;
[0156] The control interface unit is used for system configuration, user interaction and outputting positioning results.
[0157] Example 2: Please refer to Figure 4-Figure 6In order to verify the feasibility of the broadband sound source localization method used by the above-mentioned service robot as described in Example 1, this example is used for verification.
[0158] like Figure 4 As shown, a 4-channel prototype array is considered. The prototype array moves from the left to the right along the x-axis. In this case, the number of measurements is N = 101. A speech signal source is set in the sound field, marked as a red square in the simulation results, with coordinates (1.11 m, 0.18 m). The distance between the microphone array and the measurement plane is 0.5 m. Figure 5 Shows direct localization results using a single 4-channel prototype array with a broadband beamforming approach. Clearly, the sound source marked with a red square cannot be localized at a single location. Due to the size of the prototype array, it is difficult to identify a suitable location through the sound map. Figure 5 Compared with the results shown, Figure 6 The broadband NSM method in actually uses all M×N=404 microphones at all frequencies, and the sound source can be accurately located with a global view. In addition, Figure 5 (b) shows that the t-SVD-based method can obtain a clearer sound source image. The simulation results show that for the BSSL problem of NSM, it is a better choice to directly complete CST than to complete CSM at each frequency, such as Figure 6 (a) shown.
[0159] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0160] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A broadband sound source localization method used by a service robot, characterized in that: include Step 1: Initialize the microphone array unit to collect sound signals; Step 2: Use a signal processing unit to pre-process the collected sound signal; Step 3: After obtaining the preprocessed sound signal, using the asynchronous measurement technology, obtain asynchronous sound samples by sequentially moving the microphone array units; Step 4: Perform tensor quantization on the asynchronous samples obtained in step 3, and apply the Laplace enhanced low-rank tensor completion method to identify the complete sound signal; Step 5: Execute the sound source localization algorithm in the localization algorithm unit to optimize the sound signal processed in step 4, and estimate the sound source position according to the optimized sound signal; Step 6: Output the sound source localization result through the control interface unit and provide it to the user or for further decision-making of the robot.
2. The broadband sound source localization method used by a service robot according to claim 1, characterized in that: The process of initializing the microphone array unit includes Step 1.1: Load the position and configuration information of the microphone array; Step 1.2: Integrate the position information of all microphones into a position matrix. The number of rows in the matrix represents the number of microphones, the first column is the microphone x-coordinate, the second column is the y-coordinate, and the third column is the z-coordinate.
3. The broadband sound source localization method used by a service robot as claimed in claim 1, characterized in that: The process of preprocessing the collected sound signal using the signal processing unit includes: Step 2.1: Calculate the distance matrix D from the scanning point to the microphone; Step 2.2: Calculate the transmission matrix H according to the distance matrix D from the scanning point to the microphone, perform singular value decomposition on the transmission matrix H, and extract the feature matrix Φ; Step 2.3: Use the feature matrix Φ to construct the projection matrix ψ and store it.
4. The broadband sound source localization method used by a service robot as claimed in claim 3, characterized in that: The process of calculating the distance matrix D from the scanning point to the microphone includes Step 2.1.1: Construct a distance matrix with a row number equal to the number of scanning points and a column number equal to the number of microphones, which is used to store the distance from each scanning point to each microphone; Step 2.1.2: Use the Euclidean distance formula to calculate the distance from each scan point to each microphone; Step 2.1.3: Traverse all scanning points and microphones, calculate the distance one by one and fill in the distance matrix to obtain the distance matrix D from the scanning point to the microphone.
5. The broadband sound source localization method used by a service robot as claimed in claim 3, characterized in that: The transmission matrix H is calculated based on the distance matrix D from the scanning point to the microphone, and the transmission matrix H is subjected to singular value decomposition. The process of extracting the feature matrix Φ includes: Step 2.2.1: Based on the distance matrix D from the scanning point to the microphone, the transfer function Calculate the distance attenuation and phase change to generate the transmission matrix H from the sound source to the microphone; Step 2.2.2: Perform singular value decomposition on the transfer matrix H, decompose the matrix into three matrices U, S and V; calculate the number of eigenvectors k to be retained p , represents the number of features k to be retained p =NumSM 0.5 ×NumMic; use the first k left singular matrix U p Construct the feature matrix Φ by columns; Among them, k p Calculated based on the number of microphones and the number of measurements, NumSM is the number of measurements, and NumMic is the number of microphones.
6. The broadband sound source localization method used by a service robot as claimed in claim 3, characterized in that: The projection matrix ψ is used to project the signal into the feature space, specifically ψ = Φ·(Φ T ·Φ) -1 ·Φ T .
7. The broadband sound source localization method used by a service robot as claimed in claim 1, characterized in that: Using the asynchronous measurement technique, the process of obtaining asynchronous sound samples by sequentially moving the microphone array units includes: Step 3.1: Start collecting sound signals at the initial position and record the sound data and timestamp; Step 3.2: Then move the microphone array unit to a new position according to a predetermined path and repeat the acquisition; Step 3.3: Construct a zero matrix of size NumMic*NumSM×NumMic*NumSM, and place the cross-spectrum matrix of size NumMic×NumMic obtained from each measurement on the diagonal blocks of the matrix to form a measurement matrix with the cross-spectrum matrix of each measurement on the diagonal blocks and zeros in the remaining positions. In this way, a virtual larger microphone array can be constructed using the collected sound samples.
8. The broadband sound source localization method used by a service robot as claimed in claim 1, characterized in that: The process of performing tensor quantization on the asynchronous samples obtained in step 3 and applying the Laplace enhanced low-rank tensor completion method to identify the complete sound signal includes: Step 4.1: Set the threshold parameter t = alpha / mu / 10, initialize Yk{1} to a randomly generated three-dimensional array of size m×n×M3 as the initial estimate; initialize Xk{1} to Yk{1}, indicating the estimate at the initial moment; initialize Pi_k{1} to an all-zero matrix as the initial multiplier variable; initialize psiB_T to the transpose of psi_B for subsequent operations; alpha is the regularization parameter, mu is the penalty parameter, M3 is the dimension of the third dimension of the spectral matrix, and psi_B is the Fourier basis; Step 4.2: Start looping until the maximum number of iterations is reached Define a four-dimensional array Gk to store the estimated value updated in each iteration. At the beginning of each iteration, update Gk through Yk{it} and Pi_k{it}; Step 4.3: Process Gk by t-SVD method to obtain Y_recover_FFT, then obtain Y_recover by inverse Fourier transform, and update Xk{it+1} Step 4.4: Update Yk{it+1} and Pi_k{it+1} respectively Step 4.5: Calculate the error err between the current estimate Xk{it} and D_datamissing. If the error is less than the set threshold, the stopping criterion SC is used, and the iteration ends. Step 4.6: Output the completed matrix R_matrix.
9. The broadband sound source localization method used by a service robot as claimed in claim 1, characterized in that: The sound source localization algorithm in the localization algorithm unit is executed to optimize the sound signal processed in step 4. The process of estimating the sound source position according to the optimized sound signal includes: Step 5.1: Perform eigenvalue decomposition on the optimized signal matrix R_matrix, and obtain the eigenvalue and eigenvector through [V, Dia] = eig (R_matrix); Where V is the eigenvector matrix of the matrix R_matrix, and each column is an eigenvector; Dia is a diagonal matrix, and the elements are the eigenvalues of R_matrix; Step 5.2: Extract the diagonal elements of the diagonal matrix Dia, which are the eigenvalues of R_matrix, and transpose them into row vectors EVA; Step 5.3: Sort the eigenvalue vector EVA, I is the sorting index, [EVA, I] = sort(EVA); the elements in EVA are arranged in ascending order; Step 5.4: Flip the matrix V from right to left by column, so that the eigenvectors arranged from large to small can be obtained; Step 5.5: Extract the eigenvector Vn of the noise subspace from the matrix V Vn=V(:,Num_source+1:NumMic); Where Num_source is the number of sound sources, and the eigenvectors from Num_source+1 to NumMic are selected, which correspond to smaller eigenvalues; Num_source+1:NumMic refers to the eigenvectors from the Num_source+1th column to the NumMicth column; these eigenvectors are considered to be the eigenvectors of the noise subspace, while the eigenvectors of the first Num_source columns are considered to be the eigenvectors of the signal subspace; Step 5.6: Calculate the noise subspace matrix inR_ev inR_ev=Vn*Vn'; This is the product of the noise subspace eigenvector Vn, resulting in a projection matrix for calculating the MUSIC spectrum function; Step 5.7: Define the weight function w Initialize a zero vector w of size 1×NumMic, and calculate the distance between each point on the scanning plane and the microphone by scanning the x, y, and z coordinates of the point on the scanning plane and the microphone. in, is a complex exponential; / NumMic is used to normalize the direction vector; Step 5.8: Traverse all points (k, n) on the scanning plane and calculate the MUSIC spectrum value of each point; beta_MUSIC(n,k)=w*inR_ev*w'; The MUSIC spectrum value of the current point is calculated and stored in beta_MUSIC(n,k); Step 5.9: Repeat the above steps from 1000 Hz to 6000 Hz with a step size of 100 Hz, accumulate the matrix of MUSIC spectrum values at all frequencies, and obtain the final positioning result.
10. A broadband sound source localization system for a service robot that executes the localization method according to claim 1, characterized in that: include A microphone array unit, used to capture sound signals in the surrounding environment, includes at least four microphones arranged in a predetermined geometric layout; A signal processing unit receives the output of the microphone array unit and executes a preset signal processing process, using an asynchronous measurement method and a Laplace enhanced low-rank tensor completion technique to process the sound signal; A positioning algorithm unit, which executes a sound source localization algorithm according to the output of the signal processing unit; Control interface unit, used for system configuration, user interaction and output of positioning results.
Citation Information
Cited By
Plant modeling three-dimensional modeling automatic pruning method and system based on laser radar
CN119924098A
Noise positioning and imaging method for air blower
CN119936793A
