Title of Invention

DIAGNOSTIC DEVICE FOR USE IN PROCESS CONTROL SYSTEM

Abstract The diagnostic device (10) comprises a receiving means (100) for receiving process variable values (x(t)) of a process variable of a process medium of a process, a measurement processing means (300) for extracting and recording measurement statistics data from such process variable values, which are measured during a measuring phase (300), a training processing means for extracting and recording training statistics data from such process variable values, which are measured during a training phase, and a comparison means (400) for comparing the measurement statistics data with training statistics data recorded before the measurement statistics data. Preferably, the training statistics data include a training empirical statistical distribution, which can be a distribution of a function of process variable values, which are measured during a training phase, or a distribution of a function of coefficients Xt(k), which are coefficients of a function of a transform of process variable values (x(t)), which are measured during a training phase. (Fig- 5)
Full Text

DIA GNOSTIC DEVICE FOR USE IN PROCESS CONTROL SYS TEM
DESCRIPTION
Technical Field
The invention relates to the field of diagnostics of process devices, such as they are used in industrial or scientific processes, and in particular to the field of process device diagnostics using a sensed process variable of the process. It relates to methods and apparatuses according to the opening clause of the claims.
State of the Art
A
Such a diagnostic device and diagnostic method is known from the patent publication US 6 601 005. The device senses process variable values like, e.g., pressure or flow values, and processes them so as to extract from them vibration noise signals carried in a process medium (e.g., liquid, gas) of the process. Such a vibration-related processed signal is then evaluated, with the evaluation ending in an output indicating that some control device (e.g., a pump or valve) of the process has a failure.

In the method disclosed in the afore-mentioned US 6 601 005 it is suggested to use wavelet or Fourier transform or a neural network or statistical analysis, or other signal evaluation techniques for obtaining the processed signal. As far as the evaluation of the processed signal is concerned, it is suggested to compare the processed signal or signals to a choosable limit value or a set of limit values. For example, if a wavelet transform has been used for obtaining the processed signal, it will be checked for each calculated wavelet coefficient, if it has exceeded a corresponding limit value. If at least one wavelet coefficient has exceeded its corresponding limit value, a failure (of some control device or devices, to which the wavelet coefficient relates) will be indicated.
Furthermore, it is disclosed in the afore-mentioned US 6 601 005 to remove known process variations, which can be due to certain process activities, from the process variable values. This is done by subtracting modeled data from data (process variable values) gathered during operation. It is expected that after the subtraction only abnormalities remain and are evaluated. If, e.g., the known process variations are due to environmental temperature changes, which occur during the day and which influence the process variable values, a number of data sets can be taken at different times during the day when the process works failure-free. These base „plane" normal operation data sets are employed as modeled data sets, from which, e.g., a neural network can choose the appropriate one, which then is substracted from data gathered during operation so as to let only abnormal signals remain. The models and the data gathered during operation are both wavelet transformed data, so that corresponding wavelet coefficients are subtracted from each other in order to remove the known process variations and yield values to be compared to prescribable limit values.

The choice of the limit values to which a processed signal is compared, Is very important for the reliability of the output of the diagnostic device ("failure" / "no failure"). It is desirable to provide for reliable grounds for the diagnostic output of the diagnostic device.
Summary of the invention
Therefore, a goal of the invention is to create a diagnostic device and a diagnostic method that provide for reliable grounds for a diagnostic output of the diagnostic device. It is furtherrnore a goal of the invention to create further devices and systems that incorporate this diagnostic device or diagnostic method.
The problem is solved by apparatusses and she methods with the characteristics of the claims,
According to the invention, the diagnostic device comprises
- a receiving means for receiving process variable values of a process variable of a process medium of a process,
- a measurement processing means for extracting and recording measurement statistics data from such process variable values, which are measured during a measuring phase,
- a training processing means for extracting and recording training' statistics data from such process variable values, which are measured during a training phase, and
- a comparison means for comparing the measurement statistics data with training statistics data recorded before the measurement statistics data.

Through this, it is possible to provide for reliable grounds for the diagnostic output of the diagnostic device. In particular, it is possible to provide for a prescribable reliability of the diagnostic output of the dignostic device and/or it is possible to provide for a confidence level of the output (indication of certainty of the output "failure" / "no failure").
The diagnostic device can be any device or combination of devices, which is capable of receiving process variable values and processing them in a depicted way. It can be a transmitter, a process monitoring device or process monitoring system, a controller or process control system, a personal computer or the like. The diagnostic device is preferably suitable for use in a process control system. It can be implemented in a control system. The diagnostic device can be integrated in a transmitter, in a process monitoring device, in a controller or the like. The diagnostic device can, e.g., be realized in a flowmeter, a pressure transmitter or differential pressure transmitter.
In a preferred embodiment the diagnostic device comprises a sensing means for measurement of the process variable and for generating the process variable values. The generated process variable values can then be output to the receiving means. Due to the sensing means the diagnostic device can simultaneously have the function of a transmitter and/or process monitor. The diagnostic device can be used as a stand-alone process device.
The receiving means receives process variable values and can, e.g., be an interface or port, realized in hardware and/or software. Possible process variables include flow, pressure, differential pressure, level, temperature or the like. Process variable values are values of a process variable or values of a measure related to the process variable, e.g., there can be a some

functional (e.g., linear) relation between the process variable values and the respective values of the process variable in a given unit.
The process medium typically is a fluid. In particular. It can be a gas or a liquid or a mixture of those or a mixture of those plus solid components, e.g., an emulsion.
The measurement processing means is a means (realized in hardware and/or software) for processing process variable values measured (captured) during a measuring phase, in such a way that measurement statistics data are generated from the process variable values. The processing can Include various types of calculations, e.g., arithmetics and transforms like Fourier or wavelet transform. The measurement statistics data are recorded (stored) for further output or processing.
With "measuring phase" a span of time and/or a mode of the diagnostic device is denoted, in which the diagnostic device does its "normal" function, i.e., diagnose. This is the normal operating status of the diagnostic device, in which the diagnostic device Is usually used. During the measuring phase, the diagnostic device can diagnose the process and, in particular, detect a failure in the process, e.g., a failure of a process device or even a failure of a transmitter or other process device in which the diagnostic device is integrated.
With "training phase" a span of time and/or a mode of the diagnostic device is denoted, in which the diagnostic device receives process variable values, which are expected to be representative of a normal (typically failure-free) operation of the process. This is to receive statistical information about the process, which later on can be compared to statistical information about the process captured during a measuring phase.

Measurement statistics data are statistical information derived from process variable values that are captured or measured during a measuring phase. The measurement statistics data can be an item or a group of items selected from a group comprising mean value (e.g., arithmetic mean), root mean square, standard deviation, variance, statistical distribution. It can also be a value or set of values derived from one or more members of that group. The statistical distribution can be an empirical distribution, or it can be an analytical (theoretical) distribution, typically a fitted distribution. A fitted distribution or fitted curve preferably means a best fit with respect to some criterion, e.g., a least square fit.
Training statistics data are statistical information derived from process variable values that are captured or measured during a training phase. The training statistics data can be an item or a group of items selected from a group comprising mean value (e.g., arithmetic mean), root mean square, standard deviation, variance, statistical distribution. It can also be a value or set of values (e.g., limit values) derived from one or more members of that group. The statistical distribution can be an empirical distribution or a fitted (theoretical) distribution.
The training processing means is a means (realized in hardware and/or software) for processing process variable values measured (captured) during a training phase, in such a way that training statistics data are generated from the process variable values. The processing can include various types of calculations, e.g., arithmetics or transforms like Fourier or wavelet transform. The training statistics data are recorded (stored) for further output or processing.

The comparison means (realized in hardware and/or software) compares measurement statistics data with training statistics data. From an output of the comparison means it can be deduced that some failure is likely to have occurred in the process. Due to the comparison of statistics data, a sound and reliable basis for a diagnostic output, since a considerable number of process variable values has been evaluated for generating the statistics data. Furthermore, due to the comparison of statistics data, it is possible to estimate or to prescribe the likelihood of the correctness of a diagnostic output. I.e., an output failure (or no-failure) indication can be provided with an indication of a confidence level associated with the failure (or no-failure) indication, or an output failure (or no-failure) indication is given only if the indication has at least a prescribable confidence level (indication of degree of certainty). According, a diagnostic output output from a diagnostic device has a considerable added value if based on the comparison of the measurement statistics data with the training statistics data as realized in the comparison means.
The above-mentioned "means" (receiving means, measurement processing means, training processing means, comparison means, sensing means) could also be referred to as "units". These means, in particular the receiving means, measurement processing means, training processing means and comparison means, can be partially or fully identical, in particular if they are realized in form of software and/or hardware.
In a preferred embodiment the comparison means has a condition output related to a condition of the process, wherein the condition of the process is different from a measure for the process variable. A diagnostic output of the diagnostic device, accordingly, is preferably not a magnitude that would indicate values of the process variable. If, e.g., the process variable is the flow velocity of the process medium, the condition of the process can, e.g..

be a condition of a pump, for example indicated by its pumping speed, or a condition of another process device, in particular process control device.
In particular, if the diagnostic device comprises a sensing means, the condition output can be related to the condition of the sensing means. Accordingly, in that case the condition output is related to the condition of the diagnostic device, so that the diagnostic device provides for a self-diagnostic feature.
In another preferred embodiment the measurement statistics data and the training statistics data relate to noise carried in the process medium. Such noise can, e.g., be vibration noise. The noise can stem from a process device.

The training processing means calculates a training empirical statistical distribution. The training empirical statistical distribution is a distribution related to process variable values measured during a training phase. In one embodiment, it can be a distribution of process variable values or, more general, of a function of process variable values, e.g. the square of the process variable values or the sum of the squares of the process variable values. In another embodiment, it can be a distribution of value's derived from a transform of process variable values.
In the latter embodiment, preferably the measurement processing means particulates a transform of process variable values, which are measured during 1 measuring phase, into coefficients Xm(k) of a set of orthogonal functions, md the training processing means calculates a transform (of the same type) of process variable values, which are measured during a training phase, into coefficients Xc(k) of the same set of orthogonal functions, and the training empirical statistical distribution is a distribution of a function of the

coefficients Xt(k). The training empirical statistical distribution can, e.g., be a distribution of the coefficients Xt(k) or of the coefficients Xt(k) squared; other, preferably arithmetic functions are also possible. Preferably, the orthogonal functions are orthonormal functions.
The transform can preferably be one of the group of Fourier transform and wavelet transform.
According to she invention, the training processing means calculates a training analytical distribution function approximating the training empirical statistical distribution. I.e., a prescribable function with one, two or more parameters is fitted to the training empirical statistical distribution. In this way, a maximum of information of high precision Is gathered from the measured data, and the influence of statistical deviations during the training phase are reduced.
It has been found that the Gamma distribution function provides for a particularly accurate fit to typical training empirical statistical distributions, at least as far as training empirical statistical distributions of values ferived from Fourier coefficients are concerned.
In a preferred embodiment the measurement statistics data comprise a mean value Mp of a function of process variable values, which are measured during a measuring phase. E.g., the-mean value Mp can be taken of the process ' variable values themselves or of the square of the process variable values. The training processing means calculates, as training statistics data or as part thereof, a lower limit value Lt,p and an upper limit value Ut.p from the training analytical distribution function. And, preferably, the comparison means outputs a failure indication in case that the mean value Mp is smaller than the lower limit value Lt,p or greater than the upper limit value Ut.p. This

embodiment has the advantage that the lower limit value L,tp and the Upper limit value Lt,t.p can be chosen such that a prescribable (minimum) confidence level of the diagnostic output Is achieved, since these limit values are derived from a statistical distribution. Moreover, the precision, with which the limit values, that correspond to a desired (minimum) confidence level, can be determined, Is very high, because the limit values are derived from the (fitted) training analytical distribution function. Another advantage of this embodiment is that the processing effort needed for deriving the diagnostic output is relatively low with respect to the quality, in particular the reliability and soundness, of the diagnostic output.
Another preferred embodiment works similarly, but with transformed process variable values, and has corresponding advantages: In that embodiment the measurement statistics data comprise a mean value Mc of a function of the coefficients Xm(k), and the training processing means calculates, as training statistics data or as part thereof, a lower limit value Lt,c and an upper limit value Ut.c from the training analytical distribution function, and, preferably, the comparison means outputs a failure Indication in case that the mean value Mc is smaller than the lower limit value L,t.c or greater than the upper limit value Ut.c. The mean value Mc can, e.g., refer to the coefficients Xm(k) directly or to the coefficients Xm(k) squared or another,' preferably arithmetic function of the coefficients Xm(k).
Instead ofthe mean value, or in addition to it; it is possible" to-use the variance or the standard deviation In the before-mentioned preferred embodiments.
According to the invention the measurement statistics data comprise a measurement empirical statistical distribution, which is a distribution of a function of of such process variable values which are

measured during a measuring phase, and the training-statistics data comprise the training analytical distribution function. The comparison means compares the measurement empirical statistical distribution with the training analytical distribution function. The comparison means can output a failure indication dependending on the result of a comparison of the measurement empirical statistical distribution with the training analytical distribution function. Preferably, the comparison means outputs a failure indication In case that the confidence level derived from of a statistical test of the consistency of the measurement empirical statistical distribution with the training analytical distribution function Is below a prescribable threshold value. In this embodiment a distribution of currently measured values is calculated and compared, preferably in a statistical test, to an analytical distribution that has been fit to a distribution measured during the training phase. A desired confidence level of the diagnostic output can be chosen through the threshold value.
It is possible, In such an embodiment to compare the measurement empirical statistical distribution with the training empirical statistical distribution instead of with the training analytical distribution function.
Similar to this embodiment, another respect of the invention has corresponding advantages, but deals with statistical distributions derived from transformed process variable values: In that embodiment the measurement statistics data-comprise admeasurement empirical statistical distribution, which is a distribution of a function of the coefficients XmCk) (e.g. a distribution of the coefficients Xm(k) themselves or of the square of the coefficients Xm(k) or...), and the training statistics data comprise the training analytical distribution function. The comparison means can output a failure indication depending on the result of a comparison of the measurement empirical statistical distribution with the training analytical

distribution function. Preferably, the comparison means outputs a failure indication in case that the confidence level derived from of a statistical test of the consistency of the measurement empirical statistical distribution with the training analytical distribution function is below a prescribable threshold value. In this embodiment a distribution of coefficients derived from currently measured values is calculated and compared, preferably in a statistical test, to an analytical distribution that has been fit to a distribution derived during the training phase. A desired confidence level of the diagnostic output can be chosen through the threshold value.
It is possible, in such an embodiment to compare the measurement empirical statistical distribution with the training empirical statistical distribution instead of with the training analytical distribution function.
Statistical tests that have been found particularly useful for comparison of distributions In these embodiments are fitting tests, in particular, the Chi^-test and the Kolmogorov-Smirnov-test.
Another embodiment comprises not only diagnostic devices of the above-mentioned
kind, but as well transmitters, process control devices, process monitoring
devices, and process control systems that comprise such a diagnostic devices
The advantages of these correspond to the advantages of the diagnostic
"■
devices. The invention also comprises as closed
in claims 21 and 24 in particular- obtaining process variable values, which are derived from measuring a
process variable of a process medium of a process,
- extracting and recording measurement statistics data from such process
variable values, which are measured during a measuring phase,

- extracting and recording training statistics data from such process variable values, which are measured during a training phase, and
- comparing the measurement statistics data with training statistics data recorded before the measurement statistics data.
The diagnostic method preferably is a method performed in a process control environment.
Further diagnostic methods according to the Invention can be derived from the diagnostic devices according to the invention. The advantages of the methods correspond to the advantages of the diagnostic devices.
-The InventionKomprises furthermore transmitters, process control devices, process monitoring devices, and process control systems, which implement a diagnostic device according to the invention.
Further preferred embodiments and advantages emerge from the dependent claims and the figures.
Brief Description of the Drawings
Below, the invention is illustrated in more detail by means of preferred embodiments, which are shown i-n the in-eluded drawings; The figures show:
Fig. 1 a schematic illustration of a process control environment
including a diagnostic device;
Fig. 2 schematically a diagnostic device with a sensing means,
embodying a differential pressure transmitter;
Fig. 3 a block diagram of a basic algorithm of a diagnostic device;

Fig. 4 a block diagram including a training phase of a diagnostic
device;
Fig. 5 a block diagram including a measuring phase of a diagnostic
device;
Fig. 6 a block diagram of steps performed in a training processing
means;
Fig. 7 a block diagram of steps performed in a measuring processing
means and a comparison means;
Fig, 8 a block diagram of steps performed in a measuring processing
means;
Fig. 9 a block diagram of steps performed in a training processing
means, including a Fourier transform; Fig. 10 a block diagram of steps performed in a measuring processing
means, including a Fourier transform;
Fig. 11 a block diagram of steps performed In a measuring processing
means, including a Fourier transform, using a plurality of
frequency bands;
Fig. 1 2 an illustration of data taking for creating moving "average"
values during a measuring phase, including a Fourier transform
The reference symbols used in the figures and their meaning are summarized in the list of reference symbols. Generally, alike or alike-functioning parts are given the same reference symbols. The described embodiments are meant as examples and shall not confine the invention.
Ways to implement the invention
Fig. 1 schematically illustrates a typical process control environment 1 with a diagnostic device 10. The diagnostic device 10 is comprised in a differential

