This invention relates to heating, ventilation, and air conditioning (HVAC) systems, and more particularly to a system and method for generating a controller for HVAC systems with multiple indoor units.
Heating, ventilation, and air conditioning (HVAC) systems move thermal energy between a low temperature environment and a high temperature environment in order to perform cooling or heating operations so that the comfort of the occupants in an indoor space can be maintained or improved. For example, heat can be moved from an indoor space to an outdoor space in order to lower the indoor temperature or mitigate the effect of thermal energy infiltrating an indoor space in a cooling operation. Conversely, heat can be moved from an outdoor space to an indoor space in order to raise the indoor temperature or mitigate the effect of thermal energy exfiltration an indoor space in a heating operation.
A multi-indoor unit HVAC system includes at least a single compressor and single outdoor heat exchanger connected to multiple indoor heat exchangers arranged in one or more indoor units. Refrigerant flow is split among the indoor units and modulated with flow metering valves arranged between the indoor heat exchangers and outdoor heat exchanger. These flow metering valves can also serve as the main pressure reducing device required to lower the refrigerant temperature and pressure in order to complete the vapor compression cycle. Depending on the state of a four-way valve connected to the compressor, high pressure refrigerant can flow from the compressor to the outdoor unit (in which case the outdoor unit heat exchanger is a condenser and the indoor unit heat exchangers are evaporators) or refrigerant can flow from the compressor to the indoor units and the roles of the indoor and outdoor heat exchangers are reversed.
Recent advancements in power electronics and low cost micro-controllers have led to variable speed compressors, electronically controlled valves, and variable speed fans. The control of these actuators must be coordinated to achieve room temperature regulation and enforce machine limitations such as a maximum safe pressure of the refrigerant or a maximum safe temperature of a system component.
One challenge for controller HVAC systems is that the system dynamics are modeled by very high-dimensional models, especially when the number of indoor units is large, for instance when regulating the temperatures in an office building. This makes controller generation very time and resource consuming since the numerical complexity of generating controllers grows non-linearly with model dimension. For instance, a popular method for generating controllers is using linear matrix inequalities (LMI). However, generating a controller using LMI based techniques for a moderately sized building with 50 indoor units requires up to 41 hours of computation. This issue is compounded by the fact that controller generation is typically an iterative process in which an engineer generates a controller, tests the controller, and then tweaks some of the design parameters to generates an improved controller.
There is a need for a system and method for generating controllers for large-scale HVAC systems that has low computational complexity while preserving the desired properties of the resulting controller.
Some embodiments are based on recognition that a heating, multi-unit ventilation, and air conditioning (HVAC) system that includes at least one outdoor unit and multiple indoor units is a dynamically coupled system. In such a dynamically coupled system, a single control input to the outdoor and indoor units affects the performance of others units. Similarly, the single control input affects different outputs of the HVAC system. Examples of the outputs of the HVAC system include temperature measurements in various rooms conditioned by the HVAC system. Accordingly, one output of the HVAC system can or should influence different control inputs to the HVAC system. A controller of multi-unit HVAC system relates outputs of the HVAC system to the control inputs to the multi-unit HVAC system. Therefore, designing such a controller relating inputs and outputs of the multi-unit HVAC system is computationally intensive.
Some embodiments are based on realization that the inputs and outputs of the HVAC system can be abstracted to gain a design flexibility that can be used to decouple the controller. Specifically, the inputs and outputs of the HVAC system can be abstracted using input and output channels. An input channel an abstraction represented by a weighted combination of control inputs to the conditioning units of HVAC. Similarly, an output channel is a weighted sum of measured outputs of the HVAC system. For instance, for an HVAC system with one outdoor and three indoor units, an input channel can send no command to the outdoor unit, the same command to the first and second indoor units, and 50% of that command to third indoor unit. The output channel is a weighted sum of temperatures in the rooms conditioned by the first, second and third indoor units.
The input channels can be combined (lifted) using vectors of weights to form control inputs to the HVAC system. To that end, knowing the input channels, the control inputs to the HVAC system can be readily determined. The output channels can be obtained by applying the vectors of weights to the outputs of the HVAC system. To that end, knowing the outputs, the output channels of the HVAC system can be readily determined.
Some embodiments are based on realization that a model of the HVAC model can be decomposed or transformed by finding input and output channels that have decoupled dynamics, such that an input channel affects only one corresponding output channel Such a decomposition allows determining controllers for decomposed models connecting corresponding input and output channels. In such a manner each controller can be determined independently from another controller, which simplifies the controller generation.
For example, some embodiments decompose the model of the HVAC system into a collection of decoupled transformed models defining relationship between input channels and output channels with decoupled dynamics, such that a single input channel effects only one corresponding output channel Each input channel is defined by a weighted combination of control inputs to the HVAC system, and each output channel is defined by a weighted combination of temperatures affected by operation of the HVAC system. Some embodiments are based on the realization that in order to achieve the decoupled dynamics, one pair of input and output channels relates the outdoor unit inputs and uniform control to all the indoor units with the average temperature of all the rooms and other pair of input and output channels can be defined by weight vectors orthogonal to each other.
Some embodiments are based on the realization that, although HVAC systems are complex, they are built from a large number of simple components that are repeated multiple times. For instance, an HVAC system typically has a single outdoor unit connected to multiple indoor units of the same design or one of a few available designs. It is realized that these symmetries in the HVAC system can be exploited to simplify computations required to generate a controller for an HVAC system.
To that end, some embodiments decompose the model of the HVAC system into a collection of decoupled transformed models including a first transformed model modeling dynamics of the outdoor unit as a relationship between uniform control for the set of indoor units and the average temperature in the set of rooms, and a set of second transformed models, each second transformed model models a difference between room dynamics and room coupling dynamics. All second transformed models are identical while modeling relationship between different input and the output channels. In such a manner, the embodiment can generate a decouple controller for each transformed model to form a collection of decoupled controllers, where each decouple controller defines a relationship between measurements the output channel and inputs to the input channel of the corresponding transformed model.
In such a manner, the computational complexity of designing the controller for the multi-unit HVAC system is reduced thereby improving the computer itself.
Accordingly, one embodiment discloses a computer-implemented system for generating a controller to control a heating, ventilation, and air conditioning (HVAC) system in a building including at least one outdoor unit located outside of the building and a set of indoor units located in a set of rooms inside of the building. The system includes an input interface to accept a model of dynamics of the HVAC system defining relationship of inputs to the HVAC system to outputs of the HVAC system; a processor to decompose the model of the HVAC system into a collection of transformed models defining relationship between input channels and output channels with decoupled dynamics, such that a single input channel affects only one corresponding output channel, wherein each input channel is defined by a weighted combination of control inputs to the HVAC system, and wherein each output channel is defined by a weighted combination of temperatures affected by operation of the HVAC system, wherein the collection of decoupled transformed models includes a first transformed model modeling dynamics of the outdoor unit as a relationship between uniform control for the set of indoor units and the average temperature in the set of rooms; and a set of second transformed models, each second transformed model models a difference between room dynamics and room coupling dynamics, wherein all second transformed models are identical while modeling relationship between different input and the output channels; and generate a decouple controller for each transformed model to form a collection of decoupled controllers, wherein, each decouple controller defines a relationship between measurements the output channel and inputs to the input channel of the corresponding transformed model; and an output interface to output the collection of decoupled controllers as the controller to control the HVAC system.
Another embodiment discloses a method for generating a controller to control a heating, ventilation, and air conditioning (HVAC) system in a building including at least one outdoor unit located outside of the building and a set of indoor units located in a set of rooms inside of the building, wherein the method uses a processor coupled with stored instructions implementing the method, wherein the instructions, when executed by the processor carry out at least some steps of the method. The method includes decomposing a model of dynamics of the HVAC system defining relationship of inputs to the HVAC system to outputs of the HVAC system into a collection of decoupled transformed models defining relationship between input channels and output channels with decoupled dynamics, such that a single input channel effects only one corresponding output channel, wherein each input channel is defined by a weighted combination of control inputs to the HVAC system, and wherein each output channel is defined by a weighted combination of temperatures effected by operation of the HVAC system, wherein the collection of decoupled transformed models a first transformed model modeling dynamics of the outdoor unit as a relationship between uniform control for the set of indoor units and the average temperature in the set of rooms; and a set of second transformed models, each second transformed model models a difference between room dynamics and room coupling dynamics, wherein all second transformed models are identical while modeling relationship between different input and the output channels; generating a decouple controller for each transformed model to form a collection of decoupled controllers, wherein, each decouple controller defines a relationship between measurements the output channel and inputs to the input channel of the corresponding transformed model; and outputting the collection of decoupled controllers as the controller to control the HVAC system.
Yet another embodiment discloses a non-transitory computer readable storage medium embodied thereon a program executable by a processor for performing a method. The method includes decomposing a model of dynamics of the HVAC system defining relationship of inputs to the HVAC system to outputs of the HVAC system into a collection of decoupled transformed models defining relationship between input channels and output channels with decoupled dynamics, such that a single input channel effects only one corresponding output channel, wherein each input channel is defined by a weighted combination of control inputs to the HVAC system, and wherein each output channel is defined by a weighted combination of temperatures effected by operation of the HVAC system, wherein the collection of decoupled transformed models includes a first transformed model modeling dynamics of the outdoor unit as a relationship between uniform control for the set of indoor units and the average temperature in the set of rooms; and a set of second transformed models, each second transformed model models a difference between room dynamics and room coupling dynamics, wherein all second transformed models are identical while modeling relationship between different input and the output channels; generating a decouple controller for each transformed model to form a collection of decoupled controllers, wherein, each decouple controller defines a relationship between measurements the output channel and inputs to the input channel of the corresponding transformed model; and outputting the collection of decoupled controllers as the controller to control the HVAC system.
In this disclosure, a two indoor unit HVAC system is depicted and described for clarity, but it should be understood that any number of indoor units can be used, subject to the physical limitations of refrigerant line lengths, capacity and pumping power of the compressor, and building codes.
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 providing 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 units and is providing 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, e.g., condenser for evaporator, condensing temperature for evaporating temperature, etc.
In cooling mode, the high-temperature, high-pressure refrigerant moves to an outdoor heat exchanger (115) and in the case of an air-source vapor compression system, an associated optional fan (116) blows air across the heat exchanger, where the air acts as a heat source or sink as shown in 1. In the case of a ground-source vapor compression system, components of outdoor heat exchanger may be buried underground or otherwise in direct contact with earth or water, and in that case, the ground environment acts as a heat source or sink. Heat is transferred from the refrigerant to the environmental heat source or sink, causing the refrigerant in the outdoor heat exchanger 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 some 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 units (125) or (135). 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 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) move air across the heat exchangers. Heat (122), (132) representing the thermal loads from the indoor spaces is transferred from the rooms 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 some 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 HVAC (100) may 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 command (250) can be fixed to one or more predetermined settings, or it can be varied continuously. Similarly, the outdoor heat exchanger fans (116) can operate at fixed speeds or it can be varied continuously. In some configurations, an indoor heat exchanger fan (121), (131) can be determined by the controller (200), or its speed can be determined by an occupant when the occupant wishes to directly control indoor airflow. In the case an indoor fan speed is determined by the controller, the fan speed is treated by the controller as a control input for manipulating the operation of the system. In the case an indoor fan speed is specified by an occupant, the fan speed is treated by the controller as a measured disturbance acting on the system. The expansion valves (126), (136) are controlled by the controller and may vary from a fully closed to a fully open position, including one or more intermediate positions. Some HVAC system 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 control inputs associated with these actuators are the compressor rotational frequency (CF) command (250), the outdoor fan speed (ODF) command (251), and each electronic expansion valve opening position (EEVi) command (211), (221).
Additional disturbances acting on the HVAC system include the heat load (122), (132) associated with each indoor unit and the outdoor air temperature (OAT). Heat loads are the amount of thermal energy moved from the indoor units to the outdoor unit per unit time. The total heat is then rejected to the atmosphere at the outdoor heat exchanger temperature, which is determined by both the OAT (a disturbance signal) and the state of the machine actuators.
The available sensors (270) can include temperature sensors that measure the evaporating temperature Te, the condensing temperature Tc, the compressor discharge temperature Td, and the air temperature Tri in each room, labeled (271) in
In some implementations, the HVAC system includes capacity controllers for at least some indoor units. The capacity controllers (210) receive commands (202) from the controller (200) that indicate a desired reference cooling capacity, which is the proportional to the desired amount of heat removed from the room by each evaporator per unit time. The capacity controller (210) determines a command (211) for the EEV position to produce the desired cooling capacity, based on measurements of the coil temperatures (HX coil) (272). These capacity controllers account for the fact that the effect of EEV positions on room temperatures is nonlinear. The cooling capacity controllers linearize the responses from the reference cooling capacity (202) of each room CCCi to the associated room temperature Tri.
where the state-space notation
is short-hand for the set of differential equations
{dot over (x)}(t)=Ax(t)+Bu(t)
y(t)=Cx(t)+Du(t).
In these equations u(t)∈Rn
The linear model (1) models how the measured outputs (302) of the HVAC system (100) respond to control inputs (301) to the HVAC system (100). In turn, the controller models the control inputs (301) based on the outputs (302). The outputs (302) are signals measured by the controller which can include at least some of, but are not limited to, temperature measured in the rooms, temperatures measured at various points in the indoor or outdoor units, pressure measurements in the indoor and outdoor units, and any other available measurements. The inputs (301) are signals that can be commanded by the controller which includes, but are not limited to, valve openings, fan speeds, and compressor frequency.
The model (1) can be partitioned into various sub-models. The sub-model
models the relationship between the inputs u0(t) to the outdoor unit, e.g. compressor speed and outdoor fan speed, and the outputs y0(t) of the outdoor unit, e.g. temperatures and pressures measured in the outdoor unit. The sub-models
for i=1, . . . ,r model the relationships between the inputs ui(t) to the i-th indoor units, e.g. valve openings and indoor fan speed, and the outputs yi(t) of i-th outdoor unit, e.g. room temperature or temperature of the heat exchanger. The sub-models
for i,j=1, . . . ,r model the coupling between the indoor units i.e. how the input uj(t) to the j-th indoor unit effects the outputs yi(t) of the i-th indoor unit. The sub-models
model how the inputs ui(t) to the indoor units, e.g. valve openings, effect the outputs y0(t) of the outdoor units, e.g. temperatures or pressures in the outdoor unit. The sub-models
model how the inputs u0(t) to the outdoor units, e.g. compressor frequency or outdoor fan speed, effect the outputs yi(t) of the indoor units e.g. room temperature. One of the biggest challenges for generating controllers for HVAC systems is that the coupling dynamics are non-trivial G0i≠0, Gi0≠0, and Gij≠0 for i, j=1, . . . ,r and therefore must be considered in the control design.
In some embodiments, the HVAC model (1) be a state-space model. In some other embodiments, the HVAC model (1) is not a state-space model instead the model (1) can be represented as a matrix of transfer functions that describe the input-output relationships of the HVAC system
G(s)=C(sI−A)−1B+D.
Some embodiments use the model (1) to generate a linear controller K (200) for the HVAC system (100). The controller K (200) is a dynamic system that measures the outputs (302) of the HVAC system (100) and produces control inputs (301) for the HVAC system (100). The controller K (200) can be implemented in hardware to form a control system. For example, the controller K (200) can be implemented using a processor coupled with the executable instructions.
The controller K (200) can have several different purposes including, but not limited to, stabilizing the dynamics of the HVAC system, providing temperature tracking in the rooms, ensuring that the equipment is operated safely, or reducing energy consumption. Various embodiments do not limit the possible closed-loop behaviors created by the linear controller K (200). Indeed some implementations are compatible with and complimentary to existing techniques for generating linear controllers. However, the objective of some embodiments is to reduce the computational burden of generating the controller that achieves the control objectives. For example, one embodiment can generate a controller using LMI based techniques for a moderately sized building with 50 indoor units with less than a second of computation.
A general linear controller for the HVAC system (1) has the form
where the sub-controller K00 produces a control input K00y0(t) for the outdoor units based on the measured outputs y0(t) from the outdoor unit, the sub-controllers K0i for i=1, . . . ,r produce control inputs K0iyi(t) for the outdoor unit based on the indoor unit measurements yi(t) , the sub-controllers Ki0 for i=1, . . . ,r produce control inputs Ki0y0(t) for the indoor units based on the outdoor unit measurements yi(t), the sub-controllers Kii for i=1, . . . ,r produce control inputs Kiiyi(t) for each indoor unit based on that indoor units measurements yi(t), and the sub-controllers Kij for i, j=1, . . . ,r produce control inputs Kijyj(t) for an indoor unit i based on the measurements yj(t) of a different indoor unit yj(t).
The control input u0(t) to the outdoor unit is the sum of the inputs produced by the sub-controllers K00 and K0i for i=1, . . . , r
u
0(t)=K00y0(t)+Σi=1rK0iyi(t).
The control input ui(t) to each of the indoor units i=1, . . . ,r is the sum of the inputs produces by the sub-controllers Ki0 and Kij for j=1, . . . , r
u
i(t)=Ki0y0(t)+Σj=1rKijyj(t).
The difficulty in generating a controller (2) for the HVAC system (1) is that all the sub-controllers Kij for i, j=0, . . . ,r needed to be designed jointly due to the strong coupling G0i, Gi0, Gij in the HVAC system (1). The complexity of generating a controller (2) grows nonlinearly with the number of rooms r. Thus, it may not be possible or at least practical to generate of a controller for an HVAC system in a large building.
Some embodiments are based on the realization that HVAC system are assembled from a limited catalog of subsystem. Specifically, an HVAC system is usually include a single outdoor unit connected to multiple indoor units which are typically of the same design or one of a few possible designs. This symmetry of the indoor units is exploited by this invention to reduce the computational complexity of designing a controller for an HVAC system.
Because the indoor units have the same design, those indoor units have the same dynamics. In terms of the HVAC model (1), this means that the models Gii for i=1, . . . ,r that model the internal dynamics of the indoor units are the same for each indoor unit Gii=Gjj for i, j=1, . . . ,r. Furthermore, the models Gi0 and G0i that model the coupling between the outdoor unit dynamics and the indoor unit dynamics are the same for each of the indoor units G0i=G0j and Gi0=Gj0 for all i, j=1, . . . ,r. Finally, the models Gij that model the coupling between the indoor units are the same for each pair of indoor units Gij=Glk for i, j, l, k=1, . . . ,r.
Thus, the model of the HVAC system (1) can be simplified using the symmetry of the HVAC system according to
where G11=Gii for i=1, . . . ,r is the model that models the internal dynamics of all the indoor units, G12=Gij for i, j=1, . . . ,r is the model the models all coupling between indoor units, and G10=Gi0 and G01=G0i are the models that model the interactions between the outdoor unit and indoor units.
Some embodiments are based on recognition that the symmetric HVAC model (3) can be specified by five sub-models (G00, G11, G10, G01, and G12) thus only five sub-controllers ({circumflex over (K)}00, {circumflex over (K)}11, {circumflex over (K)}10, {circumflex over (K)}01, and {circumflex over (K)}22) need to be designed in order to achieve the desired control objectives. However, it is not obvious how to design these sub-controllers since the sub-models and the sub-controllers interact in complicated and coupled manner. To that end, some embodiments provide a system and a method to generate these sub-controllers in a dynamically decoupled manner to achieve the desired closed-loop behavior of the HVAC system.
The system 400 includes an input interface 401 to accept a model of dynamics of the HVAC system defining relationship of inputs to the HVAC system to outputs of the HVAC system. The input interface (401) can also be used to receive additional data specific to the desired type of controller e.g. a cost function can be received if a LQR controller is desired or a frequency weighting function can be received if a PID controller is desired. The input interface (401) can have many different manifestations including, but not limited to, a computer terminal, a web-service, an interface with modeling software, etc.
A processor (406) is used to generate a controller (2) for the HVAC system (3) according to steps 402-404. First, the processor decomposes (402) the HVAC model into a collection of decoupled transformed models, which are simpler than the original model. The collection of decoupled transformed models defines relationship between input channels and output channels with decoupled dynamics, such that a single input channel affects only one corresponding output channel Each input channel is defined by a weighted combination of control inputs to the HVAC system, and each output channel is defined by a weighted combination of temperatures affected by operation of the HVAC system.
The collection of decoupled transformed models includes a first transformed model and a set of second transformed models. The first transformed model models dynamics of the outdoor unit as a relationship between uniform control for the set of indoor units and the average temperature in the set of rooms. Each second transformed model models a difference between room dynamics and room coupling dynamics. All second transformed models are identical while modeling relationship between different input and the output channels. The decoupled transformed models are described in more details below.
Next, the processor 406 generates a collection of controllers for each of the transformed models to form a collection of decoupled controllers. Each decouple controller defines a relationship between measurements the output channel and inputs to the input channel of the corresponding transformed model. The collection of controllers can be generated using any linear control design technique e.g. pole-placement, LQR, PID, lead-lag, H-infinity, etc. Since the transformed models are dynamically decoupled, each of the controllers in the collection can be generated independently. This can be done either in parallel or in series. Furthermore, since the decomposed HVAC models are typically much smaller and simpler than the original HVAC model it requires less computation to generate the controllers. Thus, the embodiments have the ability to generate any type of linear controller using less computational resources.
The collection of controllers generated in step 403 is designed to control the collection of decomposed models from step 402. This collection can be outputted to the output interface 405. Additionally or alternatively, in one embodiment, the collection of controllers is combined 404 into a single controller that can be used to controller the original HVAC system. Advantageously, the combined controller inherits the properties of the collection of controllers. For instance, if each controller in the collection of controllers stabilizes the corresponding model in the collection of models, then the combined controller stabilizes the original HVAC system. The combination of the decoupled controllers is described in more details below.
The system 400 returns a controller using an output interface (405). The output interface (405) can have many different manifestations including, but not limited to, a computer display, a print-out, computer or assembly code for executing the controller on a computer, an analog circuit or digital computer chip that implements the controller. In one embodiment, the output interface (405) includes a transceiver for exchanging information over the Internet.
One embodiment is implemented on a portable computer carried by a technician. The technician connects the computer to the HVAC system's onboard processor. The computer downloads (401) a description of the HVAC system and generates a controller (using steps 402-404). This controller is then uploaded (405) onto the HVAC system's onboard processor. Additionally or alternatively, one embodiment is implemented as an Internet server. The HVAC system's onboard processor system can transmit (401) a description of its components through the Internet to a server, which generates a controller (using steps 402-404), and the resulting controller is downloaded (405) onto the onboard HVAC processor. The advantage of these embodiments is that that controller is generated nearly instantaneously. This allows technician installing the HVAC system to immediately move-on to the next step of the installation process instead of having delay the installation until the controller has been generated.
where Φu,i is a vector of weights that defines the i-th input channel For instance, an input channel can send no command to the outdoor unit, the same command to the first and second indoor units, and 50% of that command to the third indoor unit would be described by the vector of weights
The “vector” of weights can be a matrix if the channel contains multiple signals. For instance, a channel that sends one signal to the outdoor unit and another signal uniformly to all the indoor units would be defined by the “vector” of weights
The dimensions nu,i of the input channels ui(t)∈Rn
nu=Σi=1rnu,j.
u(t)=Σi=1rΦu,iûi(t)=Φuû(t)
where Φu=[Φu,1, . . . , Φu,r]∈Rn
An output channel ŷi is a weighted sum of measured outputs y(t) i.e.
ŷ
i(t)=Σj=1rΦy,ijyj(t)=Φy,iúy(t)
where Φy,i is a “vector” of weights that defines the i-th output channel
To ensure that the embodiments do not lose any the information about the system provided by the outputs y(t) (302), the output weighting vectors Φy,i should be chosen to form a linearly independent set i.e.
y(t)=Φy−úŷ(t)
where Φy=[Φy,1, . . . , Φy,r]∈Rn
Various embodiments select the input and output channels in a specific manner so that they have independent dynamics. Specifically, the input and output channels are selected such that the input channel for each of the second transformed models does not produce a response for the output channel of the first transformed model, the output channel for each of the second transformed models has no response to the input channel of the first model, and the input channel for each of the second transformed models produces a response only for the corresponding output channel of that second transformed model and not the output channels other second transformed models.
Ĝij=Φy,iúGΦu,j.
where the hat symbol is used to indicate that Ĝij models the dynamics between input and output channels rather than actual inputs and outputs, and the subscript ij indicate that Ĝij models the dynamics between the j-th input channel ûj(t) and i-th output channel ŷi(t).
The requirement that the input and output channels have independent dynamics, means that the models Ĝij that model the response ŷi(t) of the i-th output channel to a different j≠i input channel ûi(t) should be zero Ĝij=0. In other words, the j-th input channel ûj(t) produces no response ŷi(t)=Ĝijûj(t)=0 in the i-th output channel yi(t). This simplifies the control design since the controller does not have to worry about how the j-th input channel ûj(t) influences the i-th output channel ŷi(t).
The dynamics Ĝii between matching input ûi(t) and output channels ŷi(t) can be modeled using a simpler, lower-dimensional model than the original model of the HVAC system (100). Thus, the requirement that the input and output channels have independent dynamics can be summarized by the equation
The models Ĝii for i=1, . . . ,r are the collection of the transformed models used by various embodiments to design the controller 200. The fact that these models are decouple refers to the fact that they satisfy the equation (4).
To satisfy Equation (4) for the symmetric HVAC system (3), the first input channel û1(t) includes the outdoor unit inputs and applies uniform control to all the indoor units. Thus, the weighting “vector” Φu,1 for the first input channel û1(t) is
where I0 is an identity matrix with the same dimension as the number of inputs to the outdoor unit and I1= . . . =Ir are identity matrices with the same dimension as the number of inputs to each indoor unit. Since the indoor units are symmetric, they have the same number of inputs. The first output channel ŷ1(t) includes the measured outputs of the outdoor unit and the average temperature of all the rooms.
Thus, its weighting “vector” Φy,1 is
where I0 is an identity matrix with the same dimension as the number of measured signals from the outdoor unit and I1= . . . =Ir are identity matrices with the same dimension as the number of measured signals from each indoor unit. Since the indoor units are symmetric they have the same number of measured signals.
The remaining r−1 input ûi(t) and output ŷi(t) channels for i=2, . . . ,r can be selected by choosing any set of vectors φi that are mutually orthogonal φiúφj=0 for i≠j and orthogonal to the vector of ones φiú1=Σj=1rφij=0. The input channel ûi(t) weighting vectors are then chosen as
where I1= . . . =Ir are identity matrices whose dimension is the number of inputs to each indoor unit. The output channel ŷi(t) weighting vectors are then chosen as
where I1= . . . =Ir are identity matrices whose dimension is the number of measured outputs to each indoor unit.
The dynamics Ĝ11 between the first input channel û1(t) and the first output channel ŷ1(t) are modeled by
where G00 models the dynamics of the outdoor unit, G11 models the dynamics of the indoor units, G01 models the effects of the indoor units on the outdoor unit, G10 models the effects of the outdoor unit on the indoor units, and G12 models the coupling between the indoor units. Intuitively, the transformed model (5) models the HVAC system as an outdoor unit connected to a single giant indoor unit that includes the thermal mass of all r rooms. The term rG10 means that the giant room has an effect on the outdoor unit r times larger than a regular room. If there is no coupling between the rooms G12=0, then the model (5) says that the giant room acts just like a regular room. However, when the rooms are coupled G12≠0 the coupling effect (r−1)G12 becomes stronger with more rooms r.
For i=2, . . . , r , the dynamics Ĝii between the input ûi(t) and output ŷi(t) channels is modeled by
Ĝ
ii
=G
11
−G
12
where G11 models the dynamics of the indoor units, and G12 models the coupling between the indoor units. Intuitively, (6) models only the internal dynamics G11 of a room with the coupling G12 removed. With this choice of input and output channels the coupling Ĝij=0 between non-matching channels i≠j is zero.
Various embodiments generate a collection of four sub-controllers {circumflex over (K)}00, {circumflex over (K)}01, {circumflex over (K)}10 and {circumflex over (K)}11 to control the first transformed model Ĝ11 (702). These controllers jointly produce a control input for the first input channel (501) based on measurements from the first output channel (504). The controllers can be generated using any linear control design technique i.e. LQR, PID, lead-lag, pole-placement, H-infinity, etc.
Another sub-controller (803) {circumflex over (K)}22 is generated for the second transformed model Ĝ22 (703). Since the models Ĝii relating the i-th input channel ûi(t) to the i-th output channel ŷi(t) for i=2, . . . , r are all the same (6), the controller {circumflex over (K)}22 can be reused for each input-output channel (803-804). Although the controllers (803-804) have the same dynamics {circumflex over (K)}ii={circumflex over (K)}22, they measure different output channels and generate control inputs for different input channels. The copy (803) of the controller {circumflex over (K)}22 measures the output channel (505) and produces control inputs for the input channel (502), while the copy (804) of the controller {circumflex over (K)}22 measures the output channel (506) and produces control inputs for the input channel (503).
Generating the controllers in this manner greatly reduces the computational burden of generating a controller for an HVAC system. Jointly generating a collection of four sub-controllers {circumflex over (K)}00, {circumflex over (K)}01, {circumflex over (K)}10 and {circumflex over (K)}11 is computationally cheaper than jointly generating a collection of (r+1)2?4 controllers for an HVAC system with a large number of indoor units r?1. Furthermore, all the sub-controllers {circumflex over (K)}00, {circumflex over (K)}01, {circumflex over (K)}10, {circumflex over (K)}11, and {circumflex over (K)}22 are typically low-dimensional since the sub-models (5) and (6) are typically much lower-dimensional than the original HVAC model (3). In addition, the fact that the models (6) are repeated Ĝii=Ĝjj for i,j=2, . . . , r means that we only need to design the controller {circumflex over (K)}ii for i=2, . . . , r once.
Additionally or alternatively, the controller 901 can be expressed as a single, centralized controller
Based on the properties of the weighting vectors that define the input Φu,i and output Φy,i channels, the controller K can be written more explicitly in terms of the collection of transformed controllers {circumflex over (K)}ij. Thus, some embodiments of this invention use a controller of the form
Intuitively, the first part of this controller is comprised of a controller {circumflex over (K)}00 for the outdoor units and a series of decoupled controller {circumflex over (K)}22 for each of the indoor units. The second part of the controller handles the coupling between the indoor units and between the indoor and outdoor units. The sub-controller {circumflex over (K)}10 produces a control input for the indoor units based on measurements y0(t) from the outdoor unit. Each indoor unit receive 1/r of this control input
The sub-controllers {circumflex over (K)}01 command the outdoor unit based on the average temperatures yi(t) of the rooms i.e.
where yi(t) is the temperature of the i-th room. The sub-controllers {circumflex over (K)}11-{circumflex over (K)}22 are used to reduce the adverse effects of coupling between the indoor units. The sub-controller {circumflex over (K)}11-{circumflex over (K)}22 produce a control input based on the average temperature of all the rooms i.e.
The input u0(t) to the outdoor unit is sum of the control input {circumflex over (K)}00y0(t) produced by the centralized controller {circumflex over (K)}00 and the control inputs {circumflex over (K)}01yi(t) produced by the coupling controllers
The input ui(t) to each of the indoor units i=1, . . . ,r is the sum of the control input {circumflex over (K)}22yi(t) produced by the centralized controller {circumflex over (K)}22, the control input
produced by the outdoor unit coupling controller, and the inputs
produced by the indoor unit coupling controllers
Exemplar embodiment is provided for illustrative purposes only. It should be understood that there are many possible variants of this procedure employed by alternative embodiments.
For the purposes of this example, the control objective is to generate a controller that minimizes the difference between the actual room temperatures and their desired set-points temperatures in the presence of unmeasured heat-loads in the rooms. The room temperature tracking error is measured using the cost function of the form
e(t)=(y(t)−ydes(t))TQ(y(t)−ydes(t))
where ydes(t) includes the desired room temperatures, and the matrix Q is a tuning parameter chosen by the control engineer to tweak the closed-loop performance of the controller. The heat-loads are modeled as an unmeasured disturbance w(t) on the system with known mean and covariance W=E(wwT).
One controller that achieves these control objectives can be generated by solving the optimization problem
where (A,B,C,D) are the state-space matrices of the HVAC model (1), the decision variables X and Y parameterize the controller, and the decision variable γ is the “gain” from heat-loads w(t) to tracking errors e(t). The resulting optimal controller is a state-feedback controller u(t)=Kx(t) with feedback gain K=YX−1.
Optimization problems of the form (5) are called semi-definite programs and are very time and resource consuming to solve. The complexity of the optimization problem grows polynomially with the dimensions of the decision variables x and Y as well as the dimension of the matrix inequality (9). The dimensions of the decision variables X∈Rn
For the purposes of this example, the embodiment considers the linear model of Equation (1) of an HVAC system for a moderately size office building with 50 indoor units. The dimensions of this model are summarized in Table 1. This model yields high-dimensional decision variables X∈R155×155 and Y=R52×155, and a high-dimensional LMI∈R364×364 matrix inequality (9). As a result, solving the optimization problem (5) required 41 hours on a typical desktop computer. The controller could have been generated more quickly using a more powerful computational platform such as a super-computer or network cluster but that would require additional expense.
Instead, the exemplar embodiment can generate the exact same controller using principles described in this disclosure. The embodiment receives the model (1) of the HVAC system with dimension in Table 1 through an input interface 402. In step (402), the model (1) is decomposed into two the models (5) and (6). The dimensions of these models are summarized in Table 2. The optimization problem (5) is solved for both of these models (5) and (6). For the first model (5), the decision variables X∈R8×8 and Y∈R3×8 and matrix LMI∈R19×19 in (9) are much lower-dimensional than the original problem.
Likewise, the decision variables X∈R3×3, Y∈R1×3 and matrix LMI∈R19×19 for the second model (6) are even lower-dimensional. In step (403), the optimization problem is solved for the two models (5) and (6). Since the dimensions of the models (5) and (6) are so much lower than the dimensions of the original model (1), the optimization problem can be solved in a fraction of a second. Next, in step (404) the controllers for the models (5) and (6) are combined using the procedure disclosed in
The memory 1004 stores a controller generating procedure 1008 configured to generate a controller to control an HVAC system having a model 1038, such that the processor 1002 executing the stored instructions generates that controller. The controller generating procedure 1008 performs model transformation 1010, generates decoupled controller 1012 for the transformed model and combines 1014 the decoupled controllers into a single controller.
The system 1000 includes an input interface to accept multi-channel speech signals and an output interface to render the recognized text. Examples of the input interface include a human-to-machine interface 1020 to accepts the model 1038 from a human operator. Additionally or alternatively, the input interface can include a network interface controller 1030 adapted to connect the system 1000 through the bus 1006 to a network 1036, such as the Internet. Through the network 1036, the model 1038 can be downloaded and stored for further processing.
Examples of output interface include a display interface 1022, an imaging interface 1026, and a printer interface 1030. For example, the system 1000 can be linked through the bus 1006 to a display interface 1022 adapted to connect the system 1000 to a display device 1024, wherein the display device 1024 can include a computer monitor, camera, television, projector, or mobile device, among others.
Additionally or alternatively, the system 1000 can be connected to an imaging interface 1026 adapted to connect the system to an imaging device 1028. The imaging device 1028 can include a camera, computer, scanner, mobile device, webcam, or any combination thereof. Additionally or alternatively, the system 1000 can be connected to a printer interface 1030 adapted to connect the system 1000 to a printing device 1032. The printing device 1032 can include a liquid inkjet printer, solid ink printer, large-scale commercial printer, thermal printer, UV printer, or dye-sublimation printer, among others.
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 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.