A control method and device of a water purifier, an electronic device, and a storage medium

By combining a pressurization device and a burst-fire action with Hall sensor detection, the problem of inaccurate liquid level detection in water purifier floats during long-term use has been solved, improving stability and safety and reducing maintenance costs.

CN118745012BActive Publication Date: 2026-02-10NINGBO FOTILE KITCHEN WARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410795021.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2026-02-10
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

In water purifiers, the float can easily get stuck on the float fixing rod due to dirt or ice, leading to inaccurate liquid level detection, posing a safety hazard, and conventional solutions are costly.

Method used

The pressure of the water inlet valve is increased by the booster device, which controls the inlet valve to perform a puncture action, causing the water in the purified water container to slosh, which in turn causes the float to sway relative to the fixed rod. Combined with the Hall sensor to detect the position of the float, the accuracy of the liquid level is ensured, and a float maintenance command is triggered when necessary.

Benefits of technology

This improves the stability and reliability of the water purifier float, reduces maintenance costs, and enhances safety during use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118745012B_ABST
    Figure CN118745012B_ABST
Patent Text Reader

Abstract

The application discloses a water purifier control method and device, electronic equipment and storage medium. The water purifier control method can be applied to the technical field of kitchen equipment. The water purifier comprises a water purifying container and a water inlet end. A float fixing rod is vertically arranged in the water purifying container. A float is sleeved on the float fixing rod. The water inlet end is provided with a booster device and a water inlet valve. The method comprises the following steps: controlling the booster device to enter a working state; controlling the water inlet valve to perform a point injection action, so that the water in the water purifying container shakes to drive the float to shake relative to the float fixing rod; obtaining a vertical distance between the float and the bottom of the water purifying container and a target distance threshold. The target distance threshold indicates the water level in the water purifying container. When the vertical distance does not meet the target distance threshold, the water inlet valve is controlled to perform a point injection action until the vertical distance meets the target distance threshold, and the control of the water inlet valve is ended. The application solves the problems of stability and reliability of the float of the water purifier in long-term use.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of kitchen equipment, and in particular to a control method and device for a water purifier, an electronic device, and a storage medium. BACKGROUND

[0002] With the improvement of people's living standards, the pursuit of high-quality life is also increasing, among which the safety and health of drinking water have become the focus of attention. As a device for providing safe drinking water, the water purifier triggers the relevant mechanism to start the water making process when the liquid level drops, and closes the water making process when the liquid level rises, thereby realizing the automatic control of the liquid level and the stable supply of drinking water. Therefore, the liquid level control function of the water purifier is particularly important.

[0003] As an important means of liquid level control, the float technology drives the float to move up and down through the gap cooperation between the float and the float fixing rod when the liquid level has up and down floating, thereby realizing liquid level detection. However, after long-term use, the dirt or ice on the float rod causes the float to be easily stuck on the float fixing rod, which leads to the fact that the float cannot accurately express the current liquid level, and there is a risk of water overflow, which exists a safety hazard. The conventional solution is to regularly perform manual replacement of the float mechanism by after-sales personnel, which is high in cost. SUMMARY

[0004] In order to solve the problems of the prior art, the embodiments of the present application provide a control method and device for a water purifier, an electronic device, and a storage medium. The technical solution is as follows:

[0005] In one aspect, a control method for a water purifier is provided, the water purifier comprising a water purifying container and a water inlet end, a float fixing rod being vertically arranged in the water purifying container, a float being sleeved on the float fixing rod, a vertical distance between the float and the bottom of the water purifying container being used to indicate the water level in the water purifying container, the water inlet end being provided with a booster device and a water inlet valve, the booster device being used to increase the pressure of water flow flowing into the water purifying container through the water inlet valve; the method comprises:

[0006] in response to a float maintenance instruction, controlling the booster device to enter a working state;

[0007] controlling the water inlet valve to perform a point injection action based on a first preset number, so that the water in the water purifying container is shaken and drives the float to shake relative to the float fixing rod; the point injection action comprises controlling the water inlet valve to be in an always-open state and an always-closed state in a preset period in turn;

[0008] obtaining a vertical distance between the float and the bottom of the water purifying container, and a target distance threshold; the target distance threshold indicates the water level in the water purifying container;

[0009] In a case where the vertical distance does not meet the target distance threshold, the second jetting module is configured to control the water inlet valve to perform the jetting action based on the first preset number of times, update the vertical distance, and end the control of the water inlet valve when the updated vertical distance meets the target distance threshold.

[0010] In another aspect, a control device of a water purifier is provided. The water purifier includes a water purifying container and a water inlet end. A float fixing rod is vertically arranged in the water purifying container, and a float is sleeved on the float fixing rod. A vertical distance between the float and a bottom of the water purifying container is used to indicate a water level in the water purifying container. The water inlet end is provided with a pressure boosting device and a water inlet valve. The pressure boosting device is used to increase a pressure of water flow flowing into the water purifying container through the water inlet valve. The device includes:

[0011] A first pressure boosting module is configured to control the pressure boosting device to enter a working state in response to a float maintenance instruction.

[0012] A first jetting module is configured to control the water inlet valve to perform a jetting action based on a first preset number of times, so that water in the water purifying container is agitated and the float is agitated relative to the float fixing rod. The jetting action includes controlling the water inlet valve to be in an always-open state and an always-closed state in a preset period.

[0013] A first distance module is configured to obtain a vertical distance between the float and the bottom of the water purifying container, and a target distance threshold. The target distance threshold indicates the water level in the water purifying container.

[0014] The second jetting module is configured to control the water inlet valve to perform the jetting action based on the first preset number of times in a case where the vertical distance does not meet the target distance threshold, update the vertical distance, and end the control of the water inlet valve when the updated vertical distance meets the target distance threshold.

[0015] In an exemplary embodiment, the second jetting module includes:

[0016] A shaking recording module is configured to record a number of times of shaking of the float relative to the float fixing rod in a process in which the water inlet valve performs the jetting action.

[0017] A shaking judgment module is configured to judge whether the number of times of shaking is greater than a second preset number of times in a case where the vertical distance does not meet the target distance threshold.

[0018] The first alarm module is used to control the inlet valve to perform the injection action based on the first preset number of times when the determination is negative, update the number of swaying, and determine that the float has malfunctioned when the updated number of swaying is greater than the second preset number of times, and then execute the first preset alarm action.

[0019] In one exemplary embodiment, the float fixing rod has a built-in heating device; the first pressurization module includes:

[0020] The first heating module is used to control the heating device to enter the working state based on a first preset duration;

[0021] The second distance module is used to obtain the vertical distance between the float and the bottom of the water purification container;

[0022] The second booster module is used to control the booster device to enter the working state when the vertical distance does not meet the target distance threshold.

[0023] In one exemplary embodiment, the first heating module includes:

[0024] Angle determination module is used to determine whether the angle formed between the float fixing rod and the bottom of the water purification container is less than a preset angle threshold.

[0025] The second heating module is used to control the heating device to enter the working state based on the first preset time when the result of the judgment is negative.

[0026] In one exemplary embodiment, the device further includes a second alarm module for issuing an alarm when a malfunction is detected in the float fixing rod, the second alarm module comprising:

[0027] The second alarm module is used to determine that the float fixing rod has malfunctioned and to execute a second preset alarm action when the angle formed between the float fixing rod and the bottom of the water purification container is less than the preset angle threshold.

[0028] In one exemplary embodiment, the water purifier further includes a drain end, the drain end being provided with a drain valve; the device further includes a first command triggering module for triggering a float maintenance command when the float cannot accurately indicate the liquid level, the first command triggering module comprising:

[0029] The target determination module is used to determine the target distance threshold based on the duration during which the target valve remains in the normally open state; the target valve is the valve in the normally open state between the inlet valve and the drain valve.

[0030] The third distance module is used to obtain the vertical distance between the float and the bottom of the water purification container;

[0031] The first triggering module is used to trigger the float maintenance command when the vertical distance does not meet the target distance threshold.

[0032] In one exemplary embodiment, the device further includes a second instruction triggering module for triggering a float maintenance instruction when the cumulative operating time of the water purifier reaches a second preset time. The second instruction triggering module includes:

[0033] The duration zeroing module is used to set the cumulative working time of the water purifier to zero.

[0034] The duration update module is used to update the cumulative working time when the water purifier is in working condition;

[0035] The second triggering module is used to trigger the float maintenance command when the updated cumulative working time reaches the second preset time.

[0036] On the other hand, an electronic device is provided, including a processor and a memory, wherein the memory stores at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the control method of the water purifier in any of the above aspects.

[0037] On the other hand, 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 control method of a water purifier as described above.

[0038] On the other hand, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the control method for a water purifier according to any of the above aspects.

[0039] This application provides a control method for a water purifier, which includes a water purification container and an inlet end. A float fixing rod is vertically arranged inside the water purification container, and a float is sleeved on the float fixing rod. The vertical distance between the float and the bottom of the water purification container is used to indicate the water level in the water purification container. The inlet end is provided with a pressurizing device and an inlet valve. The pressurizing device is used to increase the pressure of the water flowing into the water purification container through the inlet valve. The method includes: responding to a float maintenance command, controlling the pressurizing device to enter a working state; controlling the inlet valve to perform a puncture action based on a first preset number of times; the puncture action includes controlling the inlet valve to be in a normally open state and a normally closed state successively within a preset period; obtaining the vertical distance between the float and the bottom of the water purification container, and a target distance threshold; the target distance threshold indicates the water level in the water purification container; if the vertical distance does not meet the target distance threshold, controlling the inlet valve to perform a puncture action based on the first preset number of times to update the vertical distance, until the updated vertical distance meets the target distance threshold, and then ending the control of the inlet valve. By increasing the water pressure at the inlet by setting up a pressurization device, the liquid level in the water purification container is punctured, causing the water in the container to slosh. This, in turn, causes the float to sway relative to the float fixing rod until the float can accurately indicate the liquid level. This solves the problem of the stability and reliability of the float in the water purifier during long-term use, reduces the maintenance cost during the use of the water purifier, and improves the safety and reliability of the water purifier. Attached Figure Description

[0040] 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.

[0041] Figure 1 This is a schematic diagram of the structure of a water purifier provided in an embodiment of this application;

[0042] Figure 2 This is a flowchart illustrating the control method for the first water purifier provided in this application embodiment;

[0043] Figure 3 This is a flowchart illustrating the first method for triggering a float maintenance command provided in this application embodiment;

[0044] Figure 4 This is a flowchart illustrating the second method for triggering a float maintenance command provided in this application embodiment;

[0045] Figure 5 This is a flowchart illustrating the third method for triggering a float maintenance command provided in this application embodiment;

[0046] Figure 6 This is a flowchart illustrating the control method for the second water purifier provided in this application embodiment;

[0047] Figure 7 This is a flowchart illustrating the control method for the third type of water purifier provided in this application embodiment;

[0048] Figure 8 This is a structural block diagram of a control device for a water purifier provided in an embodiment of this application;

