Configuration method of field irrigation system and field irrigation system

Through gate valves, data information is actively sent and LORA communication network and multi-frequency modules are used to realize the rapid and accurate configuration and control of field irrigation systems, solving the problems of cumbersome and errors in traditional systems, and improving irrigation efficiency and accuracy.

CN118923510AActive Publication Date: 2024-11-12HENAN HUIDA ZHINONG TECH DEV CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411360743.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-11-12
Estimated Expiration
2044-09-26

AI Technical Summary

Technical Problem

In traditional field irrigation systems, the binding process between valves and gateways is cumbersome and error-prone, resulting in large labor consumption and large maintenance workloads, and a lack of fast and accurate configuration methods.

Method used

Data information is actively sent through the gate valve, and the gateway and software platform process it save the information to the device list to achieve rapid and accurate configuration of the gateway and gate valve. It adopts the LORA communication network and multi-frequency LORA module separation configuration and control process, and supports broadcast control commands to Control multiple gate valves in parallel.

Benefits of technology

Significantly save manpower, reduce the probability of configuration and control errors, improve transmission efficiency and irrigation accuracy, and reduce maintenance workload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118923510A_ABST
    Figure CN118923510A_ABST
Patent Text Reader

Abstract

The invention provides a configuration method of a field irrigation system and the field irrigation system, the configuration method is applied to an agricultural scene, the field irrigation system comprises a gateway and a plurality of gate valves, the gateway and the plurality of gate valves form an LORA communication network, and the method comprises the following steps: receiving first data information sent by the plurality of gate valves, the first data information comprises equipment numbers and position information of a plurality of gate valves; adding the device number into a device list of a gateway, and sending the first data information to a software platform; and receiving the second data information processed by the software platform, and adding the second data information into the equipment list, so that the gateway and the plurality of gate valves are successfully configured. Data information is processed through a gate valve, a gateway and a software platform, the processed information is stored in an equipment list of the gateway, so that configuration between the gateway and the gate valve is successful, rapid configuration between the gateway and the gate valve is achieved, and meanwhile configuration between the gateway and the gate valve is conducted with high accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of agriculture, and more specifically, to a configuration method of a field irrigation system and a field irrigation system. Background Art

[0002] The field irrigation system is a key technology for the rational allocation and efficient use of water resources in agriculture. It can help users adjust the irrigation of crops according to their real-time needs, the water demand of crops, weather conditions, etc. In the field valve control system, the irrigation valve must be able to be controlled in real time for users to achieve reliable and timely irrigation of field crops and meet the growth needs of crops.

[0003] In some traditional irrigation systems, loRaWAN communication is used between field irrigation valves and gateways. Each valve has its own device number, and the valve and gateway need to be bound by scanning the code through user terminals such as mobile phone APPs. In seasons when irrigation valves are installed in large numbers, a large amount of manpower scanning is required for binding. Once the binding is wrong, the subsequent maintenance workload is also very large.

[0004] In view of this, how to provide a field irrigation system that can realize rapid configuration of valves and gateways with high accuracy is a technical problem that needs to be solved urgently. Summary of the invention

[0005] The present application provides a configuration method of a field irrigation system and a field irrigation system, which aims to send data information to a gateway through a gate valve. After the gateway and the software platform process the data information, the processed information is saved in the device list of the gateway to successfully configure the gateway and the gate valve, thereby achieving rapid configuration between the gateway and the gate valve while configuring the two with a high accuracy.

[0006] In a first aspect, a configuration method for a field irrigation system is provided, wherein the field irrigation system includes a gateway and a plurality of gate valves, wherein the gateway and the plurality of gate valves constitute a LORA communication network, and the method includes: receiving first data information sent by the plurality of gate valves, wherein the first data information includes device numbers and location information of the plurality of gate valves; adding the device numbers to a device list of the gateway, and sending the first data information to a software platform; receiving second data information processed by the software platform, and adding the second data information to the device list, so that the gateway and the plurality of gate valves are successfully configured, wherein the second data information includes information of at least one rotation irrigation group corresponding to the plurality of gate valves, angle information of each rotation irrigation group, and irrigation time of each rotation irrigation group, and each rotation irrigation group includes at least one gate valve.

[0007] Based on the above scheme, the gate valve actively sends data information to the gateway, and the gateway and software platform process the data information and save the processed information to the device list of the gateway, so that the configuration between the gateway and the gate valve is successful, and the configuration between the gateway and the gate valve is realized quickly and with high accuracy. Compared with the manual scanning or manual input method in the prior art, this application greatly saves manpower and reduces the probability of error.

[0008] Optionally, in the present application, the reason for sending the first data information received by the gateway to the software platform for processing is that the software platform is also required to obtain the second data information based on various data states of field crops obtained by itself (such as soil moisture, temperature, light, wind speed, etc.), the user's irrigation habits and the first data information.

[0009] In addition, in the present application, the second data information and device number are stored in the device list of the gateway to complete the configuration between the gateway and the gate valve, rather than storing it in the software platform. When the gateway needs to control the gate valve, it is sent to the gateway through the software platform to control the gate valve. This is because when the software platform is disconnected from the network or the network is congested, through the solution of the present application, the gateway can continue to control the gate valve to perform corresponding operations according to the irrigation time, irrigation angle and other information in the device list in the gateway.

[0010] In combination with the first aspect, in certain implementations of the first aspect, information of at least one irrigation group corresponding to the multiple gate valves is calculated based on the equipment number and location information to confirm the distance between the multiple gate valves.

[0011] In combination with the first aspect, in some implementations of the first aspect, in the device list, the second data information corresponds to the device number.

[0012] In combination with the first aspect, in certain implementations of the first aspect, after the gateway and the multiple gate valves are successfully configured, the method includes: sending control commands based on the LORA communication protocol to the multiple gate valves; and controlling the multiple gate valves to perform opening and closing operations according to the control commands.

[0013] In combination with the first aspect, in certain implementations of the first aspect, after performing the gate opening and closing operation, the method includes: receiving response information sent by multiple gate valves; and responding to the multiple gate valves according to the response information.

[0014] In combination with the first aspect, in certain implementations of the first aspect, the gateway includes a first LORA module and a second LORA module, and the frequencies of the first LORA module and the second LORA module are different; the multiple gate valves include a third LORA module, and the frequency of the third LORA module is the frequency of the first LORA module or the frequency of the second LORA module. The method also includes: when the frequency of the third LORA module is adjusted to the frequency of the first LORA module, the gateway sends control commands to the multiple gate valves through the first LORA module and receives response information sent by the multiple gate valves; when the frequency of the third LORA module is adjusted to the frequency of the second LORA module, the gateway receives data information sent by the multiple gate valves through the second LORA module.

[0015] Based on the above solution, the configuration process between the gateway and the gate valve and the control process of the gateway controlling the gate valve are separated to achieve mutual non-interference.

[0016] In combination with the first aspect, in some implementations of the first aspect, the frequency of the first LoRa module and the frequency of the second LoRa module can be expressed by a first formula, where the first formula is:

[0017] |f x -f μ |≥1MHz;

[0018] Among them, f x is the frequency of the first LORA module, f μ is the frequency of the second LoRa module.

[0019] In combination with the first aspect, in some implementations of the first aspect, the gateway includes a first gateway and a second gateway, wherein the LORA communication frequency of the first gateway is different from the LORA communication frequency of the second gateway, and the LORA communication frequency includes the frequency of the first LORA module and the frequency of the second LORA module.

[0020] In combination with the first aspect, in certain implementations of the first aspect, after the gateway successfully matches multiple gate valves, the method also includes: the gateway sends a control command based on the LORA communication protocol in a broadcast manner, and the control command includes: a first address field, wherein the first address field includes a wake-up code field and a second address field, the wake-up code field is used to wake up the multiple gate valves, and the second address field is used to indicate the communication address of at least one of the multiple gate valves; according to the wake-up code field, all the gate valves among the multiple gate valves perform a wake-up operation; according to the second address field, at least one of the multiple gate valves performs an opening operation.

[0021] Based on the above scheme, the gateway sends a control command to multiple gate valves by broadcasting, and at least one gate valve in the multiple gateways opens the gate valve to work. That is, compared with the prior art that the gateway can only control one gate valve by sending a control command once, the parallel sending method in the present application enables the gateway to control multiple gate valves to open at the same time during the sending process. There is no queuing phenomenon for the gateway, thereby reducing the transmission delay and significantly improving the transmission efficiency.

[0022] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: when installing multiple gate valves again, adjusting the frequency of the third LORA module according to the LORA communication frequency, wherein the frequency of the third LORA module is the LORA communication frequency of the first gateway or the LORA communication frequency of the second gateway.

[0023] In combination with the first aspect, in certain implementations of the first aspect, the frequency of the third LORA module is adjusted according to the LORA communication frequency, including: when the LORA communication frequency is the LORA communication frequency of the first gateway, adjusting the frequency of the third LORA module to the LORA communication frequency of the first gateway; when the LORA communication frequency is the LORA communication frequency of the second gateway, adjusting the frequency of the third LORA module to the LORA communication frequency of the second gateway.

[0024] In a second aspect, a field irrigation system is provided, which includes: a gateway and multiple gate valves constituting a LORA communication network, and the gateway and the multiple gate valves are used to execute the configuration method as any one of the first aspects.

[0025] In combination with the second aspect, in certain implementations of the second aspect, the field irrigation system also includes: a user terminal, the user terminal is used to wirelessly communicate with the gateway to send instructions to the gateway; the gateway is used to receive first data information sent by multiple gate valves according to the instructions to match the multiple gate valves.

[0026] In combination with the second aspect, in certain implementations of the second aspect, the user terminal is also used to wirelessly communicate with the gateway to send a gate valve switching instruction to the gateway; the gateway is used to send control commands to multiple gate valves according to the gate valve switching instruction. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a schematic structural diagram of a field irrigation system provided in an embodiment of the present application.

[0028] Figure 2 It is a schematic structural diagram of a field irrigation system based on a LORA network provided in an embodiment of the present application.

[0029] Figure 3It is a schematic flowchart of a method for configuring a field irrigation system provided in an embodiment of the present application.

[0030] Figure 4 It is a schematic flowchart of a control method 1 for a field irrigation system provided in an embodiment of the present application.

[0031] Figure 5 It is a schematic flowchart of the second control method for the field irrigation system provided in the embodiment of the present application.

[0032] Figure 6 It is a schematic structural block diagram of a field irrigation system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0034] Field irrigation system is an important part of agricultural management, which ensures that crops get the right amount of water during the growth cycle to meet their growth needs. With the development of science and technology, traditional irrigation methods are gradually replaced by modern intelligent irrigation systems. These systems use advanced sensors, automatic control and communication technologies to improve irrigation efficiency and reduce water waste.

[0035] Figure 1 A schematic structural diagram of a field irrigation system 100 applicable to an embodiment of the present application is shown.

[0036] like Figure 1 As shown, the field irrigation system 100 includes: a smart gate valve 110 , a gateway 120 , a software platform 130 and a user terminal 140 .

[0037] Specifically, a plurality of smart gate valves 110 are arranged in the field, and the smart gate valve can remotely receive control instructions through a wireless communication network (such as LoRaWAN, Wi-Fi, Bluetooth, etc.) to achieve remote switching and adjustment. The smart gate valve can more accurately control the flow rate and flow of water, achieve precise irrigation of field crops, and help reduce the waste of water resources and energy.

[0038] In the communication network, the gateway 120 acts as a bridge between different networks or between a network and the outside world. Specifically, in the embodiment of the present application, the gateway 120 and the smart gate valve 110 can communicate through various protocols (such as LoRaWAN, Wi-Fi, Bluetooth, etc. mentioned above), and the gateway 120 and the software platform 130 use standard Internet protocols (such as TCP / IP, etc.). The gateway 120 can convert various communication protocols into standard Internet protocols, so that different types of devices can communicate with each other.

[0039] The software platform 130 can be, for example, a cloud service platform. The software platform 130 can be deployed on a server. The software platform 130 can be used for data collection, analysis and visualization, and farm managers can monitor the growth status of crops and the operating status of irrigation systems through these platforms, and adjust irrigation plans as needed. Specifically, the software platform 130 can communicate with the gateway 120 to control multiple smart gate valves in the field through the gateway 120. In addition, the software platform 130 can also communicate with other smart devices in the field (such as monitoring equipment with sensors, etc.) to obtain various data states of field crops (such as soil moisture, temperature, light, wind speed, etc.), so that managers can better use the software platform 130 to manage field crops.

[0040] The user terminal 140 may be, for example, a mobile phone, a computer, etc., which communicates with the software platform 130. The user may send relevant control instructions to the software platform 130 through the user terminal 140, so that the software platform 130 controls the switch of the field intelligent gate valve 110 through the gateway 120 to achieve the irrigation target.

[0041] Figure 2 A schematic structural diagram of a LORA network-based field irrigation system 200 provided in an embodiment of the present application is shown.

[0042] like Figure 2 As shown, the field irrigation system 200 includes: a plurality of gate valves 210 (represented by circles in the figure) and a gateway 220 (represented by squares in the figure). The plurality of gate valves 210 and the gateway 220 together constitute a LORA communication network.

[0043] It should be understood that the plurality of gate valves 210 may be Figure 1 The smart gate valve 110 in the embodiment of the present invention, the gateway 220 may be Figure 1 The gateway 120 in.

[0044] In some related technologies, the gateway is bound to multiple gate valves 210 by scanning a code or manually entering a device number, so that the user can remotely control and manage the gate valves.

[0045] Specifically, the gateway 220 is bound to multiple gate valves 210 by scanning a code with a user terminal. A QR code containing its device number is usually attached to the gate valve 210. The user uses the user terminal 140 to scan the QR code. After reading the QR code information, the user terminal 140 identifies the device number of the gate valve 210 and sends the device number to the gateway 220, requesting that the gate valve 210 be bound to the gateway 220. After receiving the request, the gateway 220 establishes a connection with the gate valve 210 and stores the gate valve 210 information in the database of the gateway 220. It should be understood that the user terminal can be Figure 1 The user terminal 140 in.

[0046] The binding process by manually entering the device number is for the user to find the device number on the gate valve 210, which can be the serial number printed on the label of the gate valve 210. The user manually enters the device number in the user terminal, and the user terminal sends the manually entered device number to the gateway 220. The gateway 220 establishes a connection with the gate valve 210 by verifying the device number and completes the binding process.

[0047] In the above two cases, the workload of binding by scanning the code or manually entering the device number is large, and when the installation season is very concentrated, once errors occur in the scanning and entry, the subsequent maintenance workload is large.

[0048] In addition, it should be known that after all the gate valves 210 are installed in a field or under an irrigation head and the device numbers of the gate valves 210 are entered into the database or device list of the gateway 220, the division and setting of the rotation irrigation area are performed, for example, Figure 2 As shown, 100 gate valves 210 are divided into 10 groups, each group has 10 gate valves 210, the first group is a rotation irrigation area, named A, and can be named B, C...J in sequence. After the rotation irrigation groups are divided, the user can directly control the switch of the rotation irrigation area through the user terminal and the gateway 220 when using it.

[0049] In view of this, an embodiment of the present application provides a field irrigation system based on a LORA network. Among them, the LORA network is a wireless network based on low power wide area network (LPWAN) technology, which aims to provide a long-distance, low-power communication solution for the Internet of Things (IoT). In the field irrigation system based on the LORA network, the gateway enters the automatic configuration mode and automatically completes the configuration process with the gate valve, which does not require a lot of manpower and has a high configuration accuracy.

[0050] Based on the above field irrigation system 200, Figure 3 A schematic flowchart of a method 300 for configuring a field irrigation system provided in an embodiment of the present application is shown.

[0051] like Figure 3 As shown, the configuration method 300 of the field irrigation system may include the following steps.

[0052] S310: The gateway receives first data information sent by multiple gate valves, wherein the first data information includes device numbers and location information of the multiple gate valves.

[0053] S320: The gateway adds the device number to the device list of the gateway, and sends the first data information to the software platform.

[0054] S330: The gateway receives the second data information processed by the software platform, and adds the second data information to the device list so that the gateway and the multiple gate valves are successfully configured, wherein the second data information includes information of at least one rotation irrigation group corresponding to the multiple gate valves, angle information of each rotation irrigation group and irrigation time of each rotation irrigation group, and each rotation irrigation group includes at least one gate valve.

[0055] In step S310, multiple gate valves actively send first data information to the gateway to establish configuration with the gateway. In addition, before the gateway receives the first data information sent by the multiple gate valves, the user terminal operates the gateway to enter the configuration mode, that is, the gateway can receive the first data information sent by the gate valves.

[0056] In step S320, the gateway adds the device number to the device list, and sends the received device number and location information to the software platform, which processes the data information and then sends it to the gateway.

[0057] The software platform may be a cloud service platform, which may be deployed on a server. Figure 1 The software platform 130 in.

[0058] Optionally, in the present application, the reason for sending the first data information received by the gateway to the software platform for processing is that the software platform obtains the second data information based on various data states of field crops obtained by itself (such as soil moisture, temperature, light, wind speed, etc.), the user's irrigation habits and the first data information.

[0059] In step S330, the gateway groups the multiple gate valves according to the device numbers and location information in the device list to obtain rotation irrigation groups. In this way, the configuration between the gateway and the gate valves is successful and a connection is established between them.

[0060] Specifically, the information of at least one irrigation group corresponding to the multiple gate valves is confirmed by calculating the distance of the multiple gate valves according to the device number and the location information. More specifically, in the software platform, the distance between the gate valves is obtained according to the received location information of the multiple irrigation groups, and the information of each irrigation group is determined according to the distance information, the size of the field, the user's irrigation habits, etc. For example, gate valve 1#, gate valve 2#, gate valve 3#... gate valve 10# can enclose a circle, and the distance from the center of the circle is the same. In addition, the 10 gate valves are just installed in a field. Therefore, the 10 gate valves are divided into a irrigation group.

[0061] It should be understood that the number of gate valves in each irrigation group can be the same or different, depending on the size of the field, the installation position of the gate valves and the user's habits, and this application does not impose any limitations on this.

[0062] In addition, the software platform determines the angle information of each rotation irrigation group through the location information of the gate valve and the size of the field, etc., and determines the irrigation time of each rotation irrigation group through the location information of the gate valve and the type of crop, etc.

[0063] Optionally, after the gateway and gate valve configuration is completed, if the information of individual gate valves is not collected, the gate valves that have not reported data information can be quickly found based on the installation layout positions of multiple gate valves and the installation conditions of the gate valves on the actual plot, and the data information can be reported to the gateway again.

[0064] Optionally, in the present application, the second data information and device number are stored in the device list of the gateway to complete the configuration between the gateway and the gate valve, rather than storing it in the software platform. When the gateway needs to control the gate valve, it is sent to the gateway through the software platform to control the gate valve. This is because when the software platform is disconnected from the network or the network is congested, through the solution of the present application, the gateway can continue to control the gate valve to perform corresponding operations based on information such as irrigation time and irrigation angle.

[0065] Through the scheme of the above embodiment, the gateway automatically reports the data information based on the gate valve, thus eliminating the process of manually scanning and entering the gate valve equipment or manually inputting the data, greatly saving manpower and reducing the probability of errors.

[0066] After completing the configuration of the gateway and gate valve, when the gateway controls the gate valve to open and close the gate, the gateway needs to send a control command to the gate valve to control it. After receiving the control command, the gate valve needs to send a response message to the gateway for confirmation.

[0067] Specifically, the gateway sends a control command based on the LORA communication protocol to the multiple gate valves; the gateway controls the multiple gate valves to perform opening and closing operations according to the control command.

[0068] After performing the gate opening and closing operations, the gateway receives response information sent by the multiple gate valves; and responds to the multiple gate valves according to the response information.

[0069] In order to ensure that the data transmission of the control process does not interfere with the data transmission in the above-mentioned configuration method 300, in the present application, the field irrigation system includes a gateway and a plurality of gate valves, and the gateway and the plurality of gate valves constitute a LORA communication network, wherein the gateway includes a first LORA module and a second LORA module, and the frequencies of the first LORA module and the second LORA module are different; the plurality of gate valves include a third LORA module, and the frequency of the third LORA module is the frequency of the first LORA module or the frequency of the second LORA module.

[0070] Specifically, when the frequency of the third LoRa module is the frequency of the first LoRa module, the gateway actively sends a control command to the gate valve through the first LoRa module, and the gateway receives the response information sent by the gate valve. When the frequency of the third LoRa module is the frequency of the second LoRa module, the gateway receives the data information actively sent by the gate valve through the second LoRa module.

[0071] Among them, the frequency of the first LoRa module and the frequency of the second LoRa module can be expressed by the first formula, which is:

[0072] |f x -f μ |≥1MHz;

[0073] Among them, f x is the frequency of the first LORA module, f μ is the frequency of the second LoRa module.

[0074] Optionally, when the gate valve needs to actively send data information to the gateway, the control system in the gate valve controls the frequency of the third LORA module to replace the frequency of the second LORA module. It should be noted that under normal circumstances, when the gate valve does not need to actively send data information to the gateway, the gateway only controls the gate valve to perform switch commands for irrigation operations, and when the gate valve responds to the gateway, the frequency of the third LORA module is usually the frequency of the first LORA module.

[0075] It should be understood that the control system of the gate valve can be a built-in microprocessor or programmable logic controller (PLC), which can adjust the frequency of the third LORA module in the gate valve.

[0076] Optionally, the gate valve has the function of actively sending data information to the gateway at regular intervals, such as sending data information to the gateway every 6 hours, where the interval time can be set according to actual conditions, such as the size of the field, the number of gate valves, etc. This application does not impose any limitations on this.

[0077] Optionally, in the present application, the process of the gateway controlling the gate valve to open and close the gate and the process of the gate valve responding can also be implemented by the following parallel sending method, as follows:

[0078] Figure 4 A schematic flowchart of a control method 400 for a field irrigation system provided in an embodiment of the present application is shown.

[0079] like Figure 4 As shown, the control method 400 of the field irrigation system may include the following steps.

[0080] S410: The gateway sends a control command based on the LORA communication protocol in a broadcast manner, and the control command includes: a first address field, wherein the first address field includes a wake-up code field and a second address field, the wake-up code field is used to wake up multiple gate valves, and the second address field is used to indicate the communication address of at least one gate valve among the multiple gate valves.

[0081] S420: Wake up all gate valves among the plurality of gate valves according to the wake-up code field.

[0082] S430: According to the second address field, at least one gate valve among the plurality of gate valves performs an opening operation.

[0083] In step S410, the gateway may send control commands based on the LORA communication protocol to multiple gate valves at the same time. Specifically, the gateway may receive the gate valve switch command sent by the software platform on the server, and then send relevant control commands to multiple gate valves at the same time to control the switch of the gate valve. Optionally, in some embodiments, the server may receive the gate valve switch command sent by the user terminal, and then forward the gate valve switch command sent by the user to the gateway. The gateway sends a control command according to the gate valve switch command to notify the repeater and the gate valve to respond to the user's control needs in a timely manner. In other embodiments, the server may receive relevant status data of field crops, such as temperature, humidity, light, etc., and actively send gate valve switch commands to the gateway, and the gateway notifies the gate valve to achieve field irrigation needs.

[0084] Optionally, the control command also includes a frequency field for indicating the communication frequency between the gateway and the multiple gate valves.

[0085] In step S420, at least one of the plurality of gate valves performs a gate opening and closing operation of at least one gate valve according to the broadcast wake-up code field and the second address field in the control command.

[0086] Specifically, when the gateway sends a control command to the gate valve, the wake-up code field in the control command is broadcast, indicating that all gate valves can receive the control command sent by the gateway. The second address field in the control command is used to indicate the communication address and switch command information of at least one gate valve among the multiple gate valves. More specifically, the wake-up code in the control command is used to wake up or activate all gate valves, and the second address field in the control command is used to control at least one gate valve among the multiple gate valves to open or close the gate.

[0087] As an example, a field format of a control command is: FFFF 01S1 S2 ... SX, wherein FFFF is a protocol header, 01 is a frequency field, and S1 S2 ... SX is a second address field.

[0088] exist Figure 2In the field irrigation system 200 shown, the communication address of gate valve #1 is, for example, S1, the communication address of gate valve #2 is, for example, S2, and so on.

[0089] For example, the protocol format of the communication sent by the gateway to irrigation group A consisting of gate valve #1, gate valve #2…gate valve #10 is: FFFF 01S1 S2…S10. In this way, the gate valves of a irrigation group can receive the control command at the same time and perform the gate opening and closing operations.

[0090] Optionally, the second address field may be a field that exceeds the size of a rotation irrigation group. For example, the protocol format of the communication sent by the gateway to multiple rotation irrigation groups is: FFFF 01S1 S2…S20. In this way, 20 gate valves can receive the control command at the same time to perform the gate opening and closing operations, that is, the rotation irrigation group A and the rotation irrigation group B perform irrigation operations together. In the actual irrigation process, the second address field in the control command can be set according to the irrigation needs of the field to control the number of rotation irrigation groups, and this application does not impose any restrictions on this.

[0091] For example, if a wheel irrigation group has 20 valves, the solution of this embodiment can be completed in about 1 minute, while the serial transceiver solution in the prior art takes about 4 minutes to complete; therefore, the solution of the present application can significantly improve the transmission efficiency. At the same time, when the number of gate valves in the wheel irrigation group increases, the transmission efficiency is improved more significantly, and from the perspective of the gateway, it is easier to avoid congestion.

[0092] Through the technical solution of the embodiment of the present application, a parallel sending method is adopted, so that there is no queuing phenomenon in the process of sending by the gateway, and for the rotation irrigation group, the control command of the entire rotation irrigation group can be received at the same time, and then the gate valve of the entire rotation irrigation group can be controlled to switch, which reduces the delay and significantly improves the efficiency. Compared with the prior art, the wake-up code in the control command sent by the gateway to the gate valve adopts a non-broadcast method, and only one of the multiple gate valves can receive the control command sent by the gateway. In addition, for the rotation irrigation group, the prior art must wait until all the gate valves are opened before performing irrigation operations. The gateway needs to queue up to send control commands to the gate valves of a rotation irrigation group, which has a large delay and low efficiency.

[0093] After the gate valve receives and executes the control command, the gate valve actively sends a response message (such as an acknowledgement (ACK) message) to the gateway, and the response message is used to indicate that the gate valve has received and executed the control command. In order to reduce the problem of conflict and packet loss caused by multiple gate valves actively sending command execution completion data to the gateway at the same time, this application proposes a command avoidance method, which aims to avoid the problem of data packet loss and improve the reliability of the system through the following avoidance method.

[0094] Figure 5 A schematic flowchart of a second control method 500 for a field irrigation system provided in an embodiment of the present application is shown.

[0095] like Figure 5 As shown, the control method 2 500 of the field irrigation system may include the following steps.

[0096] S510: Multiple gate valves determine their respective response times according to their own device numbers.

[0097] S520: The multiple gate valves send response information to the gateway respectively according to the response time.

[0098] S530: After receiving the response information, the gateway responds to the multiple gate valves.

[0099] In step S510, multiple gate valves divide their own device numbers by 10 to obtain the remainder, and determine the delay time to send the response information according to the remainder. For example, for the device number of gate valve 1# is 1, the remainder obtained by dividing 1 and 10 is 1; for the device number of gate valve 2# is 2, the remainder obtained by dividing 2 and 10 is 2, that is, gate valve 1# delays 1 second before sending the response information, and gate valve 2# delays 2 seconds before sending the response information to the gateway.

[0100] It should be understood that the device number is a serial number or MAC address, which is used to identify multiple gate valves on the network. The device number ensures that each gate valve can be uniquely identified in the gateway or user terminal to avoid address conflicts and data transmission errors.

[0101] In step S530, if no response is received, the data is sent again after a random delay of 0 to 5 seconds. If a response is received from the gateway, it means that the data has been sent successfully.

[0102] Optionally, the gateway will automatically time after sending the control command. Since the longest execution time of the gate valve switch is less than 30 seconds, if no feedback information from the gate valve is received within 1 minute, the gate valve status will be actively pulled. Even if the feedback information of individual gate valves is lost, it cannot be obtained by pulling, thus ensuring the reliability of the entire system. This greatly improves the execution efficiency of the entire irrigation group and shortens the execution time.

[0103] Through the technical solution of the embodiment of the present application, the feedback information of the gate valve is confirmed multiple times through the gate valve and the gateway to ensure that the gateway receives the response information sent by the gate valve, avoid the problem of packet loss, and improve the reliability of the system.

[0104] Optionally, in the present application, there are usually multiple gateways in a field, and the coverage areas of adjacent gateways overlap. In order to avoid mutual interference between adjacent gateways, adjacent gateways are required to be at different LORA communication frequencies, that is, the frequency setting of the second LORA module of each gateway is different.

[0105] In addition, many projects have unified equipment management. In autumn, the gate valves are removed and stored together. The gate valves corresponding to multiple gateways will be mixed together. In the second year, they will be installed randomly. At this time, the LORA communication frequencies of the gate valves under the same gateway will be different. In this application, the above problems are solved in the following ways:

[0106] The frequency of the second LORA module of the gate valve ranges from [f1, fn], where f1 to fn are the frequencies of the second LORA modules of multiple gateways.

[0107] During the reconfiguration process, the gate valve continuously changes the frequency of the third LoRa module and sends data information to the gateway until the frequency of the third LoRa module of the gate valve is the same as the frequency of the second LoRa module of the gateway, and then matches. According to this configuration method, the gate valve can automatically configure with the frequency of the gateway, which greatly improves efficiency.

[0108] For example, there are 10 gateways in an area. After the gateways are installed, the LORA communication frequencies of the 10 gateways are f0, f1, f2, f3, f4, f5, f6, f7, f8, and f9, respectively. The gateway numbers correspond to 1 to 10, that is, the frequency of gateway No. 1 is f0, and the frequency of gateway No. 10 is f9. After the gate valve is installed, press the configuration button on the gate valve, and the gate valve automatically enters the sweep frequency mode, that is, first change the LORA communication frequency to f0, f1, f2, f3, f4, f5, f6, f7, f8, and f9 respectively, and then change the frequency to The gateway sends data information and then waits for the gateway to respond. If no response is received from the gateway after three transmissions, the current frequency matching fails and the valve automatically switches the LORA communication frequency to the next frequency point for communication testing. Similarly, when the gate valve receives a reply from the gateway at a certain frequency point, the automatic matching is successful and the gate valve communicates with the gateway based on the frequency. When all gate valves on gateway No. 1 are matched, gateway No. 1 exits the matching mode and allows gateway No. 2 to enter the matching mode. The same operation process is followed. Finally, all gate valves under gateways No. 1 to No. 10 are accurately matched with the gateway.

[0109] The present application also provides a field irrigation system. Figure 6 A schematic structural block diagram of a field irrigation system 600 is shown.

[0110] like Figure 6As shown, the field irrigation system 600 includes: a gateway 620 and a plurality of gate valves 610 constituting a LORA communication network, and the gateway 620 and the plurality of gate valves 610 are used to execute the configuration method in the above embodiment.

[0111] Optionally, the field irrigation system 600 also includes: a user terminal 630, which is used for wirelessly communicating with the gateway 620 to send instructions to the gateway 620; the gateway 620 is used to receive the first data information sent by the multiple gate valves 610 according to the instructions to match the multiple gate valves 610.

[0112] Optionally, the user terminal 630 is also used to wirelessly communicate with the gateway 620 to send a gate valve switch instruction to the gateway 620; the gateway 620 is used to send a control command to the multiple gate valves 610 according to the gate valve switch instruction.

[0113] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0114] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0115] It should be understood that the specific examples in this article are only intended to help those skilled in the art better understand the embodiments of the present application, rather than to limit the scope of the embodiments of the present application.

[0116] It should also be understood that in the various embodiments of the present application, the size of the serial number of each process 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.

[0117] It should also be understood that the various implementation methods described in this specification can be implemented individually or in combination, and the embodiments of the present application are not limited to this.

[0118] Unless otherwise stated, all technical and scientific terms used in the embodiments of the present application are the same as the meanings generally understood by those skilled in the art of the technical field of the present application. The terms used in the present application are only for the purpose of describing specific embodiments and are not intended to limit the scope of the present application. The term "and / or" used in the present application includes any and all combinations of one or more related listed items. The singular forms of "a kind of", "above" and "the" used in the embodiments of the present application and the appended claims are also intended to include majority forms, unless the context clearly indicates other meanings. In addition, the terms "first", "second", "third" etc. are only used for description purposes and cannot be understood as indicating or suggesting relative importance.

[0119] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

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

[0121] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0122] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0123] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for configuring a field irrigation system, It is characterized in that The field irrigation system includes a gateway and a plurality of gate valves, wherein the gateway and the plurality of gate valves constitute a LORA communication network, and the method includes: Receiving first data information sent by the plurality of gate valves, wherein the first data information includes device numbers and location information of the plurality of gate valves; Add the device number to the device list of the gateway, and send the first data information to the software platform; Receive second data information processed by the software platform, and add the second data information to the device list so that the gateway and the multiple gate valves are successfully configured, wherein the second data information includes information of at least one irrigation group corresponding to the multiple gate valves, angle information of each irrigation group, and irrigation time of each irrigation group, and each irrigation group includes at least one gate valve.

2. The configuration method according to claim 1, It is characterized in that The information of at least one irrigation group corresponding to the multiple gate valves is confirmed by calculating the distance between the multiple gate valves based on the equipment number and the location information.

3. The configuration method according to claim 1 or 2, It is characterized in that In the device list, the second data information corresponds to the device number.

4. The configuration method according to claim 1, It is characterized in that After the gateway and the plurality of gate valves are successfully configured, the method includes: Sending a control command based on the LORA communication protocol to the multiple gate valves; According to the control command, the plurality of gate valves are controlled to perform gate opening and closing operations.

5. The configuration method according to claim 4, It is characterized in that After the switch operation is performed, the method includes: Receiving response information sent by the plurality of gate valves; A response is made to the plurality of gate valves according to the response information.

6. The configuration method according to claim 5, It is characterized in that The gateway includes a first LORA module and a second LORA module, and the frequencies of the first LORA module and the second LORA module are different; the plurality of gate valves include a third LORA module, and the frequency of the third LORA module is the frequency of the first LORA module or the frequency of the second LORA module, and the method further includes: When the frequency of the third LORA module is adjusted to the frequency of the first LORA module, the gateway sends the control command to the multiple gate valves through the first LORA module and receives the response information sent by the multiple gate valves; When the frequency of the third LORA module is adjusted to the frequency of the second LORA module, the gateway receives the data information sent by the multiple gate valves through the second LORA module.

7. The configuration method according to claim 6, It is characterized in that The frequency of the first LORA module and the frequency of the second LORA module can be expressed by a first formula, wherein the first formula is: |f x -f μ |≥1MHz; Among them, f x is the frequency of the first LORA module, f μ is the frequency of the second LoRa module.

8. The configuration method according to claim 6 or 7, It is characterized in that The gateway includes a first gateway and a second gateway, wherein the LORA communication frequency of the first gateway is different from the LORA communication frequency of the second gateway, and the LORA communication frequency includes the frequency of the first LORA module and the frequency of the second LORA module.

9. The configuration method according to any one of claims 1 to 8, It is characterized in that After the gateway successfully matches the plurality of gate valves, the method further includes: The gateway sends a control command based on the LORA communication protocol in a broadcasting manner, wherein the control command includes: a first address field, wherein the first address field includes a wake-up code field and a second address field, the wake-up code field is used to wake up the multiple gate valves, and the second address field is used to indicate the communication address of at least one gate valve among the multiple gate valves; According to the wake-up code field, all the gate valves of the plurality of gate valves perform a wake-up operation; At least one gate valve among the plurality of gate valves performs an opening operation according to the second address field.

10. The configuration method according to claim 8, It is characterized in that The method further comprises: When the multiple gate valves are installed again, the frequency of the third LORA module is adjusted according to the LORA communication frequency, wherein the frequency of the third LORA module is the LORA communication frequency of the first gateway or the LORA communication frequency of the second gateway.

11. The configuration method according to claim 10, It is characterized in that The step of adjusting the frequency of the third LORA module according to the LORA communication frequency includes: When the LORA communication frequency is the LORA communication frequency of the first gateway, adjusting the frequency of the third LORA module to the LORA communication frequency of the first gateway; When the LORA communication frequency is the LORA communication frequency of the second gateway, the frequency of the third LORA module is adjusted to the LORA communication frequency of the second gateway.

12. A field irrigation system, It is characterized in that include: A gateway and a plurality of gate valves constituting a LORA communication network, wherein the gateway and the plurality of gate valves are used to execute the configuration method as claimed in any one of claims 1 to 11.

13. The field irrigation system according to claim 12, It is characterized in that The field irrigation system further includes: a user terminal, the user terminal being used for wirelessly communicating with the gateway to send instructions to the gateway; The gateway is used to receive the first data information sent by the multiple gate valves according to the instruction to match with the multiple gate valves.

14. The field irrigation system according to claim 13, It is characterized in that The user terminal is also used to perform wireless communication with the gateway to send a gate valve switch instruction to the gateway; The gateway is used to send control commands to the multiple gate valves according to the gate valve switching instructions.

Citation Information

Patent Citations

  • Agricultural irrigation water saving system

    CN106258858A

  • Wireless valve control system and control method

    CN106286940A

  • Communication control method and device, electronic device and storage medium

    CN110365779A

  • Multi-platform interactive control field intelligent irrigation system

    CN113854125A

  • Communication method of field irrigation system and field irrigation system

    CN118118517A