CN114383295A - Ventilation control method based on indoor pollution concentration estimation model - Google Patents
Ventilation control method based on indoor pollution concentration estimation model Download PDFInfo
- Publication number
- CN114383295A CN114383295A CN202111535815.6A CN202111535815A CN114383295A CN 114383295 A CN114383295 A CN 114383295A CN 202111535815 A CN202111535815 A CN 202111535815A CN 114383295 A CN114383295 A CN 114383295A
- Authority
- CN
- China
- Prior art keywords
- indoor
- gate
- value
- network
- estimation model
- 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.)
- Granted
Links
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/0001—Control or safety arrangements for ventilation
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
- F24F11/64—Electronic processing using pre-stored data
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/70—Control systems characterised by their outputs; Constructional details thereof
- F24F11/72—Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure
- F24F11/74—Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure for controlling air flow rate or air velocity
- F24F11/77—Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure for controlling air flow rate or air velocity by controlling the speed of ventilators
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/70—Control systems characterised by their outputs; Constructional details thereof
- F24F11/72—Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure
- F24F11/79—Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure for controlling the direction of the supplied air
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/04—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
- G05B13/042—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
- F24F2110/30—Velocity
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
- F24F2110/50—Air quality properties
- F24F2110/64—Airborne particle content
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
- F24F2110/50—Air quality properties
- F24F2110/65—Concentration of specific substances or contaminants
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
- F24F2110/50—Air quality properties
- F24F2110/65—Concentration of specific substances or contaminants
- F24F2110/70—Carbon dioxide
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2130/00—Control inputs relating to environmental factors not covered by group F24F2110/00
- F24F2130/10—Weather information or forecasts
-
- 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
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Fuzzy Systems (AREA)
- Fluid Mechanics (AREA)
- Mathematical Physics (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Ventilation (AREA)
Abstract
The invention relates to a ventilation control method based on an indoor pollution concentration estimation model. The method comprises the following steps: in the step 1, the method comprises the following steps of,building an indoor air detection system; step 2, collecting PM2.5 and CO collected in the step 12Carrying out normalization processing on the smoke signal data; step 3, establishing an indoor pollution concentration estimation model; step 4, establishing an indoor ventilation control algorithm model; step 5, embedding the designed indoor pollution concentration estimation model and the designed indoor ventilation control algorithm model into an air detection data processing module to complete control of indoor ventilation; and 6, detecting the outdoor wind speed and the raindrop value in real time by the indoor air detection data processing module, and closing the ventilation device by the controller when the outdoor wind speed and the raindrop value exceed a limited threshold value. The invention builds indoor PM2.5 and CO2On the basis of a dynamic estimation model of concentration and smoke signals, PM2.5 and CO are dynamically estimated according to the reward value and the dynamic estimation of the ventilation control quantity2The control of the window opening and the fan is finished by the concentration and smoke signals, and compared with the traditional mechanical ventilation system, the energy consumption can be saved, and the service life of equipment can be prolonged.
Description
Technical Field
The invention relates to the field of indoor pollution, in particular to a ventilation control method based on an indoor pollution concentration estimation model.
Background
With the development of modern science and technology and the improvement of the living quality requirements of people, the functions of modern buildings are more and more perfect, and more human activities can be transferred from outdoor to indoor. Research shows that modern people spend most of their time in a building room, so the quality of indoor air has a very important influence on human health and comfort. In recent years, the problem of indoor air pollution in various regions around the world is frequent, and the problem of indoor air quality is more and more emphasized by people.
Indoor air pollutants are mainly divided into two main categories, solid and gas. The solid pollutants mainly comprise suspended particles, dust, pollen of partial plants, cells of microorganisms, partial smoke and the like; the gas pollutants mainly comprise Volatile Organic Compounds (VOCs), ozone (O3), nitrogen oxides (NOx), sulfur dioxide (SO2), radon gas and the like. The human body exposed to these indoor air pollutants for a long time may suffer from serious respiratory diseases, cardiovascular diseases, skin diseases, cancers, etc., and even death. The invention provides a ventilation control method based on an indoor pollution concentration estimation model, which comprises the steps of establishing an indoor PM2.5, CO2 and smoke concentration dynamic estimation model, and controlling ventilation equipment according to the dynamic estimation model.
Disclosure of Invention
In order to solve the existing problems, the invention collects PM2.5 and CO in a room2Based on smoke concentration data and outdoor raindrop and wind speed data, a ventilation control method based on an indoor pollution concentration estimation model is provided, and indoor PM2.5 and CO are established2On the basis of a dynamic estimation model of concentration and smoke signals, PM2.5 and CO are dynamically estimated according to the reward value and the dynamic estimation of the ventilation control quantity2The control of the window opening and the fan is finished by the concentration and smoke signals, and the method comprises the following specific steps:
step 1, building an indoor air detection system: the indoor air detection system comprises a PM2.5 detection sensor and CO2The system comprises a detection sensor, a smoke detection sensor, a wind speed detection sensor, a raindrop sensor, a signal conditioning circuit module, a power supply circuit module and an NI acquisition card;
step 2, collecting PM2.5 and CO collected in the step 12Normalizing the smoke signal data to obtain PM2.5 and CO2Normalizing the smoke signal data to be in a range of 0 to 1 so as to reduce dimensional influence among the data;
step 3, establishing an indoor pollution concentration estimation model: normalizing the PM2.5 and CO obtained in the step 22The smoke data and the output value of the controller to the actuating mechanism are used as input, and the indoor PM2.5 and CO at the next moment are used as input2Taking the smoke data as output to establish an indoor pollution concentration estimation model;
step 4, establishing an indoor ventilation control algorithm model: calculating the PM2.5 and CO in the room at the next moment by using the wind speed, the ventilation action and the indoor pollution concentration estimation model2Smoke data and current indoor PM2.5, CO2Training a deep certainty strategy gradient network by using smoke data as input, and outputting a ventilation value by using the deep certainty strategy gradient network;
step 5, embedding the designed indoor pollution concentration estimation model and the designed indoor ventilation control algorithm model into an air detection data processing module to complete control of indoor ventilation;
and 6, detecting the outdoor wind speed and the raindrop value in real time by the indoor air detection data processing module, and closing the ventilation device by the controller when the outdoor wind speed and the raindrop value exceed a limited threshold value.
Further, the process of building an indoor air detection system in step 1 can be represented as follows:
PM2.5 detection sensor and CO are respectively detected through a power supply circuit2The detection sensor, the smoke detection sensor, the wind speed detection sensor and the raindrop sensor are powered, and meanwhile, the sensors are installed at proper positions to detect PM2.5 and CO2The smoke, wind speed and raindrop signals are converted by the conditioning circuit and then are uniformly connected into the NI acquisition card, and the NI acquisition card transmits the signals into an indoor air detection data processing module of the upper computer through the PCIE interface.
Further, the process of establishing the indoor pollution concentration estimation model in step 3 can be expressed as follows:
step 3.1: the indoor pollution concentration estimation model consists of an input door, a forgetting door, a cell state and an output door; firstly, the input gate selectively memorizes the input, and the forgetting gate selectively forgets the input transmitted by the cell state; secondly, the outputs of the input gate and the forgetting gate are superposed to the next cell state; finally, the output gate scales the output of the cell state to output a predicted value at the next moment;
step 3.2: an input door of an indoor pollution concentration estimation model is constructed, and PM2.5 and CO are filtered2Smoke data and controller pair actuatorOutputting invalid information of the value, inputting valid information to the cell state, and outputting
Entry is expressed as follows:
it=g(Wxixt+Whiht-1+Wcict-1+bi+Wnint (1)
in the formula, xtIs normalized PM2.5, CO2Smoke data and data of the output value of the controller to the actuator, g () being the activation function, WxiIs an input gate and xtWeight coefficient between, ht-1Is a hidden state at t-1, WhiIs the weight coefficient between the input gate and the hidden state, ct-1Is the cell state at t-1, WciIs the weight coefficient between the input gated sample and the cell state, biIs an offset term of the input gate, itFor input of the gate sample, ntNoise interference at t, WniThe weight coefficient between the input gate and the noise interference is used, and the robustness of the model is improved by adding the noise interference;
step 3.3: a forgetting gate of an indoor pollution concentration estimation model is constructed to delete part of invalid information in a cell state, and the forgetting gate is expressed as follows:
ft=g(Wxf xt+Whf ht-1+Wcf ct-1+bf) (2)
in the formula (f)tTo forget the gate output, WxfIs forgetting gate and xtInter weight coefficient, WhfIs the weight coefficient between the forgetting gate and the hidden state, WcfTo forget the gated sample and the cell status ct-1Inter weight coefficient, bfIs forgetting
A biasing term for the gate;
step 3.3: constructing a model cell state:
ct=ftct-1+it tanh(Wxcxt+Whcht-1+bc) (3)
in the formula, WxcIs a cellular stateAnd xtWeight coefficient between, WhcIs a cell state and a hidden state ht-1Inter weight coefficient, bcA bias term for a cellular state;
step 3.4: constructing a model output door and outputting indoor PM2.5 and CO at the next moment2Smoke data:
st=g(Wxs xt+Whsht-1+Wcsct+bs) (4)
in the formula, stIs the PM2.5 and CO output by the output gate at the next moment2Smoke normalization data, WxsIs an output gate and xtInter weight coefficient, WhsIs a sample of the output gate and ht-1Weight coefficient between, WcsIs a sample of the output gate and ctWeight coefficient of bsBeing offset terms of output gates
Step 3.5: hidden state h to t moment through output gatetUpdating:
ht=st tanh(ct) (5)
and 3.6, repeating the step 3.2 to the step 3.5, and updating the weight and the bias parameters in the model by using the SGD algorithm until the loss function reaches a convergence threshold value which is set to be 1 e-4.
Further, the process of establishing the indoor ventilation control algorithm model in step 4 can be represented as follows:
step 4.1, the indoor ventilation control algorithm model comprises a strategy network and a value network, wherein the value network target is to select an optimal action value, the value network updates network parameters by taking minimization of a loss function as a target, and the strategy network target is to select a current action according to a current state and generate a next moment action according to an environment state;
step 4.2, the strategy network and the value network respectively comprise a real network and a target network, the strategy network and the value network are respectively initialized, and the parameters of the strategy network and the value network are randomly initialized: thetaQ、θμAnd order:
θQ′=θQ (6)
θμ′=θμ (7)
in the formula, thetaQRepresenting a realistic value network parameter, θQ′Representing a target value network parameter, thetaμRepresenting a realistic policy network parameter, θμ′Representing target policy network parameters
Step 4.3, selecting the actuator action a under the current statet:
at=μ(st|θμ)+Nt (8)
In the formula, NtIs random noise, and the function mu () is an optimal behavior strategy;
step 4.4, by performing action atReceive a reward rt+1And state s estimated by indoor pollution concentration estimation modelt+1Saving the current state stAnd action atPrize rt+1And state st+1And putting the mixture into an experience pool; ,
step 4.5, when the experience pool data reaches the training condition, randomly selecting N samples from the experience pool(s)t,at,rt+1,st+1)};
Step 4.6, utilizing the samples in the experience pool to pair the parameters theta of the strategy network and the value networkQ、θμUpdating, and calculating a target action value y through the value network:
y=rt+1+γQ(st+1,at+1/θQ′) (9)
gamma is a discount factor, at+1Is the action at time t + 1;
step 4.7, the target network is updated once at intervals:
θQ′=τθQ+(1-τ)θQ′ (10)
θμ′=τθμ+(1-τ)θμ′ (11)
in the formula, tau is a learning rate;
step 4.8, returning to the step 4.3 to carry out loop iteration, and knowing the maximum number of rounds;
step 4.9, outputting the ventilation control quantity a according to the trained indoor ventilation control algorithm modelt。
The ventilation control method based on the indoor pollution concentration estimation model has the advantages that:
according to the invention, on the basis of establishing a dynamic estimation model of the concentrations of PM2.5 and CO2 and smoke signals in a room, the control of the window opening and the fan is completed according to the reward value of the ventilation control quantity and the dynamic estimation of the concentrations of PM2.5 and CO2 and the smoke signals, and compared with the traditional mechanical ventilation system, the energy consumption can be saved, and the service life of equipment can be prolonged;
according to the invention, the outdoor wind speed and the raindrop value are detected in real time, and when the outdoor wind speed and the raindrop value exceed the limited threshold value, the controller closes the ventilation device, so that the safe operation of the ventilation system is ensured;
in order to increase the self-adaption and anti-interference capability of a ventilation system, the invention designs a new ventilation control method based on an indoor concentration estimation model, controls a system actuator by utilizing the on-line weight learning capability, and can automatically control the uncertainty and the interference of the ventilation system;
the invention provides an important technical means for an indoor pollution ventilation control method.
Drawings
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a model diagram of an indoor ventilation control algorithm of the present invention.
Detailed Description
The invention provides a ventilation control method based on an indoor pollution concentration estimation model, aims to improve the indoor air quality and the running stability and the service life of ventilation control equipment, and provides a principle and a prediction framework based on an indoor pollution concentration estimation algorithm and a ventilation control algorithm. FIG. 1 is a flow chart of the present invention, which is further described below in conjunction with the accompanying drawings and detailed description:
step 1, building an indoor air detection system: indoor air detection system is detected by PM2.5Sensor, CO2The system comprises a detection sensor, a smoke detection sensor, a wind speed detection sensor, a raindrop sensor, a signal conditioning circuit module, a power supply circuit module and an NI acquisition card;
PM2.5 detection sensor and CO are respectively detected through a power supply circuit2The detection sensor, the smoke detection sensor, the wind speed detection sensor and the raindrop sensor are powered, and meanwhile, the sensors are installed at proper positions to detect PM2.5 and CO2The smoke, wind speed and raindrop signals are converted by the conditioning circuit and then are uniformly connected into the NI acquisition card, and the NI acquisition card transmits the signals into an indoor air detection data processing module of the upper computer through the PCIE interface.
Step 2, collecting PM2.5 and CO collected in the step 12Normalizing the smoke signal data to obtain PM2.5 and CO2Normalizing the smoke signal data to be in a range of 0 to 1 so as to reduce dimensional influence among the data;
step 3, establishing an indoor pollution concentration estimation model: normalizing the PM2.5 and CO obtained in the step 22The smoke data and the output value of the controller to the actuating mechanism are used as input, and the indoor PM2.5 and CO at the next moment are used as input2Taking the smoke data as output to establish an indoor pollution concentration estimation model;
step 3.1: the indoor pollution concentration estimation model consists of an input door, a forgetting door, a cell state and an output door; firstly, the input gate selectively memorizes the input, and the forgetting gate selectively forgets the input transmitted by the cell state; secondly, the outputs of the input gate and the forgetting gate are superposed to the next cell state; finally, the output gate scales the output of the cell state to output a predicted value at the next moment;
step 3.2: an input door of an indoor pollution concentration estimation model is constructed, and PM2.5 and CO are filtered2Smoke data and invalid information of the output value of the controller to the actuator, and inputting valid information to the cell state, the input gate being expressed as follows:
it=gWxixt+Whiht-1+Wcict-1+bi+Wnint (I)
in the formula, xtIs normalized PM2.5, CO2Smoke data and data of the output value of the controller to the actuator, g () being the activation function, WxiIs an input gate and xtWeight coefficient between, ht-1Is a hidden state at t-1, WhiIs the weight coefficient between the input gate and the hidden state, ct-1Is the cell state at t-1, WciIs the weight coefficient between the input gated sample and the cell state, biIs an offset term of the input gate, itFor input of the gate sample, ntNoise interference at t, WniThe weight coefficient between the input gate and the noise interference is used, and the robustness of the model is improved by adding the noise interference;
step 3.3: a forgetting gate of an indoor pollution concentration estimation model is constructed to delete part of invalid information in a cell state, and the forgetting gate is expressed as follows:
ft=g(Wxf xt+Whf ht-1+Wcf ct-1+bf) (2)
in the formula (f)tTo forget the gate output, WxfIs forgetting gate and xtInter weight coefficient, WhfIs the weight coefficient between the forgetting gate and the hidden state, WcfTo forget the gated sample and the cell status ct-1Inter weight coefficient, bfIs a biased term for a forgetting gate;
step 3.3: constructing a model cell state:
ct=ft ct-1+it tanh(Wxc xt+Whcht-1+bc) (3)
in the formula, WxcIs the cell state and xtWeight coefficient between, WhcIs a cell state and a hidden state ht-1Inter weight coefficient, bcA bias term for a cellular state;
step 3.4: constructing a model output door and outputting indoor PM2.5 and CO at the next moment2Smoke data:
st=g(Wxs xt+Whs ht-1+Wcs ct+bs) (4)
in the formula, stIs the PM2.5 and CO output by the output gate at the next moment2Smoke normalization data, WxsIs an output gate and xtInter weight coefficient, WhsIs a sample of the output gate and ht-1Weight coefficient between, WcsIs a sample of the output gate and ctWeight coefficient of bsBeing offset terms of output gates
Step 3.5: hidden state h to t moment through output gatetUpdating:
ht=st tanh(ct) (5)
and 3.6, repeating the step 3.2 to the step 3.5, and updating the weight and the bias parameters in the model by using the SGD algorithm until the loss function reaches a convergence threshold value which is set to be 1 e-4.
Step 4, establishing an indoor ventilation control algorithm model: calculating the PM2.5 and CO in the room at the next moment by using the wind speed, the ventilation action and the indoor pollution concentration estimation model2Smoke data and current indoor PM2.5, CO2Training a deep certainty strategy gradient network by using smoke data as input, and outputting a ventilation value by using the deep certainty strategy gradient network;
the indoor ventilation control algorithm model comprises a strategy network and a value network, wherein the value network target is to select an optimal action value, the value network updates network parameters by taking minimization of a loss function as a target, the strategy network target is to select a current action according to a current state and generate a next moment action according to an environment state, and an indoor ventilation control algorithm model diagram is shown in FIG. 2;
step 4.1, the strategy network and the value network respectively comprise a real network and a target network, the strategy network and the value network are respectively initialized, and the parameters of the strategy network and the value network are randomly initialized: thetaQ、θμAnd order:
θQ′=θQ (6)
θμ′=θμ (7)
in the formula, thetaQRepresenting a realistic value network parameter, θQ′Representing a target value network parameter, thetaμRepresenting a realistic policy network parameter, θμ′Representing target policy network parameters
Step 4.2, selecting the actuator action a under the current statet:
at=μ(st|θμ)+Nt (8)
In the formula, NtIs random noise, and the function mu () is an optimal behavior strategy;
step 4.3, by performing action atReceive a reward rt+1And state s estimated by indoor pollution concentration estimation modelt+1Saving the current state stAnd action atPrize rt+1And state st+1And putting the mixture into an experience pool; ,
step 4.4, when the experience pool data reaches the training condition, randomly selecting N samples from the experience pool(s)t,at,rt+1,st+1)};
Step 4.5, utilizing the samples in the experience pool to pair the parameters theta of the strategy network and the value networkQ、θμUpdating, and calculating a target action value y through the value network:
y=rt+1+γQ(st+1,at+1/θQ′) (9)
gamma is a discount factor, at+1Is the action at time t + 1;
step 4.6, the target network is updated once at intervals:
θQ′=τθQ+(1-τ)θQ′ (10)
θμ′=τθμ+(1-τ)θμ′ (11)
in the formula, tau is a learning rate;
step 4.7, returning to the step 4.2 to carry out loop iteration, and knowing the maximum number of rounds;
step 4.8, outputting the ventilation control quantity a according to the trained indoor ventilation control algorithm modelt。
Step 5, embedding the designed indoor pollution concentration estimation model and the designed indoor ventilation control algorithm model into an air detection data processing module to complete control of indoor ventilation;
and 6, detecting the outdoor wind speed and the raindrop value in real time by the indoor air detection data processing module, and closing the ventilation device by the controller when the outdoor wind speed and the raindrop value exceed a limited threshold value.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way, but any modifications or equivalent variations made according to the technical spirit of the present invention are within the scope of the present invention as claimed.
Claims (4)
1. The ventilation control method based on the indoor pollution concentration estimation model comprises the following specific steps, and is characterized in that:
step 1, building an indoor air detection system: the indoor air detection system comprises a PM2.5 detection sensor and CO2The system comprises a detection sensor, a smoke detection sensor, a wind speed detection sensor, a raindrop sensor, a signal conditioning circuit module, a power supply circuit module and an NI acquisition card;
step 2, collecting PM2.5 and CO collected in the step 12Normalizing the smoke signal data to obtain PM2.5 and CO2Normalizing the smoke signal data to be in a range of 0 to 1 so as to reduce dimensional influence among the data;
step 3, establishing an indoor pollution concentration estimation model: normalizing the PM2.5 and CO obtained in the step 22The smoke data and the output value of the controller to the actuating mechanism are used as input, and the indoor PM2.5 and CO at the next moment are used as input2Taking the smoke data as output to establish an indoor pollution concentration estimation model;
step 4, establishing an indoor ventilation control algorithm model: calculating the PM2.5 and CO in the room at the next moment by using the wind speed, the ventilation action and the indoor pollution concentration estimation model2Smoke data and current indoor PM2.5, CO2Training a deep certainty strategy gradient network by using smoke data as input, and outputting a ventilation value by using the deep certainty strategy gradient network;
step 5, embedding the designed indoor pollution concentration estimation model and the designed indoor ventilation control algorithm model into an air detection data processing module to complete control of indoor ventilation;
and 6, detecting the outdoor wind speed and the raindrop value in real time by the indoor air detection data processing module, and closing the ventilation device by the controller when the outdoor wind speed and the raindrop value exceed a limited threshold value.
2. The ventilation control method based on the indoor pollution concentration estimation model according to claim 1, wherein: the process of building an indoor air detection system in step 1 can be represented as follows:
PM2.5 detection sensor and CO are respectively detected through a power supply circuit2The detection sensor, the smoke detection sensor, the wind speed detection sensor and the raindrop sensor are powered, and meanwhile, the sensors are installed at proper positions to detect PM2.5 and CO2The smoke, wind speed and raindrop signals are converted by the conditioning circuit and then are uniformly connected into the NI acquisition card, and the NI acquisition card transmits the signals into an indoor air detection data processing module of the upper computer through the PCIE interface.
3. The ventilation control method based on the indoor pollution concentration estimation model according to claim 1, wherein: further, the process of establishing the indoor pollution concentration estimation model in step 3 can be expressed as follows:
step 3.1: the indoor pollution concentration estimation model consists of an input door, a forgetting door, a cell state and an output door; firstly, the input gate selectively memorizes the input, and the forgetting gate selectively forgets the input transmitted by the cell state; secondly, the outputs of the input gate and the forgetting gate are superposed to the next cell state; finally, the output gate scales the output of the cell state to output a predicted value at the next moment;
step 3.2: construction of indoor pollution concentrationInput gate of degree estimation model, filtering PM2.5, CO2Smoke data and invalid information of the output value of the controller to the actuator, and inputting valid information to the cell state, the input gate being expressed as follows:
it=g(Wxixt+Whiht-1+Wcict-1+bi)+Wnint (1)
in the formula, xtIs normalized PM2.5, CO2Smoke data and data of the output value of the controller to the actuator, g () being the activation function, WxiIs an input gate and xtWeight coefficient between, ht-1Is a hidden state at t-1, WhiIs the weight coefficient between the input gate and the hidden state, ct-1Is the cell state at t-1, WciIs the weight coefficient between the input gated sample and the cell state, biIs an offset term of the input gate, itFor input of the gate sample, ntNoise interference at t, WniThe weight coefficient between the input gate and the noise interference is used, and the robustness of the model is improved by adding the noise interference;
step 3.3: a forgetting gate of an indoor pollution concentration estimation model is constructed to delete part of invalid information in a cell state, and the forgetting gate is expressed as follows:
ft=g(Wxfxt+Whfht-1+Wcfct-1+bf) (2)
in the formula (f)tTo forget the gate output, WxfIs forgetting gate and xtInter weight coefficient, WhfIs the weight coefficient between the forgetting gate and the hidden state, WcfTo forget the gated sample and the cell status ct-1Inter weight coefficient, bfIs a biased term for a forgetting gate;
step 3.3: constructing a model cell state:
ct=ftct-1+ittanh(Wxcxt+Whcht-1+bc) (3)
in the formula, WxcIs the cell state andxtweight coefficient between, WhcIs a cell state and a hidden state ht-1Inter weight coefficient, bcA bias term for a cellular state;
step 3.4: constructing a model output door and outputting indoor PM2.5 and CO at the next moment2Smoke data:
st=g(Wxsxt+Whsht-1+Wcsct+bs) (4)
in the formula, stIs the PM2.5 and CO output by the output gate at the next moment2Smoke normalization data, WxsIs an output gate and xtInter weight coefficient, WhsIs a sample of the output gate and ht-1Weight coefficient between, WcsIs a sample of the output gate and ctWeight coefficient of bsBeing offset terms of output gates
Step 3.5: hidden state h to t moment through output gatetUpdating:
ht=sttanh(ct) (5)
and 3.6, repeating the step 3.2 to the step 3.5, and updating the weight and the bias parameters in the model by using the SGD algorithm until the loss function reaches a convergence threshold value which is set to be 1 e-4.
4. The ventilation control method based on the indoor pollution concentration estimation model according to claim 1, wherein: the process of establishing the indoor ventilation control algorithm model in step 4 can be represented as follows:
step 4.1, the strategy network and the value network respectively comprise a real network and a target network, the strategy network and the value network are respectively initialized, and the parameters of the strategy network and the value network are randomly initialized: thetaQ、θμAnd order:
θQ′=θQ (6)
θμ′=θμ (7)
in the formula, thetaQRepresenting realistic value network parameters,θQ′Representing a target value network parameter, thetaμRepresenting a realistic policy network parameter, θμ′Representing target policy network parameters
Step 4.2, selecting the actuator action a under the current statet:
at=μ(st|θμ)+Nt (8)
In the formula, NtIs random noise, and the function mu () is an optimal behavior strategy;
step 4.3, by performing action atReceive a reward rt+1And state s estimated by indoor pollution concentration estimation modelt+1Saving the current state stAnd action atPrize rt+1And state st+1And putting the mixture into an experience pool; ,
step 4.4, when the experience pool data reaches the training condition, randomly selecting N samples from the experience pool(s)t,at,rt+1,st+1)};
Step 4.5, utilizing the samples in the experience pool to pair the parameters theta of the strategy network and the value networkQ、θμUpdating, and calculating a target action value y through the value network:
y=rt+1+γQ(st+1,at+1/θQ′) (9)
gamma is a discount factor, at+1Is the action at time t + 1;
step 4.6, the target network is updated once at intervals:
θQ′=τθQ+(1-τ)θQ′ (10)
θμ′=τθμ+(1-τ)θμ′ (11)
in the formula, tau is a learning rate;
step 4.7, returning to the step 4.2 to carry out loop iteration, and knowing the maximum number of rounds;
step 4.8, outputting the ventilation control quantity a according to the trained indoor ventilation control algorithm modelt。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111535815.6A CN114383295B (en) | 2021-12-15 | 2021-12-15 | Ventilation control method based on indoor pollution concentration estimation model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111535815.6A CN114383295B (en) | 2021-12-15 | 2021-12-15 | Ventilation control method based on indoor pollution concentration estimation model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114383295A true CN114383295A (en) | 2022-04-22 |
CN114383295B CN114383295B (en) | 2023-05-16 |
Family
ID=81198537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111535815.6A Active CN114383295B (en) | 2021-12-15 | 2021-12-15 | Ventilation control method based on indoor pollution concentration estimation model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114383295B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160069579A1 (en) * | 2013-04-12 | 2016-03-10 | Panasonic Intellectual Property Management Co., Ltd. | Air-conditioning system and controller |
CN106707999A (en) * | 2017-02-09 | 2017-05-24 | 苏州科技大学 | Building energy-saving system based on self-adaptive controller, control method and simulation |
CN110348592A (en) * | 2019-05-21 | 2019-10-18 | 华电电力科学研究院有限公司 | A kind of load model prediction technique and forecasting system based on artificial neural network |
CN111103220A (en) * | 2019-12-31 | 2020-05-05 | 西安交通大学 | Method and system for predicting and regulating concentration of atmospheric pollutants |
WO2021010505A1 (en) * | 2019-07-12 | 2021-01-21 | 엘지전자 주식회사 | Intelligent air purifier, and indoor air quality control method and control device using intelligent air purifier |
CN112628955A (en) * | 2020-12-23 | 2021-04-09 | 杭州电子科技大学 | Indoor ventilation control method based on LSTM neural network and krill swarm optimization algorithm |
KR20210064629A (en) * | 2019-11-26 | 2021-06-03 | 전남대학교산학협력단 | Method and system for predicting ventilation mode based on artificial neural network |
US20210302052A1 (en) * | 2020-03-26 | 2021-09-30 | Ecobee Inc. | Thermostat device with improved energy optimization |
-
2021
- 2021-12-15 CN CN202111535815.6A patent/CN114383295B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160069579A1 (en) * | 2013-04-12 | 2016-03-10 | Panasonic Intellectual Property Management Co., Ltd. | Air-conditioning system and controller |
CN106707999A (en) * | 2017-02-09 | 2017-05-24 | 苏州科技大学 | Building energy-saving system based on self-adaptive controller, control method and simulation |
CN110348592A (en) * | 2019-05-21 | 2019-10-18 | 华电电力科学研究院有限公司 | A kind of load model prediction technique and forecasting system based on artificial neural network |
WO2021010505A1 (en) * | 2019-07-12 | 2021-01-21 | 엘지전자 주식회사 | Intelligent air purifier, and indoor air quality control method and control device using intelligent air purifier |
US20210356158A1 (en) * | 2019-07-12 | 2021-11-18 | Lg Electronics Inc. | Intelligent air cleaner, indoor air quality control method and control apparatus using intelligent air cleaner |
KR20210064629A (en) * | 2019-11-26 | 2021-06-03 | 전남대학교산학협력단 | Method and system for predicting ventilation mode based on artificial neural network |
CN111103220A (en) * | 2019-12-31 | 2020-05-05 | 西安交通大学 | Method and system for predicting and regulating concentration of atmospheric pollutants |
US20210302052A1 (en) * | 2020-03-26 | 2021-09-30 | Ecobee Inc. | Thermostat device with improved energy optimization |
CN112628955A (en) * | 2020-12-23 | 2021-04-09 | 杭州电子科技大学 | Indoor ventilation control method based on LSTM neural network and krill swarm optimization algorithm |
Also Published As
Publication number | Publication date |
---|---|
CN114383295B (en) | 2023-05-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11648504B2 (en) | Air conditioning device and control method thereof | |
Liu et al. | Multi-objective optimization of indoor air quality control and energy consumption minimization in a subway ventilation system | |
CN203336773U (en) | Indoor air purification filter system based on internet of things | |
KR101724263B1 (en) | Auto vantilation system | |
JP7216450B2 (en) | IN-TRAIN AIR QUALITY MONITORING AND VENTILATION CONTROL METHOD AND SYSTEM | |
Li et al. | A coupled computational fluid dynamics and back-propagation neural network-based particle swarm optimizer algorithm for predicting and optimizing indoor air quality | |
KR102336614B1 (en) | Apparatus and method for controlling air environmental using artificial intelligence | |
CN106918113B (en) | Intelligent household management method and system | |
CN111561764A (en) | Control method and device for fresh air system and storage medium | |
Dong et al. | Optimal design of building openings to reduce the risk of indoor respiratory epidemic infections | |
Kapoor et al. | Transmission probability of SARS-CoV-2 in office environment using artificial neural network | |
CN112070317A (en) | Hotel air conditioner energy consumption prediction method | |
CN106368551A (en) | Method and device of automatically controlling working state of window | |
CN114383295B (en) | Ventilation control method based on indoor pollution concentration estimation model | |
Zhang et al. | Model predictive control of short-term winter natural ventilation in a smart building using machine learning algorithms | |
Weber et al. | Detecting building occupancy with synthetic environmental data | |
CN113280490A (en) | New wind system control method and system based on Internet of things and artificial intelligence and storage medium | |
CN103673223B (en) | A kind of intelligent control method of the VMC based on the early warning of wind pushing air quality | |
CN205533374U (en) | Automatic open control device of bathroom air discharge fan | |
CN112594899A (en) | Air exhaust control system and method for public washroom | |
CN207065822U (en) | A kind of toilet ventilation system | |
CN114254249B (en) | Method and system for determining health index of spatial region | |
CN109612057A (en) | Indoor PM2.5 pre-warning and control method, device and computer readable storage medium | |
CN205678828U (en) | A kind of air detection instrument with airconditioning control function | |
Wang et al. | Research on Indoor Air Quality Evaluation Based on Improved BP Neural Network |
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 |