[0049] Figure 9 This is a hardware structure block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0050] 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.

[0051] 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.

[0052] 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.

[0053] Float technology, as an important means of liquid level control, uses the gap between the float and the float rod to move the float up and down relative to the liquid level as it fluctuates. This allows for level detection. However, after prolonged use, dirt or ice on the float rod can cause the float to become stuck on the float rod, resulting in inaccurate level readings and a risk of water overflow, posing a safety hazard. The conventional solution is periodic on-site manual replacement of the float mechanism, which is costly.

[0054] Therefore, this application provides a control method for a water purifier to solve the problem of stability and reliability of the float in a water purifier during long-term use. For details, please refer to... Figure 1 The diagram shows a structural schematic of a water purifier provided in an embodiment of this application. The water purifier includes a purified water container and a water inlet. A float fixing rod is vertically arranged inside the purified water container, and a float is fitted onto the float fixing rod. The vertical distance between the float and the bottom of the purified water container is used to indicate the water level inside the purified water container. The water inlet is equipped with a pressurizing device and a water inlet valve. The pressurizing device is used to increase the pressure of the water flowing into the purified water container through the water inlet valve. In a specific implementation, the pressurizing device can be set as a 4-point to 2-point adapter. A conventional water inlet is usually a 4-point inlet; by setting a 2-point adapter at the water inlet, the water pressure can be increased due to the smaller inlet size.

[0055] Please see Figure 2 The diagram illustrates a flow chart of a water purifier control method according to an embodiment of this application. It should be noted that while this specification provides method operation steps as shown in the embodiments or flowcharts, more or fewer operation 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 according to the embodiments or accompanying drawings, or in parallel (e.g., in a parallel processor or multi-threaded processing environment). Specifically, as shown... Figure 2 As shown, the method may include:

[0056] S201, in response to the float maintenance command, controls the booster device to enter the working state.

[0057] The float maintenance command is used to resolve or prevent situations where the float is stuck on the float rod and cannot accurately indicate the liquid level. Specifically, if the float maintenance command is triggered when the liquid level indication is incorrect, it will be executed to ensure the float accurately indicates the liquid level; if triggered under other circumstances, it will be executed to prevent errors in the float's liquid level indication. In practice, the float maintenance command is also used to detect whether other conditions prevent the float from accurately indicating the liquid level.

[0058] Specifically, when the booster device is in operation, the pressure of the water flowing into the purified water container through the inlet valve is the first water pressure. When the booster device is not in operation, the pressure of the water flowing into the purified water container through the inlet valve is the second water pressure, and the first water pressure is greater than the second water pressure. In practice, the booster device can always be in operation, that is, it does not distinguish between the first and second water pressures. Figure 1 For example, if the booster device is set to a 4-point to 2-point interface, then there is no need to consider the working state of the booster device. When the inlet valve is in the normally open state, the booster device will always play a boosting role.

[0059] In one exemplary embodiment, the water purifier further includes a drain end, which is provided with a drain valve; such as Figure 3 , 4 The diagrams shown are flowcharts illustrating two methods for triggering float maintenance commands according to embodiments of this application. Triggering a float maintenance command may include the following steps:

[0060] The target distance threshold is determined based on the duration during which the target valve remains in the normally open state; the target valve is either the inlet valve or the outlet valve that is in the normally open state.

[0061] Obtain the vertical distance between the float and the bottom of the water purification container;

[0062] If the vertical distance does not meet the target distance threshold, a float maintenance command is triggered.

[0063] The target distance threshold indicates the water level inside the water purification container. Specifically, given the water flow rate and the specifications of the water purification container, the target distance threshold can be estimated by measuring the duration the inlet or outlet valve is open.

[0064] In specific implementation, refer to Figure 1A Hall effect magnet is installed on the side of the float near the side wall of the water purification container. Multiple Hall sensors are installed on the side wall of the water purification container. The vertical distance between the multiple Hall sensors and the bottom of the water purification container is different from each other. The detection range of the multiple Hall sensors covers the liquid level range of the water purification container. The position of the float, that is, the vertical distance between the float and the bottom of the water purification container, is known by detecting the Hall effect magnet on the float.

[0065] Specifically, if the vertical distance does not meet the target distance threshold, it is considered that the float cannot accurately express the liquid level, and the float may get stuck on the float fixing rod, thus triggering a float maintenance command.

[0066] The float maintenance command is used to resolve situations where the float is stuck on the float mounting rod and cannot accurately indicate the liquid level, by executing a float anti-jamming procedure. Specifically, if the float's liquid level indication is incorrect and triggered, the float maintenance command will be executed to ensure accurate liquid level indication. In practice, the float maintenance command is also used to detect whether other conditions are causing the float to fail to accurately indicate the liquid level.

[0067] In specific implementation, refer to Figure 1 , 3 When the inlet valve remains open for 1X seconds, and the water level in the purified water container reaches level 1A, if Hall sensor 1 at level 1A does not detect the float, a float maintenance command is triggered to execute the float anti-jamming procedure. Otherwise, the inlet valve remains open. When the inlet valve remains open for 2X seconds, and the water level in the purified water container reaches level 2A, if Hall sensor 2 at level 2A does not detect the float, a float maintenance command is triggered to execute the float anti-jamming procedure. Otherwise, it is assumed that the float accurately indicates the water level, and a float maintenance command is not required.

[0068] In specific implementation, refer to Figure 1 , 4 If the drain valve remains open for 1X seconds and the water level in the purified water container reaches point 2A, and if Hall sensor 2 at point 2A does not detect the float, a float maintenance command is triggered to execute the float anti-jamming procedure. Otherwise, the drain valve remains open. If the drain valve remains open for 2X seconds and the water level in the purified water container reaches point 1A, and if Hall sensor 1 at point 1A does not detect the float, a float maintenance command is triggered to execute the float anti-jamming procedure. Otherwise, it is assumed that the float accurately indicates the water level, and a float maintenance command is not required.

[0069] As can be seen from the above technical solutions of the embodiments of this application, the embodiments of this application detect whether the float is abnormal during the water inlet and outlet processes of the water purifier, and trigger the float maintenance command in a timely manner, thereby enabling timely troubleshooting of float malfunctions and preventing safety problems caused by inaccurate water level detection of the water purifier.

[0070] In one exemplary implementation, such as Figure 5 The diagram shown illustrates a flowchart of a third method for triggering a float maintenance command according to an embodiment of this application. After triggering the float maintenance command, the method may further include the following steps:

[0071] Set the cumulative working time of the water purifier to zero;

[0072] Update the cumulative working time while the water purifier is in operation;

[0073] If the updated cumulative working time reaches the second preset time, a float maintenance command will be triggered.

[0074] The float maintenance command is used to prevent the float from getting stuck on the float holder and failing to accurately indicate the liquid level. Specifically, if the float maintenance command is triggered when the water purifier's cumulative operating time reaches a second preset time, the command is executed to prevent errors in the float's liquid level indication. In practice, the float maintenance command also detects whether other conditions might cause the float to fail to accurately indicate the liquid level.

[0075] Specifically, each time the float maintenance command is triggered, the cumulative working time T of the water purifier is set to zero. When the cumulative working time T of the water purifier reaches the second preset time T1, the float maintenance command is triggered again.

[0076] In practice, if the water purifier has not triggered the float maintenance command, the float maintenance command only needs to be triggered when the cumulative working time of the water purifier reaches the second preset time. It is not necessary to perform the aforementioned step of setting the cumulative working time of the water purifier to zero after triggering the float maintenance command.

[0077] As can be seen from the above technical solutions of the embodiments of this application, the embodiments of this application trigger a float maintenance command when the cumulative working time of the water purifier reaches the second preset time, which prevents the float from getting stuck on the float fixing rod and can also promptly check whether there are other situations that may cause the float to fail to accurately express the liquid level, so as to prevent safety problems caused by inaccurate liquid level detection of the water purifier.

[0078] In one exemplary embodiment, the float fixing rod has a built-in heating device; in specific implementations, refer to... Figure 1The float fixing rod is not a centrally controlled structure, and a heating wire is installed inside as a heating device. The process of controlling the pressurization device to enter the working state in step S201 above may include the following steps:

[0079] The heating device is controlled to enter the working state based on the first preset duration;

[0080] Obtain the vertical distance between the float and the bottom of the water purification container;

[0081] If the vertical distance does not meet the target distance threshold, the booster device will enter the working state.

[0082] The first preset duration is the time required for the heating device to defrost.

[0083] In specific implementation, refer to Figure 1 A Hall effect magnet is installed on the side of the float near the side wall of the water purification container. Multiple Hall sensors are installed on the side wall of the water purification container. The vertical distance between the multiple Hall sensors and the bottom of the water purification container is different from each other. The detection range of the multiple Hall sensors covers the liquid level range of the water purification container. The position of the float, that is, the vertical distance between the float and the bottom of the water purification container, is known by detecting the Hall effect magnet on the float.

[0084] The target distance threshold indicates the water level inside the water purification container. Specifically, given the water flow rate and the specifications of the water purification container, the target distance threshold can be estimated by measuring the duration the inlet or outlet valve is open.

[0085] Specifically, heating is performed using a heating device. If the vertical distance between the float and the bottom of the purified water container does not meet the target distance threshold after heating, the possibility that the float is stuck on the float fixing rod due to icing is ruled out. If the vertical distance between the float and the bottom of the purified water container meets the target distance threshold after heating, it is determined that the float is stuck on the float fixing rod due to icing, and the problem of the float being stuck has been solved by heating.

[0086] As can be seen from the above technical solutions of the embodiments of this application, the embodiments of this application provide a heating device inside the float fixing rod to deal with the situation where the float gets stuck on the float fixing rod due to icing during the execution of the float maintenance command. If the situation where the float gets stuck on the float fixing rod due to icing is ruled out, the subsequent maintenance steps are continued. If it is determined that the float is stuck on the float fixing rod due to icing, the problem of the float getting stuck has been solved by heating, thereby improving the stability and reliability of the float of the water purifier in long-term use.

[0087] In one exemplary embodiment, the step of controlling the heating device to enter the working state based on the first preset duration may include the following steps:

[0088] Determine whether the angle formed between the float fixing rod and the bottom of the water purification container is less than the preset angle threshold.

[0089] Specifically, if the judgment result is negative, the above steps of controlling the heating device to enter the working state based on the first preset time can be executed; otherwise, if the judgment result is positive, it is determined that the float fixing rod has malfunctioned, and the second preset alarm action is executed.

[0090] The preset angle threshold indicates the range of the angle formed between the float's fixing rod and the bottom of the water purification container, ensuring the float accurately indicates the liquid level. Specifically, if the float is not stuck, the float accurately indicates the liquid level when the angle between the float's fixing rod and the bottom of the water purification container is less than the preset angle threshold; if the angle is greater than or equal to the preset angle threshold, the float's liquid level indication is incorrect. In practice, the preset angle threshold can be set to 85°.

