JPH0653801A - Multiplex connection sensor circuit - Google Patents

Multiplex connection sensor circuit

Info

Publication number
JPH0653801A
JPH0653801A JP22510592A JP22510592A JPH0653801A JP H0653801 A JPH0653801 A JP H0653801A JP 22510592 A JP22510592 A JP 22510592A JP 22510592 A JP22510592 A JP 22510592A JP H0653801 A JPH0653801 A JP H0653801A
Authority
JP
Japan
Prior art keywords
transmission line
sensor
output
circuit
sensor circuit
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.)
Pending
Application number
JP22510592A
Other languages
Japanese (ja)
Inventor
Takeshi Yamamoto
猛 山本
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.)
ASTECS KK
Takenaka Electronic Industrial Co Ltd
Original Assignee
ASTECS KK
Takenaka Electronic Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ASTECS KK, Takenaka Electronic Industrial Co Ltd filed Critical ASTECS KK
Priority to JP22510592A priority Critical patent/JPH0653801A/en
Publication of JPH0653801A publication Critical patent/JPH0653801A/en
Pending legal-status Critical Current

Links

Landscapes

  • Geophysics And Detection Of Objects (AREA)
  • Electronic Switches (AREA)

Abstract

PURPOSE:To collectively supply power supply voltage from a demodulator side and to receive a detection signal in an easily identifiable state by modulating the pulse time width of a transmission line in each period in accordance with the detection state of each sensor. CONSTITUTION:Gate voltage is outputted from a drive control circuit alternately at the timing of A and B, a P-MOSFET 11 is turned on when the gate voltage is low and power supply voltage is impressed to respective sensors through a transmission line 2. On the other hand, N-MOSFET 12 is turned on when the gate voltage is high to execute a reset function for returning the voltage of the line 2 to 0V by discharging electric charge stored in a transmission line. Only sensors whose addresses coincide with each other out of plural sensors 1a to 1c are alternately driven and the potential of the line 2 is turned to low. When a signal inverted by an inverter circuit 9 is received, the receiving time is judged by identify the detection state of each sensor.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は物体検出用のセンサに係
り、複数のセンサを並列に接続して1本の出力ラインで
各センサの検知信号を制御する技術に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sensor for detecting an object, and more particularly to a technique for connecting a plurality of sensors in parallel and controlling a detection signal of each sensor with one output line.

【0002】[0002]

【従来の技術】発明者は、複数のセンサを一対のライン
に並列接続し、このラインによって復調器から各センサ
に電源電力を供給すると共に、電源の非供給時を利用し
て同一の復調器が検知信号を受信する構成を既に開示し
ている(特開平3−71716号)。また、これら復調
器とセンサとの電源電力および検知信号の受け渡しに関
する詳細な技術についても開示している(特開平3−1
43014号)。
2. Description of the Related Art The inventor has connected a plurality of sensors in parallel to a pair of lines, and supplies power from a demodulator to each sensor through the lines, and utilizes the time when power is not supplied to the same demodulator. Have already disclosed a configuration for receiving a detection signal (Japanese Patent Laid-Open No. 3-71716). It also discloses a detailed technique relating to the power supply of the demodulator and the sensor and the delivery of the detection signal (Japanese Patent Laid-Open No. 3-1.
43014).

【0003】これらの技術の概略を説明すると、図6に
示したようにセンサとしては1a〜1pの16個を一群
のセンサ群に構成し、これらに順に0から15までの固
有のアドレスを持つアドレススイッチS0〜S15を設
けている。61はセンサ群1a〜1pを駆動すると共に
検出信号を制御するための復調器、62はセンサ群1a
〜1pに電力を供給するためのドライブ回路で、当該回
路の一部を構成している。63はドライブ回路62にお
いて電源パルスを発生し、かつ16個の検出信号を次段
のコンピュータなどに出力するためのコントロール回路
である。CMP1・CMP2はそれぞれコンパレータで、センサ
1a〜1pから順次出力される信号レベルとそれぞれの
基準電圧とを比較するものである。ここでコンパレータ
を2つ使用するのは、遮光時・入光時および無信号時の
3状態を識別するためである。64・65は一対の電源
ラインで、64が正側、65が負側であるが、ここでは
正側の電源ライン64とセンサ1a〜1pの出力ライン
を共用する構成としている。なお個々のセンサは、電源
から供給されるパルスによってリングオシレータで構成
された内部クロックを働かせ、駆動させるようにしてい
る。
To explain the outline of these techniques, as shown in FIG. 6, 16 sensors 1a to 1p are formed into a group of sensors, and these have a unique address of 0 to 15 in order. Address switches S0 to S15 are provided. Reference numeral 61 denotes a demodulator for driving the sensor groups 1a to 1p and controlling a detection signal, and 62 denotes the sensor group 1a.
A drive circuit for supplying electric power to 1p forms a part of the circuit. Reference numeral 63 is a control circuit for generating a power supply pulse in the drive circuit 62 and outputting 16 detection signals to the next stage computer or the like. CMP1 and CMP2 are comparators for comparing the signal levels sequentially output from the sensors 1a to 1p with respective reference voltages. The reason why two comparators are used here is to identify the three states when light is blocked, when light is received, and when there is no signal. Reference numerals 64 and 65 denote a pair of power supply lines, where 64 is the positive side and 65 is the negative side, but here, the positive power supply line 64 and the output lines of the sensors 1a to 1p are shared. Note that each sensor operates and drives an internal clock composed of a ring oscillator by a pulse supplied from a power source.

