Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
CALIBRATION SYSTEM FOR MEASUREMENT INSTRUMENTS
Document Type and Number:
WIPO Patent Application WO/1993/007601
Kind Code:
A1
Abstract:
A measurement instrument for transmitting a signal for remote reading has a local readout (24) of a measured value of parameter being measured, interacting with a local two button (28, 30) calibration system, one button being used to set each end of a range of values to be transmitted by the remote signal, thus setting the calibration and span of the signal. The buttons may be used to enter currently displayed values, or by pressing both buttons at once, setting modes may be entered in which one button increases and the other increases a displayed value of a parameter to be entered.

Inventors:
WOODWARD STEVEN J (CA)
Application Number:
PCT/CA1992/000436
Publication Date:
April 15, 1993
Filing Date:
September 30, 1992
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
FEDERAL IND IND GROUP INC (CA)
International Classes:
G01D18/00; G08C19/02; (IPC1-7): G01D18/00; G08C19/02
Domestic Patent References:
WO1989002578A11989-03-23
WO1988001417A11988-02-25
Foreign References:
US5083288A1992-01-21
EP0097479A21984-01-04
US4649527A1987-03-10
US4831565A1989-05-16
Attorney, Agent or Firm:
Parsons, Richard A. R. (Suite 2300 Richmond-Adelaide Centre, 101 Richmond Street Wes, Toronto Ontario M5H 2J7, CA)
Download PDF:
Claims:
CLAIMS:
1. A process control transmitter for making successive determinations of the value of a process control parameter and transmitting to a remote location an electrical signal varying linearly between minimum and maximum magnitudes in proportion to variations in successive values of the measured signal between first and second range values, said transmitter including a microprocessor (2) , read only memory (18) storing a control program for the microprocessor, random access memory (22) for use by the microprocessor, nonvolatile memory (20) for the storage of operating data for access by the microprocessor, said data including said first and second range values; apparatus (4, 6, 12, 14, 16) for determining the value of said parameter under control of said control program; and a digitaltoanalog converter (26) for translating digital outputs from said microprocessor into said electrical signal; said control program having an execution loop including subroutines to measure said parameter value, and to translate said parameter value into an output to said digitaltoanalog converter (26) such as to cause the converter to generate an electrical signal having a magnitude between said minimum and maximum magnitudes proportional to the relationship of the determined value of the parameter to said first and second values; characterized in that said transmitter includes a display (24) for displaying values including said first and second range values and the measured value of said process control parameter under control of said control program, and first and second manually operated switches (28, 30) ; said control program further including a subroutine to display said parameter value, subroutines entered responsive to manual operation of said actuators, including a first subroutine entered responsive to operation of said first actuator (28) for selecting a value displayed on said display (24) and storing that value in nonvolatile memory (20) in replacement of said first value, and a second subroutine entered responsive to operation of said second actuator (30) for selecting a value displayed on said display (24) and storing that value in nonvolatile memory (20) in replacement of said second value.
2. A transmitter according to claim 1, characterized in that the first and second subroutines permit selection of a value of said process control parameter.
3. A transmitter according to claim 2, characterized in that the first and second subroutines respectively respond to operation of the first (28) or second actuator (30) respectively by displaying the first or second values respectively, and respond to a further operation of the first or second actuator respectively by substituting a newly determined value of said process control parameter for the first or second value respectively.
4. A transmitter according to claim 3, characterized in that the first and second subroutines respond to simultaneous operation of both actuators (28, 30) , when the current first or second value is displayed by said display (24) by entering an adjustment mode in which successive operations of one actuator increment the displayed value, and successive operations of the other actuator decrement the displayed value, and the displayed value is substituted for the first or second value respectively on exiting the adjustment mode.
5. A transmitter according to any one of the preceding claims, characterized in that the control program includes at least one further subroutine entered responsive to simultaneous manual operation of both actuators (28, 30), each said further subroutine displaying on said display (24) the value of a further operating parameter of the transmitter which is stored in the nonvolatile memory (20) and entering an adjustment mode in which successive operations of one actuator (28) increment the displayed value, and successive operations of the other actuator (30) decrement the displayed value, and the displayed value is substituted in the nonvolatile memory (20) for the stored further parameter on exiting the adjustment mode.
6. A transmitter according to any one of the preceding claims, characterized in that the actuators (28, 30) are pushbutton switches and represent the only user input to the transmitter.
Description:
CALIBRATION SYSTEM FOR I>_EASURE_«-__NT INST UMEM?S

This invention relates to measuring instruments, namely process control transmitters for the continuous measurement and transmittal to a remote location of the value of a linear variable between presettable upper and lower limits, and is particularly although not exclusively applicable to echo-ranging instruments for measuring distances, for example from the top of a tank or silo to the surface of its contents.

Process control transmitters of the type referred to above are commonly installed as to provide monitoring of a particular variable, for example the depth of material in a tank, which may vary between predetermined limits determined by the tank dimensions and its particular installation. Where a signal representing the value measured by the transmitter is to be transmitted to a remote location, it is desirable that upper and lower values of this signal not only do not fall too far beyond the span of the range to be measured, thus sacrificing resolution, but also that the signal value bears an accurately calibrated relationship to the value being measured.

Existing transmitters have tackled this problem in various ways. Older, purely analog instruments were provided with calibration and span controls, usually electrical potentiometers, which were adjusted during installation or recalibration to achieve desired results.- Adjustment required some degree of skill due to interaction between the controls, and the adjustment obtained was often subject to some degree of drift due to known stability problems in analog instruments. More precise and in some ways easier adjustment became available with the advent of microprocessor controlled digital instruments, with digital values of various parameters such as span, and full or empty levels being entered by an operator at a control

unit. This required an adequate understanding by the operator of the relevant portions of a fairly complex calibration procedure, much of which related to other aspects of the instrument display or operation, and also required the operator to be aware in advance of the settings to be entered; for example, if calibration for the empty level of a tank was required, the operator needed to know the actual value of this empty level, and of the span, or precalibrated references needed to be provided. Additionally, a multikey keypad was needed for data entry, which is space consuming, and potentially bewildering to an inexperienced operator. A further problem in acoustic ranging systems is that the range measured will be significantly affected by the temperature and composition of the atmosphere in which the measurement is conducted, due to changes in the speed of sound. Whilst automatic temperature compensation is customarily provided, special calibration problems arise when making measurements in tanks in which the empty volume is filled with vapours rather than air. This will render the readings inaccurate, but assuming that the vapour is always present, the inaccuracy will be a constant proportion of the reading.

In many applications there is a need for an instrument in which the span and calibration of an output signal can be set up in a very simple and fool-resistant manner, with a minimum number of controls and a simple numeric display.

We seek to tackle these problems by providing a process control transmitter which measures a parameter and locally displays its value in fixed units, and also provides an electrical output signal whose magnitude varies linearly between minimum and maximum values in proportion to the variations of the measured parameter between first and second values. The first value is set by causing the

instrument to measure a desired minimum value of the parameter and to display a value accordingly, and selecting the displayed value as the first value, and the second value is set by causing the instrument to measure a desired maximum value of the parameter, to display a value accordingly, and selecting the displayed value as the second value. Typically, separate keys are utilized to enter each value. After such setting, the first and second values are associated with specific displayed values; whilst these displayed values may not accurately represent the absolute value of the parameter being measured due to offsets, or errors such as those discussed above, the minimum and maximum values of the output signal should continue to represent the absolute values of the parameter at the time of setting so that the output signal will vary in the desired manner.

The invention as set forth in the appended claims is described further below with reference to the accompanying drawings, in which: Figure 1 is a simplified block diagram of a pulse- echo ranging system incorporating the invention; and

