JP3273459B2 - Database construction method for characteristic correction of tank fuel gauge and liquid level detection sensor - Google Patents

Database construction method for characteristic correction of tank fuel gauge and liquid level detection sensor

Info

Publication number
JP3273459B2
JP3273459B2 JP18393495A JP18393495A JP3273459B2 JP 3273459 B2 JP3273459 B2 JP 3273459B2 JP 18393495 A JP18393495 A JP 18393495A JP 18393495 A JP18393495 A JP 18393495A JP 3273459 B2 JP3273459 B2 JP 3273459B2
Authority
JP
Japan
Prior art keywords
tank
remaining amount
liquid
signal
gasoline
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 - Fee Related
Application number
JP18393495A
Other languages
Japanese (ja)
Other versions
JPH0933323A (en
Inventor
英史 柬理
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 JP18393495A priority Critical patent/JP3273459B2/en
Publication of JPH0933323A publication Critical patent/JPH0933323A/en
Application granted granted Critical
Publication of JP3273459B2 publication Critical patent/JP3273459B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、車両の燃料タンク
の残量等、タンク内の液体残量を計測するタンク残量計
と、この残量計に用いて好適な、液面検出センサの出力
特性補正用データベースの構築方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tank fuel gauge for measuring the amount of liquid remaining in a tank, such as the fuel tank of a vehicle, and a liquid level detecting sensor suitable for the fuel gauge. The present invention relates to a method for constructing an output characteristic correction database.

【0002】[0002]

【従来の技術】車両には、ガソリンやエンジンオイル等
の残量を計測する残量計が設けられている。この残量計
としては、例えば、摺動抵抗式、誘導式、ホール素子式
等があり、いずれも、タンク内に配設したフロートを液
面に浮かべると共に、このフロートをフロートアームの
揺動端で揺動可能に支持し、液面の変位にフロートを追
従させてフロートアームの揺動角度を変動させ、この変
動によりフロートアームの基部との接触位置が変わるポ
テンショメータの可変抵抗、即ち、センダの抵抗値を、
フロートアームの揺動角度に応じて直線的に変化させ、
この抵抗値に応じた信号をポテンショメータから例えば
メータ駆動用の制御装置に出力するように構成されてい
る。
2. Description of the Related Art A vehicle is provided with a fuel gauge for measuring the remaining amount of gasoline, engine oil and the like. This fuel gauge includes, for example, a sliding resistance type, an induction type, a Hall element type, and the like. In each case, a float provided in a tank floats on a liquid surface, and the float is moved to a swing end of a float arm. The swingable angle of the float arm is changed by following the float to the displacement of the liquid surface, and the change in the contact position with the base of the float arm is changed by this change. The resistance value
Change linearly according to the swing angle of the float arm,
The potentiometer is configured to output a signal corresponding to the resistance value to, for example, a control device for driving the meter.

【0003】そして、例えばガソリンタンク内のガソリ
ン残量を計測する残量計の中には、従来より、特開昭6
4−12227号公報に開示されているように、ポテン
ショメータのセンダ出力を基にタンク内のガソリン残量
を割り出す計算式中に、タンク内を実際に満タンにした
際のセンダ出力値を代入した場合に、計算上でも満タン
に相当するガソリン残量が算出されるように、満タン時
のセンダ出力値に応じて前記計算式の補正係数を適宜変
更するものがある。
[0003] For example, some fuel gauges for measuring the gasoline remaining quantity in a gasoline tank have been disclosed in Japanese Unexamined Patent Publication No.
As disclosed in Japanese Patent Application Laid-Open No. 4-1227, a sender output value when the tank is actually full is substituted into a calculation formula for calculating the gasoline remaining amount in the tank based on the sender output of the potentiometer. In some cases, the correction coefficient in the above formula is appropriately changed according to the sender output value when the tank is full so that the gasoline remaining amount corresponding to the full tank is also calculated.

【0004】また、他には、特開昭63−33620号
公報に開示されているように、タンク内のガソリン残量
の多い少ないにより、ポテンショメータのセンダ出力を
周期的にサンプリングし、このサンプリング値を基にタ
ンク内のガソリン残量を周期的に算出するに当たり、前
回算出したガソリン残量を基に、今回のセンダ出力につ
いての基準値と、その許容誤差範囲である選択幅とを決
定し、今回のセンダ出力の値が前記許容誤差範囲内に収
まっているか否か等に応じて、その今回センダ出力値を
適宜補正するものがある。
In addition, as disclosed in JP-A-63-33620, the sender output of the potentiometer is periodically sampled when the amount of gasoline remaining in the tank is large and small. In calculating the gasoline remaining amount in the tank periodically based on the above, based on the previously calculated gasoline remaining amount, a reference value for the current sender output and a selection range that is an allowable error range thereof are determined, In some cases, the current sender output value is appropriately corrected depending on whether or not the current sender output value falls within the allowable error range.

【0005】さらには、実開昭63−44119号公報
に開示されているように、タンク内の温度の変化に起因
するセンダ出力値の誤差を、このタンク内温度に応じて
補正し、センダ出力を基にして得る前記タンク残量の計
測値を温度補償するものがある。これらはいずれも、タ
ンク内の残量を精度よく計測することを目的としたもの
で、詳しくは、ポテンショメータの特性や、そのタンク
が搭載される車両の走行状態及び周辺環境等による、実
残量に対する残量計の出力の誤差をなくすことを目的と
するものである。
Further, as disclosed in Japanese Utility Model Application Laid-Open No. 63-44119, an error in a sender output value caused by a change in the tank temperature is corrected in accordance with the tank temperature, and the sender output value is corrected. There is a method of compensating for the measured value of the remaining amount of the tank obtained based on the temperature. These are all aimed at accurately measuring the remaining amount in the tank.Specifically, the actual remaining amount depends on the characteristics of the potentiometer, the running condition of the vehicle in which the tank is mounted, and the surrounding environment. The purpose of the present invention is to eliminate the error of the output of the fuel gauge with respect to.

【0006】[0006]

【発明が解決しようとする課題】このように、実残量に
対する残量計の出力の誤差をなくすための手段は、従来
より種々提案されているが、残量計の分野においては、
この他に、車の車種や排気量により異なるタンク容量や
内部形状に対応し、ポテンショメータの出力を実残量と
合致するようにするための手段が必要となる。このため
には、ポテンショメータの出力の特性を、フロートの昇
降量に比例するものではなく、タンク内の実残量の大小
に比例する特性としなければならないが、そのために従
来は、ポテンショメータ内の抵抗値を部分的に変えた
り、コンデンサを部分的に接続するといった、手間とコ
ストがかかる面倒な部品の調整や追加を、タンクの種類
毎に個別の内容で行わなければならないという不具合が
あった。
As described above, various means for eliminating the error of the output of the fuel gauge with respect to the actual remaining quantity have been proposed in the past, but in the field of fuel gauges,
In addition to this, a means is required to cope with the tank capacity and the internal shape that differ depending on the type and displacement of the vehicle, and to match the output of the potentiometer with the actual remaining amount. For this purpose, the output characteristic of the potentiometer must be not proportional to the amount of rise and fall of the float, but must be proportional to the amount of the actual remaining amount in the tank. There has been a problem in that troublesome and costly adjustment and addition of parts, such as partially changing values and partially connecting capacitors, must be performed with individual contents for each type of tank.

【0007】尚、特開平6−55958号公報には、車
両の仕様の変更、例えば、タンク容量の違いに合わせ
て、燃料計の指針を駆動するモータコイルに流す電流値
等をプログラムの書き換えにより変更することが開示さ
れているが、これはあくまで、指針の駆動に関するもの
で、タンク残量の計測そのものに関わる上述の不具合を
解決できるものではない。
Japanese Unexamined Patent Publication No. 6-55958 discloses a program for rewriting a current value and the like flowing through a motor coil for driving a pointer of a fuel gauge in accordance with a change in vehicle specifications, for example, a difference in tank capacity. Although a change is disclosed, this only relates to driving of the hands, and cannot solve the above-mentioned problem relating to the measurement of the remaining amount of the tank itself.

【0008】本発明は上述した事情に鑑みなされたもの
で、本発明の第1の目的は、液面に浮かべたフロートの
位置に応じてタンク内の液体の残量を計測するに当た
り、液体の液面の昇降量と液体の増減量との相関を左右
し、或は、タンクの容量を左右するタンクの内部形状に
関係なく、液面検出センサから出力される電気信号の信
号値を基に、正確な計測結果を得ることができる、簡単
且つ安価な残量計を提供することにあり、さらに、本発
明の第2の目的は、この残量計に用いて好適な、液面検
出センサの出力特性補正用データベースの構築方法を提
供することにある。
The present invention has been made in view of the above circumstances, and a first object of the present invention is to measure the amount of liquid remaining in a tank in accordance with the position of a float floating on the liquid surface. Depends on the correlation between the rise and fall of the liquid level and the amount of increase and decrease of the liquid, or on the basis of the signal value of the electric signal output from the liquid level detection sensor irrespective of the internal shape of the tank which affects the capacity of the tank It is another object of the present invention to provide a simple and inexpensive fuel gauge capable of obtaining an accurate measurement result, and a liquid level detection sensor suitable for use in the fuel gauge. The object of the present invention is to provide a method for constructing an output characteristic correction database.

【0009】[0009]

【課題を解決するための手段】前記第1の目的を達成す
るため本発明のタンク内残量計は、図1の基本構成図に
示すように、タンク1内の液体Gの液面に追従して変位
するフロート5の位置をポテンショメータ7により電気
信号に変換し、この電気信号の信号値と残量演算式とを
用いた演算処理に基づいて、前記液体の残量を計測する
タンク内残量計において、前記ポテンショメータ7によ
る前記電気信号の出力特性を、前記タンク1の内部形状
に応じて定まる前記液体の残量と前記フロート5の位置
との相関に近似させた近似特性のデータを保持する近似
特性データベース33と、この近似特性データベース3
3に保持されたデータに基づいてタンク1内の液体残量
の計測に用いる算出式を保持した選択用対象テーブル
と、前記ポテンショメータ7が出力する電気信号の信号
値を、前記近似特性データベースが保持する前記近似特
性のデータに応じた前記タンク1内の液体の増減量に比
例する近似特性上の補正信号に補正する信号値補正手段
13Aとを備え、前記信号値補正手段13Aで補正され
た補正信号前記選択用対象テーブルと照合し、該補
正信号に近似するデータに対応する液体残量算出式を前
記選択用対象テーブルより検索してタンク1内の液体残
量を演算するようにしたことを特徴とする。
In order to achieve the first object, a fuel gauge in a tank according to the present invention follows a liquid level of a liquid G in a tank 1 as shown in a basic configuration diagram of FIG. The position of the float 5 that is displaced is converted into an electric signal by the potentiometer 7 and the remaining amount in the tank for measuring the remaining amount of the liquid is calculated based on a signal value of the electric signal and a calculation process using a remaining amount calculation formula. In the meter, the output characteristic of the electric signal by the potentiometer 7 holds data of approximate characteristics in which the output characteristic of the electric signal is approximated to the correlation between the remaining amount of the liquid determined according to the internal shape of the tank 1 and the position of the float 5. Approximate characteristic database 33 and the approximate characteristic database 3
A selection target table holding a calculation formula used for measuring the remaining amount of liquid in the tank 1 based on the data held in the storage unit 3, and a signal of an electric signal output from the potentiometer 7.
The value is compared with the amount of increase or decrease of the liquid in the tank 1 according to the data of the approximate characteristics held in the approximate characteristic database.
And a signal value correcting means 13A for correcting the correction signal on the approximation characteristic for example, and compares the corrected correction signal and said selection object table by the signal value correction unit 13A, data approximate to the correction signal Before calculating the liquid remaining amount calculation formula corresponding to
Searching from serial selection object table, characterized in that the liquid remaining in the tank 1 was so that to computation.

【0010】また、本発明は、前記信号値補正手段は、
前記演算処理の過程で前記信号値を前記補正信号値に補
正するものである。
Further, the present invention is pre-SL signal value correcting means,
In the course of the arithmetic processing, the signal value is corrected to the correction signal value.

【0011】さらに、前記第2の目的を達成するため本
発明の液面検出センサの特性補正用データベース構築方
法は、タンク内の液体の液面の位置に応じた信号値の電
気信号を出力する液面検出センサの前記電気信号の出力
特性を、前記タンクの内部形状に応じた特性に補正する
ための特性補正用データベースの構築方法であって、前
記タンク内の前記液体の残量を既知とした状態における
該液体の残量と、該残量に対応して前記液面検出センサ
が出力する前記電気信号の信号値とをリンクさせたリン
クデータを、前記タンク内が空の状態と、該タンク内が
満タンの状態と、前記液体の残量を前記空及び満タン以
外の少なくとも1つの残量とした状態とについてあらか
じめ取得しておき、前記各リンクデータのうち前記信号
値が隣り合う2つのリンクデータを基に、これら2つの
隣り合う信号値間にある信号値から前記液体の残量を算
出するための残量算出式を複数割り出し、前記各残量算
出式を、該各残量算出式を割り出す基にした前記2つの
リンクデータの隣り合う信号値のデータをアドレスとし
て検索可能に管理するようにしたことを特徴とする。
Further, in order to achieve the second object, the method for constructing a database for correcting characteristics of a liquid level detection sensor according to the present invention outputs an electric signal having a signal value corresponding to the position of the liquid level in the tank. A method for constructing a characteristic correction database for correcting an output characteristic of the electric signal of a liquid level detection sensor to a characteristic according to an internal shape of the tank, wherein the remaining amount of the liquid in the tank is known. Link data linking the remaining amount of the liquid in the liquid state and the signal value of the electric signal output by the liquid level detection sensor in accordance with the remaining amount, the state in which the tank is empty, A state in which the tank is full and a state in which the remaining amount of the liquid is at least one remaining amount other than the empty state and the full state are acquired in advance, and the signal values of the link data are adjacent to each other. Two Based on the link data, a plurality of remaining amount calculating formulas for calculating the remaining amount of the liquid from the signal values between these two adjacent signal values are calculated, and each of the remaining amount calculating formulas is calculated. The present invention is characterized in that data of adjacent signal values of the two link data based on which the formula is calculated are managed so as to be searchable as an address.

【0012】また、本発明は、前記リンクデータを、前
記タンク内に既知の量の前記液体を溜め、この状態で前
記液面検出センサが出力する前記電気信号の信号値を実
測することで取得するものとした。
Further, according to the present invention, the link data is obtained by storing a known amount of the liquid in the tank and actually measuring the signal value of the electric signal output by the liquid level detection sensor in this state. To do.

【0013】本発明のタンク内残量計によれば、近似特
性データベース33が保持する近似特性のデータを基
に、信号値補正手段31Aにより、ポテンショメータ7
が出力する電気信号の信号値が、フロート5の昇降量に
比例するものではなく、タンク1内の液体Gの増減量に
比例する近似特性上の補正信号値に補正されるため、液
体Gの増減量と液面G1の昇降量とが必ずしも比例しな
いような、複雑な内部形状のタンク1や、液体Gの増減
量と液面G1の昇降量とは比例するものの、種別によっ
て満タン時の容量が異なるタンク1等、種々のタンク1
のいずれに対しても、単一構成の残量計で広く対応する
ことが可能となる。
According to the in-tank fuel gauge of the present invention, the potentiometer 7 is controlled by the signal value correcting means 31A based on the approximate characteristic data held in the approximate characteristic database 33.
Is corrected not to be proportional to the amount of rise and fall of the float 5 but to a correction signal value on an approximate characteristic proportional to the amount of increase and decrease of the liquid G in the tank 1. The tank 1 has a complicated internal shape in which the increase / decrease amount is not necessarily proportional to the rise / fall amount of the liquid surface G1, or the increase / decrease amount of the liquid G and the rise / fall amount of the liquid surface G1 are proportional to each other. Various tanks 1 such as tanks 1 with different capacities
In any case, a single fuel gauge can be widely used.

【0014】また、前記近似特性データベース33が、
前記近似特性に応じて前記残量算出式を補正した補正残
量算出式を前記データとして保持し、前記信号値補正手
段31Aが、前記演算処理の過程で前記信号値を前記補
正信号値に補正する構成とすることで、信号値補正手段
31Aが行う前記信号値の補正信号値への補正処理を前
記演算処理の中で同時に行わせることができ、この信号
値補正手段31Aによる補正処理を前記演算処理とは別
個に独立して行う必要がなく、その分、残量計測の迅速
化が図れる。
The approximate characteristic database 33 is
A correction remaining amount calculation formula obtained by correcting the remaining amount calculation formula according to the approximation characteristic is held as the data, and the signal value correction unit 31A corrects the signal value to the correction signal value in the process of the arithmetic processing. With this configuration, the signal value correcting means 31A can simultaneously perform the correction processing of the signal value to the corrected signal value in the arithmetic processing, and the correction processing by the signal value correcting means 31A It is not necessary to perform the calculation process separately and independently, and the measurement of the remaining amount can be accelerated accordingly.

【0015】また、本発明の液面検出センサの特性補正
用データベース構築方法によれば、リンクデータによ
り、既知であるタンク内の液体の残量と、該残量に対応
して液面検出センサが出力する電気信号の信号値との相
関が、タンクが空の状態から満タンの状態までをいくつ
かに区切った各区間(信号値の範囲)の分だけ得られ、
タンク内の液体の残量を実際に計測している運用時に
は、液面検出センサが出力する電気信号の信号値をアド
レスポインタとして、前記実測中の信号値からタンク内
の液体の残量を算出するのに適した残量算出式が、複数
の残量算出式の中から検索、出力される。
Further, according to the method of constructing the database for correcting characteristics of the liquid level detection sensor according to the present invention, the remaining amount of the liquid in the tank known by the link data and the liquid level detection sensor corresponding to the remaining amount are known. The correlation with the signal value of the electric signal output by is obtained for each section (range of signal values) that divides the tank from an empty state to a full state into several sections,
During operation in which the remaining amount of liquid in the tank is actually measured, the signal value of the electric signal output by the liquid level detection sensor is used as an address pointer to calculate the remaining amount of liquid in the tank from the signal value being measured. A formula for calculating the remaining amount suitable for performing the search is retrieved and output from the plurality of remaining formulas.

【0016】従って、タンクの内部に残った液体残量を
計測するに当たり、そのタンクが、液体の増減量と液面
の昇降量とが必ずしも比例しないような、複雑な内部形
状であったり、或は、液体の増減量と液面の昇降量とは
比例するものの、種別によって満タン時の容量が異なる
ものであっても、単一構成の液面検出センサの出力を基
に、実際のタンク内残量に近似した精度の高い残量を演
算により得ることが可能となる。
Therefore, when measuring the remaining amount of liquid remaining in the tank, the tank has a complicated internal shape in which the amount of increase and decrease of the liquid is not necessarily proportional to the amount of rise and fall of the liquid level. Although the amount of increase and decrease of the liquid and the amount of rise and fall of the liquid level are proportional to each other, even if the capacity when the tank is full differs depending on the type, the actual tank based on the output of the single level liquid level detection sensor is used. It is possible to obtain a highly accurate remaining amount approximate to the inner remaining amount by calculation.

【0017】尚、前記リンクデータは、例えば、前記タ
ンク内に既知の量の液体を溜め、この状態で液面検出セ
ンサが出力する電気信号の信号値を実測することで取得
することができる。
The link data can be obtained, for example, by storing a known amount of liquid in the tank and actually measuring the signal value of the electric signal output by the liquid level detection sensor in this state.

【0018】[0018]

【発明の実施の形態】以下、本発明の液面検出センサの
出力特性補正用データベースの構築方法を残量計と共に
図面に基づいて説明する。図2は本発明の一実施形態に
よる残量計の概略構成を一部ブロックにて示す説明図で
あり、図中1はガソリンタンク、3は残量計である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A method for constructing a database for correcting output characteristics of a liquid level detection sensor according to the present invention will be described below with reference to the drawings together with a fuel gauge. FIG. 2 is an explanatory view showing a schematic configuration of a fuel gauge according to an embodiment of the present invention in a partial block, wherein 1 is a gasoline tank, and 3 is a fuel gauge.

【0019】前記ガソリンタンク1は、車両(図示せ
ず)の例えば後方側部のキャップ13により開閉される
給油口11にパイプ15を介して接続されており、ガソ
リンスタンド等において給油ノズルNから給油口11に
注ぎ込まれるガソリンGが内部に溜るように構成されて
いる。尚、図中では、ガソリンタンク1をパイプ15等
に対して小さい縮尺で模式的に示している。前記ガソリ
ンタンク1には、内部のガソリン残量を計測するための
フロート5及びポテンショメータ7が付設されている。
The gasoline tank 1 is connected via a pipe 15 to a refueling port 11 which is opened and closed by, for example, a cap 13 on a rear side of a vehicle (not shown). It is configured so that gasoline G poured into the mouth 11 accumulates inside. In the drawing, the gasoline tank 1 is schematically shown on a small scale with respect to the pipe 15 and the like. The gasoline tank 1 is provided with a float 5 and a potentiometer 7 for measuring the remaining gasoline inside.

【0020】前記フロート5は、ガソリンGによる侵食
に対する耐性に富んだ材質により、ガソリンGの液面G
1に浮遊できるように比較的軽量に形成されている。前
記ポテンショメータ7は、前記フロート5を揺動可能に
支持するフロートアーム71と、このフロートアーム7
1を揺動可能に支持する支軸73と、この支軸73を介
して前記フロートアーム71に連結されこのフロートア
ーム71と一体に揺動する揺動アーム75と、例えば巻
線抵抗からなり一端が接地されたセンダ抵抗Rxとを備
えている。前記ポテンショメータ7は、フロート5がガ
ソリンGの液面G1に追従して昇降し、これに伴いフロ
ートアーム71及び揺動アーム75が一体に揺動するこ
とで、この揺動アーム75の先端の摺動接点75aがセ
ンダ抵抗Rx上を摺動し、この摺動接点75の摺動位置
に応じてセンダ抵抗Rxの抵抗値rxが、ガソリンタン
ク1内のガソリンGの液面G1位置に応じて変わるよう
に構成されている。
The float 5 is made of a material having high resistance to erosion by gasoline G, and
It is formed to be relatively lightweight so that it can float on one. The potentiometer 7 includes a float arm 71 for swingably supporting the float 5 and a float arm 7.
1, a swing arm 75 connected to the float arm 71 through the support shaft 73 and swinging integrally with the float arm 71, and one end made of, for example, a winding resistor. And a grounded sender resistor Rx. The potentiometer 7 is configured such that the float 5 moves up and down following the liquid level G1 of the gasoline G, and the float arm 71 and the swing arm 75 swing together as a result, whereby the tip of the swing arm 75 slides. The moving contact 75a slides on the sender resistance Rx, and the resistance value rx of the sender resistance Rx changes according to the sliding position of the sliding contact 75 according to the liquid level G1 of the gasoline G in the gasoline tank 1. It is configured as follows.

【0021】尚、図中では、ガソリンタンク1の外側に
配置したポテンショメータ7を示しているが、ポテンシ
ョメータ7をガソリンタンク1内外のどちらに配置する
かは任意である。また、図中では、図面の見易さのため
に、揺動アーム75とその摺動接点75a、及び、セン
タ抵抗Rxをそれぞれ記号化して示している。そして、
本実施形態では、フロート5及びポテンショメータ7で
液面検出センサが構成されている。
Although the potentiometer 7 disposed outside the gasoline tank 1 is shown in the drawing, the position of the potentiometer 7 inside or outside the gasoline tank 1 is arbitrary. Further, in the drawing, the swing arm 75, its sliding contact 75a, and the center resistance Rx are symbolized for easy viewing of the drawing. And
In the present embodiment, the float 5 and the potentiometer 7 constitute a liquid level detection sensor.

【0022】前記残量計3は、前記ポテンショメータ7
の支軸73が接続される入力端子Iaと、この入力端子
Iaに接続されたマイコン(CPU)31と、このマイ
コン31に接続された不揮発性メモリ(NVM)33及
びドライバ35aと、このドライバ35aにより駆動さ
れガソリンタンク1内のガソリン残量を表示する燃料ゲ
ージ35とを備えており、前記入力端子IaとCPU3
1を接続する信号ラインLは、残量計3内部のプルアッ
プ電源Vb及びプルアップ抵抗Rbによりプルアップさ
れている。また、前記残量計3は、前記NVM33内に
構築されるデータベースに書き込むデータを取り込むた
めの補助入力端子Ibと、この補助入力端子Ibを経由
してCPU31と残量計3の外部機器との間で伝送され
るデータの通信フォーマットを調整するインタフェース
(I/F)37をさらに備えている。
The fuel gauge 3 is provided with the potentiometer 7
Input terminal Ia to which the support shaft 73 is connected, a microcomputer (CPU) 31 connected to the input terminal Ia, a nonvolatile memory (NVM) 33 and a driver 35a connected to the microcomputer 31, and a driver 35a And a fuel gauge 35 for displaying the remaining amount of gasoline in the gasoline tank 1. The input terminal Ia and the CPU 3
1 is pulled up by a pull-up power supply Vb and a pull-up resistor Rb inside the fuel gauge 3. Further, the fuel gauge 3 has an auxiliary input terminal Ib for taking in data to be written in a database constructed in the NVM 33, and a communication between the CPU 31 and an external device of the fuel gauge 3 via the auxiliary input terminal Ib. It further includes an interface (I / F) 37 for adjusting a communication format of data transmitted between them.

【0023】前記CPU31は、ポテンショメータ7の
入力端子Iaへの接続時に信号ラインLに発生するセン
ダ出力Sをデジタル変換するA/Dコンバータ31a
と、RAM31b及びROM31cとを備えている。前
記RAM31bは、NVM33のデータベースから読み
出されるデータが格納されるデータエリアと、各種処理
作業に用いるワークエリアとが設けられており、前記R
OM31cには、CPU31に各種処理動作を行わせる
ための制御プログラムが格納されている。
The CPU 31 has an A / D converter 31a for digitally converting a sender output S generated on the signal line L when the potentiometer 7 is connected to the input terminal Ia.
And a RAM 31b and a ROM 31c. The RAM 31b is provided with a data area for storing data read from the database of the NVM 33 and a work area used for various processing operations.
The OM 31c stores a control program for causing the CPU 31 to perform various processing operations.

【0024】前記NVM33内に構築されるデータベー
スに書き込むデータは、本実施形態においては、前記補
助入力端子Ibに接続されるテスタ9から入力される。
前記テスタ9は、前記センダ抵抗Rxの接地側端子と支
軸73に、図2中破線で示すようにテスタ棒等を接続す
ることで、摺動接点75aの摺動位置に応じたセンダ抵
抗Rxの抵抗値rxを測定して表示するもので、そのた
めに必要な従来公知のテスタ機能を備えている。これに
加えてテスタ9は、測定した抵抗値rxを、後述するガ
ソリンタンク1のガソリンGの量の値とリンクさせ、こ
のガソリンGの量の値と前記抵抗値rxからなるリンク
データを一時格納するもので、そのために必要な、リン
クデータ複数組分の容量を有するバッファ(図示せず)
を備えている。また、前記テスタ9は、前記バッファ内
の複数のリンクデータを補助入力端子Ib経由でCPU
31に送出する際に、I/F37に対応する通信フォー
マットでリンクデータをCPU31に送出させるマイコ
ン(図示せず)とをさらに備えている。
In the present embodiment, data to be written in the database constructed in the NVM 33 is input from the tester 9 connected to the auxiliary input terminal Ib.
The tester 9 connects the ground side terminal of the sender resistor Rx and the support shaft 73 with a tester bar or the like as shown by a broken line in FIG. 2 so that the sender resistor Rx according to the sliding position of the sliding contact 75a. Is measured and displayed, and has a conventionally known tester function necessary for the measurement. In addition, the tester 9 links the measured resistance value rx to a value of the gasoline G in the gasoline tank 1 described later, and temporarily stores link data including the value of the gasoline G and the resistance value rx. A buffer (not shown) having a capacity for a plurality of sets of link data necessary for the purpose.
It has. Further, the tester 9 transmits a plurality of link data in the buffer to the CPU via an auxiliary input terminal Ib.
A microcomputer (not shown) for transmitting link data to the CPU 31 in a communication format corresponding to the I / F 37 when transmitting to the CPU 31 is further provided.

【0025】そして、前記テスタ9は、ガソリンタンク
1に既知の量のガソリンGを溜めた状態で、テスタ棒等
により接続したセンダ抵抗Rxの抵抗値rxを測定し、
例えば、不図示の表示部にその抵抗値rxを表示すると
共に、その時点の前記既知のガソリンGの量と前記抵抗
値rxとをリンクさせた前記リンクデータをバッファに
格納し、このバッファに格納した全リンクデータを、補
助入力端子Ibにテスタ9を接続した際に、CPU31
からの要求に応えて出力するように構成されている。
The tester 9 measures a resistance value rx of a sender resistor Rx connected by a tester rod or the like while a known amount of gasoline G is stored in the gasoline tank 1.
For example, the resistance value rx is displayed on a display unit (not shown), and the link data linking the known amount of gasoline G and the resistance value rx at that time is stored in a buffer and stored in the buffer. When the tester 9 is connected to the auxiliary input terminal Ib, the CPU 31
It is configured to output in response to a request from.

【0026】尚、前記バッファには、少なくとも、ガソ
リンタンク1内のガソリンGがゼロの状態のリンクデー
タと、満タン(本実施形態では70リットル)の状態の
リンクデータと、その間の幾種類かの量のガソリンGを
ガソリンタンク1内に溜めた状態のリンクデータとの複
数組分のリンクデータが、CPU31からの要求がある
まで格納、蓄積される。そして、前記リンクデータの一
部としてバッファに格納される前記各状態でのガソリン
タンク1内の既知のガソリンGの量は、テスタ9の内部
メモリにあらかじめ記録しておいてもよく、或は、テス
タ9にテンキー等の入力設定手段(図示せず)を設け、
センダ抵抗Rxの抵抗値rxをバッファに格納する際に
入力設定手段から入力設定するようにしてもよい。
The buffer includes at least link data in a state where the gasoline G in the gas tank 1 is zero, link data in a full state (in this embodiment, 70 liters), and several kinds of link data therebetween. The link data of a plurality of sets including the amount of the gasoline G stored in the gasoline tank 1 is stored and accumulated until a request from the CPU 31 is made. Then, the known amount of gasoline G in the gasoline tank 1 in each state stored in the buffer as a part of the link data may be recorded in an internal memory of the tester 9 in advance, or The tester 9 is provided with input setting means (not shown) such as a ten key,
When the resistance value rx of the sender resistor Rx is stored in the buffer, the input value may be set by the input setting means.

【0027】そして、テスタ9の内部メモリに前記既知
のガソリンGの量をあらかじめ記録しておく場合には、
例えば、その既知のガソリンGの量を内部メモリから1
つずつ(例えばガソリンGがゼロの状態から)順に読み
出して、前記不図示の表示部等に表示させると共に、そ
の表示を見ながらガソリンタンク1に前記既知量のガソ
リンGを溜め、この状態で、測定したセンダ抵抗Rxの
抵抗値rxを、内部メモリから読み出した既知のガソリ
ンGの量とリンクさせてリンクデータとしてバッファに
格納する。また、テンキー等の入力設定手段から前記既
知のガソリンGの量を入力設定する場合には、ガソリン
タンク1内に既知量のガソリンGを溜めて、その既知の
ガソリンGの量を入力設定手段から入力設定し、その状
態で、測定したセンダ抵抗Rxの抵抗値rxを、入力設
定した前記既知のガソリンGの量とリンクさせてリンク
データとしてバッファに格納する。
When the known amount of gasoline G is recorded in the internal memory of the tester 9 in advance,
For example, the known amount of gasoline G is
The gasoline G is read out one by one (for example, from the state of zero gasoline G) and displayed on the display unit (not shown), and the known amount of gasoline G is stored in the gasoline tank 1 while watching the display. The measured resistance value rx of the sender resistance Rx is linked to a known amount of gasoline G read from the internal memory and stored in a buffer as link data. When inputting and setting the known amount of gasoline G from input setting means such as a numeric keypad, a known amount of gasoline G is stored in the gasoline tank 1 and the known amount of gasoline G is input from the input setting means. An input is set, and in this state, the measured resistance value rx of the sender resistor Rx is linked to the input and set amount of the known gasoline G and stored in the buffer as link data.

【0028】尚、図中のテスタ9と補助入力端子Ibと
を接続する破線は、テスタ9のバッファに格納したリン
クデータを、NVM33内に構築されるデータベースに
書き込むデータとして、テスタ9経由でCPU31に取
り込む際に限って選択的に接続されることを示し、この
際、支軸73と入力端子Iaの間の接続は外される。
The broken line connecting the tester 9 and the auxiliary input terminal Ib in the figure indicates the link data stored in the buffer of the tester 9 as data to be written in a database constructed in the NVM 33 via the CPU 31 via the tester 9. The connection between the support shaft 73 and the input terminal Ia is disconnected.

【0029】次に、前記ROM31cに格納されたプロ
グラムに従いCPU31が行う処理を、図3乃至図5の
フローチャートを参照して説明する。ROM31cのプ
ログラムがスタートすると、CPU31は、図3のゼネ
ラルフローチャートに示すように、補助入力端子Ibが
オープンであるか否かを確認し(ステップS1)、オー
プンである場合は(ステップS1でY)、ステップS5
に進み、オープンでない場合は(ステップS1でN)、
タンク形状データベース作成処理を行った後(ステップ
S3)、ステップS5に進む。
Next, the processing performed by the CPU 31 according to the program stored in the ROM 31c will be described with reference to the flowcharts of FIGS. When the program of the ROM 31c starts, the CPU 31 checks whether or not the auxiliary input terminal Ib is open as shown in the general flowchart of FIG. 3 (step S1), and if it is open (Y in step S1). , Step S5
If it is not open (N in step S1),
After performing the tank shape database creation process (step S3), the process proceeds to step S5.

【0030】ステップS5では、車両(図示せず)のイ
グニッションスイッチ(IGN)がオンであるか否かを
確認し、オンでない場合は(ステップS5でN)、ステ
ップS1にリターンし、オンである場合は(ステップS
5でY)、入力端子Iaがオープンであるか否かを確認
する(ステップS7)。入力端子Iaがオープンである
場合は(ステップS7でY)、ステップS1にリターン
し、オープンでない場合は(ステップS7でN)、ガソ
リン残量計測表示処理を行った後(ステップS9)、ス
テップS1にリターンする。
In step S5, it is confirmed whether or not an ignition switch (IGN) of a vehicle (not shown) is on. If not (N in step S5), the process returns to step S1 and is on. If (Step S
It is confirmed whether or not the input terminal Ia is open (step S7). If the input terminal Ia is open (Y in step S7), the process returns to step S1. If it is not open (N in step S7), after performing a gasoline remaining amount measurement display process (step S9), step S1 is performed. Return to

【0031】前記ステップS3のタンク形状データベー
ス作成処理では、図4のサブルーチンのフローチャート
に示すように、補助入力端子Ibから入力されるテスタ
9からの複数のリンクデータを読み込み(ステップS3
01)、読み込んだ複数のリンクデータを基に、ガソリ
ンタンク1内のガソリンGの残量の計測に用いる算出式
の選択用対照テーブルを作成する(ステップS30
3)。前記対照テーブルは、図6に示すように、後に詳
説するステップS9のガソリン残量計測表示処理におい
て、前記CPU31によりセンダ出力Sから換算される
前記抵抗値rxを基に、ガソリンタンク1内のガソリン
Gの残量を計測する際に、その抵抗値rxの大小に応じ
て選択される複数のガソリンGの残量算出式と、前記抵
抗値rxに応じて前記複数のガソリンGの残量算出式を
使い分けるための、各ガソリンGの残量算出式の適用基
準となる前記抵抗値rxの範囲とを1対1に対応付けし
たものである。
In the tank shape database creation processing in step S3, as shown in the flowchart of the subroutine in FIG. 4, a plurality of link data from the tester 9 input from the auxiliary input terminal Ib is read (step S3).
01), based on the plurality of read link data, create a comparison table for selecting a calculation formula used for measuring the remaining amount of gasoline G in the gasoline tank 1 (step S30).
3). As shown in FIG. 6, the control table stores the gasoline in the gasoline tank 1 based on the resistance value rx converted from the sender output S by the CPU 31 in the gasoline remaining amount measurement display process in step S9 described later in detail. When measuring the remaining amount of G, the remaining amount calculation formula of the plurality of gasoline G selected according to the magnitude of the resistance value rx, and the remaining amount calculation formula of the plurality of gasoline G according to the resistance value rx In this case, the range of the resistance value rx, which is an application standard of the remaining amount calculation formula of each gasoline G, is used in one-to-one correspondence.

【0032】尚、前記各ガソリンGの残量算出式は、次
のようにして決定される。即ち、例えば、前記テスタ9
から読み込んだリンクデータの数が6つであり、それら
6つのリンクデータの内容が、ガソリンタンク1内のガ
ソリンGの量のデータ〔0リットル、10リットル、1
7.5リットル、35リットル、52.5リットル、7
0リットル(満タン)の各数値〕と、各ガソリンGの量
においてテスタ9が測定したセンダ抵抗Rxの抵抗値r
x(re,r10,r17.5,r35,r 52.5,r70)である
場合、前記算出式は、前記抵抗値rxがre≦rx<r
10の範囲、r10≦rx<r17.5の範囲、r17.5≦rx<
35の範囲、r35≦rx<r 52.5の範囲、並びに、R
52.5≦rx<R70の範囲の際にそれぞれ適用する5通り
となる。そして、各算出式は、抵抗値rxの範囲をra
≦rx<rbとした場合に、ガソリンGの残量M=
{(b−a)・(rx−ra)/(rb−ra)}+a
の一般式で表すことができる。ステップS303の対照
テーブルの作成が済んだならば、その対照テーブルをN
VM33に格納した後(ステップS305)、メインル
ーチンに戻る。尚、本実施形態では、この対照テーブル
を格納するNVM33が請求項中の出力特性補正用デー
タベースに相当している。
The formula for calculating the remaining amount of each gasoline G is as follows.
Is determined as follows. That is, for example, the tester 9
The number of link data read from is 6
The contents of the six link data are stored in the gas
Data on the amount of Soline G [0 liter, 10 liter, 1
7.5 liters, 35 liters, 52.5 liters, 7
0 liters (full tank) and the amount of each gasoline G
, The resistance value r of the sender resistance Rx measured by the tester 9
x (re, rTen, R17.5, R35, R 52.5, R70)
In this case, the calculation formula indicates that the resistance value rx is re ≦ rx <r
TenRange, rTen≦ rx <r17.5Range, r17.5≦ rx <
r35Range, r35≦ rx <r 52.5And R
52.5≦ rx <R705 ways to apply for each of the ranges
Becomes Then, each calculation formula defines the range of the resistance value rx as ra
When ≦ rx <rb, the remaining amount M of gasoline G =
{(Ba) · (rx-ra) / (rb-ra)} + a
Can be represented by the following general formula. Control of step S303
Once the table has been created, change the reference table to N
After being stored in the VM 33 (step S305), the main
Return to the routine. In this embodiment, the comparison table
The NVM 33 for storing the output characteristic correction data
It is equivalent to a database.

【0033】前記ステップS9のガソリン残量計測表示
処理では、図5のサブルーチンのフローチャートに示す
ように、入力端子Ia及び信号ラインLを介して入力さ
れたセンダ出力Sを、A/Dコンバータ31aでデジタ
ル変換し(ステップS901)、そのデジタル変換後の
センダ出力Sを、プルアップ電源Vbの電圧値とプルア
ップ抵抗Rbの抵抗値とに基づいて、演算エリアにおい
て、前記抵抗値rxに換算する(ステップS903)。
In the gasoline remaining amount measurement display processing of step S9, as shown in the flowchart of the subroutine of FIG. 5, the sender output S input via the input terminal Ia and the signal line L is converted by the A / D converter 31a. The digital output is converted (step S901), and the sender output S after the digital conversion is converted into the resistance value rx in the calculation area based on the voltage value of the pull-up power supply Vb and the resistance value of the pull-up resistor Rb (step S901). Step S903).

【0034】そして、換算した抵抗値rxをアドレスポ
インタとして、前記対照テーブルを検索し、re≦rx
<r10の範囲、r10≦rx<r17.5の範囲、r17.5≦r
x<r35の範囲、r35≦rx<r52.5の範囲、並びに、
52.5≦rx<R70の範囲のいずれの範囲の算出式を適
用するかを決定し(ステップS905)、決定した算出
式を適用して、ガソリンタンク1内のガソリンGの残量
Mを算出し(ステップS907)、その算出した残量M
を指示するように、ドライバ35aによりゲージ35を
駆動した後(ステップS909)、メインルーチンにリ
ターンする。尚、上述した説明からも明らかなように、
本実施形態では、請求項中の信号値補正手段31Aが図
5のフローチャートにおけるステップS907で構成さ
れている。
Then, the reference table is searched using the converted resistance value rx as an address pointer, and re ≦ rx
<Range of r 10, the range of r 10 ≦ rx <r 17.5, r 17.5 ≦ r
a range of x <r 35, a range of r 35 ≦ rx <r 52.5 , and
It is determined which of the ranges of R 52.5 ≦ rx <R 70 is to be used (step S905), and the determined calculation formula is applied to calculate the remaining amount M of gasoline G in the gasoline tank 1. (Step S907), and the calculated remaining amount M
After the driver 35a drives the gauge 35 to instruct (Step S909), the process returns to the main routine. In addition, as is clear from the above description,
In the present embodiment, the signal value correcting means 31A in the claims is constituted by step S907 in the flowchart of FIG.

【0035】次に、上述のように構成された本実施形態
の残量計3の動作(作用)について説明する。残量計3
を車両に組み込むに当たっては、その車両のガソリンタ
ンク1に取り付けたポテンショメータ7の支軸73を、
残量計3の入力端子Iaに接続する前に、テスタ9のプ
ラス側のテスタ棒に接続し、マイナス側のテスタ棒を、
センダ抵抗Rxの接地側端子に接続する。そして、ガソ
リンタンク1内のガソリンGの量を、0リットル、10
リットル、17.5リットル、35リットル、52.5
リットル、並びに、70リットル(満タン)とし、各状
態でのフロート5の位置に応じたセンダ抵抗Rxの抵抗
値rxをテスタ9により測定し、各測定抵抗値rxと、
これに対応するガソリンタンク1内のガソリンGの量と
をリンクさせた6つのリンクデータを、テスタ9のバッ
ファに格納する。
Next, the operation (operation) of the fuel gauge 3 of the present embodiment configured as described above will be described. Fuel gauge 3
Is incorporated into a vehicle, the support shaft 73 of the potentiometer 7 attached to the gasoline tank 1 of the vehicle is
Before connecting to the input terminal Ia of the fuel gauge 3, connect it to the positive tester bar of the tester 9 and connect the negative tester bar to
Connected to the ground terminal of the sender resistor Rx. Then, the amount of gasoline G in the gasoline tank 1 is reduced to 0 liter,
Liter, 17.5 liter, 35 liter, 52.5
Liter and 70 liters (full tank), the resistance value rx of the sender resistance Rx corresponding to the position of the float 5 in each state is measured by the tester 9, and each measured resistance value rx
Six link data linking the corresponding amount of gasoline G in the gasoline tank 1 is stored in the buffer of the tester 9.

