JP3307495B2 - Gas meter with communication function - Google Patents

Gas meter with communication function

Info

Publication number
JP3307495B2
JP3307495B2 JP33187993A JP33187993A JP3307495B2 JP 3307495 B2 JP3307495 B2 JP 3307495B2 JP 33187993 A JP33187993 A JP 33187993A JP 33187993 A JP33187993 A JP 33187993A JP 3307495 B2 JP3307495 B2 JP 3307495B2
Authority
JP
Japan
Prior art keywords
gas
communication
communication line
gas meter
microcomputer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP33187993A
Other languages
Japanese (ja)
Other versions
JPH07190831A (en
Inventor
一光 温井
繁憲 岡村
幸雄 木村
富夫 上遠野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Osaka Gas Co Ltd
Tokyo Gas Co Ltd
Aichi Tokei Denki Co Ltd
Toho Gas Co Ltd
Original Assignee
Osaka Gas Co Ltd
Tokyo Gas Co Ltd
Aichi Tokei Denki Co Ltd
Toho Gas Co Ltd
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 Osaka Gas Co Ltd, Tokyo Gas Co Ltd, Aichi Tokei Denki Co Ltd, Toho Gas Co Ltd filed Critical Osaka Gas Co Ltd
Priority to JP33187993A priority Critical patent/JP3307495B2/en
Publication of JPH07190831A publication Critical patent/JPH07190831A/en
Application granted granted Critical
Publication of JP3307495B2 publication Critical patent/JP3307495B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Measuring Volume Flow (AREA)
  • Details Of Flowmeters (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、マイコンを搭載したガ
スメータの外部との通信ラインの切換方法とその方法の
実施に使用する通信システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for switching a communication line with the outside of a gas meter equipped with a microcomputer and a communication system used for implementing the method.

【0002】[0002]

【従来の技術】内蔵のマイコンがガス流量を常時監視し
て安全を守る安全機能を備えたマイコンガスしゃ断装置
付ガスメータが公知である。
2. Description of the Related Art There is known a gas meter with a microcomputer gas shut-off device having a safety function for constantly monitoring a gas flow rate by a built-in microcomputer to secure safety.

【0003】ガスメータ内蔵のマイコンには、ガス使用
時における様々な異常使用状態がプログラムされてお
り、流量異常や長時間にわたるガスの異常使用が発生す
ると、マイコンがすばやく判断して、しゃ断弁を閉じ、
ガスをしゃ断する。また、感震器や圧力センサを内蔵
し、感震器からの信号によって、大きな地震のときに、
ただちにガスをしゃ断したり、供給ガス圧が異常低下し
た場合にただちにガスをしゃ断する。
[0003] The microcomputer with built-in gas meter is programmed with various abnormal use states when using gas. When an abnormal flow rate or abnormal use of gas occurs for a long time, the microcomputer quickly determines and closes the shutoff valve. ,
Cut off gas. In addition, it has a built-in seismic sensor and pressure sensor.
The gas is cut off immediately or the gas is cut off immediately when the supply gas pressure drops abnormally.

【0004】また、ガスメータ内蔵のマイコンに、各種
の定数等例えばパルス単位や器差補正係数を設定するた
めに、ガスメータの外部から通信線を介して所定の電気
信号をメータに送って設定したり、マイコンが記憶して
いる定数やガス使用量等の内容(情報)を通信線を介し
てメータ外部へ送出するように要求することがある。こ
のような通信機能を備えたガスメータでは通信線へ電気
的に接続するためのリード線を備えており、マイコンを
搭載したプリント基板に一端を接続したリード線の他端
がメータケースの外部へ引き出されている。
Further, in order to set various constants such as pulse units and instrumental difference correction coefficients in a microcomputer built in the gas meter, a predetermined electric signal is sent from the outside of the gas meter to the meter via a communication line to set the constant. In some cases, a request may be made to send the contents (information) such as constants and gas consumption stored in the microcomputer to the outside of the meter via a communication line. A gas meter with such a communication function is equipped with a lead wire for electrical connection to a communication line.The other end of the lead wire, one end of which is connected to a printed circuit board equipped with a microcomputer, is drawn out of the meter case. Have been.

【0005】この外部へ引き出されたリード線の端部
は、ガスメータを需要家に設置して電話回線の網制御装
置(NCU)に接続するまでは、絶縁のために熱収縮チ
ューブを被せて保護してある。
Until the gas meter is installed in the customer and connected to the telephone network controller (NCU), the end of the lead wire drawn out is protected by covering with a heat shrink tube for insulation. I have.

【0006】なお、リード線を介しての、ガスメータの
内部と外部の通信速度は300bpsで、通信の信頼性
を上げるため、水平・垂直パリティチェックだけでな
く、特殊な誤り制御を行なっている。
The communication speed between the inside and the outside of the gas meter via the lead wire is 300 bps. In order to improve communication reliability, not only horizontal / vertical parity check but also special error control is performed.

【0007】また、NCUはフォトカプラを備えてい
て、このフォトカプラにより、電話局側の通信線とメー
タ側の通信線(前記リード線)とを電気的に絶縁するよ
うになっている。
[0007] The NCU has a photocoupler, and the photocoupler electrically insulates the communication line on the telephone station side from the communication line (lead wire) on the meter side.

【0008】更にまた、この種のマイコンガス遮断装置
付ガスメータでは、メータ号数を設定してから感震しゃ
断もしくは圧力しゃ断以外のしゃ断をするまでの間に感
震器もしくは圧力センサの信号による感震しゃ断もしく
は圧力しゃ断をしないように回避する感震・圧力マスク
モードを備えている。このモードに設定しておくこと
で、流量試験をするときに、感震器もしくは圧力センサ
での遮断を回避し、作業効率の向上を図っている。感震
・圧力マスクモードの解除は感震器もしくは圧力センサ
以外の信号によるしゃ断である。
Further, in this type of gas meter with a microcomputer gas shut-off device, a signal from a seismic sensor or a pressure sensor is applied between the time when the meter number is set and when a non-seismic interruption or a non-pressure interruption is performed. Equipped with a seismic / pressure mask mode that avoids shaking or pressure blocking. By setting this mode, it is possible to avoid interruption by the seismic sensor or pressure sensor when performing the flow rate test, and to improve the work efficiency. The release of the seismic / pressure mask mode is interrupted by a signal other than the vibration sensor or the pressure sensor.

【0009】電話回線を用いないでガスメータに各種設
定をしたり、ガスメータ内の情報を読み出すには、通信
用の前記リード線の熱収縮チューブを被せた先端部を切
り取って、まとめてあるリード線をばらし、絶縁被覆を
むき、設定読み取り用の周知の設定器の接続具であるワ
ニ口クリップをリード線に接続して、設定器を操作する
ことで行なっている。このとき、ワニ口クリップの極性
を間違えて接続すると、マイコンがしゃ断弁を閉じてガ
スをしゃ断する構造にガスメータがなっている。このと
きには、復帰時間として2分間放置しなければならな
い。また、設定が終了すると絶縁被覆をむいた部分を切
り取り、熱収縮チューブを被せ、リード線を束ねるとい
う作業を行なっている。
In order to make various settings on the gas meter without using a telephone line and to read out the information in the gas meter, the leading end of the communication lead covered with the heat-shrinkable tube is cut off and the lead is put together. This is done by removing the insulation, stripping off the insulation coating, connecting the crocodile clip, which is a connector of a known setting device for setting reading, to the lead wire, and operating the setting device. At this time, if the polarity of the alligator clip is incorrectly connected, the gas meter has a structure in which the microcomputer closes the shutoff valve to shut off the gas. At this time, it must be left for 2 minutes as a return time. Further, when the setting is completed, the work of cutting off the insulating coating, covering with a heat shrinkable tube, and bundling the lead wires is performed.

【0010】また、マイコンガス遮断装置付ガスメータ
では、メータの前面にリードスイッチからなるテストス
イッチが設けられ、このテストスイッチに永久磁石を近
づけて一定時間以上保持することで、テストスイッチが
0.2秒以上の間オンとなるとマイコンがしゃ断弁を閉
じてガスを遮断するように構成され、これをテスト遮断
と呼んでいる。
In a gas meter with a microcomputer gas shut-off device, a test switch composed of a reed switch is provided on the front of the meter. By holding a permanent magnet close to this test switch for a certain period of time, the test switch becomes 0.2 When turned on for more than a second, the microcomputer is configured to close the shutoff valve to shut off gas, which is called test shutoff.

【0011】[0011]

【発明が解決しようとする課題】通信機能を有する前記
従来のガスメータでは、電話回線に接続すべきリード線
を設定器に接続して、設定器を操作していたので、熱収
縮チューブを被せたリード線の先端部を切りとって絶縁
被覆をむいてワニ口クリップで接続し、設定作業終了後
に、再びリード線に熱収縮チューブを付けるという面倒
な作業をしなければならないという問題点があった。ま
た、リード線が短かくなるため、設定作業がしにくくな
るという問題点もあった。
In the conventional gas meter having a communication function, the lead wire to be connected to the telephone line was connected to the setting device and the setting device was operated, so that the heat shrink tube was covered. There has been a problem that the troublesome work of cutting off the tip of the lead wire, peeling off the insulating coating, connecting with the alligator clip, and attaching the heat-shrinkable tube to the lead wire again after the setting work has been involved has been a problem. In addition, there is another problem that the setting work becomes difficult because the lead wire becomes short.

【0012】また、設定作業時にワニ口クリップの極性
を間違えて接続したりすると、しゃ断弁が閉じて、所定
の復帰時間を要し、作業効率が悪くなるという問題点が
あった。
Further, if the polarity of the alligator clip is incorrectly connected during the setting operation, the shutoff valve is closed, a predetermined return time is required, and the operation efficiency is deteriorated.

【0013】そこで、本発明は、ガスメータの内部情報
の読み取り作業も含む設定作業時におけるこれらの問題
点を解消できる通信機能付ガスメータを提供することを
第1の目的とする。
SUMMARY OF THE INVENTION It is a first object of the present invention to provide a gas meter with a communication function which can solve these problems at the time of setting work including reading of internal information of the gas meter.

【0014】近時、通信機能付ガスメータとして多機能
化が進められ、設定器を使って設定作業する時に設定器
からガスメータへ送る情報量や、ガスメータから設定器
へ送る情報量が増加する傾向にあり、設定作業に要する
時間が増大し、作業効率が悪くなるという問題点もあ
る。
Recently, multi-functions of gas meters with a communication function have been promoted, and the amount of information sent from the setting device to the gas meter and the amount of information sent from the gas meter to the setting device when performing setting work using the setting device tend to increase. In addition, there is also a problem that the time required for the setting operation increases and the operation efficiency deteriorates.

【0015】そこで、本発明はかかる問題点を解消でき
る通信機能付ガスメータを提供することを第2の目的と
する。
Therefore, a second object of the present invention is to provide a gas meter with a communication function that can solve such a problem.

【0016】[0016]

【課題を解決するための手段】前記第1の目的を達成す
るために、請求項1の発明は内蔵のマイコン(2)でガ
ス流量を監視し、ガスの異常使用が発生するとしゃ断弁
(3)を閉じてガスをしゃ断し、かつ外部からの磁気に
感応するスイッチ(4)を有するマイコンガスしゃ断装
置と、外部と信号のやりとりをする第1の通信ライン
(9)とを備えた通信機能付ガスメータにおいて、メー
タの外方に向けて配設した発光ダイオード(5)とフォ
トトランジスタ(6)に接続した第2の通信ライン
(7)と、前記第1の通信ライン(9)と第2の通信ラ
イン(7)を切り換え接続する切り換え回路(8)と、
前記スイッチ(4)もしくはフォトトランジスタ(6)
の信号を判断して前記切り換え回路(8)を切り換える
制御回路(2)とを具備したことを特徴とする。
In order to achieve the first object, the invention according to claim 1 monitors a gas flow rate by a built-in microcomputer (2) and, when an abnormal use of gas occurs, shuts off a shut-off valve (3). ), A communication function including a microcomputer gas shutoff device having a switch (4) for shutting off gas and responding to magnetism from the outside, and a first communication line (9) for exchanging signals with the outside. A second communication line (7) connected to a light emitting diode (5) and a phototransistor (6) disposed outward of the meter, the first communication line (9) and a second communication line. A switching circuit (8) for switching and connecting the communication line (7) of
The switch (4) or the phototransistor (6)
And a control circuit (2) for switching the switching circuit (8) by judging the above signal.

【0017】また、前記第2の目的を達成するために、
請求項2の発明は、前記切り換え回路(8)を第2の通
信ライン(7)側に切り換えるときに、通信速度を制御
するクロック周波数を高くするように構成したことを特
徴とする請求項1記載の通信機能付ガスメータである。
Further, in order to achieve the second object,
The invention according to claim 2 is characterized in that, when the switching circuit (8) is switched to the second communication line (7), a clock frequency for controlling a communication speed is increased. It is a gas meter with a communication function of description.

【0018】[0018]

【作用】ガスメータ製造工場や、ガス需要家にガスメー
タを設置する場所で、設定器を用いて、第1の通信ライ
ンを用いないで設定作業による信号のやりとりをすると
きは、設定器の磁気コイルと発光ダイオードとフォトト
ランジスタをそれぞれガスメータのスイッチ(4)とフ
ォトトランジスタ(6)と発光ダイオード(5)に対向
配置して行なう。
In a gas meter manufacturing plant or a place where a gas consumer is installed at a gas consumer, when exchanging signals by a setting operation using a setting device without using a first communication line, a magnetic coil of the setting device is used. The light-emitting diode and the phototransistor are arranged facing the switch (4), the phototransistor (6) and the light-emitting diode (5) of the gas meter, respectively.

【0019】設定器の所定の動作によるスイッチ(4)
もしくはフォトトランジスタ(6)の信号を制御回路
(2)が判断して切り換え回路(8)を第2の通信回路
に切り換える。
Switch (4) according to predetermined operation of setting device
Alternatively, the control circuit (2) determines the signal of the phototransistor (6) and switches the switching circuit (8) to the second communication circuit.

【0020】これで、第2の通信回路により、光通信
で、ガスメータと設定器との信号のやりとりがされる。
このとき、請求項2の発明では通信用クロック周波数が
高い周波数に切り換えられるため、設定作業の信号のや
りとりを高速で行なうことになる。
Thus, signals are exchanged between the gas meter and the setting device by optical communication by the second communication circuit.
At this time, according to the second aspect of the present invention, the communication clock frequency is switched to a higher frequency, so that the setting operation signal is exchanged at a high speed.

【0021】[0021]

【実施例】図1において、1はマイコンガス遮断装置を
備えた通信機能付ガスメータで、計量機能部は省略して
あり図示してない。2はマイコン、3はガス入口に設け
たしゃ断弁で、マイコン2には、ガス使用時における様
々な異常使用状態がプログラムされており、流量異常な
どガスの異常使用が発生すると、マイコン2が判断して
しゃ断弁3を閉じガスをしゃ断する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In FIG. 1, reference numeral 1 denotes a gas meter with a communication function provided with a microcomputer gas shut-off device, and a metering function section is omitted and not shown. Reference numeral 2 denotes a microcomputer, and reference numeral 3 denotes a shut-off valve provided at a gas inlet. The microcomputer 2 is programmed with various abnormal use states when the gas is used, and the microcomputer 2 determines when an abnormal use of the gas such as a flow rate abnormality occurs. And shut off the shutoff valve 3 to shut off the gas.

【0022】なお、前述のように、地震を検知したり、
供給ガス圧の異常低下を検知する感震器や圧力センサが
設けてあるが、これらは図示されてない。4はリードス
イッチ(リードSW)からなるテストスイッチで、ガス
メータ1の前面に配置され、マイコン2に接続されてい
る。
As described above, detecting an earthquake,
Although a seismic sensor and a pressure sensor for detecting an abnormal decrease in the supply gas pressure are provided, these are not shown. Reference numeral 4 denotes a test switch composed of a reed switch (lead SW), which is arranged on the front of the gas meter 1 and connected to the microcomputer 2.

【0023】5と6はガスメータ1の前面に、テストス
イッチ4と並置された発光ダイオード(以下LEDと略
記する)とフォトトランジスタ(以下フォトTrと略記
する)で、第2の通信ライン7により切り換え回路8に
接続されている。
Reference numerals 5 and 6 denote a light emitting diode (hereinafter abbreviated as an LED) and a phototransistor (hereinafter abbreviated as a photo Tr) arranged in parallel with the test switch 4 on the front of the gas meter 1 and are switched by a second communication line 7. It is connected to a circuit 8.

【0024】9は切り換え回路9に一端を接続した第1
の通信ラインで、その他端はガスメータ1の外部に引き
出されて、網制御回路(以下NCUと略記する)10を
備えた電話回線11に接続される。なおNCU10はフ
ォトカプラ12を内蔵していて、ガスメータ側の第1の
通信ライン9と、電話回線11との間を電気的に絶縁し
ている。こうして、第1の通信ライン9と電話回線11
とはフォトカプラ12で光結合されている。
Reference numeral 9 denotes a first circuit having one end connected to the switching circuit 9.
The other end is drawn out of the gas meter 1 and connected to a telephone line 11 having a network control circuit (hereinafter abbreviated as NCU) 10. The NCU 10 has a built-in photocoupler 12 and electrically insulates the first communication line 9 on the gas meter side from the telephone line 11. Thus, the first communication line 9 and the telephone line 11
Are optically coupled by the photocoupler 12.

【0025】電話回線11は周知の交換機に接続され、
更に自動検針用の検針センタのコンピュータと接続され
る。なお、ガスメータ1を図示のようにNCU10を介
して電話回線11に接続するのは、ガスメータ1をガス
の需要家に設置してからであり、設置までは接続されて
いない。そのため、設置までは、第1の通信ライン9を
構成するリード線(電線)は、ガスメータ1からわずか
に引き出された長さで切断され、切断した端部を絶縁す
るために熱収縮チューブで被せてある。
The telephone line 11 is connected to a known exchange,
Furthermore, it is connected to a computer of a meter reading center for automatic meter reading. The gas meter 1 is connected to the telephone line 11 via the NCU 10 as shown in the figure after the gas meter 1 is installed at a gas consumer, and is not connected until the installation. Therefore, until installation, the lead wire (electric wire) constituting the first communication line 9 is cut at a length slightly drawn from the gas meter 1 and covered with a heat-shrinkable tube to insulate the cut end. It is.

【0026】従って、このリード線(第1の通信ライン
9)を、ガスメータ設置後にNCU10に接続するには
NCU10側のリード線に、第1の通信ライン9のリー
ド線の先端熱収縮チューブ部分を切断し、絶縁被覆をむ
いて接続する。
Therefore, in order to connect the lead wire (the first communication line 9) to the NCU 10 after the gas meter is installed, the lead wire on the NCU 10 side should be connected to the heat-shrinkable tube portion of the lead wire of the first communication line 9. Cut, peel off the insulation coating and connect.

【0027】13は、マイコン2と切り換え回路8とを
接続する接続部である。14は、パソコンで、設定器の
本体をなし、設定器I/O部15と、接続線16ととも
に設定器17を構成する。
Reference numeral 13 denotes a connection unit that connects the microcomputer 2 and the switching circuit 8. Reference numeral 14 denotes a personal computer, which forms a main body of the setting device, and configures the setting device 17 together with the setting device I / O section 15 and the connection line 16.

【0028】設定器I/O部15は、磁気コイル18を
巻回した電磁石19と、LED20とフォトTr21を
備えており、設定作業をするとき、図示のように、電磁
石19、LED20及びフォトTr21が、それぞれガ
スメータ1のテストスイッチ4、フォトTr6及び発光
ダイオード5に対向するように設定器I/O部15を設
置する。
The setting device I / O unit 15 includes an electromagnet 19 wound with a magnetic coil 18, an LED 20, and a photo Tr 21. When performing a setting operation, as shown in the figure, the electromagnet 19, the LED 20, and the photo Tr 21 are used. However, the setting device I / O unit 15 is installed so as to face the test switch 4, the photo Tr 6, and the light emitting diode 5 of the gas meter 1, respectively.

【0029】次に設定器17による設定作業について説
明する。設定作業の手順のうち、設定器17側の手順は
パソコン(14)にプログラムされている。設定作業の
最初に、電磁石19とLED20を作動させる。電磁石
19は0.2秒間以上ONさせ、このON時間の間(厳
密には、電磁石19がONする少し前から、電磁石19
がOFFする少し後までの時間)一定の周波数で点滅さ
せる。この電磁石19とLED20の動作が設定作業の
開始を意味する。
Next, the setting operation by the setting device 17 will be described. Among the setting work procedures, the procedure on the setting device 17 side is programmed in the personal computer (14). At the beginning of the setting operation, the electromagnet 19 and the LED 20 are operated. The electromagnet 19 is turned on for 0.2 seconds or more, and during this ON time (strictly, immediately before the electromagnet 19 is turned on, the electromagnet 19 is turned on).
Flashes at a constant frequency. The operation of the electromagnet 19 and the LED 20 indicates the start of the setting operation.

【0030】電磁石19の動作でテストスイッチ(リー
ドスイッチ)4がONすると、マイコン2が作動してフ
ォトTr6の電源をONするように回路やマイコン2の
プログラムが定めてある。そしてフォトTr6が設定器
側のLED20の前記一定の周波数の点滅による光信号
を受けると、マイコン2が設定器17からの通信要求が
あると判断して、切り換え回路8を第2の通信ライン側
7に切り換える。なお、フォトTr6の電源をONする
のは、切り換え回路8を第2の通信ライン7側に切り換
えることと同様の処理で行なう。こうして、テストスイ
ッチ4を動作させる操作が行なわれたとき、その操作が
本来からあるテストしゃ断機能を動かすものか、あるい
は設定作業のための通信を行なう(要求する)操作かを
判断する機能をマイコン2に設けている。
When the test switch (reed switch) 4 is turned on by the operation of the electromagnet 19, the circuit and the program of the microcomputer 2 are determined so that the microcomputer 2 operates to turn on the power of the photo Tr 6. When the photo transistor 6 receives the light signal of the LED 20 on the setting device side by the blinking of the constant frequency, the microcomputer 2 determines that there is a communication request from the setting device 17 and switches the switching circuit 8 to the second communication line side. Switch to 7. Turning on the power of the photo Tr 6 is performed by the same process as switching the switching circuit 8 to the second communication line 7 side. In this manner, when the operation of operating the test switch 4 is performed, the microcomputer determines whether the operation is to activate a test shutoff function originally or to perform (request) communication for setting work. 2.

【0031】もし設定作業の通信のための操作と判定し
たときは上述のように切り換え回路8を第1の通信ライ
ン9から切り離して、第2の通信ライン7側へ切り換え
る。そしてマイコン2による通信速度のクロック周波数
を一段と高い周波数に切り換えて待機する。通信のため
でないと判断したときには、切り換え回路8は切り換え
ずに本来の動作を行なうように構成しておく。
If it is determined that the operation is for communication for the setting operation, the switching circuit 8 is disconnected from the first communication line 9 and switched to the second communication line 7 as described above. Then, the clock frequency of the communication speed by the microcomputer 2 is switched to a higher frequency, and the operation waits. When it is determined that it is not for communication, the switching circuit 8 is configured to perform the original operation without switching.

【0032】これにより、本来機能の感震・圧力マスク
モードは解除されることなく、切り換え回路8を切り換
えることができる。第2の通信ライン7へ切り換えた切
り換え回路8は、設定器17との通信が終了したと判断
したとき、あるいは一定時間の経過により、第1の通信
ライン9に戻す。
Thus, the switching circuit 8 can be switched without canceling the original function of the seismic / pressure mask mode. The switching circuit 8 that has switched to the second communication line 7 returns to the first communication line 9 when it determines that communication with the setting device 17 has been completed, or after a certain time has elapsed.

【0033】このように、テストスイッチ4がONする
とフォトTr6の電源がONになるように構成すること
で、設定器17による設定作業を行なわないときの、フ
ォトTr6による電力消費をなくし、ガスメータ1の内
蔵電池の消耗を防止する。
As described above, when the power of the photo Tr 6 is turned on when the test switch 4 is turned on, the power consumption by the photo Tr 6 when the setting operation by the setting unit 17 is not performed is eliminated, and the gas meter 1 is turned off. To prevent the internal battery from being consumed.

【0034】第2の通信ライン7へ切り換え後は、10
秒間電文待機状態として設定器からの電文を待つ。この
10秒間に電文がないか、あるいはハイ「H」状態が1
秒以上あったら、切り換え回路8を第1の通信ラインへ
戻す。第1の通信ラインに戻す条件は設定作業の途中で
も同様とする。
After switching to the second communication line 7, 10
It waits for a message from the setting device in the message waiting state for seconds. There is no message in the last 10 seconds, or the high “H” state is 1
If there is more than one second, the switching circuit 8 is returned to the first communication line. The condition for returning to the first communication line is the same during the setting operation.

【0035】また終了電文受信時にも切り換えスイッチ
8を第1の通信ライン9側に戻す。第2の通信ラインと
同様とする。更に又、第2の通信ラインに切り換えたと
きは、通信速度を上げると同時に、特殊な誤り制御もな
くし、水平・垂直パリティチェックのみとする。こうす
ることで、通信時間をより短縮して、設定作業を短かい
時間で終了できるようにしている。
The switch 8 is returned to the first communication line 9 when the end message is received. It is the same as the second communication line. Further, when switching to the second communication line, the communication speed is increased, and there is no special error control, and only the horizontal / vertical parity check is performed. By doing so, the communication time can be further shortened, and the setting operation can be completed in a short time.

【0036】このような作動を図2のタイミングチャー
トに示す。この図2で、メータ側フォトTr6と設定器
側フォトTr21のON、OFFは、これ等各トランジ
スタへの電源供給の有無を意味する。設定器側LED2
0の前記一定周波数の点滅がなくなってから、図2の一
定の待機時間後に、先ず設定器側のLEDから信号イの
ように通信データが送出され、メータ側フォトTr6が
これを符号ロのように受信する。次に、メータ側LED
5が符号ハのように通信データを送出し、これを設定器
側フォトTr21が符号ニのように受信する。このよう
にして、設定器17とガスメータ1とが第2の通信ライ
ン7を介して、かつ光結合で信号のやりとりをする。
Such an operation is shown in a timing chart of FIG. In FIG. 2, ON and OFF of the meter-side photo Tr6 and the setter-side photo Tr21 mean the presence or absence of power supply to these transistors. Setting device side LED2
After the constant frequency of 0 disappears, communication data is first transmitted from the LED on the setter side as shown by a signal a after a predetermined standby time in FIG. To receive. Next, the meter side LED
5 transmits the communication data as indicated by the symbol C, and the setter-side photo Tr 21 receives the communication data as indicated by the symbol D. In this manner, the setting device 17 and the gas meter 1 exchange signals via the second communication line 7 and by optical coupling.

【0037】図3は、設定器17で通常のしゃ断動作を
行なうときのタイミングチャートである。このときは、
電磁石19によりメータ側のテストスイッチ4を0.2
秒以上ONにする。ガスメータ1は、テストスイッチ4
がONして0.2秒後にしゃ断弁3をしゃ断してガスを
止める。フォトTr6の電源はテストスイッチ4がON
している始めの0.2秒間だけONする。
FIG. 3 is a timing chart when the setter 17 performs a normal shut-off operation. At this time,
The test switch 4 on the meter side is set to 0.2 by the electromagnet 19.
Turn ON for more than a second. The gas meter 1 has a test switch 4
Is turned on and the shutoff valve 3 is shut off 0.2 seconds after the gas is turned off to stop the gas. The test switch 4 is turned on for the power of the photo Tr 6
ON only for the first 0.2 seconds.

【0038】次に、上記の動作を行なうための、フロー
チャートを図4に従って説明する。ステップ101でフ
ォトTr6の電源をONにし、ステップ102に移る。
Next, a flowchart for performing the above operation will be described with reference to FIG. In step 101, the power of the photo Tr 6 is turned on, and the process proceeds to step 102.

【0039】ステップ102で、フォトTr6の信号か
ら、一定周期の点滅が有るかを判断する。YESのとき
はステップ103で点滅フラグを立て、更にステップ1
05に移る。
In step 102, it is determined from the signal of the photo Tr6 whether or not there is blinking at a fixed period. If YES, a blinking flag is set in step 103, and
Move to 05.

【0040】ステップ102で、NOのときは、ステッ
プ104で点滅フラグを0とし、更にステップ105に
移る。ステップ105で0.2秒経過したか判断し、Y
ESのときはステップ106に移る。NOのときはメイ
ンルーチンに移る。
If NO in step 102, the flashing flag is set to 0 in step 104, and the process proceeds to step 105. In step 105, it is determined whether or not 0.2 seconds have elapsed.
In the case of ES, the process proceeds to step 106. If NO, the process proceeds to the main routine.

【0041】ステップ106で点滅フラグが1かを判断
し、YESのときはステップ107に移る。ステップ1
07で切り換え回路を第2の通信ラインに切り換えて通
信フローに移る。ステップ106がNOのときはステッ
プ108でフォトTr6の電源をOFFにし、テストし
ゃ断のフローへ移る。
At step 106, it is determined whether the blink flag is 1, and if YES, the routine proceeds to step 107. Step 1
At 07, the switching circuit is switched to the second communication line, and the flow shifts to the communication flow. If NO in step 106, the power supply of the photo Tr 6 is turned off in step 108, and the flow proceeds to the test interruption.

【0042】なお、上記実施例では、電磁石19を0.
2秒以上動作させ、かつそのときにLED21を短かい
周期(一定の周波数)で点滅させ、このときのテストス
イッチ4とフォトTr6の信号から、設定器17の設定
作業のための通信の開始の合図があったとマイコン2が
判断して切り換え回路8を第2の通信ライン7側に切り
換えるようにしたが、設定作業のための通信の開始の合
図としては別の方式でもよい。
In the above embodiment, the electromagnet 19 is set at 0.
The LED 21 is operated for 2 seconds or more, and at that time, the LED 21 is blinked at a short cycle (constant frequency). From the signal of the test switch 4 and the photo Tr 6 at this time, the start of communication for the setting operation of the setting unit 17 is started. Although the microcomputer 2 determines that there is a signal and switches the switching circuit 8 to the second communication line 7 side, another method may be used as a signal for starting communication for setting work.

【0043】例えば、電磁石19を交流励磁すること
で、テストスイッチ4を一定周波数で断続(ON.OF
F)させ、その信号をマイコン2で判断して切り換え回
路8を第2の通信ラインへ切り換えるように制御しても
よい。こうすると、設定器のプログラムや、ガスメータ
の回路及びプログラムが上記実施例よりも簡単になる。
For example, by exciting the electromagnet 19 with alternating current, the test switch 4 is turned on and off at a constant frequency (ON.OF).
F), the microcomputer 2 may determine the signal and control the switching circuit 8 to switch to the second communication line. In this case, the program of the setting device and the circuit and the program of the gas meter become simpler than in the above embodiment.

【0044】[0044]

【発明の効果】本発明の通信機能付ガスメータは上述の
ように構成されているので、ガスメータ製造工場からの
出荷時とか、需要家への設置時などに、ガスメータに各
種定数などの設定を行なったり、ガスメータのマイコン
の内容を読み出したりするといわゆる設定作業を行なう
ときに、設定器のI/O部をガスメータに近接させて位
置決めして、光信号でやりとり出来るため、従来のよう
にリード線を切断したり、ワニ口クリップで接続したり
等する手間がはぶけ、ワニ口クリップの極性を間違える
ことによる作業の中断もなくなる。
Since the gas meter with a communication function of the present invention is constructed as described above, various constants and the like are set in the gas meter at the time of shipment from a gas meter manufacturing factory or at the time of installation at a customer. When reading the contents of the microcomputer of the gas meter or performing so-called setting work, the I / O section of the setting device can be positioned close to the gas meter and exchanged by optical signals. The trouble of cutting or connecting with the alligator clip is eliminated, and work is not interrupted due to the wrong polarity of the alligator clip.

【0045】又、設定器とガスメータとの通信を光結合
で非接触で行なうため、従来のようにリード線に電線を
接続する場合のようなノイズ等の侵入を避けることがで
き、設定作業が確実となり、ガスメータの品質が向上す
る。
Further, since the communication between the setting device and the gas meter is performed in a non-contact manner by optical coupling, it is possible to avoid intrusion of noise or the like as in the case where a wire is connected to a lead wire as in the conventional case, and the setting operation is not performed. As a result, the quality of the gas meter is improved.

【0046】また、第2の通信ラインへの切り換えに合
わせて、通信速度のクロック周波数を高い値に切り換え
るようにしたので、設定作業の通信速度が速くなり、こ
の面からも設定作業の短縮ができる。
Further, since the clock frequency of the communication speed is switched to a higher value in accordance with the switching to the second communication line, the communication speed of the setting work is increased, and the setting work can be shortened from this aspect as well. it can.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施例の概略ブロック図。FIG. 1 is a schematic block diagram of an embodiment of the present invention.

【図2】本発明の実施例のタイミングチャート。FIG. 2 is a timing chart of the embodiment of the present invention.

【図3】本発明の実施例のタイミングチャート。FIG. 3 is a timing chart of the embodiment of the present invention.

【図4】本発明の実施例のフローチャート。FIG. 4 is a flowchart of an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 通信機能付ガスメータ 2 マイコン、制御回路 3 しゃ断弁 4 テストスイッチ(リードスイッチ) 5 発光ダイオード 6 フォトトランジスタ 7 第2の通信ライン 8 切り換え回路 9 第1の通信ライン DESCRIPTION OF SYMBOLS 1 Gas meter with communication function 2 Microcomputer, control circuit 3 Shut-off valve 4 Test switch (lead switch) 5 Light emitting diode 6 Phototransistor 7 Second communication line 8 Switching circuit 9 First communication line

