This invention relates generally to calculating and setting PI gain parameters and more particularly to a system and method to calculate PI gains in lag-dominated HVACR systems.
Heating, ventilation, air conditioning and refrigeration (“HVAC” or “HVACR”) systems typically control environmental factors such as temperature, pressure, and humidity. Zone controllers and bypass controllers are two components that can be used in HVAC systems. Zone controllers and bypass controllers typically control dampers, the dampers regulating air flow into air ducts. A zone controller can be used to control the temperature and ventilation requirements in one or more specific building spaces known as a “zone”. The zone controller performs this function by operating one or more zone dampers to control the flow of heating or cooling air into individual building zones. A bypass controller can then be used to adjust a bypass damper to compensate for the fluctuations in the supply air pressure caused by the operation of the various zone dampers throughout the HVAC system.
Both zone and bypass controllers can be microcomputer based controllers running control algorithms. Typically these control algorithms function as Proportional-Integral (“PI”) control loop algorithms. A PI algorithm controls a system component (also called the “plant”) to cause a desired effect by controlling the component in reaction to a feedback signal from one or more sensors. For example, a PI zone controller can cause the temperature in a controlled zone to reach a particular set point temperature based on a feedback signal from one or more temperature sensors located in the zone. For a given HVAC installation to operate accurately and efficiently, various parameters of the PI control loops must be “tuned” towards optimal values.
Tuning refers to setting parameters of the PI loop for efficient and stable operation of the installed HVAC system. Tuning can be done experimentally by adjusting various PI parameters and then observing the resulting system performance, often over long periods of time. Or, some PI controllers can periodically or continuously automatically tune PI parameters with varying success during normal system operation. Often automatically or manually adjusted systems end up operating inefficiently because they operate with less then optimal PI parameter settings.
HVAC system efficiency is particularly a concern with respect to lag-dominated systems. A system is said to be lag-dominated where a response, such as a change in temperature in a zone, is measurably delayed from the time a control input is made at the system component or plant. For example, a delay occurs where the change in the temperature of the air flow at a vent in a particular zone of a building is delayed by the time it takes the heated or cooled air to actually travel from the controlled damper the vent in the controlled space. It can be particularly important to correctly set the proportional and the integral (“PI”) gains in lag-dominated systems to reduce the actuator wear caused by unnecessary oscillations
Therefore, there is a need for a method to determine and set a more optimal set of PI gains based on actual measurements of the performance of the installed HVAC components.
A method to determine and apply PI gain settings to an HVAC PI controller when used on a lag dominated HVAC component includes the following steps: recording an opened loop HVAC component dynamic response; fitting the dynamic response to a transfer function model representative of a first order lag dominated process; calculating the PI gain constants from the model; entering the calculated PI gains into a PI control algorithm; and running the PI control algorithm on the HVAC PI controller to control the HVAC component.
The inventive method can be used with an HVAC system comprising, an HVAC system component; an HVAC system component controller electrically connected to the HVAC system component to control the operation of the HVAC system component; and a PI algorithm. The PI algorithm can run in the HVAC system component controller, the PI algorithm having PI gain constants, wherein the HVAC system component controller operates a closed PI loop. And, the PI algorithm uses PI gain constants calculated from the open loop transfer function of the HVAC system component.
For a further understanding of these and other objects of the invention, reference will be made to the following detailed description of the invention which is to be read in connection with the accompanying drawing, where:
It is to be understood that the drawings are for the purpose of illustrating the concepts of the invention and are not necessarily drawn to scale.
The steps of the method to determine the PI settings based on actual measurements of the performance of the installed HVAC components are shown in
Gathering Dynamic Data: The method is now further explained using the exemplary HVAC zone controller shown in
Modeling the Dynamic Data: A first order transfer function model can be used to represent the dynamic data measured in the system of
where K,td, A can be approximated using Least Squares or a similar identification procedure.
Calculating the PI Gains: Calculation of the PI gains is now broken into three steps, approximation of the transcendental term with a transfer function model, solution of the transfer function parameters, and computation of the PI gains.
Removal of the Transcendental Term from the Transfer Function using a First Order Pade Approximation:
The Pade approximation as show above is known in the art. See for example: “Mechatronics System Design”, Shetty, D. & Kolk, R. PWS Publishing, division of International Thomson Publishing Company, 1997, pages 288-290, and “Feedback Control of Dynamic Systems”, Franklin, G., Powell, J. Emami-Naeini, Addison Wesley, pages 301.
Develop the PI Control Transfer Function:
Compute the PI-control gains KP, Ki:
First select the PI-Zero, Z, to be located at 25% distance from the lowest frequency plant pole, −A as shown in the Root Locus diagram of
Z=0.25*A
The Root Locus diagram of
The Root Locus gain calculation is performed as follows;
The radius of the closed loop pole loci is estimated in terms of the plant pole and the time delay value as;
Solving for Y; S*=−Y+jY
The Root Locus gain can then be calculated as:
Then, since the PI controller function is:
The gains are thus calculated as:
Step 1: Collect step response time history data from the plant using the method described above in “Gathering Dynamic Data”. Data is collected and modeled by techniques well known in the art. For example, a step function stimulus can be applied to a damper controller set to operate in an open-loop mode. Several parameters can be recorded including the time of damper travel, initial air flow, and air flow as a function of time as the damper opens and reaches a steady state secondary position, which may or may not be full open. The inventive method is now illustrated using a model form generally useful for modeling lag-dominated HVAC systems.
Step 2: Fit data with a first order lag plus time delay model of the form; In this example the parameter a is used in place of A and b in place of K as originally introduced in 0018.
Step 3: The PI control transfer function is,
Select the PI zero, z, to be located
Step 4: Turning to the Root Locus plot of
First calculate the Radius, R,
Next calculate the spec point coordinates for a damping of 0.707, −x+jx,
Finally calculate the desired pole location, s1=x+jx from the x value that obeys;
Step 6: Calculate the proportional gain,
Step 7: Calculate the integral gain, K1=|z|.Kp
Given—a hypothetical actual plant transfer function
Steps 1,2: The above plant exemplary plant, as hypothetically derived from an installed HVAC system, can be modeled by the first order plus time delay model,
where Td=0.76, a=1, b=0.1678
Step 3: Select the PI zero as,
Step 5: Calculate the desired pole locations to satisfy a damping ratio of 0.707. Calculate the real value of the pole as,
The desired pole location, s1=x+jx is based on the x value which obeys;
Step 6: Calculate the proportional gain,
Step 7: Calculate the integral gain,
A computer simulation showing the exemplary system response to a unit amplitude step signal input is shown in
While the present invention has been particularly shown and described with reference to the preferred mode as illustrated in the drawings, it will be understood by one skilled in the art that various changes in detail may be effected therein without departing from the spirit and scope of the invention as defined by the claims.
It is also to be understood that the invention can be generalized and applied to any HVAC or HVACR system. A specific example of such a system is the Carrier Corporation 3V system. Also, while exemplary embodiments of the invention typically control a damper component, the invention is suitable to other lag dominated HVAC/HVACR PI control scenarios including setting the Proportional Integral (PI) gains in a variety of lag-dominated HVACR System applications.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/US2005/012582 | 4/14/2005 | WO | 00 | 1/30/2009 |