【0004】そして、それぞれのセンサからの検出信号
は、遮光時・入光時および無信号時で電圧レベルを変え
て出力し、上述したコンパレータによってどのレベルの
出力が行われているかを判定するものである。
The detection signals from the respective sensors are output by changing the voltage level when light is shielded, when light is received, and when there is no signal, and which level is output by the comparator described above. Is.

【0005】[0005]

【発明が解決しようとする課題】ところで、上述した従
来の技術では各センサを駆動するための電源は復調器6
1の内部のドライブ回路62から供給されており、それ
ぞれのセンサにパルス状に12Vの電圧を加えることに
よって駆動が行われる構成になっている。そしてそのパ
ルスの間隙を利用して複数種類のアナログ電圧からなる
検出信号を復調器61に受信している。しかし、上り下
りのタイミングは一種の電圧変調で行われるため、電流
の変化点においては必ず干渉が生じる。従ってこれを極
小にするためには使用部品に誤差精度が高いものにしな
ければならず、コストが上昇する。また電圧変調された
アナログ電圧をデジタル信号に変換しなければならない
のでコンパレータが不可欠であるが、変調レベルが低い
場合にはコンパレータも高精度の調整が必要になり、技
術的にも問題があるとともにコスト面での課題もある。
しかも伝送ラインに乗ってしまうノイズによる影響も無
視できない。
In the above-mentioned conventional technique, the power source for driving each sensor is the demodulator 6
1 is supplied from the internal drive circuit 62, and driving is performed by applying a voltage of 12 V in a pulse form to each sensor. The demodulator 61 receives a detection signal composed of a plurality of types of analog voltage by utilizing the gap between the pulses. However, since the up and down timing is performed by a kind of voltage modulation, interference always occurs at the current change point. Therefore, in order to minimize this, it is necessary to make the error accuracy of the parts used, which increases the cost. In addition, a comparator is indispensable because the voltage-modulated analog voltage must be converted into a digital signal, but when the modulation level is low, the comparator also needs to be adjusted with high precision, which is technically problematic. There are also cost issues.
Moreover, the effect of noise on the transmission line cannot be ignored.

【0006】本発明は上述した課題を解決することを目
的としたもので、電源電力を復調器側から一括して供給
するとともに、識別しやすい状態で検出信号を受信する
ことができる多重連結センサの回路を新たに開示するも
のである。
An object of the present invention is to solve the above-mentioned problems, and a multiple connected sensor capable of supplying power source power all at once from the demodulator side and receiving a detection signal in an easily distinguishable state. Is newly disclosed.

【0007】[0007]

【課題を解決するための手段】本発明では上記目的を達
成するために、一対の伝送ライン間に複数のセンサを並
列に接続し、これら複数のセンサに伝送ラインから電源
電力を供給するとともに、アドレスに対応するセンサか
らの検出信号を上記伝送ラインを介して順次受信する復
調器を備えた多重連結センサ回路であることを基本的な
構成とした。そして、復調器には一定の周期で上記電源
電力をオフする手段と、上記伝送ラインのうち正側のラ
インの反転電位を検出する手段を設けた。また各センサ
には内部電源手段と、アドレス検出手段と、発光手段
と、受光手段と、この受光手段による増幅出力を2レベ
ルで比較出力する比較手段と、この比較手段で比較判定
された3つのレベル状態に応じて出力時間を変更する出
力手段と、この出力手段の出力信号によって上記正側の
伝送ラインの電流を接地側に引き込む手段を設けた。こ
れによって、各センサの検出状態に応じて1周期ごとの
伝送ラインのパルス時間幅を変調するようにしている。
In order to achieve the above object, in the present invention, a plurality of sensors are connected in parallel between a pair of transmission lines, and power is supplied from the transmission lines to the plurality of sensors. The basic configuration is a multiple-connection sensor circuit including a demodulator that sequentially receives detection signals from the sensor corresponding to the address via the transmission line. The demodulator is provided with means for turning off the power supply at a constant cycle and means for detecting the inversion potential of the positive line of the transmission lines. Further, each sensor has an internal power source means, an address detecting means, a light emitting means, a light receiving means, a comparing means for comparing and outputting the amplified output by the light receiving means at two levels, and three comparison judgments made by the comparing means. An output means for changing the output time according to the level state and a means for drawing the current of the positive side transmission line to the ground side by the output signal of the output means are provided. As a result, the pulse time width of the transmission line for each cycle is modulated according to the detection state of each sensor.

