Farmland water and fertilizer rotation irrigation method and device

By meshing and data collection of farmlands, combined with the optimal path algorithm, precise control of farmland water and fertilizer irrigation is achieved, solving the problem of inefficiency of traditional irrigation methods and improving irrigation efficiency and uniformity.

CN119924172APending Publication Date: 2025-05-06BEIJING QDING INTERCONNECTION TECHNOLOGY CO LTD

Patent Information

Application Number
CN202411998360.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The prior art is difficult to achieve accurate matching of farmland water and fertilizer irrigation, resulting in low irrigation efficiency.

Method used

By obtaining the distribution data of farmland, the distribution data of pipelines and solenoid valves, the farmland is divided into multiple grids, identifying the varieties and growth stages of crops, collecting meteorological and soil data, determining the amount of water and fertilizer applied to each grid, and using the optimal path algorithm to generate the irrigation order.

Benefits of technology

It realizes precise control of farmland water and fertilizer irrigation, improves irrigation efficiency, and ensures the efficiency and uniformity of farmland irrigation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119924172A_ABST
    Figure CN119924172A_ABST
Patent Text Reader

Abstract

The invention provides a farmland water and fertilizer rotation irrigation method and device. The method comprises the following steps: acquiring first distribution data of a farmland, second distribution data of pipelines in the farmland and third distribution data of electromagnetic valves; dividing the farmland into a plurality of grids according to the first distribution data, the second distribution data and the third distribution data; identifying varieties and growth stages of crops in the farmland, and collecting meteorological data of an area where the farmland is located and soil data of each grid; determining the water application amount and the fertilization amount of each grid according to the variety, the growth stage, the meteorological data and the soil data and the area of each grid; dividing the plurality of grids into a plurality of rotation irrigation groups according to the position of each grid, the water application amount and the fertilizer application amount; based on the position of each rotational irrigation group, generating an optimal sequence for irrigating each rotational irrigation group by using an optimal path algorithm; sequentially irrigating the grids in each rotation irrigation group according to the optimal sequence. By adopting the technical means, the problem that farmland water and fertilizer cannot be accurately irrigated in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of agricultural technology, and in particular to a method and device for rotating irrigation of farmland water and fertilizer. Background Art

[0002] The large-scale and refined development of modern agriculture has put forward higher requirements for irrigation and fertilization technology. However, the traditional water and fertilizer irrigation on the market is difficult to meet the needs of efficient and precise irrigation. Different crops, different growth stages and regional climates will affect the amount of irrigation. Even crops in different locations within the same farmland have different requirements for water and fertilizer irrigation. Traditional irrigation methods are difficult to accurately match the amount of water and fertilizer required by crops. Summary of the invention

[0003] In view of this, the embodiments of the present application provide a method, device, electronic device and computer-readable storage medium for rotation irrigation of farmland water and fertilizer to solve the problem that farmland water and fertilizer cannot be accurately irrigated in the prior art.

[0004] In a first aspect of an embodiment of the present application, a method for rotational irrigation of farmland with water and fertilizer is provided, comprising: obtaining first distribution data of the farmland, second distribution data of the pipeline in the farmland, and third distribution data of the solenoid valve; dividing the farmland into multiple grids according to the first distribution data, the second distribution data, and the third distribution data; identifying the variety and growth stage of the crops in the farmland, and collecting meteorological data of the area where the farmland is located and soil data of each grid; determining the amount of water and fertilizer applied to each grid according to the variety, growth stage, meteorological data, soil data, and area of ​​each grid; dividing the multiple grids into multiple rotation irrigation groups according to the position, water application amount, and fertilizer application amount of each grid, wherein each rotation irrigation group includes one or more grids; based on the position of each rotation irrigation group, using an optimal path algorithm to generate an optimal order for irrigating each rotation irrigation group; and irrigating the grids in each rotation irrigation group in sequence according to the optimal order.

[0005] According to a second aspect of an embodiment of the present application, a farmland water-fertilizer rotation irrigation device is provided, comprising: an acquisition module, configured to acquire first distribution data of the farmland, second distribution data of the pipeline in the farmland, and third distribution data of the solenoid valve; a first division module, configured to divide the farmland into a plurality of grids according to the first distribution data, the second distribution data, and the third distribution data; an identification module, configured to identify the variety and growth stage of the crops in the farmland, and collect meteorological data of the area where the farmland is located and soil data of each grid; a determination module, configured to determine the amount of water and fertilizer applied to each grid according to the variety, growth stage, meteorological data, soil data and area of ​​each grid; a second division module, configured to divide the plurality of grids into a plurality of rotation irrigation groups according to the position, water application amount and fertilizer application amount of each grid, wherein each rotation irrigation group includes one or more grids; a generation module, configured to generate an optimal order for irrigating each rotation irrigation group based on the position of each rotation irrigation group using an optimal path algorithm; an irrigation module, configured to irrigate the grids in each rotation irrigation group in sequence according to the optimal order.

[0006] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0007] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0008] Compared with the prior art, the embodiments of the present application have the following beneficial effects: obtaining the first distribution data of the farmland, the second distribution data of the pipeline in the farmland, and the third distribution data of the solenoid valve; dividing the farmland into multiple grids according to the first distribution data, the second distribution data, and the third distribution data; identifying the variety and growth stage of the crops in the farmland, collecting the meteorological data of the area where the farmland is located and the soil data of each grid; determining the amount of water and fertilizer applied to each grid according to the variety, growth stage, meteorological data, soil data and area of ​​each grid; dividing the multiple grids into multiple irrigation groups according to the position, water application amount and fertilizer application amount of each grid, wherein each irrigation group contains one or more grids; based on the position of each irrigation group, using the optimal path algorithm to generate the optimal order for irrigating each irrigation group; irrigating the grids in each irrigation group in turn according to the optimal order. The above technical means can solve the problem that the water and fertilizer in the farmland cannot be accurately irrigated in the prior art, thereby improving the efficiency of water and fertilizer irrigation. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0010] Figure 1 It is a schematic diagram of a flow chart of a method for rotating irrigation of farmland water and fertilizer provided in an embodiment of the present application;

[0011] Figure 2 It is a schematic diagram of the process of another method for rotating irrigation of farmland water and fertilizer provided in an embodiment of the present application;

[0012] Figure 3 It is a structural schematic diagram of a farmland water and fertilizer rotation irrigation device provided in an embodiment of the present application;

[0013] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0014] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0015] A method and device for rotation irrigation of farmland water and fertilizer according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.

[0016] Figure 1 It is a flow chart of a method for rotation irrigation of farmland water and fertilizer provided in an embodiment of the present application. Figure 1 The farmland water-fertilizer rotation irrigation method can be executed by a computer or a server, or software on a computer or a server. Figure 1 As shown, the farmland water-fertilizer rotation irrigation method includes:

[0017] S101, obtaining first distribution data of a farmland, second distribution data of a pipeline in the farmland, and third distribution data of a solenoid valve;

[0018] S102, dividing the farmland into a plurality of grids according to the first distribution data, the second distribution data and the third distribution data;

[0019] S103, identifying the varieties and growth stages of crops in the farmland, and collecting meteorological data of the area where the farmland is located and soil data of each grid;

[0020] S104, determining the amount of water and fertilizer to be applied to each grid according to the variety, growth stage, meteorological data, and soil data and area of ​​each grid;

[0021] S105, dividing the plurality of grids into a plurality of rotation irrigation groups according to the position, water application amount and fertilizer application amount of each grid, wherein each rotation irrigation group includes one or more grids;

[0022] S106, based on the positions of the various rotation irrigation groups, using an optimal path algorithm to generate an optimal order for irrigating the various rotation irrigation groups;

[0023] S107, irrigating the grids in each rotation irrigation group in sequence according to the optimal order.

[0024] The first distribution data is data such as the location and area of ​​the farmland, and the second distribution data is data such as the location of the pipeline laid in the farmland, through which the farmland is irrigated. The third distribution data is data such as the location of the solenoid valve set in the farmland, and the solenoid valve serves as an irrigation switch. There are multiple pipelines and multiple solenoid valves in the farmland. According to the first distribution data, the second distribution data and the third distribution data, the farmland can be divided into multiple grids, and one pipeline and one solenoid valve are used to irrigate one or more grids. The pipelines and solenoid valves are evenly distributed among multiple grids as much as possible to improve the irrigation efficiency.

[0025] Meteorological data include wind speed, rainfall, temperature, air humidity, light intensity, etc. Soil data include humidity, temperature, pH value, EC value (Electrical Conductivity), etc. The amount of water and fertilizer applied to each grid is determined according to the variety, growth stage, meteorological data, soil data and area of ​​each grid. The relationship between the variety, growth stage, meteorological data and soil data of each grid and the unit water application (unit fertilizer application) can be obtained by statistically analyzing the historical irrigation data, and then the unit water application (unit fertilizer application) is multiplied by the area of ​​each grid to obtain the water application (fertilizer application). According to the position, water application and fertilizer application of each grid, multiple grids are divided into multiple rotation irrigation groups. Grids in similar positions can be divided together as a rotation irrigation group, and then multiple rotation irrigation groups are adjusted according to the principle that the water application and fertilizer application of each grid in the same rotation irrigation group are similar to obtain the final division result.

[0026] Each irrigation group is taken as a target, and based on the position of each irrigation group, the optimal path algorithm is used to generate the optimal order of irrigation for each irrigation group. This makes the loss of irrigation for each irrigation group the least, which is equivalent to the shortest path traversing each irrigation group. The optimal path algorithm is an existing algorithm and will not be described here. Finally, the grids in each irrigation group are irrigated in turn according to the optimal order.

[0027] In view of the shortcomings of the prior art, the present application proposes an automated water-fertilizer rotation irrigation system, which aims to solve the problems existing in the traditional system through innovations such as precise grid recognition, multi-mode irrigation configuration, intelligent pressure regulation, and abnormal monitoring and recovery. The specific goals include:

[0028] Grid-based precision irrigation: Based on farmland drawings, the area of ​​each grid in the field is accurately identified, and irrigation plans can be configured by quantity or time, and the irrigation quantity or time of each grid can be automatically calculated. Through the rotation irrigation template, the irrigation sequence can be scientifically arranged to ensure the efficiency and uniformity of farmland irrigation.

[0029] Intelligent pressure regulation: By real-time monitoring of the remote pressure of the irrigation system, the pipeline pressure is automatically adjusted to ensure consistent irrigation pressure in different areas of the field, solving the problem of irrigation differences caused by uneven pressure.

[0030] Multi-mode irrigation: Flexibly configure by grid area or irrigation time to provide adaptable solutions for different crops or farmland conditions and improve water and fertilizer utilization efficiency.

[0031] According to the technical solution provided in the embodiment of the present application, the first distribution data of the farmland, the second distribution data of the pipeline in the farmland and the third distribution data of the solenoid valve are obtained; the farmland is divided into multiple grids according to the first distribution data, the second distribution data and the third distribution data; the variety and growth stage of the crops in the farmland are identified, and the meteorological data of the area where the farmland is located and the soil data of each grid are collected; the amount of water and fertilizer applied to each grid is determined according to the variety, growth stage, meteorological data and the soil data and area of ​​each grid; according to the position, water application amount and fertilizer application amount of each grid, the multiple grids are divided into multiple rotation irrigation groups, wherein each rotation irrigation group contains one or more grids; based on the position of each rotation irrigation group, the optimal path algorithm is used to generate the optimal order of irrigating each rotation irrigation group; according to the optimal order, the grids in each rotation irrigation group are irrigated in sequence. The above technical means can solve the problem that farmland water and fertilizer cannot be accurately irrigated in the prior art, thereby improving the efficiency of water and fertilizer irrigation.

[0032] Furthermore, before collecting soil data of each grid, the method also includes: obtaining the coverage of the solenoid valve; and dividing the farmland into a plurality of grids according to the coverage, the first distribution data, the second distribution data and the third distribution data.

[0033] The farmland is divided into multiple grids, and one pipeline and one solenoid valve are used to irrigate one or more grids. The pipelines and solenoid valves are evenly distributed among multiple grids as much as possible, and each grid is within the coverage of the solenoid valve assigned to it, so as to improve the irrigation efficiency.

[0034] Furthermore, identifying the varieties and growth stages of crops in the farmland includes: obtaining images of the crops in the farmland; using a large language model to identify the varieties and growth stages of the crops from the images; wherein the large language model has been trained and can identify the varieties and growth stages of the crops from the images.

[0035] Before using the large language model to identify the varieties and growth stages of crops from images, the training images are input into the large language model to identify the varieties and growth stages of crops in the training images; the loss between the identified varieties and the labeled varieties is calculated, and the loss between the identified growth stages and the labeled growth stages is calculated, and the large language model is optimized based on the loss.

[0036] Furthermore, the amount of water and fertilizer applied for each grid is determined according to the variety, growth stage, meteorological data, soil data and area of ​​each grid, including: determining the unit amount of water and unit amount of fertilizer applied for each grid according to the variety, growth stage, meteorological data and soil data of each grid; calculating the amount of water and fertilizer applied for each grid based on the area, unit amount of water and unit amount of fertilizer applied for each grid.

[0037] The relationship between the variety, growth stage, meteorological data and soil data of each grid and the unit water application amount (unit fertilizer application amount) can be obtained by statistically analyzing the historical irrigation data. The unit water application amount (unit fertilizer application amount) can then be multiplied by the area of ​​each grid to obtain the water application amount (fertilizer application amount).

[0038] Figure 2 Schematic diagram of another method for rotating irrigation of farmland water and fertilizer provided in the embodiment of the present application. Figure 2 As shown, the method includes:

[0039] Execute the following loop:

[0040] S201, determining whether i is greater than N, wherein i is the serial number of the rotation irrigation group, the initial value of i is 1, and N is the number of the rotation irrigation groups;

[0041] S202, when i is greater than N, it is determined that all rotation irrigation groups have been irrigated and the cycle ends;

[0042] S203, when i is less than or equal to N, irrigate the grids in the i-th irrigation group and start timing. When the irrigation duration reaches the target duration, it is determined that the irrigation of the i-th irrigation group is completed, and i is updated with the value of i plus 1, wherein the target duration is calculated based on the water and fertilizer amounts of all grids in the i-th irrigation group and the irrigation flow rate of the solenoid valve.

[0043] The target duration is the sum of the water or fertilizer application amounts of all grids in the i-th irrigation group and the irrigation flow rate of the solenoid valve.

[0044] Furthermore, the grids in each rotation irrigation group are irrigated in turn according to the optimal order, including: for a rotation irrigation group, when the fertilizer application amount of all grids in the rotation irrigation group is zero but the water application amount is not zero, the irrigation pump is started and the water fertilizer machine is turned off: the irrigation amount corresponding to the rotation irrigation group is calculated based on the water application amount of all grids in the rotation irrigation group, the grids in the rotation irrigation group are irrigated and the flow meter is started, and when the value on the flow meter is equal to the irrigation amount corresponding to the rotation irrigation group, it is determined that the irrigation of the rotation irrigation group is completed; or the irrigation time corresponding to the rotation irrigation group is calculated based on the water application amount of all grids in the rotation irrigation group and the irrigation flow rate of the solenoid valve, the grids in the rotation irrigation group are irrigated and the timing is started, and when the irrigation time reaches the irrigation time, it is determined that the irrigation of the rotation irrigation group is completed.

[0045] The irrigation pump is responsible for controlling the water, and the water and fertilizer machine is responsible for pumping and injecting fertilizer. The fertilizer amount of all grids in the rotation irrigation group is zero but the water amount is not zero, which means that only water is needed at this time, and no fertilizer is needed. Therefore, start the irrigation pump and turn off the water and fertilizer machine. The sum of the water amount of all grids in the rotation irrigation group is used as the irrigation amount corresponding to the rotation irrigation group. The sum of the water amount of all grids in the rotation irrigation group divided by the irrigation flow rate is the irrigation duration.

[0046] Furthermore, the grids in each rotation irrigation group are irrigated in turn according to the optimal order, including: for a rotation irrigation group, when the fertilizer amount of all grids in the rotation irrigation group is not zero but the water amount is zero, the irrigation pump is started, and the water-fertilizer machine is started: the irrigation amount corresponding to the rotation irrigation group is calculated based on the fertilizer amount of all grids in the rotation irrigation group, the grids in the rotation irrigation group are irrigated and the flow meter is started, when the value on the flow meter is equal to the irrigation amount corresponding to the rotation irrigation group, the water-fertilizer machine is turned off, and the grids in the rotation irrigation group are continued to be irrigated for a preset time to determine that the rotation irrigation group is irrigated; or the irrigation time corresponding to the rotation irrigation group is calculated based on the water amount of all grids in the rotation irrigation group and the irrigation flow rate of the solenoid valve, the grids in the rotation irrigation group are irrigated and the timing is started, when the irrigation time reaches the irrigation time, the water-fertilizer machine is turned off, and the grids in the rotation irrigation group are continued to be irrigated for a preset time to determine that the irrigation of the rotation irrigation group is completed.

[0047] The amount of fertilizer applied to all grids in the irrigation group is not zero, but the amount of water applied is zero, indicating that fertilizer is needed at this time. Farmland fertilization is to inject fertilizer into water, so start the irrigation pump and the water fertilizer machine. When the value on the flow meter is equal to the irrigation amount corresponding to the irrigation group, it means that the fertilizer is enough, and the water fertilizer machine is turned off. Continue to irrigate the grids in the irrigation group for the preset time to clean the fertilizer residue in the pipeline.

[0048] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0049] The following are embodiments of the device of the present application, which can be used to implement the embodiments of the present application. For details not disclosed in the embodiments of the device of the present application, please refer to the embodiments of the present application.

[0050] Figure 3 Schematic diagram of a farmland water and fertilizer rotation irrigation device provided in an embodiment of the present application. Figure 3 As shown, the farmland water and fertilizer rotation irrigation device includes:

[0051] An acquisition module 301 is configured to acquire first distribution data of a farmland, second distribution data of a pipeline in the farmland, and third distribution data of a solenoid valve;

[0052] A first division module 302 is configured to divide the farmland into a plurality of grids according to the first distribution data, the second distribution data and the third distribution data;

[0053] The identification module 303 is configured to identify the variety and growth stage of the crops in the farmland, and collect meteorological data of the area where the farmland is located and soil data of each grid;

[0054] A determination module 304 is configured to determine the amount of water and fertilizer to be applied to each grid according to the variety, the growth stage, the meteorological data, and the soil data and area of ​​each grid;

[0055] The second division module 305 is configured to divide the plurality of grids into a plurality of rotation irrigation groups according to the position, water application amount and fertilizer application amount of each grid, wherein each rotation irrigation group includes one or more grids;

[0056] The generation module 306 is configured to generate an optimal order for irrigating each rotation irrigation group using an optimal path algorithm based on the position of each rotation irrigation group;

[0057] The irrigation module 307 is configured to sequentially irrigate the grids in each rotation irrigation group according to the optimal order.

[0058] The first distribution data is data such as the location and area of ​​the farmland, and the second distribution data is data such as the location of the pipeline laid in the farmland, through which the farmland is irrigated. The third distribution data is data such as the location of the solenoid valve set in the farmland, and the solenoid valve serves as an irrigation switch. There are multiple pipelines and multiple solenoid valves in the farmland. According to the first distribution data, the second distribution data and the third distribution data, the farmland can be divided into multiple grids, and one pipeline and one solenoid valve are used to irrigate one or more grids. The pipelines and solenoid valves are evenly distributed among multiple grids as much as possible to improve the irrigation efficiency.

[0059] Meteorological data include wind speed, rainfall, temperature, air humidity, light intensity, etc. Soil data include humidity, temperature, pH value, EC value (Electrical Conductivity), etc. The amount of water and fertilizer applied to each grid is determined according to the variety, growth stage, meteorological data, soil data and area of ​​each grid. The relationship between the variety, growth stage, meteorological data and soil data of each grid and the unit water application (unit fertilizer application) can be obtained by statistically analyzing the historical irrigation data, and then the unit water application (unit fertilizer application) is multiplied by the area of ​​each grid to obtain the water application (fertilizer application). According to the position, water application and fertilizer application of each grid, multiple grids are divided into multiple rotation irrigation groups. Grids in similar positions can be divided together as a rotation irrigation group, and then multiple rotation irrigation groups are adjusted according to the principle that the water application and fertilizer application of each grid in the same rotation irrigation group are similar to obtain the final division result.

[0060] Each irrigation group is taken as a target, and based on the position of each irrigation group, the optimal path algorithm is used to generate the optimal order of irrigation for each irrigation group. This makes the loss of irrigation for each irrigation group the least, which is equivalent to the shortest path traversing each irrigation group. The optimal path algorithm is an existing algorithm and will not be described here. Finally, the grids in each irrigation group are irrigated in turn according to the optimal order.

[0061] In view of the shortcomings of the prior art, the present application proposes an automated water-fertilizer rotation irrigation system, which aims to solve the problems existing in the traditional system through innovations such as precise grid recognition, multi-mode irrigation configuration, intelligent pressure regulation, and abnormal monitoring and recovery. The specific goals include:

[0062] Grid-based precision irrigation: Based on farmland drawings, the area of ​​each grid in the field is accurately identified, and irrigation plans can be configured by quantity or time, and the irrigation quantity or time of each grid can be automatically calculated. Through the rotation irrigation template, the irrigation sequence can be scientifically arranged to ensure the efficiency and uniformity of farmland irrigation.

[0063] Intelligent pressure regulation: By real-time monitoring of the remote pressure of the irrigation system, the pipeline pressure is automatically adjusted to ensure consistent irrigation pressure in different areas of the field, solving the problem of irrigation differences caused by uneven pressure.

[0064] Multi-mode irrigation: Flexibly configure by grid area or irrigation time to provide adaptable solutions for different crops or farmland conditions and improve water and fertilizer utilization efficiency.

[0065] According to the technical solution provided in the embodiment of the present application, the first distribution data of the farmland, the second distribution data of the pipeline in the farmland and the third distribution data of the solenoid valve are obtained; the farmland is divided into multiple grids according to the first distribution data, the second distribution data and the third distribution data; the variety and growth stage of the crops in the farmland are identified, and the meteorological data of the area where the farmland is located and the soil data of each grid are collected; the amount of water and fertilizer applied to each grid is determined according to the variety, growth stage, meteorological data and the soil data and area of ​​each grid; according to the position, water application amount and fertilizer application amount of each grid, the multiple grids are divided into multiple rotation irrigation groups, wherein each rotation irrigation group contains one or more grids; based on the position of each rotation irrigation group, the optimal path algorithm is used to generate the optimal order of irrigating each rotation irrigation group; according to the optimal order, the grids in each rotation irrigation group are irrigated in sequence. The above technical means can solve the problem that farmland water and fertilizer cannot be accurately irrigated in the prior art, thereby improving the efficiency of water and fertilizer irrigation.

[0066] In some embodiments, the first division module 302 is further configured to obtain the coverage of the solenoid valve; and divide the farmland into a plurality of grids according to the coverage, the first distribution data, the second distribution data, and the third distribution data.

[0067] The farmland is divided into multiple grids, and one pipeline and one solenoid valve are used to irrigate one or more grids. The pipelines and solenoid valves are evenly distributed among multiple grids as much as possible, and each grid is within the coverage of the solenoid valve assigned to it, so as to improve the irrigation efficiency.

[0068] In some embodiments, the recognition module 303 is further configured to acquire images of crops in a farmland; and use a large language model to recognize the variety and growth stage of the crops from the images; wherein the large language model has been trained and can recognize the variety and growth stage of the crops from the images.

[0069] Before using the large language model to identify the varieties and growth stages of crops from images, the training images are input into the large language model to identify the varieties and growth stages of crops in the training images; the loss between the identified varieties and the labeled varieties is calculated, and the loss between the identified growth stages and the labeled growth stages is calculated, and the large language model is optimized based on the loss.

[0070] In some embodiments, the determination module 304 is also configured to determine the unit water application amount and unit fertilizer application amount of each grid according to the variety, growth stage, meteorological data and soil data of each grid; and calculate the water application amount and fertilizer application amount of each grid based on the area, unit water application amount and unit fertilizer application amount of each grid.

[0071] The relationship between the variety, growth stage, meteorological data and soil data of each grid and the unit water application amount (unit fertilizer application amount) can be obtained by statistically analyzing the historical irrigation data. The unit water application amount (unit fertilizer application amount) can then be multiplied by the area of ​​each grid to obtain the water application amount (fertilizer application amount).

[0072] In some embodiments, the irrigation module 307 is also configured to execute the following loop: determine whether i is greater than N, where i is the serial number of the rotation irrigation group, the initial value of i is 1, and N is the number of the rotation irrigation groups; when i is greater than N, determine that all the rotation irrigation groups have been irrigated and end the loop; when i is less than or equal to N, irrigate the grids in the i-th rotation irrigation group and start timing, and when the irrigation time reaches the target time, determine that the i-th rotation irrigation group has been irrigated, and update i with the value of i plus 1, where the target time is calculated based on the water and fertilizer application amounts of all grids in the i-th rotation irrigation group and the irrigation flow rate of the solenoid valve.

[0073] The target duration is the sum of the water or fertilizer application amounts of all grids in the i-th irrigation group and the irrigation flow rate of the solenoid valve.

[0074] In some embodiments, the irrigation module 307 is also configured to, for a rotation irrigation group, when the fertilizer application amount of all grids in the rotation irrigation group is zero but the water application amount is not zero, start the irrigation pump and turn off the water-fertilizer machine: calculate the irrigation amount corresponding to the rotation irrigation group based on the water application amount of all grids in the rotation irrigation group, irrigate the grids in the rotation irrigation group and start the flow meter, and when the value on the flow meter is equal to the irrigation amount corresponding to the rotation irrigation group, determine that the irrigation of the rotation irrigation group is completed; or calculate the irrigation time corresponding to the rotation irrigation group based on the water application amount of all grids in the rotation irrigation group and the irrigation flow rate of the solenoid valve, irrigate the grids in the rotation irrigation group and start timing, and when the irrigation time reaches the irrigation time, determine that the irrigation of the rotation irrigation group is completed.

[0075] The irrigation pump is responsible for controlling the water, and the water and fertilizer machine is responsible for pumping and injecting fertilizer. The fertilizer amount of all grids in the rotation irrigation group is zero but the water amount is not zero, which means that only water is needed at this time, and no fertilizer is needed. Therefore, start the irrigation pump and turn off the water and fertilizer machine. The sum of the water amount of all grids in the rotation irrigation group is used as the irrigation amount corresponding to the rotation irrigation group. The sum of the water amount of all grids in the rotation irrigation group divided by the irrigation flow rate is the irrigation duration.

[0076] In some embodiments, the irrigation module 307 is also configured to, for a rotation irrigation group, when the fertilizer amount of all grids in the rotation irrigation group is not zero but the water amount is zero, start the irrigation pump and start the water-fertilizer machine: calculate the irrigation amount corresponding to the rotation irrigation group based on the fertilizer amount of all grids in the rotation irrigation group, irrigate the grids in the rotation irrigation group and start the flow meter, when the value on the flow meter is equal to the irrigation amount corresponding to the rotation irrigation group, turn off the water-fertilizer machine, continue to irrigate the grids in the rotation irrigation group for a preset time, and determine that the irrigation of the rotation irrigation group is completed; or calculate the irrigation time corresponding to the rotation irrigation group based on the water amount of all grids in the rotation irrigation group and the irrigation flow rate of the solenoid valve, irrigate the grids in the rotation irrigation group and start timing, when the irrigation time reaches the irrigation time, turn off the water-fertilizer machine, continue to irrigate the grids in the rotation irrigation group for a preset time, and determine that the irrigation of the rotation irrigation group is completed.

[0077] The amount of fertilizer applied to all grids in the irrigation group is not zero, but the amount of water applied is zero, indicating that fertilizer is needed at this time. Farmland fertilization is to inject fertilizer into water, so start the irrigation pump and the water fertilizer machine. When the value on the flow meter is equal to the irrigation amount corresponding to the irrigation group, it means that the fertilizer is enough, and the water fertilizer machine is turned off. Continue to irrigate the grids in the irrigation group for the preset time to clean the fertilizer residue in the pipeline.

[0078] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0079] Figure 4 Schematic diagram of an electronic device 4 provided in an embodiment of the present application. Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 401 executes the computer program 403, the functions of the modules / units in the above-mentioned device embodiments are implemented.

[0080] The electronic device 4 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 4 may include, but is not limited to, a processor 401 and a memory 402. Those skilled in the art will appreciate that Figure 4 The electronic device 4 is merely an example and does not limit the electronic device 4 , and may include more or less components than those shown in the figure, or different components.

[0081] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0082] The memory 402 may be an internal storage unit of the electronic device 4, for example, a hard disk or memory of the electronic device 4. The memory 402 may also be an external storage device of the electronic device 4, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. The memory 402 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 402 is used to store computer programs and other programs and data required by the electronic device.

[0083] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.

[0084] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.

[0085] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for rotating irrigation of farmland water and fertilizer, characterized in that: include: Acquire first distribution data of a farmland, second distribution data of a pipeline in the farmland, and third distribution data of a solenoid valve; Dividing the farmland into a plurality of grids according to the first distribution data, the second distribution data and the third distribution data; Identify the variety and growth stage of the crops in the farmland, and collect meteorological data of the area where the farmland is located and soil data of each grid; Determine the amount of water and fertilizer to be applied to each grid according to the variety, the growth stage, the meteorological data, and the soil data and area of ​​each grid; According to the position, water application amount and fertilizer application amount of each grid, the plurality of grids are divided into a plurality of rotation irrigation groups, wherein each rotation irrigation group includes one or more grids; Based on the location of each rotation irrigation group, the optimal path algorithm is used to generate the optimal order of irrigating each rotation irrigation group; According to the optimal order, the grids in each rotation irrigation group are irrigated in turn.

2. The method according to claim 1, characterized in that Before collecting soil data of each grid, the method further includes: Obtaining the coverage of the solenoid valve; The farmland is divided into a plurality of grids according to the coverage, the first distribution data, the second distribution data and the third distribution data.

3. The method according to claim 1, characterized in that Identify the variety and growth stage of the crops in the field, including: Acquire an image of the crops in the farmland; Using a large language model to identify the variety and growth stage of the crop from the image; The large language model has been trained and can identify the variety and growth stage of the crop from the image.

4. The method according to claim 1, characterized in that Determining the amount of water and fertilizer for each grid according to the variety, the growth stage, the meteorological data, and the soil data and area of ​​each grid, including: Determine the unit water application amount and unit fertilizer application amount of each grid according to the variety, the growth stage, the meteorological data and the soil data of each grid; The amount of water and fertilizer applied to each grid is calculated based on the area, unit water application amount, and unit fertilizer application amount of each grid.

5. The method according to claim 1, characterized in that According to the optimal order, the grids in each rotation irrigation group are irrigated in sequence, including: Execute the following loop: Determine whether i is greater than N, where i is the serial number of the irrigation group, the initial value of i is 1, and N is the number of irrigation groups; When i is greater than N, it is determined that all rotation irrigation groups have been irrigated, and the cycle ends; When i is less than or equal to N, irrigate the grids in the i-th irrigation group and start timing. When the irrigation duration reaches the target duration, it is determined that the i-th irrigation group has been irrigated, and i is updated with the value of i plus 1, wherein the target duration is calculated based on the water and fertilizer amounts of all grids in the i-th irrigation group and the irrigation flow rate of the solenoid valve.

6. The method according to claim 1, characterized in that According to the optimal order, the grids in each rotation irrigation group are irrigated in sequence, including: For a rotation irrigation group, when the fertilizer amount of all grids in the rotation irrigation group is zero but the water amount is not zero, start the irrigation pump and turn off the water and fertilizer machine: Calculate the irrigation amount corresponding to the rotation irrigation group based on the water application amount of all grids in the rotation irrigation group, irrigate the grids in the rotation irrigation group and start the flow meter, and when the value on the flow meter is equal to the irrigation amount corresponding to the rotation irrigation group, determine that the irrigation of the rotation irrigation group is completed; or The irrigation time corresponding to the rotation irrigation group is calculated based on the water application amount of all grids in the rotation irrigation group and the irrigation flow rate of the solenoid valve, the grids in the rotation irrigation group are irrigated and the timing is started, and when the irrigation time reaches the irrigation time, it is determined that the irrigation of the rotation irrigation group is completed.

7. The method according to claim 1, characterized in that According to the optimal order, the grids in each rotation irrigation group are irrigated in sequence, including: For a rotation irrigation group, when the fertilizer amount of all grids in the rotation irrigation group is not zero but the water amount is zero, start the irrigation pump and the water and fertilizer machine: Calculate the irrigation amount corresponding to the rotation irrigation group based on the fertilization amount of all grids in the rotation irrigation group, irrigate the grids in the rotation irrigation group and start the flow meter, when the value on the flow meter is equal to the irrigation amount corresponding to the rotation irrigation group, turn off the water fertilizer machine, continue to irrigate the grids in the rotation irrigation group for a preset time, and then determine that the irrigation of the rotation irrigation group is completed; or The irrigation time corresponding to the rotation irrigation group is calculated based on the water application amount of all grids in the rotation irrigation group and the irrigation flow rate of the solenoid valve, the grids in the rotation irrigation group are irrigated and the timing is started. When the irrigation time reaches the irrigation time, the water fertilizer machine is turned off, and the grids in the rotation irrigation group are continuously irrigated for a preset time, and then the irrigation of the rotation irrigation group is determined to be completed.

8. A farmland water and fertilizer rotation irrigation device, characterized in that: include: an acquisition module configured to acquire first distribution data of the farmland, second distribution data of the pipeline in the farmland, and third distribution data of the solenoid valve; A first division module is configured to divide the farmland into a plurality of grids according to the first distribution data, the second distribution data and the third distribution data; An identification module is configured to identify the variety and growth stage of the crops in the farmland, and collect meteorological data of the area where the farmland is located and soil data of each grid; A determination module is configured to determine the amount of water and fertilizer to be applied to each grid according to the variety, the growth stage, the meteorological data, and the soil data and area of ​​each grid; The second division module is configured to divide the plurality of grids into a plurality of rotation irrigation groups according to the position, water application amount and fertilizer application amount of each grid, wherein each rotation irrigation group includes one or more grids; A generation module is configured to generate an optimal order for irrigating each rotation irrigation group based on the position of each rotation irrigation group using an optimal path algorithm; The irrigation module is configured to sequentially irrigate the grids in each rotation irrigation group according to the optimal order.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Control method and device for rotation irrigation sets

    CN109819881A

  • Intelligent agricultural internet-of-things system

    CN112715120A

  • Alternate irrigation group optimization method and system based on particle swarm algorithm

    CN112734136A

  • Field intelligent rotation irrigation system and method

    CN117481019A

  • Fertilization and irrigation management platform applying field fertilization and irrigation system

    CN117957999A

Cited By

  • Intelligent irrigation system and method for irrigation and water conservancy engineering

    CN120959134A

  • Intelligent irrigation method and device based on large language model

    CN120982399A

  • Irrigation method, system, equipment and medium for green area in dry-hot valley zone

    CN121420748A