【0036】次に、プラスマイナスのテスタ棒を支軸7
3とセンダ抵抗Rxの接地側端子からそれぞれ外して、
テスタ9を残量計3の補助入力端子Ibに接続する。す
ると、補助入力端子Ibがクローズ状態となったことを
検出したCPU31からの要求に応じて、バッファに格
納した6つのリンクデータがI/F37を介してCPU
31に読み込まれ、その6つのリンクデータから、図6
に示した5通りの算出式とその適用抵抗値範囲からなる
対照テーブルが作成され、NVM33に格納される。こ
のとき、NVM33に既に対照テーブルが格納されてい
る場合は、古い対照テーブルが消去された上で新しい対
照テーブルが格納される。
Next, the plus and minus tester rods are
3 and the sender resistor Rx, respectively,
The tester 9 is connected to the auxiliary input terminal Ib of the fuel gauge 3. Then, in response to a request from the CPU 31 that has detected that the auxiliary input terminal Ib has been closed, the six link data stored in the buffer are transferred to the CPU via the I / F 37.
31 and from the six link data, FIG.
Are created and stored in the NVM 33. The comparison table is made up of the five calculation formulas shown in FIG. At this time, if the control table is already stored in the NVM 33, the old control table is deleted and the new control table is stored.

【0037】以上の作業が済んだならば、ポテンショメ
ータ7の支軸73を残量計3の入力端子Iaに接続し、
残量計3の車両への組み付けを終了する。以後は、IG
Nスイッチのオン状態において、CPU31のA/Dコ
ンバータ31aによりデジタル変換されたセンダ出力S
から、ガソリンタンク1内のガソリンGの液面G1に追
従するフロート5の位置に応じて変化するセンダ抵抗R
xの抵抗値rxが換算され、その抵抗値rxに応じて選
択された算出式を適用してガソリンGの残量Mが算出さ
れ、ゲージ35による残量Mの指示が行われる。
After the above operation is completed, the support shaft 73 of the potentiometer 7 is connected to the input terminal Ia of the fuel gauge 3 and
The assembly of the fuel gauge 3 into the vehicle is completed. After that, IG
When the N switch is on, the sender output S digitally converted by the A / D converter 31a of the CPU 31
, The sender resistance R that changes according to the position of the float 5 that follows the liquid level G1 of the gasoline G in the gasoline tank 1
The resistance value rx of x is converted, the remaining amount M of the gasoline G is calculated by applying a calculation formula selected according to the resistance value rx, and the remaining amount M is indicated by the gauge 35.

【0038】このゲージ35により指示されるガソリン
Gの残量Mは、その値が前記テスタ9から読み込んだリ
ンクデータ中にある、実際にテスタ9で測定した0リッ
トル、10リットル、17.5リットル、35リット
ル、52.5リットル、並びに、70リットルのうちど
れかと合致する場合には、計算上全く誤差のない値とな
る。また、上述した6つ以外の残量Mについては、その
残量Mの前後2つの実際にテスタ9で測定した残量Mを
基に決定される算出式により、ゲージ35の指示箇所が
定まるため、その前後2つの実際にテスタ9で測定した
残量Mにそれぞれ対応するセンダ抵抗Rxの2つの抵抗
値rxの間の特性、即ち、図7中に実線で示す特性が、
その2つの抵抗値rxを直線で結んだ近似特性、即ち、
図7中に破線で示す特性に置き換えられ、その置き換え
た近似特性上で算出されるゲージ35上の残量M箇所が
指示される。
The remaining amount M of gasoline G indicated by the gauge 35 is 0 liter, 10 liter, 17.5 liter actually measured by the tester 9 in the link data read from the tester 9. , 35 liters, 52.5 liters, and 70 liters, the values have no calculation error. Further, for the remaining amounts M other than the above-mentioned six, the indicated location of the gauge 35 is determined by a calculation formula determined based on the two remaining amounts M actually measured by the tester 9 before and after the remaining amount M. The characteristic between two resistance values rx of the sender resistance Rx respectively corresponding to the remaining amount M actually measured by the tester 9 before and after that, that is, the characteristic shown by the solid line in FIG.
An approximate characteristic obtained by connecting the two resistance values rx with a straight line, that is,
The characteristic indicated by a broken line in FIG. 7 is replaced with the remaining M positions on the gauge 35 calculated on the replaced approximate characteristic.

【0039】このように本実施形態によれば、ガソリン
タンク1内のガソリンGの液面G1に浮かせたフロート
5の位置に応じて、ポテンショメータ7のセンダ抵抗R
xの抵抗値rxを変化させ、この抵抗値rxのデータを
CPU31に取り込んで、これを基にガソリンタンク1
内のガソリンGの残量を計測する残量計3に、ガソリン
タンク1の内部形状や容量に応じて変化するセンダ抵抗
Rxの特性のデータをタンク形状データとして格納す
る、データベースとしてのNVM33を設ける構成とし
た。
As described above, according to the present embodiment, the sender resistance R of the potentiometer 7 depends on the position of the float 5 floating on the liquid level G1 of the gasoline G in the gasoline tank 1.
The resistance value rx of the x is changed, and the data of the resistance value rx is taken into the CPU 31, and the gasoline tank 1 is
The fuel gauge 3 for measuring the remaining amount of gasoline G in the vehicle is provided with an NVM 33 as a database for storing, as tank shape data, data on the characteristics of the sender resistance Rx that changes according to the internal shape and capacity of the gasoline tank 1. The configuration was adopted.

【0040】そして、残量計3の使用開始前に、計測対
象となるガソリンタンク1内を空にした状態と、あらか
じめ量を測っておいたガソリンGをガソリンタンク1に
入れて、ガソリンタンク1内のガソリンGの量を10リ
ットル、17.5リットル、35リットル、52.5リ
ットル、並びに、70リットルにした状態とのそれぞれ
において、テスタ9で測定したセンダ抵抗Rxの抵抗値
re,r10,r17.5,r35,r52.5,r70を、各抵抗値
re,r10,r17.5,r35,r52.5,r70に対応するガ
ソリンGの量とリンクさせたリンクデータの形で、テス
タ9からCPU31に取り込ませるようにした。
Before the use of the fuel gauge 3, the gasoline tank 1 to be measured is emptied, and the gasoline G measured in advance is put into the gasoline tank 1. In the state where the amount of gasoline G in the tank was set to 10 liters, 17.5 liters, 35 liters, 52.5 liters, and 70 liters, respectively, the resistance values re, r 10 of the sender resistance Rx measured by the tester 9. , R 17.5 , r 35 , r 52.5 , r 70 in the form of link data linked to the amount of gasoline G corresponding to each resistance value re, r 10 , r 17.5 , r 35 , r 52.5 , r 70 , The tester 9 loads the data into the CPU 31.

【0041】さらに、本実施形態によれば、テスタ9か
ら取り込んだリンクデータに基づいてCPU31が、残
量計3の使用時にセンダ抵抗Rxの抵抗値rxからガソ
リンGの残量Mを算出する際に用いる算出式を、その抵
抗値rxがテスタ9で測定した抵抗値re,r10,r
17.5,r35,r52.5,r70のうちどの2つの抵抗値の間
に属するかで使い分けるように5通り作成し、その5通
りの算出式と、抵抗値rxがどんな値のときに各算出式
を用いるのかを示す抵抗値rxの範囲とを組にしたデー
タを、前記タンク形状データとしてNVM33に格納す
る構成とした。
Further, according to the present embodiment, when the CPU 31 calculates the remaining amount M of the gasoline G from the resistance value rx of the sender resistor Rx when using the fuel gauge 3 based on the link data fetched from the tester 9. The resistance value rx of the resistance value re, r 10 , r measured by the tester 9 is calculated as follows.
Five types are created so as to be properly used depending on which two resistance values among 17.5 , r 35 , r 52.5 , and r 70 belong, and the five types of calculation formulas and the respective values are calculated when the resistance value rx is any value. The data in which the range of the resistance value rx indicating whether the equation is used is stored in the NVM 33 as the tank shape data.

【0042】このため、単に、ガソリンタンク1内が空
である際のセンダ抵抗Rxの抵抗値reと、ガソリンタ
ンク1内のガソリンGの量が70リットル(満タン)で
ある際のセンダ抵抗Rxの抵抗値r70とを直線で結んだ
特性に従って、CPU31がセンダ出力Sから換算する
センダ抵抗Rxの抵抗値rxを基にガソリン宅1内のガ
ソリンGの残量Mを算出する場合に比べて、計測される
残量Mの実残量との差が減少して計測精度が格段に向上
し、これにより、ゲージ35が指示する値を実際のガソ
リンGの残量Mに限りなく近づけることができる。即
ち、ガソリンタンク1の内部形状や容量に則した、信頼
性の高い残量計3を実現することができる。
For this reason, simply, the resistance value re of the sender resistance Rx when the gasoline tank 1 is empty and the sender resistance Rx when the amount of gasoline G in the gasoline tank 1 is 70 liters (full). according to the characteristics that the straight line connecting the resistance r 70 of, as compared with the case where CPU31 calculates the remaining amount M of the gasoline G in gasoline house 1 on the basis of the resistance value rx of the sender resistor Rx to convert from the sender output S The difference between the measured remaining amount M and the actual remaining amount is reduced, and the measurement accuracy is remarkably improved, whereby the value indicated by the gauge 35 can be made as close as possible to the actual remaining amount M of the gasoline G. it can. That is, a highly reliable fuel gauge 3 that conforms to the internal shape and capacity of the gasoline tank 1 can be realized.

【0043】尚、あらかじめ取得しておくリンクデータ
のうち、タンク1内の液体Gの残量を空及び満タン以外
の残量とした状態のリンクデータ数は、上述した実施形
態における4データ(ガソリンGの量=10リットル、
17.5リットル、35リットル、52.5リットルの
状態の各データ)に限るものではなく、1データ以上で
あれば任意であり、既知とするガソリンの量の数値につ
いても任意である。そして、当然のことながら、リンク
データの数を増やせば増やすほど、ガソリンの残量の算
出式の数が増え、実際のセンダ抵抗の特性を近似した直
線性の特性に置き換える値の範囲が狭まって、実特性に
対する近似特性の誤差がより小さなり、これにより、算
出されるタンク内のガソリン残量の精度をより一層向上
させ、複雑な内部形状や僅かな容量差の多種多様なガソ
リンタンクの残量計として、単一の構成で柔軟に対応可
能とすることができる。
In the link data obtained in advance, the number of link data in a state where the remaining amount of the liquid G in the tank 1 is set to a remaining amount other than empty or full is 4 data ( Gasoline G amount = 10 liters,
The data is not limited to 17.5 liters, 35 liters, and 52.5 liters), but may be any value as long as it is one or more, and the numerical value of the known gasoline amount is also arbitrary. And, of course, as the number of link data increases, the number of formulas for calculating the remaining gasoline increases, and the range of values for replacing the actual sender resistance characteristics with linearity characteristics that approximates the characteristics decreases. In addition, the error of the approximate characteristic with respect to the actual characteristic is smaller, thereby further improving the accuracy of the calculated gasoline remaining amount in the tank, and having a complicated internal shape and a variety of gasoline tanks having a small capacity difference. The meter can be flexibly supported by a single configuration.

【0044】また、前記リンクデータは、例えば、ガソ
リンタンクの内部形状や容量を特定できる寸法等の数値
データを含んだCADデータ等を基に、演算により得る
ようにしてもよい。さらに、本発明は、ガソリンタンク
に限らず、車両に搭載されて液体を溜める、例えば、ラ
ジエータやエンジンオイルタンク、ウィンドウォッシャ
タンク、パワーステアリングオイルタンク等、或は、車
両以外で用いられる貯水槽、灯油や重油といった燃焼器
用の燃料タンク等、タンク内の液体残量を計測する種々
の残量計に広く適用可能であることは言うまでもない。
The link data may be obtained by calculation based on, for example, CAD data including numerical data such as dimensions for specifying the internal shape and capacity of the gasoline tank. Furthermore, the present invention is not limited to gasoline tanks, and is mounted on a vehicle to store liquid, for example, a radiator or an engine oil tank, a window washer tank, a power steering oil tank, or the like, or a water tank used other than a vehicle, It goes without saying that the present invention is widely applicable to various fuel gauges for measuring the remaining amount of liquid in the tank, such as a fuel tank for a combustor such as kerosene or heavy oil.

【0045】[0045]

【発明の効果】以上説明したように本発明のタンク内残
量計によれば、タンク内の液体の液面に追従して変位す
るフロートの位置をポテンショメータにより電気信号に
変換し、この電気信号の信号値と残量演算式とを用いた
演算処理に基づいて、前記液体の残量を計測するタンク
内残量計において、前記ポテンショメータによる前記電
気信号の出力特性を、前記タンクの内部形状に応じて定
まる前記液体の残量と前記フロートの位置との相関に近
似させた近似特性のデータを保持する近似特性データベ
ースと、前記信号値を前記近似特性データベースが保持
する前記近似特性に応じて補正信号値に補正する信号値
補正手段とを備え、前記信号値補正手段で補正した前記
補正信号値を用いて前記演算処理を行う構成とした。
As described above, according to the fuel gauge in the tank of the present invention, the position of the float displaced following the liquid level of the liquid in the tank is converted into an electric signal by a potentiometer. In a tank fuel gauge that measures the remaining amount of the liquid based on the arithmetic processing using the signal value of the remaining amount and the remaining amount calculation formula, the output characteristic of the electric signal by the potentiometer is set to the internal shape of the tank. An approximate characteristic database that retains data of approximate characteristics approximated to a correlation between the remaining amount of the liquid and the position of the float that are determined in accordance therewith; and correcting the signal value according to the approximate characteristics that the approximate characteristic database retains. Signal value correcting means for correcting to a signal value, wherein the arithmetic processing is performed using the corrected signal value corrected by the signal value correcting means.

【0046】このため、近似特性データベースが保持す
る近似特性のデータを基に、前記信号値補正手段によ
り、ポテンショメータが出力する電気信号の信号値が、
フロートの昇降量に比例するものではなく、タンク内の
液体の増減量に比例する近似特性上の補正信号値に補正
され、これにより、液体の液面の昇降量と液体の増減量
との相関を左右し、或は、タンクの容量を左右するタン
クの内部形状に関係なく、液面検出センサから出力され
る電気信号の信号値を基に、正確な計測結果を得ること
ができる。
For this reason, the signal value of the electric signal output from the potentiometer is calculated by the signal value correcting means on the basis of the data of the approximate characteristics held in the approximate characteristic database.
It is not proportional to the amount of rise and fall of the float, but is corrected to a correction signal value on the approximate characteristic that is proportional to the amount of increase or decrease of the liquid in the tank. , Or an accurate measurement result can be obtained based on the signal value of the electric signal output from the liquid level detection sensor irrespective of the internal shape of the tank which affects the capacity of the tank.

【0047】また、本発明の液面検出センサの特性補正
用データベース構築方法によれば、タンク内の液体の液
面の位置に応じた信号値の電気信号を出力する液面検出
センサの前記電気信号の出力特性を、前記タンクの内部
形状に応じた特性に補正するための特性補正用データベ
ースの構築方法であって、前記タンク内の前記液体の残
量を既知とした状態における該液体の残量と、該残量に
対応して前記液面検出センサが出力する前記電気信号の
信号値とをリンクさせたリンクデータを、前記タンク内
が空の状態と、該タンク内が満タンの状態と、前記液体
の残量を前記空及び満タン以外の少なくとも1つの残量
とした状態とについてあらかじめ取得しておき、前記各
リンクデータのうち前記信号値が隣り合う2つのリンク
データを基に、これら2つの隣り合う信号値間にある信
号値から前記液体の残量を算出するための残量算出式を
複数割り出し、前記各残量算出式を、該各残量算出式を
割り出す基にした前記2つのリンクデータの隣り合う信
号値のデータをアドレスとして検索可能に管理するよう
にした。
According to the method of constructing the database for correcting characteristics of the liquid level detecting sensor of the present invention, the electric level of the liquid level detecting sensor which outputs an electric signal of a signal value corresponding to the position of the liquid level of the liquid in the tank is provided. A method for constructing a characteristic correction database for correcting an output characteristic of a signal to a characteristic corresponding to an internal shape of the tank, the method comprising: setting a remaining amount of the liquid in the tank to a known value. The link data linking the amount and the signal value of the electric signal output by the liquid level detection sensor in accordance with the remaining amount is a state in which the tank is empty and the tank is full. And the state in which the remaining amount of the liquid is at least one remaining amount other than the empty and full tanks is obtained in advance, and based on two link data in which the signal value is adjacent among the link data. This A plurality of remaining amount calculating formulas for calculating the remaining amount of the liquid from the signal values between two adjacent signal values, and each of the remaining amount calculating formulas is used as a basis for calculating each of the remaining amount calculating formulas. Data of adjacent signal values of the two link data are managed so as to be searchable as addresses.

【0048】このため、タンクの内部に残った液体残量
を計測するに当たり、そのタンクが、液体の増減量と液
面の昇降量とが必ずしも比例しないような、複雑な内部
形状であったり、或は、液体の増減量と液面の昇降量と
は比例するものの、種別によって満タン時の容量が異な
るものであっても、単一構成の液面検出センサの出力を
基に、実際のタンク内残量に近似した精度の高い残量を
演算により得ることが可能となり、本発明のタンク内残
量計に用いて好適である等の効果を奏する。
For this reason, when measuring the remaining amount of liquid remaining in the tank, the tank has a complicated internal shape in which the amount of increase and decrease of the liquid is not necessarily proportional to the amount of rise and fall of the liquid level. Alternatively, although the amount of increase and decrease of the liquid and the amount of rise and fall of the liquid level are proportional to each other, even if the capacity when the tank is full differs depending on the type, based on the output of the single structure liquid level detection sensor, the actual It is possible to obtain a highly accurate remaining amount approximate to the remaining amount in the tank by calculation, and it is possible to obtain effects such as being suitable for use in the remaining amount meter in the tank of the present invention.

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

【図1】本発明によるタンク内残量計の基本構成図であ
る。
FIG. 1 is a basic configuration diagram of a fuel gauge in a tank according to the present invention.

【図2】本発明の一実施形態による残量計の概略構成を
一部ブロックにて示す説明図である。
FIG. 2 is an explanatory diagram showing a schematic configuration of a fuel gauge according to an embodiment of the present invention by partial blocks.

【図3】図2のCPUがROMに格納されたプログラム
に従い行う処理を示すゼネラルフローチャートである。
FIG. 3 is a general flowchart showing a process performed by a CPU in FIG. 2 according to a program stored in a ROM.

【図4】図3のタンク形状データベース作成処理のサブ
ルーチンを示すフローチャートである。
FIG. 4 is a flowchart illustrating a subroutine of a tank shape database creation process of FIG. 3;

【図5】図3のガソリン残量計測表示処理のサブルーチ
ンを示すフローチャートである。
FIG. 5 is a flowchart showing a subroutine of a gasoline remaining amount measurement display process of FIG. 3;

【図6】図4のタンク形状データベース作成処理におい
て作成される算出式選択用対照テーブルの説明図であ
る。
FIG. 6 is an explanatory diagram of a calculation formula selection reference table created in a tank shape database creation process of FIG. 4;

【図7】図2に示すセンダ抵抗の実特性とこの実特性か
ら置換される近似特性との相関図である。
FIG. 7 is a correlation diagram between actual characteristics of the sender resistor shown in FIG. 2 and approximate characteristics replaced from the actual characteristics.

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

1 タンク 3 残量計 31 CPU 31A 信号値補正手段 33 近似特性データベース 5 フロート(液面検出センサ) 7 ポテンショメータ(液面検出センサ) G 液体 G1 液体液面 DESCRIPTION OF SYMBOLS 1 Tank 3 Fuel gauge 31 CPU 31A Signal value correction means 33 Approximate characteristic database 5 Float (liquid level detection sensor) 7 Potentiometer (liquid level detection sensor) G liquid G1 Liquid level

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 タンク内の液体の液面に追従して変位す
るフロートの位置をポテンショメータにより電気信号に
変換し、この電気信号の信号値と残量演算式とを用いた
演算処理に基づいて、前記液体の残量を計測するタンク
内残量計において、 前記ポテンショメータによる前記電気信号の出力特性
を、前記タンクの内部形状に応じて定まる前記液体の残
量と前記フロートの位置との相関に近似させた近似特性
のデータを保持する近似特性データベースと、 この近似特性データベースに保持されたデータに基づい
てタンク内の液体残量の計測に用いる算出式を保持した
選択用対象テーブルと、前記ポテンショメータが出力する電気信号の信号値を、
前記近似特性データベースが保持する前記近似特性のデ
ータに応じた前記タンク内の液体の増減量に比例する近
似特性上の補正信号に補正する信号値補正手段とを備
え、 前記信号値補正手段で補正された補正信号前記選択用
対象テーブルと照合し、該補正信号に近似するデータ
に対応する液体残量算出式を前記選択用対象テーブルよ
り検索してタンク内の液体残量を演算処理するようにし
た、 ことを特徴とするタンク内残量計。
1. A position of a float which is displaced following a liquid level of a liquid in a tank is converted into an electric signal by a potentiometer, and is calculated based on a signal value of the electric signal and a remaining amount calculation formula. In the in-tank fuel gauge for measuring the remaining amount of the liquid, the output characteristic of the electric signal by the potentiometer, the correlation between the remaining amount of the liquid determined according to the internal shape of the tank and the position of the float. An approximation characteristic database that retains data of approximated approximation characteristics; a selection target table that retains a calculation formula used to measure the remaining amount of liquid in the tank based on the data retained in the approximation characteristics database; and the potentiometer The signal value of the electrical signal output by
Nearly proportional to the amount of increase or decrease of the liquid in the tank according to the data of the approximate characteristics held by the approximate characteristic database.
And a signal value correction means for correcting the correction signal on the similar characteristics, collates the corrected correction signal and said selection object table by the signal value correction means, corresponding to the data to be approximate to the correction signal liquids Use the remaining amount calculation formula from the selection target table
The tank remaining amount gauge is characterized in that the remaining amount of liquid in the tank is calculated by performing a search .
【請求項2】 記信号値補正手段は、前記演算処理の
過程で前記信号値を前記補正信号値に補正する請求項1
記載のタンク内残量計。
2. A pre-SL signal value correction means, according to claim 1 for correcting the signal value in the course of the arithmetic processing on the corrected signal value
The fuel gauge in the tank as described.
【請求項3】 タンク内の液体の液面の位置に応じた信
号値の電気信号を出力する液面検出センサの前記電気信
号の出力特性を、前記タンクの内部形状に応じた特性に
補正するための特性補正用データベースの構築方法であ
って、 前記タンク内の前記液体の残量を既知とした状態におけ
る該液体の残量と、該残量に対応して前記液面検出セン
サが出力する前記電気信号の信号値とをリンクさせたリ
ンクデータを、前記タンク内が空の状態と、該タンク内
が満タンの状態と、前記液体の残量を前記空及び満タン
以外の少なくとも1つの残量とした状態とについてあら
かじめ取得しておき、 前記各リンクデータのうち前記信号値が隣り合う2つの
リンクデータを基に、これら2つの隣り合う信号値間に
ある信号値から前記液体の残量を算出するための残量算
出式を複数割り出し、 前記各残量算出式を、該各残量算出式を割り出す基にし
た前記2つのリンクデータの隣り合う信号値のデータを
アドレスとして検索可能に管理するようにした、 ことを特徴とする液面検出センサの特性補正用データベ
ース構築方法。
3. An output characteristic of the electric signal of a liquid level detection sensor that outputs an electric signal of a signal value according to a position of a liquid level of a liquid in a tank is corrected to a characteristic according to an internal shape of the tank. A method for constructing a characteristic correction database for storing a remaining amount of the liquid in a state where the remaining amount of the liquid in the tank is known, and outputting the liquid level detection sensor in accordance with the remaining amount. Link data linking the signal value of the electric signal is a state in which the tank is empty, a state in which the tank is full, and a state in which the remaining amount of the liquid is at least one other than empty and full. The state of the remaining amount is obtained in advance, and based on two link data in which the signal value is adjacent to each other in the link data, the remaining amount of the liquid is determined from the signal value between these two adjacent signal values. To calculate the amount A plurality of remaining amount calculation formulas, and the respective remaining amount calculation formulas are managed so as to be searchable as addresses of adjacent signal values of the two link data based on which the respective remaining amount calculation formulas are calculated. A method for constructing a database for correcting characteristics of a liquid level detection sensor, characterized in that:
【請求項4】 前記リンクデータを、前記タンク内に既
知の量の前記液体を溜め、この状態で前記液面検出セン
サが出力する前記電気信号の信号値を実測することで取
得するようにした請求項3記載の液面検出センサの特性
補正用データベース構築方法。
4. The link data is obtained by storing a known amount of the liquid in the tank and actually measuring a signal value of the electric signal output by the liquid level detection sensor in this state. A method for constructing a database for correcting characteristics of a liquid level detection sensor according to claim 3.
JP18393495A 1995-07-20 1995-07-20 Database construction method for characteristic correction of tank fuel gauge and liquid level detection sensor Expired - Fee Related JP3273459B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18393495A JP3273459B2 (en) 1995-07-20 1995-07-20 Database construction method for characteristic correction of tank fuel gauge and liquid level detection sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18393495A JP3273459B2 (en) 1995-07-20 1995-07-20 Database construction method for characteristic correction of tank fuel gauge and liquid level detection sensor

Publications (2)

Publication Number Publication Date
JPH0933323A JPH0933323A (en) 1997-02-07
JP3273459B2 true JP3273459B2 (en) 2002-04-08

Family

ID=16144370

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18393495A Expired - Fee Related JP3273459B2 (en) 1995-07-20 1995-07-20 Database construction method for characteristic correction of tank fuel gauge and liquid level detection sensor

Country Status (1)

Country Link
JP (1) JP3273459B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018205209A (en) 2017-06-07 2018-12-27 愛三工業株式会社 Production method of fuel residual amount detector and fuel supply module

Also Published As

Publication number Publication date
JPH0933323A (en) 1997-02-07

Similar Documents

Publication Publication Date Title
KR890001595B1 (en) Measuring volume flow instrument having function if temperature compensation
US6857313B2 (en) Self-calibrating capacitance gauge
EP0275240B1 (en) A method for determining and indicating the volume of fuel in the tank of a motor vehicle
US6666084B2 (en) Method for determining the fluid level of a tank in motor vehicles
JPH074984A (en) Electronic system and method for calculating possible automobile running distance
JPH01163621A (en) Apparatus and method for measuring amount of material in tank
CN102007424A (en) Apparatus and method for improving the accuracy of measurements taken with a capacitance-type sensor
GB2124390A (en) Fluid measurement
US4637361A (en) Non-adjustable throttle position indicator
US4262531A (en) Fluid-gauging methods and systems
JP3273459B2 (en) Database construction method for characteristic correction of tank fuel gauge and liquid level detection sensor
JPH10193992A (en) Detecting method and device for fuel residual quantity in fuel tank
EP1407236B1 (en) Fuel tank liquid level sensor using a float and a non linear rheostat and apparatus for determining a remaining amount of fuel
WO2006038787A1 (en) Method and device for measuring fuel
JP4199149B2 (en) Liquid level measurement system
US4811596A (en) Arrangement for tank content measurement of an operating-medium tank of a vehicle
JP2006023141A (en) Fuel information output device for vehicle
US5635622A (en) Method of compensating for gauge hysteresis
US5226323A (en) Method of and an apparatus for displaying the output of an internal combustion engine
CN2765812Y (en) High accuracy metering oil tank
JPS6316697B2 (en)
JPH10153471A (en) Method and device for correcting state detection value, and medium on which program for correcting condition detection value is recorded
JP3514424B2 (en) Fuel display control device
KR970036163A (en) Fuel gauge connector
CN2888413Y (en) Oil sensing device for vehicle oil tank

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011218

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080201

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090201

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100201

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100201

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110201

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110201

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120201

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130201

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140201

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees