JP2543615B2 - Photoelectric switch circuit - Google Patents

Photoelectric switch circuit

Info

Publication number
JP2543615B2
JP2543615B2 JP12766890A JP12766890A JP2543615B2 JP 2543615 B2 JP2543615 B2 JP 2543615B2 JP 12766890 A JP12766890 A JP 12766890A JP 12766890 A JP12766890 A JP 12766890A JP 2543615 B2 JP2543615 B2 JP 2543615B2
Authority
JP
Japan
Prior art keywords
circuit
light
pulse
light receiving
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
JP12766890A
Other languages
Japanese (ja)
Other versions
JPH0422890A (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.)
Idec Izumi Corp
Original Assignee
Idec Izumi Corp
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 Idec Izumi Corp filed Critical Idec Izumi Corp
Priority to JP12766890A priority Critical patent/JP2543615B2/en
Priority to EP91304150A priority patent/EP0456482B1/en
Priority to DE69125522T priority patent/DE69125522T2/en
Priority to US07/697,894 priority patent/US5099113A/en
Priority to EP96114375A priority patent/EP0753939A1/en
Publication of JPH0422890A publication Critical patent/JPH0422890A/en
Application granted granted Critical
Publication of JP2543615B2 publication Critical patent/JP2543615B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 (a)産業上の利用分野 この発明は、パルス変調された光を投光回路から投光
し、この光の受光回路における受光の有無に応じた被検
出物の有無を検出する光電スイッチ回路に関し、特に複
数並設される光電スイッチ回路に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Use The present invention projects pulse-modulated light from a light projecting circuit, and the presence or absence of an object to be detected depending on whether or not the light receiving circuit receives the light. The present invention relates to a photoelectric switch circuit for detecting an electric field, and particularly to a photoelectric switch circuit provided in parallel.

(b)従来の技術 被検出物の有無を検出する際に、複数個の光電スイッ
チを並設した場合、一つの光電スイッチにおいて隣接す
る他の光電スイッチの光を受光してしまい、誤検出を生
じる場合がある。一般に光電スイッチではこのようなノ
イズの影響を除去するため、投光回路に供給する駆動パ
ルス(投光パルス)の位相を変えるとともに、受光部に
おいて自己の投光パルスに同期するゲートを設け、自己
の投光回路から投光された光のみを受光するようにして
いる。ところが、このような光電スイッチでは投光パル
スの周期が似かよっている場合が多く、受光回路におい
てその読取タイミングが他の光電スイッチの投光タイミ
ングに重なる場合があり、他の光電スイッチからの光の
影響を完全に排除することはできなかった。このような
状況を改善するために投光部および受光部の投受光範囲
を狭くするようにしたものがあったが、この場合には光
軸を一致させるために光電スイッチの取付精度が問題に
なり、また衝撃等の作用によって位置ずれを生じた場合
には動作が不安定になる。また、複数の光電スイッチに
おいて投光タイミングを順次ずらすようにしたものがあ
ったが、このような構成では外付けの制御手段が必要と
なり、構成が複雑で制御手段と各光電スイッチとの結線
作業が必要になる問題があった。
(B) Conventional technology When a plurality of photoelectric switches are arranged in parallel when detecting the presence or absence of an object to be detected, one photoelectric switch receives light from another adjacent photoelectric switch, resulting in erroneous detection. May occur. In general, in order to eliminate the influence of such noise in photoelectric switches, the phase of the drive pulse (light projection pulse) supplied to the light projecting circuit is changed, and a gate synchronized with its own light projecting pulse is provided in the light receiving section. Only the light emitted from the light projecting circuit is received. However, in such a photoelectric switch, the period of the light emitting pulse is often similar, and the reading timing of the light receiving circuit may overlap the light emitting timing of the other photoelectric switch. The impact could not be completely ruled out. In order to improve such a situation, there has been a device in which the light emitting and receiving areas of the light emitting unit and the light receiving unit are narrowed, but in this case, the mounting accuracy of the photoelectric switch becomes a problem because the optical axes are aligned. In addition, if a displacement occurs due to an impact or the like, the operation becomes unstable. In addition, although there are some photoelectric switches in which the light emission timings are sequentially shifted, such a configuration requires an external control means, and the configuration is complicated, and wiring work between the control means and each photoelectric switch is performed. There was a problem that required.

そこで、特公昭60−51043号公報に開示された光電ス
イッチでは、他の光電スイッチからのノイズを受光した
場合に、基本クロックパルスを発生する発振器のパルス
周期を長くまたは短くするように変えることにより、他
の光電スイッチの投光パルスが自己の投光パルスと多数
回に渡って重なることを回避し、受光回路における誤検
出を防止するようにしていた。
Therefore, in the photoelectric switch disclosed in Japanese Patent Publication No. 60-51043, by changing the pulse period of the oscillator that generates the basic clock pulse to be longer or shorter when noise from another photoelectric switch is received. The light emitting pulse of the other photoelectric switch is prevented from overlapping with its own light emitting pulse a number of times to prevent erroneous detection in the light receiving circuit.

(c)発明が解決しようとする課題 しかしながら、上記従来の光電スイッチにおいても同
じ種類の光電スイッチを複数個並設した場合には、近接
する複数の光電スイッチにおいて投光パルスの周波数が
同一になり、複数の光電スイッチに対する電源の投入タ
イミングが近接していると投光パルス波形の位相も接近
する場合があり、このような場合には一つの光電スイッ
チの受光タイミングが近接する他の光電スイッチの受光
タイミングにほぼ一致し、受光した光が他の光電スイッ
チがら投光されたノイズであることを検出できず、誤動
作の発生を免れることはできなかった。
(C) Problems to be Solved by the Invention However, even in the conventional photoelectric switch described above, when a plurality of photoelectric switches of the same type are arranged in parallel, the frequencies of the light projection pulses are the same in a plurality of adjacent photoelectric switches. , If the power-on timings of a plurality of photoelectric switches are close to each other, the phase of the light-emission pulse waveform may be close to each other. In such a case, the light-receiving timing of one photoelectric switch is close to that of another photoelectric switch. It was almost impossible to detect that the received light was almost coincident with the light receiving timing, the received light was noise emitted from another photoelectric switch, and a malfunction occurred.

この発明の目的は、周期が一定でない投光パルスを発
生するとともに、受光回路が光を受光した際に所定数の
投光パルスを一定の周期で発生させることにより、他の
光電スイッチから投光された光を自己の受光タイミング
に非常に似かよったタイミングで受光した場合にもその
光がノイズであることを正確に検出できるようにし、誤
検出を確実に防止できる光電スイッチを提供することに
ある。
An object of the present invention is to generate a light emitting pulse having a non-constant period, and to generate a predetermined number of light emitting pulses at a constant period when a light receiving circuit receives light, so that another photoelectric switch emits light. Even if the received light is received at a timing that is very similar to its own reception timing, it is possible to accurately detect that the light is noise and to provide a photoelectric switch that can reliably prevent erroneous detection. .

(d)課題を解決するための手段 この発明の光電スイッチ回路は、基本クロックパルス
を発生する発振回路と、発振回路が発生した基本クロッ
クパルスを分周して分周周期が一定でない投光パルスお
よびこの投光パルスに同期する読込パルスを出力する分
周回路と、分周回路から供給された投光パルスによって
駆動される投光回路と、投光回路から投光された光を受
光する受光回路と、分周回路から供給された読込パルス
に基づいて受光回路の受光信号を読み込み、一定数の受
光信号を連続して読み込んだ際に検出信号を出力する信
号処理回路と、受光回路から前記一定数以下の受光信号
が出力された際に分周回路の分周周期を所定回数一定に
する分周周期制御回路と、を設けたことを特徴とする。
(D) Means for Solving the Problems The photoelectric switch circuit according to the present invention includes an oscillation circuit that generates a basic clock pulse, and a light projection pulse whose frequency division cycle is not constant by dividing the basic clock pulse generated by the oscillation circuit. And a frequency dividing circuit for outputting a read pulse synchronized with the light emitting pulse, a light emitting circuit driven by the light emitting pulse supplied from the frequency dividing circuit, and a light receiving device for receiving the light emitted from the light emitting circuit. Circuit, a signal processing circuit that reads the light receiving signal of the light receiving circuit based on the read pulse supplied from the frequency dividing circuit, and outputs a detection signal when a fixed number of light receiving signals are continuously read, And a frequency division period control circuit for making the frequency division period of the frequency division circuit constant a predetermined number of times when a light reception signal of a certain number or less is output.

また、上記分周回路は、長周期と短周期とを交互に繰
り返すものであってもよい。
Further, the frequency dividing circuit may alternately repeat a long cycle and a short cycle.

(e)作用 この発明においては、基本クロックパルスを分周して
分周周期が一定でない投光パルスを発生し、この投光パ
ルスに同期した読込パルスに基づいて受光回路の受光信
号が読み込まれる。そして、この受光信号を一定数連続
して読み込んだ際に信号処理回路から検出信号が出力さ
れる。この受信信号の読み込みに際し、前記一定数以下
の受光信号を読み込んだ時に、分周回路からは一定周期
の投光パルスが複数回出力される。
(E) Operation In the present invention, the basic clock pulse is divided to generate a light emitting pulse having a non-constant frequency division period, and the light receiving signal of the light receiving circuit is read based on the read pulse synchronized with this light emitting pulse. . Then, when a predetermined number of the received light signals are continuously read, a detection signal is output from the signal processing circuit. In reading the received signal, when the light receiving signals of a certain number or less are read, the frequency dividing circuit outputs a plurality of light emitting pulses of a certain period.

例えば、第1図に示すように短周期Taと長周期Tbとを
交互に繰り返えして構成される波形Aの投光パルスが分
周回路から出力されている場合、波形Bに示すように時
間tで3回連続して長周期Tbを出力すると、4回目以降
のパルスは波形Aと波形Bにおいて大きく異なる。一
方、信号処理回路は投光パルスに同期して読込パルスに
基づいて受光信号を読み込むため、その読込タイミング
は波形Bに示すものと同一になる。ここで、受光回路が
受光した光が自己の投光回路から投光された光である場
合には波形Bに示すように投光パルスの周期が変化した
場合にも信号処理回路はこれに同期したタイミングで受
光信号を読み込むため、時間t以降においても受光信号
を読み取ることができる。ところが、受光回路が他の光
電スイッチから投光された光を受光していた場合には投
光パルスおよび読込パルスの周期を変更後にも受光回路
には波形Aに示す投光パルスが入光することになり、2
個目以降の投光パルスは波形Bに示す読込タイミングと
大きな差を生じ、信号処理回路は2個目以降の受光信号
を読み込むことがない。このようにして受光回路が他の
光電スイッチから投光された光のみを受光している場合
には投光パルスおよび読込パルスの周期を所定回数一定
にすることにより、その後の受光タイミングが変更前の
受光タイミングに対して差異を生じ、その光電スイッチ
の受光タイミングは他の光電スイッチの投光タイミング
と大きな誤差を生じることになる。
For example, as shown in FIG. 1, when the light emitting pulse of the waveform A configured by alternately repeating the short period Ta and the long period Tb is output from the frequency dividing circuit, as shown in the waveform B. When the long cycle Tb is continuously output three times at the time t, the pulse after the fourth time greatly differs between the waveform A and the waveform B. On the other hand, since the signal processing circuit reads the light receiving signal based on the read pulse in synchronization with the light emitting pulse, the read timing is the same as that shown in the waveform B. Here, when the light received by the light receiving circuit is the light emitted from its own light emitting circuit, the signal processing circuit synchronizes with this even if the period of the light emitting pulse changes as shown by the waveform B. Since the light reception signal is read at the timing, the light reception signal can be read even after the time t. However, when the light receiving circuit receives light emitted from another photoelectric switch, the light emitting circuit receives the light emitting pulse shown by the waveform A even after changing the periods of the light emitting pulse and the reading pulse. It will be 2
The second and subsequent light projection pulses have a large difference from the read timing shown in the waveform B, and the signal processing circuit does not read the second and subsequent light reception signals. In this way, when the light receiving circuit receives only the light emitted from another photoelectric switch, the period of the light emitting pulse and the reading pulse is made constant for a predetermined number of times so that the light receiving timing thereafter does not change. A difference occurs with respect to the light receiving timing of No. 2, and the light receiving timing of the photoelectric switch has a large error with the light projecting timing of other photoelectric switches.

(f)実施例 第2図は、この発明の実施例である光電スイッチの構
成を示すブロック図である。
(F) Embodiment FIG. 2 is a block diagram showing the configuration of a photoelectric switch which is an embodiment of the present invention.

電源回路1によって駆動される発振回路2は基本クロ
ックパルスaを発生している。この発振回路2において
生じた基本クロックパルスaは分周回路3に入力され
る。分周回路3は基本クロックパルスaを分周し、投光
パルスg、読込クロックパルスf2およびリセットパルス
g2を発生する。投光パルスgは投光回路5に供給され、
投光回路5は投光パルスgの周期でパルス変調された光
を投光する。光電スイッチ11は反射型の光電スイッチで
あり、投光回路5の前方に位置する被検出物10によって
反射した光を受光回路6によって受光する。
The oscillator circuit 2 driven by the power supply circuit 1 generates a basic clock pulse a. The basic clock pulse a generated in the oscillator circuit 2 is input to the frequency divider circuit 3. The frequency dividing circuit 3 divides the basic clock pulse a, and outputs a light emitting pulse g, a read clock pulse f2 and a reset pulse.
Generates g2. The light emitting pulse g is supplied to the light emitting circuit 5,
The light projecting circuit 5 projects light that is pulse-modulated at the cycle of the light projecting pulse g. The photoelectric switch 11 is a reflection type photoelectric switch, and the light receiving circuit 6 receives the light reflected by the detection object 10 located in front of the light projecting circuit 5.

受光回路6は受光した光を電気信号に変換し、受光パ
ルス信号iを出力する。この受光パルス信号iは制御回
路4および信号保持回路7に入力される。信号保持回路
7へ送られた受光パルス信号iは一旦保持され、所定の
波形を有する受光信号kとなる。この受光信号kの波形
は分周回路3から供給されるリセットパルスg2によって
決定される。受光信号kは、分周回路3から供給される
読込クロックパルスf2のタイミングで信号処理回路8に
読み込まれる。信号処理回路8は受信信号kを連続して
複数個検出した時に検出信号tを出力回路9に出力す
る。
The light receiving circuit 6 converts the received light into an electric signal and outputs a light receiving pulse signal i. The received light pulse signal i is input to the control circuit 4 and the signal holding circuit 7. The light receiving pulse signal i sent to the signal holding circuit 7 is once held and becomes a light receiving signal k having a predetermined waveform. The waveform of the received light signal k is determined by the reset pulse g2 supplied from the frequency dividing circuit 3. The received light signal k is read by the signal processing circuit 8 at the timing of the read clock pulse f2 supplied from the frequency dividing circuit 3. The signal processing circuit 8 outputs a detection signal t to the output circuit 9 when a plurality of reception signals k are continuously detected.

第3図は、上記光電スイッチの要部の構成を示す回路
図である。
FIG. 3 is a circuit diagram showing a configuration of a main part of the photoelectric switch.

発振回路2から出力された基本クロックパルスaは分
周回路3の内部において3段に構成されたD型のフリッ
プフロップ21〜23に導かれ分周される。フリップフロッ
プ21〜23のQ出力はエクスクルーシブオア回路24〜26を
介してオア回路27に導かれる。オア回路27の出力eが
“L"レベルになると、フリップフロップ29のQ出力fが
“H"レベルになって、フリップフロップ32のタイマ入力
pが切り替わる。このフリップフロップ32のタイマ入力
が切り替わることによってそのQ出力qが切り替わり、
アンド回路31から出力される投光パルスgの周期が長周
期と短周期とに交互に変化する。この投光パルスgが投
光回路5に供給される。
The basic clock pulse a output from the oscillating circuit 2 is guided inside the frequency dividing circuit 3 to D-type flip-flops 21 to 23 which are configured in three stages and is frequency-divided. The Q outputs of the flip-flops 21-23 are led to the OR circuit 27 via the exclusive OR circuits 24-26. When the output e of the OR circuit 27 becomes "L" level, the Q output f of the flip-flop 29 becomes "H" level, and the timer input p of the flip-flop 32 is switched. By switching the timer input of this flip-flop 32, its Q output q switches,
The cycle of the light projection pulse g output from the AND circuit 31 alternates between a long cycle and a short cycle. This light projection pulse g is supplied to the light projection circuit 5.

制御回路4は受光回路6の受光信号iおよび発振回路
2から供給される基本クロックパルスaとに基づいて制
御信号oを分周回路3に出力する。また、制御回路4′
は信号処理回路8の中間検出信号に基づいて制御信号u
を分周回路3に出力する。この制御部4,4′から出力さ
れた制御信号o,uに応じて、分周回路3は投光パルスg
の分周周期を変える。即ち、制御信号oが“H"レベル時
には投光パルスgの分周周期を長周期とし、制御信号e
が“L"レベル時には分周周期を短周期とする。したがっ
て、制御信号oが“L"レベルであり、制御信号uが“H"
レベルである通常の状態では分周回路3は投光パルスg
として長周期と短周期とを交互に繰り返すが、制御信号
oが“H"レベルの間には長周期の投光パルスを連続して
出力する。また、制御信号uが“L"レベルの時には短周
期の投光パルスを連続して出力する。
The control circuit 4 outputs the control signal o to the frequency dividing circuit 3 based on the light receiving signal i of the light receiving circuit 6 and the basic clock pulse a supplied from the oscillation circuit 2. Also, the control circuit 4 '
Is a control signal u based on the intermediate detection signal of the signal processing circuit 8.
Is output to the frequency dividing circuit 3. In accordance with the control signals o and u output from the control units 4 and 4 ', the frequency dividing circuit 3 outputs the light emission pulse g.
Change the dividing cycle of. That is, when the control signal o is at "H" level, the frequency division cycle of the light projection pulse g is set to a long cycle, and the control signal e
When is “L” level, the frequency division cycle is short. Therefore, the control signal o is at "L" level and the control signal u is at "H".
In the normal state of the level, the frequency dividing circuit 3 outputs the light emitting pulse g.
As a result, a long cycle and a short cycle are alternately repeated, but while the control signal o is at the "H" level, a long cycle light projection pulse is continuously output. Further, when the control signal u is at "L" level, a short-period light emitting pulse is continuously output.

第4図〜第7図は、上記光電スイッチ回路の各点にお
ける信号波形のタイミングチャートである。
4 to 7 are timing charts of signal waveforms at respective points of the photoelectric switch circuit.

光電スイッチ11の前方に被検出物10が位置せず、受光
回路6が投光回路5から投光された光を受光しておら
ず、また他の光電スイッチからのノイズも受光していな
い状態では、信号処理回路8から制御回路4′への入力
信号がなく、制御回路4′から出力される制御信号uは
“L"レベルのままである。また、受光回路6から出力さ
れる受光パルス信号iは“L"レベルのままで、制御回路
4が有するフリップフロップ41,42の出力l,mも“L"レベ
ルのままになる。このため、制御回路4のオア回路48か
ら出力される制御信号oも“L"レベルのままとなり、分
周回路3のフリップフロップ32にはフリップフロップ29
の出力fがそのまま入力され、この出力fによってフリ
ップフロップ32の出力qおよびrが反転する。この結
果、投光回路5に入力される投光パルスgの波形は、長
周期と短周期とが交互に繰り返される形となる。
The detected object 10 is not located in front of the photoelectric switch 11, the light receiving circuit 6 does not receive the light projected from the light projecting circuit 5, and does not receive noise from other photoelectric switches. Then, there is no input signal from the signal processing circuit 8 to the control circuit 4 ', and the control signal u output from the control circuit 4'remains at "L" level. Further, the light receiving pulse signal i output from the light receiving circuit 6 remains at "L" level, and the outputs l and m of the flip-flops 41 and 42 included in the control circuit 4 also remain at "L" level. Therefore, the control signal o output from the OR circuit 48 of the control circuit 4 also remains at the “L” level, and the flip-flop 29 of the frequency dividing circuit 3 is flip-flop 29.
Output f is input as it is, and this output f inverts the outputs q and r of the flip-flop 32. As a result, the waveform of the light projecting pulse g input to the light projecting circuit 5 has a form in which a long cycle and a short cycle are alternately repeated.

光電スイッチ11の前方に被検出物10が位置せず、他の
光電スイッチから投光された光を受光した場合の信号波
形を第5図に示す。同図に示すように、時間tにおいて
3番目の投光パルスgに近接して他の光電スイッチから
のノイズを受光すると受光パルス信号iが生じ、制御回
路4においてフリップフロップ41のQ出力lが“H"レベ
ルになる。このフリップフロップ41の出力lは投光パル
スgの立ち上がりでフリップフロップ42に読み取られ、
そのQ出力mが“H"レベルになる。出力mが“H"レベル
になると、制御信号oも“H"レベルとなり、フリップフ
ロップ32の出力qが“L"レベル、出力rが“H"レベルと
なる。この結果、4回目の投光パルスg2も長周期とな
る。
FIG. 5 shows a signal waveform when the detection object 10 is not located in front of the photoelectric switch 11 and light emitted from another photoelectric switch is received. As shown in the figure, when the noise from another photoelectric switch is received in proximity to the third light emitting pulse g at time t, a light receiving pulse signal i is generated, and the Q output l of the flip-flop 41 in the control circuit 4 is generated. It becomes "H" level. The output l of the flip-flop 41 is read by the flip-flop 42 at the rising edge of the light projection pulse g,
The Q output m becomes "H" level. When the output m becomes "H" level, the control signal o also becomes "H" level, the output q of the flip-flop 32 becomes "L" level and the output r becomes "H" level. As a result, the fourth projection pulse g 2 also has a long cycle.

この4回目の投光パルスg2の直前にもノイズが入光し
ており、出力qの“L"レベルおよび出力rの“H"レベル
が維持される。このため、5回目の投光パルスg3も長周
期となる。この5回目の投光パルスg3の直前にはノイズ
が入光しておらず、出力mは“L"レベルになる。ところ
が、フリップフロップ47の出力mは“H"レベルのままで
あり、制御信号oは“H"レベルを維持し、6回目の投光
パルスg4も長周期となる。ここで、6回目の投光パルス
g4の直前にはノイズが入光していないため、フリップフ
ロップ47の出力mも“L"レベルとなり、制御信号oも
“L"レベルになる。この結果、7回目の投光パルスgは
短周期となり、これ以後ノイズの投光タイミングと異な
るタイミングで自己の投光パルスが出力される。
Immediately before this fourth light projection pulse g 2 , noise is incident, and the “L” level of the output q and the “H” level of the output r are maintained. Therefore, the fifth light projection pulse g 3 also has a long cycle. Immediately before the fifth projection pulse g 3 , noise is not received, and the output m becomes “L” level. However, the output m of the flip-flop 47 remains "H" level, the control signal o maintains "H" level, the sixth light projection pulse g 4 also long period of. Here, the sixth projection pulse
Since noise has not entered immediately before g 4 , the output m of the flip-flop 47 also becomes “L” level and the control signal o also becomes “L” level. As a result, the seventh projection pulse g has a short cycle, and thereafter, the projection pulse of itself is output at a timing different from the timing of noise projection.

以上のように受光回路6が光を受光した際に制御回路
4から制御信号oを出力して投光パルスgの周期が所定
回数一定にされる。これによって、受光した光が他の光
電スイッチから投光されたノイズである場合には自他の
投光パルスが同期することがなく、受光タイミングが読
込タイミングに一致しなくなって他の光電スイッチから
投光されたノイズによって誤動作を生じることがない。
また、受光した光が自己の投光回路5から投光された光
である場合には、信号処理回路8に供給される読込クロ
ックパルスf2が投光回路5に供給される投光パルスgに
同期するため、所定数一定周0で投光パルスgが出力さ
れた後にも自己の投光回路から投光された光を受光する
ことができる。
As described above, when the light receiving circuit 6 receives light, the control circuit 4 outputs the control signal o so that the period of the light projection pulse g is made constant a predetermined number of times. As a result, when the received light is noise emitted from another photoelectric switch, the other light emitting pulses do not synchronize with each other, and the light reception timing does not match the read timing, and the other photoelectric switch does not The emitted noise does not cause a malfunction.
Further, when the received light is the light projected from its own light projecting circuit 5, the read clock pulse f2 supplied to the signal processing circuit 8 becomes the light projecting pulse g supplied to the light projecting circuit 5. Because of the synchronization, the light emitted from the own light emitting circuit can be received even after the light emitting pulse g is output at a constant number of constant cycles of 0.

また、第6図に示す例では、信号処理回路8が複数個
の受光信号を連続して読み取った際にこの信号処理回路
8から制御回路4′に信号が入力されるようにし、この
信号を受けて制御回路4′から制御信号uを分周回路3
に出力するようにしたものである。ここで信号処理回路
8から制御回路4′に信号が入力されるまでに必要な受
光信号の連続読取個数は、信号処理回路8から検出信号
tが出力されるまでに必要な連続読取回数よりも少ない
値である。このようにすることにより、例えば、信号処
理回路8に連続して6個の受光信号が入力された際に制
御信号uが“L"レベルとなるようにすると、最初の受光
時間t以後7回目および8回目の投光パルスg7,g8は短
周期となり、受光した光が他の光電スイッチによって投
光されたノイズである場合には、自他の投光パルスが同
期しなくなる。このため、信号処理回路8における読込
クロックパルスが受光回路6における受光タイミングに
同期しなくなり、信号処理回路8には連続して8個の受
信信号iが入力されず、検出信号tは出力されない。な
お、制御信号uが“L"レベルになるために信号処理回路
8に入力されるべき受光信号の数は、信号処理回路8か
ら検出信号tが出力されるまでに必要な連続読取回数よ
りも少ない任意の値を選択できる。
Further, in the example shown in FIG. 6, when the signal processing circuit 8 continuously reads a plurality of received light signals, a signal is input from the signal processing circuit 8 to the control circuit 4 ', and this signal is transmitted. Upon receiving the control signal u from the control circuit 4 ', the frequency dividing circuit 3
It is designed to be output to. Here, the number of continuous readings of the received light signal required until the signal is input from the signal processing circuit 8 to the control circuit 4'is greater than the number of continuous readings required before the detection signal t is output from the signal processing circuit 8. It is a small value. By doing so, for example, if the control signal u is set to the “L” level when six light receiving signals are continuously input to the signal processing circuit 8, the seventh light receiving time after the first light receiving time t And the eighth light projection pulses g 7 and g 8 have a short cycle, and when the received light is noise projected by another photoelectric switch, the other light projection pulses are not synchronized with each other. Therefore, the read clock pulse in the signal processing circuit 8 is not synchronized with the light receiving timing in the light receiving circuit 6, eight reception signals i are not continuously input to the signal processing circuit 8, and the detection signal t is not output. It should be noted that the number of light receiving signals to be input to the signal processing circuit 8 for the control signal u to be at the “L” level is greater than the number of continuous readings required until the detection signal t is output from the signal processing circuit 8. You can choose any small value.

一方、受光回路6が受光した光が自己の投光回路から
投光した光の被検出物10における反射光であった場合、
第7図に示すように7回目および8回目の受光パルス
g7,g8が短周期で出力されることにともなって受光回路
6が短周期で7個目および8個目の光が入光し、第7番
目および8番目の受光パルス信号i7,i8は短周期で出力
される。これによって第7番目および第8番目の受光信
号k7,k8は、投光パルスg7,g8に同期する読個クロックパ
ルスf2に同期し、信号処理回路8に入力される。このた
め、信号処理回路8は8個の受信信号kを連続して読み
取ることになり、検出信号tを出力する。
On the other hand, when the light received by the light receiving circuit 6 is the light projected from the light projecting circuit of its own, which is reflected by the object to be detected 10,
7th and 8th light receiving pulse as shown in FIG.
Since g 7 and g 8 are output in a short cycle, the light receiving circuit 6 receives the 7th and 8th lights in a short cycle, and the 7th and 8th received light pulse signals i 7 , i 8 is output in a short cycle. As a result, the seventh and eighth light receiving signals k7, k8 are input to the signal processing circuit 8 in synchronization with the reading clock pulse f2 which is in synchronization with the light emitting pulses g7, g8. Therefore, the signal processing circuit 8 continuously reads the eight reception signals k, and outputs the detection signal t.

以上説明したように、受光回路6が光を受光した際に
投光パルスの周期を一定にすることにより、近接する同
一種類の別の光電スイッチの投光タイミングが自己の投
光回路の投光タイミングに同期しないようにし、自己の
投光回路から投光された光のみを正確に検出することが
できる。
As described above, when the light receiving circuit 6 receives light, the period of the light emitting pulse is made constant, so that the light emitting timing of another photoelectric switch of the same type that is adjacent to the light emitting circuit is the light emitting circuit of its own light emitting circuit. It is possible to accurately detect only the light emitted from its own light emitting circuit without synchronizing with the timing.

なお、本実施例では分周回路3は、長周期と短周期と
を交互に繰り返される投光パルスおよび受光パルスを出
力するようにしたが、長周期、中周期および短周期が交
互に繰り返されるパルスを出力するものであってもよ
く、また、不規則に変化する複数の周期で所定長の投光
・受光パルスを構成してもよい。
In the present embodiment, the frequency dividing circuit 3 outputs the light emitting pulse and the light receiving pulse in which the long cycle and the short cycle are alternately repeated, but the long cycle, the middle cycle and the short cycle are alternately repeated. A pulse may be output, or a light projecting / receiving pulse of a predetermined length may be configured with a plurality of irregularly changing periods.

(g)発明の効果 この発明によれば、信号処理回路における受光信号の
読込数以下の一定数の受光信号が受光回路から出力され
た際に、分周回路の分周周期を所定回数一定にすること
ができる。これによって受光回路が受光した光が近接す
る他の光電スイッチから投光された光である場合には、
自他の投光タイミングの同期を外すことができ、信号処
理回路に他の光電スイッチから投光された光の受光信号
が一定数連続して読み込まれず、この場合には検出信号
は出力されない。一方、受光回路が受光した光が自己の
投光回路から投光された光である場合には、分周回路の
分周周期が所定回数一定にされることによって投光パル
スとともに読込パルスの周期も一定になり、信号処理回
路は自己の投光回路からの光の受光信号を継続的に読み
込むことになり、検出信号を出力する。このように、受
光回路が受光した光が自己の投光回路から投光されたも
のであるか、または近接する別の光電スイッチから投光
されたものであるかを正確に判断することができ、同一
種の光電スイッチが複数並設された場合にも、正確な検
出処理を実行できる利点がある。
(G) Effect of the Invention According to the present invention, when a constant number of light receiving signals less than or equal to the number of read light receiving signals in the signal processing circuit is output from the light receiving circuit, the frequency division cycle of the frequency dividing circuit is made constant a predetermined number of times. can do. When the light received by the light receiving circuit is the light projected from another photoelectric switch in the vicinity by this,
It is possible to desynchronize the light emitting timings of the other ones, and the light receiving signals of the light emitted from the other photoelectric switches are not continuously read into the signal processing circuit for a fixed number of times. In this case, no detection signal is output. On the other hand, when the light received by the light receiving circuit is the light emitted from its own light projecting circuit, the frequency of the frequency dividing circuit is kept constant for a predetermined number of times, so that the cycle of the read pulse along with the light projecting pulse. Becomes constant, the signal processing circuit continuously reads the light reception signal of the light from its own light projecting circuit, and outputs the detection signal. In this way, it is possible to accurately determine whether the light received by the light receiving circuit is emitted from its own light emitting circuit or emitted from another nearby photoelectric switch. Even when a plurality of photoelectric switches of the same type are arranged in parallel, there is an advantage that accurate detection processing can be executed.

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

第1図はこの発明の作用を示す図である。第2図はこの
発明の実施例である光電スイッチの構成を示すブロック
図、第3図は同光電スイッチの要部の構成を示す回路
図、第4図〜第7図は同光電スイッチの各点における信
号波形のタイミングチャートである。 2……発振回路、3……分周回路、 4……制御回路、5……投光回路、 6……受光回路、8……信号処理回路。
FIG. 1 is a diagram showing the operation of the present invention. FIG. 2 is a block diagram showing a configuration of a photoelectric switch according to an embodiment of the present invention, FIG. 3 is a circuit diagram showing a configuration of a main part of the photoelectric switch, and FIGS. 4 to 7 are respective diagrams of the photoelectric switch. 7 is a timing chart of signal waveforms at points. 2 ... Oscillation circuit, 3 ... Dividing circuit, 4 ... Control circuit, 5 ... Emitter circuit, 6 ... Light receiving circuit, 8 ... Signal processing circuit.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−198094(JP,A) 特開 昭61−198091(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP 61-198094 (JP, A) JP 61-198091 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】基本クロックパルスを発生する発振回路
と、発振回路が発生した基本クロックパルスを分周して
分周周期が一定でない投光パルスおよびこの投光パルス
に同期する読込パルスを出力する分周回路と、分周回路
から供給された投光パルスによって駆動される投光回路
と、投光回路から投光された光を受光する受光回路と、
分周回路から供給された読込パルスに基づいて受光回路
の受光信号を読み込み、一定数の受光信号を連続して読
み込んだ際に検出信号を出力する信号処理回路と、受光
回路から前記一定数以下の受光信号が出力された際に分
周回路の分周周期を所定回数一定にする分周周期制御回
路と、を設けたことを特徴とする光電スイッチ回路。
1. An oscillating circuit for generating a basic clock pulse, a basic clock pulse generated by the oscillating circuit is frequency-divided, and a light-emission pulse whose frequency division period is not constant and a read pulse synchronized with this light-emission pulse are output. A frequency dividing circuit, a light projecting circuit driven by a light projecting pulse supplied from the frequency dividing circuit, and a light receiving circuit for receiving the light projected from the light projecting circuit,
A signal processing circuit that reads the light receiving signal of the light receiving circuit based on the read pulse supplied from the frequency dividing circuit and outputs a detection signal when a fixed number of light receiving signals are continuously read, and below the fixed number from the light receiving circuit And a frequency division period control circuit that keeps the frequency division period of the frequency division circuit constant a predetermined number of times when the received light signal is output.
【請求項2】前記分周回路が、前記発振回路が発生した
基本クロックパルスを分周して長周期と短周期とが交互
に繰り返される投光パルスおよびこの投光パルスに同期
する読込パルスを出力する請求項(1)に記載の光電ス
イッチ回路。
2. A frequency dividing circuit divides a basic clock pulse generated by the oscillator circuit to generate a light emitting pulse in which a long cycle and a short cycle are alternately repeated and a read pulse synchronized with the light projecting pulse. The photoelectric switch circuit according to claim 1, which outputs.
JP12766890A 1990-05-11 1990-05-16 Photoelectric switch circuit Expired - Fee Related JP2543615B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP12766890A JP2543615B2 (en) 1990-05-16 1990-05-16 Photoelectric switch circuit
EP91304150A EP0456482B1 (en) 1990-05-11 1991-05-08 Photoelectrical switching circuit
DE69125522T DE69125522T2 (en) 1990-05-11 1991-05-08 Photoelectric circuit
US07/697,894 US5099113A (en) 1990-05-11 1991-05-08 Photoelectrical switching circuit with frequency divider circuit
EP96114375A EP0753939A1 (en) 1990-05-11 1991-05-08 Photoelectrical switching circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12766890A JP2543615B2 (en) 1990-05-16 1990-05-16 Photoelectric switch circuit

Publications (2)

Publication Number Publication Date
JPH0422890A JPH0422890A (en) 1992-01-27
JP2543615B2 true JP2543615B2 (en) 1996-10-16

Family

ID=14965769

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12766890A Expired - Fee Related JP2543615B2 (en) 1990-05-11 1990-05-16 Photoelectric switch circuit

Country Status (1)

Country Link
JP (1) JP2543615B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5910818B2 (en) * 2012-02-10 2016-04-27 横河電機株式会社 Touch sensor switch for field devices

Also Published As

Publication number Publication date
JPH0422890A (en) 1992-01-27

Similar Documents

Publication Publication Date Title
US20060108514A1 (en) Pulse modulation light detection device, electronic apparatus, and pulse modulation light detection method
JP2543615B2 (en) Photoelectric switch circuit
JPH09218281A (en) Time-measuring apparatus
JP3945813B1 (en) Photoelectric sensor
JP3678292B2 (en) Radiation pulse mediated sensor
JP3478646B2 (en) Photoelectric switch and photoelectric switch system
JPH0448286B2 (en)
JPH05175818A (en) Photoelectric switch
JPH0326019A (en) Photoelectric switch
JPH0511683B2 (en)
JPH044772B2 (en)
US11892568B2 (en) Depth map sensor with bin rotation
JPH06140901A (en) Photoelectric switch
US5381389A (en) Timekeeping system for timing of a start signal
JP3572464B2 (en) Phase difference measuring device and light shielding plate control device in lightwave distance meter
JP3062265B2 (en) Photoelectric switch
JP3341025B2 (en) Photoelectric switch
JP3354210B2 (en) Photoelectric switch
JPS6291019A (en) Photoelectric switch
JP2550652B2 (en) Photoelectric switch
JP2555674B2 (en) Photoelectric switch
JPS6259879A (en) Photoelectric signal processing circuit
JPS62161074A (en) Light modulation type detector
JPH05167417A (en) Photoelectric switch
JPH0511067A (en) Photoelectric switch

Legal Events

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