JP2680977B2 - Photoelectric switch - Google Patents

Photoelectric switch

Info

Publication number
JP2680977B2
JP2680977B2 JP4319960A JP31996092A JP2680977B2 JP 2680977 B2 JP2680977 B2 JP 2680977B2 JP 4319960 A JP4319960 A JP 4319960A JP 31996092 A JP31996092 A JP 31996092A JP 2680977 B2 JP2680977 B2 JP 2680977B2
Authority
JP
Japan
Prior art keywords
light
output
pulse
detection
signal
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
JP4319960A
Other languages
Japanese (ja)
Other versions
JPH06169248A (en
Inventor
健司 松尾
Original Assignee
サンクス株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by サンクス株式会社 filed Critical サンクス株式会社
Priority to JP4319960A priority Critical patent/JP2680977B2/en
Publication of JPH06169248A publication Critical patent/JPH06169248A/en
Application granted granted Critical
Publication of JP2680977B2 publication Critical patent/JP2680977B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、周期的な投光パルスに
基いて投光素子に投光動作を行なわせる投光回路と、受
光素子により受光した信号を増幅回路を介して入力し前
記投光パルスに応じた同期信号に基いて同期検波を行う
受光回路とを有する光電スイッチに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a light projecting circuit for causing a light projecting element to carry out a light projecting operation based on a periodic light projecting pulse, and a signal received by a light receiving element is inputted via an amplifying circuit. The present invention relates to a photoelectric switch having a light receiving circuit that performs synchronous detection based on a synchronization signal corresponding to a light emitting pulse.

【0002】[0002]

【従来の技術】この種の光電スイッチは、投光パルスを
投光素子に与えてパルス光を出力させ、物体等による反
射光を受光素子により受け、その受光信号を増幅回路を
介して増幅して所定レベル以上あるときに物体の存在を
検出するようにしたもので、例えば、受光信号を投光パ
ルスと同期をとった同期信号に基いて同期検波すること
により、自己のパルス光に対する反射光を受光する構成
として、干渉光による誤検出を防止するようにしたもの
がある。
2. Description of the Related Art This type of photoelectric switch applies a light emitting pulse to a light emitting element to output pulsed light, receives light reflected by an object or the like by a light receiving element, and amplifies the light receiving signal through an amplifier circuit. The presence of an object is detected when there is a predetermined level or more, and for example, the reflected light with respect to its own pulsed light is detected by synchronously detecting the received light signal based on a synchronization signal synchronized with the light projection pulse. There is a structure for preventing erroneous detection due to interference light as a configuration for receiving the light.

【0003】この場合、投光パルスと単に同期をとるだ
けでは、その近傍に同様な光電スイッチが設置されてい
る場合に、その投光パルスの投光周期と略同じ投光周期
が設定されていると、その光電スイッチからのパルス光
を受光してしまうことになる。そこで、従来では、確実
に自己のパルス光による反射光を受光信号として検出す
るために、投光パルスの出力開始タイミングですでに受
光状態にあるときにはこれを干渉光であるとしてその投
光パルスの出力を中止し、次の投光パルスの出力を一定
の遅延時間だけ遅らせることが行われている。この場
合、遅延時間は、干渉光の受光時間を実測したときの時
間以上となるように設定する。
In this case, if the light emitting pulse is simply synchronized with the light emitting pulse, when a similar photoelectric switch is installed in the vicinity of the light emitting pulse, a light emitting cycle substantially the same as the light emitting cycle of the light emitting pulse is set. If so, the pulsed light from the photoelectric switch will be received. Therefore, in the prior art, in order to reliably detect the reflected light due to its own pulsed light as a received light signal, if it is already in the light receiving state at the output start timing of the projected light pulse, it is regarded as interference light and the projected light pulse The output is stopped and the output of the next light emitting pulse is delayed by a certain delay time. In this case, the delay time is set to be longer than the time when the reception time of the interference light is actually measured.

【0004】これにより、投光パルスの出力開始タイミ
ングで既に受光信号があるときには、それが干渉光であ
るとして投光パルスの出力を一定の遅延時間だけ遅らせ
るので、確実に干渉光の受光状態が終了した後に自己の
パルス光を出力することができ、投光周期が同程度に設
定されている他の光電スイッチが近傍に配置されている
場合でも、以降の投光パルスの出力状態がその光電スイ
ッチの投光周期とずれるようになるので、確実に、自己
の投光素子によるパルス光と同期して検出動作を行うこ
とができるようになるものである。
As a result, when the light receiving signal already exists at the output start timing of the light projecting pulse, the output of the light projecting pulse is delayed by a certain delay time, assuming that it is the interference light, so that the light receiving state of the interference light is surely achieved. After the end, it can output its own pulsed light, and even if another photoelectric switch with the same light emission cycle is placed in the vicinity, the output state of the subsequent light emission pulse is Since it is shifted from the light projection cycle of the switch, the detection operation can be surely performed in synchronization with the pulsed light from the own light projection element.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述の
ような光電スイッチにおいて、例えば、無人搬送車等の
衝突防止センサとして用いられるものでは、以下に示す
ような不具合がある。
However, in the photoelectric switch described above, for example, one used as a collision prevention sensor for an automated guided vehicle or the like, there are the following problems.

【0006】すなわち、無人搬送車は、床面等に描かれ
た軌道に沿って自動的に移動して部材等を運搬する際
に、進行方向に存在する障害物や人あるいは他の無人搬
送車との衝突を防止するために、進行方向の前面部に光
電スイッチを配設している。そして、事前にそれらの障
害物等を光電スイッチにより検知し、無人搬送車に検出
信号を与えて徐行運転あるいは運転停止する等の走行状
態の制御を行わせ、以て衝突事故を未然に防止するもの
である。
That is, the automatic guided vehicle is an automatic guided vehicle that automatically moves along a track drawn on the floor or the like to carry members and the like, and obstacles or people present in the traveling direction or other automatic guided vehicles. In order to prevent the collision with the, a photoelectric switch is arranged on the front face portion in the traveling direction. Then, the obstacles and the like are detected in advance by a photoelectric switch, and a detection signal is given to the automatic guided vehicle to control the traveling state such as the slow driving or the driving stop, thereby preventing a collision accident in advance. It is a thing.

【0007】ところで、一般に、工場内等においては多
数の無人搬送車を同時に使用する場合が多く、また、工
場内の各所を移動することから、光電スイッチには、工
場内の照明灯や他の無人搬送車に配設された光電スイッ
チからのパルス光等の様々な干渉光が頻繁に入射される
状態となる。つまり、このような状況下においても、光
電スイッチは、干渉光の受光期間を避けて確実に自己の
投光パルスによる反射光のみを受光して物体を検出しな
ければならない。
By the way, in general, a large number of unmanned guided vehicles are often used at the same time in a factory or the like, and each location in the factory is moved. Various interference light such as pulsed light from the photoelectric switch arranged in the automatic guided vehicle is frequently incident. That is, even in such a situation, the photoelectric switch must reliably receive only the reflected light by its own projection pulse and detect the object while avoiding the light receiving period of the interference light.

【0008】一方、干渉光はランダムに受光素子に入射
するので、投光パルスの出力開始タイミングにおいては
受光されている干渉光がいずれのタイミングで入射して
いる状態であるかは不定である。そこで、光電スイッチ
においては、そのときの投光パルスの出力を上述のよう
に設定した一定時間だけ遅延させることにより、確実に
干渉光の受光状態が終了した時点で行われるようにして
いる。
On the other hand, since the interference light randomly enters the light receiving element, it is uncertain at which timing the received interference light enters at the output start timing of the light projection pulse. Therefore, in the photoelectric switch, the output of the light projection pulse at that time is delayed by the fixed time set as described above, so that the light output is performed when the light receiving state of the interference light is surely ended.

【0009】しかしながら、これでは、投光パルスの出
力開始タイミングで終了間際の干渉光が検出された場合
でも、次の投光パルスの出力開始タイミングが一定の遅
延時間だけ遅延されるので、干渉光の受光期間が終了し
た直後から遅延時間が終了するまでの時間が動作されな
い無駄な時間として経過してしまうことになる。したが
って、このような光電スイッチでは、頻繁に入射する干
渉光の合間をぬって自己の投光パルスによる反射光を検
出しようとする場合に、干渉光のない期間を有効に利用
することができなくなり、検出が遅れたり誤検出をして
しまう等で干渉防止率が低下してしまう不具合がある。
However, in this case, even if the interference light which is just before the end of the output of the light projection pulse is detected, the output start timing of the next light projection pulse is delayed by a certain delay time, so that the interference light is delayed. The time from immediately after the end of the light receiving period to the end of the delay time elapses as a wasteful time in which no operation is performed. Therefore, in such a photoelectric switch, when it is attempted to detect the reflected light due to its own light-emitting pulse while passing through the intervals of frequently incident interference light, it becomes impossible to effectively use the period without interference light. However, there is a problem that the interference prevention rate is lowered due to delay in detection or erroneous detection.

【0010】本発明は、上記事情に鑑みてなされたもの
で、その目的は、干渉光が頻繁に入射する場合でも、そ
れらの干渉光の合間の期間を有効に利用して確実に干渉
防止を図って検出動作を行うことができる光電スイッチ
を提供するにある。
The present invention has been made in view of the above circumstances, and an object thereof is to reliably prevent interference by effectively utilizing a period between the interference lights even when the interference lights frequently enter. Another object of the present invention is to provide a photoelectric switch capable of performing a detecting operation.

【0011】[0011]

【課題を解決するための手段】本発明は、投光制御手段
から与えられる周期的な投光パルスに基いて投光素子に
投光動作を行なわせる投光回路と、受光素子により受光
した信号を増幅回路を介して入力し前記投光パルスに応
じた同期信号に基いて同期検波を行う受光手段と、この
受光手段の出力信号に基づいて受光状態検出の判定を行
なう判定手段とを有する光電スイッチを対象とするもの
であり、前記増幅回路からの出力のうち所定レベル以上
の正の信号を検出して前記投光制御手段に入力する第1
の検出回路と、前記増幅回路からの出力のうち所定レベ
ル以上の負の信号を検出して前記投光制御手段に入力す
る第2の検出回路とを設け、前記投光制御手段を、前記
投光パルスの出力開始タイミングにおいて前記第1の検
出回路が検出信号を出力しているときにはそのときの投
光パルスの出力を停止すると共に第1の遅延時間だけ遅
延させて投光パルスを出力し、前記投光パルスの出力開
始タイミングにおいて前記第2の検出回路が検出信号を
出力しているときにはそのときの投光パルスの出力を停
止すると共に前記第1の遅延時間よりも短い第2の遅延
時間だけ遅延させて投光パルスを出力するように構成し
たところに特徴を有する。
According to the present invention, a light projecting circuit for causing a light projecting element to carry out a light projecting operation based on a periodic light projecting pulse given from a light projecting control means, and a signal received by a light receiving element. light receiving means for performing synchronous detection based on the through the amplifier circuit and the input synchronizing signal corresponding to the light projection pulse, the
Based on the output signal of the light receiving means, the light receiving state detection is judged.
A first object of the present invention is to detect a positive signal of a predetermined level or more among the outputs from the amplifier circuit and input it to the light emission control means.
And a second detection circuit for detecting a negative signal of a predetermined level or more out of the output from the amplifier circuit and inputting it to the light projecting control means. When the first detection circuit is outputting the detection signal at the output start timing of the light pulse, the output of the light projection pulse at that time is stopped and the light projection pulse is output with a delay of the first delay time, When the second detection circuit is outputting the detection signal at the output start timing of the light projection pulse, the output of the light projection pulse at that time is stopped and the second delay time shorter than the first delay time It is characterized in that it is configured to output a light projection pulse with a delay only.

【0012】[0012]

【作用】本発明の光電スイッチによれば、投光パルスの
出力開始タイミングにおいて、投光制御手段は、第1の
検出回路が正の信号を出力しているときには、そのとき
の投光パルスの出力を停止すると共に第1の遅延時間だ
け遅延させて投光パルスを出力するようになり、第2の
検出回路が負の信号を出力しているときには、そのとき
の投光パルスの出力を停止すると共に第2の遅延時間だ
け遅延させて投光パルスを出力するようになる。
According to the photoelectric switch of the present invention, at the output start timing of the light emitting pulse, when the first detecting circuit is outputting a positive signal, the light emitting control means outputs the light emitting pulse at that time. When the output is stopped and the light emitting pulse is output with a delay of the first delay time, and the second detection circuit outputs a negative signal, the output of the light emitting pulse at that time is stopped. At the same time, the light projection pulse is output with a delay of the second delay time.

【0013】この場合、まず、投光パルスの出力開始タ
イミングにおいては、これから投光しようとする光によ
る反射光がまだ受光素子に到達していないので、そのタ
イミングで第1の検出回路あるいは第2の検出回路が信
号を出力するのは、自己の投光素子以外からの干渉光を
受光していることになる。そして、受光素子により受け
られた光が増幅回路を介して増幅されると、その出力信
号の前半は正の信号として出力され、後半は負の信号と
して出力されるので、増幅回路から出力される干渉光に
対応する信号のレベルが受光状態を呈する所定レベルに
達しているときには第1および第2の検出回路のそれぞ
れから順次正の信号および負の信号が出力されることに
なる。
In this case, first, at the output start timing of the light projection pulse, since the reflected light due to the light to be projected has not yet reached the light receiving element, the first detection circuit or the second detection circuit is set at that timing. The detection circuit of (1) outputs a signal because it receives interference light from other than its own light projecting element. When the light received by the light receiving element is amplified through the amplifier circuit, the first half of the output signal is output as a positive signal and the second half is output as a negative signal, and thus is output from the amplifier circuit. When the level of the signal corresponding to the interference light has reached the predetermined level for exhibiting the light receiving state, the positive signal and the negative signal are sequentially output from each of the first and second detection circuits.

【0014】したがって、投光パルスの出力開始タイミ
ングで第1の検出回路から正の信号が出力されていると
きには、増幅回路の出力が干渉光の前半に対応している
ことを示しており、その干渉光が終了するまでの第1の
遅延時間だけ投光パルスの出力開始タイミングが遅延さ
れるのである。同様にして、投光パルスの出力開始タイ
ミングで第2の検出回路から負の信号が出力されている
ときには、増幅回路の出力が干渉光の後半に対応してい
ることを示しているので、その干渉光の後半が終了する
までの時間として第1の遅延時間よりも短い第2の遅延
時間だけ投光パルスの出力開始タイミングが遅延される
のである。
Therefore, when the positive signal is output from the first detection circuit at the output start timing of the light projection pulse, it indicates that the output of the amplifier circuit corresponds to the first half of the interference light. The output start timing of the light projection pulse is delayed by the first delay time until the interference light ends. Similarly, when a negative signal is output from the second detection circuit at the output start timing of the light projection pulse, it indicates that the output of the amplification circuit corresponds to the latter half of the interference light. As the time until the latter half of the interference light ends, the output start timing of the light projection pulse is delayed by the second delay time which is shorter than the first delay time.

【0015】これにより、受光手段において投光パルス
に応じた同期信号に基づいて同期検波を行なうことによ
り得られる出力信号に基づいて判定手段により受光状態
の判定を行なうことができ、しかもこのときに、上述の
ように動作するから投光パルスの出力開始タイミングが
不必要に遅延されることがなくなり、干渉光が受光素子
に入射されない期間を有効に利用して確実な検出動作を
行なうことができ、総じて干渉防止率の向上を図ること
ができる。
As a result, the light emitting means emits a light emitting pulse.
By performing synchronous detection based on the synchronous signal according to
Based on the output signal obtained
Can be determined, and at this time,
Since the output start timing of the light projection pulse is not unnecessarily delayed, it is possible to make effective use of the period during which the interfering light is not incident on the light receiving element for reliable detection operation. The prevention rate can be improved.

【0016】以下、本発明を衝突防止センサに適用した
場合の第1の実施例について図1ないし図4を参照しな
がら説明する。電気的構成の概略を示す図1において、
投光素子としての発光ダイオード1は、端子間に接続さ
れた投光回路2から駆動電流が与えられるようになって
おり、検出エリアに向けてパルス光を出力する。投光回
路2は、制御回路3から設定された投光周期で投光パル
スSpが与えられるようになっており、その投光パルス
Spに基づいて発光ダイオード1に与える駆動電流を生
成するようになっている。制御回路3は、CPU,RO
MおよびRAM等が内蔵された例えば1チップマイクロ
コンピュータからなるもので、後述する検出プログラム
があらかじめ記憶され、本発明でいうところの受光手
段,判定手段および投光制御手段としての機能を兼ね備
えている。
A first embodiment in which the present invention is applied to a collision prevention sensor will be described below with reference to FIGS. 1 to 4. In FIG. 1 showing the outline of the electrical configuration,
A light emitting diode 1 as a light projecting element is adapted to be supplied with a drive current from a light projecting circuit 2 connected between terminals, and outputs pulsed light toward a detection area. The light projecting circuit 2 is provided with a light projecting pulse Sp at a light projecting cycle set by the control circuit 3, and generates a drive current to be given to the light emitting diode 1 based on the light projecting pulse Sp. Has become. The control circuit 3 includes a CPU and RO
Those M and RAM or the like comprising a built-in example 1-chip microcomputer, described below detection program is stored in advance, receiving the hand referred to in the present invention
It also has the functions of a step, a determination means, and a light emission control means.

【0017】受光素子としてのフォトダイオード4は、
検出エリアからの光を受けて電気信号としての受光信号
に変換するもので、出力端子間に接続された増幅回路5
に受光信号を与えるようになっている。増幅回路5は、
フォトダイオード4からの受光信号を増幅し、その増幅
出力Soを第1および第2の検出回路としての正信号検
出回路6および負信号検出回路7に与えるようになって
いる。
The photodiode 4 as a light receiving element is
It receives light from the detection area and converts it into a received light signal as an electric signal, and an amplifier circuit 5 connected between the output terminals.
A light receiving signal is given to. The amplifier circuit 5
The received light signal from the photodiode 4 is amplified and its amplified output So is given to the positive signal detection circuit 6 and the negative signal detection circuit 7 as the first and second detection circuits.

【0018】正信号検出回路6は、増幅回路5から与え
られた増幅出力Soの大きさが、設定されている正の所
定レベルを超えたときに正の信号として、「H」レベル
の検出信号Saを出力するもので、その出力端子は制御
回路3の入力端子Aに接続されている。負信号検出回路
7は、増幅回路5から与えられた増幅出力Soの大きさ
が、設定されている負の所定レベルを下回るときに負の
信号として、「H」レベルの信号Sbを出力するもの
で、その出力端子は制御回路3の入力端子Bに接続され
ている。
The positive signal detection circuit 6 detects the "H" level detection signal as a positive signal when the magnitude of the amplified output So given from the amplification circuit 5 exceeds a preset positive level. It outputs Sa, and its output terminal is connected to the input terminal A of the control circuit 3. The negative signal detection circuit 7 outputs an “H” level signal Sb as a negative signal when the magnitude of the amplified output So given from the amplification circuit 5 falls below a preset negative predetermined level. The output terminal is connected to the input terminal B of the control circuit 3.

【0019】制御回路3は、正信号検出回路6および負
信号検出回路7のそれぞれから与えられる検出信号S
a,Sbに基づいて後述するようにして物体の検出およ
び干渉光の判断を行うようになっており、物体の検出を
判断したときには出力端子に接続された出力回路8を介
して外部出力端子Pに物体検出信号Sxを出力するよう
になっている。
The control circuit 3 has a detection signal S supplied from each of the positive signal detection circuit 6 and the negative signal detection circuit 7.
The object detection and the interference light determination are performed based on a and Sb as will be described later. When the object detection is determined, the external output terminal P is connected via the output circuit 8 connected to the output terminal. The object detection signal Sx is output to.

【0020】次に、本実施例の作用について、図2およ
び図3に示すプログラムのフローチャートおよび図4に
示すタイムチャートをも参照し、(1)干渉光がない場
合の検出動作および(2)干渉光がある場合の干渉防止
動作に分けて説明する。
Next, referring to the flow charts of the programs shown in FIGS. 2 and 3 and the time chart shown in FIG. 4, the operation of the present embodiment will be described. (1) Detection operation in the absence of interference light and (2) The interference prevention operation when there is interference light will be described separately.

【0021】(1)干渉光がない場合の検出動作 制御回路3は、図2および図3に示す検出プログラムに
したがって検出動作を行うもので、図示しない電源から
給電されると、プログラムを開始(スタート)し、ま
ず、ステップP1にて初期化処理を行い、続いてステッ
プP2に移行して内部に設定されたタイマ1にあらかじ
め設定された投光周期T0をセットするようになる。
(1) Detection operation when there is no interference light The control circuit 3 performs a detection operation according to the detection program shown in FIGS. 2 and 3, and starts the program when power is supplied from a power source (not shown). First, the initialization process is performed in step P1, and then the process proceeds to step P2 to set a preset light projection period T0 in the internally set timer 1.

【0022】次に、制御回路3は、ステップP3におい
てタイマ1をスタートさせ、ステップP4にてタイマ1
の設定時間としての投光周期T0が経過するのを待って
ステップP5に移行し、投光パルスSpを投光回路2に
出力するようになる。これにより、投光回路2は、与え
られた投光パルスSpに基づいて発光ダイオード1に駆
動電流を与えるようになり、発光ダイオード1は検出エ
リアに向けてパルス光を出力するようになる。
Next, the control circuit 3 starts the timer 1 in step P3 and starts the timer 1 in step P4.
After waiting for the light projecting cycle T0 as the set time of (1) to proceed to Step P5, the light projecting pulse Sp is output to the light projecting circuit 2. As a result, the light projecting circuit 2 applies a drive current to the light emitting diode 1 based on the applied light projecting pulse Sp, and the light emitting diode 1 outputs pulsed light toward the detection area.

【0023】このとき、制御回路3は、ステップP6あ
るいは続くステップP7において、正信号検出回路6あ
るいは負信号検出回路7から検出信号SaあるいはSb
が出力されているか否かを判断する。いま、例えば、干
渉光が入射されていない場合には、図4(a)の左端部
分に示すように、増幅回路5からの増幅出力Soは、1
番目の投光パルスSp1の出力開始タイミングで出力さ
れていないので、同図(b),(c)に示すように、検
出信号Sa,Sbも出力されていない。
At this time, the control circuit 3 detects the detection signal Sa or Sb from the positive signal detection circuit 6 or the negative signal detection circuit 7 in step P6 or the following step P7.
Is output. Now, for example, when the interference light is not incident, the amplified output So from the amplifier circuit 5 is 1 as shown in the left end portion of FIG.
Since the second projection pulse Sp1 is not output at the output start timing, the detection signals Sa and Sb are also not output as shown in FIGS.

【0024】なお、この場合には、発光ダイオード1か
ら出力されたパルス光の反射光がフォトダイオード4に
入射されている状態であり、1番目の投光パルスSp1
の出力開始タイミングから少し遅れて増幅回路5からの
増幅出力Soが現れており、これに対応して正信号検出
回路6および負信号検出回路7から「H」レベルの検出
信号Sa,Sbが順次出力されている。つまり、発光ダ
イオード1のパルス光に対して物体からの反射光が入射
される場合には、投光から受光までの受光遅れ時間Δt
が経過した後となるのである。
In this case, the reflected light of the pulsed light output from the light emitting diode 1 is incident on the photodiode 4, and the first light projection pulse Sp1 is generated.
The amplified output So from the amplifying circuit 5 appears a little later than the output start timing of 1., and in response to this, the positive signal detecting circuit 6 and the negative signal detecting circuit 7 sequentially output the detection signals Sa and Sb of "H" level. It is being output. That is, when the reflected light from the object is incident on the pulsed light of the light emitting diode 1, the light reception delay time Δt from the light projection to the light reception.
It will be after the passage of.

【0025】これにより、制御回路3は、ステップP6
およびP7でいずれも「NO」と判断してステップP8
に進み、内部に設けられたタイマ2に受光遅れ時間Δt
を設定した後、ステップP9,P10にてタイマ2をス
タートさせて受光遅れ時間Δtが経過するのを待つよう
になる。この後、制御回路3は、ステップP11に移行
して正の受光信号があるか否かを判断する。すなわち、
制御回路3は、正信号検出回路6からの「H」レベルの
検出信号Saが入力端子Aに入力されているか否かを判
断するもので、「YES」と判断したときにはステップ
P12に進んで出力回路8を介して物体検出信号Sxを
出力し、「NO」と判断したときにはステップP13に
進んで物体検出信号Sxの出力を停止するようになる。
As a result, the control circuit 3 causes the step P6.
And P7 both determine "NO" and step P8
To the timer 2 provided inside, and the light receiving delay time Δt
After setting, the timer 2 is started in steps P9 and P10 to wait for the light receiving delay time Δt to elapse. After that, the control circuit 3 proceeds to step P11 to determine whether or not there is a positive light reception signal. That is,
The control circuit 3 determines whether or not the "H" level detection signal Sa from the positive signal detection circuit 6 is input to the input terminal A. When the control circuit 3 determines "YES", it proceeds to step P12 and outputs. The object detection signal Sx is output via the circuit 8, and when it is determined to be "NO", the process proceeds to step P13 to stop the output of the object detection signal Sx.

【0026】この場合、例えば、図4の左端に示すよう
に、1番目の投光パルスSp1により発光ダイオード1
から出力されたパルス光が物体により反射されてその反
射光がフォトダイオード4に入射する場合には、上述の
ように、投光パルスSp1の出力開始タイミングから受
光遅れ時間Δtが経過した後に正信号検出回路6から検
出信号Saが出力されるので、制御回路3により、ステ
ップP11にて「YES」と判断され、物体検出信号S
xが出力回路8に出力されるのである。
In this case, for example, as shown at the left end of FIG. 4, the light emitting diode 1 is driven by the first light projecting pulse Sp1.
When the pulsed light output from the object is reflected by the object and the reflected light is incident on the photodiode 4, as described above, the positive signal is generated after the light receiving delay time Δt has elapsed from the output start timing of the light projecting pulse Sp1. Since the detection signal Sa is output from the detection circuit 6, the control circuit 3 determines “YES” in step P11, and the object detection signal S
x is output to the output circuit 8.

【0027】制御回路3は、ステップP12あるいはP
13を経た後、ステップP14に移行して1番目の投光
パルスSp1の出力を停止し、この後ステップP2に戻
り、以下、上述と同様にしてステップP2ないしP14
を繰り返すことにより2番目の投光パルスSp2を出力
して検出動作を継続するようになる。
The control circuit 3 executes the step P12 or P
After passing 13, the process proceeds to step P14 to stop the output of the first light projecting pulse Sp1, and then returns to step P2, and thereafter, in the same manner as described above, steps P2 to P14.
By repeating the above, the second light projection pulse Sp2 is output and the detection operation is continued.

【0028】(2)干渉光に対する干渉防止動作 さて、このような検出動作を行っているときに、外部か
ら干渉光がフォトダイオード4に入射する場合には、制
御回路3は次のようにして干渉防止動作を行うようにな
る。いま、図4(a)に示すように、3番目の投光パル
スSp3の出力開始タイミングにおいて、増幅回路5の
出力が正の信号となる干渉光Aが入射している場合、お
よびこれに続いて4番目の投光パルスSp4の出力開始
タイミングで増幅回路5の出力が負の信号となる干渉光
Bが入射している場合を例にとって説明する。
(2) Interference prevention operation against interference light When the interference light is incident on the photodiode 4 from the outside during the detection operation as described above, the control circuit 3 performs the following operation. Interference prevention operation comes to be performed. Now, as shown in FIG. 4A, when the interference light A whose output is a positive signal is incident at the output start timing of the third light projection pulse Sp3, and subsequently to this An example will be described in which the interference light B whose output is a negative signal is incident at the output start timing of the fourth light projection pulse Sp4.

【0029】すなわち、制御回路3は、3番目の投光パ
ルスSp3の出力開始タイミングで、干渉光Aが入射さ
れている場合には、正信号検出回路6から「H」レベル
の検出信号Saが入力端子Aに与えられるので、ステッ
プP6で「YES」と判断してステップP15(図3参
照)に移行するようになる。このステップP15にて、
制御回路3は、投光パルスSpの投光周期Tを、ステッ
プP1にて設定した投光周期T0に第1の遅延時間とし
ての遅延時間tを加算した新たな投光周期T1(=T0
+t)として設定する。
That is, the control circuit 3 outputs the "H" level detection signal Sa from the positive signal detection circuit 6 when the interference light A is incident at the output start timing of the third light projection pulse Sp3. Since it is given to the input terminal A, it is determined to be "YES" in step P6 and the process proceeds to step P15 (see FIG. 3). In this step P15,
The control circuit 3 adds a new light projecting cycle T1 (= T0) to the light projecting cycle T of the light projecting pulse Sp by adding the light projecting cycle T0 set in step P1 with the delay time t as the first delay time.
+ T).

