CN-115792115-B - VOCs concentration prediction method and equipment based on linear interpolation
Abstract
The VOCs concentration prediction method and equipment based on linear interpolation comprise the following steps of S1, collecting VOCs concentration in a space to be detected by using an unmanned aerial vehicle carrying a gas analyzer, S2, preprocessing data according to collected data, finishing VOCs concentration data filling of an outer frame surface of the space to be detected by using two-dimensional linear interpolation, and S3, carrying out interpolation filling on inner points of a rectangular body to be detected by using three-dimensional linear interpolation according to the collected data and the outer frame surface data obtained in the previous step. The VOCs concentration prediction method based on the three-dimensional spatial interpolation by using the unmanned aerial vehicle is rapid in implementation, high in prediction accuracy, low in requirements on equipment and sites, and has great advantages compared with the traditional method.
Inventors
- LI BINGBING
- KANG YU
- LIU ZENGLIN
- CAO YANG
- XIA XIUSHAN
- XU ZHENYI
Assignees
- 中国科学技术大学先进技术研究院
- 安徽省生态环境监测中心(安徽省重污染天气预报预警中心)
Dates
- Publication Date
- 20260505
- Application Date
- 20221129
Claims (5)
- 1. A VOCs concentration prediction method based on linear interpolation is characterized by comprising the following steps, S1, collecting VOCs concentration in a space to be tested by using an unmanned aerial vehicle carrying a gas analyzer, wherein the collection comprises the steps of controlling the unmanned aerial vehicle to collect VOCs concentration data of six faces of a rectangular space to be tested and controlling the unmanned aerial vehicle to collect VOCs concentration data in the rectangular space to be tested; s2, preprocessing data according to the acquired data, and finishing filling of VOCs concentration data of the outer frame surface of the space to be detected by using two-dimensional linear interpolation; s3, carrying out interpolation filling on internal points of the rectangular body to be detected by using three-dimensional space linear interpolation according to the acquired data and the outer frame surface data obtained in the previous step; the step S2 specifically includes the following subdivision steps: s21, interpolating by using a nearest neighbor interpolation method according to the acquired data, and filling data on twelve edges of the rectangular body of the space to be detected; S22, obtaining data of an outer frame surface of the rectangular body of the space to be detected by using a two-dimensional linear interpolation method according to the data on the arris obtained in the S21 and the data acquired by the unmanned aerial vehicle; And S3, obtaining pollution concentration values of eight nearest vertices of the cube of the P of the point to be interpolated by using a nearest interpolation method, and obtaining VOCs concentration data of all points of the space to be interpolated by using a three-dimensional space interpolation method.
- 2. The method for predicting concentration of VOCs based on linear interpolation according to claim 1, wherein said step S1 comprises, S11, mounting the odor gas analyzer on an unmanned plane; S12, controlling the unmanned aerial vehicle to collect VOCs concentration data of six faces of the rectangular volume to be detected; S13, controlling the unmanned aerial vehicle to collect VOCs concentration data in the rectangular body of the space to be detected.
- 3. The method for predicting the concentration of VOCs based on linear interpolation according to claim 2, wherein said step S2 comprises the following sub-steps S21 to S22: s21, interpolating by using a nearest neighbor interpolation method according to the acquired data, and filling data on twelve edges of the rectangular body of the space to be detected; creating a three-dimensional array with the size of L, W and H, wherein L is the sum of the number of data points acquired by the space to be detected in length and the number of data points to be interpolated, W is the sum of the number of data points acquired by the space to be detected in width and the number of data points to be interpolated, and H is the sum of the number of data points acquired by the space to be detected in height and the number of data points to be interpolated; For a point P to be interpolated, traversing the array, finding out the point closest to the point P, taking the air pollution concentration of the point as the VOCs concentration of the point P, and storing the air pollution data of the point P into the corresponding position of the array; S22, establishing an xOy coordinate system on the outer frame surface according to the on-edge data obtained in the S21 and the data acquired by the unmanned aerial vehicle, wherein Q 11 ,Q 12 ,Q 21 ,Q 22 is the nearest point to the point to be interpolated in the x-axis direction and the y-axis direction, and obtaining the data of the outer frame surface of the rectangular body of the space to be detected by using a two-dimensional linear interpolation method, wherein the specific formula is as follows: x and y are the x-axis coordinate and the y-axis coordinate of the point P to be interpolated; (x 1, y 1) and (x 2, y 2) are coordinates of two nearest points to the two-dimensional interpolation point P.
- 4. The method for predicting the concentration of VOCs based on linear interpolation according to claim 3, wherein said step S3 comprises the following sub-steps S31 to S33: s31, for the point P (x, y, z) to be interpolated, obtaining the VOCs concentration of the point c 000 (x+1,y+1,z+1)、c 001 (x+1,y+1,z-1)、c 010 (x+1,y-1,z+1)、c 011 (x+1,y-1,z-1)、c 100 (x-1,y+1,z+1)、c 101 (x-1,y+1,z-1)、c 110 (x-1,y-1,z+1)、c 111 (x-1,y-1,z-1) by using a nearest neighbor interpolation method; S32, according to the data obtained in the S31, obtaining VOCs concentration data of all points of the space to be detected by using a three-dimensional space interpolation method, wherein the specific formula is as follows: c=c 000 (1-x d )(1-y d )(1-z d )+c 100 x d (1-y d )(1-z d )+c 010 (1-x d )y d (1-z d )+c 001 (1-x d )(1-y d )z d +c 101 x d (1-y d )z d +c 011 (1-x d )y d z d +c 110 x d y d (1-z d )+c 111 x d y d z d (xd, yd, zd) are the spatial coordinates of any pollution interpolation point to be estimated in space, (x 0, y0, z 0) and (x 1, y1, z 1) are the coordinates of two points in the nearest space of the point to be interpolated P; c000, C100, C010, C001, C101, C011, C110, C111 are the pollution concentration values of the eight nearest vertices of the cube containing P for the point to be interpolated; updating the VOCs concentration data obtained by the formula into an array; S33, repeating S31 and S32 for each point to be interpolated in the space, so as to obtain the VOCs concentration of all points in the space to be interpolated.
- 5. A computer readable device storing a computer program which, when executed by a processor, causes the processor to perform the steps of the method of any of claims 1 to 4.
Description
VOCs concentration prediction method and equipment based on linear interpolation Technical Field The invention relates to the technical field of air pollution prediction in the field of environment detection, in particular to a VOCs concentration prediction method and equipment based on linear interpolation. Background The development of industry is not separated from mining, but the unavoidable environmental pollution problem is caused in the process of implementing mining, and the air pollution problem is particularly prominent in various pollution and has great influence on the health of practitioners. Mining operations produce various air pollution particulates such as PM1.0, PM2.5, PM10, and some heavy metal particles, as well as various harmful gases such as SO 2、CO2, CO. For preventive work of air pollution, accurate measurement of the distribution of the polluted gas is required. In general, many existing methods for measuring the distribution of a polluted gas, such as manual analysis and measurement, continuous analyzers, etc., require a great deal of time and labor costs. Disclosure of Invention The VOCs concentration prediction method based on linear interpolation can rapidly predict pollution distribution conditions in a cuboid three-dimensional space. In order to achieve the above purpose, the present invention adopts the following technical scheme: A VOCs concentration prediction method based on linear interpolation comprises the following steps, Step 1, collecting VOCs concentration in a space to be detected by using an unmanned aerial vehicle carrying a gas analyzer; step 2, preprocessing data according to the acquired data, and finishing the filling of VOCs concentration data of the outer frame surface of the space to be detected by using two-dimensional linear interpolation; And 3, carrying out interpolation filling on internal points of the rectangular body to be detected by using three-dimensional space linear interpolation according to the acquired data and the outer frame surface data obtained in the previous step. Further, the step S1 of analyzing and measuring the air of the space to be measured by using the unmanned aerial vehicle carrying the gas analyzer specifically comprises the following subdivision steps S11 to S13: and S11, mounting the odor gas analyzer on a large M300 unmanned aerial vehicle. S12, controlling the unmanned aerial vehicle to collect VOCs concentration data of six faces of the rectangular body space to be detected. S13, controlling the unmanned aerial vehicle to collect VOCs concentration data in the rectangular body of the space to be detected. The more acquisitions, the more uniform the distribution, the more accurate the interpolation. Further, the step S2 is to perform data preprocessing according to the acquired data, and complete data filling of the outer frame surface of the space to be detected by using two-dimensional linear interpolation, and specifically includes the following subdivision steps S21 to S22: and S21, interpolating by using a nearest neighbor interpolation method according to the acquired data, and filling the data on twelve edges of the rectangular body of the space to be detected. The core idea of nearest-neighbor interpolation is to select the point closest to the target point as the new value point to be inserted. In an application example of the present invention, a three-dimensional array with a size of l×w×h may be created, where L is a sum of numbers of data points to be acquired and interpolated in length, W is a sum of numbers of data points to be acquired and interpolated in width, and H is a sum of numbers of data points to be acquired and interpolated in height. And traversing the array for the point P to be interpolated, finding out the point closest to the point P, taking the air pollution concentration of the point as the VOCs concentration of the point P, and storing the air pollution data of the point P into the corresponding position of the array. S22, establishing an xOy coordinate system on the outer frame surface according to the on-edge data obtained in the S21 and the data acquired by the unmanned aerial vehicle, wherein Q 11,Q12,Q21,Q22 is the nearest point to the point to be interpolated in the x-axis direction and the y-axis direction. The two-dimensional linear interpolation method is used for obtaining the data of the outer frame surface of the rectangular body of the space to be detected, and the specific formula is as follows: x and y are the x-axis coordinate and the y-axis coordinate of the point P to be interpolated; (x 1, y 1) and (x 2, y 2) are coordinates of two nearest points to the two-dimensional interpolation point P. Further, the step S3 is to perform interpolation filling on the internal points of the space body to be tested by using three-dimensional space linear interpolation according to the acquired data and the outer frame surface data obtained in the previous step, and specifically incl