Heater control method and heater

By calculating the water temperature change rate parameters and target temperature difference in the heater, accurately controlling the heating time of the heater, the problem of poor temperature control accuracy in the existing water heater control method is solved, and high-precision temperature control and energy-saving effects are achieved when users use water.

CN119755802APending Publication Date: 2025-04-04GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510017753.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-06
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

The existing water heater control method starts heating immediately after the user sets the target temperature, resulting in the inability to accurately reach the target temperature when the user actually uses water, and repeated heating and cooling wastes energy, and the temperature control accuracy is poor.

Method used

By obtaining the target water temperature, actual water temperature and water temperature change rate parameters of the heater, calculate the target temperature difference and temperature change time, use the preset temperature change function to reflect the relationship between the target temperature difference and the water temperature change rate parameters, and accurately control the heating time of the heater.

Benefits of technology

Improve the temperature control accuracy, avoid repeated heating and waste energy, and ensure that the water temperature in the heater accurately reaches the target temperature when the user uses water.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119755802A_ABST
    Figure CN119755802A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a heater control method and a heater, and belongs to the field of equipment control. The control method of the heater comprises the steps that the target water temperature, the actual water temperature and the water temperature change rate parameter of the heater are obtained; calculating a target temperature difference according to the target water temperature and the actual water temperature; and the temperature change duration is calculated according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function. The embodiment of the invention has the technical effects that the temperature change duration can be more accurately calculated, so that when water in the heater needs to be heated, the temperature of water used by a user can be accurately controlled by utilizing the temperature change duration, energy waste caused by repeated heating is avoided, and the temperature control precision is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of equipment control, and in particular, to a control method for a heater and a heater. Background Art

[0002] With the progress of the times, air-energy water heaters are increasingly widely used due to their high efficiency, energy saving, environmental protection, safety, long service life and high intelligence. However, the existing water heater control method usually starts heating immediately after the user sets the target temperature until the target temperature is reached. However, there is often a gap between this and the actual time when the user uses the water. During this period, the water heater will repeatedly heat and cool. This control method makes it impossible to accurately reach the target temperature when the user actually uses the water, resulting in poor temperature control accuracy. Summary of the invention

[0003] The embodiments of the present application provide a control method for a heater and a heater, so as to at least solve the technical problem of poor temperature control accuracy.

[0004] According to a first aspect of an embodiment of the present application, a method for controlling a heater is provided, the method comprising:

[0005] Acquire a target water temperature, an actual water temperature, and a water temperature change rate parameter of the heater, wherein the water temperature change rate parameter includes a parameter that affects the water temperature change rate of the water in the heater;

[0006] Calculating a target temperature difference according to the target water temperature and the actual water temperature;

[0007] The temperature change duration is calculated according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function, wherein the temperature change function is used to reflect the relationship between the target temperature difference and the water temperature change rate parameter and the temperature change duration.

[0008] With this embodiment, the water temperature change rate parameter includes parameters that affect the water temperature change rate, so that the temperature change time calculated based on the water temperature change rate parameter is more accurate. When it is necessary to heat the water in the heater, the temperature change time can be used to accurately control the water temperature when the user uses the water, avoiding repeated heating and wasting energy, and improving the temperature control accuracy.

[0009] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the temperature change duration includes a heating duration, the water temperature change rate parameter includes a heating parameter that affects the heating rate of the water temperature in the heater, and the temperature change function includes a first function, wherein the first function is a function of a target temperature difference, a heating parameter, and a heating duration;

[0010] The calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function includes:

[0011] The target temperature difference and the heating parameter are substituted into the first function to calculate the heating time.

[0012] By adopting this embodiment, the heating time can be calculated based on the heating parameters and the first function, so that the time required to heat the actual water temperature to the target water temperature can be accurately known. Therefore, when determining the user's water usage time, the accurate heater heating time point can be calculated based on the heating time, avoiding repeated heating and wasting energy, and improving the temperature control accuracy.

[0013] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the temperature change duration includes a cooling duration, the water temperature change rate parameter includes a cooling parameter that affects the cooling rate of the water temperature in the heater, and the temperature change function includes a second function, wherein the second function is a function of the target temperature difference, the cooling parameter and the cooling duration;

[0014] The calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function includes:

[0015] Substitute the target temperature difference and the cooling parameter into the second function to calculate the cooling time.

[0016] By adopting this implementation method, the cooling time can be calculated according to the cooling parameter and the second function, so that the time required to cool the actual water temperature to the target water temperature can be accurately known, thereby improving the temperature control accuracy.

[0017] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the temperature change duration includes a heating and cooling duration, the water temperature change rate parameter includes a heating parameter that affects the water temperature heating rate of the water in the heater and a cooling parameter that affects the water temperature cooling rate of the water in the heater, and the temperature change function includes a first function and a second function, wherein the first function is a function of a target temperature difference, a heating parameter and a heating duration, and the second function is a function of a target temperature difference, a cooling parameter and a cooling duration;

[0018] The calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function includes:

[0019] Substituting the target temperature difference and the heating parameter into the first function, and calculating the heating time;

[0020] Substituting the target temperature difference and the cooling parameter into the second function, and calculating the cooling time;

[0021] The sum of the heating time and the cooling time is calculated to obtain the heating and cooling time.

[0022] By adopting this implementation method, the heating time is calculated first, then the cooling time is calculated, and finally the heating and cooling time is obtained, so that the time required to control the actual water temperature to the target water temperature can be accurately known, thereby improving the temperature control accuracy.

[0023] In combination with the first aspect, in an optional implementation of the embodiment of the present application, after calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function, the method further includes:

[0024] Get water usage time;

[0025] The start time is determined according to the water use time and the temperature change duration, so as to control the heater to heat when the actual time reaches the start time.

[0026] By adopting this implementation method, the start time is determined by the temperature change duration, so that after the heater is controlled to heat according to the start time, the water temperature in the heater can easily meet the user's needs when the water use time arrives in actual time, thereby improving the temperature control accuracy.

[0027] In combination with the first aspect, in an optional implementation of the embodiment of the present application, if there are multiple water temperature change rate parameters, the temperature change function includes:

[0028] The temperature difference is equal to the product of a plurality of the water temperature change rate parameters multiplied by the duration;

[0029] If there is one water temperature change rate parameter, then the temperature change function includes:

[0030] The temperature difference is equal to the product of the water temperature change rate parameter and the duration.

[0031] By adopting this implementation, the calculation process of the temperature change function is simple, which is conducive to saving computing resources and reducing computing costs. At the same time, when the number of water temperature change rate parameters is different, the calculation process included in the temperature change function is also different, which is conducive to improving the accuracy of the temperature difference calculated according to the temperature change function.

[0032] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the temperature change function includes temperature difference = water temperature change rate parameter * time length;

[0033] Before calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function, the method further includes:

[0034] Get historical temperature difference and historical temperature change duration;

[0035] If there are multiple water temperature change rate parameters, any one of the multiple water temperature change rate parameters is used as the target coefficient, the values ​​of the parameters other than the target coefficient among the multiple water temperature change rate parameters are controlled to remain unchanged, the historical temperature difference and the historical temperature change duration are substituted into the temperature change function, and the value of the target coefficient is calculated until all the multiple water temperature change rate parameters are used as the target coefficient.

[0036] By adopting this implementation method, since the historical temperature difference and the historical temperature change duration are both actual operating parameters during the operation of the heater, the value of the target coefficient is calculated using the historical temperature difference and the historical temperature change duration, which is beneficial to improving the accuracy of the values ​​of each water temperature change rate parameter in the temperature change function, thereby improving the accuracy of the temperature change duration calculated using the temperature change function.

[0037] In combination with the first aspect, in an optional implementation manner of the embodiment of the present application, the method further includes:

[0038] An average value of the values ​​of a preset number of target coefficients is calculated, and the average value is used as the corresponding coefficient value in the temperature change function.

[0039] With this implementation, the average value is helpful to improve the accuracy of the value of the target coefficient.

[0040] In combination with the first aspect, in an optional implementation of an embodiment of the present application, the water temperature change rate parameter includes at least one of the actual operating frequency of the compressor of the heater, the actual water volume percentage and the actual ambient temperature, or the water temperature change rate parameter includes at least one of the characterization value of the actual operating frequency of the compressor of the heater, the characterization value of the actual water volume percentage and the characterization value of the actual ambient temperature.

[0041] With this implementation, the actual operating frequency of the compressor, the actual water volume ratio, and the actual ambient temperature all have an impact on the water temperature in the heater, and can affect the heating rate and cooling rate of the water temperature. Using these parameters as water temperature change rate parameters is conducive to improving the accuracy of the temperature change duration. At the same time, the water temperature change rate parameters can include multiple types of parameters, comprehensively considering the factors that affect the water temperature change rate of the water in the heater, which is conducive to improving the accuracy of the temperature change duration.

[0042] According to a second aspect of an embodiment of the present application, a heater is provided, comprising a control program, wherein the heater adopts the control method described above when running the control program.

[0043] In combination with the second aspect, in an optional implementation of the embodiment of the present application, the heater includes an air-energy water heater.

[0044] The technical effect obtained by the above-mentioned second aspect is similar to the technical effect obtained by the corresponding technical means in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 is a flow chart of a method for controlling a heater provided in an embodiment of the present application;

[0046] Figure 2 This is a flow chart of adjusting heating process parameters in a specific application of a heater control method provided in an embodiment of the present application;

[0047] Figure 3 This is a flow chart of temperature reduction process parameter adjustment in a specific application of a heater control method provided in an embodiment of the present application;

[0048] Figure 4 It is an overall flow chart of a heater control method provided in an embodiment of the present application in a specific application. DETAILED DESCRIPTION

[0049] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0050] It should be understood that the "plurality" mentioned in this article refers to two or more. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and so on are used to distinguish between the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first", "second" and so on do not limit the quantity and execution order, and the words "first", "second" and so on do not limit certain different

[0051] In addition, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, product, or apparatus.

[0052] With the progress of the times, air-energy water heaters are increasingly widely used due to their high efficiency, energy saving, environmental protection, safety, long service life and high intelligence. However, the existing water heater control method is usually based on the target temperature set by the user, either heating continuously or heating for a period of time and then reheating after the temperature drops. This control method leads to a large difference between the actual water temperature and the target water temperature, and fails to make full use of the ambient temperature. To this end, an intelligent temperature control method for air-energy water heaters is proposed. This method combines the ambient temperature, the operating frequency of the compressor and the amount of water in the water tank. By learning the user's usage habits, it can accurately heat the water to the target temperature within the user's accustomed water use time. This method not only achieves precise temperature control, but also saves a lot of energy.

[0053] Based on this, the embodiment of the present application provides a control method of a heater and a heater, which at least include the following features:

[0054] During the heating process, the water temperature change is fitted with the compressor operating frequency, ambient temperature and the amount of water in the water tank to obtain a relationship curve between them. During the period of stopping heating, the water temperature change is fitted with the ambient temperature and the amount of water in the water tank to obtain another relationship curve. After obtaining these two curves, when setting the target temperature, the system will calculate the optimal heating time and operating frequency based on these two curves, thereby maximizing the use of air heat, achieving energy saving and accurately reaching the target temperature.

[0055] At least solve the following problems:

[0056] The existing water heater control method usually starts heating immediately after the user sets the target temperature until the target temperature is reached. However, there is often a gap between this and the time when the user actually uses the water, during which the water heater will repeatedly heat and cool. This method not only fails to accurately reach the target temperature when the user actually uses the water, but also wastes a lot of energy in the process of repeated heating and cooling.

[0057] At least the following effects are included:

[0058] By summarizing a large amount of user usage data, a relationship model between temperature change and compressor operating frequency, ambient temperature and water volume in the water tank was established. In actual use, the system continuously optimizes various related parameters. When heating, the time required to reach the target temperature is predicted based on the temperature rise slope; when cooling, the temperature drop slope is calculated. By comprehensively considering the temperature rise time and the temperature drop slope, the system starts the heating process at the optimal time to ensure that the water temperature reaches the preset target when the user is using it, while making full use of the ambient temperature to achieve energy saving.

[0059] Next, the control method of the heater provided in the embodiment of the present application is further described, referring to Figure 1 The flowchart of the control method of the heater shown is a schematic diagram, and the method includes the following processing procedures.

[0060] S100, obtaining the target water temperature, actual water temperature and water temperature change rate parameters of the heater.

[0061] The water temperature change rate parameter includes a parameter that affects the water temperature change rate of the water in the heater.

[0062] In one embodiment, the target water temperature may be the water temperature set by the user. For example, if the user needs to use 40 degrees Celsius water, the temperature may be set to 40 degrees Celsius. In this case, the target water temperature = 40. The target water temperature may also be the water temperature after the heater adaptively adjusts the water temperature set by the user after obtaining the water temperature set by the user. For example, if the water temperature set by the user is 40 degrees Celsius, the heater corrects 40 according to a preset value, and the corrected value is the target water temperature. Specifically, the correction may be a decrease or an increase, which is set according to actual needs, and this embodiment does not specifically limit this.

[0063] In one embodiment, the actual water temperature refers to the actual temperature of the water in the heater, and the actual water temperature can be acquired by a device capable of measuring the temperature of a liquid, such as a temperature sensor.

[0064] S102, calculating a target temperature difference according to the target water temperature and the actual water temperature.

[0065] In one embodiment, the target temperature difference=target water temperature-actual water temperature. In another embodiment, the target temperature difference=|actual water temperature-target water temperature|.

[0066] S104, calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function.

[0067] The temperature change function is used to reflect the relationship between the target temperature difference and the water temperature change rate parameter and the temperature change duration.

[0068] In one embodiment, the temperature change function may be a linear function relationship between the target temperature difference and the temperature change duration, wherein the water temperature change rate parameter is a coefficient in the linear function.

[0069] It should be noted that the temperature change duration can be the time required for the water temperature in the heater to increase, the time required for the water temperature in the heater to decrease, or the time required for the water temperature in the heater to first increase and then decrease to the target water temperature.

[0070] With this embodiment, the water temperature change rate parameter includes parameters that affect the water temperature change rate, so that the temperature change time calculated based on the water temperature change rate parameter is more accurate. When it is necessary to heat the water in the heater, the temperature change time can be used to accurately control the water temperature when the user uses the water, avoiding repeated heating and wasting energy, and improving the temperature control accuracy.

[0071] In a possible embodiment of the present application, the temperature change duration includes a heating duration, the water temperature change rate parameter includes a heating parameter that affects the heating rate of the water temperature in the heater, and the temperature change function includes a first function, wherein the first function is a function of a target temperature difference, a heating parameter, and a heating duration;

[0072] The calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function includes:

[0073] The target temperature difference and the heating parameter are substituted into the first function to calculate the heating time.

[0074] In one embodiment, the heating time refers to the time required to increase the water temperature in the heater. It should be noted that when heating, the water in the heater needs to be actively heated, so compared with cooling, the water temperature change rate parameter may be different, therefore, the water temperature change rate parameter includes a heating parameter and a cooling parameter, and specifically, the heating parameter and the cooling parameter may be the same, different, or partially the same. For example, the heating parameter includes the operating frequency of the compressor and the ambient temperature, and the cooling parameter includes the ambient temperature.

[0075] In one embodiment, the first function refers to a function used to calculate the heating time. After knowing the specific values ​​of the target temperature difference and the heating parameters, the specific values ​​are substituted into the first function to obtain the value of the heating time.

[0076] By adopting this implementation method, the heating time can be calculated based on the heating parameters and the first function, so that the time required to heat the actual water temperature to the target water temperature can be accurately known. Therefore, when determining the user's water usage time, the accurate heater heating time point can be calculated based on the heating time, avoiding repeated heating and wasting energy, and improving the temperature control accuracy.

[0077] Optionally, in an implementation of this embodiment, the temperature change duration includes a cooling duration, the water temperature change rate parameter includes a cooling parameter that affects the cooling rate of the water temperature in the heater, and the temperature change function includes a second function, wherein the second function is a function of the target temperature difference, the cooling parameter and the cooling duration;

[0078] The calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function includes:

[0079] Substitute the target temperature difference and the cooling parameter into the second function to calculate the cooling time.

[0080] In one embodiment, the temperature reduction time refers to the time required to reduce the temperature of water in the heater, specifically, the time required to reduce the water temperature by a target temperature difference.

[0081] In one embodiment, the second function refers to a function for calculating the cooling time. After knowing the specific values ​​of the target temperature difference and the cooling parameters, the specific values ​​are substituted into the second function to obtain the value of the cooling time.

[0082] By adopting this implementation method, the cooling time can be calculated according to the cooling parameter and the second function, so that the time required to cool the actual water temperature to the target water temperature can be accurately known, thereby improving the temperature control accuracy.

[0083] Optionally, in an implementation of this embodiment, the temperature change duration includes a heating and cooling duration, the water temperature change rate parameter includes a heating parameter that affects a water temperature heating rate of the water in the heater and a cooling parameter that affects a water temperature cooling rate of the water in the heater, and the temperature change function includes a first function and a second function, wherein the first function is a function of a target temperature difference, a heating parameter and a heating duration, and the second function is a function of a target temperature difference, a cooling parameter and a cooling duration;

[0084] The calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function includes:

[0085] Substituting the target temperature difference and the heating parameter into the first function, and calculating the heating time;

[0086] Substituting the target temperature difference and the cooling parameter into the second function, and calculating the cooling time;

[0087] The sum of the heating time and the cooling time is calculated to obtain the heating and cooling time.

[0088] In one embodiment, the heating and cooling time refers to the total time required for heating and cooling. Specifically, in an application scenario, the set temperature 40 set by the user can be obtained, and the set temperature can be increased by a preset value to obtain the target water temperature 50. The target temperature difference 50-22=28 is calculated using the target water temperature and the actual water temperature. The target temperature difference and the heating parameter are substituted into the first function to obtain a heating time of 20min. Then the difference between the target water temperature and the set temperature is calculated 50-40=10, and the difference and the cooling parameter are substituted into the second function to obtain a cooling time of 15min. Finally, the heating time and the cooling time are summed to obtain a heating and cooling time of 35min. The water use time is determined according to the user's historical water use time. The heater is controlled to start heating 35min before the water use time. After heating for 20min or when the water temperature reaches 50 degrees Celsius, the heating is stopped, so that the water temperature in the heater dissipates heat naturally, so that the water temperature in the heater is about 40 degrees Celsius at the water use time.

[0089] By adopting this implementation method, the heating time is calculated first, then the cooling time is calculated, and finally the heating and cooling time is obtained, so that the time required to control the actual water temperature to the target water temperature can be accurately known, thereby improving the temperature control accuracy.

[0090] Optionally, in an implementation of this embodiment, after calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function, the method further includes:

[0091] Get water usage time;

[0092] The start time is determined according to the water use time and the temperature change duration, so as to control the heater to heat when the actual time reaches the start time.

[0093] In one embodiment, the water use time refers to the time when the water in the heater needs to be used. The time can be estimated based on the user's historical water use time, for example, the time is recorded each time the user uses water, in days.

[0094] By adopting this implementation method, the start time is determined by the temperature change duration, so that after the heater is controlled to heat according to the start time, the water temperature in the heater can easily meet the user's needs when the water use time arrives in actual time, thereby improving the temperature control accuracy.

[0095] Optionally, in an implementation of this embodiment, if there are multiple water temperature change rate parameters, the temperature change function includes:

[0096] The temperature difference is equal to the product of a plurality of the water temperature change rate parameters multiplied by the duration;

[0097] If there is one water temperature change rate parameter, then the temperature change function includes:

[0098] The temperature difference is equal to the product of the water temperature change rate parameter and the duration.

