A sound source positioning system in mines
By using the optimized GCC-PHAT algorithm for acoustic positioning in mines, we solve the problems of high accuracy, cost, and insufficient interference robustness of existing underground positioning technology, and achieve high-precision, real-time, and low-cost positioning of underground equipment and personnel. .
Patent Information
- Application Number
- CN202311828493.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-27
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-12-27
AI Technical Summary
Existing underground positioning technologies, such as RFID, ZigBee and UWB, are difficult to achieve high-precision, real-time, and low-cost positioning of underground equipment and personnel, especially in complex mine environments, and are not robust enough to interference and cannot achieve deep positioning. cover.
An acoustic positioning system based on the optimized GCC-PHAT algorithm is used to collect sound signals through the sound-generating device and microphone array carried by the miners. The computer-side signal processing is used to estimate the time delay, and the position estimation algorithm is combined to determine the position of the sound-generating device to achieve acoustic positioning.
It achieves high-precision, real-time positioning in mines, has strong robustness to interference, deep coverage capabilities, and low system cost. It is suitable for positioning underground equipment and personnel in complex environments.
Smart Images

Figure CN117826081B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of positioning technology, and in particular to a sound source positioning system in a mine. Background Art
[0002] Underground coal mining requires the deployment of a large number of equipment, vehicles, and personnel underground. Various disasters and accidents caused by natural or man-made factors pose a great threat to the personal safety of underground workers. Effective organization and management of underground personnel and vehicles, as well as rescue of accidents and disasters, require accurate location data of underground personnel, vehicles, and equipment. Remote control and intelligent control of underground equipment are inseparable from real-time and accurate location data of underground equipment.
[0003] The positioning technologies currently used underground are: RFID (Radio Frequency Identification) positioning technology, ZigBee positioning technology and UWB (Ultra-Wideband) positioning technology in order of positioning accuracy from low to high. However, RFID positioning technology is only regional positioning, which can only determine the area where the target is located, but cannot determine the specific location of the target; ZigBee positioning technology has limited positioning accuracy and can only obtain rough location data, which cannot meet the requirements of real-time vehicle monitoring and real-time equipment control; UWB positioning technology has a high deployment cost and requires the deployment of a base station network. It also has high requirements for the system, requiring a complete base station network, positioning algorithm and data processing system. Summary of the invention
[0004] The present invention aims to solve one of the technical problems in the related art at least to a certain extent.
[0005] To this end, the present invention proposes a sound source positioning system in a mine to realize acoustic positioning in a mine based on an optimized GCC-PHAT algorithm (Generalized Cross Correlation PHAse Transformation). Compared with the existing underground positioning technology, the system has the advantages of high positioning accuracy, good real-time performance, no need for complex infrastructure, good robustness to interference, deep coverage, utilization of multipath effects, and relatively low system cost.
[0006] The sound source positioning system for underground mines of the present invention comprises: a sound generating device, a microphone array, a signal amplifying circuit, a signal collecting circuit and a computer terminal;
[0007] Wherein, the sound-generating device is carried by the miners and is used to emit sound signals;
[0008] The microphone array is used to receive the sound signal emitted by the sound generating device and convert the sound signal into a first analog electrical signal;
[0009] The signal amplifying circuit is used to amplify the first analog voltage signal to a target voltage range to obtain a second analog voltage signal;
[0010] The signal acquisition circuit is used to convert the second analog voltage signal into a first audio signal and send it to the computer end for processing, wherein the first audio signal is a digital voltage signal;
[0011] The computer end is used to preprocess the first audio signal and use an optimized generalized cross-correlation-phase transform GCC-PHAT algorithm to estimate the time delay of the preprocessed second audio signal, so as to determine the position of the sound-emitting device corresponding to the second audio signal based on the estimated time delay and combined with the position estimation algorithm.
[0012] The technical solution provided by the embodiment of the present invention has the following beneficial effects:
[0013] The sound source positioning system in the mine of the present invention is carried by miners to emit sound signals, and the computer uses the optimized GCC-PHAT algorithm to estimate the delay, and based on the estimated delay, the position of the corresponding sound source is determined in combination with the position estimation algorithm. Therefore, acoustic positioning based on the optimized GCC-PHAT algorithm can be realized in the mine. Compared with the existing underground positioning technology, it has the advantages of high positioning accuracy, good real-time performance, no need for complex infrastructure, good robustness to interference, deep coverage, multipath effect utilization, and relatively low system cost.
[0014] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0016] Figure 1 A schematic diagram of the structure of a sound source localization system in a mine provided by an embodiment of the present invention;
[0017] Figure 2 A schematic diagram of a designed seven-element microphone stereo cross array positioning model provided in an embodiment of the present invention;
[0018] Figure 3 A schematic diagram of a flow chart of preprocessing a first audio signal in a scenario provided by an embodiment of the present invention;
[0019] Figure 4 A schematic diagram of the structure of another sound source localization system in a mine provided by an embodiment of the present invention;
[0020] Figure 5 A schematic diagram of parameters of the ECM-673 electret condenser microphone provided in an embodiment of the present invention;
[0021] Figure 6 A program flow chart of a sound source localization system in a mine provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0022] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0023] According to the positioning mechanism, underground positioning can be divided into inertial positioning and communication positioning. Inertial positioning belongs to the dead reckoning positioning method, that is, from a starting point of a known position, the coordinates of the current position are calculated according to the continuously measured heading angle and acceleration of the moving body, and the current position of the moving body can be continuously measured. Inertial positioning uses a gyroscope to measure the heading and attitude angle, and an accelerometer to measure the acceleration of the moving body. After integrating the time twice, the displacement can be obtained. Combined with the coordinates of the starting point, the coordinates of the current position can be solved. Communication positioning is to establish communication between multiple positioning reference points (base stations) with known coordinates and the same positioned target (positioning identification card), so as to obtain the distance between the positioned target and each base station, and then solve the current position coordinates of the positioned target. The positioning technologies currently used underground are: RFID positioning technology, ZigBee positioning technology and UWB positioning technology in order of positioning accuracy from low to high.
[0024] When a wireless signal propagates in the air, the signal strength will attenuate with the propagation distance. When the wireless signal transmission power is constant, the distance between the receiving point and the transmitting point can be calculated based on the received wireless signal strength. This is the basic principle of RSSI (Received Signal Strength Indication) ranging. ZigBee is a short-distance, low-rate, low-power wireless communication technology based on the IEEE802.15.4 protocol. It has strong networking capabilities and supports received signal strength detection. ZigBee positioning technology uses ZigBee technology to build a communication network. The communication base station is deployed in the mine tunnel. A small ZigBee communication machine (positioning identification card) is set on the positioning target. The identification card communicates with the base station. The base station can obtain information such as the identification card number and the received signal strength, thereby solving the location of the identification card. Since the signal strength is easily affected by the environment and the vehicles passing by, the positioning error based on RSSI ranging is more than tens of meters. The ZigBee positioning system uses the TOF (Time of flight) positioning algorithm with a positioning standard deviation of ≥3m, which is significantly better than the RSSI positioning algorithm. However, such positioning accuracy can only obtain rough location data and cannot meet the requirements of real-time vehicle monitoring and real-time equipment control.
[0025] Early mine positioning used RFID technology, and RFID positioning substations were set up at the wellhead, tunnel entrances and exits. When the positioning identification card passed through the positioning substation, it communicated with the substation (the identification card approached the substation and established communication, that is, the proximity information method), and the positioning system learned that the identification card was within the signal coverage of the substation. RFID positioning is regional positioning, which only knows which area the target is in, but not where the target is.
[0026] The deployment cost of UWB positioning technology is high, and it requires the establishment of a base station network. It also has high requirements for the system, and requires a complete base station network, positioning algorithm and data processing system.
[0027] In view of the above problems, an embodiment of the present invention provides a sound source localization system in a mine, so as to realize acoustic localization in a mine based on an optimized GCC-PHAT algorithm.
[0028] The sound source localization system for underground mines of the present invention will be described below with reference to the accompanying drawings.
[0029] Figure 1 A schematic structural diagram of a sound source localization system in a mine provided by an embodiment of the present invention.
[0030] like Figure 1 As shown, the sound source positioning system in the mine includes: a sound generating device, a microphone array, a signal amplifying circuit, a signal collecting circuit and a computer terminal;
[0031] Among them, the sound-generating device is carried by the miners to emit sound signals;
[0032] A microphone array, used to receive a sound signal emitted by the sound generating device and convert the sound signal into a first analog electrical signal;
[0033] A signal amplifying circuit, used for amplifying the first analog voltage signal to a target voltage range to obtain a second analog voltage signal;
[0034] A signal acquisition circuit, used for converting the second analog voltage signal into a first audio signal and sending it to a computer for processing;
[0035] The computer end is used to preprocess the first audio signal and use the optimized GCC-PHAT algorithm to estimate the time delay of the preprocessed second audio signal, so as to determine the position of the sound device corresponding to the second audio signal based on the estimated time delay and combined with the position estimation algorithm.
[0036] Furthermore, in a possible implementation of an embodiment of the present invention, the optimized generalized cross-correlation-phase transform GCC-PHAT algorithm is obtained by optimizing the GCC-PHAT algorithm using an optimized diffuse convolutional recurrent neural network DCRNN, wherein the optimized DCRNN is obtained by updating the model parameters of the DCRNN using a set optimizer, and the set optimizer includes any one of stochastic gradient descent SGD, Adam, Adagrad, RMSprop and Adadelta.
[0037] In the present invention, the GCC-PHAT algorithm with small computational complexity and high delay estimation accuracy is selected to perform delay estimation. By improving this algorithm, the delay estimation is made more accurate and more reliable.
[0038] DCRNN (Diffusion Convolutional Recurrent Neural Network) combines the advantages of CNN (Convolutional Neural Network) and RNN (Recurrent Neural Networks), so that it can effectively process time domain and frequency domain information. In the present invention, the GCC-PHAT algorithm can be optimized by using an optimized DCRNN. The optimized DCRNN can be obtained by updating the model parameters of the DCRNN using a set optimizer.
[0039] As an example, using the set optimizer to update the model parameters of DCRNN includes the following five cases:
[0040] 1. The optimizer set is SGD (Stochastic Gradient Descent)
[0041] Set the parameters as follows:
[0042] learning_rate=0.01
[0043] Steps:
[0044] Calculate gradient: For each sample, calculate the gradient of the loss function with respect to the model parameters.
[0045] Parameter update: Update the model parameters using the learning rate multiplied by the negative of the gradient.
[0046] 2. Set the optimizer to Adam
[0047] Set the parameters as follows:
[0048] learning_rate=0.001
[0049] beta1 = 0.9
[0050] beta2 = 0.999
[0051] epsilon=1e-8
[0052] Steps:
[0053] Calculate gradient: For each sample, calculate the gradient of the loss function with respect to the model parameters.
[0054] Calculate the momentum term and adaptive learning rate: The momentum term is calculated using the exponentially weighted average of the gradients, and the adaptive learning rate is calculated using the exponentially weighted average of the squared gradients.
[0055] Parameter Update: Use momentum term and adaptive learning rate to update model parameters.
[0056] 3. Set the optimizer to Adagrad
[0057] Set the parameters as follows:
[0058] learning_rate=0.01
[0059] epsilon=1e-8
[0060] Steps:
[0061] Calculate gradient: For each sample, calculate the gradient of the loss function with respect to the model parameters.
[0062] Compute the historical sum of squared gradients: accumulate the squared gradients of each parameter.
[0063] Calculate the learning rate: divide the learning rate by the square root of the sum of squared historical gradients.
[0064] Parameter update: Use the learning rate to update the model parameters.
[0065] 4. Set the optimizer to RMSprop
[0066] Set the parameters as follows:
[0067] learning_rate=0.001
[0068] beta = 0.9
[0069] epsilon=1e-8
[0070] Steps:
[0071] Calculate gradient: For each sample, calculate the gradient of the loss function with respect to the model parameters.
[0072] Compute the moving average of the squared gradients: use the exponentially weighted average of the squared gradients.
[0073] Calculate the learning rate: divide the learning rate by the square root of the square of the moving average gradient.
[0074] Parameter update: Use the learning rate to update the model parameters.
[0075] 5. Set the optimizer to Adadelta
[0076] Set the parameters as follows:
[0077] learning_rate=0.001
[0078] beta1 = 0.9
[0079] beta2 = 0.999
[0080] epsilon=1e-8
[0081] Steps:
[0082] Calculate gradient: For each sample, calculate the gradient of the loss function with respect to the model parameters.
[0083] Compute the moving average of the squared gradients: use the exponentially weighted average of the squared gradients.
[0084] Calculate the learning rate: divide the learning rate by the square root of the square of the moving average gradient and use the moving average parameter update.
[0085] Parameter Update: Parameter update using learning rate and moving average is used to update the model parameters.
[0086] Furthermore, in a possible implementation manner of the embodiment of the present invention, the number of second audio signals obtained by preprocessing for delay estimation is at least two; and the computer end is used for:
[0087] Determine a cross-correlation function between any two second audio signals, and perform PHAT transformation on the cross-correlation function to obtain a GCC-PHAT feature;
[0088] The GCC-PHAT features are input into the designed convolutional neural network (CNN) for time domain processing, and the output of the convolutional layer is input into the designed recurrent neural network (RNN) for frequency domain processing to obtain the GCC-PHAT features that integrate time domain and frequency domain information.
[0089] According to the GCC-PHAT feature that integrates time domain and frequency domain information, the time delay between any two second audio signals is estimated. As an example, considering the environmental factors in the mine, the parameters of CNN and RNN are selected as follows when designing:
[0090] Convolution kernel size in CNN: 3x3 or 5x5, depending on the size of the input features.
[0091] RNN hidden layer size: 128 or 256, selected based on data complexity.
[0092] Learning rate: The initial value can be set to 0.001 and can be fine-tuned based on the performance during training.
[0093] Batch size: 32 or 64, depending on the available memory size and the amount of training data.
[0094] Number of training rounds: usually between dozens and hundreds of rounds, depending on the convergence of the model.
[0095] Furthermore, in a possible implementation of the embodiment of the present invention, the designed CNN is obtained by stacking multiple convolutional layers, a pooling layer is added after any convolutional layer, and residual connections are added between the convolutional layers;
[0096] The process of designing CNN includes determining the values of CNN parameters, which include the number of filters, the size of the convolution kernel, the activation function of the convolution layer, the size of the pooling layer, the shape of the first input, and the number of neurons in the fully connected layer, wherein the activation function of the convolution layer is any one of the ReLU activation function, the Sigmoid activation function, and the Tanh activation function;
[0097] The convolution layer uses dilated convolution, and the convolution layer is a multi-scale convolution layer. The parameters of the convolution layer include convolution kernel size, stride, and padding.
[0098] As an example, time domain processing (CNN): GCC-PHAT features are input into the convolution layer to capture local features in the time domain. Multiple convolution kernels are used to extract different time domain features. The specific steps are as follows:
[0099] ① Convolutional layer design: Determine the architecture of the convolutional layer, including the number and size of convolution kernels. Set the convolution kernel size to 3 and the number to 32. It is reasonable to use multiple convolution kernels here because they can capture time domain features of different scales.
[0100] ②Choice of activation function: Select ReLU (Rectified Linear Unit) activation function to introduce nonlinearity and enhance the expressive power of the network.
[0101] ③ Stacking of convolutional layers: Consider stacking multiple convolutional layers to gradually extract higher-level temporal features. Add a pooling layer after each convolutional layer to reduce the size of the feature map. The specific parameters are as follows:
[0102] filters (number of filters): filters = 32
[0103] Description: Indicates the number of filters in the convolutional layer, which determines how many features are extracted by the layer. More filters can increase the complexity of the model, but also increase the computational overhead.
[0104] kernel_size (convolution kernel size): kernel_size = (3, 3)
[0105] Note: The size of the convolution kernel, that is, the number of rows and columns of each convolution kernel. It determines the area covered by the convolution kernel when it moves on the input image.
[0106] activation(activation function): activation = 'ReLU'
[0107] Note: The activation function of the convolutional layer. 'ReLU' is a commonly used activation function. Other activation functions such as 'Sigmoid' or 'Tanh' can also be considered.
[0108] pool_size (pooling layer size): pool_size = (2, 2)
[0109] Description: The size of the pooling layer, which is used to reduce the data dimension. Usually, a pooling layer is added after each convolutional layer to reduce the amount of calculation and improve the translation invariance of the model.
[0110] input_shape (input shape): input_shape=(height, width, channels)
[0111] Description: The shape of the input image, where height represents the height of the image, width represents the width of the image, and channels represents the number of channels of the image.
[0112] Units (number of neurons in the fully connected layer): units = 256
[0113] Note: The number of neurons in the fully connected layer, i.e. the capacity of the fully connected layer, can be adjusted according to the complexity of the task and the size of the dataset.
[0114] ④ Residual connection: Adding residual connections between convolutional layers helps the network better learn long-range dependencies in the time domain and improve the training stability of the model.
[0115] ⑥ Dilated Convolution: Use dilated convolution to expand the receptive field, enabling the network to better understand long-distance dependencies in the time domain.
[0116] As an example, the steps to design a multi-scale convolutional layer are as follows:
[0117] (1) Design multi-scale convolution kernels: Use multiple convolution kernels of different scales in the convolution layer. This can be achieved by using filters of different sizes in the convolution layer to capture features in different frequency ranges. The specific steps are as follows:
[0118] ① Selection of convolution kernel size: Use multiple convolution kernels of different sizes in the same convolution layer. For example, use 3x3, 5x5, and 7x7 convolution kernels at the same time.
[0119] ②Frequency range considerations: Make sure that the selected convolution kernel size can effectively capture features in different frequency ranges. Small-sized convolution kernels are usually suitable for capturing high-frequency features, while large-sized convolution kernels are suitable for capturing low-frequency features.
[0120] (2) Convolutional layer parameters: Set the parameters of the convolutional layer, such as kernel size, stride, padding, etc. The selection of these parameters should take into account the size of the input features and the complexity of the task. The specific steps are as follows:
[0121] ① Determine the size of the convolution kernel: Select an appropriate convolution kernel size based on the task and the size of the input features. Smaller convolution kernels can capture more detailed features, while larger convolution kernels can capture broader features. kernel_size = (3, 3)
[0122] ②Stride selection: The stride defines the step length of the convolution kernel sliding on the input. A larger stride can reduce the output size and improve computational efficiency, but may lose some information. A smaller stride can retain information more carefully, but increases computational complexity. stride = 2
[0123] ③Application of padding: The application of padding in convolution operation can affect the output size. Zero padding is usually used to keep the input and output sizes consistent to prevent information loss. padding = 'same
[0124] Furthermore, in a possible implementation of the embodiment of the present invention, the designed RNN adopts a long short-term memory network LSTM structure and introduces an attention mechanism;
[0125] The designed RNN is obtained by stacking multiple RNN layers. The process of designing RNN includes determining the values of RNN parameters, which include the number of neurons, RNN layer activation function, return sequence, second input shape, and output layer activation function.
[0126] The designed RNN introduces regularization techniques, among which the regularization techniques include dropout.
[0127] As an example, frequency domain processing (RNN): The output of the convolutional layer is fed into a recurrent neural network to model long-term dependencies in the time domain. A bidirectional recurrent neural network is used.
[0128] ① Convolutional layer output: The convolutional layer output of the time domain processing (CNN) is passed as input to the recurrent neural network (RNN).
[0129] ② RNN selection: Select an appropriate recurrent neural network structure and use the LSTM (Long Short-Term Memory) structure to model long-term dependencies in the time domain.
[0130] ③Attention mechanism: Introduce the attention mechanism in the recurrent neural network so that the network can more flexibly focus on different parts of the input sequence and improve the ability to model long-term dependencies in the time domain.
[0131] ④ Stacked multi-layer RNN: stack multiple layers of recurrent neural network to gradually extract higher-level time domain features. The number of layers is 3-5, and the parameters are as follows: units (number of neurons): units = 50
[0132] activation(activation function): activation = 'relu'
[0133] Note: The activation function of the RNN layer. 'relu' is a commonly used activation function. 'tanh' or 'sigmoid' can also be considered. The specific choice depends on the nature of the task.
[0134] return_sequences (return sequence): return_sequences = True
[0135] Controls whether the RNN layer returns the entire output sequence or only the output of the last time step. When stacking multiple layers of RNN, return_sequences=True is usually used for the middle layers, and the last layer can be set to False.
[0136] input_shape (input shape): input_shape=(input_length, input_dim)
[0137] Description: The shape of the input sequence, where input_length indicates the number of time steps and input_dim indicates the number of input features at each time step.
[0138] activation (output layer activation function): activation = 'softmax'
[0139] ⑤Regularization techniques: Consider introducing regularization techniques, such as Dropout, to prevent overfitting, especially when the amount of data is small.
[0140] Furthermore, in a possible implementation of the embodiment of the present invention, the position estimation algorithm is a geometric positioning method; the computer end is used to:
[0141] According to the estimated time delay, the quadrant of the sound-emitting device corresponding to the second audio signal is determined by using a designed seven-element microphone stereo cross array positioning model;
[0142] The position of the sound-emitting device corresponding to the second audio signal is determined according to the straight triangular pyramid array formed by four microphones involved in the quadrant.
[0143] As an example, the designed seven-element microphone stereo cross array positioning model can be Figure 2As shown, the coordinates of the seven microphones are: M0 (0, 0, 0), M1 (D, 0, 0), M2 (0, D, 0), M3 (-D, 0, 0), M4 (0, -D, 0), M5 (0, 0, D), M6 (0, 0, -D). Suppose the coordinates of the sound source are S (x, y, z), and the distance to the origin of the rectangular coordinate system is r. The distances between the sound source S and the seven microphones M0, M1, M2, M3, M4, M5, and M6 are r, r1, r2, r3, r4, r5, and r6, respectively. In order to achieve more accurate positioning, the geometric positioning method adopted in the present invention is divided into two steps: first, based on the results of the time delay estimation, the quadrant in which the sound source is located is determined, thereby narrowing the search range for the sound source position. For example, if the time delay values of the voice signals received by two microphones on the same coordinate axis are 13τ<0, 24τ<0, and 56τ<0, it can be determined that the sound source is located in the first quadrant. Similarly, the basis for determining the sound source in other quadrants is similar. Next, a straight triangular pyramid array consisting of four microphones is used for precise positioning. These four microphones are selected based on the quadrant determined in the first step of positioning. If the first step determines the first quadrant, the second step is to select four microphones M0, M1, M2, and M5. This two-step positioning method can effectively avoid the problem of positioning ambiguity.
[0144] Further, in a possible implementation of the embodiment of the present invention, preprocessing includes pre-filtering, frame windowing and endpoint monitoring; preprocessing the first audio signal includes:
[0145] Pre-filtering the first audio signal using a designed filter to obtain a filtered signal, wherein the filter is designed using a Butterworth filter, and the design process includes selecting a filter type, determining an order, calculating a cutoff frequency, and designing the filter;
[0146] Determine the number of sub-frames according to the total duration of the filtered signal, and the set sub-frame size and inter-frame overlap;
[0147] According to the set frame size and the overlap between frames, the filtered signal is divided into the number of frames, and each frame is subjected to windowing processing using a set window function to obtain a framed windowed signal;
[0148] Based on the set energy threshold, zero-crossing rate threshold and short-time energy window size, the short-time energy method is used to perform endpoint monitoring on the framed windowed signal.
[0149] Further, in a possible implementation of the embodiment of the present invention, based on the set energy threshold, zero-crossing rate threshold and short-time energy window size, a short-time energy method is used to perform endpoint monitoring on the framed windowed signal, including:
[0150] Based on the set short-time energy window size, determine the signal energy in each short-time energy window in the framed windowed signal;
[0151] The signal energy in each short-time energy window of the framed windowed signal is compared with a set energy threshold to obtain energy information of the framed windowed signal;
[0152] Determine the zero-crossing rate of the framed windowed signal, and compare the zero-crossing rate of the framed windowed signal with a set zero-crossing rate threshold to obtain zero-crossing rate information of the framed windowed signal;
[0153] The endpoints of the framed windowed signal are determined according to the energy information and the zero-crossing rate information of the framed windowed signal.
[0154] Furthermore, in a possible implementation of the embodiment of the present invention, the computer end is also used to perform time domain and frequency analysis, and / or noise analysis on the filtered signal, so as to use a redesigned filter to re-perform pre-filtering when filter parameters need to be adjusted, wherein the filter parameters include order and / or cutoff frequency;
[0155] The computer end is also used to perform time domain and frequency analysis on the framed windowed signal, so as to re-perform framed windowing according to at least one of the adjusted frame size, frame overlap and window function when at least one of the frame size, frame overlap and window function needs to be adjusted;
[0156] The computer end is also used to perform time domain and frequency analysis on the signal after endpoint monitoring, so that when it is necessary to adjust at least one of the energy threshold, zero crossing rate threshold and short-time energy window size, endpoint monitoring can be re-performed according to at least one of the adjusted energy threshold, zero crossing rate threshold and short-time energy window.
[0157] As an example, the process of preprocessing the first audio signal is as follows: Figure 3 As shown,
[0158] 1) Pre-filtering
[0159] Filter type: IIR high-pass filter, designed using Butterworth filter.
[0160] Cut-off frequency: 200Hz, removes low-frequency mechanical noise.
[0161] Specific steps:
[0162] 1.1 Design of IIR high pass filter:
[0163] step:
[0164] ① Select filter type: Butterworth filter is a commonly used design due to its flat frequency response and adjustable order. Select high-pass filter type to remove low-frequency noise.
[0165] ② Determine the order: The order determines the steepness of the filter. A higher order usually means a steeper filtering characteristic, but it may also introduce phase distortion. Choose an appropriate order to balance the filtering effect and computational burden.
[0166] ③ Calculate the cut-off frequency: Calculate the filter parameters based on the predetermined cut-off frequency. Select 200Hz.
[0167] ④Design the filter: Use the Butterworth filter design method to calculate the filter coefficients.
[0168] 1.2 Implement pre-filtering:
[0169] step:
[0170] Get audio data: Audio data collected from the mine environment is used as input.
[0171] Apply the designed IIR high-pass filter: Use the calculated filter coefficients to filter the audio data. Use the relevant functions in the digital signal processing library MATLAB programming language.
[0172] Time domain and frequency domain analysis: Analyze the filtered signal and verify the filtering effect by drawing the time domain waveform and spectrum diagram to ensure that the low frequency part is effectively removed.
[0173] Adjust filter parameters: If you find during analysis that you need to adjust the filter parameters, such as the order or cutoff frequency, you can return to the design step to make adjustments.
[0174] Noise analysis: Analyze the noise level in the signal after filtering to ensure that the target signal is retained while the noise is effectively attenuated.
[0175] 1.3 Verification and adjustment:
[0176] step:
[0177] Verify the filtering effect: Use actual data from the mine environment to verify the effect of the high-pass filter. Check the spectrum and time domain waveform of the filtered signal to ensure that the low-frequency noise is effectively removed.
[0178] Adjusting parameters: If the verification finds that the filter parameters need to be further adjusted to adapt to the specific mine environment, you can return to the design and implementation steps for further adjustments.
[0179] System integration: Integrate the pre-filtering step into the overall sound source localization system and ensure that it coordinates well with subsequent processing steps.
[0180] 2) Frame division and windowing
[0181] Frame size: 20 milliseconds, a moderate size corresponding to the fundamental frequency range of speech signals.
[0182] Window function type: Hamming window, balancing the needs of time domain and frequency domain analysis.
[0183] 2.1 Frame selection and definition:
[0184] step:
[0185] Computational frame size: According to the characteristics of the speech signal and the requirements of the task, a frame size of 20 milliseconds is a moderate choice. Considering the basic frequency range of human speech signals, this size can capture many important features of speech signals.
[0186] Overlap: Consider introducing a certain degree of overlap between frames, usually half of the frame size, i.e. 10 milliseconds. The introduction of overlap helps reduce information loss between frames and improves the temporal resolution of subsequent processing steps.
[0187] 2.2 Selection of window function:
[0188] step:
[0189] Understanding of window function: Window function is used in time domain signal analysis to reduce spectrum leakage, smooth the transition part of the signal, and reduce the pseudo harmonics introduced by truncated signals.
[0190] Select Hamming window: Hamming window is one of the commonly used window functions because it has good spectral characteristics and provides a good balance between time domain and frequency domain. Its main lobe is wide, which helps to preserve the main characteristics of the signal.
[0191] 2.3 Implement framing and windowing:
[0192] step:
[0193] Calculate the number of frames: Calculate how many frames are needed based on the total duration of the audio signal and the size and overlap of the frames.
[0194] Framing: The audio signal is divided into short frames, each of which is 20 milliseconds in size, with 10 milliseconds of overlap between frames.
[0195] Windowing: Apply a selected window function, such as a Hamming window, to each frame. A window function is typically applied by point-wise multiplying its elements with the signal within the frame.
[0196] Time domain and frequency domain analysis: Analyze the signal after frame division and windowing. You can check the window effect by drawing the time domain waveform and spectrum diagram. Make sure that the introduction of the window does not cause serious spectrum leakage.
[0197] 2.4 Verification and adjustment:
[0198] step:
[0199] Verify the effect of framing and windowing: Use audio data to verify the effect of framing and windowing. Observe the time domain and frequency domain characteristics after framing to ensure that important information of the speech signal is retained.
[0200] Adjust parameters: If you find during validation that the frame size or window function parameters need to be further adjusted, you can return to the definition and implementation steps to make further adjustments.
[0201] System integration: Integrate the framing and windowing steps into the entire sound source localization system and ensure that it is well coordinated with subsequent processing steps.
[0202] 3) Endpoint Monitoring
[0203] Energy threshold: -25dB, taking into account the possible presence of strong speech signals.
[0204] Zero-crossing rate threshold: 20 times / s, a higher zero-crossing rate threshold to cope with possible noise.
[0205] Endpoint detection algorithm parameters: short-time energy method, the short-time energy window size is set to 15 milliseconds.
[0206] 3.1 Energy threshold and zero-crossing rate threshold:
[0207] step:
[0208] Adjustment of energy threshold: For specific mine environment, the energy threshold can be adjusted according to the actual noise level and the range of voice signal strength. Through experiments and observation of signal distribution, an energy threshold that can detect voice signals but is not easily disturbed by noise can be found.
[0209] Understanding of zero-crossing rate threshold: Zero-crossing rate refers to the number of times a signal passes through the zero point. A higher zero-crossing rate threshold can enhance the detection of speech signals, but it may also lead to increased sensitivity to some low-frequency noise. In practical applications, an appropriate zero-crossing rate threshold is selected according to the actual conditions of the mine environment.
[0210] 3.2 Short-time energy method:
[0211] step:
[0212] Introduction to short-time energy method: Short-time energy method is a commonly used endpoint detection method that determines signal changes by calculating the energy of the signal within a short-time window.
[0213] Short-time energy window size: The 15 millisecond short-time energy window size is suitable for the characteristics of many speech signals, but in practical applications, it can also be adjusted according to the frequency and response speed requirements of the speech signal. A smaller window can improve the time domain resolution, but may be more sensitive to the detection of low-frequency signals.
[0214] 3.3 Implement endpoint detection:
[0215] step:
[0216] Calculate short-time energy: Apply short-time windows to the audio signal and calculate the signal energy within each window.
[0217] Apply energy threshold: Compare the calculated short-time energy with the set energy threshold to determine whether the signal reaches the energy level of the speech signal.
[0218] Calculate Zero Crossing Rate: Calculate the zero crossing rate of an audio signal.
[0219] Apply zero-crossing rate threshold: Compare the calculated zero-crossing rate with the set zero-crossing rate threshold to determine whether the signal meets the zero-crossing rate condition.
[0220] Endpoint detection: Combines energy and zero-crossing rate information to determine the endpoints of the signal.
[0221] 3.4 Verification and adjustment:
[0222] step:
[0223] Verify the effect of endpoint detection: Use actual data from a mine environment to verify the effect of endpoint detection. Observe whether the detected endpoints accurately identify the beginning and end of the speech signal.
[0224] Adjust parameters: If you find during validation that the threshold or the size of the short-time energy window needs further adjustment, you can return to the definition and implementation steps to make further adjustments.
[0225] System integration: Integrate the endpoint detection step into the overall sound source localization system and ensure that it coordinates well with subsequent processing steps.
[0226] Further, in a possible implementation of the embodiment of the present invention, the microphones of the microphone array are selected based on at least one performance parameter, and the performance parameter includes directivity, signal-to-noise ratio, sensitivity, and frequency response range;
[0227] The spacing between the elements of the microphone array complies with the spatial sampling theorem and is determined based on the sound frequency of the sound-generating device, the sampling period of the sound source localization system, and the positioning accuracy;
[0228] The signal acquisition circuit is selected based on the synchronous data acquisition capability.
[0229] As an example, when determining the distance between the array elements of the microphone array, the frequency of the sound source, the sampling period of the system and the positioning accuracy need to be considered. The distance between the array elements should comply with the spatial sampling theorem, that is, the array element spacing cannot be greater than 1 / 2 of the minimum wavelength of the signal, and the maximum delay between the array elements is the distance between the array elements divided by the speed of sound. When the sampling rate is constant, the greater the delay difference, the greater the number of delay points, and the higher the resolution, so the array element spacing should be increased as much as possible. In the present invention, the sound source frequency range is between 100-3400Hz, and the speed of sound in the air is 340m / s, so the wavelength range is 10-340cm. According to the spatial sampling theorem, the array element spacing is generally selected to be 5-20cm, and the present invention is set to 15cm. M0 is at the origin of the three-dimensional coordinate system, and two microphones are symmetrically placed on the X, Y, and Z axes, respectively, for a total of seven microphones, and each microphone is 15cm away from the origin. The array is designed in this style to quickly narrow the positioning range and reduce the calculation time for accurate positioning.
[0230] In summary, the sound source positioning system in the mine of the present invention is carried by miners to emit sound signals, and the computer uses the optimized GCC-PHAT algorithm to estimate the delay, and based on the estimated delay, the position of the corresponding sound device is determined in combination with the position estimation algorithm. Therefore, acoustic positioning based on the optimized GCC-PHAT algorithm can be realized in the mine. Compared with the existing underground positioning technology, it has the advantages of high positioning accuracy, good real-time performance, no need for complex infrastructure, good robustness to interference, deep coverage, multipath effect utilization, and relatively low system cost.
[0231] In order to clearly illustrate the sound source localization system in a mine of the present invention, an example is given for illustration.
[0232] Figure 4 A schematic structural diagram of another sound source localization system in a mine provided by an embodiment of the present invention.
[0233] like Figure 4 As shown, the sound source localization system is mainly divided into two parts: software system and hardware part. The software system includes downhole speech preprocessing, downhole microphone array delay algorithm design based on deep learning optimization and downhole microphone array position estimation. The hardware part includes microphone array design based on downhole environment, signal amplification circuit based on downhole environment and signal acquisition circuit based on downhole environment.
[0234] As an example, the hardware design of the sound source localization system is as follows:
[0235] 1. Microphone array design based on underground environment
[0236] As a sound sensor, the microphone converts the collected sound signals into analog electrical signals. The selection of microphones is crucial to the positioning accuracy of the entire sound source positioning system. Different types of microphones have different performance parameters and application scenarios, and the selection of microphones mainly refers to performance parameters such as directivity, signal-to-noise ratio, sensitivity and frequency response range.
[0237] The directivity of a microphone is its sensitivity to sounds coming from different angles. According to the directivity of the microphone, it can be divided into cardioid microphones, supercardioid microphones, and omnidirectional microphones. Cardioid microphones have a better sound pickup effect for the front area. Compared with cardioid microphones, supercardioid microphones reduce the sound from the side and have a smaller pickup area. Omnidirectional microphones can pick up sound signals in any direction within a 360° range, and the sounds picked up have almost the same sensitivity. This system is used for omnidirectional sound source positioning, so it is hoped that the sensitivity to each direction is basically the same, so an omnidirectional microphone is selected.
[0238] Microphone sensitivity refers to the efficiency of converting analog sound into electrical signals. The larger the analog voltage signal output by a microphone with high sensitivity, the more the analog voltage signal can truly reflect the sound signal. However, microphones with high sensitivity will add additional noise when used, so microphones with appropriate sensitivity should be selected.
[0239] Microphone frequency characteristics refer to the sensitivity of the microphone to the range of sound frequency fluctuations when receiving signals. The wider the frequency sensing range, the better the frequency characteristics. The selection of microphones should include the frequency range of the recorded voice signal.
[0240] Based on the above microphone performance analysis, we finally considered selecting the ECM-673 electret condenser microphone as the sound sensor for the sound source localization system. Figure 5 shown.
[0241] 2. Signal amplification circuit based on underground environment
[0242] Since the analog voltage output by the microphone is at the millivolt level, in order to facilitate subsequent signal processing, a signal amplifier is required to amplify the millivolt voltage to the required voltage range. Optionally, the GY-MAX4466 operational signal amplifier chip can be selected.
[0243] The MAX4466 is a micropower operational amplifier optimized for use as a microphone preamplifier. It provides an ideal combination of optimized gain-bandwidth product and supply current, as well as low-voltage operation in an ultra-small package. The MAX446 is gain-stable and provides a gain-bandwidth of 200kHz with only 24uA of supply current. After decompression, a minimum stable gain of +5V / V is achieved and a gain-bandwidth product of 600kHz is provided. In addition, the amplifier has rail-to-rail output, high AVOL, and excellent power supply rejection and common-mode rejection, making it suitable for operation in noisy environments.
[0244] 3. Signal acquisition circuit based on underground environment
[0245] In the delay estimation sound source localization system, the location coordinates of the sound source are obtained by calculating the time difference received by each microphone. Therefore, the data acquisition module needs to have good synchronous data acquisition capabilities. This can ensure that the later delay difference is the position difference between the microphone and the sound source rather than a data acquisition synchronization problem. Choose smacqSmacq USB5000 synchronous data acquisition card high-speed 16-bit 16-channel 500K sampling 2DIDO USB-5511.
[0246] The USB-5000 series data acquisition cards can measure analog and digital signals and record the measured data continuously and uninterruptedly to the computer hard disk. They can also output analog and digital signals, and can output periodic repetitive signals, or high-speed output of uninterrupted non-repetitive signals controlled by the computer.
[0247] The software system design (computer side) of the sound source localization system is as follows:
[0248] 1. Underground speech preprocessing
[0249] Since the sound source information collected from underground is noisy, the sound needs to be preprocessed. Noise filtering: There is usually a lot of noise in the mine environment, such as the sound of mechanical equipment running, rock movement, gas flow, etc. The preprocessing stage can be used to filter out these non-target sounds to ensure that the sound source positioning system focuses on the target sound source and improves the accuracy of positioning. Optionally, the following effects can be achieved through preprocessing of voice signals:
[0250] Signal-to-noise ratio improvement: Preprocessing can improve the signal-to-noise ratio between the signal and the noise by adjusting the amplitude and spectrum of the signal. This helps to extract the target sound from a complex sound environment, making it easier for the sound source localization system to detect and locate the target.
[0251] Frequency feature extraction: Different sound sources have different characteristics in frequency. These frequency features can be extracted through preprocessing, which helps to distinguish different sound sources. This improves the ability of the sound source localization system to identify different sound sources.
[0252] Time domain and frequency domain analysis: Preprocessing can be performed in the time domain and frequency domain, and the sound signal can be transformed, such as Fourier transform, to obtain spectrum information. This analysis helps to understand the composition of the sound signal and provide more features for sound source localization.
[0253] Reduce multipath effect: In underground mine environments, sound may experience multiple reflections, forming a multipath effect. Preprocessing can use algorithms to reduce the impact of this effect on the accuracy of sound source localization and improve the robustness of the system.
[0254] Reducing distortion: Since distortion may be introduced by sensors, devices or transmission processes, preprocessing can help repair or minimize these distortions, ensuring that the data obtained by the sound source localization system is more realistic and reliable.
[0255] Dynamic range control: Sound sources in a mine may have a wide dynamic range. Pre-processing can use dynamic range control technology to ensure that the system can effectively process sound sources of different volumes.
[0256] Optionally, the preprocessing of the speech signal may include pre-filtering, frame windowing and endpoint detection. For details, please refer to the above embodiment and will not be repeated here.
[0257] 2. Design of time delay algorithm for downhole microphone array based on deep learning optimization
[0258] In the present invention, the GCC-PHAT algorithm with small computational complexity and high delay estimation accuracy is selected to perform delay estimation. By improving this algorithm, the delay estimation is made more accurate and more reliable.
[0259] DCRNN combines the advantages of CNN and RNN, so that it can effectively process time domain and frequency domain information. In the present invention, the GCC-PHAT algorithm can be optimized by using an optimized DCRNN. Among them, the optimized DCRNN can be obtained by updating the model parameters of the DCRNN using a set optimizer. For specific contents, please refer to the above embodiment, which will not be repeated here.
[0260] 3. Downhole microphone array position estimation
[0261] In the present invention, a geometric positioning method is used to estimate the position of the sound source. For details, please refer to the above embodiment and will not be repeated here.
[0262] As an example, the program flow of the sound source localization system in a mine of the present invention is as follows: Figure 6As shown, first, the seven-element microphone array collects the miners' sound source signal. After sampling the next pair of elements, the sampled signal is preprocessed and FFT (Fast Fourier Transformation) is performed, and a conjugate operation is performed on one of the signals, and the two signals are multiplied and weighted, and then an IFFT (Inverse Fast Fourier Transform) operation is performed to calculate the delay. The process of calculating the delay adopts the optimized DCRNN to optimize the delay algorithm (GCC-PHAT algorithm). The following are the specific implementation steps of the optimization:
[0263] 1. Fusion of time domain and frequency domain information:
[0264] 1. Input processing: Take the GCC-PHAT feature as input. It is the cross-correlation function between two audio signals and is amplitude normalized through PHAT transformation.
[0265] (1) GCC-PHAT feature extraction:
[0266] step:
[0267] 1) Cross-correlation function: Calculate the cross-correlation function between two audio signals to represent the time delay relationship between them.
[0268] 2) PHAT Transform: Perform PHAT (Phase Shift Backward Transform) on the cross-correlation function to normalize the amplitude by dividing the signal spectrum by its amplitude. PHAT transform helps reduce the amplitude difference caused by propagation path differences, making subsequent processing more stable.
[0269] 3) Time domain processing (CNN), for details, please refer to the example of time domain processing (CNN) in the above embodiment, which will not be repeated here.
[0270] 4) Frequency domain processing (RNN). For details, please refer to the example of frequency domain processing (RNN) in the above embodiment, which will not be described again here.
[0271] 2. Multi-scale convolution:
[0272] For details, please refer to the example of designing a multi-scale convolutional layer in the above embodiment, which will not be repeated here.
[0273] Moreover, DCRNN can be optimized using optimizers such as SGD, Adam, Adagrad, RMSprop, Adadelta, etc. For details, please refer to the example of using the set optimizer to update the model parameters of DCRNN in the above embodiment, which will not be repeated here.
[0274] Afterwards, a positioning equation is established to determine the position coordinates of the sound source. For details, see the example of two-step positioning in the above embodiment, which will not be repeated here.
[0275] In summary, the acoustic positioning based on GCC-PHAT of the present invention has the following advantages compared with other underground positioning technologies: ① High positioning accuracy: Positioning combined with the position estimation algorithm can achieve accurate positioning and effectively avoid the problem of positioning ambiguity. ② Good real-time performance: It can synchronously collect sound signals in the mine, with high real-time performance. ③ No need for complex infrastructure: Acoustic positioning usually only requires a set of receivers and one or more sound sources. Compared with wireless communication systems that require a large number of sensors or base stations, the hardware requirements of acoustic systems are relatively small. ④ Good robustness to interference: Within a specific frequency range, the propagation of sound waves receives less electromagnetic interference, which makes acoustic positioning still reliable in mines with noisy electromagnetic environments. In addition, the propagation of sound waves in humid, dusty or gaseous environments is more stable than electromagnetic waves. ⑤ Deep coverage: Compared with some electromagnetic signals (such as RFID or WiFi), sound waves can better penetrate rocks and soil and provide deeper underground coverage. ⑥ Utilization of multipath effects: Although multipath propagation (sound waves reflected from multiple directions to reach the receiver) may cause positioning difficulties, the acoustic positioning algorithm can use this information to improve positioning accuracy. ⑦ Relatively low system cost: Compared with highly complex electromagnetic positioning, acoustic positioning has a lower cost.
[0276] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0277] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0278] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.
[0279] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0280] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0281] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0282] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0283] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A sound source localization system in a mine, characterized in that: The sound source localization system comprises a sound generating device, a microphone array, a signal amplifying circuit, a signal collecting circuit and a computer terminal; Wherein, the sound-generating device is carried by the miners and is used to emit sound signals; The microphone array is used to receive the sound signal emitted by the sound generating device and convert the sound signal into a first analog voltage signal; The signal amplifying circuit is used to amplify the first analog voltage signal to a target voltage range to obtain a second analog voltage signal; The signal acquisition circuit is used to convert the second analog voltage signal into a first audio signal and send it to the computer end for processing, wherein the first audio signal is a digital voltage signal; The computer end is used to preprocess the first audio signal, and use an optimized generalized cross-correlation-phase transform GCC-PHAT algorithm to estimate the time delay of the second audio signal obtained by the preprocessing, so as to determine the position of the sound device corresponding to the second audio signal based on the estimated time delay in combination with a position estimation algorithm; The number of the second audio signals obtained by preprocessing for delay estimation is at least two; and the method of using an optimized generalized cross-correlation-phase transform GCC-PHAT algorithm to perform delay estimation on the second audio signals obtained by preprocessing includes: Determine a cross-correlation function between any two of the second audio signals, and perform PHAT transformation on the cross-correlation function to obtain a GCC-PHAT feature; The GCC-PHAT feature is input into a designed convolutional neural network (CNN) for time domain processing, and the output of the convolutional layer is input into a designed recurrent neural network (RNN) for frequency domain processing to obtain a GCC-PHAT feature that integrates time domain and frequency domain information; The time delay between any two of the second audio signals is estimated according to the GCC-PHAT feature that integrates the time domain and frequency domain information.
2. The system according to claim 1, characterized in that The optimized generalized cross-correlation-phase transform GCC-PHAT algorithm is obtained by optimizing the GCC-PHAT algorithm using an optimized diffuse convolutional recurrent neural network DCRNN, wherein the optimized DCRNN is obtained by updating the model parameters of the DCRNN using a set optimizer, and the set optimizer includes any one of stochastic gradient descent SGD, Adam, Adagrad, RMSprop and Adadelta.
3. The system according to claim 1, characterized in that The designed CNN is obtained by stacking multiple convolutional layers, a pooling layer is added after any of the convolutional layers, and residual connections are added between the convolutional layers; The process of designing the CNN includes determining the values of CNN parameters, wherein the CNN parameters include the number of filters, the size of the convolution kernel, the activation function of the convolution layer, the size of the pooling layer, the first input shape, and the number of neurons in the fully connected layer, wherein the convolution layer activation function is any one of a ReLU activation function, a Sigmoid activation function, and a Tanh activation function; The convolution layer adopts hole convolution, the convolution layer is a multi-scale convolution layer, and the parameters of the convolution layer include the convolution kernel size, stride and padding.
4. The system according to claim 1, characterized in that The designed RNN adopts a long short-term memory network LSTM structure and introduces an attention mechanism; The designed RNN is obtained by stacking multiple RNN layers, and the process of designing the RNN includes determining the values of RNN parameters, and the RNN parameters include the number of neurons, the RNN layer activation function, the return sequence, the second input shape, and the output layer activation function; The designed RNN introduces regularization technology, wherein the regularization technology includes a dropout method.
5. The system according to claim 1, characterized in that The position estimation algorithm is a geometric positioning method; the computer end is used to: According to the estimated time delay, using a designed seven-element microphone stereo cross array positioning model, determine the quadrant in which the sound-emitting device corresponding to the second audio signal is located; The position of the sound-emitting device corresponding to the second audio signal is determined according to the straight triangular pyramid array formed by the four microphones involved in the quadrant.
6. The system according to claim 1, characterized in that The preprocessing includes pre-filtering, frame windowing and endpoint monitoring; the preprocessing of the first audio signal includes: Pre-filtering the first audio signal using a designed filter to obtain a filtered signal, wherein the filter is designed using a Butterworth filter, and the design process includes selecting a filter type, determining an order, calculating a cutoff frequency, and designing a filter; Determining the number of sub-frames according to the total duration of the filtered signal, and the set sub-frame size and inter-frame overlap; According to the set sub-frame size and the overlap between frames, the filtered signal is divided into the number of sub-frames, and each of the sub-frames is subjected to windowing processing using a set window function to obtain a framed windowed signal; Based on the set energy threshold, zero-crossing rate threshold and short-time energy window size, the short-time energy method is used to perform endpoint monitoring on the framed windowed signal.
7. The system according to claim 6, characterized in that The method of performing endpoint monitoring on the framed windowed signal using a short-time energy method based on the set energy threshold, zero-crossing rate threshold and short-time energy window size includes: Based on the set short-time energy window size, determining the signal energy in each short-time energy window in the framed windowed signal; Comparing the signal energy in each short-time energy window in the framed windowed signal with the set energy threshold respectively to obtain energy information of the framed windowed signal; Determine the zero crossing rate of the frame windowing signal, and compare the zero crossing rate of the frame windowing signal with the zero crossing rate threshold of the setting to obtain zero crossing rate information of the frame windowing signal; The endpoints of the framed windowed signal are determined according to the energy information and the zero-crossing rate information of the framed windowed signal.
8. The system according to claim 6, characterized in that The computer end is also used to perform time domain and frequency analysis, and / or noise analysis on the filtered signal, so as to use a redesigned filter to re-perform pre-filtering when filter parameters need to be adjusted, wherein the filter parameters include the order and / or the cutoff frequency; The computer end is also used for performing time domain and frequency analysis on the frame windowing signal, so as to re-perform frame windowing according to at least one of the adjusted frame size, frame overlap and window function when at least one of the frame size, frame overlap and window function needs to be adjusted; The computer end is also used to perform time domain and frequency analysis on the signal after endpoint monitoring, so that when it is necessary to adjust at least one of the energy threshold, the zero-crossing rate threshold and the short-time energy window size, endpoint monitoring can be re-performed according to at least one of the adjusted energy threshold, the zero-crossing rate threshold and the short-time energy window.
9. The system according to any one of claims 1 to 8, characterized in that: The microphones of the microphone array are selected based on at least one performance parameter, wherein the performance parameter includes directivity, signal-to-noise ratio, sensitivity and frequency response range; The array element spacing of the microphone array complies with the spatial sampling theorem and is determined based on the sound frequency of the sound-generating device, the sampling period of the sound source localization system, and the positioning accuracy; The signal acquisition circuit is selected based on synchronous data acquisition capability.
