An automated irrigation valve control system and irrigation valve control method
By introducing a positioning module and an orientation angle sensor into the irrigation control system, and using a server to match the spatial position information of the irrigation device and the pipeline, the irrigation control device and the pipeline can be automatically matched, which solves the problem of complex and time-consuming installation in the existing technology and improves the installation efficiency.
Patent Information
- Application Number
- CN202310373346.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2025-12-26
- Estimated Expiration
- 2043-04-07
AI Technical Summary
Existing automated irrigation systems require manual mapping of the signal input/output channel numbers of irrigation valve controllers to the connection relationships of irrigation pipes during installation, resulting in cumbersome and time-consuming installation, especially when crops are changed, this step needs to be repeated.
An irrigation control system is adopted, which includes irrigation valves, valve controllers, positioning modules and communication modules. The installation location is obtained through satellite positioning, and the correspondence between the identification code of the matching device and the pipeline identification is used by the server. Combined with the direction angle sensor, the number of the irrigation channel or signal line is determined to achieve automatic matching.
It simplifies the installation process of irrigation control devices, saves manpower, improves installation efficiency, and avoids remote control failure caused by installation errors.
Smart Images

Figure CN118765759B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of valve installation control, in particular to an automatic irrigation valve control system and an irrigation valve control method. BACKGROUND
[0002] In the current automatic irrigation system, the irrigation control device is mainly composed of an irrigation valve and a valve controller. The combination connection mode of the irrigation valve and the valve controller can be divided into two forms: a split type and an integrated type.
[0003] In the prior art, whether the irrigation control device is of the split type or the integrated type, the valve controller number needs to be manually matched with the name of the pipeline controlled by the valve controller during installation. For a control device that controls multiple pipelines, the signal input and output channel number of the valve controller also needs to be associated with the connection relationship between the irrigation valve and the actual irrigation pipeline to ensure the mapping relationship between the digital number and the physical equipment, so as to realize remote control of the opening and closing of a specific valve according to the valve number and the signal input and output channel number. Moreover, due to crop replacement and other reasons, the irrigation control device often needs to be repeatedly installed, and the above steps need to be repeated during each installation, which is complex and tedious and wastes manpower. SUMMARY
[0004] To solve the above technical problems, the present application provides an automatic irrigation valve control system and an irrigation valve control method, which can at least partially solve the problems in the prior art.
[0005] In a first aspect, the present application provides an automatic irrigation valve control system, comprising: an irrigation control device and a server.
[0006] The irrigation control device comprises:
[0007] at least one irrigation valve, which is arranged at one end of a pipeline;
[0008] a valve controller, configured to control the opening and closing of the irrigation valve according to a control signal received from the server;
[0009] a positioning module, configured to obtain the installation position of the irrigation control device;
[0010] a communication module, connected with the positioning module, configured to upload the installation position and the device identification code of the irrigation control device to the server, and send the control signal received from the server to the valve controller;
[0011] The server is configured to match the pipeline controlled by the irrigation control device according to the installation position of the irrigation control device and a preset position, and obtain the corresponding relationship between the device identification code and the pipeline identification of the pipeline.
[0012] The server is specifically configured to:
[0013] The installation position is matched with a preset position to obtain a preset position closest to the installation position.
[0014] The closest preset position corresponding to each pipeline is obtained to obtain the correspondence between the device identification code and the pipeline identification of each pipeline.
[0015] The irrigation control device is an integrated control device, and the irrigation valve includes at least one irrigation channel.
[0016] The direction angle sensor is configured to detect the included angle data between the irrigation control device and a preset direction.
[0017] The communication module is further connected to the direction angle sensor and configured to upload the included angle data to the server.
[0018] The server is further configured to determine the relative positions of each irrigation channel in the irrigation control device according to the included angle data, determine the pipelines connected to each irrigation channel according to the relative positions, and obtain the correspondence between the number of each irrigation channel and the pipeline identification of the pipeline.
[0019] The irrigation control device is a split control device, and each signal line of the valve controller has the same connection identification as the corresponding irrigation valve.
[0020] The irrigation control device is a split control device, and the irrigation valve further includes:
[0021] The direction angle sensor is configured to detect the included angle data between the irrigation valve and a preset direction.
[0022] The communication module is further configured to upload the included angle data of each irrigation valve and the number of the corresponding signal line to the server.
[0023] The server is further configured to determine the pipelines connected to each irrigation valve according to the included angle data of each irrigation valve, and obtain the correspondence between the number of the corresponding signal line of each irrigation valve and the pipeline identification.
[0024] The communication module adopts a wireless ad hoc network or a point-to-point mode for communication.
[0025] The communication module adopts a public wireless network mode for communication, and the public wireless network mode includes at least one of GSM / GPRS / 2G / 3G / 4G / 5G / NB-Iot / WIFI.
[0026] Secondly, this application provides an irrigation valve control method, applied to the automated irrigation valve control system, comprising:
[0027] The positioning module obtains the installation location of the irrigation control device;
[0028] The communication module uploads the installation location and the device identification code of the irrigation control device to the server;
[0029] The server matches the irrigation control device with the pipeline controlled by the irrigation control device according to the installation location and preset location, obtains the correspondence between the device identification code and the pipeline identifier, and sends the control signal to the communication module according to the correspondence.
[0030] The valve controller controls the opening and closing of the irrigation valve based on the control signal obtained from the communication module.
[0031] The step of matching the irrigation control device with the pipeline controlled by the irrigation control device based on its installation location and a preset location to obtain the correspondence between the device identification code and the pipeline identifier includes:
[0032] The installation position is matched with a preset position to obtain the preset position that is closest to the installation position;
[0033] Obtain the pipe identifier of each pipe corresponding to the nearest preset position, and obtain the correspondence between the device identification code and the pipe identifier of each pipe.
[0034] The irrigation valve control method is used to control the irrigation valve in an integrated irrigation control device, the irrigation valve including at least one irrigation channel, wherein it further includes:
[0035] An orientation angle sensor detects the angle data between the irrigation control device and a preset direction;
[0036] The communication module uploads the included angle data to the server;
[0037] The server determines the relative position of each irrigation channel in the irrigation control device based on the included angle data, determines the pipe connected to each irrigation channel based on the relative position, and obtains the correspondence between the number of each irrigation channel and the pipe identifier.
[0038] The irrigation valve control method is used to control the irrigation valve in a split-type irrigation control device, and further includes:
[0039] An orientation angle sensor detects the angle data between the irrigation valve and a preset direction;
[0040] The communication module uploads the included angle data of each irrigation valve and the number of the corresponding signal line to the server.
[0041] The server determines the pipeline connected with each irrigation valve according to the included angle data of each irrigation valve, and obtains the corresponding relationship between the number of the signal line corresponding to each irrigation valve and the pipeline identification.
[0042] In a third aspect, the application provides an irrigation valve control method, comprising:
[0043] Obtaining the pipeline identification corresponding to the pipeline to be opened;
[0044] Determining the device identification code of the irrigation control device for controlling the pipeline according to the pipeline identification;
[0045] Obtaining the number of the irrigation channel or the number of the signal line corresponding to the pipeline identification;
[0046] Sending an irrigation valve opening signal to the corresponding irrigation control device according to the device identification code to open the irrigation valve connected with the pipeline; the irrigation valve opening signal comprises an opening command and the number of the corresponding irrigation channel or the number of the signal line.
[0047] The automatic irrigation valve control system and the irrigation valve control method provided by the application obtain the installation position of the irrigation control device through the positioning module; the communication module uploads the installation position and the device identification code of the irrigation control device to the server; the server matches the pipeline controlled by the irrigation control device according to the installation position of the irrigation control device and the preset position, obtains the corresponding relationship between the device identification code and the pipeline identification of the pipeline, and sends the control signal to the communication module according to the corresponding relationship; the valve controller controls the opening and closing of the irrigation valve according to the control signal obtained from the communication module, and uses the spatial position information to realize the automatic correspondence between the irrigation control device and the pipeline information controlled by the irrigation control device after installation, so that the specific irrigation control device does not need to be installed at a specific position during installation, the installation process is simplified, the manpower is saved, and the installation efficiency is improved. BRIEF DESCRIPTION OF DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description only constitute some embodiments of the application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.
[0049] Figure 1 is a structural schematic diagram of a valve control system;
[0050] Figure 2 is a structural schematic diagram of an irrigation control device provided by an embodiment of the application;
[0051] Figure 3 is a structural schematic diagram of an integrated irrigation control device provided by an embodiment of the present application;
[0052] Figure 4 is a structural schematic diagram of an integrated irrigation control device provided by an embodiment of the present application;
[0053] Figure 5 is a structural schematic diagram of a split irrigation control device provided by an embodiment of the present application;
[0054] Figure 6 is a structural schematic diagram of a split irrigation control device provided by an embodiment of the present application;
[0055] Figure 7 is a structural schematic diagram of a split irrigation control device provided by an embodiment of the present application;
[0056] Figure 8 is a flow chart of an irrigation valve control method provided by an embodiment of the present application;
[0057] Figure 9 is a flow chart of an irrigation valve control method provided by an embodiment of the present application;
[0058] Figure 10 is a flow chart of an irrigation valve control method provided by an embodiment of the present application;
[0059] Figure 11 is a flow chart of an irrigation valve control method provided by an embodiment of the present application;
[0060] Figure 12 is a flow chart of an irrigation valve control method provided by an embodiment of the present application. DETAILED DESCRIPTION
[0061] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, further detailed description will be made to the embodiments of the present application with reference to the accompanying drawings. Herein, the illustrative embodiments of the present application and the description thereof are used to explain the present application, but not as a limitation to the present application. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other at will.
[0062] Figure 1 is a structural schematic diagram of a valve control system, such as Figure 1As shown, the valve control system comprises an irrigation control device 110 and a server 120, a plurality of irrigation control devices 110 are connected with the server 120 through a network, each irrigation control device 110 is connected with different pipes, and the server 120 sends a control signal to different irrigation control devices 110 through a selection device identification code to realize the control of the pipes connected with the selected irrigation control device 110.
[0063] Therefore, when installing, it is necessary to connect the irrigation control device 110 with different device identification codes with the pipes controlled by it, so as to realize remote control through the server 120. Each time the irrigation control device 110 is installed, the specific irrigation control device 110 needs to be installed at a specific position, and if one irrigation control device 110 controls a plurality of irrigation pipes, the irrigation valves of the irrigation control device 110 also need to be corresponded with the specific pipes. The installation work is complicated and complex, and if the correspondence is wrong during installation, the accurate remote control through the server 120 cannot be realized.
[0064] To solve the above problems, the application provides an automatic irrigation valve control system, Figure Two The structural diagram of the irrigation control device 110 in an embodiment of the system is shown in the figure, Figure 2 As shown, the irrigation control device 110 comprises:
[0065] At least one irrigation valve 111 is arranged at one end of the pipe;
[0066] Specifically, each irrigation valve 111 is connected with at least one pipe and arranged at one end of the pipe, and the irrigation liquid can flow through the pipe connected with the irrigation valve 111 by opening and closing the irrigation valve 111.
[0067] In an embodiment, the pipe connected with the irrigation valve 111 is connected with a tee pipe at a certain distance, and the tee pipe is connected with a drip irrigation pipe or a drip irrigation belt, and after the irrigation valve 111 is opened, the irrigation liquid can flow into each drip irrigation pipe through the pipe and the tee pipe and drip from the plurality of drips on the drip irrigation pipe.
[0068] In another embodiment, the pipe connected with the irrigation valve 111 is connected with an irrigation spray head at a certain distance, and after the irrigation valve 111 is opened, the irrigation liquid can flow to the spray head through the pipe and be sprayed to realize irrigation.
[0069] The valve controller 112 is used for controlling the opening and closing of the irrigation valve 111 according to the control signal received from the server 120;
[0070] Specifically, the valve controller 112 can be set with a suitable opening mode according to actual conditions, and the application does not limit the specific opening mode of the valve controller 112 to open the irrigation valve. In an embodiment, the valve controller 112 can be connected to different irrigation valves 111 through different signal lines, and the valve controller 112 can send an opening command to the corresponding signal line to open the irrigation valve 111 connected to the signal line. In another embodiment, the irrigation valve 111 is a multi-channel ball valve, and the valve controller 112 controls the opening of the corresponding channel by controlling the orientation of the ball in the irrigation valve 111. In addition, the valve controller 112 can also control the opening degree of the irrigation valve 111 according to the control signal.
[0071] The positioning module 113 is configured to obtain the installation position of the irrigation control device 110.
[0072] Specifically, the positioning module 113 obtains the installation position of the irrigation control device 110 through the received satellite positioning signal. The positioning module 113 can also be built into the valve controller 112.
[0073] The communication module 114 is connected to the positioning module 113 and is configured to upload the installation position and the device identification code of the irrigation control device 110 to the server 120, and send the control signal received from the server 120 to the valve controller 112.
[0074] Specifically, different device identification codes can be set for each irrigation control device and stored in the communication module 114. The communication module 114 uploads the device identification code at the same time as uploading the installation position, so as to identify the irrigation control device 110 corresponding to the installation position. In addition, the communication module 114 is also connected to the valve controller 112, and is configured to send the command received from the server 120 to the valve controller 112. The communication module 114 can also be built into the valve controller 112.
[0075] The server 120 is configured to match the pipeline controlled by the irrigation control device according to the installation position of the irrigation control device and the preset position, and obtain the correspondence between the device identification code and the pipeline identification.
[0076] Specifically, the server 120 matches the installation position of the irrigation control device with each preset position to obtain the information of the pipeline controlled by the irrigation control device 110, thereby establishing the correspondence between the device identification code of each irrigation control device 110 and the pipeline identification of the pipeline controlled by the irrigation control device 110. Each irrigation pipeline has a unique pipeline identification, and different irrigation pipelines have different pipeline identifications.
[0077] The automatic irrigation valve control system provided in the application realizes automatic correspondence between the irrigation control device and the pipeline information controlled by the irrigation control device after installation by using spatial position information, without installing a specific irrigation control device at a specific position during installation, simplifies the installation process, saves manpower, and improves installation efficiency.
[0078] In an embodiment, further, the server 120 is specifically configured to:
[0079] match the installation position with each preset position to obtain a preset position closest to the installation position;
[0080] Specifically, before the irrigation control device 110 is installed, the positions of each pipeline and facilities such as the ground stake and water tap are determined, and the theoretical position of the irrigation control device 110 to be installed can be obtained according to the positions of the installed facilities, that is, each preset position of the irrigation control device 110. Different preset positions correspond to different pipelines, and each pipeline has a different pipeline identifier. The server 120 calculates the Euclidean distance between the received installation position and each preset position, and selects the closest preset position to complete the matching.
[0081] Obtain the pipeline identifier of each pipeline corresponding to the closest preset position to obtain the correspondence relationship between the device identifier and the pipeline identifier of each pipeline.
[0082] Specifically, the server 120 queries the pipeline identifier of the pipeline corresponding to the matched preset position according to the matched preset position, and these pipelines are the pipelines actually controlled by the irrigation control device 120. The queried pipeline identifier is corresponded to the device identifier of the irrigation control device 120. In addition, the device identifier and the pipeline identifier corresponding thereto can be stored in a database for subsequent query and calling.
[0083] The automatic irrigation valve control system provided in the application realizes automatic correspondence between the irrigation control device and the pipeline controlled by the irrigation control device by using spatial position information through the server, and obtains the correspondence relationship between the device identifier of the irrigation control device and the pipeline identifier corresponding to each pipeline, so as to facilitate subsequent remote control of each pipeline through the device identifier.
[0084] Figure 3 is a structural schematic diagram of an integrated irrigation control device provided in an embodiment of the application, as shown in Figure 3 On the basis of the above embodiments, further, the irrigation control device is an integrated control device, the irrigation valve 111 includes at least one irrigation channel, and the irrigation control device 110 further includes:
[0085] The direction angle sensor 115 is configured to detect the included angle data between the irrigation control device 110 and a preset direction.
[0086] Specifically, the preset direction can be the north pole direction, the south pole direction, etc., and the application does not limit the same. The direction angle sensor 115 can be a north micro sensor, an LEC21, a two-dimensional electronic compass, a magnetic sensor, etc., and the application does not limit the selection of the direction angle sensor 115. The direction angle sensor 115 can also be built-in in the valve control 112.
[0087] For example, as shown in FIG. 1, the preset direction is the north pole direction, and the direction angle sensor 115 is used to detect the included angle θ between the irrigation control device 110 and the north pole direction and transmit the included angle data θ to the communication module 114. Figure 4
[0088] The communication module 114 is also connected with the direction angle sensor 115 and is used to upload the included angle data to the server 120.
[0089] Specifically, the communication module 114 uploads the included angle data transmitted by the direction angle sensor 115 to the server 120 after the installation of the irrigation control device is completed.
[0090] The server 120 is also used to determine the relative positions of the irrigation channels in the irrigation control device 110 according to the included angle data, determine the pipes connected with the irrigation channels according to the relative positions, and obtain the corresponding relationship between the numbers of the irrigation channels and the pipe identifiers of the pipes.
[0091] Specifically, each irrigation valve 111 includes at least one irrigation channel, and each irrigation channel can be connected with a pipe. The server 120 determines the directions of the ends where the irrigation channels in the irrigation control device are located according to the included angle data, thereby determining the relative positions of the irrigation channels. According to the relative positions of the irrigation channels and the relative positions of the pipes controlled by the irrigation control device 110, the pipes connected with the irrigation channels can be determined, thereby obtaining the corresponding relationship between the numbers of the irrigation channels and the pipe identifiers of the pipes. The irrigation valve can be selected according to the actual situation, for example, a multi-channel ball valve, a diaphragm valve, a plunger valve, a butterfly valve, etc., and the application does not limit the specific types of the irrigation valve.
[0092] For example, as shown in FIG. 2, an integrated irrigation control device 110 includes a multi-channel irrigation valve 111, which has two irrigation channels 111a and 111b. The included angle θ between the irrigation control device 110 and the north pole direction is 30°, and it can be known that the irrigation channel 111a of the irrigation control device 110 is located in the northerly direction, and the irrigation channel 111b is located in the southerly direction. Therefore, the irrigation channel 111a is connected with the northerly pipe 51, and the irrigation channel 111b is connected with the southerly pipe 52. In an embodiment, 111a and 111b can also be two irrigation valves with unique channels. Figure 4
[0093] In addition, as shown in Figure 3 The integrated irrigation control device 110 can also include a ground stake connector 116 for connecting with a ground stake.
[0094] The automatic irrigation valve control system provided by the present application can determine the relative positions of the irrigation channels according to the included angle between the irrigation control device and the north direction after installation is completed when the irrigation control device is an integrated control device, thereby determining the pipe identifiers of the pipes connected with the irrigation channels, obtaining the corresponding relationship between the numbers of the irrigation channels and the pipe identifiers, and simplifying the installation steps and improving the installation efficiency when the irrigation control device is installed, and the problem of incorrect control of the opening and closing of the pipes due to installation errors can be avoided.
[0095] Figure 5 is a structural schematic diagram of a split-type irrigation control device provided by an embodiment of the present application, and in Figure 2 Based on the embodiment, further, as shown in Figure 5 When the irrigation control device is a split-type control device, the signal lines 117 of the valve controller 112 have the same connection identifiers as the corresponding irrigation valves 111.
[0096] Specifically, since the signal lines 117 and the irrigation valves 111 do not have a fixed connection relationship in the split-type irrigation control device, the same connection identifiers are set for the signal lines 117 and the corresponding irrigation valves 111, so that the signal lines 117 and the irrigation valves 111 can be connected correspondingly, and the valve controller 112 can control the determined irrigation valves 111 by selecting the signal lines 117 outputting signals. In an embodiment, the signal lines 117 and the corresponding irrigation valves 111 can have the same marks, for example, A and B in Figure 5 In another embodiment, the signal lines 117 and the irrigation valves 111 can be painted with the same color, and the present application does not limit the setting of the same connection identifiers.
[0097] The present application can make the signal lines and the irrigation valves connected correspondingly by setting the same connection identifiers for the signal lines of the valve controller and the corresponding irrigation valves, so that the valve controller can control the specific irrigation valves by selecting the signal lines outputting signals.
[0098] Figure 6 is a structural schematic diagram of a split-type irrigation control device provided by an embodiment of the present application, and in Figure 2 Based on the embodiment, further, as shown in Figure 6 When the irrigation control device is a split-type control device, the irrigation valves 111 further include:
[0099] The direction angle sensor 115 is configured to detect the angle data between the irrigation valve and a preset direction.
[0100] Specifically, since the signal lines 117 of the valve controllers 112 in the split irrigation control device 110 extend from the same outlet, and the directions of the signal lines 117 cannot be determined after extending, the positions of the irrigation valves 111 in the irrigation control device 110 cannot be determined, and thus the relative position relationship of the irrigation valves 111 cannot be determined according to the angle data of the irrigation control device. At this time, a direction angle sensor 115 can be arranged in each irrigation valve 111 to detect the angle data between the irrigation liquid outflow direction of the irrigation valve 111 and a preset direction. The preset direction can be the north direction, the south direction, etc., which are not limited in the present application.
[0101] The communication module (not shown) is further configured to upload the angle data of each irrigation valve 111 and the corresponding number of the signal line 117 to the server 120.
[0102] Specifically, the direction angle sensor 115 in each irrigation valve 111 can transmit the angle data to the valve controller 112 through the signal line 117, and the communication module receives the angle data and the number of the signal line 117 transmitting the corresponding angle data from the valve controller 112, and uploads them to the server 120.
[0103] The server 120 is further configured to determine the pipeline connected with each irrigation valve 111 according to the angle data of each irrigation valve 111, and obtain the corresponding relationship between the number of the signal line 117 corresponding to each irrigation valve 111 and the pipeline identifier.
[0104] Specifically, the server 120 finds the pipeline with the same irrigation liquid flow direction as the liquid outflow direction of each irrigation valve 111 in the pipeline controlled by the irrigation control device according to the angle data, i.e., the pipeline connected with each irrigation valve 111, to further obtain the corresponding relationship between the number of the signal line 117 corresponding to each irrigation valve 111 and the pipeline identifier. The irrigation valve can be selected according to actual conditions, for example, a diaphragm valve, a butterfly valve, etc., and the specific type of the irrigation valve is not limited in the present application.
[0105] For example, as shown in FIG. 1, a split irrigation control device 110 includes two irrigation valves 111c and 111d, wherein the clockwise angle a between the liquid outflow direction of the irrigation valve 111c and the north direction is 30°, and the clockwise angle β between the liquid outflow direction of the irrigation valve 111d and the north direction is 210°, so it can be known that the irrigation valve 111c is connected with the pipeline 51 with the same irrigation liquid flow direction as the north direction, and the irrigation valve 111d is connected with the pipeline 52 with the same irrigation liquid flow direction as the north direction. Figure 7 In addition, as shown in FIG. 2, a split irrigation control device 110 includes two irrigation valves 111c and 111d, wherein the clockwise angle a between the liquid outflow direction of the irrigation valve 111c and the north direction is 30°, and the clockwise angle β between the liquid outflow direction of the irrigation valve 111d and the north direction is 210°, so it can be known that the irrigation valve 111c is connected with the pipeline 51 with the same irrigation liquid flow direction as the north direction, and the irrigation valve 111d is connected with the pipeline 52 with the same irrigation liquid flow direction as the north direction.
[0106] Figure 6 As shown, the split irrigation control device 110 can also include a ground stake connector 116 for connecting with a ground stake.
[0107] The automatic irrigation valve control system provided by the present application can determine the pipe connected with the irrigation valve controlled by each signal line according to the included angle data after installation is completed when the irrigation control device is a split control device, thereby obtaining the corresponding relationship between the number of each signal line and the identification of the pipe, so that the irrigation control device installation does not need to correspond the irrigation valve with a specific pipe, the installation steps are simplified, the installation efficiency is improved, and the problem of incorrect control of the opening and closing of each pipe due to installation errors can be avoided.
[0108] On the basis of each of the above embodiments, further, the communication module 114 can adopt a wireless ad hoc network or a point-to-point mode for communication.
[0109] On the basis of each of the above embodiments, further, the communication module 114 can adopt a public wireless network mode for communication, and the public wireless network mode includes at least one of GSM / GPRS / 2G / 3G / 4G / 5G / NB-Iot / WIFI.
[0110] Based on the same inventive concept, the present application also provides an irrigation valve control method, which can be used to control the device described in the above embodiments, as described in the following embodiments. Since the irrigation valve control method solves the problem by the same principle as the valve control device, the repeated parts will not be described again.
[0111] Figure 8 FIG. 1 is a flowchart of an irrigation valve control method provided by an embodiment of the present application, and the method is applied to the automatic irrigation valve control system in each of the above embodiments. Figure 8 As shown, the irrigation valve control method provided by the present application includes:
[0112] S801: The positioning module obtains the installation position of the irrigation control device.
[0113] Specifically, the positioning module obtains the installation position of the irrigation control device by receiving a satellite positioning signal.
[0114] S802: The communication module uploads the installation position and the device identification code of the irrigation control device to a server.
[0115] Specifically, different device identification codes can be set for each irrigation control device and stored in the communication module, and the communication module uploads the device identification code at the same time as uploading the installation position to identify the irrigation control device corresponding to the installation position. In addition, the device identification code can also be stored in the positioning module and transmitted by the positioning module to the communication module together with the installation position, and the application does not limit the storage position of the device identification code.
[0116] S803: The server matches the pipes controlled by the irrigation control device according to the installation position and the preset position, obtains the correspondence between the device identification code and the pipe identification of the pipe, and sends a control signal to the communication module according to the correspondence;
[0117] Specifically, the server matches according to the installation position to obtain the pipes controlled by the irrigation control device, thereby establishing the correspondence between the device identification code of each irrigation control device and the pipe identification of each pipe controlled thereby. After obtaining the correspondence, each time it is necessary to open or close a certain pipe by controlling the irrigation valve, the server sends a control signal to the communication module of the irrigation control device controlling the pipe according to the obtained correspondence.
[0118] S804: The valve controller controls the opening and closing of the irrigation valve according to the control signal obtained from the communication module.
[0119] Specifically, after the server sends the control signal to the communication module, the communication module forwards the control signal to the valve controller, and the control signal has the number or signal line number of the irrigation pipe corresponding to the pipe to be opened or closed, and the valve controller controls the irrigation valve according to the number or signal line number of the irrigation pipe in the control signal.
[0120] The automatic irrigation valve control method provided by the application receives a satellite positioning signal through a positioning module to obtain an installation position of an irrigation control device; a communication module is used to upload the installation position and a device identification code of the irrigation control device to a server; the server matches pipe identifications of each pipe controlled by the irrigation control device according to the installation position to obtain a correspondence between the device identification code and the pipe identification, and utilizes spatial position information to realize automatic correspondence of the irrigation control device and the pipe information controlled thereby after installation, without the need to install a specific irrigation control device at a specific position during installation, thereby simplifying the installation process, saving manpower, and improving installation efficiency.
[0121] Figure 9 is a flowchart of the irrigation valve control method provided by an embodiment of the application, as shown in Figure 9 On the basis of the above embodiments, further, in the irrigation valve control method provided by the application, S803 comprises:
[0122] S901: match the installation position with the preset position to obtain the preset position closest to the installation position;
[0123] Specifically, before installing the irrigation control device, the positions of each pipeline and facilities such as the ground pile and the water tap are determined, and the theoretical position of the irrigation control device to be installed can be obtained according to the positions of the installed facilities, that is, each preset position of the irrigation control device, and different preset positions correspond to different pipelines, and each pipeline has a different pipeline identifier. The server calculates the Euclidean distance between the received installation position and each preset position, and selects the closest preset position to complete the matching.
[0124] S902: obtain the pipeline identifier information of each pipeline corresponding to the closest preset position to obtain the correspondence between the device identifier and the pipeline identifier information of each pipeline.
[0125] Specifically, the server queries the pipeline identifiers of the pipelines corresponding to the matched preset position from the database according to the matched preset position, and these pipelines are the pipelines actually controlled by the irrigation control device, and the queried pipeline identifiers are corresponded to the device identifier of the irrigation control device. In addition, the device identifier and the pipeline identifier corresponding thereto can be stored in the database for subsequent query and calling.
[0126] The automatic irrigation valve control method provided by the application matches the installation position with the preset position to obtain the preset position closest to the installation position, obtains the pipeline identifier information of each pipeline corresponding to the closest preset position to obtain the correspondence between the device identifier and the pipeline identifier information of each pipeline, uses the spatial position information to realize the automatic correspondence between the irrigation control device and the pipelines controlled thereby, and obtains the correspondence between the device identifier of the irrigation control device and the pipeline identifiers corresponding thereto, thereby facilitating the subsequent remote control of each pipeline through the device identifier.
[0127] Figure 10 is a flowchart of an irrigation valve control method provided by an embodiment of the application, which is used to control the valve in an integrated irrigation control device, as shown in Figure 10 Based on the above embodiments, further, the irrigation valve control method provided by the application further comprises:
[0128] S1001: the direction angle sensor detects the included angle data between the irrigation control device and the north pole direction;
[0129] Specifically, the direction angle sensor is used to detect the included angle θ between the irrigation control device and the north pole direction, and transmit the included angle data θ to the communication module.
[0130] S1002: the communication module uploads the included angle data to the server;
[0131] Specifically, the communication module uploads the included angle data returned by the direction angle sensor to the server after the irrigation control device is installed.
[0132] S1003: The server determines the relative positions of the irrigation channels in the irrigation control device according to the included angle data, determines the pipes connected to the irrigation channels according to the relative positions, and obtains the correspondence between the numbers of the irrigation channels and the pipe identifiers of the pipes.
[0133] Specifically, the server determines the directions of the ends where the irrigation channels are located in the irrigation control device according to the included angle data, thereby determining the relative positions of the irrigation channels. According to the relative positions of the irrigation channels and the relative positions of the pipes controlled by the irrigation control device, the pipes connected to the irrigation channels can be determined, thereby obtaining the correspondence between the numbers of the irrigation channels and the pipe identifiers of the pipes.
[0134] The automatic irrigation valve control method provided by the present application, when the irrigation control device is an integrated control device, the direction angle sensor detects the included angle data between the irrigation control device and the north direction; the communication module uploads the included angle data to the server; the server determines the relative positions of the irrigation channels in the irrigation control device according to the included angle data, determines the pipes connected to the irrigation channels according to the relative positions, and obtains the correspondence between the numbers of the irrigation channels and the pipe identifiers of the pipes, so that when the irrigation control device is installed, the irrigation valves do not need to be corresponded to specific pipes, the installation steps are simplified, the installation efficiency is improved, and the problem of incorrect control of the opening and closing of each pipe due to installation errors can be avoided.
[0135] Figure 11 is a flowchart of the irrigation valve control method provided by an embodiment of the present application, which is used to control the valves in a split-type irrigation control device, as shown in Figure 11 Based on the above embodiments, further, the irrigation valve control method provided by the present application further comprises:
[0136] S1101: The direction angle sensor detects the included angle data between the irrigation valve and a preset direction;
[0137] Specifically, one direction angle sensor can be arranged in each irrigation valve to detect the included angle data between the irrigation liquid outflow direction of the irrigation valve and the preset direction.
[0138] S1102: The communication module uploads the included angle data of each irrigation valve and the number of the corresponding signal line to the server;
[0139] Specifically, the direction angle sensor in each irrigation valve can transmit the included angle data into the valve controller through the signal line, and the communication module receives the included angle data and the number of the signal line transmitting the included angle data from the valve controller and uploads them to the server together.
[0140] S1103: The server determines the pipeline connected with each irrigation valve according to the included angle data of each irrigation valve, to obtain the corresponding relationship between the number of the signal line corresponding to each irrigation valve and the pipeline identification.
[0141] Specifically, the server finds the pipeline with the same irrigation liquid flow direction as the liquid outflow direction of each irrigation valve in the pipeline controlled by the irrigation control device, i.e., the pipeline connected with each irrigation valve, according to the included angle data, to further obtain the corresponding relationship between the number of the signal line corresponding to each irrigation valve and the pipeline identification.
[0142] The automatic irrigation valve control system provided in the application can determine the pipeline connected with the irrigation valve controlled by each signal line according to the included angle data after the installation of the irrigation control device is completed when the irrigation control device is a split control device, so as to obtain the corresponding relationship between the number of each signal line and the pipeline identification, so that the irrigation valve does not need to be corresponded with a specific pipeline during the installation of the irrigation control device, the installation steps are simplified, the installation efficiency is improved, and the problem of incorrect control of the opening and closing of each pipeline due to installation errors can be avoided.
[0143] Figure 12 is the flowchart of the irrigation valve control method provided in an embodiment of the application, as shown in Figure 12 The irrigation valve control method provided in the application comprises the following steps:
[0144] S1201: Obtain the pipeline identification corresponding to the pipeline that needs to be opened;
[0145] After the installation is completed, the server only needs to obtain the pipeline identification of the pipeline that needs to be opened on the remote terminal when the pipeline needs to be opened.
[0146] S1202: Determine the device identification code of the irrigation control device that controls the pipeline according to the pipeline identification;
[0147] Specifically, the server queries the device identification code of the irrigation control device that controls the pipeline according to the obtained pipeline identification.
[0148] S1203: Obtain the number of the irrigation channel or the number of the signal line corresponding to the pipeline identification;
[0149] Specifically, the server queries the number of the irrigation channel connected with the pipeline or the number of the signal line corresponding to the single-channel irrigation valve according to the obtained pipeline identification.
[0150] S1204: Send an irrigation valve opening signal to the corresponding irrigation control device according to the device identification code to open the irrigation valve connected with the pipeline; the irrigation valve opening signal comprises an opening command and the number of the corresponding irrigation channel or the number of the signal line.
[0151] Specifically, the server sends an irrigation valve opening signal to the communication module of the corresponding irrigation control device according to the device identification code, and the signal includes an opening command and the number of the corresponding irrigation channel or the number of the signal line. After receiving the irrigation valve opening signal, the communication module transmits the irrigation valve opening signal to the valve controller. The valve controller opens the corresponding irrigation channel according to the number of the irrigation channel, or outputs the opening command from the corresponding signal line according to the number of the signal line to open the irrigation valve, so as to open the corresponding pipeline.
[0152] The irrigation valve control method provided by the application comprises the following steps: obtaining the pipeline identification corresponding to the pipeline to be opened; determining the device identification code of the irrigation control device for controlling the pipeline and the number of the corresponding irrigation channel or the number of the signal line according to the pipeline identification; and sending an irrigation valve opening signal to the valve controller of the corresponding irrigation control device according to the device identification code to open the irrigation valve connected with the pipeline. The irrigation valve opening signal includes an opening command and the number of the corresponding irrigation channel or the number of the signal line, which realizes the remote control of each irrigation valve after quick installation and can conveniently control the opening and closing of the pipeline.
[0153] In the description of the present specification, the description of the terms "one embodiment", "one specific embodiment", "some embodiments", "for example", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0154] The above specific embodiments further illustrate the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above description is only for specific embodiments of the present application and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims
1. An automated irrigation valve control system, characterized by, The application relates to an irrigation control device and a server. The irrigation control device comprises: at least one irrigation valve arranged at one end of a pipeline; a valve controller for controlling the opening and closing of the irrigation valve according to a control signal received from the server; a positioning module for obtaining the installation position of the irrigation control device; a communication module connected to the positioning module, for uploading the installation position and the device identification code of the irrigation control device to the server, and sending the control signal received from the server to the valve controller; the server is configured to match the pipeline controlled by the irrigation control device according to the installation position and a preset position of the irrigation control device, and obtain the corresponding relationship between the device identification code and the pipeline identification of the pipeline; the server is specifically configured to match the installation position with the preset position, obtain the closest preset position to the installation position, and obtain the corresponding relationship between the device identification code and the pipeline identification of each pipeline corresponding to the closest preset position; the irrigation control device is an integrated control device, the irrigation valve comprises at least one irrigation channel, and the irrigation control device further comprises a direction angle sensor for detecting the included angle data between the irrigation control device and a preset direction; the communication module is further connected to the direction angle sensor and is configured to upload the included angle data to the server; the server is further configured to determine the relative positions of each irrigation channel in the irrigation control device according to the included angle data, determine the pipeline connected to each irrigation channel according to the relative positions, and obtain the corresponding relationship between the number of each irrigation channel and the pipeline identification of the pipeline; or the irrigation control device is a split control device, the irrigation valve further comprises a direction angle sensor for detecting the included angle data between the irrigation valve and a preset direction; the communication module is further configured to upload the included angle data of each irrigation valve and the number of the corresponding signal line to the server; and the server is further configured to determine the pipeline connected to each irrigation valve according to the included angle data of each irrigation valve, and obtain the corresponding relationship between the number of the corresponding signal line of each irrigation valve and the pipeline identification. The irrigation control device is a split control device, each signal line of the valve controller has the same connection identification as the corresponding irrigation valve.
2. The automated irrigation valve control system of claim 1, wherein, The communication module adopts a wireless ad hoc network or a point-to-point mode for communication.
3. The automated irrigation valve control system of claim 1, wherein, The communication module adopts a public wireless network mode for communication, and the public wireless network mode comprises at least one of GSM / GPRS / 2G / 3G / 4G / 5G / NB-Iot / WIFI.
4. The automated irrigation valve control system of claim 1, wherein, The positioning module obtains the installation position of the irrigation control device; 5. An irrigation valve control method applied to an automated irrigation valve control system, characterized by, the communication module uploads the installation position and the device identification code of the irrigation control device to the server; the server matches the pipeline controlled by the irrigation control device according to the installation position and a preset position of the irrigation control device, obtains the corresponding relationship between the device identification code and the pipeline identification of the pipeline, and sends a control signal to the communication module according to the corresponding relationship; the valve controller controls the opening and closing of the irrigation valve according to the control signal obtained from the communication module. The method is used for controlling irrigation valves in an integrated irrigation control device, the irrigation valves including at least one irrigation channel, and further including: a direction angle sensor detecting angle data of the irrigation control device and a preset direction; a communication module uploading the angle data to a server; the server determining relative positions of each irrigation channel in the irrigation control device according to the angle data, determining pipes connected with each irrigation channel according to the relative positions, and obtaining a corresponding relationship between a number of each irrigation channel and a pipe identification of the pipe; Or the method is used for controlling irrigation valves in a split irrigation control device, and further including: a direction angle sensor detecting angle data of the irrigation valves and a preset direction; a communication module uploading the angle data of each irrigation valve and a number of a corresponding signal line to a server; and the server determining pipes connected with each irrigation valve according to the angle data of each irrigation valve, and obtaining a corresponding relationship between the number of the corresponding signal line of each irrigation valve and a pipe identification of the pipe.
6. The irrigation valve control method of claim 5, wherein, The corresponding relationship between the device identification code and the pipe identification of the pipe is obtained according to matching of an installation position of the irrigation control device and a preset position, and control of the pipe by the irrigation control device, and includes: Matching the installation position and the preset position to obtain a preset position closest to the installation position; Obtaining a pipe identification of each pipe corresponding to the closest preset position to obtain a corresponding relationship between the device identification code and the pipe identification of the pipes.
7. An irrigation valve control method applied to the automated irrigation valve control system of any one of claims 1-4, characterized by, Including: Obtaining a pipe identification corresponding to a pipe to be opened; Determining a device identification code of an irrigation control device for controlling the pipe according to the pipe identification; Obtaining a number of an irrigation channel or a number of a signal line corresponding to the pipe identification; Sending an irrigation valve opening signal to the corresponding irrigation control device according to the device identification code to open an irrigation valve connected with the pipe; the irrigation valve opening signal including an opening command and the number of the corresponding irrigation channel or the number of the signal line.
Citation Information
Patent Citations
Control method and control system
CN111457142A
Valve generation method and device, computer equipment and storage medium
CN115600326A