JP3351816B2 - Photoelectric switch - Google Patents

Photoelectric switch

Info

Publication number
JP3351816B2
JP3351816B2 JP13401192A JP13401192A JP3351816B2 JP 3351816 B2 JP3351816 B2 JP 3351816B2 JP 13401192 A JP13401192 A JP 13401192A JP 13401192 A JP13401192 A JP 13401192A JP 3351816 B2 JP3351816 B2 JP 3351816B2
Authority
JP
Japan
Prior art keywords
light
noise
pulse
output
pulse 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 - Fee Related
Application number
JP13401192A
Other languages
Japanese (ja)
Other versions
JPH05327452A (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 Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP13401192A priority Critical patent/JP3351816B2/en
Publication of JPH05327452A publication Critical patent/JPH05327452A/en
Application granted granted Critical
Publication of JP3351816B2 publication Critical patent/JP3351816B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related 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 synchronous detector for detecting reflected light by a light receiving element by a detection object of pulsed light emitted from light emitting means, and detecting a received light signal based on a synchronous signal from a light emitting circuit. The present invention relates to a method for preventing a malfunction due to noise light in a photoelectric switch.

【0002】[0002]

【従来の技術】従来の光電スイッチとしては、投光手段
から投光されるパルス光の検知対象物により反射光を受
光素子で受光し、受光信号を投光回路からの同期信号に
基づいて同期検波するものがある。この種の光電スイッ
チでは、例えば同種の光電スイッチなどからのパルス光
を受光して誤動作するという問題があった。
2. Description of the Related Art In a conventional photoelectric switch, reflected light is received by a light receiving element by an object to be detected of a pulse light emitted from a light emitting means, and a light receiving signal is synchronized based on a synchronization signal from a light emitting circuit. There is something to detect. This type of photoelectric switch has a problem that, for example, it receives pulsed light from the same type of photoelectric switch or the like and malfunctions.

【0003】そこで、この点を改善する誤動作防止方法
として、次の方法が提案されている。いま、検知対象物
が存在せず、且つノイズ光も存在しない場合には、所定
範囲内でサイクリックに投光周期を可変すると共に、そ
の周期可変方向を投光周期が短くなる方向として、発光
素子からパルス光を投光させ、ノイズ光が検知される
と、そのノイズ光の発光周期と自己のパルス光の投光周
期とをずらすように逆に発光周期を長くするものがあ
る。そして、上記投光周期を長くした場合に逆にノイズ
光の発光周期と一致するような場合には、一旦パルス光
の投光を停止し、さらに投光周期を長くした時点でパル
ス光の投光を開始するようにしていた。
Therefore, the following method has been proposed as a malfunction preventing method for improving this point. Now, when the detection target object does not exist and the noise light does not exist, the light emission cycle is cyclically varied within a predetermined range, and the light emission cycle is set as the direction in which the light emission cycle becomes shorter. In some devices, when pulse light is emitted from the element and noise light is detected, the light emission cycle is lengthened to reverse the light emission cycle of the noise light and the light emission cycle of its own pulse light. If the light emission cycle is long and the light emission cycle coincides with the noise light emission cycle, the light emission of the pulse light is stopped once, and the light emission of the pulse light is stopped when the light emission cycle is further lengthened. The light was going to start.

【0004】[0004]

【発明が解決しようとする課題】ところで、この光電ス
イッチの場合には、パルス光を発生させるために与えら
れるパルス信号の立上りと立下り時点とで、ノイズ光の
有無を検知し、立下り時点にノイズ光が検知されると単
に投光周期を長くし、立上り時点でノイズ光が検知され
ると、一旦パルス光の投光を停止し、さらに投光周期を
長くした時点でパルス光の投光を開始する方法をとって
いる。
[0007] Incidentally, in the case of the photoelectric switch, in the rise and fall time of the pulse signal applied to generate a pulsed light, and detecting the presence or absence of noise light, falling time When the noise light is detected at the rising edge, the light emission cycle is simply extended. The way to start the light is taking.

【0005】しかしながら、このようにすると、外来の
ノイズ光を発するノイズ源が多数存在する場合や、上記
光電スイッチよりもパルス光の投光周期が短い異機種の
光電スイッチがノイズ源である場合に、ノイズ光のない
タイミングが少なく、このため一旦パルス光の投光を停
止し、さらに投光周期を長くした時点でパルス光の投光
を開始するという動作が多く行われる。ここで、パルス
光の投光を開始する時点はノイズ光が存在しない時点で
あるとは限らず、このため却って光電スイッチの動作が
不安定になるという問題があった。
However, in this case, when there are many noise sources that emit extraneous noise light, or when a different type of photoelectric switch having a shorter pulse light projection cycle than the above photoelectric switch is a noise source, In addition, there are few timings when there is no noise light, so that the operation of once stopping the emission of the pulse light and starting the emission of the pulse light when the emission period is further extended is often performed. Here, the point in time when the emission of the pulse light is started is not necessarily the point in time when no noise light exists, and therefore, there is a problem that the operation of the photoelectric switch becomes rather unstable.

【0006】本発明は上述の点に鑑みて為されたもので
あり、その目的とするところは、外来のノイズ光を発す
るノイズ源が多数存在する場合や、上記光電スイッチよ
りもパルス光の投光周期が短い異機種の光電スイッチが
ノイズ源である場合に、誤動作を防止できる光電スイッ
チを提供することにある。
The present invention has been made in view of the above points, and has as its object the case where there are a large number of noise sources emitting extraneous noise light, and the fact that pulse light is projected more than the above photoelectric switch. An object of the present invention is to provide a photoelectric switch capable of preventing malfunction when a different type of photoelectric switch having a short light cycle is a noise source.

【0007】[0007]

【課題を解決するための手段】本発明では、上記目的を
達成するために、発生周期が可変自在なパルス信号を発
生するパルス発生手段と、上記パルス信号に応じてパル
ス光を投光する投光手段と、この投光手段からのパルス
光を受光してパルス信号の発生周期に同期して検波を行
う受光手段と、パルス信号の発生時における受光出力か
らノイズ光の有無を検知するノイズ検知手段と、このノ
イズ検知手段によるノイズ光の検知結果に応じて上記パ
ルス発生手段から出力されるパルス光の発生周期を可変
する周期可変手段と、受光手段の出力から検知対象物の
有無を判別する判別手段とを備え、上記ノイズ検知手段
がパルス信号の立上りと立下り時点とでノイズ光の有無
を検知し、立下り時点にノイズ光が検知されると、周期
可変手段がパルス発生手段からのパルス信号の発生周期
を長くするように制御すると共に、立上り時点でノイズ
光が検知されると、周期可変手段がパルス発生手段から
のパルス信号の発生を一旦停止させ、立下り時点にノイ
ズ光が検知された場合よりさらにパルス信号の発生周期
を長くした周期でパルス信号を発生させ、上記判別手段
で検知対象物が検知されていない場合と、検知対象物が
検知された場合とで、ノイズ検知手段のノイズ検知感度
を変更している。
According to the present invention, in order to achieve the above object, there is provided a pulse generating means for generating a pulse signal having a variable generation period, and a projection apparatus for projecting a pulse light in accordance with the pulse signal. A light means, a light receiving means for receiving the pulse light from the light emitting means and detecting the light in synchronization with a generation cycle of the pulse signal, and a noise detection for detecting the presence or absence of the noise light from the light receiving output when the pulse signal is generated Means, a cycle varying means for varying the generation cycle of the pulse light output from the pulse generating means in accordance with the result of detection of the noise light by the noise detecting means, and judging the presence or absence of the detection target from the output of the light receiving means. and a discriminating means, when said noise detection means detects the presence or absence of the noise light in the rise and fall time of the pulse signal, the noise light to the falling time is detected, the period changing means is a pulse In addition to controlling the generation cycle of the pulse signal from the generating means to be longer, when noise light is detected at the rising time, the cycle variable means temporarily stops the generation of the pulse signal from the pulse generating means, and stops at the falling time. when the noise light is detected to generate a pulse signal at longer the period the generation period of a pulsed signal from a case where the detection object by the determination means is not detected, the sense target
The noise detection sensitivity of the noise detection means
The that has been changed.

【0008】なお、具体的には、ノイズ光の受光出力が
所定レベル以上の場合に出力を生じる第1の比較器と、
受光出力が負レベルとなったときに出力を生じる第2の
比較器と、パルス信号の立上りと立下り時点でこれら比
較器の出力が得られた場合に、ノイズ光が存在すると判
定するノイズ処理回路と、判別手段で検知対象物が検知
されていない場合に、第2の比較器の出力がノイズ処理
回路に入力されることを阻止し、判別手段で検知対象物
が検知された場合に、第2の比較器の出力をノイズ処理
回路に入力させる入力制御手段とで上記ノイズ検知手段
を構成することができる。
[0008] More specifically, a first comparator that generates an output when the received light output of the noise light is equal to or higher than a predetermined level;
A second comparator which generates an output when the received light output goes to a negative level, and a noise process which determines that noise light exists when the outputs of these comparators are obtained at the rise and fall of the pulse signal When the detection target is not detected by the circuit and the determination unit, the output of the second comparator is prevented from being input to the noise processing circuit, and when the detection target is detected by the determination unit, The noise detection means can be constituted by input control means for inputting the output of the second comparator to the noise processing circuit.

【0009】[0009]

【作用】本発明は、上述のように判別手段で検知対象物
が検知されていない場合と、検知対象物が検知された場
合とで、ノイズ検知手段のノイズ検知感度を変更する
より、検知対象物が存在しない場合に、外来のノイ
ズ光を発するノイズ源が多数存在する場合や、上記光電
スイッチよりもパルス光の投光周期が短い異機種の光電
スイッチがノイズ源である場合に、一旦パルス光の投光
を停止し、さらに投光周期を長くした時点でパルス光の
投光を開始するという動作が多く行われることを防止
し、不安定な動作状態を回避して誤動作を少なくする。
According to the present invention, the object to be detected is determined by the determination means as described above .
Is not detected and when the target is detected
In the case, more this <br/> and change the noise detection sensitivity of the noise detecting means, when the detection subject absent, or when, the photoelectric switch noise source that emits external noise light exists many When a different type of photoelectric switch having a shorter light emission cycle than the noise source is a noise source, the light emission of the pulse light is temporarily stopped, and the light emission of the pulse light is started when the light emission cycle is further lengthened. Such operations are prevented from being performed frequently, and unstable operation states are avoided to reduce malfunctions.

【0010】[0010]

【実施例】図1乃至図3に本発明の一実施例を示し、本
実施例の光電スイッチは、発光素子から投光される光の
検知対象物による反射光を受光して物体の検知を行うを
反射形の光電スイッチである。この光電スイッチの投光
部4は、発光ダイオードからなる発光素子1と、この発
光素子1を駆動する駆動回路2と、駆動回路2に発光素
子1の駆動用のパルス信号を与える発振回路3とで構成
してある。
1 to 3 show an embodiment of the present invention. The photoelectric switch of the present embodiment detects an object by receiving light reflected from an object to be detected from light emitted from a light emitting element. Do it with a reflective photoelectric switch. The light emitting section 4 of the photoelectric switch includes a light emitting element 1 composed of a light emitting diode, a driving circuit 2 for driving the light emitting element 1, an oscillation circuit 3 for supplying a pulse signal for driving the light emitting element 1 to the driving circuit 2. It consists of.

【0011】ここで、上記発振回路3としては、パルス
信号の発生周期が可変自在なものを用いてあり、このパ
ルス信号の発生周期を変化させるために周期変更手段1
7を設けある。この周期変更手段17は、発振回路3
のパルス信号のパルス幅が一定幅以上であるときローレ
ベルとなる遅延出力を発生する遅延回路15と、この遅
延回路15の出力の立下りを検出する立下り検出回路1
6と、この立上り検出回路16の出力が与えられたとき
に、カウント値を増加させるカウンタ14とで構成して
ある。
Here, as the oscillating circuit 3, a circuit in which the generation period of the pulse signal is variable is used. In order to change the generation period of the pulse signal, the period changing means 1 is used.
7 is provided. This cycle changing means 17 includes
A delay circuit 15 that generates a delay output that goes low when the pulse width of the pulse signal is equal to or greater than a predetermined width, and a fall detection circuit 1 that detects the fall of the output of the delay circuit 15
6 and a counter 14 for increasing the count value when the output of the rising detection circuit 16 is given.

【0012】上記発振回路3ではカウンタ14のカウン
ト値によってパルス信号の発生周期を決定し、例えばカ
ウンタ14のカウント値が徐々に増加すると、それに応
じてパルス信号の発生周期が徐々に短くなる。受光部1
1は、発光素子1からのパルス光が検出対象物により反
射された反射光を受光するフォトダイオードからなる受
光素子5と、この受光素子5の受光出力を増幅する増幅
回路6と、増幅回路6の出力を所定レベルと比較し微小
レベルの信号を除去する比較回路7と、比較回路7の出
力を検波する検波回路8と、検波回路8の出力を積分し
その積分値が所定値を越えたかどうかにより検出対象物
の存在を判別する判別回路9と、判別回路9の判別結果
に応じた適宜検知信号を出力する出力回路10とで構成
してある。なお、検波回路8では、上記遅延回路15か
ら与えられる同期信号に基づいて同期検波することによ
り、投光パルスに同期した反射光だけを検波するように
してある。
In the oscillation circuit 3, the generation period of the pulse signal is determined by the count value of the counter 14. For example, when the count value of the counter 14 is gradually increased, the generation period of the pulse signal is gradually shortened accordingly. Light receiving unit 1
Reference numeral 1 denotes a light receiving element 5 composed of a photodiode for receiving the reflected light of the pulse light from the light emitting element 1 reflected by the detection target, an amplification circuit 6 for amplifying the light receiving output of the light receiving element 5, and an amplification circuit 6 A comparison circuit 7 for comparing the output of the detection circuit with a predetermined level to remove a signal of a minute level, a detection circuit 8 for detecting the output of the comparison circuit 7, and integrating the output of the detection circuit 8 to determine whether the integrated value exceeds a predetermined value. It comprises a discriminating circuit 9 for discriminating the presence of a detection target depending on whether the detection circuit is present, and an output circuit 10 for appropriately outputting a detection signal according to the discrimination result of the discriminating circuit 9. The detection circuit 8 performs synchronous detection based on the synchronization signal provided from the delay circuit 15 so as to detect only the reflected light synchronized with the projection pulse.

【0013】この光電スイッチでは、同種の他の光電ス
イッチからのパルス光(ノイズ光)による誤動作を防止
するために、ノイズ処理手段19を設けてある。このノ
イズ処理手段19は、増幅回路6の出力上記比較回路
のレベルより低いレベルのノイズ検出レベル以上であ
ることを検知する比較器12aと、増幅回路6の出力
負レベルとなったいる(アンダーシュートしている)こ
とを検知する比較器12bと、比較器12bの出力と判
別回路9の出力とのアンドをとるアンド回路18と、上
記比較器12a、アンド回路18及び発振回路3の出力
に応じて上記カウンタ14のカウント動作を制御するノ
イズ処理回路13とで構成してある。
In this photoelectric switch, a noise processing means 19 is provided in order to prevent malfunction due to pulse light (noise light) from another photoelectric switch of the same type. The noise processing means 19 determines that the output of the amplifier circuit 6 is equal to or higher than the noise detection level lower than the level of the comparison circuit 7
A comparator 12a for detecting the Rukoto, output of the amplifying circuit 6 is
Negative level (undershoot)
12b that detects the output of the comparator 12b and the output of the discriminating circuit 9; and the counter 14 according to the outputs of the comparator 12a, the AND circuit 18, and the oscillation circuit 3. And a noise processing circuit 13 for controlling the counting operation.

【0014】ここで、ノイズ処理回路13では、発振回
路3の出力の立上りあるいは立下りのタイミングで上記
比較器12aあるいはアンド回路18からのハイレベル
出力が入力された場合、2個のパルスをカウンタ14に
与えるようにしてある。このパルスを受けたカウンタ1
4では、上記ノイズ処理回路13からの出力を受けると
カウント値が減少する。
Here, in the noise processing circuit 13, when a high level output from the comparator 12a or the AND circuit 18 is input at the rising or falling timing of the output of the oscillation circuit 3, two pulses are counted. 14 Counter 1 receiving this pulse
In 4, when the output from the noise processing circuit 13 is received, the count value decreases.

【0015】以下、本実施例の動作について説明する。
まず、検知対象物が存在せず、且つノイズも存在しない
場合、発光素子1は発振回路3の出力に応じて駆動回路
2で駆動され、パルス光を投光する。この検知対象物が
存在せず、且つノイズも存在しない状態では、受光素子
5には、何等のノイズ光も受光されない。このため、増
幅回路6に増幅出力が生じず、ノイズ処理回路13から
出力が生じることはない。
The operation of this embodiment will be described below.
First, when the detection target does not exist and there is no noise, the light emitting element 1 is driven by the drive circuit 2 in accordance with the output of the oscillation circuit 3 and emits pulse light. In a state where the detection target does not exist and no noise exists, the light receiving element 5 does not receive any noise light. Therefore, no amplified output is generated in the amplifier circuit 6, and no output is generated from the noise processing circuit 13.

【0016】このときには、発振回路3の出力に応じ
て、遅延回路15から遅延出力が得られ、この遅延出力
の立下りが立下り検出回路16で検出される毎に、カウ
ンタ14のカウント値が増加し、発振回路3から出力さ
れるパルス信号の発生周期が徐々に短くなる。但し、こ
のパルス信号の発生周期は、所定範囲に制限されてお
り、最低のパルス信号の発生周期になると、次は最高の
パルス信号の発生周期に戻るというようにして、順次パ
ルス信号の発生周期は可変される。
At this time, a delay output is obtained from the delay circuit 15 in accordance with the output of the oscillation circuit 3. Each time the fall of the delay output is detected by the fall detection circuit 16, the count value of the counter 14 is increased. And the generation cycle of the pulse signal output from the oscillation circuit 3 is gradually shortened. However, the pulse signal generation cycle is limited to a predetermined range. When the lowest pulse signal generation cycle is reached, the pulse signal generation cycle returns to the highest pulse signal generation cycle. Is variable.

【0017】次に、検知対象物が存在しない状態におい
て、外来のノイズ光が受光素子5で受光された場合を説
明する。このときの増幅回路6の出力は図2(b)に示
す波形となる。比較器12aでは増幅回路6の出力がノ
イズ検知レベルを越える間にハイレベルとなる図2
(c)に示す出力を生じ、比較器12bでは増幅回路6
の出力がアンダーシュートしていることを検知する所定
レベルを下回っている間にハイレベルとなる図2(d)
に示す出力を生じる。
Next, a case will be described where extraneous noise light is received by the light receiving element 5 in a state where no detection target exists. The output of the amplifier circuit 6 at this time has a waveform shown in FIG. In the comparator 12a, the output of the amplifying circuit 6 goes high while exceeding the noise detection level.
An output shown in (c) is generated.
Specified to detect that the output of the
Figure 2 (d), which goes high while below the level
Produces the output shown in

【0018】この場合において、発振回路3から出力さ
れるパルス信号の立下りのタイミングにノイズ光の入射
時点が一致して、比較器12aのハイレベルの時点がパ
ルス信号の立下りのタイミングになると、ノイズ処理回
路13は図2(g)に示すように2個のパルスをカウン
タ14に出力する。これにより、カウンタ14のカウン
ト値が2個減少する。そして、その後に図2(h)に示
す遅延回路15の遅延出力の立下りを立下り検出回路1
6で検知し、その検知出力がカウンタ14に入力され
る。これにより、カウンタ14のカウント値が1増加す
る。このため、総合的にはカウンタ14のカウント値は
1個だけ減少する。これにより、このときには、発振回
路3から出力されるパルス信号の発生周期が長くなる。
In this case, when the incident time of the noise light coincides with the falling timing of the pulse signal output from the oscillation circuit 3, and the high-level time of the comparator 12a becomes the falling timing of the pulse signal. The noise processing circuit 13 outputs two pulses to the counter 14 as shown in FIG. As a result, the count value of the counter 14 decreases by two. After that, the falling edge of the delay output of the delay circuit 15 shown in FIG.
6, and the detection output is input to the counter 14. As a result, the count value of the counter 14 increases by one. Therefore, the count value of the counter 14 is reduced by one overall. Thereby, at this time, the generation cycle of the pulse signal output from the oscillation circuit 3 becomes longer.

【0019】このように、自己のパルス光の発光周期を
ずらして他のノイズ源との発光周期が重ならないように
して、誤検知を防止する。このようにすれば、上記ノイ
ズ光が検知対象物で反射されて受光素子5で受光される
恐れが少なくなる。ここで、さらに発振回路3から出力
されるパルス信号の立下りのタイミングにノイズ光の入
射時点が一致して、比較器12aのハイレベルの時点が
パルス信号の立下りのタイミングになった場合には、さ
らにパルス光の発光周期をずらす。
As described above, the erroneous detection is prevented by shifting the light emission cycle of its own pulse light so that the light emission cycles with other noise sources do not overlap. This reduces the possibility that the noise light is reflected by the detection target and is received by the light receiving element 5. Here, when the incident time of the noise light coincides with the falling timing of the pulse signal output from the oscillation circuit 3 and the high-level time point of the comparator 12a becomes the falling timing of the pulse signal. Further shifts the light emission cycle of the pulsed light.

【0020】ところで、このようにパルス光の発光周期
を長くした場合に、逆にノイズ光の発光周期と自己のパ
ルス光の発光周期とが一致する方向になることが考えら
れる。このときには、発振回路3のパルス信号の立上り
時点で、上記比較器12aがハイレベルになる状態が生
じる。このため、発振回路3にはカウンタ14のカウン
ト値に応じてパルス信号を立上げた直後に、別のカウン
ト値が入力されることになる。この時点で、発振回路3
はパルス信号の出力を停止する。従って、発振回路3の
パルス信号のパルス幅が所定値に達せず、遅延回路15
からの遅延出力が生じず、よって立上り検出回路16の
出力がカウンタ14に入力されない。この場合には、カ
ウンタ14のカウント値が2個減算され、上述の場合よ
りもさらにパルス光の発光周期を長くしてノイズ光との
発光周期の同期状態をずらす。
By the way, when the light emission cycle of the pulse light is lengthened in this way, it is conceivable that the light emission cycle of the noise light and the light emission cycle of its own pulse light are opposite to each other. At this time, at the time when the pulse signal of the oscillation circuit 3 rises, a state occurs in which the comparator 12a goes high. For this reason, another count value is input to the oscillation circuit 3 immediately after the pulse signal rises according to the count value of the counter 14. At this point, the oscillation circuit 3
Stops the output of the pulse signal. Therefore, the pulse width of the pulse signal of the oscillation circuit 3 does not reach the predetermined value, and the delay circuit 15
Does not occur, and therefore the output of the rise detection circuit 16 is not input to the counter 14. In this case, the count value of the counter 14 is decremented by two, and the light emitting cycle of the pulse light is made longer than that in the above-mentioned case to shift the synchronization state of the light emitting cycle with the noise light.

【0021】そして、立上り時点でさらにノイズ光が受
光された場合には、同様の動作を繰り返して同期状態を
ずらす。このようにして、検知対象物が存在しない場合
における誤検知を防止する。次に、検知対象物が検知さ
れた状態における動作を説明する。この場合には、判別
回路9の出力がハイレベルとなっているので、アンド回
路18を通して比較器12bの出力も図2(f)に示す
ようにノイズ処理回路13に入力される。この場合に
は、ノイズ光の増幅回路6の出力におけるアンダーシュ
ート部もノイズ光の検出対象となる。従って、一旦検知
対象物が検知されると、ノイズ光に対して上述した周期
をずらす動作の感度が上がることになる。このようにす
れば、判別回路9の出力状態が不安定に変化することを
防止できる。
[0021] When the further noise light is received by the rising time, shifting the synchronization state by repeating the same operation. In this way, erroneous detection when no detection target exists is prevented. Next, an operation in a state where the detection target is detected will be described. In this case, since the output of the determination circuit 9 is at the high level, the output of the comparator 12b is also input to the noise processing circuit 13 through the AND circuit 18 as shown in FIG. In this case, the undershoot portion in the output of the noise light amplifying circuit 6 is also a target of noise light detection. Therefore, once the detection target is detected, the sensitivity of the above-described operation of shifting the cycle with respect to the noise light increases. In this way, it is possible to prevent the output state of the determination circuit 9 from changing unstably.

【0022】また、上述のように検知対象物が存在しな
い場合においては、発光周期の同期をずらす動作を比較
器12aの出力だけで行うことにより、パルス信号の立
上りの周期で発振回路3のパルス信号の出力することを
停止し、その後にノイズ光の有無に関係なくカウンタ1
4のカウント値で決まる周期で、パルス信号を出力する
という不安定な動作を極力少なくすることができる。
When the object to be detected does not exist as described above, the operation of shifting the synchronization of the light emission cycle is performed only by the output of the comparator 12a, so that the pulse of the oscillation circuit 3 is generated at the rising cycle of the pulse signal. Stops outputting the signal, and then sets the counter 1 regardless of the presence or absence of noise light.
An unstable operation of outputting a pulse signal at a cycle determined by the count value of 4 can be minimized.

【0023】なお、上記動作は図3に示すフローチャー
トに示す処理によっても実行でき、従ってノイズの処理
部を論理演算回路で構成し、ソフト的に処理するように
してもよい。
The above operation can also be executed by the processing shown in the flowchart of FIG. 3. Therefore, the noise processing section may be constituted by a logical operation circuit, and may be processed by software.

【0024】[0024]

【発明の効果】本発明は上述のように、発生周期が可変
自在なパルス信号を発生するパルス発生手段と、上記パ
ルス信号に応じてパルス光を投光する投光手段と、この
投光手段からのパルス光を受光してパルス信号の発生周
期に同期して検波を行う受光手段と、パルス信号の発生
時における受光出力からノイズ光の有無を検知するノイ
ズ検知手段と、このノイズ検知手段によるノイズ光の検
知結果に応じて上記パルス発生手段から出力されるパル
ス光の発生周期を可変する周期可変手段と、受光手段の
出力から検知対象物の有無を判別する判別手段とを備
え、上記ノイズ検知手段がパルス信号の立上りと立下り
時点とでノイズ光の有無を検知し、立下り時点にノイズ
光が検知されると、周期可変手段がパルス発生手段から
のパルス信号の発生周期を長くするように制御すると共
に、立上り時点でノイズ光が検知されると、周期可変手
段がパルス発生手段からのパルス信号の発生を一旦停止
させ、立下り時点にノイズ光が検知された場合よりさら
にパルス信号の発生周期を長くした周期でパルス信号を
発生させ、上記判別手段で検知対象物が検知されていな
い場合と、検知対象物が検知された場合とで、ノイズ検
知手段のノイズ検知感度を変更しているので、検知対象
物が存在しない場合に、外来のノイズ光を発するノイズ
源が多数存在する場合や、上記光電スイッチよりもパル
ス光の投光周期が短い異機種の光電スイッチがノイズ源
である場合に、一旦パルス光の投光を停止し、さらに投
光周期を長くした時点でパルス光の投光を開始するとい
う動作が多く行われることを防止でき、不安定な動作状
態を回避して誤動作を少なくできる。
As described above, the present invention provides a pulse generating means for generating a pulse signal having a variable generation period, a light emitting means for emitting a pulse light in accordance with the pulse signal, and a light emitting means. A light receiving means for receiving the pulse light from the light source and detecting the light in synchronization with a generation cycle of the pulse signal; a noise detecting means for detecting the presence or absence of the noise light from a light receiving output at the time of generating the pulse signal; A period varying unit that varies a generation period of the pulse light output from the pulse generation unit in accordance with a detection result of the noise light; and a determination unit that determines presence or absence of a detection target from an output of the light receiving unit. detecting means detects the presence or absence of the noise light in the rising and falling <br/> time of the pulse signal, the noise light to the falling time is detected, the period changing means is a pulse signal from the pulse generating means While controlling so as to lengthen the live cycle, when noise light is detected at the rising point, the cycle variable means temporarily stops the generation of the pulse signal from the pulse generating means, and the noise light is detected at the falling time. A pulse signal is generated at a period that is longer than the generation period of the pulse signal , and noise detection is performed when the detection target object is not detected by the above-described determination means and when the detection target object is detected.
Since the noise detection sensitivity of the informing means is changed, when there is no detection target, there are many noise sources emitting extraneous noise light, or the light emission cycle of pulse light is shorter than that of the photoelectric switch. When a different type of photoelectric switch is a noise source, it is possible to prevent the operation of stopping the light emission of the pulse light once and starting the light emission of the pulse light when the light emission cycle is further extended. In addition, an unstable operation state can be avoided to reduce malfunctions.

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

【図1】本発明の一実施例の回路構成を示すブロック図
である。
FIG. 1 is a block diagram showing a circuit configuration of an embodiment of the present invention.

【図2】同上の動作説明図である。FIG. 2 is an operation explanatory view of the above.

【図3】同上の要部の処理をソフトで実行させた場合の
フローチャートである。
FIG. 3 is a flowchart in a case where processing of a main part of the above is executed by software.

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

3 発振回路 4 投光部 9 判別回路 11 受光部 12a,12b 比較器 13 ノイズ処理回路 17 周期変更手段 18 アンド回路 19 ノイズ処理手段 Reference Signs List 3 oscillation circuit 4 light emitting section 9 discriminating circuit 11 light receiving section 12a, 12b comparator 13 noise processing circuit 17 period changing means 18 AND circuit 19 noise processing means

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 発生周期が可変自在なパルス信号を発生
するパルス発生手段と、上記パルス信号に応じてパルス
光を投光する投光手段と、この投光手段からのパルス光
を受光してパルス信号の発生周期に同期して検波を行う
受光手段と、パルス信号の発生時における受光出力から
ノイズ光の有無を検知するノイズ検知手段と、このノイ
ズ検知手段によるノイズ光の検知結果に応じて上記パル
ス発生手段から出力されるパルス光の発生周期を可変す
る周期可変手段と、受光手段の出力から検知対象物の有
無を判別する判別手段とを備え、上記ノイズ検知手段が
パルス信号の立上りと立下り時点とでノイズ光の有無を
検知し、立下り時点にノイズ光が検知されると、周期可
変手段がパルス発生手段からのパルス信号の発生周期を
長くするように制御すると共に、立上り時点でノイズ光
が検知されると、周期可変手段がパルス発生手段からの
パルス信号の発生を一旦停止させ、立下り時点にノイズ
光が検知された場合よりさらにパルス信号の発生周期を
長くした周期でパルス信号を発生させ、上記判別手段で
検知対象物が検知されていない場合と、検知対象物が検
知された場合とで、ノイズ検知手段のノイズ検知感度を
変更して成ることを特徴とする光電スイッチ。
1. A pulse generating means for generating a pulse signal having a variable generation period, a light emitting means for emitting a pulse light according to the pulse signal, and a light receiving means for receiving the pulse light from the light emitting means. A light receiving means for detecting in synchronization with a pulse signal generation cycle; a noise detecting means for detecting the presence or absence of noise light from a light receiving output at the time of generation of the pulse signal; and a detecting means for detecting the noise light by the noise detecting means. A period varying unit that varies a generation period of the pulse light output from the pulse generation unit; and a determination unit that determines the presence or absence of a detection target from the output of the light receiving unit. and detecting the presence or absence of noise light in a falling point, noise light falling time is detected, control so that the period changing means is to increase the generation period of the pulse signal from the pulse generating means When the noise light is detected at the rising time, the cycle variable means temporarily stops the generation of the pulse signal from the pulse generating means, and the generation cycle of the pulse signal is further increased than when the noise light is detected at the falling time. A pulse signal is generated at a cycle that is longer than the detection target object.
The noise detection sensitivity of the noise detection means
A photoelectric switch characterized by being changed .
【請求項2】 ノイズ光の受光出力が所定レベル以上の
場合に出力を生じる第1の比較器と、受光出力が負レベ
ルとなったときに出力を生じる第2の比較器と、パルス
信号の立上りと立下り時点でこれら比較器の出力が得ら
れた場合に、ノイズ光が存在すると判定するノイズ処理
回路と、判別手段で検知対象物が検知されていない場合
に、第2の比較器の出力がノイズ処理回路に入力される
ことを阻止し、判別手段で検知対象物が検知された場合
に、第2の比較器の出力をノイズ処理回路に入力させる
入力制御手段とで上記ノイズ検知手段を構成して成るこ
とを特徴とする請求項1記載の光電スイッチ。
2. A first comparator for generating an output when a received light output of noise light is equal to or higher than a predetermined level;
A second comparator that generates an output when the pulse signal becomes high, a noise processing circuit that determines that noise light exists when the outputs of these comparators are obtained at the rise and fall of the pulse signal, Means for preventing the output of the second comparator from being input to the noise processing circuit when the detection target is not detected by the means, and performing the second comparison when the detection target is detected by the determination means. 2. The photoelectric switch according to claim 1, wherein said noise detecting means is constituted by input control means for inputting an output of the detector to a noise processing circuit.
JP13401192A 1992-05-26 1992-05-26 Photoelectric switch Expired - Fee Related JP3351816B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13401192A JP3351816B2 (en) 1992-05-26 1992-05-26 Photoelectric switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13401192A JP3351816B2 (en) 1992-05-26 1992-05-26 Photoelectric switch

Publications (2)

Publication Number Publication Date
JPH05327452A JPH05327452A (en) 1993-12-10
JP3351816B2 true JP3351816B2 (en) 2002-12-03

Family

ID=15118296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13401192A Expired - Fee Related JP3351816B2 (en) 1992-05-26 1992-05-26 Photoelectric switch

Country Status (1)

Country Link
JP (1) JP3351816B2 (en)

Also Published As

Publication number Publication date
JPH05327452A (en) 1993-12-10

Similar Documents

Publication Publication Date Title
JP6590553B2 (en) Photoelectric sensor
US10288765B2 (en) Photoelectric sensor having driving pulse generating unit and control method thereof
US5243181A (en) Noise-insensitive, photoelectric transceiver including a digital stability indicator
JP3351816B2 (en) Photoelectric switch
JP3062265B2 (en) Photoelectric switch
JP3372328B2 (en) Photoelectric sensor
US6600146B2 (en) Photoelectric switches
JP2010041462A (en) Photoelectric switch
JP2550652B2 (en) Photoelectric switch
JP4579704B2 (en) Photoelectric sensor with interference prevention function
JP3341025B2 (en) Photoelectric switch
JPH07209420A (en) Photoelectric sensor
JP2593980B2 (en) Photoelectric smoke detector
JP2515136B2 (en) Reflective photoelectric detector
JP2555674B2 (en) Photoelectric switch
JPH06140901A (en) Photoelectric switch
JP2680977B2 (en) Photoelectric switch
JPH084751Y2 (en) Photoelectric switch
JP2671377B2 (en) Photoelectric switch
JPH0381686A (en) Reflection type human body detecting circuit
JPH0583005B2 (en)
JP3358087B2 (en) Photoelectric switch
JP2002333487A (en) Photoelectric sensor
JPH0346597Y2 (en)
JPH0936725A (en) Photoelectric sensor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020827

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

Free format text: PAYMENT UNTIL: 20080920

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080920

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090920

Year of fee payment: 7

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: 20090920

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees