A background concentration extraction method for low-cost sensor ad hoc networks
Through laboratory calibration of low-cost sensors and cloud platform data analysis, the problem of sensor drift and accuracy is solved, and low-cost and simple air pollutant concentration monitoring and calibration are achieved, which is suitable for the field of environmental monitoring.
Patent Information
- Application Number
- CN202211027661.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-25
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-08-25
AI Technical Summary
In the existing technology, high-precision sensors are expensive and low-cost sensors have drift and accuracy problems. The traditional calibration process is complex and time-consuming, making it difficult to effectively monitor air pollutant concentrations.
Through laboratory calibration of low-cost sensors, deploy them in the monitoring network to obtain pollutant concentration data, and use the cloud platform to calculate the background concentration value. Through sliding time window and standard deviation analysis, drift sensors are identified and calibrated to realize automatic adjustment of background concentration. Network extraction.
It realizes low-cost and simple air pollutant concentration monitoring and sensor calibration, improves monitoring accuracy, reduces manpower and material costs, and is suitable for the field of environmental monitoring.
Smart Images

Figure CN115327045B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of environmental monitoring, and in particular to a background concentration extraction method for a low-cost sensor self-organizing network. Background Art
[0002] In recent years, due to various other factors, air pollutants have caused many harms to the human body. Not only do they cause respiratory diseases and physiological dysfunction, but long-term exposure can also cause chronic bronchitis, bronchial asthma, emphysema and lung cancer, and even damage the lung's ventilation function and the function of hemoglobin to transport oxygen. This has a very serious impact on people's health and life, so it is very necessary to monitor the concentration of pollutants in the air in a timely manner.
[0003] However, the deployment of high-precision sensors is expensive, and low-cost sensors have drift and accuracy issues. Traditional on-site calibration is relatively complex and wastes a lot of manpower and resources. Summary of the invention
[0004] The purpose of the present invention is to make up for the defects of the existing technology and provide a background concentration extraction method for low-cost sensor self-organizing networks. The background concentration of the area is extracted by obtaining the pollutant concentration in the area by low-cost sensors, and the background concentration is used to determine which nodes' sensors have drifted and need to be calibrated.
[0005] The present invention is achieved through the following technical solutions:
[0006] A method for extracting background concentration of a low-cost sensor ad hoc network, comprising the following steps:
[0007] Step 1: Calibrate the sensitivity and drift of the low-cost sensors to be deployed in the laboratory to initially reduce the errors caused by the low-cost sensors when they are deployed in the air quality monitoring network;
[0008] Step 2: Deploy the calibrated low-cost sensors in the monitoring network, and use the low-cost sensors in the monitoring network to obtain the pollutant concentration data in the air. The node end uploads the obtained pollutant concentration data to the cloud platform through wireless communication technologies such as 4G, WIFI, and lora;
[0009] Step 3: The cloud platform places the acquired pollutant concentration data into different sets according to different nodes and different time windows;
[0010] Step 4: Select a set of nodes in the same time window in step 2, calculate the mean pollutant concentration of each node, calculate the mean and variance between each node, select the time window with the least variance, and take the mean pollutant concentration of all nodes in this time window as the background concentration value in this area;
[0011] Step 5: Compare the mean concentration of each node with the background concentration value. If the difference between the mean concentration of a node and the background concentration value in this time window exceeds 3σ, it means that the measurement of the sensor of this node has a large error and needs to be calibrated, where σ represents the standard deviation between the mean values of each node in the same time window.
[0012] In step 1, the sensitivity and drift of the low-cost sensor to be deployed are calibrated in the laboratory using a gas mixer and a gas generator.
[0013] In step 2, the calibrated low-cost sensors are deployed in the monitoring network. Using the low-cost sensors in the monitoring network, the server sends query instructions to the nodes every minute to obtain the pollutant concentration data C in the air. ijk , where i represents the node number 1-n, n represents n monitoring points, j represents the time window number 1-24, k represents the kth pollutant concentration data obtained by the node in the current time window numbered 1-120, C ijk It represents the kth data obtained by the i-th node in the j-th time window.
[0014] In step 3, n monitoring nodes are arranged, and the nodes are numbered 1, 2, 3, ... n. The time windows are divided into 24 sets according to 0-2 hours, 1-3 hours, ... 23-1 hours. There are 24*n sets in total. The cloud platform will place the pollutant concentrations obtained from the nodes in different sets S according to different nodes and different time windows. ij There are 24*n sets in total.
[0015] Select 5 sets of nodes in the same time window in step 2 and calculate the mean pollutant concentration of each node:
[0016]
[0017] Then calculate the mean AVG of pollutant concentrations at all nodes in the same time window j and the variance within the current time window AVG j represents the mean concentration of all pollutants in the jth time window, Represents the average AVG of all nodes in the jth time window ij Variance of:
[0018]
[0019]
[0020] Select variance S 2 The smallest time window j is selected, and the mean value C of the pollutant concentration of all nodes in this time window is taken as the background concentration value in this area, where:
[0021] C=AVG j .
[0022] In step 5, the standard deviation σ between the means of each node in the same time window is calculated:
[0023]
[0024] The mean concentration of each node is compared with the background concentration value. If the difference between the mean concentration of a node and the background concentration value exceeds 3σ within this time window, it means that the sensor has a measurement error and needs to be calibrated.
[0025] The pollutant concentrations in the same area are highly correlated, and the concentration change trend is slow. It is believed that the pollutant concentrations in a region are highly correlated, and the pollutant concentrations fluctuate around the background concentration value. This feature is used to extract the background concentration value.
[0026] In step 4, by calculating the mean variance of the pollutant concentration obtained from the nodes, the time of the day when the pollutant concentration between the nodes is closest to the background concentration value in the regional range is selected, thereby reducing the impact of the increase in local pollutant concentration on the calculation of the background concentration value.
[0027] The advantages of the present invention are: the present invention uses low-cost sensors to obtain pollutant concentrations in a region, selects the time of the day closest to the regional background concentration value in the form of a sliding time window, and uses an algorithm to extract the background concentration value in this region within this time window. The background concentration value obtained can be used to evaluate the degree of pollution in the region, or use the background concentration value to calibrate low-cost sensors, which is of great significance for monitoring pollutant concentrations using low-cost sensor networks. The method has the advantages of low cost, simple algorithm and easy execution, and is mainly used in the field of environmental monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a structural schematic diagram of the present invention. DETAILED DESCRIPTION
[0029] like Figure 1As shown, a method for extracting background concentration for a low-cost sensor ad hoc network specifically includes the following steps:
[0030] Step 1: Calibrate the sensitivity and drift of the low-cost sensor to be deployed in the laboratory using a gas mixer and a gas generator.
[0031] Step 2: Deploy the calibrated sensors in the monitoring network. Using the low-cost sensors in the monitoring network, the server sends sensor query instructions to the nodes every minute to obtain the pollutant concentration data C in the air. ijk (where i represents the node number 1-n, j represents the time window number 1-24, k represents the kth pollutant concentration data obtained by the node in the current time window, which is numbered 1-120, C ijk represents the kth data obtained by the i-th node in the j-th time window), and uploads the obtained data to the cloud platform.
[0032] Step 3: Arrange n monitoring nodes, the nodes are numbered 1, 2, 3, ... n, and the time windows are divided into 24 sets according to 0-2 hours, 1-3 hours, ... 23-1 hours. There are 24*n sets in total. The cloud platform will collect the pollutant concentrations obtained from the nodes according to different sets S. i represents the node number 1-n, j represents the time window number 1-24, and the nodes and different time windows are placed in different sets S. ij There are 24*n sets in total.
[0033] Step 4: Select 5 sets of nodes in the same time window in step 2 and calculate the mean pollutant concentration of each node:
[0034]
[0035] Then calculate the mean AVG of pollutant concentrations at all nodes in the same time window j (the mean of all pollutant concentrations in the jth time window) and the variance in the current time window (AVG, the average of all nodes in the jth time window ij Variance of ):
[0036]
[0037] Select variance S 2 The smallest time window j is selected, and the mean value C of the pollutant concentration of all nodes in this time window is taken as the background concentration value in this area, where:
[0038] C=AVG j .
[0039] Step 5: Calculate the standard deviation σ between the mean values of each node in the same time window:
[0040]
[0041] The mean concentration of each node is compared with the background concentration value. If the difference between the mean concentration of a node and the background concentration value exceeds 3σ within this time window, it means that the sensor has a measurement error and needs to be calibrated.
[0042] The embodiments described in the present invention are merely descriptions of the preferred implementation modes of the present invention, and are not intended to limit the concept and scope of the present invention. Without departing from the design concept of the present invention, various modifications and improvements made to the technical solutions of the present invention by engineers and technicians in this field should fall within the protection scope of the present invention. The technical contents for which protection is sought in the present invention have all been recorded in the claims.
Claims
1. A method for extracting background concentration in a low-cost sensor ad hoc network, characterized in that: The specific steps include: Step 1: Calibrate the sensitivity and drift of the low-cost sensors to be deployed in the laboratory. Step 2: Deploy the calibrated low-cost sensors in the monitoring network, and use the low-cost sensors in the monitoring network to obtain the pollutant concentration data in the air. The node end uploads the obtained pollutant concentration data to the cloud platform through wireless communication technology; Step 3: The cloud platform places the acquired pollutant concentration data into different sets according to different nodes and different time windows; Step 4: Select a set of nodes in the same time window in step 2, calculate the mean pollutant concentration of each node, calculate the mean and variance between each node, select the time window with the least variance, and take the mean pollutant concentration of all nodes in this time window as the background concentration value in this area; Step 5: Compare the mean concentration of each node with the background concentration value. If the difference between the mean concentration of a node and the background concentration value exceeds 3σ in this time window, it means that the measurement of the sensor of the node has a large error and needs to be calibrated, where σ represents the standard deviation between the mean values of each node in the same time window; In step 2, the calibrated low-cost sensors are deployed in the monitoring network. Using the low-cost sensors in the monitoring network, the server sends query instructions to the nodes every minute to obtain the pollutant concentration data C in the air. ijk , where i represents the node number 1-n, n represents n monitoring points, j represents the time window number 1-24, k represents the kth pollutant concentration data obtained by the node in the current time window numbered 1-120, C ijk represents the kth data obtained by the i-th node in the j-th time window; In step 3, n monitoring nodes are arranged, and the nodes are numbered 1, 2, 3, ... n. The time windows are divided into 24 sets according to 0-2 hours, 1-3 hours, ... 23-1 hours. There are 24*n sets in total. The cloud platform will place the pollutant concentrations obtained from the nodes in different sets S according to different nodes and different time windows. ij There are 24*n sets in total; Select 5 sets of nodes in the same time window in step 2 and calculate the mean pollutant concentration of each node: Then calculate the mean AVG of pollutant concentrations at all nodes in the same time window j and the variance within the current time window AVG j represents the mean concentration of all pollutants in the jth time window, Represents the average AVG of all nodes in the jth time window ij Variance of: Select variance S 2 The smallest time window j is selected, and the mean value C of the pollutant concentration of all nodes in this time window is taken as the background concentration value in this area, where: C=AVG j ; In step 5, the standard deviation σ between the means of each node in the same time window is calculated: The mean concentration of each node is compared with the background concentration value. If the difference between the mean concentration of a node and the background concentration value exceeds 3σ within this time window, it means that the sensor has a measurement error and needs to be calibrated.
2. The method for extracting background concentration of a low-cost sensor ad hoc network according to claim 1, characterized in that: In step 1, the sensitivity and drift of the low-cost sensor to be deployed are calibrated in the laboratory using a gas mixer and a gas generator.
3. The method for extracting background concentration of a low-cost sensor ad hoc network according to claim 1, characterized in that: The pollutant concentrations in the same area are highly correlated, and the concentration change trend is slow. It is believed that the pollutant concentrations in a region are highly correlated, and the pollutant concentrations fluctuate around the background concentration value. This feature is used to extract the background concentration value.
Citation Information
Patent Citations
Information obtaining method and information obtaining device
CN108398529A
Calibration method of carbon dioxide sensor for air conditioner fresh air system
CN110133192A