Figure 2 shows a control panel of the system.

Referring to Figure l, the invention is described as applied to an acoustic pulse-echo ranging system operating and programmed generally as described in my United States Patents Nos. 4,831,565; 4,890,266, and 4,992,998, but with a simplified user interface as described further below. Under control of a microcontroller 2, a transmitter 4 generates pulses or shots of alternating current utilized to drive an acoustic transducer 6 aimed towards a surface whose movement is to be monitored. Typically this will be the surface 8 of a fluent solid or a liquid in a tank, bin or other vessel 10, above or at the top of which the transducer is mounted.

The alternating current pulses are converted by the transducer into acoustic energy which is projected towards the surface 8 and echoed back towards the transducer 6. The transducer 6 is also connected to a receiver 12 through an interface circuit 14 which damps the transducer during the transmit pulse and limits the signal amplitude applied to the receiver. The receiver filters and logarithmically amplifies the return echo signals which are digitized by an analog to digital converter 16 and applied to an input port of the microcontroller for further processing as described in the above mentioned U.S. patents. The converter 16 is also used to process signals from a thermistor 50 associated with the transducer. The microcontroller operates under control of a program stored in read only memory (ROM) 18, utilizing parameters stored in non¬ volatile random memory, in this example electrically erasable read-only memory (EEPROM) 20, random access memory (RAM) 22 providing working memory and temporary data storage.

Data generated by the microcontroller 2 is displayed by a liquid crystal display 24 driven by output ports of the microcontroller, and is also output to a 4-20 ma interface 26 which converts digital output data from the microcontroller into analog current levels ranging between 4 and 20 milliamps. The output produced by the interface 26 is suitable for transmission to a remote display, recording device or programmable controller adapted to operate with this type of interface. Whilst such an interface is widely adopted in industry, other standardized instrumentation interfaces could of course be used in place of that described. User input to the microcontroller is limited to two push-buttons or keys 28 and 30 whose condition is sensed by input ports of the microcontroller, and a further output line from the controller controls an alarm relay 32 used to warn of abnormal conditions sensed

by the microcontroller.

A suitable microcontroller is the 68HC11, available from Motorola, which in fact incorporates certain of the separately shown peripheral functions discussed above such as the converter 16, the EEPROM 20 and part of the RAM 22.

Referring now to Figure 2, the display 24 consists simply of a three digit seven segment numerical display 38, and a logo, in this case a trade mark of the applicant, different segments 40 and 42 of which are independently controlled to provide various indications to the operator, supplemented by four auxiliary indicators 44, 46, 48 and 50. The push-buttons 28 and 30 are labelled 20 and 4 respectively and located on a control panel 34 together with the display 24 and terminal block 36 providing output connections from the interface 26, power supply connections to the apparatus, and connections to the circuit controlled by the relay 32.

Referring to the pseudocode found in Table I below, the control program of the microcontroller 2, after an initialization sequence at start-up, enters at START a main execution loop in which it controls the transmitter to cause the transducer to generate a shot or shots of acoustic energy, and processes the digitized echo signal from the A/D converter 16 to identify a true echo generally in accordance with the procedures of the prior patents identified above, and to determine the elapsed time from the beginning of the shot to the receipt of the echo ("measure echo time" in the Table) . The time is then converted to distance, utilizing stored data relating the speed of sound in air to temperature, as sensed by the thermistor 50, and this distance is displayed on the numeric display 38. It should be understood that the distance displayed is based upon the distance between the

transducer 6 and the surface 8, without compensation either for any offset between the transducer and the effective top level of the tank occasioned for example by the tank having a domed top, or for the transducer being mounted above or below the top of the tank, or any error due to the tank being filled with a vapour other than air. It does however provide verification to a user that the device is operating normally to determine ranges. For example, a very small constant reading on an empty or near empty tank, or despite varying levels, would be an indication that the device was responding to a strong spurious echo from structure near the top of the tank.

The program next relates the calculated distance to preset first and second distance values ee_4ma_dist and ee_20ma_dist defining a range span, and corresponding to 4 and 20 milliamp values respectively. Until these distance values are set as further described below, default values stored in EEPROM 20 are used defining a range which encompasses any likely distance reading. The actual distance reading is translated to a milliamp value by linear interpolation between the preset distance values, and the digitized milliamp value generated is translated into an actual current in a current loop attached to the interface 26.

The program then tests the status of the keys 28 and 30 and if it detects a press of one or both keys enters different subroutines accordingly prior to returning to the beginning of the loop. If both keys are pressed, the "SET OTHER PARAMETERS" routine is entered. The seven segment display is caused to display the characters "*bL", the arrows representing turning on of the indicators 44 and 46. When the keys are released, the seven segment display then displays the blanking distance, i.e. the distance corresponding to a period following a shot during which the

receiver signal is ignored for the purpose of identifying a true echo. A default value of this distance is sufficient that ringing of the transducer following a shot has decayed to the point that the receiver is no longer saturated and can therefore respond to echo signals, but a larger value may be desirable if a strong short range spurious echo prevents proper operation of the instrument, as discussed above. Whilst the blanking distance is displayed, the routine waits for the keys to be released and then again tests the status of the keys. Unless both keys are pressed together, the displayed blanking distance it may be increased or decreased, as indicated by indicator 44 or 46, by pressing the key 28 or the key 30 respectively. If no keys are pressed for a predetermined period, the displayed value is stored in EEPROM 20 in place of the previously stored value, and then the display reverts to showing the measured distance.

If the key 30 (which bears the designation 4) is pressed, the existing value of ee_4ma_dist is displayed until the key is released, when the seven segment display is caused to display the characters "c4", and a further key press is awaited.

If both keys are pressed, the display shows "* c4" and then the value of ee 4ma dist when the keys are released, after which the keys 28 and 30 may be used to adjust this value as described above for the blanking distance. This enables the value to be set manually.

If the key 30 is pressed, the display shows "c4", and the "measure echo time" and "convert time to distance" routines are performed. A check is then made as to whether a confidence factor, calculated as described in our prior patents, is sufficient for the echo to be considered reliable. If the echo is not reliable, a low echo

indication is provided by causing the seven segment display to display the characters LOE, and the subroutine terminates. Otherwise, the measured target distance is displayed, and also written into EEPROM 20 as a new value of ee_4ma_dist, before the subroutine terminates.

If the key 28 (which bears the designation 20) is pressed, a similar subroutine is followed, except that the characters "c20" are displayed instead of "c4", and the value of ee_20ma_dist is updated,

If both keys are pressed together whilst the blanking distance is displayed, the seven segment display is caused to display the characters SP, and then the value of a parameter ee_speed, which represents the rate at which distance measurements are made. According to application, a low rate may be desirable to avoid jitter, or a high rate so as to monitor rapid changes in the distance being monitored. The value of the parameter may then be set in the same manner as before. If desired, additional parameters may be set or reviewed the same way by again pressing both buttons at once. Once all parameters have been scanned, a further press of both keys returns execution to the beginning of the SET_OTHER PARAMETERS routine.

In addition to the indications discussed above, various additional indications are provided by the logo segments 40 and 42 and the auxiliary indicators 44, 46, 48 and 50. During normal ranging operation of the instrument the segments forming the whole of the logo are turned on. Loss of a reliable echo is signified by the eye segments 40 of the logo being turned off, leaving only the pulse symbol segment 42 turned on. During the calibration subroutines just described, the entire logo is turned off. Detection by the program of a fault in the operation of the

instrument such as a memory error or failure to detect any response from the receiver will result in activation of the alarm relay 32 and also the indicators 48 and 50. During execution of the subroutine following pressing of the key 30, the indicator 46 is turned on, and during execution of the subroutine following pressing of the key 28, the indicator 44 is turned on.

It should be noted that the key 28 may be utilized to set a range or target distance which is either greater or less than the distance set by key 30. Assuming that the distances set represent maximum and minimum levels to be monitored in a tank using the key 28 to set the minimum level (i.e. the maximum target range) will result in an output representing the space remaining in the tank, whilst using it to set the maximum level (i.e. the minimum target range) will result in an output representing the degree of filling of the tank. This avoids the necessity for any separate control or input to initiate these two different functions.

One of the parameters which may be selected by the simultaneous pressing of both buttons could be a level which would result in energization of the alarm relay with the direction of alarm sensing depending on which key was used to make the final setting; or such a function could be initiated using an additional key. The provision of additional keys however would compromise the essential simplicity of operation of the unit. The two, upper and lower, operating keys instinctively represent upper and lower settings, and upward and downward directions of adjustment.

Variations in the display are of course also possible. It should be understood that the primary data output of the instrument is that through the interface 26,

and that it is this output which is being calibrated during the procedures discussed above. No means is provided for calibration of the distances displayed by display 24; these are solely intended for operator guidance during the process of adjusting the output span, and represent the distance between the transducer and a target sensed by the transducer, assuming the intervening medium to be air. The auxiliary indications are also intended for operator guidance. The full display of the manufacturer's trademark during normal operation is a confirmation of this condition; such a full display will not occur if no reliable echo can be detected, or calibration is in progress. In a variation, upper and lower portions of the logo segments 40 could be separately controlled to indicate echoes out of range respectively beyond the limits set by the buttons 28 and 30, or to replace the indicators 44 and 46.

Whilst the invention has been described with reference to an acoustic ranging instrument, the invention can be used in echo or reflection ranging instruments using other forms of radiation sources such as infra-red lasers, or in other measurement applications. For example, a belt scale weight sensing device or a flowmeter may be similarly equipped to provide an analog signal to a remote integrator incorporated in a measurement or control device.

TABLE I START

Measure echo time Convert time to distance Display target distance

Calculate milliamp value to transmit by linear interpolation between ee_4m_dist and ee_20ma_dist

If both keys pushed

Do SET OTHER PARAMETERS

Else If 4 key pushed

Display T and ee_4ma_dist If both keys then pushed Display * c4, then ee_4ma_dist

As 20 or 4 keys are pushed, show ▲ or T and increase or decrease displayed value. When no keys pushed for several seconds, store displayed value as new ee_4ma_dist, and return to START

If 4 key pushed

Display ▼ c4 and measure target distance If echo not reliable display LOE and return to START Else display r and measured target distance, store displayed distance as new ee_4ma_dist, and return to START Else return to START

If 20 key pushed Display T and ee_20ma_dist

If both keys then pushed

Display * c20, then ee_20ma_dist As 20 or 4 keys are pushed, show ▲ or T and increase or decrease displayed value When no keys pushed for several seconds, store displayed value as new ee_20ma_dist, and return to START

If 20 key pushed

Display T C20 and measure target distance If echo not reliable display LOE and return to START

Else display T and measured target distance, store displayed distance as new

ee_20ma_dist, and return to START Else return to START

SET_OTHER_PARAMETERS Display * bL and then ee_blanking Wait for key release

If 20 or 4 keys are pushed, display A or r and increase or decrease displayed value. When no keys are pushed for several seconds, store displayed value as new value of ee_blanking and return to START

If no keys are pushed, return to START

Else both keys are pushed Display * SP and then ee_speed Wait for key release

If 20 or 4 keys are pushed, show A. or Y and increase or decrease displayed value. When no keys pushed for several seconds, store displayed value as new ee 4ma dist, and return to START.

If no keys are pushed return to START Else both keys are pushed

As long as further parameters are settable, display * together with a code for the next parameter and handle similarly to blanking and speed.

Else return to SET OTHER PARAMETERS