MEASUREMENT PROBE WITH ANALOG-TO-DIGITAL CONVERTER

Abstract: A measuring probe (12) measures a parameter with a sensor (20). The sensor (20) provides a sensor output signal related to a measured value. An amplifier (28) section receives the sensor output signal and provides an amplifier output signal. An integrator (34) has an input and an integrator output related to an integration of the input. Switching circuitry (32) receives the amplifier output signal and a reference signal and has an output connected to the input of the integrator (34). Controller circuitry (26) coupled to the switching circuitry (32) connects the amplifier output to the integrator input during a sampling time, and the reference signal to the integrator input during a conversion time. The conversion time is related to the sensor output signal and is measured to obtain a digital representation of the sensor output.

Description: MEASUREMENT PROBE WITH ANALOG-TO-DIGITAL CONVERTER BACKGROUND OF THE INVENTION The present invention relates to measurement probes. In particular, the present invention relates to measurement probes including analog-to-digital conversion circuitry for providing a digital output of a measured value. Measurement probes used to measure a value and provide an output are known. These probes can be used to measure, for example, temperature of a liquid. A controller sends digital data to the probe to initiate measurement. Measurement data and test results are sent from the probe to the controller. In some measurement probes, an analog-to- digital converter in the probe converts a measured value into a digital value which is communicated to the controller. U.S. Patent No. 4,418,392, issued November 29, 1993, to Hata, entitled "Measuring Device" is an example of a measuring device having a transducer and an analog-to-digital converter. It is known to have the probe transmit status information to the controller. It is also known to have probes capable of displaying digital information. SUMMARY OF THE INVENTION A measuring probe for measuring a parameter includes a sensor and provides a digital output of a measured value of the parameter. One aspect of the invention includes an amplifier section, an integrator, a switching circuit and controller circuitry. The amplifier section receives a sensor output signal and provides an amplified output signal. The integrator has an input and an output related to an integration of the input. The switching circuit receives the amplified output signal and a first reference input. The controller circuitry controls the switching circuit whereby the input to the integrator alternately couples to the amplifier section during a sampling time and the reference signal during a conversion time. The conversion time is related to the measured value. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 shows a controller coupled to a measuring probe in accordance with the present invention. Figure 2 is an electrical schematic and block diagram of circuitry of probe electronics in accordance with the invention. Figure 3 is a timing diagram of electrical signals in the circuitry of Figure 2. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Figure 1 shows a measurement system 10 in accordance with the present invention. Measurement system 10 includes measuring probe 12 coupled to control unit 14 through power/communication link 16. Measuring probe 12 includes sensor electronics 18 and transducer 20 placed in a fluid 22 to be measured. Figure 2 shows a more detailed view of sensor electronics 18. Sensor electronics 18 includes microcontroller 26, inverter followers 28 and 30, switching circuit 32, integrator 34, discrete logic unit 36, comparator 38 and clock 40. Sensor electronics 18 includes transducer connections 42 coupled to multiplexer 44. Multiplexer 44 has a control input coupled to microcontroller 26 and an output coupled to variable gain amplifier 46. Amplifier 46 has a control input which couples to microcontroller 26 and an output which couples to inverter follower 28. Amplifiers 28 and 46 form an amplifier section. Similarly, inverter follower 30 and discrete logic unit 36 have control inputs coupled to microcontroller 26. The output of inverter 28 couples to switching circuit 32 which connects to integrator 34. Inverter 28 provides an input to switching circuit 32 identified as 104 in the figure. Discrete logic unit 36 has control outputs which couple to switching circuit 32. Integrator 34 has an output which couples to comparator 38 whose output in turn couples to controller 26. Clock 40 provides a clock input to controller 26. A reference voltage V Ref connects to the input of inverter follower 30. Figure 2 also shows communication link 16 between control unit 14 and microcontroller 26. Inverter follower 28 includes resistors 50 and 52, opamp 54 and switch 56. Switching circuit 32 includes switches 58, 60 and 62. Integrator 34 includes resistor 64, capacitor 66 and opamp 68. Inverter follower 30 includes resistors 70 and 72, switch 74 and opamp 76. Discrete logic unit 36 includes track and hold circuit 78 and NOR gates 80 and 82. Comparator 38 includes resistors 84, 86, 88 and 90, capacitor 92 and opamp 94. Figure 3 illustrates various signals which are present during operation of electronics 18, shown in Figure 2. Figure 3 is a graph of signal level versus time. Figure 3 shows voltage levels V 100 , V 102 , V I04 , V m , v ιo 8 ' v ιιo v π 2 / V 114 and V π6 taken at the various test points 100 through 116, respectively, shown in Figure 2. In operation, measuring probe 12 communicates with and receives power over power/communication link 16 from control unit 14. Probe electronics 18 is coupled to transducer 20 and measures a property of liquid 22, such as temperature or conductivity or pH. Electronics 18 transmits this information to control unit 14 over link 16. Electronics 18 converts the analog output from transducer 20 into a digital format for transmission to control unit 14. Circuitry for conversion of an analog signal into a digital signal is shown in Figure 2. Microcontroller 26 receives a clock input from clock 40 and a signal (V 116 in Figure 3) from comparator 38. These two inputs are used to generate a digital value for a signal received from transducer 20 through multiplexer 44. Under the control of microcontroller 26, multiplexer 44 selects which of the transducer connections 42 will be sensed. The transducer signal is amplified by amplifier 46 whose gain is controlled by microcontroller 26. Inverter follower 28 applies the amplified signal to the negative input of opamp 54 which also receives negative feedback from the output of amplifier 54. Switch 56, under the control of microcontroller 26, controls whether inverter follower 28 provides an inverted or a non-inverted output. In similar fashion, switch 74, under the control of microcontroller 26, controls whether inverter follower 30 provides ÷V REP or -V^ to switching circuit 32. Under the control of discrete logic unit 36, switching circuit 32 couples integrator 34 to either the output from inverter follower 28, electrical ground, or a reference level provided by inverter follower 30. Integrator 34 integrates the signal on its input 112 to generate an output at point 114 (V, 14 in Figure 3). Comparator 38 generates a logic level input (V π6 in Figure 3) for microcontroller 26 based upon a comparison of integrator 34 output (V U4 in Figure 3) and ground. Referring to the timing diagram of Figure 3 and the schematic of Figure 2, operation will be explained in more detail. The signal shown as V 100 presents the amplified input from a transducer 20. For purposes of this example, signal V m is shown as a square wave. Signal V 102 is a square wave which controls switch 56 and is generated by microcontroller 26. Signal V 102 is timed off the transitions in signal V 100 and causes inverter follower 28 to switch between an inverting and a non- inverting output. The output of circuit 28 is shown as V I04 and is referred to as AD^. Signal V 104 is largely DC, although there is a small noise spike during the transition of signal V 102 caused by the slew in signal V 100 . Signal V 106 is the output of track and hold circuit 78. Signal V 106 is a square wave at twice the frequency of V 102 having its positive pulse centered on transitions in signal V 102 . Signal V 106 is provided to NOR gate 80. Gate 80 also receives signal V 108 from microcontroller 26. Microprocessor 26 applies signal V 110 to NOR gate 82. Outputs from discrete logic circuit 36 are coupled to switches 58, 60 and 62 causing the switches to selectively provide integrator 34 with a voltage reference (switch 62), ground (switch 60), or the rectified input signal AD^ (switch 58). Signal V 112 shown in Figure 3 represents the output of switching circuit 32. As shown by signal V , switching circuit 32 selectively provides ground, the inverted and non-inverted reference voltage V^, and the signal from the transducer (AD^) . Signal V 114 shows the output of integrator 34 which changes based upon signal V 112 provided by switching circuit 32. Switching circuit 32, under the control of microcontroller 26, applies the reference voltage V REF to integrator 34 until signal V 114 is brought just below ground at a time t,. Microcontroller 26 then toggles switch 74 to apply -V^p to integrator 34 until signal V 114 is brought slightly above ground potential, at which time microcontroller 26 changes signal V u0 to apply ground potential to integrator 34. At time t 2 , microcontroller 26 changes signal V I08 so that switch circuit 32 applies the AD^ signal (V 1M ) to integrator 34. This causes the output of integrator 34 (V 114 ) to begin ramping down. As shown by signal V 112 , the AD^ and ground signals are alternately applied to the input of integrator 34 as controlled by signal V 106 in discrete logic unit 36 under the control of microcontroller 26. The AD JN and ground potential signals are alternately applied to integrator 36 over an integration time period which is a function of the characteristics and output signal strength of transducer 20 received through lines 42. In one embodiment, the integration time (t^) is 20 milliseconds. The output of integrator 34 (V U4 ) is provided to comparator 38 which compares V n4 with ground potential and provides a logical output V n6 . V 11(S is high when V n4 is negative, which occurs briefly at time t, and then again during the integration time t^ and the deintegration time tu E -i NT * Tne deintegration time t^mr is the time for the output of integrator 34 V 1I4 to return to ground potential. The integration tj N j is a function of the transducer whose output is being measured. During the deintegration time, switching circuit 32 applies the inverted V^ signal to the input of integrator 34. This leads to the following relationship: ^I X ''INT I V REF I x ^DE-INT Equation 1 Note that the time tr j χ-r/2 is used due to the blanking needed to eliminate the spikes in the AD^ input signal V 104 . The blanking has a 50% duty cycle and the integration time tr^- is effectively cut in half. Rearranging equation 1 gives the following formula Δ Equation 2 In a preferred embodiment, integration time is selected such that it is a harmonic of 50 or 60 Hz for improved noise rejection. In one embodiment, the integration time is a harmonic of both 50 and 60 Hz. The circuitry of Figure 2 is capable of converting both AC and DC analog inputs into a digital value. For the circuitry to measure an AC signal, inverter follower 28, under the control of microcontroller 26, selectively inverts the AC signal during the negative portion of its cycle to provide a substantially DC signal. The "glitch" that occurs during the transition is blanked with track and hold circuit 78 and discrete logic unit 36. To convert a DC signal to a digital value, microcontroller 26 controls inverter follower 28 to continually provide either an inverted or non-inverted output. Using the formula of equation 2, microcontroller 26 calculates the value of AD^ based upon the known values of V R ^ and t^ j , and the measured value of t DE _ INT . In a preferred embodiment, microcontroller 26 is an 80C51. 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 measuring probe for measuring a parameter, comprising: a sensor providing a sensor output related to a measured value of the parameter; an amplifier section receiving the sensor output and providing an amplifier output; an integrator having an input and an integrator output related to an integration of the input; switching circuitry receiving the amplifier output, a first reference input, and a second reference input, and having a switch output coupled to the input of the integrator, the switching circuitry adapted to selectively couple the switch output to the amplifier output, the first reference input and the second reference input; and controller circuitry coupled to the switching circuitry and operable to alternately couple the integrator input to the amplifier output and the first reference during a sampling time and to the second reference input during a conversion time, the conversion time related to the measured value; wherein the controller circuitry provides a controller output as a function of the conversion time. 2. The measuring probe of claim 1 wherein the amplifier output has a noisy period and the switching circuitry couples the first reference to the integrator input during the noisy period. 3. The measuring probe of claim 1 including means for converting the conversion time to a digital value. 4. The measuring probe of claim 1 wherein the integrator output slews in a first direction during the sampling time and in a second direction during the conversion time. 5. The measuring probe of claim 1 including a communication link for communicating information related to the measured value to a controller. 6. The measuring probe of claim 1 wherein the sensor comprises a pH sensor and the measured value is pH. 7. The measuring probe of claim 1 wherein the sensor comprises a temperature sensor and the measured value is temperature. 8. The measuring probe of claim 1 wherein the sensor output comprises an AC signal, the amplifier section is coupled to the controller and is selectively inverting and non-inverting whereby the amplifier output signal is a substantially DC output. 9. The measuring probe of claim 1 including a communication link for receiving commands from a controller 10. A measurement device for interfacing with a sensor probe having a probe output, comprising: an input adapted for coupling to the probe output; amplifier circuitry coupled to the input having a amplifier output; an integrator stage having an integrator input and an integrator output, wherein the integrator output is related to integration of the input; switching circuitry receiving the amplifier output and a first reference input, the switching circuitry having a switch output and adapted to couple the switch output to the amplifier output and the first reference input; and controller circuitry controlling the switching circuitry so as to couple the integrator input to the amplifier output during a sampling time and to the first reference input during a conversion time, the conversion time being related to the probe output. 11. The measurement device of claim 10 wherein the switching circuitry receives a second reference input and the controller couples the integrator input to the second reference input during the sampling time when the amplifier output is in a high noise condition. 12. The measurement device of claim 10 wherein the coupling of the integrator to the amplifier output during the sampling time is an intermittent coupling.

Inventors: LAROCCA BRIAN, O'BRIEN GREGORY T, LAROCCA, BRIAN, O'BRIEN, GREGORY, T.
Applicants: ROSEMOUNT ANALYTICAL INC, ROSEMOUNT ANALYTICAL INC.
Application year: 1995
Main classification: H03M1
IPC codes: H03M1