[0099] For ease of understanding, when there are multiple water temperature change rate parameters, such as k1, k2 and k3, the temperature change function is: temperature difference = k1*k2*k3*time. When there is only one water temperature change rate parameter, such as k4, the temperature change function is: temperature difference = k4*time.

[0100] By adopting this implementation, the calculation process of the temperature change function is simple, which is conducive to saving computing resources and reducing computing costs. At the same time, when the number of water temperature change rate parameters is different, the calculation process included in the temperature change function is also different, which is conducive to improving the accuracy of the temperature difference calculated according to the temperature change function.

[0101] Optionally, in an implementation of this embodiment, the temperature change function includes temperature difference = water temperature change rate parameter * duration;

[0102] Before calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function, the method further includes:

[0103] Get the historical temperature difference and the historical temperature change duration.

[0104] In one embodiment, the historical temperature difference and the historical temperature change duration are both known quantities. That is, during the previous operation of the heater, the historical temperature difference and the corresponding historical temperature change duration are obtained by monitoring the temperature difference and the temperature change duration required for the temperature difference.

[0105] If there are multiple water temperature change rate parameters, any one of the multiple water temperature change rate parameters is used as the target coefficient, the values ​​of the parameters other than the target coefficient among the multiple water temperature change rate parameters are controlled to remain unchanged, the historical temperature difference and the historical temperature change duration are substituted into the temperature change function, and the value of the target coefficient is calculated until all the multiple water temperature change rate parameters are used as the target coefficient.

[0106] For example, the water temperature change rate parameters include k1, k2 and k3, and the temperature change function includes temperature difference = k1*k2*k3*duration. k1, k2 and k3 all have initial values. First, take k1 as the target coefficient, keep the values ​​of k2 and k3 unchanged, substitute the historical temperature difference and the historical temperature change duration into the temperature change function, and you can get the value of k1. After getting the value of k1, take k2 as the target coefficient and use the latest values ​​of k1 and k3 to calculate the value of k2 in the same way, and the same goes for k3.

[0107] By adopting this implementation method, since the historical temperature difference and the historical temperature change duration are both actual operating parameters during the operation of the heater, the value of the target coefficient is calculated using the historical temperature difference and the historical temperature change duration, which is beneficial to improving the accuracy of the values ​​of each water temperature change rate parameter in the temperature change function, thereby improving the accuracy of the temperature change duration calculated using the temperature change function.

[0108] Optionally, in an implementation of this embodiment, the method further includes:

[0109] An average value of the values ​​of a preset number of target coefficients is calculated, and the average value is used as the corresponding coefficient value in the temperature change function.

[0110] With this implementation, the average value is helpful to improve the accuracy of the value of the target coefficient.

[0111] Optionally, in one implementation of this embodiment, the water temperature change rate parameter includes at least one of the actual operating frequency of the compressor of the heater, the actual water volume percentage and the actual ambient temperature, or the water temperature change rate parameter includes at least one of the characterization value of the actual operating frequency of the compressor of the heater, the characterization value of the actual water volume percentage and the characterization value of the actual ambient temperature.

[0112] With this implementation, the actual operating frequency of the compressor, the actual water volume ratio, and the actual ambient temperature all have an impact on the water temperature in the heater, and can affect the heating rate and cooling rate of the water temperature. Using these parameters as water temperature change rate parameters is conducive to improving the accuracy of the temperature change duration. At the same time, the water temperature change rate parameters can include multiple types of parameters, comprehensively considering the factors that affect the water temperature change rate of the water in the heater, which is conducive to improving the accuracy of the temperature change duration.

[0113] A heater provided in an embodiment of the present application includes a control program, and the heater adopts the above-mentioned control method when running the control program.

[0114] Optionally, in an implementation of this embodiment, the heater includes an air-energy water heater.

[0115] In the above-mentioned embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The steps shown in the relevant flow chart can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flow chart, in some cases, the steps shown or described can be executed in an order different from that here. In other words, the order of steps described in the foregoing embodiments is only an example, and it is also within the scope of protection of the embodiments of the present application to reasonably adjust the order of steps based on the content of the embodiments of the present application.

[0116] In a specific implementation of the embodiment of the present application, the control method of the heater includes the following processing:

[0117] like Figure 2-4 As shown, the water heater obtains the initial ambient temperature and the target temperature according to its internal sensor and the hand operator, and then obtains the temperature ΔT1 that needs to be adjusted. The change of ΔT1 should satisfy the following formula: ΔT1=P1*P2*P3*t1. The meanings of each parameter are as follows: P1 represents the proportional coefficient of the compressor operating frequency, which corresponds to the compressor operating frequency. P2 represents the proportional coefficient of the current water volume percentage, which corresponds to the percentage of the current water volume in the total water volume. P3 represents the current ambient temperature proportional coefficient, which corresponds to the current ambient temperature. t1 represents the time required for the temperature to rise by ΔT1. The initial values ​​of P1, P2, and P3 are given by the system. During the user's use, the system will obtain the actual required time t1 based on the temperature rise ΔT1 under the current ambient temperature conditions and the water volume percentage in the water tank, and bring the above known quantities back to the formula ΔT1=P1*P2*P3*t1 to obtain the new P1 corresponding to the current compressor operating frequency. This process will be repeated five times. The system records the five values ​​of P1 and calculates the average value and assigns it to P1. The adjustment process of P2 and P3 is similar to that of P1. The system will only adjust one parameter at a time. For example, when adjusting P1, P2 and P3 remain unchanged. After a round of adjustment of P2 and P3, continue to adjust the parameters according to the process of adjusting P1 first, then P2, and finally P3, and repeat this process. With the increase of usage time and number of times, the relationship between ΔT1 and P1, P2, and P3 will become more accurate.

[0118] When the water heater stops heating, the water temperature in the water tank will drop, and its temperature change satisfies the following formula ΔT2=P4*P5*t2

[0119] The meanings of each parameter are as follows: P4 represents the proportional coefficient of the water volume in the water tank, which corresponds to the percentage of the current water volume in the total water volume. P5 represents the proportional coefficient of the current ambient temperature, which corresponds to the current ambient temperature. The initial values ​​of P4 and P5 are given by the system. During the use of the user, the system will obtain the actual required time t2 based on the temperature reduction ΔT2 under the current ambient temperature conditions and the percentage of water volume in the water tank, and bring the above known quantity back to the formula ΔT2=P4*P5*t2 to obtain a new P4. This process will be repeated five times. The system records the values ​​of P4 five times and calculates the average value and assigns it to P4. After obtaining the new P4, the system will continue to calculate P5 according to this process. With the increase of usage time and number of times, ΔT2 and P4, P5 will increasingly meet the fitting curve ΔT2=P4*P5*t2.

[0120] After the system obtains the heating target temperature set by the user and the user's habitual water use time, it will predict the time t1 required for the temperature to rise by ΔT1 during heating according to the formula ΔT1=P1*P2*P3*t1, thereby obtaining the optimal heating start time and duration. The system predicts the time t2 required for the temperature to drop by ΔT2 according to the formula ΔT2=P4*P5*t2, ensuring that after the system heats the water temperature to a certain temperature, it will eventually drop to the target temperature set by the user at the time when the user is accustomed to using water, thereby achieving both energy saving and precise temperature control.

[0121] The sequence of serial numbers or introduction of the embodiments of the present application is for description only and does not represent the superiority or inferiority of the embodiments.

[0122] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0123] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0124] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0125] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)). It is worth noting that the computer-readable storage medium mentioned in the embodiment of the present application may be a non-volatile storage medium, in other words, a non-transient storage medium.

[0126] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the embodiments of this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the scene data of the current frame in the three-dimensional virtual scene, the device information of the client, and the scene interaction information involved in the embodiments of this application are all obtained with full authorization.

[0127] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for controlling a heater, characterized in that: The method comprises: Acquire a target water temperature, an actual water temperature, and a water temperature change rate parameter of the heater, wherein the water temperature change rate parameter includes a parameter that affects the water temperature change rate of the water in the heater; Calculating a target temperature difference according to the target water temperature and the actual water temperature; The temperature change duration is calculated according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function, wherein the temperature change function is used to reflect the relationship between the target temperature difference and the water temperature change rate parameter and the temperature change duration.

2. The method for controlling a heater according to claim 1, characterized in that: The temperature change duration includes a heating duration, the water temperature change rate parameter includes a heating parameter that affects the heating rate of the water temperature in the heater, and the temperature change function includes a first function, wherein the first function is a function of a target temperature difference, a heating parameter, and a heating duration; The calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function includes: The target temperature difference and the heating parameter are substituted into the first function to calculate the heating time.

3. The method for controlling a heater according to claim 1, characterized in that: The temperature change duration includes a cooling duration, the water temperature change rate parameter includes a cooling parameter that affects the cooling rate of the water temperature in the heater, and the temperature change function includes a second function, wherein the second function is a function of a target temperature difference, a cooling parameter, and a cooling duration; The calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function includes: Substitute the target temperature difference and the cooling parameter into the second function to calculate the cooling time.

4. The method for controlling a heater according to claim 1, characterized in that: The temperature change duration includes the heating and cooling duration, the water temperature change rate parameter includes a heating parameter that affects the heating rate of the water temperature in the heater and a cooling parameter that affects the cooling rate of the water temperature in the heater, and the temperature change function includes a first function and a second function, wherein the first function is a function of a target temperature difference, a heating parameter and a heating duration, and the second function is a function of a target temperature difference, a cooling parameter and a cooling duration; The calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function includes: Substituting the target temperature difference and the heating parameter into the first function, and calculating the heating time; Substituting the target temperature difference and the cooling parameter into the second function, and calculating the cooling time; The sum of the heating time and the cooling time is calculated to obtain the heating and cooling time.

5. The method for controlling a heater according to any one of claims 1 to 4, characterized in that: After calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function, the method further includes: Get water usage time; The start time is determined according to the water use time and the temperature change duration, so as to control the heater to heat when the actual time reaches the start time.

6. The method for controlling a heater according to any one of claims 1 to 4, characterized in that: If there are multiple water temperature change rate parameters, the temperature change function includes: The temperature difference is equal to the product of a plurality of the water temperature change rate parameters multiplied by the duration; If there is one water temperature change rate parameter, then the temperature change function includes: The temperature difference is equal to the product of the water temperature change rate parameter and the duration.

7. The method for controlling a heater according to any one of claims 1 to 4, characterized in that: The temperature change function includes temperature difference = water temperature change rate parameter * duration; Before calculating the temperature change duration according to the target temperature difference, the water temperature change rate parameter and a preset temperature change function, the method further includes: Get historical temperature differences and historical temperature change durations; If there are multiple water temperature change rate parameters, any one of the multiple water temperature change rate parameters is used as the target coefficient, the values ​​of the parameters other than the target coefficient among the multiple water temperature change rate parameters are controlled to remain unchanged, the historical temperature difference and the historical temperature change duration are substituted into the temperature change function, and the value of the target coefficient is calculated until all the multiple water temperature change rate parameters are used as the target coefficient.

8. The method for controlling a heater according to claim 7, characterized in that: The method further comprises: An average value of the values ​​of a preset number of target coefficients is calculated, and the average value is used as the corresponding coefficient value in the temperature change function.

9. The method for controlling a heater according to any one of claims 1 to 4, characterized in that: The water temperature change rate parameter includes at least one of the actual operating frequency of the heater's compressor, the actual water volume percentage and the actual ambient temperature, or the water temperature change rate parameter includes at least one of the characterization value of the actual operating frequency of the heater's compressor, the characterization value of the actual water volume percentage and the characterization value of the actual ambient temperature.

10. A heater, characterized in that: The control method comprises a control program, and when the heater runs the control program, the control method according to any one of claims 1 to 9 is adopted.

11. The heater according to claim 10, characterized in that The heater comprises an air energy water heater.