JP2011099702A - Device and method for determination - Google Patents

Device and method for determination Download PDF

Info

Publication number
JP2011099702A
JP2011099702A JP2009252989A JP2009252989A JP2011099702A JP 2011099702 A JP2011099702 A JP 2011099702A JP 2009252989 A JP2009252989 A JP 2009252989A JP 2009252989 A JP2009252989 A JP 2009252989A JP 2011099702 A JP2011099702 A JP 2011099702A
Authority
JP
Japan
Prior art keywords
gas
determination
flow rate
state
waveform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009252989A
Other languages
Japanese (ja)
Other versions
JP5302854B2 (en
Inventor
Masato Kondo
正登 近藤
Tatsuo Fujimoto
龍雄 藤本
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 JP2009252989A priority Critical patent/JP5302854B2/en
Publication of JP2011099702A publication Critical patent/JP2011099702A/en
Application granted granted Critical
Publication of JP5302854B2 publication Critical patent/JP5302854B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Flow Control (AREA)
  • Measuring Volume Flow (AREA)
  • Examining Or Testing Airtightness (AREA)
  • Regulation And Control Of Combustion (AREA)
  • Feeding And Controlling Fuel (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a device and a method for determination which enable improvement in determination accuracy. <P>SOLUTION: A gas meter 40 is equipped with a determination part 43. The determination part 43 is equipped with a first determination part 43a which determines at least either of gas leakage and a gas appliance 10 being used from a waveform obtained in a minute time from the time of a change of at least either of a gas flow and gas pressure, a second determination part 43b which determines the gas appliance 10 being used from a waveform pattern of the gas flow obtained in a longer time than the minute time, and a selection part 43c which selects one of a first state wherein the first determination part 43a alone is made to function, a second state wherein the second determination part 43b alone is made to function and a third state wherein both of the first and second determination parts 43a and 43b are made to function. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、判断装置及び判断方法に関する。   The present invention relates to a determination device and a determination method.

従来、流量センサにより検出された流量の波形パターンに基づいて、使用されているガス器具を判断するガス器具判定装置が提案されている。このガス器具判定装置では、例えば予めガス器具毎の流量の波形パターンを記憶しており、ガス器具の使用開始時から終了時までの波形パターンを取得し、取得した波形パターンと記憶された波形パターンとのマッチングをとる。そして、ガス器具判定装置では、マッチングの結果によって、使用されたガス器具を判断することとなる(例えば特許文献1及び2参照)。   2. Description of the Related Art Conventionally, there has been proposed a gas appliance determination device that determines a gas appliance being used based on a flow rate waveform pattern detected by a flow sensor. In this gas appliance determination device, for example, the waveform pattern of the flow rate for each gas appliance is stored in advance, the waveform pattern from the start to the end of use of the gas appliance is acquired, and the acquired waveform pattern and the stored waveform pattern Match with. And in a gas appliance determination apparatus, the used gas appliance will be judged by the result of matching (for example, refer patent documents 1 and 2).

特開2003−148728号公報JP 2003-148728 A 特開2007−93459号公報JP 2007-93459 A

また、本件発明者らは、ガス圧力やガス流量変化後の微小時間(例えば最大2秒)における波形を高速サンプリングにより取得し、取得された微小時間における波形の特徴からガス器具を判断する新規のガス器具判断装置を開発している。また、このガス器具判断装置では、微小時間における波形の特徴からガス漏れについても判断するようになっている。このガス器具判断装置によれば、微小時間におけるデータ取得によって使用ガス器具及びガス漏れの判断ができ、迅速な判断ができるようになっている。   In addition, the present inventors have acquired a waveform in a minute time (for example, a maximum of 2 seconds) after a change in gas pressure or gas flow rate by high-speed sampling, and a novel device for judging a gas appliance from the obtained waveform characteristics in the minute time A gas appliance judgment device is being developed. Moreover, in this gas appliance judgment apparatus, it is judged also about the gas leak from the characteristic of the waveform in minute time. According to this gas appliance determination device, it is possible to determine a gas appliance to be used and a gas leak by acquiring data in a minute time, and to make a quick determination.

しかし、本件発明者らが開発した新規のガス器具判断装置では、微小時間における波形を高速サンプリングするため、波形に瞬時的なノイズが重畳してしまう場合など、波形を乱すこととなり、使用ガス器具及びガス漏れの判断精度が低下してしまう可能性がある。   However, in the new gas appliance determination device developed by the present inventors, the waveform in a minute time is sampled at a high speed, so that the waveform is disturbed, such as when instantaneous noise is superimposed on the waveform, and the gas appliance used In addition, there is a possibility that the judgment accuracy of the gas leak is lowered.

なお、本件明細書では、開発中である新規のガス器具判断装置について説明しているが、この説明は、新規のガス器具判断装置について公知性を認めるものではない。   In addition, in this specification, although the new gas appliance judgment apparatus under development is demonstrated, this description does not admit publicity about a new gas appliance judgment apparatus.

本発明はこのような従来の課題を解決するためになされたものであり、その発明の目的とするところは、判断精度について向上を図ることが可能な判断装置及び判断方法を提供することにある。   The present invention has been made to solve the above-described conventional problems, and an object of the present invention is to provide a determination device and a determination method capable of improving the determination accuracy. .

本発明の判断装置は、ガス流量及びガス圧力の少なくとも一方の変化時からの微小時間中に得られた波形からガス漏れ及び使用ガス器具の少なくとも一方を判断する第1判断手段と、前記微小時間よりも長い時間において得られたガス流量の波形パターンから使用ガス器具を判断する第2判断手段と、前記第1判断手段のみを機能させる第1状態と、前記第2判断手段のみを機能させる第2状態と、前記第1及び第2判断手段の双方を機能させる第3状態との1つを選択する選択手段と、を備えることを特徴とする。   The determination apparatus of the present invention includes first determination means for determining at least one of a gas leak and a used gas appliance from a waveform obtained during a minute time from a change in at least one of a gas flow rate and a gas pressure, and the minute time A second determination unit that determines a gas apparatus to be used from a waveform pattern of a gas flow rate obtained in a longer time, a first state in which only the first determination unit functions, and a second state in which only the second determination unit functions. Selecting means for selecting one of two states and a third state in which both the first and second determining means function.

この判断装置によれば、ガス流量及びガス圧力の少なくとも一方の変化時からの微小時間中に得られた波形からガス漏れ及び使用ガス器具の少なくとも一方を判断すると共に、ガス流量変化時からの流量の波形パターンと予めガス器具毎に記憶された記憶パターンとのマッチングにより使用ガス器具を判断する。そして、前者のみを機能させる第1状態と、後者のみを機能させる第2状態と、双方を機能させる第3状態との1つを選択する。このため、ノイズ等によって前者の機能では、ガス漏れや使用ガス器具の判断が困難な場合に、後者機能や双方の機能を実行して判断精度を向上させることができる。   According to this determination apparatus, at least one of a gas leak and a gas appliance to be used is determined from a waveform obtained during a minute time from the time when at least one of the gas flow rate and gas pressure changes, and the flow rate from when the gas flow rate changes. The gas appliance to be used is determined by matching the waveform pattern of the above and the memory pattern stored in advance for each gas appliance. Then, one of a first state in which only the former is functioned, a second state in which only the latter is functioned, and a third state in which both are functioned is selected. For this reason, when it is difficult for the former function to judge a gas leak or a gas appliance to be used due to noise or the like, the latter function or both functions can be executed to improve the judgment accuracy.

また、本発明の判断装置において、前記選択手段は、初期状態において前記第1状態を選択し、所定条件成立時に前記第2状態、又は、前記第3状態を選択することが好ましい。   In the determination device of the present invention, it is preferable that the selection unit selects the first state in an initial state and selects the second state or the third state when a predetermined condition is satisfied.

この判断装置によれば、初期状態において第1状態を選択し、所定条件成立時に第2状態、又は、第3状態を選択するため、初期的には微小時間の波形から判断を実行する第1判断手段によって迅速な判断を可能とすると共に、ノイズ等により所定条件が成立して第1判断手段による判断が困難となった場合には第2判断手段のみ、又は双方によって判断精度を向上させることができる。従って、より迅速に、且つ判断精度を向上させることができる。   According to this determination apparatus, in order to select the first state in the initial state and select the second state or the third state when the predetermined condition is satisfied, the first determination is executed from the waveform of the minute time initially. In addition to enabling quick determination by the determination means, and when the predetermined condition is satisfied due to noise or the like and the determination by the first determination means becomes difficult, the determination accuracy is improved only by the second determination means or both. Can do. Therefore, the determination accuracy can be improved more quickly.

また、本発明の判断装置において、前記選択手段は、前記所定条件成立後、非成立となった場合、前記第1状態を選択することが好ましい。   In the determination apparatus of the present invention, it is preferable that the selection unit selects the first state when the predetermined condition is not satisfied after the predetermined condition is satisfied.

この判断装置によれば、所定条件成立後、非成立となった場合、第1状態を選択するため、なるべく迅速に判断可能な第1判断手段を機能させることとなり、一層迅速な判断を行うことができる。   According to this determination apparatus, when the predetermined condition is not satisfied and the condition is not satisfied, the first state is selected, so that the first determination means capable of determining as quickly as possible is made to function, and the determination can be made more quickly. Can do.

また、本発明の判断装置において、前記選択手段は、ガス圧力の変化が第1規定値以上であるにも拘わらず、ガス流量の変化が第2規定値未満である場合に、前記第2状態を選択することが好ましい。   Further, in the determination device of the present invention, the selection means is configured to perform the second state when the change in the gas flow rate is less than the second specified value even though the change in the gas pressure is equal to or higher than the first specified value. Is preferably selected.

この判断装置によれば、ガス圧力の変化が第1規定値以上であるにも拘わらず、ガス流量の変化が第2規定値未満である場合に、第2状態を選択する。この場合、圧力変動は大きいが流量変動は小さいといえる。通常、圧力変動と流量変動は相関があり、このような現象が起こるということは、ノイズと考えられる。そして、ノイズが発生しているときには、微小時間の波形にて判断を行う第1判断手段では判断精度が低下してしまう傾向にある。このため、第2状態を選択することで、比較的長時間の波形から判断を行う第2判断手段により判断を行って、判断精度を向上させることができる。   According to this determination device, the second state is selected when the change in the gas flow rate is less than the second specified value despite the change in the gas pressure being equal to or higher than the first specified value. In this case, the pressure fluctuation is large but the flow fluctuation is small. Usually, pressure fluctuations and flow fluctuations are correlated, and the occurrence of such a phenomenon is considered noise. When noise is generated, the determination accuracy tends to be reduced by the first determination means that performs determination based on a waveform of a minute time. For this reason, by selecting the second state, it is possible to improve the determination accuracy by performing the determination by the second determination unit that determines from a relatively long-time waveform.

また、本発明の判断装置において、前記選択手段は、ガス流量又はガス圧力の振幅が所定値以上のガス器具が使用されていると判断された場合、前記第3状態を選択することが好ましい。   In the determination device of the present invention, it is preferable that the selection unit selects the third state when it is determined that a gas appliance having a gas flow rate or gas pressure amplitude of a predetermined value or more is used.

この判断装置によれば、ガス流量又はガス圧力の振幅が所定値以上のガス器具が使用されていると判断された場合、第3状態を選択する。ここで、ガス流量又はガス圧力の振幅が所定値以上であるガス器具が使用されている場合、ガス流量又はガス圧力の振幅が小さいガス器具が使用されたとしても、波形が振幅の大きいガス器具に埋もれてしまうこととなり、第1判断手段による判断が困難となってしまう。ところが、ガス流量又はガス圧力の振幅が所定値以上であるガス器具が使用された後にガス流量又はガス圧力の振幅が小さいガス器具が使用されるか否かは不明であるため、第3状態を選択して、第1判断手段の機能を停止させることなく、比較的長い時間の波形から判断する第2判断手段を機能させる。これにより、振幅の小さいガス器具の波形が埋もれてしまったとしても、比較的長時間の波形から判断を行う第2判断手段により判断を行うことにより、振幅の小さいガス器具の使用を判断でき、判断精度を向上させることができる。   According to this determination apparatus, when it is determined that a gas appliance having a gas flow rate or gas pressure amplitude of a predetermined value or more is used, the third state is selected. Here, when a gas appliance having a gas flow rate or gas pressure amplitude of a predetermined value or more is used, even if a gas appliance having a small gas flow rate or gas pressure amplitude is used, the gas appliance having a large amplitude waveform. This makes it difficult to make a judgment by the first judging means. However, since it is unclear whether or not a gas appliance having a small gas flow rate or gas pressure amplitude is used after a gas appliance having a gas flow rate or gas pressure amplitude of a predetermined value or more is used, the third state is The second determination means for making a determination from a relatively long time waveform is made to function without stopping the function of the first determination means. Thereby, even if the waveform of the gas appliance with a small amplitude is buried, by using the second determination means that makes a determination from the waveform for a relatively long time, the use of the gas appliance with a small amplitude can be determined, Judgment accuracy can be improved.

また、本発明の判断装置において、前記選択手段は、ガス流量又はガス圧力の振幅が所定値以上のガス器具が使用されていることを前記第1判断手段により判断し、当該ガス器具の使用の判断後ガス流量が安定し、安定後に減少した流量値がゼロを超える場合に、前記第3状態を選択して前記第2判断手段を機能させ、前記第2判断手段は、ガス流量又はガス圧力の振幅が所定値以上のガス器具が使用されてからの流量の波形パターンに基づいて使用されたガス器具を判断することが好ましい。   Further, in the determination device of the present invention, the selection means determines that the gas instrument having a gas flow rate or gas pressure amplitude of a predetermined value or more is used by the first determination means, and uses the gas instrument. When the gas flow rate after the determination is stable and the flow rate value decreased after the stabilization exceeds zero, the third state is selected and the second determination unit is made to function, and the second determination unit is configured to operate the gas flow rate or the gas pressure. It is preferable to determine the used gas appliance based on the waveform pattern of the flow rate after the gas appliance having the amplitude of is not less than a predetermined value.

この判断装置によれば、ガス流量又はガス圧力の振幅が所定値以上のガス器具が使用されていることを第1判断手段により判断し、当該ガス器具の使用の判断後ガス流量が安定し、安定後に減少した流量値がゼロを超える場合に、第3状態を選択して第2判断手段を機能させる。ここで、ガス流量が安定し、安定後に減少した流量値がゼロを超える場合とは、1つのガス器具が使用開始され終了するまでの間に、別のガス器具の使用が開始され継続している場合が想定される。この場合、第2判断手段を機能させることにより使用されたガス器具を判断する。この際、ガス流量又はガス圧力の振幅が所定値以上のガス器具が使用されてからの流量の波形パターンに基づいて使用されたガス器具を判断する。これにより、いつ別のガス器具が使用開始されたか不明であっても、別の使用ガス器具を判断することができる。   According to this determination apparatus, it is determined by the first determination means that a gas appliance having a gas flow rate or gas pressure amplitude of a predetermined value or more is used, and the gas flow rate is stabilized after the use of the gas appliance is determined, When the flow rate value decreased after stabilization exceeds zero, the third state is selected and the second determination means is made to function. Here, when the gas flow rate is stable and the flow rate value decreased after stabilization exceeds zero, the use of another gas appliance is started and continued until one gas appliance starts and ends. It is assumed that In this case, the used gas appliance is determined by causing the second determination means to function. At this time, the used gas appliance is determined based on the waveform pattern of the flow rate after the gas appliance having a gas flow rate or gas pressure amplitude of a predetermined value or more is used. Thereby, even if it is unclear when another gas appliance has started to be used, it is possible to determine another gas appliance to be used.

また、本発明の判断装置において、前記選択手段は、ガス流量又はガス圧力の振幅が所定値以上のガス器具が使用されていることを前記第1判断手段により判断し、当該ガス器具の使用の判断後ガス流量が安定し、安定後に減少した流量値がゼロである場合、前記第3状態を選択せず前記第1状態を選択することが好ましい。   Further, in the determination device of the present invention, the selection means determines that the gas instrument having a gas flow rate or gas pressure amplitude of a predetermined value or more is used by the first determination means, and uses the gas instrument. When the gas flow rate after the determination is stable and the flow rate value decreased after the stabilization is zero, it is preferable to select the first state without selecting the third state.

この判断装置によれば、振幅の大きいガス器具が使用されたとしても、その後の流量減少時に流量値がゼロとなった場合、単に振幅の大きいガス器具が使用されて停止したと推定できる。よって、特段第2判断手段を機能させる必要が無い。従って、不要に処理負担を増加させることなく、消費電力を抑えることができる。   According to this determination apparatus, even if a gas appliance having a large amplitude is used, if the flow rate value becomes zero when the flow rate subsequently decreases, it can be estimated that the gas appliance having a large amplitude is simply used and stopped. Therefore, it is not necessary to make the second determining means function. Therefore, power consumption can be suppressed without unnecessarily increasing the processing load.

また、本発明の判断方法は、ガス流量及びガス圧力の少なくとも一方の変化時からの微小時間中に得られた波形からガス漏れ及び使用ガス器具の少なくとも一方を判断する第1判断工程と、ガス流量変化時からの流量の波形パターンと予めガス器具毎に記憶された記憶パターンとのマッチングにより使用ガス器具を判断する第2判断工程と、前記第1判断工程を実行する第1状態と、前記第2判断工程を実行する第2状態と、前記第1及び第2判断工程の双方を実行する第3状態との1つを選択する選択工程と、を有することを特徴とする。   In addition, the determination method of the present invention includes a first determination step of determining at least one of a gas leak and a gas appliance to be used from a waveform obtained during a minute time from a change in at least one of a gas flow rate and a gas pressure, A second determination step of determining a gas appliance to be used by matching a waveform pattern of a flow rate from the time of a flow rate change and a memory pattern stored in advance for each gas appliance; a first state for executing the first determination step; And a selection step of selecting one of a second state in which the second determination step is executed and a third state in which both the first and second determination steps are executed.

この判断方法によれば、ガス流量及びガス圧力の少なくとも一方の変化時からの微小時間中に得られた波形からガス漏れ及び使用ガス器具の少なくとも一方を判断すると共に、ガス流量変化時からの流量の波形パターンと予めガス器具毎に記憶された記憶パターンとのマッチングにより使用ガス器具を判断する。そして、前者のみを機能させる第1状態と、後者のみを機能させる第2状態と、双方を機能させる第3状態との1つを選択する。このため、ノイズ等によって前者の機能では、ガス漏れや使用ガス器具の判断が困難な場合に、後者機能や双方の機能を実行して判断精度を向上させることができる。   According to this determination method, at least one of a gas leak and a gas appliance to be used is determined from a waveform obtained during a minute time from when at least one of the gas flow rate and gas pressure changes, and the flow rate from when the gas flow rate changes. The gas appliance to be used is determined by matching the waveform pattern of the above and the memory pattern stored in advance for each gas appliance. Then, one of a first state in which only the former is functioned, a second state in which only the latter is functioned, and a third state in which both are functioned is selected. For this reason, when it is difficult for the former function to judge a gas leak or a gas appliance to be used due to noise or the like, the latter function or both functions can be executed to improve the judgment accuracy.

本発明によれば、判断精度について向上を図ることが可能な判断装置及び判断方法を提供することができる。   According to the present invention, it is possible to provide a determination device and a determination method capable of improving determination accuracy.

本発明の実施形態に係る判断装置を含むガス供給システムの構成図である。It is a lineblock diagram of a gas supply system containing a judgment device concerning an embodiment of the present invention. 図1に示したガスメータの詳細を示す構成図である。It is a block diagram which shows the detail of the gas meter shown in FIG. 図2に示した選択部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the selection part shown in FIG. ガス器具が使用された直後の微小時間中に得られる波形の一例を示す図である。It is a figure which shows an example of the waveform obtained during the micro time immediately after a gas appliance is used. 振幅が大きいガス器具の使用中に振幅が小さいガス器具が使用された場合の波形の一例を示す図であって、(a)は双方のガス器具使用による合成波形を示し、(b)は、振幅が大きいガス器具のみの波形を示し、(c)は、振幅が小さいガス器具のみの波形を示している。It is a figure which shows an example of a waveform when a gas appliance with a small amplitude is used while using a gas appliance with a large amplitude, wherein (a) shows a combined waveform by using both gas appliances, (b) The waveform of only a gas appliance with a large amplitude is shown, and (c) shows the waveform of only a gas appliance with a small amplitude. 図2に示した生成部により生成されるガス漏れ振動波形の概略を示す図である。It is a figure which shows the outline of the gas leak vibration waveform produced | generated by the production | generation part shown in FIG. 圧力変動の様子を示す図であって、(a)はガス漏れ時における圧力変化を示し、(b)はガス器具使用時における圧力変化を示している。It is a figure which shows the mode of a pressure fluctuation | variation, Comprising: (a) shows the pressure change at the time of gas leak, (b) has shown the pressure change at the time of gas appliance use. ガス漏れ時における連続NCCを示すグラフである。It is a graph which shows continuous NCC at the time of gas leak. 給湯器使用時における連続NCCを示すグラフである。It is a graph which shows continuous NCC at the time of water heater use. 床暖房使用時における連続NCCを示すグラフである。It is a graph which shows continuous NCC at the time of floor heating use. 図2に示した第1判断部の処理の一例を示すフローチャートである。It is a flowchart which shows an example of a process of the 1st judgment part shown in FIG. 図2に示した第2判断部の処理の一例を示すフローチャートであって、第2状態における処理を示している。It is a flowchart which shows an example of a process of the 2nd judgment part shown in FIG. 2, Comprising: The process in a 2nd state is shown. 図2に示した第2判断部の処理の一例を示すフローチャートであって、第3状態における処理を示している。It is a flowchart which shows an example of a process of the 2nd judgment part shown in FIG. 2, Comprising: The process in a 3rd state is shown. 第2実施形態に係る切替部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the switching part which concerns on 2nd Embodiment. 第3実施形態に係るガスメータの詳細を示す構成図である。It is a block diagram which shows the detail of the gas meter which concerns on 3rd Embodiment. ガス漏れが発生したときの圧力波形をフーリエ変換して得られるスペクトルデータを示すグラフである。It is a graph which shows the spectrum data obtained by Fourier-transforming the pressure waveform when a gas leak generate | occur | produces. テーブルコンロが使用されたときの圧力波形をフーリエ変換して得られるスペクトルデータを示すグラフである。It is a graph which shows the spectrum data obtained by Fourier-transforming the pressure waveform when a table stove is used. ガスストーブが使用されたときの圧力波形をフーリエ変換して得られるスペクトルデータを示すグラフである。It is a graph which shows the spectrum data obtained by Fourier-transforming the pressure waveform when a gas stove is used. 給湯器が使用されたときの圧力波形をフーリエ変換して得られるスペクトルデータを示すグラフである。It is a graph which shows the spectrum data obtained by Fourier-transforming the pressure waveform when a water heater is used. ファンヒータが使用されたときの圧力波形をフーリエ変換して得られるスペクトルデータを示すグラフである。It is a graph which shows the spectrum data obtained by Fourier-transforming the pressure waveform when a fan heater is used. 第3実施形態に係る第1判断部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the 1st judgment part which concerns on 3rd Embodiment.

以下、本発明の好適な実施形態を図面に基づいて説明する。図1は、本発明の実施形態に係る判断装置を含むガス供給システムの構成図である。ガス供給システム1は、ガスストーブ、ファンヒータ、給湯器、床暖房及びテーブルコンロなどの各ガス器具10に燃料ガスを供給するものであって、複数のガス器具10と、ガス供給元の調整器20と、配管31,32と、ガスメータ(判断装置)40とを備えている。なお、図1に示す例では、ガスメータ40を判断装置の一例として挙げるが、判断装置はガスメータ40に限るものではない。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of a gas supply system including a determination device according to an embodiment of the present invention. The gas supply system 1 supplies a fuel gas to each gas appliance 10 such as a gas stove, a fan heater, a water heater, a floor heater, and a table stove. The gas supply system 1 includes a plurality of gas appliances 10 and a gas supply source regulator. 20, pipes 31 and 32, and a gas meter (judgment device) 40. In the example illustrated in FIG. 1, the gas meter 40 is described as an example of the determination device, but the determination device is not limited to the gas meter 40.

調整器20は上流からの燃料ガスを所定圧力に調整して第1配管31に流すものである。第1配管31は、調整器20とガスメータ40とを接続するものである。第2配管32はガスメータ40とガス器具10とを接続する配管である。ガスメータ40は、燃料ガスの流量を測定して積算流量を表示するものである。このようなガス供給システム1では、ガスメータ40内に第1配管31及び第2配管32とつながる流路が形成されており、調整器20を通じて流れてきた燃料ガスは第1配管31からガスメータ40、及び第2配管32を通じてガス器具10に到達し、ガス器具10において燃焼されることとなる。   The adjuster 20 adjusts the fuel gas from the upstream to a predetermined pressure and flows it through the first pipe 31. The first pipe 31 connects the regulator 20 and the gas meter 40. The second pipe 32 is a pipe that connects the gas meter 40 and the gas appliance 10. The gas meter 40 measures the flow rate of the fuel gas and displays the integrated flow rate. In such a gas supply system 1, a flow path connected to the first pipe 31 and the second pipe 32 is formed in the gas meter 40, and the fuel gas flowing through the regulator 20 flows from the first pipe 31 to the gas meter 40, And the gas appliance 10 is reached through the second pipe 32 and burned in the gas appliance 10.

図2は、図1に示したガスメータ40の詳細を示す構成図である。図2に示すようにガスメータ40は、流量センサ41と、圧力センサ42と、判断部43と、トリガ信号発生部44と、生成部45と、類似度推移記憶部46と、波形パターン記憶部47とを有している。流量センサ41は、ガスメータ40の流路内におけるガス流量に応じた計測値の信号を出力するものである。圧力センサ42は、ガスメータ40の流路内におけるガス圧力に応じた計測値の信号を出力するものである。   FIG. 2 is a configuration diagram showing details of the gas meter 40 shown in FIG. As shown in FIG. 2, the gas meter 40 includes a flow sensor 41, a pressure sensor 42, a determination unit 43, a trigger signal generation unit 44, a generation unit 45, a similarity transition storage unit 46, and a waveform pattern storage unit 47. And have. The flow sensor 41 outputs a measurement value signal corresponding to the gas flow rate in the flow path of the gas meter 40. The pressure sensor 42 outputs a measurement value signal corresponding to the gas pressure in the flow path of the gas meter 40.

判断部43は、流量センサ41からの信号に基づいて検出されたガス流量及び圧力センサ42からの信号に基づいて検出されたガス圧力の少なくとも一方に基づいて、ガス漏れ及び使用ガス器具10の少なくとも一方を判断するものである。このような判断部43は、第1判断部(第1判断手段)43aと、第2判断部(第2判断手段)43bと、選択部(選択手段)43cとを有している。   Based on at least one of the gas flow rate detected based on the signal from the flow rate sensor 41 and the gas pressure detected based on the signal from the pressure sensor 42, the determination unit 43 performs at least one of the gas leakage and the used gas appliance 10. One of them is judged. Such a determination unit 43 includes a first determination unit (first determination unit) 43a, a second determination unit (second determination unit) 43b, and a selection unit (selection unit) 43c.

第1判断部43aは、ガス流量及びガス圧力の少なくとも一方の変化時からの微小時間中に得られた波形からガス漏れ及び使用ガス器具の少なくとも一方を判断するものである。ここで、微小時間とは例えば数秒(最大で2秒)以内の時間であり、第1判断部43aは、数秒以内の時間において得られた波形からガス漏れ及び使用ガス器具10を判断する。   The 1st judgment part 43a judges at least one of a gas leak and a use gas appliance from the waveform acquired in the minute time from the time of the change of at least one of a gas flow rate and a gas pressure. Here, the minute time is, for example, a time within a few seconds (2 seconds at the maximum), and the first determination unit 43a determines the gas leak and the used gas appliance 10 from the waveform obtained within the time within a few seconds.

第2判断部43bは、微小時間よりも長い時間において得られたガス流量の波形パターンから使用ガス器具を判断するものである。特に本実施形態において第2判断部43bは、ガス流量変化時からの微小時間よりも長い時間中に得られた流量の波形パターンと、予めガス器具毎に記憶された記憶パターンとのマッチングにより使用ガス器具10を判断するものである。ここで、波形パターンには、少なくとも流量変化時のガス流量、及び流量変化後の所定時間後のガス流量が含まれる。さらには、ガス器具10の使用停止と判断される時のガス流量を含んでいてもよい。加えて、第2判断部43bは、使用ガス器具10を判断できない場合、ガス漏れであると判断する機能を有していてもよい。   The 2nd judgment part 43b judges a use gas appliance from the waveform pattern of the gas flow rate obtained in time longer than micro time. In particular, in the present embodiment, the second determination unit 43b is used by matching a flow rate waveform pattern obtained during a time longer than a minute time from when the gas flow rate is changed with a memory pattern stored in advance for each gas appliance. The gas appliance 10 is determined. Here, the waveform pattern includes at least the gas flow rate when the flow rate changes and the gas flow rate after a predetermined time after the flow rate change. Furthermore, the gas flow rate when it is determined that use of the gas appliance 10 is stopped may be included. In addition, the 2nd judgment part 43b may have a function to judge that it is a gas leak, when the use gas appliance 10 cannot be judged.

選択部43cは、第1判断部43aのみを機能させる第1状態と、第2判断部43bのみを機能させる第2状態と、第1及び第2判断部43a,43bの双方を機能させる第3状態との1つを選択するものである。特に、選択部43cは、初期状態において第1状態を選択して第1判断部43aのみを機能させ、所定条件成立時に第2状態又は第3状態を選択して、第2判断部43bのみを機能させたり、第1及び第2判断部43a,43bの双方を機能させたりする。   The selection unit 43c has a first state in which only the first determination unit 43a functions, a second state in which only the second determination unit 43b functions, and a third state in which both the first and second determination units 43a and 43b function. One of the states is selected. In particular, the selection unit 43c selects the first state in the initial state, causes only the first determination unit 43a to function, selects the second state or the third state when a predetermined condition is satisfied, and selects only the second determination unit 43b. Or function both the first and second determination units 43a and 43b.

次に、図3を参照して選択部43cの動作と所定条件とについて説明する。図3は、図2に示した選択部43cの動作を示すフローチャートである。まず、選択部43cは初期状態において第1状態を選択し、第1判断部43aのみを機能させている。そして、判断部43は、流量センサ41及び圧力センサ42からの信号に基づいてノイズが大きいか否かを判断する(S1)。   Next, the operation of the selection unit 43c and predetermined conditions will be described with reference to FIG. FIG. 3 is a flowchart showing the operation of the selection unit 43c shown in FIG. First, the selection unit 43c selects the first state in the initial state and causes only the first determination unit 43a to function. And the judgment part 43 judges whether noise is large based on the signal from the flow sensor 41 and the pressure sensor 42 (S1).

具体的にノイズは、隣家のガス器具使用や、近隣の業務用オンオフ制御器具の使用時に大きくなる傾向にある。隣家のガス器具10が使用された場合において、そのガス器具10についてガス流量やガス圧力の振幅が大きいとすると、振幅による振動が流路を伝わってガスメータ40内の流量センサ41及び圧力センサ42の計測値に影響を与えてしまう。すなわち、ノイズが大きくなってしまう。より具体的に説明すると、上記の場合、流量センサ41の計測値について影響は少ないが、圧力センサ42の計測値については影響が大きくなる傾向がある。また、近隣の業務用オンオフ制御器具の使用時にも同様に、流量センサ41の計測値について影響は少ないが、圧力センサ42の計測値については影響が大きくなる傾向がある。   Specifically, noise tends to increase when using a neighboring gas appliance or using a nearby commercial on / off control appliance. When the gas appliance 10 of the adjacent house is used and the amplitude of the gas flow rate or the gas pressure is large for the gas appliance 10, vibration due to the amplitude is transmitted through the flow path and the flow sensor 41 and the pressure sensor 42 in the gas meter 40. The measurement value will be affected. That is, noise increases. More specifically, in the above case, the measurement value of the flow sensor 41 has little influence, but the measurement value of the pressure sensor 42 tends to have a large influence. Similarly, when using a nearby commercial on / off control device, the measurement value of the flow sensor 41 is less affected, but the measurement value of the pressure sensor 42 tends to increase.

従って、判断部43は、ガス圧力の変化が第1規定値以上であるにも拘わらず、ガス流量の変化が第2規定値未満である場合、ノイズが大きいと判断し(S1:YES)、選択部43cは、第2状態を選択する(S2)。これにより、第1判断部43aの機能を停止させ、第2判断部43bのみを機能させる。そして、図3に示す処理は終了する。   Accordingly, the determination unit 43 determines that the noise is large when the change in the gas flow rate is less than the second specified value despite the change in the gas pressure being equal to or greater than the first specified value (S1: YES). The selection unit 43c selects the second state (S2). Thereby, the function of the 1st judgment part 43a is stopped, and only the 2nd judgment part 43b is functioned. Then, the process shown in FIG. 3 ends.

ここで、第2状態を選択する理由を説明する。図4は、ガス器具10が使用された直後の微小時間中に得られる波形の一例を示す図である。図4に示すように、ガス器具10が使用された場合、微小時間中に特定の周波数で0.1kPa程度又はそれ以下の振幅を示す傾向にある。また、この振幅や周波数は、使用されたガス器具10毎に特徴がある。第1判断部43aは、微小時間中における波形の振幅や周波数に基づいて、使用されたガス器具10を判断する。しかし、ノイズが大きくなると、0.1kPa以上の変化が発生するなど、波形を乱してしまい、使用ガス器具10の判断が困難となってしまう。   Here, the reason for selecting the second state will be described. FIG. 4 is a diagram illustrating an example of a waveform obtained during a minute time immediately after the gas appliance 10 is used. As shown in FIG. 4, when the gas appliance 10 is used, it tends to exhibit an amplitude of about 0.1 kPa or less at a specific frequency during a minute time. Moreover, this amplitude and frequency have the characteristic for every gas appliance 10 used. The 1st judgment part 43a judges the used gas appliance 10 based on the amplitude and frequency of the waveform in micro time. However, when the noise increases, the waveform is disturbed, for example, a change of 0.1 kPa or more occurs, making it difficult to determine the gas appliance 10 to be used.

一方、第2判断部43bは、比較的長時間の波形の流量パターンから使用ガス器具10の判断を行う。特にガス器具使用時の流量値は、50L/h以上など比較的値が大きく、ノイズの影響を受けにくい。従って、ノイズが大きい場合、第1判断部43aよりも第2判断部43bの方が、判断精度が高いといえる。そこで、選択部43cは第2状態を選択し、第1判断部43aの機能を停止させ、第2判断部43bのみを機能させる。   On the other hand, the 2nd judgment part 43b judges use gas appliance 10 from a flow pattern of a waveform for a comparatively long time. In particular, the flow rate value when using a gas appliance is relatively large, such as 50 L / h or more, and is not easily affected by noise. Therefore, when the noise is large, it can be said that the second determination unit 43b has higher determination accuracy than the first determination unit 43a. Therefore, the selection unit 43c selects the second state, stops the function of the first determination unit 43a, and causes only the second determination unit 43b to function.

再度、図3を参照する。判断部43は、ノイズが大きくないと判断し(S1:NO)、ガス流量又はガス圧力の振幅が所定値以上のガス器具10が使用されているか判断する(S3)。ガス流量又はガス圧力の振幅が所定値以上のガス器具10が使用されたと判断された場合(S3:YES)、選択部43cは第3状態を選択し(S4)、第1及び第2判断部43a,43bの双方を機能させる。そして、図3に示す処理は終了する。一方、ガス流量又はガス圧力の振幅が所定値以上のガス器具10が使用されていないと判断された場合(S3:NO)、選択部43cは第1状態を選択し(S5)、第1判断部43aのみを機能させる。そして、図3に示す処理は終了する。   FIG. 3 will be referred to again. The determination unit 43 determines that the noise is not large (S1: NO), and determines whether the gas appliance 10 having a gas flow rate or gas pressure amplitude of a predetermined value or more is used (S3). When it is determined that the gas appliance 10 having the gas flow rate or the gas pressure amplitude equal to or larger than the predetermined value is used (S3: YES), the selection unit 43c selects the third state (S4), and the first and second determination units. Both 43a and 43b are made to function. Then, the process shown in FIG. 3 ends. On the other hand, when it is determined that the gas appliance 10 having the gas flow rate or the gas pressure amplitude not smaller than the predetermined value is used (S3: NO), the selection unit 43c selects the first state (S5), and the first determination is made. Only the part 43a is caused to function. Then, the process shown in FIG. 3 ends.

ここで、第3状態を選択する理由を説明する。図5は、振幅が大きいガス器具10の使用中に振幅が小さいガス器具10が使用された場合の波形の一例を示す図である。なお、図5において(a)は双方のガス器具使用による合成波形を示し、(b)は、振幅が大きいガス器具10のみの波形を示し、(c)は、振幅が小さいガス器具10のみの波形を示している。   Here, the reason for selecting the third state will be described. FIG. 5 is a diagram illustrating an example of a waveform when the gas appliance 10 having a small amplitude is used while the gas appliance 10 having a large amplitude is used. In FIG. 5, (a) shows the combined waveform when both gas appliances are used, (b) shows the waveform of only the gas appliance 10 with a large amplitude, and (c) shows only the gas appliance 10 with a small amplitude. The waveform is shown.

図5(a)に示すように、時刻0において、給湯器(振幅大のガス器具10の一例)が使用開始されたとする。そして、時刻t1においてガステーブル(振幅小のガス器具10の一例)が使用開始されたとする。そして、時刻t2において給湯器が使用停止したとする。この場合、流量は時刻0から上昇し、流量値a1において振幅を示す。そして、時刻t2における給湯器の使用停止と共に流量は値a3を維持する。   As shown in FIG. 5A, it is assumed that a water heater (an example of a gas appliance 10 having a large amplitude) is started to be used at time 0. Then, it is assumed that the gas table (an example of the gas appliance 10 having a small amplitude) starts to be used at time t1. Then, it is assumed that the hot water heater is stopped at time t2. In this case, the flow rate rises from time 0 and shows an amplitude at the flow rate value a1. And the flow rate maintains the value a3 with the use stop of the water heater at time t2.

これを分解すると、図5(b)及び図5(c)となる。具体的に給湯器のみの流量は、時刻0から上昇を示し、流量値a2において振幅を示す。そして、時刻t2以降は流量値「0」を示す。また、ガステーブルのみの流量は、時刻t1から上昇し、流量値a3を維持する。図5(a)の流量波形は図5(b)及び図5(c)の合成となっている。   When this is disassembled, FIG. 5 (b) and FIG. 5 (c) are obtained. Specifically, the flow rate of only the water heater shows an increase from time 0 and shows an amplitude at the flow rate value a2. After time t2, the flow rate value “0” is indicated. Further, the flow rate of only the gas table increases from time t1, and maintains the flow rate value a3. The flow waveform in FIG. 5A is a combination of FIG. 5B and FIG.

そして、図5(a)の波形では、ガステーブルについて図4に示すような波形を観測し難くなる。すなわち、時刻0からの給湯器という振幅が大きいガス器具10の使用によって、ガステーブルの波形が埋もれてしまい、ガステーブルについて図4に示すような波形を観測し難くなる。このため、第1判断部43aによってガステーブルの使用を判断することが困難となってしまう。   And in the waveform of Fig.5 (a), it becomes difficult to observe a waveform as shown in FIG. 4 about a gas table. That is, the use of the gas appliance 10 having a large amplitude as the water heater from time 0 causes the waveform of the gas table to be buried, making it difficult to observe the waveform as shown in FIG. For this reason, it becomes difficult for the first determination unit 43a to determine the use of the gas table.

しかし、第2判断部43bは、比較的長時間の流量の波形パターンから使用ガス器具10を判断するため、このような状況下においてもガス器具10を判断することができる。具体的に説明すると、第2判断部43bは、図5(a)に示す波形から、図5(b)に示す波形を減算し、図5(c)の波形を得る。そして、第2判断部43bは図5(c)の波形からガステーブルの使用を判断する。   However, since the 2nd judgment part 43b judges the gas appliance 10 to be used from the waveform pattern of the flow for a comparatively long time, it can judge the gas appliance 10 also in such a condition. More specifically, the second determination unit 43b subtracts the waveform shown in FIG. 5B from the waveform shown in FIG. 5A to obtain the waveform shown in FIG. And the 2nd judgment part 43b judges use of a gas table from the waveform of FIG.5 (c).

なお、減算する給湯器の波形(図5(b)の波形)は後述するように波形パターン記憶部47に記憶されている。   Note that the waveform of the water heater to be subtracted (the waveform of FIG. 5B) is stored in the waveform pattern storage unit 47 as described later.

再度、図3を参照する。以上のように、選択部43cは第1〜第3状態を選択する。なお、図3に示す処理は繰り返し実行されるため、選択部43cは、所定条件非成立時(すなわちステップS1,S3の双方において「NO」)に第1状態を選択して第1判断部43aのみを機能させることとなる。上記したように第1判断部43aは微小時間中に得られた波形からガス漏れや使用ガス器具10を判断するため、迅速な判断を行える。このため、選択部43cは基本的に第1判断部43aのみを機能させるように第1状態を選択する。   FIG. 3 will be referred to again. As described above, the selection unit 43c selects the first to third states. Since the process shown in FIG. 3 is repeatedly executed, the selection unit 43c selects the first state when the predetermined condition is not satisfied (that is, “NO” in both steps S1 and S3), and the first determination unit 43a. Will only work. As described above, since the first determination unit 43a determines the gas leak or the gas appliance 10 to be used from the waveform obtained during the minute time, it can make a quick determination. Therefore, the selection unit 43c basically selects the first state so that only the first determination unit 43a functions.

再度、図2を参照し、トリガ信号発生部44、生成部45、類似度推移記憶部46、波形パターン記憶部47と共に、判断部43の詳細を説明する。トリガ信号発生部44は、ガス流量やガス圧力の変化時を検出し、トリガ信号を出力するものである。例えばトリガ信号発生部44は、微分回路を含んで構成されており、微分回路により所定以上の変化を検出する。   The details of the determination unit 43 will be described together with the trigger signal generation unit 44, the generation unit 45, the similarity transition storage unit 46, and the waveform pattern storage unit 47 with reference to FIG. The trigger signal generator 44 detects a change in gas flow rate or gas pressure and outputs a trigger signal. For example, the trigger signal generator 44 includes a differentiation circuit, and detects a change greater than a predetermined value by the differentiation circuit.

また、トリガ信号は各センサ41,42及び判断部43に入力される。判断部43は、トリガ信号が入力されるとサンプリング時間を短縮し、微小時間における波形を詳細に計測する。すなわち、第1判断部43aによる判断を正確ならしめるために高速サンプリング実施する。また、各センサ41,42は、トリガ信号が入力されると、高速サンプリングにあわせて動作することとなる。なお、通常状態におけるセンサ41,42の駆動電流を小さくしておき、トリガ信号入力後に駆動電流を通常電流に大きくするようにしてもよい。   The trigger signal is input to the sensors 41 and 42 and the determination unit 43. When the trigger signal is input, the determination unit 43 shortens the sampling time and measures the waveform in a minute time in detail. That is, high-speed sampling is performed in order to make the determination by the first determination unit 43a accurate. In addition, when a trigger signal is input, each of the sensors 41 and 42 operates in accordance with high speed sampling. Note that the drive current of the sensors 41 and 42 in the normal state may be reduced, and the drive current may be increased to the normal current after the trigger signal is input.

生成部45は、ガス漏れが発生したと仮定したときのガス漏れ振動波形を生成するものである。第1判断部43aは、生成部45により生成されたガス漏れ振動波形に基づいて、ガス漏れを判断することとなる。   The generation unit 45 generates a gas leak vibration waveform when it is assumed that a gas leak has occurred. The first determination unit 43a determines gas leakage based on the gas leakage vibration waveform generated by the generation unit 45.

図6は、図2に示した生成部45により生成されるガス漏れ振動波形の概略を示す図である。図6に示すように、生成部45は、圧力が時間の経過と共に低下しながら振動するガス漏れ振動波形を生成する。このガス漏れ振動波形は、減衰振動の周波数、ゲイン、及び減衰比を含む2次遅れのステップ応答の式に基づいて生成された波形である。ここで、本件発明者らは、ガス漏れ発生直後の微小時間において圧力や流量の計測値に振動が発生することを見出した。このため、生成部45は、ガス漏れ判断にあたり必要となる情報として、2次遅れのステップ応答の式に基づいてガス漏れ振動波形を生成し、第1判断部43aは、生成部45に生成されたガス漏れ振動波形に基づいてガス漏れの発生を判断することとなる。   FIG. 6 is a diagram showing an outline of a gas leakage vibration waveform generated by the generation unit 45 shown in FIG. As illustrated in FIG. 6, the generation unit 45 generates a gas leak vibration waveform that vibrates while the pressure decreases as time passes. This gas leakage vibration waveform is a waveform generated based on a second-order delay step response equation including the frequency, gain, and damping ratio of the damped vibration. Here, the present inventors have found that vibrations occur in the measured values of pressure and flow rate in a very short time immediately after the occurrence of gas leakage. For this reason, the generation unit 45 generates a gas leak vibration waveform based on a second-order delay step response formula as information necessary for the gas leak determination, and the first determination unit 43a is generated by the generation unit 45. The occurrence of gas leakage is determined based on the gas leakage vibration waveform.

なお、図6に示す例において生成部45は、圧力のガス漏れ振動波形を生成するが、これに限らず、流量が時間の経過と共に上昇しながら振動するガス漏れ振動波形を生成していてもよい。さらに、この波形も2次遅れのステップ応答の式に基づいて決定されることが望ましい。   In the example illustrated in FIG. 6, the generation unit 45 generates a gas leakage vibration waveform of pressure, but the generation unit 45 is not limited thereto, and may generate a gas leakage vibration waveform that vibrates while the flow rate increases with time. Good. Further, it is desirable that this waveform is also determined based on a second-order delay step response equation.

再度、図2を参照する。第1判断部43aは、入力されたセンサ41,42からの微小時間における信号の波形と、生成部45に生成されたガス漏れ振動波形との類似度推移を算出する。なお、類似度推移とは、本実施形態において連続的な正規相互相関(NCC:Normalized Cross Correlation)をいう。より具体的には、以下の式(1)により類似度RNCCが求められる。第1判断部43aは、この式(1)による類似度RNCCの算出を連続的に行うことにより、類似度推移(以下、連続NCCという)を求める。
Reference is again made to FIG. The first determination unit 43 a calculates the transition of the similarity between the input signal waveform from the sensors 41 and 42 in a minute time and the gas leakage vibration waveform generated by the generation unit 45. The similarity transition refers to continuous normal cross correlation (NCC) in the present embodiment. More specifically, the similarity RNCC is obtained by the following equation (1). The first determination unit 43a obtains the similarity transition (hereinafter referred to as continuous NCC) by continuously calculating the similarity RNCC according to the equation (1).

さらに、第1判断部43aは、算出した類似度推移に基づいて、ガス漏れの発生を判断する。特に、この実施形態においては、その一例として、第1判断部43aにより算出された類似度推移の代表値が閾値以上である場合に、ガス漏れが発生していると判断する。ここで、代表値とは、類似度全体又は類似度全体のうち特定期間の平均値であってもよいし、圧力や流量の変化が発生してから、ある特定の時刻における類似度であってもよいし、他の値であってもよい。   Furthermore, the first determination unit 43a determines the occurrence of gas leakage based on the calculated similarity transition. In particular, in this embodiment, as an example, it is determined that a gas leak has occurred when the representative value of the similarity transition calculated by the first determination unit 43a is equal to or greater than a threshold value. Here, the representative value may be the total degree of similarity or the average value of a specific period of the whole degree of similarity, or the degree of similarity at a specific time after a change in pressure or flow rate occurs. Alternatively, other values may be used.

次に、図7を参照してガス漏れ時及びガス器具使用時における圧力変化を説明する。図7は、圧力変動の様子を示す図であって、(a)はガス漏れ時における圧力変化を示し、(b)はガス器具使用時における圧力変化を示している。図7(a)に示すように、ガス漏れ発生時には、圧力が低下しつつ振動する波形を示すこととなる。この波形は、図6に示したように生成部45により生成されたガス漏れ振動波形と相関が高い。このため、類似度推移の代表値は高い値を示すこととなり、第1判断部43aはガス漏れが発生したと判断することとなる。   Next, with reference to FIG. 7, the pressure change at the time of a gas leak and use of a gas appliance is demonstrated. FIGS. 7A and 7B are diagrams showing the state of pressure fluctuation, in which FIG. 7A shows a pressure change when a gas leaks, and FIG. 7B shows a pressure change when a gas appliance is used. As shown in FIG. 7A, when a gas leak occurs, a waveform that vibrates while the pressure decreases is shown. This waveform has a high correlation with the gas leak vibration waveform generated by the generation unit 45 as shown in FIG. For this reason, the representative value of the similarity transition shows a high value, and the first determination unit 43a determines that a gas leak has occurred.

図8は、ガス漏れ時における連続NCCを示すグラフである。なお、図8において実線と破線は、各家庭における配管状態の相違、ガス漏れ箇所の相違、及び、ガス漏れ流量の相違などの条件が異なる場合の連続NCCを示している。   FIG. 8 is a graph showing continuous NCC at the time of gas leakage. In FIG. 8, the solid line and the broken line indicate continuous NCC when conditions such as a difference in piping state, a difference in gas leak location, and a difference in gas leak flow rate in each home are different.

図8に示すように、ガス漏れ時において圧力変化の発生直後(時刻0秒付近)における連続NCCは、「0.7」から「0.8」程度の値を示す。しかし、時刻0.025秒以降について連続NCCは「0.9」以上の値を示す。よって、第1判断部43aは、類似度推移第1判断部43aにより算出された類似度推移の代表値が「0.9」以上である場合に、ガス漏れが発生していると判断する。   As shown in FIG. 8, the continuous NCC immediately after the occurrence of a pressure change at the time of gas leakage (near time 0 seconds) shows a value of about “0.7” to “0.8”. However, the continuous NCC shows a value of “0.9” or more after time 0.025 seconds. Therefore, the first determination unit 43a determines that a gas leak has occurred when the representative value of the similarity transition calculated by the similarity transition first determination unit 43a is equal to or greater than “0.9”.

一方、図7(b)に示すようにガス器具使用時には、ガス漏れ時と異なる振動波形を示すこととなる。このため、この波形は、図6に示したように生成部45により生成されたガス漏れ振動波形と相関が高いとはいえず、類似度推移の代表値は高い値を示さない。よって、第1判断部43aはガス漏れが発生していないと判断し、ガス器具10が使用されたと判断する。   On the other hand, as shown in FIG. 7B, when the gas appliance is used, a vibration waveform different from that at the time of gas leakage is shown. For this reason, this waveform cannot be said to have a high correlation with the gas leakage vibration waveform generated by the generation unit 45 as shown in FIG. 6, and the representative value of the similarity transition does not show a high value. Therefore, the first determination unit 43a determines that no gas leak has occurred, and determines that the gas appliance 10 has been used.

図9は、給湯器使用時における連続NCCを示すグラフであり、図10は、床暖房使用時における連続NCCを示すグラフである。図9及び図10に示すように、ガス器具使用時において圧力変化の発生直後(時刻0秒付近)における連続NCCは、「1.0」付近の値を示す。しかし、時刻0.02秒以降について連続NCCは「0.9」を下回る値を示し、それ以降については「0.8」すら大きく下回る値を示す。よって、第1判断部43aは、算出した類似度推移の代表値が「0.9」以上でない場合に、ガス漏れが発生していないと判断する。   FIG. 9 is a graph showing continuous NCC when using a water heater, and FIG. 10 is a graph showing continuous NCC when using floor heating. As shown in FIG. 9 and FIG. 10, the continuous NCC immediately after the occurrence of the pressure change when using the gas appliance (near time 0 seconds) shows a value near “1.0”. However, the continuous NCC shows a value lower than “0.9” after time 0.02 seconds, and shows a value much lower than “0.8” after that. Therefore, the first determination unit 43a determines that no gas leakage has occurred when the representative value of the calculated similarity transition is not “0.9” or more.

なお、圧力や流量の変化が発生する場合とは、ガス漏れ発生時かガス器具使用時が殆どである。よって、第1判断部43aは、算出した類似度推移の代表値が「0.9」以上でない場合に、ガス器具10の使用であると判断する。   In addition, the case where the change of the pressure or the flow rate occurs is almost when the gas leak occurs or when the gas appliance is used. Therefore, the first determination unit 43a determines that the gas appliance 10 is used when the representative value of the calculated similarity transition is not “0.9” or more.

また、図7〜図10については、圧力の振動波形及び圧力の振動波形に基づく連続NCCを示しているが、流量についても同様にしてガス漏れ判断を行うことができる。なお、以下の説明では、圧力の振動波形に基づくガス漏れ判断について説明するが、流量についても同様であることは言うまでもない。   7 to 10 show the pressure vibration waveform and the continuous NCC based on the pressure vibration waveform, the gas leak determination can be similarly performed for the flow rate. In the following description, gas leak judgment based on the vibration waveform of pressure will be described, but it goes without saying that the same applies to the flow rate.

次に、ガス漏れ判断の詳細について説明する。より詳細に説明すると、生成部45は、以下のようにしてガス漏れ振動波形を生成する。まず、生成部45は以下の式(2)を記憶している。
Next, details of the gas leak determination will be described. If it demonstrates in detail, the production | generation part 45 will produce | generate a gas leak vibration waveform as follows. First, the generation unit 45 stores the following expression (2).

ここで、y(t)は圧力の変化量を示し、Kはゲインを示し、ωは減衰振動の周波数を示し、ζは減衰比を示している。特に、ゲインK、減衰振動の周波数ω、及び減衰比ζは、圧力センサ42によって実際に計測された波形から求められるものである。次に、これらの算出方法について図7(a)を参照して説明する。 Here, y (t) indicates the amount of change in pressure, K indicates the gain, ω d indicates the frequency of the damped vibration, and ζ indicates the damping ratio. In particular, the gain K, the damping vibration frequency ω d , and the damping ratio ζ are obtained from the waveforms actually measured by the pressure sensor 42. Next, these calculation methods will be described with reference to FIG.

生成部45は、以下の式(3)から、減衰振動の周波数ωを算出する。
The generation unit 45 calculates the frequency ω d of the damped vibration from the following equation (3).

ここで、Tpは行き過ぎ時間であり、図7(a)で示すように、圧力変化発生時から最初の極値V1(極小値V1)までの時間をいう。生成部45は、入力された信号から最初の極値V1が確認されると、行き過ぎ時間Tpを求め、式(3)から減衰振動の周波数ωを算出する。 Here, Tp is the overshoot time, and as shown in FIG. 7A, it is the time from the occurrence of pressure change to the first extreme value V1 (minimum value V1). Generator 45, the first extreme V1 is confirmed from the input signal, determine the overshoot time Tp, it calculates the frequency omega d damped oscillation from equation (3).

なお、減衰振動の周波数ωは、式(3)から求める場合に限らず、圧力変化発生時から2つ目の極値M(極大点M)や、3つ目の極値V2(極小点V2)に基づいて算出してもよい。 The frequency ω d of the damped vibration is not limited to that obtained from the equation (3), but the second extreme value M (maximum point M) or the third extreme value V2 (minimum point) from the time of occurrence of the pressure change. It may be calculated based on V2).

次に、生成部45は、以下の式(4)から、ゲインKを算出する。
Next, the generation unit 45 calculates the gain K from the following equation (4).

このような式であるため、生成部45は、入力された信号から極値V1,M,V2が確認されると、式(4)からゲインKを算出する。   Since it is such a formula, generation part 45 will calculate gain K from a formula (4), if extreme values V1, M, and V2 are checked from the inputted signal.

なお、図7(a)から明らかなように、ゲインKは圧力変化発生前の圧力値と圧力変化発生後の圧力値との差分によっても求めることができる。従って、生成部45は、圧力変化が発生して圧力値が略一定値となったとき(図7(a)では時刻0.4秒)に、差分からゲインKを求めてもよい。さらに、生成部45は、圧力変化発生時から4つ目以降の極値を加味してゲインKを算出してもよい。   As is clear from FIG. 7A, the gain K can also be obtained from the difference between the pressure value before the pressure change occurs and the pressure value after the pressure change occurs. Therefore, the generation unit 45 may obtain the gain K from the difference when the pressure change occurs and the pressure value becomes a substantially constant value (time 0.4 seconds in FIG. 7A). Further, the generation unit 45 may calculate the gain K in consideration of the fourth and subsequent extreme values from the time of occurrence of the pressure change.

次いで、生成部45は、以下の式(5)から、減衰比ζを算出する。
Next, the generation unit 45 calculates the damping ratio ζ from the following equation (5).

ここで、δは対数減衰率であり、mは周期数である。式(5)の場合、周期数mは「0.5」となる。   Here, δ is a logarithmic decay rate, and m is the number of periods. In the case of Expression (5), the number of periods m is “0.5”.

このような式であるため、生成部45は、入力された信号から極値V1,Mが確認されると、式(5)から減衰比ζを算出する。   Since it is such a formula, generation part 45 will compute damping ratio ζ from formula (5), if extreme values V1 and M are confirmed from the inputted signal.

以上のように、生成部45は、ゲインK、減衰振動の周波数ω、及び減衰比ζを算出し、式(2)より振動波形の式を求める。そして、生成部45は、求めた式と、入力された圧力波形とから、式(1)に従って連続NCCを求めることとなる。 As described above, the generation unit 45 calculates the gain K, the frequency ω d of the damped vibration, and the damping ratio ζ, and obtains the vibration waveform expression from Expression (2). And the production | generation part 45 will obtain | require continuous NCC according to Formula (1) from the calculated | required formula and the input pressure waveform.

ここで、生成部45は、減衰振動の周波数ω、及び減衰比ζを以下のようにして算出するようにしてもよい。すなわち、図7(a)に示す振動波形は、ガス漏れ時の流量に依存する傾向にある。このため、生成部45は、流量値のみを変数に含む式を予め記憶し、この式に流量センサ41によって計測された流量値を代入して、減衰振動の周波数ω、及び減衰比ζを求めるようにしてもよい。 Here, the generation unit 45 may calculate the frequency ω d of the damped vibration and the damping ratio ζ as follows. That is, the vibration waveform shown in FIG. 7A tends to depend on the flow rate at the time of gas leakage. For this reason, the generation unit 45 stores in advance an equation that includes only the flow rate value as a variable, and substitutes the flow rate value measured by the flow rate sensor 41 into this equation to obtain the frequency ω d of the damping vibration and the damping ratio ζ. You may make it ask.

具体的に生成部45は、以下の式(6)から減衰振動の周波数ω、及び減衰比ζを求める。
Specifically, the generation unit 45 obtains the frequency ω d of the damping vibration and the damping ratio ζ from the following formula (6).

ここで、Lは流量値であり、a,a,b,bは定数である。このように、式(6)から求めることで演算量を減らして、算出処理の簡素化を図るようにしてもよい。なお、流量と圧力には一定の相関がある。このため、式(6)に代えて圧力値のみを変数に含む式を記憶し、この式から減衰振動の周波数ω、及び減衰比ζを求めるようにしてもよい。 Here, L is a flow rate value, and a 1 , a 2 , b 1 , and b 2 are constants. In this way, the calculation amount may be reduced by obtaining from Expression (6), and the calculation process may be simplified. There is a certain correlation between the flow rate and the pressure. For this reason, instead of the equation (6), an equation including only the pressure value as a variable may be stored, and the frequency ω d of the damping vibration and the damping ratio ζ may be obtained from this equation.

さらに、この場合、生成部45は、ゲインKについて式(4)から算出することなく、圧力変化発生前の圧力値と圧力変化発生後の圧力値との差分によっても求めることが望ましい。これにより、一層演算量を減らすことができるからである。   Furthermore, in this case, the generation unit 45 desirably calculates the gain K from the difference between the pressure value before occurrence of the pressure change and the pressure value after occurrence of the pressure change without calculating the gain K from Expression (4). This is because the amount of calculation can be further reduced.

再度、図2を参照する。第1判断部43aは、上記したガス漏れ判断機能に加えて、ガス器具判断機能を備えている。次に、ガス器具判断機能について説明する。   Reference is again made to FIG. The first determination unit 43a has a gas appliance determination function in addition to the gas leak determination function described above. Next, the gas appliance determination function will be described.

図9及び図10に示したように、給湯器と床暖房とでは連続NCCが異なっている。すなわち、連続NCCはガス器具10毎に異なり、ガス器具10毎の特徴を表わしたものとなる。本実施形態において類似度推移記憶部46を備えており、類似度推移記憶部46は、ガス器具10それぞれの連続NCCデータを予め記憶している。すなわち、類似度推移記憶部46は、給湯器について図9に示すものと近似した連続NCCデータを記憶しており、床暖房については図10に示すものと近似した連続NCCデータを記憶している。他のガス器具10についても類似度推移記憶部46は、連続NCCデータを記憶している。   As shown in FIGS. 9 and 10, the continuous NCC is different between the water heater and the floor heating. That is, the continuous NCC is different for each gas appliance 10 and represents the characteristics of each gas appliance 10. In this embodiment, the similarity transition storage unit 46 is provided, and the similarity transition storage unit 46 stores continuous NCC data of each gas appliance 10 in advance. That is, the similarity transition storage unit 46 stores continuous NCC data approximated to that shown in FIG. 9 for hot water heaters, and stores continuous NCC data approximated to that shown in FIG. 10 for floor heating. . For other gas appliances 10, the similarity transition storage unit 46 stores continuous NCC data.

そして、第1判断部43aは、類似度推移記憶部46により記憶された連続NCCデータのうち、算出された連続NCCと最も近い連続NCCデータが示すガス器具10が使用されたと判断する。   And the 1st judgment part 43a judges that the gas appliance 10 which the continuous NCC data nearest to the calculated continuous NCC among the continuous NCC data memorize | stored by the similarity transition memory | storage part 46 shows was used.

次に、図2を参照して、第2判断部43b及び波形パターン記憶部47について詳細に説明する。波形パターン記憶部47は、例えば図5(b)及び図5(c)に示したような流量の波形パターンを記憶している。すなわち、波形パターン記憶部47は、給湯器について図5(b)に示すものと近似した波形パターンを記憶しており、床暖房については図5(c)に示すものと近似した波形パターンを記憶している。他のガス器具10についても波形パターン記憶部47は、波形パターンを記憶している。   Next, the second determination unit 43b and the waveform pattern storage unit 47 will be described in detail with reference to FIG. The waveform pattern storage unit 47 stores a flow rate waveform pattern as shown in FIGS. 5B and 5C, for example. That is, the waveform pattern storage unit 47 stores a waveform pattern approximated to that shown in FIG. 5B for the water heater, and stores a waveform pattern approximated to that shown in FIG. 5C for floor heating. is doing. The waveform pattern storage unit 47 also stores waveform patterns for other gas appliances 10.

そして、第2判断部43bは、波形パターン記憶部47により記憶された波形パターンのうち、実際に得られた波形に最も近い波形パターンが示すガス器具10が使用されたと判断する。また、第2判断部43bは、いずれの波形パターンについても近くないと判断した場合、ガス漏れであると判断する。   And the 2nd judgment part 43b judges that the gas appliance 10 which the waveform pattern nearest to the waveform actually obtained among the waveform patterns memorize | stored by the waveform pattern memory | storage part 47 shows was used. Moreover, the 2nd judgment part 43b judges that it is a gas leak, when it is judged that it is not near about any waveform pattern.

次に、本実施形態に係るガスメータ40の動作について説明する。図11は、図2に示した第1判断部43aの処理の一例を示すフローチャートである。図11に示すように、まず、第1判断部43aはトリガ信号発生部44からトリガ信号が入力されたか否かを判断する(S11)。トリガ信号が入力されなかったと判断した場合(S11:NO)、トリガ信号が入力されたと判断されるまで、この処理が繰り返される。   Next, the operation of the gas meter 40 according to this embodiment will be described. FIG. 11 is a flowchart illustrating an example of processing of the first determination unit 43a illustrated in FIG. As shown in FIG. 11, first, the first determination unit 43a determines whether or not a trigger signal is input from the trigger signal generation unit 44 (S11). If it is determined that the trigger signal has not been input (S11: NO), this process is repeated until it is determined that the trigger signal has been input.

一方、トリガ信号が入力された判断した場合(S11:YES)、第1判断部43aは、サンプリング時間を短縮し、短縮されたサンプリング時間で圧力を計測する(S12)。このとき、第1判断部43aは、約1マイクロ秒間隔で圧力を計測するように調整する。なお、計測時間は1秒未満であることが望ましい。1秒を超える時間では振動波形が観測されない時間帯に入っているからである。また、圧力のサンプリング時間に代えて、流量のサンプリング時間を短縮するようにしてもよい。   On the other hand, when it is determined that a trigger signal is input (S11: YES), the first determination unit 43a shortens the sampling time and measures the pressure with the shortened sampling time (S12). At this time, the first determination unit 43a adjusts so as to measure the pressure at intervals of about 1 microsecond. The measurement time is preferably less than 1 second. This is because the vibration waveform is not observed in the time exceeding 1 second. Further, instead of the pressure sampling time, the flow rate sampling time may be shortened.

そして、圧力計測後、生成部45は、減衰振動の周波数ω、ゲインK、及び減衰比ζを決定する(S13)。このとき、生成部45は、減衰振動の周波数ω、ゲインK、及び減衰比ζを式(3)〜式(5)に基づいて算出してもよいし、式(6)から求めてもよい。 Then, after the pressure measurement, the generation unit 45 determines the frequency ω d of the damped vibration, the gain K, and the damping ratio ζ (S13). At this time, the generation unit 45 may calculate the frequency ω d of the damped vibration, the gain K, and the damping ratio ζ based on the equations (3) to (5) or may be obtained from the equation (6). Good.

次に、生成部45は、ステップS13により決定された減衰振動の周波数ω、ゲインK、及び減衰比ζから、2次遅れのステップ応答の式に基づいてガス漏れ振動波形を生成する(S14)。このとき、生成部45は、ステップS113により決定された減衰振動の周波数ω、ゲインK、及び減衰比ζを式(2)に代入することにより、ガス漏れ振動波形を生成する。 Next, the generating unit 45 generates a gas leakage vibration waveform based on the second-order delay step response equation from the damping vibration frequency ω d , the gain K, and the damping ratio ζ determined in step S13 (S14). ). At this time, the generation unit 45 generates the gas leakage vibration waveform by substituting the damping vibration frequency ω d , the gain K, and the damping ratio ζ determined in step S113 into Expression (2).

そして、第1判断部43aは、ステップS4により決定されたガス漏れ振動波形と、ステップS12において計測された計測値からなる波形とに基づいて、式(1)から連続NCCを算出する(S15)。次に、第1判断部43aは、連続NCCの代表値を決定し、代表値が閾値以上であるか否かを判断する(S16)。   And the 1st judgment part 43a calculates continuous NCC from Formula (1) based on the gas leak vibration waveform determined by step S4, and the waveform which consists of a measured value measured in step S12 (S15). . Next, the first determination unit 43a determines a representative value of continuous NCC and determines whether the representative value is equal to or greater than a threshold value (S16).

代表値が閾値以上であると判断した場合(S16:YES)、第1判断部43aは、ガス漏れが発生していると判断する(S17)。その後、図11に示す処理は終了する。   When it is determined that the representative value is greater than or equal to the threshold (S16: YES), the first determination unit 43a determines that a gas leak has occurred (S17). Thereafter, the process shown in FIG. 11 ends.

代表値が閾値以上でないと判断した場合(S16:NO)、第1判断部43aは、類似度推移記憶部46からガス器具毎の類似度推移データを読み出す(S18)。次いで、第1判断部43aは、ステップS18にて読み出したガス器具毎の連続NCCデータのうち、ステップS15において算出した連続NCCと最も近いものを特定し、使用ガス器具10を判断する(S19)。そして、図11に示す処理は終了する。   When it is determined that the representative value is not equal to or greater than the threshold (S16: NO), the first determination unit 43a reads the similarity transition data for each gas appliance from the similarity transition storage unit 46 (S18). Next, the first determination unit 43a identifies the gas N10 that is closest to the continuous NCC calculated in step S15 among the continuous NCC data for each gas appliance read in step S18 (S19). . Then, the process shown in FIG. 11 ends.

