Noise and location analysis method for large infrastructure projects based on particle swarm optimization

Through particle swarm algorithm and microphone array technology, combined with noise analysis models and weighting coefficients, the problem of combining multi-regional noise data is solved, improving the reliability of noise analysis and the accuracy of infrastructure project location selection.

CN118428562BActive Publication Date: 2024-09-20SOUTH CHINA INST OF ENVIRONMENTAL SCI MEP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410885816.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-09-20
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

It is difficult for the existing technology to effectively combine noise data from multiple areas in noise analysis, resulting in insufficient reliability of noise analysis results, especially when environmental sound sources are diverse and time-correlated.

Method used

A method based on particle swarm algorithm is used to collect environmental sound source signals through microphone arrays, separate wind noise signals and other sound source signals, build a noise analysis model, use prediction models and weighting coefficients to improve the accuracy of noise analysis, and finally determine the cost of infrastructure projects. Site selection area.

Benefits of technology

It achieves accurate classification of multiple environmental sound sources, improves the accuracy of noise signal collection and prediction accuracy of noise analysis, and ensures the integrity and reliability of site selection for large-scale infrastructure projects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118428562B
    Figure CN118428562B
Patent Text Reader

Abstract

The present invention discloses a noise and large-scale infrastructure project site selection analysis method based on a particle swarm algorithm, which belongs to the field of sound processing technology, including: demarcating multiple pending areas in a GIS image based on a preset area range, constructing a microphone array, collecting environmental sound sources within a preset period, and extracting sound signals and wind noise signals respectively; obtaining the sound type and sound direction of the sound signal, separating the sound signal into multiple signal sources, and generating a signal sequence corresponding to the signal source; establishing a prediction model, calculating the weighting coefficient corresponding to the signal sequence in the combined sequence, and the prediction model outputs a prediction sequence corresponding to the combined sequence within the prediction time based on the weighting coefficient; setting the objective function of the noise analysis model based on the wind noise signal, the combined sequence and the prediction sequence, outputting the optimal solution, setting the pending area corresponding to the optimal solution as the site selection area, and completing the site selection of the infrastructure project. The present invention can improve the reliability of site selection of large-scale infrastructure projects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of sound processing, and in particular relates to a noise and large-scale infrastructure project site selection analysis method based on a particle swarm algorithm. Background Art

[0002] The site selection of large-scale infrastructure projects involves many factors, among which noise pollution is one of the important considerations. In order to rationally plan the site selection of infrastructure projects, it is necessary to conduct noise impact analysis and adopt effective methods to assist decision-making. Particle swarm algorithm is an optimization algorithm based on swarm intelligence. By simulating the collaborative behavior of individuals in a group, it can find the global optimal solution to complex problems. Therefore, the noise data in all directions of the selected location is monitored, and the optimal location is obtained through the particle swarm algorithm, thereby realizing the site selection of infrastructure projects.

[0003] For example, the Chinese invention patent authorization announcement number CN116205771B discloses a sound environment information system based on noise monitoring and prediction calibration and its construction method, which mainly includes: formulating a noise monitoring plan based on the noise distribution and traffic flow in the urban area; drawing a city sound environment map based on regional geographic information; establishing a noise outdoor propagation prediction model based on the map to predict the octave band noise sound pressure level in the area; real-time monitoring of noise data in the area; interactive calculation and calibration of monitoring and prediction data; real-time analysis, evaluation, management and release of sound environment information. This invention can realize real-time analysis, evaluation and management of urban sound environment information in an efficient, scientific, accurate and visual manner. For another example, Chinese patent application CN114724577A provides a method for evaluating the impact of road traffic noise around a sound-sensitive area. The method divides the roads around the sound-sensitive area into multiple noise monitoring units, performs noise monitoring in each noise monitoring unit, and obtains the road noise spectrum of each noise monitoring unit. An environmental noise receiving point is set in the sound-sensitive area; the transfer function is decentralized and an objective function is established, the covariance matrix of the objective function is obtained, and the eigenvalue vector is obtained after principal component analysis. The contribution value of each road is calculated using a calculation model for the estimated value of the noise impact contribution of the road, so that the noise impact contribution of different roads around a certain sound-sensitive area to a certain location in the area can be evaluated.

[0004] However, the above-mentioned prior art only evaluates and analyzes the noise data and noise impact of the monitoring area. In actual situations, the environmental sound sources include different types of signals and are closely related to the acquisition time. It is necessary to combine the particle swarm algorithm to perform noise analysis on multiple areas at the same time to improve the reliability of the noise analysis results. Summary of the invention

[0005] To solve the above problems, the present invention provides a noise and large-scale infrastructure project site selection analysis method based on particle swarm algorithm to solve the problems in the prior art.

[0006] In order to achieve the above-mentioned invention object, the present invention proposes a noise and large-scale infrastructure project site selection analysis method based on particle swarm algorithm, comprising:

[0007] Based on a preset area range, a plurality of pending areas are delineated in the GIS image, and a microphone array is constructed based on the shape of the pending areas. The microphone array collects environmental sound sources within a preset period, and respectively extracts sound signals and wind noise signals of the environmental sound sources;

[0008] Acquire the sound type and sound direction of the sound signal, separate the sound signal into multiple signal sources based on the sound type, and generate a signal sequence corresponding to the signal source based on the preset period;

[0009] Establishing a prediction model, combining the signal sequence based on the microphone array and setting it as a combined sequence, calculating the weighting coefficient corresponding to each signal sequence in the combined sequence, and the prediction model outputting a prediction sequence corresponding to the combined sequence within a prediction time based on the weighting coefficient;

[0010] A noise analysis model is constructed, and objective functions of the noise analysis model are respectively set based on the wind noise signal, the combined sequence, and the predicted sequence; an optimal solution is output based on the objective function; the undetermined area corresponding to the optimal solution is set as a site selection area; and a site selection of an infrastructure project is completed based on the site selection area.

[0011] Furthermore, extracting the wind noise signal of the environmental sound source comprises the following steps:

[0012] The environmental sound source is cut into multiple frame signals based on a preset frame length, and there are overlapping signals between any two adjacent frame signals. A first matrix of the frame signal is generated based on a preset transformation algorithm. The first matrix is ​​decomposed into a base spectrum matrix and a change matrix based on a preset decomposition algorithm. A frequency spectrum histogram corresponding to the first matrix is ​​constructed. A wind noise threshold is calculated based on the frequency spectrum histogram. A target matrix and a noise matrix are extracted from the base spectrum matrix and the change matrix respectively based on the wind noise threshold. The target matrix and the noise matrix are converted into a target signal and a noise signal based on the preset transformation algorithm. This step is repeated until all frame signals are decomposed to generate corresponding target signals and noise signals. All target signals are combined and set as received signals. All noise signals are combined and set as the wind noise signal.

[0013] Furthermore, extracting the sound signal of the environmental sound source comprises the following steps:

[0014] Respectively generate a short-time power and a long-time power of the received signal, calculate a first ratio of the short-time power to the long-time power, and if the first ratio is greater than a first threshold, determine that the received signal is a signal to be transmitted; otherwise, determine that the received signal is a non-transmission signal;

[0015] The number of sound sources of the signal to be transmitted is initially set to 0, and the sound source position of the signal to be transmitted is detected based on the distribution position of the microphone array and the preset time interval. If the sound source position of two adjacent detections is consistent, the second matrix corresponding to the sound source position is calculated; otherwise, the number of sound sources is increased by 1, and the second matrix corresponding to the sound source position is recalculated. This step is repeated until the sound source position detection is completed, the sound source power level is set based on the second matrix, the filter coefficient is adjusted based on the sound source power level, and directional information is generated, and the signal to be transmitted, the number of sound sources and the directional information are combined into the sound signal.

[0016] Further, generating the signal sequence comprises the following steps:

[0017] Acquire signal characteristics of the sound signal, construct a three-dimensional structure based on the signal characteristics, generate a first image based on the three-dimensional structure, generate characteristic parameters of the sound signal based on the pixel density value of the first image, set a type label, establish a sound database based on the type label, construct an analysis model, the analysis model generates a sound classification function based on the sound database training, divide the sound signal into a plurality of signal sources based on the sound classification function, the characteristic parameters and the number of sound sources, acquire the type label corresponding to the signal source and set it as the sound type, set the directional information as the sound directional, acquire the time series of the preset period, and combine the signal sources having the same sound directional and sound type into the signal sequence based on the time series.

[0018] Further, setting the weighting coefficient of the signal sequence comprises the following steps:

[0019] The distribution position and distribution number of the microphone array are obtained, and a plurality of signal sequences are extracted from all signal sequences based on the distribution position, and are set as sequences to be predicted, wherein the correlation between any two sequences to be predicted is greater than a second threshold, and the number of the sequences to be predicted is less than or equal to the distribution number, and one sequence to be predicted is extracted from all sequences to be predicted as a main analysis sequence based on time characteristics, and the remaining sequences to be predicted are set as reference sequences, and the main analysis sequence and the reference sequence are combined into the combined sequence, and a first correlation between each reference sequence and the main analysis sequence is respectively obtained, and a weighting coefficient of the signal sequence is calculated based on the ratio between all first correlations.

[0020] Furthermore, the prediction model outputs a prediction sequence corresponding to the combined sequence within a prediction time based on the weighted coefficient, comprising the following steps:

[0021] Input all sequences to be predicted into the prediction model for training, output the prediction sequences corresponding to the main analysis sequence and the reference sequence within the prediction time, and output the nth prediction result corresponding to the combined sequence based on the first formula. , the first formula is: ,in, is the weight coefficient of the main analysis sequence in the combined sequence, is the weighting coefficient of the i-th reference sequence in the combined sequence, i is a positive integer from 1 to I, and I is the total number of the reference sequences included in the combined sequence, is the nth prediction result in the prediction sequence of the main analysis sequence, is the nth prediction result in the prediction sequence of the i-th reference sequence;

[0022] All prediction results corresponding to the combined sequence are combined based on the prediction time to generate a prediction sequence corresponding to the combined sequence.

[0023] Furthermore, setting the undetermined area corresponding to the optimal solution as the site selection area comprises the following steps:

[0024] The objective function is constructed based on the second formula , the second formula is: ,in, represents the number of the pending area, j is a positive integer from 1 to J, J is the total number of the combination sequences in the pending area, m is a positive integer from 1 to M, M is the distribution number of the microphone array, is the main analysis sequence of the jth combined sequence, is the weight coefficient of the j-th combined sequence, is the predicted sequence corresponding to the j-th combined sequence, is the weight coefficient of the prediction sequence corresponding to the j-th combined sequence, is the wind noise signal extracted by the mth microphone in the microphone array, is a weight coefficient corresponding to the wind noise signal extracted by the mth microphone;

[0025] The fitness corresponding to all the pending areas is calculated based on the second formula, the minimum fitness is set as the optimal solution, and the pending area corresponding to the minimum fitness is set as the site selection area.

[0026] Compared with the prior art, the beneficial effects of the present invention are at least as follows:

[0027] The present invention first extracts wind noise signals and received signals respectively by constructing a spectrum histogram of the ambient sound source, then obtains the signal to be transmitted in the received signal through the short-time power and the long-time power, and finally sets the sound source power level through the second matrix and adjusts the filter coefficient to generate corresponding directional information, which is combined into a sound signal. This can realize the accurate classification of various signal sources in the ambient sound source and improve the acquisition accuracy of the sound signal.

[0028] The present invention also predicts the combined sequence through a prediction model and a weighted coefficient, and outputs a prediction sequence corresponding to the combined sequence, which can improve the prediction accuracy of the combined sequence. Finally, through a noise analysis model, the wind noise signal, the combined sequence and the prediction sequence are combined to output the optimal solution and obtain the site selection area, which can achieve the integrity and reliability of the site selection of large-scale infrastructure projects. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a flow chart of the steps of the noise and large-scale infrastructure project site selection analysis method based on particle swarm algorithm of the present invention;

[0030] Figure 2 Schematic diagram of the distribution of the microphone array in the present invention. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0032] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.

[0033] like Figure 1 As shown in the figure, the noise and large-scale infrastructure project site selection analysis method based on particle swarm algorithm includes:

[0034] S1: Based on the preset area range, multiple areas to be determined are delineated in the GIS image, and a microphone array is constructed based on the shape of the areas to be determined. The microphone array collects environmental sound sources within a preset period and extracts sound signals and wind noise signals of the environmental sound sources respectively.

[0035] Specifically, the present invention combines GIS images to screen multiple areas that can be used to build large-scale infrastructure projects, and analyzes environmental noise through a particle swarm algorithm to further select the best regional location for building large-scale infrastructure projects. In this embodiment, the preset area range refers to the shape and area used for large-scale infrastructure projects, and the GIS image refers to an image used in a geographic information system to clearly and accurately display spatial information. The area to be determined refers to a geographical area where large-scale infrastructure projects can be built. The microphone array is a system composed of multiple microphones, which are arranged in a certain geometric layout. The shape of the area to be determined refers to the shape of the large-scale infrastructure project. In order to more accurately collect the environmental sound of the area to be determined, the layout of multiple microphone arrays needs to be set, for example, Figure 2 As shown, the microphone array R is composed of 4 identical omnidirectional microphones r1. The preset period refers to the time period for collecting environmental sound sources. Environmental sound sources refer to any type of sound source signals in the area to be determined, including but not limited to human activity sounds, wind noise, urban traffic sounds, public place sounds and industrial sounds, etc. Therefore, environmental sound sources may contain multiple waveform signals. Wind noise signal refers to the noise caused by turbulence generated when wind blows over objects (such as buildings, trees and microphones, etc.). Sound signal refers to the remaining effective signal except wind noise signal. Wind noise usually has a wide frequency range. Therefore, the present invention extracts sound signal and wind noise signal separately, which can improve the accuracy of analyzing environmental sound sources.

[0036] S2: Acquire the sound type and sound direction of the sound signal, separate the sound signal into multiple signal sources based on the sound type, and generate a signal sequence corresponding to the signal source based on a preset period.

[0037] Specifically, in this embodiment, sound type refers to things that emit sound signals, including but not limited to human activity sounds, urban traffic sounds, public place sounds, industrial sounds, etc. Sound direction refers to the approximate direction of the sound signal. Signal source refers to a single signal in the sound signal, and there are no other types of sound signals. Signal sequence refers to a discrete sequence of signals corresponding to a preset period, which can be used to describe the correlation and change pattern of the signal with time.

[0038] S3: Establish a prediction model, combine the signal sequence based on the microphone array, and set it as a combined sequence, calculate the weight coefficient corresponding to each signal sequence in the combined sequence, and the prediction model outputs the prediction sequence corresponding to the combined sequence within the prediction time based on the weight coefficient.

[0039] Specifically, in this embodiment, the prediction model refers to a machine learning model, including but not limited to the LSTM long short-term memory network model. When the same signal source is collected by the microphone array, multiple groups of highly correlated signal sequences may be generated accordingly. Therefore, the highly correlated signal sequences are combined into a combined sequence. The weighting coefficient refers to the weight parameter of each signal sequence in the combined sequence. By combining the weighting coefficient and the prediction model, the accuracy of the prediction sequence can be improved. The prediction sequence refers to the change result of the main analysis sequence in the combined sequence within the future prediction time, wherein the main analysis sequence refers to the signal sequence collected by the microphone closest to the signal source in the microphone array. Through the above steps, the prediction sequence of each sound signal within the prediction time can be accurately predicted, and the intensity change trend of the sound signal in the undetermined area can be predicted by using the prediction sequence.

[0040] S4: Construct a noise analysis model, set the objective function of the noise analysis model based on the wind noise signal, combined sequence and predicted sequence respectively, output the optimal solution based on the objective function, set the undetermined area corresponding to the optimal solution as the site selection area, and complete the site selection of the infrastructure project based on the site selection area.

[0041] Specifically, in this embodiment, the noise analysis model is an analysis model constructed by a particle swarm algorithm, which is used to evaluate the quality of each undetermined area. The parameter setting and tuning method of the noise analysis model also need to be carried out according to the specific situation, for example, setting constraints based on the size of the preset area range, etc. The objective function refers to an evaluation function, which can reflect the quality of each undetermined area through numerical results. The optimal solution refers to the one that satisfies the best objective function value, that is, the minimum solution output by the objective function, and satisfies the constraints, etc. The undetermined area corresponding to the optimal solution is set as the site selection area, thereby completing the site selection of large-scale infrastructure projects.

[0042] As a preferred technical solution of the present invention, extracting the wind noise signal of the environmental sound source includes the following steps:

[0043] Based on a preset frame length, the ambient sound source is cut into multiple frame signals, and there are overlapping signals between any two adjacent frame signals. Based on a preset transformation algorithm, a first matrix of the frame signal is generated. Based on a preset decomposition algorithm, the first matrix is ​​decomposed into a base spectrum matrix and a change matrix. A spectrum histogram corresponding to the first matrix is ​​constructed. The wind noise threshold is calculated based on the spectrum histogram. Based on the wind noise threshold, a target matrix and a noise matrix are respectively extracted from the base spectrum matrix and the change matrix. Based on a preset transformation algorithm, the target matrix and the noise matrix are converted into a target signal and a noise signal. This step is repeated until all frame signals are decomposed to generate corresponding target signals and noise signals. All target signals are combined and set as received signals. All noise signals are combined and set as wind noise signals.

[0044] Specifically, in this embodiment, the ambient sound source is a digital sound signal generated by an A / D converter, the step size can be set by a preset frame length, and the ambient sound source can be cut into multiple frame signals based on a displacement method, so that there are overlapping signals for every two adjacent frame signals. The preset transformation algorithm refers to the STFT short-time Fourier transform algorithm, which can generate a frequency domain signal from the digital signal corresponding to the frame signal, and calculate the absolute value amplitude corresponding to the frequency domain signal based on the Fourier coefficient in the frequency domain signal, and construct an acoustic matrix based on the absolute value amplitude, that is, a first matrix, wherein the rows of the first matrix represent frequency and the columns represent time. The preset decomposition algorithm refers to a non-negative matrix factorization algorithm, which can decompose the first matrix into the product of two non-negative matrices, namely, a base spectrum matrix and a change matrix, which helps to separate the ambient sound source, wherein the base spectrum matrix and the change matrix both include matrices related to the sound signal and the wind noise signal. The Fourier coefficient values ​​of each row in the first matrix are accumulated to generate a histogram of each spectral component of the first matrix, namely, a spectrum histogram. The spectrum histogram can describe the change of frequency components in the first matrix. In the case of wind noise, there will be a constant frequency within the low frequency range. Therefore, the level difference between the frequency band occupied by wind noise and the frequency band occupied by other sound signals, that is, the histogram value, determines the step part exceeding the level value as the wind noise threshold. Therefore, based on the wind noise threshold, both the base spectrum matrix and the change matrix are divided into the product of the target matrix and the noise matrix, wherein the target matrix refers to the matrix formed by the Fourier transform algorithm containing the sound signal, and the noise matrix refers to the matrix formed by the Fourier transform algorithm containing the noise signal. Therefore, the target signal and the noise signal are generated, and all frame signals are processed through the above steps to generate the corresponding target signal and noise signal. The combination of all target signals is the received signal, and the combination of all noise signals is the wind noise signal. When combining, the overlapping signals can be combined in sequence to avoid the disordered order of the signals.

[0045] As a preferred technical solution of the present invention, extracting the sound signal of the environmental sound source includes the following steps:

[0046] The short-time power and long-time power of the received signal are respectively generated, and a first ratio of the short-time power to the long-time power is calculated. If the first ratio is greater than a first threshold, the received signal is determined to be a signal to be transmitted, otherwise, the received signal is determined to be a non-transmission signal.

[0047] The number of sound sources of the signal to be transmitted is initially set to 0, and the sound source position of the signal to be transmitted is detected based on the distribution position of the microphone array and the preset time interval. If the sound source position of two adjacent detections is consistent, the second matrix corresponding to the sound source position is calculated, otherwise, the number of sound sources is increased by 1, and the second matrix corresponding to the sound source position is recalculated. This step is repeated until the sound source position detection is completed, the sound source power level is set based on the second matrix, the filter coefficient is adjusted based on the sound source power level, and directional information is generated, and the signal to be transmitted, the number of sound sources and the directional information are combined into a sound signal.

[0048] Specifically, in this embodiment, the received signal refers to a signal to be processed and analyzed that includes a sound signal. In order to delete some random sound sources, such as short-term bird calls and rain sounds, the received signal needs to be analyzed and screened. Short-time power refers to the average power in a short time, and long-time power refers to the average power in a long time, both of which are calculated by measuring the amplitude of the received signal within a fixed time interval. The first threshold can be set to any value from 5 to 100, and the first ratio refers to the ratio of short-time power to long-time power, that is, the power spectrum density of the received signal. If the first ratio is greater than the first threshold, it means that the received signal is a signal that needs to be monitored and received, that is, a signal to be transmitted. If the first ratio is less than or equal to the first threshold, it means that the received signal does not need to be monitored and received, that is, a non-transmission signal.

[0049] Next, the number of signals to be transmitted and the positions of sound sources are analyzed. The number of sound sources of the signals to be transmitted can be determined by the positions of the sound sources, wherein the number of sound sources refers to the total number of sources that emit sound. Usually, the sound emitted from the same sound source position is set to the number 1. The preset time interval is set to 10 seconds. In any two adjacent detections, if the sound source positions are consistent, it means that the sound sources of the two detections are consistent. The second matrix is ​​the covariance matrix, and its calculation method is associated with the microphone array. For example, for an array of L microphones, the corresponding covariance matrix is ​​an L×L matrix, wherein the positions of the sound sources can be determined by measuring the time difference of each microphone receiving the signal to be transmitted. The sound source power level refers to the total sound energy emitted by the sound source, wherein the diagonal elements of the second matrix represent the signal power received by each microphone, and then the total sound source power is estimated, and then the sound source power is converted into a sound pressure level in decibels, that is, the sound source power level. The sound source power level can provide information about the signal strength, which can be used to adjust the filter parameters to optimize the signal processing performance, that is, adjust the filter coefficients. The directional information refers to the position of the sound source of the signal to be transmitted. The signal to be transmitted and the corresponding directional information, as well as the number of sound sources, are combined to form a sound signal for subsequent analysis and application.

[0050] As a preferred technical solution of the present invention, generating a signal sequence comprises the following steps:

[0051] Acquire signal characteristics of a sound signal, construct a three-dimensional structure based on the signal characteristics, generate a first image based on the three-dimensional structure, generate characteristic parameters of the sound signal based on the pixel density value of the first image, set a type label, establish a sound database based on the type label, construct an analysis model, train the analysis model to generate a sound classification function based on the sound database, divide the sound signal into multiple signal sources based on the sound classification function, the characteristic parameters and the number of sound sources, obtain the type label corresponding to the signal source and set it as the sound type, set the directional information as the sound directional, obtain a time series of a preset period, and combine the signal sources with the same sound directional and sound type into a signal sequence based on the time series.

