This invention relates to vapor compression systems, and more particularly to a system and a method for controlling a multiple-zone vapor compression system.
Vapor compression systems (VCS) move thermal energy between a low temperature environment and a high temperature environment in order to perform cooling or heating operations in order to improve comfort of occupants in the environment. For example, heat can be moved from an indoor space to an outdoor space in order to lower the indoor temperature in a cooling operation, or heat can be moved from an outdoor space to an indoor space in order to raise the indoor temperature in a heating operation.
The heat load, or rate at which the thermal energy is moved into a space (e.g., by hot air passing into a building) is generally not directly measured, but its effect is detected as changes in the indoor space temperature or zone temperature. In order to control the zone temperature, the operations of the VCS modulates the cooling or heating capacity provided by the system to counteract the load such that the zone temperature is near a desired zone temperature. The thermal capacity of a heat exchanger is the rate at which the thermal energy is accepted or rejected by a heat exchanger.
A multi-zone vapor compression system (MZ-VCS) includes at least a single compressor connected to multiple heat exchangers arranged in one or more indoor zones. Conventionally, the heating or cooling capacity of such indoor heat exchangers is modulated by duty cycling each heat exchanger between “ON” and “OFF” modes of the operation. The heat exchanger is OFF when an inlet valve that controls refrigerant flow is closed or alternatively, the compressor that pumps refrigerant through the system is stopped, so that no cooling or heating is performed by the heat exchanger. The heat exchanger is ON when an inlet valve is opened and the compressor is operating so that the heat exchangers in the indoor zones operate at their full thermal capacity. A controller decides how to alternate between the modes based on a difference between the zone temperature and the desired zone temperature.
However, the act of switching heat exchangers ON and OFF, especially in MZ-VCS where the zone heat exchangers can be switched ON and OFF independently from each other, result in persistent variations in the outputs of the system, such as zone temperatures and heat exchanger temperatures, that are known to be energetically inefficient and reduce occupant comfort. Accordingly, there is a need in the art for a control system and method to smoothly control the thermal capacity of heat exchangers, such as the heat exchangers of MZ-VCS.
In addition to smoothly controlling the heat capacity within a heat exchanger in a multi-zone system, there is a need to control the overall operations of the multi-zone vapor compression system. For example, during the operation of the VCS, various constraints should be enforced. For example, certain maximum or minimum temperatures and pressures should not be violated for equipment safety. Some controllers enforce the constraints reactively, i.e., corrective action is taken once a dangerous situation is detected. The violations of the constraints can occur for some period of time while the system responds with corrective actions, and therefore the threshold at which corrective action is used is selected conservatively to account for violations that can occur. As a result, the controllers with reactive constraint management logic are often detuned away from the value of the constraints, which sacrifice the regions of highest performance, see, e.g., EP2469201.
Accordingly, there is a need in the art for a system and a method for an efficient control of MZ-VCS subject to constraints.
It is an object of some embodiments of the invention to provide a system and a method for controlling operations of a multi-zone vapor compression system (MZ-VCS). It is another object of some embodiments to provide a system and method for controlling a heat exchanger to deliver the thermal capacity requested from the heat exchanger without a need to induce oscillations or limits cycles switching the heat exchangers ON and OFF independently from each other. It is a further object of some embodiments to provide a system and method for controlling the thermal capacity of heat exchangers without requiring new actuators such as additional valves. It is another object of some embodiments of the invention to provide a system and method for controlling the vapor compression system predictively such that constraints on the operation of the MZ-VCS are satisfied.
A model predictive controller (MPC) is based on an iterative, finite horizon optimization of a cost function that describes the operation of the controlled system and has the ability to anticipate future events to take appropriate control actions. Some embodiments of the invention are based on recognition that MPC offers attractive properties for vapor compression system control including guaranteed enforcement of constraints, which in turn can be selected for performance that is more aggressive because the constraint enforcement is guaranteed.
However, the MPC requires an accurate prediction of all outputs of the MZ-VCS. Because the limit cycles perturb the outputs in unpredictable ways, the application of MPC to MZ-VCS is problematic. However, it was realized that the model of MZ-VCS can be modified to include linear relationship between thermal capacities of each heat exchangers and temperatures in a corresponding zone controlled by the heat exchanger, and additional capacity controllers can enforce such a linear relationship. The resulting dynamic response of temperatures and/or pressures in the MZ-VCS can therefore be modeled by simpler linear differential equations predicting the short-term future trends of these signals. These dynamic models are then suitable for predictive control strategies that calculate actuator commands based in part on a predicted response to those commands.
Furthermore, by smoothly controlling the thermal capacity of the heat exchangers, limit cycling and other periodic disturbances caused by the controller can be eliminated. For example, some embodiments are based on recognition that the thermal capacity of the heat exchangers can be controlled based on a continuous relationship among superheat temperatures on different paths of the heat exchangers for passing the refrigerant passing. This continuous relationship can help for eliminating the limit cycles and making the control more predictable. In turn, this predictability makes possible the usage of MPC based on a modified model of the MZ-VCS.
It is further recognized, that MPC requires an estimate of the state of the vapor compression system during its operation. Unfortunately, the complexity and cost of modern MZ-VCS make direct measurement of the state impractical. Therefore, the MPC of the MZ-VCS requires a method for estimating the states of the MZ-VCS under control, which generally requires measurements or estimation of a thermal load disturbance on the MZ-VCS. However, the thermal load is a dominant disturbance of the MZ-VCS that can be neither directly measured nor accurately predicted.
Some embodiments of the invention are based on the realization that an estimator that prioritizes state estimate accuracy is not necessary. Rather than combine noisy measurement information with uncertain model information to obtain an accurate state estimate, it is realized that if an estimator can be formulated in a way that prioritizes output estimate accuracy over state estimate accuracy, the need for measuring thermal load disturbances and obtaining accurate models of its influence on other signals can be avoided.
Specifically, in the context of the MZ-VCS, the need to measure or predict the thermal load disturbance can be avoided entirely by constructing a state estimator so that the difference between the predicted output and the measured output asymptotically approaches zero even in the presence of unmeasurable disturbances and model uncertainty. This prevents inaccuracies in the prediction model and ensures that the control inputs determined by the controller achieve the control objectives of the VCS. Because the influence of the thermal load is accounted for in non-physical auxiliary states in the estimator, there is no need to directly measure or model the thermal load. In this approach, the benefits of constraint enforcement and increased performance characteristics of model predictive control of vapor compression systems can be realized.
Accordingly, one embodiment discloses a multi-zone vapor compression system (MZ-VCS) includes a compressor connected to a set of heat exchangers controlling environments in a set of zones, wherein there is at least one heat exchanger for each zone; a supervisory controller including a processor determining a set of control inputs for controlling a vapor compression cycle of the MZ-VCS, wherein the supervisory controller is a model predictive controller (MPC) determining the set of control inputs using a model of the MZ-VCS including a linear relationship between thermal capacities of each heat exchanger and temperatures in a corresponding zone controlled by the heat exchanger; and a set of capacity controllers, wherein there is one capacity controller for each heat exchanger, each capacity controller enforces the linear relationship between the thermal capacity and the temperature in the corresponding zone.
Another embodiment discloses a multi-zone vapor compression system (MZ-VCS), including a set of heat exchangers configured for controlling environments in a set of zones, wherein there is at least one heat exchanger for each zone, wherein the heat exchanger includes an inlet header pipe connected to a set of paths for passing the refrigerant, and wherein the inlet header pipe splits the refrigerant into the set of paths; a supervisory controller including a processor configured for optimizing a cost function subject to constraints on an operation of the MZ-VCS to produce a set of values of the thermal capacity requested for the set of heat exchangers to achieve setpoint temperatures in the corresponding zones, wherein the supervisory controller is a model predictive controller (MPC) for determining the set of control inputs using a model of the MZ-VSC including a linear relationship between thermal capacities of each heat exchangers and temperatures in a corresponding zone controlled by the heat exchanger; and a set of capacity controllers, there is one capacity controller for each heat exchanger, wherein each capacity controller is configured for controlling the corresponding heat exchanger to achieve the requested thermal capacity.
Yet another embodiment discloses a method for controlling a multi-zone vapor compression system (MZ-VCS) including a set of heat exchangers configured for controlling environments in a set of zones, wherein the heat exchanger includes an inlet header pipe connected to a set of paths for passing the refrigerant, and wherein the inlet header pipe splits the refrigerant into the set of paths. The method includes receiving setpoint values for controlling environments in each zone; optimizing a cost function subject to constraints on an operation of the MZ-VCS to produce a set values of the thermal capacity requested for the set of heat exchangers to achieve the setpoint values in the corresponding zones, wherein the cost function is optimized for a future time horizon using a model of the MZ-VCS including linear relationships between thermal capacities of the heat exchangers and temperatures in the corresponding zone; determining, for each heat exchanger, a setpoint temperature of the refrigerant passing through the heat exchanger producing the requested thermal capacity; selecting a path from the set of paths for measuring temperature of the refrigerant; and adjusting, for each heat exchanger, a position of a valve controlling the refrigerant passing through the heat exchanger to reduce an error between the setpoint temperature of the refrigerant and a temperature of the refrigerant measured on the selected path, wherein at least some of steps of the method are performed by a processor.
In describing embodiments of the invention, the following definitions are applicable throughout (including above).
A “computer” refers to any apparatus that is capable of accepting a structured input, processing the structured input according to prescribed rules, and producing results of the processing as output. Examples of a computer include a computer; a general-purpose computer; a supercomputer; a mainframe; a super mini-computer; a mini-computer; a workstation; a microcomputer; a server; an interactive television; a hybrid combination of a computer and an interactive television; and application-specific hardware to emulate a computer and/or software. A computer can have a single processor or multiple processors, which can operate in parallel and/or not in parallel. A computer also refers to two or more computers connected together via a network for transmitting or receiving information between the computers. An example of such a computer includes a distributed computer system for processing information via computers linked by a network.
A “central processing unit (CPU)” or a “processor” refers to a computer or a component of a computer that reads and executes software instructions.
A “memory” or a “computer-readable medium” refers to any storage for storing data accessible by a computer. Examples include a magnetic hard disk; a floppy disk; an optical disk, like a CD-ROM or a DVD; a magnetic tape; a memory chip; and a carrier wave used to carry computer-readable electronic data, such as those used in transmitting and receiving e-mail or in accessing a network, and a computer memory, e.g., random-access memory (RAM).
“Software” refers to prescribed rules to operate a computer. Examples of software include software; code segments; instructions; computer programs; and programmed logic. Software of intelligent systems may be capable of self-learning.
A “module” or a “unit” refers to a basic component in a computer that performs a task or part of a task. It can be implemented by either software or hardware.
A “control system” refers to a device or a set of devices to manage, command, direct or regulate the behavior of other devices or systems. The control system can be implemented by either software or hardware, and can include one or several modules.
A “computer system” refers to a system having a computer, where the computer comprises computer-readable medium embodying software to operate the computer.
A “network” refers to a number of computers and associated devices that are connected by communication facilities. A network involves permanent connections such as cables, temporary connections such as those made through telephone or other communication links, and/or wireless connections. Examples of a network include an internet, such as the Internet; an intranet; a local area network (LAN); a wide area network (WAN); and a combination of networks, such as an internet and an intranet.
A “vapor compression system” refers to a system that uses a vapor compression cycle to move refrigerant through components of the system based on principles of thermodynamics, fluid mechanics, and/or heat transfer.
An “HVAC” system refers to any heating, ventilating, and air-conditioning (HVAC) system implementing the vapor compression cycle. HVAC systems span a very broad set of systems, ranging from systems which supply only outdoor air to the occupants of a building, to systems which only control the temperature of a building, to systems which control the temperature and humidity.
“Components of a vapor compression system” refer to any components of the vapor compression system having an operation controllable by the control systems. The components include, but are not limited to, a compressor having a variable speed for compressing and pumping the refrigerant through the system; an expansion valve for providing an adjustable pressure drop between the high-pressure and the low-pressure portions of the system, and an evaporating heat exchanger and a condensing heat exchanger, each of which may incorporate a variable speed fan for adjusting the air-flow rate through the heat exchanger.
An “evaporator” refers to a heat exchanger in the vapor compression system in which the refrigerant passing through the heat exchanger evaporates over the length of the heat exchanger, so that the specific enthalpy of the refrigerant at the outlet of the heat exchanger is higher than the specific enthalpy of the refrigerant at the inlet of the heat exchanger, and the refrigerant generally changes from a liquid to a gas. There may be one or more evaporators in the vapor-compression system.
A “condenser” refers to a heat exchanger in the vapor compression system in which the refrigerant passing through the heat exchanger condenses over the length of the heat exchanger, so that the specific enthalpy of the refrigerant at the outlet of the heat exchanger is lower than the specific enthalpy of the refrigerant at the inlet of the heat exchanger, and the refrigerant generally changes from a gas to a liquid. There may be one or more condensers in a vapor-compression system.
A “setpoint” refers to a target value the system, such as the vapor compression system, aims to reach and maintain as a result of the operation. The term setpoint is applied to any particular value of a specific set of control signals and thermodynamic and environmental parameters.
“Heat load” refers to the thermal energy rate moved from a low temperature zone to a high temperature zone by the vapor compression system. The units typically associated with this signal are Joules per second or Watts or British Thermal Units per hour (BTUs/hr).
“Thermal capacity” refers to the energy rate absorbed by a heat exchanger in a vapor compression system. The units typically associated with this signal are Joules per second or Watts or British Thermal Units per hour (BTUs/hr).
Multi-Zone Vapor Compression System
In this disclosure, a two-zone MZ-VCS is described for clarity, but it should be understood that any number of zones can be used, subject to the physical limitations of refrigerant line lengths, capacity and pumping power of the compressor, and building codes. If the zone is an indoor zone, such as a room or a portion of the room, the heat exchangers are indoor heat exchangers.
A compressor 110 receives a low-pressure refrigerant in a vapor state and performs mechanical work to increase the pressure and temperature of the refrigerant. Depending on the configuration of a four-way valve 109, the high temperature refrigerant can be routed to either an outdoor heat exchanger (in which case the system moves heat to the outside environment and is proving useful cooling and is said to operate in cooling mode) or to an indoor heat exchanger (in which case the system moves heat to one or more indoor zones and is proving useful heating and is said to operate in heating mode).
For clarity and in order to simplify the subsequent description, a cooling mode is generally considered, i.e., the compressor is connected to the rest of the vapor compression system as shown as solid lines of the four-way valve 109, but it should be understood that analogous statements can be made about the system operating in heating mode with appropriate substitutions of condenser for evaporator, condensing temperature for evaporating temperature.
In cooling mode, the high-temperature, high-pressure refrigerant moves to an outdoor heat exchanger 115 and an associated optional fan 116 blows air across the heat exchanger. Heat is transferred from the refrigerant to the air, causing the refrigerant to condense from a vapor to a liquid.
The phase change process wherein vapor refrigerant condenses from saturated vapor to a two-phase mixture of both liquid and vapor to saturated liquid is isothermal in ideal descriptions of the vapor compression cycle, that is, the phase change process occurs at a constant temperature and therefore without a sensible change in temperature. However, if further heat is removed from the saturated liquid, the temperature of the saturated liquid then decreases by an appropriate amount and the refrigerant is termed “subcooled.” The subcool temperature is the temperature difference between the subcooled refrigerant and the calculated saturated liquid refrigerant temperature at the same pressure.
Liquid high temperature refrigerant exits the outdoor heat exchanger and is split by a manifold 117 in order to distribute the refrigerant between the subsequently connected indoor zones 125, 135 or 137. Separate expansion valves 126, 136 are connected to the inlet manifold. These expansion valves are restriction elements and cause the pressure of the refrigerant to be substantially reduced. Since the pressure is quickly reduced without substantial heat exchange in the valve, the temperature of the refrigerant is substantially reduced, termed “adiabatic” in ideal descriptions of the vapor compression cycle. The resulting refrigerant exiting the valves is a low pressure, low temperature two-phase mixture of liquid and vapor.
Two-phase refrigerant enters the indoor heat exchangers 120, 130 where associated fans 121, 131 blow air across the heat exchangers. Heat 122, 132 representing the thermal loads from the indoor spaces is transferred from the zones to the refrigerant, causing the refrigerant to evaporate from a two-phase mixture of liquid and vapor to a saturated vapor state.
The phase change process wherein refrigerant evaporates from a saturated vapor to a two-phase mixture of both liquid and vapor to saturated vapor is isothermal in ideal descriptions of the vapor compression cycle, i.e., occurs at a constant temperature and therefore is a process that occurs without a sensible change in temperature. However, if further heat is added to the saturated vapor, the temperature of the saturated vapor then increases by an appropriate amount and the refrigerant is termed “superheated.” The superheat temperature is the difference between the superheated refrigerant vapor and the calculated saturated vapor temperature at the same pressure.
The low pressure refrigerant vapor exiting the indoor unit heat exchangers is rejoined to a common flow path at the outlet manifold 118. Finally, low pressure refrigerant vapor is returned to the compressor and the cycle repeats.
The principal actuators in the MZ-VCS 100 include the compressor 110, the outdoor heat exchanger fan 116, the indoor heat exchanger fans 121, 131 and the expansion valves 126, 136. In some systems, the compressor speed can be fixed to one or more predetermined settings, or varied continuously. Similarly, the outdoor heat exchanger fans can operate at fixed speeds or varied continuously. In some configurations, the indoor heat exchanger fans can be determined by the MZ-VCS controller, or its speed can be determined by the occupants when the occupants wish to directly control indoor airflow. The expansion valves are controlled, e.g., electronically-controlled, by the controller 101 to continuously vary from being in fully closed to fully open positions including all possible intermediate positions. Some MZ-VCS implementations substitute electronically-controlled expansion valves with a series combination of a solenoid valve for on/off control, and a separate variable opening valve for precise flowrate control.
The high and low refrigerant pressures are determined by thermodynamic conditions such as outdoor and indoor air temperature, the compressor speed and the joint combination of valve openings. The expansion valves can each be set to different openings, but the overall high and low pressures are determined by the total pressure drop across these valves, which are arranged in parallel in the refrigerant circuit. Note that there are no pressure reducing elements between the indoor heat exchangers 120, 130 and the outlet manifold 118, and therefore all heat exchangers operate at substantially the same pressure. Moreover, due to the previously mentioned isothermal characteristic of phase change, all indoor heat exchangers are constrained to evaporate at the same temperature. This common evaporating temperature Te, represents an important constraint in the operations of MZ-VCS, as explained below.
The control system includes a supervisory controller 150 configured for determining a set of control inputs for controlling the vapor compression cycle. The supervisory controller 150 is a model predictive controller (MPC) for determining the set of control inputs using a model 145 of the MZ-VSC. In various embodiments of the invention, the model 145 is modified to include a linear relationship between thermal capacities of each heat exchangers and temperatures in a corresponding zone controlled by the heat exchanger. Due to this modification, the resulting dynamic response of temperatures and/or pressures in the MZ-VCS can therefore be modeled by simpler linear differential equations predicting the short-term future trends of these signals. These dynamic models are then suitable for predictive control strategies that calculate actuator commands based in part on a predicted response to those commands.
In some embodiments, the supervisory controller 150, in response to receiving a set of setpoints 142 for desired temperature in the set of controlled zones, optimizes a cost function 140 subject to constraints 143 on an operation of the MZ-VCS to produce a set of values of the thermal capacity 151, 153, and 155. Those thermal capacities are determined to achieve the requested setpoints by corresponding heat exchangers 171, 173, and 175. Advantageously, the supervisory controller can jointly determine the thermal capacities to optimize some metric of performance and/or to enforce the constraints on different components of the MZ-VCS.
In addition, the control system includes a set of capacity controllers 161, 163, and 165. There is one capacity controller for each heat exchanger configured for enforcing the linear relationship between the thermal capacity and the temperature in the corresponding zone. For example, the capacity controller 161 controls the heat exchanger 171 to produce the requested thermal capacity 151. Similarly, the capacity controller 163 controls the heat exchanger 173 to produce the requested thermal capacity 15 and the capacity controller 165 controls the heat exchanger 175 to produce the requested thermal capacity 155.
Each capacity controller independently controls the corresponding heat exchanger to enforce the linear relationship between the thermal capacity and the temperature in the corresponding zone. Such an independent control allows to predictably use the MPC for optimizing control inputs while enforcing the constraints. However, such an independent control also faces a number of difficulties due to the coupling among the heat exchanger in MZ-VCS, as described below.
Problem Overview
The heat loads in each zone are independent, and the desired zone temperatures can be different. As a result, the cooling provided by each heat exchanger is independently controlled by some embodiments in order to meet these distinct thermal requirements. However, this requirement for independent thermal capacity is at odds with the common evaporating temperature constraint. For example, changing one valve opening in order to affect the local zone temperature causes the evaporating temperature in all zones to change. Further, while the zone temperature can be influenced by modulating the indoor heat exchanger fan speeds, this method cannot be relied upon because in some application the occupants of the zone are able to specify zone airflow settings independently from zone temperature settings.
In order to achieve independent zone temperatures in a multi-zone air conditioner constrained by a common evaporating pressure, conventional control strategies identify those indoor heat exchangers that need less cooling (e.g., those zones wherein the zone temperature is below the setpoint temperature and therefore overcooled) and temporarily cut off the flow of refrigerant to those heat exchangers by closing the expansion valves.
Because zone of
In this example, the zone of
The control method used in the prior art, wherein the expansion valves are abruptly opened and closed, induces oscillation in the system evaporating temperature and refrigerant flow rate. Further, because the vapor compression cycle is strongly coupled, changes in evaporating temperature and refrigerant flow rate cause disturbances in many other areas of the machine, e.g., compressor discharge temperature and condensing pressure. Further, these cyclic disturbances are often not transient, but instead persist as limit cycles. Fluctuations induced by the limit cycles can degrade the ability of the machine to smoothly regulate zone temperatures, cause excessively high or low temperatures during peaks of the limit cycle, and consume energy unnecessarily as heat exchangers operating during sharp transients are known to be inefficient. Further, these oscillations cause disturbances in system temperature and pressures that are difficult to model with simple linear differential equations, and therefore preclude the use of predictive control strategies.
The duty cycling control of the heat exchanger can be avoided if there is a relationship between the opening of the valve and the requested thermal capacity of the heat exchanger. However, determining a fixed mapping from valve opening to heat exchanger capacity is difficult.
Unfortunately, the relationship between thermal capacity and opening of the valve is sensitive to disturbances. Furthermore, the thermodynamic conditions interact nonlinearly with the mapping, so that predicting how these conditions affect the map is difficult, and determining how the thermodynamic conditions influence the mapping through direct experimentation is so time consuming as to be impractical. Therefore it is not practical to control thermal capacity of a heat exchanger based on a direct mapping between valve opening and thermal capacity.
Solution Overview
Some embodiments aim to control opening of the valves admitting refrigerant into the heat exchangers based on a temperature of the refrigerant in the corresponding heat exchanger. Due to the physics of the state of the refrigerant passing through the heat exchanger, only superheat and subcool temperatures of the refrigerant can be measured. However, the region with superheat or subcool temperatures of the refrigerant in a single path across the heat exchanger corresponds only to a fraction of values of the thermal capacity formed by different openings of the valve, which makes temperature sensing an inefficient control variable.
However, in multi-path heat exchangers, a flow rate of refrigerant is different for each path, and the flow often prefers some paths more than others. It was realized that this preferential flow pattern is repeatable and measurable with sensors placed along the individual paths. Uneven distribution of refrigerant mass within a multi-path heat exchanger results in different superheat or subcool points for different paths. Thus, different sensors in different paths can measure the superheat for different values of cooling capacity that covers the entire range of the position of the valve.
To achieve the goal of smoothly and continuously controlling the evaporating cooling capacity, an observed behavior of refrigerant mass distribution in multi-path heat exchangers is exploited for control purposes by various embodiments of the invention.
As the expansion valve 126 opening is decreased, the refrigerant mass flow rate entering the heat exchanger is reduced. At some low value of mass flow rate, refrigerant preferentially flows in some paths 360 more than others 361, causing uneven refrigerant distribution in the heat exchanger. This phenomenon of uneven refrigerant distribution is used by the embodiments for capacity control.
Uneven distribution of refrigerant mass within a multi-path heat exchanger can be detected by placing temperature sensors along the different paths, for example, see sensors labeled (1) 355 and (2) 356. In paths with low refrigerant mass flow rates, the two-phase liquid-vapor mixture that enters the heat exchanger completes the evaporation process at some point along the path and becomes superheated, which is sensible by the temperature sensors. The superheat temperature is the difference between the temperature of the saturated vapor refrigerant and the two-phase evaporating temperature, Te. For example, sensor (1) is placed on a path that has reduced refrigerant mass flow rate compared to the other path that includes sensor (2).
In the region label 306, as the temperature measured by sensor (1) is increasing from Te to Tr, the temperature measured by sensor (2) 308 remains saturated at Te, because that path of the heat exchanger remains filled with two-phase refrigerant. In this region, because one path has superheated refrigerant and the other path has refrigerant at the evaporating temperature, the cooling capacity of the overall heat exchanger is relatively high.
As the expansion valve is closed further, the temperature measured by sensor (2) begins to increase from Te to Tr, while the temperature measured by sensor (1) remains saturated at Tr as shown in region labeled 305. In this region, one path has superheated refrigerant and the other path has refrigerant at the room temperature, and the thermal capacity of the overall heat exchanger is relatively low. Therefore, the thermal capacity of the entire heat exchanger can be smoothly varied from relatively high to relatively low by controlling the opening of the expansion valve.
Some embodiments of the invention are based on the realization that this preferential flow pattern is repeatable and results in different superheat or subcool points for different paths. Thus, different sensors in different paths can measure the superheat for different values of cooling capacity that covers the entire range of the position of the valve. Therefore, by controlling the path temperatures based on the relationship of
The VCS also includes a valve 379 for controlling an amount of the refrigerant entering the inlet header pipe 373 and a controller 380 including a processor for determining a position of the valve based on the measurements of at least one sensor from the set of sensors and a thermal capacity requested for the heat exchanger.
In such a manner, the modulation of the thermal capacity is based on a continuous relationship of path temperatures and not on alternating between two discrete ON and OFF modes of operation, the changes in thermal capacity are smooth, which avoids limit cycling characteristics, and the position of the valve asymptotically approach the position corresponding to the requested thermal capacity.
The method receives 391 setpoint values for controlling environments in each zone and optimizes 393 a cost function subject to constraints on an operation of the MZ-VCS to produce a set values of the thermal capacity requested for the set of heat exchangers to achieve the setpoint values in the corresponding zones. The cost function is optimized for a future time horizon using a model of the MZ-VSC including linear relationships between thermal capacities of the heat exchangers and temperatures in the corresponding zone.
Next, the method determines 395, for each heat exchanger, a setpoint temperature of the refrigerant passing through the heat exchanger producing the requested thermal capacity. For example, the method can determine the setpoint temperature of the refrigerant using a setpoint function mapping values of the requested thermal capacity to values of the temperature of refrigerant. In some implementations, the setpoint function is a continuous function that switches at a point of saturation of the temperatures of the refrigerant at each path in the set of paths.
Next, the method selects 397 a path from the set of paths for measuring temperature of the refrigerant and adjusting, for each heat exchanger, a position of a valve controlling the refrigerant passing through the heat exchanger to reduce an error between the setpoint temperature of the refrigerant and a temperature of the refrigerant measured on the selected path. A processor, such as the processor 141, performs at least some steps of the method.
Exemplar Control System
The capacity controller 400 receives signals from temperature sensors 405 arranged on paths of a multi-path heat exchanger and a capacity command providing the requested thermal capacity 402 determined by the supervisory controller 401. The capacity controller provides command signals 406 to adjust the position of the expansion valve such that the capacity of the heat exchanger is driven to the requested thermal capacity 402.
In one embodiment, the feedback controller parameters or gains used in the feedback controller 460 can change based on the selected path. In this embodiment, control gain information 426 is provided by the setpoint function 420 to the feedback controller. This function 420 further provides information 425 to a routine 450 that determines the setpoint for the selected temperature sensor and sets the state of a switch 430 that selects which sensor is used to compute the error signal 455 provided to the feedback controller.
In various embodiments, the setpoint function partitions a space of the thermal capacity of the heat exchanger in a set of regions, there is one region for each sensor in the set, such that the requested thermal capacity is mapped by the setpoint function to the setpoint temperature of the selected sensor of a corresponding region. For example, a segment or a relationship 462 of the setpoint function corresponds to the region 305 of the example of
For example, if a relatively high cooling capacity is commanded, the function 420 selects the path containing sensor (1) 307, and the routine selects the setpoint relationship associated with the segment 461. The relationship 461 represents a setpoint for sensor (1) and its specific value depends on the capacity command 402. For example, if the capacity command is c1 471 and is a relatively high capacity command so that relationship 461 is used, then the setpoint for sensor (1) is determined to be Tset1 472. For a predetermined transition value of capacity command 463, another path is selected and therefore another relationship is used to determine the corresponding sensor setpoint. The example embodiment shown in
In cooling mode, the determined setpoint for the selected path temperature sensor is bounded by the evaporating temperature 301 and the corresponding zone temperature 304. Note that these temperatures bounds depend on thermodynamic conditions and therefore can vary with time. For example, the processor of the controller can update the setpoint function in response to a change in the evaporating, condensing or the zone temperatures. By specifying the path temperature setpoint relationships as a function of these time varying bounds, the capacity of the overall heat exchanger is determined independently of thermodynamic conditions.
For this example, the initial conditions in this zone are such that steady state occurs with the heat exchanger at a relatively high thermal capacity, and the path setpoint temperature 451 is coincident with the path temperature corresponding to sensor (1) 307 shown as the heavy solid line 451 representing the path setpoint temperature coincident with the thin dashed line 307 representing the temperature measured by sensor (1) in the time leading up to t1. This condition corresponds to the relatively high capacity region 306 of
At time t1, the zone setpoint temperature 501 is increased, for example in response to an occupant increasing the setpoint temperature of a thermostat. The supervisory controller determines that the corresponding zone is therefore overcooled, and the capacity command 402 is reduced accordingly. As the capacity command is reduced between times t1 and t2, the path setpoint temperature 451 is increased and ultimately approaches the zone temperature upper bound. The feedback controller 460 part of the capacity controller 400 determines expansion valve commands such that the selected path temperature 307 is driven to the path setpoint temperature 451. This has the effect of smoothly reducing the thermal capacity of the heat exchanger and gradually raising the zone temperature.
At time t2, the zone is still overcooled, but the path monitored by the sensor (1) has reached the zone temperature upper bound. Therefore, the setpoint function 420 selects the sensor (2) and changes the state of the switch 430, and the routine that determines the path setpoint temperature 450 determines the setpoint temperature for sensor (2). This is shown in
From time t2 to t4, the path corresponding to sensor (2) is used by the capacity controller to determine expansion valve commands. In
Two instances from this period are selected as examples for thermographic images in order to illustrate the novel way in which the heat exchangers are controlled in this invention.
At time t3 when the capacity command is relatively low, one path of the heat exchanger is at the zone temperature while the other is selected for capacity control. This situation is shown as a thermographic image 510. The heat exchanger surface temperature in the image 510 is partially at the evaporating temperature (shown as darker pixels) and some relatively large part of the heat exchanger is at the zone temperature.
At time t5 when the capacity command is relatively high, one path of the heat exchanger is at the evaporating temperature while the other is selected for capacity control. This situation is shown as a thermographic image 520. The heat exchanger surface temperature in the image 520 is also partially at the evaporating temperature (shown as darker pixels) and some relatively small part of the heat exchanger is at some temperature between the two bounds.
The capacity control of indoor heat exchangers described above eliminates the limit cycle disturbances characteristic of traditional ON/OFF control methods found in prior art. As a result, the response from a capacity setpoint command to a zone temperature is linear and can be described by a set of time-invariant ordinary differential equations. The capacity controller therefore serves as a linearizing feedback element, and from the perspective of the supervisory controller 401, the response from capacity setpoint 402 to zone temperature 201, 211 is linear and predictable, and therefore enables the application of a suitably designed model predictive controller as described below.
Supervisory Model Predictive Controller
The controller can be provided with setpoints 665 that can be classified according to source. One type of setpoint may refer to desired zone temperature 660 and can come from a thermostat, wireless remote control, or internal memory or storage media. Another type of setpoint 661 may refer to desired energy consumption performance or other internal machine parameters and can come from a building owner or utility as a signal in the demand response framework. Together, these two types of setpoints are provided to the supervisory controller 401. Note that the setpoints provided to the supervisory controller are external signals and distinct from the (internally-generated) setpoints provided to the capacity controllers that are conceptually actuator commands.
The supervisory controller then computes commands such that some measured outputs are driven to their setpoints. These control inputs can include an indoor unit fan speed 653, 652, an outdoor unit fan speed 651, a compressor rotational speed 650, a flow reversing valve position, and/or setpoints to capacity controllers 402. In this manner, the controller controls operation of the multi-zone vapor compression system such that the setpoint values are achieved in the presence of disturbances, such as thermal loads, acting on the system.
The values of the measured outputs of the operation of the MZ-VCS can be determined in response to receiving at least one value of a setpoint, e.g., a desired temperature in a zone. In some embodiments, the measured outputs include at least one performance output controlled according to the value of a setpoint and at least one constrained output controlled to satisfy constraints independent from the value of the setpoint.
For example, the performance outputs can include one or combination of a temperature of an air in a controlled space, a discharge temperature of a compressor, and a suction temperature of the compressor. The constrained outputs can include one or combination of a discharge temperature of a compressor, suction temperature of the compressor, a discharge superheat temperature of the compressor, a temperature of an evaporator heat exchanger, and a temperature of the condenser heat exchanger.
The estimator 715 takes advantage of the iterative nature of the predictive control method and updates the state estimate of the system iteratively and/or concurrently with the determination of the control signal. For example, a current value of the state can be determined based on the previous value of the state and an error between the output of the VCS predicted based on the previous value of the state and the estimator model, and the measured output of the system. For example, the state estimate can be determined iteratively at each estimation time interval, and the control inputs can be determined at each control time interval. In one embodiment the estimation time interval is less than or equal to the control time interval. In this way, the estimated state converges to the true state regardless of noise in the measurements and disturbances acting on the vapor compression system.
For example, in one embodiment, the supervisory controller determines the set of control inputs achieving a plurality of setpoints including zone temperature setpoints and a performance setpoint specifying a trade-off between an amount of heat per unit of consumed energy and the thermal capacities of the heat exchangers. The supervisory controller determines the set of control inputs by optimizing a cost function that penalizes for deviation from each setpoint.
The solver 720 determines the control inputs 722 for the MZ-VCS 100 by solving a constrained optimization problem defined by a prediction model 721, the input and/or output constraints 740 on the operation of the system, a cost function 750 that penalizes the relative importance of control moves and performance outputs, the measured disturbances 730, setpoints for the performance outputs 665, the estimated system state 717, and error integrator values 711. The constraints 740 represent physical and operational limitations of the system.
The control inputs 722 may be separated into commands 724 that act on the vapor compression system directly, and commands which represent thermal capacity setpoints 402 provided to the capacity controllers. The capacity controllers in turn modulate the expansion valves such that the indoor heat exchanger thermal capacities are driven to their setpoint capacities. The prediction model 721 used by the solver includes a model of the joint system of the dynamics of the capacity controller and the vapor compression system, which is linear and predictable by design of the capacity controller as previously described.
The prediction model 721 is defined so that the resulting cost function has a minimum at zero, and the design of the terminal cost and terminal control law guarantee locally asymptotically stable behavior of the tracking error between the performance outputs and their corresponding setpoints.
For example, one embodiment of the invention uses the following continuous time linear time-invariant model of a multi-zone vapor compression system:
where x are the dynamic states, ym are the measured outputs, u are the controlled inputs, d are the measured disturbances, and A, B, Bd, and C are parameters of the model of the system.
Offset-Free Estimation of States
Some embodiments of the invention are based on recognition that by designing an estimator which drives the error between the predicted outputs and measured outputs to zero when unmeasured disturbances 735, e.g. the thermal load, are constant, a model predictive controller that uses the output of this estimator can achieve error-free regulation of the performance outputs and also guarantee enforcement of output constraints. In various embodiments, the estimator 715 uses auxiliary states to describe the effect of unmeasured disturbances and model uncertainty on the system.
Some embodiments provide the estimator 715 by determining an estimator relationship between the control inputs, the measured disturbances, the measured outputs, and the main dynamic states of the VCS. The estimator relationship can be determined empirically according to experimental data or analytically according to principles of physics. Next, some embodiments augment the estimator relationship with p auxiliary states to produce the estimator model, wherein p is a number of the measured outputs, and wherein the auxiliary states represent an aggregate effect of the unknown disturbances and uncertainties on the measured outputs at a steady operating condition of the VCS.
For example, one embodiment discretizes the VCS model (1) with a sample time of Tse, resulting in (2).
x(k+1)=Aex(k)+Beu(k)+Bd,ed(k)
y
m(k)=Cex(k) (2)
The estimator model (2) is augmented with auxiliary wε□p×1 is the number of measured outputs in the system. For example, this augmented estimator model can take the form:
where the auxiliary states are constants added to each measured output.
The dynamics of the estimator are given by
where
is the estimator gain.
Some embodiments determine the estimator gain L using the estimator model so that the time-based performance of the closed-loop estimator is guaranteed to be stable. The estimator gain can be designed in a variety of ways, e.g., using Kalman filter or Luenberger observer design techniques.
The state correction is mathematically described by the term
in (4). The error 892 is scaled by the estimator gain Le to determine 895 the state correction 896. This quantity is then added to the predicted state based on the estimator model shown in Equation (3). The method updates 897 the states of the VCS with the state correction. This step of the method 896 can be performed once or repeated several times within the current time step of the control.
In one embodiment, the error 892 is multiplied by the estimator gain Le2 821 to determine the state correction 822 for the auxiliary state estimate 805. The estimated auxiliary state 805 is added to the predicted output 810, and their sum, the estimated output, 882, is compared against the measured output 671. The physical 804 and auxiliary 805 state estimates reach a constant value once the difference between the estimated output 882 and the measured output 671 is zero.
Model Predictive Control Problem
Referring again to
The constraints can represent physical limitations of the performance of the system and safety limitations on the operation of the system. For example, at time t the current state of the machine is estimated and an admissible cost-minimizing control strategy is determined for some future time horizon. Specifically, an online calculation determines a cost-minimizing control strategy until time t+T, where T represents the length of the finite horizon. Typically, only the first step of the control strategy is implemented, then the state is estimated again and the calculations are repeated starting from the newly-estimated state, yielding a new set of control inputs.
Some embodiments select the offline parameters 760 in such a way as to guarantee that system constraints on both the control inputs and measured outputs are satisfied. This formulation requires i) a particular construction of the prediction model and ii) the design of a terminal cost and control law so that the model predictive controller tracking error is locally asymptotically stable. Furthermore, the design of the terminal cost and control law should not require that the number of control inputs is equal to the number of performance inputs. In fact, in some embodiments, the number of control inputs greater than the number of performance inputs. The extra degrees of freedom that are available allow high performance, such as zero steady-state error setpoint tracking, to be maintained when system constraints are active.
Prediction Model
A prediction model for the VCS operation is a set of equations that describe how the measured outputs change over time as functions of current and previous inputs and capacity controller setpoints, and previous measured outputs. The state of the VCS is any set of information, in general time-varying, that, together with a model of the VCS and future inputs, can uniquely define the future motion of the machine.
x(k+1)=Aprx(k)+Bpru(k)+Bd,prd(k)
y
c(k)=Cprx(k)
y
p(k)=Eprx(k) (5)
where x(k) is the state of the system, k is the time index, and Apr, Bpr, Bd,pr, Cpr and Epr are matrices. Two (potentially overlapping) subsets of the measured outputs 671 are defined 1002 to include the constrained outputs yc and the performance outputs yp. The constrained output matrix Cpr, contains those rows of C such that yc describes the outputs to be constrained in the optimization solver. Similarly, the performance output matrix Epr contains those rows of C such that yp describes the performance outputs that are explicitly characterized in the cost function.
Some embodiments modify the prediction model of Equation (5) so that the resulting optimization problem can be solved as a quadratic program. First, the prediction model is augmented 1003 with the same auxiliary (output disturbance) states w that were added to the estimator model so that the prediction model accurately predicts the effect of control decisions on the constrained and performance outputs,
where Cw and Ew are matrices of zeros and ones defined to be consistent with the definition of yc, yp, and w. The inclusion of w provides the information to the prediction model about effect of the unmeasured disturbances on the performance of the system.
Another augmentation involves expressing the input as a discrete integrator 1004 where inputs are expressed as changes from the previous value. Let u(k)=u(k−1)+du(k). This change of variables enables constraints to be placed on the rate of change of the control input. It also results in cost function whose minimum is zero. Let xu(k)=u(k−1) and ū=du(t). Additionally, because constraints could be imposed on the value of the actual control input (for example maximum or minimum actuator limits), u(k−1), in addition to the change in the control input from one time step to another (for example, actuator rate limits), ū(k), we augment the constrained output vector yc, with yu=xu as shown in (7).
Next, the state vector is augmented 1005 with the measured disturbance signals 730. Let d(k+1)=d(k) which models the disturbance as a constant over the prediction horizon, and xd (k)=d(k). Then
In addition, the state space representation is also augmented 1006 with the setpoints that are regulated during the control.
where z(k)=yp(k)−r(k) and xr(k)=r(k).
In some embodiments, the prediction model can be rewritten in the following form:
where ξ(k)=[x (k)′ w(k)′ xu(k)′ xd(k)′]′, r(k)=xr(k), and
Determining the Terminal Cost and Control Law
The control method determines the optimal control input sequence and associated cost over a prediction horizon of length N steps. However, some embodiments guarantee that the system is locally asymptotically stable over an infinite horizon 1105, that is from time step k=0 until k=∞. Because the solver only determines the optimal control input sequence between k=0 and k=N−1 1110, a terminal cost and control law are used to describe and to influence how the system dynamics evolve from k=N to k=∞1115.
The complete finite horizon constrained optimal control problem can be given by
where P is the terminal cost weight and K is the terminal gain. In order to determine P and K, some embodiments construct the system
x
z
where ξ(k)=[x(k)′ w(k)′ xu(k)′ xd(k)′]′, xr(k)=xr(k),
and Ēpr=[Eξ−Er]. The system of (12) is not fully observable and not fully controllable because the controller cannot, in general, modify the reference or the disturbance, and the optimal cost does not depend on the absolute reference and output values but only on their difference. Accordingly, some embodiments apply an observability decomposition via an appropriate change of coordinates T,
x
obs
=Tx,X
obs
=[x
o
T
x
no
T]T (13)
and
where xno are the coordinates of the state vector with respect to a basis of the unobservable subspace, xo are the coordinates of the state vector with respect to a basis of the observable subspace, and the pair (Ao,Eo) is observable. The subscript o is used to refer to the observable subspace. Then, the terminal gain K=[Ko 0]T and terminal cost weight where
K
o=−(BoTPoBo+R)−1BoTPoAo (15)
and Po is the solution of the Riccati equation
P
o
=E
o
T
Q
z
E
o
+A
o
T
P
o
A
o
−A
o
T
P
o
B
o(BoTPoBo+R)−1BoTPoAo (16)
The transformation matrix T is used to transform Ko and Po to the coordinates of the original state vector (12). Moreover, the solution Po is guaranteed to exist, which ensures that for the controller that solves (11), limt∥z(t)∥=0, and the tracking error z(t) is stable. Furthermore, if Aξ, Ar (10) do not share unstable eigenvalues, i.e., eigenvalues with value larger than 1, such that the eigenvectors images through Eξ, and Er (10) share a subspace, there exists ξeqεdimA
The above-described embodiments of the present invention can be implemented in any of numerous ways. For example, the embodiments may be implemented using hardware, software or a combination thereof. When implemented in software, the software code can be executed on any suitable processor or collection of processors, whether provided in a single computer or distributed among multiple computers. Such processors may be implemented as integrated circuits, with one or more processors in an integrated circuit component. Though, a processor may be implemented using circuitry in any suitable format.
Also, the various methods or processes outlined herein may be coded as software that is executable on one or more processors that employ any one of a variety of operating systems or platforms. Additionally, such software may be written using any of a number of suitable programming languages and/or programming or scripting tools, and also may be compiled as executable machine language code or intermediate code that is executed on a framework or virtual machine. Typically the functionality of the program modules may be combined or distributed as desired in various embodiments.
Also, the embodiments of the invention may be embodied as a method, of which an example has been provided. The acts performed as part of the method may be ordered in any suitable way. Accordingly, embodiments may be constructed in which acts are performed in an order different than illustrated, which may include performing some acts simultaneously, even though shown as sequential acts in illustrative embodiments.
Use of ordinal terms such as “first,” “second,” in the claims to modify a claim element does not by itself connote any priority, precedence, or order of one claim element over another or the temporal order in which acts of a method are performed, but are used merely as labels to distinguish one claim element having a certain name from another element having a same name (but for use of the ordinal term) to distinguish the claim elements.
Although the invention has been described by way of examples of preferred embodiments, it is to be understood that various other adaptations and modifications can be made within the spirit and scope of the invention. Therefore, it is the object of the appended claims to cover all such variations and modifications as come within the true spirit and scope of the invention.