The present invention relates to industrial process control and monitoring systems. More specifically the present invention relates to field devices in which at least two process variables are sampled for use in monitoring or controlling an industrial process.
Industrial processes are used in the manufacture and refinement of various goods and commodities such as oil, food stuff, pharmaceuticals, paper pulp, etc. In such systems, typically a process variable of a process fluid is measured by a field device. Examples of process variables include pressure, temperature, differential pressure, level, flow rate and others. Based upon this measured process variable, if the industrial process is controlled using a feedback system, the process variable can be used to adjust or otherwise control operation of the industrial process.
Some types of process variables are measured or calculated based upon measurement of two, or more, other process variables. For example, a differential pressure can be measured by measuring two separate process fluid pressures and subtracting the two measurements. The differential pressure can be used in determining flow rate or level of process fluid in a container.
However, when using two separate process variables to determine a third process variable, errors due to time skew error can be introduced into the determination.
An industrial process device for monitoring or controlling an industrial process includes a first input configured to receive a first plurality of samples related to a first process variable and a second input configured to receive a second plurality of samples related to a second process variable. Compensation circuitry is configured to compensate for a time difference between the first plurality of samples and the second plurality of samples and provide a compensated output related to at least one of the first and second process variables.
As discussed in the Background section, in some instances the measurement of a process variable requires the measurement of two or more different process variables. One common example is the measurement of a differential pressure which can, in some instances, be based upon the measurement of two separate pressures, absolute or gauge, whose difference is then determined.
In some instances, this measurement may be accomplished electronically by sampling data from two separate process variable sensors. The sample data is then used to generate an output based upon a mathematical relationship between the two sampled signals. One example configuration is illustrated in U.S. Pat. No. 5,870,695, entitled DIFFERENTIAL PRESSURE MEASUREMENT ARRANGEMENT UTILIZING REMOTE SENSOR UNITS, issued Feb. 9, 1999 to Gregory C. Brown and David A. Broden.
Although the field device 102 is illustrated as having two main components, main body 110 and remote sensor 112, other configurations can also be used. For example two remote sensors, such as remote sensor 112 can couple to the main body. In another example configuration, more than two process variables are received from remote sensors.
Typically in such a device, the sampling of the two process variables does not occur exactly in synchronization. The sampling may operate at two slightly different frequencies. In the example of
As the two sensors are not precisely synchronized, some types of common mode signals can introduce errors into the measurements. Static common mode signals that do not change appreciably from one update to the next are not a problem because the error introduced by the time skew between the two sampling rates is negligible. However, for dynamic common mode signals the error can become quite large.
The present invention provides a compensation circuit or method which can be used to reduce the error due to the above described sampling skew.
In the configuration of
In a first example configuration, compensation circuitry 160 is used to perform an extrapolation, such as a linear extrapolation, in order to compensate for a ramping common mode input signal.
A further improvement on this technique can be obtained by using a non-linear function such as a polynomial approximation, spline method or other interpolation technique such that multiple updates from the device history are used in order to arrive at a predicted value. Such a method can be very effective provided that the rate of change of the device output is slow relative to the system sample rate period. A compromise with this method is that additional “dead” time is added due to a delay that is required to ensure that there is sufficient device history to compute the approximation. In the graph of
In
In the above discussion, the term “interpolation” is used. However, there is an exception to this case in which extrapolation is used to arrive at a predicted value of P_low at block 198. More specifically, in a typical situation the two process variables are updated at an approximately the same rate and are interlooped in such a manner that the time gap between the two process variables is very discernible. However, in some instances, the time difference between the two process variables may become very small. In this case, the updates are nearly synchronized and it may be possible to receive two consecutive updates from P_low, and then two consecutive updates from P_high. This will alter the interleaving pattern and extrapolation will be required rather than an interpolation to arrive at a predicted value of P_low.
In the above description, the examples are provided for only two process variables. However, any number of process variables may be implemented. The compensation circuitry can be implemented in the device in which the process variable is sensed, in a secondary device, for example, a device in which the process variable is received, or at some other location. With these techniques, the sampling skew error is reduced from two or more asynchronously updating devices using appropriate techniques including low pass filtering, linear or higher order extrapolation, or linear or higher order interpolation. These techniques may be well suited for systems using wireless communication in which the sampled process variables are asynchronous. Further, although the above discussion relates to developing a process variable based upon at least two other process variables, the present invention is also applicable to controlling a process, such as controlling a valve actuator or other process control device, based upon two process variables. In some configurations, the sampled process variables may be time stamped. In such a configuration, the techniques described herein can be used to reduce error due to the sampling time skew between the two devices. The sampling time skew in a wireless environment may become very uncontrolled due to the variable latency in a wireless radio system. For example, a mesh system self organizes to determine how the information routes back to a host. The information from PV1 may route directly to the host and thus have relatively low latency. The information from PV2 may hop through several nodes on the way to the host and thus have relatively high latency. In this matter the self organizing mesh network adds significant uncertainty to the sampling time skew.
Although the present invention has been described with reference to preferred embodiments, workers skilled in the art will recognize that changes may be made in form and detail without departing from the spirit and scope of the invention.
In the above discussion only one of the process variables is compensated. However, in some configurations, it may be desirable to compensate two or more process variables.
Number | Name | Date | Kind |
---|---|---|---|
3701280 | Stroman | Oct 1972 | A |
4238825 | Geery | Dec 1980 | A |
4414634 | Louis et al. | Nov 1983 | A |
4419898 | Zanker et al. | Dec 1983 | A |
4446730 | Smith | May 1984 | A |
4485673 | Stern | Dec 1984 | A |
4528855 | Singh | Jul 1985 | A |
4562744 | Hall et al. | Jan 1986 | A |
4598381 | Cucci | Jul 1986 | A |
4602344 | Ferretti et al. | Jul 1986 | A |
4677841 | Kennedy | Jul 1987 | A |
4761752 | Barnes | Aug 1988 | A |
4825704 | Aoshima et al. | May 1989 | A |
4881412 | Northedge | Nov 1989 | A |
4958938 | Schwartz et al. | Sep 1990 | A |
5035140 | Daniels et al. | Jul 1991 | A |
5058437 | Chaumont et al. | Oct 1991 | A |
5227782 | Nelson | Jul 1993 | A |
5381355 | Birangi et al. | Jan 1995 | A |
5606513 | Louwagie et al. | Feb 1997 | A |
5870695 | Brown et al. | Feb 1999 | A |
6230570 | Clark et al. | May 2001 | B1 |
6253156 | Bui-Tran et al. | Jun 2001 | B1 |
6301973 | Smith | Oct 2001 | B1 |
6360614 | Drahm et al. | Mar 2002 | B1 |
6655221 | Aspelund et al. | Dec 2003 | B1 |
6934651 | Smaragdis | Aug 2005 | B2 |
7197408 | Ferreira et al. | Mar 2007 | B2 |
7275415 | Rhodes et al. | Oct 2007 | B2 |
7406878 | Rieder et al. | Aug 2008 | B2 |
7424326 | Enders et al. | Sep 2008 | B2 |
20030051558 | Melnikov et al. | Mar 2003 | A1 |
20030213282 | Brockhaus | Nov 2003 | A1 |
20040144182 | Gysling et al. | Jul 2004 | A1 |
20060016246 | Rhodes et al. | Jan 2006 | A1 |
20080156101 | Henry | Jul 2008 | A1 |
20080162013 | Grouffal et al. | Jul 2008 | A1 |
20090038405 | Hocker | Feb 2009 | A1 |
20090229364 | Gysling | Sep 2009 | A1 |
20100145636 | Nyfors | Jun 2010 | A1 |
20100259362 | Schumacher et al. | Oct 2010 | A1 |
20110016988 | Tombs et al. | Jan 2011 | A1 |
20120116681 | Fuller et al. | May 2012 | A1 |
Number | Date | Country |
---|---|---|
91 09 176.4 | Oct 1991 | DE |
102005025354 | May 2005 | DE |
0 063 685 | Nov 1982 | EP |
0 214 801 | Mar 1987 | EP |
0 223 300 | May 1987 | EP |
1229309 | Aug 2002 | EP |
WO 8801417 | Feb 1988 | WO |
WO 8902578 | Mar 1989 | WO |
WO 8904089 | May 1989 | WO |
WO 9015975 | Dec 1990 | WO |
WO 9118266 | Nov 1991 | WO |
Number | Date | Country | |
---|---|---|---|
20110082568 A1 | Apr 2011 | US |