WO1988001417A1 - Analog transducer circuit with digital control - Google Patents

Analog transducer circuit with digital control Download PDF

Info

Publication number
WO1988001417A1
WO1988001417A1 PCT/US1987/001942 US8701942W WO8801417A1 WO 1988001417 A1 WO1988001417 A1 WO 1988001417A1 US 8701942 W US8701942 W US 8701942W WO 8801417 A1 WO8801417 A1 WO 8801417A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmitter
analog
digital
signal
output
Prior art date
Application number
PCT/US1987/001942
Other languages
French (fr)
Inventor
Roger L. Frick
Original Assignee
Rosemount Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rosemount Inc. filed Critical Rosemount Inc.
Priority to EP87905408A priority Critical patent/EP0328520B1/en
Priority to DE3752283T priority patent/DE3752283D1/en
Publication of WO1988001417A1 publication Critical patent/WO1988001417A1/en

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • G08C19/02Electric signal transmission systems in which the signal transmitted is magnitude of current or voltage

Definitions

  • the present invention relates to transmitters.
  • a two wire transmitter includes a pair of terminals which are connected in a current loop together with a power source and a load.
  • the two wire transmitter is powered by the loop current flowing through the current loop, and varies the magnitude of the loop current as a function of a parameter P or condition which is sensed.
  • Three and four wire transmitters have separate leads for supply current and output current.
  • This adjustability is typically provided by a zero potentiometer and a span potentiometer which provide variable resistances which can be set by the technician during calibration of the transmitter.
  • Temperature compensation circuitry is typically provided, and often involves the use of additional resistance adjustments.
  • the present invention relates to a transmitter in which analog correction signals are provided based upon stored digital correction values.
  • the transmitter includes means for producing an analog signal which varies as a function of the sensed parameter, and means for controlling magnitude of the loop current as a function of the analog signal and the analog correction signals.
  • the digital correction values are stored and are converted to analog correction signals for use in controlling magnitude of the loop current.
  • the transmitter is a two wire transmitter including digital-to-analog (D/A) converter means for converting digital inputs to analog correction signals.
  • Digital computer means provide the digital inputs to the D/A converter means based upon the stored digital correction values.
  • the D/A converter means produces . . pulse-width modulated output signals having duty cycles which are a function of the digital inputs.
  • the pulse width modulated output signals are then converted to the analog correction signals, so that the analog correction signals have magnitudes which are a function of the stored digital correction values.
  • the present invention also preferably includes correction input means for providing input signals to the digital computer means. These input signals cause the digital computer means to change the digital correction values. As a result, the calibration of the transmitter can be performed quickly and easily with high precision.
  • the correction input means can take various forms and typically requires minimal external connections to the transmitter.
  • Fig. 3 is a perspective view of an "electronic screwdriver" input device for the two wire transmitter of the present invention.
  • Fig. 4 is an electrical schematic diagram of the electronic screwdriver input device of Fig. 3.
  • Fig. 5 is an electrial schematic diagram of another embodiment of an input device for communication with the two wire transmitter of the present invention.
  • Fig. 6 is a block diagram of another embodiment of the two wire transmitter of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • two wire transmitter 10 of the present invention has a pair of terminals 12 and 14 which are connected in a two wire current loop.
  • the loop current I ⁇ enters through terminal 12 and exits through terminal 14.
  • the magnitude of I is controlled by current control 16 so that the magnitude of I viewing angle;
  • Voltage regulator 20 establishes potentials V+, VREF' and V-, which are used as supply and reference voltages by all of the remaining circuitry of transmitter 10.
  • Current control 16 controls current I ⁇ based upon a comparison of signal V 5 with reference voltage v ⁇ * v g * s produced by integrator circuit 22 based upon a sensor signal from sensor 18, a pulse width modulated span adjusted feedback signal (FB/SPAN) from analog switch array 24, and a pulse width modulated zero signal (ZERO PWM) from digital-to-analog converter (D/A) 26.
  • FB/SPAN pulse width modulated span adjusted feedback signal
  • ZERO PWM pulse width modulated zero signal
  • sensor 18 is a variable reactance sensor which is driven by drive/clock circuit 30.
  • drive/clock circuit 30 also provides a clock signal (CLOCK) to D/A converter 26 and a lower frequency clock signal (CLOCK2) to microcomputer 32.
  • CLOCK clock signal
  • Microcomputer 32 receives input data from communication input circuit 34 and stored digital values from memory 36. Also associated with microcomputer 32 is watchdog timer 38.
  • Transmitter 10 provides span, zero, temperature correction and third order linearity analog correction signals based upon digital correction values stored in memory 36.
  • Microcomputer 32 controls D/A converter 26 as a function of the digital correction values by providing digital inputs to D/A converter 26.
  • D/A converter 26 is a multi-channel digital-to-analog converter which is driven by the CLOCK signal and which provides pulse width modulated outputs which have duty cycles based upon corresponding digital inputs received from microcomputer 32.
  • D/A converter 26 has eight output channels, three which are used for zero correction (ZEROPWM), three which are used for span (SPANPWM), one which is provided to drive/clock circuit 30 through thermistor network 31 to provide span temperature compensation (STCPWM) and one which is provided to analog switch array 24 to provide third order linearity corrections (3LINPWM).
  • the ZEROP M outputs from D/A 'converter 26 are provided to integrator circuit 22 where they are integrated and combined to form.a part of signal V .
  • the three SPANPWM outputs are provided to analog switch array 24, where they are combined with the feedback signal ( v pn ) from feedback circuit 28. The result is three signals which represent the feedback signal pulse width modulated in accordance with the three SPANPWM outputs. These three combined feedback/span signals (FB/SPAN) are provided to integrator circuit 22.
  • the third order linearity pulse width modulated signal (3LINPWM) is combined with a signal from drive/clock circuit 30 by analog switch array 24 to produce a signal (3LIN) which is fed back to drive/clock circuit 30.
  • the 3LIN signal is used to control the average frequency of the drive signal supplied to sensor 18 to achieve third order linearity correction of the sensor signal.
  • Communication input circuit 34 provides means by which a technician can communicate with microcomputer 32 to change the digital correction values stored in memory 36.
  • Communication input circuit 34 can take a variety of forms, including magnetically actuated reed switches shown at 35 which are activated with a magnet 37 from outside of the transmitter by the technician. In this embodiment, no external calibration devices are required, since the magnetic signals can be sent directly through the housing of the transmitter.
  • Communication input circuit 34 is, in another embodiment, a multi-terminal connector which connects an external device (such as the devices shown in Figs. 3-5) with microcomputer 32 *
  • communication ' input circuit 34 is connected to the terminals 12 and 14 to sense encoded data which is superimposed on the loop current I ⁇ .
  • communication input circuit 34 includes circuitry for converting the superimposed signals to a format which can be accepted by microcomputer 32.
  • a comparator circuit 39 compares V FB to V REF an( ⁇ provides signals to microcomputer 32 representative of zero and full scale current levels so that the microcomputer 32 can make automatic zero and span adjustments of the output current I ⁇ -
  • the transmitter 10 shown in Fig. 1 eliminates the need for resistive potentiometers or other variable or precisely selected circuit components in order to provide calibration. Instead, the present invention uses microcomputer 32 to simply operate on D/A converter 24 to produce analog correction signals which are then used by the analog signal processing circuitry of two wire transmitter 10. This provides high accuracy in the corrections which are made, without the need for high precision electrical components. In addition, the use of digital values stored in memory 36 provides much greater stability than would be achieved using conventional potentiometers.
  • Transmitter 10 of the present invention also has significant advantages over approaches where the signal is converted from analog to digital, is corrected, and then is converted back to an analog signal.
  • the output is not subject to aliasing errors because the analog sensor signal is never sampled.
  • the output of transmitter 10 is continuous and does not have resolution limits due to quantization.
  • microcomputer 32 is not involved in real time measurement and therefore can be run at a very low frequency. This reduces the power requirements of microcomputer 32, which is an important consideration in low power, two wire transmitter circuitry.
  • microcomputer 32 is not involved in the real time measurement process, but simply provides digital values to D/A converter 26 based upon stored correction values in memory 36, it can be used for other tasks such as communications.
  • the microcomputer 32 can thus calculate digital values provided to the D/A converter at a low speed or rate compatible with low power consumption while the analog output can provide the output at a faster rate. Since the microcomputer 32 does not perform real-time calculation of the output, the rate at which the microcomputer 32 updates the D/A converter 26 does not limit the speed of the output. Also, since the sensor current Is is not sampled by the processor, aliasing (also known as heterodyning or beating) between the sensed parameter and the sampling rate are avoided. This will be discussed further in relation to the embodiment shown in Fig. 6.
  • Figs. 2A and 2B is an electrical schematic diagram showing the transmitter 10 of Fig. 1 in further detail.
  • Current control 16 is formed by diode 40, PNP transistor 42, and operational amplifier (op amp) 44.
  • Diode 40 has its anode connected to terminal 12 and its cathode coupled to the emitter of transistor 42.
  • Diode 40 provides reverse polarity protection in the event that the voltage across terminals 12 and 14 is inadvertently reversed.
  • terminal 12 is the more positive terminal (designated with a "+") and terminal 14 is the more negative terminal (designated by a "-"), so that the flow of loop current I ⁇ is into terminal 12 and out of terminal 14.
  • the current flowing through current control transistor 42 is controlled by op amp 44, which is part of an LM10 integrated circuit 45 manufactured by National Semiconductor.
  • Op amp 44 receives a reference voltage V--- at its inverting (-) input and the variable signal V at it noninverting (+) input.
  • the output of op amp 44 drives the base of transistor 42 to achieve a balance condition in which V and V_ £p are substantially equal.
  • Zener diode 49 and resistors 51 and 53 provide cutrent limiting of the output stage to prevent excess current output and prevent oscillations.
  • Voltage regulator 20 includes operational amplifier 46, band-gap circuit 47, resistors 48, 50 and 52 and capacitors 54, 56, and 58. Comparator 46 and band gap reference 47 are part of the LM10 integrated circuit 45.
  • Voltage regulator 20 establishes a constant potential between line 60 and line 62. As shown in Figs. 1 and 2, line 60 is designated as V+ and line 62 as V-. The potential between lines 60 and 62 is, in one embodiment, five volts. Resistors 48, 50 and 52 form a voltage divider between lines 60 and 62 to provide the reference voltage V-___> n ⁇ 3 to provide a feedback voltage to operational amplifier.46. Capacitors 54, 56 and 58 are bypass capacitors which help stablize the operation of voltage regulator 20.
  • Integrator circuit 22 includes resistors 64, 66, 68, 70, 72, 74 and 76 and capacitor 78. Integrating capacitor 80 and resistor 81 provide A.C. feedback to stabilize the loop.
  • the sensor current I 5 is summed, at node 82, with three span adjusted feedback currents from analog switch 24 and three pulse width modulated zero currents from D/A converter 26.
  • the summed current is filtered by capacitor 178 and then provided to the RC integrator formed by resistors 76 and 81 and capacitor 80 to produce voltage V at the noninverting input of op amp 44.
  • Feedback circuit 28 includes resistors 84, 86, 88, 90 and 92 and op amp 94.
  • Resistor 84 is connected between line 62 and terminal 14, and acts as the current feedback resistor.
  • the voltage established across resistor 84 is converted by resistors 86, 88, 90 and 92 and op amp 94 to produce a voltage V pB which is supplied to input terminals of analog switches 96, 98, and 100 of analog switch array 24.
  • analog switch array 24 is preferably a type CD4066B integrated circuit analog switch array made by RCA having four analog switches 96, 98, 100 and 102.
  • switches 96, 98 and 100 are connected to outputs of D/A converter 26 which provide individual pulse-width-modulated span signals.
  • the outputs of switches 96, 98 and 100 are connected through resistors 64, 66 and 68, respectively, to summing node 82.
  • the results are three individual feedback currents which are a function of a feedback voltage V FB modulated by the individual pulse width modulated span signals.
  • D/A converter 26 is a type uA9706 multi-channel digital-to-analog converter made by
  • Each output channel has six bits resolution. To provide very high span and zero resolution, three weighted outputs are used for span and three weighted outputs for zero. The weighting of the channel is a 2 relationship (or 64 to 1). Three channels thus provide 18 bit resolution. The weighting of the channels is set by selection of the resistances of resistors 64, 66, 68, 70, 72 and 74.
  • the three pulse width modulated span signal are individually controlled, as are the three pulse width modulated zero signals.
  • sensor 18 is an AC reactance type differential pressure sensor cell, which has a pair of capacitors Cl and C2, at least one of which is variable in response to a parameter such as pressure.
  • a drive signal is received at the center plate of capacitors Cl and C2, and a rectifying circuit formed by diodes 106, 108, 110, and 112 derive a sensor signal I s which is supplied to node 82 of integrator circuit 22 and currents I, and I_ which are used by drive/clock circuit 30 in controlling the drive signal supplied to capacitors Cl and C2.
  • Drive/clock circuit 30 maintains the drive to sensor 18 so that the product of the average frequency f, the peak to peak voltage V , and the sum of the capacitances
  • Drive/clock circuit 30 includes a system clock 114 formed by NAND Schmitt trigger gate 116, resistor 118, crystal 119 and capacitor 120 which provides clock signals for D/A converter 26, microcomputer 32, as well as for drive/clock circuit
  • the output of NAND gate 116 is supplied to one input of Schmitt trigger NAND gate 122.
  • the output of gate 122 is connected through resistor 124 and capacitor 126 to the center plate of sensor capacitors Cl and C2.
  • the output of gate 122 therefore, represents ⁇ the drive signal which is controlled in accordance with Eq. 1.
  • the average frequency of the drive signal is controlled by selectively dropping out pulses from the clock signal supplied by system clock 114 to gate 122.
  • This control signal is provided by the circuitry which includes op amps 128 and 130, diodes 132, 134, and 136, resistors 138, 140, 142, 144, 146, 150, 152, 154, and 156, and capacitors 158, 160, 162, 164, 166, 168, and 170 and temperature sensitive resistor network 148.
  • Span temperature compensation is provided by applying the desired PWM voltage signal to temperature sensitive resistor network 148. This provides a correction current to node 171 at op-amp
  • a signal from node 172 (which is the junction of resistor 138 and capacitor 160) is supplied to the input terminal of analog switch 102.
  • the state of switch 102 is controlled by an output from D/A converter 26, which represents a pulse width modulated signal having a duty cycle representative of a desired amount of third degree linearization.
  • the output of switch 102 is fed back through resistors 140 and 142 to node 171.
  • D/A converter 26, microcomputer 32, and the drive for sensor 18 all are derived from a common clock signal produced by system clock 114. This eliminates possible alias or beat frequencies which could occur if microcomputer 32 were operating on a separate clock from that of the drive circuit.
  • the system clock signal is provided " directly to the clock input of D/A converter 126. In the case of microcomputer 32, however, the system clock is divided by counter 174 to produce a lower frequency clock signal (CL0CK2) to the microcomputer 32.
  • CL0CK2 lower frequency clock signal
  • One of the advantages of the transmitter of the present invention is that microcomputer 32 does not perform computations or control functions in real time, and therefore the CLOCK2 signal can be relatively low frequency. This reduces the power requirements of microcomputer 32, which is an important consideration in a two wire transmitter which is powered solely by the loop current I- .
  • Microcomputer 32 preferably comprises a type COP326C made by National Semiconductor.
  • Watchdog timer 38 is formed by Schmitt NAND gate 176, diodes 183 and 185, capacitor 178, and resistors 180 and 181. Watchdog timer 38 resets microcomputer 32 if it does not receive a signal from microcomputer 32 within a predetermined time period. In addition, watchdog timer 38 resets microcomputer 32 when the power is first turned on. Microcomputer 32 receives digital correction values from non-volatile memory 36 over the serial input (SI) line and provides digital values to D/A converter 26 over its serial output (SO) line. Inverter 182 provides compatability between microcomputer 32 and D/A convertor 26. Microcomputer 32 couples chip select (CS, CS1, CS2, CS3) signals to access D/A 26, memory 36, and communication circuit 34.
  • CS chip select
  • microcomputer 32 receives input values over the serial input line from communication input 34 (which in this embodiment is a multi-pin connector), and writes new digital correction values into memory 36 over the serial output line.
  • communication input 34 which in this embodiment is a multi-pin connector
  • transmitter 10 of the present invention offers significant advantages even if adjustment by a technician of correction factors such as span and zero is not provided (i.e. the digital values stored in memory 36 are factory set), it is desirable to have a low cost device which would allow the technician to adjust and configure two wire transmitter 10 in the field.
  • Previously available hand held terminals used with conventional two wire transmitters typically have been bulky and expensive.
  • Figs. 3 and 4 show a simple device that functions in a manner similar to the potentiometer controls that are familiar to instrument technicians, yet provides digital values to microcomputer 32.
  • Electronic screwdriver 200 has a shank 202 of a electrically nonconductive material having a six contact telephone type connector 204 at its distal end.
  • Rotatable function selecting ring 206 has a window 208 which is aligned with one of eight different functions which can be selected by the technician.
  • the screwdriver body 210 is rotatable about the central axis. At its end, body 210 has a calibration scale 212 which runs from zero to 100 percent. Scale 212 represents the percentage of maximum calibration value being selected by the technician. Also located at the end of body 210 is a push button 214 which is depressed to enter data.
  • electronic screwdriver 200 includes a two channel, serial out, eight bit analog-to-digital (A/D) converter 216 (such as a part number COP432 made by National Semiconductor) which is connected to six contact connector 204 so that when connector 204 is connected to communication input 34 of transmitter 14, A/D converter 216 is powered by battery 217 and communicates with microcomputer 32.
  • A/D converter 216 such as a part number COP432 made by National Semiconductor
  • Function selection ring 206 is coupled to an eight position switch 218 which contains three switch contacts 218A-218C connected through resistors 220, 222, and 224 to channel CHO of A/D converter 216. Resistor 226 is connected between the CHO input and ground. Depending on the particular setting of selector ring 206, one or more of the switch contacts 218A-218C of switch 218 will be closed. When the enter button 214 is pushed, it closes pushbutton switch 228, which provides +5 volts to switch 218. The voltage appearing at the CHO input of A/D converter 216 will depend on the particular switch contacts 218A-218C which are closed. Eight different voltage levels can appear at CHO depending on the position of function selection ring 206.
  • Input channel CHI of A/D converter 216 is connected to a single turn potentiometer 230.
  • the rotation of body 210 changes the setting of potentiometer 230, and thus the voltage appearing at
  • the operator inserts connector 204 into the mating female connector of communication input 34.
  • the technician selects the function desired by rotating the function selection ring 206 until the desired function appears in window 208.
  • the functions which can be selected include COARSE, MEDIUM and FINE ZERO; COARSE, MEDIUM and FINE SPAN; SAVE; and OFF.
  • the enter button 214 is depressed. This closes pushbutton switch 228, which allows A/D converter 216 to read the voltage at CHO.
  • Microcomputer 32 reads CHO and selects the appropriate internal adjustment register in its on-board random access memory (RAM). • The technician then adjusts the calibration value by rotating body 210 until a cursor on button 214 is lined with the desired percentage on scale 212. As body 210 is rotated, data is continuously being provided, in the form of eight bit readings from channel CHI to the selected channel of the D/A converter 26 and the on-board RAM of microcomputer 32. When the adjustment is completed, the technician can select another function by changing the setting of function select ring 206 and again pressing the enter button 214. The technician then again performs the adjust function by rotating body 210 to the desired position and data is stored in the appropriate register by microcomputer 32.
  • the data which has been entered is stored only in the on-board memory of microcomputer 32.
  • the technician To save that data in nonvolatile memory 36, the technician -places the function select ring 206 to the "Save" position and pushes the enter button 214. This signals microcomputer 32 that it should write the data stored in its internal adjustment registers into the appropriate locations of nonvolatile memory 36.
  • the operation is completed, and the electronic screwdriver 200 is disconnected from communication input 34.
  • the OFF function is replaced by a FACTORY CALIBRATE function on function selector ring 206.
  • the operator can select the original factory calibration simply by moving the function selection ring to the FACTORY CALIBRATE position and pressing the enter button 214. This allows the technician to always return the unit to factory calibration regardless of the field adjustments which have been made to calibration.
  • Fig. 5 shows another embodiment of an input device which operates in a manner similar to the electronic screwdriver of Figs. 3 and 4, but provides more complex functions to be performed.
  • a digital interface circuit 240 communicates with microcomputer 32 through a multi-terminal connector 242.
  • the inputs to interface circuit 240 include an enter push button switch 244, function select switch 246, and a digital value input which is preferably an array of BCD or HEX encoded switches used for entering numerical values.
  • function select switch 246 includes "ELEVATE ZERO”, "SUPRESSED ZERO",
  • CHARACTERIZE CELL and CHARACTERIZE CIRCUIT BOARD functions six-character codes from the cell and circuit board assembly are entered using the CHARACTERIZE CELL and CHARACTERIZE CIRCUIT BOARD functions. This permits the microcomputer 32 to produce and store appropriate calibration values to match the cell (i.e. the sensor) to the circuit board.
  • Fig. 6 shows a block diagram of another embodiment of the two wire transmitter of the present invention.
  • two wire transmitter 300 of Fig. 6 controls the loop current I- flowing through terminals 302 and 304 as a function of a parameter sensed by a sensor 306.
  • Analog transducer circuitry • 308 controls the magnitude of loop current I ⁇ as a function of a sensor signal from sensor 306, together with span, zero, linearity, and temperature compensation signals provided by microcomputer 310 through digital-to-analog converter 312.
  • the analog correction values are based upon stored digital correction values which microcomputer 310 obtains from memory 314.
  • clock 316 provides clock signals to microcomputer 310 as well as D/A converter 312.
  • the outputs of D/A converter 312 are pulse width modulated signals having duty cycles which .are determined by digital values provided to D/A converter 312 by microcomputer 310.
  • Transmitter 300 includes a temperature sensing resistor 318. Temperature compensation circuit 320 senses the voltage on temperature sensing resistor 18 and compares that voltage to one output channel of D/A converter 312. The output based on this comparison is provided to microcomputer 310. By changing the digital value provided to D/A converter 312, microcomputer 310 can determine the digital value which causes the output of circuit 320 to change state. That digital value is representative of the sensed temperature. Microcomputer 310 provides appropriate digital values to A/D converter 312 based on the sensed temperature to temperature compensate the analog transducer circuitry 308. This includes a temperature compensation signal output from A/D converter 312, and may also involve adjustment of some or all of the other outputs of A/D converter 308. The constants for this temperature compensation are stored in nonvolatile memory 314.
  • Transmitter 300 includes provision for communication between microcomputer 310 and a remote terminal over the two wires connected to terminals 302 and 304. This communication is achieved by superimposing serial communication signals on the loop current I- flowing through transmitter 300. Incoming communications are detected by communication input detector 322, which converts the fluctuations in the loop signal into serial data supplied to the serial data in port of microcomputer 310. Outbound communications from microcomputer 310 are supplied through communication output circuit 324, which drives the current controller of the analog transducer circuitry 308 to superimpose serial communication signals on the loop current.
  • the remote terminal 307 with which microcomputer 310 communicates is capable of measuring loop current as well as communicating.
  • a diode 309 in the loop can provide a third terminal to the remote terminal 307 for measuring loop current. Current can thus be measured without interrupting the loop current. If desired, this three terminal connection can provide power to remote terminal 307 while still allowing it to monitor transmitter output current.
  • the present invention is a two wire transmitter which is similar in size, cost, and performance to totally analog transmitter circuits.
  • the addition of digital circuitry and a microcomputer achieves high resolution calibration, increases flexibility and ease in the selection of calibration values and the recalibration of the transmitter, and provides greater stability than is achieved using adjustable analog devices (such as adjustable potentiometers and variable capacitances) in order to achieve calibration of the transmitter circuit.
  • adjustable analog devices such as adjustable potentiometers and variable capacitances

Abstract

A two wire transmitter (10) controls loop current as a function of a sensed parameter such as pressure or temperature using analog sensing and signal processing circuitry. Corrections, such as for zero, span, and linearity are provided in the form of analog correction signals by a digital circuit which includes a nonvolatile memory (36), a microcomputer (32), and a digitial-to-analog (D/A) converter (26). The microprocessor (32) controls the D/A converter (26) as a function of stored digital correction values to produce the analog correction signals used by the analog signal processing circuitry to control the magnitude of the loop current flowing through the two wire transmitter (10).

Description

- i _
ANALOG TRANSDUCER CIRCUIT WITH DIGITAL CONTROL
BACKGROUND OF THE INVENTION
1. Field of the Invention.
The present invention relates to transmitters.
2. Description of the Prior Art.
Two wire transmitters have found widespread use in industrial process control systems. A two wire transmitter includes a pair of terminals which are connected in a current loop together with a power source and a load. The two wire transmitter is powered by the loop current flowing through the current loop, and varies the magnitude of the loop current as a function of a parameter P or condition which is sensed. Three and four wire transmitters have separate leads for supply current and output current.
Although a variety of operating ranges are possible, the most widely used two wire transmitter output varies from 4 to 20 mA as a function of the sensed parameter. It is typical with two wire transmitters to provide adjustment of the transmitter so that a minimum or zero value sensed corresponds to the minimum output (for example I = 4 mA) and that the maximum parameter value to be sensed corresponds to the maximum output (for example 20 mA) . This adjustability is typically provided by a zero potentiometer and a span potentiometer which provide variable resistances which can be set by the technician during calibration of the transmitter.
In order to provide a linear relationship between the loop current and the parameter, other adjustments may also be provided. For example, in a two wire transmitter having a variable reactance sensor driven by an oscillator (as shown for example in my previous U.S. patents 3,646,538 and 4,519,253) compensation for nonlinearity can be provided by a variable circuit component or by a component having a specially selected value determined during calibration.
In the case of a pressure sensing transmitter, it is important that the loop current is not affected by changes in temperature of the transmitter. Temperature compensation circuitry is typically provided, and often involves the use of additional resistance adjustments.
The use of resistance adjustments and other circuit components to provide zero, span, linearity and temperature compensation and calibration adds cost to the transmitter, particularly where extremely high resolution circuit components are needed. In addition, the added components themselves introduce potential sources of instability with varying temperature and with shock and vibration of the transmitter.
There is a continuing need for improved transmitters which eliminate the need for separate potentiometers or specially selected components, which provide an easier means for calibrating and, if necessary, recalibrating the transmitter; and which provide greater stability and increased resolution than that normally encountered using potentiometers and the like for calibration.
SUMMARY OF THE INVENTION The present invention relates to a transmitter in which analog correction signals are provided based upon stored digital correction values. The transmitter includes means for producing an analog signal which varies as a function of the sensed parameter, and means for controlling magnitude of the loop current as a function of the analog signal and the analog correction signals. The digital correction values are stored and are converted to analog correction signals for use in controlling magnitude of the loop current. In preferred embodiments, the transmitter is a two wire transmitter including digital-to-analog (D/A) converter means for converting digital inputs to analog correction signals. Digital computer means provide the digital inputs to the D/A converter means based upon the stored digital correction values.
In one embodiment, the D/A converter means produces ..pulse-width modulated output signals having duty cycles which are a function of the digital inputs. The pulse width modulated output signals are then converted to the analog correction signals, so that the analog correction signals have magnitudes which are a function of the stored digital correction values.
The present invention also preferably includes correction input means for providing input signals to the digital computer means. These input signals cause the digital computer means to change the digital correction values. As a result, the calibration of the transmitter can be performed quickly and easily with high precision. The correction input means can take various forms and typically requires minimal external connections to the transmitter. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram of a preferred embodiment of the two wire transmitter of the present invention. Figs. 2A and 2B are an electrical schematic diagram of one embodiment of the two wire transmitter of Fig. 1.
Fig. 3 is a perspective view of an "electronic screwdriver" input device for the two wire transmitter of the present invention.
Fig. 4 is an electrical schematic diagram of the electronic screwdriver input device of Fig. 3.
Fig. 5 is an electrial schematic diagram of another embodiment of an input device for communication with the two wire transmitter of the present invention.
Fig. 6 is a block diagram of another embodiment of the two wire transmitter of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
In Fig. 1, two wire transmitter 10 of the present invention has a pair of terminals 12 and 14 which are connected in a two wire current loop. The loop current Iτ enters through terminal 12 and exits through terminal 14. The magnitude of I is controlled by current control 16 so that the magnitude of I„ bears a predetermined relationship to a parameter sensed by sensor 18.
All of the electrical power used by transmitter 10 is derived from loop current I . Voltage regulator 20 establishes potentials V+, VREF' and V-, which are used as supply and reference voltages by all of the remaining circuitry of transmitter 10. Current control 16 controls current Iτ based upon a comparison of signal V 5 with reference voltage vβκ * v g *s produced by integrator circuit 22 based upon a sensor signal from sensor 18, a pulse width modulated span adjusted feedback signal (FB/SPAN) from analog switch array 24, and a pulse width modulated zero signal (ZERO PWM) from digital-to-analog converter (D/A) 26. Each of the pulse width modulated outputs of D/A converter 26 is generated by a solid state switching circuit such as switching circuit 27 as shown in D/A converter 26. These signals are combined and integrated to provide a signal V which is controlled by means of feedback through the current control to be substantially equal to Vτ_-_> such that Iτ = I + KP.
In this embodiment, sensor 18 is a variable reactance sensor which is driven by drive/clock circuit 30. In addition to the drive signal provided to sensor 18, drive/clock circuit 30 also provides a clock signal (CLOCK) to D/A converter 26 and a lower frequency clock signal (CLOCK2) to microcomputer 32. Microcomputer 32 receives input data from communication input circuit 34 and stored digital values from memory 36. Also associated with microcomputer 32 is watchdog timer 38. Transmitter 10 provides span, zero, temperature correction and third order linearity analog correction signals based upon digital correction values stored in memory 36. Microcomputer 32 controls D/A converter 26 as a function of the digital correction values by providing digital inputs to D/A converter 26. In this embodiment, D/A converter 26 is a multi-channel digital-to-analog converter which is driven by the CLOCK signal and which provides pulse width modulated outputs which have duty cycles based upon corresponding digital inputs received from microcomputer 32. In this particular embodiment, D/A converter 26 has eight output channels, three which are used for zero correction (ZEROPWM), three which are used for span (SPANPWM), one which is provided to drive/clock circuit 30 through thermistor network 31 to provide span temperature compensation (STCPWM) and one which is provided to analog switch array 24 to provide third order linearity corrections (3LINPWM).
The ZEROP M outputs from D/A 'converter 26 are provided to integrator circuit 22 where they are integrated and combined to form.a part of signal V .
The three SPANPWM outputs are provided to analog switch array 24, where they are combined with the feedback signal (v pn) from feedback circuit 28. The result is three signals which represent the feedback signal pulse width modulated in accordance with the three SPANPWM outputs. These three combined feedback/span signals (FB/SPAN) are provided to integrator circuit 22. The third order linearity pulse width modulated signal (3LINPWM) is combined with a signal from drive/clock circuit 30 by analog switch array 24 to produce a signal (3LIN) which is fed back to drive/clock circuit 30. The 3LIN signal is used to control the average frequency of the drive signal supplied to sensor 18 to achieve third order linearity correction of the sensor signal. Communication input circuit 34 provides means by which a technician can communicate with microcomputer 32 to change the digital correction values stored in memory 36. Communication input circuit 34 can take a variety of forms, including magnetically actuated reed switches shown at 35 which are activated with a magnet 37 from outside of the transmitter by the technician. In this embodiment, no external calibration devices are required, since the magnetic signals can be sent directly through the housing of the transmitter. Communication input circuit 34 is, in another embodiment, a multi-terminal connector which connects an external device (such as the devices shown in Figs. 3-5) with microcomputer 32* In still other embodiments, communication' input circuit 34 is connected to the terminals 12 and 14 to sense encoded data which is superimposed on the loop current Iτ. In that embodiment, communication input circuit 34 includes circuitry for converting the superimposed signals to a format which can be accepted by microcomputer 32.
A comparator circuit 39 compares VFB to VREF an(^ provides signals to microcomputer 32 representative of zero and full scale current levels so that the microcomputer 32 can make automatic zero and span adjustments of the output current Iτ-
The transmitter 10 shown in Fig. 1 eliminates the need for resistive potentiometers or other variable or precisely selected circuit components in order to provide calibration. Instead, the present invention uses microcomputer 32 to simply operate on D/A converter 24 to produce analog correction signals which are then used by the analog signal processing circuitry of two wire transmitter 10. This provides high accuracy in the corrections which are made, without the need for high precision electrical components. In addition, the use of digital values stored in memory 36 provides much greater stability than would be achieved using conventional potentiometers.
Transmitter 10 of the present invention also has significant advantages over approaches where the signal is converted from analog to digital, is corrected, and then is converted back to an analog signal. First, the output is not subject to aliasing errors because the analog sensor signal is never sampled. Second, the output of transmitter 10 is continuous and does not have resolution limits due to quantization. Third, microcomputer 32 is not involved in real time measurement and therefore can be run at a very low frequency. This reduces the power requirements of microcomputer 32, which is an important consideration in low power, two wire transmitter circuitry. Fourth, because microcomputer 32 is not involved in the real time measurement process, but simply provides digital values to D/A converter 26 based upon stored correction values in memory 36, it can be used for other tasks such as communications. The microcomputer 32 can thus calculate digital values provided to the D/A converter at a low speed or rate compatible with low power consumption while the analog output can provide the output at a faster rate. Since the microcomputer 32 does not perform real-time calculation of the output, the rate at which the microcomputer 32 updates the D/A converter 26 does not limit the speed of the output. Also, since the sensor current Is is not sampled by the processor, aliasing (also known as heterodyning or beating) between the sensed parameter and the sampling rate are avoided. This will be discussed further in relation to the embodiment shown in Fig. 6.
Figs. 2A and 2B is an electrical schematic diagram showing the transmitter 10 of Fig. 1 in further detail. Current control 16 is formed by diode 40, PNP transistor 42, and operational amplifier (op amp) 44. Diode 40 has its anode connected to terminal 12 and its cathode coupled to the emitter of transistor 42. Diode 40 provides reverse polarity protection in the event that the voltage across terminals 12 and 14 is inadvertently reversed. As shown in Fig. 1, terminal 12 is the more positive terminal (designated with a "+") and terminal 14 is the more negative terminal (designated by a "-"), so that the flow of loop current Iτ is into terminal 12 and out of terminal 14.
The current flowing through current control transistor 42 is controlled by op amp 44, which is part of an LM10 integrated circuit 45 manufactured by National Semiconductor. Op amp 44 receives a reference voltage V--- at its inverting (-) input and the variable signal V at it noninverting (+) input. The output of op amp 44 drives the base of transistor 42 to achieve a balance condition in which V and V_£p are substantially equal. Zener diode 49 and resistors 51 and 53 provide cutrent limiting of the output stage to prevent excess current output and prevent oscillations. Voltage regulator 20 includes operational amplifier 46, band-gap circuit 47, resistors 48, 50 and 52 and capacitors 54, 56, and 58. Comparator 46 and band gap reference 47 are part of the LM10 integrated circuit 45. Voltage regulator 20 establishes a constant potential between line 60 and line 62. As shown in Figs. 1 and 2, line 60 is designated as V+ and line 62 as V-. The potential between lines 60 and 62 is, in one embodiment, five volts. Resistors 48, 50 and 52 form a voltage divider between lines 60 and 62 to provide the reference voltage V-___> n<3 to provide a feedback voltage to operational amplifier.46. Capacitors 54, 56 and 58 are bypass capacitors which help stablize the operation of voltage regulator 20.
Integrator circuit 22 includes resistors 64, 66, 68, 70, 72, 74 and 76 and capacitor 78. Integrating capacitor 80 and resistor 81 provide A.C. feedback to stabilize the loop. The sensor current I 5 is summed, at node 82, with three span adjusted feedback currents from analog switch 24 and three pulse width modulated zero currents from D/A converter 26. The summed current is filtered by capacitor 178 and then provided to the RC integrator formed by resistors 76 and 81 and capacitor 80 to produce voltage V at the noninverting input of op amp 44.
Feedback circuit 28 includes resistors 84, 86, 88, 90 and 92 and op amp 94. Resistor 84 is connected between line 62 and terminal 14, and acts as the current feedback resistor. The voltage established across resistor 84 is converted by resistors 86, 88, 90 and 92 and op amp 94 to produce a voltage VpB which is supplied to input terminals of analog switches 96, 98, and 100 of analog switch array 24. In the embodiment shown in Fig. 1, analog switch array 24 is preferably a type CD4066B integrated circuit analog switch array made by RCA having four analog switches 96, 98, 100 and 102.
The control terminals of switches 96, 98 and 100 are connected to outputs of D/A converter 26 which provide individual pulse-width-modulated span signals. The outputs of switches 96, 98 and 100 are connected through resistors 64, 66 and 68, respectively, to summing node 82. The results are three individual feedback currents which are a function of a feedback voltage VFB modulated by the individual pulse width modulated span signals.
In a preferred embodiment of the present invention, D/A converter 26 is a type uA9706 multi-channel digital-to-analog converter made by
Fairchild which produces pulse width modulated outputs. Each output channel has six bits resolution. To provide very high span and zero resolution, three weighted outputs are used for span and three weighted outputs for zero. The weighting of the channel is a 2 relationship (or 64 to 1). Three channels thus provide 18 bit resolution. The weighting of the channels is set by selection of the resistances of resistors 64, 66, 68, 70, 72 and 74.
The three pulse width modulated span signal are individually controlled, as are the three pulse width modulated zero signals.
In the embodiment shown in Figs. 2A and 2B, sensor 18 is an AC reactance type differential pressure sensor cell, which has a pair of capacitors Cl and C2, at least one of which is variable in response to a parameter such as pressure. A drive signal is received at the center plate of capacitors Cl and C2, and a rectifying circuit formed by diodes 106, 108, 110, and 112 derive a sensor signal Is which is supplied to node 82 of integrator circuit 22 and currents I, and I_ which are used by drive/clock circuit 30 in controlling the drive signal supplied to capacitors Cl and C2. Drive/clock circuit 30 maintains the drive to sensor 18 so that the product of the average frequency f, the peak to peak voltage V , and the sum of the capacitances
PP of Cl and C2 are constant! - fV (CL +-C2) = K. Eq. 1 By maintaining this drive signal relationship, the sensor current I has the following relationship:
Equation 2:
Is c (Cl - C2)/(C1 + C2). Eq. 2
Drive/clock circuit 30 includes a system clock 114 formed by NAND Schmitt trigger gate 116, resistor 118, crystal 119 and capacitor 120 which provides clock signals for D/A converter 26, microcomputer 32, as well as for drive/clock circuit
30. The output of NAND gate 116 is supplied to one input of Schmitt trigger NAND gate 122. The output of gate 122 is connected through resistor 124 and capacitor 126 to the center plate of sensor capacitors Cl and C2. The output of gate 122, therefore, represents^ the drive signal which is controlled in accordance with Eq. 1.
In the embodiment of the present invention shown in Figs. 2A and 2B, the average frequency of the drive signal is controlled by selectively dropping out pulses from the clock signal supplied by system clock 114 to gate 122. This selective dropping out of signal pulses controlled by the control signal supplied to the other input of gate 122. This control signal is provided by the circuitry which includes op amps 128 and 130, diodes 132, 134, and 136, resistors 138, 140, 142, 144, 146, 150, 152, 154, and 156, and capacitors 158, 160, 162, 164, 166, 168, and 170 and temperature sensitive resistor network 148.
Current I1 which flows through diode 106 is fed to the minus input of op amp 128. Resistors 144 and 146 act in conjunction with op amp 128 to convert current I, to a current which i,s . flowing into node 171, which . is connected to the - input of op amp 130. This current is summed with the current I- from diode 112 at node 171. As a result, node 171 has a potential which is proportional to Cl + C2. The voltage at node 171 is compared to V_E„ by op amp 130. The output of op amp 130 controls gate 122 to determine whether a particular clock pulse from clock circuit 114 will pass through gate 122 to sensor 18.
Span temperature compensation is provided by applying the desired PWM voltage signal to temperature sensitive resistor network 148. This provides a correction current to node 171 at op-amp
130 which controls sensor excitation.
Third degree linearization is provided. A signal from node 172 (which is the junction of resistor 138 and capacitor 160) is supplied to the input terminal of analog switch 102. The state of switch 102 is controlled by an output from D/A converter 26, which represents a pulse width modulated signal having a duty cycle representative of a desired amount of third degree linearization. The output of switch 102 is fed back through resistors 140 and 142 to node 171.
In transmitter 10 shown in Fig. 1, D/A converter 26, microcomputer 32, and the drive for sensor 18 all are derived from a common clock signal produced by system clock 114. This eliminates possible alias or beat frequencies which could occur if microcomputer 32 were operating on a separate clock from that of the drive circuit. The system clock signal is provided" directly to the clock input of D/A converter 126. In the case of microcomputer 32, however, the system clock is divided by counter 174 to produce a lower frequency clock signal (CL0CK2) to the microcomputer 32. One of the advantages of the transmitter of the present invention is that microcomputer 32 does not perform computations or control functions in real time, and therefore the CLOCK2 signal can be relatively low frequency. This reduces the power requirements of microcomputer 32, which is an important consideration in a two wire transmitter which is powered solely by the loop current I- . Microcomputer 32 preferably comprises a type COP326C made by National Semiconductor.
Watchdog timer 38 is formed by Schmitt NAND gate 176, diodes 183 and 185, capacitor 178, and resistors 180 and 181. Watchdog timer 38 resets microcomputer 32 if it does not receive a signal from microcomputer 32 within a predetermined time period. In addition, watchdog timer 38 resets microcomputer 32 when the power is first turned on. Microcomputer 32 receives digital correction values from non-volatile memory 36 over the serial input (SI) line and provides digital values to D/A converter 26 over its serial output (SO) line. Inverter 182 provides compatability between microcomputer 32 and D/A convertor 26. Microcomputer 32 couples chip select (CS, CS1, CS2, CS3) signals to access D/A 26, memory 36, and communication circuit 34. In addition, microcomputer 32 receives input values over the serial input line from communication input 34 (which in this embodiment is a multi-pin connector), and writes new digital correction values into memory 36 over the serial output line. Use of serial communication between microcomputer 32, D/A convertor 26, communication input 34 and nonvolatile memory 36 minimizes pin counts of the individual components. Since speed is not a significant consideration in the operation of microcomputer 32, the reduced pin count and simplification of connections among the components provided by serial data transmission is an important consideration.
Although transmitter 10 of the present invention offers significant advantages even if adjustment by a technician of correction factors such as span and zero is not provided (i.e. the digital values stored in memory 36 are factory set), it is desirable to have a low cost device which would allow the technician to adjust and configure two wire transmitter 10 in the field. Previously available hand held terminals used with conventional two wire transmitters typically have been bulky and expensive. Figs. 3 and 4 show a simple device that functions in a manner similar to the potentiometer controls that are familiar to instrument technicians, yet provides digital values to microcomputer 32. Electronic screwdriver 200 has a shank 202 of a electrically nonconductive material having a six contact telephone type connector 204 at its distal end. Rotatable function selecting ring 206 has a window 208 which is aligned with one of eight different functions which can be selected by the technician. The screwdriver body 210 is rotatable about the central axis. At its end, body 210 has a calibration scale 212 which runs from zero to 100 percent. Scale 212 represents the percentage of maximum calibration value being selected by the technician. Also located at the end of body 210 is a push button 214 which is depressed to enter data.
As shown in Fig. 4, electronic screwdriver 200 includes a two channel, serial out, eight bit analog-to-digital (A/D) converter 216 (such as a part number COP432 made by National Semiconductor) which is connected to six contact connector 204 so that when connector 204 is connected to communication input 34 of transmitter 14, A/D converter 216 is powered by battery 217 and communicates with microcomputer 32.
Function selection ring 206 is coupled to an eight position switch 218 which contains three switch contacts 218A-218C connected through resistors 220, 222, and 224 to channel CHO of A/D converter 216. Resistor 226 is connected between the CHO input and ground. Depending on the particular setting of selector ring 206, one or more of the switch contacts 218A-218C of switch 218 will be closed. When the enter button 214 is pushed, it closes pushbutton switch 228, which provides +5 volts to switch 218. The voltage appearing at the CHO input of A/D converter 216 will depend on the particular switch contacts 218A-218C which are closed. Eight different voltage levels can appear at CHO depending on the position of function selection ring 206.
Input channel CHI of A/D converter 216 is connected to a single turn potentiometer 230. The rotation of body 210 changes the setting of potentiometer 230, and thus the voltage appearing at
CHI.
To use electronic screwdriver 200, the operator inserts connector 204 into the mating female connector of communication input 34. The technician then selects the function desired by rotating the function selection ring 206 until the desired function appears in window 208. In the embodiment shown in Fig. 4, the functions which can be selected include COARSE, MEDIUM and FINE ZERO; COARSE, MEDIUM and FINE SPAN; SAVE; and OFF.
Once the technician has selected the desired function, the enter button 214 is depressed. This closes pushbutton switch 228, which allows A/D converter 216 to read the voltage at CHO. Microcomputer 32 reads CHO and selects the appropriate internal adjustment register in its on-board random access memory (RAM). The technician then adjusts the calibration value by rotating body 210 until a cursor on button 214 is lined with the desired percentage on scale 212. As body 210 is rotated, data is continuously being provided, in the form of eight bit readings from channel CHI to the selected channel of the D/A converter 26 and the on-board RAM of microcomputer 32. When the adjustment is completed, the technician can select another function by changing the setting of function select ring 206 and again pressing the enter button 214. The technician then again performs the adjust function by rotating body 210 to the desired position and data is stored in the appropriate register by microcomputer 32.
Up to this point, the data which has been entered is stored only in the on-board memory of microcomputer 32. To save that data in nonvolatile memory 36, the technician -places the function select ring 206 to the "Save" position and pushes the enter button 214. This signals microcomputer 32 that it should write the data stored in its internal adjustment registers into the appropriate locations of nonvolatile memory 36. At this point, the operation is completed, and the electronic screwdriver 200 is disconnected from communication input 34.
In another embodiment, the OFF function is replaced by a FACTORY CALIBRATE function on function selector ring 206. In this function, the operator can select the original factory calibration simply by moving the function selection ring to the FACTORY CALIBRATE position and pressing the enter button 214. This allows the technician to always return the unit to factory calibration regardless of the field adjustments which have been made to calibration.
In some cases, it is desirable to restrict the type of adjustments to be made by a particular technician—for example, certain technicians may be allowed to adjust both zero and span, while other technicians are permitted to adjust only zero. This can be achieved by issuing different electronic screwdrivers to different technicians, some which have the span function settings while others do not.
Fig. 5 shows another embodiment of an input device which operates in a manner similar to the electronic screwdriver of Figs. 3 and 4, but provides more complex functions to be performed. In this embodiment, a digital interface circuit 240 communicates with microcomputer 32 through a multi-terminal connector 242. The inputs to interface circuit 240 include an enter push button switch 244, function select switch 246, and a digital value input which is preferably an array of BCD or HEX encoded switches used for entering numerical values.
The functions provided by function select switch 246 include "ELEVATE ZERO", "SUPRESSED ZERO",
"SPAN", "LINEARITY", "CHARACTERIZE CELL",
"CHARACTERIZE CIRCUIT BOARD", "SAVE" and "OFF". To calibrate, the technician sets the function switch
246 to, for example, "SPAN" and enters the desired span in percent of maximum span by setting a value on digital switches 248. The value is entered into microcomputer 32' by depressing enter switch 244. The data which has been entered can be saved in nonvolatile memory 36 by moving function switch 246 to the save position and again depressing the enter button 244.
To repair transmitter 10, six-character codes from the cell and circuit board assembly are entered using the CHARACTERIZE CELL and CHARACTERIZE CIRCUIT BOARD functions. This permits the microcomputer 32 to produce and store appropriate calibration values to match the cell (i.e. the sensor) to the circuit board.
Fig. 6 shows a block diagram of another embodiment of the two wire transmitter of the present invention. As in the embodiment shown in Fig. 1, two wire transmitter 300 of Fig. 6 controls the loop current I- flowing through terminals 302 and 304 as a function of a parameter sensed by a sensor 306. Analog transducer circuitry • 308 controls the magnitude of loop current Iτ as a function of a sensor signal from sensor 306, together with span, zero, linearity, and temperature compensation signals provided by microcomputer 310 through digital-to-analog converter 312. The analog correction values are based upon stored digital correction values which microcomputer 310 obtains from memory 314. In the embodiment shown in Fig. 6, clock 316 provides clock signals to microcomputer 310 as well as D/A converter 312. In this preferred embodiment, the outputs of D/A converter 312 are pulse width modulated signals having duty cycles which .are determined by digital values provided to D/A converter 312 by microcomputer 310.
Transmitter 300 includes a temperature sensing resistor 318. Temperature compensation circuit 320 senses the voltage on temperature sensing resistor 18 and compares that voltage to one output channel of D/A converter 312. The output based on this comparison is provided to microcomputer 310. By changing the digital value provided to D/A converter 312, microcomputer 310 can determine the digital value which causes the output of circuit 320 to change state. That digital value is representative of the sensed temperature. Microcomputer 310 provides appropriate digital values to A/D converter 312 based on the sensed temperature to temperature compensate the analog transducer circuitry 308. This includes a temperature compensation signal output from A/D converter 312, and may also involve adjustment of some or all of the other outputs of A/D converter 308. The constants for this temperature compensation are stored in nonvolatile memory 314.
Transmitter 300 includes provision for communication between microcomputer 310 and a remote terminal over the two wires connected to terminals 302 and 304. This communication is achieved by superimposing serial communication signals on the loop current I- flowing through transmitter 300. Incoming communications are detected by communication input detector 322, which converts the fluctuations in the loop signal into serial data supplied to the serial data in port of microcomputer 310. Outbound communications from microcomputer 310 are supplied through communication output circuit 324, which drives the current controller of the analog transducer circuitry 308 to superimpose serial communication signals on the loop current.
Preferably, the remote terminal 307 with which microcomputer 310 communicates is capable of measuring loop current as well as communicating.
This facilitates calibration, since microcomputer 310 otherwise does not have available the value of the loop current at any given point in time. A diode 309 in the loop can provide a third terminal to the remote terminal 307 for measuring loop current. Current can thus be measured without interrupting the loop current. If desired, this three terminal connection can provide power to remote terminal 307 while still allowing it to monitor transmitter output current.
In conclusion, the present invention is a two wire transmitter which is similar in size, cost, and performance to totally analog transmitter circuits. The addition of digital circuitry and a microcomputer achieves high resolution calibration, increases flexibility and ease in the selection of calibration values and the recalibration of the transmitter, and provides greater stability than is achieved using adjustable analog devices (such as adjustable potentiometers and variable capacitances) in order to achieve calibration of the transmitter circuit.
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.

Claims

WHAT IS CLAIMED IS:
1. A transmitter for providing an output representative of a sensed parameter and representative of an input signal for controlling transmitter adjustment, comprising: digital means coupled to receive the input signal for calculating and providing a control signal representative of the adjustment; analog means coupled to the sensed parameter for providing the output as a continuous function of the sensed parameter; and control means coupled to the analog means and controlled by the control signal for controlling transmitter adjustment such that the output continuity is substantially undisturbed by calculation in the digital means.
2. The transmitter of claim 1 wherein the control signal is calculated at a first rate and the output is provided at a second rate not substantially limited by the first rate.
3. The transmitter of claim 2 wherein the transmitter output is substantially free of aliasing between variation of the sensed parameter and the first rate.
4. The transmitter of claim 1 wherein the control means comprises a switch controlled by the control signal for controlling the analog means.
5. The transmitter of claim 4 wherein the control means comprises a digital-to-analog converter coupled to control actuation of the switch.
6. The transmitter of claim 5 wherein the converter provides a pulse width modulated control signal to the switch.
7. The transmitter of claim 6 wherein the pulse width modulation is modulated at a high enough rate such that the output rate is not limited by the modulation rate.
8. The transmitter of claim 7 wherein the analog means comprises integrator means coupled to the switch for damping the output.
9. The transmitter of claim 8 wherein the transmitter adjustment comprises a span adjustment.
10. The transmitter of claim 8 wherein the transmitter adjustment comprises a zero adjustment.
11. The transmitter of claim 8 wherein the transmitter is energized by a loop.
12. The transmitter of claim 8 wherein the output is a 4 to 20 milliampere current.
13. The transmitter of claim 8 wherein the transmitter adjustment comprises a linearity adjustment.
14. The transmitter of claim 9 wherein the transmitter adjustment further comprises temperature compensation of the span adjustment.
15. A transmitter for providing an output representative of a sensed parameter and representative of an input signal for controlling transmitter adjustment, comprising: digital means coupled to receive the input signal for calculating and providing a digital control signal representative of the adjustment; converter means coupled to the digital means for converting the control signal to a converter signal having a . duty cycle representative of, the adjustment; switch means coupled to the converter means for controlling switching as a function of the converter signal; and analog means coupled to the switch means and the sensed parameter for providing the output as a continuous function of the sensed parameter.
16. The transmitter of claim 15 wherein the analog means comprises: sensor means coupled to the sensed parameter for providing an analog signal to the switch means.
17. The transmitter of claim 16 wherein the analog means further comprises: output means coupled to the switch means for providing the adjusted transmitter output.
18. The 'transmitter of claim 17 wherein the analog means further comprises: integrator means coupled to the switching means for damping the output.
19. The transmitter of claim 18 wherein the transmitter means further comprises: feedback means coupled to the output for sensing the output and for coupling a signal representative of the output to the output means such that the output is stabilized.
20. The transmitter of claim 19 wherein the sensor means comprise a capacitive pressure sensor.
21. The transmitter of claim 19 wherein the digital means comprise a serial data input for receiving a transmitter adjustment.
22. The transmitter of claim 21 wherein the digital means comprises a non-volatile memory for storing a transmitter adjustment.
23. The transmitter of claim 22 wherein the serial data input and the output are superimposed on an output circuit.
24. A two wire transmitter for connection in a current loop to control a loop current flowing in the loop as a function of a sensed parameter, the transmitter being powered by the loop current, the transmitter comprising: means for producing an analog sensor signal which varies as a function of the sensed parameter; means for storing digital correction values; means for converting the digital correction values to analog correction signals; and means for controlling magnitude of the loop current as a function of the analog sensor signal and the analog correction signals.
25. The two wire transmitter of claim 24 wherein the means for converting comprises: digital-to-analog (D/A) converter means for converting digital inputs to analog correction signals; and digital computer means for providing the digital inputs to the D/A converter means based upon the digital correction values.
26. The two wire transmitter of claim 25 wherein the D/A converter means produces pulse width modulated output signals having duty cycles which are a function of the digital inputs.
27. The two wire transmitter of claim 26 wherein the means for converting further comprises: means for converting the pulse width modulated output signals to the analog correction signals having magnitudes which are a function of the digital correction values.
28. The two wire transmitter of claim 27 wherein the means for converting the pulse width modulated output signals comprises integrator means for integrating the pulse width modulated output signals.
29. The two wire transmitter of claim 26 wherein the pulse width modulated output signals include span and zero signals for providing span and zero corrections, respectively.
30. The two wire transmitter of claim 29 and further comprising: means for providing an analog feedback signal which is a function of the loop current; and wherein the means for converting further comprises: means for producing, as one of the analog correction signals, a span corrected feedback signal which is a function of the analog feedback signal and the span signal.
31.- The two wire transmitter of claim 25 and further comprising: correction input means for providing input signals to the digital computer means to cause the digital computer means to change the digital correction values stored.
32. The two wire transmitter of claim 24 wherein the means for producing an analog sensor signal comprises: variable reactance sensor means having a reactance which varies responsive to the parameter; drive means for providing a time varying drive signal to the variable reactance sensor means; means for deriving the analog sensor signal from the variable reactance sensor means; and drive control means for controlling the drive means to cause the analog sensor signal to have a predetermined relationship to the parameter.
33. The two wire transmitter of claim 32 wherein the analog correction signals include at least one linearization signal for correcting nonlinearity of the analog sensor signal with respect to the parameter, and wherein the drive control means is responsive to the linearization signal.
34. The two wire transmitter of claim 32 wherein the drive means comprises: clock means for providing a clock signal having a predetermined frequency; and means for selectively providing clock pulses of the clock signal to the variable reactance sensor means as the drive signal as a function of a control signal from the drive control means.
35. The two wire transmitter of claim 34 wherein the means for converting comprises: pulse width modulation digital-to-analog
(D/A) converter means for producing pulse width modulated output signals having duty cycles which are a function of digital inputs, the D/A converter means having a clock input for receiving the clock signal; means for converting the pulse width modulated output signals to the analog correction signals; and digital computer means for providing the digital inputs as a function of the digital 'correction values, the digital computer means operating at a frequency determined by the clock signal.
36. he two wire transmitter of claim 31 wherein the correction input means comprises an analog-to-digital converter providing the input signals and a potentiometer coupled to the analog-to-digital converter for providing an analog signal thereto.
37. The two wire transmitter of claim 36 wherein the input means adjusts the span.
38. The two wire transmitter of claim 31 wherein the input means comprises a reed switch coupled to the digital computer means and activated by an external magnetic field.
39. The two wire transmitter of claim 31 wherein the input means comprises current sensing means for sensing the loop current.
PCT/US1987/001942 1986-08-22 1987-08-12 Analog transducer circuit with digital control WO1988001417A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP87905408A EP0328520B1 (en) 1986-08-22 1987-08-12 Analog transducer circuit with digital control
DE3752283T DE3752283D1 (en) 1986-08-22 1987-08-12 ANALOG TRANSMITTER WITH DIGITAL CONTROL

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US89937886A 1986-08-22 1986-08-22
US899,378 1986-08-22

Publications (1)

Publication Number Publication Date
WO1988001417A1 true WO1988001417A1 (en) 1988-02-25

Family

ID=25410872

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1987/001942 WO1988001417A1 (en) 1986-08-22 1987-08-12 Analog transducer circuit with digital control

Country Status (5)

Country Link
EP (1) EP0328520B1 (en)
AT (1) ATE181611T1 (en)
CA (1) CA1300924C (en)
DE (1) DE3752283D1 (en)
WO (1) WO1988001417A1 (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4016922A1 (en) * 1990-05-25 1991-11-28 Schoppe & Faeser Gmbh Two wire electrical measurement transducer - has main analogue path and digital correction path, enabling continuous measurement and rapid parameter change tracking
GB2247318A (en) * 1990-08-20 1992-02-26 Rosemount Ltd A transmitter.
WO1993007601A1 (en) * 1991-09-30 1993-04-15 Milltronics Ltd. Calibration system for measurement instruments
WO1995007522A1 (en) * 1993-09-07 1995-03-16 Rosemount Inc. Multivariable transmitter
US5416723A (en) * 1993-03-03 1995-05-16 Milltronics Ltd. Loop powered process control transmitter
US5606513A (en) * 1993-09-20 1997-02-25 Rosemount Inc. Transmitter having input for receiving a process variable from a remote sensor
WO1998013806A1 (en) * 1996-09-27 1998-04-02 Rosemount Inc. Power supply input circuit for field instrument
DE19905071A1 (en) * 1999-02-08 2000-08-10 Siemens Ag Transmitter and method for diagnosing the supply of a transmitter
DE19930661A1 (en) * 1999-07-02 2001-01-18 Siemens Ag Transmitter
DE19964002A1 (en) * 1999-12-30 2001-07-12 Micronas Gmbh Sensor, has converter to generate electrical signal and signal processing unit to generate output signal with switch unit for offset compensation and devices for frequency-dependent mode switching
DE10102791A1 (en) * 2001-01-22 2002-08-01 Ifm Electronic Gmbh Electrical transmitter
WO2003060851A1 (en) * 2002-01-18 2003-07-24 Endress + Hauser Gmbh + Co. Kg Sensor arrangement
US6643610B1 (en) 1999-09-24 2003-11-04 Rosemount Inc. Process transmitter with orthogonal-polynomial fitting
EP1717775A1 (en) * 2005-04-28 2006-11-02 Peter Wieninger Method for calibrating an electronic circuit comprising a sensor system having an active semiconductor circuit
WO2006127421A2 (en) * 2005-05-20 2006-11-30 Dresser, Inc. Loop-powered field instrument
US7461562B2 (en) 2006-08-29 2008-12-09 Rosemount Inc. Process device with density measurement
US7480487B2 (en) 2005-05-20 2009-01-20 Dresser, Inc. Power regulation for field instruments
WO2009043821A1 (en) 2007-09-28 2009-04-09 Siemens Aktiengesellschaft Field device having an analog output
EP1947622A3 (en) * 2007-01-22 2012-08-22 ABB Oy Device for generating analog current or voltage signal
US8334788B2 (en) 2010-03-04 2012-12-18 Rosemount Inc. Process variable transmitter with display
US8340791B2 (en) 2009-10-01 2012-12-25 Rosemount Inc. Process device with sampling skew
US8849589B2 (en) 2008-05-23 2014-09-30 Rosemount Inc. Multivariable process fluid flow device with energy flow calculation
US9121743B2 (en) 2012-05-31 2015-09-01 Rosemount Inc. Process variable transmitter system with analog communication

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10037996C2 (en) * 2000-08-03 2003-04-17 Siemens Ag Electronic device, in particular field device
DE102005020870B4 (en) * 2005-02-10 2014-05-22 Continental Automotive Gmbh sensor circuit
JP2010505121A (en) 2006-09-29 2010-02-18 ローズマウント インコーポレイテッド Magnetic flow meter with verification
DE102008050354A1 (en) * 2008-10-02 2010-04-08 Siemens Aktiengesellschaft transmitters
DE102008057474B4 (en) 2008-11-14 2012-08-02 Kg Transmitter Components Gmbh transmitters

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4001813A (en) * 1975-07-02 1977-01-04 The Bendix Corporation Precision capacitance to digital conversion system
US4494183A (en) * 1982-06-17 1985-01-15 Honeywell Inc. Process variable transmitter having a non-interacting operating range adjustment
US4567466A (en) * 1982-12-08 1986-01-28 Honeywell Inc. Sensor communication system
US4604566A (en) * 1985-08-07 1986-08-05 The Babcock & Wilcox Company Voltage pulse to current regulating convertor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US604566A (en) * 1898-05-24 Machine for separating fine gold flakes from sand

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4001813A (en) * 1975-07-02 1977-01-04 The Bendix Corporation Precision capacitance to digital conversion system
US4494183A (en) * 1982-06-17 1985-01-15 Honeywell Inc. Process variable transmitter having a non-interacting operating range adjustment
US4567466A (en) * 1982-12-08 1986-01-28 Honeywell Inc. Sensor communication system
US4604566A (en) * 1985-08-07 1986-08-05 The Babcock & Wilcox Company Voltage pulse to current regulating convertor

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4016922C3 (en) * 1990-05-25 1998-05-20 Schoppe & Faeser Gmbh Electrical transmitter using the two-wire method
DE4016922A1 (en) * 1990-05-25 1991-11-28 Schoppe & Faeser Gmbh Two wire electrical measurement transducer - has main analogue path and digital correction path, enabling continuous measurement and rapid parameter change tracking
GB2247318A (en) * 1990-08-20 1992-02-26 Rosemount Ltd A transmitter.
GB2247318B (en) * 1990-08-20 1994-08-10 Rosemount Ltd A transmitter
US5451939A (en) * 1990-08-20 1995-09-19 Fisher-Rosemount Limited Microprocessor controlled transmitter for connection to a sensor and a method of transferring digital signals to the microprocessor
WO1993007601A1 (en) * 1991-09-30 1993-04-15 Milltronics Ltd. Calibration system for measurement instruments
US5416723A (en) * 1993-03-03 1995-05-16 Milltronics Ltd. Loop powered process control transmitter
WO1995007522A1 (en) * 1993-09-07 1995-03-16 Rosemount Inc. Multivariable transmitter
US5495769A (en) * 1993-09-07 1996-03-05 Rosemount Inc. Multivariable transmitter
US5606513A (en) * 1993-09-20 1997-02-25 Rosemount Inc. Transmitter having input for receiving a process variable from a remote sensor
US5870695A (en) * 1993-09-20 1999-02-09 Rosemount Inc. Differential pressure measurement arrangement utilizing remote sensor units
US5899962A (en) * 1993-09-20 1999-05-04 Rosemount Inc. Differential pressure measurement arrangement utilizing dual transmitters
WO1998013806A1 (en) * 1996-09-27 1998-04-02 Rosemount Inc. Power supply input circuit for field instrument
US5936514A (en) * 1996-09-27 1999-08-10 Rosemount Inc. Power supply input circuit for field instrument
DE19905071A1 (en) * 1999-02-08 2000-08-10 Siemens Ag Transmitter and method for diagnosing the supply of a transmitter
DE19930661A1 (en) * 1999-07-02 2001-01-18 Siemens Ag Transmitter
US6643610B1 (en) 1999-09-24 2003-11-04 Rosemount Inc. Process transmitter with orthogonal-polynomial fitting
DE19964002A1 (en) * 1999-12-30 2001-07-12 Micronas Gmbh Sensor, has converter to generate electrical signal and signal processing unit to generate output signal with switch unit for offset compensation and devices for frequency-dependent mode switching
US6957173B2 (en) 1999-12-30 2005-10-18 Micronas Gmbh Sensor with frequency selectable operating modes
US6532436B2 (en) 1999-12-30 2003-03-11 Micronas Gmbh Sensor
US7496458B2 (en) 2001-01-22 2009-02-24 I F M Electronic Gmbh Electrical transducer
DE10102791A1 (en) * 2001-01-22 2002-08-01 Ifm Electronic Gmbh Electrical transmitter
DE10102791B4 (en) * 2001-01-22 2004-04-15 Ifm Electronic Gmbh Electrical transmitter
WO2003060851A1 (en) * 2002-01-18 2003-07-24 Endress + Hauser Gmbh + Co. Kg Sensor arrangement
EP1717775A1 (en) * 2005-04-28 2006-11-02 Peter Wieninger Method for calibrating an electronic circuit comprising a sensor system having an active semiconductor circuit
WO2006127421A2 (en) * 2005-05-20 2006-11-30 Dresser, Inc. Loop-powered field instrument
WO2006127421A3 (en) * 2005-05-20 2007-11-15 Dresser Inc Loop-powered field instrument
US7480487B2 (en) 2005-05-20 2009-01-20 Dresser, Inc. Power regulation for field instruments
US7461562B2 (en) 2006-08-29 2008-12-09 Rosemount Inc. Process device with density measurement
EP1947622A3 (en) * 2007-01-22 2012-08-22 ABB Oy Device for generating analog current or voltage signal
WO2009043821A1 (en) 2007-09-28 2009-04-09 Siemens Aktiengesellschaft Field device having an analog output
US8849589B2 (en) 2008-05-23 2014-09-30 Rosemount Inc. Multivariable process fluid flow device with energy flow calculation
US8340791B2 (en) 2009-10-01 2012-12-25 Rosemount Inc. Process device with sampling skew
US8334788B2 (en) 2010-03-04 2012-12-18 Rosemount Inc. Process variable transmitter with display
US9121743B2 (en) 2012-05-31 2015-09-01 Rosemount Inc. Process variable transmitter system with analog communication

Also Published As

Publication number Publication date
EP0328520A1 (en) 1989-08-23
CA1300924C (en) 1992-05-19
EP0328520A4 (en) 1989-10-04
DE3752283D1 (en) 1999-07-29
ATE181611T1 (en) 1999-07-15
EP0328520B1 (en) 1999-06-23

Similar Documents

Publication Publication Date Title
US4783659A (en) Analog transducer circuit with digital control
EP0328520B1 (en) Analog transducer circuit with digital control
US5677476A (en) Sensor and transmitter with multiple outputs
US20020082799A1 (en) Measuring transducer with a corrected output signal
US4362060A (en) Displacement transducer
US6924649B2 (en) Sensor read out
JPS6237440B1 (en)
EP0434824B1 (en) Integrated digital standardized precision thermometer
EP0112115B1 (en) Sensor communication system
US4578635A (en) Device for measuring and indicating changes in the resistance of a living body
US4206397A (en) Two wire current transmitter with improved voltage regulator
US4367437A (en) Reference voltage generator
CN1675527B (en) Pressure measurement device including a capacitive pressure sensor in an amplifier feedback path
US20200264121A1 (en) Sensor device and method for operating a sensor device
EP0414667B1 (en) Transmitter with an improved span adjustment
US4217634A (en) Voltage and current sources
US4558301A (en) Voltage-to-frequency and analog-to-digital converter circuit
EP0151619B1 (en) Two wire circuit having an adjustable span
US3924251A (en) Input signal powered converter
JPS61501799A (en) Voltage-current converter
JPH07286910A (en) Temperature converter
CA1215139A (en) Frequency to current converter circuit
US4634985A (en) Time-interval signal generating apparatus
US4797774A (en) Signal conditioning circuit
JP2668166B2 (en) Terminal adjustment device in data transmission system

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE FR GB IT LU NL SE

WWE Wipo information: entry into national phase

Ref document number: 1987905408

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1987905408

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 1987905408

Country of ref document: EP