───────────────────────────────────────────────────── フロントページの続き (73)特許権者 000116633 愛知時計電機株式会社 愛知県名古屋市熱田区千年1丁目2番70 号 (72)発明者 温井 一光 神奈川県藤沢市みその台9ー10 (72)発明者 岡村 繁憲 大阪市中央区平野町四丁目1番2号 大 阪瓦斯株式会社内 (72)発明者 木村 幸雄 愛知県東海市新宝町507ー2 東邦瓦斯 株式会社 総合技術研究所内 (72)発明者 上遠野 富夫 愛知県名古屋市熱田区千年一丁目2番70 号 愛知時計電機株式会社内 (56)参考文献 特開 平1−163619(JP,A) (58)調査した分野(Int.Cl.7,DB名) G01F 1/00 - 9/02 ──────────────────────────────────────────────────続 き Continuing from the front page (73) Patent holder 000116633 Aichi Watch Electric Co., Ltd. 1-2-70, Millennial, Atsuta-ku, Nagoya-shi, Aichi (72) Inventor Ikko Itsui 9-10 Misonodai, Fujisawa-shi, Kanagawa (72) Inventor Shigenori Okamura 4-1-2, Hirano-cho, Chuo-ku, Osaka City Inside Osaka Gas Co., Ltd. (72) Inventor Yukio Kimura 507-1 Shinhocho-cho, Tokai City, Aichi Prefecture Toho Gas Co., Ltd. (72) Inventor Tomio Kamitono 2-1-270, Millennial, Atsuta-ku, Nagoya City, Aichi Prefecture Inside Aichi Watch Electric Co., Ltd. .Cl. 7 , DB name) G01F 1/00-9/02

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 内蔵のマイコン(2)でガス流量を監視
し、ガスの異常使用が発生するとしゃ断弁(3)を閉じ
てガスをしゃ断し、かつ外部からの磁気に感応するスイ
ッチ(4)を有するマイコンガスしゃ断装置と、外部と
信号のやりとりをする第1の通信ライン(9)とを備え
た通信機能付ガスメータにおいて、 メータの外方に向けて配設した発光ダイオード(5)と
フォトトランジスタ(6)に接続した第2の通信ライン
(7)と、 前記第1の通信ライン(9)と第2の通信ライン(7)
を切り換え接続する切り換え回路(8)と、 前記スイッチ(4)もしくはフォトトランジスタ(6)
の信号を判断して前記切り換え回路(8)を切り換える
制御回路(2)とを具備したことを特徴とする通信機能
付ガスメータ。
A built-in microcomputer (2) monitors a gas flow rate, and when an abnormal use of gas occurs, closes a shut-off valve (3) to shut off the gas, and a switch (4) responsive to external magnetism. A gas meter with a communication function provided with a microcomputer gas shut-off device having a microcomputer and a first communication line (9) for exchanging signals with the outside, and a light emitting diode (5) disposed outside the meter and a photo A second communication line (7) connected to the transistor (6); said first communication line (9) and a second communication line (7)
A switching circuit (8) for switching the connection, and the switch (4) or the phototransistor (6)
And a control circuit (2) for switching the switching circuit (8) by judging the above signal.
【請求項2】 前記切り換え回路(8)を第2の通信ラ
イン(7)側に切り換えるときに、通信速度を制御する
クロック周波数を高くするように構成したことを特徴と
する請求項1記載の通信機能付ガスメータ。
2. The apparatus according to claim 1, wherein when the switching circuit is switched to the second communication line, a clock frequency for controlling a communication speed is increased. Gas meter with communication function.
JP33187993A 1993-12-27 1993-12-27 Gas meter with communication function Expired - Lifetime JP3307495B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33187993A JP3307495B2 (en) 1993-12-27 1993-12-27 Gas meter with communication function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33187993A JP3307495B2 (en) 1993-12-27 1993-12-27 Gas meter with communication function

Publications (2)

Publication Number Publication Date
JPH07190831A JPH07190831A (en) 1995-07-28
JP3307495B2 true JP3307495B2 (en) 2002-07-24

Family

ID=18248653

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33187993A Expired - Lifetime JP3307495B2 (en) 1993-12-27 1993-12-27 Gas meter with communication function

Country Status (1)

Country Link
JP (1) JP3307495B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001202585A (en) * 2000-01-18 2001-07-27 Ricoh Elemex Corp Radio metering system
JP4413443B2 (en) * 2001-03-15 2010-02-10 株式会社東芝 Gas meter, reading device and data communication device
JP2008269558A (en) * 2007-03-26 2008-11-06 Yazaki Corp Alarm
JP5630075B2 (en) * 2010-06-03 2014-11-26 パナソニック株式会社 Gas shut-off device

Also Published As

Publication number Publication date
JPH07190831A (en) 1995-07-28

Similar Documents

Publication Publication Date Title
JP3307495B2 (en) Gas meter with communication function
US6075688A (en) Motor operator with ac power circuit continuity sensor
CN101146145B (en) Automatic testing system and method for power on and power off of transmission device
KR980010928A (en) Automatic remote meter reading system
JP2738991B2 (en) Communication device
JPH03181710A (en) Gas alarm cutoff system
JPS58136154A (en) Power failure information transmitting method
CN109217920A (en) A kind of point-to-point optical fiber online monitoring system and on-line monitoring method
CN111260377A (en) After-sale service system and use method thereof
JP2917199B2 (en) Communication terminal device
JPS62528B2 (en)
JP4050849B2 (en) Automatic meter reading system
KR920007145B1 (en) Telemetering system
JP2829482B2 (en) Communication terminal device
JP3110979B2 (en) Recording method and recording apparatus for wireless gas leak alarm system
JP3074826B2 (en) Control device
JPS62116826A (en) Gal leakage alarming device
TW202311959A (en) Intelligent test configuration and download system and method thereof
JP2959356B2 (en) Communication terminal device
JP4099851B2 (en) Data terminal communication system
JPH06266990A (en) Disaster prevention monitor
JP3670105B2 (en) Centralized transmission board for automatic meter reading
JP2919506B2 (en) Network controller
JPH0971373A (en) Remote monitor of elevator
JPH06276302A (en) Network controller

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080517

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090517

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090517

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100517

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110517

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110517

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120517

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130517

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130517

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20140517

Year of fee payment: 12

EXPY Cancellation because of completion of term