JP2018056975A - Photoelectric sensor - Google Patents

Photoelectric sensor Download PDF

Info

Publication number
JP2018056975A
JP2018056975A JP2016194852A JP2016194852A JP2018056975A JP 2018056975 A JP2018056975 A JP 2018056975A JP 2016194852 A JP2016194852 A JP 2016194852A JP 2016194852 A JP2016194852 A JP 2016194852A JP 2018056975 A JP2018056975 A JP 2018056975A
Authority
JP
Japan
Prior art keywords
light
light receiving
pulse
patterns
pattern
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
JP2016194852A
Other languages
Japanese (ja)
Other versions
JP6785111B2 (en
Inventor
藤井 隆志
Takashi Fujii
隆志 藤井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Industrial Devices SUNX Co Ltd
Original Assignee
Panasonic Industrial Devices SUNX Co 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 Panasonic Industrial Devices SUNX Co Ltd filed Critical Panasonic Industrial Devices SUNX Co Ltd
Priority to JP2016194852A priority Critical patent/JP6785111B2/en
Priority to DE102017122604.4A priority patent/DE102017122604A1/en
Priority to CN201721290765.9U priority patent/CN207408609U/en
Publication of JP2018056975A publication Critical patent/JP2018056975A/en
Application granted granted Critical
Publication of JP6785111B2 publication Critical patent/JP6785111B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/941Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated using an optical detector
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V8/00Prospecting or detecting by optical means
    • G01V8/10Detecting, e.g. by using light barriers
    • G01V8/12Detecting, e.g. by using light barriers using one transmitter and one receiver
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V8/00Prospecting or detecting by optical means
    • G01V8/10Detecting, e.g. by using light barriers
    • G01V8/20Detecting, e.g. by using light barriers using multiple transmitters or receivers
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K2217/00Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00
    • H03K2217/94Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated
    • H03K2217/941Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated using an optical detector
    • H03K2217/94102Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated using an optical detector characterised by the type of activation
    • H03K2217/94104Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated using an optical detector characterised by the type of activation using a light barrier
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K2217/00Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00
    • H03K2217/94Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated
    • H03K2217/941Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated using an optical detector
    • H03K2217/94116Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated using an optical detector increasing reliability, fail-safe

Landscapes

  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Geophysics (AREA)
  • Geophysics And Detection Of Objects (AREA)
  • Electronic Switches (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a photoelectric sensor that can suppress interference with other machine in a case when a plurality of photoelectric sensors is used being closer to each other.SOLUTION: A light projecting unit has a plurality of light projecting patterns A1-A3, and projects detected light using one light projecting pattern thereof. And a light receiving unit has a plurality of light receiving patterns composed of the same pulse patterns as the plurality of light projecting patterns A1-A3 respectively, and detects light received using one light receiving pattern thereof. A pulse group period T1 of a first light projecting pattern A1 is set shorter than an edge interval E2 in a second pulse group Pg2. And a pulse group period T2 of a second light projecting pattern A2 is set shorter than an edge interval E3 in a third pulse group Pg3.SELECTED DRAWING: Figure 4

Description

本発明は、光電センサに関するものである。   The present invention relates to a photoelectric sensor.

従来、例えば特許文献1に示されるように、光電センサは、間欠的なパルス状の検出光を所定の周期で繰り返し投光する投光部と、投光部からのパルス光を検出する受光部とを備え、受光部での検出光の検出・非検出に基づいて被検出物の有無を検出する。   Conventionally, for example, as disclosed in Patent Document 1, a photoelectric sensor includes a light projecting unit that repeatedly projects intermittent pulsed detection light at a predetermined period, and a light receiving unit that detects pulsed light from the light projecting unit. And detecting the presence / absence of an object to be detected based on detection / non-detection of detection light at the light receiving unit.

特開2008−298655号公報JP 2008-298655 A

複数台の光電センサを近づけて使用する状況下において、他機からの検出光によって誤検出が生じる問題がある。
本発明は、上記課題を解決するためになされたものであって、その目的は、複数台の光電センサを近づけて使用する場合における他機との干渉を抑制できる光電センサを提供することにある。
In a situation where a plurality of photoelectric sensors are used in close proximity, there is a problem that erroneous detection occurs due to detection light from another device.
The present invention has been made to solve the above-described problems, and an object thereof is to provide a photoelectric sensor that can suppress interference with other devices when a plurality of photoelectric sensors are used close to each other. .

上記課題を解決する光電センサは、3つ以上のパルスからなるパルス群を一定周期で繰り返すパルスパターンであって、前記パルス群における最初のパルスの立ち上がりから最後のパルスの立ち下がりまでのパルス群期間が互いに異なり、かつ、前記パルス群の前記一定周期が互いに同一である複数の投光パターンを有し、それらのうちの1つの投光パターンで投光する投光部と、前記複数の投光パターンとそれぞれ同一のパルスパターンからなる複数の受光パターンを有し、それらのうちの1つの受光パターンで受光した光を検出する受光部とを備え、前記パルス群におけるパルスの立ち下がりエッジから次のパルスの立ち上がりエッジまでの間隔をエッジ間隔として、前記複数の投光パターンの各々の前記パルス群期間は、自身よりもパルス群期間が長い投光パターンのパルス群の前記各エッジ間隔よりも短く設定されている。   A photoelectric sensor that solves the above problem is a pulse pattern in which a pulse group composed of three or more pulses is repeated at a constant cycle, and a pulse group period from the rising edge of the first pulse to the falling edge of the last pulse in the pulse group Are different from each other, and have a plurality of light projection patterns having the same fixed period of the pulse group, and a light projecting unit that projects light using one of the light projection patterns, and the plurality of light projections A plurality of light receiving patterns each having the same pulse pattern as the pattern, and a light receiving unit for detecting light received by one of the light receiving patterns, and from the falling edge of the pulse in the pulse group to the next The interval between the rising edges of the pulses is defined as the edge interval, and the pulse group period of each of the plurality of projection patterns is more than the self. Scan group period is set shorter than each edge interval of the pulse groups of a long projection pattern.

この構成によれば、複数台の光電センサを近づけて使用する場合に、各光電センサの対となる投光部及び受光部において、互いに対応する投光パターン及び受光パターンを設定し、かつ、光電センサ毎に設定する投光パターン及び受光パターンを異ならせることで、他機との干渉を抑制できる。また、各投光パターン及び各受光パターンのパルスパターンにおいて、パルス群の繰り返しの周期が互いに同一であるため、複数の光電センサ毎に設定する投光パターン及び受光パターンを異ならせても、各光電センサの応答速度を一定とすることが可能となる。   According to this configuration, when a plurality of photoelectric sensors are used close to each other, a corresponding light projecting pattern and light receiving pattern are set in the light projecting unit and the light receiving unit that form a pair, and the photoelectric sensor By making the light projection pattern and the light reception pattern set for each sensor different, interference with other devices can be suppressed. In addition, since the repetition cycle of the pulse group is the same in each light projecting pattern and each light receiving pattern, even if the light projecting pattern and the light receiving pattern set for each of the plurality of photoelectric sensors are different, It becomes possible to make the response speed of the sensor constant.

上記光電センサにおいて、前記複数の投光パターンにおける前記パルス群のパルスの数は、互いに同一であって、前記複数の投光パターンの数よりも多く設定されている。
この構成によれば、投光パターンの数と同数の光電センサを近づけて使用する場合においても、光電センサ毎に設定する投光パターン及び受光パターンを異ならせることで、他機との干渉を抑制できる。
In the photoelectric sensor, the number of pulses of the pulse group in the plurality of projection patterns is the same as each other, and is set larger than the number of the plurality of projection patterns.
According to this configuration, even when using the same number of photoelectric sensors as the number of light projection patterns, interference with other devices is suppressed by making the light projection pattern and light reception pattern set for each photoelectric sensor different. it can.

上記光電センサにおいて、前記受光部は、受光素子と、該受光素子における受光に応じた信号を基に、ハイレベル又はローレベルの出力信号を出力するコンパレータと、前記コンパレータの出力信号の遅延を補正する補正部とを備えている。   In the photoelectric sensor, the light receiving unit corrects a delay of a light receiving element, a comparator that outputs a high-level or low-level output signal based on a signal corresponding to light received by the light receiving element, and the output signal of the comparator And a correction unit.

この構成によれば、補正部による補正によって投光パターンと受光パターンとのずれを調整することが可能となり、その結果、投光部から投光された光の検出精度の向上に寄与できる。   According to this configuration, it is possible to adjust the deviation between the light projection pattern and the light reception pattern by correction by the correction unit, and as a result, it is possible to contribute to improvement in detection accuracy of light projected from the light projection unit.

上記光電センサにおいて、前記受光部は、受光素子と、前記受光素子における受光に応じたレベルの信号を出力するオープン状態、及び前記受光素子における受光量によらず一定レベルの信号を出力するキャンセル状態のいずれかの状態とされる受光回路と、前記複数の受光パターンのうちの1つの受光パターンに従って、前記受光回路の前記オープン状態と前記キャンセル状態とを切り替える制御部とを備えている。   In the photoelectric sensor, the light receiving unit is in an open state in which a light receiving element and a signal at a level corresponding to light reception in the light receiving element are output, and in a cancel state in which a signal at a constant level is output regardless of the amount of light received by the light receiving element. And a control unit that switches between the open state and the cancel state of the light receiving circuit in accordance with one light receiving pattern of the plurality of light receiving patterns.

この構成によれば、対応する投光パターンにおける光が投光されない期間において、受光回路がキャンセル状態とされることで、外乱光(対応しない投光パターンの光や周囲環境からの光)の影響を抑えることができ、その結果、対応する投光パターンの光をより確実に検出することができる。   According to this configuration, the light receiving circuit is canceled during the period in which the light in the corresponding light projection pattern is not projected, thereby causing the influence of disturbance light (light from the non-corresponding light projection pattern and light from the surrounding environment). As a result, it is possible to more reliably detect the light of the corresponding light projection pattern.

本発明の光電センサによれば、複数台の光電センサを近づけて使用する場合に、他機との干渉を抑制できる。   According to the photoelectric sensor of the present invention, interference with other devices can be suppressed when a plurality of photoelectric sensors are used close to each other.

実施形態の光電センサのブロック回路図。The block circuit diagram of the photoelectric sensor of embodiment. 受光回路の回路図。The circuit diagram of a light-receiving circuit. (a)(b)は受光回路の動作を示す波形図。(A) and (b) are waveform diagrams showing the operation of the light receiving circuit. (a)(b)各投光パターンを示す説明図。(A) (b) Explanatory drawing which shows each light projection pattern. 投光部及び受光部の動作を示すタイミングチャート。The timing chart which shows operation | movement of a light projection part and a light-receiving part. 投光部及び受光部の動作を示すタイミングチャート。The timing chart which shows operation | movement of a light projection part and a light-receiving part. 投光部及び受光部の動作を示すタイミングチャート。The timing chart which shows operation | movement of a light projection part and a light-receiving part.

以下、光電センサの一実施形態について説明する。
図1に示すように、光電センサ10は、例えば透過型の光電センサであり、投光素子21を有する投光部11、及び受光素子31を有する受光部12を備えている。投光素子21及び受光素子31は互いに対向するように配置される。被検出物Xが無い場合、受光素子31は、投光素子21から出射された光を受光する。投光素子21から出射された光が被検出物Xで遮られた場合、受光素子31には投光素子21から出射された光は入射しない。光電センサ10は、受光素子31の受光レベルに基づいて、被検出物Xの有無を判定し、その判定結果に基づいて検出信号SKを出力する。
Hereinafter, an embodiment of the photoelectric sensor will be described.
As shown in FIG. 1, the photoelectric sensor 10 is, for example, a transmissive photoelectric sensor, and includes a light projecting unit 11 having a light projecting element 21 and a light receiving unit 12 having a light receiving element 31. The light projecting element 21 and the light receiving element 31 are arranged to face each other. When there is no detected object X, the light receiving element 31 receives the light emitted from the light projecting element 21. When the light emitted from the light projecting element 21 is blocked by the detection object X, the light emitted from the light projecting element 21 does not enter the light receiving element 31. The photoelectric sensor 10 determines the presence or absence of the detection object X based on the light reception level of the light receiving element 31, and outputs a detection signal SK based on the determination result.

投光部11は、投光素子21を有する投光回路22、投光側制御回路23及び投光側設定部24を備えている。投光素子21は、投光側制御回路23を介して投光回路22に接続されている。投光側制御回路23は、投光回路22を制御し、投光素子21から間欠的なパルス状の検出光Lを出射させる。   The light projecting unit 11 includes a light projecting circuit 22 having a light projecting element 21, a light projecting side control circuit 23, and a light projecting side setting unit 24. The light projecting element 21 is connected to the light projecting circuit 22 via the light projecting side control circuit 23. The light projecting side control circuit 23 controls the light projecting circuit 22 to emit intermittent pulsed detection light L from the light projecting element 21.

受光部12は、受光素子31を有する受光回路32、受光側制御回路33、受光側設定部34及びコンパレータ35を備えている。受光素子31は、受光回路32を介して受光側制御回路33に接続されている。受光回路32は、受光素子31における受光量に応じた出力信号SRをコンパレータ35に出力する。コンパレータ35は、出力信号SRと所定の閾値信号とを比較し、その比較結果に基づいて、ハイレベル又はローレベルの出力信号SD(デジタル信号)を受光側制御回路33に出力する。受光側制御回路33は、コンパレータ35からの出力信号SDに基づいて、被検出物Xの有無を判定する。そして、受光側制御回路33は、判定結果に応じた検出信号SKを出力する。   The light receiving unit 12 includes a light receiving circuit 32 having a light receiving element 31, a light receiving side control circuit 33, a light receiving side setting unit 34, and a comparator 35. The light receiving element 31 is connected to the light receiving side control circuit 33 via the light receiving circuit 32. The light receiving circuit 32 outputs an output signal SR corresponding to the amount of light received by the light receiving element 31 to the comparator 35. The comparator 35 compares the output signal SR with a predetermined threshold signal, and outputs a high level or low level output signal SD (digital signal) to the light receiving side control circuit 33 based on the comparison result. The light receiving side control circuit 33 determines the presence or absence of the detected object X based on the output signal SD from the comparator 35. Then, the light receiving side control circuit 33 outputs a detection signal SK corresponding to the determination result.

また、受光側制御回路33は、受光回路32に出力する制御信号SCによって、受光回路32の動作態様を制御する。
図2に示すように、受光素子31のカソードには高電位電圧VAが供給される電源配線(以下、電源配線VA)に接続されている。高電位電圧VAは、例えば5ボルト(V)である。受光素子31のアノードは、受光回路32の入力端子となる入力ノードN1に接続されている。
The light receiving side control circuit 33 controls the operation mode of the light receiving circuit 32 by the control signal SC output to the light receiving circuit 32.
As shown in FIG. 2, the cathode of the light receiving element 31 is connected to a power supply wiring (hereinafter, power supply wiring VA) to which a high potential voltage VA is supplied. The high potential voltage VA is, for example, 5 volts (V). The anode of the light receiving element 31 is connected to an input node N <b> 1 that serves as an input terminal of the light receiving circuit 32.

受光回路32は、抵抗R1、信号生成回路41、帰還回路43を有している。
入力ノードN1は抵抗R1の第1端子に接続され、抵抗R1の第2端子は基準電圧が供給される基準配線に接続されている。従って、受光素子31のアノードは抵抗R1を介して基準配線に接続されている。基準電圧はたとえば0Vであり、本実施形態ではグランドGNDである。以下の説明において、グランドGNDとして説明する。なお、各図では、符号「GND」が省略されている。
The light receiving circuit 32 includes a resistor R1, a signal generation circuit 41, and a feedback circuit 43.
The input node N1 is connected to the first terminal of the resistor R1, and the second terminal of the resistor R1 is connected to a reference wiring to which a reference voltage is supplied. Therefore, the anode of the light receiving element 31 is connected to the reference wiring via the resistor R1. The reference voltage is 0 V, for example, and is the ground GND in this embodiment. In the following description, it will be described as the ground GND. In each figure, the symbol “GND” is omitted.

受光素子31と抵抗R1の間の接続点である入力ノードN1は、信号生成回路41に接続されている。
信号生成回路41は、オペアンプ(演算増幅器)42、抵抗R2、コンデンサC1,C2を有している。コンデンサC1の第1端子は入力ノードN1に接続され、コンデンサC1の第2端子はオペアンプ42の反転入力端子に接続されている。オペアンプ42の非反転入力端子には、参照電圧VRが供給される。オペアンプ42の出力端子と反転入力端子の間には、抵抗R2とコンデンサC2の並列回路が接続されている。
An input node N1 that is a connection point between the light receiving element 31 and the resistor R1 is connected to the signal generation circuit 41.
The signal generation circuit 41 includes an operational amplifier (operational amplifier) 42, a resistor R2, and capacitors C1 and C2. The first terminal of the capacitor C1 is connected to the input node N1, and the second terminal of the capacitor C1 is connected to the inverting input terminal of the operational amplifier 42. A reference voltage VR is supplied to a non-inverting input terminal of the operational amplifier 42. A parallel circuit of a resistor R2 and a capacitor C2 is connected between the output terminal and the inverting input terminal of the operational amplifier 42.

オペアンプ42の出力端子は、帰還回路43に接続されている。
帰還回路43は、スイッチ回路SW1とコンデンサC3とを含む。スイッチ回路SW1の第1端子はオペアンプ42の出力端子に接続され、スイッチ回路SW1の第2端子はコンデンサC3の第1端子に接続され、コンデンサC3の第2端子は入力ノードN1に接続されている。スイッチ回路SW1は、例えばMOSFETにより構成されるアナログスイッチである。スイッチ回路SW1は、受光側制御回路33から出力される制御信号SCに基づいてオンオフする。
The output terminal of the operational amplifier 42 is connected to the feedback circuit 43.
The feedback circuit 43 includes a switch circuit SW1 and a capacitor C3. The first terminal of the switch circuit SW1 is connected to the output terminal of the operational amplifier 42, the second terminal of the switch circuit SW1 is connected to the first terminal of the capacitor C3, and the second terminal of the capacitor C3 is connected to the input node N1. . The switch circuit SW1 is an analog switch composed of, for example, a MOSFET. The switch circuit SW1 is turned on / off based on the control signal SC output from the light receiving side control circuit 33.

信号生成回路41に含まれるオペアンプ42の反転入力端子は、コンデンサC1を介して入力ノードN1に接続され、その入力ノードN1には受光素子31のアノードに接続されている。従って、入力ノードN1における信号レベルは、受光素子31に入射する光の量に応じて変化する。入力ノードN1は、コンデンサC1を介してオペアンプ42の反転入力端子に接続されている。コンデンサC1は、交流結合素子である。従って、入力ノードにおける信号レベルのうち、直流成分がコンデンサC1によって除去され、交流成分がオペアンプ42に供給される。   The inverting input terminal of the operational amplifier 42 included in the signal generation circuit 41 is connected to the input node N1 via the capacitor C1, and the input node N1 is connected to the anode of the light receiving element 31. Accordingly, the signal level at the input node N <b> 1 changes according to the amount of light incident on the light receiving element 31. The input node N1 is connected to the inverting input terminal of the operational amplifier 42 via the capacitor C1. The capacitor C1 is an AC coupling element. Accordingly, the DC component of the signal level at the input node is removed by the capacitor C 1, and the AC component is supplied to the operational amplifier 42.

オペアンプ42の出力端子は抵抗R2及びコンデンサC2の並列回路を介して非反転入力端子に接続されている。従って、このオペアンプ42と抵抗R2とコンデンサC2を含む信号生成回路41は、入力信号に対して逆位相の出力信号SRを出力する。なお、本実施形態において、オペアンプ42の増幅率は「1」に設定されている。   An output terminal of the operational amplifier 42 is connected to a non-inverting input terminal via a parallel circuit of a resistor R2 and a capacitor C2. Therefore, the signal generation circuit 41 including the operational amplifier 42, the resistor R2, and the capacitor C2 outputs an output signal SR having a phase opposite to that of the input signal. In the present embodiment, the amplification factor of the operational amplifier 42 is set to “1”.

帰還回路43は、スイッチ回路SW1とコンデンサC3とを含む。帰還回路43においてスイッチ回路SW1をオフしたとき、信号生成回路41の出力信号SRは入力ノードN1に帰還されない。コンデンサC1は、入力ノードN1の信号レベルの変動のうち、直流成分を除去する。従って、信号生成回路41は、入力ノードN1の信号レベルのうち、交流成分に応じた出力信号SRを出力する。   The feedback circuit 43 includes a switch circuit SW1 and a capacitor C3. When the switch circuit SW1 is turned off in the feedback circuit 43, the output signal SR of the signal generation circuit 41 is not fed back to the input node N1. Capacitor C1 removes a direct current component from fluctuations in the signal level of input node N1. Therefore, the signal generation circuit 41 outputs an output signal SR corresponding to the AC component of the signal level at the input node N1.

スイッチ回路SW1が制御信号SCに基づいてオンしたとき、信号生成回路41の出力信号SRは、帰還回路43を介して入力ノードN1に帰還される。コンデンサC3は、出力信号SRにおける直流成分を除去し、交流成分を通過させる。   When the switch circuit SW1 is turned on based on the control signal SC, the output signal SR of the signal generation circuit 41 is fed back to the input node N1 via the feedback circuit 43. Capacitor C3 removes the DC component in output signal SR and passes the AC component.

このように入力ノードN1に帰還される信号は、信号生成回路41の出力信号SRの交流成分である。そして、出力信号SRは、入力ノードN1からコンデンサC1を介して信号生成回路41に供給信号に対して逆位相である。従って、入力ノードN1には、逆位相の帰還信号が供給される。この帰還信号により入力ノードN1の信号レベルのうち、交流成分がキャンセルされる。   Thus, the signal fed back to the input node N1 is an AC component of the output signal SR of the signal generation circuit 41. The output signal SR is in reverse phase with respect to the supply signal from the input node N1 to the signal generation circuit 41 via the capacitor C1. Therefore, an antiphase feedback signal is supplied to the input node N1. This feedback signal cancels the AC component of the signal level at the input node N1.

入力ノードN1における信号レベルは、受光素子31に入射する外乱光や受光素子31から入力ノードN1までの信号ラインに混入する電磁波等のノイズの影響により変動する。この変動のうち、直流成分は、コンデンサC1によって除去される。つまり、コンデンサC1は、ノイズの直流成分の影響を抑制する。   The signal level at the input node N1 varies due to the influence of noise such as disturbance light incident on the light receiving element 31 and electromagnetic waves mixed in the signal line from the light receiving element 31 to the input node N1. Of this variation, the DC component is removed by the capacitor C1. That is, the capacitor C1 suppresses the influence of the DC component of noise.

信号生成回路41は、入力信号に対して逆位相の出力信号SRを生成する。この出力信号SRが帰還回路43により入力ノードN1に帰還される。そして、出力信号SRにより、入力ノードN1における交流成分がキャンセルされる。この結果、出力信号SRの信号レベルが安定化する。   The signal generation circuit 41 generates an output signal SR having a phase opposite to that of the input signal. The output signal SR is fed back to the input node N1 by the feedback circuit 43. Then, the AC component at the input node N1 is canceled by the output signal SR. As a result, the signal level of the output signal SR is stabilized.

図3(a)は、帰還回路43におけるスイッチ回路SW1をオフしたときの、受光素子31に対する入射と、出力信号SRの変化を示す。パルス状の光が図2に示す受光素子31に入射すると、入力ノードN1の信号レベルは受光素子31の入射光に応じて変動する。そして、その入力ノードN1の信号レベルに基づいて出力信号SRが生成される。このように、スイッチ回路SW1がオフされることで、受光回路32は、受光素子31における受光量に応じたレベルの出力信号SRを出力するオープン状態となる。なお、図面では、説明の便宜上、出力信号SRの正負を問わない形で示している。   FIG. 3A shows the incidence on the light receiving element 31 and the change of the output signal SR when the switch circuit SW1 in the feedback circuit 43 is turned off. When pulsed light enters the light receiving element 31 shown in FIG. 2, the signal level of the input node N <b> 1 varies according to the incident light of the light receiving element 31. Then, an output signal SR is generated based on the signal level of the input node N1. As described above, when the switch circuit SW1 is turned off, the light receiving circuit 32 is in an open state in which the output signal SR having a level corresponding to the amount of light received by the light receiving element 31 is output. In the drawing, for convenience of explanation, the output signal SR is shown in a form regardless of whether it is positive or negative.

図3(b)は、帰還回路43におけるスイッチ回路SW1をオンしたときの、受光素子31に対する入射と、出力信号SRの変化を示す。パルス状の光が図2に示す受光素子31に入射すると、入力ノードN1の信号レベルは受光素子31の入射光に応じて変動する。しかし、帰還回路によって出力信号SRが入力ノードN1に帰還されてその入力ノードN1の交流成分がキャンセルされるため、安定したレベルの出力信号SRが生成される。このように、スイッチ回路SW1がオンされることで、受光回路32は、受光素子31における受光量によらず安定したレベルの出力信号SRを出力するキャンセル状態となる。   FIG. 3B shows the incidence on the light receiving element 31 and the change of the output signal SR when the switch circuit SW1 in the feedback circuit 43 is turned on. When pulsed light enters the light receiving element 31 shown in FIG. 2, the signal level of the input node N <b> 1 varies according to the incident light of the light receiving element 31. However, since the output signal SR is fed back to the input node N1 by the feedback circuit and the AC component of the input node N1 is canceled, the output signal SR having a stable level is generated. Thus, when the switch circuit SW1 is turned on, the light receiving circuit 32 is in a cancel state in which the output signal SR having a stable level is output regardless of the amount of light received by the light receiving element 31.

次に、投光部11の投光パターンについて説明する。
図1に示すように、投光側制御回路23のメモリ23aには、複数の投光パターンが予め記憶されている。本実施形態の投光部11は、第1の投光パターンA1、第2の投光パターンA2、及び第3の投光パターンA3の3つの投光パターンを有している。ユーザーは、投光側設定部24を操作することによって、第1〜第3の投光パターンA1〜A3のいずれか1つを選択可能である。そして、投光側制御回路23は、投光側設定部24での操作によって選択された投光パターンで投光素子21から検出光Lを投光させるべく、投光回路22を制御する。
Next, the light projection pattern of the light projecting unit 11 will be described.
As shown in FIG. 1, a plurality of light projection patterns are stored in advance in the memory 23 a of the light projection side control circuit 23. The light projecting unit 11 of the present embodiment has three light projecting patterns: a first light projecting pattern A1, a second light projecting pattern A2, and a third light projecting pattern A3. The user can select any one of the first to third light projecting patterns A1 to A3 by operating the light projecting side setting unit 24. Then, the light projecting side control circuit 23 controls the light projecting circuit 22 to project the detection light L from the light projecting element 21 with the light projecting pattern selected by the operation at the light projecting side setting unit 24.

図4(a)に示すように、各投光パターンA1〜A3は、パルスの立ち下がりエッジから次のパルスの立ち上がりエッジまでのエッジ間隔が一定である5つのパルスPからなるパルス群を一定周期Tで繰り返すパルスパターンを有している。各投光パターンA1〜A3における周期Tは、互いに同一である。また、各投光パターンA1〜A3において、パルスPのパルス幅は全て同一である。なお、以下では、第1の投光パターンA1における前記パルス群を第1パルス群Pg1とし、第2の投光パターンA2における前記パルス群を第2パルス群Pg2とし、第3の投光パターンA3における前記パルス群を第3パルス群Pg3として説明する。また、図4(a)は、各投光パターンA1〜A3の1周期分を示し、図4(b)は、各投光パターンA1〜A3の1周期内の一部を示している。   As shown in FIG. 4A, each of the light projection patterns A1 to A3 includes a pulse group composed of five pulses P having a constant edge interval from the falling edge of the pulse to the rising edge of the next pulse. It has a pulse pattern that repeats at T. The periods T in the respective light projection patterns A1 to A3 are the same. Moreover, in each light projection pattern A1-A3, all the pulse widths of the pulse P are the same. Hereinafter, the pulse group in the first light projection pattern A1 is referred to as a first pulse group Pg1, the pulse group in the second light projection pattern A2 is referred to as a second pulse group Pg2, and the third light projection pattern A3. The pulse group in will be described as a third pulse group Pg3. 4A shows one cycle of each of the light projection patterns A1 to A3, and FIG. 4B shows a part of one cycle of each of the light projection patterns A1 to A3.

図4(b)に示すように、第1〜第3パルス群Pg1〜Pg3内におけるパルスPの立ち下がりエッジから次のパルスPの立ち上がりエッジまでの間隔(エッジ間隔E1〜E3)は、各投光パターンA1〜A3で互いに異なっている。詳しくは、第1〜第3パルス群Pg1〜Pg3の各々のエッジ間隔E1〜E3において、エッジ間隔E1が最も短く、次いで、エッジ間隔E2、エッジ間隔E3の順に長く設定されている。   As shown in FIG. 4B, the intervals (edge intervals E1 to E3) from the falling edge of the pulse P to the rising edge of the next pulse P in the first to third pulse groups Pg1 to Pg3 are different from each other. The light patterns A1 to A3 are different from each other. Specifically, in each of the edge intervals E1 to E3 of the first to third pulse groups Pg1 to Pg3, the edge interval E1 is the shortest, and then the edge interval E2 and the edge interval E3 are set longer in this order.

更に、第3パルス群Pg3におけるエッジ間隔E3は、第2パルス群Pg2における最初のパルスPの立ち上がりから最後のパルスPの立ち下がりまでの期間(パルス群期間T2T2)よりも長く設定されている。また、第2パルス群Pg2におけるエッジ間隔E2は、第1パルス群Pg1における最初のパルスPの立ち上がりから最後のパルスPの立ち下がりまでの期間(パルス群期間T1)よりも長く設定されている。つまり、各投光パターンA1〜A3のエッジ間隔は、前段の投光パターンのパルス群における最初のパルスPの立ち上がりから最後のパルスPの立ち下がりまでの期間よりも長く設定されている。   Further, the edge interval E3 in the third pulse group Pg3 is set longer than the period (pulse group period T2T2) from the rising edge of the first pulse P to the falling edge of the last pulse P in the second pulse group Pg2. The edge interval E2 in the second pulse group Pg2 is set longer than the period (pulse group period T1) from the rise of the first pulse P to the fall of the last pulse P in the first pulse group Pg1. That is, the edge interval of each of the projection patterns A1 to A3 is set longer than the period from the rising edge of the first pulse P to the falling edge of the last pulse P in the pulse group of the preceding projection pattern.

次に、受光部12の受光パターンについて説明する。
図1に示すように、受光側制御回路33のメモリ33aには、第1〜第3の投光パターンA1〜A3の各々と対応する複数の受光パターン(第1〜第3の受光パターンB1〜B3)が予め記憶されている。第1〜第3の受光パターンB1〜B3は、第1〜第3の投光パターンA1〜A3とそれぞれ同一のパルスパターンを有している。そして、本実施形態では、受光回路32における前記スイッチ回路SW1のオンオフの切り替えが、各受光パターンB1〜B3のいずれか1つのパルスパターンで実行されるようになっている。ユーザーは、受光側設定部34を操作することによって、第1〜第3の受光パターンB1〜B3のいずれか1つを選択可能である。そして、受光側制御回路33は、受光側設定部34での操作によって選択された受光パターンでスイッチ回路SW1を動作させるべく、制御信号SCを出力する。
Next, the light receiving pattern of the light receiving unit 12 will be described.
As shown in FIG. 1, the memory 33a of the light receiving side control circuit 33 has a plurality of light receiving patterns (first to third light receiving patterns B1 to B1) corresponding to the first to third light projecting patterns A1 to A3. B3) is stored in advance. The first to third light receiving patterns B1 to B3 have the same pulse patterns as the first to third light projecting patterns A1 to A3, respectively. In the present embodiment, on / off switching of the switch circuit SW1 in the light receiving circuit 32 is executed with any one of the light receiving patterns B1 to B3. The user can select any one of the first to third light receiving patterns B1 to B3 by operating the light receiving side setting unit 34. Then, the light receiving side control circuit 33 outputs a control signal SC to operate the switch circuit SW1 with the light receiving pattern selected by the operation at the light receiving side setting unit 34.

次に、本実施形態の光電センサ10の動作態様について説明する。
対となる投光部11及び受光部12では、同一のパルスパターンを有する投光パターン及び受光パターンがそれぞれ設定されている。そして、投光部11では、設定された投光パターンで、投光素子21から検出光Lが投光される。
Next, the operation | movement aspect of the photoelectric sensor 10 of this embodiment is demonstrated.
In the light projecting unit 11 and the light receiving unit 12 to be paired, a light projecting pattern and a light receiving pattern having the same pulse pattern are set, respectively. In the light projecting unit 11, the detection light L is projected from the light projecting element 21 with the set light projecting pattern.

ここで、図5に示すように、投光素子21と受光素子31との間の検出領域内に被検出物Xが有るとき、投光素子21からの検出光Lが受光素子31にて受光されない。このとき、受光側制御回路33は、受光回路32を常にオープン状態(すなわち、常にスイッチ回路SW1をオフ)とする第1動作モードM1で作動させている。   Here, as shown in FIG. 5, when the detection object X exists in the detection region between the light projecting element 21 and the light receiving element 31, the detection light L from the light projecting element 21 is received by the light receiving element 31. Not. At this time, the light receiving side control circuit 33 operates in the first operation mode M1 in which the light receiving circuit 32 is always in an open state (that is, the switch circuit SW1 is always turned off).

第1動作モードM1において、受光素子31が光を受けて、コンパレータ35から受光側制御回路33にハイレベルの出力信号SDが出力されると、受光側制御回路33は、受光回路32の動作モードを第2動作モードM2に移行させる。第2動作モードM2では、設定された受光パターンでスイッチ回路SW1のオンオフの切り替えが実行される。   In the first operation mode M1, when the light receiving element 31 receives light and the comparator 35 outputs a high-level output signal SD to the light receiving side control circuit 33, the light receiving side control circuit 33 operates in the operation mode of the light receiving circuit 32. Is shifted to the second operation mode M2. In the second operation mode M2, on / off switching of the switch circuit SW1 is executed with the set light reception pattern.

すなわち、被検出物Xが検出領域外に移動した後、対となる投光部11から投光された検出光L(同一パルスパターンの検出光L)のパルス群Pgにおける1つ目のパルスPを受光素子31が受けると、受光回路32は第2動作モードM2に移行する。これにより、受光回路32のスイッチ回路SW1は、当該検出光Lの2つ目〜5つ目のパルスPに合わせてオフ、つまり、受光回路32が前記オープン状態とされ、2つ目〜5つ目のパルスPの各々に応じて出力信号SDがハイレベルとなる。   That is, the first pulse P in the pulse group Pg of the detection light L (detection light L of the same pulse pattern) projected from the pair of light projecting units 11 after the detected object X moves outside the detection region. Is received by the light receiving element 31, the light receiving circuit 32 shifts to the second operation mode M2. As a result, the switch circuit SW1 of the light receiving circuit 32 is turned off in accordance with the second to fifth pulses P of the detection light L, that is, the light receiving circuit 32 is brought into the open state, and the second to fifth. The output signal SD becomes high level in accordance with each of the eye pulses P.

一方、パルスPが投光されない期間(パルスP間)においては、スイッチ回路SW1がオン、つまり、受光回路32が前記キャンセル状態とされ、この状態では、受光素子31における受光量によらずコンパレータ35の出力信号SDはローレベルとなる。ここで、パルスPが投光されない期間において、受光回路32がオープン状態とされているとすると、当該期間中に外乱光(対応しない投光パターンの検出光Lや周囲環境からの光)が受光素子31に入光したとき、その外乱光の出力信号SRに対する影響(オーバーシュートやアンダーシュート)によって、その後に入光する検出すべきパルスPの入光を検出できないおそれがある。そこで、上記のように、パルスPが投光されない期間においては受光回路32をキャンセル状態とすることで、受光素子31における受光量によらずコンパレータ35の出力信号SDがローレベルとなるため、外乱光の影響をほぼ排除することができ、その結果、対応する投光パターンの検出光Lをより確実に検出することができるようになっている。   On the other hand, in a period when the pulse P is not projected (between the pulses P), the switch circuit SW1 is turned on, that is, the light receiving circuit 32 is in the cancel state. In this state, the comparator 35 is independent of the amount of light received by the light receiving element 31. Output signal SD becomes low level. Here, if the light receiving circuit 32 is in an open state during a period in which the pulse P is not projected, disturbance light (detected light L of a corresponding projection pattern and light from the surrounding environment) is received during the period. When light enters the element 31, there is a possibility that the incident light of the pulse P to be detected that subsequently enters may not be detected due to the influence (overshoot or undershoot) of the disturbance light on the output signal SR. Therefore, as described above, in the period in which the pulse P is not projected, the light receiving circuit 32 is set in a canceling state, so that the output signal SD of the comparator 35 becomes a low level regardless of the amount of light received by the light receiving element 31. The influence of light can be almost eliminated, and as a result, the detection light L of the corresponding light projection pattern can be detected more reliably.

そして、受光側制御回路33は、1つのパルス群PgのパルスPに対応するハイレベルの出力信号SDが複数回連続で(本実施形態では3つ連続で)入力されたとき、当該周期Tにおける入光を認識する。図5の例では、パルス群Pgにおける1つ目〜3つ目のパルスPによって出力されるハイレベルの出力信号SDの入力によって、入光認識がなされる。そして、受光側制御回路33は、入光認識に基づいて被検出物Xが検出領域内に無いと判定し、その旨を示す検出信号SKを出力する。なお、被検出物Xが検出領域内に無い旨の判定の一例として、例えば、受光側制御回路33は、複数の周期Tで連続して入光認識がなされた場合に、被検出物Xが検出領域内に無いと判定する。   When the high-level output signal SD corresponding to the pulse P of one pulse group Pg is continuously input a plurality of times (in this embodiment, three consecutively), the light-receiving side control circuit 33 has the period T. Recognize incident light. In the example of FIG. 5, the incident light recognition is performed by the input of the high level output signal SD output by the first to third pulses P in the pulse group Pg. Then, the light receiving side control circuit 33 determines that the detected object X does not exist in the detection region based on the light incident recognition, and outputs a detection signal SK indicating that fact. As an example of the determination that the detected object X is not in the detection area, for example, the light receiving side control circuit 33 determines that the detected object X is not detected when the incident light is recognized continuously in a plurality of periods T. It is determined that it is not within the detection area.

その後、被検出物Xが検出領域内に侵入して、検出光Lが遮断されると、検出光Lが受光素子31にて受光されなくなる。このとき、受光側制御回路33は、1周期中におけるハイレベルの出力信号SDの入力回数が所定回数未満(例えば3回未満)の場合、遮光を認識する。そして、受光側制御回路33は、遮光認識に基づいて被検出物Xが検出領域内に有ると判定し、その旨を示す検出信号SKを出力する。なお、被検出物Xが検出領域内に有る旨の判定の一例として、例えば、受光側制御回路33は、複数の周期Tで連続して遮光認識がなされた場合に、被検出物Xが検出領域内に有ると判定する。また、受光側制御回路33は、被検出物Xが検出領域内に有る旨の判定に基づいて、受光回路32の動作モードを第1動作モードM1に移行させる。   Thereafter, when the detection object X enters the detection region and the detection light L is blocked, the detection light L is not received by the light receiving element 31. At this time, the light receiving side control circuit 33 recognizes light shielding when the number of times of input of the high level output signal SD in one cycle is less than a predetermined number (for example, less than 3 times). Then, the light receiving side control circuit 33 determines that the detected object X is in the detection region based on the light shielding recognition, and outputs a detection signal SK indicating that fact. As an example of the determination that the detected object X is in the detection region, for example, the light receiving side control circuit 33 detects the detected object X when the light shielding recognition is continuously performed in a plurality of periods T. It is determined that it is in the area. The light receiving side control circuit 33 shifts the operation mode of the light receiving circuit 32 to the first operation mode M1 based on the determination that the detected object X is in the detection region.

また、図6には、パルス群Pgが投光されている途中で、被検出物Xが検出領域外に移動した状況の一例を示している。同図の例では、パルス群Pgにおける2つ目のパルスPと3つ目のパルスPとの間の期間において、被検出物Xが検出領域外に移動している。この場合、当該パルス群Pgの3つ目のパルスPを受光素子31が受けて、受光回路32が第2動作モードM2に移行する。受光パターンにおける第2動作モードM2に移行後の初回の周期では、3つ目〜5つ目のパルスPによって出力されるハイレベルの出力信号SDの入力によって、入光認識がなされる。また、この場合、当該周期において、ハイレベルの出力信号SDが出力されるのは3回のみであるため、当該周期における4回目、5回目のスイッチ回路SW1のオフ期間において、ローレベルの出力信号SDが出力される。これを受け、受光側制御回路33は、受光パターンにおける次回周期のスタート(スイッチ回路SW1のオフ)までの期間T3を短縮して、受光パターンの周期と投光パターンの周期を一致させる補正を行う。これにより、受光部12における検出光Lの検出精度が向上される。   FIG. 6 shows an example of a situation in which the detected object X has moved out of the detection area while the pulse group Pg is being projected. In the example of the figure, the detected object X moves outside the detection region in the period between the second pulse P and the third pulse P in the pulse group Pg. In this case, the light receiving element 31 receives the third pulse P of the pulse group Pg, and the light receiving circuit 32 shifts to the second operation mode M2. In the first cycle after the transition to the second operation mode M2 in the light receiving pattern, the incident light recognition is performed by the input of the high level output signal SD output by the third to fifth pulses P. In this case, since the high-level output signal SD is output only three times in the cycle, the low-level output signal is output in the fourth and fifth switch circuit SW1 in the cycle. SD is output. In response to this, the light-receiving side control circuit 33 shortens the period T3 until the next cycle start (switch circuit SW1 is turned off) in the light-receiving pattern, and corrects the light-receiving pattern cycle to match the light-projecting pattern cycle. . Thereby, the detection accuracy of the detection light L in the light receiving unit 12 is improved.

次に、投光パターンと受光パターンとのずれに対する補正について説明する。
図7に示すように、コンパレータ35は、受光素子31での受光量に応じた受光回路32の出力信号SRと所定の閾値信号(閾値D)とを比較し、その比較結果に基づいて、ハイレベル又はローレベルの出力信号SDを出力する。このため、コンパレータ35の出力信号SDの立ち上がりは、検出光Lの立ち上がりに対し、受光回路32の出力信号SRが閾値Dに達するまでの時間分だけ遅延する。受光側制御回路33は、各出力信号SDの立ち上がりの遅延時間を算出する。そして、受光側制御回路33は、連続する2つの出力信号SDの遅延時間T4,T5に基づいて、受光パターンのずれを補正する。また、受光側制御回路33は、連続する2つの出力信号SDの立ち上がりの間隔T6を算出し、その間隔T6に基づいて受光パターンのずれを補正する。これにより、受光部12における検出光Lの検出精度の向上に寄与できる。
Next, correction for the deviation between the light projecting pattern and the light receiving pattern will be described.
As shown in FIG. 7, the comparator 35 compares the output signal SR of the light receiving circuit 32 corresponding to the amount of light received by the light receiving element 31 with a predetermined threshold signal (threshold D), and based on the comparison result, A level or low level output signal SD is output. For this reason, the rise of the output signal SD of the comparator 35 is delayed from the rise of the detection light L by the time until the output signal SR of the light receiving circuit 32 reaches the threshold value D. The light receiving side control circuit 33 calculates the delay time of the rise of each output signal SD. The light receiving side control circuit 33 corrects the shift of the light receiving pattern based on the delay times T4 and T5 of the two continuous output signals SD. In addition, the light receiving side control circuit 33 calculates a rising interval T6 of two consecutive output signals SD, and corrects the deviation of the light receiving pattern based on the interval T6. Thereby, it can contribute to the improvement of the detection accuracy of the detection light L in the light-receiving part 12.

次に、本実施形態の特徴的な効果を記載する。
(1)第1の投光パターンA1のパルス群期間T1は、第2パルス群Pg2におけるエッジ間隔E2よりも短く設定される。このため、第1パルス群Pg1及び第2パルス群Pg2のパルスP同士の干渉を抑制できる。また、第2の投光パターンA2のパルス群期間T2は、第3パルス群Pg3におけるエッジ間隔E3よりも短く設定される。このため、第2パルス群Pg2及び第3パルス群Pg3のパルスP同士の干渉を抑制できる。従って、対応しない投光パターンの検出光Lによって、受光側制御回路33にて入光認識がなされることが抑制される。これにより、複数台の光電センサ10を近づけて使用する場合に、各光電センサ10の対となる投光部11及び受光部12において、互いに対応する投光パターン及び受光パターンを設定し、かつ、光電センサ10毎に設定する投光パターン及び受光パターンを異ならせることで、他機との干渉を抑制できる。
Next, characteristic effects of the present embodiment will be described.
(1) The pulse group period T1 of the first projection pattern A1 is set shorter than the edge interval E2 in the second pulse group Pg2. For this reason, interference between the pulses P of the first pulse group Pg1 and the second pulse group Pg2 can be suppressed. The pulse group period T2 of the second light projection pattern A2 is set shorter than the edge interval E3 in the third pulse group Pg3. For this reason, interference between the pulses P of the second pulse group Pg2 and the third pulse group Pg3 can be suppressed. Accordingly, it is possible to suppress the light incident recognition in the light receiving side control circuit 33 due to the detection light L of the projection pattern that does not correspond. Thereby, when using a plurality of photoelectric sensors 10 close to each other, in the light projecting unit 11 and the light receiving unit 12 that form a pair of each photoelectric sensor 10, set the corresponding light projecting pattern and light receiving pattern, and By making the light projecting pattern and the light receiving pattern set for each photoelectric sensor 10 different, interference with other devices can be suppressed.

また、各投光パターンA1〜A3及び各受光パターンB1〜B3のパルスパターンにおいて、パルス群の繰り返しの周期Tが互いに同一であるため、複数の光電センサ10毎に設定する投光パターン及び受光パターンを異ならせても、各光電センサの応答速度を一定とすることが可能となる。   Further, in the pulse patterns of the light projection patterns A1 to A3 and the light reception patterns B1 to B3, the repetition period T of the pulse group is the same, so the light projection pattern and the light reception pattern set for each of the plurality of photoelectric sensors 10 Even if they are different, the response speed of each photoelectric sensor can be made constant.

(2)各パルス群Pg1〜Pg3のパルスPの数は、互いに同一であって、投光パターンの数(本実施形態では第1〜第3の投光パターンA1〜A3の3つ)よりも多く設定(本実施形態では5つに設定)されている。この構成によれば、投光パターンの数と同数の光電センサ10を近づけて使用する場合においても、光電センサ10毎に設定する投光パターン及び受光パターンを異ならせることで、他機との干渉を抑制できる。   (2) The number of pulses P in each of the pulse groups Pg1 to Pg3 is the same as each other, and is greater than the number of projection patterns (three in the present embodiment, the first to third projection patterns A1 to A3). Many settings (in this embodiment, five) are set. According to this configuration, even when the same number of photoelectric sensors 10 as the number of light projection patterns are used close to each other, the light projection pattern and the light reception pattern set for each photoelectric sensor 10 are made different so as to interfere with other devices. Can be suppressed.

(3)受光回路32は、設定された受光パターンでオープン状態とキャンセル状態とに交互に移行するように動作する。そして、キャンセル状態においては、受光回路32は、受光素子31における受光量によらず安定したレベルの出力信号SRを出力する。これにより、外乱光(対応しない投光パターンの検出光Lや周囲環境からの光)によって、受光回路32の出力信号SRが不安定になることを抑制でき、その結果、誤検出の発生をより一層抑制できる。   (3) The light receiving circuit 32 operates so as to shift alternately between an open state and a canceled state with the set light receiving pattern. In the canceled state, the light receiving circuit 32 outputs a stable level output signal SR regardless of the amount of light received by the light receiving element 31. As a result, it is possible to prevent the output signal SR of the light receiving circuit 32 from becoming unstable due to disturbance light (detection light L of a non-corresponding light projection pattern or light from the surrounding environment), and as a result, the occurrence of erroneous detection is further reduced. It can be further suppressed.

(4)受光側制御回路33は、第1動作モードM1(受光待機モード)における入光判定(ハイレベルの出力信号SD)に基づき、設定された受光パターンでの光の検出を開始する。このため、投光部11及び受光部12において、互いに対応する投光パターン及び受光パターン同士での同期をとることができる。また、投光部11と受光部12とを繋ぎ、投光のタイミングを投光部11から受光部12に伝達するための同期線が不要であるため、同期線の取り回しの煩わしさがなく、特に、投光部11と受光部12との間隔を広くとる必要のある用途に光電センサ10を使用する場合により好適である。   (4) The light receiving side control circuit 33 starts detecting light in the set light receiving pattern based on the light incident determination (high level output signal SD) in the first operation mode M1 (light reception standby mode). For this reason, in the light projection part 11 and the light-receiving part 12, the light projection pattern and light reception pattern corresponding to each other can be synchronized. In addition, since there is no need for a synchronization line for connecting the light projecting unit 11 and the light receiving unit 12 and transmitting the timing of light projection from the light projecting unit 11 to the light receiving unit 12, there is no troublesome operation of the synchronization line. In particular, it is more suitable when the photoelectric sensor 10 is used for an application that requires a wide interval between the light projecting unit 11 and the light receiving unit 12.

(5)受光側制御回路33は、コンパレータ35の出力信号SDに基づいて被検出物Xの有無を判定するため、応答速度の向上に寄与できる。
なお、上記実施形態は、以下のように変更してもよい。
(5) Since the light receiving side control circuit 33 determines the presence / absence of the detected object X based on the output signal SD of the comparator 35, it can contribute to the improvement of the response speed.
In addition, you may change the said embodiment as follows.

・受光回路32の回路構成は上記実施形態に限定されるものではなく、適宜変更可能である。例えば、上記実施形態では、設定された受光パターンに応じて受光回路32のスイッチ回路SW1のオンオフが切り替えられる構成としたが、設定された受光パターンで受光した光を検出可能な構成であれば、適宜変更してもよい。   The circuit configuration of the light receiving circuit 32 is not limited to the above embodiment, and can be changed as appropriate. For example, in the above embodiment, the on / off state of the switch circuit SW1 of the light receiving circuit 32 is switched according to the set light receiving pattern, but if the light received by the set light receiving pattern can be detected, You may change suitably.

・上記実施形態では、第1〜第3パルス群Pg1〜Pg3の各々のパルスPの数を5つに設定したが、これに特に限定されるものではなく、3つ以上であればよい。
・上記実施形態の各投光パターンA1〜A3では、パルス群の各パルスPが一定間隔とされるが、これに限らず、不定間隔としてもよい。
In the above embodiment, the number of each pulse P of the first to third pulse groups Pg1 to Pg3 is set to five, but the number of pulses P is not particularly limited to this and may be three or more.
-In each light projection pattern A1-A3 of the said embodiment, although each pulse P of a pulse group is made into a fixed space | interval, it is good not only as this but indefinite space.

・上記実施形態では、投光部11の投光パターン及び受光部12の受光パターンはそれぞれ3つ用意されたが、それぞれ2つ、又は4つ以上としてもよい。
・上記実施形態におけるコンパレータ35をA/D変換器に置き換えてもよい。
In the above embodiment, three light projecting patterns of the light projecting unit 11 and three light receiving patterns of the light receiving unit 12 are prepared, but may be two, or four or more, respectively.
The comparator 35 in the above embodiment may be replaced with an A / D converter.

・上記実施形態では、透過型の光電センサ10に適用したが、反射型の光電センサに適用してもよい。
・上記した実施形態並びに各変形例は適宜組み合わせてもよい。
In the above embodiment, the transmissive photoelectric sensor 10 is applied. However, the transmissive photoelectric sensor 10 may be applied to a reflective photoelectric sensor.
-You may combine embodiment mentioned above and each modification suitably.

10…光電センサ、11…投光部、12…受光部、31…受光素子、32…受光回路、33…受光側制御回路(制御部、補正部)、35…コンパレータ、A1〜A3…第1〜第3の投光パターン、B1〜B3…第1〜第3の受光パターン、P…パルス、Pg,Pg1,Pg2,Pg3…パルス群、T1,T2…パルス群期間、E1〜E3…エッジ間隔。   DESCRIPTION OF SYMBOLS 10 ... Photoelectric sensor, 11 ... Light projection part, 12 ... Light receiving part, 31 ... Light receiving element, 32 ... Light receiving circuit, 33 ... Light receiving side control circuit (control part, correction | amendment part), 35 ... Comparator, A1-A3 ... 1st To third light projection pattern, B1 to B3, first to third light receiving patterns, P, pulse, Pg, Pg1, Pg2, Pg3, pulse group, T1, T2, pulse group period, E1 to E3, edge interval .

Claims (4)

3つ以上のパルスからなるパルス群を一定周期で繰り返すパルスパターンであって、前記パルス群における最初のパルスの立ち上がりから最後のパルスの立ち下がりまでのパルス群期間が互いに異なり、かつ、前記パルス群の前記一定周期が互いに同一である複数の投光パターンを有し、それらのうちの1つの投光パターンで投光する投光部と、
前記複数の投光パターンとそれぞれ同一のパルスパターンからなる複数の受光パターンを有し、それらのうちの1つの受光パターンで受光した光を検出する受光部と
を備え、
前記パルス群におけるパルスの立ち下がりエッジから次のパルスの立ち上がりエッジまでの間隔をエッジ間隔として、
前記複数の投光パターンの各々の前記パルス群期間は、自身よりもパルス群期間が長い投光パターンのパルス群の前記各エッジ間隔よりも短く設定されていることを特徴とする光電センサ。
It is a pulse pattern in which a pulse group composed of three or more pulses is repeated at a constant period, the pulse group periods from the rising edge of the first pulse to the falling edge of the last pulse in the pulse group are different from each other, and the pulse group A plurality of light projecting patterns having the same fixed period, and a light projecting unit that projects light using one of the light projecting patterns;
A plurality of light receiving patterns each having the same pulse pattern as the plurality of light projecting patterns, and a light receiving unit for detecting light received by one of the light receiving patterns,
The interval from the falling edge of the pulse in the pulse group to the rising edge of the next pulse is the edge interval,
The photoelectric sensor, wherein the pulse group period of each of the plurality of projection patterns is set to be shorter than the edge intervals of the pulse groups of the projection pattern having a pulse group period longer than itself.
請求項1に記載の光電センサにおいて、
前記複数の投光パターンにおける前記パルス群のパルスの数は、互いに同一であって、前記複数の投光パターンの数よりも多く設定されていることを特徴とする光電センサ。
The photoelectric sensor according to claim 1,
The photoelectric sensor, wherein the number of pulses of the pulse group in the plurality of projection patterns is the same as each other, and is set to be larger than the number of the plurality of projection patterns.
請求項1又は2に記載の光電センサにおいて、
前記受光部は、受光素子と、前記受光素子における受光に応じた信号を基に、ハイレベル又はローレベルの出力信号を出力するコンパレータと、前記コンパレータの出力信号の遅延を補正する補正部とを備えていることを特徴とする光電センサ。
The photoelectric sensor according to claim 1 or 2,
The light receiving unit includes: a light receiving element; a comparator that outputs a high-level or low-level output signal based on a signal corresponding to light received by the light receiving element; and a correction unit that corrects a delay in the output signal of the comparator. A photoelectric sensor comprising:
請求項1〜3のいずれか1項に記載の光電センサにおいて、
前記受光部は、受光素子と、前記受光素子における受光に応じたレベルの信号を出力するオープン状態、及び前記受光素子における受光量によらず一定レベルの信号を出力するキャンセル状態のいずれかの状態とされる受光回路と、前記複数の受光パターンのうちの1つの受光パターンに従って、前記受光回路の前記オープン状態と前記キャンセル状態とを切り替える制御部とを備えていることを特徴とする光電センサ。
The photoelectric sensor according to any one of claims 1 to 3,
The light receiving unit is either a light receiving element, an open state in which a signal of a level corresponding to light reception by the light receiving element is output, or a canceled state in which a signal of a constant level is output regardless of the amount of light received by the light receiving element And a control unit that switches between the open state and the cancel state of the light receiving circuit in accordance with one light receiving pattern of the plurality of light receiving patterns.
JP2016194852A 2016-09-30 2016-09-30 Photoelectric sensor Active JP6785111B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2016194852A JP6785111B2 (en) 2016-09-30 2016-09-30 Photoelectric sensor
DE102017122604.4A DE102017122604A1 (en) 2016-09-30 2017-09-28 Photoelectric sensor
CN201721290765.9U CN207408609U (en) 2016-09-30 2017-09-30 Photoelectric sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016194852A JP6785111B2 (en) 2016-09-30 2016-09-30 Photoelectric sensor

Publications (2)

Publication Number Publication Date
JP2018056975A true JP2018056975A (en) 2018-04-05
JP6785111B2 JP6785111B2 (en) 2020-11-18

Family

ID=61623388

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016194852A Active JP6785111B2 (en) 2016-09-30 2016-09-30 Photoelectric sensor

Country Status (3)

Country Link
JP (1) JP6785111B2 (en)
CN (1) CN207408609U (en)
DE (1) DE102017122604A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6852481B2 (en) 2017-03-15 2021-03-31 オムロン株式会社 Photoelectric sensor
DE202020100872U1 (en) * 2020-02-18 2021-05-25 Leuze Electronic Gmbh + Co. Kg Light barrier arrangement
DE202020104223U1 (en) 2020-07-10 2021-10-12 Leuze Electronic Gmbh + Co. Kg Light curtain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008298655A (en) 2007-05-31 2008-12-11 Sunx Ltd Photoelectric sensor

Also Published As

Publication number Publication date
CN207408609U (en) 2018-05-25
JP6785111B2 (en) 2020-11-18
DE102017122604A1 (en) 2018-04-05

Similar Documents

Publication Publication Date Title
JP2007508528A (en) Method for detecting and / or evaluating a differential optical signal
JP2018056975A (en) Photoelectric sensor
JP2007508528A5 (en)
US10386535B2 (en) Photoelectric sensor
JPS6051043B2 (en) Photoelectric switch
KR102005337B1 (en) Voltage converter
JP2009257883A (en) Radar dc power supply unit
JP3945813B1 (en) Photoelectric sensor
US10509114B2 (en) Photodetection device with synchronous and non-synchronous light detection for reducing noise and electronic apparatus
JP2018174224A (en) Photodetector
JP2007101269A (en) Photoelectric sensor
JP2010041462A (en) Photoelectric switch
KR20130014977A (en) Signal transfer circuit
JP2018054557A (en) Light receiving circuit and photoelectric sensor
JP2008298653A (en) Photoelectric sensor
CN114586333B (en) Drive circuit and method for controlling a lens actuator
KR20170077825A (en) Clock selection circuit and power supply device equipped with the same
JP2016127526A (en) Binarization circuit and pulse count device
JP4926893B2 (en) Pulse modulation type photodetection device
JP6123024B2 (en) Optical encoder
JPH1146011A (en) Light-receiving position detection circuit
JP2008109685A (en) Pulse width detection circuit, dc component cancel circuit and receiving circuit
JPH04349717A (en) Photoelectric switch
JP2010107222A (en) Optical encoder and electronic device including the optical encoder
KR20160139696A (en) Voltage conveter apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190705

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200731

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200804

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20201020

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201026

R150 Certificate of patent or registration of utility model

Ref document number: 6785111

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250