pressure transmitter 20, which has two impulse lines 21, through which it is coupled to a process medium 2 of the process control environment 1. The differential pressure transmitter 20 can also be understood as a process monitoring device 20, which monitors a differential pressure in the process medium 2. The process medium 2 can be, e.g., a liquid like water or oil, which is contained in a tube 3. Process control devices like a pump 50 (including a pump control 51) and a valve 60 (including a valve control 61) are provided in the process control environment 1. The process control devices 10,20,50,60 are connected to a typically computer-based process control system 5. The process control system 5 can also be understood as a process control device 5, which (through the connection with the diagnostic device 10) incorporates (comprises) the diagnostic device 10.
Through the flow of the process medium 2 (indicated by arrows) and, in addition, through the process control devices 50,60, noise is generated in the process medium 2. Such noise can be sensed by means of the diagnostic device 10 in the differential pressure sensor 20, A change in the process conditions, e.g., a malfunction or failure of a process device 20,50,60, may be reflected in the sensed differential pressure signal.
Fig. 2 schematically shows the differential pressure transmitter, which is an example of a diagnostic device 10 with a sensing means 25. The sensing means 25 comprises the two impluse lines 21, which are filled with process medium 2, and a sensing system (sensing element) 26. One process membrane 22 and one pressure transmission arm 23 are provided for each impulse line 21. The pressure transmission arms 23 (oil circuits 23) are filled with oil 24 as a sensing medium 24. The process membranes 22 are an interface between the impulse lines 21 (containing process medium 2) and the oil circuits 23 (containing sensing medium 24). Through the pressure

transmission arm 23 the pressures from the process (in the impulse lines 21) is transferred to the sensing system 26.
Among others, the sensing system 26 may be based on one or more of the following principles, which allow to derive an electrically measureable signal from the differential pressure:
- Induction (the differential pressure modulates the inductance of a magnetic circuit)
- Piezoresistivity (the differential pressure modulates an output voltage of a piezoresistive element)
- Capacitance (the differential pressure modulates the capacity of an electric circuit)
The signal derived that way is then digitized in a analogue-to-digital converter 27. A microprocessor 15 of the diagnostic device 10 can then derive diagnostic information from the digitized differential pressure signal.
On the one hand, the diagnostic device 10 can diagnose the condition and failures of various process devices, like 50 and 60. On the other hand (additionally or alternatively), the diagnostic device 10 can also diagnose the condition and failures of the sensing means 25. In particular, the following failures may occur and can be detected by the diagnostic device 10:
- 1. At least one of the oil circuits 23 has a leak.
- 2. The interface between the two oil circuits23 (usually another membrane) is damaged, so that the sensing medium24 can flow between the two circuits 23.
- 3. At least one of the process membranes 22 are broken, so that the process medium 2 can flow into at least one of the pressure transmission arm.
- 4. At least one of the impulse lines 21 are partially or completely plugged.

Frequent reasons for a plugged impulse line (failure 4.) are:
- Solid material is present in the process medium 2 and blocks the impulse line 21.
- Some sedimentary process takes place in the impluse line 21 and progressively plugs the impulse line (e.g., limestone).
- The process medium in the impulse line 21 solidifies, typically because of low temperatures. (This can happen even if the process medium 2 in the rest of the process does not solidify, because the process medium 2 in the impulse lines 21 is mainly still, whereas the process medium 2 In the process is usually flowing and therefore not still.)
It is of considerable to have diagnostic information on the condition of the sensing means 25 (and the diagnostic device 10 or transmitter 20) itself. In particular, if the diagnostic information can distinguish between (some of) the above-mentioned failure modes.
During normal operating, when no device defect (failure) is present, it is advantageous for a diagnostic device, which uses at least two impulse lines (e.g., for a device using a pressure or differential pressure signal derived from these at least two impulse lines), to measures the pressure at two points, which are arranged close to each other. I.e., it is advantageous, when the locations at which the at least two impulse lines are coupled to the rest of the process medium, are in close proximity. The advantage is, that measured absolute values are small, fluctuations in the process fluid are mostly cancelled.
When then a failure like type 1., 3. or 4. (see above) is present, with only one impulse line (or not all impulse lines) being concerned, the pressure at one side cannot be sensed properly. The consequent asymmetry in the

measuring system implies that the pressure fluctuations are not cancelled anymore and are therefore present in the differential pressure signal. This implies that an overall increased signal occurs, in particular with higher frequency components being present, and therefore, the device defect can be diagnosed. If, on the other hand, a failure of type 2, or of type 1., 3. or 4. with both impulse lines being concerned, occurs, the measured signal intensity is strongly decreased, thus allowing to detect such a failure.
Through a further analysis of the process variable data and/or the measurement statistics data more detailed information can be derived, which can allows to more clearly specify the type of occuring failure.
A preferred basic algorithm for the functioning of a diagnostic device 10 according to the invention is sketched in the block diagram in Fig. 3. First, the diagnostic device installed, i.e., mainly the diagnostic device is coupled to the process. Then follows a training phase 200, in which training statistics data are generated. If then the nominal conditions in the process are unchanged, a measuring phase 300 is entered, if, at any time, the nominal conditions in the process are changed, e.g., through installation of a new process device, another training phase 200 is to be absolved before entering measurement mode 300 again.
Fig. 4 shows a block diagram including a training phase 200 of a diagnostic device. In a receiving means 100 process variable values x(t), like differential pressure values, are received, e.g., referring to Fig. 2, from the A/D-converter 27. In a training processing means 200, training statistics data are extracted from the process variable values x(t) and recorded. Referring to Fig, 2, the training processing means 200 (like other involved means) may be realized through the microprocessor 1 5.

Fig. 5 shows a block diagram including a measuring phase 300 of a diagnostic device. In a (or the) receiving means 100 process variable values x(t) are received, e.g., referring ro Fig. 2, from the A/D-converter 27. In a measurement processing means 300, measurement statistics data are extracted from the process variable values x(t) and recorded. Referring to Fig. 2, the measurement processing means 300 may be realized through the microprocessor 1 5. In a comparison means 400, which also may be realized through the microprocessor 15, the measurement statistics data are compared to the training statistics data. The comparison results in a diagnostic output 500, e.g., indicating a (general) failure of the process or a specific failure.
In the block diagram of Fig. 6, steps performed in an exemplary training processing means 200 are schematically depicted. During a duration 5t process variable values x(t) are recorded(step 210). From those process variable values, in step 250, a training empirical statistical distribution is calculated. In step 270, a training analytical distribution function is fitted to the training empirical statistical distribution. This optional fitting of a training analytical distribution function allows to receive very precise data in a minimized time &t.
As shown in step 290, from the training analytical distribution function limit values Lt.p, Ut.p may be derived with high precision. The choice of a prescribable level K allows to choose these limit values U.p, Ut,p such that both, the probability of the existence of a value belpw Up and the probability of the existence of a value above Ut.p, each have a defined value. If the limit values Lt.p, Ut,p shall be chosen such that the probability of the existence of a value below L,t,p is equal to the probability of the existence of a value above Ut,p, usually one prescribable level K will be chosen for finding the lower limit

value Lt,p, and another (different) prescribable level K will be chosen for finding the upper limit value Ut.p (not shown in Fig. 6).
Such limit values Lt,p, Ut,p can also be derived from the training empirical statistical distribution itself (directly, without fitting). But the precision is less good and/or the time 6t required to record the process variable values x(t) must be chosen longer.
If only the training analytical distribution function or even only the training empirical statistical distribution is used as training statistical data during further steps In a measuring phase, step 290 or even also step 270 can be omitted.
The block diagram of Fig. 7 shows steps that can be performed in a measuring processing means 300 and a comparison means 400. In this embodiment, which can be used in conjunction with the training phase depicted in Fig. 6, firstly, process variable values x(t) are recorded during a time window 6t (step 310). The duration 5t in the training phase (compare Fig. 6, step 210) is typically of the order of 10 times to 50 times longer than the duration 6t during a measuring phase. In step 390, the mean value Mp of the recorded process variable values is calculated. In the comparison means, step 420, measuring statistics data are compared to training statistic data: The mean value Mp is compared to the two limit values L,t,p, Ut.p derived from the training phase (Fig. 6, step 290). If Mp lies within the range given by L,t,.p, Ut.p, the condition of the process is expected to be in good order. Otherwise, the diagnostic output will be set to "failure".
It is, advantageously, possible to calculate a moving average in step 390. This means that after the calculation of one mean value Mp, the next mean value Mp is calculated from process variable values measured In a time

interval 6t, which overlaps with the time interval 5t, in which the process variable values were measured that lead to the former mean value Mp. Typically, a large overlap is chosen, in particular such that only the first x(t) value is discarded and a newly measured x(t) value is added, when a next mean value Mp is calculated. Working with a moving average has the advantage that more data and more diagnostic outputs are generated per time, and the data are smoothed, i.e., the effect that singular spikes have is reduced. Alternatively, there is no overlap between the time intervals 6t, in which the process variable values are measured that lead to consecutive mean values Mp.
In the block diagram of Fig. 8 another possible set of steps that can be performed in a measuring processing means 300 and a comparison means 400 is depicted. In this case a distribution of process variable values x(t) as measurement statistics data is compared to a training statistical distribution function derived in the training (Fig. 6, step 270) as training statistics data. In this embodiment, which can be used in conjunction with the training phase depicted in Fig. 6 (wherein step 290 can be left out), firstly, process variable values x(t) are recorded during a time window 8t (step 310). From the x(t) values a measurement statistical distribution is calculated (step 350). In the comparison means the measurement empirical statistical distribution (as measurement statistical data) is compared to the training statistical distribution function (step 450). This comparison is done in a statistical test, e.g., in a Chi2 test. As result of the statistical test a confidence level is derived, which indicates the probability of an agreement between the compared distributions. In case of the Chi2 test, some function scaling inversely with Chi2, like, e.g., 1 /Chi2, is a possible value indicative of the confidence level. In step 480 the derived confidence level (indicated as 1 /Chi2) is compared to a prescribable threshold value K'. If the confidence level is below the threshold value K', the diagnostic output will be set to

"failure". Otherwise the condition of the process is expected to be in good order.
In this embodiment of Fig. 8, it is also possible to use the training empirical statistical distribution derived in step 250 (Fig. 6) as training statistical data. In that case, the measurement empirical statistical distribution and the training empirical statistical distribution would be subject to a statistical test in step 450.
In analogy to the use of a moving average in conjunction with Fig. 7, it is possible in the embodiment of Fig. 8 to derive consecutive measurement empirical statistical distributions from process variable values measured in overlapping time intervals 5t.
In conjunction with the Figs. 6-8 the mean values and distributions have been described to be such of the process variable values x(t) directly. It can nevertheless be advantageous to calculate the mean values and distributions from a function f(x(t)) of the process variable values. This function f(x) may be f(x) = x2 or subtraction of a constant or another, preferably arithmetic function. Of course, the same function has to be applied during a measuring phase as during a training phase.
The Figs. 9-12 involve a transform of process variable values or a function of those. A Fourier transform, in particular, an FFT (fast Fourier transform), has been chosen in the Figures, but other transforms, like wavelet transforms are possible as well.
Fig. 9 shows a block diagram of steps that can be performed in a training processing means involving an FFT. In step 210, process variable values x(t) are taken during a time interval 5t. In step 220 an FFT is calculated from the

