Water pump flow velocity self-calibration method, device, equipment and medium
By counting the working time of the water pump when the water level changes in the water tank in the drinking water equipment, and calibrating the flow rate based on the initial flow rate and interval water volume, the problem of the flow rate not being adjusted in real time after the pump is aging is solved, and efficient flow rate self-calibration and equipment performance improvement are achieved.
Patent Information
- Application Number
- CN202510049407.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-10
- Publication Date
- 2025-04-15
AI Technical Summary
After the pump aging, existing drinking water equipment cannot monitor and adjust the pump flow rate in real time, resulting in deviations in the water outlet statistics and quantitative water supply functions, affecting the user experience and precise equipment control.
By counting the current cumulative working time of the water pump during the process of changing the current water level of the water tank from the first water level to the second water level, and self-calibrating the water pump flow rate based on this, the initial flow rate and cumulative working time are used to determine the interval water volume, thereby updating the current actual flow rate of the water pump.
It realizes self-calibration of the water pump flow rate, reduces the manufacturing and maintenance costs of the equipment, avoids the performance degradation caused by the aging of the water pump, and improves the overall performance and user experience of the drinking water equipment.
Smart Images

Figure CN119825722A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of drinking water equipment, and in particular to a water pump flow rate self-calibration method, device, equipment and medium. Background Art
[0002] In the field of related drinking water equipment, drinking water equipment relies on the fixed water flow rate value preset at the factory to control the running time of the water pump, so as to realize the statistical analysis of water output and quantitative water supply function. The original intention of designing this open-loop system is to simplify the control system structure and reduce manufacturing costs. However, as the equipment runs for a longer time, the water pump will inevitably age, and its flow rate performance will decrease accordingly. At this time, there is a lack of real-time monitoring and adjustment mechanism for the actual flow rate of the water pump. The aging water pump will cause large deviations in the statistics of water output and quantitative water supply functions, affecting the user experience and precise control of the equipment. Summary of the invention
[0003] The embodiments of the present application provide a water pump flow rate self-calibration method, device, equipment and medium, which realizes the self-calibration of the actual flow rate of the water pump, which can reduce the manufacturing cost and subsequent maintenance cost of the drinking water equipment, making the self-calibration function of the water pump flow rate in the drinking water equipment easier to apply and promote on the existing drinking water equipment, and can also avoid the problem of the performance of the drinking water equipment being reduced due to water pump aging or other factors, thereby improving the overall performance of the drinking water equipment and the user experience. The above technical solutions are as follows:
[0004] In a first aspect, an embodiment of the present application provides a water pump flow rate self-calibration method, which is applied to a drinking water device, wherein the drinking water device includes a water tank and a water pump; the method includes:
[0005] Counting the current accumulated working time of the water pump when the current water level of the water tank changes from the first water level to the second water level; the second water level is lower than the first water level;
[0006] The current actual flow rate of the water pump is calibrated based on the current accumulated working time and the water volume of the interval corresponding to the first water level and the second water level in the water tank.
[0007] In a possible implementation, after counting the current accumulated working time corresponding to the water pump during the process in which the current water level of the water tank changes from the first water level to the second water level, the method further includes:
[0008] When the water volume of the interval corresponding to the first water level and the second water level is in an unknown state, the water volume of the interval is determined based on the initial flow rate of the water pump and the current accumulated working time, and the water volume of the interval is marked as a known state; the initial flow rate is obtained by measuring the flow rate of the water pump in the drinking water equipment in a new machine state by a flow measuring device.
[0009] In a possible implementation, before determining the water volume of the interval based on the initial flow rate of the water pump and the current accumulated working time, the method further includes:
[0010] receiving the initial flow rate sent by the flow measurement device;
[0011] The above initial flow rate is saved in the database.
[0012] In a possible implementation, when the accumulated usage time of the drinking water device is less than or equal to the preset time, the current actual flow rate of the water pump is the initial flow rate; the initial flow rate is obtained by measuring the flow rate of the water pump in the drinking water device in a new state by a flow measurement device;
[0013] The calibrating of the current actual flow rate of the water pump based on the current accumulated working time and the water volume of the interval corresponding to the first water level and the second water level in the water tank comprises:
[0014] When the accumulated usage time of the drinking water device is greater than the preset time, the current flow rate value of the water pump is determined based on the current accumulated working time and the water volume of the interval corresponding to the first water level and the second water level in the water tank;
[0015] Update the current actual flow rate of the water pump to the current flow rate value.
[0016] In a possible implementation, the above-mentioned statistics of the current accumulated working time corresponding to the water pump during the process in which the current water level of the water tank changes from the first water level to the second water level include:
[0017] When it is detected that the current water level of the water tank changes from a state higher than or equal to the first water level to a state lower than the first water level, starting to count the current accumulated working time of the water pump;
[0018] When it is detected that the current water level changes from a state higher than or equal to the second water level to a state lower than the second water level, the counting of the current accumulated working time of the water pump ends.
[0019] In a possible implementation, the water tank includes a water inlet passage;
[0020] When it is detected that the current water level of the water tank changes from a state higher than or equal to the first water level to a state lower than the first water level, before starting to count the current accumulated working time of the water pump, the method further includes:
[0021] Detecting whether the current water level of the water tank is higher than or equal to the first water level;
[0022] If yes, close the above water inlet passage;
[0023] If not, the water inlet passage is opened until it is detected that the current water level of the water tank is higher than or equal to the first water level and then the water inlet passage is closed.
[0024] In a possible implementation, the method further includes:
[0025] During the statistical process of the above-mentioned current accumulated working time, the above-mentioned water inlet passage is controlled to remain in a closed state;
[0026] When the current water level is lower than the second water level, the water inlet passage is opened until it is detected that the current water level of the water tank is higher than or equal to the first water level, and then the water inlet passage is closed.
[0027] In a possible implementation, the method further includes:
[0028] Receive water taking instructions;
[0029] In response to the water intake instruction, when the current water level is higher than the second water level, controlling the water pump to operate;
[0030] When it is detected that the drinking water equipment meets the target condition, the water pump is controlled to stop working; the target condition includes one of the following: the current water level is lower than the second water level, the cumulative water output of the water pump after the current water level changes from higher than or equal to the second water level to lower than the second water level reaches the target water output or the cumulative water output time reaches the target water output time.
[0031] In a possible implementation, after calibrating the current actual flow rate of the water pump based on the current accumulated working time and the water volume of the interval corresponding to the first water level and the second water level in the water tank, the method further includes:
[0032] Count the current water output of the drinking water equipment according to the current actual flow rate and current working time of the calibrated water pump; or,
[0033] The specified working time is determined according to the current actual flow rate and the specified water output of the water pump after calibration, and the water pump is controlled to work continuously for the specified working time and then stop working.
[0034] In a possible implementation, the above-mentioned statistics of the current accumulated working time corresponding to the water pump during the process in which the current water level of the water tank changes from the first water level to the second water level include:
[0035] Periodically counting the current accumulated working time corresponding to the water pump during the process in which the current water level of the water tank changes from the first water level to the second water level; or,
[0036] After receiving the flow rate calibration instruction, in response to the flow rate calibration instruction, the current accumulated working time corresponding to the water pump during the process in which the current water level of the water tank changes from the first water level to the second water level is counted.
[0037] In a possible implementation, a first water level detection element is provided at the first water level and a second water level detection element is provided at the second water level in the water tank; the first water level detection element is used to detect the height relationship between the current water level and the first water level, and the second water level detection element is used to detect the height relationship between the current water level and the second water level.
[0038] In a second aspect, an embodiment of the present application provides a water pump flow rate self-calibration device, which is applied to a drinking water device, wherein the drinking water device includes a water tank and a water pump; the water pump flow rate self-calibration device includes:
[0039] A statistics module, used for counting the current accumulated working time corresponding to the water pump in the process of the current water level of the water tank changing from the first water level to the second water level; the second water level is lower than the first water level;
[0040] A calibration module is used to calibrate the current actual flow rate of the water pump based on the current accumulated working time and the water volume of the interval corresponding to the first water level and the second water level in the water tank.
[0041] In a third aspect, an embodiment of the present application provides a drinking water device, the drinking water device comprising a water tank, a water pump, a processor and a memory; wherein:
[0042] The above-mentioned water tank is used to store water;
[0043] The water pump is connected to the water tank through a pipeline and is used to pump water out of the water tank;
[0044] The above-mentioned memory is used to store executable program code;
[0045] The above-mentioned processor is connected to the above-mentioned memory, the above-mentioned water tank and the above-mentioned water pump, and runs the program corresponding to the above-mentioned executable program code by reading the executable program code stored in the above-mentioned memory, so as to execute the method provided by the first aspect of the embodiment of the present application or any possible implementation method of the first aspect.
[0046] In a fourth aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps provided by the first aspect of the embodiment of the present application or any possible implementation of the first aspect.
[0047] In one or more embodiments of the present application, the current cumulative working time corresponding to the water pump in the process of the current water level of the water tank changing from the first water level to the second water level is first counted, and the second water level is lower than the first water level; then, the current actual flow rate of the water pump is calibrated based on the current cumulative working time and the water volume corresponding to the interval between the first water level and the second water level in the water tank. Compared with the closed-loop control system based on the flow sensor in the related art, the embodiment of the present application does not require an additional flow sensor, nor does it require complex hardware or software support, so that the drinking water equipment can accurately evaluate and adjust the performance of the water pump through a simple calculation and calibration process, and realize self-calibration of the actual flow rate of the water pump, which can reduce the manufacturing cost and subsequent maintenance cost of the drinking water equipment, making the self-calibration function of the water pump flow rate in the drinking water equipment easier to apply and promote on the existing drinking water equipment, and can avoid the problem of reduced performance of the drinking water equipment due to aging of the water pump or other factors, thereby improving the overall performance of the drinking water equipment and user experience.
[0048] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 A schematic diagram of the structure of a drinking water device provided as an exemplary embodiment of the present application;
[0051] Figure 2 A schematic flow chart of a water pump flow rate self-calibration method provided by an exemplary embodiment of the present application;
[0052] Figure 3 A schematic flow chart of another water pump flow rate self-calibration method provided by an exemplary embodiment of the present application;
[0053] Figure 4 A schematic diagram of an initial flow velocity measurement architecture provided by an exemplary embodiment of the present application;
[0054] Figure 5 A schematic flow chart of another water pump flow rate self-calibration method provided by an exemplary embodiment of the present application;
[0055] Figure 6 A flow chart of a control method of a drinking water device provided by an exemplary embodiment of the present application;
[0056] Figure 7 A schematic structural diagram of a water pump flow rate self-calibration device provided by an exemplary embodiment of the present application;
[0057] Figure 8 A schematic structural diagram of another drinking water device provided as an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0058] In order to make the features and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0059] The terms "first", "second", "third", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0060] In order to overcome the problem of water output control deviation after the above-mentioned water pump is aged, a closed-loop control system based on flow sensor feedback has also been proposed in the relevant technology. The system monitors the water output of the drinking water equipment in real time by installing a flow sensor, and adjusts the operating status of the water pump according to the actual flow feedback, so as to achieve accurate statistics of the water output and quantitative water supply. However, this solution also faces some challenges. First, the flow sensor may not be able to accurately distinguish whether there is water flowing in the current pipeline during the detection process, which may lead to measurement deviations in some cases. Secondly, high-quality flow sensors and their related maintenance costs are high, which increases the overall manufacturing cost and subsequent maintenance burden of drinking water equipment. Therefore, while pursuing high-precision control, how to balance cost and performance becomes a key issue that needs to be solved in this solution.
[0061] Based on this, an embodiment of the present application provides a water pump flow rate self-calibration method, by first counting the current cumulative working time corresponding to the water pump when the current water level of the water tank changes from the first water level to the second water level, the second water level is lower than the first water level; then, based on the current cumulative working time and the corresponding interval water volume between the first water level and the second water level in the water tank, the current actual flow rate of the water pump is calibrated. Compared with the closed-loop control system based on the flow sensor in the related art, the embodiment of the present application does not require an additional flow sensor, nor does it require complex hardware or software support, so that the drinking water equipment can accurately evaluate and adjust the performance of the water pump through a simple calculation and calibration process, and realize self-calibration of the actual flow rate of the water pump, which can reduce the manufacturing cost and subsequent maintenance cost of the drinking water equipment, making the self-calibration function of the water pump flow rate in the drinking water equipment easier to apply and promote on the existing drinking water equipment, and can avoid the problem of reduced performance of the drinking water equipment due to water pump aging or other factors, thereby improving the overall performance and user experience of the drinking water equipment.
[0062] Please refer to the following Figure 1 , which is a schematic diagram of the structure of a drinking water device provided by an exemplary embodiment of the present application. Figure 1 As shown, the drinking water equipment at least includes a water tank 110 and a water pump 120. Among them:
[0063] The water tank 110 is used to store water. A first water level detection element 130 and a second water level detection element 140 are installed in the water tank 110. The first water level detection element 130 is located at a first water point of the water tank 110, and the second water level detection element 140 is located at a second water point of the water tank 110. The height corresponding to the first water point (first water level) and the height corresponding to the second water point (second water level) can be set according to actual needs, and the embodiment of the present application does not limit this.
[0064] Specifically, the first water level detection element 130 is used to detect the height relationship between the current water level in the water tank 110 and the first water level, and the second water level detection element 140 is used to detect the height relationship between the current water level in the water tank 110 and the second water level; the second water level is lower than the first water level.
[0065] It can be understood that the above-mentioned first water level detection element 130 can be but not limited to a high float in the water tank 110, and the second water level detection element 140 can be but not limited to a low float in the water tank 110, and can be but not limited to a high float in the water tank 110. The above-mentioned first water level detection element 130 and the second water level detection element 140 can be but not limited to using at least one method such as a reed switch, a Hall sensor, a capacitive sensor, etc. to respectively correspond to the height relationship between the current water level in the water tank 110 and the first water level and the second water level.
[0066] The water tank 110 is connected to the water inlet 160 through a water inlet passage. The water inlet passage includes a water inlet switch 150 and a pipe 180. The water inlet switch 150 is used to control the opening or closing of the water inlet passage. When the water inlet switch 150 is in an open state, the water inlet passage is connected, i.e., opened, and the water tank 110 can be replenished with water that needs to be stored from the water inlet 160 through the water inlet passage, and the water level in the water tank 110 will continue to rise; when the water inlet switch 150 is in a closed state, the water inlet passage is interrupted, i.e., closed, and the water level in the water tank 110 will no longer rise.
[0067] The water pump 120 is connected to the water tank 110 through a pipeline, and is used to pump water in the water tank 110 to the water outlet 170 .
[0068] Optionally, the structure of the water tank 110 may be, but is not limited to, cylindrical, rectangular, cube, or a special shape.
[0069] Specifically, after the drinking water equipment is used after leaving the factory, the current cumulative working time corresponding to the water pump when the current water level of the water tank changes from the first water level to the second water level can be counted, and the current actual flow rate of the water pump can be calibrated directly based on the above-mentioned current cumulative working time and the interval water volume corresponding to the above-mentioned first water level and the above-mentioned second water level in the above-mentioned water tank.
[0070] Understandably, Figure 1 The number, shape, connection method, etc. of each component in the drinking water device shown are only examples, and the embodiments of this specification do not specifically limit this.
[0071] Next, combine Figure 1 , taking the controller or processor of a drinking water device executing a water pump flow rate self-calibration as an example, a water pump flow rate self-calibration method provided by an exemplary embodiment of the present application is introduced. For details, please refer to Figure 2, which is a flow chart of a water pump flow rate self-calibration method provided by an exemplary embodiment of the present application. Figure 2 As shown, the water pump flow rate self-calibration method includes the following steps:
[0072] S201, counting the current accumulated working time of the water pump when the current water level of the water tank changes from a first water level to a second water level, wherein the second water level is lower than the first water level.
[0073] Specifically, when the water pump starts working, the water level change in the water tank can be monitored in real time through the water level detection element, and the current cumulative working time (current cumulative working time) of the water pump during the process of the current water level in the water tank changing from the first water level to the second water level can be counted using a timer or time recording function. The above-mentioned current cumulative working time is the total working time of the water pump from the first water level of the water tank to the current water level dropping to the second water level. The above-mentioned current water level is used to characterize the current water level height in the water tank of the drinking water equipment.
[0074] Optionally, the above S201, the implementation process of counting the current accumulated working time corresponding to the water pump when the current water level of the water tank changes from the first water level to the second water level may include but is not limited to: periodically counting the current accumulated working time corresponding to the water pump when the current water level of the water tank changes from the first water level to the second water level, for example but not limited to automatically triggering the statistics of the current accumulated working time corresponding to the water pump and the self-calibration of the water pump flow rate at every preset time period (for example but not limited to daily, weekly, monthly, etc.), so as to realize the function of self-calibration of flow rate of the drinking water equipment without flow sensor at low cost and high efficiency, and improve the overall performance and use experience of the drinking water equipment; or, when the user feels that there is a quantitative deviation or a water consumption statistical deviation during the use of the drinking water equipment, the flow rate calibration instruction may be triggered through but is not limited to the display screen of the drinking water equipment or a terminal or server connected to the drinking water equipment for communication. After receiving the flow rate calibration instruction, the drinking water equipment may respond to the flow rate calibration instruction to count the current accumulated working time corresponding to the water pump when the current water level of the water tank changes from the first water level to the second water level, so as to meet the calibration needs of the user. That is, the embodiment of the present application can calibrate the flow rate of the water pump regularly or on demand, so as to promptly detect and correct changes in the performance of the water pump, thereby enhancing the stability and reliability of the entire drinking water equipment.
[0075] S202: Calibrate the current actual flow rate of the water pump based on the current accumulated working time and the water volume of the interval corresponding to the first water level and the second water level in the water tank.
[0076] Specifically, the above-mentioned interval water volume is calculated based on the initial flow rate and the initial cumulative working time of the water pump, that is, the product of the above-mentioned initial flow rate and the initial cumulative working time. The above-mentioned initial cumulative working time is the cumulative working time corresponding to the water pump during the process when the water level of the water tank changes from the first water level to the second water level when the cumulative use time of the drinking water equipment is less than or equal to the preset time (for example, but not limited to 0, 24 hours, 1 month, 1 year, etc.). After obtaining the current cumulative working time corresponding to the water pump during the process when the current water level of the water tank changes from the first water level to the second water level, the interval water volume corresponding to the first water level and the second water level in the water tank that have been calculated in advance can be read first, and then the current actual flow rate of the water pump can be directly calculated by the formula = interval water volume / current cumulative working time. The above-mentioned current actual flow rate is the actual flow rate of the water pump under the current working conditions. The above-mentioned interval water volume is calculated based on the initial flow rate of the water pump and the historical cumulative working time. The above-mentioned historical cumulative working time is the cumulative working time corresponding to the water pump during the process when the current water level of the water tank changes from the first water level to the second water level, which is counted before the above-mentioned current cumulative working time. For example, but not limited to, the cumulative working time corresponding to the water pump during the process when the current water level of the water tank changes from the first water level to the second water level when the drinking water equipment is used for the first time.
[0077] Optionally, when the cumulative usage time of the drinking water equipment is less than or equal to the preset time, it means that the drinking water equipment is used for the first time or has not been used for a long time. At this time, the water pump of the drinking water equipment has not aged and its flow rate performance has not decreased. Then, the current actual flow rate of the water pump can be directly determined as the initial flow rate. The above initial flow rate is obtained by measuring the flow rate of the water pump in the drinking water equipment in the new machine state by the flow measurement device. The above new machine state is used to characterize the state of the drinking water equipment before leaving the factory or the state that has not been used. The above-mentioned implementation process of calibrating the current actual flow rate of the water pump based on the current cumulative working time and the interval water volume may include but is not limited to: when the cumulative use time of the drinking water equipment is greater than the preset time, it means that the water pump of the drinking water equipment has been used for a long time, and there may be aging that causes its flow rate performance to decrease, then the current flow rate value of the water pump = interval water volume / current cumulative working time will be determined based on the above-mentioned current cumulative working time and interval water volume; then, the current actual flow rate of the water pump is directly updated to the above-mentioned current flow rate value, that is, when the current flow rate value is inconsistent with the initial flow rate, it means that the current actual flow rate of the water pump of the drinking water equipment has changed compared to the initial flow rate in the new machine state, then the current actual The actual flow rate is updated from the initial flow rate to the above-mentioned current flow rate value to realize self-calibration of the water pump flow rate; when the current flow rate value is consistent with the initial flow rate, it means that the current actual flow rate of the drinking water equipment water pump has not changed compared with the initial flow rate in the new machine state, or when the cumulative usage time of the drinking water equipment is not greater than the preset time, it means that the drinking water equipment is used for the first time or has not been used for a long time, and the water pump of the drinking water equipment will not have the problem of aging affecting the flow rate. In this way, the current actual flow rate of the water pump can continue to be maintained at the initial flow rate, avoiding the problem of invalid flow rate calibration when the drinking water equipment is used for the first time or when the water pump is not aged to affect the flow rate, thereby improving the effectiveness of the water pump flow rate self-calibration and avoiding the waste of computing resources of the drinking water equipment.
[0078] In the embodiment of the present application, the current cumulative working time corresponding to the water pump in the process of the current water level of the water tank changing from the first water level to the second water level is first counted, and the second water level is lower than the first water level; then, the current actual flow rate of the water pump is calibrated based on the current cumulative working time and the corresponding interval water volume between the first water level and the second water level in the water tank. Compared with the closed-loop control system based on the flow sensor in the related art, the embodiment of the present application does not require an additional flow sensor, nor does it require complex hardware or software support, so that the drinking water equipment can accurately evaluate and adjust the performance of the water pump through a simple calculation and calibration process, and realize self-calibration of the actual flow rate of the water pump, which can reduce the manufacturing cost and subsequent maintenance cost of the drinking water equipment, making the self-calibration function of the water pump flow rate in the drinking water equipment easier to apply and promote on the existing drinking water equipment, and can avoid the problem of reduced performance of the drinking water equipment due to aging of the water pump or other factors, thereby improving the overall performance of the drinking water equipment and user experience.
[0079] In some possible embodiments, after the current actual flow rate of the water pump is calibrated based on the current accumulated working time and the water volume in the interval corresponding to the first water level and the second water level in the water tank, the water pump flow rate self-calibration method may also include but is not limited to: counting the current water output of the drinking water equipment according to the current actual flow rate and the current working time of the calibrated water pump, or determining the specified working time according to the current actual flow rate and the specified water output of the calibrated water pump, and controlling the water pump to stop working after working for the specified working time.
[0080] Specifically, the above-mentioned current working time refers to the time from the start of the water pump to the current moment. The current water output of the drinking water equipment refers to the amount of water pumped out and delivered from the water tank during the current working time, and is an important parameter for evaluating the performance of the drinking water equipment. After the current actual flow rate of the water pump is calibrated, when the user uses the drinking water equipment to draw water again, the drinking water equipment can record the current working time of the water pump through a timer or clock, and then directly calculate the current water output of the water pump during the current working time based on the product of the calibrated current actual flow rate and the current working time. Thus, the current water output of the drinking water equipment can be accurately calculated through the precise current actual flow rate and current working time of the water pump, avoiding excessive or insufficient water delivery and improving the working efficiency of the drinking water equipment.
[0081] Specifically, the above-mentioned designated water output refers to the amount of water that needs to be delivered by the water pump as set by the user or the system. The above-mentioned designated working time refers to the time the water pump needs to work, which is calculated based on the current actual flow rate of the water pump and the designated water output. After the drinking water equipment obtains the designated water output through user input or system setting, it can calculate the designated working time required for the water pump through division operation based on the designated water output and the current actual flow rate of the calibrated water pump. Then, the working time of the water pump can be set through the controller or timer, and the water pump can be started to work. When the water pump has been working for a specified time, the controller or timer sends a stop signal to stop the water pump.
[0082] In the embodiments of the present application, on the one hand, the user can set a specified water output according to actual needs, and the drinking water equipment automatically calculates and controls the working time of the water pump according to the settings, thereby meeting the user's personalized needs; on the other hand, the working time of the water pump can be accurately controlled to avoid long-term ineffective operation of the water pump, thereby reducing energy consumption and wear and tear and extending the service life of the water pump; on yet another hand, automatic and intelligent water output control and management can be achieved to improve the overall performance and user experience of the drinking water equipment.
[0083] Please refer to the following Figure 3 , which is a flow chart of another water pump flow rate self-calibration method provided by an exemplary embodiment of the present application. Figure 3 As shown, the water pump flow rate self-calibration method includes the following steps:
[0084] S301, counting the current accumulated working time of the water pump when the current water level of the water tank changes from a first water level to a second water level, wherein the second water level is lower than the first water level.
[0085] Specifically, the above S301 is consistent with S201 and will not be repeated here.
[0086] S302: When the water volume of the interval corresponding to the first water level and the second water level in the water tank is in a known state, calibrate the current actual flow rate of the water pump based on the current accumulated working time and the water volume of the interval.
[0087] Specifically, when the water volume of the interval corresponding to the first water level and the second water level in the water tank is in a known state, it means that the water volume of the interval corresponding to the water tank has been calculated and pre-stored in the database after the user has used the drinking water device, and the pre-stored water volume of the interval in the database can be directly read to participate in the calibration of the water pump flow rate. The calibration process in the above S302 is consistent with S202 and will not be repeated here.
[0088] Please continue to refer to Figure 3 ,like Figure 3As shown, in the above S301, after counting the current accumulated working time of the water pump corresponding to the process in which the current water level of the water tank changes from the first water level to the second water level, the water pump flow rate self-calibration method may also include but is not limited to:
[0089] S303, when the interval water volume corresponding to the first water level and the second water level is in an unknown state, the interval water volume is determined based on the initial flow rate of the water pump and the current accumulated working time, and the interval water volume is marked as a known state.
[0090] Specifically, when the interval water volume corresponding to the first water level and the second water level is in an unknown state, it means that the drinking water equipment has not yet calculated the interval water volume. Then, it is necessary to determine the interval water volume based on the initial flow rate of the water pump and the current cumulative working time, that is, the interval water volume is equal to the product of the initial flow rate of the water pump and the current cumulative working time, and mark the interval water volume as a known state, so that there is no need to perform special measurement or design of the interval water volume of the water tank in advance. It can not only realize the non-sensing calculation corresponding to the interval water volume of the water tank of the drinking water equipment during the user's use, but also provide parameter support for the flow rate calibration of the water pump after the subsequent long-term use of the drinking water equipment. There is no need to perform special calibration checks on the drinking water equipment, and the water pump flow rate self-calibration can be completed during the normal use of the drinking water equipment by the user. The above initial flow rate is obtained by measuring the flow rate of the water pump in the drinking water equipment in the new machine state by the flow measurement device.
[0091] Furthermore, when the interval water volume corresponding to the first water level and the second water level is in an unknown state and the cumulative usage time of the drinking water equipment is less than or equal to the preset time, it means that the drinking water equipment is used for the first time or the usage time is not long, and the interval water volume has not been calculated. At this time, the water pump of the drinking water equipment has not aged, and its flow rate performance has not decreased, so flow rate calibration is not required, but preparations are needed for subsequent flow rate calibration, that is, the interval water volume needs to be determined based on the initial flow rate of the water pump and the current cumulative working time, that is, the interval water volume is equal to the product of the initial flow rate of the water pump and the current cumulative working time, and the interval water volume is marked as a known state.
[0092] Alternatively, if Figure 4As shown, before the production of the drinking water equipment, the initial flow rate of the water pump 120 of the drinking water equipment can be actually measured by the flow measurement tooling 420, for example but not limited to first connecting the water pump 120 of the drinking water equipment and the flow sensor 421 of the flow measurement tooling 420 through the waterway, and communicating the controller 410 of the drinking water equipment and the tooling controller 422 of the flow measurement tooling 420. The tooling controller 422 sends a water output instruction to the controller 410 of the drinking water equipment, so that the controller 410 of the drinking water equipment controls the water pump 120 to work, so that water flow is generated in the waterway. After the flow sensor 421 records the water flow in the waterway, it is transmitted back to the tooling controller 422. After the tooling controller 422 obtains the water flow, it sends a water stop instruction to the controller 410 of the drinking water equipment, so that the controller 410 of the drinking water equipment controls the water pump 120 to stop working, and calculates the initial flow rate of the water pump according to the water flow and the water flow duration. Then, the initial flow rate of the water pump is sent to the controller 410 of the drinking water equipment. After the drinking water device receives the initial flow rate sent by the flow measurement device, it can directly save the initial flow rate in the database, so that when the drinking water device is used subsequently when the interval water volume is unknown, the initial flow rate of the water pump can be directly read from the database to calculate the interval water volume.
[0093] Please refer to the following Figure 5 , which is a flow chart of another water pump flow rate self-calibration method provided by an exemplary embodiment of the present application. Figure 5 As shown, the water pump flow rate self-calibration method includes the following steps:
[0094] S501, detecting whether the current water level of the water tank is higher than or equal to the first water level.
[0095] Specifically, after the drinking water equipment is powered on, the first water level detection element (for example, but not limited to a float sensor, a pressure sensor, an ultrasonic sensor, a reed switch, a Hall sensor, a capacitive sensing element, etc.) located at the first water point in the water tank can be used to detect the height relationship between the water level in the water tank and the first water level in real time or periodically, thereby determining whether there is sufficient water in the water tank and whether it is necessary to add water before use.
[0096] S502: If the current water level is higher than or equal to the first water level, the water inlet passage is closed.
[0097] Specifically, after the drinking water device is powered on, if it is detected that the current water level of the water tank is higher than or equal to the first water level, it means that the water in the water tank is sufficient and no more water is needed, then the water inlet switch of the water inlet passage can be controlled to be closed to close the water inlet passage, thereby stopping the water inlet of the water tank. The above-mentioned water inlet passage refers to the path for water to enter the water tank from the outside, such as but not limited to components including a water inlet switch (such as a water inlet valve), a pipe, etc.
[0098] Please continue to refer to Figure 5 ,like Figure 5 As shown, after the above S501, detecting whether the current water level of the water tank is higher than or equal to the first water level, the method may also include but is not limited to:
[0099] S503, if the current water level is lower than the first water level, the water inlet passage is opened until it is detected that the current water level of the water tank is higher than or equal to the first water level and then the water inlet passage is closed.
[0100] Specifically, after the drinking water device is powered on, if it is detected that the current water level of the water tank is lower than the first water level, it means that the water in the water tank is insufficient and water needs to be added before use. Then, the water inlet switch of the water inlet passage can be controlled to open to open the water inlet passage and allow water to enter the water tank. At the same time, the current water level of the water tank is continuously detected by the first water level detection element until it is detected that the current water level reaches or exceeds the first water level, and then the water inlet switch of the water inlet passage is controlled to close to close the water inlet passage.
[0101] S504, when it is detected that the current water level of the water tank changes from a state higher than or equal to the first water level to a state lower than the first water level, start counting the current accumulated working time of the water pump.
[0102] Specifically, when a user uses the drinking water device to normally draw water, the controller of the drinking water device controls the operation of the water pump. The first water level detection element detects the height relationship between the current water level of the water tank and the first water level in real time or at a preset frequency. When it is detected that the current water level drops from being higher than or equal to the first water level to being lower than the first water level, the timer of the drinking water device is triggered to start recording the working time of the water pump. The above-mentioned current cumulative working time is the cumulative working time of the water pump from the time when the current water level becomes lower than the first water level to the current moment, which is used for subsequent flow rate calibration.
[0103] S505, when it is detected that the current water level changes from a state higher than or equal to the second water level to a state lower than the second water level, the counting of the current accumulated working time of the water pump ends.
[0104] Specifically, when the user uses the drinking water device to normally draw water, the second water level detection element will also be used to detect the height relationship between the current water level of the water tank and the second water level in real time or at a preset frequency. When it is detected that the current water level drops from being higher than or equal to the second water level to being lower than the second water level, the timer of the drinking water device is triggered to stop recording the working time of the water pump, and the current cumulative working time of the water pump is counted. The above-mentioned current cumulative working time is the cumulative working time of the water pump from the time when the current water level becomes lower than the first water level to the time when the current water level becomes lower than the second water level, which is used for subsequent flow rate calibration.
[0105] Optionally, during the above-mentioned statistical process of the current cumulative working time, the water inlet passage will be controlled to remain in a closed state to ensure that the current cumulative working time corresponding to the water pump during the process in which the current water level of the water tank changes from the first water level to the second water level can be accurately counted. When the current water level of the water tank is lower than the second water level, the water inlet passage will be opened until it is detected that the current water level of the water tank is higher than or equal to the first water level, and then the water inlet passage will be closed, thereby avoiding the idling of the water pump and allowing the drinking water device to automatically fill and store water after the user has taken the water stored in the water tank, thereby improving the intelligence and flexibility of the drinking water device.
[0106] S506, determining whether the water volume in the interval corresponding to the first water level and the second water level in the water tank is in a known state.
[0107] Specifically, after obtaining the current cumulative working time of the water pump, the interval water volume can be directly read from the database. If the reading is successful, it can be determined that the interval water volume corresponding to the first water level and the second water level in the water tank is in a known state; if the reading fails, it can be determined that the interval water volume corresponding to the first water level and the second water level in the water tank is in an unknown state.
[0108] S507, when the water volume of the interval corresponding to the first water level and the second water level in the water tank is in a known state, calibrate the current actual flow rate of the water pump based on the current accumulated working time and the water volume of the interval.
[0109] Specifically, the above S507 is consistent with S202 and will not be repeated here.
[0110] Please continue to refer to Figure 5 ,like Figure 5 As shown, in the above S506, after determining whether the water volume in the interval corresponding to the first water level and the second water level in the water tank is in a known state, the water pump flow rate self-calibration method may also include but is not limited to:
[0111] S508, when the interval water volume corresponding to the first water level and the second water level is in an unknown state, the interval water volume is determined based on the initial flow rate of the water pump and the current accumulated working time, and the interval water volume is marked as a known state.
[0112] Specifically, the above S508 is consistent with S303 and will not be described again. After marking the interval water volume as a known state, in the subsequent use of the drinking water device, the water pump flow rate self-calibration can be performed with reference to, but not limited to, the above S501-S507.
[0113] Please refer to the following Figure 8 , which is a flow chart of a control method for a drinking water device provided by an exemplary embodiment of the present application. Figure 8As shown, the control method of the drinking water equipment may include but is not limited to the following steps:
[0114] S601, receiving a water fetching instruction.
[0115] Specifically, the water extraction instruction refers to a request issued by a user through a user interface of the drinking water device (such as but not limited to a button, a touch screen, a mobile phone APP, etc.), requiring the drinking water device to provide a certain amount of drinking water. That is, the user triggers the water extraction instruction through the user interface, and the water extraction instruction, for example but not limited to, carries a specified water extraction amount or a specified water extraction time. After the controller of the drinking water device receives and parses the water extraction instruction, it can prepare to execute the corresponding water extraction operation.
[0116] S602, in response to the water intake instruction, when the current water level is higher than the second water level, controlling the water pump to operate.
[0117] Specifically, after receiving the water extraction instruction, it will first detect whether the current water level in the water tank is higher than the second water level. If the current water level is higher than the second water level, it means that there is a certain amount of water in the water tank for the user to use, and then the water pump will be started to start the water extraction operation, thereby avoiding the problem of the water pump running idle and overheating when the current water level in the water tank is low, which affects the service life of the drinking water equipment, and extending the service life of the drinking water equipment.
[0118] Optionally, if it is detected that the current water level is lower than or equal to the second water level, a warning can be directly issued or the user can be prompted that the water tank is short of water and it is not suitable for water extraction operation at present, that is, the water pump will not be started first.
[0119] S603, when it is detected that the drinking water equipment meets the target condition, the water pump is controlled to stop working.
[0120] Specifically, the above target conditions are used to characterize the stop conditions that the drinking water equipment needs to meet during the water extraction process. The above target conditions may include, but are not limited to, one of the following: the current water level is lower than the second water level (indicating that the water in the water tank is about to be taken out), the cumulative water output of the water pump after the current water level changes from higher than or equal to the second water level to lower than the second water level reaches the target water output or the cumulative water output time reaches the target water output time (indicating that the water in the water tank has been taken out and can no longer be extracted). The target water output is used to characterize the maximum water output that the water pump can extract at the second water level. The above target water output time may be, but is not limited to, calculated based on the current actual flow rate of the water pump and the target water output.
[0121] In the embodiment of the present application, when it is detected that the drinking water equipment meets the target conditions, the water pump is controlled to stop working, that is, water extraction is automatically stopped when the water level in the water tank is too low, thereby avoiding faults such as water pump idling and overheating, extending the service life of the equipment, and improving the intelligence level and management efficiency of the drinking water equipment.
[0122] Please refer to the following Figure 7 , which is a schematic diagram of the structure of a water pump flow rate self-calibration device provided in an embodiment of the present application. The water pump flow rate self-calibration device is applied to a drinking water device, and the drinking water device includes a water tank and a water pump; Figure 7 As shown, the water pump flow rate self-calibration device 700 comprises:
[0123] A statistics module 710 is used to count the current accumulated working time of the water pump when the current water level of the water tank changes from a first water level to a second water level; the second water level is lower than the first water level;
[0124] The calibration module 720 is used to calibrate the current actual flow rate of the water pump based on the current accumulated working time and the water volume of the interval corresponding to the first water level and the second water level in the water tank.
[0125] In a possible implementation, the water pump flow rate self-calibration device 700 further includes:
[0126] A determination module is used to determine the water volume of the interval corresponding to the first water level and the second water level based on the initial flow rate of the water pump and the current accumulated working time, and mark the water volume of the interval as a known state when the water volume of the interval corresponding to the first water level and the second water level is in an unknown state; the initial flow rate is obtained by measuring the flow rate of the water pump in the drinking water device in a new machine state by a flow measurement device.
[0127] In a possible implementation, the water pump flow rate self-calibration device 700 further includes:
[0128] A first receiving module, used for receiving the initial flow rate sent by the flow measurement device;
[0129] The storage module is used to store the initial flow rate in a database.
[0130] In a possible implementation, when the accumulated usage time of the drinking water device is less than or equal to the preset time, the current actual flow rate of the water pump is the initial flow rate; the initial flow rate is obtained by measuring the flow rate of the water pump in the drinking water device in a new state by a flow measurement device;
[0131] The calibration module 720 is specifically used for:
[0132] When the cumulative usage time of the above-mentioned drinking water equipment is greater than the above-mentioned preset time, the current flow rate value of the above-mentioned water pump is determined based on the above-mentioned current cumulative working time and the above-mentioned interval water volume; the current actual flow rate of the above-mentioned water pump is updated to the above-mentioned current flow rate value.
[0133] In a possible implementation, the statistical module 710 is specifically used for:
[0134] When it is detected that the current water level of the water tank changes from a state higher than or equal to the first water level to a state lower than the first water level, start counting the current cumulative working time of the water pump; when it is detected that the current water level changes from a state higher than or equal to the second water level to a state lower than the second water level, end counting the current cumulative working time of the water pump.
[0135] In a possible implementation, the water tank includes a water inlet passage;
[0136] The water pump flow rate self-calibration device 700 further includes:
[0137] A water level detection module, used to detect whether the current water level of the water tank is higher than or equal to the first water level;
[0138] A water inlet passage switch module is used to close the water inlet passage if yes;
[0139] The water inlet passage switch module is also used to: if not, open the water inlet passage, and close the water inlet passage after detecting that the current water level of the water tank is higher than or equal to the first water level.
[0140] In a possible implementation, the water pump flow rate self-calibration device 700 further includes:
[0141] A water inlet passage switch module, used to control the water inlet passage to remain in a closed state during the statistical process of the current accumulated working time;
[0142] The water inlet passage switch module is specifically used to: open the water inlet passage when the current water level is lower than the second water level, and close the water inlet passage after detecting that the current water level of the water tank is higher than or equal to the first water level.
[0143] In a possible implementation, the water pump flow rate self-calibration device 700 further includes:
[0144] A second receiving module is used to receive a water taking instruction;
[0145] A first control module, configured to control the water pump to operate in response to the water intake instruction when the current water level is higher than the second water level;
[0146] The second control module is used to control the water pump to stop working when it is detected that the drinking water equipment meets the target conditions; the target conditions include one of the following: the current water level is lower than the second water level, the cumulative water output of the water pump after the current water level changes from higher than or equal to the second water level to lower than the second water level reaches the target water output or the cumulative water output time reaches the target water output time.
[0147] In a possible implementation, the water pump flow rate self-calibration device 700 further includes:
[0148] A water output statistics module is used to count the current water output of the drinking water equipment according to the current actual flow rate and current working time of the calibrated water pump; or,
[0149] The third control module is used to determine the specified working time according to the current actual flow rate and the specified water output of the above-mentioned water pump after calibration, and control the above-mentioned water pump to stop working after working for the above-mentioned specified working time.
[0150] In a possible implementation, the statistical module 710 is specifically used for:
[0151] Periodically count the current cumulative working time corresponding to the water pump when the current water level of the water tank changes from the first water level to the second water level; or, after receiving a flow rate calibration instruction, respond to the flow rate calibration instruction and count the current cumulative working time corresponding to the water pump when the current water level of the water tank changes from the first water level to the second water level.
[0152] In a possible implementation, a first water level detection element is provided at the first water level and a second water level detection element is provided at the second water level in the water tank; the first water level detection element is used to detect the height relationship between the current water level and the first water level, and the second water level detection element is used to detect the height relationship between the current water level and the second water level.
[0153] The division of each module in the above-mentioned water pump flow rate self-calibration device is only for illustration. In other embodiments, the water pump flow rate self-calibration device can be divided into different modules as needed to complete all or part of the functions of the above-mentioned water pump flow rate self-calibration device. The implementation of each module in the water pump flow rate self-calibration device provided in the embodiment of this specification can be in the form of a computer program. The computer program can be run on a drinking water device, a terminal, or a server. The program modules constituted by the computer program can be stored in the memory of the drinking water device, a terminal, or a server. When the computer program is executed by the processor, all or part of the steps of the water pump flow rate self-calibration method described in the embodiment of this specification are implemented.
[0154] See next Figure 8, which is a schematic diagram of the structure of a drinking water device provided in the embodiment of the present application. Figure 8 As shown, the drinking water device 800 may include: at least one processor 810, at least one network interface 820, a user interface 830, a memory 840, a water tank 850, a water pump 860, a first water level detection element 870, a second water level detection element 880 and at least one communication bus 890.
[0155] Wherein, the water tank 850 is used to store water.
[0156] Among them, the first water level detection element 870 is located at the first water point of the water tank 850, and the second water level detection element 880 is located at the second water point of the water tank 850. The height corresponding to the first water point (first water level) and the height corresponding to the second water point (second water level) can be set according to actual needs, and the embodiment of the present application does not limit this. The first water level detection element 870 is used to detect the height relationship between the current water level in the water tank 850 and the first water level, and the second water level detection element 880 is used to detect the height relationship between the current water level in the water tank 850 and the second water level; the second water level is lower than the first water level.
[0157] It can be understood that the above-mentioned first water level detection element 870 can be but not limited to a high float in the water tank 850, the above-mentioned second water level detection element 880 can be but not limited to a low float in the water tank 850, can be but not limited to a high float in the water tank 850, and the above-mentioned first water level detection element 870 and the second water level detection element 880 can be but not limited to using at least one method such as a reed switch, a Hall sensor, a capacitive sensor, etc. to respectively correspond to the detection of the height relationship between the current water level in the water tank 850 and the first water level and the second water level.
[0158] The water pump 860 is connected to the water tank 850 through a pipeline, and is used to pump water out of the water tank 850.
[0159] The communication bus 890 is used to realize the connection and communication between these components.
[0160] The network interface 820 may include but is not limited to a low-power Bluetooth module, a near field communication (NFC) module, a wireless fidelity (Wi-Fi) module, and the like.
[0161] The user interface 830 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 830 may also include a standard wired interface and a wireless interface.
[0162] Among them, the processor 810 may include one or more processing cores. The processor 810 uses various interfaces and lines to connect various parts of the entire drinking water device 800, and executes various functions and processes data of the drinking water device 800 by running or executing instructions, programs, code sets or instruction sets stored in the memory 840, and calling data stored in the memory 840. Optionally, the processor 810 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 810 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 810, but may be implemented separately through a chip.
[0163] The memory 840 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 840 includes a non-transitory computer-readable storage medium. The memory 840 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 840 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a statistical function, a flow rate calibration function, interval water volume calculation, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 840 may optionally be at least one storage device located away from the aforementioned processor 810. As Figure 8 As shown, the memory 840 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.
[0164] In some possible embodiments, Figure 8In the drinking water device 800 shown, the user interface 830 is mainly used to provide an input interface for the user and obtain the data input by the user; the drinking water device 800 can be Figure 7 The water pump flow rate self-calibration device 700 shown in the figure, and the processor 810 can be used to call the program instructions stored in the memory 840 and specifically perform the following operations:
[0165] The current accumulated working time corresponding to the water pump when the current water level of the water tank changes from the first water level to the second water level is counted; the second water level is lower than the first water level; and the current actual flow rate of the water pump is calibrated based on the current accumulated working time and the interval water volume corresponding to the first water level and the second water level in the water tank.
[0166] In some possible embodiments, after the processor 810 executes the statistics of the current accumulated working time corresponding to the water pump when the current water level of the water tank changes from the first water level to the second water level, it is also used to execute: when the water volume of the interval corresponding to the first water level and the second water level is in an unknown state, the water volume of the interval is determined based on the initial flow rate of the water pump and the current accumulated working time, and the water volume of the interval is marked as a known state; the initial flow rate is obtained by measuring the flow rate of the water pump in the drinking water device in a new machine state by a flow measurement device.
[0167] In some possible embodiments, before the processor 810 executes the determination of the interval water volume based on the initial flow rate of the water pump and the current accumulated working time, it is also used to execute: receiving the initial flow rate sent by the flow measurement device; and saving the initial flow rate in a database.
[0168] In some possible embodiments, when the cumulative usage time of the above-mentioned drinking water equipment is less than or equal to the preset time, the current actual flow rate of the above-mentioned water pump is the initial flow rate; the above-mentioned initial flow rate is obtained by measuring the flow rate of the above-mentioned water pump in the above-mentioned drinking water equipment in the new machine state by a flow measurement device; when the above-mentioned processor 810 executes the above-mentioned calibration of the current actual flow rate of the above-mentioned water pump based on the above-mentioned current cumulative working time and the interval water volume corresponding to the above-mentioned first water level and the above-mentioned second water level in the above-mentioned water tank, it is specifically used to execute: when the cumulative usage time of the above-mentioned drinking water equipment is greater than the above-mentioned preset time, determine the current flow rate value of the above-mentioned water pump based on the above-mentioned current cumulative working time and the interval water volume corresponding to the above-mentioned first water level and the above-mentioned second water level in the above-mentioned water tank; and update the current actual flow rate of the above-mentioned water pump to the above-mentioned current flow rate value.
[0169] In some possible embodiments, when the processor 810 executes the above-mentioned statistics of the current cumulative working time corresponding to the water pump when the current water level of the water tank changes from a first water level to a second water level, it is specifically used to execute: when it is detected that the current water level of the water tank changes from a state higher than or equal to the first water level to a state lower than the first water level, start counting the current cumulative working time of the water pump; when it is detected that the current water level changes from a state higher than or equal to the second water level to a state lower than the second water level, end counting the current cumulative working time of the water pump.
[0170] In some possible embodiments, the water tank includes a water inlet passage; the processor 810 executes the above-mentioned when it is detected that the current water level of the water tank changes from a state higher than or equal to the first water level to a state lower than the first water level, before starting to count the current accumulated working time of the water pump, and is further used to execute:
[0171] Detect whether the current water level of the water tank is higher than or equal to the first water level; if so, close the water inlet passage; if not, open the water inlet passage until it is detected that the current water level of the water tank is higher than or equal to the first water level and then close the water inlet passage.
[0172] In some possible embodiments, the processor 810 is further configured to execute:
[0173] During the statistical process of the above-mentioned current accumulated working time, the above-mentioned water inlet passage is controlled to remain in a closed state; when the above-mentioned current water level is lower than the above-mentioned second water level, the above-mentioned water inlet passage is opened until it is detected that the current water level of the above-mentioned water tank is higher than or equal to the above-mentioned first water level, and then the above-mentioned water inlet passage is closed.
[0174] In some possible embodiments, the processor 810 is further configured to execute:
[0175] Receive a water-taking instruction; in response to the water-taking instruction, control the water pump to operate when the current water level is higher than the second water level; control the water pump to stop operating when it is detected that the drinking water equipment meets a target condition; the target condition includes one of the following: the current water level is lower than the second water level, the cumulative water output of the water pump after the current water level changes from higher than or equal to the second water level to lower than the second water level reaches the target water output or the cumulative water output time reaches the target water output time.
[0176] In some possible embodiments, after executing the calibration of the current actual flow rate of the water pump based on the current accumulated working time and the water volume of the interval corresponding to the first water level and the second water level in the water tank, the processor 810 is further configured to execute:
[0177] The current water output of the drinking water equipment is calculated based on the current actual flow rate and the current working time of the water pump after calibration; or, the specified working time is determined based on the current actual flow rate and the specified water output of the water pump after calibration, and the water pump is controlled to work continuously for the specified working time and then stop working.
[0178] In some possible embodiments, when the processor 810 executes the above-mentioned statistics on the current cumulative working time corresponding to the water pump when the current water level of the water tank changes from the first water level to the second water level, it is specifically used to execute: periodically counting the current cumulative working time corresponding to the water pump when the current water level of the water tank changes from the first water level to the second water level; or, after receiving a flow rate calibration instruction, responding to the flow rate calibration instruction, counting the current cumulative working time corresponding to the water pump when the current water level of the water tank changes from the first water level to the second water level.
[0179] In some possible embodiments, a first water level detection element is provided at the first water level and a second water level detection element is provided at the second water level in the water tank; the first water level detection element is used to detect the height relationship between the current water level and the first water level, and the second water level detection element is used to detect the height relationship between the current water level and the second water level.
[0180] The embodiment of the present application also provides a computer storage medium, which stores instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes one or more steps in any of the above methods. If the components of the above water pump flow rate self-calibration device are implemented in the form of software functional units and sold or used as independent products, they can be stored in the storage medium.
[0181] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted by the computer-readable storage medium. The computer instructions can be transmitted from a website site, a computer, a server or a data center by wired, such as coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL), or wireless (such as infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium, eg, a digital versatile disc (DVD), or a semiconductor medium, eg, a solid state disk (SSD).
[0182] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes. In the absence of conflict, the technical features in this embodiment and the implementation scheme can be combined arbitrarily.
[0183] The embodiments described above are merely preferred embodiments of the present application and are not intended to limit the scope of the present application. Without departing from the design spirit of the present application, various modifications and improvements made to the technical solutions of the present application by ordinary technicians in this field should fall within the protection scope determined by the claims of the present application.
Claims
1. A water pump flow rate self-calibration method, characterized in that: The method is applied to a drinking water device, the drinking water device comprising a water tank and a water pump; the method comprises: Counting the current accumulated working time of the water pump when the current water level of the water tank changes from a first water level to a second water level; the second water level is lower than the first water level; The current actual flow rate of the water pump is calibrated based on the current accumulated working time and the water volume of the interval corresponding to the first water level and the second water level in the water tank.
2. The method according to claim 1, characterized in that After counting the current accumulated working time corresponding to the water pump during the process of the current water level of the water tank changing from the first water level to the second water level, the method further includes: When the water volume of the interval corresponding to the first water level and the second water level is in an unknown state, the water volume of the interval is determined based on the initial flow rate of the water pump and the current accumulated working time, and the water volume of the interval is marked as a known state; the initial flow rate is obtained by measuring the flow rate of the water pump in the drinking water equipment in a new machine state by a flow measurement device.
3. The method according to claim 2, characterized in that Before determining the interval water volume based on the initial flow rate of the water pump and the current accumulated working time, the method further includes: receiving the initial flow rate sent by the flow measurement device; The initial flow rate is saved in a database.
4. The method according to claim 1, characterized in that When the accumulated usage time of the drinking water device is less than or equal to the preset time, the current actual flow rate of the water pump is the initial flow rate; the initial flow rate is obtained by measuring the flow rate of the water pump in the drinking water device in a new state by a flow measurement device; The calibrating the current actual flow rate of the water pump based on the current accumulated working time and the water volume of the interval corresponding to the first water level and the second water level in the water tank includes: When the accumulated usage time of the drinking water device is greater than the preset time, determining the current flow rate value of the water pump based on the current accumulated working time and the water volume of the interval corresponding to the first water level and the second water level in the water tank; The current actual flow rate of the water pump is updated to the current flow rate value.
5. The method according to claim 1, characterized in that The counting of the current accumulated working time of the water pump corresponding to the process in which the current water level of the water tank changes from the first water level to the second water level includes: When it is detected that the current water level of the water tank changes from a state higher than or equal to the first water level to a state lower than the first water level, starting to count the current accumulated working time of the water pump; When it is detected that the current water level changes from a state higher than or equal to the second water level to a state lower than the second water level, counting of the current accumulated working time of the water pump ends.
6. The method according to claim 5, characterized in that The water tank includes a water inlet passage; When it is detected that the current water level of the water tank changes from a state higher than or equal to the first water level to a state lower than the first water level, before starting to count the current accumulated working time of the water pump, the method further includes: Detecting whether the current water level of the water tank is higher than or equal to the first water level; If yes, closing the water inlet passage; If not, the water inlet passage is opened until it is detected that the current water level of the water tank is higher than or equal to the first water level and then the water inlet passage is closed.
7. The method according to claim 6, characterized in that The method further comprises: During the statistical process of the current accumulated working time, the water inlet passage is controlled to remain in a closed state; When the current water level is lower than the second water level, the water inlet passage is opened, and the water inlet passage is closed after it is detected that the current water level of the water tank is higher than or equal to the first water level.
8. The method according to claim 1, characterized in that The method further comprises: Receive water taking instructions; In response to the water intake instruction, when the current water level is higher than the second water level, controlling the water pump to operate; When it is detected that the drinking water equipment meets the target condition, the water pump is controlled to stop working; the target condition includes one of the following: the current water level is lower than the second water level, the cumulative water output of the water pump after the current water level changes from higher than or equal to the second water level to lower than the second water level reaches the target water output or the cumulative water output time reaches the target water output time.
9. The method according to claim 1, characterized in that After calibrating the current actual flow rate of the water pump based on the current accumulated working time and the water volume of the interval corresponding to the first water level and the second water level in the water tank, the method further includes: Counting the current water output of the drinking water device according to the current actual flow rate and current working time of the water pump after calibration; or, The designated working time is determined according to the current actual flow rate and the designated water output of the water pump after calibration, and the water pump is controlled to stop working after continuously working for the designated working time.
10. The method according to claim 1, characterized in that The counting of the current accumulated working time of the water pump corresponding to the process in which the current water level of the water tank changes from the first water level to the second water level includes: Periodically counting the current accumulated working time of the water pump when the current water level of the water tank changes from the first water level to the second water level; or, After receiving the flow rate calibration instruction, in response to the flow rate calibration instruction, the current accumulated working time corresponding to the water pump during the process in which the current water level of the water tank changes from the first water level to the second water level is counted.
11. The method according to any one of claims 1 to 10, characterized in that: A first water level detection element is arranged at the first water level in the water tank, and a second water level detection element is arranged at the second water level; the first water level detection element is used to detect the height relationship between the current water level and the first water level, and the second water level detection element is used to detect the height relationship between the current water level and the second water level.
12. A water pump flow rate self-calibration device, characterized in that: The water pump flow rate self-calibration device is applied to drinking water equipment, and the drinking water equipment includes a water tank and a water pump; the water pump flow rate self-calibration device includes: A statistics module, used for counting the current accumulated working time of the water pump corresponding to the process in which the current water level of the water tank changes from a first water level to a second water level; the second water level is lower than the first water level; A calibration module is used to calibrate the current actual flow rate of the water pump based on the current accumulated working time and the water volume of the interval corresponding to the first water level and the second water level in the water tank.
13. A drinking water device, characterized in that: The drinking water equipment comprises a water tank, a water pump, a processor and a memory; wherein: The water tank is used to store water; The water pump is connected to the water tank through a pipeline and is used to pump water out of the water tank; The memory is used to store executable program code; The processor is connected to the memory, the water tank and the water pump, and runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method according to any one of claims 1-11.
14. A computer storage medium, characterized in that: The computer storage medium stores a plurality of instructions, which are suitable for being loaded by a processor and executing the method steps according to any one of claims 1-11.