JP2000146666A - Remaining fuel indicator for vehicles - Google Patents

Remaining fuel indicator for vehicles

Info

Publication number
JP2000146666A
JP2000146666A JP10318891A JP31889198A JP2000146666A JP 2000146666 A JP2000146666 A JP 2000146666A JP 10318891 A JP10318891 A JP 10318891A JP 31889198 A JP31889198 A JP 31889198A JP 2000146666 A JP2000146666 A JP 2000146666A
Authority
JP
Japan
Prior art keywords
fuel
value
turned
stored
remaining
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
JP10318891A
Other languages
Japanese (ja)
Inventor
Yoshiaki Tsukamoto
好昭 塚本
Hiroaki Ohata
博章 大畑
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 JP10318891A priority Critical patent/JP2000146666A/en
Publication of JP2000146666A publication Critical patent/JP2000146666A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To accurately store the remaining quantity of a fuel, irrespective of the waving of the fuel liq. surface by storing the indicated value of remaining quantity of the fuel, based on the indicated value of remaining fuel quantity calculated after a fixed time elapsed from the ignition switch-off. SOLUTION: When a vehicle is horizontal and the ignition (IGN) switch is set off, the indicated value of remaining quantity of a fuel is stored after a fixed time elapsed from the ignition switch-off, i.e., in a stable state of the fuel liq. surface, thus accurately storing the indicated value of the remaining quantity, without being influenced by the waving of the fuel liq. surface, if any. When the IGN switch is off in a non-horizontal state, the indicated value of remaining fuel quantity shown in an indicating means 7 is stored in a memory means 8, and an indicated value of remaining fuel quantity obtained by canceling the change of the fuel liq. level in the fuel tank of the vehicle being stopping on a slope can be stored in the memory means 8. Thus the fuel remaining quantity subjected to the change of the fuel liq. level in the fuel tank of the vehicle being stopping on a slope is never indicated just after the IGN switch is set on.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、イグニッションス
イッチをオン直後、イグニッションスイッチがオフされ
た際に記憶された燃料残量の指示値に基づいて車両用燃
料タンク内の燃料残量を表示する車両用燃料残量計のよ
うな車両用燃料残量表示装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle for displaying a remaining fuel amount in a vehicle fuel tank based on an indication value of a remaining fuel amount stored when an ignition switch is turned on and immediately after the ignition switch is turned off. The present invention relates to a fuel level display device for a vehicle such as a fuel level gauge for a vehicle.

【0002】[0002]

【従来の技術】従来、車両に搭載される燃料残量計は、
燃料タンク内の燃料の液位を検出する液位検出手段を有
する。この液位検出手段としては、燃料液面上に浮かぶ
フロートの位置に応じて抵抗体上を摺動する接点を有
し、抵抗体の両端に印加した電圧を分圧した電圧を接点
に出力するような構成のものが一般に採用されている。
そして、液位検出手段の電気的特性、すなわち出力電圧
の変化を変換して燃料の残量を表示している。
2. Description of the Related Art Conventionally, a fuel gauge mounted on a vehicle is:
And a liquid level detecting means for detecting a liquid level of the fuel in the fuel tank. The liquid level detecting means has a contact that slides on the resistor according to the position of the float floating on the fuel level, and outputs a voltage obtained by dividing the voltage applied to both ends of the resistor to the contact. Such a configuration is generally employed.
Then, the electric characteristic of the liquid level detecting means, that is, the change of the output voltage is converted and the remaining amount of the fuel is displayed.

【0003】このような車両用燃料残量表示装置は、車
両が傾斜したり、振動することによって、車両の燃料タ
ンク内の液面が振動するために、燃料タンク内の液面変
動にフロートが追随してフロートの高さが変動し、燃料
計に針ぶれが生じるために燃料計の表示の信頼性を低下
させるという問題があった。この問題を解決するため
に、従来の車両用燃料残量表示装置においては、液面の
変動に対するフロートの応答を遅らせることにより、長
時間安定していた時の値を表示させるものが知られてい
たが、これは長距離の坂道走行、傾斜地での長時間停車
等の際には液面の変動にフロートが追随してしまうこと
になり、正確な燃料残量を検出することが困難であると
いう問題があった。
[0003] In such a vehicle fuel level display device, the liquid level in the fuel tank of the vehicle vibrates when the vehicle is tilted or vibrated, so that the liquid level in the fuel tank fluctuates. There has been a problem that the height of the float fluctuates and the needle gauge of the fuel gauge fluctuates, thereby reducing the reliability of the display of the fuel gauge. In order to solve this problem, there is known a conventional vehicle fuel remaining amount display device that displays a value when the float has been stable for a long time by delaying the response of the float to the fluctuation of the liquid level. However, this means that the float follows the fluctuation of the liquid level when running on a long slope on a long distance or stopping for a long time on a slope, and it is difficult to accurately detect the remaining fuel amount. There was a problem.

【0004】また、燃料補給を行った後には速やかに増
量した燃料残量を表示しなくてはならないものである
が、遅延させて表示すると正しい燃料残量の表示が遅れ
るという問題があり、これを解決するために、イグニッ
ションスイッチをオンした時には、その時点で検出され
た燃料残量を表示するようにされているが、上述の傾斜
地における駐車後の誤表示を防止することができなくな
るという問題があった。
Further, it is necessary to display the increased amount of fuel immediately after refueling. However, if the display is delayed, there is a problem that the display of the correct amount of fuel is delayed. In order to solve the above problem, when the ignition switch is turned on, the remaining fuel amount detected at that time is displayed, but it is not possible to prevent the above-described erroneous display after parking on a sloped land. was there.

【0005】これらの問題を解決するために種々のもの
が提案されており、例えば、特開平3−282219号
公報に記載されている車両用燃料残量表示装置では、イ
グニッションスイッチがオンした直後の燃料残量を検出
させ、この検出した値と記憶してあるイグニッションス
イッチがオフされたときの残量表示の指示値とを比較
し、両残量の差が所定値以上の場合には、燃料残量が変
化したと見なし、イグニッションスイッチがオンした直
後の新しい燃料残量を指示する。一方、両残量の差が所
定値未満の場合には、前回イグニッションスイッチをオ
フした時の燃料残量を表示するようにしている。
Various devices have been proposed to solve these problems. For example, in a vehicle fuel remaining amount display device described in Japanese Patent Application Laid-Open No. 3-282219, a vehicle immediately after an ignition switch is turned on. The fuel remaining amount is detected, and the detected value is compared with the stored indicated value of the remaining amount display at the time when the ignition switch is turned off. Assuming that the remaining amount has changed, a new remaining amount of fuel immediately after the ignition switch is turned on is indicated. On the other hand, when the difference between the two remaining amounts is less than the predetermined value, the remaining amount of fuel when the ignition switch was turned off last time is displayed.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来の車両用燃料残量表示装置は、車両が急停止した直後
等の燃料タンク内の燃料の液面が揺れている状態で、イ
グニッションスイッチがオフされた場合、燃料残量の指
示値は燃料タンク内の液面レベルによって検出されてい
るため、燃料の液面が揺れているときに検出された燃料
残量の指示値は、かなりの誤差を含んだ状態で記憶手段
に記憶されてしまうという不具合を有していた。また、
上記従来の車両用燃料残量表示装置では、イグニッショ
ンスイッチのオン直後は記憶手段に記憶された燃料残量
の指示値に基づいて、燃料残量の指示値を決定していた
ため、記憶された燃料残量の指示値に誤差が含まれてい
ると、イグニッションスイッチのオン直後の燃料残量が
正確に表示されないことがあるという不具合を有してい
た。
However, in the above-described conventional fuel remaining amount display device for a vehicle, the ignition switch is turned off when the liquid level of the fuel in the fuel tank is shaking immediately after the vehicle suddenly stops. In this case, the indicated value of the remaining fuel level is detected based on the liquid level in the fuel tank. There was a problem that the information was stored in the storage means in a state where it was included. Also,
In the above-described conventional fuel remaining amount display device for a vehicle, immediately after the ignition switch is turned on, the remaining fuel indication value is determined based on the remaining fuel indication value stored in the storage means. If the indicated value of the remaining amount includes an error, the remaining amount of fuel immediately after the ignition switch is turned on may not be accurately displayed.

【0007】例えば、イグニッションスイッチのオフ
後、燃料タンク内の液面の揺れによって実際の燃料残量
の指示値よりも大きな指示値となって記憶手段に記憶さ
れた状態で、イグニッションスイッチのオフ中に燃料の
補給がなされた場合、イグニッションスイッチのオン直
後に検出した燃料残量の指示値と記憶された指示値との
差は、実際の燃料増加分よりも小さくなってしまう。こ
のため、イグニッションスイッチのオフ中に燃料の補給
が行われたと認識されず、イグニッションスイッチのオ
フ時に記憶された燃料残量の指示値が表示されてしま
い、イグニッションスイッチのオン直後の燃料残量表示
にイグニッションスイッチのオフの間に補給された燃料
が反映されずに表示されるという不具合が稀に生じてい
た。
For example, after the ignition switch is turned off, while the liquid level in the fuel tank fluctuates, the command value is stored in the storage means as a command value larger than the command value of the actual remaining fuel amount. When the fuel is supplied to the fuel cell, the difference between the instruction value of the remaining fuel amount detected immediately after the ignition switch is turned on and the stored instruction value becomes smaller than the actual fuel increase. For this reason, it is not recognized that fuel was replenished while the ignition switch was turned off, and the indication value of the remaining fuel amount stored when the ignition switch was turned off is displayed, and the fuel remaining amount display immediately after the ignition switch was turned on is displayed. In some cases, the fuel supply while the ignition switch was turned off was displayed without being reflected.

【0008】本発明は、上記問題点に鑑みてなされたも
のであり、イグニッションスイッチがオフされたときに
燃料の液面が揺れていてもその影響を受けることなく燃
料の残量を正確に記憶することができる車両用燃料残量
表示装置を提供することを課題としている。
The present invention has been made in view of the above problems, and accurately stores the remaining amount of fuel without being affected by the fluctuation of the fuel level when the ignition switch is turned off. It is an object of the present invention to provide a vehicle fuel remaining amount display device that can perform the above operation.

【0009】[0009]

【課題を解決するための手段】上記課題を解決するため
なされた請求項1記載の発明は、図1の基本構成図に示
すように、指示値を表示する表示手段7と、車両の燃焼
タンク内の燃料の液面レベルを検出して燃料信号を発生
する燃料センサ1と、該燃料センサ1からの燃料信号を
入力して燃料残量の指示値を演算する演算手段33−1
と、イグニッションスイッチがオフしたとき、前記燃料
残量の指示値を記憶し、該記憶した指示値をイグニッシ
ョンスイッチのオフしている期間も保持する記憶手段8
と、前記表示手段8に燃料残量の指示値を表示させる制
御を行うと共に、前記演算手段33−1により演算した
燃料残量の指示値を前記記憶手段8に記憶させる表示制
御手段33−2とを備え、前記表示制御手段33−2
は、イグニッションスイッチのオン直後、前記記憶手段
8に記憶されている燃料残量の指示値を前記表示手段7
に表示させる車両用燃料残量表示装置において、前記表
示制御手段33−2は、イグニッションスイッチがオフ
したときの前記記憶手段8への前記燃料残量の指示値の
記憶を、イグニッションスイッチのオフ後から一定時間
経過後に前記演算手段33−1が演算した燃料残量の指
示値に基づいて行うことを特徴とする車両用燃料残量表
示装置に存する。
According to the first aspect of the present invention, there is provided a display device for displaying an indicated value, a combustion tank for a vehicle, as shown in a basic configuration diagram of FIG. A fuel sensor 1 for detecting a liquid level of the fuel in the fuel cell and generating a fuel signal; and a calculating means 33-1 for inputting the fuel signal from the fuel sensor 1 and calculating an indicated value of a remaining fuel amount.
Storage means 8 for storing the indicated value of the fuel remaining amount when the ignition switch is turned off, and holding the stored indicated value also during the period when the ignition switch is turned off.
And display control means 33-2 for controlling the display means 8 to display the indicated value of the remaining fuel amount and for storing the indicated value of the remaining fuel amount calculated by the calculating means 33-1 in the storage means 8. And the display control means 33-2
Immediately after the ignition switch is turned on, the indication of the remaining fuel amount stored in the storage means 8 is displayed on the display means 7.
The display control means 33-2 stores the indication value of the fuel remaining amount in the storage means 8 when the ignition switch is turned off after the ignition switch is turned off. A predetermined amount of time has passed since the calculation, and the calculation is performed based on the fuel remaining amount calculated by the calculating means 33-1.

【0010】上記構成により、表示手段7を駆動して表
示手段に燃料残量を表示させる制御を行う表示制御手段
33−2が、イグニッションスイッチのオン直後、記憶
手段8に記憶されている燃料残量の指示値に基づいて燃
料残量を表示手段7に表示させる。この燃料残量の指示
値は、イグニッションスイッチがオフ後から一定時間経
過後に演算手段33−1が演算した燃料残量の指示値が
記憶手段8に記憶されるため、車両の急停止後等の燃料
タンク内の燃料の液面が揺れている状態における燃料の
液面レベルによる燃料残量の検出を回避することができ
る。したがって、イグニッションスイッチのオフ後の燃
料タンク内の燃料の液面が安定した状態における燃料残
量の指示値を検出することができるため、表示制御手段
33−2により正確な燃料残量の指示値を記憶手段8に
記憶することができる。また、イグニッションスイッチ
のオン直後の燃料残量の指示値は、記憶手段8に記憶さ
れた燃料残量の指示値に基づいて表示制御手段33−2
によって表示手段7に表示されるため、イグニッション
スイッチのオン直後の燃料残量誤表示を防止することが
できる。
With the above configuration, the display control means 33-2 for controlling the display means 7 to display the fuel remaining amount on the display means is provided immediately after the ignition switch is turned on. The display unit 7 displays the remaining fuel amount based on the indicated value of the amount. Since the indicated value of the remaining fuel amount is stored in the storage unit 8 after a lapse of a predetermined time after the ignition switch is turned off, the indicated value of the remaining fuel amount is stored in the storage unit 8, and thus the value is indicated after the sudden stop of the vehicle. It is possible to avoid the detection of the remaining fuel level based on the fuel level in the state where the fuel level in the fuel tank is fluctuating. Therefore, it is possible to detect the indicated value of the remaining fuel amount in the state where the fuel level in the fuel tank is stable after the ignition switch is turned off. Can be stored in the storage means 8. Further, the indication value of the remaining fuel amount immediately after the ignition switch is turned on is determined based on the indication value of the remaining fuel amount stored in the storage means 8 by the display control means 33-2.
Is displayed on the display means 7, so that an erroneous display of the remaining fuel amount immediately after the ignition switch is turned on can be prevented.

【0011】上記課題を解決するためなされた請求項2
記載の発明は、図1の基本構成図に示すように、請求項
1記載の車両用燃料残量表示装置において、前記表示制
御手段33−2は、イグニッションスイッチのオン直
後、前記記憶手段8に記憶している燃料残量の指示値が
ないとき、前記演算手段33−1により演算した燃料残
量の指示値を前記表示手段7に表示させることを特徴と
する。
[0011] The present invention has been made to solve the above problems.
As shown in the basic configuration diagram of FIG. 1, in the invention described in the claim, the display control means 33-2 is stored in the storage means 8 immediately after an ignition switch is turned on. When there is no stored remaining fuel indication value, the display means 7 displays the remaining fuel indication value calculated by the calculating means 33-1.

【0012】上記構成により、請求項1記載の発明の作
用に加え、記憶手段8に燃料残量の指示値が記憶されて
いないとき、演算手段33−1により演算した燃料残量
の指示値を表示手段7に表示させるので、イグニッショ
ンスイッチがオンされたとき、燃料残量の指示値が記憶
手段8に記憶されていなくても、表示手段7に何も表示
されなくなることがない。
According to the above construction, in addition to the operation of the first aspect of the invention, when the instruction value of the remaining fuel amount is not stored in the storage means 8, the instruction value of the remaining fuel amount calculated by the arithmetic means 33-1 is stored. Since the display is made on the display means 7, when the ignition switch is turned on, even if the instruction value of the remaining fuel amount is not stored in the storage means 8, nothing is displayed on the display means 7.

【0013】上記課題を解決するためなされた請求項3
記載の発明は、図1の基本構成図に示すように、請求項
1又は2記載の車両用燃料残量表示装置において、車両
が所定角度以上傾いた非水平状態とそれ以外の水平状態
とを検出する傾き検出手段5をさらに備え、前記表示制
御手段33−2は、前記傾き検出手段5が非水平状態を
検出している場合、イグニッションスイッチがオフした
とき、前記表示手段7に表示している前記燃料残量の指
示値を前記記憶手段8に記憶させることを特徴とする。
[0013] Claim 3 has been made to solve the above problem.
According to the present invention, as shown in the basic configuration diagram of FIG. 1, in the fuel remaining amount display device for a vehicle according to claim 1 or 2, a non-horizontal state in which the vehicle is inclined by a predetermined angle or more and a horizontal state other than that. The display control means 33-2 further includes a tilt detecting means 5 for detecting, and when the tilt detecting means 5 detects a non-horizontal state, when the ignition switch is turned off, the display control means 33-2 displays the display on the display means 7. The stored value of the remaining fuel is stored in the storage means 8.

【0014】上記構成により、請求項1又は2記載の発
明の作用に加え、表示制御手段33−2は、傾き検出手
段5によって車両が非水平状態を検出している場合、イ
グニッションスイッチがオフしたとき、表示手段7に表
示している燃料残量の指示値を記憶手段8に記憶するよ
うになっているので、車両が傾斜地に停車して生じた車
両の燃焼タンク内の燃料の液面レベルの変化分を打ち消
した燃料残量の指示値を記憶手段8に記憶することがで
きる。したがって、車両の傾斜状態に影響されることな
く、イグニッションスイッチのオン直後から正確な燃料
残量の指示値を速やかに表示手段7に表示することがで
きる。
According to the above configuration, in addition to the operation of the first or second aspect of the present invention, the display control means 33-2 turns off the ignition switch when the inclination detecting means 5 detects the non-horizontal state of the vehicle. At this time, since the indication value of the remaining fuel amount displayed on the display means 7 is stored in the storage means 8, the liquid level of the fuel in the combustion tank of the vehicle generated when the vehicle stops on the slope is generated. Can be stored in the storage means 8. Therefore, the accurate indication value of the remaining fuel amount can be promptly displayed on the display means 7 immediately after the ignition switch is turned on, without being affected by the inclination state of the vehicle.

【0015】上記課題を解決するためなされた請求項4
記載の発明は、図1の基本構成図に示すように、請求項
1〜3の何れかに記載の車両用燃料残量表示装置におい
て、前記記憶手段8に記憶している指示値と前記演算手
段33−1により演算した指示値との差をとり、該差が
予め定めた所定値以上あることにより燃料の補給の有無
を検出する補給検出手段33−3をさらに備え、前記表
示制御手段33−2は、イグニッションスイッチがオン
したとき、前記補給検出手段33−3により補給有りを
検出すると、補給された燃料残量の指示値を前記表示手
段に表示させることを特徴とする。
Claim 4 has been made to solve the above-mentioned problem.
As shown in the basic configuration diagram of FIG. 1, the invention described in the vehicle fuel remaining amount display device according to claim 1, wherein the instruction value stored in the storage means 8 and the calculation value are calculated. A replenishment detecting means for detecting a difference between the instruction value calculated by the means and a replenishment when the difference is equal to or greater than a predetermined value; -2 is characterized in that when the ignition switch is turned on, when the replenishment detecting means 33-3 detects the presence of replenishment, an indication value of the remaining fuel amount is displayed on the display means.

【0016】上記構成により、請求項1〜3の何れかに
記載の発明の作用に加え、イグニッションスイッチのオ
ン直後、表示制御手段33−2は、記憶手段8に記憶し
ている指示値と演算手段33−1が演算した指示値との
差をとり、この差が予め定めた所定値以上あることによ
り燃料補給の有無を検出する補給検出手段33−3によ
って燃料補給があったことを検出すると、補給された燃
料残量の指示値を表示手段7に表示するようになってい
るので、イグニッションスイッチがオフの間に給油され
ても、イグニッションスイッチのオン直後から正確に給
油によって増加した燃料残量の指示値を表示手段7に表
示することができる。
With the above structure, in addition to the operation of the invention according to any one of the first to third aspects, immediately after the ignition switch is turned on, the display control means 33-2 performs the calculation with the instruction value stored in the storage means 8 and the calculation. When the difference from the indicated value calculated by the means 33-1 is obtained, and the difference is equal to or more than a predetermined value, the replenishment detecting means 33-3 for detecting the presence or absence of refueling detects that refueling has occurred. Since the indication of the remaining fuel level is displayed on the display means 7, even if the fuel is supplied while the ignition switch is turned off, the fuel remaining amount that is accurately increased by refueling immediately after the ignition switch is turned on. An indication of the quantity can be displayed on the display means 7.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて説明する。図2は本発明による車両用燃料残
量表示装置の一実施の形態を示す回路構成図である。同
図において、車両の燃焼タンク内の燃料の液面レベルを
検出してアナログ燃料信号を発生するセンサ1は燃料セ
ンサを構成している。センサ1は、燃料液面上に浮かぶ
図示しないフロートの位置に応じて抵抗体1a上を摺動
する接点1bを有し、抵抗体1aの一端が抵抗2を介し
てVCC電源に、他端がアースにそれぞれ接続されてい
る。接点1bは、車両の燃焼タンク内の燃料の液面レベ
ルに応じて抵抗体1a上を摺動し、抵抗体1aの両端に
印加した電圧を分圧した電圧をアナログ燃料信号として
出力し、これを信号線L1を介してマイクロコンピュー
タ(μCOM)3の入力ポートI1に印加している。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 2 is a circuit diagram showing one embodiment of the fuel level display device for a vehicle according to the present invention. In FIG. 1, a sensor 1 that detects a liquid level of fuel in a combustion tank of a vehicle and generates an analog fuel signal constitutes a fuel sensor. The sensor 1 has a contact 1b that slides on a resistor 1a in accordance with the position of a float (not shown) floating on the fuel level. One end of the resistor 1a is connected to a Vcc power supply via a resistor 2 and the other end. Are connected to the ground. The contact 1b slides on the resistor 1a according to the level of the fuel in the combustion tank of the vehicle, and outputs a voltage obtained by dividing the voltage applied to both ends of the resistor 1a as an analog fuel signal. It is applied to the input port I 1 of the microcomputer (μCOM) 3 via the signal line L1 to.

【0018】μCOM3は、上記入力ポートI1に入力
されたアナログ燃料信号をデジタル変換してデジタル燃
料信号を得るアナログ/デジタル(A/D)変換器31
と、プログラムや固定データを格納した読み出し専用の
メモリ(ROM)32と、ROM32に格納したプログ
ラムに従って処理を実行する中央処理ユニット(CP
U)33と、CPU33の処理の過程で発生する各種の
データを格納するデータエリアと処理の際に使用するワ
ークエリアとを有する読み出し書き込み自在のメモリ
(RAM)34とを内蔵する。μCOM3はまた、上記
入力ポートI1の他に、電源ポートVCC、アースポート
GNDと、入力ポートI2〜I4と、出力ポートO1及び
2と、入出力ポートIOとを有する。
The μCOM 3 is an analog / digital (A / D) converter 31 for converting the analog fuel signal input to the input port I 1 into a digital signal to obtain a digital fuel signal.
And a read-only memory (ROM) 32 storing programs and fixed data, and a central processing unit (CP) for executing processing in accordance with the programs stored in the ROM 32.
U) 33, and a readable and writable memory (RAM) 34 having a data area for storing various data generated during the processing of the CPU 33 and a work area used for the processing. μCOM3 also has a power port V CC , a ground port GND, input ports I 2 to I 4 , output ports O 1 and O 2, and an input / output port IO in addition to the input port I 1 .

【0019】μCOM3の電源ポートVCCには、抵抗体
1aの一端と抵抗2との接続点が電源線L2を介して接
続され、その動作電源電圧VCCが供給されている。μC
OM3のアースポートGNDには、アースされている抵
抗体1aの他端がアース線L3を介して接続されてい
る。μCOM3の入力ポートI2には、入力端子41に
接続される図示しない車速センサが車両の走行に応じて
発生する車速に応じた周期のスピードパルスが入力され
る。入力ポートI3には、入力端子42に接続される図
示しない回転センサがエンジンのオンに応じて発生する
エンジン回転数に応じた周期のタコパルスが入力され
る。入力ポートI4には、車両に設けられ、車両が所定
角度以上傾斜すると、これに応じてオンし、所定値以上
の傾斜がないときにはオフし、車両が所定角度以上傾い
た非水平状態とそれ以外の水平状態とを検出する傾き検
出手段としての傾斜センサスイッチ5が接続されてい
る。
A connection point between one end of the resistor 1a and the resistor 2 is connected to a power supply port V CC of the μCOM 3 via a power supply line L2, and the operating power supply voltage V CC is supplied. μC
The other end of the grounded resistor 1a is connected to the ground port GND of the OM3 via a ground line L3. A speed pulse having a cycle corresponding to the vehicle speed generated by a vehicle speed sensor (not shown) connected to the input terminal 41 according to the traveling of the vehicle is input to the input port I 2 of the μCOM 3. The input port I 3, tachometer pulses of a period rotation sensor (not shown) connected to the input terminal 42 according to the engine rotational speed which occurs in response to ON of the engine is input. The input port I 4, provided in a vehicle, when the vehicle is tilted a predetermined angle or more, depending on which was turned on and off when there is no more than a predetermined value of the slope, it a non-horizontal state of the vehicle is inclined more than a predetermined angle An inclination sensor switch 5 is connected as inclination detecting means for detecting a horizontal state other than the above.

【0020】μCOM3の出力ポートO1にはクロスコ
イルドライバ6が接続されている。μCOM3のCPU
33はクロスコイルドライバ6に対して振れ角値を出力
する。クロスコイルドライバ6は、クロスコイル式計器
が有する互いに交叉して巻回した一対のコイル71及び
72からなるクロスコイル7に指針振れ角に応じたパル
ス状の駆動電流を流す。クロスコイル式計器が指針に振
れ角値を指示させて指示値を表示するための燃料計とし
ての表示手段として働いている。
A cross coil driver 6 is connected to the output port O 1 of the μCOM 3. μCOM3 CPU
Reference numeral 33 outputs a deflection angle value to the cross coil driver 6. The cross-coil driver 6 supplies a pulse-shaped drive current according to the swing angle of the pointer to the cross coil 7 including a pair of coils 71 and 72 that are wound crossing each other and that is included in the cross-coil instrument. The cross-coil meter functions as a display unit as a fuel gauge for indicating the swing angle value to the pointer and displaying the indicated value.

【0021】具体的には、クロスコイル7の一方のコイ
ル71には指針振れ角値に応じてデューティ比と電流方
向が正弦的に変化するパルス状の駆動電流が、他方のコ
イル72には余弦的に変化するパルス状の駆動電流がそ
れぞれ流され、両コイル71及び72が互いに直交する
磁界を発生するようになる。このことによって、クロス
コイル7は、合成磁界方向が指針振れ角値に応じて36
0度回転する合成磁界を発生するようになる。一対のコ
イル71及び72を交叉して巻回したクロスコイル7は
その内部に空所が形成されている。この空所内には、N
S極が径方向に着磁されたロータマグネット(図示せ
ず)が回転自在に配され、そのNS極が上記合成磁界の
方向に一致するように回転される。このロータマグネッ
トの回転に応じて指針を回転移動させることによって、
燃料残量を指針の指示値によって表示させることができ
る。
More specifically, a pulse-like drive current whose duty ratio and current direction change sinusoidally according to the pointer swing angle value is applied to one coil 71 of the cross coil 7, and the cosine is applied to the other coil 72. The pulse-shaped drive currents which change in a continuous manner are respectively supplied, and both coils 71 and 72 generate magnetic fields orthogonal to each other. As a result, the cross coil 7 has a combined magnetic field direction of 36 degrees according to the pointer swing angle value.
A combined magnetic field that rotates 0 degrees is generated. The cross coil 7 formed by crossing and winding a pair of coils 71 and 72 has a space formed therein. In this space, N
A rotor magnet (not shown) in which the S pole is radially magnetized is rotatably arranged, and its NS pole is rotated so as to match the direction of the composite magnetic field. By rotating the pointer according to the rotation of this rotor magnet,
The remaining fuel amount can be displayed by the indicated value of the pointer.

【0022】μCOM3の入出力ポートIOには、バッ
クアップ電源なしにデータを保持可能な記憶手段として
の不揮発性メモリ(NVM)8が接続され、μCOM3
のCPU33がNVM8の所定エリアに書き換え可能に
格納されている各種の定数データを読み出すとともに、
処理の過程で生成したデータを所定のエリアに書き込
み、必要に応じて読み出す。なお、9は燃料残量が所定
量以下に少なくなったことを点灯により警告する残量ウ
オーニングインジケータであり、出力ポートO2に接続
されている。
A non-volatile memory (NVM) 8 is connected to the input / output port IO of the μCOM 3 as storage means capable of holding data without a backup power supply.
CPU 33 reads various types of constant data rewritably stored in a predetermined area of the NVM 8,
The data generated in the course of the processing is written in a predetermined area and read out as necessary. Incidentally, 9 is the remaining amount c awning indicator warning by lighting that the fuel remaining amount is low below a predetermined amount, and is connected to the output port O 2.

【0023】ここで、図3は図2中のμCOMが有する
RAM内の各種エリアを示す図である。このRAM34
は、演算手段によりサンプリングされたデータが格納さ
れるサンプリングデータ格納エリア341と、燃料セン
サからのアナログ燃料信号に基づいて得られた指針の振
れ角が格納される第1の目標値格納エリア342と、燃
料表示の際の目標値が格納される現在振れ角値格納エリ
ア343と、車両の停車が一定時間継続する毎に最新の
目標値が格納される第2の目標値格納エリア344と、
車両が非水平状態のとき停車中の目標値が格納される第
3の目標値格納エリア345と、車両が非水平状態のと
き走行中の指示値が格納される第4の目標値格納エリア
346と、FT1〜FT6のフラグ情報が設定されるフ
ラグエリア347と、タイマ値が設定されるタイマエリ
ア344とを備えている。また、図4は図2中の不揮発
性メモリ(NVM)内の各種エリアを示す図である。こ
のNVM8は、IGNスイッチのオフ時の燃料残量の指
示値が格納される目標値格納エリア81と、様々な定数
が格納される定数格納エリア82を備えている。
FIG. 3 is a diagram showing various areas in the RAM included in the μCOM in FIG. This RAM 34
Are a sampling data storage area 341 in which data sampled by the calculating means is stored, and a first target value storage area 342 in which the deflection angle of the pointer obtained based on the analog fuel signal from the fuel sensor is stored. A current swing angle value storage area 343 in which a target value at the time of fuel display is stored, a second target value storage area 344 in which the latest target value is stored every time the vehicle stops for a certain period of time,
A third target value storage area 345 for storing a target value when the vehicle is stopped when the vehicle is not horizontal, and a fourth target value storage area 346 for storing an instruction value when the vehicle is running when the vehicle is not horizontal. And a flag area 347 in which flag information of FT1 to FT6 is set, and a timer area 344 in which a timer value is set. FIG. 4 is a diagram showing various areas in the nonvolatile memory (NVM) in FIG. The NVM 8 has a target value storage area 81 for storing an instruction value of the remaining fuel amount when the IGN switch is turned off, and a constant storage area 82 for storing various constants.

【0024】以上の構成において、μCOM3のCPU
33は、ROM32に格納したプログラムに従って電源
ポートVCC、入力ポートI1〜I4の状態を読み込んで所
定の処理を行い、その処理の結果により、出力ポートO
1及びO2に対しデータを出力するとともに入出力ポート
IOを介してデータの読み込み及び書き込みを行う。
In the above configuration, the CPU of the μCOM3
33 reads the state of the power supply port V CC and the states of the input ports I 1 to I 4 according to the program stored in the ROM 32 and performs predetermined processing.
Reads and writes data via the input-output ports IO outputs a 1 and O 2 to the data.

【0025】具体的には、μCOM3のCPU33は、
電源ポートVCCに印加される電圧V CCを監視し、その立
ち上がりによってイグニッション(IGN)スイッチが
オンしたことを、立ち下がりによってオフしたことをそ
れぞれ判定する。μCOM3のCPU33は、入力ポー
トI1に入力されているアナログ燃料信号を予め定めた
例えば100msのサンプリング周期でA/D変換器3
1にA/D変換させてデジタル燃料信号を得て、100
ms×16=1.6秒毎に、このデジタル燃料信号を1
6個収集して平均化し、この値より指示値としての指針
の振れ角値を演算する。この演算した指針の振れ角値を
8個収集し、この収集した8個の振れ角値を加重平均し
て指針の振れ角値の目標値を演算する。すなわち、μC
OM3のCPU33は、燃料センサ1からのアナログ燃
料信号を入力してデジタル燃料残量の指示値を演算する
演算手段として働いている。この目標値となる加重平均
値は、以下の加重平均式によって求められる。
More specifically, the CPU 33 of the μCOM 3
Power port VCCV applied to CCMonitor and stand
Ignition (IGN) switch by rising
Turns on, and turns off by falling.
Judge each. The CPU 33 of the μCOM 3
I1The analog fuel signal input to the
For example, the A / D converter 3 has a sampling period of 100 ms.
A / D converted to 1 to obtain a digital fuel signal,
ms × 16 = every 1.6 seconds, this digital fuel signal
6 samples are collected and averaged, and this value is used as an indicator.
Is calculated. The calculated swing angle value of the pointer
Eight pieces were collected, and the collected eight swing angle values were weighted averaged.
To calculate the target value of the deflection angle of the pointer. That is, μC
The CPU 33 of the OM 3 reads the analog fuel from the fuel sensor 1.
Calculate the digital fuel level indication by inputting the fuel signal
Working as arithmetic means. Weighted average for this target value
The value is determined by the following weighted average formula.

【0026】 Σold(i)=Σold(i-1)−Σold(i-1)/N+NEW 振れ角=Σold(i)/N(N=8) そして、この目標値は、指針を現在位置から比較的長い
第2の一定時間毎に一定角度づつ順次駆動して移動させ
る最終位置の振れ角値である。
Σold (i) = Σold (i−1) −Σold (i−1) / N + NEW Deflection angle = Σold (i) / N (N = 8) Then, the target value is obtained by comparing the hands from the current position. It is a deflection angle value of a final position to be driven and moved sequentially by a constant angle every second constant time which is relatively long.

【0027】μCOM3のCPU33は、入力ポートI
2に入力されるスピードパルスの周期を計測し所定時間
が経過してもスピードパルスの入力がないときには車速
が0、すなわち、車両が停止していると判定する。μC
OM3のCPU33は、入力ポートI3に入力されるタ
コパルスの存在によってエンジンがオンしていることを
判定する。また、μCOM3のCPU33は、入力ポー
トI4に接続されている傾き検出手段としての傾斜セン
サスイッチ5がオンしているとき、車両が所定角度以上
傾斜していて非水平状態にあると判定し、オフしている
とき、車両が所定角度以上傾斜しておらず水平状態にあ
ると判定する。
The CPU 33 of the μCOM 3 has an input port I
The cycle of the speed pulse input to 2 is measured, and if there is no input of the speed pulse even after a predetermined time has elapsed, it is determined that the vehicle speed is 0, that is, the vehicle is stopped. μC
The CPU 33 of the OM 3 determines that the engine is on based on the presence of the tacho pulse input to the input port I 3 . Further, the CPU 33 of the μCOM 3 determines that the vehicle is tilted by a predetermined angle or more and is in a non-horizontal state when the tilt sensor switch 5 serving as the tilt detecting means connected to the input port I 4 is on, When the vehicle is off, it is determined that the vehicle is not inclined at a predetermined angle or more and is in a horizontal state.

【0028】上述のような入力処理の結果により、μC
OM3のCPU33は、以下のような演算処理、出力処
理及び入出力処理を行う。
According to the result of the input processing as described above, μC
The CPU 33 of the OM 3 performs the following arithmetic processing, output processing, and input / output processing.

【0029】μCOM3のCPU33は電源ポートVCC
のレベルを常時監視していて、IGNスイッチがオフし
て電源ポートVCCがLレベル状態にあるときには、省電
力モードのスタンバイ状態になる。このスタンバイ状態
にあるときにIGNスイッチがオン操作され、入力ポー
トVCCがHレベル状態になると、IGNスイッチがオン
状態になったと判定し、以下のような初期出力処理を行
う。
The CPU 33 of the μCOM 3 is connected to the power port V CC
Is constantly monitored, and when the IGN switch is turned off and the power supply port V CC is in the L level state, the apparatus enters the power saving mode standby state. When the IGN switch is turned on during this standby state and the input port V CC goes to the H level state, it is determined that the IGN switch has been turned on, and the following initial output processing is performed.

【0030】この初期出力処理においては、まず、例え
ば100msのBms(ミリ秒)周期でデジタル燃料信
号を得てRAM34内のサンプリングデータ格納エリア
341に格納し、例えば4回のデジタル燃料信号を得た
ところでその単純平均値によって振れ角値を求める。な
お、この定数Bの値は上記NVM8内の定数格納エリア
82に格納されている。次に、入力ポートI4に接続さ
れた傾斜センサスイッチ5の状態により、車両が非水平
状態、水平状態のいずれであるかを判定する。
In this initial output process, first, a digital fuel signal is obtained at a Bms (millisecond) cycle of, for example, 100 ms, and is stored in the sampling data storage area 341 in the RAM 34. For example, four digital fuel signals are obtained. By the way, the deflection angle value is obtained from the simple average value. The value of the constant B is stored in the constant storage area 82 in the NVM 8. Next, it is determined by the state of the tilt sensor switch 5 connected to the input port I 4, the vehicle is non-horizontal state, which one of the horizontal state.

【0031】水平状態のときには、上記単純平均値によ
って求めた振れ角値をRAM34内の第1の目標値格納
エリア342に格納するとともに現在振れ角値格納エリ
ア343に格納してクロスコイルドライバ6に対して出
力し、計器の指針にその振れ角値を表示させる。すなわ
ち、μCOM3のCPU33は、表示手段としてのクロ
スコイル式計器を駆動して計器に燃料残量を表示させる
制御を行う表示制御手段として働いている。
In the horizontal state, the swing angle value obtained by the above simple average value is stored in the first target value storage area 342 in the RAM 34 and in the current swing angle value storage area 343 to be transmitted to the cross coil driver 6. Is output to the instrument, and the deflection angle value is displayed on the pointer of the instrument. That is, the CPU 33 of the μCOM 3 functions as a display control unit that drives a cross-coil meter as a display unit and controls the meter to display the remaining fuel amount.

【0032】非水平状態のときには、まず、前回IGN
スイッチをオフしたときにNVM8内の目標値格納エリ
ア81に記憶した目標値データがあるかどうかを判断
し、あるときには、上述のように今回求めた振れ角値
と、目標値格納エリア81に記憶していた目標値との差
をとり、この差が所定値A以上であるかどうかを判定す
る。なお、この定数Aの値は上記NVM8内の定数格納
エリア82に格納されている。この判定は、前回IGN
スイッチをオフしたときから今回IGNスイッチをオン
したときまでの間に給油があって燃料残量が大きく変化
したかどうかを判断するためのものである。すなわち、
μCOM3のCPU33は、燃料の補給の有無を検出す
る補給検出手段として働いている。
In the non-horizontal state, first, the last IGN
When the switch is turned off, it is determined whether or not there is target value data stored in the target value storage area 81 in the NVM 8, and if so, the swing angle value obtained this time as described above and stored in the target value storage area 81. The difference from the set target value is determined, and it is determined whether the difference is equal to or greater than a predetermined value A. The value of the constant A is stored in the constant storage area 82 in the NVM 8. This determination is based on the last IGN
This is for judging whether or not there is refueling between the time when the switch is turned off and the time when the IGN switch is turned on this time, and the remaining fuel amount has changed greatly. That is,
The CPU 33 of the μCOM 3 functions as replenishment detection means for detecting the presence or absence of refueling.

【0033】上記差がA以上である場合、すなわち、給
油があったときには、補給された燃料残量の振れ角値を
RAM34内の第1の目標値格納エリア342と現在振
れ角値格納エリア343に格納してクロスコイルドライ
バ6に対して出力する。上記差がA未満である場合、ず
なわち、給油がなかったときには、前回のIGNスイッ
チオフ直前の指針の位置を表示させるため、NVM8内
の目標値格納エリア81に記憶していた目標値をRAM
34内の第1の目標値格納エリア342に格納するとと
もに現在振れ角値格納エリア343に格納してクロスコ
イルドライバ6に対して出力する。
When the difference is equal to or larger than A, that is, when fuel is supplied, the swing angle value of the replenished fuel remaining amount is stored in the first target value storage area 342 and the current swing angle value storage area 343 in the RAM 34. And outputs it to the cross coil driver 6. If the difference is less than A, that is, if there is no refueling, the target value stored in the target value storage area 81 in the NVM 8 is displayed in order to display the position of the pointer immediately before the last IGN switch off. RAM
The data is stored in the first target value storage area 342 in the memory 34 and the current swing angle value storage area 343 and output to the cross coil driver 6.

【0034】また、前回IGNスイッチをオフしたとき
のデータがないときには、上記単純平均値によって求め
た振れ角値をRAM34内の第1の目標値格納エリア3
42に格納するとともに現在振れ角値格納エリア343
に格納してクロスコイルドライバ6に対して出力する。
If there is no data when the IGN switch was turned off last time, the swing angle value obtained by the above simple average value is stored in the first target value storage area 3 in the RAM 34.
42 and the current swing angle value storage area 343
And outputs it to the cross coil driver 6.

【0035】上記何れの場合にも、RAM34内の現在
振れ角値格納エリア343に格納されている振れ角値に
よる指針位置が定数D以下であるかどうかを判定し、指
針位置がD以下である場合には、残量ウオーニングイン
ジケータ9を点灯し、指針位置がD未満である場合には
消灯する。なお、この定数Dの値は上記NVM8内の定
数格納エリア82に格納されている。以上により、初期
値の出力処理を終了するが、この処理の過程においてI
GNスイッチがオフされると、その処理の途中で上記ス
タンバイ状態に戻る。
In any of the above cases, it is determined whether or not the pointer position based on the swing angle value stored in the current swing angle value storage area 343 in the RAM 34 is equal to or smaller than a constant D. In this case, the remaining amount warning indicator 9 is turned on, and when the pointer position is less than D, it is turned off. The value of the constant D is stored in the constant storage area 82 in the NVM 8. Thus, the output processing of the initial value is completed.
When the GN switch is turned off, the process returns to the standby state during the process.

【0036】上述のように初期値出力処理が終了する
と、次に、IGNスイッチがオフするか、又は、エンジ
ンがオンするまで以下の処理を行うが、以下の処理にお
いては、車両が走行するまで、次のような処理を常に行
っている。
When the initial value output processing is completed as described above, the following processing is performed until the IGN switch is turned off or the engine is turned on. In the following processing, until the vehicle runs. The following processing is always performed.

【0037】すなわち、μCOM3のCPU33は入力
ポートI2に入力されるスピードパルスの周期を計測し
所定時間が経過してもスピードパルスの入力がなく車速
0km/hであると判断し、この状態がP秒の間続いた
場合、そのときのRAM34内の第1の目標値格納エリ
ア342に記憶している目標値の振れ角値を、一時記憶
手段としての第2の目標値格納エリアに記憶しておき、
その後この第2の目標値格納エリアに記憶した目標値と
一定時間Q毎に求めた目標値の振れ角値との差が連続し
てNVM内に設定されたR回定数A以上の場合には高速
応答モードに入り、定数Aより小さい場合には通常モー
ドに入る。高速応答モードは給油時の処理を考慮して設
けられている。
That is, the CPU 33 of the μCOM 3 measures the cycle of the speed pulse input to the input port I 2 , determines that there is no input of the speed pulse even after the lapse of a predetermined time, and determines that the vehicle speed is 0 km / h. If it lasts for P seconds, the swing angle value of the target value stored in the first target value storage area 342 in the RAM 34 at that time is stored in the second target value storage area as temporary storage means. In advance,
Thereafter, when the difference between the target value stored in the second target value storage area and the swing angle value of the target value obtained at regular time intervals Q is continuously equal to or larger than the R time constant A set in the NVM, It enters the high-speed response mode, and enters the normal mode when it is smaller than the constant A. The high-speed response mode is provided in consideration of processing at the time of refueling.

【0038】なお、上記目標値は、サンプリング周期で
得てRAM34内のサンプリングデータ格納エリア34
1に格納したデジタル燃料信号が16個となったところ
でこれらを平均して一定時間Q毎に求められる。よって
この定数Qの値は、例えば100ms(サンプリング周
期)×16回(平均回数)に相当する時間であり、上記
NVM8内の定数格納エリア82に格納されている。
The above-mentioned target value is obtained in a sampling cycle, and is stored in a sampling data storage area 34 in the RAM 34.
When the number of digital fuel signals stored in 1 becomes 16, these are averaged and obtained at regular time intervals Q. Therefore, the value of the constant Q is a time corresponding to, for example, 100 ms (sampling cycle) × 16 times (average number), and is stored in the constant storage area 82 in the NVM 8.

【0039】車両が水平状態にあるときには、通常モー
ドの場合、上述のように16個のデジタル燃料信号を平
均して一定時間Q毎に求めた振れ角値を目標値とし、こ
の目標値を第1の目標値格納エリア342に格納すると
ともに、この目標値を加重平均してこの目標値に向けて
RAM34内の現在振れ角値格納エリア343に格納し
ている振れ角値のデータをN秒毎に1ビットづつ変化さ
せ、現在の振れ角値から第2の一定時間であるN秒毎に
1ビットに相当する角度づつ振らせる。一方、高速応答
モードの場合、上述のように加重平均した振れ角値に向
けて第1の一定時間よりも比較的短い第1の一定時間で
あるMms毎に1ビットづつ振らせる。なお、この定数
N及びMは上記NVM8内の定数格納エリア82に格納
されている。
When the vehicle is in the horizontal state, in the case of the normal mode, the swing angle value obtained by averaging the 16 digital fuel signals at regular time intervals Q as described above is set as the target value, and this target value is set as the target value. 1 is stored in the target value storage area 342, the target value is weighted and averaged, and the deflection angle data stored in the current deflection angle value storage area 343 in the RAM 34 toward the target value is stored every N seconds. Is changed by one bit at a time, and the angle corresponding to one bit is changed every N seconds which is the second fixed time from the current shake angle value. On the other hand, in the case of the high-speed response mode, the swing angle is weighted one bit at a time in Mms, which is a first fixed time relatively shorter than the first fixed time, toward the weighted swing angle value as described above. The constants N and M are stored in a constant storage area 82 in the NVM 8.

【0040】車両が非水平状態にあるときには、通常モ
ードの場合、初期値出力処理においてRAM34内の現
在振れ角値格納エリア343に格納した振れ角値をクロ
スコイルドライバ6に対して出力し続けて指針は動かさ
ない。これに対し、高速応答モードの場合には、NVM
8内の目標値格納エリア81に記憶している目標値の振
れ角値に、上述のように今回求めた振れ角値とRAM3
4内の第2の目標値格納エリア344に記憶していた振
れ角値との差を加算した値を新しい目標値の振れ角値と
してRAM34内の第1の目標値格納エリア342に記
憶する。そして、この目標値に向けてRAM34内の現
在振れ角値格納エリア343に格納している振れ角値の
データをMms毎に1ビットづつ変化させ、現在の振れ
角値からMms毎に1ビットに相当する角度づつ指針を
振らせる。
When the vehicle is in a non-horizontal state, in the normal mode, in the initial value output process, the swing angle value stored in the current swing angle value storage area 343 in the RAM 34 is continuously output to the cross coil driver 6. Do not move the pointer. On the other hand, in the case of the fast response mode, the NVM
8 is added to the swing angle value of the target value stored in the target value storage area 81 in the RAM 8 and the swing angle value obtained this time as described above.
4 is stored in the first target value storage area 342 in the RAM 34 as a new target value deflection angle value obtained by adding the difference from the deflection angle value stored in the second target value storage area 344 in the RAM 34. Then, the swing angle value data stored in the current swing angle value storage area 343 in the RAM 34 is changed by one bit for each Mms toward the target value, and the data is changed from the current shake angle value to one bit for each Mms. Move the pointer by the corresponding angle.

【0041】上記何れの場合にも、RAM34内の現在
振れ角格納エリア343に記憶している振れ角値により
判定し、定数D以下の場合、残量ウオーニングインジケ
ータ9を点灯する。指針の位置が40秒以上Dより大き
いかを、RAM34内の現在振れ角値格納エリア343
に記憶している振れ角値により判定し、残量ウオーニン
グインジケータ9を消灯する。なお、この40秒のタイ
マは累計タイマとされ、車両の状態が水平状態と非水平
状態の間で変化してもクリアされないが、指針位置が定
数Dを跨いで移動したときにクリアされ、連続して40
秒の間、同一状態にあるときのみ点灯している残量ウォ
ーニングインジケータ9を消灯する。
In any of the above cases, the determination is made based on the swing angle value stored in the current swing angle storage area 343 in the RAM 34, and when it is equal to or smaller than the constant D, the remaining amount warning indicator 9 is turned on. Whether the position of the pointer is larger than D for 40 seconds or more is determined by the current swing angle value storage area 343 in the RAM 34.
And the remaining amount warning indicator 9 is turned off. This 40-second timer is a cumulative timer, which is not cleared even if the vehicle state changes between the horizontal state and the non-horizontal state, but is cleared when the pointer position moves over a constant D, and is continuously cleared. Then 40
During the second, the remaining amount warning indicator 9, which is lit only when it is in the same state, is turned off.

【0042】上述の処理の過程においてIGNスイッチ
がオフされると、その処理の途中で上記スタンバイ状態
に戻り、エンジンがオンされると、アイドリング表示処
理を行う。なお、車両が走行しているときにエンジンが
オフ−オンしたときには、アイドリング表示処理を経ず
直接に走行表示処理に移行する。
When the IGN switch is turned off in the course of the above processing, the process returns to the standby state in the middle of the processing, and when the engine is turned on, the idling display processing is performed. When the engine is turned on and off while the vehicle is running, the process directly proceeds to the running display process without going through the idling display process.

【0043】アイドリング表示処理においては、車両が
水平状態にあるときには、通常モードの場合、上述した
と同様に、上述の加重平均した振れ角値を目標値とし、
この目標値に向けてN秒毎に1ビットづつ指針を振らせ
る。高速応答モードの場合にも、上述したと同様に、加
重平均した目標値の振れ角値に向けてMms毎に1ビッ
トづつ振らせる。
In the idling display process, when the vehicle is in the horizontal state, in the normal mode, the weighted average swing angle value is set as the target value in the same manner as described above.
The pointer is moved one bit at a time every N seconds toward the target value. Also in the case of the high-speed response mode, in the same manner as described above, a swing is performed one bit at a time every Mms toward the swing angle value of the weighted average target value.

【0044】車両が非水平状態にあるときには、通常モ
ードの場合、例えば1時間当たり2リットル(l)の燃
料消費があるとして、2リットル(l)/hの割合で現
在の振れ角より減算処理する。すなわち、μCOM3の
CPU33は、エンジンのオンから走行開始までの間、
非水平状態を検出しているとき、単位時間当たり所定の
燃料消費があるとして所定時間毎に現在の指示値から所
定値を順次減算して燃料残量の指示値を演算している。
この減算処理では、現在の振れ角値より2リットル/h
相当の振れ角を減算処理し、この値を加重平均して目標
値を求め、これを一定時間Q毎にRAM34内の第3の
目標値格納エリア345に格納し、この目標値に向けて
N秒毎に1ビットづつ指針を振らせる。
When the vehicle is in the non-horizontal state, in the normal mode, for example, assuming that 2 liters (l) of fuel is consumed per hour, the current swing angle is subtracted at a rate of 2 liters (l) / h. I do. That is, the CPU 33 of the μCOM 3 performs the operation from the time when the engine is turned on to the time when the vehicle starts running.
When a non-horizontal state is detected, it is determined that there is a predetermined fuel consumption per unit time, and a predetermined value is sequentially subtracted from a current specified value at a predetermined time to calculate a fuel remaining value.
In this subtraction processing, 2 liters / h is calculated from the current swing angle value.
A corresponding swing angle is subtracted, a weighted average of the values is obtained to obtain a target value, and the target value is stored in a third target value storage area 345 in the RAM 34 at regular time intervals Q. Move the pointer one bit at a time every second.

【0045】高速応答モードの場合には、上述したと同
様に、NVM8内の目標値格納エリア81に記憶してい
る目標値の振れ角値に今回求めた振れ角値と第2の目標
値格納エリア344に記憶していた振れ角値との差を加
算した値を新しい目標値の振れ角値として第1の目標値
格納エリア342に記憶し、この目標値に向けて現在振
れ角値格納エリア343に格納している振れ角値のデー
タをMms毎に1ビットづつ変化させ、現在の振れ角値
からMms毎に1ビットに相当する角度づつ指針を振ら
せる。
In the case of the high-speed response mode, in the same manner as described above, the swing angle value of the target value stored in the target value storage area 81 in the NVM 8 and the swing angle value obtained this time and the storage of the second target value are stored. A value obtained by adding the difference from the swing angle value stored in the area 344 is stored in the first target value storage area 342 as a swing angle value of a new target value, and the current swing angle value storage area is moved toward this target value. The swing angle value data stored in 343 is changed by one bit every Mms, and the pointer is swung by an angle corresponding to one bit every Mms from the current shake angle value.

【0046】上記何れの場合にも、定数D以下である
か、或いは、指針の位置が40秒以上Dより大きいかを
判定し、前者の場合には、図示しない残量ウォーニング
インジケータ9を点灯し、後者の場合には消灯する。な
お、このアイドリング表示処理の過程においてIGNス
イッチがオフされると、その処理の途中で上記スタンバ
イ状態に戻り、車速が0km/hより大きくなると走行
表示処理に移行する。
In any of the above cases, it is determined whether the value is equal to or less than the constant D or the position of the pointer is greater than D for 40 seconds or more. In the former case, the remaining amount warning indicator 9 (not shown) is turned on. In the latter case, the light is turned off. When the IGN switch is turned off during the idling display process, the process returns to the standby state in the middle of the process, and when the vehicle speed exceeds 0 km / h, the process proceeds to the traveling display process.

【0047】走行表示処理においては、車両が水平状態
にあるときには上述したように加重平均した目標値の振
れ角値に向けてN秒毎に1ビットづつ振らせる。車両が
非水平状態にあるときには6km当たり1リットル
(l)の燃料消費があるとして、上記サンプリング周期
に相当する時間毎に6km/リットル(l)の割合で燃
料消費量分減算処理する。すなわち、μCOM3のCP
U33は、車両の走行中、非水平状態を検出していると
き、単位量当たり所定距離走行するとし、所定時間毎に
現在の指示値から走行距離に応じた所定値を順次減算し
て燃料残量の指示値を演算している。この減算処理で
は、現在の振れ角値より減算した値を加重平均して目標
値を求め、これを一定時間Q毎にRAM34内の第4の
目標値格納エリア346に格納し、この目標値に向けて
Mms毎に1ビットづつ指針を振らせる。
In the traveling display process, when the vehicle is in a horizontal state, the vehicle is swung by one bit every N seconds toward the swing angle value of the weighted average target value as described above. Assuming that 1 liter (l) of fuel is consumed per 6 km when the vehicle is in a non-horizontal state, the fuel consumption is subtracted at a rate of 6 km / liter (l) every time corresponding to the sampling period. That is, the CP of μCOM3
U33 determines that the vehicle travels a predetermined distance per unit amount when a non-horizontal state is detected while the vehicle is running, and sequentially subtracts a predetermined value corresponding to the traveling distance from a current instruction value at predetermined time intervals to determine a remaining fuel amount. Calculating the indicated value of the quantity. In this subtraction processing, a value obtained by subtracting the value obtained by subtracting from the current shake angle value is obtained as a weighted average, and a target value is obtained. The target value is stored in the fourth target value storage area 346 in the RAM 34 at regular time intervals Q. The pointer is moved one bit at a time every Mms.

【0048】上記何れの場合にも、定数D以下である
か、或いは、指針の位置が40秒以上定数Dより大きい
かを判定し、前者の場合には、残量ウオーニングインジ
ケータ9を点灯し、後者の場合には消灯する。なお、こ
の走行表示処理の過程において、IGNスイッチがオフ
されると、その処理の途中で上記スタンバイ状態に戻
り、車速が0km/hになるとアイドリング表示処理に
戻り、エンジンがオフされると、初期値出力処理の直後
の処理に戻る。
In any of the above cases, it is determined whether the pointer is below the constant D or the position of the pointer is larger than the constant D for 40 seconds or more. In the former case, the remaining amount warning indicator 9 is turned on. In the latter case, the light is turned off. In the course of this traveling display processing, if the IGN switch is turned off, the processing returns to the standby state in the middle of the processing. If the vehicle speed becomes 0 km / h, the processing returns to the idling display processing. Return to the process immediately after the value output process.

【0049】以上概略説明した動作の詳細をμCOM3
のCPUが行う処理を示す図5〜図16のフローチャー
トを参照して以下詳細に説明する。図5は図2中の演算
制御部のμCOMが行う処理の一部を示すフローチャー
トであり、図6は図2中の演算制御部のμCOMが行う
処理を他の一部示すフローチャートであり、図7は図2
中の演算制御部のμCOMが行う処理の更に他の一部を
示すフローチャートであり、図8は図2中の演算制御部
のμCOMが行う処理の他の一部を示すフローチャート
であり、図9は図6中の残量−振れ角変換処理を内容を
示すフローチャートであり、図10は図6中のモード設
定処理の内容を示すフローチャートであり、図11は図
6中の振れ角出力処理Aの内容を示すフローチャートで
あり、図12は図6中の振れ角出力処理Bの内容を示す
フローチャートであり、図13は図6中の振れ角出力処
理Cの内容を示すフローチャートであり、図14は図7
中の振れ角出力処理Dの内容を示すフローチャートであ
り、図15は図8中の振れ角出力処理Eの内容を示すフ
ローチャートであり、図16は図6中のCPU移行スタ
ンバイ処理の内容を示すフローチャートである。
The details of the operation outlined above are described in μCOM3
This will be described in detail below with reference to flowcharts of FIGS. FIG. 5 is a flowchart showing a part of the processing performed by the μCOM of the arithmetic control unit in FIG. 2, and FIG. 6 is a flowchart showing another part of the processing performed by the μCOM of the arithmetic control unit in FIG. 7 is FIG.
9 is a flowchart showing still another part of the processing performed by the μCOM of the arithmetic control unit in FIG. 9, and FIG. 8 is a flowchart showing another part of the processing performed by the μCOM of the arithmetic control unit in FIG. 10 is a flowchart showing the contents of the remaining amount-shake angle conversion process in FIG. 6, FIG. 10 is a flowchart showing the contents of the mode setting process in FIG. 6, and FIG. 11 is a shake angle output process A in FIG. 12 is a flowchart showing the contents of the swing angle output process B in FIG. 6, FIG. 13 is a flowchart showing the contents of the shake angle output process C in FIG. 6, and FIG. Figure 7
15 is a flowchart showing the contents of the swing angle output processing D in FIG. 15, FIG. 15 is a flowchart showing the contents of the shake angle output processing E in FIG. 8, and FIG. 16 shows the contents of the CPU shift standby processing in FIG. It is a flowchart.

【0050】μCOM3のCPU33は、図5に示すよ
うに、電源の投入によって動作を開始し、IGNスイッ
チがオンされるまで、ステップS1においてIGNスイ
ッチのオンを待つスタンバイ状態にある。IGNスイッ
チがオン操作され、ステップS1の判定がYESになる
とステップS2に進んでサンプリング時間Bmsの経過
を待つ。サンプリング時間が経過してステップS2の判
定がYESになるとステップS3に進んで入力ポートI
1 のアナログ燃料信号をA/D変換してデジタル燃料デ
ータを得て、これをRAM34内に形成したサンプリン
グデータ格納エリア341に格納する。その後、ステッ
プS4に進んで4つのデータエリアにデジタル燃料デー
タが格納されているか否かを判定し、この判定がYES
になるまで上記ステップS2〜S4を繰り返す。
As shown in FIG. 5, the CPU 33 of the μCOM 3 starts operating when the power is turned on, and is in a standby state in which the IGN switch is turned on in step S1 until the IGN switch is turned on. When the IGN switch is turned on and the determination in step S1 is YES, the process proceeds to step S2 and waits for the elapse of the sampling time Bms. When the sampling time has elapsed and the determination in step S2 is YES, the process proceeds to step S3, where the input port I
A / D conversion is performed on the analog fuel signal 1 to obtain digital fuel data, which is stored in a sampling data storage area 341 formed in the RAM 34. Thereafter, the process proceeds to step S4, where it is determined whether or not digital fuel data is stored in the four data areas.
Steps S2 to S4 are repeated until.

【0051】ステップS4の判定がYESのときにはス
テップS5に進み、ここで上記ステップS3において読
み込みRAM34の4つの燃料データエリアに格納した
燃料データの単純平均値を求めてからステップS6に進
む。ステップS6においては、上記ステップS5におい
て求めた単純平均値に基づいて振れ角値を演算し、この
振れ角値を目標値としてRAM34内の第1の目標値格
納エリア342に格納する。上記ステップS2〜S6の
処理によって、CPU33は、イグニッションスイッチ
がオンした直後に、燃料センサ1からの燃料信号を入力
して燃料残量の指示値を演算する演算手段として機能す
る。
When the determination in step S4 is YES, the process proceeds to step S5, where the simple average value of the fuel data read in step S3 and stored in the four fuel data areas of the RAM 34 is obtained, and then the process proceeds to step S6. In step S6, a swing angle value is calculated based on the simple average value obtained in step S5, and the swing angle value is stored in the first target value storage area 342 in the RAM 34 as a target value. By the processes of steps S2 to S6, immediately after the ignition switch is turned on, the CPU 33 functions as a calculation unit that inputs the fuel signal from the fuel sensor 1 and calculates the indicated value of the remaining fuel amount.

【0052】上記ステップS6の演算及び格納に続いて
ステップS7に進み、ここで前回IGNスイッチのオフ
時に目標値が格納されるNVM8内の目標値格納エリア
81に格納した目標値があるか否かを判定し、データが
なくステップS7の判定がNOのときには上記ステップ
S8に進み、上記ステップS6において、第1の目標値
格納エリア342内に格納されている振れ角値を現在振
れ角値格納エリア343に格納し、これをクロスコイル
ドライバ6に対して出力してからステップS9に進む。
このステップS8の処理によって、CPU33は、表示
手段としてのクロスコイル式計器を駆動して計器に燃料
残量を表示させる制御を行う表示制御手段として機能
し、イグニッションスイッチのオン直後、演算した指示
値に基づいて燃料残量を表示させる。
Following the calculation and storage in step S6, the process proceeds to step S7, where it is determined whether or not there is a target value stored in the target value storage area 81 in the NVM 8 where the target value was previously stored when the IGN switch was turned off. When there is no data and the determination in step S7 is NO, the process proceeds to step S8. In step S6, the swing angle value stored in the first target value storage area 342 is replaced with the current swing angle value storage area. 343, and outputs this to the cross coil driver 6, and then proceeds to step S9.
By the processing in step S8, the CPU 33 functions as a display control unit that controls the cross-coil meter as a display unit to display the fuel remaining amount on the meter, and calculates the indicated value immediately after the ignition switch is turned on. The remaining fuel amount is displayed based on.

【0053】このように、NVM8内の目標値格納エリ
ア81に格納した目標値が記憶されていないとき、演算
した指示値に基づいて燃料残量を表示させるので、車両
が傾斜地にあってイグニッションスイッチがオンされた
とき燃料残量の目標値がNVM8内の目標値格納エリア
81に記憶されていなくても、何も表示されなくなるこ
とがない。
As described above, when the target value stored in the target value storage area 81 in the NVM 8 is not stored, the remaining fuel amount is displayed based on the calculated instruction value. When is turned on, even if the target value of the remaining fuel amount is not stored in the target value storage area 81 in the NVM 8, nothing is displayed.

【0054】一方、ステップ7における判定がYESの
ときにはステップS9に進む。ステップS9において
は、今回上記ステップS6で演算してRAM34内の第
1の目標値格納エリア342に格納された振れ角値と、
前回IGNスイッチをオフしたときにNVM8内の目標
値格納エリア81に記憶していた目標値との差をとり、
次のステップS10において、この差が定数A以上であ
るか否かを判定する。このステップS10の処理によ
り、CPU33は、イグニッションスイッチのオン直
後、NVM8内の目標値格納エリア81に記憶している
指示値と今回演算した指示値との差をとり、この差が予
め定めた所定値A以上あることにより燃料の補給有りを
検出している。
On the other hand, if the determination in step 7 is YES, the process proceeds to step S9. In step S9, the swing angle value calculated in step S6 and stored in the first target value storage area 342 in the RAM 34 this time,
The difference from the target value stored in the target value storage area 81 in the NVM 8 when the IGN switch was turned off last time is calculated,
In the next step S10, it is determined whether or not this difference is equal to or greater than a constant A. By the process in step S10, immediately after the ignition switch is turned on, the CPU 33 obtains a difference between the instruction value stored in the target value storage area 81 in the NVM 8 and the instruction value calculated this time, and determines the difference as a predetermined predetermined value. The presence of fuel supply is detected by the presence of the value A or more.

【0055】ステップS10の判定がYESのとき、す
なわち、給油によってIGNスイッチのオフ時の振れ角
値と今回求めた振れ角値との差が定数A以上に大きくな
ったときにはステップS11に進んで、ここで上記ステ
ップS6において第1の目標値格納エリア342内に格
納されている振れ角値を現在振れ角値格納エリア343
に格納し、これをクロスコイルドライバ6に対して出力
してからステップS13に進む。よって、イグニッショ
ンスイッチがオフの間に給油されても、イグニッション
スイッチのオン直後から正確に給油によって増加した燃
料残量の指示値を表示手段に表示されるようになる。
When the determination in step S10 is YES, that is, when the difference between the swing angle value when the IGN switch is turned off and the shake angle value obtained this time becomes larger than the constant A due to refueling, the process proceeds to step S11. Here, the swing angle value stored in the first target value storage area 342 in the above step S6 is changed to the current swing angle value storage area 343.
And outputs this to the cross coil driver 6 before proceeding to step S13. Therefore, even if the fuel is supplied while the ignition switch is off, the indication value of the remaining fuel amount that has been accurately increased by refueling immediately after the ignition switch is turned on is displayed on the display means.

【0056】一方、ステップS10の判定がNOのと
き、すなわち、ステップS9において求めた差が定数A
未満であるときには、ステップS12に進んでNVM8
内の目標値格納エリア81に記憶していた前回IGNス
イッチのオフ後の指針の振れ角値の目標値を、RAM3
4内の第1の目標値格納エリア342に格納するととも
に現在振れ角値格納エリア343に格納し、これをクロ
スコイルドライバ6に対して出力してから上記ステップ
S13に進む。よって、イグニッションスイッチのオン
直後から正確な燃料残量の指示値を表示手段に表示され
るようになる。
On the other hand, when the determination in step S10 is NO, that is, when the difference obtained in step S9 is a constant A
If it is less than NVM8, the process proceeds to step S12.
The target value of the swing angle value of the pointer after the last time the IGN switch was turned off, stored in the target value storage area 81 in the RAM 3 is stored in the RAM 3.
4 is stored in the first target value storage area 342 and the current deflection angle value storage area 343, and is output to the cross coil driver 6, and then the process proceeds to step S13. Therefore, an accurate indication of the remaining fuel amount is displayed on the display means immediately after the ignition switch is turned on.

【0057】次に、ステップS13においては、指針の
位置、すなわち、RAM34内の現在振れ角格納エリア
343に格納した振れ角値が、定数D以上であるか否か
を判定し、この判定がNOのときにはステップS15に
進んで残量ウオーニングインジケータ9を点灯する。ス
テップS9の判定がYES、すなわち、指針の位置が定
数Dより大きいときにはステップS11に進んで残量ウ
オーニングインジケータ9を消灯し、以上によりIGN
スイッチがオンされた時の初期値出力処理を終了して次
の処理に移行する。
Next, in step S13, it is determined whether or not the position of the pointer, that is, the swing angle value stored in the current swing angle storage area 343 in the RAM 34 is greater than or equal to the constant D. In the case of, the process proceeds to step S15, and the remaining amount warning indicator 9 is turned on. If the determination in step S9 is YES, that is, if the position of the pointer is larger than the constant D, the process proceeds to step S11 to turn off the remaining amount warning indicator 9, and the IGN
The initial value output processing when the switch is turned on ends, and the process proceeds to the next processing.

【0058】上述した初期値出力処理の終了後は、ステ
ップST0(図6)の残量−振れ角変換処理及びステッ
プST1(図6)のモード設定処理を経てステップS2
0に進み、ここで入力ポートI4 に接続されている傾斜
センサスイッチ5の状態を読み込み、この読み込んだ傾
斜センサスイッチ5の状態により車両が水平状態にある
か否かを判定する。ステップS20の判定がYESのと
きすなわち水平状態のときにはステップS21に、NO
のときすなわち非水平状態のときにはステップS22に
それぞれ進んで処理モードが通常モードであるか否かを
判定する。
After the end of the above-described initial value output processing, the remaining amount-deflection angle conversion processing in step ST0 (FIG. 6) and the mode setting processing in step ST1 (FIG. 6) are performed, and step S2 is performed.
Then, the state of the tilt sensor switch 5 connected to the input port I4 is read, and it is determined whether the vehicle is in a horizontal state based on the read state of the tilt sensor switch 5. When the determination in step S20 is YES, that is, when the vehicle is in the horizontal state, NO is determined in step S21.
In the case of, that is, in the non-horizontal state, the process proceeds to step S22 to determine whether or not the processing mode is the normal mode.

【0059】このステップS21及び22においては、
以下の条件で高速応答モードにならない限り通常モード
にあってその判定はYESである。すなわち、車速0k
m/h、すなわち停車がP秒間続いたときその都度その
ときの目標値をRAM34内の別の目標値格納エリアに
記憶しておき、その後この記憶した値と一定時間Q(1
00msのサンプリング時間×16)毎に求めた目標値
との差が連続してR回A以上となると高速応答モードに
入り、差がAより小さい場合には通常モードに入る。高
速モードは、スピードパルスが入力されるか又はIGN
スイッチがオフ操作されるまで継続する。
In steps S21 and S22,
Unless the high-speed response mode is set under the following conditions, the normal mode is set and the determination is YES. That is, vehicle speed 0k
m / h, that is, each time the vehicle stops for P seconds, the target value at that time is stored in another target value storage area in the RAM 34, and thereafter, the stored value and the fixed time Q (1
If the difference from the target value obtained every (00 ms sampling time × 16) continuously exceeds R times A or more, the high-speed response mode is entered, and if the difference is smaller than A, the normal mode is entered. In the high-speed mode, a speed pulse is input or IGN
Continue until the switch is turned off.

【0060】このために、CPU33は上記残量−振れ
角変換処理ST0においてサンプリング周期毎に図9の
フローチャートに示すような処理を行い、その最初のス
テップST1においてアナログ燃料信号をA/D変換し
てデジタル燃料データを得、このデジタル燃料データに
基づいて振れ角値を演算し、この演算した振れ角値をR
AM34内のサンプリングデータ格納エリア341に順
次格納する。その後ステップST2に進んでサンプリン
グデータ格納エリア341に16個分のデータが格納さ
れているか否かを判定し、この判定がNOのときには元
の処理に戻り、判定がYESのときにはステップST3
に進んで、16個のデータを平均し、目標値を演算し、
この値にステップST4において加重平均をかけ、これ
をRAM34内の第1の目標値格納エリア342に格納
してから元の処理に戻る。以上の処理によって、CPU
33は、燃料センサ1からの燃料信号を入力して燃料残
量を指示するための指示値を演算する演算手段として機
能している。
For this purpose, the CPU 33 performs the processing shown in the flowchart of FIG. 9 for each sampling period in the remaining amount-deflection angle conversion processing ST0, and A / D converts the analog fuel signal in the first step ST1. To obtain digital fuel data, calculate a deflection angle value based on the digital fuel data, and calculate the calculated deflection angle value as R
The data is sequentially stored in the sampling data storage area 341 in the AM 34. Thereafter, the process proceeds to step ST2, where it is determined whether or not 16 pieces of data are stored in the sampling data storage area 341. If this determination is NO, the process returns to the original process, and if the determination is YES, the process returns to step ST3.
, Averaging 16 data, calculating the target value,
This value is multiplied by a weighted average in step ST4, and stored in the first target value storage area 342 in the RAM 34, before returning to the original processing. By the above processing, CPU
Reference numeral 33 functions as a calculating means for calculating a command value for inputting a fuel signal from the fuel sensor 1 and indicating a remaining fuel amount.

【0061】また、CPU33は上記モード設定処理S
T1において入力ポートI2に入力されるスピードパル
スによってリセットされるP秒タイマがP秒の一定時間
を計時する毎に図10のフローチャートに示すような処
理を行い、その最初のステップST01においてRAM
34内の第1の目標値格納エリア342に格納している
目標値をRAM34内の第2の目標値格納エリア344
に格納したかどうかを判定する。この判定がNOのとき
には次のステップST10において、RAM34内の第
1の目標値格納エリア342に格納している目標値をR
AM34内の第2の目標値格納エリア344に記憶して
からステップST11に進むが、ステップST01の判
定がYESのときにはステップST10を飛ばしてステ
ップST11に進む。
The CPU 33 executes the mode setting process S
P sec timer is reset by the speed pulse input to the input port I 2 at T1 performs the processing as shown in the flowchart of FIG. 10 for each counting a predetermined time of P seconds, RAM in the first step ST01
The target value stored in the first target value storage area 342 in the RAM 34 is stored in the second target value storage area 344 in the RAM 34.
It is determined whether or not it has been stored. When this determination is NO, in the next step ST10, the target value stored in the first target value storage area 342 in the RAM 34 is set to R
The process proceeds to step ST11 after being stored in the second target value storage area 344 in the AM 34. If the determination in step ST01 is YES, the process skips step ST10 and proceeds to step ST11.

【0062】ステップST11においては、第2の目標
値格納エリア344に記憶した目標値と第1の目標値格
納エリア342の目標値、すなわち、一定時間Q毎に求
めた目標値との差Yをとる。その後ステップST12に
進んで差がA以上であるか否かを判定し、この判定がY
ESのときにはステップST13に進んでカウンタをイ
ンクリメントしてからステップST14に進んでカウン
タ値が2以上であるか否かを判定し、この判定がYES
のときにはステップST15に進んで高速応答モードを
設定して元の処理に戻る。上記ステップST12の判定
がNOのとき、すなわち、差がA以上となっていないと
きにはステップST16に進んでカウンタをクリアし、
次のステップST17にて通常モードを設定して元の処
理に戻る。以上の処理によって、CPU33は、イグニ
ッションスイッチのオンから走行開始までの間、演算し
た相前後する指示値の差をとり、この差が予め定めた所
定値A以上あることにより燃料の補給有りを検出してい
る。
In step ST11, the difference Y between the target value stored in the second target value storage area 344 and the target value in the first target value storage area 342, that is, the target value obtained at regular time intervals Q, is calculated. Take. Thereafter, the process proceeds to step ST12, where it is determined whether or not the difference is equal to or greater than A.
In the case of ES, the process proceeds to step ST13 to increment the counter, and then proceeds to step ST14 to determine whether or not the counter value is 2 or more.
In the case of, the process proceeds to step ST15 to set the high-speed response mode and returns to the original processing. If the determination in step ST12 is NO, that is, if the difference is not greater than A, the process proceeds to step ST16 to clear the counter,
In the next step ST17, the normal mode is set and the process returns to the original processing. Through the above processing, the CPU 33 calculates the difference between the calculated instruction values before and after the ignition switch is turned on until the start of driving, and detects the presence of refueling when the difference is equal to or greater than the predetermined value A. are doing.

【0063】上記ステップS21(図6)の判定がYE
Sで通常モードのときには、一定時間毎に実行する処理
ルーチン内にある振れ角出力処理A(図11)に進み、
その最初のステップS23においてRAM34内の第1
の目標値格納エリア342の目標値と現在振れ角値格納
エリア343とが等しいか否かを判定し、この判定がN
OのときにはステップS24に進んでRAM34内のフ
ラグエリア347のタイマフラグFT1がオンしている
か否かを判定し、この判定がNOのときにはステップS
25に進んでRAM34内のタイマエリア348のN秒
タイマをスタートするとともにタイマフラグFT1をオ
ンする。その後ステップS26に進んでN秒経過したか
否かを判定し、このステップS26の判定がYESのと
きにはステップS27に進み、ここでRAM34内の現
在振れ角値格納エリア343の振れ角値のデータを例え
ば1ビットに相当する所定角値分、インクリメント或い
はデクリメントしてクロスコイルドライバ6に対して出
力するとともにタイマフラグFT1をオフする。
The determination in step S21 (FIG. 6) is YE
In the normal mode in S, the process proceeds to a swing angle output process A (FIG. 11) in a process routine executed at regular intervals,
In the first step S23, the first
It is determined whether or not the target value of the target value storage area 342 is equal to the current swing angle value storage area 343.
If O, the process proceeds to step S24 to determine whether or not the timer flag FT1 in the flag area 347 in the RAM 34 is on. If this determination is NO, the process proceeds to step S24.
Proceeding to step 25, the N-second timer in the timer area 348 in the RAM 34 is started and the timer flag FT1 is turned on. Thereafter, the process proceeds to step S26 to determine whether or not N seconds have elapsed. If the determination in step S26 is YES, the process proceeds to step S27, where the data of the swing angle value in the current swing angle value storage area 343 in the RAM 34 is stored. For example, the value is incremented or decremented by a predetermined angle value corresponding to one bit and output to the cross coil driver 6 and the timer flag FT1 is turned off.

【0064】以上により、RAM34内の現在振れ角値
格納エリア343の振れ角値のデータを第2のN秒毎に
1ビットづつ変化させて目標値格納エリア342に格納
している目標値に向けて一定時間N秒毎に単位角度づつ
指針を振らせることができる。すなわち、給油のないと
き演算した指示値を目標値として行われる表示の応答性
が給油時に比べて遅くなり、平地にあって給油が無いに
もかかわらず液面レベルが変動する場合、指示値がこの
変動の影響を受けることを少なくすることができる。
As described above, the swing angle value data in the current swing angle value storage area 343 in the RAM 34 is changed one bit at a time every second N seconds and directed toward the target value stored in the target value storage area 342. Thus, the pointer can be swung by a unit angle every N seconds for a predetermined time. In other words, the responsiveness of the display performed using the indicated value calculated when there is no refueling as the target value is slower than at the time of refueling. The influence of the fluctuation can be reduced.

【0065】なお、ステップS23の判定がYESのと
きには何もせずに振れ角出力処理Aを終了する。また、
ステップS24の判定がYESのときにはステップ25
を飛ばしてステップS26に進み、このステップS26
の判定がNOのときにはステップS27を飛ばしてステ
ップS28に進むようになっている。
When the determination in step S23 is YES, the swing angle output processing A is terminated without any operation. Also,
If the determination in step S24 is YES, step 25
Is skipped and the process proceeds to step S26.
Is NO, the process skips step S27 and proceeds to step S28.

【0066】上記ステップS21の判定がNOで高速応
答モードのときには、一定時間毎に実行する処理ルーチ
ン内にある振れ角出力処理B(図12)に進み、その最
初のステップS29においてRAM34内の第1の目標
値格納エリア342の目標値と現在振れ角値格納エリア
343とが等しいか否かを判定し、この判定がNOのと
きにはステップS30に進んでRAM34内のタイマフ
ラグFT2がオンしているか否かを判定し、この判定が
NOのときにはステップS31に進んでRAM34内の
MmsタイマをスタートするとともにタイマフラグFT
2をセットする。その後ステップS32に進んでMms
経過したか否かを判定し、このステップS32の判定が
YESのときにはステップS33に進み、ここでRAM
34内の現在振れ角値格納エリア343の振れ角値のデ
ータを例えば1ビットに相当する所定角値分、インクリ
メント或いはデクリメントしてクロスコイルドライバ6
に対して出力するとともにタイマフラグFT2をオフし
てからステップS28に進む。以上により、RAM34
内の現在振れ角値格納エリア343の振れ角値のデータ
をMms毎に1ビットづつ変化させて目標値格納エリア
342に格納している目標値に向けて第1の一定時間M
ms毎に単位角度づつ指針を振らせることができる。す
なわち、平地での燃料の補給時には、時々刻々変化する
液面レベルに基づいて演算した指示値を速やかに表示さ
せることができる。
When the determination in step S21 is NO and the high-speed response mode is set, the process proceeds to a swing angle output process B (FIG. 12) in a process routine executed at regular time intervals. It is determined whether the target value of the first target value storage area 342 is equal to the current swing angle value storage area 343. If the determination is NO, the process proceeds to step S30 to determine whether the timer flag FT2 in the RAM 34 is on. If the determination is NO, the process proceeds to step S31 to start the Mms timer in the RAM 34 and to set the timer flag FT
Set 2 Then, the process proceeds to step S32, where Mms
It is determined whether or not the time has elapsed. If the determination in step S32 is YES, the process proceeds to step S33, where the RAM
The data of the swing angle value in the current swing angle value storage area 343 in the memory 34 is incremented or decremented by, for example, a predetermined angle value corresponding to 1 bit, and the cross coil driver 6
And turns off the timer flag FT2, and then proceeds to step S28. As described above, the RAM 34
The data of the swing angle value in the current swing angle value storage area 343 is changed by one bit every Mms, and the data is shifted toward the target value stored in the target value storage area 342 by a first fixed time M.
The pointer can be swung by a unit angle every ms. That is, when replenishing fuel on a flat ground, an instruction value calculated based on the liquid level that changes every moment can be promptly displayed.

【0067】なお、ステップS29の判定がYESのと
きには何もせずに振れ角出力処理Bを終了する。また、
ステップS30の判定がYESのときにはステップ31
を飛ばしてステップS32に進み、ステップS32の判
定がNOのときにはステップS33を飛ばして振れ角出
力処理Bを終了する。
If the determination in step S29 is YES, the swing angle output processing B ends without performing any operation. Also,
If the determination in step S30 is YES, step 31
Is skipped, and the process proceeds to step S32. If the determination in step S32 is NO, step S33 is skipped and the swing angle output process B ends.

【0068】一方、上記ステップS22の判定がYES
で通常モードのときには、何もせず直ちにステップS2
8に進む。このことによって、初期出力処理においてク
ロスコイルドライバ6に対して出力した振れ角値に保た
れる。
On the other hand, the determination in step S22 is YES
In the normal mode, the process immediately goes to step S2 without doing anything.
Proceed to 8. As a result, the deflection angle value output to the cross coil driver 6 in the initial output processing is maintained.

【0069】これに対し、上記ステップS22の判定が
NOで高速応答モードのときには、ステップS34に進
み、ここでRAM34の第1の目標値格納エリア342
に記憶していた振れ角値に、今回求めた振れ角値との
差、すなわち、目標値の変化分を加算した値を新しい目
標値としてRAM34内の第1の目標値格納エリア34
2に格納する。
On the other hand, if the determination in step S22 is NO and the high-speed response mode is set, the process proceeds to step S34, where the first target value storage area 342 of the RAM 34 is set.
The difference between the deflection angle value obtained this time and the deflection angle value obtained this time, that is, a value obtained by adding a change in the target value, is set as a new target value in the first target value storage area 34 in the RAM 34.
2 is stored.

【0070】その後一定時間毎に実行する処理ルーチン
内にある振れ角出力処理C(図13)に進み、その最初
のステップS35においてRAM34内の第1の目標値
格納エリア342の目標値と現在振れ角値格納エリア3
43とが等しいか否かを判定し、この判定がNOのとき
にはステップS36に進んでRAM34内のタイマフラ
グFT3がオンしているか否かを判定し、この判定がN
OのときにはステップS37に進んでRAM34内のM
msタイマをスタートするとともにタイマフラグFT3
をセットする。その後ステップS38に進んでMms経
過したか否かを判定し、このステップS38の判定がY
ESのときにはステップS39に進み、ここでRAM3
4内の現在振れ角値格納エリア343の振れ角値のデー
タを例えば1ビットに相当する所定角値分、インクリメ
ント或いはデクリメントしてクロスコイルドライバ6に
対して出力するとともにタイマフラグFT3をオフして
からステップS28に進む。
Thereafter, the process proceeds to a shake angle output process C (FIG. 13) in a process routine executed at regular intervals, and in the first step S35, the target value of the first target value storage area 342 in the RAM 34 and the current shake are output. Angle value storage area 3
43 is determined to be equal. If the determination is NO, the process proceeds to step S36 to determine whether or not the timer flag FT3 in the RAM 34 is turned on.
If it is O, the process proceeds to step S37, and M
Starts the ms timer and sets the timer flag FT3
Is set. Thereafter, the process proceeds to step S38 to determine whether or not Mms has elapsed.
In the case of ES, the process proceeds to step S39, where the RAM 3
4 is output to the cross coil driver 6 by incrementing or decrementing the swing angle value data in the current swing angle value storage area 343 by, for example, a predetermined angle value corresponding to 1 bit, and turning off the timer flag FT3. Then, the process proceeds to step S28.

【0071】以上により、RAM34内の現在振れ角値
格納エリア343の振れ角値のデータをMms毎に1ビ
ットづつ変化させて上記ステップS34において目標値
格納エリア342に格納した目標値に向けて第1の一定
時間Mms毎に単位角度づつ指針を振らせることができ
る。すなわち、イグニッションスイッチのオンから走行
開始までの間に傾斜地において給油されても、傾斜地に
おいて生じた車両の燃焼タンク内の燃料の液面レベルの
変化分を打ち消した燃料残量の指示値を速やかに表示さ
せることができる。
As described above, the swing angle value data in the current swing angle value storage area 343 in the RAM 34 is changed by one bit every Mms, and the data is shifted toward the target value stored in the target value storage area 342 in the above step S34. The pointer can be swung by a unit angle every one fixed time Mms. That is, even if the fuel is supplied on the sloped land between the time when the ignition switch is turned on and the start of driving, the indicated value of the remaining fuel amount that quickly cancels the change in the liquid level of the fuel in the combustion tank of the vehicle that has occurred on the sloped land is quickly changed. Can be displayed.

【0072】なお、ステップS35の判定がYESのと
きには何もせずに振れ角出力処理Cを終了する。また、
ステップS36の判定がYESのときにはステップ上ス
テップ37を飛ばしてステップS38に進み、ステップ
S38の判定がNOのときにはステップS39を飛ばし
て振れ角出力処理Cを終了する。
When the determination in step S35 is YES, the swing angle output processing C is terminated without any operation. Also,
If the determination in step S36 is YES, the process skips step 37 and proceeds to step S38. If the determination in step S38 is NO, step S39 is skipped and the swing angle output process C ends.

【0073】上記ステップS28においては、指針の位
置、すなわち、RAM34内の現在振れ角格納エリア3
43に格納した振れ角値が定数D以上であるか否かを判
定する。このステップS28の判定がNOのときにはス
テップS40に進んでタイマフラグFT4がオンしてい
るか否かを判定する。この判定がNOのときにはステッ
プS41に進んで所定時間、例えば40秒のタイマをス
タートさせるとともにタイマフラグFT4をオンし、続
くステップS42においてステップS41でスタートさ
せたタイマがタイムオーバとなっているか否かを判定す
る。ステップS42の判定がYESのとき、すなわち、
現在振れ角格納エリアに格納した振れ角値が継続して4
0秒以上定数D以上であるときにはステップS43に進
んで残量ウォーニングインジケータを点灯してからステ
ップS44に進む。なお、ステップS40の判定がYE
S、すなわち、タイマフラグFT4がオフのときにはス
テップS41を飛ばしてステップS42に進み、このス
テップS42の判定がNOのとき、すなわち、40秒が
経過していないときにはステップS43を飛ばしてステ
ップS44に進む。
In step S 28, the position of the pointer, that is, the current swing angle storage area 3 in the RAM 34
It is determined whether or not the swing angle value stored in 43 is equal to or greater than a constant D. If the determination in step S28 is NO, the process proceeds to step S40 to determine whether the timer flag FT4 is on. If the determination is NO, the process proceeds to step S41, in which a timer for a predetermined time, for example, 40 seconds, is started, and the timer flag FT4 is turned on. In subsequent step S42, it is determined whether or not the timer started in step S41 has timed out. Is determined. When the determination in step S42 is YES, that is,
The swing angle value stored in the current swing angle storage area continues to be 4
If it is 0 seconds or more and the constant D or more, the process proceeds to step S43 to light the remaining amount warning indicator, and then proceeds to step S44. The determination in step S40 is YE
S, that is, if the timer flag FT4 is off, skip step S41 and proceed to step S42. If the determination in step S42 is NO, that is, if 40 seconds have not elapsed, skip step S43 and proceed to step S44. .

【0074】一方、上記ステップS28の判定がYES
のとき、すなわち、RAM34内の現在振れ角格納エリ
ア343に格納した振れ角値が定数D以上でないときに
は、ステップS45に進んでタイマフラグFT4をオフ
し、続くステップS46において残量ウォーニングイン
ジケータを消灯してからステップS44に進む。上記ス
テップS44においては、IGNスイッチがオフである
か否かを判定し、この判定がYESのときにはステップ
SF0のCPU移行スタンバイ処理を経て上記ステップ
S1に戻る。なお、CPU移行スタンバイ処理の詳細に
ついては後述する。
On the other hand, the determination in step S28 is YES
In other words, when the swing angle value stored in the current swing angle storage area 343 in the RAM 34 is not equal to or greater than the constant D, the process proceeds to step S45 to turn off the timer flag FT4, and turns off the remaining amount warning indicator in step S46. Before proceeding to step S44. In step S44, it is determined whether or not the IGN switch is off. If the determination is YES, the process returns to step S1 via the CPU shift standby process in step SF0. The details of the CPU transition standby process will be described later.

【0075】また、ステップS44の判定がNOのとき
にはステップS47に進んでエンジンがオンしているか
否かを判定し、この判定がNOのときには上記ステップ
S20に戻って上述の動作を繰り返す。これに対し、上
記ステップS47の判定がYESのときにはステップS
48に進んで車両が走行しているか否かを判定する。ス
テップS48の判定がNOのときには後述するアイドリ
ング表示処理に進み、判定がYESのときには図7につ
いて後述する走行表示処理に進む。何れにしても、ステ
ップS20〜ステップS48の処理は、エンジンがオン
されるか、IGNスイッチがオフされるまで継続して行
われる。
If the determination in step S44 is NO, the process proceeds to step S47 to determine whether or not the engine is on. If the determination is NO, the process returns to step S20 to repeat the above-described operation. On the other hand, if the determination in step S47 is YES, the process proceeds to step S47.
Proceeding to 48, it is determined whether the vehicle is running. When the determination in step S48 is NO, the process proceeds to an idling display process described later, and when the determination is YES, the process proceeds to a travel display process described later with reference to FIG. In any case, the processing of steps S20 to S48 is continuously performed until the engine is turned on or the IGN switch is turned off.

【0076】アイドリング表示処理(図7)において
は、その最初のステップS50において、入力ポートI
4 に接続されている傾斜センサスイッチ5の状態を読み
込み、この読み込んだ傾斜センサスイッチ5の状態によ
り車両が水平状態にあるか否かを判定する。ステップS
50の判定がYESのとき、すなわち水平状態のときに
はステップS51に、判定がNOのときすなわち非水平
状態のときにはステップS52にそれぞれ進んで処理モ
ードが通常モードであるか否かを判定する。
In the idling display process (FIG. 7), in the first step S50, the input port I
The state of the tilt sensor switch 5 connected to 4 is read, and it is determined whether or not the vehicle is in a horizontal state based on the read state of the tilt sensor switch 5. Step S
When the determination in Step 50 is YES, that is, when it is in the horizontal state, the process proceeds to Step S51, and when the determination is NO, that is, when it is in the non-horizontal state, the process proceeds to Step S52 to determine whether the processing mode is the normal mode.

【0077】上記ステップS51の判定がYESで通常
モードのときには、ステップS53に進んで図11につ
いて上述したステップS23〜S27と同様の処理、す
なわち振れ角出力処理Aを行ってからステップS54に
進む。以上により、エンジンオン状態において、平地で
時々刻々変化する液面レベルに基づいて演算した指示値
を表示させる。しかも、給油のないとき演算した指示値
を目標値として行われる表示の応答性が遅くなり、平地
にあって給油が無いにもかかわらず液面レベルが変動す
る場合、指示値がこの変動の影響を受けることを少なく
する。
If the determination in step S51 is YES and the mode is the normal mode, the flow advances to step S53 to perform the same processing as steps S23 to S27 described above with reference to FIG. 11, that is, the swing angle output processing A, and then to step S54. As described above, in the engine-on state, the indicated value calculated based on the liquid level that changes every moment on a flat ground is displayed. In addition, the responsiveness of the display performed using the indicated value calculated when there is no refueling as the target value becomes slow, and when the liquid level fluctuates even when there is no refueling on a flat ground, the indicated value is affected by this fluctuation. Receive less.

【0078】これに対し、上記ステップS51の判定が
NOで高速応答モードのときには、ステップS55に進
んで図12について上述したステップS29〜S33と
同様の処理、すなわち振れ角出力処理Bを行ってからス
テップS54に進む。すなわち、イグニッションスイッ
チのオンから走行開始までの間に傾斜地において給油さ
れても、傾斜地において生じた車両の燃焼タンク内の燃
料の液面レベルの変化分を打ち消した燃料残量の指示値
が表示され、しかもこの表示の応答性が給油のないとき
演算した指示値を目標値として行われる表示に比べて速
くなり、給油による液面レベルの増加を速やかに反映し
た指示値を表示させる。
On the other hand, if the determination in step S51 is NO and the high-speed response mode is set, the flow advances to step S55 to perform the same processing as steps S29 to S33 described above with reference to FIG. Proceed to step S54. That is, even if refueling is performed on the sloped land between the time the ignition switch is turned on and the start of traveling, the indicated value of the remaining fuel level is displayed, which cancels the change in the liquid level of the fuel in the combustion tank of the vehicle that occurred on the sloped land. In addition, the responsiveness of this display is faster than the display performed using the indicated value calculated when there is no refueling as the target value, and the indicated value reflecting the increase in the liquid level due to refueling is displayed quickly.

【0079】一方、上記ステップS52の判定がYES
で通常モードのときには、ステップS56に進み、ここ
でサンプリング周期に相当する時間毎に1時間当たり2
リットル(l)の割合で現在の燃料残量(振れ角値の目
標値)から減じた16個のデータを演算によって求め、
この16個のデータに基づいて加重平均して目標値を演
算する。この処理によって、CPU33は、エンジンの
オンから走行開始までの間、非水平状態を検出している
とき、単位時間当たり所定の燃料消費があるとして所定
時間毎に現在の指示値から所定値を順次減算して燃料残
量の指示値を演算している。
On the other hand, the determination in step S52 is YES
In the normal mode, the process proceeds to step S56, in which 2 times per hour corresponding to the sampling period.
16 data obtained by subtracting from the current fuel remaining amount (the target value of the swing angle value) at the rate of liter (l) are obtained by calculation,
A weighted average is calculated based on the 16 data to calculate a target value. By this processing, the CPU 33 determines that there is a predetermined fuel consumption per unit time and sequentially determines a predetermined value from the current instruction value at a predetermined time interval when detecting a non-horizontal state from the time the engine is turned on until the start of driving. The instruction value of the remaining fuel amount is calculated by subtraction.

【0080】その後ステップS57に進んでこの目標値
を第3の目標値格納エリア345に格納する。その後一
定時間毎に実行する処理ルーチン内にある振れ角出力処
理D(図14)に進み、その最初のステップS58にお
いてRAM34内の第3の目標値格納エリア345の目
標値と現在振れ角値格納エリア343とが等しいか否か
を判定し、この判定がNOのときにはステップS59に
進んでRAM34内のタイマフラグFT5がオンしてい
るか否かを判定し、この判定がNOのときにはステップ
S60に進んでRAM34内のN秒タイマをスタートす
るとともにタイマフラグFT5をセットする。その後ス
テップS61に進んでN秒経過したか否かを判定し、こ
のステップS61の判定がYESのときにはステップS
62に進み、ここでRAM34内の現在振れ角値格納エ
リア343の振れ角値のデータを例えば1ビットに相当
する所定角値分、インクリメント或いはデクリメントし
てクロスコイルドライバ6に対して出力するとともにタ
イマフラグFT5をオフする。
Thereafter, the flow advances to step S57 to store the target value in the third target value storage area 345. Thereafter, the process proceeds to a shake angle output process D (FIG. 14) in a process routine executed at regular intervals. In the first step S58, the target value and the current shake angle value in the third target value storage area 345 in the RAM 34 are stored. It is determined whether or not the area 343 is equal. If the determination is NO, the process proceeds to step S59, and it is determined whether or not the timer flag FT5 in the RAM 34 is turned on. If the determination is NO, the process proceeds to step S60. To start the N second timer in the RAM 34 and set the timer flag FT5. Thereafter, the process proceeds to step S61 to determine whether N seconds have elapsed. If the determination in step S61 is YES, the process proceeds to step S61.
In step 62, the swing angle value data in the current swing angle value storage area 343 in the RAM 34 is incremented or decremented by a predetermined angle value corresponding to, for example, 1 bit, and output to the cross coil driver 6 and a timer. The flag FT5 is turned off.

【0081】以上により、RAM34内の現在振れ角値
格納エリア343の振れ角値のデータをN秒毎に1ビッ
トづつ変化させて上記ステップS57において目標値格
納エリア342に格納した目標値に向けて一定時間N秒
毎に単位角度づつ指針を振らせることができる。すなわ
ち、停車時に傾斜地にて車両の燃焼タンク内の燃料の液
面レベルが変化しても、これを検出して燃料センサ1が
発生する燃料信号に基づく表示が行われることがなく、
しかもエンジンのオンによって消費される分の燃料残量
の減少については、或る程度の精度で指示値に反映され
る。
As described above, the swing angle value data in the current swing angle value storage area 343 in the RAM 34 is changed one bit at a time every N seconds toward the target value stored in the target value storage area 342 in step S57. The pointer can be swung by a unit angle every N seconds for a fixed time. That is, even if the liquid level of the fuel in the combustion tank of the vehicle changes on a slope when the vehicle is stopped, this is not detected and the display based on the fuel signal generated by the fuel sensor 1 is not performed.
Moreover, the decrease in the remaining fuel amount consumed by turning on the engine is reflected in the indicated value with a certain degree of accuracy.

【0082】なお、ステップS58の判定がYESのと
きには何もせずに振れ角出力処理Dを終了する。また、
ステップS59の判定がYESのときにはステップ上ス
テップ60を飛ばしてステップS61に進み、ステップ
S61の判定がNOのときにはステップS62を飛ばし
て振れ角出力処理Dを終了する。
When the determination in step S58 is YES, the swing angle output processing D ends without performing any operation. Also,
If the determination in step S59 is YES, step S60 is skipped and the process proceeds to step S61. If the determination in step S61 is NO, step S62 is skipped and the swing angle output process D ends.

【0083】これに対し、上記ステップS52の判定が
NOで高速応答モードのときには、ステップS63に進
み、ここで図13について上述したステップS34〜S
39と同様の処理、すなわち振れ角出力処理Cを行って
からステップS54に進む。よって、エンジンのオンか
ら走行開始までの間に傾斜地において給油されても、傾
斜地において生じた車両の燃焼タンク内の燃料の液面レ
ベルの変化分を打ち消した燃料残量の指示値を表示さ
せ、この表示の応答性が給油のないとき演算した指示値
を目標値として行われる表示に比べて速くなり、給油に
よる液面レベルの増加を速やかに反映した指示値が表示
させる。上記ステップS54においては、図6について
上述したステップS28、S40〜S43、S45及び
S46と同様のウオーニング処理を行ってからステップ
S64に進む。
On the other hand, if the determination in the step S52 is NO and the high-speed response mode is set, the process proceeds to a step S63, where the steps S34 to S described above with reference to FIG.
After performing the same processing as in step S39, that is, the swing angle output processing C, the process proceeds to step S54. Therefore, even if refueling is performed on a sloped area from the time when the engine is turned on until the start of traveling, an indication value of the remaining fuel amount that cancels out a change in the liquid level of the fuel in the combustion tank of the vehicle that occurred on the sloped area is displayed, The responsiveness of this display is faster than the display performed using the indicated value calculated when there is no refueling as the target value, and the indicated value reflecting the increase in the liquid level due to refueling is displayed immediately. In step S54, the same warning process as steps S28, S40 to S43, S45, and S46 described above with reference to FIG. 6 is performed, and then the process proceeds to step S64.

【0084】上記ステップS64においては、IGNス
イッチがオフであるか否かを判定し、この判定がYES
のときにはステップSF0のCPU移行スタンバイ処理
を経て上記ステップS1に戻る。なお、CPU移行スタ
ンバイ処理の詳細については後述する。ステップS64
の判定がNOのときにはステップS65に進んでエンジ
ンがオフであるか否かを判定し、この判定がYESのと
きには上記ステップS20に戻って上述の動作を繰り返
す。これに対し、上記ステップS65の判定がYESの
ときにはステップS66に進んで車速が0km/hでな
いか、すなわち、走行しているか否かを判定し、このス
テップS66の判定がNOのときには上記ステップS5
0に戻って上述の動作を繰り返し、判定がYESのとき
には図8について後述する走行表示処理に進む。何れに
しても、ステップS50〜ステップS66の処理は、車
両が走行するか、エンジンがオフされるか、IGNスイ
ッチがオフされるまで継続して行われる。
In the above step S64, it is determined whether or not the IGN switch is off, and this determination is YES.
In the case of, the process returns to the step S1 via the CPU shift standby process in the step SF0. The details of the CPU transition standby process will be described later. Step S64
If the determination is NO, the process proceeds to step S65 to determine whether the engine is off, and if the determination is YES, the process returns to step S20 to repeat the above operation. On the other hand, if the determination in step S65 is YES, the process proceeds to step S66 to determine whether the vehicle speed is not 0 km / h, that is, whether or not the vehicle is running. If the determination in step S66 is NO, the process proceeds to step S5.
After returning to 0, the above-described operation is repeated, and when the determination is YES, the process proceeds to a traveling display process described later with reference to FIG. In any case, the processes in steps S50 to S66 are continuously performed until the vehicle runs, the engine is turned off, or the IGN switch is turned off.

【0085】走行表示処理(図8)においては、その最
初のステップS70において、傾斜センサスイッチ5の
状態により車両が水平状態にあるか否かを判定する。ス
テップS70の判定がYESのときすなわち水平状態の
ときにはステップS71に、判定がNOのときすなわち
非水平状態のときにはステップS72にそれぞれ進む。
上記ステップS71においては、図6について上述した
ステップS23〜S27と同様の処理、すなわち振れ角
出力処理Bを行ってから上記ステップS64に戻る。す
なわち、走行状態において、平地で時々刻々変化する液
面レベルに基づいて演算した指示値が表示され、給油の
ないとき演算した指示値を目標値として行われる表示の
応答性が遅くなり、平地走行時にあって液面レベルが変
動する場合、指示値がこの変動の影響を受けることを少
なくする。
In the traveling display processing (FIG. 8), in the first step S70, it is determined whether or not the vehicle is in a horizontal state based on the state of the inclination sensor switch 5. When the determination in step S70 is YES, that is, when the vehicle is in the horizontal state, the process proceeds to step S71. When the determination is NO, that is, when the vehicle is in the non-horizontal state, the process proceeds to step S72.
In step S71, the same processing as in steps S23 to S27 described above with reference to FIG. 6, that is, the swing angle output processing B is performed, and the process returns to step S64. In other words, in the traveling state, the indicated value calculated based on the liquid level that changes every moment on the flat ground is displayed, and the response of the display performed with the calculated indicated value as the target value when there is no refueling becomes slow, and the flat road running is performed. If the liquid level fluctuates occasionally, the indication value is less affected by this fluctuation.

【0086】これに対し、上記ステップS72において
は、ここでサンプリング周期に相当する時間毎に6km
/リットル(l)の割合で燃料消費量分減じて得た16
個のデータに基づいて加重平均して目標値を演算する。
この処理によって、CPU33は、車両の走行中、前記
傾き検出手段が非水平状態を検出しているとき、単位量
当たり所定距離走行するとし、所定時間毎に現在の指示
値から走行距離に応じた所定値を順次減算して燃料残量
の指示値を演算している。
On the other hand, in the above step S72, 6 km every time corresponding to the sampling period is used.
16 obtained by reducing fuel consumption at the rate of
A target value is calculated by weighted averaging based on this data.
By this processing, the CPU 33 determines that the vehicle travels a predetermined distance per unit amount when the inclination detecting means detects the non-horizontal state during the traveling of the vehicle, and according to the traveling distance from the current instruction value at predetermined time intervals. The instruction value of the remaining fuel amount is calculated by sequentially subtracting predetermined values.

【0087】その後ステップS73に進んでこの目標値
を第4の目標値格納エリア346に格納してから一定時
間毎に実行する処理ルーチン内にある振れ角出力処理E
(図15)に進み、その最初のステップS74において
RAM34内の第4の目標値格納エリア346の目標値
と現在振れ角値格納エリア343とが等しいか否かを判
定する。この判定がNOのときにはステップS75に進
んでRAM34内のタイマフラグFT6がオンしている
か否かを判定し、この判定がNOのときにはステップS
76に進んでRAM34内のN秒タイマをスタートする
とともにタイマフラグFT6をセットする。その後ステ
ップS77に進んでN秒経過したか否かを判定し、この
ステップS77の判定がYESのときにはステップS7
8に進み、ここでRAM34内の現在振れ角値格納エリ
ア343の振れ角値のデータを例えば1ビットに相当す
る所定角値分、インクリメント或いはデクリメントして
クロスコイルドライバ6に対して出力するとともにタイ
マフラグFT6をオフする。これにより、一定時間Q毎
に求めた目標値をRAM34内の第4の目標値格納エリ
ア346に格納し、この目標値に向けてN秒毎に1ビッ
トづつ指針を振らせる。
Thereafter, the flow advances to step S73, in which the target value is stored in the fourth target value storage area 346 and thereafter, the deflection angle output processing E included in the processing routine executed at regular time intervals.
Proceeding to FIG. 15, in the first step S74, it is determined whether or not the target value of the fourth target value storage area 346 in the RAM 34 is equal to the current swing angle value storage area 343. If this determination is NO, the process proceeds to step S75 to determine whether or not the timer flag FT6 in the RAM 34 is ON. If this determination is NO, the process proceeds to step S75.
Proceeding to 76, the N second timer in the RAM 34 is started and the timer flag FT6 is set. Thereafter, the process proceeds to step S77 to determine whether N seconds have elapsed. If the determination in step S77 is YES, the process proceeds to step S7.
In step S8, the swing angle value data in the current swing angle value storage area 343 in the RAM 34 is incremented or decremented by a predetermined angle value corresponding to, for example, 1 bit, and output to the cross coil driver 6 and a timer. The flag FT6 is turned off. As a result, the target value obtained for each constant time Q is stored in the fourth target value storage area 346 in the RAM 34, and the pointer is moved one bit every N seconds toward the target value.

【0088】なお、上記ステップS74の判定がYES
のときには何もせずに振れ角出力処理Eを終了する。ま
た、ステップS77の判定がNOでN秒が経過していな
いときにはステップS78を飛ばして振れ角出力処理E
を終了する。以上により、傾斜地を走行して車両の燃焼
タンク内の燃料の液面レベルが変化しても、これを検出
して燃料センサ1が発生する燃料信号に基づく表示が行
われることがなく、しかも車両の走行によって消費され
る分の燃料残量の減少については、或る程度の精度で指
示値に反映される。
Note that the determination in step S74 is YES.
In this case, the swing angle output processing E is terminated without doing anything. If the determination in step S77 is NO and N seconds have not elapsed, step S78 is skipped and the swing angle output processing E
To end. As described above, even if the liquid level of the fuel in the combustion tank of the vehicle changes while traveling on the slope, the detection is not performed and the display based on the fuel signal generated by the fuel sensor 1 is not performed. The decrease in the fuel remaining amount consumed by the traveling of the vehicle is reflected in the indicated value with a certain degree of accuracy.

【0089】次に、CPU移行スタンバイ処理(図1
6)においては、まず、処理SF1において、クロスコ
イルドライバ6に対して燃料残量表示終了が依頼され、
クロスコイルドライバ6によって燃料残量表示が終了す
る。そして、処理S2において、入力ポートI4に接続
されている傾斜センサスイッチ5の状態を読み込み、こ
の読み込んだ傾斜センサスイッチ5の状態により車両が
水平状態にあるか否かを判定する。
Next, CPU transition standby processing (FIG. 1)
In 6), first, in process SF1, the end of the remaining fuel amount display is requested to the cross coil driver 6;
The display of the remaining fuel amount is ended by the cross coil driver 6. Then, it is judged in the processing S2, reads the status of the tilt sensor switch 5 is connected to the input port I 4, whether the vehicle by the state of the read gradient sensor switch 5 is in a horizontal state.

