Temperature control method of water heater, water heater and program product

By introducing an automatic control unit and a water mixing valve with fixed opening in the water heater, the water outlet temperature of the water heater is automatically adjusted according to the actual needs of users, solving the problem of difference in setting temperature and water outlet temperature, and improving the user experience.

CN120043255APending Publication Date: 2025-05-27HANGZHOU ROBAM APPLIANCES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510464714.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-14
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

There are often differences in the setting temperature and outlet temperature of the water heater. Users need to manually adjust the water mixing valve to adjust the required water temperature each time, which makes it difficult to adjust the water temperature.

Method used

A temperature control method for a water heater is provided, including an automatic control unit, a water inlet, a water outlet and a water mixing valve. When the continuous water outlet time at the first outlet of the water mixing valve reaches the preset time, the automatic control unit determines the current water temperature according to the water flow parameters, and determines the required hot water temperature based on the fixed opening degree of the water mixing valve and the preset hot water flow rate until the water temperature of the hot water outlet pipe reaches the demand hot water temperature.

Benefits of technology

It greatly improves the accuracy of the water outlet temperature, reduces the number of times users manually sets, improves user experience, and avoids the operation of the water mixing valve back and forth when users control the water mixing valve back and forth.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120043255A_ABST
    Figure CN120043255A_ABST
Patent Text Reader

Abstract

The invention discloses a temperature control method of a water heater, the water heater and a program product, and generally relates to the technical field of household appliances. The method comprises the steps that under the condition that the continuous water outlet duration of a first outlet of the water mixing valve reaches preset duration, an automatic control unit determines the current water temperature of water outlet flow according to a water flow parameter of a first inlet and a water flow parameter of a second inlet; the automatic control unit determines the required hot water temperature, corresponding to the current water temperature, of the water mixing valve under the fixed opening degree according to the preset cold water flow of the water mixing valve under the fixed opening degree, the preset hot water flow of the water mixing valve under the fixed opening degree and the current water temperature, and the fixed opening degree is the fixed opening angle of the water mixing valve; and under the condition that the water mixing valve is opened to a fixed opening degree, the water heater heats water flowing in from the water inlet until the water temperature of the hot water outlet pipe reaches the required hot water temperature, so that the water temperature of the first outlet of the water mixing valve reaches the current water temperature. The accuracy of the outlet water temperature can be improved, the manual setting frequency of a user is reduced, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to the technical field of household appliances, and particularly relates to a temperature control method for a water heater, a water heater, and a program product. Background Art

[0002] With the improvement of living quality, water heaters, as household appliances for providing hot water, have become very common.

[0003] During the operation of the water heater, it is respectively connected to a hot water pipe and a cold water pipe. For a gas water heater or an instant electric water heater, the cold water flowing into the hot water pipe is heated by igniting natural gas. For a storage electric water heater, the stored hot water is input into the hot water pipe, and then the hot water in the hot water pipe and the cold water in the cold water pipe are mixed according to a preset ratio corresponding to a preset temperature to reach the required outlet water temperature preset by the user for the water heater, and the hot water required by the user is output at the outlet end.

[0004] However, since there is often a water pipe several meters long between the heating end of the water heater and the actual water use end of the user, in essence, the water temperature at the outlet end is not consistent with the outlet water temperature preset by the user for the water heater, and the water temperature at the outlet end is often lower than the outlet water temperature preset by the user for the water heater. Summary of the Invention

[0005] In view of the above-mentioned defects or deficiencies in the related art, it is desirable to provide a temperature control method for a water heater, a water heater, and a program product, which can solve the problem that there are often differences between the set temperature and the outlet temperature of the water heater, and the user needs to manually adjust the mixing valve to the required water temperature each time, resulting in difficult adjustment of the water temperature, greatly improving the accuracy of the outlet water temperature, reducing the number of manual settings by the user, and enhancing the user experience.

[0006] In a first aspect, a temperature control method for a water heater is provided. The water heater includes an automatic control unit, a water inlet, a water outlet, and a mixing valve. The water inlet is used to connect to a water inlet pipe, the water outlet is connected to a hot water outlet pipe, the mixing valve includes a first inlet, a second inlet, and a first outlet. After the water heater heats the water flowing into the water inlet, it is output to the first inlet of the mixing valve through the hot water outlet pipe at the water outlet. The second inlet is connected to a cold water pipe, and the water flow at the first inlet is mixed with the water flow at the second inlet and then output from the first outlet. The method includes: When the continuous water outlet duration at the first outlet of the mixing valve reaches a preset duration, the automatic control unit determines the current water temperature of the water flow at the first outlet according to the water flow parameters at the first inlet and the second inlet, where the water flow parameters include water flow temperature and water flow rate; The automatic control unit determines the required hot water temperature corresponding to the current water temperature at the fixed opening of the mixing valve based on the preset cold water flow rate of the mixing valve at the fixed opening, the preset hot water flow rate of the mixing valve at the fixed opening, and the current water temperature, where the fixed opening is the fixed opening angle of the mixing valve. When the mixing valve is opened to the fixed opening, the water heater heats the water flowing in from the water inlet until the water temperature of the hot water outlet pipe reaches the required hot water temperature, so that the water temperature at the first outlet of the mixing valve reaches the current water temperature.

[0007] In this application, the water heater includes an automatic control unit, a water inlet, a water outlet, and a mixing valve. The water inlet is connected to a water inlet pipe, and the water outlet is connected to a hot water outlet pipe. After heating the water flowing in from the water inlet, the water heater outputs it through the hot water outlet pipe at the water outlet to the first inlet connected to the hot water outlet pipe and the second inlet connected to a cold water pipe. The water flows at the first inlet and the water flows at the second inlet are mixed and then output from the first outlet. When the continuous water outlet duration at the first outlet of the mixing valve reaches a preset duration, the automatic control unit determines the current water temperature of the water flow based on the water flow temperature and water flow rate at the first inlet and the water flow temperature and water flow rate at the second inlet. Then, the automatic control unit determines the required hot water temperature corresponding to the current water temperature at the fixed opening of the mixing valve based on the preset cold water flow rate and preset hot water flow rate of the mixing valve at the fixed opening position, and the current water temperature. Then, when the mixing valve is opened to the fixed opening, the water heater heats the water flowing in from the water inlet until the water temperature of the hot water outlet pipe reaches the required hot water temperature, so that the water temperature at the first outlet reaches the current water temperature. In this way, the water heater can obtain the required hot water temperature corresponding to the current water temperature based on the stable water flow at the first outlet when the mixing valve is at the fixed opening, and control the water temperature of the hot water outlet pipe according to the required hot water temperature when the mixing valve is opened to the fixed opening later, ensuring that the water temperature at the first outlet of the mixing valve is also the current water temperature when the mixing valve is at the fixed opening. That is, the water heater of this application can, when the continuous water outlet duration at the first outlet reaches the preset duration, control the required hot water temperature of the water heater in a negative feedback manner according to the current water temperature required by the user and the fixed opening of the mixing valve, so as to ensure that when the user adjusts the mixing valve at the first outlet later, the mixing valve can be directly controlled at the fixed opening to obtain the water flow with the required temperature, that is, the water flow with the current temperature, ensuring that the water outlet temperature is stable and is the water outlet temperature required by the user, avoiding the operation of the user adjusting the mixing valve back and forth each time, and greatly improving the user experience of using the water heater.

[0008] In a second aspect, a water heater is provided. The water heater includes an automatic control unit, a water inlet, a water outlet, and a mixing valve. The water inlet is connected to a water inlet pipe, the water outlet is connected to a hot water outlet pipe, the mixing valve includes a first inlet, a second inlet, and a first outlet. The water heater heats the water flowing into the water inlet and then outputs it to the first inlet of the mixing valve through the hot water outlet pipe at the water outlet. The second inlet is connected to a cold water pipe, and the water flow at the first inlet is mixed with the water flow at the second inlet and then output from the first outlet; A first flowmeter and a first temperature sensor are arranged within a preset range of the first inlet, and a second flowmeter and a second temperature sensor are arranged at the second inlet; The above water heater is used to implement the method described in the first aspect above.

[0009] In a third aspect, a computer program product is provided. The computer program product contains instructions that, when run by a processor, implement the method described in the first aspect above.

[0010] Additional aspects and advantages of the present invention will be given in part in the following description, will become apparent in part from the following description, or will be understood through the practice of the present invention. Description of the Drawings

[0011] By reading the detailed description of the non-limiting embodiments with reference to the following drawings, other features, objectives, and advantages of the present application will become more apparent: Figure 1 It is a structural diagram of a water heater in the related art; Figure 2 It is one of the schematic structural diagrams of a water heater provided by an embodiment of the present application; Figure 3 It is another schematic structural diagram of a water heater provided by an embodiment of the present application; Figure 4 It is a partial schematic diagram of the structure of a water heater provided by an embodiment of the present application; Figure 5 It is one of the schematic flowcharts of the temperature control method of a water heater provided by an embodiment of the present application; Figure 6 It is another schematic flowchart of the temperature control method of the water heater provided by an embodiment of the present application. Detailed Embodiments

[0012] The present application will be further described in detail below in conjunction with the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the related invention and are not intended to limit the invention. Additionally, it should be noted that for the sake of description, only the parts related to the invention are shown in the drawings.

[0013] It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the drawings and in combination with the embodiments.

[0014] As Figure 1 shown, Figure 1 FIG. 1 shows a gas water heater 10 in the related art. The gas water heater is connected to two water pipes, an inlet pipe 11 and a hot water outlet pipe 12 respectively. A water pumping motor 13 is provided at the connection between the inlet pipe 11 and the gas water heater 10. The water pumping motor 13 can increase the water inlet flow rate of the inlet pipe 11. At the same time, a flow meter 14 is also provided at the connection between the inlet pipe 11 and the gas water heater 10. The gas water heater 10 also has a water storage tank 15, which can be used to store the water flowing into the gas water heater 10 from the inlet pipe 11. The water storage tank 15 is provided with a temperature sensor 16 for sensing the water temperature change in the water storage tank 15. The gas water heater 10 can heat the water storage tank 15, and then output hot water from the water storage tank 15 through the hot water outlet pipe 12.

[0015] The gas water heater 10 is also provided with a control panel 17, which can be used to display the preset temperature of the hot water output by the water heater, and can also adjust the preset temperature of the hot water output by the water heater through the control buttons "+" and "-".

[0016] The hot water outlet pipe 12 of the gas water heater 10 is connected to a mixing valve 18. The other two ports of the mixing valve 18 are respectively a water outlet and a cold water inlet. It can be Figure 2 seen that the cold water pipe 19 is connected to one end of the mixing valve 18, and the shower head 20 at the user's water use end. The function of the mixing valve 18 is to mix the water in the hot water outlet pipe 12 and the cold water pipe 19, and then transmit it from the water outlet to the shower head 20 for the user to use.

[0017] In practical applications, the installation position of the gas water heater 10 is often far from the position where the shower head 20 is located, and the distance can be 5 meters to 20 meters or even longer. As can be seen from the dashed box 21 in Figure 1 FIG. 1, the dashed box 21 actually omits a lot of the structure of the hot water outlet pipe 12. Therefore, the water in the hot water outlet pipe 12 will lose heat during the transmission to the mixing valve 18. As a result, the water temperature output by the shower head 20 actually cannot reach the preset temperature of the hot water output by the water heater displayed on the control panel 17. In this case, the user needs to manually adjust the mixing valve to change the cold and hot water ratio, so as to change the actual water temperature at the shower head 20, so that the actual water temperature at the shower head 20 meets the actual water temperature requirements of the user.

[0018] However, since the actual water outlet temperature cannot reach the water temperature set by the water heater and the user needs to manually adjust the cold and hot water ratio each time, it obviously causes trouble in using the water heater, greatly reducing the user's water use experience.

[0019] Based on this, the present application proposes a temperature control method for a water heater, a water heater and a program product, which can solve the problem that there are often differences between the set temperature and the water outlet temperature of the water heater, and the user needs to manually adjust the mixing valve to the required water temperature each time, resulting in difficult adjustment of the water temperature, greatly improving the accuracy of the water outlet temperature, reducing the number of manual settings by the user, and enhancing the user experience.

[0020] As Figure 2 and Figure 3 shown, Figure 2 and Figure 3 are schematic structural diagrams of the water heater 30 provided by the embodiments of the present application, including: an automatic control unit, a water inlet 31, a water outlet 32, a mixing valve 33. The above water inlet 31 is connected to a water inlet pipe 34, the above water outlet 32 is connected to a hot water outlet pipe 35, the above mixing valve 33 includes a first inlet 331, a second inlet 332 and a first outlet 333. After the water heater 30 heats the water flowing into the water inlet 31, it is output to the first inlet 331 of the mixing valve 33 through the hot water outlet pipe 35 at the water outlet 32. The above second inlet 332 is connected to a cold water pipe 36, and the water flow at the first inlet 331 is mixed with the water flow at the second inlet 332 and then output from the first outlet 333.

[0021] In the embodiments of the present application, a first flow meter 41 and a first temperature sensor 42 are arranged within a preset range of the first inlet 331, and a second flow meter 43 and a second temperature sensor 44 are arranged at the second inlet 332.

[0022] In the embodiments of the present application, the above water heater 30 can be a gas water heater.

[0023] In the embodiments of the present application, the above automatic control unit can be a microcontroller unit (MCU) of the water heater 30.

[0024] In the embodiments of the present application, the above water heater 30 can provide hot water by heating a heatable pipeline, and can also provide hot water by heating a water storage tank.

[0025] In one example, the above-mentioned water heater 30 may include a heatable pipe (not shown in the figure and located inside the water heater 30) that is connected to both the water inlet pipe 31 and the hot water outlet pipe 35. When the water heater 30 is a gas water heater, during operation, the combustion flame from the burning of natural gas heats the water in the heatable pipe, heating the cold water input from the water inlet 31 into hot water and outputting the hot water through the water outlet 32 to the hot water outlet pipe 35.

[0026] In another example, the above-mentioned water heater 30 may include a heating water storage tank (not shown in the figure and located inside the water heater 30). One side of the water storage tank is in communication with the water inlet, and is used to store the cold water flowing into the water heater through the water inlet 31 via the water inlet pipe 34. During the operation of the water heater, through the burning of natural gas in the water heater 30, the combustion flame heats the water in the heating water storage tank. The other layer of the water storage tank is connected to the water outlet 32, and outputs the heated hot water to the hot water outlet pipe 35.

[0027] In the embodiment of the present application, the water heater 30 can change the water temperature of the hot water output to the hot water outlet pipe 35 after heating by controlling the heating power. For example, when the water heater 30 is a gas water heater, the power of the gas flame generated by the gas can be changed, thereby changing the heating degree and adjusting the temperature of the currently heated hot water.

[0028] In the embodiment of the present application, the above-mentioned mixing valve 33 can change the inlet sizes of the first inlet 331 and the second inlet 332 respectively, so as to adjust the hot water flow rate of the hot water outlet pipe 35 and the cold water flow rate of the cold water pipe 36, and then change the mixing ratio of cold water and hot water, and finally achieve the effect of regulating the water temperature at the first outlet 333.

[0029] Exemplarily, the above-mentioned mixing valve 33 is generally a regulating valve relatively close to the user's water-using end 38. For example, the shower head in the bathroom or the water outlet of the faucet in the bathroom and the kitchen is the above-mentioned user's water-using end 38, and the regulating valve relatively close to regulate the cold and hot water outlet ratio is the above-mentioned mixing valve 33. For the shower head in actual application, the valve for regulating the shower head is generally about 1 - 1.5 meters away from the water outlet end of the shower head, while the water outlet of the faucet is directly controlled by the faucet valve very close to the faucet outlet.

[0030] It can be understood that during the actual use process, the user can adjust the cold and hot water ratio by adjusting the mixing valve 33, and then change the water temperature of the water-using end corresponding to the mixing valve 33.

[0031] In the embodiment of the present application, the water heater 30 further includes a pumping motor 39 of the water inlet pipe 34 and a control panel 40, and the control panel 40 can be used to receive the temperature set by the user and switch the water heater control mode required by the user. The water heater control mode may include: an adaptive mode that can perform a negative feedback adjustment process according to the user's adjustment of the mixing valve and the change of the water temperature, and may also include a conventional mode. Among them, the conventional mode means that: every time the user uses the water heater to use water, the user needs to adjust the mixing valve by himself to control the water temperature, that is, the mode that does not perform the negative feedback adjustment process; the description of the adaptive mode can refer to the following description of the "adaptive temperature control mode", which will not be elaborated here.

[0032] In the embodiment of the present application, as Figure 2 and Figure 3 shown, a first flowmeter 41 and a first temperature sensor 42 are provided within a preset range of the first inlet 331 on one side of the hot water outlet pipe 35. At the same time, a second flowmeter 43 and a second temperature sensor 44 are provided within a preset range of the second inlet 332 on one side of the cold water pipe 36.

[0033] Exemplarily, the preset range of the first inlet 331 may be within a range relatively close to the first inlet 331, for example, at the first inlet 331, that is, the first flowmeter and the first temperature sensor may be provided at the first inlet 331; it may also be at a position having a certain distance from the first inlet 331, for example, Figure 2 the first flowmeter 41 in

[0034] is provided at the position where the pumping motor 39 is located, and the first temperature sensor 42 is provided at a position close to the hot water outlet pipe 35. Figure 2 Figure 3 shown, the second temperature sensor 44 is provided at the position of the second inlet 332, and the second flowmeter 43 is provided at the position of the first outlet 333.

[0035] It can be understood that in the case where the second flowmeter 43 is provided at the position of the first outlet 333, the total flow rate obtained by the second flowmeter 43 is the total flow rate. By subtracting the hot water flow rate obtained by the first flowmeter 41 from the total water flow rate, the cold water flow rate of the cold water pipe 36 can be obtained.

[0036] It is understandable that in the embodiment of the present application, after the first flow meter 41 for obtaining the hot water flow rate and the first temperature sensor 42 for the hot water temperature and the second flow meter 43 for obtaining the cold water flow rate and the second temperature sensor 44 for the cold water temperature are set, the temperature value after the hot water and the cold water are mixed can be obtained in combination with the specific heat capacity of the water flow. That is, this means that no matter the mixing valve is adjusted to any angle and position, the current water temperature at the first outlet 33, that is, the actual water outlet temperature, can be finally obtained.

[0037] Furthermore, the current water temperature is fed back to the automatic control unit, which can negatively feedback adjust the required hot water temperature, that is, the water temperature at the hot water outlet pipe 35, according to the current water temperature at the first outlet 33 and the preset cold water flow and preset hot water flow of the preset mixing valve at a fixed opening, to ensure that during subsequent user use, the outlet water temperature is the aforementioned current water temperature at the preset fixed opening of the mixing valve. The specific process of negative feedback adjustment of the required hot water temperature is detailed in the subsequent description and will not be repeated here.

[0038] Optionally, in an embodiment of the present application, a first power generation unit is provided at the first outlet, a first indicator light is provided at the water use end corresponding to the first outlet, and the first power generation unit supplies power to the first indicator light.

[0039] Exemplarily, the first power generation unit comprises a copper winding rotor unit and a magnet stator unit. It can be understood that the first power generation unit is similar to a motor.

[0040] Exemplarily, when water flows in the first outlet, the water flow triggers the copper winding rotor unit to rotate, the magnet stator unit generates magnetic flux lines, and the copper winding rotor unit cuts the magnetic flux lines to generate electricity.

[0041] It is understandable that if Figure 4 As shown, Figure 4 The partial structure of the water heater 30 is shown. Figure 4 It can be seen that a generator 51 (i.e., the first power generation unit mentioned above) is added at the lower end of the mixing valve 33, and a first indicator light 53 is set at the shower head 52 (i.e., the user water end mentioned above). The generator 51 and the first indicator light 53 are connected by a connecting line 54, which can be used to transmit electrical signals. Since the water flow direction of the first outlet 30 is consistent, the rotation direction of the generator 51 is consistent. When water flows out of the first outlet 30, the copper winding rotor unit of the generator 51 will rotate, the magnet stator unit will generate magnetic flux lines, and the copper winding will cut the magnetic flux lines to generate electrical energy, which can then power the first indicator light 53.

[0042] It can be understood that the greater the water flow, the faster the rotation speed, and the greater the power generation, which ultimately causes the brightness of the first indicator light to change. Therefore, the first indicator light can represent the size of the water flow through its brightness.

[0043] Exemplarily, the above-mentioned first indicator light can be set at the user's water usage end. For example, at the shower head outlet or the faucet outlet.

[0044] Exemplarily, the above-mentioned first indicator light can pre-store the corresponding relationship between different power generations and different brightness levels. The brightness of the above-mentioned first indicator light can also be infinitely variable and change in real time when the water flow at the first outlet changes.

[0045] Optionally, in the embodiment of the present application, a second power generation unit and a temperature measurement unit are provided at the above-mentioned first outlet, a second indicator light is provided at the water usage end corresponding to the above-mentioned first outlet, and the above-mentioned second power generation unit supplies power to the above-mentioned second indicator light.

[0046] Exemplarily, the above-mentioned second indicator light includes at least two light colors, and different light colors correspond to the power generations of different above-mentioned second power generation units.

[0047] Exemplarily, the above-mentioned second power generation unit includes at least two modes of power generation, and the power generations of different modes correspond to the temperatures measured by the above-mentioned temperature measurement unit.

[0048] Exemplarily, the above-mentioned temperature measurement unit can be a negative temperature coefficient thermistor (NTC) temperature measurement unit.

[0049] Exemplarily, the generated electric energy of the above-mentioned second power generation unit can correspond to the temperature measured by the temperature measurement unit, and different temperature measurement ranges correspond to different generated electric quantities. Specific examples For example, the water temperature below 40°C corresponds to the electric quantity S1, the water temperature between 40 - 47°C corresponds to the electric quantity S2, and the water temperature above 47°C corresponds to the electric quantity S3; further, different electric quantities trigger different light colors. For example, when the electric quantity is S1, the corresponding light color is blue, when the electric quantity is S2, the corresponding light color is green, and when the electric quantity is S3, the corresponding light color is red.

[0050] The present application also provides a temperature control method for a water heater. The following describes the temperature control method for this water heater. Figure 5 It is a schematic flowchart of a temperature control method for a water heater provided by an embodiment of the present application. The execution subject of this method can be the water heater described above. This method includes the following steps: Step 301: When the continuous water outlet duration at the first outlet of the above-mentioned mixing valve reaches the preset duration, the above-mentioned automatic control unit determines the current water temperature of the water flow at the first outlet according to the water flow parameters at the first inlet and the water flow parameters at the second inlet.

[0051] In the embodiments of the present application, the above preset duration can be set by the user, or can be preset by the water heater, and the embodiments of the present application do not limit this.

[0052] Exemplarily, the above preset duration is used to indicate that the water flow parameters at the first outlet tend to be stable. Among them, the water flow parameters include water flow rate and water flow temperature.

[0053] It can be understood that in the actual application process, for the first outlet to continuously discharge water until the current water temperature required by the user is reached, a certain continuous water discharge duration, that is, the preset duration, is required to reach a stable water temperature at which the subsequent negative feedback function can be activated.

[0054] It should be noted that if the water heater has one - key cruise (with zero - cold water function), that is, the water outlet is instant - heating type, that is, the water outlet is hot water, then the preset duration of the first outlet only includes the duration for the user to adjust the mixing valve to make the water temperature at the first outlet reach the current water temperature required for use; if the water heater does not have the zero - cold water function and still needs to wait for a period of time after being turned on before the cold water can become hot water, then the preset duration of the first outlet is the sum of the duration for the water temperature at the first outlet to change from cold water to the pre - set outlet water temperature of the water heater and the duration for the user to adjust the mixing valve to make the water temperature at the first outlet reach the current water temperature required for use.

[0055] In the embodiments of the present application, the above water flow parameters include water flow temperature and water flow rate.

[0056] Exemplarily, the water flow parameters at the first inlet include hot water flow rate and hot water temperature.

[0057] Exemplarily, the water flow parameters at the second inlet include cold water flow rate and cold water temperature, where the cold water flow rate is used to indicate the cold water flow rate actually mixed into the water flow at the first outlet.

[0058] In the embodiments of the present application, the above current water temperature refers to the actual stable water temperature at the first outlet.

[0059] It can be understood that during the use of the water heater, there is often a heating process to change the water flow at the first outlet from cold water to hot water, and / or the user adjusts the above mixing valve to adjust the water temperature at the first outlet. In the embodiments of the present application, as can be seen from the foregoing content, it is a process of negatively feedback - regulating the hot water temperature of the water heater through the stable current water temperature at the first outlet. Therefore, a relatively stable water outlet temperature needs to be obtained. The stability of this current water temperature means that the water continuously discharges at the first outlet, the user no longer adjusts the mixing valve, and the water temperature remains consistent within a certain duration. Specifically, for the specific determination situation of the stability of this current water temperature, reference can be made to the subsequent description, and details are not elaborated here.

[0060] Step 302: The above automatic control unit determines the required hot water temperature corresponding to the current water temperature at the fixed opening of the mixing valve according to the preset cold water flow rate of the mixing valve at the fixed opening, the preset hot water flow rate of the mixing valve at the fixed opening, and the current water temperature.

[0061] In the embodiment of the present application, the fixed opening is the fixed opening angle of the mixing valve.

[0062] It can be understood that the purpose of the embodiment of the present application is: when the user adjusts the mixing valve at present so that the temperature at the first outlet reaches the required temperature, that is, the above stable current temperature, when the mixing valve is opened again to use water next time, the mixing valve is directly opened to the fixed opening, without adjusting the mixing valve back and forth, and the outlet water temperature after stabilizing at the fixed opening can reach the above current water temperature required by the user.

[0063] Based on this, on the basis of obtaining the current temperature, the automatic control unit needs to combine the preset cold water flow rate and the preset hot water flow rate of the mixing valve at the fixed opening, and then determine the required hot water temperature that the water heater needs to provide. In this way, when the water heater provides hot water at the required hot water temperature, according to the preset cold water flow rate and the preset hot water flow rate of the mixing valve at the fixed opening, the water flow at the current water temperature can be stably output subsequently.

[0064] In one example, the fixed opening of the mixing valve can be the maximum opening of the mixing valve. For example, the maximum opening of the mixing valve near the hot water opening side. At the maximum opening, the opening of the mixing valve is fixed.

[0065] In the embodiment of the present application, the fixed opening of the mixing valve can be used to indicate that the opening angle of the mixing valve is fixed. It can be understood that generally, the mixing valve can adjust the opening angle left and right to correspondingly control the outlet water temperature of the water flow at the first outlet.

[0066] In the embodiment of the present application, the preset hot water flow rate and the preset cold water flow rate can be preset or can be set customarily, and the embodiment of the present application does not limit this.

[0067] In one example, that the preset hot water flow rate and the preset cold water flow rate can be preset means that the parameters of the mixing valve are set in the water heater during the factory process.

[0068] It can be understood that during the factory production process of the water heater, parameters of several standard configuration mixing valves on the market can be set at the above-mentioned fixed opening degree. For example, according to several mainstream brands of mixing valves on the market (such as several mainstream brands of the switches corresponding to the shower heads (i.e., the above-mentioned mixing valves)), the hot water flow rate and cold water flow rate of these mixing valves at the above-mentioned fixed opening degree are collected, and the hot water flow rate and cold water flow rate at the fixed opening degree are stored as the preset hot water flow rate and preset cold water flow rate in the automatic control unit of the water heater.

[0069] In one example, the fact that the preset hot water flow rate and preset cold water flow rate can be custom-set means that it can be manually set by the user by operating the display panel of the water heater.

[0070] In the embodiment of the present application, the required hot water temperature corresponding to the above-mentioned current water temperature refers to the water temperature output from the hot water outlet pipe after the water heater heats the water flowing into the water inlet pipe.

[0071] Furthermore, when the preset hot water flow rate, preset cold water flow rate, and the above-mentioned current water temperature actually required by the user are known, the water temperature parameter of the first outlet finally determined is the required hot water temperature output from the hot water outlet pipe. That is, when the flow rates of cold and hot water at the first outlet and the water temperature required by the end user (i.e., the above-mentioned current water temperature) are already known, by setting and controlling the water temperature of the hot water outlet pipe, it can be ensured that the water temperature at the first outlet can output water at the current water temperature when the mixing valve is opened to the above-mentioned fixed opening degree subsequently.

[0072] Step 303: When the above-mentioned mixing valve is opened to the above-mentioned fixed opening degree, the water heater heats the water flowing into the water inlet until the water temperature of the hot water outlet pipe reaches the above-mentioned required hot water temperature, so that the water temperature at the first outlet of the mixing valve reaches the above-mentioned current water temperature.

[0073] In the embodiment of the present application, it can be known from the foregoing content that when the automatic control unit determines the required hot water temperature, the hot water flowing into the first outlet from the hot water outlet pipe flows out at the required hot water temperature and the preset hot water flow rate, and at the same time, the cold water flowing into the first outlet from the cold water pipe flows out at the preset cold water flow rate, and finally the mixture is output from the first outlet, so that the water temperature at the first outlet can reach the current water temperature.

[0074] Example 1: First, describe the scenario of Example 1. The water heater is Figure 3The water heater 30 therein, and the original set temperature displayed on the control panel of the water heater is 45 °C. According to the original set temperature of 45 °C and the water temperature control program in the water heater 30, the water heater 30 determines that the hot water output to the hot water outlet pipe 35 through the water outlet 32 of the water heater after heating should be 62 °C. Thus, the hot water outlet pipe 35 will transmit the 62 °C hot water to the first inlet 331, and at the same time, the cold water in the cold water pipe 36 will be transmitted to the second inlet 332 for mixing, and then output from the first outlet 33. However, since the hot water outlet pipe 35 is relatively long, the first inlet 331 is often far from the water outlet 32 of the water heater. Therefore, when the 62 °C hot water output from the water outlet 32 reaches the first inlet 331, it will cool down, resulting in the actual water temperature at the first outlet 333 after the hot water and cold water at the first inlet 331 are mixed can only reach 43 °C, and the situation where the original set temperature of 45 °C cannot be reached will occur. Then, the user will adjust the cold and hot water ratio by adjusting the mixing valve 33 to update the water temperature at the first outlet to the water temperature that meets their own needs. For example, the water temperature at the first outlet is adjusted to 46 °C by adjusting the mixing valve.

[0075] The following is a specific description of the working process of Example 1 based on this scenario: First, when the continuous water output duration at the first outlet 333 of the mixing valve 33 reaches the preset duration, it is defaulted that the execution action of the user adjusting the mixing valve 33 has been completed. The automatic control unit determines that the current water temperature of the water flow at the first outlet 333 is 46 °C according to the water flow temperature and water flow rate (i.e., the above-mentioned water flow parameters) at the first inlet 331 and the water flow temperature and water flow rate (i.e., the above-mentioned water flow parameters) at the second inlet 332. Then, the automatic control unit determines the required hot water temperature corresponding to the current water temperature of 46 °C at the maximum opening (i.e., the above-mentioned fixed opening) of the mixing valve 33 as 67 °C according to the preset cold water flow rate, preset hot water flow rate, and the current water temperature of 46 °C, and prepares to adjust the water temperature of the hot water outlet to 67 °C. Finally, when the mixing valve 33 is opened to the maximum opening, the water heater 30 heats the water flow flowing into the water inlet 31 until the water temperature of the hot water outlet pipe 35 reaches the required hot water temperature of 67 °C, so that the water temperature at the first outlet of the mixing valve 33 reaches the current water temperature of 46 °C.

[0076] In the method provided by the embodiments of the present application, the water heater includes an automatic control unit, a water inlet, a water outlet, and a mixing valve. Among them, the water inlet is connected to a water inlet pipe, the water outlet is connected to a hot water outlet pipe. After heating the water flowing into the water inlet, the water heater outputs it through the hot water outlet pipe at the water outlet to a first inlet connected to the hot water outlet pipe and a second inlet connected to a cold water pipe. The water flows at the first inlet and the water flows at the second inlet are mixed and then output from a first outlet. When the continuous water outlet duration at the first outlet of the mixing valve reaches a preset duration, the automatic control unit determines the current water temperature of the water flow at the outlet according to the water flow temperature and water flow rate at the first inlet and the water flow temperature and water flow rate at the second inlet; then, the automatic control unit determines the required hot water temperature corresponding to the current water temperature of the mixing valve at the fixed opening degree according to the preset cold water flow rate and preset hot water flow rate of the mixing valve at the fixed opening degree in the fixed opening position, and the current water temperature; then, when the mixing valve is opened to the fixed opening degree, the water heater heats the water flowing into the water inlet until the water temperature of the hot water outlet pipe reaches the required hot water temperature, so that the water temperature at the first outlet reaches the current water temperature. In this way, the water heater can obtain the required hot water temperature corresponding to the current water temperature when the mixing valve is at a fixed opening degree according to the stable water flow at the first outlet, and when the mixing valve is opened to the fixed opening degree subsequently, control the water temperature of the hot water outlet pipe according to the required hot water temperature, ensuring that the water temperature at the first outlet is also the current water temperature when the mixing valve is at a fixed opening degree. That is to say, the water heater of the present application can, when the continuous water outlet duration at the first outlet reaches a preset duration, control the required hot water temperature of the water heater in a negative feedback manner according to the current water temperature actually required by the user and the fixed opening degree of the mixing valve, so as to ensure that when the user subsequently adjusts the mixing valve at the first outlet, the mixing valve can be directly controlled at the fixed opening degree to obtain the water flow with the required temperature, that is, the water flow with the current temperature, ensuring that the water outlet temperature is stable and is the water outlet temperature required by the user, and avoiding the operation of the user adjusting the mixing valve back and forth each time, greatly improving the user experience of using the water heater.

[0077] In another embodiment of the present application, a specific implementation manner for feedback-adjusting the set temperature of the water heater according to the foregoing required hot water temperature is also provided. Exemplarily, after "determining the required hot water temperature corresponding to the current water temperature of the mixing valve at the fixed opening degree" involved above, the water heater temperature control method of the present application further includes: determining the target set temperature corresponding to the required hot water temperature of the hot water outlet pipe according to the corresponding relationship between the outlet water temperature of the preset hot water outlet pipe and the set temperature of the water heater; updating and displaying the original set temperature of the water heater as the target set temperature.

[0078] Exemplarily, the above target set temperature is the theoretical water temperature after the water flow in the hot water outlet pipe is mixed with the water flow in the cold water pipe.

[0079] It can be understood that, as can be seen from the foregoing introduction to the related technology, since the water heater is far from the user's water - using end, the hot - water temperature of the hot - water outlet pipe at the first inlet of the mixing valve is often lower than the hot - water temperature at the water outlet of the water heater. As a result, in the related technology, the problem that the actual water temperature used by the user cannot reach the temperature set on the water - heater control panel occurs. Therefore, the above - mentioned required hot - water temperature indicates that: when the water temperature at the first outlet can reach the current temperature, the water outlet temperature of the hot - water outlet pipe, that is, the water heater needs to heat the water introduced into the inlet pipe to a temperature that can be mixed with the water in the cold - water pipe at a fixed - opening water - flow ratio to meet the requirement that the hot water output temperature at the first outlet is the current temperature.

[0080] Furthermore, the above - mentioned theoretical water temperature refers to: ignoring the length of the hot - water outlet pipe, that is, ignoring the temperature - reduction situation caused by the too - long length of the hot - water outlet pipe, the mixed water temperature that can be obtained by mixing the hot water that has not passed through the hot - water outlet pipe and the cold water in the cold - water pipe. Based on this, the updated target setting temperature will actually be higher than the foregoing current water temperature.

[0081] Exemplarily, several groups of corresponding relationships between the water outlet temperature of the hot - water outlet pipe and the water - heater setting temperature can be pre - stored in the water heater. Then, when the above - mentioned required hot - water temperature is determined, the target setting temperature corresponding to the required hot - water temperature can be determined.

[0082] It can be understood that when the actual water outlet temperature of the first outlet is adjusted to the current temperature by adjusting the above - mentioned mixing valve, the adjustment result, that is, the updated target setting temperature, can actually be updated and displayed. Specifically, the target setting temperature can replace the previous original setting temperature and be displayed on the control panel of the water heater, or can be displayed in the user's electronic device (such as an electronic watch, a mobile phone) connected to the water heater and shown through the APP corresponding to the water heater. This display and update process can also be part of the negative - feedback result.

[0083] Example 2: Combining the above Example 1, it can be preset that when the mixing valve 33 is at the maximum opening, when the required hot - water temperature is 67 °C, the target setting temperature is 47 °C. Then, the previous 45 °C (original setting temperature) on the control panel of the water heater can be changed to 47 °C. This adjustment can be used to prompt the user that the water heater has executed the negative - feedback requirement according to the user's demand, or when using water next time, the mixing valve can be directly opened to the maximum opening to directly use the water temperature actually required by the user.

[0084] In this way, after the water heater finishes the negative - feedback adjustment process, the negative - feedback adjustment effect can be directly shown to the user by updating the setting temperature of the water heater and changing the original setting temperature to the target setting temperature, thereby enhancing the intuitive expression of the negative - feedback adjustment through visibility.

[0085] In another embodiment of the present application, a specific implementation manner for adjusting the set temperature of the water heater according to the feedback of the hot water temperature according to the foregoing requirements is further provided. Exemplarily, a first flowmeter and a first temperature sensor are arranged within a preset range of the first inlet, a second flowmeter is arranged within a preset range of the first outlet, and a second temperature sensor is arranged within a preset range of the second inlet. The "when the current outlet water flow of the first outlet of the mixing valve is stable, the automatic control unit determines the current water temperature of the outlet water according to the water flow parameters of the first inlet and the second inlet" mentioned above includes: obtaining the hot water flow rate and hot water temperature at the first inlet through the first flowmeter and the first temperature sensor; obtaining the total water flow rate at the first outlet through the second flowmeter, and obtaining the cold water temperature at the second inlet through the second thermometer; obtaining the cold water flow rate and cold water temperature at the second inlet according to the total water flow rate and the hot water flow rate; and determining the current water temperature at the first outlet according to the hot water flow rate and the hot water temperature, and the cold water flow rate and the cold water temperature, in combination with the specific heat capacity of the water flow.

[0086] It can be understood that, as Figure 3 shown, in Figure 3 it can be seen that a second temperature sensor is arranged at the second inlet 332, that is, at the connection between the cold water pipe 36 and the mixing valve 33. The temperature sensor can obtain the temperature of the cold water currently flowing into the mixing valve 33. At the same time, a second flowmeter is arranged within a preset range of the first outlet 333. The second flowmeter obtains the actual total water flow rate of the first outlet 333. By subtracting the aforementioned hot water flow rate from the total water flow rate, the water flow rate of the cold water at the first outlet can be obtained.

[0087] Furthermore, when the fixed opening is the maximum opening, all the hot water in the hot water outlet pipe 35 will flow into the mixing valve. Therefore, the hot water flow rate in the hot water outlet pipe 35 is equal to the hot water flow rate at the first outlet.

[0088] Exemplarily, in the water heater, the specific heat capacity of the water flow can be preset. Then, after obtaining the hot water flow rate and hot water temperature, and the cold water flow rate and cold water temperature at the first outlet, the current water temperature at the first outlet can be obtained.

[0089] The calculation method of the current water temperature is described below through Example 3: Example 3: Combining the foregoing Example 1 and Example 2, the hot water flow rate at the hot water outlet pipe obtained by the first flowmeter is Q 热 (L / s), and the total water flow rate obtained by the second flowmeter is Q 总L / s, the cold water flow rate Q_cold = Q_total - Q_hot. The specific heat capacity of water is preset as C in the water heater 30, the monitoring duration of this water flow rate is t, and the hot water temperature obtained by the first temperature sensor is T 热 , and the cold water temperature obtained by the second temperature sensor is T 冷 Then the current temperature is T 目标 Then according to the following formula (1): Formula (1) It is derived that the formula for obtaining the current temperature as T 目标 is formula (2) Formula (2) In another embodiment of the present application, a specific implementation manner for enabling the negative feedback mode of this water heater is also provided. Exemplarily, before "when the current outlet water flow of the first outlet of the mixing valve is stable, the automatic control unit determines the current water temperature of the outlet water according to the water flow parameters of the first inlet and the second inlet", the method further includes: receiving a first input from the user to the water heater control panel; in response to the above first input, starting the adaptive temperature control mode.

[0090] Exemplarily, the above adaptive temperature control mode is used to trigger the above water heater to start the real-time change monitoring process of the water flow parameters of the above mixing valve, and the above real-time change monitoring process of the water flow parameters is used to monitor the water flow temperature of the above mixing valve and the change of the water flow rate of the above mixing valve in real time.

[0091] It can be understood that for the water heater in the embodiments of the present application, the control modes are divided into two types: the conventional mode and the adaptive water temperature adjustment mode.

[0092] In one example, the above conventional mode is: through the control panel of the water heater, the user sets the water temperature of the water heater according to needs by himself / herself, and then the water heater controls the water flow heating power of the water inlet according to the water temperature of the water heater to maintain this temperature.

[0093] In another example, the above adaptive water temperature mode is: through the control panel of the water heater, the water heater is controlled to turn on the adaptive negative feedback temperature adjustment mode, that is, to execute the foregoing operation of obtaining the current water temperature of the first outlet, and according to the current water temperature, the preset hot water flow rate at a fixed opening, and the preset cold water flow rate, and then when the current water temperature is inconsistent with the set water temperature of the water heater control panel, the heating power of the water heater is adjusted accordingly so that the subsequent temperature can reach the current water temperature.

[0094] Furthermore, the above conventional mode and the adaptive water temperature adjustment mode can be switched by the user through the control operation panel.

[0095] Exemplarily, the above first input may be a touch input, for example, a click input or a long - press input, or may be a voice input, or may also be a gesture input. The embodiments of the present application do not limit this.

[0096] In one example, after the water heater starts the adaptive temperature control mode, the above first flowmeter and / or second flowmeter immediately start to detect the water flow change. When there is a continuous water flow change in the first flowmeter and / or second flowmeter and the duration of water flow is greater than the preset duration, the above automatic control unit determines the current water temperature of the outlet water flow according to the water flow parameters of the first inlet and the second inlet.

[0097] Example 4: Combining the foregoing Examples 1 - 3 and Figure 3 the shown water heater structure and Figure 5 the shown schematic diagram of the water heater temperature control process, when the water heater 30 receives the user's click input (i.e., the above first input) and sets the water heater mode to the adaptive temperature control mode, the first flowmeter and the first temperature sensor, as well as the second flowmeter and the second temperature sensor, are started.

[0098] S101: Determine that there is a stable water flow output at the current first outlet 333 through the first flowmeter and the second flowmeter.

[0099] S102: Wait for a duration T1. The purpose of this duration T1 is: 1) Ensure that the water at the first outlet 333 changes from cold water to hot water; 2) Give the user time to adjust the mixing valve to the water of the required output temperature.

[0100] S103: When the continuous output duration of the water flow at the first outlet 333 reaches T1, determine again whether the water flow at the first outlet 333 is still continuously outputting.

[0101] S104: When the output duration reaches T1 and the water flow at the first outlet 333 is still continuously outputting, calculate the current water temperature according to the above formula (2).

[0102] S105: Obtain the required hot water temperature according to the current water temperature and display the target setting temperature on the control panel of the water heater.

[0103] After setting the target setting temperature, when the user uses water subsequently, just directly turn the gear to the maximum.

[0104] In another embodiment of the present application, a specific implementation manner in which the water heater characterizes the water flow rate at the first outlet through the light brightness is further provided. Exemplarily, a first power generation unit is provided at the first outlet, and a first indicator light is provided at the water-using end corresponding to the first outlet. The first power generation unit supplies power to the first indicator light. The method provided by the embodiment of the present application further includes: confirming the water flow rate at the first outlet according to the hot water flow rate and the cold water flow rate; determining the power generation amount of the first power generation unit according to the water flow rate at the first outlet, and supplying power to the first indicator light through the first power generation unit.

[0105] Exemplarily, the water flow rate at the first outlet is proportional to the power generation amount of the first power generation unit.

[0106] Exemplarily, the light brightness of the first indicator light is proportional to the first power generation amount of the power generation unit.

[0107] It can be understood that since the generator synchronously changes the power generation amount according to the water flow rate, thereby controlling the brightness of the first indicator light, the user can feel the change of the current water flow rate and the current water flow size by viewing the brightness of a lighting device, greatly improving the shower experience.

[0108] In another embodiment of the present application, a specific implementation manner in which the water heater characterizes the water temperature at the first outlet through the light color is further provided. Exemplarily, a second power generation unit and a temperature measurement unit are provided at the first outlet, and a second indicator light is provided at the water-using end corresponding to the first outlet. The second power generation unit supplies power to the second indicator light. The method provided by the embodiment of the present application further includes: obtaining the measured temperature through the temperature measurement unit; confirming the power generation amount of the second power generation unit according to the measured temperature, and supplying power to the second indicator light through the second power generation unit.

[0109] Exemplarily, there is a first preset correspondence between the power generation amount of the second power generation unit and the measured temperature.

[0110] Exemplarily, there is a second preset correspondence between the light color of the second indicator light and the power generation amount.

[0111] It can be understood that since different water temperatures can be reflected by different colors, by setting different colors, the water outlet temperature at the first outlet can be indicated, so that the user can use water at a water temperature that makes them feel comfortable and safe.

[0112] For example, when the battery level is S1, the corresponding glowing color is blue, indicating that the water temperature is too cold; when the battery level is S2, the corresponding glowing color is green, indicating that the water temperature is normal and showering is possible; when the battery level is S3, the corresponding glowing color is red, indicating that the water temperature may be scalding. In this way, user safety can be ensured, and the user can know the water temperature situation without having to test the water.

[0113] Furthermore, the above second indicator light can be further refined in terms of water temperature through settings. For example, the second indicator light includes a simple mode and a complex mode. The user can make a first input to the second indicator light to enter the complex mode and subdivide the colors corresponding to the water temperature of 40 - 47°C. Select purple for the water temperature of 40 - 42°C, pink for the water temperature of 42 - 45°C, and orange for the water temperature of 45 - 47°C. Then the second indicator light will automatically switch the corresponding relationship between its own color and the generated power, changing the power corresponding to the water temperature of 40 - 47°C being S2 to: the power corresponding to the water temperature of 40 - 42°C is S4, the power corresponding to the water temperature of 42 - 45°C is S5, and the power corresponding to the water temperature of 45 - 47°C is S6. In this way, it can help users improve the comfort level during the water - using process.

[0114] An embodiment of the present application provides a computer program product, which contains instructions that, when run by a processor, implement Figure 5 each step of the method shown.

[0115] It should be noted that although the operations of the method of the present invention are described in a specific order in the drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result.

[0116] It should be understood that the above - mentioned terms such as "center", "longitudinal", "lateral", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. indicating the orientation or positional relationship are based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus cannot be construed as a limitation to the present application. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present application, unless otherwise stated, the meaning of "a plurality" is two or more.

[0117] The above description is only a preferred embodiment of the present application and an explanation of the technical principles applied. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the foregoing disclosure concept. For example, the technical solutions formed by mutually replacing the above features with the technical features (but not limited to) disclosed in the present application that have similar functions.

Claims

1. A temperature control method for a water heater, characterized in that: The water heater comprises an automatic control unit, a water inlet, a water outlet, and a water mixing valve, wherein the water inlet is connected to a water inlet pipe, the water outlet is connected to a hot water outlet pipe, the water mixing valve comprises a first inlet, a second inlet, and a first outlet, the water heater heats the water flow flowing into the water inlet and then outputs it to the first inlet of the water mixing valve through the hot water outlet pipe at the water outlet, the second inlet is connected to a cold water pipe, the water flow of the first inlet is mixed with the water flow of the second inlet and then outputted from the first outlet, the method comprises: When the continuous water outflow time at the first outlet of the water mixing valve reaches a preset time, the automatic control unit determines the current water temperature of the water outflow at the first outlet according to the water flow parameters of the first inlet and the water flow parameters of the second inlet, wherein the water flow parameters include the water flow temperature and the water flow rate; The automatic control unit determines the required hot water temperature corresponding to the current water temperature at the fixed opening of the mixing valve according to the preset cold water flow of the mixing valve at the fixed opening, the preset hot water flow of the mixing valve at the fixed opening, and the current water temperature, wherein the fixed opening is a fixed opening angle of the mixing valve; When the mixing valve is opened to the fixed opening, the water heater heats the water flowing into the water inlet until the water temperature of the hot water outlet pipe reaches the required hot water temperature, so that the water temperature of the first outlet of the mixing valve reaches the current water temperature.

2. The method according to claim 1, characterized in that After determining the required hot water temperature corresponding to the current water temperature at the fixed opening of the mixing valve, the method further includes: According to the preset correspondence between the outlet water temperature of the hot water outlet pipe and the set temperature of the water heater, determine the target set temperature corresponding to the required hot water temperature, wherein the target set temperature is the theoretical water temperature after the water flow of the hot water outlet pipe and the water flow of the cold water pipe are mixed; The original set temperature of the water heater is updated and displayed as the target set temperature.

3. The method according to claim 1, characterized in that A first flow meter and a first temperature sensor are provided within a preset range of the first inlet, a second flow meter is provided within a preset range of the first outlet, and a second temperature sensor is provided within a preset range of the second inlet. When the current outflow of the first outlet of the water mixing valve is stable, the automatic control unit determines the current water temperature of the outflow according to the water flow parameters of the first inlet and the water flow parameters of the second inlet, including: Obtaining the hot water flow rate and the hot water temperature at the first inlet through a first flow meter and a first temperature sensor; obtaining the total water flow at the first outlet by means of the second flow meter, and obtaining the cold water temperature at the second inlet by means of the second thermometer; According to the total water flow and the hot water flow, obtaining the cold water flow and the cold water temperature at the second inlet; The current water temperature at the first outlet is determined according to the hot water flow rate and the hot water temperature, and the cold water flow rate and the cold water temperature, in combination with the specific heat capacity of the water flow.

4. The method according to claim 1, characterized in that: When the current outflow of the first outlet of the water mixing valve is stable, the automatic control unit determines the current water temperature of the outflow according to the water flow parameters of the first inlet and the water flow parameters of the second inlet, wherein the water flow parameters include the water flow temperature and the water flow rate, the method further includes: receiving a first input from a user to the water heater; In response to the first input, an adaptive temperature control mode is started, and the adaptive temperature control mode is used to trigger the water heater to start the real-time change monitoring process of the water flow parameters of the mixing valve. The real-time change monitoring process of the water flow parameters is used to monitor the changes in the water flow temperature of the mixing valve and the water flow speed of the mixing valve in real time.

5. The method according to claim 3, characterized in that: A first power generation unit is provided at the first outlet, a first indicator light is provided at a water-using end corresponding to the first outlet, and the first power generation unit supplies power to the first indicator light. The method further includes: According to the hot water flow rate and the cold water flow rate, determining the water flow rate of the first outlet, wherein the water flow rate of the first outlet is proportional to the power generation of the first power generation unit; The power generation of the first power generation unit is determined according to the water flow of the first outlet, and the first indicator light is supplied with power through the first power generation unit. The light brightness of the first indicator light is proportional to the first power generation of the power generation unit.

6. The method according to claim 3, characterized in that A second power generation unit and a temperature measurement unit are provided at the first outlet, a second indicator light is provided at a water-using end corresponding to the first outlet, and the second power generation unit supplies power to the second indicator light. The method further includes: Acquiring a test temperature through the temperature measuring unit; According to the test temperature, confirming the power generation of the second power generation unit, there being a first preset corresponding relationship between the power generation of the second power generation unit and the test temperature; The second indicator light is powered by the second power generation unit, and there is a second preset corresponding relationship between the light color of the second indicator light and the power generation amount.

7. A water heater, characterized in that: The water heater comprises an automatic control unit, a water inlet, a water outlet, and a water mixing valve, wherein the water inlet is connected to a water inlet pipe, the water outlet is connected to a hot water outlet pipe, the water mixing valve comprises a first inlet, a second inlet, and a first outlet, the water heater heats the water flow flowing into the water inlet and then outputs the water flow to the first inlet of the water mixing valve through the hot water outlet pipe at the water outlet, the second inlet is connected to a cold water pipe, and the water flow of the first inlet is mixed with the water flow of the second inlet and then outputted from the first outlet; A first flow meter and a first temperature sensor are arranged within a preset range of the first inlet, and a second flow meter and a second temperature sensor are arranged within a preset range of the second inlet; The water heater is used to perform the method of claims 1-6.

8. The water heater according to claim 7, characterized in that: A first power generation unit is provided at the first outlet, a first indicator light is provided at a water-using end corresponding to the first outlet, and the first power generation unit supplies power to the first indicator light; The first power generation unit includes a copper winding rotor unit and a magnet stator unit; When water flows at the first outlet, the water flow triggers the copper winding rotor unit to rotate, the magnet stator unit generates magnetic flux lines, and the copper winding rotor unit cuts the magnetic flux lines to generate electricity.

9. The water heater according to claim 7, characterized in that: A second power generation unit and a temperature measurement unit are provided at the first outlet, a second indicator light is provided at the water-using end corresponding to the first outlet, and the second power generation unit supplies power to the second indicator light; The second indicator light includes at least two light colors, and different light colors correspond to different power generation amounts of the second power generation unit; The second power generation unit includes at least two modes of power generation, and the power generation in different modes corresponds to the temperature corresponding to the temperature measuring unit.

10. A computer program product, comprising instructions, characterized in that: When the instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.