Not Applicable.
Not Applicable.
Not Applicable.
This invention relates to process control instruments, and more particularly, to a two-wire, loop powered instrument with terminal power diagnostics.
Process control systems require the accurate measurement of process variables. Typically, a primary element senses the value of a process variable and a transmitter develops an output having a value that varies as a function of the process variable. For example, a level transmitter includes a primary element for sensing level and a circuit for developing an electrical signal proportional to sensed level.
An electrical transmitter must be connected to an electrical power source to operate. One form of such a transmitter, known as a four-wire transmitter, includes two terminals for connection to a power source and two terminals for carrying an output signal proportional to the process variable. This signal can be used as an input to a controller or for purposes of indication. Because the instrument is connected directly to a power source independent from the output signal, power consumption is a less critical factor in design and use of the same.
The use of a four-wire transmitter, as discussed above, requires the use of four conductors between the transmitter and related loop control and power components. Where transmitters are remotely located, such a requirement can be undesirable owing to the significant cost of cabling. To avoid this problem, instrument manufacturers have strived to develop devices known as two-wire, or loop powered, transmitters. A two-wire transmitter includes two terminals connected to a remote power supply. The transmitter loop current, drawn from the power supply, is proportional to the process variable. A typical instrument operates off of a 24 volt DC power supply and varies the signal current in the loop between four and twenty milliamps (mA) DC. Thus, the instrument must operate with current less than four milliamps.
The operation of a two-wire transmitter is dependent on the power supply and the loop resistance between the power supply and the two-wire transmitter. As transmitters become more complicated and require increased power for successful operation, it has become critical that the transmitter be able to diagnose power supply problems to prevent erroneous indication of the process conditions.
Particularly, the available power and loop resistance can change over time. As current increases, if the power drops due to high resistance, then the transmitter may fail. Changes can occur if additional transmitters are added to the power supply circuit, or may result, for example, from contact resistance changes such as from terminals vibrating loose.
With known two-wire transmitters the performance can degrade due to insufficiency of terminal power. Testing can be performed manually to confirm that there is a sufficient supply. However, testing may not always be convenient.
The present invention is directed to solving one or more of the problems discussed above in a novel and simple manner.
In accordance with the invention, a transmitter monitors terminal voltage to monitor the supply condition.
There is disclosed in accordance with one aspect of the invention a loop powered process instrument comprising a signal processing circuit measuring a process variable and developing a measurement signal representing the process variable. A control system, for connection to a power supply using a two-wire process loop, controls current on the loop in accordance with the measurement signal. The control system implements a diagnostic function comprising selectively controlling loop current at first and second select current levels and measuring terminal voltage at each of the first and second select current levels to determine if power supply voltage is at a select voltage level.
There is disclosed in accordance with another aspect of the invention a two-wire transmitter with terminal power diagnostics comprising a signal processing circuit measuring a process variable and developing a measurement signal representing the process variable. A control system includes a programmed processor for receiving the measurement signal and developing a current output signal. A two-wire circuit is provided for connection to a power supply using a two-wire process loop. The two-wire circuit controls current on the loop in accordance with the current output signal. The control system implements a diagnostic function comprising selectively controlling the loop current signal at first and second select current levels and measuring terminal voltage at each of the first and second select current levels to determine if power supply voltage is at a select voltage level.
It is a feature that the control circuit comprises a digital to analog converter circuit between the programmed processor and the two-wire circuit.
It is another feature that the diagnostic function is implemented at start up.
It is a further feature that the control system uses loop current and terminal voltage to determine loop resistance. The control system uses loop current, terminal voltage and loop resistance to determine supply voltage.
It is another feature that the control system comprises a loop feedback circuit to measure loop current and a power feedback circuit to measure terminal voltage.
It is yet another feature that the control system comprises a display for displaying a low supply voltage warning message if power supply voltage is below the select voltage level.
It is an additional feature that the control system transmits a fault message on the loop if power supply voltage is below the select voltage level.
It is an additional feature that the control system controls loop current at a safe fault condition if power supply voltage is below the select voltage level.
Other features and advantages will be apparent from a review of the entire specification, including the appended claims and drawings.
Referring to
The process instrument 20 includes a control housing 22, a probe 24, and a connector 26 for connecting the probe 24 to the housing 22. The probe 24 is mounted to a process vessel (not shown) using a flange 28. The housing 22 is then secured to the probe 24 as by threading the connector 26 to the probe 24 and also to the housing 22. The probe 24 comprises a high frequency transmission line which, when placed in a fluid, can be used to measure level of the fluid. Particularly, the probe 24 is controlled by a controller, described below, in the housing 22 for determining level in the vessel.
As described more particularly below, the controller in the housing 22 generates and transmits pulses on the probe 24. A reflected signal is developed off any impedance changes, such as the liquid surface of the material being measured. A small amount of energy may continue down the probe 24.
Guided wave radar combines TDR, ETS and low power circuitry. TDR uses pulses of electromagnetic (EM) energy to measure distanced or levels. When a pulse reaches a dielectric discontinuity then a part of the energy is reflected. The greater the dielectric difference, the greater the amplitude of the reflection. In the measurement instrument 20, the probe 24 comprises a wave guide with a characteristic impedance in air. When part of the probe 24 is immersed in a material other than air, there is lower impedance due to the increase in the dielectric. Then the EM pulse is sent down the probe it meets the dielectric discontinuity, a reflection is generated.
ETS is used to measure the high speed, low power EM energy. The high speed EM energy (1000 foot/microsecond) is difficult to measure over short distances and at the resolution required in the process industry. ETS captures the EM signals in real time (nanoseconds) and reconstructs them in equivalent time (milliseconds), which is much easier to measure. ETS is accomplished by scanning the wave guide to collect thousands of samples. Approximately eight scans are taken per second.
Referring to
The controller 30 may have the capability of implementing digital communications through the two-wire circuit 44 with remote devices and the outside world. Such communication preferably uses the HART protocol, but could also use fieldbus protocols such as Foundation Fieldbus or Profibus PA.
The microprocessor 36 is also connected to a signal processing circuit 46 of the analog circuit 34. The signal processing circuit 46 is in turn connected via a probe interface circuit 48 to the probe 24. The probe interface circuit 48 includes an ETS circuit which converts real time signals to equivalent time signals, as discussed above. The signal processing circuit 44 processes the ETS signals and provides a timed output to the microprocessor 36, as described more particularly below.
The general concept implemented by the ETS circuit is known. The probe interface circuit 48 generates hundreds of thousands of very fast pulses of 500 picoseconds or less rise time every second. The timing between pulses is tightly controlled. The reflected pulses are sampled at controlled intervals. The samples build a time multiplied “picture” of the reflected pulses. Since these pulses travel on the probe 24 at the speed of light, this picture represents approximately ten nanoseconds in real time for a five-foot probe. The probe interface circuit 48 converts the time to about seventy-one milliseconds. As is apparent, the exact time would depend on various factors, such as, for example, probe length. The largest signals have an amplitude on the order of twenty millivolts before amplification to the desired amplitude by common audio amplifiers. For a low power device, a threshold scheme is employed to give interrupts to the microprocessor 36 for select signals, namely, fiducial, target, level, and end of probe, as described below. The microprocessor 36 converts these timed interrupts into distance. With the probe length entered through the display/push button interface 40, or some other interface, the microprocessor 36 can calculate the level by subtracting from the probe length the difference between the fiducial and level distances.
In accordance with the invention, the digital circuit 32 defines a control system 52 for controlling operation of the instrument 20 to measure level using the programmed processor 36. The control system 52 implements a diagnostic function to selectively monitor terminal power. In use, the controller 30 is connected in a “loop” 54 to the power supply 50, see
Particularly, and with reference to
To monitor the supply condition the control system 52 uses feedback circuits to monitor the voltage at the power terminals 56. A voltage feedback circuit 60, see
Referring to
As described herein, the microprocessor 36 operates in accordance with a terminal power diagnostics (TPD) program to monitor the supply conditions at the power terminals 56. The TPD program makes use of terminal power to assess the system set-up. By testing two terminal voltages at two different loop currents, the controller 30 can evaluate the unit's power supply 52 and loop resistance R-LOOP, as shown below.
The loop resistance external to the unit can be calculated with the following equation:
R-LOOP=(V-TERM-1−V-TERM-2)/(I-LOOP-2−I-LOOP-1).
The supply voltage available to the transmitter 20 is calculated using the following equation:
V-supply=V-TERM-1+I-LOOP-1*R-LOOP.
Referring to
The program then evaluates the operation over a normal range of loop current, represented by the first and second current levels, at a block 88. This may comprise, for example, comparing the value V-SUPPLY to a select voltage level. A decision block 90 determines if the range is OK. If so, then the diagnostic is complete. If not, then a diagnostic warning or fault message is output at a block 92. The diagnostic may comprise a warning displayed on the display 40. Alternatively, a fault message can be communicated over the two-wire loop 54 to the external control system. Also, if the loop current falls out of control, then the control system 52 can create a fault message and take the loop current to a safe fault condition.
With the monitored values the control system 52 can make calculations to assure that the control circuit 30 will always operate properly. With this knowledge the control system 52 warns the customer of the potential for improper operation even before the system exhibits improper behavior. This feature allows the customer to adjust supply voltage or loop resistance to avoid failure of the system during operation. Since these tests are performed at initial power up, most applications will receive this warning during commissioning of the system before a failure could cause critical problems.
It will be appreciated by those skilled in the art that there are many possible modifications to be made to the specific forms of the features and components of the disclosed embodiments while keeping within the spirit of the concepts disclosed herein. Accordingly, no limitations to the specific forms of the embodiments disclosed herein should be read into the claims unless expressly recited in the claims. Although a few embodiments have been described in detail above, other modifications are possible. For example, the logic flows depicted in the figures do not require the particular order shown, or sequential order, to achieve desirable results. Other steps may be provided, or steps may be eliminated, from the described flows, and other components may be added to, or removed from, the described systems. Other embodiments may be within the scope of the following claims.