JPH04364425A - Method for measuring level of liquid by cooling-type level sensor - Google Patents

Method for measuring level of liquid by cooling-type level sensor

Info

Publication number
JPH04364425A
JPH04364425A JP3138906A JP13890691A JPH04364425A JP H04364425 A JPH04364425 A JP H04364425A JP 3138906 A JP3138906 A JP 3138906A JP 13890691 A JP13890691 A JP 13890691A JP H04364425 A JPH04364425 A JP H04364425A
Authority
JP
Japan
Prior art keywords
level
sensor
output
sensor output
steady
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.)
Granted
Application number
JP3138906A
Other languages
Japanese (ja)
Other versions
JP2648535B2 (en
Inventor
Hiroyuki Ogura
広幸 小倉
Ichiro Kataoka
一郎 片岡
Naoto Ishikawa
直人 石川
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.)
Yazaki Corp
Original Assignee
Yazaki Corp
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 Yazaki Corp filed Critical Yazaki Corp
Priority to JP3138906A priority Critical patent/JP2648535B2/en
Priority to US07/877,284 priority patent/US5228340A/en
Publication of JPH04364425A publication Critical patent/JPH04364425A/en
Application granted granted Critical
Publication of JP2648535B2 publication Critical patent/JP2648535B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)

Abstract

PURPOSE:To achieve an accurate compensation according to a change in previous and later conditions by setting an arithmetic means among a stationary sensor output at this time and a plurality of stationary sensor outputs within a set range which are obtained at the time which is close to this time to a compensation level measurement data and eliminating outputs outside the set range. CONSTITUTION:A voltage Vp according to a current I which is generated from a pulse circuit 2 is stored in a memory portion of a CPU 4 successively together with a time data. The CPU 4 stores an initial output voltage V1, divides values after a voltage V2 which are continuously input by a voltage V1 by using an operation means, and then obtains a stationary output voltage (stationary sensor output) Vtc which becomes stationary from a rising inclination for these times according to operation and prediction. Although this is a level measurement data of a liquid of an ambient temperature compensation, an error is generated when a body oscillation is large, thus obtaining a compensation level measurement data by calculating an arithmetic mean among the stationary sensor output and a specified number of stationary sensor outputs which were obtained at times which are before and are close to this time.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、例えば車両用燃料タン
ク内の燃料のレベルの検出に好適な放熱式レベルセンサ
による液体のレベル測定方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a liquid level measuring method using a heat dissipation type level sensor suitable for detecting the level of fuel in a vehicle fuel tank, for example.

【0002】0002

【従来の技術】放熱式レベルセンサは、抵抗体であるセ
ンサがその液面に対する浸漬深さによって抵抗が変化す
ることを利用したものである。パルス定電流を用いた方
法に付き略述(詳細は後述する)すると、パルス方式に
おいては、数秒間、一定の電流をセンサに通電する。定
電流通電によりセンサ電圧は上昇し、その上昇量は液面
レベルに比例する。しかし、電流通電終了時のFULL
とEMPTYの電圧差は小さく、実用的分解能が得られ
ない。そこで前述の上昇量に代わり電圧立上がりの平均
的な傾きから液面レベルに比例した出力を得ることにし
たものである。具体的には数msecごとにセンサ電圧
をデジタル入力し、マイクロコンピュータにより一次近
似処理を行って傾きを求め、出力分解能をあげてある。 。これを図7(a)、同図(b)により説明すると、図
7(b)は横軸に時間をとり、縦軸に電流をとった線図
で、時間t0 でセンサONし、時刻t0 ′で安定し
、時刻tf でOFFとなる定電流を間欠的に繰り返す
パルス電流を示す。図7(a)はこの通電中のセンサ出
力をサンプリングした状態を示し、時刻t1 における
初期電圧V1 、に始まりV2 、V3 、……Vfが
得られる。そこで各出力電圧を初期電圧V1 で割り算
し、周囲温度に対する温度補償を行う。そしてこの出力
の時間に対する上昇勾配を1次近似処理して傾きを求め
、これを演算処理して最終的に安定する定常センサ出力
を求め、液体のレベル測定データとする。
2. Description of the Related Art A heat dissipation type level sensor utilizes the fact that the resistance of the sensor, which is a resistor, changes depending on the depth of immersion in the liquid surface. To briefly describe the method using pulsed constant current (details will be described later), in the pulsed method, a constant current is passed through the sensor for several seconds. The sensor voltage increases due to constant current application, and the amount of increase is proportional to the liquid level. However, FULL at the end of current supply
The voltage difference between and EMPTY is so small that practical resolution cannot be obtained. Therefore, it was decided to obtain an output proportional to the liquid level from the average slope of the voltage rise instead of the above-mentioned rise amount. Specifically, the sensor voltage is digitally input every few milliseconds, and a microcomputer performs first-order approximation processing to obtain the slope, thereby increasing the output resolution. . To explain this with reference to FIGS. 7(a) and 7(b), FIG. 7(b) is a diagram in which the horizontal axis represents time and the vertical axis represents current. It shows a pulse current that intermittently repeats a constant current that becomes stable at tf and turns off at time tf. FIG. 7(a) shows a state in which the sensor output during this energization is sampled, and starting from the initial voltage V1 at time t1, V2, V3, . . . Vf are obtained. Therefore, each output voltage is divided by the initial voltage V1 to perform temperature compensation for the ambient temperature. Then, the rising slope of this output with respect to time is subjected to first-order approximation processing to obtain the slope, which is then subjected to arithmetic processing to finally obtain a stable steady sensor output, which is used as liquid level measurement data.

【0003】ところが、車両が走行中は、レベル測定時
に燃料が揺れ、燃料レベルが変動し、燃料残量に対応し
た出力が得られないことがある。
However, while the vehicle is running, the fuel may oscillate and the fuel level may fluctuate when the level is measured, making it impossible to obtain an output corresponding to the remaining amount of fuel.

【0004】また、放熱式では、センサを加熱するため
に、測定終了時点でのセンサ温度は周囲温度に比べて上
昇しており、センサ温度と周囲温度が一致するまでセン
サを冷却する必要がある。よって、測定間隔はかなり長
い時間となるので、短い時間中に測定回数を増やし平均
するといった単純な処理が出来ない。
[0004] Furthermore, in the heat radiation type, since the sensor is heated, the sensor temperature at the end of measurement is higher than the ambient temperature, and it is necessary to cool the sensor until the sensor temperature and the ambient temperature match. . Therefore, since the measurement interval is quite long, simple processing such as increasing the number of measurements and averaging them in a short period of time is not possible.

【0005】[0005]

【発明が解決しようとする課題】上述したように、放熱
式レベルセンサによる液体のレベル測定方法は、走行中
液面が揺れるので、正確な燃料の残量が得られない場合
がある。
As described above, in the liquid level measurement method using a heat dissipation type level sensor, since the liquid level fluctuates during driving, it may not be possible to obtain an accurate remaining amount of fuel.

【0006】また、センサを加熱するので測定完了時に
は周囲より温度が高くなっている。初期値は周囲温度と
一致させる必要があるので、測定間隔は長くなり、短時
間に測定回数を増やし平均する単純処理ができないなど
の不都合がある。
Furthermore, since the sensor is heated, the temperature is higher than the surroundings when the measurement is completed. Since the initial value needs to match the ambient temperature, the measurement interval becomes long, and there are disadvantages such as a simple process of increasing the number of measurements and averaging them in a short period of time.

【0007】本発明は、上記不都合を除去するためにな
されたもので、液面が揺動などにより変化しても液面の
挙動による誤差を補正したレベル測定データが得られる
放熱式レベルセンサによる液体のレベル測定方法を提供
することを目的とする。
The present invention has been made in order to eliminate the above-mentioned disadvantages, and uses a heat dissipation type level sensor that can obtain level measurement data that corrects errors caused by the behavior of the liquid level even if the liquid level changes due to rocking or the like. The purpose is to provide a method for measuring the level of liquid.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
、請求項1記載の発明は、液体に浸漬された抵抗体であ
るセンサに間欠的に定電流を流し、センサ出力の変化か
ら液面に応じた定常センサ出力を予測し液体のレベル測
定データを得るレベル検出方法と、これによる定常セン
サ出力に対し液面の挙動による誤差を補正するレベル補
正方法とからなる放熱式レベルセンサによる液体のレベ
ル測定方法であって、前記レベル補正方法は、前記レベ
ル検出方法により新たに今回得られた定常センサ出力が
予め設定した範囲内の場合に、この今回の定常センサ出
力と、これより以前でかつこれの近接時点で得られかつ
その出力が前記設定範囲内である所定個数の定常センサ
出力との相加平均値を求めこれを今回の補正レベル測定
データとするとともに今回の定常センサ出力が設定範囲
外の場合は前回の補正レベル測定データを保持すること
を特徴とする放熱式レベルセンサによる液体のレベル測
定方法である。
[Means for Solving the Problems] In order to achieve the above object, the invention according to claim 1 intermittently supplies a constant current to a sensor, which is a resistor immersed in liquid, and detects the liquid level based on changes in sensor output. A level detection method that obtains liquid level measurement data by predicting the steady sensor output according to In the level measurement method, the level correction method detects the current steady sensor output and the previous steady sensor output when the current steady sensor output newly obtained by the level detection method is within a preset range. The arithmetic mean value of a predetermined number of steady sensor outputs obtained at a point close to this and whose output is within the set range is determined, and this is used as the current correction level measurement data, and the current steady sensor output is within the set range. This is a liquid level measuring method using a heat dissipation type level sensor, which is characterized in that the previous corrected level measurement data is held when the temperature is outside.

【0009】また、請求項2記載の発明はレベル検出方
法は液体に浸漬された抵抗体であるセンサに間欠的に定
電流を流し、前記センサからのセンサ出力の初期出力電
圧を記憶し、初期状態から所定時間経過までの出力電圧
を前記初期電圧で割り算し、この割り算により得られた
出力の時間に対する上昇勾配から定常状態となる定常セ
ンサ出力を演算予測してレベル測定データを得ることを
特徴とする請求項1記載の放熱式レベルセンサによる液
体のレベル測定方法である。
Further, in the level detection method according to the second aspect of the invention, a constant current is intermittently passed through a sensor which is a resistor immersed in a liquid, an initial output voltage of a sensor output from the sensor is memorized, and an initial output voltage is stored. The output voltage from the state until a predetermined time elapses is divided by the initial voltage, and the steady state sensor output in the steady state is calculated and predicted from the rising slope of the output obtained by this division with respect to time to obtain the level measurement data. 2. A liquid level measuring method using a heat dissipation type level sensor according to claim 1.

【0010】さらにまた、請求項3記載の発明は、レベ
ル補正方法は、今回の定常センサ出力に対し前回の補正
レベル測定データに基づいて設定範囲を修正することを
特徴とする請求項1または請求項2に記載の放熱式レベ
ルセンサによる液体のレベル測定方法である。
Furthermore, the invention according to claim 3 is characterized in that the level correction method corrects the setting range based on previous correction level measurement data for the current steady sensor output. This is a liquid level measuring method using the heat dissipation type level sensor according to item 2.

【0011】[0011]

【作用】請求項1記載の発明においては、新たに得られ
た今回の定常センサ出力が設定範囲内の場合は、この出
力と、これに近接した時点で得た複数個の設定範囲内の
定常センサ出力との相加平均を補正レベル測定データと
し、しかも設定範囲外の出力を除外するので、単なる平
均処理とは異なり、前後の状況変化を取り入れた精度の
よい補正ができる。
[Operation] In the invention as claimed in claim 1, when the newly obtained steady state sensor output is within the set range, this output and a plurality of steady states within the set range obtained at a point close to this output are combined. Since the arithmetic mean with the sensor output is used as the correction level measurement data, and outputs outside the set range are excluded, highly accurate correction that incorporates changes in the situation before and after is possible, unlike simple average processing.

【0012】また、請求項2記載の発明は、周囲温度に
対する補正が容易になされる。
[0012] Furthermore, according to the second aspect of the invention, correction for ambient temperature can be easily performed.

【0013】さらにまた、請求項3記載の発明は、順次
得られる定常センサ出力を含んだ平均値に基づいて設定
範囲を修正するので、変化する状況に追従した適切な範
囲を設けることができる。
Furthermore, in the invention as set forth in claim 3, since the setting range is corrected based on the average value including the steady sensor outputs obtained sequentially, it is possible to provide an appropriate range that follows changing conditions.

【0014】[0014]

【実施例】以下、本発明の詳細を図面を参照しながら実
施した装置とともに説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The details of the present invention will be explained below with reference to the drawings and an apparatus in which it was carried out.

【0015】最初に本発明方法を実施した装置につき、
図1ないし図3を参照しながらその概略を説明し、その
作用とともに本発明の実施例として実施態様を説明する
Regarding the device in which the method of the present invention was first implemented,
An outline thereof will be explained with reference to FIGS. 1 to 3, and an embodiment thereof will be explained as an example of the present invention along with its operation.

【0016】1は燃料タンク、FLはタンク1内に浸漬
した抵抗体となるセンサである。このセンサFLの両端
には定電流パルス回路2を通じて定電流Iが流される。 この電流を流すことによりレベルセンサFLの両端に生
じた出力電圧VpはA/D変換器3を通じてCPU4に
取り込まれる。そしてCPU4により次ぎに述べるレベ
ル検出方法とレベル補正方法が実行され、その補正レベ
ル測定データが表示部5に表示される。
1 is a fuel tank, and FL is a sensor serving as a resistor immersed in the tank 1. A constant current I is applied to both ends of the sensor FL through a constant current pulse circuit 2. The output voltage Vp generated across the level sensor FL by flowing this current is taken into the CPU 4 through the A/D converter 3. Then, the CPU 4 executes the level detection method and level correction method described below, and the corrected level measurement data is displayed on the display section 5.

【0017】まず、本装置の作用とともにレベル検出方
法に付き説明する。
First, the function of the present device and the level detection method will be explained.

【0018】パルス回路2から発生する電流Iは図2(
b)に示すように、t0 〜tf までの周期を有する
大周期が冷却時間をおいて繰り返す態様となっており、
その全体の周期は3秒程度に設定されている。したがっ
て、電圧Vpは、図2(a)に示すように、その周期ご
とに初期状態から液面のレベル(レベルが低いと勾配が
大きく、高いと勾配が小さい)に応じた勾配で上昇する
サイクルを繰り返し、順次CPU4内に取り込まれ、そ
の時刻データとともに、順次CPU4内の記憶部に記憶
される(図1の拡大部分)。
The current I generated from the pulse circuit 2 is shown in FIG.
As shown in b), a large period having a period from t0 to tf is repeated after a cooling time,
The entire period is set to about 3 seconds. Therefore, as shown in FIG. 2(a), the voltage Vp rises from the initial state at a gradient corresponding to the level of the liquid level (the lower the level, the higher the slope is, and the higher the level, the lower the slope). This is repeated, sequentially taken into the CPU 4, and sequentially stored in the storage section of the CPU 4 together with the time data (enlarged portion in FIG. 1).

【0019】ここで、初期電圧、すなわちt1 での出
力電圧V1は、電流IによってまだセンサFLが加熱さ
れていない状態の出力電圧と見なすことができる。
Here, the initial voltage, ie, the output voltage V1 at t1, can be regarded as the output voltage in a state where the sensor FL is not yet heated by the current I.

【0020】つまり、従来の温度補償用抵抗体と同様の
抵抗値に基づく出力電圧と見なすことができ、CPU4
はこの初期出力電圧V1 を記憶し、CPU4からなる
演算手段により、続けて入力される電圧V2 〜Vn 
の値をこの初期電圧V1 で割算を行い、これらの時間
に対する上昇勾配から定常状態となる定常出力電圧(定
常センサ出力)Vtcを演算予測して求める。これは周
囲温度を補償した液体のレベル測定データである。
In other words, it can be regarded as an output voltage based on a resistance value similar to that of a conventional temperature compensation resistor, and the CPU 4
stores this initial output voltage V1, and calculates the voltages V2 to Vn that are subsequently inputted by the calculation means consisting of the CPU 4.
The value of is divided by this initial voltage V1, and the steady output voltage (steady sensor output) Vtc which will be in a steady state is calculated and calculated from the rising slope with respect to these times. This is liquid level measurement data compensated for ambient temperature.

【0021】したがって、CPU4には図3に示すよう
に、その1次近似直線の上昇勾配から定常状態となる時
間tcにおける近似的な定常出力電圧(定常センサ出力
)Vtcを算出するプログラムが内蔵されている。
Therefore, as shown in FIG. 3, the CPU 4 has a built-in program that calculates the approximate steady output voltage (steady sensor output) Vtc at the time tc when the steady state is reached from the rising slope of the first-order approximate straight line. ing.

【0022】また、例えばt1 〜tfまでの期間、例
えば3秒間で10msecのサンプリング間隔であると
、300ケのサンプリング電圧Vpを得られる。
Further, for example, if the period from t1 to tf is 3 seconds, and the sampling interval is 10 msec, 300 sampling voltages Vp can be obtained.

【0023】このようにして得られた液体のレベル測定
データは、通常の走行中は問題ないが、車体の動揺が大
きいと、液面の挙動により誤差が生じる。これを下記に
述べるレベル補正方法により補正し、補正レベル測定デ
ータを得る。
The liquid level measurement data obtained in this way has no problem during normal driving, but when the vehicle body is shaken significantly, errors occur due to the behavior of the liquid level. This is corrected by the level correction method described below to obtain corrected level measurement data.

【0024】すなわち、レベル検出方法により新たに算
出された今回の定常センサ出力に対し、これより以前で
かつ近接した時点に得られた所定数の定常センサ出力と
の相加平均を求め、これを補正レベル測定データとする
方法である。
In other words, the arithmetic mean of the current steady sensor output newly calculated by the level detection method and a predetermined number of steady sensor outputs obtained at previous and close points in time is calculated. This is a method of using correction level measurement data.

【0025】(1)データの平均に付いて。(以下定常
センサ出力をデータと称す。) データ数は実験の結果最適な値を選択することが好まし
いが、本実施例においては、5回とし、初めから4回目
までは、その時までに得られたデータを平均し、5回目
以降は以前の4回のデータを加え平均する。
(1) Regarding the average of data. (Hereinafter, the steady sensor output will be referred to as data.) It is preferable to select the optimal value as a result of experiments for the number of data, but in this example, it is set as 5 times, and from the first to the fourth time, the number of data obtained is After the fifth time, the data from the previous four times are added and averaged.

【0026】これら平均した値を平均出力と称する。[0026] These averaged values are referred to as average output.

【0027】(2)データの選択に付いてN回目のデー
タが予め設定した範囲(設定範囲)を超えているときは
、平均するときのデータには加えない。この時の平均出
力は、その前の平均出力を保持する。また、以後、N回
目のデータは使用しないで、N+1回目の時には、N−
4〜N−1およびN+1回目のデータを加えて平均を取
り平均出力とする。(ただし、この時は他のデータは設
定範囲を超えていないものとする。)そして、N回目の
ときは、設定範囲はN−1回目のときの平均出力値を基
準に新たに修正して設定する。設定範囲については図4
に示す。白丸と黒丸は今回の値であり、二重丸は以前の
値を示す。
(2) Regarding data selection, if the Nth data exceeds a preset range (set range), it is not added to the data for averaging. The average output at this time retains the previous average output. Also, from now on, the Nth data will not be used, and at the N+1st time, N-
The 4th to N-1 and N+1-th data are added and averaged to obtain the average output. (However, at this time, it is assumed that other data does not exceed the set range.) Then, at the Nth time, the set range is newly revised based on the average output value at the N-1st time. Set. See Figure 4 for the setting range.
Shown below. The white and black circles are the current values, and the double circles are the previous values.

【0028】(3)設定したデータ回数までの間のデー
タの選択に付いて 初めの値は、例えば前回自動車を動かしたときの最終デ
ータをメモリに入力した値を使う。5回平均の場合、2
回目から5回目までの間に設定範囲を超えるデータが発
生した場合、同様にその値を使用しないで、前の平均出
力を保持する。設定範囲内に収まったデータ数が5個に
なったところで、(2)項に示す方法に移行する。
(3) As the initial value for selecting data up to the set data count, use, for example, the value input into the memory of the final data from the last time the car was moved. In the case of 5 times average, 2
If data exceeding the set range is generated between the 5th and 5th times, that value is not used and the previous average output is maintained. When the number of data within the set range reaches 5, the process shifts to the method shown in section (2).

【0029】上述したように、本実施例においては、設
定範囲内の今回のデータと、これより以前の近接時点で
得られかつ設定範囲内の所定個数のデータとを加えて平
均値を求め、この平均出力から補正レベル測定データを
得ている。
As described above, in this embodiment, the average value is calculated by adding the current data within the set range and a predetermined number of data obtained at a previous approaching point and within the set range. Correction level measurement data is obtained from this average output.

【0030】さらに、5回平均モデルの場合の例を図5
に示す。
Furthermore, an example of the five-time average model is shown in FIG.
Shown below.

【0031】これは5回目のデータ(黒丸●で示す)が
設定範囲外の場合であって、その取扱いを示す例である
This is an example of how to handle the case where the fifth data (indicated by a black circle) is outside the set range.

【0032】次にレベル補正方法の全体の流れにつき、
図6に示すフローチャートを参照して説明する。
Next, regarding the overall flow of the level correction method,
This will be explained with reference to the flowchart shown in FIG.

【0033】最初に、設定データ数が3個以下までの場
合につき説明する。
First, the case where the number of set data is three or less will be explained.

【0034】スタートするとステップP1 で前回作動
時(例えば車使用)のデータに基づき範囲が設定される
When started, a range is set in step P1 based on data from the previous operation (for example, when using a car).

【0035】ステップP2 でデータが入力される。最
初は、ステップP3 の前回のデータ(メモリに記憶さ
れている)が入力される。
Data is input in step P2. Initially, the previous data of step P3 (stored in memory) is input.

【0036】ステップP4 ではこのデータが初期値か
否かが判断され、初期値なのでYESとなりステップP
5 でメモリから初期値が取り出され、ステップP3 
で平均出力として出力される。そしてステップP1 で
再びこの出力に基づいて範囲が設定される。
[0036] In step P4, it is determined whether or not this data is an initial value.Since it is an initial value, the answer is YES, and step P4 is performed.
5, the initial value is retrieved from the memory, and step P3
is output as the average output. Then, in step P1, the range is set again based on this output.

【0037】ステップP2 で次ぎのデータ(2回目で
上述の未補正のレベル測定データ)が入力され、ステッ
プP4 で初期値か否かが判断され、今度はNOなので
、ステップP6 に行く、ステップP6 では、設定範
囲内のデータ数が4個以上か否かが判断され、NOの場
合なので、ステップP7 に行く。
In step P2, the next data (the uncorrected level measurement data described above for the second time) is input, and in step P4, it is determined whether or not it is the initial value.Since the answer is NO this time, the process goes to step P6. Then, it is determined whether the number of data within the setting range is four or more, and since the answer is NO, the process goes to step P7.

【0038】ステップP7 では、今回(2回目)のデ
ータが設定範囲内か否かが判断され、YESの場合はス
テップP8 に行く。
In step P7, it is determined whether the current (second) data is within the set range, and if YES, the process goes to step P8.

【0039】ステップP8 では、以前入力されたデー
タ(初期値)との相加平均値が演算され、ステップP3
 で平均出力として出力される。
In step P8, the arithmetic mean value with the previously input data (initial value) is calculated, and step P3
is output as the average output.

【0040】また、ステップP8 でNOの場合は、ス
テップP9 で、前の平均出力を保持し、ステップP3
 に行き出力される。
If the answer is NO in step P8, the previous average output is held in step P9, and the process proceeds to step P3.
and is output.

【0041】次ぎに、設定範囲内のデータが4個以上の
場合(例えば通常走行中)など ステップP1 、ステップP2 、ステップP4 を経
て、ステップP6 において、設定範囲内データが4個
以上か否かが判断され、YESなので、ステップP10
において、今回のデータが設定範囲内か否かが判断され
、YESの場合は、ステップP11で設定範囲内の以前
の近接時点の4個のデータV1 、V2 …V4とV5
 (今回のデータ)とが呼び込まれ ステップP12でこれらの相加平均が演算され、この平
均出力はステップP3 で補正レベル測定データとして
出力される。
Next, if there are four or more pieces of data within the set range (for example, during normal driving), after going through steps P1, P2, and P4, it is determined in step P6 whether there are four or more pieces of data within the set range. is determined and is YES, so step P10
In step P11, it is determined whether or not the current data is within the set range, and if YES, four pieces of data V1, V2...V4 and V5 at the previous close point within the set range are determined.
(current data) are called in and their arithmetic average is calculated in step P12, and this average output is outputted as correction level measurement data in step P3.

【0042】ステップP10でNOの場合は、ステップ
P9 で前の平均出力が保持され、ステップP3 で補
正レベル測定データとして出力される。
If NO in step P10, the previous average output is held in step P9, and output as correction level measurement data in step P3.

【0043】以上で実施例の説明を終わる。This concludes the description of the embodiment.

【0044】なお、本実施例においては、5個のデータ
(定常センサ出力)の平均値を用いたがこれに限定され
ず、その数は実情に合わせて決定すればよい。
In this embodiment, the average value of five pieces of data (steady sensor output) is used, but the number is not limited to this and may be determined according to the actual situation.

【0045】また、本実施例のように、設定範囲を平均
出力に基づいて順次修正する場合は、きめ細かく現状に
適合するので、精度が一層向上する。
Furthermore, when the setting range is sequentially corrected based on the average output as in this embodiment, accuracy is further improved because the setting range is finely adapted to the current situation.

【0046】[0046]

【発明の効果】以上詳述したように、本発明の放熱式レ
ベルセンサによる液体のレベル測定方法は、新たに得ら
れた今回の定常センサ出力と、これに近接した時点で得
られた複数個の設定範囲内の定常センサ出力との相加平
均を補正レベル測定データとし、しかも設定範囲外の出
力を除外するので、単なる平均処理とは異なり、測定間
隔が短くなくても前後の状況変化を考慮した安定した測
定データが得られ状況に合った精度のよい補正ができる
Effects of the Invention As described in detail above, the liquid level measurement method using the heat dissipation type level sensor of the present invention is based on the newly obtained steady sensor output and multiple sensor outputs obtained at a point close to the current sensor output. Since the arithmetic average of the steady sensor output within the setting range is used as the correction level measurement data, and the output outside the setting range is excluded, unlike simple averaging processing, it is possible to detect changes in the situation before and after the measurement even if the measurement interval is not short. You can obtain stable measurement data that takes into consideration the situation, and you can make accurate corrections that suit the situation.

【図面の簡単な説明】[Brief explanation of drawings]

【図1】本発明の測定方法を実施した装置の構成図。FIG. 1 is a configuration diagram of an apparatus that implements the measurement method of the present invention.

【図2】同じく実施態様における定電流とセンサ出力と
の関係を示す線図。
FIG. 2 is a diagram showing the relationship between constant current and sensor output in the same embodiment.

【図3】同じく実施態様における定常出力電圧(定常セ
ンサ出力)と勾配との関係説明線図。
FIG. 3 is a diagram explaining the relationship between steady output voltage (steady sensor output) and slope in the same embodiment.

【図4】同じくデータ(定常センサ出力)と設定範囲と
の関係説明線図。
FIG. 4 is a diagram explaining the relationship between data (steady sensor output) and setting range.

【図5】同じくデータ選択の一例を示す実施態様説明図
FIG. 5 is an explanatory diagram of an embodiment showing an example of data selection.

【図6】同じく実施態様を説明するフローチャート。FIG. 6 is a flowchart illustrating an embodiment.

【図7】従来例を説明する線図。FIG. 7 is a diagram illustrating a conventional example.

【符号の説明】[Explanation of symbols]

FL  センサ V1 、  初期出力電圧 V1 、V2 、……Vn   出力電圧Vtc  定
常出力電圧、定常センサ出力V1、V2、…V4  以
前の定常センサ出力、以前のデータ
FL Sensor V1, initial output voltage V1, V2,...Vn Output voltage Vtc Steady output voltage, steady sensor output V1, V2,...V4 Previous steady sensor output, previous data

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  液体に浸漬された抵抗体であるセンサ
に間欠的に定電流を流し、センサ出力の変化から液面に
応じた定常センサ出力を予測し液体のレベル測定データ
を得るレベル検出方法と、これによる定常センサ出力に
対し液面の挙動による誤差を補正するレベル補正方法と
からなる放熱式レベルセンサによる液体のレベル測定方
法であって、前記レベル補正方法は、前記レベル検出方
法により新たに今回得られた定常センサ出力が予め設定
した範囲内の場合に、この今回の定常センサ出力と、こ
れより以前でかつこれの近接時点で得られかつその出力
が前記設定範囲内である所定個数の定常センサ出力との
相加平均値を求めこれを今回の補正レベル測定データと
するとともに今回の定常センサ出力が設定範囲外の場合
は前回の補正レベル測定データを保持することを特徴と
する放熱式レベルセンサによる液体のレベル測定方法。
1. A level detection method in which a constant current is intermittently applied to a sensor that is a resistor immersed in a liquid, and a steady sensor output corresponding to the liquid level is predicted from changes in the sensor output to obtain liquid level measurement data. and a level correction method for correcting errors caused by the behavior of the liquid level with respect to the steady sensor output. If the steady sensor output obtained this time is within a preset range, the current steady sensor output and a predetermined number of sensors obtained before and at a time close to this and whose output is within the preset range The heat dissipation method is characterized in that the arithmetic mean value with the steady state sensor output is determined and this is used as the current correction level measurement data, and if the current steady state sensor output is outside the set range, the previous correction level measurement data is held. Method for measuring liquid level using a type level sensor.
【請求項2】  レベル検出方法は液体に浸漬された抵
抗体であるセンサに間欠的に定電流を流し、前記センサ
からのセンサ出力の初期出力電圧を記憶し、初期状態か
ら所定時間経過までの出力電圧を前記初期電圧で割り算
し、この割り算により得られた出力の時間に対する上昇
勾配から定常状態となる定常センサ出力を演算予測して
レベル測定データを得ることを特徴とする請求項1記載
の放熱式レベルセンサによる液体のレベル測定方法。
2. The level detection method involves intermittently passing a constant current through a sensor that is a resistor immersed in a liquid, storing the initial output voltage of the sensor output from the sensor, and detecting the voltage from the initial state until a predetermined time elapses. 2. The level measurement data is obtained by dividing the output voltage by the initial voltage, and calculating and predicting a steady state sensor output based on the rising slope of the output obtained by this division with respect to time. A liquid level measurement method using a heat dissipation type level sensor.
【請求項3】  レベル補正方法は、今回の定常センサ
出力に対し前回の補正レベル測定データに基づいて設定
範囲を修正することを特徴とする請求項1または請求項
2に記載の放熱式レベルセンサによる液体のレベル測定
方法。
3. The heat dissipation type level sensor according to claim 1 or 2, wherein the level correction method corrects the setting range based on the previous correction level measurement data for the current steady sensor output. How to measure the level of liquid by.
JP3138906A 1991-05-01 1991-06-11 Liquid level measurement method using heat radiation type level sensor Expired - Lifetime JP2648535B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3138906A JP2648535B2 (en) 1991-06-11 1991-06-11 Liquid level measurement method using heat radiation type level sensor
US07/877,284 US5228340A (en) 1991-05-01 1992-05-01 Method and apparatus for heat radiating type level sensor measurement of liquid level

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3138906A JP2648535B2 (en) 1991-06-11 1991-06-11 Liquid level measurement method using heat radiation type level sensor

Publications (2)

Publication Number Publication Date
JPH04364425A true JPH04364425A (en) 1992-12-16
JP2648535B2 JP2648535B2 (en) 1997-09-03

Family

ID=15232902

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3138906A Expired - Lifetime JP2648535B2 (en) 1991-05-01 1991-06-11 Liquid level measurement method using heat radiation type level sensor

Country Status (1)

Country Link
JP (1) JP2648535B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS578412A (en) * 1980-06-20 1982-01-16 Toyota Motor Corp Method and apparatus for displaying quantity of fuel
JPS60123635U (en) * 1984-01-30 1985-08-20 カルソニックカンセイ株式会社 Vehicle residual liquid level measuring circuit
JPS6379536U (en) * 1986-11-14 1988-05-26

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS578412A (en) * 1980-06-20 1982-01-16 Toyota Motor Corp Method and apparatus for displaying quantity of fuel
JPS60123635U (en) * 1984-01-30 1985-08-20 カルソニックカンセイ株式会社 Vehicle residual liquid level measuring circuit
JPS6379536U (en) * 1986-11-14 1988-05-26

Also Published As

Publication number Publication date
JP2648535B2 (en) 1997-09-03

Similar Documents

Publication Publication Date Title
ES2197638T3 (en) MEANS TO ESTIMATE THE BATTERY CHARGE STATUS AND PROCEDURE TO ESTIMATE A BATTERY DEGRADATION STATUS.
US4843577A (en) Electronic clinical thermometer
US7637657B2 (en) Electronic thermometer
US5392031A (en) Electronic clinical thermometer
JPH08201334A (en) Air-fuel ratio detecting device
US4402048A (en) Method of and apparatus for indicating remaining fuel quantity for vehicles
US4640127A (en) Electrothermal measurement of levels compensated for ambient temperature
JPH0625560B2 (en) Engine controller
JPH0611477A (en) Carbon dioxide gas concentration sensing device
JPS6039164B2 (en) Span calibration device for load cell scales
US4825383A (en) Process and device for measuring the level of the free surface of a liquid
JPH04364425A (en) Method for measuring level of liquid by cooling-type level sensor
JPS5853295B2 (en) electronic thermometer
JPH10227655A (en) Sensor and method for correcting it
JPH07119656B2 (en) Electronic thermometer
US4534004A (en) Apparatus and method for determining signal parameters of periodic square wave signals
JPH09119853A (en) Method and apparatus for correction of output value of sensor
JP2839328B2 (en) Heat dissipation type level sensor
JP2008202939A (en) Electronic balance
JP2504632B2 (en) Liquid level measurement method using heat radiation type level sensor
JP2557570B2 (en) Liquid level measurement method with heat radiation type level sensor
US6528738B2 (en) Electronic balance/scale
JPH0746060B2 (en) Electronic balance
JP3753208B2 (en) Electronic weighing device
JPH0641881B2 (en) Electronic balance