[0052] Specifically, in this embodiment, the signal characteristics refer to time, frequency and sound pressure, wherein the sound pressure has the same meaning as the above-mentioned sound source power level, and the first image refers to the spectral grayscale image of the sound signal, wherein the x direction is time, the y direction represents frequency, and the density value of each pixel represents the sound pressure at each time and frequency, which can be used for sound recognition and classification, etc. The pixel density value is used to describe the distribution of pixels in the first image, and the feature parameters are extracted based on the distribution of the pixel density value. For example, the area with the largest pixel density value is identified, which may correspond to the main frequency component of the signal, and the best feature parameters are selected. In this embodiment, the feature parameters and the sound classification function determine the classification effect of the sound signal. The sound database is a sound data set collected based on type labels, for example, the type labels are data corresponding to human voices, industrial sounds, and traffic sounds, etc. The analysis model refers to a convolutional neural network model, which can be trained to generate a classification function and is used to distinguish sounds corresponding to different type labels, that is, a sound classification function. The sound signal is divided into multiple signal sources by the sound classification function and the feature parameters, wherein the number of signal sources is the same as the number of sound sources. If the sound direction and sound type of the signal source are the same, it means that the signal source is the same sound source, so the feature combination based on the time series is a signal sequence.

[0053] As a preferred technical solution of the present invention, setting the weighted coefficient of the signal sequence includes the following steps:

[0054] The distribution position and distribution number of the microphone array are obtained, and multiple signal sequences are extracted from all signal sequences based on the distribution position and set as sequences to be predicted, wherein the correlation between any two sequences to be predicted is greater than a second threshold, and the number of sequences to be predicted is less than or equal to the distribution number; one sequence to be predicted is extracted from all sequences to be predicted as a main analysis sequence based on the time characteristics, and the remaining sequences to be predicted are set as reference sequences. The main analysis sequence and the reference sequence are combined into a combined sequence, and the first correlation between each reference sequence and the main analysis sequence is obtained respectively, and the weighting coefficient of the signal sequence is calculated based on the ratio between all the first correlations.

[0055] Specifically, in this embodiment, when the microphone array collects signals emitted by the same sound source, there may be differences in the receiving time, but the fluctuations of the received sound signals have a large correlation. Therefore, it is necessary to combine the signal sequences collected by the microphone array based on the correlation to generate a combined sequence, so that the correlation between any two sequences to be predicted in the combined sequence is greater than the second threshold, and the number of sequences to be predicted is less than or equal to the number of distributions of the microphone array. The time characteristic refers to the collection time point corresponding to the time series, including the characteristic factors of time sequence. For example, the number of microphone distributions is 4, and the correlation between any two groups of signal sequences can be calculated by a time delay correlation algorithm. If there are 3 groups of signal sequences whose correlation is greater than the second threshold in any combination, the corresponding 3 groups of signal sequences are combined into a combined sequence, wherein the signal sequence corresponding to the time characteristic that starts first is set as the main analysis sequence, and the remaining 2 groups are reference sequences. The first correlation has the same meaning and calculation method as the above correlation. The first correlation refers to the measure of the similarity or association between two or more sequences. The weighting coefficient refers to the weight distribution of all signal sequences in the combined sequence. For example, the first correlations between two groups of reference sequences and one group of main analysis sequences are 0.85 and 0.9, respectively. The weighting coefficients of the two groups of reference sequences are 0.85 / (1+0.85+0.9)=0.31 and 0.9 / (1+0.85+0.9)=0.33, respectively. The weighting coefficient of one group of main analysis sequences is 1 / (1+0.85+0.9)=0.36.

[0056] As a preferred technical solution of the present invention, the prediction model outputs the prediction sequence corresponding to the combined sequence within the prediction time based on the weighted coefficient, including the following steps:

[0057] All sequences to be predicted are input into the prediction model for training, and the prediction sequences corresponding to the main analysis sequence and the reference sequence within the prediction time are output respectively. Based on the first formula, the nth prediction result corresponding to the combined sequence is output. , the first formula is: ,in, is the weight coefficient of the main analysis sequence in the combined sequence, is the weighting coefficient of the i-th reference sequence in the combined sequence, i is a positive integer from 1 to I, and I is the total number of reference sequences included in the combined sequence, is the nth prediction result in the prediction sequence of the main analysis sequence, is the nth prediction result in the prediction sequence of the i-th reference sequence.

[0058] All prediction results corresponding to the combined sequence are combined based on the prediction time to generate a prediction sequence corresponding to the combined sequence.

[0059] Specifically, in this embodiment, the prediction model refers to an LSTM long short-term memory network model, which is used to process the prediction and analysis of long sequence data. After all sequences to be predicted are input into the prediction model, the prediction sequences corresponding to the main analysis sequence and the reference sequence are output respectively. The first formula fuses the prediction sequences corresponding to the main analysis sequence and the reference sequence, and generates the nth prediction result corresponding to the combined sequence by the corresponding weighting coefficient. All the prediction results corresponding to the combined sequence are combined based on the time series to generate the corresponding prediction sequence, which can improve the prediction accuracy of the combined sequence.

[0060] As a preferred technical solution of the present invention, setting the undetermined area corresponding to the optimal solution as the site selection area includes the following steps:

[0061] Construct the objective function based on the second formula , the second formula is: ,in, represents the number of the pending area, j is a positive integer from 1 to J, J is the total number of combination sequences in the pending area, m is a positive integer from 1 to M, M is the number of microphone arrays, is the main analysis sequence of the jth combined sequence, is the weight coefficient of the jth combined sequence, is the predicted sequence corresponding to the jth combined sequence, is the weight coefficient of the predicted sequence corresponding to the jth combined sequence, is the wind noise signal extracted by the mth microphone in the microphone array, is the weight coefficient corresponding to the wind noise signal extracted by the mth microphone;

[0062] The fitness corresponding to all the pending areas is calculated based on the second formula, the minimum fitness is set as the optimal solution, and the pending area corresponding to the minimum fitness is set as the site selection area.

[0063] Specifically, in this embodiment, the noise analysis model randomly initializes the position and velocity of a group of particles, wherein each particle represents a pending area, the position of the particle represents the position of the pending area, and the velocity of the particle refers to the vector of the speed and direction of the particle moving in the solution space, which determines the position change of the particle in the next iteration. The objective function is constructed by the second formula to calculate the fitness of each particle, and the particle swarm algorithm is used to update the position and velocity of each particle. The new position of the particle depends on its current position, individual optimal position and global optimal position. Each particle uses the objective function to calculate the fitness to determine whether the position it represents is optimal. In the second formula, the accumulation symbol is based on the accumulation of sequence values ​​at the same time point. If the sequence value corresponding to a certain time point is empty, it is counted as a value of 0. Therefore, the result of g(x) calculation is a sequence distribution, wherein the sequence value corresponding to each time point is the value accumulated from all sequences.

[0064] Specifically, fitness refers to the degree of adaptability of the pending area to the target conditions, wherein the target conditions refer to minimizing the impact of noise. Since the preset period for collecting environmental sound sources in all pending areas is consistent, the value corresponding to the fitness can be the result of accumulating all sequence values ​​contained in g(x). The smaller the fitness, the more the corresponding pending area meets the target conditions. Therefore, the pending area corresponding to the minimum fitness is set as the site selection area.

[0065] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0066] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the above-mentioned program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0067] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0068] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

[0069] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A noise and large-scale infrastructure project site selection analysis method based on particle swarm algorithm, characterized by: The method comprises the following steps: Based on a preset area range, a plurality of pending areas are delineated in the GIS image, and a microphone array is constructed based on the shape of the pending areas. The microphone array collects environmental sound sources within a preset period, and respectively extracts sound signals and wind noise signals of the environmental sound sources; Acquire the sound type and sound direction of the sound signal, separate the sound signal into multiple signal sources based on the sound type, and generate a signal sequence corresponding to the signal source based on the preset period; Establishing a prediction model, combining the signal sequence based on the microphone array and setting it as a combined sequence, calculating the weighting coefficient corresponding to each signal sequence in the combined sequence, and the prediction model outputting a prediction sequence corresponding to the combined sequence within a prediction time based on the weighting coefficient; Constructing a noise analysis model, respectively setting the objective function of the noise analysis model based on the wind noise signal, the combined sequence and the predicted sequence, outputting an optimal solution based on the objective function, setting the undetermined area corresponding to the optimal solution as a site selection area, and completing the site selection of the infrastructure project based on the site selection area; Wherein, setting the undetermined area corresponding to the optimal solution as the site selection area comprises the following steps: The objective function is constructed based on the second formula , the second formula is: ,in, represents the number of the pending area, j is a positive integer from 1 to J, J is the total number of the combination sequences in the pending area, m is a positive integer from 1 to M, M is the distribution number of the microphone array, is the main analysis sequence of the jth combined sequence, is the weight coefficient of the jth combined sequence, is the predicted sequence corresponding to the j-th combined sequence, is the weight coefficient of the prediction sequence corresponding to the j-th combined sequence, is the wind noise signal extracted by the mth microphone in the microphone array, is a weight coefficient corresponding to the wind noise signal extracted by the mth microphone; The fitness corresponding to all the pending areas is calculated based on the second formula, the minimum fitness is set as the optimal solution, and the pending area corresponding to the minimum fitness is set as the site selection area.

2. The method according to claim 1, characterized in that Extracting the wind noise signal of the environmental sound source comprises the following steps: The environmental sound source is cut into multiple frame signals based on a preset frame length, and there are overlapping signals between any two adjacent frame signals. A first matrix of the frame signal is generated based on a preset transformation algorithm. The first matrix is ​​decomposed into a base spectrum matrix and a change matrix based on a preset decomposition algorithm. A frequency spectrum histogram corresponding to the first matrix is ​​constructed. A wind noise threshold is calculated based on the frequency spectrum histogram. A target matrix and a noise matrix are extracted from the base spectrum matrix and the change matrix respectively based on the wind noise threshold. The target matrix and the noise matrix are converted into a target signal and a noise signal based on the preset transformation algorithm. This step is repeated until all frame signals are decomposed to generate corresponding target signals and noise signals. All target signals are combined and set as received signals. All noise signals are combined and set as the wind noise signal.

3. The method according to claim 2, characterized in that Extracting the sound signal of the environmental sound source comprises the following steps: Respectively generate a short-time power and a long-time power of the received signal, calculate a first ratio of the short-time power to the long-time power, and if the first ratio is greater than a first threshold, determine that the received signal is a signal to be transmitted; otherwise, determine that the received signal is a non-transmission signal; The number of sound sources of the signal to be transmitted is initially set to 0, and the sound source position of the signal to be transmitted is detected based on the distribution position of the microphone array and the preset time interval. If the sound source position of two adjacent detections is consistent, the second matrix corresponding to the sound source position is calculated; otherwise, the number of sound sources is increased by 1, and the second matrix corresponding to the sound source position is recalculated. This step is repeated until the sound source position detection is completed, the sound source power level is set based on the second matrix, the filter coefficient is adjusted based on the sound source power level, and directional information is generated, and the signal to be transmitted, the number of sound sources and the directional information are combined into the sound signal.

4. The method according to claim 3, characterized in that Generating a signal sequence includes the following steps: Acquire signal characteristics of the sound signal, construct a three-dimensional structure based on the signal characteristics, generate a first image based on the three-dimensional structure, generate characteristic parameters of the sound signal based on the pixel density value of the first image, set a type label, establish a sound database based on the type label, construct an analysis model, the analysis model generates a sound classification function based on the sound database training, divide the sound signal into a plurality of signal sources based on the sound classification function, the characteristic parameters and the number of sound sources, acquire the type label corresponding to the signal source and set it as the sound type, set the directional information as the sound directional, acquire the time series of the preset period, and combine the signal sources having the same sound directional and sound type into the signal sequence based on the time series.

5. The method according to claim 1, characterized in that Setting the weighting coefficient of the signal sequence comprises the following steps: The distribution position and distribution number of the microphone array are obtained, and a plurality of signal sequences are extracted from all signal sequences based on the distribution position, and are set as sequences to be predicted, wherein the correlation between any two sequences to be predicted is greater than a second threshold, and the number of the sequences to be predicted is less than or equal to the distribution number, and one sequence to be predicted is extracted from all sequences to be predicted as a main analysis sequence based on time characteristics, and the remaining sequences to be predicted are set as reference sequences, and the main analysis sequence and the reference sequence are combined into the combined sequence, and a first correlation between each reference sequence and the main analysis sequence is respectively obtained, and a weighting coefficient of the signal sequence is calculated based on the ratio between all first correlations.

6. The method according to claim 5, characterized in that The prediction model outputs the prediction sequence corresponding to the combined sequence within the prediction time based on the weighted coefficient, comprising the following steps: Input all sequences to be predicted into the prediction model for training, output the prediction sequences corresponding to the main analysis sequence and the reference sequence within the prediction time, and output the nth prediction result corresponding to the combined sequence based on the first formula. , the first formula is: ,in, is the weight coefficient of the main analysis sequence in the combined sequence, is the weighting coefficient of the i-th reference sequence in the combined sequence, i is a positive integer from 1 to I, and I is the total number of the reference sequences included in the combined sequence, is the nth prediction result in the prediction sequence of the main analysis sequence, is the nth prediction result in the prediction sequence of the i-th reference sequence; All prediction results corresponding to the combined sequence are combined based on the prediction time to generate a prediction sequence corresponding to the combined sequence.