Broadband sound source positioning method and system based on sound array signal characteristic frequency
By improving the AIC formula and density clustering algorithm, the problem of low extraction efficiency of acoustic array signal characteristic frequencies is solved, the speed of sound source positioning is improved and the accuracy of characteristic frequencies is achieved, and the lack of description of the spatial distribution characteristics of the sound source is solved.
Patent Information
- Application Number
- CN202410689757.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-08-30
AI Technical Summary
In the existing technology, the extraction efficiency of characteristic frequencies of acoustic array signals is low and the screening is difficult, resulting in slow broadband sound source positioning speed and the inability to accurately describe the spatial distribution characteristics of the sound source.
The Akaike Information Criterion (AIC) formula is improved, the linear term of the penalty intensity is changed to an exponential term, the AR model solution order is reduced, and the density clustering algorithm (DBSCAN) is combined with the density clustering algorithm (DBSCAN) to perform characteristic frequency clustering of each channel component of the acoustic array signal. Calculate the clustering center to realize the automatic extraction of the characteristic frequency of the acoustic array signal.
It greatly reduces the amount of calculation of characteristic frequencies of acoustic array signals, improves the automation of characteristic frequency extraction and the speed of multi-band fusion positioning of broadband sound sources, provides accurate characteristic frequencies to support sub-band segmentation, and improves positioning accuracy.
Smart Images

Figure CN118566839A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of broadband sound source multi-band fusion positioning, and in particular relates to a broadband sound source multi-band fusion positioning method based on rapid extraction of characteristic frequencies of sound array signals, which can greatly accelerate the extraction speed of characteristic frequencies of sound array signals, improve the efficiency of sub-band signal extraction, and enhance the broadband sound source positioning speed. Background Art
[0002] The sound signal generated during the operation of the equipment contains rich state information. The sound array signal can be used to estimate the maximum sound source position within the audible sound range. Commonly used sound array signal acquisition devices are microphone arrays of various topological structures. Multi-band fusion positioning is a common method for broadband sound source positioning. For example, the prior art (CN106526541B) discloses a sound positioning method based on distribution matrix decision-making, including the following steps: 1. Preprocessing the multi-channel sound signal collected by the sound array, including framing; 2. Performing a sound recognition algorithm on the single-channel data, and obtaining a sound recognition result for each frame; 3. Performing broadband sound positioning on the multi-channel data, and obtaining a sound positioning result for each frame; 4. The set of recognition and positioning results obtained through the above steps respectively represent the rows and columns of the matrix to construct a distribution matrix. 5. After obtaining the distribution matrix, find the positioning distribution peak of the target sound source; 6. Select the peak and two adjacent angle intervals, and calculate the statistical mean of these three intervals. However, the shortcomings of the prior art are:
[0003] 1. A multi-band focusing method is used to divide the broadband signal and then focus it to the center frequency f0 for multi-band fusion positioning. However, for a device with a large size and many components, different characteristic frequencies of its broadband sound source may correspond to different operating states of components. The present invention determines the characteristic frequencies of several sound array signals by characteristic frequency extraction. These characteristic frequencies correspond to multiple components of the device and are non-uniformly distributed in the frequency domain. The broadband signal is non-uniformly divided according to these characteristic frequencies to obtain several narrowband signals. The spatial spectra of these narrowband signals are superimposed to realize multi-band fusion. Since no focusing is performed, the position of the sound source and the frequency of the sound source can be obtained by fusing the spectrum peaks on the spatial spectrum.
[0004] 2. The processing method of directly performing uniform division and then focusing on the center frequency f0 cannot describe the spatial distribution characteristics of the sound source.
[0005] 3. Use LPCC+SVM to recognize speech signals, but it cannot provide specific feature frequency information. LPCC converts speech signals into low-dimensional feature quantities, and SVM is used for classification and recognition. The combination of the two only has classification and recognition functions, and cannot provide accurate feature frequencies to support sub-band segmentation.
[0006] The non-uniform sub-band segmentation of broadband acoustic array signals requires the characteristic frequency as the prior information of the segmentation position. It is difficult for any microphone array to achieve an ideal performance consistency. The microphones on the array may also be subjected to different interferences due to different spatial positions in a complex electrical equipment operating environment, resulting in differences in the characteristic frequencies of the acoustic array signals on the channel. The above problems make it difficult to accurately extract the characteristic frequencies of acoustic array signals.
[0007] Methods for obtaining characteristic frequencies of sound signals include Fourier Transform, Auto-Regressive (AR) power spectrum estimation, Linear Predictive Coding based on AR model, Mel-Frequency Cepstral Coefficients, Wavelet Transform, Hilbert-Huang Transform, etc. AR power spectrum estimation has the advantages of high frequency resolution, smooth spectrum estimation, low computational complexity, suitability for real-time processing, good stability, etc., and is more suitable as a basic method for extracting characteristic frequencies of acoustic array signals.
[0008] In the process of AR power spectrum estimation, it is necessary to first determine the order of the AR model to be solved. Akaike Information Criterion (AIC) is a commonly used method for determining the order. For the broadband signal emitted by the device, the convergence speed of the AR model is too slow, resulting in a large order of the model to be solved, which reduces the efficiency of characteristic frequency extraction.
[0009] When there is a deviation in the characteristic frequencies between the channels of the acoustic array signal, there are differences in the characteristic frequencies extracted from each channel using the AR power spectrum estimation method. These different characteristic frequencies are like "points" scattered in the frequency domain. The density-based clustering algorithm (Density-Based Spatial Clustering of Applications with Noise, DBSCAN) can automatically discover clusters of any shape according to the density of the data and separate the noise points from the clusters. However, the characteristic frequency points after clustering are still scattered, and the frequency values representing the characteristics of the acoustic array signal need to be further calculated. Summary of the invention
[0010] In order to solve the deficiencies in the prior art, the present invention aims at the problems of low efficiency and great screening difficulty in extracting characteristic frequencies of acoustic array signals using ordinary methods, improves the existing standard AIC formula to reduce the order of AR model solution, and adopts a density-based clustering algorithm to fuse the characteristic frequencies of each channel component of the acoustic array signal, automatically cluster and calculate the clustering center, reduce the calculation amount of characteristic frequencies, and realize automatic extraction of characteristic frequencies of acoustic array signals.
[0011] The present invention adopts the following technical solution.
[0012] The first aspect of the present invention provides a broadband sound source localization method based on the characteristic frequency of an acoustic array signal, comprising the following steps:
[0013] A step 1: Based on the standard AIC formula, the linear term of the penalty intensity is changed to an exponential term to obtain an improved AIC formula with a reduced order of solution;
[0014] Step 2: Based on the improved AIC formula in step 1, determine the optimal AR model order required for the power spectrum estimation of the single channel component of the acoustic array signal; use the AR model with the optimal AR model order to perform power spectrum estimation on the single channel component S(t) of the acoustic array signal to obtain the fitted sound signal After fitting, the sound signal Performing spectrum peak search to determine the characteristic frequency of a single channel component of an acoustic array signal;
[0015] Step 3: Based on the characteristic frequency of the single channel component obtained in step 2, the characteristic frequencies on all channels are fused, and the characteristic frequency categories are clustered in the frequency domain based on the DBSCN algorithm to calculate the category center;
[0016] Step 4: Use the category center calculated in step 3 as the characteristic frequency of the sound array signal to determine the location of the sound source.
[0017] Preferably, in step 1, the improved AIC formula is:
[0018]
[0019] Where N is the length of the finite sequence, It is the estimated value of the p-order prediction error power, p is the order of the AR model to be solved, and α is the penalty factor, which ranges from α>1.
[0020] Preferably, step 2 includes:
[0021] Step 2.1: Set input parameters, including the initial value α0 of the penalty factor, the adjustment step Δα, the first frame sound signal S(t), and the manually extracted characteristic frequency set of the first frame sound signal S(t)
[0022] Step 2.2: Substitute the initial value α0 of the penalty factor entered in step 2.1 into the improved AIC formula, fit the sound signals of AR models of different orders, and obtain the AIC curve;
[0023] Step 2.3: Based on the AIC curve obtained in step 2.2, select the p value corresponding to the minimum value of the AIC curve as the optimal AR model order;
[0024] Step 2.4: Use the AR model with the best AR model order estimated in step 2.3 to perform power spectrum estimation on the single channel component S(t) of the acoustic array signal to obtain the fitted sound signal From the fitted sound signal Automatically extract characteristic frequencies from
[0025] Step 2.5: Based on the characteristic frequency in step 2.4, determine whether N is satisfied. a ≤N m , where N a is the number of characteristic frequencies extracted from the fitting signal, N m is the number of characteristic frequencies of the sound signal manually extracted; if satisfied, proceed to step 2.6; otherwise, adjust the value of the penalty factor α in the improved AIC formula based on the adjustment step Δα, and return to step 2.2;
[0026] Step 2.6: Based on the characteristic frequency in step 2.4, determine whether Among them, f i m is the characteristic frequency of the i-th manually extracted sound signal, f j a is the characteristic frequency automatically extracted from the jth fitting signal, ε f Automatically extract the characteristic frequency deviation value for the fitting signal; if satisfied, proceed to step 2.7; otherwise, adjust the value of the penalty factor α in the improved AIC formula based on the adjustment step Δα, and return to step 2.2;
[0027] Step 2.7: Based on the characteristic frequency in step 2.4, determine whether N is satisfied. a -N m ≤ε N , where ε Nis the deviation value of the number of characteristic frequencies; if it is satisfied, then the corresponding penalty factor α value in the improved AIC formula is output as the optimal penalty factor value, the optimal AR model order in step 2.4, and the characteristic frequency automatically extracted in step 2.5 are output as the characteristic frequency of the single-channel component of the acoustic array signal; otherwise, the penalty factor α value in the improved AIC formula is adjusted based on the adjustment step Δα, and return to step 2.2 until the optimal penalty factor value is obtained.
[0028] Preferably, in step 2.5 and step 2.6, the adjustment formula for the value of the penalty factor α in the improved AIC formula is:
[0029] α=α0-Δα
[0030] In step 2.7, the adjustment formula for the penalty factor α in the improved AIC formula is:
[0031] α=α0+Δa
[0032] In the formula, α is the penalty factor, α0 is the initial value of the penalty factor, and Δα is the adjustment step size.
[0033] Preferably, in step 2, the optimal penalty factor value and the optimal AR model order output from step 2.7 are used to perform power spectrum estimation of the single-channel component of the acoustic array signal on the second frame and subsequent continuous sound signals S(t) to obtain a fitted sound signal, and the characteristic frequency is automatically extracted from the fitted sound signal.
[0034] Preferably, step 3 includes:
[0035] Step 3.1: Based on the characteristic frequency of the single channel component of the acoustic array signal obtained in step 2, the characteristic frequencies on all channels are fused to obtain the characteristic frequency set C f (i) Set the radius Eps, the number of small neighboring points of the core point MinPts and the distance measurement method of the DBSCN algorithm;
[0036] Step 3.2: Based on the characteristic frequency set C of step 3.1 f (i) Construct a one-dimensional feature frequency sample data set S f ;
[0037] Step 3.3: Based on the one-dimensional feature frequency sample data set S constructed in step 3.2 f , substitute into the DBSCN algorithm set in step 3.1, obtain the classification label, the normal result is marked as 1, 2, K, and the outlier result is marked as -1;
[0038] Step 3.4: Based on the classification results in step 3.3, determine whether there is -1 in the classification result label. If not, proceed to step 3.5; if there is -1, remove the outlier and update the one-dimensional feature sample data set S f , return to step 3.2;
[0039] Step 3.5: Based on the sample data set after removing outliers in step 3.4, calculate the category center with the constraint that the sum of the distances from all feature frequency points to the center is minimized.
[0040] Preferably, in step 3.5, the formula for calculating the category center of the i-th cluster is as follows:
[0041]
[0042] In the formula, c i represents the category center of the i-th cluster, |·| represents the Euclidean distance, d represents the dimension of the data, and m i represents the number of characteristic frequency points in the i-th cluster, x represents the center point of the i-th category, and x ij Represents the jth characteristic frequency point in the i-th cluster.
[0043] Preferably, step 4 includes:
[0044] Step 4.1: Based on the category center calculated in step 3 as the characteristic frequency of the sound array signal, the characteristic frequency of each sound array signal is used as the center frequency of the narrowband segmentation window to perform non-uniform sub-band segmentation on the broadband sound source to obtain a group of narrowband signals;
[0045] Step 4.2: Based on the narrowband signals obtained in step 4.1, a spatial spectrum estimation algorithm is used to obtain a spatial spectrum estimation of each narrowband signal;
[0046] Step 4.3: Based on the spatial spectrum estimation result of each narrowband signal in step 4.2, all the spatial spectrum estimation results of narrowband signals are accumulated and normalized to obtain the multi-band fusion spatial spectrum estimation result. The peak on the multi-band fusion spatial spectrum corresponds to the location of the sound source.
[0047] The second aspect of the present invention provides a broadband sound source localization system of the broadband sound source localization method based on the characteristic frequency of the sound array signal, comprising:
[0048] AIC formula improvement module, optimal AR model order determination module, AR power spectrum estimation module, single channel component characteristic frequency determination module, characteristic frequency category clustering module, category center calculation module and sound source position determination module;
[0049] The AIC formula improvement module is used to generate an improved AIC formula;
[0050] The optimal AR model order determination module is used to determine the optimal AR model order required for single-pass power spectrum estimation of acoustic array signals;
[0051] The AR power spectrum estimation module is used to estimate the power spectrum of the single channel component of the acoustic array signal;
[0052] The single-channel component characteristic frequency determination module is used to perform spectrum peak search on the power spectrum estimated by the AR power spectrum module to determine the characteristic frequency of the single-channel component of the acoustic array signal;
[0053] The characteristic frequency category clustering module is used to screen and cluster the characteristic frequency points extracted from all channel components of the acoustic array signal using the DBSCAN algorithm;
[0054] The category center calculation module is used to calculate all category centers based on the constraint condition that the sum of distances from all characteristic frequency points to the center is minimum;
[0055] The sound source position determination module is used to determine the position of the sound source according to the category center calculated by the category center calculation module as the characteristic frequency of the sound array signal.
[0056] A third aspect of the present invention provides a terminal, including a processor and a storage medium:
[0057] The storage medium is used to store instructions;
[0058] The processor is used to operate according to the instruction to execute the steps of the method according to any one of claims 1 to 8. The beneficial effect of the present invention is that compared with the prior art,
[0059] 1. The present invention proposes a fast broadband sound source localization method and system based on the characteristic frequency of an acoustic array signal, which can greatly reduce the calculation amount of the characteristic frequency of each channel component of the acoustic array signal, improve the degree of automation of characteristic frequency extraction of the acoustic array signal, and improve the speed of broadband sound source multi-band fusion localization.
[0060] 2. For broadband sound sources with the characteristics of spatial distribution and a large number of characteristic frequencies, the present invention uses non-uniform sub-band segmentation technology to segment the broadband abnormal sound signal into different narrowband signals according to the characteristic frequency, and performs spatial spectrum estimation or arrival direction estimation on each narrowband signal separately. Finally, the spatial spectrum or arrival direction results of all sub-band signals are superimposed and normalized to realize multi-band fusion positioning of the sound source.
[0061] 3. The present invention adopts an AR model based on an improved AIC formula to extract the main characteristic peaks of the acoustic signal and provide accurate characteristic frequencies to support sub-band segmentation. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1It is a schematic diagram of the technical solution of the broadband sound source localization method based on the characteristic frequency of the sound array signal of the present invention;
[0063] Figure 2 It is a flow chart of characteristic frequency calculation of single channel component of acoustic array signal in the broadband sound source localization method based on characteristic frequency of acoustic array signal of the present invention;
[0064] Figure 3 It is a flow chart of calculating characteristic frequency of multi-channel signals of the broadband sound source localization method based on characteristic frequency of acoustic array signals of the present invention;
[0065] Figure 4 This is a schematic diagram of the acoustic array signal of the factory pump in Example 2 of the present invention;
[0066] Figure 5 A schematic diagram showing the comparison of the AIC standards before and after the improvement of Example 2 of the present invention;
[0067] Figure 6 This is a schematic diagram of the processing result of sample #90 in Example 2 of the present invention;
[0068] Figure 7 A schematic diagram of a time domain waveform and a frequency domain waveform of an acoustic signal on a selected channel in Embodiment 3 of the present invention;
[0069] Figure 8 This is a schematic diagram of the comparison of the AIC standards before and after the improvement of Example 3 of the present invention;
[0070] Fig. 9 Schematic diagram of calculation results of low-frequency characteristic frequency in Example 3 of the present invention. DETAILED DESCRIPTION
[0071] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only embodiments of a part of the present invention, rather than all embodiments. Based on the spirit of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the protection scope of the present invention.
[0072] Example 1
[0073] The technical solution of the embodiment of the present invention is as follows Figure 1 Embodiment 1 of the present invention provides a broadband sound source localization method based on the characteristic frequency of an acoustic array signal, comprising the following steps:
[0074] Step 1: Improve the existing standard AIC formula by changing the linear term of the penalty intensity to an exponential term, and obtain an improved AIC formula with a reduced order of solution.
[0075] The standard AIC formula is defined as shown in formula (1). In formula (1), the first term represents the degree of fit of the model to the data, which decreases monotonically with p. The smaller this value is, the better the fit is. The second term is the penalty term for model complexity. As p increases monotonically, the more complex the model is, the lower the stability is. The p value that minimizes AIC(p) is usually selected as the order of the model.
[0076]
[0077] Where N is the length of the finite sequence, is an estimate of the p-order prediction error power, where p is the order of the AR model to be solved.
[0078] The AR model based on the existing standard AIC formula has a small complexity penalty, resulting in a relatively large order of solution. In Example 1 of the present invention, the AR model is used to extract the main characteristic peaks of the acoustic signal. The embodiment of the present invention does not require detailed modeling of the sound signal, so the order can be appropriately reduced. The first term of the original formula decreases logarithmically, and the second term increases linearly. In order to increase the intensity of the complexity penalty, it is necessary to increase the growth rate of the second term. The original linear term is changed to an exponential form, as shown in formula (2), which is an improved AIC formula. The adjustment strategy of the penalty factor α value is as follows: Figure 2 shown.
[0079]
[0080] In the formula, α is the penalty factor, and its value range is α>1.
[0081] Step 2: Based on the improved AIC formula in step 1, determine the optimal AR model order required for the power spectrum estimation of the single channel component of the acoustic array signal; use the AR model with the optimal AR model order to perform power spectrum estimation on the single channel component S(t) of the acoustic array signal to obtain the fitted sound signal After fitting, the sound signal A spectrum peak search is performed to determine the characteristic frequency of a single channel component of the acoustic array signal.
[0082] Specifically, the following steps are included:
[0083] Step 2.1: Set input parameters, including the initial value α0 of the penalty factor, the adjustment step Δα, the first frame sound signal S(t), and the manually extracted characteristic frequency set of the first frame sound signal S(t).
[0084] Step 2.2: Substitute the initial value α0 of the penalty factor entered in step 2.1 into the improved AIC formula, and obtain the AIC curve by fitting the sound signals of AR models of different orders.
[0085] Step 2.3: Based on the AIC curve obtained in step 2.2, select the p-value corresponding to the minimum value of the AIC curve as the optimal AR model order.
[0086] Step 2.4: Use the AR model with the best AR model order estimated in step 2.3 to perform power spectrum estimation on the single channel component S(t) of the acoustic array signal to obtain the fitted sound signal From the fitted sound signal Automatically extract characteristic frequencies from
[0087] Step 2.5: Based on the characteristic frequency in step 2.4, determine whether N is satisfied. a ≤N m , where N a is the number of characteristic frequencies extracted from the fitting signal, N m is the number of characteristic frequencies of the sound signal manually extracted; if satisfied, proceed to step 2.6; otherwise, adjust the value of the penalty factor α in the improved AIC formula based on the adjustment step Δα, and return to step 2.2;
[0088] Step 2.6: Based on the characteristic frequency in step 2.4, determine whether Among them, f i m is the characteristic frequency of the i-th manually extracted sound signal, f j a is the characteristic frequency automatically extracted from the jth fitting signal, ε f Automatically extract the characteristic frequency deviation value for the fitting signal; if satisfied, proceed to step 2.7; otherwise, adjust the value of the penalty factor α in the improved AIC formula based on the adjustment step Δα, and return to step 2.2;
[0089] Step 2.7: Based on the characteristic frequency in step 2.4, determine whether N is satisfied. a -N m ≤ε N , where ε N is the deviation value of the number of characteristic frequencies; if it is satisfied, then the corresponding penalty factor α value in the improved AIC formula is output as the optimal penalty factor value, the optimal AR model order in step 2.4, and the characteristic frequency automatically extracted in step 2.5 are output as the characteristic frequency of the single-channel component of the acoustic array signal; otherwise, the penalty factor α value in the improved AIC formula is adjusted based on the adjustment step Δα, and return to step 2.2 until the optimal penalty factor value is obtained.
[0090] Using the optimal penalty factor value and the optimal AR model order output from step 2.7, the power spectrum of the single-channel component of the acoustic array signal is estimated for the continuous sound signal S(t) of the second frame and thereafter to obtain the fitted sound signal. The characteristic frequency is automatically extracted from the fitted sound signal without repeatedly calculating the optimal penalty factor value and the optimal AR model order, which saves time for subsequent continuous signal processing and improves computational efficiency.
[0091] In a preferred but non-limiting embodiment of the present invention, the sound signal S(t) comes from a data set, the initial value of the penalty factor is α0=2, the adjustment step is Δα=0.1, and the characteristic frequency ε f and ε N The values are 20 and 10 respectively.
[0092] Step 3: Based on the characteristic frequency of the single channel component obtained in step 2, the characteristic frequencies on all channels are fused, and the characteristic frequencies are clustered in the frequency domain based on the DBSCAN algorithm to calculate the category center.
[0093] The characteristic frequency points extracted from the acoustic array signal on different channel components are regarded as points scattered in the frequency domain. All characteristic frequency points are fused and the DBSCAN algorithm is used to screen out different classes. The DBSCAN algorithm lacks the category center and the characteristic frequency needs to be further calculated. The calculation of the category center as the extraction process of the characteristic frequency of the acoustic array signal is supplemented as follows Figure 3 shown.
[0094] Step 3.1: Based on the characteristic frequency of the single channel component of the acoustic array signal obtained in step 2, the characteristic frequency set C obtained by fusing the characteristic frequencies on all channels f (i) Set the radius Eps, the number of small neighboring points of the core point MinPts and the distance measurement method of the DBSCN algorithm.
[0095] In a preferred but non-limiting embodiment of the present invention, the distance measurement method is the CityBlock algorithm.
[0096] Step 3.2: Based on the characteristic frequency set C of step 3.1 f (i) Construct a one-dimensional feature frequency sample data set S f .
[0097] Step 3.3: Based on the one-dimensional feature frequency sample data set S constructed in step 3.2 f , substitute into the DBSCN algorithm set in step 1 to obtain the classification label. The normal results are marked as 1, 2, K, and the outlier results are marked as -1.
[0098] Step 3.4: Based on the classification results in step 3.3, determine whether there is -1 in the classification result label. If not, proceed to step 4.5; if there is -1, remove the outlier, update the one-dimensional feature sample data set, and return to step 4.2.
[0099] Step 3.5: Based on the sample data set after removing outliers in step 3.4, calculate the category center with the minimum sum of distances from all feature frequency points to the category center as the constraint condition; assuming there are n clusters, each cluster contains m i The characteristic frequency points are Where i = 1, 2, ..., n. The category center c of the i-th cluster i It is defined by formula (3).
[0100]
[0101] In the formula, |·| represents the Euclidean distance, d represents the dimension of the data, and m i represents the number of characteristic frequency points in the i-th cluster, x represents the center point of the i-th category, and x ij Represents the jth characteristic frequency point in the i-th cluster.
[0102] Step 4: Use the category center calculated in step 3 as the characteristic frequency of the sound array signal to determine the location of the sound source.
[0103] Step 4.1: Based on the category center calculated in step 3 as the characteristic frequency of the acoustic array signal, a set of characteristic frequencies of the acoustic array signal is output. Each characteristic frequency of the acoustic array signal is the center frequency of the narrowband segmentation window for non-uniform sub-band segmentation, and a set of narrowband signals can be obtained.
[0104] Step 4.2: Based on the narrowband signals obtained in step 4.1, each narrowband signal is processed using a spatial spectrum estimation algorithm such as MUSIC or CBF to obtain a spatial spectrum estimation of each narrowband signal.
[0105] Step 4.3: Based on the spatial spectrum estimation result of each narrowband signal in step 4.2, the spatial spectrum estimation results of all narrowband signals are accumulated and normalized to obtain a multi-band fusion spatial spectrum estimation result. The peak on the multi-band fusion spatial spectrum corresponds to the location of the sound source.
[0106] For broadband sound sources with characteristics such as spatial distribution and a large number of characteristic frequencies, non-uniform sub-band segmentation technology is used to segment the broadband abnormal sound signal into different narrowband signals according to the characteristic frequency. Spatial spectrum estimation or arrival direction estimation is performed on each narrowband signal separately. Finally, the spatial spectrum or arrival direction results of all sub-band signals are superimposed and normalized to achieve multi-band fusion positioning of the sound source.
[0107] Embodiment 1 of the present invention further provides a broadband sound source localization system based on the broadband sound source localization method based on the characteristic frequency of the sound array signal, comprising:
[0108] AIC formula improvement module, optimal AR model order determination module, AR power spectrum estimation module, single channel component characteristic frequency determination module, characteristic frequency category clustering module, category center calculation module and sound source position determination module;
[0109] The AIC formula improvement module is used to generate an improved AIC formula;
[0110] The optimal AR model order determination module is used to determine the optimal AR model order required for single-pass power spectrum estimation of acoustic array signals;
[0111] The AR power spectrum estimation module is used to estimate the power spectrum of the single channel component of the acoustic array signal;
[0112] The single-channel component characteristic frequency determination module is used to perform spectrum peak search on the power spectrum estimated by the AR power spectrum module to determine the characteristic frequency of the single-channel component of the acoustic array signal;
[0113] The characteristic frequency category clustering module is used to screen and cluster the characteristic frequency points extracted from all channel components of the acoustic array signal using the DBSCAN algorithm;
[0114] The category center calculation module is used to calculate all category centers based on the constraint condition that the sum of distances from all characteristic frequency points to the center is minimum;
[0115] The sound source position determination module is used to determine the position of the sound source according to the category center calculated by the category center calculation module as the characteristic frequency of the sound array signal.
[0116] Example 2
[0117] Take the abnormal noise signal of a factory pump collected by an 8-element prototype microphone array as an example. The time domain and frequency domain spectra of each channel component of the acoustic array signal are shown in the following figure. Figure 4 As shown. Two characteristic frequencies are selected from the spectrum diagram for detailed analysis, as shown in Table 1. As can be seen from the table, the characteristic peaks of the signals on channel #2 and channel 6 at around 4430Hz are significantly offset from the characteristic peaks near this position on other channels. The characteristic frequency amplitude of the signals on channel #3 and channel #7 at around 5535Hz is significantly smaller than that of other channels. The narrowband array signal centered on this characteristic frequency will have obvious amplitude distortion on channel #3 and channel #7. These channel component distortion phenomena such as characteristic frequency offset and low amplitude will make it difficult to extract the characteristic frequency.
[0118] Two characteristic frequencies are selected from the spectrum for detailed analysis, as shown in Table 1. As can be seen from the table, the characteristic peaks of the signals on channel #2 and channel 6 at around 4430Hz are significantly offset from the characteristic peaks near this position on other channels. The characteristic frequency amplitude of the signals on channel #3 and channel #7 at around 5535Hz is significantly smaller than that of other channels. The narrowband array signal centered on this characteristic frequency will have obvious amplitude distortion on channel #3 and channel #7. These channel component distortion phenomena such as characteristic frequency offset and low amplitude will make it difficult to extract the characteristic frequency on the one hand, and on the other hand, it will reduce the quality of the high-frequency sub-band signal and reduce the positioning accuracy.
[0119] Table 1 Statistical results of typical characteristic frequencies in array signals
[0120]
[0121] Using the modified AIC formula, the characteristic frequency of the acoustic signal in a single channel is automatically extracted through the AR model. The calculation results are as follows: Figure 5 shown.
[0122] Figure 5 (a) shows the variation curves of the standard AIC formula and the improved AIC formula of different orders. Compared with the standard AIC formula, the improved AIC formula converges faster and can even converge to the minimum value when the order is 200. The penalty factor of the improved AIC formula is α=2.3, corresponding to the order of 47. The power spectrum of microphone signal #1 is estimated using AR models of orders 200 and 47. Figure 5 (b) As shown. Using a smaller AR model order can improve the calculation speed. The characteristic frequency can be extracted by searching for local maxima above the average value on the power spectrum of a single microphone. The characteristic frequencies of the first channel component are 1058.6, 1406.3, 1832.0, 2179.7, 2753.9, 3132.8, 3433.6, 3835.9, 4160.2, 4457.0, 4871.1, 5183.6, 5535.2 and 5933.6Hz. The modified AIC can be used to effectively identify the optimal AR model order and enhance the effect of characteristic frequency extraction of single-channel acoustic signals.
[0123] The neighborhood radius of DBSCAN is 20, the category center connection point threshold is set to 4, and the distance calculation uses the CityBlock algorithm. The calculation results are as follows Figure 6 shown. Figure 6(a) shows the power spectrum estimation results of all channel sound signals. The local maximum values on all power spectrum curves are extracted as characteristic frequencies, and characteristic frequency sets are constructed for cluster analysis. The characteristic frequencies of the sound array signals are calculated according to the proposed method. The results are shown in Figure 6 (b) shows that the number of characteristic frequencies of the array signal is 10, and the characteristic frequencies are: 1 035.2, 1 386.7, 2 765.6, 3 156.3, 3 835.9, 4 160.2, 4 886.7, 5 218.7, 5546.9, 5 906.2 Hz.
[0124] After excluding outliers, the number of eigenfrequencies of the array signal is lower than that of the single-channel signal. This is a result of the neighborhood radius and the threshold value for the number of connections between cluster centers. If an eigenfrequency deviates from the other eigenfrequencies in the class by more than the neighborhood radius, it is identified as an outlier. Furthermore, if the number of clusters is less than a predetermined number, no clusters can be formed. The threshold value for the number of connections between class centers corresponds to the minimum number of microphones required for the proper functioning of a planar microphone array.
[0125] With the help of DBSCAN algorithm, the characteristic frequency of acoustic array signals can be extracted efficiently and accurately. This characteristic frequency takes into account the characteristic information of most channels on the array and can more completely reflect the noise characteristics of the device.
[0126] Example 3
[0127] A 64-element multi-arm spiral microphone array is used to collect the sound signal of a 220kV oil-immersed transformer in operation in a substation. The center of the microphone array is about 0.7m from the ground, and the array plane is about 3m away from the transformer plane.
[0128] Four channel signals numbered #4, #12, #23, and #55 were randomly selected for plotting and analysis, such as Figure 7 As shown in the figure, it can be seen that the signal is mainly composed of 100 Hz and integer multiples of 1 000 Hz.
[0129] Using the modified AIC formula, the characteristic frequency of the acoustic signal in a single channel is automatically extracted through the AR model. The maximum order is set to 1000. The best value of the improved AIC formula is α = 1.2, and the AR model order is 491. The power spectrum of microphone signal #1 is estimated using AR models with orders of 1000 and 491. Figure 8 As shown. Figure 8It can be seen that the main peaks solved by the two models are the same, and AR(1 000) uses smaller pseudo peaks near 750Hz, 850Hz, and 950Hz. Although using a larger order AR model can improve the modeling accuracy, it will also cause pseudo characteristic peaks due to overfitting, which will bring difficulties to the characteristic frequency calculation. The improved AIC formula can reduce the order of the AR model and reduce the number of recursions required to solve the Yule-Walker equation, thereby improving the calculation speed. The local maximum value above the average value is searched on the power spectrum line to extract the characteristic frequency. The characteristic frequency points extracted from the first channel are: 114.3, 202.1, 298.8, 401.4, 498.0, 600.6, 700.2, 799.8, 896.5, and 999.0Hz. The above characteristic frequency values are basically integer multiples of 100Hz, which are close to the theoretical calculations and simulation test measurements in other studies. The improved AIC formula significantly reduces the required AR model order and improves the speed of extracting the characteristic frequency of a single channel component of an acoustic array signal.
[0130] Since the sound frequency is relatively low, in order to effectively distinguish the characteristic frequency, the neighborhood radius is set to 20. Considering that the difference in characteristic frequency between channels is small, the category center connection point threshold is set to 20. The distance between cluster points is calculated according to the CityBlock method.
[0131] based on Figure 3 The characteristic frequency calculation results obtained by the method are as follows: Fig. 9 shown. Fig. 9 (a) is the power spectrum estimation of all channels. Fig. 9 It can be seen from (a) that the amplitude of the characteristic peak above 600 Hz is significantly reduced. Fig. 9 (b) is the calculation result of the characteristic frequency of the array signal. As can be seen from the figure, there are 9 category centers, namely the characteristic frequencies: 199.2, 298.8, 401.4, 500.1, 600.6, 700.2, 799.8, 902.3Hz, 1001.9Hz. The distribution of the first 5 clustering points of the characteristic frequency is the most concentrated, and the remaining characteristic frequency points are dispersed to a certain extent. Although some channels have identified characteristic peaks near 100Hz, they are removed as outliers because of insufficient number.
[0132] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0133] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0134] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0135] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A broadband sound source localization method based on the characteristic frequency of an acoustic array signal, characterized in that: The following steps are involved: Step 1: Based on the standard AIC formula, the linear term of the penalty intensity is changed to an exponential term to obtain an improved AIC formula with a reduced order of solution; Step 2: Based on the improved AIC formula in step 1, determine the optimal AR model order required for estimating the power spectrum of a single channel component of the acoustic array signal; The AR model with the best AR model order is used to estimate the power spectrum of the single channel component S(t) of the acoustic array signal to obtain the fitted sound signal After fitting, the sound signal Performing spectrum peak search to determine the characteristic frequency of a single channel component of an acoustic array signal; Step 3: Based on the characteristic frequency of the single channel component obtained in step 2, the characteristic frequencies on all channels are fused, and the characteristic frequency categories are clustered in the frequency domain based on the DBSCN algorithm to calculate the category center; Step 4: Use the category center calculated in step 3 as the characteristic frequency of the sound array signal to determine the location of the sound source.
2. The fast-band sound source localization method based on the characteristic frequency of the sound array signal according to claim 1 is characterized in that: In step 1, the improved AIC formula is: Where N is the length of the finite sequence, is the estimated value of the p-order prediction error power, p is the order of the AR model to be solved, α is the penalty factor, and the value range is α>
1.
3. The broadband sound source localization method based on the characteristic frequency of the sound array signal according to claim 1, characterized in that: Step 2 includes: Step 2.1: Set input parameters, including the initial value α0 of the penalty factor, the adjustment step Δα, the first frame sound signal S(t), and the manually extracted characteristic frequency set of the first frame sound signal S(t) Step 2.2: Substitute the initial value α0 of the penalty factor entered in step 2.1 into the improved AIC formula, fit the sound signals of AR models of different orders, and obtain the AIC curve; Step 2.3: Based on the AIC curve obtained in step 2.2, select the p value corresponding to the minimum value of the AIC curve as the optimal AR model order; Step 2.4: Use the AR model with the best AR model order estimated in step 2.3 to perform power spectrum estimation on the single channel component S(t) of the acoustic array signal to obtain the fitted sound signal From the fitted sound signal Automatically extract characteristic frequencies from Step 2.5: Based on the characteristic frequency in step 2.4, determine whether N is satisfied. a ≤N m , where N a is the number of characteristic frequencies extracted from the fitting signal, N m is the number of characteristic frequencies of the sound signal manually extracted; if satisfied, proceed to step 2.6; otherwise, adjust the value of the penalty factor α in the improved AIC formula based on the adjustment step Δα, and return to step 2.2; Step 2.6: Based on the characteristic frequency in step 2.4, determine whether Among them, f i m is the characteristic frequency of the i-th manually extracted sound signal, is the characteristic frequency automatically extracted from the jth fitting signal, ε f Automatically extract the characteristic frequency deviation value for the fitting signal; if satisfied, proceed to step 2.7; otherwise, adjust the value of the penalty factor α in the improved AIC formula based on the adjustment step Δα, and return to step 2.2; Step 2.7: Based on the characteristic frequency in step 2.4, determine whether N is satisfied. a -N m ≤ε N , where ε N is the deviation value of the number of characteristic frequencies; if it is satisfied, then the corresponding penalty factor α value in the improved AIC formula is output as the optimal penalty factor value, the optimal AR model order in step 2.4, and the characteristic frequency automatically extracted in step 2.5 are output as the characteristic frequency of the single-channel component of the acoustic array signal; otherwise, the penalty factor α value in the improved AIC formula is adjusted based on the adjustment step Δα, and return to step 2.2 until the optimal penalty factor value is obtained.
4. The broadband sound source localization method based on the characteristic frequency of the sound array signal according to claim 4 is characterized in that: In steps 2.5 and 2.6, the adjustment formula for the penalty factor α in the improved AIC formula is: α=α0-Δα In step 2.7, the adjustment formula for the penalty factor α in the improved AIC formula is: α=α0+Δα In the formula, α is the penalty factor, α0 is the initial value of the penalty factor, and Δα is the adjustment step size.
5. The broadband sound source localization method based on the characteristic frequency of the sound array signal according to claim 4, characterized in that: In step 2, the optimal penalty factor value and the optimal AR model order output from step 2.7 are used to estimate the power spectrum of the single-channel component of the acoustic array signal for the second frame and subsequent continuous sound signals S(t) to obtain the fitted sound signal, and the characteristic frequency is automatically extracted from the fitted sound signal.
6. The broadband sound source localization method based on the characteristic frequency of the sound array signal according to claim 1, characterized in that: Step 3 includes: Step 3.1: Based on the characteristic frequency of the single channel component of the acoustic array signal obtained in step 2, the characteristic frequencies on all channels are fused to obtain the characteristic frequency set C f (i) Set the radius Eps, the number of small neighboring points of the core point MinPts and the distance measurement method of the DBSCN algorithm; Step 3.2: Based on the characteristic frequency set C of step 3.1 f (i) Construct a one-dimensional feature frequency sample data set S f ; Step 3.3: Based on the one-dimensional feature frequency sample data set S constructed in step 3.2 f , substitute into the DBSCN algorithm set in step 3.1, obtain the classification label, the normal result is marked as 1, 2, K, and the outlier result is marked as -1; Step 3.4: Based on the classification results in step 3.3, determine whether there is -1 in the classification result label. If not, proceed to step 3.5; if there is -1, remove the outlier and update the one-dimensional feature sample data set S f , return to step 3.2; Step 3.5: Based on the sample data set after removing outliers in step 3.4, calculate the category center with the constraint that the sum of the distances from all feature frequency points to the center is minimized.
7. The broadband sound source localization method based on the characteristic frequency of the sound array signal according to claim 6, characterized in that: In step 3.5, the formula for calculating the category center of the i-th cluster is as follows: In the formula, c i represents the category center of the i-th cluster, |·| represents the Euclidean distance, d represents the dimension of the data, and m i represents the number of characteristic frequency points in the i-th cluster, x represents the center point of the i-th category, and x ij Represents the jth characteristic frequency point in the i-th cluster.
8. The broadband sound source localization method based on the characteristic frequency of the sound array signal according to claim 1, characterized in that: Step 4 includes: Step 4.1: Based on the category center calculated in step 3 as the characteristic frequency of the sound array signal, the characteristic frequency of each sound array signal is used as the center frequency of the narrowband segmentation window to perform non-uniform sub-band segmentation on the broadband sound source to obtain a group of narrowband signals; Step 4.2: Based on the narrowband signals obtained in step 4.1, a spatial spectrum estimation algorithm is used to obtain a spatial spectrum estimation of each narrowband signal; Step 4.3: Based on the spatial spectrum estimation result of each narrowband signal in step 4.2, all the spatial spectrum estimation results of narrowband signals are accumulated and normalized to obtain the multi-band fusion spatial spectrum estimation result. The peak on the multi-band fusion spatial spectrum corresponds to the location of the sound source.
9. The broadband sound source localization system of the broadband sound source localization method based on the characteristic frequency of the sound array signal according to any one of claims 1 to 8, characterized in that: include: AIC formula improvement module, optimal AR model order determination module, AR power spectrum estimation module, single channel component characteristic frequency determination module, characteristic frequency category clustering module, category center calculation module and sound source position determination module; The AIC formula improvement module is used to generate an improved AIC formula; The optimal AR model order determination module is used to determine the optimal AR model order required for single-pass power spectrum estimation of acoustic array signals; The AR power spectrum estimation module is used to estimate the power spectrum of the single channel component of the acoustic array signal; The single-channel component characteristic frequency determination module is used to perform spectrum peak search on the power spectrum estimated by the AR power spectrum module to determine the characteristic frequency of the single-channel component of the acoustic array signal; The characteristic frequency category clustering module is used to screen and cluster the characteristic frequency points extracted from all channel components of the acoustic array signal using the DBSCAN algorithm; The category center calculation module is used to calculate all category centers based on the constraint condition that the sum of distances from all characteristic frequency points to the center is minimum; The sound source position determination module is used to determine the position of the sound source according to the category center calculated by the category center calculation module as the characteristic frequency of the sound array signal.
10. A terminal comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is used to operate according to the instructions to execute the steps of the method according to any one of claims 1 to 8.
Citation Information
Cited By
Automobile complex part noise positioning method, device and equipment and computer readable medium
CN122307470A
