The present invention relates to monitoring the condition of field devices. Specifically, the invention relates to a system for detecting the presence of fluids in the field devices.
In many industrial settings, control systems are used to monitor and control inventories, processes, and the like. A typical control system includes a centralized control room and a number of field devices geographically removed from the control room. The field devices communicate process data to the control room using either analog or digital communication means.
Traditionally, analog field devices have been connected to the control room by two-wire twisted-pair current loops, with each field device connected to the control room by a single two-wire twisted pair loop. Located within the field device housing are terminals for connecting the twisted-pair current loops to circuitry within the field device. This region is referred to as the terminal block area of the field device. Typically, a voltage differential is maintained between the two wires of approximately 20 to 25 volts, and a current between 4 and 20 milliamps (mA) runs through the loop. An analog field device transmits a signal to the control room by modulating the current running through the current loop to a current proportional to the sensed process variable. A receiving device measures the voltage across a load resistor, typically located in the control room, in order to determine the magnitude of the modulated current.
While historically field devices were capable of performing only one function, recently, hybrid systems that superimpose digital data on the current loop have been used in distributed control systems. The Highway Addressable Remote Transducer (HART) and the Instrument Society of America (ISA) Fieldbus SP50 standards superimpose a digital carrier signal on the current loop signal. The HART standard employs frequency-shift keying (FSK) to transmit digital data over the current loop, and operates at frequencies of 1200 and 2400 baud. Other common protocols for communication of digital information over the current loop are Foundation Fieldbus, Profibus, and DeviceNet. Typically, these systems operate at much higher frequencies than the HART protocol. The digital carrier signal can be used to send secondary and diagnostic information. Examples of information provided over the carrier signal include secondary process variables, diagnostic information (such as sensor diagnostics, device diagnostics, wiring diagnostics, process diagnostics, and the like), operating temperatures, sensor temperature, calibration data, device ID numbers, configuration information, and so on. Accordingly, a single field device may have a variety of input and output variables and may implement a variety of functions.
Field devices are often located in physically challenging environments, with one potential problem being the collection of fluid within the terminal block area of the field device. The presence of fluid within the terminal block area can result in a conductive path between the terminals of the field device, known as terminal leakage. The presence of terminal leakage in a field device affects the ability of the field device to accurately communicate the measured process variables to the control room. The ability to accurately communicate the values associated with a measured process variable to the control room is important to ensuring proper operation of control processes. It is difficult and time-consuming, however, to periodically inspect each field device for the presence of fluid in the terminal block. Therefore, it would be beneficial to design a system for automatically detecting the presence of fluids with the terminal block area of field devices.
In one aspect of the present invention, terminal leakage is detected by measuring a voltage ratio value based on a comparison of a terminal voltage variation value and a current regulator voltage variation value. Terminal leakage is determined by comparing the voltage ratio value with a previously measured voltage ratio value.
While the above-identified drawings set forth an embodiment of the invention, other embodiments are also contemplated, as noted in the discussion. In all cases, this disclosure presents the invention by way of representation and not limitation. It should be understood that numerous other modifications and embodiments may be devised by those skilled in the art, which fall within the scope and spirit of the principles of the invention. The figures may not be drawn to scale. Like reference numbers have been used throughout the figures to denote like parts.
Terminal block 17 includes threads that allow a cover 21 to be placed over terminal block 17. Ideally, housing 12 and cover 21 act to protect terminals 18a and 18b from environmental factors, such as fluid accumulation in terminal block 17. Despite these efforts, fluids do on occasion accumulate within terminal block 17. Because the presence of fluid between terminals 18a and 18b can adversely affect communication between field device 10 and a control room (shown in
Communication chipset 28 communicates with the control room, in one embodiment, by regulating current provided to terminals 18a and 18b between 4-20 mA, wherein the magnitude of the current provided by communication chipset 28 represents the magnitude of the sensed process variable. In addition, communication chipset 28 may communicate with the control room by superimposing a digital signal over the standard 4-20 mA signal (i.e., using a protocol known as the HART protocol). The digital signal is communicated by modulating the 4-20 mA signal by ±0.5 mA. In another embodiment, instead of analog communication using a 4-20 mA current regulation, field device 10 communicates digitally with the control room using a protocol known as Foundation Fieldbus. Much of this disclosure describes an embodiment in which field device 10 communicates with the control room via a standard 4-20 mA analog signal, although the present invention is applicable to embodiments that employ digital communication as well.
Current regulator circuit 30 regulates the current generated through resistor R0 based on the inputs received at input terminals VTXA and VMSB. The signal provided by microprocessor 26 to input terminal VMSB represents the sensed process variable, and the magnitude of the signal provided to input terminal VMSB dictates the magnitude of the 4-20 mA current provided through resistor R0. That is, current regulation circuit 30 varies the current provided through resistor R0 between 4 mA and 20 mA based on the signal provided at input terminal VMSB.
In addition to the 4-20 mA analog current regulation provided by current regulator circuit 30 based on an input representative of the sensed process variable, current regulator circuit 30 may also regulate the current through resistor R0 to communicate a digital signal to the control room. The digital signal is communicated by modulating the analog 4-20 mA signal by ±0.5 mA (i.e., implementing the HART digital communication protocol). In this example, the digital signal is provided to current regulation circuit by microprocessor 26 at terminal VTXA.
For both the analog 4-20 mA signal and the digital ±0.5 mA signal, knowledge of the total resistance between output terminals +PWR and −PWR allows current regulator circuit 30 to generate the correct current magnitude through resistor R0. In particular, current regulator circuit 30 determines the proper voltage to place across resistor R0 such that the proper 4-20 mA current is generated between output terminals +PWR and −PWR. As shown in
The current path created between field device 10 and control room 32 is referred to as the current loop Iloop. Field device 10 is represented by field terminals 18a and 18b, and current regulation circuitry 30 responsible for regulating loop current Iloop to a magnitude proportional to the measured process variable. Current regulation circuitry 30 (shown in more detail in
Terminal device 10 receives power from power source VC, which provides approximately 20-25 volts to the twisted wire pair and terminal device 10. Current regulation circuit 30 regulates the current through resistor R0 (as described with respect to
As shown in
Using Kirchoff's voltage law, a relationship between the terminal voltage VX (i.e., the voltage between terminals 18a and 18b) and the current regulation voltage V0 (i.e., the voltage generated across resistor R0 by current regulator circuit 30) can be related by the following formula.
The terminal voltage VX and current regulation voltage V0 are expressed as voltage variations δVX and δV0, respectively. The voltage variation value represents the difference between the voltage at a maximum value and at a minimum value (e.g., δVX=VX
I3=I1+I2 Equation 2
Current regulation circuit 28 regulates the current through resistor R0 to be proportional to the process variable measured by field device 10. Therefore, current regulation component I1 represents the process variable measured by field device 10. However, the presence of terminal leakage current component I2 results in the magnitude of the control room/loop current component I3 being greater than the current regulation component I1. The difference in magnitude between the current regulation component I1 and the control room/loop current I3 results in control room 32 misinterpreting the value of the measured process variable.
Once again, using Kirchoff's voltage law, the relationship between the terminal voltage VX and the current regulation voltage V0 is defined by the following equation:
Terminal voltage VX and current regulation voltage V0 are expressed as voltage variations δVX and δV0. A comparison between Equations 1 and 3 indicates that if the ratio between terminal voltage variation δVX and the current regulation voltage variation δV0 can be measured, then the terminal leakage resistance RX can be determined. In one embodiment, the following method is used to determine the terminal leakage value RX. For purposes of this explanation, the voltage variation ratio between VX and V0 is represented as a dimensionless parameter κ. For the case without terminal leakage, this parameter can be expressed by the following equation:
In this equation, the term ‘gA’ refers to the conductance value associated with the current loop outside of field device 10 and the term ‘g0’ refers to the conductance of the resistor R0 shown in
For the case in which terminal leakage is present, the dimensionless parameter κt is expressed as a conductance by the following equation:
In this equation, the term ‘gX’ represents the conductance of the terminal leakage resistor shown in
Based on Equations 4 and 5, the leakage conductance can be expressed by the following equation:
gX=(κt−κ0)*g0 Equation 6
Therefore, Equation 6 states that if the ratio of terminal voltage variation δVX to current regulation voltage variation δV0 can be measured in an initial state, when no leakage resistance is present, subsequent measurements of this ratio (along with the known conductance of resistor RO) can be used to calculate the leakage resistance (or conductance) between field device terminals 18a and 18b.
As discussed with respect to
Current regulator circuit 30 is connected to receive input from microprocessor 26, and to regulate the current provided to terminals 18a and 18b. As discussed with respect to
Voltage ratio calculator 38 is connected to monitor the terminal voltage VX provided between terminals 18a and 18b, and the current regulation voltage V0 generated across current regulation resistor R0 within current regulator circuit 30. Based on the monitored terminal voltage VX and the current regulation voltage V0, voltage ratio calculator 38 calculates a voltage variation ratio κ (as shown in
In one embodiment, microprocessor 26 stores the calculated voltage variation ratio κ. In another embodiment, microprocessor provides the calculated voltage variation ratio κ to current regulator circuit 30, and instructs current regulator circuit 30 to communicate the calculated value to control room 32 using a digital communication protocol.
As discussed above, the calculation of an initial voltage variation value κ0 and subsequent voltage variation values κt allows the terminal leakage existing between terminals 18a and 18b to be determined.
Modulating the loop current by ±0.5 mA causes voltage variations in both the terminal voltage VX and the current regulation voltage V0 (illustrated in
The one-bit stream of 1's and 0's, known as pulse coded modulation (PCM), is provided to SINC filter 42. Based on the PCM stream of 1's and 0's, SINC filter 42 converts this stream into a digital value representing the ratio of terminal voltage variation δVX to current regulation voltage variation δV0. This ratio is represented by the dimensionless parameter κ. The measured κ parameter can then be communicated along typical digital communication means to microprocessor 26. Microprocessor may either store the calculated parameter locally, or may instruct current regulator 30 to communicate the calculated parameter to control room 32.
At step 52, the initial dimensionless parameter κ0 is stored to memory. Field device 10 may store the κ0 value locally or may communicate the κ0 to control room 32, which would then store the κ0 value.
At step 54, at some time subsequent to the initial measurement of the κ0 value, field device 10 makes a secondary measurement of the ratio between terminal voltage VX and current regulation voltage V0, referred to as κt. The measurement of the κt value may be in response to an instruction received from control room 30, or may be done periodically by field device 10 to ensure no terminal leakage exists between terminals 18a and 18b of field device 10.
At step 56, the subsequent voltage variation value κt is stored to memory. Once again, the voltage variation value κt may be stored locally on field device 10, or may be communicated to control room 32 for storage.
At step 58, based on the initial measurement of the voltage variation parameter κo, and the subsequent measurement of the voltage variation parameter κt, the leakage resistance or conductance gX can be estimated using equation 6. This calculation may be performed locally by microprocessor 26, or the measured κt parameter may be communicated to control room 32, which would then perform the calculation of the leakage resistance.
At step 60, based on the calculated leakage conductance gX, a decision is made whether the leakage conductance is sufficiently high to cause distortion of the signal being provided by field device 10. That is, the calculated leakage conductance may be compared to a threshold value to determine whether a notification or alarm should be sounded with respect to field device 10.
For purposes of putting this experiment in context, the experimental setup shown in
In this experiment, modem 68 and PC 70 were employed to set the loop current through the 270Ω resistor to different values. The voltage variations δVX and δV0 for each current value were measured by measuring the resulting voltage VX and V0 with the current set 0.5 mA above the selected current value and then measuring the resulting voltage VX and V0 with the current set 0.5 mA below the selected current value. By subtracting the first measured value of terminal voltage VX and current regulation voltage V0 from the second measured value of terminal voltage VX and current regulation voltage V0, respectively, the voltage variation δVX and δV0 is determined. The ratio κ is determined by dividing the voltage variation δV0 by the voltage variation δVX. This method of determining the voltage variation is employed only for the purposes of this experiment. Actual implementation in a field device would vary. For example, as discussed with respect to
Table 1 (shown below) illustrates the resulting measurements and calculations performed for the case without leakage (i.e., when leakage resistor RX is removed from the configuration). The first column indicates the loop current set by modem 68 and PC 70. The second column shows the resulting voltage variations δV0 calculated with respect to the corresponding loop current shown in the first column. The third column shows the resulting voltage variations δVX calculated with respect to the corresponding loop current shown in the first column. The fourth column shows the resulting voltage variation ratio, κ0, and is calculated based on the measured voltage variations shown in the second and third columns.
Table 2 illustrates measurements made following the connection of the leakage resistor RX (1350Ω) between field terminals 72a and 72b, emulating the presence of leakage resistance between the field terminals. Once again, the current through resistor R0 is set by modem 68 and PC 70 at three different values, and corresponding voltage variation values were measured for each value. Based on the measured voltage variations, the dimensionless parameter κt, is calculated by dividing the voltage variation value δV0 by δVX.
Table 3 illustrates the calculation of leakage resistance (known in this experiment to be approximately 1350Ω) using the calculated values of κ0 and κt listed in the fourth column of tables 1 and 2 and equation 6 from above, reproduced here for simplicity.
gX=(κt−κ0)*g0 Equation 6
Table 3 illustrates that for each value of loop current provided, an accurate prediction of the leakage resistance was calculated using Equation 6. Therefore, not only did the above experiment indicate that the present invention is suitable for detecting and quantifying leakage resistance between the terminals of a field device, but that the calculation of the leakage resistance is not dependent on the magnitude of the loop current. The use of voltage variations (δV0 and δVX) makes the calculation of terminal leakage independent of external factors such as variations in the supply power and variations in the loop current. That is, setting the loop current to 5.0±0.5 mA results in approximately the same calculation of leakage resistance as setting the loop current to 19.0±0.5 mA (1408Ω vs. 1358Ω). Therefore, no special information regarding the present status or value of the loop current is required in order to measure and determine the leakage resistance.
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 particular, the present invention has been described with respect to a field device that communicates with a control room by modulating a 4-20 mA loop current based on a sensed process variable. In other embodiments, the present invention could be implemented in conjunction with field devices that communicate using only a digital communication protocol (such as Foundation Fieldbus).
Number | Name | Date | Kind |
---|---|---|---|
4382382 | Wang | May 1983 | A |
4796186 | Kaufman | Jan 1989 | A |
5083091 | Frick et al. | Jan 1992 | A |
5481200 | Voegele et al. | Jan 1996 | A |
6058775 | Levy | May 2000 | A |
6611775 | Coursolle et al. | Aug 2003 | B1 |
20050289276 | Karschnia et al. | Dec 2005 | A1 |
20060170579 | Ohnhaeuser et al. | Aug 2006 | A1 |
Number | Date | Country | |
---|---|---|---|
20080158754 A1 | Jul 2008 | US |