JP2014145713A - Liquid surface level detector - Google Patents
Liquid surface level detector Download PDFInfo
- Publication number
- JP2014145713A JP2014145713A JP2013015425A JP2013015425A JP2014145713A JP 2014145713 A JP2014145713 A JP 2014145713A JP 2013015425 A JP2013015425 A JP 2013015425A JP 2013015425 A JP2013015425 A JP 2013015425A JP 2014145713 A JP2014145713 A JP 2014145713A
- Authority
- JP
- Japan
- Prior art keywords
- difference value
- liquid level
- sign
- difference
- level detection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、液面レベル検出装置に係り、特に、自動車のガソリンやエンジンオイルなどの液体を貯蔵するタンクに装着され、前記液体の液面レベルを、磁力を利用して検出する液面レベル検出装置に関するものである。 The present invention relates to a liquid level detection device, and more particularly, to a liquid level detection that is mounted on a tank for storing a liquid such as gasoline or engine oil of an automobile and detects the liquid level using the magnetic force. It relates to the device.
従来、この種の液面レベル検出装置の一例として、図19に示すような磁気式液面計が知られている(特許文献1)。同図に示すように、磁気式液面計800は、油槽の外部に取り付けられており、液体導入部850の一部を構成するガラス管851内には、液面の変化に応じて移動可能に設けられたフロート801を有する。フロート801の上下面には、第1の磁石802A及び第2の磁石802Bが、極性が互いに逆になるように(即ち、同極が互いに向き合うように)して設けられている。ガラス管851には、センサケース803が取り付けられており、センサケース803には、上下方向に互いに間隔をあけて複数のセンサ部804A〜804Eが収容されている。センサ部804A〜804Eはそれぞれが、第1の磁石802A及び第2の磁石802Bによる磁力線のなす角度を検知する角度センサと、磁気強度により近傍にフロート801が到達したことを検知する磁気強度センサと、を備えている。
Conventionally, a magnetic liquid level gauge as shown in FIG. 19 is known as an example of this type of liquid level detector (Patent Document 1). As shown in the figure, the magnetic
上述した磁気式液面計800によれば、まず、センサ部804A〜804Eのうち磁気強度センサの出力が最大のものを選択し、次に、選択したセンサ部の角度センサの出力を液面レベルに換算している。即ち、上述した磁気式液面計800では、磁気センサの出力が最大となるセンサ部をフロートに最も近いセンサ部として特定し、そして、特定したセンサ部の角度センサ、つまり、フロート801に最も近い角度センサを用いて液面レベルを検出している。
According to the magnetic
しかしながら、上述した磁気式液面計800では、フロート801に最も近い角度センサを備えたセンサ部を特定するために、各センサ部804A〜804Eのそれぞれに磁気強度センサを設ける必要があるので、各センサ部804A〜804Eのそれぞれに複数種類のセンサを設けることになり、そのため、装置構成が複雑になってしまうという問題があった。
However, in the above-described magnetic
本発明は、かかる問題を解決することを目的としている。即ち、本発明は、1種類のセンサのみ用いた簡易な構成の液面レベル検出装置を提供することを目的としている。 The present invention aims to solve this problem. That is, an object of the present invention is to provide a liquid level detecting device having a simple configuration using only one type of sensor.
請求項1に記載された発明は、上記目的を達成するために、図1の基本構成図に示すように、タンクに貯蔵された液体の液面レベルに応じて上下方向に移動されるマグネットと、上下方向に互いに間隔をあけて順次並べて配置され、前記マグネットとの距離に応じた値を出力する複数の磁気強度センサS[1]〜S[N](Nは、4以上の自然数)と、前記磁気強度センサS[i](iは、1からN−1までの複数の自然数)の出力値から前記磁気強度センサS[i+1]の出力値を差し引いた差分値D[i]を算出する差分値算出手段と、前記差分値D[i]と前記液面レベルとの関係を示す液面レベル検出基準情報H[i]が記憶された情報記憶手段と、液面レベル検出手段と、を有し、前記液面レベル検出手段が、(A)前記差分値D[i]のうちの差分値D[j](jは、1からN−2までのうちの1の自然数)の符号が負で、かつ、前記差分値D[i]のうちの差分値D[j+1]の符号が正のとき、前記差分値D[j]及び前記差分値D[j+1]以外の差分値D[a](aは、1からN−1までのうちj及びj+1以外の1又は複数の自然数)及び前記差分値D[a]に対応する液面レベル検出基準情報H[a]に基づいて前記液面レベルを検出し、(B)前記差分値D[i]のうちの差分値D[1]の符号が正のとき、前記差分値D[1]以外の差分値D[b](bは、2からN−1までのうちの1又は複数の自然数)及び前記差分値D[b]に対応する液面レベル検出基準情報H[b]に基づいて前記液面レベルを検出し、(C)前記差分値D[i]のうちの差分値D[N−1]の符号が負のとき、前記差分値D[N−1]以外の差分値D[c](cは、1からN−2までのうちの1又は複数の自然数)及び前記差分値D[c]に対応する液面レベル検出基準情報H[c]に基づいて前記液面レベルを検出するように構成されていることを特徴とする液面レベル検出装置である。
In order to achieve the above object, the invention described in
請求項2に記載された発明は、上記目的を達成するために、図1の基本構成図に示すように、タンクに貯蔵された液体の液面レベルに応じて上下方向に移動されるマグネットと、上下方向に互いに間隔をあけて順次並べて配置され、前記マグネットとの距離に応じた値を出力する複数の磁気強度センサS[1]〜S[N](Nは、4以上の自然数)と、前記磁気強度センサS[i](iは、1からN−1までの複数の自然数)の出力値から前記磁気強度センサS[i+1]の出力値を差し引いた差分値D[i]を算出する差分値算出手段と、前記差分値D[i]と前記液面レベルとの関係を示す液面レベル検出基準情報H[i]が記憶された情報記憶手段と、液面レベル検出手段と、を有し、前記磁気強度センサS[1]が、前記マグネットの位置がその移動可能範囲における一方の端であるときに出力値が最大となるように配置され、前記磁気強度センサS[N]が、前記マグネットの位置がその移動可能範囲における他方の端であるときに出力値が最大となるように配置され、前記液面レベル検出手段が、(A)前記差分値D[i]のうちの差分値D[j](jは、1からN−2までのうちの1の自然数)の符号が負で、かつ、前記差分値D[i]のうちの差分値D[j+1]の符号が正のとき、前記差分値D[j]及び前記差分値D[j+1]以外の差分値D[a](aは、1からN−1までのうちj及びj+1以外の1又は複数の自然数)及び前記差分値D[a]に対応する液面レベル検出基準情報H[a]に基づいて前記液面レベルを検出し、(B’)前記差分値D[i]のうちの差分値D[1]の符号が正のとき、前記差分値D[1]及び前記差分値D[1]に対応する液面レベル検出基準情報H[1]に基づいて前記液面レベルを検出し、(C’)前記差分値D[i]のうちの差分値D[N−1]の符号が負のとき、前記差分値D[N−1]及び前記差分値D[N−1]に対応する液面レベル検出基準情報H[N−1]に基づいて前記液面レベルを検出するように構成されていることを特徴とする液面レベル検出装置である。
In order to achieve the above object, the invention described in
請求項3に記載された発明は、請求項1又は2に記載された発明において、前記液面レベル検出手段が、(A1)前記差分値D[i]から選択された1の差分値D[M](Mは、1からN−1までの1の自然数)から符号の判定を始めて、(A2)前記差分値D[M]の符号が正と判定された場合に、前記差分値D[1]に向けて順次符号の判定を進め、差分値D[j+1](jは、M−1から1までのうちの1の自然数)において最後に符号が正と判定されかつ差分値D[j]において最初に符号が負と判定されたとき、前記差分値D[a]及び前記差分値D[a]に対応する液面レベル検出基準情報H[a]に基づいて前記液面レベルを検出し、(A3)前記差分値D[M]の符号が負と判定された場合に、前記差分値D[N−1]に向けて順次符号の判定を進め、差分値D[j](jは、MからN−2までのうちの1の自然数)において最後に符号が負と判定されかつ差分値D[j+1]において最初に符号が正と判定されたとき、前記差分値D[a]及び前記差分値D[a]に対応する液面レベル検出基準情報H[a]に基づいて前記液面レベルを検出するように構成されていることを特徴とするものである。
The invention described in
請求項4に記載された発明は、請求項3に記載された発明において、前記磁気強度センサS[1]〜S[N]の個数Nが偶数の場合、前記差分値D[i]のうち符号の判定を開始する前記差分値D[M]の符号判定開始番号MとしてN/2が予め選択され、又は、個数Nが奇数の場合、前記符号判定開始番号Mとして(N−1)/2若しくは(N+1)/2が予め選択されていることを特徴とするものである。
In the invention described in
請求項5に記載された発明は、請求項3に記載された発明において、前記液面レベル検出手段が、前記差分値D[i]のうち最後に符号を判定した差分値D[k](kは、1からN−1までのうちの1の自然数)から次回検出における符号の判定を開始するように、前記差分値D[i]のうち符号の判定を開始する前記差分値D[M]の符号判定開始番号Mとしてとしてkを選択するように構成されていることを特徴とするものである。
The invention described in
請求項6に記載された発明は、請求項1〜5のいずれか一項に記載された発明において、前記差分値D[a]が、前記差分値[i]のうちの差分値D[j−1]及び差分値D[j+2]のうちの少なくとも一方とされていることを特徴とするものである。
The invention described in
請求項1に記載された発明によれば、(A)複数の差分値D[i]のうちの差分値D[j](jは、1からN−2までのうちの1の自然数)の符号が負で、かつ、複数の差分値D[i]のうちの差分値D[j+1]の符号が正のとき、差分値D[j]及び差分値D[j+1]以外の差分値D[a](aは、1からN−1までのうちj及びj+1以外の1又は複数の自然数)及び差分値D[a]に対応する液面レベル検出基準情報H[a]に基づいて液面レベルを検出し、(B)差分値D[1]の符号が正のとき、差分値D[1]以外の差分値D[b](bは、2からN−1までのうちの1又は複数の自然数)及び差分値D[b]に対応する液面レベル検出基準情報H[b]に基づいて液面レベルを検出し、(C)差分値D[N−1]の符号が負のとき、差分値D[N−1]以外の差分値D[c](cは、1からN−2までのうちの1又は複数の自然数)及び差分値D[c]に対応する液面レベル検出基準情報H[c]に基づいて液面レベルを検出する。 According to the first aspect of the present invention, (A) the difference value D [j] (j is a natural number of 1 from 1 to N−2) among the plurality of difference values D [i] When the sign is negative and the sign of the difference value D [j + 1] among the plurality of difference values D [i] is positive, the difference value D [j] other than the difference value D [j] and the difference value D [j + 1] a] (a is one or more natural numbers other than j and j + 1 from 1 to N−1) and the liquid level detection reference information H [a] corresponding to the difference value D [a] When the level is detected and (B) the sign of the difference value D [1] is positive, the difference value D [b] other than the difference value D [1] (b is one of 2 to N-1 or The liquid level is detected based on the liquid level detection reference information H [b] corresponding to the plurality of natural numbers) and the difference value D [b], and (C) the sign of the difference value D [N−1] is , The liquid level corresponding to the difference value D [c] other than the difference value D [N−1] (c is one or more natural numbers from 1 to N−2) and the difference value D [c]. The liquid level is detected based on the level detection reference information H [c].
請求項1に記載された発明の作用について図2〜図4を参照して説明する。
The operation of the invention described in
図2は、マグネット位置と磁気強度センサS[k](kは、1からN−1までのうちの1の自然数)の出力値、磁気強度センサS[k+1]の出力値、及び、これら出力値の差分値D[k]との関係を示すグラフの一例である。磁気強度センサS[k]の出力値からそれに隣接された磁気強度センサS[k+1]の出力値を差し引いた差分値D[k]を考えたとき、図2に示すように、磁気強度センサS[k]と磁気強度センサS[k+1]の間に各センサの出力が均衡するマグネット位置が存在し、そのマグネット位置において差分値D[k]は0となる。このマグネット位置を、ゼロクロス位置P[k]とする。そして、マグネットがゼロクロス位置P[k]より磁気強度センサS[k]側(図中左側)に位置すると、磁気強度センサS[k]の出力値が磁気強度センサS[k+1]の出力値より大きくなって差分値D[k]の符号は正(即ち、D[k]>0)となる。逆に、マグネットがゼロクロス位置P[k]より磁気強度センサS[k+1]側(図中右側)に位置すると、磁気強度センサS[k+1]の出力値がS[k]の出力値より大きくなって差分値D[k]の符号は負(即ち、D[k]<0)となる。また、マグネットが磁気強度センサS[k]に最接近したとき差分値D[k]は最大値となり、マグネットが磁気強度センサS[k+1]に最接近したとき差分値D[k]は最小値となる。符号判定において、D[k]=0の場合は、正(D[k]>0)又は負(D[k]<0)のどちらか一方に含めればよい。 FIG. 2 shows the magnet position and the output value of the magnetic intensity sensor S [k] (k is a natural number of 1 from 1 to N−1), the output value of the magnetic intensity sensor S [k + 1], and these outputs. It is an example of the graph which shows the relationship with the difference value D [k] of a value. When considering the difference value D [k] obtained by subtracting the output value of the magnetic strength sensor S [k + 1] adjacent thereto from the output value of the magnetic strength sensor S [k], as shown in FIG. There is a magnet position where the output of each sensor is balanced between [k] and the magnetic intensity sensor S [k + 1], and the difference value D [k] is 0 at that magnet position. This magnet position is defined as a zero cross position P [k]. When the magnet is positioned on the magnetic strength sensor S [k] side (left side in the figure) from the zero cross position P [k], the output value of the magnetic strength sensor S [k] is greater than the output value of the magnetic strength sensor S [k + 1]. It becomes larger and the sign of the difference value D [k] becomes positive (that is, D [k]> 0). Conversely, when the magnet is positioned on the magnetic strength sensor S [k + 1] side (right side in the figure) from the zero cross position P [k], the output value of the magnetic strength sensor S [k + 1] is larger than the output value of S [k]. Therefore, the sign of the difference value D [k] is negative (that is, D [k] <0). Further, when the magnet is closest to the magnetic intensity sensor S [k], the difference value D [k] is the maximum value, and when the magnet is closest to the magnetic intensity sensor S [k + 1], the difference value D [k] is the minimum value. It becomes. In the sign determination, when D [k] = 0, it may be included in either positive (D [k]> 0) or negative (D [k] <0).
図3は、マグネット位置と複数の差分値D[i](iは、1からN−1までの複数の自然数)との関係を示すグラフの一例である。図3では、一例として、磁気強度センサS[1]〜S[4](N=4)を備えた構成における差分値D[1]〜D[3]について示している。 FIG. 3 is an example of a graph showing the relationship between the magnet position and a plurality of difference values D [i] (i is a plurality of natural numbers from 1 to N−1). In FIG. 3, as an example, the difference values D [1] to D [3] in the configuration including the magnetic intensity sensors S [1] to S [4] (N = 4) are shown.
ゼロクロス位置P[1]より図中左側の区間T[1]では、差分値D[1]〜D[3]の全ての符号が正となっている。また、区間T[1]は、差分値D[1]が最大値となるマグネット位置を含んでおり、差分値D[2]及びD[3]については、最大値となるマグネット位置及び最小値となるマグネット位置を含んでいない。 In the section T [1] on the left side of the figure from the zero cross position P [1], all the signs of the difference values D [1] to D [3] are positive. The section T [1] includes the magnet position where the difference value D [1] is the maximum value, and the difference values D [2] and D [3] are the maximum magnet position and the minimum value. Does not include the magnet position.
ゼロクロス位置P[1]とゼロクロス位置P[2]との間の区間T[2]では、差分値D[1]の符号が負となり、差分値D[2]及びD[3]の符号が正となっている。また、区間T[2]は、差分値D[1]が最小値となるマグネット位置及び差分値D[2]が最大値となるマグネット位置を含んでおり、差分値D[3]については、最大値となるマグネット位置及び最小値となるマグネット位置を含んでいない。 In the section T [2] between the zero cross position P [1] and the zero cross position P [2], the sign of the difference value D [1] is negative, and the sign of the difference values D [2] and D [3] is It is positive. The section T [2] includes a magnet position where the difference value D [1] is the minimum value and a magnet position where the difference value D [2] is the maximum value. The maximum magnet position and the minimum magnet position are not included.
ゼロクロス位置P[2]とゼロクロス位置P[3]との間の区間T[3]では、差分値D[1]及びD[2]の符号が負となり、差分値D[3]の符号が正となっている。また、区間T[3]は、差分値D[2]が最小値となるマグネット位置及び差分値D[3]が最大値となるマグネット位置を含んでおり、差分値D[1]については、最大値となるマグネット位置及び最小値となるマグネット位置を含んでいない。 In the section T [3] between the zero cross position P [2] and the zero cross position P [3], the sign of the difference values D [1] and D [2] is negative, and the sign of the difference value D [3] is It is positive. The section T [3] includes a magnet position where the difference value D [2] is the minimum value and a magnet position where the difference value D [3] is the maximum value. The maximum magnet position and the minimum magnet position are not included.
ゼロクロス位置P[3]より図中右側の区間T[4]では、差分値D[1]〜D[3]の全ての符号が負となっている。また、区間T[4]は、差分値D[3]が最小値となるマグネット位置を含んでおり、差分値D[1]及びD[2]については、最大値となるマグネット位置及び最小値となるマグネット位置を含んでいない。 In the section T [4] on the right side of the figure from the zero cross position P [3], all the signs of the difference values D [1] to D [3] are negative. The section T [4] includes a magnet position at which the difference value D [3] is a minimum value. For the difference values D [1] and D [2], the magnet position and the minimum value are at a maximum value. Does not include the magnet position.
このことから、差分値D[1]の符号が正であれば、マグネット位置が区間T[1]にあると特定でき、そして、区間T[1]には、差分値D[2]及びD[3]について最大値となるマグネット位置及び最小値となるマグネット位置を含んでいないので、区間T[1]において差分値D[2]及びD[3]は単調に変化(単調増加)し、つまり、差分値D[2]及びD[3]の値に対して一意にマグネット位置(即ち、液面レベル)が定まる。そのため、これら差分値D[2]及びD[3]のいずれか一方又は両方に基づいて液面レベルを検出することができる。 From this, if the sign of the difference value D [1] is positive, it can be specified that the magnet position is in the section T [1], and the difference values D [2] and D are included in the section T [1]. Since [3] does not include the maximum magnet position and the minimum magnet position, the difference values D [2] and D [3] monotonously change (monotonically increase) in the section T [1]. That is, the magnet position (that is, the liquid level) is uniquely determined with respect to the difference values D [2] and D [3]. Therefore, the liquid level can be detected based on one or both of the difference values D [2] and D [3].
また、差分値D[1]の符号が負で、差分値D[2]の符号が正であれば、マグネット位置が区間T[2]にあると特定でき、そして、区間T[2]には、差分値D[3]について最大値となるマグネット位置及び最小値となるマグネット位置を含んでいないので、区間T[2]において差分値D[3]は単調に変化し、つまり、差分値D[3]の値に対して一意にマグネット位置が定まる。そのため、この差分値D[3]に基づいて液面レベルを検出することができる。 If the sign of the difference value D [1] is negative and the sign of the difference value D [2] is positive, it can be specified that the magnet position is in the section T [2], and the section T [2] Does not include the maximum magnet position and the minimum magnet position for the difference value D [3], the difference value D [3] changes monotonously in the section T [2]. The magnet position is uniquely determined with respect to the value of D [3]. Therefore, the liquid level can be detected based on the difference value D [3].
また、D[2]の符号が負で、差分値D[3]の符号が正であれば、マグネット位置が区間T[3]にあると特定でき、そして、区間T[3]には、差分値D[1]について最大値となるマグネット位置及び最小値となるマグネット位置を含んでいないので、区間T[3]において差分値D[1]は単調に変化し、つまり、差分値D[1]の値に対して一意にマグネット位置が定まる。そのため、この差分値D[1]に基づいて液面レベルを検出することができる。 If the sign of D [2] is negative and the sign of the difference value D [3] is positive, it can be specified that the magnet position is in the section T [3], and the section T [3] Since the difference value D [1] does not include the maximum magnet position and the minimum magnet position, the difference value D [1] changes monotonously in the section T [3], that is, the difference value D [ 1] uniquely determines the magnet position. Therefore, the liquid level can be detected based on the difference value D [1].
また、差分値D[3]の符号が負であれば、マグネット位置が区間T[4]にあると特定でき、そして、区間T[4]には、差分値D[1]及びD[2]について最大値となるマグネット位置及び最小値となるマグネット位置を含んでいないので、区間T[4]において差分値D[1]及びD[2]は単調に変化し、つまり、差分値D[1]及びD[2]の値に対して一意にマグネット位置が定まる。そのため、これら差分値D[1]及びD[3]のいずれか一方又は両方に基づいて液面レベルを検出することができる。 If the sign of the difference value D [3] is negative, it can be specified that the magnet position is in the section T [4], and the difference values D [1] and D [2] are included in the section T [4]. ] Does not include the magnet position having the maximum value and the magnet position having the minimum value, the difference values D [1] and D [2] change monotonously in the section T [4], that is, the difference value D [ The magnet position is uniquely determined for the values of 1] and D [2]. Therefore, the liquid level can be detected based on one or both of the difference values D [1] and D [3].
そして、図3では、磁気強度センサSの個数Nが4であったが、個数Nが5以上の場合でも、磁気強度センサS[1]〜S[N]が上下方向に互いに間隔をあけて順次並べて配置されていれば、図3と同様に、各差分値D[i]は、それぞれの最大値及び最小値が図中左右方向に順番に並ぶように出現し、各差分値D[i]が0となるゼロクロス位置P[1]〜P[N−1]も図中左右方向に順番に並ぶため、上記と同様に考えることができる。図4に、マグネット位置と複数の差分値D[i](iは、1からN−1までの複数の自然数)との関係を示すグラフの一例として、磁気強度センサS[1]〜S[8](N=8)を備えた構成における差分値D[1]〜D[7]について示す。 In FIG. 3, the number N of the magnetic intensity sensors S is 4, but even when the number N is 5 or more, the magnetic intensity sensors S [1] to S [N] are spaced apart from each other in the vertical direction. As shown in FIG. 3, each difference value D [i] appears so that the maximum value and the minimum value are arranged in order in the left-right direction in the figure, as in FIG. ] Are also arranged in order in the left-right direction in the figure, and can be considered in the same manner as described above. In FIG. 4, as an example of a graph showing the relationship between the magnet position and a plurality of difference values D [i] (i is a plurality of natural numbers from 1 to N−1), magnetic intensity sensors S [1] to S [ 8] Difference values D [1] to D [7] in the configuration with (N = 8) will be described.
即ち、差分値D[i]のうちの差分値D[j](jは、1からN−2までのうちの1の自然数)の符号が負で、かつ、差分値D[i]のうちの差分値D[j+1]の符号が正のとき、マグネット位置が区間T[j+1]にあると特定でき、そして、区間T[j+1]には、差分値D[j]及び差分値D[j+1]以外の差分値D[a](aは、1からN−1までのうちj及びj+1以外の1又は複数の自然数)について最大値となるマグネット位置及び最小値となるマグネット位置を含んでいないので、区間T[j+1]において、差分値D[a]は単調に変化する。そのため、差分値D[a]及び差分値D[a]に対応する液面レベル検出基準情報H[a]に基づいて液面レベルを検出することができる。 That is, the difference value D [j] of the difference value D [i] (j is a natural number of 1 from 1 to N−2) is negative and the difference value D [i] When the sign of the difference value D [j + 1] is positive, it can be specified that the magnet position is in the section T [j + 1], and the difference value D [j] and the difference value D [j + 1] are included in the section T [j + 1]. ] Is not included, and the magnet position that is the maximum value and the magnet position that is the minimum value are not included for the difference value D [a] other than] (where a is one or a plurality of natural numbers other than j and j + 1 from 1 to N−1). Therefore, the difference value D [a] changes monotonously in the section T [j + 1]. Therefore, the liquid level can be detected based on the difference level D [a] and the liquid level detection reference information H [a] corresponding to the difference value D [a].
また、差分値D[1]の符号が正のとき、区間T[1]にマグネット位置があることが特定され、区間T[1]には、差分値D[1]以外の差分値D[b](bは、2からN−1までのうちの1又は複数の自然数)について最大値となるマグネット位置及び最小値となるマグネット位置を含んでいないので、区間T[1]において、差分値D[b]は単調に変化する。そのため、差分値D[b]及び差分値D[b]に対応する液面レベル検出基準情報H[b]に基づいて液面レベルを検出することができる。 When the sign of the difference value D [1] is positive, it is specified that the magnet position is in the section T [1], and the difference value D [other than the difference value D [1] is included in the section T [1]. b] (b is one or a plurality of natural numbers from 2 to N−1), and does not include the magnet position that is the maximum value and the magnet position that is the minimum value. D [b] changes monotonously. Therefore, the liquid level can be detected based on the difference level D [b] and the liquid level detection reference information H [b] corresponding to the difference value D [b].
また、差分値D[N−1]の符号が負のとき、区間T[N]にマグネット位置があることが特定され、区間T[N]には、差分値D[N−1]以外の差分値D[c](cは、1からN−2までのうちの1又は複数の自然数)について最大値となるマグネット位置及び最小値となるマグネット位置を含んでいないので、区間T[N]において、差分値D[c]は単調に変化する。そのため、差分値D[c]及び差分値D[c]に対応する液面レベル検出基準情報H[c]に基づいて液面レベルを検出することができる。 Further, when the sign of the difference value D [N−1] is negative, it is specified that the section T [N] has a magnet position, and the section T [N] has a value other than the difference value D [N−1]. Since the difference value D [c] (c is one or a plurality of natural numbers from 1 to N−2) does not include the maximum magnet position and the minimum magnet position, the section T [N] The difference value D [c] changes monotonously. Therefore, the liquid level can be detected based on the difference level D [c] and the liquid level detection reference information H [c] corresponding to the difference value D [c].
したがって、複数の磁気強度センサのみ用いて液面レベルを検出することができるので、1種類のセンサのみ用いた簡易な構成とすることができる。 Therefore, since the liquid level can be detected using only a plurality of magnetic intensity sensors, a simple configuration using only one type of sensor can be achieved.
請求項2に記載された発明によれば、磁気強度センサS[1]が、マグネットの位置がその移動可能範囲における一方の端であるときに出力値が最大となるように配置され、磁気強度センサS[N]が、マグネットの位置がその移動可能範囲における他方の端であるときに出力値が最大となるように配置され、そして、(A)複数の差分値D[i]のうちの差分値D[j](jは、1からN−2までのうちの1の自然数)の符号が負で、かつ、差分値D[i]のうちの差分値D[j+1]の符号が正のとき、差分値D[j]及び差分値D[j+1]以外の差分値D[a](aは、1からN−1までのうちj及びj+1以外の1又は複数の自然数)及び差分値D[a]に対応する液面レベル検出基準情報H[a]に基づいて液面レベルを検出し、(B’)差分値D[1]の符号が正のとき、差分値D[1]及び差分値D[1]に対応する液面レベル検出基準情報H[1]に基づいて液面レベルを検出し、(C’)差分値D[N−1]の符号が負のとき、差分値D[N−1]及び差分値D[N−1]に対応する液面レベル検出基準情報H[N−1]に基づいて液面レベルを検出する。 According to the second aspect of the present invention, the magnetic intensity sensor S [1] is arranged so that the output value becomes maximum when the position of the magnet is one end in the movable range, and the magnetic intensity sensor S [1] The sensor S [N] is arranged so that the output value becomes maximum when the position of the magnet is the other end in the movable range, and (A) of the plurality of difference values D [i] The sign of the difference value D [j] (j is a natural number of 1 from 1 to N−2) is negative, and the sign of the difference value D [j + 1] of the difference values D [i] is positive. , Difference value D [a] other than difference value D [j] and difference value D [j + 1] (a is one or more natural numbers other than j and j + 1 from 1 to N−1) and difference value The liquid level is detected based on the liquid level detection reference information H [a] corresponding to D [a]. (B ′) When the sign of the difference value D [1] is positive, the liquid level is determined based on the difference level D [1] and the liquid level detection reference information H [1] corresponding to the difference value D [1]. (C ′) When the sign of the difference value D [N−1] is negative, the liquid level detection reference information H [corresponding to the difference value D [N−1] and the difference value D [N−1]. N-1] to detect the liquid level.
請求項2に記載された発明では、上述した請求項1に記載された発明と同様の作用により、複数の磁気強度センサのみ用いて液面レベルを検出することができるので、1種類のセンサのみ用いた簡易な構成とすることができる。また、ゼロクロス位置P[1]より磁気強度センサS[1]側の区間T[1]において、差分値D[1]は当該ゼロクロス位置P[1]から離れるにしたがって最大値に向かって単調に変化し、また、ゼロクロス位置P[N−1]より磁気強度センサS[N]側の区間T[N]において、差分値D[N−1]は当該ゼロクロス位置P[N−1]から離れるにしたがって最小値に向かって単調に変化するので、これら区間において、差分値D[1]又は差分値D[N−1]に対して一意にマグネット位置(即ち、液面レベル)が定まり、差分値D[1]又は差分値D[N−1]に基づいて液面レベルを検出することができる。さらに、これら区間T[1]又はT[N]においては、差分値D[1]又は差分値D[N−1]は、0から最大値又は0から最小値に向かって単調に変化するので、変化の傾きが大きく、そのため、検出精度を高めることができる。
In the invention described in
請求項3に記載された発明によれば、(A1)複数の差分値D[i]から選択された1の差分値D[M](Mは、1からN−1までの1の自然数)から符号の判定を始めて、(A2)差分値D[M]の符号が正と判定された場合に、差分値D[1]に向けて順次符号の判定を進め、差分値D[j+1](jは、M−1から1までのうちの1の自然数)において最後に符号が正と判定されかつ差分値D[j]において最初に符号が負と判定されたとき、差分値D[a](aは、1からN−1までのうちのj及びj+1以外の1又は複数の自然数)及び差分値D[a]に対応する液面レベル検出基準情報H[a]に基づいて液面レベルを検出し、(A3)差分値D[M]の符号が負と判定された場合に、差分値D[N−1]に向けて順次符号の判定を進め、差分値D[j](jは、MからN−2までのうちの1の自然数)において最後に符号が負と判定されかつ差分値D[j+1]において最初に符号が正と判定されたとき、差分値D[a]及び差分値D[a]に対応する液面レベル検出基準情報H[a]に基づいて液面レベルを検出する。
According to the invention described in
つまり、複数の差分値D[i]から選択された1の差分値D[M]の符号を判定して、その符号が正の場合は、差分値D[M]から差分値D[N−1]までの符号が正であるため、差分値D[N−1]と反対の差分値D[1]に向けて符号の判定を行い、または、その符号が負の場合は、差分値D[M]から差分値D[1]までの符号が負であるため、差分値D[1]と反対の差分値D[N−1]に向けて符号の判定を行うようにすることで、複数の差分値D[i]の全てについて符号を判定することなく、一部の差分値Dについてのみ符号を判定することによりマグネット位置がある区間を特定することができ、そのため、液面レベルの検出をより速く行うことができる。 That is, the sign of one difference value D [M] selected from a plurality of difference values D [i] is determined, and if the sign is positive, the difference value D [N− Since the sign up to 1] is positive, the sign is judged toward the difference value D [1] opposite to the difference value D [N−1], or if the sign is negative, the difference value D Since the sign from [M] to the difference value D [1] is negative, by determining the sign toward the difference value D [N−1] opposite to the difference value D [1], By determining the sign only for a part of the difference values D without determining the sign for all of the plurality of difference values D [i], the section where the magnet position is located can be specified. Detection can be performed faster.
請求項4に記載された発明によれば、磁気強度センサS[1]〜S[N]の個数Nが偶数の場合、複数の差分値D[i]のうち符号の判定を開始する差分値D[M]の符号判定開始番号MとしてN/2が予め選択され、又は、個数Nが奇数の場合、符号判定開始番号Mとして(N−1)/2若しくは(N+1)/2が予め選択されている。これにより、複数の差分値D[i]のうち中央又はほぼ中央の差分値D[M]から符号の判定を開始するので、例えば、複数の差分値D[i]のうち両端に位置する差分値D[1]又は差分値D[N−1]から符号の判定を開始した場合に比べて、符号判定の最大回数を少なくすることができ、そのため、液面レベルの検出をより速く行うことができる。 According to the fourth aspect of the present invention, when the number N of the magnetic intensity sensors S [1] to S [N] is an even number, the difference value for starting the code determination among the plurality of difference values D [i]. N / 2 is selected in advance as the code determination start number M of D [M], or (N−1) / 2 or (N + 1) / 2 is selected in advance as the code determination start number M when the number N is an odd number. Has been. Accordingly, since the determination of the sign is started from the difference value D [M] at the center or substantially the center among the plurality of difference values D [i], for example, the difference located at both ends of the plurality of difference values D [i]. The maximum number of code determinations can be reduced as compared with the case where the code determination is started from the value D [1] or the difference value D [N-1], and therefore the liquid level is detected faster. Can do.
請求項5に記載された発明によれば、複数の差分値D[i]のうち最後に符号を判定した差分値D[k](kは、1からN−1までのうちの1の自然数)から次回検出における符号の判定を開始するように、差分値D[i]のうち符号の判定を開始する差分値D[M]の符号判定開始番号Mとしてとしてkを選択する。これにより、今回の液面レベルの検出において最後に符号の判定がされた差分値D[k]について次回の液面レベルの検出において符号の判定を開始するので、この差分値D[k]により規定されるゼロクロス位置P[k]付近にマグネット位置がある可能性が高く、そのため、この差分値D[k]から符号の判定を開始することにより、液面レベルの検出をより速く行うことができる。 According to the fifth aspect of the present invention, the difference value D [k] (k is one natural number from 1 to N−1) of which the sign is finally determined among the plurality of difference values D [i]. ) Is selected as the code determination start number M of the difference value D [M] for starting the code determination from the difference value D [i] so that the code determination in the next detection is started. Thereby, since the determination of the sign is started in the next detection of the liquid level for the difference value D [k] in which the determination of the sign is finally performed in the detection of the current liquid level, the difference value D [k] is used. There is a high possibility that there is a magnet position in the vicinity of the defined zero-cross position P [k]. Therefore, by detecting the sign from the difference value D [k], the liquid level can be detected more quickly. it can.
請求項6に記載された発明によれば、差分値D[a]が、差分値D[j−1]及び差分値D[j+2]のうちの少なくとも一方とされている。マグネット位置が、ある区間T[h](hは、1からNのうちの1の自然数)にあると特定されたとき、この区間T[h]には差分値D[j]の最小値があり、この区間T[h]のひとつ隣の区間T[h−1](但し、h≧2)には差分値D[j−1]の最小値があり、また、この区間T[h]には、差分値D[j+1]の最大値があり、この区間T[h]のひとつ隣の区間T[h+1](但し、h≦N−1)には差分値D[j+2]の最大値がある。そのため、差分値D[j−1]及び差分値D[j+2]のうち少なくとも一方を用いて液面レベルを検出することで、マグネット位置があると特定された区間T[h]において最も変化の傾きが大きい差分値Dを用いて液面レベルを検出することができ、検出精度を高めることができる。 According to the sixth aspect of the present invention, the difference value D [a] is at least one of the difference value D [j−1] and the difference value D [j + 2]. When the magnet position is specified to be in a certain section T [h] (h is a natural number from 1 to N), the minimum value of the difference value D [j] is present in this section T [h]. There is a minimum value of the difference value D [j−1] in a section T [h−1] (where h ≧ 2) immediately adjacent to the section T [h], and this section T [h] Has the maximum value of the difference value D [j + 1], and the maximum value of the difference value D [j + 2] is present in the section T [h + 1] (where h ≦ N−1) immediately adjacent to the section T [h]. There is. Therefore, by detecting the liquid level using at least one of the difference value D [j−1] and the difference value D [j + 2], the change most occurs in the section T [h] specified as having a magnet position. The liquid level can be detected using the difference value D having a large inclination, and the detection accuracy can be increased.
(第1の実施形態)
以下に、本発明の第1の実施形態の液面レベル検出装置を、図5〜図8を参照して説明する。
(First embodiment)
Below, the liquid level detection apparatus of the 1st Embodiment of this invention is demonstrated with reference to FIGS.
図5は、本発明の第1の実施形態の液面レベル検出装置の概略構成図である。図6は、図5の液面レベル検出装置の構成部材の接続関係を模式的に示した図である。図7は、図5の液面レベル検出装置におけるマグネットの位置と複数の差分値D[1]〜D[3]及び液面レベル検出基準情報H[1]〜H[3]との関係を示すグラフの一例である。図8は、図6の制御部が備えるマイクロコンピュータのCPUが実行する本発明に係る処理(液面レベル検出処理1)の一例を示すフローチャートである。 FIG. 5 is a schematic configuration diagram of the liquid level detecting device according to the first embodiment of the present invention. FIG. 6 is a diagram schematically showing the connection relationship of the constituent members of the liquid level detecting device of FIG. FIG. 7 shows the relationship between the position of the magnet, the plurality of difference values D [1] to D [3], and the liquid level detection reference information H [1] to H [3] in the liquid level detection apparatus of FIG. It is an example of the graph to show. FIG. 8 is a flowchart showing an example of the process (liquid level detection process 1) according to the present invention which is executed by the CPU of the microcomputer included in the control unit of FIG.
図5に示すように、本実施形態の液面レベル検出装置(図中、符号1で示す)は、マグネット3と、ロッド4と、複数の磁気強度センサS[1]〜S[4]と、制御部10(図6)と、を有している。液面レベル検出装置1は、タンク2内に配設されている。
As shown in FIG. 5, the liquid level detection device of the present embodiment (indicated by
マグネット3は、例えば、内縁3aに後述のロッド4が挿通可能な円環状に形成されている。マグネット3は、タンク2内に貯蔵された液体の液面に浮かぶように、例えば、浮力の大きいフロート部材に磁石を取り付けたものや、磁力を生じる材料を含む合成樹脂を発泡体状にしたものなどから構成されている。
The
ロッド4は、例えば、長尺の円柱状に形成されている。ロッド4は、軸方向が上下方向(鉛直方向)と平行になるようにタンク2内に配置されている。
The
ロッド4の下端部には、フランジ状のストッパ4aが設けられている。ストッパ4aは、円板状で、マグネット3の内縁3aの径よりも直径の大きい円板状に形成されている。ストッパ4aによって、マグネット3が、ロッド4から抜け落ちることを防止している。
A flange-
ロッド4の上端部には、取付フランジ4bが設けられている。取付フランジ4bは、例えば、液面レベル検出装置1をタンク2内に挿入するためにタンク2天井に設けられた開口2aの径より直径の大きい円板状に形成されている。取付フランジ4bが、タンク2の開口2aを塞ぐようにタンク2に固定して取り付けられることにより、液面レベル検出装置1がタンク2に装着される。
A mounting flange 4 b is provided at the upper end of the
ロッド4は、マグネット3の内縁3aに挿通される。これにより、マグネット3は、タンク2に貯蔵された液体の液面に浮かべられた状態において、ロッド4によって移動がガイドされて、液面レベルに応じて移動可能範囲としてのストッパ4aと取付フランジ4bとの間を上下方向に移動される。
The
複数の磁気強度センサS[1]〜S[4]は、例えば、ホール素子や磁気抵抗効果素子などで構成されており、検知した磁気の強さ(強度)に応じた電圧信号を出力する。複数の磁気強度センサS[1]〜S[4]は、同一の磁気強度に対して同一の電圧信号を出力する。複数の磁気強度センサS[1]〜S[4]は、それぞれがロッド4に埋め込まれており、上方から下方に向けて互いに間隔をあけて順次並ぶように配置されている。複数の磁気強度センサS[1]〜S[4]は、等間隔で配列されていることが好ましい。
The plurality of magnetic intensity sensors S [1] to S [4] are composed of, for example, a Hall element or a magnetoresistive effect element, and output a voltage signal corresponding to the detected magnetic strength (intensity). The plurality of magnetic intensity sensors S [1] to S [4] output the same voltage signal for the same magnetic intensity. Each of the plurality of magnetic intensity sensors S [1] to S [4] is embedded in the
磁気強度センサS[1]は、取付フランジ4b直下に配置されている。これにより、磁気強度センサS[1]は、マグネット3の位置がその移動可能範囲における上端であるときに出力値が最大となる。また、磁気強度センサS[4]は、ストッパ4a直上に配置されている。これにより、磁気強度センサS[4]は、マグネット3の位置がその移動可能範囲における下端であるときに出力値が最大となる。
The magnetic intensity sensor S [1] is disposed immediately below the mounting flange 4b. As a result, the output value of the magnetic intensity sensor S [1] becomes maximum when the position of the
制御部10は、図6に示すように、差分値算出部11と、マイクロコンピュータ20(以下、「μCOM20」という)と、を備えている。
As shown in FIG. 6, the
差分値算出部11は、切替スイッチ12と、減算器13と、を備えており、互いに隣接して配置された磁気強度センサS[1]〜[4]の出力値の差分値D[i](iは、1から3までの自然数)を演算する。
The difference
切替スイッチ12は、2回路3接点のスイッチ(開閉器)であって、2つの回路に対して、それぞれの回路に対応して設けられた3つの接点を同時に切り換えて接続する。切替スイッチ12の入力端子I11、I12、I13には、磁気強度センサS[1]、S[2]、S[3]が接続されている。入力端子I11、I12、I13は、スイッチ切替により第1回路としての出力端子O1に接続される。切替スイッチ12の入力端子I21、I22、I23には、磁気強度センサS[2]、S[3]、S[4]が接続されている。入力端子I21、I22、I23は、スイッチ切替により第2回路としての出力端子O2に接続される。これにより、切替スイッチ12は、(1)出力端子O1から磁気強度センサS[1]の電圧信号が出力されているとき、出力端子O2から磁気強度センサS[2]の電圧信号が出力され、(2)出力端子O1から磁気強度センサS[2]の電圧信号が出力されているとき、出力端子O2から磁気強度センサS[3]の電圧信号が出力され、(3)出力端子O1から磁気強度センサS[3]の電圧信号が出力されているとき、出力端子O2から磁気強度センサS[4]の電圧信号が出力される。切替スイッチ12の制御端子Icには、μCOM20が接続されており、μCOM20からの制御信号に応じてスイッチが切り換えられる。
The change-
減算器13は、例えば、オペアンプ等で構成されており、一方の入力端子に入力された電圧信号から他方の入力端子に入力された電圧信号を差し引いた差分電圧信号を出力する。減算器13の一方の入力端子には、切替スイッチ12の出力端子O1が接続され、他方の入力端子には、切替スイッチ12の出力端子O2が接続されており、出力端子O1の電圧信号から出力端子O2の電圧信号を差し引いた差分電圧信号(即ち、差分値)を出力端子から出力する。
The
差分値算出部11では、切替スイッチ12の切替スイッチが切り替えられる毎に、(1)磁気強度センサS[1]の電圧信号から磁気強度センサS[2]の電圧信号を差し引いた差分電圧信号(即ち、差分値D[1])、(2)磁気強度センサS[2]の電圧信号から磁気強度センサS[3]の電圧信号を差し引いた差分電圧信号(即ち、差分値D[1])、(3)磁気強度センサS[3]の電圧信号から磁気強度センサS[4]の電圧信号を差し引いた差分電圧信号(即ち、差分値D[3])、を出力する。
In the difference
μCOM20は、CPU、ROM、RAMなどを内蔵して構成されており、液面レベル検出装置1全体の制御を司る。ROMには、CPUを液面レベル検出手段などの各種手段として機能させるための制御プログラムが予め記憶されており、CPUは、この制御プログラムを実行することにより各種手段として機能する。また、μCOM20のROMには、各種パラメータが記憶されている。
The
μCOM20は、出力ポートPO、アナログ−デジタル変換入力ポートADI、及び、外部機器との通信のための通信ポート(図示なし)を備えた外部インタフェース部をさらに内蔵している。出力ポートPOには、切替スイッチ12の制御端子Icが接続されており、切替スイッチ12は、出力ポートPOから出力された制御信号に基づいてスイッチ切替を行う。また、アナログ−デジタル変換入力ポートADIには、差分値算出部11(具体的には、減算器13の出力)が接続されており、差分値算出部11が出力した差分電圧信号が入力されると量子化されて当該信号に応じた数値、即ち、隣接して配置された磁気強度センサの出力値の差分値D[1]〜D[3]を示す数値がCPUに渡される。図示しない通信ポートには、図示しないワイヤハーネスを介して、他の電子制御装置等が接続されており、液面レベル検出結果が送信される。
The
μCOM20のROMには、隣接して配置された磁気強度センサの電圧信号(出力値)の差分値D[1]〜D[3]とマグネット3の位置(即ち、タンク2に貯蔵された液体の液面レベル)との関係を示す液面レベル検出基準情報H[1]〜H[3]が予め記憶されている。図7に示すように、マグネット3の位置は、各差分値D[1]〜D[3]が0となるゼロクロス位置P[1]〜P[3]で4つの区間T[1]〜T[4]に区切ることができる。そして、本実施形態では、図7に太実線で示される、(1)区間T[3]における差分値D[1]とマグネット3の位置との関係を示す液面レベル検出基準情報H[1]、(2)区間T[1]及びT[4]における差分値D[2]とマグネット3の位置との関係を示す液面レベル検出基準情報H[2]、(3)区間T[2]における差分値D[3]とマグネット3の位置との関係を示す液面レベル検出基準情報H[3]、をμCOM20のROMに記憶している。各液面レベル検出基準情報H[1]〜H[3]は、例えば、変換テーブルや、計算式の形で記憶されている。μCOM20のROMは、情報記憶手段に相当する。
In the ROM of the
また、本実施形態において、液面レベル検出基準情報H[1]〜H[3]は、必要な区間Tについてのみ記憶されているものであったが、これに限定されるものではなく、液面レベル検出基準情報H[i]は、差分値D[i](iは、1からN−1までの複数の自然数)について一意にマグネット3の位置が定まる区間(例えば、ゼロクロス位置P[i]を含む最大値と最小値との間の区間以外の区間など)について記憶されていればよい。また、液面レベル検出基準情報H[i]の全て(H[1]〜H[N−1])について記憶している必要はなく、液面レベルの検出処理において用いることのない当該情報は記憶していなくてもよい。
In the present embodiment, the liquid level detection reference information H [1] to H [3] is stored only for the necessary section T. However, the present invention is not limited to this. The surface level detection reference information H [i] is a section in which the position of the
次に、上述したμCOM20のCPUが実行する本発明に係る処理(液面レベル検出処理1)の一例を、図8に示すフローチャートを参照して以下に説明する。
Next, an example of the process according to the present invention (liquid level detection process 1) executed by the CPU of the above-described
μCOM20のCPUは、液面レベル検出処理1を実行するために、周期的(例えば、1分毎)に処理をステップS110に進める。
The CPU of
ステップS110では、差分値D[1]〜D[3]を取得する。具体的には、CPUは、出力ポートPOから制御信号を出力して切替スイッチ12を順次切り換えることにより、切替スイッチ12の出力端子O1及び出力端子O2から、(1)磁気強度センサS[1]の電圧信号及び磁気強度センサS[2]の電圧信号、(2)磁気強度センサS[2]の電圧信号及び磁気強度センサS[3]の電圧信号、(3)磁気強度センサS[3]の電圧信号及び磁気強度センサS[4]の電圧信号、を順次出力させる。これにより、減算器13において演算されたこれら電圧信号の差分電圧信号がアナログ−デジタル変換入力ポートADIに入力されて、各差分電圧信号に応じた差分値D[1]〜D[3]を取得する。そして、ステップS120に進む。
In step S110, difference values D [1] to D [3] are acquired. Specifically, the CPU outputs a control signal from the output port PO and sequentially switches the
ステップS120において、CPUは、差分値D[2]の符号が正か否かを判定し、符号が正であれば、ステップS130に進み(S120でY)、符号が負であれば、ステップS140に進む(S120でN)。本実施形態において、差分値D[2]≧0のとき、符号が正と判定し、差分値D[2]<0のとき、符号が負と判定する。以下の各ステップにおける符号判定も同様である。または、差分値D[2]>0のとき、符号が正と判定し、差分値D[2]≦0のとき、符号が負と判定するようにしてもよい。 In step S120, the CPU determines whether or not the sign of the difference value D [2] is positive. If the sign is positive, the process proceeds to step S130 (Y in S120), and if the sign is negative, step S140. (N in S120). In the present embodiment, when the difference value D [2] ≧ 0, the sign is determined to be positive, and when the difference value D [2] <0, the sign is determined to be negative. The same applies to the sign determination in the following steps. Alternatively, the sign may be determined to be positive when the difference value D [2]> 0, and the sign may be determined to be negative when the difference value D [2] ≦ 0.
ステップS130において、CPUは、差分値D[1]の符号が正か否かを判定し、符号が正であれば、マグネット3の位置が区間T[1]にあるものとして、ステップS150に進み(S130でY)、符号が負であれば、マグネット3の位置が区間T[2]にあるものとして、ステップS160に進む(S130でN)。
In step S130, the CPU determines whether or not the sign of the difference value D [1] is positive. If the sign is positive, it is determined that the position of the
ステップS140において、CPUは、差分値D[3]の符号が正か否かを判定し、符号が正であれば、マグネット3の位置が区間T[3]にあるものとして、ステップS170に進み(S140でY)、符号が負であれば、マグネット3の位置が区間T[4]にあるものとして、ステップS180に進む(S140でN)。
In step S140, the CPU determines whether or not the sign of the difference value D [3] is positive. If the sign is positive, it is determined that the position of the
ステップS150において、CPUは、差分値D[2]を、液面レベル検出基準情報H[2]に当てはめることにより、マグネット3の位置、即ち、タンク2に貯蔵された液体の液面レベルを検出する。そして、本フローチャートの処理を終了する。
In step S150, the CPU detects the position of the
ステップS160において、CPUは、差分値D[3]を、液面レベル検出基準情報H[3]に当てはめることにより、マグネット3の位置、即ち、タンク2に貯蔵された液体の液面レベルを検出する。そして、本フローチャートの処理を終了する。
In Step S160, the CPU detects the position of the
ステップS170において、CPUは、差分値D[1]を、液面レベル検出基準情報H[1]に当てはめることにより、マグネット3の位置、即ち、タンク2に貯蔵された液体の液面レベルを検出する。そして、本フローチャートの処理を終了する。
In step S170, the CPU detects the position of the
ステップS180において、CPUは、差分値D[2]を、液面レベル検出基準情報H[2]に当てはめることにより、マグネット3の位置、即ち、タンク2に貯蔵された液体の液面レベルを検出する。そして、本フローチャートの処理を終了する。
In step S180, the CPU detects the position of the
そして、本フローチャートの処理を終了したのち、CPUは、通信ポートを通じて他の電子制御装置等に液面レベルの検出結果を送信する。そして、他の電子制御装置等において液面レベルの表示や記録等が行われる。 Then, after completing the processing of this flowchart, the CPU transmits the detection result of the liquid level to another electronic control device or the like through the communication port. Then, display or recording of the liquid level is performed in another electronic control device or the like.
次に、上述した液面レベル検出装置1の制御部10における動作の一例について説明する。
Next, an example of the operation in the
液面レベル検出装置1の制御部10は、周期的に互いに隣接して配置された磁気強度センサの差分値D[1]〜D[3]を取得する(S110)。
The
そして、差分値D[2]の符号が正であり(S120でY)、かつ、差分値D[1]の符号が正であると判定されたとき(S130でY)、差分値D[1]の符号が正であるので、マグネット3の位置が、区間T[1]にあることが特定され、この区間T[1]において単調に変化する差分値D[2]およびこの差分値D[2]に対応する液面レベル検出基準情報H[2]に基づいて、マグネット3の位置に応じた液面レベルを検出する(S150)。
When it is determined that the sign of the difference value D [2] is positive (Y in S120) and the sign of the difference value D [1] is positive (Y in S130), the difference value D [1 ] Is positive, it is specified that the position of the
または、差分値D[2]の符号が正であり(S120でY)、かつ、差分値D[1]の符号が負であると判定されたとき(S130でN)、差分値D[1]の符号が負で、差分値D[2]の符号が正であるので、マグネット3の位置が、区間T[2]にあることが特定され、この区間T[2]において単調に変化する差分値D[3]及びこの差分値D[3]に対応する液面レベル検出基準情報H[3]に基づいて、マグネット3の位置に応じた液面レベルを検出する(S160)。
Alternatively, when it is determined that the sign of the difference value D [2] is positive (Y in S120) and the sign of the difference value D [1] is negative (N in S130), the difference value D [1 ] Is negative and the sign of the difference value D [2] is positive, it is specified that the position of the
または、差分値D[2]の符号が負であり(S120でN)、かつ、差分値D[3]の符号が正であると判定されたとき(S140でY)、D[2]の符号が負で、差分値D[3]の符号が正であるので、マグネット3の位置が、区間T[3]にあることが特定され、この区間T[3]において単調に変化する差分値D[1]及びこの差分値D[1]に対応する液面レベル検出基準情報H[1]に基づいて、マグネット3の位置に応じた液面レベルを検出する(S170)。
Alternatively, when it is determined that the sign of the difference value D [2] is negative (N in S120) and the sign of the difference value D [3] is positive (Y in S140), D [2] Since the sign is negative and the sign of the difference value D [3] is positive, it is specified that the position of the
または、差分値D[2]の符号が負であり(S120でN)、かつ、差分値D[3]の符号が負であると判定されたとき(S140でN)、差分値D[3]の符号が負であるので、マグネット3の位置が、区間T[4]にあることが特定され、この区間T[4]において単調に変化する差分値D[2]及びこの差分値D[2]に対応する液面レベル検出基準情報H[2]に基づいて、マグネット3の位置に応じた液面レベルを検出する(S180)。
Alternatively, when it is determined that the sign of the difference value D [2] is negative (N in S120) and the sign of the difference value D [3] is negative (N in S140), the difference value D [3 ] Is negative, it is specified that the position of the
本実施形態の液面レベル検出装置1は、タンク2に貯蔵された液体の液面レベルに応じて上下方向に移動されるマグネット3と、上下方向に互いに間隔をあけて順次並べて配置され、マグネット3との距離に応じた値を出力する複数の磁気強度センサS[1]〜S[4]と、磁気強度センサS[i](iは、1から3までの複数の自然数)の出力値から磁気強度センサS[i+1]の出力値を差し引いた差分値D[i]を算出する差分値算出部11と、差分値D[i]と液面レベルとの関係を示す液面レベル検出基準情報H[i]が記憶されたμCOM20のROMからなる情報記憶手段と、μCOM20のCPUからなる液面レベル検出手段と、を有し、液面レベル検出手段が、(A)差分値D[1]〜[3]のうちの差分値D[j](jは、1又は2)の符号が負で、かつ、差分値D[1]〜[3]のうちの差分値D[j+1]の符号が正のとき、差分値D[j]及び差分値D[j+1]以外の差分値D[a](aは、1から3までのうちj及びj+1以外の1の自然数)及び差分値D[a]に対応する液面レベル検出基準情報H[a]に基づいて液面レベルを検出し、(B)差分値D[1]の符号が正のとき、差分値D[2]及び差分値D[2]に対応する液面レベル検出基準情報H[2]に基づいて液面レベルを検出し、(C)差分値D[3]の符号が負のとき、差分値D[2]及び差分値D[2]に対応する液面レベル検出基準情報H[2]に基づいて液面レベルを検出するように構成されている。
The liquid
また、液面レベル検出手段が、(A1)差分値D[1]〜D[3]から予め選択された1の差分値D[2]から符号の判定を始めて、(A2)差分値D[2]の符号が正と判定された場合に、差分値D[1]に向けて順次符号の判定を進め、差分値D[2]において最後に符号が正と判定されかつ差分値D[1]において最初に符号が負と判定されたとき、差分値D[3]及び差分値D[3]に対応する液面レベル検出基準情報H[3]に基づいて液面レベルを検出し、(A3)差分値D[2]の符号が負と判定された場合に、差分値D[3]に向けて順次符号の判定を進め、差分値D[2]において最後に符号が負と判定されかつ差分値D[3]において最初に符号が正と判定されたとき、差分値D[1]及び差分値D[1]に対応する液面レベル検出基準情報H[1]に基づいて液面レベルを検出するように構成されている。 Further, the liquid level detecting means starts the determination of the sign from one difference value D [2] preselected from (A1) difference values D [1] to D [3], and (A2) difference value D [ 2] is determined to be positive, the determination of the sign is sequentially advanced toward the difference value D [1], and the difference value D [2] is finally determined to be positive and the difference value D [1]. ], When the sign is first determined to be negative, the liquid level is detected based on the difference level D [3] and the liquid level detection reference information H [3] corresponding to the difference value D [3]. A3) When the sign of the difference value D [2] is determined to be negative, the sign determination is sequentially advanced toward the difference value D [3], and the sign is finally determined to be negative in the difference value D [2]. And when the sign is first determined to be positive in the difference value D [3], the liquid corresponding to the difference value D [1] and the difference value D [1] Is configured to detect the liquid level based on the level detection reference information H [1].
また、磁気強度センサS[1]〜S[4]の個数Nが4個で偶数であり、差分値D[1]〜D[3]のうち符号の判定を開始する差分値D[M]の符号判定開始番号MとしてN/2=2(つまり、差分値D[2])が予め選択されている。 Further, the number N of the magnetic intensity sensors S [1] to S [4] is four, which is an even number, and the difference value D [M] for starting the sign determination among the difference values D [1] to D [3]. N / 2 = 2 (that is, the difference value D [2]) is selected in advance as the code determination start number M.
また、マグネット3の位置が、区間T[1]又は区間T[4]にあると特定されたときに、差分値D[2]及びこの差分値D[2]に対応する液面レベル検出基準情報H[2]に基づいて液面レベルを検出する。
Further, when the position of the
以上より、本実施形態によれば、複数の磁気強度センサS[1]〜S[4]のみ用いて液面レベルを検出することができるので、1種類の磁気強度センサのみを用いた簡易な構成とすることができる。 As described above, according to the present embodiment, since the liquid level can be detected using only the plurality of magnetic intensity sensors S [1] to S [4], it is simple to use only one type of magnetic intensity sensor. It can be configured.
また、複数の差分値D[1]〜D[3]から選択された1の差分値D[2](M=2)の符号を判定して、その符号が正の場合は、差分値D[2]から差分値D[3]までの符号が正であるため、差分値D[3]と反対の差分値D[1]に向けて符号の判定を行い、または、その符号が負の場合は、差分値D[2]から差分値D[1]までの符号が負であるため、差分値D[1]と反対の差分値D[3]に向けて符号の判定を行うようにすることで、複数の差分値D[1]〜D[3]の全てについて符号を判定することなく、一部の差分値Dについて符号を判定することによりマグネット位置がある区間を特定することができ、そのため、液面レベルの検出をより速く行うことができる。 Further, the sign of one difference value D [2] (M = 2) selected from the plurality of difference values D [1] to D [3] is determined, and if the sign is positive, the difference value D Since the sign from [2] to the difference value D [3] is positive, the sign is determined toward the difference value D [1] opposite to the difference value D [3], or the sign is negative In this case, since the sign from the difference value D [2] to the difference value D [1] is negative, the sign determination is performed toward the difference value D [3] opposite to the difference value D [1]. By doing this, it is possible to specify a section where the magnet position is present by determining the codes for some of the difference values D without determining the codes for all of the plurality of difference values D [1] to D [3]. Therefore, the liquid level can be detected more quickly.
また、磁気強度センサS[1]〜S[4]の個数Nが4個で偶数であり、複数の差分値D[1]〜D[3]のうち符号の判定を開始する差分値D[M]の符号判定開始番号Mとして4/2=2が予め選択されているので、例えば、複数の差分値Dの端(差分値D[1]又は差分値D[3])から符号の判定を開始した場合に比べて、符号判定の最大回数を少なくすることができ、そのため、液面レベルの検出をより速く行うことができる。 In addition, the number N of the magnetic intensity sensors S [1] to S [4] is four, which is an even number, and the difference value D [for starting the code determination among the plurality of difference values D [1] to D [3]. Since 4/2 = 2 is selected in advance as the code determination start number M of M], for example, the code is determined from the ends of the plurality of difference values D (difference value D [1] or difference value D [3]). The maximum number of code determinations can be reduced as compared with the case where the liquid level is started, so that the liquid level can be detected faster.
また、マグネット3の位置が、区間T[1]又は区間T[4]にあると特定されたときに、差分値D[2]及びこの差分値D[2]に対応する液面レベル検出基準情報H[2]に基づいて液面レベルを検出するので、区間T[1]のひとつ隣の区間T[2]には、差分値D[2]の最大値があり、また、区間T[4]のひとつ隣の区間T[3]には、差分値D[2]の最小値があり、そのため、区間T[1]において差分値D[2]が最も変化の傾きが大きく、また、区間T[4]において差分値D[2]が最も変化の傾きが大きく、これにより、マグネット3の位置があると特定された区間T[1]及びT[4]において最も変化の傾きが大きい差分値D[2]を用いて液面レベルを検出することができ、検出精度を高めることができる。
Further, when the position of the
上述した本実施形態では、各区間T[1]〜T[4]において、1の差分値D及びこの差分値Dに対応する液面レベル検出基準情報Hに基づいて、液面レベルを検出するものであったが、これに限定されるものではない。 In the present embodiment described above, the liquid level is detected in each section T [1] to T [4] based on the difference value D of 1 and the liquid level detection reference information H corresponding to the difference value D. Although it was a thing, it is not limited to this.
例えば、本実施形態では、区間T[1]において、差分値D[2]及びD[3]が単調に変化しているので、区間T[1]において差分値D[2]及びD[3]に対応する液面レベル検出基準情報H[2]及びH[3]を用意して、マグネット3の位置が区間T[1]にあると特定されたとき、差分値D[2]及びこの差分値D[2]に対応する液面レベル検出基準情報H[2]に基づいて、第1の予備液面レベルを検出し、差分値D[3]及びこの差分値D[3]に対応する液面レベル検出基準情報H[3]に基づいて、第2の予備液面レベルを検出し、これら第1及び第2の予備液面レベルの平均値を液面レベルとして検出する、などしてもよい。区間T[4]についても同様である。つまり、複数の差分値D及び複数の液面レベル検出基準情報Hに基づいて、液面レベルを検出してもよい。または、区間T[1]及び区間T[4]において、差分値D[2]に代えて、当該区間で単調変化する差分値D[3](区間T[1])及び差分値D[1](区間T[4])を用いて、液面レベルを検出してもよい。
For example, in the present embodiment, the difference values D [2] and D [3] monotonously change in the section T [1], and thus the difference values D [2] and D [3] in the section T [1]. ], The liquid level detection reference information H [2] and H [3] corresponding to the difference value D [2] and this are determined when the position of the
また、本実施形態では、4個の磁気強度センサS[1]〜S[4]を備えた構成であったがこれに限定されるものではなく、例えば、磁気強度センサを5個、6個など備えた構成でもよく、4個以上の複数個の磁気強度センサS[1]〜S[N](Nは、4以上の偶数)を備える構成であればよい。このような構成でも上述した液面レベル検出装置1と同様にして液面レベルを検出できる。
In the present embodiment, the configuration includes four magnetic intensity sensors S [1] to S [4]. However, the present invention is not limited to this. For example, five or six magnetic intensity sensors are provided. Etc., or a configuration including four or more magnetic intensity sensors S [1] to S [N] (N is an even number of 4 or more). Even in such a configuration, the liquid level can be detected in the same manner as the liquid
例えば、5個の磁気強度センサS[1]〜S[5]がロッド4に埋め込まれて上方から下方に向けて互いに間隔をあけて順次並ぶように配置され、差分値算出部11の切替スイッチ12が2回路4接点とされた構成についても、上記液面レベル検出装置1と同様である。図9に、5つの磁気強度センサを備えた液面レベル検出装置におけるマグネットの位置と複数の差分値D[1]〜D[4]及び液面レベル検出基準情報H[1]〜H[4]との関係を示すグラフの一例を示す。図10に、5つの磁気強度センサを備えた液面レベル検出装置の制御部が備えるマイクロコンピュータのCPUが実行する本発明に係る処理(液面レベル検出処理1a)の一例を示すフローチャートを示す。
For example, five magnetic intensity sensors S [1] to S [5] are embedded in the
または、例えば、6個の磁気強度センサS[1]〜S[6]がロッド4に埋め込まれて上方から下方に向けて互いに間隔をあけて順次並ぶように配置され、差分値算出部11の切替スイッチ12が2回路5接点とされた構成についても、上記液面レベル検出装置1と同様である。図11に、6つの磁気強度センサを備えた液面レベル検出装置におけるマグネットの位置と複数の差分値D[1]〜D[5]及び液面レベル検出基準情報H[1]〜H[5]との関係を示すグラフの一例を示し、図12に、6つの磁気強度センサを備えた液面レベル検出装置の制御部が備えるマイクロコンピュータのCPUが実行する本発明に係る処理(液面レベル検出処理1b)の一例を示すフローチャートを示す。
Alternatively, for example, six magnetic intensity sensors S [1] to S [6] are embedded in the
(第2の実施形態)
以下に、本発明の第2の実施形態の液面レベル検出装置を、図13、図14を参照して説明する。
(Second Embodiment)
Below, the liquid level detection apparatus of the 2nd Embodiment of this invention is demonstrated with reference to FIG. 13, FIG.
図13は、本発明の第2の実施形態の液面レベル検出装置におけるマグネットの位置と複数の差分値D[1]〜D[3]及び液面レベル検出基準情報H[1]、H[3]との関係を示すグラフの一例である。図14は、第2の実施形態の液面レベル検出装置の制御部が備えるマイクロコンピュータのCPUが実行する本発明に係る処理(液面レベル検出処理2)の一例を示すフローチャートである。 FIG. 13 shows the position of a magnet, a plurality of difference values D [1] to D [3] and liquid level detection reference information H [1], H [in the liquid level detection device of the second embodiment of the present invention. 3] is an example of a graph showing a relationship with [3]. FIG. 14 is a flowchart illustrating an example of a process (liquid level detection process 2) according to the present invention which is executed by the CPU of the microcomputer provided in the control unit of the liquid level detection apparatus of the second embodiment.
本実施形態の液面レベル検出装置1Aは、上述した第1の実施形態と同一のハードウエア構成を有し、制御部10において、液面レベル検出処理1に代えて、図14に示す液面レベル検出処理2を実行することのみ異なるものである。そのため、第1の実施形態と同一の構成部材については、同一の符号を付して説明を省略する。
The liquid level detection apparatus 1A of the present embodiment has the same hardware configuration as that of the first embodiment described above, and the liquid level shown in FIG. Only the execution of the
μCOM20のROMには、隣接して配置された磁気強度センサの電圧信号(出力値)の差分値D[1]〜D[3]とマグネット3の位置(即ち、タンク2に貯蔵された液体の液面レベル)との関係を示す液面レベル検出基準情報H[1]、H[3]が予め記憶されている。図13に示すように、マグネット3の位置は、各差分値D[1]〜D[3]が0となるゼロクロス位置P[1]〜P[3]で4つの区間T[1]〜T[4]に区切ることができる。そして、本実施形態では、図13に太実線で示される、(1)区間T[1]及び区間T[3]における差分値D[1]とマグネット3の位置との関係を示す液面レベル検出基準情報H[1]、(2)区間T[2]及びT[4]における差分値D[3]とマグネット3の位置との関係を示す液面レベル検出基準情報H[3]、をμCOM20のROMに記憶している。各液面レベル検出基準情報H[1]、H[3]は、例えば、変換テーブルや、計算式の形で記憶されている。μCOM20のROMは、情報記憶手段に相当する。
In the ROM of the
本実施形態において、磁気強度センサS[1]は、取付フランジ4b直下に配置されているので、磁気強度センサS[1]は、マグネット3の位置がその移動可能範囲における上端であるときに出力値が最大となる。これにより、区間T[1]では、マグネット3の位置が、移動可能範囲における上端からゼロクロス位置P[1]に移動するにしたがって、差分値D[1]が単調に変化(単調減少)する。
In the present embodiment, since the magnetic intensity sensor S [1] is disposed immediately below the mounting flange 4b, the magnetic intensity sensor S [1] is output when the position of the
また、磁気強度センサS[4]は、ストッパ4a直上に配置されているので、磁気強度センサS[4]は、マグネット3の位置がその移動可能範囲における下端であるときに出力値が最大となる。これにより、区間T[4]では、マグネット3の位置が、ゼロクロス位置P[3]から移動可能範囲における下端に移動するにしたがって、差分値D[3]が単調に変化(単調減少)する。
Further, since the magnetic strength sensor S [4] is disposed immediately above the
このことから、本実施形態では、区間T[1]及び区間T[4]において、それぞれの区間で単調に変化する差分値D[1]及び液面レベル検出基準情報H[1]、並びに、差分値D[3]及び液面レベル検出基準情報H[3]を用いて液面レベルを検出するようにしている。 Therefore, in the present embodiment, in the section T [1] and the section T [4], the difference value D [1] and the liquid level detection reference information H [1] that change monotonously in the sections, and The liquid level is detected using the difference value D [3] and the liquid level detection reference information H [3].
また、本実施形態において、液面レベル検出基準情報H[1]、H[3]は、必要な区間Tについてのみ記憶されているものであったが、これに限定されるものではなく、液面レベル検出基準情報H[i]は、差分値D[i](iは、1からN−1までの複数の自然数)について一意にマグネット3の位置が定まる区間(例えば、ゼロクロス位置P[i]を含む最大値と最小値との間の区間以外の区間など)について記憶されていればよい。
In the present embodiment, the liquid level detection reference information H [1] and H [3] are stored only for the necessary section T, but the present invention is not limited to this. The surface level detection reference information H [i] is a section in which the position of the
次に、制御部10が備えるμCOM20のCPUが実行する本発明に係る処理(液面レベル検出処理2)の一例を、図14に示すフローチャートを参照して以下に説明する。
Next, an example of the process (liquid level detection process 2) according to the present invention executed by the CPU of the
μCOM20のCPUは、液面レベル検出処理を実行するために、周期的(例えば、1分毎)に処理をステップT110に進める。
The CPU of the
ステップT110〜T140、T160、T170は、それぞれ上述した第1の実施形態のステップS110〜S140、S160、S170と同様の処理を実行するので、以下ではステップT150及びT180について説明する。 Steps T110 to T140, T160, and T170 perform the same processes as steps S110 to S140, S160, and S170 of the first embodiment described above, respectively, so steps T150 and T180 will be described below.
ステップT150において、CPUは、差分値D[1]を、液面レベル検出基準情報H[1]に当てはめることにより、マグネット3の位置、即ち、タンク2に貯蔵された液体の液面レベルを検出する。そして、本フローチャートの処理を終了する。
In step T150, the CPU detects the position of the
ステップT180において、CPUは、差分値D[3]を、液面レベル検出基準情報H[3]に当てはめることにより、マグネット3の位置、即ち、タンク2に貯蔵された液体の液面レベルを検出する。そして、本フローチャートの処理を終了する。
In step T180, the CPU detects the position of the
そして、本フローチャートの処理を終了したのち、CPUは、通信ポートを通じて他の電子制御装置等に液面レベルの検出結果を送信する。そして、他の電子制御装置等において液面レベルの表示や記録等が行われる。 Then, after completing the processing of this flowchart, the CPU transmits the detection result of the liquid level to another electronic control device or the like through the communication port. Then, display or recording of the liquid level is performed in another electronic control device or the like.
次に、上述した液面レベル検出装置1Aの制御部10における動作の一例について説明する。
Next, an example of the operation in the
液面レベル検出装置1の制御部10は、周期的に互いに隣接して配置された磁気強度センサの差分値D[1]〜D[3]を取得する(T110)。
The
そして、差分値D[2]の符号が正であり(T120でY)、かつ、差分値D[1]の符号が正であるとき(T130でY)、差分値D[1]の符号が正であるので、マグネット3の位置が、区間T[1]にあることが特定され、この区間T[1]において単調に変化する差分値D[1]およびこの差分値D[1]に対応する液面レベル検出基準情報H[1]に基づいて、マグネット3の位置に応じた液面レベルを検出する(T150)。
When the sign of the difference value D [2] is positive (Y at T120) and the sign of the difference value D [1] is positive (Y at T130), the sign of the difference value D [1] is Since it is positive, it is specified that the position of the
または、差分値D[2]の符号が正であり(T120でY)、かつ、差分値D[1]の符号が負のとき(T130でN)、差分値D[1]の符号が負で、差分値D[2]の符号が正であるので、マグネット3の位置が、区間T[2]にあることが特定され、この区間T[2]において単調に変化する差分値D[3]及びこの差分値D[3]に対応する液面レベル検出基準情報H[3]に基づいて、マグネット3の位置に応じた液面レベルを検出する(T160)。
Alternatively, when the sign of the difference value D [2] is positive (Y at T120) and the sign of the difference value D [1] is negative (N at T130), the sign of the difference value D [1] is negative. Since the sign of the difference value D [2] is positive, it is specified that the position of the
または、差分値D[2]の符号が負であり(T120でN)、かつ、差分値D[3]の符号が正のとき(T140でY)、D[2]の符号が負で、差分値D[3]の符号が正であるので、マグネット3の位置が、区間T[3]にあることが特定され、この区間T[3]において単調に変化する差分値D[1]及びこの差分値D[1]に対応する液面レベル検出基準情報H[1]に基づいて、マグネット3の位置に応じた液面レベルを検出する(T170)。
Alternatively, when the sign of the difference value D [2] is negative (N in T120) and the sign of the difference value D [3] is positive (Y in T140), the sign of D [2] is negative, Since the sign of the difference value D [3] is positive, it is specified that the position of the
または、差分値D[2]の符号が負であり(T120でN)、かつ、差分値D[3]の符号が負のとき(T140でN)、差分値D[3]の符号が負であるので、マグネット3の位置が、区間T[4]にあることが特定され、この区間T[4]において単調に変化する差分値D[3]及びこの差分値D[3]に対応する液面レベル検出基準情報H[3]に基づいて、マグネット3の位置に応じた液面レベルを検出する(T180)。
Alternatively, when the sign of the difference value D [2] is negative (N in T120) and the sign of the difference value D [3] is negative (N in T140), the sign of the difference value D [3] is negative. Therefore, it is specified that the position of the
本実施形態の液面レベル検出装置1Aは、タンク2に貯蔵された液体の液面レベルに応じて上下方向に移動されるマグネット3と、上下方向に互いに間隔をあけて順次並べて配置され、マグネット3との距離に応じた値を出力する複数の磁気強度センサS[1]〜S[4]と、磁気強度センサS[i](iは、1から3までの複数の自然数)の出力値から磁気強度センサS[i+1]の出力値を差し引いた差分値D[i]を算出する差分値算出部11と、差分値D[i]と液面レベルとの関係を示す液面レベル検出基準情報H[i]が記憶されたμCOM20のROMからなる情報記憶手段と、μCOM20のCPUからなる液面レベル検出手段と、を有し、磁気強度センサS[1]が、マグネット3の位置がその移動可能範囲における上端であるときに出力値が最大となるように配置され、磁気強度センサS[4]が、マグネット3の位置がその移動可能範囲における下端であるときに出力値が最大となるように配置され、液面レベル検出手段が、(A)差分値D[1]〜[3]のうちの差分値D[j](jは、1又は2)の符号が負で、かつ、差分値D[1]〜[3]のうちの差分値D[j+1]の符号が正のとき、差分値D[j]及び差分値D[j+1]以外の差分値D[a](aは、1から3までのうちj及びj+1以外の1の自然数)及び差分値D[a]に対応する液面レベル検出基準情報H[a]に基づいて液面レベルを検出し、(B’)差分値D[1]の符号が正のとき、差分値D[1]及び差分値D[1]に対応する液面レベル検出基準情報H[1]に基づいて液面レベルを検出し、(C’)差分値D[3]の符号が負のとき、差分値D[3]及び差分値D[3]に対応する液面レベル検出基準情報H[3]に基づいて液面レベルを検出するように構成されている。
The liquid level detecting device 1A of the present embodiment includes a
また、液面レベル検出手段が、(A1)差分値D[1]〜D[3]から選択された1の差分値D[2]から符号の判定を始めて、(A2)差分値D[2]の符号が正と判定された場合に、差分値D[1]に向けて順次符号の判定を進め、差分値D[2]において最後に符号が正と判定されかつ差分値D[1]において最初に符号が負と判定されたとき、差分値D[3]及び差分値D[3]に対応する液面レベル検出基準情報H[3]に基づいて液面レベルを検出し、(A3)差分値D[2]の符号が負と判定された場合に、差分値D[3]に向けて順次符号の判定を進め、差分値D[2]において最後に符号が負と判定されかつ差分値D[3]において最初に符号が正と判定されたとき、差分値D[1]及び差分値D[1]に対応する液面レベル検出基準情報H[1]に基づいて液面レベルを検出するように構成されている。 Further, the liquid level detecting means starts to determine the sign from the difference value D [2] selected from (A1) difference values D [1] to D [3], and (A2) difference value D [2]. ] Is determined to be positive toward the difference value D [1], the sign is determined to be positive at the end of the difference value D [2], and the difference value D [1] First, when the sign is determined to be negative, the liquid level is detected based on the difference level D [3] and the liquid level detection reference information H [3] corresponding to the difference value D [3], and (A3 ) When the sign of the difference value D [2] is determined to be negative, the sign determination is sequentially advanced toward the difference value D [3], and the sign is finally determined to be negative in the difference value D [2]; When the sign is first determined to be positive in the difference value D [3], the liquid level level corresponding to the difference value D [1] and the difference value D [1]. Is configured to detect the liquid level based on Le detection reference information H [1].
また、磁気強度センサS[1]〜S[4]の個数Nが4個で偶数であり、差分値D[1]〜D[3]のうち符号の判定を開始する差分値D[M]の符号判定開始番号MとしてN/2=2(つまり、差分値D[2])が予め選択されている。 Further, the number N of the magnetic intensity sensors S [1] to S [4] is four, which is an even number, and the difference value D [M] for starting the sign determination among the difference values D [1] to D [3]. N / 2 = 2 (that is, the difference value D [2]) is selected in advance as the code determination start number M.
以上より、本実施形態によれば、上述した第1の実施形態と同様に、複数の磁気強度センサS[1]〜S[4]のみ用いて液面レベルを検出することができるので、1種類の磁気強度センサのみを用いた簡易な構成とすることができる。また、ゼロクロス位置P[1]より磁気強度センサS[1]側(図13の左側)の区間T[1]において、差分値D[1]は当該ゼロクロス位置P[1]から離れるにしたがって最大値に向かって単調に変化し、また、ゼロクロス位置P[3]より磁気強度センサS[N]側(図13の右側)の区間T[4]において、差分値D[3]は当該ゼロクロス位置P[3]から離れるにしたがって最小値に向かって単調に変化するので、これら区間において、差分値D[1]又は差分値D[3]に対して一意にマグネット位置(即ち、液面レベル)が定まり、差分値D[1]又は差分値D[N−1]に基づいて液面レベルを検出することができる。さらに、これら区間T[1]又は区間T[4]においては、差分値D[1]又は差分値D[3]は、0から最大値又は0から最小値に向かって単調に変化するので、変化の傾きが大きく、そのため、検出精度を高めることができる。 As described above, according to the present embodiment, the liquid level can be detected using only the plurality of magnetic intensity sensors S [1] to S [4] as in the first embodiment described above. A simple configuration using only one type of magnetic intensity sensor can be achieved. Further, in the section T [1] on the magnetic intensity sensor S [1] side (left side in FIG. 13) from the zero cross position P [1], the difference value D [1] becomes maximum as the distance from the zero cross position P [1] increases. In the section T [4] on the magnetic strength sensor S [N] side (right side in FIG. 13) from the zero cross position P [3], the difference value D [3] is monotonously changed toward the value. Since it monotonously changes toward the minimum value as it moves away from P [3], the magnet position (that is, the liquid level) is uniquely determined with respect to the difference value D [1] or the difference value D [3] in these sections. And the liquid level can be detected based on the difference value D [1] or the difference value D [N-1]. Furthermore, in the section T [1] or the section T [4], the difference value D [1] or the difference value D [3] changes monotonously from 0 to the maximum value or from 0 to the minimum value. The gradient of the change is large, so that the detection accuracy can be increased.
また、複数の差分値D[1]〜D[3]から選択された1の差分値D[2](M=2)の符号を判定して、その符号が正の場合は、差分値D[2]から差分値D[3]までの符号が正であるため、差分値D[3]と反対の差分値D[1]に向けて符号の判定を行い、または、その符号が負の場合は、差分値D[2]から差分値D[1]までの符号が負であるため、差分値D[1]と反対の差分値D[3]に向けて符号の判定を行うようにすることで、複数の差分値D[1]〜D[3]の全てについて符号を判定することなく、一部の差分値Dについて符号を判定することによりマグネット位置がある区間を特定することができ、そのため、液面レベルの検出をより速く行うことができる。 Further, the sign of one difference value D [2] (M = 2) selected from the plurality of difference values D [1] to D [3] is determined, and if the sign is positive, the difference value D Since the sign from [2] to the difference value D [3] is positive, the sign is determined toward the difference value D [1] opposite to the difference value D [3], or the sign is negative In this case, since the sign from the difference value D [2] to the difference value D [1] is negative, the sign determination is performed toward the difference value D [3] opposite to the difference value D [1]. By doing this, it is possible to specify a section where the magnet position is present by determining the codes for some of the difference values D without determining the codes for all of the plurality of difference values D [1] to D [3]. Therefore, the liquid level can be detected more quickly.
また、磁気強度センサS[1]〜S[4]の個数Nが4個で偶数であり、複数の差分値D[1]〜D[3]のうち符号の判定を開始する差分値D[M]の符号判定開始番号Mとして4/2=2が予め選択されているので、例えば、複数の差分値Dの端(差分値D[1]又は差分値D[3])から符号の判定を開始した場合に比べて、符号判定の最大回数を少なくすることができ、そのため、液面レベルの検出をより速く行うことができる。 In addition, the number N of the magnetic intensity sensors S [1] to S [4] is four, which is an even number, and the difference value D [for starting the code determination among the plurality of difference values D [1] to D [3]. Since 4/2 = 2 is selected in advance as the code determination start number M of M], for example, the code is determined from the ends of the plurality of difference values D (difference value D [1] or difference value D [3]). The maximum number of code determinations can be reduced as compared with the case where the liquid level is started, so that the liquid level can be detected faster.
また、本実施形態では、4個の磁気強度センサS[1]〜S[4]を備えた構成であったがこれに限定されるものではなく、例えば、磁気強度センサを5個、6個など備えた構成でもよく、4個以上の複数個の磁気強度センサS[1]〜S[N](Nは、4以上の偶数)を備える構成であればよい。このような構成でも上述した液面レベル検出装置1Aと同様にして液面レベルを検出できる。 In the present embodiment, the configuration includes four magnetic intensity sensors S [1] to S [4]. However, the present invention is not limited to this. For example, five or six magnetic intensity sensors are provided. Etc., or a configuration including four or more magnetic intensity sensors S [1] to S [N] (N is an even number of 4 or more). Even with such a configuration, the liquid level can be detected in the same manner as the liquid level detection apparatus 1A described above.
例えば、5個の磁気強度センサS[1]〜S[5]がロッド4に埋め込まれて上方から下方に向けて互いに間隔をあけて順次並ぶように配置され、差分値算出部11の切替スイッチ12が2回路4接点とされた構成についても、上記液面レベル検出装置1と同様である。図15に、5つの磁気強度センサを備えた液面レベル検出装置におけるマグネットの位置と複数の差分値D[1]〜D[4]及び液面レベル検出基準情報H[1]〜H[4]との関係を示すグラフの一例をしめす。図16に、5つの磁気強度センサを備えた液面レベル検出装置の制御部が備えるマイクロコンピュータのCPUが実行する本発明に係る処理(液面レベル検出処理2a)の一例を示すフローチャートを示す。
For example, five magnetic intensity sensors S [1] to S [5] are embedded in the
または、例えば、6個の磁気強度センサS[1]〜S[6]がロッド4に埋め込まれて上方から下方に向けて互いに間隔をあけて順次並ぶように配置され、差分値算出部11の切替スイッチ12が2回路5接点とされた構成についても、上記液面レベル検出装置1と同様である。図17に、6つの磁気強度センサを備えた液面レベル検出装置におけるマグネットの位置と複数の差分値D[1]〜D[5]及び液面レベル検出基準情報H[1]〜H[5]との関係を示すグラフの一例を示し、図18に、6つの磁気強度センサを備えた液面レベル検出装置の制御部が備えるマイクロコンピュータのCPUが実行する本発明に係る処理(液面レベル検出処理2b)の一例を示すフローチャートを示す。
Alternatively, for example, six magnetic intensity sensors S [1] to S [6] are embedded in the
上述した第1の実施形態及び第2の実施形態では、液面レベル検出処理1及び液面レベル検出処理2において、符号の判定を開始する差分値D[2]が予め選択されている構成であったが、これに限定されるものではない。例えば、複数の差分値D[1]〜D[3]のうち、最後に符号を判定した差分値D[k](kは、1から3までのうちの1の自然数)から次回の液面レベルの検出における符号の判定を開始するように、複数の差分値D[1]〜D[3]のうち符号の判定を開始する差分値D[M]の符号判定開始番号Mとしてkを選択するようにしてもよい。差分値D[k]について最後に符号を判定したということは、この差分値D[k]のゼロクロス位置P[k]によって規定される区間T(即ち、P[k]の右側又は左側の区間T)にマグネット3の位置があることを意味している。
In the first embodiment and the second embodiment described above, in the liquid
例えば、今回の液面レベル検出において差分値D[1]について最後に符号を判定した場合、次回の検出では、差分値D[1]から符号の判定を開始して、(1)差分値D[1]の符号が正であると判定されたとき、差分値D[1]〜D[3]の全ての符号が正となり、マグネット3の位置が、区間T[1]にあることが特定され、(2)差分値D[1]の符号が負であり、かつ差分値D[2]の符号が正であると判定されたとき、差分値D[1]の符号が負で、差分値D[2]及びD[3]の符号が正となり、マグネット3の位置が、区間T[2]にあることが特定され、(3)差分値D[1]及びD[2]の符号が負であり、かつ、差分値D[3]の符号が正であると判定されたとき、マグネット3の位置が、区間T[3]にあることが特定され、(4)差分値D[1]〜D[3]の全ての符号が負であると判定されたとき、マグネット3の位置が、区間T[4]にあることが特定される。
For example, when the sign is finally determined for the difference value D [1] in the current liquid level detection, the sign determination is started from the difference value D [1] in the next detection, and (1) the difference value D When it is determined that the sign of [1] is positive, all the signs of the difference values D [1] to D [3] are positive, and it is specified that the position of the
したがって、マグネット3の位置が、差分値D[1]のゼロクロス位置P[1]によって規定される区間T[1]又はT[2]にあれば、1回又は2回の判定で、マグネット3の位置がある区間を特定することができる。また、今回の液面レベル検出において差分値D[3]について最後に符号を判定した場合に次回の検出において差分値D[3]から符号の判定を開始するときも、上記と符号の判定を逆方向に進める点を除き同様である。
Therefore, if the position of the
このことから、複数の差分値D[1]〜D[3]のうち最後に符号を判定した差分値D[k](kは、1から3までのうちの1の自然数)から次回検出における符号の判定を開始するように、差分値D[1]〜D[3]のうち符号の判定を開始する差分値D[M]の符号判定開始番号Mとしてとしてkを選択すれば、今回の液面レベルの検出において最後に符号の判定がされた差分値D[k]について、次回の液面レベルの検出において符号の判定を開始するので、例えば、自動車の燃料タンク等においては急激に燃料(液体)が減少することはないことから、この差分値D[k]により規定されるゼロクロス位置P[k]付近にマグネット位置がある可能性が高く、そのため、この差分値D[k]から符号の判定を開始することにより、液面レベルの検出をより速く行うことができる。 Therefore, in the next detection, the difference value D [k] (k is a natural number of 1 out of 1 to 3) in which the sign is determined lastly among the plurality of difference values D [1] to D [3]. If k is selected as the code determination start number M of the difference value D [M] for starting the code determination among the difference values D [1] to D [3] so as to start the code determination, For the difference value D [k] for which the sign is finally determined in the detection of the liquid level, the determination of the sign is started in the next detection of the liquid level. Since (liquid) does not decrease, there is a high possibility that there is a magnet position in the vicinity of the zero cross position P [k] defined by the difference value D [k]. Therefore, from this difference value D [k] By starting the sign determination, Level detection can be performed more quickly.
また、上述した第1の実施形態及び第2の実施形態では、差分値D[2](2=N/2)が0のとき差分値D[2]の符号が正として処理を進める構成であり、差分値D[2]が0のときはマグネット3の位置が移動可能範囲の中間点(又はその近傍)にあると考えられる。しかしながら、磁気強度センサS[1]〜S[N]の性能や配置等によっては、マグネット3の位置が移動可能範囲の両端近辺にあるときにも、差分値D[N/2]が0になってしまうことがある。そのため、このような構成では、差分値D[N/2]が0のときに、その両隣の差分値D[(N/2)−1]と差分値D[(N/2)+1]とを加算した値の符号を判定して、この判定した符号を差分値D[N/2]の符号として処理を進めるようにすることで、液面レベルの検出精度をより高めることができる。
In the first embodiment and the second embodiment described above, when the difference value D [2] (2 = N / 2) is 0, the sign of the difference value D [2] is positive and the process proceeds. Yes, when the difference value D [2] is 0, the position of the
また、上述した第1の実施形態及び第2の実施形態では、差分値算出手段としての差分値算出部11が、切替スイッチ12及び減算器13で構成されているものであったが、これに限定されるものではない。例えば、μCOM20に、複数のアナログ−デジタル変換入力ポートADIを備えるとともに、各磁気強度センサS[1]〜S[4]をこれら複数の入力ポートADIに接続して、磁気強度センサS[1]〜S[4]の出力をCPUに取り込み、CPUにおいて差分値を算出する構成としてもよい。この構成の場合、μCOM20のCPUが、差分値算出手段として機能する。
Further, in the first embodiment and the second embodiment described above, the difference
なお、前述した実施形態は本発明の代表的な形態を示したに過ぎず、本発明は、実施形態に限定されるものではない。即ち、本発明の骨子を逸脱しない範囲で種々変形して実施することができる。 In addition, embodiment mentioned above only showed the typical form of this invention, and this invention is not limited to embodiment. That is, various modifications can be made without departing from the scope of the present invention.
1、1A 液面レベル検出装置
2 タンク
3 マグネット
4 ロッド
10 制御部
11 差分値算出部(差分値算出手段)
12 切替スイッチ
13 減算器
20 マイクロコンピュータ(液面レベル検出手段、情報記憶手段)
S 磁気強度センサ
D 差分値
H 液面レベル検出基準情報
DESCRIPTION OF
12
S Magnetic strength sensor D Difference value H Liquid level detection reference information
Claims (6)
上下方向に互いに間隔をあけて順次並べて配置され、前記マグネットとの距離に応じた値を出力する複数の磁気強度センサS[1]〜S[N](Nは、4以上の自然数)と、
前記磁気強度センサS[i](iは、1からN−1までの複数の自然数)の出力値から前記磁気強度センサS[i+1]の出力値を差し引いた差分値D[i]を算出する差分値算出手段と、
前記差分値D[i]と前記液面レベルとの関係を示す液面レベル検出基準情報H[i]が記憶された情報記憶手段と、
液面レベル検出手段と、を有し、
前記液面レベル検出手段が、
(A)前記差分値D[i]のうちの差分値D[j](jは、1からN−2までのうちの1の自然数)の符号が負で、かつ、前記差分値D[i]のうちの差分値D[j+1]の符号が正のとき、前記差分値D[j]及び前記差分値D[j+1]以外の差分値D[a](aは、1からN−1までのうちj及びj+1以外の1又は複数の自然数)及び前記差分値D[a]に対応する液面レベル検出基準情報H[a]に基づいて前記液面レベルを検出し、
(B)前記差分値D[i]のうちの差分値D[1]の符号が正のとき、前記差分値D[1]以外の差分値D[b](bは、2からN−1までのうちの1又は複数の自然数)及び前記差分値D[b]に対応する液面レベル検出基準情報H[b]に基づいて前記液面レベルを検出し、
(C)前記差分値D[i]のうちの差分値D[N−1]の符号が負のとき、前記差分値D[N−1]以外の差分値D[c](cは、1からN−2までのうちの1又は複数の自然数)及び前記差分値D[c]に対応する液面レベル検出基準情報H[c]に基づいて前記液面レベルを検出するように構成されている
ことを特徴とする液面レベル検出装置。 A magnet that moves up and down according to the liquid level of the liquid stored in the tank;
A plurality of magnetic intensity sensors S [1] to S [N] (N is a natural number of 4 or more), which are sequentially arranged in the vertical direction and spaced from each other and output a value corresponding to the distance from the magnet;
A difference value D [i] is calculated by subtracting the output value of the magnetic intensity sensor S [i + 1] from the output value of the magnetic intensity sensor S [i] (i is a plurality of natural numbers from 1 to N-1). Difference value calculating means;
Information storage means for storing liquid level detection reference information H [i] indicating the relationship between the difference value D [i] and the liquid level;
Liquid level detection means,
The liquid level detection means
(A) The difference value D [j] (j is a natural number of 1 from 1 to N−2) of the difference values D [i] is negative, and the difference value D [i ], When the sign of the difference value D [j + 1] is positive, the difference value D [a] other than the difference value D [j] and the difference value D [j + 1] (a is from 1 to N−1) 1 or a natural number other than j and j + 1) and the liquid level detection reference information H [a] corresponding to the difference value D [a],
(B) When the sign of the difference value D [1] of the difference values D [i] is positive, the difference value D [b] (b is 2 to N−1) other than the difference value D [1]. 1 or a plurality of natural numbers) and the liquid level detection reference information H [b] corresponding to the difference value D [b], and detecting the liquid level.
(C) When the sign of the difference value D [N−1] of the difference values D [i] is negative, the difference value D [c] (c is 1) other than the difference value D [N−1]. To N-2) and the liquid level is detected based on the liquid level detection reference information H [c] corresponding to the difference value D [c]. A liquid level detecting device.
上下方向に互いに間隔をあけて順次並べて配置され、前記マグネットとの距離に応じた値を出力する複数の磁気強度センサS[1]〜S[N](Nは、4以上の自然数)と、
前記磁気強度センサS[i](iは、1からN−1までの複数の自然数)の出力値から前記磁気強度センサS[i+1]の出力値を差し引いた差分値D[i]を算出する差分値算出手段と、
前記差分値D[i]と前記液面レベルとの関係を示す液面レベル検出基準情報H[i]が記憶された情報記憶手段と、
液面レベル検出手段と、を有し、
前記磁気強度センサS[1]が、前記マグネットの位置がその移動可能範囲における一方の端であるときに出力値が最大となるように配置され、
前記磁気強度センサS[N]が、前記マグネットの位置がその移動可能範囲における他方の端であるときに出力値が最大となるように配置され、
前記液面レベル検出手段が、
(A)前記差分値D[i]のうちの差分値D[j](jは、1からN−2までのうちの1の自然数)の符号が負で、かつ、前記差分値D[i]のうちの差分値D[j+1]の符号が正のとき、前記差分値D[j]及び前記差分値D[j+1]以外の差分値D[a](aは、1からN−1までのうちj及びj+1以外の1又は複数の自然数)及び前記差分値D[a]に対応する液面レベル検出基準情報H[a]に基づいて前記液面レベルを検出し、
(B’)前記差分値D[i]のうちの差分値D[1]の符号が正のとき、前記差分値D[1]及び前記差分値D[1]に対応する液面レベル検出基準情報H[1]に基づいて前記液面レベルを検出し、
(C’)前記差分値D[i]のうちの差分値D[N−1]の符号が負のとき、前記差分値D[N−1]及び前記差分値D[N−1]に対応する液面レベル検出基準情報H[N−1]に基づいて前記液面レベルを検出するように構成されている
ことを特徴とする液面レベル検出装置。 A magnet that moves up and down according to the liquid level of the liquid stored in the tank;
A plurality of magnetic intensity sensors S [1] to S [N] (N is a natural number of 4 or more), which are sequentially arranged in the vertical direction and spaced from each other and output a value corresponding to the distance from the magnet;
A difference value D [i] is calculated by subtracting the output value of the magnetic intensity sensor S [i + 1] from the output value of the magnetic intensity sensor S [i] (i is a plurality of natural numbers from 1 to N-1). Difference value calculating means;
Information storage means for storing liquid level detection reference information H [i] indicating the relationship between the difference value D [i] and the liquid level;
Liquid level detection means,
The magnetic intensity sensor S [1] is arranged so that the output value becomes maximum when the position of the magnet is one end in the movable range,
The magnetic intensity sensor S [N] is arranged so that the output value becomes maximum when the position of the magnet is the other end in the movable range,
The liquid level detection means
(A) The difference value D [j] (j is a natural number of 1 from 1 to N−2) of the difference values D [i] is negative, and the difference value D [i ], When the sign of the difference value D [j + 1] is positive, the difference value D [a] other than the difference value D [j] and the difference value D [j + 1] (a is from 1 to N−1) 1 or a natural number other than j and j + 1) and the liquid level detection reference information H [a] corresponding to the difference value D [a],
(B ′) When the sign of the difference value D [1] among the difference values D [i] is positive, the liquid level detection criterion corresponding to the difference value D [1] and the difference value D [1] Detecting the liquid level based on the information H [1],
(C ′) When the sign of the difference value D [N−1] of the difference values D [i] is negative, it corresponds to the difference value D [N−1] and the difference value D [N−1]. The liquid level detecting device is configured to detect the liquid level based on the liquid level detection reference information H [N-1].
(A1)前記差分値D[i]から選択された1の差分値D[M](Mは、1からN−1までの1の自然数)から符号の判定を始めて、
(A2)前記差分値D[M]の符号が正と判定された場合に、前記差分値D[1]に向けて順次符号の判定を進め、差分値D[j+1](jは、M−1から1までのうちの1の自然数)において最後に符号が正と判定されかつ差分値D[j]において最初に符号が負と判定されたとき、前記差分値D[a]及び前記差分値D[a]に対応する液面レベル検出基準情報H[a]に基づいて前記液面レベルを検出し、
(A3)前記差分値D[M]の符号が負と判定された場合に、前記差分値D[N−1]に向けて順次符号の判定を進め、差分値D[j](jは、MからN−2までのうちの1の自然数)において最後に符号が負と判定されかつ差分値D[j+1]において最初に符号が正と判定されたとき、前記差分値D[a]及び前記差分値D[a]に対応する液面レベル検出基準情報H[a]に基づいて前記液面レベルを検出するように構成されている
ことを特徴とする請求項1又は2に記載の液面レベル検出装置。 The liquid level detection means
(A1) Starting the code determination from one difference value D [M] (M is a natural number from 1 to N−1) selected from the difference value D [i],
(A2) When the sign of the difference value D [M] is determined to be positive, the sign determination is sequentially advanced toward the difference value D [1], and the difference value D [j + 1] (j is M− When the sign is finally determined to be positive in 1) and the sign is first determined to be negative in the difference value D [j], the difference value D [a] and the difference value Detecting the liquid level based on the liquid level detection reference information H [a] corresponding to D [a],
(A3) When the sign of the difference value D [M] is determined to be negative, the sign determination is sequentially advanced toward the difference value D [N−1], and the difference value D [j] (j is When the sign is finally determined to be negative in the first natural number from M to N−2) and the sign is first determined to be positive in the difference value D [j + 1], the difference value D [a] and the 3. The liquid level according to claim 1, wherein the liquid level is detected based on liquid level detection reference information H [a] corresponding to the difference value D [a]. 4. Level detection device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013015425A JP6032843B2 (en) | 2013-01-30 | 2013-01-30 | Liquid level detector |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013015425A JP6032843B2 (en) | 2013-01-30 | 2013-01-30 | Liquid level detector |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014145713A true JP2014145713A (en) | 2014-08-14 |
JP6032843B2 JP6032843B2 (en) | 2016-11-30 |
Family
ID=51426069
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013015425A Active JP6032843B2 (en) | 2013-01-30 | 2013-01-30 | Liquid level detector |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6032843B2 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06180242A (en) * | 1992-12-11 | 1994-06-28 | Nippon Furooseru Seizo Kk | Area flow meter equipped with sensor and flow-rate measuring method |
JPH11190644A (en) * | 1997-12-26 | 1999-07-13 | Nitto Seiko Co Ltd | Flow meter |
JP2002022403A (en) * | 2000-07-13 | 2002-01-23 | Tokyo Keiso Co Ltd | Displacement detector and displacement detecting method |
US20080284416A1 (en) * | 2004-11-18 | 2008-11-20 | Honeywell International | Position detection utilizing a rotary array of magnetic sensors with irregular spacing between sensing elements |
JP2008298570A (en) * | 2007-05-31 | 2008-12-11 | Konica Minolta Opto Inc | Position detection apparatus and positioning apparatus |
JP2012225774A (en) * | 2011-04-20 | 2012-11-15 | Yazaki Corp | Liquid level detection apparatus |
-
2013
- 2013-01-30 JP JP2013015425A patent/JP6032843B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06180242A (en) * | 1992-12-11 | 1994-06-28 | Nippon Furooseru Seizo Kk | Area flow meter equipped with sensor and flow-rate measuring method |
JPH11190644A (en) * | 1997-12-26 | 1999-07-13 | Nitto Seiko Co Ltd | Flow meter |
JP2002022403A (en) * | 2000-07-13 | 2002-01-23 | Tokyo Keiso Co Ltd | Displacement detector and displacement detecting method |
US20080284416A1 (en) * | 2004-11-18 | 2008-11-20 | Honeywell International | Position detection utilizing a rotary array of magnetic sensors with irregular spacing between sensing elements |
JP2008298570A (en) * | 2007-05-31 | 2008-12-11 | Konica Minolta Opto Inc | Position detection apparatus and positioning apparatus |
JP2012225774A (en) * | 2011-04-20 | 2012-11-15 | Yazaki Corp | Liquid level detection apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP6032843B2 (en) | 2016-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101305433B (en) | Method for determining contact erosion of an electromagnetic switching device, and electromagnetic switching device comprising a mechanism operating according to said method | |
EP3136056B1 (en) | Position sensor | |
JP6032844B2 (en) | Liquid level detector | |
JP6235631B2 (en) | Eye diagram display device and eye diagram display method | |
JP2012199116A (en) | Electromagnetic switch | |
JP2016109292A (en) | Shift lever position determination device for vehicle | |
JP6032843B2 (en) | Liquid level detector | |
JP5276044B2 (en) | Position detecting device and shift lever device | |
JP2011105166A (en) | Shift position detecting device | |
JP2007333489A (en) | Magnetic position detection device | |
JP6037508B2 (en) | Liquid level detection system | |
JP5216027B2 (en) | Shift position detector | |
JP2014145715A (en) | Liquid level detection device and liquid level detection system including the same | |
JP2013060055A (en) | Position sensor | |
JP2011221793A (en) | Position detection device and shift lever device | |
JP2005172119A (en) | Range position detection switch | |
JP2005172118A (en) | Range position detection device and its control program for automatic transmission | |
JP4766397B2 (en) | Vehicle navigation apparatus and program | |
JP2010257077A (en) | Operation input device | |
US10008349B2 (en) | Switching device and method for detecting whether said switching device is being actuated | |
JP2014196929A (en) | Gear change position detector | |
WO2016035332A1 (en) | Multidirectional input device | |
JP5986881B2 (en) | Liquid level detector | |
EP2628979B1 (en) | A method for controlling a motor vehicle and a gearshift assembly capable of operating according to such a method | |
US20200232839A1 (en) | Measuring Arrangement And Measuring System, In Particular For A Liquid Sensor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20151218 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20161013 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20161018 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20161024 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6032843 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |