CN116466778B - Automatic chicken house ventilation control method based on data driving and event reasoning - Google Patents
Automatic chicken house ventilation control method based on data driving and event reasoning Download PDFInfo
- Publication number
- CN116466778B CN116466778B CN202310306150.4A CN202310306150A CN116466778B CN 116466778 B CN116466778 B CN 116466778B CN 202310306150 A CN202310306150 A CN 202310306150A CN 116466778 B CN116466778 B CN 116466778B
- Authority
- CN
- China
- Prior art keywords
- house
- ventilation
- small window
- event
- 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.)
- Active
Links
- 238000009423 ventilation Methods 0.000 title claims abstract description 130
- 241000287828 Gallus gallus Species 0.000 title claims abstract description 43
- 238000000034 method Methods 0.000 title claims abstract description 28
- CURLTUGMZLYLDI-UHFFFAOYSA-N Carbon dioxide Chemical compound O=C=O CURLTUGMZLYLDI-UHFFFAOYSA-N 0.000 claims description 42
- 235000013330 chicken meat Nutrition 0.000 claims description 41
- QGZKDVFQNNGYKY-UHFFFAOYSA-N Ammonia Chemical compound N QGZKDVFQNNGYKY-UHFFFAOYSA-N 0.000 claims description 40
- 229910002092 carbon dioxide Inorganic materials 0.000 claims description 22
- 239000001569 carbon dioxide Substances 0.000 claims description 22
- 229910000037 hydrogen sulfide Inorganic materials 0.000 claims description 22
- RWSOTUBLDIXVET-UHFFFAOYSA-N Dihydrogen sulfide Chemical compound S RWSOTUBLDIXVET-UHFFFAOYSA-N 0.000 claims description 21
- 238000006073 displacement reaction Methods 0.000 claims description 21
- 229910021529 ammonia Inorganic materials 0.000 claims description 18
- 238000004364 calculation method Methods 0.000 claims description 16
- 238000007781 pre-processing Methods 0.000 claims description 5
- 238000004422 calculation algorithm Methods 0.000 claims description 2
- 238000003307 slaughter Methods 0.000 claims description 2
- 230000003068 static effect Effects 0.000 claims description 2
- 230000008859 change Effects 0.000 abstract description 8
- 238000009395 breeding Methods 0.000 abstract description 6
- 230000001488 breeding effect Effects 0.000 abstract description 6
- 230000001105 regulatory effect Effects 0.000 abstract description 5
- 238000007689 inspection Methods 0.000 abstract description 4
- 244000144992 flock Species 0.000 description 8
- 230000008569 process Effects 0.000 description 4
- 230000003053 immunization Effects 0.000 description 3
- 238000002649 immunization Methods 0.000 description 3
- 238000012935 Averaging Methods 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 239000007789 gas Substances 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008645 cold stress Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000000875 corresponding effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 210000003608 fece Anatomy 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000010871 livestock manure Substances 0.000 description 1
- 230000005541 medical transmission Effects 0.000 description 1
- 238000012821 model calculation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000001301 oxygen Substances 0.000 description 1
- 229910052760 oxygen Inorganic materials 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D27/00—Simultaneous control of variables covered by two or more of main groups G05D1/00 - G05D25/00
- G05D27/02—Simultaneous control of variables covered by two or more of main groups G05D1/00 - G05D25/00 characterised by the use of electric means
-
- 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
- Ventilation (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
Abstract
The invention belongs to the technical field of automatic breeding, and particularly discloses a chicken house ventilation automatic control method based on data driving and event reasoning. The data driving model takes the most main parameters affecting the henhouse environment as input, and estimates the ventilation quantity required by the current henhouse environment, and the model has reasonable and simple structure, is easy to operate and maintain, and can rapidly calculate the required ventilation according to the change of the environment data; the event reasoning model is constructed in a reasoning basis function mode, and correction values of ventilation quantity are obtained through reasoning of events, so that proper ventilation can be provided during the occurrence period of the events. According to the method, the change of the data of the inside and outside environment of the henhouse and the triggering of the event are combined, the exhaust fan and the small air inlet window are regulated and controlled through a model means, so that the real-time automatic regulation and control of the ventilation of the henhouse are realized, the constant negative pressure in the henhouse is maintained, the effective regulation and control of the henhouse environment in an unmanned inspection time period is ensured, and meanwhile, powerful support of ventilation regulation and control is provided for inexperienced breeders.
Description
Technical Field
The invention belongs to the technical field of automatic breeding, and particularly relates to a chicken house ventilation automatic control method based on data driving and event reasoning.
Background
In the chicken flock breeding process, the chicken flock environment plays a vital role in the growth of chicken flocks, and the most effective and direct means for ensuring the chicken flock environment is to adjust the ventilation quantity, and ventilation can provide enough air flow for the chicken flock to maintain proper temperature and humidity, remove harmful gases, inhibit germ breeding and prevent disease transmission. Most modern henhouses are provided with ventilation control systems, and breeders can set environmental parameters and ventilation volume on an operation interface to realize ventilation adjustment.
However, in the actual operation process, the raising personnel manually modify the ventilation quantity and the opening of the small air inlet window according to the behavior characteristics of chickens, the change of the environment, the water feeding, the immunization and other events, and the automatic control of the ventilation of the chicken house is not really realized. In addition, the raising personnel usually carry out inspection every other time, and the state of chicken cannot be monitored in real time. Meanwhile, the chicken flock breeding relies on a great deal of experience, and for people lacking in breeding experience, it is difficult to adjust the proper ventilation amount to ensure the growth performance of the chicken flock.
Disclosure of Invention
The invention aims to provide a chicken house ventilation automatic control method based on data driving and event reasoning.
In order to achieve the above purpose, the invention adopts the following technical scheme:
the automatic control method for henhouse ventilation based on data driving and event reasoning is realized by adopting a henhouse ventilation automatic system;
the henhouse ventilation automatic system comprises a sensor, a data collector, an event collector, a main controller, a fan adjusting controller, a small window adjusting controller, an exhaust fan and a small window motor;
the sensor is connected with the data acquisition device and comprises an in-house temperature sensor, a humidity sensor, an out-house temperature sensor, a carbon dioxide sensor, an ammonia sensor, a hydrogen sulfide sensor and a negative pressure sensor;
the house temperature sensor is used for detecting the house temperature; the humidity sensor is used for detecting the humidity in the house; the house outside temperature sensor is used for detecting the house outside temperature; the carbon dioxide sensor is used for detecting the concentration of carbon dioxide in the house; the ammonia sensor is used for detecting the concentration of ammonia in the house; the hydrogen sulfide sensor is used for detecting the concentration of hydrogen sulfide in the house; the negative pressure sensor is used for detecting negative pressure in the house;
the data acquisition device is respectively connected with the main controller and the small window adjusting controller;
the event collector is connected with the main controller;
the main controller is respectively connected with the fan adjusting controller and the small window adjusting controller, the fan adjusting controller is connected with the exhaust fan, and the small window adjusting controller is connected with the small window motor;
a data driving model, an event reasoning model and a small window opening model are stored in the main controller, a fan calculation model is stored in the fan adjusting controller, and a small window motor displacement continuous control model is stored in the small window adjusting controller;
the automatic control method for henhouse ventilation comprises the following steps:
step 1, acquiring various sensor data in real time by a data acquisition device, wherein the sensor data comprise house temperature, house outside temperature, house humidity, house carbon dioxide concentration, house ammonia concentration, house hydrogen sulfide concentration and house negative pressure;
the data acquisition device is used for preprocessing the acquired sensor data and then sending the preprocessed data to the main controller and the small window adjusting controller in real time;
step 2, the event collector collects event information and sends the event information to the main controller;
step 3, the main controller calculates the ventilation quantity through a data driving model according to the data sent by the data collector and the current chicken age, and corrects the ventilation quantity through an event reasoning model according to the event information sent by the event collector;
the main controller obtains a final ventilation instruction by adding the ventilation correction value obtained by the event reasoning model based on the ventilation value obtained by the data driving model calculation, and sends the ventilation instruction to the fan adjusting controller; meanwhile, the main controller calculates an air inlet small window opening instruction by utilizing a small window opening model in combination with the ventilation quantity instruction, and sends the air inlet small window opening instruction to the small window adjusting controller;
step 4, after the fan adjusting controller receives the ventilation quantity instruction from the main controller, a fan calculation model is utilized to obtain the starting period of the exhaust fan through calculation, and the starting and stopping of the exhaust fan are controlled;
and 5, receiving an air inlet small window opening instruction from the main controller by the small window adjusting controller, receiving negative pressure data in the house sent by the data acquisition device, and regulating and controlling the displacement of the small window motor by using a small window motor displacement continuous control model.
The invention has the following advantages and effects:
as described above, the invention relates to a chicken house ventilation automatic control method based on data driving and event reasoning, which combines the change of internal and external environment data of a chicken house and the triggering of events, regulates and controls an exhaust fan and an air inlet small window through model means (a data driving model, an event reasoning model, a small window opening model and the like), realizes the real-time automatic regulation and control of chicken house ventilation, simultaneously maintains the stability of negative pressure in the chicken house, ensures the effective regulation and control of the environment of the chicken house in an unmanned inspection time period, and simultaneously provides powerful support for ventilation regulation and control for inexperienced breeders.
Drawings
FIG. 1 is a block diagram of a henhouse ventilation automation system in an embodiment of the invention.
Fig. 2 is an installation schematic diagram of a henhouse ventilation automation system in an embodiment of the invention.
Fig. 3 is a flowchart of a chicken house ventilation automatic control method based on data driving and event reasoning in an embodiment of the invention.
The system comprises a 1-data collector, a 2-event collector, a 3-main controller, a 4-fan adjusting controller, a 5-small window adjusting controller, a 6-exhaust fan, a 7-small window motor, an 8-house temperature sensor, a 9-humidity sensor, a 10-house outside temperature sensor, a 11-carbon dioxide sensor, a 12-ammonia gas sensor, a 13-hydrogen sulfide sensor, a 14-negative pressure sensor and a 15-inlet small window.
Detailed Description
The invention is described in further detail below with reference to the attached drawings and detailed description:
the embodiment describes a chicken house ventilation automatic control method based on data driving and event reasoning, so as to solve the defects in the prior art and improve the intelligent and unmanned degree of chicken house environment regulation.
As shown in fig. 1 and 2, the automatic control system for henhouse ventilation adopted by the automatic control method for henhouse ventilation comprises a sensor, a data collector 1, an event collector 2 (such as an input device of a mobile terminal or a touch screen), a main controller 3, a fan adjusting controller 4, a small window adjusting controller 5, an exhaust fan 6 and a small window motor 7.
The sensor is connected with the data acquisition device 1. In this embodiment, the sensors are various, and all the sensors detect parameter data mainly affecting ventilation change, including an in-house temperature sensor 8, a humidity sensor 9, an out-house temperature sensor 10, a carbon dioxide sensor 11, an ammonia sensor 12, a hydrogen sulfide sensor 13 and a negative pressure sensor 14.
The functions of the sensors are as follows: the house temperature sensor 8 is used for detecting the house temperature; the humidity sensor 9 is used for detecting the humidity in the house; the off-house temperature sensor 10 is for detecting an off-house temperature; the carbon dioxide sensor 11 is used for detecting the concentration of carbon dioxide in the house; the ammonia sensor 12 is used for detecting the concentration of ammonia in the house; the hydrogen sulfide sensor 13 is used for detecting the concentration of hydrogen sulfide in the house; the negative pressure sensor 14 is used to detect negative pressure in the house.
These sensors transmit data in real time, for example by wireless means, to the data collector 1, the data collector 1 being connected to the main controller 3 and the widget adjustment controller 5, respectively. After preprocessing the detection data, the data collector 1 periodically transmits the data of the temperature, humidity, temperature outside the house, carbon dioxide, ammonia gas and hydrogen sulfide in the house to the main controller 3 in a wired mode, for example, and simultaneously periodically transmits the negative pressure data to the small window adjusting controller 5 in a wireless mode, for example.
The preprocessing here includes filtering, denoising, averaging, etc., and this process is relatively conventional and will not be described in detail.
The event collector 2 is connected with the main controller 3, and breeders can input the event information to be happened through the event collector 2, and the event collector 2 records the event information and sends the event information to the main controller 3.
The event information here includes the upcoming event and the start and end times of the event, such as immunization at 8 am, end immunization at 11 am, event collector stores the event information and sends it to the main controller 3.
The main controller 3 is respectively connected with the fan adjusting controller 4 and the small window adjusting controller 5, the fan adjusting controller 4 is connected with the exhaust fan 6, and the small window adjusting controller 5 is connected with the small window motor 7.
In this embodiment, the main controller 3 mainly completes the calculation of the ventilation quantity instruction and the air inlet small window opening instruction.
The data-driven model and the event inference model are stored in the main controller 3.
The main controller 3 receives the data of the data acquisition unit 1, and calculates the ventilation quantity through a data driving model together with chicken age data; the main controller receives the event information of the event collector 2 and calculates the ventilation correction value through the event reasoning model.
After obtaining the ventilation amount and the ventilation amount correction value, the main controller 3 adds the ventilation amount obtained by the data driving model and the ventilation amount correction value obtained by the event inference model to obtain a final ventilation amount instruction, and sends the final ventilation amount instruction to the fan adjustment controller 4.
In addition, a small window opening model is stored in the main controller 3.
The change of ventilation requires the opening of the small air inlet window 15 to be correspondingly adjusted so as to ensure that the negative pressure in the house is constant, so that the main controller 3 obtains the small window opening instruction by utilizing the small window opening model according to the updated ventilation quantity instruction and sends the small window opening instruction to the small window adjusting controller 5.
The exhaust fan 6 is turned on and off at regular intervals to provide a desired ventilation.
A fan calculation model is stored in the fan adjustment controller 4, the fan adjustment controller 4 receives a ventilation quantity instruction from the main controller 3, and the starting period of the exhaust fan is obtained according to the fan calculation model to control the starting and stopping of the exhaust fan 6.
A continuous control model of the small window motor displacement is stored in the small window adjusting controller 5. The small window adjusting controller 5 receives the small window opening command sent by the main controller 3, and simultaneously receives the negative pressure data sent by the data acquisition device 1, and realizes the control of the small window opening by adjusting the displacement of the small window motor by using a small window motor displacement continuous control model.
The control of the opening of the small window is realized through the continuous control model of the displacement of the motor of the small window, so that the constant negative pressure in the house is maintained.
Based on the proposed automatic control system for henhouse ventilation, the procedure of the automatic control method for henhouse ventilation in this embodiment will be described in detail. As shown in fig. 3, the automatic control method for henhouse ventilation comprises the following steps:
and 1, acquiring various sensor data in real time by the data acquisition device 1, wherein the sensor data comprise the temperature in the house, the temperature outside the house, the humidity in the house, the carbon dioxide concentration in the house, the ammonia concentration in the house, the hydrogen sulfide concentration in the house and the negative pressure in the house.
The data collector 1 performs preprocessing including filtering, denoising, averaging and the like on the collected sensor data, and then sends the preprocessed data to the main controller 3 and the small window adjusting controller 5 in real time.
And 2, the event collector 2 collects event information and sends the event information to the main controller 3.
And 3, calculating the ventilation quantity by the main controller through a data driving model according to the data sent by the data collector and the current chicken age, and correcting the ventilation quantity through an event reasoning model according to the event information sent by the event collector.
The data driving model takes chicken age data, house temperature, temperature target value, humidity, house outside temperature, carbon dioxide concentration, ammonia concentration and hydrogen sulfide concentration as input, calculates ventilation volume according to the data sent by the data collector 1, for example, when the house temperature difference, namely the difference between the house temperature and the temperature target value is increased, the temperature in the henhouse is reflected to be overhigh, ventilation is needed to be increased to discharge redundant heat, the sense temperature of chicken groups is reduced, and when other parameters are basically unchanged and the house outside temperature is increased, the wind entering the house is warmer, and the ventilation volume is increased.
According to this logic, the data driven model should achieve a higher ventilation.
The expression of the data driven model is:
wherein V is 1 Ventilation, { omega ] calculated for data-driven model 1 ,ω 2 ,…,ω 7 Is an increaseThe beneficial coefficient, b is the offset, sign (x) is the sign function, when x>Sign (x) at 0>0。
T i T is the internal temperature of the house isp Is a temperature target value; ventilation and temperature difference (T) i -T isp ) Positive correlation, when T i Above T isp At the time of temperature difference (T) i -T isp ) Above 0, the ventilation should be increased to maintain the temperature in the enclosure around the target value.
H is the humidity in the house, H max 、H min Respectively the maximum value and the minimum value of humidity in the house; the ventilation quantity is positively related to the humidity H, and when H is increased, ventilation is increased, so that the humidity in the house is reduced.
T o T is the temperature outside the house o,max 、T o,min Respectively the maximum value and the minimum value of the temperature outside the house; ventilation quantity and house outside temperature T o Positive correlation, when T o When the temperature is raised, ventilation in the house should be improved to increase ventilation in the house.
C is the concentration of carbon dioxide, C max 、C min Respectively a maximum value and a minimum value of the concentration of the carbon dioxide; the ventilation quantity is positively related to the carbon dioxide concentration C, and when the C is increased, the ventilation in the house is increased, the carbon dioxide concentration is reduced, and the oxygen content in the air in the house is ensured.
N is the concentration of ammonia gas, N max 、N min Respectively the maximum value and the minimum value of the ammonia concentration; the ventilation quantity is positively related to the ammonia concentration N, and when N is increased, the ventilation in the house is increased, and the ammonia concentration is reduced.
S is the concentration of hydrogen sulfide, S max 、S min The maximum and minimum hydrogen sulfide concentrations, respectively. The ventilation quantity is positively correlated with the concentration S of the hydrogen sulfide, and when the S is increased, the ventilation in the house is increased, and the concentration of the hydrogen sulfide is reduced.
age is age of chicken, age max For the maximum chicken age, namely the age of the chickens in the slaughter house, the ventilation quantity is positively related to the chicken age, and for the same house temperature difference, humidity, house outside temperature, carbon dioxide concentration, ammonia concentration and hydrogen sulfide concentration, the larger the chicken age is, the larger the chicken breath quantity is, and the house ventilation quantity is increased.
The data driving model provided by the invention takes the most main parameters affecting the henhouse environment as input, and estimates the ventilation quantity required by the current henhouse environment.
The event reasoning model is based on a logic reasoning structure, and according to event information sent by the event collector 2, a correction value of ventilation quantity is deduced, for example, when chicken manure is to be cleaned at 8 am, ventilation in a chicken house needs to be increased, gas concentration of ammonia gas and the like is reduced, and ventilation of 2 units can be increased according to experience.
According to this logic, the event driven model should provide positive ventilation correction values.
The expression of the event inference model is:
wherein V is 2 The ventilation quantity correction value obtained for the event reasoning model is represented by M, the number of recorded event information and E i For the ith event, I i (. Cndot.) is the inference basis function of the ith event, α i And (5) a correction value coefficient corresponding to the ith reasoning basic function.
I i (. Cndot.) contains both results of 1 and 0, i.e. when event E i Occurs and is performed in an occurrence period (t i1 ,t i2 ) When in, i.e. E i =1 and t e (t) i1 ,t i2 ) Then I i (·)=1。
Wherein t is i1 For the ith event start time, t i2 Is the i-th event end time.
When event E i Ending, or a time exceeding a preset occurrence period (t i1 ,t i2 ) When, i.e. "E i =0 or", wherein->Representation (t) i1 ,t i2 ) Of (c), i.e. exceeding (t) i1 ,t i2 ) Time period of (1), then I i (·)=0。
The event reasoning model provided by the invention is constructed in a reasoning basis function form, and the correction value of the ventilation quantity is obtained through the reasoning of the event, so that the proper ventilation can be provided during the occurrence of the event.
The main controller drives the data to obtain the ventilation V 1 And ventilation quantity correction value V obtained by event reasoning model 2 The addition results in a final ventilation command V, i.e. v=v 1 +V 2 And wirelessly transmitted to the fan adjustment controller 4.
Meanwhile, the main controller 3 calculates an air inlet small window opening instruction by using a small window opening model in combination with the ventilation quantity instruction, and sends the air inlet small window opening instruction to the small window adjusting controller 4. The change of ventilation volume needs the regulation of following of the aperture of the small air inlet window to ensure the constancy of negative pressure in the house, the constancy of negative pressure is the premise of ensuring that the wind speed is steady, and the negative pressure is great, then the wind speed is too fast, causes chicken flocks cold stress, and the negative pressure is small, then the wind speed is too slow, then the circulation of air in the chicken house is not smooth, and the main controller 3 utilizes the aperture model of the small air inlet window to obtain the aperture instruction of the small air inlet window, and sends the aperture instruction of the small air inlet window to the small air inlet window regulating controller 4.
The expression of the small window opening model is as follows:
wherein W is a small window opening instruction, V is a ventilation quantity instruction, and P sp Lambda is a calculation coefficient for the target value of negative pressure in the house.
As can be seen from the expression of the small window opening model, the small window opening command is in a direct proportion to the ventilation quantity command, and when the ventilation quantity command is increased, the small window opening command is increased so as to maintain the negative pressure in the house.
And 4, after receiving the ventilation quantity instruction from the main controller 3, the fan adjusting controller 4 obtains the opening period of the exhaust fan 6 through calculation by using a fan calculation model, and controls the start and stop of the exhaust fan 6.
The fan calculation model calculates the opening period of the exhaust fan according to the ventilation quantity instruction, the opening period determines the ventilation quantity which can be provided by the exhaust fan, and the fan adjustment controller calculates the opening period of the exhaust fan according to the ventilation quantity instruction.
The expression of the fan calculation model is as follows:
wherein T represents the open period of the exhaust fan, T e The cycle period is represented, for example, 300 seconds, V e The ventilation quantity which can be provided by the exhaust fan which is kept on all the time in the circulation period is indicated, and V indicates a ventilation quantity instruction.
The ventilation quantity is in a direct proportion to the starting period of the exhaust fan, and the longer the starting period is, the larger the ventilation quantity provided by the exhaust fan is.
And 5, receiving an air inlet small window opening instruction from the main controller by the small window adjusting controller 5, receiving negative pressure data in a house sent by the data acquisition device, and regulating and controlling the displacement of the small window motor by using a small window motor displacement continuous control model.
The negative pressure in the house can be disturbed by the environment at any time, and in order to ensure the constant negative pressure in the house, the opening of the small air inlet window needs to be correspondingly adjusted.
The continuous control model of the small window motor displacement adopts a proportional-integral-derivative algorithm, and the expression is as follows:
in the method, in the process of the invention,u is the displacement of the motor of the small window; w is a small window opening instruction, P is the negative pressure in the house, and P sp K is the opening instruction and the static gain of the motor displacement, which is the target value of the negative pressure in the house. K (K) p To control gain proportionally, K i To integrate and control the gain, K d The gain is controlled for differentiation.Is the accumulation of the difference between the negative pressure in the house and the target value of the negative pressure in the house over time.Is the differential over time of the difference between the negative pressure in the house and the target value of the negative pressure in the house.
The larger the negative pressure in the house deviates from the target value of the negative pressure in the house, namely the larger the difference value between the negative pressure in the house and the target value of the negative pressure in the house is, the larger the small window motor is displaced, and the motor displacement direction is opposite to the direction of the difference value, so that the gap between the negative pressure in the house and the target value of the negative pressure in the house is reduced.
According to the method, firstly, based on the change of the internal and external environment data of the henhouse and the trigger of an event, the ventilation quantity and the ventilation quantity correction value are calculated respectively by a data driving model and an event reasoning model in the main controller, and then a final ventilation quantity instruction is obtained by adding the two parts; in addition, the main controller combines the ventilation quantity instruction, calculates an air inlet small window opening instruction by utilizing the small window opening model stored in the main controller, and sends the air inlet small window opening instruction to the small window adjusting controller, the small window adjusting controller receives the negative pressure data in the house sent by the data acquisition device, and the small window motor displacement is regulated and controlled by utilizing the small window motor displacement continuous control model, so that the constant negative pressure in the house is ensured. According to the automatic control method for the ventilation of the henhouse, the automatic control of the ventilation of the henhouse is well realized, the effective control of the environment of the henhouse in an unmanned inspection time period is ensured, and meanwhile, powerful support for ventilation control is provided for inexperienced feeders.
The foregoing description is, of course, merely illustrative of preferred embodiments of the present invention, and it should be understood that the present invention is not limited to the above-described embodiments, but is intended to cover all modifications, equivalents and alternatives falling within the spirit and scope of the present invention as defined by the appended claims.
Claims (4)
1. The automatic chicken house ventilation control method based on data driving and event reasoning is characterized in that,
the automatic henhouse ventilation control method comprises the following steps of adopting a henhouse ventilation automatic system which comprises a sensor, a data acquisition unit, an event acquisition unit, a main controller, a fan adjusting controller, a small window adjusting controller, an exhaust fan and a small window motor;
the sensor is connected with the data acquisition device and comprises an in-house temperature sensor, a humidity sensor, an out-house temperature sensor, a carbon dioxide sensor, an ammonia sensor, a hydrogen sulfide sensor and a negative pressure sensor;
the house temperature sensor is used for detecting the house temperature; the humidity sensor is used for detecting the humidity in the house; the house outside temperature sensor is used for detecting the house outside temperature; the carbon dioxide sensor is used for detecting the concentration of carbon dioxide in the house; the ammonia sensor is used for detecting the concentration of ammonia in the house; the hydrogen sulfide sensor is used for detecting the concentration of hydrogen sulfide in the house; the negative pressure sensor is used for detecting negative pressure in the house;
the data acquisition device is respectively connected with the main controller and the small window adjusting controller;
the event collector is connected with the main controller;
the main controller is respectively connected with the fan adjusting controller and the small window adjusting controller, the fan adjusting controller is connected with the exhaust fan, and the small window adjusting controller is connected with the small window motor;
a data driving model, an event reasoning model and a small window opening model are stored in the main controller, a fan calculation model is stored in the fan adjusting controller, and a small window motor displacement continuous control model is stored in the small window adjusting controller;
the automatic control method for henhouse ventilation comprises the following steps:
step 1, acquiring various sensor data in real time by a data acquisition device, wherein the sensor data comprise house temperature, house humidity, house outside temperature, house carbon dioxide concentration, house ammonia concentration, house hydrogen sulfide concentration and house negative pressure; the data acquisition device is used for preprocessing the acquired sensor data and then sending the preprocessed data to the main controller and the small window adjusting controller in real time;
step 2, an event collector collects event information and sends the event information to a main controller;
step 3, the main controller calculates the ventilation quantity through a data driving model according to the data sent by the data collector and the current chicken age, and corrects the ventilation quantity through an event reasoning model according to the event information sent by the event collector;
the main controller obtains a final ventilation instruction by adding the ventilation correction value obtained by the event reasoning model based on the ventilation value obtained by the data driving model, and sends the ventilation instruction to the fan adjusting controller; meanwhile, the main controller calculates an air inlet small window opening instruction by utilizing a small window opening model in combination with the ventilation quantity instruction, and sends the air inlet small window opening instruction to the small window adjusting controller;
step 4, after the fan adjusting controller receives the ventilation quantity instruction from the main controller, a fan calculation model is utilized to obtain the starting period of the exhaust fan through calculation, and the starting and stopping of the exhaust fan are controlled;
step 5, the small window adjusting controller receives an air inlet small window opening instruction from the main controller, receives negative pressure data in a house sent by the data acquisition device, and regulates and controls the displacement of the small window motor by using a small window motor displacement continuous control model;
the expression of the data driving model is as follows:
wherein V is 1 Ventilation, { omega ] calculated for data-driven model 1 ,ω 2 ,…,ω 7 The gain coefficient, the offset, sign (x) is a sign function, when x>Sign (x) at 0>0;
age is age of chicken, age max The maximum chicken age, namely the age of the chickens in the slaughter;
T i t is the internal temperature of the house isp Is a temperature target value;
h is the humidity in the house, H max 、H min Respectively the maximum value and the minimum value of humidity in the house;
T o t is the temperature outside the house o,max 、T o,min Respectively the maximum value and the minimum value of the temperature outside the house;
c is the concentration of carbon dioxide, C max 、C min Respectively a maximum value and a minimum value of the concentration of the carbon dioxide;
n is the concentration of ammonia gas, N max 、N min Respectively the maximum value and the minimum value of the ammonia concentration;
s is the concentration of hydrogen sulfide, S max 、S min The maximum value and the minimum value of the concentration of the hydrogen sulfide are respectively;
the expression of the event reasoning model is as follows:
wherein V is 2 The ventilation quantity correction value obtained for the event reasoning model is represented by M, the number of recorded event information and E i For the ith event, I i (. Cndot.) is the inference basis function of the ith event, α i A correction value coefficient corresponding to the ith reasoning basis function;
I i (. Cndot.) contains both results of 1 and 0, i.e. when event E i Occurs and is performed in an occurrence period (t i1 ,t i2 ) When in, i.e. E i =1 and t e (t) i1 ,t i2 ) Ii (·) =1;
wherein t is i1 For the ith event start time, t i2 Is the ith event end time;
when event E i Ending, or a time exceeding a preset occurrence period (t i1 ,t i2 ) When, i.e. "E i =0 or", wherein->Representation (t) i1 ,t i2 ) Of (c), i.e. exceeding (t) i1 ,t i2 ) Time period of (1), then I i (·)=0。
2. The automatic control method for henhouse ventilation according to claim 1, wherein,
the expression of the small window opening model is as follows:
wherein W is a small window opening instruction, V is a ventilation quantity instruction, and P sp Lambda is a calculation coefficient for the target value of negative pressure in the house.
3. The automatic control method for henhouse ventilation according to claim 1, wherein,
the expression of the fan calculation model is as follows:
wherein T represents the starting period of the exhaust fan; t (T) e Representing cycle period, V e The ventilation quantity which can be provided by the exhaust fan which is kept on all the time in the circulation period is indicated, and V indicates a ventilation quantity instruction.
4. The automatic control method for henhouse ventilation according to claim 1, wherein,
the continuous control model for the displacement of the small window motor adopts a proportional-integral-derivative algorithm, and the expression is as follows:
wherein U is the motor displacement of the small window, K is the static gain of the opening instruction and the motor displacement, W is the opening instruction of the small window, P is the negative pressure in the house, and P sp Is a target value of negative pressure in the house;
K p to control gain proportionally, K i To integrate and control the gain, K d Is a differential control gain;
accumulating the difference between the negative pressure in the house and the target value of the negative pressure in the house over time;
is the differential over time of the difference between the negative pressure in the house and the target value of the negative pressure in the house.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310306150.4A CN116466778B (en) | 2023-03-27 | 2023-03-27 | Automatic chicken house ventilation control method based on data driving and event reasoning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310306150.4A CN116466778B (en) | 2023-03-27 | 2023-03-27 | Automatic chicken house ventilation control method based on data driving and event reasoning |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116466778A CN116466778A (en) | 2023-07-21 |
CN116466778B true CN116466778B (en) | 2024-02-13 |
Family
ID=87174346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310306150.4A Active CN116466778B (en) | 2023-03-27 | 2023-03-27 | Automatic chicken house ventilation control method based on data driving and event reasoning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116466778B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102129244A (en) * | 2011-04-26 | 2011-07-20 | 江苏省农业科学院 | Hen house environment monitoring decision system and application thereof |
CN103081856A (en) * | 2013-01-15 | 2013-05-08 | 东南大学 | Regulation and control method for breeding environment of facility raised chickens |
CN204203748U (en) * | 2014-11-05 | 2015-03-11 | 陕西亚泰电器科技有限公司 | Based on the closed environment of chicken house control system of LPC2132 single-chip microcomputer |
CN104521799A (en) * | 2014-12-23 | 2015-04-22 | 安徽荣达禽业开发有限公司 | Automatic full-closed tier breeding pullet house ventilation method |
CN105159216A (en) * | 2015-08-31 | 2015-12-16 | 淮阴工学院 | Hen house environment ammonia gas concentration intelligent monitoring system |
CN207299372U (en) * | 2017-10-10 | 2018-05-01 | 唐山市畜牧工作站 | Farm's intelligent fresh air system |
CN108491013A (en) * | 2018-05-21 | 2018-09-04 | 江西省计算技术研究所 | A kind of henhouse monitor control system and method |
CN109042382A (en) * | 2018-10-31 | 2018-12-21 | 中国农业大学烟台研究院 | A kind of stacked cage henhouse and its application method |
CN112114604A (en) * | 2020-08-03 | 2020-12-22 | 广州广兴牧业设备集团有限公司 | Method for regulating and controlling growth climate suitable for livestock groups in livestock breeding house |
CN213463420U (en) * | 2020-07-08 | 2021-06-18 | 河南万华畜牧设备有限公司 | Small window adjusting system for ventilation of henhouse |
CN114115403A (en) * | 2021-12-03 | 2022-03-01 | 天津农学院 | Broiler chicken breeding environment intelligent control device raises in cages |
CN115167587A (en) * | 2022-08-04 | 2022-10-11 | 山东交通学院 | Self-learning-based henhouse breeding environment health monitoring control system and method |
-
2023
- 2023-03-27 CN CN202310306150.4A patent/CN116466778B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102129244A (en) * | 2011-04-26 | 2011-07-20 | 江苏省农业科学院 | Hen house environment monitoring decision system and application thereof |
CN103081856A (en) * | 2013-01-15 | 2013-05-08 | 东南大学 | Regulation and control method for breeding environment of facility raised chickens |
CN204203748U (en) * | 2014-11-05 | 2015-03-11 | 陕西亚泰电器科技有限公司 | Based on the closed environment of chicken house control system of LPC2132 single-chip microcomputer |
CN104521799A (en) * | 2014-12-23 | 2015-04-22 | 安徽荣达禽业开发有限公司 | Automatic full-closed tier breeding pullet house ventilation method |
CN105159216A (en) * | 2015-08-31 | 2015-12-16 | 淮阴工学院 | Hen house environment ammonia gas concentration intelligent monitoring system |
CN207299372U (en) * | 2017-10-10 | 2018-05-01 | 唐山市畜牧工作站 | Farm's intelligent fresh air system |
CN108491013A (en) * | 2018-05-21 | 2018-09-04 | 江西省计算技术研究所 | A kind of henhouse monitor control system and method |
CN109042382A (en) * | 2018-10-31 | 2018-12-21 | 中国农业大学烟台研究院 | A kind of stacked cage henhouse and its application method |
CN213463420U (en) * | 2020-07-08 | 2021-06-18 | 河南万华畜牧设备有限公司 | Small window adjusting system for ventilation of henhouse |
CN112114604A (en) * | 2020-08-03 | 2020-12-22 | 广州广兴牧业设备集团有限公司 | Method for regulating and controlling growth climate suitable for livestock groups in livestock breeding house |
CN114115403A (en) * | 2021-12-03 | 2022-03-01 | 天津农学院 | Broiler chicken breeding environment intelligent control device raises in cages |
CN115167587A (en) * | 2022-08-04 | 2022-10-11 | 山东交通学院 | Self-learning-based henhouse breeding environment health monitoring control system and method |
Also Published As
Publication number | Publication date |
---|---|
CN116466778A (en) | 2023-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109442695B (en) | Predictive control method and system for air conditioner and fresh air system based on indoor people | |
KR102366075B1 (en) | Control system for smart farm | |
CN109282412A (en) | A kind of fresh air automatic speed regulation system and method | |
CN104764150A (en) | Air conditioner control method | |
CN102511402A (en) | Intelligent microclimate control system for biological fermentation hog house | |
CN104033988A (en) | Air conditioner control system and control method of air conditioner control system | |
CN105841735A (en) | Air quality detection system and method through robot | |
CN113551399B (en) | Air conditioner fresh air volume control method and device and air conditioner | |
CN112130596A (en) | Farm environment adjusting method and device, electronic equipment and readable storage medium | |
CN111561764A (en) | Control method and device for fresh air system and storage medium | |
CN112050446B (en) | Control method of fresh air conditioner | |
CN109236105B (en) | Intelligent ventilation electric window system and control method thereof | |
CN116466778B (en) | Automatic chicken house ventilation control method based on data driving and event reasoning | |
CN115167587A (en) | Self-learning-based henhouse breeding environment health monitoring control system and method | |
CN104102254A (en) | Automatic chicken raising method and system | |
CN105202694A (en) | Air conditioner control method | |
CN116839185B (en) | Air conditioner temperature regulation and control method and system | |
CN112050441B (en) | Purification control method of fresh air conditioner | |
CN112050440B (en) | Control method of fresh air conditioner | |
CN116147159A (en) | Automatic air exhausting and exchanging type office space air circulation system | |
CN111580585A (en) | Method and system for automatically setting environmental index in livestock and poultry house environment regulation | |
CN108050675B (en) | Air conditioner control method | |
CN112715408B (en) | Intelligent pig raising system based on Internet of things | |
CN115812608A (en) | Intelligent ventilation system and method for livestock breeding cage | |
CN112050447B (en) | Control method of fresh air conditioner |
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 |