A method and system for online identification and evaluation of air pollution

By combining the sensor array and dynamic adjustment factors with the nuclear ridge regression model and characteristic matrix analysis, the problem of gas monitoring errors in complex environments is solved, and more accurate gas identification and monitoring results are achieved.

CN118329975BActive Publication Date: 2024-10-01SHANDONG HONGSHI CERAMIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410455238.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-16
Publication Date
2024-10-01
Estimated Expiration
2044-04-16

AI Technical Summary

Technical Problem

Existing air pollution monitoring technologies have errors in identifying and quantifying gas components in complex mixed gas environments, and traditional methods lack dynamic adjustment of sensor response characteristics, resulting in deviations in monitoring results.

Method used

The sensor array and dynamic adjustment factor are used to calculate the dynamic adjustment factor through historical data, real-time environmental conditions and sensor performance, generate gas prediction values, and improve monitoring accuracy through nuclear ridge regression model and feature matrix analysis.

Benefits of technology

It improves the accuracy and reliability of gas identification in complex environments, adapts to changes in environment and sensor status, and provides more accurate gas concentration prediction and monitoring results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118329975B_ABST
    Figure CN118329975B_ABST
Patent Text Reader

Abstract

The present invention provides an online identification and evaluation method and system for atmospheric pollution, which relates to the field of data processing technology. The method comprises: using at least one sensor to form a sensor array; introducing a single gas into the sensor array to obtain the response characteristics of each sensor to various gases; obtaining the voltage value of each sensor under various mixed gas environments; calculating a dynamic adjustment factor according to historical data, real-time environmental conditions and sensor performance; calculating by response characteristics, voltage values ​​of each sensor and dynamic adjustment factors to generate predicted values ​​of various gases; analyzing the predicted values ​​and true values ​​of various gases to obtain analysis results; analyzing atmospheric pollutant gases according to the comparison results to obtain analysis results. The present invention can be dynamically adjusted according to historical data, real-time environmental conditions and sensor performance, thereby improving the accuracy and reliability of monitoring results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to an online identification and evaluation method and system for air pollution. Background Art

[0002] The ceramic production process is often accompanied by the emission of various gases, including some gases that are harmful to the environment and human body. In order to effectively control the emission of these harmful gases, it is particularly important to timely and accurately identify and evaluate the atmospheric pollution status. However, for the complex and changeable gas emission environment such as ceramic production, some existing atmospheric pollution monitoring technologies are based on a single sensor, and its accuracy and reliability are seriously affected by the performance of the sensor itself and the external environment. Especially in a complex mixed gas environment, a single sensor will have some errors when identifying and quantifying various gas components.

[0003] In addition, traditional monitoring methods lack dynamic adjustment of sensor response characteristics and are not convenient to adjust according to real-time environmental conditions (such as temperature, humidity, pressure, etc.) and changes in sensor performance. Therefore, it is easy to cause some deviations in the monitoring results. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide an online identification and evaluation method and system for atmospheric pollution, which can be dynamically adjusted according to historical data, real-time environmental conditions and sensor performance by setting a dynamic adjustment factor, thereby improving the accuracy and reliability of the monitoring results.

[0005] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0006] In a first aspect, an online identification and evaluation method for air pollution is provided, the method comprising:

[0007] Using at least one sensor to form a sensor array;

[0008] A single gas is introduced into the sensor array to obtain the response characteristics of each sensor to various gases;

[0009] Obtain the voltage value of each sensor in various mixed gas environments;

[0010] Calculate dynamic adjustment factors based on historical data, real-time environmental conditions, and sensor performance;

[0011] Calculates the response characteristics, voltage values ​​of each sensor, and dynamic adjustment factors to generate predicted values ​​for each gas;

[0012] Analyze the predicted values ​​and actual values ​​of various gases to obtain analysis results;

[0013] Based on the comparison results, the atmospheric pollutant gases are analyzed to obtain analysis results.

[0014] Furthermore, based on historical data, real-time environmental conditions, and sensor performance, dynamic adjustment factors are calculated, including:

[0015] pass Calculate the dynamic adjustment factor F, where β0 is an intercept term representing the base deviation when all remaining variables are 0, is the sensor historical reading H i The regression coefficient of each sensor history reading H i Represents the sensor readings at different time points or under different conditions, is the environmental condition E j The regression coefficient of is the cross-term coefficient, reflecting the historical readings of the sensor H i and environmental conditions E j The interaction between is the sensor sensitivity S k The regression coefficient, log(S k ) represents the logarithm of the sensor sensitivity, δ Rl is the response time R l The response time describes the time required for the sensor to generate the corresponding output from receiving the input change, exp(-αR l ) denotes an exponential decay transformation of the response time, α is a positive hyperparameter, tanh denotes the hyperbolic tangent function, i, j, k, and l are iteration variables used to iterate over different data sets during the summation process, p is the number of sensor sensitivities, m is the number of environmental conditions, n is the number of historical sensor readings, and q is the number of response times.

[0016] Furthermore, the environmental conditions include external temperature, humidity and wind speed.

[0017] Furthermore, the response characteristics, the voltage value of each sensor, and the dynamic adjustment factor are used to calculate the predicted values ​​of various gases, including:

[0018] A feature matrix is ​​constructed according to the response characteristics and the voltage value of each sensor;

[0019] According to the preset width parameter σ, by Calculate the kernel similarity between the feature vector corresponding to each sensor data point in the feature matrix and each point in the training data set to obtain a kernel vector k(x′, X i ), where X iis the i-th data point in the training data set, x′ represents a feature vector containing the adjusted voltage value and response time, and the training data set X i Contains multiple data points, each of which is a feature vector containing an adjusted voltage value and a response time;

[0020] According to the kernel vector k(x′, X i ) through f(x′)=∑ i α i k(x′,X i ) to obtain the predicted gas concentration value f(x′), where α i are the coefficients obtained from the training of the kernel ridge regression model.

[0021] Furthermore, a feature matrix is ​​constructed according to the response characteristics and the voltage value of each sensor, including:

