JP2804339B2 - Transmission unit - Google Patents

Transmission unit

Info

Publication number
JP2804339B2
JP2804339B2 JP9104890A JP9104890A JP2804339B2 JP 2804339 B2 JP2804339 B2 JP 2804339B2 JP 9104890 A JP9104890 A JP 9104890A JP 9104890 A JP9104890 A JP 9104890A JP 2804339 B2 JP2804339 B2 JP 2804339B2
Authority
JP
Japan
Prior art keywords
sensor
current
current path
circuit
output
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
JP9104890A
Other languages
Japanese (ja)
Other versions
JPH03201700A (en
Inventor
成大 志野
和彦 上村
亀代司 藏下
Original Assignee
和泉電気株式会社
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 和泉電気株式会社 filed Critical 和泉電気株式会社
Priority to US07/678,861 priority Critical patent/US5140622A/en
Priority to EP91302908A priority patent/EP0450930B1/en
Priority to DE69123773T priority patent/DE69123773T2/en
Publication of JPH03201700A publication Critical patent/JPH03201700A/en
Application granted granted Critical
Publication of JP2804339B2 publication Critical patent/JP2804339B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 (a)産業上の利用分野 この発明は、防災,防犯システムやロボットコントロ
ール等の情報伝送システムに適用される伝送ユニットに
関する。
The present invention relates to a transmission unit applied to an information transmission system such as a disaster prevention and crime prevention system and a robot control.

(b)従来の技術 リモートセンシングシステムを含む情報伝送システム
は、コントローラと任意の場所に設置された端末と、こ
の端末とコントローラとを接続する伝送ラインとで構成
され、各端末で得られた情報をコントローラで収集、処
理するともに、コントローラから各端末に情報を伝送す
るものである。このようなリモードセンシングシステム
では、一般に、コントローラ側とセンサ端末側との情報
のやりとりを信号の多重化によって行っていた。すなわ
ち、周波数を分割したり、時分割方式によって信号の多
重伝送を実現するようにしていた。
(B) Conventional technology An information transmission system including a remote sensing system includes a controller, a terminal installed at an arbitrary place, and a transmission line connecting the terminal and the controller. Is collected and processed by the controller, and information is transmitted from the controller to each terminal. In such a remote sensing system, information exchange between the controller side and the sensor terminal side is generally performed by multiplexing signals. That is, multiplex transmission of signals is realized by frequency division or time division.

(c)発明が解決しようとする課題 しかしながら、多重伝送による情報伝送システムで
は、コントローラ側と各センサ端末側のそれぞれに伝送
制御部を設ける必要があり、非常に高価になる欠点があ
った。
(C) Problems to be Solved by the Invention However, in the information transmission system by multiplex transmission, it is necessary to provide a transmission control unit on each of the controller side and each sensor terminal side, and there is a disadvantage that it becomes very expensive.

この発明の目的は、上記のような伝送制御部を全く不
要とする新規な方式の伝送ユニットを提供することにあ
る。
SUMMARY OF THE INVENTION An object of the present invention is to provide a transmission unit of a new system which does not require the transmission control unit as described above.

(d)課題を解決するための手段 請求項(1)に記載した発明は、コントローラ側を電
流源として、並列に接続された各センサ端末側に電流を
供給する2線式電流経路を設け、 各センサ端末は、前記2線式電流経路の入力線と接地
線との間に電流経路のコントローラ側から後段のセンサ
端末側に向かって第1の電流路及び第2の電流路をこの
順に形成する分流回路と、 分流回路によって構成された第2の電流路を開閉する
センサと、 電流経路のコントローラ側を、非作動時には第2の電
流路に、作動時には後段のセンサ端末側に切換接続する
ゲート回路と、 前記分流回路への通電後に一定時間遅延して前記ゲー
ト回路を作動させる遅延切換回路と、を備え、 前記コントローラは、各センサ端末のゲート回路が順
次作動する間において電流経路を流れる電流の大きさを
検出する電流検出回路を備えたことを特徴とする。
(D) Means for Solving the Problems According to the invention described in claim (1), a two-wire current path for supplying a current to each of the sensor terminals connected in parallel with the controller as a current source is provided, Each sensor terminal forms a first current path and a second current path in this order from the controller side of the current path to the subsequent sensor terminal side between the input line of the two-wire type current path and the ground line. Shunt circuit, a sensor for opening and closing a second current path constituted by the shunt circuit, and a controller side of the current path is switched to the second current path when not in operation and to a sensor terminal side at the subsequent stage when in operation. A gate circuit, and a delay switching circuit that activates the gate circuit with a certain delay after energizing the shunt circuit, wherein the controller controls the current during the sequential operation of the gate circuits of the sensor terminals. Characterized by comprising a current detecting circuit for detecting the magnitude of current flowing through the road.

請求項(2)に記載した発明は、コントローラ側を電
流源として、並列に接続された各センサ端末側に電流を
供給する2線式電流経路を設け、 各センサ端末は、前記2線式電流経路の入力線と接地
線との間に形成した電流路を開閉するセンサと、 センサの作動状態に応じて電流路のインピーダンス値
を変える可変インピーダンス回路と、 電流経路の入力線が電流源に接続された時から一定時
間T1だけ電流路における電流経路の入力線とセンサの間
を接続する第1のゲート回路と、 電流経路の入力線が電流源に接続された時から一定時
間T2(T2>T1)経過時に電流経路の入力線におけるコン
トローラと後段のセンサ端末との間を接続する第2のゲ
ート回路とを備え、 前記コントローラは、各センサ端末の第1のゲート回
路が順次作動する間において電流経路を流れる電流の大
きさを検出する電流経路の電流検出回路を備えたことを
特徴とする。
According to a second aspect of the present invention, a two-wire current path for supplying a current to each of the sensor terminals connected in parallel with the controller as a current source is provided. A sensor that opens and closes the current path formed between the input line of the path and the ground line, a variable impedance circuit that changes the impedance value of the current path according to the operating state of the sensor, and the input line of the current path is connected to the current source A first gate circuit that connects between the input line of the current path and the sensor in the current path for a certain time T1 from the time when the current is input, and a certain time T2 (T2> T1) a second gate circuit that connects between the controller on the input line of the current path and the subsequent sensor terminal at the time of elapsing, wherein the controller operates while the first gate circuit of each sensor terminal operates sequentially. You And a current path current detection circuit for detecting the magnitude of the current flowing through the current path.

請求項(3)に記載した発明は、前記可変インピーダ
ンス回路に対して前記センサを接離自在に備えるととも
に、前記コントローラから前記各センサ端末に出力デー
タを伝送するデータ伝送経路と、前記第1のゲート回路
が電流路における電流経路の入力線とセンサとの間を接
続している間におけるデータ伝送経路の出力データの有
無に応じて出力を切り換える出力回路と、を設けたこと
を特徴とする。
The invention described in claim (3) is characterized in that the sensor is provided so as to be capable of coming and going with respect to the variable impedance circuit, and a data transmission path for transmitting output data from the controller to each of the sensor terminals; An output circuit for switching an output according to the presence or absence of output data on the data transmission path while the gate circuit connects the input line of the current path and the sensor in the current path.

請求項(4)に記載した発明は、上記請求項(3)に
記載した発明において、データ伝送経路の出力データを
検出する出力データ検出手段と、データ伝送経路と異な
る経路で供給される電源で駆動され、出力データ検出手
段による出力データ検出時に出力切換信号を出力する出
力信号切換回路と、から前記出力回路を構成したことを
特徴とする。
The invention described in claim 4 is the invention according to claim 3, wherein the output data detection means for detecting output data of the data transmission path and a power supply supplied through a path different from the data transmission path. An output signal switching circuit that is driven and outputs an output switching signal when output data is detected by the output data detection means, wherein the output circuit is configured.

請求項(5)に記載した発明は、上記請求項(2)〜
(4)に記載した発明において、第2のゲート回路に含
まれるスイッチ素子をMOSFETで構成したことを特徴とす
る。
The invention described in claim (5) provides the above-described claim (2) to (5).
The invention described in (4) is characterized in that the switch element included in the second gate circuit is constituted by a MOSFET.

また、請求項(6)に記載した発明は、上記請求項
(1)〜(5)に記載した発明において、単一または複
数の前記センサ端末を一体の端子台に構成したことを特
徴とする。
The invention described in claim (6) is characterized in that, in the invention described in claims (1) to (5), one or a plurality of the sensor terminals are configured as an integrated terminal block. .

(e)作用 第1図は請求項(1)に記載した発明の伝送ユニット
が用いられるリモートセンシングシステムの構成図を示
している。図において1はコントローラ、2はセンサ端
末であり、各センサ端末2はコントローラ1に対して並
列にカスケード状にして、2線式電流経路3によって接
続されている。
(E) Operation FIG. 1 shows a configuration diagram of a remote sensing system using the transmission unit of the invention described in claim (1). In the figure, 1 is a controller, 2 is a sensor terminal, and each sensor terminal 2 is cascaded in parallel with the controller 1 and connected by a two-wire current path 3.

センサ端末2は、電流経路3の電流源側(上流側)非
作動時には抵抗R1b,R2b,…とセンサS1,S2…との直列回
路からなるセンサ回路側に、作動時には負荷側(下流
側)、すなわち後段のセンサ端末側に切換接続するゲー
ト回路G1,G2,…を備えるとともに、電流経路3に流れる
電流を分流させる抵抗R1a,R2a,…からなる分流回路と、
この分流回路への通電後に一定時間遅延してゲート回路
G(G1,G2,…)を作動させて前記電流源側を前記負荷側
へ接続させる、例えばリレーから成る遅延切換回路RY
(RY1,RY2,…)とから構成されている。また、コントロ
ーラ1は電流経路3に対して電流を供給する電流源1a
と、電流経路3に流れる電流の大きさを検出する電流検
出回路1bとを備えている。
The sensor terminal 2 is on the current source side (upstream side) of the current path 3 on the sensor circuit side composed of a series circuit of the resistors R1b, R2b,... And the sensors S1, S2. , That is, a shunt circuit including resistors R1a, R2a,... That shunt the current flowing through the current path 3 while providing gate circuits G1, G2,.
A delay switching circuit RY composed of, for example, a relay for operating the gate circuit G (G1, G2,...) To connect the current source side to the load side with a delay for a predetermined time after the current is supplied to the shunt circuit.
(RY1, RY2, ...). Further, the controller 1 includes a current source 1a for supplying a current to the current path 3.
And a current detection circuit 1b for detecting the magnitude of the current flowing through the current path 3.

即ち、各センサ端末2において、電流経路3の入力線
と接地線との間に、分流回路の抵抗R1aを接続した第1
の電流路と、ゲート回路G1、分流回路の抵抗R1b及びセ
ンサS1を接続した第2の電流路と、が形成されており、
電流経路3の入力線を介してセンサ端末2に電流が供給
された時点ではゲート回路G1が電流経路3の入力線を第
2の電流路に接続している。この後、一定時間を経過す
ると遅延切換回路RY1によりゲート回路G1が電流回路3
の入力線を後段のセンサ端末2に接続する。
That is, in each sensor terminal 2, the first R1a of the shunt circuit is connected between the input line of the current path 3 and the ground line.
And a second current path connecting the gate circuit G1, the resistor R1b of the shunt circuit, and the sensor S1 are formed,
When a current is supplied to the sensor terminal 2 via the input line of the current path 3, the gate circuit G1 connects the input line of the current path 3 to the second current path. Thereafter, when a certain time has elapsed, the gate circuit G1 is switched by the delay switching circuit RY1 to the current circuit 3
Is connected to the sensor terminal 2 at the subsequent stage.

以上の構成のリモートセンシングシステムにおいて、
今、コントローラ1の電流源1aに対してオン信号を出す
と、先ず、コントローラ1に最も近いセンサ端末2の分
流経路、すなわち、抵抗R1aに電流i1が流れる。同時に
遅延切換経路RY1にも電流が流れこの回路が作動する。
また、抵抗R1bと、センサS1とからなるセンサ回路に対
して電流が流れる様、ゲート回路G1は非作動状態にあ
る。仮にこのとき、センサS1がオフ状態であると電流i2
が流れない。すなわち、遅延切換回路RY1に対して流れ
る電流を無視すると、このセンサ端末に対して流れる電
流は分流回路である抵抗R1aに流れる電流i1だけとな
る。
In the remote sensing system with the above configuration,
Now, the issue on signal to the current source 1a of the controller 1, first, the closest shunt path of the sensor terminal 2 to the controller 1, i.e., the current i 1 flows through the resistor R1a. At the same time, current also flows through the delay switching path RY1, and this circuit operates.
The gate circuit G1 is in a non-operating state so that a current flows through a sensor circuit including the resistor R1b and the sensor S1. At this time, if the sensor S1 is off, the current i 2
Does not flow. That is, ignoring the current flowing through the delay switching circuit RY1, the current flowing with respect to the sensor terminal becomes only the current i 1 flowing through a shunt circuit resistance R1a.

次に、上記遅延切換回路RY1が一定時間遅延してゲー
ト回路G1を作動状態にすると、このゲート回路G1は電流
経路3の電流源側を負荷側、すなわち後段のセンサ端末
側に切換接続する。すると、2段目のセンサ端末2の分
流回路である抵抗R2aに対して電流i1が流れるととも
に、遅延切換回路RY2に対しても駆動電流が流れる。こ
の2段目のセンサ端末2においても、センサS2がオフ状
態であれば、このセンサ端末2に対して流れる電流はi1
だけとなる。したがって、センサS1,S2が共にオフ状態
であるときには、電流経路に流れる電流はi1+i1であ
る。抵抗R2aに電流i1が流れてから一定時間経過すると
ゲート回路G2が負荷側に切換接続され、続いて3段目の
センサ端末の分流回路に対して電流i1が流れる。以下同
様にして上記のような動作が繰り返されていく。
Next, when the delay switching circuit RY1 is delayed for a certain period of time to activate the gate circuit G1, the gate circuit G1 switches the current source side of the current path 3 to the load side, that is, to the subsequent sensor terminal side. Then, together with the current i 1 flows with respect to a shunt circuit of the sensor terminal 2 of the second-stage resistor R2a, the drive current flows also to the delay switching circuit RY2. Also in the second stage sensor terminal 2, if the sensor S2 is in the off state, the current flowing to the sensor terminal 2 is i 1
Only. Therefore, when the sensors S1 and S2 are both off, the current flowing in the current path is i 1 + i 1 . When the current i 1 to the resistor R2a is a predetermined time has elapsed since the flow gate circuit G2 is switched for connection to the load side, followed by a current i 1 flows with respect to shunt circuit of the third-stage sensor terminal. Hereinafter, the above operation is repeated in a similar manner.

第2図(A)は128個の全てのセンサがオフ状態であ
る場合の電流経路3に流れる電流の変化を示している。
各センサ端末2の分流回路(R1a,R2a,・・・)の抵抗値
を一定にしておけば、図に示すように一定の遅延時間t
毎に電流経路3を流れる電流の大きさIが階段状に増大
していく。n番目のゲート回路Gnが作動したときの電流
経路3に流れる電流Iは、 I=(V/Rx)×n (但し、Rx=R1a=R2a=・・・・=R128a) となる。一方、あるセンサ端末2においてセンサSが
オン状態であれば、そのセンサ端末2の分流回路に電流
が流れ始めた時から一定時間tが経過するまで電流i2
流れる。今、ゲート回路G4のある4段目のセンサ端末に
おいてセンサS4がオン状態にあるとすると、電流経路3
に流れる電流Iの変化は第2図(B)に示すようにな
る。すなわち、3段目のセンサ端末2のゲート回路G3が
作動して4段目のセンサ端末2に電流が流れたとき電流
経路3に流れる電流Iの大きさは電流i2の分だけ大きく
なる。電流源1aがオンして電流経路3に電流が流れ始め
てから、センサがオン状態にある最初のセンサ端末(n
段目)2に電流が流れ始めたときの電流経路3に流れる
電流Iは、 I=(V/Rx)×n+V/Rs (但し、Rs=R1b=R2b=・・・・=R128b) となる。
FIG. 2A shows a change in the current flowing through the current path 3 when all 128 sensors are off.
If the resistance value of the shunt circuit (R1a, R2a,...) Of each sensor terminal 2 is kept constant, a constant delay time t as shown in FIG.
Each time, the magnitude I of the current flowing through the current path 3 increases stepwise. The current I flowing through the current path 3 when the n-th gate circuit Gn operates is I = (V / Rx) × n (where Rx = R1a = R2a =... = R128a). On the other hand, if the sensor S is in the ON state in one sensor terminal 2, the current i 2 flowing until a predetermined time t from when the current starts to flow in the shunt circuit of the sensor terminal 2 has elapsed. Now, assuming that the sensor S4 is in the ON state in the fourth stage sensor terminal having the gate circuit G4, the current path 3
The change of the current I flowing through the circuit becomes as shown in FIG. 2 (B). That is, the magnitude of the current I flowing through the current path 3 when the gate circuit G3 of the third-stage sensor terminal 2 current flows through the sensor terminal 2 of the fourth stage operates is increased by the amount of current i 2. After the current source 1a is turned on and the current starts to flow through the current path 3, the first sensor terminal (n
The current I flowing in the current path 3 when the current starts to flow in (stage 2) 2 is as follows: I = (V / Rx) × n + V / Rs (where Rs = R1b = R2b =... = R128b) .

以上の作用から、コントローラ1においては、電流源
1aをオンしたときから一定時間t毎に増えていく電流を
検出し、ある時点での電流Iが電流i2分だけ大きくなる
ことを検出すると、そのときに電流が流れている最終段
のセンサ端末2の位置を検出する。例えば、第2図
(B)に示す例では、ゲート回路G4の有るセンサ端末2
のセンサS4がオン状態にあることを検出する。
From the above operation, in the controller 1, the current source
When a current that increases every fixed time t from when 1a is turned on is detected, and when it is detected that the current I at a certain time increases by the current i 2, a sensor at the last stage where the current flows at that time is detected. The position of the terminal 2 is detected. For example, in the example shown in FIG. 2B, the sensor terminal 2 having the gate circuit G4
Of the sensor S4 is in the ON state.

なお、或るセンサ端末2において、センサSがオン状
態にあるとき、そのセンサ端末2にi2とi1を加算した大
きさの電流を流れることになるが、一定時間t後にゲー
ト回路Gが作動状態となって電流経路3の電流源側が負
荷側に接続されるようになるために、その切換接続後に
電流i2が流れなくなる。このため、第2図(B)に示す
ように電流源1aが次の後段のセンサ端末2に接続される
段階で、電流経路3に流れる電流Iの大きさが小さくな
る。この結果、電流源1aが最終段のセンサ端末2に接続
され、その最終段センサ端末2においてゲート回路Gが
作動したときには電流経路3に流れる電流Iの大きさ
は、 I=(V/Rx)×(センサ端末の数) となる。仮に、Vを24V、Rxを24KΩ、センサ端末2の
数を64個とすると、最終段センサ端末2に電流源1aが接
続されて一定時間tが経過したときの電流Iは、線路イ
ンピーダンスを無視した場合、 I=(24V/24KΩ)×64=64mA となる。
Note that in certain sensor terminal 2, when the sensor S is in the ON state, but will flow a current having a magnitude by adding i 2 and i 1 to the sensor terminal 2, a gate circuit G after a predetermined time t for the current source side of the current path 3 becomes operating state is to be connected to the load side, no current i 2 flows after the switching connection. Therefore, as shown in FIG. 2 (B), when the current source 1a is connected to the next subsequent sensor terminal 2, the magnitude of the current I flowing through the current path 3 becomes small. As a result, when the current source 1a is connected to the last-stage sensor terminal 2, and the gate circuit G operates in the last-stage sensor terminal 2, the magnitude of the current I flowing through the current path 3 is I = (V / Rx) × (number of sensor terminals). Assuming that V is 24 V, Rx is 24 KΩ, and the number of sensor terminals 2 is 64, the current I when the current source 1a is connected to the last-stage sensor terminal 2 and a certain time t has elapsed, ignores the line impedance. In this case, I = (24V / 24KΩ) × 64 = 64mA.

また、上記の動作より電流i2が同時に複数のセンサ端
末2において流れることはないから、結局、電流経路3
に流れる最大電流Imaxは、Rs(=R1b,=R2b=・・・)
を120Ωとすれば、 Imax=(24V/24KΩ)×64+(24V/X120Ω)=64mA+200mA=264mA となる。このように、コントローラ1から電流経路3に
流れる最大電流の大きさは、それほど大きくなることが
ない。これは、前述のように電流i2が同時に各センサ端
末2で流れることがないからである。この程度の電流は
電流源1aにおいて十分に供給することが可能である。
Further, since the current i 2 does not flow through the plurality of sensor terminals 2 at the same time due to the above operation, the current path 3
The maximum current I max flowing through the, Rs (= R1b, = R2b = ···)
Is 120Ω, I max = (24V / 24KΩ) × 64 + (24V / X120Ω) = 64mA + 200mA = 264mA. Thus, the magnitude of the maximum current flowing from the controller 1 to the current path 3 does not increase so much. This is because there is no flow through a current i 2 is the sensor terminal 2 at the same time as described above. Such a current can be sufficiently supplied in the current source 1a.

また、コントローラ1においては、最終段のセンサ端
末に電流源1aが接続されてから一定時間t経過した段階
で一旦流源1aをオフ状態にし、再びオン状態にする。す
ると、最初から再び上記の動作が繰り返される。
In the controller 1, the flow source 1a is turned off once and then turned on again after a certain period of time t has passed since the current source 1a was connected to the last stage sensor terminal. Then, the above operation is repeated again from the beginning.

以上の動作によると、コントロータ1およびセンサ端
末2には従来のような伝送制御部が不要であり、極めて
簡単な構成でかつ低コストで構成することができる。
According to the above operation, the controller 1 and the sensor terminal 2 do not require a conventional transmission control unit, and can be configured with an extremely simple configuration at low cost.

また、請求項(2)に記載した構成の伝送ユニットで
は、コントローラ側の電流源が駆動されると、まずコン
トローラに最も近い第1段目のセンサ端末において第1
のゲート回路が一定時間T1だけオンし、第1段目のセン
サ端末のセンサ回路側に電流が供給される。センサ回路
はセンサ作動状態に応じて回路インピーダンスが変わる
から、この時電流経路に流れる電流はセンサの作動状態
に応じた大きさとなる。
Further, in the transmission unit having the configuration described in claim (2), when the current source on the controller side is driven, first, the first stage sensor terminal closest to the controller has the first terminal.
Is turned on for a certain period of time T1, and a current is supplied to the sensor circuit side of the first stage sensor terminal. Since the circuit impedance of the sensor circuit changes according to the operating state of the sensor, the current flowing in the current path at this time has a magnitude corresponding to the operating state of the sensor.

一定時間T1が経過すると第1のゲート回路が閉じてセ
ンサ経路側に電流が供給されなくなる。そして、更に時
間が経過して当該センサ端末の電流経路の電流源側が電
流源に接続された時から一定時間T2(T2>T1)経過する
と、第2のゲート回路が開く。この第2のゲート回路が
開くことによって、電流源側が負荷側に接続される。す
なわち、次の段のセンサ端末側に電流源が接続される。
このようにして第2段目のセンサ端末に電流源が接続さ
れると、再び一定時間T1だけ2段目のセンサ端末の第1
のゲート回路が開いてセンサ回路側に電流が供給され
る。以下、上記の動作を繰り返していく。
When the predetermined time T1 has elapsed, the first gate circuit is closed, and no current is supplied to the sensor path side. Then, when a certain period of time T2 (T2> T1) elapses from the time when the current source side of the current path of the sensor terminal is connected to the current source after a further time has elapsed, the second gate circuit is opened. When the second gate circuit is opened, the current source side is connected to the load side. That is, the current source is connected to the sensor terminal of the next stage.
When the current source is connected to the second-stage sensor terminal in this manner, the first-stage sensor terminal of the second-stage sensor terminal is again set for the fixed time T1.
Is opened, and current is supplied to the sensor circuit side. Hereinafter, the above operation is repeated.

すなわち、コントローラ側においては最初のセンサ端
末に対して電流を供給しはじめてから一定時間T2ごとに
1段目,2段目,3段目,・・・n段目のセンサ端末におけ
るセンサ回路に流れる電流を検出することになる。つま
り、一定時間T2ごとに、最初のセンサ端末から順番に、
各端末のセンサ作動状態をコントローラ側で電流の大き
さから検出することができる。
That is, on the controller side, the current flows to the sensor circuits in the first, second, third,..., Nth stage sensor terminals at regular time intervals T2 after the current is supplied to the first sensor terminal. The current will be detected. In other words, every fixed time T2, in order from the first sensor terminal,
The sensor operation state of each terminal can be detected from the magnitude of the current on the controller side.

また上記のセンシング方式で、あるセンサ端末でのセ
ンサ作動状態を検出している時には他のセンサ端末のセ
ンサ回路に対して電流が流れることはない。したがっ
て、コントローラ側からかなり離れたセンサ端末でのセ
ンシングを行っている時にも電流経路に流れる電流の大
きさが小さくてすみ、したがって、第2のゲート回路で
のドロップ電圧も小さく、接続できるセンサ端末の数を
かなり多くすることが可能になる。
Also, in the above-described sensing method, when a sensor operation state of one sensor terminal is detected, no current flows to the sensor circuit of another sensor terminal. Therefore, even when sensing is performed at a sensor terminal that is far away from the controller side, the magnitude of the current flowing in the current path can be small, and therefore, the drop voltage at the second gate circuit is small, and the sensor terminal that can be connected can be connected. Can be considerably increased.

さらに、請求項(3)に記載した発明においては、コ
ントローラ側の電流源が駆動されると、コントローラに
近いセンサ端末から順に第1のゲート回路が一定時間T1
だけオンし、この間において電流源側がセンサ回路側に
接続される。このときコントローラからデータ伝送経路
を介して出力データが出力されると、この出力データが
出力回路に取り込まれ、出力データに応じて出力が変わ
る。
Further, in the invention described in claim (3), when the current source on the controller side is driven, the first gate circuit is activated for a predetermined time T1 from the sensor terminal close to the controller.
Only during this time, the current source side is connected to the sensor circuit side during this time. At this time, when output data is output from the controller via the data transmission path, the output data is taken into the output circuit, and the output changes according to the output data.

また、センサ回路を構成するセンサが接続されたまま
であると、上記請求項(1)に記載した構成の作用にし
たがって、センサ回路における電流の状態をコントロー
ラ側で検出することにより、各センサ端末に接続された
センサの作動状態をも検出でき、伝送ユニットを入出力
ユニットとして用いることができる。一方、センサを取
り外すと伝送ユニットを出力回路からデータを出力する
のみの出力ユニットとして用いることができる。
Further, if the sensor constituting the sensor circuit is kept connected, the current state in the sensor circuit is detected on the controller side according to the operation of the configuration described in claim (1), so that each sensor terminal is connected to the sensor terminal. The operating state of the connected sensor can also be detected, and the transmission unit can be used as an input / output unit. On the other hand, when the sensor is removed, the transmission unit can be used as an output unit that only outputs data from the output circuit.

請求項(4)に記載した発明においては、請求項
(3)に記載した発明に係る構成において、出力回路が
出力データ検出手段と出力信号切換回路と、によって構
成される。したがって、データ伝送経路を介してコント
ローラから出力された出力データは、出力データ検出手
段により検出される。この出力データ検出手段が出力デ
ータを検出すると、出力信号切換回路により出力切換信
号が出力される。ここで出力信号切換回路はデータ伝送
経路とは別の経路で電源が供給されており、出力信号切
換回路に印加される電圧がデータ伝送経路を介して伝送
される入出力データに影響を与えることがなく、各セン
サ端末との間のデータの入出力が正確に行われる。
According to a fourth aspect of the present invention, in the configuration according to the third aspect, the output circuit includes an output data detection unit and an output signal switching circuit. Therefore, the output data output from the controller via the data transmission path is detected by the output data detecting means. When the output data detecting means detects the output data, an output switching signal is output by the output signal switching circuit. Here, power is supplied to the output signal switching circuit through a path different from the data transmission path, and the voltage applied to the output signal switching circuit affects input / output data transmitted through the data transmission path. Therefore, data input / output between each sensor terminal is performed accurately.

請求項(5)に記載した発明においては、請求項
(2)〜(4)の発明を構成する第2のゲート回路をMO
SFETのスイッチ素子により構成される。このMOSETには
オン抵抗がトランジスタに比較して十分に小さいものが
あり、このようにオン抵抗が小さいMOSFETを用いること
により、トランジスタを用いる場合に比べて電圧降下が
小さくなり、また、MOSFETをオンさせるゲート電流もト
ランジスタに比べ非常に小さくなるので、電流経路に流
れる電流値も小さくなる。
According to the invention described in claim (5), the second gate circuit constituting the inventions of claims (2) to (4) is an MO.
It is composed of SFET switch elements. Some MOSETs have a sufficiently low on-resistance compared to a transistor.Using a MOSFET with a low on-resistance reduces the voltage drop compared to using a transistor, and also turns on the MOSFET. Since the gate current to be generated is much smaller than that of the transistor, the value of the current flowing in the current path is also small.

請求項(6)に記載した発明においては、請求項
(1)〜(5)の発明の一部を構成する単一または複数
のセンサ端末を一体して端子台が形成される。したがっ
て、部品点数の削減によりセンサ端末側を小型に構成で
きるとともに、取付作業を簡略化できる。
In the invention described in claim (6), a terminal block is formed integrally with a single or a plurality of sensor terminals constituting a part of the inventions of claims (1) to (5). Therefore, the sensor terminal side can be made compact by reducing the number of parts, and the mounting operation can be simplified.

(f)実施例 第3図は請求項(1)に記載した発明の実施例の伝送
ユニットの構成図を示している。
(F) Embodiment FIG. 3 shows a configuration diagram of a transmission unit according to an embodiment of the present invention described in claim (1).

コントローラ1は電流経路3に対して電流を供給する
トランジスタTRと、電流経路3に流れる電流の大きさを
検出する電流センサISと、このセンサ出力をA/D変換す
るA/D変換器と、CPUとで構成している。CPUは、センシ
ングを開始するときにトランジスタTRに対してオン信号
を出力する。また、後述するように各センサ端末に設け
られているタイマのタイマ時間(本発明の遅延時間に相
当する)経過毎にA/D変換値を読み取り、その大きさか
ら各センサ端末2でのセンサSのオンオフ状態を判定す
る。
The controller 1 includes a transistor TR for supplying a current to the current path 3, a current sensor IS for detecting the magnitude of the current flowing in the current path 3, an A / D converter for A / D converting the sensor output, It consists of a CPU. The CPU outputs an ON signal to the transistor TR when starting sensing. Also, as described later, the A / D conversion value is read every time the timer time (corresponding to the delay time of the present invention) of the timer provided in each sensor terminal elapses, and the sensor value at each sensor terminal 2 is read from the magnitude. The on / off state of S is determined.

センサ端末2は分流回路を構成する抵抗R1と、MOSFET
などからなる電子スイッチP1,P2,およびNANDゲートから
なるゲート回路と、タイマTと、抵抗R2およびセンサS
の直列回路からなるセンサ回路とで構成されている。
The sensor terminal 2 is composed of a resistor R1 constituting a shunt circuit and a MOSFET
A gate circuit including electronic switches P1, P2, and NAND gates, a timer T, a resistor R2, and a sensor S.
And a sensor circuit composed of a series circuit of

上記の構成で、入力端子INに電圧が印加されると、抵
抗R1に電流i1が流れるとともにNANDが開いて電子スイッ
チP1がオン状態となり、センサ回路に対しても電圧が印
加される。このときにセンサSがオフ状態であれば電流
i2は流れないが、センサSがオン状態であれば電流i2
流れる。一方、入力端子INに電圧がかかることによって
タイマTが起動しているために、その後一定時間経過し
てタイマTがタイムアップすると、電子スイッチP2がオ
ンするとともに、NANDが閉じることによって電子スイッ
チP1がオフ状態となる。すなわち、電流経路3の電流源
側がセンサ回路側に接続されていた状態から電流源側が
負荷側に接続されるようになる。この結果、出力端子OU
Tに電圧Vが現れ、この電圧Vが次の段のセンサ端子2
の入力端子INに加わる。以下同様にしてタイマTがタイ
ムアップするまでの時間毎に、上記の動作が各センサ端
末2において繰り返されていく。したがって、各センサ
端末2において、センサSがオフ状態であれば、電流経
路3に流れる電流Iは第2図(A)に示すように変化し
ていく。
In the above structure, when a voltage is applied to the input terminal IN, the electronic switch P1 NAND opens with current i 1 flows through the resistor R1 is turned on, a voltage is applied also to the sensor circuit. At this time, if the sensor S is off, the current
Although i 2 does not flow a current i 2 flows if the sensor S is in the ON state. On the other hand, since the timer T is activated by applying a voltage to the input terminal IN, when the timer T expires after a certain period of time, the electronic switch P2 is turned on and the electronic switch P1 is turned on by closing the NAND. Is turned off. That is, the current source side of the current path 3 is connected to the load circuit from the state where the current source side is connected to the sensor circuit side. As a result, the output terminal OU
A voltage V appears at T, and this voltage V is applied to the sensor terminal 2 of the next stage.
Input terminal IN. In the same manner, the above operation is repeated in each sensor terminal 2 every time until the timer T times out. Therefore, in each sensor terminal 2, when the sensor S is off, the current I flowing through the current path 3 changes as shown in FIG. 2 (A).

一方、n番目のセンサ端末2においてセンサSnがオン
状態にあると、そのセンサ端末2の入力端子INに電圧が
加わったときに電流i1とi2がともに流れる。そして、一
定時間が経過してタイマTがタイムアップすると、その
センサ端末2に流れる電流がi1だけとなって、スイッチ
P2がオン状態となる。このように、n番目のセンサ端末
2においてセンサSnがオン状態であると、電流経路3に
流れる電流Iの変化は第2図(B)に示すようになる。
On the other hand, when the sensor Sn in the n-th sensor terminal 2 is in the on state, the current i 1 and i 2 flows both when the voltage applied to the input terminal IN of the sensor terminal 2. Then, the timer T has elapsed a predetermined time when the time is up, the current flowing through the sensor terminal 2 becomes only i 1, switch
P2 is turned on. As described above, when the sensor Sn in the n-th sensor terminal 2 is in the ON state, the change of the current I flowing through the current path 3 becomes as shown in FIG. 2B.

コントローラ1ではトランジスタTRをオンした後、内
部タイマにおいて経過時間を監視しており、各センサ端
末2に設けられているタイマTのタイマ時間毎にA/D変
換値を読み込み、その大きさがi1×nに対応するもの
か、またはi1×n+i2に対応するものかを判定する。そ
して、前者に対応しておれば、n段目のセンサ端末2で
はセンサSがオフ状態であると判定し、後者に対応して
いればn段目のセンサ端末2ではセンサSがオン状態に
あると判定する。この動作を最終段のセンサ端末2に電
圧が印加されるまで繰り返す。全てのセンサ端末2にお
いての上記の判定動作を終えると、トランジスタTRを一
旦オフする。すると、各センサ端末2においてのタイマ
Tがリセットされ、初期状態となる。そして、再びトラ
ンジスタTRをオンすると、再び最初のセンサ端末2から
順次上記の動作を繰り返していく。
After turning on the transistor TR, the controller 1 monitors the elapsed time by an internal timer, reads an A / D conversion value for each timer time of the timer T provided in each sensor terminal 2, and determines the magnitude of the A / D conversion value as i. It is determined whether it corresponds to 1 × n or i 1 × n + i 2 . And if it corresponds to the former, it is determined that the sensor S is in the off state in the n-th stage sensor terminal 2, and if it corresponds to the latter, the sensor S is in the on state in the n-th stage sensor terminal 2. It is determined that there is. This operation is repeated until a voltage is applied to the sensor terminal 2 at the last stage. When the above determination operation in all the sensor terminals 2 is completed, the transistor TR is once turned off. Then, the timer T in each sensor terminal 2 is reset, and the sensor terminal 2 is brought into an initial state. Then, when the transistor TR is turned on again, the above operation is sequentially repeated from the first sensor terminal 2 again.

以上の動作によって、コントローラ1ではタイマTを
タイマ時間t毎にA/D変換値を読み取っていき、その大
きさを見ることによって各センサ端末2でのセンサSの
オンオフ状態を簡単に知ることができる。なお、コント
ローラ1において、現在読み取っているA/D変換値と、
そのときに電流源が接続されている最終段のセンサ端末
2の位置(番号)との対応をタイマで監視することも可
能であるが、カウンタを使用することも出来る。カウン
タを使用するときには、A/D変換値を常時読み取り、そ
の大きさが急に増える立ち上がり時にカウンタを一つ進
めるようにする。
By the above operation, the controller 1 reads the A / D conversion value of the timer T at every timer time t, and easily knows the on / off state of the sensor S in each sensor terminal 2 by checking the magnitude. it can. In the controller 1, the currently read A / D conversion value is
At that time, the correspondence with the position (number) of the sensor terminal 2 at the last stage to which the current source is connected can be monitored by a timer, but a counter can also be used. When using the counter, the A / D conversion value is always read, and the counter is advanced by one at the rising edge when the value suddenly increases.

また、電流経路3に流れる電流の大きさは第1図を参
照して説明したようにそれほど大きな電流となることが
ない。したがって、トランジスタTR,電流経路3および
電源に大きな容量のものを使用する必要がない。
Further, the magnitude of the current flowing through the current path 3 does not become so large as described with reference to FIG. Therefore, it is not necessary to use transistors TR, current paths 3 and a power supply having a large capacity.

第4図は請求項(2)に記載した発明の実施例の伝送
ユニットの構成図を示している。
FIG. 4 shows a configuration diagram of a transmission unit according to an embodiment of the present invention described in claim (2).

図において11はコントローラを示し、このコントロー
ラ11に合計128ch(128段)のセンサ端末12が接続されて
いる。センサ端末12は第1のゲート回路G1と、第2のゲ
ート回路G2と、センサ回路SCとを備えている。
In the figure, reference numeral 11 denotes a controller to which a total of 128 channels (128 stages) of sensor terminals 12 are connected. The sensor terminal 12 includes a first gate circuit G1, a second gate circuit G2, and a sensor circuit SC.

前記第1のゲート回路G1では、入力端子INが電流源に
接続された時からタイマT1が起動し、一定時間T1が経過
するまでスイッチ素子P1をオン状態にする。一定時間T1
が経過すると、タイマT1の出力が“L"となりゲートNAND
が閉じることによってスイッチ素子P1がオフする。この
一定時間T1の間に入力端子INからセンサ回路SCに対して
電流iが流れる。そして、この時センサSがオン状態に
あれば電流iはi=E/R2となり、センサSがオフ状態に
ある時には、i=E/(R1+R2)となる。
In the first gate circuit G1, the timer T1 starts from the time when the input terminal IN is connected to the current source, and turns on the switch element P1 until a certain time T1 elapses. Fixed time T1
Is elapsed, the output of timer T1 becomes “L” and the gate NAND
Is closed, the switch element P1 is turned off. During this fixed time T1, a current i flows from the input terminal IN to the sensor circuit SC. If the sensor S is on at this time, the current i is i = E / R2, and if the sensor S is off, i = E / (R1 + R2).

前記第2のゲート回路G2は、電流経路に直列に介挿さ
れているスイッチ素子P2とタイマT2とで構成されてい
る。タイマT2のタイマ時間はタイマT1のタイマ時間より
も長く設定され、スイッチ素子P1がオフしてから時間
(T2−T1)が経過してスイッチ素子T2がオンするように
されている。この第2のゲート回路G2によって、入力端
子INがセンサ回路SCに接続されてから一定時間T2経過時
に、入力端子INすなわち電流源側が出力端子OUTすなわ
ち負荷側に接続される。
The second gate circuit G2 includes a switch element P2 and a timer T2 inserted in series in a current path. The timer time of the timer T2 is set longer than the timer time of the timer T1, and the time (T2-T1) elapses after the switch element P1 is turned off, and the switch element T2 is turned on. By the second gate circuit G2, the input terminal IN, that is, the current source side is connected to the output terminal OUT, that is, the load side, when a predetermined time T2 has elapsed since the input terminal IN was connected to the sensor circuit SC.

第5図はある時間での電流経路13に流れる電流iの変
化を示している。この例ではm ch目のセンサ端末12で
センサSがオフしており、m+1 ch目のセンサ端末12
ではセンサSがオンしていることを表している。
FIG. 5 shows a change in the current i flowing through the current path 13 at a certain time. In this example, the sensor S is off at the sensor terminal 12 of the m-th channel, and the sensor terminal 12
Indicates that the sensor S is on.

前記センサ回路SCは、センサSと可変インピーダンス
回路を構成する抵抗R1,R2とからなり、センサSがオン
時にはセンサ回路の抵抗値をR2にし、センサSがオフ時
にはセンサ回路の抵抗値を(R1+R2)にする。
The sensor circuit SC comprises a sensor S and resistors R1 and R2 constituting a variable impedance circuit. When the sensor S is on, the resistance value of the sensor circuit is R2, and when the sensor S is off, the resistance value of the sensor circuit is (R1 + R2 ).

前記コントローラ11は、電源+Vに接続されているト
ランジスタTRによって電流経路13に電流を供給する。電
流経路13には電流電圧変換用の抵抗R3が介挿されてお
り、この抵抗R3の電圧降下をオペアンプOPで検出し、そ
の出力をコンパレータC1,C2で検出するようにしてい
る。この抵抗R3,オペアンプOPおよびコンパレータC1,C2
で電流検出回路を構成している。各コンパレータC1,C2
には基準電圧としてVCL,VDATAが設定されている。各基
準電圧VCL,VDATAは第6図に示す大きさを有している。
すなわち、図のA,Bはそれぞれ任意のセンサ端末12でセ
ンサSがオフ状態にある時とオン状態にある時の抵抗R3
の両端電圧を示しているが、VCLはセンサSのオンオフ
状態に係わらず、センサ回路SCに電流iが流入して抵抗
R3の両端に電圧降下が生じたことを検出できる大きさに
設定され、VDATAは、センサ端末12でセンサSがオンし
た時に抵抗R3の両端の電圧降下を検出できる大きさに設
定されている。コンパレータC1の出力はシフトレジスタ
S/Rのクロックとして供給され、更にタイマT3を起動す
る。
The controller 11 supplies a current to the current path 13 by a transistor TR connected to a power supply + V. The current path 13 is provided with a resistor R3 for current-voltage conversion. The voltage drop of the resistor R3 is detected by the operational amplifier OP, and the output is detected by the comparators C1 and C2. This resistor R3, operational amplifier OP and comparators C1 and C2
Constitute a current detection circuit. Each comparator C1, C2
Are set as VCL and VDATA as reference voltages. Each of the reference voltages V CL and V DATA has the magnitude shown in FIG.
That is, A and B in the figure are resistances R3 when the sensor S is in an off state and when the sensor S is in an on state in an arbitrary sensor terminal 12, respectively.
VCL indicates the resistance caused by the current i flowing into the sensor circuit SC regardless of the on / off state of the sensor S.
VDATA is set to a size that can detect that a voltage drop has occurred at both ends of R3, and VDATA is set to a size that can detect a voltage drop across the resistor R3 when the sensor S is turned on at the sensor terminal 12. . The output of comparator C1 is a shift register
It is supplied as the S / R clock, and starts the timer T3.

タイマT3のタイマ時間は、第6図に示すように少なく
ともタイマT2のタイマ時間より長く設定され、且つリト
リガタイマ回路で構成されている。タイマT3は、コンパ
レータC1の出力にて常時駆動されている状態ではタイム
アップせず、コンパレータC1の出力がとぎれた状態でタ
イムアップし、その時点で最終chのセンサ端末12として
検知されることになる。すなわち、最終chのセンサ端末
12に電流が供給されてから一定時間T3が経過するとタイ
マT3の出力が立ち上がることになる。このタイマT3の出
力はフリップフロップFのリセット端子と出力回路OUT
のラッチ端子とに送られ、また、遅延素子Dを介してシ
フトレジスタをS/Rのリセット端子に送られる。フリッ
プフロップFのセット端子Sには別の回路から電源投入
時およびタイマT3のタイムアップ後一定時間経てから送
られるスタート信号STが導かれ、フリップフロップFの
セット出力はオープンコレクタインバータINVを通して
トランジスタTRのベースに導かれている。スタート信号
STが出てフリップフロップFがセットすると、トランジ
スタTRがオンしてセンシングが開始されるとともに、そ
の後、タイマ回路T3の出力が“H"になってフリップフロ
ップがリセットするとトランジスタTRがオフしてセンシ
ングが終了する訳である。また、タイマT3の出力によっ
てシフトレジスタS/Rの内容が出力回路OUTにラッチさ
れ、更に遅延素子Dを介してリセット信号になることに
よってシフトレジスタS/Rがリセットされる。
As shown in FIG. 6, the timer time of the timer T3 is set to be at least longer than the timer time of the timer T2, and is constituted by a retrigger timer circuit. The timer T3 does not time up in a state where it is constantly driven by the output of the comparator C1, but times out when the output of the comparator C1 is interrupted, and at that time is detected as the sensor terminal 12 of the last channel. Become. That is, the sensor terminal of the last channel
When a certain time T3 elapses after the current is supplied to 12, the output of the timer T3 rises. The output of the timer T3 is connected to the reset terminal of the flip-flop F and the output circuit OUT.
And the shift register is sent to the reset terminal of the S / R via the delay element D. A start signal ST, which is sent from another circuit when power is turned on and after a certain time has elapsed after the timer T3 has timed out, is led to the set terminal S of the flip-flop F, and the set output of the flip-flop F is supplied to the transistor TR through an open collector inverter INV. Led by the base. Start signal
When ST is output and the flip-flop F is set, the transistor TR is turned on to start sensing. After that, when the output of the timer circuit T3 becomes “H” and the flip-flop is reset, the transistor TR is turned off and the sensing is started. Ends. Further, the contents of the shift register S / R are latched in the output circuit OUT by the output of the timer T3, and the shift register S / R is reset by becoming a reset signal via the delay element D.

前記コンパレータC2の出力はデータとしてシフトレジ
スタS/Rに入力される。コンパレータC1の出力はクロッ
クとしてシフトレジスタS/Rに入力されていることか
ら、シフトレジスタS/Rには、第6図のAの電圧検出時
には0が入力され、Bの電圧検出時には1が入力される
ことになる。シフトレジスタS/Rの段数は少なくともセ
ンサ端末12の総数以上に設定され、その出力は並列に出
力回路OUTでラッチされる。
The output of the comparator C2 is input to the shift register S / R as data. Since the output of the comparator C1 is input as a clock to the shift register S / R, 0 is input to the shift register S / R when the voltage of A in FIG. 6 is detected, and 1 is input when the voltage of B is detected. Will be done. The number of stages of the shift register S / R is set to at least the total number of the sensor terminals 12, and outputs thereof are latched in parallel by the output circuit OUT.

以上の構成からなるコントローラでは、最初にスター
ト信号STが供給されると、フリップフロップFがセット
してトランジスタTRから電流経路13への電流が供給され
センシングが開始される。そして、以後時間T2ごとに順
番に最初のセンサ端末12からセンサSのオンオフ状態の
センシング、すなわち抵抗R3の両端の電圧vの大きさの
検出が行われていく。もし、センサSがオフ状態であれ
ばコンパレータC1の出力のみが“H"となってシフトレジ
スタS/Rには0が入力される。これに対して、センサS
がオン状態であれば、コンパレータC1,C2とも出力が
“H"となり、シフトレジスタS/Rには1が入力される。
この動作が繰り返される結果、シフトレジスタS/Rには
センサSがオン状態にあるセンサ端末に対応するステー
ジのみ1が記憶され、その他のセンサ端末に対応するス
テージには0が記憶されていく。そして、最終chのセン
サ端末に対するセンシングを終了すると、タイマT3がタ
イムアップしてフリップフロップFがリセットされると
ともにシフトレジスタS/Rの内容が出力回路OUTにラッチ
され、更に少し遅れてシフトレジスタS/Rがリセットさ
れる。以上の動作によって一回のセンシング動作が終了
する。
In the controller having the above configuration, when the start signal ST is supplied first, the flip-flop F is set, and the current is supplied from the transistor TR to the current path 13 to start sensing. Then, from the first sensor terminal 12, sensing of the ON / OFF state of the sensor S, that is, detection of the magnitude of the voltage v across the resistor R3 is performed sequentially from the first sensor terminal 12 every time T2. If the sensor S is off, only the output of the comparator C1 becomes "H" and 0 is input to the shift register S / R. In contrast, the sensor S
Is in the ON state, the outputs of both the comparators C1 and C2 become "H", and 1 is input to the shift register S / R.
As a result of repeating this operation, 1 is stored in the shift register S / R only for the stage corresponding to the sensor terminal in which the sensor S is on, and 0 is stored in the stages corresponding to the other sensor terminals. When the sensing for the sensor terminal of the last channel is completed, the timer T3 times out, the flip-flop F is reset, and the contents of the shift register S / R are latched in the output circuit OUT. / R is reset. One sensing operation is completed by the above operation.

このセンシング動作を終了すると、出力回路OUTの端
子1〜nの状態を見ることによって各センサ端末12のセ
ンサ回路の状態、すなわち、センサSのオンオフ状態を
知ることができる。
When this sensing operation is completed, the state of the sensor circuit of each sensor terminal 12, that is, the on / off state of the sensor S, can be known by checking the states of the terminals 1 to n of the output circuit OUT.

以上の動作においてm ch目のセンサ端末でセンシン
グを行っている時には、1〜m−1 ch目のセンサ端末
12のセンサ回路SCに対して電流iが流れていない。すな
わち、不要な電力消費がないために、コントローラ11か
ら電流経路13に流れる電流の大きさはセンサ端末12の数
が多くても大きくなるということがない。もし、各セン
サ端末12においての消費電力が大きいと、センシングを
行っているセンサ端末12の位置が後ろであるほど、その
前に位置する各センサ端末12におけるスイッチ素子P2で
の電圧降下が大きくなり、電流経路13に流れる電流の大
きさは大きくなることはもとより、センサのオンオフに
応じた抵抗R3の両端の電圧変化率が小さくなって後段の
センサ端末ほどそのセンサSのオンオフ状態を正確に検
出出来ないという問題が生じるが、本実施例のように、
センシングを行っているセンサ端末以外のセンサ端末に
おいては余分な電力は消費されないために、電流経路13
を流れる電流が小さくてすみ、後段のセンサ端末におい
てもセンサSのオンオフ状態を正確に検出することがで
きる。
In the above operation, when sensing is performed by the mth sensor terminal, the 1st to m−1th sensor terminals are used.
Current i does not flow through twelve sensor circuits SC. That is, since there is no unnecessary power consumption, the magnitude of the current flowing from the controller 11 to the current path 13 does not increase even if the number of the sensor terminals 12 is large. If the power consumption of each sensor terminal 12 is large, the voltage drop at the switch element P2 in each sensor terminal 12 located in front thereof increases as the position of the sensor terminal 12 performing sensing increases. In addition to the fact that the magnitude of the current flowing through the current path 13 increases, the rate of change in the voltage across the resistor R3 in accordance with the on / off of the sensor decreases, so that the on-off state of the sensor S is more accurately detected in a later sensor terminal. Although the problem that it cannot be performed occurs, as in this embodiment,
Since the sensor terminals other than the sensor terminal performing the sensing do not consume extra power, the current path 13
Is small, and the on / off state of the sensor S can be accurately detected even in the sensor terminal at the subsequent stage.

なお、スイッチ素子P2に半導体素子を使用すると電流
経路13に流れる電流が大きくなくても、このスイッチ素
子P2での電圧降下は0ではない。このため、たとえば、
電流経路13に接続されるセンサ端末12のch数が100以上
で、且つ電源電圧+Vが24ボルト程度の場合は、後段の
センサ端末12でのセンシングを行っている時に、それ以
前のセンサ端末12でのスイッチ素子P2の電圧降下の総和
が無視出来ない大きさになっている可能性がある。この
ような場合には、コンパレータC1,C2の基準電圧VCL,V
DATAの設定は第7図に示すような大きさに設定する必要
がある。同図はセンサ端末12の総ch数が128で、電源電
圧+Vが24ボルトである場合の例を示している。図の横
軸はスイッチ素子P2がオン状態にあるセンサ端末12の総
数を示し、縦軸は抵抗R3の両端電圧vを示している。a
はスイッチ素子P2での電圧降下の総和を示し、bは各セ
ンサ端末12でのセンサSがオフ状態にある時の抵抗R3の
検出電圧vを示し、cは各センサ端末12でのセンサSが
オン状態にある時の抵抗R3の検出電圧vを示している。
図に示すように最終段(128ch)のセンサ端末12をセン
シングしている時には、127chまでの各センサ端末での
スイッチ素子P2の電圧降下の総和はかなり大きいため
に、128chのセンサ端末12でのセンサSのオンオフに応
じた抵抗R3の検出電圧b,cの大きさも図示するように小
さくなる。したがって、VCL及びVDATAの設定は、この12
8chでのVA,VBを識別可能な大きさに設定する必要があ
る。
When a semiconductor element is used as the switch element P2, the voltage drop at the switch element P2 is not zero even if the current flowing through the current path 13 is not large. So, for example,
When the number of channels of the sensor terminals 12 connected to the current path 13 is 100 or more and the power supply voltage + V is about 24 volts, when sensing is performed at the subsequent sensor terminals 12, There is a possibility that the total sum of the voltage drops of the switch element P2 at the time may not be negligible. In such a case, the reference voltages V CL , V
It is necessary to set the size of DATA as shown in FIG. The figure shows an example in which the total number of channels of the sensor terminal 12 is 128 and the power supply voltage + V is 24 volts. The horizontal axis of the figure indicates the total number of the sensor terminals 12 in which the switch element P2 is in the ON state, and the vertical axis indicates the voltage v across the resistor R3. a
Represents the total voltage drop at the switch element P2, b represents the detection voltage v of the resistor R3 when the sensor S at each sensor terminal 12 is in the OFF state, and c represents the sensor S at each sensor terminal 12. The detection voltage v of the resistor R3 in the ON state is shown.
As shown in the figure, when sensing the sensor terminal 12 of the last stage (128 ch), the sum of the voltage drops of the switch elements P2 at each sensor terminal up to 127 ch is considerably large, so that the sensor terminal 12 of 128 ch The magnitudes of the detection voltages b and c of the resistor R3 according to the ON / OFF of the sensor S also become small as shown in the figure. Therefore, the setting of V CL and V DATA
It is necessary to set V A and V B in 8ch to a size that can be identified.

このスイッチ素子P2にオン抵抗の小さいMOSFETを用い
ると、ゲート回路における電圧降下を小さくすることが
でき、上記VCL及びVDATAのマージンを大きくとることが
できる。また、同様に電流経路13に流れる電流値を小さ
くすることができる。
If a MOSFET having a small on-resistance is used for the switch element P2, the voltage drop in the gate circuit can be reduced, and the margin of VCL and VDATA can be increased. Similarly, the value of the current flowing through the current path 13 can be reduced.

なお、上記第2のゲート回路G2は第8図(A)に示す
ように構成することも可能である。この例ではタイマT1
の出力を受けてタイマT2′を起動し、一定時間T2′後に
スイッチ素子P2をオンする。タイマ時間T1とT2′は同図
(B)に示す関係となる。
Note that the second gate circuit G2 can be configured as shown in FIG. 8 (A). In this example, timer T1
, The timer T2 'is started, and the switch element P2 is turned on after a predetermined time T2'. The timer times T1 and T2 'have the relationship shown in FIG.

更に、コントローラ11においては、抵抗R3の両端電圧
をA/D変換してCPUで処理することも可能であり、出力は
たとえばRS232C端子を通して外部に出すことができる。
また、センサ回路SCのセンサSとしてはマイクロスイッ
チの他、光電センサなどがあり、更に出力がリニアに変
化するセンサを使用することも可能である。
Further, in the controller 11, the voltage between both ends of the resistor R3 can be A / D converted and processed by the CPU, and the output can be output to the outside through, for example, an RS232C terminal.
Further, as the sensor S of the sensor circuit SC, there is a photoelectric switch or the like in addition to the microswitch, and it is also possible to use a sensor whose output changes linearly.

第9図は、請求項(3)に記載した発明の実施例の伝
送ユニットの構成図を示している。
FIG. 9 shows a configuration diagram of a transmission unit according to the embodiment of the invention described in claim (3).

第4図に示したコントローラ11と同様の構成のコント
ローラ21に合計128ch(128段)のセンサ端末22が接続さ
れている。各センサ端末22はコントローラ21に対して電
流経路23およびデータ伝送経路24にカスケード状に接続
されている。このセンサ端末22のそれぞれは、スイッチ
素子P1とタイマT1により構成される第1のゲート回路
と、スイッチ素子P2およびタイマT2により構成される第
2のゲート回路と、可変インピーダンス回路を構成する
抵抗R4,R5およびセンサSにより構成されるセンサ回路S
Cと、出力ランプLおよびトランジスタTR2を含む出力回
路OCとを備えている。この出力回路OCにはフリップフロ
ップ26が含まれる。
A sensor terminal 22 of a total of 128 channels (128 stages) is connected to a controller 21 having the same configuration as the controller 11 shown in FIG. Each sensor terminal 22 is connected to the controller 21 in a cascade manner on a current path 23 and a data transmission path 24. Each of the sensor terminals 22 includes a first gate circuit including a switch element P1 and a timer T1, a second gate circuit including a switch element P2 and a timer T2, and a resistor R4 forming a variable impedance circuit. , R5 and sensor S
C and an output circuit OC including an output lamp L and a transistor TR2. This output circuit OC includes a flip-flop 26.

第1のゲート回路では入力端子INがコントローラ21の
電流源に接続されたときからタイマT1が起動し、一定時
間T1が経過するまでスイッチ素子P1がオン状態にされ
る。一定時間T1が経過すると、タイマT1の出力が“L"と
なり、スイッチ素子P1がオフする。したがって、一定時
間T1の間に入力端子からセンサ回路SCに対して電流iが
流れる。このとき、センサSがオン状態であれば電流i
はi=E/R4となり、センサSがオフ状態にあるときには
i=E/(R4+R5)となる。
In the first gate circuit, the timer T1 starts from the time when the input terminal IN is connected to the current source of the controller 21, and the switch element P1 is turned on until a certain time T1 elapses. When the predetermined time T1 has elapsed, the output of the timer T1 becomes "L", and the switch element P1 turns off. Therefore, the current i flows from the input terminal to the sensor circuit SC during the fixed time T1. At this time, if the sensor S is on, the current i
Is i = E / R4, and i = E / (R4 + R5) when the sensor S is in the off state.

第2のゲート回路を構成するタイマT2の計時時間は、
タイマT1の計時時間よりも長く設定されており、スイッ
チ素子P1がオフしてから時間(T2−T1)が経過してスイ
ッチ素子P2がオンするようにされている。この第2のゲ
ート回路によって入力端子がセンサ回路SCに接続されて
から一定時間T2経過時に、入力端子すなわち電流源側が
出力端子すなわち負荷側に接続される。
The time measured by the timer T2 constituting the second gate circuit is:
The time is set to be longer than the time measured by the timer T1, and the switch element P2 is turned on after a lapse of time (T2-T1) since the switch element P1 is turned off. When a predetermined time T2 has elapsed since the input terminal was connected to the sensor circuit SC by the second gate circuit, the input terminal, that is, the current source side is connected to the output terminal, that is, the load side.

タイマT1の出力は出力回路OCが有するフリップフロッ
プ26のクロック端子ckにも入力される。フリップフロッ
プ26はクロック端子ckの立ち下がり時におけるセット端
子sの状態を出力端子QからトランジスタTR2に出力す
る。各センサ端末22において出力ランプLは電源経路25
に並列に接続されており、タイマT1が時間T1を計時して
いる間においてフリップフロップ26のセット端子sに
“H"信号が入力されると、トランジスタTR2がオンして
出力ランプLが点灯する。
The output of the timer T1 is also input to the clock terminal ck of the flip-flop 26 included in the output circuit OC. The flip-flop 26 outputs the state of the set terminal s when the clock terminal ck falls from the output terminal Q to the transistor TR2. In each sensor terminal 22, the output lamp L is connected to the power supply path 25.
When the "H" signal is input to the set terminal s of the flip-flop 26 while the timer T1 is counting the time T1, the transistor TR2 is turned on and the output lamp L is turned on. .

以上の構成により、コントローラ21において、第4図
に示した請求項(2)の構成と同様の動作により、抵抗
R3の両端電圧を検出することによって各センサ端末22に
おけるセンサSのオン/オフ状態を検出できる。たとえ
ば、コントローラ21においてオペアンプOPの両端電圧が
第10図(A)に示すように変化したとすると、CPUには
アドレス信号として同図(B)に示す波形が入力され、
データ信号として同図(C)に示す波形が入力される。
したがってCPUのADD端子に入力される信号により、第1
のゲート回路のスイッチ素子がオンしているセンサ端子
22を特定でき、その時のデータ信号の有無により、その
センサ端末22が有するセンサSがオンしているか否かを
検出できる。
With the above configuration, the controller 21 operates in the same manner as the configuration of claim (2) shown in FIG.
By detecting the voltage across R3, the on / off state of the sensor S in each sensor terminal 22 can be detected. For example, if the voltage across the operational amplifier OP changes in the controller 21 as shown in FIG. 10 (A), the waveform shown in FIG.
The waveform shown in FIG. 3C is input as a data signal.
Therefore, the first signal is input by the signal input to the ADD terminal of the CPU.
Sensor terminal where the switch element of the gate circuit is ON
22 can be specified, and whether or not the sensor S of the sensor terminal 22 is on can be detected based on the presence or absence of the data signal at that time.

また、タイマT1が時間T1を経時している間にコントロ
ーラ21からトランジスタTR3を介してデータ伝送経路24
に信号が出力されると、出力ランプLが点灯する。コン
トローラ21の電流源側はタイマT2が経時する時間T2毎に
次の段のセンサ端末22に接続されていく。したがって、
データを出力すべきセンサ端末22の段数に時間T2を乗じ
たタイミングでデータ伝送経路24に信号を出力すること
により、所望の接続端末22において出力ランプLを点灯
することができる。なお、フリップフロップ26の作用に
より、一旦点灯した出力ランプLは、次のセンシング時
におけるタイマT1の出力の立ち下がり時にデータ伝送経
路24に信号が出力されていないときに消灯する。
Further, while the timer T1 is passing the time T1, the data transmission path 24 is transmitted from the controller 21 via the transistor TR3.
Is output, the output lamp L is turned on. The current source side of the controller 21 is connected to the sensor terminal 22 in the next stage every time T2 when the timer T2 elapses. Therefore,
By outputting a signal to the data transmission path 24 at a timing obtained by multiplying the number of stages of the sensor terminals 22 to which data is to be output by the time T2, the output lamp L can be turned on at a desired connection terminal 22. By the operation of the flip-flop 26, the output lamp L once lit turns off when no signal is output to the data transmission path 24 when the output of the timer T1 falls at the time of the next sensing.

上記のセンサ端末22においてフリップフロップ26とト
ランジスタTR2との間にフリッカ回路を設け、出力ラン
プLを点滅するようにしてもよい。
In the sensor terminal 22, a flicker circuit may be provided between the flip-flop 26 and the transistor TR2 so that the output lamp L blinks.

以上のようにして、センサ端末22を入出力ユニットと
して用いることができる。例えば、モータ等の動作状態
をセンサSにより検出し、その動作状態をそのセンサ端
末22が有する出力ランプLの点灯により表示することが
できる。この場合においてCPUはデータ信号の入力があ
ったときに出力ランプLのオン信号を出力する。
As described above, the sensor terminal 22 can be used as an input / output unit. For example, the operation state of the motor or the like can be detected by the sensor S, and the operation state can be displayed by lighting the output lamp L of the sensor terminal 22. In this case, the CPU outputs an ON signal of the output lamp L when a data signal is input.

また、センサ回路SCの一部を構成するセンサSを切り
離すと、センサ端末22を出力ユニットとして用いること
ができる。この場合にCPUには第10図(C)に示すデー
タ信号は入力されず、CPUはI/Oを介して外部から入力さ
れた信号に基づいて第10図(B)に示すアドレス信号を
参照して所定のタイミングでオン信号を出力する。
Further, when the sensor S constituting a part of the sensor circuit SC is disconnected, the sensor terminal 22 can be used as an output unit. In this case, the data signal shown in FIG. 10 (C) is not input to the CPU, and the CPU refers to the address signal shown in FIG. 10 (B) based on a signal input from outside via I / O. Then, an ON signal is output at a predetermined timing.

たとえば、第11図(A)に示す設定入力データが入力
されているとすれば、CPUは第10図に示す入力データを
取り込みのタイミングでオン信号を出力し、第11図
(B)および(C)に示すように第3段目および第8段
目のセンサ端末22のフリップフロップ26がオンデータを
出力する。
For example, if the setting input data shown in FIG. 11 (A) is input, the CPU outputs an ON signal at the timing of fetching the input data shown in FIG. 10, and FIG. 11 (B) and (B). As shown in C), the flip-flop 26 of the third and eighth stage sensor terminals 22 outputs ON data.

なお、第2のゲート回路を構成するスイッチ素子P2に
オン抵抗の小さいMOSFETを用いると、電圧降下およびゲ
ート電流の低下により、前記第4図に示した構成におけ
る場合と同様の効果を得ることができる。
If a MOSFET having a small on-resistance is used for the switch element P2 constituting the second gate circuit, the same effect as in the configuration shown in FIG. 4 can be obtained due to a voltage drop and a decrease in gate current. it can.

第12図は、請求項(4)に記載した発明の実施例の伝
送ユニットの構成図を示している。
FIG. 12 shows a configuration diagram of a transmission unit according to the embodiment of the invention described in claim (4).

コントローラ41には複数のセンサ端末42がカスケード
状に接続されている。コントローラ41は電流経路50に介
挿された電流電圧変換用の抵抗RSの電圧効果をオペアン
プOPにより検出し、その出力をコンパレータC1〜C3にお
いて基準電圧と比較する。コンパレータC1,C2のそれぞ
れに設定された基準電圧VRfは、前記第10図および第13
図(B)における基準電圧VDATAおよびVADDに相当し、
電流経路50において第14図に示すの電流およびの電
流に相当する。また、コンパレータC3に設定されている
基準電圧VRfはコンパレータC1,C2に設定されている基準
電圧より大きくされており、電流経路50において第14図
に示すの電流に対応する。これによってコンパレータ
C3は短絡等による過電圧を検出する。
A plurality of sensor terminals 42 are connected in cascade to the controller 41. The controller 41 detects the voltage effect of the current-to-voltage conversion resistor R S inserted in the current path 50 by the operational amplifier OP, and compares its output with the reference voltage in the comparators C1 to C3. The reference voltage V Rf set for each of the comparators C1 and C2 is the same as FIG. 10 and FIG.
It corresponds to the reference voltages V DATA and V ADD in FIG.
The current path 50 corresponds to the current and the current shown in FIG. The reference voltage V Rf set in the comparator C 3 comparators C1, C2 are larger than the reference voltage that is set to correspond to the current that shown in FIG. 14 in the current path 50. This allows the comparator
C3 detects an overvoltage due to a short circuit or the like.

コントローラ41のマイクロプロセッサユニットMPUは
サイクルコントローラを介して信号45をFET1に供給す
る。この信号45の供給によりFET1がオンし、電源経路50
を介してセンサ端末42が電源に接続される。各センサ端
末42は時間T1,T2を計時するタイマを備えており、この
タイマは時間T1後にトランジスタTRをオフするととも
に、時間T2後にFETMをオンする。従って、第13図(A)
に示すように、M段目のセンサ端末42に供給された電力
は、時間T2経過後にM+1段目のセンサ端末に供給され
る。また、センサ端末42には抵抗Ra,RbおよびセンサSWM
からなるセンサ回路が設けられており、センサSWMのオ
ン時にはセンサ回路の抵抗値がRaになり、センサSWM
オフ時には(Ra+Rb)になる。従って、センサSWMがオ
フ時には電流経路50には電流iA/Bが流れ、センサSWM
オン時には電流iASが流れる。この電流経路50に流れる
電流値を電流電圧変換してオペアンプOPにより検出する
ことにより、センサ端末42のアドレス(装着段数)およ
びデータ(センサSWMのオン信号)が検出される。これ
によってコントローラ42において第14図に示す状態で電
流経路50に流れる電流値が検出される。
The microprocessor unit MPU of the controller 41 supplies a signal 45 to the FET 1 via the cycle controller. The supply of this signal 45 turns on FET1, and the power path 50
The sensor terminal 42 is connected to the power supply via the. Each sensor terminal 42 has a timer for measuring the time T1, T2. The timer turns off the transistor TR after the time T1, and turns on the FET M after the time T2. Therefore, FIG. 13 (A)
As shown in (5), the electric power supplied to the M-th stage sensor terminal 42 is supplied to the (M + 1) -th stage sensor terminal after the elapse of the time T2. Further, the resistance Ra, Rb and the sensor SW M
Sensor circuit is provided consisting of the resistance value of the sensor circuit during on of the sensor SW M becomes Ra, sensor SW M is in the OFF becomes (Ra + Rb). Therefore, at the time the sensor SW M is turned off the current i A / B flows through the current path 50, the current flows i AS sensor SW M is at ON. By detecting the operational amplifier OP the current flowing through the current path 50 by current-voltage conversion, address of the sensor terminals 42 (mounting number) and the data (on-signal of the sensor SW M) is detected. Thus, the controller 42 detects the value of the current flowing through the current path 50 in the state shown in FIG.

このセンサ端末42にはフォトカプラ43が備えられてお
り、フォトカプラ43を構成するフォトダイオードは電流
経路51からFET0を介して電源のコモン端子に接続されて
いる。このFET0はMPUから出力された信号46によりオン
する。いまセンサSWMがオフ時に信号46を出力してFET0
をオンすると、電流経路50を流れる電流iASはフォトダ
イオードの駆動電流iATとなり、フォトカプラ43を構成
する。フォトダイオードをオンすることができる。MPU
はコンパレータC2の出力48によって給電中のセンサ端末
42を特定することができるため、所定のタイミングで信
号46を出力してFET0をオンすることにより、所望のセン
サ端末42においてフォトカプラ43のフォトダイオードを
オンし、センサ端末42を出力ユニットとして用いること
ができる。したがって、送信駆動出力電流iATは受信セ
ンサ検出電流iASと同じであるため、送信/受信とも同
一条件で確実な伝送が行える。
The sensor terminal 42 is provided with a photocoupler 43, and the photodiode constituting the photocoupler 43 is connected to the common terminal of the power supply from the current path 51 via the FET0. This FET0 is turned on by the signal 46 output from the MPU. Now, when sensor SW M is off, signal 46 is output and FET0
Is turned on, the current i AS flowing through the current path 50 becomes the drive current i AT of the photodiode, and forms the photocoupler 43. The photodiode can be turned on. MPU
Is the sensor terminal powered by the output 48 of the comparator C2
Since the signal 42 can be specified, the signal 46 is output at a predetermined timing to turn on the FET0, thereby turning on the photodiode of the photocoupler 43 in the desired sensor terminal 42 and using the sensor terminal 42 as an output unit. be able to. Therefore, since the transmission drive output current i AT is the same as the reception sensor detection current i AS , reliable transmission can be performed under the same conditions in both transmission and reception.

各センサ端末42は外部から電力供給を受けるリトリガ
回路44を備えており、フォトカプラ43のフォトトランジ
スタはこのリトリガ回路44に接続されている。リトリガ
回路44はフォトトランジスタがオンしたとき切換信号を
出力する。以上のように、この発明の出力データ検出手
段を構成するフォトカプラ43と、同じく出力信号切換回
路を構成するリトリガ回路44を備えることにより出力ユ
ニットとして用いるセンサ端末42から信号を出力でき
る。また、センサSWMをタイオードDを介してFET0′を
介挿した電流経路53からコモン端子に接続することによ
ってセンサ端末42を入出力ユニットとして用いることが
できる。この場合においてリトリガ回路44は電流経路50
とは異なる別の経路によって電力を供給されており、リ
トリガ回路44の駆動電圧がオペアンプOPの検出電圧に影
響を与えることがなく、MPUにおいてデータの送受信お
よびアドレスの特定を正確に行うことができる。つま
り、もしリトリガ回路44に電源を供給するのに第9図の
ように信号ラインと電源ラインとをコモンラインにて共
通にしてしまうと多数のリトリガ回路を同時にオンする
ときにコモンラインにおいて大きな電圧降下を生じてし
まうが、この実施例のように別電源でリトリガ回路を駆
動する構成にすればこの問題を解決することができ、デ
ータ送受信とアドレスの特定を正確にできる。なお、リ
トリガ回路を駆動する電源にはバッテリや外部の制御対
象機器の電源部が利用される。
Each sensor terminal 42 includes a retrigger circuit 44 that receives power supply from outside, and the phototransistor of the photocoupler 43 is connected to the retrigger circuit 44. The retrigger circuit 44 outputs a switching signal when the phototransistor turns on. As described above, by including the photocoupler 43 constituting the output data detecting means of the present invention and the retrigger circuit 44 constituting the output signal switching circuit, a signal can be outputted from the sensor terminal 42 used as an output unit. Further, it is possible to use a sensor terminal 42 as input and output units by connecting the sensor SW M from the current path 53 interposed the FET 0 'through Taiodo D to the common terminal. In this case, the retrigger circuit 44
Power is supplied by another path different from that of the above, so that the drive voltage of the retrigger circuit 44 does not affect the detection voltage of the operational amplifier OP, and the MPU can accurately transmit and receive data and specify the address. . That is, if the signal line and the power supply line are shared by a common line as shown in FIG. 9 to supply power to the retrigger circuit 44, a large voltage is applied to the common line when a large number of retrigger circuits are turned on at the same time. Although a drop occurs, this problem can be solved by driving the retrigger circuit with a separate power supply as in this embodiment, and data transmission / reception and address identification can be accurately performed. Note that a battery or a power supply unit of an external device to be controlled is used as a power supply for driving the retrigger circuit.

第15図(A)および(B)は、請求項(6)に記載し
た発明の実施例を示すそれぞれ正面方向の組立図、およ
び背面方向の要部の組立図である。
15 (A) and 15 (B) are an assembly view in the front direction and an assembly view of a main part in the back direction, respectively, showing an embodiment of the invention described in claim (6).

端子台31の背面に取り付けられるプリント基板32には
ゲート回路およびスイッチ回路を構成するICチップ33お
よびセンサ回路の一部を構成する抵抗34,35が取り付け
られており、端子台31にセンサ端末22が一体的に構成さ
れている。このように構成することにより、LANを構成
する各ワークステーション等に対するセンサ端末22の取
付作業を簡略化できる利点がある。
A printed circuit board 32 attached to the back surface of the terminal block 31 has attached thereto an IC chip 33 constituting a gate circuit and a switch circuit and resistors 34 and 35 constituting a part of a sensor circuit. Are integrally formed. With this configuration, there is an advantage that the work of attaching the sensor terminal 22 to each workstation or the like configuring the LAN can be simplified.

(g)発明の効果 請求項(1)に記載した発明によれば、コントローラ
側およびセンサ端末側に従来ような伝送制御部を設ける
必要がない。このため、非常に低コストで且つ簡単に構
成できる利点がある。また、電流経路に流す電流を直流
にできるために、電流経路に外部から乗るノイズに影響
されるということがなく、極めて正確な検出が可能であ
る。
(G) Effects of the Invention According to the invention described in claim (1), it is not necessary to provide a transmission control unit on the controller side and the sensor terminal side as in the related art. Therefore, there is an advantage that the configuration can be made at very low cost and simple. Further, since the current flowing in the current path can be DC, it is possible to perform extremely accurate detection without being affected by noise from the outside on the current path.

また、請求項(2)に記載した発明によれば、コント
ローラ側およびセンサ端末側に従来のような伝送制御部
を設ける必要がない。このため、非常に低コストで且つ
簡単に構成できる利点がある。また、電流経路に流す電
流を直流にできるために、電流経路に外部から乗るノイ
ズに影響されるということがなく、正確な検出が可能で
ある。更に、一つのセンサ端末でセンシングを行ってい
る時に他のセンサ端末のセンサ回路に電流が流れない構
成であるために無駄な電力損失がない。このためコント
ローラ側の構成を簡単にできる他、コントローラに対し
てかなりの数のセンサ端末を接続できるという利点があ
る。
Further, according to the invention described in claim (2), it is not necessary to provide a transmission control unit on the controller side and the sensor terminal side unlike the related art. Therefore, there is an advantage that the configuration can be made at very low cost and simple. In addition, since the current flowing in the current path can be DC, accurate detection is possible without being affected by noise from the outside on the current path. Furthermore, since current is not passed through the sensor circuit of another sensor terminal when sensing is performed by one sensor terminal, there is no wasteful power loss. Therefore, there are advantages that the configuration on the controller side can be simplified and that a considerable number of sensor terminals can be connected to the controller.

さらに、請求項(3)に記載した発明によれば、セン
サを接離することによりセンサ端末を入出力ユニットま
たは出力ユニットとして用いることができる。
Furthermore, according to the invention described in claim (3), the sensor terminal can be used as an input / output unit or an output unit by connecting and disconnecting the sensor.

加えて、請求項(4)に記載した発明によれば、出力
回路の出力信号切換回路に対してデータ伝送経路とは別
の経路によって電源が供給されるため、データ伝送経路
を介して入出力されるデータに出力回路の駆動電力が影
響を与えることがなく、伝送ユニットを入出力ミニット
または出力ユニットとして用いる際に、常に正確なデー
タを入出力できる利点がある。
In addition, according to the invention described in claim (4), since power is supplied to the output signal switching circuit of the output circuit through a path different from the data transmission path, input / output is performed via the data transmission path. There is an advantage that accurate data can always be input and output when the transmission unit is used as an input / output minute or an output unit without affecting the data to be output by the driving power of the output circuit.

また、請求項(5)に記載した発明によれば、第2の
ゲート回路に含まれるスイッチ素子を、オン抵抗がトラ
ンジスタに比較して十分に小さいMOSFETで構成すると、
各センサ端末における電圧降下が小さくなるとともに、
MOSFETをオンさせるゲート電流も非常に小さくなり、電
流経路に流れる電流値を小さくすることができる。
According to the invention described in claim (5), when the switch element included in the second gate circuit is constituted by a MOSFET whose on-resistance is sufficiently smaller than that of the transistor,
As the voltage drop at each sensor terminal decreases,
The gate current that turns on the MOSFET is also very small, and the current flowing in the current path can be reduced.

加えて、請求項(6)に記載した発明によれば、単一
の端子台に単一または複数のセンサ端末を一体的に構成
でき、情報伝達システムを構成する入出力装置に対する
取付作業を簡略化できる。
In addition, according to the invention described in claim (6), one or a plurality of sensor terminals can be integrally formed on a single terminal block, and the work of attaching to the input / output device constituting the information transmission system is simplified. Can be

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

第1図は請求項(1)に記載した発明の構成を示す図、
第2図(A),(B)は同発明の作用を説明するための
図、第3図は同発明の実施例の構成を示す図である。 第4図は請求項(2)に記載した発明の実施例の構成図
を示している。第5図,第6図,第7図は同実施例の動
作を説明するための図である。また第8図(A),
(B)は他の実施例の一部構成図である。 第9図は請求項(3)に記載した発明の実施例の構成を
示す図である。第10図(A)〜(C)は請求項(3)に
記載した発明におけるコントローラへの入力波形を示す
図である。第11図(A)〜(C)は請求項(3)に記載
した発明におけるコントローラへの外部からの入力波形
およびこの入力に対応したオン信号の波形を示す図であ
る。 第12図は請求項(4)に記載した発明のコントーラの構
成を示す図、第13図(A)および(B)は同発明の実施
例である伝送ユニットの各センサ端末における電流経路
のオン/オフ状態およびコントローラにおけるオペアン
プの出力電圧を示す図、第14図は同実施例のコントロー
ラにおける電流経路中の電流の検出状態を示す図であ
る。 第15図(A)および(B)は請求項(6)に記載した発
明の実施例のそれぞれ正面方向および背面方向の組立図
である。 1,11,21……コントローラ、 2,12,22……センサ端末、 3,13,23……電流経路、 G1……第1のゲート回路、 G2……第2のゲート回路、 SC……センサ回路、 R3……(電流検出用)抵抗、 TR,TR1……電流供給用トランジスタ、 C1,C2……コンパレータ、 S/R……シフトレジスタ、 OC……出力回路、 P1,P2……スイッチ素子、 T1,T2,T3……タイマ、 D……遅延素子、 F,F/F……フリップフロップ、 S……センサ。
FIG. 1 is a diagram showing the configuration of the invention described in claim (1);
2A and 2B are diagrams for explaining the operation of the present invention, and FIG. 3 is a diagram showing a configuration of an embodiment of the present invention. FIG. 4 shows a configuration diagram of an embodiment of the invention described in claim (2). FIG. 5, FIG. 6, and FIG. 7 are diagrams for explaining the operation of the embodiment. FIG. 8 (A),
(B) is a partial configuration diagram of another embodiment. FIG. 9 is a diagram showing the configuration of the embodiment of the invention described in claim (3). 10 (A) to 10 (C) are diagrams showing input waveforms to the controller in the invention described in claim (3). FIGS. 11 (A) to 11 (C) are diagrams showing an input waveform from the outside to the controller and a waveform of an ON signal corresponding to this input in the invention described in claim (3). FIG. 12 is a diagram showing the configuration of the controller of the invention described in claim (4), and FIGS. 13 (A) and (B) show the ON state of the current path in each sensor terminal of the transmission unit according to the embodiment of the invention. FIG. 14 is a diagram showing the output voltage of the operational amplifier in the controller / off state and the controller, and FIG. 14 is a diagram showing the detection state of the current in the current path in the controller of the embodiment. 15 (A) and 15 (B) are front and rear views, respectively, of an embodiment of the invention described in claim (6). 1,11,21 ... Controller, 2,12,22 ... Sensor terminal, 3,13,23 ... Current path, G1 ... First gate circuit, G2 ... Second gate circuit, SC ... Sensor circuit, R3 ... (current detection) resistor, TR, TR1 ... current supply transistor, C1, C2 ... comparator, S / R ... shift register, OC ... output circuit, P1, P2 ... switch Element, T1, T2, T3 ... timer, D ... delay element, F, F / F ... flip-flop, S ... sensor.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭60−45802(JP,A) 実開 昭49−91715(JP,U) (58)調査した分野(Int.Cl.6,DB名) H04Q 9/00 - 9/16──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-60-45802 (JP, A) JP-A-49-91715 (JP, U) (58) Fields investigated (Int. Cl. 6 , DB name) H04Q 9/00-9/16

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】コントローラ側を電流源として、並列に接
続された各センサ端末側に電流を供給する2線式電流経
路を設け、 各センサ端末は、前記2線式電流経路の入力線と接地線
との間に電流経路のコントローラ側から後段のセンサ端
末側に向かって第1の電流路及び第2の電流路をこの順
に形成する分流回路と、 分流回路によって構成された第2の電流路を開閉するセ
ンサと、 電流経路のコントローラ側を、非作動時には第2の電流
路に、作動時には後段のセンサ端末側に切換接続するゲ
ート回路と、 前記分流回路への通電後に一定時間遅延して前記ゲート
回路を作動させる遅延切換回路と、を備え、 前記コントローラは、各センサ端末のゲート回路が順次
作動する間において電流経路を流れる電流の大きさを検
出する電流検出回路を備えてなる伝送ユニット。
1. A two-wire current path for supplying a current to each sensor terminal connected in parallel with a controller as a current source, wherein each sensor terminal is connected to an input line of the two-wire current path and a ground. A first current path and a second current path formed in this order from the controller side of the current path to the sensor terminal side at the subsequent stage between the current path and the second current path; A gate circuit that switches and connects the controller side of the current path to the second current path when not in operation, and to a sensor terminal side at the subsequent stage when in operation, and a fixed time delay after energizing the shunt circuit. A delay switching circuit that activates the gate circuit, wherein the controller includes a current detection circuit that detects a magnitude of a current flowing through a current path while the gate circuit of each sensor terminal sequentially operates. Ete become transmission unit.
【請求項2】コントローラ側を電流源として、並列に接
続された各センサ端末側に電流を供給する2線式電流経
路を設け、 各センサ端末は、前記2線式電流経路の入力線と接地線
との間に形成した電流路を開閉するセンサと、 センサの作動状態に応じて電流路のインピーダンス値を
変える可変インピーダンス回路と、 電流経路の入力線が電流源に接続された時から一定時間
T1だけ電流路における電流経路の入力線とセンサとの間
を接続する第1のゲート回路と、 電流経路の入力線が電流源に接続された時から一定時間
T2(T2>T1)経過時に電流経路の入力線におけるコント
ローラと後段のセンサ端末との間を接続する第2のゲー
ト回路と、を備え、 前記コントローラは、各センサ端末の第1のゲート回路
が順次作動する間において電流経路を流れる電流の大き
さを検出する電流経路の電流検出回路を備えてなる伝送
ユニット。
2. A two-wire current path for supplying a current to each sensor terminal connected in parallel with a controller as a current source, wherein each sensor terminal is connected to an input line of the two-wire current path and a ground. A sensor that opens and closes a current path formed between the current path and a variable impedance circuit that changes the impedance value of the current path according to the operating state of the sensor; and a fixed time from when the input line of the current path is connected to the current source
A first gate circuit that connects between the input line of the current path in the current path and the sensor by T1, and a fixed time from when the input line of the current path is connected to the current source;
A second gate circuit that connects between the controller on the input line of the current path and the subsequent sensor terminal when T2 (T2> T1) has elapsed, wherein the controller has a first gate circuit of each sensor terminal. A transmission unit including a current detection circuit of a current path for detecting a magnitude of a current flowing through the current path during sequential operation.
【請求項3】前記可変インピーダンス回路に対して前記
センサを接離自在に備えるとともに、前記コントローラ
から前記各センサ端末に出力データを伝送するデータ伝
送経路と、前記第1のゲート回路が電流路における電流
経路の入力線とセンサとの間を接続している間における
データ伝送経路の出力データの有無に応じて出力を切り
換える出力回路と、を設けた請求項(2)に記載の伝送
ユニット。
3. A data transmission path for transmitting output data from the controller to each of the sensor terminals, wherein the first gate circuit is connected to a current path. 3. The transmission unit according to claim 2, further comprising: an output circuit for switching an output according to the presence or absence of output data on a data transmission path while connecting the input line of the current path and the sensor.
【請求項4】前記出力回路が、前記データ伝送経路の出
力データを検出する出力データ検出手段と、前記データ
伝送経路と異なる経路で供給される電源で駆動され、前
記出力データ検出手段による出力データ検出時に出力切
換信号を出力する出力信号切換回路を備えてなる請求項
(3)に記載の伝送ユニット。
4. An output data detecting means for detecting output data of the data transmission path, wherein the output circuit is driven by a power supply supplied through a path different from the data transmission path, and the output data is output by the output data detecting means. The transmission unit according to claim 3, further comprising an output signal switching circuit that outputs an output switching signal upon detection.
【請求項5】前記第2のゲート回路が、MOSFETで構成し
たスイッチ素子を含む請求項(2)〜(4)のいずれか
に記載の伝送ユニット。
5. The transmission unit according to claim 2, wherein said second gate circuit includes a switch element constituted by a MOSFET.
【請求項6】単一または複数の前記センサ端末を一体の
端子台に構成した請求項(1)〜(5)のいずれかに記
載の伝送ユニット。
6. The transmission unit according to claim 1, wherein one or a plurality of said sensor terminals are formed as an integral terminal block.
JP9104890A 1989-04-04 1990-04-04 Transmission unit Expired - Fee Related JP2804339B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US07/678,861 US5140622A (en) 1990-04-04 1991-04-01 Data transmission system with double lines
EP91302908A EP0450930B1 (en) 1990-04-04 1991-04-03 Data transmission system with double lines
DE69123773T DE69123773T2 (en) 1990-04-04 1991-04-03 Data transmission system with double line

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP8612189 1989-04-04
JP1-86121 1989-04-04
JP1-146193 1989-06-08
JP14619389 1989-06-08
JP1-244027 1989-09-19
JP24402789 1989-09-19

Publications (2)

Publication Number Publication Date
JPH03201700A JPH03201700A (en) 1991-09-03
JP2804339B2 true JP2804339B2 (en) 1998-09-24

Family

ID=27305088

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9104890A Expired - Fee Related JP2804339B2 (en) 1989-04-04 1990-04-04 Transmission unit

Country Status (1)

Country Link
JP (1) JP2804339B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006087801A (en) * 2004-09-27 2006-04-06 Fukuda Denshi Co Ltd Sensor unit, and alarm device
JP7005335B2 (en) * 2017-12-22 2022-01-21 キヤノン株式会社 Sensor control device
WO2019124451A1 (en) * 2017-12-22 2019-06-27 キヤノン株式会社 Sensor control device, and image formation device
JP7171411B2 (en) * 2017-12-22 2022-11-15 キヤノン株式会社 Sensor control device, image forming device

Also Published As

Publication number Publication date
JPH03201700A (en) 1991-09-03

Similar Documents

Publication Publication Date Title
CN100493279C (en) PWM LED regulator with sample and hold
US7023215B2 (en) Field effect sensor two wire interconnect method and apparatus
EP1296301B1 (en) Fire alarm system, fire sensor, fire receiver, and repeater
JP2804339B2 (en) Transmission unit
US4425512A (en) Power supply system
EP0450930B1 (en) Data transmission system with double lines
US7078861B2 (en) Vehicle lamp controlling device and vehicle lamp controlling method
JP3231052B2 (en) Transmission unit
JPH0991576A (en) Sensor line open-circuit detection system using fire receiver
JP3378768B2 (en) Power supply switching circuit
JP2000269029A (en) Inductive load drive circuit
JPH06174504A (en) Magnetic detection circuit
JP3125335B2 (en) Cumulative time measuring device
DE10336973A1 (en) Diagnostic system, for series connected LEDs with high-side switch with connections to 24V DC power source, applies diagnostic pulse at approximately half supply voltage
EP0501771A1 (en) Information transmission system
JPS6028341A (en) Device for transmitting information of abnormal environment
JP2000259296A (en) Digital input circuit with coupled photocoupler
JPS635333Y2 (en)
JP3853041B2 (en) Anomaly detection equipment for disaster prevention facilities
JPS60239816A (en) Power supply failure signal output circuit of measuring instrument
JP3189322B2 (en) Electronic control unit
JPH10136129A (en) Line speech current control circuit
SU1124367A1 (en) Indication device
SU1114994A1 (en) Device for checking and adjusting digital units
JP2001285903A (en) Detector for polarity of line voltage in analog telephone line

Legal Events

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