This invention relates to temperature and pressure sensor fault detection for a heating, ventilation and air conditioning system.
Typically, a heating, ventilation and air conditioning (HVAC) system includes temperature and pressure sensors that are crucial to ensure proper operation of the system. A controller uses data from the sensors to adjust operation of the components such as an evaporator, compressor and condenser. If the sensors fail or are inaccurate, the HVAC system will not operate as intended. Further, if the sensors fail to provide accurate data, the components within the HVAC system may operate outside desirable parameters, potentially causing premature failure. For these reasons, it is desirable to monitor sensor accuracy and indicate a fault condition when sensor accuracy is outside a desired operating range.
Prior art sensor fault detection techniques include the use of redundant sensors to measure the same parameter within the system. The difference of data measured between the two redundant sensors is detected and the difference compared to a threshold value. If the threshold value is exceeded by the actual difference, then a fault is detected and corrective action is initiated.
Systems that use redundant sensors are cost-prohibitive. Further, redundant sensors double the programming requirements and controller requirements, increasing the overall complexity of the system.
Another known prior art system detects pressure sensor faults by subtracting evaporator pressure from condenser pressure. A faulty sensor is indicated if the difference between the pressure sensor at the evaporator and the pressure sensor at the condenser is zero or negative. Condenser pressure should always be higher than pressure within the evaporator and a deviation from this indicates a failure. Disadvantageously, this approach can only detect complete sensor failure. Sensor drift or bias where the sensor provides inaccurate information cannot be detected by such a system.
Another known prior art system uses sensor data to determine a linear relationship that represents a system of statistically related components. A sensor fault is detected by a detected deviation from that linear relationship. This data-driven approach requires a large amount of linearly related data and a statistical analysis that is complicated and computationally intensive. The large amounts of computation can lead to inaccuracies and increased costs.
Accordingly, it is desirable to develop a sensor fault detection method and system that works in real time, uses localized features as well as long-term trending features obtained from data to detect sensor defects, and adapt to current operating systems.
This invention is a method of diagnosing sensor faults for air handling systems utilizing component models and statistical analysis to reliably evaluate sensor operating conditions and faults.
A method of this system diagnoses sensor faults by creating component models to predict and determine an expected value for a sensor measurement. The actual sensor data is then compared to the component model and a fault is indicated if a difference between the threshold value and actual measurement exceeds a predetermined value.
The method of this invention also comprises the steps of producing a series of measurement values and producing a probability distribution of sensor values based upon the series of measurements. The probability distribution function that is created based on the measured series of values is then compared to a normal distribution function. A difference between the probability distribution function and a normal distribution function produces data points that are outside the normal distribution function. A time scale transformation procedure is used that produces low and high pass output. The low and high pass output is then compared to a predetermined threshold to diagnose sensor faults.
This system provides an effective and economical sensor fault diagnostic and prognostic technique. This technique is particularly useful for dealing with the slowly occurring sensor faults such as drift and bias in sensor readings. Component models of the air handling system are used as a basis for sensor bias detection and estimation. The combination of the two-fault detection approaches, that being the comparison to component models, and the sensor and data manipulation using statistical techniques, provides a reliable method for evaluating sensor condition.
Accordingly, the method and system of this invention provides a reliable and economical method of determining sensor condition that is adaptable to current systems.
The various features and advantages of this invention will become apparent to those skilled in the art from the following detailed description of the currently preferred embodiment.
The drawings that accompany the detailed description can be briefly described as follows:
Referring to
The evaporator 16 includes temperature sensors 32, 34 that measure inlet and outlet air moving across the evaporator 16. Further, temperature sensors 36, 38 measure refrigerant temperature moving into and out of the evaporator 16.
The pressure and temperature of refrigerant within the system 10 are described by a system of equations that describe the thermodynamics of the system. The thermodynamic operation of a heat pump system 10 is well known and the algebraic equations that describe such a system that relate each of the system parameters to one another are known.
The compressor 12 is preferably a reciprocating compressor where the process of vapor refrigerant going through the compressor 12 is assumed to be polytropic. That means that the compressor, suction and discharge temperature together with suction and discharge pressure are represented by the relationship:
where TSUC, Tdis, Psuc and Pdis are compressor inlet temperature, outlet temperature, inlet pressure, outlet pressure respectively and n is the polytropic index. A typical value for n is 1.03. The exact value for n could be calculated from manufacturer's data. This relationship provides a model of the operation of the compressor 12. The four sensors 24, 26, 28 and 30 monitor the condition of the compressor 12. Proper functioning of the four sensors 24, 26, 28 and 30 are essential to the reliability of the heat pump system 10. Drifting errors in the sensors 24, 26, 30 and 28 are detected according to this method such that remedial action can be initiated. If the sensors 24, 26, 28 and 30 begin to drift, the compressor component model provided by Equation 1 no longer holds.
Accordingly, the difference between the calculated discharge temperature that is calculated utilizing equation 1 and the actual value dictated by the sensor 24 indicates whether a fault has occurred. If the four sensors are free of defects, the discrepancy should be close to 0. As sensor readings begin to drift away from the modeled or predicted value, a fault is determined and a signal is initiated to prompt maintenance.
Estimation of drifts in the sensors 24, 26, 28 and 30 is accomplished using the following optimization procedure. The optimization procedure is represented by the equation:
If the two pressure sensors 26, 30 measuring discharge pressure and suction pressures are reading correct values, the model equation should hold at any compressor speed. The model equations for the compressor 12, specifically the two pressure sensors 26, 30 measuring discharge and suction pressure about the compressor 12 are indicated below:
{dot over (W)}Comp=(e+fPrd)PSuc{dot over (V)}Suc+g,
{dot over (V)}Suc=A−BPrC
where VsuC is the compressor suction volumetric flow rate, Pr is the pressure ratio, PsuC is the suction pressure, WComp is compressor power, and A, B, C, d, e, f, and g are constants provided by manufacturer's data.
The measured values of the suction pressure and the discharge pressure sensors 26, 30 are utilized in Equation 4, and yield values for volumetric flow rate VsuC and {dot over (W)}Comp. The calculated {dot over (W)}Comp is compared to the actual work measured by a power sensor, or a handheld power meter. If the difference between the two values is greater than a predetermined threshold value, then an indication is prompted that one of the pressure sensors is faulty. These discrepancies are measured over time and computed values can be tracked over time. A trending upward or downward in the data for common or stable operating conditions would indicate a drift in data.
For the heat pump system 10, there are always sensors available to monitor performance of the heat exchangers (condenser 14, evaporator 16). Depending on the mode of operation of the heat pump system 10, the condenser 14 and evaporator 16 will ultimately be rejecting or absorbing heat from the surrounding air. Operation of the condenser 14 and evaporator 16 can be modeled as a heat exchanger according to the equations below:
The refrigerant enthalpies that flow through the heat exchangers can be obtained from the refrigerant properties using the temperature and pressure measurements. Under a condition where the sensible heat ratio and air mass flow rate are known, the refrigerant flow rate can be solved from the equations 5 and 6 and result in the relationship is:
The refrigerant mass flow rate, on the other hand, can be estimated using a compressor component model. The compressor component model can be obtained from manufacturer's data. A compressor component model provides an approximation of the theoretical volume flow rate through the compressor. This equation is given as:
{dot over (V)}suC=A−BPrC Equation 8:
where, A, B, and C are constants that are estimated from the manufacturer's data. Pr is the compressor pressure ratio that is the ratio between discharge pressure and Pdis and suction pressure PsuC. The volumetric flow rate can be obtained using the density of the refrigerant according to the equation:
{dot over (m)}2={dot over (V)}sucρ Equation 9:
where ρ is the density of refrigerant. The refrigerant flow rate estimation according to the compressor model should be close to the value that is calculated using the refrigerant enthalpies as is calculated in Equation 7. If there is a fault in the sensors, there will be a large discrepancy between the two calculated volumetric flow rates. Accordingly, if one of the temperature sensors 36, 38 is faulty, this difference will be greater than a desired threshold value.
Further, in order to determine if the sensors are drifting, a sensor bias estimation value is determined by using the following optimization procedure:
where θ5, θ6, θ7, θ8 are bias values in the four temperature sensors 32, 34, 36 and 38 installed on the heat exchanger. The pressure sensors are assumed to be unbiased based on the assumption that biased pressure readings have been corrected. Consequently, only the biases in the temperature readings affect the enthalpies h1r and h2r.
The solution of Equation 10 provides a sensor bias estimation value. The bias values of the sensor are compared with predetermined thresholds that if exceeded indicates that bias faults have occurred in the pressure sensors 26, 30. Tracking the estimated bias values over time provides for the prediction of sensor faults. If a bias fault is not serious enough to endanger the integrity of the system 10, that is if the bias value is below the threshold value where a fault is determined, the bias value is input into a statistical database in order to improve and optimize the entire system.
A fault-free sensor provides measured data that provides real values along with a quantity of white noise. White noise is indicative of the interference that accompanies operation and measurement of data through electronic sensors.
The fact that a data series includes measured data plus white noise is used in the statistical analysis of the measured data series. For a defect-free sensor, a probability density function (pdf) of measured data values should be close to a normal distribution. This is so after the removal of deterministic factors by time-scale transformation. As defects begin to develop, the sensor will produce unique features that appear in the measured data series that can be utilize to detect the specific type of fault. For example, drift and bias faults have low frequency characteristics while intermittent faults, such as an occasionally open short circuit, exhibit high frequency fault features. Time scale transformation techniques are utilized to analyze data and isolate both low and high frequency features that are produced by a data series from a faulty sensor. Preferably, a wavelet transformation of the data series is produced to provide a series of low pass and high pass data elements. These low pass and high pass data elements are revealed within the wavelet transformation and used to detect the specific types of fault.
If wavelet transformation is applied to measurements of a defect-free sensor, high pass output of wavelet transformation will be close to a normal distribution with a zero mean. Because the wavelet transformation is a linear transformation procedure that preserves the probability density function of the original signal, the distribution should be normal with a zero mean. The low pass output of the wavelet transformation should be a normal distribution with a mean value that corresponds to the mean value of the physical quantity of the sensor. In other words, the low pass output should be, for a defect-free and properly operating sensor, a normal distribution with a mean value that is the same as the mean value for the actual measured data. Any variance of the high pass output from the normal distribution and from the mean value that is common to the mean value of the measured data indicates that the sensor is defective. Deviation of the low pass output from a normal distribution and a mean value common to the measured mean value indicates a bias, freezing, or loss of accuracy within the sensor.
A sensor defect with intermittent faults that generate periodic high frequency data points are identified within the signal. The time scale transformation is sensitive to local changes in the signals and measurement data from the sensors. The result of this high sensitivity is that more coefficients of higher amplitude will be produced. The increased amount of higher amplitude or high pass output that is produced by the time scale transformation causes the probability distribution function to deviate from a normal distribution. When the probability distribution function of the time scale transformation deviates from a normal distribution, this change in high pass output indicates that a sensor is undergoing an intermittent defect. This intermittent defect within the sensor can indicate that the sensor has some type of electrical fault, or the signal is either being interfered with by external electronic noise or simply is physically freezing.
Referring to
Each of the sensors is analyzed to provide an indication of the condition of that sensor. The sensor data, represented by the block 52, is input into the system and stored within a database. The data stored within the system then undergoes the time scale transformation process. Preferably, the time scale transformation used is a wavelet transformation that decomposes the gathered data into low pass and a high pass output. A statistical analysis is then performed on the output as is indicated at block 56. This statistical analysis is performed on low pass output to determine whether statistical measures such as the mean, variance, and higher order moments have changed from the data that had been previously gathered. In other words, as each data point or set of data points is accumulated, it is compared to some or all of the previous set of data points that have been compiled. As additional data is accumulated and used to build the statistical data of the system, that new data is compared to the older, previously gathered data to determine any differences. Change detection is then carried out on the low pass contents to determine whether there has been a change.
Further, statistical analysis is also performed on a high pass output to determine whether it has changed statistically from the mean, variance, or higher order moments that were compiled previously gathered data.
Once the statistical analysis has been performed of the low pass and high pass output that is produced from the measured data, a pattern recognizer carries out self-diagnosis. The pattern recognizer is a component within the controller that is programmed according to pre-determined criteria to identify statistical features that are present within the output distribution functions for each of the sensors. Specific fault types are identified as a recognizable pattern within the gathered data. The fault type can include electrical faults such as bias and drift of the sensor, or mechanical faults such as freezing or intermittent operation often caused by a short circuit or an open circuit. Accordingly, the specific fault of the sensor as indicated at block 62 can be identified to provide instruction as to what remedial action is required to correct the fault.
Statistical analysis is accomplished using expansion techniques as indicated at 56. Preferably, an orthogonal statistical expansion technique is utilized. Known orthogonal statistical expansion techniques include the Gram-Charlier (GC) orthogonal expansion that is preferably utilized in this method. Other expansion techniques as known in the art are also within the contemplated scope of the invention. The basic idea of the GC expansion is that any probability distribution function can be approximated by a standardized normal distribution function and residual terms as is shown in the equation:
where φ (x) is the standardized normal distribution function and r (x) is the residual of the expansion. Hi (x) is the Hermite function of nth degree, and ci is the CG expansion coefficients, which can be calculated by:
where i! means i factorial.
If the sensor is in good working order, the data measured and obtained from that sensor should be normally distributed. Defects within the sensor cause data to deviate from a normal probability distribution function. In the practical application of the CG expansion, a limited number of residual terms are used. For an 8-term expansion, the coefficients of the GC expansion can be calculated as:
where mk is the kth order moment of x around the mean. The kth order moment is defined by the relationship indicated below:
where {overscore (x)} is the mean of the sensor data samples x(i), i=1, 2, . . . , N.
Generally, odd statistical moments indicate information about peak density of the distribution. Even moments indicate characteristics of the spread of the distribution. GC expansion coefficients contain the information about both odd and even moments of the probability distribution function of the data values and as a result, GC expansion is more sensitive to the changes than using conventional orthogonal expansions. An additional useful feature of the GC expansion is that a detection statistic can be formulated from the GC expansion co-efficient giving a single Chi-square (χ2) distributed index (T2) that can be used for an indication of the sensor condition degradation. This is represented by the equation:
where the individual coefficients ci is χ2 distributed with n degrees of freedom. By specifying a confidence level α, then we can have the following criteria for fault detection. The fault detection can be determined by comparing the obtained values within the relationships indicated below:
This provides a relationship between the different fault types and corresponding GC coefficients. This provides for the usage of the GC co-efficient parameters for classification of the specific type of sensor fault.
The system of this invention provides an effective and economical sensor fault detection system and method. The technique is useful for dealing with slowly occurring sensor faults such as drift and bias. Component models of the various components within the system are used as a basis for detecting the sensor bias in estimating the sensor drift. These component models are created using manufacturer's data that is obtained for each of the components. The models are then used to estimate bias occurring in the sensor readings. Data obtained from the sensor readings are then manipulated by a time scale transformation and statistical probability distribution function expansions are used to detect the non-drift type sensor faults. Combining the utilization of component models and two-fault detection approaches utilizing the time scale transformation and statistical probability distribution function expansions provide a reliable, adaptable way of evaluating current sensor health.
The foregoing description is exemplary and not just a material specification. The invention has been described in an illustrative manner, and should be understood that the terminology used is intended to be in the nature of words of description rather than of limitation. Many modifications and variations of the present invention are possible in light of the above teachings. The preferred embodiments of this invention have been disclosed, however, one of ordinary skill in the art would recognize that certain modifications are within the scope of this invention. It is understood that within the scope of the appended claims, the invention may be practiced otherwise than as specifically described. For that reason the following claims should be studied to determine the true scope and content of this invention.