Disclosure of Invention
The embodiment of the invention provides a refrigerator and a water taking control method of a water dispenser of the refrigerator, which can avoid long-time operation of a water outlet valve, prolong the service life of the water outlet valve and ensure stable operation of a water taking system of the refrigerator.
The refrigerator provided in the first embodiment of the present invention includes:
a case;
the water dispenser is arranged on the box body and comprises a water storage container, a water outlet valve and a first water outlet switch;
a controller for:
if the opening signal of the first water outlet switch is detected, controlling the opening of the water outlet valve, and performing incremental calculation on the accumulated operation duration of the water outlet valve according to the duration of the current opening of the water outlet valve until the accumulated operation duration is detected to reach a preset maximum opening duration or the closing signal of the first water outlet switch;
and when the water outlet valve is in a closed state, the accumulated running time length is decremented according to a preset coefficient and the time length of the current closing of the water outlet valve.
In the refrigerator provided in the first embodiment of the present invention, when the water outlet valve is in the closed state, the controller decrements the accumulated operation duration according to a preset coefficient and the duration of closing the water outlet valve, instead of directly clearing the water outlet valve when the water outlet valve is closed, so that the accumulated operation duration of the water outlet valve can match the actual operation condition of the water outlet valve no matter in a scenario in which the water outlet valve is temporarily closed or is closed for a long time, and in the opening process of the water outlet valve, the controller performs incremental calculation on the accumulated operation duration of the water outlet valve according to the duration of opening the water outlet valve, and forces the water outlet valve to be closed when the accumulated operation duration reaches the preset maximum opening duration, so that the water outlet valve can be prevented from running for a long time for continuous water taking or a scenario in which the water outlet valve is released for a short time and then pressed down, thereby effectively prolonging the service life of the water outlet valve and further ensuring stable operation of the water dispenser.
The refrigerator provided in the second embodiment of the present invention further includes a second water outlet switch; the second water outlet switch is used for sending an opening signal containing a preset water intake when being triggered;
the controller is further configured to:
if the opening signal of the second water outlet switch is detected, acquiring quantitative water taking time length corresponding to the preset water taking amount, and judging whether the difference value between the preset maximum opening time length and the accumulated running time length is larger than or equal to the quantitative water taking time length;
if the difference value is larger than or equal to the quantitative water taking time, controlling the water outlet valve to open the quantitative water taking time, and correcting the accumulated operation time to be the sum of the accumulated operation time and the quantitative water taking time;
and if the difference value is smaller than the quantitative water taking time, controlling the water outlet valve to keep a closed state.
In the refrigerator provided in the second embodiment of the present invention, when the controller detects the opening signal of the second water outlet switch, it needs to determine that the difference between the preset maximum opening time period and the accumulated operation time period is greater than or equal to the quantitative water intake time period, so that the sum of the quantitative water intake time period and the accumulated operation time period can be controlled within the preset maximum opening time period, thereby avoiding the operation time of the water outlet valve from being too long.
In the refrigerator provided in the third embodiment of the present invention, if it is determined that the difference is smaller than the quantitative water intake duration, after controlling the water outlet valve to keep a closed state, the controller is further configured to:
and recalculating the magnitude relation between the difference value of the preset maximum opening time and the accumulated operation time and the quantitative water taking time until the difference value reaches the quantitative water taking time and the opening signal of the second water outlet switch is detected again, controlling the water outlet valve to open the quantitative water taking time, and correcting the accumulated operation time to be the sum of the accumulated operation time and the quantitative water taking time.
In the refrigerator provided in the third embodiment of the present invention, when the controller detects the opening signal of the second water outlet switch and determines that the difference between the preset maximum opening time period and the accumulated operation time period is smaller than the quantitative water intake time period, the controller needs to control the water outlet valve to keep the closed state until the difference reaches the quantitative water intake time period and detects the opening signal of the second water outlet switch again, and then controls the water outlet valve to open the quantitative water intake time period, so that the damage of the water outlet valve can be avoided and the quantitative water intake requirement of a user can be met.
The refrigerator provided in the fourth embodiment of the present invention, the controller is further configured to:
when the accumulated operation time length is detected to reach the preset maximum opening time length, the water outlet valve is controlled to be kept in a closed state within the preset protection time length.
In the refrigerator provided in the fourth embodiment of the present invention, when the controller detects that the accumulated operation duration reaches the preset maximum opening duration, the controller controls the water outlet valve to keep a closed state within a preset protection duration, so that it can be ensured that the water outlet valve can obtain enough cooling duration, and the operation temperature of the water outlet valve is prevented from being too high when water is taken next time, so that the water outlet valve is burnt out.
The refrigerator provided in the fifth embodiment of the invention further comprises a prompting device;
when detecting that the accumulated operation duration reaches the preset maximum opening duration, the controller is further configured to:
and controlling the prompting device to send out a preset prompt.
In the refrigerator provided in the fifth embodiment of the present invention, when the controller detects that the accumulated operation duration reaches the preset maximum opening duration, the controller controls the prompting device to issue a preset prompt. Therefore, the user can be prompted that the accumulated water taking time of the water dispenser is too long currently, and a period of waiting time is needed to be prolonged, so that the user experience is enhanced.
The water intake control method of the water dispenser provided in the sixth embodiment of the present invention, the water dispenser including a water storage container, a water outlet valve and a first water outlet switch, the method comprising:
if the opening signal of the first water outlet switch is detected, controlling the opening of the water outlet valve, and performing incremental calculation on the accumulated operation duration of the water outlet valve according to the duration of the current opening of the water outlet valve until the accumulated operation duration is detected to reach a preset maximum opening duration or the closing signal of the first water outlet switch;
and when the water outlet valve is in a closed state, the accumulated running time length is decremented according to a preset coefficient and the time length of the current closing of the water outlet valve.
In the water intake control method of the water dispenser provided in the sixth embodiment of the present invention, when the water outlet valve is in the closed state, the accumulated operation duration is decremented according to a preset coefficient and the duration of closing the water outlet valve, instead of directly clearing the water outlet valve when the water outlet valve is closed, so that the accumulated operation duration of the water outlet valve can match the actual operation condition of the water outlet valve no matter in a scenario where the water outlet valve is temporarily closed or closed for a long time, and in the opening process of the water outlet valve, the accumulated operation duration of the water outlet valve is incrementally calculated according to the duration of opening the water outlet valve, and the water outlet valve is forced to be closed when the accumulated operation duration reaches the preset maximum opening duration, so that the water outlet valve can be prevented from operating for a long time for continuous water taking or for a scenario where the water outlet valve is released for a short time and then pressed down, thereby effectively prolonging the service life of the water outlet valve and further ensuring the stable operation of the water dispenser.
According to the water taking control method of the water dispenser provided by the seventh embodiment of the invention, the water dispenser further comprises a second water outlet switch; the second water outlet switch is used for sending an opening signal containing a preset water intake when being triggered; the method further comprises the steps of:
if the opening signal of the second water outlet switch is detected, acquiring quantitative water taking time length corresponding to the preset water taking amount, and judging whether the difference value between the preset maximum opening time length and the accumulated running time length is larger than or equal to the quantitative water taking time length;
if the difference value is larger than or equal to the quantitative water taking time, controlling the water outlet valve to open the quantitative water taking time, and correcting the accumulated operation time to be the sum of the accumulated operation time and the quantitative water taking time;
and if the difference value is smaller than the quantitative water taking time, controlling the water outlet valve to keep a closed state.
In the water intake control method of the water dispenser provided in the seventh embodiment of the present invention, when the opening signal of the second water outlet switch is detected, it is required to determine that the difference between the preset maximum opening time period and the accumulated operation time period is greater than or equal to the quantitative water intake time period, so that the sum of the quantitative water intake time period and the accumulated operation time period can be controlled within the preset maximum opening time period, thereby avoiding the operation time of the water outlet valve from being too long.
In the water intake control method of a water dispenser according to the eighth embodiment of the present invention, if the difference is determined to be smaller than the quantitative water intake duration, after the water outlet valve is controlled to be kept in a closed state, the method further includes:
and recalculating the magnitude relation between the difference value of the preset maximum opening time and the accumulated operation time and the quantitative water taking time until the difference value reaches the quantitative water taking time and the opening signal of the second water outlet switch is detected again, controlling the water outlet valve to open the quantitative water taking time, and correcting the accumulated operation time to be the sum of the accumulated operation time and the quantitative water taking time.
In the water intake control method of the water dispenser provided in the eighth embodiment of the present invention, when the opening signal of the second water outlet switch is detected, and the difference between the preset maximum opening time and the accumulated operation time is determined to be smaller than the quantitative water intake time, the water outlet valve needs to be controlled to keep the closed state until the difference reaches the quantitative water intake time and the opening signal of the second water outlet switch is detected again, and then the water outlet valve is controlled to open the quantitative water intake time, so that the damage of the water outlet valve can be avoided and the quantitative water intake requirement of a user can be met.
The water intake control method of the water dispenser provided in the ninth embodiment of the present invention further includes:
when the accumulated operation time length is detected to reach the preset maximum opening time length, the water outlet valve is controlled to be kept in a closed state within the preset protection time length.
In the water intake control method of the water dispenser provided in the ninth embodiment of the present invention, when the accumulated operation duration is detected to reach the preset maximum opening duration, the water outlet valve is controlled to maintain the closed state within the preset protection duration, so that the water outlet valve can be ensured to obtain enough cooling duration, and the operation temperature of the water outlet valve is prevented from being too high when water is taken next time, so that the water outlet valve is burnt out.
In the water intake control method of the water dispenser provided in the tenth embodiment of the present invention, when the accumulated operation duration is detected to reach the preset maximum opening duration, the method further includes: and controlling the prompting device corresponding to the water dispenser to send out a preset prompt.
In the water taking control method of the water dispenser provided in the tenth embodiment of the present invention, when the accumulated operation duration is detected to reach the preset maximum opening duration, a corresponding prompting device of the water dispenser is controlled to send out a preset prompt. Therefore, the user can be prompted that the accumulated water taking time of the water dispenser is too long currently, and a period of waiting time is needed to be prolonged, so that the user experience is enhanced.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In the description of the present application, it should be understood that the terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate orientations or positional relationships based on the orientation or positional relationships shown in the drawings, merely to facilitate description of the present application and simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present application.
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 implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art in a specific context.
Referring to fig. 1, a schematic structure of a refrigerator according to an embodiment of the present invention is shown.
The refrigerator provided by the embodiment of the invention comprises a refrigerator body 10. At least one compartment is provided in the housing 10. As shown in fig. 2, the refrigerator of the present embodiment has an approximately rectangular parallelepiped shape, the refrigerator includes a case 10 defining a storage space, the case 10 is provided with at least one compartment, one or more door bodies 200 are provided at an opening of each compartment, for example, in fig. 2, an upper compartment is a refrigerating compartment, and a double door body is provided thereon, wherein the door body 200 includes a door body case 210 located at an outer side of the case 10, a door body case 220 located at an inner side of the case 10, an upper end cover 230, a lower end cover 240, and a heat insulation layer located between the door body case 210, the door body case 220, the upper end cover 230, and the lower end cover 240; typically, the insulating layer is filled with a foaming material. The compartments may be configured as a refrigerating compartment, a freezing compartment, a temperature changing compartment, etc., depending on the application. The refrigerator further includes a refrigerating system for refrigerating compartments within the cabinet 10. In an alternative embodiment, referring to fig. 3, the refrigeration system includes a compressor 1, a condenser 2, an anti-condensation tube 3, a dry filter 4, a capillary tube 5, an evaporator 6, and a gas-liquid separator 7. The working processes of the refrigeration system comprise a compression process, a condensation process, a throttling process and an evaporation process. The compression process comprises the following steps: the compressor 1 starts to work, the low-temperature and low-pressure refrigerant is sucked by the compressor 1, compressed into high-temperature and high-pressure superheated gas in the cylinder of the compressor 1 and then discharged to the condenser 2; the condensation process is as follows: the high-temperature and high-pressure refrigerant gas radiates heat through the condenser 2, the temperature is continuously reduced, the refrigerant gas is gradually cooled into normal-temperature and high-pressure saturated steam, the saturated steam is further cooled into saturated liquid, the temperature is not reduced any more, the temperature at the moment is called as condensing temperature, and the pressure of the refrigerant in the whole condensing process is almost unchanged; the throttling process is as follows: the condensed refrigerant saturated liquid is filtered by a dry filter 4 to remove moisture and impurities, and then flows into a capillary tube 5, throttling and depressurization are carried out through the capillary tube, and the refrigerant is changed into normal-temperature and low-pressure wet vapor; the evaporation process is as follows: the wet vapor with normal temperature and low pressure starts to absorb heat in the evaporator 6 for vaporization, so that the temperature of the evaporator 6 and the surrounding temperature are reduced, the refrigerant is changed into low-temperature and low-pressure gas, the refrigerant coming out of the evaporator 6 returns to the compressor 1 again after passing through the gas-liquid separator 7, the process is repeated, and the heat in the refrigerator is transferred into the air outside the refrigerator, so that the purpose of refrigeration is realized.
The refrigerator also comprises a water dispenser arranged on the refrigerator body. The water dispenser is generally arranged in the refrigerating chamber, and can be arranged in the refrigerating chamber or on a door body of the refrigerating chamber. Specifically, the water dispenser 20 includes a water storage container 11, a water outlet valve 12, and a first water outlet switch 13. Referring to fig. 4, the refrigerator further includes a filter cartridge 17 and a water pipe 18, and the filter cartridge 17 communicates with an external water source through the water pipe 18. The water from the water source flows through the filter element 17 through the water pipe 18 for filtering so as to remove impurities and the like in the water; then, the water filtered by the filter element 17 is introduced into the water storage container 11 for storage, and when the water outlet valve 12 is opened, the water in the water storage container 11 is led to the water outlet of the water dispenser 20 by utilizing the water pressure of the water provided by the water source, so as to achieve water taking by a user. In addition, the first water outlet switch 13 is disposed on the door housing 210, and the first water outlet switch 13 is configured to send a signal for controlling the opening or closing of the water outlet valve, so that the controller 14 controls the opening and closing of the water outlet valve 12. Illustratively, when a user needs to take water, the first water outlet switch 13 is pressed, and the controller 14 receives an opening signal of the first water outlet switch 13, and controls the water outlet valve 12 to be opened, so as to take water; when the user finishes taking water, the first water outlet switch 13 is pressed again, and the controller 14 receives the closing signal of the first water outlet switch 13, controls the water outlet valve 12 to be closed, and finishes taking water.
The refrigerator provided by the embodiment of the invention further comprises a controller 14. As shown in fig. 5, the controller 14 is connected to the first water outlet switch 13 to receive an on signal and an off signal of the first water outlet switch 13. The controller 14 is specifically configured to:
if the opening signal of the first water outlet switch 13 is detected, controlling the water outlet valve 12 to be opened, and performing incremental calculation on the accumulated operation duration of the water outlet valve 12 according to the duration of the current opening of the water outlet valve 12 until the accumulated operation duration is detected to reach a preset maximum opening duration or the closing signal of the first water outlet switch 13;
when the water outlet valve 12 is in the closed state, the accumulated operation duration is decremented according to a preset coefficient and the duration of the current closing of the water outlet valve 12.
The first water outlet switch 13 may be configured as a water outlet switch capable of continuously taking water, for example. Taking the first water outlet switch 13 as a push switch as an example, when the first water outlet switch 13 is pushed down, an opening signal is sent out; when the first water outlet switch 13 is released, a closing signal is sent. If the controller 14 detects the opening signal of the first water outlet switch 13, the controller 14 controls the water outlet valve 12 to be opened, the water in the water storage container 11 is led to the water outlet of the water dispenser 20 to flow out under the water pressure of the external water source, until the controller 14 detects that the accumulated operation duration reaches the preset maximum opening duration or the closing signal of the first water outlet switch 13, controls the water outlet valve 12 to be closed, stops taking water, and completes one continuous water taking.
In the refrigerator provided in this embodiment, when the water outlet valve 12 is in the closed state, the controller 14 decrements the accumulated operation time length according to a preset coefficient and the time length for which the water outlet valve 12 is closed, instead of directly clearing the water outlet valve 12 when the water outlet valve 12 is closed, so that the accumulated operation time length of the water outlet valve 12 can be matched with the actual operation condition of the water outlet valve 12 no matter in a scenario in which the water outlet valve 12 is closed briefly or closed for a long time, and in the opening process of the water outlet valve 12, the controller 14 performs incremental calculation on the accumulated operation time length of the water outlet valve 12 according to the time length for which the water outlet valve 12 is opened, and forces the water outlet valve 12 to be closed when the accumulated operation time length reaches the preset maximum opening time length, so that the water outlet valve 12 can be prevented from running for a long time for continuous water taking or in a scenario in which the water outlet valve 12 is released and pressed down again for a short time, thereby effectively prolonging the service life of the water outlet valve 12 and further ensuring the stable operation of the water fountain 20.
In the prior art, when the water outlet valve 12 of the refrigerator water dispenser 20 continuously takes water longer than the preset water taking upper limit, the water outlet valve 12 is forced to be closed, and although the failure rate of the water outlet valve 12 of the water dispenser 20 in the market is reduced after the protection mechanism is adopted, the continuous operation time of the water outlet valve 12 is cleared as long as the water outlet valve 12 is released after the water outlet valve 12 is forced to be closed by a user, the water outlet valve 12 can be opened to take water again by pressing the water outlet valve 12 by the user, so that the condition of the water outlet valve 12 in the state is close to that of the water outlet valve 12 in the continuous operation for a long time. Referring to fig. 6, a high level indicates that the water intake switch is released, a low level indicates that the water intake switch is pressed, taking the example that the water intake switch presses the water outlet valve 12 to open, the water intake switch Guan Song opens the water outlet valve 12 to close, setting the water intake upper limit time period to 2 minutes, and assuming that the time period that the water intake switch presses reaches the water intake upper limit time period at the time of B, controlling the water outlet valve 12 to close, and the user releases the water intake switch (i.e., low level C). If the time for the user to release the water intake switch is short at this time, for example: 1-2 seconds, the user presses the water intake switch again, opens the water outlet valve 12 to take water, and in this state, although the time for continuously taking water is limited, because the water outlet valve 12 does not have enough time to cool, the water outlet valve 12 still continuously operates for a long time, which easily causes the running temperature of the water outlet valve 12 to be too high, and causes carbonization of the water valve spool or damage and deformation of the flange support.
For example, in this embodiment, in order to avoid damage caused by long-time operation of the water outlet valve 12, in the opening process of the water outlet valve 12, the embodiment performs incremental calculation on the accumulated operation duration of the water outlet valve 12 according to the duration of the opening of the water outlet valve 12, and forces the water outlet valve 12 to be closed when the accumulated operation duration reaches the preset maximum opening duration, so that the long-time operation of the water outlet valve 12 can be effectively avoided, and the failure rate of the water outlet valve 12 is reduced. In addition, referring to fig. 7, considering that the time for the user to press the water intake switch and the time for the user to release the water intake switch are different in the actual operation process, there may be a case where the time for the water intake switch to release is enough to lower the operation temperature of the water outlet valve 12 to the normal operation temperature, in this state, if it is simply determined whether the water outlet valve 12 is operated for a long time according to the accumulated opening time period result of the water outlet valve 12, it is easy to cause the water outlet valve 12 to be closed for a long time, but when the water intake switch is pressed again, the accumulated opening time period reaches the preset maximum opening time period, so that the water outlet valve 12 is forcibly closed, affecting the user experience. Therefore, in this embodiment, when the water outlet valve 12 is in the closed state, the accumulated operation duration is decremented according to the preset coefficient and the duration of the current closing of the water outlet valve 12, so that the present embodiment can not only effectively avoid the long-time operation of the water outlet valve 12, but also fully consider the heat dissipation condition of the water outlet valve 12 in the closed state, so that the calculation of the accumulated operation duration is more suitable for the actual use condition of the user, and the user experience is enhanced.
For example, referring to fig. 7, assuming that the accumulated operation time length of the water outlet valve 12 is zero at a time, the opening signal of the first water outlet switch 13 is detected at B time, and the water outlet valve 12 is opened t B The accumulated operation time t of the water outlet valve 12 when the water taking is finished v =t B The method comprises the steps of carrying out a first treatment on the surface of the At C, a closing signal of the first water outlet switch 13 is detected, and the water outlet valve is closed t C Duration, when C is over, the accumulated operation duration t of the water outlet valve 12 v =t B -n*t C Wherein n is the preset coefficient; at the time D, the opening signal of the first water outlet switch 13 is detected, and the water outlet valve 12 is opened t D The accumulated operation time t of the water outlet valve 12 when the water taking is finished v =t B -n*t C +t D And repeating the steps until the accumulated operation time length is detected to reach the preset maximum opening time length. It should be noted that, when the water outlet valve 12 is closed, the coil temperature of the water outlet valve 12 will decrease with the increase of the closing time, so n is a non-fixed value, and the value of n is in a linear relationship with the closing time of the water outlet valve 12. Preferably, the preset factor is equal to 0.03 times the duration of closing of the water outlet valve 12.
As an example, referring to fig. 8, which is a flowchart of a first embodiment of the present invention for performing water intake control by the controller 14, the water intake control process of the controller 14 is specifically as follows: detecting an opening signal of the first water outlet switch 13 (step S11), if the opening signal of the first water outlet switch 13 is detected, proceeding to step S12, and if the opening signal of the first water outlet switch 13 is not detected, proceeding to step S16; controlling the water outlet valve 12 to open (step S12); incrementally calculating the accumulated operation duration of the water outlet valve 12 according to the duration of the current opening of the water outlet valve 12 (step S13); judging whether the accumulated operation time length reaches the preset maximum opening time length or whether a closing signal of the first water outlet switch 13 is detected (step S14), if so, entering step S15, and if not, continuing monitoring; controlling the water outlet valve 12 to be closed (step S15); the accumulated operation duration is decremented according to the preset coefficient and the duration of the present closing of the water outlet valve 12 (step S16).
As one of the alternative embodiments, referring to fig. 5, the refrigerator further includes a second water outlet switch 15; the second water outlet switch 15 is configured to send an on signal including a preset water intake amount when triggered; the controller 14 is connected to the second water outlet switch 15, so as to receive an on signal of the second water outlet switch 15.
The controller 14 is further configured to:
if the opening signal of the second water outlet switch 15 is detected, acquiring quantitative water taking time length corresponding to the preset water taking amount, and judging whether the difference value between the preset maximum opening time length and the accumulated running time length is larger than or equal to the quantitative water taking time length;
if the difference value is larger than or equal to the quantitative water taking time period, controlling the water outlet valve 12 to open the quantitative water taking time period, and correcting the accumulated operation time period to be the sum of the accumulated operation time period and the quantitative water taking time period;
and if the difference value is judged to be smaller than the quantitative water taking time period, controlling the water outlet valve 12 to be kept in a closed state.
In the refrigerator provided in this embodiment, when the controller 14 detects the opening signal of the second water outlet switch 15, it needs to determine that the difference between the preset maximum opening duration and the accumulated operation duration is greater than or equal to the quantitative water intake duration, so that the sum of the quantitative water intake duration and the accumulated operation duration can be controlled within the preset maximum opening duration, thereby avoiding the overlong operation time of the water outlet valve 12.
Illustratively, the second water outlet switch 15 may be preconfigured as a water outlet switch for a specific water intake, such as: the second water outlet switch 15 is configured as a water outlet switch with a water intake of 500ml, and sends out an opening signal with the water intake of 500ml when the second water outlet switch 15 is triggered. If the controller 14 detects the opening signal of the 500ml water intake sent by the second water outlet switch 15, the controller 14 obtains a quantitative water intake duration corresponding to the 500ml water intake, and controls the water outlet valve 12 to open the quantitative water intake duration when the difference between the preset maximum opening duration and the accumulated operation duration is greater than or equal to the quantitative water intake duration, so as to complete quantitative water intake of 500ml once.
By way of example, suppose that the user chooses to take 500ml of water, requiring t for each 500ml of water 1 Duration, referring to fig. 9, assuming that the accumulated operation duration of the water outlet valve 12 is zero at a time, the opening signal of the first water outlet switch 13 is detected at B time, and the water outlet valve 12 is opened t B The accumulated operation time t of the water outlet valve 12 when the water taking is finished v =t B The method comprises the steps of carrying out a first treatment on the surface of the At C, the closing signal of the first water outlet switch 13 is detected, and the water outlet valve 12 is closed t C Duration, when C is over, the accumulated operation duration t of the water outlet valve 12 v =t B -n*t C The method comprises the steps of carrying out a first treatment on the surface of the In the time D, detecting the opening signal of the second water outlet switch 15 to quantitatively take 500ml, and when D water taking is finished, accumulating the operation time t of the water outlet valve 12 v =t B -n*t C +t 1 The method comprises the steps of carrying out a first treatment on the surface of the At E, the water taking is completed in one time, the water outlet valve 12 is closed t E Duration, when E is over, the accumulated operation duration t of the water outlet valve 12 v =t B -n*t C +t 1 -n*t E . It should be noted that, it is assumed that the preset maximum opening duration is t max Before each quantitative water intake (500 ml) is taken, the residual water intake time period t is needed to be judged p =t max -t v Whether or not it is greater than or equal to t 1 If yes, controlling the water outlet valve 12 to be opened t 1 Duration of time; if not, control theThe outlet valve 12 remains closed.
For example, referring to fig. 10, which is a flowchart illustrating a water intake control performed by the second controller according to the embodiment of the present invention, another water intake control process of the controller 14 is specifically as follows: detecting an opening signal of the second water outlet switch 15 (step S21), if the opening signal of the second water outlet switch 15 is detected, proceeding to step S22, if the opening signal of the second water outlet switch 15 is not detected, continuing to detect; acquiring quantitative water intake duration corresponding to the preset water intake amount (step S22); judging whether the difference between the preset maximum opening time and the accumulated running time of the water outlet valve 12 is greater than or equal to the quantitative water taking time (step S23), if so, entering step S24, and if not, entering step S25; controlling the water outlet valve 12 to open for a quantitative water taking time period, and correcting the accumulated operation time period of the water outlet valve 12 to be the sum of the accumulated operation time period and the quantitative water taking time period (step S24); the control outlet valve 12 remains closed (step S25).
Further, if the difference is determined to be smaller than the quantitative water intake period, the controller 14 is further configured to, after controlling the water outlet valve to be kept in a closed state:
and recalculating the magnitude relation between the difference value between the preset maximum opening time and the accumulated operation time and the quantitative water taking time until the difference value reaches the quantitative water taking time and the opening signal of the second water outlet switch is detected again, controlling the water outlet valve 12 to open the quantitative water taking time, and correcting the accumulated operation time to be the sum of the accumulated operation time and the quantitative water taking time.
In the refrigerator provided in this embodiment, when the controller 14 detects the opening signal of the second water outlet switch 15 and determines that the difference between the preset maximum opening time period and the accumulated operation time period is smaller than the quantitative water intake time period, it is necessary to control the water outlet valve 12 to keep the closed state until the difference reaches the quantitative water intake time period and detects the opening signal of the second water outlet switch again, and then control the water outlet valve 12 to open the quantitative water intake time period, so that the damage of the water outlet valve 12 can be avoided and the quantitative water intake requirement of the user can be met.
As one of the alternative embodiments, the controller 14 is further configured to:
and when the accumulated operation time length is detected to reach the preset maximum opening time length, controlling the water outlet valve 12 to be kept in a closed state within the preset protection time length.
In the refrigerator provided in this embodiment, when the controller 14 detects that the accumulated operation duration reaches the preset maximum opening duration, the water outlet valve 12 is controlled to keep a closed state within a preset protection duration, so that it can be ensured that the water outlet valve 12 can obtain a sufficient cooling duration, and the operation temperature of the water outlet valve 12 is prevented from being too high when water is taken next time, so that the water outlet valve 12 is burnt out.
Preferably, the preset protection duration is 2 minutes.
Referring to fig. 11, further, the refrigerator further includes a prompting device 16;
when detecting that the accumulated operating time period reaches the preset maximum opening time period, the controller 14 is further configured to:
the prompting device 16 is controlled to send out a preset prompt.
The prompting device 16 is a display board, and when the accumulated operation duration is detected to reach the preset maximum opening duration, the display board prompts the user to wait for the preset protection duration in a special character or flashing mode.
In the refrigerator provided in this embodiment, when the controller 14 detects that the accumulated operation duration reaches the preset maximum opening duration, the controller controls the prompting device 16 to issue a preset prompt. Therefore, the user can be prompted that the accumulated water taking time of the water dispenser is too long currently, and a period of waiting time is needed to be prolonged, so that the user experience is enhanced.
Optionally, when the difference is determined to be less than the quantitative water intake duration, the controller 14 is further configured to control the prompting device 16 to issue a preset prompt when the water outlet valve 12 is controlled to keep a closed state.
The water taking control method of the water dispenser provided by the embodiment, the water dispenser comprises a water storage container, a water outlet valve and a first water outlet switch, and the method comprises the following steps:
if the opening signal of the first water outlet switch is detected, controlling the opening of the water outlet valve, and performing incremental calculation on the accumulated operation duration of the water outlet valve according to the duration of the current opening of the water outlet valve until the accumulated operation duration is detected to reach a preset maximum opening duration or the closing signal of the first water outlet switch;
and when the water outlet valve is in a closed state, the accumulated running time length is decremented according to a preset coefficient and the time length of the current closing of the water outlet valve.
In the water intake control method of the water dispenser provided by the embodiment, when the water outlet valve is in the closed state, the accumulated operation time length is decremented according to the preset coefficient and the closing time length of the water outlet valve, but not directly cleared when the water outlet valve is closed, so that the accumulated operation time length of the water outlet valve can be matched with the actual operation condition of the water outlet valve no matter in a scene that the water outlet valve is closed briefly or closed for a long time, and in the opening process of the water outlet valve, the accumulated operation time length of the water outlet valve is calculated incrementally according to the opening time length of the water outlet valve, and the water outlet valve is forced to be closed when the accumulated operation time length reaches the preset maximum opening time length, therefore, the long-time operation of the water outlet valve can be avoided for a scene that water is continuously taken or the water is released again in a short time, and the service life of the water outlet valve can be effectively prolonged, and the stable operation of the water dispenser is ensured.
As one of the alternative embodiments, the water dispenser further comprises a second water outlet switch; the second water outlet switch is used for sending an opening signal containing a preset water intake when being triggered; the method further comprises the steps of:
If the opening signal of the second water outlet switch is detected, acquiring quantitative water taking time length corresponding to the preset water taking amount, and judging whether the difference value between the preset maximum opening time length and the accumulated running time length is larger than or equal to the quantitative water taking time length;
if the difference value is larger than or equal to the quantitative water taking time, controlling the water outlet valve to open the quantitative water taking time, and correcting the accumulated operation time to be the sum of the accumulated operation time and the quantitative water taking time;
and if the difference value is smaller than the quantitative water taking time, controlling the water outlet valve to keep a closed state.
In the water intake control method of the water dispenser provided by the embodiment, when the opening signal of the second water outlet switch is detected, the water outlet valve needs to be opened only after the difference between the preset maximum opening time and the accumulated operation time is greater than or equal to the quantitative water intake time, so that the sum of the quantitative water intake time and the accumulated operation time can be controlled within the preset maximum opening time, and the operation time of the water outlet valve is prevented from being overlong.
Further, if the difference is smaller than the quantitative water taking duration, after the water outlet valve is controlled to be kept in a closed state, the method further comprises the following steps:
And recalculating the magnitude relation between the difference value of the preset maximum opening time and the accumulated operation time and the quantitative water taking time until the difference value reaches the quantitative water taking time and the opening signal of the second water outlet switch is detected again, controlling the water outlet valve to open the quantitative water taking time, and correcting the accumulated operation time to be the sum of the accumulated operation time and the quantitative water taking time.
In the water intake control method of the water dispenser provided by the embodiment, when the opening signal of the second water outlet switch is detected, and the difference between the preset maximum opening time and the accumulated operation time is judged to be smaller than the quantitative water intake time, the water outlet valve needs to be controlled to be kept in a closed state until the difference reaches the quantitative water intake time and the opening signal of the second water outlet switch is detected again, the water outlet valve is controlled to be opened for the quantitative water intake time, so that the damage of the water outlet valve can be avoided, and the quantitative water intake requirement of a user can be met.
As one of the alternative embodiments, the method further comprises:
when the accumulated operation time length is detected to reach the preset maximum opening time length, the water outlet valve is controlled to be kept in a closed state within the preset protection time length.
In the water intake control method of the water dispenser provided by the embodiment, when the accumulated operation time length is detected to reach the preset maximum opening time length, the water outlet valve is controlled to be kept in a closed state within the preset protection time length, so that the water outlet valve can be ensured to obtain enough cooling time length, and the operation temperature of the water outlet valve is prevented from being too high when water is taken next time, and the water outlet valve is burnt out.
Preferably, when the accumulated operation duration is detected to reach the preset maximum opening duration, the method further comprises: and controlling the prompting device corresponding to the water dispenser to send out a preset prompt.
In the water taking control method of the water dispenser, when the accumulated operation time length is detected to reach the preset maximum opening time length, the corresponding prompting device of the water dispenser is controlled to send out a preset prompt. Therefore, the user can be prompted that the accumulated water taking time of the water dispenser is too long currently, and a period of waiting time is needed to be prolonged, so that the user experience is enhanced.
The specific description of the water intake control method of the water dispenser provided in this embodiment may refer to the specific description of each embodiment of the refrigerator, which is not repeated herein.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.