JPH0612282B2 - Liquid meter for mobile - Google Patents
Liquid meter for mobileInfo
- Publication number
- JPH0612282B2 JPH0612282B2 JP58008993A JP899383A JPH0612282B2 JP H0612282 B2 JPH0612282 B2 JP H0612282B2 JP 58008993 A JP58008993 A JP 58008993A JP 899383 A JP899383 A JP 899383A JP H0612282 B2 JPH0612282 B2 JP H0612282B2
- Authority
- JP
- Japan
- Prior art keywords
- value
- average value
- liquid
- remaining amount
- sampling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 239000007788 liquid Substances 0.000 title claims description 47
- 238000005070 sampling Methods 0.000 claims description 24
- 238000001514 detection method Methods 0.000 claims description 12
- 238000000034 method Methods 0.000 claims description 7
- 230000010354 integration Effects 0.000 claims description 4
- 230000000717 retained effect Effects 0.000 claims 1
- 239000000446 fuel Substances 0.000 description 22
- 238000004590 computer program Methods 0.000 description 5
- 239000002828 fuel tank Substances 0.000 description 3
- 238000012935 Averaging Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000012530 fluid Substances 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F23/00—Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
- G01F23/80—Arrangements for signal processing
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
Description
【発明の詳細な説明】 (産業上の利用分野) 本発明は液量計に係り、特に車両その他の各種移動体に
保有される燃料、オイル等の液体の残量を計量するに適
した移動体のための液量計に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a liquid level meter, and more particularly to a liquid level meter suitable for measuring the remaining amount of liquid such as fuel and oil held in vehicles and various other moving bodies. Regarding a fluid meter for the body.
(従来技術) 従来、この種の液量計としては、例えば、車両の燃料タ
ンク内に保有される燃料の残量をその液面レベルとの関
連により検出し、この検出結果を経時的に複数回サンプ
リングし、かつこれら各サンプリング結果を単純に加算
平均している。(Prior Art) Conventionally, as this type of liquid level meter, for example, the remaining amount of fuel held in a fuel tank of a vehicle is detected in relation to the liquid level and a plurality of detection results are sequentially measured. Sampling is performed twice, and each of these sampling results is simply averaged.
(発明が解決しようとする課題) しかしながら、このような液量計においては、燃料の液
面レベルが当該車両の走行中に激しく変動するため、上
述したような複数のサンプリング結果の単純な加算平均
のみによつては誤差を伴い易い。すなわち、単純な加算
平均にて液面のレベルを測定するものでは、液面レベル
が急激に変化したときに、単に平均では誤差を伴ってし
まい、正確な液面レベルを検出することは到底できない
という問題がある。(Problems to be Solved by the Invention) However, in such a liquid level meter, the liquid level of the fuel fluctuates drastically while the vehicle is running, and therefore, a simple arithmetic mean of a plurality of sampling results as described above is used. Only by doing so, it is easy to cause an error. That is, in the method of measuring the liquid level by a simple averaging, when the liquid level changes abruptly, the average simply causes an error, and it is impossible to detect an accurate liquid level. There is a problem.
これに対し、当該車両の走行中における燃料の液面レベ
ルの変化を実験的に観察してみたところ、液面レベル
が、激しく変動する中にも、燃料の残量との関連によ
り、第1図に示すごとく、ほぼ同一のレベル範囲にて高
頻度でもつて経時的に現われるとともにこの同一のレベ
ル範囲が現実の燃料の残量に対応することを確認した。
また、このようなことは、車両の燃料に限らず、車両の
オイル、その他各種移動体に保有される液体においても
同様に確認される。On the other hand, when experimentally observing the change of the fuel liquid level while the vehicle is running, the first level of the fuel level changes due to the relationship with the remaining amount of fuel even when the liquid level fluctuates drastically. As shown in the figure, it was confirmed that the same level range frequently appears over time and that the same level range corresponds to the actual remaining amount of fuel.
Moreover, such a thing is similarly confirmed not only in the fuel of the vehicle but also in the oil of the vehicle and other liquids held in various moving bodies.
本発明は、このような確認結果を根拠として、移動体に
保有される液体の残量を、その高頻度にて現われる液面
レベルの有効な活用により精度よく決定するようにした
移動体のための液量計を提供することにある。The present invention is based on such a confirmation result, and is for a mobile body that accurately determines the remaining amount of liquid held in the mobile body by effectively utilizing the liquid level that appears at high frequency. Is to provide a liquid meter.
(課題を解決するための手段) かかる課題の解決にあたり、本発明の構成は、 移動体に保有される液体の残量をその液面レベルとの関
連により検出し検出信号として発生する検出手段と、 前記検出信号の値を所定時間毎に繰返しサンプリングす
るサンプリング手段と、 前記サンプリングされた所定個数のサンプリング値を用
いて、サンプリング値の平均値を前記所定時間毎に繰返
し算出するものであり、この平均値の算出過程におい
て、平均値の算出対象にするサンプリング値を1つずつ
ずらすようにする平均値算出手段と、 前記平均値算出手段によって算出された各平均値が、予
め定めた一連の互いに異なる値領域のいずれに属するか
につき判断する判断手段と、 この判断手段の各判断に応答して前記各判断結果に相当
する各値領域毎の前記各平均値の度数を別々に積算する
積算手段と、 この積算手段と積算回路の総和が所定数に達したとき前
記各値領域毎の各積算回数のうちの最大値に関連する前
記一連の値領域の一つを前記液体の残量として決定し出
力信号として発生する決定手段と、 前記出力信号に応答して前記液体の決定残量を表示する
表示手段とを備えたことにある。(Means for Solving the Problem) In solving the above problem, the configuration of the present invention includes a detecting means for detecting the remaining amount of the liquid held in the moving body in association with the liquid level and generating a detection signal. A sampling means for repeatedly sampling the value of the detection signal at predetermined time intervals, and using a predetermined number of sampled values sampled, an average value of the sampling values is repeatedly calculated at every predetermined time interval. In the process of calculating the average value, the average value calculating means for shifting the sampling values to be the targets for calculating the average value one by one, and the respective average values calculated by the average value calculating means are set in a predetermined series. Judgment means for judging which one of the different value areas belongs, and each value area corresponding to each judgment result in response to each judgment of this judgment means Integrating means for separately accumulating the frequencies of the respective average values, and a series of the series relating to the maximum value of the integrating times for each of the value regions when the total sum of the integrating means and the integrating circuit reaches a predetermined number. It is provided with determining means for determining one of the value areas as the remaining amount of the liquid and generating it as an output signal, and display means for displaying the determined remaining amount of the liquid in response to the output signal.
(作用) このように本発明を構成したことにより、前記検出信号
の値が所定時間毎に繰返しサンプリングされ、所定個の
サンプリング値を用いてサンプリング値の平均値が前記
所定時間であるサンプリングタイミング毎に繰返し算出
される。この平均値の算出過程においては、平均値の算
出対象にするサンプリング値を1つずつずらすようにし
て処理が行われる。そして、これら各平均値に応答して
前記各平均値が前記一連の値領域のいずれに属するか判
断され、これら各判断に応答して前記各平均値の度数が
前記各判断結果に相当する各値領域毎に別々に積算さ
れ、これら各積算回数の総和が前記所定数に達したとき
前記一連の値領域の一つが前記各値領域毎の各積算回数
のうちの最大値との関連により前記液体の残量として決
定されて出力信号として発生し、これに応答して前記液
体の決定残量が表示される。(Operation) With the above configuration of the present invention, the value of the detection signal is repeatedly sampled at every predetermined time, and a predetermined number of sampling values are used at each sampling timing when the average value of the sampling values is at the predetermined time. Is calculated repeatedly. In the process of calculating the average value, the processing is performed by shifting the sampling value to be the target for calculating the average value one by one. Then, in response to each of these average values, it is determined which of the series of value regions each of the average values belongs to, and in response to each of these determinations, the frequency of each of the average values corresponds to each of the determination results. Each value area is integrated separately, and when the sum of each of the integration times reaches the predetermined number, one of the series of value areas is associated with the maximum value of the integration times of each of the value areas. The remaining amount of liquid is determined and generated as an output signal, and in response thereto, the determined remaining amount of liquid is displayed.
(効果) 以上述べたように、液体の残量に対応する液面レベルが
ほぼ同一レベルにて高頻度にて現れるという現象を前提
として、前記平均値算出手段及び決定手段の併用のもと
に上述のように液体の残量を液面レベルとの関連で決定
するようにしたので、液面レベルの変動が前記決定内容
に与える影響を非常に小さくした状態でもって、前記検
出信号の値に係る液面レベル領域のうち最も出現頻度の
高い液面レベル領域を規定する前記一連の値領域の一つ
が燃料の残量として繰返し更新表示される。(Effect) As described above, on the premise of the phenomenon that the liquid level corresponding to the remaining amount of the liquid appears at the same level and with high frequency, the average value calculating means and the determining means are used together. As described above, since the remaining amount of the liquid is determined in relation to the liquid level, the value of the detection signal can be changed in a state in which the influence of the fluctuation of the liquid level on the determination content is extremely small. One of the series of value regions that defines the liquid level region having the highest appearance frequency among the liquid level regions is repeatedly updated and displayed as the remaining amount of fuel.
(実施例) 以下、本発明の一実施例を図面により説明すると、第2
図は、車両の燃料タンク内に保有される燃料の残量の検
出に対して本発明が適用された例を示しており、図にお
いて符号10は液量センサを示している。液量センサ1
0は、前記燃料タンクに設けられて、燃料の残量をその
液面レベルとの関連により検出しこれをアナログ信号と
して発生する。A−D変換器20は液量センサ10から
のアナログ信号をデイジタル信号に変換する。マイクロ
コンピユータ30は、その内部に予め記憶したコンピユ
ータプログラムを第3図に示フローチヤートに従い繰返
し実行し、この実行中において、以下の作用説明にて述
べるごとく、A−D変換器20との協働により燃料の残
量を決定しこれを表示指令信号として発生するに必要な
各種の演算処理を行なう。駆動回路40は、マイクロコ
ンピユータ30からの表示指令信号に応答してこの信号
の内容に規定される駆動信号を発生する。バー表示器5
0は、複数の自発光素子、液晶等からなる第1,第2,
…,第jのバーセグメントを順次一列に配設したもの
で、駆動回路40からの駆動信号に応答しこの駆動信号
の内容に対応する数のバーセグメントにより燃料の残量
をバー表示する。(Embodiment) An embodiment of the present invention will be described below with reference to the drawings.
The figure shows an example in which the present invention is applied to the detection of the remaining amount of fuel held in a fuel tank of a vehicle, and in the figure, reference numeral 10 indicates a liquid amount sensor. Liquid volume sensor 1
0 is provided in the fuel tank, detects the remaining amount of fuel in relation to the liquid level, and generates this as an analog signal. The A / D converter 20 converts the analog signal from the liquid amount sensor 10 into a digital signal. The microcomputer 30 repeatedly executes a computer program stored therein in advance according to the flow chart shown in FIG. 3, and during this execution, as described in the following description of the operation, the cooperation with the A / D converter 20. Thus, the remaining amount of fuel is determined, and various kinds of arithmetic processing necessary to generate this as a display command signal are performed. The drive circuit 40 responds to the display command signal from the microcomputer 30 and generates a drive signal defined by the content of this signal. Bar indicator 5
0 is a first, a second, and a plurality of self-luminous elements, liquid crystal, etc.
..., j-th bar segments are sequentially arranged in a line, and the remaining fuel amount is displayed in bars by the number of bar segments corresponding to the content of the drive signal in response to the drive signal from the drive circuit 40.
以上のように構成した本実施例において、当該車両を走
行状態におくとともにマイクロコンピユータ30を作動
させれば、マイクロコンピユータ30がコンピユータプ
ログラムを第3図のフローチヤートに従いスツテプ60
にて実行し始め、両ステツプ61,62において、液量
センサ10との協働により生じるA−D変換器20から
のデイジタル信号を繰返し4回読込んでこれら各デイジ
タル信号の値の相加平均を求めるとともに、これを、デ
イジタル信号を128回読込んで求めた相加平均値に相
当する初期値(Q128として表す)として決定し、かつこ
の初期値を表示指令信号として発生する。すると、駆動
回路40がマイクロコンピユータ30からの表示指令信
号に応答してこの信号の内容を駆動信号として発生し、
これに応答してレバー表示器50が当該駆動信号の内容
に対応する数のバーセグメントにより前記初期値を燃料
の残量としてバー表示する。In the present embodiment configured as described above, when the vehicle is in a running state and the microcomputer 30 is operated, the microcomputer 30 executes the computer program according to the flow chart of FIG.
Then, in both steps 61 and 62, the digital signal from the AD converter 20 generated by the cooperation with the liquid amount sensor 10 is repeatedly read four times and the arithmetic mean of the values of these digital signals is calculated. At the same time as obtaining, it is determined as an initial value (represented as Q 128 ) corresponding to the arithmetic mean value obtained by reading the digital signal 128 times, and this initial value is generated as a display command signal. Then, the drive circuit 40 responds to the display command signal from the microcomputer 30 to generate the content of this signal as a drive signal,
In response to this, the lever display 50 displays the initial value as the remaining amount of fuel in bars by the number of bar segments corresponding to the content of the drive signal.
しかして、ステツプ63における「NO」としての判別演
算の繰返し中にサンプリング周期T(本実施例において
は、例えば0.5秒として予めマイクロコンピユータ3
0に記憶されている)が経過すると、マイクロコンピユ
ータ30がステツプ63にて「YES」と判別し、ステツプ
64にてA−D変換器20からのデイジタル信号の値を
サンプリングするとともにこれをサンプリング値q129と
し、かつステツプ65において重付平均値Q129を次式
(1)に基き演算する。Then, during the repetition of the discrimination operation as "NO" in step 63, the sampling period T (in this embodiment, for example, 0.5 seconds is set in advance by the microcomputer 3).
(Stored in 0) has elapsed, the microcomputer 30 determines “YES” in step 63, samples the value of the digital signal from the A / D converter 20 in step 64, and outputs the sampled value. q 129 and the weighted average value Q 129 in step 65
Calculate based on (1).
但し、m=n+127とし、かつm=M+1とする。現
段階には、i=n=2,m=129故、(1)式におい
て、q2=q3=・・・=q128=Q128とすれば、 PM=Q128 ・・・(4) m−n+1=128 ・・・(5) として求められる。従つて、これら(2)〜(5)式を(1)式
に代入すれば、重付平均値Q129が Q129=(127Q128+q129−Q128+Q128)/128 =(127Q128+q129)/128 ・・・(6) として得られる。 However, m = n + 127 and m = M + 1. At the present stage, i = n = 2 and m = 129. Therefore, if q 2 = q 3 = ... = q 128 = Q 128 in the equation (1), P M = Q 128 (4) m−n + 1 = 128 (5) Therefore, by substituting Eqs. (2) to (5) into Eq. (1), the weighted average value Q 129 becomes Q 129 = (127Q 128 + q 129 -Q 128 + Q 128 ) / 128 = (127Q 128 + q 129 ) / 128 (6)
コンピユータプログラムがステツプ66に進むと、マイ
クロコンピユータ30が、ステツプ65にて繰返し得ら
れる各重付平均値が属すると予測して予め定めた互いに
異なる第1,第2,・・・,第jの値領域(燃料の互い
に異なる第1,第2,・・・,第jの液面レベル領域に
対応する)のいずれに上述の重付平均値Q129が属するか
を判断し、然る後、この判断結果に対応する第1,第
2,・・・,第jのカウンタの計数値C1,C2,・・
・,Cj(現時点にては共に零となつているものとす
る)の一つに「1」加算してこれを更新するとともに重付
平均値Q129をP129とセツトする。かかる場合、上述した
第1,第2,・・・,第jのカウンタはマイクロコンピ
ユータ30内に設けられてなるもので、前記第1,第
2,・・・,第jの値領域にそれぞれ対応するとともに
バー表示器50の第1,第2,・・・,第jのバーセグ
メントにそれぞれ対応する。なお、マイクロコンピユー
タ30は、ステツプ67にて、各計数値C1,C2,・
・・,Cjの総和が所定数N(本実施例にてはN=25
6としてマイクロコンピユータ30内に予め記憶されて
いる)より小さいため「NO」と判別する。When the computer program proceeds to step 66, the micro computer 30 predicts that each weighted average value repeatedly obtained at step 65 belongs to the predetermined first, second, ... It is determined which of the value regions (corresponding to the first, second, ..., j-th liquid surface level regions of the fuel different from each other) the weighted average value Q 129 belongs to, and then, The count values C 1 , C 2 , ... Of the first, second, ..., jth counters corresponding to this determination result
., C j (both are assumed to be zero at this time) is added by “1” to update it, and the weighted average value Q 129 is set to P 129 . In such a case, the above-described first, second, ..., Jth counters are provided in the microcomputer 30, and are respectively placed in the first, second, ..., Jth value areas. Corresponds to and corresponds to the 1st, 2nd, ..., jth bar segments of the bar indicator 50, respectively. In addition, the microcomputer 30 proceeds to step 67, where each count value C 1 , C 2 , ...
.., the sum of C j is a predetermined number N (N = 25 in this embodiment)
Since it is smaller than 6 (previously stored in the microcomputer 30 as 6), it is determined to be "NO".
コンピユータプログラムがステツプ63に戻りサンプリ
ング周期の経過によりかかるステツプ63における判別が
「YES」になると、マイクロコンピユータ30がステツ
プ64にてA−D変換器20からのデイジタル信号の値を
サンプリングするとともにこれをサンプリング値q130と
し、かつステツプ65において重付平均値Q130を(1)式
に基き計算する。かかる場合、i=n=3,m=13
0,PM=Q129(ステツプ66にてセツト済み)である
こと、及び であることから、 Q130={126Q128+q129+q130−(126Q128+q129)/12
7 +Q129}/128 ・・・(9) として得られる。When the computer program returns to step 63 and the determination in step 63 becomes "YES" due to the elapse of the sampling period, the microcomputer 30 samples the value of the digital signal from the A / D converter 20 in step 64 and outputs it. The weighted average value Q 130 is calculated based on the equation (1) at the sampling value q 130 and at step 65. In such a case, i = n = 3, m = 13
0, P M = Q 129 (set at step 66), and Therefore, Q 130 = {126Q 128 + q 129 + q 130 − (126Q 128 + q 129 ) / 12
7 + Q 129 } / 128 (9)
コンピユータプログラムがステツプ66に進むと、マイ
クロコンピユータ30が、ステツプ65にて(9)式でも
つて得た重付平均値Q130が上述の第1,第2,・・・,
第jの値領域のいずれに属するかを判断し、然る後、こ
の判断結果に対応する前記第1,第2,・・・,第jの
カウンタの計数値C1,C2,・・・,Cjの一つに「1」加算
してこれを更新するとともに重付平均値Q130をP130とセ
ツトし、かつステツプ67にて各計数値C1,C2,・・
・,Cjの総和が所定数Nより小さいため「NO」と判別す
る。以後、ステツプ63〜67を循環する演算を上述の
場合と実質的に同様に繰返している間に各計数値C1,
C2,・・・,Cjの総和が所定値Nに達すると、マイクロ
コンピユータ30がステツプ67にて、「YES」と判別
し、ステツプ68にて、各計数値C1,C2,・・・,Cjの
うちの最大値との関連により、第1,第2,・・・,第
jの値領域の一つを選定しこれを燃料の残量として決定
し、かつこの決定残量を表示指令信号としてステツプ6
9において発生する。これにより、バー表示器50がマ
イクロコンピユータ30からの表示指令信号に応答する
駆動回路40の制御のもとに当該表示指令信号の内容に
対応する数のバーセグメントにより前記決定残量をバー
表示する。When the computer program proceeds to step 66, the weighted average value Q 130 obtained by the microcomputer 30 at step 65 by the equation (9) is the first, second, ...
It is determined which of the j-th value areas it belongs to, and then the count values C 1 , C 2 , ... Of the first, second, ..., J-th counters corresponding to this determination result. , Add one to C j to update it and set weighted average value Q 130 to P 130 , and at step 67, count values C 1 , C 2 , ...
・ Since the sum of C j is smaller than the predetermined number N, it is determined to be “NO”. After that, while the calculation for circulating the steps 63 to 67 is repeated in substantially the same manner as described above, each count value C 1 ,
When the total sum of C 2 , ..., C j reaches the predetermined value N, the microcomputer 30 determines “YES” at step 67, and at step 68, each count value C 1 , C 2 ,. ..., by association with the maximum value among the C j, first, second, ..., and selects one of the value range of the j determines this as the remaining amount of fuel, and this decision residue Step 6 with quantity as display command signal
Occurs at 9. As a result, the bar indicator 50 displays the determined remaining amount in a bar by the number of bar segments corresponding to the contents of the display command signal under the control of the drive circuit 40 in response to the display command signal from the microcomputer 30. .
換言すれば、サンプリング周期Tの経過毎にA−D変換
器20からのデイジタル信号の値を繰返しサンプリング
し、これら各サンプリング値が重み付け平均され、これ
ら各重付平均値が第1,第2,・・・,第jの値領域の
いずれに属するかにつき繰返し判断するとともにこれら
各判断結果により第1,第2,・・・,第jの値領域毎
における各重付平均値の重み付け平均回数を各計数値
C1,C2,・・・,Cjとして別々に積算し、これら各計数
値C1,C2,・・・,Cjの総和が所定数Nに達したとき各
計数値C1,C2,・・・,Cjのうちの最大値に関連する第
1,第2,・・・,第jの値領域の一つを燃料の残量と
して決定するようにしたので、液面レベルの変動が前記
決定内容に与える影響を非常に小さくした状態でもっ
て、液量センサ10により検出される液面レベル領域の
うち最も検出頻度の高い液面レベル領域に係る第1〜第
jの値領域の一つが燃料の残量としてバー表示器50に
より表示されることとなり、その結果燃料の残量の検出
表示精度が高くなる。また、ステツプ64におけるサン
プリング後ステツプ65にて(1)式に基き繰返し重付平
均値を演算するので、ステツプ64におけるサンプリン
グ値が、予期しない不規則な値であつたとしてもこれを
吸収し、その結果燃料の残量の検出表示精度のより一層
の向上に役立つ。なお、上記フローチャートの主要部を
タイムチャートにてあらわせば、第4図に示すようにな
る。In other words, the value of the digital signal from the A / D converter 20 is repeatedly sampled at each elapse of the sampling period T, and each of these sampled values is weighted and averaged. ..., It is repeatedly determined which one of the j-th value areas it belongs to, and the weighted average number of times of each weighted average value for each of the first, second, ..., j-th value area based on these judgment results. Each count value
C 1 , C 2 , ..., C j are separately accumulated, and when the sum of these count values C 1 , C 2 , ..., C j reaches a predetermined number N, each count value C 1 , C 2, ..., the first relating to the maximum value of C j, second, ..., since one value region of the j was determined as the remaining amount of fuel, the liquid surface In a state in which the influence of the level change on the determination content is made extremely small, the first to j-th of the liquid surface level regions detected most frequently among the liquid surface level regions detected by the liquid amount sensor 10 are detected. One of the value areas is displayed by the bar indicator 50 as the remaining amount of fuel, and as a result, the accuracy of detecting and displaying the remaining amount of fuel is increased. Further, since the repeated weighted average value is calculated based on the equation (1) in the step 65 after sampling in step 64, even if the sampled value in step 64 is an unexpected irregular value, it is absorbed, As a result, it is useful for further improving the detection and display accuracy of the remaining amount of fuel. The main part of the above flow chart is shown in the time chart of FIG.
この実施例においては、流量センサ10およびA−D変
換器20が検出手段に相当し、第3図のステップ64の
処理がサンプリング手段に相当し、同図のステップ65
の処理が平均値算出手段に相当し、同図のステップ66
の処理が判断手段および積算手段に相当し、同図のステ
ップ67、ステップ68およびステップ69の処理が決
定手段に相当し、駆動回路40およびバー表示器50が
表示手段に相当する。In this embodiment, the flow rate sensor 10 and the A / D converter 20 correspond to the detecting means, the process of step 64 of FIG. 3 corresponds to the sampling means, and the step 65 of FIG.
Processing corresponds to the average value calculating means, and is equivalent to step 66 in FIG.
The process of (1) corresponds to the determining unit and the integrating unit, the processes of Step 67, Step 68 and Step 69 in the same figure correspond to the determining unit, and the drive circuit 40 and the bar indicator 50 correspond to the displaying unit.
なお、前記実施例においては、サンプリング周期T=
0.5秒、所定数N=256及びm=128とした例に
ついて説明したが、これら各T,N及びmを必要に応じ
て適宜変更して実施してもよい。In the above embodiment, the sampling period T =
Although an example in which the predetermined number N = 256 and m = 128 is set for 0.5 seconds has been described, these T, N, and m may be appropriately changed and implemented as necessary.
また、前記実施例においては、本発明が車両の燃料の残
量検出に適用された例について説明したが、これに限ら
ず、車両のオイル、船舶、航空機等各種移動体に保有さ
れる液体の残量検出にあたつても本発明を適用して実施
してもよい。かかる場合、液体の残量をバー表示器50
の複数のバーセグメントのうちの一つにより表示するよ
うにしてもよく、またバー表示器50にい代えてデイジ
タル表示器により表示するようにしてもよい。Further, in the above-mentioned embodiment, the example in which the present invention is applied to the detection of the remaining amount of the fuel of the vehicle has been described, but the present invention is not limited to this, and the oil of the vehicle, the liquid held in various moving bodies such as ships and aircrafts, The present invention may be applied to the remaining amount detection as well. In this case, the bar indicator 50
May be displayed by one of the plurality of bar segments, or may be displayed by a digital display instead of the bar display 50.
また、本発明の実施にあたつては、ステツプ65における
重付平均値Qmの演算に際し、(1)式に代えて、次の式
(10)式を採用して実施してもよい。Further, in carrying out the present invention, when calculating the weighted average value Q m in step 65, the following formula is used instead of the formula (1).
Equation (10) may be adopted for implementation.
Qm={qsum−(qsum/128)+qm}/128 ・・・(10) 但し、qsumは、サンプリング値qiに相当するサンプリ
ング値qmの128個の総和を示す。かかる場合、ステ
ツプ66において、qsum=qsm=qsum−(qsum/128)+q
mなる置換を行なえばよい。さらに、前記実施例におい
ては、平均値として重付平均値を用いていたがこれに限
定されるものではなく、他の平均値を用いても良い。Q m = {q sum − (q sum / 128) + q m } / 128 (10) However, q sum represents 128 sums of the sampling values q m corresponding to the sampling values q i . In such a case, in step 66, q sum = q sm = q sum − (q sum / 128) + q
You can replace m . Further, in the above-mentioned embodiment, the weighted average value is used as the average value, but the average value is not limited to this, and another average value may be used.
第1図は車両の燃料の液面レベルが経時的に変化する状
態を示すグラフ、第2図は本発明の一実施例を示すブロ
ツク図、及び第3図は第2図におけるマイクロコンピユ
ータの作用を示すフローチャートである。第4図は第2
図におけるマイクロコンピュータの作用の主要部を示す
タイムチャートである。 符号の説明 10……液量センサ、20……A−D変換器、30……
マイクロコンピユータ、40……駆動回路、50……バ
ー表示器。FIG. 1 is a graph showing a state in which the liquid level of fuel in a vehicle changes with time, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIG. 3 is an operation of the microcomputer in FIG. It is a flowchart showing. Figure 4 is second
3 is a time chart showing the main part of the operation of the microcomputer in the figure. Explanation of reference numerals 10 ... Liquid amount sensor, 20 ... AD converter, 30 ...
Microcomputer, 40 ... Driving circuit, 50 ... Bar indicator.
Claims (1)
レベルとの関連により検出し検出信号として発生する検
出手段と、 前記検出信号の値を所定時間毎に繰返しサンプリングす
るサンプリング手段と、 前記サンプリングされた所定個数のサンプリング値を用
いて、サンプリング値の平均値を前記所定時間毎に繰返
し算出するものであり、この平均値の算出過程におい
て、平均値の算出対象にするサンプリング値を1つずつ
ずらすようにする平均値算出手段と、 前記平均値算出手段によって算出された各平均値が、予
め定めた一連の互いに異なる値領域のいずれに属するか
につき判断する判断手段と、 この判断手段の各判断に応答して前記各判断結果に相当
する各値領域毎の前記各平均値の度数を別々に積算する
積算手段と、 この積算手段の積算回数の総和が所定数に達したとき前
記各値領域毎の各積算回数のうちの最大値に関連する前
記一連の値領域の一つを前記液体の残量として決定し出
力信号として発生する決定手段と、 前記出力信号に応答して前記液体の決定残量を表示する
表示手段とを備えた移動体のための液量計。1. A detection means for detecting the remaining amount of liquid retained in a moving body in relation to the liquid level and generating it as a detection signal, and a sampling means for repeatedly sampling the value of the detection signal every predetermined time. And an average value of the sampling values is repeatedly calculated for each of the predetermined times by using the sampled number of the sampled values. In the process of calculating the average value, the sampling value to be calculated as the average value. An average value calculating means for shifting the average value by one, and a determining means for determining to which of a series of mutually different value regions the respective average values calculated by the average value calculating means belong. Integrating means for separately integrating the frequencies of the respective average values for the respective value areas corresponding to the respective judgment results in response to the respective judgments of the judging means; When the sum total of the number of times of integration reaches a predetermined number, one of the series of value regions related to the maximum value of the number of times of integration of each of the value regions is determined as the remaining amount of the liquid and generated as an output signal. And a display means for displaying the determined remaining amount of the liquid in response to the output signal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58008993A JPH0612282B2 (en) | 1983-01-21 | 1983-01-21 | Liquid meter for mobile |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58008993A JPH0612282B2 (en) | 1983-01-21 | 1983-01-21 | Liquid meter for mobile |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59135321A JPS59135321A (en) | 1984-08-03 |
| JPH0612282B2 true JPH0612282B2 (en) | 1994-02-16 |
Family
ID=11708204
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58008993A Expired - Lifetime JPH0612282B2 (en) | 1983-01-21 | 1983-01-21 | Liquid meter for mobile |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0612282B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6222038A (en) * | 1985-07-23 | 1987-01-30 | Matsushita Electric Ind Co Ltd | Temperature detection device |
| JP2791447B2 (en) * | 1991-02-15 | 1998-08-27 | 食品産業オンラインセンサー技術研究組合 | Measured value processing method |
| JP2776444B2 (en) * | 1991-07-31 | 1998-07-16 | 日本精機株式会社 | Fuel gauge for vehicles |
| CN108150252A (en) * | 2017-12-25 | 2018-06-12 | 潍柴动力股份有限公司 | A kind of urea level detection method and device |
| CN111220234A (en) * | 2020-03-10 | 2020-06-02 | 无锡威孚力达催化净化器有限责任公司 | Method, device and system for calculating urea liquid level measurement value |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS50106655A (en) * | 1974-01-29 | 1975-08-22 |
-
1983
- 1983-01-21 JP JP58008993A patent/JPH0612282B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59135321A (en) | 1984-08-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0612282B2 (en) | Liquid meter for mobile | |
| JPH07310518A (en) | Lubricating oil consumption measuring device for internal combustion engine | |
| JP3137506B2 (en) | Reactor coolant leak detector | |
| Polcar et al. | Calibration and its use in measuring fuel consumption with the can-bus network | |
| JP3294906B2 (en) | How to measure the amount of liquid in the tank | |
| JP3279756B2 (en) | Quantitative calculator | |
| JP3104498B2 (en) | Electronic balance | |
| CN87102305A (en) | Electronic balance | |
| JPH07103798A (en) | Measuring instrument for amount of fuel consumption | |
| JP2601799B2 (en) | Bearing failure prediction method | |
| JPS58161827A (en) | Device for measuring remaining fuel quantity for vehicle | |
| JPH07225777A (en) | Method and device for determining inspection cycle | |
| JPH0692960B2 (en) | Method for measuring pH of electric plating solution | |
| JP3511070B2 (en) | Speed calculator | |
| JPS5863815A (en) | Arithmetic device for fuel residual amount | |
| JPH0534185A (en) | Fuel level gauge for vehicles | |
| JPH06213700A (en) | Flow meter difference test device | |
| US10845233B2 (en) | Weighing apparatus with flowmeter function | |
| JPH11325981A (en) | Processor module for dam hydrologic variable | |
| CN108801382B (en) | Method and system for preventing pointer of automobile fuel gauge from shaking | |
| JPS6123491B2 (en) | ||
| JPS60235023A (en) | Remaining fuel display system | |
| JP3513008B2 (en) | Traffic data prediction system and method | |
| JP2860006B2 (en) | Method of creating an experiment plan for a system for creating a quality inspection plan for parts | |
| JP3412391B2 (en) | Body clearance measuring device |