Airborne air pollution detection method based on harmonic vector change

Through the detection method based on harmonic vector change, the harmonic model and vector change angle judgment are used to solve the problem of inaccurate detection of drones in chemical enterprise scenarios, and more accurate air pollution judgment and early warning effects are achieved.

CN118962006AActive Publication Date: 2024-11-15ZHEJIANG UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411014499.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-15
Estimated Expiration
2044-07-26

AI Technical Summary

Technical Problem

In the chemical enterprise scenario, when the drone is monitoring and early warning, the onboard sensors are inaccurate in the detection and cannot fly for a long time due to noise interference caused by high-speed air flow and fuselage vibration, making it difficult to quickly eliminate the impact of noise and achieve accurate detection and early warning Effects are an urgent problem.

Method used

The airborne air pollution detection method based on harmonic vector changes is adopted. By constructing a harmonic initialization model and harmonic model of the area to be measured, the amplitude is solved by fitting the cosine function and the sine function, combining the ratio method and vector change angle judgment, distinguishing the anomaly It is noise or air pollution at all times.

Benefits of technology

It achieves a more sensitive and accurate judgment of air pollution, avoids judgment errors caused by drone vibration and air flow, and can more accurately detect pollution in chemical enterprises, improving the early warning effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118962006A_ABST
    Figure CN118962006A_ABST
Patent Text Reader

Abstract

The invention discloses an airborne air pollution detection method based on harmonic vector change, and belongs to the technical field of unmanned aerial vehicle pollution detection. The method comprises the following steps: constructing a harmonic initialization model, and solving cosine and sine function amplitudes and a pollution background value baseline of a to-be-detected region to obtain a harmonic model of the to-be-detected region; obtaining a measured value at the current moment through a sensor module; substituting the current moment into the harmonic model of the to-be-measured region to obtain a predicted value of the current moment; obtaining an abnormal judgment reading based on a ratio method and comparing the abnormal judgment reading with an abnormal threshold value; when N abnormal moments are continuously detected, vector change angle pollution judgment is executed, and the unmanned aerial vehicle noise influence condition and the air pollution condition are distinguished. By adopting the method provided by the invention, the pollution condition of the to-be-detected area can be more sensitively and accurately judged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of unmanned aerial vehicle pollution detection, and in particular relates to an airborne air pollution detection method based on harmonic vector changes. Background Art

[0002] With the rapid development of urbanization and industrialization, the number of heavily polluting industrial enterprises has increased rapidly, causing a great degree of pollution to the ambient air. At present, researchers are committed to developing drones for environmental monitoring to enhance the flexibility of air quality monitoring. How to realize drone monitoring and early warning in the scenario of chemical enterprises is a difficult problem, and its solution includes both hardware and software.

[0003] In terms of hardware, various high-precision sensors and monitoring equipment are used. These devices usually have built-in intelligent algorithms for gas processing to achieve accurate conversion from digital signals to analog signals. In terms of software, noise interference can be reduced by designing algorithms. When drones fly, they are often accompanied by high-speed air flow and high-frequency vibration of the fuselage. The presence of a large amount of noise makes it difficult for airborne sensors to accurately detect and warn. Specifically, airborne sensors have large inaccuracies when measuring gases, and their measured values ​​usually fluctuate greatly. In addition, drones are limited by power and cannot fly for a long time. How to quickly eliminate the influence of these noises and accurately detect the pollution situation of chemical companies to achieve early warning effects is an urgent problem to be solved. Summary of the invention

[0004] The purpose of the present invention is to address the deficiencies of the prior art and provide an airborne air pollution detection method based on harmonic vector changes.

[0005] The specific technical solutions adopted by the present invention are as follows:

[0006] The present invention provides an airborne air pollution detection method based on harmonic vector change, which uses an unmanned aerial vehicle device and a host computer to realize the judgment of gas pollution conditions in a test area; the unmanned aerial vehicle device includes an aircraft module and a sensor module and a communication module arranged on the aircraft module, and the information collected by the sensor module is transmitted to the host computer through the communication module. The specific steps of performing air pollution detection in the host computer are as follows:

[0007] S1: Construct a harmonic initialization model; the aircraft is at a specified altitude L, the sensor measurement value obtained is used as the dependent variable, and time is used as the independent variable, and the cosine function amplitude and sine function amplitude in the harmonic initialization model are fitted and solved;

[0008] S2: Substitute the cosine function amplitude, sine function amplitude and pollution background value baseline of the area to be tested obtained in step S1 into the harmonic initialization model to construct a harmonic model of the area to be tested;

[0009] S3: After the aircraft flies to the target height H, the sensor module obtains the current measurement value Y(t); the current time is substituted into the harmonic model of the measured area constructed in step S2 to obtain the predicted value P(t) at the current time;

[0010] S4: Based on the difference between the current measured value Y(t) and the current predicted value P(t) and the root mean square error of the harmonic model at the previous moment, an abnormal judgment indication is obtained; if the abnormal judgment indication is less than the abnormal threshold, the current moment is determined to be a normal moment; if the abnormal judgment indication is greater than the abnormal threshold, the current moment is determined to be an abnormal moment;

[0011] S5: When N abnormal moments are detected continuously, perform vector change angle pollution judgment; calculate the vector change angle of every two adjacent measurement values ​​at the abnormal moment, and then calculate the average value of the vector change angle; if the average value of the vector change angle is greater than 30°, it is judged that the abnormal moment is affected by drone noise; if the average value of the vector change angle is ≤30°, it is judged that the abnormal moment is affected by air pollution.

[0012] Preferably, the harmonic initialization model is as follows:

[0013]

[0014] Where: P(t)′ is the sensor measurement value, b0 is the baseline of the pollution background value of the measured area; a1 is the amplitude of the cosine function; b1 is the amplitude of the sine function; T is the vibration period of the cosine function or the sine function.

[0015] Furthermore, the measurement method of the pollution background value baseline b0 of the area to be measured is as follows: the aircraft is located in the area to be measured, and the sensor module is turned on for preheating when it is not in flight; after the sensor module reaches a stable measurement state, data is collected for T0 minutes and the data obtained by the sensor module is transmitted to the host computer through the communication module; the average value of the data obtained by the sensor module within T0 minutes is the pollution background value baseline b0 of the area to be measured;

[0016] The fitting and solving process of the cosine function amplitude a1 and the sine function amplitude b1 in the harmonic initialization model is as follows: the aircraft is located in the test area, flies to a specified height L and maintains it, turns on the sensor module to collect data for T1 minutes and transmits the sensor measurement value P(t)′ to the host computer through the communication module; the sensor measurement value P(t)′ is used as the dependent variable and time is used as the independent variable to fit and solve the cosine function amplitude a1 and the sine function amplitude b1 in the harmonic initialization model.

[0017] Furthermore, the designated height L=3 m; the acquisition times T0 and T1 are both 5 minutes.

[0018] Preferably, the harmonic model of the area to be measured is as follows:

[0019]

[0020] In the formula: P(t) is the predicted value at the current moment; t is the current moment; the target height H at which the aircraft flies is > 3m.

[0021] Preferably, the abnormal judgment value n in step S4 is calculated as follows:

[0022]

[0023] In the formula: delta(t) represents the difference between the measured value Y(t) at the current moment and the predicted value P(t) at the current moment, and RMSE(t - 1) represents the root mean square error of the harmonic model at the previous moment.

[0024] Preferably, the abnormal threshold value n0 in step S4 is taken as 4, which means that the absolute value of the difference between the predicted value and the sensor is greater than four times the root mean square error.

[0025] Preferably, when 5 abnormal moments are continuously detected in step S5, the vector change angle pollution judgment is performed.

[0026] Preferably, the vector change angle pollution judgment in step S5 is specifically as follows:

[0027] In the coordinate system, assuming that the value at the first abnormal moment is the origin, the measured value at the i-th abnormal moment (1 < i < 5) and the measured value at the first abnormal moment form a vector, and the measured value at the (i + 1)-th abnormal moment and the measured value at the first abnormal moment form a vector, and the two vectors will form an angle β i,i+1 , and so on; the average value of the vector change angle

[0028] Preferably, the sensor module is a carbon dioxide monitoring sensor, a sulfur dioxide monitoring sensor or a nitrogen dioxide monitoring sensor.

[0029] The present invention has the following beneficial effects compared with the prior art:

[0030] The air pollution detection method provided by the present invention is based on the drone to collect gas data of the area to be measured. First, the ratio method is used to preliminarily determine whether an abnormality occurs. If an abnormality continuously occurs, the pollution judgment is further performed based on the vector change angle. Through the judgment of the vector change angle, it is possible to avoid misjudgment caused by drone vibration, air flow, sensor hardware measurement fluctuations, etc. Using the method provided by the present invention can more sensitively and accurately judge the pollution situation of the area to be measured. Description of the Drawings

[0031] Figure 1 Schematic diagram of the drone device and host computer provided in this embodiment;

[0032] Figure 2 A flow chart of the airborne air pollution detection method provided by the present invention;

[0033] Figure 3 Schematic diagram of the difference between the current measured value Y(t) and the current predicted value P(t) in this embodiment;

[0034] Figure 4 This is a schematic diagram of calculating the vector change of the measurement values ​​at adjacent moments in this embodiment;

[0035] Figure 5 Graph showing examples of vector changes of measured values ​​under different circumstances in this embodiment. DETAILED DESCRIPTION

[0036] The present invention is further described and illustrated below in conjunction with the accompanying drawings and specific embodiments. The technical features of each embodiment of the present invention can be combined accordingly without conflicting with each other.

[0037] As a preferred embodiment of the present invention, this embodiment provides an airborne air pollution detection method based on harmonic vector change, which uses a drone device and a host computer to determine the gas pollution situation in the area to be tested. The area to be tested in this embodiment is a chemical park.

[0038] like Figure 1 As shown, the drone device provided in this embodiment includes an aircraft module and a sensor module and a communication module arranged on the aircraft module. The aircraft serves as a flight carrier, the sensor module collects gas in the air and obtains corresponding data, and the communication module transmits the data collected by the sensor module to the host computer through a line.

[0039] In this embodiment, the sensor module is a cubic box located at the center of the upper surface of the aircraft. The box mainly includes a lithium battery, a circuit, a pump, and a gas sensor. The pump is connected to two air ducts, one inlet pipe and one outlet pipe. The sensor module includes a circuit board, and all sensors are arranged in a square with equal spacing to increase heat dissipation and reduce the impact of temperature on the sensor.

[0040] The sensor module includes a gas detection sensor, which includes a carbon dioxide monitoring sensor, a sulfur dioxide monitoring sensor, a nitrogen dioxide monitoring sensor, a temperature monitoring sensor, and a humidity monitoring sensor in this embodiment. The sensor detects the gas output analog voltage signal, and the single-chip microcomputer samples and converts this analog signal through a sampling and conversion module (ADC) to obtain gas concentration or other related data. The single-chip microcomputer transmits the relevant data to the RS485 communication module via a TTL signal. The RS485 communication module is responsible for converting the TTL signal into an RS485 signal and sending the data to the sending station via the RS485 bus. The sending station transmits the data to the receiving station via the RS485 signal. The receiving station receives the signal and uploads it to the host computer via the RS485 to TTL signal.

[0041] After receiving the data, the host computer performs air pollution detection. The process is as follows: Figure 2 The specific steps are as follows:

[0042] (1) Constructing the harmonic initialization model:

[0043]

[0044] Where: P(t)′ is the sensor measurement value, b0 is the pollution background value baseline of the measured area; a1 is the amplitude of the cosine function; b1 is the amplitude of the sine function; T is the vibration period of the cosine function or sine function

[0045] Among them, the measurement method of the pollution background value baseline b0 of the area to be measured is as follows: the aircraft is located in the area to be measured, and the sensor module is turned on for preheating when it is not in flight; after the sensor module reaches a stable measurement state, the data is collected for T0 minutes (5 minutes in this embodiment) and the data obtained by the sensor module is transmitted to the host computer through the communication module, and the collection frequency is 1 second / packet. The average value of the data obtained by the sensor module within T0 minutes is the baseline b0 of the pollution background value of the area to be measured. The b0 of the same area to be measured is a fixed value, and the baseline value usually reflects the basic pollution situation of the area to a certain extent.

[0046] Among them, the fitting and solving process of the cosine function amplitude a1 and the sine function amplitude b1 is as follows: the aircraft is located in the test area, flies to the specified height L and maintains it, turns on the sensor module to collect T1 minutes (5 minutes in this embodiment) and transmits the sensor measurement value P(t)′ to the host computer through the communication module; takes the sensor measurement value P(t)′ as the dependent variable and time as the independent variable, and fits and solves the cosine function amplitude a1 and the sine function amplitude b1 in the harmonic initialization model.

[0047] In this embodiment, the designated height L=3 m. The measurement is performed at a height of 3 meters because the air at this height will affect human breathing. In most cases in chemical parks, the gas conditions measured at this height will not show pollution values.

[0048] (2) Construct a harmonic model of the area to be tested.

[0049] Substitute the cosine function amplitude a1, sine function amplitude b1 and pollution background value baseline b0 of the measured area obtained in step (1) into the harmonic initialization model to obtain the harmonic model of the chemical park:

[0050]

[0051] Where: P(t) is the predicted value at the current moment; t is the current moment.

[0052] (3) Obtain measured values ​​and predicted values.

[0053] After the aircraft flies to the target height H (H>3m), the sensor module obtains the current measurement value Y(t). The current time is substituted into the harmonic model of the measured area constructed in step (2) to obtain the predicted value P(t) at the current time.

[0054] (4) Make abnormal judgment based on the ratio method.

[0055] The predicted value represents the estimate of the next moment from the previous moment. The predicted value is usually stable. However, when the sensor measurement value at the next moment changes greatly, it may be caused by noise or polluted gas. In this invention, the moment of sudden change is called abnormal moment. In order to quantify the difference between the predicted value and the sensor measurement value, the ratio method is used for abnormal judgment.

[0056] like Figure 3 As shown, the difference delta(t) between the current measured value Y(t) and the current predicted value P(t) and the root mean square error RMSE(t-1) of the harmonic model at the previous moment are calculated to obtain the abnormal judgment index n:

[0057]

[0058] If the abnormality judgment indication n is less than the abnormality threshold n0, the current moment is determined to be a normal moment; if the abnormality judgment indication n is greater than the abnormality threshold n0, the current moment is determined to be an abnormal moment.

[0059] In this embodiment, the abnormal threshold n0 is set to 4, which means that the absolute value of the difference between the predicted value and the sensor value is greater than four times the root mean square error.

[0060] (5)Judgment of pollution based on the vector change angle.

[0061] When n > n0, it is determined as an abnormal moment. There are two cases of abnormal moments: the first case is the noise value (noise influence), and the second case is the pollution value (air pollution influence). To avoid accidental situations, this method detects N consecutive abnormal moments (N is set to 5 in this embodiment) before making the following judgment.

[0062] Calculate the vector change angle between every two adjacent measurement values at abnormal moments, and then calculate the average value of the vector change angles, specifically as follows:

[0063] As Figure 4 shown, in the coordinate system, assume that the value at the first abnormal moment is the origin. On the coordinate system, the measurement value at the i-th abnormal moment (1 < i < 5) and the measurement value at the first abnormal moment form a vector, and the measurement value at the (i + 1)-th abnormal moment and the measurement value at the first abnormal moment form a vector. The two vectors will form an angle β i,i+1 , and so on, to obtain β 2,3 , β 3,4 , β 4,5 three angles; the average value of the vector change angles

[0064] If the sensor continuously measures five pollution values and their value fluctuation ranges are small, the average vector change angle will be small; when the sensor is affected by noise (such as air flow, aircraft body vibration, sensor hardware measurement fluctuations, etc.), its measurement values fluctuate greatly up and down, so its average vector change angle is also large.

[0065] If the average value of the vector change angle > 30°, it is determined that the abnormal moment belongs to the situation of UAV noise influence; if the average value of the vector change angle ≤ 30°, it is determined that the abnormal moment belongs to the situation of air pollution.

[0066] Specifically, as Figure 5 (a) and Figure 5 (b) shown, the measurement values at the four moments in each figure show a consistent change trend. Figure 5 (a) shows an upward trend, Figure 5 (b) shows a stable trend, and the average values of the vector change angles of both are less than 30°. Therefore, it is determined as the situation of air pollution. Figure 5 (c) shows an unstable state, and the average value of the vector change angle is greater than 30°, which is usually affected by noise. If this situation occurs, it is determined as the situation of UAV noise influence.

[0067] Due to the complexity of fluctuations, a pollution signal is still accidental, so when four pollution signals appear within a certain period of time (three minutes), the altitude, longitude and latitude of the point, and pollution value are recorded. When four pollution signals appear, the mean of the pollution value Value_mean is calculated, and its ratio to the baseline b0 of the pollution background value of the chemical park is calculated. The calculation formula is as follows:

[0068]

[0069] The pollution level Pollution represents the air pollution status at that altitude. The pollution level can be set according to the type of gas: light pollution, moderate pollution, and severe pollution. The above steps can be taken to gradually measure the pollution status at different altitudes and realize the judgment of the pollution level.

[0070] The above-described embodiment is only a preferred solution of the present invention, but it is not intended to limit the present invention. A person skilled in the relevant technical field may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, any technical solution obtained by equivalent replacement or equivalent transformation falls within the protection scope of the present invention.

Claims

1. An airborne air pollution detection method based on harmonic vector variation, characterized in that: The air pollution detection method uses an unmanned aerial vehicle device and a host computer to realize the gas pollution situation judgment of the test area; the unmanned aerial vehicle device includes an aircraft module and a sensor module and a communication module arranged on the aircraft module. The information collected by the sensor module is transmitted to the host computer through the communication module. The specific steps of performing air pollution detection in the host computer are as follows: S1: Construct a harmonic initialization model; the aircraft is at a specified altitude L, the sensor measurement value obtained is used as the dependent variable, and time is used as the independent variable, and the cosine function amplitude and sine function amplitude in the harmonic initialization model are fitted and solved; S2: Substitute the cosine function amplitude, sine function amplitude and pollution background value baseline of the area to be tested obtained in step S1 into the harmonic initialization model to construct a harmonic model of the area to be tested; S3: After the aircraft flies to the target height H, the sensor module obtains the current measurement value Y(t); the current time is substituted into the harmonic model of the measured area constructed in step S2 to obtain the predicted value P(t) at the current time; S4: Based on the difference between the current measured value Y(t) and the current predicted value P(t) and the root mean square error of the harmonic model at the previous moment, an abnormal judgment indication is obtained; if the abnormal judgment indication is less than the abnormal threshold, the current moment is determined to be a normal moment; if the abnormal judgment indication is greater than the abnormal threshold, the current moment is determined to be an abnormal moment; S5: When N abnormal moments are detected continuously, perform vector change angle pollution judgment; calculate the vector change angle of every two adjacent measurement values ​​at the abnormal moment, and then calculate the average value of the vector change angle; if the average value of the vector change angle is greater than 30°, it is judged that the abnormal moment is affected by drone noise; if the average value of the vector change angle is ≤30°, it is judged that the abnormal moment is affected by air pollution.

2. The method for detecting airborne air pollution based on harmonic vector variation according to claim 1, characterized in that: The harmonic initialization model is as follows: Where: P(t)′ is the sensor measurement value, b0 is the baseline of the pollution background value of the measured area; a1 is the amplitude of the cosine function; b1 is the amplitude of the sine function; T is the vibration period of the cosine function or the sine function.

3. The airborne air pollution detection method based on harmonic vector change according to claim 2 is characterized in that: The method for measuring the pollution background value baseline b0 of the area to be measured is as follows: the aircraft is located in the area to be measured, and the sensor module is turned on for preheating when it is not in flight; after the sensor module reaches a stable measurement state, the data is collected for T0 minutes and the data obtained by the sensor module is transmitted to the host computer through the communication module; the average value of the data obtained by the sensor module within T0 minutes is the pollution background value baseline b0 of the area to be measured; The fitting and solving process of the cosine function amplitude a1 and the sine function amplitude b1 in the harmonic initialization model is as follows: the aircraft is located in the test area, flies to a specified height L and maintains it, turns on the sensor module to collect data for T1 minutes and transmits the sensor measurement value P(t)′ to the host computer through the communication module; the sensor measurement value P(t)′ is used as the dependent variable and time is used as the independent variable to fit and solve the cosine function amplitude a1 and the sine function amplitude b1 in the harmonic initialization model.

4. The method for detecting airborne air pollution based on harmonic vector variation according to claim 3, characterized in that: The designated height L=3 m; the acquisition times T0 and T1 are both 5 minutes.

5. The method for detecting airborne air pollution based on harmonic vector variation according to claim 1, characterized in that: The harmonic model of the area to be tested is as follows: Where: P(t) is the predicted value at the current moment; t is the current moment; the target altitude of the aircraft is H>3m.

6. The method for detecting airborne air pollution based on harmonic vector variation according to claim 1, characterized in that: The abnormality judgment indication n in step S4 is calculated as follows: Where: delta(t) represents the difference between the measured value Y(t) at the current moment and the predicted value P(t) at the current moment, and RMSE(t-1) represents the root mean square error of the harmonic model at the previous moment.

7. The method for detecting airborne air pollution based on harmonic vector variation according to claim 1, characterized in that: The abnormal threshold n0 in step S4 is set to 4, which means that the absolute value of the difference between the predicted value and the sensor value is greater than four times the root mean square error.

8. The method for detecting airborne air pollution based on harmonic vector variation according to claim 1, characterized in that: When five abnormal moments are detected consecutively in step S5, vector change angle contamination judgment is performed.

9. The method for detecting airborne air pollution based on harmonic vector variation according to claim 1, characterized in that: The vector change angle pollution judgment in step S5 is specifically as follows: On the coordinate system, assume that the outlier at the first moment is the origin. The measured value at the i-th outlier moment (1 < i < 5) and the measured value at the first outlier moment form a vector. The measured value at the (i + 1)-th outlier moment and the measured value at the first outlier moment form a vector. The two vectors will form an angle β i,i+1 , and so on; the average value of the vector change angle 10. The method for detecting airborne air pollution based on harmonic vector variation according to claim 1, characterized in that: The sensor module is a carbon dioxide monitoring sensor, a sulfur dioxide monitoring sensor or a nitrogen dioxide monitoring sensor.

Citation Information

Patent Citations

  • Atmospheric pollution data acquisition method for industrial park based on unmanned aerial vehicle

    CN104865353A

  • Unmanned aerial vehicle gas sensing and AIS information vector fused ship tail gas tracking method

    CN112924622A

  • Automatic unmanned aerial vehicle atmospheric pollution monitoring device that cruises

    CN204964476U

  • Apparatus and method for collecting environmental samples

    US20190204189A1