Intelligent irrigation method and system
Through the combination of the multi-task SwinRNN model and the 3D convolutional neural network-long short-term memory network, the problems of uneven irrigation and insufficient accuracy are solved, and efficient water resources management of the intelligent irrigation system is achieved and corn yield is increased.
Patent Information
- Application Number
- CN202411026001.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-30
AI Technical Summary
Traditional irrigation methods lead to uneven irrigation and insufficient irrigation accuracy, which wastes water resources. The existing intelligent irrigation system has low prediction accuracy and low operating efficiency, and cannot provide the most suitable growth humidity environment according to the needs of different crops.
The multi-task SwinRNN model is combined with the 3D convolutional neural network-long short-term memory network to accurately predict soil moisture and crop yield through soil sensors and remote sensing image data. Iteratively adjusts the control valve to achieve intelligent irrigation, and uses the Gaussian analysis disturbance module and fuzzy inference processes to improve prediction accuracy and adaptability.
It has increased corn yield per unit area by more than 20%, saved irrigation water by more than 50%, ensured that soil moisture always meets crop growth requirements, and improved agricultural production efficiency and resource utilization.
Smart Images

Figure CN118556592B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent irrigation, and in particular to an intelligent irrigation method and system. Background Art
[0002] In today's agricultural practice, artificial irrigation faces multiple severe challenges, and this situation needs to be changed urgently to improve production efficiency and resource utilization. First, the problem of uneven irrigation is extremely prominent. Traditional artificial irrigation methods rely on the experience and arbitrariness of workers, which makes it difficult to evenly distribute irrigation water to the root zone of crops. Some areas may accumulate water due to excessive irrigation, resulting in limited soil drainage capacity and lack of oxygen in plant roots. This situation is not only prone to disease, but also may cause plant root rot. In contrast, other areas are dry due to insufficient water supply, soil hardening and nutrient loss, which seriously affect the uniform growth and overall health of crops. Secondly, the lack of irrigation accuracy is also an important factor restricting agricultural production efficiency. Traditional irrigation methods rely on farmers' experience and judgment and imprecise irrigation patterns, and lack the ability to accurately monitor and predict soil moisture. Irrigation strategies often cannot adapt to the different growth periods and specific needs of crops, which leads to excessive or untimely irrigation. Excessive irrigation not only wastes precious water resources, but also may lead to soil salinization, while insufficient irrigation restricts crop growth, reduces yields or even dies. In addition, the problem of agricultural water waste is becoming increasingly serious, placing a greater burden on areas that are already suffering from water shortages. In many areas, the scarcity of water resources and the high cost of irrigation make these problems more prominent. In traditional irrigation methods, a large amount of water is wasted due to unnecessary evaporation, leakage and surface runoff. This waste problem is particularly serious in large-scale planting environments, which not only increases production costs, but also has a negative impact on the environment. The long-term high water consumption model poses a threat to the stability of regional ecosystems.
[0003] Current AI irrigation systems still have significant flaws, with the main problems including low prediction accuracy, low operational efficiency, and the inability to provide the most ideal growth humidity environment according to crop needs. First, existing systems are not accurate enough in predicting soil moisture and future meteorological conditions. This is because most of them rely on simple machine learning algorithms and limited data sets, and cannot fully capture complex factors such as microclimate changes, soil type differences, and crop root distribution. This lack of accuracy often makes it difficult for irrigation measures to respond to crop needs in a timely or accurate manner, thus affecting the effectiveness of irrigation and the healthy growth of crops. In addition, these systems are not efficient, data processing and decision-making processes are time-consuming, and actual irrigation efficiency is low. Although it is called "smart irrigation", the current system still relies heavily on human intervention in many cases, and the degree of automation has not yet reached the expected level. This not only increases management costs, but also limits the feasibility of large-scale application. More importantly, current AI irrigation systems usually use general irrigation parameters and strategies, and lack refined management for different crops and their various growth stages. This means that they cannot provide the most suitable growth humidity environment according to the actual yield requirements of different crops, limiting the yield potential of crops. For example, different crops have significantly different water requirements at different growth stages, but the existing system cannot make targeted adjustments, which ultimately leads to a waste of water resources and a decrease in crop yields. It is particularly noteworthy that the current artificial intelligence irrigation systems are mostly based on simple deep learning networks, such as LSTM and RNN. Although these simple networks can perform basic soil moisture predictions, they cannot fully capture the complex variable relationships related to soil moisture, such as the permeability of different soil types, subtle changes in local climate conditions, etc. In addition, these networks usually only predict soil moisture and ignore the prediction of crop yields, which leads to obvious limitations in optimizing irrigation strategies and cannot comprehensively improve agricultural production efficiency. Summary of the invention
[0004] The object of the present invention is to provide an intelligent irrigation method and system to solve the problems raised in the above background technology.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] An intelligent irrigation method, comprising:
[0007] Acquire crop information and layout information of drip irrigation lines, create an irrigation area map in combination with the boundaries of the irrigation area, and determine drip irrigation points; install control valves and soil sensors at the drip irrigation points;
[0008] Acquire soil moisture and soil temperature at the current moment based on soil sensors, and acquire meteorological parameters based on weather services; the meteorological parameters include temperature, precipitation, relative humidity, cloudiness, and evaporation;
[0009] Input the current soil moisture, soil temperature and meteorological parameters into the trained multi-task SwinRNN model to obtain the predicted soil moisture value at the future moment;
[0010] Obtain remote sensing images, input the remote sensing images and the predicted soil moisture values at future times into the trained 3D convolutional neural network-long short-term memory network model to obtain the predicted yield;
[0011] Feed the predicted yield back to the multi-task SwinRNN model and iterate until the predicted yield reaches the maximum value. Adjust the control valve according to the predicted soil moisture value when the predicted yield reaches the maximum value.
[0012] Among them, the multi-task SwinRNN model is provided with a disturbance module based on Gaussian analysis, and the 3D convolutional neural network-long short-term memory network model is provided with a fuzzy reasoning process, the input of the fuzzy reasoning process is the output of the 3D convolutional neural network, and the output of the fuzzy reasoning process is the input of the long short-term memory network model.
[0013] As a further solution of the present invention, the step of obtaining crop information and layout information of drip irrigation lines, creating an irrigation area map in combination with the boundaries of the irrigation area, and determining the drip irrigation points includes:
[0014] Receive irrigation area boundaries input by users and create an irrigation area map;
[0015] Collect crop types and crop locations, and mark crop areas on irrigation area maps;
[0016] Obtain the location of the recorded drip irrigation lines and insert the irrigation lines into the irrigation area map;
[0017] Select drip irrigation points on irrigation routes based on marked crop areas;
[0018] The selection rules of the drip irrigation points are:
[0019] Select points according to the preset intervals, calculate the selection value of each point, and when the selection value is greater than the preset threshold, select the point as the drip irrigation point; the calculation formula for the selection value is: ; In the formula, Select the value, It is a point in a circle with a radius of R and with this point as the center on the irrigation area map. The value at Related to crop type; It is the number of other drip irrigation points in the circle with radius R centered at this point in the irrigation area map.
[0020] As a further solution of the present invention: the step of inputting the soil moisture and soil temperature at the current moment and the meteorological parameters into the trained multi-task SwinRNN model to obtain the predicted value of soil moisture at the future moment comprises:
[0021] Setting the perturbation module based on the variational autoencoder;
[0022] Learn the Gaussian distribution in the input soil moisture data;
[0023] Randomly sample noise from the perturbation module to perform feature perturbations on the multi-task SwinRNN model;
[0024] Adding noise follows the formula:
[0025] ;
[0026] Represents the original input data after preprocessing; Represents the Gaussian distribution of the corresponding data.
[0027] As a further solution of the present invention: the step of acquiring remote sensing images, inputting the remote sensing images and the predicted soil moisture value at a future time into a trained 3D convolutional neural network-long short-term memory network model, and obtaining the predicted yield includes:
[0028] Acquire remote sensing images and extract the features of remote sensing images in spatial dimension based on 3D convolutional neural network;
[0029] Analyze the characteristics of different bands in the remote sensing image to extract the spatial characteristics of the crop; the spatial characteristics include soil moisture and vegetation coverage;
[0030] When the crop growth is at a preset critical stage, the extracted spatial features are input into the fuzzy reasoning component, and the output of the fuzzy reasoning component is input into the long short-term memory network model to obtain the predicted yield;
[0031] When crop growth does not reach the preset critical stage, the extracted spatial features are input into the long short-term memory network model to obtain the predicted yield.
[0032] As a further solution of the present invention: the working process of the fuzzy reasoning component is:
[0033] Fuzzification:
[0034] ,in, is the membership function of the input x in the fuzzy set A, and are the center and radius of the fuzzy set A respectively;
[0035] Rule Evaluation: ; Membership functions are used in fuzzy rules to represent the conditional part, where A1 and A2 are fuzzy sets of input variables x1 and x2, and B is the fuzzy set of the result variable y;
[0036] Aggregation: Combining the results of multiple fuzzy rules: ,In fuzzy logic, the aggregation method is the maximum-minimum synthesis;
[0037] Defuzzification: Using the centroid method: .
[0038] As a further solution of the present invention: the step of feeding back the predicted yield to the multi-task SwinRNN model, iterating in a loop until the predicted yield reaches a maximum value, and adjusting the control valve according to the predicted soil moisture value when the predicted yield reaches the maximum value comprises:
[0039] Compare the predicted yield with the preset optimal yield to determine the adjustment direction of the predicted soil moisture value;
[0040] The predicted soil moisture value is adjusted based on the adjustment direction and the preset adjustment step size, and the multi-task SwinRNN model and the 3D convolutional neural network-long short-term memory network model are input to obtain the predicted yield;
[0041] The cycle is executed until the predicted output reaches the maximum value;
[0042] The predicted soil temperature value corresponding to when the predicted yield reaches the maximum value is read, and the control valve is adjusted based on the read predicted soil temperature value.
[0043] The technical solution of the present invention also provides an intelligent irrigation system, the system comprising:
[0044] A drip irrigation point determination module is used to obtain crop information and layout information of drip irrigation lines, create an irrigation area map in combination with the boundaries of the irrigation area, and determine the drip irrigation points; control valves and soil sensors are installed at the drip irrigation points;
[0045] A meteorological parameter acquisition module is used to obtain soil moisture and soil temperature at the current moment based on soil sensors, and to obtain meteorological parameters based on weather services; the meteorological parameters include temperature, precipitation, relative humidity, cloudiness, and evaporation;
[0046] The humidity prediction module is used to input the current soil humidity, soil temperature and meteorological parameters into the trained multi-task SwinRNN model to obtain the predicted soil humidity value at the future moment;
[0047] The yield prediction module is used to obtain remote sensing images, input the remote sensing images and the predicted soil moisture values at future times into the trained 3D convolutional neural network-long short-term memory network model to obtain the predicted yield;
[0048] The irrigation regulation module is used to feed back the predicted yield to the multi-task SwinRNN model, iterate in a loop until the predicted yield reaches the maximum value, and adjust the control valve according to the predicted soil moisture value when the predicted yield reaches the maximum value;
[0049] Among them, the multi-task SwinRNN model is provided with a disturbance module based on Gaussian analysis, and the 3D convolutional neural network-long short-term memory network model is provided with a fuzzy reasoning process, the input of the fuzzy reasoning process is the output of the 3D convolutional neural network, and the output of the fuzzy reasoning process is the input of the long short-term memory network model.
[0050] As a further solution of the present invention: the drip irrigation point determination module includes:
[0051] A map creation unit, used for receiving the irrigation area boundary input by the user and creating an irrigation area map;
[0052] Crop area marking unit, used to collect crop types and crop locations, and mark crop areas in irrigation area maps;
[0053] A line insertion unit is used to obtain the location of the recorded drip irrigation line and insert the irrigation line into the irrigation area map;
[0054] A drip irrigation point selection unit, used to select drip irrigation points on the irrigation line based on the marked crop area;
[0055] The selection rules of the drip irrigation points are:
[0056] Select points according to the preset intervals, calculate the selection value of each point, and when the selection value is greater than the preset threshold, select the point as the drip irrigation point; the calculation formula for the selection value is: ; In the formula, Select the value, It is a point in a circle with a radius of R and with this point as the center on the irrigation area map. The value at Related to crop type; It is the number of other drip irrigation points in the circle with radius R centered at this point in the irrigation area map.
[0057] As a further solution of the present invention: the humidity prediction module includes:
[0058] A disturbance setting unit, used for setting a disturbance module based on a variational autoencoder;
[0059] A learning unit for learning the Gaussian distribution in the input soil moisture data;
[0060] The perturbation execution unit is used to randomly sample noise from the perturbation module to perform feature perturbations on the multi-task SwinRNN model;
[0061] Adding noise follows the formula:
[0062] ;
[0063] Represents the original input data after preprocessing; Represents the Gaussian distribution of the corresponding data.
[0064] As a further solution of the present invention: the yield prediction module includes:
[0065] A first feature extraction unit is used to obtain a remote sensing image and extract features of the remote sensing image in a spatial dimension based on a 3D convolutional neural network;
[0066] A second feature extraction unit is used to analyze the features of different bands in the remote sensing image and extract the spatial features of the crop; the spatial features include soil moisture and vegetation coverage;
[0067] The first application unit is used for inputting the extracted spatial features into the fuzzy reasoning component when the crop growth is at a preset key stage, and inputting the output of the fuzzy reasoning component into the long short-term memory network model to obtain the predicted yield;
[0068] The second application unit is used to input the extracted spatial features into the long short-term memory network model to obtain the predicted yield when the crop growth does not reach the preset key stage.
[0069] Compared with the prior art, the beneficial effect of the present invention is that compared with the traditional irrigation strategy, the new system of the present invention achieves an increase of more than 20% in corn yield per unit area. This is due to the intelligent software accurately regulating the moisture conditions in the root zone of corn at each growth stage, ensuring that the corn is always in the best growth environment. In addition, by real-time monitoring of soil moisture data and accurate scheduling of irrigation water, the system has greatly saved more than 50% of irrigation water, effectively avoiding over-irrigation and waste of water resources in traditional irrigation methods. The intelligent software also enhances the reliability and stability of the system, can monitor meteorological changes and crop status in real time, and adjust the irrigation plan in time to ensure that soil moisture always meets the requirements for corn growth under various environmental conditions. Through these improvements, the intelligent software management system not only improves corn yield and water use efficiency, but also provides strong technical support for greenhouse management, demonstrating the huge potential and economic benefits brought by the application of modern agricultural science and technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention.
[0071] Figure 1 The flowchart of the intelligent irrigation method is shown in FIG.
[0072] Figure 2 This is the first sub-process flow chart of the intelligent irrigation method.
[0073] Figure 3 This is a second sub-process flowchart of the intelligent irrigation method.
[0074] Figure 4 This is the third sub-process flowchart of the intelligent irrigation method.
[0075] Figure 5 This is the fourth sub-process flowchart of the intelligent irrigation method.
[0076] Figure 6 This is the architecture diagram of the smart irrigation system. DETAILED DESCRIPTION
[0077] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0078] Figure 1 The flowchart of the intelligent irrigation method is shown in FIG. 1 . In an embodiment of the present invention, an intelligent irrigation method is provided, and the method includes:
[0079] Step S100: Acquire crop information and layout information of drip irrigation lines, create an irrigation area map in combination with the boundaries of the irrigation area, and determine drip irrigation points; install control valves and soil sensors at the drip irrigation points;
[0080] Crop information indicates which crops are planted in which area, drip irrigation pipelines indicate the path of the irrigation pipes, and the boundaries of the irrigation area are the boundaries of the crop areas that need irrigation. This information can be represented by a map, called an irrigation area map. By identifying the irrigation area map, some points can be selected on the pipeline for installing control valves and soil sensors. The control valve is an actuator used to control whether irrigation is performed. Generally, it only includes two states, open and closed. More complex control valves can adjust the size of the opening. The soil sensor is used to obtain soil data, including soil temperature and soil moisture.
[0081] Step S200: obtaining soil moisture and soil temperature at the current moment based on the soil sensor, and obtaining meteorological parameters based on the weather service;
[0082] Based on the soil sensor, the soil moisture and soil temperature at the current moment can be obtained, and the weather service can be used to obtain the meteorological parameters for a period of time in the future. The meteorological parameters include at least temperature, precipitation, relative humidity, cloudiness and evaporation, and of course, other parameters can also be included.
[0083] Step S300: input the soil moisture, soil temperature and meteorological parameters at the current moment into the trained multi-task SwinRNN model to obtain the predicted soil moisture value at the future moment;
[0084] Step S400: acquiring a remote sensing image, and inputting the remote sensing image and the predicted soil moisture value at a future time into a trained 3D convolutional neural network-long short-term memory network model to obtain a predicted yield;
[0085] Step S500: Feedback the predicted yield to the multi-task SwinRNN model, iterate in a loop until the predicted yield reaches a maximum value, and adjust the control valve according to the predicted value of soil moisture when the predicted yield reaches the maximum value;
[0086] Among them, the multi-task SwinRNN model is provided with a disturbance module based on Gaussian analysis, and the 3D convolutional neural network-long short-term memory network model is provided with a fuzzy reasoning process, the input of the fuzzy reasoning process is the output of the 3D convolutional neural network, and the output of the fuzzy reasoning process is the input of the long short-term memory network model.
[0087] In order to facilitate the explanation of the above content, this application limits the crop to corn, and describes the entire scheme using corn as an example:
[0088] The accuracy of soil moisture prediction and corn yield forecast is crucial for agricultural production. If only traditional time series models or single deep learning models are used, the uncertainty of input variables and data noise may lead to low prediction accuracy, which is difficult to meet actual needs. This system successfully solves these problems by integrating variational autoencoders (VAE), SwinRNN models, 3DCNN, LSTM and Cross-Stitch information sharing units, greatly improving the accuracy of medium-range soil moisture prediction and corn yield forecast, and realizing the optimization of intelligent irrigation strategies.
[0089] Specifically, the technical solution of the present invention uses a multi-task SwinRNN model to process multiple variables related to soil moisture. This model can not only process multiple variables simultaneously, but also capture potential dependencies in high-dimensional data space, thereby achieving high-precision prediction of soil moisture. During this processing stage, the system will continuously learn and adjust parameters through the model, and finally produce accurate soil moisture prediction values. Next, these prediction results will be input into an integrated model based on fuzzy reasoning and 3D convolutional neural network-long short-term memory network (3DCNN-LSTM).
[0090] The integrated model combines the advantages of fuzzy logic and deep learning. By analyzing the current predicted soil moisture, it can make an accurate prediction of corn yield. This process involves multiple layers of processing and calculation to ensure the high accuracy and reliability of the prediction results. Once the preliminary prediction results of corn yield are obtained, the system will feed these results back to the soil moisture prediction module. The feedback process is an iterative fine-tuning stage. In this stage, the soil moisture prediction model will be further optimized and adjusted according to the crop yield prediction results, and the process will be iterated repeatedly until the optimal result of corn yield is obtained. This iterative process can ensure that the overall system finds an optimal balance between various variables and achieves the optimal match between soil moisture and corn yield. Finally, when the system determines the best soil moisture prediction value and corn yield prediction results, it will adjust the irrigation strategy based on these results. The system will provide an optimized irrigation plan for the farmland to ensure that the soil moisture is within an optimal range, thereby supporting the highest yield of corn. Through such a closed-loop optimization process, the system can make intelligent irrigation decisions and improve the overall crop production efficiency and yield.
[0091] The present invention can comprehensively consider key natural factors such as temperature, precipitation, and soil moisture evapotranspiration to achieve highly accurate soil moisture prediction. By integrating advanced sensors and data acquisition technology, the system can accurately monitor real-time data in the field, and combine multivariate data analysis models to accurately capture soil moisture change trends. Not only that, the function of this intelligent system is not limited to soil moisture prediction, but also has the ability to predict crop yields based on the soil moisture conditions at the current stage. By building a complex crop growth model, the system can accurately quantify the relationship between soil moisture and crop growth and yield. This means that the system can not only determine the best irrigation strategy, but also reversely determine the optimal soil moisture conditions at the current stage based on the estimated crop yield. This two-way feedback mechanism not only improves the accuracy of soil moisture prediction, but also greatly improves the management and optimization capabilities of crop yields. Specifically, this intelligent irrigation system can continuously monitor and adjust irrigation strategies to ensure that soil moisture is always in the most favorable range for crop yields. For example, during corn planting, the system can adjust the irrigation volume in real time to ensure that soil moisture is optimized, thereby promoting the best growth conditions for crops. This intelligent and refined management method has greatly promoted the intelligence and efficiency of agricultural production by reducing water waste and increasing crop yields. In summary, the intelligent irrigation system of the present invention overcomes many limitations of existing systems through accurate prediction and optimized management, significantly improves agricultural production efficiency and resource utilization, and demonstrates great application potential and development prospects.
[0092] Figure 2 This is a first sub-process flowchart of the intelligent irrigation method. The steps of obtaining crop information and layout information of drip irrigation lines, creating an irrigation area map in combination with the boundaries of the irrigation area, and determining the drip irrigation points include:
[0093] Step S101: receiving the irrigation area boundary input by the user and creating an irrigation area map;
[0094] Step S102: collecting crop types and crop locations, and marking crop areas in the irrigation area map;
[0095] Step S103: Obtain the location of the recorded drip irrigation line and insert the irrigation line into the irrigation area map;
[0096] Step S104: selecting drip irrigation points on the irrigation route based on the marked crop areas;
[0097] The above content describes in detail the process of determining the drip irrigation point, receiving the irrigation area boundary input by the user, creating an irrigation area map as a template; collecting crop types and crop locations, and marking the crop areas in the irrigation area map. This process can also be collected by a preset user-oriented information receiving module (the user only needs to input in the information receiving module), or by a visual module such as a drone. After collecting the crop type and crop location, the crop area can be marked in the irrigation area map.
[0098] Obtain the location of the registered drip irrigation pipeline and insert the irrigation line into the irrigation area map. This process is equivalent to the path drawing process in the map and is not complicated.
[0099] The focus of the above content is the process of selecting drip irrigation points. The selection rules of the drip irrigation points are:
[0100] Select points according to the preset intervals, calculate the selection value of each point, and when the selection value is greater than the preset threshold, select the point as the drip irrigation point; the calculation formula for the selection value is: ; In the formula, Select the value, It is a point in a circle with a radius of R and with this point as the center on the irrigation area map. The value at Related to crop type; It is the number of other drip irrigation points in the circle with radius R centered at this point in the irrigation area map.
[0101] Regarding the above selected values, for a certain point, a value can be determined by the crop type in a circle with a radius of R and the point as the center. When there is no crop, it is set to zero. The value is proportional to the water demand of the crop type. This means that the more crops with high water demand there are around a certain point, the higher the selected value. On this basis, if there are other points in the circle that have been selected as drip irrigation points, the selected value will be low, which can prevent the drip irrigation points from clustering.
[0102] Figure 3 The second sub-process flowchart of the intelligent irrigation method includes the steps of inputting the soil moisture, soil temperature and meteorological parameters at the current moment into the trained multi-task SwinRNN model to obtain the predicted value of soil moisture at the future moment:
[0103] Step S301: Setting a perturbation module based on a variational autoencoder;
[0104] Step S302: learning the Gaussian distribution in the input soil moisture data;
[0105] Step S303: Randomly sample noise from the perturbation module to perform feature perturbation on the multi-task SwinRNN model.
[0106] Steps S301 to S303 are improvements to the multi-task SwinRNN model. This application uses the multi-task SwinRNN model to process multiple variables related to soil moisture. The SwinRNN model has the following characteristics:
[0107] Multitasking capability: Ability to process multiple input variables simultaneously.
[0108] High-dimensional data capture capability: Ability to capture potential dependencies in high-dimensional data space.
[0109] High-precision prediction: Produce accurate soil moisture prediction values by continuously learning and adjusting model parameters.
[0110] On this basis, this application uses multi-task learning to improve prediction accuracy: soil evapotranspiration and other data are introduced into the model as auxiliary tasks, and the prediction accuracy of soil moisture is further improved by utilizing the potential data information between multiple variables. The SwinRNN model is used to process complex time series data and perform multi-task learning to improve the model's comprehensive understanding and accuracy of soil moisture information.
[0111] Using variational autoencoders to build feature perturbation modules: The system uses variational autoencoders (VAEs) to design a perturbation module, learn the Gaussian distribution in the input soil moisture data, and randomly sample noise from it to perform feature perturbations on SwinRNN to form a highly diverse ensemble forecast. This process aims to improve the accuracy of soil moisture forecasts for the next 7-15 days and solve the problem of forecast accuracy caused by the uncertainty of the dependent variable.
[0112] Among them, adding noise follows the formula:
[0113] ;
[0114] Represents the original input data after preprocessing; Represents the Gaussian distribution of the corresponding data.
[0115] Figure 4 This is a third sub-process flowchart of the intelligent irrigation method. The steps of acquiring remote sensing images, inputting the remote sensing images and the predicted soil moisture values at future moments into the trained 3D convolutional neural network-long short-term memory network model, and obtaining the predicted yield include:
[0116] Step S401: acquiring a remote sensing image, and extracting features of the remote sensing image in a spatial dimension based on a 3D convolutional neural network;
[0117] Step S402: Analyze the characteristics of different bands in the remote sensing image to extract the spatial characteristics of the crop; the spatial characteristics include soil moisture and vegetation coverage;
[0118] Step S403: when the crop growth is at a preset critical stage, the extracted spatial features are input into the fuzzy reasoning component, and the output of the fuzzy reasoning component is input into the long short-term memory network model to obtain the predicted yield;
[0119] Step S404: When the crop growth does not reach the preset key stage, the extracted spatial features are input into the long short-term memory network model to obtain the predicted yield.
[0120] Steps S401 to S404 specifically describe the working process of the 3D convolutional neural network-long short-term memory network model, using 3DCNN to capture spatial information in remote sensing images and combining LSTM to capture the long-term dependence of time series during corn growth. Through the connection of the two, the temporal and spatial information and band information in the data can be accurately captured, ensuring that the model can fully understand and process the complexity of the data.
[0121] Fuzzy reasoning to deal with uncertainty: For the key stages of corn growth (asexual reproduction stage and reproductive growth stage), fuzzy reasoning methods are used to deal with the uncertainty of external factors (such as soil moisture, land salinity, etc.) on yield forecasts, thereby achieving accurate forecasts of corn yields.
[0122] Specifically, the working process of the fuzzy reasoning component is:
[0123] Fuzzification:
[0124] ,in, is the membership function of the input x in the fuzzy set A, and are the center and radius of the fuzzy set A respectively;
[0125] Rule Evaluation: ; Membership functions are used in fuzzy rules to represent the conditional part, where A1 and A2 are fuzzy sets of input variables x1 and x2, and B is the fuzzy set of the result variable y;
[0126] Aggregation: Combining the results of multiple fuzzy rules: ,In fuzzy logic, the aggregation method is the maximum-minimum synthesis;
[0127] Defuzzification: Using the centroid method: .
[0128] In a preferred embodiment of the technical solution of the present invention, the Cross-Stitch information sharing unit realizes model linking and information sharing: by introducing the Cross-Stitch information sharing unit, the improved SwinRNN model (for soil moisture prediction) and the 3DCNN-LSTM model (for corn yield prediction) are effectively combined to form an integrated intelligent system. The unit realizes information sharing and feedback between different models to ensure the comprehensiveness and accuracy of the prediction results.
[0129] Optimization and management of intelligent irrigation strategies: Make intelligent irrigation strategy adjustments based on the corn yield forecast results and future soil moisture information in the integrated system. By accurately controlling the root zone moisture conditions required for corn growth, the optimal growth environment for corn at each growth stage is ensured, thereby optimizing irrigation strategies, increasing yields and reducing resource waste.
[0130] Figure 5 The fourth sub-process flowchart of the intelligent irrigation method includes the following steps: feeding back the predicted yield to the multi-task SwinRNN model, iterating in a loop until the predicted yield reaches a maximum value, and adjusting the control valve according to the predicted soil moisture value when the predicted yield reaches the maximum value:
[0131] Step S501: comparing the predicted yield with the preset optimal yield to determine the adjustment direction of the predicted soil moisture value;
[0132] Step S502: adjusting the predicted soil moisture value based on the adjustment direction and the preset adjustment step length, inputting the multi-task SwinRNN model and the 3D convolutional neural network-long short-term memory network model to obtain the predicted yield;
[0133] Step S503: loop execution until the predicted output reaches the maximum value;
[0134] Step S504: reading the predicted soil temperature value corresponding to when the predicted yield reaches the maximum value, and adjusting the control valve based on the read predicted soil temperature value.
[0135] The predicted yield is compared with the preset optimal yield to determine the adjustment direction of the predicted soil moisture value. The adjustment direction refers to whether to increase or decrease the predicted soil moisture value. The predicted soil moisture value is adjusted based on the adjustment direction and the preset adjustment step size. The multi-task SwinRNN model and the 3D convolutional neural network-long short-term memory network model are input to obtain the predicted yield. The adjustment step size indicates how much to adjust at a time, which can be expressed as a percentage, such as 1%. Steps S501 and S502 are executed repeatedly until the predicted yield reaches a maximum value. The predicted yield reaching a maximum value means that the difference between the predicted yield and the optimal yield is less than a preset threshold.
[0136] Read the predicted soil temperature value corresponding to when the predicted yield reaches the maximum value, and adjust the control valve based on the read predicted soil temperature value. The specific adjustment process will not be repeated in this application. It should be noted that the adjustment process can generally only increase the humidity, that is, when the humidity is low, open the control valve for irrigation.
[0137] Figure 6 : is an architecture diagram of an intelligent irrigation system. In an embodiment of the present invention, an intelligent irrigation system, the system 10 includes:
[0138] The drip irrigation point determination module 11 is used to obtain crop information and layout information of the drip irrigation pipeline, create an irrigation area map in combination with the boundaries of the irrigation area, and determine the drip irrigation points; control valves and soil sensors are installed at the drip irrigation points;
[0139] A meteorological parameter acquisition module 12 is used to acquire soil moisture and soil temperature at the current moment based on soil sensors, and to acquire meteorological parameters based on weather services; the meteorological parameters include temperature, precipitation, relative humidity, cloudiness, and evaporation;
[0140] The humidity prediction module 13 is used to input the soil humidity and soil temperature at the current moment and the meteorological parameters into the trained multi-task SwinRNN model to obtain the predicted value of soil humidity at the future moment;
[0141] The yield prediction module 14 is used to obtain remote sensing images, input the remote sensing images and the predicted soil moisture value at a future time into the trained 3D convolutional neural network-long short-term memory network model, and obtain the predicted yield;
[0142] The irrigation regulation module 15 is used to feed back the predicted yield to the multi-task SwinRNN model, iterate in a loop until the predicted yield reaches a maximum value, and adjust the control valve according to the predicted soil moisture value when the predicted yield reaches the maximum value;
[0143] Among them, the multi-task SwinRNN model is provided with a disturbance module based on Gaussian analysis, and the 3D convolutional neural network-long short-term memory network model is provided with a fuzzy reasoning process, the input of the fuzzy reasoning process is the output of the 3D convolutional neural network, and the output of the fuzzy reasoning process is the input of the long short-term memory network model.
[0144] Furthermore, the drip irrigation point determination module 11 includes:
[0145] A map creation unit, used for receiving the irrigation area boundary input by the user and creating an irrigation area map;
[0146] Crop area marking unit, used to collect crop types and crop locations, and mark crop areas in irrigation area maps;
[0147] A line insertion unit is used to obtain the location of the recorded drip irrigation line and insert the irrigation line into the irrigation area map;
[0148] A drip irrigation point selection unit, used to select drip irrigation points on the irrigation line based on the marked crop area;
[0149] The selection rules of the drip irrigation points are:
[0150] Select points according to the preset intervals, calculate the selection value of each point, and when the selection value is greater than the preset threshold, select the point as the drip irrigation point; the calculation formula for the selection value is: ; In the formula, Select the value, It is a point in a circle with a radius of R and with this point as the center on the irrigation area map. The value at Related to crop type; It is the number of other drip irrigation points in the circle with radius R centered at this point in the irrigation area map.
[0151] Specifically, the humidity prediction module 13 includes:
[0152] A disturbance setting unit, used for setting a disturbance module based on a variational autoencoder;
[0153] A learning unit for learning the Gaussian distribution in the input soil moisture data;
[0154] The perturbation execution unit is used to randomly sample noise from the perturbation module to perform feature perturbations on the multi-task SwinRNN model;
[0155] Adding noise follows the formula:
[0156] ;
[0157] Represents the original input data after preprocessing; Represents the Gaussian distribution of the corresponding data.
[0158] Furthermore, the production prediction module 14 includes:
[0159] A first feature extraction unit is used to obtain a remote sensing image and extract features of the remote sensing image in a spatial dimension based on a 3D convolutional neural network;
[0160] A second feature extraction unit is used to analyze the features of different bands in the remote sensing image and extract the spatial features of the crop; the spatial features include soil moisture and vegetation coverage;
[0161] The first application unit is used for inputting the extracted spatial features into the fuzzy reasoning component when the crop growth is at a preset key stage, and inputting the output of the fuzzy reasoning component into the long short-term memory network model to obtain the predicted yield;
[0162] The second application unit is used to input the extracted spatial features into the long short-term memory network model to obtain the predicted yield when the crop growth does not reach the preset key stage.
[0163] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An intelligent irrigation method, characterized in that: The method comprises: Acquire crop information and layout information of drip irrigation lines, create an irrigation area map in combination with the boundaries of the irrigation area, and determine drip irrigation points; install control valves and soil sensors at the drip irrigation points; Acquire soil moisture and soil temperature at the current moment based on soil sensors, and acquire meteorological parameters based on weather services; the meteorological parameters include temperature, precipitation, relative humidity, cloudiness, and evaporation; Input the current soil moisture, soil temperature and meteorological parameters into the trained multi-task SwinRNN model to obtain the predicted soil moisture value at the future moment; Obtain remote sensing images, input the remote sensing images and the predicted soil moisture values at future times into the trained 3D convolutional neural network-long short-term memory network model to obtain the predicted yield; Feed the predicted yield back to the multi-task SwinRNN model and iterate until the predicted yield reaches the maximum value. Adjust the control valve according to the predicted soil moisture value when the predicted yield reaches the maximum value. The multi-task SwinRNN model is provided with a disturbance module based on Gaussian analysis, the 3D convolutional neural network-long short-term memory network model is provided with a fuzzy reasoning process, the input of the fuzzy reasoning process is the output of the 3D convolutional neural network, and the output of the fuzzy reasoning process is the input of the long short-term memory network model; The steps of obtaining crop information and layout information of drip irrigation lines, creating an irrigation area map in combination with the boundaries of the irrigation area, and determining the drip irrigation points include: Receive irrigation area boundaries input by users and create an irrigation area map; Collect crop types and crop locations, and mark crop areas on irrigation area maps; Obtain the location of the recorded drip irrigation lines and insert the irrigation lines into the irrigation area map; Select drip irrigation points on irrigation routes based on marked crop areas; The selection rules of the drip irrigation points are: Select points according to the preset intervals, calculate the selection value of each point, and when the selection value is greater than the preset threshold, select the point as the drip irrigation point; the calculation formula for the selection value is: ; In the formula, Y selects the value, It is a point in a circle with a radius of R and with this point as the center on the irrigation area map. The value at Related to the crop type; n is the number of other drip irrigation points in the circle with a radius of R centered on the point in the irrigation area map; The step of inputting the soil moisture, soil temperature and meteorological parameters at the current moment into the trained multi-task SwinRNN model to obtain the predicted value of soil moisture at the future moment includes: Setting the perturbation module based on the variational autoencoder; Learn the Gaussian distribution in the input soil moisture data; Randomly sample noise from the perturbation module to perform feature perturbations on the multi-task SwinRNN model; Adding noise follows the formula: ; Represents the original input data after preprocessing; Represents the Gaussian distribution of the corresponding data.
2. The intelligent irrigation method according to claim 1, characterized in that: The steps of acquiring remote sensing images, inputting the remote sensing images and the predicted soil moisture value at a future time into a trained 3D convolutional neural network-long short-term memory network model, and obtaining the predicted yield include: Acquire remote sensing images and extract the features of remote sensing images in spatial dimension based on 3D convolutional neural network; Analyze the characteristics of different bands in the remote sensing image to extract the spatial characteristics of the crop; the spatial characteristics include soil moisture and vegetation coverage; When the crop growth is at a preset critical stage, the extracted spatial features are input into the fuzzy reasoning component, and the output of the fuzzy reasoning component is input into the long short-term memory network model to obtain the predicted yield; When crop growth does not reach the preset critical stage, the extracted spatial features are input into the long short-term memory network model to obtain the predicted yield.
3. The intelligent irrigation method according to claim 2, characterized in that: The working process of the fuzzy reasoning component is: Fuzzification: ,in, is the membership function of the input x in the fuzzy set A, and are the center and radius of the fuzzy set A respectively; Rule Evaluation: ; Membership functions are used in fuzzy rules to represent the conditional part, where A1 and A2 are fuzzy sets of input variables x1 and x2, and B is the fuzzy set of the result variable y; Aggregation: Combining the results of multiple fuzzy rules: ,In fuzzy logic, the aggregation method is the maximum-minimum synthesis; Defuzzification: Using the centroid method: .
4. The intelligent irrigation method according to claim 1, characterized in that: The step of feeding back the predicted yield to the multi-task SwinRNN model, iterating in a loop until the predicted yield reaches a maximum value, and adjusting the control valve according to the predicted soil moisture value when the predicted yield reaches the maximum value includes: Compare the predicted yield with the preset optimal yield to determine the adjustment direction of the predicted soil moisture value; The predicted soil moisture value is adjusted based on the adjustment direction and the preset adjustment step size, and the multi-task SwinRNN model and the 3D convolutional neural network-long short-term memory network model are input to obtain the predicted yield; The cycle is executed until the predicted output reaches the maximum value; The predicted soil temperature value corresponding to when the predicted yield reaches the maximum value is read, and the control valve is adjusted based on the read predicted soil temperature value.
5. An intelligent irrigation system, characterized in that: The system comprises: A drip irrigation point determination module is used to obtain crop information and layout information of drip irrigation lines, create an irrigation area map in combination with the boundaries of the irrigation area, and determine the drip irrigation points; control valves and soil sensors are installed at the drip irrigation points; A meteorological parameter acquisition module is used to obtain soil moisture and soil temperature at the current moment based on soil sensors, and to obtain meteorological parameters based on weather services; the meteorological parameters include temperature, precipitation, relative humidity, cloudiness, and evaporation; The humidity prediction module is used to input the current soil humidity, soil temperature and meteorological parameters into the trained multi-task SwinRNN model to obtain the predicted soil humidity value at the future moment; The yield prediction module is used to obtain remote sensing images, input the remote sensing images and the predicted soil moisture values at future times into the trained 3D convolutional neural network-long short-term memory network model to obtain the predicted yield; The irrigation regulation module is used to feed back the predicted yield to the multi-task SwinRNN model, iterate in a loop until the predicted yield reaches the maximum value, and adjust the control valve according to the predicted soil moisture value when the predicted yield reaches the maximum value; The multi-task SwinRNN model is provided with a disturbance module based on Gaussian analysis, the 3D convolutional neural network-long short-term memory network model is provided with a fuzzy reasoning process, the input of the fuzzy reasoning process is the output of the 3D convolutional neural network, and the output of the fuzzy reasoning process is the input of the long short-term memory network model; The drip irrigation point determination module includes: A map creation unit, used for receiving the irrigation area boundary input by the user and creating an irrigation area map; Crop area marking unit, used to collect crop types and crop locations, and mark crop areas in irrigation area maps; A line insertion unit is used to obtain the location of the recorded drip irrigation line and insert the irrigation line into the irrigation area map; A drip irrigation point selection unit, used to select drip irrigation points on the irrigation line based on the marked crop area; The selection rules of the drip irrigation points are: Select points according to the preset intervals, calculate the selection value of each point, and when the selection value is greater than the preset threshold, select the point as the drip irrigation point; the calculation formula for the selection value is: ; In the formula, Y selects the value, It is a point in a circle with a radius of R and with this point as the center on the irrigation area map. The value at Related to the crop type; n is the number of other drip irrigation points in the circle with a radius of R centered on the point in the irrigation area map; The humidity prediction module comprises: A disturbance setting unit, used for setting a disturbance module based on a variational autoencoder; A learning unit for learning the Gaussian distribution in the input soil moisture data; The perturbation execution unit is used to randomly sample noise from the perturbation module to perform feature perturbations on the multi-task SwinRNN model; Adding noise follows the formula: ; Represents the original input data after preprocessing; Represents the Gaussian distribution of the corresponding data.
6. The intelligent irrigation system according to claim 5, characterized in that: The production forecasting module comprises: A first feature extraction unit is used to obtain a remote sensing image and extract features of the remote sensing image in a spatial dimension based on a 3D convolutional neural network; A second feature extraction unit is used to analyze the features of different bands in the remote sensing image and extract the spatial features of the crop; the spatial features include soil moisture and vegetation coverage; The first application unit is used for inputting the extracted spatial features into the fuzzy reasoning component when the crop growth is at a preset key stage, and inputting the output of the fuzzy reasoning component into the long short-term memory network model to obtain the predicted yield; The second application unit is used to input the extracted spatial features into the long short-term memory network model to obtain the predicted yield when the crop growth does not reach the preset key stage.
