A greenhouse temperature intelligent early warning method and system based on big data monitoring

By establishing a temperature prediction model and a nighttime cooling model, and calculating the temperature warning level and insulation coefficient, the shortcomings of greenhouse temperature control in day and night environments are solved, precise adjustment of crop temperature is achieved, and the accuracy and efficiency of temperature control are improved. .

CN118586744BActive Publication Date: 2024-10-29ANHUI CHENGQIN DATA CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411067562.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-10-29
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

The existing greenhouse temperature intelligent early warning system cannot effectively adapt to the temperature needs of crops in day and night environments, resulting in inaccurate temperature control and affecting crop growth.

Method used

By collecting real-time temperature data from multiple locations inside the greenhouse, a temperature prediction model and a nighttime cooling model are established to calculate the temperature warning level, temperature change coefficient and nighttime insulation coefficient, and perform cooling or insulation adjustments according to the temperature requirements in different time periods.

Benefits of technology

It achieves accurate prediction and adjustment of greenhouse daytime and nighttime temperatures, ensures the appropriate growth temperature range of crops in different time periods, and improves the accuracy and efficiency of temperature control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586744B_ABST
    Figure CN118586744B_ABST
Patent Text Reader

Abstract

The present invention provides a greenhouse temperature intelligent early warning method and system based on big data monitoring, and relates to the technical field of greenhouse temperature intelligent early warning. The present invention obtains real-time temperature data of multiple places inside the greenhouse, calculates the overall temperature value of the greenhouse at the current moment, obtains dynamic data of greenhouse environmental changes and various static parameter data of the greenhouse, establishes a greenhouse temperature prediction model and a greenhouse night cooling model, and predicts the overall temperature of the greenhouse for the daytime temperature and the nighttime temperature according to the obtained future meteorological forecast. At the same time, according to the suitable growth temperature range of crops during the day and at night, respectively, and the real-time overall temperature of the greenhouse is compared, the temperature warning level, temperature change coefficient, and night insulation coefficient are calculated respectively, and corresponding cooling or insulation methods are adopted according to different temperature warning levels, temperature change coefficients and night insulation coefficients.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of greenhouse temperature intelligent early warning, and in particular to a greenhouse temperature intelligent early warning method and system based on big data monitoring. Background Art

[0002] As an indispensable part of modern agriculture, greenhouses have not only changed the production model of traditional agriculture, but also promoted agricultural modernization and agricultural technological innovation. With the development of science and technology, intelligence has become an important way to improve greenhouse production efficiency and quality. Smart greenhouse technology uses advanced information technology to monitor and adjust the crop growth environment. In traditional greenhouses, farmers rely on manual observation and experience to adjust the temperature, which is not only time-consuming and labor-intensive, but also difficult to accurately control. Modern intelligent early warning systems can monitor various environmental variables in the greenhouse in real time, collect data including temperature, wind speed, light, carbon dioxide concentration, etc. through sensors installed in the greenhouse, analyze these data using big data, and monitor and warn of temperature.

[0003] In the prior art, publication number CN117391482B discloses an intelligent early warning method and system for greenhouse temperature based on big data monitoring, including obtaining real-time monitoring data of greenhouse temperature and greenhouse crop data, obtaining historical greenhouse temperature data and historical greenhouse crop data, and obtaining greenhouse temperature prediction data based on local meteorological information, greenhouse temperature prediction model and real-time monitoring data of greenhouse temperature. The present invention uses the K nearest neighbor algorithm to eliminate abnormal values ​​in the historical temperature data of the greenhouse, so as to avoid large greenhouse temperature prediction errors in the future. By evaluating the temperature impact on greenhouse crops and setting the temperature threshold, it is ensured that the abnormal greenhouse temperature is warned in time. By visualizing the real-time greenhouse temperature monitoring data and the greenhouse temperature control information, it is judged whether the greenhouse temperature control is normal, and the abnormal crops and waste of electricity resources caused by abnormal temperature control are avoided. However, due to the completely different environmental changes during the day and at night, the internal temperature of the greenhouse is affected in different ways. During the day, the greenhouse absorbs sunlight, and at night, due to the lower ambient temperature, the greenhouse temperature is cooled by radiating heat outwards. In addition, the temperature requirements of crops during the day and at night are also different. Therefore, the present invention is not suitable for early warning of the temperature of crops in the two environments.

[0004] The above information disclosed in this Background section is only for enhancement of understanding of the background of the present disclosure and therefore it may contain information that does not constitute the prior art that is already known to one of ordinary skill in the art. Summary of the invention

[0005] The purpose of the present invention is to provide a greenhouse temperature intelligent early warning method and system based on big data monitoring to solve the problems raised in the above background technology.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] A greenhouse temperature intelligent early warning method and system based on big data monitoring, the specific steps include:

[0008] Step 1: Collect real-time temperature data from multiple locations inside the greenhouse to be regulated, calculate the overall temperature value of the greenhouse at the current moment, obtain the suitable growth temperature range of crops inside the greenhouse, compare it with the current overall temperature value of the greenhouse, calculate the temperature warning level of the greenhouse, warn the greenhouse temperature according to the temperature warning level, and adjust the overall temperature of the greenhouse according to the warning level;

[0009] Step 2: respectively obtain the dynamic data of greenhouse environment changes to be regulated and the static parameter data of the greenhouse at the same time in the historical data as the initial data, pre-process the initial data, and form a dynamic sample set and a static sample set respectively;

[0010] Step 3: Establish a temperature prediction model for the greenhouse to be regulated, and then use the obtained dynamic sample set, static sample set and the historical overall temperature data of the corresponding greenhouse to be regulated at the same time as the input samples and output samples of the greenhouse temperature prediction model, respectively, to train the model;

[0011] Step 4: Obtain the future dynamic data and current static parameter data of the greenhouse to be regulated as the input data of the temperature prediction model, estimate the overall temperature of the greenhouse in the future time period, and calculate the overall temperature change coefficient of the greenhouse in the future time period based on the overall temperature data of the greenhouse at the current moment, the greenhouse temperature adjustment rate, and the temperature range of crop growth, and adjust the temperature in advance according to the temperature change coefficient;

[0012] Step 5: According to the temperature data outside the greenhouse to be regulated, the temperature data inside the greenhouse, the thermal conductivity of the greenhouse materials, and the coverage rate of the greenhouse materials, a nighttime cooling model for the greenhouse to be regulated is established, and the temperature data of the nighttime weather forecast of the area where the greenhouse to be regulated is located is input into the nighttime cooling model to predict the overall temperature data of the greenhouse at night;

[0013] Step 6: Based on the overall temperature data of the greenhouse predicted by the nighttime cooling model, compare it with the suitable temperature range for the growth of crops planted in the greenhouse at night, calculate the nighttime insulation coefficient of the greenhouse to be regulated, and adjust the nighttime temperature of the greenhouse according to the nighttime insulation coefficient.

[0014] Furthermore, the method for calculating the overall temperature value of the greenhouse at the current moment is:

[0015] in, is the overall temperature of the greenhouse, For the greenhouse The real-time temperature value at is a positive integer;

[0016] The calculation formula for calculating the temperature warning level of the greenhouse is:

[0017] in, is the temperature warning level, is the maximum temperature suitable for crop growth. is the minimum temperature range suitable for crop growth. is the overall temperature of the greenhouse, is the natural logarithm constant;

[0018] when When the overall temperature of the greenhouse is normal, no warning is given and no temperature adjustment is performed;

[0019] when When the overall temperature of the greenhouse exceeds the upper limit of the suitable growth temperature of crops, an over-temperature warning is issued and the temperature is lowered;

[0020] when When the overall temperature of the greenhouse exceeds the lower limit of the suitable growth temperature of crops, a low temperature warning is issued and thermal insulation adjustment is carried out;

[0021] in, is the low temperature warning level threshold, It is the high temperature warning level threshold.

[0022] Furthermore, the dynamic data of the environmental changes of the greenhouse to be regulated include light intensity data, wind speed data, temperature data, shading rate data, carbon dioxide concentration data and humidity data;

[0023] The static parameter data of the greenhouse to be regulated include the heat preservation rate of the greenhouse film material, the surface area of ​​the greenhouse film and the greenhouse temperature regulation rate;

[0024] The method for acquiring greenhouse dynamic data is as follows: the greenhouse dynamic data is acquired every ten minutes, and a timestamp is printed on the acquired data. The acquisition time is combined with the growth cycle of the planted crops.

[0025] Furthermore, the specific method for preprocessing the initial data is:

[0026] in, They are dynamic sample set, static sample set and historical overall temperature data of the greenhouse. are the minimum values ​​of the dynamic sample set, static sample set and the overall historical temperature data of the greenhouse, They are the maximum values ​​in the dynamic sample set, static sample set and the historical overall temperature data of the greenhouse.

[0027] Furthermore, the greenhouse temperature prediction model to be regulated is an LSTM neural network temperature prediction model, which consists of three gates, namely a forget gate, an input gate and an output gate. , and , the output is and ;

[0028] The equation of the forget gate is:

[0029] in, is the current switch state of the forget gate, represents the sigmoid function, is the forget gate weight, is the forget gate bias parameter, is the hidden state at the previous moment, Input switch for current data;

[0030] Determine how much of the unit state at the previous moment needs to be retained to the current moment;

[0031] The equation for the input gate is:

[0032] in, is the current switch state of the input gate, represents the sigmoid function, is the input gate weight, is the input gate bias parameter, is the output hidden state of the previous moment, It is the static sample set and dynamic sample set data of greenhouse data;

[0033] in, Candidate cell states, To represent the hyperbolic tangent function, is the candidate cell weight, is the candidate cell state bias parameter, is the hidden state at the previous moment, Input switch for current data;

[0034] Determine how much of the network's input data needs to be saved to the unit state at the current moment;

[0035] The update equation is:

[0036] in, Current cell state, is the cell state at the previous moment;

[0037] The output gate equation is:

[0038] , in, is the current switch state of the output gate, represents the sigmoid function, is the output gate weight, is the output gate bias parameter, is the hidden state at the previous moment, Input switch for current data, It is the overall temperature data of the greenhouse;

[0039] Controls how much of the current cell state needs to be output to the current output value.

[0040] Furthermore, the light intensity data, wind speed data, and temperature data in the future dynamic data are obtained according to the weather forecast of the location of the greenhouse, and the shading rate data, carbon dioxide concentration data, and humidity data are calculated according to the current data;

[0041] The calculation formula for calculating the overall temperature change coefficient of the greenhouse in the future time period is:

[0042]

[0043] in, is the overall temperature variation coefficient, is the overall temperature of the greenhouse at the current moment, The overall temperature of the greenhouse in the next hour. is the maximum temperature suitable for crop growth. is the minimum temperature range suitable for crop growth. The temperature adjustment rate for the greenhouse, is the natural logarithm constant;

[0044] The method of regulating the temperature of the greenhouse is as follows:

[0045] when When the temperature of the greenhouse is normal, no temperature adjustment is required;

[0046] when When the overall temperature of the greenhouse exceeds the upper limit of the suitable growth temperature of crops, the temperature is lowered;

[0047] when When the overall temperature of the greenhouse exceeds the lower limit of the suitable growth temperature of crops, insulation adjustment is performed;

[0048] in, is the low temperature coefficient warning threshold, is the high temperature coefficient warning threshold.

[0049] Furthermore, the nighttime cooling model of the greenhouse to be regulated is established:

[0050] in, is the thermal conductivity of the greenhouse structural material, is the Stefan–Boltzmann constant, is the surface area of ​​greenhouse film covering, and are the surface temperatures inside and outside the greenhouse, is the external convection heat transfer coefficient, which depends on the air flow and surface characteristics, is the vertical gradient of the surface temperature inside and outside the greenhouse, It is the distance vertical to the greenhouse film covering surface.

[0051] Furthermore, the formula for calculating the nighttime thermal insulation coefficient of the greenhouse to be regulated is:

[0052] in, is the night insulation coefficient, is the current overall temperature of the greenhouse, The overall greenhouse temperature predicted for the next hour at night, is the maximum temperature suitable for the growth of crops at night. It is the minimum temperature range suitable for the growth of crops at night. The temperature adjustment rate for the greenhouse, is the natural logarithm constant;

[0053] The method for regulating the night temperature of the greenhouse is as follows:

[0054] when When the temperature of the greenhouse is normal, no adjustment is required;

[0055] when When the overall temperature of the greenhouse exceeds the upper limit of the nighttime growth temperature of crops, the temperature is lowered;

[0056] when When the overall temperature of the greenhouse exceeds the lower limit of the nighttime suitable growth temperature for crops, insulation adjustment is performed;

[0057] in, is the low temperature warning threshold, is the high temperature warning threshold.

[0058] The present invention further provides a greenhouse temperature intelligent early warning system based on big data monitoring, the early warning system is used to execute the above-mentioned greenhouse temperature intelligent early warning method based on big data monitoring, including:

[0059] A weather receiving module, which is used to receive weather forecast data of the area where the greenhouse is located, including light intensity data, wind speed data and temperature data;

[0060] A data acquisition module, which is used to collect temperature data, shading rate data, carbon dioxide concentration data and humidity data at various locations inside the greenhouse;

[0061] The controller module is used to obtain data from the meteorological receiving module, the data acquisition module and the data management module, calculate the overall temperature of the greenhouse, and predict the temperature inside the greenhouse in the future time period and the temperature at night, and calculate the temperature warning level, temperature change coefficient, and night insulation coefficient respectively. According to different temperature warning levels, temperature change coefficients and night insulation coefficients, the greenhouse is cooled or kept warm;

[0062] The data management module is used to save the dynamic data collected by the meteorological receiving module and the data acquisition module, and to build a greenhouse temperature prediction model and a greenhouse nighttime cooling model to predict the temperature;

[0063] An equipment management module, which is used to manage static parameter data of the greenhouse and input information of crops planted in the greenhouse;

[0064] An early warning module, which is used to issue different early warning modes according to the control instructions issued by the controller module;

[0065] The temperature regulating module is used to control different cooling and heat preservation equipment to adopt different regulating modes according to the control instructions issued by the controller module.

[0066] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention obtains real-time temperature data at multiple locations inside the greenhouse, calculates the overall temperature value of the greenhouse at the current moment, obtains dynamic data of greenhouse environmental changes and various static parameter data of the greenhouse, establishes a greenhouse temperature prediction model and a greenhouse night cooling model, and predicts the overall temperature of the greenhouse for the daytime temperature and the nighttime temperature according to the future meteorological forecast obtained. At the same time, according to the suitable growth temperature range of crops during the day and at night and the comparison with the real-time overall temperature of the greenhouse, the temperature warning level, temperature change coefficient, and night insulation coefficient are calculated respectively, and different cooling or insulation methods are adopted according to different temperature warning levels, temperature change coefficients and night insulation coefficients. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 It is a schematic diagram of the overall method flow of the present invention;

[0068] Figure 2It is a schematic diagram of the overall system structure of the present invention. DETAILED DESCRIPTION

[0069] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.

[0070] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0071] Example:

