The present subject matter relates generally to water heater appliances and methods for operating water heater appliances for improved output temperature control.
Certain water heater appliances include a tank therein. Heating elements, such as gas burners, electric resistance elements, or induction elements, heat water within the tank during operation of such water heater appliances. During operation, relatively cold water flows into the tank, and the heating elements operate to heat such water to a predetermined temperature. In particular, the heating elements generally heat water within the tank to a very high temperature. However, the volume of available hot water is generally limited to the volume of the tank.
To provide relatively large volumes of heated water from limited capacity tanks, certain water heater appliances utilize mixing valves. Such mixing valves permit hot water within the water heater's tank to be stored at relatively high temperatures. The mixing valves mix the relatively hot water with relatively cold water in order to bring the temperature of such water down to suitable and/or more usable temperatures. For example, mixing valves may adjust the ratio of hot and cold water to supply heated water at an output temperature suitable for showering, washing hands, etc.
Certain conventional water heater appliances use proportional-integral-derivative (PID) control algorithms to regulate the mixing valve such that an output temperature of the mixing valve reaches a target temperature, e.g., 120 degrees Fahrenheit. Such PID control algorithms typically have fixed proportional, integral, and derivative gains. The control input to the mixing valve is a function of these gains and an error value between the output temperature and the target temperature. Notably, fixed gains may result in a mixing valve response that is too aggressive or too conservative depending on the selected fixed gains and how close the output temperature is to the target temperature, i.e., depending on the magnitude of the error value. For example, relatively large fixed gains will result in the output temperature quickly reaching the target temperature, but also frequently results in large, undesirable overshoots of the target temperature. By contrast, relatively small gains may cause the output temperature to slowly approach the target temperature, but may minimize overshoot and improve stability of the output temperature once the target temperature is reached.
Accordingly, a water heater appliance with features for improving the control of the output temperature of a mixing valve would be useful. More specifically, a method of operating a mixing valve of a water heater appliance to quickly cause an output temperature of the mixing valve to reach the target temperature while minimizing overshoot and improving stability once the target temperature is reached would be particularly beneficial.
The present subject matter provides a water heater appliance and associated methods of operation for regulating an output temperature of a mixing valve to a target temperature. The method includes determining the output temperature and an error value between the output temperature and the target temperature. A controller regulates a mixing valve according to a proportional-integral-derivative (PID) control algorithm for adjusting the output temperature to the predetermined target temperature. A proportional gain, an integral gain, and a derivative gain of the PID control algorithm vary according to a gain schedule depending on the error value between the output temperature and the predetermined target temperature. Additional aspects and advantages of the invention will be set forth in part in the following description, or may be apparent from the description, or may be learned through practice of the invention.
In one exemplary embodiment, a method for controlling a water heater appliance is provided. The method includes determining an output temperature of the water heater appliance and determining an error value between the output temperature and a predetermined target temperature of the water heater appliance. The method further includes regulating a mixing valve according to a proportional-integral-derivative (PID) control algorithm for adjusting the output temperature to the predetermined target temperature, the PID control algorithm having a proportional gain, an integral gain, and a derivative gain. The proportional gain, the integral gain, and the derivative gain vary according to a gain schedule depending on the error value between the output temperature and the predetermined target temperature.
In another exemplary embodiment, a water heater appliance is provided. The water heater appliance includes a tank defining an interior volume for holding water, a cold water conduit configured for directing water into the interior volume of the tank, and a heating assembly for heating water within the tank. A heated water conduit is configured for directing heated water out of the interior volume of the tank and a mixing valve is in fluid communication with the cold water conduit and the heated water conduit, the mixing valve being configured for selectively mixing water from the heated water conduit and water from the cold water conduit to provide mixed water to a mixed water conduit. A controller is operably coupled to the heating assembly and the mixing valve. The controller is configured for determining an output temperature of the mixed water within the mixed water conduit and determining an error value between the output temperature and a predetermined target temperature of the water heater appliance. The controller is further configured for regulating the mixing valve according to a proportional-integral-derivative (PID) control algorithm to adjust the output temperature to the predetermined target temperature, the PID control algorithm having a proportional gain, an integral gain, and a derivative gain. The proportional gain, the integral gain, and the derivative gain vary according to a gain schedule depending on the error value between the output temperature and the predetermined target temperature.
These and other features, aspects and advantages of the present invention will become better understood with reference to the following description and appended claims. The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
A full and enabling disclosure of the present invention, including the best mode thereof, directed to one of ordinary skill in the art, is set forth in the specification, which makes reference to the appended figures.
Reference now will be made in detail to embodiments of the invention, one or more examples of which are illustrated in the drawings. Each example is provided by way of explanation of the invention, not limitation of the invention. In fact, it will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the scope or spirit of the invention. For instance, features illustrated or described as part of one embodiment can be used with another embodiment to yield a still further embodiment. Thus, it is intended that the present invention covers such modifications and variations as come within the scope of the appended claims and their equivalents.
Water heater appliance 100 also includes a cold water conduit 104 and a hot water conduit 106 that are both in fluid communication with a chamber 107 (
Water heater appliance 100 extends longitudinally between a top portion 108 and a bottom portion 109 along a vertical direction V. Thus, water heater appliance 100 is generally vertically oriented. Water heater appliance 100 can be leveled, e.g., such that casing 102 is plumb in the vertical direction V, in order to facilitate proper operation of water heater appliance 100. A drain pan 110 is positioned at bottom portion 109 of water heater appliance 100 such that water heater appliance 100 sits on drain pan 110. Drain pan 110 sits beneath water heater appliance 100 along the vertical direction V, e.g., to collect water that leaks from water heater appliance 100 or water that condenses on an evaporator of water heater appliance 100. It should be understood that water heater appliance 100 is provided by way of example only and that the present subject matter may be used with any suitable water heater appliance.
As an example, mixing valve 120 can selectively adjust between a first position and a second position. In the first position, mixing valve 120 can permit a first flow rate of relatively cool water from cold water conduit 104 (shown schematically with arrow labeled Fcold in
It should be understood that, in certain exemplary embodiments, mixing valve 120 is adjustable between more positions than the first and second positions. In particular, mixing valve 120 may be adjustable between any suitable number of positions in alternative exemplary embodiments. For example, mixing valve 120 may be infinitely adjustable in order to permit fine-tuning of the temperature of water within mixed water conduit 122.
Mixing valve 120 may be an electronic mixing valve. In addition, mixing valve 120 may be positioned within casing 102, e.g., above tank 101. Thus, mixing valve 120 may be integrated within water heater appliance 100. According to still other exemplary embodiments, mixing valve 120 may be positioned remote from water heater appliance 100, e.g., proximate a water consuming device.
Water heater appliance 100 also includes a position sensor 124. Position sensor 124 is configured for determining a position of mixing valve 120. Position sensor 124 can monitor the position of mixing valve 120 in order to assist with regulating the temperature of water within mixed water conduit 122. For example, position sensor 124 can determine when mixing valve 120 is in the first position or the second position in order to ensure that mixing valve 120 is properly or suitably positioned depending upon the temperature of water within mixed water conduit 122 desired or selected. Thus, position sensor 124 can provide feedback regarding the status or position of mixing valve 120.
According to the illustrated exemplary embodiment, water heater appliance 100 also includes a cold water conduit flow detector or first temperature sensor 130, a hot water conduit flow detector or second temperature sensor 132, and a mixed water conduit flow detector or third temperature sensor 134. First temperature sensor 130 is positioned on or proximate cold water conduit 104 and is configured for measuring a temperature of water within cold water conduit 104. Second temperature sensor 132 is positioned on or proximate hot water conduit 106 and is configured for measuring a temperature of water within hot water conduit 106. Third temperature sensor 134 is positioned on or proximate mixed water conduit 122 and is configured for measuring a temperature of water within mixed water conduit 122. According to an exemplary embodiment, third temperature sensor 134 is positioned a sufficient distance downstream of mixing valve 120 (e.g., greater than ten centimeters from mixing valve 120) to allow the cold and hot water to mix fully and provide an accurate temperature measurement.
Water heater appliance 100 further includes a controller 136 that is configured for regulating operation of water heater appliance 100. Controller 136 is in, e.g., operative communication with heating elements 103, mixing valve 120, position sensor 124, and temperature sensors 130, 132, and 134. Thus, controller 136 can selectively activate heating elements 103 in order to heat water within chamber 107 of tank 101. Similarly, controller 136 can selectively operate mixing valve 120 in order to adjust a position of mixing valve 120 and regulate a temperature of water within mixed water conduit 122.
Controller 136 includes memory and one or more processing devices such as microprocessors, CPUs or the like, such as general or special purpose microprocessors operable to execute programming instructions or micro-control code associated with operation of water heater appliance 100. The memory can represent random access memory such as DRAM, or read only memory such as ROM or FLASH. The processor executes programming instructions stored in the memory. The memory can be a separate component from the processor or can be included onboard within the processor. Alternatively, controller 136 may be constructed without using a microprocessor, e.g., using a combination of discrete analog and/or digital logic circuitry (such as switches, amplifiers, integrators, comparators, flip-flops, AND gates, and the like) to perform control functionality instead of relying upon software.
Controller 136 can be positioned at a variety of locations. In the exemplary embodiment shown in
Controller 136 can operate heating elements 103 to heat water within chamber 107 of tank 101. As an example, a user can select or establish a set-point temperature for water within chamber 107 of tank 101, or the set-point temperature for water within chamber 107 of tank 101 may be a default value. Based upon the set-point temperature for water within chamber 107 of tank 101, controller 136 can selectively activate heating elements 103 in order to heat water within chamber 107 of tank 101 to the set-point temperature for water within chamber 107 of tank 101. The set-point temperature for water within chamber 107 of tank 101 can be any suitable temperature. For example, the set-point temperature for water within chamber 107 of tank 101 may be between about one hundred and forty degrees Fahrenheit and about one hundred and eighty-degrees Fahrenheit.
Controller 136 can also operate mixing valve 120 to regulate the temperature of water within mixed water conduit 122. For example, controller 136 can adjust the position of mixing valve 120 in order to regulate the temperature of water within mixed water conduit 122. As an example, a user can select or establish a predetermined target temperature of mixing valve 120, or the target temperature of mixing valve 120 may be a default value. The target temperature of mixing valve 120 can be any suitable temperature. For example, the target temperature of mixing valve 120 may be between about one hundred degrees Fahrenheit and about one hundred and twenty degrees Fahrenheit. In particular, the target temperature of mixing valve 120 may be selected such that the target temperature of mixing valve 120 is less than the set-point temperature for water within chamber 107 of tank 101.
Based upon the target temperature of mixing valve 120, controller 136 can adjust the position of mixing valve 120 in order to change or tweak a ratio of relatively cool water flowing into mixed water conduit 122 from cold water conduit 104 and relatively hot water flowing into mixed water conduit 122 from hot water conduit 106. More specifically, as described in detail below, controller 136 can implement a proportional-integral-derivative (PID) control algorithm to regulate the temperature of water within mixed water conduit 122. In such a manner, mixing valve 120 can utilize water from cold water conduit 104 and hot water conduit 106 to regulate the temperature of water within mixed water conduit 122.
As best illustrated in
The present disclosure is further directed to methods 200 for operating water heater appliances. Method 200 can be used to operate any suitable water heater system. For example, method 200 may be utilized to operate water heater appliance 100 (
Referring now specifically to
Method 200 further includes, at step 220, determining an error value between the output temperature (e.g., determined at step 210) and a predetermined target temperature of the water heater appliance. The target temperature is the desired temperature of the water exiting the mixing valve (e.g., the desired output temperature). The target temperature may be set by the manufacturer as a factory default, may be set by a user using a controller or a control interface, or may be a temperature requested by a water consuming appliance. In addition, the target temperature may be fixed or may vary with time.
Method 200 further includes, at step 230, regulating a mixing valve according to a proportional-integral-derivative (PID) control algorithm for adjusting the output temperature to the predetermined target temperature. The PID control algorithm is a feedback-based control algorithm that continuously calculates an error value (e.g., determined at step 220) and applies a control input (e.g., to mixing valve 120) based on proportional, integral, and derivative terms to minimize the error value (e.g., to drive the output temperature to the target temperature). According to an exemplary embodiment, the control input is used to set a position of a mixing valve to control the proportion of hot and cold water to adjust the output temperature.
When using the PID control algorithm, the control input is a weighted sum of the proportional, integral, and derivative terms. In general, the proportional term accounts for present error values, the integral term accounts for past error values, and the derivative term accounts for possible future error values. Notably, the integral term accumulates over time and may be used to generate a larger control input as the integral error value accumulates. An exemplary PID control algorithm is shown in the following equation, wherein Kp, Ki, and Kd are the proportional, integral, and derivative gain constants, respectively:
u(t)=Kpe(t)+Kl∫e(t)dt+Kd(d e(t)/dt)
Notably, the input to the PID control algorithm is the error value (e.g., determined at step 220). As explained above, when the proportional, integral, and derivative gains are fixed, the PID control algorithm is typically better for either rapidly responding to large error values or providing improved stability when the error value is small (i.e., when the output temperature is close to the target temperature). More specifically, large gains provide rapid response to large temperature excursions (i.e., larger error values), but result in poor stability when the error value is small. By contrast, small gains are ideal for fine-tuning the output temperature when the output temperature is close to the target temperature, but provide a very slow response to larger error values.
Therefore, according to exemplary embodiments of the present subject matter, the proportional gain, the integral gain, and the derivative gain vary according to a gain schedule depending on the error value between the output temperature and the predetermined target temperature. In this regard, the gain values are dependent on the error value, and relatively larger gains may be used when the error value is large, while relatively smaller gains may be used when the error value is small. In this manner, rapid response may be achieved to drive the output temperature to the target temperature when the error value is large. However, when the error value is small, relatively smaller gains may be used to provide improved stability of the output temperature around the target temperature.
An exemplary gain schedule including proportional gains (Kp), integral gains (Kl), and derivative gains (Kd) is illustrated below in Table 1.
It should be appreciated that the four-stage gain schedule illustrated above is used only for the purpose of explaining aspects of the present subject matter. According to exemplary embodiments, the gain schedules may have any suitable number of stages for achieving any suitable purpose. For example, according to an exemplary embodiment, the gain schedule may include only two gain stages. The first gain stage may include relatively large gains, for example, when the error value is greater than ten degrees, greater than twenty degrees, or greater than forty degrees. The second gain stage may include relatively small gains, for example, when the error value is less than ten degrees. Other gain schedules are contemplated and within the scope of the present disclosure.
According to one exemplary embodiment, the PID controller may include a plurality of gain schedules, and may select a specific gain schedule from the plurality of gain schedules to achieve a specific purpose. For example, the gain schedule may be selected to reduce an overshoot of the predetermined target temperature. In this regard, the gains may be very small when the output temperature approaches within a certain threshold of the target temperature, e.g., within about twenty percent of the target temperature. It should be appreciated, that as used herein, terms of approximation, such as “approximately,” “substantially,” or “about,” refer to being within a ten percent margin of error.
According to another exemplary embodiment, the gain schedule may be selected to minimize a time to reach the predetermined target temperature when the error value exceeds a predetermined high error threshold. In this regard, for example, when an error value percentage (i.e., error value divided by the target temperature) is greater than about fifty percent, the gain values may be very large. According to another exemplary embodiment, the gain schedule may be selected to improve the stability of the output temperature when the error value falls below a predetermined low value threshold. In this regard, for example, when the error value percentage is less than about five percent the gains may be very small to provide improved stability.
Referring now to
Referring now specifically to
By contrast, referring now to
Referring now to
Although the plots illustrated in
This written description uses examples to disclose the invention, including the best mode, and also to enable any person skilled in the art to practice the invention, including making and using any devices or systems and performing any incorporated methods. The patentable scope of the invention is defined by the claims, and may include other examples that occur to those skilled in the art. Such other examples are intended to be within the scope of the claims if they include structural elements that do not differ from the literal language of the claims, or if they include equivalent structural elements with insubstantial differences from the literal languages of the claims.