JP2022125739A - photoelectric sensor - Google Patents

photoelectric sensor Download PDF

Info

Publication number
JP2022125739A
JP2022125739A JP2021023499A JP2021023499A JP2022125739A JP 2022125739 A JP2022125739 A JP 2022125739A JP 2021023499 A JP2021023499 A JP 2021023499A JP 2021023499 A JP2021023499 A JP 2021023499A JP 2022125739 A JP2022125739 A JP 2022125739A
Authority
JP
Japan
Prior art keywords
signal
light
detection
unit
outputs
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.)
Pending
Application number
JP2021023499A
Other languages
Japanese (ja)
Other versions
JP2022125739A5 (en
Inventor
眞也 今村
Shinya Imamura
毅斉 尾之江
Takanari Onoe
和哉 柳瀬
Kazuya Yanase
尚紀 鈴木
Hisanori Suzuki
聡 内山
Satoshi Uchiyama
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 Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management 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 Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to JP2021023499A priority Critical patent/JP2022125739A/en
Priority to PCT/JP2022/000638 priority patent/WO2022176439A1/en
Priority to TW111101549A priority patent/TWI825558B/en
Publication of JP2022125739A publication Critical patent/JP2022125739A/en
Publication of JP2022125739A5 publication Critical patent/JP2022125739A5/ja
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • G01J1/42Photometry, e.g. photographic exposure meter using electric radiation detectors
    • 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

Abstract

To provide a photoelectric sensor that enables a quantity of received light to be easily confirmed.SOLUTION: A photoelectric sensor 10 comprises a projector 11 projecting detection light LW, a light receiver 12 receiving the detection light LW, and a controller 20. The controller 20 includes: a detection unit 33 that detects presence/absence of a detection object W on the basis of a quantity of the detection light LW received by the light receiver 12 and outputs a detection signal K1; and a signal production unit 34 that, on the basis of the quantity of the detection light LW received by the light receiver 12, produces a received light quantity signal K2 of a pulse width in accordance with the quantity of the light and outputs the received light quantity signal K2.SELECTED DRAWING: Figure 3

Description

本開示は、光電センサに関する。 The present disclosure relates to photoelectric sensors.

従来、物体の検出に用いられる光電センサは、センサユニットと、センサユニットに接続された投光部および受光部を有する。投光部および受光部は、物体が通過する領域を挟んで配置される。センサユニットは、受光部における受光量に基づいて、投光部と受光部との間の検出領域における物体の有無を示す検出信号を出力する。光電センサは、受光部が受光する受光量を表示する表示器を備えたものである(例えば、特許文献1参照)。また、上記の透過型の光電センサに対して、投光部と受光部とが一体に設けられ、物体にて反射された光の受光量に基づいて物体の有無を示す検出信号を出力する反射型の光電センサもある。 Conventionally, a photoelectric sensor used for detecting an object has a sensor unit, and a light projecting section and a light receiving section connected to the sensor unit. The light projecting section and the light receiving section are arranged with an area through which an object passes therebetween. The sensor unit outputs a detection signal indicating the presence or absence of an object in a detection area between the light projecting section and the light receiving section based on the amount of light received by the light receiving section. The photoelectric sensor has a display that displays the amount of light received by the light receiving section (see, for example, Patent Document 1). In addition, in the above transmissive photoelectric sensor, a light projecting part and a light receiving part are integrally provided, and a reflection sensor that outputs a detection signal indicating the presence or absence of an object based on the amount of light reflected by the object is received. There is also a photoelectric sensor of the type.

特開2013-076681号公報JP 2013-076681 A

ところで、受光部における受光量は、周囲環境の影響で投光部や受光部に埃等が付着することにより低下する。受光量の低下は、誤検出の要因となる。このため、上記の光電センサのように、センサユニットに備えられた表示器にて受光量を確認し、埃等の除去や、受光量に対する検出のためのしきい値を変更するなどの処理を行う必要となる。しかしながら、センサユニットまで見に行かなければならなかったり、センサユニットの設置状態によっては表示器が見えない所に設置され確認し難かったりする場合がある。 By the way, the amount of light received by the light-receiving part decreases due to the adhesion of dust and the like to the light-projecting part and the light-receiving part due to the influence of the surrounding environment. A decrease in the amount of received light causes an erroneous detection. For this reason, as in the photoelectric sensor described above, the amount of received light is confirmed by a display provided in the sensor unit, and processing such as removing dust or changing the threshold value for detecting the amount of received light is required. need to do. However, it may be necessary to go to the sensor unit to see it, or depending on the installation state of the sensor unit, the display may be installed in a place where it cannot be seen, making it difficult to check.

本開示の光電センサは、検出光を投光する投光部と、前記検出光を受光する受光部と、前記受光部が受光した前記検出光の光量に基づいて検出対象物の有無を検出し、検出信号を出力する検出部と、前記受光部が受光した前記検出光の光量に基づいて、前記光量に応じたパルス幅の受光量信号を生成し、前記受光量信号を出力する信号生成部と、を備えた。 The photoelectric sensor of the present disclosure detects the presence or absence of a detection target based on the light intensity of the detection light received by the light-projecting unit that projects detection light, the light-receiving unit that receives the detection light, and the light-receiving unit. a detection unit for outputting a detection signal; and a signal generation unit for generating a light reception amount signal having a pulse width corresponding to the light amount based on the light amount of the detection light received by the light receiving unit and outputting the light reception amount signal. and provided.

本開示における光電センサは、パルス幅により受光量を容易に確認することができる。 The photoelectric sensor according to the present disclosure can easily confirm the amount of light received from the pulse width.

光電センサの概略ブロック図。Schematic block diagram of a photoelectric sensor. コントローラの説明図。Explanatory drawing of a controller. 光電センサのブロック図。Block diagram of a photoelectric sensor. コントローラの動作を示すフローチャート。4 is a flow chart showing the operation of the controller; コントローラの動作を示す波形図。Waveform diagram showing the operation of the controller. コントローラの動作を示す波形図。Waveform diagram showing the operation of the controller. 変更例の光電センサのブロック図。The block diagram of the photoelectric sensor of the example of a change.

以下、一実施形態を図1~図6に従って説明する。
図1に示すように、光電センサ10は、検出対象物Wの有無を検出する。検出対象物Wは、例えば、回路基板、樹脂成形品、等の物体である。
An embodiment will be described below with reference to FIGS. 1 to 6. FIG.
As shown in FIG. 1, the photoelectric sensor 10 detects the presence or absence of a detection target W. As shown in FIG. The detection target W is, for example, an object such as a circuit board, a resin molded product, or the like.

光電センサ10は、投光器11、受光器12、コントローラ20を備えている。投光器11は、投光ヘッド11aとファイバケーブル11bを有している。ファイバケーブル11bは、コントローラ20に接続されている。コントローラ20は、ファイバケーブル11bを着脱可能に構成されている。受光器12は、受光ヘッド12aとファイバケーブル12bを有している。ファイバケーブル12bは、コントローラ20に接続されている。コントローラ20は、ファイバケーブル12bを着脱可能に構成されている。 The photoelectric sensor 10 has a light projector 11 , a light receiver 12 and a controller 20 . The light projector 11 has a light projecting head 11a and a fiber cable 11b. The fiber cable 11b is connected to the controller 20. FIG. The controller 20 is configured such that the fiber cable 11b is detachable. The light receiver 12 has a light receiving head 12a and a fiber cable 12b. Fiber cable 12 b is connected to controller 20 . The controller 20 is configured such that the fiber cable 12b is detachable.

コントローラ20は、処理装置100に接続されている。例えば、処理装置100は、汎用I/Oポートを有し、コントローラ20は汎用I/Oポートに接続される。処理装置100は、検出対象物Wを処理する。検出対象物Wを回路基板とした場合、処理装置100は、検出対象物W(回路基板)の搬送の制御、回路基板に対する電子部品等の実装、等を行うものである。 The controller 20 is connected to the processing device 100 . For example, processing device 100 has a general purpose I/O port and controller 20 is connected to the general purpose I/O port. The processing device 100 processes the object W to be detected. When the object W to be detected is a circuit board, the processing device 100 controls the transportation of the object W to be detected (circuit board), mounts electronic components and the like on the circuit board, and the like.

投光ヘッド11aと受光ヘッド12aは、それらの間を検出対象物Wが通過するように配置される。例えば、投光ヘッド11aと受光ヘッド12aは、検出対象物Wを搬送する搬送路を挟んで配置される。投光ヘッド11aと受光ヘッド12aは、互いに対向するように固定される。受光ヘッド12aは、投光ヘッド11aから出射される検出光LWを受光する。検出対象物Wは、投光ヘッド11aから受光ヘッド12aに向かう検出光LWの少なくとも一部を遮る。受光ヘッド12aにおける検出光LWの光量、つまり受光量は、検出対象物Wの有無により変化(減少)する。コントローラ20は、この受光量の変化に基づいて、検出対象物Wの有無を検出する。そして、コントローラ20は、検出対象物Wの有無を示す検出信号K1を出力する。 The light projecting head 11a and the light receiving head 12a are arranged so that the object W to be detected passes therebetween. For example, the light projecting head 11a and the light receiving head 12a are arranged across a transport path for transporting the object W to be detected. The light projecting head 11a and the light receiving head 12a are fixed so as to face each other. The light receiving head 12a receives the detection light LW emitted from the light projecting head 11a. The detection target W blocks at least part of the detection light LW traveling from the light projecting head 11a to the light receiving head 12a. The amount of the detection light LW in the light receiving head 12a, that is, the amount of light received changes (decreases) depending on the presence or absence of the object W to be detected. The controller 20 detects the presence or absence of the detection target W based on this change in the amount of light received. Then, the controller 20 outputs a detection signal K1 indicating the presence or absence of the object W to be detected.

コントローラ20は、処理装置100から所定の外部入力信号CNXを入力する。外部入力信号CNXは、処理装置100が光電センサ10に対して所定の処理を行うように指示を行うもの(処理命令)である。コントローラ20は、外部入力信号CNXに基づいて、処理を実行する。 The controller 20 inputs a predetermined external input signal CNX from the processing device 100 . The external input signal CNX is a signal (processing command) that the processing device 100 instructs the photoelectric sensor 10 to perform a predetermined process. The controller 20 executes processing based on the external input signal CNX.

光電センサ10における処理は、例えば、検出処理、ティーチング処理、入光量確認処理を含む。検出処理は、通常検出動作および検出出力を行うものである。ティーチング処理は、飽和回避およびリミットティーチングを行うものである。入光量確認処理は、受光量出力を行うものである。 Processing in the photoelectric sensor 10 includes, for example, detection processing, teaching processing, and incident light amount confirmation processing. The detection process performs normal detection operation and detection output. The teaching process performs saturation avoidance and limit teaching. The incident light amount confirmation process is for outputting the amount of received light.

通常検出動作および検出出力は、上記したように、投光ヘッド11aから受光ヘッド12aに向けて検出光LWを出射し、受光ヘッド12aにおける受光量に基づいて検出対象物Wの有無を検出し、検出信号K1を出力するものである。飽和回避は、受光回路23において受光信号DWのレベルが飽和しないように投光ヘッド11aにおける投光量、つまり検出光LWの光量を調整するものである。リミットティーチングは、検出対象物Wの有無を判定するためのしきい値を設定するものである。飽和回避によって設定された検出光LWを受光した受光量を基準レベルとし、その基準レベルから所定値(シフト量)低下した値をしきい値として設定する。 In the normal detection operation and the detection output, as described above, the detection light LW is emitted from the light projecting head 11a toward the light receiving head 12a, and the presence or absence of the detection target W is detected based on the amount of light received by the light receiving head 12a. It outputs a detection signal K1. The saturation avoidance is to adjust the amount of light projected from the light projecting head 11a, that is, the light amount of the detection light LW so that the level of the light receiving signal DW in the light receiving circuit 23 is not saturated. Limit teaching is to set a threshold for determining the presence or absence of the object W to be detected. The received light amount of the detection light LW set by saturation avoidance is set as a reference level, and a value lower than the reference level by a predetermined value (shift amount) is set as a threshold value.

ティーチング処理は、例えば投光ヘッド11aと受光ヘッド12aとの間の距離(ヘッド間距離)を変更したときに実施される。ヘッド間距離に対して検出対象物Wが小さいと、検出対象物Wによる検出光LWの光量の変化、つまり受光量の変化が小さい。この場合、投光ヘッド11aと受光ヘッド12aとの間の検出対象物Wを検出しない、つまり誤検出が生じる場合がある。このため、ヘッド間距離を検出対象物Wの大きさに応じて調整する、つまり、ヘッド間距離を小さくする。すると、受光ヘッド12aにおける検出光LWの入射光量が多くなって、受光信号DWが飽和状態となる。このため、投光ヘッド11aにおける検出光LWの投光量を調整する。 Teaching processing is performed, for example, when the distance between the light projecting head 11a and the light receiving head 12a (head-to-head distance) is changed. If the detection object W is small with respect to the distance between the heads, the change in the light amount of the detection light LW due to the detection object W, that is, the change in the amount of received light is small. In this case, the detection target W between the light projecting head 11a and the light receiving head 12a may not be detected, that is, erroneous detection may occur. Therefore, the head-to-head distance is adjusted according to the size of the object W to be detected, that is, the head-to-head distance is reduced. Then, the amount of incident light of the detection light LW on the light receiving head 12a increases, and the light receiving signal DW becomes saturated. Therefore, the projection amount of the detection light LW in the projection head 11a is adjusted.

図2に示すように、コントローラ20は、操作部26、表示部27を備えている。操作部26は、複数のスイッチ26a,26b,26c,26dを含む。スイッチ26aは、例えばモード選択のためのスイッチである。スイッチ26b~26dは、設定値の変更等を行うためのスイッチである。コントローラ20は、表示部27に、受光ヘッド12aにおける検出光LWの入射光量(受光量)、設定値(しきい値)、等を表示する。表示部27に表示される受光量により、入射光量(受光量)の確認、投光ヘッド11aおよび受光ヘッド12aの位置調整、等を行うことができる。 As shown in FIG. 2, the controller 20 has an operation section 26 and a display section 27 . The operation unit 26 includes a plurality of switches 26a, 26b, 26c, 26d. The switch 26a is, for example, a switch for mode selection. Switches 26b to 26d are switches for changing set values. The controller 20 displays the incident light amount (received light amount) of the detection light LW in the light receiving head 12a, the set value (threshold value), and the like on the display unit 27 . Based on the amount of received light displayed on the display unit 27, it is possible to confirm the amount of incident light (amount of received light), adjust the positions of the light projecting head 11a and the light receiving head 12a, and the like.

図3に示すように、コントローラ20は、制御回路21、投光回路22、受光回路23、入力回路24、出力回路25、表示部27、操作部26、端子部28を備えている。
投光回路22は、投光素子22aを含む。投光回路22は、投光信号CWに応じた光を出射するように投光素子22aを駆動する。駆動された投光素子22aは光を出射する。投光素子22aから出射された光は、ファイバケーブル11bを介して投光ヘッド11aに送られる。投光ヘッド11aは、所定形状のレンズを含み、帯状の光(検出光LW)を出射する。
As shown in FIG. 3, the controller 20 includes a control circuit 21, a light projecting circuit 22, a light receiving circuit 23, an input circuit 24, an output circuit 25, a display section 27, an operation section 26, and a terminal section .
The light projecting circuit 22 includes a light projecting element 22a. The light projecting circuit 22 drives the light projecting element 22a so as to emit light according to the light projecting signal CW. The driven light projecting element 22a emits light. The light emitted from the light projecting element 22a is sent to the light projecting head 11a via the fiber cable 11b. The projection head 11a includes a lens of a predetermined shape and emits strip-shaped light (detection light LW).

受光ヘッド12aにて受光された光は、ファイバケーブル12bを介して受光回路23へ送られる。受光回路23は、受光素子23aを含む。受光素子23aは、ファイバケーブル12bにより伝達された光を光電変換して電圧信号を生成する。受光回路23は、受光素子23aにより生成された電圧信号を増幅し、その増幅後の信号を受光信号DWとして出力する。この受光信号DWは、受光ヘッド12aにおける受光量と、電圧信号を増幅する増幅率に対応したレベル(電圧)のアナログ信号である。投光ヘッド11aとファイバケーブル11bと投光回路22(投光素子22a)は投光部を構成し、受光ヘッド12aとファイバケーブル12bと受光回路23(受光素子23a)は受光部を構成する。 The light received by the light receiving head 12a is sent to the light receiving circuit 23 via the fiber cable 12b. The light receiving circuit 23 includes a light receiving element 23a. The light receiving element 23a photoelectrically converts the light transmitted through the fiber cable 12b to generate a voltage signal. The light receiving circuit 23 amplifies the voltage signal generated by the light receiving element 23a and outputs the amplified signal as the light receiving signal DW. The received light signal DW is an analog signal having a level (voltage) corresponding to the amount of light received by the light receiving head 12a and the amplification factor for amplifying the voltage signal. The light projecting head 11a, fiber cable 11b, and light projecting circuit 22 (light projecting element 22a) constitute a light projecting section, and the light receiving head 12a, fiber cable 12b, and light receiving circuit 23 (light receiving element 23a) constitute a light receiving section.

端子部28は、4つの端子28a,28b,28c,28dを含む。端子部28は、例えば信号線を接続するコネクタとして構成される。第1端子28aと第4端子28dは、コントローラ20に電源を供給するものである。第1端子28aには動作電圧VSが供給され、第4端子28dはグランド(GND)である。動作電圧VSは、制御回路21、投光回路22、受光回路23、出力回路25、入力回路24に供給される。第2端子28bは、出力端子であり、上記した検出信号K1と受光量信号K2とがコントローラ20の外部に向けて出力される。第3端子28cは、入力端子であり、上記した外部入力信号CNXが、コントローラ20の外部、図1に示す処理装置100から供給される。入力回路24は、第3端子28cに接続される。入力回路24は、外部入力信号CNXを受け取り、外部入力信号CNXに応じた外部指令信号CNIを制御回路21に出力する。外部入力信号CNXはパルス信号であり、入力回路24は、外部入力信号CNXのパルス幅と等しいパルス幅の外部指令信号CNIを出力する。なお、外部指令信号CNI(外部入力信号CNX)にパルスが含まれているときに信号入力が有るとし、パルスが含まれていないときに信号入力が無いとする。 The terminal portion 28 includes four terminals 28a, 28b, 28c and 28d. The terminal portion 28 is configured as a connector for connecting signal lines, for example. The first terminal 28 a and the fourth terminal 28 d supply power to the controller 20 . The operating voltage VS is supplied to the first terminal 28a, and the fourth terminal 28d is the ground (GND). The operating voltage VS is supplied to the control circuit 21 , the light projecting circuit 22 , the light receiving circuit 23 , the output circuit 25 and the input circuit 24 . The second terminal 28b is an output terminal, and outputs the detection signal K1 and the received light amount signal K2 to the outside of the controller 20. FIG. The third terminal 28c is an input terminal, and the above-described external input signal CNX is supplied from the outside of the controller 20, the processing device 100 shown in FIG. The input circuit 24 is connected to the third terminal 28c. The input circuit 24 receives an external input signal CNX and outputs an external command signal CNI to the control circuit 21 according to the external input signal CNX. The external input signal CNX is a pulse signal, and the input circuit 24 outputs an external command signal CNI having a pulse width equal to the pulse width of the external input signal CNX. It is assumed that there is a signal input when the external command signal CNI (external input signal CNX) contains a pulse, and that there is no signal input when the pulse is not contained.

制御回路21は、制御部31、投光制御部32、検出部33、信号生成部34、切換部35、入力信号判定部36を備えている。なお、制御回路21は、例えばCPU等の演算処理装置によって構成することもできる。 The control circuit 21 includes a control section 31 , a light projection control section 32 , a detection section 33 , a signal generation section 34 , a switching section 35 and an input signal determination section 36 . Note that the control circuit 21 can also be configured by an arithmetic processing device such as a CPU, for example.

投光制御部32は、記憶部32aを含む。記憶部32aには、投光量が記憶される。投光量は、操作部26の操作、ティーチング処理により設定される。投光制御部32は、投光量に応じた光が投光回路22の投光素子22aから出射されるように、投光信号CWを出力する。 The light projection control section 32 includes a storage section 32a. The amount of projected light is stored in the storage unit 32a. The amount of projected light is set by operating the operation unit 26 and teaching processing. The light projection control unit 32 outputs a light projection signal CW so that light corresponding to the amount of light to be projected is emitted from the light projection element 22a of the light projection circuit 22 .

検出部33は、受光信号DWを入力する。検出部33は、記憶部33aを含む。記憶部33aには、判定のためのしきい値が記憶される。このしきい値は、操作部26の操作、ティーチング処理により設定される。検出部33は、受光信号DWのレベル(受光レベルDL)としきい値とを比較し、検出対象物Wの有無を検出する。例えば、検出部33は、AD変換器(アナログ-デジタル変換器)を含み、受光信号DWのレベル値としきい値とを比較する。そして、検出部33は、検出結果に応じた検出信号K1を出力する。例えば、検出部33は、図5に示すように、検出対象物Wを検出しているときに第1レベル(例えばHレベル)の検出信号K1を出力し、検出対象物Wを検出していないときに第1レベルと異なる第2レベル(例えばLレベル)の検出信号K1を出力する。 The detector 33 receives the received light signal DW. The detection unit 33 includes a storage unit 33a. A threshold value for determination is stored in the storage unit 33a. This threshold value is set by operating the operation unit 26 and teaching processing. The detection unit 33 compares the level of the light receiving signal DW (light receiving level DL) with a threshold to detect the presence or absence of the detection target W. FIG. For example, the detection unit 33 includes an AD converter (analog-digital converter) and compares the level value of the received light signal DW with a threshold value. Then, the detection unit 33 outputs a detection signal K1 corresponding to the detection result. For example, as shown in FIG. 5, the detection unit 33 outputs a detection signal K1 of a first level (for example, H level) while detecting the detection target W, and does not detect the detection target W. Sometimes, it outputs a detection signal K1 of a second level (for example, L level) different from the first level.

信号生成部34は、受光信号DWを入力する。信号生成部34は、受光信号DWのレベル(受光レベルDL)に応じたパルス幅の受光量信号K2を生成し、その受光量信号を出力する。例えば、信号生成部34は、AD変換器を含み,受光信号DWのレベル値を得る。そして、信号生成部34は、そのレベル値に比例したパルス幅の受光量信号K2を生成する。信号生成部34は、レベル値の基本単位を1msとしたパルス幅の受光量信号K2を生成する。例えば、レベル値が「3000」の場合、受光量信号K2のパルス幅は3000msとなる。 The signal generator 34 receives the received light signal DW. The signal generator 34 generates a light receiving amount signal K2 having a pulse width corresponding to the level of the light receiving signal DW (light receiving level DL), and outputs the light receiving amount signal. For example, the signal generator 34 includes an AD converter and obtains the level value of the received light signal DW. Then, the signal generator 34 generates a received light amount signal K2 having a pulse width proportional to the level value. The signal generator 34 generates a light-receiving amount signal K2 having a pulse width of 1 ms as the basic unit of the level value. For example, when the level value is "3000", the pulse width of the received light amount signal K2 is 3000 ms.

なお、比例係数が設定されてもよい。信号生成部34は、記憶部34aを有し、その記憶部34aに比例係数が記憶される。信号生成部34は、レベル値と比例係数とに基づいてパルス幅を算出する。例えば、信号生成部34は、レベル値に比例係数を乗算した結果をパルス幅とする。 A proportional coefficient may be set. The signal generation unit 34 has a storage unit 34a, and the proportional coefficient is stored in the storage unit 34a. The signal generator 34 calculates the pulse width based on the level value and the proportional coefficient. For example, the signal generator 34 uses the result of multiplying the level value by a proportional coefficient as the pulse width.

入力信号判定部36は、外部指令信号CNIのパルス幅を計測する。入力信号判定部36は、パルス幅に基づいて、図1に示す処理装置100からの処理命令を判定する。そして、入力信号判定部36は、処理命令に対応する内部制御信号を出力する。外部入力信号CNX(外部指令信号CNI)は、入力信号判定部36において識別可能なパルス幅となるように処理装置100によって生成される。本実施形態において、外部入力信号CNX(外部指令信号CNI)のパルス幅は、第1の幅値、または第2の幅値に設定される。例えば、第1の幅値は250msに設定され、第2の幅値は150msに設定される。なお、第1の幅値および第2の幅値は、標準的なパルス幅を示すものである。そして、計測したパルス幅が標準的なパルス幅を含む所定範囲の値であるとき、そのパルス幅を第1の幅値または第2の幅値と判定する。第1の幅値、第2の幅値は、適宜変更されてもよい。 The input signal determination unit 36 measures the pulse width of the external command signal CNI. The input signal determination unit 36 determines a processing command from the processing device 100 shown in FIG. 1 based on the pulse width. The input signal determination unit 36 then outputs an internal control signal corresponding to the processing command. The external input signal CNX (external command signal CNI) is generated by the processing device 100 so as to have a pulse width that can be identified by the input signal determination section 36 . In this embodiment, the pulse width of the external input signal CNX (external command signal CNI) is set to the first width value or the second width value. For example, the first width value is set to 250ms and the second width value is set to 150ms. Note that the first width value and the second width value indicate standard pulse widths. Then, when the measured pulse width is within a predetermined range including the standard pulse width, the pulse width is determined to be the first width value or the second width value. The first width value and the second width value may be changed as appropriate.

例えば、外部指令信号CNI(外部入力信号CNX)のパルス幅が第1の幅値であるとき、その外部指令信号CNI(外部入力信号CNX)は、受光量出力指令を示す。入力信号判定部36は、外部指令信号CNIのパルス幅が第1の幅値のとき、第1内部制御信号CN1を出力する。また、外部指令信号CNI(外部入力信号CNX)のパルス幅が第2の幅値であるとき、その外部指令信号CNI(外部入力信号CNX)は、ティーチング処理指令を示す。入力信号判定部36は、外部指令信号CNIのパルス幅が第2の幅値のとき、第2内部制御信号CN2を出力する。 For example, when the pulse width of the external command signal CNI (external input signal CNX) is the first width value, the external command signal CNI (external input signal CNX) indicates the received light amount output command. The input signal determination unit 36 outputs the first internal control signal CN1 when the pulse width of the external command signal CNI is the first width value. Also, when the pulse width of the external command signal CNI (external input signal CNX) is the second width value, the external command signal CNI (external input signal CNX) indicates a teaching process command. The input signal determination unit 36 outputs the second internal control signal CN2 when the pulse width of the external command signal CNI is the second width value.

制御部31は、第1内部制御信号CN1を切換部35に出力する。切換部35は、検出部33と信号生成部34とを切換える。詳しくは、切換部35は、検出部33が検出信号K1を出力する状態と、信号生成部34が受光量信号K2を出力する状態とを切換える。 Control unit 31 outputs first internal control signal CN<b>1 to switching unit 35 . Switching unit 35 switches between detecting unit 33 and signal generating unit 34 . Specifically, the switching unit 35 switches between a state in which the detection unit 33 outputs the detection signal K1 and a state in which the signal generation unit 34 outputs the received light amount signal K2.

切換部35は、第1内部制御信号CN1に応答して状態を切換える。
詳述すると、第1内部制御信号CN1を入力しないとき、切換部35は、検出部33が検出信号K1を出力する状態とする。これにより、光電センサ10は、検出対象物Wの検出結果を示す検出信号K1を、端子部28の第2端子28bから出力する。
Switching unit 35 switches the state in response to first internal control signal CN1.
Specifically, when the first internal control signal CN1 is not input, the switching section 35 causes the detection section 33 to output the detection signal K1. As a result, the photoelectric sensor 10 outputs a detection signal K<b>1 indicating the detection result of the detection target W from the second terminal 28 b of the terminal section 28 .

切換部35は、第1内部制御信号CN1を入力すると、信号生成部34が受光量信号K2を出力する状態に切換える。信号生成部34は、第1内部制御信号CN1を入力し、そのときの受光レベルDLに応じたパルス幅の受光量信号K2を生成する。そして、信号生成部34は、第1内部制御信号CN1を入力してから所定時間経過後に、受光レベルDLに応じたパルス幅の受光量信号K2を出力する。第1内部制御信号CN1の入力から受光量信号K2のパルスまでの時間を第3の幅値とする。第3の幅値は、例えば250msに設定される。第3の幅値は、適宜変更されてもよい。 When the switching unit 35 receives the first internal control signal CN1, the switching unit 35 switches to a state in which the signal generating unit 34 outputs the received light amount signal K2. The signal generator 34 receives the first internal control signal CN1 and generates a received light amount signal K2 having a pulse width corresponding to the received light level DL at that time. After a predetermined time has passed since the first internal control signal CN1 was input, the signal generator 34 outputs a light receiving amount signal K2 having a pulse width corresponding to the light receiving level DL. The time from the input of the first internal control signal CN1 to the pulse of the received light amount signal K2 is taken as the third width value. A third width value is set to, for example, 250 ms. The third width value may be changed accordingly.

つまり、光電センサ10は、受光量出力指令を示す外部入力信号CNXを入力後、第3の幅値の経過後に、受光レベルDLに応じたパルス幅の受光量信号K2を、端子部28の第2端子28bから出力する。したがって、図1に示す処理装置100は、受光量出力指令を示すパルス幅の外部入力信号CNXを出力した後、第3の幅値の後に入力する信号のパルス幅により、光電センサ10におけるその時の受光レベルDLを受け取ることができる。 In other words, the photoelectric sensor 10 outputs the received light amount signal K2 having a pulse width corresponding to the received light level DL to the terminal portion 28 after the elapse of the third width value after the external input signal CNX indicating the received light amount output command is input. 2 output from the terminal 28b. Therefore, the processing device 100 shown in FIG. 1 outputs the external input signal CNX having a pulse width indicating the received light amount output command, and then outputs the pulse width of the signal that is input after the third width value. A received light level DL can be received.

切換部35は、信号生成部34に切換えた後、所定の時間経過後に、検出部33が検出信号K1を出力する状態に切換える。このときの時間は、受光量信号K2のパルスが外部に向けて出力されるのに十分な時間に設定される。詳しくは、受光レベルDLの最大値に応じた時間よりも大きく設定される。 Switching unit 35 switches to a state in which detecting unit 33 outputs detection signal K1 after a predetermined time has elapsed after switching to signal generating unit 34 . The time at this time is set to a time sufficient for the pulse of the received light amount signal K2 to be output to the outside. Specifically, it is set longer than the time corresponding to the maximum value of the light receiving level DL.

図4は、制御回路21における処理の流れを示す。
制御回路21は、ステップS1において、外部入力信号CNXがあるか否かを判定する。制御回路21は、外部入力信号CNXがないと判定した場合(判定:NO)、ステップS2へ移行し、通常検出動作および検出出力を実行し、検出信号K1を出力する。
FIG. 4 shows the flow of processing in the control circuit 21. As shown in FIG.
In step S1, the control circuit 21 determines whether or not there is an external input signal CNX. When the control circuit 21 determines that there is no external input signal CNX (determination: NO), the control circuit 21 proceeds to step S2, performs normal detection operation and detection output, and outputs the detection signal K1.

制御回路21は、ステップS1において外部入力信号CNXがあると判定した場合(判定:YES)、ステップS3に移行し、パルス幅計測を実行する。制御回路21は、外部入力信号CNXのパルス幅を計測し、ステップS4に移行する。 When the control circuit 21 determines in step S1 that there is an external input signal CNX (determination: YES), the process proceeds to step S3 and executes pulse width measurement. The control circuit 21 measures the pulse width of the external input signal CNX, and proceeds to step S4.

ステップS4において、パルス幅が150ms(第2の幅値)か否かを判定する。パルス幅が150msであると判定した場合(判定:YES)、制御回路21は、ステップS5に移行する。ステップS5において、制御回路21は、飽和回避およびリミットティーチング処理を実行する。 In step S4, it is determined whether the pulse width is 150 ms (second width value). When determining that the pulse width is 150 ms (determination: YES), the control circuit 21 proceeds to step S5. In step S5, the control circuit 21 executes saturation avoidance and limit teaching processing.

ステップS4において、パルス幅が150msではないと判定した場合(判定:NO)、制御回路21は、ステップS6に移行する。ステップS6において、制御回路21は、パルス幅が250ms(第2の幅値)か否かを判定する。パルス幅が250msと判定した場合(判定YES)、制御回路21はステップS7に移行する。ステップS7において、制御回路21は、受光量出力処理を実行する。 If it is determined in step S4 that the pulse width is not 150 ms (determination: NO), the control circuit 21 proceeds to step S6. In step S6, the control circuit 21 determines whether the pulse width is 250 ms (second width value). If the pulse width is determined to be 250 ms (determination YES), the control circuit 21 proceeds to step S7. In step S7, the control circuit 21 executes a received light amount output process.

ステップS6において、パルス幅が250msではないと判定した場合(判定:NO)、制御回路21は、ステップS8に移行する。ステップS8において、制御回路21は、通常検出動作および検出出力を実行し、検出信号K1を出力する。 If it is determined in step S6 that the pulse width is not 250 ms (determination: NO), the control circuit 21 proceeds to step S8. In step S8, the control circuit 21 performs normal detection operation and detection output, and outputs the detection signal K1.

図4において、ステップS8において実行する処理は、ステップS2において実行する処理と等しい。これは、外部入力信号CNXに対する誤動作を抑制するものである。外部入力信号CNXは、図1に示すように、処理装置100から光電センサ10のコントローラ20に向けて、信号線WXにより伝達される。光電センサ10が検出する検出対象物Wを処理する装置の状態によって、例えば装置の稼働中において信号線WXにより伝達される信号にノイズが混入する場合がある。このようなノイズによって外部入力信号CNXに生じるパルスのパルス幅は、第1の幅値(250ms)および第2の幅値(150ms)と異なる。このため、第1の幅値および第2の幅値と異なる場合に、通常検出動作および検出出力を実行する。これにより、検出対象物Wをより確実に検出できるようになる。 In FIG. 4, the process executed in step S8 is the same as the process executed in step S2. This suppresses malfunctions with respect to the external input signal CNX. The external input signal CNX is transmitted from the processing device 100 to the controller 20 of the photoelectric sensor 10 via the signal line WX, as shown in FIG. Depending on the state of the device that processes the detection target W detected by the photoelectric sensor 10, noise may be mixed in the signal transmitted through the signal line WX during the operation of the device, for example. The pulse width of pulses generated in the external input signal CNX by such noise is different from the first width value (250 ms) and the second width value (150 ms). Therefore, when different from the first width value and the second width value, normal detection operation and detection output are performed. As a result, the detection target W can be detected more reliably.

(作用)
次に、上記の光電センサ10の作用を説明する。
図6は、外部入力信号CNXと受光量信号K2とを示す。
(Action)
Next, the operation of the photoelectric sensor 10 will be described.
FIG. 6 shows the external input signal CNX and the received light amount signal K2.

図3に示すコントローラ20の制御回路21は、外部入力信号CNXのパルス幅PW1を計測する。制御回路21は、パルス幅PW1が第1の幅値(250ms)の場合、受光量信号K2を出力する。このとき、外部入力信号CNXの判定後、例えば外部入力信号CNXのパルスから所定時間PW2経過後に、受光レベルに応じたパルス幅PW3の受光量信号K2を出力する。図1に示す処理装置100は、受光量信号K2のパルス幅を計測し、光電センサ10における受光レベルを得る。つまり、処理装置100において、受光量信号K2のパルス幅により、光電センサ10の受光レベルを確認できる。これにより、光電センサ10の表示部27を作業者が確認する手間を省くことができる。また、コントローラ20の表示部27を確認する必要が無くなるため、コントローラ20の配置の自由度が高くなる。そして、処理装置100において光電センサ10の受光レベルを確認できるため、確認した受光レベルによって処理装置100から投光ヘッド11aおよび受光ヘッド12aにおける埃等の付着状態を判断でき、清掃などの処理を通知することができる。 The control circuit 21 of the controller 20 shown in FIG. 3 measures the pulse width PW1 of the external input signal CNX. The control circuit 21 outputs the received light amount signal K2 when the pulse width PW1 is the first width value (250 ms). At this time, after the determination of the external input signal CNX, for example, after a predetermined time PW2 has elapsed from the pulse of the external input signal CNX, the received light amount signal K2 having a pulse width PW3 corresponding to the received light level is output. The processing device 100 shown in FIG. 1 measures the pulse width of the received light amount signal K2 and obtains the received light level in the photoelectric sensor 10 . That is, in the processing device 100, the light receiving level of the photoelectric sensor 10 can be confirmed from the pulse width of the light receiving amount signal K2. This saves the operator the trouble of checking the display unit 27 of the photoelectric sensor 10 . In addition, since it is not necessary to check the display section 27 of the controller 20, the degree of freedom in arranging the controller 20 is increased. Since the processing device 100 can check the light receiving level of the photoelectric sensor 10, the processing device 100 can determine the adhesion state of dust or the like on the light projecting head 11a and the light receiving head 12a based on the confirmed light receiving level, and notify the processing such as cleaning. can do.

受光量を確認する別の手段として、アナログ出力タイプのコントローラを用いたアナログ通信や、通信ユニットを用いたシリアル通信により、行うものがある。しかし、これらの別の手段では、通信のためのユニット等が必要となって設備に係る費用の増加や設置のために広いスペースが必要となる、等の問題がある。その点、本実施形態の光電センサ10は、出力回路25を備えたコントローラ20を処理装置100の汎用I/Oポートに接続した簡易的な構成により、検出対象物Wの有無の検出と、受光量の確認とを行うことができる。 As another means for confirming the amount of light received, analog communication using an analog output type controller and serial communication using a communication unit are available. However, these other means require a unit for communication, which causes problems such as an increase in equipment costs and a need for a large space for installation. In this respect, the photoelectric sensor 10 of the present embodiment detects the presence or absence of the detection target W and detects the presence of the detection target W by a simple configuration in which the controller 20 having the output circuit 25 is connected to the general-purpose I/O port of the processing device 100. Confirmation of quantity can be performed.

コントローラ20の制御回路21は、外部入力信号CNXのパルス幅を計測し、そのパルス幅が第2の幅値(150ms)の場合、飽和処理およびリミットティーチング処理を行う。このため、検出対象物Wに応じて投光ヘッド11a及び受光ヘッド12aの位置を変更したときに、投光量およびしきい値を容易に設定することができる。 The control circuit 21 of the controller 20 measures the pulse width of the external input signal CNX, and when the pulse width is the second width value (150 ms), performs saturation processing and limit teaching processing. Therefore, when the positions of the light projecting head 11a and the light receiving head 12a are changed according to the object W to be detected, the amount of projected light and the threshold value can be easily set.

以上記述したように、本実施形態によれば、以下の効果を奏する。
(1)光電センサ10は、検出光LWを投光する投光器11と、検出光LWを受光する受光器12と、コントローラ20とを備える。コントローラ20は、受光器12が受光した検出光LWの光量に基づいて検出対象物Wの有無を検出し、検出信号K1を出力する検出部33と、受光器12が受光した検出光LWの光量に基づいて、光量に応じたパルス幅の受光量信号K2を生成し、受光量信号K2を出力する信号生成部34と、を備えた。この構成によれば、受光量信号K2のパルス幅により、受光器12における受光量を容易に確認することができる。
As described above, according to this embodiment, the following effects are obtained.
(1) The photoelectric sensor 10 includes a light projector 11 that projects the detection light LW, a light receiver 12 that receives the detection light LW, and a controller 20 . The controller 20 detects the presence or absence of the detection target W based on the light amount of the detection light LW received by the light receiver 12, and includes a detection unit 33 that outputs a detection signal K1, and the light amount of the detection light LW received by the light receiver 12. and a signal generation unit 34 that generates a light reception amount signal K2 having a pulse width corresponding to the light amount based on and outputs the light reception amount signal K2. With this configuration, the amount of light received by the light receiver 12 can be easily confirmed from the pulse width of the light amount signal K2.

(2)検出信号K1と受光量信号K2とを第2端子28bに出力する出力回路25と、検出部33が検出信号K1を出力している状態と、信号生成部34が受光量信号K2を出力している状態とを切換える切換部35と、を備えた。この構成によれば、1つの第2端子28bにより、端子数を変更することなく、検出信号K1と受光量信号K2とを出力することができる。そして、端子数の増加による形状変更やコントローラ20の大型化を抑制できる。 (2) The output circuit 25 that outputs the detection signal K1 and the light reception amount signal K2 to the second terminal 28b, the state in which the detection unit 33 outputs the detection signal K1, and the signal generation unit 34 that outputs the light reception amount signal K2. and a switching unit 35 for switching between the output state and the output state. According to this configuration, the detection signal K1 and the received light amount signal K2 can be output from one second terminal 28b without changing the number of terminals. Further, it is possible to suppress the shape change due to the increase in the number of terminals and the size increase of the controller 20 .

(3)第3端子28cに接続され、第3端子28cを介して外部入力信号CNXを入力する入力回路24と、外部入力信号CNXのパルス幅を計測し、パルス幅が第1の幅値のときに第1内部制御信号を生成する入力信号判定部36と、を備えた。切換部35は、第1内部制御信号に応答して信号生成部34が受光量信号K2を出力している状態に切換え、受光量信号K2を出力した後に検出部33が検出信号K1を出力している状態に切換える。この構成によれば、パルス幅の異なる外部入力信号CNXによって、検出信号K1と受光量信号K2との出力を容易に切換えることができる。そして、検出信号K1を出力する状態と受光量信号K2を出力する状態とを切換えることで、外部に出力される信号が検出信号K1と受光量信号K2とのいずれの信号かを判定することなく、容易に両信号を受け取ることができる。 (3) an input circuit 24 connected to a third terminal 28c for inputting an external input signal CNX via the third terminal 28c; and an input signal determination unit 36 that generates the first internal control signal when the input signal determination unit 36 generates the first internal control signal. The switching unit 35 switches to a state in which the signal generating unit 34 outputs the received light amount signal K2 in response to the first internal control signal, and the detecting unit 33 outputs the detection signal K1 after outputting the received light amount signal K2. switch to the state where According to this configuration, the outputs of the detection signal K1 and the received light amount signal K2 can be easily switched by the external input signal CNX having different pulse widths. By switching the state of outputting the detection signal K1 and the state of outputting the received light amount signal K2, it is possible to eliminate the need to determine whether the signal output to the outside is the detection signal K1 or the received light amount signal K2. , can easily receive both signals.

(4)入力信号判定部36は、パルス幅が第2の幅値のときに第2内部制御信号CN2を生成する。コントローラ20は、第2内部制御信号CN2に応答してティーチング処理を行う制御部31を備えた。この構成によれば、例えば投光ヘッド11aと受光ヘッド12aとの間の距離(ヘッド間距離)を変更したときに、受光回路23における飽和回避としきい値の設定とを容易に行うことができる。 (4) The input signal determination section 36 generates the second internal control signal CN2 when the pulse width is the second width value. The controller 20 includes a control section 31 that performs teaching processing in response to the second internal control signal CN2. According to this configuration, for example, when the distance between the light projecting head 11a and the light receiving head 12a (head-to-head distance) is changed, it is possible to easily avoid saturation in the light receiving circuit 23 and set the threshold value. .

[変更例]
実施の形態に関する説明は本開示に関する光電センサが取り得る形態の例示であり、その形態を制限することを意図していない。本開示は実施の形態以外に例えば以下に示される実施の形態の変更例、および、相互に矛盾しない少なくとも2つの変更例が組み合わせられた形態を取り得る。
[Change example]
The description of the embodiment is an example of a form that the photoelectric sensor related to the present disclosure can take, and is not intended to limit the form. In addition to the embodiment, the present disclosure can take a form in which, for example, modifications of the embodiments shown below and at least two modifications not contradicting each other are combined.

・図7は、変更例の光電センサ10aの概略ブロック図を示す。この光電センサ10aの出力回路25は、検出部33に接続された第1出力回路25aと、信号生成部34に接続された第2出力回路25bとを備える。第1出力回路25aと第2出力回路25bとを備えることにより、信号の出力に適した回路構成とすることができる。 - FIG. 7 shows a schematic block diagram of a modified photoelectric sensor 10a. The output circuit 25 of the photoelectric sensor 10 a includes a first output circuit 25 a connected to the detection section 33 and a second output circuit 25 b connected to the signal generation section 34 . By including the first output circuit 25a and the second output circuit 25b, a circuit configuration suitable for signal output can be achieved.

・図7に示す変更例の光電センサ10aにおいて、切換部35は、第1出力回路25aと第2出力回路25bとを切換えるようにしてもよい。
・図7に示す変更例の光電センサ10aにおいて、第1出力回路25aに接続された端子と、第2出力回路25bに接続された端子とを備える構成としてもよい。
- In the photoelectric sensor 10a of the modification shown in FIG. 7, the switching unit 35 may switch between the first output circuit 25a and the second output circuit 25b.
- The photoelectric sensor 10a of the modified example shown in FIG. 7 may be configured to include a terminal connected to the first output circuit 25a and a terminal connected to the second output circuit 25b.

・光電センサ10,10aは、タイマ部を備える構成としてもよい。タイマ部は、切換部35に備える構成、切換部35と別に備える構成、または制御部31が備える構成としてもよい。タイマ部により、設定時間で信号生成部34が受光量信号を出力する状態としてもよい。設定時間としては、数時間、1日に相当する24時間、複数日の相当する時間、等適宜設定することができる。 - The photoelectric sensors 10 and 10a may be configured to include a timer section. The timer section may be provided in the switching section 35 , provided separately from the switching section 35 , or provided in the control section 31 . The signal generator 34 may be put into a state in which the signal generating unit 34 outputs the received light amount signal at a set time by the timer unit. The set time can be appropriately set to several hours, 24 hours corresponding to one day, time corresponding to multiple days, and the like.

また、タイマ部により、設定時間として所定の時刻に信号生成部34が受光量信号を出力する状態としてもよい。例えば、図1に示す処理装置100が稼動開始又は稼動終了する時刻に合わせて状態を切換えるようにしてもよい。 Further, the timer section may be set to a state in which the signal generating section 34 outputs the received light amount signal at a predetermined time as a set time. For example, the state may be switched according to the time when the processing apparatus 100 shown in FIG. 1 starts or ends the operation.

・投光素子22aが投光ヘッド11aに搭載され、受光素子23aが受光ヘッド12aに搭載された構成の光電センサとしてもよい。
・切換部35は、操作部26の操作に基づいて検出部33と信号生成部34とを切換えるようにしてもよい。例えば、図1に示す処理装置100に複数の光電センサが接続されている場合、操作部26の操作により処理装置100が受光レベルDLを得ることで、操作した光電センサについて清掃等の処置が必要か否かを容易に判定できる。
The photoelectric sensor may have a configuration in which the light projecting element 22a is mounted on the light projecting head 11a and the light receiving element 23a is mounted on the light receiving head 12a.
The switching section 35 may switch between the detecting section 33 and the signal generating section 34 based on the operation of the operating section 26 . For example, when a plurality of photoelectric sensors are connected to the processing device 100 shown in FIG. 1, the processing device 100 obtains the light receiving level DL by operating the operation unit 26, and the operated photoelectric sensor needs to be cleaned or otherwise treated. It can be easily determined whether

・上記実施形態に対し、投光ヘッド11aと受光ヘッド12aとが一体の投受光ヘッドとして構成され、検出対象物Wからの反射光により検出対象物Wの有無に応じた検出信号を出力する光電センサとしてもよい。また、投光素子22aと受光素子23aとが投受光ヘッドに搭載された構成の光電センサとしてもよい。投受光ヘッドとコントローラとが一体的に構成された光電センサとしてもよい。 In contrast to the above embodiment, the light projecting head 11a and the light receiving head 12a are integrated as a light projecting/receiving head. It may be a sensor. Further, the photoelectric sensor may have a configuration in which the light projecting element 22a and the light receiving element 23a are mounted on the light projecting and receiving head. A photoelectric sensor in which a light projecting/receiving head and a controller are integrated may be used.

10,10a 光電センサ
11 投光器
11a 投光ヘッド
11b ファイバケーブル
12 受光器
12a 受光ヘッド
12b ファイバケーブル
20 コントローラ
21 制御回路
22 投光回路
22a 投光素子
23 受光回路
23a 受光素子
24 入力回路
25 出力回路
25a 第1出力回路
25b 第2出力回路
26 操作部
27 表示部
28 端子部
28a 第1端子
28b 第2端子
28c 第3端子
28d 第4端子
31 制御部
32 投光制御部
32a 記憶部
33 検出部
33a 記憶部
34 信号生成部
34a 記憶部
35 切換部
36 入力信号判定部
100 処理装置
CN1 第1内部制御信号
CN2 第2内部制御信号
CNI 外部指令信号
CNX 外部入力信号
CW 投光信号
DL 受光レベル
DW 受光信号
K1 検出信号
K2 受光量信号
LW 検出光
PW1 パルス幅
PW2 所定時間
PW3 パルス幅
S1~S8 ステップ
VS 動作電圧
W 検出対象物
WX 信号線
Reference Signs List 10, 10a photoelectric sensor 11 light projector 11a light projecting head 11b fiber cable 12 light receiver 12a light receiving head 12b fiber cable 20 controller 21 control circuit 22 light projecting circuit 22a light projecting element 23 light receiving circuit 23a light receiving element 24 input circuit 25 output circuit 25a 1 output circuit 25b second output circuit 26 operation unit 27 display unit 28 terminal unit 28a first terminal 28b second terminal 28c third terminal 28d fourth terminal 31 control unit 32 light projection control unit 32a storage unit 33 detection unit 33a storage unit 34 signal generation unit 34a storage unit 35 switching unit 36 input signal determination unit 100 processing device CN1 first internal control signal CN2 second internal control signal CNI external command signal CNX external input signal CW light projection signal DL light reception level DW light reception signal K1 detection Signal K2 Received light amount signal LW Detected light PW1 Pulse width PW2 Predetermined time PW3 Pulse width S1 to S8 Step VS Operating voltage W Object to be detected WX Signal line

Claims (8)

検出光を投光する投光部と、
前記検出光を受光する受光部と、
前記受光部が受光した前記検出光の光量に基づいて検出対象物の有無を検出し、検出信号を出力する検出部と、
前記受光部が受光した前記検出光の光量に基づいて、前記光量に応じたパルス幅の受光量信号を生成し、前記受光量信号を出力する信号生成部と、
を備えた光電センサ。
a light projecting unit that projects the detection light;
a light receiving unit that receives the detection light;
a detection unit that detects the presence or absence of a detection target based on the amount of the detection light received by the light receiving unit and outputs a detection signal;
a signal generation unit that generates a light reception amount signal having a pulse width corresponding to the light amount based on the light amount of the detection light received by the light receiving unit and outputs the light reception amount signal;
Photoelectric sensor with
前記検出信号と前記受光量信号とを出力端子に出力する出力回路と、
前記検出部が前記検出信号を出力している状態と、前記信号生成部が前記受光量信号を出力している状態とを切換える切換部と、
を備えた、請求項1に記載の光電センサ。
an output circuit that outputs the detection signal and the received light amount signal to an output terminal;
a switching unit for switching between a state in which the detection unit outputs the detection signal and a state in which the signal generation unit outputs the received light amount signal;
The photoelectric sensor of claim 1, comprising:
入力端子に接続され、前記入力端子を介して外部入力信号を入力する入力回路と、
前記外部入力信号のパルス幅を計測し、前記パルス幅が第1の幅値のときに第1内部制御信号を生成する入力信号判定部と、
を備え、
前記切換部は、前記第1内部制御信号に応答して前記信号生成部が前記受光量信号を出力している状態に切換え、前記受光量信号を出力した後に前記検出部が前記検出信号を出力している状態に切換える、
請求項2に記載の光電センサ。
an input circuit connected to an input terminal for inputting an external input signal through the input terminal;
an input signal determination unit that measures the pulse width of the external input signal and generates a first internal control signal when the pulse width is a first width value;
with
The switching section switches to a state in which the signal generating section outputs the received light amount signal in response to the first internal control signal, and the detecting section outputs the detection signal after outputting the received light amount signal. switch to the state of
The photoelectric sensor according to claim 2.
前記切換部は、設定時間により前記信号生成部が前記受光量信号を出力している状態に切換え、前記受光量信号を出力した後に前記検出部が前記検出信号を出力している状態に切換える、
請求項2に記載の光電センサ。
The switching unit switches to a state in which the signal generating unit outputs the received light amount signal according to a set time, and switches to a state in which the detecting unit outputs the detection signal after outputting the received light amount signal.
The photoelectric sensor according to claim 2.
前記切換部は、操作部の操作に基づいて前記信号生成部が前記受光量信号を出力している状態に切換え、前記受光量信号を出力した後に前記検出部が前記検出信号を出力している状態に切換える、
請求項2に記載の光電センサ。
The switching unit switches to a state in which the signal generating unit outputs the received light amount signal based on the operation of the operating unit, and the detecting unit outputs the detection signal after outputting the received light amount signal. switch to the state
The photoelectric sensor according to claim 2.
入力端子に接続され、前記入力端子を介して外部入力信号を入力する入力回路と、
前記外部入力信号のパルス幅を計測し、前記パルス幅が第1の幅値のときに第1内部制御信号を生成する入力信号判定部と、
を備え、
前記切換部は、前記第1内部制御信号に応答して前記信号生成部が前記受光量信号を出力している状態に切換える、
請求項4または請求項5に記載の光電センサ。
an input circuit connected to an input terminal for inputting an external input signal through the input terminal;
an input signal determination unit that measures the pulse width of the external input signal and generates a first internal control signal when the pulse width is a first width value;
with
The switching unit switches to a state in which the signal generating unit outputs the received light amount signal in response to the first internal control signal.
The photoelectric sensor according to claim 4 or 5.
前記入力信号判定部は、前記パルス幅が第2の幅値のときに第2内部制御信号を生成し、
前記第2内部制御信号に応答してティーチング処理を行う制御部を備えた、
請求項3または請求項6に記載の光電センサ。
The input signal determination unit generates a second internal control signal when the pulse width has a second width value,
A control unit that performs teaching processing in response to the second internal control signal,
The photoelectric sensor according to claim 3 or 6.
前記出力回路は、
前記検出信号を前記出力端子に出力する第1出力回路と、
前記受光量信号を前記出力端子に出力する第2出力回路と、
を備えた、請求項2から請求項7のいずれか一項に記載の光電センサ。
The output circuit is
a first output circuit that outputs the detection signal to the output terminal;
a second output circuit that outputs the received light amount signal to the output terminal;
A photoelectric sensor according to any one of claims 2 to 7, comprising:
JP2021023499A 2021-02-17 2021-02-17 photoelectric sensor Pending JP2022125739A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2021023499A JP2022125739A (en) 2021-02-17 2021-02-17 photoelectric sensor
PCT/JP2022/000638 WO2022176439A1 (en) 2021-02-17 2022-01-12 Photoelectric sensor
TW111101549A TWI825558B (en) 2021-02-17 2022-01-13 Photoelectric sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021023499A JP2022125739A (en) 2021-02-17 2021-02-17 photoelectric sensor

Publications (2)

Publication Number Publication Date
JP2022125739A true JP2022125739A (en) 2022-08-29
JP2022125739A5 JP2022125739A5 (en) 2023-12-19

Family

ID=82930625

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021023499A Pending JP2022125739A (en) 2021-02-17 2021-02-17 photoelectric sensor

Country Status (3)

Country Link
JP (1) JP2022125739A (en)
TW (1) TWI825558B (en)
WO (1) WO2022176439A1 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2553806B2 (en) * 1992-09-11 1996-11-13 サンクス株式会社 Photoelectric switch
JPH0983333A (en) * 1995-09-07 1997-03-28 Omron Corp Photoelectric sensor
JP5632128B2 (en) * 2008-03-31 2014-11-26 アズビル株式会社 Sensor device
JP2010206168A (en) * 2009-02-03 2010-09-16 Rohm Co Ltd Photodetector, object detector using same, and disc device
JP5432783B2 (en) * 2010-03-18 2014-03-05 ジックオプテックス株式会社 Photoelectric switch with communication function and photoelectric switch system
JP6264934B2 (en) * 2014-02-23 2018-01-24 オムロン株式会社 Photoelectric sensor
JP6941968B2 (en) * 2017-04-28 2021-09-29 アズビル株式会社 Photoelectric sensor

Also Published As

Publication number Publication date
TW202234043A (en) 2022-09-01
WO2022176439A1 (en) 2022-08-25
TWI825558B (en) 2023-12-11

Similar Documents

Publication Publication Date Title
JP4009862B2 (en) Multi-axis photoelectric sensor
JP2007150986A (en) Sensor apparatus
JP2003207569A (en) Photoelectric proximity switch
WO2022176439A1 (en) Photoelectric sensor
JP6209104B2 (en) Photoelectric sensor
TW200939628A (en) Photoelectric sensor
JP6427772B2 (en) Battery-powered security device
JP2013221755A (en) Ultrasonic sensor and calibration method therefor
JP2012150844A (en) Smoke sensor
JP2009152813A (en) Photoelectric sensor
KR960024258A (en) Optical distance measuring device and method
JP2007198911A (en) Distance measuring instrument
JP2007067354A (en) Infrared communication device
JP4089176B2 (en) Smoke detector sensitivity test method
US10809346B2 (en) Semiconductor device, ultrasonic sensor, and moving body
JP2005121490A (en) Flame detector equipped with automatic test function
JP2014045456A (en) Photoelectric sensor
KR102037102B1 (en) Power device and system for judging state of power device
JP5884047B2 (en) Ultrasonic sensor
JP6986477B2 (en) Photoelectric sensor and multi-optical axis photoelectric sensor
JP2004333173A (en) Multi-optical axis photoelectric sensor
KR20010113409A (en) Position detecting sensor and burglar alarm using the same for bicycle
JPH08184672A (en) Distance measuring apparatus
KR100230461B1 (en) Laser distance measuring apparatus eliminating noise of power and its method
JP2005109704A (en) Detection sensor

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231211

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231211