JP3095321B2 - Terminal network controller - Google Patents

Terminal network controller

Info

Publication number
JP3095321B2
JP3095321B2 JP06045846A JP4584694A JP3095321B2 JP 3095321 B2 JP3095321 B2 JP 3095321B2 JP 06045846 A JP06045846 A JP 06045846A JP 4584694 A JP4584694 A JP 4584694A JP 3095321 B2 JP3095321 B2 JP 3095321B2
Authority
JP
Japan
Prior art keywords
terminal
unit
resistor
security device
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP06045846A
Other languages
Japanese (ja)
Other versions
JPH07254938A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP06045846A priority Critical patent/JP3095321B2/en
Publication of JPH07254938A publication Critical patent/JPH07254938A/en
Application granted granted Critical
Publication of JP3095321B2 publication Critical patent/JP3095321B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Alarm Systems (AREA)
  • Telephonic Communication Services (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電話回線を用いてガス
や水道等のメータ検針あるいはセンサや救急ボタン等の
セキュリティ機器からのデータの伝送を行うデータ通信
システムに利用される端末網制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a terminal network control device used in a data communication system for transmitting data from a security meter such as a meter or a sensor or an emergency button using a telephone line. About.

【0002】[0002]

【従来の技術】現在、家庭等におけるガスや水道等のメ
ータ検針情報、あるいは救急や異常事態発生等のセキュ
リティ情報を電話回線を用いて通信するデータ通信シス
テムが普及している。これは、使用者側に設けられた端
末網制御装置に、メータやセキュリティ機器等の端末機
器が接続されており、この端末機器からの信号に基づい
て端末網制御装置の主制御部によってセンター側装置と
の間でデータ通信を行うものである。
2. Description of the Related Art At present, a data communication system for communicating meter reading information such as gas and water at home or security information such as emergency or abnormal situation using a telephone line has become widespread. This is because a terminal device such as a meter or a security device is connected to a terminal network control device provided on the user side, and the main control unit of the terminal network control device performs control on the center side based on a signal from the terminal device. It performs data communication with the device.

【0003】端末機器は、接続線によって端末網制御装
置の接続端子に接続されており、接続端子からインター
フェイス(I/F)部を介して主制御部に接続されてい
る。このI/F部は、それぞれの端末機器に対応したメ
ータ用I/F部と、セキュリティ機器用I/F部とから
構成されている。
A terminal device is connected to a connection terminal of a terminal network control device by a connection line, and is connected from the connection terminal to a main control unit via an interface (I / F) unit. The I / F section includes a meter I / F section corresponding to each terminal device and a security device I / F section.

【0004】そして、メータ用I/F部としては、郵政
省標準仕様のもの、あるいはフォトカプラによるものが
代表的であり、前者を図6に示す。このメータ用I/F
部1は、図6の如く、PNPトランジスタTr1、NP
NトランジスタTr2、NPNトランジスタTr3、抵
抗器R61〜R69から構成されている。そして、トラ
ンジスタTr1は、そのコレクタ端子が抵抗器R61を
介してメータの接続線に接続される接続端子Q1に接続
され、エミッタ端子が電源Vccに接続されている。ト
ランジスタTr2は、そのエミッタ端子がメータの接続
線が接続される接続端子Q2に接続されるとともにグラ
ンドに接地され、コレクタ端子が抵抗器R62を介して
接続端子Q1と抵抗器R61との中間点に接続されてい
る。また、トランジスタTr1およびトランジスタTr
2の各ベース端子は、抵抗器R66,R67を介して主
制御部のポートP10およびポートP11にそれぞれ接
続されている。一方、トランジスタTr3は、そのベー
ス端子が抵抗器R61と接続端子Q1との中間点に接続
され、コレクタ端子が主制御部のポートP12に接続さ
れ、エミッタ端子がグランド接地され、コレクタ端子お
よび主制御部のポートP12の接続点と電源Vccとの
間に抵抗器R65が接続されている。さらに、各トラン
ジスタTr1,Tr2,Tr3のベースエミッタ間に
は、それぞれ抵抗器R68,R69,R64が接続され
ている。
A typical I / F unit for meters is a standard I / F unit of the Ministry of Posts and Telecommunications, or a photocoupler unit. The former is shown in FIG. I / F for this meter
The unit 1 includes PNP transistors Tr1 and NP as shown in FIG.
It comprises an N transistor Tr2, an NPN transistor Tr3, and resistors R61 to R69. The transistor Tr1 has a collector terminal connected to a connection terminal Q1 connected to a connection line of a meter via a resistor R61, and an emitter terminal connected to a power supply Vcc. The transistor Tr2 has its emitter terminal connected to the connection terminal Q2 to which the connection line of the meter is connected and is grounded to ground, and its collector terminal is connected to the intermediate point between the connection terminal Q1 and the resistor R61 via the resistor R62. It is connected. Further, the transistor Tr1 and the transistor Tr
2 are connected to the ports P10 and P11 of the main control unit via resistors R66 and R67, respectively. On the other hand, the transistor Tr3 has a base terminal connected to an intermediate point between the resistor R61 and the connection terminal Q1, a collector terminal connected to the port P12 of the main control unit, an emitter terminal grounded, a collector terminal and the main control terminal. The resistor R65 is connected between the connection point of the port P12 of the unit and the power supply Vcc. Further, resistors R68, R69, and R64 are connected between the base and the emitter of each of the transistors Tr1, Tr2, and Tr3, respectively.

【0005】このメータ用I/F部1において、I/F
部1が正常に作動するか否かをセルフチェックする場
合、まずトランジスタTr1をオンさせると、メータ側
がハイインピーダンスになっているため、主制御部のポ
ートP12にはロー(L)レベルの信号が入力される。
さらに、トランジスタTr2をオンさせると、ポートP
12にはハイ(H)レベルの信号が入力される。これに
よってI/F部1が正常に動作していると判断される。
In the meter I / F section 1, the I / F
When self-checking whether the unit 1 operates normally or not, first, when the transistor Tr1 is turned on, a low (L) level signal is output to the port P12 of the main control unit because the meter side has a high impedance. Is entered.
Further, when the transistor Tr2 is turned on, the port P
12, a high (H) level signal is input. As a result, it is determined that the I / F unit 1 is operating normally.

【0006】また、セキュリティ機器用I/F部として
は、図7に示すものが代表的であり、トランジスタTr
4、ダイオードD1、抵抗器R71,R72から構成さ
れている。トランジスタTr4は、そのエミッタ端子が
セキュリティ機器の接続線に接続される接続端子U1に
接続され、コレクタ端子が主制御部のポートP13に接
続され、ベース端子が抵抗器R72を介してセキュリテ
ィ機器の接続線に接続される接続端子U2に接続される
とともにグランドに接地されている。そして、トランジ
スタTr4のコレクタ端子と主制御部のポートP13と
の中間点には抵抗器R71を介して電源Vccが接続さ
れ、トランジスタTr4のベース端子と抵抗器72との
間から分岐して主制御部のポートP14に接続され、ト
ランジスタTr4のベースエミッタ間にはダイオードD
1が接続されている。
FIG. 7 shows a typical I / F section for a security device.
4. It is composed of a diode D1 and resistors R71 and R72. The transistor Tr4 has an emitter terminal connected to the connection terminal U1 connected to the connection line of the security device, a collector terminal connected to the port P13 of the main control unit, and a base terminal connected to the security device via the resistor R72. It is connected to the connection terminal U2 connected to the line and is grounded to the ground. A power supply Vcc is connected via a resistor R71 to an intermediate point between the collector terminal of the transistor Tr4 and the port P13 of the main control unit, and branches from the base terminal of the transistor Tr4 and the resistor 72 to perform main control. Is connected to the port P14, and a diode D is connected between the base and the emitter of the transistor Tr4.
1 is connected.

【0007】このセキュリティ機器用I/F部2をセル
フチェックする場合には、トランジスタTr4をオンオ
フさせる。このとき、セキュリティ機器がオンしていれ
ば、接続端子U1がLレベルになるため、主制御部のポ
ートP13にはLおよびHレベルの信号が入力され、I
/F部2が正常に動作していると判断される。
When self-checking the security device I / F 2, the transistor Tr4 is turned on and off. At this time, if the security device is turned on, the connection terminal U1 goes to L level, so that L and H level signals are input to the port P13 of the main control unit,
/ F unit 2 is determined to be operating normally.

【0008】また、他のセキュリティ機器用I/F部と
して、図7に示すトランジスタTr4が接続されていな
いものがある。これは、セキュリティ機器の状態が直接
主制御部のポートP13に入力されており、セキュリテ
ィ機器のオンオフ状態を検知する場合、ハードの割り込
みによりソフト的に処理を行っていた。すなわち、ポー
トP13がLレベルからHレベルに立ち上がった時点
で、セキュリティ機器がオフであると判断し、ポートP
13がHレベルからLレベルに立ち下がった時点で、オ
ンであると判断する。
As another I / F section for security equipment, there is an I / F section to which the transistor Tr4 shown in FIG. 7 is not connected. This is because the state of the security device is directly input to the port P13 of the main control unit, and when the on / off state of the security device is detected, processing is performed in a software manner by a hardware interrupt. That is, when the port P13 rises from the L level to the H level, it is determined that the security device is off, and the port P13 is turned off.
It is determined that the switch 13 is on when the signal 13 falls from the H level to the L level.

【0009】ところが、この方式では、セキュリティ機
器がオンしていれば、電源Vccからの電流が抵抗器R
71、接続端子U1、セキュリティ機器、接続端子U2
を経てグランドという順に常に流れるため、電池の消耗
が早く不便であった。そのため、図7に示すようにトラ
ンジスタTr4を設けて、トランジスタTr4を間欠的
に動作させることによって消費電流を少なくする方法が
採られ、今日に至っている。
However, in this system, if the security device is turned on, the current from the power supply Vcc is applied to the resistor R
71, connection terminal U1, security device, connection terminal U2
, The current always flows in the order of ground, so that the battery is quickly consumed and inconvenient. Therefore, as shown in FIG. 7, a method has been adopted in which the transistor Tr4 is provided and the current consumption is reduced by intermittently operating the transistor Tr4.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、従来の
セキュリティ機器用I/F部2では、セルフチェックを
行う場合に、セキュリティ機器がオフであれば、接続端
子U1がハイインピーダンスになるため、トランジスタ
Tr4をオンあるいはオフさせても、主制御部のポート
P13にはLあるいはHレベルの信号が入力されないた
め、セルフチェックができなかった。しかも、セキュリ
ティ機器がオフしているのか、セキュリティ機器までの
接続線が断線しているのかが、判別できないといった問
題があった。
However, in the conventional security device I / F unit 2, when the self-check is performed and the security device is turned off, the connection terminal U1 becomes high impedance. Is turned on or off, no L or H level signal is input to the port P13 of the main control unit, so that the self-check cannot be performed. In addition, there is a problem that it cannot be determined whether the security device is off or the connection line to the security device is broken.

【0011】そこで、本出願人は、救急ボタンに並列に
ダイオード(LED)を接続し、中央制御装置に設けら
れた検知回路によって救急ボタンと中央制御装置との接
続状態を検知する方法を実開平4−82794号公報に
開示している。しかし、この方法では、接続線の断線を
検知することはできるが、上記のセキュリティ機器用I
/F部2と同様に、救急ボタンのオンオフ状態によって
I/F部のセルフチェックができなかった。しかも、並
列に接続されたダイオードに順方向、および逆方向に電
流を流す回路が必要で、I/F部の構成およびそのコン
トロールが複雑なため、コストアップおよび装置の大型
化につながっていた。
Therefore, the present applicant has disclosed a method of connecting a diode (LED) in parallel to the emergency button and detecting a connection state between the emergency button and the central control device by a detection circuit provided in the central control device. No. 4,82,794. However, in this method, although the disconnection of the connection line can be detected, the security device I
Similarly to the / F unit 2, the self-check of the I / F unit could not be performed due to the ON / OFF state of the emergency button. In addition, a circuit for flowing a current in the forward direction and the reverse direction in the diode connected in parallel is required, and the configuration and control of the I / F section are complicated, leading to an increase in cost and an increase in the size of the device.

【0012】また、図7に示すセキュリティ機器用I/
F部2において、トランジスタTr4を間欠的に作動さ
せて、セキュリティ機器のオンオフ状態を検知する場
合、セキュリティ機器がオンのときは、トランジスタT
r4の動作に関係なく主制御部のポートP13にLレベ
ルの信号が入力されるので、オン状態であると判断でき
る。しかし、セキュリティ機器がオフのときは、トラン
ジスタTr4の作動によってポートP13にLおよびH
レベルの信号が間欠的に入力されるため、ハードでの検
出である割り込みが利用できず、ソフト的に処理するの
が困難であった。
The security device I / O shown in FIG.
When the on / off state of the security device is detected by intermittently operating the transistor Tr4 in the F section 2, when the security device is on, the transistor T4 is turned on.
An L-level signal is input to the port P13 of the main control unit irrespective of the operation of r4, so that it can be determined that the switch is on. However, when the security device is off, L and H are applied to the port P13 by the operation of the transistor Tr4.
Since the signal of the level is intermittently input, an interrupt which is detected by hardware cannot be used, and it is difficult to process the software.

【0013】さらに、メータ用およびセキュリティ機器
用の各I/F部1,2は、それぞれ専用の回路構成とな
っており、主制御部への入力論理が逆で、しかもインピ
ーダンスが合わないため、両I/F部1,2を共用する
ことができなかった。
Further, each of the I / F sections 1 and 2 for the meter and the security device has a dedicated circuit configuration, and the input logic to the main control section is reversed and the impedance does not match. Both I / F sections 1 and 2 could not be shared.

【0014】本発明は、上記に鑑み、ひとつのI/F部
で端末機器との接続状態およびI/F部の内部状態等の
チェックが行える端末網制御装置の提供を目的とする。
SUMMARY OF THE INVENTION In view of the above, it is an object of the present invention to provide a terminal network control device capable of checking a connection state with a terminal device and an internal state of the I / F section by one I / F section.

【0015】[0015]

【課題を解決するための手段】本発明による課題解決手
段は、図1の如く、メータやセキュリティ機器の端末機
器15,16が接続され、電話回線13を利用して前記
端末機器15,16からの信号に基づいてI/F部23
を介して主制御部18によりセンター側装置11との間
でデータ通信を行うものであって、前記端末機器16と
I/F部23との接続状態を検知する接続状態検知手段
25と、I/F部23の内部状態を検知する自己状態検
知手段26とが有せしめられたものである。そして、接
続状態検知手段25は、端末機器16に設けられた抵抗
器Rsと異なる値の抵抗器R81,82を備え、該抵抗
器R81,82と前記端末機器16の抵抗器Rsとの分
圧により前記端末機器16とI/F部23との接続線2
4が断線か否かを検知する断線検知回路27から構成さ
れている。また、自己状態検知手段26は、I/F部2
3と端末機器16とを切り離す切換スイッチ31と、前
記I/F部23が正常に動作するか否かを検知する動作
検知回路33とから構成されている。
As shown in FIG. 1, the terminal solving means according to the present invention is connected to terminal equipments 15 and 16 of meters and security equipment, and is connected to the terminal equipments 15 and 16 using a telephone line 13. I / F 23 based on the signal of
And a connection state detecting means 25 for detecting a connection state between the terminal device 16 and the I / F unit 23 by the main control unit 18 via the main control unit 18 via the The self-state detecting means 26 for detecting the internal state of the / F section 23 is provided. The connection state detecting means 25 includes resistors R81 and R82 having values different from those of the resistor Rs provided in the terminal device 16, and a voltage division between the resistors R81 and 82 and the resistor Rs of the terminal device 16. The connection line 2 between the terminal device 16 and the I / F unit 23
4 comprises a disconnection detecting circuit 27 for detecting whether or not a disconnection occurs. In addition, the self-state detecting means 26 includes the I / F unit 2
A switch 31 for separating the terminal 3 from the terminal device 16 and an operation detection circuit 33 for detecting whether or not the I / F unit 23 operates normally.

【0016】また、主制御部18への入力論理およびイ
ンピーダンスを合わせることにより、メータおよびセキ
ュリティ機器用のI/F部22,23を共用できる。
By matching the input logic and impedance to the main control unit 18, the I / F units 22 and 23 for the meter and the security device can be shared.

【0017】さらに、端末機器16のオンオフ状態を検
知するために、I/F部23に間欠的な電源供給を行
い、電源が供給されたときに端末機器16のオンオフ状
態を検知するオンオフ検知回路36が設けられている。
Further, in order to detect the on / off state of the terminal device 16, an intermittent power supply is supplied to the I / F unit 23, and an on / off detection circuit for detecting the on / off state of the terminal device 16 when the power is supplied. 36 are provided.

【0018】[0018]

【作用】上記課題解決手段において、端末機器16とI
/F部23との接続状態を検知するとき、電源Vccか
らの電流が抵抗器R81,82を介して端末機器16へ
供給される。このとき、端末機器16がオフの場合、断
線検知回路27の抵抗器R81,82と端末機器16の
抵抗器Rsとの分圧により、主制御部18にLレベルの
信号が入力されると接続線24は断線していないと判断
され、Hレベルであれば断線していると判断される。一
方、端末機器16がオンの場合、主制御部18にHレベ
ルの信号が入力されると断線なし、Lレベルの信号が入
力されると断線していると判断される。そして、断線の
場合は、その情報を主制御部18によりセンター側装置
11へ知らせる。
In the above means for solving the problems, the terminal device 16 and the I
When detecting the connection state with the / F section 23, the current from the power supply Vcc is supplied to the terminal device 16 via the resistors R81 and R82. At this time, when the terminal device 16 is off, connection is made when an L-level signal is input to the main control unit 18 due to the voltage division between the resistors R81 and R82 of the disconnection detection circuit 27 and the resistor Rs of the terminal device 16. The line 24 is determined not to be disconnected, and if it is at the H level, it is determined to be disconnected. On the other hand, when the terminal device 16 is on, it is determined that there is no disconnection when an H-level signal is input to the main control unit 18 and that disconnection is performed when an L-level signal is input to the main control unit 18. In the case of a disconnection, the information is notified to the center-side device 11 by the main control unit 18.

【0019】次に、I/F部23のセルフチェックをす
る場合は、まず切換スイッチ31をオフにして端末機器
16とI/F部23とを切り離す。そして、電流が動作
検知回路33に流れると、端末機器16のオンオフ状態
に影響されることなく、主制御部18にLレベルおよび
Hレベルの信号が入力される。これによって、I/F部
23は正常であると判断される。
Next, when performing a self-check of the I / F section 23, first, the changeover switch 31 is turned off to disconnect the terminal device 16 from the I / F section 23. Then, when the current flows through the operation detection circuit 33, the L-level and H-level signals are input to the main control unit 18 without being affected by the ON / OFF state of the terminal device 16. Thus, it is determined that the I / F unit 23 is normal.

【0020】また、メータおよびセキュリティ機器用の
I/F部23を共用することにより、ひとつのI/F部
でメータおよびセキュリティ機器の両方の通信が可能に
なり、部品削減ができる。
Further, by sharing the I / F unit 23 for the meter and the security device, communication of both the meter and the security device becomes possible with one I / F unit, and the number of parts can be reduced.

【0021】さらに、セキュリティ機器16のオンオフ
状態を検知する場合は、I/F部23に間欠的な電源供
給を行う。すると、オンオフ検知回路36によってハー
ドの割り込みが発生し、定常的に電源供給したときと同
様の処理が行われて端末機器16のオンオフ状態を検知
することができる。
Further, when the on / off state of the security device 16 is detected, intermittent power supply to the I / F unit 23 is performed. Then, a hardware interrupt is generated by the on / off detection circuit 36, and the same processing as when power is constantly supplied is performed, so that the on / off state of the terminal device 16 can be detected.

【0022】[0022]

【実施例】本実施例の端末網制御装置を備えたデータ通
信システムを図2に示す。図2において、11はセンタ
ー側装置、12は交換局、13は電話回線、14は端末
網制御装置、15はメータ、16はセキュリティ機器、
17は電話機である。
FIG. 2 shows a data communication system provided with a terminal network control device according to this embodiment. In FIG. 2, 11 is a center device, 12 is an exchange, 13 is a telephone line, 14 is a terminal network control device, 15 is a meter, 16 is security equipment,
17 is a telephone.

【0023】前記端末網制御装置14は、図3の如く、
ROM,RAMおよびCPU等を有するマイクロコンピ
ュータからなる主制御部18と、センター側装置11と
データを送受信するモデム部19と、通信時にデータを
送信する局線部20と、各部に電源を供給する電源部2
1と、メータ15から主制御部18へ信号を送信するメ
ータ用インターフェイス(I/F)部22と、セキュリ
ティ機器16から主制御部18へ信号を送信するセキュ
リティ機器用インターフェイス(I/F)部23とを備
えている。なお、Vはメータ15からの信号が入力され
る接続端子、Sはセキュリティ機器16からの信号が入
力される接続端子であり、それぞれメータ用I/F部2
2およびセキュリティ機器用I/F部23に接続されて
いる。そして、電話回線13には、回線端子13aを介
して局線部20およびモデム部19が接続され、主制御
部18には、モデム部19、電源部21、メータ用I/
F部22およびセキュリティ機器用I/F部23が接続
され、電話機17は電話端子17aを介して局線部20
に接続されている。
The terminal network control device 14 is, as shown in FIG.
A main control unit 18 including a microcomputer having a ROM, a RAM, a CPU, and the like, a modem unit 19 for transmitting and receiving data to and from the center-side device 11, a local line unit 20 for transmitting data during communication, and power supply to each unit. Power supply unit 2
1, a meter interface (I / F) unit 22 for transmitting a signal from the meter 15 to the main control unit 18, and a security device interface (I / F) unit for transmitting a signal from the security device 16 to the main control unit 18. 23. V is a connection terminal to which a signal from the meter 15 is input, and S is a connection terminal to which a signal from the security device 16 is input.
2 and the security device I / F unit 23. The telephone line 13 is connected to a local line unit 20 and a modem unit 19 via a line terminal 13a, and the main control unit 18 is connected to a modem unit 19, a power supply unit 21, and a meter I / O.
The F unit 22 and the security device I / F unit 23 are connected, and the telephone set 17 is connected to the local line unit 20 via the telephone terminal 17a.
It is connected to the.

【0024】そして、端末網制御装置14では、ガス、
水道等のメータ、あるいはセキュリティ機器からの信号
をメータ用I/F部22およびセキュリティ機器用I/
F部23を介して主制御部18で受信し、その信号に基
づいてセンター側装置11との間でデータ通信を行う。
なお、メータ用I/F部22は、例えば図6に示す従来
の郵政省標準仕様の回路と同じとされ、ガス、水道等の
メータからの検針情報を主制御部18に送信するもので
ある。
In the terminal network control device 14, gas,
A signal from a meter such as water supply or a security device is sent to the meter I / F section 22 and the security device I / F.
The data is received by the main control unit 18 via the F unit 23 and data communication is performed with the center apparatus 11 based on the signal.
The meter I / F unit 22 is, for example, the same as the conventional circuit of the Ministry of Posts and Telecommunications shown in FIG. 6 and transmits meter reading information from meters such as gas and water to the main control unit 18. .

【0025】前記セキュリティ機器16は、図4の如
く、スイッチ(図示せず)が内装された救急ボタンとさ
れており、接続線24を介して端末網制御装置14の接
続端子S1,S2に接続されている。これは使用者がセ
キュリティ機器16を作動させることにより、使用者側
に救急や異常事態が発生したことをセンター側に知らせ
るものである。すなわちスイッチがオンすれば、オン信
号がセキュリティ機器用I/F部23を介して主制御部
18に入力され、主制御部18が異常事態の発生である
と判断すると、その情報が主制御部18からセンター側
装置11に通信される。また、セキュリティ機器16に
は、高抵抗値(100kΩ)の抵抗器Rsが並列に接続
されている。なお、W1,W2はセキュリティ機器16
と接続線24との接続端子である。
As shown in FIG. 4, the security device 16 is a rescue button having a built-in switch (not shown), and is connected to connection terminals S1 and S2 of the terminal network control device 14 via a connection line 24. Have been. This is to notify the center that the emergency or abnormal situation has occurred to the user by activating the security device 16 by the user. That is, when the switch is turned on, an ON signal is input to the main control unit 18 via the security device I / F unit 23, and when the main control unit 18 determines that an abnormal situation has occurred, the information is transmitted to the main control unit 18. Communication is made from 18 to the center-side device 11. Further, a resistor Rs having a high resistance value (100 kΩ) is connected to the security device 16 in parallel. W1 and W2 are security devices 16
And a connection terminal for connection line 24.

【0026】前記セキュリティ機器用I/F部23は、
上記通信を正確、かつ確実に行うために、セキュリティ
機器16とI/F部23との接続状態を検知する接続状
態検知手段25と、I/F部23の内部状態を検知する
自己状態検知手段26とを有している。
The security device I / F 23 includes:
In order to perform the communication accurately and reliably, a connection state detecting unit 25 for detecting a connection state between the security device 16 and the I / F unit 23, and a self state detecting unit for detecting an internal state of the I / F unit 23 26.

【0027】前記接続状態検知手段25は、セキュリテ
ィ機器16に設けられた抵抗器Rsより小さい値の抵抗
器R82および抵抗器R82の約2倍の値の抵抗器R8
1を備えた断線検知回路27から構成されている。これ
は各抵抗器R81,R82とセキュリティ機器側の抵抗
器Rsとの分圧によって、セキュリティ機器16とI/
F部23との接続線24が断線しているか否かを検知す
るものである。
The connection state detecting means 25 includes a resistor R82 provided in the security device 16 and having a value smaller than the resistor Rs and a resistor R8 having a value approximately twice as large as the resistor R82.
1 is provided. This is because the voltage between the resistors R81 and R82 and the resistor Rs on the security device side is divided by the security device 16 and the I / O.
This is for detecting whether or not the connection line 24 to the F section 23 is broken.

【0028】前記断線検知回路27は、図1の如く、P
NPトランジスタTr6およびPNPトランジスタTr
5を備えており、トランジスタTr6のコレクタ端子が
抵抗器R82を介して接続端子S1に接続され、エミッ
タ端子が電源Vccに接続されている。トランジスタT
r5は、そのコレクタ端子が抵抗器R81を介して抵抗
器R82と接続端子S1との中間点に連結線28を介し
て接続され、エミッタ端子がトランジスタTr6のエミ
ッタ端子と電源Vccとを結ぶ電源線29に接続されて
いる。そして、トランジスタTr6およびトランジスタ
Tr5のベース端子は、抵抗器R87,R88を介して
主制御部18のポートP1およびポートP2に接続さ
れ、各トランジスタTr5,Tr6のベースエミッタ間
にはそれぞれ抵抗器R89,R90が接続されている。
また、抵抗器R81と連結線28との間には信号線30
が接続されており、信号線30の他端は主制御部18の
ポートP3に接続されている。なお、連結線28と接続
端子S1との間には後述する切換スイッチ31が介装さ
れており、接続端子S2はアース線32を介してグラン
ドに接地されている。このトランジスタTr6およびト
ランジスタTr5がオンオフすることにより、主制御部
18のポートP3にLレベルおよびHレベルの信号が入
力され、その信号に基づいて主制御部18により接続線
24が断線か否かの判断を行う。
The disconnection detecting circuit 27, as shown in FIG.
NP transistor Tr6 and PNP transistor Tr
5, the collector terminal of the transistor Tr6 is connected to the connection terminal S1 via the resistor R82, and the emitter terminal is connected to the power supply Vcc. Transistor T
A power supply line r5 has a collector terminal connected to the intermediate point between the resistor R82 and the connection terminal S1 via the resistor R81 via the connection line 28, and an emitter terminal connected between the emitter terminal of the transistor Tr6 and the power supply Vcc. 29. The base terminals of the transistors Tr6 and Tr5 are connected to the ports P1 and P2 of the main control unit 18 via the resistors R87 and R88, respectively. R90 is connected.
A signal line 30 is provided between the resistor R81 and the connection line 28.
Is connected, and the other end of the signal line 30 is connected to the port P3 of the main control unit 18. A changeover switch 31 described later is interposed between the connection line 28 and the connection terminal S1, and the connection terminal S2 is grounded via a ground wire 32. When the transistor Tr6 and the transistor Tr5 are turned on and off, an L-level signal and an H-level signal are input to the port P3 of the main control unit 18, and the main control unit 18 determines whether the connection line 24 is disconnected based on the signal. Make a decision.

【0029】前記自己状態検知手段26は、セキュリテ
ィ機器16とI/F部23とを切り離す切換スイッチ3
1と、I/F部23が正常に動作するか否かを検知する
動作検知回路33とから構成されている。これはセキュ
リティ機器16からの信号を主制御部18へ正確に送信
するために、I/F部23のセルフチェックを行うもの
である。
The self-state detecting means 26 is provided with a changeover switch 3 for separating the security device 16 from the I / F unit 23.
1 and an operation detection circuit 33 for detecting whether the I / F unit 23 operates normally. This is to perform a self-check of the I / F unit 23 in order to accurately transmit a signal from the security device 16 to the main control unit 18.

【0030】前記切換スイッチ31は電磁リレーとされ
ており、この電磁リレー31は、I/F部23のセルフ
チェックを行うとき、セキュリティ機器16のオンオフ
状態の影響を受けないようにするために、連結線28と
接続端子S1との間を切り離すものである。
The change-over switch 31 is an electromagnetic relay. The electromagnetic relay 31 is used to perform the self-check of the I / F unit 23 so as not to be affected by the on / off state of the security device 16. This disconnects the connection line 28 from the connection terminal S1.

【0031】前記動作検知回路33は、NPNトランジ
スタTr7を備えており、トランジスタTr7のコレク
タ端子が抵抗器R83を介して連結線28に接続され、
エミッタ端子がグランドに接地されるアース線32に接
続され、ベース端子が抵抗器R91を介して主制御部1
8のポートP4に接続され、ベースエミッタ間に抵抗器
R92が接続されている。そして、連結線28には後述
する切換スイッチ35、抵抗器R84およびトランジス
タTr8のベース端子が直列に接続されており、トラン
ジスタTr8のコレクタ端子には、主制御部18のポー
トP5に接続される信号線34が接続されている。この
トランジスタTr7、トランジスタTr6およびトラン
ジスタTr5がオンオフすることにより、主制御部18
のポートP3およびポートP5にLレベルおよびHレベ
ルの信号が入力され、その信号に基づいて主制御部18
によりI/F部23が正常に動作するか否かの判断を行
う。
The operation detection circuit 33 includes an NPN transistor Tr7, and the collector terminal of the transistor Tr7 is connected to the connection line 28 via a resistor R83.
The emitter terminal is connected to the ground line 32 grounded to the ground, and the base terminal is connected to the main controller 1 via a resistor R91.
8 is connected to the port P4, and a resistor R92 is connected between the base and the emitter. The connection line 28 is connected in series with a changeover switch 35, a resistor R84 and a base terminal of the transistor Tr8, and a collector terminal of the transistor Tr8 has a signal connected to the port P5 of the main control unit 18 connected thereto. Line 34 is connected. When the transistors Tr7, Tr6, and Tr5 are turned on and off, the main control unit 18
L-level and H-level signals are input to ports P3 and P5 of the main control unit 18 based on the signals.
To determine whether the I / F unit 23 operates normally.

【0032】また、セキュリティ機器用I/F部23に
は、I/F部23に間欠的な電源供給を行い、電源が供
給されたときにセキュリティ機器16のオンオフ状態を
検知するオンオフ検知回路36が設けられている。該オ
ンオフ検知回路36は、トランジスタTr9を備え、ト
ランジスタTr9のエミッタ端子がアース線32に接続
され、コレクタ端子が主制御部18のポートP5に接続
される信号線34に接続され、ベース端子が抵抗器R9
3を介して主制御部18のポートP6に接続されてい
る。また、トランジスタTr9のベースエミッタ間には
抵抗器R94が接続されている。これはI/F部23に
間欠的な電源供給を行ってトランジスタTr6をオンオ
フさせ、そのときにトランジスタTr9をオンして主制
御部18のポートP5をLレベルにしてハードの割り込
みを許可するもので、主制御部18のポートP5のLレ
ベルからHレベルへの立ち上がりを検知することにより
ソフト的にオンオフ状態の判断を行う。
The security device I / F unit 23 supplies an intermittent power supply to the I / F unit 23 and detects an on / off state of the security device 16 when the power is supplied. Is provided. The on / off detection circuit 36 includes a transistor Tr9. The emitter terminal of the transistor Tr9 is connected to the ground line 32, the collector terminal is connected to the signal line 34 connected to the port P5 of the main control unit 18, and the base terminal is connected to a resistor. Table R9
3 is connected to the port P6 of the main control unit 18. A resistor R94 is connected between the base and the emitter of the transistor Tr9. This is to intermittently supply power to the I / F unit 23 to turn on / off the transistor Tr6, and then turn on the transistor Tr9 to set the port P5 of the main control unit 18 to L level to permit hardware interrupts. Then, the on / off state is determined softly by detecting the rise of the port P5 of the main controller 18 from the L level to the H level.

【0033】さらに、セキュリティ機器用I/F部23
には、メータ用I/F部22との整合をとるためのNP
NトランジスタTr8、およびトランジスタTr7と抵
抗器R83が設けられている。トランジスタTr8は、
そのベース端子が抵抗器R84および切換スイッチ35
を介して連結線28に接続され、コレクタ端子が主制御
部18のポートP5に接続され、エミッタ端子がアース
線32に接続されている。また、トランジスタTr8の
コレクタ端子と主制御部18のポートP5との中間点お
よび電源線29との間に抵抗器R86が介装され、トラ
ンジスタTr8のベースエミッタ間には抵抗器R85が
接続されている。これは抵抗器R83をメータ用I/F
部22と共用できるような値にし、トランジスタTr
8、抵抗器R84、抵抗器R85および抵抗器R86に
よって、主制御部18への入力論理を逆にするとともに
インピーダンスを合わせて、メータ用I/F部22およ
びセキュリティ機器用I/F部23を共用するものであ
る。すなわち、このセキュリティ機器用I/F部23と
図6に示すメータ用I/F部22と比べると、トランジ
スタTr1とトランジスタTr6、トランジスタTr2
とトランジスタTr7、トランジスタTr3とトランジ
スタTr8、抵抗器R61と抵抗器R82、抵抗器R6
2と抵抗器R83、抵抗器R63と抵抗器R84、抵抗
器R64と抵抗器R85、抵抗器R65と抵抗器R86
がそれぞれ対応しているので、各部をコントロールする
ことによってセキュリティ機器用I/F部23をメータ
用I/F部22として利用できる。なおこの場合、メー
タ15は、接続線を介してアース線32と、接続端子S
1と電磁リレー31との間に接続される。したがって、
メータ用I/F部22が不要になり、部品数削減による
コストダウンおよび装置の小型化実現できる。なお、前
記切換スイッチ35は、電磁リレーとされており、セキ
ュリティ機器とI/F部23との接続状態の検知を行う
とき、トランジスタTr8、抵抗器R84および抵抗器
R85のインピーダンスの影響をなくすために、断線検
知回路27とトランジスタTr8とを切り離すものであ
る。
Further, the security device I / F unit 23
NP for matching with the meter I / F unit 22
An N transistor Tr8, a transistor Tr7 and a resistor R83 are provided. The transistor Tr8 is
Its base terminal is connected to a resistor R84 and a changeover switch 35.
, The collector terminal is connected to the port P5 of the main control unit 18, and the emitter terminal is connected to the ground line 32. A resistor R86 is interposed between the power supply line 29 and the midpoint between the collector terminal of the transistor Tr8 and the port P5 of the main control unit 18, and a resistor R85 is connected between the base and the emitter of the transistor Tr8. I have. This is because the resistor R83 is connected to the meter I / F.
The transistor Tr is set to a value that can be shared with the unit 22.
8. By using the resistor R84, the resistor R85, and the resistor R86, the input logic to the main control unit 18 is reversed and the impedance is matched, so that the meter I / F unit 22 and the security device I / F unit 23 are connected. They are shared. That is, as compared with the security device I / F unit 23 and the meter I / F unit 22 shown in FIG. 6, the transistors Tr1, Tr6, and Tr2
Transistor Tr7, transistor Tr3 and transistor Tr8, resistor R61 and resistor R82, resistor R6
2, resistor R83, resistor R63 and resistor R84, resistor R64 and resistor R85, resistor R65 and resistor R86
Correspond to each other, so that the security device I / F unit 23 can be used as the meter I / F unit 22 by controlling each unit. In this case, the meter 15 is connected to the ground line 32 via the connection line and the connection terminal S.
1 and the electromagnetic relay 31. Therefore,
The need for the meter I / F section 22 is eliminated, so that the cost can be reduced by reducing the number of parts and the size of the apparatus can be reduced. Note that the changeover switch 35 is an electromagnetic relay, and in order to eliminate the influence of the impedance of the transistor Tr8, the resistor R84, and the resistor R85 when detecting the connection state between the security device and the I / F unit 23. In addition, the disconnection detection circuit 27 and the transistor Tr8 are separated.

【0034】上記構成において、セキュリティ機器16
とI/F部23との接続状態を検知する場合、まず、主
制御部18により電磁リレー35をオフにしてトランジ
スタTr8と断線検知回路27とを切り離し、電磁リレ
ー31をオンにしてI/F部23とセキュリティ機器1
6とを接続する。そして、トランジスタTr6をオンす
ると、電源Vccからの電流が抵抗器R82を介して接
続端子S1からセキュリティ機器16へ供給される。こ
のとき、抵抗器R82とセキュリティ機器16の抵抗器
Rsとの分圧により図1に示す連結線28の点FがHレ
ベルになると、信号線30を介して主制御部18のポー
トP3にHレベルの信号が入力され、主制御部18では
セキュリティ機器16がオフしていると判断される。一
方、抵抗器R82とセキュリティ機器16の抵抗器Rs
との分圧により連結線28の点FがLレベルになると、
主制御部18のポートP3にはLレベルの信号が入力さ
れてセキュリティ機器16がオンしていると判断され
る。またこれは、セキュリティ機器16とI/F部23
との接続線24が断線していないことを示している。
In the above configuration, the security device 16
When detecting the connection state between the I / F unit and the I / F unit 23, first, the main control unit 18 turns off the electromagnetic relay 35 to disconnect the transistor Tr8 from the disconnection detection circuit 27, and turns on the electromagnetic relay 31 to turn on the I / F unit. Unit 23 and security device 1
6 is connected. Then, when the transistor Tr6 is turned on, a current from the power supply Vcc is supplied to the security device 16 from the connection terminal S1 via the resistor R82. At this time, when the point F of the connection line 28 shown in FIG. 1 becomes the H level due to the voltage division between the resistor R82 and the resistor Rs of the security device 16, the port P3 of the main control unit 18 becomes H level via the signal line 30. The level signal is input, and the main control unit 18 determines that the security device 16 is off. On the other hand, the resistor R82 and the resistor Rs of the security device 16
When the point F of the connection line 28 becomes L level due to the partial pressure of
An L-level signal is input to the port P3 of the main control unit 18, and it is determined that the security device 16 is on. This is because the security device 16 and the I / F unit 23
Indicates that the connection line 24 is not disconnected.

【0035】次に、トランジスタTr6をオフにしてト
ランジスタTr5をオンすると、電流が抵抗器R81を
介して接続端子S1からセキュリティ機器16へ供給さ
れる。このとき、セキュリティ機器16がオフ状態であ
れば、抵抗器R81とセキュリティ機器16の抵抗器R
sとの分圧により連結線28の点FがLレベルになる。
そのため、主制御部18のポートP3にはLレベルの信
号が入力され、主制御部18ではI/F部23とセキュ
リティ機器16との接続線24が断線していないと判断
される。なおこのとき、主制御部18のポートP3にH
レベルの信号が入力されると、接続線24が断線してい
ると判断される。一方、セキュリティ機器16がオン状
態であれば、抵抗器R81とセキュリティ機器16の抵
抗器Rsとの分圧により連結線28の点FがHレベルに
なり、主制御部18のポートP3にはHレベルの信号が
入力されて接続線24が断線していないと判断される。
なおこのとき、主制御部18のポートP3にLレベルの
信号が入力されると、接続線24が断線していると判断
される。そして、セキュリティ機器16とI/F部23
との接続線24が断線していることを検知すると、その
情報を主制御部18によりセンター側装置11へ知らせ
る。
Next, when the transistor Tr6 is turned off and the transistor Tr5 is turned on, a current is supplied from the connection terminal S1 to the security device 16 via the resistor R81. At this time, if the security device 16 is off, the resistor R81 and the resistor R
The point F of the connection line 28 becomes L level due to the partial pressure with s.
Therefore, an L-level signal is input to the port P3 of the main control unit 18, and the main control unit 18 determines that the connection line 24 between the I / F unit 23 and the security device 16 is not disconnected. At this time, the port P3 of the main control
When the level signal is input, it is determined that the connection line 24 is disconnected. On the other hand, when the security device 16 is in the ON state, the voltage of the resistor R81 and the resistor Rs of the security device 16 causes the point F of the connection line 28 to go to the H level, and the port P3 of the main control unit 18 to the H level. The level signal is input, and it is determined that the connection line 24 is not disconnected.
At this time, when an L-level signal is input to the port P3 of the main control unit 18, it is determined that the connection line 24 is disconnected. Then, the security device 16 and the I / F unit 23
When it is detected that the connection line 24 is disconnected, the main controller 18 notifies the center side device 11 of the information.

【0036】セキュリティ機器用I/F部23のセルフ
チェックをする場合は、まず、主制御部18により電磁
リレー35をオンにして連結線28とトランジスタTr
8とをつなぎ、電磁リレー31をオフにしてセキュリテ
ィ機器16とI/F部23とを切り離す。そして、トラ
ンジスタTr6をオンすると、電流が抵抗器R82、電
磁リレー35および抵抗器R84を通過して、トランジ
スタTr8がオンする。これによって、主制御部18の
ポートP5にLレベルの信号が入力される。そして、こ
の入力信号を確認し、トランジスタTr6をオフにして
トランジスタTr5をオンすると、主制御部18のポー
トP5にはLレベルの信号が入力される。次に、トラン
ジスタTr7をオンさせると、連結線28の点FがLレ
ベルになって、主制御部18のポートP5にはHレベル
の信号が入力される。
When performing a self-check of the security device I / F unit 23, first, the main control unit 18 turns on the electromagnetic relay 35 to turn on the connection line 28 and the transistor Tr.
8 and the electromagnetic relay 31 is turned off to disconnect the security device 16 from the I / F unit 23. Then, when the transistor Tr6 is turned on, the current passes through the resistor R82, the electromagnetic relay 35, and the resistor R84, and the transistor Tr8 is turned on. As a result, an L-level signal is input to the port P5 of the main control unit 18. When the input signal is confirmed and the transistor Tr6 is turned off and the transistor Tr5 is turned on, an L-level signal is input to the port P5 of the main control unit 18. Next, when the transistor Tr7 is turned on, the point F of the connection line 28 becomes L level, and an H level signal is input to the port P5 of the main control unit 18.

【0037】この一連の動作により、主制御部18のポ
ートP5に入力される信号が上記のようにすべて確認で
きれば、セキュリティ機器用I/F部23は正常である
と判断される。もしも、主制御部18のポートP5に上
記と違った信号が入力されると、I/F部23内に異常
が発生したと判断され、その情報をセンター側装置11
へ知らせる。そして、セルフチェックが終了すれば、電
磁リレー31をオンにしてセキュリティ機器16とI/
F部23とを接続する。
As a result of this series of operations, if all the signals input to the port P5 of the main control unit 18 can be confirmed as described above, the security device I / F unit 23 is determined to be normal. If a signal different from the above is input to the port P5 of the main control unit 18, it is determined that an abnormality has occurred in the I / F unit 23, and the information is transmitted to the center-side device 11.
Inform When the self-check is completed, the electromagnetic relay 31 is turned on and the security device 16 and the I / O
F section 23 is connected.

【0038】セキュリティ機器16のオンオフ状態を検
知する場合は、主制御部18により電磁リレー31およ
び電磁リレー35をそれぞれオンにする。そして、トラ
ンジスタTr5およびトランジスタTr6を定期的にオ
ンオフさせて、I/F部23に間欠的な電源供給を行
う。このとき、セキュリティ機器16がオン状態であれ
ば、電流はトランジスタTr5およびTr6から接続端
子S1、セキュリティ機器16、接続端子S2を介して
グランドに流れるので、図5に示す区間Aのように、ト
ランジスタTr5,6のオンオフ状態に関係なく、主制
御部18のポートP3にはLレベル、ポートP5にはH
レベルの信号が入力され、セキュリティ機器16がオン
状態と判断される。
To detect the on / off state of the security device 16, the main controller 18 turns on the electromagnetic relays 31 and 35, respectively. Then, the transistor Tr5 and the transistor Tr6 are periodically turned on and off, and intermittent power supply to the I / F unit 23 is performed. At this time, if the security device 16 is in the ON state, the current flows from the transistors Tr5 and Tr6 to the ground via the connection terminal S1, the security device 16, and the connection terminal S2. Regardless of the on / off state of the Trs 5 and 6, the port P3 of the main control unit 18 is at the L level and the port P5 is at the H level.
The level signal is input, and it is determined that the security device 16 is on.

【0039】そして、セキュリティ機器16がオンから
オフになると、トランジスタTr6のオンと同時に、抵
抗器R82によって主制御部18のポートP3にHレベ
ル、ポートP5にLレベルの信号が入力される。これに
よって、主制御部18のポートP5がHからLレベルに
立ち下がった時点(図5のM点)で、セキュリティ機器
16がオンからオフになったと判断される。しかし、I
/F部23には消費電流の低減を図るために、間欠的な
電源供給を行っているので、セキュリティ機器16がオ
フ状態のときは、図5に示す区間Bのように、トランジ
スタTr6のオンオフに合わせてポートP3およびポー
トP5にLレベルおよびHレベルの信号が交互に入力さ
れ、セキュリティ機器16のオンオフ状態の判断ができ
なくなる。
When the security device 16 is turned off from on, the H level signal is input to the port P3 and the L level signal is input to the port P5 of the main control unit 18 by the resistor R82 at the same time when the transistor Tr6 is turned on. As a result, when the port P5 of the main control unit 18 falls from the H level to the L level (point M in FIG. 5), it is determined that the security device 16 has been turned off from on. But I
Since the / F section 23 is intermittently supplied with power in order to reduce current consumption, when the security device 16 is in the off state, the transistor Tr6 is turned on and off as shown in section B in FIG. , The signals of the L level and the H level are alternately input to the port P3 and the port P5, so that the on / off state of the security device 16 cannot be determined.

【0040】そこで、セキュリティ機器16のオフから
オンを検出するため、トランジスタTr6がオンする少
し前(図5の時間Ts)にトランジスタTr9をオンさ
せて、主制御部18のポートP5への入力信号をLレベ
ルにし、ポートP5のLレベルからHレベルへの立ち上
がりを検出できるようにハードの割り込みを許可する。
次に、トランジスタTr6をオンさせ、少しの時間(図
5の時間Tu)をおいてトランジスタTr9をオフす
る。このとき、セキュリティ機器16がオフ状態であれ
ば、主制御部18のポートP5はLレベルのままで割り
込みが発生せず、セキュリティ機器16がオフを維持し
ていると判断し、ポートP5はトランジスタTr6のオ
フと同時にHレベルに変化する。一方、セキュリティ機
器16がオン状態になっていれば、主制御部18のポー
トP5は、トランジスタTr9のオフと同時にHレベル
に立ち上がる(図5のI点)。このとき、ハードの割り
込みが発生し、ポートP5のLレベルからHレベルへの
立ち上がりを検知して、セキュリティ機器16がオンし
ていると判断する。そして、セキュリティ機器16がオ
ン状態であれば、異常事態の発生によって救急ボタンが
押されているので、その情報を主制御部18からセンタ
ー側装置11に通信する。
To detect the security device 16 from off to on, the transistor Tr9 is turned on shortly before the transistor Tr6 is turned on (time Ts in FIG. 5), and the input signal to the port P5 of the main controller 18 is turned on. Is set to the L level, and a hardware interrupt is permitted so that the rise of the port P5 from the L level to the H level can be detected.
Next, the transistor Tr6 is turned on, and after a short time (time Tu in FIG. 5), the transistor Tr9 is turned off. At this time, if the security device 16 is off, the port P5 of the main control unit 18 remains at the L level, no interrupt occurs, and it is determined that the security device 16 is kept off. It changes to the H level at the same time when Tr6 is turned off. On the other hand, if the security device 16 is in the ON state, the port P5 of the main control unit 18 rises to the H level simultaneously with the turning off of the transistor Tr9 (point I in FIG. 5). At this time, a hardware interrupt is generated, and the rise of the port P5 from L level to H level is detected, and it is determined that the security device 16 is on. If the security device 16 is on, the emergency button is pressed due to the occurrence of an abnormal situation, and the information is transmitted from the main control unit 18 to the center device 11.

【0041】このように、接続状態検知手段25および
自己状態検知手段26を設けることにより、ひとつのI
/F部23でセキュリティ機器16とI/F部23との
接続状態の検知、およびI/F部23のセルフチェック
が容易に行えるので、従来のI/F部のように接続状態
は検知できるがセルフチェックができない、あるいはセ
ルフチェックはできるが接続状態は検知できないといっ
たような問題がなくなる。
By providing the connection state detecting means 25 and the self state detecting means 26 as described above, one I
Since the connection state between the security device 16 and the I / F section 23 and the self-check of the I / F section 23 can be easily performed by the / F section 23, the connection state can be detected as in the conventional I / F section. However, there is no problem that a self-check cannot be performed or a self-check can be performed but a connection state cannot be detected.

【0042】そして、セキュリティ機器16に高抵抗値
の抵抗器Rsを設け、断線検知回路27に抵抗器Rsよ
り小さい値の抵抗器R82および抵抗器R82の約2倍
の値の抵抗器R81を設けているので、セキュリティ機
器16の抵抗器Rsと各抵抗器R81,82との分圧に
よって、セキュリティ機器16がオフ状態なのか、ある
いはI/F部23との接続線24が断線状態なのかを検
知することができる。しかも、抵抗器Rs,R81,R
82を設けるだけの簡単な方法により断線の検知が行え
るので、安価なI/F部23の提供が実現できる。
The security device 16 is provided with a resistor Rs having a high resistance value, and the disconnection detection circuit 27 is provided with a resistor R82 having a value smaller than the resistor Rs and a resistor R81 having a value approximately twice as large as the resistor R82. Therefore, whether the security device 16 is off or the connection line 24 to the I / F unit 23 is disconnected is determined by the voltage division between the resistor Rs of the security device 16 and the resistors R81 and R82. Can be detected. Moreover, the resistors Rs, R81, R
Since the disconnection can be detected by a simple method only by providing the 82, provision of the inexpensive I / F unit 23 can be realized.

【0043】また、I/F部23のセルフチェックを行
う場合には、電磁リレー31によってセキュリティ機器
16とI/F部23とを切り離して行うので、セキュリ
ティ機器16のオンオフ状態に影響されることがなく、
確実なセルフチェックを行うことができる。したがっ
て、I/F部23の異常を見逃さずに、早くセンター側
に通信してメンテナンスが行われるので、緊急性の高い
セキュリティ機器を接続しても、通信時にI/F部23
が誤動作したり、あるいは作動しない等の不具合を起こ
すことがなく、データ通信システムとして高い信頼性が
得られる。
When the self-check of the I / F unit 23 is performed, the security device 16 and the I / F unit 23 are separated by the electromagnetic relay 31, so that the security device 16 is affected by the on / off state. Without
A reliable self-check can be performed. Therefore, the maintenance is performed by communicating to the center side quickly without overlooking the abnormality of the I / F unit 23. Therefore, even if a security device with a high urgency is connected, the I / F unit 23 is in communication.
Does not malfunction or does not operate, and high reliability is obtained as a data communication system.

【0044】さらに、セキュリティ機器16のオンオフ
状態の検知を行う場合には、I/F部23に間欠的な電
源供給を行っても、オンオフ検知回路36によって定常
的に電源供給したときと同様の処理を行うために割り込
みを許可するので、割り込みの有無によりセキュリティ
機器16のオンオフ状態を検知することができる。した
がって、従来のように間欠的な電源供給を行うとオンオ
フ状態の検知ができなくなるといったようなことがな
く、ソフト的に処理するのが簡単になる。
Further, when the on / off state of the security device 16 is to be detected, the same operation as when the power is constantly supplied by the on / off detection circuit 36 is obtained even if the power is intermittently supplied to the I / F unit 23. Since the interruption is permitted to perform the processing, the on / off state of the security device 16 can be detected based on the presence or absence of the interruption. Therefore, if intermittent power supply is performed as in the related art, it is not impossible to detect the on / off state, and the processing can be easily performed by software.

【0045】なお、本発明は、上記実施例に限定される
ものではなく、本発明の範囲内で上記実施例に多くの修
正および変更を加え得ることは勿論である。例えば、上
記実施例では、切換スイッチ35として電磁リレーを使
用したが、トランジスタあるいはゲート等の半導体スイ
ッチでもよい。
It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that many modifications and changes can be made to the above-described embodiment within the scope of the present invention. For example, in the above embodiment, an electromagnetic relay is used as the changeover switch 35, but a semiconductor switch such as a transistor or a gate may be used.

【0046】そして、上記実施例では、セキュリティ機
器用I/F部23について述べたが、メータ用I/F部
22でもよい。また、接続状態検知手段25と自己状態
検知手段26とをメータ用およびセキュリティ機器用の
両I/F部22,23に設け、メータ15およびセキュ
リティ機器16を両I/F部22,23に通信可能に接
続すれば、どちらか一方のI/F部が断線や故障によっ
て通信不能状態であっても、他方のI/F部によってメ
ータ15およびセキュリティ機器16の両方とも通信を
行うことができる。したがって、装置としてさらなる信
頼性の向上が図れる。
Although the security apparatus I / F section 23 has been described in the above embodiment, the security apparatus I / F section 22 may be used. Further, the connection state detecting means 25 and the self state detecting means 26 are provided in both the I / F sections 22 and 23 for the meter and the security device, and the meter 15 and the security apparatus 16 communicate with the both I / F sections 22 and 23. If the connection is made possible, even if one of the I / F units is in a communication-disabled state due to disconnection or failure, both the meter 15 and the security device 16 can communicate with the other I / F unit. Therefore, the reliability of the device can be further improved.

【0047】[0047]

【発明の効果】以上の説明から明らかな通り、本発明請
求項1によると、接続状態検知手段および自己状態検知
手段を設けることにより、ひとつのインターフェイス部
で端末機器とインターフェイス部との接続状態の検知、
およびインターフェイス部内のセルフチェックが容易に
行えるので、従来のインターフェイス部のように接続状
態は検知できるがセルフチェックができない、あるいは
セルフチェックはできるが接続状態は検知できないとい
ったような問題がなくなる。
As is apparent from the above description, according to the first aspect of the present invention, by providing the connection state detecting means and the self state detecting means, the connection state between the terminal device and the interface section can be controlled by one interface section. Detection,
Since the self-check in the interface unit can be easily performed, there is no problem that the connection state can be detected but the self-check cannot be performed as in the conventional interface unit, or the self-check can be performed but the connection state cannot be detected.

【0048】請求項2によると、端末機器に抵抗器を設
け、断線検知回路に端末機器の抵抗器と異なる値の抵抗
器を設けているので、端末機器の抵抗器と断線検知回路
の抵抗器との分圧によって、端末機器がオフ状態なの
か、あるいはインターフェイス部との接続線が断線状態
なのかを検知することができる。しかも、抵抗器を設け
るだけの簡単な方法により断線の検知が行えるので、安
価なI/F部の提供が実現できる。
According to the second aspect of the present invention, the terminal device is provided with a resistor, and the disconnection detection circuit is provided with a resistor having a value different from that of the terminal device. Therefore, the resistor of the terminal device and the resistor of the disconnection detection circuit are provided. It is possible to detect whether the terminal device is in the off state or the connection line with the interface unit is in the disconnected state. In addition, disconnection can be detected by a simple method of simply providing a resistor, so that an inexpensive I / F can be provided.

【0049】請求項3によると、インターフェイス部の
セルフチェックを行う場合には、切換スイッチによって
端末機器とインターフェイス部とを切り離して行うの
で、端末機器のオンオフ状態に影響されることがなく、
確実なセルフチェックを行うことができる。したがっ
て、インターフェイス部の異常を見逃さずに、早くセン
ター側に通信してメンテナンスが行われるので、緊急性
の高いセキュリティ機器を接続しても、通信時にインタ
ーフェイス部が誤動作したり、あるいは作動しない等の
不具合を起こすことがなく、データ通信システムとして
高い信頼性が得られる。
According to the third aspect, when the self-check of the interface unit is performed, the terminal device and the interface unit are separated by the changeover switch, so that the self-check is not affected by the on / off state of the terminal device.
A reliable self-check can be performed. Therefore, maintenance is performed by communicating quickly to the center side without overlooking the abnormality of the interface unit, and even if a highly urgent security device is connected, the interface unit may malfunction or not operate during communication. High reliability can be obtained as a data communication system without causing any trouble.

【0050】請求項4によると、メータおよびセキュリ
ティ機器用のインターフェイス部を共用することによ
り、どちらか一方のインターフェイス部が不要になるの
で、部品数削減によるコストダウンおよび装置の小型化
が実現できる。
According to the fourth aspect, by sharing the interface section for the meter and the security device, one of the interface sections becomes unnecessary, so that the cost can be reduced by reducing the number of parts and the size of the apparatus can be reduced.

【0051】請求項5によると、端末機器のオンオフ状
態の検知を行う場合には、インターフェイス部に間欠的
な電源供給を行っても、オンオフ検知回路によって定常
的に電源供給したときと同様の処理を行うために割り込
みを許可するので、割り込みの有無により端末機器のオ
ンオフ状態を検知することができる。したがって、従来
のように間欠的な電源供給を行うとオンオフ状態の検知
ができなくなるといったようなことがなく、ソフト的に
処理するのが簡単になるといった優れた効果がある。
According to the fifth aspect, when the on / off state of the terminal device is detected, the same processing as when the power is constantly supplied by the on / off detection circuit is performed even if the power supply is intermittently supplied to the interface unit. Since the interruption is permitted to perform the operation, the on / off state of the terminal device can be detected based on the presence or absence of the interruption. Therefore, an intermittent power supply as in the related art does not make it impossible to detect the on / off state, and has an excellent effect that processing in software is simplified.

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

【図1】本発明の一実施例における端末網制御装置のセ
キュリティ機器用I/F部の回路図
FIG. 1 is a circuit diagram of an I / F unit for a security device of a terminal network control device according to an embodiment of the present invention.

【図2】端末網制御装置を備えたデータ通信システムの
構成図
FIG. 2 is a configuration diagram of a data communication system including a terminal network control device.

【図3】端末網制御装置のブロック構成図FIG. 3 is a block diagram of a terminal network control device.

【図4】セキュリティ機器の構成図FIG. 4 is a configuration diagram of a security device.

【図5】セキュリティ機器のオンオフ検知動作を示すタ
イミングチャート
FIG. 5 is a timing chart showing an on / off detection operation of the security device.

【図6】従来のメータ用I/F部の回路図FIG. 6 is a circuit diagram of a conventional meter I / F unit.

【図7】従来のセキュリティ機器用I/F部の回路図FIG. 7 is a circuit diagram of a conventional security device I / F unit.

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

11 センター側装置 13 電話回線 15 メータ 16 セキュリティ機器 18 主制御部 23 セキュリティ機器用I/F部 25 接続状態検知手段 26 自己状態検知手段 27 断線検知回路 31 電磁リレー 33 動作検知回路 36 オンオフ検知回路 Rs セキュリティ機器の抵抗器 R81,82 断線検知回路の抵抗器 Reference Signs List 11 center-side device 13 telephone line 15 meter 16 security device 18 main control unit 23 security device I / F unit 25 connection state detection means 26 self-state detection means 27 disconnection detection circuit 31 electromagnetic relay 33 operation detection circuit 36 on / off detection circuit Rs Resistor for security equipment R81, 82 Resistor for disconnection detection circuit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−60564(JP,A) 特開 昭62−35747(JP,A) 特開 昭59−195788(JP,A) 特開 昭52−132798(JP,A) 特開 平2−31298(JP,A) 特開 昭62−164362(JP,A) 特開 昭61−42098(JP,A) 特開 昭59−68095(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04M 11/00 - 11/10 ──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-3-60564 (JP, A) JP-A-62-35747 (JP, A) JP-A-59-195788 (JP, A) JP-A 52-357 132798 (JP, A) JP-A-2-31298 (JP, A) JP-A-62-164362 (JP, A) JP-A-61-42098 (JP, A) JP-A-59-68095 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) H04M 11/00-11/10

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 メータやセキュリティ機器の端末機器が
接続され、電話回線を利用して前記端末機器からの信号
に基づいてインターフェイス部を介して主制御部により
センター側装置との間でデータ通信を行う端末網制御装
置において、前記主制御部からの信号に基づいて前記端
末機器とインターフェイス部との接続状態を検知する
ともに端末機器のオンオフ状態を検知する接続状態検知
手段と、前記端末機器を切り離した状態にしてインター
フェイス部の内部状態を検知する自己状態検知手段とが
有せしめられたことを特徴とする端末網制御装置。
1. A terminal device such as a meter or a security device is connected, and data communication with a center device is performed by a main control unit via an interface unit based on a signal from the terminal device using a telephone line. in the terminal network control unit for, upon detecting a connection state between the terminal equipment and the interface unit based on a signal from the main control unit
Both have a connection state detecting means for detecting the on / off state of the terminal device, and a self-state detecting means for detecting the internal state of the interface unit by disconnecting the terminal device. Terminal network controller.
【請求項2】 接続状態検知手段は、端末機器に設けら
れた抵抗器と異なる値の複数の抵抗器を備え、抵抗器
と前記端末機器の抵抗器とのそれぞれの分圧により前記
端末機器とインターフェイス部との接続線が断線してい
るか否か、あるいは端末機器がオフ状態なのかを検知す
る断線検知回路から構成されたことを特徴とする請求項
1記載の端末網制御装置。
2. A connecting state detection means comprises a plurality of resistors of the resistor value different provided in the terminal device, the terminal device by each of the partial pressures of the resistor of the terminal device and each resistor connection line between the interface unit is not broken and the
2. The terminal network control device according to claim 1, further comprising a disconnection detection circuit that detects whether the terminal device is in an off state or not .
【請求項3】 自己状態検知手段は、インターフェイス
部と端末機器とを切り離す切換スイッチと、前記端末機
器をインターフェイス部から切り離した後に前記インタ
ーフェイス部が正常に動作するか否かを検知する動作検
知回路とから構成されたことを特徴とする請求項1記載
の端末網制御装置。
3. A self-state detecting means, comprising: a changeover switch for separating an interface unit from a terminal device;
2. The terminal network control device according to claim 1, further comprising an operation detection circuit for detecting whether or not the interface unit operates normally after disconnecting the device from the interface unit .
【請求項4】 メータおよびセキュリティ機器用のイン
ターフェイス部を共用するために、入力論理を逆にする
とともにインピーダンスを合わせるための回路が設けら
れたことを特徴とする請求項1,2あるいは3記載の端
末網制御装置。
4. The input logic is reversed to share an interface section for a meter and a security device.
With a circuit to match the impedance
Terminal network controller according to claim 1, 2 or 3, wherein it was.
【請求項5】 インターフェイス部に間欠的な電源供給
を行い、電源が供給されたときに端末機器のオンオフ状
態を検知するオンオフ検知回路が設けられたことを特徴
とする請求項1,2,3あるいは4記載の端末網制御装
置。
5. An on / off detection circuit for intermittently supplying power to an interface unit and detecting an on / off state of a terminal device when power is supplied. Alternatively, the terminal network control device according to 4.
JP06045846A 1994-03-16 1994-03-16 Terminal network controller Expired - Fee Related JP3095321B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06045846A JP3095321B2 (en) 1994-03-16 1994-03-16 Terminal network controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06045846A JP3095321B2 (en) 1994-03-16 1994-03-16 Terminal network controller

Publications (2)

Publication Number Publication Date
JPH07254938A JPH07254938A (en) 1995-10-03
JP3095321B2 true JP3095321B2 (en) 2000-10-03

Family

ID=12730584

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06045846A Expired - Fee Related JP3095321B2 (en) 1994-03-16 1994-03-16 Terminal network controller

Country Status (1)

Country Link
JP (1) JP3095321B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006268344A (en) * 2005-03-23 2006-10-05 Tokyo Gas Co Ltd Remote monitoring system and failure detection method for the same system

Also Published As

Publication number Publication date
JPH07254938A (en) 1995-10-03

Similar Documents

Publication Publication Date Title
JPH02502681A (en) System for interfacing alarm annunciators with cellular radio transceivers
JP3095321B2 (en) Terminal network controller
JP3768781B2 (en) Tunnel disaster prevention equipment
JPH10241086A (en) Short-circuit detecting method in monitoring system for disaster prevention, monitoring method for disaster prevention using the same and monitoring system for disaster prevention
JP3287966B2 (en) Transmission line monitoring equipment for fire alarm equipment
JP3803077B2 (en) Fire alarm equipment telephone equipment
JP3033103B2 (en) Exchange processing method
JP2862663B2 (en) Testing equipment for security monitoring equipment
JP2832352B2 (en) In-band signal equipment
JPS63262799A (en) Disaster prevention system
JPH06223290A (en) Disconnection detection system and telephone equipment
JPH0746290A (en) State detection circuit
JPH06282786A (en) Disaster prevention monitor
JP3356719B2 (en) Subscriber Line Polarity Normalization Method in ISDN DSU
JPH0728766Y2 (en) Terminal network control device for automatic data communication system
JP2003006763A (en) Repeater for fire alarm system and fire alarm system using the repeater
JP2001358783A (en) Relay amplification panel for tunnel disaster emergency equipment
JPH08138176A (en) Line change-over device of terminal equipment
JP3357524B2 (en) No ringing communication system
JP2805226B2 (en) Concentrator for ring network
JPH0632156A (en) Signal line controller for vehicle
JPS59215164A (en) Emergency informing adaptor
JP2002216268A (en) Fire alarm system
JPH0340659A (en) Communication fault notice equipment for facsimile equipment
JPS633556A (en) Method for discriminating slave station having trouble with data transmission/reception function

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070804

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080804

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20080804

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090804

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090804

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100804

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110804

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110804

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120804

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120804

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130804

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees