CN110244580B - Method and device for controlling replacement of water bucket, drinking water supply device and storage medium - Google Patents
Method and device for controlling replacement of water bucket, drinking water supply device and storage medium Download PDFInfo
- Publication number
- CN110244580B CN110244580B CN201810188052.4A CN201810188052A CN110244580B CN 110244580 B CN110244580 B CN 110244580B CN 201810188052 A CN201810188052 A CN 201810188052A CN 110244580 B CN110244580 B CN 110244580B
- Authority
- CN
- China
- Prior art keywords
- water
- container
- bucket
- full
- working time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 744
- 239000003651 drinking water Substances 0.000 title claims abstract description 76
- 235000020188 drinking water Nutrition 0.000 title claims abstract description 75
- 238000000034 method Methods 0.000 title claims abstract description 67
- 238000001514 detection method Methods 0.000 claims abstract description 25
- 230000008569 process Effects 0.000 claims abstract description 16
- 230000001502 supplementing effect Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 6
- 235000014676 Phragmites communis Nutrition 0.000 claims description 5
- 235000012206 bottled water Nutrition 0.000 claims 1
- 238000004519 manufacturing process Methods 0.000 abstract 1
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 3
- 238000005086 pumping Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Devices For Dispensing Beverages (AREA)
Abstract
The invention discloses a method and a device for controlling replacement of a water bucket, a drinking water supply device and a storage medium. Wherein the method is applied to a drinking water supply device which comprises a water container and a water pump, and comprises the following steps: when the water in the water container is detected to be not full, the water is replenished for the water container from the water bucket through the water pump; in the process of replenishing water for the water container, determining the working time of the water pump and detecting the water level information of the water container; and judging whether the water bucket is lack of water or not according to the working time of the water pump and the water level information of the water container. According to the method, other parts (such as a weight detector and the like) are not required to be added, whether the water bucket is lack of water or not is determined only according to the relation between the working time of the water pump and the water level of the water container, the structure is simple, the production is easy, the realization is easy, the detection cost is saved, and the use experience of a user is improved.
Description
Technical Field
The invention relates to the technical field of household appliances, in particular to a control method and a control device for replacing a water barrel, a drinking water supply device and a computer readable storage medium.
Background
At present, the lower-mounted water dispenser is more popular with people because the appearance and the sanitation of the lower-mounted water dispenser are better than those of the upper-mounted water dispenser. However, the underneath type water dispenser has a problem of poor experience: the amount of water in the barreled water cannot be visually seen.
In the related art, whether the water barrel contains water or not is usually judged by detecting the weight of the water barrel, but how to accurately obtain the weight of the water barrel in the underlying water dispenser is a difficult problem, and the cost of a detection mode is high; or, the floater of the bucket is used for judging whether water exists in the bucket or not, but the floater in the bucket is easy to damage, and the water pumping component of the bucket has a complex structure, so that the detection mode has higher cost.
Disclosure of Invention
The object of the present invention is to solve at least to some extent one of the above mentioned technical problems. To this end, a first object of the present invention is to propose a control method of replacement of a water tub. The method determines whether the water bucket is lack of water according to the relation between the working time of the water pump and the water level of the water container, has a simple structure, is easy to produce and realize, saves the detection cost, and improves the use experience of a user.
A second object of the present invention is to provide a control apparatus for replacement of a water tub.
A third object of the present invention is to provide a drinking water supply apparatus.
A fourth object of the invention is to propose a computer-readable storage medium.
In order to achieve the above object, a method for controlling replacement of a water bucket according to an embodiment of a first aspect of the present invention is applied to a drinking water supply apparatus including a water container and a water pump, the method including: when the water in the water container is detected to be not full, water is supplemented for the water container from the water bucket through a water pump; determining the working time of the water pump and detecting the water level information of the water container in the process of replenishing water to the water container; and judging whether the water bucket is lack of water or not according to the working time of the water pump and the water level information of the water container.
According to an embodiment of the present invention, determining whether the water tub is short of water according to the operating time of the water pump and the water level information of the water container includes: judging whether the working time of the water pump is greater than or equal to a target working time or not, wherein the target working time is used for indicating the maximum working time of the water pump when the water container is full of water; judging whether the water container is full of water or not according to the water level information; if the working time of the water pump is more than or equal to the target working time and the water in the water container is judged to be not full according to the water level information, the water shortage of the water bucket is judged; and if the working time of the water pump is less than the target working time and the water container is judged to be full of water according to the water level information, the water bucket is judged to have water.
According to one embodiment of the invention, the target operating time is determined by: acquiring the size of the water container; and determining the target working time according to the size of the water container.
According to one embodiment of the present invention, the determining the target operating time according to the size of the water container includes: acquiring the flow speed and the flow of the water pump; and determining the target working time according to the flow speed and flow of the water pump and the size of the water container.
According to an embodiment of the present invention, the drinking water supply apparatus further includes a gate control switch, and after it is judged that the water tub is short of water, the method further includes: detecting whether the gating switch is switched once; if the door control switch is switched once, the water bucket is judged to be replaced by a new water bucket, and whether the water in the water container is not full is detected.
According to an embodiment of the present invention, when it is judged that the water tub lacks water, the method further includes: lighting a water shortage icon and/or a prompting lamp, and flashing the water shortage icon and/or the prompting lamp at a preset frequency; and when the water bucket is judged to be replaced by a new water bucket, the water shortage icon and/or the prompting lamp is/are turned off.
According to an embodiment of the invention, before detecting the water full condition of the water container, the method further comprises: detecting whether the drinking water supply device is in a power-on state; when the water supply device is detected to be in a power-on state, executing the step of detecting the full water state of the water container, and when the water container is detected to be full of water, exiting the power-on state; and when the water supply device is detected to be in a non-power-on state, executing the step of detecting the water full state of the water container.
According to an embodiment of the present invention, the target operation time depends on whether the drinking water supply device is powered on, wherein the target operation time when the drinking water supply device is powered on is longer than the target operation time when the drinking water supply device is not powered on.
In order to achieve the above object, a control device for changing a water bucket according to an embodiment of a second aspect of the present invention is applied to a drinking water supply device including a water container and a water pump, the control device including: the water full state detection module is used for detecting whether the water in the water container is not full; the water replenishing module is used for replenishing water for the water container from the water bucket through a water pump when the water in the water container is detected to be not full; the working time determining module is used for determining the working time of the water pump in the process of supplementing water to the water container; the water level detection module is used for detecting water level information of the water container; and the judging module is used for judging whether the water bucket is lack of water or not according to the working time of the water pump and the water level information of the water container.
According to an embodiment of the present invention, the determining module includes: the first judgment unit is used for judging whether the working time of the water pump is greater than or equal to a target working time, wherein the target working time is used for indicating the maximum working time of the water pump when the water container is full of water; the second judging unit is used for judging whether the water container is full of water or not according to the water level information; the judging unit is used for judging that the water bucket is lack of water when the working time of the water pump is more than or equal to the target working time and the water level information judges that the water in the water container is not full; the determination unit is further configured to: and when the working time of the water pump is shorter than the target working time and the water container is judged to be full of water according to the water level information, judging that the water bucket has water.
According to an embodiment of the present invention, the control apparatus further includes: the acquisition module is used for acquiring the size of the water container; and the determining module is used for determining the target working time according to the size of the water container.
According to an embodiment of the present invention, the determining module is specifically configured to: acquiring the flow speed and the flow of the water pump; and determining the target working time according to the flow speed and flow of the water pump and the size of the water container.
According to an embodiment of the present invention, the drinking water supply apparatus further includes a gate switch, and the control apparatus further includes: the first detection module is used for detecting whether the door control switch is switched once after the water shortage of the water bucket is judged; wherein, the water full state detection module is further configured to: and when the door control switch is switched once, the water tank is judged to be replaced by a new water tank, and whether the water in the water container is not full is detected.
According to an embodiment of the present invention, the control apparatus further includes: and the prompting module is used for lighting a water shortage icon and/or a prompting lamp when the water shortage of the bucket is judged, flashing the water shortage icon and/or the prompting lamp at a preset frequency, and extinguishing the water shortage icon and/or the prompting lamp when a new bucket is judged to be replaced.
According to an embodiment of the present invention, the control apparatus further includes: and the second detection module is used for detecting whether the drinking water supply device is in a power-on state or not before detecting the water full state of the water container.
According to an embodiment of the present invention, the target operation time depends on whether the drinking water supply device is powered on, wherein the target operation time when the drinking water supply device is powered on is longer than the target operation time when the drinking water supply device is not powered on.
In order to achieve the above object, a drinking water supply apparatus according to a third embodiment of the present invention includes: the water supply system comprises a water container, a water pump, a door control switch, a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the water pump is connected with the processor, and the water pump supplies water to the water container from a water bucket when in a working state; the gate control switch is connected with the processor, wherein the processor judges whether a new water bucket is replaced currently by detecting the switching times of the gate control switch; when the processor executes the program, the control method for replacing the water bucket according to the embodiment of the first aspect of the invention is realized.
To achieve the above object, a non-transitory computer-readable storage medium according to a fourth embodiment of the present invention is provided, on which a computer program is stored, the program, when executed by a processor, implementing the method for controlling replacement of a water bucket according to the first embodiment of the present invention.
According to the control method, the control device, the drinking water supply device and the computer readable storage medium for replacement of the water bucket of the embodiment of the invention, when the water in the water container is detected to be not full, the water is supplemented from the water bucket to the water container through the water pump, the working time of the water pump is determined in the process of supplementing water to the water container, the water level information of the water container is detected, and whether the water bucket is deficient or not is judged according to the working time of the water pump and the water level information of the water container. Need not to increase other parts promptly (like weight detector etc.), only need confirm whether the cask lacks water according to the relation of the operating time of water pump and flourishing water container water level, simple structure easily produces, easily realizes, has saved the detection cost, has promoted user's use and has experienced.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of a control method of replacement of a water tub according to one embodiment of the present invention;
FIG. 2(a) is a schematic structural diagram of a gated switch according to one embodiment of the invention;
fig. 2(b) is a schematic structural diagram of a gated switch according to another embodiment of the invention;
fig. 2(c) is a schematic structural diagram of a gated switch according to yet another embodiment of the invention;
fig. 3 is a flowchart of a method of controlling replacement of a water tub according to an embodiment of the present invention;
fig. 4 is a schematic structural view of a control apparatus for replacement of a water tub according to an embodiment of the present invention;
fig. 5 is a schematic structural view of a control apparatus for replacement of a water tub according to an embodiment of the present invention;
fig. 6 is a schematic structural view of a control apparatus for replacement of a water tub according to another embodiment of the present invention;
fig. 7 is a schematic structural view of a control apparatus for replacement of a water tub according to still another embodiment of the present invention;
fig. 8 is a schematic structural view of a control apparatus for replacement of a water tub according to still another embodiment of the present invention;
fig. 9 is a schematic structural view of a control apparatus for replacement of a water tub according to still another embodiment of the present invention;
fig. 10 is a schematic structural view of a drinking water supply apparatus according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A control method, a control apparatus, a drinking water supply apparatus, and a computer-readable storage medium for replacement of a water bucket according to embodiments of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method of controlling replacement of a water tub according to one embodiment of the present invention. It should be noted that the control method for replacing the water bucket according to the embodiment of the present invention may be applied to the control device for replacing the water bucket according to the embodiment of the present invention, and the control device may be configured in the drinking water supply device. The drinking water supply device can comprise a water container and a water pump, and the water pump is used for supplementing water to the water container from the water barrel when in a working state. It should be noted that, in the embodiment of the present invention, the drinking water supply device may be a water dispenser, a water purifier, or the like, for example, the drinking water supply device may be a bottom-mounted water dispenser or the like.
As shown in fig. 1, the control method of the replacement of the water tub may include:
and S110, when the water in the water container is detected to be not full, replenishing water for the water container from the water bucket through the water pump.
Alternatively, the water level information of the water container may be detected first, and the full water state in the water container may be determined according to the water level information. And when the water in the water container is detected to be not full, the water pump is started, and water is supplemented to the water container from the water barrel through the water pump. In the present exemplary embodiment, the water container is understood to be a container for holding water, for example, a water storage tank, a hot tank, a cold tank, etc., in a drinking water supply device.
And S120, determining the working time of the water pump and detecting the water level information of the water container in the process of replenishing water to the water container.
Optionally, during the water replenishing process of the water container by pumping water from the water bucket through the water pump, the current working time of the water pump from the starting can be determined, and the current water level information of the water container can be detected. As an example, the current water level information of the water container may be detected by a water level detecting device such as a water level sensor.
And S130, judging whether the water bucket is lack of water or not according to the working time of the water pump and the water level information of the water container.
Optionally, whether the water bucket is lack of water is judged according to the time length of the water pump and the water level change of the water container. As an example, it may be determined whether the operation time of the water pump is greater than or equal to a target operation time, wherein the target operation time is used to indicate a maximum operation time of the water pump from the empty water container to the full water container; judging whether the water container is full of water or not according to the water level information, and if the working time of the water pump is more than or equal to the target working time and the water container is judged not to be full of water according to the water level information, judging that the water bucket is short of water; and if the working time of the water pump is less than the target working time and the water container is judged to be full of water according to the water level information, judging that the water bucket has water.
It should be noted that, in an embodiment of the present invention, the target operating time may be preset, for example, a calibration value that may be preset according to actual experience; alternatively, the target operating time may also be determined by: and acquiring the size of the water container, and determining the target working time according to the size of the water container. That is, the maximum operating time of the water pump from the empty state to the full state of the water container can be determined by the size of the water container.
As an example, the specific implementation of determining the target working time according to the size of the water container may be as follows: and acquiring the flow speed and flow of the water pump, and determining the target working time according to the flow speed and flow of the water pump and the size of the water container. That is, the maximum operating time of the water pump from the empty state to the full state of the water container can be determined according to the volume of the water container, the flow rate and the flow rate of the water pump. For example, in the case that the flow rate and the flow rate of the water pump are the same, the larger the volume of the water container is, the larger the corresponding target working time is; or, under the condition that the volume of the water containers is the same, the larger the flow speed and the flow of the water pump are, the smaller the corresponding target working time is.
It should be noted that, in an embodiment of the present invention, the target operation time depends on whether the drinking water supply device is powered on, wherein the target operation time when the drinking water supply device is powered on is longer than the target operation time when the drinking water supply device is not powered on. That is, the operation state of the drinking water supply device can be divided into a powered-on state and a non-powered-on state, wherein, since the drinking water supply device also needs a certain time in the process of powering on, when the target operation time is determined, the target operation time of the drinking water supply device in the powered-on state should be longer than the target operation time of the drinking water supply device in the non-powered-on state, that is, the target operation time determined in the powered-on state should be longer, so that the accuracy of the determination result of whether the water tank is lack of water can be ensured.
According to the control method for replacing the water bucket, when the water in the water container is detected to be not full, the water is replenished for the water container from the water bucket through the water pump, in the process of replenishing water for the water container, the working time of the water pump is determined, the water level information of the water container is detected, and whether the water bucket is lack of water or not is judged according to the working time of the water pump and the water level information of the water container. Need not to increase other parts promptly (like weight detector etc.), only need confirm whether the cask lacks water according to the relation of the operating time of water pump and flourishing water container water level, simple structure easily produces, easily realizes, has saved the detection cost, has promoted user's use and has experienced.
In order to further enhance the user experience and implement the function of detecting whether the water bucket is replaced, optionally, in an embodiment of the present invention, the drinking water supply device may further include a door control switch. Wherein, in an embodiment of the present invention, after determining that the water tub is out of water, the control method may further include: and detecting whether the door control switch is opened or closed once, if the door control switch is opened or closed once, judging that a new water bucket is replaced, and detecting whether the water in the water container is not full. For example, the drinking water supply device is a lower-mounted drinking water machine, the lower-mounted drinking water machine may include a cavity for placing the water bucket, and one side of the cavity may be provided with a door through which the water bucket is placed into the cavity or taken out of the cavity.
In an embodiment of the present invention, a gate control switch may be provided on the door, and whether the water bucket replacement is performed is determined by the gate control switch. For example, when the door control switch is detected to be opened and closed, the water bucket can be indicated to be replaced, whether the water in the water container is not full can be detected, if the water is not full, the water pump is started, and the step of supplementing water for the water container from the water bucket through the water pump is continuously executed; and if the water container is full of water, the water pump is closed.
Optionally, in an embodiment of the present invention, the type of the gating switch may be limited according to requirements, for example, the gating switch may include a mechanical gating switch, a hall gating switch, a reed-type gating switch, and the like. For example, in the case of a mechanical door-controlled switch, as shown in fig. 2(a), the mechanical door-controlled switch may include a main body, a movable contact connected to the main body, and two leads connected to the main body, wherein when a door on a cavity in which a water bucket is placed in the drinking water supply device is closed, the movable contact is pressed, a mechanical contact connected to the movable contact contacts a spring plate to form a closed state, and resistance values of the two leads are small; when the door is opened, the movable contact extends, a mechanical point connected with the movable contact is separated from the spring piece to form a disconnected state, the resistance values of the two lead wires are large, and therefore whether the door control switch is switched once or not can be judged by detecting the resistance values of the two lead wires.
As another example, taking a hall-type door-controlled switch as an example, as shown in fig. 2(b), the hall-type door-controlled switch may include a hall module and a magnet, the hall-type door-controlled switch may be disposed on a door frame of the drinking water supply device, the magnet may be disposed on the door, and when the door is closed, the magnet is close to the hall module to form a closed state; when the door is opened, the magnet leaves the hall module, forming an off state. Thus, it is possible to determine whether the gate switch has been switched once by detecting the potential difference.
As another example, taking a reed-type gated switch as an example, as shown in fig. 2(c), the reed-type gated switch may include a reed module and a magnet. When the door is closed, the magnet is close to the reed pipe module to form a closed state; when the door is opened, the magnet leaves the dry reed pipe module to form a disconnected state.
In order to further improve the user experience, so that the user can more intuitively know whether the water bucket currently has water, optionally, in an embodiment of the present invention, when it is determined that the water bucket is short of water, the control method may further include: lighting a water shortage icon and/or a prompting lamp, and flashing the water shortage icon and/or the prompting lamp at a preset frequency; and when the water bucket is judged to be replaced by a new water bucket, the water shortage icon and/or the prompting lamp is/are turned off. That is, when the water shortage of the water bucket is judged, the water shortage icon and/or the prompting lamp can be flickered to remind a user that the water bucket is anhydrous and needs to be replaced. And during the water shortage period of the water bucket, when the opening and closing actions of the door control closing are detected, the water bucket is replaced completely, and the water shortage icon and/or the prompting lamp is/are turned off.
To improve the usability and feasibility of the present invention, optionally, in an embodiment of the present invention, before detecting the water full state of the water container, the control method may further include: detecting whether the drinking water supply device is in a power-on state; when the water supply device is detected to be in a power-on state, executing the step of detecting the full water state of the water container, and when the water container is detected to be full of water, exiting the power-on state; and when the water supply device is detected to be in a non-power-on state, executing the step of detecting the water full state of the water container.
That is to say, the working state of the drinking water supply device can be divided into a power-on state and a non-power-on state, wherein when the drinking water supply device is in the power-on state, the full water state of the water container can be detected firstly, if the water container is in the full water state, the power-on state is exited, if the water container is detected to be not full, the step of supplementing water for the water container from the water bucket through the water pump is executed, and when the water container is detected to be full, the power-on state is exited. And when the drinking water supply device is in a non-powered state, the step of detecting the water full state of the water container can be executed, wherein when the water in the water container is detected to be not full, the water pump is started, and the step of supplementing water for the water container from the water bucket through the water pump is executed.
In order that those skilled in the art will be able to more clearly understand the present invention, the following description will be given by way of example.
For example, as shown in fig. 3, first, whether the drinking water supply device is powered on may be detected. Secondly, when the drinking water supply device is in a power-on state, the full water state of the water container is detected, and if the drinking water supply device is full of water, the water pump is turned off and the drinking water supply device is out of the power-on state. And if the water is detected to be not full, the water pump is turned on, and the full state of the water is detected. In the process of replenishing water for the water container from the bucket through the water pump, when the working time T of the water pump is less than the maximum working time T1 of the power-on water pump (namely the target working time in the power-on state), if the water in the water container is full, the water pump is closed, and the power-on state is exited; if the working time T of the water pump is more than or equal to the maximum working time T1 of the power-on water pump and the water in the water container is not full, the water pump is closed, the water bucket is judged to be water-free, and the water shortage icon flickers to prompt a user to replace the water bucket. When the door control switch is detected once, the water bucket is replaced, the water shortage icon is turned off, the water pump is turned on, the water full state is detected, and the previous steps are repeated.
And thirdly, when the drinking water supply device is in a non-powered state, the full water state of the water container can be detected. And if the water is not full, the water pump is started, and the full state of the water is detected in the process of replenishing water to the water container through the water pump. When the working time T of the water pump is less than the maximum working time T2 of the water pump (namely the target working time in the non-power-on state) and the water container is detected to be full of water, the water pump is closed; if the working time T of the water pump is more than or equal to the maximum working time T2 of the power-on water pump and the water in the water container is detected to be not full, the water pump is closed, the water bucket is judged to be anhydrous, and the water shortage icon flickers at the moment to prompt a user to replace the water bucket. After the door control switch is switched once, the water shortage icon is turned off when the water bucket is replaced, the water pump is turned on, the full water state is detected, and the previous steps are repeated.
In summary, in the control method for replacing the bucket in the embodiment of the invention, whether the bucket has water or not is determined according to the relation between the working time of the water pump and the water level of the water container, so as to remind a user that the bucket has no water and replace the bucket. The motion of replacing the water bucket is determined by the opening and closing of the lower door of the water bucket. And after the bucket is determined to be replaced, the control action of pumping water is recovered. From this, at whole in-process, need not to increase other parts (like weight detector etc.), only need confirm whether the cask lacks water according to the relation of the operating time of water pump and flourishing water container water level, simple structure easily produces, easily realizes, has saved the detection cost, has promoted user's use and has experienced.
In correspondence with the control methods for replacing the water bucket provided in the above embodiments, an embodiment of the present invention further provides a control device for replacing the water bucket, and since the control device for replacing the water bucket provided in the embodiment of the present invention corresponds to the control methods for replacing the water bucket provided in the above embodiments, the embodiments of the control methods for replacing the water bucket described above are also applicable to the control device for replacing the water bucket provided in the embodiment, and will not be described in detail in the embodiment. Fig. 4 is a schematic structural view of a control apparatus for replacement of a water tub according to an embodiment of the present invention. It should be noted that the control device for replacing the water bucket according to the embodiment of the present invention may be disposed in the drinking water supply device. The drinking water supply device can comprise a water container and a water pump, and the water pump is used for supplementing water to the water container from the water barrel when in a working state.
As shown in fig. 4, the control device 400 for replacement of the water tub may include: the water level detection module comprises a full water state detection module 410, a water supplementing module 420, an operating time determination module 430, a water level detection module 440 and a judgment module 450.
Specifically, the water full state detection module 410 is used for detecting whether the water in the water container is not full.
The water replenishing module 420 is used for replenishing water for the water container from the water bucket through the water pump when the water in the water container is detected to be not full.
The working time determining module 430 is used for determining the working time of the water pump in the process of replenishing water to the water container.
The water level detection module 440 is used for detecting water level information of the water container.
The judging module 450 is used for judging whether the water bucket is lack of water according to the working time of the water pump and the water level information of the water container. As an example, as shown in fig. 5, the determining module 450 may include: a first determination unit 451, a second determination unit 452, and a determination unit 453. The first judging unit 451 is used for judging whether the working time of the water pump is greater than or equal to a target working time, wherein the target working time is used for indicating the maximum working time of the water pump when the water container is full of water; the second judging unit 452 is configured to judge whether the water container is full of water according to the water level information; the determination unit 453 is used for determining that the water bucket is short of water when the working time of the water pump is greater than or equal to the target working time and the water level information is used for determining that the water container is not full of water; determination unit 453 is further configured to: when the working time of the water pump is shorter than the target working time and the water container is judged to be full of water according to the water level information, the water bucket is judged to have water.
It should be noted that, in an embodiment of the present invention, the target operating time may be preset, for example, a calibration value that may be preset according to actual experience; alternatively, it can be determined by the size of the water container. Optionally, in an embodiment of the present invention, as shown in fig. 6, the control device 400 may further include: an acquisition module 460 and a determination module 470. Wherein, the obtaining module 460 can be used for obtaining the size of the water container; the determining module 470 is used for determining the target working time according to the size of the water container. As an example, the determining module 470 is specifically configured to: and acquiring the flow speed and flow of the water pump, and determining the target working time according to the flow speed and flow of the water pump and the size of the water container.
It should be noted that, in an embodiment of the present invention, the target operation time depends on whether the drinking water supply device is powered on, wherein the target operation time when the drinking water supply device is powered on is longer than the target operation time when the drinking water supply device is not powered on.
In order to further enhance the user experience and implement the function of detecting whether the water bucket is replaced, optionally, in an embodiment of the present invention, the drinking water supply device further includes a door control switch. In an embodiment of the present invention, as shown in fig. 7, the control device 400 may further include: a first detection module 480. The first detecting module 480 may be configured to detect whether the door control switch is turned on or off once after the water shortage of the water bucket is determined. In an embodiment of the present invention, the full water status detection module 410 may further be configured to: and when the door control switch is switched once, the water tank is judged to be replaced by a new water tank, and whether the water in the water container is not full is detected.
In order to further enhance the user experience and make the user more intuitively know whether the water bucket currently contains water, optionally, in an embodiment of the present invention, as shown in fig. 8, the control device 400 may further include: a prompt module 490. The prompting module 490 is configured to light a water shortage icon and/or a prompting lamp when it is determined that the water tank is short of water, flash the water shortage icon and/or the prompting lamp at a preset frequency, and extinguish the water shortage icon and/or the prompting lamp when it is determined that the water tank is replaced with a new one.
In order to improve the usability and feasibility of the present invention, optionally, in an embodiment of the present invention, as shown in fig. 9, the control device 400 may further include: a second detecting module 4100, configured to detect whether the drinking water supply apparatus is powered on before detecting a water full state of the water container.
According to the control device for replacing the water bucket, when the water in the water container is detected to be not full, the water is supplemented for the water container from the water bucket through the water pump, in the process of supplementing water for the water container, the working time of the water pump is determined, the water level information of the water container is detected, and whether the water bucket is lack of water or not is judged according to the working time of the water pump and the water level information of the water container. Need not to increase other parts promptly (like weight detector etc.), only need confirm whether the cask lacks water according to the relation of the operating time of water pump and flourishing water container water level, simple structure easily produces, easily realizes, has saved the detection cost, has promoted user's use and has experienced.
In order to realize the embodiment, the invention also provides a drinking water supply device.
Fig. 10 is a schematic structural view of a drinking water supply apparatus according to an embodiment of the present invention. As shown in fig. 10, the drinking water supply apparatus 1000 may include: water container 1010, water pump 1020 (not shown), door control switch 1030, and electrical control panel 1040. The electronic control board 1040 may include a memory, a processor, and a computer program stored in the memory and executable on the processor.
As shown in fig. 10, the water pump 1020 is connected to the processor, and when the water pump 1020 is in an operating state, the water container 1010 is replenished with water from the water bucket a;
the gate control switch 1030 is connected with the processor, wherein the processor judges whether a new water bucket is replaced currently by detecting the switching times of the gate control switch 1030;
when the processor executes the program, the control method for replacing the water bucket according to any one of the above embodiments of the invention is realized.
In order to achieve the above-mentioned embodiments, the present invention also proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the control method of water bucket replacement as described in any of the above-mentioned embodiments of the present invention.
In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (16)
1. A control method for replacing a bucket is characterized in that the method is applied to a drinking water supply device, the drinking water supply device comprises a water container, a water pump, a door and a door control switch, the bucket is placed in a cavity of the drinking water supply device, the openable door is arranged on the cavity, the door control switch is arranged on the door, the door control switch is one of a mechanical door control switch, a Hall door control switch and a reed pipe type door control switch, the door control switch is connected with a processor, and the processor judges whether a new bucket is replaced currently or not by detecting the opening and closing times of the door control switch;
the method comprises the following steps:
when the water in the water container is detected to be not full, the water pump is used for replenishing water for the water container from the water bucket;
determining the working time of the water pump and detecting the water level information of the water container in the process of replenishing water to the water container;
judging whether the water bucket is lack of water or not according to the working time of the water pump and the water level information of the water container;
after the water shortage of the water bucket is judged, whether the door control switch is turned on or off once is detected;
if the door control switch is switched once, the water bucket is judged to be replaced by a new water bucket, and whether the water in the water container is not full is detected;
if the water in the water container is detected to be not full, starting the water pump, and continuing to perform the step of supplementing water from the water barrel to the water container through the water pump;
and if the water container is full of water, the water pump is closed.
2. The control method of claim 1, wherein determining whether the water tub is short of water based on the operation time of the water pump and the water level information of the water container comprises:
judging whether the working time of the water pump is greater than or equal to a target working time or not, wherein the target working time is used for indicating the maximum working time of the water pump when the water container is full of water;
judging whether the water container is full of water or not according to the water level information;
if the working time of the water pump is more than or equal to the target working time and the water in the water container is judged to be not full according to the water level information, the water shortage of the water bucket is judged;
and if the working time of the water pump is less than the target working time and the water container is judged to be full of water according to the water level information, the water bucket is judged to have water.
3. The control method according to claim 2, characterized in that the target operating time is determined by:
acquiring the size of the water container;
and determining the target working time according to the size of the water container.
4. The control method of claim 3, wherein determining the target operating time based on the size of the water container comprises:
acquiring the flow speed and the flow of the water pump;
and determining the target working time according to the flow speed and flow of the water pump and the size of the water container.
5. The control method according to claim 1, wherein when it is judged that the water tub lacks water, the method further comprises:
lighting a water shortage icon and/or a prompting lamp, and flashing the water shortage icon and/or the prompting lamp at a preset frequency;
and when the water bucket is judged to be replaced by a new water bucket, the water shortage icon and/or the prompting lamp is/are turned off.
6. The control method of claim 1, wherein prior to detecting a water full condition of the water container, the method further comprises:
detecting whether the drinking water supply device is in a power-on state;
when the drinking water supply device is detected to be in a power-on state, executing a step of detecting a full water state of the water container, and when the water container is detected to be full of water, exiting the power-on state;
and when the drinking water supply device is detected to be in a non-power-on state, executing the step of detecting the full water state of the water container.
7. The control method according to claim 2, wherein the target operation time is determined by whether the drinking water supply device is powered on, wherein the target operation time when the drinking water supply device is powered on is longer than the target operation time when the drinking water supply device is not powered on.
8. The control device for replacing the bucket is characterized in that the device is applied to a drinking water supply device, the drinking water supply device comprises a water container, a water pump, a door and a door control switch, the bucket is placed in a cavity of the drinking water supply device, the cavity is provided with the door capable of being opened and closed, the door control switch is arranged on the door, the door control switch is one of a mechanical door control switch, a Hall door control switch or a reed pipe type door control switch, the door control switch is connected with a processor, and the processor judges whether a new bucket is replaced currently or not by detecting the opening and closing times of the door control switch;
the control device includes:
the water full state detection module is used for detecting whether the water in the water container is not full;
the water replenishing module is used for replenishing water for the water container from the water bucket through the water pump when the water in the water container is detected to be not full;
the working time determining module is used for determining the working time of the water pump in the process of supplementing water to the water container;
the water level detection module is used for detecting water level information of the water container;
the judging module is used for judging whether the water bucket is lack of water or not according to the working time of the water pump and the water level information of the water container;
the first detection module is used for detecting whether the door control switch is switched once after the water shortage of the water bucket is judged;
wherein, the water full state detection module is further configured to: when the door control switch is switched once, the water bucket is judged to be replaced by a new water bucket, and whether the water in the water container is not full is detected;
if the water in the water container is detected to be not full, starting the water pump, and continuing to perform the step of supplementing water from the water barrel to the water container through the water pump;
and if the water container is full of water, the water pump is closed.
9. The control apparatus of claim 8, wherein the determining module comprises:
the first judgment unit is used for judging whether the working time of the water pump is greater than or equal to a target working time, wherein the target working time is used for indicating the maximum working time of the water pump when the water container is full of water;
the second judging unit is used for judging whether the water container is full of water or not according to the water level information;
the judging unit is used for judging that the water bucket is lack of water when the working time of the water pump is more than or equal to the target working time and the water level information judges that the water in the water container is not full;
the determination unit is further configured to: and when the working time of the water pump is shorter than the target working time and the water container is judged to be full of water according to the water level information, judging that the water bucket has water.
10. The control device according to claim 9, characterized in that the control device further comprises:
the acquisition module is used for acquiring the size of the water container;
and the determining module is used for determining the target working time according to the size of the water container.
11. The control apparatus of claim 10, wherein the determination module is specifically configured to:
acquiring the flow speed and the flow of the water pump;
and determining the target working time according to the flow speed and flow of the water pump and the size of the water container.
12. The control device according to claim 8, characterized in that the control device further comprises:
and the prompting module is used for lighting a water shortage icon and/or a prompting lamp when the water shortage of the bucket is judged, flashing the water shortage icon and/or the prompting lamp at a preset frequency, and extinguishing the water shortage icon and/or the prompting lamp when a new bucket is judged to be replaced.
13. The control device according to claim 8, characterized in that the control device further comprises:
and the second detection module is used for detecting whether the drinking water supply device is in a power-on state or not before detecting the water full state of the water container.
14. The control apparatus of claim 9, wherein the target operation time is determined by whether the drinking water supply apparatus is powered on, wherein the target operation time when the drinking water supply apparatus is powered on is greater than the target operation time when the drinking water supply apparatus is not powered on.
15. A potable water supply apparatus, comprising: a water container and a water pump, a door control switch, a memory, a processor and a computer program stored on the memory and executable on the processor, wherein,
the water pump is connected with the processor, and water is supplied to the water container from the water bucket when the water pump is in a working state;
the gate control switch is connected with the processor, wherein the processor judges whether a new water bucket is replaced currently by detecting the switching times of the gate control switch;
the processor, when executing the program, implements the method of controlling replacement of a water bucket according to any one of claims 1 to 7.
16. A non-transitory computer-readable storage medium on which a computer program is stored, characterized in that the program, when executed by a processor, implements the control method of bucket replacement according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810188052.4A CN110244580B (en) | 2018-03-07 | 2018-03-07 | Method and device for controlling replacement of water bucket, drinking water supply device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810188052.4A CN110244580B (en) | 2018-03-07 | 2018-03-07 | Method and device for controlling replacement of water bucket, drinking water supply device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110244580A CN110244580A (en) | 2019-09-17 |
CN110244580B true CN110244580B (en) | 2021-08-06 |
Family
ID=67882513
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810188052.4A Active CN110244580B (en) | 2018-03-07 | 2018-03-07 | Method and device for controlling replacement of water bucket, drinking water supply device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110244580B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111387828A (en) * | 2020-03-23 | 2020-07-10 | 广州技诺智能设备有限公司 | Water quantity control method and system for self-service equipment |
CN111419084B (en) * | 2020-04-14 | 2021-11-02 | 佛山市顺德区美的饮水机制造有限公司 | Water drinking equipment, water drinking system, control method of water drinking equipment and storage medium |
CN112794276B (en) * | 2020-12-25 | 2022-01-18 | 珠海格力电器股份有限公司 | Water storage device and control method |
CN114158927A (en) * | 2021-08-31 | 2022-03-11 | 佛山市顺德区美的饮水机制造有限公司 | multifunctional water dispenser |
CN114158942A (en) * | 2021-08-31 | 2022-03-11 | 佛山市顺德区美的饮水机制造有限公司 | Water tank assembly of multifunctional water dispenser and multifunctional water dispenser |
CN115990281A (en) * | 2021-10-20 | 2023-04-21 | 佛山市顺德区美的电子科技有限公司 | Control method, storage medium, control device and sterilizer for sterilizer |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202161191U (en) * | 2011-07-15 | 2012-03-14 | 苏州唐峰电器有限公司 | Protector for water dispenser |
CN203241760U (en) * | 2013-05-17 | 2013-10-16 | 四川农业大学 | Water dispenser intelligent control device |
CN103565285A (en) * | 2013-11-26 | 2014-02-12 | 周奇迪 | Electric control system and electric control method of water dispenser |
CN205103600U (en) * | 2015-11-06 | 2016-03-23 | 许基建 | An intelligent water dispenser and its remote control system |
CN107167211A (en) * | 2016-03-07 | 2017-09-15 | 李昌晋 | A kind of water fountain bucket Level monitor based on weight detecting |
-
2018
- 2018-03-07 CN CN201810188052.4A patent/CN110244580B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202161191U (en) * | 2011-07-15 | 2012-03-14 | 苏州唐峰电器有限公司 | Protector for water dispenser |
CN203241760U (en) * | 2013-05-17 | 2013-10-16 | 四川农业大学 | Water dispenser intelligent control device |
CN103565285A (en) * | 2013-11-26 | 2014-02-12 | 周奇迪 | Electric control system and electric control method of water dispenser |
CN205103600U (en) * | 2015-11-06 | 2016-03-23 | 许基建 | An intelligent water dispenser and its remote control system |
CN107167211A (en) * | 2016-03-07 | 2017-09-15 | 李昌晋 | A kind of water fountain bucket Level monitor based on weight detecting |
Also Published As
Publication number | Publication date |
---|---|
CN110244580A (en) | 2019-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110244580B (en) | Method and device for controlling replacement of water bucket, drinking water supply device and storage medium | |
WO2014063422A1 (en) | Washing machine detergent remaining balance detection and display method | |
CN101974840B (en) | A kind of washing machine touch display screen and program display control method | |
CN111041800B (en) | Water level prompting method and device and electronic equipment | |
CN108013845B (en) | Dish washing machine and water quantity control method and device thereof | |
WO2011015313A1 (en) | Washer, such as a dishwasher or a washing machine, and method for operating a washer | |
CN107101033A (en) | Tap and its quantitative-outlet control device and method | |
CN105088689A (en) | Washing machine and washing agent storage system used for washing machine | |
CN109972344B (en) | Control method of detergent feeding device and washing machine | |
EP3138460B1 (en) | A dishwasher with increased security and the control method thereof | |
CN107012667B (en) | Washing machine and detergent liquid level detection device for same | |
CN114343525B (en) | Cleaning machine control method and cleaning machine | |
KR100863246B1 (en) | Washing machine control method and applying the washing machine | |
CN107374536B (en) | Water adding method for water tank of dish washing machine, water tank for dish washing machine and dish washing machine | |
CN109972354B (en) | Control method of detergent feeding device and washing machine | |
CN105380580A (en) | Dish washer and control method thereof | |
CN110604527A (en) | A kind of water inlet control method of dishwasher and dishwasher | |
CN112015091B (en) | Control method and device, equipment and computer storage medium | |
CN108170037B (en) | Control method, control device and cooking equipment | |
CN108742188B (en) | Control method of food processing machine | |
CN106319841A (en) | Control method and device for dual-drum washing machine and washing machine | |
CN111173758A (en) | Water pump operation control method and device, clothes treatment device and medium | |
US20210145242A1 (en) | Dishwasher and method for operating a dishwasher | |
JP2011000206A (en) | Dishwasher | |
CN111664625B (en) | Refrigerator with a door |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |