JP2008175742A - Photoelectric sensor - Google Patents

Photoelectric sensor Download PDF

Info

Publication number
JP2008175742A
JP2008175742A JP2007010688A JP2007010688A JP2008175742A JP 2008175742 A JP2008175742 A JP 2008175742A JP 2007010688 A JP2007010688 A JP 2007010688A JP 2007010688 A JP2007010688 A JP 2007010688A JP 2008175742 A JP2008175742 A JP 2008175742A
Authority
JP
Japan
Prior art keywords
light
detection
detection target
unit
photoelectric sensor
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
JP2007010688A
Other languages
Japanese (ja)
Inventor
Kiyohiko Gondo
清彦 権藤
Hirokazu Yanai
宏和 矢内
Yasuyoshi Sawada
保嘉 澤田
Ryosuke Tsuzuki
良介 都築
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2007010688A priority Critical patent/JP2008175742A/en
Publication of JP2008175742A publication Critical patent/JP2008175742A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a photoelectric sensor capable of stably detecting feature amounts of objects to be detected at high speed. <P>SOLUTION: The photoelectric sensor of this invention detects feature amounts of objects to be detected by receiving reflected light of light projected to the objects to be detected of a region to be detected. Processing in RUN mode of this invention is of a light projection and reception system in which white light is projected to an object to be detected, and its reflected light is received in parallel on red, green, and blue colors. Its measuring time is short. In a conventional system, since red, green, and blue light sources are each sequentially lighted up to sequentially receive and process their reflected light, its measuring time has been long. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

検出対象領域の検出対象物に対して投光した光の反射光あるいは透過光を受光することにより検出対象物の特徴量を検出する光電センサに関する。   The present invention relates to a photoelectric sensor that detects a feature amount of a detection target by receiving reflected light or transmitted light of light projected on the detection target in a detection target region.

光電センサは、可視光線、赤外線等の光を投光部から信号光として投光し、検出対象物によって反射する光あるいは検出対象物を透過する光を受光部で検出して、検出対象物の特徴量を示す出力信号を得るものである。この点で、光電センサは、非接触での物体の検出が可能であるとともに色判別も可能であるため種々の分野で利用されている。また、近年においては、微小スポットで物体の検知が可能なファイバ型の光電センサが知られている(特許文献1)。   The photoelectric sensor projects light such as visible light and infrared light as signal light from the light projecting unit, detects light reflected by the detection target object or light transmitted through the detection target by the light receiving unit, and detects the detection target object. An output signal indicating the feature amount is obtained. In this respect, the photoelectric sensor is used in various fields because it can detect an object in a non-contact manner and can also determine a color. In recent years, a fiber-type photoelectric sensor capable of detecting an object with a minute spot is known (Patent Document 1).

一般的に投光部に用いられる投光素子としては、赤色LEDあるいは赤外LEDが用いられることが多い。しかしながら、例えば検出対象物の材質(反射率)によっては十分な反射光量が得られないので、投光部に用いられる投光素子を例えば、青色や緑色に変更した複数の投光素子群を設けて検知する手法が採用されてきた。   In general, a red LED or an infrared LED is often used as a light projecting element used in a light projecting unit. However, for example, a sufficient amount of reflected light cannot be obtained depending on the material (reflectance) of the object to be detected. Therefore, a plurality of light projecting element groups in which the light projecting elements used in the light projecting unit are changed to, for example, blue or green are provided. The detection method has been adopted.

しかしながら、複数の投光素子を用いれば部品点数の増加にもつながりコストアップの面で問題がある。   However, if a plurality of light projecting elements are used, the number of parts increases and there is a problem in terms of cost increase.

また、一般的な反射型あるいは透過型の光電センサでは、検出対象物からの反射光量あるいは透過光量を所定のしきい値と比較して検出対象物の有無を検知するため検出対象物の高さばらつきや振動等により検出対象物とセンサ(ファイバ先端)との距離が変動すると、検出不能となる場合があった。   Further, in a general reflection type or transmission type photoelectric sensor, the height of the detection target is detected in order to detect the presence or absence of the detection target by comparing the amount of light reflected or transmitted from the detection target with a predetermined threshold. If the distance between the object to be detected and the sensor (fiber tip) fluctuates due to variations, vibrations, or the like, detection may not be possible.

一方、検出対象物に3色の光を投光し、その反射光または透過光を受光することにより色に基づいて、検出対象物を検出するための色識別装置が知られている(特許文献2)。
特開2004−101445号公報 特開2005−291748号公報
On the other hand, a color identification device is known for detecting a detection target based on the color by projecting three colors of light onto the detection target and receiving the reflected or transmitted light (Patent Document). 2).
JP 2004-101445 A JP 2005-291748 A

しかしながら、当該公報に示される構成では、赤(R)、緑(G)、青(B)の3色のLEDを使用し、2つのダイクロックミラーを使用して光ファイバケーブルに導光している。   However, in the configuration shown in the publication, LEDs of three colors of red (R), green (G), and blue (B) are used, and two dichroic mirrors are used to guide the light to the optical fiber cable. Yes.

この構成では、ファイバLED間の距離が遠くなり、結合効率が低下する。また、RGBの信号光の強度が不均一になってしまう。   In this configuration, the distance between the fiber LEDs is increased, and the coupling efficiency is reduced. In addition, the intensity of the RGB signal light becomes non-uniform.

また、上記公報に示される3色光源を用いた光電センサでは、順次、各色の光源を順次点灯し、その反射光あるいは透過光を順次、受光して処理するので、単色の場合に比べて計測時間がかかるという問題もある。特に、検出対象物が高速に移動している場合には、順次投光している間に検出対象物が移動してしまうことになるため同一条件での計測ができないという問題もある。   In the photoelectric sensor using the three-color light source disclosed in the above publication, the light sources of each color are sequentially turned on, and the reflected light or transmitted light is sequentially received and processed. There is also the problem that it takes time. In particular, when the detection object is moving at a high speed, the detection object moves while sequentially projecting light, and thus there is a problem that measurement under the same conditions cannot be performed.

本発明は、上記のような問題を解決するためになされたものであって、高速かつ安定的に検出対象物の特徴量を検出可能な光電センサを提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object thereof is to provide a photoelectric sensor capable of detecting a feature amount of a detection target at high speed and stably.

本発明に係る光電センサは、検出対象領域の光を受光することにより検出対象物の特徴量を検出する光電センサであって、白色光を投光する白色光源と、検出対象領域の検出対象物を透過あるいは反射した光を受光する受光部と、受光部の受光結果に基づいて検出対象物の特徴量を検出する検出部とを備える。受光部は、白色光を投光して検出対象領域の検出対象物を透過あるいは反射した光に含まれる複数の異なる波長を受光するためにそれぞれ対応して設けられ、各々が対応する波長の光を受光するとともにそれぞれの対応する波長の光を並列に受光する複数の受光素子を含む。   A photoelectric sensor according to the present invention is a photoelectric sensor that detects a feature amount of a detection target by receiving light in the detection target region, and includes a white light source that projects white light, and a detection target in the detection target region. A light receiving unit that receives light transmitted through or reflected by the light receiving unit, and a detection unit that detects a feature amount of the detection target based on a light reception result of the light receiving unit. The light receiving units are provided in correspondence with each other to receive a plurality of different wavelengths included in the light that has been projected by white light and transmitted or reflected by the detection target in the detection target region. And a plurality of light receiving elements for receiving light of the corresponding wavelengths in parallel.

好ましくは、複数の受光素子は、検出対象物を透過あるいは反射した光に含まれる赤色、緑色および青色の光の波長をそれぞれ並列に受光する。   Preferably, the plurality of light receiving elements receive the wavelengths of red, green, and blue light included in the light transmitted or reflected through the detection target in parallel.

特に、検出部で検出した検出対象物の特徴量に従って検出対象物の検出状態を判定する判定部をさらに備え、受光部は、設定時に、基準となる基準対象物に対して白色光を投光して検出対象領域の検出対象物を透過あるいは反射した光を受光し、検出部は、検出対象物の特徴量として白色光を投光して検出対象領域の検出対象物を透過あるいは反射した光の受光量の総和に含まれる赤色光、緑色光および青色光のそれぞれの受光量の比率を算出するとともに、設定時に検出部にて算出した基準対象物に関する赤色光、緑色光および青色光のそれぞれの受光量の基準比率と、検出動作時に検出部にて算出した検出対象物に関する赤色光、緑色光および青色光のそれぞれの受光量の比率とを比較して、基準対象物に対する検出対象物の色の近似の程度を示す一致度値を算出し、判定部は、算出された一致度値に基づいて検出対象物の検出状態について判定する。   In particular, it further includes a determination unit that determines the detection state of the detection target according to the feature amount of the detection target detected by the detection unit, and the light receiving unit projects white light to the reference reference target that is set at the time of setting. The light that has been transmitted or reflected through the detection object in the detection target area is received, and the detection unit projects white light as a feature amount of the detection target object and transmits or reflects the detection target in the detection target area. The ratio of the received light amount of each of red light, green light and blue light included in the total received light amount of each of the red light, green light and blue light for the reference object calculated by the detection unit at the time of setting is calculated. The reference ratio of the received light amount is compared with the ratio of the respective received light amounts of the red light, the green light, and the blue light for the detection object calculated by the detection unit during the detection operation, and the detection object relative to the reference object is compared. Color approximation Calculating a matching score value indicating the degree, the determination unit determines the detection state of the detection target object based on the calculated degree of matching values.

特に、検出部は、赤色光、緑色光および青色光を受光した複数の受光素子の受光量の総和と所定の閾値となる受光量とを比較して、比較結果に基づいて検出対象物の特徴量を検出する動作を実行する。   In particular, the detection unit compares the total received light amount of a plurality of light receiving elements that receive red light, green light, and blue light with the received light amount that is a predetermined threshold value, and based on the comparison result, features of the detection target Perform the action to detect the quantity.

特に、検出部は、複数の受光素子の受光量の総和が、第1の閾値以上第1の閾値よりも大きい第2の閾値未満の範囲内である場合に検出対象物の特徴量を検出する動作を実行する。   In particular, the detection unit detects the feature amount of the detection target when the sum of the amounts of light received by the plurality of light receiving elements is within a range that is greater than or equal to the first threshold and less than the second threshold. Perform the action.

特に、受光部は、設定時に、基準となる第1および第2の基準対象物に対して白色光を投光して検出対象領域の検出対象物を透過あるいは反射した光を受光し、検出部は、設定時に第1および第2の基準対象物の特徴量として白色光を投光して検出対象領域の検出対象物を透過あるいは反射した光に含まれる赤色光、緑色光および青色光のそれぞれの受光量を算出して比較し、比較結果に基づいて検出動作時に用いる受光部で受光された赤色光、緑色光および青色光のうちの少なくともいずれか1つの光の受光結果を選択する。   In particular, at the time of setting, the light receiving unit projects white light onto the reference first and second reference objects and receives or transmits the light transmitted or reflected from the detection object in the detection target region. Are the red light, the green light and the blue light included in the light that is transmitted as a feature quantity of the first and second reference objects at the time of setting and transmitted or reflected by the detection object in the detection target area, respectively. Are received and calculated, and based on the comparison result, a light reception result of at least one of red light, green light, and blue light received by the light receiving unit used in the detection operation is selected.

特に、検出部は、設定時に、対応する光の受光量の差を算出して、算出結果が所定の閾値以上であれば、検出動作時に対応する光の受光結果を選択し、所定の閾値未満であれば、検出動作時に対応する光の受光結果を非選択とする。   In particular, at the time of setting, the detection unit calculates a difference in the amount of received light of the corresponding light. If so, the light reception result corresponding to the detection operation is not selected.

特に、検出部は、検出動作時に用いる受光部で受光された赤色光、緑色光および青色光のうちの少なくともいずれか1つの光の受光結果を選択する。   In particular, the detection unit selects a light reception result of at least one of red light, green light, and blue light received by the light receiving unit used during the detection operation.

特に、受光部は、複数の受光素子の各々は、白色光を投光して検出対象領域の検出対象物を透過あるいは反射した光に含まれる赤色光、緑色光および青色光のうちの対応する光の光量を示す電気信号を生成し、電気信号を増幅する増幅部を含み、電気信号の信号レベルが所定の範囲内の値となるように増幅部の増幅率が調整される。   In particular, in the light receiving unit, each of the plurality of light receiving elements corresponds to one of red light, green light, and blue light included in light that is emitted from white light and transmitted or reflected from the detection target in the detection target region. An amplifying unit that generates an electric signal indicating the amount of light and amplifies the electric signal is included, and the amplification factor of the amplifying unit is adjusted so that the signal level of the electric signal becomes a value within a predetermined range.

本発明に係る光電センサは、検出対象領域の検出対象物に対して投光した光の反射光を受光することにより検出対象物の特徴量を検出する光電センサであって、受光部は、白色光を投光して検出対象領域の検出対象物を透過あるいは反射した光に含まれる複数の異なる波長を受光するためにそれぞれ対応して設けられ、各々が対応する波長の光を受光するとともにそれぞれの対応する波長の光を並列に受光する複数の受光素子を含むため、従来の方式よりも、高速かつ安定的に検出対象物の特徴量を検出することが可能である。   A photoelectric sensor according to the present invention is a photoelectric sensor that detects a feature amount of a detection target by receiving reflected light of light projected on the detection target in the detection target region, and the light receiving unit is white It is provided corresponding to each of a plurality of different wavelengths included in the light projected and reflected or reflected by the detection target in the detection target region, each receiving light of the corresponding wavelength and Therefore, it is possible to detect the feature quantity of the detection target at a higher speed and more stably than the conventional method.

本発明の実施の形態について図面を参照しながら詳細に説明する。なお、図中の同一または相当部分については同一符号を付してその説明は繰返さない。   Embodiments of the present invention will be described in detail with reference to the drawings. Note that the same or corresponding parts in the drawings are denoted by the same reference numerals and description thereof will not be repeated.

図1は、本発明の実施形態に従う光電センサの上部カバーを開いた状態における外観斜視図である。   FIG. 1 is an external perspective view of the photoelectric sensor according to the embodiment of the present invention with the upper cover opened.

図1を参照して、本発明の実施の形態に従う光電センサ1は多連装型のプラスチック製筐体101を有する。筐体101の前部には、投光用ファイバ2と受光用ファイバ3とが挿入され、クランプレバー103の操作によって抜け止め固定される。筐体101の後部からは電気コード4が引き出されている。   Referring to FIG. 1, photoelectric sensor 1 according to the embodiment of the present invention has a multi-package plastic casing 101. The light projecting fiber 2 and the light receiving fiber 3 are inserted into the front portion of the housing 101 and are fixed to be detached by operating the clamp lever 103. The electric cord 4 is drawn out from the rear part of the casing 101.

図示の電気コード4は、アース(GND)用の芯線41と、電源(Vcc)用の芯線42と、検出出力用の芯線43と、補助出力用の芯線44と、リモート入力用の芯線45とを有する。   The illustrated electrical cord 4 includes a grounding (GND) core wire 41, a power source (Vcc) core wire 42, a detection output core wire 43, an auxiliary output core wire 44, and a remote input core wire 45. Have

筐体101は、制御盤などの取付面に対して図示しないDINレールを介して固定される。符号104で示されるものはDINレール嵌合溝である。筐体101の上部には、透明な上部カバー102が開閉可能に取り付けられている。上部カバー102を開いた状態で露出する筐体101の上面には、第1の表示器105と、第2の表示器106と、第1の操作ボタン(UP)107と、第2の操作ボタン(DOWN)108と、第3の操作ボタン(MODE)109と、第1のスライド操作子(SET/RUN)110と、第2のスライド操作子(L/D)111とが設けられている。   The casing 101 is fixed to a mounting surface such as a control panel via a DIN rail (not shown). What is indicated by reference numeral 104 is a DIN rail fitting groove. A transparent upper cover 102 is attached to the top of the housing 101 so as to be openable and closable. A first display 105, a second display 106, a first operation button (UP) 107, and a second operation button are provided on the upper surface of the casing 101 exposed when the upper cover 102 is opened. A (DOWN) 108, a third operation button (MODE) 109, a first slide operator (SET / RUN) 110, and a second slide operator (L / D) 111 are provided.

図2は、本発明の実施の形態に従う光電センサの操作・表示部の拡大図を説明する図である。   FIG. 2 is a diagram illustrating an enlarged view of the operation / display unit of the photoelectric sensor according to the embodiment of the present invention.

図1および図2を参照して、第1の表示器105及び第2の表示器106は、いずれも4桁の7セグメントデジタル表示器で構成されており、それぞれ4桁の数字、アルファベット、さらにはそれらの組み合わせを任意に表示可能となされている。   1 and 2, each of the first display 105 and the second display 106 is composed of a 4-digit 7-segment digital display, each of which includes a 4-digit number, an alphabet, The combination can be arbitrarily displayed.

第1の操作ボタン107、第2の操作ボタン108、及び第3の操作ボタン109は、いずれもモメンタリタイプの押しボタンスイッチを構成しており、図2に示されるように、第1の操作ボタン107は『UPキー』として、第2の操作ボタン108は『DOWNキー』として、第3の操作ボタン109は『MODEキー』としてそれぞれ機能するように構成されている。   The first operation button 107, the second operation button 108, and the third operation button 109 all constitute a momentary type push button switch. As shown in FIG. 2, the first operation button Reference numeral 107 denotes an “UP key”, the second operation button 108 functions as a “DOWN key”, and the third operation button 109 functions as a “MODE key”.

第1のスライド操作子110及び第2のスライド操作子111はいずれもスライドスイッチを構成するものであり、図2に示されるように、第1のスライド操作子110は『SET/RUN切替スイッチ』として、第2のスライド操作子111は『L/D切替スイッチ』として機能するように構成されている。   Each of the first slide operator 110 and the second slide operator 111 constitutes a slide switch. As shown in FIG. 2, the first slide operator 110 is a “SET / RUN changeover switch”. As described above, the second slide operator 111 is configured to function as an “L / D switch”.

図1を再び参照して、筐体101の内部には、図示しないが、物体検出用の発光素子と物体検出用の受光素子とが内蔵されている。投光用ファイバ2をファイバ挿入孔にしっかりと挿入すると、投光用ファイバ2の端面と検出用発光素子の発光部とがしっかりと光結合され、これにより検出用の発光素子から発生した光は、投光用ファイバ2を経由して、その先端の図示しないファイバヘッドから検出領域へと投光される。同様に、受光用ファイバ3をファイバ挿入孔にしっかりと挿入すると、受光用ファイバ3の端面と検出用受光素子とが光結合され、これにより図示しない受光用ファイバ3のファイバヘッドからファイバ内に導入された光は、受光用ファイバ3に案内されて、検出用の受光素子にたどり着くようになっている。以上述べた検出用の発光素子と検出用の受光素子との配置構成は従来のこの種のファイバ型光電スイッチに採用されたものと同様である。   Referring again to FIG. 1, the housing 101 includes a light emitting element for detecting an object and a light receiving element for detecting the object, which are not shown. When the light projecting fiber 2 is firmly inserted into the fiber insertion hole, the end face of the light projecting fiber 2 and the light emitting part of the light emitting element for detection are firmly optically coupled, so that the light generated from the light emitting element for detection is Then, the light is projected from a fiber head (not shown) at the tip thereof to the detection region via the light projecting fiber 2. Similarly, when the light-receiving fiber 3 is firmly inserted into the fiber insertion hole, the end face of the light-receiving fiber 3 and the light-receiving element for detection are optically coupled, and thereby introduced into the fiber from the fiber head of the light-receiving fiber 3 (not shown). The emitted light is guided by the light receiving fiber 3 and reaches the light receiving element for detection. The arrangement of the light emitting element for detection and the light receiving element for detection described above is the same as that employed in the conventional fiber type photoelectric switch of this type.

次に、本発明の実施形態に従う光電センサの電気的ハードウェア構成について説明する。   Next, the electrical hardware configuration of the photoelectric sensor according to the embodiment of the present invention will be described.

図3は、本発明の実施の形態に従う光電センサの概略ブロック図である。
図3を参照して、この回路はマイクロプロセッサを主体として構成される信号処理部200を中心として構成されている。信号処理部200内には、マイクロプロセッサの他に、システムプログラムを格納したROMやプログラムの実行に必要なワーキングRAM、その他各種の設定データを格納するためのEEPROMなどが内蔵されている。このEEPROMには、工場出荷前においてメーカ側が設定したデータや、工場出荷後にユーザが設定した各種のデータが格納される。このような信号処理部200の構成については、各種の文献において種々公知であるから、その点についての詳細な説明は省略する。
FIG. 3 is a schematic block diagram of the photoelectric sensor according to the embodiment of the present invention.
Referring to FIG. 3, this circuit is mainly composed of a signal processing unit 200 mainly composed of a microprocessor. In addition to the microprocessor, the signal processing unit 200 incorporates a ROM storing a system program, a working RAM necessary for executing the program, and an EEPROM for storing various setting data. The EEPROM stores data set by the manufacturer before shipment from the factory and various data set by the user after shipment from the factory. Such a configuration of the signal processing unit 200 is well known in various documents, and thus detailed description thereof will be omitted.

図3の紙面左側においては、後に詳細に説明するが先に説明した発光素子を有する投光部202と受光素子を有する受光部203とが描かれている。投光部202は、検出用の発光素子である発光ダイオード(以下、LEDと称する)202aと、LED202aを駆動するためのLED駆動部202bとを含む。一方、受光部203は、検出用の受光素子であるフォトダイオード(以下、PDと称する)203aと、PD203aの出力を増幅するためのアンプ部203cとを含む。なお、本発明の実施の形態に従う投光部202は、白色光を出射するものとする。また、検出用受光素子PD203aは、赤色光、緑色光および青色光をそれぞれ受光可能な3種類の受光素子で構成される。   On the left side of FIG. 3, a light projecting unit 202 having a light emitting element and a light receiving unit 203 having a light receiving element, which will be described in detail later, are illustrated. The light projecting unit 202 includes a light emitting diode (hereinafter referred to as an LED) 202a which is a light emitting element for detection, and an LED driving unit 202b for driving the LED 202a. On the other hand, the light receiving unit 203 includes a photodiode (hereinafter referred to as PD) 203a which is a light receiving element for detection, and an amplifier unit 203c for amplifying the output of the PD 203a. Note that light projecting unit 202 according to the embodiment of the present invention emits white light. Further, the detection light receiving element PD 203a includes three types of light receiving elements that can receive red light, green light, and blue light, respectively.

そして、LED駆動部202bの作用により検出用発光素子であるLED202aから発生したパルス光は、投光用ファイバ2を介して検出領域へと導かれる。検出領域において透過または反射したことにより受光用ファイバ3に導入された光は、受光用ファイバ3を経由して検出用受光素子であるPD203aへとたどり着く。検出用受光素子PD203aは、赤色光、緑色光および青色光をそれぞれ受光可能な3種類の受光素子でそれぞれ受光し、それぞれの各色について光電変換する。   Then, the pulsed light generated from the LED 202a which is a light emitting element for detection by the action of the LED driving unit 202b is guided to the detection region via the light projecting fiber 2. The light introduced into the light receiving fiber 3 by being transmitted or reflected in the detection region arrives at the PD 203a which is a light receiving element for detection via the light receiving fiber 3. The detection light receiving element PD203a receives light by three types of light receiving elements that can receive red light, green light, and blue light, respectively, and photoelectrically converts each color.

PD203aで光電変換されて生じた出力信号は、アンプ部203cで増幅された後信号処理部200へとA/D変換器(図示せず)を介して取り込まれる。尚、これら投受光の基本的な構成についても、各種の文献において公知であるから、この点についての詳細な説明は省略する。   An output signal generated by photoelectric conversion by the PD 203a is amplified by the amplifier unit 203c and then taken into the signal processing unit 200 via an A / D converter (not shown). In addition, since the basic structure of these light projection / reception is also well-known in various literature, the detailed description about this point is abbreviate | omitted.

表示部204は、信号処理部200における各種の演算により生成されたデータを表示させるための表示器で構成されており、この表示部204には、より具体的には、先に図1並びに図2を参照して説明した第1の表示器105並びに第2の表示器106が含まれている。それらの第1並びに第2の表示器105,106には、各種の情報が、数値、アルファベット、それらの組み合わせなどにより表示される。   The display unit 204 is configured by a display for displaying data generated by various operations in the signal processing unit 200. More specifically, the display unit 204 is more specifically illustrated in FIGS. The first display 105 and the second display 106 described with reference to FIG. 2 are included. Various information is displayed on the first and second indicators 105 and 106 by numerical values, alphabets, combinations thereof, and the like.

入力部205は、信号処理部200に対して各種の情報を入力するためのものである。この入力部205には、キー入力部205aと信号入力部205bとが含まれている。キー入力部205aは、オペレータが手動操作で各種のデータを入力するためのものであり、この入力部205aには先に図1並びに図2を参照して説明したように、第1の操作ボタン107、第2の操作ボタン108、第3の操作ボタン109、第1のスライド操作子110、及び第2のスライド操作子111が含まれている。   The input unit 205 is for inputting various types of information to the signal processing unit 200. The input unit 205 includes a key input unit 205a and a signal input unit 205b. The key input unit 205a is used by an operator to manually input various data. As described above with reference to FIGS. 1 and 2, the input unit 205a includes a first operation button. 107, a second operation button 108, a third operation button 109, a first slide operator 110, and a second slide operator 111 are included.

これに対して、信号入力部205bは、先に図1を参照して説明した電気コード4の芯線45を介してリモート入力信号を入力するためのものであり、この信号入力部205bを介して芯線45から到来する外部から入力される制御信号が信号処理部200へと取り込まれる。   On the other hand, the signal input unit 205b is for inputting a remote input signal via the core wire 45 of the electric cord 4 described above with reference to FIG. 1, and through this signal input unit 205b. A control signal input from the outside coming from the core wire 45 is taken into the signal processing unit 200.

尚、この例にあっては、信号入力部205bは1ラインしか設けられていないが、これを2ライン以上すなわち複数ライン設けて入力させることも当然に可能である。   In this example, only one line is provided for the signal input unit 205b. However, it is naturally possible to input two or more lines, that is, a plurality of lines.

出力部206は、信号処理部200で生成された各種の出力信号を電気コード4に含まれる芯線43及び44へと出力するためのものである。この出力部206には、物体検出信号出力用の出力部206aと任意の補助出力信号用の出力部206bとが含まれている。すなわち、信号処理部200で生成された物体検出用の検出信号は、出力部206aを介して電気コード4内の芯線43へと送り出される。   The output unit 206 is for outputting various output signals generated by the signal processing unit 200 to the core wires 43 and 44 included in the electric cord 4. The output unit 206 includes an output unit 206a for outputting an object detection signal and an output unit 206b for an optional auxiliary output signal. That is, the detection signal for object detection generated by the signal processing unit 200 is sent to the core wire 43 in the electric cord 4 via the output unit 206a.

同様にして、信号処理部200で生成された任意の補助出力信号は、出力部206bを介して、電気コード4に含まれる芯線44へと送り出される。これらの電気コード4に含まれる芯線43,44は一般的には外部のPLCやPC等の上位装置へと接続される。同様にして、電気コード4に含まれる芯線45についても、外部のPLCやPC等の上位装置と接続されている。   Similarly, an arbitrary auxiliary output signal generated by the signal processing unit 200 is sent to the core wire 44 included in the electrical cord 4 via the output unit 206b. The core wires 43 and 44 included in these electric cords 4 are generally connected to an external host device such as a PLC or a PC. Similarly, the core wire 45 included in the electric cord 4 is also connected to an external host device such as a PLC or PC.

電源部201は、図3に示される投光部202、受光部203、表示部204、入力部205、出力部206のそれぞれに対して電源を供給する電源安定化装置等で構成されており、この電源部201に対する給電は、電気コード4に含まれる芯線41及び42を介して行なわれる。この例では芯線41はGNDに接続され、芯線42はVccに接続される。   The power supply unit 201 includes a power stabilization device that supplies power to each of the light projecting unit 202, the light receiving unit 203, the display unit 204, the input unit 205, and the output unit 206 shown in FIG. The power supply to the power supply unit 201 is performed through core wires 41 and 42 included in the electric cord 4. In this example, the core wire 41 is connected to GND, and the core wire 42 is connected to Vcc.

次に、以上述べた機械的構造並びに電気的なハードウェア構成を前提として、この光電センサに備えられた様々な機能並びにそれらを実現するために信号処理部200で実行されるシステムプログラムの構成について説明する。   Next, on the premise of the mechanical structure and electrical hardware configuration described above, various functions provided in this photoelectric sensor and the configuration of a system program executed by the signal processing unit 200 to realize them. explain.

一般的に光電センサには、選択的に実行(ON/OFF)可能な複数の機能が備えられている。それらの機能のそれぞれには、様々な選択肢が用意されている。それらの機能の選択(ON/OFF)並びに選択肢の選択は、この光電センサをSETモードに設定することで行なうことができる。特定の選択肢に従ってON設定された機能を実現させる動作は、この光電センサをRUNモードに設定することで行なうことができる。   Generally, a photoelectric sensor has a plurality of functions that can be selectively executed (ON / OFF). Various options are available for each of these functions. Selection of these functions (ON / OFF) and selection of options can be performed by setting the photoelectric sensor to the SET mode. The operation of realizing the function set to ON according to a specific option can be performed by setting the photoelectric sensor to the RUN mode.

動作モードをSETモードとするかRUNモードとするかの指定は、図2に示されるように、第1のスライド操作子110を『SET』側とするか、『RUN』側とするかにより決定することができる。また、第2のスライド操作子111は、この光電センサの検出出力信号の論理極性を設定するためのもので、第2のスライド操作子111が『L』側に設定されているといわゆるライトオンモードとなり、『D』側に設定されるとダークオンモードとなる。   The designation of whether the operation mode is the SET mode or the RUN mode is determined by whether the first slide operator 110 is set to the “SET” side or the “RUN” side, as shown in FIG. can do. The second slide operator 111 is for setting the logical polarity of the detection output signal of the photoelectric sensor. If the second slide operator 111 is set to the “L” side, the so-called light-on state is set. When the mode is set to “D”, the dark on mode is set.

図4は、本発明の実施の形態に従う投光部202および受光部203の詳細を説明する図である。   FIG. 4 is a diagram illustrating details of light projecting unit 202 and light receiving unit 203 according to the embodiment of the present invention.

図4を参照して、本発明の実施の形態に従う投光部202は、上述したようにLED202aと、LED駆動部202bとを含み、さらに、LED駆動部202bを制御してLEDの出射パワーを調整するためのLED駆動調整部202bgを含む。なお、LED駆動調整部202bgは、後述するオートパワーコントロール処理によりLED202aからの出射パワーのモニタ結果を信号処理部200から受けて、LED駆動部202bに指示してLED駆動部202bからLED202aに供給する投光電流のパワー制御を行なうものとする。   Referring to FIG. 4, light projecting unit 202 according to the embodiment of the present invention includes LED 202 a and LED driving unit 202 b as described above, and further controls LED driving unit 202 b to control the emission power of the LED. An LED drive adjustment unit 202bg for adjustment is included. The LED drive adjustment unit 202bg receives the monitoring result of the output power from the LED 202a from the signal processing unit 200 by an auto power control process described later, instructs the LED drive unit 202b, and supplies the LED drive unit 202b to the LED 202a. It is assumed that power control of the light emission current is performed.

本発明の実施の形態に従う受光部203は、上述したようにPD203aと、アンプ部203cとを含む。アンプ部203cは、PD203aから出力される受光した赤色、緑色、青色のそれぞれの波長領域の信号光を光電変換した電気信号をそれぞれ増幅する増幅部と、当該増幅部の増幅率を調整する増幅調整率を含む。   Light receiving unit 203 according to the embodiment of the present invention includes PD 203a and amplifier unit 203c as described above. The amplifier unit 203c is configured to amplify an electric signal obtained by photoelectrically converting the received signal light in the red, green, and blue wavelength regions output from the PD 203a, and an amplification adjustment that adjusts an amplification factor of the amplification unit. Including rate.

本例においては、一例として、アンプ部203cは、赤色の波長領域の信号光に対して光電変換した電気信号を増幅するための増幅部203r(R増幅部とも称する)と、緑色の波長領域の信号光に対して光電変換した電気信号を増幅するための増幅部203g(G増幅部とも称する)と、青色の波長領域の信号光に対して光電変換した電気信号を増幅するための増幅部203b(B増幅部とも称する)と、増幅部203r,203g,203bにそれぞれ対応して設けられ、それぞれの対応する増幅部の増幅率を調整するための増幅調整部203rg(R増幅調整部とも称する)、増幅調整部203gg(G増幅調整部とも称する)および増幅調整部203bg(B増幅調整部とも称する)を含む。   In this example, as an example, the amplifier unit 203c includes an amplification unit 203r (also referred to as an R amplification unit) for amplifying an electric signal obtained by photoelectric conversion with respect to signal light in the red wavelength region, and an amplification unit 203c in the green wavelength region. An amplifying unit 203g (also referred to as a G amplifying unit) for amplifying an electric signal photoelectrically converted with respect to the signal light, and an amplifying unit 203b for amplifying the electric signal photoelectrically converted with respect to the signal light in the blue wavelength region. (Also referred to as a B amplification unit) is provided corresponding to each of the amplification units 203r, 203g, and 203b, and an amplification adjustment unit 203rg (also referred to as an R amplification adjustment unit) for adjusting the amplification factor of the corresponding amplification unit. , An amplification adjustment unit 203gg (also referred to as a G amplification adjustment unit) and an amplification adjustment unit 203bg (also referred to as a B amplification adjustment unit).

増幅調整部203rg、増幅調整部203ggおよび増幅調整部203bgは、それぞれ信号処理部200からの指示に応答して対応する増幅部の増幅率を調整するものとする。   The amplification adjustment unit 203rg, the amplification adjustment unit 203gg, and the amplification adjustment unit 203bg each adjust the amplification factor of the corresponding amplification unit in response to an instruction from the signal processing unit 200.

図5は、信号処理部200のCPUで実行されるシステムプログラムの全体を概略的に示すゼネラルフローチャートである。   FIG. 5 is a general flowchart schematically showing the entire system program executed by the CPU of the signal processing unit 200.

図5を参照して、このシステムプログラムは電源投入によって実行を開始される。
同図において、処理が開始されると、まず初期設定処理(ステップ401)が実行される。この初期設定処理(ステップ401)においては、後述するルーチン処理を開始するに先立って必要な各種の初期設定処理が実行される。この初期設定処理には、各種メモリ、表示灯、制御出力の初期化の実行や、信号処理部200に含まれるEEPROMから必要項目の読出とデータチェックを行なう処理などが実行される。
Referring to FIG. 5, the execution of this system program is started when the power is turned on.
In the figure, when the process is started, an initial setting process (step 401) is first executed. In this initial setting process (step 401), various initial setting processes necessary before starting a routine process to be described later are executed. In this initial setting process, initialization of various memories, indicator lamps, and control outputs, processing for reading necessary items from the EEPROM included in the signal processing unit 200, data checking, and the like are executed.

初期設定処理(ステップ401)が実行を完了すると、ルーチン処理への移行が行なわれ、その最初においてまず第1のスライド操作子110の設定状態が参照される(ステップ402)。ここで、第1のスライド操作子110が『SET』側へ設定されていれば(ステップ402SET)、続いてSETモード初期設定処理(ステップ403)が実行される。このSETモード初期設定処理(ステップ403)では、SETモード用測定値の初期化や機能番号(F)の初期化(F=0)等が行なわれる。   When the execution of the initial setting process (step 401) is completed, the routine is shifted to a routine process. First, the setting state of the first slide operator 110 is referred to (step 402). If the first slide operator 110 is set to the “SET” side (step 402 SET), then the SET mode initial setting process (step 403) is executed. In the SET mode initial setting process (step 403), initialization of the measurement values for the SET mode, initialization of the function number (F) (F = 0), and the like are performed.

SETモード初期設定処理(ステップ403)が実行を完了すると、以後、第1のスライド操作子110が『SET』側へ設定された状態にある限り(ステップ405YES)、様々な機能(F)に関するSETモード処理(ステップ404)が実行される。この状態において、ユーザは、第1の操作ボタン107、第2の操作ボタン108、第3の操作ボタン109を適宜に操作することによって、当該光電センサに用意された様々な機能(F)のON/OFF設定、さらには、各機能(F)別の個別設定処理を実行することができる。   When the execution of the SET mode initial setting process (step 403) is completed, as long as the first slide operator 110 is set to the “SET” side (step 405 YES), the SET for various functions (F) is performed. Mode processing (step 404) is executed. In this state, by appropriately operating the first operation button 107, the second operation button 108, and the third operation button 109, the user turns on various functions (F) prepared for the photoelectric sensor. / OFF setting, and further, individual setting processing for each function (F) can be executed.

一方、第1のスライド操作子110の設定状態を参照した結果、『RUN』側へと設定されたと判定されると(ステップ402RUN)、続いて、RUNモード初期設定処理(ステップ406)が実行される。このRUNモード初期設定処理(ステップ406)においては、表示灯、制御出力の初期化、しきい値及び各種RUNモード用設定値の初期化等が行なわれる。   On the other hand, as a result of referring to the setting state of the first slide operator 110, if it is determined that the setting is set to the “RUN” side (step 402RUN), then the RUN mode initial setting process (step 406) is executed. The In this RUN mode initial setting process (step 406), initialization of indicator lamps, control output, threshold values and various RUN mode setting values, and the like are performed.

RUNモード初期設定処理(ステップ406)が完了すると、続いて第1のスライド操作子110が『RUN』側へ設定されている限り(ステップ408YES)、RUNモード処理(ステップ407)が実行される。このRUNモード処理(ステップ407)においては、光電センサとして必要な基本的な動作の他に、ユーザにより選択的に設定された各種の機能が実現される。尚、このRUNモード処理の具体的な内容については、必要に応じて、後に詳細に説明を行なう。   When the RUN mode initial setting process (step 406) is completed, the RUN mode process (step 407) is executed as long as the first slide operator 110 is set to the “RUN” side (YES in step 408). In the RUN mode process (step 407), various functions selectively set by the user are realized in addition to the basic operation necessary for the photoelectric sensor. The specific contents of the RUN mode processing will be described later in detail as necessary.

このように、信号処理部200で実行されるシステムプログラムは、いわゆる電源投入直後に行なわれるイニシャル処理である初期設定処理(ステップ401)と、ルーチン処理であるところの2つの処理すなわちSETモード処理(ステップ404)及びRUNモード処理(ステップ407)に大別される。   As described above, the system program executed by the signal processing unit 200 includes an initial setting process (step 401) that is an initial process performed immediately after power-on, and two processes that are routine processes, that is, a SET mode process ( Step 404) and RUN mode processing (Step 407).

図6は、SETモード処理の全体を示すフローチャート図である。
図6を参照して、処理が開始されると、まず機能別表示処理(ステップ501)が実行される。この機能別表示処理(ステップ501)では、機能番号Fに該当する様々な表示処理が実行される。
FIG. 6 is a flowchart showing the entire SET mode processing.
Referring to FIG. 6, when the process is started, a function-specific display process (step 501) is first executed. In this function-specific display process (step 501), various display processes corresponding to the function number F are executed.

続いて、キー入力検出処理が実行され(ステップ502)、図1並びに図2に示される操作ボタン107〜109並びにスライド操作子110,111におけるキー入力操作の有無を待機する状態となる(ステップ503NO)。   Subsequently, a key input detection process is executed (step 502), and a wait state is made for the presence or absence of a key input operation on the operation buttons 107 to 109 and the slide operators 110 and 111 shown in FIGS. 1 and 2 (NO in step 503). ).

この状態において、キー入力有りと判定され(ステップ503YES)、しかも機能切替に相当するキー入力シーケンスが確認されると(ステップ504YES)、機能切替指令が確認されるたびに、機能番号(F)の値は全機能数に達するまで+1ずつインクリメントされ(ステップ505,506NO)、全機能数に達すると共に(ステップ506YES)、再びゼロリセットされて(ステップ507)、機能(F)の循環切替が実行される。   In this state, it is determined that there is a key input (step 503 YES), and if a key input sequence corresponding to function switching is confirmed (YES in step 504), each time a function switching command is confirmed, the function number (F) The value is incremented by +1 until the total number of functions is reached (steps 505 and 506 NO), reaches the total number of functions (YES in step 506), is reset again to zero (step 507), and the function (F) is cyclically switched. The

この状態においてそのとき設定されている機能Fに関する選択が指示されると(ステップ504NO,508YES)、機能別実行処理が実行され、機能番号Fに該当する処理が行なわれる(ステップ509)。なお、当該機能別実行処理は、例えば操作ボタン107あるいは108のキー操作に従って機能Fの切替が行なわれ、切替に従って機能番号Fに対応する該当する処理が実行されるものとする。   In this state, when selection regarding function F set at that time is instructed (steps 504 NO, 508 YES), the function-specific execution process is executed, and the process corresponding to function number F is performed (step 509). In the function-specific execution process, for example, the function F is switched according to the key operation of the operation button 107 or 108, and the corresponding process corresponding to the function number F is executed according to the switch.

なお、これらの機能Fの切替に従って機能番号あるいは機能Fに対応するコードが上述した表示部204で表示されるため、ユーザはこれらの案内表示される内容に応じて、当該センサにどのような機能実現手段が設けられているかを容易に目で確認することが可能である。   In addition, since the function number or the code corresponding to the function F is displayed on the above-described display unit 204 according to the switching of the function F, the user can select what function to the sensor according to the contents displayed by the guidance. It is possible to easily visually check whether the realization means is provided.

SETモード処理として設けられている機能の一例について説明する。
図7は、SETモード処理として設けられているティーチング処理の設定について説明するフロー図である。
An example of a function provided as the SET mode process will be described.
FIG. 7 is a flowchart for explaining the setting of the teaching process provided as the SET mode process.

図7を参照して、処理が開始されると、ユーザのキー操作又は外部信号により指定された機能が、1点ティーチング機能である場合、例えば、ステップ901において1点ティーチング機能を選択した場合(YESの場合)には、1点ティーチング処理が実行される(ステップ902)。一方、ステップ903において、2点ティーチング機能を選択した場合(YESの場合)には、2点ティーチング処理が実行される(ステップ904)。   Referring to FIG. 7, when processing is started, when the function designated by the user's key operation or an external signal is a one-point teaching function, for example, when the one-point teaching function is selected in step 901 ( In the case of YES), a one-point teaching process is executed (step 902). On the other hand, when the two-point teaching function is selected in step 903 (in the case of YES), a two-point teaching process is executed (step 904).

ここで、『1点ティーチング処理』とは、基準となる対象物(基準対象物とも称する)の受光量をサンプリングし、その受光量から一定の値だけ低い値又は高い値にしきい値を設定する機能である。また、『2点ティーチング処理』とは、2つの検出対象物の一方の検出対象物の受光量をサンプリングし、取得したサンプリング値と、他方の検出対象物の受光量をサンプリングし、取得したサンプリング値との中間にしきい値を設定する機能である。すなわち、この2点ティーチング機能によれば、しきい値=(1回目のサンプリング値+2回目のサンプリング値)/2となる。   Here, “one-point teaching process” means sampling the amount of received light of a reference object (also referred to as a reference object), and setting a threshold value to a lower or higher value by a certain value from the received light amount. It is a function. “Two-point teaching process” means sampling the received light amount of one of the two detection objects, sampling the acquired sampling value and the received light amount of the other detection object, and acquiring the acquired sampling value. This is a function for setting a threshold value in the middle of the value. That is, according to the two-point teaching function, the threshold value = (first sampling value + second sampling value) / 2.

図8は、ティーチング処理の流れを説明するフロー図である。
図8を参照して、処理が開始されると、増幅率調整が行なわれる(ステップ601)。
FIG. 8 is a flowchart for explaining the flow of teaching processing.
Referring to FIG. 8, when the process is started, gain adjustment is performed (step 601).

具体的には、ティーチングの際において受光部において光電変換された各色の信号レベルの増幅率を調整する。この増幅率の調整については、予め例えばEEPROMに格納されたティーチングの際に用いる増幅率データに基づいて信号処理部200がR増幅調整部203rg、G増幅調整部203gg、B増幅調整部203bgにそれぞれ指示して調整するものとする。   Specifically, the amplification factor of the signal level of each color photoelectrically converted in the light receiving unit at the time of teaching is adjusted. As for the adjustment of the amplification factor, the signal processing unit 200 applies to the R amplification adjustment unit 203 rg, the G amplification adjustment unit 203 gg, and the B amplification adjustment unit 203 bg based on the amplification factor data previously used for teaching stored in the EEPROM, for example. Instruct and adjust.

そして、ティーチングのためのサンプリング取得(ティーチングサンプリング取得)が行なわれる(ステップ602)、そして、ティーチングサンプリング取得の後に、ティーチング用のサンプリングデータ算出が実行される(ステップ603)。   Then, sampling for teaching (teaching sampling acquisition) is performed (step 602). After acquiring the teaching sampling, sampling data for teaching is calculated (step 603).

そして、このサンプリング回数が規定値(例えば一例として1024回)を越えているかどうかを判定する(ステップ604)。そして、規定値を越えていなければ、ステップ602に再び戻り、サンプリング回数が規定値となるまで上述した動作を繰り返すものとする。   Then, it is determined whether or not the number of sampling times exceeds a specified value (for example, 1024 times as an example) (step 604). If the specified value is not exceeded, the process returns to step 602 again, and the above-described operation is repeated until the number of samplings reaches the specified value.

そして、ステップ604において、サンプリング回数が規定値を越えた場合には、次に取得したサンプリングデータに基づいて、ティーチングのためのサンプリングデータの平均値を算出する(ステップ605)。   In step 604, if the number of sampling times exceeds the specified value, the average value of the sampling data for teaching is calculated based on the next acquired sampling data (step 605).

そして、ティーチングのための受光量比率を算出する。(ステップ606)。具体的には、3色の光(赤色、緑色、青色)のそれぞれにおけるティーチングのためのサンプリングデータの平均値に従って受光量の総和を算出し、受光量の総和全体に対する各色の受光量の平均値の割合すなわち受光量比率を算出する。   Then, a received light amount ratio for teaching is calculated. (Step 606). Specifically, the total amount of received light is calculated according to the average value of sampling data for teaching in each of the three colors of light (red, green, and blue), and the average value of the amount of received light of each color with respect to the total sum of the received light amount Ratio, that is, the received light amount ratio.

そして、また、受光量の総和全体に従って後述する正規化係数およびしきい値を算出して(ステップ607)、終了する。正規化係数は、後述する3色の光(赤色、緑色、青色)の受光量の総和が所定値となるように正規化するための係数である。   Then, a normalization coefficient and a threshold value, which will be described later, are calculated in accordance with the total amount of received light (step 607), and the process ends. The normalization coefficient is a coefficient for normalization so that the total amount of received light of three colors (red, green, and blue), which will be described later, becomes a predetermined value.

なお、このティーチング処理は、PD203aで受光した信号光に含まれる赤色、緑色および青色の各色のそれぞれについてサンプリングが行なわれサンプリングデータが算出されるものとする。   In this teaching process, sampling is performed for each of red, green, and blue colors included in the signal light received by the PD 203a to calculate sampling data.

再び図7を参照して、これらティーチング処理が終了した後、ティーチングエラーがあったかどうかを判定する(ステップ905)。例えばティーチングエラーがあった場合にはフラグ等を立てることによりフラグの判別により判定可能である。   Referring to FIG. 7 again, after these teaching processes are completed, it is determined whether or not there is a teaching error (step 905). For example, when there is a teaching error, it can be determined by determining a flag by setting a flag or the like.

ティーチングエラーがあった場合(YESの場合)には、ユーザにその旨の表示や、パラメータを調整して再度のティーチングを実行するためのティーチングエラー処理を実行する(ステップ906)。   If there is a teaching error (in the case of YES), a message to that effect is displayed to the user, or a teaching error process for adjusting the parameters and executing the teaching again is executed (step 906).

図9は、ティーチングエラー処理を説明するフロー図である。
図9を参照して、まず、オーバーエラーがあったかどうかを判定する(ステップ701)。オーバーエラーがあった場合には、オーバーエラー判定処理を実行する(ステップ702)。オーバーエラーが無かった場合には、次にアンダーエラーがあったかどうかを判定する(ステップ703)。アンダーエラーがあった場合には、アンダーエラー判定処理を実行する(ステップ704)。オーバーエラー判定処理およびアンダーエラー判定処理は、ティーチングにより得られた受光量が所定の範囲内であるか否かを判定して、当該判定結果に基づいて検出する受光量の値を調整するものである。この点で、図4で説明したようにPD203aにより光電変換された各色における電気信号は各色の増幅部で増幅されて信号処理部に出力される。信号処理部200は、各色に対応して設けられた増幅部からの信号レベルに基づいて受光量を判断するが、増幅部からの信号レベルが増幅部の増幅率に従って飽和している可能性もある。したがって、オーバーエラー判定処理により、信号処理部200は、増幅部からの信号レベルが過飽和とならないように増幅率の調整を増幅調整部に指示する。また、逆に、増幅率が小さすぎて、増幅部からの信号レベルに基づいて受光量を判断できない可能性もあるため、アンダーエラー判定処理により、増幅部からの信号レベルに関して、一定の信号レベルを確保することが可能なように増幅率の調整を増幅調整部に指示する。
FIG. 9 is a flowchart for explaining teaching error processing.
Referring to FIG. 9, it is first determined whether or not an over error has occurred (step 701). If there is an over error, an over error determination process is executed (step 702). If there is no over error, it is next determined whether or not there is an under error (step 703). If there is an under error, an under error determination process is executed (step 704). The over error determination process and the under error determination process determine whether or not the received light amount obtained by teaching is within a predetermined range, and adjust the value of the received light amount detected based on the determination result. is there. In this regard, as described with reference to FIG. 4, the electrical signals in the respective colors photoelectrically converted by the PD 203 a are amplified by the amplification units of the respective colors and output to the signal processing unit. The signal processing unit 200 determines the amount of received light based on the signal level from the amplification unit provided for each color, but the signal level from the amplification unit may be saturated according to the amplification factor of the amplification unit. is there. Therefore, by the over error determination process, the signal processing unit 200 instructs the amplification adjustment unit to adjust the amplification factor so that the signal level from the amplification unit does not become oversaturated. On the other hand, since the amplification factor is too small, it may not be possible to determine the amount of light received based on the signal level from the amplification unit. The amplification adjustment unit is instructed to adjust the amplification factor so as to be secured.

再び図7を参照して、ティーチングエラーがない場合(NOの場合)には、ティーチング処理により得られたしきい値等のデータがEEPROMへ書き込まれる(ステップ907)。EEPROMに書き込まれたデータは、後のRUNモードの際に読み出されて検出対象物の特徴量を算出するために用いられる。   Referring to FIG. 7 again, when there is no teaching error (in the case of NO), data such as a threshold value obtained by teaching processing is written into the EEPROM (step 907). The data written in the EEPROM is read out in the later RUN mode and used to calculate the feature quantity of the detection target.

次に、再び、図5に戻って、RUNモード処理について説明する。
RUNモードへの導入に先立ち、まずRUNモード初期設定処理が実行される(ステップ406)。このRUNモード初期設定処理(ステップ406)においては、RUNモードの実行に必要な各種のフラグ、カウンタ、レジスタ類等の初期設定処理が行なわれる。続いて、RUNモード初期設定処理(ステップ406)が完了すると、以後第1のスライド操作子110が『RUN』側に設定されている限り(ステップ408YES)、RUNモード処理(ステップ407)が繰り返し実行される。
Next, returning to FIG. 5 again, the RUN mode processing will be described.
Prior to introduction into the RUN mode, first, an RUN mode initial setting process is executed (step 406). In this RUN mode initial setting process (step 406), initial setting processes of various flags, counters, registers, and the like necessary for executing the RUN mode are performed. Subsequently, when the RUN mode initial setting process (step 406) is completed, the RUN mode process (step 407) is repeatedly executed as long as the first slide operator 110 is set to the “RUN” side (YES in step 408). Is done.

図10は、RUNモード処理を説明するフローチャート図である。
このRUNモード処理の全体は、通常処理と割込処理とに大別される。
FIG. 10 is a flowchart for explaining the RUN mode processing.
The entire RUN mode process is roughly divided into a normal process and an interrupt process.

図10(a)は、このRUNモード処理における通常処理を説明するフローチャート図であり、図10(b)は、このRUNモード処理における割込処理を説明するフローチャート図である。   FIG. 10A is a flowchart for explaining a normal process in the RUN mode process, and FIG. 10B is a flowchart for explaining an interrupt process in the RUN mode process.

そして、割込処理(ステップ806〜808)は、時間Tsec毎(例えば、100μsec毎)にタイマ割込で実行される。   The interrupt process (steps 806 to 808) is executed by timer interrupt every time Tsec (for example, every 100 μsec).

まず、図10(a)を参照して、通常処理(ステップ801〜805)について説明する。   First, normal processing (steps 801 to 805) will be described with reference to FIG.

処理が開始されると、表示灯制御処理(ステップ801)が実行される。この表示灯制御処理(ステップ801)では、指定された表示内容に応じて、7セグメントデジタル表示器である第1及び第2の表示器105,106の点灯制御を行なう。   When the process is started, an indicator light control process (step 801) is executed. In this indicator lamp control process (step 801), lighting control of the first and second indicators 105 and 106, which are 7-segment digital indicators, is performed according to the designated display contents.

続いて、オートパワーコントロール(以下、APCという)処理(ステップ802)が実行される。このAPC処理(ステップ802)では、後述する計測用の投受光処理(ステップ806)で取得したモニタ受光量を監視し、一定期間毎に、APC補正を実施する。このAPC補正は、この例においては、上述したように投光電流のパワー制御により行なわれている。   Subsequently, an auto power control (hereinafter referred to as APC) process (step 802) is executed. In this APC process (step 802), the monitor light reception amount acquired in a measurement light projecting / receiving process (step 806) described later is monitored, and APC correction is performed at regular intervals. In this example, the APC correction is performed by the power control of the projection current as described above.

続いて、キー入力検知処理(ステップ803)が実行される。このキー入力検知処理(ステップ803)においては、一定期間毎に、キー入力の検知を行ない、入力を検知した場合は、該当処理の実行ができるように設定を行なう。続いて、入力キー対応処理(ステップ804)が実行されて、検知されたキー入力に対応する様々な処理が実行される。   Subsequently, key input detection processing (step 803) is executed. In this key input detection process (step 803), a key input is detected at regular intervals. If an input is detected, a setting is made so that the corresponding process can be executed. Subsequently, an input key corresponding process (step 804) is executed, and various processes corresponding to the detected key input are executed.

そして、入力キー対応処理(ステップ804)が終了すると、外部入力処理(ステップ805)が実行される。尚、これらのRUNモードの処理は、一般的な光電センサに備えられている処理であるためその詳細な説明は省略する。   When the input key handling process (step 804) is completed, an external input process (step 805) is executed. Note that these RUN mode processes are processes provided in a general photoelectric sensor, and thus detailed description thereof is omitted.

次に、図10(b)を参照して、時刻Tsec毎に実行される割込処理について説明する。   Next, with reference to FIG. 10B, an interrupt process executed every time Tsec will be described.

割込処理が開始されると、まず投受光処理(ステップ806)が実行される。この投受光処理(ステップ806)においては、図3に示されるLED201aを投光駆動部201bを介してパルス駆動することによって、白色光を発生させ、これを投光用ファイバ2を通じて投光用ヘッド(図示せず)へと導き、投光用ヘッドから検出対象領域へと放出する。同時に、検出対象領域において反射又は透過した光を、受光用ファイバ3の先端に設けられた受光ヘッドから受光用ファイバ3内へと導入し、これを受光用ファイバ3を経由してPD202bへと導き、PD202bにて光電変換により得られた信号を、アンプ部203cにて増幅し、その後増幅出力をA/Dコンバータ202cを介して信号処理部200に取り込む。これにより、検出対象領域の状況に対応する特徴量を含んだ受光量が信号処理部200に取得される。   When the interruption process is started, a light projecting / receiving process (step 806) is first executed. In this light projecting / receiving process (step 806), the LED 201a shown in FIG. 3 is pulse-driven through the light projecting drive unit 201b to generate white light, which is then projected through the light projecting fiber 2. (Not shown) and emitted from the projection head to the detection target area. At the same time, the light reflected or transmitted in the detection target region is introduced into the light receiving fiber 3 from the light receiving head provided at the tip of the light receiving fiber 3 and guided to the PD 202b via the light receiving fiber 3. The signal obtained by photoelectric conversion by the PD 202b is amplified by the amplifier unit 203c, and then the amplified output is taken into the signal processing unit 200 via the A / D converter 202c. Thereby, the received light amount including the feature amount corresponding to the state of the detection target region is acquired by the signal processing unit 200.

続いて、ON/OFF判定処理(ステップ807)が実行される。このON/OFF判定処理(ステップ807)においては、予め設定されたON/OFF判定用の光量しきい値を基準として、検出対象物の受光量に基づいて計算されるいわゆる一致度値を弁別二値化することにより、検出対象領域に物体の有無が判定される。すなわち、検出対象領域に目的とする物体が存在すれば、判定結果はONとなり、存在しなければ判定結果はOFFとされる。   Subsequently, an ON / OFF determination process (step 807) is executed. In this ON / OFF determination process (step 807), a so-called coincidence value calculated based on the amount of light received by the detection target is discriminated based on a preset ON / OFF determination light amount threshold value. By determining the value, the presence / absence of an object in the detection target region is determined. That is, if the target object exists in the detection target region, the determination result is ON, and if it does not exist, the determination result is OFF.

こうしてON/OFF判定処理(ステップ807)が実行終了すると、続いて出力制御処理(ステップ808)が実行されて、信号処理部200で生成された検出出力信号は、出力部209を介して、電気コード4に含まれる物体検出信号出力用の芯線43へと送り出される。こうして芯線43へと出力された検出出力信号は、例えばPLCやPC等の上位装置などへと送られる。   When the execution of the ON / OFF determination process (step 807) is completed in this way, the output control process (step 808) is subsequently executed, and the detection output signal generated by the signal processing unit 200 is electrically connected via the output unit 209. It is sent out to an object detection signal output core wire 43 included in the code 4. The detection output signal thus output to the core wire 43 is sent to a host device such as a PLC or a PC.

図11は、本発明の実施の形態に従う投受光処理を説明するフロー図である。
図11を参照して、処理が開始されると、投光処理として上述したように図3に示されるLED202aをLED駆動部202bを介してパルス駆動することによって、白色光を発生させ、これを投光用ファイバ2を通じて投光用ヘッド(図示せず)へと導き、投光用ヘッドから検出対象領域へと放出する(ステップ1000)。
FIG. 11 is a flowchart illustrating the light projecting / receiving process according to the embodiment of the present invention.
Referring to FIG. 11, when the process is started, white light is generated by driving the LED 202a shown in FIG. 3 through the LED driving unit 202b as described above as the light projection process. The light is guided to a light projecting head (not shown) through the light projecting fiber 2 and emitted from the light projecting head to the detection target region (step 1000).

そして、次に、検出対象領域において反射又は透過した光は、受光用ファイバ3の先端に設けられた受光ヘッドから受光用ファイバ3内へと導入される。そして、受光用ファイバ3を経由してPD203aへ導かれ、PD203aにて光電変換される。   Then, the light reflected or transmitted in the detection target region is introduced into the light receiving fiber 3 from the light receiving head provided at the tip of the light receiving fiber 3. Then, the light is guided to the PD 203a via the light receiving fiber 3, and is subjected to photoelectric conversion by the PD 203a.

PD203aにより得られた信号について、まず、赤色の受光量を処理(R受光量処理)する(ステップ1001)。同様にして、緑色の受光量を処理(G受光量処理)する(ステップ1002)。また、同様にして青色の受光量を処理(B受光量処理)する(ステップ1003)。なお、赤色の受光量をVR、緑色の受光量をVG、青色の受光量をVBとして説明する。   For the signal obtained by the PD 203a, first, the red received light amount is processed (R received light amount processing) (step 1001). Similarly, the green light reception amount is processed (G light reception amount processing) (step 1002). Similarly, the blue light reception amount is processed (B light reception amount processing) (step 1003). In the following description, the amount of red light received is VR, the amount of green light received is VG, and the amount of blue received light is VB.

