CA2266485C - Automatic compensation sensor - Google Patents

Automatic compensation sensor Download PDF

Info

Publication number
CA2266485C
CA2266485C CA002266485A CA2266485A CA2266485C CA 2266485 C CA2266485 C CA 2266485C CA 002266485 A CA002266485 A CA 002266485A CA 2266485 A CA2266485 A CA 2266485A CA 2266485 C CA2266485 C CA 2266485C
Authority
CA
Canada
Prior art keywords
compensation
sensor
signal
temperature
value
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Lifetime
Application number
CA002266485A
Other languages
French (fr)
Other versions
CA2266485A1 (en
Inventor
Toshiya Nakagaki
Toshiyuki Nozoe
Takahiro Manabe
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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
Priority claimed from JP18808297A external-priority patent/JP4000629B2/en
Priority claimed from JP9195371A external-priority patent/JPH1137745A/en
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Publication of CA2266485A1 publication Critical patent/CA2266485A1/en
Application granted granted Critical
Publication of CA2266485C publication Critical patent/CA2266485C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D3/00Indicating or recording apparatus with provision for the special purposes referred to in the subgroups
    • G01D3/02Indicating or recording apparatus with provision for the special purposes referred to in the subgroups with provision for altering or correcting the law of variation
    • G01D3/022Indicating or recording apparatus with provision for the special purposes referred to in the subgroups with provision for altering or correcting the law of variation having an ideal characteristic, map or correction data stored in a digital memory
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D18/00Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00
    • G01D18/008Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00 with calibration coefficients stored in memory
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D3/00Indicating or recording apparatus with provision for the special purposes referred to in the subgroups
    • G01D3/028Indicating or recording apparatus with provision for the special purposes referred to in the subgroups mitigating undesired influences, e.g. temperature, pressure
    • G01D3/036Indicating or recording apparatus with provision for the special purposes referred to in the subgroups mitigating undesired influences, e.g. temperature, pressure on measuring arrangements themselves

Abstract

An object of the present invention is to provide an automatic compensation sensor that can eliminate an exclusive input terminal for the compensation mode signal. To achieve this object, the present invention comprises a sensor body (1), a signal output terminal (5) for outputting signals from the sensor body (1), and a controller for compensating the output signal from this signal output terminal (5).

Description

16758E 1 A.doc 1999/2/8 AUTOMATIC COMPENSATION SENSOR
FIELD OF THE INVENTION

The present invention relates to the field of automatic compensation sensors.

BACKGROUND OF THE INVENTION

Fig. 17 shows the structure of a conventional automatic compensation sensor, in which reference numeral 1 is a sensor body. Reference numeral 2 is a microcomputer including an analog compensation signal output circuit, analog signal input circuit, memory circuit, and its peripheral circuits. Components such as a temperature sensor when the purpose of the automatic compensation sensor is to compensate for temperature are also included in reference numeral 2. Hereafter, reference numeral 2 including peripheral circuits is called a microcomputer 2. Reference numeral 3 is a signal adder to which the output of the sensor body 1 and the output of the microcomputer 2 are connected.
Reference numeral 4 is a signal output circuit comprising an amplifier.
Reference numeral 5 is a signal output terminal. The output signal of the signal adder 3 is connected to the analog input terminal 21 of the microcomputer 2.
Reference numeral 6 is a compensation mode signal input terminal, and is connected to a digital input terminal 22 of the microcomputer 2. During compensation, an external signal source is connected to this compensation mode signal input terminal 6.

16758E1A.doc 1999/2/8 Operation of the above automatic compensation sensor is described below. The microcomputer 2 has two modes: a compensation mode and a normal operation mode. The compensation mode is activated when a compensation signal is input from the compensation mode signal input terminal 6. In other cases, the automatic compensation sensor operates in the normal operation mode.

One example of the compensation signal is a determination by high and low logic levels. The compensation mode signal input terminal 6 is pulled up inside the automatic compensation sensor by a resistance. If the compensation mode signal input terminal 6 is normally at "high" level when the compensation mode signal input terminal 6 is open, the microcomputer 2 is able to recognize the compensation mode by applying "low" voltage to the compensation mode signal input terminal 6. Accordingly, the microcomputer 2 is capable of determining the compensation mode by checking the voltage level of the digital input terminal 22.

Here, it is necessary to take appropriate measures to make it impossible to apply low voltage after compensation is completed, to prevent the compensation mode signal input terminal 6 from being erroneously set to the compensation mode.

Furthermore, if there is a possibility that the compensation mode signal input terminal 6 may be accidentally set to "low" by noise, the possibility of erroneous setting to the compensation mode may be reduced by configuring the compensation signal using serial communications.

This automatic compensation sensor requires an exclusive input terminal for the compensation mode signal used for sending compensation signals during manufacturing processes. This needs to be appropriately processed on completion of the automatic compensation sensor to prevent erroneous compensation operation of the sensor. If compensation can be tested during assembly, it may be relatively easy to modify the exclusive input terminal for the compensation mode signal. However, in case of angular velocity sensors, for example, correct output characteristics may not be obtained during assembly, requiring the adjustment of a finished product identical to those to be shipped.
There are many such types of automatic compensation sensors. In this case, modifying the exclusive input terminal for the compensation mode signal becomes extremely difficult, complicating the terminal and case structure of the automatic compensation sensor and thus increasing the cost.

SUMMARY OF THE INVENTION

An object of the present invention is to provide an automatic compensation sensor which enables the elimination of an exclusive input terminal for the compensation mode signal.
To achieve this object, the present invention comprises a sensor body, a signal output terminal which outputs the signal from the sensor body, and a controller for compensating the output signal from the signal output terminal.

In accordance with another aspect of the present invention, an automatic compensation sensor is provided comprising: at least one signal terminal for outputting a compensated sensor signal in a normal mode and for receiving an external signal in a compensation mode; a sensing unit for outputting a sensor signal responsive to a condition which is sensed by said sensing unit; compensation value means for selecting and outputting based on a further condition one of a plurality of compensation values in the normal mode and for storing the plurality of compensation values in the compensation mode when the external signal is applied the plurality of compensation values are in storage at a time; and an adder for summing the sensor signal and the selected one of the plurality of compensation values and for producing the compensated sensor signal.

With the above configuration, it is possible to realize an automatic compensation sensor without requiring an exclusive input terminal for the compensation mode signal.

BRIEF DESCRIPTION OF THE DRAWINGS

16758E1A.doc 1999/2/8 Fig. 1 is a block diagram of an automatic compensation sensor in accordance with a first exemplary embodiment of the present invention.

Fig. 2 is a flow chart of the operation of the sensor.

Fig. 3 is a block diagram of an automatic compensation sensor in accordance with a second exemplary embodiment of the present invention.
Fig. 4 is a block diagram of an automatic compensation sensor in accordance with a third exemplary embodiment of the present invention.

Fig. 5 is a block diagram of an automatic compensation sensor in accordance with a fourth exemplary embodiment of the present invention.
Fig. 6 is a block diagram of an automatic compensation sensor in accordance with a fifth exemplary embodiment of the present invention.
Fig. 7 is a flow chart of control procedures in a compensation setting mode of the automatic compensation sensor in accordance with the fifth exemplary embodiment of the present invention.

Fig. 8 is a flow chart of control procedures in a normal operation mode of the automatic compensation sensor in accordance with the fifth exemplary embodiment of the present invention.

Fig. 9 is a block diagram of an automatic compensation sensor in accordance with a sixth exemplary embodiment of the present invention.
Fig. 10 is a block diagram of an automatic compensation sensor in accordance with a seventh exemplary embodiment of the present invention.
Fig. 11 is a flow chart for calculating a mean offset error of the automatic compensation sensor in accordance with the seventh exemplary embodiment of the present invention.

16758E1A.doc 1999/2/8 Fig. 12 is a flow chart for updating a compensation value of the automatic compensation sensor in accordance with the seventh exemplary embodiment of the present invention.

Fig. 13 is a block diagram of an automatic compensation sensor in 5 accordance with an eighth exemplaiy embodiment of the present invention.
Fig. 14 is a flow chart for updating of a compensation value of the automatic compensation sensor in accordance with the eighth exemplary embodiment of the present invention.

Fig. 15 is a block diagram of an automatic compensation sensor in accordance with a ninth exemplary embodiment of the present invention.
Fig. 16 is a flow chart for detecting abnormality of the automatic compensation sensor in accordance with the ninth exemplary embodiment of the present invention.

Fig. 17 is a block diagram of an automatic compensation sensor of the prior art.

DESCRIPTION OF THE PREFERRED EMBODIMENT
First exemplary embodiment A first exemplary embodiment of the present invention is explained with reference to Figs. 1 and 2. Fig. 1 shows an automatic compensation sensor in the first exemplary embodiment of the present invention. In Fig. 1, reference numeral 1 is a sensor body, and reference numeral 2 is a microcomputer including an analog compensation signal output circuit, analog signal input 16758E1A.doc 1999/2/8 circuit, and memory circuit, and its peripheral circuits. In addition, other components such as a temperature sensor when the purpose of the automatic compensation sensor is to compensate for temperature are included in reference numeral 2. Hereafter the reference numeral 2 including peripheral circuits is referred to as a microcomputer 2. Reference numeral 3 is a signal adder to which the output of the sensor body 1 and the output of the microcomputer 2 are connected. Reference numeral 4 is a signal output circuit comprising an amplifier with output resistance. Reference numeral 5 is a signal output terminal. The output signal of the signal adder 3 is connected to the analog input termina121 of the microcomputer 2, and the output of the signal output circuit 4 is connected to a digital input terminal 22. During compensation, an external signal source for sending the compensation mode signal is connected to the signal output terminal 5.

The operation of this automatic compensation sensor is explained next.
During compensation, the external signal source sends a predetermined compensation signal through the signal output terminal 5. This signal needs to be sufficiently complicated in comparison with the signal which the sensor is intrinsically capable of outputting. Since the signal output terminal 5 is originally an output terminal, its output impedance is relatively low. The external signal source connected to the signal output terminal 5 may need to be capable of driving the output resistance included in the signal output circuit as a load resistance. This enables the microcomputer 2 to receive an external signal through the digital input termina122 by reading it at the output section of the signal output circuit 4. Here, the digital input terminal 22 of the 16758E1A.doc 1999/2/8 microcomputer 2 can receive an external signal without being affected by any kind of signal output from the signal output circuit 4.

In this exemplary embodiment, the compensation signal comprises the n numbers of 8-bit data with a start bit and stop bit. In other words, the compensation signal comprises n-byte data, which is sent via asynchronous serial communications. The transmission speed is preferably made slow as permissible by other restrictions such as start time, to avoid any influence of noise.

The microcomputer 2 executes serial signal receiving procedures for receiving the above compensation signal. One example is explained next.

The microcomputer 2 checks the value of the digital input terminal 22 every tl seconds. Here, tl is a value satisfying tl < 1/10v when v is the transmission speed.

Receiving of 1-byte data starts after detection of the start bit.

First, the microcomputer 2 waits for t2 seconds, and then reads the first bit. Here, t2 = 1.5/v. Then, 7 bits are read at every t3 seconds to determine the 1-byte data. Here, t3 = 1/v. Then, the microcomputer 2 further waits for t3 seconds to check whether the stop bit is correct. If the stop bit is incorrect, the microcomputer 2 judges that the data is illegal.

To prevent erroneous compensation during normal operation after completing compensation, it is effective to make the microcomputer 2 sample the digital input terminal 22 only for a certain period after turning on the power.

Fig. 2 is a flow chart illustrating the above operation. The microcomputer 2 checks the digital input termina122 during step S1. Then, the 1675 8E 1 A.doc 1999/2/8 microcomputer 2 determines the presence of the compensation signal during step S2. If the compensation signal is properly received, the presence of illegal data is checked during step S3. If there is no illegal data, the microcomputer executes the compensation mode in step S4. For example, if the purpose of the sensor is to compensate for temperature, the operating temperature range of the automatic compensation sensor is traced in a constant temperature chamber, for example, to measure the output of the sensor body 1 at each temperature. A value just sufficient for compensating the output of the sensor body 1 is output to the signal adder 3, and this value is stored. Here, the output of the signal adder 3 is fed back to the analog input terminal 21 of the microcomputer 2 to increase the accuracy of the compensation level by confirming the compensation result. If the sensor body 1 has temperature hysteresis, the operating temperature range is traced back and forth to determine the compensation level for that temperature by calculating a mean value for the compensation during temperature rise and temperature decrease.
This improves the compensation accuracy.

The microcomputer 2 then determines the presence of a compensation signal within a specified time in step S5. If no compensation signal is received, or if an illegal signal is received during step S3, it returns to the normal operation mode during step S6. This enables the reduction of the probability of erroneous operation of the compensation mode in commercial versions of this product. In the normal operation mode, in case of the above temperature compensation, the current temperature is measured, and a compensation value corresponding to that temperature is read so as to compensate for any output 16758EIA.doc 1999/2/8 error of the sensor body due to temperature changes by outputting the compensation value to the signal adder.

Second exemplary embodiment Fig. 3 shows an automatic compensation sensor in a second exemplary embodiment of the present invention. In Fig. 3, the sensor body 1, microcomputer and its peripheral circuit 2, signal adder 3, signal output circuit 4, and signal output terminal 5 have the same configuration as those of the automatic compensation sensor in the first exemplary embodiment. However, the output resistance is not necessarily required in the signal output circuit 4.
In addition, an output terminal of a diagnosis output circuit, described later, is connected to the digital input terminal 23 of the microcomputer 2. Reference numeral 7 is the diagnosis output circuit, and signals from each diagnosis signal terminal of the sensor body 1 and microcomputer 2 are input to the diagnosis output circuit 7. Reference numeral 8 is a diagnosis output terminal which is connected to the output of the diagnosis output circuit. During compensation, an external signal source for sending the compensation mode signal is connected to the diagnosis output terminal 8.

The operation of this automatic compensation sensor is explained next.
During compensation, the external signal source sends a predetermined compensation signal through the diagnosis output terminal 8. This signal needs to be sufficiently complicated in comparison with the signal which the sensor is intrinsically capable of outputting. Since the diagnosis output terminal 8 is originally an output terminal, its output impedance is relatively low. The external signal source connected may need to be capable of driving the output 1 6758E 1 A.doc 1999/2/8 resistance included in the diagnosis output circuit 7 as a load resistance.
This enables the microcomputer 2 to receive an external signal at the output section of the diagnosis output circuit 7 by reading it through the digital input terminal 23. Here, the digital input termina123 of the microcomputer 2 can receive the 5 external signal without being affected by any kind of signal output from the diagnosis output circuit 7.

The compensation signal used here is the same as that described in the automatic compensation sensor in the first exemplary embodiment. The microcomputer 2 has the compensation mode and normal operation mode which 10 operate in the same way as in the first exemplary embodiment.

In general, the diagnosis output is not needed to be operated in the compensation mode. Accordingly, external signal can be sent to the microcomputer 2 throughout the compensation mode.

Third exemplary embodiment Fig. 4 shows an automatic compensation sensor in a third exemplary embodiment of the present invention. In Fig. 4, the sensor body 1, microcomputer and its peripheral circuit 2, signal adder 3, signal output circuit 4, signal output terminal 5, diagnosis output circuit 7, and diagnosis output terminal 8 have the same configuration as those of the automatic compensation sensor in the second exemplary embodiment. However, the microcomputer 2 has two digital input terminals 22 and 23. The termina122 is connected to the output of the signal output circuit 4, and the terminal 23 is connected to the output of the diagnosis output circuit 7. During compensation, an external 16758E1A.doc 1999/2/8 signal source for sending the compensation mode signal is respectively connected to the signal output terminal 5 and diagnosis output terminal 8.

The operation of this automatic compensation sensor is explained next.
During compensation, one external signal source sends a predetermined compensation signal through the signal output terminal 5, and another external signal source sends a predetermined compensation signal through the diagnosis output terminal 8. Each of these signals needs to be sufficiently complicated in comparison with the signal which the sensor is intrinsically capable of outputting. Since the signal output terminal 5 and diagnosis output terminal 8 are originally output terminals, their output impedance is relatively low. The external signal source respectively connected may need to be capable of driving the output resistance included in the signal output circuit 4 and diagnosis output circuit 7 as a load resistance. This enables the microcomputer 2 to receive an external signal by reading it through the digital input terminal 22 at the output section of the signal output circuit 4 and the digital input termina123 at the output section of the diagnosis output circuit 7. Here, the digital input terminals 22 and 23 of the microcomputer 2 can receive the external signal without being affected by any kind of signal output from the signal output circuit 4 and diagnosis output circuit 7.

The compensation signal used is the same as that described in the automatic compensation sensor in the first exemplary embodiment. The microcomputer 2 has the compensation mode and normal operation mode which operate in the same way as in the first exemplary embodiment.

With the configuration of the third exemplary embodiment, two external signals can be sent. Accordingly the third exemplary embodiment of 16758E1A.doc 1999/2/8 the present invention is further effective in reducing probability of erroneous operation compared to the first and second exemplary embodiments.

Fourth exemplary embodiment Fig. 5 shows an automatic compensation sensor in a fourth exemplary embodiment of the present invention. In Fig. 5, reference numeral 1 is a sensor body, and reference numeral 2 is a microcomputer and its peripheral circuits which have the function to control signals of the sensor body 1. Reference numeral 9 is an AC component separator (indicated as an AC separator in Fig.

5). This is inserted into the power line, and outputs --AC component signal as high or low digital sianals through a circuit such as Schmitt trigger circui.t. The AC component separator is connected to the dictital input terminal 24 of the microcomnuter 2. Reference numeral 10 is a power terminal and reference numeral 11 is a ground terminal for the power terminal 10. During compensation, power is connected to the power terminal 10, and an external signal source for sending the compensation mode signal is connected to the power line through the AC component mixer.

Next, operation of the above automatic compensation sensor is explained. During compensation, the external signal source sends a predetermined compensation signal through the power terminal 10. This signal needs to be sufficiently complicated in comparison with power supply variation.
Signals sent from the external signal source are input to the AC component separator 9 through the power line, and its output is input to the digital input terminal 24 of the microcomputer 2. This enables the microcomputer 2 to receive an external signal by reading the digital input terminal 24. The 16758E1A.doc 1999/2/8 compensation signal used here is the same as that described in the automatic compensation sensor in the first exemplary embodiment. However, if noise is applied to the power line when sending the compensation signal, the compensation signal may not be received properly. Accordingly, it is preferable to execute the compensation mode only when a correct signal is received in least two out of three transmissions, for example, as in the automatic compensation sensor in the first exemplary embodiment. Furthermore, the microcomputer 2 has a compensation mode and a normal operation mode, and these modes are operated in the same way as described in the first exemplary embodiment.

As explained in the first to fourth exemplary embodiments, the exclusive input terminal for the compensation mode signal can be eliminated by sending the compensation mode signal using the signal output terminal to the digital input terminal of the microcomputer. Thus the advantage of a simplified terminal structure is achieved. This reduces cost and improves reliability because the present invention eliminates the need for making the exclusive input terminal for the compensation mode signal unusable after adjustment.
Fifth exemplary embodiment A fifth exemplary embodiment of the present invention is explained with reference to Figs. 6 to 8. Fig. 6 shows an automatic compensation sensor in the fifth exemplary embodiment of the present invention. In Fig. 6, reference numeral 30 is a sensor body which comprises a sensing unit 31, signal output stage 32, and adder 33. The adder 33 is inserted between the sensing unit 31 and the signal output stage 32 so that intrinsic sensor signals can be adjusted by inputting the compensation signal. Reference numera140 is a microcomputer 16758E1A.doc 1999/2/8 which acts as a controller. The microcomputer 40 has the additional functions of an A/D converter 41, D/A converter 42, and rewritable memory 43. These additional functions are built into the microcomputer 40 or externally attached as peripherals. If they are externally attached, the microcomputer 40 includes such externally attached units. The output of the D/A converter 42 of the microcomputer 40 is connected to the adder 33 of the sensor body 30. Reference numeral 50 is a temperature sensor, which is connected to the A/D converter 41 of the microcomputer 40. Reference numeral 60 is a compensation value input terminal, which is connected to the A/D converter 41 of the microcomputer 40.

Operation of the above automatic compensation sensor is described next.
The sensor body 30 executes intrinsic operations of the sensor regardless of the operations of other components. However, the output of the sensor body 30 is adjusted externally by the adder 33.

The microcomputer 40 has two main modes of operation. One is the compensation value setting mode and the other is the normal operation mode. If no compensation value is set, the microcomputer 40 operates in the compensation value setting mode, and if the compensation value is set, it operates in the normal operation mode.

First, the compensation value setting mode is explained. To set the compensation value, the automatic compensation sensor is attached to a temperature controllable device such as a constant temperature chamber (hereafter referred to as the constant temperature chamber). The error signal between the sensor output and sensor output reference value is input to the compensation value input terminal 60. When executing the compensation value 16758E1A.doc 1999/2/8 setting mode, the constant temperature chamber controls the temperature and traces all the operating temperatures of the automatic compensation sensor.

Here, let's say that temperature is controlled from a minimum operating temperature TI to a maximum operating temperature Th. Fig. 7 is a 5 flow chart illustrating control procedures of the microcomputer 40. A

temperature resolution for setting the compensation value is also determined.
The compensation value is set for every temperature determined based on this temperature resolution.

The microcomputer 40 sets the input of the A/D converter 41 to the 10 temperature sensor 50, and temperature information is converted from analog to digital in step S10. Since the temperature is controlled to increase from the minimum operating temperature, the temperature increase from the current temperature to the next compensated temperature is continuously detected in step S11. After detecting the temperature increase, the microcomputer 40 15 checks whether the temperature is the maximum operating temperature in step S12. If the temperature exceeds the maximum operating temperature, the compensation value setting mode is completed in step S13. If it does not exceed the maximum operating temperature, the A/D input terminal is set to the compensation value input terminal 60 in step S14 to execute analog to digital conversion. This value indicates the offset error of the sensor output. Based on this A/D converted value, the compensation value is output from the D/A
converter 42 in step S15. In steps S16, S17, and S18, this value is input to the adder 33 of the sensor body 30 to adjust the sensor output. The microcomputer 40 executes A/D conversion of the signal from the compensation value input terminal 60 again, and then in step S17, it is checked whether this value is 16758E1A.doc 1999/2/8 within predetermined compensation error. Normally, the predetermined range is set within approximately 1 A/D conversion bits. If this value is within the predetermined range, the value is set to the rewritable memory 43 as the compensation value for that temperature, and then the temperature increase is again detected. If the value is not within the predetermined range, the compensation value is finely adjusted in step S18 until the value falls within the predetermined range.

Next, the normal operation mode is explained with reference to the flow chart illustrated in Fig. 8. The microcomputer 40 sets the input of the A/D

converter 41 to the temperature sensor 50, and in step S20, A/D conversion of the temperature is executed. Next, in step S21, the compensation value for this temperature is read out from the rewritable memory 43. In step S22, this value is output from the D/A converter 42. This value is then input to the adder 33 of the sensor body 30 to compensate the sensor output. The above operation is repeated.

With the above configuration, the offset for each temperature can be reduced, resulting in effectively enabling prevention of temperature offset drift, even if the sensor shows complicated characteristics as a temperature function.
Suppose that if there is no temperature hysteresis in the temperature characteristics of the output of the sensor body 30 and the temperature sensor 50, the temperature resolution for setting the compensation value needs to be sufficiently precise to counteract any offset temperature changes caused by the sensor body 30. Compensation error at this point depends on the compensation resolution of the sensor which is determined by the resolution of the D/A

converter 42 of the microcomputer 40. For example, if a change in the sensor 16758E 1 A.doc 1999/2/8 output is X mV when one bit of the D/A converter 42 changes, and the accuracy of the D/A converter 42 is 1 bit, the maximum compensation error will be X
mV.

It will be possible to operate the compensation value setting mode again, even when the compensation value is already set, by providing the compensation instruction input terminal to the microcomputer 40 for starting the compensation value setting mode.

Furthermore, if greater accuracy of compensation value is required, it is preferable to use the next method in the compensation value setting mode. In general, in the relation between the temperature and sensor output, temperature hysteresis unique to the sensor body 30 and difference in temperature change between the attachment position of the temperature sensor 50 and the sensor body 30 produces temperature hysteresis. This hysteresis causes compensation errors during temperature rise and decrease. If the compensation value is set by changing from low temperature to high temperature as described above, compensation error becomes greater when temperature decreases in the normal operation mode.

Accordingly, the temperature is changed between the minimum and maximum operating temperature once or more to determine the compensation value for a certain temperature based on the mean value between values at the temperature rise and temperature decrease. This enables reduction of the maximum value in the compensation error in the normal operation mode.
Sixth exemplary embodiment 16758E 1 A.doc 1999/2/8 Fig. 9 shows a sixth exemplary embodiment of an automatic compensation sensor of the present invention. In Fig. 9, the configuration of the automatic compensation sensor is basically the same as that of the fifth exemplary embodiment in Fig. 6. The same reference numerals are given to the same parts, thus omitting a detailed explanation.

In Fig. 9, reference numeral 70 is an error amplifier, to which the sensor output and the output of a power supply for reference output 80, described later, are input, and the output of the error amplifier 70 is connected to the input terminal of the A/D converter 41 of the microcomputer 40.

Operation of the above automatic compensation sensor is explained next.
It is basically the same as that in the fifth exemplary embodiment, and thus only the different parts are explained below.

The sensor body 30 only executes its intrinsic operations. The microcomputer 40 has a compensation value setting mode and normal operation mode, and operates in the same way as that in the fifth exemplary embodiment.
However, the part which executes A/D conversion of the value of the compensation value input terminal 60 in the compensation value setting mode of the fifth exemplary embodiment is replaced with A/D conversion of the output of the error amplifier 70. The output from the error amplifier 70 is the same as the input from the compensation value input terminal 60 in the fifth exemplary embodiment.

The reference value output power supply 80 always outputs the center value of the sensor offset, and this value may be required to be sufficiently stable with regard to temperature and secular changes in comparison to that of the sensor.

16758E1A.doc 1999/2/8 With the above configuration, the automatic compensation sensor in this exemplary embodiment achieves the same effect as that in the fifth exemplary embodiment, and also has the following effect. There is no need to externally input an error signal between the sensor output and reference value of the sensor output during the setting of the compensation value. This is a significant advantage with respect to equipment used in a manufacturing process.

However, it is necessary to sufficiently reduce the temperature and secular output changes of the reference value output power supply 80 and error amplifier 70, compared to the resolution of the A/D converter 41 of the microcomputer 40.

The control procedures of the microcomputer 40 allow the sensor output to be monitored by executing A/D conversion of the output of the error amplifier 70 while in the normal operation mode. This feature can be used in diagnosis of failures.

Seventh exemplary embodiment Fig. 10 shows an automatic compensation sensor in a seventh exemplary embodiment of the present invention. The configuration of the automatic compensation sensor shown in Fig. 10 is identical to that of the sixth exemplary embodiment shown in Fig. 9. Only the control procedures of the microcomputer 40 are different. Explanation of other configurations is thus omitted here.

The operation of the automatic compensation sensor in the seventh exemplary embodiment is explained next. As described in the sixth exemplary 16758E1A.doc 1999/2/8 embodiment, the automatic compensation sensor operates in both the compensation value setting mode and normal operation mode. In the compensation value setting mode, the offset drift of the sensor by temperature is compensated by employing the same procedures as described in the 5 compensation value setting mode of the sixth exemplary embodiment.
Explanation is thus omitted here. Next, operation in the normal operation mode is explained with reference to flow charts shown in Figs. 11 and 12.

In the normal operation mode, the automatic compensation sensor is considered to be built into some kind of system for operation. The 10 microcomputer 40 operates according to the flow chart shown in Fig. 8, which is the same as in the sixth exemplary embodiment. In addition, the microcomputer 40 operates according to the flow chart shown in Fig. 11. This is executed in a relatively short cycle. Although the cycle depends on the characteristics of the sensor and the usage conditions of the system that the 15 sensor is built into, a one-minute cycle is considered appropriate. In the following explanation, the cycle is set to one minute.

The microcomputer 40 first switches the input of the A/D converter 41 to the temperature sensor 50. In step S30, the temperature T at that time is measured. "T" is the value for every compensation value setting temperature 20 determined by temperature resolution used in the compensation value setting mode. Next, the input of the A/D converter 41 is switched to the error amplifier 70. In step S31, the error Xi (T) from the sensor reference value is measured.
This value includes secular drift of the sensor offset and the normal output of displacement detected by the sensor. In general, the sensor operates without displacement, and thus a state where a displacement is generated is considered 16758E1A.doc 1999/2/8 very rare time-wise. Accordingly, this value is periodically measured and the mean value of numerous values is calculated to counteract the normal displacement output so that only the secular offset remains. In step S32, the following processing is executed.

From the sensor reference value at every temperature T, there is a mean value X (T) of the error Xi (T). This error Xi (T) is added to the mean value every time it is measured. For example, the following formula is for updating the mean value X (T):

X (T) = (N-1) x X (T) / N + Xi (T) / N

Here, N is the number of pieces of data used for taking the average, which must be sufficiently numerous.

The initial value of the mean value X (T) at the time the automatic compensation sensor is incorporated into the system is set as the sensor reference value.

Next, the operation for updating the compensation value, when the microcomputer 40 evaluates secular changes in the offset drift, is explained with reference to the flow chart shown in Fig. 12.

Updating the compensation value needs to take sufficiently longer time than updating a mean value. Although the update interval may vary depending on the size of the sensor offset drift and the displacement detection frequency of the system, a one-week cycle is generally considered appropriate. In the following explanation, the interval is set to one week.

The microcomputer 40 calculates a mean value of all temperatures with regard to a mean value X (T) of error from a sensor reference value at each temperature T. More specifically, it can be shown using the following formula:

16758E1A.doc 1999/2/8 X=Y_X(T)/M

Whereas M is the number of compensation value setting temperatures T.
Then, in step S34, the above error mean value X(T) is added to a compensation value F (T) at each temperature for all temperatures to create a new compensation value.

F(T)<- F(T)+X

In the remaining processes, this new value is used as the output of the compensation value.

The above configuration enables temperature and secular offset drift of the sensor to be reduced. With respect to secular offset drift, the configuration of this exemplary embodiment is particularly effective when the characteristics unique to the sensor tend to shift with voltage changes.

Eighth exemplary embodiment Fig. 13 shows an automatic compensation sensor in an eighth exemplary embodiment of the present invention. In Fig. 13, the configuration of the automatic compensation sensor is identical to that of the sixth exemplary embodiment shown in Fig. 9. Only the control procedures of the microcomputer 40 are different. Explanation of other configurations is thus omitted here.

The operation of this automatic compensation sensor is explained next.
As described in the sixth exemplary embodiment, the automatic compensation sensor operates in the compensation value setting mode and normal operation 16758E1A.doc 1999/2/8 mode. In the compensation value setting mode, the offset drift of the sensor by temperature is compensated by employing the same operation as described in the compensation value setting mode of the sixth exemplary embodiment.
Explanation is thus omitted here. Next, operation in the normal operation mode is explained with reference to a flow chart shown in Fig. 14.

In the normal operation mode, the automatic compensation sensor is considered to be built into some kind of system for operation. The microcomputer 40 operates according to the flow chart shown in Fig. 8, which is the same as in the sixth exemplary embodiment. In addition, the microcomputer 40 operates according to the flow chart shown in Fig. 11, which is the same as in the seventh exemplary embodiment.

Next, the operation of the microcomputer 40 for updating a compensation value taking into account secular changes of the offset drift is explained with reference to a flow chart shown in Fig. 14.

Updating the compensation value needs to take sufficiently longer time than updating a mean value. It is further necessary to be set longer than that in the sixth exemplary embodiment. Although the update interval may vary depending on the size of the sensor offset drift and displacement detection frequency of the system, one-month interval is generally appropriate. In the following explanation, the interval is set to one month.

The microcomputer 40, in step S35, is provided with several temperature zones between the minimum operating temperature and maximum operating temperature, and each temperature zone is called Ri. For all temperatures T included in each temperature zone Ri, zone displacement 16758E 1 A.doc 1999/2/8 (Ri) is calculated based on a mean X (T) of error against the reference value of the sensor output at each temperature. More specifically:

X (Ri) = EX (T) Whereas, T is included in Ri.

The above calculation is implemented for all zones Ri. Then, in step S36, each compensation value is updated. Here, zone displacement is smoothed while each compensation value is updated. Zone smoothing is applied to eliminate a gap in compensation amount between a zone Ri and a zone Ri + 1.
For example, next method can be applied.

First, the lowest temperature zone RO and the next zone R1 are compared. If they are different, zone displacement X (RO) in the zone RO and a value in the zone X(R1) are used for the MO number of compensation value included in the zone RO. In the zone RO, a value consistent with the zone displacement X (RO) for the lowest temperature, and the zone displacement X

(R1) for the highest temperature are added to update a compensation value F
(T) at each temperature T included in the zone RO. More specifically:

F (T) <- F (T) + X (RO) + (X(RO) - X (R1)) [T - TRO] / M

Whereas TRO is a starting temperature in the zone RO.

In the same way, the same calculation as the above is executed sequentially for all zones Ri.

With the above configuration, temperature and secular offset drift of the sensor can be reduced. With respect to secular offset drift, the configuration of this exemplary embodiment is particularly effective when there is no constant 16758E1A.doc 1999/2/8 trend in characteristics unique to the sensor, which may be difficult to improve accuracy of the offset compensation using the configuration of the sixth exemplary embodiment. However, compared to the configuration of the sixth exemplary embodiment, compensation value update cycle may need to be set 5 sufficiently longer. Thus compensation accuracy may degrade in temperature zones which are not frequently used.

Ninth exemplary embodiment Fig. 15 shows an automatic compensation sensor in a ninth exemplary 10 embodiment. In Fig. 15, the basic configuration of this exemplary embodiment is the same as that in the fifth exemplary embodiment shown in Fig. 7. The same reference numerals are given to same components, and thus omitting the need for a detailed explanation.

In Fig. 15, reference numeral 90 is an abnormal value detection output 15 terminal, which is connected to the microcomputer 40. The output of the D/A
converter 42 connected to the adder 33 is also connected to the A/D converter 41.

The operation of the above automatic compensation sensor is explained next. This is basically the same as that in the sixth exemplary embodiment.
Only the parts which are different are explained in details.

20 The sensor body 30 only executes its intrinsic operations. The microcomputer 40 has the compensation value setting mode and normal operation mode. These modes operate in the same way as in the sixth exemplary embodiment. However, at executing the following operation, abnormality is judged as shown in a flow chart in Fig. 16.

16758E1A.doc 1999/2/8 More specifically, as shown in Fig. 16A, the output of the temperature sensor 50 is converted from analog to digital in step S41. At reading the output of the temperature sensor 50, in steps S42 and S43, whether the output is the maximum temperature value or the minimum temperature value is checked. If the AID converter 41 detects voltage generated from other than the temperature sensor 50, it is considered abnormal. In this case, in step S44, the abnormal detection output terminal 90 is activated.

In step S45 shown in Fig. 16B, D/A conversion is executed, and the output of the D/A converter 42 is read by the A/D converter 41. In step S46, A/D conversion is executed. In step S47, matching of DA value and AD value is checked. If the value is out of the allowable error range, it is judged abnormal, making the abnormal value detection output terminal 90 activated in step S48.

Next, as shown in Fig. 16C, the output of the error amplifier 70 is converted from analog to digital in step S49. At reading the sensor output in steps S50 and S51, whether the output is above the maximum error value or below a minimum error value is checked. If a value out of the sensor output range is detected, it is considered abnormal. In step S52, the abnormal value detection output terminal 90 is activated.

With the above configuration, abnormality occurred in the automatic compensation sensor can be informed to the outside, thus improving the reliability.

As explained in the fifth to ninth exemplary embodiments, the microcomputer used as a controller has a function to compensate for the sensor output. This enables the reduction of offset drift against temperature and 16758E1A.doc 1999/2/8 secular changes even for a sensor which intrinsically has large offset drift and shows complicated temperature and secular changes.

INDUSTRIAL APPLICABILITY

As described above, the present invention has a control means for compensating the output signal from the signal output terminal. This enables the elimination of the exclusive input terminal normally required for the compensation mode signal.

Claims (11)

What is claimed is:
1. An automatic compensation sensor comprising:
at least one signal terminal for outputting a compensated sensor signal in normal mode and for receiving an external signal in a compensation mode;
a sensing unit for outputting a sensor signal responsive to a condition which is sensed by said sensing unit;
compensation value means for selecting, and outputting based on a further condition, one of a plurality of compensation values in the normal mode and for storing the plurality of compensation values in the compensation mode when the external signal is applied, the plurality of compensation values are in storage at a time; and an adder for summing the sensor signal and the selected one of the plurality of compensation values and for producing the compensated sensor signal.
2. The automatic compensation sensor of claim 1, wherein the compensation value means receives the compensated sensor signal in the compensation mode and sets the one of a plurality of compensation values based on the compensated sensor signal and the external signal.
3. The automatic compensation sensor of claim 1, further comprising:
a diagnosis circuit responsive to the sensing unit and to the compensation value means for outputting a diagnosis, wherein the compensation value means receives the diagnosis signal.
4. An automatic compensation sensor according to claim 1, further comprising:
an alternating current (AC) component separator for outputting said external signal which is an AC component signal.
5. An automatic compensation sensor according to claim 1, further comprising:

an error amplifier for generating an error signal based on the compensated sensor signal an a predetermined reference value; wherein said compensation value means generates the external signal based on at least one of the plurality of compensation values, the sensor signal, and the error signal.
6. The automatic compensation sensor of claim 5, wherein the sensor is a temperature sensor.
7. The automatic compensation sensor of claim 6, wherein the compensation value means calculates a mean value of a plurality of error signal measurements for each of a plurality of temperatures, and wherein the compensation value means updates each of the plurality of compensation values based on the mean value.
8. The automatic compensation sensor of claim 6, wherein the compensation value means calculates a plurality of mean values each associated with a plurality of error signal measurements taken in one of a plurality of temperature zones, and wherein the compensation value means updates each of the plurality of compensation values based on the mean value.
9. The automatic compensation sensor of claim 5, wherein the compensation value means further includes an abnormal value detection output which is activated responsive to any of said plurality of compensation values being outside a predetermined range.
10. The automatic compensation sensor of claim 1, wherein each of said plurality of compensation values corresponds to a respective temperature.
11. An automatic compensation sensor according to claim 1, wherein said further condition includes temperature information.
CA002266485A 1997-07-14 1998-07-14 Automatic compensation sensor Expired - Lifetime CA2266485C (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP9-188082 1997-07-14
JP18808297A JP4000629B2 (en) 1997-07-14 1997-07-14 Sensor with adjustment function
JP9-195371 1997-07-22
JP9195371A JPH1137745A (en) 1997-07-22 1997-07-22 Displacement amount sensor with correcting function
PCT/JP1998/003144 WO1999004226A1 (en) 1997-07-14 1998-07-14 Sensor provided with adjusting function

Publications (2)

Publication Number Publication Date
CA2266485A1 CA2266485A1 (en) 1999-01-28
CA2266485C true CA2266485C (en) 2009-01-27

Family

ID=26504724

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002266485A Expired - Lifetime CA2266485C (en) 1997-07-14 1998-07-14 Automatic compensation sensor

Country Status (6)

Country Link
US (2) USRE41847E1 (en)
EP (1) EP0926470A4 (en)
AU (1) AU745163B2 (en)
CA (1) CA2266485C (en)
NZ (1) NZ334610A (en)
WO (1) WO1999004226A1 (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6497146B1 (en) * 2000-09-15 2002-12-24 Bei Technologies, Inc. Inertial rate sensor and method with built-in testing
US20020083374A1 (en) * 2000-12-26 2002-06-27 Nortel Networks Limited Identification module for a passive component of a system
DE10130215B4 (en) * 2001-06-22 2007-08-30 Hottinger Baldwin Messtechnik Gmbh Measuring sensor with connected data memory
DE10162334A1 (en) * 2001-12-18 2003-07-03 Endress & Hauser Gmbh & Co Kg Field device and a method for calibrating a field device
US7223014B2 (en) * 2003-03-28 2007-05-29 Intempco Controls Ltd. Remotely programmable integrated sensor transmitter
US8122187B2 (en) * 2004-07-02 2012-02-21 Qualcomm Incorporated Refreshing dynamic volatile memory
JP4244886B2 (en) * 2004-08-31 2009-03-25 株式会社デンソー Sensor circuit
DE102006004051A1 (en) * 2006-01-28 2007-08-09 Atlas Elektronik Gmbh Measuring device for measuring the oxygen content in the respiratory air
US9262326B2 (en) * 2006-08-14 2016-02-16 Qualcomm Incorporated Method and apparatus to enable the cooperative signaling of a shared bus interrupt in a multi-rank memory subsystem
US20080317086A1 (en) * 2007-06-22 2008-12-25 Santos Ishmael F Self-calibrating digital thermal sensors
US20090168573A1 (en) * 2007-12-31 2009-07-02 Ming Zhang Adaptive memory array voltage adjustment
US8346494B2 (en) * 2008-11-21 2013-01-01 Panasonic Corporation Physical quantity measurement device
US20110199094A1 (en) * 2010-02-16 2011-08-18 Hamilton Sundstrand Corporation Gas Sensor Age Compensation and Failure Detection
US9329063B2 (en) * 2011-02-04 2016-05-03 Semiconductor Components Industries, Llc Electronic device with flexible data and power interface
DE102012002013B4 (en) * 2012-02-03 2015-09-10 Krohne Messtechnik Gmbh Examination of a measuring device arrangement, corresponding measuring device arrangement and test arrangement
CN103389536B (en) 2012-05-10 2016-07-06 三星电子株式会社 Multi-layer optical film, the manufacture method of blooming and display device
EP2778619B1 (en) * 2013-03-15 2015-12-02 Invensys Systems, Inc. Process variable transmitter
DE102014208432A1 (en) * 2014-05-06 2015-11-12 Continental Teves Ag & Co. Ohg PSI5 interface with temperature-independent error monitoring
JP6561702B2 (en) * 2015-09-09 2019-08-21 セイコーエプソン株式会社 Physical quantity detection system, electronic device and moving object

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3150013A1 (en) 1981-12-17 1983-06-23 Datron-Electronic Pichl & Schulte KG, 6109 Mühltal Method and device for the automated adjustment (calibration) of measuring instruments and transducers of physical input variables
US4454483A (en) * 1982-03-25 1984-06-12 Cubic Corporation Temperature compensation of an oscillator by fractional cycle synthesis
GB2218214B (en) * 1985-10-25 1990-07-04 Drexelbrook Controls Admittance-responsive instrument system
JPS62218813A (en) * 1986-03-20 1987-09-26 Hokoku Kikai Kk Pressure detector
DE3743846A1 (en) 1987-12-23 1989-07-13 Porsche Ag TRANSDUCERS
US5062065A (en) * 1989-10-06 1991-10-29 Leopold Kostal Gmbh & Co., Kg Environmental sensing and ventilation control system with compensation for sensor characteristics
JPH03134552A (en) * 1989-10-20 1991-06-07 Hitachi Ltd Detecting apparatus with self-calibration function
US5161311A (en) * 1990-08-29 1992-11-10 Alps Electric Inc. Calibration and compensation of an electronic compass system
JP3004782B2 (en) * 1991-08-14 2000-01-31 日東電工株式会社 Polarizing plate and liquid crystal display
JPH0545520U (en) * 1991-11-22 1993-06-18 理化工業株式会社 Sensor correction device
US6198275B1 (en) * 1995-06-07 2001-03-06 American Electronic Components Electronic circuit for automatic DC offset compensation for a linear displacement sensor
EP0773430B1 (en) * 1995-05-30 2002-08-07 Matsushita Electric Industrial Co., Ltd. Angular velocity sensor
US5848383A (en) * 1997-05-06 1998-12-08 Integrated Sensor Solutions System and method for precision compensation for the nonlinear offset and sensitivity variation of a sensor with temperature

Also Published As

Publication number Publication date
EP0926470A1 (en) 1999-06-30
AU745163B2 (en) 2002-03-14
EP0926470A4 (en) 2005-06-15
CA2266485A1 (en) 1999-01-28
US6324482B1 (en) 2001-11-27
USRE41847E1 (en) 2010-10-19
WO1999004226A1 (en) 1999-01-28
NZ334610A (en) 2000-10-27
AU8130098A (en) 1999-02-10

Similar Documents

Publication Publication Date Title
CA2266485C (en) Automatic compensation sensor
KR100724130B1 (en) Apparatus for detecting a/d converter abnormality
RU2341893C2 (en) Analogue-to-digital converter with detection of errors, related to overranging
FI83718B (en) FOERFARANDE FOER INSTAEMNING OCH KOMPENSATION AV RADIOTELEFONENS NIVAOINDIKATOR.
EP3543718B1 (en) Method for detecting a failure in an electronic system
US6633827B2 (en) Arrangement for angle measurements
JP2003512755A (en) Built-in self-test for integrated digital-to-analog converters
JP2000278045A (en) Digital temperature compensation oscillator and method for stabilizing its frequency
US20050110513A1 (en) Semiconductor test module and method of testing semiconductor device
US8326581B2 (en) Crash sensor and method for processing at least one measuring signal
US5490093A (en) Method for enhancing computer controlled missile performance
US5847260A (en) Physical parameter sensor with self-diagnosis circuit
US6532429B1 (en) Offset regulation device
JP4000629B2 (en) Sensor with adjustment function
CN113721095A (en) Sensitivity calibration method of touch system, microcontroller and touch system
JPH10341158A (en) A/d converter
JPH1137745A (en) Displacement amount sensor with correcting function
US6252213B1 (en) Method and apparatus for compensating cooking time of microwave oven
JP2626674B2 (en) Span adjustment device
KR920002877B1 (en) Compensation method of detection speed for coin mechanism
US6064181A (en) Method for detecting fully-charged state of rechargeable battery
KR950001440B1 (en) Oscillation frequency control circuit
KR100283658B1 (en) Temperature Detection Compensation Circuit and Compensation Method
JP2593110Y2 (en) Vehicle fuel gauge
KR100272396B1 (en) Control system for d/a converter i/c testing equipment

Legal Events

Date Code Title Description
EEER Examination request
MKEX Expiry

Effective date: 20180716