【0030】続いて、制御回路3は、ステップP16に
移行し、ステップP15で設定した新たな投光周期T1
が上限値Tmaxを超えていないか否かを判断し、超え
ていない場合には「NO」と判断してステップP17に
進み、ここでステップP5にて出力を始めた3番目の投
光パルスSp3を停止するようになる。尚、このとき一
瞬ではあるが細いひげ状の投光パルスSp3が制御回路
3から出力されるが、しかし、実際には投光回路2及び
投光素子1の応答遅れによって投光素子1は発光せず、
他の光電スイッチに対して干渉光となるようなパルス光
が送出されることはない。制御回路3は、続くステップ
P18にて新たに設定した投光周期T1を記憶し、続い
てステップP19にて内部のタイマ3に遅延時間tを設
定する。そして、制御回路3は、ステップP20,P2
1にてタイマ3をスタートさせると共にタイマ時間であ
る遅延時間tが経過するのを待ち、この後ステップP5
に戻るようになる。
Subsequently, the control circuit 3 shifts to step P16, and the new projection period T1 set in step P15 is set.
Does not exceed the upper limit value Tmax. If it does not exceed the upper limit value Tmax, the determination is “NO”, the process proceeds to step P17, where the third light-emission pulse Sp3 started to be output in step P5. Will come to a stop. At this time,
A thin whisker-shaped light emitting pulse Sp3 is a control circuit
However, in reality, the light projecting circuit 2 and
Due to the response delay of the light projecting element 1, the light projecting element 1 does not emit light,
Pulsed light that becomes interference light with other photoelectric switches
Is never sent. The control circuit 3 stores the newly set light projecting period T1 in the following step P18, and subsequently sets the delay time t in the internal timer 3 in step P19. Then, the control circuit 3 performs steps P20 and P2.
The timer 3 is started at 1 and the delay time t, which is the timer time, is waited for, and then step P5
Will come back to.

【0031】これにより、図4(d)に示すように、4
番目の投光パルスSp4は、干渉光Aが検出された時点
から遅延時間tが経過した後まで出力が遅延されるよう
になる。なお、このとき設定される遅延時間tは、干渉
光の受光時間を実測してそれらの受光時間に相当する時
間以上となるようにあらかじめ設定された値で、この遅
延時間tが経過してから4番目の投光パルスSp4を出
力すれば干渉光Aの受光期間が終了しており、他の干渉
光が入射されていなければ支障なく検出動作が行える。
As a result, as shown in FIG.
The output of the th projection pulse Sp4 is delayed from the time when the interference light A is detected until the delay time t elapses. The delay time t set at this time is a value set in advance so as to be equal to or longer than a time corresponding to the light receiving time of the interference light by actually measuring the light receiving time of the interference light, and after the delay time t elapses. When the fourth light projection pulse Sp4 is output, the light receiving period of the interference light A has ended, and the detection operation can be performed without any trouble if no other interference light is incident.

【0032】さて、制御回路3は、ステップP5に戻っ
た後、前述同様にして検出動作を行うようになるが、ス
テップP5ないしP14を経て再びステップP2に戻っ
たときに、タイマ1にセットする投光周期の値は、ステ
ップP18にて記憶された新たな投光周期T1(=T0
+t)である。つまり、以降の検出動作においては、投
光周期T1にて投光動作が行われるようになるのであ
る。
After returning to step P5, the control circuit 3 performs the detection operation in the same manner as described above, but when it returns to step P2 through steps P5 to P14, it sets it in the timer 1. The value of the light projection period is the new light projection period T1 (= T0 stored in step P18).
+ T). That is, in the subsequent detection operation, the light projecting operation is performed at the light projecting cycle T1.

【0033】次に、干渉光Bがフォトダイオード4に入
射した場合、つまり、5番目の投光パルスSp5が出力
された時点で、既に干渉光Bによる増幅回路5の出力期
間が半分以上経過して負の信号に変化している場合に
は、制御回路3は、負信号検出回路7から検出信号Sb
が入力されていることから、ステップP7にて「YE
S」と判断してステップP22に移行するようになる。
ここで、制御回路3は、新たな投光周期T2として、そ
のときの投光周期T1に第2の遅延時間としての遅延時
間0.5tを加算した時間T2(=T1+0.5t)に
設定する。
Next, when the interference light B is incident on the photodiode 4, that is, when the fifth light projection pulse Sp5 is output, the output period of the amplification circuit 5 by the interference light B has already exceeded half. If it has changed to a negative signal, the control circuit 3 causes the negative signal detection circuit 7 to detect the detection signal Sb.
Has been input, the "YE
When it is determined to be "S", the process proceeds to step P22.
Here, the control circuit 3 sets a new light projecting cycle T2 to a time T2 (= T1 + 0.5t) obtained by adding a delay time 0.5t as a second delay time to the current projecting cycle T1. .

【0034】続いて、制御回路3は、ステップP23に
移行し、ステップP22で設定した新たな投光周期T2
が上限値Tmaxを超えていないか否かを判断し、超え
ていない場合には「NO」と判断してステップP24に
進み、ここでステップP5にて出力を始めた5番目の投
光パルスSp5の出力を停止するようになる。制御回路
3は、続くステップP25にて新たに設定した投光周期
T2(=T1+0.5t)を記憶し、続いてステップP
26にて内部のタイマ3に遅延時間0.5tを設定す
る。そして、制御回路3は、ステップP20,P21に
てタイマ3をスタートさせると共にタイマ時間である遅
延時間0.5tが経過するのを待ち、この後ステップP
5に戻るようになる。
Subsequently, the control circuit 3 shifts to step P23, and the new light projecting period T2 set in step P22 is set.
Does not exceed the upper limit value Tmax. If it does not exceed the upper limit value Tmax, the determination is “NO” and the process proceeds to step P24, where the fifth light-emission pulse Sp5 started to be output in step P5. The output of will be stopped. The control circuit 3 stores the projection cycle T2 (= T1 + 0.5t) newly set in the following step P25, and then, the step P25.
At 26, a delay time of 0.5 t is set in the internal timer 3. Then, the control circuit 3 starts the timer 3 in steps P20 and P21 and waits for the delay time 0.5t, which is the timer time, to elapse, and then, in step P20.
I will come back to 5.

【0035】これにより、図4(d)に示すように、6
番目の投光パルスSp6は、干渉光Bが検出された時点
から遅延時間0.5tが経過した後まで出力が遅延され
るようになる。このときの遅延時間0.5tは、前述の
遅延時間tの半分の時間つまり干渉光の受光時間の実測
値の最大の値の半分以上に相当する時間であり、これ
は、増幅回路5を介して出力される増幅出力Soが負の
信号に変化してから受光期間が終了するまでの時間とし
て設定された値で、この遅延時間0.5tが経過してか
ら6番目の投光パルスSp6を出力すれば干渉光Bの受
光期間が終了しており、他の干渉光が入射されていなけ
れば支障なく検出動作が行える。
As a result, as shown in FIG.
The output of the th light projection pulse Sp6 is delayed from the time when the interference light B is detected until a delay time of 0.5 t elapses. The delay time 0.5t at this time is half the above-mentioned delay time t, that is, a time corresponding to a half or more of the maximum value of the actual measurement value of the light reception time of the interference light. Is a value set as the time from when the amplified output So output as a negative signal changes to a negative signal to when the light receiving period ends, and the sixth light emitting pulse Sp6 is generated after the delay time 0.5t elapses. If it outputs, the light receiving period of the interference light B has ended, and if no other interference light is incident, the detection operation can be performed without trouble.

【0036】さて、制御回路3は、ステップP5に戻っ
た後、前述同様にして検出動作を行うようになるが、ス
テップP5ないしP14を経て再びステップP2に戻っ
たときに、タイマ1にセットする投光周期の値は、ステ
ップP15にて記憶された新たな投光周期T2(=T1
+0.5t)である。つまり、以降の検出動作において
は、投光周期T2にて投光パルスSpが出力されるよう
になる。
After returning to step P5, the control circuit 3 performs the detection operation in the same manner as described above, but when it returns to step P2 through steps P5 to P14, it sets it in the timer 1. The value of the light projection period is the new light projection period T2 (= T1) stored in step P15.
+ 0.5t). That is, in the subsequent detection operation, the light projection pulse Sp is output at the light projection cycle T2.

【0037】また、干渉光Aあるいは干渉光Bが検出さ
れた場合に、ステップP15あるいはP22にて設定し
た新たな投光周期T1あるいはT2が、投光周期Tの上
限値として設定されているTmaxを超えてしまう場合
には、制御回路3は、ステップP16あるいはP23に
て「YES」と判断してステップP27に移行するよう
になる。そして、制御回路3は、ステップP27におい
て、投光周期Tをあらかじめ設定されている最小の投光
周期Tminに設定し、続くステップP28にてその最
小の投光周期Tminを記憶してステップP8に戻り、
以下、前述と同様にして検出動作を行うようになる。こ
れにより、再び、投光周期Tを短い時間に設定した状態
から始めるので、干渉光が検出される毎に投光周期Tが
長く設定される場合でも、無限に投光周期Tが長くなる
ことがなくなる。
When the interference light A or the interference light B is detected, the new projection period T1 or T2 set in step P15 or P22 is set as the upper limit value of the projection period T, Tmax. If it exceeds, the control circuit 3 determines “YES” in step P16 or P23 and proceeds to step P27. Then, in step P27, the control circuit 3 sets the light projection period T to the preset minimum light projection period Tmin, stores the minimum light projection period Tmin in the subsequent step P28, and proceeds to step P8. return,
After that, the detection operation is performed in the same manner as described above. As a result, the light projecting cycle T starts again from the state where the light projecting cycle T is set to a short time. Therefore, even when the light projecting cycle T is set to be long each time the interference light is detected, the light projecting cycle T becomes infinitely long. Disappears.

【0038】このような本実施例によれば、正信号検出
回路6および負信号検出回路7を設け、制御回路3によ
り、投光パルスSpの出力開始タイミングでこれら検出
回路6および7からの信号を入力して、その検出信号に
応じてそのときの投光パルスSpの出力開始タイミング
を遅延時間t遅らせたりあるいは遅延時間0.5t遅ら
せると共に、以降の投光周期Tをそのときの遅延時間t
あるいは0.5tだけ加算した新たな投光周期に設定す
るようにしたので、入射した干渉光の状態に応じて必要
最小限の時間だけ遅延させてから検出動作を行うことが
でき、したがって、干渉光が頻繁に入射する使用環境に
おいても不必要に長く待機することなく、干渉光がとぎ
れる合間を捕らえて迅速且つ確実に検出動作を行うこと
ができ、総じて干渉防止率を向上させることができる。
According to the present embodiment as described above, the positive signal detection circuit 6 and the negative signal detection circuit 7 are provided, and the control circuit 3 outputs signals from these detection circuits 6 and 7 at the output start timing of the light projection pulse Sp. In response to the detection signal, the output start timing of the light projection pulse Sp at that time is delayed by delay time t or delay time 0.5t, and the subsequent light projection cycle T is delayed by the delay time t at that time.
Alternatively, the new projection period is set by adding 0.5t, so that the detection operation can be performed after delaying the required minimum time according to the state of the incident interference light. Even in a use environment in which light is frequently incident, it is possible to catch a gap between the interference lights and perform a detection operation quickly and reliably without waiting unnecessarily long, and it is possible to improve the interference prevention rate as a whole.

【0039】図5は本発明の第2の実施例を示すもの
で、以下、第1の実施例と異なる部分について説明す
る。すなわち、このものは、第1の実施例において、投
光パルスSpの出力開始タイミングで干渉光が検出され
る毎に検出信号SaあるいはSbに対応して投光周期T
をtあるいは0.5tだけ長くして以降の投光動作を行
わせているのを、干渉光が検出されないときには投光周
期Tを短くしていくことにより、常に投光周期を変動さ
せるように構成しているところが異なる。
FIG. 5 shows a second embodiment of the present invention. Hereinafter, parts different from the first embodiment will be described. That is, in the first embodiment, this is the light projecting period T corresponding to the detection signal Sa or Sb every time the interference light is detected at the output start timing of the light projecting pulse Sp.
Is increased by t or 0.5t to perform the subsequent light projecting operation. When the interference light is not detected, the light projecting cycle T is shortened so that the light projecting cycle is constantly changed. The configuration is different.

【0040】本実施例における制御回路3は、投光パル
スSpの出力開始タイミングで正信号検出回路6から検
出信号Saあるいは負信号検出回路7から検出信号Sb
が入力されない場合、つまり、干渉光が検出されていな
い場合には、そのときの投光周期Tを時間taだけ短く
した新たな投光周期T(=T−ta)として設定するよ
うになっている。
In the control circuit 3 of this embodiment, the positive signal detection circuit 6 detects the detection signal Sa or the negative signal detection circuit 7 detects the detection signal Sb at the output start timing of the light projection pulse Sp.
Is not input, that is, when the interference light is not detected, the projection cycle T at that time is set as a new projection cycle T (= T-ta) shortened by the time ta. There is.

【0041】そして、投光パルスSpの出力開始タイミ
ングで検出信号Saが入力されている場合には、制御回
路3は、投光パルスSpをただちに停止すると共に第1
の遅延時間として前述の時間taを3倍した遅延時間3
taだけ次の投光パルスSpの出力開始タイミングを遅
延させ、さらに、それまでの投光周期Tに遅延時間3t
aを加えた新たな投光周期T(=T+3ta)を設定す
る。
When the detection signal Sa is input at the output start timing of the light projecting pulse Sp, the control circuit 3 immediately stops the light projecting pulse Sp and outputs the first signal.
Delay time 3 which is obtained by multiplying the above-mentioned time ta by 3
The output start timing of the next light projection pulse Sp is delayed by ta, and the delay time 3t is added to the projection cycle T up to that point.
A new light projection period T (= T + 3ta) to which a is added is set.

【0042】また、投光パルスSpの出力開始タイミン
グで検出信号Sbが入力されている場合には、制御回路
3は、投光パルスSpをただちに停止すると共に第2の
遅延時間として前述の時間taを2倍した遅延時間2t
aだけ次の投光パルスSpの出力開始タイミングを遅延
させ、さらに、それまでの投光周期Tに遅延時間2ta
を加えた新たな投光周期T(=T+2ta)を設定する
ようになっている。なお、このときの遅延時間3taは
第1の実施例における第1の遅延時間に相当する遅延時
間tに対応する値としてあらかじめ設定されている。
When the detection signal Sb is input at the output start timing of the light projecting pulse Sp, the control circuit 3 immediately stops the light projecting pulse Sp, and the above-mentioned time ta as the second delay time. Delay time 2t
The output start timing of the next light emitting pulse Sp is delayed by a, and the delay time 2ta is added to the light emitting cycle T until then.
A new projection period T (= T + 2ta) is added. The delay time 3ta at this time is preset as a value corresponding to the delay time t corresponding to the first delay time in the first embodiment.

【0043】このような構成とすることにより、例えば
図5に示すように、1番目の投光パルスSp1の出力開
始タイミングで干渉光が検出されないとき、つまり、正
信号検出回路6および負信号検出回路7のいずれからも
検出信号SaあるいはSbが出力されていないときに
は、制御回路3は、次回以降の投光周期Tを時間taだ
け短くした新たな投光周期T1に設定する。
With such a configuration, as shown in FIG. 5, for example, when the interference light is not detected at the output start timing of the first light projection pulse Sp1, that is, the positive signal detection circuit 6 and the negative signal detection are performed. When none of the circuits 7 outputs the detection signal Sa or Sb, the control circuit 3 sets a new light projection cycle T1 in which the next and subsequent light projection cycles T are shortened by the time ta.

【0044】そして、投光周期T1が経過して2番目の
投光パルスSp2を出力したときに、再び干渉光が検出
されない場合には、制御回路3は、投光周期Tをさらに
時間taだけ短くした新たな投光周期(T1−ta)と
して設定し、その投光周期(T1−ta)が経過すると
3番目の投光パルスSp3の出力を開始する。このと
き、例えば、正信号検出回路6から検出信号Saが出力
されているときつまり干渉光Aが入射している状態で
は、制御回路3は、3番目の投光パルスSp3の出力を
停止すると共に、次回以降の投光周期Tを、そのとき設
定されている投光周期(T1−ta)に遅延時間3ta
を加えた投光周期T2(=T1+2ta)として新たに
設定し、さらに、遅延時間3taが経過すると4番目の
投光パルスSp4を出力するようになる。
If the interference light is not detected again when the second light projecting pulse Sp2 is output after the light projecting cycle T1 has elapsed, the control circuit 3 sets the light projecting cycle T for a time ta. It is set as a shortened new projection period (T1-ta), and when the projection period (T1-ta) elapses, the output of the third projection pulse Sp3 is started. At this time, for example, when the detection signal Sa is output from the positive signal detection circuit 6, that is, when the interference light A is incident, the control circuit 3 stops the output of the third light projection pulse Sp3 and , The light emitting cycle T from the next time onward is delayed by 3ta with respect to the light emitting cycle (T1-ta) set at that time.
Is newly set as the light projection cycle T2 (= T1 + 2ta), and when the delay time 3ta elapses, the fourth light projection pulse Sp4 is output.

【0045】このとき、例えば、4番目の投光パルスS
p4の出力に対して干渉光が検出されない場合には、前
述のように投光周期Tから時間taだけ短くすることは
行わず、先に設定した投光周期T2のままとする。これ
は、3番目の投光パルスSp3の出力で干渉光を検出し
た後、4番目の投光パルスSp4の出力時点で既に一回
投光周期をT2に設定していることから、次の投光パル
スSp5の出力に関しては、干渉光が検出されていない
場合でも再度投光周期Tを変更することを行わないので
ある。
At this time, for example, the fourth projection pulse S
When the interference light is not detected with respect to the output of p4, the projection period T is not shortened by the time ta as described above, and the projection period T2 set previously is maintained. This is because after the interference light is detected by the output of the third light emitting pulse Sp3, the once light emitting cycle has already been set to T2 at the time of the output of the fourth light emitting pulse Sp4. Regarding the output of the optical pulse Sp5, the light projecting period T is not changed again even when the interference light is not detected.

【0046】さて、4番目の投光パルスSp4の出力
後、投光周期T2が経過すると、制御回路3は、5番目
の投光パルスSp5の出力を開始する。そして、このと
き、負信号検出回路7から検出信号Sbが出力されてい
るときつまり干渉光Bが入射している状態では、制御回
路3は、5番目の投光パルスSp5の出力を停止すると
共に、次回以降の投光周期Tを、そのとき設定されてい
る投光周期T2に遅延時間2taを加えた投光周期T3
(=T2+2ta)として新たに設定し、遅延時間2t
aが経過すると6番目の投光パルスSp6を出力するよ
うになる。
Now, when the light projecting period T2 elapses after the output of the fourth light projecting pulse Sp4, the control circuit 3 starts outputting the fifth light projecting pulse Sp5. Then, at this time, when the detection signal Sb is output from the negative signal detection circuit 7, that is, when the interference light B is incident, the control circuit 3 stops the output of the fifth light projection pulse Sp5 and , The light emitting cycle T3 from the next time onward is the light emitting cycle T3 obtained by adding the delay time 2ta to the light emitting cycle T2 set at that time.
(= T2 + 2ta) is newly set, and the delay time is 2t.
When a has passed, the sixth light emitting pulse Sp6 is output.

【0047】そして、6番目の投光パルスSp6の出力
開始タイミングにおいて干渉光が検出されない場合で
も、前述同様に、2回の投光周期の変更は行わないの
で、投光周期T3が経過すると、7番目の投光パルスS
p7が出力されるようになっている。そして、次の投光
パルスSpの出力開始タイミングは、新たな投光周期T
4(=T3−ta)として設定される。以下、上述と同
様にして、制御回路3により検出動作および干渉防止動
作が行われるようになっている。
Even when the interference light is not detected at the output start timing of the sixth light emitting pulse Sp6, the light emitting cycle is not changed twice as described above, so that when the light emitting cycle T3 elapses, 7th light emission pulse S
p7 is output. The output start timing of the next light projection pulse Sp is the new light projection cycle T.
4 (= T3-ta). Thereafter, the detection operation and the interference prevention operation are performed by the control circuit 3 in the same manner as described above.

【0048】なお、制御回路3は、上述のようにして投
光周期Tを次々と変化させていくうちに、設定しようと
する投光周期Tが上限値Tmaxを超えた長い時間とな
る場合には、そのときの投光周期Tを下限値Tminに
設定するようにし、また、設定しようとする投光周期T
が下限値Tminを下回る短い時間となる場合には、そ
のときの投光周期Tを上限値Tmaxに設定するように
なっている。
Note that the control circuit 3 changes the light projecting cycle T one after another as described above, and when the light projecting cycle T to be set becomes a long time exceeding the upper limit value Tmax while it is being changed. Is set to the lower limit value Tmin for the projection cycle T at that time, and the projection cycle T to be set is set.
When the time becomes shorter than the lower limit value Tmin, the light projection period T at that time is set to the upper limit value Tmax.

【0049】このような本実施例によれば、第1の実施
例と同様の効果が得られると共に、加えて、投光周期T
をTminとTmaxとの間で頻繁に変動させることに
より、他の無人搬送車の光電スイッチの投光周期と同期
する確率を低下させることができるようになり、さらに
確実な検出動作を行うことができるようになり、総じて
干渉防止率の向上を図ることができる。
According to the present embodiment as described above, the same effect as that of the first embodiment can be obtained, and in addition, the projection period T
Is frequently changed between Tmin and Tmax, the probability of being synchronized with the projection cycle of the photoelectric switch of another automated guided vehicle can be reduced, and a more reliable detection operation can be performed. As a result, it is possible to improve the interference prevention rate as a whole.

【0050】図6は本発明の第3の実施例を示すもの
で、以下、第1の実施例と異なる部分について説明す
る。すなわち、このものは、第1の実施例において、投
光パルスSpの出力開始タイミングで干渉光が検出され
る毎に検出信号SaあるいはSbに対応して投光周期T
をtあるいは0.5tだけ長くして以降の投光動作を行
わせているのを、本実施例においては、投光周期Tを基
本投光周期Tとして一定の値とし、干渉光が検出された
ときにのみに、そのときの投光パルスSpの出力をただ
ちに停止し、次の投光パルスSpの出力をその時点から
所定の遅延時間tあるいは0.5tだけ遅延させて出力
するものである。
FIG. 6 shows a third embodiment of the present invention. Hereinafter, parts different from the first embodiment will be described. That is, in the first embodiment, this is the light projecting period T corresponding to the detection signal Sa or Sb every time the interference light is detected at the output start timing of the light projecting pulse Sp.
In the present embodiment, the light projecting period T is set to a constant value as the basic light projecting period T, and the interference light is detected. The output of the light projecting pulse Sp at that time is immediately stopped only at that time, and the output of the next light projecting pulse Sp is delayed by a predetermined delay time t or 0.5t from that time point and output. .

【0051】例えば、図6においては、制御回路3は、
1番目の投光パルスSp1,2番目の投光パルスSp2
を出力した時点では、干渉光が検出されていないので、
3番目の投光パルスSp3を基本投光周期Tで出力す
る。そして、3番目の投光パルスSp3の出力開始タイ
ミングで、正信号検出回路6から検出信号Saが入力さ
れているときには、制御回路3は、その投光パルスSp
3の出力をただちに停止し、第1の遅延時間tだけ遅延
させて次の4番目の投光パルスSp4を出力する。そし
て、投光パルスSp4の出力開始タイミングで干渉光が
検出されないときには、制御回路3は、再び基本投光周
期Tで次の5番目の投光パルスSp5を出力するように
なる。
For example, in FIG. 6, the control circuit 3 is
1st light emission pulse Sp1, 2nd light emission pulse Sp2
Since the interference light was not detected at the time of outputting
The third light projection pulse Sp3 is output at the basic light projection cycle T. When the detection signal Sa is input from the positive signal detection circuit 6 at the output start timing of the third light projecting pulse Sp3, the control circuit 3 causes the light projecting pulse Sp to be output.
The output of No. 3 is immediately stopped, delayed by the first delay time t, and the next fourth projection pulse Sp4 is output. Then, when the interference light is not detected at the output start timing of the light projection pulse Sp4, the control circuit 3 again outputs the next fifth light projection pulse Sp5 in the basic light projection cycle T.

【0052】さて、5番目の投光パルスSp5の出力開
始タイミングで、負信号出力回路7から検出信号Sbが
入力されている場合には、制御回路3は、5番目の投光
パルスSp5の出力をただちに停止し、第2の遅延時間
0.5tだけ遅延させて6番目の投光パルスSp6を出
力する。そして、その投光パルスSp6の出力開始タイ
ミングで干渉光が検出されないときには、制御回路3
は、再び基本投光周期Tで7番目の投光パルスSp7を
出力するようになる。したがって、このような本実施例
によっても、第1の実施例と同様の効果が得られる。
When the detection signal Sb is input from the negative signal output circuit 7 at the output start timing of the fifth light emitting pulse Sp5, the control circuit 3 outputs the fifth light emitting pulse Sp5. Is immediately stopped, the second delay time is delayed by 0.5 t, and the sixth light projection pulse Sp6 is output. When the interference light is not detected at the output start timing of the light projection pulse Sp6, the control circuit 3
Again outputs the seventh light-emission pulse Sp7 in the basic light-emission cycle T. Therefore, also with this embodiment, the same effect as that of the first embodiment can be obtained.

【0053】なお、上記各実施例においては、第1の延
長時間を時間tとし、第2の遅延時間をその半分の時間
0.5tとしたり、あるいは、第1の遅延時間を3ta
とし、第2の遅延時間を時間2taとした場合について
説明したが、これに限らず、第2の遅延時間を第1の遅
延時間よりも短く設定すれば、適宜の関係で設定しても
良い。
In each of the above embodiments, the first extension time is time t and the second delay time is half the time 0.5t, or the first delay time is 3ta.
Although the case where the second delay time is set to the time 2ta has been described, the present invention is not limited to this, and the second delay time may be set in an appropriate relationship as long as it is set shorter than the first delay time. .

【0054】また、上記各実施例においては、検出エリ
ア内の物体の検出を1回の検出で判断して物体検出信号
Sxを出力する構成としたが、これに限らず、例えば、
連続した複数回検出状態をアナログ積分あるいはデジタ
ル積分により判断して物体検出信号を出力する構成とし
ても良い。
In each of the above embodiments, the detection of the object in the detection area is judged by one-time detection, and the object detection signal Sx is output. However, the present invention is not limited to this.
It is also possible to adopt a configuration in which the object detection signal is output by determining the detection state that has been repeated a plurality of times by analog integration or digital integration.

【0055】[0055]

【発明の効果】以上説明したように、本発明の光電スイ
ッチにおいては、第1および第2の検出回路を設けて増
幅回路からの信号が正と負の場合で第1および第2の検
出信号を出力させ、投光制御手段により、投光パルスに
よる投光開始タイミングにおいて、第1あるいは第2の
検出回路が検出信号を出力しているときにはそのときの
投光パルスの出力を停止すると共に、第1の遅延時間,
あるいは第1の遅延時間よりも短い第2の遅延時間だけ
遅延させて投光パルスを出力するようにした。これによ
り、投光パルスの投光開始タイミングにおいて干渉光が
受光素子に入射している状態では、次の投光パルスの出
力開始タイミングを不必要に長く遅らせることなく設定
することができるようになり、干渉光の非受光期間を有
効に利用して検出動作を効率良く実施することができ、
総じて干渉防止率を向上させることができるという優れ
た効果を奏する。
As described above, in the photoelectric switch of the present invention, the first and second detection circuits are provided and the first and second detection signals are detected when the signal from the amplifier circuit is positive or negative. When the first or second detection circuit is outputting a detection signal at the projection start timing by the projection pulse, the projection control means stops the projection pulse output at that time, and The first delay time,
Alternatively, the light projecting pulse is output after being delayed by the second delay time which is shorter than the first delay time. This makes it possible to set the output start timing of the next light emitting pulse without unnecessarily delaying it in a state where the interference light is incident on the light receiving element at the light emitting start timing of the light emitting pulse. , The detection operation can be performed efficiently by effectively utilizing the non-reception period of the interference light,
It has an excellent effect that the interference prevention rate can be improved as a whole.

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

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

【図2】検出プログラムのフローチャート(その1)FIG. 2 is a flowchart of a detection program (No. 1)

【図3】検出プログラムのフローチャート(その2)FIG. 3 is a flowchart of a detection program (No. 2)

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

【図5】本発明の第2の実施例を示す図4相当図FIG. 5 is a view corresponding to FIG. 4 showing a second embodiment of the present invention.

【図6】本発明の第3の実施例を示す図4相当図FIG. 6 is a view corresponding to FIG. 4, showing a third embodiment of the present invention.

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

1は発光ダイオード(投光素子)、2は投光回路、3は
制御回路(受光手段、判定手段、投光制御手段)、4は
フォトダイオード(受光素子)、5は増幅回路、6は正
信号検出回路(第1の検出回路)、7は負信号検出回路
(第2の検出回路)、8は出力回路である。
1 is a light emitting diode (light emitting element), 2 is a light emitting circuit, 3 is a control circuit ( light receiving means, determination means, light emitting control means), 4 is a photodiode (light receiving element), 5 is an amplifier circuit, and 6 is positive. A signal detection circuit (first detection circuit), 7 is a negative signal detection circuit (second detection circuit), and 8 is an output circuit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 投光制御手段から与えられる周期的な投
光パルスに基いて投光素子に投光動作を行なわせる投光
回路と、受光素子により受光した信号を増幅回路を介し
て入力し前記投光パルスに応じた同期信号に基いて同期
検波を行う受光手段と、この受光手段の出力信号に基づ
いて受光状態検出の判定を行なう判定手段とを有する光
電スイッチにおいて、 前記増幅回路からの出力のうち所定レベル以上の正の信
号を検出して前記投光制御手段に入力する第1の検出回
路と、 前記増幅回路からの出力のうち所定レベル以上の負の信
号を検出して前記投光制御手段に入力する第2の検出回
路とを具備し、 前記投光制御手段は、前記投光パルスの出力開始タイミ
ングにおいて前記第1の検出回路が検出信号を出力して
いるときにはそのときの投光パルスの出力を停止すると
共に第1の遅延時間だけ遅延させて投光パルスを出力
し、前記投光パルスの出力開始タイミングにおいて前記
第2の検出回路が検出信号を出力しているときにはその
ときの投光パルスの出力を停止すると共に前記第1の遅
延時間よりも短い第2の遅延時間だけ遅延させて投光パ
ルスを出力するように構成されていることを特徴とする
光電スイッチ。
1. A light projecting circuit for causing a light projecting element to perform a light projecting operation based on a periodic light projecting pulse given from a light projecting control means, and a signal received by a light receiving element is inputted via an amplifier circuit. A light receiving means for performing synchronous detection based on a synchronizing signal corresponding to the light emitting pulse, and an output signal from the light receiving means
A first detection circuit for detecting a positive signal of a predetermined level or higher among the outputs from the amplification circuit and inputting it to the light emission control means. A second detection circuit for detecting a negative signal of a predetermined level or more out of the output from the amplifier circuit and inputting the negative signal to the light projecting control means, wherein the light projecting control means When the first detection circuit is outputting the detection signal at the output start timing, the output of the light emitting pulse at that time is stopped, and the light emitting pulse is output with a delay of the first delay time. When the second detection circuit is outputting the detection signal at the pulse output start timing, the output of the light projection pulse at that time is stopped, and the second delay shorter than the first delay time Photoelectric switch, characterized in that only delays between being configured to output a light projection pulse.
JP4319960A 1992-11-30 1992-11-30 Photoelectric switch Expired - Lifetime JP2680977B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4319960A JP2680977B2 (en) 1992-11-30 1992-11-30 Photoelectric switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4319960A JP2680977B2 (en) 1992-11-30 1992-11-30 Photoelectric switch

Publications (2)

Publication Number Publication Date
JPH06169248A JPH06169248A (en) 1994-06-14
JP2680977B2 true JP2680977B2 (en) 1997-11-19

Family

ID=18116174

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4319960A Expired - Lifetime JP2680977B2 (en) 1992-11-30 1992-11-30 Photoelectric switch

Country Status (1)

Country Link
JP (1) JP2680977B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6590553B2 (en) * 2015-06-29 2019-10-16 アズビル株式会社 Photoelectric sensor
CN113358141B (en) * 2020-03-06 2023-05-09 欧姆龙(上海)有限公司 Photoelectric sensor and signal processing method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57136179A (en) * 1981-02-17 1982-08-23 Omron Tateisi Electronics Co Photoelectric switch
JPH04259882A (en) * 1991-02-15 1992-09-16 Matsushita Electric Works Ltd Photoelectric switch
JP3062265B2 (en) * 1991-02-27 2000-07-10 サンクス株式会社 Photoelectric switch

Also Published As

Publication number Publication date
JPH06169248A (en) 1994-06-14

Similar Documents

Publication Publication Date Title
JP2680977B2 (en) Photoelectric switch
US20100074056A1 (en) Obstacle detection device for detecting obstacle
JP2002341018A (en) Distance measuring equipment
US6600146B2 (en) Photoelectric switches
JP4134518B2 (en) Multi-axis photoelectric sensor
JP3943823B2 (en) Photoelectric sensor, driving method thereof, and photoelectric sensor system
JP2515136B2 (en) Reflective photoelectric detector
JP3835219B2 (en) Distance measuring device
JP3062265B2 (en) Photoelectric switch
JP2544069B2 (en) Multi-optical axis photoelectric switch
WO2013161101A1 (en) Fire detector
JP2519310Y2 (en) Multi-axis photoelectric switch
JP3351816B2 (en) Photoelectric switch
JP4868779B2 (en) Photoelectric sensor
KR100580675B1 (en) System and Method Using Micro controller for Controlling Moving Target
JP2002333487A (en) Photoelectric sensor
JPS61122799A (en) Optical type smoke detector
JP2003133934A (en) Photoelectric switch
JP4292159B2 (en) Interference compensated optical synchronous safety detection system for elevator sliding doors
JP3188106B2 (en) Photoelectric smoke detector
JP2001330432A (en) Distance sensor
JP3944020B2 (en) Photoelectric sensor
JP3372328B2 (en) Photoelectric sensor
JPS6131927A (en) Flame detector
JP2575288Y2 (en) Disturbance light countermeasure circuit

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090801

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100801

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100801

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110801

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110801

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120801

Year of fee payment: 15

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120801

Year of fee payment: 15

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130801

Year of fee payment: 16

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130801

Year of fee payment: 16

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130801

Year of fee payment: 16

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130801

Year of fee payment: 16

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130801

Year of fee payment: 16