JPH09147274A - Monitoring device - Google Patents

Monitoring device

Info

Publication number
JPH09147274A
JPH09147274A JP30564695A JP30564695A JPH09147274A JP H09147274 A JPH09147274 A JP H09147274A JP 30564695 A JP30564695 A JP 30564695A JP 30564695 A JP30564695 A JP 30564695A JP H09147274 A JPH09147274 A JP H09147274A
Authority
JP
Japan
Prior art keywords
sensor
signal
main device
current loop
photocoupler
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP30564695A
Other languages
Japanese (ja)
Other versions
JP3161308B2 (en
Inventor
Hidetaka Katou
秀孝 香東
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.)
Tamura Electric Works Ltd
Original Assignee
Tamura Electric Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tamura Electric Works Ltd filed Critical Tamura Electric Works Ltd
Priority to JP30564695A priority Critical patent/JP3161308B2/en
Publication of JPH09147274A publication Critical patent/JPH09147274A/en
Application granted granted Critical
Publication of JP3161308B2 publication Critical patent/JP3161308B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Alarm Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To decrease the number of signal lines and also to reduce the cost of parts needed for transmission of signals when the signals are transmitted in a long distance between a main device and sensors respectively. SOLUTION: A main device 1 is provided with the transistors TR Q1 to Q2, and the series connection is secured between the TR Q3 and Q4 and also between the TR Q3 and Q4 respectively. Then a common current loop is formed by a pair of signal lines which secure the connection between the connection point of both TR Q1 and Q2 and that of both TR Q3 and Q4. The TR Q2 and Q3 are turned on and off respectively to send the signals to the sensors. At the same time, the TR Q1 and Q4 are turned on to receive the signals via a photocoupler PC1. On the other hand, the sensors receive the signals via the photocouplers PC2 and PC4 and the photocouplers PC3 and PC5 are driven to transmit the signals. As a result, the sure transmission of signals is attained in a simple constitution and in a least number of signal lines.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、各センサの検出状
況を監視する監視装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a monitoring device for monitoring the detection status of each sensor.

【0002】[0002]

【従来の技術】複数のセンサの状態を監視するこの種の
監視装置は、主装置と各センサとから構成されている。
ここで、主装置は複数のポートを有しており、主装置と
各センサ間は、主装置の各ポートに各センサが各個に接
続されるいわゆるスター配線で接続されている。この場
合、主装置はそれぞれの線路を介して各センサとデータ
伝送を行い、各センサによる検出状況を監視するように
している。
2. Description of the Related Art A monitoring device of this kind for monitoring the states of a plurality of sensors comprises a main device and each sensor.
Here, the main device has a plurality of ports, and the main device and each sensor are connected by a so-called star wiring in which each sensor is individually connected to each port of the main device. In this case, the main device transmits data to each sensor through each line and monitors the detection status of each sensor.

【0003】[0003]

【発明が解決しようとする課題】しかしスター配線の場
合、主装置のポート数及び主装置からの出線数がセンサ
の数だけ必要になり、主装置が大型になると共に配線工
事の複雑化を招くという問題がある。また、ビル内の既
設の配管を利用して配線する場合に配管の容量が不足し
て配線が不可能になるという問題もある。
However, in the case of star wiring, the number of ports of the main unit and the number of outgoing lines from the main unit are required for the number of sensors, and the main unit becomes large and the wiring work becomes complicated. There is a problem of inviting. In addition, there is a problem that when wiring is performed using existing piping in a building, the capacity of the piping is insufficient and wiring becomes impossible.

【0004】このため、スター配線を行わずにバス配線
やループ配線等により主装置と各センサ間の配線数を少
なくすることも考えられるが、このようにするとデータ
伝送の際に各センサから主装置側へ送信するデータに対
しセンサを識別するための識別コードを付加しなければ
ならず、従って各センサから送信されるデータの数が多
くなることから、収容したセンサの数が多くなると伝送
速度を高速にする必要が生じる。しかし、主装置と各セ
ンサ間の距離が数百メートルという長距離伝送の場合
は、高速でデータを送受するためにはモデム等を用いて
データを送受する必要があり、この結果、伝送コストが
上昇するという問題がある。従って本発明は、主装置と
各センサの間で信号を長距離伝送を行う場合に、信号線
の数を少なくし、かつデータ伝送のための部品コストを
削減することを目的とする。
Therefore, it is conceivable to reduce the number of wires between the main device and each sensor by bus wiring or loop wiring without performing star wiring. However, in this case, each sensor is mainly connected at the time of data transmission. Since the identification code for identifying the sensor must be added to the data transmitted to the device side, and therefore the number of data transmitted from each sensor increases, the transmission rate increases when the number of accommodated sensors increases. Will need to be fast. However, in the case of long-distance transmission where the distance between the main device and each sensor is several hundred meters, it is necessary to transmit / receive data using a modem or the like in order to transmit / receive data at high speed. There is a problem of rising. Therefore, it is an object of the present invention to reduce the number of signal lines and to reduce the cost of parts for data transmission when signals are transmitted over a long distance between a main device and each sensor.

【0005】[0005]

【課題を解決するための手段】このような課題を解決す
るために本発明は、主装置と各センサ間に共通の一対の
信号線からなる第1の電流ループを形成し、この第1の
電流ループの電流の有無により信号の伝送を行うように
したものである。従って、一対の信号線からなる第1の
電流ループにより信号の伝達が可能になるため、長距離
伝送を行う場合に最少の信号線で信号を伝送できる。ま
た、主装置は第1の電流ループの通電及び非通電により
各センサに信号を送信する一方、各センサに、第1の電
流ループに並列接続されかつ第1の電流ループの電流極
性と逆極性の電流極性を有する第2の電流ループを設
け、各センサは主装置から信号が送信された後の第1の
電流ループの非通電時に第2の電流ループの通電及び非
通電を行うことにより第1の電流ループの電流極性が主
装置側からの送信方向と逆極性となるように通電及び非
通電を行って主装置に信号を送信する。従って、各セン
サにおいては、信号の送信時と受信時では第1の電流ル
ープの電流極性が異なるため、主装置1に対して他のセ
ンサがデータを送信しているときには、この送信データ
の回り込みが防止され、従ってその回り込みデータの誤
認識が未然に回避できることから、データフォーマット
を単純化しデータ数を少なくして送信できる。従って、
データの伝送速度を高速にする必要が無く、簡単かつ安
価な構成により長距離伝送を可能にすることができる。
In order to solve such a problem, the present invention forms a first current loop consisting of a pair of common signal lines between a main device and each sensor. The signal is transmitted depending on the presence / absence of current in the current loop. Therefore, since the signal can be transmitted by the first current loop including the pair of signal lines, the signal can be transmitted with the minimum number of signal lines when performing long-distance transmission. Further, the main device transmits a signal to each sensor by energizing and de-energizing the first current loop, while being connected to each sensor in parallel with the first current loop and having a polarity opposite to the current polarity of the first current loop. A second current loop having a current polarity of 1 is provided, and each sensor performs energization and de-energization of the second current loop when the first current loop is de-energized after the signal is transmitted from the main device. The signal is transmitted to the main device by energizing and de-energizing so that the current polarity of the current loop 1 is opposite to the transmitting direction from the main device side. Therefore, in each sensor, the current polarity of the first current loop is different at the time of signal transmission and at the time of signal reception, so when other sensors are transmitting data to the main device 1, this transmission data sneak Therefore, the erroneous recognition of the wraparound data can be avoided in advance, so that the data format can be simplified and the data can be transmitted with a reduced number of data. Therefore,
It is not necessary to increase the data transmission speed, and long-distance transmission can be made possible with a simple and inexpensive structure.

【0006】また、主装置に、第1ないし第4のスイッ
チング素子を設け、第1及び第2のスイッチング素子を
直列接続すると共に、第3及び第4のスイッチング素子
を直列接続し、第1及び第2のスイッチング素子間の接
続点である第1の接続点と第3及び第4のスイッチング
素子間の接続点である第2の接続点間を結んで第1の電
流ループを形成し、第1及び第4のスイッチング素子を
オフして第2及び第3のスイッチング素子をオン・オフ
することにより各センサに信号を送信し、かつ第2の接
続点と第4のスイッチング素子の間に第1のフォトカプ
ラを設け、第2及び第3のスイッチング素子をオフする
と共に第1及び第4のスイッチング素子をオンすること
により第1のフォトカプラの出力から各センサの信号を
受信する一方、各センサに、第1の電流ループの電流の
有無を検出する第2のフォトカプラを設け、第2のフォ
トカプラの出力に基づき主装置からの信号を受信すると
共に、第2の電流ループに第3のフォトカプラを設け、
第3のフォトカプラの出力により主装置へ信号を送信す
る。この結果、簡単な構成でかつ最少の信号線により確
実に信号を伝送できると共に、主装置と各センサとを異
なる電源系で動作させることができる。
Further, the main device is provided with first to fourth switching elements, the first and second switching elements are connected in series, and the third and fourth switching elements are connected in series to form the first and fourth switching elements. A first current loop is formed by connecting a first connection point, which is a connection point between the second switching elements, and a second connection point, which is a connection point between the third and fourth switching elements, to form a first current loop. A signal is transmitted to each sensor by turning off the first and fourth switching elements and turning on and off the second and third switching elements, and a signal is transmitted between the second connection point and the fourth switching element. The first photocoupler is provided, the signals of the respective sensors are received from the output of the first photocoupler by turning off the second and third switching elements and turning on the first and fourth switching elements. The sensor is provided with a second photocoupler for detecting the presence / absence of a current in the first current loop, the signal from the main device is received based on the output of the second photocoupler, and the second current loop is provided with a third photocoupler. The photo coupler of
A signal is transmitted to the main device by the output of the third photo coupler. As a result, it is possible to reliably transmit a signal with a simple configuration and a minimum number of signal lines, and it is possible to operate the main device and each sensor with different power supply systems.

【0007】[0007]

【発明の実施の形態】以下、本発明について図面を参照
して説明する。図2は本発明に係る監視装置の構成を示
すブロック図である。監視装置は、主装置1と、主装置
1に接続される複数のセンサ31 〜3n とからなる。こ
こで、主装置1は、電話回線(加入回線)を収容すると
共に、本電話機も接続できるようになっており、着信検
出回路11、本電話機による回線の直流ループ閉結の有
無を検出するループ検出回路12、回線と本電話機との
切り換えを行う切換リレー13、ダイヤル送出回路1
4、ハイブリッド回路15、各センサとの伝送インタフ
ェースであるI/F部17、及び以上の各部を制御する
制御部18等からなる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 2 is a block diagram showing the configuration of the monitoring device according to the present invention. The monitoring device includes the main device 1 and a plurality of sensors 31 to 3n connected to the main device 1. Here, the main device 1 accommodates a telephone line (subscribed line) and can also be connected to this telephone, and an incoming call detection circuit 11 and a loop for detecting the presence or absence of DC loop closure of the line by this telephone Detection circuit 12, switching relay 13 for switching between the line and the telephone, dial transmission circuit 1
4, a hybrid circuit 15, an I / F unit 17 that is a transmission interface with each sensor, a control unit 18 that controls the above units, and the like.

【0008】なお、制御部18は、CPU18A、PI
O部18B、データバスバッファ18C、アドレスデコ
ーダ18D、アドレスラッチ18E及びリセット部18
Fからなり、データを記憶するSRAM19及び時計I
C20が接続されている。一方、各センサ31 〜3n は
接続部21及び一対の信号線22を介して主装置1に接
続されている。各センサ31 〜3n は、それぞれ、接続
部31、主装置1とのインタフェースであるI/F部、
CPU33、センサ自身の識別コードを設定するID設
定部34部から構成されている。センサのCPU33
は、主装置からコマンド信号を受信すると、例えば各戸
のドアの開閉等、各戸の戸締まりの状況を接点部40を
介して検出し主装置1にレスポンス信号として返送す
る。この場合、主装置1はそのレスポンスの内容を加入
回線を介して図示しないセンタ側へ通報するようにして
いる。
The control unit 18 includes a CPU 18A and a PI.
O section 18B, data bus buffer 18C, address decoder 18D, address latch 18E and reset section 18
An SRAM 19 and a clock I which are composed of F and store data
C20 is connected. On the other hand, each of the sensors 31 to 3n is connected to the main device 1 via the connecting portion 21 and the pair of signal lines 22. Each of the sensors 31 to 3n has a connection unit 31, an I / F unit that is an interface with the main device 1, and
It is composed of a CPU 33 and an ID setting unit 34 for setting an identification code of the sensor itself. CPU 33 of the sensor
When receiving a command signal from the main device, the device detects the state of the door lock of each door, such as the opening and closing of the door of each door, through the contact portion 40 and returns it to the main device 1 as a response signal. In this case, the main unit 1 reports the content of the response to the center side (not shown) via the subscription line.

【0009】次に図1は本発明の要部構成を示す回路図
であり、主装置1のI/F部17及びセンサ3のI/F
部32の各構成を示すものである。図1において、主装
置1のI/F部17は、直列接続されたトランジスタQ
1,Q2、フォトカプラPC1を介して同様に直列接続
されたトランジスタQ3,Q4、バッファIC1,IC
2、及び抵抗R1〜R12からなる。ここで、主装置1
と各センサ間を接続する一対の信号線22のうち、一方
の一方の信号線221 はトランジスタQ1,Q2の接続
点から抵抗R5を通って各センサに共通に接続され、他
方の信号線222 はトランジスタQ3とフォトカプラP
C1との接続点から抵抗R12を通って各センサに共通
に接続される。
Next, FIG. 1 is a circuit diagram showing a main structure of the present invention. The I / F section 17 of the main device 1 and the I / F of the sensor 3 are shown.
3 illustrates each configuration of the unit 32. In FIG. 1, the I / F unit 17 of the main device 1 includes a transistor Q connected in series.
1, Q2, transistors Q3, Q4, buffers IC1, IC, which are similarly connected in series via the photocoupler PC1.
2 and resistors R1 to R12. Here, the main device 1
And one of the pair of signal lines 22 connecting the respective sensors to each other, one signal line 221 is commonly connected to each sensor from the connection point of the transistors Q1 and Q2 through the resistor R5, and the other signal line 222 is Transistor Q3 and photo coupler P
It is commonly connected to each sensor through a resistor R12 from a connection point with C1.

【0010】各センサ内ではこうした信号線221 ,2
22 に対し直列に、抵抗及びフォトカプラが接続され
る。即ち、例えばセンサ31 の場合は抵抗R13とフォ
トカプラPC2とが直列に接続され、センサ3n の場合
は抵抗R17とフォトカプラPC4とが直列に接続され
る。そして、主装置1側で各センサに信号を送信するた
めに、トランジスタQ2及びQ3をオンすると、トラン
ジスタQ3から信号線222 に電流が流れ、この電流は
例えばセンサ31 内の抵抗R13,フォトカプラPC2
を通って信号線221 に達し、さらにトランジスタQ2
に流れ込む電流ループ(第1の電流ループ)が形成され
る。こうした信号線22の通電状況がセンサ31 ではフ
ォトカプラPC2に流れる電流として検出されバッファ
IC3を介してCPU33に伝達される。
In each sensor, such signal lines 221 and 2
A resistor and a photocoupler are connected in series with 22. That is, for example, in the case of the sensor 31 the resistor R13 and the photocoupler PC2 are connected in series, and in the case of the sensor 3n the resistor R17 and the photocoupler PC4 are connected in series. Then, when the transistors Q2 and Q3 are turned on in order to transmit a signal to each sensor on the main device 1 side, a current flows from the transistor Q3 to the signal line 222, and this current is, for example, the resistor R13 in the sensor 31 and the photocoupler PC2.
To reach the signal line 221 and further to the transistor Q2
A current loop (first current loop) flowing into the is formed. The current-carrying state of the signal line 22 is detected by the sensor 31 as a current flowing through the photocoupler PC2 and transmitted to the CPU 33 via the buffer IC3.

【0011】また、センサ3n 内においては、同様に、
信号線222 に流れた電流がセンサ3n 内の抵抗R1
7,フォトカプラPC4を通って信号線221 に達し、
主装置1のトランジスタQ2に流れ込む。そして、セン
サ3n ではフォトカプラPC4に流れる電流を検出して
バッファIC5を介しCPU33に伝達する。このよう
にして主装置1からは、送信信号を各センサに一斉に与
えるいわゆる放送形式で信号が伝達される。そして、こ
の場合の信号電流は上述したように信号線222 から信
号線221 の方向に流れる。
In the sensor 3n, similarly,
The current flowing through the signal line 222 is the resistance R1 in the sensor 3n.
7. Reach the signal line 221 through the photo coupler PC4,
It flows into the transistor Q2 of the main device 1. Then, the sensor 3n detects the current flowing through the photocoupler PC4 and transmits it to the CPU 33 via the buffer IC5. In this way, signals are transmitted from the main device 1 in a so-called broadcast format in which a transmission signal is simultaneously given to each sensor. The signal current in this case flows from the signal line 222 to the signal line 221 as described above.

【0012】このような主装置1側からの信号の伝送に
対し、各センサから主装置1側には次のようにして信号
が送信される。即ち、例えばセンサ31 では、まずフォ
トカプラPC2及び抵抗R13に対し並列にフォトカプ
ラPC3,抵抗R14及びダイオードD1を接続し第2
の電流ループを形成する。そして、バッファIC4を制
御してフォトカプラPC3をオン・オフすることにより
信号を主装置1側へ伝達する。この場合、主装置1側の
トランジスタQ1,Q4はともにオン状態になっている
ため、トランジスタQ1から抵抗R5を通って信号線2
21 に流れる電流を、センサ31 内の第2の電流ループ
であるフォトカプラPC3,抵抗R14及びダイオード
D1を介して信号線222 に送出し、さらに主装置1内
の抵抗R12,R10,及びフォトカプラPC1を介し
てトランジスタQ4に流出させるようにする。
In response to such signal transmission from the main device 1 side, signals are transmitted from each sensor to the main device 1 side as follows. That is, in the sensor 31 for example, first, the photocoupler PC3, the resistor R14 and the diode D1 are connected in parallel to the photocoupler PC2 and the resistor R13.
To form a current loop. Then, the signal is transmitted to the main device 1 side by controlling the buffer IC 4 to turn on / off the photocoupler PC3. In this case, since the transistors Q1 and Q4 on the main device 1 side are both turned on, the signal line 2 is passed from the transistor Q1 through the resistor R5.
The current flowing in 21 is sent to the signal line 222 through the photocoupler PC3, the resistor R14 and the diode D1 which are the second current loop in the sensor 31, and the resistors R12, R10 in the main unit 1 and the photocoupler. It is made to flow out to the transistor Q4 via PC1.

【0013】また、センサ3n においても同様にフォト
カプラPC5をオン・オフすると、主装置1側から信号
線221 を介する電流を、センサ3n 内のフォトカプラ
PC5,抵抗R18及びダイオードD2を介して信号線
222 に出力し、主装置1内の抵抗R12,R10,及
びフォトカプラPC1を通ってトランジスタQ4に流出
させる。このようにして、各センサから主装置1へ信号
を伝送する場合は、主装置1からセンサに信号を送信す
る場合と逆の方向(つまり、信号線221 から信号線2
22 の方向)に電流が流れる。従って、信号を送信しな
いセンサには信号を送信しているセンサからの送信信号
の回り込みを防止することができる。
Similarly, in the sensor 3n, when the photocoupler PC5 is turned on / off, the current from the main device 1 side is sent through the signal line 221 through the photocoupler PC5, the resistor R18 and the diode D2 in the sensor 3n. The signal is output to the line 222, and is output to the transistor Q4 through the resistors R12 and R10 in the main device 1 and the photocoupler PC1. In this way, when transmitting a signal from each sensor to the main device 1, the direction opposite to that when transmitting a signal from the main device 1 to the sensor (that is, from the signal line 221 to the signal line 2) is used.
Electric current flows in the 2 2 direction). Therefore, it is possible to prevent the transmission signal from the sensor transmitting the signal from wrapping around the sensor that does not transmit the signal.

【0014】なお、各センサから主装置1に信号を送信
する場合は、各センサでは同時に信号を送信せずに何れ
かのセンサが送信を行うように構成する。即ち、主装置
1からセンサに信号を送信するときには、主装置1では
センサの識別コードを送信する。すると、各センサでは
この送信信号を受信してID設定部34で設定された識
別コードを参照し該当する識別コードのセンサのみが主
装置1側に信号を返送する。
When transmitting a signal from each sensor to the main device 1, each sensor does not transmit a signal at the same time, but one of the sensors transmits. That is, when transmitting a signal from the main device 1 to the sensor, the main device 1 transmits the sensor identification code. Then, each sensor receives this transmission signal, refers to the identification code set by the ID setting unit 34, and only the sensor having the corresponding identification code returns a signal to the main device 1 side.

【0015】次に、図1を参照し本発明の要部動作につ
いてさらに詳細に説明する。主装置は、状態を検出した
いセンサが存在する場合は、上述したように該当するセ
ンサの識別コードと該当のコマンドを各センサに対し一
斉に送信する。即ち、この場合まずCPU18Aからの
出力としてデータ「1」(「H」レベル)を出力する。
すると、トランジスタQ1がオフ、トランジスタQ2が
オンとなる。また、このときバッファIC2の出力が
「L」レベルとなることからトランジスタQ3がオン、
トランジスタQ4はオフとなる。
Next, the operation of the main part of the present invention will be described in more detail with reference to FIG. When there is a sensor whose state is desired to be detected, the main device simultaneously transmits the identification code of the corresponding sensor and the corresponding command to each sensor as described above. That is, in this case, first, the data "1"("H" level) is output as the output from the CPU 18A.
Then, the transistor Q1 is turned off and the transistor Q2 is turned on. Further, at this time, since the output of the buffer IC2 becomes "L" level, the transistor Q3 is turned on,
The transistor Q4 is turned off.

【0016】この結果、オンしたトランジスタQ3及び
抵抗R12を通って信号線222 に電流が流れ、各セン
サ内の抵抗及びフォトカプラ(例えばセンサ31 の場合
は抵抗R13及びフォトカプラPC2、センサ3n の場
合は抵抗R17及びフォトカプラPC4)を通って信号
線221 に流出し、さらに主装置1内の抵抗R5及びオ
ンしたトランジスタQ2を通ってグランドに流出する。
この結果、例えばセンサ31 ,3n ではそれぞれフォト
カプラPC2,PC4がオンし、それぞれバッファIC
3,IC5を介して各CPU33にデータ「1」が伝達
される。
As a result, a current flows through the signal line 222 through the turned-on transistor Q3 and the resistor R12, and a resistor and a photocoupler in each sensor (for example, the resistor R13 in the case of the sensor 31 and the photocoupler PC2 and the sensor 3n). Flows through the resistor R17 and the photocoupler PC4) to the signal line 221, and further flows through the resistor R5 in the main unit 1 and the turned-on transistor Q2 to the ground.
As a result, for example, in the sensors 31 and 3n, the photocouplers PC2 and PC4 are turned on, and the buffer ICs are turned on.
3, data "1" is transmitted to each CPU 33 via IC5.

【0017】次に主装置1のCPU18Aがデータ
「0」(「L」レベル)を送信する場合は、トランジス
タQ1がオン、トランジスタQ2はオフする。また、こ
のときバッファIC2の出力は「H」レベルであること
から、トランジスタQ3はオフ、トランジスタQ4はオ
ンする。この場合、信号線22には電流が流れないこと
から、センサ31 ,3n ではそれぞれフォトカプラPC
2,PC4はオフ状態となり、従って、それぞれバッフ
ァIC3,IC5を介して各CPU33にデータ「0」
が伝達される。こうして、信号線22の電流の有無によ
り各センサにデータが伝達される。
Next, when the CPU 18A of the main device 1 transmits data "0"("L" level), the transistor Q1 is turned on and the transistor Q2 is turned off. At this time, since the output of the buffer IC2 is at the "H" level, the transistor Q3 is off and the transistor Q4 is on. In this case, since no current flows through the signal line 22, the photocoupler PC is connected to each of the sensors 31 and 3n.
2 and PC4 are turned off, so that data “0” is sent to each CPU 33 via the buffer IC3 and IC5.
Is transmitted. In this way, data is transmitted to each sensor depending on the presence / absence of current in the signal line 22.

【0018】そして、主装置1のCPU18Aから各セ
ンサにデータが送信された後では、CPU18Aは、各
トランジスタQ1〜Q4を上述のデータ「0」の送信時
と同様の状態に設定し、センサ側からのデータを受信す
る。即ち、トランジスタQ1,Q4をオン状態、トラン
ジスタQ2,Q3をオフ状態にする。ここで、主装置1
側からのコマンド送信時に送信された識別コードに合致
するセンサが例えばセンサ31 であるとすると、センサ
31 のCPU33は、接点部40の状況を検出してこの
接点データをバッファIC4に出力する。
After the data is transmitted from the CPU 18A of the main unit 1 to each sensor, the CPU 18A sets each of the transistors Q1 to Q4 to the same state as when transmitting the above-mentioned data "0" and the sensor side. Receive data from. That is, the transistors Q1 and Q4 are turned on and the transistors Q2 and Q3 are turned off. Here, the main device 1
If the sensor that matches the identification code transmitted when the command is transmitted from the side is the sensor 31 for example, the CPU 33 of the sensor 31 detects the condition of the contact portion 40 and outputs this contact data to the buffer IC 4.

【0019】この場合、CPU33からデータ「1」
(「H」レベル)が出力されたとすると、バッファIC
4の出力が「L」レベルとなることから、フォトカプラ
PC3がオンする。すると、トランジスタQ1→抵抗R
5→信号線221 →フォトカプラPC3→抵抗R14→
ダイオードD1→信号線222 →抵抗R12→抵抗R1
0→フォトカプラPC1→トランジスタQ4の方向に電
流が流れる。この結果、主装置1のCPU18Aはフォ
トカプラPC1に流れる電流を、バッファIC1を介し
て「H」レベルの信号として検出する。従って、センサ
31 の出力データ「1」をデータ「1」として受信する
ことができる。
In this case, the data "1" is sent from the CPU 33.
(“H” level) is output, the buffer IC
Since the output of 4 becomes "L" level, the photocoupler PC3 is turned on. Then transistor Q1 → resistor R
5 → signal line 221 → photo coupler PC3 → resistor R14 →
Diode D1 → signal line 222 → resistor R12 → resistor R1
A current flows in the direction of 0 → photo coupler PC1 → transistor Q4. As a result, the CPU 18A of the main device 1 detects the current flowing through the photocoupler PC1 as an “H” level signal via the buffer IC1. Therefore, the output data "1" of the sensor 31 can be received as the data "1".

【0020】また、センサ31 からデータ「0」が出力
される場合は、センサ31 内のフォトカプラPC3がオ
ンしないことから信号線22には電流が流れず、従って
主装置1内のCPU18AはバッファIC1を介してデ
ータ「0」を受信する。このようにして主装置1と各セ
ンサ間でデータ伝送が行われる。この場合、主装置側及
び各センサ側では、自身がデータ「1」を送信するとき
以外は、データの出力ポートを常に「L」レベルに設定
しておけば良く、従って、特に送信及び受信の切り替え
を意識しなくても双方向の伝送を実現することができ、
制御が簡素化されると共に送受切り替えためのポートを
不要にすることができる。
When the sensor 31 outputs the data "0", the photocoupler PC3 in the sensor 31 does not turn on, so that no current flows through the signal line 22. Therefore, the CPU 18A in the main unit 1 buffers. Data "0" is received via IC1. In this way, data transmission is performed between the main device 1 and each sensor. In this case, the main device side and each sensor side may always set the data output port to the “L” level except when the data itself is transmitted “1”. Bidirectional transmission can be realized without being aware of switching,
It is possible to simplify the control and eliminate the need for a port for switching between transmission and reception.

【0021】また、この例のように主装置1側から各セ
ンサに電源を供給する必要が無い場合(即ち、各センサ
が電池等で動作している場合)は、フォトカプラを利用
して最少の2本の信号線221 ,222 により信号を送
受信できると共に、これらの信号線221 ,222 はそ
れぞれ電源線及びグランド線ではないことから、信号伝
送に与えるコモンモードノイズの影響を軽減することが
できる。また、フォトカプラにより主装置1と各センサ
間が電気的に絶縁されているため、主装置1と各センサ
間とを異なった電源系で動作させることができる。
When it is not necessary to supply power to each sensor from the main device 1 side as in this example (that is, each sensor is operated by a battery or the like), a photo coupler is used to minimize the power consumption. Signals can be transmitted and received by the two signal lines 221 and 222, and since these signal lines 221 and 222 are not the power line and the ground line, respectively, the influence of common mode noise on the signal transmission can be reduced. . Further, since the main device 1 and each sensor are electrically insulated by the photo coupler, the main device 1 and each sensor can be operated by different power supply systems.

【0022】また、主装置1に対して他のセンサがデー
タを送信しているときには、このデータの回り込みが防
止されているため、その回り込みデータの誤認識が未然
に回避できることから、データフォーマットを単純化し
データ数を少なくして送信することができる。この結
果、データの伝送速度を高速にする必要が無く、従って
簡単かつ安価な構成により長距離伝送を可能にすること
ができる。
Further, when another sensor is transmitting data to the main device 1, this data wraparound is prevented, so that erroneous recognition of the wraparound data can be avoided in advance. It can be simplified and transmitted with a small number of data. As a result, there is no need to increase the data transmission speed, and therefore long-distance transmission can be made possible with a simple and inexpensive structure.

【0023】[0023]

【発明の効果】以上説明したように本発明によれば、主
装置と各センサ間に共通の一対の信号線からなる第1の
電流ループを形成し、この第1の電流ループの電流の有
無により信号の伝送を行うようにしたので、長距離伝送
を行う場合に最少の信号線で信号を伝送できる。また、
主装置は第1の電流ループの通電及び非通電により各セ
ンサに信号を送信する一方、各センサに、第1の電流ル
ープに並列接続されかつ第1の電流ループの電流極性と
逆極性の電流極性を有する第2の電流ループを設け、各
センサは第1の電流ループの非通電時に第2の電流ルー
プを通電及び非通電することにより第1の電流ループを
逆極性に通電及び非通電を行って主装置に信号を送信す
るようにしたので、各センサにおいては、信号の送信時
と受信時では第1の電流ループの電流極性が異なるた
め、主装置に対して他のセンサがデータを送信している
ときには、この送信データの回り込みが防止され、従っ
てその回り込みデータの誤認識が未然に回避できること
から、データフォーマットを単純化しデータ数を少なく
して送信できる。従って、データの伝送速度を高速にす
る必要が無く、簡単かつ安価な構成により長距離伝送を
可能にすることができる。
As described above, according to the present invention, a first current loop consisting of a pair of common signal lines is formed between the main device and each sensor, and the presence or absence of current in the first current loop is formed. Since the signal is transmitted by the method, the signal can be transmitted with the minimum number of signal lines when the long distance transmission is performed. Also,
The main device sends a signal to each sensor by energizing and de-energizing the first current loop, while a current connected to each sensor in parallel with the first current loop and having a polarity opposite to the current polarity of the first current loop. A second current loop having a polarity is provided, and each sensor energizes and de-energizes the second current loop when the first current loop is de-energized to energize and de-energize the first current loop in the opposite polarity. Since the signal is sent to the main device by doing so, in each sensor, the current polarity of the first current loop is different between when the signal is sent and when the signal is received. During transmission, the wraparound of the transmitted data is prevented, and therefore erroneous recognition of the wraparound data can be avoided in advance, so that the data format can be simplified and the number of data can be reduced. Therefore, it is not necessary to increase the data transmission rate, and long-distance transmission can be realized with a simple and inexpensive structure.

【0024】また、主装置に、第1ないし第4のスイッ
チング素子を設け、第1及び第2のスイッチング素子を
直列接続すると共に、第3及び第4のスイッチング素子
を直列接続し、第1及び第2のスイッチング素子間の接
続点である第1の接続点と第3及び第4のスイッチング
素子間の接続点である第2の接続点間を結んで前記第1
の電流ループを形成し、第1及び第4のスイッチング素
子をオフして第2及び第3のスイッチング素子をオン・
オフすることにより各センサに信号を送信し、かつ前記
第2の接続点と第4のスイッチング素子の間に第1のフ
ォトカプラを設け、第2及び第3のスイッチング素子を
オフすると共に第1及び第4のスイッチング素子をオン
することにより第1のフォトカプラの出力から各センサ
の信号を受信する一方、各センサに、第1の電流ループ
の電流の有無を検出する第2のフォトカプラを設け、第
2のフォトカプラの出力に基づき主装置からの信号を受
信すると共に、第2の電流ループに第3のフォトカプラ
を設け、第3のフォトカプラの出力により主装置へ信号
を送信するようにしたので、簡単な構成でかつ最少の信
号線により確実に信号を伝送できると共に、主装置と各
センサとを異なる電源系で動作させることができる。
Further, the main device is provided with first to fourth switching elements, the first and second switching elements are connected in series, and the third and fourth switching elements are connected in series to provide the first and fourth switching elements. The first connection point, which is a connection point between the second switching elements, and the second connection point, which is a connection point between the third and fourth switching elements, are connected to each other to form the first connection point.
Forming a current loop, turning off the first and fourth switching elements and turning on the second and third switching elements.
When turned off, a signal is transmitted to each sensor, and a first photocoupler is provided between the second connection point and the fourth switching element to turn off the second and third switching elements and Also, by turning on the fourth switching element, the signal of each sensor is received from the output of the first photocoupler, while each sensor is provided with a second photocoupler for detecting the presence or absence of current in the first current loop. A third photocoupler is provided in the second current loop while receiving a signal from the main device based on the output of the second photocoupler, and a signal is transmitted to the main device by the output of the third photocoupler. With this configuration, it is possible to reliably transmit a signal with a simple structure and a minimum number of signal lines, and it is possible to operate the main device and each sensor with different power supply systems.

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

【図1】 本発明に係る監視装置の要部構成を示す回路
図である。
FIG. 1 is a circuit diagram showing a main configuration of a monitoring device according to the present invention.

【図2】 監視装置の概略の構成を示すブロック図であ
る。
FIG. 2 is a block diagram showing a schematic configuration of a monitoring device.

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

1…主装置、31 〜3n …センサ、18…制御部、18
A,33…CPU、17,32…I/F部、22,22
1 ,222 …信号線、34…ID設定部、40…接点
部、Q1〜Q4…トランジスタ、PC1〜PC5…フォ
トカプラ、D1,D2…ダイオード、IC1〜IC6…
バッファ、R1〜R20…抵抗。
DESCRIPTION OF SYMBOLS 1 ... Main device, 31-3n ... Sensor, 18 ... Control part, 18
A, 33 ... CPU, 17, 32 ... I / F section, 22, 22
1, 222 ... Signal line, 34 ... ID setting section, 40 ... Contact section, Q1-Q4 ... Transistor, PC1-PC5 ... Photocoupler, D1, D2 ... Diode, IC1-IC6 ...
Buffer, R1 to R20 ... Resistors.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 主装置と複数のセンサとからなり、主装
置は各センサと信号の伝送を行うことにより各センサに
よる検出状況を監視する監視装置において、主装置と各
センサ間に共通の一対の信号線からなる第1の電流ルー
プを形成し、この第1の電流ループの電流の有無により
信号の伝送を行うことを特徴とする監視装置。
1. A monitoring device comprising a main device and a plurality of sensors, wherein the main device monitors the detection status of each sensor by transmitting a signal to each sensor. A monitoring device, characterized in that a first current loop formed of the signal line is formed, and a signal is transmitted depending on the presence or absence of a current in the first current loop.
【請求項2】 請求項1において、 主装置は前記第1の電流ループの通電及び非通電により
各センサに信号を送信する一方、各センサに、第1の電
流ループに並列接続されかつ第1の電流ループの電流極
性と逆極性の電流極性を有する第2の電流ループを設
け、各センサは主装置からの信号が送信された後の第1
の電流ループの非通電時に第2の電流ループの通電及び
非通電を行うことにより第1の電流ループの電流極性が
主装置側からの送信方向と逆極性となるように通電及び
非通電を行って主装置に信号を送信することを特徴とす
る監視装置。
2. The main unit according to claim 1, wherein the main device transmits a signal to each sensor by energizing and de-energizing the first current loop, while each sensor is connected in parallel to the first current loop and includes a first current loop. A second current loop having a current polarity opposite to the current polarity of the current loop is provided, and each sensor has a first current loop after the signal from the main device is transmitted.
By energizing and de-energizing the second current loop when the current loop is de-energized, energization and de-energization are performed so that the current polarity of the first current loop is opposite to the transmission direction from the main device side. The monitoring device is characterized by transmitting a signal to the main device.
【請求項3】 請求項2において、 主装置に、第1ないし第4のスイッチング素子を設け、
第1及び第2のスイッチング素子を直列接続すると共
に、第3及び第4のスイッチング素子を直列接続し、第
1及び第2のスイッチング素子間の接続点である第1の
接続点と第3及び第4のスイッチング素子間の接続点で
ある第2の接続点間を結んで前記第1の電流ループを形
成し、第1及び第4のスイッチング素子をオフして第2
及び第3のスイッチング素子をオン・オフすることによ
り各センサに信号を送信し、かつ前記第2の接続点と第
4のスイッチング素子の間に第1のフォトカプラを設
け、第2及び第3のスイッチング素子をオフすると共に
第1及び第4のスイッチング素子をオンすることにより
各センサからの信号を前記第1のフォトカプラの出力に
基づいて受信する一方、各センサに、第1の電流ループ
の電流の有無を検出する第2のフォトカプラを設け、第
2のフォトカプラの出力に基づき主装置からの信号を受
信すると共に、第2の電流ループに第3のフォトカプラ
を設け、第3のフォトカプラの出力により主装置へ信号
を送信することを特徴とする監視装置。
3. The main device according to claim 2, wherein the main device is provided with first to fourth switching elements,
The first and second switching elements are connected in series, the third and fourth switching elements are connected in series, and the first connection point, which is a connection point between the first and second switching elements, and the third and fourth A second connection point, which is a connection point between the fourth switching elements, is connected to form the first current loop, and the first and fourth switching elements are turned off to generate the second switching element.
A signal is transmitted to each sensor by turning on and off the third switching element, and a first photocoupler is provided between the second connection point and the fourth switching element, and the second and third switching elements are provided. The signal from each sensor is received on the basis of the output of the first photocoupler by turning off the switching elements of the first and fourth switching elements and turning on the first and fourth switching elements. A second photocoupler for detecting the presence or absence of current is received, a signal from the main device is received based on the output of the second photocoupler, and a third photocoupler is provided in the second current loop. A monitoring device, wherein a signal is transmitted to the main device by the output of the photocoupler.
JP30564695A 1995-11-24 1995-11-24 Monitoring device Expired - Fee Related JP3161308B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30564695A JP3161308B2 (en) 1995-11-24 1995-11-24 Monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30564695A JP3161308B2 (en) 1995-11-24 1995-11-24 Monitoring device

Publications (2)

Publication Number Publication Date
JPH09147274A true JPH09147274A (en) 1997-06-06
JP3161308B2 JP3161308B2 (en) 2001-04-25

Family

ID=17947645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30564695A Expired - Fee Related JP3161308B2 (en) 1995-11-24 1995-11-24 Monitoring device

Country Status (1)

Country Link
JP (1) JP3161308B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002216257A (en) * 2001-01-17 2002-08-02 Aiphone Co Ltd Security system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002216257A (en) * 2001-01-17 2002-08-02 Aiphone Co Ltd Security system

Also Published As

Publication number Publication date
JP3161308B2 (en) 2001-04-25

Similar Documents

Publication Publication Date Title
JP3161308B2 (en) Monitoring device
JPH02214244A (en) Power transmission device serving also as transmitter
JP2003283503A (en) Home network and equipment adapter
JP2682344B2 (en) Multi-device system control method
JPH07103493A (en) Hot-water type central heating system
JP2565956B2 (en) Network controller
JP3047648B2 (en) Public telephone system
KR100291866B1 (en) Digital remote monitoring and control system
JPS5827455A (en) Failure countermeasure system for button telephone set
JP3282464B2 (en) Remote control system
JP3338613B2 (en) Line terminal equipment
JP4099851B2 (en) Data terminal communication system
JPS60146553A (en) Information transmission system
JPH0641415Y2 (en) Station line circuit of telemeter system
JP2596490Y2 (en) PB signal direction determination device
JP3228636B2 (en) Terminal network controller
JPS60165896A (en) Remote control terminal device
JPS6310948A (en) Telephone set adapter for home bus system
JPH06253046A (en) Terminal side network controller
JPH04157839A (en) Line branching device
JPH0690301A (en) Network controller for terminal equipment
JPH0815291B2 (en) Discrimination method for slave stations with data transmission / reception failure
JPH02309835A (en) 2-wire type bi-directional interface circuit
JPS6249747A (en) Power supply control device for communication system
JPS63236438A (en) Modem

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees