A method and device for testing noise suppression effect

Through multi-factor analysis of environmental factors and optical wavelengths in the laser gas sensor, combined with multiple detections of photon number thresholds, multiple noise suppression of the spectral chart is achieved, solving the problem of poor noise suppression effect in the existing technology, and improving Accuracy of gas concentration detection.

CN118566173BActive Publication Date: 2024-10-01HUAXIA TIANXIN SENSOR TECH (DALIAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411062662.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-10-01
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

In the existing technology, due to the direct denoising analysis of a spectrum, there is a lack of independent refined analysis of multiple influencing factors, resulting in poor noise suppression effect.

Method used

The laser gas sensor control terminal receives the multi-dimensional array of environmental factors and detection light wavelength, analyzes the dynamic and static influencing modes of the absorption spectrum, configures the photon number threshold for multiple detections, generates multiple absorption spectra, and performs operations based on these modes. For first-level noise suppression, gas concentration characteristic values ​​are extracted for central trend analysis and the noise suppression effect score is calculated.

Benefits of technology

It achieves multi-factor independent and refined analysis of noise, improves noise suppression accuracy and gas concentration detection accuracy, and improves the accuracy of spectral analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118566173B_ABST
    Figure CN118566173B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for testing the effect of noise suppression, which relates to the field of data processing technology. The method includes: analyzing the dynamic influencing mode of the absorption spectrum; analyzing the static influencing mode of the absorption spectrum; configuring the photon number threshold, generating multiple absorption spectrums; generating multiple absorption spectrum characteristic graphs; generating gas concentration detection values; looping a preset number of detections, calculating several distance scalars of several gas concentration detection values ​​and several gas concentration thresholds, and calculating the noise suppression effect score. The present application can solve the technical problem in the prior art that the suppression effect is poor due to the direct denoising analysis of a spectrum and the lack of independent and refined analysis of multiple influencing factors. An independent and refined analysis of multiple noise influencing factors is performed from environmental factors and detection light waves, so as to improve the noise suppression accuracy, thereby improving the accuracy of spectral analysis and the technical effect of improving the accuracy of gas concentration detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method and device for testing noise suppression effects. Background Art

[0002] Accurately measuring gas concentration is a critical task in environmental monitoring and industrial process control. Laser gas sensors are widely used in this field due to their high accuracy and real-time performance. However, sensor data is easily affected by noise, which may come from environmental factors, light source fluctuations, or the instability of the sensor itself, thus affecting the accuracy of the measurement results.

[0003] In order to improve the measurement accuracy, traditional noise analysis directly performs denoising analysis on a spectrum, which lacks independent and refined analysis of multiple influencing factors, resulting in poor suppression effect. Summary of the invention

[0004] The purpose of the present application is to provide a method and device for testing the effect of noise suppression, so as to solve the technical problem in the prior art that the suppression effect is poor due to the direct denoising analysis of a spectrum graph and the lack of independent and refined analysis of multiple influencing factors.

[0005] In view of the above problems, the present application provides a method and device for testing the effect of noise suppression.

[0006] In a first aspect, the present application provides a method for testing the effect of noise suppression, which is implemented by a noise suppression effect testing device, wherein the method includes: receiving a multidimensional array of environmental factors through a laser gas sensor control end, and analyzing the dynamic influence mode of an absorption spectrum; receiving a detection light wavelength through the laser gas sensor control end, and analyzing the static influence mode of the absorption spectrum; configuring a photon number threshold, performing multiple detections based on the detection light wavelength, and generating multiple absorption spectrum graphs; performing first-level noise suppression on the multiple absorption spectrum graphs according to the dynamic influence mode and the static influence mode, and generating multiple absorption spectrum feature graphs; extracting multiple gas concentration characteristic values ​​according to the multiple absorption spectrum feature graphs for central trend analysis, and generating a gas concentration detection value; looping a preset number of detections, calculating several distance scalars of several gas concentration detection values ​​and several gas concentration thresholds, and obtaining the proportion of the several distance scalars that is less than or equal to the distance scalar threshold, which is set as the noise suppression effect score.

[0007] In a second aspect, the present application further provides a noise suppression effect inspection device for executing a noise suppression effect inspection method as described in the first aspect, wherein the device comprises: a dynamic influence modal analysis module for receiving a multidimensional array of environmental factors through a laser gas sensor control end and analyzing the dynamic influence modal of an absorption spectrum; a static influence modal analysis module for receiving a detection light wavelength through the laser gas sensor control end and analyzing the static influence modal of the absorption spectrum; a detection module for configuring a photon number threshold, performing multiple detections based on the detection light wavelength, and generating multiple absorption spectrum graphs; A first-level noise suppression module is used to perform first-level noise suppression on the multiple absorption spectrum images according to the dynamic influence mode and the static influence mode, and generate multiple absorption spectrum characteristic images; a central trend analysis module is used to extract multiple gas concentration characteristic values ​​according to the multiple absorption spectrum characteristic images, perform central trend analysis, and generate gas concentration detection values; a noise suppression effect analysis module is used to loop a preset number of detection times, calculate several distance scalars of several gas concentration detection values ​​and several gas concentration thresholds, obtain the proportion of the several distance scalars that is less than or equal to the distance scalar threshold, and set it as the noise suppression effect score.

[0008] One or more technical solutions provided in this application have at least the following technical effects or advantages:

[0009] Through the laser gas sensor control end, a multidimensional array of environmental factors is received to analyze the dynamic influence mode of the absorption spectrum; through the laser gas sensor control end, the wavelength of the detection light is received to analyze the static influence mode of the absorption spectrum; the photon number threshold is configured, multiple detections are performed based on the detection light wavelength to generate multiple absorption spectrum graphs; according to the dynamic influence mode and the static influence mode, the multiple absorption spectrum graphs are subjected to primary noise suppression to generate multiple absorption spectrum characteristic graphs; according to the multiple absorption spectrum characteristic graphs, multiple gas concentration characteristic values ​​are extracted to perform central trend analysis to generate gas concentration detection values; the preset number of detections is cycled, and several distance scalars of several gas concentration detection values ​​and several gas concentration thresholds are calculated, and the proportion of the several distance scalars that is less than or equal to the distance scalar threshold is obtained, which is set as the noise suppression effect score. An independent and refined analysis of multiple noise influencing factors is performed from environmental factors and detection light waves, and then noise suppression is performed, and then the gas concentration is detected multiple times in combination with the photon number threshold, and the suppression effect is analyzed to achieve the technical effect of improving the noise suppression accuracy, thereby improving the accuracy of spectral analysis, and improving the accuracy of gas concentration detection.

[0010] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented according to the contents of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are specifically cited below. It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0012] Figure 1 A flowchart of a noise suppression effect testing method for this application;

[0013] Figure 2 This is a structural schematic diagram of a noise suppression effect testing device of the present application.

[0014] Explanation of the reference numerals: dynamic influence modal analysis module 11 , static influence modal analysis module 12 , detection module 13 , primary noise suppression module 14 , central tendency analysis module 15 , noise suppression effect analysis module 16 . DETAILED DESCRIPTION

[0015] This application provides a method and device for testing the noise suppression effect, which solves the technical problem in the prior art that the suppression effect is poor due to the direct denoising analysis of a spectrum and the lack of independent and refined analysis of multiple influencing factors. An independent and refined analysis of multiple noise influencing factors is performed from environmental factors and detection light waves, and then noise suppression is performed. Then, gas concentration detection is performed multiple times in combination with the photon number threshold, and the suppression effect is analyzed, so as to achieve the technical effect of improving the noise suppression accuracy, thereby improving the accuracy of spectral analysis, and improving the accuracy of gas concentration detection.

[0016] Below, the technical solutions in the present application will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments of the present application. It should be understood that the present application is not limited to the example embodiments described herein. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application. It should also be noted that, for the convenience of description, only the parts related to the present application are shown in the accompanying drawings, rather than all of them.

[0017] Please see attached Figure 1 The present application provides a noise suppression effect testing method, wherein the method is applied to a noise suppression effect testing device, and the method specifically comprises the following steps:

[0018] Step 1: Receive the multidimensional array of environmental factors through the laser gas sensor control terminal and analyze the dynamic influence mode of the absorption spectrum.

[0019] Specifically, the laser gas sensor control end refers to an existing system or device for controlling, monitoring and data processing of laser gas sensors. Laser gas sensors detect the concentration of specific gases by emitting lasers and measuring the absorption characteristics of gas molecules to lasers. The laser gas sensor control end is responsible for the realization of these functions, including the emission of lasers, the processing of received signals, the collection and analysis of data, etc.

[0020] Laser gas sensors can be used to emit lasers and measure absorption spectra. However, environmental factors such as temperature, pressure, and humidity in the detection environment will affect the emission and absorption of the laser, resulting in a large amount of noise in the received absorption spectrum. The multidimensional array of environmental factors refers to the characteristic values ​​of environmental factors that cause noise in the absorption spectrum, including parameters such as temperature, pressure, and humidity, which are collected through the control end of the laser gas sensor. Dynamic impact modal analysis refers to analyzing how changes in environmental factors affect the shape, peak value, bandwidth, and other characteristics of the spectrum based on the multidimensional array of environmental factors. For example, the disturbance vectors of the absorption peaks of different bands and other spectral graphs caused by temperature and humidity, in layman's terms, are the direction and value of changes in spectral characteristics such as absorption peaks of different bands caused by environmental factors, which are used as dynamic impact modalities.

[0021] Step 2: Receive the detection light wavelength through the laser gas sensor control end and analyze the static influence mode of the absorption spectrum.

[0022] Specifically, the wavelength of the detection light refers to the wavelength of light used by the laser gas sensor to detect or measure a substance, gas or other physical phenomenon, and needs to be determined in combination with the actual situation. When the wavelength of the detection light is certain, the noise caused by it on the absorption spectrum is also certain. Therefore, the disturbance vector of the absorption peaks and other spectral graphs of the detection light wavelength in different bands is analyzed. In layman's terms, the change direction and change value of the spectral characteristics such as the absorption peaks of different bands of the detection light wavelength are obtained to obtain the static influence mode.

[0023] Step 3: Configure the photon number threshold, perform multiple detections based on the detection light wavelength, and generate multiple absorption spectra.

[0024] Specifically, the photon number refers to the number of photons in the light beam emitted by the laser gas sensor, which directly affects the measurement accuracy and sensitivity of the absorption characteristics of gas molecules. The larger the photon number, the larger the photon counting error. By analyzing the photon counting errors of different photon numbers, the photon number with an error less than a certain threshold is selected as the photon number threshold to reduce the probability of photon error. The laser gas sensor is further controlled to test multiple times according to the photon number threshold to generate multiple absorption spectra. Subsequently, noise suppression and noise suppression effect evaluation are performed on the multiple absorption spectra to improve the detection accuracy of the noise suppression effect.

[0025] Step 4: According to the dynamic influence mode and the static influence mode, the multiple absorption spectrum images are subjected to primary noise suppression to generate multiple absorption spectrum characteristic images.

[0026] Specifically, the dynamic influence mode refers to the influence characteristics of the environment on the shape, peak value, bandwidth, etc. of the absorption spectrum, which is analyzed based on the multidimensional array of environmental factors. The static influence mode is the influence characteristics of the inherent absorption characteristics of the wavelength of the detection light on the shape, peak value, bandwidth, etc. of the absorption spectrum. According to the dynamic influence mode and the static influence mode, the multiple absorption spectra are subjected to primary noise suppression, that is, according to the influence characteristics of the multidimensional array of environmental factors on the shape, peak value, bandwidth, etc. of the absorption spectrum in the dynamic influence mode and the static influence mode, and the influence characteristics of the wavelength of the detection light on the shape, peak value, bandwidth, etc. of the absorption spectrum in the static influence mode, these influence characteristics are eliminated in the multiple absorption spectra, so as to achieve noise suppression of the absorption spectrum, reduce the noise in the absorption spectrum, and improve the noise suppression effect.

[0027] Step 5: Extract multiple gas concentration characteristic values ​​according to the multiple absorption spectrum characteristic graphs to perform central trend analysis and generate gas concentration detection values.

[0028] Specifically, in the absorption spectrum characteristic graph, the absorption peak height, peak width and other characteristics at a specific wavelength can reflect the gas concentration. Specifically, professional and technical personnel in this field can collect the absorption spectrum characteristic graph sample set and the corresponding gas concentration characteristic value sample set based on the existing technology, and build a gas concentration recognition model based on the existing machine learning model, such as a neural network, using the absorption spectrum characteristic graph sample set as the training input and the gas concentration characteristic value sample set as the output supervision truth value, and train the gas concentration recognition model until convergence. The gas concentration recognition model analyzes multiple absorption spectrum characteristic graphs and outputs multiple gas concentration characteristic values.

[0029] Further, a central trend analysis is performed on multiple gas concentration characteristic values. Central trend analysis is used to describe the phenomenon that a group of data converges to a certain central value. The gas concentration detection value is the central value to which multiple gas concentration characteristic values ​​converge.

[0030] Step 6: loop a preset number of detections, calculate a number of distance scalars of the gas concentration detection values ​​and a number of gas concentration thresholds, obtain the proportion of the distance scalars that is less than or equal to the distance scalar threshold among the several distance scalars, and set it as the noise suppression effect score.

[0031] Specifically, the preset detection times are the number of cycles set by professionals in the field, that is, the steps of generating gas concentration detection values ​​provided in the present application are repeated multiple times, that is, steps 3 to 5 are repeated multiple times according to the preset detection times, and several gas concentration detection values ​​corresponding to the preset detection times are obtained. Several gas concentration thresholds refer to the actual and accurate gas concentration values ​​corresponding to several gas concentration detection values, and the concentration deviations between several gas concentration detection values ​​and several gas concentration thresholds are calculated as several distance scalars. The distance scalar threshold refers to the gas concentration detection error allowed to exist, which is determined by professionals in the field in combination with actual conditions. That is, if the distance scalar is within the range of the distance scalar threshold, the detection result is considered to be accurate, that is, the noise suppression effect is qualified. Therefore, the ratio of the number of distance scalars less than or equal to the distance scalar threshold in the several distance scalars to the total number of several distance scalars is counted as the noise suppression effect score. The noise suppression effect score is usually between 0 and 1. The larger the noise suppression effect score, the better the noise suppression effect. Thus, the noise suppression of the gas absorption spectrum of the laser sensor is achieved, and accurate suppression effect evaluation is performed to improve the noise suppression effect.

[0032] Furthermore, step one of this application also includes:

[0033] The multidimensional array of environmental factors is normalized to obtain an environmental factor feature array, wherein the environmental factor feature values ​​of the environmental factor feature array are arranged in the order of preset attributes of the environmental factors; the environmental factor feature array is processed by multiple parallel fitting channels of a first-level fitting network of environmental factor noise, and multiple groups of first absorption spectrum disturbance vectors are output, wherein the multiple parallel fitting channels have different model topological structures; the multiple groups of first absorption spectrum disturbance vectors are processed by a second-level fitting network of environmental factor noise, and a second absorption spectrum disturbance vector is output, which is set as the dynamic influence mode.

[0034] Specifically, the steps of receiving the multidimensional array of environmental factors and analyzing the dynamic influence mode of the absorption spectrum through the laser gas sensor control end are as follows:

[0035] First, the multidimensional array of environmental factors is normalized to eliminate the influence of different dimensions and make the data at the same order of magnitude for subsequent processing. This can be achieved through existing linear transformation, Z-score standardization and other methods, which are commonly used technical means by those skilled in the art and will not be expanded here. The multidimensional array of environmental factors includes different environmental factor eigenvalues. The normalized environmental factor eigenvalues ​​are sorted according to the preset attributes of the environmental factors, where the preset attributes of the environmental factors are set by professional and technical personnel in the field, such as sorting in the order of temperature, pressure, and humidity to obtain an eigenvalue matrix, i.e., the environmental factor eigenarray.

[0036] Furthermore, the environmental factor feature array is processed through multiple parallel fitting channels of the environmental factor noise first-level fitting network. The environmental factor noise first-level fitting network is an intelligent model built based on the existing machine learning model. Multiple parallel fitting channels are used to perform noise fitting for different environmental factors, such as temperature, humidity, pressure, etc. Specifically, with the model of the laser gas sensor as a constraint, the preset environmental factor record values ​​and absorption spectrum disturbance vector identification information are collected. The environmental factor record values ​​generally refer to the environmental factor record values ​​corresponding to the environmental factor types in the environmental factor multidimensional array, such as the record values ​​corresponding to temperature, humidity, etc.; the absorption spectrum disturbance vector identification information refers to the disturbance vector of the spectrum form such as the absorption peaks of different bands of the absorption spectrum. In layman's terms, it is the change direction and change value of the spectral characteristics such as the absorption peaks of different bands caused by environmental factors, which can be obtained by retrieving historical spectrum detection data based on existing technologies.

[0037] Based on this, the recorded values ​​of environmental factors are used as training inputs, and the identification information of the absorption spectrum disturbance vector is used as the output supervision truth value to train the existing machine learning model, such as a neural network model, to obtain multiple parallel fitting channels. The training of machine learning models is a common technical means used by professionals in this field and will not be expanded here. Multiple parallel fitting channels can have different model topologies and can be based on different neural network architectures (such as fully connected networks, convolutional neural networks, etc.) and parameter configurations to capture different influence modes of environmental factors on the absorption spectrum. Multiple parallel fitting channels are integrated to obtain an environmental factor noise first-level fitting network. The environmental factor feature array is input into the environmental factor noise first-level fitting network, and the parallel fitting channels corresponding to different environmental factors are used for analysis to output multiple groups of first absorption spectrum disturbance vectors corresponding to different environmental factors.

[0038] The multiple groups of first absorption spectrum disturbance vectors are processed by the environmental factor noise secondary fitting network, that is, the multiple groups of first absorption spectrum disturbance vectors refer to the disturbance vectors of the absorption spectrum caused by different environmental factors, and the environmental factor noise secondary fitting network is used to fuse and analyze the multiple groups of first absorption spectrum disturbance vectors, that is, to fit the multiple groups of first absorption spectrum disturbance vectors into a disturbance vector, that is, the second absorption spectrum disturbance vector. Specifically, a large number of first absorption spectrum disturbance vector samples and corresponding fitting absorption spectrum disturbance vector identification information can be obtained by professional and technical personnel in this field. Based on the existing machine learning model, the first absorption spectrum disturbance vector samples are used as training input, and the fitting absorption spectrum disturbance vector identification information is used as the output supervision truth value to train and construct the environmental factor noise secondary fitting network. Finally, the multiple groups of first absorption spectrum disturbance vectors are input into the environmental factor noise secondary fitting network for fitting, and the second absorption spectrum disturbance vector is output and set as the dynamic influence mode. In this way, the spectrum noise disturbance vector recognition based on multiple environmental factors is realized, which is convenient for subsequent noise suppression, improves the accuracy of noise suppression, and thus improves the gas concentration detection accuracy.

[0039] Furthermore, step 2 of this application also includes:

[0040] According to the laser gas sensor model and the detection light wavelength, a plurality of groups of third absorption spectrum disturbance vectors are collected, wherein the plurality of groups of third absorption spectrum disturbance vectors are historical identification disturbance vectors caused by light source factors; the disturbance vector attribute set is traversed, and a vector deviation threshold set is configured; according to the vector deviation threshold set, cluster analysis is performed on the plurality of groups of third absorption spectrum disturbance vectors to generate a plurality of clusters of third absorption spectrum disturbance vectors; clusters in which the number of disturbance vectors is less than or equal to the frequent threshold are deleted to obtain a plurality of clusters of high-frequency third absorption spectrum disturbance vectors; the plurality of clusters of high-frequency third absorption spectrum disturbance vectors are traversed to perform median evaluation to generate the static influence mode.

[0041] Specifically, the steps of receiving the detection light wavelength and analyzing the static influence mode of the absorption spectrum through the laser gas sensor control end are as follows:

[0042] First, taking the laser gas sensor model and the wavelength of the detection light as constraints, collect multiple sets of third absorption spectrum disturbance vectors that meet the constraints, wherein the multiple sets of third absorption spectrum disturbance vectors are historical identification disturbance vectors caused by light source factors, that is, the disturbance vectors of the absorption peaks of different bands of the absorption spectrum obtained when the gas concentration is detected with the same model and the same detection light wavelength in the history, that is, the noise caused by the wavelength of the detection light only when other environmental factors remain unchanged. Traverse the disturbance vector attribute set and configure the vector deviation threshold set, wherein the disturbance vector attribute refers to the type of disturbance vector, such as the position in the spectrum, that is, only the deviations at the same position in the spectrum belong to the same attribute, such as the deviation value of the absorption peak in the same band. Specifically, the disturbance vector attribute set and the corresponding vector deviation threshold set can be set by professionals and technicians in this field. The vector deviation threshold refers to the disturbance vector error that can be considered consistent with the deviation.

[0043] According to the vector deviation threshold set, cluster analysis is performed on the plurality of groups of third absorption spectrum disturbance vectors, that is, according to the vector deviation threshold corresponding to different disturbance vector attributes in the vector deviation threshold set, the third absorption spectrum disturbance vectors with the same attributes in the plurality of groups of third absorption spectrum disturbance vectors are clustered, and the third absorption spectrum disturbance vectors with the same attributes and deviations less than or equal to the corresponding vector deviation threshold are clustered into one category, which can be specifically achieved by existing k-means, hierarchical clustering and other methods, thereby generating a plurality of clusters of third absorption spectrum disturbance vectors. The frequent threshold is set by professionals and technicians in this field, and the set value is relatively small, that is, if the number of disturbance vectors in the cluster in any cluster of third absorption spectrum disturbance vectors is less than or equal to the frequent threshold, it means that the disturbance vector has appeared very few times in history, there is contingency, its reference value for noise suppression is relatively small, and it is easy to cause overfitting of noise suppression, so it is deleted, and the remaining plurality of clusters of third absorption spectrum disturbance vectors are used as the plurality of clusters of high-frequency third absorption spectrum disturbance vectors.

[0044] Finally, the multiple clusters of high-frequency third absorption spectrum disturbance vectors are traversed to perform median evaluation, that is, the median or average value of the multiple clusters of high-frequency third absorption spectrum disturbance vectors is calculated as the static influence mode. This realizes noise analysis based on the wavelength of the detection light, facilitates subsequent noise suppression, improves the accuracy of noise suppression, and further improves the accuracy of gas concentration detection.

[0045] Furthermore, step three of this application also includes:

[0046] According to the photon number constraint interval, a number of initial photon numbers are randomly extracted through a random uniform distribution function; according to the laser gas sensor model, the detection light wavelength and the initial photon numbers, based on big data, multiple groups of photon counting error record logs are collected; the multiple groups of photon counting error record logs are traversed to perform central trend analysis respectively, and multiple photon counting error characteristic values ​​are generated; the minimum photon number of the first initial photon number set that is less than or equal to the photon counting error characteristic value threshold is extracted from the multiple photon counting error characteristic values, and is set as a first photon number selected value; an adjacent photon number greater than the first photon number selected value is selected, and is set as a second photon number selected value; photon number optimization is performed according to the first photon number selected value and the second photon number selected value, and the photon number threshold is generated.

[0047] Furthermore, the present application also includes the following steps:

[0048] When the photon number deviation between the first photon number selected value and the second photon number selected value is less than or equal to a photon number deviation threshold, the first photon number selected value is set to the photon number threshold.

[0049] Furthermore, the present application also includes the following steps:

[0050] When the photon number deviation is greater than the photon number deviation threshold, the photon number constraint interval is updated according to the first photon number selected value and the second photon number selected value to execute the cyclic photon number threshold configuration to generate the photon number threshold.

[0051] Specifically, the steps to configure the photon number threshold are as follows:

[0052] First, obtain the photon number constraint interval. The photon number constraint interval can be set by professional and technical personnel in this field. For example, it can be set in combination with the historical photon number of the laser gas sensor in history. The random uniform distribution function is an existing continuous probability distribution. The probability of a random event occurring within a given interval is the same. It is used to generate random numbers within a specific range. In this application, the photon number constraint interval is a given range for random number generation. Within this interval, a number of initial photon numbers are randomly extracted through a random uniform distribution function, and the initial photon numbers are uniformly distributed within the photon number constraint interval.

[0053] According to the laser gas sensor model, the detection light wavelength and the several initial photon numbers, based on the existing Internet of Things big data, when performing photon counting analysis in the collection history, multiple groups of photon counting error record logs corresponding to the laser gas sensor model, the detection light wavelength and the several initial photon numbers are recorded, and the multiple groups of photon counting error record logs reflect the deviation between the actual photon counting result and the initial photon number.

[0054] The multiple groups of photon counting error record logs are traversed to perform central tendency analysis respectively, wherein the central tendency analysis here is the same as the method of performing central tendency analysis on multiple gas concentration characteristic values ​​in step 5, that is, multiple groups of photon counting error record logs are serialized and adjusted from small to large to generate multiple groups of photon counting error record sequences, and the one-quarter sequence number characteristic value and the three-quarter sequence number characteristic value of each group of photon counting error record sequences are extracted, and the counting error deviation modulus of the one-quarter sequence number characteristic value and the three-quarter sequence number characteristic value of the photon counting error record sequence are calculated, and the one-quarter sequence number characteristic value minus 1.5 times the counting error deviation modulus and the three-quarter sequence number characteristic value plus 1.5 times the counting error deviation modulus of the photon counting error record sequence are calculated to generate upper and lower boundary values, and the photon counting error records exceeding the upper and lower boundary values ​​are deleted, and the remaining photon counting error records are averaged to generate multiple photon counting error characteristic values ​​corresponding to the multiple groups of photon counting error record logs.

[0055] The photon counting error characteristic value threshold is further set. The photon counting error characteristic value threshold refers to the photon counting error that is allowed to exist, that is, the error whose influence on the absorption spectrum is negligible, and is specifically set by professional and technical personnel in this field. The initial photon number less than or equal to the photon counting error characteristic value threshold is extracted from the multiple photon counting error characteristic values ​​to form a first initial photon number set, and the minimum photon number in the first initial photon number set is counted and set as the first photon number selected value. The number of photons in the first initial photon number set is serialized in order from small to large, and the first photon number selected value is the number of photons located at the first position after serialization. The number of adjacent photons greater than the first photon number selected value is selected, that is, the number of photons after serialization and the first photon number selected value are set as the second photon number selected value.

[0056] The photon number optimization is performed according to the first photon number selected value and the second photon number selected value, that is, the photon number deviation between the first photon number selected value and the second photon number selected value is calculated. When the photon number deviation between the first photon number selected value and the second photon number selected value is less than or equal to the photon number deviation threshold, it means that the difference between the first photon number selected value and the second photon number is small. The first photon number selected value is set to the photon number threshold. Because the larger the photon number, the larger the photon counting error. When the deviation is small, a smaller photon number is selected to reduce the photon error probability.

[0057] When the photon number deviation is greater than the photon number deviation threshold, the photon number constraint interval is updated according to the first photon number selected value and the second photon number selected value, that is, the first photon number selected value and the second photon number selected value form a new photon number constraint interval, and the above-mentioned execution steps of obtaining the photon number threshold are repeated, that is, based on the new photon number constraint interval, a number of updated initial photon numbers are randomly extracted through a random uniform distribution function, and the updated photon counting error characteristic value is obtained, and the photon number optimization is performed until the photon number deviation of the updated first photon number selected value and the second photon number selected value is less than or equal to the photon number deviation threshold, otherwise, the photon number constraint interval is continuously updated, and the analysis is repeated until the photon number threshold is obtained. In this way, the analysis configuration of the photon number threshold is realized, the probability of photon error is reduced, and the accuracy of the absorption spectrum is improved.

[0058] Furthermore, step five of this application also includes:

[0059] The multiple gas concentration characteristic values ​​are serially adjusted from small to large to generate a gas concentration characteristic value sequence; one-quarter sequence number characteristic values ​​of the gas concentration characteristic value sequence are extracted, and three-quarter sequence number characteristic values ​​of the gas concentration characteristic value sequence are extracted; the deviation modulus of the one-quarter sequence number characteristic values ​​and the three-quarter sequence number characteristic values ​​are calculated; the one-quarter sequence number characteristic value is calculated minus 1.5 times the deviation modulus to generate a first boundary value, and the three-quarter sequence number characteristic value is calculated plus 1.5 times the deviation modulus to generate a second boundary value; the gas concentration characteristic values ​​that are less than the first boundary value or greater than the second boundary value are deleted, and the gas concentration concentrated characteristic values ​​are obtained for mean calculation to generate the gas concentration detection value.

[0060] Specifically, the steps of extracting multiple gas concentration characteristic values ​​according to the multiple absorption spectrum characteristic graphs to perform central trend analysis and generate gas concentration detection values ​​are as follows:

[0061] The multiple gas concentration characteristic values ​​are serially adjusted from small to large to generate a gas concentration characteristic value sequence, and one-quarter sequence number characteristic values ​​and three-quarter sequence number characteristic values ​​of the gas concentration characteristic value sequence are extracted. For example, if the total number of the multiple gas concentration characteristic values ​​is 20, then after serializing and adjusting from small to large, the 5th gas concentration characteristic value is the one-quarter sequence number characteristic value, and similarly, the 15th gas concentration characteristic value is the three-quarter sequence number characteristic value.

[0062] Calculate the absolute value of the deviation between the one-quarter sequence number eigenvalue and the three-quarter sequence number eigenvalue as the deviation modulus, calculate the one-quarter sequence number eigenvalue minus 1.5 times the deviation modulus to generate a first boundary value, calculate the three-quarter sequence number eigenvalue plus 1.5 times the deviation modulus to generate a second boundary value. Delete the gas concentration eigenvalues ​​that are less than the first boundary value or greater than the second boundary value, use the remaining gas concentration eigenvalues ​​as the gas concentration concentrated eigenvalues ​​and perform mean calculation, and the result is the gas concentration detection value. This realizes the centralized trend analysis of the gas concentration eigenvalues, facilitates the subsequent detection error identification, and provides support for the evaluation of the noise suppression effect.

[0063] In summary, the noise suppression effect testing method provided by the present application has the following technical effects:

[0064] Through the laser gas sensor control end, a multidimensional array of environmental factors is received to analyze the dynamic influence mode of the absorption spectrum; through the laser gas sensor control end, the wavelength of the detection light is received to analyze the static influence mode of the absorption spectrum; the photon number threshold is configured, multiple detections are performed based on the detection light wavelength to generate multiple absorption spectrum graphs; according to the dynamic influence mode and the static influence mode, the multiple absorption spectrum graphs are subjected to primary noise suppression to generate multiple absorption spectrum characteristic graphs; according to the multiple absorption spectrum characteristic graphs, multiple gas concentration characteristic values ​​are extracted to perform central trend analysis to generate gas concentration detection values; the preset number of detections is cycled, and several distance scalars of several gas concentration detection values ​​and several gas concentration thresholds are calculated, and the proportion of the several distance scalars that is less than or equal to the distance scalar threshold is obtained, which is set as the noise suppression effect score. An independent and refined analysis of multiple noise influencing factors is performed from environmental factors and detection light waves, and then noise suppression is performed, and then the gas concentration is detected multiple times in combination with the photon number threshold, and the suppression effect is analyzed to achieve the technical effect of improving the noise suppression accuracy, thereby improving the accuracy of spectral analysis, and improving the accuracy of gas concentration detection. Example

[0065] Based on the same inventive concept as the noise suppression effect testing method in the aforementioned embodiment, the present application also provides a noise suppression effect testing device, see the attached Figure 2 , the device comprises:

[0066] The dynamic influence modal analysis module 11 is used to receive the multidimensional array of environmental factors through the laser gas sensor control terminal and analyze the dynamic influence mode of the absorption spectrum;

[0067] The static influence modal analysis module 12 is used to receive the detection light wavelength through the laser gas sensor control end and analyze the static influence mode of the absorption spectrum;

[0068] A detection module 13 is used to configure a photon number threshold, perform multiple detections based on the detection light wavelength, and generate multiple absorption spectra;

[0069] A primary noise suppression module 14 is used to perform primary noise suppression on the multiple absorption spectrum images according to the dynamic influence mode and the static influence mode to generate multiple absorption spectrum characteristic images;

[0070] A central tendency analysis module 15 is used to extract multiple gas concentration characteristic values ​​according to the multiple absorption spectrum characteristic graphs to perform central tendency analysis and generate gas concentration detection values;

[0071] The noise suppression effect analysis module 16 is used to cycle a preset number of detections, calculate a number of distance scalars of the gas concentration detection values ​​and a number of gas concentration thresholds, obtain the proportion of the distance scalars that is less than or equal to the distance scalar threshold, and set it as the noise suppression effect score.

[0072] Furthermore, the dynamic influence modal analysis module 11 in the device is also used for:

[0073] Normalizing the multidimensional array of environmental factors to obtain an environmental factor feature array, wherein the environmental factor feature values ​​of the environmental factor feature array are arranged in the order of preset attributes of the environmental factors;

[0074] Processing the environmental factor feature array through multiple parallel fitting channels of the first-level fitting network of environmental factor noise, and outputting multiple groups of first absorption spectrum disturbance vectors, wherein the multiple parallel fitting channels have different model topological structures;

[0075] The plurality of groups of first absorption spectrum disturbance vectors are processed through an environmental factor noise secondary fitting network, and a second absorption spectrum disturbance vector is outputted and set as the dynamic influence mode.

[0076] Further, the static influence modal analysis module 12 in the device is also used for:

[0077] Collecting multiple sets of third absorption spectrum disturbance vectors according to the laser gas sensor model and the detection light wavelength, wherein the multiple sets of third absorption spectrum disturbance vectors are historical identification disturbance vectors caused by light source factors;

[0078] Traverse the disturbance vector attribute set and configure the vector deviation threshold set;

[0079] Performing cluster analysis on the plurality of groups of third absorption spectrum disturbance vectors according to the vector deviation threshold set to generate a plurality of clusters of third absorption spectrum disturbance vectors;

[0080] Delete the clusters whose number of perturbation vectors is less than or equal to the frequent threshold, and obtain perturbation vectors of multiple clusters of high-frequency third absorption spectra;

[0081] The plurality of clusters of high-frequency third absorption spectrum disturbance vectors are traversed to perform median evaluation to generate the static impact mode.

[0082] Furthermore, the detection module 13 in the device is also used for:

[0083] According to the photon number constraint interval, a number of initial photon numbers are randomly extracted through a random uniform distribution function;

[0084] According to the laser gas sensor model, the detection light wavelength and the initial number of photons, based on big data, multiple groups of photon counting error record logs are collected;

[0085] Traversing the plurality of groups of photon counting error record logs and performing central trend analysis respectively to generate a plurality of photon counting error characteristic values;

[0086] Extracting the minimum photon number of the first initial photon number set that is less than or equal to the photon counting error characteristic value threshold value from the plurality of photon counting error characteristic values, and setting it as the first photon number selected value;

[0087] Selecting a number of adjacent photons greater than the first selected value of the number of photons as a second selected value of the number of photons;

[0088] The photon number is optimized according to the first photon number selected value and the second photon number selected value to generate the photon number threshold.

[0089] Furthermore, the detection module 13 in the device is also used for:

[0090] When the photon number deviation between the first photon number selected value and the second photon number selected value is less than or equal to a photon number deviation threshold, the first photon number selected value is set to the photon number threshold.

[0091] Furthermore, the detection module 13 in the device is also used for:

[0092] When the photon number deviation is greater than the photon number deviation threshold, the photon number constraint interval is updated according to the first photon number selected value and the second photon number selected value to execute the cyclic photon number threshold configuration to generate the photon number threshold.

[0093] Furthermore, the central tendency analysis module 15 in the device is also used for:

[0094] The plurality of gas concentration characteristic values ​​are serially adjusted from small to large to generate a gas concentration characteristic value sequence;

[0095] Extracting one-quarter of the sequence of characteristic values ​​of the gas concentration characteristic value sequence, and extracting three-quarters of the sequence of characteristic values ​​of the gas concentration characteristic value sequence;

[0096] Calculate the deviation modulus of the one-quarter sequence number eigenvalue and the three-quarter sequence number eigenvalue;

[0097] Calculate the first boundary value by subtracting 1.5 times the deviation modulus from the one-quarter sequence number characteristic value, and calculate the second boundary value by adding 1.5 times the deviation modulus to the three-quarter sequence number characteristic value;

[0098] The gas concentration characteristic values ​​that are smaller than the first boundary value or larger than the second boundary value are deleted, and the concentrated characteristic values ​​of the gas concentration are obtained for average calculation to generate the gas concentration detection value.

[0099] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. Figure 1 The noise suppression effect inspection method and specific examples in the first embodiment are also applicable to the noise suppression effect inspection device in the present embodiment. Through the above detailed description of the noise suppression effect inspection method, those skilled in the art can clearly know the noise suppression effect inspection device in the present embodiment, so for the sake of brevity of the specification, it will not be described in detail here. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0100] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

[0101] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application belong to the scope of the present application and its equivalent technology, the present application is also intended to include these modifications and variations.

Claims

1. A noise suppression effect testing method, characterized in that: Applicable to a noise suppression effect testing device, the device is communicatively connected to a laser gas sensor control terminal, and includes: Through the laser gas sensor control end, the multi-dimensional array of environmental factors is received to analyze the dynamic influence mode of the absorption spectrum; Receiving the detection light wavelength through the laser gas sensor control end and analyzing the static influence mode of the absorption spectrum; Configure a photon number threshold, perform multiple detections based on the detection light wavelength, and generate multiple absorption spectra; According to the dynamic influence mode and the static influence mode, performing primary noise suppression on the multiple absorption spectrum images to generate multiple absorption spectrum characteristic images; Extracting multiple gas concentration characteristic values ​​according to the multiple absorption spectrum characteristic graphs to perform central trend analysis and generate gas concentration detection values; Cycle a preset number of detections, calculate a number of distance scalars of a number of the gas concentration detection values ​​and a number of gas concentration thresholds, obtain a proportion of the number of distance scalars that is less than or equal to the distance scalar threshold, and set it as a noise suppression effect score; Among them, through the laser gas sensor control end, a multi-dimensional array of environmental factors is received to analyze the dynamic influence mode of the absorption spectrum, including: Normalizing the multidimensional array of environmental factors to obtain an environmental factor feature array, wherein the environmental factor feature values ​​of the environmental factor feature array are arranged in the order of preset attributes of the environmental factors; Processing the environmental factor feature array through multiple parallel fitting channels of the first-level fitting network of environmental factor noise, and outputting multiple groups of first absorption spectrum disturbance vectors, wherein the multiple parallel fitting channels have different model topological structures; Processing the plurality of first absorption spectrum disturbance vectors through an environmental factor noise secondary fitting network, outputting a second absorption spectrum disturbance vector, and setting it as the dynamic influence mode; The laser gas sensor control end receives the detection light wavelength and analyzes the static influence mode of the absorption spectrum, including: Collecting multiple sets of third absorption spectrum disturbance vectors according to the laser gas sensor model and the detection light wavelength, wherein the multiple sets of third absorption spectrum disturbance vectors are historical identification disturbance vectors caused by light source factors; Traverse the disturbance vector attribute set and configure the vector deviation threshold set; Performing cluster analysis on the plurality of groups of third absorption spectrum disturbance vectors according to the vector deviation threshold set to generate a plurality of clusters of third absorption spectrum disturbance vectors; Delete the clusters whose number of perturbation vectors is less than or equal to the frequent threshold, and obtain perturbation vectors of multiple clusters of high-frequency third absorption spectra; The plurality of clusters of high-frequency third absorption spectrum disturbance vectors are traversed to perform median evaluation to generate the static impact mode.

2. The method according to claim 1, characterized in that Configure the photon count threshold, including: According to the photon number constraint interval, a number of initial photon numbers are randomly extracted through a random uniform distribution function; According to the laser gas sensor model, the detection light wavelength and the initial number of photons, based on big data, multiple groups of photon counting error record logs are collected; Traversing the plurality of groups of photon counting error record logs and performing central trend analysis respectively to generate a plurality of photon counting error characteristic values; Extracting the minimum photon number of the first initial photon number set that is less than or equal to the photon counting error characteristic value threshold value from the plurality of photon counting error characteristic values, and setting it as the first photon number selected value; Selecting a number of adjacent photons greater than the first selected value of the number of photons as a second selected value of the number of photons; The photon number is optimized according to the first photon number selected value and the second photon number selected value to generate the photon number threshold.

3. The method according to claim 2, characterized in that Performing photon number optimization according to the first photon number selected value and the second photon number selected value to generate the photon number threshold includes: When the photon number deviation between the first photon number selected value and the second photon number selected value is less than or equal to a photon number deviation threshold, the first photon number selected value is set to the photon number threshold.

4. The method according to claim 3, characterized in that Also includes: When the photon number deviation is greater than the photon number deviation threshold, the photon number constraint interval is updated according to the first photon number selected value and the second photon number selected value to execute the cyclic photon number threshold configuration to generate the photon number threshold.

5. The method according to claim 1, characterized in that Extracting multiple gas concentration characteristic values ​​according to the multiple absorption spectrum characteristic graphs to perform central trend analysis and generate gas concentration detection values, including: The plurality of gas concentration characteristic values ​​are serially adjusted from small to large to generate a gas concentration characteristic value sequence; Extracting one-quarter of the sequence of characteristic values ​​of the gas concentration characteristic value sequence, and extracting three-quarters of the sequence of characteristic values ​​of the gas concentration characteristic value sequence; Calculate the deviation modulus of the one-quarter sequence number eigenvalue and the three-quarter sequence number eigenvalue; Calculate the first boundary value by subtracting 1.5 times the deviation modulus from the one-quarter sequence number characteristic value, and calculate the second boundary value by adding 1.5 times the deviation modulus to the three-quarter sequence number characteristic value; The gas concentration characteristic values ​​that are smaller than the first boundary value or larger than the second boundary value are deleted, and the concentrated characteristic values ​​of the gas concentration are obtained for average calculation to generate the gas concentration detection value.

6. A noise suppression effect testing device, characterized in that: For implementing the steps of the method according to any one of claims 1 to 5, the device comprises: The dynamic influence modal analysis module is used to receive the multi-dimensional array of environmental factors through the laser gas sensor control terminal and analyze the dynamic influence mode of the absorption spectrum; A static influence modal analysis module, used for receiving the detection light wavelength through the laser gas sensor control end and analyzing the static influence mode of the absorption spectrum; A detection module, used to configure a photon number threshold, perform multiple detections based on the detection light wavelength, and generate multiple absorption spectra; A primary noise suppression module, used for performing primary noise suppression on the plurality of absorption spectrum images according to the dynamic influence mode and the static influence mode, and generating a plurality of absorption spectrum characteristic images; A central tendency analysis module, used for extracting a plurality of gas concentration characteristic values ​​according to the plurality of absorption spectrum characteristic graphs, performing central tendency analysis, and generating a gas concentration detection value; The noise suppression effect analysis module is used to cycle a preset number of detections, calculate a number of distance scalars of a number of gas concentration detection values ​​and a number of gas concentration thresholds, obtain the proportion of the distance scalars that is less than or equal to the distance scalar threshold, and set it as the noise suppression effect score.