[0091] For details, please refer to Figure 1 Following the conventional placement of a water purifier, a vertical sensor is installed at the top of the float fixing rod to detect gravitational acceleration and monitor the vertical state of the float fixing rod assembly. In specific implementations, the vertical sensor is an acceleration sensor, which can be an accelerometer, gyroscope, electronic compass, etc.

[0092] Specifically, if the angle formed between the float fixing rod and the bottom of the water purification container is less than the preset angle threshold, the possibility of incorrect float level indication due to installation problems of the float fixing rod is ruled out, and the subsequent float maintenance steps continue; if the angle formed between the float fixing rod and the bottom of the water purification container is greater than or equal to the preset angle threshold, it is determined that the float fixing rod is faulty, and the second preset alarm action is executed.

[0093] The second preset alarm action is used to remind the user that the water purifier's liquid level reading is incorrect due to an installation problem with the float fixing rod.

[0094] As can be seen from the above technical solutions of the embodiments of this application, the embodiments of this application determine whether there is a problem with the installation of the float fixing rod by detecting the angle formed between the float fixing rod and the bottom of the water purification container. If the angle formed between the float fixing rod and the bottom of the water purification container is less than a preset angle threshold, the situation where the float level is incorrect due to the installation problem of the float fixing rod is ruled out, and the subsequent float inspection steps continue. If the angle formed between the float fixing rod and the bottom of the water purification container is greater than or equal to the preset angle threshold, it is determined that the float fixing rod has malfunctioned, and the second preset alarm action is executed to promptly remind the user that the water purifier's liquid level is incorrect due to the installation problem of the float fixing rod.

[0095] S203, based on the first preset number of times, control the water inlet valve to perform a burst action, so that the water in the water purification container shakes and causes the float to shake relative to the float fixing rod.

[0096] The first preset number of times is the number of times the burst firing action is performed. For example, the first preset number of times can be set to 10 times.

[0097] The intermittent firing action includes controlling the inlet valve to be in a normally open state and a normally closed state sequentially within a preset cycle. Specifically, one intermittent firing action includes two control actions: controlling the inlet valve to be in a normally open state and controlling the inlet valve to be in a normally closed state.

[0098] The preset cycle is the duration required to execute one burst of injection. Specifically, the preset cycle is divided into two durations: during one duration, the inlet valve is controlled to be normally open, and during the other duration, the inlet valve is controlled to be normally closed. In practice, the preset cycle can be set to 2 seconds, and correspondingly, it is divided into two 1-second intervals: controlling the inlet valve to be normally open for 1 second and controlling it to be normally closed for 1 second.

[0099] Specifically, when the water pressure increases, a burst injection is performed, causing the water in the purified water container to slosh, which in turn causes the float to sway relative to the float fixing rod. Here, the swaying of the float refers to the float's position fluctuating relative to the float fixing rod. If the float fixing rod or other devices sway, causing the float's position to change, but the float's position relative to the float fixing rod does not change, then the float is considered not to have swayed.

[0100] S205, obtain the vertical distance between the float and the bottom of the water purification container, as well as the target distance threshold.

[0101] The target distance threshold indicates the water level inside the water purification container. Specifically, given the water flow rate and the specifications of the water purification container, the target distance threshold can be estimated by measuring the duration the inlet or outlet valve is open.

[0102] In specific implementation, refer to Figure 1 A Hall effect magnet is installed on the side of the float near the side wall of the water purification container. Multiple Hall sensors are installed on the side wall of the water purification container. The vertical distance between the multiple Hall sensors and the bottom of the water purification container is different from each other. The detection range of the multiple Hall sensors covers the liquid level range of the water purification container. The position of the float, that is, the vertical distance between the float and the bottom of the water purification container, is known by detecting the Hall effect magnet on the float.

[0103] S207, determine whether the vertical distance meets the target distance threshold.

[0104] Specifically, if the result of the judgment is negative, step S203 can be executed; otherwise, if the result of the judgment is positive, step S209 can be executed.

[0105] Specifically, if the vertical distance between the float and the bottom of the water purification container does not meet the target distance threshold, return to step S203 and continue to perform the point firing action to update the vertical distance between the float and the bottom of the water purification container until the updated vertical distance meets the target distance threshold, then proceed to step S209.

[0106] In practice, an error threshold can be set. If the difference between the vertical distance between the float and the bottom of the water purification container and the target distance threshold is less than or equal to the error threshold, then the vertical distance is considered to meet the target distance threshold. If the difference between the vertical distance between the float and the bottom of the water purification container and the target distance threshold is greater than the error threshold, then the vertical distance is considered to not meet the target distance threshold.

[0107] In one exemplary implementation, such as Figure 6 The diagram shown is a flowchart illustrating a second method for controlling a water purifier according to an embodiment of this application. After step S203, the following may be included:

[0108] S601, during the process of the inlet valve performing the intermittent injection action, record the number of times the float sways relative to the float fixing rod.

[0109] Specifically, when the water pressure increases, a burst injection is performed, causing the water in the purified water container to slosh, which in turn causes the float to sway relative to the float fixing rod. Here, the swaying of the float refers to the float's position fluctuating relative to the float fixing rod. If the float fixing rod or other devices sway, causing the float's position to change, but the float's position relative to the float fixing rod does not change, then the float is considered not to have swayed.

[0110] Furthermore, if the determination result of the above step S207 is negative, it may include:

[0111] S603, determine whether the number of shaking is greater than the second preset number.

[0112] Specifically, if the result of the judgment is negative, step S203 can be executed; otherwise, if the result of the judgment is positive, step S605 can be executed.

[0113] The number of swaying events is accumulated during the execution of a single float maintenance command.

[0114] Specifically, if the number of times the float sways reaches the second preset number, it is considered that the float is not stuck on the float fixing rod. In practice, the second preset number can be set to 3 times.

[0115] Specifically, if the vertical distance between the float and the bottom of the purified water container does not meet the target distance threshold, it is considered that the float cannot accurately indicate the liquid level. If the number of shaking is less than or equal to the second preset number, the water inlet valve will continue to be controlled to perform a puncture action until the number of shaking is greater than the second preset number, thus eliminating the problem of the float being stuck on the float fixing rod. If the float still cannot accurately indicate the liquid level, it is determined that the float has malfunctioned.

[0116] S605, if a float malfunction is detected, execute the first preset alarm action.

[0117] The first preset alarm action is used to alert the user that the water purifier's liquid level reading is incorrect due to a float malfunction.

[0118] As can be seen from the above technical solutions of the embodiments of this application, the embodiments of this application eliminate the problem of the float getting stuck on the float fixing rod by recording the number of times the float shakes during the process of controlling the water inlet valve to perform the injection action. If the float still cannot accurately express the liquid level at this time, it is determined that the float has malfunctioned, and the first preset alarm action is executed to remind the user that the water level expression of the water purifier is incorrect due to the float malfunction.

[0119] S209, End control of the inlet valve.

[0120] Specifically, if the vertical distance between the float and the bottom of the purified water container meets the target distance threshold, the float is considered to accurately indicate the liquid level, and the control of the inlet valve is terminated. The float maintenance command is then executed.

[0121] As can be seen from the above technical solutions of the embodiments of this application, the embodiments of this application increase the water pressure at the inlet by setting a pressurization device, and spray the liquid surface of the water purification container in a point, causing the water in the water purification container to sway, thereby causing the float to sway relative to the float fixing rod until the float can accurately indicate the liquid level. This solves the problem of the stability and reliability of the float of the water purifier in long-term use, reduces the maintenance cost during the use of the water purifier, and improves the safety and reliability of the water purifier.

[0122] To facilitate a full understanding of the scheme in this application, the process of executing float maintenance instructions is described below. Please refer to [link / reference needed]. Figure 7 The diagram shown is a flowchart illustrating a third method for controlling a water purifier according to an embodiment of this application, which may specifically include:

[0123] (1) In response to the float maintenance command, start the float anti-jamming test;

[0124] (2) Record the current Hall effect setting nA; the current Hall effect setting nA indicates the vertical distance between the float and the bottom of the water purification container;

[0125] (3) Read the angle Y of the vertical sensor;

[0126] (4) Determine whether Y < 85° is true;

[0127] Specifically, if the result of the judgment is yes, then step (5) can be executed; otherwise, if the result of the judgment is no, then step (6) can be executed.

[0128] (5) If a fault is found in the float fixing rod, execute the second preset alarm action;

[0129] (6) Update the current Hall level nA and determine whether the updated current Hall level nA meets the target distance threshold; the target distance threshold indicates the water level in the water purification container.

[0130] Specifically, if the result of the judgment is yes, then step (11) can be executed; otherwise, if the result of the judgment is no, then step (7) can be executed.

[0131] (7) Open the inlet valve K1, open the inlet valve K1 for 1 second and close it for 1 second, so that the inlet valve is in a burst state to impact the liquid surface; let the water waves drive the float to shake; operate 10 times, accumulate 10 seconds of anti-jamming; record the number of times the float actively shakes N;

[0132] (8) Determine whether N > 3 is true;

[0133] Specifically, if the result of the judgment is yes, then step (9) can be executed; otherwise, if the result of the judgment is no, then step (6) can be returned.

[0134] (9) Update the current Hall gear nA and determine whether the updated current Hall gear nA meets the target distance threshold;

[0135] Specifically, if the result of the judgment is yes, then step (11) can be executed; otherwise, if the result of the judgment is no, then step (10) can be executed.

[0136] (10) If the float fixing rod is found to be faulty, execute the second preset alarm action;

[0137] (11) End the float anti-jamming test.

[0138] Corresponding to the control methods of water purifiers provided in the above embodiments, this application also provides a control device for a water purifier. Since the control device for a water purifier provided in this application corresponds to the control methods for water purifiers provided in the above embodiments, the implementation methods of the aforementioned control methods for water purifiers are also applicable to the control device for a water purifier provided in this embodiment, and will not be described in detail in this embodiment.

[0139] Please see Figure 8The diagram shows a structural schematic of a control device for a water purifier provided in an embodiment of this application. This device has the function of implementing the control method of the water purifier in the above-described method embodiments. This function can be implemented by hardware or by hardware executing corresponding software. Specifically, the water purifier includes a purified water container and a water inlet. A float fixing rod is vertically arranged inside the purified water container, and a float is sleeved on the float fixing rod. The vertical distance between the float and the bottom of the purified water container is used to indicate the water level inside the purified water container. The water inlet is equipped with a pressurizing device and a water inlet valve. The pressurizing device is used to increase the pressure of the water flowing into the purified water container through the water inlet valve. Figure 8 As shown, the device may include:

[0140] The first booster module 810 is used to control the booster device to enter the working state in response to the float maintenance command;

[0141] The first injection module 820 is used to control the water inlet valve to perform injection actions based on a first preset number of times, so that the water in the water purification container shakes and causes the float to shake relative to the float fixing rod; the injection action includes controlling the water inlet valve to be in a normally open state and a normally closed state successively within a preset cycle.

[0142] The first distance module 830 is used to obtain the vertical distance between the float and the bottom of the water purification container, as well as the target distance threshold; the target distance threshold indicates the water level in the water purification container.

[0143] The second point-firing module 840 is used to control the water inlet valve to perform point-firing actions based on a first preset number of times when the vertical distance does not meet the target distance threshold, update the vertical distance, and stop controlling the water inlet valve when the updated vertical distance meets the target distance threshold.

[0144] In one exemplary embodiment, the second point-firing module includes:

[0145] The sway recording module is used to record the number of swaying motions of the float relative to the float fixing rod during the inlet valve's burst firing action.

[0146] The shaking detection module is used to determine whether the number of shaking events is greater than a second preset number when the vertical distance does not meet the target distance threshold.

[0147] The first alarm module is used to control the inlet valve to perform a puncture action based on a first preset number of times if the determination is negative, update the number of swaying, and determine that the float has malfunctioned when the updated number of swaying is greater than the second preset number, and then execute the first preset alarm action.

[0148] In one exemplary embodiment, the float fixing rod has a built-in heating device; the first pressurization module includes:

[0149] The first heating module is used to control the heating device to enter the working state based on a first preset time.

[0150] The second distance module is used to obtain the vertical distance between the float and the bottom of the water purification container;

[0151] The second booster module is used to control the booster device to enter the working state when the vertical distance does not meet the target distance threshold.

[0152] In one exemplary embodiment, the first heating module includes:

[0153] Angle determination module is used to determine whether the angle formed between the float fixing rod and the bottom of the water purification container is less than a preset angle threshold.

[0154] The second heating module is used to control the heating device to enter the working state based on a first preset time when the judgment result is negative.

[0155] In one exemplary embodiment, the device further includes a second alarm module for issuing an alarm when a malfunction is detected in the float fixing rod. The second alarm module includes:

[0156] The second alarm module is used to determine that the float fixing rod has malfunctioned and to execute the second preset alarm action when the angle formed between the float fixing rod and the bottom of the water purification container is less than a preset angle threshold.

[0157] In one exemplary embodiment, the water purifier further includes a drain end, which is provided with a drain valve; the device further includes a first instruction triggering module for triggering a float maintenance command when the float cannot accurately indicate the liquid level, the first instruction triggering module comprising:

[0158] The target determination module is used to determine the target distance threshold based on the duration during which the target valve remains in the normally open state; the target valve is either the inlet valve or the outlet valve that is in the normally open state.

[0159] The third distance module is used to obtain the vertical distance between the float and the bottom of the water purification container;

[0160] The first trigger module is used to trigger a float maintenance command when the vertical distance does not meet the target distance threshold.

[0161] In one exemplary embodiment, the device further includes a second instruction triggering module for triggering a float maintenance command when the cumulative operating time of the water purifier reaches a second preset time. The second instruction triggering module includes:

[0162] The duration reset module is used to reset the cumulative working time of the water purifier to zero;

[0163] The duration update module is used to update the cumulative working time when the water purifier is in operation;

[0164] The second trigger module is used to trigger the float maintenance command when the updated cumulative working time reaches the second preset time.

[0165] 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 actual 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.

[0166] This application provides an electronic device including a processor and a memory. The memory stores at least one instruction or at least one program, which is loaded and executed by the processor to implement any of the water purifier control methods provided in the above method embodiments.

[0167] Memory is used to store software programs and modules. The processor executes these stored software programs and modules to perform various functional applications and data processing. Memory can primarily consist of a program storage area and a data storage area. The program storage area stores the operating system, application programs required for functionality, etc.; the data storage area stores data created based on device usage, etc. Furthermore, memory can include high-speed random access memory (RAM) and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, memory can also include a memory controller to provide the processor with access to the memory.

[0168] The method embodiments provided in this application can be executed in a computer terminal, server or similar computing device, that is, the above-mentioned electronic device may include a computer terminal, server or similar computing device. Figure 9 This is a hardware structure block diagram of a computer device for operating a control method for a water purifier, as provided in an embodiment of the present invention. Figure 9 As shown, the internal structure of this computer device may include, but is not limited to, a processor, a network interface, and a memory. The processor, network interface, and memory within the computer device can be connected via a bus or other means, as illustrated in the embodiments of this specification. Figure 9 Taking the example of a connection between China and Israel via a bus.

[0169] The processor (or CPU, Central Processing Unit) is the computing and control core of the computer device. The network interface may optionally include a standard wired interface or a wireless interface (such as Wi-Fi, mobile communication interface, etc.). The memory is the storage device in the computer device used to store programs and data. It is understood that the memory here can be a high-speed RAM storage device, or a non-volatile memory device, such as at least one disk storage device; optionally, it can also be at least one storage device located remotely from the aforementioned processor. The memory provides storage space, which stores the operating system of the electronic device, including but not limited to: Windows (an operating system), Linux (an operating system), Android (a mobile operating system), iOS (a mobile operating system), etc., which are not limited in this invention; and the storage space also stores one or more instructions suitable for being loaded and executed by the processor, which can be one or more computer programs (including program code). In the embodiments of this specification, the processor loads and executes one or more instructions stored in the memory to implement the water purifier control method provided in the above method embodiments.

[0170] Embodiments of this application also provide a computer-readable storage medium that can be disposed in an electronic device to store at least one instruction or at least one program related to implementing a control method for a water purifier. The at least one instruction or the at least one program is loaded and executed by the processor to implement any of the water purifier control methods provided in the above-described method embodiments.

[0171] Optionally, in this embodiment, the 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.

[0172] 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.

[0173] 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.

[0174] 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.

[0175] The above are merely preferred embodiments of this application and are 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 control method for a water purifier, characterized in that, The water purifier includes a water purification container and a water inlet. A float fixing rod is vertically installed inside the water purification container, and a float is fitted onto the float fixing rod. The vertical distance between the float and the bottom of the water purification container is used to indicate the water level inside the water purification container. The water inlet is equipped with a pressurizing device and a water inlet valve. The pressurizing device is used to increase the pressure of the water flowing into the water purification container through the water inlet valve. The method includes: In response to a float maintenance command, the pressurization device is controlled to enter the working state. Based on a first preset number of times, the water inlet valve is controlled to perform a puncture action, so that the water in the purified water container shakes and causes the float to shake relative to the float fixing rod; the puncture action includes controlling the water inlet valve to be in a normally open state and a normally closed state successively within a preset cycle. The vertical distance between the float and the bottom of the water purification container is obtained, as well as a target distance threshold; the target distance threshold indicates the water level inside the water purification container. If the vertical distance does not meet the target distance threshold, the water inlet valve is controlled to perform the point-firing action based on the first preset number of times to update the vertical distance until the updated vertical distance meets the target distance threshold, at which point the control of the water inlet valve ends. The step of controlling the inlet valve to perform the burst firing action based on the first preset number of times and updating the vertical distance when the vertical distance does not meet the target distance threshold includes: recording the number of times the float sways relative to the float fixing rod during the burst firing action of the inlet valve; determining whether the number of swaying is greater than a second preset number when the vertical distance does not meet the target distance threshold; and, if the determination is negative, controlling the inlet valve to perform the burst firing action based on the first preset number of times and updating the number of swaying until the updated number of swaying is greater than the second preset number, determining that the float has malfunctioned, and executing a first preset alarm action.

2. The control method for a water purifier according to claim 1, characterized in that, The float fixing rod has a built-in heating device; The process of controlling the booster device to enter the working state includes: The heating device is controlled to enter the working state based on a first preset duration; Obtain the vertical distance between the float and the bottom of the water purification container; If the vertical distance does not meet the target distance threshold, the booster device is controlled to enter the working state.

3. The control method for a water purifier according to claim 2, characterized in that, The step of controlling the heating device to enter the working state based on a first preset duration includes: Determine whether the angle formed between the float fixing rod and the bottom of the water purification container is less than a preset angle threshold; If the result of the judgment is negative, the heating device is controlled to enter the working state based on the first preset time.

4. The control method for a water purifier according to claim 3, characterized in that, The method further includes: If the angle between the float fixing rod and the bottom of the water purification container is less than the preset angle threshold, it is determined that the float fixing rod has malfunctioned, and a second preset alarm action is executed.

5. The control method for a water purifier according to any one of claims 1 to 4, characterized in that, The water purifier further includes a drain end, and the drain end is provided with a drain valve; the method further includes: The target distance threshold is determined based on the duration during which the target valve remains in the normally open state; the target valve is either the inlet valve or the drain valve that is in the normally open state. Obtain the vertical distance between the float and the bottom of the water purification container; If the vertical distance does not meet the target distance threshold, the float maintenance command is triggered.

6. The control method for a water purifier according to claim 5, characterized in that, After triggering the float maintenance command, the method further includes: Set the cumulative operating time of the water purifier to zero; When the water purifier is in operation, update the cumulative operating time; When the updated cumulative working time reaches the second preset time, the float maintenance command is triggered.

7. A control device for a water purifier, characterized in that, The water purifier includes a water purification container and a water inlet. A float fixing rod is vertically installed inside the water purification container, and a float is fitted onto the float fixing rod. The vertical distance between the float and the bottom of the water purification container is used to indicate the water level inside the water purification container. The water inlet is equipped with a pressurizing device and a water inlet valve. The pressurizing device is used to increase the pressure of the water flowing into the water purification container through the water inlet valve. The device includes: The first booster module is used to control the booster device to enter the working state in response to the float maintenance command; The first injection module is used to control the water inlet valve to perform injection actions based on a first preset number of times, so that the water in the water purification container shakes and causes the float to shake relative to the float fixing rod; the injection action includes controlling the water inlet valve to be in a normally open state and a normally closed state successively within a preset period. The first distance module is used to obtain the vertical distance between the float and the bottom of the water purification container, and a target distance threshold; the target distance threshold indicates the water level in the water purification container. The second point-firing module is used to control the water inlet valve to perform the point-firing action based on the first preset number of times when the vertical distance does not meet the target distance threshold, update the vertical distance, and stop controlling the water inlet valve when the updated vertical distance meets the target distance threshold. The second point-firing module includes: a sway recording module, used to record the number of swaying motions of the float relative to the float fixing rod during the point-firing action performed by the inlet valve; a sway judgment module, used to determine whether the number of swaying motions is greater than a second preset number when the vertical distance does not meet the target distance threshold; and a first alarm module, used to control the inlet valve to perform the point-firing action based on the first preset number of swaying motions when the determination is negative, update the number of swaying motions, and determine that the float has malfunctioned and execute a first preset alarm action when the updated number of swaying motions is greater than the second preset number of swaying motions.

8. An electronic device, characterized in that, The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the control method of the water purifier as described in any one of claims 1 to 6.

9. A computer-readable storage medium storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by a processor to implement the control method of a water purifier as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Direct-drinking water purifier without sewage discharging

    CN200951965Y

  • Multiple-protecting control system of water purification device

    CN202214266U