A method and system for wireless remote control of a water pump based on a pool water level
Patent Information
- Application Number
- CN202311552871.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-21
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2043-11-21
AI Technical Summary
[0003]在农业灌溉或者水利饮水领域中通常需要水泵进行抽水到蓄水池处,而水泵运作是通过变频柜进行控制的,变频柜具有本地控制和远程控制,本地控制和远程控制开启水泵之后需要管理人员需要去检查蓄水池液位高度,然后才决定要不要关闭水泵,这就给管理人员带来极大不便
1.本发明通过液位采集终端设备传回的液位数据,服务器通过液位数据下发开启/关闭水泵指令到网关,从而实现远程开启/关闭水泵。同时,本发明设置每隔2倍的心跳下发初始时间间隔,网关自身程序定时器10分钟递减监测服务器心跳指令,10分钟未收到服务器下发心跳指令网关本地自行关闭水泵,不需要管理人员去检查蓄水池液位高度,避免网关出现故障而不知,达到无人值守运行整个系统。
Smart Images

Figure CN117768499B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of water pump control technology, and in particular to a method and system for wireless remote control of a water pump based on the liquid level in a water tank. Background Technology
[0002] Gateway devices provide a new method and system for controlling pumps in smart agriculture pumping stations, bringing new changes to the working mode in the field of smart agriculture and introducing new control methods for pumping station pumps. A communication connection is established between the server, gateway, and liquid level acquisition terminal device. The server monitors and accesses the gateway device in real time, and collects liquid level data from the liquid level acquisition terminal device at the water tank through the gateway device. The gateway forwards the liquid level data to the server. Based on the liquid level height and low level settings set by the user on the platform, the server sends pump start / stop commands to the gateway. The gateway then sends a successful start / stop flag back to the server and displays the pump's operating status on the platform.
[0003] In agricultural irrigation and drinking water systems, water pumps are typically used to pump water to reservoirs. These pumps are controlled by frequency converters (VFDs), which offer both local and remote control. However, after starting the pump, management personnel must check the reservoir level to determine whether to shut it down, causing significant inconvenience. Furthermore, commercially available pump control devices based on water level lack complete operating methods and systems. Most level sensors are wired to the VFD to control the pump, but the distance between the water source and the reservoir is often considerable, making automatic water replenishment difficult to achieve. Summary of the Invention
[0004] To address the shortcomings of existing technologies, the purpose of this invention is to provide a method and system for wireless remote control of water pumps based on water tank levels, enabling remote start / stop of the water pumps, achieving unattended operation of the entire system, and realizing information system management of the pump room.
[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows: This invention discloses a method for wirelessly remotely controlling a water pump based on the liquid level in a water tank, comprising the following steps: (1) Set a time period as the automatic water supply period; (2) Set the low liquid level threshold and the high liquid level threshold; (3) Set the read time interval; (4) Set the initial time interval for heartbeat transmission; (5) When the automatic water filling period begins, the server checks whether the gateway has uploaded liquid level data within half an hour; if the liquid level data is updated within half an hour, then step (6) is executed; the liquid level data includes the liquid level height; (6) Determine whether the liquid level in the liquid level data is lower than the low liquid level threshold or higher than the high liquid level threshold; if the liquid level is lower than the low liquid level threshold, the server issues a command to start the water pump; if the liquid level is higher than the high liquid level threshold, the server does not issue a command to start the water pump; and execute steps (7) and (8) at the same time. (7) After the server successfully starts the water pump, it sends a heartbeat command to the gateway every initial heartbeat interval. Every twice the initial heartbeat interval, the gateway monitors whether the server sends a heartbeat command. When the gateway receives the heartbeat command from the server after the initial heartbeat interval has elapsed, the gateway's internal timer will be cleared and decremented again from twice the initial heartbeat interval. This process continues in a loop. If the gateway does not receive the heartbeat command from the server at a certain moment, the gateway will decrement from twice the initial heartbeat interval at that moment until 0 minutes later and then automatically shut down the local water pump. (8) After the server successfully starts the water pump, the server will send a liquid level reading command to the gateway every liquid level reading time interval. The gateway forwards the liquid level reading command to the liquid level acquisition terminal device. The liquid level acquisition terminal device transmits the collected liquid level data back to the gateway through the LoRa wireless module. The gateway forwards the liquid level data to the server. The server synchronizes the liquid level data to the platform. At the same time, the server will analyze whether the liquid level height is higher than the liquid level high threshold. When the server receives the liquid level data transmitted back by the gateway and the liquid level height is higher than the liquid level high threshold, the server will send a water pump shut-off command. After the gateway receives the water pump shut-off command sent by the server, it executes the water pump shut-off command and transmits the status back to the server. (9) Repeat steps (6) to (8) until the automatic water supply period ends.
[0006] Furthermore, the automatic water supply period is set from 6:00 AM to 6:00 PM Beijing time.
[0007] Furthermore, the low liquid level threshold is set to 0.5 meters.
[0008] Furthermore, the high liquid level threshold is set to 3.5 meters.
[0009] Furthermore, the reading time interval is 3 minutes.
[0010] Furthermore, the initial time interval for the heartbeat is 5 minutes.
[0011] Furthermore, the system used in the above-described method for wireless remote control of a water pump based on the water tank level includes: The server is used to issue commands to start the water pump, send heartbeat commands to the gateway, and send commands to read the liquid level. It is used to analyze whether the liquid level is higher than the high liquid level threshold and whether the liquid level is lower than the low liquid level threshold. The server synchronizes the liquid level data to the platform. The gateway is used to upload liquid level data to the server, forward liquid level reading instructions to the liquid level acquisition terminal device, and forward liquid level data to the server; the gateway itself has a decrementing timer that is twice the initial time interval for sending heartbeats. The liquid level acquisition terminal device is connected to an ultrasonic liquid level sensor, which is wired to a frequency converter cabinet to control the water pump; the ultrasonic liquid level sensor is used to acquire liquid level data; the liquid level acquisition terminal device transmits the acquired liquid level data back to the gateway via a LoRa wireless module.
[0012] Furthermore, it also includes a flow acquisition terminal device and a pressure transmitter. The flow acquisition terminal device is connected to an ultrasonic flow meter sensor. The ultrasonic flow meter sensor is used to measure the flow rate data of the water flow. The pressure transmitter is used to measure the pressure data of the main pipeline. The flow acquisition terminal device and the pressure transmitter are respectively connected to a gateway.
[0013] Furthermore, it also includes a frequency converter cabinet; the frequency converter cabinet is equipped with a relay and a multi-function meter; the relay and the multi-function meter are respectively connected to the gateway.
[0014] Compared with the prior art, the beneficial effects of the present invention are: 1. This invention utilizes liquid level data transmitted from a liquid level acquisition terminal device. The server then sends start / stop commands to the gateway based on this data, enabling remote start / stop of the water pump. Simultaneously, this invention sets an initial time interval of twice the initial heartbeat time. The gateway's own program timer decrements every 10 minutes to monitor the server's heartbeat commands. If no heartbeat command is received from the server within 10 minutes, the gateway automatically shuts down the water pump locally. This eliminates the need for management personnel to check the water level in the reservoir, preventing gateway malfunctions from going unnoticed and achieving unattended operation of the entire system.
[0015] 2. This invention can remotely control the water pump and check its status, as well as remotely view the data of the multi-functional meter in the frequency converter cabinet, remotely view the water flow velocity and cumulative flow data of the ultrasonic flow sensor in the main pipeline, and remotely view the pressure data of the pressure transmitter in the main pipeline, thus realizing the information system management of the pump room. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a flowchart of a server querying a liquid level acquisition terminal according to an embodiment of the present invention.
[0018] Figure 2 This is a diagram illustrating the server-network connection tripping mechanism after the water pump is turned on, according to an embodiment of the present invention.
[0019] Figure 3 This is a system framework diagram of an embodiment of the present invention. Implementation
[0020] The embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.
[0021] The following specific examples illustrate the embodiments disclosed in this invention. Those skilled in the art can easily understand other advantages and effects of this disclosure from the content disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. This invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this invention. It should be noted that, in the absence of conflict, the following embodiments and features in the embodiments can be combined with each other. All other embodiments obtained by those skilled in the art based on the embodiments in this disclosure without creative effort are within the scope of protection of this disclosure.
[0022] like Figure 1 , Figure 2 As shown in the figure, a method for wirelessly remotely controlling a water pump based on the water level in a water tank according to this embodiment includes the following steps: During the pre-set automatic water filling period from 6:00 AM to 6:00 PM Beijing time, the server checks for water level data uploaded by the gateway within half an hour. The water level data includes the water level height. If updated water level data is found within half an hour, the server determines whether the water level height is below or above the pre-set high water level threshold. If the water level height is 0.5 meters below the low water level threshold, the server issues a command to start the water pump; if the water level height is 3.5 meters above the pre-set high water level threshold, the server does not issue a command to start the water pump. During this period... Figure 1The times t1, t2, and tn represent the server sending a liquid level reading command every 3 minutes. When the server reads that the liquid level is lower than the user's low liquid level threshold of 0.5 meters on the platform, the server will send a command to start the water pump.
[0023] When the server sends a command to start the water pump, the gateway receives the command, executes the command, and then forwards the pump's status back to the server. At this time, users can check on the platform whether the water pump is running, whether the data of the multi-function meter in the frequency converter cabinet has changed, whether the ultrasonic flow sensor in the main pipeline has water flow velocity data, and whether the pressure transmitter in the main pipeline has pressure data.
[0024] After the server successfully starts the water pump, it sends a heartbeat command every 5 minutes as follows: Figure 3 As shown, the gateway monitors the server for heartbeats every 10 minutes. The gateway has a 10-minute decrementing timer. If the gateway receives a heartbeat command from the server after 5 minutes, the timer is reset to zero and starts decrementing again from 10 minutes. This process repeats continuously. If the gateway fails to receive a heartbeat command from the server at any given time, it will decrement from 10 minutes until it reaches 0 minutes, at which point it will automatically shut down the local water pump.
[0025] After the water pump is successfully started, the server sends a liquid level reading command every 3 minutes. The gateway forwards the liquid level reading command to the liquid level acquisition terminal device. The liquid level acquisition terminal device transmits the collected liquid level data back to the gateway in the pump room via a LoRa wireless module. The gateway forwards the liquid level data to the server, and the server synchronizes the liquid level data to the platform. At the same time, the server analyzes whether the liquid level data is higher than the user-set 3.5-meter value. When the server receives the liquid level data transmitted back from the gateway at a certain moment that is higher than 3.5 meters, the server will send a water pump shutdown command. After receiving the water pump shutdown command from the server, the gateway executes the water pump shutdown command and sends the status back to the server.
[0026] The above working mechanism will continue to cycle until 6 p.m., at which point it will shut down.
[0027] The automatic water filling time period, low liquid level threshold, high liquid level threshold, reading time interval, and initial heartbeat sending time interval can all be rationally set according to your own needs and actual environment.
[0028] like Figure 3 As shown, the system used in the above-described method for wireless remote control of a water pump based on the water tank level includes: The server is used to issue commands to start the water pump, send heartbeat commands to the gateway, and send commands to read the liquid level. It is used to analyze whether the liquid level is higher than the high liquid level threshold and whether the liquid level is lower than the low liquid level threshold. The server synchronizes the liquid level data to the platform. The gateway is used to upload liquid level data to the server, forward liquid level reading instructions to the liquid level acquisition terminal device, and forward liquid level data to the server; the gateway itself has a 10-minute decrementing timer. The liquid level acquisition terminal device is connected to an ultrasonic liquid level sensor, which is wired to a frequency converter cabinet to control the water pump; the ultrasonic liquid level sensor is used to acquire liquid level data; the liquid level acquisition terminal device transmits the acquired liquid level data back to the gateway via a LoRa wireless module.
[0029] The system includes a flow acquisition terminal and a pressure transmitter. The flow acquisition terminal is connected to an ultrasonic flow meter sensor. The ultrasonic flow meter sensor measures the flow rate of the water. The pressure transmitter measures the pressure in the main pipeline. Both the flow acquisition terminal and the pressure transmitter are connected to a gateway.
[0030] The frequency converter cabinet contains relays and multi-function meters; the relays and multi-function meters are connected to the gateway.
[0031] The present invention has provided a detailed description of a method and system for wireless remote control of a water pump based on the liquid level of a water tank. Specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core idea of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation and application scope based on the idea of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for wirelessly remotely controlling a water pump based on the liquid level in a water tank, characterized in that, Includes the following steps: (1) Set a time period as the automatic water supply period; (2) Set the low liquid level threshold and the high liquid level threshold; (3) Set the read time interval; (4) Set the initial time interval for heartbeat transmission; (5) When the automatic water filling period begins, the server checks whether the gateway has uploaded liquid level data within half an hour; if the liquid level data is updated within half an hour, then step (6) is executed; the liquid level data includes the liquid level height; (6) Determine whether the liquid level in the liquid level data is lower than the low liquid level threshold or higher than the high liquid level threshold; if the liquid level is lower than the low liquid level threshold, the server issues a command to start the water pump; if the liquid level is higher than the high liquid level threshold, the server does not issue a command to start the water pump; and execute steps (7) and (8) at the same time. (7) After the server successfully starts the water pump, it sends a heartbeat command to the gateway once every initial heartbeat interval. Every twice the initial heartbeat interval, the gateway monitors whether the server sends a heartbeat command. When the gateway receives a heartbeat command from the server after the initial heartbeat interval has elapsed, the gateway's internal timer will be reset to zero and start decreasing again from twice the initial heartbeat interval. This process will continue in a loop. If the gateway does not receive a heartbeat command from the server at a certain moment, the gateway will decrease from twice the initial heartbeat interval at that moment until 0 minutes have elapsed before automatically shutting down the local water pump. (8) After the server successfully starts the water pump, the server will send a liquid level reading command to the gateway every liquid level reading time interval. The gateway forwards the liquid level reading command to the liquid level acquisition terminal device. The liquid level acquisition terminal device transmits the collected liquid level data back to the gateway through the LoRa wireless module. The gateway forwards the liquid level data to the server. The server synchronizes the liquid level data to the platform. At the same time, the server will analyze whether the liquid level height is higher than the liquid level high threshold. When the server receives the liquid level data transmitted back by the gateway and the liquid level height is higher than the liquid level high threshold, the server will send a water pump shut-off command. After the gateway receives the water pump shut-off command sent by the server, it executes the water pump shut-off command and transmits the status back to the server. (9) Repeat steps (6) to (8) until the automatic water supply period ends.
2. The method for wireless remote control of a water pump based on the liquid level in a water tank according to claim 1, characterized in that, The automatic water supply period is set from 6:00 AM to 6:00 PM Beijing time.
3. The method for wireless remote control of a water pump based on the liquid level in a water tank according to claim 1, characterized in that, The low liquid level threshold is set to 0.5 meters.
4. The method for wireless remote control of a water pump based on the liquid level in a water tank according to claim 1, characterized in that, The high liquid level threshold is set to 3.5 meters.
5. The method for wireless remote control of a water pump based on the liquid level in a water tank according to claim 1, characterized in that, The reading interval is 3 minutes.
6. The method for wireless remote control of a water pump based on the liquid level in a water tank according to claim 1, characterized in that, The initial interval for sending heartbeats is 5 minutes.
7. The system used in any one of the methods for wireless remote control of a water pump based on the liquid level in a water tank according to claims 1-6, characterized in that, include: The server is used to issue commands to start the water pump, send heartbeat commands to the gateway, and send commands to read the liquid level. It is used to analyze whether the liquid level is higher than the high liquid level threshold and whether the liquid level is lower than the low liquid level threshold. The server synchronizes the liquid level data to the platform. The gateway is used to upload liquid level data to the server, forward liquid level reading instructions to the liquid level acquisition terminal device, and forward liquid level data to the server; the gateway itself has a decrementing timer that is twice the initial time interval for sending heartbeats. The liquid level acquisition terminal device is connected to an ultrasonic liquid level sensor, which is wired to a frequency converter cabinet to control the water pump; the ultrasonic liquid level sensor is used to acquire liquid level data; the liquid level acquisition terminal device transmits the acquired liquid level data back to the gateway via a LoRa wireless module.
8. The system according to claim 7, characterized in that, It also includes a flow acquisition terminal device and a pressure transmitter. The flow acquisition terminal device is connected to an ultrasonic flow meter sensor. The ultrasonic flow meter sensor is used to measure the flow rate data of the water flow. The pressure transmitter is used to measure the pressure data of the main pipeline. The flow acquisition terminal device and the pressure transmitter are respectively connected to a gateway.
9. The system according to claim 7, characterized in that, It also includes a frequency converter cabinet; the frequency converter cabinet is equipped with a relay and a multi-function meter; the relay and the multi-function meter are respectively connected to the gateway.
Citation Information
Patent Citations
Rainwater pump room remote wireless control system
CN105022419A
Method and system for controlling pulse purification of sewage
CN108217786A