[0072] See also Figure 1 , the present invention provides a technical solution:

[0073] A greenhouse temperature intelligent early warning method based on big data monitoring, the specific steps include:

[0074] Step 1: Collect real-time temperature data from multiple locations inside the greenhouse to be regulated, and calculate the overall temperature value of the greenhouse at the current moment, obtain the suitable growth temperature range of crops inside the greenhouse, compare it with the current overall temperature value of the greenhouse, calculate the temperature warning level of the greenhouse, issue a warning for the greenhouse temperature according to the temperature warning level, and adjust the overall temperature of the greenhouse according to the warning level.

[0075] Due to the influence of the environment, the temperature of each place inside the greenhouse is different. The top of the greenhouse receives direct sunlight radiation and absorbs more heat, so it is usually the area with the highest temperature during the day. However, the ground inside the greenhouse may be hotter during the day. However, when the ground is directly exposed to the warm sun, the ground usually absorbs and retains a certain amount of heat. The ground temperature of the greenhouse will rise at night. Therefore, it is not rigorous to collect single or a small amount of greenhouse temperature data. When the inside of the greenhouse is taken as a whole temperature, the overall temperature needs to be calculated. The real-time temperature data of multiple places inside the greenhouse is obtained by installing temperature sensors inside the greenhouse, 20 cm from the ground, 2 meters apart, and on the top of the greenhouse, 20 cm from the greenhouse film, and 2 meters apart. The suitable growth temperature range of crops inside the greenhouse is based on different crop varieties. By consulting agricultural experts or agricultural technicians, they usually have rich experience and professional knowledge and can provide data on the suitable growth temperature of different varieties of crops in different regions.

[0076] In this embodiment, the method for calculating the overall temperature value of the greenhouse at the current moment is:

[0077] in, is the overall temperature of the greenhouse, For the greenhouse The real-time temperature value at Is a positive integer.

[0078] The calculation formula for calculating the temperature warning level of the greenhouse is:

[0079] in, is the temperature warning level, is the maximum temperature suitable for crop growth. is the minimum temperature range suitable for crop growth. is the overall temperature of the greenhouse, is the natural logarithm constant.

[0080] when When the overall temperature of the greenhouse is normal, no warning is given and no temperature adjustment is performed;

[0081] when When the overall temperature of the greenhouse exceeds the upper limit of the suitable growth temperature of crops, an over-temperature warning is issued and the temperature is lowered;

[0082] when When the overall temperature of the greenhouse exceeds the lower limit of the suitable growth temperature of crops, a low temperature warning is issued and thermal insulation adjustment is carried out;

[0083] in, is the low temperature warning level threshold, It is the high temperature warning level threshold.

[0084] Greenhouses are used to grow crops and provide them with a suitable growth temperature. Therefore, when the temperature inside the greenhouse is too high or too low, it is not conducive to the growth of crops. Therefore, it is necessary to warn the temperature inside the greenhouse. The temperature warning level , used to warn the temperature inside the greenhouse. For positive time, The larger the temperature, the higher the temperature inside the greenhouse. It is necessary to start cooling equipment to cool the greenhouse. When it is negative, The larger the value, the lower the temperature inside the greenhouse, and the insulation equipment needs to be started to insulate the greenhouse.

[0085] Step 2: Obtain the dynamic data of greenhouse environmental changes to be regulated and the static parameter data of the greenhouse at the same time in the historical data as the initial data, pre-process the initial data, and form a dynamic sample set and a static sample set respectively.

[0086] There are many factors that affect the temperature of the greenhouse, including the external environment, internal environment, and the greenhouse's own structure and materials. Some factors are in dynamic change, and some factors are fixed parameters or change very little. Therefore, dividing the data into dynamic data and static parameter data according to whether the data changes can effectively count and analyze the data and reduce the amount of data calculation when predicting temperature.

[0087] In this embodiment, the dynamic data of the environmental changes of the greenhouse to be regulated include light intensity data, wind speed data, temperature data, shading rate data, carbon dioxide concentration data and humidity data; the static parameter data of the greenhouse to be regulated include the thermal insulation rate of the greenhouse covering material, the surface area of ​​the greenhouse covering and the greenhouse temperature adjustment rate; the method for acquiring the dynamic data of the greenhouse is as follows: the dynamic data of the greenhouse is acquired every ten minutes, and the acquired data is printed with a timestamp, and the acquisition time is combined with the growth cycle of the crops planted.

[0088] Since the dynamic data of the greenhouse is in a state of constant change, the longer the acquisition time interval is, the more difficult it is to describe the change pattern. The smaller the acquisition time interval is, the more difficult it is to process the data. Therefore, a time length of ten minutes can both clearly describe the change pattern and reduce the amount of calculation for data processing.

[0089] In order to unify the dimension of data, improve the training efficiency of the model, and optimize the neural network model, the data needs to be normalized. Data normalization is to scale the data sample set proportionally so that the data falls within the range of [0, 1]. The mean of the processed data is 0 and it obeys a normal distribution with a variance of 1. Normalization can effectively provide high-quality data sets, improve training efficiency, shorten training time, and allow the model to better learn data features.

[0090] In this embodiment, the specific method for preprocessing the initial data is:

[0091] in, They are dynamic sample set, static sample set and historical overall temperature data of the greenhouse. are the minimum values ​​of the dynamic sample set, static sample set and the overall historical temperature data of the greenhouse, They are the maximum values ​​in the dynamic sample set, static sample set and the historical overall temperature data of the greenhouse.

[0092] Step 3: Establish a temperature prediction model for the greenhouse to be regulated, and then use the obtained dynamic sample set, static sample set and the corresponding historical overall temperature data of the greenhouse to be regulated at the same time as the input samples and output samples of the greenhouse temperature prediction model to train the model.

[0093] The temperature inside the greenhouse is affected by many factors, including daily changes, meteorological changes, and internal environment. The LSTM network can effectively capture long-term dependencies through its long-term and short-term memory units, indicating that it can use temperature changes over a long period of time in the past to predict future trends without being affected by the short-term memory limitations of traditional neural networks. LSTM can integrate and process multiple data sources, including temperature sensor data, meteorological data, greenhouse structural parameters, etc. By comprehensively analyzing these external factors, LSTM can provide more comprehensive and accurate temperature prediction results, and adjust the prediction results according to the latest observation data and changes in the external environment. This real-time and adaptability makes it very suitable for dynamically changing greenhouse environments.

[0094] In this embodiment, the greenhouse temperature prediction model to be regulated is an LSTM neural network temperature prediction model, which consists of three gates, namely a forget gate, an input gate, and an output gate. , and , the output is and ;

[0095] The equation of the forget gate is:

[0096] in, is the current switch state of the forget gate, represents the sigmoid function, is the forget gate weight, is the forget gate bias parameter, is the hidden state at the previous moment, Input switch for current data;

[0097] The forget gate receives the output information of the previous step And the input of this step , and for the cell state Each number in outputs a value between 0 and 1, denoted as When the output number is 1, the data is completely retained, and when the output number is 0, the data is deleted. The function of the forget gate is to selectively forget the information of the cell state in the previous step and determine how much of the cell state at the previous moment needs to be retained to the current moment.

[0098] The equation for the input gate is:

[0099] in, is the current switch state of the input gate, represents the sigmoid function, is the input gate weight, is the input gate bias parameter, is the output hidden state of the previous moment, It is the static sample set and dynamic sample set data of greenhouse data.

[0100] in, Candidate cell states, To represent the hyperbolic tangent function, is the candidate cell weight, is the candidate cell state bias parameter, is the hidden state at the previous moment, The current data input switch determines how much of the network's input data needs to be saved to the unit state at the current moment.

[0101] The update equation is:

[0102] in, Current cell state, is the cell state at the previous moment.

[0103] Indicates the last information Degree of forgetfulness, Indicates that the candidate value The degree of addition, this step removes the old information, adds new information, and finally obtains the state of the cell .

[0104] The output gate equation is:

[0105] , in, is the current switch state of the output gate, represents the sigmoid function, is the output gate weight, is the output gate bias parameter, is the hidden state at the previous moment, Input switch for current data, For the overall temperature data of the greenhouse, control how much of the current unit state needs to be output to the current output value.

[0106] Step 4: Obtain the future dynamic data and current static parameter data of the greenhouse to be controlled as the input data of the temperature prediction model, estimate the overall temperature of the greenhouse in the future time period, and calculate the temperature change coefficient of the greenhouse in the future time period based on the overall temperature data of the greenhouse at the current moment, the greenhouse temperature adjustment rate, and the crop growth temperature range, and adjust the temperature in advance according to the temperature change coefficient.

[0107] In this embodiment, the light intensity data, wind speed data, and temperature data in the future dynamic data are obtained according to the weather forecast of the location of the greenhouse, and the shading rate data, carbon dioxide concentration data, and humidity data are calculated according to the current data.

[0108] The calculation formula for calculating the overall temperature change coefficient of the greenhouse in the future time period is:

[0109] in, is the overall temperature variation coefficient, is the overall temperature of the greenhouse at the current moment, The overall temperature of the greenhouse in the next hour. is the maximum temperature suitable for crop growth. is the minimum temperature range suitable for crop growth. The temperature adjustment rate for the greenhouse, is the natural logarithm constant.

[0110] The method of regulating the temperature of the greenhouse is as follows:

[0111] when When the temperature of the greenhouse is normal, no temperature adjustment is required;

[0112] when When the overall temperature of the greenhouse exceeds the upper limit of the suitable growth temperature of crops, the temperature is lowered;

[0113] when When the overall temperature of the greenhouse exceeds the lower limit of the suitable growth temperature of crops, insulation adjustment is performed;

[0114] in, is the low temperature coefficient warning threshold, is the high temperature coefficient warning threshold.

[0115] The temperature variation coefficient reflects the greenhouse's ability to regulate temperature in the future. When the temperature coefficient exceeds a certain safety threshold, it means that the temperature in the future exceeds the greenhouse's future regulation capacity, and the greenhouse needs to be adjusted in advance. By extending the greenhouse's temperature regulation time, the ability to increase temperature regulation can be achieved. When the temperature variation coefficient is less than the low temperature coefficient warning threshold When the temperature change coefficient is greater than the high temperature coefficient warning threshold, it indicates that the temperature adjustment capacity has been exceeded and insulation adjustment is required in advance. When the temperature exceeds the temperature regulation capacity, it needs to be lowered in advance.

