Flow calculation and control method of hot water equipment, hot water equipment and storage medium

By controlling the heating element and calculating the flow rate by changing the temperature difference between the water outlet and the water inlet of the hot water equipment, it solves the reliability problem caused by sensor failure and realizes efficient and economical flow management of the hot water equipment.

CN118856629APending Publication Date: 2024-10-29WUHU MIDEA SMART KITCHEN APPLIANCE MFG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310493845.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

The flow sensor in the water heater may fail, resulting in reduced reliability and higher costs of the hot water equipment.

Method used

By obtaining the temperature difference change between the water outlet and the water inlet of the hot water equipment, control the start and stop of the heating element, and calculate the flow rate based on multiple temperature differences, replacing the traditional flow sensor, improving the reliability of the equipment and saving money cost.

Benefits of technology

It achieves accurate calculation and control of the flow rate of hot water equipment, improves the reliability of the equipment, reduces costs, and avoids instability caused by sensor failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118856629A_ABST
    Figure CN118856629A_ABST
Patent Text Reader

Abstract

The invention discloses a flow calculation method for hot water equipment. The method comprises the steps that a first temperature difference value between a water outlet and a water inlet of the hot water equipment is obtained; under the condition that the first temperature difference value meets a first preset condition, a heating element of the hot water equipment is controlled to be started so as to heat inlet water flowing into the hot water equipment, and a second temperature difference value between a water outlet and a water inlet is obtained every first preset duration after starting; under the condition that the second temperature difference value meets a second preset condition, the heating element is controlled to stop heating; after heating is stopped, a third temperature difference value between the water outlet and the water inlet is obtained every second preset duration; and the flow of the hot water equipment is calculated according to the multiple second temperature difference values and the multiple third temperature difference values within the first time period from the first moment to the second moment. The flow of the hot water equipment can be calculated through a related mathematical scheme, a flow sensor is replaced, the reliability of the hot water equipment is effectively improved, and meanwhile the cost can be saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent control technology, and in particular to a flow calculation method for a water heating device, a water heating device and a computer-readable storage medium. Background Art

[0002] The water inlet of the water heater is usually equipped with a flow sensor, which can measure the amount of water entering the water heater, thereby helping the water heater to control the flow and temperature of the water, ensuring that users can get a stable water temperature and sufficient water volume when using hot water. However, the use of sensors may fail and there are reliability issues. Summary of the invention

[0003] The present application provides a flow calculation and control method for a water heating device, a water heating device and a computer-readable storage medium.

[0004] The flow calculation method of the hot water device in the embodiment of the present application includes:

[0005] When a water pump of the water heater is turned on, obtaining a first temperature difference between a water outlet and a water inlet of the water heater;

[0006] When the first temperature difference satisfies a first preset condition, controlling the heating element of the water heater to start so as to heat the water flowing into the water heater, recording the first moment of starting the heating element, and obtaining a second temperature difference between the water outlet and the water inlet at intervals of a first predetermined time after starting;

[0007] When the second temperature difference satisfies a second preset condition, controlling the heating element to stop heating;

[0008] After the heating stops, obtaining a third temperature difference between the water outlet and the water inlet at intervals of a second predetermined time, and recording a second time when the third temperature difference satisfies a third preset condition when the third temperature difference satisfies a third preset condition;

[0009] The flow rate of the water heater is calculated according to a plurality of the second temperature differences and a plurality of the third temperature differences in a first time period from the first moment to the second moment.

[0010] Thus, in the flow calculation method of the embodiment of the present application, when the water pump of the hot water device is turned on, the start or shut down of the heating element of the hot water device can be controlled by the difference change between the water outlet and the water inlet of the hot water device, and the flow of the hot water device can be calculated accordingly. The embodiment of the present application can calculate the flow of the hot water device through a related mathematical scheme, replacing the flow sensor, effectively improving the reliability of the hot water device, and saving costs.

[0011] In some embodiments, when the first temperature difference satisfies a first preset condition, controlling the heating element of the water heater to start to heat the incoming water flowing into the water heater includes:

[0012] When the first temperature difference is less than or equal to the first preset temperature difference, it is determined that the first preset condition is met.

[0013] In this way, when the water pump of the hot water device is turned on, it can be determined whether the temperature difference between the water outlet and the water inlet of the hot water device meets the first preset condition, so as to control the start-up of the heating element of the hot water device.

[0014] In some embodiments, when the second temperature difference satisfies a second preset condition, controlling the heating element to stop heating includes:

[0015] When the second temperature difference is greater than or equal to the second preset temperature difference, it is determined that the second preset condition is met.

[0016] In this way, when the water pump of the hot water equipment is turned on and the heating element is in the heating state, it can be determined whether the temperature difference between the water outlet and the water inlet of the hot water equipment meets the second preset condition, so as to control the heating element of the hot water equipment to stop heating.

[0017] In certain embodiments, the method further comprises:

[0018] When the second temperature difference does not satisfy a second preset condition, the heating power of the heating element is adjusted.

[0019] In this way, in order to subsequently calculate the power of the heating element and obtain the energy consumption result, when the second temperature difference does not meet the second preset condition, the heating power of the heating element is adjusted so that the second temperature difference meets the second preset condition, so as to control the heating element of the hot water equipment to stop heating.

[0020] In some embodiments, when the third temperature difference satisfies a third preset condition, recording the second moment satisfying the third preset condition comprises:

[0021] When the third temperature difference is less than or equal to the third preset temperature difference, it is determined that the third preset condition is satisfied.

[0022] In this way, after the hot water equipment stops, it can be determined whether there is residual hot water in the inner tank of the hot water equipment based on whether the temperature difference between the water outlet and the water inlet of the hot water equipment meets the third preset condition, so that the water flow rate can be subsequently calculated based on the power and energy consumption of the heating element.

[0023] In certain embodiments, the method further comprises:

[0024] Recording a third moment when the second temperature difference satisfies a second preset condition;

[0025] The energy consumption of the heating element in a second time period from the first moment to the third moment is calculated according to the heating power of the heating element.

[0026] In this way, the energy consumption of the heating element during operation can be calculated according to the heating power of the heating element, so as to subsequently calculate the water flow rate.

[0027] In some embodiments, the calculating the flow rate of the water heater according to the plurality of second temperature differences and the plurality of third temperature differences in the first time period from the first moment to the second moment includes:

[0028] The flow rate is calculated according to the power consumption of the heating element, the duration of the first time period, a plurality of the second temperature difference values, and a plurality of the third temperature difference values.

[0029] In this way, the flow of the water heater can be calculated based on the power consumption of the heating element and multiple second temperature differences and multiple third temperature differences in the first time period, without the need to set up a separate flow sensor, which saves costs and improves the reliability of the water heater.

[0030] In certain embodiments, the method further comprises:

[0031] Determining the error degree of the current flow calculation according to the plurality of the second temperature difference values ​​and the plurality of the third temperature difference values;

[0032] In the case where the error degree of the current flow calculation is less than the error degree of the historical flow calculation, the current flow calculation result is adopted, and the historical flow calculation result is updated;

[0033] When the error degree of the current flow calculation is greater than or equal to the error degree of the historical flow calculation, the historical flow calculation result is adopted.

[0034] In this way, the flow rate of the water heater can be calculated according to the multiple second temperature difference values ​​and the multiple third temperature difference values ​​in the first time period, and the historical flow rate calculation results can be updated to reduce the error of the flow rate calculation as much as possible.

[0035] The control method of the water heater of the embodiment of the present application includes:

[0036] Calculate the flow rate of the hot water device based on any of the flow rate calculation methods described above;

[0037] The heating power of the water heater is determined according to the flow rate, the water inlet temperature of the water heater, and the target temperature set by the user.

[0038] In this way, the heating power of the water heater can be determined according to the flow rate calculated by the flow rate calculation method based on the implementation mode of the present application, the water inlet temperature of the water heater and the target temperature set by the user.

[0039] The water heater of the embodiment of the present application includes a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the flow calculation method of the water heater is implemented.

[0040] The computer-readable storage medium of the embodiment of the present application stores a computer program, and when the computer program is executed by one or more processors, the flow calculation method of the above-mentioned water heating device is implemented.

[0041] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0043] Figure 1 It is a flow chart of a method for calculating the flow rate of a hot water device in certain embodiments of the present application;

[0044] Figure 2 is a schematic diagram of a module of a flow calculation device for a water heater in certain embodiments of the present application;

[0045] Figure 3 It is a schematic diagram of temperature change of a flow rate calculation method of a hot water device in certain embodiments of the present application;

[0046] Figure 4 is a schematic diagram of a module of a flow calculation device for a water heater in certain embodiments of the present application;

[0047] Figure 5 It is a flow chart of a method for calculating the flow rate of a hot water device in certain embodiments of the present application;

[0048] Figure 6 is a schematic diagram of a module of a flow calculation device for a water heater in certain embodiments of the present application;

[0049] Figure 7 It is a flow chart of a method for calculating the flow rate of a hot water device in certain embodiments of the present application;

[0050] Figure 8 is a schematic diagram of temperature changes in a flow rate calculation method for a water heater in certain embodiments of the present application;

[0051] Fig. 9 It is a flow chart of a method for calculating the flow rate of a hot water device in certain embodiments of the present application;

[0052] Fig.10 It is a flow chart of a control method of a water heater in certain embodiments of the present application;

[0053] Fig.11 It is a module schematic diagram of a control device of a water heating device in certain embodiments of the present application. DETAILED DESCRIPTION

[0054] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.

[0055] A flow sensor is usually installed at the water inlet of the water heater. The flow sensor can measure the amount of water entering the water heater, thereby helping the water heater control the flow and temperature of the water, ensuring that users can get a stable water temperature and sufficient water volume when using hot water. Since the flow sensor may fail, using a flow sensor to measure the water flow may reduce the overall reliability of the water heater.

[0056] Based on the above problems you may encounter, please refer to Figure 1 The present application embodiment provides a flow calculation method for a hot water device, the method comprising:

[0057] 0101: When a water pump of the hot water device is turned on, obtaining a first temperature difference between a water outlet and a water inlet of the hot water device;

[0058] 0102: When the first temperature difference satisfies the first preset condition, control the heating element of the water heater to start so as to heat the water flowing into the water heater, record the first moment when the heating element is started, and obtain the second temperature difference between the water outlet and the water inlet at every first predetermined time interval after the start;

[0059] 0103: When the second temperature difference satisfies a second preset condition, controlling the heating element to stop heating;

[0060] 0104: after the heating stops, obtaining a third temperature difference between the water outlet and the water inlet at intervals of a second predetermined time, and recording a second moment when the third preset condition is met when the third temperature difference meets the third preset condition;

[0061] 0105: Calculate the flow rate of the hot water device according to a plurality of second temperature differences and a plurality of third temperature differences in a first time period from a first moment to a second moment.

[0062] See also Figure 2 , the embodiment of the present application provides a flow calculation device 100, and the flow calculation device 100 includes an acquisition module 101, a control module 102, a recording module 103 and a calculation module 104. The flow calculation method of the water heater of the embodiment of the present application can be implemented by the flow calculation device 100 of the embodiment of the present application. Specifically, when the water pump of the water heater is turned on, the acquisition module 101 is used to obtain the first temperature difference between the water outlet and the water inlet of the water heater. When the first temperature difference meets the first preset condition, the control module 102 is used to control the heating element of the water heater to start to heat the incoming water flowing into the water heater, the recording module 103 is used to record the first moment when the heating element starts, and the acquisition module 101 is used to obtain the second temperature difference between the water outlet and the water inlet at every first predetermined time interval after starting. When the second temperature difference meets the second preset condition, the control module 102 is used to control the heating element to stop heating. After the heating stops, the acquisition module 101 is used to acquire the third temperature difference between the water outlet and the water inlet at intervals of a second predetermined time, and the recording module 103 is used to record the second moment that satisfies the third preset condition when the third temperature difference satisfies the third preset condition. The calculation module 104 is used to calculate the flow rate of the hot water device according to the multiple second temperature differences and the multiple third temperature differences in the first time period from the first moment to the second moment.

[0063] The embodiment of the present application provides a water heater, and the water heater includes a memory and a processor. The flow calculation method of the water heater of the embodiment of the present application can be implemented by the water heater of the embodiment of the present application. Specifically, a computer program is stored in the memory, and the processor is used to obtain the first temperature difference between the water outlet and the water inlet of the water heater when the water pump of the water heater is turned on, and when the first temperature difference meets the first preset condition, control the heating element of the water heater to start to heat the water flowing into the water heater, record the first moment when the heating element is started, and obtain the second temperature difference between the water outlet and the water inlet at intervals of a first predetermined time after the start, and when the second temperature difference meets the second preset condition, control the heating element to stop heating, and after the heating stops, obtain the third temperature difference between the water outlet and the water inlet at intervals of a second predetermined time, and when the third temperature difference meets the third preset condition, record the second moment that meets the third preset condition, and calculate the flow of the water heater according to multiple second temperature differences and multiple third temperature differences in the first time period from the first moment to the second moment.

[0064] Specifically, the water heater of the embodiment of the present application may include a gas wall-mounted heating furnace, etc. The embodiment of the present application uses the change of the temperature difference between the water outlet and the water inlet in the water heater to calculate the flow rate of the water heater. First, when the water pump of the water heater is turned on, the temperature difference between the water outlet and the water inlet of the water heater can be obtained, that is, the first temperature difference. After obtaining the first temperature difference, the value of the first temperature difference needs to be compared with the first preset condition. Among them, the first preset condition can be: the water outlet temperature and the water inlet temperature of the water heater are basically equal. In actual operation, for example, the temperature of both is less than 1°C, which can be considered to meet the condition. When the water pump of the water heater is turned on, if the first temperature difference does not meet the above-mentioned first preset condition, it indicates that the temperature of the water outlet and the water inlet of the water heater is not equal, which indicates that there is hot water residue in the inner tank of the water heater, and the remaining hot water needs to be discharged through the water pump. When the first temperature difference meets the first preset condition, the heating element of the water heater can be controlled to start to heat the water flowing into the water heater.

[0065] When the heating element of the hot water equipment is started, the start-up time is recorded as the first time, and the second temperature difference between the water outlet and the water inlet is obtained at every first predetermined time interval after the start-up. Among them, the first predetermined time period needs to be appropriately selected, generally taking the time period in which the temperature difference between the water outlet and the water inlet can change significantly, and should not be set too short or too long. If the first predetermined time period is set too short, it will result in the inability to measure the change in the temperature difference between the water outlet and the water inlet, and if the first predetermined time period is set too long, it may not reflect the change in the temperature difference between the water outlet and the water inlet during this period, and it will also cause a waste of thermal energy resources. When the heating element of the hot water equipment is started, the measured temperature difference between the water outlet and the water inlet is the second temperature difference.

[0066] When the second temperature difference satisfies the second preset condition, the heating element of the hot water equipment can be controlled to stop heating the water flowing into the hot water equipment. Since the temperature measuring element in the hot water equipment has a systematic error, the error is about ±0.5℃ or ±1℃, and the setting of the second preset condition should satisfy the effect of the above systematic error as small as possible. For example, assuming that the error is 1℃ and the temperature rise is 10℃, then the accuracy is 90%, and the second preset condition can be "the difference between the outlet temperature and the inlet temperature of the hot water equipment is more than 10℃". Then, when the temperature difference between the outlet temperature and the inlet temperature of the hot water equipment reaches 10℃, the heating element is controlled to stop heating.

[0067] After the heating element stops heating, the third temperature difference between the water outlet and the water inlet is obtained at every second predetermined time interval, and when the third temperature difference satisfies the third preset condition, the second moment when the third preset condition is satisfied is recorded. After obtaining the third temperature difference, the value of the third temperature difference needs to be compared with the set third preset condition. Among them, the third preset condition can be: the water outlet temperature and the water inlet temperature of the hot water equipment are approximately equal. For the approximately equal conditions, please refer to the relevant explanations in the aforementioned first preset condition, which will not be repeated here. Reaching the third preset condition means that the water outlet temperature and the water inlet temperature have reached an equal state again, and the time at this time is recorded as the second moment.

[0068] like Figure 3 The figure shows the change of heating power, water inlet temperature and water outlet temperature over time during the execution of the flow calculation method of a hot water device. Among them, t0 is the first moment, t1 is the moment when the heating element stops heating, and t2 is the second moment. It can be inferred from the broken line in the figure that during the period of time when the heating is stopped, the water outlet temperature is still higher than the water inlet temperature. It should be noted that in the actual heating process, constant power or variable power heating methods are both possible, and are not limited here. Figure 3 The temperature curve in the constant power heating mode is shown in FIG.

[0069] Finally, the flow rate of the water heater can be calculated according to the multiple second temperature differences and the multiple third temperature differences obtained in the first time period from the first moment to the second moment. It can be understood that the water heater can be replaced by the water flow sensor installed at the water inlet of the water heater by using this calculation method, which can save costs and reduce the probability of damage during the period, thereby improving the reliability of the water heater.

[0070] In summary, in the calculation method of the embodiment of the present application, when the water pump of the hot water device is turned on, the start or shut down of the heating element of the hot water device can be controlled by obtaining the difference between the water outlet and the water inlet of the hot water device, and the flow rate of the hot water device can be calculated accordingly. The embodiment of the present application can calculate the flow rate of the hot water device through relevant mathematical schemes, replacing the flow sensor, effectively improving the reliability of the hot water device, and saving costs.

[0071] In some embodiments, step 02 includes:

[0072] When the first temperature difference is less than or equal to the first preset temperature difference, it is determined that the first preset condition is satisfied.

[0073] See also Figure 4 In some embodiments, the control device 100 further includes a confirmation module 105. The confirmation module 105 is used to determine that the first preset condition is satisfied when the first temperature difference is less than or equal to the first preset temperature difference.

[0074] In some embodiments, the processor is configured to determine that the first preset condition is satisfied when the first temperature difference is less than or equal to the first preset temperature difference.

[0075] Specifically, when the water pump of the hot water equipment is turned on, a first temperature difference can be obtained to represent the temperature difference between the water outlet and the water inlet of the hot water equipment. Since satisfying the first preset condition means that the temperature difference between the water outlet and the water inlet of the hot water equipment is approximately equal, it is necessary to set the first preset temperature difference that satisfies the first preset condition. The first preset temperature difference can be set according to the system error of the temperature measuring element in the hot water equipment. The error is about ±0.5℃ or ±1℃. The value of the first preset temperature difference can be selected within this error range, and the specific value is not limited. For example, when the first preset temperature difference is selected as 0.5℃, the first preset condition can be understood as "the temperature difference between the water outlet and the water inlet of the hot water equipment is less than or equal to 0.5℃". That is, when the first temperature difference is less than or equal to the first preset temperature difference, it is determined that the first preset condition is satisfied.

[0076] In this way, when the water pump of the hot water device is turned on, it can be determined whether the temperature difference between the water outlet and the water inlet of the hot water device meets the first preset condition, so as to control the start-up of the heating element of the hot water device.

[0077] In some embodiments, step 03 includes:

[0078] When the second temperature difference is greater than or equal to the second preset temperature difference, it is determined that the second preset condition is satisfied.

[0079] In some embodiments, the confirmation module 105 is configured to determine that the second preset condition is satisfied when the second temperature difference is greater than or equal to the second preset temperature difference.

[0080] In some embodiments, the processor is configured to determine that a second preset condition is satisfied when the second temperature difference is greater than or equal to a second preset temperature difference.

[0081] Specifically, the second temperature difference between the water outlet and the water inlet at each first predetermined time interval after the heating element of the water heater is started can be recorded. Since the second preset condition is met, it means that the temperature difference between the water outlet and the water inlet of the water heater is a specific value, and the specific value needs to be set, that is, the second preset temperature difference. The value of the second preset temperature difference can be set according to the system error of the temperature measuring element in the water heater. Since the error is about ±0.5℃ or ±1℃, when the value of the second preset temperature difference is large, the error ratio is small and the accuracy is higher. For example, assuming that the error is 1℃ and the temperature increase is 10℃, the accuracy is 90%; similarly, assuming that the error is 1℃ and the temperature increase is 15℃, the accuracy is 94%. The second preset temperature difference can select the larger value of 15℃ to constitute the second preset condition, that is, "the difference between the water outlet temperature and the water inlet temperature of the water heater is greater than or equal to 15℃". The selection of the value of the second preset temperature difference needs to ensure that the influence of the system error of the temperature measuring element in the water heater is small. When this condition is met, the specific value of the second preset temperature difference is not limited here. That is, when the second temperature difference is greater than or equal to the second preset temperature difference, it is determined that the second preset condition is satisfied.

[0082] In this way, when the water pump of the hot water equipment is turned on and the heating element is in the heating state, it can be determined whether the temperature difference between the water outlet and the water inlet of the hot water equipment meets the second preset condition, so as to control the heating element of the hot water equipment to stop heating.

[0083] In certain embodiments, see Figure 5 , the method further comprises:

[0084] 0106: When the second temperature difference does not satisfy the second preset condition, adjust the heating power of the heating element.

[0085] See also Figure 6 In some embodiments, the control device 100 further includes an adjustment module 106. The adjustment module 106 is configured to adjust the heating power of the heating element when the second temperature difference does not satisfy the second preset condition.

[0086] In some embodiments, the processor is configured to adjust the heating power of the heating element when the second temperature difference does not satisfy a second preset condition.

[0087] Specifically, the second temperature difference between the water outlet and the water inlet at each first predetermined time interval after the heating element of the water heater is started can be recorded. In order to subsequently calculate the power of the heating element and obtain the energy consumption result, it is necessary to set the value of the second preset temperature difference that satisfies the second preset condition, so that when the second temperature difference is greater than or equal to the second preset temperature difference, it is determined that the second preset condition is satisfied, so as to control the heating element of the water heater to stop heating.

[0088] It can be understood that when the second temperature difference does not meet the second preset condition, it is necessary to adjust the heating power of the water heater heating element so that the difference between the water outlet temperature and the water inlet temperature becomes larger and reaches the second preset temperature difference. Since meeting the second preset condition requires that the second temperature difference is greater than or equal to the second preset temperature difference, the direction of adjusting the heating power of the water heater heating element is to increase the heating power of the heating element so that the water in the inner tank of the water heater can absorb more energy within a certain period of time, and finally achieve the second preset temperature difference to meet the second preset condition.

[0089] In this way, in order to subsequently calculate the power of the heating element and obtain the energy consumption result, when the second temperature difference does not meet the second preset condition, the heating power of the heating element is adjusted so that the second temperature difference meets the second preset condition, so as to control the heating element of the hot water equipment to stop heating.

[0090] In some embodiments, step 04 includes:

[0091] When the third temperature difference is less than or equal to the third preset temperature difference, it is determined that the third preset condition is satisfied.

[0092] In some embodiments, the confirmation module 105 is configured to determine that the third preset condition is satisfied when the third temperature difference is less than or equal to the third preset temperature difference.

[0093] In some embodiments, the processor is configured to determine that a third preset condition is satisfied when the third temperature difference is less than or equal to a third preset temperature difference.

[0094] Specifically, after the heating stops, the third temperature difference between the water outlet and the water inlet at each interval of the first predetermined time length. Since the third preset condition is satisfied, it means that the hot water in the inner tank of the water heater has been drained, and there is no residual hot water, and the temperature difference between the water outlet and the water inlet of the water heater is roughly equal, it is necessary to set the third preset temperature difference that satisfies the third preset condition. The setting of the third preset temperature difference can refer to the setting of the first preset temperature difference, that is, it can be set according to the system error of the temperature measuring element in the water heater, and the error is about ±0.5℃ or ±1℃, then the value of the third preset temperature difference can be selected within this error range, and the specific value is not limited. For example, when the first preset temperature difference is selected as 0.5℃, the third preset condition can be understood as "the temperature difference between the water outlet and the water inlet of the water heater is less than or equal to 0.5℃". That is, when the third temperature difference is less than or equal to the third preset temperature difference, it is determined that the third preset condition is satisfied.

[0095] In this way, after the hot water equipment stops, it can be determined whether there is residual hot water in the inner tank of the hot water equipment based on whether the temperature difference between the water outlet and the water inlet of the hot water equipment meets the third preset condition, so that the water flow rate can be subsequently calculated based on the power and energy consumption of the heating element.

[0096] In certain embodiments, see Figure 7 , the method further comprises:

[0097] 0107: Record the third moment when the second temperature difference meets the second preset condition;

[0098] 0108: Calculate the energy consumption of the heating element in a second time period from the first moment to the third moment according to the heating power of the heating element.

[0099] In some embodiments, the recording module 103 is used to record the third moment when the second temperature difference meets the second preset condition, and the calculation module 104 is used to calculate the energy consumption of the heating element in the second time period from the first moment to the third moment based on the heating power of the heating element.

[0100] In some embodiments, the processor is used to record a third moment when the second temperature difference satisfies a second preset condition, and calculate the energy consumption of the heating element in a second time period from the first moment to the third moment based on the heating power of the heating element.

[0101] Specifically, after the heating power of the heating element is adjusted, the second temperature difference can meet the second preset condition. The moment when the condition is met can be recorded as the third moment.

[0102] Furthermore, after obtaining the third moment, the heating element of the water heater is in working state from the first moment when the heating element is started to the third moment when the second temperature difference satisfies the second preset condition, and the time when the heating element is in working state is recorded as the second time period. Then, the energy consumption of the heating element in the second time period can be calculated according to the heating power of the heating element. For example, t0 represents the first moment and t1 represents the third moment, then the energy consumption W of the heating element in the second time period can be expressed by the following integral:

[0103]

[0104] Wherein, P is the heating power of the heating element.

[0105] like Figure 8 As shown, for the heating process shown in the figure, the heating power is 1000W for 0-60 seconds; one minute later, the second temperature difference does not reach the second preset temperature difference, and the heating power is increased to 2000W; at the 120th second, the heating is stopped, and exactly at the 180th second, the difference between the outlet temperature and the inlet temperature is less than the third preset temperature difference.

[0106] The process can be integrated to obtain the power consumption, that is, the energy consumption of the heating element in the second time period:

[0107] W 电 =∫0 180 Pdt=1000×60+2000×60=18000(J)

[0108] In this way, the energy consumption of the heating element during operation can be calculated according to the heating power of the heating element, so as to subsequently calculate the water flow rate.

[0109] In some embodiments, step 05 includes:

[0110] The flow rate is calculated based on the power consumption of the heating element, the duration of the first time period, the plurality of second temperature differences, and the plurality of third temperature differences.

[0111] In some embodiments, the calculation module 104 is configured to calculate the flow rate according to the power consumption of the heating element, the duration of the first time period, the plurality of second temperature differences, and the plurality of third temperature differences.

[0112] In some embodiments, the processor is configured to calculate the flow rate based on the power consumption of the heating element, the duration of the first time period, the plurality of second temperature differences, and the plurality of third temperature differences.

[0113] Specifically, according to the foregoing content, the first time period can be defined as the time from the first moment when the heating element is started to the second moment when the third preset condition is met. The first time period includes the entire process of the software calculating the water flow rate, that is, the entire process from when the temperature difference between the water outlet and the water inlet of the hot water device is roughly equal, to when the heating element starts heating, stops heating and releases heat, and the temperature difference between the water outlet and the water inlet becomes roughly equal again. In one example, t0 represents the first moment, t2 represents the second moment, and the first time period is (t2–t0).

[0114] Starting from the first moment, after the heating element is started, the second temperature difference between the water outlet and the water inlet is obtained at every first predetermined time interval, and after the heating is stopped, the third temperature difference between the water outlet and the water inlet is obtained at every first predetermined time interval. The second temperature difference and the third temperature difference can be recorded as ΔT. Under ideal conditions, ΔT is the water outlet temperature T from t0 to t2. out and water inlet temperature T in The average value of the difference between the two. At this time, according to the power consumption of the heating element, the following formula can be used:

[0115] W=K×F×(T out -T in )×(t2-t0)

[0116] (Formula 2)

[0117] Calculate the value of water flow F. Among them, the value of proportional coefficient K in my country's 220V power grid is K=70.

[0118] Then the energy consumption W in the first time period can also be expressed as the following integral:

[0119]

[0120] Since the energy consumption of the heating element in the second time period is the same as that in the first time period, the energy consumption W is used to combine the above (Formula 1) and (Formula 3), and the value of the flow rate F can be calculated.

[0121] In this way, the flow of the water heater can be calculated based on the power consumption of the heating element and multiple second temperature differences and multiple third temperature differences in the first time period, without the need to set up a separate flow sensor, which saves costs and improves the reliability of the water heater.

[0122] In certain embodiments, see Fig. 9 , the method further comprises:

[0123] 0109: Determine the error degree of the current flow calculation according to the plurality of second temperature differences and the plurality of third temperature differences;

[0124] 0110: When the error degree of the current flow calculation is less than the error degree of the historical flow calculation, the current flow calculation result is adopted and the historical flow calculation result is updated;

[0125] 0111: When the error degree of the current flow calculation is greater than or equal to the error degree of the historical flow calculation, the historical flow calculation result is used.

[0126] In some embodiments, the confirmation module 105 is used to determine the degree of error in the current flow calculation based on multiple second temperature differences and multiple third temperature differences, and when the error degree of the current flow calculation is less than the error degree of the historical flow calculation, use the current flow calculation result and update the historical flow calculation result, and when the error degree of the current flow calculation is greater than or equal to the error degree of the historical flow calculation, use the historical flow calculation result.

[0127] In certain embodiments, the processor is used to determine the degree of error in the current flow calculation based on multiple second temperature differences and multiple third temperature differences, and when the degree of error in the current flow calculation is less than the degree of error in the historical flow calculation, use the current flow calculation result and update the historical flow calculation result, and when the degree of error in the current flow calculation is greater than or equal to the degree of error in the historical flow calculation, use the historical flow calculation result.

[0128] Specifically, in the process of calculating the flow rate of the hot water equipment provided in the embodiment of the present application, the value of the power P used is derived from the real-time voltage of the power grid. Therefore, in areas where the peak and valley fluctuations of the power grid are relatively large, the fluctuations of the power grid caused by changes in peak and low electricity consumption periods will affect the actual value of power P, thereby causing errors in the calculation of the flow rate F.

[0129] Since the calculation error caused by the fluctuation of the power grid is a systematic error, the data can be updated regularly during actual use. That is, this calculation is based on the last measurement data, and the next calculation is based on the current measurement data. In order to minimize the calculation error, the specific update method includes: when the error degree of the current flow calculation is less than the error degree of the historical flow calculation, the current flow calculation result is adopted, and the historical flow calculation result is updated; when the error degree of the current flow calculation is greater than or equal to the error degree of the historical flow calculation, the historical flow calculation result is adopted. For example, assuming that the third temperature difference in the temperature measurement process is 1°C, and the second temperature difference obtained by the current power calculation is 10°C, then the accuracy is 90%; when the flow calculation is performed again, the third temperature difference in the temperature measurement process is still 1°C, and the second temperature difference obtained by the next power calculation is 15°C, then the accuracy is 94%, then it is necessary to replace the original flow value with the value of the subsequent flow calculation as the result of the data update.

[0130] In this way, the flow rate of the water heater can be calculated according to the multiple second temperature difference values ​​and the multiple third temperature difference values ​​in the first time period, and the historical flow rate calculation results can be updated to reduce the error of the flow rate calculation as much as possible.

[0131] In certain embodiments, see Fig.10 The present application provides a control method for a water heater, based on any of the above flow calculation methods, including:

[0132] 0201: Calculate the flow rate of hot water equipment;

[0133] 0202: Determine the heating power of the hot water equipment based on the flow rate, the water inlet temperature of the hot water equipment, and the target temperature set by the user.

[0134] See also Fig.11 The embodiment of the present application also provides a control device 200 for a water heater, and the control device 200 includes a calculation module 201 and a confirmation module 202. The control method of the water heater of the embodiment of the present application can be implemented by the control device 200 of the embodiment of the present application. Specifically, the calculation module 201 is used to calculate the flow rate of the water heater, and the confirmation module 202 is used to determine the heating power of the water heater according to the flow rate, the water inlet temperature of the water heater, and the target temperature set by the user.

[0135] In some embodiments, the processor is used to calculate the flow rate of the water heater, and determine the heating power of the water heater according to the flow rate, the water inlet temperature of the water heater, and the target temperature set by the user.

[0136] Specifically, the control method of the embodiment of the present application is based on the flow calculation method of the above embodiment. For the flow calculation related content, please refer to the explanation of the relevant part of the above embodiment, which will not be repeated here. After calculating the flow of the water heater according to the above flow calculation method, the heating power of the water heater can be determined based on the flow calculation result, the temperature of the water inlet of the water heater, and the target temperature set by the user. Specifically, it can be calculated by the following formula:

[0137] P = K × F × (Tset-Tin)

[0138] Among them, the value of the proportional coefficient K in my country's 220V power grid is K=70, F is the calculated flow rate, Tset is the target temperature set by the user, and Tin is the water inlet temperature.

[0139] In this way, the heating power of the water heater can be determined according to the flow rate calculated by the flow rate calculation method based on the implementation mode of the present application, the water inlet temperature of the water heater and the target temperature set by the user.

[0140] The embodiment of the present application also provides a computer-readable storage medium storing a computer program, which, when executed by one or more processors, implements the method for calculating and controlling the flow rate of the water heater.

[0141] In the description of this specification, the descriptions with reference to the terms "specifically", "further", "particularly", "understandably", etc. are intended to mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not intended to refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0142] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0143] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A flow calculation method for a hot water device, characterized in that: include: When a water pump of the water heater is turned on, obtaining a first temperature difference between a water outlet and a water inlet of the water heater; When the first temperature difference satisfies a first preset condition, controlling the heating element of the water heater to start so as to heat the water flowing into the water heater, recording the first moment of starting the heating element, and obtaining a second temperature difference between the water outlet and the water inlet at intervals of a first predetermined time after starting; When the second temperature difference satisfies a second preset condition, controlling the heating element to stop heating; After the heating stops, obtaining a third temperature difference between the water outlet and the water inlet at intervals of a second predetermined time, and recording a second time when the third temperature difference satisfies a third preset condition when the third temperature difference satisfies a third preset condition; The flow rate of the water heater is calculated according to a plurality of the second temperature differences and a plurality of the third temperature differences in a first time period from the first moment to the second moment.

2. The method according to claim 1, characterized in that When the first temperature difference satisfies a first preset condition, controlling the heating element of the water heater to start to heat the incoming water flowing into the water heater comprises: When the first temperature difference is less than or equal to the first preset temperature difference, it is determined that the first preset condition is met.

3. The method according to claim 1, characterized in that When the second temperature difference satisfies a second preset condition, controlling the heating element to stop heating comprises: When the second temperature difference is greater than or equal to the second preset temperature difference, it is determined that the second preset condition is met.

4. The method according to claim 1, characterized in that: The method further comprises: When the second temperature difference does not satisfy a second preset condition, the heating power of the heating element is adjusted.

5. The method according to claim 1, characterized in that When the third temperature difference satisfies a third preset condition, recording a second moment satisfying the third preset condition comprises: When the third temperature difference is less than or equal to the third preset temperature difference, it is determined that the third preset condition is satisfied.

6. The method according to claim 1, characterized in that The method further comprises: Recording a third moment when the second temperature difference satisfies a second preset condition; The energy consumption of the heating element in a second time period from the first moment to the third moment is calculated according to the heating power of the heating element.

7. The method according to claim 6, characterized in that The calculating the flow rate of the water heater according to the plurality of second temperature differences and the plurality of third temperature differences in the first time period from the first moment to the second moment comprises: The flow rate is calculated according to the power consumption of the heating element, the duration of the first time period, a plurality of the second temperature difference values, and a plurality of the third temperature difference values.

8. The method according to claim 6, characterized in that The method further comprises: Determining the error degree of the current flow calculation according to the plurality of the second temperature difference values ​​and the plurality of the third temperature difference values; In the case where the error degree of the current flow calculation is less than the error degree of the historical flow calculation, the current flow calculation result is adopted, and the historical flow calculation result is updated; When the error degree of the current flow calculation is greater than or equal to the error degree of the historical flow calculation, the historical flow calculation result is adopted.

9. A method for controlling a hot water device, characterized in that: include: Calculating the flow rate of the hot water device based on the flow rate calculation method according to any one of claims 1 to 8; The heating power of the water heater is determined according to the flow rate, the water inlet temperature of the water heater, and the target temperature set by the user.

10. A water heater, characterized in that: The water heater comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the method according to any one of claims 1 to 9.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, the method according to any one of claims 1 to 9 is implemented.