JP2654039B2 - Interface circuit - Google Patents
Interface circuitInfo
- Publication number
- JP2654039B2 JP2654039B2 JP62314220A JP31422087A JP2654039B2 JP 2654039 B2 JP2654039 B2 JP 2654039B2 JP 62314220 A JP62314220 A JP 62314220A JP 31422087 A JP31422087 A JP 31422087A JP 2654039 B2 JP2654039 B2 JP 2654039B2
- Authority
- JP
- Japan
- Prior art keywords
- terminal
- terminal device
- network control
- control device
- data
- 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
Links
Landscapes
- Bidirectional Digital Transmission (AREA)
- Dc Digital Transmission (AREA)
Description
【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、加入電話回線を利用して、電力、ガス、水
道、セキュリティなどの情報を収集し、遠方へデータを
伝送する装置のアイソレート方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Purpose of the Invention] (Industrial application field) The present invention collects information such as power, gas, water, and security by using a subscriber telephone line and transmits data to a distant place. The present invention relates to an isolation method for a device that performs the operation.
(従来の技術) 電力、ガス、水道などの使用量データとセキュリティ
情報を収集し、収集データを加入電話回線などを使用し
て遠方へ伝送する場合、加入電話回線から端末装置への
ノイズ・雷サージの侵入を防止することと、端末装置内
の短絡事故によって、加入電話回線から電流が流出する
のを防止するために、端末装置と網制御装置(以後NCU
と称す)との間のアイソレーションが必要である。(Prior art) When collecting usage data and security information of power, gas, water, etc., and transmitting the collected data to a distant location using a subscriber telephone line, noise and lightning from the subscriber telephone line to the terminal device In order to prevent the intrusion of surges and to prevent the current from flowing out of the subscriber telephone line due to a short circuit accident in the terminal equipment, the terminal equipment and the network controller (hereinafter referred to as NCU)
) Is required.
従来の4線式インターフェイス回路は第2図のように
構成されている。A conventional 4-wire interface circuit is configured as shown in FIG.
この回路では、非通信時には端末装置2Aのトランジス
タ22およびNCU2Bのトランジスタ26はともにOFF状態で、
それぞれのフォトカプラ24および28のダイオードは発光
せず接続線には電流が流れない。In this circuit, the transistor 22 of the terminal device 2A and the transistor 26 of the NCU 2B are both OFF in non-communication,
The diodes of the respective photocouplers 24 and 28 do not emit light, and no current flows through the connection lines.
従って端末装置2Aの受信レベルA・INおよびNCU2Bの
受信レベルB・INはともに‘H'レベルとなっている。Therefore, the reception level A.IN of the terminal device 2A and the reception level B.IN of the NCU 2B are both at the "H" level.
端末装置2Aから通信起動をかける場合は、トランジス
タ22をON状態にしてフォトカプラ24のダイオードに電流
を流し発光させる。抵抗21は、この電流の制限抵抗であ
る。フォトカプラ24のトランジスタはダイオードの光を
受光しON状態となり、受信レベルB・INは‘L'レベルと
なって、NCU2Bが通信動作を始める。抵抗25はプルアッ
プ抵抗で非通信時の受信レベルB・INを‘H'に保つ。When starting communication from the terminal device 2A, the transistor 22 is turned on to supply a current to the diode of the photocoupler 24 to emit light. The resistor 21 is a limiting resistor for this current. The transistor of the photocoupler 24 receives the light of the diode and enters the ON state, the reception level B · IN becomes the “L” level, and the NCU 2B starts the communication operation. The resistor 25 is a pull-up resistor and keeps the reception level B.IN at the time of non-communication at 'H'.
NCU2Bから通信起動をかける場合は、トランジスタ26
をON状態にしてフォトカプラ28のダイオードを発光さ
せ、端末装置2Aの受信レベルA・INを‘L'とすることに
より、端末装置2Aが通信動作を始める。抵抗27はフォト
カプラ28のダイオードの電流制限抵抗で、抵抗23は非通
信時にA・INを‘H'に保つプルアップ抵抗である。When starting communication from NCU2B, use transistor 26
Is turned on, the diode of the photocoupler 28 emits light, and the reception level A · IN of the terminal device 2A is set to “L”, whereby the terminal device 2A starts a communication operation. The resistor 27 is a current limiting resistor for the diode of the photocoupler 28, and the resistor 23 is a pull-up resistor that keeps A.IN at "H" during non-communication.
以上のようにこの回路では、端末装置2AまたはNCU2B
の両方から起動がかかる。両者とも通信状態になった後
は、端末装置2AからNCU2Bへデータを送る場合は、トラ
ンジスタ22をON・OFFしてB・INを‘L'‘H'と変化さ
せ、またNCU2Bから端末装置2Aへデータを送る場合は、
トランジスタ26をON・OFFしてA・INを‘L'‘H'と変化
させてそれぞれ通信を行う。As described above, in this circuit, the terminal device 2A or the NCU 2B
It starts from both. After both are in communication, when sending data from the terminal device 2A to the NCU 2B, the transistor 22 is turned ON / OFF to change B / IN to 'L'H', and the terminal device 2A When sending data to
The communication is performed by turning on / off the transistor 26 and changing A / IN to "L" H.
しかし、この方式では信号線数が4本必要で、工事コ
スト、機器費コスト、ケーブルコストなどが高くなる。However, this method requires four signal lines, which increases construction costs, equipment costs, cable costs, and the like.
この欠点を除くため、第3図に示す信号線数が2本の
2線式インターフェイス回路が考えられている。To eliminate this drawback, a two-wire interface circuit having two signal lines as shown in FIG. 3 has been considered.
この2線式のインターフェイス回路は、端末装置3Aに
おいて、所定電圧の電源信号が供給される電源端子と、
エミッタ接地された送信制御用トランジスタ32のコレク
タとを接続ラインを介して接続し、この電源端子と送信
制御用トランジスタ32のコレクタとの間に、網制御装置
3B側において、受信用フォトカプラ34及び送信用フォト
カプラ38を挿入接続することにより構成されている。The two-wire interface circuit includes, in the terminal device 3A, a power terminal to which a power signal of a predetermined voltage is supplied;
The collector of the transmission control transistor 32 whose emitter is grounded is connected via a connection line, and a network control device is connected between the power supply terminal and the collector of the transmission control transistor 32.
On the 3B side, the receiving photocoupler 34 and the transmitting photocoupler 38 are inserted and connected.
上記端末装置3Aに設けられた電源端子は、電流制限用
抵抗31を介して上記接続ラインに直列接続されており、
端末装置3A側においては、この電源端子から電流制御用
抵抗31を介して得られる電源電圧の変化分を取り出すこ
とにより、上記網制御装置3B側から送信されたデータを
取り出すようになっている(A・IN)。A power terminal provided in the terminal device 3A is connected in series to the connection line via a current limiting resistor 31,
On the side of the terminal device 3A, the data transmitted from the network control device 3B is extracted by extracting a change in the power supply voltage obtained from the power supply terminal via the current control resistor 31 ( A ・ IN).
上記受信用フォトカプラ34は、導通状態で発光するフ
ォトダイオードと、このフォトダイオードの発光により
形成された光を受光し、これに応じた電気信号を形成す
るエミッタ接地のフォトトランジスタとで形成されてい
る。The receiving photocoupler 34 is formed by a photodiode that emits light in a conductive state, and a phototransistor with a grounded emitter that receives light generated by the light emission of the photodiode and forms an electric signal in accordance with the light. I have.
同様に、上記送信用フォトカプラ38は、導通状態で発
光するフォトダイオードと、このフォトダイオードの発
光により形成された光を受光し、これに応じた電気信号
を形成するフォトトランジスタとで形成されている。Similarly, the transmitting photocoupler 38 is formed by a photodiode that emits light in a conductive state, and a phototransistor that receives light formed by the light emission of the photodiode and forms an electric signal corresponding to the light. I have.
受信用フォトカプラ34のフォトダイオードは、アノー
ドが、上記電流制限用抵抗31に接続されており、カソー
ドが、上記送信用フォトカプラ38のフォトトランジスタ
のコレクタに接続されている。また、受信用フォトカプ
ラ34のフォトトランジスタは、そのコレクタが、所定電
圧の電源信号が供給される電源端子にプルアップ抵抗35
を介して接続されている。網制御装置3Bにおいては、こ
のフォトトランジスタのコレクタとプルアップ抵抗35と
の接続中点を介して、上記電源端子から供給される電源
信号の変化分を取り出すことにより、上記端末装置3A側
から送信されたデータを取り出すようになっている(B
・IN)。The photodiode of the receiving photocoupler has an anode connected to the current limiting resistor 31, and a cathode connected to the collector of the phototransistor of the transmitting photocoupler. The phototransistor of the receiving photocoupler 34 has a collector connected to a power supply terminal to which a power supply signal of a predetermined voltage is supplied.
Connected through. In the network control device 3B, a change in the power supply signal supplied from the power supply terminal is taken out through a connection point between the collector of the phototransistor and the pull-up resistor 35, so that transmission from the terminal device 3A side is performed. (B)
・ IN).
一方、上記送信用フォトカプラ38のフォトトランジス
タのエミッタは、上記接続ラインを介して端末装置3A側
の送信制御用トランジスタ32のコレクタに接続されてい
る。また、送信用フォトカプラ38のフォトダイオードの
アノードは、所定電圧の電源信号が供給される電源端子
に電流制限用抵抗37を介して接続されている。また、こ
のフォトダイオードのカソードは、エミッタ接地された
送信制御用トランジスタ36のコレクタに接続されてい
る。On the other hand, the emitter of the phototransistor of the transmission photocoupler 38 is connected to the collector of the transmission control transistor 32 on the terminal device 3A side via the connection line. The anode of the photodiode of the transmitting photocoupler 38 is connected via a current limiting resistor 37 to a power supply terminal to which a power supply signal of a predetermined voltage is supplied. The cathode of this photodiode is connected to the collector of the transmission control transistor 36 whose emitter is grounded.
この回路では、非通信時は、端末装置3Aのトランジス
タ32をON状態、NCU3Bのトランジスタ36をOFFとし接続線
に電流を流さない。従って、端末装置3Aの受信レベルA
・INおよびNCU3Bの受信レベルB・INはともにプルアッ
プ抵抗31および35により‘H'レベルとなっている。In this circuit, during non-communication, the transistor 32 of the terminal device 3A is turned on and the transistor 36 of the NCU 3B is turned off so that no current flows through the connection line. Therefore, the reception level A of the terminal device 3A
The reception levels B and IN of IN and NCU 3B are both at the “H” level by pull-up resistors 31 and 35.
この状態で、トランジスタ36をONとしてフォトカプラ
38のダイオードを発光させると端末装置3Aのトランジス
タ32はON状態で待機しているので接続線に電流が流れ、
NCU3Bから端末装置3Aへ起動がかかる。ここで、A・IN
は‘L'となり端末装置3Aは、通信動作を開始する。NCU3
Bから端末装置3Aへデータ伝送する場合は、トランジス
タ32をONのままトランジスタ36をON・OFFしA・INレベ
ルを‘L'‘H'と変化させることによって行う。また、端
末装置3AからNCU3Bへデータ伝送するにはトランジスタ3
6をONのまま、トランジスタ32をON・OFFしてフォトカプ
ラ34を介してB・INレベルを‘L'‘H'と変化させて行
う。In this state, turn on the transistor 36 and turn on the photocoupler.
When the diode 38 emits light, the transistor 32 of the terminal device 3A is in the ON state and is on standby, so current flows through the connection line,
The NCU 3B starts up the terminal device 3A. Where A · IN
Becomes 'L', and the terminal device 3A starts the communication operation. NCU3
When data is transmitted from B to the terminal device 3A, the transistor 36 is turned ON / OFF while the transistor 32 is ON, and the A / IN level is changed to "L" H. To transmit data from the terminal device 3A to the NCU 3B, the transistor 3
The transistor 32 is turned ON / OFF while the signal 6 is kept ON, and the B / IN level is changed to “L” or “H” via the photocoupler.
しかし、この方式では非通信時にトランジスタ36がOF
Fしているため、端末装置3AからNCU3Bへの通信起動をか
けることはできない。However, in this method, the transistor 36 is turned off during non-communication.
F, it is not possible to activate communication from the terminal device 3A to the NCU 3B.
また、非通信時の状態をトランジスタ36をON、トラン
ジスタ32をOFFすればトランジスタ32をONすることによ
り端末装置3Aから起動がかけられるが、逆にNCU3Bから
の起動はかからない。When the transistor 36 is turned on and the transistor 32 is turned off in the non-communication state, the terminal device 3A is activated by turning on the transistor 32. On the contrary, the NCU 3B is not activated.
さらに、この方式では、フォトカプラ34のダイオード
がA・INラインに直列に挿入されていることになり、A
・INの‘L'レベル時にもフォトカプラ34ダイオードの電
圧降下分(約1V)がゲタをはくことになり、端末装置3A
側での‘H'‘L'判別が困難となる。これは、端末装置3A
の電源電圧が低い程影響が大である。Further, in this method, the diode of the photocoupler 34 is inserted in series to the A / IN line,
-Even when IN is at the "L" level, the voltage drop (approximately 1V) of the photocoupler 34 diode will cause a gutter, and the terminal device 3A
'H''L' determination on the side becomes difficult. This is the terminal device 3A
The lower the power supply voltage, the greater the effect.
例えば、電源電圧が5Vのときは、‘H'が5V、‘L'が1V
であるが、電源電圧が3Vでは‘H'が3V‘L'が1Vとなる。For example, when the power supply voltage is 5V, 'H' is 5V and 'L' is 1V
However, when the power supply voltage is 3V, 'H' becomes 3V'L 'becomes 1V.
(発明が解決しようとする問題点) 本発明は、接続信号線が2本で、端末装置側およびNC
U側からのどちらかでも起動をかけることができ、また
フォトカプラのダイオードの電圧降下の影響を小さくし
たアイソレート方式を提供するものである。(Problems to be Solved by the Invention) The present invention has two connection signal lines, a terminal device side and an NC.
The present invention provides an isolation system in which starting can be performed from either side of the U side and the effect of a voltage drop of a diode of a photocoupler is reduced.
[発明の構成] (問題点を解決するための手段及びその作用) 本発明は、少なくとも端末装置側で検出された被検出
物の検出量に関するデータを、加入電話回線及び網制御
装置を介してセンタ装置側へ送信するデータ収集システ
ムの、前記端末装置と網制御装置との接続を行うインタ
ーフェイス回路であり、上述の課題を解決するために、
以下の特徴的な各手段を有する。[Structure of the Invention] (Means for Solving the Problems and Their Operation) The present invention provides at least data relating to the detected amount of an object detected by a terminal device via a subscriber telephone line and a network control device. An interface circuit for connecting the terminal device and the network control device of the data collection system to be transmitted to the center device side, in order to solve the above-described problems,
It has the following characteristic means.
すなわち、本発明に係るインターフェイス回路は、前
記端末装置側に設けられ、電源端子側或いは接地端子側
に切換え制御される第1の切換えスイッチと、前記端末
装置側に設けられ、前記第1の切換えスイッチと相反し
て電源端子側或いは接地端子側に切換え制御される第2
の切換えスイッチと、前記第1,第2の切換えスイッチの
各選択端子を接続する接続ラインに挿入接続されるかた
ちで前記網制御装置側に設けられ、前記網制御装置から
前記端末装置への通信時以外は非導通状態に制御される
送信手段とを有する。また、前記送信手段に対して並列
接続されるかたちで前記網制御装置側に設けられ、前記
端末装置から前記網制御装置への通信時以外は非導通状
態に制御される受信手段と、前記送信手段により網制御
装置側から端末装置側に送信されたデータを取り出し可
能なように、前記第1の切換えスイッチ或いは第2の切
換えスイッチのいずれかの電源端子と電源との接続間に
接続された端末側出力端子と、前記端末装置から送信さ
れたデータを前記受信手段を介して取り出すための網制
御出力端子とを有する。That is, the interface circuit according to the present invention is provided on the terminal device side, and is provided on the terminal device side with a first changeover switch controlled to be switched to a power terminal side or a ground terminal side, and the first switchover is provided on the terminal device side. The second is controlled to be switched to the power terminal side or the ground terminal side contrary to the switch.
And a communication switch from the network control device to the terminal device, the communication control device being provided on the network control device side so as to be inserted into and connected to a connection line connecting each selection terminal of the first and second changeover switches. A transmission unit that is controlled to be in a non-conductive state at other times. A receiving unit provided in the network control device side in parallel with the transmission unit and controlled to be in a non-conductive state except during communication from the terminal device to the network control device; Means connected between a power supply terminal of one of the first switch and the second switch and a power supply so that data transmitted from the network control device to the terminal device can be extracted by the means. A terminal side output terminal; and a network control output terminal for extracting data transmitted from the terminal device via the receiving means.
そして、非導通時には、前記網制御装置側の送信手段
及び受信手段がいずれも非導通状態となるように、端末
装置が、前記第1,第2の切換えスイッチを切換え制御す
る。Then, at the time of non-conduction, the terminal device switches and controls the first and second changeover switches so that both the transmitting means and the receiving means on the network control device side are non-conductive.
また、前記網制御装置から前記端末装置への通信時に
は、前記第1,第2の切換えスイッチが非通信時の切換え
状態のまま、網制御装置が、送信するデータに応じて前
記送信手段を導通状態或いは非導通状態に制御して、前
記端末装置側の端末側出力端子を介して取り出されるデ
ータを可変することにより、該端末装置側に起動をかけ
ると共にデータの送信を行う。Further, at the time of communication from the network control device to the terminal device, the network control device conducts the transmission means according to the data to be transmitted while the first and second changeover switches remain in the non-communication switching state. By controlling the state or the non-conducting state to vary the data taken out via the terminal output terminal of the terminal device, the terminal device is activated and data is transmitted.
また、前記端末装置から網制御装置への通信時には、
端末装置が、送信するデータに応じて網制御装置側の受
信手段を導通状態或いは非導通状態となるように前記第
1,第2の切換えスイッチを切換え制御し、該受信手段を
介して網制御側出力端子から取り出されるデータを可変
することにより、該網制御装置側に起動をかけると共に
データの送信を行うようにしたものである。Further, at the time of communication from the terminal device to the network control device,
The terminal device sets the receiving means on the network control device side to a conducting state or a non-conducting state according to data to be transmitted.
1, by controlling the switching of the second changeover switch and changing the data taken out from the output terminal on the network control side via the receiving means, to activate the network control device side and transmit the data. It was done.
(実施例) 以下、本発明の一実施例を第1図を参照して説明す
る。1Aは端末装置、1BはNCUである。11と12は、電源切
換用スイッチで実際は、半導体スイッチで構成される。
このイッチ11と12は、端末装置1A内蔵の制御部により制
御される。A・INは、スイッチ12に接続された端末装置
1Aへの通信データ入力で、端末装置1A内蔵の制御部に入
力される。13はプルアップ抵抗でA・INに接続され、ス
イッチ12の上方へ接続される。Embodiment An embodiment of the present invention will be described below with reference to FIG. 1A is a terminal device, and 1B is an NCU. Reference numerals 11 and 12 are power supply switches, and are actually formed of semiconductor switches.
The switches 11 and 12 are controlled by a control unit built in the terminal device 1A. A-IN is a terminal device connected to the switch 12.
When communication data is input to the terminal device 1A, the communication data is input to a control unit built in the terminal device 1A. A pull-up resistor 13 is connected to A.IN, and is connected above the switch 12.
14は、NCU1B側に設けられた受信用フォトカプラで、
ダイオードのカソード側は、一方の信号線を通しスイッ
チ12へ接続され、アノード側は、電源制限用抵抗19を介
し他方の信号線でスイッチ11へ接続される。トランジス
タのエミッタ側はNCU1Bのグランドレベルへ接続され、
コレクタ側はプルアップ抵抗15とNCU内蔵の制御部の入
力B・INに接続される。14 is a receiving photocoupler provided on the NCU1B side,
The cathode side of the diode is connected to the switch 12 via one signal line, and the anode side is connected to the switch 11 via the other signal line via the power supply limiting resistor 19. The emitter side of the transistor is connected to the ground level of NCU1B,
The collector side is connected to the pull-up resistor 15 and the input B · IN of the control unit built in the NCU.
18はNCU1B側に設けられた送信用フォトカプラで、ト
ランジスタのコレクタ側はフォトカプラ14のダイオード
のカソード側が接続されたのと同一の信号線を通し同様
にスイッチ12へ接続され、エミッタ側は抵抗19が接続さ
れたのと同一の信号線を通し同様にスイッチ11へ接続さ
れる。ダイオードのアノード側は電源制限用抵抗17を通
しNCU1Bの電源へ接続され、カソード側は制限用トラン
ジスタ16を通しNCU1Bのグランドレベルへ接続される。Reference numeral 18 denotes a transmitting photocoupler provided on the NCU 1B side.The collector side of the transistor is connected to the switch 12 similarly through the same signal line as the cathode side of the diode of the photocoupler 14 is connected, and the emitter side is connected to a resistor. Similarly, the switch 11 is connected to the switch 11 through the same signal line to which the switch 19 is connected. The anode side of the diode is connected to the power supply of NCU1B through a power supply limiting resistor 17, and the cathode side is connected to the ground level of NCU1B through a limiting transistor 16.
制御用トランジスタ16のベースは、NCU内蔵の制御部
の出力B・OUTへ接続される。The base of the control transistor 16 is connected to the output B / OUT of the control unit built in the NCU.
次に、このように構成された一実施例の作用を説明す
る。Next, the operation of the embodiment configured as described above will be described.
通常状態(非通信)のとき、端末装置1Aのスイッチ11
は端末装置1Aのグランドレベル側へ、また、スイッチ12
はプルアップ抵抗13を通し端末装置1Aの電源側へ接続さ
れている。この状態ではフォトカプラ14のダイオードに
は、逆方向に電圧が印加されている。一方フォトカプラ
18のトランジスタには順方向に電圧が印加されているが
トランジスタ16がOFF状態のため、フォトカプラ18のダ
イオードは発光せず、フォトカプラ18のトランジスタ
は、OFF状態となっている。従って接続信号線には電流
が流れない。In the normal state (non-communication), the switch 11 of the terminal device 1A
To the ground level side of the terminal device 1A, and switch 12
Is connected to the power supply side of the terminal device 1A through the pull-up resistor 13. In this state, a voltage is applied to the diode of the photocoupler 14 in the reverse direction. Hand photo coupler
Although a voltage is applied to the transistor 18 in the forward direction, the diode of the photocoupler 18 does not emit light because the transistor 16 is in the OFF state, and the transistor of the photocoupler 18 is in the OFF state. Therefore, no current flows through the connection signal line.
NCU1Bから、端末装置1Aへ通信起動をかける場合は、N
CU1Bがトランジスタ16をON状態にしてフォトカプラ18の
ダイオードに電流を流し発光させる。すると、フォトカ
プラ18のトランジスタは、ダイオードの光を受光しON状
態となり、接続信号線に電流を流す。一方端末装置1A
は、接続信号線に電流が流れると、A−INのレベルが
“L"(プルアップ抵抗13と、接続信号線抵抗とフォトカ
プラ18のオン抵抗の抵抗分割によって決まる値)となる
ので、この変化を「端末装置起動信号」として受信し、
通信状態となる。When starting communication from the NCU 1B to the terminal device 1A, N
The CU 1B turns on the transistor 16 to supply a current to the diode of the photocoupler 18 to emit light. Then, the transistor of the photocoupler 18 receives the light of the diode, turns on, and allows a current to flow through the connection signal line. Terminal device 1A
When the current flows through the connection signal line, the level of A-IN becomes "L" (a value determined by the resistance division of the pull-up resistor 13, the connection signal line resistance, and the on-resistance of the photocoupler 18). Receiving the change as a "terminal device activation signal",
The communication state is established.
端末装置1AからのNCUへの通信起動をかける場合は、
端末装置1Aがスイッチ11を端末装置1Aの電源側へ、ま
た、スイッチ12を端末装置1Aのグランド側へ接続する。
すると接続信号線に印加される電圧が逆となるので、フ
ォトカプラ14のダイオードが順電圧となり、電流が流れ
発光する。フォトカプラ14のトランジスタはこの光を受
光するとON状態となりB・INを“L"レベル(フルアップ
抵抗15とフォトカプラ14のトランジスタのオン抵抗の抵
抗分割比で決まるレベル)とする。NCU1Bは、この変化
を「NCU起動信号」として受信し通信状態となる。When starting communication from the terminal device 1A to the NCU,
The terminal device 1A connects the switch 11 to the power supply side of the terminal device 1A, and connects the switch 12 to the ground side of the terminal device 1A.
Then, since the voltage applied to the connection signal line is reversed, the diode of the photocoupler 14 becomes a forward voltage, and a current flows to emit light. When the transistor of the photocoupler 14 receives this light, it is turned on, and B.IN is set to the "L" level (a level determined by the resistance division ratio of the full-up resistor 15 and the on-resistance of the transistor of the photocoupler 14). NCU 1B receives this change as an “NCU activation signal” and enters a communication state.
通信状態のとき、端末装置1Aからの送信は、スイッチ
12をグランド側に接続し、スイッチ11の切換えによっ
て、接続信号線を流れる電流を制御し、フォトカプラ14
を介し、B・INのレベルを制御して行う。NCU1Bからの
送信は、スイッチ11をグランド側、スイッチ12を電源側
に接続しトランジスタ16とフォトカプラ18を介し接続信
号線を流れる電流を制御しA・INのレベルを制御して行
う。In the communication state, transmission from the terminal device 1A is performed by a switch.
12 is connected to the ground side, the current flowing through the connection signal line is controlled by switching the switch 11, and the photocoupler 14
Through the control of the level of B.IN. Transmission from the NCU 1B is performed by connecting the switch 11 to the ground side and the switch 12 to the power supply side, controlling the current flowing through the connection signal line via the transistor 16 and the photocoupler 18, and controlling the level of A / IN.
上記の如き、構成,作用の本実施例の効果はフォトカ
プラ14,18によって、端末装置1AとNCU1Bがアイソレート
されていることで、加入電話回線からの雷サージやノイ
ズがNCU1Bを介して端末装置1Aへ侵入することが防止さ
れる。また、端末装置1A内の短絡事故によって加入電話
回線の電流が引かれ、加入電話回線に接続された交換機
が、回線が捕捉(オフ・フック)されたものと判断した
場合、NCU1Bと同一加入電話回線に並列接続された、他
の機器(電話機等)の使用が不可能となってしまうこと
も防止される。As described above, the effect of the present embodiment of the configuration and operation is that the terminal devices 1A and the NCU 1B are isolated by the photocouplers 14 and 18, so that lightning surge and noise from the subscriber telephone line are transmitted to the terminal via the NCU 1B. Intrusion into the device 1A is prevented. In addition, if the current of the subscribed telephone line is drawn due to a short circuit accident in the terminal device 1A and the exchange connected to the subscribed telephone line determines that the line has been seized (off-hook), the same subscribed telephone as the NCU 1B is used. It is also possible to prevent another device (such as a telephone) connected in parallel to the line from becoming unusable.
また、端末装置1AとNCU1B間の接続信号線は、2本で
良く、4線式に比べ、誤接続の可能性が低く、工事・機
器・材料コストが低い。Also, the number of connection signal lines between the terminal device 1A and the NCU 1B may be two, and the possibility of erroneous connection is lower than that of the four-wire system, and construction, equipment, and material costs are low.
また、接続信号線の電流方向を切り換る機能を有する
ことで相互通信を可能とし、同時に端末装置1AとNCU1B
どちらかでも通信起動が行えることで、従来2線式のイ
ンターフェイス回路の場合、NCU1Bからの通気起動、つ
まりセンタ側の端末装置1Aを呼び出す(センタ着信)方
式のデータ収集システムにしか使用できなかったが、端
末装置1Aからセンタを呼び出す(端末発信)方式のデー
タ収集システムにも使用できる様になった。In addition, by having a function of switching the current direction of the connection signal line, mutual communication is enabled, and at the same time, the terminal device 1A and the NCU 1B
Since communication can be activated by either of these methods, the conventional 2-wire interface circuit can only be used for ventilation activation from the NCU 1B, that is, only for a data collection system that calls the terminal device 1A at the center side (center reception). However, it has become possible to use the data collection system of a method of calling the center from the terminal device 1A (terminal transmission).
また、従来方式に比べ接続信号線を介して形成される
電流ループ上のフォトカプラが減ったので、端末装置1A
での検出レベル“L"の電圧が低くなり、従って“H"レベ
ルを低くしても“L"レベルの検出が容易に行なえるよう
になった。In addition, since the number of photocouplers on the current loop formed via the connection signal line is reduced as compared with the conventional method, the terminal device 1A
Thus, the voltage of the detection level "L" at the low level becomes low, so that the "L" level can be easily detected even if the "H" level is lowered.
[発明の効果] 以上述べてきたように、本発明によれば、端末装置と
NCU間の接続信号線が2本線でアイソレートされ、電流
方向が切り換えられ端末装置とNCUどちらからでも通信
起動ができ信号電圧が低くとれるので、加入電話回線を
使用したセンタ着信方式と端末発信方式と併用した様な
データ収集システムにも、安全で安価なNCUと端末装置
のインターフェイス回路を提供できる。[Effects of the Invention] As described above, according to the present invention, the terminal device
The connection signal line between the NCUs is isolated by two lines, the current direction is switched, communication can be started from both the terminal device and the NCU, and the signal voltage can be reduced, so the center termination method using a subscriber telephone line and the terminal transmission method Can provide a safe and inexpensive interface circuit between a NCU and a terminal device even in a data collection system that is used in combination with the NCU.
第1図は、本発明による一実施例を示す回路図、第2図
は従来技術による4線式インターフェイス回路を示す回
路図、第3図は従来技術による2線式インターフェイス
回路を示す回路図である。 1A……端末装置、16……送信制御トランジスタ 1B……網制御装置 11,12……送受切換スイッチ、18……送信用フォトカプ
ラ 14……受信用フォトカプラFIG. 1 is a circuit diagram showing an embodiment according to the present invention, FIG. 2 is a circuit diagram showing a conventional 4-wire interface circuit, and FIG. 3 is a circuit diagram showing a 2-wire interface circuit according to the prior art. is there. 1A Terminal device, 16 Transmission control transistor 1B Network control device 11, 12 Transmission / reception switch, 18 Photocoupler for transmission 14 Photocoupler for reception
Claims (1)
物の検出量に関するデータを、加入電話回線及び網制御
装置を介してセンタ装置側へ送信するデータ収集システ
ムの、前記端末装置と網制御装置との接続を行うインタ
ーフェイス回路において、 前記端末装置側に設けられ、電源端子側或いは接地端子
側に切換え制御される第1の切換えスイッチと、 前記端末装置側に設けられ、前記第1の切換えスイッチ
と相反して電源端子側或いは接地端子側に切換え制御さ
れる第2の切換えスイッチと、 前記第1,第2の切換えスイッチの各選択端子を接続する
接続ラインに挿入接続されるかたちで前記網制御装置側
に設けられ、前記網制御装置から前記端末装置への通信
時以外は非導通状態に制御される送信手段と、 前記送信手段に対して並列接続されるかたちで前記網制
御装置側に設けられ、前記端末装置から前記網制御装置
への通信時以外は非導通状態に制御される受信手段と、 前記送信手段により網制御装置側から端末装置側に送信
されたデータを取り出し可能なように、前記第1の切換
えスイッチ或いは第2の切換えスイッチのいずれかの電
源端子と電源との接続間に接続された端末側出力端子
と、 前記端末装置から送信されたデータを前記受信手段を介
して取り出すための網制御側出力端子とを有し、 非通信時には、前記網制御装置側の送信手段及び受信手
段がいずれも非導通状態となるように、端末装置が、前
記第1,第2の切換えスイッチを切換え制御し、前記網制
御装置から前記端末装置への通信時には、前記第1,第2
の切換えスイッチが非通信時の切換え状態のまま、網制
御装置が、送信するデータに応じて前記送信手段を導通
状態或いは非導通状態に制御して、前記端末装置側の端
末側出力端子を介して取り出されるデータを可変するこ
とにより、該端末装置側に起動をかけると共にデータの
送信を行い、前記端末装置から網制御装置への通信時に
は、端末装置が、送信するデータに応じて網制御装置側
の受信手段を導通状態或いは非導通状態となるように前
記第1,第2の切換えスイッチを切換え制御し、該受信手
段を介して網制御側出力端子から取り出されるデータを
可変することにより、該網制御装置側に起動をかけると
共にデータの送信を行うこと を特徴とするインターフェイス回路。1. A data collection system for transmitting at least data relating to the detected amount of an object detected by a terminal device to a center device via a subscriber telephone line and a network control device. An interface circuit for connecting to a device, a first switch provided on the terminal device side and controlled to be switched to a power terminal side or a ground terminal side; and a first switch provided on the terminal device side, A second changeover switch that is controlled to switch to a power supply terminal side or a ground terminal side contrary to the switch; and the second changeover switch is inserted and connected to a connection line connecting each selection terminal of the first and second changeover switches. Transmitting means provided on the network control device side and controlled to be in a non-conductive state except during communication from the network control device to the terminal device; Receiving means provided on the network control device side in such a manner as to be in a non-conductive state except during communication from the terminal device to the network control device; and A terminal-side output terminal connected between a power supply terminal and a power supply of any one of the first changeover switch and the second changeover switch so that data transmitted to the terminal device can be extracted; Having a network control side output terminal for taking out the transmitted data via the receiving means, so that when non-communication, both the transmitting means and the receiving means on the network control device side are in a non-conductive state, A terminal device controls the switching of the first and second changeover switches, and performs communication between the first and second changeover switches during communication from the network control device to the terminal device.
While the changeover switch is in the non-communication switching state, the network control device controls the transmitting means to a conductive state or a non-conductive state in accordance with data to be transmitted, via a terminal-side output terminal of the terminal device side. By activating the terminal device side and transmitting data by changing the data to be taken out, the network control device according to the data to be transmitted is transmitted by the terminal device during communication from the terminal device to the network control device. By controlling the first and second changeover switches so that the receiving means on the side becomes conductive or non-conductive, by changing the data taken out from the network control side output terminal via the receiving means, An interface circuit for activating the network control device and transmitting data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62314220A JP2654039B2 (en) | 1987-12-14 | 1987-12-14 | Interface circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62314220A JP2654039B2 (en) | 1987-12-14 | 1987-12-14 | Interface circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH01157153A JPH01157153A (en) | 1989-06-20 |
JP2654039B2 true JP2654039B2 (en) | 1997-09-17 |
Family
ID=18050729
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62314220A Expired - Lifetime JP2654039B2 (en) | 1987-12-14 | 1987-12-14 | Interface circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2654039B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7203359B2 (en) * | 2020-01-31 | 2023-01-13 | パナソニックIpマネジメント株式会社 | Communication circuit of gas safety equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6024756A (en) * | 1983-07-20 | 1985-02-07 | Fujitsu Denso Ltd | Detecting circuit of disconnection for telephone line |
JPS6130847A (en) * | 1984-07-24 | 1986-02-13 | Ricoh Co Ltd | Coupling circuit of network control unit |
JPS6281866A (en) * | 1985-10-05 | 1987-04-15 | Ricoh Co Ltd | Terminal equipment having telephonic function |
JPS6286947A (en) * | 1985-10-12 | 1987-04-21 | Sharp Corp | Interface of data terminal equipment and data communication terminal equipment |
-
1987
- 1987-12-14 JP JP62314220A patent/JP2654039B2/en not_active Expired - Lifetime
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6024756A (en) * | 1983-07-20 | 1985-02-07 | Fujitsu Denso Ltd | Detecting circuit of disconnection for telephone line |
JPS6130847A (en) * | 1984-07-24 | 1986-02-13 | Ricoh Co Ltd | Coupling circuit of network control unit |
JPS6281866A (en) * | 1985-10-05 | 1987-04-15 | Ricoh Co Ltd | Terminal equipment having telephonic function |
JPS6286947A (en) * | 1985-10-12 | 1987-04-21 | Sharp Corp | Interface of data terminal equipment and data communication terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
JPH01157153A (en) | 1989-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4794595A (en) | Voice and data transmission system | |
US4479122A (en) | Remotely controlled switched access to the console port of an electronic computer | |
EP0083602A1 (en) | Connecting unit for a ring bus | |
US4930151A (en) | Telephone call forwarding device | |
US5241591A (en) | Telephone system having a dial data changeover switch | |
CA1273690A (en) | Circuit arrangement for serial data transmission between a plurality of subscriber stations | |
JP2654039B2 (en) | Interface circuit | |
US4495494A (en) | Detector circuit for communication lines | |
CA1211241A (en) | Line feed circuit for a digital signal loop | |
US4660219A (en) | Extension ringing arrangement key telephone system | |
JP2876425B2 (en) | Telephone network controller | |
JP2668688B2 (en) | Terminal device of communication system | |
US4017692A (en) | Telephone call-diverter system | |
JPH05260537A (en) | Overvoltage protecting circuit for two-wire subscriber circuit | |
JPS646618Y2 (en) | ||
JP4068735B2 (en) | Network control unit switching control device | |
KR960000612Y1 (en) | Subscriber's interface circuits for a private exchanger | |
JP2731248B2 (en) | Network controller | |
KR910003300B1 (en) | Common interface circuit for trunk line and leased line | |
US5400398A (en) | Electronic telephone set with low power hook switch | |
JP2902411B2 (en) | Data transmission equipment | |
JPH0318385B2 (en) | ||
JP3172657B2 (en) | Apparatus and method for automatically detecting and setting terminating resistance in a stacked network system | |
JPH0561831B2 (en) | ||
JPS58215858A (en) | Network controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EXPY | Cancellation because of completion of term | ||
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080523 Year of fee payment: 11 |