JP4392108B2 - Gas meter - Google Patents

Gas meter Download PDF

Info

Publication number
JP4392108B2
JP4392108B2 JP2000112265A JP2000112265A JP4392108B2 JP 4392108 B2 JP4392108 B2 JP 4392108B2 JP 2000112265 A JP2000112265 A JP 2000112265A JP 2000112265 A JP2000112265 A JP 2000112265A JP 4392108 B2 JP4392108 B2 JP 4392108B2
Authority
JP
Japan
Prior art keywords
gas
flow rate
sampling time
time
predetermined
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000112265A
Other languages
Japanese (ja)
Other versions
JP2001296160A (en
Inventor
一博 牛嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yazaki Corp
Original Assignee
Yazaki Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yazaki Corp filed Critical Yazaki Corp
Priority to JP2000112265A priority Critical patent/JP4392108B2/en
Publication of JP2001296160A publication Critical patent/JP2001296160A/en
Application granted granted Critical
Publication of JP4392108B2 publication Critical patent/JP4392108B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Measuring Volume Flow (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ガスメータに関し、より詳細には、フローセンサなどの流量測定手段がガス供給ラインを通過するガス流量に応じて発する流量信号を所定サンプリング時間毎に読み取り、その流量信号に基づいてガスの流量を計測するガスメータに関するものである。
【0002】
【従来の技術】
一般的なガス供給系統の概要構成を図7を参照して説明する。
ガス供給系統10は、液化ガスを貯留するためのガス容器1と、このガス容器1から流出するガスの圧力を後述のガスメータ4の流出口側圧力が基準圧力に相当するように調整(減圧)する圧力調整器2と、圧力調整器2にガス配管3を介して接続されたガスを燃焼させ熱エネルギーに変換するためのガス器具5と、ガス器具5へのガスの供給/遮断を行うためのガスコック6とを備えて構成されている。
【0003】
次に概要動作を説明する。
ガスコック6を開状態とすると、ガス容器1内の液化ガスは、圧力調整器2により減圧され、ガス配管3を介してガスメータ4に供給される。そして、このガスメータ4は、ガスの通過体積を積算し、この積算結果をその表示部に表示する。これと並行してガスメータ4及びガスコック6を介してガス器具5にガスが供給されることとなる。
【0004】
上述したガス供給系統においてガスメータ4は、所定サンプリング時間毎に熱線式フローセンサなどの流量測定手段に通電し、この通電によって駆動された流量計測手段から入力される通過流量に応じた流量信号に基づいて、ガスの流量を計測している。
【0005】
【発明が解決しようとする課題】
上述したガスメータ4において、計測したガスの流量の測定精度を向上させるためには、上記所定サンプリング時間を短く設定することで対応することができる。しかしながら、短い所定サンプリング時間によってガス流量の計測を行うということは、流量信号のサンプリングにおける電力の消費を増加させることになる。その結果、電力を補うためにガスメータ4には多くの電池が用いられることになるため、ガスメータ4におけるコスト高、重量増、大型化などの様々な不具合を招くこととなる。特に近年では、ガスメータ4は小型で安価なものが望まれており、ガスメータ4を大型化させるということは小型化という要望に反するため、測定精度の向上のためであってもガスメータ4の大型化は好ましくなかった。
【0006】
よって本発明は、上述した問題点に鑑み、消費電力を増加させることなくガス流量の測定精度を向上することができるガスメータを提供することを課題としている。
【0007】
【課題を解決するための手段】
上記課題を解決するため本発明によりなされた請求項1記載のガスメータは、図1の基本構成図に示すように、ガス供給ラインを通過するガス流量に応じて流量信号を発する流量測定手段14と、該流量測定手段14から所定サンプリング時間毎に読み取る前記流量信号に基づいてガスの流量を計測する流量計測手段15a11とを備えたガスメータにおいて、前記流量計測手段15a11が算出した前記流量を所定期間毎の前記ガスの使用パターンとして少なくとも1日分前まで時系列的に記憶する使用パターン記憶手段15h2と、前記流量計測手段15a11が計測した前記流量の所定回数連続する0を検出したとき、この時点を含む前記所定期間に応じた前記1日前の前記使用パターンを前記使用パターン記憶手段15h2から抽出し、該抽出した使用パターンに基づいて前記1日前の同じ時間帯におけるガスの使用状態を判定する使用状態判定手段15a12と、をさらに備え、前記流量計測手段15a11は、前記1日前の同じ時間帯に前記ガスは使用されていなかったとの前記使用状態判定手段15a12の判定結果に応じて、前記所定サンプリング時間に所定の遅延時間を加算した値を新たに前記所定サンプリング時間とすることを特徴とする。
【0008】
上記請求項1に記載した本発明のガスメータによれば、使用パターン記憶手段15h2は、流量計測手段15a11が算出した流量を所定期間毎のガスの使用パターンとして少なくとも1日分前まで時系列的に記憶している。そして、流量計測手段15a11が計測した流量の所定回数連続する0が検出されると、使用状態判定手段15a12によって、その時点を含む所定時間に応じた1日前の使用パターンが、使用パターン記憶手段15h2から抽出され、この抽出された使用パターンに基づいて1日前の同じ時間帯におけるガスの使用状態が判定される。そして、使用状態判定手段15a12の1日前の同じ時間帯に前記ガスは使用されていなかったとの判定結果に応じて、流量計測手段15a11によって所定サンプリング時間に所定の遅延時間を加算され、この加算された値が新たな所定サンプリング時間とされる。
【0009】
よって、流量計測手段15a11が計測した流量の所定回数連続した0を検出すると、その検出時点を含む1日前の時間帯におけるガスの使用状態を判定し、その時間帯がガスの未使用時間帯であれば、流量計測手段15a11の所定サンプリング時間に所定の遅延時間を加算して所定サンプリング時間を長く変更するので、ガスメータの設置先の使用状態に基づいて、ガスの使用時間帯は短く、また、ガスの未使用時間帯は長く設定されたそれぞれの所定サンプリング時間に基づいてガスの流量を計測することができる。従って、一般的に1日におけるガスの使用状態は、未使用時間の方が使用時間よりも長いことから、電力の消費を増加させることなく、測定精度を向上することができるガスメータを提供することができる。また、ガスの使用状態の判定は、前日のガスの使用パターンに基づいているため、ガスメータの設置先のガスの使用状態の近況をより一層所定サンプリング時間に反映することができる。
【0010】
上記課題を解決するためになされた請求項2記載の発明は、図1の基本構成図に示すように、請求項1に記載のガスメータにおいて、前記ガス供給ラインにおける前記ガスの圧力に応じて圧力信号を発する圧力測定手段13と、前記圧力測定手段13からの前記圧力信号に基づいて圧力変化量を算出する圧力変化量算出手段15a13と、をさらに備え、前記使用状態判定手段15a12は、さらに前記圧力変化量算出手段15a13が算出した圧力変化量が0のときに前記1日前の前記使用状態の判定を行うことを特徴とする。
【0011】
上記請求項2に記載した本発明のガスメータによれば、圧力変化量算出手段15a13によって、圧力測定手段13からの圧力信号に基づいた圧力変化量が算出される。そして、使用状態判定手段15a12によって、さらに圧力変化量算出手段15a13が算出した圧力変化量が0のときに1日前の使用状態が判定される。よって、使用状態判定手段15a12は、流量計測手段15a11が計測した流量の所定回数連続する0を検出し、さらに圧力変化量算出手段15a13が算出した圧力変化量が0のときに1日前の使用状態を判定するので、より一層正確にガスの使用状態を判定することができる。従って、流量計測手段15a11の測定値だけに頼らないため、ガスメータの設置先のガスの使用状態の近況をより一層正確に所定サンプリング時間に反映することができる。
【0012】
上記課題を解決するためになされた請求項3記載の発明は、図1の基本構成図に示すように、請求項1に記載のガスメータにおいて、前記使用状態判定手段15a12は、前記圧力変化量算出手段が算出した前記圧力変化量が所定の監視時間の間継続して0のときに、前記圧力変化量を0と見なすことを特徴とする。
【0013】
上記請求項3に記載した本発明のガスメータによれば、圧力変化量算出手段15a13が算出した圧力変化量が所定の監視時間の間継続して0のときに、使用状態判定手段15a12によって圧力変化量が0と見なされる。よって、使用状態判定手段15a12は、圧力変化量算出手段15a13が算出した圧力変化量が所定の監視時間の間継続して0のときに圧力変化量を0と見なすので、例えば、ガス供給ラインの近くに隣家のガスエンジンヒートポンプ(GHP)などが配設されているような場合に、GHPの稼働によってガス供給圧に変動の可能性がある圧力変化が生じている場合は、所定サンプリング時間が変更されないので、測定精度を低下させることはない。従って、ガスメータにおける測定などに影響を与える可能性がある圧力変化が生じている場合は、所定サンプリング時間が変更されないので、より一層正確にガスの使用状態を判定することが可能となるため、ガスメータの設置先のガスの使用状態の近況をより一層正確に所定サンプリング時間に反映することができる。
【0014】
上記課題を解決するためになされた請求項4記載の発明は、図1の基本構成図に示すように、請求項1に記載のガスメータにおいて、前記使用状態判定手段15a12は、前記所定サンプリング時間に前記遅延時間を加算した後、前記流量計測手段15a11が新たな前記所定サンプリング時間に基づいて計測した前記流量の前記所定回数連続する0を検出する毎に、前記所定サンプリング時間に前記遅延時間を加算することを特徴とする。
【0015】
上記請求項4に記載した本発明のガスメータによれば、所定サンプリング時間に遅延時間を加算した後、使用状態判定手段15a12によって、流量計測手段15a11が新たな所定サンプリング時間に基づいて計測した流量の所定回数連続する0が検出される毎に、所定サンプリング時間に遅延時間が加算される。よって、遅延時間が加算された所定サンプリング時間に基づいて流量計測手段15a11が計測した流量の所定回数連続する0を検出する毎に、遅延時間を所定サンプリング時間に加算するので、新たな所定サンプリング時間に変更した後、ガスの未使用状態が継続する場合は、所定サンプリング時間を一定期間毎に長くすることができる。従って、ガスの未使用時間の継続状況に応じて順次所定サンプリング時間が長くなるので、電力の消費をより一層低減することができる。
【0016】
上記課題を解決するためになされた請求項5記載の発明は、図1の基本構成図に示すように、請求項1に記載のガスメータにおいて、前記使用状態判定手段15a12は、前記所定サンプリング時間に前記遅延時間を加算した後、前記流量及び前記圧力変化量の少なくとも一方にそれぞれの所定の閾値を越える変化を検出すると、前記所定サンプリング時間を最小の値に戻すことを特徴とする。
【0017】
上記請求項5に記載した本発明のガスメータによれば、流量及び圧力変化量の少なくとも一方にそれぞれの所定の閾値を越える変化が検出されると、使用状態判定手段15a12によって、所定サンプリング時間が最小の値に戻される。よって、流量及び圧力変化量に基づいてガスの使用状態の変化を検出すると、所定サンプリング時間を速やかに最小の値に戻すので、ガスの使用開始された時点から短い所定サンプリング時間に基づいてガスの流量を計測することができる。従って、ガスの測定精度を向上するとともに、ガスの未使用時間帯における電力の消費を確実に低減させることができる。
【0018】
上記課題を解決するためになされた請求項6記載の発明は、図1の基本構成図に示すように、請求項1に記載のガスメータにおいて、前記所定サンプリング時間には、最大サンプリング時間が予め定められており、前記使用状態判定手段15a12は、前記最大サンプリング時間を越えない範囲で前記遅延時間を前記所定サンプリング時間に加算することを特徴とする。
【0019】
上記請求項6に記載した本発明のガスメータによれば、使用状態判定手段15a12によって、最大サンプリング時間を越えない範囲で遅延時間が所定サンプリング時間に加算される。よって、所定サンプリング時間は、予め定めた最大サンプリング時間を越えることはないので、ガスの未使用時間帯に適した所定サンプリング時間で流量の計測を行うことができる。従って、ガスの未使用時間帯におけるガスの測定精度を低下させることなく、電力の消費を確実に低減させることができる。
【0020】
【発明の実施の形態】
以下、本発明に係るガスメータの一実施の形態を、図2〜図6の図面を参照して説明する。
【0021】
図2は本発明に係るガスメータの概略構成を示す構成図であり、図3は図2のEEPROMのメモリマップの一実施の形態を示す図であり、図4は図2のCPUが行うサンプリング時間設定処理の一部を示すフローチャートであり、図5は図2のCPUが行うサンプリング時間設定処理の他の一部を示すフローチャートであり、図6は図5のステップS24の別実施の形態を示すフローチャートである。
【0022】
図2において、ガスメータ4は、ガスメータ4に電力を供給する電源部11、図示しないガス供給ラインの配管に連通された図示しないガス通路に設けられ弁閉によってガス供給を遮断する遮断弁12、上記ガス通路内の圧力を感知する圧力センサ13、上記ガス通路を通じて流れるガス流に応じて流量信号を発生するフローセンサなどの流量センサ14、及び制御部としてのコントローラ15を有して構成している。
【0023】
コントローラ15は、予め定められたプログラムに従って動作するマイクロコンピュータ(μCOM)15aを有する。μCOM15aは、周知のように、予め定めたプログラムに従って各種の処理や制御などを行う中央演算処理装置(CPU)15a1、CPU15a1のためのプログラム等を格納した読み出し専用のメモリであるROM15a2、各種のデータを格納するとともにCPU15a1の処理作業に必要なエリアを有する読み出し書き込み自在のメモリであるRAM15a3等を有して構成している。
【0024】
また、コントローラ15は、遮断弁12、圧力センサ13、流量センサ14が接続されるコネクタ15bと、μCOM15aが出力する弁閉・弁開信号に応じて遮断弁12を駆動するための駆動信号をコネクタ15bを介して出力する遮断弁駆動回路15cと、圧力センサ13からコネクタ15bを介して入力されるアナログ圧力信号をデジタル変換して圧力信号としてμCOM15aに出力するA/D変換回路15dと、μCOM15aが出力するサンプリング信号に応じて流量センサ14に通電して流量センサ14を駆動するヒータ駆動回路15eと、コネクタ15bを介して入力される流量センサ14からのアナログ流量信号を増幅して出力する増幅回路15fと、増幅回路15fが出力した増幅されたアナログ流量信号をデジタル変換して流量信号としてμCOM15aに出力するA/D変換回路15gとを有して構成している。
【0025】
コントローラ15はさらに、電源部11からの電力供給が断たれた場合でも、格納された各種データの保持が可能であり、CPU15a1の処理作業に必要な各種格納エリアを有する電気的消去/書き換え可能な読み出し専用のメモリ(EEPROM)15hと、ガスメータ4の外部にある種々の外部機器が接続される端子台15iと、この端子台15iを介してμCOMと外部機器との間で信号の授受を行うためのインタフェース回路15jとを有して構成している。
【0026】
具体的に、コントローラ15には、端子台15iを介して、例えば、宅内に設けられてガスに関する種々の表示を行うための宅内表示盤21、ガスメータ4に対する種々の遠隔操作を行うための宅内操作器22、家屋内において警報レベル以上の濃度のガスを検出して警報をガス警報器23、ガス警報器23と同様の機能の他に警報レベル以上のCOガスを検知して警報を発する第2ガス警報器・CO警報器24、複数のLPガス容器を自動的に切り替える自動切替式圧力調整器の切替動作に応じた信号を発する自動切替調整器等25、電話回線などの公衆回線を介してガス販売業者の管理センタとの通信を制御するためのNCU(Network Control Unit)26が接続されている。
【0027】
また、コントローラ15は、μCOM15aに接続されガス使用量の積算値や警報などの各種の情報を表示する液晶表示器(LCD)15kと、コントローラ15内の各回路に動作電源を供給する電池15mとを有するとともに、インタフェース回路15nを介してμCOM15aに接続された、所定値以上の震度を感知する感震器15oと、開弁している遮断弁12を弁閉する際とLPガス容器を交換した際とにオン操作される遮断弁閉兼容器交換スイッチ15pと、閉弁した遮断弁12を開放する際にオン操作される遮断弁開スイッチ15q、及び、電池15iの電圧を監視し、電池15iの電圧がコントローラ15等の動作に支障のない一定値以下に低下したことを検出するとともに、電池15iの電圧がコントローラ15等の動作に必要な電圧に復帰したことを検出する電池電圧検出回路15rを有して構成している。
【0028】
次に、図3を参照して図2のEEPROM15hのメモリマップの一実施の形態を説明する。
図3において、EEPROM15hは、流量センサ14から所定時間毎に流量信号をサンプリングするためのサンプリング時間tが格納されるサンプリング時間格納エリア15h1と、上記流量信号から算出した流量に基づいて所定期間(例えば、1時間、30分単位など)におけるガスの使用状態を示すために生成された1日分前までの使用パターン情報が時系列的に格納される前日使用パターン情報格納エリア15h2とを有して構成している。
【0029】
なお、上述した使用パターン情報は、例えば、所定期間における合計流量データ、ガスの使用の有無データなどによって構成されおり、この使用パターン情報は、ROM15a2に予め格納したプログラムに基づいてCPU15a1によって所定期間毎に生成され、前日使用パターン情報格納エリア15h2に反映される。よって、1日分前までの使用パターン情報が格納されることからも明らかなように、前日使用パターン情報格納エリア15h2が、特許請求の範囲に記載の使用パターン記憶手段として機能している。
【0030】
次に、図4及び図5のフローチャートと、図2及び図3の図面を参照してCPU34が行うサンプリング時間設定処理の動作概要の一例を説明する。
【0031】
図4に示すサンプリング時間設定処理は、ガスメータの設置後の電力の供給開始によってCPU34が動作された後に、上位モジュールから起動されると、ステップS1において、サンプリング時間初期値設定処理が実行されることで、ROM15a2に予め定められた最小サンプリング時間t0が、サンプリング時間tとしてEEPROM15hのサンプリング時間格納エリア15h1に格納され、その後、ステップS2に進む。
【0032】
ステップS2において、流量計測処理が実行されると、前回サンプリングからサンプリング時間tが経過したときに、ヒータ駆動回路15eにサンプリング信号が出力され、このサンプリング信号に応じて駆動された流量センサ14からコネクタ15b、増幅回路15f、A/D変換回路15gを介して入力された流量信号に基づいて流量Qが算出され、この流量QはRAM15a3に格納され、その後ステップS3に進む。よって、以上の説明からも明らかなように、流量計測処理が特許請求の範囲に記載の流量計測力手段として機能している。
【0033】
ステップS3において、圧力変化量算出処理が実行されることで、圧力センサ13からA/D変換回路15dを介して入力された圧力信号に基づいて圧力変化量ΔPが算出され、この算出された圧力変化量ΔPがRAM15a3に格納され、その後ステップS4に進む。よって、以上の説明からも明らかなように、圧力変化量算出処理が特許請求の範囲に記載の圧力変化量算出手段として機能している。
【0034】
ステップS4において、RAM15a3に格納されている流量Qが0、かつ、圧力変化量ΔPが0であるか否かが判定されることで、現在ガスが使用されているか否かが判定される。流量Q若しくは圧力変化量ΔPの少なくとも一方が0ではない、つまり、ガスが使用されている(流量Q≠0)、若しくは、ガス供給圧に変動の可能性がある(ΔP≠0)と判定された場合は(ステップS4でN)、ステップS1に戻り、一連の処理を繰り返す。
【0035】
また、ステップS4で流量Q及び圧力変化量ΔPがともに0であると判定された場合は(ステップS4でY)、ステップS5に進む。そして、ステップS5において、カウンタインクリメント処理が実行されることで、RAM15a3のカウンタcがインクリメントされ、その後ステップS6に進む。
【0036】
ステップS6において、RAM15a3のカウンタcがROM15a2に予め定められた閾回数n以上となったか否かが判定される。カウンタcが閾回数n以上ではない、つまり、流量Q及び圧力変化量ΔPがともに0を連続して閾回数n(例えば、n回)以上検出していないと判定された場合は(ステップS6でN)、ステップS2に戻り、ガスの流量監視に関する一連の処理が繰り返す。一方、カウンタcが閾回数n以上である、つまり、流量Q及び圧力変化量ΔPがともに0を連続して閾回数n(例えば、n回)以上検出したと判定された場合は(ステップS6でY)、ガスが未使用状態であると見なし、ステップS7に進む。
【0037】
ステップS7において、カウンタクリア処理が実行されることで、RAM15a3のカウンタcに0が格納され、その後ステップS8に進む。そして、ステップS8において、前日使用パターン抽出処理が実行されることで、現在の時刻情報がμCOM15に内蔵された時計部(不図示)から取得され、この時刻情報が示す時刻を含む所定期間に応じた前日の使用パターン情報がEEPROM15hの前日使用パターン情報格納エリア15h2から抽出され、この抽出された使用パターン情報がRAM15a3に格納され、その後ステップS9に進む。
【0038】
ステップS9において、RAM15a3の使用パターン情報に基づいて、前日のガス未使用時間帯であるか否かが判定されることで、1日前の同じ時間帯におけるガスの使用状態が判定される。前日のガス未使用時間帯ではないと判定された場合は(ステップS9でN)、ステップS1に戻り、一連の処理を繰り返す。一方、前日のガス未使用時間帯であると判定された場合は(ステップS9でY)、ステップS10に進む。
【0039】
よって、上述したステップS6、S8、及びS9の一連の処理によって、流量の所定回数(n回)連続する0が検出したとき、この時点を含む所定期間に応じた1日前の使用パターンをEEPROM15hの前日使用パターン情報格納エリア15h2から抽出し、この抽出した使用パターン情報に基づいて1日前の同じ時間帯におけるガスの使用状態を判定していることから、ステップS6、S8、及びS9の一連の処理が特許請求の範囲に記載の使用状態判定手段として機能している。
【0040】
ステップS10において、圧力変化量算出手段が実行されることで、ステップS3と同様に、RAM15a3に圧力変化量ΔPが算出され、その後ステップS11に進む。そして、ステップS11において、RAM15a3の圧力変化量ΔPが0であるか否かが判定される。圧力変化量ΔPが0ではないと判定された場合は(ステップS11でN)、ステップS1に戻り、一連の処理を繰り返す。一方、圧力変化量ΔPが0であると判定された場合は(ステップS11でY)、ステップS12に進む。
【0041】
ステップS12において、前日のガス未使用時間帯であることを認識した後、ROM15a2に予め定められたGHPの稼働などの影響によるガス供給圧力の変動などを監視するための監視時間t1が経過したか否かが判定される。監視時間t1が経過していないと判定された場合は(ステップS12でN)、ステップS10に戻り、一連の処理を繰り返すことで、圧力変化量ΔPの変化が継続して監視される。一方、監視時間t1が経過していると判定された場合は(ステップS12でY)、図5に示すステップS13に進む。
【0042】
図5に示すステップS13において、流量計測処理が実行されることで、図4に示すステップS2と同様に、RAM15a3に流量Qが算出され、その後ステップS14に進む。そして、ステップS14において、RAM15a3の流量Qが0であるか否かが判定される。流量Qが0でないと判定された場合は(ステップS14でN)、図4に示すステップS1に戻り、一連の処理を繰り返す。一方、流量Qが0であると判定された場合は(ステップS14でY)、ステップS15に進む。
【0043】
ステップS15において、サンプリング時間更新処理が実行されることで、EEPROM15hのサンプリング時間tにROM15a2に予め定められた遅延時間Δtが加算され、この加算された新たなサンプリング時間tがEEPROM15hのサンプリング時間格納エリア15h2に格納され(t=t+Δt)、その後ステップS16に進む。
【0044】
ステップS16において、流量計測処理が実行されることで、図4に示すステップS2と同様に、RAM15a3に流量Qが算出され、その後ステップS17に進む。そして、ステップS17において、RAM15a3の流量Qが0であるか否かが判定される。流量Qが0でないと判定された場合は(ステップS17でN)、図4に示すステップS1に戻り、遅延されたサンプリング時間tが最小サンプリング時間t0に変更されて一連の処理を繰り返す。一方、流量Qが0であると判定された場合は(ステップS17でY)、ステップS18に進む。
【0045】
ステップS18において、カウンタインクリメント処理が実行されることで、RAM15a3のカウンタcがインクリメントされ、その後ステップS19に進む。
【0046】
ステップS19において、RAM15a3のカウンタcがROM15a2に予め定められた閾回数n以上となったか否かが判定される。カウンタcが閾回数n以上ではない、つまり、サンプリング時間tの変更後に、流量Qが0である状態を連続して閾回数n(例えば、n回)以上検出していないと判定された場合は(ステップS19でN)、ステップS16に戻り、ガスの流量監視に関する一連の処理が繰り返す。一方、カウンタcが閾回数n以上である、つまり、流量Qが0である状態を連続して閾回数n(例えば、n回)以上検出したと判定された場合は(ステップS19でY)、ガスが未使用状態が継続していると見なし、ステップS20に進む。
【0047】
ステップS20において、カウンタクリア処理が実行されることで、RAM15a3のカウンタcに0が格納され、その後ステップS21に進む。そして、ステップS21において、流量計測処理が実行されることで、図4に示すステップS2と同様に、RAM15a3に流量Qが算出され、その後ステップS22に進む。そして、ステップS22において、圧力変化量算出処理が実行されることで、図4に示すステップS3と同様に、RAM15a3に圧力変化量ΔPが算出され、その後ステップS23に進む。
【0048】
ステップS23において、EEPROM15hのサンプリング時間tがROM15a2に予め格納された最大サンプリング時間tMAXに等しいか否かが判定される。なお、本実施の形態では、最大サンプリング時間tMAXと最小サンプリング時間t0との差は(tMAX−t0)、遅延時間Δtの最大公倍数となることを前提としているが、遅延時間Δtの最大公倍数とならないときは、判定処理を最大サンプリング時間tMAXとサンプリング時間tとの差が遅延時間Δt以下であるか否かを判定することで対応することができる。
【0049】
ステップS23でサンプリング時間tが最大サンプリング時間tMAXに等しいと判定された場合は(ステップS23でY)、ステップS24に進む。そして、ステップS24において、RAM15a3の流量QがROM15a2に予め定められた流量閾値αを越えた、若しくは、RAM15a3の圧力変化量ΔPがROM15a2に予め定められた圧力変化量閾値βを越えたか否かが判定される。流量Q若しくは圧力変化量ΔPの双方ともそれぞれの閾値を超えていないと判定された場合は(ステップS24でN)、ステップS16に戻り、ガスの流量監視に関する一連の処理が繰り返す。
【0050】
一方、ステップS24で流量Q若しくは圧力変化量ΔPの何れかがそれぞれの閾値を超えたと判定された場合は(ステップS24でY)、ガスの使用が開始されたと見なし、図4に示すステップ1に戻り、遅延されたサンプリング時間tが最小サンプリング時間t0に変更されて一連の処理を繰り返す。
【0051】
また、ステップS23でサンプリング時間tが最大サンプリング時間tMAXに等しくないと判定された場合は(ステップS23でN)、ステップS25に進む。そして、ステップS25において、RAM15a3の流量QがROM15a2に予め定められた流量閾値αを越えた、若しくは、RAM15a3の圧力変化量ΔPがROM15a2に予め定められた圧力変化量閾値βを越えたか否かが判定される。流量Q若しくは圧力変化量ΔPの双方ともそれぞれの閾値を超えていないと判定された場合は(ステップS25でN)、サンプリング時間tに遅延時間Δtの加算が可能でるため、ステップS15に戻り、サンプリング時間tをさらに長くしてガスの流量監視に関する一連の処理が繰り返す。
【0052】
一方、ステップS25で流量Q若しくは圧力変化量ΔPの何れかがそれぞれの閾値を超えたと判定された場合は(ステップS25でY)、ガスの使用が開始されたと見なし、図4に示すステップS1に戻り、遅延されたサンプリング時間tが最小サンプリング時間t0に変更されて一連の処理を繰り返す。
【0053】
よって、以上の説明からも明らかなように、CPU15a1が特許請求の範囲に記載の流量計測手段、使用状態判定手段、圧力変化量算出手段として機能している。
【0054】
次に、上述した構成による本実施の形態の動作(作用)の一例を以下に説明する。
【0055】
ガスメータ4において、まず、サンプリング時間tには初期値として最小サンプリング時間t0が設定される(ステップS1)。そして、計測された流量Qと算出された圧力変化量ΔPに基づいて、ガスが使用されているか否かが判定される(ステップS2〜ステップS4)。ガスが使用されている場合は(ステップS4でN)、継続してガスの使用状態が監視される。
【0056】
また、流量Q=0、かつ、圧力変化量ΔP=0が検出されると、所定回数連続しているかを判定するためのカウンタcがインクリメントされ(ステップS5)、このカウンタcが閾回数n(例えばn回)以上となったか否かが判定される。そして、カウンタcが閾回数n以上となると、ガスの未使用状態が継続していると判定され(ステップS6でY)、カウンタcがクリアされる(ステップS7)。
【0057】
そして、ガスの未使用状態が継続していると判定された時点を含む所定期間に応じた1日前の使用パターンが、EEPROM15hの前日使用パターン情報格納エリア15h2から抽出され(ステップS8)、この抽出された使用パターン情報に基づいて、1日前の同じ時間帯におけるガスの使用状態が判定される(ステップS9)。そして、前日はガス使用時間帯であったと判定された場合は(ステップS9でN)、サンプリング時間tを変更せずに、ガスの使用状態の監視が継続される。一方、前日のガス未使用時間帯であると判定されると(ステップS9でY)、ガス供給ラインの近くに設置されたGHPの稼働などの影響によるガス供給圧力の変動などを監視するために、圧力変化量ΔPが監視時間t1の間監視される(ステップS10〜S12)。
【0058】
圧力変化量ΔPの監視期間中に圧力の変化が検出されたときは(ステップS11でN)、ガス供給圧力の変動の可能性があるため、サンプリング時間tを変更せずに、ガスの使用状態の監視が継続される。一方、圧力変化量ΔPの変化が検出されずに監視期間が終了したとき(ステップS12でY)、その時点の流量Qが0であると、サンプリング時間tに遅延時間Δtが加算された値が新たなサンプリング時間tとして、EEPROM15hのサンプリング時間格納エリア15h2に格納される(ステップS15)。
【0059】
そして、この遅延されたサンプリング時間tに基づいて流量Qのサンプリングが行われる。その後、計測された流量Qの所定回数(例えば、n回)連続する0が検出されたとき(ステップS19でY)、サンプリング時間tが最大サンプリング時間tMAXではない、かつ、流量Qが流量閾値α、圧力変化量ΔPが圧力変化量閾値βより双方とも大きくないと判定された場合は(ステップS25でN)、サンプリング時間tに遅延時間Δtがさらに加算された値が新たなサンプリング時間tとして、EEPROM15hのサンプリング時間格納エリア15h2に格納される(ステップS15)。
【0060】
なお、このサンプリング時間tへの遅延時間Δtの加算は、サンプリング時間tが最大サンプリング時間tMAXと等しくなるまで(ステップS23でY)行われる。また、0でない流量Qが検出される(ステップS17でN)、又は、流量Qか圧力変化量ΔPの何れかがそれぞれの閾値を超えるときは(ステップS24でN、ステップS25でN)、サンプリング時間tが最小サンプリング時間t0に戻され(ステップS1)。その後最小のサンプリング時間t毎にサンプリングされた流量信号に基づいて、ガスの流量が計測される。
【0061】
以上説明したように、本発明に係るガスメータ4によって、流量センサ(流量計測手段)14からの入力に基づいて計測した流量Qの所定回数連続した0を検出すると、その検出時点を含む1日前の時間帯におけるガスの使用状態を判定し、その時間帯がガスの未使用時間帯であれば、サンプリング時間tに遅延時間Δtを加算してサンプリング時間tを長く変更するので、ガスメータ4の設置先のガスの使用状態に基づいて、ガスの使用時間帯は短く、また、ガスの未使用時間帯は長くそれぞれ設定されたサンプリング時間tに基づいて、ガスの流量を計測することができる。
【0062】
よって、一般的に1日におけるガスの使用状態は、未使用時間の方が使用時間よりも長いことから、電力の消費を増加させることなく、測定精度を向上することができる。また、ガスの使用状態の判定は、前日のガスの使用パターン情報に基づいているため、ガスメータの設置先におけるガスの使用状態の近況をより一層サンプリング時間tに反映することができる。さらに、サンプリング時間tは、一般的に例えば0.5秒から1.0秒に遅延させるだけでも、サンプリングにおける電力消費を半減させることができることから、本発明ではガスの未使用時にはサンプリング時間tを長く設定しているので、流量のサンプリングによる電力消費の低減が可能となるため、ガスメータに電力として用いる電池を少なくすることができる。従って、ガスの流量測定が高精度、かつ、低コストで小型のガスメータを提供することができる。
【0063】
また、流量センサ(流量計測手段)14からの入力に基づいて計測した流量Qの所定回数連続する0を検出し、さらに圧力センサ(圧力変化量算出手段)13からの入力に基づいて算出した圧力変化量ΔPが0のときに、1日前の使用状態を判定するので、より一層正確にガスの使用状態を判定することができる。よって、流量センサ(流量計測手段)14の測定値だけに頼らないため、ガスメータ4の設置先のガスの使用状態の近況をより一層正確にサンプリング時間tに反映することができる。
【0064】
さらに、算出した圧力変化量が所定の監視時間の間継続して0のときに圧力変化量を0と見なすので、例えば、ガス供給ラインの近くに隣家のガスエンジンヒートポンプ(GHP)などが配設されているような場合に、GHPの稼働によってガス供給圧に変動の可能性がある圧力変化が生じている場合は、サンプリング時間tが変更されないので、測定精度を低下させることはない。よって、より一層正確にガスの使用状態を判定することが可能となるため、ガスメータの設置先のガスの使用状態の近況をより一層正確にサンプリング時間tに反映することができる。
【0065】
また、遅延時間Δtが加算されたサンプリング時間tに基づいて、流量センサ(流量計測手段)14からの入力に基づいて計測した流量Qの所定回数連続する0を検出する毎に、遅延時間Δtをサンプリング時間tに加算するので、新たなサンプリング時間tに変更した後、ガスの未使用状態が継続する場合は、サンプリング時間tを一定期間毎に長くすることができる。よって、ガスの未使用時間の継続状況に応じて順次サンプリング時間tが長くなるので、電力の消費をより一層低減することができる。
【0066】
さらに、流量Q及び圧力変化量ΔPに基づいてガスの使用状態の変化を検出すると、サンプリング時間tを速やかに最小サンプリング時間t0に戻すので、ガスの使用開始された時点から短いサンプリング時間tに基づいてガスの流量Qを計測することができる。よって、ガスの測定精度を向上するとともに、ガスの未使用時間帯における電力の消費を確実に低減することができる。
【0067】
また、サンプリング時間tは、予め定めた最大サンプリング時間tMAXを越えることはないので、ガスの未使用時間帯に適したサンプリング時間tで流量Qの計測を行うことができる。よって、ガスの未使用時間帯におけるガスの測定精度を低下させることなく、電力の消費を確実に低減することができる。
【0068】
さらに、頻繁に流量センサ(流量測定手段)14及び圧力センサ(圧力測定手段)13の出力をサンプリングする必要がなくなるので、サンプリング間隔の間はμCOM15のCPU15a1を低クロック化させることが可能となるので、より一層ガスメータにおける電力の消費を低減することができる。
【0069】
また、上述した本実施の形態では、ガス消費パターンが固定していない設置先に適している実施の形態について説明したが、本発明はこれに限定するものではなく、上述した本実施の形態を、ガス消費パターンが固定している設置先に適用する場合、上述した本実施の形態をそのまま適用することもできるが、例えば図5に示すステップS24を図6に示すフローチャートに変更することで効率よく対応することができる。
【0070】
図5に示すステップS23でサンプリング時間tが最大サンプリング時間tMAXに等しいと判定された場合は(ステップS23でY)、図6に示すステップS241に進む。そして、ステップS241において、流量計測処理が実行されることで、図4に示すステップS2と同様に、RAM15a3に流量Qが算出され、その後ステップS242に進む。
【0071】
ステップS242において、RAM15a3の流量Qが0か否かが判定される。流量Qが0でないと判定された場合は(ステップS242でN)、図4に示すステップS1に戻り、遅延されたサンプリング時間tが最小サンプリング時間t0に変更されて一連の処理を繰り返す。一方、流量Qが0であると判定された場合は(ステップS242でY)、ステップS243に進む。
【0072】
ステップS243において、時刻情報取得処理が実行されることで、現在の時刻情報がμCOM15に内蔵された時計部(不図示)からRAM15a3に取得され、その後ステップS244に進む。そして、ステップS244において、RAM15a3の時刻情報に基づいてガス使用時間帯のT分前か否かが判定される。ガス使用時間帯のT分前ではないと判定された場合は(ステップS244でN)、ステップS241に戻り、一連の処理を繰り返す。一方、ガス使用時間帯のT分前であると判定された場合は(ステップS244でY)、ガスの使用が開始されるT分前であることから、サンプリング時間tを最小サンプリング時間t0に戻すために、図4に示すステップ1に戻り、遅延されたサンプリング時間tが最小サンプリング時間t0に変更されて一連の処理を繰り返す。
【0073】
このようにガスメータ4をガス消費パターンが固定している設置先に適用する場合、図5に示すステップS24を図6に示すフローチャートに変更することで、サンプリング時間tが最大サンプリング時間tMAXに到達した以降の余計な処理を削減することができるので、サンプリング間隔の間はμCOM15のCPU15a1を低クロック化させることが可能となるので、より一層ガスメータにおける電力の消費を削減することができる。
【0074】
また、上述した本実施の形態では、ガスの使用パターンを1日分のみ記憶する場合について説明したが、本発明はこれに限定するものではなく、ガスメータ4の設置先の近日の使用状況が判定できれば、例えば、3日前、1週間前までなど種々異なる使用パターンとすることもできる。
【0075】
【発明の効果】
以上説明したように請求項1に記載した本発明のガスメータによれば、流量計測手段が計測した流量の所定回数連続した0を検出すると、その検出時点を含む1日前の時間帯におけるガスの使用状態を判定し、その時間帯がガスの未使用時間帯であれば、流量計測手段の所定サンプリング時間に所定の遅延時間を加算して所定サンプリング時間を長く変更するので、ガスメータの設置先の使用状態に基づいて、ガスの使用時は短く、また、ガスの未使用時は長くそれぞれ設定された所定サンプリング時間に基づいてガスの流量を計測することができる。よって、一般的に1日におけるガスの使用状態は、未使用時間の方が使用時間よりも長いことから、電力の消費を増加させることなく、測定精度を向上することができる。また、ガスの使用状態の判定は、前日のガスの使用パターンに基づいているため、ガスメータの設置先におけるガスの使用状態の近況をより一層所定サンプリング時間に反映することができる。さらに、ガスの未使用時には所定サンプリング時間を長く設定しているので、流量のサンプリングによる電力消費の低減が可能となるため、ガスメータに電力として用いる電池を少なくすることができる。従って、ガスの流量測定が高精度、かつ、低コストで小型のガスメータを提供することができる。
【0076】
請求項2に記載の発明によれば、請求項1に記載の発明の効果に加え、使用状態判定手段は、流量計測手段が計測した流量の所定回数連続する0を検出し、さらに圧力変化量算出手段が算出した圧力変化量が0のときに1日前の使用状態を判定するので、より一層正確にガスの使用状態を判定することができる。従って、流量計測手段の測定値だけに頼らないため、ガスメータの設置先のガスの使用状態の近況をより一層正確に所定サンプリング時間に反映することができる。
【0077】
請求項3に記載の発明によれば、請求項2に記載の発明の効果に加え、使用状態判定手段は、圧力変化量算出手段が算出した圧力変化量が所定の監視時間の間継続して0のときに圧力変化量を0と見なすので、例えば、ガス供給ラインの近くに隣家のガスエンジンヒートポンプ(GHP)などが配設されているような場合に、GHPの稼働によってガス供給圧に変動の可能性がある圧力変化が生じている場合は、所定サンプリング時間が変更されないので、測定精度を低下させることはない。従って、ガスメータにおける測定などに影響を与える可能性がある圧力変化が生じている場合は、所定サンプリング時間が変更されないので、より一層正確にガスの使用状態を判定することが可能となるため、ガスメータの設置先のガスの使用状態の近況をより一層正確に所定サンプリング時間に反映することができる。
【0078】
請求項4に記載の発明によれば、請求項1〜3の何れかに記載の発明の効果に加え、遅延時間が加算された所定サンプリング時間に基づいて流量計測手段が計測した流量の所定回数連続する0を検出する毎に、遅延時間を所定サンプリング時間に加算するので、新たな所定サンプリング時間に変更した後、ガスの未使用状態が継続する場合は、所定サンプリング時間を一定期間毎に長くすることができる。従って、ガスの未使用時間の継続状況に応じて順次所定サンプリング時間が長くなるので、電力の消費をより一層低減することができる。
【0079】
請求項5に記載の発明によれば、請求項1〜4の何れかに記載の発明の効果に加え、流量及び圧力変化量に基づいてガスの使用状態の変化を検出すると、所定サンプリング時間を速やかに最小の値に戻すので、ガスの使用開始された時点から短い所定サンプリング時間に基づいてガスの流量を計測することができる。従って、ガスの測定精度を向上するとともに、ガスの未使用時間帯における電力の消費を確実に低減することができる。
【0080】
請求項6に記載の発明によれば、請求項1〜5の何れかに記載の発明の効果に加え、所定サンプリング時間は、予め定めた最大サンプリング時間を越えることはないので、ガスの未使用時間帯に適した所定サンプリング時間で流量の計測を行うことができる。従って、ガスの未使用時間帯におけるガスの測定精度を低下させることなく、電力の消費を確実に低減することができる。
【図面の簡単な説明】
【図1】本発明のガスメータの基本構成を示す図である。
【図2】本発明に係るガスメータの概略構成を示す構成図である。
【図3】図2のEEPROMのメモリマップの一実施の形態を示す図である。
【図4】図2のCPUが行うサンプリング時間設定処理の一部を示すフローチャートである。
【図5】図2のCPUが行うサンプリング時間設定処理の他の一部を示すフローチャートである。
【図6】図5のステップS24の別実施の形態を示すフローチャートである。
【図7】一般的なガス供給系統の概要構成を示す図である。
【符号の説明】
13 圧力測定手段(圧力センサ)
14 流量測定手段(流量センサ)
15a11 流量計測手段(CPU)
15a12 使用状態判定手段(CPU)
15a13 圧力変化量算出手段(CPU)
15h2 使用パターン記憶手段(EEPROM)
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a gas meter, and more specifically, a flow rate signal generated by a flow rate measuring unit such as a flow sensor according to a gas flow rate passing through a gas supply line is read at a predetermined sampling time, and gas flow is measured based on the flow rate signal. The present invention relates to a gas meter for measuring a flow rate.
[0002]
[Prior art]
A general configuration of a general gas supply system will be described with reference to FIG.
The gas supply system 10 adjusts (depressurizes) the gas container 1 for storing the liquefied gas and the pressure of the gas flowing out from the gas container 1 so that the outlet side pressure of the gas meter 4 described later corresponds to the reference pressure. The pressure regulator 2, the gas appliance 5 for burning the gas connected to the pressure regulator 2 via the gas pipe 3 and converting it into thermal energy, and the supply / cutoff of the gas to the gas appliance 5 The gas cock 6 is provided.
[0003]
Next, the outline operation will be described.
When the gas cock 6 is opened, the liquefied gas in the gas container 1 is decompressed by the pressure regulator 2 and supplied to the gas meter 4 via the gas pipe 3. And this gas meter 4 integrates the passage volume of gas, and displays this integration result on the display part. In parallel with this, gas is supplied to the gas appliance 5 through the gas meter 4 and the gas cock 6.
[0004]
In the gas supply system described above, the gas meter 4 energizes a flow rate measuring means such as a hot-wire flow sensor every predetermined sampling time, and is based on a flow rate signal corresponding to a passing flow rate input from the flow rate measuring means driven by this energization. The gas flow rate is measured.
[0005]
[Problems to be solved by the invention]
In the gas meter 4 described above, in order to improve the measurement accuracy of the measured gas flow rate, it is possible to cope with this by setting the predetermined sampling time short. However, measuring the gas flow rate with a short predetermined sampling time increases power consumption in sampling the flow rate signal. As a result, a large number of batteries are used in the gas meter 4 to supplement the electric power, which causes various problems such as high cost, an increase in weight, and an increase in size of the gas meter 4. In particular, in recent years, it is desired that the gas meter 4 be small and inexpensive, and increasing the size of the gas meter 4 is contrary to the demand for downsizing. Was not preferred.
[0006]
Therefore, in view of the above-described problems, an object of the present invention is to provide a gas meter that can improve the measurement accuracy of the gas flow rate without increasing the power consumption.
[0007]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, the gas meter according to claim 1 according to the present invention comprises a flow rate measuring means 14 for generating a flow rate signal according to the gas flow rate passing through the gas supply line, as shown in the basic configuration diagram of FIG. In a gas meter including a flow rate measuring unit 15a11 that measures a flow rate of gas based on the flow rate signal read from the flow rate measuring unit 14 every predetermined sampling time, the flow rate calculated by the flow rate measuring unit 15a11 is changed every predetermined period. When the usage pattern storage means 15h2 for storing the gas usage pattern in a time-series manner at least one day in advance and the flow rate measurement means 15a11 that detects the flow rate measured by the flow rate measurement means 15a11 for a predetermined number of times are detected. The usage pattern of the previous day corresponding to the predetermined period including is extracted from the usage pattern storage means 15h2. And a use state determination unit 15a12 for determining a gas use state in the same time zone one day before based on the extracted use pattern, and the flow rate measurement unit 15a11 is in the same time zone one day ago. A value obtained by adding a predetermined delay time to the predetermined sampling time is newly set as the predetermined sampling time in accordance with a determination result of the use state determination means 15a12 that the gas is not used.
[0008]
According to the gas meter of the present invention described in claim 1, the usage pattern storage means 15h2 is time-sequentially at least one day before the flow rate calculated by the flow rate measurement means 15a11 as the gas usage pattern for each predetermined period. I remember it. When the flow rate measured by the flow rate measuring unit 15a11 is detected as 0 consecutive times a predetermined number of times, the usage pattern determining unit 15a12 generates the usage pattern storage unit 15h2 one day before the usage pattern corresponding to the predetermined time including the time point. Based on the extracted usage pattern, the gas usage state in the same time zone one day ago is determined. Then, according to the determination result that the gas is not used in the same time zone one day before the use state determination unit 15a12, a predetermined delay time is added to the predetermined sampling time by the flow rate measurement unit 15a11, and this addition is performed. The new value is set as a new predetermined sampling time.
[0009]
Therefore, when 0 is detected for a predetermined number of times of the flow rate measured by the flow rate measuring means 15a11, the use state of the gas in the time zone one day before including the detection time is determined, and the time zone is the unused time zone of the gas. If there is, the predetermined sampling time is added to the predetermined sampling time of the flow rate measuring means 15a11 to change the predetermined sampling time longer, so that the gas usage time zone is short based on the usage state of the installation destination of the gas meter, The flow rate of the gas can be measured based on each predetermined sampling time set long in the unused period of the gas. Therefore, in general, a gas meter that can improve the measurement accuracy without increasing power consumption since the unused time is longer than the usage time in the gas usage state in one day. Can do. In addition, since the determination of the gas usage state is based on the gas usage pattern of the previous day, the current state of the gas usage state at the installation destination of the gas meter can be further reflected in the predetermined sampling time.
[0010]
In order to solve the above-mentioned problem, the invention according to claim 2 is the gas meter according to claim 1, wherein the pressure in accordance with the pressure of the gas in the gas supply line is shown in the basic configuration diagram of FIG. 1. A pressure measuring means 13 for emitting a signal; and a pressure change amount calculating means 15a13 for calculating a pressure change amount based on the pressure signal from the pressure measuring means 13. The use state determining means 15a12 further includes When the pressure change amount calculated by the pressure change amount calculation means 15a13 is 0, the use state of the previous day is determined.
[0011]
According to the gas meter of the present invention described in the second aspect, the pressure change amount based on the pressure signal from the pressure measuring means 13 is calculated by the pressure change amount calculating means 15a13. Then, when the pressure change amount calculated by the pressure change amount calculation unit 15a13 is 0, the use state determination unit 15a12 determines the use state one day ago. Therefore, the use state determination unit 15a12 detects 0 that continues for a predetermined number of times of the flow rate measured by the flow rate measurement unit 15a11, and when the pressure change amount calculated by the pressure change amount calculation unit 15a13 is 0, the use state one day before Therefore, it is possible to more accurately determine the usage state of the gas. Therefore, since it does not depend only on the measurement value of the flow rate measuring means 15a11, the state of use of the gas at the installation destination of the gas meter can be more accurately reflected in the predetermined sampling time.
[0012]
In order to solve the above-mentioned problem, the invention according to claim 3 is the gas meter according to claim 1, wherein the use state determination means 15a12 calculates the amount of change in pressure as shown in the basic configuration diagram of FIG. The pressure change amount is regarded as 0 when the pressure change amount calculated by the means is continuously 0 for a predetermined monitoring time.
[0013]
According to the gas meter of the present invention described in claim 3, when the pressure change amount calculated by the pressure change amount calculating means 15a13 is continuously 0 for a predetermined monitoring time, the use state determining means 15a12 changes the pressure. The quantity is considered zero. Therefore, the use state determination unit 15a12 regards the pressure change amount as 0 when the pressure change amount calculated by the pressure change amount calculation unit 15a13 is continuously 0 for a predetermined monitoring time. When a neighboring gas engine heat pump (GHP) or the like is installed, if the pressure change that may change the gas supply pressure occurs due to operation of the GHP, the predetermined sampling time is changed. Therefore, the measurement accuracy is not lowered. Accordingly, when there is a pressure change that may affect the measurement in the gas meter, the predetermined sampling time is not changed, so that it is possible to determine the gas usage state more accurately. It is possible to more accurately reflect the current state of the use state of the gas at the installation destination of the gas in the predetermined sampling time.
[0014]
In order to solve the above-mentioned problem, the invention according to claim 4 is the gas meter according to claim 1, in which the use state determination means 15 a 12 is set at the predetermined sampling time. After adding the delay time, the delay time is added to the predetermined sampling time each time the flow rate measuring means 15a11 detects the predetermined number of consecutive 0s of the flow rate measured based on the new predetermined sampling time. It is characterized by doing.
[0015]
According to the gas meter of the present invention described in claim 4, after the delay time is added to the predetermined sampling time, the flow rate measuring unit 15 a 11 uses the flow rate measuring unit 15 a 11 to measure the flow rate measured based on the new predetermined sampling time. Each time a predetermined number of 0s is detected, a delay time is added to the predetermined sampling time. Therefore, the delay time is added to the predetermined sampling time every time the flow rate measured by the flow rate measuring unit 15a11 is detected for a predetermined number of times based on the predetermined sampling time to which the delay time is added. If the unused state of the gas continues after the change to, the predetermined sampling time can be lengthened every fixed period. Therefore, since the predetermined sampling time is sequentially increased according to the continuation state of the unused time of the gas, the power consumption can be further reduced.
[0016]
In order to solve the above-mentioned problem, the invention according to claim 5 is the gas meter according to claim 1, in which the use state determination means 15 a 12 is set at the predetermined sampling time as shown in the basic configuration diagram of FIG. 1. After adding the delay time, when a change exceeding a predetermined threshold value is detected in at least one of the flow rate and the pressure change amount, the predetermined sampling time is returned to the minimum value.
[0017]
According to the gas meter of the present invention described in claim 5, when a change exceeding a predetermined threshold value is detected in at least one of the flow rate and the pressure change amount, the predetermined sampling time is minimized by the use state determination means 15a12. Returned to the value of. Therefore, when a change in the gas usage state is detected based on the flow rate and the pressure change amount, the predetermined sampling time is quickly returned to the minimum value. The flow rate can be measured. Therefore, it is possible to improve the gas measurement accuracy and reliably reduce the power consumption in the unused time zone of the gas.
[0018]
In order to solve the above-mentioned problems, a sixth aspect of the present invention is the gas meter according to the first aspect of the present invention, as shown in a basic configuration diagram of FIG. The use state determination means 15a12 adds the delay time to the predetermined sampling time within a range not exceeding the maximum sampling time.
[0019]
According to the gas meter of the present invention described in the sixth aspect, the use time determination means 15a12 adds the delay time to the predetermined sampling time within a range not exceeding the maximum sampling time. Therefore, since the predetermined sampling time does not exceed the predetermined maximum sampling time, the flow rate can be measured at the predetermined sampling time suitable for the unused time zone of the gas. Therefore, it is possible to reliably reduce the power consumption without reducing the gas measurement accuracy in the unused time zone of the gas.
[0020]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of a gas meter according to the present invention will be described with reference to the drawings of FIGS.
[0021]
2 is a block diagram showing a schematic configuration of the gas meter according to the present invention, FIG. 3 is a diagram showing an embodiment of the memory map of the EEPROM of FIG. 2, and FIG. 4 is a sampling time performed by the CPU of FIG. 5 is a flowchart showing a part of the setting process, FIG. 5 is a flowchart showing another part of the sampling time setting process performed by the CPU of FIG. 2, and FIG. 6 shows another embodiment of step S24 of FIG. It is a flowchart.
[0022]
In FIG. 2, a gas meter 4 includes a power supply unit 11 that supplies power to the gas meter 4, a shutoff valve 12 that is provided in a gas passage (not shown) connected to a pipe of a gas supply line (not shown), and shuts off the gas supply by closing the valve. A pressure sensor 13 for sensing the pressure in the gas passage, a flow rate sensor 14 such as a flow sensor for generating a flow rate signal according to the gas flow flowing through the gas passage, and a controller 15 as a control unit are configured. .
[0023]
The controller 15 includes a microcomputer (μCOM) 15a that operates according to a predetermined program. As is well known, the μCOM 15a includes a central processing unit (CPU) 15a1 that performs various processes and controls according to a predetermined program, a ROM 15a2 that is a read-only memory that stores programs for the CPU 15a1, and various data. And a RAM 15a3, which is a readable / writable memory having an area necessary for the processing operation of the CPU 15a1, and the like.
[0024]
The controller 15 also includes a connector 15b to which the shut-off valve 12, the pressure sensor 13, and the flow sensor 14 are connected, and a drive signal for driving the shut-off valve 12 in response to a valve closing / opening signal output from the μCOM 15a. A shut-off valve drive circuit 15c that is output via 15b, an A / D conversion circuit 15d that digitally converts an analog pressure signal input from the pressure sensor 13 via the connector 15b and outputs the pressure signal to the μCOM 15a, and a μCOM 15a. A heater driving circuit 15e for energizing the flow sensor 14 in accordance with a sampling signal to be output to drive the flow sensor 14, and an amplification circuit for amplifying and outputting an analog flow signal from the flow sensor 14 input via the connector 15b. 15f and the amplified analog flow signal output from the amplifier circuit 15f are converted into digital signals. Constitute an A / D converter 15g for outputting the μCOM15a as a flow signal Te.
[0025]
Further, the controller 15 can retain various stored data even when the power supply from the power supply unit 11 is cut off, and can be electrically erased / rewritable having various storage areas necessary for the processing operation of the CPU 15a1. A read-only memory (EEPROM) 15h, a terminal block 15i to which various external devices external to the gas meter 4 are connected, and signals are exchanged between μCOM and the external device via the terminal block 15i. Interface circuit 15j.
[0026]
Specifically, the controller 15 is connected to the controller 15 via a terminal block 15i, for example, an in-home display panel 21 for performing various displays relating to gas, and in-house operations for performing various remote operations on the gas meter 4. In addition to functions similar to those of the gas alarm unit 23 and the gas alarm unit 23, a second gas alarm is generated by detecting CO gas at an alarm level or higher. Via a public line such as a gas line alarm / CO alarm line 24, an automatic switching regulator 25 that automatically generates a signal corresponding to the switching operation of an automatic switching type pressure regulator that automatically switches a plurality of LP gas containers, and a telephone line An NCU (Network Control Unit) 26 for controlling communication with the management center of the gas dealer is connected.
[0027]
Further, the controller 15 is connected to the μCOM 15a and displays a liquid crystal display (LCD) 15k that displays various information such as an integrated value of gas usage and an alarm, and a battery 15m that supplies operating power to each circuit in the controller 15. The LP gas container was exchanged when closing the shut-off valve 12 opened and the seismoscope 15o connected to the μCOM 15a via the interface circuit 15n for detecting seismic intensity of a predetermined value or more. The shut-off valve closing / container replacement switch 15p that is turned on when the shut-off valve 12 is opened, the shut-off valve opening switch 15q that is turned on when the shut-off shut-off valve 12 is opened, and the voltage of the battery 15i are monitored. The voltage of the battery 15i is necessary for the operation of the controller 15 and the like. A battery voltage detection circuit 15r for detecting that the voltage has returned to a necessary voltage is provided.
[0028]
Next, an embodiment of the memory map of the EEPROM 15h in FIG. 2 will be described with reference to FIG.
In FIG. 3, the EEPROM 15h has a sampling time storage area 15h1 for storing a sampling time t for sampling the flow rate signal from the flow rate sensor 14 every predetermined time, and a predetermined period (for example, based on the flow rate calculated from the flow rate signal). (1 hour, 30 minute unit, etc.) having a previous day usage pattern information storage area 15h2 in which usage pattern information generated up to one day before is generated in order to indicate the gas usage state in a time series. It is composed.
[0029]
The usage pattern information described above includes, for example, total flow rate data in a predetermined period, use / non-use data of gas, and the like. The usage pattern information is determined by the CPU 15a1 for each predetermined period based on a program stored in advance in the ROM 15a2. And is reflected in the previous day use pattern information storage area 15h2. Therefore, as apparent from the fact that the usage pattern information for the previous day is stored, the previous day usage pattern information storage area 15h2 functions as the usage pattern storage means described in the claims.
[0030]
Next, an example of the operation outline of the sampling time setting process performed by the CPU 34 will be described with reference to the flowcharts of FIGS. 4 and 5 and the drawings of FIGS.
[0031]
In the sampling time setting process shown in FIG. 4, when the CPU 34 is activated by the start of power supply after the gas meter is installed and then started from the upper module, the sampling time initial value setting process is executed in step S <b> 1. And the minimum sampling time t predetermined in the ROM 15a2. 0 Is stored in the sampling time storage area 15h1 of the EEPROM 15h as the sampling time t, and then the process proceeds to step S2.
[0032]
When the flow rate measurement process is executed in step S2, a sampling signal is output to the heater drive circuit 15e when the sampling time t has elapsed since the previous sampling, and the connector is connected to the connector from the flow rate sensor 14 driven according to this sampling signal. The flow rate Q is calculated based on the flow rate signal input via 15b, the amplifier circuit 15f, and the A / D conversion circuit 15g. The flow rate Q is stored in the RAM 15a3, and then the process proceeds to step S3. Therefore, as is apparent from the above description, the flow rate measurement process functions as the flow rate measurement force means described in the claims.
[0033]
In step S3, the pressure change amount calculation process is executed to calculate the pressure change amount ΔP based on the pressure signal input from the pressure sensor 13 via the A / D conversion circuit 15d. The change amount ΔP is stored in the RAM 15a3, and then the process proceeds to step S4. Therefore, as is clear from the above description, the pressure change amount calculation processing functions as the pressure change amount calculation means described in the claims.
[0034]
In step S4, it is determined whether or not the gas is currently being used by determining whether or not the flow rate Q stored in the RAM 15a3 is 0 and the pressure change amount ΔP is 0. It is determined that at least one of the flow rate Q or the pressure change amount ΔP is not 0, that is, gas is used (flow rate Q ≠ 0) or there is a possibility that the gas supply pressure fluctuates (ΔP ≠ 0). If this is the case (N in step S4), the process returns to step S1 to repeat a series of processes.
[0035]
When it is determined in step S4 that both the flow rate Q and the pressure change amount ΔP are 0 (Y in step S4), the process proceeds to step S5. In step S5, the counter increment process is executed, whereby the counter c in the RAM 15a3 is incremented, and then the process proceeds to step S6.
[0036]
In step S6, it is determined whether or not the counter c of the RAM 15a3 has become equal to or greater than the threshold number n determined in advance in the ROM 15a2. If it is determined that the counter c is not greater than or equal to the threshold number n, that is, it is determined that both the flow rate Q and the pressure change amount ΔP have not detected 0 continuously for the threshold number n (for example, n times) (step S6). N) Returning to step S2, a series of processes relating to gas flow rate monitoring is repeated. On the other hand, if it is determined that the counter c is equal to or greater than the threshold number n, that is, it is determined that both the flow rate Q and the pressure change amount ΔP have continuously detected 0 for the threshold number n (for example, n times) (step S6). Y), it is considered that the gas is unused, and the process proceeds to step S7.
[0037]
In step S7, the counter clear process is executed, whereby 0 is stored in the counter c of the RAM 15a3, and then the process proceeds to step S8. In step S8, the previous day use pattern extraction process is executed, so that the current time information is obtained from a clock unit (not shown) built in the μCOM 15, and according to a predetermined period including the time indicated by the time information. The previous day's usage pattern information is extracted from the previous day's usage pattern information storage area 15h2 of the EEPROM 15h, the extracted usage pattern information is stored in the RAM 15a3, and then the process proceeds to step S9.
[0038]
In step S9, based on the usage pattern information in the RAM 15a3, it is determined whether or not the previous day's gas unused time zone, thereby determining the gas usage state in the same time zone one day ago. If it is determined that it is not the gas unused time zone of the previous day (N in step S9), the process returns to step S1 to repeat a series of processes. On the other hand, if it is determined that it is the gas unused time zone of the previous day (Y in step S9), the process proceeds to step S10.
[0039]
Therefore, when 0 is continuously detected for a predetermined number of times (n times) by the series of processes of steps S6, S8, and S9 described above, the usage pattern of the previous day corresponding to the predetermined period including this point is stored in the EEPROM 15h. Since it is extracted from the previous day use pattern information storage area 15h2 and the use state of the gas in the same time zone one day ago is determined based on this extracted use pattern information, a series of processes of steps S6, S8 and S9 Functions as the use state determination means described in the claims.
[0040]
In step S10, the pressure change amount calculating means is executed, so that the pressure change amount ΔP is calculated in the RAM 15a3 as in step S3. Then, the process proceeds to step S11. In step S11, it is determined whether or not the pressure change amount ΔP in the RAM 15a3 is zero. When it is determined that the pressure change amount ΔP is not 0 (N in Step S11), the process returns to Step S1 and a series of processes is repeated. On the other hand, when it is determined that the pressure change amount ΔP is 0 (Y in step S11), the process proceeds to step S12.
[0041]
In step S12, after recognizing that it is the gas unused time zone of the previous day, the monitoring time t for monitoring fluctuations in the gas supply pressure due to the influence of GHP operation, etc., which is predetermined in the ROM 15a2. 1 It is determined whether or not elapses. Monitoring time t 1 Is determined not to have elapsed (N in step S12), the process returns to step S10, and a series of processing is repeated to continuously monitor the change in the pressure change amount ΔP. On the other hand, the monitoring time t 1 When it is determined that has elapsed (Y in step S12), the process proceeds to step S13 shown in FIG.
[0042]
In step S13 shown in FIG. 5, the flow rate measurement process is executed, so that the flow rate Q is calculated in the RAM 15a3 as in step S2 shown in FIG. 4, and then the process proceeds to step S14. In step S14, it is determined whether or not the flow rate Q of the RAM 15a3 is zero. If it is determined that the flow rate Q is not 0 (N in step S14), the process returns to step S1 shown in FIG. 4 and a series of processes is repeated. On the other hand, when it is determined that the flow rate Q is 0 (Y in step S14), the process proceeds to step S15.
[0043]
In step S15, by executing the sampling time update process, a predetermined delay time Δt is added to the ROM 15a2 to the sampling time t of the EEPROM 15h. 15h2 (t = t + Δt), and then the process proceeds to step S16.
[0044]
In step S16, the flow rate measurement process is executed, so that the flow rate Q is calculated in the RAM 15a3 as in step S2 shown in FIG. 4, and then the process proceeds to step S17. In step S17, it is determined whether or not the flow rate Q of the RAM 15a3 is zero. When it is determined that the flow rate Q is not 0 (N in Step S17), the process returns to Step S1 shown in FIG. 4 and the delayed sampling time t is the minimum sampling time t. 0 It is changed to and a series of processing is repeated. On the other hand, when it is determined that the flow rate Q is 0 (Y in step S17), the process proceeds to step S18.
[0045]
In step S18, the counter increment process is executed, whereby the counter c of the RAM 15a3 is incremented, and then the process proceeds to step S19.
[0046]
In step S19, it is determined whether or not the counter c of the RAM 15a3 has reached the threshold number n or more predetermined in the ROM 15a2. When it is determined that the counter c is not equal to or greater than the threshold number n, that is, after the sampling time t is changed, the state where the flow rate Q is 0 is not continuously detected for the threshold number n (for example, n times) or more. (N in step S19), the process returns to step S16, and a series of processes relating to gas flow rate monitoring is repeated. On the other hand, when it is determined that the counter c is equal to or greater than the threshold number n, that is, the state where the flow rate Q is 0 is continuously detected the threshold number n (for example, n times) or more (Y in step S19), It is considered that the unused state of gas is continuing, and the process proceeds to step S20.
[0047]
In step S20, counter clear processing is executed, so that 0 is stored in the counter c of the RAM 15a3, and then the process proceeds to step S21. In step S21, the flow rate measurement process is executed, so that the flow rate Q is calculated in the RAM 15a3 as in step S2 shown in FIG. 4, and then the process proceeds to step S22. Then, in step S22, the pressure change amount calculation process is executed, so that the pressure change amount ΔP is calculated in the RAM 15a3 as in step S3 shown in FIG. 4, and then the process proceeds to step S23.
[0048]
In step S23, the sampling time t of the EEPROM 15h is the maximum sampling time t stored in advance in the ROM 15a2. MAX Whether or not is equal is determined. In the present embodiment, the maximum sampling time t MAX And minimum sampling time t 0 Is the difference (t MAX -T 0 ), Assuming that it becomes the greatest common multiple of the delay time Δt, but if it does not become the greatest common multiple of the delay time Δt, the determination processing is performed with the maximum sampling time t. MAX This can be dealt with by determining whether or not the difference between the sampling time t and the sampling time t is equal to or shorter than the delay time Δt.
[0049]
In step S23, the sampling time t is the maximum sampling time t. MAX If determined to be equal to (Y in step S23), the process proceeds to step S24. In step S24, it is determined whether or not the flow rate Q of the RAM 15a3 has exceeded a flow rate threshold value α preset in the ROM 15a2, or the pressure change amount ΔP of the RAM 15a3 has exceeded a pressure change amount threshold value β preset in the ROM 15a2. Determined. When it is determined that both the flow rate Q and the pressure change amount ΔP do not exceed the respective threshold values (N in step S24), the process returns to step S16, and a series of processing relating to gas flow rate monitoring is repeated.
[0050]
On the other hand, when it is determined in step S24 that either the flow rate Q or the pressure change amount ΔP exceeds the respective threshold (Y in step S24), it is considered that the use of the gas has started, and the process proceeds to step 1 shown in FIG. Return, the delayed sampling time t is the minimum sampling time t 0 It is changed to and a series of processing is repeated.
[0051]
In step S23, the sampling time t is changed to the maximum sampling time t. MAX If it is determined that they are not equal to (N in step S23), the process proceeds to step S25. In step S25, it is determined whether or not the flow rate Q of the RAM 15a3 exceeds the flow rate threshold value α preset in the ROM 15a2, or the pressure change amount ΔP of the RAM 15a3 exceeds the pressure change amount threshold value β set in the ROM 15a2. Determined. When it is determined that both the flow rate Q and the pressure change amount ΔP do not exceed the respective threshold values (N in step S25), the delay time Δt can be added to the sampling time t. A series of processing relating to gas flow rate monitoring is repeated by further increasing the time t.
[0052]
On the other hand, if it is determined in step S25 that either the flow rate Q or the pressure change amount ΔP exceeds the respective threshold (Y in step S25), it is considered that the use of the gas has started, and the process proceeds to step S1 shown in FIG. Return, the delayed sampling time t is the minimum sampling time t 0 It is changed to and a series of processing is repeated.
[0053]
Therefore, as is clear from the above description, the CPU 15a1 functions as a flow rate measuring unit, a use state determining unit, and a pressure change amount calculating unit described in the claims.
[0054]
Next, an example of the operation (action) of the present embodiment configured as described above will be described below.
[0055]
In the gas meter 4, first, the minimum sampling time t is used as an initial value at the sampling time t. 0 Is set (step S1). Then, based on the measured flow rate Q and the calculated pressure change amount ΔP, it is determined whether or not the gas is being used (steps S2 to S4). If gas is being used (N in step S4), the gas usage state is continuously monitored.
[0056]
When the flow rate Q = 0 and the pressure change amount ΔP = 0 are detected, the counter c for determining whether or not the predetermined number of times continues is incremented (step S5), and the counter c is changed to the threshold number n ( It is determined whether or not (for example, n times) or more. When the counter c is equal to or greater than the threshold number n, it is determined that the unused state of the gas continues (Y in step S6), and the counter c is cleared (step S7).
[0057]
Then, a usage pattern one day ago corresponding to a predetermined period including a time point when it is determined that the unused state of gas is continued is extracted from the previous day usage pattern information storage area 15h2 of the EEPROM 15h (step S8). Based on the used pattern information, the gas usage state in the same time zone one day ago is determined (step S9). If it is determined that the previous day was a gas use time zone (N in step S9), monitoring of the gas use state is continued without changing the sampling time t. On the other hand, if it is determined that the previous day is a gas unused time zone (Y in step S9), in order to monitor fluctuations in the gas supply pressure due to the operation of the GHP installed near the gas supply line, etc. , Pressure change amount ΔP is monitored time t 1 (Steps S10 to S12).
[0058]
When a change in pressure is detected during the monitoring period of the pressure change amount ΔP (N in step S11), there is a possibility that the gas supply pressure may fluctuate, so the gas usage state is not changed without changing the sampling time t. Monitoring continues. On the other hand, when the monitoring period ends without detecting a change in the pressure change amount ΔP (Y in step S12), if the flow rate Q at that time is 0, a value obtained by adding the delay time Δt to the sampling time t is obtained. The new sampling time t is stored in the sampling time storage area 15h2 of the EEPROM 15h (step S15).
[0059]
The flow rate Q is sampled based on the delayed sampling time t. After that, when 0 is detected for a predetermined number of times (for example, n times) of the measured flow rate Q (Y in step S19), the sampling time t is the maximum sampling time t. MAX If the flow rate Q is not the flow rate threshold value α and the pressure change amount ΔP is not larger than the pressure change amount threshold value β (N in step S25), the delay time Δt is further added to the sampling time t. The obtained value is stored in the sampling time storage area 15h2 of the EEPROM 15h as a new sampling time t (step S15).
[0060]
Note that the delay time Δt is added to the sampling time t because the sampling time t is the maximum sampling time t. MAX Until it becomes equal to (Y in step S23). Further, when a flow rate Q other than 0 is detected (N in step S17), or when either the flow rate Q or the pressure change ΔP exceeds the respective threshold (N in step S24, N in step S25), sampling is performed. Time t is the minimum sampling time t 0 (Step S1). Thereafter, the gas flow rate is measured based on the flow rate signal sampled every minimum sampling time t.
[0061]
As described above, when the gas meter 4 according to the present invention detects 0 consecutive times of the flow rate Q measured based on the input from the flow rate sensor (flow rate measuring means) 14 a day before including the detection time point. If the gas usage state in the time zone is determined and the time zone is an unused gas time zone, the sampling time t is increased by adding the delay time Δt to the sampling time t. The gas flow rate can be measured on the basis of the sampling time t set based on the gas use state, the gas use time zone being short, and the gas unused time zone being long.
[0062]
Therefore, in general, the usage state of the gas in one day can be improved without increasing power consumption since the unused time is longer than the usage time. Moreover, since the determination of the gas usage state is based on the gas usage pattern information of the previous day, the current state of the gas usage state at the installation destination of the gas meter can be further reflected in the sampling time t. Furthermore, since the sampling time t can generally reduce the power consumption in sampling even if it is delayed from 0.5 seconds to 1.0 seconds, for example, in the present invention, the sampling time t is set when the gas is not used. Since it is set to be long, it is possible to reduce power consumption by sampling the flow rate, so that the number of batteries used as power for the gas meter can be reduced. Therefore, it is possible to provide a small gas meter with high accuracy and low cost for measuring the gas flow rate.
[0063]
In addition, the flow rate Q measured based on the input from the flow rate sensor (flow rate measurement means) 14 is detected 0 consecutive times, and the pressure calculated based on the input from the pressure sensor (pressure change amount calculation means) 13 When the change amount ΔP is 0, the use state one day ago is determined, so that the use state of the gas can be determined more accurately. Therefore, since it does not depend only on the measured value of the flow sensor (flow rate measuring means) 14, the state of use of the gas at the installation destination of the gas meter 4 can be more accurately reflected in the sampling time t.
[0064]
Furthermore, when the calculated pressure change amount continues to be 0 for a predetermined monitoring time, the pressure change amount is regarded as 0. For example, a neighboring gas engine heat pump (GHP) is disposed near the gas supply line. In such a case, if the gas supply pressure changes due to operation of the GHP, the sampling time t is not changed, so that the measurement accuracy is not lowered. Therefore, since it is possible to determine the usage state of the gas more accurately, it is possible to more accurately reflect the current state of the usage state of the gas at the installation destination of the gas meter in the sampling time t.
[0065]
Further, the delay time Δt is calculated each time a predetermined number of consecutive zeros of the flow rate Q measured based on the input from the flow sensor (flow rate measuring means) 14 is detected based on the sampling time t to which the delay time Δt is added. Since it is added to the sampling time t, if the unused state of gas continues after changing to the new sampling time t, the sampling time t can be lengthened every fixed period. Therefore, since the sampling time t becomes longer sequentially according to the continuation state of the unused time of the gas, the power consumption can be further reduced.
[0066]
Further, when a change in the usage state of the gas is detected based on the flow rate Q and the pressure change amount ΔP, the sampling time t is quickly changed to the minimum sampling time t. 0 Therefore, the gas flow rate Q can be measured based on the short sampling time t from the time when the use of the gas is started. Therefore, it is possible to improve the gas measurement accuracy and reliably reduce the power consumption in the unused time zone of the gas.
[0067]
The sampling time t is a predetermined maximum sampling time t. MAX Therefore, the flow rate Q can be measured at the sampling time t suitable for the unused period of the gas. Therefore, it is possible to reliably reduce the power consumption without degrading the gas measurement accuracy in the unused period of the gas.
[0068]
Further, since it is not necessary to frequently sample the outputs of the flow sensor (flow measurement means) 14 and the pressure sensor (pressure measurement means) 13, the CPU 15a1 of the μCOM 15 can be lowered in clock during the sampling interval. Further, power consumption in the gas meter can be further reduced.
[0069]
Moreover, although this embodiment mentioned above demonstrated embodiment suitable for the installation place where the gas consumption pattern is not fixed, this invention is not limited to this, This embodiment mentioned above is described. In the case of applying to an installation place where the gas consumption pattern is fixed, the above-described embodiment can be applied as it is. However, for example, efficiency can be improved by changing step S24 shown in FIG. 5 to the flowchart shown in FIG. Can respond well.
[0070]
In step S23 shown in FIG. 5, the sampling time t is the maximum sampling time t. MAX If it is determined that they are equal to (Y in step S23), the process proceeds to step S241 shown in FIG. In step S241, the flow rate measurement process is executed, so that the flow rate Q is calculated in the RAM 15a3 as in step S2 shown in FIG. 4, and then the process proceeds to step S242.
[0071]
In step S242, it is determined whether or not the flow rate Q of the RAM 15a3 is zero. If it is determined that the flow rate Q is not 0 (N in Step S242), the process returns to Step S1 shown in FIG. 4 and the delayed sampling time t is the minimum sampling time t. 0 It is changed to and a series of processing is repeated. On the other hand, when it is determined that the flow rate Q is 0 (Y in step S242), the process proceeds to step S243.
[0072]
In step S243, the time information acquisition process is executed, so that the current time information is acquired from the clock unit (not shown) built in the μCOM 15 into the RAM 15a3, and then the process proceeds to step S244. In step S244, it is determined based on the time information in the RAM 15a3 whether or not it is T minutes before the gas use time zone. When it is determined that it is not T minutes before the gas use time zone (N in step S244), the process returns to step S241 and a series of processes is repeated. On the other hand, if it is determined that it is T minutes before the gas use time zone (Y in step S244), since it is T minutes before the start of gas use, the sampling time t is set to the minimum sampling time t. 0 To return to step 1 shown in FIG. 4, the delayed sampling time t is reduced to the minimum sampling time t. 0 It is changed to and a series of processing is repeated.
[0073]
Thus, when applying the gas meter 4 to the installation place where the gas consumption pattern is fixed, the sampling time t is changed to the maximum sampling time t by changing step S24 shown in FIG. 5 to the flowchart shown in FIG. MAX Therefore, it is possible to reduce the CPU 15a1 of the μCOM 15 during the sampling interval, thereby further reducing the power consumption in the gas meter.
[0074]
Further, in the above-described embodiment, the case where the gas usage pattern is stored for only one day has been described. However, the present invention is not limited to this, and the usage status of the installation destination of the gas meter 4 is determined in the near future. If possible, for example, different usage patterns such as 3 days before and 1 week before may be used.
[0075]
【The invention's effect】
As described above, according to the gas meter of the present invention described in claim 1, when zero is continuously detected for a predetermined number of times measured by the flow rate measuring means, the use of gas in the time zone one day before including the detection time point. If the state is determined and the time zone is an unused gas time zone, the predetermined sampling time is added to the predetermined sampling time of the flow rate measuring means and the predetermined sampling time is changed to be longer. Based on the state, the gas flow rate can be measured based on a predetermined sampling time set short when the gas is used and long when the gas is not used. Therefore, in general, the usage state of the gas in one day can be improved without increasing power consumption since the unused time is longer than the usage time. In addition, since the determination of the gas usage state is based on the gas usage pattern of the previous day, the current state of the gas usage state at the installation location of the gas meter can be further reflected in the predetermined sampling time. Furthermore, since the predetermined sampling time is set long when the gas is not used, it is possible to reduce the power consumption by sampling the flow rate, so that the number of batteries used as power for the gas meter can be reduced. Therefore, it is possible to provide a small gas meter with high accuracy and low cost for measuring the gas flow rate.
[0076]
According to the invention described in claim 2, in addition to the effect of the invention described in claim 1, the use state determining means detects 0 which continues the predetermined number of times of the flow rate measured by the flow rate measuring means, and further the amount of change in pressure. When the pressure change amount calculated by the calculation means is 0, the use state of the previous day is determined, so that the use state of the gas can be determined more accurately. Therefore, since it does not depend only on the measurement value of the flow rate measuring means, the current state of the gas usage state at the installation destination of the gas meter can be reflected more accurately in the predetermined sampling time.
[0077]
According to the invention described in claim 3, in addition to the effect of the invention described in claim 2, the use state determining means is configured such that the pressure change amount calculated by the pressure change amount calculating means continues for a predetermined monitoring time. Since the pressure change amount is regarded as 0 when 0, for example, when a neighboring gas engine heat pump (GHP) is arranged near the gas supply line, the gas supply pressure varies depending on the operation of GHP. If there is a pressure change that may occur, the predetermined sampling time is not changed, so that the measurement accuracy is not lowered. Accordingly, when there is a pressure change that may affect the measurement in the gas meter, the predetermined sampling time is not changed, so that it is possible to determine the gas usage state more accurately. It is possible to more accurately reflect the current state of the use state of the gas at the installation destination of the gas in the predetermined sampling time.
[0078]
According to the invention of claim 4, in addition to the effect of the invention of any one of claims 1 to 3, the predetermined number of times of flow rate measured by the flow rate measuring means based on the predetermined sampling time to which the delay time is added. Each time a consecutive zero is detected, the delay time is added to the predetermined sampling time. Therefore, if the unused state of the gas continues after changing to a new predetermined sampling time, the predetermined sampling time is increased for every fixed period. can do. Therefore, since the predetermined sampling time is sequentially increased according to the continuation state of the unused time of the gas, the power consumption can be further reduced.
[0079]
According to the invention described in claim 5, in addition to the effect of the invention described in any one of claims 1 to 4, when a change in the state of use of the gas is detected based on the flow rate and the pressure change amount, the predetermined sampling time is set. Since the value is quickly returned to the minimum value, the gas flow rate can be measured based on a short predetermined sampling time from the time when the use of the gas is started. Accordingly, it is possible to improve the gas measurement accuracy and reliably reduce the power consumption in the unused time zone of the gas.
[0080]
According to the invention described in claim 6, in addition to the effect of the invention described in any one of claims 1 to 5, the predetermined sampling time does not exceed the predetermined maximum sampling time, so that no unused gas is used. The flow rate can be measured at a predetermined sampling time suitable for the time zone. Therefore, it is possible to reliably reduce the power consumption without deteriorating the measurement accuracy of the gas in the unused period of the gas.
[Brief description of the drawings]
FIG. 1 is a diagram showing a basic configuration of a gas meter according to the present invention.
FIG. 2 is a configuration diagram showing a schematic configuration of a gas meter according to the present invention.
3 is a diagram showing an embodiment of a memory map of the EEPROM of FIG. 2; FIG.
4 is a flowchart showing a part of a sampling time setting process performed by the CPU of FIG. 2;
FIG. 5 is a flowchart showing another part of the sampling time setting process performed by the CPU of FIG. 2;
FIG. 6 is a flowchart showing another embodiment of step S24 of FIG.
FIG. 7 is a diagram showing a schematic configuration of a general gas supply system.
[Explanation of symbols]
13 Pressure measuring means (pressure sensor)
14 Flow rate measuring means (flow rate sensor)
15a11 Flow rate measuring means (CPU)
15a12 Usage state determination means (CPU)
15a13 Pressure change amount calculation means (CPU)
15h2 Usage pattern storage means (EEPROM)

Claims (6)

ガス供給ラインを通過するガス流量に応じて流量信号を発する流量測定手段と、該流量測定手段から所定サンプリング時間毎に読み取る前記流量信号に基づいてガスの流量を計測する流量計測手段とを備えたガスメータにおいて、
前記流量計測手段が算出した前記流量を所定期間毎の前記ガスの使用パターンとして少なくとも1日分前まで時系列的に記憶する使用パターン記憶手段と、
前記流量計測手段が計測した前記流量の所定回数連続する0を検出したとき、この時点を含む前記所定期間に応じた前記1日前の前記使用パターンを前記使用パターン記憶手段から抽出し、該抽出した使用パターンに基づいて前記1日前の同じ時間帯におけるガスの使用状態を判定する使用状態判定手段と、をさらに備え、
前記流量計測手段は、前記1日前の同じ時間帯に前記ガスは使用されていなかったとの前記使用状態判定手段の判定結果に応じて、前記所定サンプリング時間に所定の遅延時間を加算した値を新たに前記所定サンプリング時間とする
ことを特徴とするガスメータ。
A flow rate measuring means for generating a flow rate signal according to a gas flow rate passing through the gas supply line; and a flow rate measuring means for measuring the flow rate of the gas based on the flow rate signal read from the flow rate measuring means every predetermined sampling time. In the gas meter,
Usage pattern storage means for storing the flow rate calculated by the flow rate measurement means in a time series until at least one day before as a usage pattern of the gas for each predetermined period;
When detecting 0 consecutive times of the flow rate measured by the flow rate measuring means, the usage pattern of the previous day corresponding to the predetermined period including this time point is extracted from the usage pattern storage means and extracted. A use state determining means for determining a use state of the gas in the same time zone one day before based on a use pattern;
The flow rate measuring unit newly adds a value obtained by adding a predetermined delay time to the predetermined sampling time according to a determination result of the use state determining unit that the gas has not been used in the same time zone one day before. A gas meter having the predetermined sampling time.
前記ガス供給ラインにおける前記ガスの圧力に応じて圧力信号を発する圧力測定手段と、
前記圧力測定手段からの前記圧力信号に基づいて圧力変化量を算出する圧力変化量算出手段と、をさらに備え、
前記使用状態判定手段は、さらに前記圧力変化量算出手段が算出した圧力変化量が0のときに前記1日前の前記使用状態の判定を行う
ことを特徴とする請求項1に記載のガスメータ。
Pressure measuring means for generating a pressure signal according to the pressure of the gas in the gas supply line;
Pressure change amount calculating means for calculating a pressure change amount based on the pressure signal from the pressure measuring means;
2. The gas meter according to claim 1, wherein the use state determination unit further determines the use state of the previous day when the pressure change amount calculated by the pressure change amount calculation unit is zero.
前記使用状態判定手段は、前記圧力変化量算出手段が算出した前記圧力変化量が所定の監視時間の間継続して0のときに、前記圧力変化量を0と見なす
ことを特徴とする請求項2に記載のガスメータ。
The use state determination unit is characterized in that the pressure change amount is regarded as 0 when the pressure change amount calculated by the pressure change amount calculation unit is continuously 0 for a predetermined monitoring time. 2. The gas meter according to 2.
前記使用状態判定手段は、前記所定サンプリング時間に前記遅延時間を加算した後、前記流量計測手段が新たな前記所定サンプリング時間に基づいて計測した前記流量の前記所定回数連続する0を検出する毎に、前記所定サンプリング時間に前記遅延時間を加算する
ことを特徴とする請求項1〜3の何れかに記載のガスメータ。
The use state determination unit adds the delay time to the predetermined sampling time, and then detects the continuous zero of the flow rate measured by the flow rate measurement unit based on the new predetermined sampling time. The gas meter according to claim 1, wherein the delay time is added to the predetermined sampling time.
前記使用状態判定手段は、前記所定サンプリング時間に前記遅延時間を加算した後、前記流量及び前記圧力変化量の少なくとも一方にそれぞれの所定の閾値を越える変化を検出すると、前記所定サンプリング時間を最小の値に戻す
ことを特徴とする請求項1〜4の何れかに記載のガスメータ。
The usage state determination means, after adding the delay time to the predetermined sampling time, detects a change exceeding a predetermined threshold value in at least one of the flow rate and the pressure change amount, and reduces the predetermined sampling time to a minimum. It returns to a value, The gas meter in any one of Claims 1-4 characterized by the above-mentioned.
前記所定サンプリング時間には、最大サンプリング時間が予め定められており、
前記使用状態判定手段は、前記最大サンプリング時間を越えない範囲で前記遅延時間を前記所定サンプリング時間に加算する
ことを特徴とする請求項1〜5の何れかに記載のガスメータ。
The predetermined sampling time has a predetermined maximum sampling time,
The gas meter according to any one of claims 1 to 5, wherein the use state determination unit adds the delay time to the predetermined sampling time within a range not exceeding the maximum sampling time.
JP2000112265A 2000-04-13 2000-04-13 Gas meter Expired - Fee Related JP4392108B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000112265A JP4392108B2 (en) 2000-04-13 2000-04-13 Gas meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000112265A JP4392108B2 (en) 2000-04-13 2000-04-13 Gas meter

Publications (2)

Publication Number Publication Date
JP2001296160A JP2001296160A (en) 2001-10-26
JP4392108B2 true JP4392108B2 (en) 2009-12-24

Family

ID=18624465

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000112265A Expired - Fee Related JP4392108B2 (en) 2000-04-13 2000-04-13 Gas meter

Country Status (1)

Country Link
JP (1) JP4392108B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4637492B2 (en) * 2004-03-03 2011-02-23 矢崎総業株式会社 Shipping mode release method and electronic gas meter
CN114611545B (en) * 2022-02-07 2024-06-21 重庆兆光科技股份有限公司 Method, system, equipment and medium for detecting gas terminal use based on window function

Also Published As

Publication number Publication date
JP2001296160A (en) 2001-10-26

Similar Documents

Publication Publication Date Title
US6121886A (en) Method for predicting fault conditions in an intelligent electronic device
JP4180778B2 (en) Battery life estimation device for gas meter
KR930006527A (en) Method and system for temperature monitoring
JP4392108B2 (en) Gas meter
JP3381835B2 (en) Electronic gas meter
JP2003302274A (en) Gas meter, operating time shutoff function resetting method, and operating time shutoff notice method
CA2372727A1 (en) Gas meter with low power consumption mode
JPH1152034A (en) Method and device for monitoring battery life and automatic notifying device
JP5632041B1 (en) Power plant
JPH0681425B2 (en) Battery system method and device and battery pack
JP2001258165A (en) Battery residual capacity detector
JP3755796B2 (en) LP gas remaining amount management device and gas meter
JP4254315B2 (en) Gas shut-off device
JP4487551B2 (en) Gas shut-off device
JP4186811B2 (en) Gas shut-off device
CN110248328B (en) Method for operating a communication system
JP2006242654A (en) Electronic gas meter
JP2566834Y2 (en) Abnormal overheat detector for gas insulated switchgear
JP2005214894A (en) Fluid measuring apparatus and gas meter
JP2600823Y2 (en) Abnormal overheat detector for gas insulated switchgear
JPH10227456A (en) Hot water heater and hot water supply control method
JP2988834B2 (en) Hot water supply apparatus and hot water supply control method
JP3146602B2 (en) Fluidic meter controller
JPH11230794A (en) Lp gas measuring device
JP4097375B2 (en) Load measuring instrument

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060721

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090402

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091009

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121016

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees