Water replenishing control method and system, computer equipment and storage medium
By using a float valve and a timed pump start design in the pump system, the high cost and easy damage caused by the long distance between the pump controller and the liquid level detection device are solved, realizing intelligent pump control, reducing maintenance costs and improving the reliability of water replenishment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- WILO CHINA
- Filing Date
- 2024-10-30
- Publication Date
- 2026-05-05
AI Technical Summary
The distance between the water pump controller and the liquid level detection device is relatively far, resulting in high lead wire costs and easy damage, which increases maintenance costs.
By replacing the liquid level detection switch and the inlet valve with a float valve and combining it with a timed water pump design, the water pump is automatically controlled to start and stop by the water flow in the inlet pipe, thus achieving intelligent water replenishment.
It reduces the need for long-distance communication, improves the automation and intelligence of water pumps, reduces maintenance costs, and ensures the reliability and intelligent control of water replenishment.
Smart Images

Figure CN121979304A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of water pump control technology, and in particular to a water replenishment control method, system, computer equipment, and storage medium. Background Technology
[0002] Water towers typically have their water storage tanks located at higher elevations, while the water source is located at a lower elevation. Water needs to be pumped to pressurize the water and transport it to the storage tank at the higher elevation.
[0003] The reservoir is equipped with a level detection device. This device detects the water level in the reservoir and feeds the signal back to the pump controller, which in turn controls the valve at the reservoir's inlet. Specifically, the valve opens when the water level is low and closes when the water level is high. The pump controller then uses the level signal to start and stop the pump, ensuring timely replenishment of the reservoir.
[0004] Because the distance between the water pump controller and the liquid level detection device is relatively large, a long lead wire is required for communication, resulting in high lead wire costs. Furthermore, the long lead wire is prone to damage, leading to increased maintenance costs later on. Summary of the Invention
[0005] To address the aforementioned technical problems, this application provides a water replenishment control method, system, computer device, and storage medium.
[0006] In a first aspect, this application provides a water replenishment control method applied to a water pump controller, wherein the water pump is located at a water source, and the water source is connected to the inlet of a water storage tank via an inlet pipe.
[0007] A float valve is provided at the inlet of the water storage tank. The float valve is used to open when the actual liquid level in the water storage tank is lower than the preset liquid level, and to close when the actual liquid level is equal to or higher than the preset liquid level.
[0008] The water replenishment control method includes:
[0009] The water pump is turned on at preset intervals to draw water from the water source into the water inlet pipe.
[0010] When the automatic shut-off condition is met, the water pump is shut off. The automatic shut-off condition includes the actual water flow rate in the inlet pipe being less than the preset water flow rate.
[0011] In one embodiment, the water replenishment control method further includes:
[0012] Record the start-up time when the water pump is turned on;
[0013] Record the shutdown time when the water pump is turned off;
[0014] The actual running time of the water pump is obtained by calculating the difference between the start time and the stop time.
[0015] Obtain the normal operating time range of the water pump;
[0016] If the actual running time exceeds the normal running time range, the preset running time will be adjusted.
[0017] In one embodiment, activating the water pump at preset intervals includes:
[0018] Within a preset period, the water pump is activated at each preset time interval corresponding to the preset period.
[0019] The process of obtaining the normal operating time range of the water pump includes:
[0020] Obtain the normal duration range corresponding to the preset period.
[0021] In one embodiment, adjusting the preset duration if the actual runtime exceeds the normal runtime range includes:
[0022] If the actual water replenishment time is less than the minimum value in the normal time range, the first count is accumulated and the second count is cleared to zero.
[0023] If the actual water replenishment duration exceeds the maximum value within the normal duration range, the second count is accumulated, and the first count is reset to zero.
[0024] If the first count exceeds a first preset count, the preset duration is extended, and the first count and the second count are reset to zero.
[0025] If the second count is greater than the second preset count, the preset duration is shortened, and the first count and the second count are reset to zero.
[0026] In one embodiment, obtaining the normal duration range corresponding to the preset period includes:
[0027] Obtain the historical operating time of the water pump multiple times within the preset period;
[0028] Based on the historical running time, calculate the historical average duration of the water pump within the preset cycle;
[0029] The normal duration range is determined based on the historical average duration.
[0030] In one embodiment, after obtaining the normal operating time range of the water pump, the method further includes:
[0031] The abnormal water replenishment value is determined based on the maximum value within the normal duration range.
[0032] If the actual runtime exceeds the water replenishment anomaly value, a water replenishment anomaly warning will be generated.
[0033] In one embodiment, the water pump is equipped with a control button, which is used to generate a water pump start signal or a water pump stop signal according to user operation;
[0034] The water replenishment control method also includes:
[0035] In response to the pump start signal, the water pump is started.
[0036] In response to the pump shutdown signal, the water pump is shut down.
[0037] Secondly, corresponding to the aforementioned water replenishment control method, this application also provides a water replenishment control system, applied to the controller of a water pump, wherein the water pump is located at a water source, and the water source is connected to the inlet of the water storage tank through an inlet pipe.
[0038] A float valve is provided at the inlet of the water storage tank. The float valve is used to open when the actual liquid level in the water storage tank is lower than the preset liquid level, and to close when the actual liquid level is equal to or higher than the preset liquid level.
[0039] The water replenishment control system includes:
[0040] A water pump timer module is used to turn on the water pump at preset intervals to draw water from the water source into the water inlet pipe.
[0041] The water pump automatic shut-off module is used to shut off the water pump in response to the fulfillment of automatic shut-off conditions, including the actual water flow rate in the inlet pipe being less than the preset water flow rate.
[0042] Thirdly, this application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the water replenishment control method described in the first aspect.
[0043] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the water replenishment control method described in the first aspect.
[0044] Based on common knowledge in the field, the above-mentioned preferred conditions can be combined arbitrarily to obtain various preferred embodiments of this application.
[0045] The beneficial effects that the above-mentioned water replenishment control methods, systems, computer equipment, and storage media can achieve include:
[0046] A float valve replaces the level detection switch and inlet valve in the water storage tank. When the water level in the tank is lower than a preset level, the float valve opens. Combined with a timed pump start design, no level feedback is needed; that is, long-distance communication between the float valve and the pump controller is no longer required. Automatic water replenishment is achieved by the pump starting automatically when the float valve opens, thus improving the pump's automation level.
[0047] An automatic shut-off mechanism was designed based on the actual water flow rate in the inlet pipe. When the water level in the storage tank is equal to or higher than the preset level, the float valve closes, water replenishment is complete, and water can no longer flow into the storage tank from the inlet pipe. As water gradually fills the inlet pipe, the water flow rate gradually decreases. The water pump automatically shuts off when the actual water flow rate in the inlet pipe is less than the preset flow rate. Based on this, intelligent start-up and shutdown of the water pump are achieved, improving the intelligence and reliability of automatic water replenishment. Attached Figure Description
[0048] Figure 1 This is a schematic diagram of the timed water replenishment process in the water replenishment control method of this application embodiment;
[0049] Figure 2 This is a flowchart illustrating the process of adjusting the preset duration in the water replenishment control method of this application embodiment;
[0050] Figure 3 This is a flowchart illustrating the water replenishment anomaly alert in the water replenishment control method of this application embodiment;
[0051] Figure 4 This is a schematic diagram of the manual water replenishment process in the water replenishment control method of this application embodiment;
[0052] Figure 5 This is a schematic diagram of the water replenishment control system modules in an embodiment of this application;
[0053] Figure 6 This is a diagram showing the internal structure of a computer device in an embodiment of this application. Detailed Implementation
[0054] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0055] It should be noted that the illustrations provided in this embodiment are merely schematic representations of the basic concept of this application. The structures, proportions, sizes, etc., depicted in the accompanying drawings are only for illustrative purposes to aid those skilled in the art and are not intended to limit the implementation of this application. Therefore, they have no substantial technical significance. Any modifications to the structure, changes in proportions, or adjustments to size, without affecting the effectiveness and purpose of this application, should still fall within the scope of the technical content disclosed in this application. Furthermore, the terms such as "upper," "lower," "left," "right," "middle," and "one" used in this specification are merely for clarity and not intended to limit the scope of this application. Changes or adjustments to their relative relationships, without substantially altering the technical content, should also be considered within the scope of this application's implementation.
[0056] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the document does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0057] As illustrated herein, unless the context clearly indicates otherwise, words such as “a,” “an,” “an,” and / or “the” do not specifically refer to the singular and may also include the plural. Generally speaking, the terms “comprising” and “including” only indicate the inclusion of explicitly identified steps and elements, which do not constitute an exclusive list, and the method or apparatus may also include other steps or elements.
[0058] The definitions used herein, such as the terms “having,” “may have,” “comprising,” or “may include,” indicate the presence of the corresponding function, operation, element, etc., and do not limit the presence of one or more other functions, operations, elements, etc. Furthermore, it should be understood that the terms “comprising” or “having” as used herein indicate the presence of the features, figures, steps, operations, elements, components, or combinations thereof described in the specification, without excluding the presence or addition of one or more other features, figures, steps, operations, elements, components, or combinations thereof.
[0059] The prefixes such as "first" and "second" used in this application embodiment are merely for distinguishing different descriptive objects and do not limit the position, order, priority, quantity, or content of the described objects. The use of ordinal numbers and other prefixes used to distinguish descriptive objects in this application embodiment does not constitute a limitation on the described objects. The description of the described objects is given in the claims or the context of the embodiments, and should not constitute unnecessary limitations due to the use of such prefixes. Furthermore, in the description of this embodiment, unless otherwise stated, "multiple" means two or more.
[0060] The water inlet of the reservoir is connected to the water source via an inlet pipe. Since the reservoir is located at a higher elevation than the water source, a water pump needs to be installed at the water source to draw water from the source and transport it to the reservoir.
[0061] To avoid long-distance communication between the level detection device and the water pump controller, this application uses a float valve instead of the level detection switch and the inlet valve. Specifically, a float valve is installed at the inlet of the water storage tank. The float valve opens when the actual level in the water storage tank is lower than a preset level and closes when the actual level is equal to or higher than the preset level.
[0062] It should be noted that a float valve typically consists of a float, a connecting rod, and a valve. One end of the connecting rod is connected to the float, and the other end is connected to the valve. The float rises or falls according to the water level in the reservoir. That is, when the water level in the reservoir drops, the float opens the valve via the connecting rod; when the water level rises, the float closes the valve via the connecting rod.
[0063] The water replenishment control method provided in this application is applied to the controller of a water pump. By controlling the water pump to start at regular intervals, water is transported to the water storage tank through the inlet pipe to achieve water replenishment.
[0064] Since the water pump controller and the float valve cannot communicate, the status of the float valve can be determined based on the actual water flow in the inlet pipe.
[0065] After the water pump is turned on, if water can directly enter the storage tank through the inlet pipe, a certain water flow will be generated in the inlet pipe, indicating that the float valve is in the open state. As the liquid level in the storage tank gradually rises, the float valve will change from the open state to the closed state. When the float valve is in the closed state, water in the inlet pipe cannot enter the storage tank, and water gradually fills the inlet pipe and stops flowing. At this time, the water flow in the inlet pipe is 0.
[0066] It should be noted that if the float valve is also closed when the water pump is turned on, the water in the inlet pipe will not be able to enter the storage tank, and the water will stop flowing after the inlet pipe is full.
[0067] Based on this, a very small preset water flow rate can be set, such as 0.1. The actual water flow rate being less than the preset flow rate is used as the condition for the water pump to automatically shut off. When the automatic shut-off condition is met, it indicates that the float valve is in the closed state, and the water pump can be turned off.
[0068] Therefore, in one embodiment, the water replenishment control method provided in this application implements an automatic water replenishment function, including the following steps:
[0069] The water pump is turned on at preset intervals to draw water from the water source into the water inlet pipe.
[0070] When the automatic shutdown condition is met, the water pump is shut down.
[0071] The automatic shut-off condition includes the actual water flow rate in the inlet pipe being less than a preset water flow rate. Specifically, a flow meter can be installed near the water pump in the inlet pipe to detect the water flow rate in the pipe.
[0072] like Figure 1 As shown, in the timed water replenishment mode, the timer function is activated. When the timer reaches the preset duration, the water pump is turned on, and the water pump is controlled to transport water to the water storage tank through the water inlet pipe.
[0073] If the float valve is open, water can be directly supplied to the storage tank through the inlet pipe. The system monitors the actual water flow rate in the inlet pipe to determine if the automatic pump shut-off condition is met. If the automatic shut-off condition is not met, water continues to be supplied to the storage tank. When the automatic shut-off condition is met, the system automatically shuts off the pump, resets the timer, and restarts the timer, thus achieving intelligent control of water supply.
[0074] In another implementation, the automatic shut-off condition also includes the inlet pipe being in a pressure-holding state.
[0075] Understandably, when the float valve is closed, water in the inlet pipe can no longer enter the storage tank. Since the water pump will continuously pump water into the inlet pipe, it will gradually fill. When the inlet pipe is completely full and the pressure inside reaches a stable level, it can be considered that the inlet pipe has reached a pressure-holding state.
[0076] Because each user has different water usage habits, water consumption varies. For users with high water consumption, it is necessary to frequently replenish the water tank to ensure that they have enough water for use; therefore, the interval between automatic water pump activation needs to be shortened. For users with low water consumption, it is not necessary to replenish water frequently, and the interval between automatic water pump activation can be appropriately extended to avoid frequent pump switching.
[0077] Based on this, historical data can be analyzed to predict users' water usage habits, and then the interval between automatic water pump activation can be adjusted accordingly.
[0078] In one embodiment, the water replenishment control method provided in this application further includes:
[0079] Record the start-up time when the water pump is turned on;
[0080] Record the shutdown time when the water pump is turned off;
[0081] The actual running time of the water pump is obtained by calculating the difference between the start time and the stop time.
[0082] Obtain the normal operating time range of the water pump;
[0083] If the actual running time exceeds the normal running time range, the preset running time will be adjusted.
[0084] In this embodiment, before obtaining actual water replenishment data from the user, a pre-set fixed value can be used as the preset duration to periodically turn on the water pump. The start-up time and stop-down time are recorded. The actual running time of the water pump is calculated based on the start-up and stop-down times, and it is determined whether the actual running time is within the normal range. If the actual running time exceeds the normal range, the interval between automatic water pump start-ups is intelligently adjusted according to the user's water usage habits to avoid the preset interval between two water pump start-ups being too long or too short.
[0085] Specifically, the preset duration can be extended when the actual running time is less than the minimum of the normal duration range, and shortened when the actual running time is greater than the maximum of the normal duration range.
[0086] However, considering that users' water consumption differs significantly between weekdays and weekends, weekdays and weekends can be treated as different cycles, with different preset durations set for each cycle.
[0087] Therefore, in one embodiment, the step of activating the water pump at preset intervals specifically includes:
[0088] Within a preset period, the water pump is activated at each preset time interval corresponding to the preset period.
[0089] Accordingly, obtaining the normal operating time range of the water pump includes:
[0090] Obtain the normal duration range corresponding to the preset period.
[0091] That is, the actual running time needs to be compared with the normal duration range corresponding to the same preset period, and the preset duration needs to be adjusted according to the comparison result.
[0092] The preset cycle can be divided into a workday cycle and a rest day cycle. For example, a workday cycle includes N workdays, and a rest day cycle includes M rest days. N and M are positive integers, and their specific values can be dynamically changed according to holiday regulations. Generally, a workday cycle typically includes 5 workdays, and a rest day cycle typically includes 2 rest days. If a statutory holiday occurs, the workday cycle may also include 4 workdays, and the rest day cycle may include 3 rest days.
[0093] For example, during a weekday cycle, the water pump is turned on at a first preset interval, and during a rest day cycle, the water pump is turned on at a second preset interval. The first normal duration range corresponding to the weekday cycle and the second normal duration range corresponding to the rest day cycle are obtained respectively.
[0094] That is, on weekdays, the first preset duration is adjusted based on the comparison between the actual running time and the first normal duration range; on rest days, the second preset duration is adjusted based on the comparison between the actual running time and the second normal duration range.
[0095] This application also considers that occasional circumstances may cause changes in a user's water consumption on a given day. To avoid frequent adjustments to the preset duration, in one embodiment, if the actual running time exceeds the normal duration range, the step of adjusting the preset duration includes:
[0096] If the actual running time is less than the minimum value in the normal running time range, accumulate the first count and clear the second count to zero;
[0097] If the actual runtime exceeds the maximum value within the normal runtime range, the second count is accumulated, and the first count is cleared to zero.
[0098] If the first count exceeds a first preset count, the preset duration is extended, and the first count and the second count are reset to zero.
[0099] If the second count is greater than the second preset count, the preset duration is shortened, and the first count and the second count are reset to zero.
[0100] The first preset number of times and the second preset number of times can be set to the same value, or they can be set to different values according to the actual situation.
[0101] like Figure 2As shown, the water pump is activated at preset intervals, and the start time is recorded. Water is continuously added to the storage tank if the automatic shutdown condition is not met. When the automatic shutdown condition is met, the water pump is automatically shut down, and the shutdown time is recorded. The actual running time of the water pump is calculated based on the activation and shutdown times. The current preset cycle is determined based on the current time, and the normal operating time range corresponding to the preset cycle is obtained.
[0102] The actual running time of the water pump each time reflects the amount of water replenished. A longer actual running time indicates a larger amount of water replenished, thus indicating a higher water consumption by the user; a shorter actual running time indicates a smaller amount of water replenished, thus indicating a lower water consumption by the user.
[0103] Based on this, the actual runtime can be compared with the obtained normal runtime range, and the comparison results can be recorded in the manner described above to determine whether it is continuously less than the minimum value in the normal runtime range or greater than the maximum value in the normal runtime range multiple times.
[0104] If the actual running time is less than the minimum value in the normal running time range for three consecutive times (i.e., the first time is greater than 3), it is considered that the user's water usage habits have changed and water consumption has decreased. Therefore, the preset running time needs to be extended to extend the interval between automatic water pump activation and avoid frequent water pump switching for water replenishment.
[0105] If the actual running time is greater than the maximum value in the normal running time range for three consecutive times, that is, the second time is greater than 3, it is considered that the user's water usage habits have changed and water consumption has increased. The preset running time needs to be shortened to shorten the interval between automatic water pump activation and ensure that the water storage tank can be replenished in a timely manner.
[0106] In one embodiment, preset durations for different gear levels can be set. The difference between the preset durations of adjacent gear levels can be a fixed value or a variable value, depending on the specific requirements.
[0107] For example, the difference between the preset durations of adjacent gears is 1 hour. If the actual running time is less than the minimum value in the normal running time range for three consecutive times, the preset duration is extended by 1 hour. If the actual running time is greater than the maximum value in the normal running time range for three consecutive times, the preset duration is shortened by 1 hour.
[0108] The normal operating time range of the water pump can be determined based on the pump's historical operating time.
[0109] In one embodiment, the step of obtaining the normal duration range corresponding to the preset period includes:
[0110] Obtain the historical operating time of the water pump multiple times within the preset period;
[0111] Based on the historical running time, calculate the historical average duration of the water pump within the preset cycle;
[0112] The normal duration range is determined based on the historical average duration.
[0113] That is, the normal duration range can be obtained by setting the allowable fluctuation range based on the historical average duration.
[0114] For example, based on the historical average duration, a downward fluctuation of 80% of the historical average duration is allowed, and an upward fluctuation of 100% of the historical average duration is allowed.
[0115] In this embodiment, the average historical running time within the same preset period can be calculated to obtain the historical average duration of the water pump in that preset period. Based on the historical average duration, the minimum and maximum allowable fluctuation values are set to obtain the normal duration range.
[0116] If the actual running time of the water pump is less than the minimum value of the normal running time range multiple times in a row, the preset running time can be extended to reduce the water replenishment frequency. If the actual running time of the water pump is greater than the maximum value of the normal running time range multiple times in a row, the preset running time can be shortened to increase the water replenishment frequency.
[0117] Furthermore, this application also determines abnormal water replenishment values based on the aforementioned normal duration range, and compares the actual runtime calculated after each water replenishment with the abnormal water replenishment value to monitor whether the water replenishment process is normal. If the difference between the two is significant, it can be considered that there is an abnormality in the water replenishment process, and a water replenishment anomaly notification should be promptly issued to the user.
[0118] In one embodiment, after obtaining the normal operating time range of the water pump, the method further includes:
[0119] The abnormal water replenishment value is determined based on the maximum value within the normal duration range.
[0120] If the actual runtime exceeds the water replenishment anomaly value, a water replenishment anomaly warning will be generated.
[0121] like Figure 3 As shown, after obtaining the actual operating time of the water pump during this water replenishment process, the normal operating time range of the water pump is acquired, and an abnormal water replenishment value is determined based on this range. It is then determined whether the actual operating time exceeds the abnormal water replenishment value. If so, an abnormal water replenishment prompt is automatically generated to alert or warn the user. The user can then use the prompt or warning information to check relevant water-using equipment and pipelines to ensure their normal operation.
[0122] The abnormal water replenishment value is set as needed and is usually much larger than the maximum value in the normal time range to avoid false alarms.
[0123] In addition, this application also takes into account the situation where users consume a large amount of water in a short period of time, and the timed water replenishment function cannot immediately meet the user's water demand. Therefore, a manual water replenishment function is designed to quickly meet the user's water demand.
[0124] In one embodiment, the water pump is equipped with a control button, which is used to generate a water pump start signal or a water pump stop signal according to user operation.
[0125] Accordingly, the water replenishment control method further includes:
[0126] In response to the pump start signal, the water pump is started.
[0127] In response to the pump shutdown signal, the water pump is shut down.
[0128] like Figure 4 As shown, the user manually presses the control button, which generates a water pump start signal to automatically turn on the water pump for water replenishment. The water pump can automatically shut off when the automatic shut-off conditions are met. Alternatively, the user can manually press the control button again before the automatic shut-off conditions are met to generate a water pump shut-off signal and turn off the water pump prematurely.
[0129] It should be understood that, although Figure 1-4 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise explicitly stated herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 1-4 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0130] Corresponding to the aforementioned water replenishment control method, this application also provides a water replenishment control system.
[0131] In one embodiment, such as Figure 5 As shown, the water replenishment control system includes:
[0132] A water pump timer module is used to turn on the water pump at preset intervals to draw water from the water source into the water inlet pipe.
[0133] The water pump automatic shut-off module is used to shut off the water pump in response to the fulfillment of automatic shut-off conditions, including the actual water flow rate in the inlet pipe being less than the preset water flow rate.
[0134] Specific limitations regarding the water replenishment control system can be found in the limitations of the water replenishment control method described above, and will not be repeated here. Each module in the aforementioned water replenishment control system can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0135] This application also provides a computer device. In one embodiment, the computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the water replenishment control method described in the above embodiment.
[0136] In one embodiment, the computer device may be a controller for a water pump, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor and memory connected via a system bus. The processor provides computational and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores computer programs. The internal memory provides an environment for the execution of the computer programs in the non-volatile storage medium. When executed by the processor, the computer program implements a water replenishment control method.
[0137] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0138] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the water replenishment control method described in the above embodiments.
[0139] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAM bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0140] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0141] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A water replenishment control method, applied to a water pump controller, characterized in that, The water pump is located at the water source, and the water source is connected to the inlet of the water storage tank through an inlet pipe; A float valve is provided at the inlet of the water storage tank. The float valve is used to open when the actual liquid level in the water storage tank is lower than the preset liquid level, and to close when the actual liquid level is equal to or higher than the preset liquid level. The water replenishment control method includes: The water pump is turned on at preset intervals to draw water from the water source into the water inlet pipe. When the automatic shut-off condition is met, the water pump is shut off. The automatic shut-off condition includes the actual water flow rate in the inlet pipe being less than the preset water flow rate.
2. The water replenishment control method as described in claim 1, characterized in that, The water replenishment control method also includes: Record the start-up time when the water pump is turned on; Record the shutdown time when the water pump is turned off; The actual running time of the water pump is obtained by calculating the difference between the start time and the stop time. Obtain the normal operating time range of the water pump; If the actual running time exceeds the normal running time range, the preset running time will be adjusted.
3. The water replenishment control method as described in claim 2, characterized in that, The step of activating the water pump at preset intervals includes: Within a preset period, the water pump is activated at each preset time interval corresponding to the preset period. The process of obtaining the normal operating time range of the water pump includes: Obtain the normal duration range corresponding to the preset period.
4. The water replenishment control method as described in claim 3, characterized in that, If the actual running time exceeds the normal running time range, adjusting the preset running time includes: If the actual water replenishment time is less than the minimum value in the normal time range, the first count is accumulated and the second count is cleared to zero. If the actual water replenishment duration exceeds the maximum value within the normal duration range, the second count is accumulated, and the first count is reset to zero. If the first count exceeds a first preset count, the preset duration is extended, and the first count and the second count are reset to zero. If the second count is greater than the second preset count, the preset duration is shortened, and the first count and the second count are reset to zero.
5. The water replenishment control method as described in claim 3, characterized in that, The step of obtaining the normal duration range corresponding to the preset period includes: Obtain the historical operating time of the water pump multiple times within the preset period; Based on the historical running time, calculate the historical average duration of the water pump within the preset cycle; The normal duration range is determined based on the historical average duration.
6. The water replenishment control method as described in claim 2, characterized in that, After obtaining the normal operating time range of the water pump, the method further includes: The abnormal water replenishment value is determined based on the maximum value within the normal duration range. If the actual runtime exceeds the water replenishment anomaly value, a water replenishment anomaly warning will be generated.
7. The water replenishment control method as described in claim 1, characterized in that, The water pump is equipped with a control button, which is used to generate a water pump start signal or a water pump stop signal according to the user's operation. The water replenishment control method also includes: In response to the pump start signal, the water pump is started. In response to the pump shutdown signal, the water pump is shut down.
8. A water replenishment control system, applied to a water pump controller, characterized in that, The water pump is located at the water source, and the water source is connected to the inlet of the water storage tank through an inlet pipe; A float valve is provided at the inlet of the water storage tank. The float valve is used to open when the actual liquid level in the water storage tank is lower than the preset liquid level, and to close when the actual liquid level is equal to or higher than the preset liquid level. The water replenishment control system includes: A water pump timer module is used to turn on the water pump at preset intervals to draw water from the water source into the water inlet pipe. The water pump automatic shut-off module is used to shut off the water pump in response to the fulfillment of automatic shut-off conditions, including the actual water flow rate in the inlet pipe being less than the preset water flow rate.
9. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.