図12は、本発明の実施の形態に従うON/OFF判定処理を説明するフロー図である。   FIG. 12 is a flowchart illustrating ON / OFF determination processing according to the embodiment of the present invention.

図12を参照して、処理が開始されるとまず、一致度算出処理を実行する(ステップ1100)。   Referring to FIG. 12, when the process is started, first, a matching degree calculation process is executed (step 1100).

図13は、本発明の実施の形態に従う一致度算出処理を説明するフロー図である。
図13を参照して、処理が開始されると、それぞれの色に関して、基準値との比較に対する変化量を算出する。具体的には、まず、赤色の変化量(変化光量)を算出する(R変化量算出)(ステップ1200)。同様に、緑色の変化量を算出する(G変化量算出)(ステップ1201)。さらに、青色の変化量を算出する(B変化量算出)(ステップ1202)。
FIG. 13 is a flowchart illustrating coincidence degree calculation processing according to the embodiment of the present invention.
Referring to FIG. 13, when the process is started, a change amount with respect to comparison with the reference value is calculated for each color. Specifically, first, a red change amount (change light amount) is calculated (R change amount calculation) (step 1200). Similarly, a green change amount is calculated (G change amount calculation) (step 1201). Further, a blue change amount is calculated (B change amount calculation) (step 1202).

そして、赤色、緑色、青色の合計変化量を計算する(ステップ1203)。
そして、赤色、緑色、青色の合計変化量に基づいて一致度値を算出する(ステップ1204)。なお、この変化量、一致度値については後述する。
Then, the total change amount of red, green and blue is calculated (step 1203).
Then, a coincidence value is calculated based on the total change amount of red, green, and blue (step 1204). The amount of change and the coincidence value will be described later.

図14は、ワークの反射光を受光して、ワークに対する各色の受光量を正規化した場合を説明する図である。   FIG. 14 is a diagram for explaining a case where the reflected light of the workpiece is received and the amount of received light of each color with respect to the workpiece is normalized.

具体的には、3色の光(赤色、緑色、青色)の受光量の総和が所定値(以下、正規化最大値と称する)となるように各色の受光量を正規化した場合が示されている。なお、本例においては、一例として正規化最大値を1000とした場合が示されている。   Specifically, the case where the received light amount of each color is normalized so that the sum of the received light amounts of three colors of light (red, green, blue) becomes a predetermined value (hereinafter referred to as a normalized maximum value) is shown. ing. In this example, a case where the normalized maximum value is 1000 is shown as an example.

図14(a)は、基準対象物であるワークWrに対してティーチングを実行した場合の各色の受光量を正規化した場合の図であり、それぞれ各色についての受光量比率が示されている。   FIG. 14A is a diagram in which the received light amount of each color is normalized when teaching is performed on the workpiece Wr that is the reference object, and the received light amount ratio for each color is shown.

図14(b)は、検出対象物であるワークWpに対して反射光を受光した場合の各色の受光量を正規化した場合の図であり、それぞれ各色についての受光量比率が示されている。   FIG. 14B is a diagram in the case where the received light amount of each color when the reflected light is received with respect to the workpiece Wp as the detection target is normalized, and the received light amount ratio for each color is shown. .

ここで、上述した図13のステップ1200〜1202の処理を行なうことにより、ワークWrとワークWpとの差が赤色について変化量Δ%R=150、緑色について変化量Δ%G=150、青色について変化量Δ%B=100の差が算出された場合が一例として示されている。   Here, by performing the processing of steps 1200 to 1202 in FIG. 13 described above, the difference between the workpiece Wr and the workpiece Wp is the change amount Δ% R = 150 for red, the change amount Δ% G = 150 for green, and the blue color. A case where the difference Δ% B = 100 is calculated is shown as an example.

ステップ1203において、RGBの合計変化量は、400であり、正規化最大値からこの合計変化量400を差し引くことにより、一致度値が算出される。本例においては、600が算出されている場合が示されている。すなわち、この一致度値は、基準対象物の色に対して検出対象物の近似の程度を示す指標に相当する。   In step 1203, the total change amount of RGB is 400, and the degree of coincidence value is calculated by subtracting the total change amount 400 from the normalized maximum value. In this example, a case where 600 is calculated is shown. That is, the coincidence value corresponds to an index indicating the degree of approximation of the detection target with respect to the color of the reference target.

再び図12を参照して、ステップ1100の一致度算出処理を実行した後、しきい値判定処理を実行する(ステップ1101)。   Referring to FIG. 12 again, after executing the coincidence degree calculation process in step 1100, the threshold value determination process is executed (step 1101).

具体的には、ここで、この一致度値をしきい値との比較により判定することにより、基準対象物であるワークWrに対して同一の色を有するか否かを判別し、検出対象物を検出することができる。   Specifically, here, by determining the coincidence value by comparison with a threshold value, it is determined whether or not the workpiece Wr as the reference object has the same color, and the detection object Can be detected.

図15は、本発明の実施の形態に従うRUNモード処理の計測時間と従来方式の計測時間との比較を説明する図である。   FIG. 15 is a diagram illustrating a comparison between the measurement time of the RUN mode process and the measurement time of the conventional method according to the embodiment of the present invention.

図15(a)には、本発明の実施の形態に従うRUNモードにおける処理の流れが示されている。図15(b)には、従来の計測処理の流れが示されている。   FIG. 15A shows the flow of processing in the RUN mode according to the embodiment of the present invention. FIG. 15B shows the flow of conventional measurement processing.

図15(b)に示されるように従来の方式は、上述したように赤色、緑色、青色と順次、各色の光源を順次点灯し、その反射光を順次、受光して処理するので、計測時間が非常に長くかかる。ここでは、赤色、緑色、青色と順次投光する必要があるため3回に1回しかON/OFF判定処理および出力制御処理が実行できなかった。   As shown in FIG. 15B, in the conventional method, as described above, the light sources of each color are sequentially turned on in order of red, green, and blue, and the reflected light is sequentially received and processed. Takes very long. Here, since it is necessary to sequentially project red, green, and blue, the ON / OFF determination process and the output control process can be executed only once every three times.

一方、図15(a)に示されるように本発明の実施の形態に従うRUNモードによる処理は、検出対象物に対して白色光を投光し、その反射光を赤色、緑色および青色それぞれについて並列に受光する投受光方式である。したがって、計測時間が極めて短くなり、処理速度が向上する。   On the other hand, as shown in FIG. 15 (a), the processing in the RUN mode according to the embodiment of the present invention projects white light onto the detection target and parallelly reflects the reflected light for each of red, green, and blue. This is a light receiving / receiving method. Therefore, the measurement time is extremely shortened and the processing speed is improved.

なお、計測時間を短くするために赤色、緑色、青色と順次投光する光源を切り替えて、投光するタイミングを早くすることにより計測時間を短くすることも可能であるが、投光タイミングが早くなればその際の各光源で生じる発熱が大きくなる。したがって、投光部にて発熱が過大になりすぎないように投光のタイミングを調整する必要もありこれが計測時間の増大を招く要因の1つともなっていたが、本願の方式は、単一の光源を用いて投光する方式であり切り替えによる発熱を考慮する必要が無く、安定性にも優れるという効果もある。また、単一の白色光源であり、赤色、緑色、青色と順次光源を切り替えるものではないため視認性に優れるという効果もある。   In order to shorten the measurement time, it is possible to shorten the measurement time by switching the light source that emits light in order of red, green, and blue, and shortening the projection timing. If it becomes, the heat_generation | fever produced with each light source at that time will become large. Therefore, it is necessary to adjust the timing of the light projection so that the heat generation does not become excessive in the light projecting unit, and this has been one of the factors leading to an increase in the measurement time. This is a method of projecting light using a light source, and there is no need to consider the heat generated by switching, and there is also an effect of excellent stability. Moreover, since it is a single white light source and does not sequentially switch the light source to red, green, and blue, there is also an effect of excellent visibility.

また、特に、検出対象物が高速に移動している場合には、図15(b)の従来の方式であると、順次投光している間に検出対象物が移動してしまうことになるため同一条件での計測ができないという問題もあるが、本願の方式は、並列に受光するため同一条件での計測が可能であり精度の高い安定検出が可能である。   In particular, when the detection object is moving at high speed, the detection object moves while sequentially projecting light according to the conventional method of FIG. 15B. Therefore, there is a problem that measurement under the same condition is not possible. However, since the method of the present application receives light in parallel, measurement under the same condition is possible and stable detection with high accuracy is possible.

図16は、本発明の実施の形態において用いることが可能な白色光源の波長領域に対する相対発光強度を説明する図である。   FIG. 16 is a diagram illustrating the relative light emission intensity with respect to the wavelength region of the white light source that can be used in the embodiment of the present invention.

ここで示される白色光源は、青色ダイオードと蛍光塗料とを組み合わせて白色光を出射する一般的な光源が示されている。   The white light source shown here is a general light source that emits white light by combining a blue diode and a fluorescent paint.

図16に示されるようにある波長(450nm付近)において急峻な発光強度が得られる場合が示されているが、その他の波長領域においてもある程度の発光強度を得ることができるため広い波長領域の信号光を出射することができる。   As shown in FIG. 16, there is shown a case where steep emission intensity can be obtained at a certain wavelength (around 450 nm), but since a certain emission intensity can be obtained also in other wavelength areas, a signal in a wide wavelength area is obtained. Light can be emitted.

図17は、従来の青色、緑色、赤色ダイオードの発光強度を説明する図である。
図17に示されるように青色、緑色、赤色ダイオードにおいては、それぞれの対応する波長領域についてのみ急峻な発光強度を得ることは可能であるが、それ以外の波長領域については十分な発光強度を得ることはできない。したがって、図示されているように不感帯が生じることになる。したがって、その不感帯の波長に対して反射効率の高い検出対象物を検知するような場合には十分な精度が得られない可能性がある。
FIG. 17 is a diagram for explaining light emission intensities of conventional blue, green, and red diodes.
As shown in FIG. 17, in blue, green, and red diodes, it is possible to obtain steep emission intensity only in the corresponding wavelength regions, but sufficient emission intensity is obtained in other wavelength regions. It is not possible. Therefore, a dead zone occurs as shown. Therefore, there is a possibility that sufficient accuracy cannot be obtained when detecting a detection object having a high reflection efficiency with respect to the wavelength of the dead zone.

これに対して、本願の白色光には不感帯が存在しないためどのような色に対してもある程度の反射効率を確保することが可能であり安定した検出を実行することが可能である。   In contrast, the present application of the white light it is possible to perform also it is possible to ensure a certain degree of reflection efficiency stable detection for any color because there is no dead zone.

(実施の形態の変形例1)
図18は、本発明の実施の形態の変形例1に従う時刻Tsec毎に実行される割込処理について説明するフローチャート図である。
(Modification 1 of embodiment)
FIG. 18 is a flowchart illustrating an interrupt process executed every time Tsec according to the first modification of the embodiment of the present invention.

図18を参照して、図10(b)のフローチャート図と比較して異なる点は、ON/OFF判定処理(ステップ807)が比率ON/OFF判定処理(ステップ807a)と、和ON/OFF判定処理(ステップ807b)に置換された点が異なる。   Referring to FIG. 18, the difference from the flowchart of FIG. 10B is that the ON / OFF determination process (step 807) is the ratio ON / OFF determination process (step 807a) and the sum ON / OFF determination. The difference is that the processing (step 807b) is replaced.

具体的には、比率ON/OFF判定処理(ステップ807a)は、上記の実施の形態で説明したON/OFF判定処理(ステップ807)と同様に一致度値を算出してしきい値と比較して判定する処理である。和ON/OFF判定処理(ステップ807b)は、各色の受光量の和を算出して、しきい値と判定する処理である。   Specifically, in the ratio ON / OFF determination process (step 807a), the coincidence value is calculated and compared with the threshold value in the same manner as the ON / OFF determination process (step 807) described in the above embodiment. It is a process to determine. The sum ON / OFF determination process (step 807b) is a process for calculating the sum of the received light amounts of the respective colors and determining the threshold value.

図19は、比率ON/OFF判定処理および和ON/OFF判定処理を説明する図である。   FIG. 19 is a diagram for explaining the ratio ON / OFF determination process and the sum ON / OFF determination process.

図19(a)に示されるようにここで縦軸は、各色(赤、緑、青色)の受光量の和(RGB和)を示している。また、横軸は、各色の受光量の一致度値を示している。   As shown in FIG. 19A, the vertical axis indicates the sum of received light amounts (RGB sum) of each color (red, green, blue). In addition, the horizontal axis indicates the degree of coincidence value of the amount of received light of each color.

上述したように一致度算出処理により算出された一致度値と、一致度値に対するしきい値(本例においてはしきい値Cth)とを比較、判定することにより検出対象物を検出することが可能である。   As described above, the detection target can be detected by comparing and determining the coincidence value calculated by the coincidence degree calculation process and the threshold value (threshold value Cth in this example) with respect to the coincidence value. Is possible.

また、各色(赤、緑、青色)の受光量の和(RGB和)に対してしきい値を設けて、受光量の和がここでは、しきい値Dth1以上、しきい値Dth2未満であるかどうかを比較、判定することにより検出対象物を検出することができる。   Further, a threshold value is provided for the sum of received light amounts (RGB sum) of each color (red, green, blue), and the sum of received light amounts here is not less than threshold value Dth1 and less than threshold value Dth2. It is possible to detect the detection object by comparing and determining whether or not.

一方で、光量は、距離の二乗に比例する。すなわち、受光量は、検出対象物との距離と相関関係がある。   On the other hand, the amount of light is proportional to the square of the distance. That is, the amount of received light has a correlation with the distance to the detection target.

したがって、図19(b)に示されているように受光量の和のしきい値Dth1、Dth2を適宜調整することにより検出対象物の検出領域を指定することができる。すなわち、検出対象物の安定検出領域を限定することが可能であり、より安定した検出を実行することが可能である。   Therefore, as shown in FIG. 19B, the detection area of the detection target can be specified by appropriately adjusting the threshold values Dth1 and Dth2 of the sum of the received light amounts. That is, it is possible to limit the stable detection region of the detection target, and it is possible to perform more stable detection.

(実施の形態の変形例2)
上記の実施の形態においては、白色光を投光して、反射光に含まれる赤色、緑色、青色の受光量をそれぞれ並列に取得処理する方式について説明したが、特に3色全てについて処理する必要は無く、例えば選択的に検出対象物の反射効率等の特性を考慮して最適な1色のみの処理あるいは2色の組み合わせの処理とすることも可能である。
(Modification 2 of embodiment)
In the above-described embodiment, the method of projecting white light and acquiring the red, green, and blue received light amounts included in the reflected light in parallel has been described. In particular, it is necessary to process all three colors. For example, it is possible to selectively process only one color or combine two colors in consideration of characteristics such as the reflection efficiency of the detection target.

3色全て並列に処理するよりも計算処理が簡易となり計測時間を短縮し、高速な処理が可能である。   Compared to processing all three colors in parallel, the calculation processing is simplified, the measurement time is shortened, and high-speed processing is possible.

図20は、2点ティーチングを実行した場合におけるそれぞれのパターンにおける検出対象物WAと、検出対象物WBとの受光量の比較を説明する図である。   FIG. 20 is a diagram for explaining a comparison of received light amounts of the detection object WA and the detection object WB in each pattern when two-point teaching is executed.

図20に示されるように例えばパターンPAの場合には、検出対象物WAと検出対象物WBとの受光量をそれぞれ比較して、その差を各色について検出可能であるため赤色、緑色、青色のそれぞれの各色において受光量を取得して、計算処理することが可能である。すなわち、3色を全て選択することが可能である。   As shown in FIG. 20, in the case of the pattern PA, for example, the amounts of light received by the detection object WA and the detection object WB are compared, and the difference can be detected for each color. It is possible to obtain the amount of received light for each color and perform calculation processing. That is, it is possible to select all three colors.

一方、パターンPBの場合には、検出対象物WAと検出対象物WBとの受光量をそれぞれ比較した場合、赤色については差を検出することが難しいと考えられるため、差を十分検出可能な緑色、青色の2色の受光量をそれぞれ取得して、計算処理することが可能である。すなわち、3色のうちの2色を用いて計算処理することも可能である。これにより、CPUの負荷を軽減して、高速な計測が可能である。   On the other hand, in the case of the pattern PB, when the amounts of light received by the detection target object WA and the detection target object WB are compared, it is considered difficult to detect the difference for red. It is possible to obtain the amounts of received light of two colors of blue, respectively, and perform calculation processing. That is, it is possible to perform calculation processing using two of the three colors. Thereby, the load on the CPU is reduced and high-speed measurement is possible.

また、パターンPCの場合には、検出対象物WAと検出対象物WBとの受光量をそれぞれ比較した場合、赤色、青色については差を検出することが難しいと考えられるため、差を十分検出可能な緑色の受光量を取得して、計算処理することも可能である。すなわち、3色のうちの1色を用いて計算処理することも可能である。これにより、上記と同様にCPUの負荷を軽減して、高速な計測が可能である。   In the case of the pattern PC, it is considered difficult to detect the difference between red and blue when the received light amounts of the detection object WA and the detection object WB are compared, so the difference can be detected sufficiently. It is also possible to obtain a green light reception amount and perform calculation processing. That is, it is possible to perform calculation processing using one of the three colors. As a result, the CPU load is reduced as described above, and high-speed measurement is possible.

なお、本実施の形態においても、白色光を投光する方式すなわち、単一の白色光源を用いる構成であるため、赤色、緑色、青色と順次光源を切り替える必要はなく、視認性に優れるという効果もある。   Even in the present embodiment, since the method of projecting white light, that is, a configuration using a single white light source, there is no need to sequentially switch between red, green, and blue, and the effect of excellent visibility. There is also.

また、本例においては、受光部において、赤色、緑色、青色の光を受光する場合について説明したが、特に3色の光に限られず、それよりもさらに複数種類の色の光を並列に受光する構成とすることも可能である。   In this example, the case where the light receiving unit receives red, green, and blue light has been described. However, the light receiving unit is not limited to light of three colors, and more than one type of light is received in parallel. It is also possible to adopt a configuration.

また、本実施の形態においては、反射型の光電センサすなわち検出対象領域の検出対象物に反射した反射光を受光して検出対象物の特徴量を検出する光電センサについて説明したが、反射型の光電センサに限られず、透過型の光電センサすなわち検出対象力の検出対象物を透過した透過光を受光して検出対象物の特徴量を検出する光電センサについても同様に適用可能である。すなわち、この場合、受光用ファイバに導光される光が反射光ではなく透過光である点が異なりその他の方式については同様である。   In this embodiment, a reflective photoelectric sensor, that is, a photoelectric sensor that receives reflected light reflected on a detection target in a detection target region and detects a feature amount of the detection target is described. The present invention is not limited to the photoelectric sensor, and can be similarly applied to a transmissive photoelectric sensor, that is, a photoelectric sensor that receives transmitted light that has passed through a detection target with a detection target force and detects a feature amount of the detection target. That is, in this case, the light guided to the light receiving fiber is not reflected light but transmitted light, and the other systems are the same.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

本発明の実施形態に従う光電センサの上部カバーを開いた状態における外観斜視図である。It is an external appearance perspective view in the state where the upper cover of the photoelectric sensor according to the embodiment of the present invention was opened. 本発明の実施の形態に従う光電センサの操作・表示部の拡大図を説明する図である。It is a figure explaining the enlarged view of the operation and the display part of the photoelectric sensor according to embodiment of this invention. 本発明の実施の形態に従う光電センサの概略ブロック図である。1 is a schematic block diagram of a photoelectric sensor according to an embodiment of the present invention. 本発明の実施の形態に従う投光部202および受光部203の詳細を説明する図である。It is a figure explaining the detail of the light projection part 202 and the light-receiving part 203 according to embodiment of this invention. 信号処理部200のCPUで実行されるシステムプログラムの全体を概略的に示すゼネラルフローチャートである。3 is a general flowchart schematically showing an entire system program executed by a CPU of a signal processing unit 200. SETモード処理の全体を示すフローチャート図である。It is a flowchart figure which shows the whole SET mode process. SETモード処理として設けられているティーチング処理の設定について説明するフロー図である。It is a flowchart explaining the setting of the teaching process provided as a SET mode process. ティーチング処理の流れを説明するフロー図である。It is a flowchart explaining the flow of teaching processing. ティーチングエラー処理を説明するフロー図である。It is a flowchart explaining a teaching error process. RUNモード処理を説明するフローチャート図である。It is a flowchart figure explaining a RUN mode process. 本発明の実施の形態に従う投受光処理を説明するフロー図である。It is a flowchart explaining the light projection / reception process according to embodiment of this invention. 本発明の実施の形態に従うON/OFF判定処理を説明するフロー図である。It is a flowchart explaining the ON / OFF determination process according to an embodiment of the present invention. 本発明の実施の形態に従う一致度算出処理を説明するフロー図である。It is a flowchart explaining the coincidence degree calculation process according to the embodiment of the present invention. ワークの反射光を受光して、ワークに対する各色の受光量を正規化した場合を説明する図である。It is a figure explaining the case where the reflected light of a workpiece | work is received and the light reception amount of each color with respect to a workpiece | work is normalized. 本発明の実施の形態に従うRUNモード処理の計測時間と従来方式の計測時間との比較を説明する図である。It is a figure explaining the comparison with the measurement time of the RUN mode process according to embodiment of this invention, and the measurement time of a conventional system. 本発明の実施の形態において用いることが可能な白色光源の波長領域に対する相対発光強度を説明する図である。It is a figure explaining the relative light emission intensity with respect to the wavelength range of the white light source which can be used in embodiment of this invention. 従来の青色、緑色、赤色ダイオードの発光強度を説明する図である。It is a figure explaining the emitted light intensity of the conventional blue, green, and red diode. 本発明の実施の形態の変形例1に従う時刻Tsec毎に実行される割込処理について説明するフローチャート図である。It is a flowchart figure explaining the interruption process performed every time Tsec according to the modification 1 of embodiment of this invention. 比率ON/OFF判定処理および和ON/OFF判定処理を説明する図である。It is a figure explaining ratio ON / OFF determination processing and sum ON / OFF determination processing. 2点ティーチングを実行した場合におけるそれぞれのパターンにおける検出対象物WAと、検出対象物WBとの受光量の比較を説明する図である。It is a figure explaining the comparison of the light reception amount of the detection target object WA in each pattern in the case of performing two-point teaching and the detection target object WB.

符号の説明Explanation of symbols

1 光電センサ、2 投光用ファイバ、3 受光用ファイバ、4 電気コード、41 GND用芯線、42 Vcc用芯線、43 検出出力信号用の芯線、44 補助出力信号用の芯線、45 制御信号用の芯線、101 筐体、102 透明カバー、103 クランプレバー、104 DINレール嵌合溝、105 第1の表示器、106 第2の表示器、107 第1の操作ボタン、108 第2の操作ボタン、109 第3の操作ボタン、110 第1のスライド操作子、111 第2のスライド操作子、200 信号処理部、201 電源部、202 投光部、202a LED、202b 投光駆動部、203 受光部、203a PD、203b アンプ部、204 表示部、205 入力部、205a キー入力部、205b 信号入力部、206 出力部、206a 検出信号用の出力部、206b 補助出力信号用の出力部。   1 photoelectric sensor, 2 light emitting fiber, 3 light receiving fiber, 4 electric cord, 41 GND core wire, 42 Vcc core wire, 43 detection output signal core wire, 44 auxiliary output signal core wire, 45 for control signal Core wire, 101 housing, 102 transparent cover, 103 clamp lever, 104 DIN rail fitting groove, 105 first indicator, 106 second indicator, 107 first operation button, 108 second operation button, 109 3rd operation button, 110 1st slide operation element, 111 2nd slide operation element, 200 Signal processing part, 201 Power supply part, 202 Light projection part, 202a LED, 202b Light projection drive part, 203 Light reception part, 203a PD, 203b amplifier unit, 204 display unit, 205 input unit, 205a key input unit, 205b signal input unit, 206 Power unit, an output unit for 206a detection signal, an output unit for 206b auxiliary output signal.

Claims (9)

検出対象領域の光を受光することにより検出対象物の特徴量を検出する光電センサであって、
白色光を投光する白色光源と、
前記検出対象領域の前記検出対象物を透過あるいは反射した光を受光する受光部と、
前記受光部の受光結果に基づいて前記検出対象物の特徴量を検出する検出部とを備え、
前記受光部は、前記白色光を投光して前記検出対象領域の前記検出対象物を透過あるいは反射した光に含まれる複数の異なる波長を受光するためにそれぞれ対応して設けられ、各々が対応する波長の光を受光するとともにそれぞれの対応する波長の光を並列に受光する複数の受光素子を含む、光電センサ。
A photoelectric sensor that detects a feature amount of a detection target by receiving light of a detection target region,
A white light source that projects white light;
A light receiving unit that receives light transmitted or reflected from the detection target in the detection target region;
A detection unit that detects a feature amount of the detection object based on a light reception result of the light receiving unit;
The light receiving unit is provided correspondingly to receive a plurality of different wavelengths included in the light that is projected from the white light and transmitted or reflected from the detection target in the detection target region. A photoelectric sensor including a plurality of light receiving elements that receive light of a wavelength to be received and receive light of each corresponding wavelength in parallel.
前記複数の受光素子は、前記検出対象物を透過あるいは反射した光に含まれる赤色、緑色および青色の光の波長をそれぞれ並列に受光する、請求項1記載の光電センサ。   The photoelectric sensor according to claim 1, wherein the plurality of light receiving elements receive, in parallel, wavelengths of red, green, and blue light included in light transmitted or reflected from the detection target. 前記検出部で検出した前記検出対象物の特徴量に従って前記検出対象物の検出状態を判定する判定部をさらに備え、
前記受光部は、設定時に、基準となる基準対象物に対して前記白色光を投光して前記検出対象領域の前記検出対象物を透過あるいは反射した光を受光し、
前記検出部は、前記検出対象物の特徴量として前記白色光を投光して前記検出対象領域の前記検出対象物を透過あるいは反射した光の受光量の総和に含まれる赤色光、緑色光および青色光のそれぞれの受光量の比率を算出するとともに、前記設定時に前記検出部にて算出した前記基準対象物に関する赤色光、緑色光および青色光のそれぞれの受光量の基準比率と、検出動作時に前記検出部にて算出した前記検出対象物に関する赤色光、緑色光および青色光のそれぞれの受光量の比率とを比較して、前記基準対象物に対する前記検出対象物の色の近似の程度を示す一致度値を算出し、
前記判定部は、算出された一致度値に基づいて前記検出対象物の検出状態について判定する、請求項2記載の光電センサ。
A determination unit that determines a detection state of the detection target according to a feature amount of the detection target detected by the detection unit;
The light receiving unit, when set, receives the light transmitted or reflected by the detection target region in the detection target region by projecting the white light to a reference target object serving as a reference,
The detection unit projects the white light as a feature quantity of the detection target object, and includes red light, green light, and green light included in a total amount of received light transmitted or reflected from the detection target area of the detection target area. The ratio of the amount of received light of each blue light is calculated, the reference ratio of the amount of received light of each of the red light, the green light and the blue light related to the reference object calculated by the detection unit at the time of the setting, and the detection operation The ratio of the amount of received light of each of the red light, green light and blue light related to the detection target calculated by the detection unit is compared to indicate the degree of approximation of the color of the detection target relative to the reference target Calculate the match value,
The photoelectric sensor according to claim 2, wherein the determination unit determines the detection state of the detection target based on the calculated coincidence value.
前記検出部は、前記赤色光、緑色光および青色光を受光した前記複数の受光素子の受光量の総和と所定の閾値となる受光量とを比較して、比較結果に基づいて前記検出対象物の特徴量を検出する動作を実行する、請求項2記載の光電センサ。   The detection unit compares a total received light amount of the plurality of light receiving elements that receive the red light, green light, and blue light with a received light amount that is a predetermined threshold, and based on a comparison result, the detection target object The photoelectric sensor of Claim 2 which performs the operation | movement which detects the feature-value of this. 前記検出部は、前記複数の受光素子の受光量の総和が、第1の閾値以上前記第1の閾値よりも大きい第2の閾値未満の範囲内である場合に前記検出対象物の特徴量を検出する動作を実行する、請求項4記載の光電センサ。   The detection unit calculates the feature amount of the detection target when the sum of received light amounts of the plurality of light receiving elements is within a range of a first threshold value or more and less than a second threshold value that is greater than the first threshold value. The photoelectric sensor of Claim 4 which performs the operation | movement to detect. 前記受光部は、設定時に、基準となる第1および第2の基準対象物に対して前記白色光を投光して前記検出対象領域の前記検出対象物を透過あるいは反射した光を受光し、
前記検出部は、前記設定時に前記第1および第2の基準対象物の特徴量として前記白色光を投光して前記検出対象領域の前記検出対象物を透過あるいは反射した光に含まれる赤色光、緑色光および青色光のそれぞれの受光量を算出して比較し、比較結果に基づいて検出動作時に用いる前記受光部で受光された前記赤色光、緑色光および青色光のうちの少なくともいずれか1つの光の受光結果を選択する、請求項2記載の光電センサ。
The light receiving unit is configured to project the white light to the first and second reference objects serving as a reference and receive light transmitted or reflected from the detection object in the detection target region at the time of setting,
The detection unit emits the white light as a feature amount of the first and second reference objects at the time of setting, and includes red light included in light transmitted or reflected from the detection object in the detection target region The light receiving amounts of green light and blue light are calculated and compared, and at least one of the red light, green light, and blue light received by the light receiving unit used in the detection operation based on the comparison result The photoelectric sensor according to claim 2, wherein a light reception result of two lights is selected.
前記検出部は、前記設定時に、対応する光の受光量の差を算出して、算出結果が所定の閾値以上であれば、前記検出動作時に前記対応する光の受光結果を選択し、所定の閾値未満であれば、前記検出動作時に前記対応する光の受光結果を非選択とする、請求項6記載の光電センサ。   The detection unit calculates a difference in received light amount of the corresponding light at the time of the setting, and if the calculation result is equal to or greater than a predetermined threshold, selects the corresponding light reception result at the time of the detection operation, The photoelectric sensor according to claim 6, wherein if it is less than a threshold value, a light reception result of the corresponding light is not selected during the detection operation. 前記検出部は、検出動作時に用いる前記受光部で受光された前記赤色光、緑色光および青色光のうちの少なくともいずれか1つの光の受光結果を選択する、請求項2記載の光電センサ。   The photoelectric sensor according to claim 2, wherein the detection unit selects a light reception result of at least one of the red light, the green light, and the blue light received by the light receiving unit used during a detection operation. 前記受光部は、前記複数の受光素子の各々は、前記白色光を投光して前記検出対象領域の前記検出対象物を透過あるいは反射した光に含まれる前記赤色光、緑色光および青色光のうちの対応する光の光量を示す電気信号を生成し、
前記電気信号を増幅する増幅部を含み、
前記電気信号の信号レベルが所定の範囲内の値となるように前記増幅部の増幅率が調整される、請求項2記載の光電センサ。
In the light receiving unit, each of the plurality of light receiving elements emits the white light and transmits the red light, the green light, and the blue light included in the light that is transmitted through or reflected from the detection target region. Generate an electrical signal indicating the amount of light
An amplifying unit for amplifying the electric signal;
The photoelectric sensor according to claim 2, wherein an amplification factor of the amplifying unit is adjusted so that a signal level of the electric signal becomes a value within a predetermined range.
JP2007010688A 2007-01-19 2007-01-19 Photoelectric sensor Pending JP2008175742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007010688A JP2008175742A (en) 2007-01-19 2007-01-19 Photoelectric sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007010688A JP2008175742A (en) 2007-01-19 2007-01-19 Photoelectric sensor

Publications (1)

Publication Number Publication Date
JP2008175742A true JP2008175742A (en) 2008-07-31

Family

ID=39702868

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007010688A Pending JP2008175742A (en) 2007-01-19 2007-01-19 Photoelectric sensor

Country Status (1)

Country Link
JP (1) JP2008175742A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008298614A (en) * 2007-05-31 2008-12-11 Omron Corp Sensor
WO2012070433A1 (en) * 2010-11-22 2012-05-31 エイディシーテクノロジー株式会社 Object detection device and radiation device
JP5461578B2 (en) * 2009-11-26 2014-04-02 三菱電機株式会社 Optical switch
JP2016070845A (en) * 2014-09-30 2016-05-09 オムロン株式会社 Object detection device and object detection method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0295222A (en) * 1988-09-30 1990-04-06 Hoya Corp Color sensor circuit
JPH07198489A (en) * 1993-12-28 1995-08-01 Ibiden Co Ltd Light-source control device of color-tone and color-density discrimination apparatus
JPH1114459A (en) * 1997-06-25 1999-01-22 Omron Corp Color discrimination sensor
JP2000121441A (en) * 1998-10-15 2000-04-28 Keyence Corp Color detector
JP2004212167A (en) * 2002-12-27 2004-07-29 Optex Fa Co Ltd Color image processing device
JP2004261364A (en) * 2003-02-28 2004-09-24 Hamamatsu Photonics Kk Concentration information measuring apparatus
JP2005106525A (en) * 2003-09-29 2005-04-21 Canon Inc Method for controlling optical sensor, program and storage medium, and image forming apparatus
JP2005308747A (en) * 2004-04-21 2005-11-04 Agilent Technol Inc Collar sensor circuit with built-in programmable gain selecting section

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0295222A (en) * 1988-09-30 1990-04-06 Hoya Corp Color sensor circuit
JPH07198489A (en) * 1993-12-28 1995-08-01 Ibiden Co Ltd Light-source control device of color-tone and color-density discrimination apparatus
JPH1114459A (en) * 1997-06-25 1999-01-22 Omron Corp Color discrimination sensor
JP2000121441A (en) * 1998-10-15 2000-04-28 Keyence Corp Color detector
JP2004212167A (en) * 2002-12-27 2004-07-29 Optex Fa Co Ltd Color image processing device
JP2004261364A (en) * 2003-02-28 2004-09-24 Hamamatsu Photonics Kk Concentration information measuring apparatus
JP2005106525A (en) * 2003-09-29 2005-04-21 Canon Inc Method for controlling optical sensor, program and storage medium, and image forming apparatus
JP2005308747A (en) * 2004-04-21 2005-11-04 Agilent Technol Inc Collar sensor circuit with built-in programmable gain selecting section

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008298614A (en) * 2007-05-31 2008-12-11 Omron Corp Sensor
JP5461578B2 (en) * 2009-11-26 2014-04-02 三菱電機株式会社 Optical switch
WO2012070433A1 (en) * 2010-11-22 2012-05-31 エイディシーテクノロジー株式会社 Object detection device and radiation device
JPWO2012070433A1 (en) * 2010-11-22 2014-05-19 エイディシーテクノロジー株式会社 Object detection device and light irradiation device
JP2016070845A (en) * 2014-09-30 2016-05-09 オムロン株式会社 Object detection device and object detection method

Similar Documents

Publication Publication Date Title
JP3669352B2 (en) Photoelectric sensor
JP4983407B2 (en) Photoelectric sensor
US8947652B2 (en) Photoelectric sensor
JP4009862B2 (en) Multi-axis photoelectric sensor
CN102422711A (en) Circuit for and method of sensing property of light
JP2000195683A (en) Reproducible illumination producing system and method
EP2695568A1 (en) Observation device in which insertion section tip-end position detection using external light is possible
JP2006506611A (en) Device that scans yarn by light beam
KR102109948B1 (en) Displacement measurement apparatus
JP4428416B2 (en) Photoelectric sensor
US6803556B2 (en) Photoelectric sensor and method of detecting an object to be detected using the same
JP2008175742A (en) Photoelectric sensor
US20170027426A1 (en) Light source apparatus
JP5507895B2 (en) Transmission type measuring device
JP4139936B2 (en) Optical displacement sensor
JP5034511B2 (en) Photoelectric sensor
JP2008146463A (en) Position detection apparatus
JP2017073723A (en) Photoelectric switch
JP2017073322A (en) Photoelectric switch
CN106568510B (en) Photoelectric switch
JP4266182B2 (en) Photoelectric switch
CN108627249B (en) Optical sensor and sensor system
JP2005127869A (en) Color-discrimination device
JP6637282B2 (en) Photoelectric switch
JP2005291748A (en) Color identification apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091109

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110616

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110920

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111111

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120508