図12は、図2に示した第2判断部43bの処理の一例を示すフローチャートであって、第2状態における処理を示している。図12に示すように、まず、第2判断部43bは、ガス流量が増加したか否かを判断する(S31)。ガス流量が増加していないと判断した場合(S31:NO)、増加したと判断されるまで、この処理が繰り返される。   FIG. 12 is a flowchart illustrating an example of processing of the second determination unit 43b illustrated in FIG. 2 and illustrates processing in the second state. As shown in FIG. 12, first, the second determination unit 43b determines whether or not the gas flow rate has increased (S31). When it is determined that the gas flow rate has not increased (S31: NO), this process is repeated until it is determined that the gas flow rate has increased.

一方、ガス流量が増加したと判断した場合(S31:YES)、第2判断部43bは、ガス流量を記憶する(S32)。その後、第2判断部43bは、ガス流量が減少したか否かを判断する(S33)。ガス流量が減少していないと判断した場合(S33:NO)、処理はステップS32に移行する。   On the other hand, when it is determined that the gas flow rate has increased (S31: YES), the second determination unit 43b stores the gas flow rate (S32). Thereafter, the second determination unit 43b determines whether or not the gas flow rate has decreased (S33). If it is determined that the gas flow rate has not decreased (S33: NO), the process proceeds to step S32.

ガス流量が減少したと判断した場合(S33:YES)、第2判断部43bは、波形パターン記憶部47からガス器具毎の波形パターンを読み出す(S34)。そして、第2判断部43bは、ステップS34にて読み出したガス器具毎の波形パターンのうち、ステップS32において記憶されたガス流量の波形パターンと最も近いものを特定し、使用ガス器具10を判断する(S35)。そして、図12に示す処理は終了する。   When it is determined that the gas flow rate has decreased (S33: YES), the second determination unit 43b reads the waveform pattern for each gas appliance from the waveform pattern storage unit 47 (S34). And the 2nd judgment part 43b specifies the closest thing to the waveform pattern of the gas flow rate memorize | stored in step S32 among the waveform patterns for every gas appliance read in step S34, and judges the gas appliance 10 to be used. (S35). Then, the process shown in FIG. 12 ends.

なお、図12に示す例において第2判断部43bは、ステップS33において流量の減少を確認したうえで使用ガス器具10を判断しているが、これに限らず、ガス流量の減少を確認することなく、波形パターンのマッチングを行って使用ガス器具10を判断してもよい。   In the example shown in FIG. 12, the second determination unit 43b determines the gas appliance 10 to be used after confirming the decrease in the flow rate in step S33. However, the present invention is not limited to this, and confirms the decrease in the gas flow rate. Alternatively, the used gas appliance 10 may be determined by performing waveform pattern matching.

次に、図13に示す処理を説明するのに先立って、第3状態について詳細に説明する。まず、選択部43cは、第1判断部43aにより、振幅が所定値以上のガス器具10が使用されたと判断された場合に、第3状態を選択する。このとき、停止していた第2判断部43bが機能を開始する。図5(a)を例にとると、図5(a)に示す時刻0からその直後において第1判断部43aが機能し、第1判断部43aによって振幅が大きいガス器具10の使用が判断されると、時刻0まで遡って時刻0〜t2の波形に対して第2判断部43bが使用ガス器具10の判断を行う。   Next, prior to describing the processing illustrated in FIG. 13, the third state will be described in detail. First, the selection unit 43c selects the third state when the first determination unit 43a determines that the gas appliance 10 having an amplitude greater than or equal to a predetermined value is used. At this time, the stopped second determination unit 43b starts its function. Taking FIG. 5A as an example, the first determination unit 43a functions immediately after time 0 shown in FIG. 5A, and the first determination unit 43a determines the use of the gas appliance 10 having a large amplitude. Then, the 2nd judgment part 43b judges use gas appliance 10 with respect to the waveform of time 0 to t2 going back to time 0.

図13は、図2に示した第2判断部43bの処理の一例を示すフローチャートであって、第3状態における処理を示している。まず、第2判断部43bは、ガス流量を記憶する(S41)。その後、第2判断部43bは、ガス流量が減少したか否かを判断する(S42)。ガス流量が減少していないと判断した場合(S42:NO)、処理はステップS41に移行する。   FIG. 13 is a flowchart illustrating an example of processing of the second determination unit 43b illustrated in FIG. 2 and illustrates processing in the third state. First, the second determination unit 43b stores the gas flow rate (S41). Thereafter, the second determination unit 43b determines whether or not the gas flow rate has decreased (S42). If it is determined that the gas flow rate has not decreased (S42: NO), the process proceeds to step S41.

ガス流量が減少したと判断した場合(S42:YES)、第2判断部43bは、波形パターン記憶部47からガス器具毎の波形パターンを読み出す(S43)。このとき、第2判断部43bは、第1判断部43aにより判断された使用ガス器具10の波形パターンを読み出す。   When it is determined that the gas flow rate has decreased (S42: YES), the second determination unit 43b reads the waveform pattern for each gas appliance from the waveform pattern storage unit 47 (S43). At this time, the 2nd judgment part 43b reads the waveform pattern of the use gas appliance 10 judged by the 1st judgment part 43a.

その後、第2判断部43bは、減算処理を実行する(S44)。図5を例に説明すると、図5(a)のような波形が得られた後に、第2判断部43bは、給湯器の波形パターンを読み出し、図5(a)に示す波形から、読み出した波形パターンを減算する。   Thereafter, the second determination unit 43b performs a subtraction process (S44). Referring to FIG. 5 as an example, after the waveform as shown in FIG. 5 (a) is obtained, the second determination unit 43b reads out the waveform pattern of the water heater and reads out the waveform shown in FIG. 5 (a). Subtract waveform pattern.

その後、第2判断部43bは、ステップS43にて読み出した波形パターンを除く、ガス器具毎の波形パターンを読み出す(S45)。次に、第2判断部43bは、ステップS45にて読み出した波形パターンのうち、ステップS44の減算処理によって得られた波形と最も近いものを特定し、使用ガス器具10を判断する(S46)。その後、図13に示す処理は終了する。   Then, the 2nd judgment part 43b reads the waveform pattern for every gas appliance except the waveform pattern read in step S43 (S45). Next, the second determination unit 43b identifies the waveform pattern read out in step S45 that is closest to the waveform obtained by the subtraction process in step S44, and determines the gas appliance 10 to be used (S46). Thereafter, the process shown in FIG. 13 ends.

このようにして、本実施形態に係るガスメータ40及び判断方法によれば、ガス流量及びガス圧力の少なくとも一方の変化時からの微小時間中に得られた波形からガス漏れ及び使用ガス器具の少なくとも一方を判断すると共に、ガス流量変化時からの流量の波形パターンと予めガス器具毎に記憶された記憶パターンとのマッチングにより使用ガス器具10を判断する。そして、前者のみを機能させる第1状態と、後者のみを機能させる第2状態と、双方を機能させる第3状態との1つを選択する。このため、ノイズ等によって前者の機能では、ガス漏れや使用ガス器具10の判断が困難な場合に、後者機能や双方の機能を実行して判断精度を向上させることができる。   As described above, according to the gas meter 40 and the determination method according to the present embodiment, at least one of the gas leakage and the used gas appliance from the waveform obtained during the minute time from the change of at least one of the gas flow rate and the gas pressure. In addition, the gas appliance 10 to be used is determined by matching the waveform pattern of the flow rate from when the gas flow rate is changed with a memory pattern stored in advance for each gas appliance. Then, one of a first state in which only the former is functioned, a second state in which only the latter is functioned, and a third state in which both are functioned is selected. For this reason, when it is difficult to determine the gas leakage or the gas appliance 10 to be used with the former function due to noise or the like, the latter function or both functions can be executed to improve the determination accuracy.

また、初期状態において第1状態を選択し、所定条件成立時に第2状態、又は、第3状態を選択するため、初期的には微小時間の波形から判断を実行する第1判断部43aによって迅速な判断を可能とすると共に、ノイズ等により所定条件が成立して第1判断部43aによる判断が困難となった場合には第2判断部43bのみ、又は双方によって判断精度を向上させることができる。従って、より迅速に、且つ判断精度を向上させることができる。   In addition, since the first state is selected in the initial state and the second state or the third state is selected when a predetermined condition is satisfied, the first determination unit 43a that initially performs a determination from a waveform of a very short time quickly In addition, when the predetermined condition is satisfied due to noise or the like and the determination by the first determination unit 43a becomes difficult, the determination accuracy can be improved only by the second determination unit 43b or both. . Therefore, the determination accuracy can be improved more quickly.

また、所定条件成立後、非成立となった場合、第1状態を選択するため、なるべく迅速に判断可能な第1判断部43aを機能させることとなり、一層迅速な判断を行うことができる。   In addition, when the predetermined condition is not satisfied and the condition is not satisfied, the first state is selected, so that the first determination unit 43a capable of determining as quickly as possible is caused to function, and a more prompt determination can be made.

また、ガス圧力の変化が第1規定値以上であるにも拘わらず、ガス流量の変化が第2規定値未満である場合に、第2状態を選択する。この場合、圧力変動は大きいが流量変動は小さいといえる。通常、圧力変動と流量変動は相関があり、このような現象が起こるということは、ノイズと考えられる。そして、ノイズが発生しているときには、微小時間の波形にて判断を行う第1判断部43aでは判断精度が低下してしまう傾向にある。このため、第2状態を選択することで、比較的長時間の波形から判断を行う第2判断部43bにより判断を行って、判断精度を向上させることができる。   Further, the second state is selected when the change in gas flow rate is less than the second specified value despite the change in gas pressure being equal to or greater than the first specified value. In this case, the pressure fluctuation is large but the flow fluctuation is small. Usually, pressure fluctuations and flow fluctuations are correlated, and the occurrence of such a phenomenon is considered noise. When noise is generated, the determination accuracy tends to be reduced in the first determination unit 43a that performs determination based on a waveform of a minute time. Therefore, by selecting the second state, it is possible to improve the determination accuracy by performing the determination by the second determination unit 43b that performs determination from a relatively long-time waveform.

また、ガス流量又はガス圧力の振幅が所定値以上のガス器具10が使用されていると判断された場合、第3状態を選択する。ここで、ガス流量又はガス圧力の振幅が所定値以上であるガス器具が使用されている場合、ガス流量又はガス圧力の振幅が小さいガス器具10が使用されたとしても、波形が振幅の大きいガス器具10に埋もれてしまうこととなり、第1判断部43aによる判断が困難となってしまう。ところが、ガス流量又はガス圧力の振幅が所定値以上であるガス器具が使用された後にガス流量又はガス圧力の振幅が小さいガス器具10が使用されるか否かは不明であるため、第3状態を選択して、第1判断部43aの機能を停止させることなく、比較的長い時間の波形から判断する第2判断部43bを機能させる。これにより、振幅の小さいガス器具10の波形が埋もれてしまったとしても、比較的長時間の波形から判断を行う第2判断手段により判断を行うことにより、振幅の小さいガス器具10の使用を判断でき、判断精度を向上させることができる。   Further, when it is determined that the gas appliance 10 having a gas flow rate or gas pressure amplitude of a predetermined value or more is used, the third state is selected. Here, when a gas appliance having a gas flow rate or gas pressure amplitude of a predetermined value or more is used, even if a gas appliance 10 having a small gas flow rate or gas pressure amplitude is used, the gas waveform has a large amplitude. It will be buried in the instrument 10, and the judgment by the 1st judgment part 43a will become difficult. However, since it is unclear whether or not the gas instrument 10 having a small gas flow rate or gas pressure amplitude is used after the gas instrument having a gas flow rate or gas pressure amplitude of a predetermined value or more is used, the third state And the second determination unit 43b that makes a determination from a relatively long time waveform is caused to function without stopping the function of the first determination unit 43a. As a result, even if the waveform of the gas appliance 10 having a small amplitude is buried, the use of the gas appliance 10 having a small amplitude is determined by performing the determination using the second determination unit that determines from the waveform for a relatively long time. It is possible to improve the determination accuracy.

次に、本発明の第2実施形態を説明する。第2実施形態に係るガスメータ40及び判断方法は、第1実施形態のものと同様であるが、処理内容が一部異なっている。以下、第1実施形態との相違点を説明する。   Next, a second embodiment of the present invention will be described. The gas meter 40 and the determination method according to the second embodiment are the same as those of the first embodiment, but the processing contents are partially different. Hereinafter, differences from the first embodiment will be described.

図14は、第2実施形態に係る切替部43cの動作を示すフローチャートである。図14に示すように、まず、選択部43cは初期状態において第1状態を選択し、第1判断部43aのみを機能させている。そして、判断部43は、流量センサ41及び圧力センサ42からの信号に基づいてノイズが大きいか否かを判断する(S51)。このとき、判断部43は、ガス圧力の変化が第1規定値以上であるにも拘わらず、ガス流量の変化が第2規定値未満である場合にノイズが大きいと判断する。   FIG. 14 is a flowchart showing the operation of the switching unit 43c according to the second embodiment. As shown in FIG. 14, first, the selection unit 43c selects the first state in the initial state, and causes only the first determination unit 43a to function. And the judgment part 43 judges whether noise is large based on the signal from the flow sensor 41 and the pressure sensor 42 (S51). At this time, the determination unit 43 determines that the noise is large when the change in the gas flow rate is less than the second specified value even though the change in the gas pressure is equal to or greater than the first specified value.

ガス圧力の変化が第1規定値以上であるにも拘わらず、ガス流量の変化が第2規定値未満である場合、判断部43はノイズが大きいと判断し(S51:YES)、選択部43cは、第2状態を選択する(S52)。これにより、第1判断部43aの機能を停止させ、第2判断部43bのみを機能させる。そして、図14に示す処理は終了する。   If the change in gas pressure is not less than the first specified value but the change in gas flow rate is less than the second specified value, the determining unit 43 determines that the noise is large (S51: YES), and the selecting unit 43c. Selects the second state (S52). Thereby, the function of the 1st judgment part 43a is stopped, and only the 2nd judgment part 43b is functioned. Then, the process shown in FIG. 14 ends.

一方、ノイズが大きくないと判断した場合(S51:NO)、判断部43は、ガス流量又はガス圧力の振幅が所定値以上のガス器具10が使用されているか判断する(S53)。このとき、ガス流量又はガス圧力の振幅が所定値以上のガス器具10が使用されたかについては、第1判断部43aにより判断される。ガス流量又はガス圧力の振幅が所定値以上のガス器具10が使用されたと判断された場合(S53:YES)、判断部43は、ガス流量が安定し、安定した後に減少したか否かを判断する(S54)。   On the other hand, when determining that the noise is not large (S51: NO), the determination unit 43 determines whether the gas appliance 10 having the gas flow rate or the gas pressure amplitude of a predetermined value or more is used (S53). At this time, the first determination unit 43a determines whether or not the gas appliance 10 having the gas flow rate or the gas pressure amplitude equal to or larger than the predetermined value is used. When it is determined that the gas appliance 10 having the gas flow rate or the gas pressure amplitude equal to or larger than the predetermined value is used (S53: YES), the determination unit 43 determines whether or not the gas flow rate is stabilized and then decreased. (S54).

ガス流量が安定し、安定した後に減少していないと判断した場合(S54:NO)、減少したと判断されるまで、この処理が繰り返される。一方、ガス流量が安定し、安定した後に減少したと判断した場合(S54:YES)、判断部43bは、減少後のガス流量がゼロを超えるか否かを判断する(S55)。   If it is determined that the gas flow rate is stable and has not decreased after being stabilized (S54: NO), this process is repeated until it is determined that the gas flow rate has decreased. On the other hand, when it is determined that the gas flow rate is stabilized and then decreased (S54: YES), the determination unit 43b determines whether or not the decreased gas flow rate exceeds zero (S55).

減少後のガス流量がゼロを超えないと判断した場合(S55:NO)、すなわち、減少後の流量値がゼロである場合、選択部43cは、第3状態を選択することなく、第1状態を選択する(S57)。その後、図14に示す処理は終了する。   When it is determined that the gas flow rate after the decrease does not exceed zero (S55: NO), that is, when the flow rate value after the decrease is zero, the selection unit 43c selects the first state without selecting the third state. Is selected (S57). Thereafter, the process shown in FIG. 14 ends.

減少後のガス流量がゼロを超えると判断した場合(S55:YES)、選択部43cは第3状態を選択し(S56)、第1及び第2判断部43a,43bの双方を機能させる。   If it is determined that the gas flow rate after the decrease exceeds zero (S55: YES), the selection unit 43c selects the third state (S56), and causes both the first and second determination units 43a and 43b to function.

このように、第2実施形態では第1実施形態と異なり、ステップS54,S555の処理が追加されている。これは以下の理由による。図5(a)に示す例では、振幅の大きいガス器具10を使用後、振幅の小さいガス器具10が使用されている。ところが、振幅の大きいガス器具10が使用されたとしても、振幅の小さいガス器具10が使用されるとは限らない。このため、振幅の小さいガス器具10が使用されていないと推定できる場合には、第3状態とせず、第1状態とする。   As described above, in the second embodiment, unlike the first embodiment, steps S54 and S555 are added. This is due to the following reason. In the example shown to Fig.5 (a), after using the gas appliance 10 with a large amplitude, the gas appliance 10 with a small amplitude is used. However, even if the gas appliance 10 having a large amplitude is used, the gas appliance 10 having a small amplitude is not always used. For this reason, when it can be estimated that the gas appliance 10 having a small amplitude is not used, the first state is set instead of the third state.

例えば、振幅の大きいガス器具10が使用されたとしても、その後の流量減少時に流量値がゼロとなった場合、単に振幅の大きいガス器具10が使用されて停止したと推定できる。この場合、第2実施形態では、図14に示すようにステップS55で「NO」と判断され、選択部43cは第1状態を選択する。一方、振幅の大きいガス器具10が使用され、その後の流量減少時に流量値がゼロを超える場合、振幅の大きいガス器具10の使用中に振幅の小さいガス器具10が使用された可能性がある。よって、第2実施形態では、図14に示すようにステップS55で「YES」と判断され、選択部43cは第3状態を選択する。   For example, even if the gas appliance 10 having a large amplitude is used, if the flow rate value becomes zero when the flow rate is reduced thereafter, it can be estimated that the gas appliance 10 having a large amplitude is simply used and stopped. In this case, in the second embodiment, as shown in FIG. 14, “NO” is determined in the step S55, and the selection unit 43c selects the first state. On the other hand, if the gas appliance 10 having a large amplitude is used and the flow rate value exceeds zero when the flow rate is subsequently reduced, the gas appliance 10 having a small amplitude may be used while the gas appliance 10 having a large amplitude is used. Therefore, in the second embodiment, as shown in FIG. 14, “YES” is determined in the step S55, and the selection unit 43c selects the third state.

このようにして、第2実施形態によれば、第1実施形態と同様に判断精度を向上させることができる。   Thus, according to the second embodiment, the determination accuracy can be improved as in the first embodiment.

