Temperature abnormality processing method, system, water heater and medium for water heater
By obtaining the water inlet measurement temperature and calculating the thermal load of the abnormality, and adjusting the gas proportional valve to control the water outlet temperature, the problem of the water heater temperature sensor not working normally when the water heater temperature sensor is abnormal, and the water outlet temperature is stable to reach the set temperature.
Patent Information
- Application Number
- CN202211046997.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-30
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2042-08-30
AI Technical Summary
In the prior art, when the water heater's outlet temperature sensor or inlet temperature sensor is abnormal, the water heater cannot work normally, resulting in the water use experience being affected.
By obtaining the previous inlet measurement temperature of the abnormality as the initial inlet temperature, the thermal load is calculated based on the setting of the outlet temperature and the water flow, and the gas proportional valve is controlled based on the relationship between the heat load and the proportional valve current, and the outlet temperature is adjusted to the set temperature. .
When the inlet temperature sensor or outlet temperature sensor is abnormal, the water heater can still work normally, and the outlet temperature can reach the set temperature to ensure the stability and quality of the water use.
Smart Images

Figure CN115406119B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of water heaters, and in particular to a method and system for processing abnormal temperature of a water heater, a water heater and a medium. Background Art
[0002] In a water heater, the temperature sensors used to detect the outlet and inlet water temperatures are very important. Any abnormality in any of the temperature sensors will cause a shutdown failure, resulting in the water heater not being able to work properly, thus affecting the user's water experience. Summary of the invention
[0003] The technical problem to be solved by the present disclosure is to overcome the defect in the prior art that the water heater cannot work normally when the outlet water temperature sensor or the inlet water temperature sensor is abnormal, and to provide a temperature abnormality processing method, system, water heater and medium for the water heater.
[0004] The present invention solves the above technical problems through the following technical solutions:
[0005] According to a first aspect of the present disclosure, a method for processing temperature anomalies of a water heater is provided. The water heater includes a water inlet temperature sensor and a water outlet temperature sensor. The method for processing temperature anomalies of the water heater includes:
[0006] When the water inlet temperature sensor is abnormal, obtaining the water inlet temperature measured before the water inlet temperature sensor is abnormal as the initial water inlet temperature;
[0007] Calculating a first heat load based on the initial water inlet temperature, the set water outlet temperature and the water flow rate;
[0008] Controlling the proportional valve current of the gas proportional valve based on the first heat load and a preset heat load function relationship; wherein the heat load function relationship is a corresponding relationship between the heat load of the water heater and the proportional valve current;
[0009] Obtaining the outlet water measurement temperature of the outlet water temperature sensor;
[0010] When the temperature difference between the measured outlet water temperature and the set outlet water temperature is greater than a first preset value, the proportional valve current is adjusted so that the measured outlet water temperature reaches the set outlet water temperature.
[0011] Preferably, after the step of adjusting the proportional valve current so that the measured outlet water temperature reaches the set outlet water temperature, the step further includes:
[0012] When the time duration for which the outlet water measured temperature maintains a temperature change value lower than a second preset value reaches a first preset time duration, obtaining a current proportional valve current of the gas proportional valve;
[0013] determining a second thermal load based on the current proportional valve current and the thermal load function relationship;
[0014] calculating a first water inlet calculated temperature based on the second heat load, the water outlet measured temperature and the water flow rate;
[0015] The first calculated water inlet temperature is updated to a new initial water inlet temperature, and the new initial water inlet temperature is used as the initial water inlet temperature for calculating the first heat load next time.
[0016] Preferably, the method for handling abnormal temperature of the water heater further includes:
[0017] When the outlet water temperature sensor is abnormal, obtaining a first inlet water measurement temperature of the inlet water temperature sensor;
[0018] Calculate a third heat load based on the first measured water inlet temperature, the set water outlet temperature and the water flow rate;
[0019] The proportional valve current is controlled based on the third heat load and the heat load function relationship so that the actual outlet water temperature reaches the set outlet water temperature.
[0020] Preferably, when the water heater has a zero cold water function, the step of controlling the proportional valve current based on the third heat load and the heat load function relationship so that the actual outlet water temperature reaches the set outlet water temperature further includes:
[0021] When the water heater stops heating, the circulation pump is started to control the water outlet of the water heater to flow into the water inlet end;
[0022] Acquire a second water inlet measurement temperature of the water inlet temperature sensor;
[0023] When the second inlet water measured temperature keeps the temperature change value lower than the third preset value for a second preset time period, obtaining the second inlet water measured temperature with the maximum temperature value within the second preset time period as the second inlet water calculated temperature;
[0024] Calculating a compensation temperature based on the second calculated water inlet temperature and the set water outlet temperature; wherein the compensation temperature = the set water outlet temperature - the second calculated water inlet temperature;
[0025] The compensation temperature is compensated to the set water outlet temperature to obtain a new set water outlet temperature, and the new set water outlet temperature is used as the set water outlet temperature for calculating the third heat load next time.
[0026] According to a second aspect of the present disclosure, a temperature anomaly processing system for a water heater is provided, wherein the water heater comprises a water inlet temperature sensor and a water outlet temperature sensor, and the temperature anomaly processing system for the water heater comprises a first acquisition module, a first calculation module, a first control module, a second acquisition module and an adjustment module:
[0027] The first acquisition module is used for acquiring the measured water inlet temperature before the water inlet temperature sensor becomes abnormal as the initial water inlet temperature when the water inlet temperature sensor becomes abnormal;
[0028] The first calculation module is used to calculate the first heat load based on the initial water inlet temperature, the set water outlet temperature and the water flow rate;
[0029] The first control module is used to control the proportional valve current of the gas proportional valve based on the first heat load and a preset heat load function relationship; wherein the heat load function relationship is a corresponding relationship between the heat load of the water heater and the proportional valve current;
[0030] The second acquisition module is used to obtain the outlet water measurement temperature of the outlet water temperature sensor;
[0031] The regulating module is used to regulate the proportional valve current when the temperature difference between the measured outlet water temperature and the set outlet water temperature is greater than a first preset value, so that the measured outlet water temperature reaches the set outlet water temperature.
[0032] Preferably, the temperature anomaly processing system of the water heater further includes a third acquisition module, a determination module, a second calculation module and a first update module:
[0033] The third acquisition module is used to acquire the current proportional valve current of the gas proportional valve when the time duration for which the outlet water measured temperature maintains a temperature change value lower than the second preset value reaches a first preset time duration;
[0034] The determination module is used to determine a second heat load based on the current proportional valve current and the heat load function relationship;
[0035] The second calculation module is used to calculate the first water inlet calculation temperature based on the second heat load, the water outlet measured temperature and the water flow rate;
[0036] The first updating module is used to update the first calculated water inlet temperature to a new initial water inlet temperature, and use the new initial water inlet temperature as the initial water inlet temperature for calculating the first heat load next time.
[0037] Preferably, the temperature anomaly processing system of the water heater further includes a fourth acquisition module, a third calculation module and a second control module:
[0038] The fourth acquisition module is used for acquiring the first inlet water measurement temperature of the inlet water temperature sensor when the outlet water temperature sensor is abnormal;
[0039] The third calculation module is used to calculate the third heat load based on the first measured water inlet temperature, the set water outlet temperature and the water flow rate;
[0040] The second control module is used to control the proportional valve current based on the third heat load and the heat load function relationship so that the actual water outlet temperature reaches the set water outlet temperature.
[0041] Preferably, when the water heater has a zero cold water function, the temperature anomaly processing system of the water heater further includes a third control module, a fifth acquisition module, a sixth acquisition module, a fourth calculation module and a second update module:
[0042] The third control module is used to start the circulation pump to control the water outlet of the water heater to flow into the water inlet end when the water heater stops heating;
[0043] The fifth acquisition module is used to acquire the second inlet water measurement temperature of the inlet water temperature sensor;
[0044] The sixth acquisition module is used for acquiring the second inlet water measured temperature with the largest temperature value within the second preset time period as the second inlet water calculated temperature when the second inlet water measured temperature keeps the temperature change value lower than the third preset value for a second preset time period;
[0045] The fourth acquisition module is used to calculate the compensation temperature based on the second water inlet calculated temperature and the set water outlet temperature; wherein the compensation temperature = the set water outlet temperature - the second water inlet calculated temperature;
[0046] The second updating module is used to compensate the compensation temperature to the set water outlet temperature to obtain a new set water outlet temperature, and use the new set water outlet temperature as the set water outlet temperature for calculating the third heat load next time.
[0047] According to a third aspect of the present disclosure, a water heater is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the control method of the gas water heater of the present invention when executing the computer program.
[0048] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the temperature abnormality processing method of the water heater of the present disclosure is implemented.
[0049] The positive and progressive effects of this disclosure are:
[0050] When the water inlet temperature sensor is abnormal, the heat load is calculated based on the water inlet temperature, set temperature and water flow before the water inlet temperature sensor is abnormal, and the corresponding proportional valve current is found based on the relationship between the heat load and the proportional valve current. After heating the hot water, the proportional valve current is adjusted to finally make the outlet water temperature reach the set temperature; when the outlet water temperature sensor is abnormal, the heat load is calculated based on the current water inlet temperature, set temperature and water flow of the water inlet temperature sensor, and then the proportional valve current is controlled to heat the hot water according to the heat load, so that when the temperature sensor is abnormal, the water heater can still work normally and the performance is equivalent to that before the temperature sensor is abnormal. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 This is a structural diagram of a water heater provided by the present invention.
[0052] Figure 2 It is a flowchart of the method for handling temperature anomaly of a water heater according to Embodiment 1 of the present disclosure.
[0053] Figure 3 A curve diagram showing the thermal load of a water heater and the proportional valve current provided by the present disclosure.
[0054] Figure 4 It is a flowchart of the method for handling temperature anomaly of a water heater according to Embodiment 2 of the present disclosure.
[0055] Figure 5 It is a flowchart of the method for handling temperature anomaly of a water heater according to Embodiment 3 of the present disclosure.
[0056] Figure 6 It is a flowchart of the method for handling temperature anomaly of a water heater according to Embodiment 4 of the present disclosure.
[0057] Figure 7 It is a flowchart of the method for handling temperature anomaly of a water heater according to Embodiment 5 of the present disclosure.
[0058] Figure 8 This is a schematic diagram of the structure of the temperature anomaly processing system of the water heater of Example 6 of the present disclosure.
[0059] Fig. 9 This is a structural schematic diagram of the temperature anomaly processing system of the water heater of Example 7 of the present disclosure.
[0060] Fig.10 This is a structural schematic diagram of the temperature anomaly processing system of the water heater of Example 8 of the present disclosure.
[0061] Fig.11 This is a schematic diagram of the structure of a water heater according to Embodiment 9 of the present disclosure. DETAILED DESCRIPTION
[0062] The present disclosure is further described below by way of examples, but the present disclosure is not limited to the scope of the examples.
[0063] Example 1
[0064] This embodiment provides a method for processing temperature anomalies of a water heater. The method for processing temperature anomalies of a water heater is used to solve the situation where an abnormality occurs in the water inlet temperature sensor of the water heater, such as Figure 1 As shown, the water heater includes an inlet water temperature sensor 1, an outlet water temperature sensor 2 and a gas proportional valve 3, wherein the inlet water temperature sensor 1 is used to obtain the inlet water temperature of the water heater in real time, the outlet water temperature sensor 2 is used to obtain the outlet water temperature of the water heater in real time, and the gas proportional valve 3 is used to change the gas quantity.
[0065] See also Figure 2 The method for handling abnormal temperature of the water heater comprises the following steps:
[0066] S11. When an abnormality occurs in the water inlet temperature sensor, the water inlet temperature measured before the abnormality occurs in the water inlet temperature sensor is obtained as the initial water inlet temperature.
[0067] As an optional implementation, after turning on the water heater, the water inlet temperature sensor can be tested by professional testing equipment to determine whether there is an abnormality in the water inlet temperature sensor. As another optional implementation, it can also be judged by the detection value of the water inlet temperature sensor. For example, a maximum water inlet temperature threshold and a minimum water inlet temperature threshold of the water inlet temperature sensor are set. When the detection value of the water inlet temperature sensor is greater than the maximum water inlet temperature threshold or the detection value is less than the minimum water inlet temperature threshold, it is considered that the detection value is abnormal, and then the water inlet temperature sensor is judged to be abnormal.
[0068] When the water inlet temperature sensor is abnormal, the water inlet temperature before the water inlet temperature sensor is abnormal can be used as the initial water inlet temperature. In this embodiment, the initial water inlet temperature can refer to the value normally detected before the water inlet temperature sensor is abnormal during the current water use of the water heater. At this time, the sensor has just become abnormal, and the water inlet temperature value at this time actually does not change much. In addition, the initial water inlet temperature can also refer to the water inlet temperature value of the most recent normal water use stored in the history of the water heater, and it is temporarily used as the water inlet temperature value of the current water heater water use.
[0069] S12, calculating the first heat load based on the initial water inlet temperature, the set water outlet temperature and the water flow rate.
[0070] Among them, the set water outlet temperature can be a temperature set by the user, or it can be the required water outlet temperature value automatically calculated by the water heater according to the ambient temperature. The water flow rate refers to the water inlet flow rate, which can be detected by a flow sensor set at the water inlet end.
[0071] As an optional implementation, by substituting the initial water inlet temperature, the set water outlet temperature and the water flow rate into the calculation formula of the heat load, the first heat load P1=kq(Tset-Tinitial) can be obtained, wherein k is a constant, q is the water inlet flow rate, Tset is the set water outlet temperature, and Tinitial is the initial water inlet temperature.
[0072] S13, controlling the proportional valve current of the gas proportional valve based on the first heat load and a preset heat load function relationship.
[0073] The heat load function relationship is the corresponding relationship between the heat load of the water heater and the current of the proportional valve. In this embodiment, when other conditions, such as water volume and air volume, remain unchanged, the way to control the heat load is to control the gas volume, that is, the opening of the gas proportional valve. The opening of the gas proportional valve corresponds to the heat load one by one, and the opening of the proportional valve is related to the driving current of the proportional valve. Therefore, the corresponding relationship between the proportional valve current and the heat load can be measured in advance.
[0074] As an optional implementation, by analyzing the proportional valve current and heat load of the gas proportional valve, a curve diagram corresponding to the heat load of the water heater and the proportional valve current is obtained. Figure 3 shown.
[0075] Among them, the unit of thermal load is W, and the unit of proportional valve current is mA. It can be seen that the thermal load increases with the increase of proportional valve current. At the same time, as the proportional valve current increases, the change trend of the thermal load gradually decreases, so that when heated to a certain degree, the error of the thermal load corresponding to the proportional valve current is not large.
[0076] As an optional implementation, after calculating the first heat load, the corresponding proportional valve current is found in a curve diagram corresponding to the heat load and the proportional valve current, so as to control the water heater to heat hot water according to the first heat load.
[0077] S14: Obtain the outlet water measurement temperature of the outlet water temperature sensor.
[0078] First, it should be noted that the present embodiment assumes by default that the water inlet temperature sensor is abnormal and the water outlet temperature sensor is normal. If both the water outlet temperature sensors are abnormal, the steps after step S13 are not performed.
[0079] S15. When the temperature difference between the measured outlet water temperature and the set outlet water temperature is greater than a first preset value, the proportional valve current is adjusted so that the measured outlet water temperature reaches the set outlet water temperature.
[0080] In this embodiment, although the change between the initial water inlet temperature and the actual water inlet temperature will not be too large, there is still a certain error, which may have a greater impact on the actual water outlet temperature. As an optional implementation method, the actual water outlet temperature value (i.e., the measured water outlet temperature) is detected by a water outlet temperature sensor, and the proportional valve current is slightly adjusted according to the difference between the set water outlet temperature and the measured water outlet temperature, so that the measured water outlet temperature finally reaches the set water outlet temperature.
[0081] As an optional implementation, the first preset value can be set according to actual needs. For example, assuming that the first preset value is 2°C and the outlet water temperature is set to 45°C, when the outlet water measured temperature is within the range of 45°C to 47°C, there is no need to adjust the proportional valve current, that is, the water heater can continue to work with the existing parameters. Assuming that the outlet water measured temperature is 40°C and the difference between the two is 5°C, which is greater than the first preset value of 2°C, the proportional valve current is controlled to increase the water temperature.
[0082] In this embodiment, when the water inlet temperature sensor is abnormal, the water heater can still work normally. The heat load is calculated by the water inlet temperature, set temperature and water flow rate before the water inlet temperature sensor is abnormal, and the corresponding proportional valve current is found based on the relationship between the heat load and the proportional valve current. After heating the hot water, the proportional valve current is adjusted to finally make the water outlet temperature reach the set temperature. The temperature abnormality control method for the water heater provided in this embodiment can obtain an actual water outlet temperature close to the set water outlet temperature when facing the water inlet temperature abnormality, thereby meeting the user's water demand.
[0083] Example 2
[0084] This embodiment provides a method for handling abnormal temperature of a water heater. The method for handling abnormal temperature of a water heater is a further optimization of Embodiment 1. Figure 4 , after step S15, continue to execute step S16. Specifically, it includes the following steps:
[0085] S16. When the time duration during which the outlet water measured temperature maintains a temperature change value lower than the second preset value reaches the first preset time duration, the current proportional valve current of the gas proportional valve is obtained.
[0086] In this embodiment, after the measured outlet water temperature reaches the set outlet water temperature and stabilizes, the proportional valve current value at this time (ie, the current proportional valve current of the gas proportional valve) is recorded.
[0087] As an optional implementation, if the second preset value is set to 2°C and the first preset time is 1 minute, when the temperature change value of the outlet water measurement temperature is less than or equal to 2°C for more than one minute, it means that the outlet water measurement temperature is stable. Of course, this embodiment is not limited to the above parameters and can be set according to actual needs.
[0088] S17: Determine a second thermal load based on a functional relationship between the current proportional valve current and the thermal load.
[0089] As an optional implementation, after the current proportional valve current is recorded, the corresponding thermal load (ie, the second thermal load) is found in a curve chart corresponding to the thermal load and the proportional valve current.
[0090] S18. Calculate a first water inlet calculated temperature based on the second heat load, the water outlet measured temperature and the water flow rate.
[0091] According to the calculation formula of heat load, when the heat load and the outlet water temperature are known, the calculation formula of the inlet water temperature can be inferred, thereby obtaining the actual inlet water temperature value. As an optional implementation, the second heat load, the outlet water measured temperature and the water flow rate are substituted into the calculation formula of the inlet water temperature to obtain the first inlet water calculation temperature. Where k is a constant, q is the water flow rate, T 出 is the outlet water temperature, and P2 is the second heat load.
[0092] S19, updating the first calculated water inlet temperature to a new initial water inlet temperature, and using the new initial water inlet temperature as the initial water inlet temperature for calculating the first heat load next time.
[0093] As an optional implementation, the user can stop during continuous water use, and when turning on the water heater again, use the first calculated water inlet temperature as the detection value of the water inlet temperature sensor (i.e., the initial water inlet temperature), so that the actual water outlet temperature directly reaches the set water outlet temperature.
[0094] In this embodiment, the corresponding proportional valve current is obtained through the water outlet temperature, and then the corresponding heat load is obtained through the relationship between the proportional valve current and the heat load, and finally the actual water inlet temperature value is updated. Therefore, when the water heater is turned on next time, the actual water outlet temperature close to the set water outlet temperature can be obtained more quickly, thereby improving the user's water use experience.
[0095] Example 3
[0096] The present embodiment provides a method for processing temperature anomalies of a water heater, and the method for processing temperature anomalies of a water heater is used to solve the situation where an abnormality occurs in a water outlet temperature sensor of the water heater.
[0097] See also Figure 5 The method for handling abnormal temperature of the water heater comprises the following steps:
[0098] S21. When an abnormality occurs in the water outlet temperature sensor, a first water inlet measurement temperature of the water inlet temperature sensor is obtained.
[0099] As an optional implementation, after turning on the water heater, the water outlet temperature sensor can be tested by professional testing equipment to determine whether there is an abnormality in the water outlet temperature sensor. As another optional implementation, it can also be judged by the detection value of the water outlet temperature sensor. For example, a maximum water outlet temperature threshold and a minimum water outlet temperature threshold of the water outlet temperature sensor are set. When the detection value of the water outlet temperature sensor is greater than the maximum water outlet temperature threshold or the detection value is less than the minimum water outlet temperature threshold, it is considered that the detection value is abnormal, and then it is considered that the water outlet temperature sensor is abnormal.
[0100] It should be noted that this embodiment assumes by default that the water inlet temperature sensor is normal and the water outlet temperature sensor is abnormal. If the water inlet temperature sensor is abnormal at the same time, step S11 in embodiment 1 is followed.
[0101] In this embodiment, when the inlet water flow rate is stable, the detection value of the inlet water temperature sensor is obtained as the first inlet water measurement temperature.
[0102] S22: Calculate a third heat load based on the first measured water inlet temperature, the set water outlet temperature and the water flow rate.
[0103] As an optional implementation, the first water inlet temperature, the set water outlet temperature and the water flow rate are substituted into the heat load calculation formula to obtain the third heat load P3=kq(T 设 -T 测 ), where k is a constant, q is the water flow rate, T 设 To set the outlet water temperature, T 测 Measure the temperature of the first inlet water.
[0104] S23. Based on the third heat load and the heat load function relationship, control the proportional valve current so that the actual outlet water temperature reaches the set outlet water temperature.
[0105] As an optional implementation, after calculating the third heat load, the corresponding proportional valve current is found in the curve diagram corresponding to the heat load and the proportional valve current, so as to control the water heater to heat hot water according to the third heat load. Since the first inlet water measurement temperature is the actual inlet water temperature value, the actual outlet water temperature obtained after heating the hot water according to the third heat load is close to the set outlet water temperature.
[0106] It should be noted that when there is only a water inlet temperature sensor, the current water outlet temperature cannot be finely adjusted, so the heat load function relationship can only be used to control the heat load and then the water outlet temperature.
[0107] In this embodiment, when the outlet water temperature sensor is abnormal, the heat load is calculated by the current inlet water temperature of the inlet water temperature sensor, the set temperature and the water flow rate, and then the proportional valve current is controlled to heat the hot water according to the heat load. The corresponding functional relationship between the heat load and the proportional valve can be obtained by cyclic testing in the experiment, thereby ensuring that the obtained heat load functional relationship is more reliable, and then a more accurate heat load can be obtained by controlling the proportional valve current. The temperature abnormality control method of the water heater provided in this embodiment can obtain an actual outlet water temperature close to the set outlet water temperature when facing an abnormal outlet water temperature, thereby meeting the user's water demand.
[0108] Example 4
[0109] This embodiment provides a method for handling temperature anomalies of a water heater, which is a further optimization of Embodiment 3. When the water heater has a zero cold water function, the water heater can stop heating after the water heater is finished working, start a circulation pump to control the outlet water of the water heater to flow into the water inlet, and detect the outlet water temperature through the water inlet temperature sensor. Figure 1 As shown, the water heater further comprises a circulation pump 4, and the circulation pump 4 is used for circulating the outflowing water through the water inlet end.
[0110] See also Figure 6 , after step S23, continue to execute step S24. Specifically, it includes the following steps:
[0111] S24. When the water heater stops heating, the circulation pump is started to control the water outlet of the water heater to flow into the water inlet.
[0112] If it is a water heater with a zero cold water function, when the water heater is finished being used, the heating is turned off, and the circulation pump 4 is controlled to be turned on, so that the outlet water at this time can flow into the water inlet end through circulation.
[0113] S25. Obtain a second water inlet measurement temperature of the water inlet temperature sensor.
[0114] For ease of understanding, the outflow water flowing into the water inlet end is regarded as the second inflow water, and the measured temperature of the second inflow water is equivalent to the temperature value of the outflow water.
[0115] S26. When the second inlet water measured temperature keeps the temperature change value lower than the third preset value for a second preset time period, the second inlet water measured temperature with the maximum temperature value within the second preset time period is obtained as the second inlet water calculated temperature.
[0116] In this embodiment, when the outlet water flows into the water inlet end, the detection value of the water inlet temperature sensor will change according to a parabola that first rises and then decreases. In the process of the water temperature gradually rising, the temperature change trend gradually becomes smaller. Therefore, if the temperature change value of the second water inlet measurement temperature is detected to be small for a second preset time period, it is determined that the second water inlet measurement temperature has reached the peak value at this time, and the maximum value detected can be used as the second water inlet temperature value, that is, the outlet water temperature value.
[0117] S27: Calculate a compensation temperature based on the second calculated water inlet temperature and the set water outlet temperature.
[0118] Among them, compensation temperature = set water outlet temperature - second water inlet calculated temperature.
[0119] S28, compensating the compensation temperature to the set water outlet temperature to obtain a new set water outlet temperature, and using the new set water outlet temperature as the set water outlet temperature for calculating the third heat load next time.
[0120] The set water outlet temperature is compensated by the water outlet temperature value detected by the water inlet temperature sensor, and the new set water outlet temperature = set water outlet temperature + compensation temperature. As an optional implementation, when the user turns on the water heater again, the new set water outlet temperature is used to calculate the heat load so that the actual water outlet temperature directly reaches the set water outlet temperature.
[0121] In this embodiment, if the water heater has a zero cold water function, the water outlet temperature value can be collected through the water inlet temperature sensor, and then the heat load compensation and calibration can be performed. When the water heater is turned on next time, the water outlet temperature after heating according to the heat load can be closer to the set water outlet temperature, thereby improving the user's water use experience.
[0122] Example 5
[0123] This embodiment provides a method for handling temperature anomalies of water heaters. The method for handling temperature anomalies of water heaters is a combination of the methods for handling temperature anomalies of water heaters of Embodiments 1, 2, 3 and 4.
[0124] like Figure 7 As shown, in the method for handling abnormal temperature of a water heater in this embodiment, step S10 is first performed, specifically:
[0125] S10, detecting whether the water inlet temperature sensor is abnormal.
[0126] When the judgment result of step S10 is yes, steps S11, S12, S13, S14 and S15 are the same as the description of the corresponding steps in Example 1, and S16, S17, S18 and S19 are the same as the description of the corresponding steps in Example 2.
[0127] When the judgment result of step S10 is no, step S20 is executed, specifically:
[0128] S20, detecting whether the water outlet temperature sensor is abnormal.
[0129] When the judgment result of step S20 is yes, steps S21, S22 and S23 are the same as the description of the corresponding steps in Example 3, and steps S24, S25, S26, S27 and S28 are the same as the description of the corresponding steps in Example 4.
[0130] When the judgment results of step S10 and step S20 are both negative, it indicates that the temperature sensor of the water heater is normal, and the hot water is heated in the working manner. At the same time, the detection value of the water inlet temperature sensor is pre-stored to prevent the water inlet temperature sensor from being abnormal.
[0131] As an optional implementation, this embodiment is not limited to the situation where the water inlet temperature sensor or the water outlet temperature sensor is abnormal, and can also be extended to the situation where the water heater only uses one of the temperature sensors.
[0132] It should be noted that although Figure 7 Although not directly shown, before obtaining the outlet water measurement temperature in step S14, a detection step of the outlet water temperature sensor is implicitly included.
[0133] In this embodiment, when the water inlet sensor or the water outlet sensor of the water heater is abnormal, the water heater can still work normally, and the performance is equivalent to that before the temperature sensor is abnormal, which does not affect the user's use and meets the user's water demand.
[0134] Example 6
[0135] This embodiment provides a temperature anomaly processing system for a water heater, which is used to solve the problem of an abnormality in the water inlet temperature sensor of the water heater, such as Figure 1 As shown, the water heater includes an inlet water temperature sensor 1, an outlet water temperature sensor 2 and a gas proportional valve 3, wherein the inlet water temperature sensor 1 is used to obtain the inlet water temperature of the water heater in real time, the outlet water temperature sensor 2 is used to obtain the outlet water temperature of the water heater in real time, and the gas proportional valve 3 is used to change the gas quantity.
[0136] See also Figure 8 The temperature anomaly processing system of the water heater includes a first acquisition module 11, a first calculation module 12, a first control module 13, a second acquisition module 14, an adjustment module 15, a third acquisition module 16, a determination module 17, a second calculation module 18 and a first update module 19.
[0137] The first acquisition module 11 is used for acquiring the last measured water inlet temperature before the water inlet temperature sensor becomes abnormal as the initial water inlet temperature when the water inlet temperature sensor becomes abnormal.
[0138] As an optional implementation, after turning on the water heater, the water inlet temperature sensor can be tested by professional testing equipment to determine whether there is an abnormality in the water inlet temperature sensor. As another optional implementation, it can also be judged by the detection value of the water inlet temperature sensor. For example, a maximum water inlet temperature threshold and a minimum water inlet temperature threshold of the water inlet temperature sensor are set. When the detection value of the water inlet temperature sensor is greater than the maximum water inlet temperature threshold or the detection value is less than the minimum water inlet temperature threshold, it is considered that the detection value is abnormal, and then the water inlet temperature sensor is judged to be abnormal.
[0139] When the water inlet temperature sensor is abnormal, the first acquisition module 11 uses the water inlet temperature before the abnormality occurs as the initial water inlet temperature. In this embodiment, the initial water inlet temperature may refer to the value normally detected by the water inlet temperature sensor before the abnormality occurs during the current water use of the water heater. At this time, the sensor has just become abnormal, and the water inlet temperature value at this time does not actually change much. In addition, the initial water inlet temperature may also refer to the water inlet temperature value of the most recent normal water use stored in the history of the water heater, and the first acquisition module 11 temporarily uses it as the water inlet temperature value of the current water heater water use.
[0140] The first calculation module 12 is used to calculate the first heat load based on the initial water inlet temperature, the set water outlet temperature and the water flow rate.
[0141] Among them, the set water outlet temperature can be a temperature set by the user, or it can be the required water outlet temperature value automatically calculated by the water heater according to the ambient temperature. The water flow rate refers to the water inlet flow rate, which can be detected by a flow sensor set at the water inlet end.
[0142] As an optional implementation, the first calculation module 12 substitutes the initial water inlet temperature, the set water outlet temperature and the water flow rate into the calculation formula of the heat load, and the first heat load P1=kq(T 设 -T 初 ), where k is a constant, q is the water flow rate, T 设 To set the outlet water temperature, T 初 is the initial inlet water temperature.
[0143] The first control module 13 is used to control the proportional valve current of the gas proportional valve based on the first heat load and a preset heat load function relationship.
[0144] The heat load function relationship is the corresponding relationship between the heat load of the water heater and the current of the proportional valve. In this embodiment, when other conditions, such as water volume and air volume, remain unchanged, the way to control the heat load is to control the gas volume, that is, the opening of the gas proportional valve. The opening of the gas proportional valve corresponds to the heat load one by one, and the opening of the proportional valve is related to the driving current of the proportional valve. Therefore, the corresponding relationship between the proportional valve current and the heat load can be measured in advance.
[0145] As an optional implementation, by analyzing the proportional valve current and heat load of the gas proportional valve, a curve diagram corresponding to the heat load of the water heater and the proportional valve current is obtained. Figure 3 shown.
[0146] Among them, the unit of thermal load is W, and the unit of proportional valve current is mA. It can be seen that the thermal load increases with the increase of proportional valve current. At the same time, in the process of increasing proportional valve current, the change trend of thermal load gradually becomes smaller, so that when heated to a certain degree, the error of thermal load corresponding to the proportional valve current controlled by the first control module 13 is not large.
[0147] As an optional implementation, after the first calculation module 12 calculates the first heat load, the first control module 13 finds the corresponding proportional valve current in the curve graph corresponding to the heat load and the proportional valve current, thereby controlling the water heater to heat hot water according to the first heat load.
[0148] The second acquisition module 14 is used to obtain the outlet water measurement temperature of the outlet water temperature sensor.
[0149] First, it should be noted that the present embodiment assumes by default that the water inlet temperature sensor is abnormal and the water outlet temperature sensor is normal. If both water outlet temperature sensors are abnormal, the modules after the first control module 13 are not called.
[0150] The regulating module 15 is used to regulate the proportional valve current when the temperature difference between the measured outlet water temperature and the set outlet water temperature is greater than a first preset value, so that the measured outlet water temperature reaches the set outlet water temperature.
[0151] In this embodiment, although the change between the initial water inlet temperature and the actual water inlet temperature will not be too large, there is still a certain error, which may have a greater impact on the actual water outlet temperature. As an optional implementation, the second acquisition module 14 detects the actual water outlet temperature value (i.e., the measured water outlet temperature) through the water outlet temperature sensor, and the adjustment module 15 makes small adjustments to the proportional valve current little by little according to the difference between the set water outlet temperature and the measured water outlet temperature, so as to finally make the measured water outlet temperature reach the set water outlet temperature.
[0152] As an optional implementation, the first preset value can be set according to actual needs. For example, assuming that the first preset value is 2°C and the outlet water temperature is set to 45°C, when the outlet water measured temperature is within the range of 45°C to 47°C, there is no need to adjust the proportional valve current, that is, the water heater can continue to work with the existing parameters. Assuming that the outlet water measured temperature is 40°C and the difference between the two is 5°C, which is greater than the first preset value of 2°C, the adjustment module 15 controls the proportional valve current to increase the water temperature.
[0153] The third acquisition module 16 is used to acquire the current proportional valve current of the gas proportional valve when the time duration during which the measured outlet water temperature maintains a temperature change value lower than a second preset value reaches a first preset time duration.
[0154] In this embodiment, after the measured outlet water temperature reaches the set outlet water temperature and stabilizes, the third acquisition module 16 records the proportional valve current value at this time (ie, the current proportional valve current of the gas proportional valve).
[0155] As an optional implementation, if the second preset value is set to 2°C and the first preset time is 1 minute, when the temperature change value of the outlet water measurement temperature is less than or equal to 2°C for more than one minute, it means that the outlet water measurement temperature is stable. Of course, this embodiment is not limited to the above parameters and can be set according to actual needs.
[0156] The determination module 17 is used to determine the second thermal load based on the functional relationship between the current proportional valve current and the thermal load.
[0157] As an optional implementation, after the third acquisition module 16 records the current proportional valve current, the determination module 17 finds the corresponding thermal load (ie, the second thermal load) in the curve graph corresponding to the thermal load and the proportional valve current.
[0158] The second calculation module 18 is used to calculate the first water inlet calculated temperature based on the second heat load, the water outlet measured temperature and the water flow rate.
[0159] According to the calculation formula of the heat load, when the heat load and the outlet water temperature are known, the second calculation module 18 can inversely deduce the calculation formula of the inlet water temperature, thereby obtaining the actual inlet water temperature value. As an optional implementation, the second calculation module 18 substitutes the second heat load, the outlet water measured temperature and the water flow into the calculation formula of the inlet water temperature to obtain the first inlet water calculation temperature. Where k is a constant, q is the water flow rate, T 出 is the outlet water temperature, and P2 is the second heat load.
[0160] The first updating module 19 is used to update the first calculated water inlet temperature to a new initial water inlet temperature, and use the new initial water inlet temperature as the initial water inlet temperature for the next calculation of the first heat load.
[0161] As an optional implementation, the user can stop during continuous water use, and when turning on the water heater again, the first acquisition module 11 uses the first calculated water inlet temperature as the detection value of the water inlet temperature sensor (i.e., the initial water inlet temperature), so that the actual water outlet temperature directly reaches the set water outlet temperature.
[0162] In this embodiment, when the water inlet temperature sensor is abnormal, the water heater can still work normally. The heat load is calculated by the water inlet temperature, set temperature and water flow rate before the water inlet temperature sensor is abnormal, and the corresponding proportional valve current is found based on the relationship between the heat load and the proportional valve current. After heating the hot water, the proportional valve current is adjusted to finally make the water outlet temperature reach the set temperature. The temperature abnormality control method for the water heater provided in this embodiment can obtain an actual water outlet temperature close to the set water outlet temperature when facing the water inlet temperature abnormality, thereby meeting the user's water demand.
[0163] In addition, the corresponding proportional valve current is obtained through the outlet water temperature, and then the corresponding heat load is obtained through the relationship between the proportional valve current and the heat load, and finally the actual water inlet temperature value is updated. Therefore, when the water heater is turned on next time, the actual water outlet temperature close to the set water outlet temperature can be obtained more quickly, thereby improving the user's water use experience.
[0164] Example 7
[0165] The present embodiment provides a temperature anomaly processing system for a water heater, and the temperature anomaly processing system for a water heater is used to solve the situation where an abnormality occurs in a water outlet temperature sensor of the water heater.
[0166] See also Fig. 9 The temperature anomaly processing system of the water heater includes a fourth acquisition module 21, a third calculation module 22, a second control module 23, a third control module 24, a fifth acquisition module 25, a sixth acquisition module 26, a fourth calculation module 27 and a second update module 28.
[0167] The fourth acquisition module 21 is used to acquire the first inlet water measurement temperature of the inlet water temperature sensor when an abnormality occurs in the outlet water temperature sensor.
[0168] As an optional implementation, after turning on the water heater, the water outlet temperature sensor can be tested by professional testing equipment to determine whether there is an abnormality in the water outlet temperature sensor. As another optional implementation, it can also be judged by the detection value of the water outlet temperature sensor. For example, a maximum water outlet temperature threshold and a minimum water outlet temperature threshold of the water outlet temperature sensor are set. When the detection value of the water outlet temperature sensor is greater than the maximum water outlet temperature threshold or the detection value is less than the minimum water outlet temperature threshold, it is considered that the detection value is abnormal, and then it is considered that the water outlet temperature sensor is abnormal.
[0169] It should be noted that this embodiment assumes by default that the water inlet temperature sensor is normal and the water outlet temperature sensor is abnormal. If the water inlet temperature sensor is abnormal at the same time, the first acquisition module 11 in Embodiment 6 is called.
[0170] In this embodiment, when the inlet water flow rate is stable, the fourth acquisition module 21 acquires the detection value of the inlet water temperature sensor as the first inlet water measurement temperature.
[0171] The third calculation module 22 is used to calculate the third heat load based on the first measured water inlet temperature, the set water outlet temperature and the water flow rate.
[0172] As an optional implementation, the third calculation module 22 substitutes the first water inlet measured temperature, the set water outlet temperature and the water flow rate into the calculation formula of the heat load, and the third heat load P3=kq(T 设 -T 测 ), where k is a constant, q is the water flow rate, T 设 To set the outlet water temperature, T 测 Measure the temperature of the first inlet water.
[0173] The second control module 23 is used to control the proportional valve current based on the third heat load and the heat load function relationship so that the actual outlet water temperature reaches the set outlet water temperature.
[0174] As an optional implementation, after the third calculation module 22 calculates the third heat load, the second control module 23 finds the corresponding proportional valve current in the curve corresponding to the heat load and the proportional valve current, thereby controlling the water heater to heat hot water according to the third heat load. Since the first inlet water measurement temperature is the actual inlet water temperature value, the actual outlet water temperature obtained after heating the hot water according to the third heat load is close to the set outlet water temperature.
[0175] It should be noted that when there is only a water inlet temperature sensor, the current water outlet temperature cannot be adjusted more precisely, so the second control module 23 can only use the heat load function relationship to control the heat load and thus control the water outlet temperature.
[0176] When the water heater has a zero cold water function, the water heater can stop heating after it finishes working, start the circulation pump to control the water outlet of the water heater to flow into the water inlet, and detect the temperature of the water outlet through the water inlet temperature sensor. Figure 1 As shown, the water heater further comprises a circulation pump 4, and the circulation pump 4 is used for circulating the outflowing water through the water inlet end.
[0177] The third control module 24 is used to start the circulation pump to control the water outlet of the water heater to flow into the water inlet end when the water heater stops heating.
[0178] If it is a water heater with a zero cold water function, when the water heater is finished being used, the third control module 24 turns off the heating and controls the circulation pump 4 to turn on, so that the outlet water at this time circulates and flows into the water inlet end.
[0179] The fifth acquisition module 25 is used to acquire a second inlet water measurement temperature of the inlet water temperature sensor.
[0180] For ease of understanding, the outflow water flowing into the water inlet end is regarded as the second inflow water, and the measured temperature of the second inflow water is equivalent to the temperature value of the outflow water.
[0181] The sixth acquisition module 26 is used to acquire the second inlet water measured temperature with the maximum temperature value within the second preset time period as the second inlet water calculated temperature when the second inlet water measured temperature maintains a temperature change value lower than the third preset value for a second preset time period.
[0182] In this embodiment, when the outlet water flows into the water inlet end, the detection value of the water inlet temperature sensor will change according to a parabola that first rises and then decreases. In the process of the water temperature gradually rising, the temperature change trend gradually becomes smaller. Therefore, if the temperature change value of the second water inlet measurement temperature is detected to be small for a second preset time period, it is determined that the second water inlet measurement temperature has reached the peak value at this time. The sixth acquisition module 26 can use the maximum value detected therein as the second water inlet temperature value, that is, the outlet water temperature value.
[0183] The fourth calculation module 27 is used to calculate the compensation temperature based on the second calculated water inlet temperature and the set water outlet temperature.
[0184] Among them, the compensation temperature = the set water outlet temperature - the second water inlet calculated temperature.
[0185] The second updating module 28 is used to compensate the compensation temperature to the set water outlet temperature to obtain a new set water outlet temperature, and use the new set water outlet temperature as the set water outlet temperature for the next calculation of the third heat load.
[0186] The second updating module 28 compensates the set water outlet temperature by the water outlet temperature value detected by the water inlet temperature sensor, and the new set water outlet temperature = set water outlet temperature + compensation temperature. As an optional implementation, when the user turns on the water heater again, the new set water outlet temperature is used to calculate the heat load so that the actual water outlet temperature directly reaches the set water outlet temperature.
[0187] In this embodiment, when the outlet water temperature sensor is abnormal, the heat load is calculated by the current inlet water temperature of the inlet water temperature sensor, the set temperature and the water flow rate, and then the proportional valve current is controlled to heat the hot water according to the heat load. The corresponding functional relationship between the heat load and the proportional valve can be obtained by cyclic testing in the experiment, thereby ensuring that the obtained heat load functional relationship is more reliable, and then a more accurate heat load can be obtained by controlling the proportional valve current. The temperature abnormality control method of the water heater provided in this embodiment can obtain an actual outlet water temperature close to the set outlet water temperature when facing an abnormal outlet water temperature, thereby meeting the user's water demand.
[0188] If the water heater has a zero cold water function, the outlet water temperature value can be collected through the water inlet temperature sensor, and then the heat load can be compensated and calibrated. When the water heater is turned on next time, the outlet water temperature after heating according to the heat load can be closer to the set outlet water temperature, thereby improving the user's water experience.
[0189] Example 8
[0190] This embodiment provides a temperature anomaly processing system for a water heater, which is a combination of the temperature anomaly processing systems for water heaters of Embodiment 6 and Embodiment 7.
[0191] like Fig.10 As shown, the temperature anomaly processing system of the water heater includes a first detection module 10, a first acquisition module 11, a first calculation module 12, a first control module 13, a second acquisition module 14, an adjustment module 15, a third acquisition module 16, a determination module 17, a second calculation module 18, a first update module 19, a second detection module 20, a fourth acquisition module 21, a third calculation module 22, a second control module 23, a third control module 24, a fifth acquisition module 25, a sixth acquisition module 26, a fourth calculation module 27 and a second update module 28.
[0192] The first detection module 10 is used to detect whether the water inlet temperature sensor is abnormal.
[0193] When the judgment result of the first detection module 10 is yes, the first acquisition module 11, the first calculation module 12, the first control module 13, the second acquisition module 14, the adjustment module 15, the third acquisition module 16, the determination module 17, the second calculation module 18 and the first update module 19 are the same as the description of the corresponding modules in Example 6.
[0194] When the judgment result of the first detection module 10 is negative, the second detection module 20 is called, specifically:
[0195] The second detection module 20 is used to detect whether the outlet water temperature sensor is abnormal.
[0196] When the judgment result of the second detection module 20 is yes, the fourth acquisition module 21, the third calculation module 22, the second control module 23, the third control module 24, the fifth acquisition module 25, the sixth acquisition module 26, the fourth calculation module 27 and the second update module 28 are the same as the description of the corresponding modules in Example 7.
[0197] When the judgment results of the first detection module 10 and the second detection module 20 are both negative, it means that the temperature sensor of the water heater is normal, and the hot water is heated in the working manner. At the same time, the detection value of the water inlet temperature sensor is pre-stored to prevent the water inlet temperature sensor from abnormal.
[0198] As an optional implementation, this embodiment is not limited to the situation where the water inlet temperature sensor or the water outlet temperature sensor is abnormal, and can also be extended to the situation where the water heater only uses one of the temperature sensors.
[0199] It should be noted that before the second acquisition module 14 acquires the outlet water measurement temperature, the second detection module 20 is implicitly called to detect the outlet water temperature sensor.
[0200] In this embodiment, when the water inlet sensor or the water outlet sensor of the water heater is abnormal, the water heater can still work normally, and the performance is equivalent to that before the temperature sensor is abnormal, which does not affect the user's use and meets the user's water demand.
[0201] Example 9
[0202] This embodiment provides a water heater. Fig.11 A structural schematic diagram of a water heater provided in this embodiment, the water heater includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the temperature anomaly processing method for the water heater in the above-mentioned embodiment 1, embodiment 2, embodiment 3, embodiment 4 or embodiment 5 is implemented. Fig.11 The water heater 30 shown is only an example and should not limit the functions and scope of use of the embodiments of the present invention. Fig.11 As shown, the water heater 30 may be in the form of a general computing device, for example, it may be a server device. The components of the water heater 30 may include but are not limited to: at least one processor 31, at least one memory 32, and a bus 33 connecting different system components (including the memory 32 and the processor 31).
[0203] The bus 33 includes a data bus, an address bus, and a control bus.
[0204] The memory 32 may include a volatile memory, such as a random access memory (RAM) 321 and / or a cache memory 322 , and may further include a read-only memory (ROM) 323 .
[0205] The memory 32 may also include a program tool 325 (or utility) having a set (at least one) of program modules 324, such program modules 324 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include an implementation of a network environment.
[0206] The processor 31 executes various functional applications and data processing by running the computer program stored in the memory 32, such as the temperature abnormality processing method of the water heater in the above-mentioned embodiment 1, embodiment 2, embodiment 3, embodiment 4 or embodiment 5.
[0207] The water heater 30 may also communicate with one or more external devices 34. Such communication may be performed via an input / output (I / O) interface 35. Furthermore, the model-generated water heater 30 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 36. Fig.11 As shown, the network adapter 36 communicates with other modules of the water heater 30 via the bus 33. It should be understood that although Fig.11 Not shown, other hardware and / or software modules may be used in conjunction with the water heater 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.
[0208] It should be noted that although several units / modules or sub-units / modules of the water heater are mentioned in the above detailed description, such division is merely exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more units / modules described above may be embodied in one unit / module. Conversely, the features and functions of one unit / module described above may be further divided to be embodied by multiple units / modules.
[0209] Example 10
[0210] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the temperature anomaly processing method of the water heater in the above-mentioned embodiment 1, embodiment 2, embodiment 3, embodiment 4 or embodiment 5 is implemented.
[0211] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0212] In a possible implementation, the present invention can also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of the temperature anomaly processing method for the water heater in the above-mentioned Example 1, Example 2, Example 3, Example 4 or Example 5.
[0213] Among them, the program code for executing the present invention can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0214] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.
Claims
1. A method for handling abnormal temperature of a water heater, characterized in that: The water heater comprises a water inlet temperature sensor and a water outlet temperature sensor, and the method for handling abnormal temperature of the water heater comprises: When the water inlet temperature sensor is abnormal, obtaining the water inlet temperature measured before the water inlet temperature sensor is abnormal as the initial water inlet temperature; Calculating a first heat load based on the initial water inlet temperature, the set water outlet temperature and the water flow rate; Controlling the proportional valve current of the gas proportional valve based on the first heat load and a preset heat load function relationship; wherein the heat load function relationship is a corresponding relationship between the heat load of the water heater and the proportional valve current; Obtaining the outlet water measurement temperature of the outlet water temperature sensor; When the temperature difference between the measured outlet water temperature and the set outlet water temperature is greater than a first preset value, adjusting the proportional valve current so that the measured outlet water temperature reaches the set outlet water temperature; When the outlet water temperature sensor is abnormal, obtaining a first inlet water measurement temperature of the inlet water temperature sensor; Calculate a third heat load based on the first measured water inlet temperature, the set water outlet temperature and the water flow rate; The proportional valve current is controlled based on the third heat load and the heat load function relationship so that the actual outlet water temperature reaches the set outlet water temperature.
2. The method for handling abnormal temperature of a water heater according to claim 1, characterized in that: After the step of adjusting the proportional valve current so that the measured outlet water temperature reaches the set outlet water temperature, the following step further comprises: When the time duration for which the outlet water measured temperature maintains a temperature change value lower than a second preset value reaches a first preset time duration, obtaining a current proportional valve current of the gas proportional valve; determining a second thermal load based on the current proportional valve current and the thermal load function relationship; calculating a first water inlet calculated temperature based on the second heat load, the water outlet measured temperature and the water flow rate; The first calculated water inlet temperature is updated to a new initial water inlet temperature, and the new initial water inlet temperature is used as the initial water inlet temperature for calculating the first heat load next time.
3. The method for handling abnormal temperature of a water heater according to claim 1, characterized in that: When the water heater has a zero cold water function, the step of controlling the proportional valve current based on the third heat load and the heat load function relationship so that the actual outlet water temperature reaches the set outlet water temperature further includes: When the water heater stops heating, the circulation pump is started to control the water outlet of the water heater to flow into the water inlet end; Acquire a second water inlet measurement temperature of the water inlet temperature sensor; When the second inlet water measured temperature keeps the temperature change value lower than the third preset value for a second preset time period, obtaining the second inlet water measured temperature with the maximum temperature value within the second preset time period as the second inlet water calculated temperature; Calculating a compensation temperature based on the second calculated water inlet temperature and the set water outlet temperature; wherein the compensation temperature = the set water outlet temperature - the second calculated water inlet temperature; The compensation temperature is compensated to the set water outlet temperature to obtain a new set water outlet temperature, and the new set water outlet temperature is used as the set water outlet temperature for calculating the third heat load next time.
4. A temperature abnormality processing system for a water heater, characterized in that: The water heater includes a water inlet temperature sensor and a water outlet temperature sensor, and the temperature anomaly processing system of the water heater includes a first acquisition module, a first calculation module, a first control module, a second acquisition module, a regulation module, a fourth acquisition module, a third calculation module and a second control module: The first acquisition module is used for acquiring the measured water inlet temperature before the water inlet temperature sensor becomes abnormal as the initial water inlet temperature when the water inlet temperature sensor becomes abnormal; The first calculation module is used to calculate the first heat load based on the initial water inlet temperature, the set water outlet temperature and the water flow rate; The first control module is used to control the proportional valve current of the gas proportional valve based on the first heat load and a preset heat load function relationship; wherein the heat load function relationship is a corresponding relationship between the heat load of the water heater and the proportional valve current; The second acquisition module is used to obtain the outlet water measurement temperature of the outlet water temperature sensor; The regulating module is used for regulating the proportional valve current so that the measured water outlet temperature reaches the set water outlet temperature when the temperature difference between the measured water outlet temperature and the set water outlet temperature is greater than a first preset value; The fourth acquisition module is used for acquiring the first inlet water measurement temperature of the inlet water temperature sensor when the outlet water temperature sensor is abnormal; The third calculation module is used to calculate the third heat load based on the first measured water inlet temperature, the set water outlet temperature and the water flow rate; The second control module is used to control the proportional valve current based on the third heat load and the heat load function relationship so that the actual water outlet temperature reaches the set water outlet temperature.
5. The temperature abnormality processing system of a water heater according to claim 4, characterized in that: The temperature anomaly processing system of the water heater further includes a third acquisition module, a determination module, a second calculation module and a first update module: The third acquisition module is used to acquire the current proportional valve current of the gas proportional valve when the time duration for which the outlet water measured temperature maintains a temperature change value lower than the second preset value reaches a first preset time duration; The determination module is used to determine a second heat load based on the current proportional valve current and the heat load function relationship; The second calculation module is used to calculate the first water inlet calculation temperature based on the second heat load, the water outlet measured temperature and the water flow rate; The first updating module is used to update the first calculated water inlet temperature to a new initial water inlet temperature, and use the new initial water inlet temperature as the initial water inlet temperature for calculating the first heat load next time.
6. The temperature abnormality processing system of a water heater according to claim 4, characterized in that: When the water heater has a zero cold water function, the temperature anomaly processing system of the water heater further includes a third control module, a fifth acquisition module, a sixth acquisition module, a fourth calculation module and a second update module: The third control module is used to start the circulation pump to control the water outlet of the water heater to flow into the water inlet end when the water heater stops heating; The fifth acquisition module is used to acquire the second inlet water measurement temperature of the inlet water temperature sensor; The sixth acquisition module is used for acquiring the second inlet water measured temperature with the largest temperature value within the second preset time period as the second inlet water calculated temperature when the second inlet water measured temperature keeps the temperature change value lower than the third preset value for a second preset time period; The fourth acquisition module is used to calculate the compensation temperature based on the second water inlet calculated temperature and the set water outlet temperature; wherein the compensation temperature = the set water outlet temperature - the second water inlet calculated temperature; The second updating module is used to compensate the compensation temperature to the set water outlet temperature to obtain a new set water outlet temperature, and use the new set water outlet temperature as the set water outlet temperature for calculating the third heat load next time.
7. A water heater, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the temperature abnormality processing method of the water heater according to any one of claims 1 to 3 is implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for handling abnormal temperature of a water heater according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Gas water heater
CN110617627A
Temperature control method and device for gas water heater and gas water heater
CN112524816A