JPH09257551A - Residual meter for vehicle - Google Patents

Residual meter for vehicle

Info

Publication number
JPH09257551A
JPH09257551A JP8063162A JP6316296A JPH09257551A JP H09257551 A JPH09257551 A JP H09257551A JP 8063162 A JP8063162 A JP 8063162A JP 6316296 A JP6316296 A JP 6316296A JP H09257551 A JPH09257551 A JP H09257551A
Authority
JP
Japan
Prior art keywords
remaining amount
amount value
value
output
tank
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.)
Withdrawn
Application number
JP8063162A
Other languages
Japanese (ja)
Inventor
Hiroshi Yamamoto
博司 山本
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 JP8063162A priority Critical patent/JPH09257551A/en
Publication of JPH09257551A publication Critical patent/JPH09257551A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Measuring Volume Flow (AREA)
  • Level Indicators Using A Float (AREA)
  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a residual meter for vehicle, in which almost of parts of the structure for separately correcting the output of a sender with the content corresponding to the kind of tank can be commonly used independently of the kind of tank. SOLUTION: Sampling of the sender output S output from a potentiometer 7 at the signal level corresponding to a level G1 position of the liquid G inside of a tank 1 of a vehicle is continuously performed at a first predetermined times (a), and per each time of computing a residual value on the basis of this sampling, a residual value change judging means 31A judges whether the residual value computed this time is changed from the residual value computed at the last time or not. After the residual value change judging means 31A judges a change, in the case where a residual value no-change judging means 31B judges that the residual value computed this time is not continuously changed a second predetermined times (b), the residual value signal for showing the residual value, which is computed this time, is generated for output by a residual signal output means 31C, and the first predetermined time (a) and the second predetermined time (b) are set per each kind of tank 1, and held by a parameter holding means 33A.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、燃料タンク内の燃
料残量等、車両に設けられるタンク内の液体残量を計測
する車両用残量計に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle fuel gauge for measuring the amount of liquid remaining in a tank provided in a vehicle, such as the amount of fuel remaining in a fuel tank.

【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, or the like. The fuel gauge includes, for example, a sliding resistance type, an inductive type, and a hall element type. In each of these types, the float arranged in the tank is floated on the liquid surface, and the float is attached to the swing end of the float arm. The float arm follows the displacement of the liquid level to change the swing angle of the float arm, and this change changes the contact position with the base of the float arm. The resistance
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 controller for driving the meter.

【0003】そして、例えばガソリンタンク内のガソリ
ン残量を計測する残量計の中には、従来より、実開昭6
3−111621号公報に開示されているように、フュ
ーエルタンク内に、第1及び第2の2つのフューエルセ
ンダゲージを平行配置し、フューエルタンクの液面静止
状態と液面変動状態のフューエルセンダゲージ出力に差
がない液面レベルでは、第1及び第2の両フューエルセ
ンダゲージの平均値を第1の演算式に代入してフューエ
ル残量を算出し、液面静止状態と液面変動状態のフュー
エルセンダゲージ出力に差がある液面レベルでは、第1
及び第2の両フューエルセンダゲージの差値と平均値を
第2の演算式に代入してフューエル残量を算出するもの
がある。
For example, some fuel gauges for measuring the amount of gasoline remaining in a gasoline tank have been used in the past.
As disclosed in Japanese Patent Laid-Open No. 3-111621, two fuel sender gauges, a first fuel tank and a second fuel sender gauge, are arranged in parallel in a fuel tank, and the fuel sender gauge is in a liquid level stationary state and a liquid level varying state of the fuel tank. At the liquid level where there is no difference in the output, the average value of both the first and second fuel sender gauges is substituted into the first arithmetic expression to calculate the fuel remaining amount, and the remaining fuel level and the liquid level fluctuation state are calculated. At the liquid level where there is a difference in fuel sender gauge output,
There is also a method of calculating the fuel remaining amount by substituting the difference value and the average value of both the second fuel sender gauges into the second arithmetic expression.

【0004】これは、フューエルタンクの液面静止状態
と液面変動状態とでフューエルセンダゲージの出力特性
が異なることに注目し、液面静止状態と液面変動状態と
の違いによる、実残量に対する残量計の出力の誤差をな
くすことを目的とするものである。
This is because the output characteristics of the fuel sender gauge differ depending on whether the liquid level of the fuel tank is stationary or the liquid level is fluctuated, and the actual remaining amount depends on the difference between the liquid level static state and the liquid level fluctuation. The purpose is to eliminate the error in the output of the fuel gauge with respect to.

【0005】また、他には、特開平4−329316号
公報に開示されているように、センダユニットの出力電
圧値が大きく変動した際には、その大きく変動した出力
電圧値に応じた位置に指針を移動させるための信号をい
きなり発生させず、あらかじめ設定した時間に亘って、
指針を最低単位の振れ角だけ移動させるための信号を発
生させるものがある。
In addition, as disclosed in Japanese Patent Application Laid-Open No. 4-329316, when the output voltage value of the sender unit fluctuates greatly, the position corresponding to the greatly fluctuated output voltage value is set. Do not suddenly generate a signal to move the pointer, over a preset time,
There is one that generates a signal for moving the pointer by the deflection angle of the minimum unit.

【0006】これは、車両の傾きや右左折により、ガソ
リンの消費とは無関係にセンダユニットの出力電圧値が
一時的に大きく変化することに着目し、この車両の走行
状態の変化に起因する指針の指示値のちらつき、ひいて
は、実残量に対する指針の指示値の誤差をなくすことを
目的とするものである。
This is because the output voltage value of the sender unit temporarily and largely changes irrespective of the consumption of gasoline due to the inclination of the vehicle or the left or right turn. The purpose of this is to eliminate the flicker of the indicated value of, and the error of the indicated value of the pointer with respect to the actual remaining amount.

【0007】[0007]

【発明が解決しようとする課題】このように、実残量に
対する残量計の出力の誤差をなくすための手段は、従来
より種々提案されているが、これらはいずれも、残量を
算出するために用いるプログラムの全体を、車の車種や
排気量により異なるタンク容量や内部形状等のタンク種
別や、車の走行時と停止時とで異なるセンダ特性に合わ
せて、個別に設定したものである。このため従来は、タ
ンク種別が増える毎に、センダ出力から残量表示のため
の信号を生成するためのプログラムの内容を異ならせた
個別のコンピュータを用意する必要があり、残量計のコ
ストアップを招いてしまうという不具合があり、また、
タンク種別に合わせて対応する内容のプログラムを持た
せたコンピュータを選択して搭載しなければならず、手
間がかかり面倒であるという不具合があった。
As described above, various means for eliminating the error in the output of the fuel gauge with respect to the actual remaining amount have been proposed in the past, but all of them have been used to calculate the remaining amount. The entire program used for this purpose is set individually according to the tank type such as the tank capacity and internal shape that differ depending on the vehicle type and displacement, and the sender characteristics that differ when the vehicle is running and when it is stopped. . For this reason, conventionally, it is necessary to prepare an individual computer with a different program content for generating a signal for remaining amount display from the sender output each time the tank type increases, which increases the cost of the fuel gauge. There is a problem that it invites
There was a problem that it was troublesome and troublesome to select and mount a computer having a program having contents corresponding to the tank type.

【0008】本発明は上述した事情に鑑みなされたもの
で、本発明の目的は、液面に浮かべたフロートを有する
ポテンショメータのフロート位置に応じたセンダ出力を
基に、タンク内の液体の残量を計測するに当たり、タン
ク種別に応じた内容でセンダ出力を個別に補正するため
の構成の大半を、タンク種別に関係なく共通化すること
ができる車両用残量計を提供することにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to determine the remaining amount of liquid in a tank based on the sender output according to the float position of a potentiometer having a float floated on the liquid surface. The purpose of the present invention is to provide a fuel gauge for a vehicle in which most of the configuration for individually correcting the sender output according to the tank type can be shared regardless of the tank type.

【0009】[0009]

【課題を解決するための手段】前記目的を達成するため
請求項1に記載した本発明の車両用残量計は、図1
(a)の基本構成図に示すように、車両に搭載されたタ
ンク1内の液体Gの液面G1位置に応じた信号レベルで
出力されるポテンショメータ7のセンダ出力Sを、所定
周期毎にサンプリングし、該センダ出力Sを連続する第
1所定回数aサンプリングする毎に、これら第1所定回
数a連続してサンプリングした前記センダ出力Sを基
に、前記タンク1内の前記液体Gの残量値を算出し表示
する車両用残量計において、前記第1所定回数a連続し
てサンプリングしたセンダ出力Sを基に前記残量値を算
出する毎に、今回算出した前記残量値が前回算出した残
量値から変化したか否かを判定する残量値変化判定手段
31Aと、前記今回算出した残量値が前回算出した残量
値から変化したと前記残量値変化判定手段31Aが判定
した後、該今回算出した残量値が、前記第1所定回数a
連続してサンプリングしたセンダ出力Sを基に前記残量
値を算出する毎に、第2所定回数b連続して変化しなか
ったか否かを判定する残量値非変化判定手段31Bと、
前記前回算出した残量値から変化した後、前記第2所定
回数b連続して変化しなかったと前記残量値非変化判定
手段31Bが判定した前記今回算出した残量値を表示さ
せるための残量値信号を生成し出力する残量値信号出力
手段31Cと、前記第1所定回数a及び前記第2所定回
数bをパラメータ情報cとして保持するパラメータ保持
手段33Aとを備え、前記パラメータ情報cを前記タン
ク1の種別毎に設定するようにしたことを特徴とする。
In order to achieve the above object, a fuel gauge for a vehicle according to the present invention as set forth in claim 1 is shown in FIG.
As shown in the basic configuration diagram of (a), the sender output S of the potentiometer 7 output at a signal level corresponding to the liquid level G1 position of the liquid G in the tank 1 mounted on the vehicle is sampled at predetermined intervals. Then, every time the sender output S is sampled for the first predetermined number of times a consecutively, the remaining amount value of the liquid G in the tank 1 is based on the sender output S sampled continuously for the first predetermined number of times a. In the vehicle fuel gauge for calculating and displaying, each time the remaining amount value is calculated based on the sender output S sampled continuously for the first predetermined number of times a, the remaining amount value calculated this time is calculated last time. The remaining amount value change determining unit 31A that determines whether the remaining amount value has changed and the remaining amount value change determining unit 31A determines that the remaining amount value calculated this time has changed from the previously calculated remaining amount value. Later, this time calculated Remaining quantity value, the first predetermined number a
Each time the remaining amount value is calculated based on the sender output S sampled continuously, the remaining amount value non-change determining means 31B that determines whether or not the second predetermined number of times b has continuously changed,
After the change of the remaining amount value calculated last time, the remaining amount for displaying the remaining amount value calculated this time, which is determined by the remaining amount value non-change determining means 31B as having not changed continuously for the second predetermined number of times b. The residual quantity signal output means 31C for generating and outputting the quantity value signal and the parameter holding means 33A for holding the first predetermined number of times a and the second predetermined number of times b as the parameter information c are provided, and the parameter information c is stored. It is characterized in that it is set for each type of the tank 1.

【0010】また、請求項2に記載した本発明の車両用
残量計は、前記パラメータ情報cが、前記残量値信号出
力手段31Cが生成する前記残量値信号の特性が、前記
パラメータ保持手段33Aが設けられる前記車両の停止
時における前記センダ出力Sの静特性と、前記車両の走
行時における前記センダ出力Sの揺動特性との中間の特
性に相似する値にそれぞれ設定されるものとした。
Further, in the vehicle fuel gauge according to the second aspect of the present invention, the parameter information c indicates that the characteristic of the remaining amount value signal generated by the remaining amount value signal output means 31C is the parameter holding. A value similar to an intermediate characteristic between the static characteristic of the sender output S when the vehicle provided with the means 33A is stopped and the swing characteristic of the sender output S when the vehicle is traveling is set. did.

【0011】さらに、請求項3に記載した本発明の車両
用残量計は、前記残量値信号出力手段31Cが、前記前
回算出した残量値から変化した後、前記第2所定回数b
連続して変化しなかったと前記残量値非変化判定手段3
1Bが判定した前記今回算出した残量値を表示させるた
めの残量値信号を生成する残量値信号生成手段31D
と、該残量値信号生成手段31Dが生成している前記残
量値信号を出力周期時間T3毎に出力させる出力許可手
段31Eとを有しており、前記パラメータ情報cが、前
記タンク1の種別に応じて設定される前記出力周期時間
T3を含んでいるものとした。
Further, in the vehicle fuel gauge according to the third aspect of the present invention, the second predetermined number of times b after the remaining amount signal output means 31C has changed from the previously calculated remaining amount value.
The remaining amount value non-change determining means 3 is that it has not changed continuously.
Remaining amount value signal generating means 31D for generating a remaining amount value signal for displaying the remaining amount value calculated this time by 1B.
And an output permitting means 31E for outputting the remaining amount value signal generated by the remaining amount value signal generating means 31D at every output cycle time T3, and the parameter information c stores the parameter information c of the tank 1. The output cycle time T3 set according to the type is included.

【0012】また、請求項4に記載した本発明の車両用
残量計は、図1(b)の基本構成図に示すように、車両
に搭載されたタンク1内の液体Gの液面G1位置に応じ
た信号レベルで出力されるポテンショメータ7のセンダ
出力Sを、所定周期毎にサンプリングし、該サンプリン
グした前記センダ出力を基に、前記タンク1内の前記液
体Gの残量値を表示させるための残量値信号を、時間を
置きつつ生成する車両用残量計において、前記残量値信
号を生成する間に置く時間に関するパラメータ情報cを
保持するパラメータ保持手段33Aを備え、前記パラメ
ータ情報cを前記タンク1の種別毎に設定するようにし
たことを特徴とする。
The vehicle fuel gauge according to a fourth aspect of the present invention, as shown in the basic configuration diagram of FIG. 1 (b), shows the liquid level G1 of the liquid G in the tank 1 mounted on the vehicle. The sender output S of the potentiometer 7 output at a signal level according to the position is sampled at predetermined intervals, and the remaining amount value of the liquid G in the tank 1 is displayed based on the sampled sender output. In a vehicle fuel gauge that generates a remaining amount value signal for a certain period of time, a parameter holding unit 33A that holds parameter information c regarding time to be placed during generation of the remaining amount signal is provided, and the parameter information It is characterized in that c is set for each type of the tank 1.

【0013】さらに、請求項5に記載した本発明の車両
用残量計は、前記ポテンショメータ7の複数回連続して
サンプリングした前記センダ出力Sを基に、前記タンク
1内の前記液体Gの残量値を算出する残量値算出手段3
1Fと、該残量値算出手段31Fが前記残量値を算出す
る毎に、今回算出した前記残量値が前回算出した残量値
から変化したか否かを判定する残量値変化判定手段31
Aと、前記今回算出した残量値が前回算出した残量値か
ら変化したと前記残量値変化判定手段31Aが判定した
後、前記残量値算出手段31Fの算出する前記残量値
が、前記前回算出した残量値から変化したと前記残量値
変化判定手段31Aが判定した前記今回算出した残量値
から第2所定回数b連続して変化しなかったか否かを判
定する残量値非変化判定手段31Bとをさらに備え、前
記残量値信号は、前記前回算出した残量値から変化した
後、前記第2所定回数b連続して変化しなかったと前記
残量値非変化判定手段31Bが判定した前記今回算出し
た残量値を表示させるために生成され、前記パラメータ
情報cは、前記タンク1の種別毎に設定される前記第2
所定回数bを含んでいるものとした。
Further, in the fuel gauge for a vehicle according to a fifth aspect of the present invention, the remaining amount of the liquid G in the tank 1 is determined based on the sender output S sampled by the potentiometer 7 continuously plural times. Remaining amount value calculating means 3 for calculating the amount value
1F, and every time the remaining amount value calculating means 31F calculates the remaining amount value, it is determined whether the remaining amount value calculated this time has changed from the previously calculated remaining amount value or not. 31
A and the remaining amount value calculated by the remaining amount value calculating unit 31F after the remaining amount value change determination unit 31A determines that the remaining amount value calculated this time has changed from the previously calculated remaining amount value, A remaining amount value for determining whether or not the remaining amount value calculated this time, which is determined by the remaining amount value change determination unit 31A as having changed from the previously calculated remaining amount value, has not changed continuously for a second predetermined number of times b. The remaining amount value non-change determining unit 31B further includes a non-change determining unit 31B, and the remaining amount value non-change determining unit 31b determines that the remaining amount value signal has not changed continuously for the second predetermined number of times b after changing from the previously calculated remaining amount value. 31B is generated to display the remaining amount value calculated this time, and the parameter information c is set to the second type set for each type of the tank 1.
The number of times b is included.

【0014】また、請求項6に記載した本発明の車両用
残量計は、前記残量値信号が、出力周期時間T3毎に、
前記前回算出した残量値から変化した後、前記第2所定
回数b連続して変化しなかったと前記残量値非変化判定
手段31Bが判定した最新の前記今回算出した残量値を
表示させるために生成され、前記パラメータ情報cが、
前記タンク1の種別毎に設定される前記出力周期時間T
3を含んでいるものとした。
In the fuel gauge for a vehicle according to the sixth aspect of the invention, the remaining amount value signal is output every output cycle time T3.
In order to display the latest remaining amount value calculated this time, which is determined by the remaining amount value non-change determining means 31B that the second predetermined number of times b has not changed continuously after the change from the previously calculated remaining amount value. And the parameter information c is
The output cycle time T set for each type of the tank 1
3 is included.

【0015】さらに、請求項7に記載した本発明の車両
用残量計は、前記パラメータ保持手段33Aを不揮発性
メモリ33で構成し、前記タンク1の種別に応じた前記
パラメータ情報cを前記不揮発性メモリ33に読み出し
可能にあらかじめ書き込むものとした。また、請求項8
に記載した本発明の車両用残量計は、前記パラメータ保
持手段33Aを、前記車両側に固設されたICカード読
出器33aと、該ICカード読出器33aにより記憶内
容が読み出されるICカード33bで構成し、前記タン
ク1の種別に応じた前記パラメータ情報cを前記ICカ
ード33bにあらかじめ記憶させておくものとした。
Further, in the fuel gauge for a vehicle according to a seventh aspect of the present invention, the parameter holding means 33A is constituted by a non-volatile memory 33, and the parameter information c corresponding to the type of the tank 1 is non-volatile. It is assumed that the data is written in the readability memory 33 in advance so as to be readable. Claim 8
In the vehicle fuel gauge according to the present invention, the parameter holding means 33A includes the IC card reader 33a fixed on the vehicle side, and the IC card 33b from which the stored contents are read by the IC card reader 33a. The parameter information c according to the type of the tank 1 is stored in the IC card 33b in advance.

【0016】請求項1に記載した本発明の車両用残量計
によれば、タンク1内の液体Gの残量値を算出し表示す
る際に用いる、連続サンプリングセンダ出力Sの数であ
る第1所定回数aと、残量値非変化判定手段31Bが変
化後の残量値に変動がないと判定する基準となる連続回
数である第2所定回数bが、タンク1の種別毎に設定さ
れるパラメータ情報cとしてパラメータ保持手段33A
に保持されるので、このパラメータ保持手段33A及び
これに保持させるパラメータ情報cの内容を除き、残量
計のその他の構成部分を、タンク1の種別に関係なく共
用化しつつ、タンク1の種別に応じた個別の残量値算出
を行うことが可能となる。
According to the vehicle fuel gauge of the present invention described in claim 1, it is the number of the continuous sampling sender outputs S used when calculating and displaying the remaining amount value of the liquid G in the tank 1. The first predetermined number of times a and the second predetermined number of times b, which is a reference number of times that the remaining amount value non-change determining means 31B determines that there is no change in the changed remaining amount value, are set for each type of tank 1. Parameter holding means 33A as parameter information c
Therefore, except for the contents of the parameter holding means 33A and the parameter information c held by the parameter holding means 33A, other components of the fuel gauge are shared regardless of the type of the tank 1, and It is possible to calculate the corresponding remaining amount value individually.

【0017】また、請求項2に記載した本発明の車両用
残量計によれば、車両の停止時におけるセンダ出力Sの
静特性と、車両の走行時におけるセンダ出力Sの揺動特
性との間に開きがあっても、パラメータ保持手段33A
に保持されたタンク1の種別に応じたパラメータ情報c
により、静特性と揺動特性のどちらにも偏らない中間の
特性で残量値を算出、表示させ、車両の停止時及び走行
時のいずれにおいても、タンク1の実残量からの誤差が
少ない残量値表示を実現することが可能となる。
According to the fuel gauge for a vehicle of the present invention as defined in claim 2, the static characteristic of the sender output S when the vehicle is stopped and the swing characteristic of the sender output S when the vehicle is running. Parameter holding means 33A even if there is a gap
Parameter information c according to the type of tank 1 held in
Thus, the remaining amount value is calculated and displayed with an intermediate characteristic that is neither biased to the static characteristic nor the swing characteristic, and there is little error from the actual remaining amount of the tank 1 both when the vehicle is stopped and when the vehicle is running. It becomes possible to display the remaining amount value.

【0018】さらに、請求項3に記載した本発明の車両
用残量計によれば、パラメータ保持手段33Aが保持す
るパラメータ情報cに含まれる、残量値信号生成手段3
1Dが生成している残量値信号を出力許可手段31Eが
出力させる周期を決定する出力周期時間T3が、タンク
1の種別に応じて設定されることから、タンク1内で液
体Gの液面G1が、車両の姿勢等の状態の変化に伴い小
刻みに変化したとしても、算出、表示される残量値が出
力周期時間T3毎にしか変わらず、液面G1の小刻みな
変動に逐一追従しない。このため、パラメータ保持手段
33A及びこれに保持させるパラメータ情報cの内容を
除き、残量計のその他の構成部分をタンク1の種別に関
係なく共用化しても、車両の姿勢等の状態の変化に伴い
発生する、タンク1の種別に応じた残量値表示のちらつ
きを確実になくすことが可能となる。
Further, according to the vehicle fuel gauge of the present invention as set forth in claim 3, the remaining amount signal generating means 3 contained in the parameter information c held by the parameter holding means 33A.
Since the output cycle time T3 that determines the cycle in which the output permission unit 31E outputs the remaining amount signal generated by 1D is set according to the type of the tank 1, the liquid level of the liquid G in the tank 1 is set. Even if G1 changes little by little with a change in the state of the vehicle such as the posture, the remaining amount calculated and displayed changes only every output cycle time T3, and does not follow the small fluctuations of the liquid level G1 one by one. . For this reason, except for the contents of the parameter holding unit 33A and the parameter information c held in the parameter holding unit 33A, even if other components of the fuel gauge are shared regardless of the type of the tank 1, the state of the vehicle such as the posture changes. It is possible to surely eliminate the flicker of the remaining amount value display depending on the type of the tank 1, which is accompanied.

【0019】また、請求項4に記載した本発明の車両用
残量計によれば、タンク1内の液体Gの残量値を表示す
る際の表示更新周期となる、残量値信号を生成する間に
置く時間に関するパラメータ情報cが、タンク1の種別
毎に設定されてパラメータ保持手段33Aに保持される
ので、請求項3に記載した本発明の車両用残量計と同様
に、タンク1内で液体Gの液面G1が、車両の姿勢等の
状態の変化に伴い小刻みに変化したとしても、算出、表
示される残量値が出力周期時間T3毎にしか変わらず、
液面G1の小刻みな変動に逐一追従しない。このため、
パラメータ保持手段33A及びこれに保持させるパラメ
ータ情報cの内容を除き、残量計のその他の構成部分
を、タンク1の種別に関係なく共用化しつつ、車両の姿
勢等の状態の変化に伴い発生する、タンク1の種別に応
じた残量値表示のちらつきを確実になくすことが可能と
なる。
Further, according to the vehicle fuel gauge of the fourth aspect of the invention, the remaining amount value signal, which is the display update cycle when displaying the remaining amount value of the liquid G in the tank 1, is generated. Since the parameter information c related to the time to be set during the operation is set for each type of the tank 1 and held in the parameter holding means 33A, the tank 1 is similar to the vehicle fuel gauge according to the present invention described in claim 3. Even if the liquid level G1 of the liquid G changes little by little in accordance with the change of the state such as the posture of the vehicle, the remaining amount value calculated and displayed changes only every output cycle time T3,
It does not follow the minute fluctuations of the liquid level G1. For this reason,
Except for the contents of the parameter holding unit 33A and the parameter information c held by the holding unit 33A, the other components of the fuel gauge are shared regardless of the type of the tank 1, and occur with a change in state such as the posture of the vehicle. It is possible to reliably eliminate the flicker of the remaining amount value display depending on the type of the tank 1.

【0020】尚、残量値信号を生成する間に置く時間に
関するパラメータ情報cの具体的内容としては、請求項
5に記載した本発明の車両用残量計のように、タンク1
内の液体Gの残量値を表示する際の表示更新周期に関連
する、残量値非変化判定手段31Bが変化後の残量値に
変動がないと判定する基準となる連続回数である第2所
定回数bと、請求項6に記載した本発明の車両用残量計
のように、残量値信号を生成する周期である出力周期時
間T3とのうちいずれか一方、或は、両方とすることが
できる。
The concrete contents of the parameter information c regarding the time to be placed during the generation of the remaining amount value signal are the same as the vehicle fuel gauge according to the present invention described in claim 5.
The number of consecutive times that is the reference number relating to the display update cycle when displaying the remaining amount value of the liquid G in 2 One of the predetermined number of times b and the output cycle time T3 which is the cycle for generating the remaining amount value signal as in the vehicle fuel gauge according to the present invention, or both. can do.

【0021】また、パラメータ保持手段33Aの具体的
内容としては、請求項7に記載した本発明の車両用残量
計のように、不揮発性メモリ33で構成してもよく、或
は、請求項8に記載した本発明の車両用残量計のよう
に、ICカード読出器33aとICカード33bで構成
してもよい。
Further, the concrete contents of the parameter holding means 33A may be constituted by the non-volatile memory 33 as in the vehicle fuel gauge of the present invention described in claim 7, or, Like the vehicle fuel gauge of the present invention described in 8, the IC card reader 33a and the IC card 33b may be used.

【0022】[0022]

【発明の実施の形態】以下、本発明による車両用残量計
の実施形態を、図面を参照して以下に説明する。図2は
本発明の一実施形態による車両用残量計の概略構成を一
部ブロックにて示す説明図である。図中3で示す本実施
形態による車両用残量計(以下、残量計と略記する)
は、ガソリンタンク1に配設される液面検出センサ4
と、車両のメータパネル(図示せず)に配設されるデジ
タル式の燃料ゲージ9と、これらの間に介設される残量
算出装置(以下、算出装置と略記する)3とを有してい
る。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of a fuel gauge for a vehicle according to the present invention will be described below with reference to the drawings. FIG. 2 is an explanatory diagram showing a schematic block diagram of a fuel gauge for a vehicle according to an embodiment of the present invention. A vehicle fuel gauge according to the present embodiment shown by 3 in the drawing (hereinafter, abbreviated as fuel gauge)
Is a liquid level detection sensor 4 provided in the gasoline tank 1.
And a digital fuel gauge 9 arranged on a meter panel (not shown) of the vehicle, and a residual amount calculation device (hereinafter abbreviated as a calculation device) 3 interposed therebetween. ing.

【0023】前記ガソリンタンク1は、車両(図示せ
ず)の例えば後方側部のキャップ13により開閉される
給油口11にパイプ15を介して接続されており、ガソ
リンスタンド等において給油ノズルNから給油口11に
注ぎ込まれるガソリンG(液体に相当)が内部に溜るよ
うに構成されている。尚、図中では、ガソリンタンク1
をパイプ15等に対して小さい縮尺で模式的に示してい
る。前記ガソリンタンク1には、内部のガソリン残量を
計測するためのフロート5及びポテンショメータ7が付
設されている。
The gasoline tank 1 is connected via a pipe 15 to an oil supply port 11 which is opened and closed by a cap 13 on the rear side of a vehicle (not shown), for example. Gasoline G (corresponding to a liquid) poured into the mouth 11 is configured to accumulate inside. In the figure, 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 amount of gasoline remaining inside.

【0024】前記液面検出センサ4は、フロート5とポ
テンショメータ7を備えている。前記フロート5は、ガ
ソリンGによる侵食に対する耐性に富んだ材質により、
ガソリンGの液面G1に浮遊できるように比較的軽量に
形成されている。前記ポテンショメータ7は、前記フロ
ート5を揺動可能に支持するフロートアーム71と、こ
のフロートアーム71を揺動可能に支持する支軸73
と、この支軸73を介して前記フロートアーム71に連
結されこのフロートアーム71と一体に揺動する揺動ア
ーム75と、例えば巻線抵抗からなり一端が接地された
センダ抵抗Rxとを備えている。前記ポテンショメータ
7は、フロート5がガソリンGの液面G1に追従して昇
降し、これに伴いフロートアーム71及び揺動アーム7
5が一体に揺動することで、この揺動アーム75の先端
の摺動接点75aがセンダ抵抗Rx上を摺動し、この摺
動接点75の摺動位置に応じてセンダ抵抗Rxの抵抗値
rxが、ガソリンタンク1内のガソリンGの液面G1位
置に応じて変わるように構成されている。
The liquid level detection sensor 4 comprises a float 5 and a potentiometer 7. The float 5 is made of a material highly resistant to erosion by gasoline G,
It is formed to be relatively lightweight so that it can float on the liquid surface G1 of the gasoline G. The potentiometer 7 includes a float arm 71 that swingably supports the float 5, and a support shaft 73 that swingably supports the float arm 71.
A swing arm 75 that is connected to the float arm 71 via the support shaft 73 and swings integrally with the float arm 71; and a sender resistor Rx that is made of, for example, a winding resistor and has one end grounded. There is. In the potentiometer 7, 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 7 are accompanied by this.
When 5 swings integrally, the sliding contact 75a at the tip of the swing arm 75 slides on the sender resistance Rx, and the resistance value of the sender resistance Rx depends on the sliding position of the sliding contact 75. rx is configured to change depending on the position of the liquid level G1 of the gasoline G in the gasoline tank 1.

【0025】尚、図中では、ガソリンタンク1の外側に
配置したポテンショメータ7を示しているが、ポテンシ
ョメータ7をガソリンタンク1内外のどちらに配置する
かは任意である。また、図中では、図面の見易さのため
に、揺動アーム75とその摺動接点75a、及び、セン
タ抵抗Rxをそれぞれ記号化して示している。
Although the potentiometer 7 arranged outside the gasoline tank 1 is shown in the drawing, the potentiometer 7 may be arranged inside or outside the gasoline tank 1. Further, in the drawings, the swing arm 75, its sliding contact 75a, and the center resistance Rx are each symbolized for easy understanding of the drawing.

【0026】前記燃料ゲージ9は、ガソリンタンク1内
のガソリンGの残量に応じた数だけ点灯される複数個の
セグメント9aを有しており、蛍光表示管(VFT)や
液晶表示板(LCD)等により構成されている。
The fuel gauge 9 has a plurality of segments 9a that are turned on according to the remaining amount of gasoline G in the gasoline tank 1, and includes a fluorescent display tube (VFT) and a liquid crystal display panel (LCD). ) And the like.

【0027】前記算出装置3は、前記ポテンショメータ
7の支軸73が接続される入力端子Iaと、この入力端
子Iaに接続され前記燃料ゲージ9の駆動装置としても
機能するマイコン(以下、CPUと称する)31と、こ
のCPU31に接続された不揮発性メモリ(以下、NV
Mと称する)33とを有している。
The calculation device 3 has an input terminal Ia to which the support shaft 73 of the potentiometer 7 is connected and a microcomputer (hereinafter referred to as CPU) which is connected to the input terminal Ia and also functions as a drive device for the fuel gauge 9. ) 31 and a non-volatile memory (hereinafter, NV) connected to the CPU 31.
33).

【0028】前記入力端子IaとCPU31を接続する
信号ラインLは、算出装置3内部のプルアップ電源Vb
及びプルアップ抵抗Rbによりプルアップされており、
前記燃料ゲージ9は、算出装置3の出力端子Ic及びド
ライバ35aを介して前記CPU31に接続されてい
る。
The signal line L connecting the input terminal Ia and the CPU 31 is connected to the pull-up power source Vb inside the calculation device 3.
And is pulled up by the pull-up resistor Rb,
The fuel gauge 9 is connected to the CPU 31 via the output terminal Ic of the calculation device 3 and the driver 35a.

【0029】また、前記算出装置3は、補助入力端子I
bと、この補助入力端子IbをCPU31に接続するイ
ンタフェース(以下、I/Fと称する)37をさらに備
えている。前記補助入力端子Ibには、前記ポテンショ
メータ7の入力端子Iaへの接続時に信号ラインLに発
生するセンダ出力Sから、燃料ゲージ9の表示内容を算
出する際に適用する、ガソリンタンク1の形状や車両の
静止時及び走行時のそれぞれのセンダ出力Sの特性に応
じた条件データを入力するための条件データ書込器11
が接続され、前記I/F37は、前記補助入力端子Ib
を経由してCPU31と条件データ書込器11との間で
伝送されるデータの通信フォーマットを調整する。そし
て、条件データ書込器11から補助入力端子Ib及びI
/F37を経由してCPU31に入力される条件データ
は、NVM33に書き込まれる。
The calculating device 3 has an auxiliary input terminal I
b, and an interface (hereinafter referred to as I / F) 37 for connecting the auxiliary input terminal Ib to the CPU 31. The auxiliary input terminal Ib has a shape of the gasoline tank 1 which is applied when calculating the display content of the fuel gauge 9 from the sender output S generated on the signal line L when the potentiometer 7 is connected to the input terminal Ia. Condition data writer 11 for inputting condition data according to the characteristics of the sender output S when the vehicle is stationary and when the vehicle is running
And the I / F 37 is connected to the auxiliary input terminal Ib.
The communication format of the data transmitted between the CPU 31 and the condition data writer 11 via the is adjusted. Then, from the condition data writer 11 to the auxiliary input terminals Ib and Ib
The condition data input to the CPU 31 via the / F37 is written in the NVM 33.

【0030】前記CPU31は、前記センダ出力Sをデ
ジタル変換するA/Dコンバータ31aと、RAM31
b及びROM31cとを備えている。前記RAM31b
には、NVM33から読み出される条件データが格納さ
れるデータエリアと、各種処理作業に用いるワークエリ
アとが設けられており、このワークエリアには、図3に
メモリエリアマップで示すように、イグニッションフラ
グ、更新表示値確定フラグ、更新表示値仮設定フラグ、
前回表示値データバッファ、今回表示値データバッフ
ァ、表示セグメント数データバッファ、サンプリング回
数カウンタ、平均化回数カウンタ、表示値連続回数カウ
ンタ、サンプリングタイマ、更新周期タイマの各エリア
が設けられている。前記ROM31cには、CPU31
に各種処理動作を行わせるための制御プログラムが格納
されている。
The CPU 31 has an A / D converter 31a for digitally converting the sender output S and a RAM 31.
b and the ROM 31c. RAM 31b
Is provided with a data area for storing condition data read from the NVM 33 and a work area used for various kinds of processing work. In this work area, as shown by a memory area map in FIG. Update display value confirmation flag, Update display value temporary setting flag,
Areas of a previous display value data buffer, a current display value data buffer, a display segment number data buffer, a sampling number counter, an averaging number counter, a display value continuous number counter, a sampling timer, and an update cycle timer are provided. The ROM 31c has a CPU 31
A control program for causing various processing operations to be stored in is stored.

【0031】前記条件データ書込器11は、NVM33
に書き込む前記条件データ(請求項中のパラメータ情報
cに相当)を入力設定するテンキー等の操作部(図示せ
ず)や、この操作部の操作により入力設定された条件デ
ータを確認のために表示する表示部(図示せず)等を有
している。
The condition data writer 11 uses the NVM 33.
An operation unit (not shown) such as a ten-key pad for inputting and setting the condition data (corresponding to the parameter information c in the claims) to be written in and the condition data input and set by the operation of the operation unit are displayed for confirmation. The display section (not shown) and the like are provided.

【0032】そして、本実施形態では、前記条件データ
として、平均化処理回数a(第1所定回数に相当)、表
示値連続回数b(第2所定回数に相当)、並びに、表示
更新周期T3(単位=分、出力周期時間に相当)が条件
データ書込器11により入力設定されて、NVM33に
あらかじめ書き込まれている。
In this embodiment, as the condition data, the number of times of averaging processing a (corresponding to the first predetermined number of times), the number of consecutive display values b (corresponding to the second predetermined number of times), and the display update cycle T3 ( (Unit = minute, corresponding to output cycle time) is input and set by the condition data writer 11 and written in the NVM 33 in advance.

【0033】尚、図中の条件データ書込器11と補助入
力端子Ibとを接続する破線は、NVM33に書き込む
条件データを条件データ書込器11から入力設定する際
に限って選択的に接続されることを示し、この際、支軸
73と入力端子Iaの間の接続は外される。
The broken line connecting the condition data writer 11 and the auxiliary input terminal Ib in the figure is selectively connected only when the condition data to be written in the NVM 33 is input from the condition data writer 11. In this case, the connection between the support shaft 73 and the input terminal Ia is disconnected.

【0034】次に、前記ROM31cに格納されたプロ
グラムに従いCPU31が行う処理を、図4乃至図7の
フローチャートを参照して説明する。
Next, the processing performed by the CPU 31 in accordance with the program stored in the ROM 31c will be described with reference to the flowcharts of FIGS.

【0035】ROM31cのプログラムがスタートする
と、CPU31は、図7のフローチャートに示すよう
に、初期設定を行う(ステップS1)。
When the program of the ROM 31c is started, the CPU 31 performs initial setting as shown in the flowchart of FIG. 7 (step S1).

【0036】ステップS1の初期設定においては、RA
M31bのイグニッションフラグ、更新表示値確定フラ
グ、及び、更新表示値仮設定フラグの各エリアのフラグ
F1,F3,F5をそれぞれ「0」に設定すると共に、
前回表示値データバッファエリアの格納値n、今回表示
値データバッファエリアの格納値N、及び、表示セグメ
ント数データバッファの格納値Mをそれぞれゼロリセッ
トする。また、前記初期設定においては、RAM31b
のサンプリング回数カウンタエリアのカウンタ値Cs、
平均化回数カウンタエリアのカウンタ値Ca、及び、表
示値連続回数カウンタエリアのカウンタ値Cbをそれぞ
れゼロリセットすると共に、サンプリングタイマエリア
のタイマ値Ta、及び、更新周期タイマエリアのタイマ
値Tbをそれぞれゼロリセットする。
In the initial setting of step S1, RA
The flags F1, F3, and F5 in each area of the ignition flag, the update display value confirmation flag, and the update display value provisional setting flag of M31b are set to “0”, respectively, and
The stored value n in the previous display value data buffer area, the stored value N in the current display value data buffer area, and the stored value M in the display segment number data buffer are each reset to zero. In the initial setting, the RAM 31b
Counter value Cs of the sampling number counter area of
The counter value Ca of the averaging number counter area and the counter value Cb of the display value continuous number counter area are reset to zero, respectively, and the timer value Ta of the sampling timer area and the timer value Tb of the update period timer area are set to zero. Reset.

【0037】ステップS1の初期設定が済んだならば、
次に、平均化処理回数a、表示値連続回数b、並びに、
表示更新周期T3(単位=分)の各条件データを、NV
M33から読み込んで、RAM31bのデータエリアに
書き込み、(ステップS3)、続いて、不図示のイグニ
ッションスイッチ(IGN)がオンであるか否かを確認
する(ステップS5)。
When the initial setting in step S1 is completed,
Next, the number of times of averaging processing a, the number of consecutive display values b, and
Set each condition data of the display update cycle T3 (unit = minute) to NV
It is read from M33, written in the data area of the RAM 31b (step S3), and then it is confirmed whether or not an ignition switch (IGN) (not shown) is on (step S5).

【0038】イグニッションスイッチがオンである場合
は(ステップS5でY)、後述するステップS29に進
み、オンでない場合は(ステップS5でN)、RAM3
1bのイグニッションフラグエリアのフラグF1が
「0」であるか否かを確認し(ステップS7)、フラグ
F1が「0」である場合は(ステップS7でY)、ステ
ップS5にリターンし、フラグF1が「0」でない場合
は(ステップS7でN)、RAM31bのサンプリング
タイマエリアにおけるタイムカウントを停止した後(ス
テップS9)、RAM31bのサンプリング回数カウン
タエリアのカウンタ値Csが「0」であるか否かを確認
する(ステップS11)。サンプリング回数カウンタエ
リアのカウンタ値Csが「0」である場合は(ステップ
S11でY)、後述するステップS15に進み、カウン
タ値Csが「0」でない場合は(ステップS11で
N)、カウンタ値Csをゼロリセットした後(ステップ
S13)、ステップS15に進む。
If the ignition switch is on (Y in step S5), the process proceeds to step S29, which will be described later, and if not (N in step S5), RAM3
It is confirmed whether or not the flag F1 in the ignition flag area of 1b is "0" (step S7). If the flag F1 is "0" (Y in step S7), the process returns to step S5, and the flag F1 is returned. Is not "0" (N in step S7), after the time count in the sampling timer area of the RAM 31b is stopped (step S9), whether or not the counter value Cs of the sampling number counter area of the RAM 31b is "0". Is confirmed (step S11). When the counter value Cs of the sampling number counter area is "0" (Y in step S11), the process proceeds to step S15 described later, and when the counter value Cs is not "0" (N in step S11), the counter value Cs After zero resetting (step S13), the process proceeds to step S15.

【0039】ステップS15では、RAM31bの平均
化回数カウンタエリアのカウンタ値Caが「0」である
か否かを確認し、カウンタ値Caが「0」である場合は
(ステップS15でY)、後述するステップS19に進
み、カウンタ値Caが「0」でない場合は(ステップS
15でN)、カウンタ値Caをゼロリセットした後(ス
テップS17)、ステップS19に進む。ステップS1
9では、RAM31bの表示値連続回数カウンタエリア
のカウンタ値Cbが「0」であるか否かを確認し、カウ
ンタ値Cbが「0」である場合は(ステップS19で
Y)、後述するステップS23に進み、カウンタ値Cb
が「0」でない場合は(ステップS19でN)、カウン
タ値Cbをゼロリセットした後(ステップS21)、ス
テップS23に進む。
In step S15, it is confirmed whether or not the counter value Ca in the averaging number counter area of the RAM 31b is "0". If the counter value Ca is "0" (Y in step S15), it will be described later. If the counter value Ca is not "0" (step S19)
After 15), the counter value Ca is reset to zero (step S17), and the process proceeds to step S19. Step S1
In 9, it is confirmed whether or not the counter value Cb of the display value consecutive number counter area of the RAM 31b is "0". If the counter value Cb is "0" (Y in step S19), step S23 described later is performed. To the counter value Cb
Is not "0" (N in step S19), the counter value Cb is reset to zero (step S21), and then the process proceeds to step S23.

【0040】ステップS23では、RAM31bの更新
周期タイマエリアにおけるタイムカウントを開始し、次
に、サンプリングタイマエリアのタイマ値Taをゼロリ
セットし(ステップS25)、続いて、イグニッション
フラグエリアのフラグF1を「0」に設定した後(ステ
ップS27)、ステップS5にリターンする。
In step S23, time counting in the update cycle timer area of the RAM 31b is started, the timer value Ta in the sampling timer area is reset to zero (step S25), and then the flag F1 in the ignition flag area is set to " After setting to "0" (step S27), the process returns to step S5.

【0041】また、ステップS5においてイグニッショ
ンスイッチがオンである場合(Y)に進むステップS2
9では、RAM31bの更新表示値確定フラグエリアの
フラグF3が「0」であるか否かを確認し、フラグF3
が「0」である場合は(ステップS29でY)、後述す
るステップS33に進み、フラグF3が「0」でない場
合は(ステップS29でN)、RAM31bの更新表示
値仮設定フラグのフラグF5が「0」であるか否かを確
認する(ステップS31)。更新表示値仮設定フラグエ
リアのフラグF5が「0」である場合は(ステップS3
1でY)、後述するステップS73に進み、フラグF5
が「0」でない場合は(ステップS31でN)、ステッ
プS33に進む。
If the ignition switch is turned on in step S5 (Y), the process proceeds to step S2.
9, it is confirmed whether the flag F3 in the update display value confirmation flag area of the RAM 31b is "0", and the flag F3 is displayed.
Is "0" (Y in step S29), the process proceeds to step S33, which will be described later. If the flag F3 is not "0" (N in step S29), the flag F5 of the update display value temporary setting flag in the RAM 31b is set. It is confirmed whether it is "0" (step S31). If the flag F5 in the update display value temporary setting flag area is "0" (step S3
1 and Y), the process proceeds to step S73 described later, and the flag F5
Is not “0” (N in step S31), the process proceeds to step S33.

【0042】ステップS33では、イグニッションフラ
グエリアのフラグF1が「0」であるか否かを確認し、
フラグF1が「0」でない場合は(ステップS33で
N)、後述するステップS37に進み、フラグF1が
「0」である場合は(ステップS33でY)、サンプリ
ングタイマエリアにおけるタイムカウントを開始した後
(ステップS35)、ステップS37に進む。ステップ
S37では、サンプリングタイマエリアのタイマ値Ta
が所定のサンプリング周期時間T1に達したか否かを確
認し、タイマ値Taがサンプリング周期時間T1に達し
ていない場合は(ステップS37でN)、ステップS7
3に進み、達した場合は(ステップS37でY)、ステ
ップS39に進む。
In step S33, it is confirmed whether or not the flag F1 in the ignition flag area is "0",
If the flag F1 is not "0" (N in step S33), the process proceeds to step S37 described later, and if the flag F1 is "0" (Y in step S33), after the time count in the sampling timer area is started. (Step S35), the process proceeds to step S37. In step S37, the timer value Ta in the sampling timer area
Has reached a predetermined sampling cycle time T1, and if the timer value Ta has not reached the sampling cycle time T1 (N in step S37), step S7
If it has reached 3 (Y in step S37), the process proceeds to step S39.

【0043】ステップS39では、図5のフローチャー
トに示すように、信号ラインLに発生するセンダ出力S
をA/Dコンバータ31aでデジタル変換し、次に、サ
ンプリング回数カウンタエリアのカウンタ値Csを
「1」インクリメントした後(ステップS41)、カウ
ンタ値Csが所定のサンプリング回数αに達したか否か
を確認する(ステップS43)。サンプリング回数カウ
ンタエリアのカウンタ値Csがサンプリング回数αに達
していない場合は(ステップS43でN)、ステップS
73に進み、カウンタ値Csがサンプリング回数αに達
した場合は(ステップS43でY)、A/Dコンバータ
31aでデジタル変換したサンプリング回数α分のセン
ダ出力SのA/D値を、サンプリング回数αにより平均
化し(ステップS45)、カウンタ値Csをゼロリセッ
トした後(ステップS47)、イグニッションフラグエ
リアのフラグF1が「0」であるか否かを確認する(ス
テップS49)。
In step S39, as shown in the flowchart of FIG. 5, the sender output S generated on the signal line L is sent.
Is digitally converted by the A / D converter 31a, and then the counter value Cs in the sampling number counter area is incremented by "1" (step S41). Then, it is determined whether the counter value Cs has reached the predetermined sampling number α. Confirm (step S43). If the counter value Cs in the sampling number counter area has not reached the sampling number α (N in step S43), step S
If the counter value Cs reaches the sampling number α (Y in step S43), the A / D value of the sender output S for the sampling number α digitally converted by the A / D converter 31a is changed to the sampling number α. After averaging (step S45) and resetting the counter value Cs to zero (step S47), it is confirmed whether or not the flag F1 in the ignition flag area is "0" (step S49).

【0044】イグニッションフラグエリアのフラグF1
が「0」でない場合は(ステップS49でN)、後述す
るステップS65に進み、フラグF1が「0」である場
合は(ステップS49でY)、ステップS45で平均化
したサンプリング回数α分のセンダ出力SのA/D値か
ら、表示値データNを生成して、RAM31bの今回表
示値データバッファエリアに格納値Nとして格納した後
(ステップS51)、ステップS53に進む。ステップ
S53では、RAM31bの表示セグメント数データバ
ッファの格納値Mを、ステップS51で今回表示値デー
タバッファエリアに格納した格納値Nに更新し、次に、
表示セグメント数データバッファの格納値Mに応じて、
ドライバ35aに表示信号を出力して、燃料ゲージ9の
セグメント9aの点灯個数が格納値Mと同じ個数となる
ように燃料ゲージ9の表示状態を更新した後(ステップ
S55)、ステップS57に進む。
Flag F1 in the ignition flag area
Is not "0" (N in step S49), the process proceeds to step S65 described later, and if the flag F1 is "0" (Y in step S49), the sender for the sampling number α averaged in step S45 is sent. After the display value data N is generated from the A / D value of the output S and stored as the stored value N in the current display value data buffer area of the RAM 31b (step S51), the process proceeds to step S53. In step S53, the stored value M of the display segment number data buffer of the RAM 31b is updated to the stored value N stored in the current display value data buffer area in step S51, and then,
Depending on the value M stored in the display segment count data buffer,
After outputting the display signal to the driver 35a and updating the display state of the fuel gauge 9 so that the number of the lighted segments 9a of the fuel gauge 9 becomes the same as the stored value M (step S55), the process proceeds to step S57.

【0045】ステップS57では、RAM31bの前回
表示値データバッファエリアの格納値nを、ステップS
51で今回表示値データバッファエリアに格納した格納
値Nに更新し、次に、サンプリングタイマエリアのタイ
マ値Taをゼロリセットし(ステップS59)、続い
て、RAM31bの更新周期タイマエリアにおけるタイ
ムカウントを開始し(ステップS61)、さらに、イグ
ニッションフラグエリアのフラグF1を「0」に設定し
た後(ステップS63)、図4のステップS5にリター
ンする。
In step S57, the value n stored in the previous display value data buffer area of the RAM 31b is set to step S57.
At 51, the stored value N stored in the display value data buffer area this time is updated, then the timer value Ta in the sampling timer area is reset to zero (step S59), and then the time count in the update cycle timer area of the RAM 31b is changed. After starting (step S61) and setting the flag F1 of the ignition flag area to "0" (step S63), the process returns to step S5 of FIG.

【0046】また、ステップS49においてイグニッシ
ョンフラグエリアのフラグF1が「0」でない場合
(N)に進むステップS65では、平均化回数カウンタ
エリアのカウンタ値Caを「1」インクリメントし、次
に、カウンタ値CaがRAM31bのデータエリアに格
納された前記平均化処理回数aであるか否かを確認し
(ステップS67)、カウンタ値Caが平均化処理回数
aでない場合は(ステップS67でN)、ステップS7
3に進む。また、ステップS67においてカウンタ値C
aが平均化処理回数aである場合(Y)は、ステップS
45でサンプリング回数α分のセンダ出力Sを平均化し
て得た、平均化処理回数a回分のA/D値から表示値デ
ータNを生成して、RAM31bの今回表示値データバ
ッファエリアに格納値Nとして格納し(ステップS6
9)、次に、平均化回数カウンタエリアのカウンタ値C
aをゼロリセットした後(ステップS71)、ステップ
S73に進む。
When the flag F1 of the ignition flag area is not "0" in step S49 (N), the counter value Ca in the averaging number counter area is incremented by "1" in step S65, and then the counter value It is confirmed whether or not Ca is the averaging process count a stored in the data area of the RAM 31b (step S67). If the counter value Ca is not the averaging process count a (N in step S67), step S7 is performed.
Proceed to 3. Further, in step S67, the counter value C
If a is the number of times of averaging processing a (Y), step S
The display value data N is generated from the A / D value of the averaging processing times a times obtained by averaging the sender output S for the sampling times α in 45, and the stored value N is stored in the current display value data buffer area of the RAM 31b. Stored as (step S6
9) Next, the counter value C in the averaging number counter area
After zero resetting a (step S71), the process proceeds to step S73.

【0047】ステップS73では、RAM31bの更新
周期タイマエリアのタイマ値Tbが、RAM31bのデ
ータエリアに格納された前記表示更新周期T3に達した
か否かを確認し、タイマ値Tbが表示更新周期T3に達
していない場合は(ステップS73でN)、後述するス
テップS79に進み、達した場合は(ステップS73で
Y)、表示セグメント数データバッファの格納値Mに応
じて燃料ゲージ9の表示状態を更新し(ステップS7
5)、更新周期タイマエリアのタイマ値Tbをゼロリセ
ットした後(ステップS77)、後述するステップS1
25に進む。
In step S73, it is confirmed whether or not the timer value Tb of the update cycle timer area of the RAM 31b has reached the display update cycle T3 stored in the data area of the RAM 31b, and the timer value Tb indicates the display update cycle T3. If not reached (N in step S73), the process proceeds to step S79, which will be described later, and if reached (Y in step S73), the display state of the fuel gauge 9 is changed according to the stored value M of the display segment number data buffer. Update (step S7
5) After resetting the timer value Tb of the update cycle timer area to zero (step S77), step S1 described later.
Go to 25.

【0048】また、ステップS73において更新周期タ
イマエリアのタイマ値Tbが表示更新周期T3に達して
いない場合(N)に進むステップS79では、図6のフ
ローチャートに示すように、更新表示値仮設定フラグの
フラグF5が「0」であるか否かを確認し、フラグF5
が「0」である場合は(ステップS79でY)、後述す
るステップS83に進み、フラグF5が「0」でない場
合は(ステップS79でN)、今回表示値データバッフ
ァエリアに格納されている格納値Nが、ガソリンタンク
1の満タン時における表示値データNの値Xに等しいか
否かを確認する(ステップS81)。そして、格納値N
が満タン時の表示値データNの値Xに等しくない場合は
(ステップS81でN)、図4のステップS5にリター
ンし、等しい場合は(ステップS81でY)、後述する
ステップS85に進む。
If the timer value Tb in the update cycle timer area does not reach the display update cycle T3 in step S73 (N), the update display value temporary setting flag is set in step S79 as shown in the flowchart of FIG. Whether or not the flag F5 of the flag F5 is “0”,
Is "0" (Y in step S79), the process proceeds to step S83, which will be described later, and if the flag F5 is not "0" (N in step S79), the storage value stored in the present display value data buffer area is stored. It is confirmed whether or not the value N is equal to the value X of the display value data N when the gasoline tank 1 is full (step S81). And the stored value N
Is not equal to the value X of the display value data N when the tank is full (N in step S81), the process returns to step S5 of FIG. 4, and if it is equal (Y in step S81), the process proceeds to step S85 described later.

【0049】ステップS79において更新表示値仮設定
フラグのフラグF5が「0」である場合に進むステップ
S83では、更新表示値確定フラグエリアのフラグF3
が「0」であるか否かを確認し、フラグF3が「0」で
ある場合は(ステップS83でY)、後述するステップ
S89に進み、フラグF3が「0」でない場合は(ステ
ップS83でN)、イグニッションスイッチがオンであ
るか否かを確認する(ステップS85)。そして、イグ
ニッションスイッチがオンである場合は(ステップS8
5でY)、図5のステップS73にリターンし、オンで
ない場合は(ステップS85でN)、更新表示値確定フ
ラグエリアのフラグF3を「0」に設定した後(ステッ
プS87)、図4のステップS25にリターンする。
In step S83, which is executed when the flag F5 of the update display value temporary setting flag is "0" in step S79, the flag F3 of the update display value finalization flag area is set.
Is "0", and if the flag F3 is "0" (Y in step S83), the process proceeds to step S89 described later, and if the flag F3 is not "0" (in step S83). N), and it is confirmed whether the ignition switch is on (step S85). If the ignition switch is on (step S8)
5), the process returns to step S73 in FIG. 5, and if not turned on (N in step S85), after setting the flag F3 in the update display value confirmation flag area to "0" (step S87), It returns to step S25.

【0050】また、ステップS83において更新表示値
確定フラグエリアのフラグF3が「0」である場合に進
むステップS89では、今回表示値データバッファエリ
アに格納されている格納値Nが、前回表示値データバッ
ファエリアに格納されている格納値nと等しいか否かを
確認する。そして、格納値Nが格納値nと等しい場合は
(ステップS89でY)、後述するステップS95に進
み、等しくない場合は(ステップS89でN)、前回表
示値データバッファエリアの格納値nを、今回表示値デ
ータバッファエリアの格納値Nに更新し(ステップS9
1)、表示値連続回数カウンタエリアのカウンタ値Cb
をゼロリセットした後(ステップS93)、図4のステ
ップS5にリターンする。
In step S89 to which the process proceeds when the flag F3 in the updated display value confirmation flag area is "0" in step S83, the stored value N stored in the display value data buffer area this time is changed to the previous display value data. It is confirmed whether it is equal to the stored value n stored in the buffer area. Then, if the stored value N is equal to the stored value n (Y in step S89), the process proceeds to step S95 described later, and if not (N in step S89), the stored value n in the previous display value data buffer area is set to Update the stored value N in the display value data buffer area this time (step S9
1), the counter value Cb in the continuous display value counter area
Is reset to zero (step S93), and the process returns to step S5 in FIG.

【0051】ステップS89において今回表示値データ
バッファエリアの格納値Nが前回表示値データバッファ
エリアの格納値nと等しい場合に進むステップS95で
は、表示値連続回数カウンタエリアのカウンタ値Cbを
「1」インクリメントし、次に、カウンタ値CbがRA
M31bのデータエリアに格納された前記表示値連続回
数bであるか否かを確認する(ステップS97)。表示
値連続回数カウンタエリアのカウンタ値Cbが表示値連
続回数bでない場合は(ステップS97でN)、図4の
ステップS5にリターンし、カウンタ値Cbが表示値連
続回数bである場合は(ステップS97でY)、今回表
示値データバッファエリアに格納されている格納値N
が、表示セグメント数データバッファに格納されている
格納値Mと等しいか否かを確認する(ステップS9
9)。
In step S95, when the stored value N of the present display value data buffer area is equal to the stored value n of the previous display value data buffer area, in step S95, the counter value Cb of the display value continuous number counter area is set to "1". Increment, then the counter value Cb is RA
It is confirmed whether or not the number of consecutive display values b stored in the data area of M31b is b (step S97). If the counter value Cb in the display value consecutive number counter area is not the display value consecutive number b (N in step S97), the process returns to step S5, and if the counter value Cb is the display value consecutive number b (step S97: Y), the stored value N stored in the display value data buffer area this time
Is equal to the stored value M stored in the display segment number data buffer (step S9).
9).

【0052】そして、格納値Nが格納値Mと等しい場合
は(ステップS99でY)、後述するステップS105
に進み、等しくない場合は(ステップS99でN)、表
示セグメント数データバッファの格納値Mが今回表示値
データバッファエリアの格納値Nを上回るか否かを確認
する(ステップS101)。格納値Mが格納値Nを上回
らない場合は(ステップS101でN)、後述するステ
ップS107に進み、格納値Mが格納値Nを上回る場合
は(ステップS101でY)、表示セグメント数データ
バッファの格納値Mを「1」デクリメントした後、ステ
ップS105に進む。ステップS105では、サンプリ
ングタイマエリアにおけるタイムカウントを停止し、そ
の後、後述するステップS113に進む。
When the stored value N is equal to the stored value M (Y in step S99), step S105 described later is performed.
If not equal (N in step S99), it is confirmed whether the stored value M of the display segment number data buffer exceeds the stored value N of the present display value data buffer area (step S101). If the stored value M does not exceed the stored value N (N in step S101), the process proceeds to step S107 described later, and if the stored value M exceeds the stored value N (Y in step S101), the display segment number data buffer After decrementing the stored value M by "1", the process proceeds to step S105. In step S105, the time count in the sampling timer area is stopped, and then the process proceeds to step S113 described later.

【0053】また、ステップS101において格納値M
が格納値Nを上回らない場合(N)に進むステップS1
07では、今回表示値データバッファエリアの格納値N
が、ガソリンタンク1の満タン時における表示値データ
Nの値Xに等しいか否かを確認し、格納値Nが満タン時
の表示値データNの値Xに等しい場合は(ステップS1
07でY)、後述するステップS115に進み、等しく
ない場合は(ステップS107でN)、後述するステッ
プS109に進む。ステップS109では、表示セグメ
ント数データバッファの格納値Mを「1」インクリメン
トし、次に、更新表示値仮設定フラグのフラグF5を
「1」に設定した後(ステップS111)、ステップS
113に進む。ステップS113では、更新表示値確定
フラグエリアのフラグF3を「1」に設定し、その後、
後述するステップS123に進む。
In step S101, the stored value M
Does not exceed the stored value N, go to (N) Step S1
In 07, the stored value N in the display value data buffer area this time is N.
Is equal to the value X of the display value data N when the gasoline tank 1 is full, and if the stored value N is equal to the value X of the display value data N when the tank is full (step S1
07), the process proceeds to step S115 described later, and if they are not equal (N in step S107), the process proceeds to step S109 described later. In step S109, the value M stored in the display segment number data buffer is incremented by "1", and then the flag F5 of the update display value temporary setting flag is set to "1" (step S111), and then step S111.
Proceed to 113. In step S113, the flag F3 in the update display value confirmation flag area is set to "1", and thereafter,
The process proceeds to step S123 described below.

【0054】ステップS107において今回表示値デー
タバッファエリアの格納値Nが満タン時の表示値データ
Nの値Xに等しい場合(Y)に進むステップS115で
は、表示セグメント数データバッファの格納値Mを、満
タン時の表示値データNの値Xに更新し、次に、更新表
示値仮設定フラグのフラグF5を「1」に設定する(ス
テップS117)。そして、サンプリングタイマエリア
におけるタイムカウントを停止し(ステップS11
9)、次に、サンプリングタイマエリアのタイマ値Ta
をゼロリセットした後(ステップS121)、ステップ
S123に進む。ステップS123では、表示値連続回
数カウンタエリアのカウンタ値Cbをゼロリセットし、
その後、図4のステップS5にリターンする。
In step S107, when the stored value N of the display value data buffer area this time is equal to the value X of the display value data N when the tank is full (Y), the stored value M of the display segment number data buffer is set in step S115. , The value of the display value data N when the tank is full is updated to X, and then the flag F5 of the update display value provisional setting flag is set to "1" (step S117). Then, the time counting in the sampling timer area is stopped (step S11
9) Next, the timer value Ta in the sampling timer area
After zero resetting (step S121), the process proceeds to step S123. In step S123, the counter value Cb in the display value continuous number counter area is reset to zero,
Then, the process returns to step S5 in FIG.

【0055】また、ステップS77において更新周期タ
イマエリアのタイマ値Tbをゼロリセットした後に進む
ステップS125では、図7のフローチャートに示すよ
うに、更新表示値仮設定フラグのフラグF5が「0」で
あるか否かを確認し、フラグF5が「0」である場合は
(ステップS125でY)、後述するステップS129
に進み、「0」でない場合は(ステップS125で
N)、フラグF5を「0」に設定した後(ステップS1
27)、後述するステップS15に進む。ステップS1
25において更新表示値仮設定フラグのフラグF5が
「0」である場合(Y)に進むステップS129では、
更新表示値確定フラグエリアのフラグF3が「0」であ
るか否かを確認し、フラグF3が「0」でない場合は
(ステップS129でN)、後述するステップS145
に進み、「0」である場合は(ステップS129で
Y)、表示値連続回数カウンタエリアのカウンタ値Cb
が「0」であるか否かを確認する(ステップS13
1)。
In step S125, which is executed after the timer value Tb in the update cycle timer area is reset to zero in step S77, the flag F5 of the update display value temporary setting flag is "0" as shown in the flowchart of FIG. If the flag F5 is "0" (Y in step S125), step S129 described later is performed.
If it is not "0" (N in step S125), the flag F5 is set to "0" (step S1).
27), and proceeds to step S15 described later. Step S1
When the flag F5 of the update display value provisional setting flag is "0" in 25 (Y), in step S129,
It is confirmed whether or not the flag F3 in the update display value confirmation flag area is "0", and if the flag F3 is not "0" (N in step S129), step S145 described later.
If it is "0" (Y in step S129), the counter value Cb of the display value continuous number counter area is
It is confirmed whether is "0" (step S13).
1).

【0056】表示値連続回数カウンタエリアのカウンタ
値Cbが「0」である場合は(ステップS131で
Y)、後述するステップS135に進み、カウンタ値C
bが「0」でない場合は(ステップS131でN)、カ
ウンタ値Cbをゼロリセットした後(ステップS13
3)、ステップS135に進む。ステップS135で
は、平均化回数カウンタエリアのカウンタ値Caが
「0」であるか否かを確認し、カウンタ値Caが「0」
である場合は(ステップS135でY)、後述するステ
ップS139に進み、「0」でない場合は(ステップS
135でN)、カウンタ値Caをゼロリセットした後
(ステップS137)、ステップS139に進む。
When the counter value Cb in the display value continuous number counter area is "0" (Y in step S131), the process proceeds to step S135 described later, and the counter value C
If b is not "0" (N in step S131), the counter value Cb is reset to zero (step S13).
3), the process proceeds to step S135. In step S135, it is confirmed whether or not the counter value Ca in the averaging number counter area is "0", and the counter value Ca is "0".
If it is (Y in step S135), the process proceeds to step S139 described later, and if it is not "0" (step S135).
After 135 resets the counter value Ca to zero (step S137), the process proceeds to step S139.

【0057】ステップS139では、サンプリング回数
カウンタエリアのカウンタ値Csが「0」であるか否か
を確認し、カウンタ値Csが「0」でない場合は(ステ
ップS139でN)、後述するステップS143に進
み、「0」である場合は(ステップS139でY)、表
示値連続回数カウンタエリアのカウンタ値Cbをゼロリ
セットし(ステップS141)、サンプリングタイマエ
リアのタイマ値Taをゼロリセットした後(ステップS
143)、図4のステップS5にリターンする。
In step S139, it is confirmed whether or not the counter value Cs in the sampling number counter area is "0". If the counter value Cs is not "0" (N in step S139), the process proceeds to step S143 described later. If it is "0" (Y in step S139), the counter value Cb in the display value consecutive number counter area is reset to zero (step S141), and the timer value Ta in the sampling timer area is reset to zero (step S).
143), and returns to step S5 in FIG.

【0058】また、ステップS129において更新表示
値確定フラグエリアのフラグF3が「0」でない場合
(N)に進むステップS145では、フラグF3を
「0」に設定し、次に、サンプリングタイマエリアのタ
イマ値Taをゼロリセットし(ステップS147)、次
に、サンプリングタイマエリアにおけるタイムカウント
を開始した後(ステップS149)、図4のステップS
5にリターンする。
If the flag F3 in the update display value confirmation flag area is not "0" in step S129 (N), the flag F3 is set to "0" in step S145, and then the timer in the sampling timer area is set. After resetting the value Ta to zero (step S147) and then starting time counting in the sampling timer area (step S149), step S of FIG.
Return to step 5.

【0059】尚、上述した説明からも明らかなように、
本実施形態では、請求項中の残量値変化判定手段31A
と残量値非変化判定手段31Bが図6のフローチャート
におけるステップS89で構成され、残量値算出手段3
1Fが図5のフローチャートにおけるステップS69で
構成されている。また、本実施形態では、請求項中の残
量値信号生成手段31Dが図5中のS75で構成され、
出力許可手段31Eが図5中のステップS73で構成さ
れ、これら残量値信号生成手段31Dと出力許可手段3
1Eで残量値信号出力手段31Cが構成されている。
As is clear from the above description,
In the present embodiment, the remaining amount value change determining means 31A in the claims.
6 and the remaining amount non-change determination means 31B are configured in step S89 in the flowchart of FIG.
1F is composed of step S69 in the flowchart of FIG. Further, in the present embodiment, the remaining amount value signal generating means 31D in the claims is constituted by S75 in FIG.
The output permission means 31E is configured in step S73 in FIG. 5, and these remaining amount signal generation means 31D and output permission means 3 are provided.
1E constitutes the remaining amount value signal output means 31C.

【0060】次に、上述のように構成された本実施形態
による残量計3の動作(作用)について説明する。
Next, the operation (action) of the fuel gauge 3 according to the present embodiment configured as described above will be described.

【0061】まず、イグニッションスイッチをオフから
オンにすると、それから所定のサンプリング周期時間T
1毎に、信号ラインLに発生するセンダ出力SがA/D
コンバータ31aによりA/D値にデジタル変換され、
このセンダ出力Sがサンプリング回数α分A/D値にデ
ジタル変換されると、そのサンプリング回数α分のA/
D値が平均化されて、第1回目の表示値データNが生成
される。そして、イグニッションスイッチのオフからオ
ンへの切り換え直後は、表示セグメント数Mが第1回目
の表示値データNと同じ数に設定され、燃料ゲージ9の
セグメント9aが、ガソリンGの残量の少ない側に対応
するセグメント9a側から、表示セグメント数M分だけ
点灯される。
First, when the ignition switch is turned on, the predetermined sampling cycle time T
For each 1, the sender output S generated on the signal line L is A / D
Digitally converted into an A / D value by the converter 31a,
When the sender output S is digitally converted into an A / D value corresponding to the sampling number α, the A / D value corresponding to the sampling number α is obtained.
The D values are averaged to generate the first display value data N. Immediately after the ignition switch is switched from OFF to ON, the number of display segments M is set to the same number as the display value data N of the first time, and the segment 9a of the fuel gauge 9 is on the side where the remaining amount of gasoline G is small. From the side of the segment 9a corresponding to, the number of display segments M is turned on.

【0062】その後は、表示更新周期T3が経過するま
での間、前記サンプリング周期時間T1毎にセンダ出力
SがA/Dコンバータ31aによってA/D値にデジタ
ル変換され、センダ出力Sがサンプリング回数α分A/
D値にデジタル変換される毎に、それらサンプリング回
数α分のA/D値が平均化されて、表示値データNが生
成される。そして、上述のようにして生成された表示値
データNが、前回の表示値データnに対して変化した場
合、表示更新周期T3の経過前に、その変化後の表示値
データNが表示値連続回数b分連続すると、表示セグメ
ント数Mが更新される。
After that, until the display update cycle T3 elapses, the sender output S is digitally converted into an A / D value by the A / D converter 31a every sampling cycle time T1, and the sender output S is sampled a number of times α. Minute A /
Each time the digital value is converted into the D value, the A / D values corresponding to the sampling times α are averaged to generate the display value data N. Then, when the display value data N generated as described above changes with respect to the previous display value data n, the display value data N after the change is the display value continuous before the elapse of the display update period T3. When the number of times b continues, the number of display segments M is updated.

【0063】尚、表示値連続回数b分連続した変化後の
表示値データNの値が、変化前の表示値データNの値に
対して2つ以上の差がある場合には、更新される表示セ
グメント数Mの値は、変化前の表示値データNに±1し
た値に抑えられる。また、表示セグメント数Mが更新さ
れた以後は、サンプリング周期時間T1毎のセンダ出力
SのA/D値へのデジタル変換動作と、サンプリング回
数α分のA/D値の平均化による表示値データNの生成
動作と、変化後の表示値データNが表示値連続回数b分
連続することによる表示セグメント数Mの更新動作が、
表示更新周期T3が経過し終えるまでの間中止されて、
表示セグメント数Mが更新後の値に固定される。
When the value of the display value data N after the change, which is continuous by the number of times of the display value continuation, has a difference of two or more from the value of the display value data N before the change, the value is updated. The value of the display segment number M is suppressed to a value that is ± 1 of the display value data N before the change. Further, after the display segment number M is updated, display value data is obtained by digitally converting the sender output S into an A / D value for each sampling cycle time T1 and averaging the A / D values for the sampling number α. The operation of generating N and the operation of updating the number of display segments M by the display value data N after change continuing for the number of consecutive display values b
It is canceled until the display update cycle T3 has passed,
The number of display segments M is fixed to the updated value.

【0064】さらに、表示値連続回数b分連続した変化
後の表示値データNの値が、ガソリンタンク1の満タン
時のセンダ出力Sのサンプリング回数α分を平均化して
生成される表示値データNの値Xと等しい場合は、更新
される表示セグメント数Mの値が、ガソリンタンク1の
満タンに応じた、燃料ゲージ9の全セグメント9a数に
応じた値に更新される。
Further, the value of the display value data N after being continuously changed by the display value continuous number b is the display value data generated by averaging the sampling number α of the sender output S when the gasoline tank 1 is full. When it is equal to the value X of N, the value of the display segment number M to be updated is updated to a value corresponding to the total number of segments 9a of the fuel gauge 9 according to the fullness of the gasoline tank 1.

【0065】ただし、この場合には、表示セグメント数
Mが更新後の値には固定されず、その代わりに、通常は
表示更新周期T3が経過し終えるまでの間中止される、
サンプリング周期時間T1毎のセンダ出力SのA/D値
へのデジタル変換動作と、サンプリング回数α分のA/
D値の平均化による表示値データNの生成動作と、変化
後の表示値データNが表示値連続回数b分連続すること
による表示セグメント数Mの更新動作が、いずれも、表
示更新周期T3が経過し終えるまでの間継続して行われ
る。従って、表示セグメント数Mが燃料ゲージ9の全セ
グメント9a数に応じた値に更新された場合、その後
に、ガソリンタンク1の満タン時よりも少ないセンダ出
力SのA/D値が続いて、ガソリンタンク1の満タン時
よりも少ない表示値データNが表示値連続回数b分連続
すると、表示セグメント数Mは、それから−1したM−
1の値に更新される。
However, in this case, the number M of display segments is not fixed to the value after the update, but instead, the display segment is normally stopped until the display update cycle T3 elapses.
A digital conversion operation of the sender output S into an A / D value for each sampling cycle time T1 and an A / D value corresponding to the sampling number α
The operation of generating the display value data N by averaging the D values and the operation of updating the number of display segments M by the display value data N after change continuing for the number of times of continuous display values b both have a display update cycle T3. It will continue until the end of the period. Therefore, when the display segment number M is updated to a value corresponding to the total number of the segments 9a of the fuel gauge 9, the A / D value of the sender output S, which is smaller than that when the gasoline tank 1 is full, follows. When the display value data N, which is smaller than when the gasoline tank 1 is full, continues for the display value continuous number b times, the number of display segments M becomes -1 from that
Updated to a value of 1.

【0066】そして、イグニッションスイッチのオフか
らオンへの切り換え直後に燃料ゲージ9のセグメント9
aを点灯してから表示更新周期T3が経過すると、燃料
ゲージ9のセグメント9aの点灯数が、その時点でRA
M31bに格納されている表示セグメント数Mとなるよ
うに、燃料ゲージ9の表示が更新され、それ以後は、イ
グニッションスイッチがオンからオフに切り換わるまで
の間、同様の動作が繰り返して行われる。
Immediately after the ignition switch is switched from OFF to ON, the segment 9 of the fuel gauge 9
When the display update period T3 elapses after a is turned on, the number of lights of the segment 9a of the fuel gauge 9 becomes RA at that point.
The display of the fuel gauge 9 is updated so that the number M of display segments stored in M31b is updated, and thereafter, the same operation is repeated until the ignition switch is switched from on to off.

【0067】以上に説明したように、本実施形態の車両
用液面検出センサの特性算出装置3において、ガソリン
タンク1のガソリンGの残量をセグメント9aの点灯数
により燃料ゲージ9で表示する際に用いる、NVM33
からRAM31bに読み込む条件データ、即ち、平均化
処理回数a、表示値連続回数b、並びに、表示更新周期
T3は、次のようにして決定される。
As described above, in the characteristic calculating device 3 for the vehicle liquid level detecting sensor according to the present embodiment, when the remaining amount of gasoline G in the gasoline tank 1 is displayed on the fuel gauge 9 by the number of lit segments 9a. Used for NVM33
The condition data to be read from the RAM 31b to the RAM 31b, that is, the averaging process count a, the display value continuous count b, and the display update cycle T3 are determined as follows.

【0068】まず、車両の停止状態において、ガソリン
タンク1のガソリンGの残量に応じた液面検出センサ4
のセンダ出力Sの特性、即ち、静特性を割り出し、同じ
ように、車両の走行状態において、液面検出センサ4の
センダ出力Sの特性、即ち、揺動特性を割り出す。図8
は液面検出センサ4のセンダ出力Sの静特性及び揺動特
性のそれぞれにおける、タンク1内の実残量と燃料ゲー
ジ9の表示値との相関を示すグラフであり、図8中破線
及び実線でそれぞれ示すように、センダ出力Sの静特性
Gs及び揺動特性Gdは、ガソリンタンク1の形状や容
量等に応じて車種毎にそれぞれ異なり、また、同じ車種
でも静特性Gsと揺動特性Gdとでは互いに異なる。
First, when the vehicle is stopped, the liquid level detection sensor 4 according to the remaining amount of gasoline G in the gasoline tank 1
Of the sender output S, that is, the static characteristic is determined, and similarly, the characteristic of the sender output S of the liquid level detection sensor 4, that is, the swing characteristic is determined in the traveling state of the vehicle. FIG.
8 is a graph showing the correlation between the actual remaining amount in the tank 1 and the display value of the fuel gauge 9 in each of the static characteristic and the swing characteristic of the sender output S of the liquid level detection sensor 4, and the broken line and the solid line in FIG. As shown in FIG. 5, the static characteristic Gs and the swing characteristic Gd of the sender output S are different for each vehicle type according to the shape and capacity of the gasoline tank 1, and even for the same vehicle type, the static characteristic Gs and the swing characteristic Gd. And are different from each other.

【0069】次に、車両の停止や走行に応じて実際に変
わる、液面検出センサ4のセンダ出力Sの静特性Gsや
揺動特性Gdに対する追従性よりも、ガソリンタンク1
の形状や容量等への追従性が高くなるように、車両の市
街地や高速道路での走行、停止の状態(比率)等の一般
的な走行状態を想定して、図8中に一点鎖線で示すよう
な、先に割り出した静特性Gsと揺動特性Gdの中間の
特性(以後、中間特性と称する)Gmを液面検出センサ
4のセンダ出力Sが呈するように、前記平均化処理回数
aや表示値連続回数bを車種毎に決定する。これとは別
に、上述した車両の一般的な走行状態を想定し、車両の
停止や走行に応じて液面検出センサ4のセンダ出力Sの
特性が静特性Gsと揺動特性Gdとの間で頻繁に変わ
り、センダ出力Sとそれに応じた燃料ゲージ9の点灯セ
グメント9a数が小刻みに変わらずに済むように、セン
ダ出力Sの静特性Gsと揺動特性Gdとの差に応じた前
記表示値連続回数bや表示更新周期T3を車種毎に決定
する。
Next, rather than the followability of the sender output S of the liquid level detection sensor 4 with respect to the static characteristic Gs and the swing characteristic Gd, which actually changes according to the stop or running of the vehicle, the gasoline tank 1
In order to improve the ability to follow the shape, capacity, etc. of the vehicle, the vehicle is driven in urban areas and highways, and is assumed to be a general running state such as a stopped state (ratio) As described above, the averaging process count a is set so that the sender output S of the liquid level detection sensor 4 exhibits an intermediate characteristic (hereinafter referred to as an intermediate characteristic) Gm between the previously determined static characteristic Gs and the swing characteristic Gd. The display value consecutive number b is determined for each vehicle type. Separately from this, assuming the general running state of the vehicle described above, the characteristic of the sender output S of the liquid level detection sensor 4 is between the static characteristic Gs and the swing characteristic Gd according to the stop or running of the vehicle. The display value corresponding to the difference between the static characteristic Gs and the swing characteristic Gd of the sender output S so that the sender output S and the number of the lighting segments 9a of the fuel gauge 9 corresponding to the sender output S do not change little by little. The number of consecutive times b and the display update period T3 are determined for each vehicle type.

【0070】そして、燃料計を車両に搭載する場合に
は、ポテンショメータ7の支軸73と入力端子Iaの間
の接続を外した上で、条件データ書込器11を補助入力
端子Ibに接続し、条件データ書込器11の表示部の表
示内容を確認しながら操作部を操作して、その車種に応
じた条件データを条件データ書込器11によりNVM3
3に書き込み、書込後、条件データ書込器11を補助入
力端子Ibから外し、ポテンショメータ7の支軸73を
入力端子Iaに接続する。
When the fuel gauge is mounted on the vehicle, the connection between the support shaft 73 of the potentiometer 7 and the input terminal Ia is disconnected and the condition data writer 11 is connected to the auxiliary input terminal Ib. While operating the operation unit while checking the display content of the display unit of the condition data writer 11, the condition data writer 11 supplies the condition data corresponding to the vehicle type to the NVM3.
After writing to 3 and writing, the condition data writer 11 is removed from the auxiliary input terminal Ib, and the support shaft 73 of the potentiometer 7 is connected to the input terminal Ia.

【0071】このように、本実施形態によれば、車両用
液面検出センサの特性算出装置3が、NVM33に書き
込まれた条件データを用い、液面検出センサ4のセンダ
出力Sを基にして表示セグメント数Mを決定し、その表
示セグメント数Mの数だけ燃料ゲージ9のセグメント9
aを点灯させる構成とした。
As described above, according to the present embodiment, the characteristic calculating device 3 of the vehicle liquid surface detecting sensor uses the condition data written in the NVM 33 and based on the sender output S of the liquid surface detecting sensor 4. The number of display segments M is determined, and the number of segments M of the fuel gauge 9 is equal to the number of display segments M.
It is configured to turn on a.

【0072】このため、液面検出センサ4のセンダ出力
Sの静特性Gs及び揺動特性Gdを基に、車両の市街地
や高速道路での走行、停止の状態等の一般的な走行状態
を想定して決定した車種毎の条件データ中の平均化処理
回数aと表示値連続回数bにより、液面検出センサ4の
実際のセンダ出力Sを、静特性Gsと揺動特性Gmの中
間特性に補正して、車両の停止時と走行時の両方におい
て、誤差の少ないガソリンGの残量表示を燃料ゲージ9
で行うことができる。
Therefore, on the basis of the static characteristic Gs and the swing characteristic Gd of the sender output S of the liquid level detection sensor 4, a general traveling state such as a traveling state of a vehicle in a city area or a highway, a stopped state, etc. is assumed. The actual sender output S of the liquid level detection sensor 4 is corrected to an intermediate characteristic between the static characteristic Gs and the swing characteristic Gm by the averaging processing number a and the display value continuous number b in the condition data determined for each vehicle type. The fuel gauge 9 indicates the remaining amount of gasoline G with a small error both when the vehicle is stopped and when the vehicle is running.
Can be done with

【0073】また、車種毎の条件データ中の表示値連続
回数bと表示更新周期T3により、液面検出センサ4の
実際のセンダ出力Sに応じた燃料ゲージ9によるガソリ
ンタンク1のガソリンGの残量の表示の時間に関する分
解能を、車両が坂道や曲がった道を走行する際等の、ガ
ソリンタンク1のガソリンGの残量の変化とは無関係な
液面検出センサ4のセンダ出力Sの変動の影響を略受け
ない程度に設定して、車両の姿勢等の状態に関係なく、
誤差の少ないガソリンGの残量表示を燃料ゲージ9で行
うことができる。
Further, the remaining number of gasoline G in the gasoline tank 1 by the fuel gauge 9 according to the actual sender output S of the liquid level detection sensor 4 is determined by the number of consecutive display values b in the condition data for each vehicle type and the display update period T3. The resolution of the display of the amount with respect to time is used to determine the fluctuation of the sender output S of the liquid level detection sensor 4 which is irrelevant to the change of the remaining amount of the gasoline G in the gasoline tank 1 when the vehicle runs on a slope or a curved road. Set it to a level that is not substantially affected, regardless of the posture of the vehicle, etc.
The fuel gauge 9 can display the remaining amount of gasoline G with a small error.

【0074】しかも、車種毎に異なる条件データをNV
M33に書き込んで、CPU31がRAM31bに読み
込む構成としたので、車両用液面検出センサの算出装置
3の全体を車種毎に交換する必要をなくし、NVM33
以外の部分を車種を問わずに共用化することができる。
In addition, the condition data that differs depending on the vehicle type is NV
Since the data is written in M33 and read by the CPU 31 into the RAM 31b, there is no need to replace the entire vehicle liquid level detection sensor calculation device 3 for each vehicle type, and the NVM33
Other parts can be shared regardless of vehicle type.

【0075】尚、本実施形態では、パラメータ保持手段
33Aとして、条件データ書込器11によりNVM33
に条件データを書き込むNVM33を用いたが、図9に
示すように、条件データを書き込んだICカード33b
とリーダライタ33aを代わりに用い、補助入力端子I
b及びI/F37を省略する構成としてもよい。また、
本実施形態では、セグメント9aをガソリンタンク1の
ガソリンGの残量に応じて点灯させるデジタル式の燃料
ゲージ9を用いた燃料計を例に取って説明したが、本発
明は、指針をモータにより駆動するアナログ式の燃料ゲ
ージを用いた燃料計に使用する車両用液面検出センサの
特性を補正する際にも同様に適用可能であることは言う
までもない。
In this embodiment, the condition data writer 11 is used as the parameter holding means 33A by the NVM 33.
Although the NVM 33 that writes the condition data to the IC card 33b is used, as shown in FIG.
And the reader / writer 33a are used instead, and the auxiliary input terminal I
b and the I / F 37 may be omitted. Also,
In this embodiment, the fuel meter using the digital fuel gauge 9 that lights the segment 9a according to the remaining amount of the gasoline G in the gasoline tank 1 has been described as an example. It is needless to say that the same can be applied to the correction of the characteristics of the vehicle liquid level detection sensor used in the fuel meter using the driven analog fuel gauge.

【0076】さらに、本発明は、ガソリンタンクに限ら
ず、車両に搭載されて液体を溜める、例えば、ラジエー
タやエンジンオイルタンク、ウィンドウォッシャタン
ク、パワーステアリングオイルタンク等、或は、車両以
外で用いられる貯水槽、灯油や重油といった燃焼器用の
燃料タンク等、タンク内の液体残量を計測する種々の残
量計に用いる液面検出センサの特性を補正する際に広く
適用できることは勿論のことである。
Further, the present invention is not limited to a gasoline tank, and is used for being mounted on a vehicle to store a liquid, for example, a radiator, an engine oil tank, a window washer tank, a power steering oil tank, or the like, or used other than the vehicle. It is needless to say that it can be widely applied to correct the characteristics of the liquid level detection sensor used in various fuel gauges for measuring the amount of liquid remaining in tanks such as water tanks and fuel tanks for combustors such as kerosene and heavy oil. .

【0077】[0077]

【発明の効果】以上説明したように請求項1に記載した
本発明の車両用残量計によれば、車両に搭載されたタン
ク内の液体の液面位置に応じた信号レベルで出力される
ポテンショメータのセンダ出力を、所定周期毎にサンプ
リングし、該センダ出力を連続する第1所定回数サンプ
リングする毎に、これら第1所定回数連続してサンプリ
ングした前記センダ出力を基に、前記タンク内の前記液
体の残量値を算出し表示する車両用残量計において、前
記第1所定回数連続してサンプリングしたセンダ出力を
基に前記残量値を算出する毎に、今回算出した前記残量
値が前回算出した残量値から変化したか否かを判定する
残量値変化判定手段と、前記今回算出した残量値が前回
算出した残量値から変化したと前記残量値変化判定手段
が判定した後、該今回算出した残量値が、前記第1所定
回数連続してサンプリングしたセンダ出力を基に前記残
量値を算出する毎に、第2所定回数連続して変化しなか
ったか否かを判定する残量値非変化判定手段と、前記前
回算出した残量値から変化した後、前記第2所定回数連
続して変化しなかったと前記残量値非変化判定手段が判
定した前記今回算出した残量値を表示させるための残量
値信号を生成し出力する残量値信号出力手段と、前記第
1所定回数及び前記第2所定回数をパラメータ情報とし
て保持するパラメータ保持手段とを備え、前記パラメー
タ情報を本発明の前記タンクの種別毎に設定する構成と
した。
As described above, according to the vehicular fuel gauge of the present invention as set forth in claim 1, the signal is output at the signal level corresponding to the liquid surface position of the liquid in the tank mounted on the vehicle. The sender output of the potentiometer is sampled at every predetermined cycle, and every time the sender output is sampled for the first predetermined number of times consecutively, based on the sender output sampled continuously for the first predetermined number of times, In the vehicle fuel gauge for calculating and displaying the remaining amount value of the liquid, the remaining amount value calculated this time is calculated every time the remaining amount value is calculated based on the sender output sampled continuously for the first predetermined number of times. The remaining amount value change determining means for determining whether or not there is a change from the previously calculated remaining amount value, and the remaining amount value change determining means for determining that the currently calculated remaining amount value has changed from the previously calculated remaining amount value. And then the Each time the remaining amount value calculated twice is calculated based on the sender output sampled continuously for the first predetermined number of times, it is determined whether the remaining amount value has not changed continuously for the second predetermined number of times. The quantity value non-change determining means and the presently calculated residual quantity value determined by the residual quantity non-change judging means as having not changed continuously for the second predetermined number of times after the change from the previously calculated residual quantity value. A remaining amount value signal output means for generating and outputting a remaining amount value signal for displaying, and a parameter holding means for holding the first predetermined number of times and the second predetermined number of times as parameter information. The configuration is set for each type of the tank of the present invention.

【0078】このため、タンク内の液体の残量値を算出
し表示する際に用いる、連続サンプリングセンダ出力の
数である第1所定回数と、残量値非変化判定手段が変化
後の残量値に変動がないと判定する基準となる連続回数
である第2所定回数が、タンクの種別毎に設定されるパ
ラメータ情報としてパラメータ保持手段に保持されるの
で、このパラメータ保持手段及びこれに保持させるパラ
メータ情報の内容を除き、残量計のその他の構成部分
を、タンクの種別に関係なく共用化しつつ、タンクの種
別に応じた個別の残量値算出を行うことができる。
Therefore, when the remaining amount value of the liquid in the tank is calculated and displayed, the first predetermined number of times, which is the number of continuous sampling sender outputs, and the remaining amount after the remaining amount value non-change judging means changes. The second predetermined number of times, which is the number of consecutive times that serves as a reference for determining that there is no change in the value, is held in the parameter holding unit as the parameter information set for each tank type. Except for the contents of the parameter information, other components of the fuel gauge can be shared regardless of the tank type, and individual fuel level calculation according to the tank type can be performed.

【0079】また、請求項2に記載した本発明の車両用
残量計によれば、前記パラメータ情報が、前記残量値信
号出力手段が生成する前記残量値信号の特性が、前記パ
ラメータ保持手段が設けられる前記車両の停止時におけ
る前記センダ出力の静特性と、前記車両の走行時におけ
る前記センダ出力の揺動特性との中間の特性に相似する
値にそれぞれ設定される構成とした。
Further, according to the vehicle fuel gauge of the present invention as set forth in claim 2, the parameter information indicates that the characteristic of the remaining amount signal generated by the remaining amount signal output means is the parameter holding. The static output characteristics of the sender output when the vehicle including the means is stopped and the swing characteristics of the sender output when the vehicle is running are set to values similar to each other.

【0080】このため、車両の停止時におけるセンダ出
力の静特性と、車両の走行時におけるセンダ出力の揺動
特性との間に開きがあっても、パラメータ保持手段に保
持されたタンクの種別に応じたパラメータ情報により、
静特性と揺動特性のどちらにも偏らない中間の特性で残
量値を算出、表示させ、車両の停止時及び走行時のいず
れにおいても、タンクの実残量からの誤差が少ない残量
値表示を実現することができる。
Therefore, even if there is a difference between the static characteristic of the sender output when the vehicle is stopped and the swing characteristic of the sender output when the vehicle is running, the type of the tank held in the parameter holding means is different. According to the corresponding parameter information,
The remaining amount value is calculated and displayed with an intermediate characteristic that is neither biased to static characteristics nor swing characteristics, and there is little error from the actual remaining amount of the tank when the vehicle is stopped or running. The display can be realized.

【0081】さらに、請求項3に記載した本発明の車両
用残量計によれば、前記残量値信号出力手段が、前記前
回算出した残量値から変化した後、前記第2所定回数連
続して変化しなかったと前記残量値非変化判定手段が判
定した前記今回算出した残量値を表示させるための残量
値信号を生成する残量値信号生成手段と、該残量値信号
生成手段が生成している前記残量値信号を出力周期時間
毎に出力させる出力許可手段とを有しており、前記パラ
メータ情報が、前記タンクの種別に応じて設定される前
記出力周期時間を含んでいる構成とした。
Further, according to the vehicle fuel gauge of the present invention as set forth in claim 3, after the remaining fuel amount value signal output means changes from the previously calculated remaining fuel amount value, the second predetermined number of consecutive times. Then, the remaining amount value signal generating means for generating a remaining amount value signal for displaying the remaining amount value calculated this time, which has been determined by the remaining amount value non-change determining means to have not changed, and the remaining amount value signal generating means. Output permission means for outputting the remaining amount value signal generated by means at every output cycle time, and the parameter information includes the output cycle time set according to the type of the tank. It was configured to be out.

【0082】このため、パラメータ保持手段が保持する
パラメータ情報に含まれる、残量値信号生成手段が生成
している残量値信号を出力許可手段が出力させる周期を
決定する出力周期時間が、タンクの種別に応じて設定さ
れることから、タンク内で液体の液面が、車両の姿勢等
の状態の変化に伴い小刻みに変化したとしても、算出、
表示される残量値が出力周期時間毎にしか変わらず、液
面の小刻みな変動に逐一追従しない。このため、パラメ
ータ保持手段及びこれに保持させるパラメータ情報の内
容を除き、残量計のその他の構成部分をタンクの種別に
関係なく共用化しても、車両の姿勢等の状態の変化に伴
い発生する、タンクの種別に応じた残量値表示のちらつ
きを確実になくすことができる。
Therefore, the output cycle time for determining the cycle in which the output permission means outputs the remaining amount value signal generated by the remaining amount value signal generating means included in the parameter information held by the parameter holding means is Since it is set according to the type of, even if the liquid level in the tank changes little by little with a change in the state of the vehicle such as the posture,
The displayed remaining amount value changes only every output cycle time, and does not follow the small fluctuations of the liquid surface one by one. Therefore, except for the parameter holding means and the contents of the parameter information held by the parameter holding means, even if the other components of the fuel gauge are shared regardless of the type of the tank, they occur with the change in the state of the vehicle such as the posture. It is possible to surely eliminate the flicker of the remaining amount value display depending on the type of the tank.

【0083】また、請求項4に記載した本発明の車両用
残量計によれば、車両に搭載されたタンク内の液体の液
面位置に応じた信号レベルで出力されるポテンショメー
タのセンダ出力を、所定周期毎にサンプリングし、該サ
ンプリングした前記センダ出力を基に、前記タンク内の
前記液体の残量値を表示させるための残量値信号を、時
間を置きつつ生成する車両用残量計において、前記残量
値信号を生成する間に置く時間に関するパラメータ情報
を保持するパラメータ保持手段を備え、前記パラメータ
情報を前記タンクの種別毎に設定する構成とした。
According to the fuel gauge for a vehicle of the present invention described in claim 4, the sender output of the potentiometer which is output at a signal level corresponding to the liquid level position of the liquid in the tank mounted on the vehicle , A vehicle fuel gauge for sampling at a predetermined cycle and generating a remaining amount signal for displaying the remaining amount value of the liquid in the tank based on the sampled sender output with a lapse of time. In the above, there is provided a parameter holding means for holding parameter information relating to a time to be placed while generating the remaining amount value signal, and the parameter information is set for each type of the tank.

【0084】このため、タンク内の液体の残量値を表示
する際の表示更新周期となる、残量値信号を生成する間
に置く時間に関するパラメータ情報が、タンクの種別毎
に設定されてパラメータ保持手段に保持されるので、請
求項3に記載した本発明の車両用残量計と同様に、タン
ク内で液体の液面が、車両の姿勢等の状態の変化に伴い
小刻みに変化したとしても、算出、表示される残量値が
出力周期時間毎にしか変わらず、液面の小刻みな変動に
逐一追従しない。従って、パラメータ保持手段及びこれ
に保持させるパラメータ情報の内容を除き、残量計のそ
の他の構成部分を、タンクの種別に関係なく共用化しつ
つ、車両の姿勢等の状態の変化に伴い発生する、タンク
の種別に応じた残量値表示のちらつきを確実になくすこ
とができる。
For this reason, the parameter information relating to the time to be placed during the generation of the remaining amount signal, which is the display update period when the remaining amount value of the liquid in the tank is displayed, is set for each tank type and set as a parameter. Since it is held by the holding means, it is assumed that the liquid level in the tank changes little by little in accordance with changes in the vehicle posture and other conditions, as in the vehicle fuel gauge according to the present invention. Also, the calculated and displayed remaining amount value changes only for each output cycle time, and does not follow the small fluctuations of the liquid level one by one. Therefore, except for the content of the parameter holding means and the parameter information held by the parameter holding means, other components of the fuel gauge are shared regardless of the type of the tank, and occur with a change in the state of the vehicle such as the posture. It is possible to reliably eliminate the flicker of the remaining amount value display depending on the type of tank.

【0085】尚、残量値信号を生成する間に置く時間に
関するパラメータ情報の具体的内容としては、請求項5
に記載した本発明の車両用残量計のように、タンク内の
液体の残量値を表示する際の表示更新周期に関連する、
残量値非変化判定手段が変化後の残量値に変動がないと
判定する基準となる連続回数である第2所定回数と、請
求項6に記載した本発明の車両用残量計のように、残量
値信号を生成する周期である出力周期時間とのうちいず
れか一方、或は、両方とすることができる。
The concrete contents of the parameter information regarding the time to be placed during the generation of the remaining amount value signal are as follows.
As in the fuel gauge for a vehicle according to the present invention described in (1), it is related to the display update cycle when displaying the remaining amount value of the liquid in the tank,
A second predetermined number of times, which is a continuous number of times that the remaining amount value non-change determining means determines that there is no change in the remaining amount value after the change, and the vehicle fuel gauge according to the present invention as set forth in claim 6. In addition, either one or both of the output cycle time, which is the cycle for generating the remaining amount value signal, can be set.

【0086】また、パラメータ保持手段の具体的内容と
しては、請求項7に記載した本発明の車両用残量計のよ
うに、不揮発性メモリで構成してもよく、或は、請求項
8に記載した本発明の車両用残量計のように、ICカー
ド読出器とICカードで構成してもよい。
Further, the concrete contents of the parameter holding means may be constituted by a non-volatile memory like the vehicle fuel gauge of the present invention described in claim 7, or in claim 8. The vehicle fuel gauge of the present invention described above may be configured by an IC card reader and an IC card.

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

【図1】(a),(b)は本発明による車両用残量計の
基本構成図である。
1A and 1B are basic configuration diagrams of a vehicle fuel gauge according to the present invention.

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

【図3】図2に示すRAMのメモリエリアマップであ
る。
FIG. 3 is a memory area map of the RAM shown in FIG.

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

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

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

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

【図8】図2のポテンショメータのセンダ出力の静特
性、揺動特性、並びに、中間特性を示すグラフである。
8 is a graph showing a static characteristic, a swing characteristic, and an intermediate characteristic of a sender output of the potentiometer shown in FIG.

【図9】本発明の他の実施形態による車両用残量計の概
略構成を部分的に示すブロック図である。
FIG. 9 is a block diagram partially showing a schematic configuration of a vehicle fuel gauge according to another embodiment of the present invention.

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

1 タンク(ガソリンタンク) 31 CPU 31b RAM 31c ROM 31A 残量値変化判定手段 31B 残量値非変化判定手段 31C 残量値信号出力手段 31D 残量値信号生成手段 31E 出力許可手段 31F 残量値算出手段 33A パラメータ保持手段 33a ICカード読出器 33b ICカード 7 ポテンショメータ a 第1所定回数(平均化処理回数) b 第2所定回数(表示値連続回数) c パラメータ情報 G 液体 G1 液面 S センダ出力 T3 出力周期時間(表示更新周期) 1 Tank (gasoline tank) 31 CPU 31b RAM 31c ROM 31A Remaining amount value change determining means 31B Remaining amount value non-changing determining means 31C Remaining amount value signal output means 31D Remaining amount value signal generating means 31E Output permission means 31F Remaining amount value calculation Means 33A Parameter holding means 33a IC card reader 33b IC card 7 Potentiometer a 1st predetermined number of times (number of times of averaging processing) b 2nd predetermined number of times (displayed value continuous number) c Parameter information G liquid G1 liquid level S sender output T3 output Cycle time (display update cycle)

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 車両に搭載されたタンク内の液体の液面
位置に応じた信号レベルで出力されるポテンショメータ
のセンダ出力を、所定周期毎にサンプリングし、該セン
ダ出力を連続する第1所定回数サンプリングする毎に、
これら第1所定回数連続してサンプリングした前記セン
ダ出力を基に、前記タンク内の前記液体の残量値を算出
し表示する車両用残量計において、 前記第1所定回数連続してサンプリングしたセンダ出力
を基に前記残量値を算出する毎に、今回算出した前記残
量値が前回算出した残量値から変化したか否かを判定す
る残量値変化判定手段と、 前記今回算出した残量値が前回算出した残量値から変化
したと前記残量値変化判定手段が判定した後、該今回算
出した残量値が、前記第1所定回数連続してサンプリン
グしたセンダ出力を基に前記残量値を算出する毎に、第
2所定回数連続して変化しなかったか否かを判定する残
量値非変化判定手段と、 前記前回算出した残量値から変化した後、前記第2所定
回数連続して変化しなかったと前記残量値非変化判定手
段が判定した前記今回算出した残量値を表示させるため
の残量値信号を生成し出力する残量値信号出力手段と、 前記第1所定回数及び前記第2所定回数をパラメータ情
報として保持するパラメータ保持手段とを備え、 前記パラメータ情報を前記タンクの種別毎に設定するよ
うにした、 ことを特徴とする車両用残量計。
1. A sender output of a potentiometer, which is output at a signal level corresponding to a liquid surface position of a liquid in a tank mounted on a vehicle, is sampled at every predetermined cycle, and the sender output is consecutively given a first predetermined number of times. Every time you sample
A vehicular fuel gauge that calculates and displays the remaining amount of the liquid in the tank based on the output of the sender sampled continuously for the first predetermined number of times. Every time the remaining amount value is calculated based on the output, a remaining amount value change determining means for determining whether or not the remaining amount value calculated this time has changed from the previously calculated remaining amount value, and the remaining amount value calculated this time. After the remaining amount value change determination means determines that the amount value has changed from the previously calculated remaining amount value, the remaining amount value calculated this time is based on the sender output sampled continuously for the first predetermined number of times. Each time the remaining amount value is calculated, a remaining amount value non-change determining means for determining whether or not the remaining amount value has continuously changed for a second predetermined number of times, and the second predetermined amount after changing from the previously calculated remaining amount value. If the number of consecutive changes does not change, the remaining amount Remaining amount value signal output means for generating and outputting a remaining amount value signal for displaying the presently calculated remaining amount value judged by the non-change judging means, and parameter information for the first predetermined number of times and the second predetermined number of times. And a parameter holding unit that holds the parameter information, and the parameter information is set for each type of the tank.
【請求項2】 前記パラメータ情報は、前記残量値信号
出力手段が生成する前記残量値信号の特性が、前記パラ
メータ保持手段が設けられる前記車両の停止時における
前記センダ出力の静特性と、前記車両の走行時における
前記センダ出力の揺動特性との中間の特性に相似する値
にそれぞれ設定される請求項1記載の車両用残量計。
2. The parameter information, wherein the characteristic of the remaining amount signal generated by the remaining amount signal output means is a static characteristic of the sender output when the vehicle in which the parameter holding means is provided is stopped, The vehicle fuel gauge according to claim 1, wherein each of the vehicle fuel gauges is set to a value similar to an intermediate characteristic between a swing characteristic of the sender output when the vehicle is running.
【請求項3】 前記残量値信号出力手段は、前記前回算
出した残量値から変化した後、前記第2所定回数連続し
て変化しなかったと前記残量値非変化判定手段が判定し
た前記今回算出した残量値を表示させるための残量値信
号を生成する残量値信号生成手段と、該残量値信号生成
手段が生成している前記残量値信号を出力周期時間毎に
出力させる出力許可手段とを有しており、前記パラメー
タ情報は、前記タンクの種別に応じて設定される前記出
力周期時間を含んでいる請求項1又は2記載の車両用残
量計。
3. The remaining amount value signal output means determines that the remaining amount value non-change determining means determines that the remaining amount value has not changed continuously for the second predetermined number of times after the change from the previously calculated remaining amount value. A remaining amount value signal generating means for generating a remaining amount value signal for displaying the remaining amount value calculated this time, and the remaining amount value signal generated by the remaining amount value signal generating means are output at every output cycle time. 3. The vehicle fuel gauge according to claim 1, further comprising: an output permission unit that allows the output cycle time to be set, wherein the parameter information includes the output cycle time set according to the type of the tank.
【請求項4】 車両に搭載されたタンク内の液体の液面
位置に応じた信号レベルで出力されるポテンショメータ
のセンダ出力を、所定周期毎にサンプリングし、該サン
プリングした前記センダ出力を基に、前記タンク内の前
記液体の残量値を表示させるための残量値信号を、時間
を置きつつ生成する車両用残量計において、 前記残量値信号を生成する間に置く時間に関するパラメ
ータ情報を保持するパラメータ保持手段を備え、 前記パラメータ情報を前記タンクの種別毎に設定するよ
うにした、 ことを特徴とする車両用残量計。
4. A sender output of a potentiometer, which is output at a signal level corresponding to a liquid level position of a liquid in a tank mounted on a vehicle, is sampled at predetermined intervals, and based on the sampled sender output, In a fuel gauge for a vehicle that generates a remaining amount value signal for displaying the remaining amount value of the liquid in the tank, the parameter information regarding the time to be placed while the remaining amount value signal is generated is displayed. A vehicle fuel gauge, comprising: a parameter holding unit that holds the parameter information, wherein the parameter information is set for each tank type.
【請求項5】 前記ポテンショメータ7の複数回連続し
てサンプリングした前記センダ出力を基に、前記タンク
内の前記液体の残量値を算出する残量値算出手段と、該
残量値算出手段が前記残量値を算出する毎に、今回算出
した前記残量値が前回算出した残量値から変化したか否
かを判定する残量値変化判定手段と、前記今回算出した
残量値が前回算出した残量値から変化したと前記残量値
変化判定手段が判定した後、前記残量値算出手段の算出
する前記残量値が、前記前回算出した残量値から変化し
たと前記残量値変化判定手段が判定した前記今回算出し
た残量値から第2所定回数連続して変化しなかったか否
かを判定する残量値非変化判定手段とをさらに備え、前
記残量値信号は、前記前回算出した残量値から変化した
後、前記第2所定回数連続して変化しなかったと前記残
量値非変化判定手段が判定した前記今回算出した残量値
を表示させるために生成され、前記パラメータ情報は、
前記タンクの種別毎に設定される前記第2所定回数を含
んでいる請求項4記載の車両用残量計。
5. A remaining amount value calculating means for calculating a remaining amount value of the liquid in the tank based on the sender output sampled by the potentiometer 7 continuously a plurality of times, and the remaining amount value calculating means. Each time the remaining amount value is calculated, a remaining amount value change determination unit that determines whether or not the remaining amount value calculated this time has changed from the previously calculated remaining amount value, and the remaining amount value calculated this time is After the remaining amount value change determination means determines that the remaining amount value has changed from the calculated remaining amount value, the remaining amount value calculated by the remaining amount value calculating device changes from the previously calculated remaining amount value. The remaining amount value signal further comprises: a remaining amount value non-change determining unit that determines whether or not the remaining amount value calculated this time determined by the value change determining unit has continuously changed a second predetermined number of times. After changing from the previously calculated remaining amount value, the second predetermined number of times The parameter information is generated to display the remaining amount value calculated this time, which is determined by the remaining amount value non-change determination means as having not changed continuously for several times, and the parameter information is
The vehicle fuel gauge according to claim 4, including the second predetermined number of times set for each type of the tank.
【請求項6】 前記残量値信号は、出力周期時間毎に、
前記前回算出した残量値から変化した後、前記第2所定
回数連続して変化しなかったと前記残量値非変化判定手
段が判定した最新の前記今回算出した残量値を表示させ
るために生成され、前記パラメータ情報は、前記タンク
の種別毎に設定される前記出力周期時間を含んでいる請
求項4又は5記載の車両用残量計。
6. The remaining amount signal is output every output cycle time,
Generated in order to display the latest remaining amount value calculated this time, which is determined by the remaining amount value non-change determining means as having not changed continuously for the second predetermined number of times after the change from the previously calculated remaining amount value. The vehicle fuel gauge according to claim 4 or 5, wherein the parameter information includes the output cycle time set for each type of the tank.
【請求項7】 前記パラメータ保持手段を不揮発性メモ
リで構成し、前記タンクの種別に応じた前記パラメータ
情報を前記不揮発性メモリに読み出し可能にあらかじめ
書き込むようにした請求項1、2、3、4、5又は6記
載の車両用残量計。
7. The parameter holding means is composed of a non-volatile memory, and the parameter information corresponding to the type of the tank is preliminarily readably written in the non-volatile memory. 5. The fuel gauge for a vehicle according to 5 or 6.
【請求項8】 前記パラメータ保持手段を、前記車両側
に固設されたICカード読出器と、該ICカード読出器
により記憶内容が読み出されるICカードで構成し、前
記タンクの種別に応じた前記パラメータ情報を前記IC
カードにあらかじめ記憶させておくようにした請求項
1、2、3、4、5又は6記載の車両用残量計。
8. The parameter holding means is composed of an IC card reader fixedly installed on the vehicle side and an IC card whose stored contents are read by the IC card reader, and the parameter holding means is constructed in accordance with the type of the tank. Parameter information is the IC
The vehicle fuel gauge according to claim 1, 2, 3, 4, 5, or 6, which is stored in a card in advance.
JP8063162A 1996-03-19 1996-03-19 Residual meter for vehicle Withdrawn JPH09257551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8063162A JPH09257551A (en) 1996-03-19 1996-03-19 Residual meter for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8063162A JPH09257551A (en) 1996-03-19 1996-03-19 Residual meter for vehicle

Publications (1)

Publication Number Publication Date
JPH09257551A true JPH09257551A (en) 1997-10-03

Family

ID=13221277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8063162A Withdrawn JPH09257551A (en) 1996-03-19 1996-03-19 Residual meter for vehicle

Country Status (1)

Country Link
JP (1) JPH09257551A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2338308A (en) * 1998-06-09 1999-12-15 Graeme Michael Frankland Device for monitoring rate of change in liquid level

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2338308A (en) * 1998-06-09 1999-12-15 Graeme Michael Frankland Device for monitoring rate of change in liquid level

Similar Documents

Publication Publication Date Title
JP4106634B2 (en) Fuel remaining amount display device and display method thereof
JP3545839B2 (en) Current position calculation device
JPH074984A (en) Electronic system and method for calculating possible automobile running distance
JPH03138514A (en) Navigation device for traveling body
US7212107B2 (en) Odometer system and method for a vehicle
KR100282744B1 (en) How to calculate and display driving fuel economy, economic fuel economy and economic speed
JPH10193992A (en) Detecting method and device for fuel residual quantity in fuel tank
JPH09257551A (en) Residual meter for vehicle
CN110126620A (en) A kind of method and instrument system that vehicle meter system is shown
JP2006023141A (en) Fuel information output device for vehicle
US10504301B2 (en) Device for displaying available travel distance of vehicle
JP3452303B2 (en) Fuel level indicator for vehicles
JP3273459B2 (en) Database construction method for characteristic correction of tank fuel gauge and liquid level detection sensor
JP2004317254A (en) Fuel remaining amount measuring device
JP2005307752A (en) Fuel economy related information display device
KR970036163A (en) Fuel gauge connector
JPH04301723A (en) Remaining fuel indicating device
JP5606765B2 (en) Vehicle display device
JPS60235023A (en) Residual fuel quantity displaying system
JPH095121A (en) Digital tachometer
JP3679451B2 (en) Current position calculation device
KR100726726B1 (en) Method to indicate the digital gauge of the vehicle
KR19990019379A (en) Apparatus and method for measuring fuel efficiency of a vehicle
KR100194727B1 (en) Fuel economy output device of car
JP3651817B2 (en) Taxi meter

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030603