x(t) values, yielding a spectrum of coefficients Xt(k) (the index t shall indicate that these coefficients are derived from values taken during a training phase). Step 230 is optional, but very advantageous. In step 230 an interval of the transformed variable (an interval 8k of frequencies k in case of a Fourier transform) is selected. This selection allows to confine further analysis to only those frequencies k, which are of particular interest. In case of many process variables, e.g., in case of differential pressures (compare Figs. 1-2), the process variable values are rather constant, with only small fluctuations. Accordingly, an FFT of such a signal typically has large value at very low frequencies (at and near 0 Hz), which are not of interest and can be left out by choosing the interval 5k accordingly.
An advantageous possible way to automatically find a suitable interval 6k is, after leaving out very low frequencies, to calculate a prescribable fraction (e.g., 10 %) of the largest coefficient Xt(k) and find the lowest frequency k1 and the largest frequency ku, which have a coefficient (Xt(kL); Xt(ku)) at least as large as that fraction. The desired interval 5k ranges then from k1 to ku-
In step 251 a training empirical statistical distribution is calculated from the spectrum Xt(k). One possibility is to sum up all Xt(k) values or their absolute values, possibly only within the interval 6k of interest, to derive a signal power Sp, of which the training empirical statistical distribution is calculated. Accordingly, one spectrum Xt(k) results in one Sp value. It is also possible to do further or other calculations with the coefficients Xt(k) of interest in order to derive a signal power value Sp. The following formulae (in particular equations (2) and (3)) indicate possible calculations:


As as described before, x(t) is a process variable value taken at time t, k is a frequency, X(k) denotes a coefficient of the spectum, and Sp is a signal power value. Furthermore, e denotes the base of the natural logarithm,] denotes the square root of -1, and N is the number of measured process variable values within the interval 6t. P(k) is an intermediate value for calculating the signal power. Sp(ki,k2) is the signal power value derived from a frequency range from ki to kz- ki and k? correspond to the lower and upper limit frequencies ki and ku discussed above. Equation (1) is the formula for a discrete Fourier transform.
More general, a number (>2) of intervals 6k can be chosen which each comprise frequencies of Interest, so that the signal power Sp is derived from those frequencies that are in located in one of those intervals.
In the optional step 271, a training analytical distribution function is fitted to the so-derived training empirical statistical distribution of step 251 - This is in analogy to step 270 (Fig. 6). In the optional step 291, lower and upper

imit values L,t,c, L,t,c may be derived with high precision from the training analytical distribution function, in analogy to step 290 (Fig. 6). Optionally, the limit values L,t.c, L,t,c may be derived directly from the training empirical statistical distribution (220 or 230), without fitting. As training staticstics data can, accordingly, serve one or more of the group of training empirical statistical distribution, training analytical distribution function and limit values Lt,c, L,t,c. The mean value of the training empirical statistical distribution or of the training analytical distribution function and/or the variance (or standard deviation) of those may also contribute to the training staticstics data, which are, in a measurement phase, compared to measurement staticstics data.
The block diagram of Fig. 10 shows steps that can be performed in a measuring processing means 300 and a comparison means 400. In this embodiment, which can be used in conjunction with the training phase depicted in Fig. 9, firstly, process variable values x(t) are recorded during a time window 5t (step 310). This time window 5t is as large as the time window used during the training phase (Fig. 9, step 210). Then, in step 320 a Fourier transform is calculated from the x(t) values, yielding a spectrum of coefficients Xm(k) (the index m shall indicate that these coefficients are derived from values taken during a measuing phase). Then, in step 330 the spectum Xm(k) is reduced to the interval 5k (or intervals), known from the training (Fig. 9, step 230), if done so in the training phase.
In step 391 signal power values are calculated in the way they were calculated during the training (Fig. 9, step 251), and from the Sp values, a mean value Mc is calculated (approximately analogue to step 390 in Fig. 7). In the comparison means 400, the mean value Mc can the, in step 421, be compared to the limit values derived during the training (Fig. 9, step 291). If Mc lies within the range given by Lt,c, L,t.c, the condition of the process is

expected to be in good order. Otherwise, the diagnostic output will be set to "failure".
More advanced comparison means 400 can receive from the measurement processing means 300 a measurement empirical statistical distribution (from step 320 or better from step 330) and compare this to the training analytical distribution function (derived in step 271, Fig. 9) or to the training empirical statistical distribution itself (derived in step 220 or better 230 in Fig. 9) (in analogy to Fig. 8, step 450). Preferably, this comparison is a statistical test, like the Chl2 test. According to the result of the comparison, a failure will be diagnosed or not (in analogy to Fig. 8, step 480).
Certainly, it is also possible to fit an analytical distribution function to a distribution derived from data derived during a measurement phase and compare this analytical function with a training analytical distribution function (or even the training empirical statistical distribution). This holds for training and measuring phases involving a transform as well as for such not involving a transform.
In an advanced and preferred comparison means 400 (not illustrated), preferably firstly, a mean value is compared to each limit value found during the training and (then) a measurement-derived distribution is compared to a training-derived distribution (or distribution function). If any of these comparisons indicate a failure condition in the process, the diagnostic output is set to "failure". This comparison means can be employed in case of distributions (or distribution functions) derived with or without a transform.
Fig. 11 shows a block diagram of steps that can be performed in an advanced measuring processing means, including a (Fourier) transform. After steps 310 and 320 (compare Fig. 10), a plurality (here: three) of

frequency bands δk1, δk2, δk3 is chosen in step 330, which bands are then analyzed separately. Certainly, a corresponding training phase must have made the same frequency band separation. For each frequency band 6ki, 5k2, 6k3 a separate processing takes place. From one or more of the bands a mean value can be calculated and then compared to limit values derived from the training phase. It is also possible to derive a measurement empirical statistical distribution of spectral power values from one or more of the frequency bands, as is shown in Fig. 11, step 351 for all three bands. Each of these measurement empirical statistical distributions can, e.g., be compared to a corresponding training-derived distribution (or fitted distribution function). A "failure" output can be made, if any of the comparisons of the bands is negative, or if a prescribable number of them is negative.
The division into singly analyzed bands can even be extended to such depth that the full spectrum (each transform-derived coefficient) is separately analyzed, or that certain single frequencies are separately analyzed.
Fig. 12 is an illustration of data taking for creating moving "average" values during a measuring phase, including a Fourier transform. Similar to the comments given above in conjunction with Fig. 7 (and 8), it is advantageous to use moving values (the term "average" does not always apply here correctly) also in conjunction with transformed data. As shown in Fig. 12, from data taken within a time interval 6t one set of process variable values and, accordingly, one spectrum Xm(k) is derived, which results in one signal power value Sp (or in a number of separately analyzed Sp values) From a number n (typically 50 to 200) of such spectra or signal power values Sp, one measurement empirical statistical distribution is derived. Accordingly, for one measurement empirical statistical distribution, data have to be acquired during a time interval of a length of 5T = nx5t. In order to have

