Method, device and equipment for detecting water level of water storage box and storage medium
By combining capacitive sensor data and dielectric constant update method in the clothing processing equipment, the problem of inaccurate water level detection of water storage boxes is solved, and the accuracy and user experience of the equipment are improved.
Patent Information
- Application Number
- CN202311093615.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-28
- Publication Date
- 2025-02-28
Smart Images

Figure CN119531086A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of smart home appliances, and specifically relates to a method, device, equipment and storage medium for detecting the water level of a water storage box. Background Art
[0002] Many clothing treatment devices on the market are equipped with water storage boxes. When the clothing treatment devices run the drying program, the water storage box will collect water evaporated from the clothes. When the water storage box is full of water, the clothing treatment devices will pause the drying program and remind the user to clean the water storage box.
[0003] In order to make the water level detection of the water storage box more accurate, a capacitive sensor is installed inside the water storage box, and the water level in the water storage box is calculated according to the capacitance value and dielectric constant detected by the capacitive sensor.
[0004] However, when the water storage box is used for a long time, the dielectric constant will also be affected. If the water level in the water storage box is always calculated according to the initial dielectric constant, the clothes processing device may pause the drying process, but the user may not receive a reminder to clean the water storage box, which will affect the user's drying plan and reduce the user's experience. Summary of the invention
[0005] In order to solve the above problems in the prior art, the present application provides a method, device, equipment and storage medium for detecting the water level of a water storage box.
[0006] In a first aspect, the present application provides a method for detecting the water level of a water storage box, the method comprising:
[0007] When the clothes processing device enters a clothes drying program, obtaining a capacitance value detected by the capacitance sensor and a cumulative usage time of a water storage box of the clothes processing device in a water storage state;
[0008] Acquiring a pre-stored dielectric constant, and calculating the water level of the liquid in the water storage box of the laundry treatment device according to the capacitance value and the pre-stored dielectric constant;
[0009] If the water level is equal to the water level threshold and the accumulated usage time is greater than the time threshold, the clothing processing device is controlled to pause drying, a prompt message is sent and the pre-stored dielectric constant is updated.
[0010] In a possible implementation manner, updating the pre-stored dielectric constant includes:
[0011] storing a first capacitance value corresponding to the water level, and continuously acquiring a state of the water storage box, wherein the state is used to indicate whether the water storage box has been taken out;
[0012] After detecting that the water storage box is taken out and then installed, obtaining a second capacitance value corresponding to the empty water storage box;
[0013] The pre-stored dielectric constant is updated according to the first capacitance value and the second capacitance value.
[0014] In a possible implementation manner, the pre-stored dielectric constant includes an air dielectric constant and a liquid dielectric constant, and updating the pre-stored dielectric constant according to the first capacitance value and the second capacitance value includes:
[0015] Updating the air dielectric constant according to the second capacitance value;
[0016] The dielectric constant of the liquid is updated according to the first capacitance value.
[0017] In a possible implementation manner, updating the air dielectric constant according to the second capacitance value includes:
[0018] Acquire a first capacitance ratio between the second capacitance value and a pre-stored water-free capacitance value, update the air dielectric constant according to the first capacitance ratio, and update the water-free capacitance value according to the second capacitance value;
[0019] The updating of the liquid dielectric constant according to the first capacitance value includes:
[0020] A second capacitance ratio between the first capacitance value and a pre-stored full water capacitance value is obtained, the liquid dielectric constant is updated according to the second capacitance ratio, and the full water capacitance value is updated according to the first capacitance value.
[0021] In a possible implementation manner, if the water level is less than a water level threshold, the method further includes:
[0022] Obtain a water level ratio between the water level and the water level threshold, and obtain an interval time according to the water level ratio;
[0023] The clothes processing device is controlled to obtain a new capacitance value according to the interval time, and whether to control the clothes processing device to send a prompt message is determined according to the new capacitance value.
[0024] In a possible implementation, before the laundry processing device enters a laundry drying program, the method further includes:
[0025] Acquiring a third capacitance value detected by the capacitance sensor;
[0026] If the third capacitance value is greater than the water-free capacitance value, obtaining a difference between the third capacitance value and a reference capacitance value, wherein the reference capacitance value is a capacitance value detected by the capacitance sensor after the last drying program ends;
[0027] If the difference is greater than the capacitance difference threshold, the clothing processing device is controlled to send a prompt message, and enters the drying program after receiving user feedback.
[0028] In a possible implementation manner, if no user feedback is received within a preset time, the method further includes:
[0029] Acquire a third capacitance ratio of the third capacitance value to the reference capacitance value;
[0030] Acquire a new water level threshold according to the third capacitance ratio and the water level threshold;
[0031] The clothes processing device is controlled to enter a clothes drying program, and whether to control the clothes processing device to send a prompt message is determined according to the new water level threshold.
[0032] In a second aspect, the present application provides a water level detection and control device for a water storage box, comprising: an acquisition module, a calculation module and a control module, wherein:
[0033] The acquisition module is used to acquire the capacitance value detected by the capacitance sensor and the accumulated usage time of the water storage box of the clothing processing device in the water storage state when the clothing processing device enters the clothes drying program;
[0034] The calculation module is used to obtain a pre-stored dielectric constant and calculate the water level of the liquid in the water storage box of the laundry treatment device according to the capacitance value and the pre-stored dielectric constant;
[0035] The control module is used to control the clothing processing device to pause drying, send a prompt message and update the pre-stored dielectric constant if the water level is equal to the water level threshold and the accumulated usage time is greater than the time threshold.
[0036] In a possible implementation manner, the calculation module is further used to:
[0037] storing a first capacitance value corresponding to the water level, and continuously acquiring a state of the water storage box, wherein the state is used to indicate whether the water storage box has been taken out;
[0038] After detecting that the water storage box is taken out and then installed, obtaining a second capacitance value corresponding to the empty water storage box;
[0039] The pre-stored dielectric constant is updated according to the first capacitance value and the second capacitance value.
[0040] In a possible implementation manner, the calculation module is further used to:
[0041] Updating the air dielectric constant according to the second capacitance value;
[0042] The dielectric constant of the liquid is updated according to the first capacitance value.
[0043] In a possible implementation manner, the calculation module is further used to:
[0044] Acquire a first capacitance ratio between the second capacitance value and a pre-stored water-free capacitance value, update the air dielectric constant according to the first capacitance ratio, and update the water-free capacitance value according to the second capacitance value;
[0045] The updating of the liquid dielectric constant according to the first capacitance value includes:
[0046] A second capacitance ratio between the first capacitance value and a pre-stored full water capacitance value is obtained, the liquid dielectric constant is updated according to the second capacitance ratio, and the full water capacitance value is updated according to the first capacitance value.
[0047] In a possible implementation manner, the control module is further used to:
[0048] Obtain a water level ratio between the water level and the water level threshold, and obtain an interval time according to the water level ratio;
[0049] The clothes processing device is controlled to obtain a new capacitance value according to the interval time, and whether to control the clothes processing device to send a prompt message is determined according to the new capacitance value.
[0050] In a possible implementation manner, the control module is further used to:
[0051] Acquiring a third capacitance value detected by the capacitance sensor;
[0052] If the third capacitance value is greater than the water-free capacitance value, obtaining a difference between the third capacitance value and a reference capacitance value, wherein the reference capacitance value is a capacitance value detected by the capacitance sensor after the last drying program ends;
[0053] If the difference is greater than the capacitance difference threshold, the clothing processing device is controlled to send a prompt message, and enters the drying program after receiving user feedback.
[0054] In a possible implementation manner, the control module is further used to:
[0055] Acquire a third capacitance ratio of the third capacitance value to the reference capacitance value;
[0056] Acquire a new water level threshold according to the third capacitance ratio and the water level threshold;
[0057] The clothes processing device is controlled to enter a clothes drying program, and whether to control the clothes processing device to send a prompt message is determined according to the new water level threshold.
[0058] In a third aspect, the present application provides a clothes processing device, comprising: at least one processor and a memory, wherein:
[0059] The memory is used to store computer-executable instructions;
[0060] The at least one processor is used to execute the computer-executable instructions stored in the memory, so that the at least one processor executes the method for detecting the water level of the water storage box as described in any one of the first aspects.
[0061] In a fourth aspect, the present application provides a computer storage medium, wherein the computer storage medium stores computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement the method for detecting the water level of a water storage box as described in any one of the first aspects.
[0062] In a fifth aspect, the present application also provides a computer program product, including a computer program, which, when executed by a processor, can implement the steps of the method for detecting the water level of a water storage box as described in any of the above items.
[0063] The present application provides a method, device, equipment and storage medium for detecting the water level of a water storage box. When a clothes processing device dries clothes, it is determined whether to update the dielectric constant according to the capacitance value of the drying process after the water storage box is full according to the accumulated use time of the water storage state of the water storage box. Through the above method, the water level calculated according to the capacitance value is more accurate, avoiding the influence of the user's drying plan and reducing the user's experience due to the error in water level calculation. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0065] Figure 1 A schematic diagram of a method for detecting water level in a water storage box provided in an embodiment of the present application Figure 1 ;
[0066] Figure 2 A schematic diagram of a method for detecting water level in a water storage box provided in an embodiment of the present application Figure 2 ;
[0067] Figure 3 A schematic diagram of a method for detecting water level in a water storage box provided in an embodiment of the present application Figure 3 ;
[0068] Figure 4 A schematic diagram of the structure of a water storage box water level detection and control device provided in an embodiment of the present application;
[0069] Figure 5A schematic structural diagram of a clothing processing device provided in an embodiment of the present application.
[0070] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0071] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0072] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein, for example.
[0073] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0074] When the clothes processing device dries clothes, the evaporated water of the clothes to be dried is absorbed by the water storage box. When the water storage box is full of water, the clothes processing device will stop drying clothes and remind the user to clean the water storage box.
[0075] The prior art mainly measures the water level of the liquid in the water storage box based on a capacitive sensor. Specifically, the water level is calculated based on the capacitance value and dielectric constant detected by the capacitive sensor. However, if the water storage box is used for too long, the dielectric constant will also be affected, thereby reducing the accuracy of the water level calculation, and even the clothes processing device may suspend the drying program, but the user does not receive a prompt message to clean the water storage box.
[0076] The present application provides a method for detecting the water level of a water storage box. When a clothes processing device dries clothes, it is determined whether to update the dielectric constant according to the capacitance value of the drying process after the water storage box is full according to the accumulated use time of the water storage box. Through the above method, the water level calculated according to the capacitance value is more accurate, avoiding the influence of the user's drying plan and reducing the user's experience due to the error in water level calculation.
[0077] Next, the technical solution shown in the present application is described in detail through specific embodiments. It should be noted that the following embodiments can exist independently or in combination with each other, and the same or similar contents will not be described repeatedly in different embodiments.
[0078] Figure 1 A schematic diagram of a method for detecting water level in a water storage box provided in an embodiment of the present application Figure 1 .like Figure 1 As shown, the method includes:
[0079] S101. When the clothes treating device enters a clothes drying program, a capacitance value detected by a capacitance sensor and a cumulative usage time of a water storage box of the clothes treating device in a water storage state are obtained.
[0080] In this step, the capacitance value is used to obtain the water level value of the water storage box, and its value is affected by the dielectric constant. When the water storage box is full of water, the capacitance value is only affected by the dielectric constant of the liquid; when the water storage box is empty, the capacitance value is only affected by the dielectric constant of the air.
[0081] Furthermore, since the dielectric constant is easily affected by other factors, such as the accumulated usage time of the water storage box, in order to ensure that the water level of the water storage box calculated based on the capacitance value is more accurate, the accumulated usage time of the water storage box in the water storage state is obtained.
[0082] Specifically, when it is detected that the clothing processing equipment enters the drying program, the capacitance value detected by the capacitive sensor is obtained, the water level of the water storage box is calculated based on the capacitance value, and the cumulative usage time of the water storage box in the water storage state is obtained. The dielectric constant needs to be updated based on the cumulative usage time.
[0083] Optionally, the capacitive sensor is installed in the water storage box. This embodiment does not impose any requirements on the number of the capacitive sensors. In order to measure the capacitance value more accurately, multiple capacitive sensors may be provided.
[0084] S102: Obtain a pre-stored dielectric constant, and calculate the water level of the liquid in the water storage box of the laundry processing device according to the capacitance value and the pre-stored dielectric constant.
[0085] In this step, the pre-stored dielectric constant is used to calculate the water level of the liquid in the water storage box.
[0086] Furthermore, the pre-stored dielectric constant is obtained in advance according to the empty and full states of the water storage box, and the specific steps are:
[0087] Before the clothes treatment device uses the drying program for the first time, the capacitance value of the empty box is measured by the capacitance sensor, and the initial air dielectric constant is measured according to the capacitance value of the empty box, and the calculation formula is: After calculating the air dielectric constant, fill the water storage box with water, measure the capacitance value when the water storage box is full of water, and measure the initial liquid dielectric constant based on the capacitance value when full of water. That is, when the clothing treatment device dries clothes in the early stage, the pre-stored dielectric constants are the initial air dielectric constant and the initial liquid dielectric constant.
[0088] It should be noted that, when the clothing processing device is used later, if the dielectric constant has been updated, the pre-stored dielectric constant obtained is the updated dielectric constant.
[0089] It should be noted that when the clothes processing device enters the drying program, the water storage box may not be full of water, and the capacitance value is affected by both air and liquid. At this time, the capacitance value is:
[0090] Among them, ε1 is the initial air dielectric constant, ε3 is the initial liquid dielectric constant, k is the electrostatic force constant, S is the area directly opposite the two plates of the capacitor, d is the distance between the two plates, h is the height of the water storage box, and a is the water level of the liquid in the water storage box.
[0091] It should be noted that the water storage box remains unchanged, and 4πkdh and S are both fixed values.
[0092] For example, 4πkd is 10, h is 20 cm, S is 2, ε1 is 2, ε3 is 4, and C is 0.6, then C=2a+0.4, 2a=0.6-0.4=0.2, and the water level a of the water storage box is 10 cm.
[0093] S103: If the water level is equal to the water level threshold and the accumulated usage time is greater than the time threshold, control the clothing processing device to pause drying, send a prompt message and update the pre-stored dielectric constant.
[0094] In this step, the water level threshold is used to determine whether the water storage box of the laundry processing device is full of water, that is, when the water level is equal to the water level threshold, the water storage box of the laundry processing device is full of water. The time threshold is used to determine whether the laundry processing device needs to update the pre-stored dielectric constant, that is, when the accumulated usage time is greater than or equal to the time threshold, the laundry processing device is controlled to update the pre-stored dielectric constant.
[0095] Specifically, when the water level of the water storage box calculated according to the capacitance value is equal to the water level threshold, it means that the water storage box is full of water. The clothing processing equipment is controlled to pause the drying program and send a prompt message to the user end, prompting the user to clean the water in the water storage box.
[0096] Furthermore, if the accumulated usage time is less than the time threshold at this time, when the clothing treatment device detects that the water storage box has been removed and reinstalled, the drying program continues to be started; if the accumulated usage time is detected to be greater than or equal to the time threshold, when sending a prompt message to the user end, the capacitance value is recorded at the same time to update the pre-stored dielectric constant. How to update the pre-stored dielectric constant will be described in detail in a later embodiment, and will not be described in detail here.
[0097] It should be noted that when the water level in the water storage box is less than the water level threshold, the clothing processing device can continue to dry clothes, while still needing to maintain the detection of the water amount inside the water storage box. The specific steps are:
[0098] Obtain a water level ratio between the water level and the water level threshold, and obtain an interval time according to the water level ratio;
[0099] The clothes processing device is controlled to obtain a new capacitance value according to the interval time, and whether to control the clothes processing device to send a prompt message is determined according to the new capacitance value.
[0100] The present application provides a method for detecting the water level of a water storage box. When a clothes processing device dries clothes, it is determined whether to update the dielectric constant according to the capacitance value of the drying process after the water storage box is full according to the accumulated use time of the water storage box. Through the above method, the water level calculated according to the capacitance value is more accurate, avoiding the influence of the user's drying plan and reducing the user's experience due to the error in water level calculation.
[0101] Figure 2 A schematic diagram of a method for detecting water level in a water storage box provided in an embodiment of the present application Figure 2 The present application embodiment provides a detailed description of the steps for updating the dielectric constant. Figure 2 As shown, the method includes:
[0102] S201. Store a first capacitance value corresponding to the water level, and continuously obtain a state of the water storage box, wherein the state is used to indicate whether the water storage box is taken out.
[0103] In this step, when the accumulated usage time of the water storage box is greater than or equal to the time threshold, it is necessary to send a prompt message while updating the pre-stored dielectric constant according to the capacitance value.
[0104] Specifically, when it is determined that the pre-stored dielectric constant needs to be updated, and the water level of the water storage box calculated according to the capacitance value is equal to the water level threshold, the capacitance value corresponding to the water level is stored as the first capacitance value.
[0105] Furthermore, after the first capacitance value is stored, the clothing processing device is controlled to send a prompt message to the user end, and the state of the water storage box is detected, and it is determined whether the user cleans the water storage box according to the state of the water storage box.
[0106] S202: After detecting that the water storage box is taken out and then installed again, obtain a second capacitance value corresponding to the empty water storage box.
[0107] In this step, when the laundry processing device detects that the water storage box is taken out, that is, it means that the user has taken out the water storage box to clean the water storage box. When the laundry processing device detects that the water storage box is installed, that is, it means that the user has finished cleaning the water storage box.
[0108] Specifically, when it is determined that the user has taken out the water storage box and installed it again, the second capacitance value at this time is obtained, that is, the capacitance value detected by the capacitance sensor when the box is empty is obtained, and then the pre-stored dielectric constant is updated according to the first capacitance value and the second capacitance value.
[0109] S203: Update the air dielectric constant according to the second capacitance value, and update the liquid dielectric constant according to the first capacitance value.
[0110] In this step, the second capacitance value is the capacitance value corresponding to the water storage box when no water is stored. It can be considered that the second capacitance value at this time is only affected by the air dielectric constant, that is, the air dielectric constant can be updated according to the second capacitance value and the pre-stored water-free capacitance value. The specific steps are:
[0111] A first capacitance ratio between the second capacitance value and a pre-stored water-free capacitance value is obtained, the air dielectric constant is updated according to the first capacitance ratio, and the water-free capacitance value is updated according to the second capacitance value.
[0112] Specifically, the calculation formula for the anhydrous capacitance value is:
[0113] The second capacitance value is:
[0114] The first capacitance ratio is: Then the updated air dielectric constant determined according to the first capacitance ratio is:
[0115] Among them, ε1 is the initial air dielectric constant, ε2 is the updated air dielectric constant, k is the electrostatic force constant, S is the area facing the two plates of the capacitor, and d is the distance between the two plates.
[0116] For example, the anhydrous capacitance value C w is 1.5, the second capacitance value C2 is 3, and the initial air dielectric constant ε1 is 1, then the updated air dielectric constant ε2 is: 3 / 1.5*1=2.
[0117] Furthermore, the first capacitance value is the capacitance value corresponding to when the water storage box is full of water. It can be considered that the first capacitance value at this time is only affected by the dielectric constant of the liquid, that is, the dielectric constant of the liquid can be updated according to the first capacitance value and the pre-stored full water capacitance value. The specific steps are:
[0118] A second capacitance ratio between the first capacitance value and a pre-stored full water capacitance value is obtained, the liquid dielectric constant is updated according to the second capacitance ratio, and the full water capacitance value is updated according to the first capacitance value.
[0119] Specifically, the calculation formula for the full water capacitance value is:
[0120] The first capacitance value is:
[0121] The second capacitance ratio is: Then the updated liquid dielectric constant determined according to the second capacitance ratio is:
[0122] Among them, ε3 is the initial liquid dielectric constant, and ε4 is the updated liquid dielectric constant.
[0123] For example, the full water capacitance value C m is 2, the first capacitance value C1 is 1, and the initial liquid dielectric constant ε3 is 2, then the updated liquid dielectric constant ε4 is 1 / 2*2=1.
[0124] The present application provides a method for detecting the water level of a water storage box. When the water storage box is used in a water storage state for too long, the liquid dielectric constant is updated according to the first capacitance value and the pre-stored full water capacitance value, and the air dielectric constant is updated according to the second capacitance value and the pre-stored water-free capacitance value. Through the above method, the water level calculated according to the capacitance value is more accurate, avoiding the influence of the user's drying plan and reducing the user's experience due to the error in water level calculation.
[0125] Figure 3 A schematic diagram of a method for detecting water level in a water storage box provided in an embodiment of the present application Figure 3 The embodiment of the present application provides a detailed description of the operation steps of how to determine whether to enter the drying program based on the capacitance value in the water storage box before the clothes processing device enters the drying program. Figure 3 As shown, the method includes:
[0126] S301. Obtain a third capacitance value detected by the capacitance sensor.
[0127] In this step, the laundry treatment device only reminds the user to clean the water storage box when the water storage box is full of water. If the liquid in the water storage box is not full after the laundry program is finished, the liquid may be stored in the water storage box for a long time, which causes the liquid to deteriorate and affects the dielectric constant of the liquid. Therefore, in order to further avoid water level calculation errors caused by the dielectric constant, the water storage box is full of water but the user does not receive the reminder information.
[0128] Specifically, before the clothes processing device enters the clothes drying program, a third capacitance value detected by the capacitance sensor is first obtained, and whether there is liquid in the water storage box is determined according to the third capacitance value.
[0129] S302: If the third capacitance value is greater than the water-free capacitance value, obtain a difference between the third capacitance value and a reference capacitance value.
[0130] The reference capacitance value is the capacitance value detected by the capacitance sensor after the last clothes drying program is finished, and is used to determine whether the liquid in the water storage box has a significant impact on the dielectric constant of the liquid.
[0131] Specifically, it is determined that the third capacitance value is greater than the water-free capacitance value, that is, there is liquid left over from the last time clothes were dried inside the water storage box. Therefore, it is necessary to obtain the difference between the third capacitance value and the reference capacitance value, and judge whether the liquid left over from the last time clothes were dried has a greater impact on the dielectric constant of the liquid based on the difference, and then judge whether it is necessary to send a prompt message to the user end.
[0132] S303: If the difference is greater than the capacitance difference threshold, control the clothing processing device to send a prompt message, and enter a drying program after receiving user feedback.
[0133] In this step, when it is determined that the difference between the third capacitance value and the water-free capacitance value is greater than the capacitance difference threshold, it means that the liquid left over from the last drying operation in the water storage box of the clothing treatment device has a greater impact on the liquid dielectric constant. If the water level of the water storage box is still calculated according to the original dielectric constant, it is very likely that the clothing treatment device has paused the drying process but the user has not received a prompt message to clean the water storage box.
[0134] Specifically, when it is determined that the difference is greater than the capacitance difference threshold, the clothing processing device is controlled to send a prompt message to prompt the user to clean the water storage box. After detecting that the water storage box is removed and reinstalled, the clothing processing device is controlled to enter the drying program.
[0135] Furthermore, if no user feedback is obtained for a long time, in order to avoid affecting the user's clothes drying plan, the water level threshold is adjusted according to the third capacitance value. The specific operation is:
[0136] Acquire a third capacitance ratio of the third capacitance value to the reference capacitance value;
[0137] Acquire a new water level threshold according to the third capacitance ratio and the water level threshold;
[0138] The clothes processing device is controlled to enter a clothes drying program, and whether to control the clothes processing device to send a prompt message is determined according to the new water level threshold.
[0139] The present application provides a method for detecting the water level of a water storage box, which determines whether there is water in the water storage box before entering the drying program according to a third capacitance value, and determines whether the water affects the dielectric constant and whether the drying program can be entered according to the third capacitance value and a reference capacitance value. Through the above method, it is possible to avoid the water in the water storage box not being cleaned for a long time affecting the measurement of the capacitance value, thereby affecting the accuracy of the calculated water level.
[0140] Figure 4 This is a schematic diagram of the structure of a water level detection and control device for a water storage box provided in an embodiment of the present application. Figure 4 As shown, the device includes: an acquisition module 401, a calculation module 402 and a control module 403, wherein:
[0141] The acquisition module 401 is used to acquire the capacitance value detected by the capacitance sensor and the accumulated usage time of the water storage box of the clothing processing device in the water storage state when the clothing processing device enters the clothes drying program;
[0142] The calculation module 402 is used to obtain a pre-stored dielectric constant, and calculate the water level of the liquid in the water storage box of the laundry treatment device according to the capacitance value and the pre-stored dielectric constant;
[0143] The control module 403 is used to control the clothing processing device to pause drying, send a prompt message and update the pre-stored dielectric constant if the water level is equal to the water level threshold and the accumulated usage time is greater than the time threshold.
[0144] In a possible implementation manner, the calculation module 402 is further configured to:
[0145] storing a first capacitance value corresponding to the water level, and continuously acquiring a state of the water storage box, wherein the state is used to indicate whether the water storage box has been taken out;
[0146] After detecting that the water storage box is taken out and then installed, obtaining a second capacitance value corresponding to the empty water storage box;
[0147] The pre-stored dielectric constant is updated according to the first capacitance value and the second capacitance value.
[0148] In a possible implementation manner, the calculation module 402 is further configured to:
[0149] Updating the air dielectric constant according to the second capacitance value;
[0150] The dielectric constant of the liquid is updated according to the first capacitance value.
[0151] In a possible implementation manner, the calculation module 402 is further configured to:
[0152] Acquire a first capacitance ratio between the second capacitance value and a pre-stored water-free capacitance value, update the air dielectric constant according to the first capacitance ratio, and update the water-free capacitance value according to the second capacitance value;
[0153] The updating of the liquid dielectric constant according to the first capacitance value includes:
[0154] A second capacitance ratio between the first capacitance value and a pre-stored full water capacitance value is obtained, the liquid dielectric constant is updated according to the second capacitance ratio, and the full water capacitance value is updated according to the first capacitance value.
[0155] In a possible implementation manner, the control module 403 is further configured to:
[0156] Obtain a water level ratio between the water level and the water level threshold, and obtain an interval time according to the water level ratio;
[0157] The clothes processing device is controlled to obtain a new capacitance value according to the interval time, and whether to control the clothes processing device to send a prompt message is determined according to the new capacitance value.
[0158] In a possible implementation manner, the control module 403 is further configured to:
[0159] Acquiring a third capacitance value detected by the capacitance sensor;
[0160] If the third capacitance value is greater than the water-free capacitance value, obtaining a difference between the third capacitance value and a reference capacitance value, wherein the reference capacitance value is a capacitance value detected by the capacitance sensor after the last drying program ends;
[0161] If the difference is greater than the capacitance difference threshold, the clothing processing device is controlled to send a prompt message, and enters the drying program after receiving user feedback.
[0162] In a possible implementation manner, the control module 403 is further configured to:
[0163] Acquire a third capacitance ratio of the third capacitance value to the reference capacitance value;
[0164] Acquire a new water level threshold according to the third capacitance ratio and the water level threshold;
[0165] The clothes processing device is controlled to enter a clothes drying program, and whether to control the clothes processing device to send a prompt message is determined according to the new water level threshold.
[0166] Figure 5 This is a schematic diagram of the structure of a clothing processing device provided in an embodiment of the present application. Figure 5 As shown, the laundry processing device 50 includes: at least one processor 501 and a memory 502, wherein:
[0167] The memory 502 is used to store computer-executable instructions; The at least one processor 501 is used to execute the computer-executable instructions stored in the memory 502, so that the at least one processor 501 executes the method for detecting the water level of the water storage box as described in any of the above items.
[0168] Among them, at least one processor 501 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0169] Optionally, in a specific implementation, the processor 501 and the memory 502 are implemented independently, and the processor 501 and the memory 502 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.
[0170] Optionally, in a specific implementation, if the processor 501 and the memory 502 are integrated on a chip, the processor 501 and the memory 502 can communicate through an internal interface.
[0171] The present application also provides a computer storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the technical solution of the water level detection method of the water storage box is implemented.
[0172] The computer-readable storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The computer-readable storage medium may be any available medium that can be accessed by a general or special purpose computer.
[0173] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in the control device of the clothing processing device.
[0174] The division of the units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
[0175] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0176] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0177] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0178] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0179] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments, and the above embodiments are only used to illustrate the technical solution of the present application rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for detecting the water level of a water storage box, characterized in that: The method comprises: When the clothes processing device enters a clothes drying program, obtaining a capacitance value detected by the capacitance sensor and a cumulative usage time of a water storage box of the clothes processing device in a water storage state; Acquiring a pre-stored dielectric constant, and calculating the water level of the liquid in the water storage box of the laundry treatment device according to the capacitance value and the pre-stored dielectric constant; If the water level is equal to the water level threshold and the accumulated usage time is greater than the time threshold, the clothing processing device is controlled to pause drying, a prompt message is sent and the pre-stored dielectric constant is updated.
2. The method according to claim 1, characterized in that The updating of the pre-stored dielectric constant includes: storing a first capacitance value corresponding to the water level, and continuously acquiring a state of the water storage box, wherein the state is used to indicate whether the water storage box has been taken out; After detecting that the water storage box is taken out and then installed, obtaining a second capacitance value corresponding to the empty water storage box; The pre-stored dielectric constant is updated according to the first capacitance value and the second capacitance value.
3. The method according to claim 2, characterized in that The pre-stored dielectric constant includes an air dielectric constant and a liquid dielectric constant, and updating the pre-stored dielectric constant according to the first capacitance value and the second capacitance value includes: Updating the air dielectric constant according to the second capacitance value; The dielectric constant of the liquid is updated according to the first capacitance value.
4. The method according to claim 3, characterized in that The updating of the air dielectric constant according to the second capacitance value includes: Acquire a first capacitance ratio between the second capacitance value and a pre-stored water-free capacitance value, update the air dielectric constant according to the first capacitance ratio, and update the water-free capacitance value according to the second capacitance value; The updating of the liquid dielectric constant according to the first capacitance value includes: A second capacitance ratio between the first capacitance value and a pre-stored full water capacitance value is obtained, the liquid dielectric constant is updated according to the second capacitance ratio, and the full water capacitance value is updated according to the first capacitance value.
5. The method according to any one of claims 1 to 4, characterized in that: If the water level is less than the water level threshold, the method further includes: Obtain a water level ratio between the water level and the water level threshold, and obtain an interval time according to the water level ratio; The clothes processing device is controlled to obtain a new capacitance value according to the interval time, and whether to control the clothes processing device to send a prompt message is determined according to the new capacitance value.
6. The method according to claim 5, characterized in that Before the clothes treating device enters the clothes drying program, the method further includes: Acquiring a third capacitance value detected by the capacitance sensor; If the third capacitance value is greater than the water-free capacitance value, obtaining a difference between the third capacitance value and a reference capacitance value, wherein the reference capacitance value is a capacitance value detected by the capacitance sensor after the last drying program ends; If the difference is greater than the capacitance difference threshold, the clothing processing device is controlled to send a prompt message, and enters the drying program after receiving user feedback.
7. The method according to claim 6, characterized in that If no user feedback is received within a preset time, the method further includes: Acquire a third capacitance ratio of the third capacitance value to the reference capacitance value; Acquire a new water level threshold according to the third capacitance ratio and the water level threshold; The clothes processing device is controlled to enter a clothes drying program, and whether to control the clothes processing device to send a prompt message is determined according to the new water level threshold.
8. A water level detection and control device for a water storage box, characterized in that: include: Acquisition module, calculation module and control module, where: The acquisition module is used to acquire the capacitance value detected by the capacitance sensor and the accumulated usage time of the water storage box of the clothing processing device in the water storage state when the clothing processing device enters the clothes drying program; The calculation module is used to obtain a pre-stored dielectric constant and calculate the water level of the liquid in the water storage box of the laundry treatment device according to the capacitance value and the pre-stored dielectric constant; The control module is used to control the clothing processing device to pause drying, send a prompt message and update the pre-stored dielectric constant if the water level is equal to the water level threshold and the accumulated usage time is greater than the time threshold.
9. A clothes processing device, characterized in that: include: at least one processor and memory, wherein: The memory is used to store computer-executable instructions; The at least one processor is configured to execute the computer-executable instructions stored in the memory, so that the at least one processor performs the method according to any one of claims 1 to 7.
10. A computer storage medium, characterized in that: The computer storage medium stores computer executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.