JP2557595B2 - Photoelectric sensor - Google Patents

Photoelectric sensor

Info

Publication number
JP2557595B2
JP2557595B2 JP11874792A JP11874792A JP2557595B2 JP 2557595 B2 JP2557595 B2 JP 2557595B2 JP 11874792 A JP11874792 A JP 11874792A JP 11874792 A JP11874792 A JP 11874792A JP 2557595 B2 JP2557595 B2 JP 2557595B2
Authority
JP
Japan
Prior art keywords
light
circuit
signal
output
light receiving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP11874792A
Other languages
Japanese (ja)
Other versions
JPH05312507A (en
Inventor
寿 田口
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 JP11874792A priority Critical patent/JP2557595B2/en
Publication of JPH05312507A publication Critical patent/JPH05312507A/en
Application granted granted Critical
Publication of JP2557595B2 publication Critical patent/JP2557595B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Geophysics And Detection Of Objects (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、所定周期で出力される
パルス光を受光してその受光状態により物体の有無等を
検出する光電センサに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a photoelectric sensor which receives pulsed light output at a predetermined cycle and detects the presence or absence of an object based on the light receiving state.

【0002】[0002]

【従来の技術】この種の光電センサとしては、例えば、
図5に示すような構成のものがある。即ち、このもの
は、所定周期でパルス光を出力する投光部1と、この投
光部1からのパルス光を受光してこれを検出する受光部
2とからなるもので、受光部2は次のように構成されて
いる。
2. Description of the Related Art As photoelectric sensors of this type, for example,
There is a structure as shown in FIG. That is, this one is composed of a light projecting section 1 that outputs pulsed light at a predetermined cycle and a light receiving section 2 that receives the pulsed light from the light projecting section 1 and detects it. It is configured as follows.

【0003】受光部2は、パルス光を受光して受光パル
ス信号に変換する受光回路3,受光パルス信号を増幅す
る増幅回路4,増幅された受光パルス信号を二値化する
比較回路5,二値化された受光パルス信号が所定数連続
して入力されると検出信号を出力する積分回路6および
検出信号に基づいて外部に信号を出力する出力回路7か
ら構成されている。
The light receiving section 2 receives a pulsed light and converts it into a light receiving pulse signal, an amplifying circuit for amplifying the light receiving pulse signal, a comparator circuit 5, for binarizing the amplified light receiving pulse signal. It is composed of an integrating circuit 6 which outputs a detection signal when a predetermined number of digitized light receiving pulse signals are continuously input, and an output circuit 7 which outputs a signal to the outside based on the detection signal.

【0004】このような構成によれば、投光部1におい
て図6(a)に示すような投光パルスに基づいてパルス
光を出力すると、受光回路3との間に遮光する物体がな
いときには、受光回路3によりこれが受光され、増幅回
路4からは同図(b)に示すような投光パルスに対応す
る受光パルス信号が出力される。
With such a structure, when the light projecting section 1 outputs pulsed light based on the light projecting pulse as shown in FIG. 6A, when there is no object to be shielded from the light receiving circuit 3. The light receiving circuit 3 receives the light, and the amplifier circuit 4 outputs a light receiving pulse signal corresponding to the light emitting pulse as shown in FIG.

【0005】比較回路5により二値化された受光パルス
信号(同図(c)参照)が所定数例えば4個出力される
と、積分回路6からは同図(d)に示すような検出信号
が出力されるものである。これにより、投光部1と受光
部2との間には物体等の遮光物が存在しないことが検出
されるのである。
When a predetermined number of, for example, four binarized light receiving pulse signals (see FIG. 4C) are output by the comparison circuit 5, the integrating circuit 6 outputs a detection signal as shown in FIG. Is output. As a result, it is detected that there is no light-shielding object such as an object between the light projecting section 1 and the light receiving section 2.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述の
ような従来構成のものでは、次のような不具合がある。
即ち、例えば、図7(a)に示すように、光軸を隣接し
た状態で2台の光電センサ8a,8bを配置する場合に
は、それぞれの光電センサ8a,8bの投光部1a,1
bからのパルス光はある程度の広がりをもって出力され
るので、それぞれのパルス光がともに受光部2a,2b
に受光されてしまうことになる。
However, the conventional structure as described above has the following problems.
That is, for example, as shown in FIG. 7A, when the two photoelectric sensors 8a and 8b are arranged with the optical axes adjacent to each other, the light projecting portions 1a and 1 of the photoelectric sensors 8a and 8b are arranged.
Since the pulsed light from b is output with a certain spread, each of the pulsed light is received by the light receiving portions 2a and 2b.
Will be received by.

【0007】すると、例えば、同図(b)に示すよう
に、光電センサ8bの光軸が物体Aにより遮光されてい
る状態であっても光電センサ8aの投光部1aからのパ
ルス光が光電センサ8bの受光部2bに受光されるの
で、受光部2bにおいては光軸が遮光されていることを
検出することができなくなるのである。
Then, for example, as shown in FIG. 1B, even when the optical axis of the photoelectric sensor 8b is blocked by the object A, the pulsed light from the light projecting portion 1a of the photoelectric sensor 8a is photoelectrically converted. Since the light is received by the light receiving section 2b of the sensor 8b, it becomes impossible to detect that the optical axis is blocked in the light receiving section 2b.

【0008】従って、このような光の干渉による誤動作
を回避するためには、光電センサ8a,8bの各光軸が
一定間隔以上離れた配置状態で使用する必要がある。そ
こで、このような不具合を解消する対策として以下のよ
うなことが考えられるが、そのそれぞれにおいても後述
するような別の不具合が生じてしまう。
Therefore, in order to avoid such a malfunction due to the interference of light, it is necessary to use the photoelectric sensors 8a and 8b in such a state that the optical axes of the photoelectric sensors 8a and 8b are apart from each other by a predetermined distance or more. Therefore, the following measures can be considered as measures for solving such a problem, but each of them also causes another problem as described later.

【0009】即ち、第1に、図8に示すように、光電セ
ンサ8a,8bの各投光部1a,1bから出力されるパ
ルス光の光芒を狭くする方法がある。これにより、光の
干渉による誤動作を回避しながら光軸ピッチを狭くする
ことができる。しかしながら、この場合には、各光電セ
ンサ8a,8bの光軸調整を正確に行なう必要があるた
め時間を要すると共に、振動或は衝撃等で光軸がずれる
場合と検出精度が低下する不具合がある。
That is, firstly, as shown in FIG. 8, there is a method of narrowing the light beam of the pulsed light output from each of the light projecting portions 1a and 1b of the photoelectric sensors 8a and 8b. As a result, it is possible to narrow the optical axis pitch while avoiding malfunction due to light interference. However, in this case, since it is necessary to accurately adjust the optical axes of the photoelectric sensors 8a and 8b, it takes time, and there is a problem that the detection accuracy is lowered when the optical axes are displaced due to vibration or shock. .

【0010】第2に、各光電センサ8a,8bのそれぞ
れに偏光方向が異なる偏光フィルターを設ける方法があ
る。光電センサ8aの投光部1aの投光部分に第1の偏
光方向の偏光フィルターを設け、これと対向する受光部
2aの受光部分に同様の偏光方向の偏光フィルターを設
けて受光し、光電センサ8bには同様にして第2の偏光
方向の偏光フィルターを設ける構成として互いに隣接す
る投光部1b,1aからのパルス光が受光部2a,2b
に受光されないようにして光の干渉を防止するのであ
る。
Second, there is a method of providing a polarization filter having a different polarization direction on each of the photoelectric sensors 8a and 8b. A photoelectric filter of the first polarization direction is provided in the light projecting portion of the light projecting portion 1a of the photoelectric sensor 8a, and a polarizing filter of the same polarization direction is provided in the light receiving portion of the light receiving portion 2a facing the light receiving portion 2a to receive light. Similarly, the 8b is provided with a polarization filter of the second polarization direction, and pulsed lights from the light projecting sections 1b and 1a adjacent to each other are received by the light receiving sections 2a and 2b.
The light is prevented from being received by the light to prevent light interference.

【0011】しかしながら、この場合には、投光部1か
ら出力されるパルス光は受光部2に到達するまでに2枚
の偏光フィルタを通過するために、光の強度が低下する
不具合がある。これは、例えば偏光フィルタの透過率が
38%程度であるとすると、受光部2に到達するパルス
光の透過率は14.4%程度となってしまい、これでは
検出距離に換算して偏光フィルタがない場合の約38%
に減少してしまうことになる。
However, in this case, since the pulsed light output from the light projecting section 1 passes through the two polarizing filters before reaching the light receiving section 2, there is a problem that the light intensity is lowered. For example, if the transmittance of the polarization filter is about 38%, the transmittance of the pulsed light reaching the light receiving unit 2 will be about 14.4%, which is converted into the detection distance. About 38% without
Will be reduced to.

【0012】第3に、他の光電センサからのパルス光を
受光しない構成とするのではなく、投光部1から出力さ
れるパルス光の幅が他の光電センサ間と異なるように設
定し、受光部2において設定された幅のパルス光を受光
したときに自己の投光部1からのパルス光であると判断
するように構成することが考えられている。
Thirdly, the pulse light from the other photoelectric sensors is not received, but the width of the pulse light output from the light projecting unit 1 is set to be different from that between the other photoelectric sensors, It is considered that when the light receiving unit 2 receives the pulsed light of the set width, the light receiving unit 2 determines that the light is the pulsed light from its own light projecting unit 1.

【0013】しかしながら、この場合には、受光される
パルス光のパルス幅を判定するために、受光部2におけ
る増幅回路4の周波数特性が広帯域のものを使用する必
要があるが、そのために、モータ等から発生するノイズ
に対して悪影響を受け易くなり、誤動作の原因となる不
具合がある。
However, in this case, in order to determine the pulse width of the pulsed light to be received, it is necessary to use an amplifier circuit 4 having a wide frequency characteristic in the light receiving section 2, and for that purpose, a motor is used. There is a problem in that it is likely to be adversely affected by noise generated from the above and causes a malfunction.

【0014】また、上述のような透過形の光電センサと
異なり、反射形の光電センサにおいても、同様の事情が
あり、例えば、軌道上を走行する搬送車等に衝突防止用
センサとして設ける場合には、軌道上を移動する間にそ
の近傍から外乱光が入射されたり或は他の光電センサか
らのパルス光を受けると、自己の投光の反射光として誤
検出してしまう不具合がある。
Also, unlike the transmission type photoelectric sensor as described above, the reflection type photoelectric sensor has a similar situation. For example, when the reflection type photoelectric sensor is provided as a collision prevention sensor in a vehicle traveling on a track. When a disturbance light is incident from its vicinity or receives a pulsed light from another photoelectric sensor while moving on the orbit, it is erroneously detected as reflected light of its own projection.

【0015】本発明は、上記事情に鑑みてなされたもの
で、その目的は、他からの光の干渉による誤動作を極力
防止しながら、光軸調整を簡単にし、検出距離や耐ノイ
ズ性を低下させることなく検出動作を行なうことができ
る光電センサを提供することにある。
The present invention has been made in view of the above circumstances, and an object thereof is to simplify the optical axis adjustment and reduce the detection distance and noise resistance while preventing malfunctions due to interference of light from others as much as possible. It is an object to provide a photoelectric sensor that can perform a detection operation without causing it.

【0016】本発明の光電センサは、パルス光の出力数
を設定するための投光パルス数設定手段と、所定周期で
投光動作を行なうものであってその1回の投光動作にお
いて前記投光パルス数設定手段により設定された数のパ
ルス光を一定時間間隔で順次出力する投光手段と、前記
投光手段からのパルス光を受光して受光パルス信号に変
換する受光手段と、 前記投光動作によるパルス光の受
光判定のための受光パルス信号の数を前記投光パルス数
設定手段により設定された数に対応して設定する受光パ
ルス数設定手段と、前記投光動作のタイミングにおける
所定期間内に前記受光手段から出力される受光パルス信
号の数が前記受光パルス数設定手段により設定された数
と一致したときに受光検出信号を出力する検出手段とを
設けて構成したところに特徴を有する。
The photoelectric sensor of the present invention is a means for setting the number of output pulses of pulsed light, and a light projecting operation at a predetermined cycle, and the projecting operation is performed in a single projecting operation. A light projecting means for sequentially outputting the pulsed light of the number set by the light pulse number setting means at a constant time interval; a light receiving means for receiving the pulsed light from the light projecting means and converting it into a light receiving pulse signal; The number of light receiving pulse signals for judging the light receiving of pulsed light by the optical operation is the number of light emitting pulses.
At the timing of the light emitting operation, the light receiving pulse number setting means is set corresponding to the number set by the setting means .
It is characterized in that it is provided with a detecting means for outputting a light receiving detection signal when the number of light receiving pulse signals output from the light receiving means within a predetermined period matches the number set by the light receiving pulse number setting means. Have.

【0017】[0017]

【作用】本発明の光電センサによれば、投光手段は、1
回の投光動作において、投光パルス数設定手段により設
定された出力数のパルス光を一定時間間隔で順次出力す
る。このとき、設定された出力数が「1」であるときに
はパルス光を1個だけ出力する。受光手段はこのパルス
光を受けると順次受光パルス信号に変換して出力し、検
出手段は、投光動作のタイミングの所定期間内における
受光パルス信号の数が受光パルス数設定手段により設定
された数と一致している場合に受光検出信号を出力す
る。これにより、受光パルス数設定手段の設定数を投光
パルス数設定手段の設定数と一致させておけば、例え
ば、別の投光手段から異なる出力数のパルス光が受光手
段に入力された場合には、その受光パルス信号の数が一
致しないことにより、それが検出すべき投光手段からの
パルス光ではないと判断することができ、光の干渉によ
る誤検出を防止することができる。
According to the photoelectric sensor of the present invention, the light projecting means is
In a single projecting operation, the pulsed light of the output number set by the projecting pulse number setting means is sequentially output at a constant time interval. At this time, when the set number of outputs is “1”, only one pulsed light is output. When the light receiving means receives this pulsed light, it sequentially converts the light into a light receiving pulse signal and outputs the light receiving pulse signal, and the detecting means uses the light receiving pulse number setting means to determine the number of light receiving pulse signals within a predetermined period of the timing of the light projecting operation. A light reception detection signal is output when the number matches the set number. Thus, if the set number of the received light pulse number setting means is made to match the set number of the projected light pulse number setting means, for example, when a different number of pulsed light beams are input to the light receiving means from another projecting means. In addition, since the numbers of the received light pulse signals do not match, it can be determined that it is not the pulsed light from the light projecting means to be detected, and erroneous detection due to light interference can be prevented.

【0018】[0018]

【実施例】以下、本発明を透過形の光電スイッチに適用
した場合の第1の実施例について、図1および図2を参
照しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment in which the present invention is applied to a transmission type photoelectric switch will be described below with reference to FIGS.

【0019】図1は電気的なブロック構成を示すもの
で、この図1において、投光部11は、投光パルス数設
定手段としての投光パルス数設定回路12と投光手段と
しての投光回路13とから構成され、投光パルス数設定
回路12の出力端子は投光回路の設定入力端子に接続さ
れている。
FIG. 1 shows an electrical block configuration. In FIG. 1, the light projecting section 11 includes a light projecting pulse number setting circuit 12 as a light projecting pulse number setting means and a light projecting means as a light projecting means. The output terminal of the projection pulse number setting circuit 12 is connected to the setting input terminal of the projection circuit.

【0020】投光パルス数設定回路12は、1回の投光
動作で出力するパルス光の数を投光パルス数nとして設
定するもので、「1」以上の整数に設定することができ
るようになっている。
The light emitting pulse number setting circuit 12 sets the number of pulsed lights output by one light emitting operation as the light emitting pulse number n, and can be set to an integer of "1" or more. It has become.

【0021】投光回路13は、1回の投光動作で、投光
パルス数設定回路12により設定された投光パルス数n
に応じた数のパルス光を発光ダイオード等の投光素子に
より一定時間間隔で順次投光するもので、このような投
光動作を所定の投光周期で繰り返すようになっている。
The light projecting circuit 13 is one light projecting operation, and the number of light projecting pulses n set by the light projecting pulse number setting circuit 12 is n.
The light emitting element such as a light emitting diode sequentially emits a number of pulsed lights at a constant time interval, and such a light emitting operation is repeated at a predetermined light emitting cycle.

【0022】受光部14は、投光部11と所定間隔を存
して対向し投光回路13からのパルス光を受けるように
配置され、その受光状態に応じて受光検出信号を出力す
るもので、次のように構成される。受光手段としての受
光回路15は、フォトダイオード等の受光素子により外
部からの光を受けるとこれを受光パルス信号として出力
するようになっているもので、増幅回路16を介して比
較回路17に接続されている。
The light receiving section 14 is arranged so as to face the light projecting section 11 at a predetermined interval so as to receive the pulsed light from the light projecting circuit 13, and outputs a light receiving detection signal in accordance with the light receiving state. , Is constructed as follows. The light receiving circuit 15 as a light receiving means outputs light as a light receiving pulse signal when receiving light from the outside by a light receiving element such as a photodiode, and is connected to the comparison circuit 17 via the amplifier circuit 16. Has been done.

【0023】増幅回路16は受光回路15から出力され
る受光パルス信号を増幅して比較回路17に与え、比較
回路17は所定のレベルで入力される受光パルス信号を
二値化して出力するようになっている。尚、増幅回路1
6は、受光パルス信号の基本周波数の帯域のみを増幅す
るように、その周波数特性を狭い周波数帯域に設定して
いる。
The amplifier circuit 16 amplifies the light receiving pulse signal output from the light receiving circuit 15 and supplies it to the comparison circuit 17, and the comparison circuit 17 binarizes the light receiving pulse signal input at a predetermined level and outputs it. Has become. The amplifier circuit 1
In No. 6, the frequency characteristic is set to a narrow frequency band so that only the band of the fundamental frequency of the received light pulse signal is amplified.

【0024】検出手段としての検出回路18は、タイマ
回路19,カウンタ回路20および判定回路21から構
成される。タイマ回路19は、その入力端子が比較回路
17の出力端子に接続され、比較回路17から二値化さ
れた受光パルス信号が与えられる毎に一定時間Tだけ
「H」レベルの信号を出力するリトリガ式の単安定マル
チバイブレータとしての機能を有するものである。
The detection circuit 18 as a detection means comprises a timer circuit 19, a counter circuit 20 and a judgment circuit 21. The timer circuit 19 has its input terminal connected to the output terminal of the comparison circuit 17, and outputs a signal of "H" level for a predetermined time T every time a binarized light receiving pulse signal is given from the comparison circuit 17. It has a function as a monostable multivibrator of the formula.

【0025】カウンタ回路20において、その入力端子
Aは比較回路17の出力端子に接続され、制御入力端子
Bはタイマ回路19の出力端子に接続され、設定入力端
子Cは受光パルス数設定手段としての受光パルス数設定
回路22の出力端子に接続され、出力端子DおよびEは
それぞれ判定回路21の入力端子A,Bに接続されてい
る。また、判定回路21の入力端子Cはタイマ回路19
の出力端子に接続されている。
In the counter circuit 20, the input terminal A is connected to the output terminal of the comparison circuit 17, the control input terminal B is connected to the output terminal of the timer circuit 19, and the setting input terminal C is the light receiving pulse number setting means. It is connected to the output terminal of the received light pulse number setting circuit 22, and the output terminals D and E are connected to the input terminals A and B of the determination circuit 21, respectively. Further, the input terminal C of the determination circuit 21 is the timer circuit 19
Is connected to the output terminal of.

【0026】受光パルス数設定回路22は、受光判定の
ための受光パルス数Nを設定するもので、その設定信号
はカウンタ回路20に入力されるようになっている。そ
して、受光パルス数設定回路22における受光パルス数
Nの値は、投光パルス数設定回路12で設定した投光パ
ルス数nと同じ数に設定する。
The light receiving pulse number setting circuit 22 sets the light receiving pulse number N for the light receiving determination, and the setting signal is input to the counter circuit 20. Then, the value of the received light pulse number N in the received light pulse number setting circuit 22 is set to the same number as the projected light pulse number n set in the projected light pulse number setting circuit 12.

【0027】カウンタ回路20は、入力端子Aから入力
される二値化された受光パルス信号の数をカウントし、
そのカウント数が受光パルス数設定回路22により設定
された受光パルス数Nに達すると、出力端子DおよびE
から「H」レベルの信号を出力する。この場合、カウン
タ回路20は、タイマ回路19から「H」レベルの信号
が与えられている期間中は出力端子DおよびEの出力を
「H」レベルに保持するが、受光パルス信号が受光パル
ス数Nを超えて入力されると出力端子Eの出力のみを
「L」レベルに反転させる。
The counter circuit 20 counts the number of binarized light receiving pulse signals input from the input terminal A,
When the counted number reaches the received light pulse number N set by the received light pulse number setting circuit 22, the output terminals D and E are output.
To output an "H" level signal. In this case, the counter circuit 20 holds the outputs of the output terminals D and E at the “H” level while the signal of the “H” level is given from the timer circuit 19, but the received light pulse signal is the number of received light pulses. When input exceeds N, only the output of the output terminal E is inverted to "L" level.

【0028】判定回路21は、タイマ回路19およびカ
ウンタ回路20から入力される信号に基づいて、受光パ
ルス信号の数が設定されている受光パルス数Nと一致し
ているときに受光検出信号を出力するもので、その出力
端子は積分回路23の入力端子に接続されている。
The determination circuit 21 outputs a light reception detection signal based on the signals input from the timer circuit 19 and the counter circuit 20 when the number of light reception pulse signals matches the set light reception pulse number N. The output terminal is connected to the input terminal of the integrating circuit 23.

【0029】積分回路23は、判定回路21から受光検
出信号が与えられるとこれを積分してゆき、連続して与
えられるパルス状の受光検出信号の数が所定数以上にな
ると、その積分値が所定値に達することにより出力信号
を発生するもので、その出力端子は出力回路24に接続
されている。出力回路24は、積分回路23から与えら
れる信号を外部に出力するための回路である。
The integrator circuit 23 integrates the received light detection signal from the determination circuit 21, and integrates the received light detection signal when the number of continuously received pulsed light detection signals exceeds a predetermined number. An output signal is generated when it reaches a predetermined value, and its output terminal is connected to the output circuit 24. The output circuit 24 is a circuit for outputting the signal given from the integration circuit 23 to the outside.

【0030】次に、本実施例の作用について図2をも参
照して説明する。尚、本実施例においては、投光パルス
数設定回路12における投光パルス数nおよび受光パル
ス数設定回路22における受光パルス数Nの値が「3」
に設定された場合について説明する。
Next, the operation of this embodiment will be described with reference to FIG. In the present embodiment, the values of the number n of light projection pulses in the light projection pulse number setting circuit 12 and the number N of light reception pulses in the light receiving pulse number setting circuit 22 are “3”.
The case where it is set to will be described.

【0031】投光部11において、投光回路13は、投
光パルス数設定回路12により設定された投光パルス数
nの値が「3」であることから、1回の投光動作で、一
定時間間隔を存して連続する3個のパルス光を投光素子
により出力する。そして、投光回路13は、このような
投光動作を所定周期で繰り返す。
In the light projecting section 11, the light projecting circuit 13 determines that the value of the light projecting pulse number n set by the light projecting pulse number setting circuit 12 is "3". Three continuous pulsed lights are output by a light projecting element with a certain time interval. Then, the light projecting circuit 13 repeats such a light projecting operation at a predetermined cycle.

【0032】一方、受光部14においては、光軸を遮光
する物体がないときには、次のようにして受光動作が行
われる。まず、受光回路15においては、受光素子に入
射したパルス光が受光パルス信号に変換され、増幅回路
16を介して増幅された後、その増幅信号Sa(図2
(a)参照)は比較回路17に入力される。
On the other hand, in the light receiving section 14, when there is no object that blocks the optical axis, the light receiving operation is performed as follows. First, in the light receiving circuit 15, the pulsed light incident on the light receiving element is converted into a light receiving pulse signal and amplified by the amplification circuit 16, and then the amplified signal Sa (FIG. 2).
(See (a)) is input to the comparison circuit 17.

【0033】比較回路17においては、入力された信号
Saを所定レベルで比較し、二値化された受光パルス信
号Sb(同図(b)参照)として検出回路18に出力す
るようになる。
In the comparison circuit 17, the input signal Sa is compared at a predetermined level and is output to the detection circuit 18 as a binarized light reception pulse signal Sb (see FIG. 7B).

【0034】検出回路18においては、以下に述べるよ
うにして、受光パルス信号Sbが投光回路13からのパ
ルス光によるものかどうかを判定する。いま、投光回路
13から投光される3個の連続したパルス光に対して、
図2(a)に示すような干渉光が重畳した場合を例にと
って説明する。即ち、1個のパルス光(イ),4個の連
続するパルス光(ハ)および3個の不連続なパルス光
(ホ)が受光パルス信号として検出回路18に入力され
る場合である。
The detection circuit 18 determines whether the received light pulse signal Sb is due to the pulsed light from the light projecting circuit 13 as described below. Now, for three consecutive pulsed lights emitted from the light emitting circuit 13,
A case where the interference light as shown in FIG. 2A is superimposed will be described as an example. That is, this is the case where one pulsed light (a), four continuous pulsed lights (c) and three discontinuous pulsed lights (e) are input to the detection circuit 18 as light reception pulse signals.

【0035】1個のパルス光による干渉光が受光パルス
信号Sb(図2(a)の(イ)参照)として検出回路1
8に入力された場合には、タイマ回路19においてはト
リガがかかって一定時間Tだけ「H」レベルの信号Sc
が出力され(同図(c)参照)、カウンタ回路20にお
いては、受光パルス数Nに達していないので出力端子D
およびEからは信号SdおよびSeが出力されず「L」
レベルのままとなっている(同図(d),(e)参
照)。
The interference light generated by one pulse light is detected by the detection circuit 1 as the received light pulse signal Sb (see (a) in FIG. 2A).
8 is input to the timer circuit 19, the timer circuit 19 is triggered and the signal Sc of "H" level for a certain time T
Is output (see (c) in the figure), and since the counter circuit 20 has not reached the number N of received light pulses, the output terminal D
And E do not output signals Sd and Se, and are "L".
It remains at the level (see (d) and (e) in the same figure).

【0036】そして、判定回路21においては、タイマ
回路19からの信号Scが「L」レベルに反転した時点
で、カウンタ回路20の出力端子Eから「H」レベルの
信号が出力されていないことから、受光検出信号Sfは
出力されない(同図(f)参照)。
In the judgment circuit 21, since the signal Sc from the timer circuit 19 is inverted to the "L" level, the output terminal E of the counter circuit 20 does not output the "H" level signal. , The light reception detection signal Sf is not output (see (f) in the figure).

【0037】次に、同図(a)の(ロ)および(ニ)で
示すように、投光回路13からの3個の連続するパルス
光が受光パルス信号Sbとして検出回路18に入力され
た場合には、タイマ回路19は、受光パルス信号Sbが
入力される毎にトリガがかかるが、その時間間隔は1回
の出力が「H」レベルとなっている期間よりも短いの
で、結果として同図(c)に示すように連続した「H」
レベルの信号Scを出力し続けるようになる。
Next, as shown in (b) and (d) of FIG. 7A, three continuous pulse lights from the light projecting circuit 13 are input to the detecting circuit 18 as the light receiving pulse signal Sb. In this case, the timer circuit 19 is triggered each time the received light pulse signal Sb is input, but since the time interval is shorter than the period in which the output is once at the “H” level, the same result is obtained. Continuous "H" as shown in Figure (c)
The level signal Sc continues to be output.

【0038】一方、カウンタ回路20においては、受光
パルス信号Sbの入力個数が受光パルス数設定回路22
により設定された受光パルス数「3」に達すると、出力
端子DおよびEから「H」レベルの信号Sd,Seを出
力するようになる。そして、この場合には、連続する受
光パルス信号Sbは「3」個でこれ以降はカウンタ回路
20に入力されないので、一定時間が経過すると、カウ
ンタ回路20の出力端子DおよびEの出力信号Sd,S
eは同時に「L」レベルに反転する。
On the other hand, in the counter circuit 20, the input number of the received light pulse signal Sb is the received light pulse number setting circuit 22.
When the light receiving pulse number "3" set by is reached, the output terminals D and E output "H" level signals Sd and Se. In this case, since the continuous light receiving pulse signals Sb are "3" and are not input to the counter circuit 20 thereafter, the output signals Sd, Sd, S
At the same time, e is inverted to "L" level.

【0039】判定回路21においては、タイマ回路19
からの信号Scが「L」レベルに反転する時点で、カウ
ンタ回路20の出力端子DおよびEからの信号Sd,S
eが共に「H」レベルであることをもって「H」レベル
の受光検出信号Sf(同図(f)参照)を出力するよう
になる。
In the determination circuit 21, the timer circuit 19
Signals Sc from the output terminals D and E of the counter circuit 20 at the time when the signal Sc from the counters is inverted to the “L” level.
Since both e are at the "H" level, the "H" level light reception detection signal Sf (see (f) in the figure) is output.

【0040】次に、同図(a)の(ハ)で示す干渉光に
よる4個の連続するパルス光が受光パルス信号Sbとし
て検出回路18に入力された場合には、タイマ回路19
は、上述同様にして4個の受光パルス信号Sbが入力さ
れる期間中連続した「H」レベルの信号Scを出力し続
ける。
Next, when four continuous pulsed lights due to the interference light shown in (c) of FIG. 7A are input to the detection circuit 18 as the received light pulse signal Sb, the timer circuit 19
In the same manner as described above, continues to output the "H" level signal Sc that is continuous during the period in which the four light receiving pulse signals Sb are input.

【0041】そして、カウンタ回路20においては、受
光パルス信号が3個入力されると出力端子DおよびEか
ら「H」レベルの信号Sd,Seを出力し、この後、出
力端子Dの出力信号Sdは4個目の受光パルス信号が入
力されてもそのまま「H」レベルの出力状態を保持する
が、出力端子Eの出力信号Seは4個目の受光パルス信
号が入力された時点で「L」レベルに反転するようにな
る。
In the counter circuit 20, when three light receiving pulse signals are input, the output terminals D and E output "H" level signals Sd and Se, and thereafter, the output signal Sd from the output terminal D. Holds the output state of "H" level as it is even when the fourth light receiving pulse signal is input, but the output signal Se of the output terminal E is "L" at the time when the fourth light receiving pulse signal is input. It will be flipped to the level.

【0042】これにより、判定回路21においては、タ
イマ回路19からの信号Scが「L」レベルに反転する
時点で、カウンタ回路20の出力端子Eからの信号Se
が「L」レベルとなっていることから、受光検出信号S
fは出力されなくなる。つまり、投光回路13からのパ
ルス光による受光パルス信号Sbではないと判定するの
である。
As a result, in the decision circuit 21, the signal Se from the output terminal E of the counter circuit 20 is reached when the signal Sc from the timer circuit 19 is inverted to the "L" level.
Is at the “L” level, the received light detection signal S
f is no longer output. That is, it is determined that the received light pulse signal Sb is not the light reception pulse signal Sb generated by the pulsed light from the light projecting circuit 13.

【0043】次に、同図(a)の(ホ)で示すように、
パルス光は3個であるが、2個の連続するパルス光が入
射した後時間間隔を存して1個のパルス光が干渉光とし
て入射する場合については次のように動作する。
Next, as shown in (e) of FIG.
The number of pulsed lights is three, but when one pulsed light is incident as interference light at a time interval after the incidence of two continuous pulsed lights, the following operation is performed.

【0044】タイマ回路19は、2個の連続した受光パ
ルス信号Sbが入力されると、その間は連続した「H」
レベルの信号Scを出力した後「L」レベルに戻り、続
いて1個の受光パルス信号Sbが時間間隔を存して与え
られると再び「H」レベルの信号Scを一定時間Tだけ
出力する。
When two consecutive light receiving pulse signals Sb are input, the timer circuit 19 is continuously "H" during that time.
After the level Sc signal is output, the level returns to the “L” level, and subsequently, when one light receiving pulse signal Sb is applied with a time interval, the “H” level signal Sc is output again for the fixed time T.

【0045】カウンタ回路20においては、入力される
受光パルス信号Sbを2個カウントした後、タイマ回路
19からの「H」レベルの信号Scがなくなることによ
りリセットされるので、3個目の受光パルス信号Sbが
入力された時点では再び1個目の受光パルス信号Snを
カウントしていることになり、出力端子DおよびEのい
ずれからも「H」レベルの信号Sd,Seを出力するこ
とはない。
In the counter circuit 20, after the two received light pulse signals Sb are counted, the counter circuit 20 is reset when the "H" level signal Sc from the timer circuit 19 disappears. At the time when the signal Sb is input, the first light receiving pulse signal Sn is counted again, and neither the output terminals D and E output the “H” level signals Sd and Se. .

【0046】従って、このような連続していない3個の
パルス光が入力された場合には、判定回路21において
も受光検出信号Sfを出力することがなくなり、これに
より干渉光による誤検出状態がなくなるものである。
Therefore, when such three pulse lights which are not continuous are input, the judgment circuit 21 does not output the light reception detection signal Sf either, and thereby the erroneous detection state due to the interference light is generated. It will disappear.

【0047】尚、上述の(ロ)および(ニ)で示すよう
な投光回路13からの3個の連続するパルス光が所定周
期をもって繰り返し入力されると、積分回路23は、判
定回路21からの受光検出信号Sfを積分した結果が所
定レベルに達するので、受光状態と判断して出力信号S
g(同図(g)参照)を出力回路24に与えるようにな
る。
When three continuous pulsed lights from the light projecting circuit 13 as shown in (b) and (d) above are repeatedly input with a predetermined period, the integrating circuit 23 causes the judging circuit 21 to output. Since the result of integrating the received light detection signal Sf of S reaches the predetermined level, it is determined that the light receiving state and the output signal S
g (see (g) in the figure) is applied to the output circuit 24.

【0048】このような本実施例によれば、タイマ回路
19,カウンタ回路20および判定回路21により検出
回路18を構成し、一定時間間隔で連続するn個のパル
ス光による受光パルス信号Sbが入力されたときにのみ
受光検出信号Sfを出力するようにしたので、投光部1
1と受光部14との間で投光パルス数nと受光パルス数
Nとを同じ値に設定することにより、干渉光を受光した
場合でも誤検出を確実に防止できるようになる。
According to the present embodiment as described above, the timer circuit 19, the counter circuit 20 and the judging circuit 21 constitute the detecting circuit 18, and the light receiving pulse signal Sb by n pulse lights which are continuous at a constant time interval is inputted. Since the light reception detection signal Sf is output only when the light is emitted,
By setting the light emitting pulse number n and the light receiving pulse number N between 1 and the light receiving unit 14 to be the same value, it is possible to reliably prevent erroneous detection even when interference light is received.

【0049】これにより、投光部11からのパルス光の
光芒を絞る必要がなくなって、光軸調整が簡単になると
共に振動や衝撃に対する検出精度の低下を防止できる。
また、偏光フィルタを設ける必要がないので、パルス光
の強度が低下することがなくなり、検出距離が低下する
ことがなくなる。さらに、一定時間幅のパルス光を受光
する構成として増幅回路16の周波数帯域を狭くするこ
とができるので、モータ等から発生する外部ノイズによ
る悪影響を受けにくくすることができる。
As a result, it is not necessary to narrow down the light beam of the pulsed light from the light projecting unit 11, the optical axis adjustment becomes simple, and the detection accuracy against vibrations and shocks can be prevented from lowering.
Moreover, since it is not necessary to provide a polarization filter, the intensity of the pulsed light does not decrease, and the detection distance does not decrease. Furthermore, since the frequency band of the amplifier circuit 16 can be narrowed by receiving the pulsed light of a fixed time width, it is possible to prevent the adverse effect of external noise generated from the motor or the like.

【0050】また、投光パルス数nおよび受光パルス数
Nを「2」以上の値に設定した場合には、例えば蛍光灯
やスパッタ等による外部ノイズ光が単発的に受光回路1
5に入射されても、これらのノイズ光を無効化すること
ができるので、外乱光による誤検出を極力防止できる。
When the number n of light projection pulses and the number N of light reception pulses are set to a value of "2" or more, external noise light due to, for example, a fluorescent lamp or spatter is sporadically received.
Even if the noise light is incident on the light source 5, the noise light can be nullified, so that erroneous detection due to ambient light can be prevented as much as possible.

【0051】図3および図4は本発明の第2の実施例を
示すもので、第1の実施例と異なるところは、検出回路
18に代えて検出回路25を設けたところであり、以
下、これについて説明する。
FIGS. 3 and 4 show a second embodiment of the present invention. The difference from the first embodiment is that a detection circuit 25 is provided instead of the detection circuit 18, which will be described below. Will be described.

【0052】即ち、検出回路25の電気的構成を示す図
3において、第1のタイマ回路26の入力端子は比較回
路17の出力端子に接続され、その出力端子はAND回
路27の一方の入力端子に接続されると共に第2のタイ
マ回路28の入力端子に接続されている。AND回路2
7の他方の入力端子は比較回路17の出力端子に接続さ
れ、その出力端子はカウンタ回路29の入力端子Aに接
続されている。
That is, in FIG. 3 showing the electrical configuration of the detection circuit 25, the input terminal of the first timer circuit 26 is connected to the output terminal of the comparison circuit 17, and the output terminal thereof is one input terminal of the AND circuit 27. And an input terminal of the second timer circuit 28. AND circuit 2
The other input terminal of 7 is connected to the output terminal of the comparison circuit 17, and its output terminal is connected to the input terminal A of the counter circuit 29.

【0053】第1のタイマ回路26は、比較回路17か
ら二値化された受光パルス信号が与えられる毎に一定時
間Tだけ「H」レベルの信号を出力するリトリガ式の単
安定マルチバイブレータとしての機能を有するものであ
る。また、第2のタイマ回路28は、第1のタイマ回路
26からの「H」レベルの入力信号が立ち下がるタイミ
ングで一定時間「H」レベルの信号を出力するもので、
その出力端子は第3のタイマ回路30の入力端子に接続
されている。
The first timer circuit 26 is a retrigger type monostable multivibrator which outputs an "H" level signal for a fixed time T each time the binarized light receiving pulse signal is given from the comparison circuit 17. It has a function. Further, the second timer circuit 28 outputs an "H" level signal for a certain period of time at the timing when the "H" level input signal from the first timer circuit 26 falls.
The output terminal is connected to the input terminal of the third timer circuit 30.

【0054】第3のタイマ回路30は、第2のタイマ回
路28からの「H」レベルの入力信号が立ち下がるタイ
ミングで一定時間「H」レベルの信号を出力するもの
で、その出力端子はカウンタ回路29のリセット入力端
子Rに接続されている。
The third timer circuit 30 outputs an "H" level signal for a certain period of time at the timing when the "H" level input signal from the second timer circuit 28 falls, and its output terminal is a counter. It is connected to the reset input terminal R of the circuit 29.

【0055】カウンタ回路29は、入力端子Aから与え
られるパルス数をカウントしてそのカウント値に応じた
複数の出力端子B1ないしB6に順次「H」レベルの信
号を出力するもので、その出力端子B1ないしB6は受
光パルス数設定手段たる切換スイッチ31の各切換端子
a1ないしa6に接続されている。切換スイッチ31の
可動接点端子cはDタイプのフリップフロップ32のデ
ータ入力端子Dに接続されると共に、3入力端子を有す
るAND回路33の第1の入力端子に接続されている。
The counter circuit 29 counts the number of pulses given from the input terminal A and sequentially outputs "H" level signals to a plurality of output terminals B1 to B6 corresponding to the count value. B1 to B6 are connected to the respective switching terminals a1 to a6 of the changeover switch 31 which is the light receiving pulse number setting means. The movable contact terminal c of the changeover switch 31 is connected to the data input terminal D of the D-type flip-flop 32 and also to the first input terminal of the AND circuit 33 having three input terminals.

【0056】フリップフロップ32のリセット入力端子
Rは第3のタイマ回路30の出力端子に接続され、出力
端子QはAND回路33の第2の入力端子に接続されて
いる。また、AND回路33の第3の入力端子は第2の
タイマ回路28の出力端子に接続されており、そのAN
D回路33の出力端子は積分回路23の入力端子に接続
されている。
The reset input terminal R of the flip-flop 32 is connected to the output terminal of the third timer circuit 30, and the output terminal Q is connected to the second input terminal of the AND circuit 33. Further, the third input terminal of the AND circuit 33 is connected to the output terminal of the second timer circuit 28, and its AN
The output terminal of the D circuit 33 is connected to the input terminal of the integrating circuit 23.

【0057】次に、本実施例の作用について、図4をも
参照して説明する。尚、本実施例においても、投光パル
ス数設定回路12における投光パルス数nは「3」に設
定されており、切換スイッチ31も受光パルス数Nを
「3」とするB3の位置に設定された場合について説明
する。
Next, the operation of this embodiment will be described with reference to FIG. Also in this embodiment, the number n of projection pulses in the projection pulse number setting circuit 12 is set to "3", and the changeover switch 31 is also set to the position B3 where the number N of received light pulses is "3". The case where it is performed will be described.

【0058】まず、1個のパルス光としての干渉光が受
光回路15に入射し、その受光パルス信号Sh(図4
(a)の(イ)参照)が検出回路25に入力される場合
においては、次のように動作する。即ち、第1のタイマ
回路26は一定時間Tだけ「H」レベルの信号Siを出
力し(同図(b)参照)、その信号Siが「L」レベル
に反転すると、第2のタイマ回路28が一定時間「H」
レベルの信号Sjを出力し(同図(c)参照)、続いて
その信号は「L」レベルに反転すると、第3のタイマ回
路30が一定時間だけ「H」レベルの信号Skを出力す
るようになる(同図(d)参照)。
First, the interference light as one pulsed light enters the light receiving circuit 15, and the received light pulse signal Sh (see FIG. 4).
When (a) (see (a)) is input to the detection circuit 25, the operation is as follows. That is, the first timer circuit 26 outputs the signal Si at the “H” level for a certain period of time T (see FIG. 7B), and when the signal Si inverts to the “L” level, the second timer circuit 28. "H" for a certain time
When the signal Sj of the level is output (see (c) in the figure), and then the signal is inverted to the "L" level, the third timer circuit 30 outputs the signal Sk of the "H" level for a certain period of time. (See (d) in the figure).

【0059】しかし、カウンタ回路29においては受光
パルス信号Shが1個しか入力されないので、切換スイ
ッチ31の出力端子B3には「H」レベルの信号は出力
されることがなく、従って、AND回路33の出力端子
は「L」レベルのままで、受光検出信号は出力されな
い。
However, since only one received light pulse signal Sh is input to the counter circuit 29, no "H" level signal is output to the output terminal B3 of the changeover switch 31, and therefore the AND circuit 33 is used. The output terminal of is still at "L" level, and no light reception detection signal is output.

【0060】また、図2(a)の(ロ)で示す2個の連
続するパルス光としての干渉光が受光パルス信号Shと
して入力された場合にも、上述と同様に、受光検出信号
は出力されない。
Also, when the interference light as two continuous pulse lights shown in (b) of FIG. 2A is input as the light reception pulse signal Sh, the light reception detection signal is output in the same manner as described above. Not done.

【0061】次に、同図(a)の(ハ)で示すように、
投光回路13からの3個の連続するパルス光が受光パル
ス信号Shとして検出回路25に入力された場合には、
カウンタ回路29は、3個めの受光パルス信号Shが入
力されると出力端子B3から「H」レベルの信号を出力
する。
Next, as shown in (c) of FIG.
When three consecutive pulsed lights from the light projecting circuit 13 are input to the detecting circuit 25 as the light receiving pulse signal Sh,
The counter circuit 29 outputs an “H” level signal from the output terminal B3 when the third light receiving pulse signal Sh is input.

【0062】これにより、切換スイッチ31を介してフ
リップフロップ32のデータ入力端子Dに「H」レベル
の信号Smが与えられるので、出力端子Qから「H」レ
ベルの信号Snを出力する。AND回路33の第1およ
び第2の入力端子には「H」レベルの信号が与えられる
ことになる。この後、受光パルス信号Shは与えられな
いので、カウンタ回路29は出力端子B3からの「H」
レベルの信号出力を継続する。
As a result, the "H" level signal Sm is applied to the data input terminal D of the flip-flop 32 via the changeover switch 31, and the "H" level signal Sn is output from the output terminal Q. The "H" level signal is applied to the first and second input terminals of the AND circuit 33. After this, since the light receiving pulse signal Sh is not given, the counter circuit 29 outputs "H" from the output terminal B3.
Continues to output the level signal.

【0063】一方、第1のタイマ回路26は、3個めの
受光パルス信号Shが入力されてから一定時間Tだけ
「H」レベルの信号Siを出力した後、その出力を
「L」レベルに反転する。すると、第2のタイマ回路2
8が一定時間「H」レベルの信号Sjを出力する。この
とき、第2のタイマ回路28からの「H」レベルの信号
SjはAND回路33の第3の入力端子に与えられ、A
ND回路33は「H」レベルの受光検出信号Sp(同図
(g)参照)を出力する。
On the other hand, the first timer circuit 26 outputs the signal Si at the "H" level for a fixed time T after the third light receiving pulse signal Sh is input, and then sets the output to the "L" level. Invert. Then, the second timer circuit 2
8 outputs an "H" level signal Sj for a certain period of time. At this time, the “H” level signal Sj from the second timer circuit 28 is given to the third input terminal of the AND circuit 33, and A
The ND circuit 33 outputs the received light detection signal Sp at the “H” level (see (g) in the figure).

【0064】この後、第2のタイマ回路28からの出力
信号Sjが「L」レベルに反転すると、AND回路33
は出力を「L」レベルに反転し、第3のタイマ回路30
は「H」レベルの信号Skを一定時間出力するようにな
る。これにより、カウンタ回路29およびフリップフロ
ップ32はそれぞれリセット端子Rに「H」レベルの信
号Skが与えられることによりリセットされる。
Thereafter, when the output signal Sj from the second timer circuit 28 is inverted to the "L" level, the AND circuit 33.
Inverts the output to the “L” level, and the third timer circuit 30
Outputs the signal Sk of "H" level for a certain period of time. As a result, the counter circuit 29 and the flip-flop 32 are reset when the reset terminal R is supplied with the “H” level signal Sk.

【0065】次に、同図(a)の(ニ)で示す4個の連
続するパルス光としての干渉光が受光パルス信号Shと
して検出回路25に入力される場合には、3個目の受光
パルス信号Shが入力された時点までは上述と同様に動
作するが、4個目の受光パルス信号Shが入力される
と、第1のタイマ回路26においてはその出力信号Si
をさらに一定時間Tだけ「H」レベルに保持し、カウン
タ回路29においては、出力端子B3からの出力信号が
「L」レベルに反転するようになる。
Next, when the interference light as four continuous pulsed lights shown in (d) of FIG. 9A is input to the detection circuit 25 as the light reception pulse signal Sh, the third light reception is performed. The same operation as described above is performed until the pulse signal Sh is input, but when the fourth light receiving pulse signal Sh is input, the output signal Si is output in the first timer circuit 26.
Is held at the "H" level for a certain time T, and the counter circuit 29 inverts the output signal from the output terminal B3 to the "L" level.

【0066】これにより、第1のタイマ回路26の出力
信号Siが「L」レベルに反転した後に第2のタイマ回
路から「H」レベルの信号Sjが出力された時点では、
AND回路33の第1の入力端子へのカウンタ回路29
からの信号Smが「L」レベルに反転しているので、受
光検出信号は出力されない。
As a result, when the output signal Si of the first timer circuit 26 is inverted to the "L" level and then the "H" level signal Sj is output from the second timer circuit,
Counter circuit 29 to the first input terminal of AND circuit 33
Since the signal Sm from the signal is inverted to the "L" level, the light reception detection signal is not output.

【0067】さらに、図4(a)の(ホ)で示す2個の
連続するパルス光と1個のパルス光とが時間間隔を存し
て断続する干渉光が受光パルス信号Shとして検出回路
25に入力される場合には、次のように動作する。即
ち、前述した同図(a)の(ロ)の場合と同様にして、
カウンタ回路29は2個の受光パルス信号Shが入力さ
れた後、3個目の受光パルス信号Shが入力される前
に、第3のタイマ回路30からのリセット信号Skによ
りリセットされるので、3個目の受光パルス信号Shが
入力された時点では、再び図4(a)の(イ)で示す場
合と同様の動作をすることになり、結局、受光検出信号
は出力されない。
Further, the interference light in which two continuous pulsed lights and one pulsed light shown in (e) of FIG. When input to, it operates as follows. That is, in the same manner as in the case (b) of FIG.
Since the counter circuit 29 is reset by the reset signal Sk from the third timer circuit 30 after the two light receiving pulse signals Sh are input and before the third light receiving pulse signal Sh is input, At the time when the second light reception pulse signal Sh is input, the same operation as in the case of (a) of FIG. 4A is performed again, and the light reception detection signal is not output after all.

【0068】従って、このような第2の実施例において
も、第1の実施例と同様の効果を得ることができる。
Therefore, also in such a second embodiment, the same effect as that of the first embodiment can be obtained.

【0069】尚、上記各実施例においては、本発明を透
過形の光電センサに適用した場合について説明したが、
これに限らず、例えば、反射形の光電センサに適用して
も良い。
In each of the above embodiments, the case where the present invention is applied to the transmission type photoelectric sensor has been described.
The invention is not limited to this, and may be applied to, for example, a reflective photoelectric sensor.

【0070】また、上記各実施例においては、検出回路
18或は25からの受光検出信号を積分回路23により
積分して出力信号を出力するようにしたが、これに限ら
ず、例えば、所定タイミングで連続する受光検出信号を
デジタル的にカウントして出力信号を出力する回路で構
成しても良い。
Further, in each of the above embodiments, the light receiving detection signal from the detection circuit 18 or 25 is integrated by the integrating circuit 23 to output the output signal, but the present invention is not limited to this, and for example, at a predetermined timing. It may be configured by a circuit that digitally counts continuous light receiving detection signals and outputs an output signal.

【0071】さらに、上記各実施例においては、全体を
ハード的な回路で構成した場合について説明したが、こ
れに限らず、例えば、マイクロコンピュータ等により、
同様の機能をプログラムによりソフト的に構成するよう
にしても良い。
Furthermore, in each of the above-described embodiments, the case where the whole is configured by a hardware circuit has been described, but the present invention is not limited to this, and for example, by a microcomputer or the like,
The same function may be configured as a software program.

【0072】[0072]

【発明の効果】以上説明したように、本発明の光電セン
サは、投光手段におけるパルス光の出力数を投光パルス
数設定手段により設定し、これに応じて受光パルス数設
定手段により受光パルス数を設定し、検出手段により、
投光動作のタイミングの所定期間内において受光手段か
ら出力される受光パルス信号が設定された受光パルス数
に一致するかどうかを判定して受光検出信号を出力する
ようにした。これにより、受光パルス数設定手段の設定
数を投光パルス数設定手段の設定数と一致させておけ
ば、例えば、別の投光手段から異なる出力数のパルス光
が受光手段に入力された場合には、その受光パルス信号
の数が一致しないことにより、それが検出すべき投光手
段からのパルス光ではないと判断することができる。従
って、外部からの他の光の干渉による誤検出を防止する
ことができ、また光芒を狭くする必要がなくなることに
より光軸調整が簡単になり、さらに、検出距離や耐ノイ
ズ性を低下させることがなくなるという優れた効果を奏
する。
As described above, in the photoelectric sensor of the present invention, the output number of pulsed light in the light projecting means is set by the light projecting pulse number setting means, and the light receiving pulse is set by the light receiving pulse number setting means accordingly. Set the number and by the detection means
The light receiving detection signal is output by determining whether or not the light receiving pulse signal output from the light receiving means matches the set number of light receiving pulses within a predetermined period of the timing of the light projecting operation . Thus, if the set number of the received light pulse number setting means is made to match the set number of the projected light pulse number setting means, for example, when a different number of pulsed light beams are input to the light receiving means from another projecting means. In this case, since the numbers of the received light pulse signals do not match, it can be determined that it is not the pulsed light from the light projecting means to be detected. Therefore, it is possible to prevent erroneous detection due to the interference of other light from the outside, and it is possible to simplify the optical axis adjustment by eliminating the need to narrow the light beam, and further reduce the detection distance and noise resistance. It has an excellent effect of eliminating.

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

【図1】本発明の第1の実施例を示す電気的構成のブロ
ック図
FIG. 1 is a block diagram of an electrical configuration showing a first embodiment of the present invention.

【図2】各部の信号出力状態を示すタイムチャートFIG. 2 is a time chart showing a signal output state of each part.

【図3】本発明の第2の実施例を示す検出回路の電気的
構成のブロック図
FIG. 3 is a block diagram of an electrical configuration of a detection circuit showing a second embodiment of the present invention.

【図4】図2相当図FIG. 4 is a view corresponding to FIG.

【図5】従来例を示す図1相当図FIG. 5 is a view corresponding to FIG. 1 showing a conventional example.

【図6】同図2相当図FIG. 6 is a view corresponding to FIG.

【図7】従来の不具合を説明する光電センサの配置図FIG. 7 is a layout view of a photoelectric sensor for explaining a conventional defect

【図8】同図7相当図FIG. 8 is a view corresponding to FIG.

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

11は投光部、12は投光パルス数設定回路(投光パル
ス数設定手段)、13は投光回路(投光手段)、14は
受光部、15は受光回路(受光手段)、16は増幅回
路、17は比較回路、18は検出回路(検出手段)、1
9はタイマ回路、20はカウンタ回路、21は判定回
路、22は受光パルス数設定回路(受光パルス数設定手
段)、23は積分回路、24は出力回路、25は検出回
路(検出手段)、26は第1のタイマ回路、28は第2
のタイマ回路、29はカウンタ回路、30は第3のタイ
マ回路、31は切換回路、32はDタイプのフリップフ
ロップ、27,33はAND回路である。
11 is a light projecting unit, 12 is a light projecting pulse number setting circuit (light projecting pulse number setting means), 13 is a light projecting circuit (light projecting unit), 14 is a light receiving unit, 15 is a light receiving circuit (light receiving unit), and 16 is Amplifier circuit, 17 is a comparison circuit, 18 is a detection circuit (detection means), 1
Reference numeral 9 is a timer circuit, 20 is a counter circuit, 21 is a determination circuit, 22 is a light receiving pulse number setting circuit (light receiving pulse number setting means), 23 is an integrating circuit, 24 is an output circuit, 25 is a detecting circuit (detecting means), 26. Is a first timer circuit and 28 is a second
, 29 is a counter circuit, 30 is a third timer circuit, 31 is a switching circuit, 32 is a D-type flip-flop, and 27 and 33 are AND circuits.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 パルス光の出力数を設定するための投光
パルス数設定手段と、 所定周期で投光動作を行なうものであってその1回の投
光動作において前記投光パルス数設定手段により設定さ
れた数のパルス光を一定時間間隔で順次出力する投光手
段と、 前記投光手段からのパルス光を受光して受光パルス信号
に変換する受光手段と、 前記投光動作によるパルス光
の受光判定のための受光パルス信号の数を前記投光パル
ス数設定手段により設定された数に対応して設定する受
光パルス数設定手段と、前記投光動作のタイミングにおける所定期間内に 前記受
光手段から出力される受光パルス信号の数が前記受光パ
ルス数設定手段により設定された数と一致したときに受
光検出信号を出力する検出手段とを具備したことを特徴
とする光電センサ。
1. A projection pulse number setting means for setting the output number of pulsed light, and a projection operation at a predetermined cycle, wherein the projection pulse number setting means is performed in one projection operation. And a light receiving means for receiving pulsed light from the light emitting means and converting it into a light receiving pulse signal, and a pulsed light for the light emitting operation. the light projection pulse the number of pulses received signal for the received determination
The number of light-receiving pulses set by the number set by the number-of- lights setting means, and the number of light-receiving pulse signals output from the light-receiving means within a predetermined period at the timing of the light-projecting operation is the number of light-receiving pulses. A photoelectric sensor, comprising: a detection unit that outputs a light reception detection signal when the number matches the number set by the setting unit.
JP11874792A 1992-05-12 1992-05-12 Photoelectric sensor Expired - Fee Related JP2557595B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11874792A JP2557595B2 (en) 1992-05-12 1992-05-12 Photoelectric sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11874792A JP2557595B2 (en) 1992-05-12 1992-05-12 Photoelectric sensor

Publications (2)

Publication Number Publication Date
JPH05312507A JPH05312507A (en) 1993-11-22
JP2557595B2 true JP2557595B2 (en) 1996-11-27

Family

ID=14744059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11874792A Expired - Fee Related JP2557595B2 (en) 1992-05-12 1992-05-12 Photoelectric sensor

Country Status (1)

Country Link
JP (1) JP2557595B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4007965B2 (en) * 2004-01-29 2007-11-14 ホシデン株式会社 Object detection device
JP5865669B2 (en) * 2011-10-21 2016-02-17 アズビル株式会社 Photoelectric switch
CN114200534B (en) * 2021-12-09 2024-04-26 欧姆龙(上海)有限公司 Photoelectric sensor and control method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62207965A (en) * 1986-03-07 1987-09-12 Ishida Scales Mfg Co Ltd Automatic detector for power source frequency
JPH0290085A (en) * 1988-09-28 1990-03-29 Yamatake Honeywell Co Ltd Optoelectronic sensor

Also Published As

Publication number Publication date
JPH05312507A (en) 1993-11-22

Similar Documents

Publication Publication Date Title
US4764755A (en) Intruder detection system with false-alarm-minimizing circuitry
JP5865669B2 (en) Photoelectric switch
US5004908A (en) Reflection type photoelectric switch for detecting the presence of an object
JP4243824B2 (en) Interference light suppression method and measuring instrument
JPH06242240A (en) Distance measuring apparatus
JP2557595B2 (en) Photoelectric sensor
JPS63302314A (en) Photoelectric sensor
JPH01257227A (en) Photodetector
US4308531A (en) Light transmission type smoke detector
JPH0769422B2 (en) Pulse laser range finder
JP2544069B2 (en) Multi-optical axis photoelectric switch
JP3196975B2 (en) Photoelectric separated smoke detector
JPH06132802A (en) Multiple optical axis photoelectric switch
JP3835219B2 (en) Distance measuring device
JP3351901B2 (en) Photoelectric sensor
JP3196976B2 (en) Photoelectric separated smoke detector
JP2741981B2 (en) Object position detection device
JP3486223B2 (en) Distance measuring device
JPH0530697U6 (en) Ambient light countermeasure circuit
JPH0815446A (en) Photoelectric sensor
JP3093035B2 (en) Photoelectric separated smoke detector
JP2726098B2 (en) Multi-optical axis type photoelectric switch
JPH02285277A (en) Photoelectric switch equipped with mutual interference preventing function
JPS63263917A (en) Photoelectric switch
JPS6218028B2 (en)

Legal Events

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