Proportional-integral (PI) feedback control can be used to regulate disturbances and achieve desired setpoints in HVAC systems. One example of a component in an HVAC system that can use such PI feedback control is a fan coil unit (FCU), which can regulate fan speed, cooling/heating medium flow, and/or other variables to meet desired temperature of a zone. The PI parameters, proportional gain and integral time can, however, be difficult to determine and pre-set, prior to commissioning of the HVAC system. Further, when implemented, such HVAC systems and components can be affected by a variety of time-dependent variables that often make a single set of PI parameters unsuitable for indefinite use. As a result, PI parameter re-tuning is often desired, allowing the controller to respond to changes in the characteristics of the system.
To provide such dynamic system control, the HVAC system controllers may be re-tuned while online. Tuning may be manual, proceeding by trial-and-error, or may be automatic. Manual tuning is often time consuming and can lead to sub-optimal results, for example, by introducing human error. Further, automatic tuning or “autotuning” is frequently inaccurate and/or unreliable. If a process disturbance occurs during such autotuning, the controller can erroneously set the PI parameters as if the transitory disturbance was part of the system cause-effect response. Further, system models, often used to estimate the tuning parameters from information measured in the system, can be difficult to identify online.
What is needed are systems and methods for autotuning an HVAC system controller.
Embodiments of the disclosure may provide an exemplary method for autotuning an HVAC system controller. The method may include receiving a performance coefficient, and providing a step-input using an autotuner relay to measure an ultimate gain and an ultimate period in a controlled HVAC system. The method may also include adjusting the ultimate gain and the ultimate period to account for a relay hysteresis, and applying a tuning rule to derive a proportional gain and an integral time for a controller of the HVAC system control loop. The method may further include updating the controller with the proportional gain and integral time, and verifying the proportional gain and integral time. Verifying the proportional gain and integral time may include setting a performance envelope having a tightness related to the performance coefficient, applying a step-input to provoke a closed-loop response, and comparing the closed loop response with the performance envelope to determine whether the closed-loop response is within the envelope.
Embodiments of the disclosure may provide an exemplary HVAC system. The HVAC system may include a fan coil unit including a fan and a heat exchange coil, a duct extending between the fan coil unit and a volume of air, and a sensor disposed in or proximal to the volume of air and configured to sense the air temperature of a certain zone. The HVAC system may also include a controller coupled to the fan coil unit and the sensor and configured to receive a signal from the sensor and provide a signal to the fan coil unit so as to regulate the air temperature of a certain zone. The controller may include an input device that is selectable to provide a performance coefficient to the controller so as to provide a performance envelope to verify a controller autotuning result.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate aspects of the present teachings and together with the description, serve to explain principles of the present teachings. In the figures:
Reference will now be made in detail to various embodiments of the present teachings, an example of which is illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.
In the following description, reference is made to the accompanying drawings that form a part thereof, and in which is shown by way of illustration specific implementations in which may be practiced. These implementations are described in sufficient detail to enable those skilled in the art to practice these implementations and it is to be understood that other implementations may be utilized and that changes may be made without departing from the scope of the present teachings. The following description is, therefore, merely exemplary.
The sensor 106 may be disposed in or proximal to the zone 101 and may be a temperature sensor such as a thermometer, thermistor, or thermocouple, or any other type of sensor. The sensor 106 may thus be configured to sense one or more relevant conditions in the zone 101. The sensor 106 may be coupled to the controller 104 and configured to provide signals thereto indicative of the relevant condition(s) in the zone 101.
The controller 104 may, in turn, be coupled to the FCU 102 and configured to control the speed of the fan 108, the flow rate of heat transfer medium (e.g., water) through the coil 110, other variables, or a combination thereof. The controller 104 may be or include one or more proportional-integral (PI) controllers, proportional-integral-derivative (PID) controllers, and/or the like. Accordingly, the controller 104 may receive a signal from the sensor 106 and respond by adjusting the operating parameters of the FCU 102 to achieve a desired setpoint in the zone 101.
Further, the controller 104 may have one, two, or more input devices, for example, at least a first input device 114 and a second input device 116, as shown. The first input device 114 may be, at least conceptually, a switch, configured to signal to the controller 104 that autotuning is desired. Accordingly, the first input device 114 may be a manual switch, toggled by an operator, or may be a time delay switch, configured to start the autotuning process at set intervals. The second input device 116 may be a knob, dial, digital input, or may instead be a constant, pre-determined according to end-user needs or other factors. The second input device 116 may provide an acceptable performance coefficient α to the controller 104, which may be employed during autotuning to set an acceptable performance envelope “tightness,” as will be described in greater detail below.
The output U is then fed to a component or “controlled system” 208, which may be or include the FCU 102 and/or another component. The controlled system 208 reacts to the output U and generates an output signal Y. The output signal Y is then fed back to the signal comparator 202 via the line 204.
The control loop 200 may also include an autotuner relay 210 disposed in parallel with the controller 206. The autotuner relay 210 may be selectively engaged, for example, when a signal to start the autotuning is received from the first input device 114 (
With additional reference to
The method 300 may begin by setting the performance coefficient α, as at 302. The performance coefficient α may be used to determine the maximum overshoot Mp and acceptable damping ratio ζ, as will be described in greater detail below. Setting the performance coefficient α at 302 may include receiving the coefficient α as an input from a user (e.g., via the second input device 116, shown in
The method 300 may then proceed to checking to see if the controlled system 208 is presently operating at or close to steady state, as at 304. One way to perform such checking at 304 may be to compare a previous number of outputs Y and U, to determine if they are within a certain range. For example, the previous about 100, 1000, 10000, or more outputs Y and U may be checked.
The method 300 may then proceed to switching to relay control, as at 306. Switching the control loop 200 of the HVAC system 100 to relay control at 306 may cause the autotuner relay 210 to take over from the controller 206 in the control loop 200. The method 300 may then proceed to calculating the PI parameters, e.g., proportional gain Kc and integral time τ, as at 308 by relay feedback autotuning.
Referring now additionally to
In equation (1), K is the process gain, T is the time constant, and D is the time delay. For HVAC system 100 components such as the zone 101 (
The application of a relay step function may produce sustained limit cycles in the controlled system 208. Such sustained limit cycles may be considered present when the periods of the latest two limit cycles are within about 30% of each other. As an illustrative example, the step function may initially have a positive output change with magnitude h, until the controlled system 208 response crosses its setpoint. At this time, the autotuner relay 210 may reverse (or reduce or zero) its output change with magnitude −h, until the controlled system 208 output Y comes back and crosses its setpoint again. Repetition of this step function application can generate limit cycles, in which the ultimate frequency ωu is the frequency of the oscillation of the controlled system 208, as just described, while the ultimate gain is:
In equation (2), a is the magnitude of oscillation of the controlled system 208, and h is the amplitude of the step function applied by the autotuner relay 210. In various embodiments consistent with use in HVAC systems, h may be between about 5% and about 10% of the control output scale. Further, the control error ε may be set at between about 2 and about 5 times the measurement of the noise covariance, which may be determined in any suitable way.
Calculating the PI parameters at 308 may also include applying relay hysteresis compensation, as at 314. Relay hysteresis may be employed to prevent the autotuner relay 210 from switching due to control error signal noise.
Accordingly, calculating the PI parameters at 308 may proceed to adjusting the ultimate gain Ku and the ultimate period Pu, as at 316, to account for the relay hysteresis impact. Generally, the adjustment of the ultimate gain may proceed according to the following equation. Reference may be made to paper by Astrom and Hagglund, Automatic Tuning of Simple Regulators with Specifications on Phase and Amplitude Margins, AUTOMATICA, 20, 645-651 (1984), the entirety of which is incorporated herein by reference to the extent consistent with the present disclosure.
Furthermore, the ultimate period Pu (and thus, the ultimate frequency) may also be altered. For the FOPDT transfer function G(s) of the controlled system 208, the adjustment to the ultimate gain Ku and ultimate period Pu may be modeled according to the following functions:
Calculating the PI parameters at 308 may further proceed to applying a tuning rule, such as Ziegler-Nichols (Z-N) to derive the proportional gain Kc and integral time τ, as at 318, from the adjusted ultimate gain K′u and ultimate period P′u. It will be readily appreciated that other tuning rules are within the scope of the present disclosure, such as Tyreys-Luyben.
According to Z-N, the proportional gain Kc and integral time τ may be readily calculated from the following equations:
Kc=Ku/2.2 (6)
τ=Pu/1.2 (7)
Calculating the PI parameters at 308 may then proceed to adjusting the proportional gain Kc and the integral time τ using internal model control (IMC) results. For a known process model (e.g., such as an HVAC system), tuning parameters can be derived for a wide variety of transfer function models. One such IMC-based tuning formula is Skogestad IMC-based tuning, where the PI controller transfer function is
C(s)=Kc(1+1/τs) (8)
Skogestad's IMC-based PI tuning rule for a FOPDT system is:
Kc=T/2KD,t=min(T,8D) (9)
One embodiment of Skogestad's IMC-based tuning is described in Skogestad, Simple Analytic Rules for Model Reduction and PID Controller Tuning, J.
Kc=Ku/3.9 (10)
Furthermore, as can be appreciated from
D≈0.3Pu (11)
Referring again to
Referring now additionally to
In various systems, the method 300 may be impacted by external deterministic disturbances during execution. Accordingly, verifying the obtained tuning parameters may be desired to avoid inaccurate tuning. The method 300 may thus proceed to setting a performance envelope at 328. The use of a performance envelope may be used in addition to or in lieu of comparing the response characteristics (e.g., decay ratio, settling time, overshoot, etc.) or a combination thereof to a desired value.
Setting the performance envelope at 328 may include deriving boundaries for an acceptable closed-loop response. The closed-loop transfer functions are:
It will be appreciated from equations (12) and (13) that the closed-loop transfer function is the same between Y and Ysp and U and (−A); therefore, the method 300 may include observing output U response to assess the control tuning results. To observe the closed loop output U response, a step disturbance A may be applied, as at 330, for example, by adding a bias to the controller integral term, i.e., adding the step disturbance A between the controller 206 and the controlled system 208 in
Further, the envelope may be defined by several time points, for example, time points t1, t2, t3, t4, as shown in
In equation (14), the ωn is the natural frequency ζ and is the damping ratio. Estimation of ωn and ζ will be discussed below.
The third time point t3 may be the time constant of an exponential term that determines how sluggishly the closed-loop response moves toward its steady state. The desired time constant may be D, based on the tuning target; however, to detect an overly-sluggish response, the time point t3 may be set to about 3 D. The fourth time point t4 sets a boundary to detect an under-damped case. If the closed loop response is under-damped, the transient response along the overshoot side may be bounded by a curve which has an exponential term determining how fast the response is required to move to its steady state. Further, the fifth time point t5 may provide response monitoring time, which may be about equal to D+3(t3) for over-damped response and D+3/ωnζ for under-damped response.
To determine the second time point t2 from the equation (14) above, the natural frequency must be determined Since the natural frequency ωn, of a closed-loop response depends on both the controlled system and the control tuning, it may be estimated. Referring to equations (1) and (8), the closed-loop transfer function between A and U may be:
For relay feedback autotuning, the proportional gain Kc may be determined by equation (10); however, the integral time τ may be greater or smaller than the process time constant T, depending on the D/T ratio. As such, the tuned integral time τ may be a too low or too high as compared to IMC tuning for τ=T, where D/T is greater than or equal to about 0.125 or τ=8 D for D/T is less than about 0.125. Accordingly, to estimate the fourth time point t4, the effect of the tuning impact on the natural frequency may be determined, employing three integral time tunings, τ=∞ (no integral action), τ=T (IMC tuning), and τ=D (strong integral time).
In the first case, where τ=∞, a first-order Pade approximation is used to determine the time delay in the denominator of equation (15), yielding:
Therefore, for 0<ζ<1, the natural frequency ωn and damping ratio ζ are:
Furthermore, the ultimate frequency ωu may be obtained by setting Kc=Ku, which yields:
In the second case, where τ=T, equation (15) resolves to:
As shown in Table 1, below, the formula for ωn/ωu and damping ratio ζ may be known for different cases. Further, in the third case shown below, i.e., where τ=D, first order dynamics may be used to approximate the time delay term in the denominator of equation (15), yielding:
The formula for ωn/ωu and ζ of this case is also shown in Table 1.
Considering a step input disturbance A with amplitude h and 0<ζ<1, the time domain response of equation (19) becomes:
Similar to a standard second-order system response, equation (21) shows that the overshoot side is bounded by a curve, defined as:
Further, the fourth time point t4=1/ωnζ.
The maximum acceptable overshoot Mp is related to the damping ratio ζ, such that
Accordingly, the maximum acceptable overshoot Mp setting may be employed to determine the damping ratio for the envelope determination. Such setting, as at 302, may proceed by the user turning a knob, or adjusting a dial, etc., such that a performance coefficient α is determined, such that:
Mp=0.5−0.35α (24)
t3=5D−3.5αD (25)
Where a lower coefficient α corresponds to a looser envelope and a higher coefficient α corresponds to a tighter envelope; accordingly, the performance coefficient α is employed to determine the “tightness” of the performance envelope. The parameters for the envelope may be set as:
Accordingly, with knowledge of each of the variables, and by input of the performance coefficient α, the performance envelope can be set. The closed loop system response can then be compared to the envelope, to determine if the tuning results are acceptable, thereby verifying the results, as at 326.
While the present teachings have been illustrated with respect to one or more implementations, alterations and/or modifications can be made to the illustrated examples without departing from the spirit and scope of the appended claims. For example, it will be appreciated that while the process is described as a series of acts or events, the present teachings are not limited by the ordering of such acts or events. Some acts may occur in different orders and/or concurrently with other acts or events apart from those described herein. Also, not all process stages may be required to implement a methodology in accordance with one or more aspects or embodiments of the present teachings.
It will be appreciated that structural components and/or processing stages can be added or existing structural components and/or processing stages can be removed or modified. Further, one or more of the acts depicted herein may be carried out in one or more separate acts and/or phases. Furthermore, to the extent that the terms “including,” “includes,” “having,” “has,” “with,” or variants thereof are used in either the detailed description and the claims, such terms are intended to be inclusive in a manner similar to the term “comprising.” The term “at least one of” is used to mean one or more of the listed items can be selected. Further, in the discussion and claims herein, the term “on” used with respect to two materials, one “on” the other, means at least some contact between the materials, while “over” means the materials are in proximity, but possibly with one or more additional intervening materials such that contact is possible but not required. Neither “on” nor “over” implies any directionality as used herein.
The term “about” indicates that the value listed may be somewhat altered, as long as the alteration does not result in nonconformance of the process or structure to the illustrated embodiment. Finally, “exemplary” indicates the description is used as an example, rather than implying that it is an ideal. Other embodiments of the present teachings will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the present teachings being indicated by the following claims.
Terms of relative position as used in this application are defined based on a plane parallel to the conventional plane or working surface of a workpiece, regardless of the orientation of the workpiece. The term “horizontal” or “lateral” as used in this application is defined as a plane parallel to the conventional plane or working surface of a workpiece, regardless of the orientation of the workpiece. The term “vertical” refers to a direction perpendicular to the horizontal. Terms such as “on,” “side,” “higher,” “lower,” “over,” “top,” and “under” are defined with respect to the conventional plane or working surface being on the top surface of the workpiece, regardless of the orientation of the workpiece.
This application claims priority to U.S. Provisional Patent Application Ser. No. 61/620,584, filed on Apr. 5, 2012. The entirety of this priority document is incorporated herein by reference.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US2013/028989 | 3/5/2013 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2013/151646 | 10/10/2013 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5298845 | DeBoer et al. | Mar 1994 | A |
5341651 | Inoue | Aug 1994 | A |
5355305 | Seem et al. | Oct 1994 | A |
5506768 | Seem et al. | Apr 1996 | A |
5568377 | Seem et al. | Oct 1996 | A |
5769314 | Drees et al. | Jun 1998 | A |
5875109 | Federspiel | Feb 1999 | A |
6369716 | Abbas et al. | Apr 2002 | B1 |
6554198 | Hull | Apr 2003 | B1 |
6647318 | Salsbury | Nov 2003 | B2 |
6937909 | Seem | Aug 2005 | B2 |
7003379 | Tanaka | Feb 2006 | B2 |
7024336 | Salsbury et al. | Apr 2006 | B2 |
7117045 | Hittle et al. | Oct 2006 | B2 |
7346403 | Tanaka | Mar 2008 | B2 |
7395125 | Haguet et al. | Jul 2008 | B2 |
7735329 | Martini | Jun 2010 | B2 |
20080281439 | Salsbury | Nov 2008 | A1 |
20080307811 | Bryan et al. | Dec 2008 | A1 |
20090216380 | Kolk | Aug 2009 | A1 |
20100198370 | Salsbury | Aug 2010 | A1 |
20110016893 | Dawes | Jan 2011 | A1 |
20110029100 | Seem et al. | Feb 2011 | A1 |
20110190909 | Salsbury | Aug 2011 | A1 |
20130197676 | Salsbury | Aug 2013 | A1 |
Number | Date | Country |
---|---|---|
0915301 | May 1999 | EP |
2348021 | Sep 2000 | GB |
03081348 | Oct 2003 | WO |
Entry |
---|
International Search Report and Written Opinion for application PCT/US2013/028989, dated Jan. 7, 2014, 11 pages. |
Number | Date | Country | |
---|---|---|---|
20150057812 A1 | Feb 2015 | US |
Number | Date | Country | |
---|---|---|---|
61620584 | Apr 2012 | US |