Control method and device of gas water heater and gas water heater
By predicting the changes in the outlet water temperature of the gas water heater and adjusting the bypass ratio, the problem of temperature deviation when the water usage conditions of the gas water heater change is solved, and higher temperature control accuracy and stability are achieved.
Patent Information
- Application Number
- CN202611296609.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-25
- Publication Date
- 2026-11-27
AI Technical Summary
Existing gas water heaters have difficulty adjusting the outlet water temperature in a timely manner when water usage conditions change, resulting in temperature deviations and fluctuations.
By acquiring the current inlet water flow and temperature, the change in heat exchanger outlet water temperature is predicted, the target bypass ratio is determined, and the bypass ratio of the gas water heater is adjusted to match the actual operating conditions, thereby reducing the impact of sudden changes in water flow on the outlet water temperature.
It improves the accuracy and stability of constant temperature control of gas water heaters under varying water flow conditions, and reduces the deviation and fluctuation of outlet water temperature.
Smart Images

Figure CN123174756A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of hot water supply technology, specifically to a control method, device, and gas water heater for gas water heaters. Background Technology
[0002] During the actual operation of a gas water heater, the water supply status of the gas water heater will change due to factors such as changes in water usage conditions and water circuit operation, which will cause the actual outlet water temperature of the gas water heater to deviate from the set temperature.
[0003] In existing technologies, the bypass proportional valve of a gas water heater is usually controlled based on the detected changes in the outlet water temperature. This makes it difficult to adjust the outlet water temperature deviation in a timely manner, which in turn causes fluctuations in the outlet water temperature of the gas water heater. Summary of the Invention
[0004] This invention provides a control method, device, and gas water heater for gas water heaters, to solve the problem of difficulty in timely adjustment of outlet water temperature deviation, which leads to fluctuations in the outlet water temperature of gas water heaters.
[0005] In a first aspect, the present invention provides a control method for a gas water heater, comprising: Obtain the current inlet water flow rate and current inlet water temperature of the gas water heater; Determine the change in the required heat output of the gas water heater based on the current change in the inlet water flow rate; Based on the change in heat demand and the current inlet flow rate, the outlet water temperature of the heat exchanger is predicted after the change; the changed outlet water temperature is used to characterize the outlet water temperature after the change in the current inlet flow rate relative to the current outlet water temperature of the heat exchanger. Based on the changed outlet water temperature, the current inlet water temperature, and the set temperature of the gas water heater, determine the target bypass ratio of the gas water heater; Adjust the current bypass ratio of the gas water heater to the target bypass ratio.
[0006] The control method for a gas water heater provided in this embodiment determines the change in heat demand based on the change in the current inlet water flow rate, enabling early prediction of the degree of change in heat exchange demand under current water usage conditions. Furthermore, based on the change in heat demand and the current inlet water flow rate, it predicts the outlet water temperature after the change in heat exchanger temperature, allowing early determination of the trend in outlet water temperature caused by the change in inlet water flow rate. A target bypass ratio is determined based on the changed outlet water temperature, the current inlet water temperature, and the set temperature, ensuring that the determined target bypass ratio matches the actual operating conditions of the gas water heater. Adjusting the current bypass ratio to the target bypass ratio allows the bypass proportional valve to dynamically compensate and adjust according to the current water usage conditions, thereby reducing the impact of sudden changes in water flow rate on the overall outlet water temperature of the gas water heater, reducing overall outlet water temperature deviation and temperature fluctuations, and improving the constant temperature control accuracy and stability of the gas water heater under changing water flow conditions.
[0007] In one optional implementation, the process of determining the change in the current influent flow rate includes: Obtain the first inlet water flow rate of the gas water heater before the first duration; the first duration is not less than 2 seconds. Determine the change in the current inlet water flow rate of the gas water heater based on the current inlet water flow rate and the first inlet water flow rate.
[0008] The control method for a gas water heater provided in this embodiment obtains a stable first inlet water flow rate when there are short-term fluctuations in the inlet water flow rate, and calculates the change in the current inlet water flow rate of the gas water heater based on this. This ensures the stability and accuracy of the calculation of the change in the current inlet water flow rate, thereby improving the accuracy of the prediction of the outlet water temperature after the heat exchanger changes.
[0009] In one optional implementation, the process of determining the change in the current influent flow rate further includes: Obtain the second inlet water flow rate of the gas water heater corresponding to the second time period; Determine the flow difference between the current influent flow rate and the second influent flow rate; The product of the flow difference and the preset adjustment coefficient is used as the change in the current inlet water flow of the gas water heater; where the preset adjustment coefficient is between 0 and 1.
[0010] The control method for a gas water heater provided in this embodiment obtains the second inlet water flow rate corresponding to the gas water heater a second time period ago, and determines the flow difference based on the difference between the current inlet water flow rate and the second inlet water flow rate. This can reflect the instantaneous change characteristics of the inlet water flow rate, making the change in the current inlet water flow rate more timely and sensitive. By multiplying the flow difference with a preset adjustment coefficient to obtain the change in the current inlet water flow rate, the amplification effect of the change caused by short-term fluctuations or instantaneous disturbances in the inlet water flow rate can be suppressed, making the change in the current inlet water flow rate more stably represent the true flow change trend. This effectively avoids the over-response problem that occurs when calculating the subsequent demand heat and target bypass ratio based on the original flow difference, and reduces the frequent adjustment or back-and-forth correction of the bypass proportional valve, thereby improving the control stability and constant temperature control accuracy of the gas water heater under the condition of sudden flow changes.
[0011] In one optional implementation, determining the change in the gas water heater's required heat capacity based on the change in the current inlet water flow includes: Determine the temperature difference between the set temperature of the gas water heater and the current inlet water temperature; The product of the temperature difference and the change in the current influent flow rate is used as the change in heat demand.
[0012] The control method for a gas water heater provided in this embodiment determines the temperature difference between the set temperature of the gas water heater and the current inlet water temperature. The temperature difference is multiplied by the change in the current inlet water flow rate to obtain a change in the required heat load that can characterize the change in heat load caused by the change in the inlet water state. This change in required heat takes into account the change in inlet water flow rate, which can improve the constant temperature control accuracy and stability of the gas water heater under the condition of sudden change in inlet water flow rate.
[0013] In one optional implementation, predicting the changed outlet water temperature of the heat exchanger based on the change in demand for heat and the current inlet water flow rate includes: Based on the change in heat demand and the current inlet water flow, determine the overall outlet water temperature difference of the gas water heater under the change in the current inlet water flow. Based on the overall unit's outlet water temperature difference, predict the outlet water temperature after the heat exchanger changes.
[0014] The control method for a gas water heater provided in this embodiment determines the overall outlet water temperature difference under the influence of the change in the current inlet water flow rate by using the change in demand for heat and the current inlet water flow rate. This transforms the impact of the change in inlet water flow rate on the heat load demand of the gas water heater into a temperature parameter, thereby characterizing the trend of the overall outlet water temperature under the current water usage conditions. Furthermore, the outlet water temperature after the change in the heat exchanger is determined based on the overall outlet water temperature difference, so that the determined outlet water temperature after the change in the heat exchanger can reflect the impact of the change in the inlet water flow rate on the outlet water temperature of the heat exchanger, improving the accuracy of the outlet water temperature after the change in the heat exchanger, providing a more reliable prediction basis for the subsequent determination of the target bypass ratio, and reducing the outlet water temperature deviation and temperature fluctuation caused by sudden changes in the inlet water flow rate.
[0015] In one optional implementation, the overall outlet water temperature difference is obtained using the following formula:
[0016] in, For the overall water outlet temperature difference, This represents the change in heat demand. This represents the change in the current influent flow rate. The set temperature for the gas water heater. L represents the current inlet water temperature, and L represents the current inlet water flow rate.
[0017] The control method for a gas water heater provided in this embodiment determines the overall outlet water temperature difference by combining the change in demand for heat with the current inlet water flow rate. This method can convert the change in heat load caused by the change in the inlet water state into the corresponding change in the overall outlet water temperature, so that the overall outlet water temperature difference can reflect the degree of influence of the current flow rate change on the outlet water temperature.
[0018] In one optional implementation, predicting the outlet water temperature after a change in the heat exchanger based on the overall outlet water temperature difference includes: Obtain the reference bypass ratio of the gas water heater. The reference bypass ratio is used to characterize the bypass ratio before the current inlet water flow rate changes. Based on the reference bypass ratio and the overall outlet water temperature difference, the outlet water temperature after the heat exchanger change is determined.
[0019] The control method for a gas water heater provided in this embodiment obtains the reference bypass ratio of the gas water heater before the current inlet water flow changes, and can obtain the bypass mixing switch of the gas water heater before the change in water usage conditions, which can be used as a reference benchmark. Furthermore, based on the reference bypass ratio and the overall outlet water temperature difference, the outlet water temperature of the heat exchanger after the change can be determined. The overall outlet water temperature difference can be mapped to the outlet water side of the heat exchanger, thereby obtaining the predicted change result of the heat exchanger outlet water temperature under the action of the current inlet water flow change, so that the prediction result is more consistent with the actual operating conditions of the gas water heater.
[0020] In one optional implementation, the changed outlet water temperature of the heat exchanger is obtained by the following formula:
[0021] in, The outlet water temperature after the heat exchanger changes. The set temperature for the gas water heater. For the overall water outlet temperature difference, For reference, bypass ratio, This represents the current inlet water temperature.
[0022] The control method for a gas water heater provided in this embodiment can predict the outlet water temperature of the heat exchanger under the influence of the current change in inlet flow rate by using the above-mentioned formula for calculating the outlet water temperature after the change in heat exchanger. This allows the prediction result to reflect the influence of the change in inlet flow rate on the outlet water temperature of the heat exchanger, improves the accuracy of the outlet water temperature after the change in heat exchanger, provides a more reliable prediction basis for the subsequent determination of the target bypass ratio, and reduces the outlet water temperature deviation and temperature fluctuation caused by sudden changes in inlet flow rate.
[0023] In one optional implementation, predicting the changed outlet water temperature based on the overall outlet water temperature difference further includes: Get the current outlet water temperature of the heat exchanger; The current outlet water temperature of the heat exchanger is summed with the temperature difference between the outlet water of the whole unit to obtain the changed outlet water temperature of the heat exchanger.
[0024] The control method for gas water heaters provided in this embodiment sums the current outlet water temperature of the heat exchanger with the temperature difference of the outlet water of the whole unit. The current outlet water temperature of the heat exchanger can be used as a reference, and the outlet water temperature difference of the whole unit can be added to obtain the outlet water temperature after the change of the heat exchanger. This simplifies the temperature prediction process into incremental superposition calculation, thereby improving the calculation efficiency and the real-time control of the gas water heater.
[0025] In one optional implementation, the target bypass ratio of the gas water heater is determined based on the changed outlet water temperature, the current inlet water temperature, and the set temperature of the gas water heater, including: The difference between the changed outlet water temperature and the set temperature is determined as the first parameter, and the difference between the changed outlet water temperature and the current inlet water temperature is determined as the second parameter. Based on the proportional relationship between the first parameter and the second parameter, the target bypass ratio of the gas water heater is obtained.
[0026] The control method for a gas water heater provided in this embodiment determines the difference between the changed outlet water temperature and the set temperature as a first parameter, which can characterize the degree of deviation of the changed outlet water temperature from the set temperature; determines the difference between the changed outlet water temperature and the current inlet water temperature as a second parameter, which can characterize the temperature rise capability of the heat exchanger with the changed outlet water temperature relative to the current inlet water temperature of the gas water heater; and determines a target bypass ratio based on the proportional relationship between the first parameter and the second parameter, so that the target bypass ratio can match the actual operating conditions of the gas water heater, adapt to the heat exchange capacity fluctuations caused by changes in the current inlet water temperature and inlet water flow, thereby reducing the fluctuation of the outlet water temperature.
[0027] In one alternative implementation, the method further includes: Obtain the capacity of the heat exchanger; Determine the adjustment lag time based on the heat exchanger capacity and the current inlet water flow of the gas water heater; After the adjustment lag time is reached, adjust the current bypass ratio of the gas water heater to the target bypass ratio.
[0028] In this embodiment, the heat exchanger capacity is obtained, and the adjustment lag time is determined based on the heat exchanger capacity and the current inlet water flow rate. This allows the adjustment lag time to reflect the actual dynamic characteristics of the water inside the heat exchanger. Furthermore, the current bypass ratio of the gas water heater is adjusted after the adjustment lag time is reached, ensuring that the bypass ratio adjustment action is consistent with the thermal response process inside the heat exchanger in time. This avoids temperature overshoot caused by premature control action and temperature oscillation caused by response lag mismatch, thereby improving the stability of the outlet water temperature of the gas water heater under sudden changes in inlet water flow rate.
[0029] In a second aspect, the present invention provides a control device for a gas water heater, the device comprising: The acquisition module is used to acquire the current inlet water flow rate and current inlet water temperature of the gas water heater; The first determining module is used to determine the change in the required heat of the gas water heater based on the change in the current inlet water flow rate; The prediction module is used to predict the outlet water temperature of the heat exchanger after the change in heat demand and the current inlet water flow rate. The changed outlet water temperature is used to characterize the outlet water temperature after the change in the current inlet water flow rate relative to the current outlet water temperature of the heat exchanger. The second determining module is used to determine the target bypass ratio of the gas water heater based on the changed outlet water temperature, the current inlet water temperature and the set temperature of the gas water heater. The control module is used to adjust the current bypass ratio of the gas water heater to the target bypass ratio.
[0030] Thirdly, the present invention provides a gas water heater, including a controller and a bypass proportional valve. The controller includes a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the control method of the gas water heater described in the first aspect or any corresponding embodiment.
[0031] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the control method for a gas water heater according to the first aspect or any corresponding embodiment thereof.
[0032] Fifthly, the present invention provides a computer program product, including computer instructions for causing a computer to execute the control method for a gas water heater described in the first aspect or any corresponding embodiment thereof.
[0033] It should be understood that the beneficial effects of the control device, gas water heater, storage medium, and program product involved in the embodiments of the present invention can be found in the corresponding beneficial effect description of the control method for gas water heater shown above, and will not be repeated here. Attached Figure Description
[0034] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0035] Figure 1 This is a schematic flowchart of a first method for controlling a gas water heater according to an embodiment of the present invention; Figure 2 This is a second flowchart illustrating the control method for a gas water heater according to an embodiment of the present invention; Figure 3 This is a flowchart for determining the change in the current influent flow rate according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the third process of the control method for a gas water heater according to an embodiment of the present invention; Figure 5 This is a structural block diagram of the control device for a gas water heater according to an embodiment of the present invention; Figure 6 This is a schematic diagram of the structure of a gas water heater according to an embodiment of the present invention; Figure 7 This is a schematic diagram of the hardware structure of the controller of the gas water heater according to an embodiment of the present invention. Detailed Implementation
[0036] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0037] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0038] During the actual operation of a gas water heater, the water supply status of the gas water heater will change due to factors such as changes in water usage conditions and water circuit operation status, which will cause the actual outlet water temperature of the gas water heater to deviate from the set temperature. For example, when a user is using a gas water heater while other water usage activities are taking place, the inlet water flow rate of the gas water heater may suddenly change. For example, if the current inlet water flow rate decreases, the water flow rate through the heat exchanger will decrease accordingly, resulting in an increase in the outlet water temperature of the heat exchanger, and ultimately causing fluctuations in the water temperature of the gas water heater. In related technologies, the bypass proportional valve of a gas water heater is usually controlled based on the detected change in outlet water temperature, which makes it difficult to adjust the outlet water temperature deviation in a timely manner. Therefore, this application proposes a control method for a gas water heater. Based on the change in the current inlet water flow, the method determines the change in the heat demand of the gas water heater, and then predicts the outlet water temperature after the change in the heat exchanger. This method can predict in advance the impact of sudden changes in water flow on the outlet water temperature of the heat exchanger. Based on the predicted outlet water temperature after the change in the heat exchanger, the method determines the target bypass ratio, which can improve the matching degree between the target bypass ratio and the actual operating conditions of the gas water heater, reduce the impact of sudden changes in water flow on the outlet water temperature of the heat exchanger, and thus reduce the outlet water temperature deviation and fluctuation of the gas water heater.
[0039] According to an embodiment of the present invention, a control method for a gas water heater is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0040] This embodiment provides a control method for a gas water heater, which can be used in the controller of the aforementioned gas water heater, such as a microcontroller or CPU. Figure 1 This is a flowchart of a control method for a gas water heater according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps: Step S101: Obtain the current inlet water flow rate and current inlet water temperature of the gas water heater.
[0041] The current inlet water flow rate of the gas water heater refers to the flow rate of cold water entering the gas water heater and participating in the heat exchange process at the current moment, which can be obtained in real time by a flow sensor installed on the inlet pipe of the gas water heater. The current inlet water temperature of the gas water heater refers to the temperature of the cold water entering the gas water heater and participating in the heat exchange process at the current moment, which can be obtained in real time by a temperature sensor or temperature probe installed on the inlet pipe of the water heater.
[0042] Step S102: Determine the change in the required heat of the gas water heater based on the change in the current inlet water flow rate.
[0043] The change in current inlet water flow rate refers to the change in the inlet water flow rate entering the gas water heater at the current moment relative to the corresponding inlet water flow rate 2 seconds prior, used to characterize the degree of change in current water usage conditions. The change in heat demand is used to characterize the degree of change in the heat exchange demand of the gas water heater caused by the change in current inlet water flow rate.
[0044] Optionally, since the amount of heat required by the gas water heater per unit time to maintain the set temperature will change when the inlet water flow rate changes, the change in heat demand refers to the increase or decrease in heat required to maintain the set temperature relative to the current water usage conditions. For example, the change in heat demand can be determined based on the change in inlet water flow rate, combined with the current inlet water temperature and the set temperature, to reflect the change in heat exchange demand caused by the change in inlet water flow rate.
[0045] Step S103: Based on the change in demand for heat and the current inlet flow rate, predict the outlet water temperature of the heat exchanger after the change; the changed outlet water temperature is used to characterize the outlet water temperature after the change relative to the current outlet water temperature of the heat exchanger under the influence of the change in the current inlet flow rate.
[0046] The changed outlet water temperature is used to characterize the expected outlet water temperature of the heat exchanger under the influence of the current change in inlet water flow rate, and can reflect the impact of the current change in inlet water flow rate on the outlet water temperature of the heat exchanger.
[0047] Optionally, based on the change in heat demand and the current inlet flow rate, the outlet temperature after the change in the current outlet flow rate relative to the current outlet temperature of the heat exchanger is determined, thus obtaining the changed outlet temperature of the heat exchanger. Here, the change in heat demand reflects the degree of change in heat exchange demand caused by the change in the current inlet flow rate, and the current inlet flow rate reflects the amount of water entering the heat exchanger to participate in heat exchange. By combining the above parameters to predict the changed outlet temperature of the heat exchanger, a changed outlet temperature that matches the current water usage conditions can be obtained.
[0048] Step S104: Determine the target bypass ratio of the gas water heater based on the changed outlet water temperature, the current inlet water temperature, and the set temperature of the gas water heater.
[0049] The set temperature of a gas water heater refers to the target outlet water temperature that the user presets and expects the gas water heater to output.
[0050] For example, based on the changed outlet water temperature, the current inlet water temperature, and the set temperature, the target bypass ratio is determined according to a preset bypass ratio calculation relationship, so that the overall outlet water temperature of the gas water heater after mixing through the bypass proportional valve approaches the set temperature.
[0051] Step S105: Adjust the current bypass ratio of the gas water heater to the target bypass ratio.
[0052] A control signal is output to the bypass proportional valve to adjust its opening, thereby adjusting the current bypass ratio of the gas water heater to the target bypass ratio. This ensures that the cold water flow entering the bypass pipe mixes with the hot water flow output from the heat exchanger according to the target bypass ratio, thus bringing the overall outlet water temperature of the gas water heater closer to the set temperature. In this embodiment, by adjusting the current bypass ratio to the target bypass ratio, dynamic compensation can be provided for changes in the heat exchanger outlet water temperature caused by sudden changes in inlet water flow. This reduces the impact of sudden changes in water flow on the overall outlet water temperature, minimizes temperature deviation and fluctuations, and improves the thermostatic control accuracy of the gas water heater under varying water flow conditions.
[0053] The control method for a gas water heater provided in this embodiment determines the change in heat demand based on the change in the current inlet water flow rate, enabling early prediction of the degree of change in heat exchange demand under current water usage conditions. Furthermore, based on the change in heat demand and the current inlet water flow rate, it predicts the outlet water temperature after the change in heat exchanger temperature, allowing early determination of the trend in outlet water temperature caused by the change in inlet water flow rate. A target bypass ratio is determined based on the changed outlet water temperature, the current inlet water temperature, and the set temperature, ensuring that the determined target bypass ratio matches the actual operating conditions of the gas water heater. Adjusting the current bypass ratio to the target bypass ratio allows the bypass proportional valve to dynamically compensate and adjust according to the current water usage conditions, thereby reducing the impact of sudden changes in water flow rate on the overall outlet water temperature of the gas water heater, reducing overall outlet water temperature deviation and temperature fluctuations, and improving the constant temperature control accuracy and stability of the gas water heater under changing water flow conditions.
[0054] This embodiment provides a control method for a gas water heater, which can be used in the controller of the aforementioned gas water heater, such as a microcontroller or CPU. Figure 2 This is a flowchart of a control method for a gas water heater according to an embodiment of the present invention, such as... Figure 2 As shown, the process includes the following steps: Step S201: Obtain the current inlet water flow rate and current inlet water temperature of the gas water heater. For details, please refer to [link / reference]. Figure 1 Step S101 of the illustrated embodiment will not be described again here.
[0055] In some alternative implementations, Figure 3 This is a flowchart illustrating the determination of the change in current influent flow rate according to an embodiment of the present invention. Following step S201, the process of determining the change in current influent flow rate includes: Step a1: Obtain the first inlet water flow rate of the gas water heater before the first duration; the first duration shall not be less than 2 seconds.
[0056] Step a2: Determine the change in the current inlet water flow rate of the gas water heater based on the current inlet water flow rate and the first inlet water flow rate.
[0057] Optionally, the first inlet water flow rate corresponding to the gas water heater before a first duration is obtained, where the first duration is used to characterize the historical time window before the current moment, and this first duration is not less than 2 seconds. Specifically, during the actual operation of the gas water heater's inlet water flow rate, it may exhibit characteristics of overall trend changes and short-term fluctuations superimposed. For example, during the process of overall inlet water flow rate rising or falling, there may be local fluctuations over a period of time, such as slight increases and decreases in a short period of time. However, such fluctuations are usually short-lived, generally not exceeding 2 seconds. Based on this, when the duration of the inlet water flow rate change process is less than 2 seconds, it can be considered that the change is mainly caused by instantaneous disturbances or local unstable factors. When the duration of the inlet water flow rate change process is greater than or equal to 2 seconds, it can be considered that the short-term fluctuation process has ended, and the flow rate has entered a relatively stable change stage. Therefore, in this embodiment, the first duration is set to be not less than 2 seconds to avoid the influence of short-term fluctuations on the calculation result of the change in the current inlet water flow rate.
[0058] Based on the current inlet flow rate and the first inlet flow rate, the change in the current inlet flow rate of the gas water heater is determined. The current inlet flow rate represents the flow rate of cold water flowing into the gas water heater and participating in the heat exchange process at the current moment, and the first inlet flow rate represents the inlet flow rate at the corresponding moment a first time period ago. The change in the current inlet flow rate of the gas water heater is obtained by calculating the difference between the current inlet flow rate and the first inlet flow rate.
[0059] The control method for a gas water heater provided in this embodiment obtains a stable first inlet water flow rate when there are short-term fluctuations in the inlet water flow rate, and calculates the change in the current inlet water flow rate of the gas water heater based on this. This ensures the stability and accuracy of the calculation of the change in the current inlet water flow rate, thereby improving the accuracy of the prediction of the outlet water temperature after the heat exchanger changes.
[0060] In other alternative implementations, please refer again. Figure 3 After step S201 above, the process of determining the change in the current influent flow rate may further include: Step a3: Obtain the second inlet water flow rate of the gas water heater before the second time period.
[0061] Step a4: Determine the flow difference between the current influent flow rate and the second influent flow rate.
[0062] Step a5: The product of the flow difference and the preset adjustment coefficient is taken as the change in the current inlet water flow of the gas water heater; wherein, the preset adjustment coefficient is between 0 and 1.
[0063] It should be noted that obtaining the first inlet water flow rate of the gas water heater at the first time interval and obtaining the second inlet water flow rate of the gas water heater at the second time interval are two different methods of obtaining inlet water flow rate. The two methods are based on different time bases for historical flow sampling and are used to characterize the change characteristics of inlet water flow rate at different time scales. The first inlet water flow rate is used to characterize the inlet water flow rate state at a relatively long time scale, while the second inlet water flow rate is used to characterize the inlet water flow rate state at a relatively short time scale. This is to be suitable for different types of flow change analysis and change calculation needs, and can improve the adaptability and robustness of inlet water flow rate change acquisition.
[0064] Optionally, the second inlet water flow rate corresponding to the second time interval before the current time interval is obtained, wherein the second time interval is used to characterize the historical time window before the current time, and the second time interval can be set to 100ms. The flow difference is determined based on the difference between the current inlet water flow rate and the second inlet water flow rate.
[0065] The change in the current inlet water flow rate of the gas water heater is obtained by multiplying the flow difference with a preset adjustment coefficient. The preset adjustment coefficient, ranging from 0 to 1, is used to adjust the amplitude of the flow difference to suppress the amplification effect of the change in the current inlet water flow rate caused by short-term fluctuations or instantaneous disturbances. This avoids over-response when directly using the original flow difference, which could lead to excessive responses in subsequent calculations of the demand heat change and target bypass ratio based on this change. By introducing this adjustment coefficient, the influence of flow change can be smoothed, making the change in the current inlet water flow rate more reflective of the true trend. This reduces the probability of frequent adjustments or corrections to the bypass proportional valve caused by short-term disturbance amplification, thereby reducing the risk of control oscillations and improving the stability and continuity of the gas water heater control process.
[0066] The control method for a gas water heater provided in this embodiment obtains the second inlet water flow rate corresponding to the gas water heater a second time period ago, and determines the flow difference based on the difference between the current inlet water flow rate and the second inlet water flow rate. This can reflect the instantaneous change characteristics of the inlet water flow rate, making the change in the current inlet water flow rate more timely and sensitive. By multiplying the flow difference with a preset adjustment coefficient to obtain the change in the current inlet water flow rate, the amplification effect of the change caused by short-term fluctuations or instantaneous disturbances in the inlet water flow rate can be suppressed, making the change in the current inlet water flow rate more stably represent the true flow change trend. This effectively avoids the over-response problem that occurs when calculating the subsequent demand heat and target bypass ratio based on the original flow difference, and reduces the frequent adjustment or back-and-forth correction of the bypass proportional valve, thereby improving the control stability and constant temperature control accuracy of the gas water heater under the condition of sudden flow changes.
[0067] Step S202: Determine the change in the required heat of the gas water heater based on the change in the current inlet water flow rate.
[0068] Specifically, step S202 includes: Step S2021: Determine the temperature difference between the set temperature of the gas water heater and the current inlet water temperature.
[0069] The current inlet water temperature is the temperature of the cold water entering the gas water heater and participating in the heat exchange process. The temperature difference is calculated by subtracting the set temperature from the current inlet water temperature. This temperature difference reflects the basic temperature increase required to reach the set temperature under the current cold water inlet conditions.
[0070] Step S2022: The product of the temperature difference and the change in the current influent flow rate is used as the change in heat demand.
[0071] The change in heat demand is calculated by multiplying the temperature difference between the set temperature and the current inlet water temperature with the change in the current inlet water flow rate. Specifically, the temperature difference, which represents the temperature rise required to reach the set temperature under the current cold water inlet conditions, is coupled with the change in the current inlet water flow rate to obtain a change in heat demand that represents the change in heat load caused by changes in the inlet water conditions. This change in heat demand takes into account the inlet water flow rate variation, improving the temperature control accuracy and stability of the gas water heater under conditions of sudden changes in inlet water flow.
[0072] The control method for a gas water heater provided in this embodiment determines the temperature difference between the set temperature of the gas water heater and the current inlet water temperature. The temperature difference is multiplied by the change in the current inlet water flow rate to obtain a change in the required heat load that can characterize the change in heat load caused by the change in the inlet water state. This change in required heat takes into account the change in inlet water flow rate, which can improve the constant temperature control accuracy and stability of the gas water heater under the condition of sudden change in inlet water flow rate.
[0073] Step S203: Based on the change in demand for heat and the current inlet flow rate, predict the outlet water temperature of the heat exchanger after the change; the changed outlet water temperature is used to characterize the outlet water temperature after the change relative to the current outlet water temperature of the heat exchanger under the influence of the change in the current inlet flow rate.
[0074] Specifically, step S203 includes: Step S2031: Based on the change in demand for heat and the current inlet water flow, determine the overall outlet water temperature difference of the gas water heater under the change in the current inlet water flow.
[0075] In some optional implementations, the overall outlet water temperature difference is obtained using the following formula:
[0076] in, For the overall water outlet temperature difference, This represents the change in heat demand. This represents the change in the current influent flow rate. The set temperature for the gas water heater. L represents the current inlet water temperature, and L represents the current inlet water flow rate.
[0077] Optionally, the change in heat demand and the current inlet water flow rate are input into the above-mentioned overall outlet water temperature difference calculation model. Combined with the heat transfer relationship under the current water usage conditions, the overall outlet water temperature difference corresponding to the change in the current inlet water flow rate is determined. The overall outlet water temperature difference characterizes the predicted change in the overall outlet water temperature of the gas water heater relative to the set temperature under the influence of the current change in inlet water flow rate; that is, it is used to predict the degree of impact of the current change in inlet water flow rate on the overall outlet water temperature. By predicting the overall outlet water temperature difference, the trend of the overall outlet water temperature change can be predicted in advance before the actual outlet water temperature changes. This provides data for the subsequent calculation of the target bypass ratio, allowing the bypass proportional valve to adjust in advance, thereby reducing outlet water temperature fluctuations caused by sudden changes in inlet water flow rate and improving the constant temperature control performance of the gas water heater.
[0078] Among them, the change in current inflow rate The above two different methods can be used to determine this; in one implementation, , The first inlet flow rate of the gas water heater is the first time period before the first duration, which is not less than 2 seconds. This represents the current inlet water flow rate of the gas water heater. In another implementation, , This represents the second inlet water flow rate of the gas water heater before the second time interval, which can be set to 100ms. The preset adjustment coefficient is used to adjust the amplitude of the flow rate change obtained from high-frequency sampling, so as to suppress the impact of short-term fluctuations or instantaneous disturbances on the prediction results and improve the stability and accuracy of the overall water outlet temperature difference prediction.
[0079] The control method for a gas water heater provided in this embodiment determines the overall outlet water temperature difference by combining the change in demand for heat with the current inlet water flow rate. This method can convert the change in heat load caused by the change in the inlet water state into the corresponding change in the overall outlet water temperature, so that the overall outlet water temperature difference can reflect the degree of influence of the current flow rate change on the outlet water temperature.
[0080] In some alternative embodiments, when the change in the current influent flow rate When the second implementation method is used, that is This implementation determines the change in current influent flow rate based on the flow rate difference between adjacent sampling periods (e.g., 100ms). While it can quickly reflect instantaneous changes in the influent flow rate, it is also easily affected by sampling noise and short-term fluctuations in the influent flow rate, causing fluctuations in the calculated overall outlet water temperature difference. Therefore, to improve the stability of the subsequent determination of the outlet water temperature after heat exchanger changes and the target bypass ratio, in this embodiment, the overall outlet water temperature difference determined based on this implementation method is... A smoothing process is performed, and the changed outlet water temperature of the heat exchanger is determined based on the overall outlet water temperature difference after the smoothing process.
[0081] For example, a linear tracking differential (TD) can be used to smooth the overall outlet water temperature difference. Specifically, the determined overall outlet water temperature difference is used as the input signal of the tracking differential. By executing the tracking differential algorithm, the internal state variables are iteratively updated to obtain the smoothed overall outlet water temperature difference. In the linear tracking differential, state variable v1 represents the smoothed output value of the overall outlet water temperature difference after processing by the tracking differential, state variable v2 represents the trend information of the overall outlet water temperature difference change, parameter r adjusts the tracking speed of the overall outlet water temperature difference, and parameter h represents the sampling time step. This embodiment does not limit the specific implementation of the tracking differential; those skilled in the art can select the appropriate linear tracking differential algorithm according to actual control requirements.
[0082] The control method for a gas water heater provided in this embodiment smooths the overall outlet water temperature difference determined by the change in the current inlet water flow. The change in the current inlet water flow is obtained by multiplying the flow difference between the current inlet water flow and the second inlet water flow with a preset adjustment coefficient. This method can suppress the fluctuation of the overall outlet water temperature difference caused by short-term fluctuations in the inlet water flow or sampling noise, so that the overall outlet water temperature difference changes continuously and smoothly. This avoids over-response or repeated adjustment in the subsequent target bypass ratio calculation and bypass proportional valve control due to frequent fluctuations in the input signal, thereby reducing the risk of control oscillation.
[0083] Step S2032: Based on the overall outlet water temperature difference, predict the outlet water temperature after the heat exchanger changes.
[0084] In some optional implementations, step S2032 above includes: Step b1: Obtain the reference bypass ratio of the gas water heater. The reference bypass ratio is used to characterize the bypass ratio before the current inlet water flow rate changes.
[0085] Step b2: Based on the reference bypass ratio and the overall outlet water temperature difference, determine the outlet water temperature after the change in the heat exchanger.
[0086] Optionally, a reference bypass ratio is obtained before the current inlet water flow rate of the gas water heater changes. This reference bypass ratio characterizes the mixing relationship between the cold water flow rate entering the bypass pipe and the hot water flow rate output by the heat exchanger before the current inlet water flow rate changes. For example, the reference bypass ratio is obtained using the following formula:
[0087] in, For reference, bypass ratio, The outlet water temperature after the heat exchanger changes. The set temperature for the gas water heater. This represents the current inlet water temperature.
[0088] Based on the reference bypass ratio and the overall unit outlet water temperature difference, the changed outlet water temperature of the heat exchanger is determined. Specifically, based on the aforementioned determined reference bypass ratio and overall unit outlet water temperature difference, the changed outlet water temperature of the heat exchanger under the influence of the current change in inlet water flow rate is determined.
[0089] The control method for a gas water heater provided in this embodiment obtains the reference bypass ratio of the gas water heater before the current inlet water flow changes, and can obtain the bypass mixing relationship of the gas water heater before the water usage conditions change, which can be used as a reference benchmark. Furthermore, based on the reference bypass ratio and the overall outlet water temperature difference, the outlet water temperature of the heat exchanger after the change can be determined. The overall outlet water temperature difference can be mapped to the outlet water side of the heat exchanger, thereby obtaining the predicted change result of the heat exchanger outlet water temperature under the action of the current inlet water flow change, so that the prediction result is more consistent with the actual operating conditions of the gas water heater.
[0090] In some alternative implementations, the changed outlet water temperature of the heat exchanger is obtained using the following formula:
[0091] in, The outlet water temperature after the heat exchanger changes. For the set temperature of the gas water heater, For the overall water outlet temperature difference, For reference, bypass ratio, This represents the current inlet water temperature.
[0092] Optionally, the changed outlet water temperature of the heat exchanger can be predicted using the above-mentioned formula for calculating the changed outlet water temperature of the heat exchanger. The changed outlet water temperature of the heat exchanger is used to characterize the predicted change of the heat exchanger outlet water temperature relative to the current outlet water temperature under the influence of the current change in inlet water flow rate.
[0093] The control method for a gas water heater provided in this embodiment can predict the outlet water temperature of the heat exchanger under the influence of the current change in inlet flow rate by using the above-mentioned formula for calculating the outlet water temperature after the change in heat exchanger. This allows the prediction result to reflect the influence of the change in inlet flow rate on the outlet water temperature of the heat exchanger, improves the accuracy of the outlet water temperature after the change in heat exchanger, provides a more reliable prediction basis for the subsequent determination of the target bypass ratio, and reduces the outlet water temperature deviation and temperature fluctuation caused by sudden changes in inlet flow rate.
[0094] In some alternative embodiments, step S2032 above may further include: Step b3: Obtain the current outlet water temperature of the heat exchanger.
[0095] Step b4: Sum the current outlet water temperature of the heat exchanger with the temperature difference between the outlet water of the whole machine to obtain the changed outlet water temperature of the heat exchanger.
[0096] Alternatively, the prediction of the changed outlet water temperature based on the overall unit outlet water temperature difference can be achieved in another way. Specifically, the current outlet water temperature of the heat exchanger is obtained, where the current outlet water temperature represents the actual temperature of the hot water output by the heat exchanger at the current moment; based on this, the overall unit outlet water temperature difference is used as the temperature change increment, and summed with the current outlet water temperature of the heat exchanger to obtain the changed outlet water temperature of the heat exchanger.
[0097] In practical applications of gas water heaters, the bypass ratio is typically within a small range (e.g., no more than 30%). Since most of the water flow still completes heat exchange through the heat exchanger, the overall outlet water temperature difference can be approximated as the change in the heat exchanger's outlet water temperature, thus simplifying the process of determining the changed outlet water temperature. Using the current outlet water temperature of the heat exchanger as a benchmark, and superimposing the overall outlet water temperature difference, the changed outlet water temperature is obtained. This simplifies the temperature prediction process into incremental superposition calculations, thereby improving computational efficiency and the real-time control performance of the gas water heater.
[0098] It should be noted that there are multiple ways to determine the outlet water temperature after the heat exchanger changes in this application. The above-mentioned determination of the outlet water temperature after the heat exchanger changes based on the reference bypass ratio and this embodiment are both optional determination methods, and both can achieve the determination of the outlet water temperature after the heat exchanger changes. Those skilled in the art can choose any one of these methods according to the hardware configuration of the gas water heater, the sensor deployment and control requirements, or combine two methods for comprehensive application. This application does not limit this.
[0099] The control method for gas water heaters provided in this embodiment sums the current outlet water temperature of the heat exchanger with the temperature difference of the outlet water of the whole unit. The current outlet water temperature of the heat exchanger can be used as a reference, and the outlet water temperature difference of the whole unit can be added to obtain the outlet water temperature after the change of the heat exchanger. This simplifies the temperature prediction process into incremental superposition calculation, thereby improving the calculation efficiency and the real-time control of the gas water heater.
[0100] The control method for a gas water heater provided in this embodiment determines the overall outlet water temperature difference under the influence of the change in the current inlet water flow rate by using the change in demand for heat and the current inlet water flow rate. This transforms the impact of the change in inlet water flow rate on the heat load demand of the gas water heater into a temperature parameter, thereby characterizing the trend of the overall outlet water temperature under the current water usage conditions. Furthermore, the outlet water temperature after the change in the heat exchanger is determined based on the overall outlet water temperature difference, so that the determined outlet water temperature after the change in the heat exchanger can reflect the impact of the change in the inlet water flow rate on the outlet water temperature of the heat exchanger, improving the accuracy of the outlet water temperature after the change in the heat exchanger, providing a more reliable prediction basis for the subsequent determination of the target bypass ratio, and reducing the outlet water temperature deviation and temperature fluctuation caused by sudden changes in the inlet water flow rate.
[0101] Step S204: Determine the target bypass ratio of the gas water heater based on the changed outlet water temperature, the current inlet water temperature, and the set temperature of the gas water heater.
[0102] Specifically, step S204 includes: Step S2041: Determine the difference between the changed outlet water temperature and the set temperature as the first parameter, and determine the difference between the changed outlet water temperature and the current inlet water temperature as the second parameter.
[0103] After obtaining the changed outlet water temperature from the heat exchanger, characteristic parameters for subsequent target bypass ratio calculation are further determined based on the changed outlet water temperature from the heat exchanger. Specifically, the difference between the changed outlet water temperature from the heat exchanger and the set temperature of the gas water heater is determined as the first parameter. The first parameter is used to characterize the degree of deviation of the changed outlet water temperature from the set temperature of the gas water heater under the current water usage conditions.
[0104] Furthermore, the difference between the changed outlet water temperature and the current inlet water temperature is determined as a second parameter, wherein the second parameter is used to characterize the temperature rise capability of the changed outlet water temperature relative to the current inlet water temperature of the gas water heater.
[0105] Step S2042: Based on the ratio between the first parameter and the second parameter, the target bypass ratio of the gas water heater is obtained.
[0106] The first parameter and the second parameter are proportionally calculated to determine the target bypass ratio. This target bypass ratio is obtained using the following formula:
[0107] in, For the target bypass ratio, The outlet water temperature after the heat exchanger changes. The set temperature for the gas water heater. This represents the current inlet water temperature.
[0108] The control method for a gas water heater provided in this embodiment determines the difference between the changed outlet water temperature and the set temperature as a first parameter, which can characterize the degree of deviation of the changed outlet water temperature from the set temperature; determines the difference between the changed outlet water temperature and the current inlet water temperature as a second parameter, which can characterize the temperature rise capability of the heat exchanger with the changed outlet water temperature relative to the current inlet water temperature of the gas water heater; and determines a target bypass ratio based on the proportional relationship between the first parameter and the second parameter, so that the target bypass ratio can match the actual operating conditions of the gas water heater, adapt to the heat exchange capacity fluctuations caused by changes in the current inlet water temperature and inlet water flow, thereby reducing the fluctuation of the outlet water temperature.
[0109] Step S205: Adjust the current bypass ratio of the gas water heater to the target bypass ratio.
[0110] In some alternative implementations, the method further includes: Step c1: Obtain the capacity of the heat exchanger.
[0111] Step c2: Determine the adjustment lag time based on the heat exchanger capacity and the current inlet water flow of the gas water heater.
[0112] Step c3: After the adjustment lag time is reached, adjust the current bypass ratio of the gas water heater to the target bypass ratio.
[0113] Obtain the capacity of the heat exchanger, which characterizes the effective water volume available for heat exchange within the heat exchanger. Based on the heat exchanger capacity and the current inlet water flow rate of the gas water heater, determine the regulation lag time, which characterizes the time delay required for a change in the current inlet water flow rate to be transmitted within the heat exchanger and affect the outlet water temperature. The regulation lag time can be determined through the following relationship:
[0114] in, To adjust the lag time, For the capacity of the heat exchanger, is the hysteresis adjustment coefficient, and L is the current influent flow rate.
[0115] Optionally, a hysteresis adjustment coefficient is introduced, using the ratio of the heat exchanger capacity to the current influent flow rate as the basic hysteresis time. For the correction of the basic lag time, when the lag adjustment coefficient When a smaller value is selected, the corresponding adjustment lag time increases, resulting in a smoother system response, suitable for operating conditions with large heat exchanger capacity or slow changes in inlet water flow; when the lag adjustment coefficient... Taking a larger value reduces the corresponding adjustment lag time, making the system response faster, but may make it more sensitive to flow fluctuations, thus reducing control stability. For example, when... When, it indicates that half of the heat exchanger capacity is used as the estimation benchmark, thus forming a regulation lag time with moderate response characteristics; when When the corresponding adjustment lag time is longer, the system response is smoother, making it suitable for high-capacity or slowly changing operating conditions; when At this time, the corresponding adjustment lag time is shorter, and the system response is faster, but it is more sensitive to flow fluctuations. Among them, the system response is used to characterize the response process of the gas water heater to converge the overall outlet water temperature to the set temperature after the bypass proportional valve is adjusted based on the target bypass ratio when the inlet water flow changes.
[0116] In this embodiment, the heat exchanger capacity is obtained, and the adjustment lag time is determined based on the heat exchanger capacity and the current inlet water flow rate. This allows the adjustment lag time to reflect the actual dynamic characteristics of the water inside the heat exchanger. Furthermore, the current bypass ratio of the gas water heater is adjusted after the adjustment lag time is reached, ensuring that the bypass ratio adjustment action is consistent with the thermal response process inside the heat exchanger in time. This avoids temperature overshoot caused by premature control action and temperature oscillation caused by response lag mismatch, thereby improving the stability of the outlet water temperature of the gas water heater under sudden changes in inlet water flow rate.
[0117] The control method for a gas water heater provided in this embodiment determines the temperature difference between the set temperature of the gas water heater and the current inlet water temperature. It then multiplies this temperature difference with the change in the current inlet water flow rate to obtain a change in required heat load that characterizes the change in heat load caused by the change in inlet water state. This change in required heat load is combined with the current inlet water flow rate to determine the overall outlet water temperature difference. This converts the change in heat load caused by the change in inlet water state into a corresponding change in the overall outlet water temperature, ensuring that the overall outlet water temperature difference reflects the degree of influence of the current flow rate change on the outlet water temperature. Based on the overall outlet water temperature difference, the changed outlet water temperature of the heat exchanger is determined, ensuring that the determined changed outlet water temperature reflects the influence of the change in inlet water flow rate on the heat exchanger outlet water temperature, thereby improving the heat exchanger's performance. The accuracy of the changed outlet water temperature provides a more reliable predictive basis for determining the subsequent target bypass ratio, reducing the outlet water temperature deviation and temperature fluctuation caused by sudden changes in inlet water flow. Based on the changed outlet water temperature, the current inlet water temperature, and the set temperature of the gas water heater, the target bypass ratio of the gas water heater is determined so that the target bypass ratio can match the actual operating conditions of the gas water heater, adapting to the heat exchange capacity fluctuations caused by changes in the current inlet water temperature and inlet water flow, thereby reducing the fluctuation of the outlet water temperature. Finally, after reaching the adjustment lag time, the current bypass ratio of the gas water heater is adjusted so that the bypass ratio adjustment action is consistent with the internal thermal response process of the heat exchanger in time, improving the stability of the outlet water temperature of the gas water heater under sudden changes in inlet water flow.
[0118] This embodiment provides a control method for a gas water heater, which can be used in the controller of the gas water heater, such as a microcontroller or CPU. Figure 4 This is an overall flowchart of the control method for a gas water heater according to an embodiment of the present invention, as follows: Figure 4 As shown, the process includes the following steps: Step S401: Obtain the current inlet water flow rate and current inlet water temperature of the gas water heater. For details, please refer to [link to relevant documentation]. Figure 1 Step S101 of the illustrated embodiment will not be described again here.
[0119] Following step S401 above, the process of determining the change in the current influent flow rate includes: Step a1: Obtain the first inlet water flow rate of the gas water heater before the first duration; the first duration is no less than 2 seconds. For details, please refer to [link to details]. Figure 3 The example shown.
[0120] Step a2: Based on the current inlet water flow rate and the first inlet water flow rate, determine the change in the current inlet water flow rate of the gas water heater. For details, please refer to [link / reference needed]. Figure 3 The example shown.
[0121] Following step S401 above, the process of determining the change in the current influent flow rate may further include: Step a3: Obtain the second inlet water flow rate of the gas water heater before the second time interval. For details, please refer to [link / reference needed]. Figure 3 The example shown.
[0122] Step a4: Determine the flow difference between the current influent flow rate and the second influent flow rate. For details, please refer to [link to relevant documentation]. Figure 3 The example shown.
[0123] Step a5: The product of the flow difference and the preset adjustment coefficient is taken as the change in the current inlet water flow of the gas water heater; the preset adjustment coefficient is between 0 and 1. For details, please refer to... Figure 3 The example shown.
[0124] Step S402: Determine the change in the required heat of the gas water heater based on the change in the current inlet water flow rate.
[0125] Specifically, step S402 includes: Step S4021: Determine the temperature difference between the set temperature of the gas water heater and the current inlet water temperature. For details, please refer to [link to relevant documentation]. Figure 2 Step S2021 of the illustrated embodiment will not be described again here.
[0126] Step S4022: The product of the temperature difference and the change in the current influent flow rate is used as the change in heat demand. For details, please refer to [link to relevant documentation]. Figure 2 Step S2022 of the illustrated embodiment will not be described again here.
[0127] Step S403: Based on the change in demand for heat and the current inlet flow rate, predict the outlet water temperature of the heat exchanger after the change; the changed outlet water temperature is used to characterize the outlet water temperature after the change relative to the current outlet water temperature of the heat exchanger under the influence of the change in the current inlet flow rate.
[0128] Specifically, step S403 includes: Step S4031: Based on the change in demand for heat and the current inlet water flow rate, determine the overall outlet water temperature difference of the gas water heater under the change in the current inlet water flow rate. For details, please refer to [link to relevant documentation]. Figure 2 Step S2031 of the illustrated embodiment will not be described again here.
[0129] Step S4032: Based on the overall outlet water temperature difference, predict the outlet water temperature after the heat exchanger changes.
[0130] In some optional implementations, step S4032 above includes: Step b1: Obtain the reference bypass ratio of the gas water heater. The reference bypass ratio is used to characterize the bypass ratio before the current inlet water flow rate changes.
[0131] Step b2: Based on the reference bypass ratio and the overall outlet water temperature difference, determine the outlet water temperature after the change in the heat exchanger.
[0132] Please see details Figure 2 Step S2032 of the illustrated embodiment will not be described again here.
[0133] In some alternative embodiments, step S4032 above may further include: Step b3: Obtain the current outlet water temperature of the heat exchanger.
[0134] Step b4: Sum the current outlet water temperature of the heat exchanger with the temperature difference between the outlet water of the whole machine to obtain the changed outlet water temperature of the heat exchanger.
[0135] Please see details Figure 2 Step S2032 of the illustrated embodiment will not be described again here.
[0136] Step S404: Based on the changed outlet water temperature, the current inlet water temperature, and the set temperature of the gas water heater, determine the target bypass ratio of the gas water heater. For details, please refer to [link to relevant documentation]. Figure 2 Step S204 of the illustrated embodiment will not be described again here.
[0137] Step S405: Obtain the capacity of the heat exchanger; based on the heat exchanger capacity and the current inlet water flow rate of the gas water heater, determine the adjustment lag time. For details, please refer to [link to relevant documentation]. Figure 2 Steps c1 to c2 of the embodiment shown in step S205 will not be described again here.
[0138] Step S406: After the adjustment lag time is reached, adjust the current bypass ratio of the gas water heater to the target bypass ratio. For details, please refer to [link to relevant documentation]. Figure 2 Step c3 of the embodiment shown in step S205 will not be described again here.
[0139] The control method for a gas water heater provided in this embodiment, through two different methods of acquiring inlet water flow, can characterize the changes in inlet water flow at different time scales, thus adapting to different types of flow change analysis and change calculation needs, thereby improving the adaptability and robustness of inlet water flow change acquisition; it determines the temperature difference between the set temperature of the gas water heater and the current inlet water temperature, and multiplies the temperature difference with the change in the current inlet water flow to obtain the change in required heat load that can characterize the change in heat load caused by the change in inlet water state; it determines the overall outlet water temperature difference under the influence of the change in current inlet water flow by using the change in required heat load and the current inlet water flow, thus enabling the measurement of the impact of inlet water flow changes on the heat load demand of the gas water heater. The influence is transformed into temperature parameters, thus characterizing the trend of the overall unit's outlet water temperature under current water usage conditions. Furthermore, based on the overall unit's outlet water temperature difference, the determination of the outlet water temperature after changes in two different heat exchangers can enhance the flexibility and universality of determining the outlet water temperature after changes in heat exchangers, while improving the accuracy of the outlet water temperature after changes in heat exchangers. Based on the changed outlet water temperature, the current inlet water temperature, and the set temperature of the gas water heater, the target bypass ratio of the gas water heater is determined, so that the target bypass ratio can match the actual operating conditions of the gas water heater, adapt to the heat exchange capacity fluctuations caused by changes in the current inlet water temperature and inlet water flow, and thus reduce the deviation and temperature fluctuation of the overall unit's outlet water temperature caused by sudden changes in inlet water flow.
[0140] This embodiment also provides a control device for a gas water heater, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0141] This embodiment provides a control device for a gas water heater, such as... Figure 5 As shown, it includes: The acquisition module 501 is used to acquire the current inlet water flow rate and current inlet water temperature of the gas water heater.
[0142] The first determining module 502 is used to determine the change in the required heat of the gas water heater based on the change in the current inlet water flow.
[0143] The prediction module 503 is used to predict the outlet water temperature of the heat exchanger after the change in demand heat value and the current inlet water flow rate; the changed outlet water temperature is used to characterize the outlet water temperature after the change in the current inlet water flow rate relative to the current outlet water temperature of the heat exchanger.
[0144] The second determining module 504 is used to determine the target bypass ratio of the gas water heater based on the changed outlet water temperature, the current inlet water temperature, and the set temperature of the gas water heater.
[0145] The control module 505 is used to adjust the current bypass ratio of the gas water heater to the target bypass ratio.
[0146] In some alternative implementations, the control device for the gas water heater further includes: The change determination module is used to obtain the first inlet water flow rate of the gas water heater before the first time period; the first time period is not less than 2 seconds; and to determine the change in the current inlet water flow rate of the gas water heater based on the current inlet water flow rate and the first inlet water flow rate.
[0147] In some optional implementations, the change determination module is also used to obtain the second inlet flow rate of the gas water heater corresponding to the second time period; determine the flow difference between the current inlet flow rate and the second inlet flow rate; and use the product of the flow difference and the preset adjustment coefficient as the change in the current inlet flow rate of the gas water heater; wherein the preset adjustment coefficient is between 0 and 1.
[0148] In some optional implementations, the first determining module 502 is further configured to determine the temperature difference between the set temperature of the gas water heater and the current inlet water temperature; and to use the product of the temperature difference and the change in the current inlet water flow rate as the change in the required heat value.
[0149] In some optional implementations, the prediction module 503 is also used to determine the overall outlet water temperature difference of the gas water heater under the change in the current inlet water flow based on the change in demand heat value and the current inlet water flow; and to predict the outlet water temperature after the change of the heat exchanger based on the overall outlet water temperature difference.
[0150] In some optional implementations, the overall outlet water temperature difference is obtained using the following formula:
[0151] in, For the overall water outlet temperature difference, This represents the change in heat demand. This represents the change in the current influent flow rate. The set temperature for the gas water heater. The current inlet water temperature is L, and the current inlet water flow rate is L.
[0152] In some optional implementations, the prediction module 503 is also used to obtain a reference bypass ratio for the gas water heater, which is used to characterize the bypass ratio before the current inlet water flow rate changes; and to determine the outlet water temperature after the change of the heat exchanger based on the reference bypass ratio and the overall outlet water temperature difference.
[0153] In some alternative implementations, the changed outlet water temperature of the heat exchanger is obtained using the following formula:
[0154] in, The outlet water temperature after the heat exchanger changes. The set temperature for the gas water heater. For the overall water outlet temperature difference, For reference, bypass ratio, This represents the current inlet water temperature.
[0155] In some optional implementations, the prediction module 503 is also used to obtain the current outlet water temperature of the heat exchanger; and to sum the current outlet water temperature of the heat exchanger with the temperature difference of the outlet water of the whole machine to obtain the changed outlet water temperature of the heat exchanger.
[0156] In some optional implementations, the second determining module 504 is further configured to determine the difference between the changed outlet water temperature and the set temperature as a first parameter, and to determine the difference between the changed outlet water temperature and the current inlet water temperature as a second parameter; and to obtain the target bypass ratio of the gas water heater based on the proportional relationship between the first parameter and the second parameter.
[0157] In some optional implementations, the control module 505 is also used to obtain the capacity of the heat exchanger; determine the adjustment lag time based on the capacity of the heat exchanger and the current inlet flow rate of the gas water heater; and adjust the current bypass ratio of the gas water heater to the target bypass ratio after the adjustment lag time is reached.
[0158] The control device for a gas water heater provided in this embodiment of the invention can execute the control method for a gas water heater provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the various modules and units described above are the same as in the corresponding embodiments described above, and will not be repeated here.
[0159] This embodiment also provides a gas water heater, such as Figure 6 The diagram shows the structure of a gas water heater, which includes a controller (not shown in the diagram), a heat exchanger 601, a heat exchanger outlet water temperature probe 602, a bypass proportional valve 603, a bypass water flow probe 604, an inlet water flow probe 605, an inlet water temperature probe 606, and a whole unit outlet water temperature probe 607.
[0160] The controller acquires parameters collected by various sensors and executes the control method for the gas water heater provided in any embodiment of this invention based on these parameters. The bypass proportional valve 603 adjusts the proportion of water flow into the bypass branch according to the target bypass ratio output by the controller, thereby regulating the overall outlet water temperature. The heat exchanger 601 heats the incoming cold water; its internal thermal response is affected by changes in the inlet water flow rate. Each temperature and flow probe is used to collect parameters such as inlet water temperature, inlet water flow rate, heat exchanger outlet temperature, and overall outlet water temperature during the operation of the gas water heater in real time, and feeds the collected data back to the controller.
[0161] Figure 7 This is a schematic diagram of the controller in a gas water heater provided in an embodiment of the present invention.
[0162] The following is a detailed reference. Figure 7 The diagram illustrates a structural schematic suitable for implementing a controller in an embodiment of the present invention. The controller may include a processor (e.g., a central processing unit, graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 702 or a program loaded from memory 708 into random access memory (RAM) 703. The RAM 703 also stores various programs and data required for controller operation. The processor 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0163] Typically, the following devices can be connected to I / O interface 705: input devices 706 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 707 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 708 including, for example, magnetic tapes, hard disks, etc.; and communication devices 709. Communication device 709 allows the controller to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 7 A controller with various devices is shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.
[0164] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 709, or installed from a memory 708, or installed from a ROM 702. When the computer program is executed by the processor 701, it performs the functions defined in the control method for a gas water heater according to embodiments of the present invention.
[0165] Figure 7 The controller shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
[0166] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the control method for a gas water heater shown in the above embodiments is implemented.
[0167] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0168] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and all such modifications and variations fall within the scope defined by the appended claims.
Claims
1. A control method for a gas water heater, characterized in that, The method includes: Obtain the current inlet water flow rate and current inlet water temperature of the gas water heater; Based on the change in the current inlet water flow rate, determine the change in the required heat of the gas water heater; Based on the change in heat demand and the current inlet flow rate, the outlet water temperature of the heat exchanger after the change is predicted; the changed outlet water temperature is used to characterize the outlet water temperature after the change in the current inlet flow rate relative to the current outlet water temperature of the heat exchanger. Based on the changed outlet water temperature, the current inlet water temperature, and the set temperature of the gas water heater, the target bypass ratio of the gas water heater is determined. Adjust the current bypass ratio of the gas water heater to the target bypass ratio.
2. The method according to claim 1, characterized in that, The process of determining the change in the current influent flow rate includes: Obtain the first inlet water flow rate of the gas water heater before a first duration; the first duration is not less than 2 seconds. Based on the current inlet water flow rate and the first inlet water flow rate, determine the change in the current inlet water flow rate of the gas water heater.
3. The method according to claim 1, characterized in that, The process of determining the change in the current influent flow rate also includes: Obtain the second inlet water flow rate of the gas water heater corresponding to the second time period; Determine the flow difference between the current influent flow rate and the second influent flow rate; The product of the flow difference and the preset adjustment coefficient is taken as the change in the current inlet flow of the gas water heater; wherein the preset adjustment coefficient is between 0 and 1.
4. The method according to claim 2 or 3, characterized in that, Determining the change in the required heat output of the gas water heater based on the change in the current inlet water flow includes: Determine the temperature difference between the set temperature of the gas water heater and the current inlet water temperature; The product of the temperature difference and the change in the current influent flow rate is taken as the change in the required heat.
5. The method according to claim 4, characterized in that, The method of predicting the changed outlet water temperature of the heat exchanger based on the change in demand for heat and the current inlet water flow rate includes: Based on the change in required heat and the current inlet water flow, determine the overall outlet water temperature difference of the gas water heater under the change in the current inlet water flow. Based on the overall water temperature difference, the water temperature after the change in the heat exchanger is predicted.
6. The method according to claim 5, characterized in that, The overall water outlet temperature difference is obtained using the following formula: in, The total water outlet temperature difference of the unit. The value of the change in required heat. The change in the current influent flow rate, The set temperature of the gas water heater. The current inlet water temperature is L, and the current inlet water flow rate is L.
7. The method according to claim 5, characterized in that, The method of predicting the outlet water temperature after the change in the heat exchanger based on the overall outlet water temperature difference includes: Obtain the reference bypass ratio of the gas water heater, which is used to characterize the bypass ratio before the current inlet water flow rate changes; Based on the reference bypass ratio and the overall outlet water temperature difference, the changed outlet water temperature of the heat exchanger is determined.
8. The method according to claim 7, characterized in that, The changed outlet water temperature of the heat exchanger is obtained by the following formula: in, The outlet water temperature after the change in the heat exchanger. The set temperature of the gas water heater. The total water outlet temperature difference of the unit. The reference bypass ratio is... The current inlet water temperature is [value].
9. The method according to claim 5, characterized in that, The method of predicting the changed outlet water temperature of the heat exchanger based on the overall outlet water temperature difference further includes: Obtain the current outlet water temperature of the heat exchanger; The current outlet water temperature of the heat exchanger is summed with the temperature difference between the outlet water of the whole machine to obtain the changed outlet water temperature of the heat exchanger.
10. The method according to claim 1, characterized in that, Determining the target bypass ratio of the gas water heater based on the changed outlet water temperature, the current inlet water temperature, and the set temperature of the gas water heater includes: The difference between the changed outlet water temperature and the set temperature is determined as a first parameter, and the difference between the changed outlet water temperature and the current inlet water temperature is determined as a second parameter. Based on the proportional relationship between the first parameter and the second parameter, the target bypass ratio of the gas water heater is obtained.
11. The method according to claim 1, characterized in that, The method further includes: Obtain the capacity of the heat exchanger; The adjustment lag time is determined based on the capacity of the heat exchanger and the current inlet water flow of the gas water heater. After the adjustment lag time is reached, the current bypass ratio of the gas water heater is adjusted to the target bypass ratio.
12. A control device for a gas water heater, characterized in that, The device includes: The acquisition module is used to acquire the current inlet water flow rate and current inlet water temperature of the gas water heater; The first determining module is used to determine the change in the required heat of the gas water heater based on the change in the current inlet water flow rate. The prediction module is used to predict the changed outlet water temperature of the heat exchanger based on the change in demand heat value and the current inlet water flow rate; the changed outlet water temperature is used to characterize the outlet water temperature after the change in the current inlet water flow rate relative to the current outlet water temperature of the heat exchanger. The second determining module is used to determine the target bypass ratio of the gas water heater based on the changed outlet water temperature, the current inlet water temperature, and the set temperature of the gas water heater. The control module is used to adjust the current bypass ratio of the gas water heater to the target bypass ratio.
13. A gas water heater, characterized in that, Includes a controller and a bypass proportional valve, the controller comprising: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform the control method for a gas water heater as described in any one of claims 1 to 11.
