JP5478085B2 - Optical scanning photoelectric switch and disturbance light display device incorporating the same - Google Patents

Optical scanning photoelectric switch and disturbance light display device incorporating the same Download PDF

Info

Publication number
JP5478085B2
JP5478085B2 JP2009021045A JP2009021045A JP5478085B2 JP 5478085 B2 JP5478085 B2 JP 5478085B2 JP 2009021045 A JP2009021045 A JP 2009021045A JP 2009021045 A JP2009021045 A JP 2009021045A JP 5478085 B2 JP5478085 B2 JP 5478085B2
Authority
JP
Japan
Prior art keywords
light
area
optical scanning
photoelectric switch
scanning photoelectric
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.)
Active
Application number
JP2009021045A
Other languages
Japanese (ja)
Other versions
JP2010175486A (en
Inventor
晋治 川畑
要 石川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Keyence Corp
Original Assignee
Keyence Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Keyence Corp filed Critical Keyence Corp
Priority to JP2009021045A priority Critical patent/JP5478085B2/en
Publication of JP2010175486A publication Critical patent/JP2010175486A/en
Application granted granted Critical
Publication of JP5478085B2 publication Critical patent/JP5478085B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mechanical Optical Scanning Systems (AREA)
  • Optical Radar Systems And Details Thereof (AREA)

Description

本発明は光走査型光電スイッチ及びこれを組み込んだ外乱光表示装置に関する。   The present invention relates to an optical scanning photoelectric switch and an ambient light display device incorporating the same.

特許文献1、2に見られるように、光を二次元的に走査して物体を検出すると共にこの物体までの距離を検出する光走査型光電スイッチが知られている。この光走査型光電スイッチは、安全スキャナ、セーフティレーザスキャナ等とも呼ばれている通り、危険源としての機械やロボットなどの周囲に保護領域を設けて、この保護領域に作業者等が侵入したときに、危険源に動作不許可の安全信号を出力する。   As seen in Patent Documents 1 and 2, there is known an optical scanning photoelectric switch that detects an object while scanning light two-dimensionally and detects a distance to the object. This optical scanning photoelectric switch is also called a safety scanner, safety laser scanner, etc. When a protective area is provided around a machine or robot as a danger source, and an operator enters this protective area. In addition, a safety signal indicating that operation is not permitted is output to the danger source.

光を出射してその反射光を検知する光電スイッチにあっては外乱光の影響が問題となる。具体的には、外乱光の影響を受けると、この外乱光によって保護領域に作業者が侵入したと誤って判定する要因になる虞がある。   In a photoelectric switch that emits light and detects the reflected light, the influence of disturbance light becomes a problem. Specifically, when affected by disturbance light, there is a risk that the disturbance light may erroneously determine that an operator has entered the protected area.

特開平4−310890号公報JP-A-4-310890 特開平03−175390号公報Japanese Patent Laid-Open No. 03-175390

光走査型光電スイッチは、危険源から作業者を守る安全機器として位置付けられていることから、外乱光の影響を受けて正常な安全確認を行うことのできないことは許されない。勿論、このような場合には光電スイッチから動作不許可を示す安全信号を出力することで安全機器としての役割を果たすことができる。しかしながら、外乱光の原因を探索して、原因に適した対策を施す根本的な対処を早期に行うことができれば、危険源である機械やロボットの運転を早急に復旧させることができる。   Since the optical scanning photoelectric switch is positioned as a safety device that protects workers from dangerous sources, it is not permitted that normal safety confirmation cannot be performed under the influence of ambient light. Of course, in such a case, it is possible to play a role as a safety device by outputting a safety signal indicating that the operation is not permitted from the photoelectric switch. However, if the cause of the disturbance light can be searched and a fundamental countermeasure to take a countermeasure suitable for the cause can be performed at an early stage, the operation of the machine or robot that is a danger source can be quickly restored.

しかしながら、光走査型光電スイッチにあっては、光を広範囲に走査することから視野が広く、また、低反射率の物体に対しても検出できるように高感度に設計されるのが一般的であることから、光走査型光電スイッチの周囲の光が外乱光の要因になり得るため、その特定が困難であるという光走査型光電スイッチ特有の問題を有している。   However, an optical scanning type photoelectric switch is generally designed with a high sensitivity so that a wide field of view can be detected because light is scanned over a wide range, and an object with low reflectance can be detected. Therefore, there is a problem peculiar to the optical scanning photoelectric switch that it is difficult to specify because the light around the optical scanning photoelectric switch can cause disturbance light.

本発明の目的は、投受光に伴う光と外乱光とを区別して、受光した光が外乱光であると判別することのできる光走査型光電スイッチを提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide an optical scanning photoelectric switch that can discriminate between received light and disturbance light and discriminate that the received light is disturbance light.

本発明の更なる目的は、外乱光の方位を特定することのできる光走査型光電スイッチ及びこれを組み込んだ外乱光表示装置を提供することにある。   A further object of the present invention is to provide an optical scanning photoelectric switch capable of specifying the direction of disturbance light and a disturbance light display device incorporating the same.

投光タイミングと受光タイミングとの間の時間差が異常であるとすれば、これは外乱光の影響である可能性が大きいとの視点に立脚して、本発明によれば、
光を二次元的に走査して物体を検出すると共に該物体までの距離を計測して該物体の二次元位置を検知する光走査型光電スイッチにおいて、
各光軸の投光タイミングと受光タイミングとの時間差を求める時間差演算手段と、
前記時間差が所定の範囲外であるときに異常と判断する異常判断手段と、
該異常判断手段により異常と判断されたときに、異常が発生したことを示す異常発生情報と、該異常が発生した方位とを関連付けて報知する又は外部へ出力する出力手段とを有することを特徴とする光走査型光電スイッチを提供することにより上記の技術的課題が達成される。
If the time difference between the light projection timing and the light reception timing is abnormal, based on the viewpoint that this is likely to be the influence of disturbance light, according to the present invention,
In an optical scanning photoelectric switch that detects an object by scanning light two-dimensionally and detects a two-dimensional position of the object by measuring a distance to the object,
A time difference calculating means for obtaining a time difference between the light projecting timing and the light receiving timing of each optical axis;
An abnormality determining means for determining an abnormality when the time difference is outside a predetermined range;
An abnormality occurrence information indicating that an abnormality has occurred when the abnormality determination means determines that an abnormality has occurred, and an output means for informing or outputting the direction in which the abnormality has occurred in association with each other. The above-described technical problem is achieved by providing an optical scanning photoelectric switch.

本発明の好ましい実施の形態では、前記異常判断手段により異常と判断されたときに、エラー履歴を作成するエラー履歴作成手段と、該エラー履歴を記憶する記憶手段とを更に有し、外乱光とみなせる現象に基づいてエラー履歴を残すことによって、このエラー履歴を検証することで外乱光の原因を素速く探求することができる。   In a preferred embodiment of the present invention, the apparatus further comprises an error history creating means for creating an error history and a storage means for storing the error history when an abnormality is judged by the abnormality judging means, By leaving an error history based on the phenomenon that can be considered, the cause of the disturbance light can be quickly searched for by verifying the error history.

本発明の好ましい実施の形態では、
前記投光タイミングと受光タイミングとの間の時間差が、前記所定の範囲外であって且つ該所定の範囲を規定する時間差の最小値よりも小さいときに、出力をOFF状態に移行させる安全出力制御手段を更に有する。これにより、投光タイミングと受光タイミングとの間の時間差が極端に小さいときは光走査型光電スイッチに近い領域での現象とみなすことができるため、出力をOFF状態に移行させることで安全性を確保することができる。また、前記異常判断手段により異常と判断したときに、光走査型光電スイッチの表示手段に異常の表示を行うのがよい。
In a preferred embodiment of the present invention,
Safety output control for shifting the output to the OFF state when the time difference between the light projection timing and the light reception timing is outside the predetermined range and smaller than the minimum value of the time difference defining the predetermined range It further has means. As a result, when the time difference between the light projection timing and the light reception timing is extremely small, it can be regarded as a phenomenon in a region close to the optical scanning photoelectric switch. Therefore, the safety is improved by shifting the output to the OFF state. Can be secured. In addition, when the abnormality determining unit determines that an abnormality has occurred, it is preferable to display an abnormality on the display unit of the optical scanning photoelectric switch.

外乱光の方位をビジュアルで表示することはユーザにとって外乱光の方位の特定する上で有効である。このことから、光走査型光電スイッチに接続可能なディスプレイ付き端末に、前記光走査型光電スイッチから受け取った情報によって外乱光の方位をビジュアルで表示するプログラムをインストールした外乱光表示装置を提供するのは実用上有意義である。また、この端末のディスプレイに外乱光の方位の表示を常時行うか否かはユーザの選択に委ねるようにしてもよい。   Visually displaying the direction of disturbance light is effective for the user to specify the direction of disturbance light. Accordingly, a disturbance light display device is provided in which a program for visually displaying the direction of disturbance light according to information received from the optical scanning photoelectric switch is installed in a terminal with a display that can be connected to the optical scanning photoelectric switch. Is practically meaningful. Further, whether or not to always display the direction of disturbance light on the display of this terminal may be left to the user's selection.

光走査型光電スイッチの基本的な用語を説明するための図である。It is a figure for demonstrating the basic term of an optical scanning type photoelectric switch. 本発明に関連した光走査型光電スイッチの適用例を説明するための図である。It is a figure for demonstrating the application example of the optical scanning type photoelectric switch relevant to this invention. 本発明に関連した光走査型光電スイッチの光学系の構成を説明するための図である。It is a figure for demonstrating the structure of the optical system of the optical scanning type photoelectric switch relevant to this invention. 図4の(a)は図3の光走査型光電スイッチの全体構成を示し、図4の(b)は保護領域と警告領域を説明するための図である。4A shows the entire configuration of the optical scanning photoelectric switch of FIG. 3, and FIG. 4B is a diagram for explaining the protection area and the warning area. 本発明に関連した光走査型光電スイッチの外観図である。1 is an external view of an optical scanning photoelectric switch related to the present invention. 図6の(a)は本発明に関連した光走査型光電スイッチの正面図であり、図6の(b)はユーザインターフェース部を抽出してユーザ側から見た図である。FIG. 6A is a front view of an optical scanning photoelectric switch related to the present invention, and FIG. 6B is a view of the user interface unit extracted from the user side. 本発明に関連した光走査型光電スイッチの内部構造を説明するための縦断面図である。It is a longitudinal cross-sectional view for demonstrating the internal structure of the optical scanning type photoelectric switch relevant to this invention. 図5に関連した図であり、光走査型光電スイッチから投光窓を形成する光透過カバーを取り外した図である。FIG. 6 is a diagram related to FIG. 5, in which a light transmission cover that forms a projection window is removed from the optical scanning photoelectric switch. 本発明に関連した光走査型光電スイッチの内部構造を構成する装置本体の斜視図であり、走査ミラーが測定領域とは反対側に向いている状態を示す図である。It is a perspective view of the apparatus main body which comprises the internal structure of the optical scanning type photoelectric switch relevant to this invention, and is a figure which shows the state which the scanning mirror has faced the other side. 図9の装置本体の断面図である。It is sectional drawing of the apparatus main body of FIG. 光走査型光電スイッチに内蔵した基準対象物として白と黒の2種類の反射率の異なる反射面の平面図である。It is a top view of the reflective surface from which the reflectance of two types of white and black as a reference | standard object incorporated in the optical scanning photoelectric switch differs. 図11の基準対象物の2つの反射面にレーザパルス光を投光した状態を示す図である。It is a figure which shows the state which projected the laser pulse light on the two reflective surfaces of the reference | standard object of FIG. 保護領域や警告領域を設定するためのプログラムをインストールしたパーソナルコンピュータを接続した光走査型光電スイッチを示す図である。It is a figure which shows the optical scanning type photoelectric switch which connected the personal computer which installed the program for setting a protection area and a warning area. 保護領域を設定する機能ブロック図である。It is a functional block diagram which sets a protection area. パーソナルコンピュータのディスプレイに表示される領域設定画面である。It is an area | region setting screen displayed on the display of a personal computer. 保護領域を設定する工程を説明するための図である。It is a figure for demonstrating the process of setting a protection area. 保護領域を設定する他の工程を説明するための図である。It is a figure for demonstrating the other process which sets a protection area. ミューティングエリアを設定するのに際して、先ず、保護領域を設定するときの領域設定画面である。When setting a muting area, an area setting screen for setting a protection area is first shown. 図18で設定した保護領域にミューティングエリアを設定する中間工程における領域設定画面である。FIG. 19 is an area setting screen in an intermediate process for setting a muting area in the protection area set in FIG. 18. ミューティングエリアが設定された保護領域を説明するための図である。It is a figure for demonstrating the protection area to which the muting area was set. ミューティングエリアに各種の機能及びミューティング時間などを設定するためのミューティング設定画面である。It is a muting setting screen for setting various functions and muting times in the muting area. 光走査型光電スイッチにミューティングエリアを設定した搬送システムの全体構成図である。1 is an overall configuration diagram of a transport system in which a muting area is set in an optical scanning photoelectric switch. ミューティング機能に関連した光走査型光電スイッチの機能ブロック図である。It is a functional block diagram of the optical scanning photoelectric switch related to the muting function. 複数のミュートセンサとワークとの関係を説明するための図である。It is a figure for demonstrating the relationship between a some mute sensor and a workpiece | work. 図24に続いて、複数のミュートセンサとワークとの関係を説明するための図である。FIG. 25 is a diagram for explaining the relationship between a plurality of mute sensors and a workpiece, following FIG. 24. ミューティングに関係したタイムチャートである。It is a time chart related to muting. ミューティングエリアを複数設定し、ワークの種類に応じてミューティングエリアの切り替え制御を行うゲート構成を説明するための図である。It is a figure for demonstrating the gate structure which sets multiple muting areas and performs switching control of a muting area according to the kind of workpiece | work. 図27に関連して、比較的高さの低いワークがゲートを通過するときに比較的高さの低いミューティングエリアが設定されることを説明するための図である。FIG. 28 is a diagram for describing that a relatively low muting area is set when a relatively low workpiece passes through the gate in relation to FIG. 27. 図27に関連して、比較的高さの高いワークがゲートを通過するときに比較的高さの高いミューティングエリアに切替えられることを説明するための図である。FIG. 28 is a diagram for explaining that a relatively high workpiece is switched to a relatively high muting area when passing a gate. ゲートにワークの高さを検出するために三段階に設置高さの異なるセンサを用意し、このセンサによって検出したワークの高さに基づいてミューティングエリアを切り替えるゲート構成を説明するための図である。In order to detect the height of the workpiece at the gate, sensors with different installation heights are prepared in three stages, and a diagram for explaining a gate configuration that switches the muting area based on the height of the workpiece detected by this sensor. is there. 図30に関連して、図31の(a)は高さの低いワークを検出したときに、この低いワークに対応した高さの低いミューティングエリアが設定されることを説明する図であり、図31の(b)は中程度の高さのワークを検出したときに、この中程度の高さのワークに対応した中程度の高さのミューティングエリアが設定されることを説明する図である。In relation to FIG. 30, (a) of FIG. 31 is a diagram for explaining that when a workpiece having a low height is detected, a muting area having a low height corresponding to the low workpiece is set. FIG. 31B is a diagram for explaining that a medium height muting area corresponding to a medium height workpiece is set when a medium height workpiece is detected. is there. 図30、図31に関連して、図32の(c)は高さの高いワークを検出したときに、この高さの高いワークに対応した高さの高いミューティングエリアが設定されることを説明する図であり、図32の(d)は相対的に一番高さの高いワークを検出したときに、この非常に高いワークに対応した非常に高いミューティングエリアが設定されることを説明する図である。In relation to FIG. 30 and FIG. 31, (c) in FIG. 32 shows that when a workpiece having a high height is detected, a high muting area corresponding to the workpiece having a high height is set. FIG. 32D illustrates that when a relatively tall workpiece is detected, a very high muting area corresponding to the very high workpiece is set. It is a figure to do. 走行台車に光走査型光電スイッチを設置して、走行台車が走行している通路に応じて保護領域を切り替える例を説明するための図である。It is a figure for demonstrating the example which installs an optical scanning type photoelectric switch in a driving | running | working cart, and switches a protection area according to the path | route which the driving | running | working cart is drive | working. 複数系統の出力を備えた光走査型光電スイッチの適用例を説明するための図である。It is a figure for demonstrating the application example of the optical scanning photoelectric switch provided with the output of multiple systems. 図34に関連して2系統の出力を備えた光走査型光電スイッチの動作を説明するためのブロック図である。It is a block diagram for demonstrating operation | movement of the optical scanning type photoelectric switch provided with the output of 2 systems in relation to FIG. 複数の系統の出力に安全信号に検査信号を重畳するときに、検査信号に位相を設ける例を説明するためのタイムチャートである。It is a time chart for demonstrating the example which provides a phase in a test signal, when a test signal is superimposed on a safety signal on the output of a plurality of systems. 隣接した2つの光走査型光電スイッチ間で干渉の問題が発生し易いことを説明するための図である。It is a figure for demonstrating that the problem of an interference generate | occur | produces easily between two adjacent optical scanning photoelectric switches. 2つの光走査型光電スイッチ間で干渉が発生したときの投光パルスのタイムチャートである。It is a time chart of the light projection pulse when interference generate | occur | produces between two optical scanning photoelectric switches. 光走査型光電スイッチの走査ミラーが回転することにより放射状にレーザ光を投光する様子を説明するための図である。It is a figure for demonstrating a mode that a laser beam is projected radially by the scanning mirror of an optical scanning photoelectric switch rotating. 投光パルスの投光周期を説明するための図である。It is a figure for demonstrating the light projection period of a light projection pulse. 走査ミラーの回転周期つまりスキャン周期を説明するための図である。It is a figure for demonstrating the rotation period of a scanning mirror, ie, a scanning period. 隣接する光走査型光電スイッチにおいて投光周期を異ならせることで干渉を防止する制御例を説明するための図である。It is a figure for demonstrating the example of control which prevents interference by changing a light projection period in an adjacent optical scanning photoelectric switch. 本発明に関連した光走査型光電スイッチの基本構成をブロック図的に示す図である。1 is a block diagram showing the basic configuration of an optical scanning photoelectric switch related to the present invention. 複数の光走査型光電スイッチを相互に接続して投光タイミングに位相を設けることで干渉を防止する制御例を説明するための図である。It is a figure for demonstrating the control example which prevents interference by connecting a some optical scanning photoelectric switch mutually and providing a phase in light projection timing. 隣接する光走査型光電スイッチにおいて干渉を検知したときに投光タイミングに位相を設ける制御例を説明するための図である。It is a figure for demonstrating the example of control which provides a phase in a light projection timing, when interference is detected in the adjacent optical scanning photoelectric switch. 本発明が適用された光走査型光電スイッチにユーザインターフェース部に設置した液晶表示部の表示モードの変化を説明するための図である。It is a figure for demonstrating the change of the display mode of the liquid crystal display part installed in the user interface part to the optical scanning photoelectric switch to which this invention was applied. 図46のモニタモードでの表示の変遷を説明するための図である。FIG. 47 is a diagram for explaining a transition of display in the monitor mode of FIG. 46. 図46の設定モードでの表示の変遷を説明するための図である。It is a figure for demonstrating the transition of the display in the setting mode of FIG. 光走査型光電スイッチに接続したディスプレイ付き端末であるパーソナルコンピュータを使って外乱光の発生方位をパーソナルコンピュータのディスプレイに表示できることを説明するための図である。It is a figure for demonstrating that the generation direction of disturbance light can be displayed on the display of a personal computer using the personal computer which is a terminal with a display connected to the optical scanning photoelectric switch. 外乱光によるエラーを光走査型光電スイッチの液晶表示部に表示されることを説明するための図である。It is a figure for demonstrating that the error by disturbance light is displayed on the liquid crystal display part of an optical scanning photoelectric switch. 外乱検知の具体的な手法を説明するためのフローチャートである。It is a flowchart for demonstrating the specific method of disturbance detection. 外乱光の方位を指し示すインジケータを光走査型光電スイッチに設置した例を示す図である。It is a figure which shows the example which installed the indicator which points to the direction of disturbance light in the optical scanning photoelectric switch. 光走査型光電スイッチに内蔵した基準対象物を使って検出感度を自律的に維持し、また、基準対象物などの汚れを光走査型光電スイッチの故障とみなすときに必要とされる基準受光強度を工場出荷の際にメモリに記憶させる手順を説明するためのフローチャートである。The detection sensitivity is autonomously maintained using the reference object built into the optical scanning photoelectric switch, and the reference received light intensity is required when the contamination of the reference object is regarded as a failure of the optical scanning photoelectric switch. 5 is a flowchart for explaining a procedure for storing the data in a memory at the time of factory shipment. 図53の手順でメモリに記憶した基準受光強度を使って光走査型光電スイッチの検出感度を自律的に維持するための処理手順を説明するためのフローチャートである。54 is a flowchart for explaining a processing procedure for autonomously maintaining the detection sensitivity of the optical scanning photoelectric switch using the reference light reception intensity stored in the memory in the procedure of FIG. 光走査型光電スイッチに内蔵した基準対象物の汚れなどが発生したときに、これを図53の手順でメモリに記憶した基準受光強度を使って検出して光走査型光電スイッチを安全状態に移行させる処理手順を説明するためのフローチャートである。When the reference object built in the optical scanning photoelectric switch is contaminated, this is detected using the reference received light intensity stored in the memory in the procedure of FIG. 53, and the optical scanning photoelectric switch is shifted to a safe state. It is a flowchart for demonstrating the process sequence to be made.

図1を参照して、一般論として、光走査型光電スイッチの基本的な用語である「測定領域」「最大保護領域」「警告領域」「保護領域」を説明する。「最大保護領域」とは、光走査型光電スイッチが安全規格に規定された低反射率物体から高反射率物体まで様々な反射率の物体を検出可能な領域をいう。「測定領域」とは、光走査型光電スイッチが標準的な反射率を備えた物体を検出可能な領域をいい、この「測定領域」は「最大保護領域」を完全に包含する。   With reference to FIG. 1, “measurement area”, “maximum protection area”, “warning area”, and “protection area”, which are basic terms of an optical scanning photoelectric switch, will be described as general theory. The “maximum protection area” refers to an area where the optical scanning photoelectric switch can detect objects having various reflectivities from a low reflectivity object to a high reflectivity object specified in the safety standard. The “measurement area” refers to an area where the optical scanning photoelectric switch can detect an object having a standard reflectance, and the “measurement area” completely includes the “maximum protection area”.

光走査型光電スイッチは、既知のようにレーザ光などの光により最大保護領域を二次元的に走査し、最大保護領域から反射された走査光をモニタすることでエリア内の安全を監視するのに用いられる。   As is well known, the optical scanning type photoelectric switch scans the maximum protection area two-dimensionally with light such as laser light, and monitors the safety in the area by monitoring the scanning light reflected from the maximum protection area. Used for.

上記の「測定領域」「最大保護領域」は各光走査型光電スイッチの固有のものであり、ユーザが設定できるエリアではない。これに対して、「保護領域」「警告領域」はユーザが設定可能な領域であり、「保護領域」は「最大保護領域」内にだけ設定可能である。これに対して「警告領域」は「測定領域」内に設定可能である。   The “measurement area” and “maximum protection area” are unique to each optical scanning photoelectric switch and are not areas that can be set by the user. On the other hand, the “protection area” and the “warning area” are areas that can be set by the user, and the “protection area” can be set only within the “maximum protection area”. On the other hand, the “warning area” can be set in the “measurement area”.

図2を参照して、本発明が適用された光走査型光電スイッチ1の最大保護領域は約4メートルの半径距離の領域であり、上述したように、この約4メートルの半径距離の最大保護領域内に限定してユーザが「保護領域」を設定することができる。   Referring to FIG. 2, the maximum protection region of the optical scanning photoelectric switch 1 to which the present invention is applied is a region having a radial distance of about 4 meters. As described above, the maximum protection region having a radial distance of about 4 meters is used. The user can set the “protection area” only within the area.

「保護領域」は、機械(例えばロボット)の起動や動作を停止するための安全出力と対応付けられており、例えば作業者がこの「保護領域」に侵入したときには光走査型光電スイッチ1は動作不許可を示す安全出力つまりOFF状態の出力を機械に供給する。   The “protection area” is associated with a safety output for stopping the activation or operation of a machine (for example, a robot). For example, when an operator enters the “protection area”, the optical scanning photoelectric switch 1 operates. A safety output indicating disapproval, that is, an OFF-state output is supplied to the machine.

「警告領域」は、安全出力とは対応付けられておらず機械に接近しているとして警告を発する非安全出力(通常の出力)と対応付けられている。また、この光走査型光電スイッチ1のスキャン角は最大270°であり、光走査型光電スイッチ1の後方エリアまで保護領域及び警告領域を設定することができる。   The “warning area” is not associated with a safety output, but is associated with a non-safety output (normal output) that issues a warning that the machine is approaching. Further, the scanning angle of the optical scanning photoelectric switch 1 is 270 ° at the maximum, and the protection area and the warning area can be set up to the rear area of the optical scanning photoelectric switch 1.

図2の例では、ロボット2の作業領域及び搬送装置が設置された領域が防護柵3で仕切られており、この防護柵3で規定される領域においてロボット2の作業エリアに隣接するエリアが保護領域Aとして設定され、この保護領域Aの監視のために光走査型光電スイッチ1が設置されている。保護領域Aに例えば作業者Mが侵入すると直ちに光走査型光電スイッチ1によって検知される。なお、図2に図示の保護領域Aは、比較的検出能力が低い保護領域A(低)と、検出能力が比較的高い保護領域A(高)とが用意されている。この検出能力の異なる2種類の保護領域A(低)、A(高)に関しては後に説明する複数の出力系統を光走査型光電スイッチ1が備えている場合に効果的である。   In the example of FIG. 2, the work area of the robot 2 and the area where the transfer device is installed are partitioned by the protective fence 3, and the area adjacent to the work area of the robot 2 is protected in the area defined by the protective fence 3. An optical scanning photoelectric switch 1 is set for monitoring the protection area A. For example, when an operator M enters the protection area A, the light scanning photoelectric switch 1 immediately detects it. 2 includes a protection area A (low) having a relatively low detection capability and a protection area A (high) having a relatively high detection capability. The two types of protection areas A (low) and A (high) having different detection capabilities are effective when the optical scanning photoelectric switch 1 includes a plurality of output systems described later.

図3は、光走査型光電スイッチ1の光学系の基本構造を説明するための図である。この図3を参照して光走査型光電スイッチ1の光学系の要素を説明する。   FIG. 3 is a diagram for explaining the basic structure of the optical system of the optical scanning photoelectric switch 1. The elements of the optical system of the optical scanning photoelectric switch 1 will be described with reference to FIG.

光路:
光走査型光電スイッチ1は、赤外線領域に含まれる波長のレーザ光によって検出が実行される。光走査型光電スイッチ1は、レーザ光を水平面上で所定のピッチで走査し、その反射光を受け取ることで侵入者や物体Mの検出を行う。
Light path :
The optical scanning photoelectric switch 1 is detected by a laser beam having a wavelength included in the infrared region. The optical scanning photoelectric switch 1 scans laser light at a predetermined pitch on a horizontal plane and receives the reflected light to detect an intruder or an object M.

光照射手段
図3において参照符号LDは投光素子を示す。投光素子LDが出射したレーザ光L1は、投光レンズ10を通り、投光用の第1、第2ミラー(反射鏡)11、12により偏向されて、所定の垂直の第1軸線Zに沿った方向において下方に向けて進む。したがって、投光レンズ10、投光用の第1および第2ミラー11、12は垂直の第1軸線Zに沿ってレーザ光L1を照射する光照射手段を構成している。投光素子LDは、一定の周期で断続的にパルス状のレーザ光L1を出射し、このレーザ光は0.36°毎に投光素子LDから出射される。なお、当業者であれば以下の説明から理解できる通り、光走査型光電スイッチ1の検出原理は光のコヒーレント性などレーザ光特有の性質を利用するものではない。したがって、光走査型光電スイッチ1の投光源としてのレーザ光源は一例に過ぎず、このレーザ光源に限定されることなく種々の光源を採用してもよいことは言うまでもない。ところで、レーザダイオードは高輝度の点光源であり、パルス発光の際に高速応答性に優れている。したがって、光走査型光電スイッチ1の光源として、レーザダイオードを好適に採用することができる。
Light irradiation means :
In FIG. 3, reference symbol LD indicates a light projecting element. The laser light L1 emitted from the light projecting element LD passes through the light projecting lens 10, is deflected by the first and second mirrors (reflecting mirrors) 11 and 12 for projecting light, and is incident on a predetermined vertical first axis Z. Proceed downward in the direction along. Therefore, the light projection lens 10 and the first and second mirrors 11 and 12 for light projection constitute light irradiation means for irradiating the laser light L1 along the vertical first axis Z. The light projecting element LD emits pulsed laser light L1 intermittently at a constant period, and this laser light is emitted from the light projecting element LD every 0.36 °. As can be understood by those skilled in the art from the following description, the detection principle of the optical scanning type photoelectric switch 1 does not use characteristics peculiar to laser light such as light coherency. Therefore, the laser light source as the light projecting light source of the optical scanning photoelectric switch 1 is only an example, and it goes without saying that various light sources may be adopted without being limited to this laser light source. By the way, the laser diode is a high-luminance point light source, and is excellent in high-speed response in the case of pulse emission. Therefore, a laser diode can be suitably employed as the light source of the optical scanning photoelectric switch 1.

光走査手段14;
上記の投光用第2ミラー12によって垂直の第1軸線Zに沿った方向に偏向されたレーザ光L1は、第2ミラー12の下方に位置する光走査手段14に向って進む。光走査手段14は、垂直第1軸線Zに対して略45°傾斜した状態で配設された走査ミラーで構成されている。この走査ミラー14は、垂直の第1軸線Zを中心に回転駆動される。光走査手段(走査ミラー)14は、図3では図示を省略したモータ24(図7)によって回転駆動される。垂直の第1軸線Zを中心とする走査ミラー14の回転動作によって、図4(b)の破線で示すように、レーザ光L1は垂直の第1軸線Zに直交する水平面上を走査する。図4(b)に示す参照符号Aは、例示的に設定した「保護領域」であり、Bは「最大保護領域」である。
Optical scanning means 14 ;
The laser light L1 deflected in the direction along the vertical first axis Z by the above-described second light projecting mirror 12 proceeds toward the optical scanning means 14 located below the second mirror 12. The optical scanning means 14 is constituted by a scanning mirror disposed in a state inclined by approximately 45 ° with respect to the vertical first axis Z. The scanning mirror 14 is driven to rotate about the vertical first axis Z. The optical scanning means (scanning mirror) 14 is rotationally driven by a motor 24 (FIG. 7) not shown in FIG. By the rotation operation of the scanning mirror 14 about the vertical first axis Z, the laser beam L1 scans on a horizontal plane orthogonal to the vertical first axis Z, as shown by a broken line in FIG. Reference numeral A shown in FIG. 4B is a “protection area” set as an example, and B is a “maximum protection area”.

なお、走査ミラー14は図示の例では、投光及び受光で兼用する共通の軸回転ミラーで構成されているが、変形例として、投光と受光とを個別の走査ミラーで構成し、投光用走査ミラーと受光用走査ミラーとを同軸に配設すると共に投光用走査ミラーと受光用走査ミラーとが同じ方位に向くよう配設し、そして、これらの走査ミラーを同期して回転させる構成を採用してもよい。   In the example shown in the figure, the scanning mirror 14 is configured by a common shaft rotating mirror that is used for both light projection and light reception. However, as a modification, the light projection and light reception are configured by individual scanning mirrors. The scanning mirror for light reception and the scanning mirror for light reception are arranged coaxially, and the scanning mirror for light projection and the scanning mirror for light reception are arranged in the same direction, and these scanning mirrors are rotated synchronously May be adopted.

受光反射体21、光電変換素子22;
警告領域や保護領域Aに物体Mが存在すると、この物体Mで反射した反射光L2が光走査型光電スイッチ1に入力され、この反射光L2は、走査ミラー14で反射された後に受光レンズ20によって集光される(図3)。受光レンズ20は、垂直の第1軸線Zと一致する光軸を有しており、受光レンズ20によって集光された反射光L2は受光反射体21によって偏向されて、受光素子としての光電変換素子22に集光される。
Light receiving reflector 21, photoelectric conversion element 22 ;
When the object M exists in the warning area or the protection area A, the reflected light L2 reflected by the object M is input to the optical scanning photoelectric switch 1, and the reflected light L2 is reflected by the scanning mirror 14 and then received by the light receiving lens 20. (FIG. 3). The light receiving lens 20 has an optical axis that coincides with the first vertical axis Z, and the reflected light L2 collected by the light receiving lens 20 is deflected by the light receiving reflector 21 to be a photoelectric conversion element as a light receiving element. 22 is condensed.

図3を引き続き参照して、受光反射体21は、垂直の第1軸線Zに対して略45°傾斜して配設されており、この受光反射体21によって、受光レンズ20により集光した反射光L2の光軸は、垂直の第1軸線Zに対して略直交する横方向の第2軸線Yに沿った方向に偏向し、この偏向後の反射光L2が光電変換素子22によって受光される。光電変換素子22は、反射光L2を受光すると光電変換して受光信号を生成する。   With continued reference to FIG. 3, the light receiving reflector 21 is disposed with an inclination of approximately 45 ° with respect to the vertical first axis Z, and the light reflected by the light receiving lens 20 is reflected by the light receiving reflector 21. The optical axis of the light L2 is deflected in a direction along the horizontal second axis Y substantially orthogonal to the vertical first axis Z, and the reflected light L2 after this deflection is received by the photoelectric conversion element 22. . When receiving the reflected light L2, the photoelectric conversion element 22 performs photoelectric conversion and generates a light reception signal.

図4の(a)を参照して、光走査型光電スイッチ1は、CPUやメモリを含むマイクロコンピュータやFPGA等で構成される制御手段30を有している。図4の(a)は、光走査型光電スイッチ1の全体系統をブロック図的に示してある。投光素子LDは制御手段30によって制御され、また、光電変換素子22の信号は制御手段30に入力される。   Referring to FIG. 4A, the optical scanning photoelectric switch 1 has a control means 30 composed of a microcomputer including a CPU and a memory, an FPGA, and the like. FIG. 4A is a block diagram showing the entire system of the optical scanning photoelectric switch 1. The light projecting element LD is controlled by the control means 30, and the signal of the photoelectric conversion element 22 is input to the control means 30.

光走査型光電スイッチ1の外観構成
図5を参照して、光走査型光電スイッチ1は、その上端部の前面に傾斜して位置するユーザインターフェース部32を有している。ユーザインターフェース部32を傾斜して配置することにより、ユーザインターフェース部32の面積を拡大することができると共に、ユーザにとってもアクセスが容易となる。
External configuration of the optical scanning photoelectric switch 1 :
Referring to FIG. 5, the optical scanning photoelectric switch 1 has a user interface unit 32 that is inclined to the front surface of the upper end portion thereof. By arranging the user interface unit 32 at an angle, the area of the user interface unit 32 can be increased, and the user can easily access.

傾斜したインターフェース部32には、その中央部分に、矩形の液晶表示部34が設けられ、この液晶表示部34の一側及び下方に、複数のプッシュ式の操作ボタン36が配設されている。また、液晶表示部34の他側には、横二列で上下に離間して複数のLEDインジケータ38が配設され、この複数のLEDインジケータ38によって光走査型光電スイッチ1の動作状態が表示される。   The inclined interface unit 32 is provided with a rectangular liquid crystal display unit 34 at the center thereof, and a plurality of push-type operation buttons 36 are disposed on one side and below the liquid crystal display unit 34. In addition, a plurality of LED indicators 38 are arranged on the other side of the liquid crystal display unit 34 so as to be vertically separated in two horizontal rows, and the operation state of the optical scanning photoelectric switch 1 is displayed by the plurality of LED indicators 38. The

図6(b)はユーザインターフェース部32を抽出して、これを平面的に図示してある。ユーザインターフェース部32に向かって液晶表示部34の右側には上下の印を付したボタン36a、36bが配設され、液晶表示部34の下方には、右矢印を付した中央ボタン36cを挟んで、その左側にESCの文字を付したボタン36d、右側にEnterの文字を付したボタン36eが配設されている。   FIG. 6B shows the user interface unit 32 extracted in a plan view. Buttons 36a and 36b with up and down marks are arranged on the right side of the liquid crystal display unit 34 toward the user interface unit 32, and a center button 36c with a right arrow is sandwiched below the liquid crystal display unit 34. A button 36d with ESC characters on the left side and a button 36e with Enter characters on the right side are arranged.

ユーザインターフェース部36を斜めに傾斜させ面積を拡大することで比較的大きい液晶表示部34を配設することができる。また、これに加えて複数のプッシュ式操作ボタン36をユーザインターフェース部36に配設することができ、この操作ボタン36を光走査型光電スイッチ1に設置することで、ユーザが必要とする設定をディスプレイ付き端末である外部パーソナルコンピュータ無しに光走査型光電スイッチ1に対して直接的に設定作業を行うことのできる設計が可能になる。ここに、液晶表示部34は、12文字×4行の表示が可能であり、このように比較的沢山の情報を表示することのできる液晶表示部34を使ってユーザに必要な情報を提供し、ユーザは、この液晶表示部34を見ながら操作ボタン36を操作するだけで、外部パーソナルコンピュータ無しに、必要とする設定作業が可能になる。   A relatively large liquid crystal display unit 34 can be provided by inclining the user interface unit 36 obliquely to enlarge the area. In addition to this, a plurality of push type operation buttons 36 can be arranged in the user interface unit 36. By setting the operation buttons 36 in the optical scanning photoelectric switch 1, settings required by the user can be made. It is possible to design the optical scanning photoelectric switch 1 so that the setting operation can be performed directly without an external personal computer that is a terminal with a display. Here, the liquid crystal display unit 34 can display 12 characters × 4 lines, and provides necessary information to the user by using the liquid crystal display unit 34 that can display a relatively large amount of information. The user can perform necessary setting work without an external personal computer simply by operating the operation button 36 while looking at the liquid crystal display unit 34.

特に、安全に直接的に関係する機能を設定する場合、例えば「保護領域」を設定するときに、設定が正しく行われているかをユーザに確認(ベリファイ)させる必要があり、ユーザによる確認作業が完了することで始めて安全に直接的に関係する機能の、つまりこの場合「保護領域」の設定が反映される。ユーザによる確認作業は、以下の手順で実行される。光走査型光電スイッチ1は、設定入力に引き続いて、設定が未反映のユーザが入力した内容を文字、数字及び記号などを用いて液晶表示部34に表示するように設計されている。液晶表示部34に表示された内容が設定すべき内容と一致するか否かをユーザに確認させるのは上述の通りであるが、ユーザが一致すると判断したときには、ユーザに対して操作ボタン36の操作を伴うOK指示を求めるように設計される。そして、光走査型光電スイッチ1は、OK指示を受け付けることで、液晶表示部34に表示の内容確認を完了し、未確認の内容が有れば、その内容を液晶表示部34に表示してユーザからのOK指示を待つ。光走査型光電スイッチ1は、全ての内容についてOK指示を受け付けることで確認作業状態を終了し、確認作業が終わった内容を設定に反映する。一方、液晶表示部34に表示の内容と設定すべき内容とが一致しないとユーザが判断したときには、ユーザは操作ボタン36によって取消指示を行うことができる。光走査型光電スイッチ1は、取消指示を受け付けることで、全ての入力内容を設定に反映することなく確認作業を終了し、次いで設定入力を受け付ける状態に遷移する。ただし、保護領域A等の位置や領域に関する入力内容の確認は、表示された内容の一致を確認するだけは不十分であり、実際に光走査型光電スイッチ1の光学系を含む距離計測機能を有効化した上で、ユーザが設定すべき位置や領域に相当する場所に試験体をかざして保護領域A等の位置や領域に関する入力内容の確認作業を行うことになる。このことから、液晶表示部34には、安全に直接的に関係する機能の設定を受け付ける画面が表示されるだけでなく、設定された内容をユーザに確認させる画面を表示し、この確認画面によって上述したユーザによるベリファイを実行するのが好ましい。   In particular, when setting a function directly related to safety, for example, when setting a “protection area”, it is necessary to check (verify) whether the setting is correctly performed. Only when it is completed is the setting of the function directly related to safety, that is, in this case the “protection area”. The confirmation work by the user is executed according to the following procedure. The optical scanning type photoelectric switch 1 is designed to display, on the liquid crystal display unit 34, characters, numbers, symbols, and the like, which are input by a user whose settings are not reflected following setting input. As described above, the user confirms whether or not the content displayed on the liquid crystal display unit 34 matches the content to be set. However, when the user determines that the content matches, the user presses the operation button 36. Designed to ask for OK indication with operation. The optical scanning photoelectric switch 1 accepts the OK instruction, thereby completing the display content confirmation on the liquid crystal display unit 34. If there is any unconfirmed content, the content is displayed on the liquid crystal display unit 34 and displayed by the user. Wait for the OK instruction from. The optical scanning photoelectric switch 1 receives the OK instruction for all the contents, ends the confirmation work state, and reflects the contents of the confirmation work in the setting. On the other hand, when the user determines that the content displayed on the liquid crystal display unit 34 does not match the content to be set, the user can issue a cancel instruction using the operation button 36. The optical scanning photoelectric switch 1 receives the cancel instruction, thereby ending the confirmation work without reflecting all the input contents in the setting, and then transits to a state of accepting the setting input. However, the confirmation of the input contents regarding the position and area of the protection area A and the like is not sufficient to confirm the coincidence of the displayed contents, and the distance measurement function including the optical system of the optical scanning photoelectric switch 1 is actually provided. After being validated, a test object is held over a position corresponding to the position and area to be set by the user, and the input contents regarding the position and area such as the protection area A are confirmed. For this reason, the liquid crystal display unit 34 displays not only a screen for accepting setting of functions directly related to safety, but also a screen for allowing the user to confirm the set contents. It is preferable to execute the above-described verification by the user.

図6(a)は、光走査型光電スイッチ1の正面図であり、レーザ光が走査する水平面つまり走査面39を横線で図示してある。光走査型光電スイッチ1の内部構造を図示した図7から分かるように、光走査手段(走査ミラー)14及びこれを駆動するモータ24などの機構部品をユニット化した装置本体60(図9)を有し、装置本体60の下部にモータ24が配設されている。モータ24の回転軸には、たとえば、光電式のロータリエンコーダ25が設けられている。ロータリエンコーダ25は、円周方向に等間隔に配設された複数のスリットを有し、このスリットを通過した光に依存した出力に基づいて光走査手段14の回転角度を算出することで、投受光L1、L2の偏向方位が求められる。   FIG. 6A is a front view of the optical scanning photoelectric switch 1, and a horizontal plane, that is, a scanning plane 39 scanned by the laser beam is illustrated by a horizontal line. As can be seen from FIG. 7 illustrating the internal structure of the optical scanning photoelectric switch 1, an apparatus main body 60 (FIG. 9) in which mechanical parts such as an optical scanning means (scanning mirror) 14 and a motor 24 for driving the optical scanning unit 14 are unitized. The motor 24 is disposed in the lower part of the apparatus main body 60. For example, the rotary shaft 25 of the motor 24 is provided with a photoelectric rotary encoder 25. The rotary encoder 25 has a plurality of slits arranged at equal intervals in the circumferential direction, and calculates the rotation angle of the optical scanning unit 14 based on the output depending on the light that has passed through the slits. The deflection azimuths of the light reception L1 and L2 are obtained.

図4(a)に戻って、制御手段30には、液晶表示器34およびLEDインジケータ38及び操作ボタン36が接続されている。また、制御手段30には第1コネクタ40が接続され、この第1コネクタ40に対して、外部機器から延びる外部ケーブル42のコネクタ44を連結することができる。   Returning to FIG. 4A, the liquid crystal display 34, the LED indicator 38, and the operation button 36 are connected to the control means 30. Further, a first connector 40 is connected to the control means 30, and a connector 44 of an external cable 42 extending from an external device can be coupled to the first connector 40.

制御手段30は、距離算出手段51、方位算出手段52、位置認識手段53、判別手段54、汚れ検知手段55、信号生成手段56、表示制御手段57、故障検知手段58などを備えている。   The control unit 30 includes a distance calculation unit 51, an azimuth calculation unit 52, a position recognition unit 53, a determination unit 54, a dirt detection unit 55, a signal generation unit 56, a display control unit 57, a failure detection unit 58, and the like.

距離算出手段51
距離算出手段51は、各偏向方位について、光電変換素子22からの受光信号に基づいて物体Mまでの距離を算出する。すなわち、投光素子LDからの走査光L1の投光タイミングと、物体Mによって反射された反射光L2を受光した光電変換素子22の受光タイミングとの差に、既知の光速を乗算することで物体Mまでの距離を算出することができる。投光タイミングは所定周期であり、この投光タイミングとモータ24の角速度との積によって光軸の空間密度つまり光軸間角度が規定される。なお、投光タイミングは、「時間」で規定してもよいし、「方位」や「空間密度(光軸間角度)によって規定してもよい。投受光タイミングに基づく距離の算出は、所定の微小時間ごとに繰り返し行うようにしてもよく、又は、例えば投光タイミングに同期して投受光毎に距離の算出を実行するようにしてもよい。
Distance calculating means 51 :
The distance calculation unit 51 calculates the distance to the object M based on the light reception signal from the photoelectric conversion element 22 for each deflection azimuth. That is, the difference between the light projection timing of the scanning light L1 from the light projecting element LD and the light reception timing of the photoelectric conversion element 22 that receives the reflected light L2 reflected by the object M is multiplied by a known light speed. The distance to M can be calculated. The light projection timing is a predetermined cycle, and the spatial density of the optical axis, that is, the angle between the optical axes is defined by the product of the light projection timing and the angular velocity of the motor 24. Note that the light projection timing may be defined by “time”, or may be defined by “azimuth” or “spatial density (angle between the optical axes). The calculation may be repeated every minute time, or the distance may be calculated for each light projection and reception in synchronization with the light projection timing.

方位算出手段52
方位算出手段52は、前記投光および受光において、光走査手段14により測定領域に向けて偏向された走査光L1の照射方位(偏向方位)と物体Mからの反射光L2が入光する方位とを算出する。ただし、モータ24の角速度に対して「測定領域」内の物体Mまでの光の往復時間が相対的に充分に小さいため、照射方位と入光する方位とは同一とみなせることから、照射方位と入光方位のいずれか一方を算出するようにしてもよい。この投受光L1、L2の偏向方位つまり走査面での方位(走査方位)は、前述したロータリエンコーダ25からの出力に基づいて光走査手段14の回転角度を算出することで求められる。なお、投光タイミングを方位や空間密度(光軸間角度)によって規定する場合は、照射方位を偏向方位(走査方位)とするのが好適である。また、この方位は光軸番号と等価である。
Orientation calculating means 52 :
The azimuth calculating means 52 has an irradiation azimuth (deflection azimuth) of the scanning light L1 deflected toward the measurement region by the optical scanning means 14 and a azimuth in which the reflected light L2 from the object M enters in the light projection and light reception. Is calculated. However, since the round-trip time of the light to the object M in the “measurement region” is relatively small with respect to the angular velocity of the motor 24, the irradiation direction and the incident direction can be regarded as the same. Either one of the incident light directions may be calculated. The deflection azimuths of the light projection / reception L1 and L2, that is, the azimuth (scanning azimuth) on the scanning plane, is obtained by calculating the rotation angle of the optical scanning unit 14 based on the output from the rotary encoder 25 described above. Note that when the projection timing is defined by the azimuth and the spatial density (angle between the optical axes), it is preferable that the irradiation azimuth is the deflection azimuth (scanning azimuth). This orientation is equivalent to the optical axis number.

位置認識手段53
位置認識手段53は物体Mの位置の認識を行う。すなわち、位置認識手段53は、投受光タイミング毎に、方位算出手段52により算出された偏向方位(走査方位)と、この偏向方位において距離算出手段51が算出した物体Mまでの距離とに基づいて物体Mの位置を算出することにより、この物体Mの位置を認識する。
Position recognition means 53 :
The position recognition means 53 recognizes the position of the object M. That is, the position recognizing means 53 is based on the deflection azimuth (scanning azimuth) calculated by the azimuth calculating means 52 and the distance to the object M calculated by the distance calculating means 51 in this deflection azimuth at each light projecting / receiving timing. By calculating the position of the object M, the position of the object M is recognized.

判別手段54
判別手段54は、位置認識手段53により算出された物体Mの位置に基づいて、予め設定された保護領域A内に物体Mが存在するか否かを判別する。なお、判別手段54は、1回(1周期)でも保護領域内に物体Mが存在すると判別すると、「存在有り」を示す情報を供給するように構成してもよいし、所定の複数回に亘って連続して、つまり複数の周期に亘って保護領域内に物体Mが存在すると判別したときに初めて「存在有り」を示す情報を供給するようにしてもよい。
Discriminating means 54 :
The discriminating unit 54 discriminates whether or not the object M exists in the preset protection area A based on the position of the object M calculated by the position recognizing unit 53. Note that the determination unit 54 may be configured to supply information indicating “presence exists” when it is determined that the object M exists in the protection area even once (one cycle), or at predetermined times. The information indicating “present” may be supplied only when it is determined that the object M exists in the protection region continuously over a plurality of periods, that is, over a plurality of periods.

光走査型光電スイッチ1の光学系は、光走査型光電スイッチ1の下半分の前面及び両側面を包囲する、横断面U字状の光透過カバー62によって密閉されており、この光透過カバー62は投光窓を形成するものである。図8は光透過カバー62を取り外した状態を図示してある。光透過カバー62はシール部材64を介して取り付けられ、複数のボルト66(図5)を取り外すことで光透過カバー62を光走査型光電スイッチ1から取り外すことができる。投光窓の光透過カバー62は光学フィルタであり、光走査型光電スイッチ1が出射するレーザ光の波長以外の波長成分を除去する。光透過カバー62は、その材料は任意であるが、ここでは弾性変形可能な合成樹脂材料で作られている。   The optical system of the optical scanning photoelectric switch 1 is hermetically sealed by a light transmission cover 62 having a U-shaped cross section that surrounds the front surface and both side surfaces of the lower half of the optical scanning photoelectric switch 1. Forms a light projection window. FIG. 8 shows a state in which the light transmission cover 62 is removed. The light transmission cover 62 is attached via a seal member 64, and the light transmission cover 62 can be removed from the optical scanning photoelectric switch 1 by removing a plurality of bolts 66 (FIG. 5). The light transmission cover 62 of the light projection window is an optical filter and removes wavelength components other than the wavelength of the laser light emitted from the optical scanning photoelectric switch 1. The material of the light transmission cover 62 is arbitrary, but here it is made of a synthetic resin material that can be elastically deformed.

装置本体60の断面図である図7から最も良く分かるように、光走査手段(走査ミラー)14は、装置本体60の底部において、背面部から離れた前端部に配設されており、これにより走査ミラー14の回転軸線である垂直の第1軸線Zが比較的前方にオフセットして位置決めされている。これに対して、光透過カバー62は装置本体60の前方及び両側を包囲し、この光透過カバー62の左右両端部は光走査型光電スイッチ1の背面まで延びている。このような構成を採用することにより、光走査型光電スイッチ1の背面と干渉する部位を除く左右及び前方の領域を走査領域(測定領域)として設計することが可能になる。このことは、走査ミラー14の変形例として前述したように、互いに同期回転する投光用走査ミラーと受光用走査ミラーを同軸に且つ同じ方位に向くように配設した場合でも同様である。   As best understood from FIG. 7 which is a cross-sectional view of the apparatus main body 60, the optical scanning means (scanning mirror) 14 is disposed at the front end portion away from the back surface portion at the bottom of the apparatus main body 60. The first vertical axis Z that is the rotation axis of the scanning mirror 14 is positioned relatively offset forward. On the other hand, the light transmission cover 62 surrounds the front and both sides of the apparatus main body 60, and both right and left ends of the light transmission cover 62 extend to the back surface of the optical scanning photoelectric switch 1. By adopting such a configuration, it is possible to design the left and right and front areas excluding the part that interferes with the back surface of the optical scanning photoelectric switch 1 as the scanning area (measurement area). As described above as a modification of the scanning mirror 14, this is the same even when the light projecting scanning mirror and the light receiving scanning mirror that rotate synchronously with each other are arranged coaxially and in the same direction.

ちなみに、前述したように、この光走査型光電スイッチ1の走査範囲(測定領域)は180°よりも後方に拡大した270°である。このように走査範囲を光走査型光電スイッチ1の後方まで拡大できたのは、基本的には、(1)走査面39(図6(a)において、この走査面39と干渉する光走査型光電スイッチ1の背面の幅を走査面39における90°の範囲に制限する構成を採用し、更に、(2)走査ミラー14の回転軸線である第1軸線Zを光走査型光電スイッチ1の背面から離間させて、断面U字状の光透過カバー62の互いに並行な両側面を後方に延ばして、光走査型光電スイッチ1の背面を除く側方及び前方領域の全領域を光透過カバー62で包囲した、ことの2つの構成の組み合わせによる。換言すれば、光走査型光電スイッチ1は従来品に比べてスリムであり且つ高さ寸法も小さく、従来品の約半分の体積であり、手のひらに余裕を持って載せることのできる程度の大きさである。   Incidentally, as described above, the scanning range (measurement region) of the optical scanning photoelectric switch 1 is 270 °, which is expanded rearward from 180 °. The reason why the scanning range can be expanded to the rear of the optical scanning photoelectric switch 1 is basically (1) scanning surface 39 (in FIG. 6A, the optical scanning type interfering with the scanning surface 39). A configuration in which the width of the back surface of the photoelectric switch 1 is limited to a range of 90 ° on the scanning surface 39 is adopted, and (2) the first axis Z that is the rotation axis of the scanning mirror 14 is set to the back surface of the optical scanning photoelectric switch 1. The both sides of the light transmission cover 62 having a U-shaped cross section that are parallel to each other are extended rearward, and the entire area of the side and front areas except the back surface of the optical scanning photoelectric switch 1 is covered with the light transmission cover 62. In other words, the optical scanning type photoelectric switch 1 is slimmer and smaller in height than the conventional product, and is about half the volume of the conventional product. Large enough to allow for easy loading Is the difference.

光透過カバー62の形状つまり上方に向けて徐々に広がった形状にも注目すべきである(図5、図8)。更に、図4から最も良く分かるように、光透過カバー62の下端部62aは垂直壁で構成され、この垂直下端部62aから上方に向かうに従って徐々に外方に広がるオーバーハングの形状を有し、このオーバーハング形状部分62bの上下方向中間部分に水平の走査面39が設定されている(図6)。   It should be noted that the shape of the light transmission cover 62, that is, the shape gradually expanding upward (FIGS. 5 and 8). Furthermore, as best seen from FIG. 4, the lower end portion 62a of the light transmission cover 62 is formed of a vertical wall, and has an overhang shape that gradually spreads outward from the vertical lower end portion 62a. A horizontal scanning surface 39 is set in the middle portion of the overhanging portion 62b in the vertical direction (FIG. 6).

図5から最も良く分かるように、光透過カバー62の下端に接する部分が、外方に突出した水平段部70で構成されている点に注目すべきである。光透過カバー62を挟んで第1、第2の光学素子71、72が配設されており(図4)、光透過カバー62よりも外側に位置する第2光学素子72が上記の水平段部70に配設されている。換言すると光透過カバー62よりも内側に第1光学素子71が配設され、この第1光学素子71は下方に向けて(第2光学素子72に向けて)設置されている。すなわち、対の第1、第2の光学素子71、72が互いに対向して位置決めされており、この第1、第2の光学素子71、72の組は光透過カバー62の周囲に適当な間隔を隔てて複数設けられている。   As can be best understood from FIG. 5, it should be noted that the portion in contact with the lower end of the light transmission cover 62 is constituted by a horizontal stepped portion 70 protruding outward. First and second optical elements 71 and 72 are disposed with the light transmission cover 62 interposed therebetween (FIG. 4), and the second optical element 72 located outside the light transmission cover 62 is the horizontal step portion. 70. In other words, the first optical element 71 is disposed inside the light transmission cover 62, and the first optical element 71 is disposed downward (toward the second optical element 72). That is, the pair of first and second optical elements 71 and 72 are positioned so as to face each other, and the set of the first and second optical elements 71 and 72 is arranged at an appropriate interval around the light transmission cover 62. A plurality are provided with a gap therebetween.

第1、第2光学素子71、72
光走査光電スイッチ1の光透過カバー62は可視光をブロックするフィルタの役割を有している。勿論、走査光L1及び反射光L2は透過することができる素材が選択されている。この光透過カバー62が汚染したり、経時的劣化してくると光透過カバー62の光透過率が低下して光電変換素子22に入射する反射光L2の光量が低下する。この現象は物体Mの位置検出の感度が低下する原因となるため好ましくないのは言うまでもない。
First and second optical elements 71 and 72 :
The light transmission cover 62 of the optical scanning photoelectric switch 1 functions as a filter that blocks visible light. Of course, a material capable of transmitting the scanning light L1 and the reflected light L2 is selected. When the light transmission cover 62 is contaminated or deteriorates with time, the light transmittance of the light transmission cover 62 is decreased, and the amount of reflected light L2 incident on the photoelectric conversion element 22 is decreased. Needless to say, this phenomenon is not preferable because the sensitivity of the position detection of the object M is lowered.

光透過カバー62を挟んで互いに対向した第1、第2の光学素子71、72の各組は、光透過カバー62の汚染の状態を常時監視している。第1光学素子71が発した光は、光透過カバー62を介して第2光学素子72に入光し、この第2光学素子72が受光した光の量が制御手段30に供給される。   Each set of the first and second optical elements 71 and 72 facing each other across the light transmission cover 62 constantly monitors the contamination state of the light transmission cover 62. The light emitted from the first optical element 71 enters the second optical element 72 via the light transmission cover 62, and the amount of light received by the second optical element 72 is supplied to the control means 30.

汚れ検知手段55
汚れ検知手段55は、第2光学素子72が受光した光量によって光透過カバー62が所定の透過率を維持しているのを確認する。投光窓を構成する光透過カバー62の経時劣化や汚染などによって透過率が低下したことは第2光学素子72が受光した光量によって検知することが可能である。ここに、第2光学素子72が受光した光量が所定のしきい値以下となったときには、液晶表示部34やLEDインジケータ38を使って光透過カバー62が交換時期にあることをユーザに通知するのがよい。また、汚れ検知手段55は、光走査型光電スイッチ1が故障しているか否かの検出を行う故障検出手段、つまり、所期の検出等を行うことができる安全な状態か否かを確認する手段を構成し、もし、光走査型光電スイッチ1が故障していると汚れ検知手段55が判断した場合には、液晶表示部34やLEDインジケータ38を使ってユーザに警告すると共に、信号生成手段56を介して動作不許可の信号を外部機器に向けて送信する。
Dirt detection means 55 :
The dirt detection means 55 confirms that the light transmission cover 62 maintains a predetermined transmittance by the amount of light received by the second optical element 72. It can be detected by the amount of light received by the second optical element 72 that the transmittance has decreased due to deterioration with time or contamination of the light transmission cover 62 constituting the light projection window. Here, when the amount of light received by the second optical element 72 falls below a predetermined threshold value, the user is notified that the light transmission cover 62 is in the replacement period by using the liquid crystal display unit 34 or the LED indicator 38. It is good. Further, the dirt detection means 55 confirms whether or not the failure detection means for detecting whether or not the optical scanning photoelectric switch 1 is broken, that is, whether or not it is in a safe state in which an intended detection or the like can be performed. If the dirt detecting means 55 determines that the optical scanning photoelectric switch 1 is out of order, a warning is given to the user using the liquid crystal display unit 34 and the LED indicator 38, and the signal generating means An operation non-permission signal is transmitted to the external device via 56.

なお、投光窓を形成する光透過カバー62の汚染や劣化を検出するのに、光透過カバー62を挟んで第1、第2光学素子71、72を対峙して配置する例を説明したが、例えば第2光学素子72に代えて反射鏡を水平段部70に配置して、第1光学素子71が発した光を反射鏡で反射し、そして反射光を、第1光学素子71に隣接して配置した第2光学素子72で受光するようにしてもよい。この例によれば、光透過カバー62の内側に第1、第2光学素子71、72が互いに接近して配置されることになる。   The example in which the first and second optical elements 71 and 72 are arranged to face each other with the light transmission cover 62 interposed therebetween has been described in order to detect contamination and deterioration of the light transmission cover 62 that forms the light projection window. For example, instead of the second optical element 72, a reflecting mirror is disposed on the horizontal step portion 70, the light emitted from the first optical element 71 is reflected by the reflecting mirror, and the reflected light is adjacent to the first optical element 71. The second optical element 72 arranged in this manner may receive light. According to this example, the first and second optical elements 71 and 72 are arranged close to each other inside the light transmission cover 62.

信号生成手段56
信号生成手段56は判別手段54の判別結果に基づいて安全信号を生成する。たとえば、所定のモードにおいて、光走査型光電スイッチ1の正常な動作が確認でき、かつ、保護領域Aに物体Mが存在しないと判別手段54が判定した場合には、信号生成手段56は安全出力としてON信号(動作許可信号)を生成し、この安全出力は、制御手段30及び第1コネクタ40を介して外部ケーブル42を通じて外部機器に向けて送信され、そして、外部機器の動作が許容される。
Signal generating means 56 :
The signal generation unit 56 generates a safety signal based on the determination result of the determination unit 54. For example, in a predetermined mode, when the normal operation of the optical scanning photoelectric switch 1 can be confirmed and the determination unit 54 determines that the object M is not present in the protection area A, the signal generation unit 56 outputs the safety output. The safety signal is transmitted to the external device through the external cable 42 through the control means 30 and the first connector 40, and the operation of the external device is permitted. .

故障検知手段58は、光走査型光電スイッチ1が正しく動作していることを確認(ベリファイ)するものであり、正常動作が確認できないときには光走査型光電スイッチ1が故障したとみなす。   The failure detection means 58 is for confirming that the optical scanning photoelectric switch 1 is operating correctly. When the normal operation cannot be confirmed, it is considered that the optical scanning photoelectric switch 1 has failed.

光走査型光電スイッチ1の検出感度維持及び調整機構
図9、図10は光走査手段つまり走査ミラー14が光走査型光電スイッチ1の背面の方向に向いた状態を示している。勿論、この状態では、光走査型光電スイッチ1の検出は不可能であることは言うまでもない。装置本体60の起立した支柱部分60aには、走査ミラー14と対面することのできる位置に、走査ミラー14の回転方向遅れ側と進み側に、つまり左右に基準対象物としての第1、第2の2つの反射面73、74が配設され、この第1、第2の反射面73、74は、共に約45°傾斜して斜め上方に向いた状態で配設されている。また、この第1、第2の反射面73、74に対向して、この第1、第2の反射面73、74の上方には、斜め下方に約45°傾斜した定置ミラー75が支柱部分60aに配設されている。つまり、装置本体60の起立した支柱部分60aには、走査ミラー14が後向きになったときに対面する位置に、第1、第2の反射面73、74が斜め上方に向いた状態で配設され、そして、この第1、第2の反射面73、74の上方に斜め下方に向いた状態で定置ミラー75が配設されている。
Detection sensitivity maintenance and adjustment mechanism of the optical scanning photoelectric switch 1 :
9 and 10 show a state in which the optical scanning means, that is, the scanning mirror 14 is directed toward the back surface of the optical scanning photoelectric switch 1. Needless to say, in this state, the optical scanning photoelectric switch 1 cannot be detected. The upright column portion 60a of the apparatus main body 60 is provided with first and second reference objects as reference objects at positions where the scanning mirror 14 can be faced, on the rotation direction delay side and the advance side of the scanning mirror 14, that is, left and right. The first and second reflection surfaces 73 and 74 are both inclined by about 45 ° and directed obliquely upward. In addition, a stationary mirror 75 inclined approximately 45 ° obliquely downward is provided above the first and second reflecting surfaces 73 and 74 so as to face the first and second reflecting surfaces 73 and 74, and the column portion. 60a. That is, the upright column portion 60a of the apparatus main body 60 is disposed at a position facing the scanning mirror 14 when facing backward, with the first and second reflecting surfaces 73 and 74 facing obliquely upward. The stationary mirror 75 is disposed above the first and second reflecting surfaces 73 and 74 so as to face obliquely downward.

基準対象物としての第1、第2の反射面73、74は、反射率が異なる材料で作られ又は反射率の異なる色を有している。具体的な例として、第1の反射面73が黒色の材料又は黒色に着色されており、第2の反射面74が白色の材料又は白色に着色されている。   The first and second reflecting surfaces 73 and 74 as reference objects are made of materials having different reflectances or have colors having different reflectances. As a specific example, the first reflecting surface 73 is colored with a black material or black, and the second reflecting surface 74 is colored with a white material or white.

投光素子LDが出射したレーザパルス光L1は、投光レンズ10、投光用の第1、第2ミラー(反射鏡)11、12によって走査ミラー14に当たり、この走査ミラー14によって水平方向に進む光になる。走査ミラー14が前方、側方に向いていれば、このレーザパルス光L1は測定領域に差し向けられることになる。走査ミラー14が一回転する最中に、走査ミラー14が後方に向いたときでもレーザパルス光L1を出射することにより、レーザパルス光L1は、後向きになった走査ミラー14によって先ず黒色の第1反射面73に差し向けられ、次いで白色の第2反射面74に差し向けられることになる。このレーザ光L1は、約45°斜め上方に向いた第1、第2の反射面73、74で反射して垂直方向上方に進み(L3)、この反射パルス光L3は、第1、第2の反射面73、74の上方に配設された定置ミラー75で反射する。この定置ミラー75は約45°斜め下方に向いた姿勢で配設されているため、定置ミラー75で反射した反射パルス光L3は、走査ミラー14に戻り、この走査ミラー14で反射して上方に進んで、受光レンズ20、受光反射体21を経て光電変換素子22に集光される。つまり、第1、第2の反射面73、74の反射パルス光L3は、警告領域又は保護領域Aの物体Mで反射した反射パルス光L2のときと同じ要素14、20、21を経て、受光素子である光電変換素子22に入力される。   The laser pulse light L1 emitted from the light projecting element LD hits the scanning mirror 14 by the light projecting lens 10 and first and second mirrors (reflecting mirrors) 11 and 12 for light projection, and proceeds in the horizontal direction by the scanning mirror 14. Become light. If the scanning mirror 14 is directed forward and sideward, the laser pulse light L1 is directed to the measurement region. While the scanning mirror 14 is rotated once, even when the scanning mirror 14 is directed backward, the laser pulse light L1 is emitted, so that the laser pulse light L1 is first blackened by the scanning mirror 14 turned backward. It is directed to the reflective surface 73 and then directed to the white second reflective surface 74. The laser light L1 is reflected by the first and second reflecting surfaces 73 and 74 directed obliquely upward by about 45 ° and proceeds upward in the vertical direction (L3). The reflected pulsed light L3 is reflected by the first and second reflected light L3. It reflects with the stationary mirror 75 arrange | positioned above the reflective surfaces 73 and 74 of this. Since the stationary mirror 75 is disposed in a posture that is inclined obliquely downward by about 45 °, the reflected pulsed light L3 reflected by the stationary mirror 75 returns to the scanning mirror 14, is reflected by the scanning mirror 14, and is directed upward. Then, the light is focused on the photoelectric conversion element 22 through the light receiving lens 20 and the light receiving reflector 21. That is, the reflected pulsed light L3 of the first and second reflecting surfaces 73 and 74 is received through the same elements 14, 20, and 21 as the reflected pulsed light L2 reflected by the object M in the warning area or the protection area A. It is input to the photoelectric conversion element 22 which is an element.

走査ミラー14の後方に、走査ミラー14の回転方向(走査方向)の遅れ側と進み側に隣接して反射率の異なる第1反射面73(黒色)、第2反射面74(白色)を設け、そして、同じ垂直支柱部分60aに固設した定置ミラー75を設けることで、第1反射面73(黒色)、第2反射面74(白色)の反射光L3は、警告領域又は保護領域Aの物体Mで反射した反射光L2のときと同じ要素14、20、21を経て、受光素子である光電変換素子22で受光される。   A first reflecting surface 73 (black) and a second reflecting surface 74 (white) having different reflectivities are provided behind the scanning mirror 14 adjacent to the delay side and the advance side in the rotation direction (scanning direction) of the scanning mirror 14. Then, by providing a stationary mirror 75 fixed to the same vertical column portion 60a, the reflected light L3 of the first reflecting surface 73 (black) and the second reflecting surface 74 (white) is reflected in the warning area or the protection area A. The light is received by the photoelectric conversion element 22, which is a light receiving element, through the same elements 14, 20, and 21 as the reflected light L <b> 2 reflected by the object M.

ところで、基準対象物にレーザパルス光を照射し、その反射パルス光を受光したときの受光強度は次の式で表すことができる。   By the way, the received light intensity when the reference object is irradiated with the laser pulse light and the reflected pulse light is received can be expressed by the following equation.

(式1)
受光強度=
{投光強度×投光経路の光学特性×基準対象物の反射率÷(基準対象物までの距離)×受光経路の光学特性×受光ゲイン}
(Formula 1)
Received light intensity =
{Light intensity x Light path optical characteristics x Reference object reflectivity ÷ (Distance to reference object) 2 x Light path optical characteristics x Light gain}

また、レーザ光による走査の場合、検出感度は対象物の反射率や対象物までの距離に依存しないで、次の式で表すことができる。   In the case of scanning with laser light, the detection sensitivity can be expressed by the following equation without depending on the reflectance of the object and the distance to the object.

(式2)
検出感度={投光強度×投光経路の光学特性×受光経路の光学特性×受光ゲイン}
(Formula 2)
Detection sensitivity = {light emission intensity × light path optical characteristics × light path optical characteristics × light reception gain}

上記の式1及び式2により、基準対象物の反射率と基準対象物までの距離が一定であれば、次の式3が成立する。   If the reflectance of the reference object and the distance to the reference object are constant according to the above Expressions 1 and 2, the following Expression 3 is established.

(式3)
検出感度={受光強度×一定値}
(Formula 3)
Detection sensitivity = {light reception intensity × constant value}

レーザ光を使った光走査型光電スイッチ1の内部に基準対象物を具備することで基準対象物の反射率と基準対象物までの距離を一定にするのは容易であることから、基準対象物に対して投光したときに得られる受光感度を一定に保つことで検出感度を一定に維持することができる。この観点に立脚するときに、例えば光走査型光電スイッチ1を工場出荷するときに、その検出感度が最適な状態となるときの受光強度を計測し、そして、計測した受光強度を光走査型光電スイッチ1の記憶素子に記憶させ、光走査型光電スイッチ1が動作中に、この記憶素子に記憶してある受光強度となるように投光強度及び/又は受光ゲインを調整することで光走査型光電スイッチ1の検出感度を最適な状態に保つことができる。   Since it is easy to make the reflectance of the reference object and the distance to the reference object constant by providing the reference object inside the optical scanning photoelectric switch 1 using laser light, the reference object The detection sensitivity can be kept constant by keeping the light receiving sensitivity obtained when the light is projected to be constant. Based on this viewpoint, for example, when the optical scanning photoelectric switch 1 is shipped from the factory, the received light intensity when the detection sensitivity is in an optimum state is measured, and the measured received light intensity is measured with the optical scanning photoelectric switch. The optical scanning type is stored in the storage element of the switch 1 and the light projection intensity and / or the light reception gain are adjusted so that the light reception intensity stored in the storage element is adjusted during operation of the optical scanning photoelectric switch 1. The detection sensitivity of the photoelectric switch 1 can be maintained in an optimum state.

図11は第1、第2の反射面73、74を抽出した図であり、矢印は、走査ミラー14の回転方向つまり走査方向を示す。図12は、レーザパルス光が時系列に第1、第2の反射面73、74に当たっている状態を図示してある。   FIG. 11 is a diagram in which the first and second reflecting surfaces 73 and 74 are extracted, and the arrows indicate the rotation direction of the scanning mirror 14, that is, the scanning direction. FIG. 12 illustrates a state in which the laser pulse light strikes the first and second reflecting surfaces 73 and 74 in time series.

基準対象物の一つである黒の反射面73にレーザパルス光が当たっているときの受光感度が「100」(図12の(I)、他の基準対象物である白の反射面74にレーザパルス光が当たっているときの受光感度が「600」であったとする(図12の(II)。ここに、第1、第2の反射面73、74について、「黒」「白」という表現を用いているが、これは便宜上の表現であると理解されたい。「黒」とは投光源であるレーザ光の波長に対して低反射率である意味であり、「白」とは投光源であるレーザ光の波長に対して高反射率である意味である。また、黒の反射面73として十分に反射率が低い面を採用することで、汚れを構成する物質の反射率は黒の反射面73の反射率と同等又はそれ以上となるため、黒の反射面73は汚れると反射率が高くなる傾向にある。一方、白の反射面74として十分に反射率の高い面を採用することで、汚れると反射率は低くなる傾向にある。   The light receiving sensitivity when the laser pulse light hits the black reflecting surface 73 that is one of the reference objects is “100” ((I) in FIG. 12), and the white reflecting surface 74 that is another reference object. It is assumed that the light receiving sensitivity when the laser pulse light strikes is “600” ((II) in FIG. 12). Here, the first and second reflecting surfaces 73 and 74 are referred to as “black” and “white”. Although the expression is used, it should be understood that this is a convenient expression. “Black” means low reflectivity with respect to the wavelength of the laser beam that is the light source, and “white” means This means that the reflectance is high with respect to the wavelength of the laser beam that is the light source, and by adopting a surface having a sufficiently low reflectance as the black reflecting surface 73, the reflectance of the material constituting the dirt is black. Therefore, if the black reflective surface 73 becomes dirty, the reflectance is the same as or higher than the reflectance of the reflective surface 73. It tends to increase. On the other hand, by adopting a high surface of sufficient reflectance as a reflective surface 74 of the white, soiled and the reflectance tends to decrease.

白の第2反射面74での受光強度を「600」に維持するように投光強度及び/又は受光ゲインを調整した場合、白の第2反射面74が汚れて反射率が低下したとき、この第2反射面74での受光強度を「600」に維持するように投光強度及び/又は受光ゲインの調整が実行されることになる。この場合、黒の第1反射面73での受光強度は、反射率及び距離が一定のままで受光感度が高くなるため、高くなる。この現象に対処するには、第1、第2の反射面73、74での受光感度を常時モニタし、そして、黒の第1反射面73での受光強度の値に許容範囲(例えば80〜120)を設定し、黒の第1反射面73での受光強度が許容範囲を超えたときには白の第2反射面74に汚れが発生したとみなす。白の第2反射面74に汚れが発生すると、適切な感度調整ができなくなるため、保護領域Aの監視を正しく行うことができなくなることから、光走査型光電スイッチ1は安全出力をOFF状態にすることで危険源の動力を停止させる。また、光走査型光電スイッチ1は、液晶表示部34又はLEDインジケータ38を使ってユーザに安全が確認できない旨(安全出力がOFF状態であること)の表示や安全が確認できない理由(エラー内容)についても表示するように構成されてもよい。さらに、光走査型光電スイッチ1は安全出力以外の非安全の出力信号を使用して、エラーが発生していることを外部機器に出力したり、通信ケーブル80を介して外部パーソナルコンピュータPCへエラーの要因や安全出力がOFF状態にあることを送信するように構成されてもよい。   When the light projection intensity and / or the light reception gain is adjusted so that the light reception intensity at the white second reflection surface 74 is maintained at “600”, when the white second reflection surface 74 becomes dirty and the reflectance decreases, The light projecting intensity and / or the light receiving gain are adjusted so as to maintain the light receiving intensity at the second reflecting surface 74 at “600”. In this case, the light reception intensity at the black first reflection surface 73 is increased because the light reception sensitivity is increased while the reflectance and the distance remain constant. In order to cope with this phenomenon, the light receiving sensitivity at the first and second reflecting surfaces 73 and 74 is constantly monitored, and the light receiving intensity value at the black first reflecting surface 73 is within an allowable range (for example, 80 to 80). 120) is set, and when the received light intensity at the black first reflecting surface 73 exceeds the allowable range, it is considered that the white second reflecting surface 74 is contaminated. If the white second reflecting surface 74 is contaminated, appropriate sensitivity adjustment cannot be performed, so that the protection area A cannot be correctly monitored. Therefore, the optical scanning photoelectric switch 1 sets the safety output to the OFF state. To stop the power of the hazard source. In addition, the optical scanning photoelectric switch 1 uses the liquid crystal display unit 34 or the LED indicator 38 to indicate that the safety cannot be confirmed by the user (the safety output is in the OFF state) or the reason why the safety cannot be confirmed (error content). May also be displayed. Further, the optical scanning photoelectric switch 1 uses an unsafe output signal other than the safety output to output that an error has occurred to an external device, or to the external personal computer PC via the communication cable 80. And the fact that the safety output is in the OFF state may be transmitted.

同様に、黒の第1反射面73が汚れることで反射率が高くなったとき、黒の第1反射面73の反射光は強くなり、したがって、黒の第1反射面73での受光強度が増加する現象が現れる。このときも、黒の第1反射面73での受光強度が許容範囲を超えたときには基準対象物の一つとしての黒の第1の反射面73に汚れが発生したとみなして、液晶表示部34又はLEDインジケータ38を使ってユーザに警告することができる。   Similarly, when the reflectance of the black first reflection surface 73 is increased, the reflected light of the black first reflection surface 73 becomes stronger. Therefore, the received light intensity at the black first reflection surface 73 is increased. An increasing phenomenon appears. Also at this time, when the received light intensity at the black first reflecting surface 73 exceeds the allowable range, it is considered that the black first reflecting surface 73 as one of the reference objects is contaminated, and the liquid crystal display unit 34 or LED indicator 38 can be used to alert the user.

基準対象物としての反射率の異なる第1、第2の反射面73、74を隣接して光走査型光電スイッチ1に内蔵し、光走査型光電スイッチ1の光学系を兼用することで、受光感度を常時モニタして受光感度が一定となるように投光強度及び/又は受光ゲインを調整することができる。したがって、光走査型光電スイッチ1の設計において、経年変化や使用時の周囲温度の変動を見越して、この変動分を許容範囲として大きな余裕代を仕様として規定する必要はなく、また、この余裕代を小さくして当初から投光強度及び/又は受光ゲインを高く設定したなかで所定の検出感度を確立することができ、光走査型光電スイッチ1の小型化が容易になる。加えて、第1、第2の反射面73、74からなる調整手段の汚れについても、これを故障として検出するようにしてあるため、安全性を担保するための検出性能のマージンを小さくすることができ、小型でありながら安全性を担保したうえで長距離の検出を行うことのできる光走査型光電スイッチ1を提供することができる。   The first and second reflecting surfaces 73 and 74 having different reflectivities as reference objects are built in the optical scanning photoelectric switch 1 adjacent to each other, and the optical system of the optical scanning photoelectric switch 1 is also used to receive light. It is possible to adjust the light projection intensity and / or the light receiving gain so that the light receiving sensitivity becomes constant by constantly monitoring the sensitivity. Accordingly, in the design of the optical scanning photoelectric switch 1, it is not necessary to specify a large margin as a specification with the variation as an allowable range in anticipation of aging and variations in ambient temperature during use. The predetermined detection sensitivity can be established while the light projection intensity and / or the light reception gain are set high from the beginning by reducing the light intensity, and the optical scanning photoelectric switch 1 can be easily downsized. In addition, since the contamination of the adjusting means including the first and second reflecting surfaces 73 and 74 is also detected as a failure, the detection performance margin for ensuring safety is reduced. Thus, it is possible to provide the optical scanning photoelectric switch 1 that can detect a long distance while ensuring safety while being small.

保護領域Aの設定
光走査型光電スイッチ1の保護領域Aの設定は、光走査型光電スイッチ1だけで簡易な設定ができるように構成するか否かは兎も角として、図13に示すように、パーソナルコンピュータPCを使って行われる。パーソナルコンピュータPCと光走査型光電スイッチ1とは通信ケーブル80を介して接続される。パーソナルコンピュータPCは、既知のように、ディスプレイ81、入力操作部82を有する。
Setting protection area A :
Whether or not the protection area A of the optical scanning photoelectric switch 1 is configured so that it can be easily set only by the optical scanning photoelectric switch 1 depends on the personal computer PC as shown in FIG. It is done using. The personal computer PC and the optical scanning photoelectric switch 1 are connected via a communication cable 80. As is known, the personal computer PC has a display 81 and an input operation unit 82.

パーソナルコンピュータPCには、予め保護領域Aを設定するためのアプリケーションプログラムがインストールされており、このプログラムを使って、光走査型光電スイッチ1の保護領域Aの編集を行うことができる。   An application program for setting the protection area A is installed in the personal computer PC in advance, and the protection area A of the optical scanning photoelectric switch 1 can be edited using this program.

保護領域編集システムとしてのパーソナルコンピュータPCの構成をブロック図で表したのが図14である。パーソナルコンピュータPCは、アプリケーションプログラムによって、追加及び削除エリア指定部84、不整合エリア抽出部86、設定領域更新部87、設定領域記憶部88、設定領域転送部89及びダイアログ表示部90の機能を備えている。   FIG. 14 is a block diagram showing the configuration of a personal computer PC as a protected area editing system. The personal computer PC has functions of an addition / deletion area designation unit 84, an inconsistent area extraction unit 86, a setting region update unit 87, a setting region storage unit 88, a setting region transfer unit 89, and a dialog display unit 90 according to application programs. ing.

設定領域記憶部88は、光走査型光電スイッチ1に保護領域Aを指定するための設定領域情報を記憶するメモリで構成される。追加及び削除エリア指定部84は、入力操作部82からの入力信号に基づいて、追加エリア、削除エリア及び線分を指定する動作を行う。   The setting area storage unit 88 includes a memory that stores setting area information for designating the protection area A in the optical scanning photoelectric switch 1. The addition / deletion area designation unit 84 performs an operation of designating an addition area, a deletion area, and a line segment based on an input signal from the input operation unit 82.

光走査型光電スイッチ1に既に設定されている保護領域Aに領域を追加する場合には、ユーザが指定した領域が追加エリアに指定される。また、既に設定されている保護領域Aから領域を削除する場合には、ユーザが指定した領域が削除エリアに指定される。   When an area is added to the protection area A already set in the optical scanning photoelectric switch 1, the area specified by the user is specified as the additional area. When deleting an area from the protection area A that has already been set, the area specified by the user is specified as the deletion area.

不整合エリア抽出部86は、光走査型光電スイッチ1から見て、保護領域A及び追加エリア間に位置する領域を不整合エリアとして自動的に抽出する動作を行っている。すなわち、光走査型光電スイッチ1から見て、保護領域Aと追加エリアとして指定された領域との間に検知エリアとして指定できない領域があれば、当該領域を不整合エリアとして抽出する動作が行われる。   The mismatched area extraction unit 86 performs an operation of automatically extracting a region located between the protection area A and the additional area as a mismatched area as viewed from the optical scanning photoelectric switch 1. That is, when there is an area that cannot be designated as a detection area between the protection area A and the area designated as the additional area when viewed from the optical scanning photoelectric switch 1, an operation of extracting the area as an inconsistent area is performed. .

不整合エリア抽出部86では、領域追加時に線分が指定された場合、光走査型光電スイッチ1から見て、保護領域A及び線分問に位置する領域が不整合エリアとして抽出される。ここでは、エリア追加時に抽出される不整合エリアを補間エリアと呼ぶことにする。   In the inconsistent area extraction unit 86, when a line segment is specified when adding a region, the protection region A and the region located in the line segment are extracted as the inconsistent area when viewed from the optical scanning photoelectric switch 1. Here, the inconsistent area extracted when the area is added is called an interpolation area.

また、不整合エリア抽出部86は、光走査型光電スイッチ1から見て、削除エリアよりも後方に位置する領域であって、保護領域Aの領域を不整合エリアとして自動的に抽出する動作を行っている。すなわち、光走査型光電スイッチ1から見て、削除エリアとして指定された領域よりも後方に保護領域Aとして指定されている領域があれば、当該領域を不整合エリアとして抽出する動作が行われる。   The inconsistent area extraction unit 86 performs an operation of automatically extracting the protection area A as an inconsistent area, which is an area located behind the deletion area as viewed from the optical scanning photoelectric switch 1. Is going. That is, when there is an area designated as the protection area A behind the area designated as the deletion area when viewed from the optical scanning photoelectric switch 1, an operation of extracting the area as the inconsistent area is performed.

不整合エリア抽出部86では、エリア削除時に線分が指定された場合、光走査型光電スイッチ1から見て、線分よりも後方に位置する領域であって、保護領域A内の領域が不整合エリアとして抽出される。ここでは、エリア削除時に抽出される不整合エリアを「影エリア」と呼ぶことにする。   In the inconsistent area extraction unit 86, when a line segment is designated at the time of area deletion, it is an area located behind the line segment as viewed from the optical scanning photoelectric switch 1, and the area in the protection area A is not a region. Extracted as a matching area. Here, the inconsistent area extracted at the time of area deletion is called a “shadow area”.

領域表示部85は、ディスプレイ81を制御し、設定領域記憶部88に記憶されている設定領域情報に基づいて保護領域A、追加エリア、削除エリア、不整合エリア(補間エリア及び影エリア)を目視で識別可能に表示する動作を行う。すなわち、既に設定されている保護領域Aに領域を追加する場合に、保護領域A及び追加エリアに対して、補間エリアを識別可能に表示し、その際、追加エリア及び補間エリアが付加される前の保護領域Aに対して補間エリアが識別可能にディスプレイ81に表示される。   The area display unit 85 controls the display 81 to visually check the protection area A, the added area, the deletion area, and the mismatch area (interpolation area and shadow area) based on the setting area information stored in the setting area storage unit 88. The display operation is performed so that it can be identified. That is, when an area is added to the protection area A that has already been set, the interpolation area is displayed so as to be identifiable with respect to the protection area A and the additional area, and at this time, before the addition area and the interpolation area are added. The interpolation area is displayed on the display 81 so as to be identifiable with respect to the protected area A.

また、既に設定されている保護領域Aから領域を削除する場合に、保護領域A及び削除エリアに対して、影エリアを識別可能に表示し、その際、削除エリア及び影エリアが除外される前の保護領域Aに対して影エリアが識別可能にディスプレイ81に表示される。   In addition, when deleting an area from the protection area A that has already been set, a shadow area is displayed in an identifiable manner with respect to the protection area A and the deletion area, and at that time, before the deletion area and the shadow area are excluded. A shadow area is displayed on the display 81 so as to be identifiable with respect to the protected area A.

設定領域更新部87は、入力操作部82からの入力信号に基づいて、設定領域記憶部88に記憶されている保護領域Aを更新する動作を行う。すなわち、既に設定されている保護領域Aに領域を追加する場合には、追加エリア及び補間エリアを付加した領域が新たな保護領域Aとして更新される。   The setting area update unit 87 performs an operation of updating the protection area A stored in the setting area storage unit 88 based on the input signal from the input operation unit 82. That is, when an area is added to the protection area A that has already been set, the area to which the additional area and the interpolation area are added is updated as a new protection area A.

エリア追加時に線分が指定された場合には、保護領域Aに補間エリアを付加した領域が新たに保護領域Aとなるように設定領域情報の更新が行われる。   When a line segment is specified when adding an area, the setting area information is updated so that the area obtained by adding the interpolation area to the protection area A becomes a new protection area A.

また、既に設定されている保護領域Aから領域を削除する場合に、削除エリア及び影エリアを除外した領域が新たな保護領域Aとなるように設定領域情報の更新が行われる。   In addition, when an area is deleted from the protection area A that has already been set, the setting area information is updated so that the area excluding the deletion area and the shadow area becomes a new protection area A.

エリア削除時に線分が指定された場合には、保護領域Aから影エリアを除外した領域が新たな保護領域Aとなるように設定領域情報の更新が行われる。   When a line segment is designated when deleting an area, the setting area information is updated so that the area excluding the shadow area from the protection area A becomes a new protection area A.

ダイアログ表示部90は、ディスプレイ81を制御し、入力操作部82からの入力信号に基づいて確認ダイアログを表示する。すなわち、既に設定されている保護領域Aに領域を追加する場合に、追加エリア及び補間ニリアを保護領域Aに付加するか否かの照会するための照会ダイアログ93が確認ダイアログとしてディスプレイ81に表示される。   The dialog display unit 90 controls the display 81 and displays a confirmation dialog based on the input signal from the input operation unit 82. That is, when an area is added to the protection area A that has already been set, an inquiry dialog 93 for inquiring whether or not to add the additional area and the interpolation niria to the protection area A is displayed on the display 81 as a confirmation dialog. The

同様に、既に設定されている保護領域Aから領域を削除する場合に、削除エリア及び影エリアを保護領域Aから除外するか否かを照会するための照会ダイアログ93が確認ダイアログとしてディスプレイ81に表示される。   Similarly, when deleting an area from the protection area A that has already been set, an inquiry dialog 93 for inquiring whether or not to delete the deletion area and the shadow area from the protection area A is displayed on the display 81 as a confirmation dialog. Is done.

設定領域更新部87では、上記照会ダイアログの表示後の入力操作部82からの入カ信号、すなわち、ユーザによる変更許可の操作入力に基づいて設定領域記憶部88の設定領域情報の更新が行われる。   In the setting area update unit 87, the setting area information in the setting area storage unit 88 is updated based on an input signal from the input operation unit 82 after the inquiry dialog is displayed, that is, an operation input for permission of change by the user. .

設定領域転送部89は、設定領域記憶部88に記憶されている保護領域Aの情報を光走査型光電スイッチ1に転送する動作を行う。更に、設定領域転送部89は、光走査型光電スイッチ1に保護領域Aの情報を転送した後、転送した保護領域Aを光走査型光電スイッチ1に反映する前に、光走査型光電スイッチ1から保護領域Aの情報の返送を受け付け、ユーザによる保護領域Aの確認作業に利用できるように処理する構成が採用される。転送した保護領域Aの光走査型光電スイッチ1への反映は、ユーザによる保護領域Aの確認作業を経て実行される。   The setting area transfer unit 89 performs an operation of transferring the information of the protection area A stored in the setting area storage unit 88 to the optical scanning photoelectric switch 1. Further, the setting area transfer unit 89 transfers the information of the protection area A to the optical scanning photoelectric switch 1 and then reflects the transferred protection area A to the optical scanning photoelectric switch 1 before reflecting the transferred protection area A to the optical scanning photoelectric switch 1. A configuration is adopted in which a return of information on the protection area A is received from the user and processed so as to be used for a confirmation operation of the protection area A by the user. Reflection of the transferred protection area A to the optical scanning photoelectric switch 1 is executed after the user confirms the protection area A.

図15は、パーソナルコンピュータPCのディスプレイ81に表示エリア設定画面を示す。このエリア設定画面は、保護領域Aを新たに指定し、或いは、既に設定されている保護領域Aを編集する際に用いられる入力画面である。   FIG. 15 shows a display area setting screen on the display 81 of the personal computer PC. This area setting screen is an input screen used when a new protection area A is designated or a protection area A that has already been set is edited.

ディスプレイ81に表示されるエリア設定画面では、光走査型光電スイッチ1を示すシンボルSを中心とする直交座標に対して最大の検出エリア(測定領域)が表示されており、横軸に平行なグリッド線G1が500mm間隔で配置されていると共に、縦軸に平行なグリッド線G2が500mm間隔で配置されている。   In the area setting screen displayed on the display 81, the maximum detection area (measurement region) is displayed with respect to the orthogonal coordinates centered on the symbol S indicating the optical scanning photoelectric switch 1, and a grid parallel to the horizontal axis is displayed. Lines G1 are arranged at intervals of 500 mm, and grid lines G2 parallel to the vertical axis are arranged at intervals of 500 mm.

シンボルSよりも後方では、走査レーザ光の出射角度によって検知可能な距離の上限が変化しており、検知可能な角度範囲Hはマイナス45°以上プラス225度以下である。この角度範囲H以外の領域は不感領域であり、保護領域Aとして指定することはできないようになっている。   Behind the symbol S, the upper limit of the detectable distance varies depending on the emission angle of the scanning laser beam, and the detectable angular range H is not less than −45 ° and not more than 225 °. An area other than the angle range H is a dead area and cannot be designated as the protection area A.

図16は、矩形の保護領域Aに領域92を追加する場合の画面が示す。保護領域Aは、矩形の他に、多角形、光走査型光電スイッチ1を示すシンボルSを中心とした円形又は扇形なども指定することができ、また、マウスポインタを移動させながら描画した線を境界とする閉じた領域を保護領域Aとして指定することができる。   FIG. 16 shows a screen when the area 92 is added to the rectangular protection area A. In addition to the rectangle, the protection area A can also specify a polygon, a circle centered on the symbol S indicating the optical scanning type photoelectric switch 1 or a fan shape, and a line drawn while moving the mouse pointer. A closed area as a boundary can be designated as the protection area A.

ディスプレイ81に表示のエリア設定画面において保護領域Aが指定されたとすると、例えば、ユーザによって決定キーが操作されると、当該保護領域Aが確定し、そして、この保護領域Aを検知対象とするために最小限付加しなければならない領域が補間エリア92として自動的に抽出される。すなわち光走査型光電スイッチ1から見て、保護領域Aとして指定された領域との間における検知対象として指定されていない領域として補間エリア92が抽出される。補間エリア92を保護領域Aに付加しても良いか否かを照会するための確認ダイアログ93が表示され、ユーザによって許可されると、ユーザが設定した保護領域Aに補間エリア92を付加した領域を新たな保護領域Aとして設定され、この新たな保護領域Aに基づいて情報が更新される。   When the protection area A is designated on the area setting screen displayed on the display 81, for example, when the user presses the enter key, the protection area A is determined and the protection area A is to be detected. A region that must be added to the minimum is automatically extracted as the interpolation area 92. In other words, the interpolation area 92 is extracted as a region not designated as a detection target between the region designated as the protection region A when viewed from the optical scanning photoelectric switch 1. A confirmation dialog 93 for inquiring whether or not the interpolation area 92 may be added to the protection area A is displayed, and if permitted by the user, an area in which the interpolation area 92 is added to the protection area A set by the user Is set as a new protection area A, and information is updated based on the new protection area A.

図17は、保護領域Aの一部を削除する例を示す。保護領域Aから削除する領域は、任意に指定することができ、ユーザが指定した削除エリアが参照符号94で図示されている。削除する領域は、矩形形状の他に、多角形、光電スイッチ1を中心とする円形又は扇形なども指定することができる。また、画面上のマウスポインタを移動させながら描画した曲線を境界とする閉領域を指定することもできる。   FIG. 17 shows an example in which a part of the protection area A is deleted. The area to be deleted from the protection area A can be arbitrarily specified, and the deletion area specified by the user is indicated by reference numeral 94. As a region to be deleted, a polygon, a circle centered on the photoelectric switch 1 or a fan shape can be designated in addition to a rectangular shape. It is also possible to specify a closed region with a drawn curve as a boundary while moving the mouse pointer on the screen.

保護領域Aに含まれるエリア94を削除エリアとして指定し、例えば、ユーザによって決定キーが操作されると、当該エリア94が削除すべきエリアとして確定する。そして、この削除エリア94を保護領域Aから削除する際に、当該エリア94を非検知領域とすることによって最小限除外しなければならない領域が影エリア95として自動的に抽出される。すなわち、光走査型光電スイッチ1から見て、削除エリアとして指定されたエリア94よりも後方の検知対象領域が影エリア95として抽出される。   An area 94 included in the protection area A is designated as a deletion area. For example, when a determination key is operated by the user, the area 94 is determined as an area to be deleted. When the deletion area 94 is deleted from the protection area A, an area that should be excluded at a minimum by making the area 94 a non-detection area is automatically extracted as the shadow area 95. That is, the detection target area behind the area 94 designated as the deletion area as viewed from the optical scanning photoelectric switch 1 is extracted as the shadow area 95.

影エリア95が自動抽出した際には、影エリア95を保護領域Aから除外しても良いか否かを照会するための確認ダイアログ93が表示される。そして、ユーザによって影エリア95を含めて保護領域Aの変更が許可されると、保護領域Aから削除エリア94及び影エリア95を除外したエリアを新たな保護領域Aとして設定され、この新たな保護領域Aのゾーン情報が更新される。図17(C)は、新たな保護領域Aを示してある。   When the shadow area 95 is automatically extracted, a confirmation dialog 93 for inquiring whether the shadow area 95 may be excluded from the protection area A is displayed. When the change of the protection area A including the shadow area 95 is permitted by the user, an area excluding the deletion area 94 and the shadow area 95 from the protection area A is set as a new protection area A. The zone information of area A is updated. FIG. 17C shows a new protection area A.

ミューティング機能及びミューティングエリアの切替え制御
光走査型光電スイッチ1は、保護領域Aの一部又は全部のエリアに単数又は複数のミューティングエリアを設定して、所定の条件が成立したときに、予め設定したミューティングエリアでの検知機能を無効化するミューティング機能を有する。保護領域Aの一部のエリアをミューティングエリアに設定する場合を「部分ミュート」と言い、保護領域Aの全部のエリアをミューティングエリアに設定する場合を「全ミュート」と言う。光走査型光電スイッチ1は、他の検知手段やタイミングによって異なるミューティングエリアに切り替えすることができる。以下の説明では、部分ミュートを中心にミューティングエリアの切替え制御を説明するが、複数のミューティングエリアのうち、一つのミューティングエリアを保護領域Aの全体に設定してもよい(全ミュート)。
Muting function and muting area switching control :
The optical scanning photoelectric switch 1 has a detection function in a preset muting area when a predetermined condition is satisfied by setting one or a plurality of muting areas in a part or all of the protection area A. It has a muting function to invalidate. A case where a part of the protection area A is set as a muting area is called “partial mute”, and a case where all the areas of the protection area A are set as a muting area is called “all mute”. The optical scanning photoelectric switch 1 can be switched to different muting areas depending on other detection means and timing. In the following description, muting area switching control will be described focusing on partial muting, but one muting area may be set as the entire protection area A among all muting areas (all muting). .

ミューティング機能及びミューティングエリアの設定は、上述した保護領域Aの設定と同様に、パーソナルコンピュータPCを使って行うことができ、保護領域Aを設定したときに使用したアプリケーションプログラムにミューティングに関する機能が付加されている。   The muting function and the setting of the muting area can be performed using the personal computer PC in the same manner as the setting of the protection area A described above, and the function related to muting can be added to the application program used when the protection area A is set. Is added.

図18は、パーソナルコンピュータPCにインストールされたアプリケーションプログラムを使って、扇状の保護領域Aを設定した場合を例示している。この保護領域Aの設定方法に関しては、図13〜図17を参照した前述の説明の通りであり、指定した保護領域Aを設定するか否かの照会ダイアログ93が確認ダイアログとしてディスプレイ81に表示される。この照会ダイアログ93を使ってユーザが許可することにより指定した保護領域Aが設定される。   FIG. 18 illustrates a case where the fan-shaped protection area A is set using an application program installed in the personal computer PC. The method for setting the protection area A is as described above with reference to FIGS. 13 to 17, and an inquiry dialog 93 as to whether or not to set the designated protection area A is displayed on the display 81 as a confirmation dialog. The The protected area A designated by the user using the inquiry dialog 93 is set.

図19は、保護領域Aを設定するときに使用したアプリケーションプログラムのミューティングに関する設定機能を使ってミューティングエリアを設定する表示画面を示す。参照符号97はユーザがミューティングエリアとして指定した領域を示す。図19から理解できるように、ユーザは保護領域Aのうち光走査型光電スイッチシンボルSから離れたエリアを横断する矩形のエリアを指定していることに注目されたい。この指定エリア97は、少なくとも保護領域Aのうち、光走査型光電スイッチシンボルSから離れた端を、この図19の例では含んでいる。もし、シンボルSから離れた端を含んでいないときには、つまり、保護領域Aにおいて図19における上下中間部分にエリアを指定したときには、後に説明する影エリアが自動抽出されて、この影エリアが表示される。そして、ユーザが指定したエリア97は保護領域Aの上に重畳表示され、また、保護領域Aとユーザが指定したエリア97とは別の色で表示され、ユーザが指定したエリア97と保護領域Aとがオーバーラップした部分は、保護領域Aの第1の色とユーザが指定したエリア97の第2の色とが混ざり合った第3の色で表示される。   FIG. 19 shows a display screen for setting the muting area using the setting function related to muting of the application program used when setting the protection area A. Reference numeral 97 indicates an area designated by the user as a muting area. As can be understood from FIG. 19, it should be noted that the user designates a rectangular area that crosses the area away from the optical scanning photoelectric switch symbol S in the protection area A. The designated area 97 includes at least the end of the protection area A that is away from the optical scanning photoelectric switch symbol S in the example of FIG. If the edge apart from the symbol S is not included, that is, when an area is designated in the upper and lower intermediate portions in FIG. 19 in the protection area A, a shadow area described later is automatically extracted and this shadow area is displayed. The The area 97 specified by the user is displayed superimposed on the protection area A, and is displayed in a different color from the protection area A and the area 97 specified by the user. The area 97 and the protection area A specified by the user are displayed. Are displayed in a third color in which the first color of the protection area A and the second color of the area 97 specified by the user are mixed.

パーソナルコンピュータPCのディスプレイ81には、指定エリア97で正しいのか質問する照会ダイアログ93が確認ダイアログとして表示され、ユーザが許可することにより指定したエリア97と保護領域Aとがオーバーラップするエリアにミューティングエリア98が設定される(図20)。ミューティングエリアを設定した状態では、先のユーザにより指定されたエリア97(図18)のうち保護領域Aからはみ出した部分が削除されて、保護領域Aと、この保護領域Aの領域内に設定されたミューティングエリア98とが異なる色で表示される。同じ要領で、同じ保護領域Aに複数のミューティングエリア98を設定することができ、各ミューティングエリア98毎に、図21に示すミューティング機能設定画面を使ってミューティング機能を動作させる条件及びミューティング機能を実行する時間などの設定が可能である。   On the display 81 of the personal computer PC, an inquiry dialog 93 for asking whether it is correct in the designated area 97 is displayed as a confirmation dialog, and muting is performed in an area where the area 97 designated by the user and the protection area A overlap. An area 98 is set (FIG. 20). In the state where the muting area is set, the portion of the area 97 (FIG. 18) designated by the previous user that protrudes from the protection area A is deleted and set in the protection area A and the protection area A area. The displayed muting area 98 is displayed in a different color. In the same manner, a plurality of muting areas 98 can be set in the same protection area A. For each muting area 98, the conditions for operating the muting function using the muting function setting screen shown in FIG. The time for executing the muting function can be set.

なお、ミューティングエリア98の設定手順は、保護領域Aの一部を削除する手順と同様の手順で行われる。つまり、ミューティングすべきエリアが指定されるとミューティングエリア98として最小限追加すべき影エリア(光走査型光電スイッチ1から見て指定されたエリアよりも後方のエリア)を自動抽出し、ミューティングエリア98として追加しても良いか否かを照会するための確認ダイアログが表示され、許可指令に従ってミューティングエリア98の設定及びその更新が実行される。   The procedure for setting the muting area 98 is the same as the procedure for deleting a part of the protection area A. That is, when an area to be muted is designated, a shadow area to be added as a minimum as the muting area 98 (an area behind the designated area when viewed from the optical scanning photoelectric switch 1) is automatically extracted. A confirmation dialog for inquiring whether or not to add as a muting area 98 is displayed, and setting and updating of the muting area 98 are executed in accordance with a permission command.

図21の設定画面を使って、例えば複数のミューティングエリア98が保護領域Aに設定されている場合に、各ミューティングエリア98毎にミューティングを開始するタイミングやミューティングを解除するタイミング、ミューティング状態を許容する時間、複数のタイミング信号の時間差などを設定することができる。   For example, when a plurality of muting areas 98 are set in the protection area A using the setting screen of FIG. 21, the timing for starting muting for each muting area 98, the timing for releasing muting, It is possible to set a time during which the timing state is allowed, a time difference between a plurality of timing signals, and the like.

図22を参照して具体的な一例をワークWの搬送システムを使って説明すると、図22は搬送装置(例えばベルトコンベア)Vの側方から見た様子が示され、搬送装置Vには、ゲート100が設けられ、このゲート100の上端横バーの中央に光走査型光電スイッチ1が配設され、光走査型光電スイッチ1は走査面39(図5)が下方に向けて広がり且つゲート100で囲まれた垂直面と一致するようにして配設されている。すなわち、ゲート100の開口には、その上端中央の光走査型光電スイッチ1によってライトカーテン(検出平面)が形成されている。   A specific example will be described with reference to FIG. 22 using a conveyance system for the workpiece W. FIG. 22 shows a state viewed from the side of a conveyance device (for example, a belt conveyor) V. A gate 100 is provided, and the optical scanning photoelectric switch 1 is disposed at the center of the upper horizontal bar of the gate 100. The optical scanning photoelectric switch 1 has a scanning surface 39 (FIG. 5) extending downward and the gate 100. Are arranged so as to coincide with the vertical plane surrounded by. That is, a light curtain (detection plane) is formed in the opening of the gate 100 by the optical scanning photoelectric switch 1 at the center of the upper end.

搬送装置Vには、光電センサなどで構成されたミュートセンサ101〜104が所定条件を満たすようにして配設されている。ここに搬送装置Vの搬送方向に従って上流側から下流側に向けて第1、第2のミュートセンサ101、102がゲート100の手前つまりゲート100の上流側に配設され、第3、第4のミュートセンサ103、104がゲート100の下流側に配設されている。ゲート100の下流は侵入禁止エリアである。第1〜第4のミュートセンサ101〜104は、夫々、図外のケーブルによって光走査型光電スイッチ1に接続される。変形例として第1、第3のミュートセンサ101と103の出力信号がワイヤードオアされ、第2、第4のミュートセンサ102と104の出力信号がワイヤードオアされて光走査型光電スイッチ1へ接続されてもよい。ワイヤードオアされた第1と第3のミュートセンサ101と103の出力信号線は、第1と第3のミュートセンサ101と103の少なくともいずれか一方のミュートセンサがワークWを検出したことを光走査型光電スイッチ1へ伝える。ワイヤードオアされた第2と第4のミュートセンサ102、104の出力信号線は、第2と第4のミュートセンサ102と104の少なくともいずれか一方のミュートセンサがワークWを検出したことを光走査型光電スイッチ1へ伝える。ワークWを検知したことでONするミュートセンサの場合、ミュートセンサの出力信号を短絡することでワイヤードオア信号とすることができる。ワイヤードオアした出力信号線を光走査型光電スイッチ1に接続することで、ミューティング機能に必要な光走査型光電スイッチ1の入力信号線の数を4本から2本に削減することができる。以下に、ワイヤードオアされた場合を例に説明する。   In the transport device V, mute sensors 101 to 104 constituted by photoelectric sensors or the like are arranged so as to satisfy a predetermined condition. Here, the first and second mute sensors 101 and 102 are arranged in front of the gate 100, that is, upstream of the gate 100 from the upstream side toward the downstream side in accordance with the transport direction of the transport device V, and the third and fourth Mute sensors 103 and 104 are disposed on the downstream side of the gate 100. Downstream of the gate 100 is an intrusion prohibited area. The first to fourth mute sensors 101 to 104 are respectively connected to the optical scanning photoelectric switch 1 by cables not shown. As a modification, the output signals of the first and third mute sensors 101 and 103 are wired-ORed, and the output signals of the second and fourth mute sensors 102 and 104 are wired-ORed and connected to the optical scanning photoelectric switch 1. May be. Wired-or output signal lines of the first and third mute sensors 101 and 103 are optically scanned that at least one of the first and third mute sensors 101 and 103 has detected the workpiece W. To the photoelectric switch 1. Wired-or output signal lines of the second and fourth mute sensors 102 and 104 are optically scanned that at least one of the second and fourth mute sensors 102 and 104 has detected the workpiece W. To the photoelectric switch 1. In the case of a mute sensor that is turned on when a workpiece W is detected, a wired OR signal can be obtained by short-circuiting the output signal of the mute sensor. By connecting the wired or output signal lines to the optical scanning photoelectric switch 1, the number of input signal lines of the optical scanning photoelectric switch 1 necessary for the muting function can be reduced from four to two. Hereinafter, a case where wired OR is performed will be described as an example.

第1ミュートセンサ101と、第2ミュートセンサ102との間の間隔はD1である。第2ミュートセンサ102と第4ミュートセンサ104との間の間隔はD2である。第1ミュートセンサ101と、第3ミュートセンサ103との間の間隔はD3である。また、ワークWの移動速度つまり搬送装置Vの搬送速度はV1である。前述した第1〜第4のミュートセンサ101〜104の設置条件は次の通りである。   The interval between the first mute sensor 101 and the second mute sensor 102 is D1. The interval between the second mute sensor 102 and the fourth mute sensor 104 is D2. The interval between the first mute sensor 101 and the third mute sensor 103 is D3. The moving speed of the workpiece W, that is, the conveying speed of the conveying device V is V1. The installation conditions of the first to fourth mute sensors 101 to 104 described above are as follows.

条件(1) Ta<{T=D1/V1}<Tbである。
条件(2) D2<Lwである。
条件(3) D3<Lwである。
ここに、Ta、Tbは予め定められた固定値であり、LwはワークWの前後長さである。
Condition (1) Ta <{T = D1 / V1} <Tb.
Condition (2) D2 <Lw.
Condition (3) D3 <Lw.
Here, Ta and Tb are predetermined fixed values, and Lw is the longitudinal length of the workpiece W.

上記条件(1)は、ワークWの移動によって第1ミュートセンサ101が検出状態に遷移してから第2ミュートセンサ102が検出状態に遷移するまでの時間差T=D1/V1が所定範囲内にあることを要求している。条件(2)は、第4ミュートセンサ104が検出状態に遷移する前に第2ミュートセンサ102が非検出状態となるのを防止するための条件である。条件(3)は、第3ミュートセンサ103が検出状態に遷移する前に第1ミュートセンサ101が非検出状態となるのを防止するための条件である。   The above condition (1) is that the time difference T = D1 / V1 from when the first mute sensor 101 transitions to the detection state due to the movement of the workpiece W until the second mute sensor 102 transitions to the detection state is within a predetermined range. Demands that. Condition (2) is a condition for preventing the second mute sensor 102 from entering the non-detection state before the fourth mute sensor 104 transitions to the detection state. Condition (3) is a condition for preventing the first mute sensor 101 from entering the non-detection state before the third mute sensor 103 transitions to the detection state.

条件(1)を満たすように第1、第2ミュートセンサ101、102を配置することにより、ワークWの侵入と、ワークW以外の侵入物の侵入とを第1ミュートセンサ101が検出状態に遷移してから第2ミュートセンサ102が検出状態に遷移するまでの時間差によって判別することができる。   By arranging the first and second mute sensors 101 and 102 so as to satisfy the condition (1), the first mute sensor 101 transitions to the detection state of the intrusion of the work W and the intrusion of an intruder other than the work W. This can be determined by the time difference from when the second mute sensor 102 transitions to the detection state.

条件(2)及び条件(3)を満たすように第1〜第4のミュートセンサ101〜104を配置することにより、搬送手段Vの搬送速度が一定であるという条件の下で、搬送方向の距離が異なることを利用して、ワークWの侵入と、ワークW以外の侵入物の侵入とを判別することができる。   By disposing the first to fourth mute sensors 101 to 104 so as to satisfy the condition (2) and the condition (3), the distance in the transport direction under the condition that the transport speed of the transport means V is constant. It is possible to discriminate between the intrusion of the work W and the intrusion of an intruder other than the work W by utilizing the difference between the two.

図23は、第1〜第4ミュートセンサ101〜104に接続された光走査型光電スイッチ1の機能ブロック図である。図23において、参照符号Trはミュートセンサ101〜104からの外部入力を受け付ける外部入力受付端子を示す。光走査型光電スイッチ1は、ミュート開始判別部106と、ミューティング信号生成部108と、ミュート終了判別部110とにより構成され、保護領域Aに対象物が侵入すると非検出状態から検出状態に遷移して安全出力信号制御部111からOFF信号(動作不許可信号)が出力される。   FIG. 23 is a functional block diagram of the optical scanning photoelectric switch 1 connected to the first to fourth mute sensors 101 to 104. In FIG. 23, reference symbol Tr indicates an external input receiving terminal for receiving external inputs from the mute sensors 101-104. The optical scanning photoelectric switch 1 includes a mute start determination unit 106, a muting signal generation unit 108, and a mute end determination unit 110, and transitions from a non-detection state to a detection state when an object enters the protection area A. Then, an OFF signal (operation non-permission signal) is output from the safety output signal control unit 111.

ミュート開始判別部106は、ミューティングエリアを含む保護領域Aへの対象物(物体M)の侵入を判定する第1侵入判定部112と、第1、第3のミュートセンサ101、103からの外部入力を端子Trを経由して受け付けた外部入力信号と、第2、第4のミュートセンサ102、104からの外部入力を端子Trを経由して受け付けた外部入力信号とに基づいて、次の条件が成立したことを判定してミューティング信号生成部108へミューティング開始条件が成立したことを出力する。ミューティング成立条件とは、ミューティングエリアを含む保護領域Aへの侵入を判定する第1侵入判定部112が非検知状態であり、且つ第1、第3のミュートセンサ101、103が非検知状態から検知状態へ遷移した時から、その後、第2、第4のミュートセンサ102、104が非検知状態から検知状態へ遷移するまでの時間差T1が所定の範囲内(Ta<T1<Tbを満足する範囲)であることである。   The mute start determination unit 106 includes a first intrusion determination unit 112 that determines intrusion of an object (object M) into the protection area A including the muting area, and externals from the first and third mute sensors 101 and 103. Based on the external input signal whose input is received via the terminal Tr and the external input signal whose external input is received from the second and fourth mute sensors 102 and 104 via the terminal Tr, the following conditions are satisfied. Is established and the muting signal generation unit 108 is output that the muting start condition is established. The muting establishment condition is that the first intrusion determination unit 112 that determines intrusion into the protection area A including the muting area is in the non-detection state, and the first and third mute sensors 101 and 103 are in the non-detection state. The time difference T1 after the transition from the detection state to the detection state until the second and fourth mute sensors 102 and 104 transition from the non-detection state to the detection state is within a predetermined range (Ta <T1 <Tb is satisfied) Range).

ミューティング信号生成部108は、ミュート開始判定部106による判定結果及びミュート終了判定部110による判定結果に基づいて、安全出力信号制御部111とミュート終了判定部110にミューティング状態信号を生成する動作を行う。   The muting signal generation unit 108 generates a muting state signal in the safety output signal control unit 111 and the mute end determination unit 110 based on the determination result by the mute start determination unit 106 and the determination result by the mute end determination unit 110. I do.

ミュート終了判別部110は、ミューティングエリアを除く保護領域Aへの対象物(物体M)の侵入を判定する第2侵入判定部114と、第1、第3のミュートセンサ101、103からの入力信号と、第2、第4のミュートセンサ102、104からの入力信号と、ミューティング状態信号生成部108が出力するミューティング状態信号に基づいて、次の条件によりミューティングを終了させる動作を判定して、ミューティング状態信号生成部108へミューティング終了条件が成立したことを出力する。ミューティング終了条件とは、ミューティングエリアを除く保護領域Aへの侵入を判定する第2侵入判定部114が非検知状態から検知状態へ遷移するか、又は、第1、第3のミュートセンサ101、103の双方が非検知状態へ遷移するか、又は、第2、第4のミュートセンサ102、104の双方が非検知状態へ遷移するか、又は、ミューティング状態信号生成部108が出力するミューティング状態信号が所定時間Tcを越えてミューティング中状態になっていることである。なお、第1、第2の侵入判定部112、114には、対象物(物体M)までの距離を計測する距離計測部116から信号が入力される。   The mute end determination unit 110 is input from the second intrusion determination unit 114 that determines intrusion of the object (object M) into the protection area A excluding the muting area, and inputs from the first and third mute sensors 101 and 103. Based on the signal, the input signals from the second and fourth mute sensors 102 and 104, and the muting status signal output from the muting status signal generator 108, the operation for ending muting is determined under the following conditions Then, the muting state signal generation unit 108 is output that the muting end condition has been established. The muting end condition is that the second intrusion determination unit 114 that determines intrusion into the protection area A excluding the muting area transitions from the non-detection state to the detection state, or the first and third mute sensors 101. , 103 transition to the non-detection state, or both the second and fourth mute sensors 102, 104 transition to the non-detection state, or the muting state signal generator 108 outputs mu That is, the muting state signal exceeds the predetermined time Tc and is in the muting state. Note that signals are input to the first and second intrusion determination units 112 and 114 from the distance measurement unit 116 that measures the distance to the target (object M).

ミューティング信号生成部108は、ミュート開始判別部106及びミュート終了判別部110による判別結果に基づいて、安全出力制御部111に対してミューティングを指示するためのミューティング信号を生成する動作を行う。   The muting signal generation unit 108 performs an operation of generating a muting signal for instructing the safety output control unit 111 to perform muting based on the determination results by the mute start determination unit 106 and the mute end determination unit 110. .

安全出力信号制御部111から出力される安全出力信号は、ゲート100よりも下流の侵入禁止エリア内の加工機を停止させるための制御信号として使用される。この安全出力信号制御部111は、ミューティングエリアを含む保護領域Aへの侵入判定を判定する第1侵入判定部112の判定結果と、ミューティングエリアを除く保護領域Aへの侵入判定を判定する第2侵入判定部114の判定結果と、ミューティング状態信号生成部108が出力するミューティング状態信号とに基づいて、安全出力信号を制御する。より詳しくは、安全出力信号制御部111はミューティング状態信号が非ミューティング中であるときは、保護領域Aへの第1侵入判定部112の判定結果が検知状態であれば安全出力をOFFに制御し、非検知状態であれば安全出力をONに制御する。一方、ミューティング状態信号がミューティング中であるときは、ミューティングエリアを除く保護領域Aへの第2侵入判定部114の判定結果が検知状態であれば安全出力をOFFに制御し、非検知状態であれば安全出力をONに制御する。   The safety output signal output from the safety output signal control unit 111 is used as a control signal for stopping the processing machine in the entry prohibition area downstream from the gate 100. The safety output signal control unit 111 determines the determination result of the first intrusion determination unit 112 that determines the intrusion determination to the protection area A including the muting area and the intrusion determination to the protection area A excluding the muting area. The safety output signal is controlled based on the determination result of the second intrusion determination unit 114 and the muting state signal output from the muting state signal generation unit. More specifically, when the muting state signal is not muted, the safety output signal control unit 111 turns off the safety output if the determination result of the first intrusion determination unit 112 into the protection area A is a detection state. If it is not detected, the safety output is controlled to be ON. On the other hand, when the muting state signal is muting, if the determination result of the second intrusion determination unit 114 to the protection area A excluding the muting area is in the detection state, the safety output is controlled to be OFF and is not detected If it is in the state, the safety output is controlled to ON.

図24、図25は、図22の搬送装置VによるワークWの搬送に関する動作の一例を示し、(a)から(e)は時系列である。ワークWが第1ミュートセンサ101に干渉しない時点(図24(a)でゲート100に設置した光走査型スイッチ1の保護領域Aに物体Mが侵入すると、光走査型スイッチ1からOFF信号(動作不許可信号)が出力される。   24 and 25 show an example of operations related to the transfer of the workpiece W by the transfer device V of FIG. 22, and (a) to (e) are time series. When the object M enters the protection area A of the optical scanning switch 1 installed in the gate 100 at the time when the workpiece W does not interfere with the first mute sensor 101 (FIG. 24A), the OFF signal (operation) Non-permission signal) is output.

図24(b)には、ワークWの先端部が第1ミュートセンサ101と第2ミュートセンサ102の間に位置し、第1ミュートセンサ101の投光部から射出された光をワークWが遮断している場合が示されている。この場合、第1ミュートセンサ101だけが検出状態となる。   In FIG. 24 (b), the tip of the workpiece W is located between the first mute sensor 101 and the second mute sensor 102, and the workpiece W blocks the light emitted from the light projecting portion of the first mute sensor 101. The case is shown. In this case, only the first mute sensor 101 is in the detection state.

図24(c)には、ワークWの先端部が第2ミュートセンサ102と干渉し、第1、第2のミュートセンサ101、102は、共に、各投光部から射出された光をワークWが遮断している場合が示されている。この場合、第1、第2のミュートセンサ101、102は、いずれも検出状態となっており、第1、第2のミュートセンサ101、102がこの順序で検出状態に遷移したことによって、保護領域Aのミューティングエリア98においてミューティング機能が実行されている。従って、ワークWがゲート100の光走査型スイッチ1の保護領域Aにおけるミューティングエリア98を通過しても警報信号は出力されない。   In FIG. 24 (c), the tip of the work W interferes with the second mute sensor 102, and both the first and second mute sensors 101 and 102 receive the light emitted from each light projecting part. The case where is shut off is shown. In this case, the first and second mute sensors 101 and 102 are both in the detection state, and the protection region is generated by the first and second mute sensors 101 and 102 being changed to the detection state in this order. A muting function is executed in the muting area 98 of A. Therefore, even if the workpiece W passes through the muting area 98 in the protection area A of the optical scanning switch 1 of the gate 100, no alarm signal is output.

図25(d)は、ワークWの後端部が光走査型スイッチ1のミューティングエリア98と干渉し且つゲート100の下流の第3ミュートセンサ103にもワークWが干渉している状態にある。この場合、ミューティング状態が継続される。   FIG. 25D shows a state in which the rear end portion of the work W interferes with the muting area 98 of the optical scanning switch 1 and the work W also interferes with the third mute sensor 103 downstream of the gate 100. . In this case, the muting state is continued.

図25(e)は、ワークWの後端部が第4ミュートセンサ104と干渉している状態にある。第3ミュートセンサ103が非検出状態に遷移したことにより、光走査型光電スイッチ1のミューティングエリア98は解除され、光走査型光電スイッチ1の保護領域Aに物体Mが侵入すると、直ちに警報信号が出力される。   FIG. 25E shows a state in which the rear end portion of the work W interferes with the fourth mute sensor 104. As the third mute sensor 103 transitions to the non-detection state, the muting area 98 of the optical scanning photoelectric switch 1 is released, and when an object M enters the protection area A of the optical scanning photoelectric switch 1, an alarm signal is immediately generated. Is output.

図26は、図24、図25で説明した動作のタイムチャートである。第1〜第4ミュートセンサ101〜104は、非検出状態でローレベル(オフ状態)であり、検出状態でハイレベル(オン状態)となる信号を出力する。   FIG. 26 is a time chart of the operation described in FIGS. The first to fourth mute sensors 101 to 104 output a signal that is at a low level (off state) in the non-detection state and is at a high level (on state) in the detection state.

なお、図26のタイムチャートにおいて、光走査型光電スイッチ1に関して「有」は保護領域A内への物体Mの侵入が有るという意味であり、「無」は保護領域Aへの物体Mの侵入が無いという意味である。   In the time chart of FIG. 26, “Yes” means that the object M has entered the protection area A with respect to the optical scanning photoelectric switch 1, and “No” means that the object M has entered the protection area A. It means that there is no.

ワークWの移動に伴って第1〜第4のミュートセンサ101〜104が順次検出状態に遷移する。そして、第1ミュートセンサ101が検出状態に遷移してから第2ミュートセンサ102が検出状態に遷移するまでの時間差T1が所定範囲内にあれば、第2ミュートセンサ102の出力信号の立ち上がりに同期してミューティング信号がハイレベルに切り替えられ、光走査型光電スイッチ1のミューティングエリア98でミューティングが開始される。したがって、このミューティング動作中は、光走査型光電スイッチ1の保護領域Aにおけるミューティングエリア98は、事実上、無効エリアとなる。   As the work W moves, the first to fourth mute sensors 101 to 104 sequentially shift to the detection state. If the time difference T1 from the transition of the first mute sensor 101 to the detection state to the transition of the second mute sensor 102 to the detection state is within a predetermined range, the output signal of the second mute sensor 102 is synchronized with the rising edge. Then, the muting signal is switched to the high level, and muting is started in the muting area 98 of the optical scanning photoelectric switch 1. Therefore, during this muting operation, the muting area 98 in the protection area A of the optical scanning photoelectric switch 1 is effectively an invalid area.

ミューティング状態となってから経過時間T2が所定時間Tc以上となった場合、および、ミューティングエリアを除く保護領域Aへ対象物(物体M)が侵入したことを光走査型光電スイッチ1が検知した場合には、ミューティングは強制終了される。ユーザが所定時間Tcを設定するときに例えば5分というように上限値を設けてもよい。なお、ミュートセンサ101〜104として光電式のセンサを例に説明したが、ミュートセンサとして、電波音波、超音波、接触式センサであってもよい。   The optical scanning photoelectric switch 1 detects that the elapsed time T2 has become equal to or longer than the predetermined time Tc since the muting state has been reached, and that the object (object M) has entered the protection area A excluding the muting area. If this happens, muting is terminated. When the user sets the predetermined time Tc, an upper limit value such as 5 minutes may be provided. In addition, although the photoelectric sensor was demonstrated to the example as the mute sensors 101-104, a radio wave, an ultrasonic wave, and a contact-type sensor may be used as a mute sensor.

また、搬送装置Vを使って高さの異なるワークWが所定の規則に従って搬送されるときには、ワークWがゲート100を通過するタイミングをゲート100の上流側に配置したセンサで検出して、このセンサからのタイミング信号に基づいて、ワークWの高さに合致したミューティングエリア98に切り替えるようにしてもよい。   Further, when the workpiece W having different heights is conveyed according to a predetermined rule using the conveying device V, the timing at which the workpiece W passes through the gate 100 is detected by a sensor arranged on the upstream side of the gate 100, and this sensor On the basis of the timing signal from, the switching may be made to the muting area 98 that matches the height of the workpiece W.

図27〜図29は、高さや幅の異なるワークWに夫々対応した複数のミューティングエリア98を設定した場合の例を説明するための図である。   FIGS. 27 to 29 are diagrams for explaining an example in which a plurality of muting areas 98 corresponding to workpieces W having different heights and widths are set.

ここにワークWは例示的に自動車だとすると、第1の車種の自動車W1は比較的高さ寸法が高く且つ車幅寸法が小さい。これに対して第2の車種の自動車W2は比較的高さ寸法が低く且つ車幅寸法が相対的に大きい。図27〜図29を参照して、ゲート100を挟んで左側が侵入禁止エリアであり、ゲート100の上端横バーの中央部分に光走査型光電スイッチ1が配設され、この光走査型光電スイッチ1の走査面39はゲート100で囲まれた鉛直面に沿って設定され、これによりゲート100の開口には光走査型光電スイッチ1によってライトカーテンが形成されている。   If the workpiece W is illustratively an automobile, the automobile W1 of the first vehicle type has a relatively high height dimension and a small vehicle width dimension. On the other hand, the automobile W2 of the second vehicle type has a relatively low height dimension and a relatively large vehicle width dimension. 27 to 29, the left side of the gate 100 is an intrusion prohibition area, and the optical scanning photoelectric switch 1 is disposed at the central portion of the upper horizontal bar of the gate 100. The optical scanning photoelectric switch One scanning plane 39 is set along a vertical plane surrounded by the gate 100, and a light curtain is formed in the opening of the gate 100 by the optical scanning photoelectric switch 1.

光走査型光電スイッチ1を起点とした矢印は光走査型光電スイッチ1の光軸を例示的に示す。図28は、第2の車種の自動車W2がゲート100を通過するときには、比較的低い台形の第1のミューティングエリア98(1)が設定され、第1の車種の自動車W1がゲート100を通過するときには、比較的高い台形の第2のミューティングエリア98(2)が設定される。ゲート100を通過する自動車Wの車種の順序が予め決まっているのであれば、この順序に従って車種に対応したミューティングエリア98が車種毎に設定される。   An arrow starting from the optical scanning photoelectric switch 1 exemplifies the optical axis of the optical scanning photoelectric switch 1. In FIG. 28, when the automobile W2 of the second vehicle type passes through the gate 100, a relatively low trapezoidal first muting area 98 (1) is set, and the automobile W1 of the first vehicle type passes through the gate 100. When doing so, a relatively high trapezoidal second muting area 98 (2) is set. If the order of the vehicle types of the automobile W passing through the gate 100 is determined in advance, a muting area 98 corresponding to the vehicle type is set for each vehicle type in accordance with this order.

図30〜図32は、種類の異なるワークWが搬送される場合に、ワークWの高さをセンサ121〜123で検出することで、ワークWの高さ及びこの高さからワークWの種類が規定されるのであれば、各種のワークWの外形輪郭に整合する複数のミューティングエリア98を設定しておくことで、ワークWに対応したミューティングエリア98を設定する例を示す。   30 to 32, when different types of workpieces W are transported, the height of the workpiece W is detected by the sensors 121 to 123 so that the type of the workpiece W can be determined from the height of the workpiece W. If prescribed, an example of setting the muting area 98 corresponding to the workpiece W by setting a plurality of muting areas 98 that match the outer contours of various workpieces W is shown.

図30を参照して、ゲート100には、垂直方向下向きに光走査型光電スイッチ1が設置され、この光走査型光電スイッチ1の光軸によってゲート100の開口に反射型のライトカーテンが形成される。その起立した支柱100aに上下に離間して低位置に設置した低位センサ121、中位置に設置した中位センサ122、高位置に設置した高位センサ123が配設され、ゲート100に入る前に、つまり、光走査型光電スイッチ1の光軸により形成されているライトカーテンを通過する前に、この低位、中位、高位のセンサ121〜123のON/OFFの組み合わせによってワークWの高さ及びこれに基づいてワークWの種類を判断して、ワークWの外形輪郭に対応したミューティングエリア98(1)〜98(4)に切り替える制御例を示す。   Referring to FIG. 30, the optical scanning photoelectric switch 1 is installed vertically downward in the gate 100, and a reflective light curtain is formed at the opening of the gate 100 by the optical axis of the optical scanning photoelectric switch 1. The A low-level sensor 121 installed at a low position in the upright column 100a, a middle sensor 122 installed at a middle position, and a high-level sensor 123 installed at a high position are disposed on the upright column 100a. In other words, before passing through the light curtain formed by the optical axis of the optical scanning type photoelectric switch 1, the height of the workpiece W and the height of the workpiece W are determined by the ON / OFF combination of the low, middle and high sensors 121 to 123. A control example is shown in which the type of the workpiece W is determined based on the above and the muting areas 98 (1) to 98 (4) corresponding to the outer contour of the workpiece W are switched.

図31(a)は、低位、中位、高位の高さの異なる位置に配設したセンサ121〜123が全て入光した場合を示す。この場合には、低位センサ121にも干渉しない程度のワークWであるとして、比較的高さの低い第1のミューティングエリア98(低)或いは実質的にミューティングエリアが存在しない第1のミューティングエリア98(低)が設定される。   FIG. 31A shows a case where all of the sensors 121 to 123 arranged at different positions of the low, middle, and high positions are incident. In this case, it is assumed that the workpiece W does not interfere with the low level sensor 121, and the first muting area 98 (low) having a relatively low height or the first muting area that does not substantially exist is present. Ting area 98 (low) is set.

図31(b)は、低位、中位、高位の高さの異なる位置に配設したセンサ121〜123のうち低位センサ121がワークWと干渉して遮光した場合を示す。この場合には、低位センサ121の配設高さよりも高いが中位センサ122の配設高さよりも低いワークWであるとして、高さが中程度の第2のミューティングエリア98(中)が設定される。   FIG. 31B shows a case where the low level sensor 121 of the sensors 121 to 123 arranged at different positions of the low, middle, and high levels interferes with the work W and is shielded from light. In this case, the second muting area 98 (medium) having a medium height is assumed to be a workpiece W which is higher than the arrangement height of the low level sensor 121 but lower than the arrangement height of the middle level sensor 122. Is set.

図32(c)は、低位、中位、高位の高さの異なる位置に配設したセンサ121〜123のうち低位センサ121と中位センサ122がワークWと干渉して遮光した場合を示す。この場合には、中位センサ122の配設高さよりも高いが高位センサ123の配設高さよりも低いワークWであるとして、高さが比較的高い第3のミューティングエリア98(高)が設定される。   FIG. 32 (c) shows a case where the low level sensor 121 and the middle level sensor 122 interfere with the work W and are shielded from light among the sensors 121 to 123 arranged at different positions of the low level, the middle level, and the high level. In this case, the third muting area 98 (high) having a relatively high height is assumed as the workpiece W being higher than the arrangement height of the middle sensor 122 but lower than the arrangement height of the high sensor 123. Is set.

図32(d)は、低位〜高位までセンサ121〜123の全て遮光した場合を示す。この場合には、高位センサ123にも干渉する高さの高いワークWであるとして、高さの最も高い第4のミューティングエリア98(極高)が設定される。この第4のミューティングエリア98(極高)は、保護領域Aの全部の領域であってもよい(「全ミュート」)。   FIG. 32D shows a case where all of the sensors 121 to 123 are shielded from light from low to high. In this case, the fourth muting area 98 (extreme height) having the highest height is set as the workpiece W having a high height that also interferes with the high level sensor 123. The fourth muting area 98 (extreme height) may be the entire area of the protection area A (“all mute”).

このように、光走査型光線スイッチ1の保護領域Aに複数の任意のミューティングエリア98を用意し、適したミューティングエリア98を必要なタイミングで必要な時間設定し、別のミューティングエリア98が適当であれば、この別のミューティングエリア98に切り替えるようにしてもよい。   In this way, a plurality of arbitrary muting areas 98 are prepared in the protection area A of the optical scanning beam switch 1, a suitable muting area 98 is set for a necessary time at a necessary timing, and another muting area 98 is set. May be switched to the other muting area 98 if appropriate.

なお、低位、中位、高位のセンサ121〜123の出力は、一旦ON状態(ワークW検知状態=遮光状態)になると、その後、入光しても直ぐにOFF状態に遷移しないで、予め設定された所定の期間入光し続けた後にOFF状態に変化する。この所定の期間は、ワークWが光走査型光電スイッチ1の光軸によって形成されるライトカーテンを完全に通過した後に、低位、中位、高位のセンサ121〜123の出力がOFFするようにユーザによって設定されている。   Note that the outputs of the low, middle, and high level sensors 121 to 123 are set in advance once they are in the ON state (work W detection state = light-shielding state). The light changes to the OFF state after continuing to enter the light for a predetermined period. During this predetermined period, after the workpiece W has completely passed through the light curtain formed by the optical axis of the optical scanning photoelectric switch 1, the output of the low, middle and high sensors 121 to 123 is turned off. Is set by.

図30乃至図32を参照して説明した例では、保護領域Aの中にミューティングエリア98を設ける共に、ミューティングエリア98として複数のエリアを用意して、適宜ミューティングエリア98を切り替えるようにしてある。この変形例として、例えば図31(a)のミューティングエリア98(低)を除去した領域を保護領域Aとして設定し、この保護領域Aに付加してミューティングエリア98(低)を追加するようにしてもよい。勿論、図31(b)のミューティングエリア98(中)を除去した領域を保護領域Aとして設定し、この保護領域Aに付加してミューティングエリア98(中)を追加するようにしてもよい。図32(c)についても同様であり、ミューティングエリア98(高)を除去した領域を保護領域Aとして設定し、この保護領域Aに付加してミューティングエリア98(高)を追加するようにしてもよい。また、図32(d)についても同様であり、ミューティングエリア98(極高)を除去した領域を保護領域Aとして設定し、この保護領域Aに付加してミューティングエリア98(極高)を追加するようにしてもよい。   In the example described with reference to FIGS. 30 to 32, a muting area 98 is provided in the protection area A, and a plurality of areas are prepared as the muting area 98, and the muting area 98 is switched appropriately. It is. As a modification, for example, an area from which the muting area 98 (low) in FIG. 31A is removed is set as a protection area A, and the muting area 98 (low) is added to the protection area A. It may be. Of course, the area from which the muting area 98 (middle) in FIG. 31B is removed may be set as the protection area A, and the muting area 98 (middle) may be added to the protection area A. . The same applies to FIG. 32 (c). An area from which the muting area 98 (high) is removed is set as a protection area A, and the muting area 98 (high) is added to the protection area A. May be. The same applies to FIG. 32 (d), in which the area from which the muting area 98 (extreme height) is removed is set as a protection area A, and the muting area 98 (extreme height) is added to the protection area A. You may make it add.

そして、低位センサ121、中位センサ122、高位の高さの異なる位置に配設したセンサ121〜123が全て入光した場合には、図31(a)に関連して説明した保護領域A(第1ミューティングエリア98(低)付き)を設定し、低位センサ121がワークWと干渉して遮光した場合には、図31(b)に関連して説明した保護領域A(第2ミューティングエリア98(中)付き)に切り替えて設定するようにしてもよい。更に、低位センサ121と中位センサ122がワークWと干渉して遮光した場合したときには、第3ミューティングエリア98(高)付き保護領域Aに切り替えて設定し、低位〜高位までセンサ121〜123の全て遮光したときには、第4ミューティングエリア98(極高)付き保護領域Aに切り替えるようにしてもよい。   When all of the low-level sensor 121, the middle-level sensor 122, and the sensors 121 to 123 arranged at different positions of the high-level light are incident, the protection area A (described with reference to FIG. When the first muting area 98 (with low) is set and the low-level sensor 121 interferes with the work W and blocks light, the protection area A (second muting) described in relation to FIG. It may be set by switching to the area 98 (with medium). Furthermore, when the low level sensor 121 and the middle level sensor 122 interfere with the workpiece W and shield light, the setting is switched to the protection area A with the third muting area 98 (high), and the sensors 121 to 123 are set from the low level to the high level. May be switched to the protected area A with the fourth muting area 98 (extreme height).

保護領域の切替え制御
ミューティングエリア無しに複数の保護領域A(1)〜A(3)を設定しておき、所定の順序で保護領域Aを切り替えるようにしてもよい。図33はその適用例を説明するための図である。工場内など決められた通路を自走する台車130の先端に光走査型光電スイッチ1を設置しておき、通路131の状態に対応して保護領域A(1)〜A(3)を切り替えるようにしてもよい。この場合、3つの保護領域A(1)〜A(3)を設定したとすると、この保護領域A(1)〜A(3)の切り替え順序を台車130からの入力信号(台車130の動作)に連係して予め設定できるようにしてもよい。この図33の例であれば、保護領域Aの切替え順序としてA(1)→A(2)→A(3)→A(1)に設定し、この保護領域Aの切替えは、例えば台車130のタイヤの向きに連動した台車130からの信号に基づいて実行するように設定できるのがよい。
Protection area switching control :
A plurality of protection areas A (1) to A (3) may be set without a muting area, and the protection areas A may be switched in a predetermined order. FIG. 33 is a diagram for explaining the application example. An optical scanning photoelectric switch 1 is installed at the tip of a carriage 130 that is self-propelled in a predetermined passage such as a factory, and the protection areas A (1) to A (3) are switched in accordance with the state of the passage 131. It may be. In this case, assuming that three protection areas A (1) to A (3) are set, the switching order of the protection areas A (1) to A (3) is set as an input signal from the carriage 130 (operation of the carriage 130). It may be possible to set in advance in conjunction with. In the example of FIG. 33, the switching order of the protection area A is set as A (1) → A (2) → A (3) → A (1). It can be set to execute based on a signal from the carriage 130 linked to the direction of the tire.

また、保護領域Aの切替えに際して台車130の停車を伴う場合には、一時的に、レーザ光の出射を停止する機能つまり投光停止機能を備えているがよい。これにより安全出力がOFFとなるため台車130へは動作不許可信号が供給されることになるが、台車130はレーザ光の出射を停止する前に停車しているため、実質的な不都合はない一方で他の光電スイッチとの不要な光の干渉を防止することができる。   Further, when the carriage 130 is stopped when the protection area A is switched, a function of temporarily stopping the emission of laser light, that is, a light projection stop function, may be provided. As a result, the safety output is turned off and an operation non-permission signal is supplied to the carriage 130. However, since the carriage 130 stops before the emission of the laser beam is stopped, there is no substantial inconvenience. On the other hand, unnecessary light interference with other photoelectric switches can be prevented.

複数系統出力
上述したように安全装置としての光走査型光電スイッチ1はミューティング機能を備えている。光走査型光電スイッチ1は、多光軸光電スイッチと同様に他にも幾つかの機能が提案され、また、今後の開発される可能性を含むが、一例としてインターロック機能を挙げることができる。インターロック機能とは、光走査型光電スイッチ1の安全出力がOFF状態(動作不許可)からON状態(動作許可)に自動的に変化するのを阻止する機能であり、このインターロック機能により、機械が意図せずに起動又は再起動するのを防止するのに役立てられる。
Multiple system output :
As described above, the optical scanning photoelectric switch 1 as a safety device has a muting function. The optical scanning photoelectric switch 1 has several other functions proposed as well as the multi-optical axis photoelectric switch, and includes a possibility of being developed in the future. As an example, an interlock function can be given. . The interlock function is a function that prevents the safety output of the optical scanning photoelectric switch 1 from automatically changing from an OFF state (operation not permitted) to an ON state (operation permitted). Helps prevent the machine from starting or restarting unintentionally.

また、光走査型光電スイッチ1にはスタートインターロック機能とリ・スタートインターロック機能が用意される。スタートインターロック機能とは、光走査型光電スイッチ1に電源を投入したとき又は停電後に復電したとき、手動でスタートインターロックをリセットするまで安全出力をOFFに保持する機能である。リ・スタートインターロック機能とは、光走査型光電スイッチ1が運転中に安全出力がOFF状態になったときに、手動でリ・スタートインターロック機能を解除するまで安全出力をOFFに保持する機能である。また、これらの機能は動作モードに応じて夫々個別的に有効とするか無効とするかを選択することができる。例えば、マニュアルスタート・マニュアル・リ・スタートモードであれば、両方のインターロック機能が有効となり、マニュアルスタート・オート・リ・スタートモードであれば、スタートインターロック機能が有効となり、リ・スタートインターロック機能が無効となり、オートスタート・オート・リ・スタートモードであれば、両方のインターロック機能が無効となる。   The optical scanning photoelectric switch 1 is provided with a start interlock function and a re-start interlock function. The start interlock function is a function for holding the safety output OFF until the start interlock is manually reset when the optical scanning photoelectric switch 1 is turned on or restored after a power failure. The re-start interlock function is a function that keeps the safety output OFF until the re-start interlock function is manually canceled when the safety output is turned OFF while the optical scanning photoelectric switch 1 is in operation. It is. These functions can be individually enabled or disabled depending on the operation mode. For example, in manual start / manual / re-start mode, both interlock functions are valid, and in manual start / auto / re / start mode, the start interlock function is valid and re-start interlock. If the function is disabled and the auto start / auto / restart mode is selected, both interlock functions are disabled.

光走査型光電スイッチ1は複数系統の出力を有するのがよく、各系統の出力毎に、ミューティング機能、インターロック機能などの各種安全機能や動作モードをユーザが設定できるのがよい。図34はその一例を示す。防護柵3で包囲された危険領域の中に作業ロボット2が設置され、この作業ロボット2は作業台140の上でワークWに対する作業を行う。この作業ロボット2には、これを挟んで左右にワーク搬送台141a、141bを有し、各ワーク搬送台141a(又は141b)はレール142a(又は141b)に案内されて前後に自走する。各ワーク搬送台141a(又は141b)は、作業ロボット2に接近した第1位置と、作業ロボット2から離れて外部とアクセス可能な出入口142に接近した第2位置とを取ることができ、この第2位置で作業者がワークをワーク搬送台141a(又は141b)に載置し、ワークWを受け取ったワーク搬送台141a(又は141b)は第1位置に移動する。作業ロボット2は第1位置のワーク搬送台141a(又は141b)からワークを受け取り、そして、受け取ったワークWを作業台140で処理する。   The optical scanning photoelectric switch 1 preferably has a plurality of outputs, and the user can set various safety functions such as a muting function and an interlock function and an operation mode for each output. FIG. 34 shows an example. The work robot 2 is installed in the dangerous area surrounded by the protective fence 3, and the work robot 2 performs work on the work W on the work table 140. The work robot 2 has work transfer tables 141a and 141b on the left and right sides of the work robot 2, and each work transfer table 141a (or 141b) is guided by the rail 142a (or 141b) and runs forward and backward. Each workpiece carrier 141a (or 141b) can take a first position approaching the work robot 2 and a second position approaching the entrance / exit 142 accessible from the outside away from the work robot 2. The operator places the workpiece on the workpiece conveyance table 141a (or 141b) at the two positions, and the workpiece conveyance table 141a (or 141b) that has received the workpiece W moves to the first position. The work robot 2 receives a work from the work transfer table 141a (or 141b) at the first position, and processes the received work W on the work table 140.

左右の出入口143a、143bの近傍には、夫々、光走査型光電スイッチ1によって保護領域A(a)、A(b)が設定されている。この光走査型光電スイッチ1には、各出入口143a(又は143b)の近傍に配設された第1、第2のミュートセンサ101a(又は101b)、102a(又は102b)からの信号が入力される。   Protection areas A (a) and A (b) are set by the optical scanning photoelectric switch 1 in the vicinity of the left and right entrances 143a and 143b, respectively. The optical scanning photoelectric switch 1 receives signals from the first and second mute sensors 101a (or 101b) and 102a (or 102b) disposed in the vicinity of the respective entrances and exits 143a (or 143b). .

光走査型光電スイッチ1は第1、第2の出力系統145、146を有し、第1の出力系統145はワーク搬送台141の駆動源に接続され、第2の出力系統146は作業ロボット2の駆動源に接続されている。光走査型光電スイッチ1の第2出力系統146はミューティング機能を有する(図35)。第1出力系統145は保護領域Aに物体M(例えば作業者)が侵入すると安全出力としてOFF信号がワーク搬送台141に向けて出力される。第2出力系統146はミューティング機能が設定され、ミューティング機能が動作しているときには、保護領域Aに例えば作業者が侵入しても、この侵入検知に関わらず安全出力としてON信号(安全信号)が作業ロボット2に出力される。   The optical scanning type photoelectric switch 1 has first and second output systems 145 and 146, the first output system 145 is connected to the drive source of the work carrier 141, and the second output system 146 is the work robot 2. Connected to the drive source. The second output system 146 of the optical scanning photoelectric switch 1 has a muting function (FIG. 35). When an object M (for example, an operator) enters the protection area A, the first output system 145 outputs an OFF signal as a safety output toward the work conveyance table 141. When the muting function is set in the second output system 146 and the muting function is operating, even if an operator enters the protection area A, for example, an ON signal (safety signal) is output as a safety output regardless of the intrusion detection. ) Is output to the work robot 2.

第1、第2のミュートセンサ101a(又は101b)、102a(又は102b)がワーク搬送台141a(又は141b)を検知すると、光走査型光電スイッチ1のミューティング機能が動作し、第1、第2のミュートセンサ101a(又は101b)、102a(又は102b)がワーク搬送台141a(又は141b)を検知していないときにはミューティング機能の動作は停止する。   When the first and second mute sensors 101a (or 101b) and 102a (or 102b) detect the workpiece transfer table 141a (or 141b), the muting function of the optical scanning photoelectric switch 1 operates, and the first and second When the second mute sensor 101a (or 101b) or 102a (or 102b) is not detecting the workpiece transfer table 141a (or 141b), the operation of the muting function is stopped.

図34に戻って、図34には、右側のワーク搬送台141aが第2位置に位置しており、このワーク搬送台141aによって右側出入口143aが塞がれた状態になっている。この右側のワーク搬送台141aによって第1、第2のミュートセンサ101a、102aは遮光状態となり、これにより光走査型光電スイッチ1の第2出力系統146はミューティング動作中となる。したがって、右側の保護領域A(a)に作業者が入ってワークを右側のワーク搬送台141aに載置し、また、右側のワーク搬送台141aの上の加工済みのワークWを受け取る作業を行ったとしても、第2出力系統146はミュート中であるため安全信号が作業ロボット2に供給され、作業ロボット2は作業を行うことができる。他方、第1出力系統145は保護領域A(a)に作業者が侵入していることから警報信号が生成されて右側のワーク搬送台141aに警報信号が出力され、これにより右側のワーク搬送台141aは動作停止の状態なる。もっとも、右側のワーク搬送台141aは右側出入口143aの近傍で停止した状態にあることから、光走査側光電スイッチ1から警報信号を受け取ったとしても動作停止状態であることに変わりはないので不都合はなく、一方、不意なワーク搬送台141aの動作を防止できるため、ワーク搬送台141aにより塞がれていた右側出入口143aが開放した防護柵3内への侵入経路ができてしまうのを防止することができる。   Returning to FIG. 34, in FIG. 34, the right-hand workpiece carrier 141 a is located at the second position, and the right-side entrance 143 a is closed by this workpiece carrier 141 a. The first and second mute sensors 101a and 102a are shielded from light by the right work carrier 141a, whereby the second output system 146 of the optical scanning photoelectric switch 1 is in a muting operation. Therefore, an operator enters the right protection area A (a), places the workpiece on the right workpiece transfer table 141a, and receives the processed workpiece W on the right workpiece transfer table 141a. Even so, since the second output system 146 is muted, a safety signal is supplied to the work robot 2 so that the work robot 2 can perform work. On the other hand, in the first output system 145, since an operator has entered the protection area A (a), an alarm signal is generated and an alarm signal is output to the right workpiece carrier 141a. 141a becomes an operation stop state. However, since the right work transfer table 141a is stopped in the vicinity of the right entrance 143a, even if an alarm signal is received from the optical scanning side photoelectric switch 1, it is still in an operation stop state, so there is an inconvenience. On the other hand, since it is possible to prevent the unexpected movement of the work transfer table 141a, it is possible to prevent the right entry / exit 143a closed by the work transfer table 141a from entering the protective fence 3 from being opened. Can do.

左側のワーク搬送台141bは作業ロボット2に隣接した位置にあり、左側出入口143bは開放された状態にある。この左側出入口143bの近傍領域は光操作型光電スイッチ1によって保護領域A(b)が設定されていることから、この左側保護領域A(b)に作業者が侵入すると、直ちに、第1、第2の出力系統145、146を通じて左側作業台141b及び作業ロボット2に警報信号が出力され、左側作業台141b及び作業ロボット2が緊急停止される。   The left work carrier 141b is in a position adjacent to the work robot 2, and the left door 143b is open. Since the protection area A (b) is set by the optical operation type photoelectric switch 1 in the vicinity area of the left entrance / exit 143b, when the operator enters the left protection area A (b), the first and the first 2, an alarm signal is output to the left work table 141b and the work robot 2 through the output systems 145 and 146, and the left work table 141b and the work robot 2 are urgently stopped.

仮に、光走査型光電スイッチ1が1系統出力しか有していないときには、これを分配してワーク搬送台141及び作業ロボット2に光走査型光電スイッチ1の出力を接続したときには、ワーク搬送台141aの不意な動作を防止するためにはミューティング機能を使用することはできず、保護領域Aに作業者が入り込んで作業する間は、作業ロボット2の動作が保護領域Aにいる作業者に危険を及ぼすものではないにもかかわらず作業ロボット2を停止させることになり、稼働率を下げることになる。光走査型光電スイッチ1が例えば第1、第2の出力系統を有し、光走査型光電スイッチ1にミュート設定されたとしても、作業ロボット2に接続された第2出力系統に対してだけミューティング機能を働かせる設定を行い、ワーク搬送台141に接続された第1出力系統145にはミューティング機能を働かせない設定を行うことで安全性を確保しながら作業ロボット2の稼働率を高めることができる。   If the optical scanning photoelectric switch 1 has only one system output, when this is distributed and the output of the optical scanning photoelectric switch 1 is connected to the work transport table 141 and the work robot 2, the work transport table 141a. The muting function cannot be used to prevent unexpected movements of the robot, and the operation of the work robot 2 is dangerous to the worker in the protection area A while the worker enters the protection area A and works. However, the work robot 2 is stopped despite the fact that it does not affect the operation, and the operating rate is lowered. Even if the optical scanning photoelectric switch 1 has, for example, first and second output systems and the optical scanning photoelectric switch 1 is set to mute, only the second output system connected to the work robot 2 is muted. The operation rate of the work robot 2 can be increased while ensuring safety by setting the first output system 145 connected to the work carrier 141 so that the muting function does not work. it can.

また、上述した例以外にも、例えばワーク搬送台141a、141b及び作業ロボット2が同期動作しており、ワーク搬送台141a、141bにはワークWを保持するための図示しない電動クランプが設置されている場合、前述した第1出力系統145が電動クランプの動力源に接続され、前述の第2出力系統146が同期動作する作業ロボット2及びワーク搬送台141aに接続されることで、作業ロボット2を動作させたままで電動クランプへのワークWの受け渡し、ワークWの交換、電動クランプからワークWの取り外しを作業者が安全に行うことができる。なお、ワーク搬送台141aへは前述の例とは異なり不意なワーク搬送台141aの動作により、ワーク搬送台141aにより塞がれていた右側出入口143aが開放して防護柵3内への侵入経路ができてしまう虞があるが、この場合、ミュートセンサ101aが非検知状態(入光状態)となるためミューティング状態が解除される。したがって、このミューティング解除の時点で、作業ロボット2及びワーク搬送台141aが緊急停止することで作業者の安全を担保することができる。   In addition to the above-described example, for example, the workpiece transfer tables 141a and 141b and the work robot 2 are operated synchronously, and an electric clamp (not shown) for holding the workpiece W is installed on the workpiece transfer tables 141a and 141b. The first output system 145 described above is connected to the power source of the electric clamp, and the second output system 146 is connected to the work robot 2 and the work transfer table 141a that operate synchronously. The operator can safely perform delivery of the workpiece W to the electric clamp, replacement of the workpiece W, and removal of the workpiece W from the electric clamp while being operated. Unlike the above-described example, the work transport table 141a is unexpectedly moved to the work transport table 141a, so that the right entrance 143a that has been blocked by the work transport table 141a is opened and an entry path into the protective fence 3 is established. In this case, since the mute sensor 101a is in a non-detection state (light incident state), the muting state is cancelled. Therefore, the safety of the worker can be ensured by the emergency stop of the work robot 2 and the work transfer table 141a at the time of releasing the muting.

ここに、緊急停止とは、リ・スタートインターロック機能を有効化していることを意味しており、第2出力系統146に対してリ・スタートインターロック機能が有効化されている。上述の2例において、第2出力系統146がOFF状態になるときは、ワーク搬送台141aにより塞がれていた右側出入口143aが開放して防護柵3内への侵入経路ができている虞があるため、保護領域Aに侵入した作業者により第2出力系統146がOFF状態になった後、作業者が保護領域Aから退避したとしても、光走査型光電スイッチ1は物体Mが保護領域Aに存在しないことは確認できるものの、作業者が防護柵3よりも外側に退避したのか、それとも侵入経路を通じて防護柵3内に侵入してしまったかまでは確認できない。そこで、第2出力系統146に接続された機械(危険源)の再起動は自動的に行わず、人による人為的な安全確認の後に、光走査型光電スイッチ1はリセット手動入力を受け付けることで始めて第2出力系統146をON状態にするか否かを判断する。   Here, the emergency stop means that the restart interlock function is enabled, and the restart interlock function is enabled for the second output system 146. In the above-described two examples, when the second output system 146 is in the OFF state, there is a possibility that the right entrance 143a that has been blocked by the work carrier 141a is opened and an entry path into the protective fence 3 is formed. Therefore, even if the worker who has entered the protection area A turns off the second output system 146 after the second output system 146 is turned off, the optical scanning photoelectric switch 1 has the object M in the protection area A. However, it cannot be confirmed whether the worker has retreated outside the protective fence 3 or has entered the protective fence 3 through the intrusion route. Therefore, the machine (danger source) connected to the second output system 146 is not automatically restarted, and the optical scanning photoelectric switch 1 accepts a reset manual input after an artificial safety check by a person. It is determined whether or not the second output system 146 is turned on for the first time.

その一方で、第1出力系統145は作業者が正規の作業を行うときでもOFF状態になり、また、正規な状態において侵入経路はワーク搬送台141aにより塞がれていることから光走査型光電スイッチ1により物体Mが保護領域Aに存在していないことを確認できれば作業者が防護柵3の外側に退避したとみなせるため、第1出力系統145に接続された機械(危険源)の再起動が自動的行われるのが好ましい。つまり、機械(危険源)は通常停止であることから、作業者が保護領域Aから退却した段階で機械(危険源)が自動的に再起動するのが好ましいし、また、作業効率もよい。したがって、第1出力系統145についてはリ・スタートインターロック機能を無効化する、つまりマニュアルスタート・オート・リ・スタートモード或いはオートスタート・オート・リ・スタートモードを設定するのがよい。これに対して、第2出力系統146は緊急停止を伴うことから、作業者が保護領域Aから退却したとしても機械(危険源)が自動的に再起動するは望ましくない。したがって、第2出力系統146はリ・スタートインターロック機能を有効化することで、マニュアルスタート・マニュアル・リ・スタートモードで動作させるのが好ましい。なお、多出力系統のうち、インターロック機能が有効化されたいずれか一つの出力系統がOFF状態になった場合は、緊急停止とみなして、他の出力系統もOFF状態にするように構成してもよい。これにより通常作業時には自動再起動の利便性が得られると共に緊急停止時には全ての出力系統がOFF状態となり、少なくともリセットの手動入力があるまではON状態に変化しないため安全性の確保を担保できる。   On the other hand, the first output system 145 is in an OFF state even when an operator performs a regular operation, and the intrusion path is blocked by the work transfer table 141a in the regular state. If it can be confirmed by the switch 1 that the object M is not present in the protection area A, it can be considered that the worker has retreated to the outside of the protective fence 3, so that the machine (danger source) connected to the first output system 145 is restarted. Is preferably performed automatically. That is, since the machine (danger source) is normally stopped, it is preferable that the machine (danger source) is automatically restarted when the worker retreats from the protection area A, and the work efficiency is good. Therefore, it is preferable to disable the re-start interlock function for the first output system 145, that is, set the manual start / auto / re / start mode or the auto start / auto / re / start mode. On the other hand, since the second output system 146 is accompanied by an emergency stop, it is not desirable that the machine (danger source) is automatically restarted even if the worker retreats from the protection area A. Therefore, the second output system 146 is preferably operated in the manual start / manual / restart mode by enabling the re-start interlock function. If any one of the multiple output systems with the interlock function enabled is turned off, it is considered as an emergency stop and the other output systems are also turned off. May be. As a result, the convenience of automatic restart is obtained during normal work, and all output systems are turned off during an emergency stop, and at least until there is a manual input for resetting, the safety can be ensured.

上述したように、光走査型光電スイッチ1に対してユーザが設定可能な各種の機能やモードに関して、光走査型光電スイッチ1が複数の出力系統を備え且つ各出力系統毎に機能やモードを設定できることで単体の光走査型光電スイッチ1が様々な状態に合理的に対応することができる。   As described above, with respect to various functions and modes that can be set by the user for the optical scanning photoelectric switch 1, the optical scanning photoelectric switch 1 has a plurality of output systems, and functions and modes are set for each output system. As a result, the single optical scanning photoelectric switch 1 can reasonably cope with various states.

また、1つの保護領域A(1)が設定された例を示したが、これに限らず、第1、第2の出力系統145、146の夫々について保護領域をユーザの設定によって別々に割り当てるように構成してもよい。保護領域を別々に割り当てる構成の場合に同一位置で同一形状の保護領域を設定できるように、一方の保護領域の設定を他方の保護領域の設定に反映できるように構成してもよいし、同一位置で同一形状の保護領域を設定するための設定モードを設けるように構成してもよい。更に、第1、第2の出力系統145、146は、夫々、同一の出力状態(ON状態/OFF状態)を示す2つの出力(OSSD1、OSSD2、OSSD3、OSSD4)で構成されているのがよい。各出力は、ON状態のときには、瞬間的に(各出力に接続される外部デバイスが、その出力がOFFになったことを認識しない程度の時間で)OFFとなる自己診断パルスつまり検査信号を重畳し、故障検知手段58は各出力がいつでもOFFできるかを確認される。また、図36に示すように、検査信号である自己診断パルスを重畳するタイミングを各出力で互いに異ならせる、つまり時分割で異なるタイミングで重畳させることで、故障検知手段58が、各出力が短絡していないことを確認できるように構成するがよい。換言すれば、安全出力同士で短絡が発生したとしても故障を検知することができる。   In addition, although an example in which one protection area A (1) is set is shown, the present invention is not limited to this, and the protection area is assigned separately for each of the first and second output systems 145 and 146 according to user settings. You may comprise. In the case of a configuration in which the protection areas are allocated separately, the configuration of one protection area may be reflected in the setting of the other protection area so that the protection area of the same shape can be set at the same position. You may comprise so that the setting mode for setting the protection area of the same shape in a position may be provided. Further, each of the first and second output systems 145 and 146 may be configured with two outputs (OSSD1, OSSD2, OSSD3, OSSD4) indicating the same output state (ON state / OFF state). . When each output is in the ON state, a self-diagnostic pulse, that is, a test signal that is turned off instantaneously (in a time that an external device connected to each output does not recognize that the output has been turned off) is superimposed. Then, the failure detection means 58 confirms whether each output can be turned off at any time. Also, as shown in FIG. 36, the failure detection means 58 causes each output to be short-circuited by making the timing for superimposing the self-diagnosis pulse, which is an inspection signal, different for each output, that is, for superimposing the timing at different timings. It should be configured so that it can be confirmed that it is not. In other words, a failure can be detected even if a short circuit occurs between safety outputs.

自己診断パルスによる安全検出手段は、動作許可を示す安全信号を出力しているときに、この安全信号に重畳した検査信号に基づいて不許可を示す安全信号が出力可能であるか否かを出力デバイス(OSSD)単位で判定し、出力が可能でない(出力不可能)と判定すると動作許可を示す安全信号に代えて動作不許可を示す安全信号を出力することで、少なくとも同一出力系統の他の出力デバイス(OSSD)により動作不許可を示す安全信号が外部機械(危険源)に出力されることから、外部機械は、動作不許可信号を受け付けるか、あるいは、同一出力系統の出力デバイス(OSSD)のON/OFF論理不一致により、安全が確認できないことを認識できる。これにより光走査型光電スイッチ1の安全性が担保される。   The safety detection means based on the self-diagnosis pulse outputs whether or not a safety signal indicating non-permission can be output based on an inspection signal superimposed on the safety signal when a safety signal indicating operation permission is output. If it is determined in units of devices (OSSD) and it is determined that output is not possible (output is impossible), a safety signal indicating that operation is not permitted is output instead of a safety signal indicating that operation is permitted. Since the safety signal indicating that the operation is not permitted is output to the external machine (danger source) by the output device (OSSD), the external machine accepts the operation not permitted signal or the output device (OSSD) of the same output system It can be recognized that safety cannot be confirmed due to the ON / OFF logic mismatch. Thereby, the safety of the optical scanning photoelectric switch 1 is ensured.

複数系統出力と検出能力の個別設定
光走査型光電スイッチ1が複数の出力系統を具備するときに、検出感度を含む検出能力についても各出力系統毎にユーザが設定できるようしてもよい。図2でも例示したように、検出能力を出力系統毎に設定する点について具体的に説明すると、検出能力として通常の能力に設定された第1保護領域A1(通常能力)と、この第1保護領域A1の周囲を含み且つ高い能力に設定された第2保護領域A2とがユーザによって設定されているとする。この場合に、第2保護領域A2に対応する第2安全出力がON状態のときには機械(ロボット)の駆動源(モータ)は通常の速度で動作し、この第2保護領域A2に対応する第2安全出力がOFF状態のときは機械(ロボット)の駆動源(モータ)は低速で動作するように設定し、その一方で、第1保護領域A1に対応する第1安全出力がON状態のときには機械(ロボット)の駆動源(モータ)には電力を供給し、この第1保護領域A1に対応する第1安全出力がOFF状態のときは機械(ロボット)の駆動源(モータ)に電力を供給しないように設定することができる。特に、高速動作する機械や高慣性力(高イナーシャ)の機械の場合、モータへの電力供給を遮断したとしてもモータは急停止することができないため、機械に対して第1保護領域A1よりも遠方まで拡大した第2保護領域A2で、対象物(物体M)を検知したときに機械(モータ)を低速動作に変化させることで、第1保護領域A1で対象物(物体M)を検知した時点で機械(モータ)を急停止することが容易になる。したがって、2系統出力の各々に検出能力をユーザの手で設定可能にすることで、安全性を担保したままで機械の通常の動作のときの速度を高速化することができる。
Individual settings for multiple outputs and detection capabilities :
When the optical scanning photoelectric switch 1 includes a plurality of output systems, the detection capability including detection sensitivity may be set by the user for each output system. As specifically illustrated in FIG. 2, the detection capability is set for each output system. Specifically, the first protection area A1 (normal capability) set to the normal capability as the detection capability, and the first protection. It is assumed that the user has set the second protection area A2 that includes the periphery of the area A1 and is set to a high capacity. In this case, when the second safety output corresponding to the second protection area A2 is in the ON state, the drive source (motor) of the machine (robot) operates at a normal speed, and the second safety output corresponding to the second protection area A2 corresponds to the second protection area A2. When the safety output is OFF, the drive source (motor) of the machine (robot) is set to operate at a low speed, while when the first safety output corresponding to the first protection area A1 is ON, the machine Electric power is supplied to the driving source (motor) of the (robot), and no electric power is supplied to the driving source (motor) of the machine (robot) when the first safety output corresponding to the first protection area A1 is OFF. Can be set as follows. In particular, in the case of a machine that operates at high speed or a machine with high inertial force (high inertia), the motor cannot be stopped suddenly even if the power supply to the motor is cut off. The object (object M) is detected in the first protection area A1 by changing the machine (motor) to the low speed operation when the object (object M) is detected in the second protection area A2 expanded far. It becomes easy to stop the machine (motor) suddenly at the time. Therefore, by making it possible to set the detection capability for each of the two system outputs by the user's hand, the speed during normal operation of the machine can be increased while ensuring safety.

ここに、設定可能な検出能力とは、検出感度の他に、応答時間、最小検出体、受光感度などを含む。応答時間とは、所定時間あるいは所定回数連続して保護領域A内の物体Mを検知して初めて光走査型光電スイッチ1が保護領域A内に物体Mが存在すると判定するときの所定時間あるいは所定回数連続する時間に相当する設定条件である。したがって、応答時間が短いと検出能力が高くなり、応答時間が長いと検出能力は低くなる。最小検出体は、光走査型光電スイッチ1が確実に検出し得る検出体のサイズのうち最小のものであり、光走査型光電スイッチ1の光軸密度に依存するものである。設定した最小検出体が小さい(光軸密度が高い)と検出能力は高くなり、設定した最小検出体が大きい(光軸密度が低い)と検出能力は低くなる。例えば1走査毎の物体を検出する光軸数を設定し、設定した光軸数以上で物体Mを検知して始めて光走査型光電スイッチ1が保護領域A内に物体Mが存在すると判定するように構成することで、実質的に光軸密度を変化させ、検出能力を変化させることができる。受光感度は、受光信号の増幅率や受光信号に対するしきい値のことであり、増幅率を下げたりしきい値を下げることで検出能力は高くなり、増幅率を下げたりしきい値を上げることで検出能力は低くなる。   Here, the settable detection capability includes a response time, a minimum detection object, a light receiving sensitivity and the like in addition to the detection sensitivity. The response time is a predetermined time or a predetermined time when the optical scanning photoelectric switch 1 determines that the object M exists in the protection area A only after detecting the object M in the protection area A for a predetermined time or a predetermined number of times. This is a setting condition corresponding to a continuous time. Therefore, if the response time is short, the detection capability is high, and if the response time is long, the detection capability is low. The minimum detection body is the smallest of the detection body sizes that can be reliably detected by the optical scanning photoelectric switch 1, and depends on the optical axis density of the optical scanning photoelectric switch 1. When the set minimum detection body is small (optical axis density is high), the detection capability is high, and when the set minimum detection body is large (optical axis density is low), the detection capability is low. For example, the number of optical axes for detecting an object for each scan is set, and the optical scanning photoelectric switch 1 determines that the object M exists in the protection area A only after the object M is detected with the set number of optical axes or more. By configuring as above, it is possible to substantially change the optical axis density and change the detection capability. Photosensitivity refers to the gain of the received light signal and the threshold value for the received light signal. Lowering the gain or lowering the threshold increases the detection capability, lowering the gain or raising the threshold. The detection capability is low.

検出能力と安全機能(ミューティング機能等)とを分けて複数系統出力との関係を説明したが、検出能力と安全機能を複合して各出力系統毎に設定できるのは言うまでもない。複数の出力系統に対して各出力系統毎に個別に検出能力を設定することに関しては、光走査型光電スイッチ1に限らず多光軸光電スイッチや単一の光軸の光電スイッチなどの安全機器にあっても有効であるのは勿論である。例えば多光軸光電スイッチを地面に対して水平に設置し、第1安全出力を機械(危険源)に近い側の一又は複数の光軸を割り当て、第2安全出力を機械(危険源)から遠い側の一又は複数の光軸を割り当てることで、上記の例と同様に第1安全出力を通常の検出能力に設定し、第2安全出力を相対的に高い検出能力に設定することができる。ここに、検出能力とは、応答時間、最小検出体、受光感度などを意味するのは上述したとおりである。   Although the relationship between the detection capability and the safety function (muting function, etc.) and the output of multiple systems has been described, it goes without saying that the detection capability and the safety function can be combined and set for each output system. Regarding the setting of detection capability for each output system individually for a plurality of output systems, not only the optical scanning photoelectric switch 1, but also safety devices such as a multi-optical axis photoelectric switch and a single optical axis photoelectric switch. Of course, it is also effective. For example, a multi-optical axis photoelectric switch is installed horizontally with respect to the ground, the first safety output is assigned to one or more optical axes on the side close to the machine (danger source), and the second safety output is supplied from the machine (danger source). By assigning one or more optical axes on the far side, the first safety output can be set to a normal detection capability and the second safety output can be set to a relatively high detection capability in the same manner as in the above example. . Here, the detection ability means the response time, the minimum detection body, the light receiving sensitivity, and the like as described above.

他方、複数の出力系統に対して各出力系統毎に個別に安全機能を設定することに関しては、光走査型光電スイッチのように物体Mの位置を検出する安全機器に有効であり、光走査型光電スイッチの他に、安全画像スイッチを挙げることができる。画像素子を内蔵した安全画像スイッチの場合、撮像した二次元画像に対して第1、第2の安全出力に対する保護領域を設定し、或いは1又は複数の安全画像スイッチで撮像した二次元画像から認識される三次元の最大保護空間に対して保護空間を設定して第1、第2の出力系統に対して個別に安全機能を設定すればよい。   On the other hand, regarding the setting of the safety function for each output system individually for a plurality of output systems, it is effective for a safety device that detects the position of the object M, such as an optical scanning photoelectric switch. In addition to the photoelectric switch, a safety image switch can be mentioned. In the case of a safety image switch with a built-in image element, a protection area for the first and second safety outputs is set for the captured two-dimensional image, or is recognized from a two-dimensional image captured by one or more safety image switches. A protection space may be set for the three-dimensional maximum protection space, and safety functions may be set individually for the first and second output systems.

上記の例では、光走査型光電スイッチ1は、複数系統出力の各系統毎にミューティング機能やインターロック機能などの安全機能の設定や、応答時間、最小検出体や受光感度などの検出能力の設定を行うように構成されているが、更に、他の系統出力の出力状態をそのまま反映して、重畳する自己診断パルスのみを各出力独自にできる設定条件を選択できるように構成してもよいし、その系統出力をOFF状態固定とする条件設定をユーザが選択できるようにしてもよい。このことは安全画像スイッチについても同様である。   In the above example, the optical scanning type photoelectric switch 1 has a setting of a safety function such as a muting function and an interlock function for each system of a plurality of system outputs, and a detection capability such as a response time, a minimum detection object, and a light receiving sensitivity. Although it is configured to perform setting, it may further be configured so that the output condition of other system outputs is reflected as it is, and setting conditions that allow only the self-diagnosis pulse to be superimposed to be unique to each output can be selected. Then, the user may be able to select a condition setting for fixing the system output to the OFF state. The same applies to the safety image switch.

光電スイッチ間の干渉対策
図33を参照して前述したように、例えば走行台車130に光走査型光電スイッチ1を搭載した場合に、通路131の近傍に他の光走査型光電スイッチ1が設置されていると、台車1が移動する過程で、台車130の光走査型光電スイッチ1と、通路131の近傍に定置されている他の光走査型光電スイッチ1との間で干渉が発生する可能性がある。勿論、この例は単なる一例であり、複数の走行台車130の間でも、複数の台車130が互いに接近したときにこれら台車130に搭載されている光走査型光電スイッチ1間で干渉の問題が発生する可能性がある。他の例として挙げれば、定置されている複数の光走査型光電スイッチ1の間でも干渉の問題が発生する場合もある。この問題は光走査型光電スイッチ1間に限定されず、光走査型光電スイッチ1と他の種類の光電スイッチ(光電センサと同意義)との間でも干渉の問題を発生する可能性がある。
Countermeasures for interference between photoelectric switches :
As described above with reference to FIG. 33, for example, when the optical scanning photoelectric switch 1 is mounted on the traveling carriage 130, if another optical scanning photoelectric switch 1 is installed in the vicinity of the passage 131, the carriage 1. In the process of moving, there is a possibility that interference occurs between the optical scanning photoelectric switch 1 of the carriage 130 and another optical scanning photoelectric switch 1 placed in the vicinity of the passage 131. Of course, this example is merely an example, and even between a plurality of traveling carriages 130, a problem of interference occurs between the optical scanning photoelectric switches 1 mounted on the carriages 130 when the plurality of carriages 130 approach each other. there's a possibility that. As another example, there may be a problem of interference between a plurality of stationary optical scanning photoelectric switches 1. This problem is not limited to between the optical scanning photoelectric switch 1, and there is a possibility that an interference problem may occur between the optical scanning photoelectric switch 1 and another type of photoelectric switch (same meaning as the photoelectric sensor).

図37は、隣接する2つの光走査型光電スイッチ1A、1Bの各々が投光したレーザ光が入光して干渉する場合と、周囲の構造物で反射したレーザ光が入光して干渉する例を示しおり、図38には、2つの光走査型光電スイッチ1A、1Bが干渉するときの投光パルスのタイムチャートである。隣接する光走査型光電スイッチ1、1間の干渉の問題が発生したときには、対象物(物体M)までの距離を正しく計算できないという問題を誘発する原因となる。   In FIG. 37, the laser light projected by each of the two adjacent optical scanning photoelectric switches 1A and 1B enters and interferes, and the laser light reflected by the surrounding structure enters and interferes. An example is shown, and FIG. 38 is a time chart of the light projection pulse when the two optical scanning photoelectric switches 1A and 1B interfere. When a problem of interference between the adjacent optical scanning photoelectric switches 1 and 1 occurs, it causes a problem that the distance to the object (object M) cannot be calculated correctly.

光走査型光電スイッチ1は次のパラメータで動作するように設定されている。
(1)光走査型光電スイッチ1は、前述したように円周方向に等間隔に配設した複数のスリットを光が通過する原理を用いた光電式ロータリエンコーダ25を備えているが、このエンコーダ25の出力を使って投光素子LDの投光タイミングが規定されている。このことから、角度分解能は前述したように0.36°であり、(2)回転周期(スキャン周期)は30msであり、(3)投光周期は30μsである。すなわち、1周360°において0.36°毎に投光動作を行うときには、1周360°で合計1000回の投光動作を実行することになる。そして、1周の回転周期(スキャン周期)として30msを設定したときには、投光周期は{30ms/1000}であり、つまり30μsとなる。スキャン周期つまり走査ミラー14が1回転する周期はモータ24の回転速度によって規定される。
The optical scanning photoelectric switch 1 is set to operate with the following parameters.
(1) The optical scanning type photoelectric switch 1 includes the photoelectric rotary encoder 25 using the principle that light passes through a plurality of slits arranged at equal intervals in the circumferential direction as described above. The light projection timing of the light projecting element LD is defined using 25 outputs. From this, the angular resolution is 0.36 ° as described above, (2) the rotation period (scan period) is 30 ms, and (3) the light projection period is 30 μs. That is, when a light projection operation is performed every 0.36 ° in one rotation of 360 °, a total of 1000 light projection operations are executed in one rotation of 360 °. When 30 ms is set as the rotation cycle (scan cycle) of one round, the light projection cycle is {30 ms / 1000}, that is, 30 μs. The scanning period, that is, the period in which the scanning mirror 14 rotates once is defined by the rotational speed of the motor 24.

図39は、光走査型光電スイッチ1が光軸中心から放射状にレーザ光を投光する様子を示しており、図40は投光パルスのタイムチャートであり、この図40の時間レンジを約30ms(1回転周期)まで投光パルスを描いたのが図41である。   FIG. 39 shows how the optical scanning photoelectric switch 1 projects laser light radially from the center of the optical axis, and FIG. 40 is a time chart of the projected pulse, and the time range of FIG. 40 is about 30 ms. FIG. 41 shows the projection pulse up to (one rotation period).

光走査型光電スイッチ1と、これに隣接する光電スイッチ(光電センサと同意義)との間の干渉を回避する一つの手法を図42に示す。図42は、第1、第2の光走査型光電スイッチ1A、1Bの投光パルスのタイムチャートを示す。この図42から理解できるように、第1、第2の光走査型光電スイッチ1A、1Bの投光パルスの周期は、第1の光走査型光電スイッチ1Aでは30μsに設定されているのに対して、第2の光走査型光電スイッチ1Bでは33μsに設定されており、投光パルスのパルス幅は同じであり、パルス幅を同じにすることで検出感度の影響を抑えることができる。このように第1、第2の光走査型光電スイッチ1A、1Bとの間で異なる投光周期を設定することで、仮にいずれかの光軸で相互干渉が発生したとしても、次のスキャンでは互いに回転周期に36°の位相差が生じるため、複数回のスキャンで連続して干渉することはない。ちなみに、光電スイッチでは、ノイズや浮遊物による誤作動を回避するために複数化の検知で初めて出力を変化させるのが一般的であり、したがって、複数の光電スイッチ間で異なる投光周期を設定することで、実用上、隣接する光電スイッチ間での干渉による誤検出を防止することができる。なお、光走査型光電スイッチ1では、反射光を走査ミラー14で受けた後に受光レンズ20で集光して受光信号を獲得するのが一般的であることから、受光タイミングが同じであったとしても光走査型光電スイッチ1の向きにズレがあれば、一般的に言えば干渉の問題を生じることはない。   FIG. 42 shows one method for avoiding interference between the optical scanning photoelectric switch 1 and the adjacent photoelectric switch (same meaning as the photoelectric sensor). FIG. 42 is a time chart of the light projection pulses of the first and second optical scanning photoelectric switches 1A and 1B. As can be understood from FIG. 42, the period of the light projection pulses of the first and second optical scanning photoelectric switches 1A and 1B is set to 30 μs in the first optical scanning photoelectric switch 1A. Thus, in the second optical scanning photoelectric switch 1B, it is set to 33 μs, and the pulse width of the light projection pulse is the same. By making the pulse width the same, the influence of the detection sensitivity can be suppressed. In this way, by setting different light projection periods between the first and second optical scanning photoelectric switches 1A and 1B, even if mutual interference occurs on any one of the optical axes, Since a phase difference of 36 ° occurs between the rotation periods, there is no continuous interference in a plurality of scans. By the way, in photoelectric switches, it is common to change the output for the first time by detecting multiples in order to avoid malfunctions due to noise and floating objects, so different light projection periods are set between multiple photoelectric switches. Thus, in practice, erroneous detection due to interference between adjacent photoelectric switches can be prevented. In the optical scanning photoelectric switch 1, it is common that the reflected light is received by the scanning mirror 14 and then collected by the light receiving lens 20 to obtain the received light signal. However, if there is a deviation in the direction of the optical scanning photoelectric switch 1, generally speaking, there will be no problem of interference.

図43は光走査型光電スイッチ1の基本構成をブロック図的に示す図であり、この図43の光走査型光電スイッチ1は前述の2出力系統(図35)を備えている。投光パルスの周期は、モータ24の回転速度を設定すればよく、これは制御手段30の投受光タイミングを、典型的には外部PCを使って設定すればよい。勿論、光走査型光電スイッチ1の液晶表示部34に設定事項を表示してユーザが操作ボタン36を操作することにより投受光タイミングを設定できるようにしてもよい。設定した投受光タイミングつまり投受光周期は、光走査型光電スイッチ1の内部メモリ147に、設定保護領域A等と一緒に記憶される。   FIG. 43 is a block diagram showing the basic configuration of the optical scanning photoelectric switch 1, and the optical scanning photoelectric switch 1 of FIG. 43 includes the above-described two-output system (FIG. 35). The period of the light projecting pulse may be set by the rotational speed of the motor 24, and the light projecting / receiving timing of the control means 30 is typically set by using an external PC. Of course, setting items may be displayed on the liquid crystal display unit 34 of the optical scanning photoelectric switch 1 so that the user can set the light projection / reception timing by operating the operation buttons 36. The set light transmission / reception timing, that is, the light transmission / reception cycle, is stored in the internal memory 147 of the optical scanning photoelectric switch 1 together with the set protection area A and the like.

図44は、複数の光電スイッチ間の干渉を回避するための第2の手法を説明するための図である。この図44の例は、第1〜第4の四機の光走査型光電スイッチ1A〜1Dが互いに同期線で接続されていることを前提としている。すなわち、第1〜第4の光走査型光電スイッチ1A〜1Dは同期線からの信号で互いにタイミングが規定されており、投光パルスに位相差を設定することで、この第1〜第4の光走査型光電スイッチ1A〜1D間の干渉を防止することができる。投光パルスの位相差として、光走査型光電スイッチ1が投光してから受光信号を取り込むタイミングが2μsであるのが一般的であるとすると、位相差として3μsを設定すれば干渉の問題を解消することができる。   FIG. 44 is a diagram for explaining a second method for avoiding interference between a plurality of photoelectric switches. The example in FIG. 44 is based on the premise that the first to fourth optical scanning photoelectric switches 1A to 1D are connected to each other via a synchronization line. That is, the timings of the first to fourth optical scanning photoelectric switches 1A to 1D are regulated by signals from the synchronization line, and the first to fourth optical switches are set by setting a phase difference in the light projection pulse. Interference between the optical scanning photoelectric switches 1A to 1D can be prevented. As a phase difference of the light projection pulse, if it is common that the timing at which the light scanning signal is taken in after the optical scanning photoelectric switch 1 emits light is 2 μs, the problem of interference is caused by setting the phase difference to 3 μs. Can be resolved.

図45は、複数の光電スイッチ間の干渉を回避するための第3の手法を説明するための図である。この図45の例は、隣接する二機の光電スイッチ1、1間で干渉が発生し、これを検知したときに、次の光軸以降の投光タイミングに関して、何れか一方又は双方の光電スイッチの投光タイミングを変更することで位相差を設けることを提案するものである。干渉を検知する手法として、例えば、特定の光軸で不連続に受光を検出するものの複数回連続して受光を検出しない、その頻度が所定の頻度以上であるときに光電スイッチ間での干渉とみなすようにしてもよい。勿論、変形例として、干渉を検知したときに、図42で説明した投光パルスの周期や投光周期(モータ24の回転速度)を変更する制御を加えるようにしてもよい。干渉の検出に関し、上述した例の他に、後に図51のフローチャートを参照して投光から受光までの時間差tに基づいて干渉している可能性があると判断したときに、投光パルスの周期や投光周期(モータ24の回転速度)を変更する制御を加えるようにしてもよい。   FIG. 45 is a diagram for explaining a third method for avoiding interference between a plurality of photoelectric switches. In the example of FIG. 45, interference occurs between two adjacent photoelectric switches 1 and 1, and when this is detected, one or both of the photoelectric switches with respect to the light projection timing after the next optical axis. It is proposed to provide a phase difference by changing the light projection timing. As a technique for detecting interference, for example, although light reception is detected discontinuously on a specific optical axis, light reception is not detected continuously multiple times, and interference between photoelectric switches when the frequency is equal to or higher than a predetermined frequency. It may be considered. Of course, as a modification, when interference is detected, control for changing the cycle of the light projection pulse and the light projection cycle (the rotation speed of the motor 24) described in FIG. 42 may be added. Regarding the detection of interference, in addition to the example described above, when it is determined that there is a possibility of interference based on the time difference t from light projection to light reception later with reference to the flowchart of FIG. You may make it add control which changes a period and a light projection period (rotational speed of the motor 24).

隣接する光走査型光電スイッチ1、1間の干渉を防止するのに、上述したようにモータ24の回転速度を異ならせることでスキャン周期を隣接する光走査型光電スイッチ1、1間で異ならせるのが上述した3つの手法であるが、変形例として、光走査型光電スイッチ1の投光タイミングをクロック制御するのであれば、光走査型光電スイッチ1の投光タイミングの周期を隣接する光走査型光電スイッチ1、1間で異ならせるようにしてもよい。すなわち、投光パルスの周期を隣接する光走査型光電スイッチ1、1間で異ならせる構成を採用してもよい。   In order to prevent interference between the adjacent optical scanning type photoelectric switches 1, 1, the scanning cycle is made different between the adjacent optical scanning type photoelectric switches 1, 1 by changing the rotational speed of the motor 24 as described above. These are the three methods described above. As a modification, if the light projection timing of the optical scanning photoelectric switch 1 is clock-controlled, the period of the light projection timing of the optical scanning photoelectric switch 1 is set to the adjacent optical scanning. The type photoelectric switches 1 and 1 may be different. That is, a configuration in which the period of the light projection pulse is different between the adjacent optical scanning photoelectric switches 1 and 1 may be adopted.

また、光走査型光電スイッチ1のモータ24の回転速度又は投光パルスの周期の設定変更ことに関して、外部パーソナルコンピュータPCによることなく、上述したように光走査型光電スイッチ1の液晶表示部34と操作ボタン36とを使って外部パーソナルコンピュータPC無しに行うことができるようにしてもよい。後に図48を参照して説明するように、この光電スイッチ1は、幾つかのパラメータについて液晶表示部34と操作ボタン36を使って設定できるようになっているが、このパラメータの設定事項の一つに、モータ24の回転速度又は投光パルスの周期を加えることで、外部パーソナルコンピュータPCを使うことなく、ユーザが隣接する光走査型光電スイッチ1、1間の干渉を防止することができる。また、光走査型光電スイッチ1の内部メモリ147(図43)に複数の投光パルスの周期又は複数の投光パルスの周期を記憶させておき、この中からユーザが任意に選択して、所望の投光パルスの周期又は複数の投光パルスの周期を設定できるように構成してもよい。勿論、前述した投光から受光までの時間差tに基づいて干渉している可能性があると判断したときに(図51)、投光パルスの周期や投光周期(モータ24の回転速度)を内部メモリ147に記憶されている他の投光パルスの周期や投光周期(モータ24の回転速度)に切り替える制御を行うようにしてもよい。   Further, regarding the setting change of the rotation speed of the motor 24 or the period of the light projection pulse of the optical scanning photoelectric switch 1, the liquid crystal display unit 34 of the optical scanning photoelectric switch 1 can be changed as described above without using the external personal computer PC. The operation button 36 may be used without the external personal computer PC. As will be described later with reference to FIG. 48, the photoelectric switch 1 can set several parameters by using the liquid crystal display unit 34 and the operation buttons 36. In addition, by adding the rotation speed of the motor 24 or the period of the light projection pulse, it is possible to prevent interference between the adjacent optical scanning photoelectric switches 1 and 1 without using an external personal computer PC. In addition, the internal memory 147 (FIG. 43) of the optical scanning type photoelectric switch 1 stores a period of a plurality of projection pulses or a period of a plurality of projection pulses, and the user arbitrarily selects and selects a desired one. You may comprise so that the period of this light projection pulse or the period of a some light projection pulse can be set. Of course, when it is determined that there is a possibility of interference based on the above-described time difference t from light projection to light reception (FIG. 51), the cycle of the light projection pulse and the light projection cycle (rotation speed of the motor 24) are set. You may make it perform control which switches to the period of another light projection pulse memorize | stored in the internal memory 147, and a light projection period (rotation speed of the motor 24).

図37乃至図45を参照して他の光電スイッチ(光電センサ)との干渉の問題を解消する手法を説明したが、これ以外の外乱光による問題がある。光走査型光電スイッチ1の反射光に外乱光が重畳すると誤った位置情報を検出してしまうという問題に至り易い。この問題に対処するために、光走査型光電スイッチ1は、(1)光学フィルタの機能を有する光透過カバー62を採用し、(2)フィルタ回路を採用して対象物(物体M)からの反射光以外の周波性成分の信号を除去することが行われているが完全という訳ではない。   Although the method for solving the problem of interference with other photoelectric switches (photoelectric sensors) has been described with reference to FIGS. 37 to 45, there is a problem due to disturbance light other than this. If disturbance light is superimposed on the reflected light of the optical scanning photoelectric switch 1, it is easy to reach a problem that erroneous position information is detected. In order to cope with this problem, the optical scanning photoelectric switch 1 adopts (1) a light transmission cover 62 having a function of an optical filter, and (2) adopts a filter circuit to remove from the object (object M). Although removal of signals of frequency components other than reflected light has been performed, it is not completely complete.

外乱光による影響を受ける可能性がある場合、ユーザは光走査型光電スイッチ1の取り付け角度や取り付け高さを調整することになるが、この調整を行うに際して、外乱光がどの方向から入射しているかを確認できれば好都合である。また、調整後に外乱光の影響が無くなったか否かを確認できれば、光走査型光電スイッチ1の誤動作が発生する毎に光走査型光電スイッチ1の設置位置の調整を繰り返す必要性も無くなる。前述したように光電スイッチは、複数回の計測値つまり測距値が連続して保護領域Aの内側にあることを検知した後に出力を変化させるように設定するのが一般的であるため、外乱光が直ちに誤動作を誘発することに至らないにしても、検出能力が劣化した状態(応答時間が長くなった状態)で動作している可能性があり、このことは安全機器としての光走査型光電スイッチ1としては好ましくない。   When there is a possibility of being affected by disturbance light, the user adjusts the mounting angle and mounting height of the optical scanning photoelectric switch 1, and when performing this adjustment, from which direction the disturbance light is incident. It is convenient if it can be confirmed. Further, if it can be confirmed whether or not the influence of disturbance light has been eliminated after the adjustment, it is not necessary to repeatedly adjust the installation position of the optical scanning photoelectric switch 1 every time a malfunction of the optical scanning photoelectric switch 1 occurs. As described above, since the photoelectric switch is generally set to change the output after detecting that the measurement value, that is, the distance measurement value is continuously inside the protection area A, the disturbance is disturbed. Even if the light does not immediately cause a malfunction, there is a possibility that it is operating in a state where the detection capability has deteriorated (a state in which the response time is extended), which is an optical scanning type as a safety device. The photoelectric switch 1 is not preferable.

光走査型光電スイッチ1は、(1)「運転モード」、(2)「モニタモード」、(3)「設定モード」の3つの動作モードを有し、動作モードを切り替えると、光走査型光電スイッチ1の液晶表示部34には図46の表示に切り替わる。この図46は、液晶表示部34の表示の遷移図であり、図46の参照符号34(a)は運転モードで動作中の表示を示し、参照符号34(b)はモニタモードのメニュー画面を示し、参照符号34(c)は設定モードのメニュー画面を示す。   The optical scanning photoelectric switch 1 has three operation modes: (1) “operation mode”, (2) “monitor mode”, and (3) “setting mode”. The display shown in FIG. 46 is switched to the liquid crystal display unit 34 of the switch 1. 46 is a transition diagram of the display on the liquid crystal display unit 34. Reference numeral 34 (a) in FIG. 46 indicates a display during operation in the operation mode, and reference numeral 34 (b) indicates a monitor mode menu screen. Reference numeral 34 (c) denotes a setting mode menu screen.

前述した図6(b)を参照して、ユーザインターフェース部36には、液晶表示部34に隣接して、操作ボタン36a〜36eが配設されている。上下ボタン36a、36bは、数値入力や表示画面切替のためのキーである。例えば、上ボタン36aは、数値をインクリメントするアップキーとして用いることができる。また、下ボタン36bは、数値をデクリメントするダウンキーとして用いることができる。液晶表示部34の下方且つ隣接して3つの操作ボタン36c〜36eが横並びに配列されているが、これらの操作ボタン36c〜36eは動作モードの切替えや設定値確定のためのキーとして用いられる。例えば、中央操作ボタン36cはモード切替えに用いられ、右の操作ボタン36eはエンター(Enter)キーであり、左の操作ボタン36dは、エスケープ(Esc)キーである。   Referring to FIG. 6B described above, operation buttons 36 a to 36 e are disposed in the user interface unit 36 adjacent to the liquid crystal display unit 34. The up / down buttons 36a and 36b are keys for numerical value input and display screen switching. For example, the upper button 36a can be used as an up key for incrementing a numerical value. The down button 36b can be used as a down key for decrementing the numerical value. Three operation buttons 36c to 36e are arranged side by side below and adjacent to the liquid crystal display unit 34, and these operation buttons 36c to 36e are used as keys for switching operation modes and setting values. For example, the central operation button 36c is used for mode switching, the right operation button 36e is an enter key, and the left operation button 36d is an escape key.

「運転モード」が選択されると光走査型光電スイッチ1は侵入物Mの検知を実行する。「運転モード」から「モニタモード」ヘの切替えは、中央操作ボタン36c操作することによって行うことができる。また、「モニタモード」での動作中に、左の操作ボタン36d(Escキー)を操作することで「運転モード」に復帰させることができる。   When the “operation mode” is selected, the optical scanning photoelectric switch 1 detects the intruder M. Switching from the “operation mode” to the “monitor mode” can be performed by operating the central operation button 36c. Further, during operation in the “monitor mode”, the operation mode can be returned to the “operation mode” by operating the left operation button 36d (Esc key).

図47を参照して、「モニタモード」は、入出力状態、エリア監視状況、検知履歴などを表示する動作モードである。入出力状態としては、光走査型光電スイッチ1の安全出力の状態、外部リレー回路からの入力状態などを液晶表示部34に表示してモニタすることができる。エリア監視状況としては、設定されている監視エリアの形状、サイズ、検知された侵入物までの距離などをモニタすることができる。検知履歴としては、安全出力がオフ時の検知履歴として、動作不許可信号を出力させるトリガとなった侵入物の位置及び検知された時刻と、エラー情報などが保持される。このエラー情報の履歴には、安全出力がOFFした時刻及びOFFした要因(何故、安全出力がOFFになったのかその原因)が含まれ、また、外乱光が原因で安全出力がOFFしたときには、外乱光の方位を規定する光軸番号がエラー情報の履歴に含まれる。   Referring to FIG. 47, the “monitor mode” is an operation mode for displaying an input / output state, an area monitoring status, a detection history, and the like. As the input / output state, the safety output state of the optical scanning photoelectric switch 1 and the input state from the external relay circuit can be displayed on the liquid crystal display unit 34 and monitored. As the area monitoring status, the shape and size of the set monitoring area, the distance to the detected intruder, and the like can be monitored. As the detection history, as the detection history when the safety output is turned off, the position of the intruder that triggered the output of the operation disapproval signal, the detected time, and error information are held. This error information history includes the time when the safety output is turned off and the cause of the turning off (why the safety output is turned off), and when the safety output is turned off due to ambient light, The optical axis number that defines the direction of disturbance light is included in the history of error information.

検知履歴は、最新のものから順に表示させることができる。この様な検知履歴は、最大で20件保持され、新たな検知履歴が得られるごとに最も古いものから順にクリアされる。侵入物の位置情報としては、例えば、光走査型光電スイッチ1を中心とする直交座標を用いて、侵入物の位置を示す数値が表示される。また、セーフティセンサ1から侵入物までの距離Dを示す数値が表示される。また、エラー情報としては、例えば、光透過カバー62の汚れや出力短絡などによる不具合の発生を示す情報が表示される。また、履歴情報としては、位置情報、エラー情報の他に、外部機器からのチェック入力を示す情報がある。このチェック入力は、安全出力が正しくオフするか否かを確認するための外部入力である。   The detection history can be displayed in order from the latest one. Up to 20 such detection histories are retained, and each time a new detection history is obtained, the oldest one is cleared. As the position information of the intruder, for example, a numerical value indicating the position of the intruder is displayed using orthogonal coordinates with the optical scanning photoelectric switch 1 as the center. In addition, a numerical value indicating the distance D from the safety sensor 1 to the intruder is displayed. Further, as the error information, for example, information indicating the occurrence of a malfunction due to contamination of the light transmission cover 62 or an output short circuit is displayed. The history information includes information indicating a check input from an external device in addition to position information and error information. This check input is an external input for confirming whether or not the safety output is correctly turned off.

「設定モード」は、保護領域Aを指定するためのパラメータや外部入力の設定が行われる動作モードである。運転モードから設定モードヘは、中央操作ボタン36c操作することによって行うことができる。また、「設定モード」での動作中に、左の操作ボタン36d(Escキー)を操作することで「運転モード」に復帰させることができる。設定スタート画面には、選択可能なメニュー項目が配置され、上下操作ボタン36a、36bを操作することによって所望のメニュー項目を選択することができる。   The “setting mode” is an operation mode in which parameters for specifying the protection area A and external input are set. The operation mode can be changed to the setting mode by operating the central operation button 36c. Further, during operation in the “setting mode”, it is possible to return to the “operation mode” by operating the left operation button 36d (Esc key). Selectable menu items are arranged on the setting start screen, and a desired menu item can be selected by operating the up / down operation buttons 36a and 36b.

図48は、設定モードにおいてパラメータの設定に関する表示画面の一例が示されている。設定変更が可能なパラメータは、再スタート設定、EDM、検知分解能、応答時間などを含む。再スタートつまりリ・スタートは、光走査型光電スイッチ1を手動で再スタートさせるか自動で再スタートさせるかを選択することができる。EDMに関しては、外部リレーモニタ機能をオンするかオフするかを選択することができる。侵入物(物体M)の検知分解能は所定の範囲内で任意に指定することができる。   FIG. 48 shows an example of a display screen related to parameter setting in the setting mode. Parameters that can be changed include restart setting, EDM, detection resolution, response time, and the like. In restarting, that is, restarting, it is possible to select whether the optical scanning photoelectric switch 1 is restarted manually or automatically. With respect to EDM, it is possible to select whether to turn on or off the external relay monitor function. The detection resolution of the intruder (object M) can be arbitrarily specified within a predetermined range.

光走査型光電スイッチ1に接続した外部パーソナルコンピュータPC(図13)によってエラー情報の履歴を確認することができる。外部パーソナルコンピュータPCには、エラー情報の履歴を表示するためのアプリケーションがインストールされており、このプログラムを使ってパーソナルコンピュータPCのディスプレイ81に表示させることができる。   The history of error information can be confirmed by an external personal computer PC (FIG. 13) connected to the optical scanning photoelectric switch 1. An application for displaying a history of error information is installed in the external personal computer PC, and can be displayed on the display 81 of the personal computer PC using this program.

図49は、パーソナルコンピュータPCによるエラー情報表示に含まれる外乱光の画面表示の例を示す。パーソナルコンピュータPCのディスプレイ81には、その一側に、エラー情報の履歴が時系列に表示される。この一覧表示には、各エラー情報毎に、(1)エラーの原因、(2)エラー発生時刻、(3)好ましくはエラーが発生した光軸番号が含まれる。ユーザが任意のエラー履歴を選択すると、光走査型光電スイッチ1のシンボルBと共に外乱光の方位が目立つ色で表示される。この外乱光に関する表示を、常時表示とするか、常時は非表示としてユーザが希望したときに表示するかをオプションで設定できるようにしてもよい。図49は、パーソナルコンピュータPCが接続された光走査型光電スイッチ1が動作状態にあるときのパーソナルコンピュータPCのディスプレイ81の表示例が図示されており、パーソナルコンピュータPCによって光走査型光電スイッチ1の動作が常時モニタされている状態にある。この図49において、光走査型光電スイッチ1のシンボルSの周囲に見られる黒丸は安全出力がOFF状態となった際の原因箇所の履歴、例えば保護領域A内での物体Mの検出位置の履歴を示す。図49は、シンボルSから上方に扇状に広がるハッチングを付した領域に数多くの外乱光が見られ、この外乱光は、シンボルSから放射状に延びる直線で表示される。したがって、ユーザは、シンボルSから放射状に延びる直線を見ることで外乱光の方位を知ることができる。   FIG. 49 shows an example of the screen display of ambient light included in the error information display by the personal computer PC. On the one side of the display 81 of the personal computer PC, a history of error information is displayed in time series. This list display includes, for each error information, (1) the cause of the error, (2) the time when the error occurred, and (3) preferably the optical axis number where the error occurred. When the user selects an arbitrary error history, the direction of disturbance light is displayed in a conspicuous color together with the symbol B of the optical scanning photoelectric switch 1. You may enable it to set as an option whether the display regarding this disturbance light will always be displayed, or whether it will always display it when a user desires non-display. FIG. 49 shows a display example of the display 81 of the personal computer PC when the optical scanning photoelectric switch 1 to which the personal computer PC is connected is in an operating state. The operation is constantly monitored. In FIG. 49, the black circles around the symbol S of the optical scanning photoelectric switch 1 are the history of the cause when the safety output is turned off, for example, the history of the detection position of the object M in the protection area A. Indicates. In FIG. 49, a lot of disturbance light is seen in the hatched area extending upward from the symbol S, and this disturbance light is displayed as a straight line extending radially from the symbol S. Therefore, the user can know the azimuth of disturbance light by looking at the straight line extending radially from the symbol S.

また、次に説明するように外乱光を検出したときに、これを光走査型光電スイッチ1の液晶表示部34に、図50に例示するように「警告(Alert) 光干渉(Light Interference)」と文字表示するのが好ましい。   Further, as described below, when disturbance light is detected, it is displayed on the liquid crystal display unit 34 of the optical scanning photoelectric switch 1 and “Alert light interference” as illustrated in FIG. Is preferably displayed.

外乱光の検知方法について説明すると、光走査型光電スイッチ1は、投光した光が対象物(物体M)にぶつかって反射するときに投光タイミングと受光タイミングとの時間差tによって距離を計測し、また、受光した光軸番号によって方位を検知する。また、計測した距離を受光強度によって補正することで、距離の検知の正確性を高めるように設計されるのが一般的である。したがって、投光タイミングと受光タイミングとの時間差tが所定の範囲内であれば、対象物(物体M)による反射光であり正規の光であるとみなすことができる。換言すると、投光タイミングと受光タイミングとの時間差tが非常に小さいときには外乱光であるとみなすことができる。また、投光タイミングと受光タイミングとの時間差tが非常に大きいときにも外乱光であるとみなすことができる。したがって、投光タイミングと受光タイミングとの時間差tが所定の範囲外であるとき、つまり所定の範囲よりも時間差tが小さいとき及び所定の範囲よりも時間差tが大きいときにはエラー履歴に記憶され、また、光走査型光電スイッチ1の液晶表示部34にエラー表示される。また、光走査型光電スイッチ1が方位を示すインジケータを備えているときには、外乱光の方位をこのインジケータによって表示するのが好ましい。   Explaining how to detect disturbance light, the optical scanning photoelectric switch 1 measures the distance by the time difference t between the light projection timing and the light reception timing when the projected light hits the object (object M) and is reflected. Also, the direction is detected by the received optical axis number. Further, it is generally designed to improve the accuracy of distance detection by correcting the measured distance based on the received light intensity. Therefore, if the time difference t between the light projection timing and the light reception timing is within a predetermined range, it can be regarded as regular light that is reflected light from the object (object M). In other words, when the time difference t between the light projection timing and the light reception timing is very small, it can be regarded as ambient light. Further, it can be regarded as disturbance light when the time difference t between the light projection timing and the light reception timing is very large. Therefore, when the time difference t between the light projection timing and the light reception timing is outside the predetermined range, that is, when the time difference t is smaller than the predetermined range and when the time difference t is larger than the predetermined range, it is stored in the error history. An error is displayed on the liquid crystal display 34 of the optical scanning photoelectric switch 1. In addition, when the optical scanning photoelectric switch 1 is provided with an indicator indicating the direction, it is preferable to display the direction of disturbance light by this indicator.

安全性の確保において問題になるのが、投光タイミングと受光タイミングとの時間差tが所定の範囲よりも小さいときであり、この場合には、光走査型光電スイッチ1では出力状態をOFFに移行させる処理を実行するのが好ましい。   A problem in ensuring safety is when the time difference t between the light projection timing and the light reception timing is smaller than a predetermined range. In this case, the optical scanning photoelectric switch 1 shifts the output state to OFF. It is preferable to execute the processing.

図51は、外乱検知の具体的な手法の一例を示すフローチャートである。前述したように、所定の周期で投光が実行され(ステップS10)、各光軸番号毎に受光の有無が判定される(ステップS11)。そして受光があれば、対応する光軸番号の投光から受光までの時間差tが演算され(ステップS12)、この時間差tが予め設定されている最小時間差Tminと最大時間差Tmaxとの範囲に含まれているか否かの判定が行われる(ステップS13)。そして、YESつまり実際の時間差tが所定の範囲内であれば、ステップS14に進んで、従来と同様に、対象物(物体M)の位置(距離)を計測する。なお、対象物(物体M)の方位は、光軸番号つまり投光時刻によって規定することができる。そして、対象物(物体M)の位置が保護領域であるときにはステップS15からステップS16で光走査型光電スイッチ1の出力をOFF状態に移行させ、また、ステップS17でオフ履歴が作成されてメモリ147(図43)に記憶される。また、警告領域であるときには、ステップS18からステップS19に進んで、警告領域に侵入した作業者に対して例えば赤色ランプの点灯やブザーなどにより警報が行われる。   FIG. 51 is a flowchart showing an example of a specific technique for disturbance detection. As described above, light projection is executed at a predetermined cycle (step S10), and the presence or absence of light reception is determined for each optical axis number (step S11). If there is light reception, the time difference t from light projection to light reception of the corresponding optical axis number is calculated (step S12), and this time difference t is included in the range between the preset minimum time difference Tmin and maximum time difference Tmax. It is determined whether or not it is present (step S13). If YES, that is, if the actual time difference t is within a predetermined range, the process proceeds to step S14, and the position (distance) of the object (object M) is measured as in the conventional case. The direction of the object (object M) can be defined by the optical axis number, that is, the light projection time. When the position of the object (object M) is in the protection region, the output of the optical scanning photoelectric switch 1 is shifted to the OFF state from step S15 to step S16, and the OFF history is created in step S17 to store the memory 147. (FIG. 43). If it is the warning area, the process proceeds from step S18 to step S19, and a warning is given to the worker who has entered the warning area by, for example, lighting of a red lamp or a buzzer.

上記ステップS13において、投光から受光までの時間差tが、最小時間差Tminと最大時間差Tmaxとの範囲外であると判定されたときには異常であると判定される。すなわち、このステップS13は異常判定手段を構成し、異常であると判定されたときにはステップS20に進んでエラー履歴が作成され、このエラー履歴はメモリ147(図43)に記憶される。また、ステップS21で、投光から受光までの時間差tが最小時間差Tminよりも小さいときには、光走査型光電スイッチ1に近い領域での現象とみなすことができ安全性を阻害する可能性があるとして、ステップS22に進んで光走査型光電スイッチ1の出力をOFF状態に移行させ、また、ステップS23でオフ履歴(OFF履歴)が作成され、このオフ履歴はメモリ147(図43)に記憶される。なお、ステップS13において異常と判定されたときに液晶表示部34に異常を示す表示が行われる(図50)。   In step S13, when it is determined that the time difference t from light projection to light reception is outside the range between the minimum time difference Tmin and the maximum time difference Tmax, it is determined that there is an abnormality. That is, this step S13 constitutes an abnormality determination means. When it is determined that there is an abnormality, the process proceeds to step S20, where an error history is created, and this error history is stored in the memory 147 (FIG. 43). In step S21, if the time difference t from light projection to light reception is smaller than the minimum time difference Tmin, it can be regarded as a phenomenon in a region close to the optical scanning photoelectric switch 1 and may impair safety. In step S22, the output of the optical scanning photoelectric switch 1 is shifted to the OFF state. In step S23, an off history (OFF history) is created, and this off history is stored in the memory 147 (FIG. 43). . When it is determined that there is an abnormality in step S13, a display indicating the abnormality is performed on the liquid crystal display unit 34 (FIG. 50).

ユーザは、エラー履歴及びオフ履歴を参照することで、問題の発生原因が一時的な要因(例えば埃)であるのか継続的な要因(外乱光)であるのかを峻別することができる。外乱光であるとみされるときには、オフ履歴及びエラー履歴を外部パーソナルコンピュータPCを使って外乱情報の詳細を表示することで方位を特定することができ、これにより光走査型光電スイッチ1の設置角度や設置高さを変更することで対処することができる。   By referring to the error history and the off history, the user can distinguish whether the cause of the problem is a temporary factor (for example, dust) or a continuous factor (disturbance light). When it is considered to be disturbance light, the off history and error history can be specified by displaying details of the disturbance information using an external personal computer PC, whereby the installation angle of the optical scanning photoelectric switch 1 can be specified. It can be dealt with by changing the installation height.

光走査型光電スイッチ1に液晶表示部34を設けることで、図50を参照して説明したとおり、この液晶表示部34を使ってエラー表示を行うことができ、これを見て必要であればユーザは外部パーソナルコンピュータPCを使って外乱の分析を行うことができるが、図52に図示するように、光走査型光電スイッチ1に方向を指し示すことのできる方位インジケータ160を設け、この方位インジケータ160を使って問題の原因の方位を指し示すようにしてもよい。ちなみに、この図52に例示の光走査型光電スイッチ1は、その頂部に、円弧状に複数のLED160aを等間隔に配置し、外乱の原因の方位に合致するLEDインジケータ160を点灯することで方位を差し示すことができる。   By providing the liquid crystal display unit 34 in the optical scanning photoelectric switch 1, as described with reference to FIG. 50, error display can be performed using the liquid crystal display unit 34. Although the user can analyze the disturbance using the external personal computer PC, as shown in FIG. 52, the optical scanning photoelectric switch 1 is provided with an azimuth indicator 160 that can point the direction. May be used to indicate the direction of the cause of the problem. Incidentally, the optical scanning photoelectric switch 1 illustrated in FIG. 52 has a plurality of LEDs 160a arranged at equal intervals on the top of the optical scanning photoelectric switch 1 and turns on the LED indicator 160 that matches the direction of the cause of the disturbance. Can be indicated.

光走査型光電スイッチ1の検出感度維持及び調整機構の具体的な調整手順
図9〜図12を参照して前述した検出感度維持及び調整機構を具体的に説明する。この検出感度維持及び調整機構は、光走査型光電スイッチ1の内部に基準対象物としての2つの反射率の異なる第1、第2の反射面73、74を含んでいる。そして、光走査型光電スイッチ1は、この基準対象物としての第1、第2の反射面73、74を、走査ミラー14の回転において無効範囲つまり測定領域以外の範囲に配設することで、測定領域での走査で用いる投光経路、受光経路、レーザ光源LD、受光素子(光電変換素子)22を共用する構成が採用されている。このことから、走査ミラー14の測定領域以外の無効回転範囲において基準対象物(第1、第2の反射面73、74)に対して投光し、そして、これにより得られる受光信号情報を監視することで光走査型光電スイッチ1の検出感度の劣化を確認することができる。
Specific detection procedure for maintaining and adjusting the detection sensitivity of the optical scanning photoelectric switch 1 :
The detection sensitivity maintenance and adjustment mechanism described above will be specifically described with reference to FIGS. This detection sensitivity maintaining and adjusting mechanism includes first and second reflecting surfaces 73 and 74 having different reflectivities as reference objects in the optical scanning photoelectric switch 1. And the optical scanning photoelectric switch 1 arrange | positions the 1st, 2nd reflective surfaces 73 and 74 as this reference | standard object in the invalid range, ie, ranges other than a measurement area, in the rotation of the scanning mirror 14, A configuration is adopted in which a light projecting path, a light receiving path, a laser light source LD, and a light receiving element (photoelectric conversion element) 22 used for scanning in the measurement region are shared. Therefore, the reference object (first and second reflecting surfaces 73 and 74) is projected in the invalid rotation range other than the measurement region of the scanning mirror 14, and the light reception signal information obtained thereby is monitored. By doing so, it is possible to confirm the deterioration of the detection sensitivity of the optical scanning photoelectric switch 1.

光走査型光電スイッチ1を工場から出荷する際に、光走査型光電スイッチ1が光透過カバー62を検知しない走査範囲、つまりパルス状のレーザ光が第1、第2の反射面73、74を走査しているときに、製品仕様を満足することのできる最適な検出感度が得られるように投光強度及び/又は受光ゲインを調整する。この調整が完了した状態において例えば光軸番号「60」(この光軸番号「60」は第2反射面(白)73に投光したときの光軸番号に相当する)に投光したときの受光強度が「600」であったとすると、この光軸番号60の受光強度「600」をメモリ147(図43)に記憶する。また、例えば光軸番号「10」(この光軸番号「10」は第1反射面(黒)72に投光したときの光軸番号に相当する)に投光したときの受光強度が「100」であったとすると、この光軸番号10の受光強度「100」をメモリ147(図43)に記憶する。   When the optical scanning photoelectric switch 1 is shipped from the factory, a scanning range in which the optical scanning photoelectric switch 1 does not detect the light transmitting cover 62, that is, pulsed laser light passes through the first and second reflecting surfaces 73 and 74. During scanning, the light projection intensity and / or the light reception gain are adjusted so that the optimum detection sensitivity that can satisfy the product specifications is obtained. In a state where this adjustment is completed, for example, when light is projected onto the optical axis number “60” (this optical axis number “60” corresponds to the optical axis number when projected onto the second reflecting surface (white) 73). If the received light intensity is “600”, the received light intensity “600” of the optical axis number 60 is stored in the memory 147 (FIG. 43). Further, for example, the received light intensity when the light is projected onto the optical axis number “10” (the optical axis number “10” corresponds to the optical axis number when projected onto the first reflecting surface (black) 72) is “100”. ”, The received light intensity“ 100 ”of the optical axis number 10 is stored in the memory 147 (FIG. 43).

上記の工場出荷時の手順を図53に基づいて説明する。先ず、ステップS100で光透過カバー62を通じてパルスレーザ光を対象物に投光したときに得られる受光信号情報を取得して、対象物までの距離を計測する。次いで、ステップS101で、対象物を検知できているか否かを判定して、NOであれば、ステップS102に進んで、投光駆動部150(図43)を制御して投光強度を増加及び/又は電源回路152(図43)の電圧を増加させることで受光素子22の受光ゲインを増加させ、再びステップS100に進んで、調整後の投光強度及び/又は受光ゲインに基づいて対象物までの距離の計測が行われる。そして、ステップS101で対象物を検知できていると判定されたときにはステップS103に進んで、光透過カバー62を通じてパルスレーザ光を対象物に投光したときに得られる受光信号情報を取得して、対象物までの距離を計測する。   The procedure at the time of factory shipment will be described with reference to FIG. First, in step S100, light reception signal information obtained when the pulse laser beam is projected onto the object through the light transmission cover 62 is acquired, and the distance to the object is measured. Next, in step S101, it is determined whether or not the object can be detected. If NO, the process proceeds to step S102, and the light projection drive unit 150 (FIG. 43) is controlled to increase the light projection intensity. In addition, the light receiving gain of the light receiving element 22 is increased by increasing the voltage of the power supply circuit 152 (FIG. 43), and the process proceeds to step S100 again to reach the object based on the adjusted light projecting intensity and / or light receiving gain. The distance is measured. And when it determines with the target object being able to be detected by step S101, it progresses to step S103, acquires the light reception signal information obtained when a pulse laser beam is projected on a target object through the light transmission cover 62, Measure the distance to the object.

次のステップS104において、光透過カバー62を検知しているか否かの判定が行われ、このステップS104でYESのときには、投光駆動部150(図43)を制御して投光強度を減少及び/又は電源回路152(図43)の電圧を低下させることで受光素子22の受光ゲインを減少させた後に再びステップS103に進んで、調整後の投光強度及び/又は受光ゲインに基づいて対象物までの距離の計測が行われる。そして、ステップS104で光透過カバー62の検知が認められないときには、投光強度及び受光ゲインを最適値に調整できたとして、ステップS106に進んで、基準対象物の一つである白の第2反射面74へ投光したときの受光強度(「基準受光強度RE(白)」という)をメモリ147(図43)に記憶させる。また、次のステップS107で、基準対象物の他の一つである黒の第1反射面73へ投光したときの受光強度(「基準受光強度RE(黒)」という)をメモリ147(図43)に記憶させる。   In the next step S104, it is determined whether or not the light transmission cover 62 is detected. If YES in step S104, the light projection drive unit 150 (FIG. 43) is controlled to reduce the light projection intensity. After reducing the light receiving gain of the light receiving element 22 by reducing the voltage of the power supply circuit 152 (FIG. 43), the process proceeds to step S103 again, and the object is based on the adjusted light projecting intensity and / or light receiving gain. The distance to is measured. When the detection of the light transmission cover 62 is not recognized in step S104, it is determined that the light projection intensity and the light reception gain can be adjusted to the optimum values, and the process proceeds to step S106, where the second white color as one of the reference objects is selected. The received light intensity (referred to as “reference received light intensity RE (white)”) when projected onto the reflecting surface 74 is stored in the memory 147 (FIG. 43). In the next step S107, the received light intensity (referred to as “reference received light intensity RE (black)”) when projected onto the black first reflecting surface 73, which is another reference object, is stored in the memory 147 (FIG. 43).

以上が工場出荷前の手順である。次に、光走査型光電スイッチ1が自律的に検出感度を調整する手順を図54に基づいて説明する。先ず、ステップS200において光軸番号50(白の第1反射面74(図12)へ投光したときに得られる受光強度を取得する。この受光強度は受光部を構成するA/Dコンバータ154(図43)を通じて取得することができる。この取得した受光強度を「実際の受光強度(白)」と呼ぶ。次いで、メモリ147から「基準受光強度RE(白)」を取り込み(ステップS201)、そして次のステップS202で、「実際の受光強度(白)」が「基準受光強度RE(白)」よりも小さいか否かの判定が行われる。このステップS202においてYESと判別されたときには、「実際の受光強度(白)」が低下しているということで、ステップS203に進んで、投光駆動部150(図43)を制御して投光強度を増加及び/又は電源回路152(図43)の電圧を増加させることで受光素子22の受光ゲインを増加させる。そして、次のステップS204で「実際の受光強度(白)」が「基準受光強度RE(白)」よりも大きいか否かの判定が行われ、YESつまり「実際の受光強度(白)」が高くなっているということで、ステップS205に進んで、投光駆動部150(図43)を制御して投光強度を低下及び/又は電源回路152(図43)の電圧を低下させることで受光素子22の受光ゲインを減少させる。   The above is the procedure before factory shipment. Next, the procedure by which the optical scanning photoelectric switch 1 autonomously adjusts the detection sensitivity will be described with reference to FIG. First, in step S200, the optical axis number 50 (the received light intensity obtained when light is projected onto the white first reflecting surface 74 (FIG. 12) is acquired. This received light intensity is the A / D converter 154 ( 43) This acquired light reception intensity is referred to as “actual light reception intensity (white).” Next, “reference light reception intensity RE (white)” is fetched from the memory 147 (step S201), and In the next step S202, it is determined whether or not “actual received light intensity (white)” is smaller than “reference received light intensity RE (white).” When it is determined YES in step S202, “actual light received intensity (white)” is determined. The light reception intensity (white) "of the light source has decreased, the process proceeds to step S203 where the light projection drive unit 150 (FIG. 43) is controlled to increase the light projection intensity and / or the power supply circuit 152 ( 43), the light receiving gain of the light receiving element 22 is increased, and in the next step S204, whether “actual light receiving intensity (white)” is larger than “reference light receiving intensity RE (white)”. NO is determined, that is, YES, that is, “actual light reception intensity (white)” is high, the process proceeds to step S205, and the light projection drive unit 150 (FIG. 43) is controlled to control the light projection intensity. And / or lowering the voltage of the power supply circuit 152 (FIG. 43) reduces the light receiving gain of the light receiving element 22.

次に、光走査型光電スイッチ1が自律的に故障検知する手順を図55に基づいて説明する。ステップS300において光軸番号10(黒の第1反射面73(図12)へ投光したときに得られる受光強度を取得する。この受光強度は受光部を構成するA/Dコンバータ154(図43)を通じて取得することができる。この取得した受光強度を「実際の受光強度(黒)」と呼ぶ。次いで、メモリ147から「基準受光強度RE(黒)」を取り込み(ステップS301)、そして、次のステップS302で、「実際の受光強度(黒)」が「基準受光強度RE(黒)−許容値」よりも小さいか否かの判定が行われる。このステップS302においてYESと判別されたときには、「実際の受光強度(黒)」が異常に低下しているということで、ステップS303に進んで、光走査型光電スイッチ1が故障と判断して、光走査型光電スイッチ1を安全状態へ移行させる。この安全状態の典型的な処理は光走査型光電スイッチ1の出力をOFFに変化させる処理である。また、「実際の受光強度(黒)」が「基準受光強度RE(黒)+許容値」よりも大きいときにもステップS204からステップS303に進んで、光走査型光電スイッチ1が故障と判断して、光走査型光電スイッチ1を安全状態へ移行させる。   Next, the procedure by which the optical scanning photoelectric switch 1 autonomously detects a failure will be described with reference to FIG. In step S300, the received light intensity obtained when light is projected onto the optical axis number 10 (the black first reflecting surface 73 (FIG. 12) is acquired. This received light intensity is the A / D converter 154 (FIG. 43) constituting the light receiving unit. The acquired received light intensity is referred to as “actual received light intensity (black).” Next, “reference received light intensity RE (black)” is fetched from the memory 147 (step S301), and then In step S302, it is determined whether or not “actual received light intensity (black)” is smaller than “reference received light intensity RE (black) −allowable value.” When it is determined YES in step S302, Since the “actual light reception intensity (black)” is abnormally decreased, the process proceeds to step S303, where the optical scanning photoelectric switch 1 is determined to be faulty, and the optical scanning photoelectric switch 1 A typical process in this safe state is a process of changing the output of the optical scanning photoelectric switch 1 to OFF, and “actual light reception intensity (black)” is “reference light reception intensity RE. Even when the value is larger than (black) + allowable value, the process proceeds from step S204 to step S303, where it is determined that the optical scanning photoelectric switch 1 has failed, and the optical scanning photoelectric switch 1 is shifted to a safe state.

1 光走査型光電スイッチ
L1 レーザ光
L2 反射光
LD 投光素子
10 投光レンズ
11、12 投光用ミラー
14 光走査手段(走査ミラー)
20 受光レンズ
21 受光反射体
22 光電変換素子(受光素子)
24 モータ(走査ミラーを駆動)
30 制御手段
DESCRIPTION OF SYMBOLS 1 Optical scanning type photoelectric switch L1 Laser beam L2 Reflected light LD Projection element 10 Projection lens 11, 12 Projection mirror 14 Optical scanning means (scanning mirror)
20 Light receiving lens 21 Light receiving reflector 22 Photoelectric conversion element (light receiving element)
24 motor (drives the scanning mirror)
30 Control means

Claims (7)

光を二次元的に走査して物体を検出すると共に該物体までの距離を計測して該物体の二次元位置を検知する光走査型光電スイッチにおいて、
各光軸の投光タイミングと受光タイミングとの時間差を求める時間差演算手段と、
前記時間差が所定の範囲外であるときに異常と判断する異常判断手段と、
該異常判断手段により異常と判断されたときに、異常が発生したことを示す異常発生情報と、該異常が発生した方位とを関連付けて報知する又は外部へ出力する出力手段とを有することを特徴とする光走査型光電スイッチ。
In an optical scanning photoelectric switch that detects an object by scanning light two-dimensionally and detects a two-dimensional position of the object by measuring a distance to the object,
A time difference calculating means for obtaining a time difference between the light projecting timing and the light receiving timing of each optical axis;
An abnormality determining means for determining an abnormality when the time difference is outside a predetermined range;
An abnormality occurrence information indicating that an abnormality has occurred when the abnormality determination means determines that an abnormality has occurred, and an output means for informing or outputting the direction in which the abnormality has occurred in association with each other. An optical scanning photoelectric switch.
前記投光タイミングと受光タイミングとの間の時間差が、前記所定の範囲外であって且つ該所定の範囲を規定する時間差の最小値よりも小さいときに、出力をOFF状態に移行させる安全出力制御手段を更に有する、請求項1に記載の光走査型光電スイッチ。   Safety output control for shifting the output to the OFF state when the time difference between the light projection timing and the light reception timing is outside the predetermined range and smaller than the minimum value of the time difference defining the predetermined range The optical scanning photoelectric switch according to claim 1, further comprising means. 前記異常判断手段により異常と判断されたときに、エラー履歴を作成するエラー履歴作成手段と、
該エラー履歴を記憶する記憶手段とを更に有する、請求項1又は2に記載の光走査型光電スイッチ。
An error history creating means for creating an error history when the abnormality judging means determines that an abnormality has occurred;
The optical scanning photoelectric switch according to claim 1, further comprising storage means for storing the error history.
前記出力をOFF状態に移行させたときにオフ履歴を作成するオフ履歴作成手段を更に有し、前記オフ履歴を前記記憶手段に記憶する、請求項3に記載の光走査型光電スイッチ。   The optical scanning photoelectric switch according to claim 3, further comprising an off history creating unit that creates an off history when the output is shifted to an OFF state, and storing the off history in the storage unit. 前記異常判断手段により異常と判断したときに、異常を表示する表示手段を更に有する、請求項2〜4のいずれか一項に記載の光走査型光電スイッチ。   5. The optical scanning photoelectric switch according to claim 2, further comprising a display unit that displays an abnormality when the abnormality determination unit determines that an abnormality has occurred. 請求項1〜5のいずれか一項に記載の光走査型光電スイッチと、該光走査型光電スイッチに接続可能なディスプレイ付き端末とを含み、
該端末に、前記光走査型光電スイッチから受け取った情報によって外乱光の方位をビジュアルで表示するプログラムがインストールされていることを特徴とする外乱光表示装置。
Including the optical scanning photoelectric switch according to any one of claims 1 to 5 and a terminal with a display connectable to the optical scanning photoelectric switch,
A disturbance light display device, wherein a program for visually displaying the direction of disturbance light according to information received from the optical scanning photoelectric switch is installed in the terminal.
前記外乱光の方位の表示が、ユーザの設定により、常時表示されるか、又は常時は非表示であってユーザの選択によって表示される、請求項6に記載の外乱光表示装置。   The disturbance light display device according to claim 6, wherein the display of the direction of the disturbance light is always displayed according to a user setting, or is always hidden and displayed by a user selection.
JP2009021045A 2009-01-31 2009-01-31 Optical scanning photoelectric switch and disturbance light display device incorporating the same Active JP5478085B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009021045A JP5478085B2 (en) 2009-01-31 2009-01-31 Optical scanning photoelectric switch and disturbance light display device incorporating the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009021045A JP5478085B2 (en) 2009-01-31 2009-01-31 Optical scanning photoelectric switch and disturbance light display device incorporating the same

Publications (2)

Publication Number Publication Date
JP2010175486A JP2010175486A (en) 2010-08-12
JP5478085B2 true JP5478085B2 (en) 2014-04-23

Family

ID=42706593

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009021045A Active JP5478085B2 (en) 2009-01-31 2009-01-31 Optical scanning photoelectric switch and disturbance light display device incorporating the same

Country Status (1)

Country Link
JP (1) JP5478085B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6015296B2 (en) * 2012-09-26 2016-10-26 オムロン株式会社 Image processing apparatus, ambient environment estimation method, and ambient environment estimation program
JP6171437B2 (en) * 2013-03-19 2017-08-02 株式会社デンソーウェーブ Security equipment
KR102305785B1 (en) * 2014-12-24 2021-09-29 주식회사 히타치엘지 데이터 스토리지 코리아 Electronic apparatus including distance measuring device
KR102096676B1 (en) * 2014-12-24 2020-04-02 전자부품연구원 2-dimensioal lidar scanner and control device using for vehicle
JP7043174B2 (en) * 2017-02-09 2022-03-29 株式会社プレックス Cloth thrower and cloth deployer
EP3862780B1 (en) * 2020-02-07 2021-12-29 Sick Ag Safety laser scanner and method for front screen monitoring

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3078761B2 (en) * 1997-01-30 2000-08-21 オムロン株式会社 Object detection device
JP3915742B2 (en) * 2003-06-20 2007-05-16 株式会社デンソー Vehicle object recognition device

Also Published As

Publication number Publication date
JP2010175486A (en) 2010-08-12

Similar Documents

Publication Publication Date Title
JP5473044B2 (en) Safety photoelectric switch
JP2010175488A (en) Optical scan type photoelectric switch
US8648292B2 (en) Safety photoelectric switch
JP5478085B2 (en) Optical scanning photoelectric switch and disturbance light display device incorporating the same
JP5572319B2 (en) Safety photoelectric switch
US8069007B2 (en) Light scanning photoelectric switch
US7598484B2 (en) Photoelectric sensor for securing the safety of a work area
JP5393184B2 (en) Safety photoelectric switch
CN104678451B (en) Optical sensor
US8248235B2 (en) Area monitoring sensor
US7696469B2 (en) Safety multi-optical axis photoelectric sensor
US7041962B2 (en) Laser scanning apparatus
US20090295577A1 (en) Area Monitoring Sensor
WO1991010221A1 (en) Machine proximity sensor
CN103257032B (en) For the system of the pixel performance in testing sensor array
JP2017151569A (en) Safety scanner and optical safety system
KR102550578B1 (en) Safety laser scanner and method for front screen monitoring
JP2017150860A (en) Optical safety system
JP5393183B2 (en) Safety photoelectric switch and safety control method using the same
JP5251638B2 (en) Laser distance measuring device
ES2678844T3 (en) Optoelectronic protection device
JP5378479B2 (en) Photoelectric sensor and setting method thereof
JP2010133503A (en) Safety system, muting sensor device and safety sensor device
US20230314574A1 (en) Detecting objects in a monitored zone
JP2005032141A (en) Circumference monitoring system for work vehicles

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130228

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140122

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140210

R150 Certificate of patent or registration of utility model

Ref document number: 5478085

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250