# Patent

## Title
Process device diagnostics using process variable sensor signal

## Abstract

A diagnostic device for use in a process control system receives a sensor signal related to a process variable of a process sensed by a process variable sensor. A signal preprocessor provides a sensor power signal output as a function of a frequency distribution of power in the sensor signal. A process condition is determined based upon the sensor power signal.

## Background
The present application is a Continuation-In-Part of and claims priority of U.S. patent application Ser. No. 09/344,631, filed Jun. 25, 1999 now U.S. Pat. No. 6,601,005, the content of which is hereby incorporated by reference in its entirety.


BACKGROUND OF THE INVENTION
The present invention relates to diagnostics of process devices (for use with industrial processes). More specifically, the invention relates to diagnostics of processes using a process variable sensor signal.
Process control devices are used in industrial process control systems to control a process. A control device is a field device which is used to control the process and includes pumps, valves, actuators, solenoids, motors, mixers, agitators, breaker, crusher, roller, mill, ball mill, kneader, blender, filter, cyclone, centrifuge, tower, dryer, conveyor, separator, elevator, hoist, heater, cooler or others. A valve controller includes a valve actuator coupled to a valve used to control flow of process fluid. A pump controller includes a motor controller or actuator coupled to a pump. Diagnostics of process control devices can be used to identify a failed control device or predict an impending failure.
Sensing vibrations is one method used to diagnose process control devices. A vibration sensor such as an accelerometer placed directly on a control device can be used to sense vibration noise signals generated by the device. Vibrations are isolated and evaluated by identifying those which exceed an amplitude threshold or which have an abnormal frequency which are indicative of an actual or impending failure. For example, sensors are placed on pump or motor housings, discharge valves, or flanges associated with the control device. Another known diagnostic method is a manual inspection in which an operator listens for abnormal sounds from the control device.
These known methods rely on sensing vibrations at the process control device. The automated diagnostic techniques require additional sensors and circuitry to be included in the control device. There is thus a need for improved diagnostic technology which does not rely on additional components in the control device or the inaccurate and time consuming manual inspection of the prior art to isolate and evaluate vibration noise signals.
SUMMARY OF THE INVENTION
A diagnostic device for use in a process control system includes a sensor signal input related to a process variable of a process fluid of a process. A signal preprocessor provides sensor power signal output as a function of a frequency distribution of power in the sensor signal. A signal evaluator outputs a condition related to a condition of the process. A diagnostic method is also provided.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is an illustration of a typical fluid processing environment for the diagnostic device.
FIG. 2 is a block diagram of a differential pressure fluid flowmeter that diagnoses a condition of the process.
FIG. 3 is a graph of amplitude versus frequency versus time of a process variable signal.
FIG. 4 is a block diagram of a discrete wavelet transformation.
FIG. 5 is a graph showing signals output from a discrete wavelet transformation.
FIG. 6A is a simplified flow chart of a diagnostic device diagnosing a condition of a process.
FIG. 6B is a more detailed flow chart of a diagnostic device diagnosing a condition of a process.
FIG. 7 illustrates a magnetic flowmeter type diagnostic device.
FIG. 8 illustrates a vortex flowmeter type diagnostic device.
FIG. 9 illustrates a coriolis type diagnostic device.



DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
In FIG. 1, a typical environment for a diagnostic device in accordance with one embodiment of the invention is illustrated at 100. In FIG. 1, a diagnostic device, such as process transmitter 102 configured as a pressure transmitter, is shown connected to control system 104. Process transmitters can be configured to monitor one or more process variables associated with fluids in a process plant such as slurries, liquids, vapors and gasses in chemical, pulp, petroleum, gas, pharmaceutical, food and other fluid processing plants. The monitored process variables can be pressure, flow, level, temperature or other properties of fluids. A vibration sensitive process variable sensor is one that can sense vibrations carried in the process fluid, such as a pressure sensor, a sensor in a coriolis flow meter, electrodes in a magnetic flow meter, a sensor in a vortex or ultrasonic flowmeter or others. Process transmitters include one or more sensors that can be either internal to the transmitter or external to the transmitter, depending on the installation needs at the process plant. Process transmitters generate one or more transmitter outputs that represent a sensed process variable or can also monitor the process using data received from remote sensors. Transmitter outputs are configured for transmission over long distance to a controller or indicator via communication bus 106. In typical fluid processing plants, communication bus 106 can be a 4–20 mA current loop that powers the transmitter, or a fieldbus connection, a HART® protocol communication or a fiberoptic connection to a controller, a control system or an output device. In transmitters powered by a two wire loop, power must be kept low to provide intrinsic safety in explosive atmospheres. Other types of communication busses can also be used such as either net operating with other protocols such as tcp/ip.
In FIG. 1, pump control device 108 and valve control device 110 are illustrated as examples of control devices and vibration noise sources. Control devices are actuated by control system 104 using communication bus 106 to control the process fluid. System 104 can be a maintenance computer, an enterprise planning or monitoring system or a computerized maintenance measurement system or a process control system. Control devices are also typically vibration noise sources. However, a vibration noise source is any element in a process which generates vibrations which are carried by process fluid. Vibration noise signals are any vibration signal generated by a control device or which are generated by process fluid moving through the process system, such as vibrations due to cavitation or other flow or process related noise. Valve control device 110 includes a valve controller 112 which controls a supply of pressurized air to valve actuator 114 which in turn actuates valve 116. Pump control device includes motor 118 which actuates pump 120 to move process fluid through suction flange pipeline 122 and out discharge valve 124. Control devices and transmitters all couple to process piping 130 which carries process fluid. Vibration noise signals 132 generated by the process such as by operation of control devices, propagate through the process fluid and are sensed by a process variable sensor.
In FIG. 2, a block diagram shows one embodiment of a transmitter 102 configured as a diagnostic device in accordance with the invention. Examples of other diagnostic devices include control system 104, magnetic flowmeter 250 (FIG. 7), vortex flowmeter 260 (FIG. 8) and coriolis flowmeter 330 (FIG. 9). Transmitter 102 senses a process variable of process fluid in pipe 130 with process variable sensor 138. Transmitter 102 includes a process coupling 132 which couples a process variable sensor 138 to process fluid in pipe 130. For example, coupling 132 can comprise impulse lines 136 and flange 140 for transmitter 102, flow tube 252 for magnetic flowmeter 250, flow tube 264 and shedding bar 262 for vortex flowmeter 260, or flow tube 332 and measurement tubes 336 for coriolis flowmeter 330. Examples of process variable sensors 138 include a pressure sensor, electrodes 258 (FIG. 7), sensor 266 (FIG. 8), and coils 342 (FIG. 9). Analog to digital converter 144 receives sensor input 146 from process variable sensor 138 which is related to a process variable of the process fluid. Analog to digital converter 144 provides a digitized sensor signal to microprocessor system 148.
Microprocessor system 148 includes signal preprocessor 150 which is coupled to sensor input 146 through analog to digital converter 144 and isolates signal components in the sensor signal such as frequencies, amplitudes or signal characteristics which are related to operation of the process. Signal preprocessor 150 provides an isolated signal output 152 to signal evaluator 154. Signal preprocessor isolates a portion of the process variable signal by filtering, performing a wavelet transform, performing a Fourier transform, use of a neural network, statistical analysis, or other signal evaluation techniques. The isolated signal output is related to vibration noise signals 132 in the process fluid sensed by sensor 138. Signal evaluator 154 includes memory 155 and provides a condition output 156 which is related to a condition of the process. Signal evaluator 154 evaluates the isolated signal output 152 based upon a rule, fuzzy logic, a neural network, an expert system, a wavelet analysis or other signal evaluation technique. Process conditions include condition, diagnostic, health, or time to failure information related to valves, pumps, pump seals, discharge systems, actuators, solenoids, compressors, turbines, agitators, dampers, piping, fixtures, tanks, or other components of a process control system. Signal preprocessor 150 and signal evaluator 154 isolate and evaluate sensor signal components as shown in flow chart 200 of FIG. 6.
Microprocessor system 148 further calculates a process variable based upon the sensor signal input 146 in accordance with known techniques. A digital to analog converter 158 coupled to microprocessor system 148 generates an analog transmitter output 160 for coupling to communication bus 106. A digital communication circuit 162 generates a transmitter output 164. The analog output 160 and the diagnostic data 164 can be coupled to indicators or controllers as desired.
Signal preprocessor 150 is configured to isolate signal components which are related to vibration noise signals 132 in the process fluid. The signal components are isolated through signal processing techniques in which only desired frequencies or other signal characteristics such as amplitude are identified and an indication of their identification is provided on an isolated signal output 152. Depending upon the strength of noise signals 132 and their frequency, signal preprocessor can comprise a filter, for example a band pass filter, to generate the isolated signal output 152. For more sensitive isolation, advanced signal processing techniques are utilized such as a Fast Fourier transform (FFT) to obtain the spectrum of the sensor signal. In one preferred embodiment, signal preprocessor 150 comprises a wavelet processor which performs a wavelet analysis on the sensor signal as shown in FIGS. 3, 4 and 5 using a discrete wavelet transform. Wavelet analysis is well suited for analyzing signals which have transients or other non-stationary characteristics in the time domain. In contrast to Fourier transforms, wavelet analysis retains information in the time domain, i.e., when the event occurred.
Wavelet analysis is a technique for transforming a time domain signal into the frequency domain which, like a Fourier transformation, allows the frequency components to be identified. However, unlike a Fourier transformation, in a wavelet transformation the output includes information related to time. This may be expressed in the form of a three dimensional graph with time shown on one axis, frequency on a second axis and signal amplitude on a third axis. A discussion of wavelet analysis is given in On-Line Tool Condition Monitoring System With Wavelet Fuzzy Neural Network, by L. Xiaoli et al., 8 JOURNAL OF INTELLIGENT MANUFACTURING pgs. 271–276 (1997). In performing a continuous wavelet transformation, a portion of the sensor signal is windowed and convolved with a wavelet function. This convolution is performed by superimposing the wavelet function at the beginning of a sample, multiplying the wavelet function with the signal and then integrating the result over the sample period. The result of the integration is scaled and provides the first value for continuous wavelet transform at time equals zero. This point may be then mapped onto a three dimensional plane. The wavelet function is then shifted right (forward in time) and the multiplication and integration steps are repeated to obtain another set of data points which are mapped onto the 3-D space. This process is repeated and the wavelet is moved (convolved) through the entire signal. The wavelet function is then scaled, which changes the frequency resolution of the transformation, and the above steps are repeated.
Data from a wavelet transformation of a sensor signal from process variable sensor 138 is shown in FIG. 3. The data is graphed in three dimensions and forms a surface 170. As shown in the graph of FIG. 3, the sensor signal includes a small signal peak at about 1 kHz at time t1 and another peak at about 100 Hz at time t2 due to vibration noise signal 132. Through subsequent processing by signal evaluator 154, surface 170 or portions of surface 170 are evaluated to provide condition output 156.
The continuous wavelet transformation described above requires extensive computations. Therefore, in one embodiment, signal preprocessor 150 performs a discrete wavelet transform (DWT) which is well suited for implementation in microprocessor system 148. One efficient discrete wavelet transform uses the Mallat algorithm which is a two channel sub-band coder. The Mallet algorithm provides a series of separated or decomposed signals which are representative of individual frequency components of the original signal. FIG. 4 shows an example of such a system in which an original sensor signal S is decomposed using a sub-band coder of a Mallet algorithm. The signal S has a frequency range from 0 to a maximum of fMAX. The signal is passed simultaneously through a first high pass filter having a frequency range from 1⁄2 fmax to fmax, and a low pass filter having a frequency range from 0 to 1⁄2 fMAX. This process is called decomposition. The output from the high pass filter provides “level 1” discrete wavelet transform coefficients. The level 1 coefficients represent the amplitude as a function of time of that portion of the input signal which is between 1⁄2 fmax and fMAX. The output from the 0–1⁄2 fmax low pass filter is passed through subsequent high pass (1⁄4 fmax–1⁄2 fmax) and low pass (0–1⁄4 fmax) filters, as desired, to provide additional levels (beyond “level 1”) of discrete wavelet transform coefficients. The outputs from each low pass filter can be subjected to further decompositions offering additional levels of discrete wavelet transformation coefficients as desired. This process continues until the desired resolution is achieved or the number of remaining data samples after a decomposition yields no additional information. The resolution of the wavelet transform is chosen to be approximately the same as the sensor or the same as the minimum signal resolution required to monitor the vibration noise signal 132. Each level of DWT coefficients is representative of signal amplitude as a function of time for a given frequency range. Coefficients for each frequency range are concatenated to form a graph such as that shown in FIG. 3.
In some embodiments, padding is added to the signal by adding data to the sensor signal near the borders of windows used in the wavelet analysis. This padding reduces distortions in the frequency domain output. This technique can be used with a continuous wavelet transform or a discrete wavelet transform. “Padding” is defined as appending extra data on either side of the current active data window, for example, extra data points are added which extend 25% of the current window beyond either window edge. In one embodiment, the padding is generated by repeating a portion of the data in the current window so that the added data “pads” the existing signal on either side. The entire data set is then fit to a quadratic equation which is used to extrapolate the signal 25% beyond the active data window.
FIG. 5 is an example showing a signal S generated by sensor 138 and the resultant approximation signals yielded in seven decomposition levels labeled level 1 through level 7. In this example, signal level 7 is representative of the lowest frequency DWT coefficient which can be generated. Any further decomposition yields noise. All levels, or only those levels which relate vibration noise signal 132, are provided as isolated signal 152 to signal evaluator 154. For example, depending on the particular system configuration and sensor type, levels 2, 3 and 5 can comprise the isolated signal 152 provided to signal evaluator 154.
Signal evaluator 154 evaluates the isolated signal 152 received from signal preprocessor 150 and in one embodiment, monitors an amplitude of a certain frequency or range of frequencies identified in isolated signal 152 and provides the condition output 156 if a threshold is exceeded. For example, if the isolated signal 152 comprises those components of sensor signal between 45 and 55 Hz, sensor evaluator 154 can provide condition output 156 if a threshold is exceeded indicative of a condition in the process such as a bearing failure in pump control device 108 or cavitation in valve control device 110. Signal evaluator can also comprise more advanced decision making algorithms such as fuzzy logic, neural networks, expert systems, rule based systems, etc. Commonly assigned U.S. patent application Ser. No. 08/623,569 describes various decision making systems which can be implemented in signal evaluator 154 and is incorporated herein by reference.
In FIG. 6A, a flow chart 180 of a method of diagnosis performed in a diagnostic device capable of receiving a process variable is shown. The algorithm starts at 182 and a process variable sensor signal is obtained. The process noise signal which is present in the process variable signal is isolated at 184. Next, the isolated process noise signal is evaluated at 186 and an output indicative of the process condition is provided at 188 in response to the evaluated isolated process noise signal. FIG. 6B is a more detailed flow chart 200 of the method of diagnosis. The algorithm starts at 202 and a process variable sensor signal is obtained. Components, X1, X2, X3, X4 . . . XN are isolated at 204. (For simplicity, flow chart 200 shows only 4 components X1–X4). If no components X1–XN are present, control is passed to block 202 and the process variable sensor signal is again obtained. At 206, 208, 210, 212 the isolated component X1, X2, X3, X4, respectively, are output. Each output is indicative of the presence of a particular signal component in the process variable sensor signal. The isolated components are evaluated at 214, 216, 218 and 220. In the signal evaluation illustrated in FIG. 6, a rule is used in which the isolated signal component is compared to a limit (limit1, limit2, limit3, limit4, respectively). If none of the limits have been exceeded by the respective isolated signal, the algorithm returns to 202 to obtain an updated process variable signal. If any limit has been exceeded, the algorithm proceeds to output condition1, condition2, condition3, or condition4 at 222, 224, 226 or 228, respectively. For example, component X2 can comprise signal components of the process variable sensor signal between 45 and 55 Hz. If these components have a signal strength which is greater than a limit specified by limit2, condition2 is output which can indicate that a pump, for example, in the process is failing. Similarly, other components in the sensor signal indicate the condition of other aspects of the process control system. If a single component is indicative of a condition of more than one aspect of the process, the output indicates that there are two possible conditions in the process. Further, the condition output is not necessarily tied to a specific failure and can simply indicate that a particular signal component has exceeded a threshold or has some other characteristic. In general, steps 202–212 are performed by signal preprocessor 150 of FIG. 2 and steps 214–226 are performed by signal evaluator 154. However, the steps of isolating and evaluating can be combined and performed simultaneously or by the same components in a diagnostic device.
In process control systems where there is a known process variation, for example, due to certain process activities, the variation can be modeled and thereby removed from the process variable signal to obtain the isolated sensor signal. In one aspect, wavelet transformation data is calculated and stored in memory 155 of signal evaluator 154 shown in FIG. 2 during normal operation of the process. This data represents a base “plane” of normal operation. The data can be collected at various times during the day, during a process cycle and during the year. When placed into normal use, signal evaluator 154 retrieves the stored wavelet transformation from memory 155 and compares the base plane data with information gathered through wavelet analysis during operation. For example, if signal evaluator 154 subtracts the base plane data from a current wavelet transformation, the resultant data represents only the anomalies occurring in the process. Such a subtraction process separates the process variations from abnormal vibration noise signals along with daily and seasonal variations in the signal. For example, the vibration sensor signal 146 may change during the day or over the course of a year due to environmental temperature changes and process activities. This separates the process signal from the vibration noise signal 132. During operation, a neural network can operate in microprocessor system 148 to monitor operation of the process and select the optimum model stored in memory 155. Coefficients related to operation of the model can be generated using a neural network or can be received over communication bus 106 during installation of transmitter 102 as provided for in various communication protocols. Examples of models include a first order model including dead time which is typically good for non-oscillatory systems, or second order models plus dead time which typically suffice for oscillatory processes. Another modeling technique is to use an adaptive neural network-fuzzy logic model. Such a hybrid system includes a neural network and fuzzy logic. The fuzzy logic adapts the model to variability of the process while the neural network models allow flexibility of the modeling to thereby adjust to changing processes. This provides a relatively robust model. The use of adaptive membership functions in the fuzzy logic model further allows the determination whether the particular model should be updated. The diagnostic device can operate with any appropriate type of signal evaluator such as one that includes life expectancy or diagnostic circuitry. Examples of such techniques are shown in the co-pending application Ser. No. 08/744,980, filed Nov. 7, 1996, entitled “DIAGNOSTICS FOR RESISTANCE BASED TRANSMITTER,” which is incorporated by reference.
The process variable sensor 138 can be any type of process variable sensor which is capable of sensing vibrations in the process fluid. The process variable sensor should have a bandwidth and a frequency response or resolution sufficient to detect the desired vibration noise signals. Typically, this is between about 0 and about 200 Hz in a differential pressure based flow transmitter. One type of process variable sensor is a pressure sensor. A process variable pressure sensor having sufficient bandwidth is illustrated in U.S. Pat. No. 5,637,802, issued Jun. 10, 1997. Other components in the devices such as analog to digital converters must also have sufficient bandwidth, amplifiers and other elements in the input channel. FIG. 7 illustrates a magnetic flowmeter 250 having a process variable sensor provided by electrodes 258. Flowmeter 250 includes flow tube 252 coupled to electronics housing 254. In a magnetic flowmeter, coils 256 generate a magnetic field in flow tube 252. The flow of process fluid through the resultant magnetic field develops an electric potential between electrodes 258 which provide a process variable sensor signal. Vibration signals 132 in the fluid change the flow rate and can be sensed by electrodes 258. Typical frequency response of magnetic flowmeters are 0–75 Hz or higher.
FIG. 8 illustrates a vortex flowmeter 260 having a process variable sensor provided by sensor 266. Vortex flowmeter 260 includes a shedding bar 262 mounted in flow tube 264 and coupled to fourth sensor 266. A flow of process fluid through flow tube 264 causes shedding bar 262 to move about pivot axis 268. This movement causes a force 270 to be transferred to sensor 266 which provides a process variable sensor signal. The frequency of this force is related to the flow through flow tube 264. Noise vibration signals 132 are also transferred to sensor 266 for use with the signal preprocessor 150 and signal evaluator 154 shown in FIG. 2. Vortex flowmeters typically have a frequency response of between about 0 and 10 KHz or higher.
FIG. 9 illustrates a coriolis flowmeter 330 process variable sensor provided by coils 342 and which includes a flow tube 332 and meter electronics 334. Measurement tubes 336 coupled to flow tube 332. A drive coil 340 vibrates tubes 336 in response to a drive signal and sense elements which include sense coils 342 and sense magnets 344 provide left and right velocity signals related to the resultant vibration of tubes 336. Flow through the tubes 336 cause tubes 336 to pivot in a manner which is sensed by coils 342. The outputs from coils 342 are related to flow through tubes 336 and provide a process variable sensor signal. Vibration noise signals 132 can also be sensed by coils 342 and provided to signal preprocessor 140 shown in FIG. 2. Coriolis meters typically have a very wide frequency response which can sense vibrations at very high frequencies.
Other types of process variable sensors include an ultrasonic or radio frequency receiver in a level gauge or an ultrasonic receiver in a ultrasonic level sensor. For example, transmitter 102 can comprise an ultrasonic flowmeter or level gauge and sensor 138 is an ultrasonic sensor. Additionally, control devices such as valve controllers can include process variable sensors.
In one embodiment, the signal preprocessor 150 generates a sensor power signal 152 as a function of the frequency distribution of power of the sensor signal. For example, the signal preprocessor 150 can perform a wavelet transformation, discrete wavelet transformation, Fourier transformation, or use other techniques to determine the spectrum of the sensor signal. The power of the distributed frequencies is determined by monitoring such a converted signal over time. One example of this is the power spectral density (PSD). The power spectral density can be defined as the power (or variance) of a time series and can be described as how the power (or variance) of a time series is distributed with frequency. For example, this can be defined as the Fourier transform of an auto-correlation sequence of the time series. Another definition of power spectral density is the squared modulus of the Fourier transform of the time series, scaled by an appropriate constant term.
Power spectral density, Fi, can also be calculated using Welch's method of averaged periodograms for a given data set. The method uses a measurement sequence x(n) sampled at fs samples per second, where n=1, 2, . . N. A front end filter with a filter frequency less than fs/2 is used to reduce aliasing in the spectral calculations. The data set is divided into Fk,i as shown in Eq. 1: 



  
    
      
        
          F
          
            k
            ,
            i
          
        
        =
        
          
            (
            
              1
              /
              M
            
            )
          
          ⁢
          
            
              
              
                
                  ∑
                  
                    n
                    =
                    1
                  
                  M
                
                ⁢
                
                  
                    
                      x
                      k
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  ⁢
                  
                    e
                    
                      
                        -
                        j2Π
                      
                      ⁢
                      
                        
                      
                      ⁢
                      i
                      ⁢
                      
                        
                      
                      ⁢
                      Δ
                      ⁢
                      
                        
                      
                      ⁢
                      fn
                    
                  
                
              
              
            
            2
          
        
      
    
    
      
        Eq
        .
        
          
        
        ⁢
        1
      
    
  




There are Fk,i overlapping data segments and for each segment, a periodogram is calculated where M is the number of points in the current segment. After all periodograms for all segments are evaluated, all of them are averaged to calculate the power spectrum: 



  
    
      
        Fi
        =
        
          
            (
            
              1
              /
              L
            
            )
          
          ⁢
          
            
              ∑
              
                k
                =
                1
              
              L
            
            ⁢
            
              F
              
                k
                ,
                i
              
            
          
        
      
    
    
      
        Eq
        .
        
          
        
        ⁢
        2
      
    
  




Once a power spectrum is obtained for a training mode, this sequence is stored in memory, preferably EEPROM, as the baseline power spectrum for comparison to real time power spectrums. Fi is thus the power spectrum sequence and i goes from 1 to N which is the total number of points in the original data sequence. N, usually a power of 2, also sets the frequency resolution of the spectrum estimation. Therefore, Fi is also known as the signal strength at the ith frequency. The power spectrum typically includes a large number points at predefined frequency intervals, defining a shape of the spectral power distribution as a function of frequency.

The signal evaluator 154 evaluates the signal is using any appropriate techniques and including those discussed above. For example, the signal evaluator 154 can compare the frequency distribution of power in a sensor signal against a stored value, such as a stored threshold level, for example across a frequency range. Other evaluation techniques can be chosen as desired, for example, neural networks or fuzzy logic techniques can be used. The process power signal can be compared against known signal signatures, and the comparison used in performing diagnostics.
Although the invention has been described with reference to preferred embodiments, workers skilled in the art will recognize that changes can be made in form and detail without departing from the spirit and scope of the invention. The invention can be practiced in software rather than in any of a number of places in a process control system such as in a field mounted device or even a system controller. Furthermore, modern digital protocol such as fieldbus, profibus and others allow for the software which practices the invention to be communicated between elements in a process control system, and also provide for process variables to be sent in one transmitter and then sent to the software which is resident in a different piece of equipment. For example, various function blocks of the invention have been described in terms of circuitry, however, many function blocks may be implemented in other forms such as digital and analog circuits, software and their hybrids. When implemented in software, a microprocessor performs the functions and the signals comprise digital values on which the software operates. A general purpose processor programmed with instructions that cause the processor to perform the desired process elements, application specific hardware components that contain circuit wired to perform the desired elements and any combination of programming a general purpose processor and hardware components can be used. Deterministic or fuzzy logic techniques can be used as needed to make decisions in the circuitry or software. Because of the nature of complex digital circuitry, circuit elements may not be partitioned into separate blocks as shown, but components used for various functional blocks can be intermingled and shared. Likewise with software, some instructions can be shared as part of several functions and be intermingled with unrelated instructions within the scope of the invention. A diagnostic device can be any device (or a combination of devices such as devices which share information to arrive at a conclusion) which receives a process variable signal including a process monitoring system, a personal computer, a control system, a portable communicator, a controller or a transmitter. U.S. Pat. No. 5,754,596 describes a technique for transmitting stored data which has been stored in a field device such that the stored data can have a higher bandwidth than would be possible if data were transmitted at the update rate of the communication protocol. Any type of process variable sensor which is sensitive to a process noise signal can be used with the diagnostic device of the invention.

## Claims

1. A diagnostic device for use in a process control system which includes a process device used to control the process, comprising:
a sensor signal input, the sensor signal related to a process variable of a process fluid of a process, the process variable sensed by a process variable sensor;
a signal preprocessor coupled to the sensor input having a sensor power signal output as a function of a frequency distribution of power in the sensor signal; and
a signal evaluator coupled to the sensor power signal output having a process device condition output related to an operation condition of the process device of the process control system.

2. The diagnostic device of claim 1 wherein the diagnostic device couples to a communication bus.

3. The diagnostic device of claim 2 wherein the communication bus comprises a two-wire loop.

4. The diagnostic device of claim 3 wherein the diagnostic device is fully powered with power received from the two-wire loop.

5. The diagnostic device of claim 1 wherein the sensor signal has a frequency content of at least 50 Hz.

6. The diagnostic device of claim 1, wherein the diagnostic device is included in a transmitter.

7. The diagnostic device of claim 1 wherein the process variable sensor comprises a pressure sensor.

8. The diagnostic device of claim 1 wherein the process variable sensor comprises electrodes in a magnetic flowmeter.

9. The diagnostic device of claim 1 wherein the process variable sensor comprises a sensor in a vortex flowmeter.

10. The diagnostic device of claim 1 wherein the process variable sensor comprises a sensor in a coriolis flowmeter.

11. The diagnostic device of claim 1 wherein the signal preprocessor isolates a frequency range of the sensor signal.

12. The diagnostic device of claim 1 wherein the sensor signal has a frequency of between 0 Hz and 200 Hz.

13. The diagnostic device of claim 1 wherein the function comprises power spectral density.

14. The diagnostic device of claim 1 wherein the function is related to a Fourier transform of the sensor signal.

15. The diagnostic device of claim 1 wherein the function comprises a wavelet transform of the sensor signal.

16. The diagnostic device of claim 1 wherein the signal preprocessor includes a filter.

17. The diagnostic device of claim 1 wherein the diagnostic device is implemented in a process monitor.

18. The diagnostic device of claim 1 wherein the diagnostic device is implemented in a control system.

19. The diagnostic device of claim 1 wherein the sensor power signal output relates to a vibration noise signal carried in process fluid of the process.

20. The diagnostic device of claim 1 wherein the process variable sensor comprises a sensor in an ultrasonic flowmeter.

21. The diagnostic device of claim 1 wherein the condition of the process device condition is related to condition of a process device selected from the group of devices consisting of valves, pumps, pump seals, discharge systems, actuators, solenoids, compressors, turbines, agitators, dampers, piping, fixtures and tanks.

22. The diagnostic device of claim 1 wherein the signal evaluator compares the sensor power signal with a stored value.

23. The diagnostic device of claim 1 wherein the signal evaluator comprises a neural network.

24. The diagnostic device of claim 1 signal evaluator comprises fuzzy logic.

25. A diagnostic method performed in a process control environment which includes a process device used to control the process, the method comprising:
obtaining a process variable sensor signal;
determining a frequency distribution of power in the process variable sensor signal; and
evaluating the frequency distribution of power in the process variable sensor signal and providing a process device condition output related to an operation condition of the process device of the process control system.

26. The method of claim 25 wherein determining includes performing a Fourier transformation on the process variable sensor signal.

27. The method of claim 26 wherein determining includes performing a wavelet transformation.

28. The method of claim 27 wherein performing a wavelet transform comprises performing a discrete wavelet transform.

29. The method of claim 25 wherein determining includes filtering the process variable sensor signal.

30. The method of claim 25 wherein evaluating comprises comparing frequency distribution of power in the process variable sensor signal to a stored value.

31. The method of claim 25 wherein evaluating comprises evaluating the frequency distribution of power in the process variable sensor signal to a neural network.

32. The method of claim 25 wherein evaluating comprises applying a rule to the frequency distribution of power in the process variable sensor signal.

33. The method of claim 25 wherein the process variable sensor signal comprises a pressure sensor signal.

34. The method of claim 25 wherein the process variable sensor signal comprises a sensor output from a coriolis flowmeter.

35. The method of claim 25 wherein the process variable sensor signal comprises a sensor output from a vortex flowmeter.

36. The method of claim 25 wherein the process variable sensor signal comprises electrode outputs from a magnetic flowmeter.

37. The method of claim 25 wherein the process variable sensor signal has a bandwidth of at least 50 Hz.

38. The method of claim 25 including fully powering the diagnostic device with power from a two-wire loop.

39. The method of claim 25 wherein the frequency distribution of power in the process variable sensor signal comprises power spectral density.

40. A computer-readable medium having stored thereon instructions executable by a microprocessor system in a diagnostic device to diagnose condition of a process which includes a process device used to control the process, the instructions comprising:
obtaining a process variable sensor signal;
determining a frequency distribution of power in the process variable sensor signal; and
evaluating the frequency distribution of power in the process variable sensor signal and providing a process device condition output related to an operation condition of the process device of the process control system.

41. A diagnostic device for use in a process control system which includes a process device used to control the process, comprising:
a sensor signal input, the sensor signal related to a process variable of a process fluid of a process, the process variable sensed by a process variable sensor;
signal preprocessing means for determining a frequency distribution of power in the sensor signal; and
signal evaluating means for diagnosing a process device operation condition of the process device of the process control system based upon the frequency distribution of power in the sensor signal.