[0022] Multiplying the voltage value of the sensor by the dynamic adjustment factor to obtain an adjusted voltage value;

[0023] Create a feature matrix with the number of rows equal to the number of sensor data points and 2 columns. The first column is used to store the adjusted voltage value and the second column is used to store the response time.

[0024] In the first column of the characteristic matrix, each adjusted voltage value is filled in sequence, and in the second column of the characteristic matrix, the response time corresponding to each voltage value is filled in sequence.

[0025] Furthermore, the predicted values ​​and actual values ​​of various gases are analyzed to obtain analysis results, including:

[0026] For each pair of predicted value and true value, calculate the error between the predicted value and the true value;

[0027] All calculated errors are statistically analyzed to obtain analysis results.

[0028] Furthermore, all calculated errors are statistically analyzed to obtain analysis results, including:

[0029] Calculate the average of all errors and calculate the mean error;

[0030] Based on the average error, calculate the standard deviation of the error;

[0031] Based on the standard deviation of the errors, the maximum and minimum values ​​among all the errors are determined.

[0032] In a second aspect, an online identification and evaluation device for air pollution includes:

[0033] The acquisition module is used to use at least one sensor to form a sensor array; introduce a single gas into the sensor array to obtain the response characteristics of each sensor to various gases; obtain the voltage value of each sensor under various mixed gas environments; and calculate the dynamic adjustment factor based on historical data, real-time environmental conditions and sensor performance;

[0034] The processing module is used to calculate through the response characteristics, the voltage value of each sensor and the dynamic adjustment factor to generate the predicted values ​​of various gases; analyze the predicted values ​​and actual values ​​of various gases to obtain the analysis results; and analyze the atmospheric pollutant gases according to the comparison results to obtain the analysis results.

[0035] According to a third aspect, a computing device includes:

[0036] one or more processors;

[0037] The storage device is used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method described.

[0038] In a fourth aspect, a computer-readable storage medium stores a program, and when the program is executed by a processor, the method described is implemented.

[0039] The above solution of the present invention includes at least the following beneficial effects:

[0040] By using a sensor array rather than a single sensor and combining the response characteristics of multiple sensors, various gas components can be more accurately identified and quantified in a complex mixed gas environment.

[0041] The present invention can perform dynamic adjustment according to historical data, real-time environmental conditions and sensor performance by setting a dynamic adjustment factor, thereby improving the accuracy and reliability of the monitoring result. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a flow chart of an online identification and evaluation method for air pollution provided by an embodiment of the present invention.

[0043] Figure 2 It is a schematic diagram of an online identification and evaluation device for air pollution provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0045] like Figure 1 As shown, an embodiment of the present invention provides an online identification and evaluation method for air pollution, the method comprising the following steps:

[0046] Step 11, using at least one sensor to form a sensor array;

[0047] Step 12, introducing a single gas into the sensor array to obtain the response characteristics of each sensor to various gases;

[0048] Step 13, obtaining the voltage value of each sensor under various mixed gas environments;

[0049] Step 14, calculating a dynamic adjustment factor based on historical data, real-time environmental conditions, and sensor performance;

[0050] Step 15, calculating through the response characteristics, the voltage value of each sensor and the dynamic adjustment factor to generate the predicted value of each gas;

[0051] Step 16, analyzing the predicted values ​​and actual values ​​of various gases to obtain analysis results;

[0052] Step 17, analyzing the atmospheric pollutant gas according to the comparison result to obtain the analysis result.

[0053] In the embodiment of the present invention, step 11, by combining multiple sensors to form an array, the range of gas types that can be detected can be expanded, and the complementarity between different sensors can be used to improve the accuracy of gas identification. Step 12, by testing the response of each gas to the sensor separately, an accurate sensor response model can be established. Step 13, by testing the response of the sensor in a mixed gas environment, the real atmospheric pollution conditions can be simulated, so that the subsequent gas identification is closer to the actual situation. Step 14, using the dynamic adjustment factor calculated by historical data, real-time environmental conditions and sensor performance, the identification method can be made more flexible and accurate, and can adapt to the changing environmental conditions and sensor status. Step 15, by comprehensively considering the response characteristics of the sensor, the real-time voltage value and the dynamic adjustment factor, a more accurate gas prediction value can be generated to provide reliable data support for atmospheric pollution monitoring. Step 16, by comparing the predicted value and the true value, the accuracy of the prediction method can be verified, and necessary corrections can be made according to the analysis results to further improve the recognition accuracy. Step 17, the final analysis results can provide accurate information on the atmospheric pollution status for the environmental protection department.

[0054] In another preferred embodiment of the present invention, the above step 11 may include:

[0055] Step 111, analyzing the monitoring area, including the size, shape, terrain, wind direction and wind speed environmental factors of the monitoring area; obtaining the detection range, accuracy and response time of each sensor, and determining the distribution location of the sensor according to the characteristics of the monitoring area and the performance of the sensor;

[0056] Step 112, according to the distribution position of the sensors, for each layout, determine the position and coverage of the sensors, calculate the coverage rate of each point in the monitoring area by the sensors; calculate the intersection of the sensor coverage ranges to determine the overlapping coverage area between different sensors; substitute the coverage rate and overlapping area into the objective function to calculate the fitness value of each layout, wherein the calculation formula of the objective function is: Among them, F6 is the value of the objective function, which is used to evaluate the pros and cons of the sensor layout scheme. α6, β6, and γ6 are weight coefficients, which are used to balance the importance of different optimization objectives. They can be adjusted according to actual needs to reflect the degree of attention paid to different factors. represents the weighted coverage sum of all points in the monitoring area, where Coe i Indicates whether point i is covered by the sensor (1 can be used to indicate coverage and 0 to indicate non-coverage), w i is the weight of each point, represents the total cost of the overlapping coverage area between all sensor pairs, where Ov j is the size of the overlap area between the jth pair of sensors, and Cost jrepresents the cost of the overlapping area (for example, the cost may increase due to signal interference, increased energy consumption, etc.), represents the difference between the distance between the sensors and the target distance, where Di k is the actual distance between the kth pair of sensors, Ta k is the desired or optimal sensor spacing, N6, M6 and P6 are the number of points, sensor pairs and sensor pair spacing in the monitoring area, respectively, and i, j and k are different index variables.

[0057] Step 113, normalizing the fitness values ​​of all individuals, and accumulating the normalized fitness values ​​of each individual to calculate the cumulative probability of each individual being selected;

[0058] Step 114, generate a random number, determine the corresponding individual according to the position of the random number in the cumulative probability interval, and repeat multiple times to generate a sufficient number of next generation individuals;

[0059] Step 115, performing crossover and mutation operations on the selected individuals to generate a new layout plan;

[0060] Step 116, repeat the above process until the preset evolutionary generation is reached, record the optimal layout plan and the corresponding fitness value of each generation during the optimization process, analyze the recorded data, observe the changing trend of the fitness value and the improvement of the layout, and determine the layout plan with the highest fitness value as the optimal layout.

[0061] In an embodiment of the present invention, by conducting a detailed analysis of the monitoring area and taking into account the performance and characteristics of the sensors, the distribution location of the sensors can be determined more reasonably, thereby ensuring effective coverage of key areas. By calculating the coverage rate and overlapping area, the coverage of the monitoring area can be maximized and unnecessary overlaps between sensors can be reduced, thereby improving monitoring efficiency and data accuracy. Normalizing the fitness value and calculating the cumulative probability ensures that each layout scheme has a chance to be selected during the selection process, thereby achieving layout diversity. Through random number selection and cumulative probability mechanisms, natural selection and genetic processes are simulated, which is conducive to finding a better layout scheme. Crossover and mutation operations can introduce new layout changes, avoid falling into local optimality, and help find the global optimal solution. Through multiple iterations and optimizations, recording and analyzing the optimal layout and fitness value of each generation, it can be ensured that the algorithm converges to the optimal solution.

[0062] For example, in a large ceramic production enterprise, in order to monitor the air pollution in the production process in real time and ensure the safety and health of the production environment, the enterprise decided to deploy a sensor network in the production workshop. However, the spatial layout of the workshop is complex and there are multiple potential pollution sources. Therefore, how to reasonably arrange sensors to ensure comprehensive and accurate monitoring of air pollution in various key areas has become an urgent problem to be solved.

[0063] The actual situation of the workshop includes its size (100m×50m), the location of production equipment, ventilation conditions, potential pollution sources (such as raw material storage area, grinding area, sintering area, etc.). Sensor performance parameters mainly include detection range (for example, some sensors may have high sensitivity to specific gases, and the detection range may be from a few ppm to percentage level), accuracy (the deviation between sensor reading and actual value), and response time (the time required for the sensor to provide accurate readings from contact with the target gas).

[0064] Based on the shop floor map and equipment layout, three preliminary sensor layout plans were developed:

[0065] Option A: Place sensors at the four corners and center of the workshop to maximize coverage and reduce blind spots.

[0066] Option B: Add sensors near potential pollution sources (such as raw material storage areas and sintering furnace exhaust vents) to focus on monitoring these areas.

[0067] Plan C: Combining Plans A and B, it considers both comprehensive coverage and focuses on monitoring of key areas.

[0068] The following is optimized by genetic algorithm:

[0069] Each layout scheme is encoded as a string, indicating the location and type of the sensor. Multiple layout schemes are randomly generated as the initial population, and the fitness value of each layout is calculated according to the objective function. The objective function takes into account the sensor coverage, the cost of overlapping coverage areas, and the sensor spacing, ensuring that all key areas are covered by at least one sensor and reducing signal overlap between sensors to reduce interference and cost; maintaining a reasonable distance between sensors to balance coverage and signal quality, and selecting excellent individuals according to the fitness value to enter the next generation. New layout schemes are generated through crossover (exchanging some sensor positions in two layout schemes) and mutation (randomly changing the position or type of a sensor) to achieve the preset evolutionary generation or the fitness value reaches a certain threshold.

[0070] Implementation and verification of the plan: According to the optimal layout plan optimized by the genetic algorithm, sensors are installed at specific locations in the workshop. For example, sensors are installed at the four corners, center, and near key pollution sources of the workshop, and the sensor network is started for real-time monitoring and data collection. The data collected by the sensors is compared with the data of other independent monitoring systems in the workshop (such as handheld gas detectors) to verify the accuracy and consistency of the data. After a period of monitoring and data analysis, it is found that the layout plan can comprehensively and accurately capture the atmospheric pollution in the workshop, including the identification of pollution sources and the changing trend of pollution concentration.

[0071] Through this series of steps, the company not only successfully optimized the layout of sensors, but also improved its ability to monitor atmospheric pollution during the ceramic production process, providing strong data support for improving the production environment and improving product quality.

[0072] In another preferred embodiment of the present invention, the above step 12 may include:

[0073] Step 121, select a known single gas sample, such as SO2, NO x Hazardous gases such as chlorinated hydrocarbons are present in the test chamber. The purity and concentration of these gas samples are known and have been safely processed for safe use in the laboratory. In a controlled environment, such as using a gas test chamber or sealed cabin, ensure that the environmental conditions in the test chamber (such as temperature, humidity, and pressure) remain consistent throughout the experiment to reduce the impact of external factors on the experimental results; ensure that each sensor in the sensor array is working properly, and perform necessary preheating or calibration on the sensor to ensure that it works in the best condition. Use a precise gas flow controller to pass a single gas sample into the test chamber at a constant flow rate, and record the time, flow rate, and concentration of the gas introduced.

[0074] Step 122, real-time monitoring and recording of the response data of each sensor to the gas, including changes in parameters such as resistance, voltage or current; for each gas and each sensor, use chart software (such as Excel, MATLAB, Python's matplotlib, etc.) to draw a time-response curve; time is used as the x-axis, and the response value of the sensor (such as resistance change, voltage change, etc.) is used as the y-axis; the response time of the sensor is determined from the response curve, that is, the time required from the start of gas introduction to the sensor response reaching a stable value, and the response time of different sensors to the same gas, and the response time of the same sensor to different gases are compared. The slope or rate of change of the sensor response is calculated as an indicator of sensitivity, and the sensitivity of different sensors to the same gas, and the sensitivity of the same sensor to different gases are compared. Observe the response amplitude of the sensor to different gases and evaluate its selectivity to a specific gas. If a sensor's response to a certain gas is significantly stronger than that of other gases, it means that the sensor has good selectivity to this gas. Observe the stability of the sensor response on the response curve, that is, whether the response value fluctuates over time, and analyze the stability of the sensor at different gas concentrations and the stability after long-term operation.

[0075] In an embodiment of the present invention, by selecting a gas sample of known purity and concentration and testing it in a controllable experimental environment with consistent environmental conditions, the influence of external factors on the experimental results can be minimized. This helps to obtain more accurate and reliable data, thereby improving the accuracy of sensor performance evaluation. By real-time monitoring and recording the response data of the sensor to the introduced gas, including changes in parameters such as resistance, voltage or current, the various performance indicators of the sensor, such as response time, sensitivity, selectivity and stability, can be comprehensively evaluated. By using chart software to draw a time-response curve, the response process of the sensor to different gases can be intuitively displayed, making data analysis more convenient and efficient. At the same time, by comparing the response curves of different sensors to the same gas and the response curves of the same sensor to different gases, it is easier to find the performance differences and advantages between sensors.

[0076] In another preferred embodiment of the present invention, the above step 13 may include:

[0077] Step 131, each sensor in the sensor array is installed in the test room to ensure that they can accurately sense changes in the gas environment. Before starting the test, the sensor is calibrated to ensure that there is a good correspondence between the voltage value outputted by the sensor and the actual gas concentration.

[0078] Step 132, using a precise gas flow controller, the prepared mixed gas samples are introduced into the test chamber in sequence. After each mixed gas is introduced, the sensor is given enough response time to ensure that its output voltage value reaches a stable state.

[0079] Step 133, use data acquisition equipment (such as data acquisition card, high-precision multimeter, etc.) to record the output voltage value of each sensor in different mixed gas environments, ensure that the data acquisition rate is fast enough to capture the dynamic changes of sensor response, and record the sensor voltage value corresponding to each mixed gas in detail, including the composition and concentration of the mixed gas and the output voltage value of the sensor.

[0080] In the embodiment of the present invention, by calibrating the sensor before starting the test, it is possible to ensure that the voltage value output by the sensor has an accurate correspondence with the actual gas concentration, which greatly improves the accuracy and reliability of the test data. The use of an accurate gas flow controller can ensure that the mixed gas sample entering the test chamber has the same concentration and flow each time, thereby enhancing the repeatability of the experiment. The data acquisition device records the output voltage value of the sensor at a sufficiently fast rate to capture the dynamic changes in the sensor response.

[0081] In a preferred embodiment of the present invention, the above step 14 may include:

[0082] Step 141, pass Calculate the dynamic adjustment factor F, where β0 is an intercept term representing the base deviation when all remaining variables are 0, is the sensor historical reading H i The regression coefficient of each sensor history reading H i Represents the sensor readings at different time points or under different conditions, is the environmental condition E j The regression coefficient of is the cross-term coefficient, reflecting the historical readings of the sensor H i and environmental conditions E j The interaction between γS k is the sensor sensitivity S k The regression coefficient, log(S k ) represents the logarithm of the sensor sensitivity, δ Rl is the response time R l The response time describes the time required for the sensor to generate the corresponding output from receiving the input change, exp(-αR l) indicates that an exponential decay transformation is applied to the response time, α is a positive hyperparameter, tanh represents the hyperbolic tangent function, i, j, k, and l are iteration variables used to iterate over different data sets in the summation process, p is the number of sensor sensitivities, m is the number of environmental conditions, n is the number of historical sensor readings, and q is the number of response times; the environmental conditions include external temperature, humidity, and wind speed.

[0083] In the embodiment of the present invention, the present invention comprehensively considers various factors that affect the sensor readings, including the sensor's historical readings, environmental conditions, sensor sensitivity and response time, etc., so that the adjustment factor F is more comprehensive and flexible, and can more accurately reflect the real-time status of the sensor. By setting the hyperbolic tangent function, the formula can dynamically adjust the value of F to change between -1 and 1, thereby adjusting the output of the sensor in real time according to the changes in various factors, thereby improving the dynamic adaptability of the sensor. The adjustment factor F formula includes the cross-term coefficient of the sensor's historical readings and environmental conditions. This can capture the interaction between these factors and further improve the accuracy of F. By performing nonlinear transformations on sensor sensitivity and response time (such as logarithmic and exponential decay transformations), the formula can handle the nonlinear relationship between these parameters and sensor output, enhancing the expressive power of the model.

[0084] For example, suppose there is a temperature sensor network for monitoring temperature changes in a ceramic production park. The temperature at different locations in the park may be affected by various factors such as external temperature, humidity, wind speed, and the sensor's own historical readings, sensitivity, and response time. Through the formula in step 141, a dynamic adjustment factor F can be calculated for each sensor. For example, when the external temperature rises, the sensors at certain locations may read higher due to direct sunlight. At this time, the adjustment factor F can be used to properly correct this deviation. Similarly, if the response time of a sensor becomes longer (possibly due to aging or improper maintenance), the adjustment factor F will be adjusted accordingly to reduce the impact of its reading. In practical applications, the coefficients in the formula can be fitted based on historical data and real-time data to obtain a dynamic adjustment model for a specific sensor and environment. In this way, when the sensor reading is affected by various factors, the actual temperature value can be more accurately estimated by calculating the adjustment factor F.

[0085] In a preferred embodiment of the present invention, the above step 15 may include:

[0086] Step 151, constructing a characteristic matrix according to the response characteristics and the voltage value of each sensor;

[0087] Step 152, according to the preset width parameter σ, by Calculate the kernel similarity between the feature vector corresponding to each sensor data point in the feature matrix and each point in the training data set to obtain a kernel vector k(x′, X i ), where X i is the i-th data point in the training data set, x′ represents a feature vector containing the adjusted voltage value and response time, and the training data set X i Contains multiple data points, each of which is a feature vector containing an adjusted voltage value and a response time;

[0088] Step 153: According to the kernel vector k(x′, X i ) through f(x′)=∑ i α i k(x′,X i ) to obtain the predicted gas concentration value f(x′), where α i are the coefficients obtained from the training of the kernel ridge regression model.

[0089] In an embodiment of the present invention, by constructing a feature matrix and using kernel similarity to calculate the predicted gas concentration value, the method can capture the complex relationship between sensor data, thereby improving the prediction accuracy of gas concentration. The kernel ridge regression model is highly robust to noise and outliers in the data, and can provide stable and reliable predictions in complex and changing environments. By using kernel functions, such as Gaussian kernels, the model is able to handle nonlinear relationships, which makes it perform well in processing complex relationships between sensor data and gas concentrations. The kernel ridge regression model allows the model performance to be optimized by adjusting parameters (such as the width parameter σ of the kernel function) to adapt to different application scenarios and data characteristics.

[0090] For example, in large-scale ceramic production enterprises, in order to ensure worker safety and product quality, it is necessary to monitor the concentration of a certain key gas in the kiln in real time. In the production environment, multiple high-precision sensors have been deployed, which can measure the concentration of the gas and record key parameters such as response time.

[0091] In step 151, a characteristic matrix is ​​constructed based on the response characteristics and voltage values ​​of the sensor. This matrix not only includes the sensor readings under various kiln working conditions, but also includes the corresponding response time and other production parameters that may affect the gas concentration, such as kiln temperature, humidity, etc.

[0092] Next, in step 152, a preset width parameter σ is used to calculate the kernel similarity between each sensor data point in the feature matrix and each point in the training data set. The training data set Xi contains multiple data points collected during the historical monitoring phase of the ceramic production process. Each data point is a comprehensive feature vector that contains the adjusted voltage value, response time, and other relevant parameters in the production process, such as raw material composition, furnace temperature changes, etc.

[0093] Finally, in step 153, the kernel vector and the trained kernel ridge regression model are used to perform operations to obtain a predicted gas concentration value. This predicted value is calculated based on the similarity between the current sensor reading and the historical monitoring data, so it can more accurately reflect the gas concentration in the current kiln environment.

[0094] In this way, large-scale ceramic production companies can monitor the concentration of key gases in the kiln in real time. Once the concentration exceeds the safety threshold, the alarm system can be triggered immediately to protect the safety of workers and ensure the quality of ceramic products and the stability of production. This method not only significantly improves the accuracy of gas concentration prediction, but also greatly enhances the robustness and flexibility of the monitoring system, enabling it to adapt to the complex and changing environmental conditions in the ceramic production process.

[0095] In a preferred embodiment of the present invention, the above step 151 may include:

[0096] Step 1511, multiplying the voltage value of the sensor by the dynamic adjustment factor to obtain an adjusted voltage value;

[0097] Step 1512, creating a feature matrix, the number of rows of which is equal to the number of sensor data points, the number of columns is 2, the first column is used to store the adjusted voltage value, and the second column is used to store the response time;

[0098] Step 1513: fill in each adjusted voltage value in the first column of the characteristic matrix in sequence, and fill in the response time corresponding to each voltage value in the second column of the characteristic matrix in sequence.

[0099] In the embodiment of the present invention, step 1511 adjusts the original voltage value of the sensor according to the previously calculated dynamic adjustment factor F. The dynamic adjustment factor F takes into account multiple factors (such as historical sensor readings, environmental conditions, sensor sensitivity and response time, etc.). Therefore, multiplying the voltage value by F can calibrate the deviation caused by these factors, making the voltage value more accurate. For example, for the voltage value V of each sensor, the previously calculated dynamic adjustment factor F is used for multiplication to obtain the adjusted voltage value Va. d=V×F. Step 1512, create a feature matrix for storing the adjusted voltage values ​​and response times; use a data structure (such as a NumPy array or a PandasDataFrame) in a programming language (such as Python) to create a feature matrix, the number of rows of the matrix is ​​equal to the number of sensor data points, the number of columns is 2, the first column is used to store the adjusted voltage values, and the second column is used to store the response time. Step 1513, after creating the feature matrix, this step is to fill the adjusted voltage values ​​and the corresponding response times into the matrix, so that each row in the matrix represents a data point, including the adjusted voltage value and response time. For example, traverse each sensor data point, fill the adjusted voltage value into the first column of the feature matrix, and fill the corresponding response time into the second column.

[0100] By dynamically adjusting the factors to calibrate the voltage value, it can more accurately reflect the sensor's readings in the actual environment, thereby improving the accuracy of subsequent predictions or analysis. Since multiple factors that affect sensor readings are taken into account, the consistency of the adjusted voltage value under different conditions is enhanced, which is beneficial for the training and prediction of machine learning models. By creating a feature matrix to uniformly store the adjusted voltage value and response time, the process of subsequent data processing and analysis is simplified, and using calibrated data for model training helps improve the model's predictive performance and generalization ability.

[0101] In a preferred embodiment of the present invention, the above step 16 may include:

[0102] Step 161, for each pair of predicted value and true value, i =w i ×(f(x i ′)-y i ) 2 Calculate the error between the predicted value and the true value, where e i is the prediction error of the ith data point, f(x i ′) is the predicted value, y i is the true value, w i is the weight factor;

[0103] Step 162, performing statistical analysis on all calculated errors to obtain analysis results, may include:

[0104] Step 1621, calculate the average of all errors and calculate the average error;

[0105] Step 1622, calculating the standard deviation of the error based on the average error;

[0106] Step 1623, determining the maximum value and the minimum value of all errors according to the standard deviation of the errors.

[0107] In an embodiment of the present invention, in a large-scale ceramic production enterprise, in order to ensure the safety of the working environment, multiple gas sensors are installed to monitor the concentration of harmful gases in the production area in real time. First, the enterprise collects the real gas concentration data recorded by each sensor over a period of time and compares it with the predicted data of the model. Step 161, for each data point collected by the sensor, the difference between the predicted gas concentration and the real concentration, that is, the prediction error, is calculated. Taking into account that the importance of different areas within a ceramic production enterprise may vary (such as some areas may be closer to production equipment or employee gathering areas), a corresponding weight factor is assigned to each key area.

[0108] Next, proceed to step 162 to perform an in-depth statistical analysis of all calculated prediction errors. In step 1621, the average value of all errors, i.e., the average prediction error, is calculated to fully understand the overall prediction performance of the model. In step 1622, the standard deviation of the error is further calculated to evaluate the prediction stability of the model under different production conditions; a smaller standard deviation indicates that the prediction results of the model are more reliable and consistent. In step 1623, all prediction errors are sorted, which helps to directly observe extreme error values ​​and detect abnormal situations in time. Based on the calculated error standard deviation (σ), a series of thresholds are set to assist in identifying abnormal predictions. For example:

[0109] Normal range: The error is within ±1σ of the mean error, indicating that the prediction is relatively stable.

[0110] Mild anomaly: The error exceeds ±1σ of the mean error but is still within ±2σ, which requires attention but may not pose an immediate serious threat.

[0111] Severe anomaly: The error exceeds ±2σ of the mean error, which may require immediate action to prevent potential risks.

[0112] In the sorted error data, special attention is paid to the maximum and minimum error values. These extreme values ​​may indicate model prediction errors or sensor failures. Through detailed analysis of these prediction errors, companies can more accurately evaluate the effectiveness of the model in predicting harmful gas concentrations, thereby promptly identifying and responding to possible safety hazards. In addition, by adjusting the weight factors, companies can more accurately allocate resources and focus to key monitoring areas, thereby improving the safety level of the entire ceramic production process.

[0113] In another preferred embodiment of the present invention, in the above step 161, when calculating the error between the predicted value and the true value, the predicted value is specifically determined by the following steps:

[0114] Collect historical data related to the target predictor variables, which may include time series data and cross-sectional data; clean, transform, and preprocess the data to ensure data quality and consistency to facilitate model training.

[0115] Determine a time series model, such as ARIMA (autoregressive integrated moving average model), based on the characteristics of the data and the nature of the problem; use historical data to train the autoregressive integrated moving average model. In the context of the autoregressive integrated moving average model, this includes determining the parameters of the model (p, d, q), which represent the order of the autoregressive term, the order of the difference, and the order of the moving average term, respectively, where the parameters of the model are estimated by maximum likelihood.

[0116] The dataset is divided into a training set and a validation set. The training set is used to train the model, while the validation set is used to evaluate the performance of the model. The validation set is used to check the prediction performance of the model. For example, the error indicators between the predicted value and the true value, such as the mean square error (MSE) or the mean absolute error (MAE), can be calculated. The parameters of the model are adjusted according to the performance of the validation set to find the best prediction model.

[0117] According to the best prediction model, use the best prediction model to make predictions, input new input data (for example, current environmental conditions, timestamps, etc.) into the trained model; the model will generate a prediction value based on its learned patterns and relationships, and this prediction value represents an estimate of the concentration of harmful gases under the current input conditions; after obtaining the model's prediction value, compare it with the actual observed concentration of harmful gases (true value); calculate the error between the prediction value and the true value.

[0118] In the embodiment of the present invention, for example, a large ceramic production enterprise has faced the challenge of harmful gas emission and working environment safety in recent years. In order to improve this situation, the enterprise decided to use a prediction model to monitor and predict the concentration of harmful gases in the production area in real time.

[0119] First, we collected data on harmful gas concentrations over the past year, including hourly concentration records, temperature, humidity and other environmental variables. During the data cleaning phase, we found some outliers and missing values ​​and processed them accordingly, such as using the mean to interpolate missing values ​​and deleting obvious abnormal records. Considering that the concentration of harmful gases is greatly affected by time factors, we selected the ARIMA time series model for prediction, trained the ARIMA model using historical data, and determined the best (p, d, q) parameter combination through grid search. We divided the data set into a training set and a validation set. The training set was used to train the ARIMA model, and the validation set was used to evaluate the model performance. The mean square error (MSE) and mean absolute error (MAE) of the model were calculated using the validation set, and the model parameters were adjusted based on these indicators to optimize the prediction performance. Using the trained ARIMA model, the company began to predict the concentration of harmful gases in the next few hours, compared the model's predicted values ​​with the actually observed concentrations of harmful gases, and calculated the error between the predicted values ​​and the true values.

[0120] By real-time monitoring and prediction of harmful gas concentrations, the present invention enables enterprises to promptly discover potential safety hazards and take corresponding preventive measures, thereby significantly improving the safety of the working environment. Accurate prediction models help enterprises allocate resources more effectively, such as adding ventilation equipment, adjusting production processes, etc., to reduce the concentration of harmful gases. Through the prediction model, enterprises can reasonably arrange production plans and avoid high-risk operations when the concentration of harmful gases is high, thereby reducing production interruptions and improving production efficiency.

[0121] In another preferred embodiment of the present invention, the above step 17 may include:

[0122] Step 171, obtaining long-term series of atmospheric pollution data, including concentration data of pollutants such as nitrogen dioxide, sulfur dioxide, carbon monoxide, ozone, PM2.5 and PM10.

[0123] Step 172, extract statistical features such as the daily average concentration, monthly average concentration, maximum concentration, and minimum concentration of each pollutant from the data. Since the concentration units and ranges of different pollutants may be different, the data is standardized so that each pollutant has the same weight in the cluster analysis.

[0124] Step 173, set a range of K values, for example, K = 2 to N (N can be an upper limit, such as 10 or the square root of the number of data points); determine an array or list for recording the silhouette coefficient corresponding to each K value; for each K value, perform the following operations: run the K-means clustering algorithm to obtain K clusters, and for each data point, calculate its average distance a to other points in the same cluster and its average distance b to all points in the nearest different clusters; according to Calculate the silhouette coefficient S for each data point i , a i represents the average distance from data point i to all other data points in its cluster, b i is the average distance from data point i to all data points in the nearest cluster except the cluster in which it is located, max(a i , b i ) is a normalization factor used to ensure that the value of the silhouette coefficient is between -1 and 1. It takes a i and b i ; calculate the average value of the silhouette coefficients of all data points to obtain the overall silhouette coefficient under the current K value, record the current K value and the corresponding overall silhouette coefficient; analyze the recorded silhouette coefficients and find the K value with the highest silhouette coefficient, which is the optimal number of clusters.

[0125] Step 174, randomly select K points from the data set as initial cluster centers, for each pollutant data point in the data set, calculate its Euclidean distance from each cluster center, and assign each data point to the cluster to which the nearest cluster center belongs; for each cluster, calculate the average value of all data points belonging to the cluster, and set the calculated average value as the new cluster center; repeat the data point assignment and cluster center update steps until the cluster center no longer changes significantly or reaches a preset number of iterations, and record the cluster label to which each data point finally belongs; output the cluster label of each data point, and visualize the clustering results, such as using a scatter plot or heat map to display the distribution of different clusters, using the silhouette coefficient to evaluate the clustering effect, and analyzing the characteristics of each cluster, such as the concentration level and change trend of the pollutant.

[0126] Step 175, according to the clustering labels, the pollutant data are divided into K groups. For each group, the average concentration, maximum concentration, minimum concentration and other statistics of each pollutant are calculated, and a time series graph of each group is drawn to observe the changing trend of the concentration of each pollutant; the correlation coefficient between each pollutant in each group is calculated, such as the Pearson correlation coefficient, and the positive or negative correlation between the pollutants is judged according to the size and sign of the correlation coefficient.

[0127] In an embodiment of the present invention, different pollution patterns or groups can be effectively identified through cluster analysis. The use of the silhouette coefficient avoids the deviation that may be caused by subjectively setting the number of clusters, and increases the accuracy and reliability of the analysis. By standardizing the data, the pollutant concentration data of different units and ranges have the same weight in the cluster analysis, ensuring that the clustering results will not be dominated by the concentration range of a specific pollutant, thereby improving the fairness and accuracy of the clustering. By visualizing the clustering results, such as using a scatter plot or heat map, the distribution of different clusters can be intuitively seen, which helps to better understand the characteristics and patterns of pollutant data. Calculating the correlation coefficient between pollutants within a group can reveal the relationship between pollutants, such as whether there is synergistic pollution or mutual offset effects.

[0128] like Figure 2 As shown, an embodiment of the present invention further provides an air pollution online identification and evaluation device 20, comprising:

[0129] The acquisition module 21 is used to use at least one sensor to form a sensor array; introduce a single gas into the sensor array to obtain the response characteristics of each sensor to various gases; obtain the voltage value of each sensor under various mixed gas environments; and calculate the dynamic adjustment factor based on historical data, real-time environmental conditions and sensor performance;

[0130] The processing module 22 is used to calculate through the response characteristics, the voltage value of each sensor and the dynamic adjustment factor to generate the predicted values ​​of various gases; analyze the predicted values ​​and actual values ​​of various gases to obtain the analysis results; and analyze the atmospheric pollutant gases according to the comparison results to obtain the analysis results.

[0131] Optionally, a dynamic adjustment factor is calculated based on historical data, real-time environmental conditions, and sensor performance, including:

[0132] pass Calculate the dynamic adjustment factor F, where β0 is an intercept term representing the base deviation when all remaining variables are 0, is the sensor historical reading H i The regression coefficient of each sensor history reading H i Represents the sensor readings at different time points or under different conditions, is the environmental condition E j The regression coefficient of is the cross-term coefficient, reflecting the historical readings of the sensor H i and environmental conditions E j The interaction between is the sensor sensitivity S kThe regression coefficient, log(S k ) represents the logarithm of the sensor sensitivity, δ Rl is the response time R l The response time describes the time required for the sensor to generate the corresponding output from receiving the input change, exp(-αR l ) denotes an exponential decay transformation of the response time, α is a positive hyperparameter, tanh denotes the hyperbolic tangent function, i, j, k, and l are iteration variables used to iterate over different data sets during the summation process, p is the number of sensor sensitivities, m is the number of environmental conditions, n is the number of historical sensor readings, and q is the number of response times.

[0133] Optionally, the environmental conditions include external temperature, humidity and wind speed.

[0134] Optionally, calculations are performed using the response characteristics, voltage values ​​for each sensor, and dynamic adjustment factors to generate predictions for various gases, including:

[0135] A feature matrix is ​​constructed according to the response characteristics and the voltage value of each sensor;

[0136] According to the preset width parameter σ, by Calculate the kernel similarity between the feature vector corresponding to each sensor data point in the feature matrix and each point in the training data set to obtain a kernel vector k(x′, X i ), where X i is the i-th data point in the training data set, x′ represents a feature vector containing the adjusted voltage value and response time, and the training data set X i Contains multiple data points, each of which is a feature vector containing an adjusted voltage value and a response time;

[0137] According to the kernel vector k(x′, X i ) through f(x′)=∑ i α i k(x′,X i ) to obtain the predicted gas concentration value f(x′), where α i are the coefficients obtained from the training of the kernel ridge regression model.

[0138] Optionally, a feature matrix is ​​constructed based on the response characteristics and voltage values ​​of each sensor, including:

[0139] Multiplying the voltage value of the sensor by the dynamic adjustment factor to obtain an adjusted voltage value;

[0140] Create a feature matrix with the number of rows equal to the number of sensor data points and 2 columns. The first column is used to store the adjusted voltage value and the second column is used to store the response time.

[0141] In the first column of the characteristic matrix, each adjusted voltage value is filled in sequence, and in the second column of the characteristic matrix, the response time corresponding to each voltage value is filled in sequence.

[0142] Optionally, analyze the predicted and actual values ​​of various gases to obtain analysis results, including:

[0143] For each pair of predicted value and true value, calculate the error between the predicted value and the true value;

[0144] All calculated errors are statistically analyzed to obtain analysis results.

[0145] Optionally, statistical analysis is performed on all calculated errors to obtain analysis results, including:

[0146] Calculate the average of all errors and calculate the mean error;

[0147] Based on the average error, calculate the standard deviation of the error;

[0148] Based on the standard deviation of the errors, the maximum and minimum values ​​among all the errors are determined.

[0149] It should be noted that the system is a system corresponding to the above method, and all implementation methods in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0150] The embodiment of the present invention further provides a computing device, comprising: a processor, a memory storing a computer program, wherein when the computer program is executed by the processor, the method described above is executed. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0151] The embodiment of the present invention also provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the method described above. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0152] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0153] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0154] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0155] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0156] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0157] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0158] In addition, it should be noted that in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it is understood that all or any steps or components of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or a network of computing devices in hardware, firmware, software or a combination thereof, which can be achieved by those of ordinary skill in the art using basic programming skills after reading the description of the present invention.

[0159] Therefore, the purpose of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device can be a well-known general device. Therefore, the purpose of the present invention can also be achieved by simply providing a program product containing a program code that implements the method or device. That is to say, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. In addition, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order. Some steps can be performed in parallel or independently of each other.

[0160] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for online identification and evaluation of air pollution, characterized in that: The method comprises: Using at least one sensor to form a sensor array; A single gas is introduced into the sensor array to obtain the response characteristics of each sensor to various gases; Obtain the voltage value of each sensor in various mixed gas environments; Calculate dynamic adjustment factors based on historical data, real-time environmental conditions, and sensor performance; Calculates the response characteristics, voltage values ​​of each sensor, and dynamic adjustment factors to generate predicted values ​​for each gas; Analyze the predicted values ​​and actual values ​​of various gases to obtain analysis results; According to the comparison results, the atmospheric pollutant gas is analyzed to obtain the analysis results; Calculate dynamic adjustment factors based on historical data, real-time environmental conditions, and sensor performance, including: pass Calculating Dynamic Adjustment Factors F ,in, is an intercept term, representing the base deviation when all remaining variables are 0, corresponds to the sensor historical readings The regression coefficients for each sensor history reading Represents the sensor readings at different time points or under different conditions, Corresponds to environmental conditions The regression coefficient of is the cross-term coefficient, reflecting the historical sensor readings and environmental conditions The interaction between is the sensor sensitivity The regression coefficient of It means that the logarithm of the sensor sensitivity is taken. is the response time The response time describes the time required for the sensor to generate the corresponding output from receiving the input change. Indicates that the response time is subjected to an exponential decay transformation. is a positive hyperparameter, represents the hyperbolic tangent function, i , j , k and l is the iteration variable, used to iterate over different data sets during the summation process. p is the number of sensor sensitivity, m is the number of environmental conditions, n Indicates the number of historical readings of the sensor, q is the number of response times; The environmental conditions include external temperature, humidity and wind speed; Calculations are performed using the response characteristics, voltage values ​​for each sensor, and dynamic adjustment factors to generate predicted values ​​for various gases, including: A feature matrix is ​​constructed according to the response characteristics and the voltage value of each sensor; According to the preset width parameters ,pass Calculate the kernel similarity between the feature vector corresponding to each sensor data point in the feature matrix and each point in the training data set to obtain a kernel vector ,in, is the first i data points, Represents a feature vector containing the adjusted voltage value and response time, training data set Contains multiple data points, each of which is a feature vector containing an adjusted voltage value and a response time; According to the kernel vector pass Perform calculations to obtain predicted gas concentration values ,in, are the coefficients obtained from the training of the kernel ridge regression model; A feature matrix is ​​constructed based on the response characteristics and voltage values ​​of each sensor, including: Multiplying the voltage value of the sensor by the dynamic adjustment factor to obtain an adjusted voltage value; Create a feature matrix with the number of rows equal to the number of sensor data points and 2 columns. The first column is used to store the adjusted voltage value and the second column is used to store the response time. In the first column of the characteristic matrix, each adjusted voltage value is filled in sequence, and in the second column of the characteristic matrix, the response time corresponding to each voltage value is filled in sequence.

