Water purifier control method and device, electronic equipment and storage medium
By using a booster device and a heating device in the water purifier, the problems of stability and reliability of the float in long-term use are solved, maintenance costs are reduced, safety and reliability are improved, and the accuracy of liquid level detection is ensured. .
Patent Information
- Application Number
- CN202410795021.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-06-19
AI Technical Summary
The float in existing water purifiers is easily stuck on the fixed rod due to dirt or ice after long-term use, resulting in inaccurate liquid level detection, water overflow and safety hazards. The conventional solution is regular manual maintenance, which is costly. .
By setting up a booster device and a water inlet valve in the water purifier, performing a burst action to cause the water to slosh to drive the float to slosh, and combined with the heating device to defrost, the float position is updated in a timely manner, and maintenance instructions are triggered to prevent float failure and enable the float to accurately express the liquid level.
It improves the stability and reliability of the water purifier float, reduces maintenance costs, enhances the safety and reliability of use, and avoids safety hazards caused by inaccurate liquid level detection.
Smart Images

Figure CN118745012A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of kitchen equipment, and in particular to a control method, device, electronic device and storage medium for a water purifier. Background Art
[0002] As people's living standards improve, their pursuit of high-quality life is also increasing, among which the safety and health of drinking water has become the focus of attention. As a device that provides safe drinking water, the water purifier triggers the relevant mechanism to start the water production process when the liquid level drops; when the liquid level rises, the water production process is closed, thereby achieving automatic control of the liquid level and a stable supply of drinking water. It can be seen that the liquid level control function of the water purifier is particularly important.
[0003] As an important means of liquid level control, float technology uses the gap between the float and the float fixing rod to drive the float to move up and down relative to each other when the liquid level fluctuates, thus realizing liquid level detection. After long-term use, this structure is prone to get stuck on the float fixing rod due to dirt or ice on the float rod, resulting in the float being unable to accurately express the current liquid level and the risk of water overflow, posing a safety hazard. The conventional solution is to have after-sales service come to the customer's home regularly to manually replace the float mechanism, which is costly. Summary of the invention
[0004] In order to solve the problems of the prior art, the embodiments of the present application provide a control method, device, electronic device and storage medium for a water purifier. The technical solution is as follows:
[0005] On the one hand, a control method for a water purifier is provided, wherein the water purifier comprises a water purification container and a water inlet end, wherein a float fixing rod is vertically arranged in the water purification container, a float is sleeved on the float fixing rod, a 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, and the water inlet end is provided with a pressure boosting device and a water inlet valve, wherein the pressure boosting device is used to increase the pressure of the water flow flowing into the water purification container through the water inlet valve; the method comprises:
[0006] In response to the float maintenance instruction, controlling the boosting device to enter a working state;
[0007] Based on a first preset number of times, the water in the water purification container is controlled to perform a burst action, so that the water in the water purification container is shaken and the float is driven to shake relative to the float fixing rod; the burst action includes successively controlling the water inlet valve to be in a normally open state and a normally closed state within a preset period;
[0008] Obtaining a vertical distance between the float and the bottom of the clean water container, and a target distance threshold; the target distance threshold indicates a water level in the clean water container;
[0009] When the vertical distance does not meet the target distance threshold, the water inlet valve is controlled to perform the burst action based on the first preset number of times, and the vertical distance is updated until the updated vertical distance meets the target distance threshold, and the control of the water inlet valve is terminated.
[0010] On the other hand, a control device for a water purifier is provided, the water purifier comprising a water purification container and a water inlet end, a float fixing rod is vertically arranged in the water purification container, a float is sleeved on the float fixing rod, a 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 water inlet end is provided with a booster device and a water inlet valve, the booster device is used to increase the pressure of the water flow flowing into the water purification container through the water inlet valve; the device comprises:
[0011] A first boosting module, used for controlling the boosting device to enter a working state in response to a float maintenance instruction;
[0012] A first burst module is used to control the water inlet valve to perform a burst action based on a first preset number of times, so that the water in the water purification container shakes and drives the float to shake relative to the float fixing rod; the burst action includes successively controlling the water inlet valve to be in a normally open state and a normally closed state within a preset period;
[0013] A first distance module, used to obtain a vertical distance between the float and the bottom of the clean water container, and a target distance threshold; the target distance threshold indicates a water level in the clean water container;
[0014] The second burst module is used to control the water inlet valve to perform the burst action based on the first preset number of times when the vertical distance does not meet the target distance threshold, and update the vertical distance until the updated vertical distance meets the target distance threshold, and then end controlling the water inlet valve.
[0015] In an exemplary embodiment, the second burst module includes:
[0016] A shaking recording module, used for recording the number of shaking of the float relative to the float fixing rod during the process of the water inlet valve performing the burst action;
[0017] A shaking judgment module, used for judging whether the shaking times are greater than a second preset times when the vertical distance does not meet the target distance threshold;
[0018] The first alarm module is used for controlling the water inlet valve to perform the burst action based on the first preset number of times when the judgment is no, and updating the shaking times until the updated shaking times are greater than the second preset number of times, thereby determining that the float has a fault and executing the first preset alarm action.
[0019] In an exemplary embodiment, the float fixing rod has a built-in heating device; the first boosting module comprises:
[0020] A first heating module, used for controlling the heating device to enter a working state based on a first preset time length;
[0021] A second distance module, used to obtain the vertical distance between the float and the bottom of the clean water container;
[0022] The second boost module is used to control the boost device to enter a working state when the vertical distance does not meet the target distance threshold.
[0023] In an exemplary embodiment, the first heating module comprises:
[0024] An angle judgment module, used to judge whether the angle formed by 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 a working state based on the first preset time period when the result of the judgment is no.
[0026] In an exemplary embodiment, the device further comprises a second alarm module for alarming when a failure occurs in the determined float fixing rod, the second alarm module comprising:
[0027] The second alarm module is used to determine that the float fixing rod has a fault and execute a second preset alarm action when the angle formed by the float fixing rod and the bottom of the water purification container is smaller than the preset angle threshold.
[0028] In an exemplary embodiment, the water purifier further includes a drain end, and the drain end is provided with a drain valve; the device further includes a first instruction triggering module for triggering a float maintenance instruction when the float cannot accurately express the liquid level, and the first instruction triggering module includes:
[0029] A target determination module, configured to determine the target distance threshold based on the duration of time that the target valve is in a normally open state; the target valve is the valve in the normally open state between the water inlet valve and the drain valve;
[0030] A third distance module, used to obtain the vertical distance between the float and the bottom of the clean water container;
[0031] The first trigger module is used to trigger the float maintenance instruction when the vertical distance does not meet the target distance threshold.
[0032] In an exemplary embodiment, the device further includes a second instruction triggering module for triggering a float maintenance instruction when the accumulated working time of the water purifier reaches a second preset time, and the second instruction triggering module includes:
[0033] A time reset module, used to reset the accumulated working time of the water purifier to zero;
[0034] A duration updating module, used for updating the accumulated working duration when the water purifier is in working state;
[0035] The second trigger module is used to trigger the float maintenance instruction when the updated cumulative working time reaches a 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, 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 of any of the above aspects.
[0037] On the other hand, a computer-readable storage medium is provided, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement a control method for a water purifier as described in any of the above aspects.
[0038] On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the control method of the water purifier of any of the above aspects.
[0039] The embodiment of the present application provides a control method for a water purifier, which includes a water purification container and a water inlet end, a float fixing rod is vertically arranged in the water purification container, 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, and a boosting device and a water inlet valve are arranged at the water inlet end, and the boosting device is used to increase the pressure of the water flow flowing into the water purification container through the water inlet valve; the method includes: in response to a float maintenance instruction, controlling the boosting device to enter a working state; controlling the water inlet valve to perform a burst action based on a first preset number of times; the burst action includes successively controlling the water inlet valve to be in a normally open state and a normally closed state 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; in the case where the vertical distance does not meet the target distance threshold, controlling the water inlet valve to perform a burst action based on the first preset number of times, updating the vertical distance, and ending the control of the water inlet valve when the updated vertical distance meets the target distance threshold. By setting a pressure-boosting device to increase the water pressure at the water inlet end, the liquid surface of the water purification container is dotted, causing the water in the water purification container to shake, thereby driving the float to shake relative to the float fixing rod until the float can accurately express the liquid level. This solves the problem of stability and reliability of the float of the water purifier in long-term use, reduces the maintenance cost of the water purifier during use, and improves the safety and reliability of the water purifier. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0041] Figure 1 It is a structural schematic diagram of a water purifier provided in an embodiment of the present application;
[0042] Figure 2 It is a flow chart of a first water purifier control method provided in an embodiment of the present application;
[0043] Figure 3 It is a flowchart of a method for triggering a first float maintenance instruction provided in an embodiment of the present application;
[0044] Figure 4 It is a flow chart of a second method for triggering a float maintenance instruction provided in an embodiment of the present application;
[0045] Figure 5 It is a flowchart of a third method for triggering a float maintenance instruction provided in an embodiment of the present application;
[0046] Figure 6 is a flow chart of a second method for controlling a water purifier provided in an embodiment of the present application;
[0047] Figure 7 is a flow chart of a third method for controlling a water purifier provided in an embodiment of the present application;
[0048] Figure 8 It is a structural block diagram of a control device of a water purifier provided in an embodiment of the present application;
[0049] Fig. 9 It is a hardware structure block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0051] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0052] It is understandable that in the specific implementation of this application, related data such as user information is 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 relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0053] As an important means of liquid level control, float technology uses the gap between the float and the float fixing rod to drive the float to move up and down relative to each other when the liquid level fluctuates, thus realizing liquid level detection. After long-term use, this structure is prone to get stuck on the float fixing rod due to dirt or ice on the float rod, resulting in the float being unable to accurately express the current liquid level and the risk of water overflow, posing a safety hazard. The conventional solution is to have after-sales service come to the customer's home regularly to manually replace the float mechanism, which is costly.
[0054] In view of this, the present application provides a control method for a water purifier to solve the problem of stability and reliability of the float of the water purifier in long-term use. Figure 1 , which shows a schematic diagram of the structure of a water purifier provided by an embodiment of the present application, the water purifier includes a water purification container and a water inlet end, a float fixing rod is vertically arranged in the water purification container, 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, and a booster device and a water inlet valve are arranged at the water inlet end, and the booster device is used to increase the pressure of the water flow flowing into the water purification container through the water inlet valve. In a specific implementation, the booster device can be set as a 4-point to 2-point interface, and the conventional water inlet is usually a 4-point inlet. A 2-point adapter is arranged at the water inlet. Since the water inlet becomes smaller, the purpose of increasing the water pressure can be achieved.
[0055] See also Figure 2 , which shows a flow chart of a control method for a water purifier provided in an embodiment of the present application. It should be noted that this specification provides method operation steps such as the embodiments or flow charts, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiments is only one way of executing the steps among many orders, and does not represent the only order of execution. When the system or product is executed in practice, it can be executed in the order shown in the embodiments or drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment). Specifically, Figure 2 As shown, the method may include:
[0056] S201, in response to a float maintenance instruction, controlling the boosting device to enter a working state.
[0057] The float maintenance instruction is used to solve or prevent the situation where the float is stuck on the float fixing rod and cannot accurately express the liquid level by executing the float anti-stuck program. Specifically, if the float maintenance instruction is triggered when the float's liquid level expression is incorrect, the float maintenance instruction is executed so that the float can accurately express the liquid level; if the float maintenance instruction is triggered under other circumstances, the float maintenance instruction is executed to prevent the float's liquid level expression from being incorrect. In specific implementation, the float maintenance instruction is also used to detect whether there are other circumstances that cause the float to be unable to accurately express the liquid level.
[0058] Specifically, when the booster device is in working state, the pressure of the water flowing into the water purification container through the water inlet valve is the first water pressure, and when the booster device is in non-working state, the pressure of the water flowing into the water purification container through the water inlet valve is the second water pressure, and the first water pressure is greater than the second water pressure. In specific implementation, the booster device can always be in working state, that is, the first water pressure and the second water pressure are not distinguished, so that Figure 1 For example, if the booster device is set to a 4-point to 2-point interface, there is no need to consider the working state of the booster device. When the water inlet valve is in the normally open state, the booster device always plays a boosting role.
[0059] In an exemplary embodiment, the water purifier further comprises a drain end, and a drain valve is provided at the drain end; Figure 3 , 4 As shown in the figure, two flowcharts of the triggering method of the float maintenance instruction provided in the embodiments of the present application are shown respectively. Triggering the float maintenance instruction may include the following steps:
[0060] The target distance threshold is determined based on the duration of time that the target valve is in a normally open state; the target valve is a valve in a normally open state among the water inlet valve and the drain valve;
[0061] Get the vertical distance between the float and the bottom of the clean water container;
[0062] In the event that the vertical distance does not meet the target distance threshold, a float maintenance instruction is triggered.
[0063] The target distance threshold indicates the water level in the water purification container. Specifically, when the water flow rate and the specifications of the water purification container are known, the target distance threshold can be estimated by the duration of opening of the water inlet valve or the water discharge valve.
[0064] In the specific implementation, refer to Figure 1A Hall induction magnet is arranged on one side of the float close to the side wall of the clean water container, and a plurality of Hall sensors are arranged on the side wall of the clean water container. The vertical distances between the plurality of Hall sensors and the bottom of the clean water container are different from each other. The detection range of the plurality of Hall sensors covers the liquid level range of the clean water container. The Hall induction magnet on the float is detected by the plurality of Hall sensors to obtain the position of the float, that is, the vertical distance between the float and the bottom of the clean water container.
[0065] Specifically, when 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 be stuck on the float fixing rod, thereby triggering a float maintenance instruction.
[0066] The float maintenance instruction is used to solve the problem that the float cannot accurately express the liquid level due to the float being stuck on the float fixing rod by executing the float anti-stuck program. Specifically, if the float maintenance instruction is triggered when the float's liquid level expression is incorrect, the float maintenance instruction is executed so that the float can accurately express the liquid level. In specific implementation, the float maintenance instruction is also used to detect whether there are other situations that cause the float to be unable to accurately express the liquid level.
[0067] In the specific implementation, refer to Figure 1 , 3 When the water inlet valve is in the normally open state for 1X seconds, the liquid level in the clean water container reaches 1A. If the Hall sensor 1 at 1A does not detect the float, the float maintenance instruction is triggered to execute the float anti-stuck procedure. Otherwise, the water inlet valve continues to be in the normally open state; when the water inlet valve is in the normally open state for 2X seconds, the liquid level in the clean water container reaches 2A. If the Hall sensor 2 at 2A does not detect the float, the float maintenance instruction is triggered to execute the float anti-stuck procedure. Otherwise, it is considered that the float can accurately express the liquid level and there is no need to trigger the float maintenance instruction.
[0068] In the specific implementation, refer to Figure 1 , 4 , when the drain valve is in the normally open state for 1X seconds, the liquid level in the clean water container reaches 2A, if the Hall sensor 2 at 2A does not detect the float, the float maintenance instruction is triggered to execute the float anti-stuck procedure, otherwise, the drain valve continues to be in the normally open state; when the drain valve is in the normally open state for 2X seconds, the liquid level in the clean water container reaches 1A, if the Hall sensor 1 at 1A does not detect the float, the float maintenance instruction is triggered to execute the float anti-stuck procedure, otherwise, it is considered that the float can accurately express the liquid level, and there is no need to trigger the float maintenance instruction.
[0069] It can be seen from the above technical solutions of the embodiment of the present application that the embodiment of the present application detects whether the float is abnormal during the water intake and drainage processes of the water purifier, and promptly triggers the float maintenance instruction, so as to timely troubleshoot the float failure and prevent safety problems caused by inaccurate liquid level detection of the water purifier.
[0070] In an exemplary embodiment, Figure 5 As shown, it is a flow chart of the triggering method of the third float maintenance instruction provided in the embodiment of the present application. After the float maintenance instruction is triggered, the following steps may also be included:
[0071] Set the accumulated working time of the water purifier to zero;
[0072] When the water purifier is in working state, the accumulated working time is updated;
[0073] When the updated accumulated working time reaches the second preset time, the float maintenance instruction is triggered.
[0074] The float maintenance instruction is used to prevent the situation where the float is stuck on the float fixing rod and cannot accurately express the liquid level by executing the float anti-stuck program. Specifically, if the float maintenance instruction is triggered when the cumulative working time of the water purifier reaches the second preset time, the float maintenance instruction is executed to prevent the float from expressing the liquid level incorrectly. In specific implementation, the float maintenance instruction is also used to detect whether there are other situations that may cause the float to fail to accurately express the liquid level.
[0075] Specifically, each time the float maintenance instruction is triggered, the accumulated working time T of the water purifier is reset to zero, and when the accumulated working time T of the water purifier reaches the second preset time T1, the float maintenance instruction is triggered again.
[0076] In a specific implementation, if the water purifier has not triggered the float maintenance instruction, it is only necessary to trigger the float maintenance instruction when the cumulative working time of the water purifier reaches the second preset time, and there is no need to execute the aforementioned step of setting the cumulative working time of the water purifier to zero after triggering the float maintenance instruction.
[0077] It can be seen from the above technical solutions of the embodiment of the present application that the embodiment of the present application prevents the float from being stuck in the float fixing rod by triggering the float maintenance instruction when the cumulative working time of the water purifier reaches the second preset time. It can also promptly check whether there are other situations that may cause the float to be unable to accurately express the liquid level, thereby preventing safety problems caused by inaccurate liquid level detection of the water purifier.
[0078] In an exemplary embodiment, the float fixing rod has a built-in heating device; in the specific implementation, refer to Figure 1The float fixing rod is not a central control structure, and a heating wire is arranged inside it as a heating device. The process of controlling the boosting device to enter the working state in the above step S201 may include the following steps:
[0079] Controlling the heating device to enter a working state based on a first preset time length;
[0080] Get the vertical distance between the float and the bottom of the clean water container;
[0081] When the vertical distance does not meet the target distance threshold, the boost device is controlled to enter the working state.
[0082] The first preset time is the time required for the heating device to thaw.
[0083] In the specific implementation, refer to Figure 1 A Hall induction magnet is arranged on one side of the float close to the side wall of the clean water container, and a plurality of Hall sensors are arranged on the side wall of the clean water container. The vertical distances between the plurality of Hall sensors and the bottom of the clean water container are different from each other. The detection range of the plurality of Hall sensors covers the liquid level range of the clean water container. The Hall induction magnet on the float is detected by the plurality of Hall sensors to obtain the position of the float, that is, the vertical distance between the float and the bottom of the clean water container.
[0084] The target distance threshold indicates the water level in the water purification container. Specifically, when the water flow rate and the specifications of the water purification container are known, the target distance threshold can be estimated by the duration of opening of the water inlet valve or the water discharge valve.
[0085] Specifically, heating is performed by a heating device. If the vertical distance between the float and the bottom of the clean water container after heating does not meet the target distance threshold, the situation where the float is stuck in the float fixing rod due to ice is ruled out; if the vertical distance between the float and the bottom of the clean water container after heating meets the target distance threshold, it is determined that the float is stuck in the float fixing rod due to ice, and the problem of the float being stuck has been solved by heating.
[0086] It can be seen from the above technical scheme of the embodiment of the present application that the embodiment of the present application arranges a heating device inside the float fixing rod to deal with the situation where the float is stuck in the float fixing rod due to ice during the execution of the float maintenance instruction. If the situation where the float is stuck in the float fixing rod due to ice is ruled out, the subsequent maintenance steps are continued. If it is determined that the float is stuck in the float fixing rod due to ice, the problem of the float being 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 an exemplary embodiment, the step of controlling the heating device to enter the working state based on the first preset time may include the following steps:
[0088] It is determined whether the angle formed by the float fixing rod and the bottom of the water purification container is less than a preset angle threshold.
[0089] Specifically, if the result of the judgment is no, the above-mentioned step of controlling the heating device to enter the working state based on the first preset time can be executed; conversely, if the result of the judgment is yes, it is determined that the float fixing rod has a fault and the second preset alarm action is executed.
[0090] The preset angle threshold indicates the range of the angle formed by the float fixing rod and the bottom of the water purification container when the float can accurately express the liquid level. Specifically, if the float is not stuck, when the angle formed by the float fixing rod and the bottom of the water purification container is less than the preset angle threshold, the float can accurately express the liquid level; when the angle formed by the float fixing rod and the bottom of the water purification container is greater than or equal to the preset angle threshold, the float's liquid level expression is incorrect. In a specific implementation, the preset angle threshold can be set to 85°.
[0091] Specifically, refer to Figure 1 According to the conventional placement of the water purifier, a vertical sensor is arranged on the top of the float fixing rod to detect the gravity acceleration and the vertical state of the float fixing rod assembly of the water purifier. In a specific implementation, the vertical sensor is an acceleration sensor, which can be set as an accelerometer, a gyroscope, an electronic compass, etc.
[0092] Specifically, if the angle formed by the float fixing rod and the bottom of the water purification container is less than the preset angle threshold, the situation where the liquid level expression of the float is incorrect due to the installation problem of the float fixing rod is ruled out, and the subsequent float inspection steps are continued; if the angle formed by 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 a fault, and the second preset alarm action is executed.
[0093] Among them, the second preset alarm action is used to remind the user that the liquid level expression of the water purifier is incorrect due to the installation problem of the float fixing rod.
[0094] It can be seen from the above technical scheme of the embodiment of the present application that the embodiment of the present application determines whether there is a problem with the installation of the float fixing rod by detecting the angle formed by the float fixing rod and the bottom of the water purification container. If the angle formed by the float fixing rod and the bottom of the water purification container is less than the preset angle threshold, the situation where the liquid level expression of the float is incorrect due to the installation problem of the float fixing rod is ruled out, and the subsequent float inspection steps are continued; if the angle formed by 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 a fault, and the second preset alarm action is executed to promptly remind the user that the liquid level expression of the water purifier is incorrect due to the installation problem of the float fixing rod.
[0095] S203, based on the first preset number of times, the water inlet valve is controlled to perform a burst action, so that the water in the purified water container is shaken and drives the float to shake relative to the float fixing rod.
[0096] The first preset number of times is the number of times the burst action is performed. For example, the first preset number of times can be set to 10 times.
[0097] The point-and-shoot action includes controlling the water inlet valve to be in a normally open state and a normally closed state in succession within a preset period. Specifically, a point-and-shoot action includes two control actions, namely, controlling the water inlet valve to be in a normally open state and controlling the water inlet valve to be in a normally closed state.
[0098] The preset period is the time required to perform a line of bursting action. Specifically, the preset period is divided into two time periods, during which the water inlet valve is controlled to be in a normally open state, and during the other time period, the water inlet valve is controlled to be in a normally closed state. In a specific implementation, the preset period can be set to 2 seconds, and accordingly, the preset period is divided into two 1-second periods, during which the water inlet valve is controlled to be normally open for 1 second, and the water inlet valve is controlled to be normally closed for 1 second.
[0099] Specifically, when the water pressure increases, a point-shooting action is performed to cause the water in the water purification container to shake, thereby driving the float to shake relative to the float fixing rod. The shaking of the float here refers to the floating position of the float relative to the float fixing rod; if the float fixing rod or other device shakes, thereby driving the position of the float to change, and the position of the float relative to the float fixing rod does not change, it is considered that the float has not shaken.
[0100] S205, obtaining the vertical distance between the float and the bottom of the purified water container, and the target distance threshold.
[0101] The target distance threshold indicates the water level in the water purification container. Specifically, when the water flow rate and the specifications of the water purification container are known, the target distance threshold can be estimated by the duration of opening of the water inlet valve or the water discharge valve.
[0102] In the specific implementation, refer to Figure 1 A Hall induction magnet is arranged on one side of the float close to the side wall of the clean water container, and a plurality of Hall sensors are arranged on the side wall of the clean water container. The vertical distances between the plurality of Hall sensors and the bottom of the clean water container are different from each other. The detection range of the plurality of Hall sensors covers the liquid level range of the clean water container. The Hall induction magnet on the float is detected by the plurality of Hall sensors to obtain the position of the float, that is, the vertical distance between the float and the bottom of the clean water container.
[0103] S207, determining whether the vertical distance meets the target distance threshold.
[0104] Specifically, if the result of the judgment is no, step S203 can be executed; otherwise, if the result of the judgment is yes, 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, continue to perform the point shooting action, 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, and execute step S209.
[0106] In a specific implementation, an error threshold can be set. If the difference between the vertical distance between the float and the bottom of the clean water container and the target distance threshold is less than or equal to the error threshold, it is considered whether the vertical distance meets the target distance threshold; if the difference between the vertical distance between the float and the bottom of the clean water container and the target distance threshold is greater than the error threshold, it is considered whether the vertical distance does not meet the target distance threshold.
[0107] In an exemplary embodiment, Figure 6 As shown, it is a flow chart of the second method for controlling a water purifier provided in an embodiment of the present application. After the above step S203, the following steps may be included:
[0108] S601, during the process of the water inlet valve performing the burst action, the number of times the float shakes relative to the float fixing rod is recorded.
[0109] Specifically, when the water pressure increases, a point-shooting action is performed to cause the water in the water purification container to shake, thereby driving the float to shake relative to the float fixing rod. The shaking of the float here refers to the floating position of the float relative to the float fixing rod; if the float fixing rod or other device shakes, thereby driving the position of the float to change, and the position of the float relative to the float fixing rod does not change, it is considered that the float has not shaken.
[0110] Furthermore, when the judgment result of the above step S207 is no, the following steps may be included:
[0111] S603, determining whether the shaking times is greater than a second preset times.
[0112] Specifically, if the result of the judgment is no, step S203 can be executed; otherwise, if the result of the judgment is yes, step S605 can be executed.
[0113] The number of shakes is accumulated during the execution of a float maintenance instruction.
[0114] Specifically, if the number of times the float shakes reaches a second preset number of times, it is considered that the float is not stuck on the float fixing rod. In a specific implementation, the second preset number of times can be set to 3 times.
[0115] Specifically, when the vertical distance between the float and the bottom of the clean water container does not meet the target distance threshold, it is considered that the float cannot accurately express the liquid level. If the number of shakes is less than or equal to the second preset number, the water inlet valve continues to be controlled to perform the point-shooting action until the number of shakes is greater than the second preset number. The problem of the float being stuck in the float fixing rod is eliminated. If the float still cannot accurately express the liquid level, it is determined that the float has failed.
[0116] S605, determining that the float fails, and executing a first preset alarm action.
[0117] Among them, the first preset alarm action is used to remind the user that the liquid level expression of the water purifier is incorrect due to a float failure.
[0118] It can be seen from the above technical scheme of the embodiment of the present application that the embodiment of the present application eliminates the problem of the float being stuck in 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 burst action. If the float still cannot accurately express the liquid level at this time, it is determined that the float has failed, and the first preset alarm action is executed to remind the user that the liquid level expression of the water purifier is incorrect due to the float failure.
[0119] S209, end the control of the water inlet valve.
[0120] Specifically, when the vertical distance between the float and the bottom of the clean water container meets the target distance threshold, it is considered that the float can accurately express the liquid level, and the control of the water inlet valve is terminated, and the execution of the float maintenance instruction is completed.
[0121] It can be seen from the above technical scheme of the embodiment of the present application that the embodiment of the present application increases the water pressure at the water inlet end by setting a booster device, and performs point-shot on the liquid surface of the water purification container, so that the water in the water purification container shakes, thereby driving the float to shake relative to the float fixing rod until the float can accurately express the liquid level, thereby solving the problem of stability and reliability of the float of the water purifier in long-term use, reducing the maintenance cost of the water purifier during use, and improving the safety and reliability of the water purifier.
[0122] In order to facilitate a full understanding of the solution of this application, the following is an overall description of the process of executing the float maintenance instruction. Please refer to Figure 7 , which is a flow chart of a third water purifier control method provided in an embodiment of the present application, which may specifically include:
[0123] (1) In response to a float maintenance instruction, a float anti-stuck detection is started;
[0124] (2) Record the current Hall position nA; the current Hall position nA indicates the vertical distance between the float and the bottom of the clean water 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, step (5) can be executed; otherwise, if the result of the judgment is no, step (6) can be executed;
[0128] (5) determining that the float fixing rod has failed and executing a second preset alarm action;
[0129] (6) updating the current Hall gear position nA, and determining whether the updated current Hall gear position 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, step (11) can be executed; otherwise, if the result of the judgment is no, step (7) can be executed;
[0131] (7) Open the water inlet valve K1, open it for 1 second and close it for 1 second, so that the water inlet valve is in a burst state and impacts the liquid surface; let the water waves drive the float to shake; operate 10 times, with a cumulative anti-stuck time of 10 seconds; record the number of active shaking times N of the float;
[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 the process can return to step (6);
[0134] (9) updating the current Hall gear position nA, and determining whether the updated current Hall gear position nA meets the target distance threshold;
[0135] Specifically, if the result of the judgment is yes, step (11) can be executed; otherwise, if the result of the judgment is no, step (10) can be executed;
[0136] (10) determining that the float fixing rod fails and executing a second preset alarm action;
[0137] (11) End the float anti-stuck detection.
[0138] Corresponding to the control methods of the water purifiers provided in the above-mentioned embodiments, the embodiments of the present application also provide a control device for a water purifier. Since the control device of the water purifier provided in the embodiments of the present application corresponds to the control methods of the water purifiers provided in the above-mentioned embodiments, the implementation methods of the control methods of the aforementioned water purifiers are also applicable to the control device of the water purifier provided in this embodiment and will not be described in detail in this embodiment.
[0139] See also Figure 8, which shows a schematic diagram of the structure of a control device for a water purifier provided in an embodiment of the present application. The device has the function of implementing the control method of the water purifier in the above method embodiment. The function can be implemented by hardware or by hardware executing corresponding software. Specifically, the water purifier includes a water purification container and a water inlet end. A float fixing rod is vertically arranged in the water purification container. 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. A boosting device and a water inlet valve are arranged at the water inlet end. The boosting device is used to increase the pressure of the water flow flowing into the water purification container through the water inlet valve; Figure 8 As shown, the device may include:
[0140] The first boosting module 810 is used to control the boosting device to enter a working state in response to a float maintenance instruction;
[0141] The first burst module 820 is used to control the water inlet valve to perform a burst action based on a first preset number of times, so that the water in the water purification container is shaken and drives the float to shake relative to the float fixing rod; the burst action includes controlling the water inlet valve to be in a normally open state and a normally closed state in sequence within a preset period;
[0142] A first distance module 830 is used to obtain a vertical distance between the float and the bottom of the clean water container, and a target distance threshold; the target distance threshold indicates the water level in the clean water container;
[0143] The second burst module 840 is used to control the water inlet valve to perform a burst action based on a first preset number of times when the vertical distance does not meet the target distance threshold, and update the vertical distance until the updated vertical distance meets the target distance threshold, and then stop controlling the water inlet valve.
[0144] In an exemplary embodiment, the second burst firing module includes:
[0145] A shaking recording module is used to record the number of shakings of the float relative to the float fixing rod during the process of the water inlet valve performing the burst action;
[0146] A shaking judgment module, used for judging whether the shaking times are greater than a second preset times when the vertical distance does not meet the target distance threshold;
[0147] The first alarm module is used to control the water inlet valve to perform a shot action based on a first preset number of times and update the shaking times when the judgment is no, until the updated shaking times are greater than a second preset number of times, it is determined that the float has a fault and the first preset alarm action is executed.
[0148] In an exemplary embodiment, the float fixing rod has a built-in heating device; the first boosting module comprises:
[0149] A first heating module, used for controlling the heating device to enter a working state based on a first preset time length;
[0150] A second distance module is used to obtain the vertical distance between the float and the bottom of the clean water container;
[0151] The second boost module is used to control the boost device to enter a working state when the vertical distance does not meet the target distance threshold.
[0152] In an exemplary embodiment, the first heating module comprises:
[0153] An angle judgment module, used to judge whether the angle formed by 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 a working state based on a first preset time period when the result of the judgment is no.
[0155] In an exemplary embodiment, the device further comprises a second alarm module for alarming when a failure occurs in the determined float fixing rod, the second alarm module comprising:
[0156] The second alarm module is used to determine that the float fixing rod has a fault and execute a second preset alarm action when the angle formed by the float fixing rod and the bottom of the water purification container is less than a preset angle threshold.
[0157] In an exemplary embodiment, the water purifier further includes a drainage end, and the drainage end is provided with a drainage valve; the device further includes a first instruction triggering module for triggering a float maintenance instruction when the float cannot accurately express the liquid level, and the first instruction triggering module includes:
[0158] A target determination module, used to determine a target distance threshold based on the duration of time that the target valve is in a normally open state; the target valve is a valve in a normally open state among the water inlet valve and the drain valve;
[0159] A third distance module is used to obtain the vertical distance between the float and the bottom of the clean water container;
[0160] The first trigger module is used to trigger the float maintenance instruction when the vertical distance does not meet the target distance threshold.
[0161] In an exemplary embodiment, the device further includes a second instruction triggering module for triggering a float maintenance instruction when the accumulated working time of the water purifier reaches a second preset time, and the second instruction triggering module includes:
[0162] The time reset module is used to reset the accumulated working time of the water purifier to zero;
[0163] The duration update module is used to update the accumulated working time when the water purifier is in working state;
[0164] The second trigger module is used to trigger the float maintenance instruction when the updated cumulative working time reaches a second preset time.
[0165] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0166] An embodiment of the present application provides an electronic device, which 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 any one of the water purifier control methods provided in the above method embodiments.
[0167] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required for functions, etc.; the data storage area can store data created according to the use of the device, etc. In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory can also include a memory controller to provide the processor with access to the memory.
[0168] The method embodiments provided in the embodiments of the present application may be executed in a computer terminal, a server or a similar computing device, that is, the above-mentioned electronic device may include a computer terminal, a server or a similar computing device. Fig. 9 is a hardware structure block diagram of a computer device for running a water purifier control method provided by an embodiment of the present invention, such as Fig. 9 As shown, the internal structure of the computer device may include but is not limited to: a processor, a network interface and a memory. The processor, network interface and memory in the computer device may be connected via a bus or other means. Fig. 9 The example of connecting through bus is taken in the following.
[0169] Among them, the processor (or CPU (Central Processing Unit)) is the computing core and control core of the computer device. The network interface may optionally include a standard wired interface, a wireless interface (such as WI-FI, a mobile communication interface, etc.). Memory is a memory device in a computer device for storing programs and data. It is understandable 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 away from the aforementioned processor. The memory provides a storage space, which stores the operating system of the electronic device, including but not limited to: Windows system (an operating system), Linux (an operating system), Android (Android, a mobile operating system) system, IOS (a mobile operating system) system, etc., and the present invention does not limit this; and, in the storage space, one or more instructions suitable for being loaded and executed by the processor are also stored, and these instructions can be one or more computer programs (including program codes). In the embodiment of this specification, the processor loads and executes one or more instructions stored in the memory to implement the control method of the water purifier provided in the above method embodiment.
[0170] An embodiment of the present application also provides a computer-readable storage medium, which can be set 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 one of the water purifier control methods provided in the above method embodiments.
[0171] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.
[0172] It should be noted that the above-mentioned sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of this specification are described. Other embodiments are within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0173] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0174] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0175] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for controlling a water purifier, characterized in that: The water purifier comprises a water purification container and a water inlet end, a float fixing rod is vertically arranged in the water purification container, a float is sleeved on the float fixing rod, a 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, and a pressure boosting device and a water inlet valve are arranged at the water inlet end, and the pressure boosting device is used to increase the pressure of the water flow flowing into the water purification container through the water inlet valve; the method comprises: In response to the float maintenance instruction, controlling the boosting device to enter a working state; Based on a first preset number of times, the water in the water purification container is controlled to perform a burst action, so that the water in the water purification container is shaken and the float is driven to shake relative to the float fixing rod; the burst action includes successively controlling the water inlet valve to be in a normally open state and a normally closed state within a preset period; Obtaining a vertical distance between the float and the bottom of the clean water container, and a target distance threshold; the target distance threshold indicates a water level in the clean water container; When the vertical distance does not meet the target distance threshold, the water inlet valve is controlled to perform the burst action based on the first preset number of times, and the vertical distance is updated until the updated vertical distance meets the target distance threshold, and the control of the water inlet valve is terminated.
2. The control method of the water purifier according to claim 1, characterized in that: When the vertical distance does not meet the target distance threshold, controlling the water inlet valve to perform the burst action based on the first preset number of times to update the vertical distance includes: During the process of the water inlet valve performing the burst action, recording the number of times the float shakes relative to the float fixing rod; When the vertical distance does not meet the target distance threshold, determining whether the shaking times is greater than a second preset times; In the case of the judgment being no, the water inlet valve is controlled to perform the shot action based on the first preset number of times, and the shaking times are updated until the updated shaking times are greater than the second preset number of times, and it is determined that the float has failed, and the first preset alarm action is executed.
3. The control method of the water purifier according to claim 1, characterized in that: The float fixing rod has a built-in heating device; The step of controlling the boosting device to enter a working state comprises: Controlling the heating device to enter a working state based on a first preset time length; Obtaining the vertical distance between the float and the bottom of the clean water container; When the vertical distance does not meet the target distance threshold, the boost device is controlled to enter a working state.
4. The control method of the water purifier according to claim 3, characterized in that: The controlling the heating device to enter a working state based on a first preset duration includes: Determining whether the angle formed by the float fixing rod and the bottom of the water purification container is less than a preset angle threshold; When the result of the judgment is no, the heating device is controlled to enter a working state based on the first preset time length.
5. The control method of the water purifier according to claim 4, characterized in that: The method further comprises: When the angle formed by the float fixing rod and the bottom of the water purification container is smaller than the preset angle threshold, it is determined that the float fixing rod has a fault, and a second preset alarm action is executed.
6. The control method of a water purifier according to any one of claims 1 to 5, characterized in that: The water purifier further comprises a drainage end, wherein the drainage end is provided with a drainage valve; and the method further comprises: Determining the target distance threshold based on the duration of the target valve being in a normally open state; the target valve is the valve in the normally open state between the water inlet valve and the drain valve; Obtaining the vertical distance between the float and the bottom of the clean water container; When the vertical distance does not meet the target distance threshold, the float maintenance instruction is triggered.
7. The control method of the water purifier according to claim 6, characterized in that: After triggering the float maintenance instruction, the method further includes: Setting the accumulated working time of the water purifier to zero; When the water purifier is in working state, updating the accumulated working time; When the updated accumulated working time reaches a second preset time, the float maintenance instruction is triggered.
8. A control device for a water purifier, characterized in that: The water purifier comprises a water purification container and a water inlet end, a float fixing rod is vertically arranged in the water purification container, 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 water inlet end is provided with a booster device and a water inlet valve, the booster device is used to increase the pressure of the water flow flowing into the water purification container through the water inlet valve; the device comprises: A first boosting module, used for controlling the boosting device to enter a working state in response to a float maintenance instruction; A first burst module is used to control the water inlet valve to perform a burst action based on a first preset number of times, so that the water in the water purification container shakes and drives the float to shake relative to the float fixing rod; the burst action includes successively controlling the water inlet valve to be in a normally open state and a normally closed state within a preset period; A first distance module, used to obtain a vertical distance between the float and the bottom of the clean water container, and a target distance threshold; the target distance threshold indicates a water level in the clean water container; The second burst module is used to control the water inlet valve to perform the burst action based on the first preset number of times when the vertical distance does not meet the target distance threshold, and update the vertical distance until the updated vertical distance meets the target distance threshold, and then end controlling the water inlet valve.
9. An electronic device, characterized in that: It comprises 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 7.
10. A computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the control method of the water purifier according to any one of claims 1 to 7.
Citation Information
Patent Citations
Direct-drinking water purifier without sewage discharging
CN200951965Y
Multiple-protecting control system of water purification device
CN202214266U
Ultrasonic wave air dissolving system
CN205258048U
Water purifier
CN215756830U
device FOR DISTRIBUTING A DOSE OF A LIQUID PRODUCT IN A TANK PARTICULARLY IN A WATER-BASED CASSETTE
IT8653019V0
