This application claims priority to India Patent Application No. 158/KOL/2005, filed Mar. 11, 2005, which is incorporated herein by reference.
Differential pressure is commonly used for the measurement of pressure, flow and level in industrial processes by measuring a pressure drop near a discontinuity within the pipe. The discontinuity may be in the form of an orifice, nozzle, Venturi, pitot tube, vortex shedding bar, target, or even a simple bend in the pipe. Impulse lines are used to couple a differential pressure sensor to the process on either side of the discontinuity, and provide two pressures (a high pressure, HP, and a low pressure, LP) from different locations in the process, such as on either side of the discontinuity, to a differential pressure transmitter. The differential pressure transmitter measures the difference in pressure between the two impulse lines, and creates and transmits a signal representative of the pressure difference.
Blockage in the impulse lines may occur because dirt or other material in the process may settle in the lines. Typical types of blockages include, for example, solid depositions, wax depositions, hydrate formation, sand plugging, gelling, frozen process fluid plugs and air or foam pockets. Such blockages may lead to erroneous measurement and undesired control actions based on the erroneous measurements. The impact of the erroneous measurements and control actions may result in poor control of the process, and catastrophic results. This can lead to a large loss of revenue, loss of life, and damage to property.
Periodic disassembly and inspection of the impulse lines is one method used to detect and correct plugging of lines. Another known method for detecting plugging is to periodically add a check pulse to the measurement signals from a pressure transmitter. The check pulse causes a control system connected to the transmitter to disturb the flow. If the pressure transmitter fails to accurately sense the flow disturbance, a signal may be generated indicative of plugging.
One prior art system detects plugged impulse lines by subtracting a moving average from a signal and then calculating a variance of the signal. A plugged line is then identified based on a threshold. Such techniques may be undesirable under varying process conditions Other prior methods utilize an absolute pressure signal. Generally, in some other techniques digital output from a differential pressure transmitter is sampled at random intervals and reconstructed into a time varying output that represents the process signal to produce samples. Plugging is detected based on whether variance of such samples exceed a predetermined threshold.
However, all techniques in related art generally focus on plugged impulse line detection. Such a focus may deteriorate the quality of decisions generating false diagnostic information.
Current methods do not address automatic detection of plugged impulse lines under various flow conditions. Under different flow rates with different fluids, false alarms may result, as well as missing actual plugged conditions.
A digital signal representative of a difference in pressure is received from a differential pressure transmitter. A noise signal is obtained by processing the signal through a band pass filter or otherwise to provide a filtered noise signal. Absolute values of the filtered noise signal are calculated and compared to one or more predetermined threshold values to determine if one or more impulse lines are plugged.
In the following description, reference is made to the accompanying drawings that form a part hereof, and in which is shown by way of illustration specific embodiments which may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that other embodiments may be utilized and that structural, logical and electrical changes may be made without departing from the scope of the present invention. The following description is, therefore, not to be taken in a limited sense, and the scope of the present invention is defined by the appended claims.
The functions or algorithms described herein are implemented in software or a combination of software and human implemented procedures in one embodiment. The software comprises computer executable instructions stored on computer readable media such as memory or other type of storage devices. Further, such functions correspond to modules, which are software, hardware, firmware or any combination thereof. Multiple functions are performed in one or more modules as desired, and the embodiments described are merely examples. The software is executed on a digital signal processor, ASIC, microprocessor, or other type of processor operating on a computer system, such as a personal computer, server or other computer system.
A differential pressure measurement system 100 in
The differential pressure transmitter 150 has a sensor and an electronic body inside, which convents a sensor output representative of the differential pressure into a digital equivalent signal. This digital signal is provided at an output port 160. The differential pressure transmitter 150 can be calibrated and configured for the measurement of flow, pressure and level by connecting it at the terminals of the differential pressure transmitters. Differential pressure transmitter 150 provides the digital equivalents based on the configuration and the process condition.
The digital differential pressure signal from the differential pressure transmitter is passed through a filter, such as a band pass or high pass filter as shown in
The number of times the absolute value of the signal crosses a threshold in a window is noted in a monitoring mode. A threshold TSLP and frequency rSLP are computed in a training mode, as illustrated in the flow chart shown in
In one embodiment, the above system may be implemented in the differential pressure transmitter, working on data collected. The system continuously monitors the health of the impulse lines, and generates an alarm when one of the lines or both of the lines are plugged.
In one embodiment, there is no attenuation in the pass band. In further embodiments, the attenuation in the pass band can be 0.001 db (decibels), and all the components in the stop band are rejected. Thus, a stop band attenuation of 80 db may be used. Butterworth IIR (Infinite Impulse Response) filter coefficients and the order of filter may be calculated for the above specifications i.e., pass band, stop band frequencies and attenuations.
The output of the filter may be termed as the noise, which depicts the characteristics of the process for the plugged impulse line detection. A diagnosis mode is determined at 720. The modes include a monitoring mode indicated by decision branch 722 and a training mode decision branch 723. In the training mode, parameters of the distribution of the noise signal are estimated at 725. Typical parameters estimated are maximum and minimum values of the band pass filtered signal. These two parameters are used to make an estimate of the variance of the noise signal, under normal conditions. The process noise under normal and single line plugged condition vary with respect to the flow rate.
Generalized likelihood ratio (GLR) is employed to calculate the thresholds based on the user-defined confidence limit for false alarm and miss hit probabilities at 730. It can also be configured to provide an optimized solution i.e., for low miss hits and low false alarm. The Generalized likelihood ratio design is as explained below.
Let input time series (typically differential pressure transmitter readings) be x(n), random process as shown in
The Single Line Plugged detector is shown in
Assuming a distribution of the noise signal under various states of the impulse lines and under various flow conditions, a classifier between the various states of the impulse lines can be designed that works better than the Bayes classifier which gives a decision based on a single observation. This is possible because the impulse lines tend to remain in a particular state for considerable lengths of time. Observing the noise signal in a long window of time, the state of the impulse lines can be assessed with a high degree of confidence. The skeleton of the decision frame work involves finding a threshold TSLP and a frequency rSLP for detecting single line plugging (SLP) and TBLP and rBLP for detecting Both Lines Plugged condition. The absolute value of the noise signal is compared with the threshold TSLP in a window of length N. If the number of times the absolute value of the noise signal crosses the threshold TSLP is greater than rSLP, then the state of the impulse lines is said to be Single Line Plugged (SLP). Refer flow chart for the flow of decisions. If z(n)≧rSLP then single line is plugged (SLP). Otherwise it is inferred that either the state of the line could be normal (NRM) or both lines are plugged. Another detector for both lines plugged condition is used to decide between both lines plugged (BLP) or otherwise as shown in
The design is a one versus rest classifier with worst-case assumption. Typically the worst case arises when the variance under BLP is equal to the variance of NRM state in the design of the DSLP classifier, which detects single line plugging. In this situation, we need to design a discriminant between NRM and SLP. Since SLP condition is assumed to be a Gaussian distribution with variance higher than variance of NRM distribution, the SLP variance is much higher than the variance of BLP. If we design a classifier to distinguish between SLP and NRM then it will discriminate between SLP and BLP too. The design for DBLP is similar. If we discriminate between NRM and BLP, we achieve discrimination between BLP and SLP too. The probability distributions are shown in
Design of DSLP is based on the following as shown in
False Alarm Probability (FA)=p(z(n)≧rSLP|NRM)
Miss Hit Probability (MH)=p(z(n)<rSLP|SLP)
In one embodiment, TSLP and r are found that minimize both FA and MH This may be done by reducing FA and MH below a user specified threshold that is between 0 and 0.5.
Let
is the noise variance in NRM
assuming y(n) is an i.i.d. (independent and identically distributed) Gaussian process.
Let
is the noise variance in SLP.
σ1 is a function of σ0 and flow rate. This may be seen from the graphs in
with flow rate. This curve has been obtained through experimental studies by collecting appropriate data with different differential pressure transmitters and plugging each of the lines separately. If the curve with the lowest
ratio for various flow rates (Lower Bound in
for a particular flow rate then it leads to more false alarms. If the curve with the lowest
ratio for various flow rates (Upper Bound in
for a particular flow rate then it leads to more miss hits. Hence, the average curve is considered for prediction of variance of y(n) under single line plugged state. A piecewise linear curve is made for this curve. Based on this curve, reasonable values for FA and MH need to be provided by the user or must be found automatically. FA and MH cannot be very low when
is very close to 1. For
FA and MH have been set to 0.001 (this is also the lower bound on FA or MH). For
(corresponding flow rate=0.5) FA and MH have both been chosen to be 0.5. For values of
between 1.0063 and 2.0, FA and MH are found by linear interpolation of 0.5 and 0.001.
Next, TSLP and rSLP are found that minimize Equations (1) and (2). This may be achieved by running TSLP from σ0 to 3σ1 (the data should not cross this upper threshold in one embodiment), and finding the range of r that minimizes Equations (1) and (2) for each TSLP. The final TSLP is chosen from somewhere in the middle of the range in one embodiment. Alternatively TSLP can be chosen as the Bayes optimal threshold and r can be determined from (1) and (2). The Bayes optimal threshold to discriminate between two classes which both have normal distributions (f1(x) and f2(x) respectively) is the value of x at which any two Gaussian densities intersect.
Design of DBLP is shown in
Let w(n) be redefined as
Let
Similar definitions of FA and MH hold.
False Alarm Probability (FA)=p(z(n)≧rBLP|NRM)
Miss Hit Probability (MH)=p(z(n)<rBLP|SLP)
Let
is the noise variance in NRM and let
σ1 is the noise variance under BLP. The same equations (1) and (2) hold, under the new definitions of π0 and π1. Experimental results suggest that putting σ0=1.5σ1 is sufficient to detect a both lines plugged case.
It may be noted that GLR is nothing but the ratio of expressions on the LHS of equations (1) and (2).
In the monitoring mode the digital representation of the differential pressure signal of a window length “N” is received at 710. The received signal is again passed through the same band pass filter 715 as explained in the training mode. The filter order and all coefficients remain the same. The filtered noise signal is analyzed for the plugged impulse line detection in the monitoring mode branch 722.
From the noise signal data obtained from the window, the absolute value (AV) of the signal is calculated. The absolute value is checked how many times it has crossed the value TSLP at 735. P is a count used to represent that amount. If it has crossed more than rSLP times in the SLP calculations as indicated at 750, then an alarm is generated at 755 indicating single line has plugged.
Q is a count which gives how many times AV is falling less than TBLP at 735. If AV is falling less than TBLP at 740 for rBLP number of times in a window length of “N” for the filtered noise signal, then an alarm is generated at 745 indicating that both lines are plugged. The value of r is different for single line plugging detection and both lines plugged detection.
If neither condition is satisfied, then the monitoring mode operation may be repeated on a periodic basis as indicated at 760.
A differential pressure signal from a differential pressure transmitter is passed through a filter, which removes mean variations of the signal and retains only certain frequency components of the signals. Other means of obtaining such components may be used. Such components include a signature of process flow conditions in a middle frequency band. In a training mode, different thresholds are set for different flow conditions based on a detection confidence limit and flow rate. The number of times the absolute value of the signal crosses different thresholds in a window is noted in a monitoring mode. This is compared with trained values. If this is higher than the trained value, then one of the lines of the differential pressure transmitter is plugged. If the number of times the absolute value of signal falls below another threshold is higher than a frequency calculated in training mode, then both of the impulse lines are plugged.
In one embodiment, the above algorithm may be implemented in the differential pressure transmitter, working on data collected. The algorithm continuously monitors the health of the impulse lines, and generates an alarm when one of the lines or both of the lines are plugged.
The Abstract is provided to comply with 37 C.F.R. §1.72(b) to allow the reader to quickly ascertain the nature and gist of the technical disclosure. The Abstract is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims.
Number | Date | Country | Kind |
---|---|---|---|
158/KOL/2005 | Mar 2005 | IN | national |
Number | Name | Date | Kind |
---|---|---|---|
5680109 | Lowe et al. | Oct 1997 | A |
6654697 | Eryurek et al. | Nov 2003 | B1 |
6813588 | Daugert et al. | Nov 2004 | B1 |
6904386 | Mylaraswamy | Jun 2005 | B2 |
6907383 | Eryurek et al. | Jun 2005 | B2 |
7254518 | Eryurek et al. | Aug 2007 | B2 |
7260496 | Hashizume et al. | Aug 2007 | B2 |
20020029130 | Eryurek et al. | Mar 2002 | A1 |
20040249583 | Eryurek et al. | Dec 2004 | A1 |
20050097963 | Wilda | May 2005 | A1 |
20060036404 | Wiklund et al. | Feb 2006 | A1 |
20060277000 | Wehrs | Dec 2006 | A1 |
20070225924 | Hashizume et al. | Sep 2007 | A1 |
20080033693 | Andenna et al. | Feb 2008 | A1 |
20080103629 | Milanovic et al. | May 2008 | A1 |
Number | Date | Country | |
---|---|---|---|
20060206288 A1 | Sep 2006 | US |