"moving values", the next interval 5T' will overlap with the former interval (5T), perferably with a shift of 1 x5t. In analogy, this is also done when deriving mean values instead of measurement empirical statistical distributions.
In the cases discussed above, in which a mean value is calculated, it Is alternatively or additionally possible to calculate a variance or another statistical magnitude and continue with this in the comparison means.
An advantage of the comparison of measurement statistics data with training statistics data is, that a prescribable level of confidence for the diagnostic output can be chosen and/or a level (K, K', 1/Chi2, .,,) relating to the confidence level can be part of the diagnostic output and thus indicate a to a user how trustful the failure or no failure indication is.

List of Reference Symbols
1 process control environment
2 process medium, process fluid
3 tube
5 process control system
10 diagnostic device
15 microprocessor
20 differential pressure transmitter
21 impulse line
22 process membrane
23 pressure transmission arm, oil circuit
24 sensing medium, oil
25 sensing means
26 sensing element, sensing system
27 A/D converter

50 pump
51 pump control

60 valve
61 valve control
100 receiving means; process variable value reception
200 training processing means; training phase; training mode
210 recording of process variable values
220 transform, Fourier transform, FFT
230 calculation of range in transform space, calculation of frequency
range
250,251 calculation of training statistics data; calculation of training
empirical statistical distribution; training empirical statistical
distribution

270,271 fitting of training analytical distribution function to training
empirical statistical distribution; training analytical distribution
function
290,291 calculation of training statistics data; calculation of limit values
300 measurement processing means; measuring phase; measuring
mode
310 recording of process variable values
320 transform, Fourier transform, FFT
330 calculation of range-confined measurement empirical statistical
distribution (in transform space) 350,351 calculation of measurement statistics data; calculation of
measurement empirical statistical distribution; measurement
empirical statistical distribution
390 calculation of measurement statistics data; calculation of mean value Mp
391 calculation of measurement statistics data; calculation of mean value Mc
400 comparison means; comparison of measurement statistics data
with training statistics data
420 comparison of mean value Mp with training statistics data
421 comparison of mean value Mc with training statistics data 450 statistical test, test of consistency of measurement empirical
statistical distribution with training analytical distribution function
480 comparison of confidence level with prescribed level
500 diagnostic output, condition output, output means, display
δk,δk1,δk2,δk3 range in transform space, frequency range
6t duration of recording of one set of process variable values, time
window, duration
K,K' prescribable level

k transform variable, frequency
kL,,kU,k1,k2 limit values in transform space, frequency limits
Lt,p,Lt,c lower limit value
Mc mean value of transform coefficients, mean value of a function of
transform coefficients
Mp mean value of process variable values, mean value of a function of
process variable values Sp,Spi,Sp2,Sp3 signal, function of transformed process variable values,
signal power
t time
Ut,p,Ut.c upper limit value,
W statistical distribution, distribution function
X(k),Xm(k),Xt(k) transform, discrete transform, discrete Fourier transform,
coefficient
x(t) process variable value (taken at various times)









New patent claims
A diagnostic device (10) comprising
- a receiving means (100) for receiving process variable values (x(t)) of a process variable of a process medium (2) of a process,
- a measurement processing means (300) for extracting and recording measurement statistics data from such process variable values, which are measured during a measuring phase (300),
- a training processing means (200) for extracting and recording training statistics data from such process variable values which are measured during a training phase (200), for calculating a training empirical statistical distribution (250;251) whereby the distribution (250;251) is a distribution of a function of process variable values (x(t)) which are measured during a training phase (200) and for calculating a training analytical distribution function (270;271) approximating the training empirical statistical distribution (250) and comprising
- a comparison means (400) for comparing the measurement statistics data with training statistics data recorded before the measurement statistics data,
characterized in that the measurement statistics data comprise a measurement empirical statistical distribution (350), which is a distribution of a function of such process variable values (x(t)), which are measured during a measuring phase (300), and that the training statistics data comprise the training analytical distribution function (270), and that the comparison means (400) outputs a failure indication in case that the confidence level (1 /ChR) derived from a statistical test (450) of the consistency of the measurement empirical statistical distribution (350) with the training analytical distribution function (250) is below a prescribable threshold value (K').

2. A diagnostic device (10) comprising
- a receiving means (100) for receiving process variable values (x(t)) of a process variable of a process medium (2) of a process,
- a measurement processing means (300) for extracting and recording measurement statistics data from such process variable values, which are measured during a measuring phase (300) and for calculating a transform of process variable values (x(t)). which are measured during a measuring phase (300), into coefficients Xm(k) of a set of orthogonal functions, and comprising
- a training processing means (200) for extracting and recording training statistics data from such process variable values which are measured during a training phase (200). for calculating a training empirical statistical distribution (250;251) , for calculating a transform of process variable values (x(t)), which are measured during a measuring phase (300), into coefficients Xm(l - a comparison means (400) for comparing the measurement statistics data with training statistics data recorded before the measurement statistics data
characterized in that the measurement statistics data comprise a measurement empirical statistical distribution (351), which is a distribution of the.function of the coefficients Xm(k), and that the.trainJng statistics data comprise the training analytical distribution function (271), and that the comparison means (400) outputs a failure Indication in case that the confidence level (1 /ChR) of a statistical test of the consistency of the measurement empirical statistical distribution (351) with the training analytical distribution function (271) Is below a prescribable threshold value.

3. The diagnostic device (10) according to claim 1 or 2, characterized in that it comprises a sensing means (25) for measurement of the process variable and for generating the process variable values (x(t)).
4- The diagnostic device (10) according to anyone of the claims 1 to 3, characterized in that the comparison means (400) has a condition output (500) related to a condition of the process, wherein the condition of the process is different from a measure for the process variable.
5. The diagnostic device (10) according to claim of the preceding claims , characterized in that the condition output (500) Is related to the condition of the sensing means (25).
6. The diagnostic device (10) according to one of the preceding claims, characterized in that the measurement statistics data and the training statistics data relate to noise carried in the process medium (2).
7. The diagnostic device (10) according to claim 6, characterized in that the transform Is one of the group of Fourier transform and wavelet transform.
8. The diagnostic device (10) according to claim 7, characterized in that the training analytical distribution function (270;271) is a Gamma distribution function.
9,The diagnostic device (10) according to claim 1 or 2, characterized in that the statistical test is one of the group of Chi2-test and Kolmogorov-Smirnov-test.

10. A process control system (1) comprising a diagnostic device (1 according to one of the preceding claims.

0)

n. A diagnostic method comprising the steps of
- obtaining process variable values (210;310), which are derived from measuring a process variable of a process medium (2) of a process,
- extracting and recording measurement statistics data from such process variable values (x(t)), which are measured during a measuring phase (300),
- extracting and recording training statistics data from such process variable values (x(t)), which are measured during a training phase (200),
- calculating a training empirical statistical distribution (250;251)
whereby the distribution (250;251) is a distribution of a function of
process variable values (x(t)) which are measured during a training
phase (200),
- calculating a training analytical distribution function (270;271) approximating the training empirical statistical distribution (250) and
- comparing (400) the measurement statistics data with training statistics data recorded before the measurement statistics data,
characterized in the steps of
the measurement statistics data comprise a measurement empirical
statistical distribution (350), which Is a distribution of a function of such
process variable values (x(t)), which are measured during a measuring
phase (300),
the training statistics data comprise the training analytical distribution
. function (270),
and the comparison means (400) outputting a failure indication in case that the confidence level (1 /Chi2) derived from a statistical test (450) of the consistency of the measurement empirical statistical distribution (350) with the training analytical distribution function (250) Is below a prescribable threshold value (K').

12. A diagnostic method comprising the steps of
- obtaining process variable values (210;310), which are derived from... measuring a process variable of a process medium (2) of a process,
- extracting and recording measurement statistics data from such process variable values (x(t)), which are measured during a measuring phase (300),
- calculating a transform of process variable values (x(t)), which are
measured during a measuring phase (300), into coefficients Xm(k) of a
set of orthogonal functions,
- extracting and recording training statistics data from such process
variable values (x(t)), which are measured during a training phase
(200),
- calculating a training empirical statistical distribution (250;251), calculating a transform of process variable values (x(t)), which are measured during a measuring phase (300), Into coefficients Xm(k) of a set of orthogonal functions, whereby the training empirical statistical distribution (250) is a distribution of a function of the coefficients Xt(k),
- calculating a training analytical distribution function (270;271) approximating the training empirical statistical distribution (250),
- comparing (400) the measurement statistics data with training
statistics data recorded before the measurement statistics data,
characterized in the steps of
the measurement statistics data comprise a measurement empirical statistical distribution (351), which is a.distribution. of the function of the coefficients Xm(k),
the training statistics data comprise the training analytical distribution function (271),
and the comparison means (400) outputting a failure indication in case that the confidence level (1 /Chi2 ) of a statistical test of the consistency of the measurement empirical statistical distribution (351) with the training

analytical distribution function (271) is below a prescribable threshold value.


Documents:

3556-CHENP-2007 CORRESPONDENCE OTHERS 06-01-2014.pdf

3556-CHENP-2007 AMENDED CLAIMS 09-12-2014.pdf

3556-CHENP-2007 AMENDED PAGES OF SPECIFICATION 09-12-2014.pdf

3556-CHENP-2007 EXAMINATION REPORT REPLY RECEIVED 09-12-2014.pdf

3556-CHENP-2007 FORM-1 09-12-2014.pdf

3556-CHENP-2007 FORM-3 09-12-2014.pdf

3556-CHENP-2007 POWER OF ATTORNEY 09-12-2014.pdf

3556-chenp-2007-abstract.pdf

3556-chenp-2007-claims.pdf

3556-chenp-2007-correspondnece-others.pdf

3556-chenp-2007-description(complete).pdf

3556-chenp-2007-drawings.pdf

3556-chenp-2007-form 1.pdf

3556-chenp-2007-form 3.pdf

3556-chenp-2007-form 5.pdf

3556-chenp-2007-pct.pdf

3556CHENP2007-petition for Form 3.pdf

abs-3556-chenp-2007.jpg


Patent Number 265972
Indian Patent Application Number 3556/CHENP/2007
PG Journal Number 13/2015
Publication Date 27-Mar-2015
Grant Date 25-Mar-2015
Date of Filing 14-Aug-2007
Name of Patentee ABB RESEARCH LTD.,
Applicant Address AFFOLTERNSTRASSE 52, CH-8050 ZURICH
Inventors:
# Inventor's Name Inventor's Address
1 MORONI, ANDREA VIA RAIMONDI 59/A , I-21055 GORLA MINORE (VARESE)
2 ANDENNA , ANDREA IM ERGEL 10, CH-5404 BADEN
3 INVERNIZZI, GIOVANNI VIA , GORIZIA 44, I-20066 MELZO (MILANO),ITALY
PCT International Classification Number G05B 23/02
PCT International Application Number PCT/CH05/00084
PCT International Filing date 2005-02-15
PCT Conventions:
# PCT Application Number Date of Convention Priority Country
1 NA