さらに、第2実施形態によれば、ガス流量又はガス圧力の振幅が所定値以上のガス器具10が使用されていることを第1判断部43aにより判断し、当該ガス器具10の使用の判断後ガス流量が安定し、安定後に減少した流量値がゼロを超える場合に、第3状態を選択して第2判断部43bを機能させる。ここで、ガス流量が安定し、安定後に減少した流量値がゼロを超える場合とは、1つのガス器具10が使用開始され終了するまでの間に、別のガス器具10の使用が開始され継続している場合が想定される。この場合、第2判断部43bを機能させることにより使用されたガス器具10を判断する。この際、ガス流量又はガス圧力の振幅が所定値以上のガス器具10が使用されてからの流量の波形パターンに基づいて使用されたガス器具10を判断する。これにより、いつ別のガス器具10が使用開始されたか不明であっても、別の使用ガス器具10を判断することができる。   Furthermore, according to the second embodiment, the first determination unit 43a determines that the gas appliance 10 having the gas flow rate or the gas pressure amplitude equal to or larger than the predetermined value is used, and after the use of the gas appliance 10 is determined. When the gas flow rate is stabilized and the flow rate value decreased after stabilization exceeds zero, the third state is selected and the second determination unit 43b is caused to function. Here, when the gas flow rate is stabilized and the flow rate value decreased after stabilization exceeds zero, the use of another gas device 10 is started and continued until one gas device 10 is started and finished. Is assumed. In this case, the used gas appliance 10 is determined by causing the second determination unit 43b to function. At this time, the used gas appliance 10 is determined based on the waveform pattern of the flow rate after the gas appliance 10 having a gas flow rate or gas pressure amplitude of a predetermined value or more is used. Thereby, even if it is unclear when another gas appliance 10 has started to be used, it is possible to determine another gas appliance 10 to be used.

また、ガス流量又はガス圧力の振幅が所定値以上のガス器具10が使用されていることを第1判断部43aにより判断し、当該ガス器具10の使用の判断後ガス流量が安定し、安定後に減少した流量値がゼロである場合、第3状態を選択せず第1状態を選択する。このように、振幅の大きいガス器具10が使用されたとしても、その後の流量減少時に流量値がゼロとなった場合、単に振幅の大きいガス器具10が使用されて停止したと推定できる。よって、特段第2判断部43bを機能させる必要が無い。従って、不要に処理負担を増加させることなく、消費電力を抑えることができる。   Further, it is determined by the first determination unit 43a that the gas appliance 10 having a gas flow rate or gas pressure amplitude equal to or greater than a predetermined value is used, and the gas flow rate is stabilized after the use of the gas appliance 10 is determined. When the decreased flow rate value is zero, the first state is selected without selecting the third state. Thus, even when the gas appliance 10 having a large amplitude is used, it can be estimated that the gas appliance 10 having a large amplitude is simply used and stopped when the flow rate value becomes zero when the flow rate decreases thereafter. Therefore, it is not necessary to make the second determination unit 43b function. Therefore, power consumption can be suppressed without unnecessarily increasing the processing load.

次に、本発明の第3実施形態を説明する。第3実施形態に係るガスメータ40及び判断方法は、第1実施形態と同様であるが、第1判断部43aによるガス漏れ及び使用ガス器具10の判断方法が異なっている。   Next, a third embodiment of the present invention will be described. The gas meter 40 and the determination method according to the third embodiment are the same as those of the first embodiment, but the gas leakage by the first determination unit 43a and the determination method of the used gas appliance 10 are different.

図15は、第3実施形態に係るガスメータ40の詳細を示す構成図である。図15に示すように、第3実施形態に係るガスメータ40は、第1実施形態の生成部45及び類似度推移記憶部46に代えて、スペクトルデータ記憶部48を備えている。スペクトルデータ記憶部48は、ガス漏れ発生直後の微小時間に得られると予測される波形をフーリエ変換したスペクトルデータ、及び、各ガス器具10の使用直後の微小時間に得られると予想される波形をフーリエ変換したスペクトルデータを記憶している。   FIG. 15 is a configuration diagram showing details of the gas meter 40 according to the third embodiment. As shown in FIG. 15, the gas meter 40 according to the third embodiment includes a spectrum data storage unit 48 instead of the generation unit 45 and the similarity transition storage unit 46 of the first embodiment. The spectrum data storage unit 48 performs a Fourier transform on a waveform that is predicted to be obtained in a minute time immediately after the occurrence of a gas leak, and a waveform that is expected to be obtained in a minute time immediately after the use of each gas appliance 10. Spectral data that has undergone Fourier transform is stored.

図16は、ガス漏れが発生したときの圧力波形をフーリエ変換して得られるスペクトルデータを示すグラフであり、図17は、テーブルコンロが使用されたときの圧力波形をフーリエ変換して得られるスペクトルデータを示すグラフである。また、図18は、ガスストーブが使用されたときの圧力波形をフーリエ変換して得られるスペクトルデータを示すグラフであり、図19は、給湯器が使用されたときの圧力波形をフーリエ変換して得られるスペクトルデータを示すグラフであり、図20は、ファンヒータが使用されたときの圧力波形をフーリエ変換して得られるスペクトルデータを示すグラフである。   FIG. 16 is a graph showing spectrum data obtained by Fourier transforming a pressure waveform when gas leakage occurs, and FIG. 17 is a spectrum obtained by Fourier transforming the pressure waveform when a table stove is used. It is a graph which shows data. FIG. 18 is a graph showing spectral data obtained by Fourier transforming the pressure waveform when the gas stove is used, and FIG. 19 is a graph showing the Fourier transform of the pressure waveform when the water heater is used. FIG. 20 is a graph showing spectrum data obtained, and FIG. 20 is a graph showing spectrum data obtained by Fourier transforming a pressure waveform when the fan heater is used.

図16に示すように、ガス漏れが発生した場合、得られる圧力波形には20Hz以上の周波数成分が殆ど含まれていない。また、図17に示すように、テーブルコンロが使用された場合、得られる圧力波形には20Hz以上の周波数成分が殆ど含まれていないが、約10Hz付近の周波数成分において大きな振幅を示す傾向がある。   As shown in FIG. 16, when a gas leak occurs, the obtained pressure waveform contains almost no frequency component of 20 Hz or more. As shown in FIG. 17, when a table stove is used, the obtained pressure waveform contains almost no frequency component of 20 Hz or more, but tends to show a large amplitude in the frequency component around 10 Hz. .

また、図18〜図20に示すように、ガスストーブ、給湯器、及びファンヒータが使用された場合、得られる圧力波形には20Hz以上の周波数成分において大きな振幅を示す傾向がある。より詳細には図18に示すように、ガスストーブが使用された場合、得られる圧力波形には20〜40Hz程度の周波数成分において大きな振幅を示す傾向にある。また、図19に示すように、給湯器が使用された場合、得られる圧力波形には20〜40Hz程度の周波数成分に加えて、70Hz以上の周波数成分において大きな振幅を示す傾向にある。さらに、図20に示すように、ファンヒータが使用された場合、得られる圧力波形には20〜40Hz及び250Hz程度の周波数成分において大きな振幅を示す傾向にある。なお、図16〜図20において60Hz付近に存在するピークは、商用電源によるノイズである。   Moreover, as shown in FIGS. 18-20, when a gas stove, a water heater, and a fan heater are used, the obtained pressure waveform tends to show a large amplitude in a frequency component of 20 Hz or more. More specifically, as shown in FIG. 18, when a gas stove is used, the obtained pressure waveform tends to show a large amplitude in a frequency component of about 20 to 40 Hz. As shown in FIG. 19, when a water heater is used, the obtained pressure waveform tends to show a large amplitude in a frequency component of 70 Hz or more in addition to a frequency component of about 20 to 40 Hz. Furthermore, as shown in FIG. 20, when a fan heater is used, the obtained pressure waveform tends to show a large amplitude in frequency components of about 20 to 40 Hz and about 250 Hz. In addition, the peak which exists in 60-Hz vicinity in FIGS. 16-20 is the noise by a commercial power source.

再度、図15を参照する。スペクトルデータ記憶部48は、図16〜図20に示したようなスペクトルデータを記憶している。そして、第1判断部43aは、このスペクトルデータに基づいて、ガス漏れ及び使用ガス器具10を判断する。   FIG. 15 will be referred to again. The spectrum data storage unit 48 stores spectrum data as shown in FIGS. And the 1st judgment part 43a judges gas leak and the use gas appliance 10 based on this spectrum data.

図21は、第3実施形態に係る第1判断部43aの動作を示すフローチャートである。図21に示すように、まず、第1判断部43aはトリガ信号発生部44からトリガ信号が入力されたか否かを判断する(S61)。トリガ信号が入力されなかったと判断した場合(S61:NO)、トリガ信号が入力されたと判断されるまで、この処理が繰り返される。   FIG. 21 is a flowchart showing the operation of the first determination unit 43a according to the third embodiment. As shown in FIG. 21, first, the first determination unit 43a determines whether or not a trigger signal is input from the trigger signal generation unit 44 (S61). If it is determined that the trigger signal has not been input (S61: NO), this process is repeated until it is determined that the trigger signal has been input.

一方、トリガ信号が入力されたと判断した場合(S61:YES)、第1判断部43aは、サンプリング時間を短縮し、短縮されたサンプリング時間で圧力を計測する(S62)。そして、圧力計測後、第1判断部43aは、ステップS62において計測したガス圧力の波形をフーリエ変換する(S63)。   On the other hand, when it is determined that the trigger signal is input (S61: YES), the first determination unit 43a shortens the sampling time and measures the pressure with the shortened sampling time (S62). After the pressure measurement, the first determination unit 43a performs a Fourier transform on the gas pressure waveform measured in step S62 (S63).

その後、第1判断部43aは、スペクトルデータ記憶部48に記憶されたガス漏れ発生時のスペクトルデータを読み出す(S64)。そして、第1判断部43aは、ステップS63のフーリエ変換により得られたスペクトルデータと、ステップS64において読み出したスペクトルデータとの類似度を算出する(S65)。この類似度は上記NCCであってもよいし、他の算出方法により算出されてもよい。次いで、第1判断部43aは、ステップS43にて算出した類似度が特定値以上であるか否かを判断する(S66)。   Thereafter, the first determination unit 43a reads the spectrum data at the time of gas leakage stored in the spectrum data storage unit 48 (S64). And the 1st judgment part 43a calculates the similarity degree of the spectrum data obtained by the Fourier transform of step S63, and the spectrum data read in step S64 (S65). This similarity may be the above NCC, or may be calculated by another calculation method. Next, the first determination unit 43a determines whether or not the similarity calculated in step S43 is greater than or equal to a specific value (S66).

ステップS65にて算出した類似度が特定値以上であると判断した場合(S66:YES)、第1判断部43aはガス漏れが発生したと判断する(S67)。そして、図21に示す処理は終了する。   When it is determined that the similarity calculated in step S65 is greater than or equal to a specific value (S66: YES), the first determination unit 43a determines that a gas leak has occurred (S67). Then, the process shown in FIG. 21 ends.

ところで、ステップS65にて算出した類似度が特定値以上でないと判断した場合(S66:NO)、第1判断部43aは、ガス器具毎のスペクトルデータを読み出し(S68)、それぞれのスペクトルデータとの類似度を算出する(S69)。そして、第1判断部43aは、類似度が最大となったスペクトルデータが示す種類のガス器具10が使用されたと判断する(S70)。そして、図14に示す処理は終了する。   By the way, when it is judged that the similarity calculated in step S65 is not more than a specific value (S66: NO), the 1st judgment part 43a reads the spectrum data for every gas appliance (S68), and each spectrum data is used. The similarity is calculated (S69). Then, the first determination unit 43a determines that the type of gas appliance 10 indicated by the spectrum data having the maximum similarity is used (S70). Then, the process shown in FIG. 14 ends.

なお、図14に示すステップS69,S70の処理では、記憶されたガス器具毎の全スペクトルデータとの類似度を求めて最も高いスペクトルデータが示すガス器具10が使用されたと判断している。しかし、これに限らず、記憶されたガス器具毎のスペクトルデータとの類似度を順次求めていき、類似度が予め定められた値以上となった時点でそのスペクトルデータが示すガス器具10が使用されたと判断し、その後類似度の算出を中止するようにしてもよい。このようにすることで、類似度の算出数が減り、消費電力の低下につなげることができるからである。   In the processing of steps S69 and S70 shown in FIG. 14, it is determined that the gas appliance 10 indicated by the highest spectrum data is used by obtaining the similarity to all the spectrum data stored for each gas appliance. However, the present invention is not limited to this, and the degree of similarity with the stored spectrum data for each gas appliance is sequentially obtained, and the gas appliance 10 indicated by the spectrum data is used when the similarity becomes equal to or higher than a predetermined value. After that, it may be determined that the calculation of the similarity is stopped. This is because by doing so, the number of similarities calculated can be reduced, leading to a reduction in power consumption.

さらに、本実施形態では圧力センサ42からの電気信号によって得られる波形をフーリエ変換して、ガス器具10の種類を判断すると共にガス漏れを判断している。しかし、圧力と流量とには一定の相関があるため、流量センサ41からの電気信号によって得られる波形をフーリエ変換して、ガス器具10の種類を判断すると共にガス漏れを判断するようにしてもよい。   Furthermore, in this embodiment, the waveform obtained by the electrical signal from the pressure sensor 42 is Fourier transformed to determine the type of the gas appliance 10 and to determine the gas leakage. However, since there is a certain correlation between the pressure and the flow rate, the waveform obtained by the electrical signal from the flow rate sensor 41 is Fourier transformed to determine the type of the gas appliance 10 and to determine the gas leak. Good.

このようにして、第3実施形態に係るガスメータ40及び判断方法によれば、第1実施形態と同様に、判断精度を向上させることができる。   Thus, according to the gas meter 40 and the determination method according to the third embodiment, the determination accuracy can be improved as in the first embodiment.

以上、実施形態に基づき本発明を説明したが、本発明は上記実施形態に限られるものではなく、本発明の趣旨を逸脱しない範囲で、変更を加えてもよい。   As described above, the present invention has been described based on the embodiment, but the present invention is not limited to the above embodiment, and may be modified without departing from the gist of the present invention.

また、本実施形態において判断装置はガスメータ40であるが、これに限らず、判断装置をガスメータ40とは別に構成してもよい。   In the present embodiment, the determination device is the gas meter 40, but the determination device is not limited thereto, and the determination device may be configured separately from the gas meter 40.

さらに、第1実施形態において類似度推移を式(1)により算出しているが、これに限らず、他の方法で類似度推移を算出するようにしてもよい。   Furthermore, in the first embodiment, the similarity transition is calculated by the expression (1). However, the present invention is not limited to this, and the similarity transition may be calculated by another method.

また、第1実施形態において第1判断部43aは、類似度推移記憶部46に記憶された連続NCCデータのうち、第1判断部43aにより算出された連続NCCと近いものが存在しない場合、類似度推移記憶部46に記憶された連続NCCデータが示すガス器具10に不足があると判断してもよい。   In the first embodiment, the first determination unit 43a is similar when there is no continuous NCC data calculated by the first determination unit 43a among the continuous NCC data stored in the similarity transition storage unit 46. It may be determined that the gas appliance 10 indicated by the continuous NCC data stored in the degree transition storage unit 46 is insufficient.

また、本実施形態では燃料ガスをLPガスとする場合の例について説明したが、これに限らず、都市ガスの場合にも適用可能である。   In this embodiment, the example in which the fuel gas is LP gas has been described. However, the present invention is not limited to this, and the present invention can also be applied to the case of city gas.

また、本実施形態では1秒以内の微小時間におけるガス漏れ振動波形に基づいて、ガス漏れ及び使用ガス器具10を判断している。特に、本実施形態では、圧力や流量を計測する時間は1秒以内で充分であるが、予備的に1秒よりも長い時間の計測を行ってもよい。   Moreover, in this embodiment, based on the gas leak vibration waveform in the minute time within 1 second, the gas leak and the gas appliance 10 to be used are judged. In particular, in this embodiment, the time for measuring the pressure and the flow rate is sufficient within one second, but it may be measured for a time longer than one second in advance.

また、本実施形態において類似度推移記憶部46は、ガス器具10毎の連続NCCデータを記憶している。この連続NCCデータは、1つのガス器具10に対して1つだけ記憶されていてもよいし、1つのガス器具10に対して複数記憶されていてもよい。例えば、給湯器では給湯器内の水温によって連続NCCが異なってくる。この場合、類似度推移記憶部46に記憶される連続NCCデータが1つだけであると、給湯器の水温に応じて使用ガス器具10の判断を誤ってしまう可能性がある。そこで、このようなガス器具10に対しては複数の連続NCCデータを記憶しておくことが望ましい。これにより、より精度良く使用ガス器具10を判断することができるからである。   In the present embodiment, the similarity transition storage unit 46 stores continuous NCC data for each gas appliance 10. Only one piece of this continuous NCC data may be stored for one gas appliance 10, or a plurality of pieces may be stored for one gas appliance 10. For example, in a water heater, the continuous NCC varies depending on the water temperature in the water heater. In this case, if there is only one continuous NCC data stored in the similarity transition storage unit 46, there is a possibility that the determination of the gas appliance 10 to be used is erroneous depending on the water temperature of the water heater. Therefore, it is desirable to store a plurality of continuous NCC data for such a gas appliance 10. This is because the gas appliance 10 to be used can be determined with higher accuracy.

また、第3実施形態において第1判断部43aは、スペクトルデータの全周波数域で類似度を算出しているが、これに限らず一部の周波数域のみで類似度を算出してもよい。例えば、給湯器では100Hz以上の周波数域においてもスペクトルデータに大きな振幅が得られるという特徴があるため、100Hz以上の周波数域についてスペクトルデータの類似度を算出することによっても使用ガス器具10を特定することができる。このように、一部の周波数域のみで類似度を算出して演算量を減らすこともできる。   In the third embodiment, the first determination unit 43a calculates the similarity in the entire frequency range of the spectrum data. However, the present invention is not limited to this, and the similarity may be calculated only in a part of the frequency range. For example, since the water heater has a feature that a large amplitude can be obtained in the spectrum data even in a frequency range of 100 Hz or higher, the gas appliance 10 to be used is also specified by calculating the similarity of the spectral data in the frequency range of 100 Hz or higher. be able to. In this way, the calculation amount can be reduced by calculating the similarity only in a part of the frequency range.

1…ガス供給システム
10…ガス器具
20…調整器
31…第1配管
32…第2配管
40…ガスメータ(判断装置)
41…流量センサ
42…圧力センサ
43…判断部
43a…第1判断部(第1判断手段)
43b…第2判断部(第2判断手段)
43c…選択部(選択手段)
44…トリガ信号発生部
45…生成部
46…類似度推移記憶部
47…波形パターン記憶部
48…スペクトルデータ記憶部
DESCRIPTION OF SYMBOLS 1 ... Gas supply system 10 ... Gas appliance 20 ... Regulator 31 ... 1st piping 32 ... 2nd piping 40 ... Gas meter (determination apparatus)
41 ... Flow sensor 42 ... Pressure sensor 43 ... Determining unit 43a ... First determining unit (first determining means)
43b ... 2nd judgment part (2nd judgment means)
43c ... Selection part (selection means)
44 ... Trigger signal generation unit 45 ... Generation unit 46 ... Similarity transition storage unit 47 ... Waveform pattern storage unit 48 ... Spectrum data storage unit

Claims (8)

ガス流量及びガス圧力の少なくとも一方の変化時からの微小時間中に得られた波形からガス漏れ及び使用ガス器具の少なくとも一方を判断する第1判断手段と、
前記微小時間よりも長い時間において得られたガス流量の波形パターンから使用ガス器具を判断する第2判断手段と、
前記第1判断手段のみを機能させる第1状態と、前記第2判断手段のみを機能させる第2状態と、前記第1及び第2判断手段の双方を機能させる第3状態との1つを選択する選択手段と、
を備えることを特徴とする判断装置。
First determination means for determining at least one of a gas leak and a gas appliance to be used from a waveform obtained during a minute time from a change in at least one of a gas flow rate and a gas pressure;
Second determination means for determining a gas appliance to be used from a waveform pattern of a gas flow rate obtained in a time longer than the minute time;
Select one of a first state in which only the first determination unit functions, a second state in which only the second determination unit functions, and a third state in which both the first and second determination units function Selection means to
A judgment device comprising:
前記選択手段は、初期状態において前記第1状態を選択し、所定条件成立時に前記第2状態、又は、前記第3状態を選択する
ことを特徴とする請求項1に記載の判断装置。
2. The determination device according to claim 1, wherein the selection unit selects the first state in an initial state and selects the second state or the third state when a predetermined condition is satisfied.
前記選択手段は、前記所定条件成立後、非成立となった場合、前記第1状態を選択する
ことを特徴とする請求項2に記載の判断装置。
The determination device according to claim 2, wherein the selection unit selects the first state when the predetermined condition is not satisfied and is not satisfied.
前記選択手段は、ガス圧力の変化が第1規定値以上であるにも拘わらず、ガス流量の変化が第2規定値未満である場合に、前記第2状態を選択する
ことを特徴とする請求項1から請求項3のいずれかに記載の判断装置。
The selection means selects the second state when a change in gas flow rate is less than a second specified value despite a change in gas pressure being equal to or greater than a first specified value. The determination device according to any one of claims 1 to 3.
前記選択手段は、ガス流量又はガス圧力の振幅が所定値以上のガス器具が使用されていると判断された場合、前記第3状態を選択する
ことを特徴とする請求項1から請求項4のいずれか1項に記載の判断装置。
The said selection means selects the said 3rd state, when it is judged that the gas appliance whose gas flow volume or the amplitude of a gas pressure is more than predetermined value is used. The said 3rd state is characterized by the above-mentioned. The determination device according to any one of the above.
前記選択手段は、ガス流量又はガス圧力の振幅が所定値以上のガス器具が使用されていることを前記第1判断手段により判断し、当該ガス器具の使用の判断後ガス流量が安定し、安定後に減少した流量値がゼロを超える場合に、前記第3状態を選択して前記第2判断手段を機能させ、
前記第2判断手段は、ガス流量又はガス圧力の振幅が所定値以上のガス器具が使用されてからの流量の波形パターンに基づいて使用されたガス器具を判断する
ことを特徴とする請求項5に記載の判断装置。
The selection means determines that a gas appliance having an amplitude of a gas flow rate or gas pressure of a predetermined value or more is used by the first determination means, and the gas flow rate is stabilized after the determination of the use of the gas appliance. When the flow rate value that is decreased later exceeds zero, the third state is selected to cause the second determination means to function,
The said 2nd judgment means judges the gas appliance used based on the waveform pattern of the flow rate after the gas appliance with which the amplitude of gas flow rate or gas pressure is more than predetermined value is used. Determining device described in 1.
前記選択手段は、ガス流量又はガス圧力の振幅が所定値以上のガス器具が使用されていることを前記第1判断手段により判断し、当該ガス器具の使用の判断後ガス流量が安定し、安定後に減少した流量値がゼロである場合、前記第3状態を選択せず前記第1状態を選択する
ことを特徴とする請求項5に記載の判断装置。
The selection means determines that a gas appliance having an amplitude of a gas flow rate or gas pressure of a predetermined value or more is used by the first determination means, and the gas flow rate is stabilized after the determination of the use of the gas appliance. The determination apparatus according to claim 5, wherein when the flow rate value that is reduced later is zero, the first state is selected without selecting the third state.
ガス流量及びガス圧力の少なくとも一方の変化時からの微小時間中に得られた波形からガス漏れ及び使用ガス器具の少なくとも一方を判断する第1判断工程と、
ガス流量変化時からの流量の波形パターンと予めガス器具毎に記憶された記憶パターンとのマッチングにより使用ガス器具を判断する第2判断工程と、
前記第1判断工程を実行する第1状態と、前記第2判断工程を実行する第2状態と、前記第1及び第2判断工程の双方を実行する第3状態との1つを選択する選択工程と、
を有することを特徴とする判断方法。
A first determination step of determining at least one of a gas leak and a gas appliance to be used from a waveform obtained during a minute time from a change in at least one of a gas flow rate and a gas pressure;
A second determination step of determining the gas appliance to be used by matching the waveform pattern of the flow rate from when the gas flow rate is changed and a memory pattern stored in advance for each gas appliance;
Selection to select one of a first state in which the first determination step is executed, a second state in which the second determination step is executed, and a third state in which both the first and second determination steps are executed Process,
The determination method characterized by having.
JP2009252989A 2009-11-04 2009-11-04 Judging device and judging method Active JP5302854B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009252989A JP5302854B2 (en) 2009-11-04 2009-11-04 Judging device and judging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009252989A JP5302854B2 (en) 2009-11-04 2009-11-04 Judging device and judging method

Publications (2)

Publication Number Publication Date
JP2011099702A true JP2011099702A (en) 2011-05-19
JP5302854B2 JP5302854B2 (en) 2013-10-02

Family

ID=44191004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009252989A Active JP5302854B2 (en) 2009-11-04 2009-11-04 Judging device and judging method

Country Status (1)

Country Link
JP (1) JP5302854B2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004077248A (en) * 2002-08-14 2004-03-11 Tokyo Gas Co Ltd Flow rate measuring device with low power consumption and high sampling rate, and gas meter applying the same
JP3712971B2 (en) * 2001-11-15 2005-11-02 東京瓦斯株式会社 Gas appliance determination device and gas meter having gas appliance determination function
JP3802399B2 (en) * 2001-11-15 2006-07-26 東京瓦斯株式会社 GAS LEAK DETECTION DEVICE FOR DETECTING GAS LEAKAGE WITH GAS EQUIPMENT JUDGMENT AND GAS METER HAVING THE SAME
JP2009047678A (en) * 2007-04-27 2009-03-05 Panasonic Corp Flow-rate measuring device, program for the device, flow-rate measuring method, and fluid feed system
JP4886468B2 (en) * 2006-10-27 2012-02-29 東光東芝メーターシステムズ株式会社 Gas appliance discrimination device, discrimination method and discrimination system, gas flow path monitoring device and monitoring method
JP4932207B2 (en) * 2005-09-29 2012-05-16 東京瓦斯株式会社 Gas appliance determination device
JP4976940B2 (en) * 2007-07-09 2012-07-18 東光東芝メーターシステムズ株式会社 Gas appliance identification device
JP5031322B2 (en) * 2006-10-27 2012-09-19 東京瓦斯株式会社 Gas appliance identification device
JP5032825B2 (en) * 2006-10-27 2012-09-26 東光東芝メーターシステムズ株式会社 Gas appliance discrimination device and discrimination method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3712971B2 (en) * 2001-11-15 2005-11-02 東京瓦斯株式会社 Gas appliance determination device and gas meter having gas appliance determination function
JP3802399B2 (en) * 2001-11-15 2006-07-26 東京瓦斯株式会社 GAS LEAK DETECTION DEVICE FOR DETECTING GAS LEAKAGE WITH GAS EQUIPMENT JUDGMENT AND GAS METER HAVING THE SAME
JP2004077248A (en) * 2002-08-14 2004-03-11 Tokyo Gas Co Ltd Flow rate measuring device with low power consumption and high sampling rate, and gas meter applying the same
JP4932207B2 (en) * 2005-09-29 2012-05-16 東京瓦斯株式会社 Gas appliance determination device
JP4886468B2 (en) * 2006-10-27 2012-02-29 東光東芝メーターシステムズ株式会社 Gas appliance discrimination device, discrimination method and discrimination system, gas flow path monitoring device and monitoring method
JP5031322B2 (en) * 2006-10-27 2012-09-19 東京瓦斯株式会社 Gas appliance identification device
JP5032825B2 (en) * 2006-10-27 2012-09-26 東光東芝メーターシステムズ株式会社 Gas appliance discrimination device and discrimination method
JP2009047678A (en) * 2007-04-27 2009-03-05 Panasonic Corp Flow-rate measuring device, program for the device, flow-rate measuring method, and fluid feed system
JP4976940B2 (en) * 2007-07-09 2012-07-18 東光東芝メーターシステムズ株式会社 Gas appliance identification device

Also Published As

Publication number Publication date
JP5302854B2 (en) 2013-10-02

Similar Documents

Publication Publication Date Title
JP6876798B2 (en) Temperature compensation for test tones used for meter verification
JPWO2013125463A1 (en) Cavitation jet capacity estimation system
JP5595711B2 (en) Gas leak judgment device and gas leak judgment method
JP5399293B2 (en) Micro leak judgment device and micro leak judgment method
JP5597143B2 (en) Gas status judging device and trigger signal generating device
JP5302854B2 (en) Judging device and judging method
JP2011164036A (en) Diaphragm type gas meter
JP5436175B2 (en) Gas usage status judgment system and gas usage status judgment method
JP5812658B2 (en) Gas status judgment device, gas status judgment method, and trigger signal generator
JP5578886B2 (en) Leakage location identification system and leakage location identification method
JP5498132B2 (en) Gas usage status judging device and gas usage status judging method
JP5713695B2 (en) Gas status judgment device, gas status judgment method, and trigger signal generator
JP5669619B2 (en) Gas appliance judgment device and gas appliance judgment method
JP2011106982A (en) Infinitesimal leakage determiner and method of determining infinitesimal leakage
JP5909715B2 (en) Fuel use apparatus discriminating apparatus, flow rate measuring apparatus, gas meter, and fuel use apparatus discriminating method
JP5530199B2 (en) Alarm system
JP2012122636A (en) Gas appliance decision device, and learning method thereof
JP5618654B2 (en) Gas appliance judgment system and gas appliance judgment method
JP5356847B2 (en) Judgment device and judgment method
JP2007058838A (en) Gas alarm, alarm method, and device and method for detecting carbon monoxide-hemoglobin concentration
JP5115996B2 (en) Carbon monoxide hemoglobin concentration detection apparatus and detection method
JP5570238B2 (en) Gas meter
JPWO2018087915A1 (en) Temperature measuring instrument, temperature controller and short circuit discrimination program
JP5229016B2 (en) Flow rate measuring device and fluid supply system
JP3989139B2 (en) Method and apparatus for measuring void reactivity coefficient of boiling water reactor

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20120926

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20120927

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20121005

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121017

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130313

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130621

R150 Certificate of patent or registration of utility model

Ref document number: 5302854

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

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