【0008】また、電源電力として一対のMOSFET
を用い、一定周期ごとの前後にそれぞれのMOSFET
をスイッチングさせるとともに、プルアップ側のMOS
FETに並列にバイアスの定電流回路を設けるという手
段も採用した。
A pair of MOSFETs are used as power source power.
, Each MOSFET before and after every fixed period
Switching and pull-up side MOS
We have also adopted the means of providing a bias constant current circuit in parallel with the FET.

【0009】さらに、伝送ラインの電流を接地側に引き
込む手段としてトランジスタを用い、出力手段からの出
力をベースに印加して、上記伝送ラインの電位をエミッ
タ接地に流すという手段を用いている。
Further, a transistor is used as a means for drawing the current of the transmission line to the ground side, and the means for applying the output from the output means to the base to flow the potential of the transmission line to the grounded emitter.

【0010】さらにまた、1周期あたりのパルス時間幅
の変調として、3つのレベル状態に応じた変調に加え
て、さらにセンサの伝送ラインへの非接続時の時間幅を
加えた4段階のパルス幅変調という手段も採用する。
Further, as the modulation of the pulse time width per one cycle, in addition to the modulation corresponding to the three level states, the pulse width of four stages is added to the time width when the sensor is not connected to the transmission line. A means called modulation is also adopted.

【0011】[0011]

【作用】本発明の基本的構成のうち、復調器は各センサ
に電源を供給する作用と、各センサからのアドレスに応
じた検出信号を受信し、これを後段に出力する作用を行
う。一対の伝送ラインは電力線として機能すると同時に
信号線としても機能する。また各センサは個別に電源を
有しており、アドレス検出手段によって自己のアドレス
と復調器からのパルス順序が一致した場合に投受光作用
を行うもので、出力手段はこれによって発生した受光増
幅信号のレベルに応じた3段階のパルス幅変調手段とし
て機能するものである。そして出力手段の出力信号時間
に応じて伝送ラインの電流が引き込まれ、検出信号のパ
ルス幅変調を行っている。
In the basic structure of the present invention, the demodulator performs the function of supplying power to each sensor and the function of receiving the detection signal corresponding to the address from each sensor and outputting it to the subsequent stage. The pair of transmission lines function as power lines and at the same time function as signal lines. Each sensor has its own power source, and when the address detecting means matches its own address with the pulse order from the demodulator, it performs light emitting / receiving operation, and the output means outputs the received light amplification signal. It functions as a three-step pulse width modulation means according to the level of. Then, the current of the transmission line is drawn in according to the output signal time of the output means, and the pulse width modulation of the detection signal is performed.

【0012】MOSFETを一対として電源電力を供給
する手段は確実なスイッチングを行うことができるの
で、パルス幅変調のための好適な供給手段として作用し
ている。さらに、4段階のパルス幅変調によってより多
くの情報を復調器に送出するという作用をも行ってい
る。
Since the means for supplying the power supply with a pair of MOSFETs can perform reliable switching, it functions as a suitable supply means for pulse width modulation. Further, it also acts to send more information to the demodulator by pulse width modulation in four steps.

【0013】[0013]

【実施例】以下、本発明の好ましい実施例を添付した図
面に従って説明する。図1は多重連結のための基本的な
回路であって、それぞれにアドレススイッチを有する複
数のセンサ1a、1b…が一対の伝送ライン2・3を介
して復調器4に並列に接続されている点は従来例と同様
である。復調器4はさらに各センサに電力を供給するた
めのドライブ回路5、各センサから順次受信した検出信
号を判定するための入力検出回路6、この入力検出回路
6によってシリアルに判定された検出信号をパラレル変
換し、後段のコンピュータなどに出力する信号処理回路
7、およびこれらの回路の動作タイミングを制御するた
めのクロック回路8からなっている。9は波形整形回路
を有したインバータ回路である。このインバータ回路9
と入力検出回路6によって、結局は伝送ライン2の電位
の反転状態を検出することになる。また、ドライブ回路
5は、クロック回路8で生成されたクロックによって駆
動されるドライブ制御回路10と、このドライブ制御回
路10の2つの出力をそれぞれゲート入力とするP−M
OSFET11およびN−MOSFET12、P−MO
SFET11のドレイン側に接続されるプルアップ電源
13からなっており、P−MOSFET11とN−MO
SFET12のソース・ドレイン間に正側の伝送ライン
2が接続されている。14はP−MOSFET11と並
列に接続された定電流回路で、これによって各センサ1
a、1b…に信号電力を供給する。ここで、ドライブ制
御回路10からP−MOSFET11のゲート出力A、
及びN−MOSFET12のゲート出力Bは図2に示し
たように1判定周期(5T)の先頭パルスおよび最終パ
ルスにそれぞれ1回であり、その間の3T分を検出信号
の出力タイミングとしている。これをセンサ内部のダイ
オードとコンデンサによって平滑することによって1周
期ごとに全センサに電力が供給されるとともに、各周期
ごとにアドレスに対応するセンサから検出信号を受信す
ることができる。即ち、これらの構成によって常時電源
電力をセンサに供給するとともに、1周期ごとに電源電
力を1パルス分(1T)だけオフすることになる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the accompanying drawings. FIG. 1 shows a basic circuit for multiple connection, in which a plurality of sensors 1a, 1b ... Each having an address switch are connected in parallel to a demodulator 4 via a pair of transmission lines 2.3. The points are the same as in the conventional example. The demodulator 4 further supplies a drive circuit 5 for supplying power to each sensor, an input detection circuit 6 for determining detection signals sequentially received from each sensor, and a detection signal serially determined by the input detection circuit 6. It is composed of a signal processing circuit 7 for performing parallel conversion and outputting to a computer or the like in the subsequent stage, and a clock circuit 8 for controlling the operation timing of these circuits. Reference numeral 9 is an inverter circuit having a waveform shaping circuit. This inverter circuit 9
Finally, the input detection circuit 6 detects the inverted state of the potential of the transmission line 2. Further, the drive circuit 5 has a drive control circuit 10 driven by a clock generated by the clock circuit 8 and a P-M having gate outputs of two outputs of the drive control circuit 10.
OSFET 11 and N-MOSFET 12, P-MO
It is composed of a pull-up power supply 13 connected to the drain side of the SFET 11, and has a P-MOSFET 11 and an N-MO.
The positive transmission line 2 is connected between the source and drain of the SFET 12. Reference numeral 14 is a constant current circuit connected in parallel with the P-MOSFET 11, and by this, each sensor 1
Signal power is supplied to a, 1b, .... Here, the gate output A of the P-MOSFET 11 from the drive control circuit 10
As shown in FIG. 2, the gate output B of the N-MOSFET 12 and the gate output B of the N-MOSFET 12 are once for the first pulse and the last pulse of one determination period (5T), and the output of the detection signal is 3T. By smoothing this with a diode and a capacitor inside the sensor, electric power is supplied to all the sensors in each cycle and a detection signal can be received from the sensor corresponding to the address in each cycle. That is, with these configurations, the power source power is constantly supplied to the sensor, and the power source power is turned off for one pulse (1T) every one cycle.

【0014】次に図3は各センサ1a、1b…にそれぞ
れ共通する内部回路であり、本実施例ではセンサの一例
として光電スイッチを採用している。ここで伝送ライン
2・3間に供給される電源電力はダイオードD、コンデ
ンサCによって平滑整流されて定電圧回路15に与えら
れ、センサの内部電源となる。各センサの動作タイミン
グについてはアドレスカウンタ16とアドレススイッチ
17および両者の一致検出回路18が司り、電源電圧波
形aによってクロックアップするクロック検出回路19
でアドレスカウンタ16をカウントアップし、予め4ビ
ットで設定されたアドレススイッチ17の数値とアドレ
スカウンタ16のカウント値が一致すれば出力カウンタ
20に動作トリガdを出力し、受光レベルに応じた時間
幅の出力sをトランジスタ21のベースに加える。出力
カウンタ20のカウントは内部クロック発生回路22の
クロックbによって進められる。23はカウントスター
ト検出回路で、出力カウンタ20のカウントに従ってア
ドレスカウンタ16をリセットするものである。なお、
24は発光ダイオード(LED)のドライブ回路、25
はLED、26はLED25によって動作するフォトダ
イオード、27は増幅アンプ、28・29はそれぞれコ
ンパレータであって、28は増幅アンプの出力fが検出
レベル以上にあるかどうかを判定するための検出レベル
コンパレータ、29は出力が安定したレベル以上にある
かどうかを判定するための安定レベルコンパレータであ
り、これらの両出力の組み合わせによって出力カウンタ
20からトランジスタ21のベースに加えられる電圧の
印加時間を変調している。即ち、コンパレータ28より
もコンパレータ29の基準電位が高いので、増幅出力f
に応じた両コンパレータ28・29の出力は3つのレベ
ル状態になるが、これを識別してベースへの出力sの時
間幅を変調するのである。
Next, FIG. 3 shows an internal circuit common to each of the sensors 1a, 1b, ... In this embodiment, a photoelectric switch is used as an example of the sensor. Here, the power supply power supplied between the transmission lines 2 and 3 is smoothed and rectified by the diode D and the capacitor C and given to the constant voltage circuit 15, and becomes the internal power supply of the sensor. The operation timing of each sensor is controlled by the address counter 16, the address switch 17, and the coincidence detection circuit 18 for both, and the clock detection circuit 19 clocks up according to the power supply voltage waveform a.
The address counter 16 is counted up with and the operation trigger d is output to the output counter 20 when the numerical value of the address switch 17 set in advance with 4 bits and the count value of the address counter 16 match, and the time width corresponding to the light receiving level. Output s of the above is added to the base of the transistor 21. The count of the output counter 20 is advanced by the clock b of the internal clock generation circuit 22. A count start detection circuit 23 resets the address counter 16 according to the count of the output counter 20. In addition,
24 is a drive circuit of a light emitting diode (LED), 25
Is an LED, 26 is a photodiode operated by the LED 25, 27 is an amplification amplifier, and 28 and 29 are comparators, respectively. 28 is a detection level comparator for determining whether or not the output f of the amplification amplifier is equal to or higher than the detection level. , 29 are stable level comparators for determining whether or not the output is at a stable level or higher. The combination of these two outputs modulates the application time of the voltage applied from the output counter 20 to the base of the transistor 21. There is. That is, since the reference potential of the comparator 29 is higher than that of the comparator 28, the amplified output f
The outputs of both comparators 28 and 29 are in three level states, which are discriminated and the time width of the output s to the base is modulated.

【0015】図4には図3のセンサにおいてアドレスス
イッチの番地を0とするセンサの要部波形タイミングを
示す。ここで、トランジスタ21のベース電位(s)は
遮光時・入光時・安定入光時の3通りの印加時間とし、
具体的には順に1T、2T、3Tの時間幅をもってい
る。また内部クロック発生回路22からのクロックbは
厳密には連続しているが、出力カウンタ20における内
部カウントは伝送ラインの電圧aの各立ち上がりでリセ
ットされる。
FIG. 4 shows the waveform timing of the main part of the sensor of FIG. 3 in which the address of the address switch is 0. Here, the base potential (s) of the transistor 21 is set to three application times when light is shielded, when light is received, and when stable light is received,
Specifically, the time widths are 1T, 2T, and 3T in order. Although the clock b from the internal clock generation circuit 22 is strictly continuous, the internal count in the output counter 20 is reset at each rise of the voltage a on the transmission line.

【0016】次に、本発明回路の電源供給および検出信
号の関係を図5に示す。判定のための1周期は5Tであ
り、それぞれの周期における最初の1T(斜線部分)は
電源供給タイミング、最終の1Tはリセットタイミング
であり、アドレスFの最終3T分は全センサのリセット
を兼用している。また、アドレスE・F・0番地はセン
サが接続されていない状態を示し、リセットタイミング
以外では常時電源供給の状態になっている。一方、アド
レス1・2・3番地はセンサを接続して正常動作が行わ
れている状態であり、それぞれ遮光時・入光時・安定入
光時の状態を示している。このタイムチャートから明ら
かなように、本実施例ではセンサが接続されて正常動作
を行っている場合は3T・2T・1Tの3種類の時間幅
と、特定のアドレスを持つセンサが伝送ライン2・3間
に接続されていないか、あるいは故障や断線している状
態の時間幅4Tの合計4種類の時間幅を識別することが
できる。
Next, the relationship between the power supply and the detection signal of the circuit of the present invention is shown in FIG. One cycle for determination is 5T, the first 1T (hatched portion) in each cycle is the power supply timing, the final 1T is the reset timing, and the final 3T of the address F also serves to reset all the sensors. ing. Further, addresses E, F and 0 indicate a state in which the sensor is not connected, and the power is always supplied except at the reset timing. On the other hand, addresses 1, 2, and 3 are in a state in which the sensor is connected and the normal operation is performed, and respectively show the states when light is blocked, when light is incident, and when stable light is incident. As is apparent from this time chart, in the present embodiment, when the sensor is connected and the normal operation is performed, the three types of time widths of 3T, 2T, and 1T and the sensor having the specific address are the transmission line 2 It is possible to identify a total of four types of time widths of the time width 4T in a state where the time width is not connected between the three, or is in a state of failure or disconnection.

【0017】続いて本発明回路全体の動作を説明する
と、先ずドライブ制御回路10から交互にA・Bの出力
タイミングでゲート電圧が出力されるが、P−MOSF
ET11はAのゲート電圧がローでオンし、伝送ライン
2を通して各センサに電源電圧が加えられる。一方、N
−MOSFET12はBのゲート電圧がハイでオンし、
伝送ライン2に貯まっている電荷をすべて放電し、伝送
ラインの電圧を0Vに戻すリセットの役割を行う。ここ
でP−MOSFET11とN−MOSFET12の何れ
もオンしていない状態では、伝送ライン2においては電
位が未定義の状態になって定まらないので、定電流回路
14からバイアス電流を供給し、電位を正側にプルアッ
プしている。従って定電流回路14としてはこのような
機能を有するものであればよく、たとえば抵抗に置換す
ることも可能である。なお、このときにはインバータ回
路9があるので入力検出回路6の入力側はローになって
いる。次に、各センサのうちでアドレスが一致したセン
サだけが択一的に動作するが、当該センサの増幅出力f
の状態によって出力カウンタ20からベース電流sが流
れる。これによってトランジスタ21がオンして定電流
回路14を接地側に引き込むので、伝送ライン2の電位
はローになる。そうするとインバータ回路9で反転した
信号が入力検出回路6に受信され、この時間を判定する
ことでセンサの検出状態が識別できるのである。即ち、
本発明の構成ではパルス幅変調方式(PWM)で検出状
態を識別している。なお、トランジスタ21によって伝
送ライン2の電流が引き込まれたときでもコンデンサC
があるのでセンサ内部のクロックなどが中断しないこと
はもちろんである。
Next, the operation of the circuit of the present invention will be described. First, the drive control circuit 10 alternately outputs the gate voltage at the output timings A and B.
ET11 is turned on when the gate voltage of A is low, and the power supply voltage is applied to each sensor through the transmission line 2. On the other hand, N
-The MOSFET 12 turns on when the gate voltage of B is high,
It plays the role of resetting, in which all the charges accumulated in the transmission line 2 are discharged and the voltage of the transmission line is returned to 0V. Here, when neither the P-MOSFET 11 nor the N-MOSFET 12 is turned on, the potential of the transmission line 2 is in an undefined state and cannot be determined. Therefore, the bias current is supplied from the constant current circuit 14 to change the potential. It is pulled up to the positive side. Therefore, the constant current circuit 14 may be any one having such a function, and can be replaced with, for example, a resistor. At this time, since there is the inverter circuit 9, the input side of the input detection circuit 6 is low. Next, among the respective sensors, only the sensor having the same address operates as an alternative, but the amplified output f of the sensor
Depending on the state, the base current s flows from the output counter 20. This turns on the transistor 21 and pulls the constant current circuit 14 to the ground side, so that the potential of the transmission line 2 becomes low. Then, the signal inverted by the inverter circuit 9 is received by the input detection circuit 6, and the detection state of the sensor can be identified by determining this time. That is,
In the configuration of the present invention, the detection state is identified by the pulse width modulation method (PWM). Note that even when the current of the transmission line 2 is drawn by the transistor 21, the capacitor C
Of course, there is no interruption of the clock inside the sensor.

【0018】なお、本実施例では1周期の生成のために
1対のFETを用いたが、これはスイッチング時の立ち
上がり、立ち下がりの鋭さを考慮したものであって、こ
れらをトランジスタ回路で代替してスイッチングを行っ
ても支障はない。
In this embodiment, a pair of FETs is used for generating one cycle, but this is because the sharpness of rising and falling at the time of switching is taken into consideration, and these are replaced by transistor circuits. There is no problem even if switching is performed.

【0019】[0019]

【発明の効果】本発明では上述したような構成を採用し
たので、検出状態をパルスの幅の違いによって識別する
ことができる。従ってこれらを判定するには時系列に沿
って正確にパルスほ幅を確認するだけでよいので、デジ
タル処理を多く採用する本回路には最適な構成とするこ
とができたとともに、回路全体のIC化も比較的容易に
なった。また、従来は電圧の相違をコンパレータなどに
よって判定していたが、微妙な相違は識別が困難であっ
たから、非常に精度が高い部品を必要としていたが、本
発明では時間幅だけを識別すればよいので部品精度も従
来例ほど要求されることはなく、コスト面でも有利であ
る。さらにオン・オフで構成されたデジタル信号を信号
伝送に使用しているので、伝送距離を長くしても伝送損
失による悪影響はほとんどなく、外来ノイズに対しても
強いという利点がある。
Since the present invention employs the above-mentioned configuration, the detection state can be identified by the difference in pulse width. Therefore, in order to judge these, it is only necessary to confirm the pulse width accurately along the time series. Therefore, it was possible to make an optimum configuration for this circuit that employs a lot of digital processing, and at the same time, the IC of the entire circuit It has become relatively easy. Further, conventionally, the difference in voltage was determined by a comparator or the like, but since it was difficult to identify a subtle difference, a component with extremely high accuracy was required, but in the present invention, if only the time width is identified. Since it is good, the accuracy of parts is not required as in the conventional example, and it is advantageous in terms of cost. Further, since the digital signal configured by on / off is used for signal transmission, even if the transmission distance is lengthened, there is almost no adverse effect due to transmission loss and there is an advantage that it is strong against external noise.

【0020】さらにまた、復調器側から伝送ラインに加
えられたクロックを電源として、各センサが内部で整流
して独自の電源としているので、別個にセンサ用の電源
を必要とすることなく、配線が簡素化されると同時に電
力消費効率も向上することができるなど、多くの効果を
発揮する回路とすることができた。
Furthermore, since each sensor internally rectifies its own power source using the clock applied to the transmission line from the demodulator side as a power source, wiring is not required separately for the sensor. It is possible to obtain a circuit that exhibits many effects, such as simplification of power consumption and improvement of power consumption efficiency.

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

【図1】本発明回路の主に復調器を示すブロック図、FIG. 1 is a block diagram mainly showing a demodulator of a circuit of the present invention,

【図2】電源電圧供給用のタイミングを示すチャート、FIG. 2 is a chart showing a timing for supplying a power supply voltage,

【図3】各センサの内部ブロック、FIG. 3 is an internal block of each sensor,

【図4】センサ内部の各部分の波形を示すタイミングチ
ャート、
FIG. 4 is a timing chart showing waveforms of respective parts inside the sensor,

【図5】センサの検出状態に応じた波形図、FIG. 5 is a waveform chart according to the detection state of the sensor,

【図6】従来例を示すブロック図である。FIG. 6 is a block diagram showing a conventional example.

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

1a・1b・・・ センサ 2・3 伝送ライン 4 復調器 5 ドライブ回路 6 入力検出回路 7 信号処理回路 8 クロック回路 9 インバータ回路 10 ドライブ制御回路 11 P−MOSFET 12 N−MOSFET 13 プルアップ電源 14 定電流回路 15 定電圧回路 16 アドレスカウンタ 17 アドレススイッチ 18 一致検出回路 19 クロック検出回路 20 出力カウンタ 21 トランジスタ 22 内部クロック発生回路 23 カウントスタート検出回路 24 発光ダイオード(LED)のド
ライブ回路 25 LED 26 フォトダイオード 27 増幅アンプ 28・29 コンパレータ
1a ・ 1b ・ ・ ・ Sensor 2.3 Transmission line 4 Demodulator 5 Drive circuit 6 Input detection circuit 7 Signal processing circuit 8 Clock circuit 9 Inverter circuit 10 Drive control circuit 11 P-MOSFET 12 N-MOSFET 13 Pull-up power supply 14 Fixed Current circuit 15 Constant voltage circuit 16 Address counter 17 Address switch 18 Match detection circuit 19 Clock detection circuit 20 Output counter 21 Transistor 22 Internal clock generation circuit 23 Count start detection circuit 24 Light emitting diode (LED) drive circuit 25 LED 26 Photodiode 27 Amplifying amplifier 28/29 Comparator

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】一対の伝送ライン間に複数のセンサを並列
に接続し、これら複数のセンサに伝送ラインから電源電
力を供給するとともに、アドレスに対応するセンサから
の検出信号を上記伝送ラインを介して順次受信する復調
器を備えた多重連結センサ回路であって、上記復調器に
は一定の周期で上記電源電力をオフする手段と、上記伝
送ラインのうち正側のラインの反転電位を検出する手段
を設け、上記各センサには内部電源手段と、アドレス検
出手段と、発光手段と、受光手段と、この受光手段によ
る増幅出力を2レベルで比較出力する比較手段と、この
比較手段で比較判定された3つのレベル状態に応じて出
力時間を変更する出力手段と、この出力手段の出力信号
によって上記正側の伝送ラインの電流を接地側に引き込
む手段を設け、各センサの検出状態に応じて1周期ごと
の伝送ラインのパルス時間幅を変調することを特徴とし
た多重連結センサ回路。
1. A plurality of sensors are connected in parallel between a pair of transmission lines, power is supplied from the transmission lines to the plurality of sensors, and a detection signal from a sensor corresponding to an address is transmitted through the transmission lines. Is a multi-connection sensor circuit including a demodulator for sequentially receiving signals, the demodulator detecting means for turning off the power supply at a constant cycle, and detecting an inversion potential of a positive side line of the transmission line. A means is provided, and each sensor has an internal power source means, an address detecting means, a light emitting means, a light receiving means, a comparing means for comparing and outputting the amplified output by the light receiving means at two levels, and a comparison judgment by this comparing means. Output means for changing the output time in accordance with the three level states, and means for drawing the current of the positive side transmission line to the ground side by the output signal of the output means are provided. Multiply-connected sensor circuit characterized by modulating the pulse time width of the transmission line of each cycle in accordance with the detection state of the capacitor.
【請求項2】電源電力として、一対のMOSFETを用
い、一定周期ごとの前後にそれぞれのMOSFETをス
イッチングさせるとともに、プルアップ側のMOSFE
Tに並列にバイアスの定電流回路を設けた請求項1記載
の多重連結センサ回路。
2. A pair of MOSFETs are used as power source power to switch the MOSFETs before and after a fixed cycle, and a pull-up side MOSFE.
The multiple-connection sensor circuit according to claim 1, wherein a bias constant current circuit is provided in parallel with T.
【請求項3】伝送ラインの電流を接地側に引き込む手段
としてトランジスタを用い、出力手段からの出力をベー
スに印加して、上記伝送ラインの電位をエミッタ接地に
流した請求項1記載の多重連結センサ回路。
3. The multiple coupling according to claim 1, wherein a transistor is used as a means for drawing the current of the transmission line to the ground side, and the output of the output means is applied to the base to cause the potential of the transmission line to flow to the grounded emitter. Sensor circuit.
【請求項4】1周期あたりのパルス時間幅の変調とし
て、3つのレベル状態に応じた変調に加えて、さらにセ
ンサの伝送ラインへの非接続時の時間幅を加えた4段階
のパルス幅変調とした請求項1記載の多重連結センサ回
路。
4. A pulse width modulation in four steps, wherein, in addition to the modulation according to three level states, the time width when the sensor is not connected to the transmission line is added as the modulation of the pulse time width per cycle. The multi-connection sensor circuit according to claim 1.
JP22510592A 1992-07-31 1992-07-31 Multiplex connection sensor circuit Pending JPH0653801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22510592A JPH0653801A (en) 1992-07-31 1992-07-31 Multiplex connection sensor circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22510592A JPH0653801A (en) 1992-07-31 1992-07-31 Multiplex connection sensor circuit

Publications (1)

Publication Number Publication Date
JPH0653801A true JPH0653801A (en) 1994-02-25

Family

ID=16824064

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22510592A Pending JPH0653801A (en) 1992-07-31 1992-07-31 Multiplex connection sensor circuit

Country Status (1)

Country Link
JP (1) JPH0653801A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1460386A2 (en) 2003-02-06 2004-09-22 E.G.O. Elektro-Gerätebau GmbH Circuit for inductive sensors and method for its use

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1460386A2 (en) 2003-02-06 2004-09-22 E.G.O. Elektro-Gerätebau GmbH Circuit for inductive sensors and method for its use
EP1460386A3 (en) * 2003-02-06 2006-03-29 E.G.O. Elektro-Gerätebau GmbH Circuit for inductive sensors and method for its use

Similar Documents

Publication Publication Date Title
CN110022051B (en) Device and method for driving a power stage
JPH1075598A (en) High-side type motor current detecting circuit
KR100577112B1 (en) Output stage with self-calibrating slew rate control
JPH0653801A (en) Multiplex connection sensor circuit
US6188264B1 (en) Automatic threshold level control circuit
US4596984A (en) Digital data input circuit
US6188186B1 (en) Magnetostriction oscillator driving circuit and method
US5896050A (en) Signal generating circuit and peak detection circuit
JP6786913B2 (en) Signal transmission circuit and instrumentation equipment
US20230402910A1 (en) Current detection circuit, power conversion device, and power system
JPS5829273A (en) Noise detecting circuit for diode
JP2804678B2 (en) Photodetector
WO2023037611A1 (en) Drive device, drive method, and light-emitting device
JP2001045219A (en) Image sensor
KR100503043B1 (en) Strobe control appaparus wherein triger signal is effectively used
US6392451B1 (en) Threshold value operation circuit, and, and gate circuit, self hold circuit, start signal generation circuit using threshold value operation circuit
JP3358087B2 (en) Photoelectric switch
JPS6315511A (en) Isolator
JPH04167616A (en) Flooding circuit for photoelectric switch
JP2003264436A (en) Pulse amplifier
US6879199B2 (en) PWM control signal generation method and apparatus
JPH06164356A (en) Photodetector
JP3293044B2 (en) Photoelectric switch
JPH06174504A (en) Magnetic detection circuit
JPH07322639A (en) Power conversion device