Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Y M
C
( )
T
Y M
C
( )
C
1
ln
N
C
--------- + 0 >
M
C
M
N
( )
T
1
Y
1
2
--- M
N
T
1
M
N
M
C
T
1
M
C
( ) 0 >
s
N
1 s ( )
C
+ =
28 HVAC&R RESEARCH
(4)
where
In this study, a fault was indicated whenever the classification error () was below a threshold
equal to 0.001. This threshold for classification error gives a small false alarm rate and was
found to provide acceptable fault detection sensitivities. The value of s that minimizes the classi-
fication error as determined with Equation (4) was found using a golden-section search optimi-
zation method (Rao, 1984). The mean vector and covariance matrix that describe the
distributions for normal and current operation were determined, as outlined in the section on
testing and evaluation.
Diagnostic Classifier
Fault diagnosis is performed using the residual features as inputs to a rule-based classifier.
The set of rules relates each fault to the direction that each measurement changes when the fault
occurs. Table 1 gives the diagnostic rules for the five faults and seven measurements considered
in this study. These rules were developed and tested through simulation over a range of operat-
ing conditions and tested using experiments at a single operating point. Each of the faults results
in a different combination of increasing or decreasing measurements. The rules are effectively
fault models. However, they are generic for all similar types of air conditioners and do not
require on-line learning.
Figure 6 illustrates the fault diagnostic classification method for two possible faults (refriger-
ant leakage and liquid line restriction) with two input features (superheat and subcooling resid-
uals). The progression of changes in the contours of two-dimensional probability distributions
are shown as the two different faults are slowly introduced. Normal operation is shown as the
distribution centered at the zero point. As a fault develops, the contour moves along a curve.
When the overlap between the normal performance distribution and the current distribution (as
indicated by the classification error ) is small enough for the false alarm rate to be acceptable
(e.g., < 0.001), then a fault is signaled by the fault detector. The different diagnostic classes
Table 1. Rules for Diagnostic Classifier
Fault T
evap
T
sh
T
cond
T
sc
T
hg
T
ca
T
ea
Refrigerant leak
Compressor valve leakage
Liquid-Line restriction
Condenser fouling
Evaporator fouling
erfc
V
T
M
N
v
o
2
N
2
--------------------------------
erfc
V
T
M
C
v
o
2
C
2
--------------------------------
+ =
V s
N
1 s ( )
C
+ ( )
1
M
C
M
N
( ) =
v
o
s
N
2
V
T
M
C
1 s ( )
C
2
V
T
M
N
+
s
N
2
1 s ( )
C
2
+
------------------------------------------------------------------------- =
N
2
V
T
N
V =
C
2
V
T
C
V =
VOLUME 3, NUMBER 1, JANUARY 1997 29
are separated by the axis. The overlap of the current distribution with each of the modeled
classes is calculated and represents the probability that the fault class is the correct diagnosis. A
diagnosis is indicated when the probability (overlap) of the most likely class is larger than the
second most likely class by a specified threshold. As the fault becomes more severe, confidence
in the fault detection and diagnosis increases as the current distribution moves further from the
normal distribution, and from the axis separating the classes. Again, the choice of a diagnositic
threshold results from a tradeoff between diagnostic sensitivity and the rate of false diagnoses.
In order to perform the classification for diagnostics, the probability that each rule applies to
the current operation is evaluated. The probability of each hypothesis is determined by the
degree to which the distribution characterizing the current residuals overlaps each class. The
overlap is evaluated by integrating the area under the m-dimensional Gaussian probability distri-
bution that falls within each class region of the domain as given by:
(5)
where d
jk
is the integration limit associated with the domain of fault j in dimension k (), Y
k
is
the k
th
residual, and P(M
c
M
N
,
c
) is the m-dimensional probability distribution function for
the current residuals. For diagnoses, the current distribution has been shifted in order to give
zero mean for normal operation. A nonzero residual mean could occur for normal operation with
an imperfect model.
The calculation of the overlap within each class is simplified by assuming that each dimen-
sion is independent. In this case, the probabilities in each dimension can be ANDed together
such that:
(6)
Figure 6. Fault Diagnostic Classifier (Two-Dimensional Example)
w
j
P M
c
M
N
c
, ( )dY
1
dY
2
dY
m
0
d
j1
0
d
j2
0
d
jm
=
w
j
P
0
d
jk
M
c
k ( ) M
N
k ( )
c
k k , ( ) , [ ]dY
k
k=1
m
=
30 HVAC&R RESEARCH
where P[M
c
(k) M
N
(k),
c
(k,k)] is the probability distribution function for the current residuals
in the k
th
dimension. For Gaussian distributions, the integration reduces to:
(7)
where C
jk
= +1 if [M
c
(k) M
N
(k)] falls within the domain for the j
th
fault (i.e., [M
c
(k) M
N
(k)]
has the same sign as defined in Table 1 for the appropriate fault) and C
jk
= 1, otherwise.
In this study, the probability associated with each diagnosis was estimated using Equation (7).
A diagnosis was considered valid when the ratio of the probability of the most likely class to the
second most likely class was greater than 2. This diagnostic threshold was found to provide
good sensitivity and no misdiagnoses.
TESTING AND EVALUATION
In the simulation studies, outputs of the detailed physical model of an air conditioner were
used to represent the plant. Sensors were modeled by adding zero mean, independent, and iden-
tically distributed Gaussian noise to known values of the plant inputs and modeled outputs. The
standard deviations of the temperature and humidity measurements (
T
and
) were inputs to
the sensor model. For most of the results presented in this study,
T
= 0.5 K and
= 0.05.
In the experimental investigations, the driving conditions were fixed and the sensor values
were recorded for no fault, and then for progressively larger degrees of fault introduction. The
no fault measurement was used as the reference for generating the residuals for each fault level.
Since the driving conditions were fixed and the system was allowed sufficient time to achieve
steady state, there was no need for a steady-state detector.
The input and output measurements were also characterized using Gaussian distributions with
both on-line measurements and manufacturers specifications. The full extent of a sensors vari-
ation is often not captured by sampling a sensor for several minutes to an hour. Examples of
issues affecting sensor performance that may not be noticed within an hour include: ambient
temperature variations, power cycling, long-term electrical noise and drift, and calibration
errors. Therefore, measured variances are often much smaller than the specified accuracies of
the sensors. To give more realistic measurement error estimates, the variances were modified by
combining the estimated variance and the specified accuracy as if they were independent, nor-
mally distributed noise sources, as follows:
(8)
where
2
is the overall measurement variance,
meas
is the standard deviation of measurements
estimated from the data, and
spec
is the specified accuracy of each sensor. In most cases,
spec
dominates
meas
.
The preprocessors steady-state model incorporated a lookup table that produced perfect plant
predictions when given inputs with no measurement errors. With Gaussian distributed measure-
ment noise, the distribution for the i
th
temperature residual (difference between measured and
predicted outputs) is defined by
(9)
w
j
1
2
--- 1 C
jk
erf
M
c
k ( ) M
N
k ( )
2
C
k k , ( )
--------------------------------------
+
k=1
m
meas
2
spec
2
+ =
Y
i
Y
i
T
amb
T
ra
ra
, , ( ) f
i
T
amb
w
T
T
ra
, w
T
ra
, w
+ + + ( ) w
T
+ =
VOLUME 3, NUMBER 1, JANUARY 1997 31
where Y
i
is the i
th
output of the plant, f
i
is the preprocessor models prediction of the plant out-
put for normal operation, w
T
is zero mean noise added to the temperature measurements, and w
is zero mean noise added to the relative humidity measurement. Sensor noise was propagated
through the steady-state preprocessor using a first-order Taylor series about the known operat-
ing point.
(10)
The mean vector and covariance matrix were estimated in order to characterize a normal distri-
bution of the residuals. The i
th
entry in the mean vector is
(11)
where E is the expected value operator. The covariance matrix can be determined by using a
Taylor series approximation (Gelb 1989). Diagonal entries in the i
th
row of the covariance
matrix are
(12)
whereas off-diagonal entries are
(13)
and where
The Taylor series approximation was reasonable since only small measurement noise was
propagated through the model. The partial derivatives in Equations (10), (12), and (13) were
evaluated numerically using model predictions from the vapor compression system model
described by Rossi (1995).
FDD SENSITIVITIES
In this section, simulated results are presented for FDD performance using all of the seven
output temperature measurements depicted in Figure 4. Before a fault is detectable, the classifi-
cation error between the current observation and the estimate provided by the model must be
less than 0.001. Table 2 shows the effect of simulated charge leakage on the output of the fault
detection and diagnostic system. When 2% of the charge is removed, the classification error is
below 0.001 and a fault is indicated. The class probability indicating a refrigerant leak is already
nearly a factor of 10 greater than the next most likely explanation. As the fault becomes worse,
the certainty in the diagnosis improves dramatically.
Table 3 shows the effect of simulated compressor suction valve leakage on the output of the
fault detection and diagnostic system. Valve leakage was modeled as a decrease in the compres-
sors volumetric efficiency. A fault is indicated (classification error is below 0.001) when the
efficiency is reduced by 5%. At this point, the class probability indicating valve leakage is
Y
i
Y
i
T
amb
T
ra
ra
, , ( ) f
i
T
amb
T
ra
ra
, , ( )
f
i
T
amb
---------------w
T
f
i
T
ra
----------- w
T
f
i
ra
----------- w
w
T
+
E Y
i
[ ] Y
i
T
amb
T
ra
ra
, , ( ) f
i
T
amb
T
ra
ra
, , ( )
E Y
i
E Y
i
( ) ( )
2
[ ]
T
2
f
i
T
amb
---------------
2
T
2
f
i
T
ra
-----------
2
T
2
f
i
ra
-----------
2
2
+ + +
E Y
i
E Y
i
( ) ( ) Y
j
E Y
j
( ) ( ) [ ]
f
i
T
amb
---------------
f
j
T
amb
---------------
T
2
f
i
T
ra
-----------
f
j
T
ra
-----------
T
2
f
i
ra
-----------
f
j
ra
-----------
2
+ +
T
2
E w
T
2
[ ]
2
E w
2
[ ] = =
32 HVAC&R RESEARCH
already a factor of 7 greater than the next most likely explanation. Once again, the evidence
becomes stronger as the fault level increases.
The effect of a simulated liquid line restriction on the output of the fault detection and diag-
nostic system is shown in Table 4. The restriction was modeled by inserting a valve in the liquid
line and decreasing its cross-sectional area. In this case, a fault is not detected until the diameter
of the valve opening is reduced by about 80%. At this point, the class probability indicating liq-
uid line restriction is overwhelming. The FDD system appears to be insensitive to liquid line
restrictions because the restriction is modeled as a decrease in the diameter of the pipe just
before the expansion device and the restriction is not noticeable when it is much larger than the
expansion device opening. For the test unit, the diameter of the pipe is about 5 times larger than
the expansion device diameter. In practice, a liquid line restriction would occur at the site of the
expansion device or within the filter-dryer and would be detected with a much greater sensitivity
than demonstrated in Table 4.
Tables 5 and 6 show the effects of simulated condenser and evaporator fouling on the output
of the fault detection and diagnostic system, respectively. Condenser and evaporator fouling
Table 2. FDD Performance for Refrigerant Leakage
Fault Size, %
Classification
Error () Diagnosis
Class Probabilities
[leak comp rest cond evap]
0.1 3.71 E01 Normal
0.5 1.21 E01 Normal
1.0 1.72 E02 Normal
2.0 1.59 E05 Refrigerant leak [0.26 0.00 0.03 0.00 0.00]
5.0 3.76 E15 Refrigerant leak [0.62 0.00 0.00 0.00 0.00]
10.0 0 Refrigerant leak [0.91 0.00 0.00 0.00 0.00]
Table 3. FDD Performance for Compressor Valve Leakage
Fault Size, %
Classification
Error () Diagnosis
Class Probabilities
[leak comp rest cond evap]
0.1 4.20 E01 Normal
0.5 3.71 E01 Normal
1.0 2.43 E01 Normal
2.0 7.62 E02 Normal
5.0 1.47 E04 Compressor valve [0.00 0.15 0.00 0.00 0.02]
10.0 8.13 E10 Compressor valve [0.00 0.48 0.00 0.00 0.01]
15.0 1.09 E15 Compressor valve [0.00 0.65 0.00 0.00 0.00]
20.0 3.19 E29 Compressor valve [0.00 0.77 0.00 0.00 0.00]
30.0 0 Compressor valve [0.00 0.93 0.00 0.00 0.00]
Table 4. FDD Performance for Liquid Line Restriction
Fault Size, %
Classification
Error () Diagnosis
Class Probabilities
[leak comp rest cond evap]
5.0 4.44 E01 Normal
10.0 4.47 E01 Normal
15.0 4.42 E01 Normal
20.0 4.40 E01 Normal
30.0 3.85 E01 Normal
40.0 2.87 E01 Normal
60.0 1.96 E03 Normal
80.0 0 Restriction [0.00 0.00 0.98 0.00 0.00]
VOLUME 3, NUMBER 1, JANUARY 1997 33
were modeled as decreases in the air flow rate across the coils. For condenser fouling, a fault is
indicated when the flow rate is reduced by 20%, whereas the evaporator flow rate is reduced by
40% before a fault is detected. However, the evidence for evaporator fouling is much stronger at
the point when a fault is detected.
The sensitivities of the FDD system to the five faults would probably be adequate for this appli-
cation. Of the five faults considered, only refrigerant leakage would require repair as soon as it
was detected (environmental criteria). In this case, the FDD system detected changes of less than
2% in refrigerant charge. The other four faults would be serviced only if they affected comfort,
economics, or safety. Since the cooling capacity and power consumption of an air conditioner are
strongly coupled to the thermodynamic states used in the FDD method, the comfort and economic
criteria are not likely to be violated if a fault is not detectable. Furthermore, unsafe operation
would normally be associated with large deviations from normal operating states.
SENSOR REQUIREMENTS FOR REFRIGERANT LEAKAGE
It is not necessary to use all of the seven output temperature measurements depicted in Figure
4 if the goal is to distinguish refrigerant leakage from the other possible faults. Figure 7 shows
the simulated sensitivities for detecting refrigerant leaks as a function of the number of sensors
for a measurement noise of
T
= 0.5 K and
= 0.02,
then refrigerant loss of less than 0.7% of full charge was detectable.
Figure 8 shows the classification error and fault probability ratio versus percent charge reduc-
tion for three sensors. The fault probability ratio is the ratio of the most probable fault to the sec-
ond most probable fault. The horizontal line in the center of the plot is the threshold for
classification error (left axis) and fault probability ratio (right axis). A fault is indicated when the
classification error is below the threshold and a valid diagnosis is indicated when the fault prob-
ability ratio is above the threshold. For this study, the minimum detectable fault was associated
with both values exceeding their respective thresholds. This point occurs at the intersection of
the vertical line separating the fault and normal regions and the abscissa in Figure 8, and is equal
to the value of the three sensor bar in Figure 8.
Figure 9 provides the minimum detectable charge reduction versus number of sensors for the
experimental investigation. The results confirm that the simulation tool correctly predicted the
relative importance of the output measurements. Three sensors were sufficient for detecting
refrigerant loss in addition to the three input measurements required for the preprocessor model.
However, the simulated performance was more sensitive to refrigerant charge than actually
occurs. The experiment indicates that a 5.0% reduction in charge can be detected.
CONCLUSIONS
A rule-based, statistical fault detection and diagnostic system was developed and evaluated
for vapor compression equipment. The method only requires temperature measurements and one
humidity measurement to distinguish between the following five faults: (1) refrigerant leakage,
(2) liquid-line restriction, (3) compressor valve leakage, (4) condenser fouling, (5) evaporator
fouling. The diagnostic approach is based on generic rules and does not require equipment spe-
cific experimentation. Thresholds for both fault detection and diagnosis are both based upon sta-
tistical analysis of on-line measurements.
Figure 7. Refrigerant Leak Detection Sensor SensitivitySimulation Results
(Numbers indicate sensors selected from the list in Figure 4.)
VOLUME 3, NUMBER 1, JANUARY 1997 35
The sensitivities of the FDD method for detecting and diagnosing each of the five faults were
estimated through simulation in the presence of typical measurement errors. This method is
most sensitive for detecting refrigerant loss. Simulated results showed that a 2% loss in refriger-
ant could be detected using five temperature measurements (superheat, subcooling, hot gas line,
Figure 8. Refrigerant Leak Detection Classification Error and
Diagnostic Fault Probability Ratio (3 Sensors)
Figure 9. Refrigerant Leak Detection Sensor SensitivityExperimental Results
(Numbers indicate sensors selected from the list in Figure 4.)
36 HVAC&R RESEARCH
condenser air inlet, and evaporator air inlet) and one humidity measurement (evaporator air
inlet) Experimental results confirmed the use of these measurements, but only a 5% reduction in
refrigerant was detectable.
Refrigerant loss detection could be an immediate application for the proposed FDD method,
since fault evaluation is not necessary for this fault. A refrigerant leak should be repaired as soon
as it is detected and diagnosed. Since the other four faults should only be serviced if they affect
comfort, economics, or safety, less detection sensitivity is required for them.
In this study, the thresholds for fault detection (classification error) and diagnoses (fault prob-
ability ratio) were chosen heuristically to give a low false alarm rate. The sensitivity of the FDD
method in detecting and diagnosing each fault was then evaluated for the fixed thresholds. Ide-
ally, the selection of thresholds should consider the tradeoff between the sensitivity of the
method and the false alarm rate. One would like to choose thresholds that allow the method to
detect small faults (high sensitivity), but that rarely lead to an indication of a fault that doesnt
exist (low false alarm rate). In theory, the principle of least risk could be used to help decide
what are appropriate sensitivities and false alarm rates. It would be possible to evaluate the sen-
sitivity and false alarm rate of the FDD method as a function of threshold values. This informa-
tion could be used in conjunction with costs associated with misdiagnoses (choosing faulty
behavior thats normal or normal behavior thats faulty) to determine appropriate thresholds.
However, these costs would be very difficult to obtain for this particular application.
This study also did not consider the effect of modeling errors on the sensitivity of the FDD
method. Modeling errors do reduce sensitivity and should be considered in future studies.
ACKNOWLEDGEMENTS
The research described in this paper was supported by grants from the National Institute of
Standards and Technology, Johnson Controls, Inc., and Purdue University. The research bene-
fited from many interactions with an International Energy Agency (IEA) working group on fault
detection and diagnostics (Annex 25).
NOMENCLATURE
E[
.
] expected value operator
f
i
plant model for i
th
output
M
C
mean vector that describes the current distri-
bution of residuals determined using recent
measurements
M
N
mean vector that describes the distribution of
residuals determined using measurements for
normal operation
P(
.
) probability density function
s parameter that minimizes classification error
for optimal linear classifier
T
amb
ambient temperature (inlet to condenser)
T
cond
condensing temperature
T
evap
evaporating temperature
T
hg
hot gas line temperature (compressor outlet)
T
ra
return air temperature (inlet to evaporator)
T
sc
liquid line subcooling
T
sh
suction line superheat
U vector of inputs that affect plant performance
Y vector of measured plant outputs
T
ca
air temperature rise across condenser
T
ea
air temperature drop across evaporator
w
j
estimate of probability that jth fault represents
the correct diagnosis
Y vector of residuals between measured and
modeled plant outputs
classification error (probability of making an
erroneous classification for normal or faulty
behavior)
ra
return air relative humidity (inlet to evaporator)
standard deviation of measurements
weighted average of
N
and
C
:
C
covariance matrix that describes the current
distribution of residuals determined using
recent measurements
N
covariance matrix that describes the distribu-
tion of residuals in absence of any faults (i.e.,
normal operation)
Subscripts
exp model prediction (expected performance pre-
dictions)
meas measured
spec manufacturers specification
T temperature
relative humidity
VOLUME 3, NUMBER 1, JANUARY 1997 37
REFERENCES
Fukunaga, K. 1990. Introduction to Statistical Pattern Recognition. W. Lafayette, IN: Academic Press.
Gelb, A. 1989. Applied Optimal Estimation, MIT, Cambridge, MA: M.I.T. Press.
Glass, A.S., P. Gruber, M. Roos, and J. Todtli. 1994. Preliminary Evaluation of a Qualitative Model-Based
Fault Detector for a Central Air Handing Unit. Proceedings of the Third IEEE Conference on Control
Applications pp. 1873-1882: IEEE Catalogue No. 94CH3420-7.
Grimmelius, H.T., J. Klein Woud, and G. Been. 1995. On-Line Failure Diagnosis for Compression Refrig-
eration Plants. International Journal of Refrigeration 18(1): 31-41.
Hiroshi, I.H., K. Matsuo, Fujiwara, K. Yamada, and K. Nishizawa. 1992. Development of Refrigerant
Monitoring Systems for Automotive Air-Conditioning Systems. Society of Automotive Engineers
Paper No. 920212.
Isermann, R. 1984. Process Fault Detection Based on Modeling and EstimationA Survey. Automatica
20(4): 387-404.
Kumamaru, T., T. Utsunomiya, Y. Yamada, Y. Iwasaki, I. Shoda, and M. Obayashi. 1991. A Fault Diagno-
sis System for District Heating and Cooling Facilities, Proceedings of the International Conference on
Industrial Electronics, Control, and Instrumentation, Kobe, Japan (IECON 91), pp. 131-136.
McKellar, M.G. 1987. Failure Diagnosis for a Household Refrigerator. M.S. Thesis, West Lafayette, IN:
Purdue University.
Rao, S. 1984. Optimization, 2nd ed. New Delhi, India: Wiley Eastern Limited.
Rossi, T.M. 1995. Detection, Diagnosis, and Evaluation of Faults in Vapor Compression Cycle Equipment.
Ph.D. Thesis, West Lafayette, IN: Purdue University.
Rossi, T.M., and J.E. Braun. 1996. Minimizing Operating Costs of Vapor Compression Equipment with
Optimal Service Scheduling, International Journal of Heating, Ventilating, Air-Conditioning and
Refrigerating Research 2(1): 23-47.
Stallard, L.A. 1989. Model Based Expert System for Failure Detection and Identification of Household
Refrigerators. M.S. Thesis. West Lafayette, IN: Purdue University.
Wagner, J., and R. Shoureshi. 1992. Failure Detection Diagnostics for Thermofluid Systems, Journal of
Dynamic Systems, Measurement, and Control 114(4): 699-706.
Yoshimura, M., and I. Noboru. 1989. Effective Diagnosis Methods for Air-Conditioning Equipment in
Telecommunications Buildings. In Proceedings of INTELEC 89: The Eleventh International Telecom-
munications Energy Conference, 21(1): 1-7.