2. The method for online identification and evaluation of air pollution according to claim 1, characterized in that: Analyze the predicted and actual values ​​of various gases to obtain analysis results, including: For each pair of predicted value and true value, calculate the error between the predicted value and the true value; All calculated errors are statistically analyzed to obtain analysis results.

3. The method for online identification and evaluation of air pollution according to claim 2, characterized in that: All calculated errors are statistically analyzed to obtain analytical results, including: Calculate the average of all errors and calculate the mean error; Based on the average error, calculate the standard deviation of the error; Based on the standard deviation of the errors, the maximum and minimum values ​​among all the errors are determined.

4. An online identification and evaluation system for air pollution, characterized in that: Applied to the method according to any one of claims 1 to 3, comprising: The acquisition module is used to use at least one sensor to form a sensor array; introduce a single gas into the sensor array to obtain the response characteristics of each sensor to various gases; obtain the voltage value of each sensor under various mixed gas environments; and calculate the dynamic adjustment factor based on historical data, real-time environmental conditions and sensor performance; The processing module is used to calculate through the response characteristics, the voltage value of each sensor and the dynamic adjustment factor to generate the predicted values ​​of various gases; analyze the predicted values ​​and actual values ​​of various gases to obtain the analysis results; and analyze the atmospheric pollutant gases according to the comparison results to obtain the analysis results.

5. A computing device, characterized in that: include: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the method as claimed in any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program, which implements the method according to any one of claims 1 to 3 when executed by a processor.