WO2000012973A1 - System and method for calibrating a sensor - Google Patents

System and method for calibrating a sensor Download PDF

Info

Publication number
WO2000012973A1
WO2000012973A1 PCT/US1999/019743 US9919743W WO0012973A1 WO 2000012973 A1 WO2000012973 A1 WO 2000012973A1 US 9919743 W US9919743 W US 9919743W WO 0012973 A1 WO0012973 A1 WO 0012973A1
Authority
WO
WIPO (PCT)
Prior art keywords
point
measurement device
relay
level sensor
covered
Prior art date
Application number
PCT/US1999/019743
Other languages
French (fr)
Inventor
Steven M. Russo
Martin Green
Brad Powell
Dean Cheramie
Original Assignee
Coltec Industries 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 Coltec Industries Inc filed Critical Coltec Industries Inc
Priority to AU57912/99A priority Critical patent/AU5791299A/en
Publication of WO2000012973A1 publication Critical patent/WO2000012973A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F23/00Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
    • G01F23/0023Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm with a probe suspended by a wire or thread
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F23/00Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
    • G01F23/22Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water
    • G01F23/26Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring variations of capacity or inductance of capacitors or inductors arising from the presence of liquid or fluent solid material in the electric or electromagnetic fields
    • G01F23/263Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring variations of capacity or inductance of capacitors or inductors arising from the presence of liquid or fluent solid material in the electric or electromagnetic fields by measuring variations in capacitance of capacitors
    • G01F23/266Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring variations of capacity or inductance of capacitors or inductors arising from the presence of liquid or fluent solid material in the electric or electromagnetic fields by measuring variations in capacitance of capacitors measuring circuits therefor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F25/00Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume
    • G01F25/20Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume of apparatus for measuring liquid level
    • G01F25/24Testing proper functioning of electronic circuits

Definitions

  • the subject invention relates to calibration systems for measuring instruments, and more particularly to an improved calibration system and method for point level sensors which are used to determine the level of materials such as liquids, caustics, powders, bulk solids and free flowing materials disposed within a container.
  • Point level sensors have been widely used and are well known in the art.
  • a sensor reading is compared to a stored reference value (e.g., "switch set point") to determine the condition or "state" of the point level sensor.
  • the switch set point is a calibration data point which insures the sensor readings are accurate.
  • U.S. Patent No. 5,553,479 to Rauchwerger discloses a circuit which averages two readings to determine the switch set point, thus reducing user intervention.
  • U.S. Patent No. 4,499,766 to Fathauer et al. an operator pushbutton establishes reference readings of a preselected material condition
  • U.S. Patent No. 4,624,139 to Collins further combined operator pushbuttons with capacitance bridge networks to allow a user initiated calibration.
  • U.S. Patent No. 5,756,876 to Wetzel et al. discloses a method which includes computing a second reference point by adding a predetermined amount to a first reference point. All of the foregoing patents are herein incorporated by reference.
  • One aspect of the present invention is directed to a system for calibrating a measurement device used to indicate a level of a free-flowing material within
  • the system includes a first signal generator operatively associated with a measurement device for initiating a measurement of a covered state of the measurement device.
  • a second signal generator operatively associated with the measurement device for initiating a measurement of an exposed state of the measurement device.
  • a memory for storing data including the measurements corresponding to the covered and exposed states of the measurement device.
  • a microcontroller in communication with the memory wherein the microcontroller is operative to monitor an input signal from the measurement device corresponding to the level of the free-flowing material within the container, receive an input signal from the first signal generator to initiate a measurement of the covered state, and thereupon store in the memory a covered data point based upon the input signal from the measurement device, receive an input signal from the second signal generator to initiate a measurement of the exposed state, and thereupon store in the memory an exposed data point based upon the input signal from of the measurement device and calibrate the measurement device based upon at least one of the covered and exposed data points stored in the memory.
  • the system further includes a relay for controlling an external apparatus operatively associated with the container, wherein the microcontroller is further operative to communicate with the relay and calculate a hysterisis value from using the input signals from the first and second switches.
  • Another aspect of the present invention is directed toward a method for calibrating a point level sensor.
  • the method includes the steps of providing a point level sensor for defining a level of a free-flowing material in a container, receiving input signals from a probe associated with the container, determining a point level sensor hysterisis value based upon the input signals from the probe and calculating data relating to the calibration of the point level sensor using, the input signal from the probe and the
  • the method is further defined wherein the receiving step comprises the steps of receiving an input signal indicating actuation of a first switch relating to an exposed condition and receiving an input signal indicating actuation of a second switch relating to a covered condition.
  • FIG. 1 is a schematic representation of a preferred embodiment of the smart calibration system of the subject invention
  • FIG. 2 is a flowchart illustrating a preferred embodiment of a process for the subject invention
  • FIG. 3 is a schematic diagram of the oscillator circuitry in a preferred embodiment of the capacitance to frequency converter of the point level sensor;
  • FIG. 4 is a schematic diagram of the sine wave to square wave converter circuitry in a preferred embodiment of the microcontroller of the point level sensor;
  • FIG. 5 is a schematic diagram of the counter circuitry in a preferred embodiment of the microcontroller of the point level sensor
  • FIG. 6 is a schematic diagram of the port one interface circuitry in a preferred embodiment of the point level sensor
  • FIG. 7 is a schematic diagram of the port zero interface circuitry in a preferred embodiment of the point level sensor
  • FIG. 8 is a schematic diagram of the microprocessor circuitry in a preferred embodiment of the microcontroller of the point level sensor
  • FIG. 9 is a schematic diagram of the port three interface circuitry in a preferred embodiment of the point level sensor.
  • FIG. 10 is a schematic diagram of the time delay circuitry in a preferred embodiment of the microcontroller of the point level sensor;
  • FIG. 11 is a schematic diagram of the output circuitry in a preferred embodiment of the point level sensor. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
  • This invention relates to an improved system and method for calibrating measuring instruments.
  • the system and method are particularly applicable to point level sensors, although the system and method may be utilized in many applications, such as motor control, as would be readily appreciated by those skilled in the art.
  • the present invention overcomes many problems of the prior art associated with point level sensors. The advantages, and other features of the system and method disclosed herein, will become more readily apparent to those having ordinary skill in the art from the following detailed description of certain preferred embodiments taken in conjunction with the drawings which set forth representative embodiments of the present invention and wherein like reference numerals identify similar structural elements.
  • the system includes a point level sensor 100 constructed in accordance with the subject invention, an external apparatus 185, which can take the form of a valve, pump or the like, a vessel 195 containing a volume of a free-flowing material to be used in an operation 101 and a probe 190 in the form of a capacitance sensor operatively associated with the interior
  • the capacitance of probe 190 varies as the level of material in the vessel 195 increases and decreases.
  • the point level sensor 100 monitors the capacitance of the probe 190 in the vessel 195.
  • Probe 190 can be disposed at the top or bottom of the vessel 195 depending upon the desired application.
  • the vessel 195 may be a storage tank containing bulk solids such as grain, powdered chemicals, cement, or liquids.
  • a probe 190 could be placed in the top of a tank, either vertically or horizontally, to indicate that the tank is full when the probe 190 is covered by the material.
  • the point level sensor 100 monitors a signal indicative of the level of the material.
  • the point level sensor 100 drives the external apparatus 185.
  • the external apparatus 185 will adjust the material level within the vessel 195 in accordance with certain specifications of the operation 101.
  • the point level sensor 100 comprises a microcontroller 105 which serves to acquire data, process data, and execute instructions.
  • Pushbutton switches 150 and 155 are associated with the microcontroller 105 to provide a user with the ability to initiate a calibration sequence.
  • a fail safe signal 145 is associated with microcontroller 105 to provide a user with the ability to semi-permanently select a mode of operation to avert unsafe operating conditions.
  • the point level sensor 100 includes system status indicators, i.e. light emitting diodes (“LED's") 160, 165 and 170, which provide a visual indication of system status.
  • a relay 175 allows the point level sensor 100 to drive external apparatus 185 which requires a greater electrical load than the microcontroller 105 can supply.
  • the microcontroller 105 includes a memory 110 for stores the instruction set for the subject calibration method.
  • the memory 110 comprises RAM 111 and electronically erasable programmable read only memory (“EEPROM”) 115 to allow for volatile and non-volatile storage.
  • Microprocessor 120 executes the instruction set of the subject invention.
  • Microcontroller 105 also includes a capacitance to frequency converter 122 oscillates at a frequency that varies with the capacitance of the sensor in order to allow the microcontroller 105 to monitor the level of material disposed in the container.
  • a sine to square wave converter 125 is provided for changing the output of the capacitance to frequency converter 122 into a square wave which the microprocessor 120 can effectively evaluate.
  • An A/D converter 135 modifies the fail safe signal 145 to allow microprocessor 120 to process it.
  • Timer delay and output field effect transistor (“FET”) 140 dampen the microprocessor 120 response to prevent the output state LED 170 and relay 175 from changing state inadvertently over minor fluctuations.
  • a counter 126, timer 127 and clock 130 are also provided to facilitate microprocessor 120 operations.
  • the probe 190 capacitance is an element of an oscillator circuit within the capacitance to frequency converter 122.
  • the probe 190 capacitance sets the frequency of the oscillator circuit.
  • the frequency of the oscillator circuit varies as the level of material increases and decreases. In the preferred embodiment, the frequency decreases as the capacitance increases.
  • the higher the probe 190 capacitance, the lower the converter 180 frequency the higher the level of the material in the container.
  • the lower the probe 190 capacitance the higher the converter 180 frequency, the lower the level of material in the container.
  • the sine to square wave converter 125 of the microcontroller 105 receives the output from the capacitance to frequency converter 122, and changes the sine wave
  • a counter circuit 126 divides the resulting square wave signal.
  • the microprocessor 120 determines a count based upon the divided square wave.
  • the microcontroller 105 monitors the status of the fail safe signal 145, covered switch 150 and exposed switch 155, and controls the relay 175.
  • the fail safe signal 145 determines the states upon which states the relay 175 is energized.
  • the microprocessor 120 maintains the material level above the probe 190 position, i.e. covered. To accomplish this, if the probe 190 reading is below the set switch point for the covered state, the microprocessor 120 outputs a signal to energize the relay.
  • the timer delay and output FET 140 filter out the minor output signal fluctuations which cause undesirable state changes. Thus, the state must substantially change to another state before the relay 175 is energized.
  • the microcontroller 105 When the relay 175 is energized, the external apparatus 185 fills the vessel 195. Conversely, in low fail safe mode, the microprocessor 120 maintains the material level below the probe 190, i.e. exposed. For the energized and de-energized conditions of the relay 175, the microcontroller 105 turns output state LED 170 on and off respectively. Further, during normal operation, the microcontroller 105 illuminates the system health LED 165, thus indicating that no faults are detected. If the system self-test detects a fault, the system health LED 165 flashes until the condition is corrected. Still further, the microcontroller 105 illuminates the calibration LED 160, when a valid calibration has been performed. If the system is performing a calibration, the calibration LED 160 flashes until the operation
  • the system can enter the calibration mode upon initialization or actuation of either the covered or exposed calibration switches 150 and 155.
  • the microprocessor 120 reads the EEPROM 115 to see if valid calibration data exists. If so, normal operation can resume based upon the prior valid calibration data.
  • a user can initiate calibration in several ways. For example, the material level can be dropped to reach the exposed state. At such a time, the user actuates the exposed pushbutton switch 155. The microcontroller 105 then acquires a probe 190 reading, stores it in the EEPROM 115 and utilizes it as an exposed data point. If the exposed data point is the only valid data point, the relay 175 energize points are determined solely therefrom. Similarly, if the material level is adjusted to the covered state and the covered pushbutton switch is actuated, the microcontroller 105 acquires and stores a covered data point. If the covered data point is the only valid data point, the relay 175 energize points are determined solely therefrom.
  • the point level sensor 100 can be calibrated in either state, covered or exposed.
  • the calibration values are reversed as a result of the user pressing a switch under the wrong condition, the calibration values are exchanged to correct the error.
  • the two data points are used to determine the relay 175 energize points. If no valid data points exist, default data for the relay 175 energize points is used.
  • the probe 190 includes a drive guard system. As is well known in the art, the drive guard system prevents accumulated build up on the probe 190 from causing incorrect readings.
  • the drive guard system comprises an element of the probe 190 which protrudes into the vessel and supporting circuitry.
  • U.S. Patent No. 4,166,388 to Sun et al. discloses such a drive guard system and is herein incorporated by reference.
  • the system initializes at step 200.
  • An initialization routine is executed which sets system parameters to default states that allow for successful calibration and operation. For example, system counters will be set to null values in order to prevent subsequent erroneous operations.
  • the initialization routine initializes the RAM 1 11 and option registers, determines output state on relay 175, configures the interrupt registers and reads EEPROM 1 15. If the voltage on GPO line of microprocessor 120 is erroneous, a fail safe condition occurs.(see FIG. 8)
  • the microcontroller 105 reads the EEPROM 1 15 to determine if prior valid calibration data is present. If valid calibration is present, it is utilized and operation proceeds.
  • the microcontroller 105 reads the fail safe signal 145 at step 215.
  • the fail safe mode is operator selectable according to the specification of the operation 101.
  • a jumper is provided to allow the user to select low or high fail safe mode.
  • a jumper is an electrical device that connects two or more electrical pins. Removal of the jumper eliminates the electrical connection. Generally, a user can remove and replace the jumper without difficulty.
  • the microcontroller 105 polls the switches current state. If a switch is depressed, the microcontroller 105 stores a corresponding data point in memory 110. Accordingly, the microcontroller 105 updates the output state, calibration and system health LEDs 160 and 165.
  • the main calibration loop of the program commences at step 225. The main loop interrupts operations based upon the data gathered at steps 220. For
  • the microcontroller 105 determines if the data representing a probe 190 reading in the covered state (e.g., "covered data point") is valid.
  • the covered data point may be valid due to a previously performed covered calibration.
  • a valid covered calibration occurs when the covered switch 150 is depressed during the covered state.
  • the microcontroller 105 will take the average of approximately 256 probe 190 readings as a valid data point.
  • the covered data may not be valid, i.e. a covered calibration has not yet been performed.
  • the microcontroller 105 proceeds to step 235. If the covered data is determined to be not valid, the microcontroller 105 proceeds to step 242.
  • the microcontroller 105 determines if the data representing a probe 190 reading in the exposed state (e.g., "exposed data point") is valid at step 235.
  • the exposed data point may be valid due to a previously performed exposed calibration. An exposed calibration occurs when the exposed switch 155 is depressed during the exposed state. Alternatively, the exposed data may not be valid, i.e. an exposed calibration has not yet been performed. If the exposed data point is determined to be valid, the microcontroller 105 proceeds to step 239. If the exposed data is determined to be not valid, the microcontroller 105 proceeds to step 237.
  • the microcontroller 105 performs a calibration based only upon the covered data point at step 237. Two parameters, "TRIPON” and “TRIPOFF", are determined. TRIPON is used to determine when the relay 175 energizes. TRIPOFF is used to determine when the relay 175 de-energizes. When the relay 175 energizes in high
  • the material level within vessel 195 increases until the state of the probe 190 changes from exposed to covered.
  • the relay 175 energizes in low fail safe mode, the material level within vessel 195 decreases until the state of the probe 190 changes from covered to exposed.
  • TRIPON equals the covered data point minus 5 counts where each count equals 0.5pF.
  • TRIPOFF equals the covered data point minus 10 counts.
  • the microcontroller 105 performs a calibration based upon the covered and exposed data points stored in the memory 110.
  • the microcontroller 105 performs a calibration based upon the covered and exposed data points stored in the memory 110.
  • TRIPON equals the covered data point minus the hysterisis.
  • TRIPOFF equals the exposed data point plus the hysterisis.
  • the hysterisis equals the difference between the covered and exposed data points divided by eight with a minimum hysterisis value of four counts.
  • the microcontroller 105 determines if the exposed data point is valid at step 242. If the exposed data point is determined to be valid, the microcontroller 105 proceeds to step 245. If the exposed data point is determined to be not valid, the microcontroller 105 proceeds to step 250. Similar to step 237, the microcontroller 105 performs a calibration based only upon the exposed data point at step 245. In the preferred embodiment, TRIPON equals the exposed data point plus 10 counts. Similarly, TRIPOFF equals the exposed data point plus 5 counts. At step 250, no valid data points exist. As a result, the microcontroller 105 uses default TRIPON and TRIPOFF values.
  • the microcontroller 105 determines if the fail safe signal 145 is set in low mode at step 255. If the fail safe signal 145 is in low mode, the microcontroller 105 proceeds to step 260. If the fail safe signal 145 is in high mode, the microcontroller 105 proceeds to step 270. At step 260, the system is in low fail safe mode.
  • microcontroller 105 determines if the material level in the vessel 195 is above the relay 175 energize point, i.e. TRIPON. If the material level is above TRIPON, the microcontroller 105 proceeds to step 267. If the material level is not above TRIPON, the microcontroller 105 proceeds to step 262. At step 267, the material level is above TRIPON, indicating a covered state. The relay 175 is then turned on to allow the external apparatus 185 to adjust the material level in the vessel 195 to the exposed state.
  • the material level is below TRIPON and the microcontroller 105 determines if the material level in the vessel 195 is below the relay 175 de-energize point, i.e. TRIPOFF. If the material level is below TRIPOFF, the microcontroller 105 proceeds to step 263. At step 263, the relay 175 is de-energized and the external apparatus 185 does not change the material level. If the material level is not below TRIPOFF, the microcontroller 105 proceeds to step 280 and the current state of the relay is unchanged. At step 270, the system is in high fail safe mode. The microcontroller 105 determines if the material level is below TRIPON. If the material level is below TRIPON, the microcontroller 105 proceeds to step 273. If the material level is not below TRIPON, the microcontroller 105 proceeds to step 276.
  • the microcontroller 105 determines if the material level in the vessel 195 is above TRIPOFF. If the material level is not below TRIPOFF, the microcontroller 105 proceeds to step 280 and the current state of the relay is unchanged. If the material level is above TRIPOFF, the microcontroller 105 proceeds to step 277. At step 277, the microcontroller 105 de- energizes relay 175.
  • the material level is below the TRIPON, indicating an exposed state at step
  • the relay 175 is turned on to allow the external apparatus 185 to adjust the material level in the vessel 195.
  • the material level is above TRIPOFF, indicating an acceptable level and as a result, the relay 175 is de-energized.
  • the microcontroller 105 restarts a continuous loop by proceeding to step 220.
  • FIGS. 3-11 there are illustrated several electronic components of the calibration system of the subject invention.
  • the denoted values of the disclosed components are in no way intended to limit the subject invention, as they can be adjusted by those skilled in the art to achieve performance in dependence upon specific application requirements.
  • the oscillator circuit is a portion of the capacitance to frequency converter 122. Its sine wave output varies with the capacitance of the probe 190.
  • the oscillator circuit is an astable multivibrator.
  • Capacitor C9 terminates the circuit input to a known condition if the probe 190 becomes open.
  • Resistor R10 provides circuit protection in that the resistor limits in rush currents during voltage transients.
  • Diodes Dl, D2, and D3 provide circuit protection by clamping voltage transients to Vcc or ground.
  • Capacitor C8 allows the circuit to continue to oscillate with the input shorted to ground, i.e. water covering the probe 190.
  • Resistor Rl l isolates the inverting input of amplifier U4 from the capacitive input circuit.
  • the circuit oscillates by continually charging or discharging the input capacitors (including the probe 190 capacitor) depending on amplifier U4's output state through resistors R8, R6, and the combination of resistors R4, R5, and R7.
  • the amplifier U4 output changes state when the voltage at the junction of capacitor C8 and resistor Rl 1 exceeds or drops below the trip-point established by resistor network, consisting of R14, R15, R17, and R18, which is connected to the non-inverting input of amplifier U4.
  • Resistor R15 varies the trip-point by feeding back the output of amplifier U4 to resistor network R14, R17, and R18.
  • Capacitor Cl l provides wave shaping for the signal to the probe guard drive circuit (see FIG. 12).
  • Capacitor C2 provides circuit output wave shaping.
  • the oscillator circuit output, a quasi-sine wave, is input to the sine to square wave converter 125. Referring to FIG. 4, the sine wave to square wave converter circuit 125 converts the output of the oscillator circuit into a 0-5 VDC square wave as is well known in the art.
  • Resistors Rl and R9 set the trip voltage for comparator circuit Ul .
  • the output is connected to the CLK line of counter 126. (see FIG. 5) In the preferred embodiment, the output ranges from 2.08 kHz with the probe 190 shorted to 2.137 MHz with the probe 190
  • the counter 126 circuit is a portion of microcontroller 105. It provides a fourteen stage ripple counter U3 to divide the frequency of the input signal by 1024. Resistor R29 is installed and connects the counter 126 output to the microprocessor 120 port line GP2.(see FIG. 8) Resistor R30 is not installed. Capacitor C3 is a filter capacitor on the power supply line. In the preferred embodiment, the output ranges from 2.09 kHz with the probe 190 open to 16.25 Hz with the 0.033 uF on the probe 190.
  • the port one interface circuit is a portion of the point level sensor 100. It provides the signal from the covered switch 150 to the microprocessor 120 port line GPl and also illuminates either or both of the calibration and system health LED's 160 and 165.
  • the software sets GPl in the input mode, the state of covered switch 150 is read.
  • Resistor R3 provides a valid logic low on the port line when covered switch 150 is not depressed but the port line is in the input mode.
  • Resistor R39 provides a valid logic high on the port line when the covered switch 150 is depressed when the port line is in the input mode. The value of R39 is high enough that the system health LED 165 does not turn on when the covered switch 150 is depressed.
  • a removable jumper JP2 is provided to disable the covered switch 150.
  • the software can illuminate either of the calibration or system health LED's 160 and 165.
  • the calibration LED 160 illuminates.
  • Resistors R12 and R13 provide the correct bias voltage for this illumination.
  • the port line is a logic high, the system health LED 165 illuminates.
  • Resistor R2 and diodes D10 and D8 provide the correct bias voltage for this illumination.
  • the port zero interface circuit is a portion of the point level sensor 100. It provides the state of the fail safe jumper JP5 to the microprocessor 120 port line GPO as well as allow the microprocessor 120 to turn on the output FET Q2.
  • the microcontroller 105 A/D converter 135 reads the state of the fail safe jumper JP5.
  • resistors R19 and R34 set the GPO port line at greater than .25 VDC, which is the trip level set in software for high fail safe mode.
  • resistor R19 sets the GPO port line to 0 VDC, which is the trip level for low fail safe mode.
  • the microprocessor 120 circuit is a portion of microcontroller 105. It executes the software program in accordance with the subject invention.
  • Microprocessor 120 contains a central processing unit (e.g., CPU) for controlling the operations of the microcontroller 105.
  • the microprocessor 120 operation is
  • Crystal Yl and capacitors C5 and C6 set the microcontroller 105 oscillator frequency.
  • Capacitor C4 is a filter capacitor on the power supply line.
  • the port three interface circuit is a portion of the microcontroller 105. It provides the circuitry so that the microprocessor 120 , at port line
  • Resistor R20 a pull up resistor, prevents shorting the power supply voltage to ground when the exposed switch 155 is depressed.
  • Removable jumper JP6 can be used to disable the exposed switch 155.
  • the time delay circuit is a portion of microcontroller 105. It allows the user to adjust the time delay between microprocessor 120 port line GPO turning on or off and the output FET Q2 turning on or off in order to filter the output state as described above.
  • Resistor R26 is not installed.
  • Resistors R21, R38 and variable resistor R25 control the charge/discharge time of capacitor C14.
  • Variable resistor R25 is set by the user for the particular application.
  • Resistor R38 guarantees that if the variable resistor R25 is adjusted to zero ohms, there always is a small amount of resistance between capacitor C14 and the microprocessor 120 port line GPO to prevent loading.
  • Amplifier U5A provides high impedance buffering of capacitor C14 to prevent discharge.
  • U5A is configured as a voltage follower so that it's output voltage equals the voltage across capacitor C14.
  • Amplifier U5B is configured as a comparator and its' output changes state to either turn on or off FET Q2 when the U5A output (i.e. capacitor C14 voltage) meets the trip requirements.
  • Resistors R23 and R28 set the voltage on the comparator reference input to half of the supply voltage.
  • Resistors R41 and R42 set the comparator circuit hysterisis.
  • the output circuit is a portion of point level sensor 100.
  • the microprocessor 120 can turn FET Q2 on or off in accordance with the subject invention.
  • a high current sink to ground is established when FET Q2 turns on.
  • a high impedance to ground is established when FET Q2 is turned off and accordingly no current flows and the relay 175 is de-energized.
  • Output state LED 170 provides a visual indication of the relay 175 condition, energized or de-energized.
  • Resistor R35 and diode D9 set the bias voltage of LED D9.
  • Resistor R37 provides impedance in series with the gate of FET Q2. Resistor R40 is not installed.
  • Capacitor C21 provides EMI filtering and transient suppression of the output.
  • the output may be used to drive a relay 175, which in turn allows an apparatus with a heavy electrical load requirement to be driven.
  • a device other than a relay 175 may be controlled by the microprocessor 120 as the operation requires.

Abstract

A system and method for calibrating a measurement device used to indicate a level of a free-flowing material within a container. A system includes first and second signal generators operatively associated with a measurement device for initiating measurements of a covered and exposed state of the measurement device. A memory stores data including the measurements corresponding to the states of the measurement device. A microcontroller communicates with the memory. The microcontroller is operative to monitor an input signal from the measurement device corresponding to the level of the free-flowing material within the container, receive input signals from the first and second signal generators to initiate measurements of the states, and thereupon store in the memory data points based upon the input signals from the measurement device and calibrate the measurement device based upon at least one of the data points stored in the memory.

Description

SYSTEM AND METHOD FOR CALIBRATING A SENSOR
This disclosure includes a software appendix of 44 pages, the entirety of which is copyrighted. The copyright owner has no objection to the facsimile reproduction by anyone of the patent disclosure, as it appears in the Patent and Trademark Office patent files or records, but otherwise reserves all copyright rights whatsoever.
CROSS-REFERENCE TO RELATED APPLICATIONS
This application claims priority to U.S. Provisional Patent Application No. 60/098,755, filed September 1, 1998, which is incorporated herein by reference.
BACKGROUND OF THE INVENTION
1. Field of the Invention
The subject invention relates to calibration systems for measuring instruments, and more particularly to an improved calibration system and method for point level sensors which are used to determine the level of materials such as liquids, caustics, powders, bulk solids and free flowing materials disposed within a container. 2. Background of the Related Art
Point level sensors have been widely used and are well known in the art.
They are used to detect the presence, absence and/or level of a free flowing material in a container. In use, the output of the sensor varies with the level of the material in the container. This information is used to monitor and maintain specified desirable conditions, e.g., full or empty. Techniques for sensing the level of a material in a vessel include the use of capacitance probes, radio frequency (e.g., "RF") admittance probes or the like. Examples of such probes are described in detail in U.S. Patent No. 4,555,941 to Fathauer et al. and U.S. Patent No. 4,166,388 to Sun et al. In the prior art, in order to prevent undesirable overfilling or underfilling conditions, a sensor reading is compared to a stored reference value (e.g., "switch set point") to determine the condition or "state" of the point level sensor. The switch set point is a calibration data point which insures the sensor readings are accurate. When the substance contacts the sensor, this state is referred to as "covered" or "full". Likewise, when the sensor is not in contact with the substance, this state is referred to as "exposed", "uncovered" or "empty". These terms will be used interchangeably throughout the specification which follows.
It is well known to calibrate a measuring instrument to maintain the switch set point centrally between the two states of covered and exposed. Typically, a switch set point is established by a user adjusting a potentiometer. Generally, user adjustment processes are inconvenient, time-consuming and prone to error.
As a result of these difficulties, several systems have been developed to more efficiently calibrate measuring instruments. For example, U.S. Patent No. 5,553,479 to Rauchwerger discloses a circuit which averages two readings to determine the switch set point, thus reducing user intervention. In U.S. Patent No. 4,499,766 to Fathauer et al., an operator pushbutton establishes reference readings of a preselected material condition
(e.g., covered or exposed). U.S. Patent No. 4,624,139 to Collins further combined operator pushbuttons with capacitance bridge networks to allow a user initiated calibration. U.S. Patent No. 5,756,876 to Wetzel et al. discloses a method which includes computing a second reference point by adding a predetermined amount to a first reference point. All of the foregoing patents are herein incorporated by reference.
Despite their utility, there are still problems associated with these prior art systems and methods. For example, if the switch set point is too low, the sensor reading may exceed the switch set point by slight variations of the measurement device rather than a state change. This could be the result of formation of deposits on a capacitance probe or a change in the capacitance of the material disposed in the container. If the switch set point is too high, the sensor may not achieve a reading above the switch set point when the probe becomes covered. As a result, erroneous sensor readings occur. Prior art systems require the step of properly adjusting the level of material to a required state before a calibration can occur. Furthermore, variations in probe readings, depending upon the direction of the state change, (e.g., "hysterisis"), can cause incorrect measurements leading to a poor calibration and erroneous sensor readings.
In view of the deficiencies of prior measuring instruments, there is a need in the art for an improved measuring instrument calibration system and method which permits efficient and error free calibration for a variety of applications and operating conditions.
SUMMARY OF THE INVENTION
One aspect of the present invention is directed to a system for calibrating a measurement device used to indicate a level of a free-flowing material within
a container. The system includes a first signal generator operatively associated with a measurement device for initiating a measurement of a covered state of the measurement device. A second signal generator operatively associated with the measurement device for initiating a measurement of an exposed state of the measurement device. A memory for storing data including the measurements corresponding to the covered and exposed states of the measurement device. A microcontroller in communication with the memory, wherein the microcontroller is operative to monitor an input signal from the measurement device corresponding to the level of the free-flowing material within the container, receive an input signal from the first signal generator to initiate a measurement of the covered state, and thereupon store in the memory a covered data point based upon the input signal from the measurement device, receive an input signal from the second signal generator to initiate a measurement of the exposed state, and thereupon store in the memory an exposed data point based upon the input signal from of the measurement device and calibrate the measurement device based upon at least one of the covered and exposed data points stored in the memory. The system further includes a relay for controlling an external apparatus operatively associated with the container, wherein the microcontroller is further operative to communicate with the relay and calculate a hysterisis value from using the input signals from the first and second switches.
Another aspect of the present invention is directed toward a method for calibrating a point level sensor. The method includes the steps of providing a point level sensor for defining a level of a free-flowing material in a container, receiving input signals from a probe associated with the container, determining a point level sensor hysterisis value based upon the input signals from the probe and calculating data relating to the calibration of the point level sensor using, the input signal from the probe and the
point level sensor hysterisis value. The method is further defined wherein the receiving step comprises the steps of receiving an input signal indicating actuation of a first switch relating to an exposed condition and receiving an input signal indicating actuation of a second switch relating to a covered condition. BRIEF DESCRIPTION OF THE DRAWINGS
So that those having ordinary skill in the art to which the disclosed system and method appertain will more readily understand how to make and use the same, reference may be had to the drawings wherein:
FIG. 1 is a schematic representation of a preferred embodiment of the smart calibration system of the subject invention;
FIG. 2 is a flowchart illustrating a preferred embodiment of a process for the subject invention; FIG. 3 is a schematic diagram of the oscillator circuitry in a preferred embodiment of the capacitance to frequency converter of the point level sensor;
FIG. 4 is a schematic diagram of the sine wave to square wave converter circuitry in a preferred embodiment of the microcontroller of the point level sensor;
FIG. 5 is a schematic diagram of the counter circuitry in a preferred embodiment of the microcontroller of the point level sensor;
FIG. 6 is a schematic diagram of the port one interface circuitry in a preferred embodiment of the point level sensor;
FIG. 7 is a schematic diagram of the port zero interface circuitry in a preferred embodiment of the point level sensor; FIG. 8 is a schematic diagram of the microprocessor circuitry in a preferred embodiment of the microcontroller of the point level sensor;
FIG. 9 is a schematic diagram of the port three interface circuitry in a preferred embodiment of the point level sensor; FIG. 10 is a schematic diagram of the time delay circuitry in a preferred embodiment of the microcontroller of the point level sensor; and
FIG. 11 is a schematic diagram of the output circuitry in a preferred embodiment of the point level sensor. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
This invention relates to an improved system and method for calibrating measuring instruments. The system and method are particularly applicable to point level sensors, although the system and method may be utilized in many applications, such as motor control, as would be readily appreciated by those skilled in the art. The present invention overcomes many problems of the prior art associated with point level sensors. The advantages, and other features of the system and method disclosed herein, will become more readily apparent to those having ordinary skill in the art from the following detailed description of certain preferred embodiments taken in conjunction with the drawings which set forth representative embodiments of the present invention and wherein like reference numerals identify similar structural elements.
Referring to FIG 1, there is shown a block diagram of a preferred embodiment of the smart calibration system of the subject invention. In general, the system includes a point level sensor 100 constructed in accordance with the subject invention, an external apparatus 185, which can take the form of a valve, pump or the like, a vessel 195 containing a volume of a free-flowing material to be used in an operation 101 and a probe 190 in the form of a capacitance sensor operatively associated with the interior
of the vessel 195.
In operation, the capacitance of probe 190 varies as the level of material in the vessel 195 increases and decreases. The point level sensor 100 monitors the capacitance of the probe 190 in the vessel 195. Probe 190 can be disposed at the top or bottom of the vessel 195 depending upon the desired application. For example, the vessel 195 may be a storage tank containing bulk solids such as grain, powdered chemicals, cement, or liquids. In an exemplary embodiment, a probe 190 could be placed in the top of a tank, either vertically or horizontally, to indicate that the tank is full when the probe 190 is covered by the material.
As a result of the capacitance variation of the probe 190, the point level sensor 100 monitors a signal indicative of the level of the material. When the switch set points are exceeded, the point level sensor 100 drives the external apparatus 185. The external apparatus 185 will adjust the material level within the vessel 195 in accordance with certain specifications of the operation 101.
With continuing reference to FIG. 1, the point level sensor 100 comprises a microcontroller 105 which serves to acquire data, process data, and execute instructions. Pushbutton switches 150 and 155 are associated with the microcontroller 105 to provide a user with the ability to initiate a calibration sequence. A fail safe signal 145 is associated with microcontroller 105 to provide a user with the ability to semi-permanently select a mode of operation to avert unsafe operating conditions. The point level sensor 100 includes system status indicators, i.e. light emitting diodes ("LED's") 160, 165 and 170, which provide a visual indication of system status. A relay 175 allows the point level sensor 100 to drive external apparatus 185 which requires a greater electrical load than the microcontroller 105 can supply.
The microcontroller 105 includes a memory 110 for stores the instruction set for the subject calibration method. The memory 110 comprises RAM 111 and electronically erasable programmable read only memory ("EEPROM") 115 to allow for volatile and non-volatile storage. Microprocessor 120 executes the instruction set of the subject invention.
Microcontroller 105 also includes a capacitance to frequency converter 122 oscillates at a frequency that varies with the capacitance of the sensor in order to allow the microcontroller 105 to monitor the level of material disposed in the container. A sine to square wave converter 125 is provided for changing the output of the capacitance to frequency converter 122 into a square wave which the microprocessor 120 can effectively evaluate. An A/D converter 135 modifies the fail safe signal 145 to allow microprocessor 120 to process it. Timer delay and output field effect transistor ("FET") 140 dampen the microprocessor 120 response to prevent the output state LED 170 and relay 175 from changing state inadvertently over minor fluctuations. A counter 126, timer 127 and clock 130 are also provided to facilitate microprocessor 120 operations.
During normal operation, the probe 190 capacitance is an element of an oscillator circuit within the capacitance to frequency converter 122. The probe 190 capacitance sets the frequency of the oscillator circuit. As a result, the frequency of the oscillator circuit varies as the level of material increases and decreases. In the preferred embodiment, the frequency decreases as the capacitance increases. Thus, the higher the probe 190 capacitance, the lower the converter 180 frequency, the higher the level of the material in the container. Similarly, the lower the probe 190 capacitance, the higher the converter 180 frequency, the lower the level of material in the container.
The sine to square wave converter 125 of the microcontroller 105 receives the output from the capacitance to frequency converter 122, and changes the sine wave
output into a square wave. (see FIG. 4) A counter circuit 126 divides the resulting square wave signal. (see FIG. 5) The microprocessor 120 then determines a count based upon the divided square wave.
The microcontroller 105 monitors the status of the fail safe signal 145, covered switch 150 and exposed switch 155, and controls the relay 175. The fail safe signal 145 determines the states upon which states the relay 175 is energized. When the fail safe signal 145 is in high fail safe mode, the microprocessor 120 maintains the material level above the probe 190 position, i.e. covered. To accomplish this, if the probe 190 reading is below the set switch point for the covered state, the microprocessor 120 outputs a signal to energize the relay. However, the timer delay and output FET 140 filter out the minor output signal fluctuations which cause undesirable state changes. Thus, the state must substantially change to another state before the relay 175 is energized. When the relay 175 is energized, the external apparatus 185 fills the vessel 195. Conversely, in low fail safe mode, the microprocessor 120 maintains the material level below the probe 190, i.e. exposed. For the energized and de-energized conditions of the relay 175, the microcontroller 105 turns output state LED 170 on and off respectively. Further, during normal operation, the microcontroller 105 illuminates the system health LED 165, thus indicating that no faults are detected. If the system self-test detects a fault, the system health LED 165 flashes until the condition is corrected. Still further, the microcontroller 105 illuminates the calibration LED 160, when a valid calibration has been performed. If the system is performing a calibration, the calibration LED 160 flashes until the operation
is completed.
The system can enter the calibration mode upon initialization or actuation of either the covered or exposed calibration switches 150 and 155. Upon initialization, the microprocessor 120 reads the EEPROM 115 to see if valid calibration data exists. If so, normal operation can resume based upon the prior valid calibration data.
Using the system of the subject invention, a user can initiate calibration in several ways. For example, the material level can be dropped to reach the exposed state. At such a time, the user actuates the exposed pushbutton switch 155. The microcontroller 105 then acquires a probe 190 reading, stores it in the EEPROM 115 and utilizes it as an exposed data point. If the exposed data point is the only valid data point, the relay 175 energize points are determined solely therefrom. Similarly, if the material level is adjusted to the covered state and the covered pushbutton switch is actuated, the microcontroller 105 acquires and stores a covered data point. If the covered data point is the only valid data point, the relay 175 energize points are determined solely therefrom. Thus, the point level sensor 100 can be calibrated in either state, covered or exposed. In a preferred embodiment of the subject invention, if the calibration values are reversed as a result of the user pressing a switch under the wrong condition, the calibration values are exchanged to correct the error. However, if valid exposed and covered data points exists, the two data points are used to determine the relay 175 energize points. If no valid data points exist, default data for the relay 175 energize points is used. Thus, one of the objects of the present invention is fulfilled in that it is not necessary to adjust the material level to a predetermined state before calibration or operation. Preferably, the probe 190 includes a drive guard system. As is well known in the art, the drive guard system prevents accumulated build up on the probe 190 from causing incorrect readings. The drive guard system comprises an element of the probe 190 which protrudes into the vessel and supporting circuitry. U.S. Patent No. 4,166,388 to Sun et al. discloses such a drive guard system and is herein incorporated by reference. Referring now to FIG. 2, the system initializes at step 200. An initialization routine is executed which sets system parameters to default states that allow for successful calibration and operation. For example, system counters will be set to null values in order to prevent subsequent erroneous operations. In this described embodiment, the initialization routine initializes the RAM 1 11 and option registers, determines output state on relay 175, configures the interrupt registers and reads EEPROM 1 15. If the voltage on GPO line of microprocessor 120 is erroneous, a fail safe condition occurs.(see FIG. 8)
At step 210. the microcontroller 105 reads the EEPROM 1 15 to determine if prior valid calibration data is present. If valid calibration is present, it is utilized and operation proceeds. The microcontroller 105 reads the fail safe signal 145 at step 215. The fail safe mode is operator selectable according to the specification of the operation 101. In a preferred embodiment, a jumper is provided to allow the user to select low or high fail safe mode. A jumper is an electrical device that connects two or more electrical pins. Removal of the jumper eliminates the electrical connection. Generally, a user can remove and replace the jumper without difficulty.
At step 220, the microcontroller 105 polls the switches current state. If a switch is depressed, the microcontroller 105 stores a corresponding data point in memory 110. Accordingly, the microcontroller 105 updates the output state, calibration and system health LEDs 160 and 165. The main calibration loop of the program commences at step 225. The main loop interrupts operations based upon the data gathered at steps 220. For
example, when the exposed switch 155 is pressed, the microcontroller 105 initiates the routine for making calibration calculations. At such a time, the calibration LED 160 flashes. Thus, the operator is aware that a calibration is occurring. At step 230, the microcontroller 105 determines if the data representing a probe 190 reading in the covered state (e.g., "covered data point") is valid. The covered data point may be valid due to a previously performed covered calibration. For example, a valid covered calibration occurs when the covered switch 150 is depressed during the covered state. In the preferred embodiment, the microcontroller 105 will take the average of approximately 256 probe 190 readings as a valid data point. Alternatively, the covered data may not be valid, i.e. a covered calibration has not yet been performed.
If the covered data point is determined to be valid, the microcontroller 105 proceeds to step 235. If the covered data is determined to be not valid, the microcontroller 105 proceeds to step 242. The microcontroller 105 determines if the data representing a probe 190 reading in the exposed state (e.g., "exposed data point") is valid at step 235. The exposed data point may be valid due to a previously performed exposed calibration. An exposed calibration occurs when the exposed switch 155 is depressed during the exposed state. Alternatively, the exposed data may not be valid, i.e. an exposed calibration has not yet been performed. If the exposed data point is determined to be valid, the microcontroller 105 proceeds to step 239. If the exposed data is determined to be not valid, the microcontroller 105 proceeds to step 237.
The microcontroller 105 performs a calibration based only upon the covered data point at step 237. Two parameters, "TRIPON" and "TRIPOFF", are determined. TRIPON is used to determine when the relay 175 energizes. TRIPOFF is used to determine when the relay 175 de-energizes. When the relay 175 energizes in high
fail safe mode, the material level within vessel 195 increases until the state of the probe 190 changes from exposed to covered. When the relay 175 energizes in low fail safe mode, the material level within vessel 195 decreases until the state of the probe 190 changes from covered to exposed. In the preferred embodiment, TRIPON equals the covered data point minus 5 counts where each count equals 0.5pF. Similarly, TRIPOFF equals the covered data point minus 10 counts.
At step 239, the microcontroller 105 performs a calibration based upon the covered and exposed data points stored in the memory 110. In the preferred embodiment,
TRIPON equals the covered data point minus the hysterisis. TRIPOFF equals the exposed data point plus the hysterisis. The hysterisis equals the difference between the covered and exposed data points divided by eight with a minimum hysterisis value of four counts.
Similar to step 235, the microcontroller 105 determines if the exposed data point is valid at step 242. If the exposed data point is determined to be valid, the microcontroller 105 proceeds to step 245. If the exposed data point is determined to be not valid, the microcontroller 105 proceeds to step 250. Similar to step 237, the microcontroller 105 performs a calibration based only upon the exposed data point at step 245. In the preferred embodiment, TRIPON equals the exposed data point plus 10 counts. Similarly, TRIPOFF equals the exposed data point plus 5 counts. At step 250, no valid data points exist. As a result, the microcontroller 105 uses default TRIPON and TRIPOFF values.
The microcontroller 105 determines if the fail safe signal 145 is set in low mode at step 255. If the fail safe signal 145 is in low mode, the microcontroller 105 proceeds to step 260. If the fail safe signal 145 is in high mode, the microcontroller 105 proceeds to step 270. At step 260, the system is in low fail safe mode. The
microcontroller 105 determines if the material level in the vessel 195 is above the relay 175 energize point, i.e. TRIPON. If the material level is above TRIPON, the microcontroller 105 proceeds to step 267. If the material level is not above TRIPON, the microcontroller 105 proceeds to step 262. At step 267, the material level is above TRIPON, indicating a covered state. The relay 175 is then turned on to allow the external apparatus 185 to adjust the material level in the vessel 195 to the exposed state.
At step 262, the material level is below TRIPON and the microcontroller 105 determines if the material level in the vessel 195 is below the relay 175 de-energize point, i.e. TRIPOFF. If the material level is below TRIPOFF, the microcontroller 105 proceeds to step 263. At step 263, the relay 175 is de-energized and the external apparatus 185 does not change the material level. If the material level is not below TRIPOFF, the microcontroller 105 proceeds to step 280 and the current state of the relay is unchanged. At step 270, the system is in high fail safe mode. The microcontroller 105 determines if the material level is below TRIPON. If the material level is below TRIPON, the microcontroller 105 proceeds to step 273. If the material level is not below TRIPON, the microcontroller 105 proceeds to step 276.
At step 276, the material level is not below TRIPON and the microcontroller 105 determines if the material level in the vessel 195 is above TRIPOFF. If the material level is not below TRIPOFF, the microcontroller 105 proceeds to step 280 and the current state of the relay is unchanged. If the material level is above TRIPOFF, the microcontroller 105 proceeds to step 277. At step 277, the microcontroller 105 de- energizes relay 175.
The material level is below the TRIPON, indicating an exposed state at step
273. The relay 175 is turned on to allow the external apparatus 185 to adjust the material level in the vessel 195. At step 277, the material level is above TRIPOFF, indicating an acceptable level and as a result, the relay 175 is de-energized. At step 280, the microcontroller 105 restarts a continuous loop by proceeding to step 220.
Referring now to FIGS. 3-11, there are illustrated several electronic components of the calibration system of the subject invention. The denoted values of the disclosed components are in no way intended to limit the subject invention, as they can be adjusted by those skilled in the art to achieve performance in dependence upon specific application requirements.
Referring to FIG. 3, the oscillator circuit is a portion of the capacitance to frequency converter 122. Its sine wave output varies with the capacitance of the probe 190. The oscillator circuit is an astable multivibrator. Capacitor C9 terminates the circuit input to a known condition if the probe 190 becomes open. Resistor R10 provides circuit protection in that the resistor limits in rush currents during voltage transients. Diodes Dl, D2, and D3 provide circuit protection by clamping voltage transients to Vcc or ground. Capacitor C8 allows the circuit to continue to oscillate with the input shorted to ground, i.e. water covering the probe 190. Resistor Rl l isolates the inverting input of amplifier U4 from the capacitive input circuit. The circuit oscillates by continually charging or discharging the input capacitors (including the probe 190 capacitor) depending on amplifier U4's output state through resistors R8, R6, and the combination of resistors R4, R5, and R7. The amplifier U4 output changes state when the voltage at the junction of capacitor C8 and resistor Rl 1 exceeds or drops below the trip-point established by resistor network, consisting of R14, R15, R17, and R18, which is connected to the non-inverting input of amplifier U4. Resistor R15 varies the trip-point by feeding back the output of amplifier U4 to resistor network R14, R17, and R18. Capacitor Cl l provides wave shaping for the signal to the probe guard drive circuit (see FIG. 12). Resistor R5, a negative tempco thermistor, corrects the output frequency for changes in ambient temperature. Capacitor C2 provides circuit output wave shaping. The oscillator circuit output, a quasi-sine wave, is input to the sine to square wave converter 125. Referring to FIG. 4, the sine wave to square wave converter circuit 125 converts the output of the oscillator circuit into a 0-5 VDC square wave as is well known in the art. Resistors Rl and R9 set the trip voltage for comparator circuit Ul . The output is connected to the CLK line of counter 126. (see FIG. 5) In the preferred embodiment, the output ranges from 2.08 kHz with the probe 190 shorted to 2.137 MHz with the probe 190
open.
Referring to FIG. 5, the counter 126 circuit is a portion of microcontroller 105. It provides a fourteen stage ripple counter U3 to divide the frequency of the input signal by 1024. Resistor R29 is installed and connects the counter 126 output to the microprocessor 120 port line GP2.(see FIG. 8) Resistor R30 is not installed. Capacitor C3 is a filter capacitor on the power supply line. In the preferred embodiment, the output ranges from 2.09 kHz with the probe 190 open to 16.25 Hz with the 0.033 uF on the probe 190.
Referring to FIG. 6, the port one interface circuit is a portion of the point level sensor 100. It provides the signal from the covered switch 150 to the microprocessor 120 port line GPl and also illuminates either or both of the calibration and system health LED's 160 and 165. When the software sets GPl in the input mode, the state of covered switch 150 is read. Resistor R3 provides a valid logic low on the port line when covered switch 150 is not depressed but the port line is in the input mode. Resistor R39 provides a valid logic high on the port line when the covered switch 150 is depressed when the port line is in the input mode. The value of R39 is high enough that the system health LED 165 does not turn on when the covered switch 150 is depressed. A removable jumper JP2 is provided to disable the covered switch 150.
Still referring to FIG. 6, when the microprocessor 120 port line GPl is in the output mode, the software can illuminate either of the calibration or system health LED's 160 and 165. When the port line is a logic low, the calibration LED 160 illuminates. Resistors R12 and R13 provide the correct bias voltage for this illumination. When the port line is a logic high, the system health LED 165 illuminates. Resistor R2 and diodes D10 and D8 provide the correct bias voltage for this illumination. Referring to FIG. 7, the port zero interface circuit is a portion of the point level sensor 100. It provides the state of the fail safe jumper JP5 to the microprocessor 120 port line GPO as well as allow the microprocessor 120 to turn on the output FET Q2. When the software sets GPO in the input mode, the microcontroller 105 A/D converter 135 reads the state of the fail safe jumper JP5. When the Fail Safe jumper JP5 is installed, resistors R19 and R34 set the GPO port line at greater than .25 VDC, which is the trip level set in software for high fail safe mode. When the Fail Safe jumper JP5 is not installed, resistor R19 sets the GPO port line to 0 VDC, which is the trip level for low fail safe mode.
Referring to FIG. 8, the microprocessor 120 circuit is a portion of microcontroller 105. It executes the software program in accordance with the subject invention. Microprocessor 120 contains a central processing unit (e.g., CPU) for controlling the operations of the microcontroller 105. The microprocessor 120 operation is
well known in the art and therefore not further described herein. Crystal Yl and capacitors C5 and C6 set the microcontroller 105 oscillator frequency. Capacitor C4 is a filter capacitor on the power supply line. Referring to FIG. 9, the port three interface circuit is a portion of the microcontroller 105. It provides the circuitry so that the microprocessor 120 , at port line
GP3, can read the state of the exposed switch 155. Resistor R20, a pull up resistor, prevents shorting the power supply voltage to ground when the exposed switch 155 is depressed. Removable jumper JP6 can be used to disable the exposed switch 155.
Referring to FIG. 10, the time delay circuit is a portion of microcontroller 105. It allows the user to adjust the time delay between microprocessor 120 port line GPO turning on or off and the output FET Q2 turning on or off in order to filter the output state as described above. Resistor R26 is not installed. Resistors R21, R38 and variable resistor R25 control the charge/discharge time of capacitor C14. Variable resistor R25 is set by the user for the particular application. Resistor R38 guarantees that if the variable resistor R25 is adjusted to zero ohms, there always is a small amount of resistance between capacitor C14 and the microprocessor 120 port line GPO to prevent loading. Amplifier U5A provides high impedance buffering of capacitor C14 to prevent discharge. U5A is configured as a voltage follower so that it's output voltage equals the voltage across capacitor C14. Amplifier U5B is configured as a comparator and its' output changes state to either turn on or off FET Q2 when the U5A output (i.e. capacitor C14 voltage) meets the trip requirements. Resistors R23 and R28 set the voltage on the comparator reference input to half of the supply voltage. Resistors R41 and R42 set the comparator circuit hysterisis.
Referring to FIG. 11, the output circuit is a portion of point level sensor 100. The microprocessor 120 can turn FET Q2 on or off in accordance with the subject invention. A high current sink to ground is established when FET Q2 turns on. As a result, current flows and the relay 175 is energized. A high impedance to ground is established when FET Q2 is turned off and accordingly no current flows and the relay 175 is de-energized. Output state LED 170 provides a visual indication of the relay 175 condition, energized or de-energized. Resistor R35 and diode D9 set the bias voltage of LED D9. Resistor R37 provides impedance in series with the gate of FET Q2. Resistor R40 is not installed. Capacitor C21 provides EMI filtering and transient suppression of the output. The output may be used to drive a relay 175, which in turn allows an apparatus with a heavy electrical load requirement to be driven. As is known in the art, a device other than a relay 175 may be controlled by the microprocessor 120 as the operation requires. While the invention has been described with respect to preferred embodiments, those skilled in the art will readily appreciate that various changes and/or modifications can be made to the invention without departing from the spirit or scope of the invention as defined by the appended claims.

Claims

WHAT IS CLAIMED IS:
L A system for calibrating a measurement device used to indicate a level of a
free-flowing material within a container, the system comprising:
(a) a first signal generator operatively associated with a measurement
device for initiating a measurement of a covered state of said
measurement device;
(b) a second signal generator operatively associated with said
measurement device for initiating a measurement of an exposed
state of said measurement device;
(c) a memory for storing data including the measurements
corresponding to the covered and exposed states of said
measurement device; and
(d) a microcontroller in communication with the memory, wherein the
microcontroller is operative to:
(i) monitor an input signal from said measurement device
corresponding to the level of the free-flowing material
within the container;
(ii) receive an input signal from said first signal generator to
initiate a measurement of the covered state, and thereupon
store in said memory a covered data point based upon the
input signal from said measurement device;
(iii) receive an input signal from said second signal generator to
initiate a measurement of the exposed state, and thereupon store in said memory an exposed data point based upon the
input signal from of said measurement device; and
(iv) calibrate said measurement device based upon at least one of
the covered and exposed data points stored in said memory.
2. A system as recited in Claim 1, further comprising a relay for controlling an
external apparatus operatively associated with said container, wherein the microcontroller
is further operative to communicate with the relay.
3. A system as recited in Claim 2, wherein the microcontroller is further
operative to calculate a hysterisis value from using the input signals from the first and
second switches.
4. A system as recited in Claim 1 , wherein the memory comprises RAM and
EEPROM.
5. A system as recited in Claim 1, wherein the microcontroller includes:
a capacitance to frequency converter for receiving input from the
measurement device;
a sine to square wave converter for receiving input from said capacitance to
frequency converter;
a counter for dividing the output of said sine to square wave converter;
a relay for driving an external apparatus for varying the level of the free-
flowing material within the container; and
a microprocessor for evaluating the output of said sine to square wave
converter and controlling said relay in response thereto.
6. A system as recited in Claim 5, wherein the measurement device includes a
capacitance probe adapted to be disposed in said container, so as to output a probe
capacitance that varies as a function of the level of free-flowing material in the container.
7. A system as recited in Claim 6, wherein said capacitance to frequency
converter includes an oscillator circuit which oscillates at a frequency as a function of said
probe capacitance.
8. A method for a system to calibrate a point level sensor, wherein the system
includes first and second switches for acquiring covered and exposed data points
respectively, a memory and a microprocessor, wherein the method comprises:
(a) receiving an input signal indicating actuation of at least one of the
first and second switch;
(b) acquiring first and second readings from a point level sensor
when the input from at least one of the first and second switches is
received; and
(c) calibrating the point level sensor based upon said first and second
readings from the point level sensor.
9. A system for calibrating a point level sensor comprising:
(a) a first switch for calibrating a covered state of the point level sensor;
(b) a second switch for calibrating an exposed state of the point level
sensor;
(c) a memory for storing data relating to calibration of the point level
sensor; and
(d) a processor in communication with the memory, first switch and
second switch, wherein the processor is operative to (i) process an input signal from the first and second switches;
(ii) process an input signal from the point level sensor; and
(iii) when at least one of the first and second switches have been
actuated, calculate the data relating to the calibration of the
point level sensor based upon the input signal from the point
level sensor.
10. A method for calibrating a point level sensor, comprising:
(a) providing a point level sensor for defining a level of a free-flowing
material in a container;
(b) receiving input signals from a probe associated with said container;
(c) determining a point level sensor hysterisis value based upon said
input signals from the probe; and
(d) calculating data relating to the calibration of said point level
sensor using, the input signal from the probe and the point level
sensor hysterisis value.
11. A method for calibrating a point level sensor as defined in Claim 10,
wherein step (b) comprises the steps of:
receiving an input signal indicating actuation of a first switch relating to an
exposed condition; and
receiving an input signal indicating actuation of a second switch relating to
a covered condition.
12. A method of controlling a relay by comparing a variable parameter with
two selected thresholds, the method using a measuring circuit for monitoring the variable parameter and a calibration circuit for providing said two selected thresholds, the method
comprising the steps of:
(a) acquiring a first data point when the variable parameter assumes a first low
condition;
(b) acquiring a second data point when the variable parameter assumes a
second high condition;
(c) calculating a relay energize point and a relay de-energize point based upon
the first and second data points;
(d) monitoring the variable parameter to provide a status reading of the
condition monitored thereby; and
(e) comparing the status reading with the relay energize and relay de-energize
points to determine if the relay should be energized or de-energized.
13. A method of controlling a relay as defined in Claim 12, further comprising
the step of:
(f) storing said first data point and said second data point in a memory.
14. A method of controlling a relay as defined in Claim 12, wherein:
the step of calculating a relay energize and a relay de-energize point
comprises the steps of
(i) determining a hysterisis value, wherein the hysterisis
value equals the difference between the relay energize point
and the relay de-energize point,
(ii) adding the hysterisis to the first data point, and
(iii) subtracting the hysterisis from the second data point.
15. A system for calibrating a measurement device used to indicate a level of a
free-flowing material disposed within a container, comprising:
means for continuously monitoring the level of free-flowing material disposed
within the container;
means for determining a first data point when the measurement device is covered
by the free-flowing material;
means for determining a second data point when the measurement device is not
covered by the free-flowing material; and
means for calibrating the measurement device based upon at least one of said first
and second data points, independent of the current level of the free-flowing material
disposed in the container.
PCT/US1999/019743 1998-09-01 1999-09-01 System and method for calibrating a sensor WO2000012973A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU57912/99A AU5791299A (en) 1998-09-01 1999-09-01 System and method for calibrating a sensor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US9875598P 1998-09-01 1998-09-01
US60/098,755 1998-09-01

Publications (1)

Publication Number Publication Date
WO2000012973A1 true WO2000012973A1 (en) 2000-03-09

Family

ID=22270746

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1999/019743 WO2000012973A1 (en) 1998-09-01 1999-09-01 System and method for calibrating a sensor

Country Status (2)

Country Link
AU (1) AU5791299A (en)
WO (1) WO2000012973A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003052358A1 (en) * 2001-12-18 2003-06-26 Endress + Hauser Gmbh + Co.Kg Field device and method for calibrating a field device
EP1898188A1 (en) * 2006-09-11 2008-03-12 Venture Measurement company Capacitance-type material level indication
CN100504315C (en) * 2004-07-16 2009-06-24 金蔚东 Correcting method for solar water heater capacitance water level sensor measuring value
DE102019110381A1 (en) * 2019-04-18 2020-10-22 Rational Aktiengesellschaft Method for determining the fill level of a water tank and cooking device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0101580A1 (en) * 1982-08-25 1984-02-29 Berwind Corporation Capacitance-type material level indicator
US4499766A (en) * 1982-08-25 1985-02-19 Berwind Corporation Capacitance-type material level indicator
US4624139A (en) * 1984-09-21 1986-11-25 Berwind Corporation Capacitance-type material level indicator
EP0310761A1 (en) * 1987-10-01 1989-04-12 Berwind Corporation Capacitance-type material level indicator
US5088325A (en) * 1991-02-11 1992-02-18 Bindicator Company System for indicating a condition of material
US5121632A (en) * 1991-01-03 1992-06-16 Magnetrol International, Incorporated Point level switch
US5756876A (en) * 1995-09-28 1998-05-26 Endress + Hauser Gmbh + Co. Method of setting the switching point of a capacitive level limit switch

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0101580A1 (en) * 1982-08-25 1984-02-29 Berwind Corporation Capacitance-type material level indicator
US4499766A (en) * 1982-08-25 1985-02-19 Berwind Corporation Capacitance-type material level indicator
US4624139A (en) * 1984-09-21 1986-11-25 Berwind Corporation Capacitance-type material level indicator
EP0310761A1 (en) * 1987-10-01 1989-04-12 Berwind Corporation Capacitance-type material level indicator
US5121632A (en) * 1991-01-03 1992-06-16 Magnetrol International, Incorporated Point level switch
US5088325A (en) * 1991-02-11 1992-02-18 Bindicator Company System for indicating a condition of material
US5756876A (en) * 1995-09-28 1998-05-26 Endress + Hauser Gmbh + Co. Method of setting the switching point of a capacitive level limit switch

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003052358A1 (en) * 2001-12-18 2003-06-26 Endress + Hauser Gmbh + Co.Kg Field device and method for calibrating a field device
CN100504315C (en) * 2004-07-16 2009-06-24 金蔚东 Correcting method for solar water heater capacitance water level sensor measuring value
EP1898188A1 (en) * 2006-09-11 2008-03-12 Venture Measurement company Capacitance-type material level indication
DE102019110381A1 (en) * 2019-04-18 2020-10-22 Rational Aktiengesellschaft Method for determining the fill level of a water tank and cooking device

Also Published As

Publication number Publication date
AU5791299A (en) 2000-03-21

Similar Documents

Publication Publication Date Title
RU2126995C1 (en) Intelligent detector with power supply from current circuit
US4503707A (en) Hygrometry probe
CN110367297B (en) Water shortage detection method of food processor and food processor
US5613398A (en) Smart fuel tank module
US4853693A (en) Air condition monitor unit for monitoring at least one variable of the ambient air
US4513616A (en) Apparatus for monitoring the level of liquid by resistive wire
KR100421573B1 (en) Capacitance type detector
KR20080031027A (en) Method and apparatus for sensing liquid level using baseline characteristic
EP0649529A1 (en) Controller for ultrasonic sensors
US20020032403A1 (en) System for fluid retention management
AU7682694A (en) Diagnostic and control system for dust collector
US4630211A (en) Watt-hour meter display for informing consumer of energy consumption
AU2005336311B2 (en) A method of judging water boiling in electric kettles
WO2000012973A1 (en) System and method for calibrating a sensor
US5264833A (en) Automatic leak detector
US3979953A (en) Mass flow meter for cryogenic fluid
US5121632A (en) Point level switch
US6078489A (en) Method for performing instantaneous protection in a trip unit
CN113143127A (en) Cleaning robot control method and device, cleaning robot and storage medium
JP3792878B2 (en) 2-wire measurement quantity transmitter and 2-wire flow rate transmitter
US5866797A (en) Liquid level gauge interface system having dynamic offset
CN106918354B (en) Sensing system and applicable sensing information determination method
CN217524837U (en) Food processing device
KR930011222B1 (en) Lower voltage battery detection method and the system
JPH0344203B2 (en)

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AL AM AT AU AZ BA BB BG BR BY CA CH CN CU CZ DE DK EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT UA UG UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW SD SL SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase