Dynamic calibration method of mobile air quality monitoring system based on vehicle-road-cloud collaboration
Through the dynamic calibration method of vehicle-road-cloud collaboration, a variety of machine learning model training and weight calculation are used to solve the problem of determination criteria and accuracy in the calibration of vehicle-mounted mobile air quality monitoring equipment, and improve monitoring accuracy and data quality.
Patent Information
- Application Number
- CN202410986981.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-23
AI Technical Summary
In the existing technology, the calibration method of vehicle-mounted mobile air quality monitoring equipment lacks judgment criteria, resulting in a waste of computing resources and a decrease in monitoring accuracy, and lacks an accurate calibration model.
Adopt a dynamic calibration method based on vehicle-road-cloud collaboration, obtain monitoring data and calibration data sets, calculate similarity parameters and statistics, and use cloud servers to train multiple machine learning models (such as linear regression, support vector regression, random forest, gradient Boost decision trees and artificial neural networks), determine model weights and calibrate them to ensure data accuracy and real-time updates.
It improves the accuracy of monitoring data, avoids error accumulation, enables timely calibration of vehicle-mounted mobile monitoring equipment, and ensures data quality and equipment consistency.
Smart Images

Figure CN118518833B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a dynamic calibration method for a mobile air quality monitoring system based on vehicle-road-cloud collaboration. Background Art
[0002] In the related art, there are two commonly used methods for timely calibration of vehicle-mounted mobile monitoring equipment. One method uses fixed monitoring sites as the standard to perform step-by-step chain calibration of vehicle-mounted mobile monitoring equipment. However, this method lacks a criterion for determining whether the equipment should be calibrated, which can easily lead to a waste of computing resources; at the same time, the errors of this method will accumulate step by step, resulting in a decrease in monitoring accuracy. Another method is to first weight and process the readings of fixed equipment and mobile equipment to obtain a calibration value for calibration, and then use the Laplace matrix to calibrate the surrounding uncalibrated equipment using the calibrated mobile equipment. However, this method lacks an accurate calibration model. Therefore, there are still technical problems that need to be solved in the related art. Summary of the invention
[0003] The purpose of this application is to solve one of the technical problems existing in the prior art to at least a certain extent.
[0004] To this end, one purpose of an embodiment of the present application is to provide a dynamic calibration method for a mobile air quality monitoring system based on vehicle-road-cloud collaboration, which can improve the accuracy of monitoring data.
[0005] In order to achieve the above-mentioned technical objectives, the technical solution adopted by the embodiments of the present application includes: a dynamic calibration method for a mobile air quality monitoring system based on vehicle-road-cloud collaboration, comprising: obtaining a first monitoring data set for monitoring taxis in the main activity range and a first calibration data set for calibrating buses, and uploading the first monitoring data set and the first calibration data set to a cloud server; when the similarity parameter between the first monitoring data set and the first calibration data set is less than a preset threshold, and the amount of data in the first monitoring data set is greater than or equal to the calibration data amount threshold, the cloud server obtains the calibration result of the taxi monitoring equipment based on the first monitoring data set and the first calibration data set.
[0006] In addition, according to the above embodiment of the present invention, a dynamic calibration method of a mobile air quality monitoring system based on vehicle-road-cloud collaboration may also have the following additional technical features:
[0007] Further, in an embodiment of the present application, the similarity parameter between the first monitoring data set and the first calibration data set is obtained by the following steps:
[0008] Determining a statistic and degrees of freedom between the first monitoring data set and the first calibration data set;
[0009] According to the statistic and the degree of freedom, the corresponding similarity parameter is searched in the test critical value table.
[0010] Further, in an embodiment of the present application, determining a statistic between the first monitoring data set and the first calibration data set specifically includes:
[0011] determining a first variance, a first mean, and a first quantity of monitoring data in the first monitoring data set, and determining a second variance, a second mean, and a second quantity of calibration data in the first calibration data set;
[0012] The first variance, the first mean, the first quantity, the second variance, the second mean, and the second quantity are input into a statistical calculation formula to obtain the statistic, wherein the statistical calculation formula is:
[0013] ;
[0014] Among them, t is the statistic, is the first average value, is the second average value, is the first variance, is the second variance, is the first quantity, is the second quantity.
[0015] Further, in an embodiment of the present application, determining the degree of freedom between the first monitoring data set and the first calibration data set includes:
[0016] determining a first variance and a first amount of monitoring data in the first monitoring data set, and determining a second variance and a second amount of calibration data in the first calibration data set;
[0017] The first variance, the first quantity, the second variance, and the second quantity are input into a degree of freedom calculation formula to obtain the degree of freedom, wherein the degree of freedom calculation formula is:
[0018] ;
[0019] Where df is the degree of freedom, is the first variance, is the second variance, is the first quantity, is the second quantity.
[0020] Further, in the embodiment of the present application, the cloud server calibrates the taxi monitoring device according to the first monitoring data set and the first calibration data set and obtains the calibration result, including:
[0021] The cloud server uses the air quality monitoring data, ambient temperature and ambient humidity in the first monitoring data set as independent variables and the air quality monitoring data in the first calibration data set as dependent variables to train a linear regression model, a support vector regression model, a random forest model, a gradient boosting decision tree model and an artificial neural network model to obtain prediction functions corresponding to the linear regression model, the support vector regression model, the random forest model, the gradient boosting decision tree model and the artificial neural network model respectively;
[0022] The cloud server obtains the first prediction result of each model according to the corresponding prediction function and the air quality monitoring data, the ambient temperature and the ambient humidity in the first monitoring data set;
[0023] The cloud server determines the posterior probability of each model through the Akaike information criterion index of each model in the linear regression model, the support vector regression model, the random forest model, the gradient boosting decision tree model and the artificial neural network model;
[0024] The cloud server determines the corresponding weight of each model according to the posterior probability of each model;
[0025] The cloud server obtains the calibration result of the taxi monitoring equipment according to the corresponding weight of each model and the first prediction result.
[0026] Further, in an embodiment of the present application, the posterior probability of each model is determined by using the Akaike information criterion index of each model in the linear regression model, the support vector regression model, the random forest model, the gradient boosting decision tree model, and the artificial neural network model, specifically including:
[0027] For the posterior probability of any model, the Akaike information criterion indicator is input into the posterior probability calculation formula to obtain the posterior probability; wherein the posterior probability calculation formula includes:
[0028] ;
[0029] Among them, P(M i | D) is the posterior probability of any one of the linear regression model, the support vector regression model, the random forest model, the gradient boosting decision tree model and the artificial neural network model, M i is any one of the linear regression model, the support vector regression model, the random forest model, the gradient boosting decision tree model and the artificial neural network model, D is the first monitoring data set and the first calibration data set, AIC iis the Akaike information criterion indicator corresponding to any model, and e is a natural constant.
[0030] Furthermore, in the embodiment of the present application, the cloud server calibrates the taxi monitoring device according to the corresponding weight of each model and the first prediction result and obtains the calibration result, including:
[0031] For any model, multiplying the first prediction result and the corresponding weight of the model to obtain a first product corresponding to the model;
[0032] The first products corresponding to each model are accumulated to obtain the calibration result of the taxi monitoring equipment.
[0033] The advantages and benefits of the present application will be partially given in the following description, and partially become apparent from the following description, or be understood through the practice of the present application:
[0034] The present application can obtain a first monitoring data set for monitoring taxis in the main activity range and a first calibration data set for calibrating buses, and upload the first monitoring data set and the first calibration data set to a cloud server; when the similarity parameter between the first monitoring data set and the first calibration data set is less than a preset threshold, and the number of data in the first monitoring data set is greater than or equal to the calibration data volume threshold, the cloud server calculates the target calibration model of the taxi monitoring device based on the first monitoring data set and the first calibration data set; the taxi monitoring device target calibration model is stored and managed by the cloud, and is used to calibrate the collected monitoring data in real time to ensure data accuracy and real-time update. The present application can calculate the similarity parameter between the first monitoring data set and the first calibration data set and count the number of data in the first monitoring data set. When the similarity parameter between the first monitoring data set and the first calibration data set is less than a preset threshold, and the number of data in the first monitoring data set is greater than or equal to the calibration data volume threshold, it is determined that the taxi monitoring device needs to be calibrated. At the same time, the calibration result of the taxi monitoring device is obtained by using the cloud server according to the first monitoring data set and the first calibration data set. The taxi device can be calibrated in time through the calibration result, which can improve the monitoring accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A schematic diagram of the steps of a dynamic calibration method for a mobile air quality monitoring system based on vehicle-road-cloud collaboration in a specific embodiment of the present invention;
[0036] Figure 2 A schematic diagram of the steps of obtaining a similarity parameter between a first monitoring data set and a first calibration data set in a specific embodiment of the present invention;
[0037] Figure 3 A schematic diagram of the steps of determining a statistic between a first monitoring data set and a first calibration data set in a specific embodiment of the present invention;
[0038] Figure 4 A schematic diagram of the steps of obtaining a target calibration model of a taxi monitoring device according to the corresponding weights of each model and the test results in a specific embodiment of the present invention;
[0039] Figure 5 It is a schematic diagram of another dynamic calibration method of a mobile air quality monitoring system based on vehicle-road-cloud collaboration in a specific embodiment of the present invention. DETAILED DESCRIPTION
[0040] The following is a description of the principle and process of the dynamic calibration method of the mobile air quality monitoring system based on vehicle-road-cloud collaboration in an embodiment of the present invention in conjunction with the accompanying drawings.
[0041] First, the technical defects existing in the related technology are explained.
[0042] Air pollution is an important issue for urban environment and public health. Traditional monitoring methods are mainly carried out through fixed monitoring stations set up at several representative locations in the city. However, these fixed air quality monitoring points have limited coverage and low spatial resolution, making it difficult to accurately assess urban air pollution and its specific impact on the environment and human health. Vehicle-mounted mobile methods based on low-cost equipment can monitor air pollution with high temporal and spatial resolution. However, due to the characteristics of the equipment itself and the complexity and variability of the urban traffic environment, the quality of mobile monitoring data is not high, and the accuracy will decrease over time. Therefore, it is necessary to calibrate the vehicle-mounted mobile monitoring equipment in a timely manner to maintain the data quality of the vehicle-mounted mobile monitoring equipment and ensure the consistency of the equipment in the monitoring network.
[0043] In the related art, there are two commonly used methods for timely calibration of vehicle-mounted mobile monitoring equipment. One method uses the primary fixed calibration reference point as the standard to perform data calibration on the mobile monitoring equipment that meets the requirements; the mobile monitoring equipment that has completed the calibration is marked as the secondary mobile calibration reference point, and then the uncalibrated equipment is calibrated using the secondary mobile calibration reference point as the standard. However, this method lacks the judgment criteria for whether the equipment should be calibrated, which is easy to cause a waste of computing resources. At the same time, the calibration of this method is performed in a chain manner, and the error will accumulate step by step, resulting in a decrease in monitoring accuracy. Another method is to first use a fixed high-precision device to select four virtual mobile sensor node positions in their respective areas for collaborative calibration, specifically by weighting and processing the readings of the fixed device and the mobile device to obtain the calibration value for calibration. Then, through the Laplace matrix, the calibrated mobile device is used to calibrate the surrounding uncalibrated devices. However, this method lacks an accurate calibration model. Therefore, there are technical problems that need to be solved in the related art.
[0044] Secondly, in response to the above technical issues, refer to Figure 1 The present application provides a dynamic calibration method for a mobile air quality monitoring system based on vehicle-road-cloud collaboration. The method may include steps S101-S102.
[0045] S101, obtaining a first monitoring data set for monitoring taxis in a main activity range and a first calibration data set for calibrating buses, and uploading the first monitoring data set and the first calibration data set to a cloud server.
[0046] It is understandable that the first monitoring data set of the present embodiment may include an effective monitoring data set obtained by monitoring the taxis in the main activity range. The effective monitoring data set may be a set of monitoring data from which a large number of outliers and missing values have been removed after a data cleaning process, which is a total data collected by the taxis. Similarly, the first calibration data set of the present embodiment may include an effective calibration data set obtained by calibrating the buses on the covered routes. The effective calibration data set may be a set of monitoring data from which a large number of outliers and missing values have been removed after a data cleaning process, which is a total data collected by the buses. It should be noted that both the first monitoring data set and the first calibration data set may include multiple data volumes.
[0047] S102. When the similarity parameter between the first monitoring data set and the first calibration data set is less than a preset threshold, and the amount of data in the first monitoring data set is greater than or equal to the calibration data amount threshold, the cloud server obtains the calibration result of the taxi monitoring device based on the first monitoring data set and the first calibration data set.
[0048] It is understandable that the preset threshold and the threshold of the standard data volume can be any value, and the designer can define it according to specific needs. In addition, the data volume of the first monitoring data set is greater than or equal to the calibration data volume threshold, indicating that the data volume of the first monitoring data set has met the designer's requirements and can be used for subsequent model confirmation.
[0049] Further, refer to Figure 2 The similarity parameter between the first monitoring data set and the first calibration data set is obtained through the following steps S201 and S202.
[0050] S201. Determine statistics and degrees of freedom between a first monitoring data set and a first calibration data set.
[0051] S202: According to the statistic and the degree of freedom, find the corresponding similarity parameter in the test critical value table.
[0052] It is understandable that the test critical value table can represent the mapping relationship between the statistic and the degree of freedom and the similarity. The mapping relationship can be determined through historical data.
[0053] Further, refer to Figure 3 The step of determining the statistics between the first monitoring data set and the first calibration data set may include step S301 and step S302.
[0054] S301, determining a first variance, a first mean value, and a first quantity of monitoring data in a first monitoring data set, and determining a second variance, a second mean value, and a second quantity of calibration data in a first calibration data set;
[0055] S302, input the first variance, the first mean, the first quantity, the second variance, the second mean, and the second quantity into a statistical calculation formula to obtain a statistic, wherein the statistical calculation formula is:
[0056] ;
[0057] Among them, t is the statistic, is the first average value, is the second average value, is the first variance, is the second variance, is the first quantity, is the second quantity.
[0058] Further, the step of determining the degree of freedom between the first monitoring data set and the first calibration data set may include steps S401 and S402.
[0059] S401, determining a first variance and a first quantity of monitoring data in a first monitoring data set, and determining a second variance and a second quantity of calibration data in a first calibration data set.
[0060] S402, input the first variance, the first quantity, the second variance and the second quantity into a degree of freedom calculation formula to obtain degrees of freedom, wherein the degree of freedom calculation formula is:
[0061] ;
[0062] Where df is the degree of freedom, is the first variance, is the second variance, is the first quantity, is the second quantity.
[0063] Furthermore, the step in which the cloud server obtains the calibration result of the taxi monitoring device according to the first monitoring data set and the first calibration data set may specifically include steps S501 to S505.
[0064] S501. The cloud server uses the air quality monitoring data, ambient temperature and ambient humidity in the first monitoring data set as independent variables and the air quality monitoring data in the first calibration data set as dependent variables to train a linear regression model, a support vector regression model, a random forest model, a gradient boosting decision tree model and an artificial neural network model to obtain the prediction functions corresponding to the linear regression model, the support vector regression model, the random forest model, the gradient boosting decision tree model and the artificial neural network model.
[0065] S502. The cloud server obtains the first prediction result of each model according to the corresponding prediction function and the air quality monitoring data, ambient temperature and ambient humidity in the first monitoring data set.
[0066] S503, the cloud server determines the posterior probability of each model through the Akaike information criterion index of each model in the linear regression model, the support vector regression model, the random forest model, the gradient boosting decision tree model and the artificial neural network model.
[0067] S504: The cloud server determines the corresponding weight of each model according to the posterior probability of each model.
[0068] S505. Obtain a calibration result of the taxi monitoring device according to the corresponding weight of each model and the first prediction result.
[0069] It can be understood that the first prediction result can be training a linear regression model, a support vector regression model, a random forest model, a gradient boosting decision tree model and an artificial neural network model to obtain the prediction results corresponding to each model in the linear regression model, the support vector regression model, the random forest model, the gradient boosting decision tree model and the artificial neural network model.
[0070] Furthermore, the step of determining the posterior probability of each model by using the Akaike information criterion index of each model in the linear regression model, the support vector regression model, the random forest model, the gradient boosting decision tree model and the artificial neural network model specifically includes:
[0071] For the posterior probability of any model, the Akaike information criterion index is input into the posterior probability calculation formula to obtain the posterior probability; the posterior probability calculation formula includes:
[0072] ;
[0073] Among them, P(M i | D) is the posterior probability of any one of the linear regression model, support vector regression model, random forest model, gradient boosting decision tree model and artificial neural network model, M i is any one of a linear regression model, a support vector regression model, a random forest model, a gradient boosting decision tree model and an artificial neural network model, D is a first monitoring data set and a first calibration data set, AIC i is the Akaike information criterion indicator corresponding to any model, and e is a natural constant.
[0074] Further, refer to Figure 4 , according to the corresponding weight of each model and the first prediction result, the step of obtaining the calibration result of the taxi monitoring device specifically includes step S601 and step S602.
[0075] S601: For any model, a first prediction result and a corresponding weight of the model are multiplied to obtain a first product corresponding to the model.
[0076] S602. Accumulate the first product corresponding to each model in all models to obtain the calibration result of the taxi monitoring device.
[0077] In some feasible embodiments of the present application, for any model, the cloud server may multiply each first prediction result and the corresponding weight of each model to obtain a first product corresponding to each model. Then the cloud server may accumulate the first products corresponding to each model in all models to obtain the calibration result of the taxi monitoring device.
[0078] In addition, this application also provides another dynamic calibration method for a mobile air quality monitoring system based on vehicle-road-cloud collaboration, referring to Figure 5 , the method may include steps S1-S5.
[0079] Step S1, divide the mobile monitoring area into several monitoring cells, select buses whose routes cover the roadside fixed monitoring stations as calibration vehicles, all selected buses need to cover all monitoring cells, and the cloud server uses the calibration method in S4 and S5 to calibrate the bus monitoring equipment.
[0080] Step S2: The cloud server analyzes the vehicle driving characteristics according to the historical taxi demand, driving trajectory, etc., deduce the main long-term and short-term activity range of the monitored taxis, and allocates each monitored taxi to the corresponding monitoring area according to the main activity range.
[0081] Step S3: For each monitored taxi, find a calibration bus in the main activity hotspot area and perform calibration demand verification. If the verification is abnormal, proceed to step S4.
[0082] Step S4: set a specific distance threshold, calibration data limit and single following driving time. If the monitored taxi collects enough calibration data, proceed to step S5.
[0083] Step S5, the cloud server uses the Bayesian model average to integrate linear regression, support vector regression, random forest, gradient boosting decision tree, and artificial neural network algorithms to obtain the taxi monitoring equipment target calibration model.
[0084] Further, step S1 may include steps S11 - S14 .
[0085] S11. Obtain map data of the monitoring area, and divide the monitored urban area into a number of monitoring areas according to traffic flow, population density and regional environmental characteristics.
[0086] S12. Establish an optimization model for bus route selection. The optimization goal is to maximize the total number of monitored cells covered while minimizing the number of selected bus routes. The optimization objective function is as follows:
[0087] ;
[0088] Among them, Z is the total number of cells, α and β are weight factors, m is the total number of regions, n is the total number of selected bus routes, S j is the set of bus routes covering area j, x i Satisfies the following relationship:
[0089] ;
[0090] Wherein, K is a set of bus routes that pass through the area where at least one roadside fixed monitoring station is located.
[0091] S13. Select the monitoring cells that are not covered by all current lines, and merge them with the nearest monitoring cells that are covered.
[0092] S14. The cloud server calibrates the bus monitoring equipment using the calibration method in S4 and S5.
[0093] Further, step S2 may include step S21 - step S22.
[0094] S21. The cloud server collects and analyzes the activity frequency f and the residence time T of each monitored taxi in each monitored area, and then uses a weighted formula to assign a comprehensive score to each area to quantify the activity intensity of the monitored taxi in each area:
[0095] ;
[0096] Among them, η and μ are weights set according to importance. The selection of the weights needs to consider various factors such as the commercial density and pedestrian flow of the community. The weights can be calculated through data-driven methods (such as machine learning models).
[0097] S22. The cloud server ranks each monitored taxi in all monitored cells based on the score in S21, and then selects the top three cells with the highest scores as the main activity hotspots of the vehicle, thereby determining the main monitoring range of the monitored taxi.
[0098] Further, step S3 may include step S31 - step S32.
[0099] S31. The cloud server extracts the air quality monitoring data of the monitoring taxis and calibration buses in the same time period and the same monitoring area, cleans the monitoring data, removes outliers and missing values, and unifies the data format.
[0100] S32. The cloud server uses a two-sample T test to compare the monitoring data of the monitored taxis and the calibrated buses, and calculates the T statistic and degrees of freedom. The T statistic calculation formula is:
[0101] ;
[0102] Where t is the T statistic, is the sample mean of the taxi monitoring data, To calibrate the sample mean of bus monitoring data, is the sample variance of the taxi monitoring data, To calibrate the sample variance of bus monitoring data, is the sample size of the taxi monitoring data, Sample size for calibrating bus monitoring data.
[0103] The degrees of freedom df is approximately calculated as:
[0104] ;
[0105] Where df is the degree of freedom, is the sample variance of the taxi monitoring data, To calibrate the sample variance of bus monitoring data, is the sample size of the taxi monitoring data, Sample size for calibrating bus monitoring data.
[0106] According to the calculated T statistic and degrees of freedom df, the corresponding P value is found in the t-test critical value table. If the P value is greater than or equal to 0.05, it is considered that there is no significant difference between the two groups of data. If the P value is less than 0.05, it indicates that the monitoring equipment for monitoring taxis needs to be calibrated, and then step S4 is entered.
[0107] Further, step S4 may include step S41 - step S42.
[0108] S41. If the amount of calibration data collected by the taxi monitoring device reaches Nc, proceed to step S5.
[0109] S42. If the amount of calibration data collected by the monitoring taxi monitoring equipment is less than Nc, the cloud server will send a prompt containing the route information and schedule of nearby calibration buses to the monitoring taxi driver. When the monitoring taxi enters the range of the calibration bus Dc, the monitoring taxi will be prompted to follow the calibration bus. The single following driving time shall not exceed Tc and can be collected in multiple times until enough calibration data is collected, and then enter step S5.
[0110] Further, step S5 may include steps S51 to S53.
[0111] S51, the cloud server uses the taxi monitoring equipment readings, temperature and humidity as independent variables (x), and the calibrated bus monitoring equipment readings as dependent variables (y). Using the collected monitoring data, the cloud server independently trains calibration models such as linear regression (LR), support vector regression (SVR), random forest (RF), gradient boosting decision tree (GBDT), and artificial neural network (ANN). Each model M i are all trained as functions fi(x), where fi is the model M i The prediction function of .
[0112] S52. The cloud server approximates the posterior probability of each model under the training data through the Akaike Information Criterion (AIC) of the model. The calculation of the Akaike Information Criterion AIC of any model is as follows:
[0113] ;
[0114] Where k is the number of parameters in the corresponding model, and ln(L) is the logarithm of the maximum likelihood estimate of the corresponding model;
[0115] Model M i The posterior probability of is calculated as follows:
[0116] ;
[0117] Among them, P(M i | D) is the posterior probability of any one of the linear regression model, support vector regression model, random forest model, gradient boosting decision tree model and artificial neural network model, D is the training data set, AIC i is the Akaike information criterion indicator of the ith model, and e is a natural constant.
[0118] S53, the cloud server assigns weights to each model according to the posterior probability of each model, and generates a calibration model of the target according to the weights of each model and their prediction results of the test data. The weight ω of the i-th model i The calculation is as follows:
[0119] ;
[0120] Where n is the total number of models.
[0121] Finally, the weighted average method is used to integrate the prediction results of each model:
[0122] ;
[0123] where f final (x) is the prediction result of the target calibration model for the data x, that is, the calibration result.
[0124] In some optional embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Optional embodiments are expected, wherein the order of various operations is changed and the sub-operation described as a part of a larger operation is performed independently.
[0125] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0126] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
[0127] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the described embodiments. Technical personnel familiar with the field may make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A dynamic calibration method for a mobile air quality monitoring system based on vehicle-road-cloud collaboration. It is characterized in that include: Obtain a first monitoring data set for monitoring taxis in an activity range and a first calibration data set for calibrating buses, and upload the first monitoring data set and the first calibration data set to a cloud server; When the similarity parameter between the first monitoring data set and the first calibration data set is less than a preset threshold, and the amount of data in the first monitoring data set is greater than or equal to a calibration data amount threshold, the cloud server obtains a calibration result of the taxi monitoring device based on the first monitoring data set and the first calibration data set; The similarity parameter between the first monitoring data set and the first calibration data set is obtained by the following steps: Determining a statistic and degrees of freedom between the first monitoring data set and the first calibration data set; According to the statistic and the degree of freedom, searching for a corresponding similarity parameter in a test critical value table; The determining of the statistic between the first monitoring data set and the first calibration data set specifically includes: determining a first variance, a first mean, and a first quantity of monitoring data in the first monitoring data set, and determining a second variance, a second mean, and a second quantity of calibration data in the first calibration data set; The first variance, the first mean, the first quantity, the second variance, the second mean, and the second quantity are input into a statistical calculation formula to obtain the statistic, wherein the statistical calculation formula is: ; Among them, t is the statistic, is the first average value, is the second average value, is the first variance, is the second variance, is the first quantity, is the second quantity; Determining the degrees of freedom between the first monitoring data set and the first calibration data set includes: determining a first variance and a first amount of monitoring data in the first monitoring data set, and determining a second variance and a second amount of calibration data in the first calibration data set; The first variance, the first quantity, the second variance, and the second quantity are input into a degree of freedom calculation formula to obtain the degree of freedom, wherein the degree of freedom calculation formula is: ; Where df is the degree of freedom, is the first variance, is the second variance, is the first quantity, is the second quantity; The cloud server obtains a calibration result of the taxi monitoring device according to the first monitoring data set and the first calibration data set, including: The cloud server uses the air quality monitoring data, ambient temperature and ambient humidity in the first monitoring data set as independent variables and the air quality monitoring data in the first calibration data set as dependent variables to train a linear regression model, a support vector regression model, a random forest model, a gradient boosting decision tree model and an artificial neural network model to obtain a prediction function corresponding to each model; The cloud server obtains a first prediction result of each model according to the prediction function corresponding to each model and the air quality monitoring data, the ambient temperature and the ambient humidity in the first monitoring data set; The cloud server determines the posterior probability of each model through the Akaike Information Criterion indicator of each model; The cloud server determines the corresponding weight of each model according to the posterior probability of each model; The cloud server obtains the calibration result of the taxi monitoring device according to the corresponding weight of each model and the first prediction result; The cloud server determines the posterior probability of each model through the Akaike information criterion indicator of each model, specifically including: For the posterior probability of any model, the Akaike information criterion indicator is input into the posterior probability calculation formula to obtain the posterior probability; wherein the posterior probability calculation formula includes: ; Among them, P(M i | D) is the posterior probability of any one of the linear regression model, the support vector regression model, the random forest model, the gradient boosting decision tree model and the artificial neural network model, M i is any one of the linear regression model, the support vector regression model, the random forest model, the gradient boosting decision tree model and the artificial neural network model, D is the first monitoring data set and the first calibration data set, AIC i is the Akaike information criterion indicator corresponding to any model, and e is a natural constant; The cloud server obtains the calibration result of the taxi monitoring device according to the corresponding weight of each model and the first prediction result, including: For any model, multiplying the first prediction result and the corresponding weight of the model to obtain a first product corresponding to the model; The first products corresponding to each model are accumulated to obtain the calibration result of the taxi monitoring equipment.
Citation Information
Patent Citations
Cloud data joint debugging calibration method based on machine learning algorithm
CN108469273A
Air quality monitoring system
TWM538593U
Cited By
Comprehensive treatment method for dynamically monitoring air quality
CN120927903A
