JPH0422890A - Photoelectric switch circuit - Google Patents

Photoelectric switch circuit

Info

Publication number
JPH0422890A
JPH0422890A JP2127668A JP12766890A JPH0422890A JP H0422890 A JPH0422890 A JP H0422890A JP 2127668 A JP2127668 A JP 2127668A JP 12766890 A JP12766890 A JP 12766890A JP H0422890 A JPH0422890 A JP H0422890A
Authority
JP
Japan
Prior art keywords
light
circuit
pulse
photoelectric switch
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.)
Granted
Application number
JP2127668A
Other languages
Japanese (ja)
Other versions
JP2543615B2 (en
Inventor
Makoto Kawaguchi
誠 川口
Takashi Satoi
里井 孝至
Kunio Oi
大井 邦夫
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 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 US07/697,894 priority patent/US5099113A/en
Priority to EP91304150A priority patent/EP0456482B1/en
Priority to DE69125522T priority patent/DE69125522T2/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

Landscapes

  • Electronic Switches (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Geophysics And Detection Of Objects (AREA)
  • Switches Operated By Changes In Physical Conditions (AREA)

Abstract

PURPOSE:To accurately distinguish projection light from another nearby photoelectric switch by generation a projection light pulse whose period is not fixed and periodically generating the prescribed number of projection light pulses at the time of receiving light by a light reception circuit. CONSTITUTION:When a light reception circuit 6 receives light, a control signal (o) is outputted from a control circuit 4 to fix the period of a projection light pulse (g) during the time of output of a prescribed number of pulses (g). When received light is the noise projected from another photoelectric switch, projection light pulses of projection light pulses of its own projection light pulse and that of another projection light are not synchronized with each other, and the light reception timing does not match with the read timing, and the malfunction due to the noise projected from another photoelectric switch is prevented. When received light is projected from its own light projecting circuit 5, a read clock pulse f2 supplied to a signal processing circuit 8 is synchronized with a light throwing pulse (g) supplied to the light projecting circuit 5, and therefore, the light projected from its own light projecting circuit 5 can be received even after the prescribed number of light projecting pulses (g) are periodically outputted, and accurate detection is possible.

Description

【発明の詳細な説明】 fa)産業上の利用分野 この発明は、パルス変調された光を投光回路から投光し
、この光の受光回路における受光の有無に応じて被検出
物の有無を検出する光電スイッチ回路に関し、特に複数
並設される光電スイッチ回路に関する。
Detailed Description of the Invention fa) Industrial Application Field This invention emits pulse-modulated light from a light emitting circuit, and detects the presence or absence of an object to be detected depending on whether or not this light is received by a light receiving circuit. The present invention relates to a photoelectric switch circuit for detection, and particularly to a plurality of photoelectric switch circuits arranged in parallel.

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

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

(C)発明が解決しようとする課題 しかしながら、上記従来の光電スイッチにおいても同じ
種類の光電スイ・7チを複数個並設した場合には、近接
する複数の光電スイッチにおいて投光パルスの周波数が
同一になり、複数の光電スイッチに対する電源の投入タ
イミングが近接していると投光パルス波形の位相も接近
する場合があり、このような場合には一つの光電スイッ
チの受光タイミングが近接する他の光電スイッチの受光
タイミングにほぼ一致し、受光した光が他の光電スイッ
チから投光されたノイズであることを検出できず、誤動
作の発生を免れることはできなかったこの発明の目的は
、周期が一定でない投光パルスを発生するとともに、受
光回路が光を受光した際に所定数の投光パルスを一定の
周期で発生させることにより、他の光電スイッチから投
光された光を自己の受光タイミングに非常に似かよった
タイミングで受光した場合にもその光がノイズであるこ
とを正確に検出できるようにし、誤検出を確実に防止で
きる光電スイッチを提供することにある。
(C) Problems to be Solved by the Invention However, even in the conventional photoelectric switch described above, when multiple photoelectric switches of the same type are installed in parallel, the frequency of the light emitting pulse in the multiple photoelectric switches in the vicinity is If the power-on timings for multiple photoelectric switches are the same and the power-on timings for multiple photoelectric switches are close to each other, the phases of the emitted light pulse waveforms may also be close to each other. The purpose of this invention is to eliminate the possibility of malfunctions because the received light almost coincides with the light reception timing of the photoelectric switch and cannot detect that the received light is noise emitted from another photoelectric switch. By generating non-constant light emitting pulses and generating a predetermined number of light emitting pulses at regular intervals when the light receiving circuit receives light, the light emitted from other photoelectric switches can be adjusted to its own light receiving timing. To provide a photoelectric switch which can accurately detect that light is noise even when the light is received at a timing very similar to that of , and can reliably prevent erroneous detection.

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

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

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

例えば、第1図に示すように短周期Taと長周期Tbと
を交互に繰り返えして構成される波形Aの投光パルスが
分周回路から出力されている場合、波形Bに示すように
時間tで3回連続して長周期Tbを出力すると、4回目
以降のパルスは波形Aと波形Bにおいて大きく異なる。
For example, if a light emitting pulse of waveform A consisting of alternating short periods Ta and long periods Tb is output from a frequency dividing circuit as shown in FIG. When the long period Tb is output three times in succession at time t, the waveform A and waveform B of the fourth and subsequent pulses are significantly different.

一方、信号処理回路は投光パルスに同期した読込パルス
に基づいて受光信号を読み込むため、その読込タイミン
グは波形Bに示すものと同一になる。ここで、受光回路
が受光した光が自己の投光回路から投光された光である
場合には波形Bに示すように投光パルスの周期が変化し
た場合にも信号処理回路はこれに同期したタイミングで
受光信号を読み込むため、時間を以鋒においても受光信
号を読み取ることができる。ところが、受光回路が他の
光電スイッチから投光された光を受光していた場合には
投光パルスおよび読込パルスの周期を変更後にも受光回
路には波形へに示す投光パルスが入光することになり、
2個目以降の投光パルスは波形Bに示ず読込タイミング
と大きな差を生じ、信号処理回路は2個目以降の受光信
号を読み込むことがない。このようにして受光回路が他
の光電スイッチから投光された光のみを受光している場
合には投光パルスおよび読込パルスの周期を所定回数一
定にすることにより、その後の受光タイミングが変更前
の受光タイミングに対して差異を生じ、その光電スイッ
チの受光タイミングは他の光電スイッチの投光タイミン
グと大きな誤差を生しることになる。
On the other hand, since the signal processing circuit reads the light reception signal based on the read pulse synchronized with the light projection pulse, the read timing is the same as that shown in waveform B. Here, if the light received by the light receiving circuit is the light emitted from its own light emitting circuit, the signal processing circuit will synchronize with this even if the period of the light emitting pulse changes as shown in waveform B. Since the light reception signal is read at the specified timing, the light reception signal can be read even at a later time. However, if the light receiving circuit is receiving light emitted from another photoelectric switch, the light emitting pulse shown in the waveform will continue to enter the light receiving circuit even after changing the periods of the light emitting pulse and reading pulse. As a result,
The second and subsequent light emitting pulses are not shown in waveform B and have a large difference from the reading timing, and the signal processing circuit does not read the second and subsequent light reception signals. In this way, if the light receiving circuit is receiving only light emitted from other photoelectric switches, by keeping the period of the light emitting pulse and reading pulse constant for a predetermined number of times, the subsequent light receiving timing will be changed before the change. This causes a difference in the light reception timing of the photoelectric switch, and the light reception timing of that photoelectric switch causes a large error with the light emission 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に入力される。
An oscillation circuit 2 driven by a power supply circuit 1 generates a basic clock pulse a. A basic clock pulse a generated in this oscillation circuit 2 is input to a frequency dividing circuit 3.

分周回路3は基本クロックパルスaを分周し、投光パル
スg、読込クロックパルスf2およびリセットパルスg
2を発生する。投光パルスgは投光回路5に供給され、
投光回路5は投光パルスgの周期でパルス変調された光
を投光する。光電スイッチ1)は反射型の光電スイッチ
であり、投光回路5の前方に位置する被検出物10によ
って反射した光を受光回路6によって受光する。
The frequency dividing circuit 3 divides the basic clock pulse a into a light emitting pulse g, a reading clock pulse f2 and a reset pulse g.
Generates 2. The light emitting pulse g is supplied to the light emitting circuit 5,
The light projection circuit 5 emits light that is pulse-modulated with the period of the light projection pulse g. The photoelectric switch 1) is a reflective photoelectric switch, and a light receiving circuit 6 receives light reflected by an object 10 located in front of a light projecting circuit 5.

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

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

発振回路2から出力された基本クロックパルスaは分周
回路3の内部において3段に構成されたD型のフリップ
フロップ21〜23に導かれ分周される。フリップフロ
ップ21〜23のQ出力はエクスクル−シブオア回路2
4〜26を介してオア回路27に導かれる。オア回路2
7の出力eが“″Lルベルになると、フリップフロップ
29のQ出力fが゛I」゛レベルになって、フリ、プフ
ロノブ32のタイマ人力pが切り替わる。このフリップ
フロップ32のタイマ入力が切り替わることによってそ
のQ出力qが切り替わり、アンド回路31から出力され
る投光パルスgの周期が長周期と短周期とに交互に変化
する。この投光パルスgが投光回路5に供給される。
The basic clock pulse a outputted from the oscillation circuit 2 is guided and frequency-divided by D-type flip-flops 21 to 23 configured in three stages inside the frequency dividing circuit 3. The Q outputs of flip-flops 21 to 23 are exclusive OR circuit 2.
4 to 26 to an OR circuit 27. OR circuit 2
When the output e of 7 becomes the "L level", the Q output f of the flip-flop 29 becomes the "I" level, and the timer power p of the Pflo knob 32 is switched. By switching the timer input of this flip-flop 32, its Q output q is switched, and the cycle of the light projection pulse g output from the AND circuit 31 changes alternately 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
から供給される基本クロ・7クバルスaとに基づいて制
御信号0を分周回路3に出力する。
The control circuit 4 receives the light reception signal i of the light reception circuit 6 and the oscillation circuit 2.
A control signal 0 is output to the frequency dividing circuit 3 based on the basic clock signal and the 7 clock signal a supplied from the circuit.

また、制御回路4′は信号処理回路8の中間検出信号に
基づいて制御信号Uを分周回路3に出力する。この制御
部4.4′から出力された制御信号o、uに応じて、分
周回路3は投光パルスgの分周周期を変える。即ち、制
御信号0が°“H”レベル時には投光パルスgの分周周
期を長周期とし、制御信号Uが“Lパレベル時には分周
周期を短周期とする。したがって、制御信号0が゛°L
′″レヘルでレベ、制御信号Uが“Ho“レベルである
通常の状態では分周回路3は投光パルスgとして長周期
と短周期とを交互に繰り返すが、制御信号0が“Hパレ
ベルの間には長周期の投光パルスを連続して出力する。
Further, the control circuit 4' outputs the control signal U to the frequency dividing circuit 3 based on the intermediate detection signal of the signal processing circuit 8. The frequency dividing circuit 3 changes the frequency dividing period of the light emitting pulse g according to the control signals o and u output from the control section 4.4'. That is, when the control signal 0 is at the "H" level, the division period of the light emitting pulse g is set to a long period, and when the control signal U is at the "L" level, the division period is set to a short period. L
Under normal conditions, when the control signal U is at the Ho level, the frequency dividing circuit 3 alternately repeats long and short periods as the light emitting pulse g, but when the control signal 0 is at the Ho level, In between, long-period light emitting pulses are continuously output.

また、制御信号Uが“L”レベルの時には短周期の投光
パルスを連続して出力する第4図〜第7図は、L記光電
スイッチ回路の各点における信号波形のタイミングチャ
ートである光電スイッチ1)の前方に被検出物10が位
置せず、受光回路6が投光回路5から投光された光を受
光しておらず、また他の光電スイッチからのノイズも受
光していない状態では、信号処理回路8から制御回路4
′への入力信号がなく、制御回路4′から出力される制
御信号Uは“L′″レベルのままである。また、受光回
路6から出力される受光パルス信号iは゛L゛ルベルの
ままで、制御回路4が有するフリップフロップ41.4
2の出力l1mも゛°L゛レベルのままになる。このた
め、制御回路4のオア回路48から出力される制御信号
0も゛L″レベルのままとなり、分周回路3のフリップ
フロップ32にはフリップフロップ29の出力fがその
まま入力され、この出力fによってフリップフロップ3
2の出力qおよびrが反転する。この結果、投光回路5
に人力される投光パルスgの波形は、長周期と短周期と
が交互に繰り返される形となる。
Furthermore, when the control signal U is at the "L" level, short-period light projection pulses are continuously output. A state in which the object to be detected 10 is not located in front of the switch 1), the light receiving circuit 6 is not receiving the light emitted from the light projecting circuit 5, and the noise from other photoelectric switches is not being received. Now, from the signal processing circuit 8 to the control circuit 4
There is no input signal to the control circuit 4', and the control signal U output from the control circuit 4' remains at the "L" level. Further, the light receiving pulse signal i output from the light receiving circuit 6 remains at the "L" level, and the flip-flop 41.4 of the control circuit 4
The output l1m of No. 2 also remains at the "°L" level. Therefore, the control signal 0 output from the OR circuit 48 of the control circuit 4 also remains at the "L" level, and the output f of the flip-flop 29 is inputted as is to the flip-flop 32 of the frequency dividing circuit 3, and this output f flip flop 3 by
The outputs q and r of 2 are inverted. As a result, the light emitting circuit 5
The waveform of the light emitting pulse g manually inputted is such that long periods and short periods are alternately repeated.

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

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

以上のように受光回路6が光を受光した際に制御回路4
から制御信号0を出力して投光パルスgの周期が所定回
数一定にされる。これによって、受光した光が他の光電
スイッチから投光されたノイズである場合には自他の投
光パルスが同期することがなく、受光タイミングが読込
タイミングに一致しなくなって他の光電スイッチから投
光されたノイズによって誤動作を生しることがない。ま
た、受光した光が自己の投光回路5から投光された光で
ある場合には、信号処理回路8に供給される読込クロッ
クパルスf2が投光回路5に供給される投光パルスgに
同期するため、所定数−足間0で投光パルスgが出力さ
れた後にも自己の投光回路から投光された光を受光する
ことかできる。
As described above, when the light receiving circuit 6 receives light, the control circuit 4
A control signal 0 is outputted from the control signal generator 1 to make the period of the light emitting pulse g constant for a predetermined number of times. As a result, if the received light is noise emitted from another photoelectric switch, the emitted light pulses of the self and other photoelectric switches will not be synchronized, and the light reception timing will no longer match the reading timing, causing the light emitted from other photoelectric switches to No malfunctions will occur due to noise from the projected light. In addition, when the received light is the light projected from the own light projection circuit 5, the read clock pulse f2 supplied to the signal processing circuit 8 becomes the light projection pulse g supplied to the light projection circuit 5. Because of synchronization, it is possible to receive the light projected from its own light projection circuit even after the light projection pulse g is output with a predetermined number of legs equal to 0.

また、第6図に示す例では、信号処理回路8か複数個の
受光信号を連続して読み取った際Qここの信号処理回路
8から制御回路4′に信号が入力されるようにし、この
信号を受けて制御回路4′から制御信号Uを分周回路3
に出力するようにしたものである。ここで信号処理回路
8から制御回路4′に信号が入力されるまでに必要な受
光信号の連続読取個数は、信号処理回路8から検出信号
tが出力されるまでに必要な連続読取回数よりも少ない
値である。このようにすることにより、例えば、信号処
理回路8に連続して6個の受光信号が入力された際に制
御信号Uが“L”レベルとなるようにすると、最初の受
光時間を以後7回目および8回目の投光パルスgt、g
sは短周期となり、受光した光が他の光電スイッチによ
って投光されたノイズである場合には、自他の投光パル
スが同期し2なくなる。このため、信号処理回路8にお
ける読込クロックパルスが受光回路6における受光タイ
ミングに同期しなくなり、信号処理回路8には連続して
8個の受信信号iが入力されず、検出信号tは出力され
ない。なお、制御信号Uが°“L゛レヘルなるために信
号処理回路8に入力されるべき受光信号の数は、信号処
理回路8から検出信号tが出力されるまでに必要な連続
読取回数よりも少ない任意の値を選択できる。
In addition, in the example shown in FIG. 6, when the signal processing circuit 8 successively reads a plurality of received light signals, the signal is inputted from the signal processing circuit 8 here to the control circuit 4'. In response, the control signal U is sent from the control circuit 4' to the frequency dividing circuit 3.
It is designed to output to . Here, the number of consecutive readings of the light reception signal required until the signal is inputted from the signal processing circuit 8 to the control circuit 4' is greater than the number of consecutive readings required until the detection signal t is output from the signal processing circuit 8. It is a small value. By doing this, for example, if the control signal U is set to "L" level when six light reception signals are input to the signal processing circuit 8 in succession, the seventh light reception time after the first light reception time is set. and the 8th light emission pulse gt, g
s has a short period, and if the received light is noise emitted by another photoelectric switch, the light emitted pulses of the self and other photoelectric switches are synchronized and disappear. For this reason, the read clock pulse in the signal processing circuit 8 is no longer synchronized with the light reception timing in the light receiving circuit 6, the eight received signals i are not continuously input to the signal processing circuit 8, and the detection signal t is not output. Note that the number of light reception signals that should be input to the signal processing circuit 8 in order for the control signal U to reach the L level is greater than the number of consecutive readings required until the detection signal t is output from the signal processing circuit 8. You can select any smaller value.

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

以上説明したように、受光回路6が光を受光した際に投
光パルスの周期を一定にすることにより、近接する同一
種類の別の光電スイフチの投光タイミングが自己の投光
回路の投光タイミングに同期しないようにし、自己の投
光回路から投光された光のみを正確に検出することがで
きる。
As explained above, by making the period of the light emitting pulse constant when the light receiving circuit 6 receives light, the light emitting timing of another nearby photoelectric switch of the same type can be adjusted to match the light emitting timing of the 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 this embodiment, the frequency dividing circuit 3 outputs a light emitting pulse and a light receiving pulse in which a long period and a short period are alternately repeated, but a long period, a medium period, and a short period are alternately repeated. It may be one that outputs pulses,
Alternatively, a light emitting/light receiving pulse of a predetermined length may be configured with a plurality of irregularly changing periods.

(g1発明の効果 この発明によれば、信号処理回路における受光信号の読
込数以下の一定数の受光信号が受光回路から出力された
際に、分周回路の分周周期を所定同数一定にすることが
できる。これによって受光回路が受光した光が近接する
他の光電スイッチから投光された光である場合には、自
他の投光タイミングの同期を外すことができ、信号処理
回路に他の光電スイッチから投光された光の受光信号が
一定数連続して読み込まれず、この場合には検出信号は
出力されない。一方、受光回路が受光した光が自己の投
光回路から投光された光である場合には、分周回路の分
周周期が所定回数一定にされることによって投光パルス
とともに読込パルスの周期も一定になり、信号処理回路
は自己の投光回路からの光の受光信号を継続的に読み込
むことになり、検出信号を出力する。このように、受光
回路が受光した光が自己の投光回路から投光されたもの
であるか、または近接する別の光電スイッチから投光さ
れたものであるかを正確に判断することができ、同一種
の光電スイッチが複数並設された場合にも、正確な検出
処理を実行できる利点がある。
(g1 Effect of the Invention According to this invention, when a certain number of light reception signals that are less than or equal to the number of light reception signals read in the signal processing circuit are output from the light reception circuit, the frequency dividing period of the frequency dividing circuit is made constant by a predetermined same number. As a result, if the light received by the light receiving circuit is light emitted from another nearby photoelectric switch, it is possible to desynchronize the light emitting timing of the self and other photoelectric switches, and the signal processing circuit A certain number of light reception signals emitted from the photoelectric switch are not read in succession, and in this case no detection signal is output.On the other hand, if the light received by the light receiving circuit is emitted from its own light emitting circuit In the case of light, the frequency division cycle of the frequency dividing circuit is set constant for a predetermined number of times, so that the cycle of the reading pulse as well as the light emission pulse becomes constant, and the signal processing circuit receives light from its own light emission circuit. The signal is continuously read and a detection signal is output.In this way, the light received by the light receiving circuit is either emitted from its own light emitting circuit or from another nearby photoelectric switch. It is possible to accurately determine whether the light has been emitted, and there is an advantage that accurate detection processing can be performed even when a plurality of photoelectric switches of the same type are installed in parallel.

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

第1図はこの発明の作用を示す図である。第2図はこの
発明の実施例である光電スイッチの構成を示すプロ・7
り図、第3図は同光電スイッチの要部の構成を示す回路
図、第4図〜第7図は同光電スイッチの各点における信
号波形のタイミングチャートである。 2−発振回路、3−分周回路、 4−制御回路、5−投光回路、 6−受光回路、8−信号処理回路。
FIG. 1 is a diagram showing the operation of the present invention. Figure 2 shows the configuration of a photoelectric switch that is an embodiment of this invention.
3 is a circuit diagram showing the configuration of the main part of the photoelectric switch, and FIGS. 4 to 7 are timing charts of signal waveforms at each point of the photoelectric switch. 2 - oscillation circuit, 3 - frequency dividing circuit, 4 - control circuit, 5 - light emitting circuit, 6 - light receiving circuit, 8 - signal processing circuit.

Claims (2)

【特許請求の範囲】[Claims] (1)基本クロックパルスを発生する発振回路と、発振
回路が発生した基本クロックパルスを分周して分周周期
が一定でない投光パルスおよびこの投光パルスに同期す
る読込パルスを出力する分周回路と、分周回路から供給
された投光パルスによって駆動される投光回路と、投光
回路から投光された光を受光する受光回路と、分周回路
から供給された読込パルスに基づいて受光回路の受光信
号を読み込み、一定数の受光信号を連続して読み込んだ
際に検出信号を出力する信号処理回路と、受光回路から
前記一定数以下の受光信号が出力された際に分周回路の
分周周期を所定回数一定にする分周周期制御回路と、を
設けたことを特徴とする光電スイッチ回路。
(1) An oscillator circuit that generates basic clock pulses, and a frequency divider that divides the basic clock pulses generated by the oscillator circuit and outputs a light emission pulse whose frequency division cycle is not constant and a read pulse that is synchronized with this light emission pulse. circuit, a light emitter circuit driven by the light emitter pulse supplied from the frequency divider circuit, a light receiver circuit that receives the light emitted from the light emitter circuit, and a read pulse supplied from the frequency divider circuit. A signal processing circuit that reads the light receiving signal of the light receiving circuit and outputs a detection signal when a certain number of light receiving signals are read in succession, and a frequency dividing circuit that outputs a detection signal when the light receiving circuit outputs the light receiving signal of the certain number or less. A photoelectric switch circuit comprising: a frequency division cycle control circuit that keeps the frequency division cycle constant for a predetermined number of times.
(2)前記分周回路が、前記発振回路が発生した基本ク
ロックパルスを分周して長周期と短周期とが交互に繰り
返される投光パルスおよびこの投光パルスに同期する読
込パルスを出力する請求項(1)に記載の光電スイッチ
回路。
(2) The frequency dividing circuit divides the basic clock pulse generated by the oscillation circuit and outputs a light emitting pulse in which a long period and a short period are alternately repeated, and a reading pulse synchronized with this light emitting pulse. The photoelectric switch circuit according to claim (1).
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
US07/697,894 US5099113A (en) 1990-05-11 1991-05-08 Photoelectrical switching circuit with frequency divider circuit
EP91304150A EP0456482B1 (en) 1990-05-11 1991-05-08 Photoelectrical switching circuit
DE69125522T DE69125522T2 (en) 1990-05-11 1991-05-08 Photoelectric 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 true JPH0422890A (en) 1992-01-27
JP2543615B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013164968A (en) * 2012-02-10 2013-08-22 Yokogawa Electric Corp Touch sensor switch of field apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013164968A (en) * 2012-02-10 2013-08-22 Yokogawa Electric Corp Touch sensor switch of field apparatus

Also Published As

Publication number Publication date
JP2543615B2 (en) 1996-10-16

Similar Documents

Publication Publication Date Title
US20060108514A1 (en) Pulse modulation light detection device, electronic apparatus, and pulse modulation light detection method
JPS6051043B2 (en) Photoelectric switch
US5243182A (en) Photoelectric switch including synch timing signal emitter and detector and photoelectric detector system using the same
JP2007129364A (en) Pulse modulation type photodetector and electronic equipment
JPH0422890A (en) Photoelectric switch circuit
JP3945813B1 (en) Photoelectric sensor
JP4286646B2 (en) Photoelectric switch detection method
JP2605033B2 (en) Photoelectric switch
JP2550652B2 (en) Photoelectric switch
JPH06140901A (en) Photoelectric switch
JPH0326019A (en) Photoelectric switch
JP3062265B2 (en) Photoelectric switch
JPH044772B2 (en)
JPH0511683B2 (en)
JPS62161074A (en) Light modulation type detector
JPH05136676A (en) Photoelectric switch
JPH05136678A (en) Photoelectric switch
JPS6291019A (en) Photoelectric switch
JPH0511067A (en) Photoelectric switch
SU1758846A1 (en) Reference frequency generator
JP2555674B2 (en) Photoelectric switch
JPH04311109A (en) Photoelectric switch
JPH04363910A (en) Photoelectric switch and photoelectric switch system
JPH05167417A (en) Photoelectric switch
JPH05142360A (en) Pulse counting circuit

Legal Events

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