【0090】ここで、上記ステップSF2の判定がYE
Sのとき、すなわち車両が水平状態のときにはステップ
SF3に進む。ステップSF3において、RAM34の
タイマエリア348のT秒タイマをスタートさせる。そ
の後、ステップSF4に進んでT秒経過したか否かを判
定し、このステップSF4の判定がYESのときには処
理ST0に進む。処理ST0において、燃料センサ1か
らのアナログ燃料信号に基づいて指針の振れ角が残量−
振れ角変換処理によってRAM34内の第1の目標値格
納エリア342に格納される。そして、ステップSF5
において、RAM34の第1の目標値格納エリア342
に格納された振れ角値が、前回IGNスイッチのオフ時
の目標値としてNVM8内の目標値格納エリア81に記
憶され、その後ステップSF7に進み、ステップSF7
において、CPU33をスタンバイ状態にし、次に再び
IGNスイッチがオンされるのを待つ。
Here, the determination in step SF2 is YE
In the case of S, that is, when the vehicle is in the horizontal state, the process proceeds to step SF3. In step SF3, a T-second timer in the timer area 348 of the RAM 34 is started. Thereafter, the process proceeds to step SF4 to determine whether or not T seconds have elapsed. If the determination in step SF4 is YES, the process proceeds to process ST0. In the process ST0, the swing angle of the pointer is calculated based on the analog fuel signal from the fuel sensor 1 as the remaining amount.
The data is stored in the first target value storage area 342 in the RAM 34 by the shake angle conversion processing. Then, step SF5
In the first target value storage area 342 of the RAM 34
Is stored in the target value storage area 81 in the NVM 8 as the target value when the IGN switch was turned off last time, and then the process proceeds to step SF7,
, The CPU 33 is set to the standby state, and then the CPU 33 waits until the IGN switch is turned on again.

【0091】このように車両が水平状態の際には、IG
Nスイッチのオフから一定時間経過後の演算手段による
燃料残量の目標値を前回IGNスイッチのオフ時におけ
る目標値として記憶手段に記憶させる。よって、IGN
スイッチがオフされたときに燃料の液面が揺れていても
その影響を受けることなく正確な燃料残量の指示値を記
憶することができる。
As described above, when the vehicle is in the horizontal state, the IG
The target value of the remaining fuel amount by the calculating means after a lapse of a predetermined time from the turning off of the N switch is stored in the storing means as the target value when the IGN switch was turned off last time. Therefore, IGN
Even if the liquid level of the fuel fluctuates when the switch is turned off, an accurate indication of the remaining fuel amount can be stored without being affected by the fluctuation.

【0092】一方、上記ステップSF2の判定がNOの
とき、すなわち車両が非水平状態のときにはステップS
F6に進む。ステップSF6において、RAM34内の
現在振れ角値格納エリア343に格納されている振れ角
値を、IGNスイッチのオフ時における目標値としてN
VM8内の目標値格納エリア81に格納する。その後、
ステップSF7に進み、ステップSF7において、CP
U33をスタンバイ状態にし、次に再びIGNスイッチ
がオンされるのを待つ。
On the other hand, when the determination in step SF2 is NO, that is, when the vehicle is in the non-horizontal state, step S
Go to F6. In step SF6, the swing angle value stored in the current swing angle value storage area 343 in the RAM 34 is set to N as a target value when the IGN switch is turned off.
It is stored in the target value storage area 81 in the VM 8. afterwards,
Proceed to step SF7, and in step SF7, CP
U33 is set to the standby state, and then waits until the IGN switch is turned on again.

【0093】このように車両が非水平状態の際には、I
GNスイッチのオフから一定時間経過後の演算手段によ
る燃料残量の目標値ではなく、IGNスイッチのオフ時
に燃料計に表示している車両の傾斜の影響が補正された
正確な燃料残量の指示値を前回IGNスイッチのオフ時
における目標値として記憶手段に記憶させる。よって、
傾斜地にあってイグニッションスイッチがオフされて
も、正確な燃料残量の目標値を記憶することができる。
As described above, when the vehicle is in the non-horizontal state, I
Indication of the accurate remaining fuel amount corrected for the influence of the inclination of the vehicle displayed on the fuel gauge when the IGN switch is off, instead of the target value of the remaining fuel amount by the calculating means after a certain time has elapsed since the GN switch was turned off. The value is stored in the storage means as a target value when the IGN switch was turned off last time. Therefore,
Even when the ignition switch is turned off on a slope, an accurate target value of the remaining fuel amount can be stored.

【0094】上述したように、車両が水平状態にあって
IGNスイッチがオフされたときは、IGNスイッチが
オフされてから一定時間経過後、つまり、燃料タンク内
の燃料の液面が安定した状態での燃料残量を記憶するこ
とで、IGNスイッチがオフされたときに燃料の液面が
揺れていてもその影響を受けることなく燃料残量の指示
値を正確に記憶することができる。また、車両が非水平
状態にあってIGNスイッチがオフされたときは、表示
手段に表示している燃料残量の指示値を記憶手段に記憶
するようになっているので、車両が傾斜地に停車して生
じた車両の燃焼タンク内の燃料の液面レベルの変化分を
打ち消した燃料残量の指示値を記憶手段に記憶すること
ができる。したがって、IGNスイッチのオン直後に、
車両の傾斜による燃焼タンク内の燃料の液面レベルの変
化の影響を受けた燃料残量の表示が行われることがな
い。
As described above, when the vehicle is in a horizontal state and the IGN switch is turned off, a certain period of time has elapsed since the IGN switch was turned off, that is, a state where the fuel level in the fuel tank is stable. By storing the remaining amount of fuel at the time, the indication value of the remaining amount of fuel can be accurately stored without being affected by the fluctuation of the fuel level when the IGN switch is turned off. Further, when the vehicle is in a non-horizontal state and the IGN switch is turned off, the indication value of the remaining fuel amount displayed on the display means is stored in the storage means, so that the vehicle stops on the slope. The change in the liquid level of the fuel in the combustion tank of the vehicle caused by the change in the fuel level can be stored in the storage means. Therefore, immediately after the IGN switch is turned on,
There is no display of the remaining fuel amount affected by the change in the fuel level in the combustion tank due to the inclination of the vehicle.

【0095】よって、記憶手段に記憶されたIGNスイ
ッチのオフ後の燃料タンク内の正確な燃料残量を、IG
Nスイッチがオンされた直後に表示させることで、IG
Nスイッチのオン直後でも正確な燃料残量を速やかに表
示することができるため、従来の燃料残量表示装置で生
じていたIGNスイッチのオン直後に正確な燃料残量を
表示することが困難であるという不具合を解消すること
ができる。
Therefore, the accurate remaining fuel amount in the fuel tank after the IGN switch is turned off, which is stored in the storage means,
By displaying immediately after the N switch is turned on, the IG
Since the accurate fuel remaining amount can be promptly displayed even immediately after the N switch is turned on, it is difficult to display the accurate fuel remaining amount immediately after the IGN switch is turned on, which occurs in the conventional fuel remaining amount display device. It is possible to solve the problem that there is.

【0096】なお、上述した実施の形態の説明では、傾
斜センサスイッチ5の設置場所について特に言及してい
ないが、一般に、車両用燃料残量表示装置が内蔵される
車両用コンビネーションメータケースの背面に設置する
ことができ、このように設置したときには、車体の他の
場所に設置した場合に比べ、信号線の引き回しが不要と
なる他、コンビネーションメータと一体に取り扱うこと
ができ、組み付け作業性などにおいても好ましく、耐ノ
イズ性が向上するとともに被水対策が必要なくなるなど
の点でも有利となる。
In the above description of the embodiment, the installation location of the inclination sensor switch 5 is not particularly mentioned. However, generally, the inclination sensor switch 5 is generally mounted on the back of the vehicle combination meter case in which the vehicle fuel remaining amount display device is built. It can be installed, and when installed in this way, it is not necessary to route the signal line as compared with the case where it is installed elsewhere in the vehicle body, and it can be handled integrally with the combination meter, and in terms of assembly workability etc. It is also advantageous in that noise resistance is improved and that measures against water exposure are not required.

【0097】また、上述した実施の形態の説明では、I
GNスイッチがオフのときに記憶した燃料残量の指示値
を、IGNスイッチのオン直後からエンジンのオンまで
の間表示しているが、本発明はこの実施形態に限定する
ものではなく、IGNスイッチのオン直後のみにIGN
スイッチがオフのときに記憶した燃料残量の指示値を用
いる等の実施形態にも適用することができる。
In the description of the above embodiment,
The indication value of the remaining fuel amount stored when the GN switch is off is displayed from immediately after the IGN switch is turned on until the engine is turned on. However, the present invention is not limited to this embodiment. IGN only immediately after turning on
The present invention can also be applied to an embodiment in which an instruction value of the remaining fuel amount stored when the switch is off is used.

【0098】[0098]

【発明の効果】以上説明したように請求項1に記載した
本発明の車両用燃料表示装置によれば、イグニッション
スイッチのオフから一定時間経過後の演算手段からの燃
料残量の指示値を記憶手段に記憶させているため、車両
の急停止後等の燃料タンク内の燃料の液面が揺れている
状態でイグニッションスイッチがオフされても、燃料の
液面の揺れに影響を受けることなく燃料残量を正確に検
出し記憶することができる。また、イグニッションスイ
ッチのオン直後の燃料残量の指示値は、記憶手段に記憶
されたイグニッションスイッチのオフ後の燃料タンク内
の燃料の液面が安定した状態の燃料残量の指示値に基づ
いて表示制御手段によって表示手段に表示されるので、
イグニッションスイッチのオン直後の燃料残量表示の誤
表示を防止することができる。したがって、イグニッシ
ョンスイッチのオン直後の燃料残量表示の精度を向上す
ることができるという効果を奏する。
As described above, according to the vehicle fuel display device of the present invention as set forth in claim 1, the indication value of the remaining fuel amount from the calculating means after a lapse of a predetermined time after the ignition switch is turned off is stored. Even if the ignition switch is turned off while the fuel level in the fuel tank is shaking after a sudden stop of the vehicle, etc., the fuel level is not affected by the fuel level shaking. The remaining amount can be accurately detected and stored. In addition, the indicated value of the remaining fuel amount immediately after the ignition switch is turned on is based on the indicated value of the remaining fuel amount in the fuel tank in a state where the fuel level in the fuel tank after the turning off of the ignition switch is stored in the storage means. Since it is displayed on the display means by the display control means,
It is possible to prevent an erroneous display of the fuel remaining amount display immediately after the ignition switch is turned on. Therefore, it is possible to improve the accuracy of the fuel remaining amount display immediately after the ignition switch is turned on.

【0099】請求項2に記載の発明によれば、請求項1
記載の発明の効果に加え、イグニッションスイッチオフ
時の燃料残量の指示値が不明のとき、イグニッションス
イッチオフ時の燃料残量の指示値と同じ値が記憶手段に
指示値が記憶されていないとき等でも、演算手段により
演算した燃料残量の指示値を表示手段に表示させるの
で、イグニッションスイッチがオンされたとき、燃料残
量の指示値が記憶手段に記憶されていなくても、表示手
段に何も表示されなくなることがない。
According to the invention described in claim 2, according to claim 1
In addition to the effects of the invention described above, when the indicated value of the remaining fuel amount when the ignition switch is turned off is unknown, the same value as the indicated value of the remaining fuel amount when the ignition switch is turned off is not stored in the storage means. In such a case, the indication value of the remaining fuel amount calculated by the calculation means is displayed on the display means, so that when the ignition switch is turned on, even if the indication value of the remaining fuel quantity is not stored in the storage means, it is displayed on the display means. Nothing disappears.

【0100】請求項3に記載の発明によれば、請求項1
又は2記載の発明の効果に加え、イグニッションスイッ
チのオフ直後、車両が所定角度以上傾いているか否かを
判定し、所定角度以上の傾きを検出した場合、イグニッ
ションスイッチのオフ時に表示している燃料残量の指示
値を記憶手段に記憶させているので、車両が傾斜地に停
車して生じた車両の燃焼タンク内の燃料の液面レベルの
変化分を打ち消した燃料残量の指示値を記憶手段に記憶
することができる。したがって、車両が傾斜していて水
平状態にないときでもその影響をほとんど受けることな
く、イグニッションスイッチのオン直後から正確な燃料
残量の指示値を速やかに表示手段に表示することができ
る。
According to the third aspect of the present invention, the first aspect is provided.
Or, in addition to the effect of the invention described in 2 above, immediately after the ignition switch is turned off, it is determined whether or not the vehicle is tilted by a predetermined angle or more, and if the tilt is detected by a predetermined angle or more, the fuel displayed when the ignition switch is turned off is displayed. Since the instruction value of the remaining amount is stored in the storage means, the instruction value of the remaining fuel amount in which the change in the liquid level of the fuel in the combustion tank of the vehicle caused by the vehicle stopping on the slope is canceled is stored. Can be stored. Therefore, even when the vehicle is leaning and is not in a horizontal state, it is almost unaffected by this, and an accurate indication of the remaining fuel amount can be promptly displayed on the display means immediately after the ignition switch is turned on.

【0101】請求項4に記載の発明によれば、請求項1
〜3の何れかに記載の発明の効果に加え、イグニッショ
ンスイッチのオン直後、表示制御手段は、記憶手段に記
憶している指示値と演算手段が演算した指示値との差を
とり、この差が予め定めた所定値以上あることにより燃
料補給の有無を検出する補給検出手段によって燃料補給
があったことを検出すると、補給された燃料残量の指示
値を表示手段7に表示するようになっているので、イグ
ニッションスイッチがオフの間に給油されても、イグニ
ッションスイッチのオン直後から正確に給油によって増
加した燃料残量の指示値を表示手段に表示することがで
きる。
According to the invention set forth in claim 4, claim 1 is provided.
In addition to the effects of the present invention, immediately after the ignition switch is turned on, the display control means takes a difference between the instruction value stored in the storage means and the instruction value calculated by the arithmetic means, and calculates the difference. When the fuel supply is detected by the replenishment detecting means for detecting the presence or absence of fuel replenishment when the fuel supply amount is equal to or more than a predetermined value, an indication value of the remaining fuel replenishment is displayed on the display means 7. Therefore, even if fuel is supplied while the ignition switch is turned off, the indication value of the remaining fuel amount that has been increased by refueling immediately after the ignition switch is turned on can be displayed on the display means.

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

【図1】本発明の車両用燃料残量表示装置の基本構成を
示す図である。
FIG. 1 is a diagram showing a basic configuration of a vehicle fuel remaining amount display device of the present invention.

【図2】本発明の車両用燃料残量表示装置の一実施の形
態を示す図である。
FIG. 2 is a diagram showing an embodiment of a vehicle fuel remaining amount display device according to the present invention.

【図3】図2中のμCOMが有するRAM内の各種エリ
アを示す図である。
FIG. 3 is a view showing various areas in a RAM included in μCOM in FIG. 2;

【図4】図2中の不揮発性メモリ内の各種エリアを示す
図である。
FIG. 4 is a diagram showing various areas in the nonvolatile memory in FIG. 2;

【図5】図2中の演算制御部のμCOMが行う処理の一
部を示すフローチャートである。
FIG. 5 is a flowchart showing a part of a process performed by μCOM of the arithmetic control unit in FIG. 2;

【図6】図2中の演算制御部のμCOMが行う処理を他
の一部示すフローチャートである。
FIG. 6 is a flowchart showing another part of the processing performed by the μCOM of the arithmetic control unit in FIG. 2;

【図7】図2中の演算制御部のμCOMが行う処理の更
に他の一部を示すフローチャートである。
FIG. 7 is a flowchart showing yet another portion of the processing performed by the μCOM of the arithmetic control unit in FIG. 2;

【図8】図2中の演算制御部のμCOMが行う処理の他
の一部を示すフローチャートである。
8 is a flowchart illustrating another part of the processing performed by the μCOM of the arithmetic control unit in FIG. 2;

【図9】図6中の残量−振れ角変換処理を内容を示すフ
ローチャートである。
FIG. 9 is a flowchart showing the content of a remaining amount-shake angle conversion process in FIG. 6;

【図10】図6中のモード設定処理の内容を示すフロー
チャートである。
FIG. 10 is a flowchart showing the contents of a mode setting process in FIG. 6;

【図11】図6中の振れ角出力処理Aの内容を示すフロ
ーチャートである。
11 is a flowchart showing the contents of a swing angle output process A in FIG. 6;

【図12】図6中の振れ角出力処理Bの内容を示すフロ
ーチャートである。
FIG. 12 is a flowchart showing the contents of a swing angle output process B in FIG. 6;

【図13】図6中の振れ角出力処理Cの内容を示すフロ
ーチャートである。
FIG. 13 is a flowchart showing the contents of a swing angle output process C in FIG. 6;

【図14】図7中の振れ角出力処理Dの内容を示すフロ
ーチャートである。
14 is a flowchart showing the contents of a swing angle output process D in FIG. 7;

【図15】図8中の振れ角出力処理Eの内容を示すフロ
ーチャートである。
FIG. 15 is a flowchart showing the contents of a swing angle output process E in FIG. 8;

【図16】図6中のCPU移行スタンバイ処理の内容を
示すフローチャートである。
FIG. 16 is a flowchart showing the contents of a CPU transition standby process in FIG. 6;

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

1 燃料センサ 5 傾き検出手段(傾斜センサスイッチ) 7 表示手段(クロスコイル) 8 記憶手段(不揮発性メモリ、NVM) 33−1 演算手段(CPU) 33−2 表示制御手段(CPU) 33−3 補給検出手段(CPU) REFERENCE SIGNS LIST 1 fuel sensor 5 tilt detecting means (tilt sensor switch) 7 display means (cross coil) 8 storage means (non-volatile memory, NVM) 33-1 arithmetic means (CPU) 33-2 display control means (CPU) 33-3 replenishment Detection means (CPU)

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 指示値を表示する表示手段と、車両の燃
焼タンク内の燃料の液面レベルを検出して燃料信号を発
生する燃料センサと、該燃料センサからの燃料信号を入
力して燃料残量の指示値を演算する演算手段と、イグニ
ッションスイッチがオフしたとき、前記燃料残量の指示
値を記憶し、該記憶した指示値をイグニッションスイッ
チのオフしている期間も保持する記憶手段と、前記表示
手段に燃料残量の指示値を表示させる制御を行うと共
に、前記演算手段により演算した燃料残量の指示値を前
記記憶手段に記憶させる表示制御手段とを備え、前記表
示制御手段は、イグニッションスイッチのオン直後、前
記記憶手段に記憶されている燃料残量の指示値を前記表
示手段に表示させる車両用燃料残量表示装置において、 前記表示制御手段は、イグニッションスイッチがオフし
たときの前記記憶手段への前記燃料残量の指示値の記憶
を、イグニッションスイッチのオフ後から一定時間経過
後に前記演算手段が演算した燃料残量の指示値に基づい
て行うことを特徴とする車両用燃料残量表示装置。
1. A display means for displaying an indicated value, a fuel sensor for detecting a liquid level of fuel in a combustion tank of a vehicle to generate a fuel signal, and a fuel signal input from the fuel sensor for inputting a fuel signal. Calculating means for calculating the indicated value of the remaining amount, and storage means for storing the indicated value of the remaining fuel amount when the ignition switch is turned off, and for storing the stored indicated value also during a period in which the ignition switch is turned off. Display control means for controlling the display means to display the indicated value of the remaining fuel amount, and for storing the indicated value of the remaining fuel amount calculated by the calculating means in the storage means, the display control means comprising: A fuel remaining amount display device for a vehicle which displays an indication value of a remaining fuel amount stored in the storage means on the display means immediately after turning on an ignition switch; Storing the indicated value of the remaining fuel amount in the storage unit when the ignition switch is turned off, based on the indicated value of the remaining fuel amount calculated by the calculating unit after a lapse of a fixed time after the ignition switch is turned off. A fuel level display device for a vehicle, comprising:
【請求項2】 前記表示制御手段は、イグニッションス
イッチのオン直後、前記記憶手段に記憶している燃料残
量の指示値がないとき、前記演算手段により演算した燃
料残量の指示値を前記表示手段に表示させることを特徴
とする請求項1記載の車両用燃料残量表示装置。
2. The display control means according to claim 1, wherein, immediately after an ignition switch is turned on, when there is no indication of the remaining fuel amount stored in said storage means, said indication value of the remaining fuel quantity calculated by said calculation means is displayed. 2. A fuel level display device for a vehicle according to claim 1, wherein said means is displayed by means.
【請求項3】 車両が所定角度以上傾いた非水平状態と
それ以外の水平状態とを検出する傾き検出手段をさらに
備え、 前記表示制御手段は、前記傾き検出手段が非水平状態を
検出している場合、イグニッションスイッチがオフした
とき、前記表示手段に表示している前記燃料残量の指示
値を前記記憶手段に記憶させることを特徴とする請求項
1又は2記載の車両用燃料残量表示装置。
3. The display control means further comprises: a tilt detecting means for detecting a non-horizontal state in which the vehicle is tilted by a predetermined angle or more and a horizontal state other than the predetermined angle; 3. The vehicle fuel level display according to claim 1, wherein when the ignition switch is turned off, the fuel level indication value displayed on the display means is stored in the storage means. apparatus.
【請求項4】 前記記憶手段に記憶している指示値と前
記演算手段により演算した指示値との差をとり、該差が
予め定めた所定値以上あることにより燃料の補給の有無
を検出する補給検出手段をさらに備え、 前記表示制御手段は、イグニッションスイッチがオンし
たとき、前記補給検出手段により補給有りを検出する
と、補給された燃料残量の指示値を前記表示手段に表示
させることを特徴とする請求項1〜3の何れかに記載の
車両用燃料残量表示装置。
4. A difference between an instruction value stored in said storage means and an instruction value calculated by said arithmetic means is detected, and if the difference is equal to or greater than a predetermined value, the presence or absence of fuel supply is detected. When the ignition switch is turned on and the replenishment detecting means detects the presence of replenishment, the display control means causes the display means to display an instruction value of the remaining amount of refueled fuel. The vehicle fuel remaining amount display device according to any one of claims 1 to 3, wherein:
JP10318891A 1998-11-10 1998-11-10 Remaining fuel indicator for vehicles Withdrawn JP2000146666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10318891A JP2000146666A (en) 1998-11-10 1998-11-10 Remaining fuel indicator for vehicles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10318891A JP2000146666A (en) 1998-11-10 1998-11-10 Remaining fuel indicator for vehicles

Publications (1)

Publication Number Publication Date
JP2000146666A true JP2000146666A (en) 2000-05-26

Family

ID=18104129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10318891A Withdrawn JP2000146666A (en) 1998-11-10 1998-11-10 Remaining fuel indicator for vehicles

Country Status (1)

Country Link
JP (1) JP2000146666A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7204237B2 (en) * 2005-04-07 2007-04-17 Daimlerchrysler Corporation Evaporative system leak detection upon refueling
JP2015193363A (en) * 2014-03-28 2015-11-05 富士重工業株式会社 Vehicle residual fuel display device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7204237B2 (en) * 2005-04-07 2007-04-17 Daimlerchrysler Corporation Evaporative system leak detection upon refueling
JP2015193363A (en) * 2014-03-28 2015-11-05 富士重工業株式会社 Vehicle residual fuel display device

Similar Documents

Publication Publication Date Title
JP4106634B2 (en) Fuel remaining amount display device and display method thereof
JP4962702B2 (en) Pointer-type instrument
JPH04208808A (en) Apparatus for correcting offset of revolving angular velocity sensor
JP2001108503A (en) Fuel consumption measuring device of vehicle
EP1357354B1 (en) Movement condition determination
JP4387750B2 (en) Pointed position correcting method and apparatus, and pointing device
JPS6018708A (en) Device for displaying data of vehicle-running path
JP2000146666A (en) Remaining fuel indicator for vehicles
JP3452303B2 (en) Fuel level indicator for vehicles
JP2007231832A (en) Engine oil remaining quantity detecting device
JP2001047877A (en) Fuel remaining amount display device for vehicle
JP3036110B2 (en) Liquid level indicator for vehicles
KR100475928B1 (en) Method for controlling fuel alarming light bulb of an automobile
JPS596366B2 (en) Remaining drivable distance detection method and device
JP3514425B2 (en) Fuel display control device
JP2000018975A (en) Device for stepping motor type instrument
JPH0953971A (en) Residual quantity detector for liquid
KR100646760B1 (en) Driving control method of fuel gage using slope sensor
JPH04345531A (en) Pointer deflection prevention device for fuel meter
JPS6341003B2 (en)
KR20060006232A (en) Method of warning oil consumption
JP3224009B2 (en) Pointer display
JPH0321847B2 (en)
JPS5842906Y2 (en) Fuel level counting device
KR101619523B1 (en) Method for displaying a fuel level

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: 20060110