CN115656446B - Air quality detection system and method based on Internet of things - Google Patents
Air quality detection system and method based on Internet of things Download PDFInfo
- Publication number
- CN115656446B CN115656446B CN202211670249.4A CN202211670249A CN115656446B CN 115656446 B CN115656446 B CN 115656446B CN 202211670249 A CN202211670249 A CN 202211670249A CN 115656446 B CN115656446 B CN 115656446B
- Authority
- CN
- China
- Prior art keywords
- air quality
- data
- quality detection
- detection area
- historical
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B30/00—Energy efficient heating, ventilation or air conditioning [HVAC]
- Y02B30/70—Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses an air quality detection system and method based on the Internet of things, and belongs to the technical field of air quality detection. The system comprises an air quality detection area module, a data training module, an air quality change trend module and an early warning module; the output end of the air quality detection area module is connected with the input end of the data training module; the output end of the data training module is connected with the input end of the air quality change trend module; and the output end of the air quality change trend module is connected with the input end of the early warning module. In the invention, the influence degree of different regional environment factors on air quality detection is considered, and when a historical data set is selected for training, the historical data closest to the current regional environment is obtained by multiple screening, so that the air quality control effect is improved.
Description
Technical Field
The invention relates to the technical field of air quality detection, in particular to an air quality detection system and method based on the Internet of things.
Background
The air quality detection means detecting whether the air quality is good or not. The quality of the air reflects the concentration of pollutants in the air. Air pollution is a complex phenomenon, and the concentration of air pollutants at a particular time and place is influenced by many factors. The size of the emission of man-made pollutants from stationary and mobile pollution sources is one of the most important factors affecting the air quality, including the exhaust from vehicles, ships, airplanes, industrial production emissions, residential and heating, waste incineration, etc. The development density of cities, landforms, weather and the like are also important factors influencing the air quality. However, in the current technical means, when the change of the air quality is predicted according to the air quality detection, the historical data in the same area is often adopted to perform the next estimation, but the continuous change of the environment causes the historical data in the same area to be more biased, so that the accuracy of the prediction result is poorer.
Disclosure of Invention
The invention aims to provide an air quality detection system and method based on the Internet of things, so as to solve the problems in the background technology.
In order to solve the technical problems, the invention provides the following technical scheme: an air quality detection method based on the Internet of things comprises the following steps:
s1, constructing an air quality detection area, acquiring environmental data in the air quality detection area, and outputting environmental influence factors of the current air quality detection area;
s2, constructing a historical database, wherein the historical database comprises air quality detection data and air pollution prevention data, constructing a data processing model, and selecting high-priority historical air quality detection data to construct a prediction data model;
s3, setting a time period, acquiring real-time acquired data of a current air quality detection area under the time period, and outputting an air quality change trend curve according to a prediction data model;
and S4, establishing air pollution prevention threshold duration according to historical air pollution prevention data, updating the air pollution prevention threshold duration of the current air quality detection area according to the output air quality change trend curve, and giving an early warning prompt when the time point of reaching the air pollution prevention threshold is judged.
According to the technical scheme, the environmental data in the air quality detection area comprise area environmental landform characteristics, area building characteristics and area personnel density indexes;
the regional environmental landform characteristics comprise macroscopic landforms in an air quality detection region, such as multiple plateaus in basins and hills, are beneficial to agricultural lands, and often cause serious atmospheric pollution due to straw combustion and the like; the regional building features include current industrial facilities in the air quality detection region, and since the region is under constant development and planning, for example, there may not be some heavy industrial plant bases several years ago, the use of previous historical data is obviously excessive; the regional personnel density index comprises the living density of human beings in the region, and a high-density personnel region can cause a large amount of living pollution of personnel, similar to automobile exhaust emission and the like;
the output of the environmental influence factors of the current air quality detection area comprises respectively outputting the regional environmental landform characteristics, the regional building characteristics and the regional personnel density indexes of the current air quality detection area, wherein the regional environmental landform characteristics comprise regional environmental characteristics with natural landform influence, such as volcano, sand storm and the like, and regional environmental characteristics with artificial influence, such as straw burning and the like, and influence coefficients are respectively set(ii) a Setting each corresponding area environment characteristic, recording an array value A, and generating an area environment landform characteristic value of the current air quality detection area:
wherein, the first and the second end of the pipe are connected with each other,representing the regional environment landform characteristic value of the current air quality detection region;respectively representing the quantity of regional environmental features with natural landform influence and the quantity of regional environmental features with artificial influence; taking the quantity value of industrial buildings in the regional buildings according to the regional building characteristics; the regional personnel density index calls a permanent population density index in the region;
and carrying out normalization processing on data output by regional environment landform characteristics, regional building characteristics and regional personnel density indexes of the current air quality detection region.
According to the above technical solution, the constructing a data processing model includes:
randomly selecting a value of N groups of data subjected to normalization processing from a historical database as an initial particle solution, wherein each particle solution has a random position and speed;
Wherein, the first and the second end of the pipe are connected with each other,、、respectively representing the fitness influence coefficients of the regional environmental landform characteristics, the regional building characteristics and the regional personnel density index;、、respectively representing the normalized values of the ith group of data in the selected N groups of data, wherein i is more than or equal to 1 and less than or equal to N;、、respectively representing the normalized values of the data in the current air quality detection area;
selectingThe minimum value is used as the optimal position G of the particle solution, all the particle solutions approach to the optimal position G and are recorded as the first iteration, and the motion equation of the approach is as follows:
wherein the content of the first and second substances,a moving velocity vector corresponding to the solution of random particles representing the ith group of data at the c-th time is set with a velocity maximum valueIf, if>Then get;Representing a position vector corresponding to a random particle solution of the ith group of data at the c time;represents betweenA random number in between;represents the optimal position where the random particle solution of the ith group of data at the c-th time passes, in the first iteration, P = G; g represents the optimal position among the positions traversed by all the particle solutions, in the first iteration, i.e.Minimum value of (d);representing a learning factor;represents an inertia factor, and is a non-negative value;
in the above steps, under the second iteration, P and G will change, where P is the optimal position of the particle solution itself in two times, and G is the minimum value of the fitness of all the particle solutions in two times, and so on, and the iteration is continued;
setting an iteration time threshold, acquiring a particle solution closest to the optimal position G when the iteration time meets the threshold, taking the particle solution as a unique output, selecting corresponding historical data as high-priority historical air quality detection data, sending the residual historical data back to a historical database, and performing random selection training again;
the system sets a quantity value of the historical data group which needs to participate in training, and stops data acquisition when the quantity of the high-priority historical air quality detection data meets the quantity value of the historical data group which participates in training.
According to the technical scheme, the selected high-priority historical air quality detection data are acquired, the corresponding nearest air pollution prevention and control time point in the subsequent time is acquired, the calculation interval time is long, and the calculation interval time is recorded as the following data setWhereinRespectively representing the interval time of n groups of data, wherein n represents the quantity value of the historical data group needing to participate in training;
performing gray accumulation generation processing on the data in the set U to generate a set U 1 :
To set U 1 The middle data is subjected to weighted neighbor value calculation to generate a set U 2 :
Constructing a set U 1 The whitening differential equation of (a) is:
wherein, the first and the second end of the pipe are connected with each other,to develop ash;controlling ash number for endogenesis;representative set U 1 Any one of the data;
constructing a parameter vector to be estimated according to the sets U and U 1 、U 2 The data of (2) is written into a matrix and calculated by utilizing a least square method, wherein the parameter vector to be estimated represents the ratio of the development ash number to the endogenous control ash number;
and (3) constructing a model and outputting:
wherein the content of the first and second substances,representing the final output solution of the prediction data model and taking the final output solution as the distance pollution control of the current air quality detection areaThe predicted time duration of (c).
According to the technical scheme, a time period is set, R time points are selected under the time period, real-time acquisition data of a current air quality detection area under the R time points are obtained, the prediction duration of distance pollution prevention and control of the current air quality detection area under the R time points is output according to a prediction data model, and after the prediction duration is truly processed, a prediction curve is constructed and serves as an air quality change trend curve;
the real processing means adding the generated predicted time length of the distance pollution control to the time length between each time point and the initial time point in the calculation process;
setting a curve slope threshold value, and collecting the number I of points of an air quality change trend curve exceeding the curve slope threshold value;
according to historical air pollution prevention and control data, establishing an air pollution prevention and control threshold duration Y, and according to an output air quality change trend curve, establishing an air pollution prevention and control threshold duration of a current air quality detection area:
wherein the content of the first and second substances,representing the air pollution control threshold duration of the current air quality detection area;represents an influencing factor;
and when the time reaches the air pollution prevention threshold of the current air quality detection area, giving an early warning prompt.
An air quality detection system based on the Internet of things comprises an air quality detection area module, a data training module, an air quality change trend module and an early warning module; the air quality detection area module is used for constructing an air quality detection area, acquiring environmental data in the air quality detection area and outputting environmental influence factors of the current air quality detection area; the data training module is used for constructing a historical database, the historical database comprises air quality detection data and air pollution prevention data, constructing a data processing model, and selecting high-priority historical air quality detection data to construct a prediction data model; the air quality change trend module is used for setting a time period, acquiring real-time acquired data of a current air quality detection area under the time period, and outputting an air quality change trend curve according to the prediction data model; the early warning module is used for constructing air pollution prevention threshold duration according to historical air pollution prevention data, updating the air pollution prevention threshold duration of the current air quality detection area according to an output air quality change trend curve, and giving early warning prompts when judging time points of reaching the air pollution prevention threshold;
and the air quality detection area module utilizes multiple sensors and radars to identify and analyze landforms and buildings, establishes connection between the identified data and the system host, and stores the data received by the system host under a database.
The output end of the air quality detection area module is connected with the input end of the data training module; the output end of the data training module is connected with the input end of the air quality change trend module; and the output end of the air quality change trend module is connected with the input end of the early warning module.
According to the technical scheme, the air quality detection area module comprises an area construction unit and an environment acquisition unit;
the area construction unit is used for constructing an air quality detection area; the environment acquisition unit is used for acquiring environment data in the air quality detection area and outputting environmental influence factors of the current air quality detection area;
and the output end of the area construction unit is connected with the input end of the environment acquisition unit.
According to the technical scheme, the data training module comprises a historical database unit and a data training unit;
the historical database unit is used for constructing a historical database and storing air quality detection data and air pollution prevention and control data; the data training unit is used for constructing a data processing model, and selecting high-priority historical air quality detection data to construct a prediction data model;
and the output end of the historical database unit is connected with the input end of the data training unit.
According to the technical scheme, the air quality change trend module comprises a time point analysis unit and a curve analysis unit;
the time point analysis unit is used for setting a time period, dividing the time period into R time points and acquiring real-time acquisition data of the current air quality detection area in the R time points under the time period; the curve analysis unit is used for constructing an air quality change trend curve according to data output by the prediction data model; wherein R is a system setting constant;
and the output end of the time point analysis unit is connected with the input end of the curve analysis unit.
The early warning module comprises a threshold updating unit and an early warning unit;
the threshold updating unit is used for constructing air pollution prevention threshold duration according to historical air pollution prevention and treatment data, and updating the air pollution prevention and treatment threshold duration of the current air quality detection area according to the output air quality change trend curve; and the early warning unit gives an early warning prompt when judging that the time point of the air pollution prevention threshold is reached.
Compared with the prior art, the invention has the following beneficial effects:
in the invention, the influence degree of different regional environment factors on air quality detection is considered, and when a historical data set is selected for training, the historical data closest to the current regional environment is obtained by multiple screening, so that the air quality control effect is improved. Meanwhile, corresponding curve slope discrimination points are added in the direction of the air prevention threshold, and when the curve has a large number of points with large change, uncertainty of the change of the ambient air quality in the current area can be obtained, so that further updating and judgment of the threshold can be realized, and air quality prevention is enhanced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic flow diagram of an air quality detection system and method based on the internet of things.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, in the first embodiment: provides an air quality detection method based on the Internet of things,
constructing an air quality detection area according to system requirements, acquiring environmental data in the air quality detection area, and outputting environmental influence factors of the current air quality detection area;
the environmental data in the air quality detection area comprise area environmental landform characteristics, area building characteristics and area personnel density indexes;
the output of the environmental influence factors of the current air quality detection area comprises respectively outputting the regional environmental landform characteristics, the regional building characteristics and the regional personnel density indexes of the current air quality detection area, wherein the regional environmental landform characteristics comprise regional environmental characteristics with natural landform influence, such as volcano, sand storm and the like, and regional environmental characteristics with artificial influence, such as straw burning and the like, and influence coefficients are respectively set(ii) a Setting each corresponding area environment characteristic, recording an array value A, and generating an area environment landform characteristic value of the current air quality detection area:
wherein the content of the first and second substances,representing the regional environment landform characteristic value of the current air quality detection region;respectively representing the quantity of regional environmental features with natural landform influence and the quantity of regional environmental features with artificial influence; for example, if volcano and sand exist in a certain area, it is recorded=2;
Taking the quantity value of industrial buildings in the regional buildings according to the regional building characteristics; the regional personnel density index calls a regional permanent population density index;
and carrying out normalization processing on data output by regional environment landform characteristics, regional building characteristics and regional personnel density indexes of the current air quality detection region.
Establishing a historical database, wherein the historical database comprises air quality detection data and air pollution prevention and control data, establishing a data processing model, and selecting high-priority historical air quality detection data to establish a prediction data model;
the constructing of the data processing model comprises:
randomly selecting a value of N groups of data subjected to normalization processing from a historical database as an initial particle solution, wherein each particle solution has a random position and speed;
Wherein the content of the first and second substances,、、respectively representing the fitness influence coefficients of the regional environmental landform characteristics, the regional building characteristics and the regional personnel density index;、、respectively representing the normalized values of the ith group of data in the selected N groups of data, wherein i is more than or equal to 1 and less than or equal to N;、、respectively representing the normalized values of the data in the current air quality detection area;
selectingThe minimum value is used as the optimal position G of the particle solution, and all the particle solutions approach to the optimal position GThe equation of motion of the approach, noted as the first iteration:
wherein, the first and the second end of the pipe are connected with each other,representing the moving velocity vector corresponding to the random particle solution of the ith group of data at the c time, and setting a velocity maximum valueIf, if>Then get;Representing a position vector corresponding to a random particle solution of the ith group of data at the c time;represents betweenA random number in between;represents the optimal position where the random particle solution of the ith group of data at the c-th time passes, in the first iteration, P = G; g represents the best of all the positions through which the particle solution passesPosition, in the first iteration, i.e.Minimum value of (d);、represents a learning factor;represents an inertia factor, and is a non-negative value;
in the above steps, under the second iteration, P and G will change, P takes the optimal position of the particle solution itself in two times, and G takes the minimum fitness value of all the particle solutions in two times, so on, and iteration is continued;
setting an iteration time threshold, acquiring a particle solution closest to the optimal position G when the iteration time meets the threshold, taking the particle solution as a unique output, selecting corresponding historical data as high-priority historical air quality detection data, sending the residual historical data back to a historical database, and performing random selection training again;
the system sets a quantity value of the historical data group which needs to participate in training, and stops data acquisition when the quantity of the high-priority historical air quality detection data meets the quantity value of the historical data group which participates in training.
Acquiring selected high-priority historical air quality detection data, acquiring corresponding nearest air pollution control time points at the subsequent time, calculating the time interval, and recording as a data setWhereinRespectively representing the interval time of n groups of data, wherein n represents the quantity value of the historical data group needing to participate in training;
performing gray accumulation generation processing on the data in the set U to generate a set U 1 :
The gray accumulation generation includes:
wherein the content of the first and second substances,representative set U 1 The b-th data of (1);represents a serial number;
To set U 1 Performing weighted neighbor calculation on the middle data to generate a set U 2 :
The weighted neighbor computation includes:
wherein the content of the first and second substances,representative set U 2 To (1)A piece of data;representsThe weight ratio;;representative set U 1 To middleA piece of data;
for example, in the case of a liquid,representing the weight proportion, and taking 0.5; then the above-mentioned U 1 After treatment, the method comprises the following steps:
constructing a set U 1 The whitening differential equation of (a) is:
wherein the content of the first and second substances,to develop ash;controlling ash number for endogenesis;representative set U 1 Any one of the data;
constructing a parameter vector to be estimated according to the sets U and U 1 、U 2 The data of (2) is written into a matrix and calculated by using a least square method, wherein the parameters to be estimated are obtainedThe number vector represents the ratio of the number of developed ashes to the number of endogenous control ashes;
and (3) constructing model output:
wherein the content of the first and second substances,and representing the final output solution of the prediction data model, and taking the final output solution as the prediction duration of the distance pollution control of the current air quality detection area.
Setting a time period, selecting R time points under the time period, acquiring real-time acquisition data of a current air quality detection area under the R time points, outputting predicted time length of distance pollution prevention of the current air quality detection area under the R time points according to a predicted data model, and constructing a predicted curve after the predicted time length is really processed to be used as an air quality change trend curve;
the real processing means adding the generated predicted time length of the distance pollution control to the time length between each time point and the initial time point in the calculation process;
setting a curve slope threshold value, and collecting the number I of points of an air quality change trend curve exceeding the curve slope threshold value;
according to historical air pollution prevention and control data, establishing air pollution prevention and control threshold duration Y (duration generally takes about 30 days with the prevention time as the standard), and according to an output air quality change trend curve, establishing the air pollution prevention and control threshold duration of a current air quality detection area:
wherein the content of the first and second substances,representing the air pollution control threshold duration of the current air quality detection area;represents an influencing factor;
and when the time reaches the air pollution prevention threshold of the current air quality detection area, giving an early warning prompt.
In the second embodiment, an air quality detection system based on the internet of things is provided, and the system comprises an air quality detection area module, a data training module, an air quality change trend module and an early warning module; the air quality detection area module is used for constructing an air quality detection area, acquiring environmental data in the air quality detection area and outputting environmental influence factors of the current air quality detection area; the data training module is used for constructing a historical database, the historical database comprises air quality detection data and air pollution prevention and control data, constructing a data processing model, and selecting high-priority historical air quality detection data to construct a prediction data model; the air quality change trend module is used for setting a time period, acquiring real-time acquired data of a current air quality detection area under the time period, and outputting an air quality change trend curve according to a prediction data model; the early warning module is used for constructing air pollution prevention threshold duration according to historical air pollution prevention data, updating the air pollution prevention threshold duration of the current air quality detection area according to an output air quality change trend curve, and giving early warning prompts when judging time points of reaching the air pollution prevention threshold;
the output end of the air quality detection area module is connected with the input end of the data training module; the output end of the data training module is connected with the input end of the air quality variation trend module; the output end of the air quality change trend module is connected with the input end of the early warning module.
The air quality detection area module comprises an area construction unit and an environment acquisition unit;
the area construction unit is used for constructing an air quality detection area; the environment acquisition unit is used for acquiring environment data in the air quality detection area and outputting environmental influence factors of the current air quality detection area;
and the output end of the area construction unit is connected with the input end of the environment acquisition unit.
The data training module comprises a historical database unit and a data training unit;
the historical database unit is used for constructing a historical database and storing air quality detection data and air pollution prevention and control data; the data training unit is used for constructing a data processing model, and selecting high-priority historical air quality detection data to construct a prediction data model;
and the output end of the historical database unit is connected with the input end of the data training unit.
The air quality change trend module comprises a time point analysis unit and a curve analysis unit;
the time point analysis unit is used for setting a time period, dividing the time period into R time points and acquiring real-time acquisition data of the current air quality detection area in the R time points under the time period; the curve analysis unit is used for constructing an air quality change trend curve according to data output by the prediction data model; wherein, R is a system setting constant;
the output end of the time point analysis unit is connected with the input end of the curve analysis unit.
The early warning module comprises a threshold updating unit and an early warning unit;
the threshold updating unit is used for constructing air pollution prevention threshold duration according to historical air pollution prevention data and updating the air pollution prevention threshold duration of the current air quality detection area according to the output air quality change trend curve; and the early warning unit gives early warning prompt when judging that the time point of the air pollution prevention threshold is reached.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (7)
1. An air quality detection method based on the Internet of things is characterized in that: the method comprises the following steps:
s1, constructing an air quality detection area, acquiring environmental data in the air quality detection area, and outputting environmental influence factors of the current air quality detection area;
s2, constructing a historical database, wherein the historical database comprises air quality detection data and air pollution prevention and control data, constructing a data processing model, and selecting high-priority historical air quality detection data to construct a prediction data model;
s3, setting a time period, acquiring real-time acquired data of a current air quality detection area under the time period, and outputting an air quality change trend curve according to a prediction data model;
s4, establishing air pollution prevention threshold duration according to historical air pollution prevention data, updating the air pollution prevention threshold duration of the current air quality detection area according to an output air quality change trend curve, and giving an early warning prompt when a time point of reaching the air pollution prevention threshold is judged;
the environmental data in the air quality detection area comprise area environment landform characteristics, area building characteristics and area personnel density indexes;
outputting the environmental influence factors of the current air quality detection area comprises respectively outputting the regional environmental landform characteristics, the regional building characteristics and the regional personnel density index of the current air quality detection area, wherein the regional environmental landform characteristics comprise the regional environmental characteristics influenced by natural landforms and the regional environmental characteristics influenced by human beings, and influence coefficients are respectively set(ii) a Setting each corresponding regional environment characteristic, recording a numerical group value A, and generating a regional environment landform characteristic value of the current air quality detection region:
wherein the content of the first and second substances,representing the regional environment landform characteristic value of the current air quality detection region;respectively representing the quantity of regional environmental features with natural landform influence and the quantity of regional environmental features with artificial influence;
taking the quantity value of industrial buildings in the regional buildings according to the regional building characteristics; the regional personnel density index calls a permanent population density index in the region;
normalizing the data output by the regional environmental landform characteristics, the regional building characteristics and the regional personnel density index of the current air quality detection region;
the constructing of the data processing model comprises:
randomly selecting a value of N groups of data subjected to normalization processing from a historical database as an initial particle solution, wherein each particle solution has a random position and speed;
Wherein the content of the first and second substances,、、respectively representing the fitness influence coefficients of the regional environmental landform characteristics, the regional building characteristics and the regional personnel density index;、、respectively representing the normalized values of the ith group of data in the selected N groups of data, wherein i is more than or equal to 1 and less than or equal to N;、、respectively representing the normalized values of the data in the current air quality detection area;
selectingThe minimum value is used as the optimal position G of the particle solution, all the particle solutions approach to the optimal position G and are recorded as the first iteration, and the motion equation of the approach is as follows:
wherein the content of the first and second substances,setting a moving speed vector corresponding to the random particle solution of the ith group of data at the c-th time, and if the moving speed vector is the maximum value of the speed>Then get;Representing a position vector corresponding to a random particle solution of the ith group of data at the c time;represents betweenA random number in between;representing data of group i at time cThe optimal position through which the machine particle solution passes, in the first iteration, P = G; g represents the optimal position among the positions traversed by all the particle solutions, in the first iteration, i.e.The minimum value of (d);、represents a learning factor;represents an inertia factor, and is a non-negative value;
setting an iteration time threshold, acquiring a particle solution closest to the optimal position G when the iteration time meets the threshold, taking the particle solution as a unique output, selecting corresponding historical data as high-priority historical air quality detection data, sending the residual historical data back to a historical database, and performing random selection training again;
the system sets a quantity value of a historical data set which needs to participate in training, and stops data acquisition when the quantity of the high-priority historical air quality detection data meets the quantity value of the historical data set which participates in training;
acquiring selected high-priority historical air quality detection data, acquiring corresponding nearest air pollution control time points at the subsequent time, calculating the time interval, and recording as a data setIn whichRespectively representing the interval time of n groups of data, wherein n represents the quantity value of the historical data group needing to participate in training;
performing gray accumulation generation processing on the data in the set U to generate a set U 1 :
To set U 1 The middle data is subjected to weighted neighbor value calculation to generate a set U 2 :
Constructing a set U 1 The whitening differential equation of (a) is:
wherein the content of the first and second substances,to develop ash;controlling ash number for endogenesis;representative set U 1 Any one of the data;
constructing a parameter vector to be estimated according to the sets U and U 1 、U 2 The data of (2) is written into a matrix and calculated by utilizing a least square method, wherein the parameter vector to be estimated represents the ratio of the development ash number to the endogenous control ash number;
and (3) constructing a model and outputting:
2. The air quality detection method based on the Internet of things according to claim 1, characterized in that: setting a time period, selecting R time points under the time period, acquiring real-time acquisition data of a current air quality detection area under the R time points, outputting predicted time length of distance pollution prevention of the current air quality detection area under the R time points according to a predicted data model, and constructing a predicted curve after the predicted time length is really processed to be used as an air quality change trend curve;
the real processing means adding the generated prediction time length of the distance pollution control to the time length between each time point and the initial time point in the calculation process;
setting a curve slope threshold value, and collecting the number I of points of an air quality change trend curve exceeding the curve slope threshold value;
according to historical air pollution prevention and control data, establishing an air pollution prevention and control threshold duration Y, and according to an output air quality change trend curve, establishing an air pollution prevention and control threshold duration of a current air quality detection area:
wherein, the first and the second end of the pipe are connected with each other,representing the air pollution control threshold duration of the current air quality detection area;represents an influencing factor;
and when the time reaches the air pollution prevention threshold value of the current air quality detection area, giving an early warning prompt.
3. An air quality detection system based on the internet of things, applying the air quality detection method based on the internet of things of claim 1, wherein: the system comprises an air quality detection area module, a data training module, an air quality change trend module and an early warning module; the air quality detection area module is used for constructing an air quality detection area, acquiring environmental data in the air quality detection area and outputting environmental influence factors of the current air quality detection area; the data training module is used for constructing a historical database, the historical database comprises air quality detection data and air pollution prevention data, constructing a data processing model, and selecting high-priority historical air quality detection data to construct a prediction data model; the air quality change trend module is used for setting a time period, acquiring real-time acquired data of a current air quality detection area under the time period, and outputting an air quality change trend curve according to a prediction data model; the early warning module is used for constructing air pollution prevention threshold duration according to historical air pollution prevention data, updating the air pollution prevention threshold duration of the current air quality detection area according to an output air quality change trend curve, and giving early warning prompts when judging time points of reaching the air pollution prevention threshold;
the output end of the air quality detection area module is connected with the input end of the data training module; the output end of the data training module is connected with the input end of the air quality change trend module; and the output end of the air quality change trend module is connected with the input end of the early warning module.
4. The air quality detection system based on the Internet of things as claimed in claim 3, wherein: the air quality detection area module comprises an area construction unit and an environment acquisition unit;
the area construction unit is used for constructing an air quality detection area; the environment acquisition unit is used for acquiring environment data in the air quality detection area and outputting environmental influence factors of the current air quality detection area;
and the output end of the area construction unit is connected with the input end of the environment acquisition unit.
5. The air quality detection system based on the Internet of things as claimed in claim 3, wherein: the data training module comprises a historical database unit and a data training unit;
the historical database unit is used for constructing a historical database and storing air quality detection data and air pollution prevention and control data; the data training unit is used for constructing a data processing model, and selecting high-priority historical air quality detection data to construct a prediction data model;
and the output end of the historical database unit is connected with the input end of the data training unit.
6. The air quality detection system based on the Internet of things as claimed in claim 3, wherein: the air quality change trend module comprises a time point analysis unit and a curve analysis unit;
the time point analysis unit is used for setting a time period, dividing the time period into R time points and acquiring real-time acquisition data of the current air quality detection area in the R time points under the time period; the curve analysis unit is used for constructing an air quality change trend curve according to data output by the prediction data model; wherein, R is a system setting constant;
the output end of the time point analysis unit is connected with the input end of the curve analysis unit.
7. The air quality detection system based on the Internet of things as claimed in claim 3, wherein: the early warning module comprises a threshold updating unit and an early warning unit;
the threshold updating unit is used for constructing air pollution prevention threshold duration according to historical air pollution prevention and treatment data, and updating the air pollution prevention and treatment threshold duration of the current air quality detection area according to the output air quality change trend curve; and the early warning unit gives an early warning prompt when judging that the time point of the air pollution prevention threshold is reached.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211670249.4A CN115656446B (en) | 2022-12-26 | 2022-12-26 | Air quality detection system and method based on Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211670249.4A CN115656446B (en) | 2022-12-26 | 2022-12-26 | Air quality detection system and method based on Internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115656446A CN115656446A (en) | 2023-01-31 |
CN115656446B true CN115656446B (en) | 2023-03-14 |
Family
ID=85022151
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211670249.4A Active CN115656446B (en) | 2022-12-26 | 2022-12-26 | Air quality detection system and method based on Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115656446B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117129638B (en) * | 2023-10-26 | 2024-01-12 | 江西怡杉环保股份有限公司 | Regional air environment quality monitoring method and system |
CN117706045B (en) * | 2024-02-06 | 2024-05-10 | 四川省德阳生态环境监测中心站 | Combined control method and system for realizing atmospheric ozone monitoring equipment based on Internet of things |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107330514B (en) * | 2017-07-10 | 2020-07-31 | 北京工业大学 | Air quality prediction method based on integrated extreme learning machine |
CN108537383A (en) * | 2018-04-09 | 2018-09-14 | 山东建筑大学 | A kind of room air prediction technique based on Model Fusion |
CN109146121A (en) * | 2018-06-25 | 2019-01-04 | 华北电力大学 | The power predicating method stopped in the case of limited production based on PSO-BP model |
CN110363347B (en) * | 2019-07-12 | 2022-04-15 | 江苏天长环保科技有限公司 | Method for predicting air quality based on neural network of decision tree index |
CN110598953A (en) * | 2019-09-23 | 2019-12-20 | 哈尔滨工程大学 | Space-time correlation air quality prediction method |
CN110675006A (en) * | 2019-11-07 | 2020-01-10 | 桂林理工大学 | Indoor air quality real-time monitoring and formaldehyde attenuation prediction system |
CN112734129B (en) * | 2021-01-21 | 2021-09-07 | 中国科学院地理科学与资源研究所 | Air pollution space-time trend prediction method based on unsupervised restrictive optimization |
CN112818608A (en) * | 2021-02-22 | 2021-05-18 | 南方电网调峰调频发电有限公司 | Medium-and-long-term runoff forecasting method based on improved particle swarm optimization algorithm and support vector machine |
CN113011660A (en) * | 2021-03-23 | 2021-06-22 | 上海应用技术大学 | Air quality prediction method, system and storage medium |
CN113537515A (en) * | 2021-07-27 | 2021-10-22 | 江苏蓝创智能科技股份有限公司 | PM2.5 prediction method, system, device and storage medium |
CN114676822B (en) * | 2022-03-25 | 2024-04-23 | 东南大学 | Multi-attribute fusion air quality forecasting method based on deep learning |
CN114781538A (en) * | 2022-05-07 | 2022-07-22 | 东莞理工学院 | Air quality prediction method and system of GA-BP neural network coupling decision tree |
CN114841461B (en) * | 2022-05-19 | 2024-06-14 | 重庆邮电大学 | Air quality integrated prediction method based on time sequence missing perception and multi-source factor fusion |
CN115542429A (en) * | 2022-09-20 | 2022-12-30 | 生态环境部环境工程评估中心 | XGboost-based ozone quality prediction method and system |
-
2022
- 2022-12-26 CN CN202211670249.4A patent/CN115656446B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN115656446A (en) | 2023-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115656446B (en) | Air quality detection system and method based on Internet of things | |
CN108426812B (en) | PM2.5 concentration value prediction method based on memory neural network | |
CN108268935B (en) | PM2.5 concentration value prediction method and system based on time sequence recurrent neural network | |
Brunelli et al. | Two-days ahead prediction of daily maximum concentrations of SO2, O3, PM10, NO2, CO in the urban area of Palermo, Italy | |
CN110363347B (en) | Method for predicting air quality based on neural network of decision tree index | |
CN108064047B (en) | Water quality sensor network optimization deployment method based on particle swarm | |
CN110727717B (en) | Monitoring method, device, equipment and storage medium for gridding atmospheric pollution intensity | |
CN112085163A (en) | Air quality prediction method based on attention enhancement graph convolutional neural network AGC and gated cyclic unit GRU | |
Perez et al. | Forecasting of hourly PM2. 5 in south-west zone in Santiago de Chile | |
CN113011455B (en) | Air quality prediction SVM model construction method | |
Dursun et al. | Modelling sulphur dioxide levels of Konya city using artificial intelligent related to ozone, nitrogen dioxide and meteorological factors | |
CN112782050A (en) | Bioaerosol concentration prediction method based on long-short term memory neural network | |
Al_Janabi et al. | Pragmatic method based on intelligent big data analytics to prediction air pollution | |
CN116187822A (en) | Model prediction-based pollutant meshing monitoring and evaluating method | |
Brunelli et al. | Three hours ahead prevision of SO2 pollutant concentration using an Elman neural based forecaster | |
Czech et al. | Air pollution as a result of the development of motorization | |
CN115757534A (en) | Air quality prediction method of deep learning model based on potential source contribution analysis | |
CN114942480A (en) | Ocean station wind speed forecasting method based on information perception attention dynamic cooperative network | |
CN115293579A (en) | Inversion evaluation method and device capable of obtaining odor pollution treatment target | |
Gavrila | Ozone concentration prediction using artificial neural networks | |
Perez et al. | Carbon monoxide concentration forecasting in Santiago, Chile | |
CN109670646B (en) | PM2.5 concentration value prediction method based on mixed threshold neural network | |
Yadav et al. | Prediction of air quality using artificial neural network techniques: a review | |
Botteldooren et al. | An iterative fuzzy model for cognitive processes involved in environment quality judgement | |
Kunt et al. | Used some modelling applications in air pollution estimates |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |