# Patent

## Title
Heating, ventilation and air conditioning (HVAC) system and method using feedback linearization

## Abstract

A new feedback linearization approach to advanced control of single-unit and multi-unit HVAC systems is described. In accordance with the approach of the invention, this new nonlinear control includes a model-based feedback linearization part to compensate for the nonlinearity in the system dynamics. Therefore, the evaporating temperature and superheat values can be controlled by linear PI control designs to achieve desired system performance and reliability. The main advantages of the new nonlinear control approach include (1) better performance even with large model errors, (2) being able to adapt to indoor unit turn on/off operation, (3) much smaller PI control gains compared to that of current feedback PI controls, (4) much easier design procedures since there is no need for tuning the PI control gains over wide range operation.

## Background
RELATED APPLICATION
This application is based on U.S. Provisional Patent Application Ser. No. 60/442,465, filed on Jan. 23, 2003, the contents of which are incorporated herein in their entirety.


BACKGROUND OF THE INVENTION
HVAC systems for buildings are a major consumer of electrical energy. Controlling such systems efficiently and effectively in the presence of dynamic interaction and random disturbance so as to conserve energy while maintaining the desired thermal comfort level requires more than a conventional methodology. With increasing complexity of modem HVAC systems such as multi split systems (Variable Refrigerant Volume systems with multiple evaporators), controlling and optimizing the operation with guaranteed performance, stability and reliability becomes a challenging issue. In addition, complex HVAC systems have a variety of system configurations to meet customers' needs, different operating conditions, and varying environmental conditions. Innovative control design is needed to provide desired system performance and reliability and to dramatically reduce the time and cost of control design processes for complex HVAC systems.
SUMMARY OF THE INVENTION
The invention is directed to a heat transfer system and method. In accordance with the approach of the invention, the system includes a first heat exchanger and a second heat exchanger in thermal communication with a space. A processor estimates an amount of heat transferred between the second heat exchanger and the space and alters a control parameter of the heat transfer system based on the estimated amount of heat transferred to control the heat transfer system.
In one embodiment, the first heat exchanger is a condenser. Alternatively, the first heat exchanger is an evaporator. The second heat exchanger can be a condenser. Alternatively, the second heat exchanger can be an evaporator.
In one embodiment, the processor controls a temperature of refrigerant in the evaporator the processor can control a temperature of refrigerant in the first heat exchanger. The processor can control a degree of superheat in the evaporator. The parameter altered by the processor can be an expansion valve opening.
The processor can control a discharge pressure of refrigerant in a compressor of the heat transfer system. The processor can control a discharge temperature of refrigerant in a compressor of the heat transfer system.
In one embodiment, the system includes a plurality of evaporators in thermal communication with the space and/or a respective plurality of spaces.
In one embodiment, the system of the invention also includes a compressor for increasing pressure of a refrigerant flowing between the first and second heat exchangers. The parameter altered by the processor can be a speed of the compressor.
In one embodiment, the processor controls a temperature of refrigerant in the second heat exchanger. In one embodiment, the processor controls a temperature of refrigerant in the first heat exchanger. In one embodiment, the processor controls a degree of superheat in the second heat exchanger. The parameter altered by the processor can be an expansion valve opening.
In one embodiment, the processor controls a discharge pressure of refrigerant in a compressor of the heat transfer system.
In one embodiment, the processor controls a discharge temperature of refrigerant in a compressor of the heat transfer system.
In one embodiment, the processor controls the parameter using a feedback linearization approach.
In one embodiment, a plurality of second heat exchangers in thermal communication with the space and/or a respective plurality of spaces.
In one embodiment, the heat transfer system is controlled to protect a component of the heat transfer system from damage. The protected component can be a compressor.



BRIEF DESCRIPTION OF THE DRAWINGS
The foregoing and other objects, features and advantages of the invention will be apparent from the more particular description of a preferred embodiment of the invention, as illustrated in the accompanying drawings in which like reference characters refer to the same parts throughout the different views. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention.
FIG. 1 contains a schematic diagram of a low-order evaporator model in accordance with the invention.
FIG. 2 contains a schematic diagram of an evaporator model for multi-systems.
FIG. 3 contains a schematic diagram of the nonlinear control approach in accordance with the invention.
FIG. 4 contains a block diagram of new nonlinear control approach of the invention.
FIG. 5 contains a block diagram of a linear feedback PI control system.
FIG. 6A is a graph of time response of evaporating temperature with same PI gains for the feedback linearization and PI control of the invention compared to feedback PI control.
FIG. 6B is a graph illustrating time response of mass flow rate with same PI gains for the feedback linearization and PI control of the invention compared to feedback PI control.
FIG. 6C is a graph illustrating time response of compressor speed with same PI gains for the feedback linearization and PI control of the invention compared to feedback PI control.
FIG. 7A is a graph of time response of evaporating temperature with similar performance for the feedback linearization and PI control of the invention compared to feedback PI control.
FIG. 7B is a graph of time response of mass flow rate with similar performance for the feedback linearization and PI control of the invention compared to feedback PI control.
FIG. 7C is a graph of time response of compressor speed with similar performance for the feedback linearization an PI control of the invention compared to feedback PI control.
FIG. 8A is a graph of time response of evaporating temperature where feedback linearization is assumed to have 20% error for same PI gains.
FIG. 8B is a graph of time response of compressor speed where feedback linearization is assumed to have 20% error for same PI gains.
FIG. 9A is a graph of time response of evaporating temperature where feedback linearization is assumed to have 20% error for similar performance.
FIG. 9B is a graph of time response of compressor speed where feedback linearization is assumed to have 20% error for similar performance.
FIG. 10A is a graph of time response of evaporating temperature where feedback linearization is assumed to have 20% error for same gains and one indoor unit is turned off at t=40 s and turned on at t=80 s.
FIG. 10B is a graph of time response of compressor speed where feedback linearization is assumed to have 20% error for same gains and one indoor unit is turned off at t=40 s and turned on at t=80 s.
FIG. 11A is a graph of time response of evaporating temperature where feedback linearization is assumed to have no estimation error and the second indoor unit is turned off at t=40 s and turned on at t=80 s.
FIG. 11B is a graph of the control output of compressor speed where feedback linearization is assumed to have no estimation error and the second indoor unit is turned off at t=40s and turned on at t=80 s.
FIG. 12 contains a schematic block diagram of nonlinear control of expansion valve for l(t) in accordance with the invention.
FIG. 13 contains a schematic block diagram of nonlinear control of expansion valve for SH in accordance with the invention.
FIG. 14A is a graph of the time response of the length l(t) of the two-phase section controlled from an initial value of 6 m to the desired value of 7.32 m, assuming there is no estimation error for feedback linearization.
FIG. 14B is a graph of control input of mass flow rate of expansion valve for the case of FIG. 14A.
FIG. 14C is a graph of control output of expansion valve opening for the case of FIG. 14A.
FIG. 14D is a graph of control output of heat flow for the case of FIG. 14A.
FIG. 14E is a graph of control output of superheat for the case of FIG. 14A.
FIG. 15A is a graph of the time response of the length l(t) of the two-phase section controlled at the desired value of 7.32 m, assuming there is 20% estimation error for feedback linearization.
FIG. 15B is a graph of control input of mass flow rate of expansion valve for the case of FIG. 15A.
FIG. 15C is a graph of control output of expansion valve opening for the case of FIG. 15A.
FIG. 15D is a graph of control output of heat flow for the case of FIG. 15A.
FIG. 15E is a graph of control output of superheat for the case of FIG. 15A.
FIG. 16A is a graph of time response of the length l(t) of the two-phase section from and initial value of 6 m to the desired value of 7.32 m, assuming three different load situations and no estimation error for feedback linearization.
FIG. 16B is a graph of control output of expansion valve opening for the case of FIG. 16A.
FIG. 17A is a graph of control output of superheat controlled from an initial value of 11.3 C to the desired value of 5 C, assuming that there is no estimation error for feedback linearization.
FIG. 17B is a graph of control output of expansion valve opening for the case of FIG. 17A.
FIG. 18 contains a schematic diagram of the low-order evaporator model.
FIG. 19 contains a schematic diagram of a multi-unit system in accordance with the present invention.
FIG. 20 is a graph of inlet mass flow rate input.
FIG. 21 is a graph of outlet mass flow rate.
FIG. 22 is a graph of evaporating temperature assuming a measurement output value of Te.
FIG. 23 is a graph of wall temperate Tw showing a comparison of Tw from the model and the nonlinear observer in accordance with the invention.
FIG. 24 is a graph of two-phase length l showing a comparison of l from the model and the nonlinear observer in accordance with the invention.
FIG. 25 is a graph of response of superheat with increase of indoor fan speed, controlling superheat from 5 C to a desired value 3.5 C for the feedback linearization and PI control of the invention and feedback PI control.



DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS OF THE INVENTION
Multi-unit HVAC systems operate in a very nonlinear way at different operating conditions and ambient conditions. During multi-system operation, it is very common that some units are turned on and turned off. There also exists significant nonlinearity in system components such as compressor, expansion value, and heat exchangers. To design a reliable and effective controller for different types of multi-systems is very time-consuming task. Basically, PI gains in feedback controllers currently used in actual multi-unit machines have to be tuned to guarantee performance and stability.
Modeling of dynamic behavior of a complicated air conditioning system with multiple indoor units is a challenging problem. However, it is essential for improvement of design and control of such systems. Modeling of an air condition system with a single indoor unit has been reported in several publications.
A low-order model approach in accordance with the invention is described herein for multi-evaporators in a multi-unit HAVC system. The model describes the dynamic relation between the evaporating temperature and compressor side mass flow rate that can be further related to compressor speed. The model also describes the dynamic relation between the length of the two-phase section of an evaporator and expansion valve side mass flow rate that can be further related to expansion valve opening. With the low-order model, a nonlinear control design method called feedback linearization can be applied to compensate for the nonlinearity in the dynamics. Although the invention is described in terms of a multi-unit HVAC system, it will be understood that the invention is applicable to single-unit systems as well.
The new feedback linearization approach described herein employs much easier design procudures and can achieve better control performance for wide range operation including indoor units being turned on/off. Since the nonlinearity in the system dynamics is compensated by the feedback linearization, a PI controller design approach for a known linear system can be applied. The simulations demonstrate that even with large estimation error, the new nonlinear control of the invention can still achieve desired performance.
1. Low-Order Evaporator Model
This section describes a low-order evaporator model that will be used for the new nonlinear control approach of the invention.
1.1 Derivations of Equations
FIG. 1 contains a schematic diagram of a low-order evaporator model in accordance with the invention. Referring to FIG. 1, Te(t) is evaporating temperature, l(t) is the length of the two-phase section. {dot over (m)}in and {dot over (m)}out are the inlet and outlet refrigerant mass flow rates, respectively. {dot over (m)}mid is the refrigerant mass flow rate at the liquid dry-out point. hin is the inlet refrigerant specific enthalpy. It is assumed that the two-phase section has invariant mean void fraction {overscore (γ)}.
The mass balance equation for the two-phase section is




  
    
      
        
          
            d
            
              d
              t
            
          
          ⁡
          
            [
            
              
                (
                
                  
                    
                      ρ
                      l
                    
                    ⁡
                    
                      (
                      
                        1
                        -
                        
                          γ
                          _
                        
                      
                      )
                    
                  
                  +
                  
                    
                      ρ
                      g
                    
                    ⁢
                    
                      γ
                      _
                    
                  
                
                )
              
              ⁢
              
                Al
                ⁡
                
                  (
                  t
                  )
                
              
            
            ]
          
        
        =
        
          
            
              m
              .
            
            in
          
          -
          
            
              m
              .
            
            mid
          
        
      
    
    
      
        (
        1
        )
      
    
  




where A is the evaporator heat exchanger pipe inner cross section area, ρl and ρg are refrigerant saturated liquid and vapor densities, respectively.

The energy balance equation for the two-phase section is




  
    
      
        
          
            d
            
              d
              t
            
          
          ⁡
          
            [
            
              
                (
                
                  
                    
                      ρ
                      l
                    
                    ⁢
                    
                      
                        h
                        l
                      
                      ⁡
                      
                        (
                        
                          1
                          -
                          
                            γ
                            _
                          
                        
                        )
                      
                    
                  
                  +
                  
                    
                      ρ
                      g
                    
                    ⁢
                    
                      h
                      g
                    
                    ⁢
                    
                      γ
                      _
                    
                  
                
                )
              
              ⁢
              
                Al
                ⁡
                
                  (
                  t
                  )
                
              
            
            ]
          
        
        =
        
          q
          +
          
            
              
                m
                .
              
              in
            
            ⁢
            
              h
              in
            
          
          -
          
            
              
                m
                .
              
              mid
            
            ⁢
            
              h
              g
            
          
        
      
    
    
      
        (
        2
        )
      
    
  




where hl and hg are refrigerant saturated liquid and vapor specific enthalpies and q is the evaporator heat transfer rate.

1.2 Equation for the Two-phase Section Length

From Equations (1) and (2), the following equation is obtained by neglecting the variation of the refrigerant properties over the time step:




  
    
      
        
          
            
              Equ
              ⁡
              
                (
                2
                )
              
            
            -
            
              
                h
                g
              
              *
              
                Equ
                ⁡
                
                  (
                  1
                  )
                
              
            
          
          ⇒
          
            
              
                ρ
                l
              
              ⁡
              
                (
                
                  
                    h
                    l
                  
                  -
                  
                    h
                    g
                  
                
                )
              
            
            ⁢
            
              (
              
                1
                -
                
                  γ
                  _
                
              
              )
            
            ⁢
            A
            ⁢
            
              
                d
                
                  l
                  ⁡
                  
                    (
                    t
                    )
                  
                
              
              
                d
                t
              
            
          
        
        =
        
          q
          +
          
            
              
                m
                .
              
              in
            
            ⁡
            
              (
              
                
                  h
                  in
                
                -
                
                  h
                  g
                
              
              )
            
          
        
      
    
    
      
        (
        3
        )
      
    
  




Since hg−hl=h1g, hin−hg=−h1g(1−x0) where x0 is the inlet vapor quality, Equation (3) can be expressed by





  
    
      
        
          
            
              ρ
              l
            
            ⁡
            
              (
              
                1
                -
                
                  γ
                  _
                
              
              )
            
          
          ⁢
          A
          ⁢
          
            
              d
              
                l
                ⁡
                
                  (
                  t
                  )
                
              
            
            
              d
              t
            
          
        
        =
        
          
            -
            
              q
              
                h
                lg
              
            
          
          +
          
            
              
                m
                .
              
              in
            
            ⁡
            
              (
              
                1
                -
                
                  x
                  0
                
              
              )
            
          
        
      
    
    
      
        (
        4
        )
      
    
  




q/h1g represents the rate of liquid evaporating into vapor, and {dot over (m)}in(1−x0) is the inlet liquid mass flow rate, therefore Equation (4) represents the liquid mass balance in the two-phase section of evaporator.

From Equation (4), the following equation is obtained:




  
    
      
        
          
            d
            
              l
              ⁡
              
                (
                t
                )
              
            
          
          
            d
            t
          
        
        =
        
          
            
              -
              
                1
                τ
              
            
            ⁢
            
              l
              ⁡
              
                (
                t
                )
              
            
          
          +
          
            
              
                (
                
                  1
                  -
                  
                    x
                    0
                  
                
                )
              
              
                
                  
                    ρ
                    l
                  
                  ⁡
                  
                    (
                    
                      1
                      -
                      
                        γ
                        _
                      
                    
                    )
                  
                
                ⁢
                A
              
            
            ⁢
            
              
                m
                .
              
              in
            
          
        
      
    
    
      
        (
        5
        )
      
    
  




where





  
    
      
        τ
        =
        
          
            
              
                ρ
                l
              
              ⁡
              
                (
                
                  1
                  -
                  
                    γ
                    _
                  
                
                )
              
            
            ⁢
            
              Ah
              lg
            
          
          
            
              q
              _
            
            l
          
        
      
    
    
      
        (
        6
        )
      
    
  




and {overscore (q)}l is evaporator heat flux per unit of length. τ can be thought of as representing the time required to evaporate the liquid in the two-phase region.

1.3 Equation for the Evaporating Temperature

The vapor mass balance in an evaporator is now considered. The inlet vapor mass flow rate is {dot over (m)}inxo, and the outlet vapor mass flow rate is {dot over (m)}out out when superheat is presented. The rate of vapor generated from liquid during the evaporating process in the two-phase section is q/h1g. The vapor mass change with respect to time should be equal to inlet vapor mass flow rate plus the rate of vapor generated from liquid minus the outlet vapor mass flow rate. Therefore




  
    
      
        
          
            d
            
              M
              v
            
          
          
            d
            t
          
        
        =
        
          
            V
            ⁢
            
              
                d
                
                  
                    ρ
                    g
                  
                  ⁡
                  
                    (
                    
                      T
                      e
                    
                    )
                  
                
              
              
                d
                
                  T
                  e
                
              
            
            ⁢
            
              
                d
                
                  T
                  e
                
              
              
                d
                t
              
            
          
          =
          
            
              
                
                  m
                  .
                
                in
              
              ⁢
              
                x
                0
              
            
            +
            
              q
              
                h
                lg
              
            
            -
            
              
                m
                .
              
              out
            
          
        
      
    
    
      
        (
        7
        )
      
    
  




where Mν and V are the total vapor mass and total volume of the low-pressure side. Te is evaporating temperature. In Equation (7), it is assumed that in the low-pressure side the vapor volume is much larger than the liquid volume.

1.4 Equations of Evaporator Model for Multi-systems

FIG. 2 contains a schematic diagram of an evaporator model for multi-systems. Based on Equation (4), liquid mass balance for i-th evaporator can be expressed by




  
    
      
        
          
            
              ρ
              l
            
            ⁡
            
              (
              
                1
                -
                
                  
                    γ
                    _
                  
                  i
                
              
              )
            
          
          ⁢
          
            A
            i
          
          ⁢
          
            
              d
              
                
                  l
                  i
                
                ⁡
                
                  (
                  t
                  )
                
              
            
            
              d
              t
            
          
        
        =
        
          
            -
            
              
                q
                i
              
              
                h
                lg
              
            
          
          +
          
            
              
                m
                .
              
              
                in
                ,
                i
              
            
            ⁡
            
              (
              
                1
                -
                
                  x
                  0
                
              
              )
            
          
        
      
    
    
      
        (
        8
        )
      
    
  




where i=1,2, . . . ,n, n is the number of indoor units of a multi-system. qi is the i-th evaporator heat transfer rate.

The vapor mass balance equation for all n evaporators is




  
    
      
        
          
            
              
                
                  ∑
                  
                    i
                    =
                    1
                  
                  n
                
                ⁢
                
                  
                
                ⁢
                
                  
                    d
                    
                      M
                      
                        v
                        ,
                        i
                      
                    
                  
                  
                    d
                    t
                  
                
              
              =
              
              ⁢
              
                
                  
                    ∑
                    
                      i
                      =
                      1
                    
                    n
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      V
                      i
                    
                    ⁢
                    
                      
                        d
                        
                          
                            ρ
                            g
                          
                          ⁡
                          
                            (
                            
                              T
                              e
                            
                            )
                          
                        
                      
                      
                        d
                        
                          T
                          e
                        
                      
                    
                    ⁢
                    
                      
                        d
                        
                          T
                          e
                        
                      
                      
                        d
                        t
                      
                    
                  
                
                =
                
                  
                    
                      ∑
                      
                        i
                        =
                        1
                      
                      n
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        
                          m
                          .
                        
                        
                          in
                          ,
                          i
                        
                      
                      ⁢
                      
                        x
                        0
                      
                    
                  
                  +
                
              
            
          
        
        
          
            
              
              ⁢
              
                
                  
                    
                      ∑
                      
                        i
                        =
                        1
                      
                      n
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      q
                      i
                    
                  
                  
                    h
                    lg
                  
                
                -
                
                  
                    m
                    .
                  
                  out
                
              
            
          
        
      
    
    
      
        (
        9
        )
      
    
  




where ΣVi is the total volume of the low-pressure side of a multi-system.

2. Innovative Nonlinear Control of Evaporating Temperature

2.1 Nonlinear Control of Evaporating Temperature

Equation (9) can be rewritten as




  
    
      
        
          k
          ⁢
          
            
              d
              
                T
                e
              
            
            
              d
              t
            
          
        
        =
        
          
            
              ∑
              
                i
                =
                1
              
              n
            
            ⁢
            
              
            
            ⁢
            
              
                
                  m
                  .
                
                
                  in
                  ,
                  i
                
              
              ⁢
              
                x
                0
              
            
          
          +
          
            
              
                ∑
                
                  i
                  =
                  1
                
                n
              
              ⁢
              
                
              
              ⁢
              
                q
                i
              
            
            
              h
              lg
            
          
          -
          
            
              m
              .
            
            out
          
        
      
    
    
      
        (
        10
        )
      
    
  
  
    
      
        k
        =
        
          
            ∑
            
              i
              =
              1
            
            n
          
          ⁢
          
            
          
          ⁢
          
            
              V
              i
            
            ⁢
            
              
                d
                
                  
                    ρ
                    g
                  
                  ⁡
                  
                    (
                    
                      T
                      e
                    
                    )
                  
                
              
              
                d
                
                  T
                  e
                
              
            
          
        
      
    
    
      
        (
        11
        )
      
    
  




Equation (10) represents the vapor mass balance in the low-pressure side of a multi-system. In the right side of Equation (10), the first term is the inlet vapor mass flow rate for all n evaporators, the second term represents the rate of vapor generated from all n evaporators, and the third term represents the outlet vapor mass flow rate. The change of evaporating temperature with respect to time is dependent on how much vapor flowing into all evaporators, how much the vapor generated from the liquid during evaporation, and how much vapor flowing into compressor.

Assuming that the outlet vapor mass flow rate {dot over (m)}out is the control input and it is desired to control the evaporating temperature to a desired value Te,d. The control is designed as follows:




  
    
      
        
          
            m
            .
          
          out
        
        =
        
          
            
              ∑
              
                i
                =
                1
              
              n
            
            ⁢
            
              
            
            ⁢
            
              
                
                  m
                  .
                
                
                  
                    i
                    ⁢
                    
                      
                    
                    ⁢
                    n
                  
                  ,
                  i
                
              
              ⁢
              
                x
                o
              
            
          
          +
          
            
              
                ∑
                
                  i
                  =
                  1
                
                n
              
              ⁢
              
                q
                i
              
            
            
              h
              lg
            
          
          +
          
            
              k
              
                τ
                d
              
            
            ⁢
            
              (
              
                
                  T
                  e
                
                -
                
                  T
                  
                    e
                    ,
                    d
                  
                
              
              )
            
          
          +
          
            
              kk
              i
            
            ⁢
            
              ∫
              
                
                  (
                  
                    
                      T
                      e
                    
                    -
                    
                      T
                      
                        e
                        ,
                        d
                      
                    
                  
                  )
                
                ⁢
                
                  d
                  t
                
              
            
          
        
      
    
    
      
        (
        12
        )
      
    
  




By inserting Equation (12) into Equation (10), the controlled evaporating temperature dynamics can be described by the following equation,





  
    
      
        
          
            d
            
              T
              e
            
          
          
            d
            t
          
        
        =
        
          
            
              -
              
                1
                
                  τ
                  d
                
              
            
            ⁢
            
              (
              
                
                  T
                  e
                
                -
                
                  T
                  
                    e
                    ,
                    d
                  
                
              
              )
            
          
          -
          
            
              k
              i
            
            ⁢
            
              ∫
              
                
                  (
                  
                    
                      T
                      e
                    
                    -
                    
                      T
                      
                        e
                        ,
                        d
                      
                    
                  
                  )
                
                ⁢
                
                  d
                  t
                
              
            
          
        
      
    
    
      
        (
        13
        )
      
    
  




where τd and ki are design parameters representing how fast the evaporating temperature reaches the desired set-point with guaranteed zero steady state error. From Equation (13) we can see that the closed loop dynamics is linear and we can control the evaporating temperature to desired value by just selecting parameters τd and ki.

It is assumed that the length of two-phase section (or superheat) is controlled to be at the desired value by inlet mass flow rate. From Equation (8),




  
    
      
        
          
        
        ⁢
        
          
            
              m
              .
            
            
              
                i
                ⁢
                
                  
                
                ⁢
                n
              
              ,
              i
            
          
          =
          
            
              q
              i
            
            
              
                (
                
                  1
                  -
                  
                    x
                    0
                  
                
                )
              
              ⁢
              
                h
                lg
              
            
          
        
      
    
    
      
        (
        14
        )
      
    
  




Inserting Equation (4) into Equation (12), the control law becomes





  
    
      
        
          
            m
            .
          
          out
        
        =
        
          
            
              
                ∑
                
                  i
                  =
                  1
                
                n
              
              ⁢
              
                q
                i
              
            
            
              
                (
                
                  1
                  -
                  
                    x
                    0
                  
                
                )
              
              ⁢
              
                h
                lg
              
            
          
          +
          
            
              k
              
                τ
                d
              
            
            ⁢
            
              (
              
                
                  T
                  e
                
                -
                
                  T
                  
                    e
                    ,
                    d
                  
                
              
              )
            
          
          +
          
            
              kk
              i
            
            ⁢
            
              ∫
              
                
                  (
                  
                    
                      T
                      e
                    
                    -
                    
                      T
                      
                        e
                        ,
                        d
                      
                    
                  
                  )
                
                ⁢
                
                  d
                  t
                
              
            
          
        
      
    
    
      
        (
        15
        )
      
    
  




At the right side of Equation (15), the first term is a nonlinear function depending on the states of the system and ambient conditions, and the second and third terms represent a traditional feedback PI controller. This nonlinear control provides nonlinear compensation (called feedback linearization) to eliminate the nonlinearity term Σqi/(1−x0)/h1g in the system dynamics and makes the control design a linear problem.

Compared to a feedback PI control (currently used in multi-system) or a self-tuning control, the new nonlinear control approach of the invention has the following advantages:

    
    
        1) For a wide range operation,the PI control gains in this nonlinear control do not need to be tuned adaptively. The feedback linearization (nonlinear compensation) provides the adaptation for big change of operation conditions. However for a feedback PI controller or a self-tuning control, it is necessary to tune the PI gains for different operating conditions to guarantee stability and performance.
        2) The new nonlinear control can adapt to the turn on/off of indoor units accurately and quickly. For example, if j-th indoor unit is turned off from running, we can remove qj from the Equation (15) and the control input can be changed immediately.
        3) Since the selection of PI control gains in the new nonlinear control is basically the same as designing a PI control for a known linear system, the design procedure is much easier and straghtforward. It can save much time to design control for new product.
        4) With the nonlinear compensation, The PI gains in the new nonlinear controller can be much smaller.
    
    


In actual operation, the control input to control the evaporating temperature is compressor speed. Therefore the mass flow rate {dot over (m)}out is related to the compressor speed ω. The compressor mass flow rate is dependent on compressor speed, the low pressure Pe and high pressure Pc, and can be expressed by

{dot over (m)}out=ωg(Pe,Pc)  (16)

where g(Pe,Pc) can be identified for a given compressor. Pe and Pc can be measured by two pressure sensors. For a certain type of the machine tested,





  
    
      
        
          g
          ⁡
          
            (
            
              
                P
                e
              
              ,
              
                P
                c
              
            
            )
          
        
        =
        
          
            1
            1000
          
          ⁢
          
            
              (
              
                
                  -
                  0.362
                
                +
                
                  0.595
                  ⁢
                  
                    P
                    e
                  
                
                +
                
                  0.345
                  ⁢
                  
                    P
                    c
                  
                
                +
                
                  0.207
                  ⁢
                  
                    P
                    e
                    2
                  
                
                -
                
                  0.073
                  ⁢
                  
                    P
                    c
                    2
                  
                
                -
                
                  0.019
                  ⁢
                  
                    P
                    e
                  
                  ⁢
                  
                    P
                    c
                  
                
              
              )
            
            .
          
        
      
    
    
      
        (
        17
        )
      
    
  




In the above equations, the unit for mass flow rate is kg/s, the unit for compressor speed is Hz, and the unit for pressure is MPa. Based on Equations (15) and (16), the new nonlinear controller to control evaporating temperature by compressor speed is expressed by





  
    
      
        
          ω
          ⁡
          
            (
            t
            )
          
        
        =
        
          
            
              1
              
                g
                ⁡
                
                  (
                  
                    
                      P
                      e
                    
                    ,
                    
                      P
                      c
                    
                  
                  )
                
              
            
            ⁢
            
              
                
                  ∑
                  
                    i
                    =
                    1
                  
                  n
                
                ⁢
                
                  
                    q
                    i
                  
                  ⁡
                  
                    (
                    t
                    )
                  
                
              
              
                
                  (
                  
                    1
                    -
                    
                      x
                      o
                    
                  
                  )
                
                ⁢
                
                  h
                  lg
                
              
            
          
          +
          
            
              k
              
                g
                ⁡
                
                  (
                  
                    
                      P
                      e
                    
                    ,
                    
                      P
                      c
                    
                  
                  )
                
              
            
            ⁢
            
              (
              
                
                  
                    1
                    
                      τ
                      d
                    
                  
                  ⁢
                  
                    (
                    
                      
                        T
                        e
                      
                      -
                      
                        T
                        
                          e
                          ,
                          d
                        
                      
                    
                    )
                  
                
                +
                
                  
                    k
                    i
                  
                  ⁢
                  
                    ∫
                    
                      
                        (
                        
                          
                            T
                            e
                          
                          -
                          
                            T
                            
                              e
                              ,
                              d
                            
                          
                        
                        )
                      
                      ⁢
                      
                        d
                        t
                      
                    
                  
                
              
              )
            
          
        
      
    
    
      
        (
        18
        )
      
    
  




FIG. 3 contains a schematic diagram of the new nonlinear control approach in accordance with the invention. FIG. 4 contains a block diagram of the new nonlinear control approach of the invention. In FIG. 4, the feedback linearization term is estimated on-line based on measured sensor data.
1) h1g is calculated from refrigerant thermal property and measured evaporating temperature or evaporating pressure.
2) Inlet vapor quality x0 can be estimated as follows during nominal operation:




  
    
      
        
          x
          0
        
        ≈
        
          
            
              
                h
                l
              
              ⁡
              
                (
                
                  P
                  c
                
                )
              
            
            -
            
              
                h
                l
              
              ⁡
              
                (
                
                  P
                  e
                
                )
              
            
          
          
            
              h
              lg
            
            ⁡
            
              (
              
                P
                e
              
              )
            
          
        
      
    
    
      
        (
        19
        )
      
    
  




3) qi can be estimated as the cooling capacity of indoor unit as follows:

qi=Kh(ωƒ)*(Th−Ta)*ƒ(SH)  (20)

where Kh(ωƒ) is heat transfer coefficient at air side with indoor unit fan speed ωƒ, Ta is room air temperature, Th is temperature of heat exchanger, f(SH) is the changing rate of cooling capacity vs superheat at the outlet of heat exchanger.

A similar method can be developed to estimate qi based on the difference between room air temperature and the evaporating temperature.
It should be pointed out that the estimation for the feedback linearization may have some error. The PI control part in the nonlinear control is used to compensate this estimation error.
2.2 Simulations for Nonlinear Control of Evaporating Temperature
Simulation of a multi-system with two indoor units is implemented to demonstrate the performance of the new nonlinear control. The simulations described below compare the new control method of the invention with a feedback PI control shown in FIG. 5, which contains a block diagram of a linear feedback PI control system.
Nonlinear Controller:




  
    
      m
      .
    
    out
  
  =
  
    
      
        
          ∑
          
            i
            =
            1
          
          n
        
        ⁢
        
          q
          i
        
      
      
        
          (
          
            1
            -
            
              x
              0
            
          
          )
        
        ⁢
        
          h
          lg
        
      
    
    +
    
      
        k
        
          τ
          d
        
      
      ⁢
      
        (
        
          
            T
            e
          
          -
          
            T
            
              e
              ,
              d
            
          
        
        )
      
    
    +
    
      
        kk
        i
      
      ⁢
      
        ∫
        
          
            (
            
              
                T
                e
              
              -
              
                T
                
                  e
                  ,
                  d
                
              
            
            )
          
          ⁢
          
            d
            t
          
        
      
    
  




Linear Feedback PI Controller:





  
    
      m
      .
    
    out
  
  =
  
    
      
        k
        
          τ
          d
        
      
      ⁢
      
        (
        
          
            T
            e
          
          -
          
            T
            
              e
              ,
              d
            
          
        
        )
      
    
    +
    
      
        kk
        i
      
      ⁢
      
        ∫
        
          
            (
            
              
                T
                e
              
              -
              
                T
                
                  e
                  ,
                  d
                
              
            
            )
          
          ⁢
          
            d
            t
          
        
      
    
  




For the following simulations, it is assumed that

    
    
        Total heat transfer rate of two evaporators
    
    






  
    
      ∑
      
        i
        =
        l
      
      2
    
    ⁢
    
      
    
    ⁢
    
      q
      i
    
  
  =
  
    
      3.7
      1.7
    
    ⁢
    
      (
      
        
          T
          a
        
        -
        
          T
          e
        
      
      )
    
  




    
    
        Inlet vapor quality x0=0.2
        Set point of evaporating temperature Te,d=10° C.
        Initial evaporating temperature Te(t=0)=14° C.
        Room air temperature Ta=27° C.
    
    






  
    
      
        k
        =
        
          
            
              ∑
              
                i
                =
                1
              
              n
            
            ⁢
            
              
            
            ⁢
            
              
                V
                i
              
              ⁢
              
                
                  d
                  
                    
                      ρ
                      g
                    
                    ⁡
                    
                      (
                      
                        T
                        e
                      
                      )
                    
                  
                
                
                  d
                  
                    T
                    e
                  
                
              
            
          
          =
          
            0.001
            ⁢
            
              (
              
                kg
                ⁢
                
                  /
                
                ⁢
                °
                ⁢
                
                  
                
                ⁢
                
                  C
                  .
                
              
              )
            
          
        
      
    
    
      
        
      
    
  




    
    
        h1g≈200 KJ/kg
    
    


FIG. 6A is a graph of time response of evaporating temperature with same PI gains for the feedback linearization and PI control of the invention compared to feedback PI control. FIG. 6A illustrates that with the same PI gains, the nonlinear control (feedback linearization and PI control) can reach the desired evaporating temperature much faster compared to the linear feedback PI control. FIG. 6B is a graph illustrating time response of mass flow rate with same PI gains for the feedback linearization and PI control of the invention compared to feedback PI control. FIG. 6C is a graph illustrating time response of compressor speed with same PI gains for the feedback linearization and PI control of the invention compared to feedback PI control.
FIG. 7A is a graph of time response of evaporating temperature with similar performance for the feedback linearization and PI control of the invention compared to feedback PI control. FIG. 7A shows that with the similar performance, the nonlinear control (feedback linearization and PI control) has much smaller PI gains (1/τd=1.0,ki=0.25) compared to the gains of linear feedback PI control (1/τd=20,ki=5). Time responses of mass flow rate for the same case as FIG. 7A is illustrated in FIG. 7B, which is a graph of time response of mass flow rate with similar performance for the feedback linearization and PI control of the invention compared to feedback PI control. FIG. 7C is a graph of time response of compressor speed with similar performance for the feedback linearization an PI control of the invention compared to feedback PI control.
For the next simulation, it is assumed that the estimation of feedback linearization term has 20% error. FIG. 8A is a graph of time response of evaporating temperature where feedback linearization is assumed to have 20% error for same PI gains. FIG. 8A shows that with same PI gains, the nonlinear control can also reach the desired evaporating temperature much faster compared to the linear feedback PI control. FIG. 8B is a graph of time response of compressor speed where feedback linearization is assumed to have 20% error for same PI gains.
For the next simulation, it is assumed that the estimation of feedback linearization term has 20% error. FIG. 9A is a graph of time response of evaporating temperature where feedback linearization is assumed to have 20% error for similar performance. FIG. 9B is a graph of time response of compressor speed where feedback linearization is assumed to have 20% error for similar performance. FIG. 9A illustrates that with the similar performance, the nonlinear control has much smaller PI gains (1/τd=1.0,ki=0.25) compared to the gains of linear feedback PI control (1/τd=10,ki=2.5).
For the next simulation, it is assumed that the estimation of feedback linearization term has 20% estimation error for same gains. The second indoor unit is turned off at t=40 s and turned on on t=80 s. FIG. 10A is a graph of time response of evaporating temperature where feedback linearization is assumed to have 20% error for same gains and one indoor unit is turned off at t=40 s and turned on at t=80 s. FIG. 10B is a graph of time response of compressor speed where feedback linearization is assumed to have 20% error for same gains and one indoor unit is turned off at t=40 s and turned on at t=80 s. FIG. 10A illustrates that with same PI gains the nonlinear control has much better performance compared to linear feedback PI control. It should be noted that the nonlinear control of the invention can adapt to indoor unit turn on/off with perfect performance, if there is no estimation error for feedback linearization.
For the next simulation, it is assumed that the estimation of feedback linearization term has no estimation error. The second indoor unit is turned off at t=40 s and turned on on t=80 s. FIG. 11A is a graph of time response of evaporating temperature where feedback linearization is assumed to have no estimation error and the second indoor unit is turned off at t=40 s and turned on at t=80 s. FIG. 11B is a graph of the control output of compressor speed where feedback linearization is assumed to have no estimation error and the second indoor unit is turned off at t=40s and turned on at t=80 s. FIG. 11A illustrates the comparison of the nonlinear control (1/τd=1.0,ki=0.25) to feedback PI control (1/τd=10,ki=2.5). The nonlinear control can adapt to indoor unit turn on/off with perfect performance (Te remains at 10 C).
2.3 Nonlinear Control of Superheat
Equation (4) for dynamics of the length of two-phase section can be rewritten as




  
    
      
        
          k
          ⁢
          
            
              d
              
                l
                ⁡
                
                  (
                  t
                  )
                
              
            
            
              d
              t
            
          
        
        =
        
          
            -
            
              q
              
                
                  (
                  
                    1
                    -
                    
                      x
                      0
                    
                  
                  )
                
                ⁢
                
                  h
                  lg
                
              
            
          
          +
          
            
              m
              .
            
            
              i
              ⁢
              
                
              
              ⁢
              n
            
          
        
      
    
    
      
        (
        21
        )
      
    
  




where





  
    
      
        k
        =
        
          
            
              ρ
              1
            
            ⁡
            
              (
              
                1
                -
                
                  γ
                  _
                
              
              )
            
          
          
            (
            
              1
              -
              
                x
                0
              
            
            )
          
        
      
    
    
      
        (
        22
        )
      
    
  




To control the length of two-phase section to a desired value ld by control input {dot over (m)}in, we design the following nonlinear controller





  
    
      
        
          
            m
            .
          
          
            i
            ⁢
            
              
            
            ⁢
            n
          
        
        =
        
          
            q
            
              
                (
                
                  1
                  -
                  
                    x
                    0
                  
                
                )
              
              ⁢
              
                h
                lg
              
            
          
          +
          
            
              k
              
                τ
                d
              
            
            ⁢
            
              (
              
                
                  l
                  ⁡
                  
                    (
                    t
                    )
                  
                
                -
                
                  l
                  d
                
              
              )
            
          
          +
          
            
              kk
              i
            
            ⁢
            
              ∫
              
                
                  (
                  
                    
                      l
                      ⁡
                      
                        (
                        t
                        )
                      
                    
                    -
                    
                      l
                      d
                    
                  
                  )
                
                ⁢
                
                  d
                  t
                
              
            
          
        
      
    
    
      
        (
        23
        )
      
    
  




By inserting Equation (23) into Equation (21), the controlled l(t) dynamics can be described by the following equation,





  
    
      
        
          
            d
            
              l
              ⁡
              
                (
                t
                )
              
            
          
          
            d
            t
          
        
        =
        
          
            
              -
              
                1
                
                  τ
                  d
                
              
            
            ⁢
            
              (
              
                
                  l
                  ⁡
                  
                    (
                    t
                    )
                  
                
                -
                
                  l
                  d
                
              
              )
            
          
          -
          
            
              k
              i
            
            ⁢
            
              ∫
              
                
                  (
                  
                    
                      l
                      ⁡
                      
                        (
                        t
                        )
                      
                    
                    -
                    
                      l
                      d
                    
                  
                  )
                
                ⁢
                
                  d
                  t
                
              
            
          
        
      
    
    
      
        (
        24
        )
      
    
  




where τd and ki are design parameters representing how fast the length of two-phase section l(t) reaches the desired set-point ld with guaranteed zero steady state error. From Equation (24) it is observed that the closed loop dynamics is linear and we can control the length of two-phase section l(t) to desired value by just selecting parameters τd and ki.

At the right side of Equation (23), the first term is feedback linearization nonlinearly depending on the states of the system and ambient conditions which were describe above in section 2.1, and the second and third terms represent a traditional feedback PI controller. This nonlinear control provides nonlinear compensation (feedback linearization) to eliminate the nonlinearity term q/(1−x0)/h1g in the system dynamics and makes the control design a linear problem. The advantages of this new controller are the same as discussed in section 2.1.
In actual operation, the expansion valve openning is used to control superheat value. Therefore it is necessary to relate the mass flow rate {dot over (m)}in to the expansion valve openning Aν. The expansion valve mass flow rate {dot over (m)}in is dependent on expansion valve openning Aν, the low pressure Pe and high pressure Pc, and can be expressed by

{dot over (m)}in=Aνagν(Pe,Pc)  (25)

where a and gν(Pe,Pc) can be identified for a given expansion valve. Pe and Pc can be measured by two pressure sensors. For the indoor unit with the nominal capacity 4 kW tested in Daikin Kanaoko Factory Room 906 in the summer of 2001, a=0.75 and





  
    
      
        
          
            g
            v
          
          ⁡
          
            (
            
              
                P
                e
              
              ,
              
                P
                c
              
            
            )
          
        
        =
        
          
            1
            10000
          
          ⁢
          
            (
            
              
                -
                1.38
              
              +
              
                9.07
                ⁢
                
                  P
                  e
                
              
              -
              
                0.67
                ⁢
                
                  P
                  c
                
              
              -
              
                9.49
                ⁢
                
                  P
                  e
                  2
                
              
              +
              
                0.38
                ⁢
                
                  P
                  c
                  2
                
              
              +
              
                2.37
                ⁢
                
                  P
                  e
                
                ⁢
                
                  P
                  c
                
              
            
            )
          
        
      
    
    
      
        (
        26
        )
      
    
  




In the above equations, the unit for mass flow rate is kg/s, the unit for expansion valve opening is step, and the unit for pressure is MPa.

Based on Equations (23) and (25), the new nonlinear controller to control the length of two-phase section l(t) by expansion valve is expressed by





  
    
      
        
          
            A
            v
          
          ⁡
          
            (
            t
            )
          
        
        =
        
          
            (
            
              
                
                  1
                  
                    
                      g
                      v
                    
                    ⁡
                    
                      (
                      
                        
                          P
                          e
                        
                        ,
                        
                          P
                          c
                        
                      
                      )
                    
                  
                
                ⁢
                
                  q
                  
                    
                      (
                      
                        1
                        -
                        
                          x
                          o
                        
                      
                      )
                    
                    ⁢
                    
                      h
                      lg
                    
                  
                
              
              +
              
                
                  k
                  
                    
                      g
                      v
                    
                    ⁡
                    
                      (
                      
                        
                          P
                          e
                        
                        ,
                        
                          P
                          c
                        
                      
                      )
                    
                  
                
                ⁢
                
                  (
                  
                    
                      
                        1
                        
                          τ
                          d
                        
                      
                      ⁢
                      
                        (
                        
                          
                            l
                            ⁡
                            
                              (
                              t
                              )
                            
                          
                          -
                          
                            l
                            d
                          
                        
                        )
                      
                    
                    +
                    
                      
                        k
                        i
                      
                      ⁢
                      
                        ∫
                        
                          
                            (
                            
                              
                                l
                                ⁡
                                
                                  (
                                  t
                                  )
                                
                              
                              -
                              
                                l
                                d
                              
                            
                            )
                          
                          ⁢
                          
                            d
                            t
                          
                        
                      
                    
                  
                  )
                
              
            
            )
          
          
            1
            a
          
        
      
    
    
      
        (
        27
        )
      
    
  




In order to control superheat (SH) value to the desired value SHd by expansion valve, the following nonlinear control is proposed





  
    
      
        
          
            A
            v
          
          ⁡
          
            (
            t
            )
          
        
        =
        
          
            (
            
              
                
                  1
                  
                    g
                    v
                  
                
                ⁢
                
                  q
                  
                    
                      (
                      
                        1
                        -
                        
                          x
                          o
                        
                      
                      )
                    
                    ⁢
                    
                      h
                      lg
                    
                  
                
              
              +
              
                
                  k
                  
                    g
                    v
                  
                
                ⁢
                
                  (
                  
                    
                      
                        1
                        
                          τ
                          d
                          ′
                        
                      
                      ⁢
                      
                        (
                        
                          
                            SH
                            ⁡
                            
                              (
                              t
                              )
                            
                          
                          -
                          
                            SH
                            d
                          
                        
                        )
                      
                    
                    +
                    
                      
                        k
                        i
                        ′
                      
                      ⁢
                      
                        ∫
                        
                          
                            (
                            
                              
                                SH
                                ⁡
                                
                                  (
                                  t
                                  )
                                
                              
                              -
                              
                                SH
                                d
                              
                            
                            )
                          
                          ⁢
                          
                            d
                            t
                          
                        
                      
                    
                  
                  )
                
              
            
            )
          
          
            1
            a
          
        
      
    
    
      
        (
        28
        )
      
    
  




where superheat SH(t) can be measured. The SH value can be approximated by following equation





  
    
      
        SH
        ≈
        
          
            (
            
              
                T
                a
              
              -
              
                T
                e
              
            
            )
          
          ⁢
          
            (
            
              1
              -
              
                e
                
                  
                    -
                    
                      c
                      ⁡
                      
                        (
                        
                          L
                          -
                          
                            l
                            ⁡
                            
                              (
                              t
                              )
                            
                          
                        
                        )
                      
                    
                  
                  
                    m
                    .
                  
                
              
            
            )
          
        
      
    
    
      
        (
        29
        )
      
    
  




where L is the length of evaporator, and c is a parameter, and {dot over (m)}≈q/(1−x0)/h1g. Since the length of two-phase section l(t) can not be directly measured, l(t) can be estimated from SH based on Equation (29) as follows:





  
    
      
        
          
            l
            ^
          
          ⁡
          
            (
            t
            )
          
        
        =
        
          L
          +
          
            
              
                m
                .
              
              c
            
            ⁢
            
              ln
              ⁡
              
                (
                
                  1
                  -
                  
                    
                      SH
                      ⁡
                      
                        (
                        t
                        )
                      
                    
                    
                      
                        T
                        a
                      
                      -
                      
                        T
                        e
                      
                    
                  
                
                )
              
            
          
        
      
    
    
      
        (
        30
        )
      
    
  




Therefore the new nonlinear controller expressed by Equation (27) can be expressed by





  
    
      
        
          
            A
            v
          
          ⁡
          
            (
            t
            )
          
        
        =
        
          
            (
            
              
                
                  1
                  
                    
                      g
                      v
                    
                    ⁡
                    
                      (
                      
                        
                          P
                          e
                        
                        ,
                        
                          P
                          c
                        
                      
                      )
                    
                  
                
                ⁢
                
                  q
                  
                    
                      (
                      
                        1
                        -
                        
                          x
                          o
                        
                      
                      )
                    
                    ⁢
                    
                      h
                      lg
                    
                  
                
              
              +
              
                
                  k
                  
                    
                      g
                      v
                    
                    ⁡
                    
                      (
                      
                        
                          P
                          e
                        
                        ,
                        
                          P
                          c
                        
                      
                      )
                    
                  
                
                ⁢
                
                  (
                  
                    
                      
                        1
                        
                          τ
                          d
                        
                      
                      ⁢
                      
                        (
                        
                          
                            
                              l
                              ^
                            
                            ⁡
                            
                              (
                              t
                              )
                            
                          
                          -
                          
                            l
                            d
                          
                        
                        )
                      
                    
                    +
                    
                      
                        k
                        i
                      
                      ⁢
                      
                        ∫
                        
                          
                            (
                            
                              
                                
                                  l
                                  ^
                                
                                ⁡
                                
                                  (
                                  t
                                  )
                                
                              
                              -
                              
                                l
                                d
                              
                            
                            )
                          
                          ⁢
                          
                            d
                            t
                          
                        
                      
                    
                  
                  )
                
              
            
            )
          
          
            1
            a
          
        
      
    
    
      
        (
        31
        )
      
    
  




FIG. 12 contains a schematic block diagram of nonlinear control of expansion valve for l(t) expressed by Equation (31) in accordance with the invention.
FIG. 13 contains a schematic block diagram of nonlinear control of expansion valve for SH expressed by Equation (28) in accordance with the invention.
2.4 Simulation for Nonlinear Control of Superheat
Simulation is implemented to demonstrate the performance of the new nonlinear control of expansion valve in accordance with the invention. The new control method of the invention is compared with a feedback PI control.
Controlling the Length of 2-phase Section to the Desired Value:
Nonlinear Controller:




  
    
      m
      .
    
    
      i
      ⁢
      
        
      
      ⁢
      n
    
  
  =
  
    
      q
      
        
          (
          
            1
            -
            
              x
              o
            
          
          )
        
        ⁢
        
          h
          lg
        
      
    
    +
    
      
        k
        
          τ
          d
        
      
      ⁢
      
        (
        
          
            l
            ⁡
            
              (
              t
              )
            
          
          -
          
            l
            d
          
        
        )
      
    
    +
    
      
        kk
        i
      
      ⁢
      
        ∫
        
          
            (
            
              
                l
                ⁡
                
                  (
                  t
                  )
                
              
              -
              
                l
                d
              
            
            )
          
          ⁢
          
            d
            t
          
        
      
    
  




Linear Feedback PI Controller:





  
    
      m
      .
    
    
      i
      ⁢
      
        
      
      ⁢
      n
    
  
  =
  
    
      
        k
        
          τ
          d
        
      
      ⁢
      
        (
        
          
            l
            ⁡
            
              (
              t
              )
            
          
          -
          
            l
            d
          
        
        )
      
    
    +
    
      
        kk
        i
      
      ⁢
      
        ∫
        
          
            (
            
              
                l
                ⁡
                
                  (
                  t
                  )
                
              
              -
              
                l
                d
              
            
            )
          
          ⁢
          
            d
            t
          
        
      
    
  




Controlling Superheat (SH) to the Desired Value:

Nonlinear Controller:





  
    
      m
      .
    
    
      i
      ⁢
      
        
      
      ⁢
      n
    
  
  =
  
    
      q
      
        
          (
          
            1
            -
            
              x
              o
            
          
          )
        
        ⁢
        
          h
          lg
        
      
    
    +
    
      
        k
        
          τ
          d
        
      
      ⁢
      
        (
        
          
            SH
            ⁡
            
              (
              t
              )
            
          
          -
          
            SH
            d
          
        
        )
      
    
    +
    
      
        kk
        i
      
      ⁢
      
        ∫
        
          
            (
            
              
                SH
                ⁡
                
                  (
                  t
                  )
                
              
              -
              
                SH
                d
              
            
            )
          
          ⁢
          
            d
            t
          
        
      
    
  




Linear Feedback PI Controller:





  
    
      m
      .
    
    
      i
      ⁢
      
        
      
      ⁢
      n
    
  
  =
  
    
      
        k
        
          τ
          d
        
      
      ⁢
      
        (
        
          
            SH
            ⁢
            
              (
              t
              )
            
          
          -
          
            SH
            d
          
        
        )
      
    
    +
    
      
        kk
        i
      
      ⁢
      
        ∫
        
          
            (
            
              
                SH
                ⁡
                
                  (
                  t
                  )
                
              
              -
              
                SH
                d
              
            
            )
          
          ⁢
          
            d
            t
          
        
      
    
  




For the following simulations, one indoor unit is considered, and it is assumed that:

    
    
        Heat transfer rate of the evaporator
    
    






  
    q
    ⁡
    
      (
      t
      )
    
  
  =
  
    
      2
      1.7
    
    ⁢
    
      (
      
        
          T
          a
        
        -
        
          T
          e
        
      
      )
    
    ⁢
    
      
        l
        ⁡
        
          (
          t
          )
        
      
      
        l
        d
      
    
  




    
    
        Inlet vapor quality x0=0.2
        Evaporating temperature is controlled by compressor to remain at Te=10° C.
        Desired the length of 2-phase section ld=0.9L=0.9*8.14(m)=7.32(m)
        Room air temperature Ta=27° C.
    
    






  
    k
    =
    
      
        
          
            ρ
            l
          
          ⁡
          
            (
            
              1
              -
              
                γ
                _
              
            
            )
          
        
        
          (
          
            1
            -
            
              x
              0
            
          
          )
        
      
      =
      0.0027
    
  
  ,
  
    
      with
      ⁢
      
        
      
      ⁢
      
        γ
        _
      
    
    =
    0.93
  




    
    
        h1g≈200 KJ/kg
        Desired superheat SHd≈5° C.
        The parameter c in Equation (29) has a value of 0.0053
    
    


For the first simulation case, the length of two-phase section is controlled from an initial value 6 m to the desired value 7.32 m. In this case, it is assumed that there is no estimation error for feedback linearization. FIG. 14A is a graph of the time response of the length l(t) of the two-phase section controlled from an initial value of 6 m to the desired value of 7.32 m, assuming there is no estimation error for feedback linearization. FIG. 14B is a graph of control input of mass flow rate of expansion valve for the case of FIG. 14A. FIG. 14C is a graph of control output of expansion valve opening for the case of FIG. 14A. FIG. 14D is a graph of control output of heat flow for the case of FIG. 14A. FIG. 14E is a graph of control output of superheat for the case of FIG. 14A. FIG. 14A illustrates that with same PI gains, the nonlinear control can reach the desired length of 2-phase section much faster compared to the linear feedback PI control. Time responses of mass flow rate, expansion valve opening, evaporator heat exchange rate, and superheat value, are shown in FIGS. 14B through 14E.
For the second simulation case, the length of two-phase section is controlled at the desired value 7.32 m. For this case, it is assumed that indoor fan speed increases such that q becomes




  
    
      q
      ⁡
      
        (
        t
        )
      
    
    =
    
      
        
          
            2
            ⁢
            b
          
          1.7
        
        ⁢
        
          (
          
            
              T
              a
            
            -
            
              T
              e
            
          
          )
        
        ⁢
        
          
            l
            ⁡
            
              (
              t
              )
            
          
          
            l
            d
          
        
        ⁢
        
          
        
        ⁢
        b
      
      =
      
        1
        +
        
          t
          10
        
      
    
  
  ,
  
    
      t
      ≤
      
        5
        ⁢
        s
      
    
    ;
    
      b
      =
      1.5
    
  
  ,
  
    t
    >
    
      5
      ⁢
      
        s
        .
      
    
  




In this case, it is assumed that there is 20% estimation error for feedback linearization. FIG. 15A is a graph of the time response of the length l(t) of the two-phase section controlled at the desired value of 7.32 m, assuming there is 20% estimation error for feedback linearization. FIG. 15B is a graph of control input of mass flow rate of expansion valve for the case of FIG. 15A. FIG. 15C is a graph of control output of expansion valve opening for the case of FIG. 15A. FIG. 15D is a graph of control output of heat flow for the case of FIG. 15A. FIG. 15E is a graph of control output of superheat for the case of FIG. 15A. FIG. 15A illustrates that the nonlinear control has much better performance compared to the linear feedback PI control. Time responses of mass flow rate, expansion valve opening, evaporator heat exchange rate, and superheat value, are shown in FIGS. 15B through 15E.
For the third simulation case, the length of two-phase section is controlled from initial value 6 m to the desired value 7.32 m. Assume there are three different load situations




  
    
      
        
          q
          ⁡
          
            (
            t
            )
          
        
        =
        
          
            
              K
              1.7
            
            ⁢
            
              (
              
                
                  T
                  a
                
                -
                
                  T
                  e
                
              
              )
            
            ⁢
            
              
                l
                ⁡
                
                  (
                  t
                  )
                
              
              
                l
                d
              
            
            ⁢
            
              
            
            ⁢
            
              (
              I
              )
            
            ⁢
            K
          
          =
          1
        
      
    
    
      
        
          
            (
            II
            )
          
          ⁢
          K
        
        =
        2
      
    
    
      
        
          
            (
            III
            )
          
          ⁢
          K
        
        =
        4
      
    
  




FIG. 16A is a graph of time response of the length l(t) of the two-phase section from and initial value of 6 m to the desired value of 7.32 m, assuming three different load situations and no estimation error for feedback linearization. FIG. 16B is a graph of control output of expansion valve opening for the case of FIG. 16A. FIG. 16A illustrates that the nonlinear control has the same performance for three load situations. However the performance of the linear feedback PI control has large difference with the same gains for three different load situations. That means PI gains in linear feedback control need to be tuned in order to achieve similar good performance for wide range operation. Time response of expansion valve opening is shown in FIG. 16B.

For the fourth simulation case, the superheat is controlled from initial value 11.3 C to the desired value 5 C. In this case, it is assumed that there is no estimation error for feedback linearization. FIG. 17A is a graph of control output of superheat controlled from an initial value of 11.3 C to the desired value of 5 C, assuming that there is no estimation error for feedback linearization. FIG. 17B is a graph of control output of expansion valve opening for the case of FIG. 17A. FIGS. 17A and 17B show the comparison of the nonlinear control and the linear feedback PI control.
3. Nonlinear Observer to Estimate Heat Transfer Rate
3.1. Evaporator Model
A nonlinear observer is described herein to estimate the heat transfer rate in accordance with the invention. A simplified low-order evaporator model is used here for the nonlinear observer design. FIG. 18 contains a schematic diagram of the low-order evaporator model. Te is the evaporating temperature. l is the length of the two-phase section. Tw is the wall temperature of the tube. Ta is the room air temperature. {dot over (m)}in and {dot over (m)}out are the inlet and outlet refrigerant mass flow rates respectively. q is the heat transfer rate from the tube wall to the two-phase refrigerant. qa is the heat transfer rate from the room to the tube wall.
Assuming a uniform temperature throughout the evaporator tube wall at the two-phase section, the heat transfer equation of the tube wall is as follow:




  
    
      
        
          
            
              (
              
                
                  c
                  p
                
                ⁢
                ρ
                ⁢
                
                  
                
                ⁢
                A
              
              )
            
            e
          
          ⁢
          
            
              d
              
                T
                w
              
            
            
              d
              t
            
          
        
        =
        
          
            π
            ⁢
            
              
            
            ⁢
            
              D
              0
            
            ⁢
            
              
                α
                0
              
              ⁡
              
                (
                
                  
                    T
                    a
                  
                  -
                  
                    T
                    w
                  
                
                )
              
            
          
          -
          
            π
            ⁢
            
              
            
            ⁢
            
              D
              i
            
            ⁢
            
              
                α
                i
              
              ⁡
              
                (
                
                  
                    T
                    w
                  
                  -
                  
                    T
                    e
                  
                
                )
              
            
          
        
      
    
    
      
        (
        32
        )
      
    
  




The first term on the right hand side represents the heat transfer rate per unit length from the room to the tube wall. The second term represents the heat transfer rate per unit length from the tube wall to the two-phase refrigerant.
Assuming the mean void fraction {overscore (γ)} is invariant, the liquid mass balance equation in the two-phase section of the evaporator is




  
    
      
        
          
            
              
                ρ
                l
              
              ⁡
              
                (
                
                  1
                  -
                  
                    γ
                    _
                  
                
                )
              
            
            ⁢
            A
            ⁢
            
              
                d
                
                  l
                  ⁡
                  
                    (
                    t
                    )
                  
                
              
              
                d
                t
              
            
          
          =
          
            
              -
              
                q
                
                  h
                  lg
                
              
            
            +
            
              
                
                  m
                  .
                
                in
              
              ⁡
              
                (
                
                  1
                  -
                  
                    x
                    0
                  
                
                )
              
            
          
        
        ⁢
        
          

        
        ⁢
        and
      
    
    
      
        (
        33
        )
      
    
  
  
    
      
        q
        =
        
          π
          ⁢
          
            
          
          ⁢
          
            D
            i
          
          ⁢
          
            α
            i
          
          ⁢
          
            l
            ⁡
            
              (
              
                
                  T
                  w
                
                -
                
                  T
                  e
                
              
              )
            
          
        
      
    
    
      
        (
        34
        )
      
    
  




In Eq. (33), the left hand side is the liquid mass change rate in the evaporator. On the right hand side, q/h1g represents the rate of liquid evaporating into vapor, and {dot over (m)}in (1−x0) is the inlet liquid mass flow rate. Eq. (34) can be used to estimate the heat transfer rate.
The inlet refrigerant mass flow rate {dot over (m)}in is dependent on the expansion valve openning Aν, the low pressure Pe and high pressure Pc, and can be expressed by

{dot over (m)}in=Aνagν(Pe,Pc)  (35)

where a and gν(Pe,Pc) can be identified for a given expansion valve. Pe and Pc can be measured by two pressure sensors or can be estimated from the evaporating temperature and condensing temperature. For the two-phase section, it is assumed that the pressure is an invariant function of the temperature. Therefore, the inlet refrigerant mass flow rate {dot over (m)}in can be expressed as

{dot over (m)}in=Aνagν(Te,Tc)  (36)

Assuming that the vapor volume is much larger than the liquid volume in the low-pressure side, the vapor mass balance equation in an evaporator is:




  
    
      
        
          
            d
            
              M
              v
            
          
          
            d
            t
          
        
        =
        
          
            V
            ⁢
            
              
                d
                
                  
                    ρ
                    g
                  
                  ⁡
                  
                    (
                    
                      T
                      e
                    
                    )
                  
                
              
              
                d
                
                  T
                  e
                
              
            
            ⁢
            
              
                d
                
                  T
                  e
                
              
              
                d
                t
              
            
          
          =
          
            
              
                
                  m
                  .
                
                in
              
              ⁢
              
                x
                0
              
            
            +
            
              q
              
                h
                lg
              
            
            -
            
              
                m
                .
              
              out
            
          
        
      
    
    
      
        (
        37
        )
      
    
  




where Mν is the total vapor mass and V is the total volume of the low-pressure side. hg−hl=h1g, where hl and hg are refrigerant saturated liquid and vapor specific enthalpies. The outlet refrigerant mass flow rate is the same with the compressor mass flow rate which is dependent on compressor speed, the low pressure Pe and high pressure Pc, and can be expressed by

{dot over (m)}out=ωg(Pe,Pc)  (38)

where g(Pe,Pc) can be identified for a given compressor. As said before, the pressure is an invariant function of the temperature for the two-phase section. Therefore, the outlet refrigerant mass flow rate can be expressed as

{dot over (m)}out=ωg(Te,Tc)  (39)

Eq. (37) can be written as




  
    
      
        
          
            d
            
              T
              e
            
          
          
            d
            t
          
        
        =
        
          
            
              
                π
                ⁢
                
                  
                
                ⁢
                
                  D
                  i
                
                ⁢
                
                  α
                  i
                
              
              
                kh
                lg
              
            
            ⁢
            
              l
              ⁡
              
                (
                
                  
                    T
                    w
                  
                  -
                  
                    T
                    e
                  
                
                )
              
            
          
          +
          
            
              
                x
                0
              
              k
            
            ⁢
            
              
                m
                .
              
              in
            
          
          -
          
            
              1
              k
            
            ⁢
            
              
                m
                .
              
              out
            
          
        
      
    
    
      
        (
        40
        )
      
    
  




where





  k
  =
  
    V
    ⁢
    
      
        
          d
          
            
              ρ
              g
            
            ⁡
            
              (
              
                T
                e
              
              )
            
          
        
        
          d
          
            T
            e
          
        
      
      .
    
  




3.2 Equations for Multi-unit Systems

FIG. 19 contains a schematic diagram of a multi-unit system in accordance with the present invention.
Based on Eq. (32), the heat transfer equation for the j-th evaporator can be expressed by




  
    
      
        
          
            
              (
              
                
                  c
                  p
                
                ⁢
                ρ
                ⁢
                
                  
                
                ⁢
                A
              
              )
            
            
              e
              ,
              j
            
          
          ⁢
          
            
              d
              
                T
                
                  w
                  ,
                  j
                
              
            
            
              d
              t
            
          
        
        =
        
          
            π
            ⁢
            
              
            
            ⁢
            
              D
              
                o
                ,
                j
              
            
            ⁢
            
              
                α
                
                  o
                  ,
                  j
                
              
              ⁡
              
                (
                
                  
                    T
                    
                      a
                      ,
                      j
                    
                  
                  -
                  
                    T
                    
                      w
                      ,
                      j
                    
                  
                
                )
              
            
          
          -
          
            π
            ⁢
            
              
            
            ⁢
            
              D
              
                i
                ,
                j
              
            
            ⁢
            
              
                α
                
                  i
                  ,
                  j
                
              
              ⁡
              
                (
                
                  
                    T
                    
                      w
                      ,
                      j
                    
                  
                  -
                  
                    T
                    e
                  
                
                )
              
            
          
        
      
    
    
      
        (
        41
        )
      
    
  




where j=1,2, . . . ,n, n is the number of indoor units of a multi-unit system.

Based on Eq. (33), the liquid mass balance for the jth evaporator can be expressed by




  
    
      
        
          
            
              ρ
              l
            
            ⁡
            
              (
              
                1
                -
                
                  
                    γ
                    _
                  
                  j
                
              
              )
            
          
          ⁢
          
            A
            j
          
          ⁢
          
            
              d
              
                
                  l
                  j
                
                ⁡
                
                  (
                  t
                  )
                
              
            
            
              d
              t
            
          
        
        =
        
          
            -
            
              
                q
                j
              
              
                h
                lg
              
            
          
          +
          
            
              
                m
                .
              
              
                in
                ,
                j
              
            
            ⁡
            
              (
              
                1
                -
                
                  x
                  0
                
              
              )
            
          
        
      
    
    
      
        (
        42
        )
      
    
  




where qj is the jth evaporator heat transfer rate.

The vapor mass balance equation for all n evaporators is




  
    
      
        
          
            
              
                
                  ∑
                  
                    j
                    =
                    1
                  
                  n
                
                ⁢
                
                  
                    d
                    
                      M
                      
                        v
                        ,
                        j
                      
                    
                  
                  
                    d
                    t
                  
                
              
              =
              
              ⁢
              
                
                  ∑
                  
                    j
                    =
                    1
                  
                  n
                
                ⁢
                
                  
                    V
                    j
                  
                  ⁢
                  
                    
                      d
                      
                        
                          ρ
                          g
                        
                        ⁡
                        
                          (
                          
                            T
                            e
                          
                          )
                        
                      
                    
                    
                      d
                      
                        T
                        e
                      
                    
                  
                  ⁢
                  
                    
                      d
                      
                        T
                        e
                      
                    
                    
                      d
                      t
                    
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  
                    ∑
                    
                      j
                      =
                      1
                    
                    n
                  
                  ⁢
                  
                    
                      
                        m
                        .
                      
                      
                        in
                        ,
                        j
                      
                    
                    ⁢
                    
                      x
                      o
                    
                  
                
                +
                
                  
                    
                      ∑
                      
                        j
                        =
                        1
                      
                      n
                    
                    ⁢
                    
                      q
                      j
                    
                  
                  
                    h
                    lg
                  
                
                -
                
                  
                    m
                    .
                  
                  out
                
              
            
          
        
      
    
    
      
        (
        43
        )
      
    
  




where ΣVj is the total volume of the low-pressure side of a multi-unit system.

3.2 Nonlinear Observer Design for Evaporator

Eq. (32), (33), and (40) represent a nonlinear model for the evaporator. These equations can be expressed in the following compact form:

{dot over (X)}=ƒ(X,U)  (44)

where X=[Te Tw l]T are state variables, U=[Tc ω Ta Aν]T are input variables to the evaporator model. This is a highly nonlinear model. Equation (44) can be expressed more explicitly





  
    
      
        
          
            d
            
              d
              t
            
          
          ⁢
          
            (
            
              
                
                  
                    T
                    e
                  
                
              
              
                
                  
                    T
                    w
                  
                
              
              
                
                  l
                
              
            
            )
          
        
        =
        
          (
          
            
              
                
                  
                    
                      
                        π
                        ⁢
                        
                          
                        
                        ⁢
                        
                          D
                          i
                        
                        ⁢
                        
                          α
                          i
                        
                      
                      
                        kh
                        lg
                      
                    
                    ⁢
                    
                      l
                      ⁡
                      
                        (
                        
                          
                            T
                            w
                          
                          -
                          
                            T
                            e
                          
                        
                        )
                      
                    
                  
                  +
                  
                    
                      
                        x
                        o
                      
                      k
                    
                    ⁢
                    
                      
                        m
                        .
                      
                      in
                    
                  
                  -
                  
                    
                      1
                      k
                    
                    ⁢
                    
                      
                        m
                        .
                      
                      out
                    
                  
                
              
            
            
              
                
                  
                    
                      
                        π
                        ⁢
                        
                          
                        
                        ⁢
                        
                          D
                          o
                        
                        ⁢
                        
                          α
                          o
                        
                      
                      
                        
                          (
                          
                            
                              c
                              p
                            
                            ⁢
                            ρ
                            ⁢
                            
                              
                            
                            ⁢
                            A
                          
                          )
                        
                        e
                      
                    
                    ⁢
                    
                      (
                      
                        
                          T
                          a
                        
                        -
                        
                          T
                          w
                        
                      
                      )
                    
                  
                  -
                  
                    
                      
                        π
                        ⁢
                        
                          
                        
                        ⁢
                        
                          D
                          i
                        
                        ⁢
                        
                          α
                          i
                        
                      
                      
                        
                          (
                          
                            
                              c
                              p
                            
                            ⁢
                            ρ
                            ⁢
                            
                              
                            
                            ⁢
                            A
                          
                          )
                        
                        e
                      
                    
                    ⁢
                    
                      (
                      
                        
                          T
                          w
                        
                        -
                        
                          T
                          e
                        
                      
                      )
                    
                  
                
              
            
            
              
                
                  
                    -
                    
                      
                        π
                        ⁢
                        
                          
                        
                        ⁢
                        
                          D
                          i
                        
                        ⁢
                        
                          α
                          i
                        
                        ⁢
                        
                          l
                          ⁡
                          
                            (
                            
                              
                                T
                                w
                              
                              -
                              
                                T
                                e
                              
                            
                            )
                          
                        
                      
                      
                        
                          
                            ρ
                            l
                          
                          ⁡
                          
                            (
                            
                              1
                              -
                              
                                γ
                                _
                              
                            
                            )
                          
                        
                        ⁢
                        
                          
                        
                        ⁢
                        A
                        ⁢
                        
                          
                        
                        ⁢
                        
                          h
                          lg
                        
                      
                    
                  
                  +
                  
                    
                      
                        
                          m
                          .
                        
                        in
                      
                      ⁡
                      
                        (
                        
                          1
                          -
                          
                            x
                            0
                          
                        
                        )
                      
                    
                    
                      
                        
                          ρ
                          l
                        
                        ⁡
                        
                          (
                          
                            1
                            -
                            
                              γ
                              _
                            
                          
                          )
                        
                      
                      ⁢
                      A
                    
                  
                
              
            
          
          )
        
      
    
    
      
        (
        45
        )
      
    
  




It is assumed that all input variables can be obtained by direct measurements. The output of the system is Te which can be obtained by measuring the evaporating temperature using a temperature sensor. However, the state variables Tw and l can not be measured directly. A nonlinear observer can be designed based on the nonlinear model described by Equation (45) to estimate Tw, l and q as follows:




  
    
      
        
          
            d
            
              d
              t
            
          
          ⁢
          
            (
            
              
                
                  
                    
                      T
                      ^
                    
                    e
                  
                
              
              
                
                  
                    
                      T
                      ^
                    
                    w
                  
                
              
              
                
                  
                    l
                    ^
                  
                
              
            
            )
          
        
        =
        
          (
          
            
              
                
                  
                    
                      
                        π
                        ⁢
                        
                          
                        
                        ⁢
                        
                          D
                          i
                        
                        ⁢
                        
                          α
                          i
                        
                      
                      
                        kh
                        lg
                      
                    
                    ⁢
                    
                      l
                      ⁡
                      
                        (
                        
                          
                            
                              T
                              ^
                            
                            w
                          
                          -
                          
                            
                              T
                              ^
                            
                            e
                          
                        
                        )
                      
                    
                  
                  +
                  
                    
                      
                        x
                        o
                      
                      k
                    
                    ⁢
                    
                      
                        m
                        .
                      
                      in
                    
                  
                  -
                  
                    
                      1
                      k
                    
                    ⁢
                    
                      
                        m
                        .
                      
                      out
                    
                  
                  -
                  
                    
                      L
                      1
                    
                    ⁡
                    
                      (
                      
                        
                          
                            T
                            ^
                          
                          e
                        
                        -
                        
                          
                            T
                            ^
                          
                          e
                        
                      
                      )
                    
                  
                
              
            
            
              
                
                  
                    
                      
                        π
                        ⁢
                        
                          
                        
                        ⁢
                        
                          D
                          o
                        
                        ⁢
                        
                          α
                          o
                        
                      
                      
                        
                          (
                          
                            
                              c
                              p
                            
                            ⁢
                            ρ
                            ⁢
                            
                              
                            
                            ⁢
                            A
                          
                          )
                        
                        e
                      
                    
                    ⁢
                    
                      (
                      
                        
                          
                            T
                            ^
                          
                          a
                        
                        -
                        
                          
                            T
                            ^
                          
                          w
                        
                      
                      )
                    
                  
                  -
                  
                    
                      
                        π
                        ⁢
                        
                          
                        
                        ⁢
                        
                          D
                          i
                        
                        ⁢
                        
                          α
                          i
                        
                      
                      
                        
                          (
                          
                            
                              c
                              p
                            
                            ⁢
                            ρ
                            ⁢
                            
                              
                            
                            ⁢
                            A
                          
                          )
                        
                        e
                      
                    
                    ⁢
                    
                      (
                      
                        
                          
                            T
                            ^
                          
                          w
                        
                        -
                        
                          
                            T
                            ^
                          
                          e
                        
                      
                      )
                    
                  
                  -
                  
                    
                      L
                      2
                    
                    ⁡
                    
                      (
                      
                        
                          
                            T
                            ^
                          
                          e
                        
                        -
                        
                          T
                          e
                        
                      
                      )
                    
                  
                
              
            
            
              
                
                  
                    -
                    
                      
                        π
                        ⁢
                        
                          
                        
                        ⁢
                        
                          D
                          i
                        
                        ⁢
                        
                          α
                          i
                        
                        ⁢
                        
                          l
                          ⁡
                          
                            (
                            
                              
                                
                                  T
                                  ^
                                
                                w
                              
                              -
                              
                                
                                  T
                                  ^
                                
                                e
                              
                            
                            )
                          
                        
                      
                      
                        
                          
                            ρ
                            l
                          
                          ⁡
                          
                            (
                            
                              1
                              -
                              
                                γ
                                _
                              
                            
                            )
                          
                        
                        ⁢
                        
                          
                        
                        ⁢
                        A
                        ⁢
                        
                          
                        
                        ⁢
                        
                          h
                          lg
                        
                      
                    
                  
                  +
                  
                    
                      
                        
                          m
                          .
                        
                        in
                      
                      ⁡
                      
                        (
                        
                          1
                          -
                          
                            x
                            0
                          
                        
                        )
                      
                    
                    
                      
                        
                          ρ
                          l
                        
                        ⁡
                        
                          (
                          
                            1
                            -
                            
                              γ
                              _
                            
                          
                          )
                        
                      
                      ⁢
                      A
                    
                  
                  -
                  
                    
                      L
                      3
                    
                    ⁡
                    
                      (
                      
                        
                          
                            T
                            ^
                          
                          e
                        
                        -
                        
                          T
                          e
                        
                      
                      )
                    
                  
                
              
            
          
          )
        
      
    
    
      
        (
        46
        )
      
    
  




where {circumflex over (T)}e, {circumflex over (T)}w, and {circumflex over (l)} are estimated values based on the nonlinear observer, Te is the measured evaporating temperature. L1, L2, and L3 are observer parameters.

The evaporator heat transfer rate q can not be measured directly. q can be estimated as

{circumflex over (q)}=πDiαi{circumflex over (l)}({circumflex over (T)}w−{circumflex over (T)}e)  (47)

3.3 Numerical Simulation and Discussion

Simulation of a system with one indoor unit is implemented to demonstrate the nonlinear observer design. The initial operating point is an equilibrium point obtained from the evaporator and compressor equations presented in section 3.1. The initial values are found to be {overscore (l)}=6.0 m, {overscore (T)}e=10.0° C., {overscore (T)}w=12.125° C., {overscore (T)}a=27.0° C., ω=22.363 Hz, Āν=83.2865 step, and {overscore (T)}c=45.0° C.
The input Ta is assumed to be invariant. The other two inputs ω and Aνare assumed to change with time such that the inlet mass flow rate and outlet mass flow rate have the profiles as shown in FIGS. 20 and 21. FIG. 20 is a graph of inlet mass flow rate input. FIG. 21 is a graph of outlet mass flow rate. The assumed measured output Te is shown in FIG. 22, which is a graph of evaporating temperature assuming a measurement output value of Te. The comparison of Tw and l obtained from the plant model and the nonlinear observer are shown in FIGS. 23 and 24. FIG. 23 is a graph of wall temperate Tw showing a comparison of Tw from the model and the nonlinear observer in accordance with the invention. FIG. 24 is a graph of two-phase length l showing a comparison of l from the model and the nonlinear observer in accordance with the invention. It can be seen that the estimated values catch up very quickly to the values obtained from the model and the estimation errors are decreased to zero as show in FIGS. 23 and 24.
By the estimated values of lj and Twj for each evaporator, the evaporator heat transfer rate qj can be obtained by Eq. (47) and transferred to the global control system.
In the simulation, the values of observer parameters are L1=0.2, L2=0.5, and L3=0.0078.
4. Applications in Protection Control
This section describes the applications of the invention in protection control design of HAVC systems.
In order to guarantee the operation safety of HVAC systems, it is important to control superheat, discharge temperature Td, evaporating pressure Pe and condensing pressure Pc to be within safety ranges. It is important to maintain a certain minimum superheat value for evaporator to prevent liquid refrigerant from entering the compressor. The nonlinear control of the invention has much better capability to regulate the superheat value around a given set-point, therefore the superheat value can be maintained within a safety range. For example, FIG. 25 illustrates that the nonlinear control has much better disturbance rejection capability for protection control of superheat. FIG. 25 is a graph of response of superheat with increase of indoor fan speed, controlling superheat from 5 C to a desired value 3.5 C for the feedback linearization and PI control of the invention and feedback PI control. FIG. 25 illustrates the case that indoor fan speed increases. If the indoor fan speed decreases, the feedback PI control will have undershoot and cannot ensure that the superheat value exceeds a minimum value of 3.5 C, however the nonlinear control can guarantee the superheat value is maintained around 3.5 C.
To protect the safety of the compressor, it is important to control the evaporating pressure and condensing pressure to be within safe ranges. Nonlinear control of evaporating temperature described herein ensures that the evaporating pressure can be accurately controlled within the safety range.
In order to maintain the condensing pressure and discharge temperature to be within safety ranges, the following protection control is proposed based on the nonlinear control described herein.
For purposes of this description, Td,max is the maximum allowable discharge temperature from the compressor, and Tc,max is the condensing temperature corresponding to the maximum allowable condensing pressure.
If Td<0.9 Td,max and Tc<0.9 Tc,max




  
    
      
        
          ω
          ⁡
          
            (
            t
            )
          
        
        =
        
        ⁢
        
          
            
              1
              
                g
                ⁡
                
                  (
                  
                    
                      P
                      e
                    
                    ,
                    
                      P
                      c
                    
                  
                  )
                
              
            
            ⁢
            
              
                
                  ∑
                  
                    i
                    =
                    1
                  
                  n
                
                ⁢
                
                  
                    q
                    i
                  
                  ⁡
                  
                    (
                    t
                    )
                  
                
              
              
                
                  (
                  
                    1
                    -
                    
                      x
                      o
                    
                  
                  )
                
                ⁢
                
                  h
                  lg
                
              
            
          
          +
        
      
    
  
  
    
      
        
        ⁢
        
          
            k
            
              g
              ⁡
              
                (
                
                  
                    P
                    e
                  
                  ,
                  
                    P
                    c
                  
                
                )
              
            
          
          ⁢
          
            (
            
              
                
                  1
                  
                    τ
                    d
                  
                
                ⁢
                
                  (
                  
                    
                      T
                      e
                    
                    -
                    
                      T
                      
                        e
                        ,
                        d
                      
                    
                  
                  )
                
              
              +
              
                
                  k
                  i
                
                ⁢
                
                  ∫
                  
                    
                      (
                      
                        
                          T
                          e
                        
                        -
                        
                          T
                          
                            e
                            ,
                            d
                          
                        
                      
                      )
                    
                    ⁢
                    
                      d
                      t
                    
                  
                
              
            
            )
          
        
      
    
  




If Td>0.9 Td,max or Tc>0.9 Tc,max





  
    ω
    ⁡
    
      (
      t
      )
    
  
  =
  
    
      
        1
        
          g
          ⁡
          
            (
            
              
                P
                e
              
              ,
              
                P
                c
              
            
            )
          
        
      
      ⁢
      
        
          
            ∑
            
              i
              =
              1
            
            n
          
          ⁢
          
            
          
          ⁢
          
            
              q
              i
            
            ⁡
            
              (
              t
              )
            
          
        
        
          
            (
            
              1
              -
              
                x
                0
              
            
            )
          
          ⁢
          
            h
            
              1
              ⁢
              g
            
          
        
      
    
    +
    
      

    
    ⁢
    
      
    
    ⁢
    
      
        k
        
          g
          ⁡
          
            (
            
              
                P
                e
              
              ,
              
                P
                c
              
            
            )
          
        
      
      ⁢
      
        (
        
          
            
              1
              
                τ
                d
              
            
            ⁢
            
              (
              
                
                  T
                  e
                
                -
                
                  T
                  
                    e
                    ,
                    d
                  
                
              
              )
            
          
          +
          
            
              k
              i
            
            ⁢
            
              ∫
              
                
                  (
                  
                    
                      T
                      e
                    
                    -
                    
                      T
                      
                        e
                        ,
                        d
                      
                    
                  
                  )
                
                ⁢
                
                  d
                  t
                
              
            
          
        
        )
      
    
    -
    
      Δ
      ⁢
      
        
      
      ⁢
      ω
    
  




Δω=Kp1(Td−0.9Td,max)+Kp2(Tc−0.9Tc,max)

where Kp1 and Kp2 are protection control parameters which can be selected based on testing.
(Kp1=0 if Td<0.9 Td,max, Kp2=0 if Tc<0.9 Tc,max)
If Td>Td.max or Tc>Tc,max

ω(t)=ω(t−1)−K 

Where K is determined by testing.

It is assumed that the discharge temperature and condensing temperature are measured by temperature sensors.
The new feedback linearization approach described herein has much easier design procudures and can achieve better control performance for wide range operation including indoor unit turned on/off. Since the nonlinearity in the system dynamics is compensated by the feedback linearization, the approach of the invention deals with a PI controller design problem for a known linear system. The simulations described herein demonstrate that even with large estimation error, the new nonlinear control of the invention can still achieve desired performance.
It is noted that in the foregoing description, the invention is described in terms of a cooling system. It will be understood that the invention is applicable to a heating configuration also. In that case, the condenser and evaporator are essentially exchanged, in accordance with known heating configurations. That is, in the heating configuration, the condenser is in thermal communication with the space to/from which heat is being transferred, i.e., the condenser is the indoor unit, and the evaporator is the outdoor unit.
While this invention has been particularly shown and described with reference to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

## Claims

1. A heat transfer system, comprising:
a first heat exchanger;
a second heat exchanger in thermal communication with a space; and
a processor for estimating an amount of heat transferred between the second heat exchanger and the space and altering a control parameter of the heat transfer system based on the estimated amount of heat transferred to control the heat transfer system; wherein:
the processor controls a temperature of refrigerant in the second heat exchanger; and
the processor comprises:
a non-linear observer for estimating a plurality of state variables which define a state of the second heat exchanger, the non-linear observer estimating the state variables based on a non-linear model which describes dynamic behavior of the second heat exchanger, the non-linear observer using the estimates of the state variables to compute an estimate of the amount of heat transferred between the second heat exchanger and the space.

2. The heat transfer system of claim 1, wherein the first heat exchanger is a condenser.

3. The heat transfer system of claim 1, wherein the first heat exchanger is an evaporator.

4. The heat transfer system of claim 1, wherein the second heat exchanger is a condenser.

5. The heat transfer system of claim 1, wherein the second heat exchanger is an evaporator.

6. The heat transfer system of claim 5, wherein the processor controls a temperature of refrigerant in the first heat exchanger.

7. The heat transfer system of claim 5, wherein the processor controls a degree of superheat in the evaporator.

8. The heat transfer system of claim 7, wherein the parameter altered by the processor is an expansion valve opening.

9. The heat transfer system of claim 5, wherein the processor controls a discharge pressure of refrigerant in a compressor of the heat transfer system.

10. The heat transfer system of claim 5, wherein the processor controls a discharge temperature of refrigerant in a compressor of the heat transfer system.

11. The heat transfer system of claim 5, further comprising a plurality of evaporators in thermal communication with a respective plurality of spaces.

12. The heat transfer system of claim 5, further comprising a plurality of evaporators in thermal communication with the space.

13. The heat transfer system of claim 1, further comprising a compressor for increasing pressure of a refrigerant flowing between the first and second heat exchangers.

14. The heat transfer system of claim 13, wherein the parameter altered by the processor is a speed of the compressor.

15. The heat transfer system of claim 1, wherein the processor controls a temperature of refrigerant in the first heat exchanger.

16. The heat transfer system of claim 1, wherein the processor controls a degree of superheat in the second heat exchanger.

17. The heat transfer system of claim 16, wherein the parameter altered by the processor is an expansion valve opening.

18. The heat transfer system of claim 1, wherein the processor controls a discharge pressure of refrigerant in a compressor of the heat transfer system.

19. The heat transfer system of claim 1, wherein the processor controls a discharge temperature of refrigerant in a compressor of the heat transfer system.

20. The heat transfer system of claim 1, wherein the processor controls the parameter using a feedback linearization approach.

21. The heat transfer system of claim 1, further comprising a plurality of second heat exchangers in thermal communication with a respective plurality of spaces.

22. The heat transfer system of claim 1, further comprising a plurality of second heat exchangers in thermal communication with the space.

23. The heat transfer system of claim 1, wherein the heat transfer system is controlled to protect a component of the heat transfer system from damage.

24. The heat transfer system of claim 23, wherein the component is a compressor.

25. A method of heat transfer, comprising:
providing a first heat exchanger;
providing a second heat exchanger in thermal communication with a space;
estimating an amount of heat transferred between the second heat exchanger and the space, estimating the amount of heat transferred between the second heat exchanger and the space comprising using a non-linear observer to estimate a plurality of state variables which define a state of the second heat exchanger, the non-linear observer estimating the state variables based on a non-linear model which describes dynamic behavior of the second heat exchanger, the non-linear observer using the estimates of the state variables to compute an estimate of the amount of heat transferred between the second heat exchanger and the space;
altering a control parameter based on the estimated amount of heat transferred to control the heat transfer system; and
controlling a temperature of refrigerant in the second heat exchanger.

26. The method of claim 25, wherein the first heat exchanger is a condenser.

27. The method of claim 25, wherein the first heat exchanger is an evaporator.

28. The method of claim 25, wherein the second heat exchanger is a condenser.

29. The method of claim 25, wherein the second heat exchanger is an evaporator.

30. The method of claim 29, further comprising controlling a temperature of refrigerant in the first heat exchanger.

31. The method of claim 29, further comprising controlling a degree of superheat in the evaporator.

32. The method of claim 31, wherein the parameter altered by the processor is an expansion valve opening.

33. The method of claim 29, further comprising controlling a discharge pressure of refrigerant in a compressor of the heat transfer system.

34. The method of claim 29, further comprising controlling a discharge temperature of refrigerant in a compressor of the heat transfer system.

35. The method of claim 29, further comprising providing a plurality of evaporators in thermal communication with a respective plurality of spaces.

36. The method of claim 29, further comprising providing a plurality of evaporators in thermal communication with the space.

37. The method of claim 25, further comprising providing a compressor for increasing pressure of a refrigerant flowing between the first and second heat exchangers.

38. The method of claim 37, wherein the altered parameter is a speed of the compressor.

39. The method of claim 25, further comprising controlling a temperature of refrigerant in the first heat exchanger.

40. The method of claim 25, further comprising controlling a degree of superheat in the second heat exchanger.

41. The method of claim 40, wherein the parameter altered by the processor is an expansion valve opening.

42. The method of claim 25, further comprising controlling a discharge pressure of refrigerant in a compressor of the heat transfer system.

43. The method of claim 25, further comprising controlling a discharge temperature of refrigerant in a compressor of the heat transfer system.

44. The method of claim 25, altering the parameter comprises using a feedback linearization approach.

45. The method of claim 25, further comprising providing a plurality of second heat exchangers in thermal communication with a respective plurality of spaces.

46. The method of claim 25, further comprising providing a plurality of second heat exchangers in thermal communication with the space.

47. The method of claim 25, wherein the control parameter is altered to protect a component of the heat transfer system from damage.

48. The method of claim 47, wherein the component is a compressor.