[0116] Step 5: Based on the temperature data outside the greenhouse to be regulated, the temperature data inside the greenhouse, the thermal conductivity of the greenhouse materials, and the coverage rate of the greenhouse materials, a night cooling model for the greenhouse to be regulated is established, and the temperature data of the night weather forecast for the area where the greenhouse to be regulated is located is input into the night cooling model to predict the overall temperature data of the greenhouse at night.

[0117] The temperature inside the greenhouse is one of the important factors affecting the growth and development of crops. The change in temperature at night is particularly critical for many crops, because too low or too high temperature may affect their growth rate and quality. By establishing a night cooling model, the temperature change trend inside the greenhouse at night can be predicted, helping agricultural managers to adjust temperature control equipment and control ventilation to maintain the most suitable growth environment. The night cooling model provides a scientific basis and data support to help agricultural managers make more accurate and scientific decisions. There is a lack of light sources at night, so the temperature change at night is mainly a heat transfer process. A mathematical model of heat transfer is established based on the temperature difference between inside and outside the greenhouse, the thermal conductivity of the greenhouse material, and the surface area of ​​the greenhouse.

[0118] In this embodiment, the nighttime cooling model of the greenhouse to be regulated is established:

[0119] in, is the thermal conductivity of the greenhouse structural material, is the Stefan–Boltzmann constant, is the surface area of ​​greenhouse film covering, and are the surface temperatures inside and outside the greenhouse, is the external convection heat transfer coefficient, which depends on the air flow and surface characteristics, is the vertical gradient of the surface temperature inside and outside the greenhouse, It is the distance vertical to the greenhouse film covering surface.

[0120] Step 6: Based on the overall temperature data of the greenhouse predicted by the nighttime cooling model, compare it with the suitable temperature range for the growth of crops planted in the greenhouse at night, calculate the nighttime insulation coefficient of the greenhouse to be regulated, and adjust the nighttime temperature of the greenhouse according to the nighttime insulation coefficient.

[0121] In this embodiment, the formula for calculating the nighttime thermal insulation coefficient of the greenhouse to be regulated is:

[0122]

[0123] in, is the night insulation coefficient, is the current overall temperature of the greenhouse, The overall greenhouse temperature predicted for the next hour at night, is the maximum temperature suitable for the growth of crops at night. It is the minimum temperature range suitable for the growth of crops at night. The temperature adjustment rate for the greenhouse, is the natural logarithm constant.

[0124] The method for regulating the night temperature of the greenhouse is as follows:

[0125] when When the temperature of the greenhouse is normal, no adjustment is required;

[0126] when When the overall temperature of the greenhouse exceeds the upper limit of the nighttime growth temperature of crops, the temperature is lowered;

[0127] when When the overall temperature of the greenhouse exceeds the lower limit of the nighttime suitable growth temperature for crops, insulation adjustment is performed;

[0128] in, is the low temperature warning threshold, is the high temperature warning threshold.

[0129] The night insulation coefficient reflects the greenhouse's ability to regulate the temperature at night. When the insulation temperature coefficient exceeds a certain safety threshold, it means that the future night temperature exceeds the greenhouse's future regulation capacity, and the greenhouse needs to be adjusted in advance. By extending the greenhouse's temperature regulation time, the ability to increase temperature regulation can be achieved. When the night insulation coefficient is less than the night low temperature warning threshold , indicating that the future time at night exceeds its thermal insulation adjustment capacity and thermal insulation adjustment is required in advance. When the night thermal insulation coefficient is greater than the night high temperature warning threshold , indicating that the future time at night exceeds its thermal insulation and regulation capacity, and cooling adjustment is required in advance.

[0130] See also Figure 2 The present invention also provides a greenhouse temperature intelligent early warning system based on big data monitoring, and the early warning system is used to execute the above-mentioned greenhouse temperature intelligent early warning method based on big data monitoring, including:

[0131] A weather receiving module, which is used to receive weather forecast data of the area where the greenhouse is located, including light intensity data, wind speed data and temperature data;

[0132] A data acquisition module, which is used to collect temperature data, shading rate data, carbon dioxide concentration data and humidity data at various locations inside the greenhouse;

[0133] The controller module is used to obtain data from the meteorological receiving module, the data acquisition module and the data management module, calculate the overall temperature of the greenhouse, and predict the temperature inside the greenhouse in the future time period and the temperature at night, and calculate the temperature warning level, temperature change coefficient, and night insulation coefficient respectively. According to different temperature warning levels, temperature change coefficients and night insulation coefficients, the greenhouse is cooled or kept warm;

[0134] The data management module is used to save the dynamic data collected by the meteorological receiving module and the data acquisition module, and to build a greenhouse temperature prediction model and a greenhouse nighttime cooling model to predict the temperature;

[0135] An equipment management module, which is used to manage static parameter data of the greenhouse and input information of crops planted in the greenhouse;

[0136] An early warning module, which is used to issue different early warning modes according to the control instructions issued by the controller module;

[0137] The temperature regulating module is used to control different cooling and heat preservation equipment to adopt different regulating modes according to the control instructions issued by the controller module.

[0138] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.

[0139] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product. Those skilled in the art may appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein may be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software methods depends on the specific application and design constraints of the technical solution.

[0140] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0141] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A greenhouse temperature intelligent early warning method based on big data monitoring, characterized in that: The specific steps include: Step 1: Collect real-time temperature data from multiple locations inside the greenhouse to be regulated, calculate the overall temperature value of the greenhouse at the current moment, obtain the suitable growth temperature range of crops inside the greenhouse, compare it with the current overall temperature value of the greenhouse, calculate the temperature warning level of the greenhouse, issue a warning for the greenhouse temperature according to the temperature warning level, and adjust the overall temperature of the greenhouse according to the warning level; Step 2: respectively obtain the dynamic data of greenhouse environment changes to be regulated and the static parameter data of the greenhouse at the same time in the historical data as the initial data, pre-process the initial data, and form a dynamic sample set and a static sample set respectively; Step 3: Establish a temperature prediction model for the greenhouse to be regulated, and then use the obtained dynamic sample set, static sample set and the historical overall temperature data of the corresponding greenhouse to be regulated at the same time as the input samples and output samples of the greenhouse temperature prediction model, respectively, to train the model; Step 4: Obtain the future dynamic data and current static parameter data of the greenhouse to be regulated as the input data of the temperature prediction model, estimate the overall temperature of the greenhouse in the future time period, and calculate the overall temperature change coefficient of the greenhouse in the future time period based on the overall temperature data of the greenhouse at the current moment, the greenhouse temperature adjustment rate, and the temperature range of crop growth, and adjust the temperature in advance according to the temperature change coefficient; Step 5: According to the temperature data outside the greenhouse to be regulated, the temperature data inside the greenhouse, the thermal conductivity of the greenhouse materials, and the coverage rate of the greenhouse materials, a nighttime cooling model for the greenhouse to be regulated is established, and the temperature data of the nighttime weather forecast of the area where the greenhouse to be regulated is located is input into the nighttime cooling model to predict the overall temperature data of the greenhouse at night; Step 6: Based on the overall temperature data of the greenhouse predicted by the nighttime cooling model, the temperature is compared with the suitable temperature range for the growth of crops planted in the greenhouse at night, and the nighttime insulation coefficient of the greenhouse to be regulated is calculated, and the nighttime temperature of the greenhouse is adjusted according to the nighttime insulation coefficient; The dynamic data of the environmental changes of the greenhouse to be regulated include light intensity data, wind speed data, temperature data, shading rate data, carbon dioxide concentration data and humidity data; The static parameter data of the greenhouse to be regulated include the heat preservation rate of the greenhouse film material, the surface area of ​​the greenhouse film and the greenhouse temperature regulation rate; The method for acquiring greenhouse dynamic data is as follows: the greenhouse dynamic data is acquired every ten minutes, and the acquired data is stamped with a timestamp, and the acquisition time is combined with the growth cycle of the planted crops; The greenhouse temperature prediction model to be regulated is an LSTM neural network temperature prediction model, which consists of three gates, namely, a forget gate, an input gate, and an output gate. , and , the output is and ; The equation of the forget gate is: in, is the current switch state of the forget gate, represents the sigmoid function, is the forget gate weight, is the forget gate bias parameter, is the hidden state at the previous moment, Input switch for current data; Determine how much of the unit state at the previous moment needs to be retained to the current moment; The equation for the input gate is: in, is the current switch state of the input gate, represents the sigmoid function, is the input gate weight, is the input gate bias parameter, is the output hidden state of the previous moment, It is the static sample set and dynamic sample set data of greenhouse data; in, is the candidate cell state, To represent the hyperbolic tangent function, is the candidate cell weight, is the candidate cell state bias parameter, is the hidden state at the previous moment, Input switch for current data; Determine how much of the network's input data needs to be saved to the unit state at the current moment; The update equation is; in, Current cell state, is the cell state at the previous moment; The output gate equation is: in, is the current switch state of the output gate, represents the sigmoid function, is the output gate weight, is the output gate bias parameter, is the hidden state at the previous moment, Input switch for current data, It is the overall temperature data of the greenhouse; Control how much of the current unit status needs to be output to the current greenhouse overall temperature data; The nighttime cooling model for the greenhouse to be regulated is established: in, is the thermal conductivity of the greenhouse structural material, is the Stefan–Boltzmann constant, is the surface area of ​​greenhouse film covering, and are the surface temperatures inside and outside the greenhouse, is the external convection heat transfer coefficient, which depends on the air flow and surface characteristics, is the vertical gradient of the surface temperature inside and outside the greenhouse, It is the distance vertical to the greenhouse film covering surface.

2. According to claim 1, a greenhouse temperature intelligent early warning method based on big data monitoring is characterized in that: The method for calculating the overall temperature value of the greenhouse at the current moment is: in, is the overall temperature of the greenhouse, For the greenhouse The real-time temperature value at is a positive integer; The calculation formula for calculating the temperature warning level of the greenhouse is: in, is the temperature warning level, is the maximum temperature suitable for crop growth. is the minimum temperature range suitable for crop growth. is the overall temperature of the greenhouse, is the natural logarithm constant; when When the overall temperature of the greenhouse is normal, no warning is given and no temperature adjustment is performed; when When the overall temperature of the greenhouse exceeds the upper limit of the suitable growth temperature of crops, an over-temperature warning is issued and the temperature is lowered; when When the overall temperature of the greenhouse exceeds the lower limit of the suitable growth temperature of crops, a low temperature warning is issued and thermal insulation adjustment is carried out; in, is the low temperature warning level threshold, It is the high temperature warning level threshold.

3. According to claim 1, a greenhouse temperature intelligent early warning method based on big data monitoring is characterized in that: The specific method for preprocessing the initial data is: in, They are dynamic sample set, static sample set and historical overall temperature data of the greenhouse. are the minimum values ​​of the dynamic sample set, static sample set and the overall historical temperature data of the greenhouse, They are the maximum values ​​in the dynamic sample set, static sample set and the historical overall temperature data of the greenhouse.

4. According to claim 1, a greenhouse temperature intelligent early warning method based on big data monitoring is characterized in that: The light intensity data, wind speed data, and temperature data in the future dynamic data are obtained according to the weather forecast of the location of the greenhouse, and the shading rate data, carbon dioxide concentration data, and humidity data are calculated according to the data values ​​of the shading rate data, carbon dioxide concentration data, and humidity data at the current moment; The calculation formula for calculating the overall temperature change coefficient of the greenhouse in the future time period is: in, is the overall temperature variation coefficient, is the overall temperature of the greenhouse at the current moment, The overall temperature of the greenhouse in the next hour. is the maximum temperature suitable for crop growth. is the minimum temperature range suitable for crop growth. The temperature adjustment rate for the greenhouse, is the natural logarithm constant; The method of regulating the temperature of the greenhouse is as follows: when When the temperature of the greenhouse is normal, no temperature adjustment is required; when When the overall temperature of the greenhouse exceeds the upper limit of the suitable growth temperature of crops, the temperature is lowered; when When the overall temperature of the greenhouse exceeds the lower limit of the suitable growth temperature of crops, insulation adjustment is performed; in, is the low temperature coefficient warning threshold, is the high temperature coefficient warning threshold.

5. The greenhouse temperature intelligent early warning method based on big data monitoring according to claim 1 is characterized by: The formula for calculating the nighttime thermal insulation coefficient of the greenhouse to be regulated is: in, is the night insulation coefficient, is the current overall temperature of the greenhouse, The overall greenhouse temperature predicted for the next hour at night, is the maximum temperature suitable for the growth of crops at night. It is the minimum temperature range suitable for the growth of crops at night. The temperature adjustment rate for the greenhouse, is the natural logarithm constant; The method for regulating the night temperature of the greenhouse is as follows: when When the temperature of the greenhouse is normal at night, no adjustment is made; when When the night temperature of the greenhouse exceeds the upper limit of the night temperature suitable for the growth of crops, the temperature is lowered; when When the night temperature of the greenhouse exceeds the lower limit of the night temperature suitable for the growth of crops, insulation adjustment is performed; in, is the night low temperature warning threshold, It is the nighttime high temperature warning threshold.

6. An intelligent early warning system for greenhouse temperature based on big data monitoring, characterized by: The early warning system is used to execute the greenhouse temperature intelligent early warning method based on big data monitoring according to any one of claims 1 to 5, comprising: A meteorological receiving module, wherein the meteorological receiving module is used to receive meteorological forecast data of the area where the greenhouse is located, including light intensity data, wind speed data and temperature data of the area where the greenhouse is located; A data acquisition module, which is used to collect temperature data, shading rate data, carbon dioxide concentration data and humidity data at various locations inside the greenhouse; The controller module is used to obtain data from the meteorological receiving module, the data acquisition module and the data management module, calculate the overall temperature of the greenhouse, and predict the temperature inside the greenhouse in the future time period and the temperature at night, and calculate the temperature warning level, temperature change coefficient, and night insulation coefficient respectively. According to different temperature warning levels, temperature change coefficients and night insulation coefficients, the greenhouse is cooled or kept warm; The data management module is used to save the dynamic data collected by the meteorological receiving module and the data acquisition module, and to build a greenhouse temperature prediction model and a greenhouse nighttime cooling model to predict the temperature; An equipment management module, which is used to manage static parameter data of the greenhouse and input information of crops planted in the greenhouse; An early warning module, which is used to issue different early warning modes according to the control instructions issued by the controller module; The temperature regulating module is used to control different cooling and heat preservation equipment to adopt different regulating modes according to the control instructions issued by the controller module.

Citation Information

Patent Citations

  • A greenhouse temperature intelligent early warning method and system based on big data monitoring

    CN117391482B

  • Greenhouse environment control system

    CN114489200A

  • Solar greenhouse temperature prediction method based on FAM-LSTM network

    CN116187551A