Water heater control method, device and equipment and storage medium
By detecting the turbidity of the water in the water heater and performing self-cleaning operations, the problem of poor water quality in the water heater is solved, the water quality is clean, and the user's health is ensured.
Patent Information
- Application Number
- CN202310770231.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2024-12-27
AI Technical Summary
During the use of existing water heaters, although there is a water purification and sterilization module, it cannot effectively solve the problem of poor water quality in the inner liner, resulting in a gradual decrease in water quality and affecting user health.
By detecting the water turbidity in the inner liner of the water heater, when the turbidity reaches or exceeds the threshold, the desired turbidity of self-cleaning is obtained, and the self-cleaning parameters are determined based on the turbidity and the desired turbidity, and the inner liner is self-cleaned to reduce the turbidity. .
It effectively improves the cleanliness of the water quality of the water heater, extends the service life of the water purifier, and ensures the health of the user.
Smart Images

Figure CN119196935A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of water heaters, and in particular to a water heater control method, device, equipment and storage medium. Background Art
[0002] With the development of science and technology, the application scenarios of water heaters have become more and more extensive, which has facilitated the needs of users to use hot water. At present, if the water quality of the water heater is poor during use, as the water heater is used for a longer time, the dirt in the water will gradually settle in the inner tank of the water heater, affecting the cleanliness of the user's water. However, at present, only a water purification and sterilization module is set at the water outlet of the water heater to purify the water output of the water heater, which cannot solve the problem of poor water quality in the inner tank of the water heater.
[0003] Therefore, how to improve the cleanliness of the water in the water heater tank is an urgent problem to be solved. Summary of the invention
[0004] The present application provides a water heater control method, device, equipment and storage medium to solve the problem of how to improve the cleanliness of water in the inner tank of a water heater in the prior art.
[0005] In a first aspect, the present application provides a water heater control method, comprising:
[0006] Obtaining the turbidity of water in the inner tank of the water heater;
[0007] If the turbidity is greater than or equal to the turbidity threshold, the desired turbidity for self-cleaning of the inner tank is obtained, and the turbidity threshold is the minimum turbidity that triggers self-cleaning of the inner tank;
[0008] According to the turbidity and the expected turbidity, obtaining a value of a self-cleaning parameter of the inner tank;
[0009] According to the value of the self-cleaning parameter, the inner tank is self-cleaned to reduce the turbidity of the water in the inner tank.
[0010] Optionally, the self-cleaning parameters include: a first cleaning parameter and a second cleaning parameter;
[0011] determining a first cleaning parameter from the self-cleaning parameters;
[0012] Acquire a value of the first cleaning parameter determined by a user;
[0013] A value of the second cleaning parameter is acquired according to the first cleaning parameter, the turbidity and the expected turbidity.
[0014] Optionally, acquiring a value of the second cleaning parameter according to the first cleaning parameter, the turbidity, and the expected turbidity includes:
[0015] Determining a cleaning function according to the turbidity and the expected turbidity, wherein the cleaning function is used to characterize a functional relationship between the first cleaning parameter and the second cleaning parameter;
[0016] The value of the second cleaning parameter is obtained according to the cleaning function and the value of the first cleaning parameter.
[0017] Optionally, the acquiring a value of the first cleaning parameter determined by a user includes:
[0018] Acquiring environmental data of the user using the water heater, and / or historical values of self-cleaning parameters used by the user when self-cleaning the inner tank;
[0019] Determining an adjustment range of the first cleaning parameter according to the turbidity and the expected turbidity;
[0020] The value of the first cleaning parameter is determined based on the environmental data of the user using the water heater, and / or the user's historical values of self-cleaning parameters used when self-cleaning the inner tank, and the adjustment range.
[0021] Optionally, before obtaining the desired turbidity, the method further includes:
[0022] Sending a self-cleaning reminder message to the user's electronic device;
[0023] The obtaining of the desired turbidity comprises:
[0024] The expected turbidity is obtained according to the received feedback information of the prompt information.
[0025] Optionally, the self-cleaning of the inner tank includes:
[0026] Driving the water in the inner tank to generate a vortex flow in a preset direction so as to bring impurities in the inner tank into the flowing water;
[0027] continuously monitoring the turbidity of the water in the inner tank;
[0028] When the turbidity fluctuation of the water in the inner tank is within a preset fluctuation range, the water in the inner tank is discharged to complete self-cleaning.
[0029] Optionally, also include:
[0030] Obtaining family member information of the user;
[0031] determining a self-cleaning mode according to the family member information;
[0032] The desired turbidity and / or the self-cleaning parameters are determined according to the self-cleaning mode.
[0033] In a second aspect, the present application provides a water heater control device, comprising:
[0034] An acquisition module, used for acquiring the turbidity of water in the inner tank of the water heater;
[0035] A processing module, configured to obtain an expected turbidity for self-cleaning of the inner tank if the turbidity is greater than or equal to a turbidity threshold, wherein the turbidity threshold is a minimum turbidity for triggering self-cleaning of the inner tank; and obtain a value of a self-cleaning parameter of the inner tank according to the turbidity and the expected turbidity;
[0036] The control module is used to perform self-cleaning on the inner tank according to the value of the self-cleaning parameter to reduce the turbidity of the water in the inner tank.
[0037] In a third aspect, the present application provides an electronic device, comprising: a processor, a communication interface, and a memory; the processor is communicatively connected to the communication interface and the memory respectively;
[0038] The memory stores computer-executable instructions;
[0039] The communication interface communicates and interacts with external devices;
[0040] The processor executes the computer-executable instructions stored in the memory to implement the method as described in any one of the first aspects.
[0041] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the water heater control method as described in any one of the first aspects.
[0042] In a fifth aspect, the present application provides a computer program product, which, when executed by a processor, is used to implement the water heater control method as described in any one of the first aspects.
[0043] The water heater control method, device, equipment and storage medium provided in the present application obtain the turbidity of the water in the inner tank of the water heater. When the turbidity is greater than or equal to the turbidity threshold, it indicates that the inner tank self-cleaning is required, and then the expected turbidity of the inner tank self-cleaning is obtained. According to the turbidity and the expected turbidity, the value of the self-cleaning parameter of the inner tank is obtained to control the inner tank self-cleaning operation according to the specific value of the parameter, so that the inner tank self-cleaning operation can be effectively performed according to the turbidity of the water and the expected turbidity, and the turbidity of the water in the inner tank can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the description are used to explain the principles of the present application:
[0045] Figure 1 It is a structural schematic diagram of an existing electric water heater;
[0046] Figure 2 A schematic flow chart of a water heater control method provided in an embodiment of the present application;
[0047] Figure 3 A schematic flow chart of another water heater control method provided in an embodiment of the present application;
[0048] Figure 4 A schematic diagram of the structure of an electric water heater provided in an embodiment of the present application;
[0049] Figure 5 A flow chart of another water heater control method provided in an embodiment of the present application;
[0050] Figure 6 It is a structural schematic diagram of a water heater control device provided in an embodiment of the present application;
[0051] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0052] 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
[0053] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0054] First, to facilitate understanding, the scenarios involved in this application are introduced in detail.
[0055] Taking electric water heater as an example, Figure 1 FIG. 1 is a schematic diagram of the structure of an existing electric water heater. Figure 1 As shown, the electric water heater includes: an inner tank, a water inlet, a water outlet, a water purification and sterilization module, a magnesium rod, a heating rod, and a temperature measuring tube.
[0056] Among them, the inner tank is used to store water. When cold water enters the inner tank from the water purification port, the electric water heater obtains hot water stored in the inner tank by heating the cold water in the inner tank. When the user uses the electric water heater, the electric water heater discharges the hot water in the inner tank through the water outlet to meet the user's hot water use needs. The water purification and sterilization module is used to purify and sterilize the water discharged from the water outlet to improve the cleanliness of the water discharged by the electric water heater. The heating rod is used to heat the water in the inner tank, the magnesium rod is used to prevent the metal inner tank from being corroded and to soften the water quality of the water in the inner tank, and the temperature measuring tube is used to determine the temperature of the water in the inner tank.
[0057] However, when the cumulative number of times and time of use of the electric water heater increases, if the quality of the cold water entering the water inlet is poor, the dirt in the water will gradually settle in the inner tank of the water heater. Even if the hot water discharged from the water outlet can be purified and sterilized when the water is discharged, the problem of dirt in the inner tank is still not solved. The water quality of the water stored in the inner tank will become worse and worse as the dirt increases. When the water quality in the inner tank becomes worse and worse, it may also exceed the water purification and sterilization processing capacity of the water purification and sterilization module, resulting in more dirt and bacteria in the water discharged from the water outlet, thereby endangering the health of the user. Therefore, how to improve the cleanliness of the water quality in the inner tank of the water heater is an urgent problem to be solved.
[0058] In view of this, the present application provides a water heater control method, which detects the turbidity of water in the water heater tank and obtains the user's expected turbidity for self-cleaning of the tank, determines the self-cleaning parameters of the water heater tank, and performs self-cleaning operations corresponding to the self-cleaning parameters on the water heater tank according to the self-cleaning parameters, thereby improving the cleanliness of the water in the water heater tank.
[0059] The execution subject of the present application may be a water heater, or a processing chip of the water heater. If the execution subject is the water heater, the water heater may execute the method of the present application based on its own processing; if the execution subject is the processing chip of the water heater, the processing chip may execute the method of the present application by executing a program or code that implements the method. The water heater may be, for example, an electric water heater, a solar water heater, or other water heater with an inner tank, and the present application does not limit this. The execution subject of the present application may also be a cloud platform or server that is communicatively connected to the water heater, and the water heater obtains the required information or data through interaction with the cloud platform or server for judgment and processing.
[0060] The following takes the water heater as an example, and describes the technical solution of the embodiment of the present application in detail in combination with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0061] Figure 2A schematic diagram of a water heater control method provided in an embodiment of the present application. Figure 2 As shown, the method includes:
[0062] S201. Obtain the turbidity of water in the inner tank of the water heater.
[0063] The turbidity of the water in the inner tank of the water heater can be obtained by a turbidity sensor deployed in the water heater. The turbidity sensor can be a turbidity sensor that measures the turbidity of water by any method such as transmission method, scattering method, and transmitted light ratio method, and the present application does not limit this. The turbidity sensor can be deployed at any position in the inner tank, for example, it can be deployed at the bottom of the inner tank, the side of the inner tank, etc. Preferably, since the dirt in the water tends to settle to the bottom of the inner tank, the turbidity sensor can be deployed at the bottom of the inner tank, thereby improving the accuracy of the detected turbidity.
[0064] S202: If the turbidity is greater than or equal to the turbidity threshold, obtain the desired turbidity for self-cleaning of the inner tank.
[0065] The turbidity threshold is the minimum turbidity that triggers the self-cleaning of the inner tank. The turbidity threshold may be preset in the water heater or input into the water heater by the user. The user may also adjust the turbidity threshold according to actual needs to meet the different needs of the user for self-cleaning of the inner tank. The expected turbidity refers to the value that the user expects the turbidity of the water in the inner tank to reach after the self-cleaning of the inner tank is completed.
[0066] In a possible implementation, the expected turbidity may be a preset expected turbidity of the water heater. The preset expected turbidity of the water heater may be preset by the water heater manufacturer according to actual needs when the water heater leaves the factory. For example, the expected turbidity may take a long time to change to the turbidity threshold, so as to avoid the need for frequent internal tank self-cleaning operations of the water heater.
[0067] In another possible implementation, the expected turbidity may also be determined according to an expected value indicated by a user. For example, the user may operate the water heater or send an instruction through other electronic devices connected to the water heater so that the water heater can obtain the expected turbidity.
[0068] S203: Obtain the value of the self-cleaning parameter of the inner tank according to the turbidity and the expected turbidity.
[0069] Among them, the self-cleaning parameter may include, for example, at least one of the parameters such as cleaning time, detergent dosage, water inlet speed, and water temperature. The self-cleaning parameter may be determined according to the self-cleaning method of the inner tank of the water heater. For example, when a detergent is used for self-cleaning of the inner tank, the self-cleaning parameter may include the detergent dosage. Different detergent dosages have different cleaning effects and cleaning efficiencies. When the inner tank is self-cleaned by forming a vortex flow in the inner tank through the inlet and outlet water, the self-cleaning parameter may include the water inlet speed. The faster the water inlet speed, the better the self-cleaning effect of the inner tank. In addition, increasing the cleaning time and / or increasing the water temperature can also significantly improve the self-cleaning effect of the inner tank.
[0070] When the turbidity of the water in the inner tank is different and the expected turbidity is different, the self-cleaning capabilities required by the water heater are also different. Therefore, different self-cleaning parameters can be used to achieve different self-cleaning capabilities to cope with different turbidity conditions.
[0071] One possible implementation method is to directly obtain the values of all parameters of the self-cleaning parameters of the inner tank that meet the turbidity condition according to the turbidity and the expected turbidity. For example, the self-cleaning parameters of the self-cleaning ability that best meets the turbidity condition can be selected from a set of preset self-cleaning parameters, or the values of the self-cleaning parameters of the inner tank that can meet the requirements can be calculated according to the values of the turbidity and the expected turbidity, as well as the difference between the two.
[0072] Another possible implementation method is to intelligently estimate the values of the remaining self-cleaning parameters based on some self-cleaning parameters determined by the user, as well as the turbidity and the expected turbidity, so as to meet the self-cleaning ability of the inner tank while meeting the user's other requirements for self-cleaning parameters, such as time requirements, cleaning agent requirements, etc.
[0073] S204: According to the value of the self-cleaning parameter, the inner tank is self-cleaned to reduce the turbidity of the water in the inner tank.
[0074] The method of self-cleaning the inner tank can be to make the water in the inner tank form a vortex flow, bring the dirt deposited at the bottom of the inner tank into the flowing water flow, and flush the impurities and dirt on the magnesium rod in the inner tank of the water heater, bring the flushed dirt into the water flow, and then discharge the water with dirt from the inner tank through the drain port, so as to achieve the purpose of reducing the turbidity of the water in the inner tank. The method of self-cleaning the inner tank can also be to add a detergent to the water in the inner tank to clean the inner wall and the magnesium rod of the inner tank, and then discharge the water with dirt from the inner tank through the drain port, so as to achieve the purpose of reducing the turbidity of the water in the inner tank. The method of self-cleaning the inner tank can also be to use a cleaning device deployed in the inner tank to clean the inner wall of the inner tank by physical friction. This application does not limit which specific method is adopted, or which methods are mixed.
[0075] The water heater controls the subsequent inner tank self-cleaning operation according to the value of the self-cleaning parameter. For example, the amount of detergent required for self-cleaning the inner tank is determined according to the amount of detergent used; the speed of water inflow during self-cleaning of the inner tank is determined according to the water inflow speed to affect the intensity of the vortex flow of water in the inner tank, thereby adjusting the self-cleaning ability, etc.
[0076] The method provided in the embodiment of the present application obtains the turbidity of the water in the inner tank of the water heater. When the turbidity is greater than or equal to the turbidity threshold, it indicates that the inner tank self-cleaning needs to be performed, and then obtains the expected turbidity for the inner tank self-cleaning. According to the turbidity and the expected turbidity, the value of the self-cleaning parameter of the inner tank is obtained, so as to control the inner tank self-cleaning operation according to the specific value of the parameter, so that the inner tank self-cleaning operation can be effectively performed according to the turbidity of the water and the expected turbidity, and the turbidity of the water in the inner tank can be reduced.
[0077] Below, taking the example of intelligently estimating the values of the remaining self-cleaning parameters based on some self-cleaning parameters determined by the user, and the turbidity and the expected turbidity, how to obtain the values of the self-cleaning parameters of the inner tank based on the turbidity and the expected turbidity in step S203 is described in detail. Among them, the self-cleaning parameters include a first cleaning parameter and a second cleaning parameter, the first cleaning parameter is determined based on the user, and the second cleaning parameter is a parameter of the self-cleaning parameter other than the first cleaning parameter.
[0078] Figure 3 A flow chart of another water heater control method provided in an embodiment of the present application. Figure 3 As shown, step S203 may include:
[0079] S301 . Determine a first cleaning parameter from self-cleaning parameters.
[0080] The first cleaning parameter can be determined based on the cleaning parameter that allows the user to customize the value. For example, the user hopes to control the cleaning time according to his own needs, so as to complete the self-cleaning of the inner tank earlier, so as to use the hot water of the water heater earlier, or when the user is not in a hurry to use water, a longer cleaning time can be set, and other cleaning parameters such as water temperature and detergent dosage can be reduced to save energy or detergent. For another example, if there are babies or children in the user's home, the user may worry about the high amount of detergent used, and there will be more detergent residue when using the water in the inner tank of the water heater, which will damage the skin of the baby or child, and hope to use less detergent for self-cleaning of the inner tank. The manufacturer of the water heater can determine the cleaning parameter that can be customized by the user in the self-cleaning parameters as the first cleaning parameter according to actual needs.
[0081] S302: Obtain a value of a first cleaning parameter determined by a user.
[0082] Implementation A: Obtain the value of the first cleaning parameter according to the environmental data of the water heater and / or the values of the self-cleaning parameters used when the inner tank is self-cleaned in the user's history.
[0083] S3021. Obtain the environmental data of the user using the water heater, and / or the values of the self-cleaning parameters used by the user in the history of self-cleaning the inner tank.
[0084] The environmental data may be the use environment of the water heater, such as a home use environment, a public bathroom use environment, etc. The water heater may obtain the environmental data of the user using the water heater through the environmental data set by the user when using the water heater for the first time, such as the environmental data set by the user when operating the water heater, or the environmental data set by the user using a personal electronic device connected to the water heater.
[0085] The values of the self-cleaning parameters used by the user in the history of self-cleaning the inner tank may be the values of the self-cleaning parameters used when the user self-cleaned the inner tank multiple times within a preset time period, or may be the values of the self-cleaning parameters used by the user the last time he self-cleaned the inner tank.
[0086] S3022. Determine an adjustment range of the first cleaning parameter according to the turbidity and the expected turbidity.
[0087] According to the turbidity and the expected turbidity, the turbidity value required to be reduced for the self-cleaning of the inner tank can be determined. According to the turbidity value required to be reduced and the cleaning ability of the water heater for self-cleaning of the inner tank, the adjustment range of the first cleaning parameter is determined. For example, taking the first cleaning parameter as the cleaning time as an example, to achieve the turbidity value required to be reduced for the self-cleaning of the inner tank, the cleaning ability of the water heater for self-cleaning of the inner tank can be used to determine the shortest cleaning time and the longest cleaning time required by the water heater when other parameters take different values. The shortest cleaning time and the longest cleaning time are used as the two boundaries of the adjustment range of the first cleaning parameter, and the adjustment range of the cleaning time is between the two boundaries.
[0088] Optionally, the water heater can also determine the adjustment range of the first plot parameter by the cleaning capabilities corresponding to different cleaning programs (i.e., limiting the value range of other cleaning parameters). The adjustment range of the first plot parameter is determined according to the actual inner tank self-cleaning capability of the water heater, and this application does not limit this.
[0089] S3023. Determine the value of the first cleaning parameter according to the environmental data of the user using the water heater, and / or the values of the self-cleaning parameters used by the user in the history of self-cleaning the inner tank, and the adjustment range.
[0090] A possible implementation method is to determine the value of the first cleaning parameter based on the environmental data of the user using the water heater and the adjustment range. When the environmental data is different, the priority of the user's attention to the first cleaning parameter is also different. For example, when the water heater is used in a home environment, the user's priority of paying attention to the dosage of the detergent is higher than the cleaning time; when the water heater is used in a public bathroom environment, the user's priority of paying attention to the cleaning time is higher than the dosage of the detergent. According to the different priorities, the value of the first cleaning parameter with a high priority is adjusted first to meet the user's self-cleaning needs for the inner tank. Among them, under different environmental data, the user's value for the first cleaning parameter can be preset in the water heater or set by the user himself. Within the adjustment range of the first cleaning parameter with a high priority, according to the first cleaning parameter target value that meets the user's self-cleaning needs for the inner tank, the value closest to the target value is determined as the value of the first cleaning parameter.
[0091] Another possible implementation method is to determine the value of the first cleaning parameter based on the user's historical values of the self-cleaning parameters used when self-cleaning the inner tank, and the adjustment range. When the user's historical values of the self-cleaning parameters used when self-cleaning the inner tank are the values of the self-cleaning parameters used when the user self-cleans the inner tank multiple times within a preset time period, the average value of the values or the value with the most values can be used as the value of the first cleaning parameter within the adjustment range. When the user's historical values of the self-cleaning parameters used when self-cleaning the inner tank are the values of the self-cleaning parameters used when self-cleaning the inner tank was performed the last time, it can be determined whether the last value is within the adjustment range. If so, the last value is used as the value of the first cleaning parameter; if not, the last value is obtained for judgment until the historical value is within the adjustment range, and the historical value is used as the value of the first cleaning parameter.
[0092] In another possible implementation, the value of the first cleaning parameter is determined based on the environmental data of the user using the water heater and the value of the self-cleaning parameter used when the user performs self-cleaning on the inner tank in history, as well as the adjustment range. In this implementation, the environmental data and the historical value can be comprehensively considered to determine the value closest to the user's inner tank self-cleaning demand within the adjustment range as the value of the first cleaning parameter.
[0093] Implementation method B: Acquiring according to the value of the first cleaning parameter set by the user.
[0094] The water heater may actively output a setting request for the first cleaning parameter, and the user may feedback the setting request by operating the water heater, and the water heater may obtain the value of the first cleaning parameter from the feedback. The setting request may, for example, be a request to select a self-cleaning mode, or a direct request to set the value of the first cleaning parameter. Alternatively, the water heater may also obtain the value of the first cleaning parameter by sending the setting request to the user's electronic device. Alternatively, the value of the first cleaning parameter is a value pre-set in the water heater and remains unchanged within a fixed period.
[0095] S303. Obtain a value of a second cleaning parameter according to the first cleaning parameter, turbidity, and expected turbidity.
[0096] A possible implementation is obtained based on the cleaning function.
[0097] S3031. Determine a cleaning function based on the turbidity and expected turbidity.
[0098] Among them, the cleaning function is used to characterize the functional relationship between the first cleaning parameter and the second cleaning parameter. The cleaning function is obtained by fitting through a multivariate linear regression method. For example, different turbidities may correspond to different cleaning functions, and the mapping relationship between the turbidity and the cleaning function may be preset in the water heater. Exemplarily, taking the turbidity as 50NTU, the cleaning parameters include water temperature, water inlet flow, detergent dosage, and cleaning time as an example. The turbidity can be determined based on the turbidity threshold. For example, if the turbidity threshold is 50NTU, then when the turbidity of the water in the inner tank reaches 50NTU, the user needs to be reminded, or the inner tank can be directly self-cleaned, and the turbidity can be considered to be 50NTU. In this example, the cleaning function corresponding to the turbidity can be expressed as the following formula (1):
[0099] C=a1T+a2q v +a3V+a4t+b (1)
[0100] Where C is the expected turbidity; T is the water temperature, a1 is the parameter of water temperature; q v is the water inlet flow rate, a2 is the parameter of the water inlet flow rate, and the water inlet flow rate is determined according to the aforementioned water inlet speed; V is the detergent dosage, a3 is the parameter of the detergent dosage; t is the cleaning time, a4 is the parameter of the cleaning time, and b is a constant term.
[0101] For the above formula (1), according to the actual needs of the water heater (for example, cleaning ability, inner tank size, etc.), a multivariate linear regression analysis can be performed on the above content to obtain the specific values of the above coefficients a1 to a4. For example, according to the actual needs, the least squares method (LSM) and other fitting methods can be used to fit and obtain the specific values of the above coefficients. This application only provides the specific content of the cleaning function of the following formula (2) based on a possible actual need as an example:
[0102] C=-0.132T-3.407q v -0.495V-0.003t+27.611 (2)
[0103] It should be understood that how to perform multivariate linear regression according to actual needs can refer to the existing technology, and this application does not limit this.
[0104] In addition, according to actual needs, it can be set which of the above cleaning parameters can be used as the first cleaning parameters, and the remaining cleaning parameters are the second cleaning parameters.
[0105] S3032. Obtain a value of the second cleaning parameter according to the cleaning function and the value of the first cleaning parameter.
[0106] The value of the cleaning function is the specific value of the coefficient corresponding to each cleaning parameter mentioned above, and the value of the first cleaning parameter is determined according to the user's setting. Substituting the above-mentioned expected turbidity, the specific value of the coefficient, and the value of the first cleaning parameter into the above formula (1), the multivariate function for solving the value of the second cleaning parameter can be determined. Solving the multivariate function can determine the value range of at least one set of second cleaning parameters. The value of the second cleaning parameter is determined from the value range of the at least one set of second cleaning parameters.
[0107] Exemplarily, the second cleaning parameter is water temperature, detergent dosage, and water inlet flow rate. The values of the water temperature and detergent dosage can be determined according to the value range of the water temperature and detergent dosage, and then the values of the water temperature and detergent dosage are substituted back into the multivariate function to determine the value of the water inlet flow rate. Taking water temperature as an example, the water temperature can be any water temperature value selected within the value range of the water temperature, for example, it can be the middle value of the value range, or the maximum value of the value range, or the minimum value of the value range, etc.
[0108] Another possible implementation is to obtain it according to a preset mapping relationship. In this implementation, the water heater stores a mapping relationship between the value of the second cleaning parameter corresponding to different turbidities and expected turbidities when the value of the first cleaning parameter is determined. The mapping relationship can be, for example, a pre-made mapping table. For example, taking the first cleaning parameter as the detergent dosage and the second cleaning parameter as the cleaning time and water temperature as an example, the mapping table can be shown in Table 1 below: Table 1 Turbidity Expected turbidity Detergent dosage Cleaning time Water temperature 25NTU 5NTU 5g 30 minutes 55 degrees 20NTU 5NTU 5g 25 minutes 55 degrees 15NTU 5NTU 5g 23 minutes 50 degrees …… …… …… …… ……
[0109] As shown in Table 1, according to the turbidity and the expected turbidity, with the value of the detergent dosage (first cleaning parameter), the values of the two second cleaning parameters, cleaning time and water temperature, can be determined from Table 1.
[0110] The method provided in the embodiment of the present application intelligently estimates the value of the second cleaning parameter by determining the first cleaning parameter determined by the user and the value of the first cleaning parameter, as well as the current turbidity and expected turbidity of the inner tank of the water heater. The cleaning parameters for the subsequent self-cleaning of the inner tank of the water heater are determined based on the value of the first cleaning parameter and the value of the second cleaning parameter, thereby realizing the function of intelligently adjusting the cleaning parameters for the self-cleaning of the inner tank of the water heater according to the different cleaning needs of the user, thereby improving the intelligence of the self-cleaning of the inner tank of the water heater and improving the user experience.
[0111] Next, taking the case where the expected turbidity is determined according to the expected value indicated by the user as an example, how to obtain the expected turbidity in step S202 is described.
[0112] Before obtaining the expected turbidity in step S202, if it is detected that the turbidity of the water in the inner tank of the water heater is greater than or equal to the turbidity threshold, it indicates that the inner tank of the water heater needs to be self-cleaned to reduce the turbidity of the water in the inner tank of the water heater. The water heater can send an inner tank self-cleaning prompt message to the user's electronic device, which can be, for example, a mobile phone, a tablet computer, a computer, a smart home central control device, etc. The inner tank self-cleaning prompt message can be sent to the user's electronic device through application push, applet push, text message, etc. to prompt the user that the inner tank of the water heater needs to be self-cleaned. Exemplarily, the inner tank self-cleaning prompt message can be, for example, "The turbidity of the water in the inner tank of the water heater is too high, and the inner tank needs to be self-cleaned", or it can also include "Please feedback the inner tank self-cleaning mode / enter the expected turbidity" and other content that can be customized by the user.
[0113] After the user's electronic device receives the inner tank self-cleaning prompt information, it can provide feedback information of the inner tank self-cleaning prompt information to the water heater according to actual needs. The feedback information may include, for example, "confirm to perform inner tank self-cleaning", or "perform inner tank self-cleaning in a preset manner", or "perform inner tank self-cleaning in XX mode", or "reduce the turbidity of water in the inner tank to XX turbidity", etc.
[0114] After receiving the feedback information, the water heater can obtain the expected turbidity according to the feedback information. If the feedback information is obtained from the user confirming the self-cleaning of the inner tank, the water heater can determine the expected threshold value according to the user's historical information on the self-cleaning of the inner tank, or the water heater uses a preset threshold value as the expected threshold value, etc.; if the feedback information is obtained for "self-cleaning the inner tank in a preset manner", the water heater can use the threshold value pre-set by the user as the expected threshold value; if the feedback information is obtained for the self-cleaning mode selected by the user, the threshold value corresponding to the different self-cleaning modes is used as the expected threshold value; if the feedback information directly includes the threshold value indicated by the user, the threshold value is used as the expected threshold value, etc.
[0115] The method provided in the embodiment of the present application interacts with the user's electronic device to remind the user to self-clean the inner tank, and receives feedback information from the user's electronic device to obtain the expected threshold from the feedback information, so that the water heater can provide the user with the function of customizing the expected threshold to achieve a self-cleaning effect of the inner tank that meets the actual needs of the user, thereby improving the flexibility and intelligence of the self-cleaning of the inner tank of the water heater and enhancing the user experience.
[0116] Next, how to self-clean the inner tank in step S204 is described in detail by making the water in the inner tank form a vortex flow. Figure 4 This is a schematic diagram of the structure of an electric water heater provided in an embodiment of the present application. Figure 4 As shown, the electric water heater Figure 1 On the basis of, a water pump is deployed at the lower side of the inner tank, and the water pump is connected to the inner tank through an inlet pipe and an outlet pipe. The two connection positions of the water pump and the inner tank are respectively the water inlet and the water outlet of the water pump. A sewage outlet is also arranged on the inner tank.
[0117] The water pump is used to draw water from the inner tank into the water inlet pipe of the water pump through the water inlet, and discharge the water from the water outlet pipe back into the inner tank, thereby driving the water in the inner tank to generate vortex flow in a preset direction to bring impurities in the inner tank into the flowing water. Figure 4When the water pump outlet is on the right side and the water pump inlet is on the left side, a counterclockwise vortex flow can be formed in the inner tank; if the water pump outlet is set on the left side and the water pump inlet is set on the right side, a clockwise vortex flow can be formed in the inner tank. The above can be set according to actual needs, and this application does not limit this.
[0118] When eddy current flow is formed in the inner tank, the eddy current flow can bring impurities and dirt deposited at the bottom of the inner tank by gravity into the water flow, and can also bring some impurities and dirt hanging on the magnesium rod into the water flow. Then, the drain port is opened to drain the water containing impurities and dirt from the inner tank, so as to reduce the impurities and dirt in the inner tank and achieve the purpose of self-cleaning of the inner tank.
[0119] In addition, during the self-cleaning process, it takes a certain amount of time for the vortex flow of the water in the inner tank to bring the impurities and dirt in the inner tank into the vortex. Therefore, when self-cleaning starts, the turbidity in the water will increase due to the increase in the dirt brought in. When the vortex brings the impurities and dirt that can be taken away into the water, the turbidity in the water will gradually stabilize. Therefore, the turbidity of the water in the inner tank can be continuously monitored, for example, by continuously monitoring through a turbidity sensor deployed in the inner tank. When the turbidity fluctuation of the water in the inner tank is within a preset fluctuation range, the water in the inner tank is discharged to complete the self-cleaning.
[0120] The preset fluctuation range can be determined according to actual needs, for example, the preset fluctuation range can be set to not exceed 1NTU, and this application does not impose any restrictions on this. When the turbidity fluctuation of the water in the inner tank is within the preset fluctuation range, the user can be reminded to manually open the sewage outlet for sewage discharge by outputting a sewage discharge reminder, or the water heater can automatically open the sewage outlet for sewage discharge to complete self-cleaning.
[0121] In addition, in any of the above implementations, the water heater control method provided in the present application may also include determining a self-cleaning mode, determining an expected turbidity, and / or a self-cleaning parameter based on the user's family member information. Figure 5 A flow chart of another water heater control method provided in an embodiment of the present application. Figure 5 As shown, the method may also include:
[0122] S501. Obtain the user's family member information.
[0123] The family member information may be included in the user's account information obtained by the water heater from the cloud, or may be obtained from other authorized electronic devices of the user, such as the user's mobile phone, computer, smart home central control device, other smart home devices, etc. The family member information may include, for example, the category, age, gender, etc. of the family members. The category may be, for example, the elderly, adults, teenagers, infants, etc.
[0124] S502: Determine a self-cleaning mode according to family member information.
[0125] The corresponding self-cleaning mode may be determined according to the category, age, gender, etc. of the family members included in the family member information.
[0126] Exemplarily, it is determined whether the family member information includes special groups such as infants and / or the elderly, for example, by the category or age of the family member. If included, the self-cleaning mode for the special group is used as the corresponding self-cleaning mode. For example, if the family member information includes infants or the elderly, a self-cleaning mode that requires a reduced detergent dosage or no detergent is selected, and / or the desired turbidity required for these special groups is determined to reduce the damage of water quality to the health of the special groups.
[0127] S503: Determine expected turbidity and / or self-cleaning parameters according to the self-cleaning mode.
[0128] In a possible implementation, the corresponding expected turbidity and / or self-cleaning parameters are pre-set in the self-cleaning mode.
[0129] In another possible implementation, the self-cleaning mode can intelligently estimate the precise expected turbidity and / or self-cleaning parameters based on the category, age, gender, etc. of the family members in the family member information, for example, the expected turbidity level closest to the family member information can be intelligently estimated. And / or the self-cleaning parameter level, or the precise value corresponding to the family member information can be intelligently estimated in a stepless manner.
[0130] The method provided in the embodiment of the present application obtains the user's family member information through the water heater, determines the corresponding self-cleaning mode according to the family member information, and determines the corresponding expected turbidity and / or self-cleaning parameters according to the self-cleaning mode to select the expected turbidity and / or self-cleaning parameters that meet the user's actual family needs, thereby improving the accuracy and intelligence of the inner tank self-cleaning and enhancing the user experience.
[0131] Figure 6 This is a schematic diagram of the structure of a water heater control device provided in an embodiment of the present application. Figure 6 As shown, the device may include: an acquisition module 11, a processing module 12, and a control module 13. In a possible implementation, the device may also include: a transceiver module 14.
[0132] The acquisition module 11 is used to acquire the turbidity of the water in the inner tank of the water heater.
[0133] The processing module 12 is used to obtain the desired turbidity for the inner tank self-cleaning if the turbidity is greater than or equal to the turbidity threshold. According to the turbidity and the desired turbidity, the value of the self-cleaning parameter of the inner tank is obtained. The turbidity threshold is the minimum turbidity that triggers the self-cleaning of the inner tank.
[0134] The control module 13 is used to perform self-cleaning on the inner tank according to the value of the self-cleaning parameter to reduce the turbidity of the water in the inner tank.
[0135] In a possible implementation, the self-cleaning parameter includes: a first cleaning parameter and a second cleaning parameter. In this implementation, the processing module 12 is specifically used to determine the first cleaning parameter from the self-cleaning parameter. The acquisition module 11 is specifically used to obtain the value of the first cleaning parameter determined by the user. The processing module 12 is specifically used to obtain the value of the second cleaning parameter based on the first cleaning parameter, the turbidity and the expected turbidity.
[0136] In this implementation, the processing module 12 is specifically used to determine a cleaning function according to the turbidity and the expected turbidity, and obtain the value of the second cleaning parameter according to the cleaning function and the value of the first cleaning parameter, wherein the cleaning function is used to characterize the functional relationship between the first cleaning parameter and the second cleaning parameter.
[0137] Wherein, in this implementation, optionally, the acquisition module 11 is specifically used to obtain the environmental data of the user using the water heater, and / or the values of the self-cleaning parameters used by the user in the history of self-cleaning the inner tank. The processing module 12 is specifically used to determine the adjustment range of the first cleaning parameter according to the turbidity and the expected turbidity. The value of the first cleaning parameter is determined according to the environmental data of the user using the water heater, and / or the values of the self-cleaning parameters used by the user in the history of self-cleaning the inner tank, and the adjustment range.
[0138] In any of the above implementations, the transceiver module 14 is used to send the inner tank self-cleaning prompt information to the user's electronic device before the acquisition module 11 acquires the expected turbidity. The acquisition module 11 is also used to acquire the expected turbidity according to the feedback information of the received prompt information.
[0139] In any of the above implementations, the control module 13 is specifically used to drive the water in the inner tank to generate a vortex flow in a preset direction to bring impurities in the inner tank into the flowing water. The control module 13 is specifically used to continuously monitor the turbidity of the water in the inner tank. When the turbidity fluctuation of the water in the inner tank is within a preset fluctuation range, the water in the inner tank is discharged to complete self-cleaning.
[0140] Optionally, the acquisition module 11 is further used to acquire family member information of the user. The processing module 12 is further used to determine a self-cleaning mode according to the family member information, and to determine the expected turbidity and / or the self-cleaning parameter according to the self-cleaning mode.
[0141] The water heater control device provided in the embodiment of the present application can execute the water heater control method in the above method embodiment. Its implementation principle and technical effect are similar, and this application will not repeat them here.
[0142] Figure 7 The structure diagram of an electronic device provided in an embodiment of the present application. The electronic device is used to execute the water heater control method mentioned above, for example, it can be any of the water heaters with inner tanks mentioned above. Figure 7 As shown, the electronic device 700 may include: at least one processor 701 , a memory 702 , and a communication interface 703 .
[0143] The memory 702 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer operation instructions.
[0144] The memory 702 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0145] The processor 701 is used to execute the computer-executable instructions stored in the memory 702 to implement the method described in the above method embodiment. The processor 701 may be a CPU, or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0146] The processor 701 can communicate and interact with an external device through the communication interface 703, and the external device can be, for example, the personal electronic device of the user mentioned above. In a specific implementation, if the communication interface 703, the memory 702 and the processor 701 are implemented independently, the communication interface 703, the memory 702 and the processor 701 can be connected to each other through a bus and complete the communication between each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. 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.
[0147] Optionally, in a specific implementation, if the communication interface 703, the memory 702 and the processor 701 are integrated on a chip, the communication interface 703, the memory 702 and the processor 701 can communicate through an internal interface.
[0148] The present application also provides a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes. Specifically, the computer-readable storage medium stores program instructions, and the program instructions are used for the methods in the above embodiments.
[0149] The present application also provides a program product, which includes an execution instruction stored in a readable storage medium. At least one processor of a computing device can read the execution instruction from the readable storage medium, and at least one processor executes the execution instruction so that the computing device implements the action of the water heater control device.
[0150] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions 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 with 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 water heater control method, characterized in that: The method comprises: Obtaining the turbidity of water in the inner tank of the water heater; If the turbidity is greater than or equal to the turbidity threshold, the desired turbidity for self-cleaning of the inner tank is obtained, and the turbidity threshold is the minimum turbidity that triggers self-cleaning of the inner tank; According to the turbidity and the expected turbidity, obtaining a value of a self-cleaning parameter of the inner tank; According to the value of the self-cleaning parameter, the inner tank is self-cleaned to reduce the turbidity of the water in the inner tank.
2. The method according to claim 1, characterized in that The self-cleaning parameters include: a first cleaning parameter and a second cleaning parameter; determining a first cleaning parameter from the self-cleaning parameters; Acquire a value of the first cleaning parameter determined by a user; A value of the second cleaning parameter is acquired according to the first cleaning parameter, the turbidity and the expected turbidity.
3. The method according to claim 2, characterized in that The acquiring a value of the second cleaning parameter according to the first cleaning parameter, the turbidity and the expected turbidity includes: Determining a cleaning function according to the turbidity and the expected turbidity, wherein the cleaning function is used to characterize a functional relationship between the first cleaning parameter and the second cleaning parameter; The value of the second cleaning parameter is obtained according to the cleaning function and the value of the first cleaning parameter.
4. The method according to claim 2, characterized in that: The obtaining of the value of the first cleaning parameter determined by the user includes: Acquiring environmental data of the user using the water heater, and / or historical values of self-cleaning parameters used by the user when self-cleaning the inner tank; Determining an adjustment range of the first cleaning parameter according to the turbidity and the expected turbidity; The value of the first cleaning parameter is determined based on the environmental data of the user using the water heater, and / or the user's historical values of self-cleaning parameters used when self-cleaning the inner tank, and the adjustment range.
5. The method according to any one of claims 1 to 4, characterized in that: Before obtaining the desired turbidity, it also includes: Sending a self-cleaning reminder message to the user's electronic device; The obtaining of the desired turbidity comprises: The expected turbidity is obtained according to the received feedback information of the prompt information.
6. The method according to any one of claims 1 to 4, characterized in that: The self-cleaning of the inner tank comprises: Driving the water in the inner tank to generate a vortex flow in a preset direction so as to bring impurities in the inner tank into the flowing water; continuously monitoring the turbidity of the water in the inner tank; When the turbidity fluctuation of the water in the inner tank is within a preset fluctuation range, the water in the inner tank is discharged to complete self-cleaning.
7. The method according to any one of claims 1 to 4, characterized in that: Also includes: Obtaining family member information of the user; determining a self-cleaning mode according to the family member information; The desired turbidity and / or the self-cleaning parameters are determined according to the self-cleaning mode.
8. A water heater control device, characterized in that: include: An acquisition module, used for acquiring the turbidity of water in the inner tank of the water heater; A processing module, configured to obtain an expected turbidity for self-cleaning of the inner tank if the turbidity is greater than or equal to a turbidity threshold, wherein the turbidity threshold is a minimum turbidity for triggering self-cleaning of the inner tank; and obtain a value of a self-cleaning parameter of the inner tank according to the turbidity and the expected turbidity; The control module is used to perform self-cleaning on the inner tank according to the value of the self-cleaning parameter to reduce the turbidity of the water in the inner tank.
9. An electronic device, characterized in that: include: A processor, a communication interface, and a memory; the processor is communicatively connected to the communication interface and the memory respectively; The memory stores computer-executable instructions; The communication interface communicates and interacts with external devices; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable 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.
