JP6037937B2 - Gas shut-off device - Google Patents
Gas shut-off device Download PDFInfo
- Publication number
- JP6037937B2 JP6037937B2 JP2013107913A JP2013107913A JP6037937B2 JP 6037937 B2 JP6037937 B2 JP 6037937B2 JP 2013107913 A JP2013107913 A JP 2013107913A JP 2013107913 A JP2013107913 A JP 2013107913A JP 6037937 B2 JP6037937 B2 JP 6037937B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- positive
- starting point
- negative
- value
- 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.)
- Active
Links
Images
Landscapes
- Measuring Volume Flow (AREA)
- Regulation And Control Of Combustion (AREA)
- Feeding And Controlling Fuel (AREA)
Description
本発明はガス遮断装置の流量計測において、流量を計測している流れが正流方向・逆流方向に切替わる時に発生する計量誤差の発生を防止するためのものである。 The present invention is intended to prevent the occurrence of a measurement error that occurs when the flow whose flow rate is being measured is switched between the forward flow direction and the reverse flow direction in the flow rate measurement of the gas shut-off device.
従来、この種のガス遮断装置として、計量部(流量入力部)が膜により構成されたものにおける脈動等に起因する指針値のズレを防止しようとするものがあるが、これは磁石とリードスイッチで構成された流量検出部において、脈動によるリードスイッチの所謂チャタリングによる誤検知を防止しようとするもので、逆流方向の流量を検出する構成は開示されていない(例えば、特許文献1参照)。 Conventionally, as this type of gas shut-off device, there is one that tries to prevent the deviation of the pointer value due to pulsation or the like in a measuring part (flow rate input part) constituted by a membrane. In the flow rate detection unit configured as described above, there is no disclosure of a configuration for detecting the flow rate in the reverse flow direction in order to prevent erroneous detection due to so-called chattering of the reed switch due to pulsation (see, for example, Patent Document 1).
一方、逆流方向の流量を考慮した補正方法が開示されたものがある(例えば、特許文献2参照)。 On the other hand, there has been disclosed a correction method in consideration of the flow rate in the reverse flow direction (see, for example, Patent Document 2).
図5は、特許文献2に記載された従来のガス遮断装置のブロック図を示すものである。
FIG. 5 shows a block diagram of a conventional gas shut-off device described in
図5に示すように、従来のガス遮断装置は流量入力部1、流量演算部2、第1バッファ3、第2バッファ4、指針値保持部5から構成され、以下にその役割を記載する。
As shown in FIG. 5, the conventional gas shut-off device is composed of a flow
なお、ガス遮断装置の特徴である流量演算部2から流量値信号bを取得して予め保持している判定値(例えば、ガスが大量に漏れた時の判定値等)と流量値信号bを比較し異常の有無(例えば、判定値を越えているか否か)を判定する異常判定部や、異常判定部で異常と判定したときにガス通路を閉栓する弁は本願の記載からは割愛する。
In addition, the flow rate value signal b is acquired from the flow
流量入力部1はガス通路内を通過するガス流量に対応した流量信号aを出力し、流量演算部2は流量入力部1の流量信号aを用いて流量値信号bを算出して出力する。
The flow
第1バッファ3は、それまで保持していたカウンタ値に流量演算部2の流量値信号bを加減算し、カウンタ値と流量値信号bの合計値が所定の積算桁上げ値以上に達すると積算値のカウントアップを行い積算値信号eを出力すると共に、積算桁上げ値を越えた剰余の値を剰余信号cとして出力したあと切り捨ててカウンタ値をクリアする。
The
第2バッファ4は、第1バッファ3の剰余信号cを受け取ると今まで保持していた剰余の値に新たに取得した剰余の値を加算して保持し、所定のタイミングで剰余加算信号dを出力して第1バッファ3のカウンタに加算する。
When the
指針値保持部5は、第1バッファ3の積算値信号eを受け取ると、カウントアップした積算値を保持し直してLCD等の表示素子を用いて指針値(=積算値)を表示するように構成されている。
When the pointer
また、他の誤差発生の防止方法として、定期的に正流方向・逆流方向の流量を一時的にストックし相殺する構成もある(例えば、特許文献3参照)。 As another method for preventing the occurrence of errors, there is a configuration in which the flow rates in the forward flow direction and the reverse flow direction are temporarily stocked and offset periodically (see, for example, Patent Document 3).
計量部(流量入力部)が膜により構成されたものは、膜の往復運動をリンク機構等を用いて回転運動に変換し、例えば、図6に記載したように回転運動する機構部に配置した磁石の位置をリードスイッチで検出するように構成されており、リードスイッチのオンの度に所定の計量単位の加算を行うようになっている。 In the case where the measuring unit (flow rate input unit) is configured by a membrane, the reciprocating motion of the membrane is converted into a rotational motion using a link mechanism or the like, and, for example, disposed in a mechanical portion that rotates as shown in FIG. The position of the magnet is configured to be detected by a reed switch, and a predetermined unit of measurement is added each time the reed switch is turned on.
この構成において、ガスの通過量は、楕円軌道の軌跡で移動する磁石によりオン・オフするリードスイッチの入力にて、1回転、すなわちオンからオフとなり次のオンを判定するまで、を検出しないと計量ができない。 In this configuration, the gas passage amount must be detected until one turn, that is, from on to off and the next on is determined by the input of the reed switch that is turned on and off by the magnet moving along the locus of the elliptical orbit. Cannot measure.
さらに、計量部(流量入力部)が膜で構成されている場合は、図6に記載したようにオン範囲中やオフ範囲中はガスが流れていてもオン・オフの状態が変わらないので、ガスが流れているか否かが判らないため、瞬間的なガス流量を検出することはできず、ガスが流れているか否かはリードスイッチのオン・オフの状態が変化するまでは判断できない。 Furthermore, when the metering unit (flow rate input unit) is configured with a membrane, the on / off state does not change even if gas is flowing during the on-range or off-range as shown in FIG. Since it is not known whether or not gas is flowing, the instantaneous gas flow rate cannot be detected, and whether or not gas is flowing cannot be determined until the on / off state of the reed switch is changed.
従って、膜で計量部を構成したガス流量計において、逆流方向の流量が発生するような場合、特許文献2に記載された正流方向の流量によるバッファリングを行う構成や、特許文献3に記載された定期的に瞬時流量を計測して、相殺バッファを補正することを前提とした構成を適用することは困難であり、実流量と指針値との誤差発生を解消できないという課題があった。
Therefore, in the gas flow meter in which the metering unit is configured with a membrane, when a flow rate in the reverse flow direction is generated, a configuration in which buffering is performed with a flow rate in the forward flow direction described in
本発明は、前記従来の課題を解決するもので、膜を計量部としかつ正流方向・逆流方向の流量が発生するような場合においても指針値に誤差が発生しないガス遮断装置を提供することを目的とする。 The present invention solves the above-mentioned conventional problems, and provides a gas shut-off device in which an error does not occur in a pointer value even when a membrane is used as a measuring portion and a flow rate in the forward flow direction and the reverse flow direction is generated. With the goal.
前記従来の課題を解決するために、本発明のガス遮断装置は、ガス通路内を通過するガス流量に基づいた複数のパルス信号を流量信号として出力する流量検出部と、前記流量信号に基づき前記ガス流量の正逆方向を判定し、逆流方向であれば負パルス信号を、正流方向であれば正パルス信号を出力する正逆判定部と、前記複数のパルス信号のHi,Loの組み合わせが所定の組み合わせとなる状態を起点とするとき、前記負パルス信号をカウントし、逆流方向側の起点に到達したときに負処理要求信号を出力し、さらに前記逆流方向側の起点を超えたときに負起点越え信号を出力し、負クリア信号を受け取ると前記負起点越え信号の出力を停止する負パルス判定部と、前記負処理要求信号を受け取ると、正起点越え信号がない場合には減算信号を出力し、前記正起点越え信号の有無に係わらず正クリア信号を出力する負要求判定部と、前記正パルス信号をカウントし、正流方向側の起点に到達したときに正処理要求信号を出力し、さらに前記正流方向側の起点を超えたときに前記正起点越え信号を出力し、前記正クリア信号を受け取ると前記正起点越え信号の出力を停止する正パルス判定部と、前記正処理要求信号を受け取ると、前記負起点越え信号がない場合には加算信号を出力し、前記負起点越え信号の有無に係わらず前記負クリア信号を出力する正要求判定部と、前記減算信号を受け取ると現在保持しているバッファ値から予め定められた第1の所定量を減算して新たなバッファ値として保持し、前記加算信号を受け取ると現在保持しているバッファ値に予め定められた第2の所定量を加算して新たなバッファ値として保持し、加算後のバッファ値が予め定めていた積算単位値を越えたときにバッファオーバ信号を出力して加算後のバッファ値から前記積算単位値を差し引いて新たなバッファ値として保持し直すバッファ部と、前記バッファオーバ信号を受け取ると現在保持している指針値に前記積算単位値を加算して新たな指針値として保持する指針値保持部と、を備えたものである。 In order to solve the conventional problem, the gas shutoff device of the present invention includes a flow rate detection unit that outputs a plurality of pulse signals based on a gas flow rate passing through a gas passage as a flow rate signal, and the flow rate signal based on the flow rate signal. A combination of Hi and Lo of the plurality of pulse signals and a forward / reverse determination unit that determines the forward / reverse direction of the gas flow rate and outputs a negative pulse signal if the flow direction is reverse, or a positive pulse signal if the flow direction is positive. When starting from a state that is a predetermined combination, the negative pulse signal is counted, a negative processing request signal is output when the starting point on the backflow direction side is reached, and further when the starting point on the backflow direction side is exceeded When a negative origin determination signal is output and a negative clear signal is received, a negative pulse determination unit that stops outputting the negative origin point excess signal, and when the negative processing request signal is received, when there is no positive origin point excess signal, a subtraction signal is output. A negative request determination unit that outputs a positive clear signal regardless of the presence or absence of the positive origin point signal and a positive processing request signal when the positive pulse signal is counted and the origin point on the positive flow direction side is reached. A positive pulse determining unit that outputs the positive starting point exceeding signal when the positive starting point is exceeded and further receives the positive clear signal, and the positive pulse determining unit stops the output of the positive starting point exceeding signal. When the processing request signal is received, an addition signal is output when there is no signal exceeding the negative starting point, and a positive request determining unit that outputs the negative clear signal regardless of the presence or absence of the negative starting point exceeding signal, and the subtraction signal When received, the first predetermined amount determined in advance is subtracted from the currently held buffer value and held as a new buffer value, and when the addition signal is received, the buffer value currently held is set to a predetermined value. 2 A predetermined amount is added and held as a new buffer value, and when the buffer value after addition exceeds a predetermined integration unit value, a buffer over signal is output to calculate the integration unit value from the buffer value after addition. A buffer unit for subtracting and re-holding as a new buffer value; a pointer value holding unit for adding the integration unit value to the currently held pointer value when the buffer over signal is received and holding it as a new pointer value; It is equipped with.
これによれば、単に起点到達時にバッファ部の加減算を実施することを防止できるため、例えば、供給ガスの圧力変動に伴う脈動で起点を挟んで流量信号が行き来するような状態が発生しても第1の所定量と第2の所定量の差が蓄積されることを防止し、かつ減算のみ・加算のみを繰り返すことも防止することができるようになる。 According to this, since addition / subtraction of the buffer unit can be prevented simply when the starting point is reached, for example, even when a state occurs in which the flow rate signal goes back and forth across the starting point due to pulsation accompanying the pressure fluctuation of the supply gas. It is possible to prevent the difference between the first predetermined amount and the second predetermined amount from being accumulated, and to prevent only subtraction / addition from being repeated.
本発明のガス遮断装置は、逆流方向の流量を伴う瞬時流量を計測できない膜式であっても単純に起点到達時にバッファ部の加減算を実施することを防止してバッファ部のバッファ値を適正化できるようになるため、実流量値と指針値のズレを防止して指針値の精度を向上させることができる。 The gas shutoff device of the present invention optimizes the buffer value of the buffer unit by simply preventing the addition and subtraction of the buffer unit when the starting point is reached even if it is a membrane type that cannot measure the instantaneous flow rate with the flow rate in the reverse flow direction As a result, the deviation of the actual flow rate value and the guide value can be prevented and the accuracy of the guide value can be improved.
第1の発明は、ガス通路内を通過するガス流量に基づいた複数のパルス信号を流量信号として出力する流量検出部と、前記流量信号に基づき前記ガス流量の正逆方向を判定し、逆流方向であれば負パルス信号を、正流方向であれば正パルス信号を出力する正逆判定部と、前記複数のパルス信号のHi,Loの組み合わせが所定の組み合わせとなる状態を起点とするとき、前記負パルス信号をカウントし、逆流方向側の起点に到達したときに負処理要求信号を出力し、さらに前記逆流方向側の起点を超えたときに負起点越え信号を出力し、負クリア信号を受け取ると前記負起点越え信号の出力を停止する負パルス判定部と、前記負処理要求信号を受け取ると、正起点越え信号がない場合には減算信号を出力し、前記正起点越え信号の有無に係わらず正クリア信号を出力する負要求判定部と、前記正パルス信号をカウントし、正流方向側の起点に到達したときに正処理要求信号を出力し、さらに前記正流方向側の起点を超えたときに前記正起点越え信号を出力し、前記正クリア信号を受け取ると前記正起点越え信号の出力を停止する正パルス判定部と、前記正処理要求信号を受け取ると、前記負起点越え信号がない場合には加算信号を出力し、前記負起点越え信号の有無に係わらず前記負クリア信号を出力する正要求判定部と、前記減算信号を受け取ると現在保持しているバッファ値から予め定められた第1の所定量を減算して新たなバッファ値として保持し、前記加算信号を受け取ると現在保持しているバッファ値に予め定められた第2の所定量を加算して新たなバッファ値として保持し、加算後のバッファ値が予め定めていた積算単位値を越えたときにバッファオーバ信号を出力して加算後のバッファ値から前記積算単位値を差し引いて新たなバッファ値として保持し直すバッファ部と、前記バッファオーバ信号を受け取ると現在保持している指針値に前記積算単位値を加算して新たな指針値として保持する指針値保持部と、を備えたものである。 According to a first aspect of the present invention, a flow rate detection unit that outputs a plurality of pulse signals based on a gas flow rate passing through the gas passage as a flow rate signal, a forward / reverse direction of the gas flow rate is determined based on the flow rate signal, and a reverse flow direction If the starting point is a state in which the combination of the Hi and Lo of the plurality of pulse signals is a predetermined combination with a forward / reverse determination unit that outputs a negative pulse signal if it is a positive flow direction, The negative pulse signal is counted, a negative processing request signal is output when the starting point on the reverse flow direction side is reached, a negative starting point excess signal is output when the starting point on the reverse flow direction side is exceeded, and a negative clear signal is output. When receiving the negative pulse determination unit that stops the output of the negative starting point exceeding signal and the negative processing request signal, when there is no positive starting point exceeding signal, a subtraction signal is output, and the presence of the positive starting point exceeding signal is determined. Engagement First, a negative request determination unit that outputs a positive clear signal, counts the positive pulse signal, outputs a positive processing request signal when reaching the starting point on the positive flow direction side, and further exceeds the starting point on the positive flow direction side When the positive start point exceeded signal is output and when the positive clear signal is received, the positive pulse determination unit stops outputting the positive start point exceeded signal, and when the positive processing request signal is received, the negative start point exceeded signal is If not, a positive request determination unit that outputs an addition signal and outputs the negative clear signal regardless of the presence or absence of the negative start point signal, and a buffer value currently held when the subtraction signal is received is predetermined. The first predetermined amount is subtracted and held as a new buffer value. When the addition signal is received, a predetermined second predetermined amount is added to the currently held buffer value to obtain a new buffer value. Protection A buffer unit that outputs a buffer over signal when the buffer value after addition exceeds a predetermined integration unit value, subtracts the integration unit value from the buffer value after addition, and retains it as a new buffer value. And a pointer value holding unit that adds the integrated unit value to the currently held pointer value and holds it as a new pointer value when the buffer over signal is received.
これによれば、起点を超えたか否かで前記バッファ部のバッファ値の減算または加算の有無を判定してバッファ値の更新を行うことでガス流量と指針値のズレを防止し指針値の精度を向上させることができる。 According to this, it is determined whether or not the buffer value of the buffer unit is subtracted or added depending on whether or not the starting point has been exceeded, and the buffer value is updated to prevent the gas flow rate and the pointer value from being shifted, and the accuracy of the pointer value Can be improved.
以下、本発明の実施の形態について、図面を参照しながら説明する。なお、この実施の形態によって本発明が限定されるものではない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. Note that the present invention is not limited to the embodiments.
(実施の形態1)
図1は、本発明の実施の形態1におけるガス遮断装置の機能ブロック図を示すものである。図2は、動作を説明するためのフローチャート、図3は、2つのセンサからのパルス信号を用いる際のセンサ出力(流量信号)の状態と、流量の演算方法を説明するための図である。
(Embodiment 1)
FIG. 1 shows a functional block diagram of a gas cutoff device in
図1に示すように、本実施の形態のガス遮断装置は流量検出部21、正逆判定部22、負パルス判定部23、負要求判定部24、正パルス判定部25、正要求判定部26、バッファ部27、指針値保持部28、流量演算部31、異常判定部32、弁33とから構成され、以下にその役割を記載する。
As shown in FIG. 1, the gas cutoff device of the present embodiment includes a flow
なお、ガス遮断装置内には制御基板(図中には記載はない)が内蔵され、制御基板内のマイコン(図中には記載はない)が上記構成の各入出力や各判定を実施している。なお電源としては電池を用いている。 In addition, a control board (not shown in the figure) is built in the gas shut-off device, and a microcomputer (not shown in the figure) in the control board performs each input / output and each judgment of the above configuration. ing. A battery is used as the power source.
流量検出部21は、ガス通路内を通過するガスの流量を、その流量に応じて往復運動する膜の動きを磁石とMRセンサで検出することにより計測する。そして、検出したパルス信号をガス流量に基づいた流量信号Aとして出力する。
The
本実施の形態において、流量検出部21は、2つのMRセンサ(センサA,センサB)を用いている。MRセンサは、膜の往復運動に連動して回転運動する機構部に配置された磁石の位置に応じた2つのパルス信号を流量信号Aとして検出する。流量信号Aは、図3(1)に示すように、MRセンサのセンサA、センサBにより検出された2つのパルス波形の信号(パルス信号)で構成される。
In the present embodiment, the flow
また、図3(1)及び(3)において、分割Noは、複数のパルス波形の状態に対応して流量信号Aを分割し、分割した部分(分割)に対して順番に付与した番号である。本実施の形態では2つのセンサ(センサA,B)のパルス出力が1/4周期だけ位相をずらした構成としており、1/4周期毎に流量信号Aは分割されている。 3 (1) and 3 (3), the division number is a number assigned to the divided portion (division) in order by dividing the flow signal A corresponding to the state of a plurality of pulse waveforms. . In the present embodiment, the pulse outputs of the two sensors (sensors A and B) are configured to be shifted in phase by a quarter period, and the flow rate signal A is divided every quarter period.
また、起点として示すA〜Fは、2つのパルス出力(パルス信号のHi(high)、Lo(low))の組み合わせが所定の組み合わせである点(分割)を示す。本実施の形態では、センサA=L(センサAのパルス信号がLoである)、センサB=Lの(センサBのパルス信号がLoである)場合の分割を起点A〜Fとしており、起点は1周期毎に現れる。また、+1、−1は、起点A〜Fに対して前後に隣接する分割の位置を示すものである。 A to F shown as starting points indicate points (divisions) where a combination of two pulse outputs (Hi (high) and Lo (low) of a pulse signal) is a predetermined combination. In the present embodiment, the division when the sensor A = L (the pulse signal of the sensor A is Lo) and the sensor B = L (the pulse signal of the sensor B is Lo) is set as the starting points A to F. Appears every cycle. Further, +1 and −1 indicate division positions adjacent to the start points A to F in the front-rear direction.
また、以下の説明で、「正起点超え」とは、正流方向において、ある起点から次の分割へ変化することを意味し、「負起点超え」とは、逆流方向において、ある起点から次の分割へ変化することを意味する。 Further, in the following description, “beyond the positive starting point” means changing from a certain starting point to the next division in the forward flow direction, and “exceeding the negative starting point” means that from the certain starting point to the next in the reverse flow direction. Means change to splitting.
そして、流量信号Aがある起点から次の起点に達すると一回転パルス(流量信号Aの1周期)と判定されて、計量体積に基づいた所定量でバッファ値を更新している。また、起点以外の分割、たとえば、「起点D−1(分割No.12)」や「起点D+1(分割No.14)」は分割パルスと判定され、分割パルスの数などは後述する積算方法で用いられる。 When the flow rate signal A reaches the next start point from a certain start point, it is determined as one rotation pulse (one cycle of the flow rate signal A), and the buffer value is updated by a predetermined amount based on the measured volume. In addition, divisions other than the starting point, for example, “starting point D-1 (dividing No. 12)” and “starting point D + 1 (dividing No. 14)” are determined as divided pulses, and the number of divided pulses is determined by an integration method described later. Used.
なお、計量体積とは、ガス遮断装置内に構成された膜の往復運動によりガスを計量している際、たとえば、メータ筐体の大きさに基づいたガス通路を所定時間(たとえば、一回転パルス)毎に通過するガスの単位流量を指すものである。 Note that the metering volume refers to, for example, a gas passage based on the size of the meter housing for a predetermined time (for example, one rotation pulse) when the gas is measured by the reciprocating motion of the membrane configured in the gas shut-off device. ) Refers to the unit flow rate of the gas that passes through each time.
正逆判定部22は、流量検出部21の流量信号Aを受け取ると流量信号Aに基づいてガス流量の正逆方向(流量を計測しているガスの流れが正流方向または逆流方向であるか)を判定し、逆流方向であれば負パルス信号Bを、あるいは正流方向であれば正パルス信号Cを出力する。この流量信号Aのパルス信号のHi、Loの組合せが変化して、流量信号Aの分割が変わると、負パルス信号および正パルス信号は出力される。
When the forward /
具体的には、図3(2)に示すように、現在の流量信号Aが「起点D(分割No.13)」のセンサ出力状態(センサA=L、センサB=L)であった場合、正流方向であれば「正」に示すセンサ出力(パルス信号のHi、Lo)の組合せ(センサA=H(センサAのパルス信号がHiである)、センサB=L)となり、逆流方向であれば「負」に示すセンサ出力の組合せ(センサA=L、センサB=H(センサBのパルス信号がHiである))となることから正逆の判断をすることができる。 Specifically, as shown in FIG. 3B, when the current flow rate signal A is the sensor output state (sensor A = L, sensor B = L) of “starting point D (division No. 13)” If the forward flow direction, the combination of sensor outputs (pulse signal Hi, Lo) indicated as “positive” (sensor A = H (sensor A pulse signal is Hi), sensor B = L), the reverse flow direction If so, a combination of sensor outputs indicated as “negative” (sensor A = L, sensor B = H (the pulse signal of sensor B is Hi)) can be used to make a positive / reverse determination.
そして、正逆判定部22は負パルス信号Bおよび正パルス信号Cを負パルス判定部23及び正パルス判定部25のそれぞれに出力する。負パルス判定部23及び正パルス判定部25は、正パルス信号Cおよび負パルス信号Bを受け取り、正パルス信号Cを「+1」、負パルス信号Bを「−1」としてカウントし、現在の分割Noを求める。
Then, the forward /
また、正逆判定部22が負パルス信号Bを出力すると、負パルス判定部23は、正逆判定部22の負パルス信号Bを受け取る。そして、負パルス判定部23は、負パルス信号Bをカウントして、現在の分割Noが起点に到達したか否かを判定する。判定の結果、起点に達したときに、負パルス判定部23は、負起点越え信号Eの出力を停止して、負処理要求信号Dを出力する。さらに、負パルス判定部23は、現在の分割Noが起点を超えたか否か、即ち、図3(1)において、「起点D(分割No.13)から起点D−1(分割No.12)へ」、「起点C(分割No.9)から起点C−1(分割No.8)へ」、「起点B(分割No.5)から起点B−1(分割No.4)へ」等の変化が発生したかどうかを判定する。判定の結果、起点を超えたときに、負パルス判定部23は負起点越え信号Eを出力する。また、負パルス判定部23は、正要求判定部26からの負クリア信号Fを受け取ると、負起点越え信号Eをクリアする。
When the forward /
なお、1周期内では起点に相当するセンサ出力の組合せ(センサA=L、センサB=L)が1つしかないので、負パルス信号Bのカウントではなく各センサのパルス信号のHi、Loの組合せで1周期の判定を行ってもよい。また、逆流方向にガスが流れ続けると4つの分割パルス(分割)毎に起点が出現(「起点D(分割No.13)」→「起点C(分割No.9)」→「起点B(分割No.5)」)することとなる。 Since there is only one combination of sensor outputs (sensor A = L, sensor B = L) corresponding to the starting point within one cycle, the pulse signal Hi, Lo of each sensor is not counted but the negative pulse signal B is counted. One cycle may be determined in combination. When the gas continues to flow in the reverse flow direction, a starting point appears every four divided pulses (divided) (“starting point D (divided No. 13)” → “starting point C (divided No. 9)” → “starting point B (divided) No. 5) ").
負要求判定部24は、負パルス判定部23の負処理要求信号Dを受け取ると、正パルス判定部25の正起点越え信号Iがない場合には減算信号Gを出力し、また、正起点越え信号Iの有無に係わらず正クリア信号Jを出力する。
When the negative
一方、正逆判定部22が正パルス信号Cを出力すると、正パルス判定部25は、正逆判定部22の正パルス信号Cを受け取る。そして、正パルス判定部25は、正パルス信号Cをカウントして、現在の分割Noが起点に到達したか否かを判定する。判定の結果、起点に達したときに、正パルス判定部25は、正起点越え信号Iの出力を停止して、正処理要求信号Hを出力する。さらに、正パルス判定部25は、現在の分割Noが起点を超えるか否か、即ち、図3(1)において、「起点D(分割No.13)から起点D+1(分割No.14)へ」、「起点E(分割No.17)から起点E+1(分割No.18)へ」、「起点F(分割No.21)から起点F+1(分割No.22)へ」等の変化が発生したかどうかを判定する。判定の結果、起点を超えたときに、正パルス判定部25は正起点越え信号Iを出力する。また、正パルス判定部25は、負要求判定部24の正クリア信号Jを受け取ると、正起点越え信号Iをクリアする。
On the other hand, when the forward /
なお、1周期内では起点に相当するセンサ出力の組合せ(センサA=L、センサB=L)が1つしかないので、正パルス信号Cのカウントではなく各センサのパルス信号のHi、Loの組合せで1周期の判定を行ってもよい。また、正流方向にガスが流れ続けると4つの分割パルス(分割)毎に起点が出現(「起点D(分割No.13)」→「起点E(分割No.17)」→「起点F(分割No.21)」)することとなる。 Since there is only one combination of sensor outputs (sensor A = L, sensor B = L) corresponding to the starting point within one cycle, the pulse signals Hi and Lo of each sensor are not counted but the positive pulse signal C. One cycle may be determined in combination. When the gas continues to flow in the positive flow direction, a starting point appears every four divided pulses (divided) (“starting point D (divided No. 13)” → “starting point E (divided No. 17)” → “starting point F ( Division No. 21) ").
正要求判定部26は、正パルス判定部25の正処理要求信号Hを受け取ると、負パルス判定部23の負起点越え信号Eがない場合には加算信号Kを出力し、また、負起点越え信号Eの有無に係わらず負クリア信号Fを出力する。
When the positive
バッファ部27は、負要求判定部24の減算信号Gを受け取ると現在保持しているバッファ値から予め定められた第1の所定量(例えば、計量体積と同じ値でも良いし、計量体積に任意の係数を掛けて補正した値でも良い)を減算して新たなバッファ値として保持する。
When the
また、バッファ部27は、正要求判定部26の加算信号Kを取ると現在保持しているバッファ値に予め定められた第2の所定量(例えば、第1の所定量と同じでも良いし、計量体積に第1の所定量とは異なる任意の係数を掛けて補正した値でも良い)を加算して新たなバッファ値として保持し、加算後のバッファ値が予め定めていた積算単位値(例えば、計量体積でも良いし、1Lや10L等の任意の単位でも良い)を越えたときにバッファオーバ信号Lを出力し、加算後のバッファ値から積算単位値を差し引いて新たなバッファ値として保持し直す。
Further, the
この新たなバッファ値は積算単位値よりも小さな値の端数として保持されることとなる。例えば、第2の所定量=2.5L、積算単位値=1Lの場合は0.5(=2.5−1−1)がバッファ値として保持される。 This new buffer value is held as a fraction of a value smaller than the integration unit value. For example, when the second predetermined amount = 2.5L and the integration unit value = 1L, 0.5 (= 2.5-1-1) is held as the buffer value.
指針値保持部28は、バッファ部27のバッファオーバ信号Lを受け取ると現在保持している指針値に積算単位値を加算して新たな指針値として保持する。
When the pointer
このバッファオーバ信号Lは、例えば、バッファ値から積算単位値を複数回引いた場合には、複数の信号として出力されたものを受け取っても良いし、信号に重み付けをした情報として受け取っても良い。 For example, when the integration unit value is subtracted a plurality of times from the buffer value, the buffer over signal L may be received as a plurality of signals, or may be received as information weighted to the signals. .
また、指針値への積算単位値の加算方法としては、複数の信号として受け取ったときには信号を受け取る都度指針値に加算する方法とし、信号に重み付けをした情報として受け取ったときは重み付けに即した値を一挙に指針値に加算する方法とすることができる。 In addition, as a method of adding the integrated unit value to the guideline value, it is a method of adding to the guideline value every time a signal is received when it is received as a plurality of signals, and a value in accordance with the weighting when it is received as information weighting the signal Can be added to the guideline value all at once.
なお、起点越えの判定方法として、1周期内に起点と同じセンサ出力の組合せ(例えば、センサA=L、センサB=L)が複数発生するような構成の場合は、1周期内の負パルス信号および正パルス信号をカウントして、正逆方向毎に1周期分の分割パルス数に達したか否かで起点の到達の有無を判定し、さらに「起点となる分割パルス数+1」で正起点越えを判定し、かつ「起点となる分割パルス数の−1」で負起点越えに到達したか否かを判定することができる。 In addition, as a determination method for exceeding the starting point, in the case of a configuration in which a plurality of combinations of sensor outputs (for example, sensor A = L, sensor B = L) that are the same as the starting point are generated in one cycle, negative pulses in one cycle Signal and forward pulse signal are counted, and whether or not the starting point has been reached is determined based on whether or not the number of divided pulses for one cycle has been reached in each forward and reverse direction. It is possible to determine whether or not the starting point has been exceeded, and whether or not the negative starting point has been exceeded by “−1 of the number of divided pulses serving as the starting point”.
また、MRセンサのセンサ数は2つとは限らず、3つ以上(たとえば、図4に記載したように3つ)のセンサをMRセンサに用いても良い。このように、3つ以上のセンサをMRセンサに用いた場合であっても、上記と同様に起点および起点越えを判定することが可能である。 The number of MR sensors is not limited to two, and three or more (for example, three as described in FIG. 4) sensors may be used for the MR sensor. As described above, even when three or more sensors are used for the MR sensor, it is possible to determine the starting point and the starting point exceeded in the same manner as described above.
すなわち、起点を超えたか否かでバッファ部27のバッファ値の減算または加算の有無を判定してバッファ値の更新を行うことで、ガス流量と指針値のズレを防止することが可能となる。
That is, it is possible to prevent a deviation between the gas flow rate and the pointer value by determining whether or not the buffer value of the
次に、図3(3)分割パルスの入力パターンを用いてバッファ部27のバッファ値の挙動を以下で説明する。なお、以下の説明では、バッファ値を加減算する第1の所定量と第2の所定量は共に1Lとしている。この第1の所定量と第2の所定量は必ずしも同じになるとは限らないもので、正流方向と逆流方向の機構的な違いにより、異なる場合も有りうるものである。
Next, the behavior of the buffer value of the
(1)case1の場合
バッファ部27のバッファ値=0の状態で、「起点D(分割No.13)」から正流方向に流れ「起点D+1(分割No.14)」で正起点越えとなるため正パルス判定部25にて正起点越え信号Iが出力される。
(1)
その後も正流方向が続き分割No.14→分割No.15に至ったあと、逆流方向に流れが変わり分割No.15→分割No.14→分割No.13へと遷移して再び「起点D(分割No.13)」に至って負パルス判定部23で負起点越え信号Eの出力が停止し、負処理要求信号Dが出力されるが、負要求判定部24では正起点越え信号Iが出力されているので減算信号Gは出力されずバッファ部27のバッファ値は「0」のままとなり、正クリア信号Jにより正パルス判定部25の正起点越え信号Iの出力が停止される。
After that, the positive flow direction continued and division No. 14 → Division No. After reaching 15, the flow changes in the reverse flow direction and the split No. 15-> division No. 14 → Division No. 13 to reach the “starting point D (division No. 13)” again, the negative
更に、起点D(分割No.13)に至った後も逆流方向に流れているので「起点D−1(分割No.12)」で負起点越えとなるため負パルス判定部23にて負起点越え信号Eが出力される。 Further, since the flow continues in the reverse flow direction after reaching the starting point D (division No. 13), the negative starting point is exceeded at “starting point D-1 (division No. 12)”. A crossing signal E is output.
その後も逆流方向が続き分割No.12→分割No.11に至ったあと、正流方向に流れが再び変わり分割No.11→分割No.12→分割No.13と遷移し、再々度「起点D(分割No.13)」に至り正パルス判定部25で正起点越え信号Iの出力が停止し正処理要求信号Hが出力されるが、正要求判定部26では負起点越え信号Eが出力されているので加算信号Kは出力されずバッファ部27のバッファ値は「0」のままとなり、負クリア信号Fにより負パルス判定部23の負起点越え信号Eの出力が停止されることとなる。
After that, the reverse flow direction continued and division No. 12 → Division No. After reaching No. 11, the flow changes again in the forward flow direction, and the split No. 11-> division No. 12 → Division No. 13, and again reaches “start point D (division No. 13)”, the positive
以上のように、ある起点を中心として、前後の起点に至らないような正逆方向の流量変化が発生した場合において、バッファ値が増減することがなく、正しい積算を行うことができる。 As described above, when a flow rate change in the forward / reverse direction that does not reach the preceding and following starting points occurs around a certain starting point, the buffer value does not increase or decrease, and correct integration can be performed.
(2)case2の場合
バッファ部27のバッファ値=0の状態で、「起点D(分割No.13)」から正流方向に流れたので「起点D+1(分割No.14)」で正起点越えとなるため正パルス判定部25にて正起点越え信号Iが出力される。
(2)
その後も正流方向が続き分割No.14→分割No.15に至ったあと、逆流方向に流れが変わり分割No.15→分割No.14→分割No.13と遷移して再び「起点D(分割No.13)」に至って負パルス判定部23で負起点越え信号Eの出力が停止し負処理要求信号Dが出力されるが、負要求判定部24では正起点越え信号Iが出力されているので減算信号Gは出力されずバッファ部27のバッファ値は「0」のままとなり、正クリア信号Jにより正パルス判定部25の正起点越え信号Iの出力が停止される。
After that, the positive flow direction continued and division No. 14 → Division No. After reaching 15, the flow changes in the reverse flow direction and the split No. 15-> division No. 14 → Division No. 13, and again reaches “starting point D (division No. 13)”, the negative
さらに、起点D(分割No.13)に至った後も逆流方向に流れているので「起点D−1(分割No.12)」で負起点越えとなるため負パルス判定部23にて負起点越え信号Eが出力される。 Further, since the flow continues in the reverse flow direction after reaching the starting point D (division No. 13), the negative starting point is exceeded at the “starting point D-1 (division No. 12)”. A crossing signal E is output.
その後も逆流方向が続き分割No.12→分割No.11→分割No.10→分割No.9と遷移し、新たな「起点C(分割No.9)」に至って負パルス判定部23で負起点越え信号Eの出力が停止し負処理要求信号Dが出力される。
After that, the reverse flow direction continued and division No. 12 → Division No. 11-> division No. 10 → Division No. 9 to reach a new “starting point C (division No. 9)”, the negative
このとき、負要求判定部24では正起点越え信号Iは既に出力が停止されているので減算信号Gが出力され、バッファ部27のバッファ値は「−1(=0−1)」となり、正クリア信号Jにより正パルス判定部25の正起点越え信号Iの出力が停止(実際には既に出力は停止されている)されることとなる。
At this time, since the negative
さらに、起点C(分割No.9)に至った後も逆流方向に流れているので「起点C−1(分割No.8)」で負起点越えとなるため負パルス判定部23にて負起点越え信号Eが再び出力される。 Further, since the flow continues in the reverse flow direction after reaching the starting point C (division No. 9), the negative starting point is exceeded at “starting point C-1 (division No. 8)”. The excess signal E is output again.
その後、正流方向に流れが変わり再び「起点C(分割No.9)」に至って正パルス判定部25で正起点越え信号Iの出力が停止し正処理要求信号Hが出力されるが、正要求判定部26では負起点越え信号Eが出力されているので加算信号Kは出力されずバッファ部27のバッファ値は「−1」のまま、負クリア信号Fにより負パルス判定部23の負起点越え信号Eの出力が停止されることとなる。
Thereafter, the flow changes in the positive flow direction and reaches “start point C (division No. 9)” again, and the positive
さらに、起点C(分割No.9)に至った後も正流方向に流れているので「起点C+1(分割No.10)」で正起点越えとなるため正パルス判定部25にて正起点越え信号Iが出力される。その後も正流方向が続き分割No.10→分割No.11→分割No.12→分割No.13と遷移し、再び「起点D(分割No.13)」に至って正パルス判定部25で正起点越え信号Iの出力が停止し正処理要求信号Hが出力される。
Further, even after reaching the starting point C (division No. 9), the flow continues in the positive flow direction, so that the positive starting point is exceeded at “starting point C + 1 (division No. 10)”. Signal I is output. After that, the positive flow direction continued and division No. 10 → Division No. 11-> division No. 12 → Division No. 13, the “starting point D (division No. 13)” is reached again, and the positive
このとき、正要求判定部26では負起点越え信号Eは既に出力が停止されているので加算信号Kが出力され、バッファ部27のバッファ値は「0(=−1+1)」となり、負クリア信号Fにより負パルス判定部23の負起点越え信号Eの出力が停止(実際には既に出力は停止されている)されることとなる。
At this time, since the output of the negative start point excess signal E has already been stopped in the positive
そして、起点D(分割No.13)に至った後も引き続き正流方向に流れているので「起点D+1(分割No.14)」で正起点越えとなるため正パルス判定部25にて正起点越え信号Iが出力される。
Since the current continues to flow in the positive flow direction after reaching the starting point D (division No. 13), the positive starting point is exceeded by the positive
その後も正流方向が続き分割No.14→分割No.15→分割No.16→分割No.17と遷移し、新たな「起点E(分割No.17)」に至って正パルス判定部25で正起点越え信号Iの出力が停止し正処理要求信号Hが出力される。
After that, the positive flow direction continued and division No. 14 → Division No. 15-> division No. 16 → No. 17, a new “starting point E (division No. 17)” is reached, and the positive
このとき正要求判定部26では負起点越え信号Eは既に出力が停止されているので加算信号Kが出力され、バッファ部27のバッファ値は「1(=0+1)」となり、負クリア信号Fにより負パルス判定部23の負起点越え信号Eの出力が停止されることとなる。
At this time, since the output of the negative start point excess signal E has already been stopped in the positive
以上のように、ある起点から逆流側の起点に達した後、その起点を超えた後に、正流方向に流れが転じ、再びある起点を超えて正流方向の起点を超えた場合において、正しい積算を行うことができる。 As described above, after reaching the starting point on the reverse flow side from a certain starting point, after the starting point is exceeded, the flow turns in the forward flow direction, and again exceeds the starting point in the forward flow direction beyond a certain starting point. Integration can be performed.
(3)case3の場合
バッファ部27のバッファ値=0の状態で、「起点D(分割No.13)」から正流方向に流れて「起点D+1(分割No.14)」となり正起点越えとなるため正パルス判定部25にて正起点越え信号Iが出力される。
(3)
その後も正流方向が続き分割No.14→分割No.15に至ったあと、逆流方向に流れが変わり分割No.15→分割No.14→分割No.13と遷移して再び「起点D(分割No.13)」に至って負パルス判定部23で負起点越え信号Eの出力が停止し負処理要求信号Dが出力されるが、負要求判定部24では正起点越え信号Iが出力されているので減算信号Gは出力されずバッファ部27のバッファ値は「0」のままで、正クリア信号Jにより正パルス判定部25の正起点越え信号Iの出力が停止される。
After that, the positive flow direction continued and division No. 14 → Division No. After reaching 15, the flow changes in the reverse flow direction and the split No. 15-> division No. 14 → Division No. 13, and again reaches “starting point D (division No. 13)”, the negative
さらに、起点Dに至った後も逆流方向に流れて「起点D−1(分割No.12)」で負起点越えとなるため負パルス判定部23にて負起点越え信号Eが出力される。
Further, after reaching the starting point D, the negative starting point exceeding signal E is output from the negative
その後も逆流方向が続き分割No.12→分割No.11→分割No.10→分割No.9と遷移し、新たな「起点C(分割No.9)」に至って負パルス判定部23で負起点越え信号Eの出力が停止し負処理要求信号Dが出力される。
After that, the reverse flow direction continued and division No. 12 → Division No. 11-> division No. 10 → Division No. 9 to reach a new “starting point C (division No. 9)”, the negative
このとき負要求判定部24では正起点越え信号Iは既に出力が停止されているので減算信号Gが出力され、バッファ部27のバッファ値は「−1(=0−1)」となり、正クリア信号Jにより正パルス判定部25の正起点越え信号Iの出力が停止(実際には既に出力は停止されている)されることとなる。
At this time, the negative
その後、再び正流方向に流れが変わり分割No.9→分割No.10→分割No.11→分割No.12→分割No.13と遷移し、再び「起点D(分割No.13)」に至って正パルス判定部25で正起点越え信号Iの出力が停止し正処理要求信号Hが出力される。
After that, the flow changes again in the forward flow direction, and the split No. 9 → Division No. 10 → Division No. 11-> division No. 12 → Division No. 13, the “starting point D (division No. 13)” is reached again, and the positive
このとき正要求判定部26では負起点越え信号Eは既に出力が停止(実際には新たな負起点越え信号Eは発生していない)されているので加算信号Kが出力され、バッファ部27のバッファ値は「0(=−1+1)」となり、負クリア信号Fにより負パルス判定部23の負起点越え信号Eの出力が停止されることとなる。
At this time, the positive
そして、引き続き正流方向に流れているので「起点D+1(分割No.14)」で起点越えとなるため正パルス判定部25にて正起点越え信号Iが出力される。
Since the current continues to flow in the positive direction, the starting point is exceeded at “starting point D + 1 (division No. 14)”, so that the positive
その後も正流方向が続き分割No.14→分割No.15→分割No.16→分割No.17と遷移し、新たな「起点E(分割No.17)」に至って正パルス判定部25で正起点越え信号Iの出力が停止し正処理要求信号Hが出力される。
After that, the positive flow direction continued and division No. 14 → Division No. 15-> division No. 16 → No. 17, a new “starting point E (division No. 17)” is reached, and the positive
このとき正要求判定部26では負起点越え信号Eは既に出力が停止されているので加算信号Kが出力され、バッファ部27のバッファ値は「1(=0+1)」となり、負クリア信号Fにより負パルス判定部23の負起点越え信号Eの出力が停止(実際には既に出力は停止されている)されることとなる。
At this time, since the output of the negative start point excess signal E has already been stopped in the positive
以上のように、ある起点から逆流側の起点に達した後、その起点を超えずに正流方向に流れが転じ、再びある起点を超えて正流方向の起点を超えた場合において、正しい積算を行うことができる。 As described above, after reaching the starting point on the reverse flow side from a certain starting point, the flow turns in the forward flow direction without exceeding that starting point, and again when the starting point in the forward flow direction is exceeded beyond a certain starting point, the correct integration It can be performed.
次に、本実施の形態と比較するために、起点越え時、即ち、ある起点から起点に隣接の分割Noに至った場合にバッファ値を増減する方式をcase4として、逆に、起点に隣接する分割Noから起点に至った時にバッファ値を無条件に増減する方式をcase5として参考として以下説明する。
Next, in order to compare with the present embodiment, when the starting point is exceeded, that is, when the division number adjacent to the starting point is reached from a certain starting point, the method of increasing / decreasing the buffer value is set as
(4)case4の場合
バッファ値=0の状態で、「起点D(分割No.13)」から正流方向に流れたので「起点D+1(分割No.14)」で正起点越えとなるためバッファ値が加算(1(=0+1))される。その後も正流方向が続き分割No.14→分割No.15に至ったあと、逆流方向に流れが変わり分割No.15→分割No.14→分割No.13→分割No.12と遷移して「起点D−1(分割No.12)」で負起点越えとなるためバッファ値が減算(0(=1−1))される。その後正流方向に流れが変わり分割No.12→分割No.13→分割No.14と遷移し、再び「起点D+1(分割No.14)」で正起点越えとなるためバッファ値が加算(1(=0+1))される。
(4)
この場合、動作開始直後にバッファ値が加算されることを除けばバッファ値は追従しているように見受けられるが、分割No.13→分割No.14→分割No.13→分割No.14・・・と繰り返せばバッファ値は加算され続け、あるいは分割No.13→分割No.12→分割No.13→分割No.12・・・と繰り返せばバッファ値は減算され続けることとなる。 In this case, the buffer value seems to follow, except that the buffer value is added immediately after the start of the operation. 13 → Division No. 14 → Division No. 13 → Division No. 14 and so on, the buffer value continues to be added, or the division number. 13 → Division No. 12 → Division No. 13 → Division No. Repeating 12 ... will continue to subtract the buffer value.
即ち、起点越え時にバッファ値を増減する方式であれば、ある起点と隣の分割Noとの間を繰り返すような流量変動が発生した場合に、積算または減算の一方が繰り返されることになり、実際の積算値と誤差を生じることとなる。 That is, if the buffer value is increased / decreased when the starting point is exceeded, one of integration or subtraction is repeated when a flow rate fluctuation occurs between a certain starting point and the adjacent division number. Will cause an error with the integrated value.
(5)case5の場合
バッファ値=0の状態で「起点D(分割No.13)」から正流方向に流れたので分割No.13→分割No.14→分割No.15に至ったあと、逆流方向に流れが変わり分割No.15→分割No.14→分割No.13と遷移して再び「起点D(分割No.13)」に至ってバッファ値が減算(−1(=0−1))される。
(5)
その後、再び正流方向に流れが変わり分割No.13→分割No.14→分割No.15→分割No.16→分割No.17と遷移し、新たな「起点E(分割No.17)」に至ってバッファ値が加算(0(=−1+1))される。 After that, the flow changes again in the forward flow direction, and the split No. 13 → Division No. 14 → Division No. 15-> division No. 16 → No. 17, the buffer value is added (0 (= -1 + 1)) after reaching a new "starting point E (division No. 17)".
この場合、動作開始の最初の起点に至った時にバッファ値が減算されることを除けばバッファ値は追従しているように見受けられるが、分割No.14→分割No.13→分割No.14→分割No.13・・・と繰り返せばバッファ値は減算され続け、あるいは分割No.16→分割No.17→分割No.16→分割No.17・・・と繰り返せばバッファ値は加算され続けることとなる。 In this case, the buffer value seems to follow except that the buffer value is subtracted when the first starting point of the operation is reached. 14 → Division No. 13 → Division No. 14 → Division No. 13 is repeated, the buffer value continues to be subtracted, or the division No. 16 → No. 17 → Division No. 16 → No. If it repeats 17 ..., the buffer value will continue to be added.
即ち、起点に至った時にバッファ値を無条件に増減する方式であれば、ある起点と隣の分割Noとの間を繰り返すような流量変動が発生した場合に、積算または減算の一方が繰り返されることになり、実際の積算値と誤差を生じることとなる。 That is, if the buffer value is unconditionally increased / decreased when the starting point is reached, one of integration or subtraction is repeated when a flow rate fluctuation that repeats between a certain starting point and the adjacent division number occurs. As a result, an error occurs with the actual integrated value.
本願の発明は、上記case4やcase5の不具合を考慮して改善し、起点近辺を行き来してもcase1のようにバッファ値の増減を繰り返さず、かつcase2やcase3のように起点に至ったときにバッファ値を増減可能にすることでガス通路を流れた実流量値と指針値のズレを防止したものである。
The invention of the present application is improved in consideration of the above problems of
なお、ガス遮断装置として必要な遮断機能は、流量検出部21、正逆判定部22、正パルス判定部25、流量演算部31、異常判定部32、弁33とから構成され、以下にその役割を記載する。
In addition, the interruption | blocking function required as a gas interruption | blocking apparatus is comprised from the flow
なお、流量検出部21、正逆判定部22、正パルス判定部25の動作は前述しているので記載を省略する。
Since the operations of the flow
流量演算部31は、正パルス判定部25から正処理要求信号Hを受け取ると流量値(例えば単位時間当たりの正処理要求信号Hの出力回数から算出しても良い)を算出し流量値信号Mを出力する。
When the flow
異常判定部32は、予め保持している判定値(例えば、ガスが大量に漏れた時の判定値等)と流量演算部31から取得した流量値信号Mの値を比較して異常(例えば、ガス漏れを判定する判定値を越えているか否か)の有無を判定し、異常であれば弁駆動信号Nを出力し、異常でなければ弁駆動信号Nを出力しない。弁33は、異常判定部32からの弁駆動信号Nを取得するとガス通路を閉栓する。
The
そして、この遮断機能によりガス使用者の安全性と利便性が担保されている。 And the safety | security and convenience of a gas user are ensured by this interruption | blocking function.
次に、図2に示す実施の形態1のプログラムフローチャート(処理S01から処理S29にて示す)を用いて処理の流れを説明する。ここで処理開始後は各処理を経由して再び処理S01に戻り周期的に処理されるものとする。 Next, the flow of processing will be described using the program flowchart (shown in steps S01 to S29) of the first embodiment shown in FIG. Here, it is assumed that after the start of the process, the process returns to the process S01 again through each process and is processed periodically.
流量検出部21において処理S01は、ガス通路内を通過するガス流量を流量信号Aであるパルス信号として検出し、ガス流量に基づいた流量信号Aを出力して処理S02へ移行する。
In the flow
正逆判定部22において処理S02は、流量検出部21の流量信号Aを受け取るとセンサ出力(ガス流量)の変化を図3(2)に示す正逆方向の判断方法に基づいて判定する。そして、新たに取得した流量信号Aが前回取得した流量信号Aと同じ出力状態の組合せのときに処理S01に移行して再度新たな流量信号Aを取得し、新たに取得した流量信号Aが前回取得した流量信号Aと異なる出力状態の組合せのときに処理S03に移行する。
When the flow rate signal A of the flow
処理S03は、図3(2)の「負」に示すセンサ出力の組合せ(センサA=L、センサB=H)であれば、逆流方向であるとして負パルス信号Bを出力して処理S04へ移行し、「正」に示すセンサ出力の組合せ(センサA=H、センサB=L)であれば、正流方向であるとして正パルス信号Cを出力して処理S10へ移行する。 If the sensor output combination (sensor A = L, sensor B = H) shown in “Negative” in FIG. 3 (2) is the process S03, the negative pulse signal B is output as the reverse flow direction and the process proceeds to the process S04. If the combination of the sensor outputs indicated as “positive” (sensor A = H, sensor B = L), the positive pulse signal C is output as the positive flow direction, and the process proceeds to step S10.
負パルス判定部23において処理S04は、正逆判定部22の負パルス信号Bを受け取ると負パルス信号Bをカウントし起点に到達したか否かを判定し、起点に達したときに処理S05へ移行し、起点に達していなければ処理S07へ移行する。
In the negative
処理S05は、負起点越え信号Eの出力を停止して処理S06へ移行し、処理S06は負処理要求信号Dを出力して処理S16へ移行する。 The process S05 stops the output of the negative starting point crossing signal E and proceeds to the process S06, and the process S06 outputs the negative process request signal D and proceeds to the process S16.
処理S07は、負処理要求信号Dの出力を停止して処理S08へ移行する。処理S08は起点を超えるか否かを判定し、起点を超えたときに処理S09へ移行し、起点を超えた直後でなければ処理S01へ移行する。処理S09は負起点越え信号Eを出力して処理S16へ移行する。 In process S07, the output of the negative process request signal D is stopped, and the process proceeds to process S08. In step S08, it is determined whether or not the starting point is exceeded. When the starting point is exceeded, the process proceeds to step S09, and when the starting point is not exceeded, the process proceeds to step S01. In step S09, the negative start point excess signal E is output, and the process proceeds to step S16.
負要求判定部24において処理S16は、負パルス判定部23の負処理要求信号Dを受け取っていれば処理S17へ移行し、負処理要求信号Dを受け取っていなければ処理S21へ移行する。
In the negative
処理S17は、正パルス判定部25の正起点越え信号Iがない場合には処理S18へ移行し、正起点越え信号Iがある場合には処理S19へ移行する。
Processing S17 proceeds to processing S18 when there is no positive origin exceeding signal I of the positive
処理S18は、減算信号Gを出力して、バッファ部27において負要求判定部24の減算信号Gを受け取ると現在保持しているバッファ値から予め定められた第1の所定量(例えば、計量体積と同じ値でも良いし、計量体積に任意の係数を掛けて補正した値でも良い)を減算して新たなバッファ値として保持して処理S19へ移行する。
The process S18 outputs a subtraction signal G and receives a subtraction signal G from the negative
処理S19は、正起点越え信号Iの有無に係わらず正クリア信号Jを出力し、正パルス判定部25において負要求判定部24の正クリア信号Jを受け取ると正起点越え信号Iの出力を停止して処理S20へ移行する。
The process S19 outputs the positive clear signal J regardless of the presence or absence of the positive origin crossing signal I, and stops the output of the positive origin crossing signal I when the positive
負パルス判定部23において処理S20は、負処理要求信号Dの出力を停止して処理S26へ移行する。
In the negative
正パルス判定部25において処理S10は、正逆判定部22の正パルス信号Cを受け取ると正パルス信号Cをカウントし起点に到達したか否かを判定し、起点に達したときに処理S11へ移行し、起点に達していなければ処理S13へ移行する。
When the forward
処理S11は、正起点越え信号Iの出力を停止して処理S12へ移行し、処理S12は正処理要求信号Hを出力して処理S16へ移行する。 The process S11 stops the output of the positive origin point crossing signal I and proceeds to the process S12, and the process S12 outputs the correct process request signal H and proceeds to the process S16.
処理S13は、正処理要求信号Hの出力を停止して処理S14へ移行する。処理S14は起点を超えるか否かを判定し、起点を超えたときに処理S15へ移行し、起点を超えた直後でなければ処理S01へ移行する。 In process S13, the output of the normal process request signal H is stopped, and the process proceeds to process S14. In step S14, it is determined whether or not the starting point is exceeded. When the starting point is exceeded, the process proceeds to step S15. When the starting point is not immediately exceeded, the process proceeds to step S01.
処理S15は、正起点越え信号Iを出力して処理S16へ移行する。 In step S15, the positive origin point crossing signal I is output and the process proceeds to step S16.
正要求判定部26において処理S21は、正パルス判定部25の正処理要求信号Hを受け取っていれば処理S22へ移行し、正処理要求信号Hを受け取っていなければ処理S01へ移行する。
In the positive
処理S22は、負パルス判定部23の負起点越え信号Eがない場合には処理S23へ移行し、負起点越え信号Eがある場合には処理S24へ移行する。
The process S22 proceeds to the process S23 when there is no negative starting point crossing signal E of the negative
処理S23は、加算信号Kを出力して、バッファ部27において正要求判定部26の加算信号Kを取ると現在保持しているバッファ値に予め定められた第2の所定量を加算して新たなバッファ値として保持して処理S24へ移行する。
The process S23 outputs the addition signal K, and when the
処理S24は、負起点越え信号Eの有無に係わらず負クリア信号Fを出力し、負パルス判定部23において正要求判定部26の負クリア信号Fを受け取ると負起点越え信号Eの出力を停止して処理S25へ移行する。
The process S24 outputs the negative clear signal F regardless of the presence or absence of the negative starting point crossing signal E, and stops the output of the negative starting point crossing signal E when the negative
正パルス判定部25において処理S25は、正処理要求信号Hの出力を停止して処理S26へ移行する。
In the positive
バッファ部27において処理S26は、加算後のバッファ値が予め定めていた積算単位値を越えたときにバッファオーバ信号Lを出力して処理S27へ移行し、積算単位値を越えていなければバッファオーバ信号Lの出力を停止して処理S01へ移行する。
In the
処理S27は、加算後のバッファ値から積算単位値を差し引いて新たなバッファ値として保持し直して処理S28へ移行する。 In the process S27, the integration unit value is subtracted from the buffer value after the addition and is held again as a new buffer value, and the process proceeds to the process S28.
指針値保持部28において処理S28は、バッファ部27のバッファオーバ信号Lを受け取ると現在保持している指針値に積算単位値を加算して新たな指針値として保持新たな指針値として保持して処理S29へ移行する。
When the pointer
処理S29は、保持している指針値の値をLCD等の表示デバイスで表示して処理S01へ移行する。 In process S29, the value of the stored pointer value is displayed on a display device such as an LCD, and the process proceeds to process S01.
以上のように、本実施の形態において、図3(3)に記載したように起点に達した時点でバッファ値を増減させるようにしても、供給ガスの圧力変動に伴う脈動により、例えば「起点D(分割No.13)」の近辺を行き来しただけではバッファ値の増減を繰り返さないようにすると共に、起点から次の起点(例えば「起点D(分割No.13)」と「起点E(分割No.17)」)の1回転パルスが計れた時点でバッファ値を増減可能にすることで体積流量に基づく第1の所定量と第2の所定量の加減算を実施することが可能となり、ガス通路を流れた実流量値と指針値のズレを防止し指針値の精度を向上させることができる。 As described above, in the present embodiment, even if the buffer value is increased or decreased when reaching the starting point as described in FIG. 3 (3), for example, the “starting point” is caused by the pulsation accompanying the pressure fluctuation of the supply gas. The buffer value is not repeatedly increased or decreased just by moving around the vicinity of “D (division No. 13)”, and from the starting point to the next starting point (for example, “starting point D (division No. 13)” and “starting point E (division) No. 17) ”)) When one rotation pulse is measured, the buffer value can be increased / decreased, so that addition / subtraction of the first predetermined amount and the second predetermined amount based on the volume flow rate can be performed. Deviation between the actual flow value flowing through the passage and the guide value can be prevented, and the accuracy of the guide value can be improved.
この結果、逆流方向の流量を伴う瞬時流量を計測できない膜式であっても単純に起点到達時にバッファ値の加減算を実施することを防止し、バッファ部のバッファ値を適正化できるようになるため精度と利便性を向上させることができる。 As a result, even in the case of a membrane type that cannot measure the instantaneous flow rate with the flow rate in the reverse flow direction, it is possible to simply prevent the buffer value from being added or subtracted when the starting point is reached and to optimize the buffer value of the buffer unit. Accuracy and convenience can be improved.
以上のように、本発明にかかるガス遮断装置は逆流方向の流量を伴う瞬時流量を取得できない計測方法であっても相殺バッファを用いることで実流量値と指針値のズレを防止し改善することが可能となるので、ガスを水等に置き換えれば、水道メータ等の用途にも適用できる。 As described above, the gas shutoff device according to the present invention prevents and improves the deviation between the actual flow rate value and the pointer value by using the canceling buffer even in the measurement method that cannot acquire the instantaneous flow rate with the flow rate in the reverse flow direction. Therefore, if the gas is replaced with water or the like, it can be applied to uses such as a water meter.
21 流量検出部
22 正逆判定部
23 負パルス判定部
24 負要求判定部
25 正パルス判定部
26 正要求判定部
27 バッファ部
28 指針値保持部
DESCRIPTION OF
Claims (1)
前記流量信号に基づき前記ガス流量の正逆方向を判定し、逆流方向であれば負パルス信号を、正流方向であれば正パルス信号を出力する正逆判定部と、
前記複数のパルス信号のHi,Loの組み合わせが所定の組み合わせとなる状態を起点とするとき、前記負パルス信号をカウントし、逆流方向側の起点に到達したときに負処理要求信号を出力し、さらに前記逆流方向側の起点を超えたときに負起点越え信号を出力し、負クリア信号を受け取ると前記負起点越え信号の出力を停止する負パルス判定部と、
前記負処理要求信号を受け取ると、正起点越え信号がない場合には減算信号を出力し、前記正起点越え信号の有無に係わらず正クリア信号を出力する負要求判定部と、
前記正パルス信号をカウントし、正流方向側の起点に到達したときに正処理要求信号を出力し、さらに前記正流方向側の起点を超えたときに前記正起点越え信号を出力し、前記正クリア信号を受け取ると前記正起点越え信号の出力を停止する正パルス判定部と、
前記正処理要求信号を受け取ると、前記負起点越え信号がない場合には加算信号を出力し、前記負起点越え信号の有無に係わらず前記負クリア信号を出力する正要求判定部と、
前記減算信号を受け取ると現在保持しているバッファ値から予め定められた第1の所定量を減算して新たなバッファ値として保持し、前記加算信号を受け取ると現在保持しているバッファ値に予め定められた第2の所定量を加算して新たなバッファ値として保持し、加算後のバッファ値が予め定めていた積算単位値を越えたときにバッファオーバ信号を出力して加算後のバッファ値から前記積算単位値を差し引いて新たなバッファ値として保持し直すバッファ部と、
前記バッファオーバ信号を受け取ると現在保持している指針値に前記積算単位値を加算して新たな指針値として保持する指針値保持部と、を備えたことを特徴としたガス遮断装置。 A flow rate detector for outputting a plurality of pulse signals based on the gas flow rate passing through the gas passage as a flow rate signal;
A forward / reverse determination unit that determines a forward / reverse direction of the gas flow rate based on the flow rate signal, outputs a negative pulse signal if the flow direction is backward, and outputs a positive pulse signal if the direction is the forward flow direction,
When the starting point is a state where the combination of Hi and Lo of the plurality of pulse signals is a predetermined combination, the negative pulse signal is counted, and a negative processing request signal is output when the starting point on the reverse flow direction side is reached, Further, when the starting point on the reverse flow direction side is exceeded, a negative starting point exceeding signal is output, and when a negative clear signal is received, the negative pulse determining unit that stops outputting the negative starting point exceeding signal,
When receiving the negative processing request signal, when there is no signal over the positive origin, outputs a subtraction signal, a negative request determination unit that outputs a positive clear signal regardless of the presence of the signal over the positive origin, and
Counting the positive pulse signal, outputting a positive processing request signal when reaching the starting point on the positive flow direction side, and further outputting the positive starting point excess signal when exceeding the starting point on the positive flow direction side, A positive pulse determination unit that stops the output of the positive origin point exceeding signal when receiving a positive clear signal;
When the positive processing request signal is received, an addition signal is output when there is no signal exceeding the negative starting point, and a positive request determining unit that outputs the negative clear signal regardless of the presence or absence of the negative starting point exceeding signal;
When the subtraction signal is received, a predetermined first predetermined amount is subtracted from the currently held buffer value and held as a new buffer value. When the addition signal is received, the buffer value currently held is preliminarily stored. A predetermined second predetermined amount is added and held as a new buffer value. When the added buffer value exceeds a predetermined integration unit value, a buffer over signal is output and the added buffer value A buffer unit that subtracts the integration unit value from the data and stores it again as a new buffer value;
A gas shut-off device, comprising: a pointer value holding section that adds the integrated unit value to a currently held pointer value when the buffer over signal is received and holds the pointer value as a new pointer value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013107913A JP6037937B2 (en) | 2013-05-22 | 2013-05-22 | Gas shut-off device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013107913A JP6037937B2 (en) | 2013-05-22 | 2013-05-22 | Gas shut-off device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014228379A JP2014228379A (en) | 2014-12-08 |
JP6037937B2 true JP6037937B2 (en) | 2016-12-07 |
Family
ID=52128352
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013107913A Active JP6037937B2 (en) | 2013-05-22 | 2013-05-22 | Gas shut-off device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6037937B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021063692A (en) * | 2019-10-11 | 2021-04-22 | アズビル金門株式会社 | Flowmeter and flow volume measurement method |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS4939708B1 (en) * | 1969-12-02 | 1974-10-28 | ||
JPS6015182Y2 (en) * | 1978-11-10 | 1985-05-14 | 三洋電機株式会社 | Rotating body rotation direction discrimination circuit |
JPS5658333A (en) * | 1979-10-19 | 1981-05-21 | Ricoh Co Ltd | Counting circuit |
JPS56117172A (en) * | 1980-02-20 | 1981-09-14 | Kazuo Oike | Detector for forward-backward rotating quantity |
JPS59135415U (en) * | 1983-03-01 | 1984-09-10 | 日本電気株式会社 | Rotation detection circuit to prevent false counting |
JPS6239338U (en) * | 1985-08-28 | 1987-03-09 | ||
JPS6257987A (en) * | 1985-09-05 | 1987-03-13 | 株式会社ブリヂストン | Treatment for impoving fatique resistance of 4, 6-nylon |
JP2579834B2 (en) * | 1990-10-22 | 1997-02-12 | 日東精工株式会社 | Flow meter abnormality determination method |
JP3361965B2 (en) * | 1997-09-01 | 2003-01-07 | 三菱電機株式会社 | Flowmeter |
JP4442152B2 (en) * | 2003-08-06 | 2010-03-31 | パナソニック株式会社 | Gas shut-off device |
-
2013
- 2013-05-22 JP JP2013107913A patent/JP6037937B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2014228379A (en) | 2014-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6037937B2 (en) | Gas shut-off device | |
EP3584541B1 (en) | Initialization method and initialization device | |
JP5478477B2 (en) | Meter system | |
JP4956342B2 (en) | Gas shut-off device | |
JP5584634B2 (en) | Angular velocity detection device and angular velocity error detection method | |
KR101073239B1 (en) | Gas interrupting device | |
KR20000053750A (en) | The electronic water guage | |
JP2008267995A (en) | Flow presence determining method in gas meter | |
US6542832B1 (en) | Error detection and correction system for use with dual-pulse output metering devices | |
KR20150008650A (en) | Motor controller | |
US7046172B2 (en) | Dual optical angular encoder | |
JP5147473B2 (en) | Flow measuring device | |
JP5150537B2 (en) | Error detection method in gas meter and flow measurement | |
JP6031170B1 (en) | Flow rate measurement method | |
JP3203782B2 (en) | Flow measurement device | |
JP2010008200A (en) | Gas meter | |
JP2005300178A (en) | Water meter | |
JP6528120B2 (en) | Gas meter evaluation system and gas meter used therefor | |
JP6180623B2 (en) | Vehicle speed sensor failure detection device and control method thereof | |
JP2009250823A (en) | Flowmeter | |
JP2002221439A (en) | Electronic water service meter system | |
US9483231B2 (en) | Signal processing device and method | |
CN107543589B (en) | Metering device | |
JP2003042442A (en) | Gas circuit breaker | |
KR100417946B1 (en) | Determining meterage method of gas meter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160127 |
|
TRDD | Decision of grant or rejection written | ||
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20161012 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20161025 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20161101 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6037937 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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |