JPH0329324B2 - - Google Patents

Info

Publication number
JPH0329324B2
JPH0329324B2 JP59258110A JP25811084A JPH0329324B2 JP H0329324 B2 JPH0329324 B2 JP H0329324B2 JP 59258110 A JP59258110 A JP 59258110A JP 25811084 A JP25811084 A JP 25811084A JP H0329324 B2 JPH0329324 B2 JP H0329324B2
Authority
JP
Japan
Prior art keywords
signal
light
output
threshold value
optical axis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59258110A
Other languages
Japanese (ja)
Other versions
JPS61135222A (en
Inventor
Ikuo Kumazaki
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.)
Panasonic Industrial Devices SUNX Co Ltd
Original Assignee
Sunx 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 Sunx Ltd filed Critical Sunx Ltd
Priority to JP59258110A priority Critical patent/JPS61135222A/en
Publication of JPS61135222A publication Critical patent/JPS61135222A/en
Publication of JPH0329324B2 publication Critical patent/JPH0329324B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 技術分野 本発明は、複数対の投光器と受光器とを備え、
各対の投光器から受光器に向かう光が遮断されて
いるか否かを微小時間差をもつて個別に検知する
走査を繰り返すとともに、その走査によつて得ら
れた複数の検知信号をシリアルな信号に変換して
順次しきい値と比較し、そのしきい値よりも上回
るか否かに応じてそれら検知信号をハイレベルと
ローレベルとに変化する2値信号に変換して出力
する多光軸光電スイツチに係り、特に検知信号を
2値信号に変換するに際して、前記複数の受光器
に対応する検知信号の各々に個別にヒステリシス
を付与し得るようにした個別ヒステリシス付き多
光軸光電スイツチに関するものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention includes a plurality of pairs of light emitters and light receivers,
Repeats a scan that individually detects whether the light from each pair of emitters to the receiver is blocked with a small time difference, and converts the multiple detection signals obtained from the scan into serial signals. A multi-optical axis photoelectric switch that sequentially compares the detection signal with a threshold value and converts the detection signal into a binary signal that changes between high level and low level depending on whether it exceeds the threshold value and outputs the signal. In particular, the present invention relates to a multi-optical axis photoelectric switch with individual hysteresis that can individually apply hysteresis to each of the detection signals corresponding to the plurality of light receivers when converting the detection signal into a binary signal. .

従来の技術 複数対の投光器と受光器とを備えた多光軸光電
スイツチは、従来では、加工機やプレス機械の安
全装置、あるいはコンベアライン上における物体
の存否を検出する装置等、一平面もしくは立体的
な空間内における物体の有無を検出するために用
いられているのが一般的であつた。そのため、従
来の多光軸光電スイツチでは、複数の受光器の全
部が同時に受光状態にあるか否かを判断し、その
判断結果に応じた出力信号を出力すれば十分であ
り、通常、隣接する光軸間の距離が有無判断の対
象とされる物体の大きさに比べて十分小さく、物
体が存在する場合にはそれが光軸の少なくとも一
つが完全に遮断されるようになつていることか
ら、各受光器が受光状態にあるか否かの判断は、
各受光器から出力される光の検知信号を一律に設
定されたしきい値と比較すれば足りた。
Conventional technology A multi-optical axis photoelectric switch equipped with multiple pairs of emitters and receivers has conventionally been used as a safety device for processing machines or press machines, or as a device for detecting the presence or absence of an object on a conveyor line. It was generally used to detect the presence or absence of an object in a three-dimensional space. Therefore, in conventional multi-optical axis photoelectric switches, it is sufficient to judge whether or not all of the multiple optical receivers are in the light-receiving state at the same time, and output an output signal according to the judgment result. This is because the distance between the optical axes is sufficiently small compared to the size of the object whose presence or absence is being determined, and if an object exists, at least one of the optical axes will be completely blocked. , to determine whether each receiver is in the light receiving state,
It was sufficient to compare the light detection signals output from each light receiver with a uniformly set threshold.

発明が解決しようとする問題点 しかし、この多光軸光電スイツチを物体の大き
さや形状等を検出する用途、例えばコンベアライ
ン上を搬送される物体の高さを検出するために用
いる場合には、前記物体の有無を検出するための
従来の多光軸光電スイツチの場合とは異なり、各
受光器が受光状態にあるか否かを個別に認識する
ことが必要となる。そのため、従来のように、各
受光器から出力される検知信号を一律に設定され
たしきい値と比較し、その比較結果に基づいて各
受光器が受光状態にあるか否かを判断しようとす
ると、光軸が部分的に遮断され、受光器から出力
される検知信号がそのしきい値に近い大きさにな
つた場合において、当該受光器の受光状態を表す
出力信号が短周期で反転を繰り返し、安定した出
力信号が得られないという問題がある。
Problems to be Solved by the Invention However, when this multi-optical axis photoelectric switch is used to detect the size and shape of an object, for example, to detect the height of an object being conveyed on a conveyor line, Unlike the case of a conventional multi-optical axis photoelectric switch for detecting the presence or absence of the object, it is necessary to individually recognize whether each light receiver is in a light receiving state. Therefore, as in the past, the detection signal output from each photoreceiver is compared with a uniformly set threshold value, and based on the comparison result, it is decided whether each photoreceiver is in the light receiving state or not. Then, when the optical axis is partially blocked and the detection signal output from the photoreceiver reaches a magnitude close to the threshold, the output signal representing the light receiving state of the photoreceiver will reverse in a short period of time. There is a problem that a stable output signal cannot be obtained repeatedly.

そこで、各受光器から出力される検知信号と比
較するしきい値を2つ用意し、各検知信号を受光
の有無に対応した2値信号に変換するに際してヒ
ステリシスを付与することが考えられる。各検知
信号を受光の有無に対応した2値信号に変換する
に際してヒステリシスを付与するようにすれば、
光軸が部分的に遮断されて検知信号が一方のしき
い値とほぼ同じ大きさとなつても、2値信号は一
定の状態に保たれ、個々の受光器から受光の有無
に応じた安定した出力信号を得ることができるの
である。
Therefore, it is conceivable to prepare two threshold values to be compared with the detection signal output from each light receiver, and to add hysteresis when converting each detection signal into a binary signal corresponding to the presence or absence of light reception. If hysteresis is added when converting each detection signal into a binary signal corresponding to the presence or absence of light reception,
Even if the optical axis is partially blocked and the detection signal becomes approximately the same size as one of the thresholds, the binary signal remains constant, and the signal remains stable depending on whether or not light is received from each receiver. An output signal can be obtained.

しかし、前記物体の有無を検出するための従来
の多光軸光電スイツチでは、一光軸に対して一出
力線が設けられ、各受光器から出力される検知信
号は物体の有無が最終的に判断されるまでパラレ
ルに処理されるようになつていたため、その従来
の多光軸光電スイツチの構成を物体の大きさや形
状等を検出する用途の多光軸光電スイツチに適用
し、しかも上述のように個々の受光器の出力信号
の安定化を図ろうとすると、ヒステリシスを付与
するための回路が光軸の数と同数必要となり、部
品点数が増えて装置が大形化するとともに、コス
トが高くなることを免れ得ない。
However, in the conventional multi-optical axis photoelectric switch for detecting the presence or absence of an object, one output line is provided for one optical axis, and the detection signal output from each photoreceptor ultimately determines the presence or absence of an object. Processing was performed in parallel until a judgment was made, so the configuration of the conventional multi-optical axis photoelectric switch was applied to a multi-optical axis photoelectric switch for detecting the size and shape of an object, and it was If you try to stabilize the output signal of each photoreceiver, you will need the same number of circuits to add hysteresis as there are optical axes, which increases the number of parts, increases the size of the device, and increases cost. I can't escape it.

問題点を解決するための手段 これに対して種々検討した結果、本発明者は、
先に特願昭59−199190号で提案した発明と同様に
各受光器からパラレルに出力される検知信号を時
分割のシリアルな信号に変換し、その上そのシリ
アルな信号に変換した検知信号に対して個別にヒ
ステリシスを与えるようにすれば、ヒステリシス
を付与する回路を各光軸に共通に用いることが可
能となり、前述のような問題を解消できるのでは
ないかという着想を得た。
Means for Solving the Problems As a result of various studies, the inventors have determined that:
Similar to the invention previously proposed in Japanese Patent Application No. 59-199190, the detection signals output in parallel from each photoreceiver are converted into time-division serial signals, and then the detection signals converted into serial signals are converted into We came up with the idea that if we were to apply hysteresis to each optical axis individually, it would be possible to use a circuit that provides hysteresis in common for each optical axis, which would solve the above-mentioned problems.

本発明に係る個別ヒステリシス付き多光軸光電
スイツチは、このような知見に基づいて為された
ものであり、その要旨とするところは、複数対の
投光器と受光器とを備え、各対の投光器から受光
器に向かう光が遮断されているか否かを微小時間
差をもつて個別に検知する走査を繰り返すととも
に、その走査によつて得られた複数の検知信号を
シリアルな信号に変換して順次しきい値と比較
し、そのしきい値よりも上回るか否かに応じてそ
れら検知信号をハイレベルとローレベルとに変化
する2値信号に変換して出力する多光軸光電スイ
ツチにおいて、前記走査に従つて前記しきい値と
比較されるべき検知信号を供給する受光器が切り
換えられる毎に、当該受光器からの検知信号に対
応した前記2値信号を記憶するとともに、次の走
査時に当該受光器からの検知信号がそのしきい値
と比較される際に、前回の走査時に当該受光器に
対応して記憶された前記2値信号を出力する記憶
手段を設ける一方、その記憶手段から出力された
2値信号が前回の走査時において前記しきい値を
上回る検知信号に対応するものである場合には、
そのしきい値を、互いに高さが異なる2つのしき
い値のうちの低い方のしきい値に設定し、それ以
外の場合には、それら2つのしきい値のうちの高
い方のしきい値に設定するしきい値変更手段を設
け、それによつて前記複数の受光器に対応する検
知信号の各々に個別にヒステリシスを付与し得る
ようにしたことにある。なお、ここにおいて、2
つのしきい値のうちの低い方のしきい値とは、受
光器で受光される光量の少ないときの検知信号の
レベルに近い側のレベルを有するしきい値をい
い、高い方のしきい値とは受光器で受光される光
量の多いときの検知信号のレベルに近い側のレベ
ルを有するしきい値をいう。
The multi-optical axis photoelectric switch with individual hysteresis according to the present invention was made based on such knowledge, and its gist is that it is provided with a plurality of pairs of emitters and receivers, and that each pair of emitters In addition to repeating a scan that individually detects with a minute time difference whether or not the light directed toward the receiver is blocked, the multiple detection signals obtained from the scan are converted into serial signals and sequentially detected. In the multi-optical axis photoelectric switch that compares the detection signal with a threshold value and converts the detected signal into a binary signal that changes between high level and low level depending on whether the detected signal exceeds the threshold value and outputs the binary signal, the scanning Accordingly, each time a photoreceiver that supplies a detection signal to be compared with the threshold value is switched, the binary signal corresponding to the detection signal from the photoreceiver is stored, and at the next scan, the received light is A storage means is provided for outputting the binary signal stored corresponding to the light receiver at the time of the previous scan when the detection signal from the receiver is compared with the threshold value. If the binary signal corresponds to a detection signal exceeding the threshold value during the previous scan,
Set the threshold to the lower of two thresholds of different heights; otherwise, set the threshold to the higher of those two thresholds. The present invention is characterized in that a threshold value changing means for setting a value is provided, thereby making it possible to individually apply hysteresis to each of the detection signals corresponding to the plurality of light receivers. In addition, here, 2
The lower threshold of the two thresholds refers to the threshold that has a level close to the level of the detection signal when the amount of light received by the light receiver is low, and the higher threshold is a threshold value having a level close to the level of the detection signal when the amount of light received by the light receiver is large.

また、前記複数の検知信号をシリアルな信号に
変換するに際しては、受光器を選択的に作動させ
るようにしてもよく、あるいは同時に作動する複
数の受光器からの検知信号を順次選択出力するよ
うにしてもよい。また、各投光器から発せられた
光がそれら投光器に対して対となる受光器にだけ
受光されるような場合には、投光器を順次作動さ
せることによつてシリアルな信号を得るようにす
ることも可能である。
Furthermore, when converting the plurality of detection signals into serial signals, the light receivers may be selectively activated, or the detection signals from the plurality of light receivers operating simultaneously may be selectively output in sequence. It's okay. In addition, if the light emitted from each emitter is received only by the receiver that is paired with the emitter, it is also possible to obtain a serial signal by operating the emitters in sequence. It is possible.

作用および効果 このような個別ヒステリシス付き多光軸光電ス
イツチによれば、各受光器からの検知信号が2値
信号に変換されるに際して、各受光器に共通の回
路によつてそれら検知信号に個別にヒステリシス
が付与される。このため、大形化およびコストの
上昇を回避しつつ、各受光器が受光状態にあるか
否かを表す2値信号を個別に安定して出力するこ
とが可能となる。
Functions and Effects According to such a multi-optical axis photoelectric switch with individual hysteresis, when the detection signals from each optical receiver are converted into binary signals, the circuit common to each optical receiver converts the detection signals into individual signals. hysteresis is added to. Therefore, it is possible to individually and stably output a binary signal indicating whether each light receiver is in a light receiving state while avoiding an increase in size and cost.

しかも、本発明では、各受光器が受光状態にあ
るか否かを表す複数の2値信号は時分割されたシ
リアルな信号として出力されるようになつている
ため、このシリアルな信号を受光器の取付部から
所定のコントローラに供給するようにすれば、各
光軸に対応して信号線を設けることが不要とな
り、従来の多光軸光電スイツチに比べて配線や結
線、さらにはコネクタ等を簡略化できる利点があ
る。なお、シリアルな2値信号として出力される
各受光器からの検知信号は、そのまま、あるいは
必要に応じてパラレルな信号に変換されて処理さ
れることとなる。
Moreover, in the present invention, the plurality of binary signals representing whether or not each light receiver is in the light receiving state are output as time-divided serial signals. If the power is supplied from the mounting part to the specified controller, it becomes unnecessary to provide a signal line for each optical axis, and compared to conventional multi-optical axis photoelectric switches, wiring, connections, and even connectors are required. It has the advantage of being simple. Note that the detection signal from each light receiver output as a serial binary signal is processed as is or converted into a parallel signal as necessary.

実施例 以下、本発明の一実施例を図面に基づいて詳細
に説明する。
Embodiment Hereinafter, an embodiment of the present invention will be described in detail based on the drawings.

第1図はコンベアライン上を搬送される物体の
高さを検出するための多光軸光電スイツチの全体
的な構成を示すブロツク図である。図から明らか
なように、この光電スイツチは投光部10、受光
部12、およびコントロール部14から成つてお
り、投光部10と受光部12とはベルトコンベア
16を挟んで対向する位置に設けられている。投
光部10は後に詳述するように投光器としての複
数の発光ダイオードを備えており、受光部12は
それと同数の受光器たるフオトトランジスタ(ま
たはフオトダイオード)を備えている。投光部1
0の発光ダイオードは上下に一定の間隔を隔てて
一列に配設されており、受光部12のフオトトラ
ンジスタは各発光ダイオードに対応する位置に設
けられている。したがつて、各発光ダイオードか
ら発せられた光は、遮光物体がない場合には、第
1図に破線で示すように、互いに平行な光軸18
a,18b,18c,18dに沿つて受光部12
のフオトトランジスタへ到達することとなり、全
てのフオトトランジスタで発光ダイオードからの
光が受光されることとなる。しかし、同図に二点
鎖線で示すように、それらの光軸18a〜18d
を含む平面である検出平面内にコンベア16によ
つて物体20が搬送されて来ると、その物体20
よりも低い位置にある光軸(ここでは、光軸18
c,18d)の光が遮断され、その光を遮断され
た光軸に対応するトランジスタが受光しないこと
となるため、それによつて物体20の高さを検知
することが可能となる。
FIG. 1 is a block diagram showing the overall configuration of a multi-optical axis photoelectric switch for detecting the height of an object being conveyed on a conveyor line. As is clear from the figure, this photoelectric switch is composed of a light projecting section 10, a light receiving section 12, and a control section 14. It is being The light projector 10 includes a plurality of light emitting diodes as light projectors, as will be described in detail later, and the light receiver 12 includes the same number of phototransistors (or photodiodes) as light receivers. Light projector 1
The light emitting diodes 0 are arranged in a line vertically at regular intervals, and the phototransistors of the light receiving section 12 are provided at positions corresponding to the respective light emitting diodes. Therefore, if there is no light blocking object, the light emitted from each light emitting diode will be directed along optical axes 18 parallel to each other, as shown by the broken lines in FIG.
a, 18b, 18c, 18d along the light receiving section 12
The light from the light emitting diode is received by all the phototransistors. However, as shown by the two-dot chain line in the figure, those optical axes 18a to 18d
When an object 20 is conveyed by the conveyor 16 into a detection plane that includes
(here, the optical axis 18
c, 18d) is blocked, and the transistor corresponding to the optical axis from which the light is blocked does not receive the light, thereby making it possible to detect the height of the object 20.

コントロール部14は、電源線22によつて投
光部10および受光部12に電力を供給する電源
回路と、受光部12から信号線24を経て送られ
て来るシリアル信号をパラレル信号に戻して出力
線26a,26b,26c,26dに出力する出
力部を備えている。また、投光部10は信号線2
8を経て受光部12およびコントロール部14へ
後に詳述する同期信号を供給するようになつてい
る。投光部10、受光部12およびコントロール
部14はそれぞれ別個のケースに収容されてお
り、コントロール部14と受光部12とは電源線
22および信号線24,28を含むコードによつ
て接続され、投光部10と受光部12とは電源線
22および信号線28を含むコードで接続されて
いる。
The control unit 14 includes a power supply circuit that supplies power to the light emitter 10 and the light receiver 12 via a power line 22, and a serial signal sent from the light receiver 12 via a signal line 24, which is returned to a parallel signal and output. It is provided with an output section for outputting to lines 26a, 26b, 26c, and 26d. Further, the light projecting unit 10 is connected to the signal line 2
A synchronizing signal, which will be described in detail later, is supplied to the light receiving section 12 and the control section 14 via the control section 8. The light projecting section 10, the light receiving section 12, and the control section 14 are housed in separate cases, and the control section 14 and the light receiving section 12 are connected by a cord including a power line 22 and signal lines 24, 28. The light projector 10 and the light receiver 12 are connected by a cord including a power line 22 and a signal line 28.

以下、投光部10、受光部12およびコントロ
ール部14の構成を順次説明する。
Hereinafter, the configurations of the light projecting section 10, the light receiving section 12, and the control section 14 will be explained in order.

まず、第2図に投光部10を示す。この図から
明らかなように、投光部10は同期信号発生回路
30、発光ダイオード32a,32b,32c,
32dおよびそれら発光ダイオードの駆動回路3
4a,34b,34c,34dを備えている。同
期信号発生回路30は発振回路やリングカウンタ
等を備え、同期信号を発生して端子36から出力
するとともに、同期信号に同期した駆動信号を順
次出力して発光ダイオードの駆動回路34a〜3
4dに供給し、発光ダイオード32a〜32dを
微小時間差をもつて順次発光させるようになつて
いる。第5図にこれら同期信号発生回路30から
出力される信号のタイミングチヤートを示す。な
お、第2図において、38a,38b,38cお
よび38dはそれぞれ発光ダイオード32a〜3
2dに対応して設けられたレンズである。
First, FIG. 2 shows the light projecting section 10. As shown in FIG. As is clear from this figure, the light projecting section 10 includes a synchronizing signal generating circuit 30, light emitting diodes 32a, 32b, 32c,
32d and the drive circuit 3 of those light emitting diodes
4a, 34b, 34c, and 34d. The synchronization signal generation circuit 30 includes an oscillation circuit, a ring counter, etc., and generates a synchronization signal and outputs it from a terminal 36, and sequentially outputs a drive signal synchronized with the synchronization signal to drive the light emitting diode drive circuits 34a to 3.
4d to cause the light emitting diodes 32a to 32d to sequentially emit light with a small time difference. FIG. 5 shows a timing chart of the signals output from these synchronization signal generation circuits 30. In addition, in FIG. 2, 38a, 38b, 38c and 38d are light emitting diodes 32a to 3, respectively.
This is a lens provided corresponding to 2d.

次に、第3図に基づいて受光部12を説明す
る。受光部12は前記投光部10の各発光ダイオ
ード32a,32b,32cおよび32dに対向
するフオトトランジスタ40a,40b,40c
および40dを備えている。フオトトランジスタ
40a〜40dは発光ダイオード32a〜32d
からの光を受光したとき、それぞれの受光量に応
じた大きさを有する正の検知信号を出力して初段
増幅器42a,42b,42cおよび42dに供
給し、初段増幅器42a〜42dはそれら検知信
号を増幅してアナログマルチプレクサ44に供給
する。そして、アナログマルチプレクサ44は、
初期増幅器42a〜42dからの検出信号をそれ
ぞれ対応する発光ダイオード32a〜32dの発
光時間に合わせて選択し、それら増幅器42a〜
44dからの各検知信号を時分割のシリアルな信
号に変換して波形成形回路46に供給する。
Next, the light receiving section 12 will be explained based on FIG. The light receiving section 12 includes phototransistors 40a, 40b, 40c facing each of the light emitting diodes 32a, 32b, 32c, and 32d of the light projecting section 10.
and 40d. Phototransistors 40a to 40d are light emitting diodes 32a to 32d.
When receiving the light from the , a positive detection signal having a magnitude corresponding to the amount of received light is outputted and supplied to the first stage amplifiers 42a, 42b, 42c and 42d, and the first stage amplifiers 42a to 42d output these detection signals. The signal is amplified and supplied to the analog multiplexer 44. And the analog multiplexer 44 is
The detection signals from the initial amplifiers 42a to 42d are selected according to the light emission times of the corresponding light emitting diodes 32a to 32d, and the detection signals from the initial amplifiers 42a to 42d are
Each detection signal from 44d is converted into a time-division serial signal and supplied to the waveform shaping circuit 46.

そのために、マルチプレクサ44にカウンタ4
8が接続され、このカウンタ48のクロツク端子
CKとクリア端子CLとに、前記投光部10の端子
36から信号線28を経て受光部12の端子50
に供給される同期信号と、同期分離回路52の出
力信号とがそれぞれ入力されるようになつてい
る。同期分離回路52は入力されるパルス信号の
時間間隔が設定値を超えたときハイレベル信号を
発するものであり、第6図に示すように、発光ダ
イオードが32aから32dまで順次発光させら
れるときの1組の同期パルス内における各パルス
間の時間間隔T1が短く、発光ダイオード32d
が発光させられた後、次に発光ダイオード32a
が発光させられるまでの時間間隔T2が長いこと
を利用して、発光ダイオード32a〜32dが1
回ずつ発光させられる毎にクリア信号をカウンタ
48のクリア端子CLに供給するようになつてい
る。また、同期信号は反転回路53を経てカウン
タ48のクロツク端子CKに供給されるようにな
つている。これによつてカウンタ48の内容は一
連の発光ダイオード32a〜32dが1個発光さ
せられる毎に1ずつ増加し、最後の発光ダイオー
ド(本実施例においては発光ダイオード32d)
が発光させられた後クリアされることとなり、こ
のカウンタ48の出力信号に基づいてアナログマ
ルチプレクサ44が各発光ダイオード32a〜3
2dに対応したフオトトランジスタ40a〜40
dからの検知信号を選択して波形成形回路46に
供給することとなるのである。理解を容易にする
ために、アナログマルチプレクサ44によつて各
フオトトランジスタ40a〜40dに対応するラ
インが選択されるダイオードを第7図に示す。な
お、第3図においては理解を容易にするためにア
ナログマルチプレクサ44が接点を有するものと
して示されているが、実際には電子式のものであ
つて接点を有するものではない。また、第3図に
おいて、54a,54b,54c,54dはそれ
ぞれフオトトランジスタ40a〜40dに対応し
て設けられたレンズである。
For this purpose, the multiplexer 44 has a counter 4.
8 is connected to the clock terminal of this counter 48.
CK and the clear terminal CL are connected from the terminal 36 of the light emitter 10 to the terminal 50 of the light receiver 12 via the signal line 28.
The synchronization signal supplied to the synchronization separation circuit 52 and the output signal of the synchronization separation circuit 52 are respectively inputted. The synchronization separation circuit 52 emits a high level signal when the time interval of input pulse signals exceeds a set value, and as shown in FIG. The time interval T 1 between each pulse in one set of synchronization pulses is short, and the light emitting diode 32d
After the light emitting diode 32a is made to emit light, the light emitting diode 32a
The light emitting diodes 32a to 32d are 1
A clear signal is supplied to the clear terminal CL of the counter 48 each time the light is emitted. Further, the synchronizing signal is supplied to the clock terminal CK of the counter 48 via the inverting circuit 53. As a result, the contents of the counter 48 are incremented by 1 each time one of the series of light emitting diodes 32a to 32d is emitted, and when the last light emitting diode (in this embodiment, the light emitting diode 32d)
is cleared after the counter 48 emits light, and the analog multiplexer 44 controls each light emitting diode 32a to 3 based on the output signal of the counter 48.
Phototransistors 40a to 40 corresponding to 2d
The detection signal from d is selected and supplied to the waveform shaping circuit 46. For ease of understanding, the diodes from which the lines corresponding to each phototransistor 40a-40d are selected by analog multiplexer 44 are shown in FIG. Although in FIG. 3 the analog multiplexer 44 is shown as having contacts for ease of understanding, it is actually electronic and does not have contacts. Further, in FIG. 3, 54a, 54b, 54c, and 54d are lenses provided corresponding to the phototransistors 40a to 40d, respectively.

前記波形成形回路46は演算増幅器56を主体
に構成されており、アナログマルチプレクサ44
からのシリアル信号は第一抵抗器58と第二抵抗
器60とによつて分圧されてこの演算増幅器56
の非反転入力端子に供給されるようになつてい
る。また、この演算増幅器56の非反転入力端子
には後述のシフトレジスタ62からの信号が第三
抵抗器64と第二抵抗器60とによつて分圧され
て供給されるようになつている。つまり、演算増
幅器56の非反転入力端子には、抵抗器58と6
0とによつて分圧されたシリアル信号と、抵抗器
64と60とによつて分圧されたシフトレジスタ
62からの信号との加算電圧が加えられるように
なつているのである。
The waveform shaping circuit 46 mainly includes an operational amplifier 56, and an analog multiplexer 44.
The serial signal from the operational amplifier 56 is divided by a first resistor 58 and a second resistor 60.
It is designed to be supplied to the non-inverting input terminal of . Further, a signal from a shift register 62, which will be described later, is voltage-divided by a third resistor 64 and a second resistor 60 and supplied to a non-inverting input terminal of the operational amplifier 56. In other words, the resistors 58 and 6 are connected to the non-inverting input terminal of the operational amplifier 56.
The sum voltage of the serial signal voltage-divided by 0 and the signal from the shift register 62 voltage-divided by resistors 64 and 60 is applied.

一方、演算増幅器56の反転入力端子には、電
源電圧を第四抵抗器56と第五抵抗器68とによ
つて分圧された基準電圧が供給されるようになつ
ている。そして、演算増幅器56は前記非反転入
力端子に加えられる加算電圧がこの基準電圧より
も高いとき出力信号をハイレベルに設定し、逆に
低いときローレベルに設定して出力するようにな
つている。なお、本実施例では、抵抗器66と6
8とによつて設定された基準電圧は、光軸の1/2
が遮断された場合におけるフオトトランジスタか
らの検知信号が抵抗器58と60とで分圧された
電圧1/2V0と、シフトレジスタ62からの(正確
には後述の反転回路78からの)ハイレベルの信
号が抵抗器64と60とによつて分圧された電圧
ΔVとを加えた値に等しい電圧とされている。
On the other hand, the inverting input terminal of the operational amplifier 56 is supplied with a reference voltage obtained by dividing the power supply voltage by the fourth resistor 56 and the fifth resistor 68. The operational amplifier 56 sets the output signal to a high level when the added voltage applied to the non-inverting input terminal is higher than this reference voltage, and conversely sets the output signal to a low level when it is lower. . Note that in this embodiment, the resistors 66 and 6
The reference voltage set by 8 is 1/2 of the optical axis.
When the detection signal from the phototransistor is cut off, the voltage 1/2V 0 divided by the resistors 58 and 60 and the high level from the shift register 62 (more precisely, from the inverting circuit 78 described later) The voltage is equal to the sum of the voltage ΔV divided by the resistors 64 and 60.

前記演算増幅器56から出力された信号はリセ
ツトフリツプフロツプ(以下、R−S F.F.と略
称する)70のリセツト端子Rに供給される。ま
た、R−S F.F.70のセツト端子Sには前記同
期信号が微分回路72を経て入力されるようにな
つており、このR−S F.F.70の出力端子Qか
らの信号が前記シフトレジスタ62のデータ入力
端子Dに供給されるとともに、出力回路74を経
て端子76から出力されるようになつている。
The signal output from the operational amplifier 56 is supplied to a reset terminal R of a reset flip-flop (hereinafter abbreviated as R-SFF) 70. Further, the synchronizing signal is input to the set terminal S of the R-S FF 70 via a differentiating circuit 72, and the signal from the output terminal Q of the R-S FF 70 is input to the data input of the shift register 62. The signal is supplied to the terminal D, and is also output from the terminal 76 via the output circuit 74.

シフトレジスタ62は受光器と同数(ここでは
4段)の記憶部を有する直列入力並列出力タイプ
とされており、データ入力端子Dに供給されてい
る信号の内容をクロツク端子CKに入力されるパ
ルスの立ち上がり毎に取り込むとももに、各段の
内容をそれぞれ次段にシフトし、また最高段の内
容がR−S F.F.70からの信号のハイレベルの
ものに対応するものである場合には、その最高段
に対応する出力端子Q4からハイレベルの信号を
出力し、そのハイレベル信号を反転回路78で反
転して前述のように第三抵抗器64を経て演算増
幅器56の非反転入力端子に供給するようになつ
ている。そして、このようなシフトレジスタ62
のクロツク端子CKに前記反転回路53で反転さ
れた同期信号が入力されるようになつている。
The shift register 62 is of a serial input/parallel output type having the same number of memory sections as the photoreceiver (here, four stages), and converts the contents of the signal supplied to the data input terminal D into the pulse input to the clock terminal CK. At the same time, the content of each stage is shifted to the next stage, and if the content of the highest stage corresponds to the high level of the signal from R-S FF70, the contents of each stage are shifted to the next stage. A high-level signal is output from the output terminal Q 4 corresponding to the highest stage, and the high-level signal is inverted by the inverting circuit 78 and sent to the non-inverting input terminal of the operational amplifier 56 via the third resistor 64 as described above. supply. Then, such a shift register 62
The synchronizing signal inverted by the inverting circuit 53 is input to the clock terminal CK of the clock.

一方、コントロール部14は第4図に示すよう
な出力部を備えている。この図において、80は
前記受光部12の端子76と信号線24によつて
接続される端子であつて、前記R−S F.F.70
から出力されたシリアル信号はこの端子80を経
てシフトレジスタ82のデータ入力端子Dに供給
されるようになつている。また、84は信号線2
8に接続される端子であつて、この端子84に供
給された同期信号は反転回路86で反転され、シ
フトレジスタ82のクロツク端子CKに供給され
るようになつている。
On the other hand, the control section 14 includes an output section as shown in FIG. In this figure, 80 is a terminal connected to the terminal 76 of the light receiving section 12 by the signal line 24, and is a terminal connected to the terminal 76 of the light receiving section 12, and
The serial signal output from the shift register 82 is supplied to the data input terminal D of the shift register 82 via this terminal 80. Also, 84 is the signal line 2
The synchronizing signal supplied to this terminal 84 is inverted by an inverting circuit 86 and supplied to a clock terminal CK of a shift register 82.

シフトレジスタ82は前記受光部12のシフト
レジスタ62と同様の構成とされており、したが
つてこのシフトレジスタ82の各珠の記憶部には
前記シフトレジスタ62の各段に記憶された内容
と同じ内容が記憶される。例えば、シフトレジス
タ62の最高段にフオトトランジスタ40aから
の検知信号に対応する内容が記憶されている場合
には、シフトレジスタ82の最高段にもフオトト
ランジスタ40aからの検知信号に対応する内容
が記憶されるのである。そして、このシフトレジ
スタ82の各段に記憶された内容がそれら各段に
対応して設けられた出力端子Q1,Q2,Q3および
Q4からデータラツチ88の各入力端子A,B,
CおよびDにパラレルに供給されるようになつて
いる。
The shift register 82 has the same structure as the shift register 62 of the light receiving section 12, and therefore the storage section of each bead of this shift register 82 stores the same contents as the contents stored in each stage of the shift register 62. The contents are memorized. For example, if the highest stage of the shift register 62 stores contents corresponding to the detection signal from the phototransistor 40a, the highest stage of the shift register 82 also stores contents corresponding to the detection signal from the phototransistor 40a. It will be done. Then, the contents stored in each stage of this shift register 82 are transmitted to output terminals Q 1 , Q 2 , Q 3 and Q 3 provided corresponding to each stage.
From Q4 to each input terminal A, B of data latch 88,
C and D are supplied in parallel.

また、前記端子84に供給された同期信号は同
期分離回路90にも供給されるようになつてい
る。この同期分離回路90は前述の同期分離回路
52と同様のものであり、1組の同期パルスが供
給されて一定時間後から一定幅のハイレベルの信
号を発し、このハイレベルの信号をデータラツチ
88のストローブ端子STBに供給する。
Further, the synchronization signal supplied to the terminal 84 is also supplied to a synchronization separation circuit 90. This synchronization separation circuit 90 is similar to the above-mentioned synchronization separation circuit 52, and emits a high-level signal of a certain width after a certain period of time after being supplied with a set of synchronization pulses, and sends this high-level signal to the data latch 88. Supplied to the strobe terminal STB.

データラツチ88は、ストローブ端子STBに
供給される信号の立ち上がりに応答して各入力端
子A,B,CおよびDに入力されている信号をラ
ツチし、次にラツチ動作が行われるまで保持する
ものである。それらラツチした各信号を出力端子
QA,QB,QCおよびQDから出力するようになつて
いる。そして、それらデータラツチ88の各出力
端子QA〜QDから出力された信号がそれそれ出力
回路92a,82b,92cおよび92dを経て
出力端子94a,94b,94cおよび94dに
供給され、それら出力端子94a〜94dに接続
された出力線26a〜26dから出力されるよう
になつている。端子80に供給されたシリアル信
号がパラレル信号に変換されて出力されるように
なつているのである。なお、本実施例では、前述
のように、同期分離回路90から出力されるハイ
レベル信号の立ち上がりに応答してデータラツチ
88のラツチ動作が行われることから、各出力線
26a〜26dからはそれぞれフオトトランジス
タ40d,40c,40bおよび40aに対応し
た出力信号が出力されることとなる。
The data latch 88 latches the signals input to each input terminal A, B, C, and D in response to the rise of the signal supplied to the strobe terminal STB, and holds the signals until the next latching operation is performed. be. Output terminal for each of these latched signals
It is designed to output from Q A , Q B , Q C and Q D. The signals output from each output terminal Q A to Q D of data latch 88 are supplied to output terminals 94 a, 94 b, 94 c, and 94 d via output circuits 92 a, 82 b, 92 c, and 92 d, respectively. It is designed to be outputted from output lines 26a to 26d connected to terminals 94d to 94d. The serial signal supplied to the terminal 80 is converted into a parallel signal and output. In this embodiment, as described above, since the data latch 88 latches in response to the rise of the high level signal output from the synchronization separation circuit 90, the respective output lines 26a to 26d output a photo signal. Output signals corresponding to transistors 40d, 40c, 40b and 40a are output.

このような多光軸光電スイツチにおいて、い
ま、第1図に示したように、投光部10と受光部
12との間に物体20が存在し、投光部10の各
発光ダイオード32a〜32dから発せられた光
のうち、発光ダイオード32aと32bとから発
せられた光だけが受光部12で受光され、発光ダ
イオード32cと32dとから発せられた光は物
体20で完全に遮断される場合を考える。この場
合には、第8図に示すように、受光部12のフオ
トトランジスタ40aおよび40bからは、それ
らに対応する発光ダイオード32aおよび32b
が発光される毎に、それらの発光に僅かに遅れて
ハイレベル(電圧V0)の検知信号が出力され、
それらの信号がアナログマルチプレクサ44から
時分割のシリアル信号に変換されて出力される。
なお、フオトダイオード40cおよび40dから
はローレベルの検知信号が出力されている。
In such a multi-optical axis photoelectric switch, as shown in FIG. Of the light emitted from the light emitting diodes 32a and 32b, only the light emitted from the light emitting diodes 32a and 32b is received by the light receiving unit 12, and the light emitted from the light emitting diodes 32c and 32d is completely blocked by the object 20. think. In this case, as shown in FIG.
Each time the light is emitted, a high level (voltage V 0 ) detection signal is output with a slight delay after the light is emitted.
These signals are converted into time-division serial signals from the analog multiplexer 44 and output.
Note that low level detection signals are output from the photodiodes 40c and 40d.

ところで、光軸が完全に遮断されるか、あるい
は全く遮断されない場合には、演算増幅器56の
反転入力端子に加えられる基準電圧および非反転
入力端子に加えられるシフトレジスタ62からの
信号電圧ΔVがそれぞれ前述のように設定されて
いることから、その光軸に対応するフオトトラン
ジスタからの検知信号の基準電圧に対する高低関
係は、シフトレジスタ62からの信号電圧ΔVが
加えられるか否かに拘わらず一定となる。したが
つて、上述のような場合には、演算増幅器56の
出力はフオトトランジスタ40a,40bからの
検知信号が入力される毎にハイレベルとなり、そ
れ以外の場合にはローレベルとなる。そして、こ
のような信号がR−S F.F.70のリセツト端子
Rに入力される。一方、R−S F.F.70のセツ
ト端子Sには前述のように微分回路72で微分さ
れた同期信号が入力されるため、R−S F.F.7
0の出力端子Qから出力される信号は第8図に示
すようになる。そして、このような出力信号のレ
ベル状態が同期信号の立ち下がりに応答してシフ
トレジスタ62に記憶される。つまり、この場合
には、1組の同期信号に基づく発光ダイオード3
2a〜32dの一連の発光が終了した段階におい
て、シフトレジスタ76の最高段とその前段には
それぞれフオトトランジスタ40a,40bから
のハイレベルの検知信号に対応するローレベルの
内容が記憶され、また初段とその次の段にはフオ
トトランジスタ40d,40cからのローレベル
の検知信号に対応するハイレベルの内容がそれぞ
れ記憶されるのである。なお、コントロール部1
4のシフトレジスタ82にもシフトレジスタ62
と同様の内容が記憶され、その内容がデータラツ
チ88でラツチされて、前述のように、各出力線
26a〜26dからそれぞれフオトトランジスタ
40a〜40dに対応した出力信号が出力される
こととなる。また、上述の説明から明らかなよう
に、本実施例では、シフトレジスタ62および8
2に記憶されたハイレベルの内容が光軸を遮断さ
れた状態に対応し、ローレベルに対応する内容が
光軸を遮断されていない状態に対応している。
By the way, when the optical axis is completely blocked or not blocked at all, the reference voltage applied to the inverting input terminal of the operational amplifier 56 and the signal voltage ΔV from the shift register 62 applied to the non-inverting input terminal are respectively Since it is set as described above, the height relationship of the detection signal from the phototransistor corresponding to the optical axis with respect to the reference voltage is constant regardless of whether or not the signal voltage ΔV from the shift register 62 is applied. Become. Therefore, in the above case, the output of the operational amplifier 56 becomes high level every time the detection signals from the phototransistors 40a and 40b are input, and becomes low level otherwise. Then, such a signal is input to the reset terminal R of the R-S FF70. On the other hand, since the synchronization signal differentiated by the differentiating circuit 72 as described above is input to the set terminal S of the R-S FF70, the R-S FF7
The signal output from the output terminal Q of 0 is as shown in FIG. The level state of such an output signal is stored in the shift register 62 in response to the fall of the synchronization signal. That is, in this case, the light emitting diode 3 based on one set of synchronization signals
At the stage when the series of light emission from 2a to 32d is completed, the highest stage and the previous stage of the shift register 76 store the low level contents corresponding to the high level detection signals from the phototransistors 40a and 40b, respectively, and the first stage The high level contents corresponding to the low level detection signals from the phototransistors 40d and 40c are stored in the next stage. In addition, the control section 1
4 shift register 82 also has shift register 62
The same contents are stored, and the contents are latched by the data latch 88, so that output signals corresponding to the phototransistors 40a-40d are outputted from the output lines 26a-26d, respectively, as described above. Furthermore, as is clear from the above description, in this embodiment, the shift registers 62 and 8
The high level content stored in 2 corresponds to the state in which the optical axis is blocked, and the content corresponding to low level corresponds to the state in which the optical axis is not blocked.

次に、シフトレジスタ62の各段の記憶部に上
述のような内容が記憶されている状態において、
物体20の高さが高くなり、フオトトランジスタ
40bに対応する光軸の半分強を占める部分が遮
断された場合を考える。この場合、発光ダイオー
ド32aが発光させられると、その光は遮断され
ることなくフオトトランジスタ40aで受光され
るため、第9図のに示すように、演算増幅器5
6の非反転入力端子には第8図に示したものと同
様の検知信号が供給される。一方、このときに
は、シフトレジスタ62の最高段には前回のフオ
トトランジスタ40aの受光に基づくR−S F.
F.70の出力信号のローレベルに対応した内容が
記憶されているので、非反転入力端子には反転回
路78の出力に基づく電圧ΔVも加えられる。し
たがつて、この場合には、第9図のに示すよう
に、フオトトランジスタ40aからの検知信号の
電圧V0にΔVを加算した電圧が基準電圧と比較さ
れ、その結果得られた演算増幅器56のハイレベ
ルの出力がR−S F.F.70のリセツト端子Rに
供給される。その結果、前述の場合と同様、シフ
トレジスタ62にはフオトトランジスタ40aか
らの検知信号に対応してローレベルに応じた内容
が記憶されることとなる。
Next, in a state where the above-mentioned contents are stored in the storage section of each stage of the shift register 62,
Consider a case where the height of the object 20 increases and a portion occupying a little more than half of the optical axis corresponding to the phototransistor 40b is blocked. In this case, when the light emitting diode 32a emits light, the light is received by the phototransistor 40a without being blocked, so the operational amplifier 5
A detection signal similar to that shown in FIG. 8 is supplied to the non-inverting input terminal 6. On the other hand, at this time, the highest stage of the shift register 62 has R-S F based on the previous light reception by the phototransistor 40a.
Since the contents corresponding to the low level of the output signal of F.70 are stored, a voltage ΔV based on the output of the inverting circuit 78 is also applied to the non-inverting input terminal. Therefore, in this case, the voltage obtained by adding ΔV to the voltage V 0 of the detection signal from the phototransistor 40a is compared with the reference voltage, as shown in FIG. The high level output of is supplied to the reset terminal R of the R-S FF70. As a result, as in the case described above, contents corresponding to the low level are stored in the shift register 62 in response to the detection signal from the phototransistor 40a.

また、発光ダイオード32bが発光させられた
場合にも、上記発光ダイオード32aが発光させ
られた場合と同様、フオトトランジスタ40bか
らの検出信号の電圧にΔVを加算した電圧が基準
電圧と比較されることとなるが、この場合には第
9図のに示すように検知信号の電圧にΔVを加
えても基準電圧よりも小さくなるため、演算増幅
器56の出力信号はローレベルとなり、R−S
F.F.70のリセツト端子Rにリセツト信号が入力
されないことから、R−S F.F.70の出力信号
はハイレベルに維持されることとなる。したがつ
て、同期レベルの立ち下がりに応答してこのハイ
レベルの内容がシフトレジスタ62に記憶され
る。
Further, even when the light emitting diode 32b is caused to emit light, the voltage obtained by adding ΔV to the voltage of the detection signal from the phototransistor 40b is compared with the reference voltage, as in the case where the light emitting diode 32a is caused to emit light. However, in this case, as shown in FIG. 9, even if ΔV is added to the voltage of the detection signal, it becomes smaller than the reference voltage, so the output signal of the operational amplifier 56 becomes low level, and the R-S
Since no reset signal is input to the reset terminal R of the FF 70, the output signal of the R-S FF 70 is maintained at a high level. Therefore, this high level content is stored in the shift register 62 in response to the fall of the synchronization level.

また、発光ダイオード32cおよび32dが発
光される場合には、シフトレジスタ62の最高段
の内容がハイレベルであるため、反転回路78か
らはハイレベルの信号が出力されず、各フオトト
ランジスタ40cおよび40dからの検知信号は
それぞれそのまま基準電圧と比較される。その結
果演算増幅器56からは前回の走査と同様ローレ
ベルの信号が出力され、これによつてR−S F.
F.70の出力信号に対応したハイレベルの内容が
シフトレジスタ62に記憶されることとなる。つ
まり、上記一連の検知走査によつてシフトレジス
タ62の内容が新たな検知状態に対応して更新さ
れるのであり、これと同時にシフトレジスタ82
の内容も更新されて、各フオトトランジスタ40
a〜40dに対応する出力線26a〜22dから
はその新たな内容に応じた出力信号が出力される
のである。
Further, when the light emitting diodes 32c and 32d emit light, the contents of the highest stage of the shift register 62 are at a high level, so a high level signal is not output from the inverting circuit 78, and each phototransistor 40c and 40d The detection signals from the two are directly compared with the reference voltage. As a result, the operational amplifier 56 outputs a low level signal similar to the previous scan, and this causes the R-S F.
The high level contents corresponding to the output signal of F.70 will be stored in the shift register 62. In other words, through the series of detection scans described above, the contents of the shift register 62 are updated in accordance with the new detection state, and at the same time, the contents of the shift register 82 are updated.
The contents of each phototransistor 40 are also updated.
Output signals corresponding to the new contents are output from the output lines 26a to 22d corresponding to a to 40d.

一方、上述のようにシフトレジスタ62の内容
が更新された状態において、物体20の高さが僅
かに低くなり、発光ダイオード32bに対応した
光軸がほぼ半分遮断された状態を考える。この状
態において、発光ダイオード32bが発光させら
れると、フオトトランジスタ40bから出力され
る検知信号の電圧は第9図のに示すように基準
電圧よりもほぼΔVだけ低い1/2V0となる。した
がつて、この検知信号の電圧にΔVが加えられる
と、演算増幅器56の出力は検知信号の変動によ
つて不安定なものとなるが、この場合にはシフト
レジスタ62の最高段にはR−S F.F.70の出
力信号のハイレベルに対応した内容が記憶されて
いるので、反転回路78の出力はローレベルとな
り、検知信号の電圧がそのまま基準電圧と比較さ
れる。したがつて、演算増幅器56の出力はロー
レベルに維持され、出力は安定したものとなる。
つまり、フオトトランジスタ40bから出力され
る検知信号に対してヒステリシスが付与されてい
るのである。
On the other hand, consider a state in which the contents of the shift register 62 have been updated as described above, the height of the object 20 has become slightly lower, and approximately half of the optical axis corresponding to the light emitting diode 32b is blocked. In this state, when the light emitting diode 32b emits light, the voltage of the detection signal output from the phototransistor 40b becomes 1/2V 0 , which is lower than the reference voltage by approximately ΔV, as shown in FIG. Therefore, when ΔV is added to the voltage of this detection signal, the output of the operational amplifier 56 becomes unstable due to fluctuations in the detection signal, but in this case, the highest stage of the shift register 62 has an R -S Since the contents corresponding to the high level of the output signal of the FF 70 are stored, the output of the inverting circuit 78 becomes a low level, and the voltage of the detection signal is directly compared with the reference voltage. Therefore, the output of the operational amplifier 56 is maintained at a low level, and the output becomes stable.
In other words, hysteresis is added to the detection signal output from the phototransistor 40b.

また、各発光ダイオード32a,32c,32
dの発光に基づく動作は前回の走査時と同じであ
り、したがつて各出力線26a〜26dからは前
回と同様の内容の出力信号が出力されることとな
る。
In addition, each light emitting diode 32a, 32c, 32
The operation based on the light emission of d is the same as in the previous scan, and therefore output signals having the same content as the previous time are output from each output line 26a to 26d.

なお、上述の説明では、フオトトランジスタ4
0bで受光される光量が変動する場合について述
べたが、これは他のフオトトランジスタで受光さ
れる光量が変動する場合にも同様に言えることで
あり、このことから明らかなように、本実施例で
は、各フオトトランジスタ40a〜40bから出
力される検知信号に対して個々にヒステリシスが
付与されているのである。また、以上の説明から
明らかなように、本実施例では、シフトレジスタ
62が記憶手段とされるとともに、演算増幅器5
6を主体に構成された波形成形回路46がしきい
値変更手段とされているのであり、また演算増幅
器56の反転入力端子に加えられる基準電圧が検
知信号に対して相対的に異なる2つのしきい値と
されているのである。
Note that in the above description, the phototransistor 4
Although we have described the case where the amount of light received by the phototransistor 0b fluctuates, this also applies to the case where the amount of light received by other phototransistors fluctuates, and as is clear from this, this example In this case, hysteresis is individually applied to the detection signals output from each of the phototransistors 40a to 40b. Further, as is clear from the above description, in this embodiment, the shift register 62 is used as a storage means, and the operational amplifier 5
The waveform shaping circuit 46, which is mainly configured by the waveform shaping circuit 6, is used as the threshold value changing means, and the reference voltage applied to the inverting input terminal of the operational amplifier 56 has two modes that are relatively different from each other with respect to the detection signal. It is considered a threshold value.

以上、本発明の一実施例を説明したが、これは
文字通り例示であり、本発明はこの実施例に限定
して解釈されるべきものではない。
Although one embodiment of the present invention has been described above, this is literally an illustration, and the present invention should not be interpreted as being limited to this embodiment.

例えば、前記実施例では、多光軸光電スイツチ
がシリアル信号をパラレル信号に変換するコント
ロール部14を含むものとして説明したが、この
ようなコントロール部14は必要に応じて設けら
れるものであつて、本発明における多光軸光電ス
イツチを厳密に言えば、投光部10と受光部12
とから成つているものと言うことができる。な
お、シリアル信号をパラレル信号に変換するため
の回路は受光部12のケース内に一体に組み込む
ことも可能である。この場合には、シフトレジス
タ62に直接データラツチ88を接続することに
よつてパラレル信号を得ることが可能となる。
For example, in the embodiment described above, the multi-optical axis photoelectric switch has been described as including the control section 14 that converts a serial signal into a parallel signal, but such a control section 14 is provided as necessary. Strictly speaking, the multi-optical axis photoelectric switch according to the present invention has a light projecting section 10 and a light receiving section 12.
It can be said that it consists of. Note that a circuit for converting a serial signal into a parallel signal can also be integrated into the case of the light receiving section 12. In this case, by connecting data latch 88 directly to shift register 62, a parallel signal can be obtained.

また、前記実施例では、投光器および受光器と
してそれぞれ発光ダイオードおよびフオトダイオ
ードが用いられていたが、それら以外の素子を用
いることも可能であり、それら投光器と受光器の
対も前記実施例のように4対に限られるものでは
なく、目的に応じて適宜変更されるものである。
Further, in the above embodiment, a light emitting diode and a photodiode were used as the emitter and the light receiver, respectively, but it is also possible to use elements other than these, and the pair of the emitter and light receiver may also be used as in the above embodiment. The number of pairs is not limited to four, and may be changed as appropriate depending on the purpose.

また、前記実施例では、記憶手段として直列入
力並列出力タイプのシフトレジスタが採用されて
いたが、並列入力並列出力タイプ等の他の形式の
シフトレジスタを用いることも可能であり、さら
にはシフトレジスタ以外のメモリを用いることも
可能である。
Further, in the above embodiment, a serial input parallel output type shift register is used as the storage means, but it is also possible to use other types of shift registers such as a parallel input parallel output type. It is also possible to use other memory.

また、前記実施例では、しきい値である基準電
圧が一定電圧値に保たれる一方、前回の走査にお
いて記憶された受光状態に基づいて各フオトトラ
ンジスタからの検知信号がレベルシフトされ、こ
れによつてしきい値が検知信号に対して相対的に
変化させられて、各検知信号に対して個別にヒス
テリシスが付与されるようになつていたが、前回
の走査において記憶された受光状態に基づいて基
準電圧を直接変化させることにより、ヒステリシ
スを付与するようにすることも可能である。この
ようにするには、前記実施例において、シフトレ
ジスタ62の最高段から出力される信号を反転さ
せて演算増幅器56の非反転入力端子に供給する
代わりに、その信号を反転させることなく適当な
抵抗値を有する抵抗器を介して演算増幅器56の
反転入力端子に供給するようにすればよい。な
お、以上の場合とは逆に、演算増幅器56の反転
入力端子に各フオトトランジスタからの検知信号
を供給する一方、非反転入力端子にしきい値電圧
を供給するようにしても、本発明に係る光電スイ
ツチを構成することが可能である。
Furthermore, in the embodiment described above, while the reference voltage, which is the threshold value, is kept at a constant voltage value, the detection signal from each phototransistor is level-shifted based on the light reception state stored in the previous scan. Therefore, the threshold value was changed relative to the detection signal, and hysteresis was applied to each detection signal individually. It is also possible to provide hysteresis by directly changing the reference voltage. To do this, instead of inverting the signal output from the highest stage of the shift register 62 and supplying it to the non-inverting input terminal of the operational amplifier 56 in the embodiment described above, the signal is inverted without being inverted. The signal may be supplied to the inverting input terminal of the operational amplifier 56 via a resistor having a resistance value. Note that, contrary to the above case, even if the detection signal from each phototransistor is supplied to the inverting input terminal of the operational amplifier 56, and the threshold voltage is supplied to the non-inverting input terminal, the present invention still applies. It is possible to construct a photoelectric switch.

また、前記実施例では、しきい値変更手段とし
ての波形成形回路46と記憶手段としてのシフト
レジスタ62との間にR−S F.F.70が介在さ
せられて、光軸が遮断された状態と遮断されてい
ない状態とに応じてそれぞれハイレベルとローレ
ベルの内容がシフトレジスタ62に記憶され、シ
フトレジスタ62の最高段からはハイレベルの内
容のときにハイレベルの信号が出力されるように
なつていたが、シフトレジスタ62に波形成形回
路46の出力を直線記憶させて、シフトレジスタ
62の記憶内容と光軸の遮断状態との関係を反対
にし、光軸が遮断されていない状態に対応する記
憶内容のときにシフトレジスタ62からハイレベ
ルの出力信号を出力させるようにしても、本発明
に係る多光軸光電スイツチを構成することが可能
である。
Further, in the above embodiment, the R-S FF 70 is interposed between the waveform shaping circuit 46 as a threshold value changing means and the shift register 62 as a storage means, so that the optical axis can be switched between the blocked state and the blocked state. High-level and low-level contents are stored in the shift register 62 depending on the state in which the signal is not stored, and a high-level signal is output from the highest stage of the shift register 62 when the contents are at a high level. However, by linearly storing the output of the waveform shaping circuit 46 in the shift register 62, the relationship between the stored contents of the shift register 62 and the optical axis cut-off state is reversed, and the memory corresponding to the optical axis unblocked state is created. The multi-optical axis photoelectric switch according to the present invention can also be constructed by causing the shift register 62 to output a high-level output signal when the content is present.

また、前記実施例では、各フオトトランジスタ
40a〜40dからの検知信号が受光量に応じた
大きさを有する正の信号として出力されるように
なつていたが、この検知信号は受光量が多いほど
絶対値が小さくなる正の信号としてもよく、ある
いは受光量が多いほど絶対値が大きくなる負の信
号としてもよい。ただし、いずれの場合において
も、各受光器で受光する光量が増加する過程で検
知信号のレベルに近い側のレベルに設定し、受光
量が減少する過程で検知信号が比較されるしきい
値は受光量が少ないときの検知信号のレベルに近
い側のレベルに設定することが必要となる。な
お、上述のいずれの場合においても、両しきい値
の検知信号に対する相対的な大きさは目的に応じ
て適宜変更することが可能である。
Further, in the above embodiment, the detection signal from each of the phototransistors 40a to 40d is output as a positive signal having a magnitude corresponding to the amount of received light, but the detection signal increases as the amount of received light increases. It may be a positive signal whose absolute value becomes smaller, or it may be a negative signal whose absolute value becomes larger as the amount of received light increases. However, in either case, the threshold value is set to a level close to the level of the detection signal as the amount of light received by each receiver increases, and the threshold value with which the detection signal is compared as the amount of light received decreases. It is necessary to set the level close to the level of the detection signal when the amount of received light is small. Note that in any of the above cases, the relative magnitudes of both thresholds to the detection signal can be changed as appropriate depending on the purpose.

また、前記実施例では、コントロール部14に
供給されるシリアル信号は演算増幅器56から出
力されるようになつていたが、シフトレジスタ6
2から出力するようにすることも可能である。
Furthermore, in the embodiment described above, the serial signal supplied to the control unit 14 was output from the operational amplifier 56, but the shift register 6
It is also possible to output from 2.

また、前記実施例では、ベルトコンベア上を搬
送される物体20の高さを検出するために、複数
対の投光器と受光器とがベルトコンベア16を挟
んで一平面状において互いに対応して配設された
透過型の多光軸光電スイツチに本発明が適用され
ていたが、本発明は立体的な空間内における物体
の形状を検出するための多光軸光電スイツチや、
投光器と受光器とが同じ側に設けられる反射型の
多光軸光電スイツチにも適用され得るものであ
る。
Furthermore, in the embodiment described above, in order to detect the height of the object 20 being conveyed on the belt conveyor, a plurality of pairs of light emitters and light receivers are arranged in correspondence with each other in one plane with the belt conveyor 16 in between. The present invention was applied to a transmission-type multi-optical axis photoelectric switch, but the present invention also applies to a multi-optical axis photoelectric switch for detecting the shape of an object in a three-dimensional space,
The present invention can also be applied to a reflective multi-optical axis photoelectric switch in which a light projector and a light receiver are provided on the same side.

その他、波形成形回路の具体的な回路構成等、
一々列挙はしないが、本発明がその趣旨を逸脱し
ない範囲内において種々なる変形、改良等を施し
た態様で実施し得ることが勿論である。
In addition, the specific circuit configuration of the waveform shaping circuit, etc.
Although not listed in detail, it goes without saying that the present invention can be implemented with various modifications, improvements, etc. without departing from the spirit thereof.

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

第1図は本発明の実施例である多光軸光電スイ
ツチの全体的な構成を示すブロツク図である。第
2図,第3図および第4図はそれぞれ第1図にお
ける投光部、受光部およびコントロール部の詳細
を示す回路図である。第5図は投光部に関連した
タイミングチヤートであり、第6図乃至第9図は
受光部に関連したタイミングチヤートである。 10:投光部、12:受光部、14:コントロ
ール部、16:ベルトコンベア、18a,18
b,18c,18d:光軸、20:物体、24:
信号線、32a,32b,32c,32d:発光
ダイオード(投光器)、40a,40b,40c,
40d:フオトトランジスタ(受光器)、44:
アナログマルチプレクサ、46:波形成形回路
(しきい値変更手段)、52:同期分離回路、5
6:演算増幅器、58,60,64,66,6
8:抵抗器、62:シフトレジスタ(記憶手段)、
70:リセツトセツトフリツプフロツプ、82:
シフトレジスタ、88:データラツチ。
FIG. 1 is a block diagram showing the overall configuration of a multi-optical axis photoelectric switch according to an embodiment of the present invention. 2, 3, and 4 are circuit diagrams showing details of the light projecting section, light receiving section, and control section in FIG. 1, respectively. FIG. 5 is a timing chart related to the light projecting section, and FIGS. 6 to 9 are timing charts related to the light receiving section. 10: Light projecting section, 12: Light receiving section, 14: Control section, 16: Belt conveyor, 18a, 18
b, 18c, 18d: optical axis, 20: object, 24:
Signal line, 32a, 32b, 32c, 32d: Light emitting diode (light projector), 40a, 40b, 40c,
40d: Phototransistor (light receiver), 44:
Analog multiplexer, 46: Waveform shaping circuit (threshold changing means), 52: Synchronization separation circuit, 5
6: Operational amplifier, 58, 60, 64, 66, 6
8: Resistor, 62: Shift register (memory means),
70: Reset flip-flop, 82:
Shift register, 88: data latch.

Claims (1)

【特許請求の範囲】 1 複数対の投光器と受光器とを備え、各対の投
光器から受光器に向かう光が遮断されているか否
かを微小時間差をもつて個別に検知する走査を繰
り返すとともに、その走査によつて得られた複数
の検知信号をシリアルな信号に変換して順次しき
い値と比較し、そのしきい値よりも上回るか否か
に応じてそれら検知信号をハイレベルとローレベ
ルとに変化する2値信号に変換して出力する多光
軸光電スイツチであつて、 前記走査に従つて前記しきい値と比較されるべ
き検知信号を供給する受光器が切り換えられる毎
に、当該受光器からの検知信号に対応した前記2
値信号を記憶するとともに、次の走査時に当該受
光器からの検知信号がそのしきい値と比較される
際に、前回の走査時に当該受光器に対応して記憶
された前記2値信号を出力する記憶手段を設ける
一方、その記憶手段から出力された2値信号が前
回の走査時において前記しきい値を上回る検知信
号に対応するものである場合には、そのしきい値
を、互いに高さが異なる2つのしきい値のうちの
低い方のしきい値に設定し、それ以外の場合に
は、それら2つのしきい値のうちの高い方のしき
い値に設定するしきい値変更手段を設け、それに
よつて前記複数の受光器に対応する検知信号の
各々に個別にヒステリシスを付与し得るようにし
たことを特徴とする個別ヒステリシス付き多光軸
光電スイツチ。 2 前記記憶手段が前記受光器の数と同じ段数の
記憶部を有するシフトレジスタであり、その最高
段の出力信号が前記しきい値変更手段に供給され
る2値信号とされている特許請求の範囲第1項記
載の多光軸光電スイツチ。
[Claims] 1. A device comprising a plurality of pairs of light emitters and light receivers, and repeating scanning to individually detect with a minute time difference whether or not the light directed from each pair of light emitters to the light receiver is blocked; The multiple detection signals obtained through the scanning are converted into serial signals and sequentially compared with a threshold value, and the detection signals are set to high level or low level depending on whether or not they exceed the threshold value. A multi-optical axis photoelectric switch that converts and outputs a binary signal that changes in accordance with The above 2 corresponds to the detection signal from the photoreceiver.
In addition to storing the value signal, when the detection signal from the light receiver in question is compared with the threshold value in the next scan, the binary signal stored corresponding to the light receiver in the previous scan is outputted. On the other hand, if the binary signal outputted from the storage means corresponds to a detection signal exceeding the threshold value in the previous scan, the threshold values are threshold value changing means for setting the threshold value to the lower of two different threshold values, and otherwise setting the threshold value to the higher of the two threshold values. 1. A multi-optical axis photoelectric switch with individual hysteresis, wherein hysteresis can be individually applied to each of the detection signals corresponding to the plurality of light receivers. 2. The storage means is a shift register having the same number of stages as the number of light receivers, and the output signal of the highest stage is a binary signal supplied to the threshold value changing means. A multi-optical axis photoelectric switch according to scope 1.
JP59258110A 1984-12-06 1984-12-06 Multi-optical axis photoelectric switch having individual hysteresis Granted JPS61135222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59258110A JPS61135222A (en) 1984-12-06 1984-12-06 Multi-optical axis photoelectric switch having individual hysteresis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59258110A JPS61135222A (en) 1984-12-06 1984-12-06 Multi-optical axis photoelectric switch having individual hysteresis

Publications (2)

Publication Number Publication Date
JPS61135222A JPS61135222A (en) 1986-06-23
JPH0329324B2 true JPH0329324B2 (en) 1991-04-23

Family

ID=17315637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59258110A Granted JPS61135222A (en) 1984-12-06 1984-12-06 Multi-optical axis photoelectric switch having individual hysteresis

Country Status (1)

Country Link
JP (1) JPS61135222A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102012021972A1 (en) * 2012-11-08 2014-05-08 Valeo Schalter Und Sensoren Gmbh Detection device for detecting an object in a detection area on an interior trim part of a motor vehicle, motor vehicle and corresponding method
WO2017175458A1 (en) * 2016-04-05 2017-10-12 ソニー株式会社 Rangefinder and rangefinding method
JP6926359B2 (en) * 2018-04-19 2021-08-25 竹中エンジニアリング株式会社 Detection device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56154682A (en) * 1980-04-30 1981-11-30 Matsushita Electric Works Ltd Pulse light detecting circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5459245U (en) * 1977-09-30 1979-04-24

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56154682A (en) * 1980-04-30 1981-11-30 Matsushita Electric Works Ltd Pulse light detecting circuit

Also Published As

Publication number Publication date
JPS61135222A (en) 1986-06-23

Similar Documents

Publication Publication Date Title
SE461696B (en) PROCEDURES FOR LIGHTING AND DISCONNECTING LED AND COUPLED VOLTAGE CIRCUIT FOR LED EMISSIONS
JP2558459B2 (en) Photoelectric detection circuit
US4807239A (en) Drive and control circuit for laser diode
EP0206334B1 (en) Photoelectronic switch
US7528362B2 (en) Pulse modulating photodetector and electronic device
JPH0329324B2 (en)
US6982408B2 (en) Photo-detecting method and photo-detecting device with varying modulation frequency
US5408080A (en) Electronically triggered bar code scanner
JPH07264036A (en) Multiple optical axes photoelectric switch
US4838698A (en) Extinction type detector
JP2549809Y2 (en) Multi-optical axis photoelectric switch device
US5369350A (en) Optical parallel receiver
EP0505160A2 (en) Monostable multivibrating circuit
JP2004214899A (en) Multi optical axis photoelectric sensor
JPH0311673B2 (en)
JPH0541652A (en) Multibeam sensor system
JPS6177423A (en) Multi-optical axis photoelectric switch
JP2515136B2 (en) Reflective photoelectric detector
KR880003601Y1 (en) A remote controller
JP3062265B2 (en) Photoelectric switch
JP4926893B2 (en) Pulse modulation type photodetection device
KR100481500B1 (en) Micom Interface of an image signal receiver
JP3293044B2 (en) Photoelectric switch
KR900008381B1 (en) Disk detecting apparatus
JP2004007233A (en) Multi optical axis photoelectric sensor

Legal Events

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