Control parameter adjusting method and device of gas water heater, controller and water heater

By establishing the mapping relationship between water flow and observer bandwidth in the gas water heater, dynamically adjusting the observer bandwidth and controller gain of the self-immune control model, the problem of temperature adjustment mismatch in the gas water heater when the water flow changes is solved, and fast and accurate temperature control is achieved.

CN120488512APending Publication Date: 2025-08-15GUANGDONG WANHE THERMAL ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510893361.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

In the prior art, when the water flow rate of the gas water heater changes, the observator bandwidth adjustment mismatch leads to the problem of slow or over-regulation of the outlet temperature adjustment speed, affecting the accuracy and speed of temperature control.

Method used

By establishing the mapping relationship between water flow and observer bandwidth, dynamically adjust the observer bandwidth and controller gain of the self-immune control model to ensure that the observer bandwidth matches the response time of the gas water heater, and achieve fast and accurate temperature control.

Benefits of technology

It realizes rapid and precise control of the water outlet temperature of the gas water heater when the water flow changes, avoids the overshoot problem caused by fast adjustment speed, and improves the stability and accuracy of temperature adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120488512A_ABST
    Figure CN120488512A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of hot water supply equipment, and discloses a control parameter adjusting method and device of a gas water heater, a controller and the water heater. Determining a target observer bandwidth corresponding to the current water flow based on a mapping relation between the water flow and the observer bandwidth, the mapping relation between the water flow and the observer bandwidth being a positive correlation mapping relation; based on the target observer bandwidth, the observer bandwidth of an active-disturbance-rejection control model is adjusted, and the active-disturbance-rejection control model is used for controlling the outlet water temperature of the gas water heater. When the water flow of the gas water heater changes, the observer bandwidth of the active-disturbance-rejection control model can be dynamically adjusted along with the change of the water flow, it is guaranteed that the observer bandwidth is always matched with the response time of the active-disturbance-rejection control model, and therefore the outlet water temperature of the gas water heater can be rapidly and accurately controlled; and the problems of high adjusting speed and overshoot of the water heater can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of hot water supply equipment, and in particular to a control parameter adjustment method, device, controller and water heater for a gas water heater. Background Art

[0002] In related technologies, Linear Active Disturbance Rejection Control (LADRC) technology is usually used to control gas water heaters to ensure that the outlet water temperature of the gas water heater remains stable. The observer bandwidth of the linear active disturbance rejection control model directly affects the speed of temperature regulation. The observer bandwidth can effectively track the frequency range of system state changes. A high-bandwidth observer bandwidth can respond to changes quickly but is easily affected by noise; a low-bandwidth observer bandwidth has strong noise immunity but takes longer to respond. In related technologies, the observer bandwidth is usually adjusted according to the fluctuation of the water flow rate. When the water flow rate fluctuates greatly, a larger observer bandwidth is used to quickly adjust the load of the gas water heater.

[0003] However, because gas water heaters use a heat exchanger to transfer heat to water, once the outlet water temperature stabilizes at a certain level, adjusting the combustion load will require time for the water temperature to stabilize again. This means that there is a response time associated with regulating the outlet water temperature. The aforementioned related technologies often overlook the variation in the gas water heater's response time during the observer bandwidth adjustment process. If the gas water heater's response time is short, a small observer bandwidth will result in slow regulation and lag in water heater regulation, preventing rapid and accurate control of the gas water heater's outlet water temperature. If the response time is long, a large observer bandwidth will result in rapid regulation and overshoot of the water heater. Summary of the Invention

[0004] The first technical problem solved by the present invention is to provide a method for adjusting control parameters of a gas water heater, which effectively solves the problem that the outlet water temperature of the gas water heater cannot be quickly and accurately controlled.

[0005] The second technical problem solved by the present invention is to provide a control parameter adjustment device for a gas water heater, which effectively solves the problem of being unable to quickly and accurately control the outlet water temperature of the gas water heater.

[0006] The third technical problem solved by the present invention is to provide a controller which effectively solves the problem of being unable to quickly and accurately control the outlet water temperature of the gas water heater.

[0007] The fourth technical problem solved by the present invention is to provide a gas water heater, which effectively solves the problem of being unable to quickly and accurately control the outlet water temperature of the gas water heater.

[0008] The first technical problem mentioned above is solved by the following technical solution:

[0009] A method for adjusting control parameters of a gas water heater, the method comprising:

[0010] Get the current water flow of the gas water heater;

[0011] Based on the mapping relationship between water flow and observer bandwidth, the target observer bandwidth corresponding to the current water flow is determined. The mapping relationship between water flow and observer bandwidth is a positively correlated mapping relationship.

[0012] Based on the target observer bandwidth, the observer bandwidth of an active disturbance rejection control model is adjusted, wherein the active disturbance rejection control model is used to control the outlet water temperature of a gas water heater.

[0013] Compared with the background art, the control parameter adjustment method of the gas water heater described in the present invention has the following beneficial effects: by establishing a mapping relationship between water flow and observer bandwidth, when the water flow of the gas water heater changes, the target observer bandwidth corresponding to the current water flow can be determined based on the mapping relationship between water flow and observer bandwidth, and the observer bandwidth of the active disturbance rejection control model is adjusted based on the target observer bandwidth. Since changes in water flow will cause changes in the response time of the gas water heater, the larger the water flow, the shorter the response time, and the smaller the water flow, the longer the response time. By dynamically adjusting the observer bandwidth of the active disturbance rejection control model according to changes in water flow, it is ensured that the observer bandwidth and the response time of the active disturbance rejection control model are always matched. Therefore, the outlet water temperature of the gas water heater can be quickly and accurately controlled, and the problem of fast adjustment speed and water heater overshoot can be avoided.

[0014] In one embodiment, determining a target observer bandwidth corresponding to a current water flow rate based on a mapping relationship between the water flow rate and the observer bandwidth includes:

[0015] Based on the current water flow, a first mapping table is searched to obtain a target observer bandwidth corresponding to the current water flow. The first mapping table is used to store a mapping relationship between the water flow and the observer bandwidth.

[0016] In one embodiment, the water flow rate and the observer bandwidth are linearly positively correlated.

[0017] When the water flow rate is the water flow rate threshold, the corresponding observer bandwidth is the preset bandwidth;

[0018] The water flow threshold is the starting water flow that triggers the gas water heater to start heating, and the preset bandwidth is the minimum value of the observer bandwidth of the set active disturbance rejection control model.

[0019] In one embodiment, the method further comprises:

[0020] Get the current outlet water temperature of the gas water heater;

[0021] Calculate the current temperature difference between the target temperature of the gas water heater and the current outlet water temperature;

[0022] Based on the mapping relationship between the temperature difference and the controller coefficient, the target controller coefficient corresponding to the current temperature difference is determined. The mapping relationship between the temperature difference and the controller coefficient is a positively correlated mapping relationship.

[0023] Based on the target controller coefficients, the controller gains of the active disturbance rejection control model are adjusted.

[0024] In one embodiment, determining a target controller coefficient corresponding to the current temperature difference based on a mapping relationship between the temperature difference and the controller coefficient includes:

[0025] Based on the current temperature difference, the second mapping table is searched to obtain the target controller coefficient corresponding to the current temperature difference. The second mapping table is used to store the mapping relationship between the temperature difference and the controller coefficient.

[0026] In one embodiment, there is a linear positive correlation mapping relationship between the temperature difference and the controller coefficient;

[0027] When the temperature difference is the temperature difference threshold, the corresponding controller coefficient is the preset coefficient;

[0028] The temperature difference threshold is the outlet water temperature when the gas water heater is triggered to start heating, and the preset coefficient is the maximum value of the controller coefficient of the set active disturbance rejection control model.

[0029] In one embodiment, the controller gain includes a proportional gain and a derivative gain; and adjusting the controller gain of the active disturbance rejection control model based on the target controller coefficient includes:

[0030] Based on the square of the target controller coefficient, the proportional gain is adjusted;

[0031] The derivative gain is adjusted based on the product of the target controller coefficient and the preset gain coefficient.

[0032] The second technical problem mentioned above is solved by the following technical solution:

[0033] A control parameter adjustment device for a gas water heater, comprising:

[0034] Water flow acquisition module, used to obtain the current water flow of the gas water heater;

[0035] An observer bandwidth determination module is used to determine a target observer bandwidth corresponding to the current water flow rate based on a mapping relationship between the water flow rate and the observer bandwidth, where the mapping relationship between the water flow rate and the observer bandwidth is a positively correlated mapping relationship;

[0036] The observer bandwidth adjustment module is used to adjust the observer bandwidth of the active disturbance rejection control model based on the target observer bandwidth, wherein the active disturbance rejection control model is used to control the outlet water temperature of the gas water heater.

[0037] The third technical problem mentioned above is solved by the following technical solution:

[0038] A controller comprising:

[0039] The memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the control parameter adjustment method of the gas water heater described in any of the above embodiments by executing the computer instructions.

[0040] The fourth technical problem mentioned above is solved by the following technical solution:

[0041] A gas water heater includes the controller described in the above embodiment. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0043] Figure 1 1 is a schematic diagram of an active disturbance rejection control model in a control parameter adjustment method for a gas water heater provided by an embodiment of the present invention;

[0044] Figure 2 This is a flow chart of a method for adjusting control parameters of a gas water heater provided by an embodiment of the present invention;

[0045] Figure 3 This is a flow chart of adjusting controller gain in a method for adjusting control parameters of a gas water heater provided by an embodiment of the present invention;

[0046] Figure 4 This is a structural diagram of a control parameter adjustment device for a gas water heater provided by an embodiment of the present invention;

[0047] Figure 5 It is a structural diagram of a controller provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0049] In the description of this application, it should be understood that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application.

[0050] 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 the technical features being referred to. Thus, a feature specified as "first" or "second" may explicitly or implicitly include one or more of such features. Throughout this application, unless otherwise specified, "plurality" means two or more.

[0051] In the description of this application, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections; mechanical connections or electrical connections; direct connections or indirect connections through an intermediate medium; and internal connections between two components. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances.

[0052] In related technologies, linear active disturbance rejection control (LADRC) technology is usually used to control gas water heaters to ensure that the outlet water temperature of the gas water heater remains stable. The observer bandwidth of the linear active disturbance rejection control model directly affects the speed of temperature regulation, and the observer bandwidth can effectively track the frequency range of system state changes. A high-bandwidth observer bandwidth, such as 500Hz, can respond to changes quickly but is easily affected by noise; a low-bandwidth observer bandwidth, such as 50Hz, has strong noise immunity but a longer response time. In related technologies, the observer bandwidth is usually adjusted according to the fluctuation of water flow. When the water flow fluctuation is large, a larger observer bandwidth is used to quickly adjust the load of the gas water heater.

[0053] However, because gas water heaters use a heat exchanger to transfer heat to water, once the outlet water temperature stabilizes at a certain level, adjusting the combustion load will require time for the water temperature to stabilize again. This means that there is a response time associated with regulating the outlet water temperature. The aforementioned related technologies often overlook the variation in the gas water heater's response time during the observer bandwidth adjustment process. If the gas water heater's response time is short, a small observer bandwidth will result in slow regulation and lag in water heater regulation, preventing rapid and accurate control of the gas water heater's outlet water temperature. If the response time is long, a large observer bandwidth will result in rapid regulation and overshoot of the water heater.

[0054] In addition, the controller gain of the linear ADRC model also affects the speed and accuracy of temperature regulation. If the integral gain of the linear ADRC model is too large, the system output may diverge due to an increase in the number of system oscillations, affecting the accuracy of temperature regulation. If the differential gain of the linear ADRC model is too large, the system response may be prematurely braked, resulting in a longer regulation time, affecting the speed of temperature regulation.

[0055] Based on this, an embodiment of the present invention provides a control parameter adjustment method for a gas water heater, the method comprising: obtaining a current water flow rate of the gas water heater; determining a target observer bandwidth corresponding to the current water flow rate based on a mapping relationship between the water flow rate and the observer bandwidth, wherein the mapping relationship between the water flow rate and the observer bandwidth is a positively correlated mapping relationship; and adjusting the observer bandwidth of an active disturbance rejection control model based on the target observer bandwidth, wherein the active disturbance rejection control model is used to control the outlet water temperature of the gas water heater. Therefore, by establishing a mapping relationship between water flow and observer bandwidth, when the water flow of the gas water heater changes, the target observer bandwidth corresponding to the current water flow can be determined based on the mapping relationship between water flow and observer bandwidth, and the observer bandwidth of the active disturbance rejection control model can be adjusted based on the target observer bandwidth. Since changes in water flow will cause changes in the response time of the gas water heater, the larger the water flow, the shorter the response time, and the smaller the water flow, the longer the response time. By dynamically adjusting the observer bandwidth of the active disturbance rejection control model according to changes in water flow, it is ensured that the observer bandwidth and the response time of the active disturbance rejection control model always match. In this way, the outlet water temperature of the gas water heater can be quickly and accurately controlled, and the problem of fast adjustment speed and water heater overshoot can be avoided.

[0056] The following combination Figures 1 to 5 , describing embodiments of the present invention.

[0057] Figure 1 is a schematic diagram of an active disturbance rejection control model in a control parameter adjustment method for a gas water heater provided by an embodiment of the present invention, such as Figure 1As shown in Figure 3, the ADRC model consists of three parts: a linear tracking differentiator (TD), a linear extended state observer (ESO), and a state error feedback control law (SEF).

[0058] Among them, the linear tracking differentiator (TD) is used to arrange the transition process to smooth the sudden change of the reference signal and avoid overshoot or oscillation of the system due to the step change of the instruction. At the same time, the differential signal of the reference signal is extracted to construct the error feedback. The specific working method is shown in the following formula (1):

[0059]

[0060] Wherein, v0 is the target signal, v1 is the tracking signal output by the linear tracking differentiator (TD), and v2 is the differential signal of the tracking signal output by the linear tracking differentiator (TD); r is the tracking speed factor, which is used to determine the tracking speed of the linear tracking differentiator (TD).

[0061] The linear extended state observer (ESO) is used to perform state estimation and disturbance estimation, that is, to observe the system state in real time and expand the sum of disturbances caused by model uncertainty, external disturbances, etc. into new state variables for observation. The specific working method is shown in the following formula (2):

[0062]

[0063] Among them, z1 is the tracking value of the input signal, z2 is the differential signal of z1, z3 is the interference estimator, y is the set target value, and l1, l2, and l3 are adjustable parameters.

[0064] Observer gain Where ω0 is the observer bandwidth, which affects the convergence speed of the linear extended state observer (ESO). The larger the observer bandwidth, the faster z1 tracks the input signal, the faster z2 tracks the differential of the input signal, and the smaller the lag of z3 in estimating the disturbance.

[0065] The state error feedback control law (SEF) is used to combine the tracking signal and its differential signal of the transient process output by the linear tracking differentiator (TD) and the disturbance estimate output by the linear extended state observer (ESO), and obtain the control variable through a linear combination of the proportional-integral (PD) controller. The specific working method is shown in the following formula (3):

[0066] u0=K p (v1-z1)+K d (v2-z2) Formula (3)

[0067] Among them, u0 is the output control quantity; K p is the proportional gain, K dis the differential gain.

[0068] Proportional gain Differential gain K d =2ω c ; Among them, ω c is the controller coefficient.

[0069] According to an embodiment of the present invention, on the one hand, a method for adjusting control parameters of a gas water heater is provided. Figure 2 FIG. 1 is a flow chart of a method for adjusting control parameters of a gas water heater provided by an embodiment of the present invention. Figure 2 As shown, the method may include:

[0070] Step S201, obtaining the current water flow of the gas water heater.

[0071] In an embodiment of the present invention, a flow sensor detects the current water flow of a gas water heater in real time. When a change in the current water flow is detected, an observer bandwidth adjustment step is performed. If the change in the water flow reaches a preset threshold within a first preset time period, the current water flow is determined to have changed.

[0072] Step S202 : determining a target observer bandwidth corresponding to the current water flow rate based on a mapping relationship between the water flow rate and the observer bandwidth.

[0073] In an embodiment of the present invention, the mapping relationship between water flow and observer bandwidth is a positively correlated mapping relationship. The mapping relationship between water flow and observer bandwidth is used to characterize the observer bandwidth that matches the disturbance estimate with the actual response change of the gas water heater at various water flow rates. The mapping relationship between water flow and observer bandwidth is pre-established and stored in the controller. When the current water flow rate changes, the mapping relationship between water flow and observer bandwidth can be directly called to determine the target observer bandwidth corresponding to the current water flow rate.

[0074] In the embodiment of the present invention, the observer bandwidth corresponding to the current water flow rate is determined from the mapping relationship between the water flow rate and the observer bandwidth, and is used as the target observer bandwidth.

[0075] In one embodiment, the mapping relationship between water flow and observer bandwidth is different for different gas water heater models. A mapping relationship between water flow and observer bandwidth is established for each gas water heater model, and when in use, the mapping relationship between water flow and observer bandwidth corresponding to the current gas water heater model is called.

[0076] In one embodiment, the mapping relationship between water flow and observer bandwidth can be stored in various forms, such as a mapping table and a fitting curve, without specific limitation. In this embodiment, a mapping table is used as an example. Based on the current water flow, a first mapping table is searched to obtain a target observer bandwidth corresponding to the current water flow. The first mapping table is used to store the mapping relationship between water flow and observer bandwidth.

[0077] In one embodiment, a linear positive correlation is established between the water flow rate and the observer bandwidth. When the water flow rate is a water flow rate threshold, the corresponding observer bandwidth is a preset bandwidth; wherein the water flow rate threshold is the starting water flow rate that triggers the gas water heater to start heating, i.e., the minimum water flow rate during the gas water heater's heating operation, and the preset bandwidth is the minimum value of the observer bandwidth of the set active disturbance rejection control model. As the water flow rate increases, the response of the outlet water temperature of the gas water heater changes faster. At this time, based on the mapping relationship between the water flow rate and the observer bandwidth, the observer bandwidth increases accordingly, the disturbance estimation of the active disturbance rejection control model increases, and the response time becomes shorter, thereby accelerating the control and regulation of the gas water heater, consistent with the response change of the outlet water temperature of the gas water heater.

[0078] In one embodiment, a first water flow threshold and a second water flow threshold may be set in the mapping relationship between water flow and observer bandwidth. The first water flow threshold may be the starting water flow that triggers the gas water heater to start heating, i.e., the minimum water flow during heating operation. Accordingly, the observer bandwidth corresponding to the first water flow threshold is set to a first preset bandwidth, i.e., the minimum value of the observer bandwidth of the active disturbance rejection control model, and the observer bandwidth corresponding to the second water flow threshold is set to a second preset bandwidth, i.e., the maximum value of the observer bandwidth of the active disturbance rejection control model. When the water flow is less than the first water flow threshold, the first preset bandwidth is used as the observer bandwidth corresponding to the water flow. When the water flow is between the first and second water flow thresholds, a linear positive correlation is established between the water flow and the observer bandwidth. When the water flow is greater than the second water flow threshold, the second preset bandwidth is used as the observer bandwidth corresponding to the water flow. Taking a 16L / min gas water heater as an example, the first water flow threshold can be set to 4L / min, the second water flow threshold can be set to 10L / min, the first preset bandwidth can be set to 0.7, and the second preset bandwidth can be set to 1.0. When the water flow is less than 4L / min, an observer bandwidth of 0.7 is used. When the water flow is between 4L / min and 10L / min, the observer bandwidth is calculated based on a linear relationship. When the water flow is greater than 10L / min, an observer bandwidth of 1.0 is used.

[0079] Step S203: adjusting the observer bandwidth of the active disturbance rejection control model based on the target observer bandwidth.

[0080] In this embodiment of the present invention, an ADRC model is used to control the outlet water temperature of a gas water heater. The ADRC model's observer bandwidth is adjusted to the target observer bandwidth to ensure that the observer bandwidth and the ADRC model's response time consistently match, thereby ensuring rapid and accurate control of the gas water heater's outlet water temperature.

[0081] The control parameter adjustment method for a gas water heater provided in an embodiment of the present invention establishes a mapping relationship between water flow and observer bandwidth. When the water flow of the gas water heater changes, the target observer bandwidth corresponding to the current water flow can be determined based on the mapping relationship between the water flow and the observer bandwidth. The observer bandwidth of the active disturbance rejection control model is adjusted based on the target observer bandwidth. Since changes in the water flow rate can cause changes in the response time of the gas water heater, a greater water flow rate shortens the response time, while a smaller water flow rate lengthens the response time. By dynamically adjusting the observer bandwidth of the active disturbance rejection control model in response to changes in the water flow rate, the observer bandwidth is ensured to always match the response time of the active disturbance rejection control model. This allows for rapid and precise control of the outlet water temperature of the gas water heater, and avoids problems such as rapid adjustment speed and water heater overshoot.

[0082] In one embodiment, in order to avoid the controller gain mismatch of the linear active disturbance rejection control model affecting the speed and accuracy of temperature regulation, the method also includes a method for adjusting the controller gain. Specifically, Figure 3 FIG. 1 is a flow chart of adjusting controller gain in a control parameter adjustment method for a gas water heater provided by an embodiment of the present invention. Figure 3 As shown, the method further includes:

[0083] Step S301, obtaining the current outlet water temperature of the gas water heater.

[0084] In this embodiment of the present invention, a temperature sensor disposed on the outlet pipe of the gas water heater detects the current outlet water temperature of the gas water heater in real time. When a change in the current outlet water temperature is detected, a controller gain adjustment step is performed. If the change in the outlet water temperature reaches a preset temperature difference within a second preset time period, a change in the current outlet water temperature is determined.

[0085] Step S302: Calculate the current temperature difference between the target temperature of the gas water heater and the current outlet water temperature.

[0086] In the embodiment of the present invention, the current temperature difference is calculated by subtracting the target temperature of the gas water heater from the current outlet water temperature, wherein the target temperature of the gas water heater is a preset outlet water temperature.

[0087] Step S303: determining a target controller coefficient corresponding to the current temperature difference based on a mapping relationship between the temperature difference and the controller coefficient.

[0088] In an embodiment of the present invention, the mapping relationship between the temperature difference and the controller coefficient is a positively correlated mapping relationship, and the mapping relationship between the temperature difference and the controller coefficient is used to characterize the controller coefficient that matches the controller gain and the actual working condition of the gas water heater under various temperature differences; the mapping relationship between the temperature difference and the controller coefficient is pre-established and stored in the controller. When the current outlet water temperature changes, the mapping relationship between the temperature difference and the controller coefficient can be directly called to determine the target controller coefficient corresponding to the current temperature difference.

[0089] In the embodiment of the present invention, the controller coefficient corresponding to the current temperature difference is determined from the mapping relationship between the temperature difference and the controller coefficient, and is used as the target controller coefficient.

[0090] In one embodiment, the mapping relationship between temperature difference and controller coefficient is different for different gas water heater models; for different gas water heater models, a mapping relationship between temperature difference and controller coefficient is established respectively, and when in use, the mapping relationship between temperature difference and controller coefficient corresponding to the current gas water heater model is called.

[0091] In one embodiment, the mapping relationship between the temperature difference and the controller coefficient can be stored in various forms, such as a mapping table and a fitting curve, without specific limitation herein. In this embodiment, a mapping table is used as an example. Accordingly, based on the current temperature difference, a second mapping table is searched to obtain a target controller coefficient corresponding to the current temperature difference. The second mapping table is used to store the mapping relationship between the temperature difference and the controller coefficient.

[0092] In one embodiment, there is a linear positive correlation mapping relationship between the temperature difference and the controller coefficient. When the temperature difference is a temperature difference threshold, the corresponding controller coefficient is a preset coefficient; wherein the temperature difference threshold is the outlet water temperature when the gas water heater is triggered to start heating, that is, the maximum temperature difference during the heating operation of the gas water heater, and the preset coefficient is the maximum value of the controller coefficient of the set self-disturbance rejection control model. As the outlet water temperature rises, the current temperature difference continues to decrease. At this time, based on the mapping relationship between the temperature difference and the controller coefficient, the controller coefficient decreases accordingly, and the corresponding controller gain decreases accordingly. The number of oscillations of the self-disturbance rejection control model decreases, avoiding output divergence and resulting in a decrease in the regulation accuracy of the outlet water temperature of the gas water heater. At the same time, the response to the speed error is weakened to avoid premature braking of the response, which causes the regulation time of the outlet water temperature of the gas water heater to become longer.

[0093] Step S304: adjusting the controller gain of the active disturbance rejection control model based on the target controller coefficient.

[0094] In an embodiment of the present invention, the target controller gain of the active disturbance rejection control model is determined based on the target controller coefficient, and the controller gain of the active disturbance rejection control model is adjusted to the target controller gain, thereby ensuring that the controller gain of the active disturbance rejection control model always matches the current water outlet temperature of the gas water heater, thereby ensuring rapid and accurate control of the water outlet temperature of the gas water heater.

[0095] In one embodiment, the controller gain includes a proportional gain and a differential gain; wherein the proportional gain Differential gain K d =2ω c A target proportional gain is obtained based on the square of the target controller coefficient, and the proportional gain is adjusted to adjust the proportional gain to the target proportional gain; a target differential gain is obtained based on the product of the target controller coefficient and a preset gain coefficient, and the differential gain is adjusted to adjust the differential gain to the target differential gain, wherein the preset gain coefficient is 2.

[0096] An embodiment of the present invention provides a method for adjusting control parameters of a gas water heater, comprising: obtaining a current water flow rate of the gas water heater; determining a target observer bandwidth corresponding to the current water flow rate based on a mapping relationship between the water flow rate and the observer bandwidth, wherein the mapping relationship between the water flow rate and the observer bandwidth is a positively correlated mapping relationship; and adjusting the observer bandwidth of an active disturbance rejection control model based on the target observer bandwidth, wherein the active disturbance rejection control model is used to control the outlet water temperature of the gas water heater. Thus, by establishing a mapping relationship between the water flow rate and the observer bandwidth, when the water flow rate of the gas water heater changes, the target observer bandwidth corresponding to the current water flow rate can be determined based on the mapping relationship between the water flow rate and the observer bandwidth, and the observer bandwidth of the active disturbance rejection control model can be adjusted based on the target observer bandwidth. Since changes in water flow rate can cause changes in the response time of the gas water heater, with a greater water flow rate resulting in a shorter response time and a smaller water flow rate resulting in a longer response time, the observer bandwidth of the active disturbance rejection control model is dynamically adjusted in response to changes in the water flow rate, ensuring that the observer bandwidth and the response time of the active disturbance rejection control model are always matched. This allows for rapid and precise control of the outlet water temperature of the gas water heater, while avoiding problems such as rapid adjustment speed and water heater overshoot.

[0097] According to another aspect of an embodiment of the present invention, a control parameter adjustment device for a gas water heater is provided. Figure 4 FIG. 1 is a schematic structural diagram of a control parameter adjustment device for a gas water heater provided by an embodiment of the present invention. Figure 4 As shown, the device includes:

[0098] The water flow acquisition module 401 is used to obtain the current water flow of the gas water heater;

[0099] An observer bandwidth determination module 402 is configured to determine a target observer bandwidth corresponding to the current water flow rate based on a mapping relationship between the water flow rate and the observer bandwidth, wherein the mapping relationship between the water flow rate and the observer bandwidth is a positively correlated mapping relationship;

[0100] The observer bandwidth adjustment module 403 is used to adjust the observer bandwidth of the active disturbance rejection control model based on the target observer bandwidth, wherein the active disturbance rejection control model is used to control the outlet water temperature of the gas water heater.

[0101] In one embodiment, the observer bandwidth determination module 402 includes:

[0102] The first mapping table search unit is configured to search the first mapping table based on the current water flow rate to obtain a target observer bandwidth corresponding to the current water flow rate. The first mapping table is configured to store a mapping relationship between the water flow rate and the observer bandwidth.

[0103] In one embodiment, the water flow rate and the observer bandwidth are in a linear positive correlation mapping relationship;

[0104] When the water flow rate is the water flow rate threshold, the corresponding observer bandwidth is the preset bandwidth;

[0105] The water flow threshold is the starting water flow that triggers the gas water heater to start heating, and the preset bandwidth is the minimum value of the observer bandwidth of the set active disturbance rejection control model.

[0106] In one embodiment, the apparatus further comprises:

[0107] The outlet water temperature acquisition module is used to obtain the current outlet water temperature of the gas water heater;

[0108] A temperature difference calculation module is used to calculate the current temperature difference between the target temperature of the gas water heater and the current outlet water temperature;

[0109] A controller coefficient determination module is used to determine a target controller coefficient corresponding to the current temperature difference based on a mapping relationship between the temperature difference and the controller coefficient, where the mapping relationship between the temperature difference and the controller coefficient is a positively correlated mapping relationship;

[0110] The controller gain adjustment module is used to adjust the controller gain of the active disturbance rejection control model based on the target controller coefficient.

[0111] In one embodiment, the controller coefficient determination module includes:

[0112] The second mapping table search unit is used to search the second mapping table based on the current temperature difference to obtain the target controller coefficient corresponding to the current temperature difference. The second mapping table is used to store the mapping relationship between the temperature difference and the controller coefficient.

[0113] In one embodiment, there is a linear positive correlation mapping relationship between the temperature difference and the controller coefficient;

[0114] When the temperature difference is the temperature difference threshold, the corresponding controller coefficient is the preset coefficient;

[0115] The temperature difference threshold is the outlet water temperature when the gas water heater is triggered to start heating, and the preset coefficient is the maximum value of the controller coefficient of the set active disturbance rejection control model.

[0116] In one embodiment, the controller gain includes a proportional gain and a differential gain; and the controller gain adjustment module includes:

[0117] A proportional gain adjustment unit, for adjusting the proportional gain based on the square of the target controller coefficient;

[0118] The differential gain adjustment unit is used to adjust the differential gain based on the product of the target controller coefficient and the preset gain coefficient.

[0119] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0120] The control parameter adjustment device of the gas water heater in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0121] According to an embodiment of the present invention, on the other hand, an embodiment of the present invention further provides a controller having the above Figure 5 The control parameter adjustment device of the gas water heater shown.

[0122] See also Figure 5 , Figure 5 : is a schematic diagram of the structure of a controller provided by an embodiment of the present invention, such as Figure 5As shown, the controller includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components utilize different buses to communicate with each other and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the controller, including instructions stored in or on the memory to display graphical information of a GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple controllers can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.

[0123] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.

[0124] The memory 20 stores instructions that can be executed by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0125] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of the controller, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the controller via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0126] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0127] The controller further includes a communication interface 30 for the controller to communicate with other devices or a communication network.

[0128] According to an embodiment of the present invention, on the other hand, an embodiment of the present invention further provides a gas water heater, the gas water heater comprising the above Figure 5 Controller shown.

[0129] The embodiment of the present invention also provides a computer-readable storage medium. The above-mentioned method according to the embodiment of the present invention can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.

[0130] A portion of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the form in which the computer program instruction exists in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc. Accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium that can be accessed by the computer.

[0131] In the specific contents of the above-mentioned specific implementation methods, the various technical features can be combined in any non-contradictory manner. In order to make the description concise, not all possible combinations of the above-mentioned technical features are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0132] The specific contents of the above specific embodiments merely represent several embodiments of the present invention. Although the description is relatively specific and detailed, it should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art may make various modifications and improvements without departing from the scope of the present invention, and such modifications and improvements shall fall within the scope of protection of the present invention.

Claims

1. A method for adjusting control parameters of a gas water heater, characterized in that: The method comprises: Obtaining the current water flow of the gas water heater; Determining a target observer bandwidth corresponding to the current water flow rate based on a mapping relationship between the water flow rate and the observer bandwidth, wherein the mapping relationship between the water flow rate and the observer bandwidth is a positively correlated mapping relationship; Based on the target observer bandwidth, an observer bandwidth of an active disturbance rejection control model is adjusted, wherein the active disturbance rejection control model is used to control the outlet water temperature of the gas water heater.

2. The method according to claim 1, characterized in that The determining, based on the mapping relationship between the water flow rate and the observer bandwidth, a target observer bandwidth corresponding to the current water flow rate includes: Based on the current water flow, a first mapping table is searched to obtain the target observer bandwidth corresponding to the current water flow, wherein the first mapping table is used to store a mapping relationship between the water flow and the observer bandwidth.

3. The method according to claim 1 or 2, characterized in that There is a linear positive correlation mapping relationship between the water flow and the observer bandwidth; When the water flow rate is the water flow rate threshold, the corresponding observer bandwidth is the preset bandwidth; The water flow threshold is the starting water flow that triggers the gas water heater to start heating, and the preset bandwidth is the minimum value of the observer bandwidth of the active disturbance rejection control model.

4. The method according to claim 1, wherein The method further comprises: Obtain the current outlet water temperature of the gas water heater; Calculating a current temperature difference between a target temperature of the gas water heater and the current outlet water temperature; Determining a target controller coefficient corresponding to the current temperature difference based on a mapping relationship between the temperature difference and the controller coefficient, wherein the mapping relationship between the temperature difference and the controller coefficient is a positively correlated mapping relationship; Based on the target controller coefficient, the controller gain of the active disturbance rejection control model is adjusted.

5. The method according to claim 4, characterized in that The determining of the target controller coefficient corresponding to the current temperature difference based on the mapping relationship between the temperature difference and the controller coefficient includes: Based on the current temperature difference, a second mapping table is searched to obtain the target controller coefficient corresponding to the current temperature difference, and the second mapping table is used to store a mapping relationship between the temperature difference and the controller coefficient.

6. The method according to claim 4 or 5, characterized in that There is a linear positive correlation mapping relationship between the temperature difference and the controller coefficient; When the temperature difference is the temperature difference threshold, the corresponding controller coefficient is the preset coefficient; The temperature difference threshold is the outlet water temperature when the gas water heater is triggered to start heating, and the preset coefficient is the maximum value of the controller coefficient of the active disturbance rejection control model.

7. The method according to claim 4, characterized in that The controller gain includes a proportional gain and a differential gain; and adjusting the controller gain of the active disturbance rejection control model based on the target controller coefficient includes: adjusting the proportional gain based on the square of the target controller coefficient; The derivative gain is adjusted based on the product of the target controller coefficient and a preset gain coefficient.

8. A control parameter adjustment device for a gas water heater, characterized in that: The device comprises: A water flow acquisition module, used to acquire the current water flow of the gas water heater; an observer bandwidth determination module, configured to determine a target observer bandwidth corresponding to the current water flow rate based on a mapping relationship between the water flow rate and the observer bandwidth, wherein the mapping relationship between the water flow rate and the observer bandwidth is a positively correlated mapping relationship; An observer bandwidth adjustment module is used to adjust the observer bandwidth of an active disturbance rejection control model based on the target observer bandwidth, wherein the active disturbance rejection control model is used to control the outlet water temperature of the gas water heater.

9. A controller, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the control parameter adjustment method of the gas water heater according to any one of claims 1 to 7 by executing the computer instructions.

10. A gas water heater, characterized in that: Includes the controller according to claim 9.