Closed space acoustic sensor array positioning method and device based on power line carrier
By employing a sound sensor array localization method under power line carrier, utilizing OFDM modulation and an improved generalized triple cross-correlation algorithm, the problem of reduced sound source localization accuracy caused by noise and reverberation interference in confined spaces is solved, achieving efficient sound source localization and saving sensor deployment costs.
Patent Information
- Application Number
- CN202411126324.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-11-22
AI Technical Summary
In enclosed spaces, noise and reverberation severely interfere with the localization of sound sources, reducing the accuracy of sound source localization. Traditional methods require laying a large number of cables for signal transmission, which consumes a lot of time and manpower.
A positioning method based on power line carrier acoustic sensor array is adopted. The signal is acquired by the acoustic sensor array, amplified and filtered, and then modulated by OFDM and coupled to the power line for transmission. After decoupling and demodulation at the receiving end, it is normalized at the PC end. The time delay value is calculated by combining the improved generalized triple cross-correlation algorithm and geometric positioning to achieve accurate positioning.
It improves the accuracy of sound source localization in enclosed spaces, reduces reliance on cables, saves manpower and material costs, and is suitable for low signal-to-noise ratio and high reverberation environments.
Smart Images

Figure CN119001609A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sound source positioning, and in particular to a method and device for positioning a closed space acoustic sensor array based on a power carrier. Background Art
[0002] In recent years, voice interaction technology has developed at an astonishing speed, which not only brings many conveniences to daily life, but also promotes profound changes in various industries. Among them, the application of array signal processing technology provides strong technical support for sound source positioning. Through the deployed acoustic sensor array, sound signal data is effectively obtained. These signals are then processed with the help of the sound source localization algorithm to determine the location of the sound source. At present, sound source localization technology has shown strong application potential and remarkable success in many fields. However, in complex environments, especially in confined spaces, noise and reverberation cause significant interference to sound source localization, resulting in large errors in the positioning results of traditional algorithms. Therefore, how to achieve high efficiency, real-time and accuracy of sound source localization is currently the main challenge facing this field. In addition, since a large number of sensors need to be deployed in the process of sound source localization, a large number of cables need to be laid for signal transmission under traditional methods, which undoubtedly requires a lot of time and human resources.
[0003] According to the differences in positioning principles, passive acoustic positioning algorithms are mainly divided into: acoustic positioning algorithm based on high-resolution spectrum estimation, controllable beamforming acoustic positioning algorithm based on maximum output power, and acoustic positioning algorithm based on arrival time difference.
[0004] 1. Sound localization algorithm based on high-resolution spectrum estimation:
[0005] In order to accurately determine the angle information of the target sound source, the high-resolution spectrum estimation acoustic localization algorithm analyzes the sound signals captured by multiple sensors, calculates the correlation matrix, and constructs the spatial spectrum. The main algorithms are: eigenvalue decomposition method (MUSIC), regression model method (AR), minimum variance method (MV), maximum entropy (ME) and ESPRIT method. In theory, these algorithms can achieve excellent target sound source angle prediction. However, in practical application scenarios, their performance is often unsatisfactory and does not fully achieve the expected effect. The main reasons are as follows: First, these algorithms often need to use the mean of the received signal to approximate the correlation matrix, but in the real environment, it is difficult to meet the conditions that the signal and noise are uncorrelated and the sound source signal is stable, resulting in the algorithm being too sensitive to noise and reverberation and insufficient robustness. In addition, these algorithms are more suitable for the positioning of far-field targets, but when facing near-field targets, especially in a closed environment, the positioning effect will be significantly reduced.
[0006] 2. Controllable beamforming acoustic positioning algorithm based on maximum output power:
[0007] The beamforming algorithm aims to sharpen the beam by suppressing the acoustic signals in non-target directions and focusing on the sound source in a specific direction. The process includes: filtering to eliminate noise, weighted summing and combining signals to form a beam, and adjusting the weights to search for the direction of maximum output power and determine the angle of the sound source. According to different classification standards, beamforming algorithms can be divided into two types: one is the traditional type (i.e., the delay-accumulation method) and the other is called adaptive beamforming. Among them, the traditional beamforming technology is based on the positioning data of the acoustic sensor in the array and the azimuth information of the expected sound signal, and the signal of each array element is processed using preset weights to calculate the angular displacement and coordinates of the target sound source. The adaptive beamforming law is superior in positioning performance. This algorithm can adaptively adjust the weighting value according to specific optimization criteria, effectively filter out the noise component in the signal, and thus more accurately locate and track the target sound source. This flexibility and adaptability make the adaptive beamforming method more accurate and reliable in practical applications.
[0008] Although the sound source localization technology of controllable beamforming has been widely used, this type of method requires a global optimal value search and is difficult to be applied in practice. Although some iterative methods can appropriately reduce the operation, it may result in the failure of searching for an effective global peak and the failure of positioning. In addition, beamforming technology relies on the spectral characteristics of the sound source signal, but in practice, it is difficult to obtain prior knowledge of the source signal, noise signal, reverberation signal, etc., which also limits the scope of application of this type of algorithm.
[0009] 3. Acoustic positioning algorithm based on arrival time difference:
[0010] The acoustic localization algorithm based on arrival time difference divides the process of locating the target sound source into two steps: delay estimation and sound source localization. First, the delay estimation is performed by using various algorithms such as generalized cross-correlation method, adaptive minimum mean square error delay estimation algorithm, and cross-power spectrum method to quantify the difference in the propagation time of the sound wave to each sensor relative to the reference sensor. Subsequently, in the sound source localization link, these delay values and sound speed are used to deduce the relative difference in the path length of the sound wave to each point in the array, and combined with the principle of geometric positioning, the precise positioning of the target sound source is finally achieved.
[0011] The positioning method based on time delay estimation has high positioning accuracy under certain noise and reverberation conditions, and the amount of calculation is much smaller than the controllable beamforming technology based on maximum output power and the spectrum estimation technology based on high resolution, which is suitable for practical applications. In addition, by optimizing the time delay estimation algorithm, very good positioning results can be achieved even in low signal-to-noise ratio and high reverberation environments.
[0012] Therefore, how to invent a sound source localization optimization method based on the sound localization algorithm of arrival time delay difference and give full play to the advantages of microphone array sound source localization technology by improving the existing algorithm has become an urgent problem to be solved. Summary of the invention
[0013] To this end, the present invention provides a method and device for positioning an acoustic sensor array in a confined space under a power carrier. Under the communication mode of the power carrier, the method improves the existing algorithm based on the acoustic positioning algorithm of the arrival delay difference, and gives full play to the advantages of the microphone array sound source positioning technology, so as to solve the problems that the sound source positioning accuracy is greatly reduced due to serious interference from noise and reverberation in a confined space, and the traditional method needs to lay a large number of cables for signal transmission, resulting in a large amount of time and human resources.
[0014] In order to achieve the above object, the present invention provides the following technical solution: a closed space acoustic sensor array positioning method based on a power line carrier, comprising:
[0015] Acquire the sound source signal through the sound sensor array, and amplify and filter the acquired sound source signal to obtain the sound source analog signal; acquire the sound source analog signal through the acquisition card to obtain the sound source digital signal;
[0016] Modulating the sound source digital signal through OFDM to obtain a high-frequency analog signal;
[0017] coupling the high-frequency analog signal into a power line, and transmitting the high-frequency analog signal to a receiving end through the power line;
[0018] At the receiving end, the high-frequency analog signal is decoupled and demodulated to obtain the sound source digital signal, and the sound source digital signal is transmitted to the PC end;
[0019] After receiving the sound source digital signal, the PC end performs normalization processing on the sound source digital signal to obtain a normalized sound source signal;
[0020] By setting an improved algorithm to calculate the normalized sound source signal, a delay value is obtained;
[0021] According to the obtained time delay value and sound speed, the relative difference of the path length from the sound wave to each point of the array is obtained by calculation, and combined with the principle of geometric positioning, the precise positioning of the target sound source position is achieved.
[0022] As a preferred solution of the closed space acoustic sensor array positioning method under power carrier, in the process of acquiring the sound source signal through the acoustic sensor array, amplifying and filtering the acquired sound source signal, and obtaining the sound source simulation signal, the sound source signal is amplified by setting a signal amplification component; and the amplified sound source signal is filtered by a pre-bandpass filter.
[0023] As a preferred solution of the method for positioning an acoustic sensor array in a closed space based on a power carrier, in the process of coupling the high-frequency analog signal into the power line and transmitting the high-frequency analog signal to the receiving end through the power line, the high-frequency analog signal obtained after modulation processing is connected to the power network through a coupling unit to realize the carrier effect of the power line.
[0024] As a preferred solution of the closed space acoustic sensor array positioning method based on the power carrier, in the process of normalizing the sound source digital signal to obtain the normalized sound source signal, the sound source digital signal is normalized by the Min-Max normalization strategy, and the expression of the Min-Max normalization strategy is:
[0025]
[0026] In the formula, x is the data point; x' is the normalized data point; x min is the minimum data point in the data set; x max is the largest data point in the dataset.
[0027] As a preferred solution of the closed space acoustic sensor array positioning method based on power carrier, in the process of calculating the normalized sound source signal by setting an improved algorithm to obtain the time delay value, the set improved algorithm is a generalized cubic cross-correlation algorithm based on SCOT / PHAT weighting; the steps of calculating and obtaining the time delay value by the generalized cubic cross-correlation algorithm are:
[0028] Perform autocorrelation operations on the two signals respectively to obtain two autocorrelation functions;
[0029] Perform cross-correlation operation on the two signals to obtain the cross-correlation function;
[0030] Performing a cross-correlation operation on the two autocorrelation functions and the cross-correlation function to obtain a cross-power spectrum density;
[0031] Processing the cross power spectrum density by a weighting function to obtain a weighted cross power spectrum;
[0032] Performing inverse Fourier transform processing on the weighted cross power spectrum to obtain a generalized cubic cross correlation function;
[0033] The generalized cubic cross-correlation function is detected to obtain the maximum peak value of the generalized cubic cross-correlation function; the time corresponding to the maximum peak value is the delay value, and the sound source position is solved according to the obtained delay value combined with the geometric positioning algorithm.
[0034] The present invention also provides a closed space acoustic sensor array positioning device based on a power carrier, based on the above closed space acoustic sensor array positioning method based on a power carrier, comprising:
[0035] The sound source digital signal acquisition module is used to acquire the sound source signal through the sound sensor array, and amplify and filter the acquired sound source signal to obtain the sound source analog signal; the sound source analog signal is acquired through the acquisition card to obtain the sound source digital signal;
[0036] A sound source digital signal modulation module is used to modulate the sound source digital signal through OFDM to obtain a high-frequency analog signal;
[0037] A high-frequency analog signal coupling module, used for coupling the high-frequency analog signal into the power line, and transmitting the high-frequency analog signal to the receiving end through the power line;
[0038] A high-frequency analog signal demodulation module is used to decouple and demodulate the high-frequency analog signal at the receiving end to obtain the sound source digital signal, and transmit the sound source digital signal to the PC end;
[0039] A sound source signal normalization module, used for normalizing the sound source digital signal after the PC receives the sound source digital signal, to obtain a normalized sound source signal;
[0040] A sound source signal delay value acquisition module, used to calculate the normalized sound source signal by setting an improved algorithm to obtain a delay value;
[0041] The sound source localization module is used to obtain the relative difference in the path length from the sound wave to each point in the array by calculating the delay value and the speed of sound, and to accurately locate the target sound source by combining the geometric positioning principle.
[0042] As a preferred solution for the closed space acoustic sensor array positioning device under power carrier, in the sound source digital signal acquisition module, in the process of acquiring the sound source signal through the acoustic sensor array, amplifying and filtering the acquired sound source signal, and obtaining the sound source analog signal, the sound source signal is amplified by setting the signal amplification component; and the amplified sound source signal is filtered by the pre-bandpass filter.
[0043] As a preferred solution for the enclosed space acoustic sensor array positioning device based on power carrier, in the high-frequency analog signal coupling module, in the process of coupling the high-frequency analog signal into the power line and transmitting the high-frequency analog signal to the receiving end through the power line, the high-frequency analog signal obtained after modulation processing is connected to the power network through the coupling unit to realize the carrier effect of the power line.
[0044] As a preferred solution of the closed space acoustic sensor array positioning device based on the power carrier, in the sound source signal normalization module, in the process of normalizing the sound source digital signal to obtain the normalized sound source signal, the sound source digital signal is normalized by the Min-Max normalization strategy, and the expression of the Min-Max normalization strategy is:
[0045]
[0046] In the formula, x is the data point; x' is the normalized data point; x min is the minimum data point in the data set; x max is the largest data point in the dataset.
[0047] As a preferred solution of the closed space acoustic sensor array positioning device based on the power carrier, the sound source signal delay value acquisition module includes:
[0048] The signal autocorrelation transport submodule is used to perform autocorrelation operations on the two signals respectively to obtain two autocorrelation functions;
[0049] The signal cross-correlation operation submodule is used to perform cross-correlation operation on two signals to obtain a cross-correlation function;
[0050] A cross-power spectrum density operation submodule, used for performing a cross-correlation operation on the two autocorrelation functions and the cross-correlation function to obtain a cross-power spectrum density;
[0051] A cross-power spectrum weighting submodule, used for processing the cross-power spectrum density by a weighting function to obtain a weighted cross-power spectrum;
[0052] An inverse Fourier transform submodule, used for performing inverse Fourier transform processing on the weighted cross power spectrum to obtain a generalized cubic cross correlation function;
[0053] The maximum peak detection submodule is used to detect the generalized cubic cross-correlation function to obtain the maximum peak of the generalized cubic cross-correlation function; the time corresponding to the maximum peak is the delay value, and the sound source position is solved based on the obtained delay value combined with the geometric positioning algorithm.
[0054] The present invention has the following advantages: obtaining a sound source signal through an acoustic sensor array, and amplifying and filtering the obtained sound source signal to obtain a sound source analog signal; collecting the sound source analog signal through an acquisition card to obtain a sound source digital signal; modulating the sound source digital signal through an OFDM method to obtain a high-frequency analog signal; coupling the high-frequency analog signal to a power line, and transmitting the high-frequency analog signal to a receiving end through the power line; at the receiving end, decoupling and demodulating the high-frequency analog signal to obtain the sound source digital signal, and transmitting the sound source digital signal to a PC end; after the PC end receives the sound source digital signal, normalizing the sound source digital signal to obtain a normalized sound source signal; calculating the normalized sound source signal by setting an improved algorithm to obtain a time delay value; according to the obtained time delay value and sound speed, the relative difference in the path length from the sound wave to each point of the array is obtained by calculation, and combined with the geometric positioning principle, the precise positioning of the target sound source position is achieved. The positioning method based on delay estimation of the present invention has high positioning accuracy under certain noise and reverberation conditions, and the amount of calculation is much smaller than the controllable beamforming technology based on maximum output power and the spectrum estimation technology based on high resolution, so it is suitable for practical applications. In addition, by optimizing the delay estimation algorithm, very good positioning results can be achieved even in an environment with low signal-to-noise ratio and high reverberation. The present invention solves the problem that the accuracy of sound source positioning in a confined space is greatly reduced due to severe interference from noise and reverberation, and that the traditional method requires a large number of cables to be laid for signal transmission, resulting in a large amount of time and human resources. The present invention is of great significance for improving the accuracy of sound source positioning in a confined space, saving manpower and material costs, and improving the efficiency of early sensor deployment. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.
[0056] The structures, proportions, sizes, etc. illustrated in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with the technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantial technical significance. Any structural modification, change in proportion or adjustment of size shall still fall within the scope of the technical contents disclosed in the present invention without affecting the effects and purposes that can be achieved by the present invention.
[0057] Figure 1This is a schematic flow chart of a method for positioning an acoustic sensor array in a confined space based on a power carrier provided in Example 1 of the present invention;
[0058] Figure 2 This is a schematic diagram of a specific implementation process of the method for positioning an acoustic sensor array in a confined space based on a power carrier provided in Example 1 of the present invention;
[0059] Figure 3 This is a schematic diagram of the operation of a power line carrier communication device in the closed space acoustic sensor array positioning method based on a power line carrier provided in Example 1 of the present invention;
[0060] Figure 4 It is a schematic diagram of the principle of the generalized cubic cross-correlation algorithm in the closed space acoustic sensor array positioning method based on the power carrier provided in Example 1 of the present invention;
[0061] Figure 5 This is a schematic diagram of the architecture of the enclosed space acoustic sensor array positioning device based on power carrier provided in Example 2 of the present invention. DETAILED DESCRIPTION
[0062] The following is a description of the implementation of the present invention by specific embodiments. People familiar with the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Obviously, the described embodiments are 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.
[0063] Example 1
[0064] See also Figure 1 Embodiment 1 of the present invention provides a method for positioning an acoustic sensor array in a confined space based on a power carrier, comprising the following steps:
[0065] S1, acquiring a sound source signal through an acoustic sensor array, and amplifying and filtering the acquired sound source signal to obtain a sound source analog signal; acquiring the sound source analog signal through an acquisition card to obtain a sound source digital signal;
[0066] S2, modulating the sound source digital signal through OFDM to obtain a high-frequency analog signal;
[0067] S3, coupling the high-frequency analog signal into a power line, and transmitting the high-frequency analog signal to a receiving end through the power line;
[0068] S4, at the receiving end, decoupling and demodulating the high-frequency analog signal to obtain the sound source digital signal, and transmitting the sound source digital signal to the PC end;
[0069] S5. After receiving the sound source digital signal, the PC end normalizes the sound source digital signal to obtain a normalized sound source signal;
[0070] S6. Calculating the normalized sound source signal by setting an improved algorithm to obtain a delay value;
[0071] S7. According to the obtained time delay value and sound speed, the relative difference of the path length from the sound wave to each point of the array is obtained by calculation, and the target sound source position is accurately located in combination with the geometric positioning principle.
[0072] In this embodiment, in step S1, in the process of acquiring a sound source signal through an acoustic sensor array, amplifying and filtering the acquired sound source signal, and obtaining the sound source simulation signal, the sound source signal is amplified by setting a signal amplification component; and the amplified sound source signal is filtered by a pre-bandpass filter.
[0073] Specifically, since the electrical signal output by the acoustic sensor is weak, in order to ensure the filtering effect, the signal must be amplified before entering the filtering stage. The present invention uses LM358 as a signal amplification component to amplify the acoustic signal.
[0074] In a complex sound field environment, the sound signal is a mixture of the target sound source and multiple background noises. These noises are often intertwined with the target signal in the spectrum, especially when the frequency of the target signal is low, it is more susceptible to the masking of environmental noise. In order to improve the system's ability to effectively distinguish and lock the target sound source signal, the strategy adopted is to pre-bandpass filter in the data acquisition stage, aiming to filter out irrelevant noise interference outside the target signal frequency band. Bandpass filter, as a basic signal processing tool, is usually composed of components such as inductors and capacitors. Its working principle is to selectively attenuate high-frequency and low-frequency signals, thereby enhancing the useful signal in the target frequency band and separating the mixed AC and DC signals. In the present invention, since the located sound sources are all within the human hearing range, that is, the frequency is approximately between 20HZ and 20KHZ, the present invention sets the upper and lower cutoff frequencies of the bandpass filter to 20KHZ and 20HZ respectively to ensure that the signal gain in the passband is 1. The cutoff frequency calculation formula of the filter is:
[0075]
[0076] In the formula, f c is the cut-off frequency; R is the resistance; C is the capacitance.
[0077] For the upper cutoff frequency of the filter:
[0078]
[0079] In the formula, R H =1kΩ, C H ≈8.2μF;
[0080] For the lower cutoff frequency of the filter:
[0081]
[0082] In the formula, R L =1kΩ, C L ≈7.52μF.
[0083] In this embodiment, in step S1, the process further includes collecting the sound source analog signal through an acquisition card to obtain a sound source digital signal.
[0084] Specifically, the sound sources located by the present invention are all within the human hearing range, and the human hearing frequency range is about 20HZ to 20KHZ. According to the sampling theorem, in order to restore the original signal without distortion, the sampling frequency is greater than or equal to twice the highest frequency of the effective signal. Therefore, only when the sampling rate is higher than 40KHZ can all the sound signals collected within the human hearing frequency range be restored without distortion. In addition, since the present invention has strict requirements on time accuracy, it is very necessary to collect the signal synchronously.
[0085] After referring to relevant materials, the present invention decided to use AD7606 as the A / D conversion chip. AD7606 is a powerful 16-bit 8-channel synchronous data acquisition chip, which integrates multiple key functions to meet the needs of high-precision data acquisition, and the sampling rate is as high as 200Ksps.
[0086] In this embodiment, in step S2, the sound source digital signal is modulated by OFDM to obtain a high-frequency analog signal;
[0087] Specifically, the OFDM modulation method is to modulate the digital signal of the sound source through the modulation and demodulation module to obtain a high-frequency analog signal; the modulation and demodulation module is the signal processing unit of the power line carrier system, including a DSP digital signal processing unit and signal filtering, amplifier and other components. The communication method between the DSP and the interface unit is a two-way communication based on the MAC protocol. The data signal of the interface is transmitted to the peripheral circuit after being encoded, modulated and processed in the modulation and demodulation unit. In the peripheral circuit, the data signal is subjected to operations such as amplifiers, filters and digital-to-analog conversion, and finally decoded, demodulated and transmitted to the device terminal.
[0088] OFDM modulation has the following advantages:
[0089] 1. OFDM reduces the dispersion phenomenon caused by multipath reflection, prolongs the signal transmission period, and increases the signal noise reduction and interference removal capabilities;
[0090] Second, it effectively overcomes the impact of frequency fluctuation and multi-signal processing, and reduces the channel equalization adjustment process;
[0091] 3. OFDM technology has high frequency band utilization, which is mainly due to the orthogonal characteristics of subchannel carriers;
[0092] 4. The carrier communication system adopts OFDM modulation technology, and the signal transmission speed is fast, which can reach 100Mbps or even higher;
[0093] 5. It is flexible, portable and adaptable.
[0094] In this embodiment, in step S3, the high-frequency analog signal is coupled to the power line, and the high-frequency analog signal is transmitted to the receiving end through the power line;
[0095] Specifically, Figure 3 As shown, the coupling unit combines the current transmission line and the signal transmission line, and is a bridge for power line carrier communication. The coupling unit connects the high-frequency analog signal of the modulation and demodulation module to the power network to realize the carrier function of the power line.
[0096] In this embodiment, in step S4, at the receiving end, the high-frequency analog signal is decoupled and demodulated to obtain the sound source digital signal, and the sound source digital signal is transmitted to the PC end;
[0097] Specifically, through the modulation and coupling steps of steps S2 and S3, reverse decoupling and demodulation are performed to obtain the sound source digital signal.
[0098] In this embodiment, in step S5, after receiving the sound source digital signal, the PC end normalizes the sound source digital signal to obtain a normalized sound source signal;
[0099] Specifically, the sound source digital signal is normalized by the Min-Max normalization strategy; the Min-Max normalization strategy is to scale the original data to the interval [0,1] to retain the intrinsic relationship of the data, by calculating the difference between each data point and the minimum and maximum values in the data set, and scaling it to the interval without changing the distribution characteristics of the data. This standardization process helps to better process the collected data and improve the accuracy of delay estimation.
[0100] Its expression is:
[0101]
[0102] In the formula, x is the data point; x' is the normalized data point; x min is the minimum data point in the data set; x max is the largest data point in the dataset.
[0103] In this embodiment, in step S6, the normalized sound source signal is calculated by setting an improved algorithm to obtain a time delay value; the set improved algorithm is a generalized cubic cross-correlation algorithm based on SCOT / PHAT weighting; the step of calculating and obtaining the time delay value by the generalized cubic cross-correlation algorithm is:
[0104] S61, performing autocorrelation operations on the two signals respectively to obtain two autocorrelation functions;
[0105] S62, performing a cross-correlation operation on the two signals to obtain a cross-correlation function;
[0106] S63, performing a cross-correlation operation on the two autocorrelation functions and the cross-correlation function to obtain a cross-power spectrum density;
[0107] S64, processing the cross power spectrum density by a weighting function to obtain a weighted cross power spectrum;
[0108] S65, performing inverse Fourier transform processing on the weighted cross power spectrum to obtain a generalized cubic cross correlation function;
[0109] S66. Detect the generalized cubic cross-correlation function to obtain the maximum peak of the generalized cubic cross-correlation function; the time corresponding to the maximum peak is the delay value, and the sound source position is solved according to the obtained delay value combined with the geometric positioning algorithm.
[0110] Specifically, in a confined space, the sound source localization accuracy is greatly reduced due to serious interference from noise and reverberation. First, the signal can be correlated multiple times to reduce the impact of noise to improve the noise resistance of the signal, such as cubic correlation; secondly, a more appropriate weighting function can be selected to reduce the impact of reverberation. Therefore, in response to this problem, the present invention proposes a new algorithm - a generalized cubic cross-correlation algorithm based on SCOT / PHAT weighting. The generalized cubic cross-correlation method is a further optimization of the generalized binary cross-correlation algorithm. The algorithm first performs a weighting on the signal x. i (t), x j (t) perform autocorrelation operations respectively, and then convert the two signals x j (t), x i(t) performs a cross-correlation operation, and finally performs a cross-correlation operation on the two autocorrelation functions and the cross-correlation function obtained in the above three steps, and then uses a weighting function to process the cross-power spectrum density to obtain a weighted cross-power spectrum. Finally, the obtained weighted cross-power spectrum is subjected to an inverse Fourier transform to obtain a generalized cubic cross-correlation function, and then the maximum peak value of the function is detected, and the time corresponding to the maximum value is the delay value. The principle diagram of the generalized cubic cross-correlation method is shown in the figure below: Figure 4 shown.
[0111] Different selected weighting functions will derive different delay estimation algorithms. Studies have shown that GCC-PHAT and GCC-SCOT have demonstrated excellent performance in the field of delay estimation, especially in dealing with noise interference and reverberation effects, especially under general conditions. However, when faced with extremely low signal-to-noise ratio or severe reverberation, the delay estimation accuracy of these two algorithms will drop significantly. In order to overcome this limitation, the present invention improves an improved algorithm based on generalized cubic cross-correlation, aiming to improve the delay estimation accuracy under high reverberation and low signal-to-noise ratio conditions.
[0112] The specific expression of the PHAT weighting function in the case of a dual-channel input signal is:
[0113]
[0114] It can be seen from the above formula that the cross-power spectrum of the two signals after adding the PHAT weighting factor behaves like a unit impulse response, and it shows a significant peak feature in the frequency domain, which means that PHAT weighting is equivalent to whitening the signal, thereby achieving peak sharpening by reducing noise and reducing the impact of reverberation.
[0115] The expression of SCOT weighting function is:
[0116]
[0117] It can be seen from the above formula that under high signal-to-noise ratio conditions, the cross-correlation algorithm using SCOT weighting can effectively deal with the delay estimation interference caused by the volatility of the sound source signal, and improve the accuracy of the delay estimation. Therefore, in theory, these two weighting functions can be combined in the algorithm to suppress reverberation and noise. Therefore, the present invention provides a new weighting function SOCT / PHAT, and the new weighting factor is:
[0118]
[0119] Right now:
[0120]
[0121] The improved weighting function is compatible with the characteristics of PHAT and SCOT. PHAT is equivalent to whitening filtering, which can suppress noise and reverberation, while SCOT suppresses the periodic components of the signal. In the commonly used delay estimation algorithm, SCOT / PHAT weighting has been applied, and the estimation accuracy is higher than PHAT and SCOT weighting at low signal-to-noise ratio.
[0122] In this embodiment, in step S7, the relative difference in the path length from the sound wave to each point in the array is obtained by calculation based on the obtained time delay value and sound speed, and combined with the principle of geometric positioning, the precise positioning of the target sound source is achieved.
[0123] In summary, the present invention obtains a sound source signal through an acoustic sensor array, and amplifies and filters the obtained sound source signal to obtain a sound source analog signal; collects the sound source analog signal through an acquisition card to obtain a sound source digital signal; modulates the sound source digital signal through an OFDM method to obtain a high-frequency analog signal; couples the high-frequency analog signal to a power line, and transmits the high-frequency analog signal to a receiving end through the power line; at the receiving end, decouples and demodulates the high-frequency analog signal to obtain the sound source digital signal, and transmits the sound source digital signal to a PC end; after the PC end receives the sound source digital signal, the sound source digital signal is normalized to obtain a normalized sound source signal; the normalized sound source signal is calculated by setting an improved algorithm to obtain a time delay value; according to the obtained time delay value and sound speed, the relative difference in the path length from the sound wave to each point of the array is obtained by calculation, and combined with the geometric positioning principle, the precise positioning of the target sound source position is achieved. The positioning method based on delay estimation of the present invention has high positioning accuracy under certain noise and reverberation conditions, and the amount of calculation is much smaller than the controllable beamforming technology based on maximum output power and the spectrum estimation technology based on high resolution, so it is suitable for practical applications. In addition, by optimizing the delay estimation algorithm, very good positioning results can be achieved even in an environment with low signal-to-noise ratio and high reverberation. The present invention solves the problem that the accuracy of sound source positioning in a confined space is greatly reduced due to severe interference from noise and reverberation, and that the traditional method requires a large number of cables to be laid for signal transmission, resulting in a large amount of time and human resources. The present invention is of great significance for improving the accuracy of sound source positioning in a confined space, saving manpower and material costs, and improving the efficiency of early sensor deployment.
[0124] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.
[0125] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0126] Example 2
[0127] See also Figure 5 Embodiment 2 of the present invention further provides a closed space acoustic sensor array positioning device based on a power carrier, including:
[0128] The sound source digital signal acquisition module 001 is used to acquire the sound source signal through the sound sensor array, and amplify and filter the acquired sound source signal to obtain the sound source analog signal; collect the sound source analog signal through the acquisition card to obtain the sound source digital signal;
[0129] The sound source digital signal modulation module 002 is used to modulate the sound source digital signal through OFDM to obtain a high-frequency analog signal;
[0130] A high-frequency analog signal coupling module 003 is used to couple the high-frequency analog signal to the power line and transmit the high-frequency analog signal to the receiving end through the power line;
[0131] A high-frequency analog signal demodulation module 004 is used to decouple and demodulate the high-frequency analog signal at the receiving end to obtain the sound source digital signal, and transmit the sound source digital signal to the PC end;
[0132] The sound source signal normalization module 005 is used for normalizing the sound source digital signal after the PC receives the sound source digital signal to obtain a normalized sound source signal;
[0133] The sound source signal delay value acquisition module 006 is used to calculate the normalized sound source signal by setting an improved algorithm to obtain a delay value;
[0134] The sound source localization module 007 is used to obtain the relative difference in the path length from the sound wave to each point of the array by calculation according to the obtained time delay value and sound speed, and combine the geometric positioning principle to achieve accurate positioning of the target sound source position.
[0135] In this embodiment, in the sound source digital signal acquisition module 001, in the process of acquiring the sound source signal through the sound sensor array, amplifying and filtering the acquired sound source signal, and obtaining the sound source analog signal, the sound source signal is amplified by setting the signal amplification component; and the amplified sound source signal is filtered by the pre-bandpass filter.
[0136] In this embodiment, in the high-frequency analog signal coupling module 003, in the process of coupling the high-frequency analog signal into the power line and transmitting the high-frequency analog signal to the receiving end through the power line, the high-frequency analog signal obtained after modulation processing is connected to the power network through the coupling unit to realize the carrier effect of the power line.
[0137] In this embodiment, in the sound source signal normalization module 005, in the process of normalizing the sound source digital signal to obtain the normalized sound source signal, the sound source digital signal is normalized by using the Min-Max normalization strategy, and the expression of the Min-Max normalization strategy is:
[0138]
[0139] In the formula, x is the data point; x' is the normalized data point; x min is the minimum data point in the data set; x max is the largest data point in the dataset.
[0140] In this embodiment, the sound source signal delay value acquisition module 006 includes:
[0141] The signal autocorrelation transport submodule 061 is used to perform autocorrelation operations on the two signals respectively to obtain two autocorrelation functions;
[0142] The signal cross-correlation operation submodule 062 is used to perform a cross-correlation operation on two signals to obtain a cross-correlation function;
[0143] A cross-power spectrum density operation submodule 063 is used to perform a cross-correlation operation on the two autocorrelation functions and the cross-correlation function to obtain a cross-power spectrum density;
[0144] A cross-power spectrum weighting submodule 064, used for processing the cross-power spectrum density by a weighting function to obtain a weighted cross-power spectrum;
[0145] An inverse Fourier transform submodule 065 is used to perform inverse Fourier transform processing on the weighted cross power spectrum to obtain a generalized cubic cross correlation function;
[0146] The maximum peak detection submodule 066 is used to detect the generalized cubic cross-correlation function to obtain the maximum peak of the generalized cubic cross-correlation function; the time corresponding to the maximum peak is the delay value, and the sound source position is solved based on the obtained delay value combined with the geometric positioning algorithm.
[0147] It should be noted that the information interaction, execution process and other contents between the modules of the above-mentioned system are based on the same concept as the method embodiment in Example 1 of the present application, and the technical effects they bring are the same as those of the method embodiment of the present application. For specific contents, please refer to the description in the method embodiment shown above in the present application, and will not be repeated here.
[0148] Example 3
[0149] Embodiment 3 of the present invention provides a non-transitory computer-readable storage medium, in which a program code for a method for positioning a confined space acoustic sensor array under a power carrier is stored. The program code includes instructions for executing embodiment 1 or any possible implementation method of the method for positioning a confined space acoustic sensor array under a power carrier.
[0150] The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).
[0151] Example 4
[0152] Embodiment 4 of the present invention provides an electronic device, including: a memory and a processor;
[0153] The processor and the memory communicate with each other via a bus; the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the closed space acoustic sensor array positioning method based on power carrier of Example 1 or any possible implementation thereof.
[0154] Specifically, the processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor implemented by reading software codes stored in a memory. The memory can be integrated in the processor or can be located outside the processor and exist independently.
[0155] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable systems. The computer instructions can be stored in a computer-readable storage medium, or transmitted from a computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center.
[0156] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing system, they can be concentrated on a single computing system, or distributed on a network composed of multiple computing systems, and optionally, they can be implemented by a program code executable by a computing system, so that they can be stored in a storage system and executed by the computing system, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0157] Although the present invention has been described in detail above by general description and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements can be made to the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all belong to the scope of protection claimed by the present invention.
Claims
1. A closed space acoustic sensor array positioning method based on power carrier, characterized in that: include: Acquire the sound source signal through the sound sensor array, and amplify and filter the acquired sound source signal to obtain the sound source analog signal; acquire the sound source analog signal through the acquisition card to obtain the sound source digital signal; Modulating the sound source digital signal through OFDM to obtain a high-frequency analog signal; coupling the high-frequency analog signal into a power line, and transmitting the high-frequency analog signal to a receiving end through the power line; At the receiving end, the high-frequency analog signal is decoupled and demodulated to obtain the sound source digital signal, and the sound source digital signal is transmitted to the PC end; After receiving the sound source digital signal, the PC end performs normalization processing on the sound source digital signal to obtain a normalized sound source signal; By setting an improved algorithm to calculate the normalized sound source signal, a delay value is obtained; According to the obtained time delay value and sound speed, the relative difference of the path length from the sound wave to each point of the array is obtained by calculation, and combined with the principle of geometric positioning, the precise positioning of the target sound source position is achieved.
2. The method for positioning a closed space acoustic sensor array based on a power line carrier according to claim 1, characterized in that: In the process of acquiring the sound source signal through the sound sensor array, amplifying and filtering the acquired sound source signal, and obtaining the sound source simulation signal, the sound source signal is amplified by setting a signal amplification component; and the amplified sound source signal is filtered by a pre-bandpass filter.
3. The method for positioning a closed space acoustic sensor array based on a power line carrier according to claim 2, characterized in that: In the process of coupling the high-frequency analog signal into the power line and transmitting the high-frequency analog signal to the receiving end through the power line, the high-frequency analog signal obtained after modulation processing is connected to the power network through the coupling unit to realize the carrier function of the power line.
4. The method for positioning a closed space acoustic sensor array based on a power line carrier according to claim 3 is characterized in that: In the process of normalizing the sound source digital signal to obtain the normalized sound source signal, the sound source digital signal is normalized by using a Min-Max normalization strategy, and the expression of the Min-Max normalization strategy is: In the formula, x is the data point; x' is the normalized data point; x min is the minimum data point in the data set; x max is the largest data point in the dataset.
5. The method for positioning a closed space acoustic sensor array based on a power line carrier according to claim 4 is characterized in that: In the process of calculating the normalized sound source signal by setting an improved algorithm to obtain the time delay value, the improved algorithm is a generalized cubic cross-correlation algorithm based on SCOT / PHAT weighting; and the steps of calculating and obtaining the time delay value by the generalized cubic cross-correlation algorithm are as follows: Perform autocorrelation operations on the two signals respectively to obtain two autocorrelation functions; Perform cross-correlation operation on the two signals to obtain the cross-correlation function; Performing a cross-correlation operation on the two autocorrelation functions and the cross-correlation function to obtain a cross-power spectrum density; Processing the cross power spectrum density by a weighting function to obtain a weighted cross power spectrum; Performing inverse Fourier transform processing on the weighted cross power spectrum to obtain a generalized cubic cross correlation function; The generalized cubic cross-correlation function is detected to obtain a maximum peak value of the generalized cubic cross-correlation function; the time corresponding to the maximum peak value is the delay value.
6. A closed space acoustic sensor array positioning device based on a power carrier, using a closed space acoustic sensor array positioning method based on a power carrier according to any one of claims 1 to 5, characterized in that: include: The sound source digital signal acquisition module is used to acquire the sound source signal through the sound sensor array, and amplify and filter the acquired sound source signal to obtain the sound source analog signal; the sound source analog signal is acquired through the acquisition card to obtain the sound source digital signal; A sound source digital signal modulation module is used to modulate the sound source digital signal through OFDM to obtain a high-frequency analog signal; A high-frequency analog signal coupling module, used for coupling the high-frequency analog signal into the power line, and transmitting the high-frequency analog signal to the receiving end through the power line; A high-frequency analog signal demodulation module is used to decouple and demodulate the high-frequency analog signal at the receiving end to obtain the sound source digital signal, and transmit the sound source digital signal to the PC end; A sound source signal normalization module, used for normalizing the sound source digital signal after the PC receives the sound source digital signal, to obtain a normalized sound source signal; A sound source signal delay value acquisition module, used to calculate the normalized sound source signal by setting an improved algorithm to obtain a delay value; The sound source localization module is used to obtain the relative difference in the path length from the sound wave to each point in the array by calculating the delay value and the speed of sound, and to accurately locate the target sound source by combining the geometric positioning principle.
7. The enclosed space acoustic sensor array positioning device based on power carrier according to claim 6 is characterized in that: In the sound source digital signal acquisition module, in the process of acquiring the sound source signal through the sound sensor array, amplifying and filtering the acquired sound source signal, and obtaining the sound source analog signal, the sound source signal is amplified by setting the signal amplification component; and the amplified sound source signal is filtered by the pre-bandpass filter.
8. The enclosed space acoustic sensor array positioning device based on power carrier according to claim 7 is characterized in that: In the high-frequency analog signal coupling module, in the process of coupling the high-frequency analog signal into the power line and transmitting the high-frequency analog signal to the receiving end through the power line, the high-frequency analog signal obtained after modulation processing is connected to the power network through the coupling unit to realize the carrier function of the power line.
9. The enclosed space acoustic sensor array positioning device based on power carrier according to claim 8, characterized in that: In the sound source signal normalization module, in the process of normalizing the sound source digital signal to obtain the normalized sound source signal, the sound source digital signal is normalized by using the Min-Max normalization strategy, and the expression of the Min-Max normalization strategy is: In the formula, x is the data point; x' is the normalized data point; x min is the minimum data point in the data set; x max is the largest data point in the dataset.
10. The enclosed space acoustic sensor array positioning device based on power carrier according to claim 9, characterized in that: The sound source signal delay value acquisition module includes: The signal autocorrelation transport submodule is used to perform autocorrelation operations on the two signals respectively to obtain two autocorrelation functions; The signal cross-correlation operation submodule is used to perform cross-correlation operation on two signals to obtain a cross-correlation function; A cross-power spectrum density operation submodule, used for performing a cross-correlation operation on the two autocorrelation functions and the cross-correlation function to obtain a cross-power spectrum density; A cross-power spectrum weighting submodule, used for processing the cross-power spectrum density by a weighting function to obtain a weighted cross-power spectrum; An inverse Fourier transform submodule, used for performing inverse Fourier transform processing on the weighted cross power spectrum to obtain a generalized cubic cross correlation function; The maximum peak detection submodule is used to detect the generalized cubic cross-correlation function to obtain the maximum peak of the generalized cubic cross-correlation function; the time corresponding to the maximum peak is the delay value, and the sound source position is solved based on the obtained delay value combined with the geometric positioning algorithm.
