Liquid level measuring method, device, system and water purifier

CN122793239APending Publication Date: 2026-09-22NINGBO FOTILE KITCHEN WARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510325620.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-19
Publication Date
2026-09-22

AI Technical Summary

Technical Problem

[0003]本申请实施例提供了一种液位测量方法、装置、系统及净水机,以至少解决现有技术中无法做到对净水机的热水箱进行无级液位测量的问题,本公开的技术方案如下:

Benefits of technology

[0063] According to a sixth aspect of the present disclosure, a computer program is provided that, when executed by a processor, implements the liquid level measurement method of the first aspect described above.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122793239A_ABST
    Figure CN122793239A_ABST
Patent Text Reader

Abstract

This application discloses a liquid level measurement method, device, system, and water purifier. The method first responds to a liquid level measurement command and acquires the current liquid level signal value of a liquid level measuring element. If the current liquid level signal value indicates that the liquid level measuring element does not match a first preset position, a driving element drives the liquid level measuring element to move to the first preset position. When it is determined that the liquid level measuring element is at the first preset position, the driving element drives the liquid level measuring element to move to a second preset position at a first movement speed, and records the movement time of the liquid level measuring element from the first preset position to the second preset position. The first preset position is a preset position at the bottom of the water tank; the second preset position indicates the current liquid level position of the water in the water tank. Based on the movement time and the first movement speed, the liquid level height value of the water in the water tank is calculated. This application achieves stepless liquid level measurement of the water tank.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of water purifier technology, and in particular to a liquid level measurement method, device, system and water purifier. Background Technology

[0002] Currently, most water purifiers use a fixed-length metal probe for single-point liquid level measurement in their hot water tanks. This method can only detect liquid levels at fixed heights, such as low, medium, and high levels, and cannot achieve stepless liquid level measurement. Summary of the Invention

[0003] This application provides a liquid level measurement method, device, system, and water purifier to at least solve the problem in the prior art that it is impossible to perform stepless liquid level measurement on the hot water tank of a water purifier. The technical solution disclosed herein is as follows:

[0004] According to a first aspect of the embodiments of this application, a method is provided for use in a water tank, the water tank being provided with a liquid level signal measurement module, the liquid level signal measurement module including a driving component and a liquid level measuring component, the driving component being used to drive the liquid level measuring component to move in a vertical direction; the method includes:

[0005] In response to a liquid level measurement command, the current liquid level signal value of the liquid level measuring device is acquired;

[0006] If the current liquid level signal value indicates that the liquid level measuring element does not match the first preset position, the driving element drives the liquid level measuring element to move to the first preset position; the first preset position is the preset position at the bottom of the water tank.

[0007] When it is determined that the liquid level measuring element is located at the first preset position, the driving element drives the liquid level measuring element to move to the second preset position at a first movement speed, and records the movement time of the liquid level measuring element from the first preset position to the second preset position; the second preset position indicates the current liquid level position of the water in the water tank;

[0008] The water level in the tank is calculated based on the motion duration and the first motion rate.

[0009] In one exemplary embodiment, the driving component is a motor, and the liquid level measuring component is connected to the motor shaft via a flexible connector; the step of driving the liquid level measuring component to move to a second preset position at a first speed includes:

[0010] The operating parameters of the motor are determined by calculation based on the first motion rate and the circumference of the shaft; the operating parameters indicate the number of rotations of the shaft per unit time.

[0011] The motor drives the liquid level measuring element to move to the second preset position according to the operating parameters.

[0012] In one exemplary embodiment, the calculation of the water level height in the water tank based on the movement duration and the first movement speed includes:

[0013] Integrating the first motion rate over the motion duration yields the motion distance of the liquid level measuring element over the motion duration.

[0014] Based on the distance traveled, the water level in the tank is determined.

[0015] In one exemplary embodiment, after obtaining the water level in the water tank, the method further includes:

[0016] Determine whether the liquid level height value is greater than the first preset liquid level height value;

[0017] If so, the first motion rate is subject to a first regulation, the first regulation being used to increase the first motion rate;

[0018] If not, a second adjustment is made to the first motion rate, the second adjustment being used to reduce the first motion rate.

[0019] In one exemplary embodiment, after obtaining the water level in the water tank, the method further includes:

[0020] Determine whether the liquid level height value is less than the second preset liquid level height value;

[0021] If so, it indicates that the water tank is low on water.

[0022] In one exemplary embodiment, after obtaining the water level in the water tank, the method further includes:

[0023] Record the liquid level height value and mark the recording time corresponding to the liquid level height value;

[0024] The liquid level height change value is calculated based on the last two recorded liquid level height values.

[0025] The time interval is calculated based on the recording time corresponding to the last two recorded liquid level height values;

[0026] The liquid level drop rate is calculated based on the liquid level height change value and the time interval.

[0027] Determine whether the liquid level drop rate is greater than the preset liquid level drop rate.

[0028] If so, it indicates that the water tank is leaking.

[0029] In one exemplary embodiment, the water tank is equipped with a heating module for heating the water in the tank; after obtaining the water level in the tank, the method further includes:

[0030] Determine whether the liquid level height value is less than the third preset liquid level height value;

[0031] If so, stop the heating module from heating.

[0032] According to a second aspect of the present disclosure, a liquid level measuring device is provided, applied to a water tank. The device includes a liquid level signal measuring module and a controller. The liquid level signal measuring module is disposed on the water tank. The liquid level signal measuring module includes a driving component and a liquid level measuring component. The driving component is used to drive the liquid level measuring component to move in a vertical direction. The controller includes:

[0033] The current liquid level signal value acquisition module is used to acquire the current liquid level signal value of the liquid level measuring device in response to the liquid level measurement command;

[0034] The first position control module is used to drive the liquid level measuring element to move to the first preset position via the driving element when the current liquid level signal value indicates that the liquid level measuring element does not match the first preset position; the first preset position is the bottom preset position of the water tank.

[0035] The second position control module is used to drive the liquid level measuring element to move to the second preset position at a first motion rate through the driving element when it is determined that the liquid level measuring element is located at the first preset position, and to record the motion time of the liquid level measuring element from the first preset position to the second preset position; the second preset position indicates the current liquid level position of the water in the water tank;

[0036] The liquid level height calculation module is used to calculate the liquid level height of the water in the water tank based on the movement duration and the first movement speed.

[0037] In one exemplary embodiment, the driving component is a motor, and the liquid level measuring component is connected to the motor shaft via a flexible connector; the second position control module includes:

[0038] The working parameter determination module is used to calculate and determine the working parameters of the motor based on the first motion rate and the circumference of the rotating shaft; the working parameters indicate the number of rotations of the rotating shaft per unit time.

[0039] The motor control module is used to drive the liquid level measuring element to move to the second preset position according to the operating parameters via the motor.

[0040] In one exemplary embodiment, the liquid level height calculation module includes:

[0041] The motion distance calculation module is used to integrate the first motion rate over the motion duration to obtain the motion distance of the liquid level measuring device over the motion duration.

[0042] The liquid level height determination module is used to determine the liquid level height of the water in the water tank based on the movement distance.

[0043] In one exemplary embodiment, the controller further includes:

[0044] The first preset liquid level height value determination module is used to determine whether the liquid level height value is greater than the first preset liquid level height value;

[0045] The first control module is used to perform a first control on the first movement rate when the liquid level height value is greater than the first preset liquid level height value, and the first control is used to increase the first movement rate.

[0046] The first control module is used to perform a second control on the first movement rate when the liquid level height value is less than or equal to a first preset liquid level height value, wherein the second control is used to reduce the first movement rate.

[0047] In one exemplary embodiment, the controller further includes:

[0048] The second preset liquid level height value judgment module is used to determine whether the liquid level height value is less than the second preset liquid level height value;

[0049] The water tank is short of water indicator module, which is used to indicate that the water tank is short of water when the liquid level is less than a second preset liquid level.

[0050] In one exemplary embodiment, the controller further includes:

[0051] A liquid level height value recording module is used to record the liquid level height value and mark the recording time corresponding to the liquid level height value;

[0052] The liquid level height change value is calculated based on the last two recorded liquid level height values ​​to obtain the liquid level height change value;

[0053] The time interval calculation module is used to calculate the time interval based on the recording time corresponding to the last two recorded liquid level height values;

[0054] The liquid level drop rate calculation module is used to calculate the liquid level drop rate based on the liquid level change value and the time interval;

[0055] A preset liquid level drop rate determination module is used to determine whether the liquid level drop rate is greater than the preset liquid level drop rate.

[0056] A water tank leakage indicator module is used to indicate that the water tank is leaking.

[0057] In one exemplary embodiment, the device includes a heating module, which is mounted on the water tank and is used to heat the water in the tank; the controller further includes:

[0058] The third preset liquid level height value judgment module is used to determine whether the liquid level height value is less than the third preset liquid level height value;

[0059] The heating module is stopped when the liquid level is less than a third preset liquid level.

[0060] According to a third aspect of the present disclosure, a liquid level measurement system is provided, the system comprising a water tank and a liquid level measurement device as described in the second aspect above.

[0061] According to a fourth aspect of the present disclosure, a water purifier is provided, the water purifier including a liquid level measurement system according to the third aspect described above.

[0062] According to a fifth aspect of the present disclosure, a computer-readable storage medium is provided, wherein at least one instruction or at least one program is stored therein, the at least one instruction or the at least one program being loaded and executed by a processor to implement the liquid level measurement method of the first aspect described above.

[0063] According to a sixth aspect of the present disclosure, a computer program is provided that, when executed by a processor, implements the liquid level measurement method of the first aspect described above.

[0064] This embodiment of the application includes a liquid level signal measurement module on a water tank. The module comprises a drive unit and a liquid level measuring component. The drive unit drives the liquid level measuring component to move vertically. In response to a liquid level measurement command, the module acquires the current liquid level signal value of the measuring component. If the current liquid level signal value indicates that the measuring component does not match a first preset position, the drive unit drives the measuring component to move to the first preset position. When the measuring component is determined to be at the first preset position, the drive unit drives the measuring component to move to a second preset position at a first movement speed, and records the movement time from the first preset position to the second preset position. The first preset position is the bottom preset position of the water tank, and the second preset position indicates the current water level position in the water tank. Based on the movement time and the first movement speed, the water level height in the water tank is calculated, thereby achieving stepless liquid level measurement of the water tank. Attached Figure Description

[0065] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0066] Figure 1 This is a schematic flowchart of a liquid level measurement method provided in an embodiment of this application;

[0067] Figure 2 This is a schematic diagram of the structure of a hot water tank and a partial liquid level measuring device provided in an embodiment of this application;

[0068] Figure 3 This is a structural block diagram of a liquid level measuring device provided in an embodiment of this application. Detailed Implementation

[0069] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0070] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.

[0071] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0072] It is understood that in the specific embodiments of this application, data such as user information are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0073] This application relates to the field of water purifier technology. Traditional water purifiers measure the liquid level in the hot water tank using a fixed-length metal probe at a single point, resulting in a fixed height, such as low, medium, or high water level, which cannot achieve stepless level measurement. Cold water tanks are generally plastic tanks, allowing for continuous level measurement using capacitive methods. However, hot water tanks are stainless steel tanks, making capacitive measurement impossible. Therefore, stepless level measurement methods used for cold water tanks cannot be applied to hot water tanks. Commercially available continuous level measurement methods based on tank weight suffer from various problems, including difficult installation, large errors, high costs, and susceptibility to damage. Laser and ultrasonic level measurement methods are easily interfered with by the large amount of water vapor inside the hot water tank, resulting in significant interference, large errors, and inaccurate measurements. This application addresses the problem of inability to achieve stepless level measurement in the hot water tank of a water purifier in the prior art. It provides a level measurement method that determines the position of the level measuring device by the level signal value. When the level measuring device is not located at a first preset position, a drive unit moves the level measuring device to a second preset position at a first movement speed. When the level measuring device is determined to be located at the first preset position, the drive unit moves the level measuring device to a second preset position at the first movement speed, and the movement time of the level measuring device from the first preset position to the second preset position is recorded. The first preset position is the bottom preset position of the water tank, and the second preset position indicates the current water level in the water tank. Based on the movement time and the first movement speed, the water level height value in the water tank is calculated, thereby achieving accurate stepless level measurement of the water tank.

[0074] The following describes a specific embodiment of a liquid level measurement method provided in this application. Please refer to [link / reference]. Figure 1 The diagram illustrates a flow chart of a liquid level measurement method provided in this application. It should be noted that while this specification provides the operational steps of the method as described in the embodiments or flowcharts, more or fewer operational steps may be included based on conventional or non-inventive methods. The order of steps listed in the embodiments is merely one possible execution order among many and does not represent the only possible execution order. In actual system or product execution, the method can be executed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment) as shown in the embodiments or accompanying drawings. Specifically, this method is applied to a water tank equipped with a liquid level signal measurement module, which includes a driving component and a liquid level measuring component. The driving component drives the liquid level measuring component to move vertically. The method may include the following steps:

[0075] Step S1: In response to the liquid level measurement command, acquire the current liquid level signal value of the liquid level measuring device.

[0076] Specifically, the liquid level measuring element can be a metal measuring element, and its shape can be spherical, cylindrical, prismatic, or other irregular. The size and shape of the liquid level measuring element can be set according to actual needs in specific implementation.

[0077] Step S2: If the current liquid level signal value indicates that the liquid level measuring element does not match the first preset position, drive the liquid level measuring element to move to the first preset position through the driving element; the first preset position is the preset position at the bottom of the water tank.

[0078] Specifically, when the current liquid level signal value is not equal to the first target liquid level signal value of the liquid level measuring device at the first preset position, that is, the current liquid level signal value indicates that the liquid level measuring device does not match the first preset position.

[0079] Step S3: When it is determined that the liquid level measuring element is located at the first preset position, the liquid level measuring element is driven to move to the second preset position by the driving element at the first movement speed, and the movement time of the liquid level measuring element from the first preset position to the second preset position is recorded; the second preset position indicates the current liquid level position of the water in the water tank.

[0080] Specifically, when the current liquid level signal value equals the first target liquid level signal value of the liquid level measuring element at the first preset position, it is determined that the liquid level measuring element is located at the first preset position. When the current liquid level signal value equals the second target liquid level signal value of the liquid level measuring element at the second preset position, it is determined that the liquid level measuring element has moved to the second preset position. After determining that the liquid level measuring element has moved to the second preset position, the driving component can be stopped from driving the liquid level measuring element, waiting for the next liquid level measurement command; alternatively, the driving component can be used to drive the liquid level measuring element to move to the first preset position at a second movement speed, waiting for the next liquid level measurement command.

[0081] In some exemplary embodiments, the driving component is a motor, and the liquid level measuring component is connected to the motor shaft via a flexible connector; driving the liquid level measuring component to move to a second preset position according to a first motion speed includes:

[0082] The operating parameters of the motor are determined by calculation based on the first motion speed and the circumference of the shaft; the operating parameters indicate the number of rotations of the shaft per unit time.

[0083] The motor drives the liquid level measuring device to move to the second preset position according to the working parameters.

[0084] Specifically, the movement rate of the motor-driven liquid level measuring device can be calculated by multiplying the number of rotations of the motor shaft per unit time by the circumference of the motor shaft. This allows the motor to be controlled to move the liquid level measuring device to the second preset position at the first movement rate by controlling the motor's operating parameters. Using a motor as the driving component is simple to install, low in cost, and not easily damaged.

[0085] Step S4: Calculate the water level in the tank based on the motion duration and the first motion speed.

[0086] Specifically, the first motion rate can be a constant value or a value that varies with time, and can be set according to actual needs in specific implementation.

[0087] In some exemplary embodiments, the water level height value in the tank is calculated based on the motion duration and the first motion rate, including:

[0088] Integrating the first motion rate over the motion duration yields the distance traveled by the level measuring device over the motion duration.

[0089] The water level in the tank is determined based on the distance traveled.

[0090] Specifically, when the first movement speed is constant, the product of the movement time and the first movement speed can be directly calculated to obtain the movement distance of the level measuring device within the movement time, and this movement distance can be used as the water level height in the tank. When the first movement speed is a value that varies with time, the movement distance of the level measuring device within the movement time can be obtained by integrating the first movement speed over the movement time, thereby determining the water level height in the tank. This calculation is simple and the results are accurate.

[0091] In some exemplary embodiments, after obtaining the water level in the tank, the method further includes:

[0092] Determine whether the liquid level height value is greater than the first preset liquid level height value;

[0093] If so, the first motion rate is subject to a first regulation, which is used to increase the first motion rate;

[0094] If not, a second regulation is applied to the first motion rate, which is used to reduce the first motion rate.

[0095] Specifically, by comparing the liquid level height value with the first preset liquid level height value, the first movement speed is adjusted. When it is determined that the liquid level height value is too high, the first movement speed is increased to improve the measurement speed of the next liquid level measurement. When it is determined that the liquid level height value is too low, the first movement speed is decreased to reduce the error caused by the measurement or transmission delay of the liquid level measurement signal during the next liquid level measurement, thereby improving the accuracy of liquid level measurement.

[0096] In some exemplary embodiments, after obtaining the water level in the tank, the method further includes:

[0097] Determine whether the liquid level height is less than the second preset liquid level height value;

[0098] If so, it indicates that the water tank is low on water.

[0099] Specifically, the second preset liquid level height value is set as needed in the specific implementation. By determining that the liquid level height value is less than the second preset liquid level height value, the purpose of indicating that the water tank is low on water is achieved. It should be noted that the indication method can be through a display or indicator light, or it can be sent to the user's mobile client via remote communication to remind the user, or other implementation methods that can serve as indicators to remind the user of water shortage.

[0100] In some exemplary embodiments, after obtaining the water level in the tank, the method further includes:

[0101] Record the liquid level height value and mark the recording time corresponding to the liquid level height value;

[0102] The change in liquid level height is calculated based on the last two recorded liquid level height values.

[0103] The time interval is calculated based on the recording time corresponding to the last two recorded liquid level height values;

[0104] The rate of drop in liquid level is calculated based on the change in liquid level height and the time interval.

[0105] Determine whether the liquid level drop rate is greater than the preset liquid level drop rate.

[0106] If so, it indicates a leak in the water tank.

[0107] Specifically, the preset liquid level drop rate can be set according to actual conditions. It is calculated based on recorded liquid level values ​​and the corresponding recording time. When this drop rate exceeds the preset value, it indicates a leak in the water tank, thus reminding the user to check the tank and perform maintenance and repairs. It should be noted that the indication can be displayed on a monitor or indicator light, sent to the user's mobile client via remote communication, or other methods that can serve as indicators to remind the user of water shortages.

[0108] In some exemplary embodiments, a heating module is provided on the water tank for heating the water in the tank; after obtaining the water level in the tank, the method further includes:

[0109] Determine whether the liquid level height is less than the third preset liquid level height value;

[0110] If so, stop the heating module from heating.

[0111] Specifically, the third preset liquid level height value can be equal to, less than or greater than, the second preset liquid level height value. In specific implementation, it can be set according to actual needs. By stopping the heating module when the liquid level height value is less than the third preset liquid level height value, dry burning is avoided.

[0112] The following describes a specific embodiment of the liquid level measurement method provided in this application. For details, please refer to [link / reference needed]. Figure 2 , Figure 2 This is a schematic diagram of a hot water tank and a partial liquid level measuring device. The diagram includes a motor, a flexible connector, a liquid level measuring element, a heating module, and a water tank (stainless steel tank). The heating module is located at the bottom of the water tank; the motor is located above the water tank; the liquid level measuring element is a stainless steel ball, unaffected by water vapor inside the hot water tank during liquid level measurement. This liquid level measuring element is connected to the motor shaft via a flexible connector, which is a metal rope. Additionally, a probe wire (not shown in the diagram), typically a conductor, is included. One end of the probe wire is electrically connected to a controller (not shown in the diagram), and the other end is electrically connected to the metal rope.

[0113] In response to the liquid level measurement command, the current liquid level signal value of the liquid level measuring device is acquired. The current liquid level signal value (AD value of 900) indicates a mismatch between the liquid level measuring device and the first preset position (where the AD value measured by the liquid level measuring device at the first preset position is 0). The device is then driven to move to the first preset position via a drive mechanism. The first preset position is the bottom preset liquid level of the water tank. When the liquid level measuring device is determined to be at the first preset position, the first measurement begins: the device moves at a first speed (1 cm / s, where the motor's operating parameters are 1 rp) via the drive mechanism. The system drives the level measuring device (with a motor shaft circumference of 1 cm) to move to the second preset position at a speed of m / s, and records the movement time (10 s) from the first preset position to the second preset position. The second preset position indicates the current water level in the tank (the AD value measured by the level measuring device at the second preset position is 1023). Based on the movement time and the first movement speed, the water level height (10 cm) in the tank is calculated and recorded, with the recording time marked as 10:00:00. The water level height of 10 cm is less than the first preset water level height of 12 cm. In the next (second) water level measurement, the first movement speed is reduced to 0.5 cm / s, while the water level height of 10 cm is greater than the second preset water level height of 5 cm and the third preset water level height of 5 cm. Therefore, there is no need to display a water shortage or stop heating. During the second measurement, the initial movement speed was 0.5 cm / s, and the movement duration was 8 seconds, resulting in a water level of 4 cm in the tank. The recorded time was 10:01:00. This water level of 4 cm was lower than both the second and third preset water level values ​​of 5 cm, indicating a water shortage and stopping heating. In the third water level measurement, the initial movement speed decreased to 0.4 cm / s. Furthermore, based on the water level values ​​recorded from the two measurements (first and second) and the recorded times, the water level drop rate was determined to be 6 cm / min, exceeding the preset drop rate of 5 cm / min, indicating a water tank leak and prompting the user to check for leaks.

[0114] As can be seen from the above technical solutions of the embodiments of this application, the embodiments of this application provide a liquid level signal measurement module on the water tank. The liquid level signal measurement module includes a driving component and a liquid level measuring component. The driving component is used to drive the liquid level measuring component to move in the vertical direction. By responding to the liquid level measurement command, the current liquid level signal value of the liquid level measuring component is obtained. When the current liquid level signal value indicates that the liquid level measuring component does not match the first preset position, the driving component drives the liquid level measuring component to move to the first preset position. The first preset position is the bottom preset position of the water tank. When it is determined that the liquid level measuring component is located at the first preset position, the driving component drives the liquid level measuring component to move to the second preset position at a first movement speed, and records the movement time of the liquid level measuring component from the first preset position to the second preset position. The second preset position indicates the current liquid level position of the water in the water tank. Finally, the liquid level height value of the water in the water tank is calculated based on the movement time and the first movement speed, thereby realizing stepless liquid level measurement of the water tank.

[0115] This application also provides a liquid level measuring device for use in water tanks. Figure 3 This is a structural block diagram of a liquid level measuring device, such as... Figure 3 As shown, the liquid level measuring device 3000 includes a liquid level signal measuring module 3100 and a controller 3200. The liquid level signal measuring module 3100 is provided on the water tank. The liquid level signal measuring module 3100 includes a driving component and a liquid level measuring component. The driving component is used to drive the liquid level measuring component to move in the vertical direction. The controller 3200 includes:

[0116] The current liquid level signal value acquisition module 3210 is used to acquire the current liquid level signal value of the liquid level measuring device in response to the liquid level measurement command;

[0117] The first position control module 3220 is used to drive the liquid level measuring element to move to the first preset position via a drive element when the current liquid level signal value indicates that the liquid level measuring element does not match the first preset position; the first preset position is the bottom preset position of the water tank.

[0118] The second position control module 3230 is used to drive the liquid level measuring element to move to the second preset position at a first motion rate through a drive element when it is determined that the liquid level measuring element is at the first preset position, and to record the motion time of the liquid level measuring element from the first preset position to the second preset position; the second preset position indicates the current liquid level position of the water in the water tank;

[0119] The liquid level height calculation module 3240 is used to calculate the liquid level height of the water in the tank based on the motion duration and the first motion speed.

[0120] In one exemplary embodiment, the driving component is a motor, and the liquid level measuring component is connected to the motor shaft via a flexible connector; the second position control module 3230 includes:

[0121] The working parameter determination module is used to calculate and determine the working parameters of the motor based on the first motion speed and the circumference of the shaft; the working parameters indicate the number of rotations of the shaft per unit time.

[0122] The motor control module is used to drive the liquid level measuring element to move to the second preset position by means of a motor according to the working parameters.

[0123] In one exemplary embodiment, the liquid level height calculation module 3240 includes:

[0124] The motion distance calculation module is used to integrate the first motion rate over the motion duration to obtain the motion distance of the liquid level measuring device over the motion duration.

[0125] The liquid level height determination module is used to determine the liquid level height of the water in the tank based on the movement distance.

[0126] In one exemplary embodiment, the controller 3200 further includes:

[0127] The first preset liquid level height value judgment module is used to determine whether the liquid level height value is greater than the first preset liquid level height value;

[0128] The first control module is used to control the first movement rate when the liquid level height value is greater than the first preset liquid level height value. The first control is used to increase the first movement rate.

[0129] The first control module is used to perform a second control on the first movement rate when the liquid level height value is less than or equal to the first preset liquid level height value. The second control is used to reduce the first movement rate.

[0130] In one exemplary embodiment, the controller 3200 further includes:

[0131] The second preset liquid level height value judgment module is used to determine whether the liquid level height value is less than the second preset liquid level height value;

[0132] The water tank low water indicator module is used to indicate that the water tank is low when the liquid level is lower than the second preset liquid level.

[0133] In one exemplary embodiment, the controller 3200 further includes:

[0134] The liquid level height value recording module is used to record the liquid level height value and mark the recording time corresponding to the liquid level height value;

[0135] The liquid level height change value is calculated based on the last two recorded liquid level height values ​​to obtain the liquid level height change value;

[0136] The time interval calculation module is used to calculate the time interval based on the recording time corresponding to the last two recorded liquid level height values;

[0137] The liquid level drop rate calculation module is used to calculate the liquid level drop rate based on the liquid level change value and time interval.

[0138] The preset liquid level drop rate judgment module is used to determine whether the liquid level drop rate is greater than the preset liquid level drop rate.

[0139] Water tank leakage indicator module, used to indicate water tank leakage.

[0140] In one exemplary embodiment, the device 3000 includes a heating module, which is mounted on a water tank and is used to heat the water in the tank; the controller 3200 further includes:

[0141] The third preset liquid level height value judgment module is used to determine whether the liquid level height value is less than the third preset liquid level height value;

[0142] The heating module is stopped when the liquid level is lower than the third preset liquid level.

[0143] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0144] This application also provides a liquid level measurement system, which includes a water tank and any of the liquid level measuring devices described above. The water tank is equipped with a liquid level signal measurement module, which includes a driving component and a liquid level measuring component. The driving component drives the liquid level measuring component to move vertically, and the liquid level measuring component measures the liquid level signal value. A heating module may also be installed at the bottom of the water tank to heat the water in the tank. This application does not specifically limit the shape, size, or material of the water tank; these can be set as needed in specific implementations. Conventional water tank manufacturing processes in the art can be used, and the specific manufacturing processes are well-known in the water tank field and will not be elaborated here.

[0145] This application also provides a water purifier, which includes any of the above-mentioned liquid level measurement systems. This application does not specifically limit the shape, size, material, or specific structure of the water purifier; these can be set as needed in specific implementations. The water purifier may also include an inlet for connecting to an external water source, an outlet for providing purified water, a wastewater discharge outlet for discharging wastewater generated by the water purifier, a water purification device for purifying the water entering the water purifier, a water quality monitoring device for monitoring the water quality of the purified water, and a casing, among other structures. This application does not have special requirements for the specific structure and manufacturing process of the water purifier; conventional water purifier manufacturing processes in the art can be used. Specific manufacturing processes are well-known in the field of water purifiers and will not be elaborated here.

[0146] This application also provides a computer-readable storage medium storing at least one instruction or at least one program, wherein the at least one instruction or at least one program is loaded and executed by a processor to implement any of the liquid level measurement methods provided in the above method embodiments.

[0147] Optionally, in the embodiments of this application, the above-mentioned storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0148] This application also provides a computer program that, when executed by a processor, implements any of the liquid level measurement methods provided in the above-described method embodiments.

[0149] It should be noted that the order of the embodiments described above is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, specific embodiments have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than that shown in the embodiments and still achieve the desired result. Additionally, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0150] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the apparatus embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0151] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0152] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A liquid level measurement method, applied to a water tank, characterized in that, The water tank is equipped with a liquid level signal measurement module, which includes a driving component and a liquid level measuring component. The driving component is used to drive the liquid level measuring component to move in the vertical direction. The method includes: In response to a liquid level measurement command, the current liquid level signal value of the liquid level measuring device is acquired; If the current liquid level signal value indicates that the liquid level measuring element does not match the first preset position, the driving element drives the liquid level measuring element to move to the first preset position; the first preset position is the preset position at the bottom of the water tank. When it is determined that the liquid level measuring element is located at the first preset position, the driving element drives the liquid level measuring element to move to the second preset position at a first movement speed, and records the movement time of the liquid level measuring element from the first preset position to the second preset position; the second preset position indicates the current liquid level position of the water in the water tank; The water level in the tank is calculated based on the motion duration and the first motion rate.

2. The liquid level measurement method according to claim 1, characterized in that, The driving component is a motor, and the liquid level measuring component is connected to the motor shaft via a flexible connector; the step of driving the liquid level measuring component to move to the second preset position at a first speed includes: The operating parameters of the motor are determined by calculation based on the first motion rate and the circumference of the shaft; the operating parameters indicate the number of rotations of the shaft per unit time. The motor drives the liquid level measuring element to move to the second preset position according to the operating parameters.

3. The liquid level measurement method according to claim 1, characterized in that, The calculation of the water level height in the water tank based on the motion duration and the first motion speed includes: Integrating the first motion rate over the motion duration yields the motion distance of the liquid level measuring element over the motion duration. Based on the distance traveled, the water level in the tank is determined.

4. The liquid level measurement method according to claim 1, characterized in that, After obtaining the water level in the water tank, the method further includes: Determine whether the liquid level height value is greater than the first preset liquid level height value; If so, the first motion rate is subject to a first regulation, the first regulation being used to increase the first motion rate; If not, a second adjustment is made to the first motion rate, the second adjustment being used to reduce the first motion rate.

5. The liquid level measurement method according to claim 1, characterized in that, After obtaining the water level in the water tank, the method further includes: Determine whether the liquid level height value is less than the second preset liquid level height value; If so, it indicates that the water tank is low on water.

6. The liquid level measurement method according to claim 1, characterized in that, After obtaining the water level in the water tank, the method further includes: Record the liquid level height value and mark the recording time corresponding to the liquid level height value; The liquid level height change value is calculated based on the last two recorded liquid level height values. The time interval is calculated based on the recording time corresponding to the last two recorded liquid level height values; The liquid level drop rate is calculated based on the liquid level height change value and the time interval. Determine whether the liquid level drop rate is greater than the preset liquid level drop rate. If so, it indicates that the water tank is leaking.

7. The liquid level measurement method according to claim 1, characterized in that, The water tank is equipped with a heating module for heating the water in the tank; after obtaining the water level in the tank, the method further includes: Determine whether the liquid level height value is less than the third preset liquid level height value; If so, stop the heating module from heating.

8. A liquid level measuring device, applied to a water tank, characterized in that, The device includes a liquid level signal measurement module and a controller. The liquid level signal measurement module is mounted on the water tank. The liquid level signal measurement module includes a drive component and a liquid level measuring component. The drive component is used to drive the liquid level measuring component to move in the vertical direction. The controller includes: The current liquid level signal value acquisition module is used to acquire the current liquid level signal value of the liquid level measuring device in response to the liquid level measurement command; The first position control module is used to drive the liquid level measuring element to move to the first preset position via the driving element when the current liquid level signal value indicates that the liquid level measuring element does not match the first preset position; the first preset position is the bottom preset position of the water tank. The second position control module is used to drive the liquid level measuring element to move to the second preset position at a first motion rate through the driving element when it is determined that the liquid level measuring element is located at the first preset position, and to record the motion time of the liquid level measuring element from the first preset position to the second preset position; the second preset position indicates the current liquid level position of the water in the water tank; The liquid level height calculation module is used to calculate the liquid level height of the water in the water tank based on the movement duration and the first movement speed.

9. A liquid level measurement system, characterized in that, The system includes a water tank and a liquid level measuring device as described in claim 8.

10. A water purifier, characterized in that, The water purifier includes a liquid level measurement system as described in claim 9.