JP3444103B2 - Multi-optical axis photoelectric switch - Google Patents

Multi-optical axis photoelectric switch

Info

Publication number
JP3444103B2
JP3444103B2 JP23192096A JP23192096A JP3444103B2 JP 3444103 B2 JP3444103 B2 JP 3444103B2 JP 23192096 A JP23192096 A JP 23192096A JP 23192096 A JP23192096 A JP 23192096A JP 3444103 B2 JP3444103 B2 JP 3444103B2
Authority
JP
Japan
Prior art keywords
light
light projecting
circuit
elements
optical axis
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.)
Expired - Lifetime
Application number
JP23192096A
Other languages
Japanese (ja)
Other versions
JPH1079657A (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.)
Omron Corp
Original Assignee
Omron 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 Omron Corp filed Critical Omron Corp
Priority to JP23192096A priority Critical patent/JP3444103B2/en
Publication of JPH1079657A publication Critical patent/JPH1079657A/en
Application granted granted Critical
Publication of JP3444103B2 publication Critical patent/JP3444103B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、たとえば、物体
の検出等の用途に用いられる多光軸光電スイッチに関
し、詳しくは、複数の投光手段と、それらの複数の投光
手段のそれぞれに対応する複数の受光手段とを有し、複
数の投光手段が順次選択的に投光した光を複数の受光手
段により受光して検出する多光軸光電スイッチに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-optical axis photoelectric switch used for detecting an object, for example, and more specifically to a plurality of light projecting means and a plurality of light projecting means. The present invention relates to a multi-optical axis photoelectric switch which has a plurality of light receiving means and which receives and detects light sequentially and selectively projected by the plurality of light emitting means.

【0002】[0002]

【従来の技術】所定の領域内において物体の存在の有無
を検出するための装置として、多光軸光電スイッチが従
来から用いられている。一般的に、このような多光軸光
電スイッチは、プレス装置等の所定の作業を行なう作業
用装置の所定箇所に設けられ、所定領域内に人間等の物
体が侵入したか否かを検出する。そして、そのような場
合の多光軸光電スイッチの検出出力は、検出範囲内で物
体の存在を検出した際に、作業の安全を確保するために
作業用装置の動作を停止させるために用いられる。
2. Description of the Related Art A multi-optical axis photoelectric switch has been conventionally used as a device for detecting the presence or absence of an object in a predetermined area. Generally, such a multi-optical axis photoelectric switch is provided at a predetermined location of a working device such as a pressing device that performs a predetermined work, and detects whether an object such as a person has entered a predetermined area. . Then, the detection output of the multi-optical axis photoelectric switch in such a case is used to stop the operation of the working device to ensure the safety of the work when the presence of an object is detected within the detection range. .

【0003】そのような多光軸光電スイッチは、複数の
投光素子と、それらの複数の投光素子のそれぞれに1対
1の対応で対向配置された複数の受光素子とを有してい
る。それらの1対の投光素子および受光素子は、1組ず
つ順次動作状態にされる。すなわち、多光軸光電スイッ
チにおいては、投光素子を1つずつ投光動作させる制御
が行なわれるとともに、それに同期して、対応する受光
素子を検出可能な動作状態にする制御が行なわれる。こ
のように、多光軸光電スイッチでは、複数組の投光素子
および受光素子間において、対応する素子間で順次形成
される複数の光軸を用い、それらの光軸が形成される範
囲内で物体の存在の有無が検出される。
Such a multi-optical axis photoelectric switch has a plurality of light projecting elements and a plurality of light receiving elements which are arranged to face each other in a one-to-one correspondence with the plurality of light projecting elements. . The pair of the light projecting element and the light receiving element are sequentially operated one by one. That is, in the multi-optical axis photoelectric switch, the light emitting elements are controlled to project one by one, and in synchronization therewith, the corresponding light receiving elements are controlled to be in a detectable operating state. As described above, in the multi-optical axis photoelectric switch, a plurality of sets of light emitting elements and light receiving elements are used with a plurality of optical axes sequentially formed between the corresponding elements, and within a range where the optical axes are formed. Presence or absence of an object is detected.

【0004】そして、動作状態にされた受光素子が検出
した光の受光量が所定の基準レベルに満たない場合に
は、動作されている投光素子と受光素子との間の光軸中
に物体が侵入したと判断される。それは、物体が光軸中
に侵入すると、物体の遮光により受光素子の受光量が基
準レベルを下回るからである。
When the amount of light received by the light receiving element in the operating state is less than a predetermined reference level, an object is placed in the optical axis between the light emitting element and the light receiving element in operation. Is determined to have invaded. This is because when an object enters the optical axis, the amount of light received by the light receiving element falls below the reference level due to the light blocking of the object.

【0005】このような多光軸光電スイッチにおいて
は、投光素子を駆動する回路の故障等の投光動作の異常
が発生すると、投光素子が2つ以上同時に投光を行な
う、いわゆる多重投光の状態が生じる場合がある。この
ような多重投光状態が生じると、正常な動作状態にある
投光素子および受光素子の間の光軸を遮光する物体が存
在するのにもかかわらず、異常な投光動作をしている投
光素子の光をその正常な受光素子が検出してしまい、多
光軸光電スイッチが物体の存在を正常に検出できない危
険な状態になるおそれがある。
In such a multi-optical axis photoelectric switch, when an abnormality in the light projecting operation such as a failure of a circuit for driving the light projecting element occurs, two or more light projecting elements simultaneously project light, that is, so-called multiple light projecting. Light conditions may occur. When such a multiple light emitting state occurs, an abnormal light emitting operation is performed despite the existence of an object that blocks the optical axis between the light emitting element and the light receiving element in a normal operating state. The normal light receiving element may detect the light of the light projecting element, and the multi-optical axis photoelectric switch may be in a dangerous state in which the presence of an object cannot be normally detected.

【0006】そのような多重投光状態の発生を検出する
ことが可能な多光軸光電スイッチとしては、次に示すよ
うなものがあった(特開平5−74029号公報)。
As a multi-optical axis photoelectric switch capable of detecting the occurrence of such a multiple projection state, there has been the following one (Japanese Patent Laid-Open No. 5-74029).

【0007】図9は、多重投光状態を検出することが可
能な従来の多光軸光電スイッチの要部の構成を示す回路
図である。この図9には、多光軸光電スイッチにおける
多重投光状態の検出に関連する部分が示されている。
FIG. 9 is a circuit diagram showing a configuration of a main part of a conventional multi-optical axis photoelectric switch capable of detecting a multiple light projection state. FIG. 9 shows a portion related to the detection of the multiple projection state in the multi-optical axis photoelectric switch.

【0008】図9を参照して、この多光軸光電スイッチ
には、複数の投光素子71〜78、複数の駆動回路81
〜88、電流検出回路90および投光制御回路95が含
まれている。また、電流検出回路90には、比較器91
および抵抗素子92が含まれている。複数の投光素子7
1〜78のそれぞれに対応して、複数の駆動回路81〜
88が設けられている。投光素子71〜78の各々は、
発光ダイオードよりなり、そのカソードが、対応する駆
動回路に接続されている。直流の電源電位Vccを受け
る電源ノード93から抵抗素子92を介して投光素子駆
動用の駆動電流が投光素子71〜78のそれぞれのカソ
ードに供給される。
Referring to FIG. 9, in this multi-optical axis photoelectric switch, a plurality of light projecting elements 71 to 78 and a plurality of drive circuits 81 are provided.
˜88, a current detection circuit 90 and a light emission control circuit 95 are included. In addition, the current detection circuit 90 includes a comparator 91.
And a resistance element 92 are included. Multiple light projecting elements 7
1 to 78, a plurality of drive circuits 81 to
88 are provided. Each of the light projecting elements 71 to 78 is
It is composed of a light emitting diode, and its cathode is connected to a corresponding drive circuit. A drive current for driving the light projecting element is supplied to the cathodes of the light projecting elements 71 to 78 from the power supply node 93 receiving the DC power supply potential Vcc via the resistance element 92.

【0009】駆動回路81〜88は、投光制御回路95
により制御され、投光素子71〜78に順次所定の駆動
電流を流す動作を行なう。これにより、投光素子71〜
78が1つずつ順次投光動作を行なう。このため、投光
素子71〜78の正常な投光動作状態においては、1つ
の投光素子から投光を行なうのに必要な駆動電流が投光
素子71〜78のいずれかに供給される。
The drive circuits 81 to 88 are light emission control circuits 95.
The light emitting elements 71 to 78 are sequentially driven by a predetermined drive current. Thereby, the light projecting elements 71 to
78 sequentially performs the light projecting operation one by one. Therefore, in a normal light projecting operation state of the light projecting elements 71 to 78, a drive current required to perform light projecting from one light projecting element is supplied to any of the light projecting elements 71 to 78.

【0010】抵抗素子92と、投光素子71〜78との
間のノードが比較器91の非反転入力端子(+側)に接
続されている。これにより、比較器91は、投光素子7
1〜78に供給される駆動電流により抵抗素子92と投
光素子71〜78との間のノードに生じる電位Viを受
ける。すなわち、投光素子71〜78の駆動電流に対応
する電位が比較器91に供給されるのである。
The node between the resistance element 92 and the light projecting elements 71 to 78 is connected to the non-inverting input terminal (+ side) of the comparator 91. As a result, the comparator 91 causes the light projecting element 7 to
The drive currents supplied to 1 to 78 receive the potential Vi generated at the node between the resistance element 92 and the light projecting elements 71 to 78. That is, the potential corresponding to the drive current of the light projecting elements 71 to 78 is supplied to the comparator 91.

【0011】また、基準電位Vrefを受ける基準電位
ノード94が、比較器91の反転入力端子(−側)に接
続されている。これにより、比較器91は、基準電位V
refを受ける。この基準電位Vrefは、多重投光が
行なわれているか否かを判断するための基準となる電位
であり、多重投光が行なわれていない場合に、駆動電流
により生じる電位Viがこの基準電位Vrefを超えて
下らないような値に設定されている。したがって、多重
投光が行なわれている場合には、電位Viが基準電位V
refを下回る。
A reference potential node 94 that receives the reference potential Vref is connected to the inverting input terminal (-side) of the comparator 91. As a result, the comparator 91 causes the reference potential V
receive ref. This reference potential Vref is a reference potential for determining whether or not multiple light projection is performed, and the potential Vi generated by the drive current when multiple light projection is not performed is the reference potential Vref. It is set to a value that does not fall below. Therefore, when multiple light emission is performed, the potential Vi is equal to the reference potential V.
below ref.

【0012】比較器91は、その出力端子が投光制御回
路95に接続されている。比較器91は、電位Viと、
基準電位Vrefとを比較し、電位Viの方が高い場合
には、出力電位V0 をHレベルにし、基準電位Vref
の方が高い場合には、出力電位V0 をLレベルにする。
このように、電流検出回路90は、投光素子71〜78
に供給される駆動電流を検出し、その駆動電流が通常時
の電流値に相当するか、多重投光時の電流値に相当する
かを示す信号を投光制御回路95に与えるのである。投
光制御回路95は、比較器91の出力電位V0 を受け、
その出力電位V 0 の値に基づいて多重投光が行なわれて
いるか否かを判断し、多重投光が行なわれていると判断
した場合には、駆動回路81〜88を停止させて投光を
中止させる制御を行なう。
The output terminal of the comparator 91 has a light emission control circuit.
It is connected to the path 95. The comparator 91 has a potential Vi and
When the potential Vi is higher than the reference potential Vref
Is the output potential V0To H level, and the reference potential Vref
Is higher, the output potential V0To L level.
As described above, the current detection circuit 90 includes the light projecting elements 71 to 78.
The drive current supplied to the
Corresponding to the current value of, or the current value at the time of multiple light emission
A signal indicating that is given to the light emission control circuit 95. Throw
The light control circuit 95 outputs the output potential V of the comparator 91.0Received,
Its output potential V 0Is based on the value of
It is judged whether or not there is multiple light emission.
In that case, the drive circuits 81 to 88 are stopped to emit light.
Control to stop.

【0013】次に、図9に示された多光軸光電スイッチ
における多重投光の判断方法について説明する。図10
は、図9に示された従来の多光軸光電スイッチの動作を
示すタイミングチャートである。この図10には、図9
に示された電位Viと、出力電位V0 とが時間経過に伴
って示されている。
Next, a method of determining multiple light projections in the multi-optical axis photoelectric switch shown in FIG. 9 will be described. Figure 10
9 is a timing chart showing the operation of the conventional multi-optical axis photoelectric switch shown in FIG. 9. In FIG. 10, FIG.
The potential Vi and the output potential V 0 shown in 1 are shown with the passage of time.

【0014】図10に示されたa〜hは、投光素子71
〜78のそれぞれに対応する動作タイミングを示すもの
であり、たとえば、aのタイミングが投光素子71の動
作タイミングに対応し、hのタイミングが投光素子78
の動作タイミングに対応する。図10には、投光素子7
2および73のそれぞれの2回目の動作タイミング
(b,c)において多重投光が発生した例が示されてい
る。
A to h shown in FIG. 10 are light projecting elements 71.
7 to 78, the timing of a corresponds to the operation timing of the light projecting element 71, and the timing of h corresponds to the light projecting element 78.
It corresponds to the operation timing of. FIG. 10 shows the light projecting element 7
An example in which multiple light projection occurs at the second operation timings (b, c) of 2 and 73 is shown.

【0015】図10を参照して、多重投光が発生してい
ない場合には、1つの投光素子が駆動されることによ
り、その駆動電流によって電位Viが電源電位Vccよ
りも低くかつ基準電位Vrefよりも高い電位に立下が
る。その場合には、出力電位V 0 がHレベルになり、投
光制御回路95は、多重投光が発生していないと判断す
る。一方、多重投光が発生している場合には、2つ以上
の投光素子が駆動されることにより、その駆動電流によ
り電位Viが基準電位Vrefよりも低い電位に立下が
る。その場合には、出力電位V0 がLレベルになり、投
光制御回路95は、多重投光が発生していると判断す
る。このように、従来の多光軸光電スイッチにおいて
は、投光素子の駆動電流を検出し、その駆動電流の大き
さに基づいて、多重投光が発生しているか否かを判断し
ていた。
Referring to FIG. 10, multiple light projection is occurring.
If not, it is possible that one light emitting element is driven.
The drive current causes the potential Vi to be higher than the power source potential Vcc.
Is lower than the reference potential Vref.
It In that case, the output potential V 0Goes to H level and throws
The light control circuit 95 determines that multiple light projection has not occurred.
It On the other hand, if multiple light emission is occurring, two or more
By driving the light emitting element of the
The falling potential Vi becomes lower than the reference potential Vref.
It In that case, the output potential V0Becomes L level and throws
The light control circuit 95 determines that multiple light projection is occurring.
It Thus, in the conventional multi-optical axis photoelectric switch
Detects the drive current of the light projecting element and determines the magnitude of the drive current.
Based on this, it is determined whether multiple light emission is occurring.
Was there.

【0016】[0016]

【発明が解決しようとする課題】しかし、前述したよう
な多重投光状態を検出可能な従来の多光軸光電スイッチ
においては、図9の電流検出回路90の比較器95が故
障する等の原因により、出力電位V0 がHレベルに固定
されてしまった場合には、多重投光状態を検出すること
ができないという問題があった。すなわち、従来の多光
軸光電スイッチにおいては、多重投光状態を検出できる
ものの、多重投光を検出する部分が故障等により異常な
動作を行なうようになった場合に、多重投光を検出でき
ない状態が生じるという問題があった。このように多重
投光状態を検出する部分が異常動作を行なう場合には、
多重投光が検出されないために、多重投光状態が生じた
際に物体が侵入してもその検出が行なえず、危険な状態
が発生するおそれがあった。
However, in the conventional multi-optical axis photoelectric switch capable of detecting the multiple light projecting state as described above, the cause such as the failure of the comparator 95 of the current detection circuit 90 of FIG. 9 is caused. Therefore, when the output potential V 0 is fixed at the H level, there is a problem that the multiple light projection state cannot be detected. That is, in the conventional multi-optical axis photoelectric switch, although the multiple light projection state can be detected, the multiple light projection cannot be detected when the portion detecting the multiple light projection becomes abnormally operated due to a failure or the like. There was a problem that the condition occurred. In this way, when the part that detects the multiple light emission state performs abnormal operation,
Since multiple light projections are not detected, even if an object enters when the multiple light projection state occurs, the detection cannot be performed, which may cause a dangerous state.

【0017】この発明は以上のような問題を解決するた
めになされたものであり、その目的は、多重投光を検出
可能であり、かつ、多重投光の検出動作に異常が生じた
ことを自己診断することが可能な多光軸光電スイッチを
提供することである。
The present invention has been made to solve the above problems, and an object thereof is to detect multiple light projections and to detect an abnormality in the detection operation of the multiple light projections. An object is to provide a multi-optical axis photoelectric switch capable of self-diagnosis.

【0018】[0018]

【課題を解決するための手段】請求項1に記載の発明
は、複数の投光手段と、該複数の投光手段のそれぞれに
対応する複数の受光手段とを有し、前記複数の投光手段
が順次選択的に投光した光を前記複数の受光手段により
受光して検出する多光軸光電スイッチであって、投光個
数異常検出手段および異常検出動作検査手段を含む。
The present invention according to claim 1 has a plurality of light projecting means and a plurality of light receiving means corresponding to each of the plurality of light projecting means, and the plurality of light projecting means. A multi-optical axis photoelectric switch that detects the light that is selectively and sequentially projected by the plurality of light receiving means, and includes a projected light quantity abnormality detecting means and an abnormal detection operation inspection means.

【0019】投光個数異常検出手段は、複数の投光手段
のうちの選択的に投光動作している投光動作中の投光手
段の個数に対応する投光個数対応信号が入力され、その
入力信号に基づいて、正常な投光個数を超えた数の投光
手段の同時投光という異常を検出することが可能であ
る。
The projection number abnormality detecting means receives a projection number corresponding signal corresponding to the number of the projection means which are selectively projecting among the plurality of projection means, On the basis of the input signal, it is possible to detect an abnormality such as simultaneous light projection of a number of light projecting means exceeding the normal number of light projected.

【0020】異常検出動作検査手段は、正常な投光個数
に対応する投光個数対応信号を超える信号を投光個数異
常検出手段に供給することにより、その投光個数異常検
出手段が異常な検出動作を行なうか否かを検査する。
The abnormality detection operation inspection means supplies a signal exceeding the number-of-projected-lights correspondence signal corresponding to the normal number of projected light to the projected-light-number abnormality detecting means, so that the projected-light-number abnormality detecting means detects abnormalities. Check to see if the action is taken.

【0021】このように、投光個数対応信号により、投
光動作中の投光手段の個数を判別することができるの
で、投光個数異常検出手段が、投光個数対応信号に基づ
いて、投光手段の正常な投光個数を超えた数の投光手段
による異常な同時投光を検出することができる。さら
に、正常な投光個数に対応する投光個数対応信号を超え
る異常な信号が検査用の信号として投光個数異常検出手
段に供給されると、その検査用の信号を受けた投光個数
異常検出手段の動作状態をチェックすることにより、投
光個数異常検出手段が正常に検出動作をしているか否か
を判断することが可能である。このため、異常検出動作
検査手段により、投光個数異常検出手段が異常な検出動
作をしているか否かを検査することができる。このた
め、多重投光を検出できることに加えて、多重投光の検
出動作に異常が生じたことを多光軸光電スイッチが自己
診断することができる。
As described above, since the number of light projecting means during the light projecting operation can be discriminated from the light projecting number corresponding signal, the light projecting number abnormality detecting means can project the light projecting number based on the light projecting number corresponding signal. It is possible to detect abnormal simultaneous light projection by a number of light projecting means that exceeds the normal number of light projected by the light means. Further, when an abnormal signal exceeding the number-of-projected-lights-corresponding signal corresponding to the normal number of projected light is supplied to the projected-light-number abnormality detecting means as a signal for inspection, the number of projected light-abnormalities is received in response to the signal for inspection. By checking the operating state of the detecting means, it is possible to determine whether or not the projected light number abnormality detecting means is normally performing the detecting operation. Therefore, the abnormality detection operation inspection means can inspect whether or not the projection number abnormality detection means is performing an abnormal detection operation. Therefore, in addition to being able to detect multiple light projections, the multi-optical axis photoelectric switch can self-diagnose that an abnormality has occurred in the detection operation of multiple light projections.

【0022】請求項2に記載の発明は、複数の投光手段
と、該複数の投光手段のそれぞれに対応する複数の受光
手段とを有し、前記複数の投光手段が順次選択的に投光
した光を前記複数の受光手段により受光して検出する多
光軸検出スイッチであって、個数異常検出手段および非
投光時異常検出手段とを含む。
The invention according to claim 2 has a plurality of light projecting means and a plurality of light receiving means corresponding to each of the plurality of light projecting means, and the plurality of light projecting means are sequentially and selectively selected. A multi-optical axis detection switch that receives and detects the projected light by the plurality of light receiving means, and includes a number abnormality detecting means and a non-light emitting abnormality detecting means.

【0023】投光個数異常検出手段は、前記複数の投光
手段のうちの選択的に投光動作している投光動作中の投
光手段の個数に対応する投光個数対応信号が入力され、
その入力信号に基づいて、正常な投光個数を超えた数の
投光手段の同時投光という異常を検出することが可能で
ある。
The projection number abnormality detecting means receives a projection number corresponding signal corresponding to the number of the projecting means which are selectively projecting among the plurality of projecting means. ,
On the basis of the input signal, it is possible to detect an abnormality such as simultaneous light projection of a number of light projecting means exceeding the normal number of light projected.

【0024】非投光時異常検出手段は前記複数の投光手
段が何ら投光していない非投光動作中であるにもかかわ
らず前記投光手段による電力消費が生じている異常を検
出する。
The non-light-projection abnormality detecting means detects an abnormality in which power is consumed by the light-projecting means despite the non-light-projecting operation in which the plurality of light-projecting means are not projecting light at all. .

【0025】このように、投光個数対応信号により投光
動作中の投光手段の個数を判別することができるため、
投光個数異常検出手段により、投光手段の正常な投光個
数を超えた異常な同時投光を検出することが可能であ
る。さらに、すべての投光手段が何ら投光していない非
投光動作中の状態においては、投光手段による電力消費
が生じないはずである。それにもかかわらず投光手段に
よる電力消費が生じている場合には、投光手段が異常な
投光動作を行なっていることになる。このため、非投光
中の動作状態であるにもかかわらず投光手段による電力
消費が生じている異常を検出する非投光時異常検出手段
により、投光個数異常検出手段が異常な検出動作をして
いること等の異常状態を検出することができる。これに
より、多重投光を検出できることに加えて、多重投光の
検出動作に異常が生じたことを多光軸光電スイッチが自
己診断することができる。
As described above, since the number of light projecting means during the light projecting operation can be determined from the signal corresponding to the number of light projected,
It is possible to detect an abnormal simultaneous light projection exceeding the normal light projection number of the light projection means by the light projection number abnormality detection means. Further, in the non-light-projecting operation state in which all the light projecting means are not projecting light at all, no power consumption by the light projecting means should occur. If power is still consumed by the light projecting means, it means that the light projecting means is performing an abnormal light projecting operation. For this reason, the non-light-emission abnormality detection means for detecting an abnormality in which power is being consumed by the light-projection means despite the operating state during non-light-projection is detected by the light-emission number abnormality detection means. It is possible to detect an abnormal state such as that Thus, in addition to being able to detect multiple light projections, the multi-optical axis photoelectric switch can perform self-diagnosis that an abnormality has occurred in the detection operation of multiple light projections.

【0026】[0026]

【発明の実施の形態】以下に、この発明の実施の形態を
図面に基づいて詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings.

【0027】第1実施形態 図1は、この発明の第1実施形態による多光軸光電スイ
ッチの全体構成を示すブロック図である。以下に示す多
光軸光電スイッチは、たとえば、プレス装置等の所定の
作業を行なう作業用装置に設けられ、所定の領域内への
物体の侵入を検出するために用いられる。
First Embodiment FIG. 1 is a block diagram showing the overall configuration of a multi-optical axis photoelectric switch according to the first embodiment of the present invention. The multi-optical axis photoelectric switch shown below is provided, for example, in a working device such as a pressing device for performing a predetermined work, and is used for detecting an intrusion of an object into a predetermined area.

【0028】図1を参照して、この多光軸光電スイッチ
は、複数の投光素子11〜18、複数の受光素子21〜
28、投光回路3、投光制御回路4、電流検出回路5、
受光制御回路6、増幅回路7、判定回路8および出力回
路9を含む。
Referring to FIG. 1, this multi-optical axis photoelectric switch has a plurality of light projecting elements 11 to 18 and a plurality of light receiving elements 21 to 21.
28, light projecting circuit 3, light projecting control circuit 4, current detecting circuit 5,
A light reception control circuit 6, an amplification circuit 7, a determination circuit 8 and an output circuit 9 are included.

【0029】投光素子11〜18は、各々が発光ダイオ
ードよりなり、1つずつ順次投光を行なう。受光素子2
1〜28は、投光素子11〜18のそれぞれに対応して
設けられており、対応する投光素子から投光された光を
受光する。受光素子21〜28の各々は、フォトダイオ
ードよりなり、受光した光を電気信号に光電変換して出
力する。投光素子11〜18と、受光素子21〜28と
は、1対1の態様で設けられており、対応する投光素子
と、受光素子とは、検出対象の領域内において所定距離
を隔てて対向配置されている。また、隣り合う投光素子
および隣り合う受光素子のそれぞれは、所定間隔で配置
されている。このような8つの投光素子11〜18およ
び8つの受光素子2128により8つの光軸が形成さ
れる。
Each of the light projecting elements 11 to 18 is composed of a light emitting diode and sequentially projects light one by one. Light receiving element 2
Reference numerals 1 to 28 are provided corresponding to the respective light projecting elements 11 to 18, and receive the light projected from the corresponding light projecting elements. Each of the light receiving elements 21 to 28 is composed of a photodiode and photoelectrically converts the received light into an electric signal and outputs the electric signal. The light projecting elements 11 to 18 and the light receiving elements 21 to 28 are provided in a one-to-one manner, and the corresponding light projecting element and the light receiving element are separated by a predetermined distance in the detection target region. It is arranged opposite. Further, each of the adjacent light emitting element and the adjacent light receiving element is arranged at a predetermined interval. Eight optical axes are formed by such eight light projecting elements 11 to 18 and eight light receiving elements 21 to 28.

【0030】投光回路3は、投光素子11〜18を1つ
ずつ順次駆動するための回路であり、投光素子11〜1
8に駆動電流を流すことにより投光回路11〜18を駆
動する。投光素子11〜18に供給される駆動電流は、
電流検出回路5によって検出される。その電流検出回路
5には、さらに、投光回路3から、後述するようなダミ
ーの駆動電流が供給される。したがって、電流検出回路
5は、投光回路11〜18の正規の駆動電流を検出する
とともに、ダミーの駆動電流も検出する。電流検出回路
5の検出出力は、投光制御回路4に供給される。
The light projecting circuit 3 is a circuit for sequentially driving the light projecting elements 11 to 18 one by one.
The light projecting circuits 11 to 18 are driven by supplying a drive current to the light emitting device 8. The drive current supplied to the light projecting elements 11 to 18 is
It is detected by the current detection circuit 5. A dummy drive current, which will be described later, is further supplied to the current detection circuit 5 from the light projecting circuit 3. Therefore, the current detection circuit 5 detects the normal drive current of the light projecting circuits 11 to 18 as well as the dummy drive current. The detection output of the current detection circuit 5 is supplied to the light emission control circuit 4.

【0031】投光制御回路4は、投光素子11〜18の
投光動作を制御するための回路であり、次のような制御
を行なう。投光制御回路4は、投光回路3に対して、投
光素子11〜18を1つずつ順次駆動するための制御信
号と、投光回路3からダミーの駆動電流を出力させるた
めの制御信号とを予め定められたタイミングで供給す
る。さらに、投光制御回路4は、投光素子11〜18
と、受光素子21〜28とを同期して動作させるための
同期信号を受光制御回路6へ供給する。
The light projecting control circuit 4 is a circuit for controlling the light projecting operation of the light projecting elements 11 to 18, and performs the following control. The light projecting control circuit 4 causes the light projecting circuit 3 to sequentially drive the light projecting elements 11 to 18 one by one, and a control signal for causing the light projecting circuit 3 to output a dummy drive current. And are supplied at a predetermined timing. Further, the light projecting control circuit 4 includes the light projecting elements 11-18.
And a synchronization signal for operating the light receiving elements 21 to 28 in synchronization with each other.

【0032】さらに、投光制御回路4は、電流検出回路
5から供給された検出出力に基づいて、投光素子11〜
18の多重投光(2以上の投光素子が同時に投光をする
状態)が行なわれているか否かの判断を行なうととも
に、電流検出回路5が異常な検出動作をしているか否か
の判断を行なう。そして、投光制御回路4は、それらの
2種類の異常状態のいずれかが生じていると判断された
場合に、投光回路3への制御信号の供給を停止し、投光
素子11〜18の投光動作を停止させる制御を行なう。
Further, the light projecting control circuit 4 determines the light projecting elements 11 to 11 based on the detection output supplied from the current detecting circuit 5.
It is determined whether or not 18 multiple light projections (a state in which two or more light projecting elements simultaneously project light) are being performed, and also whether or not the current detection circuit 5 is performing an abnormal detection operation. Do. Then, when it is determined that one of these two types of abnormal states has occurred, the light projecting control circuit 4 stops the supply of the control signal to the light projecting circuit 3, and the light projecting elements 11-18. The control for stopping the light emitting operation of is performed.

【0033】受光制御回路6は、受光素子21〜28に
よる受光の制御を行なうための回路であり、次のような
動作を行なう。受光制御回路6は、投光制御回路4から
供給される同期信号に基づき、投光動作を行なう投光素
子に同期して、対応する受光素子を光が検出可能な状態
に動作させる。これにより、対応する投光素子および受
光素子が1組ずつ順次投光および受光を行なう。さら
に、受光制御回路6は、受光素子21〜28の受光に応
じて供給されてくる受光信号を受けて、その受光信号を
増幅回路7へ供給する。
The light receiving control circuit 6 is a circuit for controlling the light reception by the light receiving elements 21 to 28, and performs the following operation. Based on the synchronization signal supplied from the light projecting control circuit 4, the light receiving control circuit 6 operates the corresponding light receiving element in a light detectable state in synchronization with the light projecting element that performs the light projecting operation. Thus, the corresponding light emitting element and light receiving element perform light emission and light reception one by one, respectively. Further, the light receiving control circuit 6 receives the light receiving signal supplied in response to the light received by the light receiving elements 21 to 28, and supplies the light receiving signal to the amplifier circuit 7.

【0034】増幅回路7は、受光制御回路6から供給さ
れた受光信号を増幅し、その増幅した受光信号を判定回
路8へ供給する。判定回路8では、供給された受光信号
のレベルを、所定の基準レベルと比較し、その比較結果
に基づいて、物体が検出されたか否かの判定を行なう。
すなわち、判定回路8では、受光信号のレベルが基準レ
ベル以上である場合に物体の存在が検出されていない旨
の判定をし、一方、受光信号のレベルが基準レベルより
も低くなった場合に、物体の存在が検出された旨の判定
を行なう。そして、判定回路8は、そのような判定結果
を示す信号を出力回路9へ供給する。出力回路9は、判
定回路8から供給された信号に応答して、この多光軸光
電スイッチが物体を検出したか否かを示す出力信号を外
部へ出力する。
The amplifier circuit 7 amplifies the received light signal supplied from the received light control circuit 6 and supplies the amplified received light signal to the determination circuit 8. The determination circuit 8 compares the level of the received light receiving signal with a predetermined reference level, and determines whether or not an object is detected based on the comparison result.
That is, the determination circuit 8 determines that the presence of an object is not detected when the level of the received light signal is equal to or higher than the reference level, and when the level of the received light signal is lower than the reference level, It is determined that the presence of an object is detected. Then, the determination circuit 8 supplies a signal indicating such a determination result to the output circuit 9. The output circuit 9 outputs an output signal indicating whether or not the multi-optical axis photoelectric switch detects an object in response to the signal supplied from the determination circuit 8.

【0035】このような多光軸光電スイッチが設けられ
た作業用装置では、出力回路9からの出力信号が物体を
検出した旨を示す場合に、たとえば、警報の発報および
作業動作の停止等の作業の安全を確認するための所定の
制御が行なわれる。次に、図1に示された多光軸光電ス
イッチの投光側の部分の詳細な構成について説明する。
図2は、図1に示された第1実施形態による多光軸光電
スイッチの投光側の部分の詳細な構成を示す回路図であ
る。
In the working device provided with such a multi-optical axis photoelectric switch, when the output signal from the output circuit 9 indicates that an object is detected, for example, an alarm is issued and the work operation is stopped. Predetermined control for confirming the safety of the work is performed. Next, a detailed configuration of the light projecting side portion of the multi-optical axis photoelectric switch shown in FIG. 1 will be described.
FIG. 2 is a circuit diagram showing a detailed configuration of a portion on the light projecting side of the multi-optical axis photoelectric switch according to the first embodiment shown in FIG.

【0036】図2を参照して、投光側の回路には、投光
素子11〜18、投光回路3、投光制御回路4、電流検
出回路5、表示回路41および直流電源回路42が含ま
れている。直流電源回路42は、外部電源電位を受ける
電源ノード44から外部電源電位の供給を受け、直流の
電源電位Vccを発生させる。その電源電位Vccは、
投光制御回路4に供給されるとともに、電流検出回路5
を介して投光素子11〜18に供給可能である。さら
に、その電源電位Vccは、受光制御回路6、増幅回路
7、判定回路8および出力回路9等のその他の回路にも
供給される。
Referring to FIG. 2, the light projecting side circuit includes light projecting elements 11 to 18, a light projecting circuit 3, a light projecting control circuit 4, a current detecting circuit 5, a display circuit 41 and a DC power supply circuit 42. include. The DC power supply circuit 42 receives the external power supply potential from the power supply node 44 which receives the external power supply potential, and generates the DC power supply potential Vcc. The power supply potential Vcc is
The current is supplied to the light emission control circuit 4 and the current detection circuit 5
Can be supplied to the light projecting elements 11 to 18 via the. Further, the power supply potential Vcc is also supplied to other circuits such as the light reception control circuit 6, the amplification circuit 7, the determination circuit 8 and the output circuit 9.

【0037】表示回路41は、投光素子11〜18の動
作状態を表示するためのものである。この表示回路41
は、発光ダイオードよりなる発光素子411を含み、電
源ノード43と、投光制御回路4との間に接続されてい
る。表示回路41は、投光制御回路4により表示状態が
制御され、たとえば、投光素子11〜18が投光を行な
っている場合に発光素子411が点灯される。
The display circuit 41 is for displaying the operating states of the light projecting elements 11-18. This display circuit 41
Includes a light emitting element 411 formed of a light emitting diode, and is connected between the power supply node 43 and the light emission control circuit 4. The display state of the display circuit 41 is controlled by the light projecting control circuit 4. For example, the light emitting element 411 is turned on when the light projecting elements 11 to 18 are projecting light.

【0038】投光制御回路4は、出力端子A,B,C,
Dと、入力端子E,Fとを有する。出力端子Bは、第1
の周期でHレベルのパルスが発生する制御信号を出力す
る。出力端子Cは、第2の周期でHレベルのパルスが発
生するクロック信号を出力する。出力端子Aは、出力端
子Cから出力されるクロック信号のパルスが発生するタ
イミング間のタイミングでHレベルのパルスを発生する
制御信号を出力する。出力端子Dは、出力端子Cから出
力されるクロック信号の8個のパルスが発生した後に1
つのHレベルのパルスが発生する制御信号を出力する。
The light emission control circuit 4 has output terminals A, B, C,
D and input terminals E and F. The output terminal B is the first
The control signal for generating the H-level pulse is output in the cycle. The output terminal C outputs a clock signal in which a pulse of H level is generated in the second cycle. The output terminal A outputs a control signal that generates an H-level pulse at a timing between the timings when the pulse of the clock signal output from the output terminal C occurs. The output terminal D is set to 1 after the eight pulses of the clock signal output from the output terminal C are generated.
It outputs a control signal generated by two H-level pulses.

【0039】投光回路3は、メイン投光回路3a、サブ
投光回路3bおよびダミー投光回路33を含む。メイン
投光回路3aと、サブ投光回路3bとは、直列に接続さ
れている。メイン投光回路3aは、投光素子11〜14
を動作させるための回路であり、シフトレジスタ321
〜324、AND回路311〜314および駆動回路3
01〜304を含む。サブ投光回路3bは、投光素子1
5〜18を動作させるための回路であり、シフトレジス
タ325〜328、AND回路315〜318および駆
動回路305〜308を含む。
The light projecting circuit 3 includes a main light projecting circuit 3a, a sub light projecting circuit 3b and a dummy light projecting circuit 33. The main light projecting circuit 3a and the sub light projecting circuit 3b are connected in series. The main light projecting circuit 3a includes light projecting elements 11-14.
Circuit for operating the shift register 321
To 324, AND circuits 311 to 314, and drive circuit 3
01-304 are included. The sub light projecting circuit 3b includes the light projecting element 1
It is a circuit for operating 5 to 18 and includes shift registers 325 to 328, AND circuits 315 to 318, and drive circuits 305 to 308.

【0040】投光素子11に対応して、駆動回路30
1、AND回路311およびシフトレジスタ321が設
けられている。投光素子12に対応して、駆動回路30
2、AND回路312およびシフトレジスタ322が設
けられている。投光素子13に対応して、駆動回路30
3、AND回路313およびシフトレジスタ323が設
けられている。投光素子14に対応して、駆動回路30
4、AND回路314およびシフトレジスタ324が設
けられている。投光素子15に対応して、駆動回路30
5、AND回路315およびシフトレジスタ325が設
けられている。投光素子16に対応して、駆動回路30
6、AND回路316およびシフトレジスタ326が設
けられている。投光素子17に対応して、駆動回路30
7、AND回路317およびシフトレジスタ327が設
けられている。投光素子18に対応して、駆動回路30
8、AND回路318およびシフトレジスタ328が設
けられている。
A drive circuit 30 corresponding to the light projecting element 11
1, an AND circuit 311 and a shift register 321 are provided. A drive circuit 30 corresponding to the light projecting element 12
2, an AND circuit 312 and a shift register 322 are provided. A drive circuit 30 corresponding to the light projecting element 13
3, an AND circuit 313 and a shift register 323 are provided. A drive circuit 30 corresponding to the light projecting element 14
4, an AND circuit 314 and a shift register 324 are provided. A drive circuit 30 corresponding to the light projecting element 15
5, an AND circuit 315 and a shift register 325 are provided. A drive circuit 30 corresponding to the light projecting element 16
6, an AND circuit 316 and a shift register 326 are provided. A drive circuit 30 corresponding to the light projecting element 17
7, an AND circuit 317 and a shift register 327 are provided. A drive circuit 30 corresponding to the light projecting element 18
8, an AND circuit 318 and a shift register 328 are provided.

【0041】シフトレジスタ321〜328は、シフト
レジスタ321,322,323,324,325,3
26,327,328の順に直列に接続されている。シ
フトレジスタ321〜328は、各々が、クロック信号
が入力されるクロック入力端子(CK1〜CK8)と、
データ信号が入力されるデータ入力端子(D1〜D8)
と、データ信号が出力されるデータ出力端子(Q1〜Q
8)とを有する。各シフトレジスタは、クロック入力端
子にクロック信号を受けた場合に、データ入力端子に受
けた信号のレベルに対応するレベルの信号をデータ出力
端子から出力する。
The shift registers 321 to 328 are shift registers 321, 322, 323, 324, 325 and 3.
26, 327 and 328 are connected in series in this order. Each of the shift registers 321 to 328 has a clock input terminal (CK1 to CK8) to which a clock signal is input,
Data input terminals (D1 to D8) to which data signals are input
And a data output terminal (Q1 to Q
8) and. When receiving a clock signal at the clock input terminal, each shift register outputs a signal of a level corresponding to the level of the signal received at the data input terminal from the data output terminal.

【0042】シフトレジスタ321は、データ入力端子
D1が投光制御回路4の出力端子Bに接続され、データ
出力端子Q1がAND回路311の一方の入力端子およ
びシフトレジスタ322のデータ入力端子D2に接続さ
れ、さらに、クロック入力端子CK1が投光制御回路4
の出力端子Cに接続されている。AND回路311は、
他方の入力端子が投光制御回路4の出力端子Aに接続さ
れており、出力端子が駆動回路301に接続されてい
る。駆動回路301には、投光素子11が接続されてい
る。駆動回路301は、AND回路311から受けた信
号に応じて投光素子11を駆動する。
In the shift register 321, the data input terminal D1 is connected to the output terminal B of the light projecting control circuit 4, and the data output terminal Q1 is connected to one input terminal of the AND circuit 311 and the data input terminal D2 of the shift register 322. Further, the clock input terminal CK1 is connected to the projection control circuit 4
Is connected to the output terminal C of. The AND circuit 311 is
The other input terminal is connected to the output terminal A of the light emission control circuit 4, and the output terminal is connected to the drive circuit 301. The light projecting element 11 is connected to the drive circuit 301. The drive circuit 301 drives the light projecting element 11 according to the signal received from the AND circuit 311.

【0043】シフトレジスタ322〜328は、各々の
データ入力端子が前段側のシフトレジスタのデータ出力
端子に接続され、各々のデータ出力端子が後段側のシフ
トレジスタのデータ入力端子に接続された態様で直列に
接続されている。ただし、シフトレジスタ328は、デ
ータ出力端子が投光制御回路4の入力端子に接続され
ている。また、シフトレジスタ322〜328は、シフ
トレジスタ321と同様に、クロック入力端子が投光制
御回路4の出力端子Cに接続されている。これにより、
シフトレジスタ321〜328は、出力端子Cから同じ
クロック信号を受ける。
In the shift registers 322 to 328, each data input terminal is connected to the data output terminal of the shift register on the preceding stage side, and each data output terminal is connected to the data input terminal of the shift register on the succeeding stage side. It is connected in series. However, the shift register 328 has a data output terminal connected to the input terminal E of the light projecting control circuit 4. Further, in the shift registers 322 to 328, similarly to the shift register 321, the clock input terminal is connected to the output terminal C of the light emission control circuit 4. This allows
The shift registers 321 to 328 receive the same clock signal from the output terminal C.

【0044】投光素子11以外の投光素子12〜18の
それぞれに対応するシフトレジスタ、AND回路および
駆動回路の接続態様は、前述した投光素子11に対応す
るシフトレジスタ、AND回路および駆動回路の接続態
様と同様である。このため、投光素子11〜18のそれ
ぞれは、対応するシフトレジスタ、AND回路および駆
動回路の動作に従って前述した場合と同様に動作され
る。
The connection mode of the shift register, AND circuit and drive circuit corresponding to each of the light projecting elements 12 to 18 other than the light projecting element 11 is the same as that of the shift register, AND circuit and drive circuit corresponding to the light projecting element 11 described above. This is the same as the connection mode of. Therefore, each of the light projecting elements 11 to 18 operates in the same manner as described above according to the operation of the corresponding shift register, AND circuit, and drive circuit.

【0045】電流検出回路5は、抵抗素子51および比
較器52を含む。投光素子11〜18は、抵抗素子51
を介して直流電源回路42に対して並列に接続されてい
る。投光素子11〜18のうちの選択された投光素子に
駆動電流が供給される。抵抗素子51と、投光素子11
〜18との間のノードが、比較器52の非反転入力端子
(+側)に接続されている。予め定められた基準電位V
refを受ける電位ノード53が、比較器52の反転入
力端子(−側)に接続されている。比較器52の出力端
子が、投光制御回路4の入力端子Fに接続されている。
The current detection circuit 5 includes a resistance element 51 and a comparator 52. The light projecting elements 11 to 18 are resistor elements 51.
Is connected in parallel to the DC power supply circuit 42 via. The drive current is supplied to the selected light projecting element among the light projecting elements 11 to 18. The resistance element 51 and the light projecting element 11
The nodes between 18 and 18 are connected to the non-inverting input terminal (+ side) of the comparator 52. Predetermined reference potential V
A potential node 53 that receives ref is connected to the inverting input terminal (− side) of the comparator 52. The output terminal of the comparator 52 is connected to the input terminal F of the light emission control circuit 4.

【0046】ダミー投光回路33は、投光制御回路4の
出力端子Dと、抵抗素子51との間に接続されており、
投光制御回路4の出力端子Dからの制御信号を受け、そ
の信号に応答して、ダミーの駆動電流を抵抗素子51に
供給する。
The dummy light projecting circuit 33 is connected between the output terminal D of the light projecting control circuit 4 and the resistance element 51.
It receives a control signal from the output terminal D of the light emission control circuit 4, and supplies a dummy drive current to the resistance element 51 in response to the control signal.

【0047】なお、図2においては、4光軸を有するサ
ブ回路3bが1つ設けられている場合を示したが、光軸
数を8光軸よりも多くする場合には、サブ回路3bに加
えて、サブ回路3bと同様の構成を有するサブ回路が適
当な数だけ直列に接続される。
Although FIG. 2 shows the case where one sub-circuit 3b having four optical axes is provided, when the number of optical axes is made larger than eight optical axes, the sub-circuit 3b is provided. In addition, an appropriate number of sub circuits having the same configuration as the sub circuit 3b are connected in series.

【0048】次に、駆動回路301〜308およびダミ
ー投光回路33のそれぞれの構成を説明する。ここで説
明する駆動回路は、駆動回路301を代表例として説明
する。図3は、駆動回路301およびダミー投光回路3
3の構成を示す回路図である。
Next, the respective configurations of the drive circuits 301 to 308 and the dummy light projecting circuit 33 will be described. In the drive circuit described here, the drive circuit 301 will be described as a typical example. FIG. 3 shows the drive circuit 301 and the dummy light projecting circuit 3.
3 is a circuit diagram showing the configuration of FIG.

【0049】まず、駆動回路301を用いて、駆動回路
301〜308の構成を説明する。接地ノードGND
は、接地電位を受ける。AND回路311の出力端子
と、接地ノードGNDとの間に抵抗素子R1および抵抗
素子R2が直列に接続されている。投光素子11のカソ
ードと、接地ノードGNDとの間にトランジスタTR1
および抵抗素子R3が直列に接続されている。トランジ
スタTR1は、NPN型のバイポーラトランジスタであ
り、エミッタ接地形式で投光素子11と、接地ノードG
NDとの間に接続されている。さらに、トランジスタT
R1は、ベースが抵抗素子R1と抵抗素子R2との間の
ノードに接続されている。
First, the configuration of the drive circuits 301 to 308 will be described using the drive circuit 301. Ground node GND
Receives a ground potential. The resistance element R1 and the resistance element R2 are connected in series between the output terminal of the AND circuit 311 and the ground node GND. A transistor TR1 is provided between the cathode of the light projecting element 11 and the ground node GND.
And the resistance element R3 are connected in series. The transistor TR1 is an NPN-type bipolar transistor, and has the emitter-grounded type of the light projecting element 11 and the ground node G.
It is connected to the ND. Furthermore, the transistor T
The base of R1 is connected to the node between the resistance elements R1 and R2.

【0050】次に、ダミー投光回路33の構成を説明す
る。ダミー投光回路33は、AND回路331、トラン
ジスタTR2および抵抗素子R4,R5,R6を含む。
AND回路331は、一方の入力端子が投光制御回路4
の出力端子Dに接続されており、他方の入力端子が予め
定められたHレベルの電位を受ける電位ノード332に
接続されている。AND回路331の出力端子と、接地
ノードGNDとの間に抵抗素子R4および抵抗素子R5
が直列に接続されている。電流検出回路5と、接地ノー
ドGNDとの間にトランジスタTR2および抵抗素子R
6が直列に接続されている。トランジスタTR2は、N
PN型のバイポーラトランジスタであり、エミッタ接地
形式で電流検出回路5と、接地ノードGNDとの間に接
続されている。さらに、トランジスタTR2のベース
が、抵抗素子R4と抵抗素子R5との間のノードに接続
されている。
Next, the structure of the dummy light projecting circuit 33 will be described. The dummy light projecting circuit 33 includes an AND circuit 331, a transistor TR2 and resistance elements R4, R5 and R6.
One input terminal of the AND circuit 331 is the light emission control circuit 4
Output terminal D and the other input terminal is connected to a potential node 332 receiving a predetermined H level potential. A resistance element R4 and a resistance element R5 are provided between the output terminal of the AND circuit 331 and the ground node GND.
Are connected in series. A transistor TR2 and a resistance element R are provided between the current detection circuit 5 and the ground node GND.
6 are connected in series. The transistor TR2 is N
It is a PN type bipolar transistor, and is connected between the current detection circuit 5 and the ground node GND in a grounded-emitter form. Further, the base of the transistor TR2 is connected to the node between the resistance elements R4 and R5.

【0051】次に、図2および図3により示された多光
軸光電スイッチの投光側の回路の動作について説明す
る。図2を参照して、投光制御回路4は、出力端子Cか
らシフトレジスタ321〜328の各々のクロック入力
端子にクロック信号を供給するとともに、出力端子Bか
らシフトレジスタ321のデータ入力端子D1に制御信
号を供給する。これにより、シフトレジスタ321〜3
28が動作状態となる。シフトレジスタ321は、デー
タ入力端子D1に入力されるHレベルの制御信号に応答
して、Hレベルの信号を出力する。一方、その場合のシ
フトレジスタ322〜328の入力信号のレベルはLレ
ベルであるため、シフトレジスタ322〜328の各々
の出力信号はLレベルになる。
Next, the operation of the light projecting side circuit of the multi-optical axis photoelectric switch shown in FIGS. 2 and 3 will be described. Referring to FIG. 2, the light emission control circuit 4 supplies a clock signal from the output terminal C to each clock input terminal of the shift registers 321 to 328, and at the same time, from the output terminal B to the data input terminal D1 of the shift register 321. Supply control signals. As a result, the shift registers 321 to 321
28 becomes an operating state. The shift register 321 outputs an H level signal in response to an H level control signal input to the data input terminal D1. On the other hand, in that case, the level of the input signals of the shift registers 322 to 328 is the L level, so that the output signals of the shift registers 322 to 328 are the L level.

【0052】これにより、AND回路311の一方の入
力端子の入力信号がHレベルとなる。この場合、AND
回路312〜318の各々の一方の入力端子の入力信号
はLレベルである。そして、投光制御回路4の出力端子
Aから出力される制御信号がHレベルになる。それに応
答して、AND回路311〜318のうちのAND回路
311のみにおいて、出力信号がHレベルになる。それ
に応答して、駆動回路301〜308のうちの駆動回路
301のみが動作し、対応する投光素子11に駆動電流
を流す。これにより、投光素子11〜18のうちの1つ
の投光素子11のみが投光動作を行なう。
As a result, the input signal of one input terminal of the AND circuit 311 becomes H level. In this case, AND
The input signal of one of the input terminals of each of the circuits 312 to 318 is at the L level. Then, the control signal output from the output terminal A of the light emission control circuit 4 becomes H level. In response to this, only the AND circuit 311 of the AND circuits 311 to 318 has the output signal at the H level. In response to this, only the drive circuit 301 of the drive circuits 301 to 308 operates to supply a drive current to the corresponding light projecting element 11. As a result, only one of the light projecting elements 11 to 18 performs the light projecting operation.

【0053】ここで、図3を参照して駆動回路301の
動作を説明する。AND回路311の出力信号がHレベ
ルになると、抵抗素子R1と、抵抗素子R2との抵抗分
割に従う分圧により、トランジスタTR1のベースの電
位が所定のレベルになり、トランジスタTR1のベース
・エミッタ間にベース電流が流れる。それに応答して、
トランジスタTR1では、コレクタ・エミッタ間にコレ
クタ電流が流れる。これにより、投光素子11に駆動電
流が流れ、投光素子11が投光動作を行なう。
Here, the operation of the drive circuit 301 will be described with reference to FIG. When the output signal of the AND circuit 311 becomes H level, the potential of the base of the transistor TR1 becomes a predetermined level due to the voltage division according to the resistance division of the resistance element R1 and the resistance element R2, and the base potential of the transistor TR1 is increased. Base current flows. In response,
In the transistor TR1, a collector current flows between the collector and the emitter. As a result, a drive current flows through the light projecting element 11, and the light projecting element 11 performs a light projecting operation.

【0054】このように、投光素子11が投光動作を行
なった後には、クロック信号の次のパルスがシフトレジ
スタ321〜328に供給される。その状態において
は、出力端子Bから出力される制御信号がLレベルにな
っているので、クロック信号のパルスを受けた際にシフ
トレジスタ321からHレベルの信号を受けるシフトレ
ジスタ322のみが、出力信号をHレベルにする。その
後、出力端子Aから出力される制御信号がHレベルにな
る。これにより、AND回路311〜318のうちのA
ND回路312のみが出力信号をHレベルにする。それ
に応答して、駆動回路302が駆動回路301の場合と
同様の動作を行なって、投光素子12に駆動電流を流
し、その駆動電流に応じて、投光素子12のみが投光動
作を行なう。
As described above, after the light projecting element 11 performs the light projecting operation, the next pulse of the clock signal is supplied to the shift registers 321 to 328. In that state, since the control signal output from the output terminal B is at the L level, only the shift register 322 that receives the H level signal from the shift register 321 when receiving the pulse of the clock signal outputs the output signal. To H level. After that, the control signal output from the output terminal A becomes H level. As a result, A of the AND circuits 311 to 318
Only the ND circuit 312 sets the output signal to the H level. In response to this, the drive circuit 302 performs the same operation as in the case of the drive circuit 301, supplies a drive current to the light projecting element 12, and only the light projecting element 12 carries out a light projecting operation according to the drive current. .

【0055】そして、クロック信号およびシフトレジス
タ321〜328の動作に基づき、出力信号をHレベル
にするシフトレジスタが、順次シフトされていき、投光
動作を行なう投光素子が順次シフトされていく。すなわ
ち、最初に出力端子Bからシフトレジスタ321に供給
されたHレベルの制御信号に基づいて、シフトレジスタ
321の出力信号がHレベルになり、その後、クロック
信号のパルスがシフトレジスタ321〜328に供給さ
れるごとに、シフトレジスタ321〜328の順に、出
力信号がHレベルになるシフトレジスタがシフトされて
いく。
Then, based on the clock signal and the operation of the shift registers 321-328, the shift register for setting the output signal to the H level is sequentially shifted, and the light projecting elements for performing the light projecting operation are sequentially shifted. That is, the output signal of the shift register 321 becomes H level based on the H level control signal first supplied from the output terminal B to the shift register 321, and then the pulse of the clock signal is supplied to the shift registers 321 to 328. Each time the shift register is shifted, the shift registers in which the output signal becomes the H level are shifted in the order of the shift registers 321 to 328.

【0056】そして、クロック信号の1つのパルスが出
力されてからその次のパルスが出力されるまでの間に、
出力端子Aから制御信号のパルスが発生される。このた
め、Hレベルの信号を出力するシフトレジスタに対応す
るAND回路の出力信号がHレベルになり、それに応答
して、そのAND回路に対応する駆動回路が、対応する
投光素子を駆動する。これにより、投光素子11〜18
の順に投光動作が行なわれていくのである。
Then, between the output of one pulse of the clock signal and the output of the next pulse,
A pulse of the control signal is generated from the output terminal A. Therefore, the output signal of the AND circuit corresponding to the shift register outputting the H level signal becomes the H level, and in response thereto, the drive circuit corresponding to the AND circuit drives the corresponding light projecting element. Thereby, the light projecting elements 11 to 18
The light emitting operation is performed in the order of.

【0057】そして、最後の投光素子18が投光動作を
行なった後に、出力端子Dの出力信号がHレベルにな
る。ここで、図3を参照して、ダミー投光回路33の動
作を説明する。投光制御回路4の出力端子から出力さ
れる制御信号がHレベルになると、AND回路331の
出力信号がHレベルになり、抵抗素子R4およびR5の
抵抗分割に基づく分圧により、トランジスタTR2のベ
ースの電位が所定電位になる。これにより、トランジス
タTR2のベース・エミッタ間にベース電流が流れ、そ
のベース電流に応じて、トランジスタTR2のコレクタ
・エミッタ間にコレクタ電流が流れる。これにより、電
流検出回路5には、正規の投光動作に基づく駆動電流よ
りも大きいダミーの駆動電流が供給されることになる。
Then, after the last light projecting element 18 carries out the projecting operation, the output signal of the output terminal D becomes H level. Here, the operation of the dummy light projecting circuit 33 will be described with reference to FIG. When the control signal output from the output terminal D of the light emission control circuit 4 becomes H level, the output signal of the AND circuit 331 becomes H level, and the voltage division based on the resistance division of the resistance elements R4 and R5 causes the transistor TR2 to be divided. The electric potential of the base becomes a predetermined electric potential. As a result, a base current flows between the base and emitter of the transistor TR2, and a collector current flows between the collector and emitter of the transistor TR2 according to the base current. As a result, the current detection circuit 5 is supplied with a dummy drive current larger than the drive current based on the normal light projecting operation.

【0058】このように、投光回路3においては、投光
制御回路4から出力される制御信号に応答して、所定周
期で投光素子11〜18の駆動電流を順次発生させ、そ
の後に、ダミーの駆動電流を発生させる。そして、投光
制御回路4の制御により、投光回路3が、そのような動
作を繰返し実行する。すなわち、投光回路3は、一連の
正規の投光動作を実行するごとに、ダミーの駆動電流を
1回発生させる。
As described above, in the light projecting circuit 3, in response to the control signal output from the light projecting control circuit 4, the drive currents of the light projecting elements 11 to 18 are sequentially generated at a predetermined cycle, and thereafter, Generate a dummy drive current. Then, under the control of the light projecting control circuit 4, the light projecting circuit 3 repeatedly executes such an operation. That is, the light projecting circuit 3 generates a dummy drive current once each time a series of regular light projecting operations are executed.

【0059】次に、電流検出回路5の動作を説明する。
電流検出回路5においては、駆動電流に応じて電位Vi
が比較器52の非反転入力端子に供給される。ここで、
電位Viの値は、電源電位Vccから抵抗素子51の電
圧分だけ電圧降下した電位であるため、駆動電流の値が
大きくなるに従って低くなる。比較器52では、非反転
入力端子に供給される電位Viと、反転入力端子に供給
される基準電位Vrefとを比較し、電位Viが基準電
位Vref以上である場合に、出力電位V0 をHレベル
にし、それ以外の場合に、出力電位V0 をLレベルにす
る。
Next, the operation of the current detection circuit 5 will be described.
In the current detection circuit 5, the potential Vi is changed according to the drive current.
Are supplied to the non-inverting input terminal of the comparator 52. here,
The value of the potential Vi is a potential dropped from the power supply potential Vcc by the voltage of the resistance element 51, and therefore decreases as the value of the drive current increases. In the comparator 52, the potential Vi supplied to the non-inverting input terminal is compared with the reference potential Vref supplied to the inverting input terminal, and when the potential Vi is equal to or higher than the reference potential Vref, the output potential V 0 is changed to H. Otherwise, the output potential V 0 is set to L level.

【0060】次に、投光制御回路4の制御動作について
説明する。図4は、第1実施形態による投光制御回路4
の制御動作を示すフローチャートである。
Next, the control operation of the projection control circuit 4 will be described. FIG. 4 shows a light emission control circuit 4 according to the first embodiment.
3 is a flowchart showing the control operation of FIG.

【0061】図4を参照して、まず、ステップS1によ
り、投光素子11〜18の8つの光軸を示す変数である
変数nに「1」をセットする処理がなされる。これによ
り、初期設定値として、第1光軸に対応する「1」が変
数nにセットされる。ここで、投光素子11〜18は、
それぞれ第1光軸〜第8光軸に対応する。次に、ステッ
プS2に進み、第n光軸の投光素子に投光動作を行なわ
せる処理がなされる。次に、ステップS3に進み、第n
光軸が投光動作を行なっている際に駆動電流の過電流が
検出されたか否かの判断がなされる。ここでは、電流検
出回路5の電位Viのレベルが基準電位Vrefのレベ
ルを下回ったか否か出力電位V0 のレベルに基づいてチ
ェックすることにより、多重投光による過電流が検出さ
れたか否かの判断がなされる。すなわち、出力電位V0
のレベルがLレベルである場合には、過剰な駆動電流
(過電流)が流れていることになる。
Referring to FIG. 4, first, in step S1, a process of setting "1" to a variable n which is a variable indicating the eight optical axes of the light projecting elements 11 to 18 is performed. As a result, "1" corresponding to the first optical axis is set to the variable n as the initial setting value. Here, the light projecting elements 11 to 18 are
Each corresponds to the first optical axis to the eighth optical axis. Next, in step S2, a process for causing the light projecting element on the nth optical axis to perform a light projecting operation is performed. Next, in step S3, the nth
It is determined whether or not an overcurrent of the drive current is detected while the optical axis is performing the light projecting operation. Here, whether or not the level of the potential Vi of the current detection circuit 5 is lower than the level of the reference potential Vref is checked based on the level of the output potential V 0 to determine whether or not the overcurrent due to the multiple light projection is detected. Judgment is made. That is, the output potential V 0
When the level of is the L level, an excessive drive current (overcurrent) is flowing.

【0062】ステップS3により過電流が検出されたと
判断された場合には、多重投光が行なわれているものと
みなし、後述するステップS8に進む。一方、ステップ
S3により過電流が検出されていないと判断された場合
には、ステップS4に進み、変数nを「1」だけ加算更
新させる処理がなされる。次に、ステップS5に進み、
最終の光軸である第8光軸の投光が完了したか否かの判
断がなされる。このステップS5では、変数nの値が最
終の光軸である第8光軸に対応する値を超えたか否かを
判断することにより、最終の光軸の投光が完了したか否
かを判断する。ステップS5により最終の光軸の投光が
完了したと判断された場合には、後述するステップS6
に進む。一方、ステップS5により最終の光軸の投光が
完了していないと判断された場合には、ステップS2に
戻り、前述した処理を繰返し行なう。これにより、第1
光軸から第8光軸まで順次投光動作が実行されるととも
に、その投光時に多重投光が行なわれているかの否かの
判断がなされる。
If it is determined in step S3 that an overcurrent has been detected, it is considered that multiple light projection is being performed, and the process proceeds to step S8 described later. On the other hand, if it is determined in step S3 that the overcurrent has not been detected, the process proceeds to step S4, and a process of adding and updating the variable n by "1" is performed. Next, in step S5,
It is determined whether the projection of the eighth optical axis, which is the final optical axis, is completed. In this step S5, it is determined whether or not the projection of the final optical axis is completed by determining whether or not the value of the variable n exceeds the value corresponding to the eighth optical axis which is the final optical axis. To do. When it is determined in step S5 that the projection of the final optical axis is completed, step S6 described below is performed.
Proceed to. On the other hand, when it is determined in step S5 that the projection of the final optical axis is not completed, the process returns to step S2 and the above-described processing is repeated. This makes the first
The light projecting operation is sequentially executed from the optical axis to the eighth optical axis, and it is judged whether or not multiple light projection is performed at the time of the light projecting.

【0063】このような投光動作の制御中において、ス
テップS3により過電流が検出されたと判断された場合
に実行されるステップS8では、投光動作を停止させる
処理が行なわれ、この制御動作が終了する。この場合の
投光を停止させる処理としては、投光制御回路4から投
光回路3への制御信号の供給を停止させる処理が行なわ
れる。このように投光動作が停止されると、受光素子2
1〜28の側では、物体が投光素子11〜18からの光
を遮光したのと同様の検出結果が得られる。したがっ
て、そのような検出結果が得られた場合には、多光軸光
電スイッチが設けられた作業用装置において、物体検出
時と同様の安全確保のための所定の制御が行なわれる。
During the control of the light emitting operation as described above, in step S8 executed when it is determined that the overcurrent is detected in step S3, a process of stopping the light emitting operation is performed, and this control operation is performed. finish. As the process of stopping the light projection in this case, a process of stopping the supply of the control signal from the light projecting control circuit 4 to the light projecting circuit 3 is performed. When the light projecting operation is stopped in this way, the light receiving element 2
On the side of 1 to 28, the same detection result as that when the object blocks the light from the light projecting elements 11 to 18 is obtained. Therefore, when such a detection result is obtained, the work device provided with the multi-optical axis photoelectric switch performs a predetermined control for ensuring safety similar to that at the time of detecting an object.

【0064】また、前述したステップS5により最終の
光軸の投光が完了したと判断された場合は、ステップS
6に進み、ダミー投光回路33を駆動させる処理がなさ
れる。そのダミー投光回路33の駆動により、電流検出
回路5の抵抗素子51にダミーの駆動電流が流れる。次
に、ステップS7に進み、ステップS3の場合と同様
に、過電流が検出されたか否かの判断がなされる。これ
により電流検出回路5が正常に動作しているか否かの検
査をする自己診断が行なわれる。すなわち、過電流が検
出されるはずのダミーの駆動電流が流れているのにもか
かわらず過電流が検出されない場合には、電流検出回路
5が正常に動作していないとみなすことができるのであ
る。また、そのような過電流が検出されない場合には、
ダミー投光回路33が異常な状態になったとみなすこと
もできる。
If it is determined in step S5 that the projection of the final optical axis is completed, step S
In step 6, the process for driving the dummy light projecting circuit 33 is performed. By driving the dummy light projecting circuit 33, a dummy drive current flows through the resistance element 51 of the current detection circuit 5. Next, the process proceeds to step S7, and similarly to the case of step S3, it is determined whether or not the overcurrent is detected. As a result, self-diagnosis is performed to inspect whether the current detection circuit 5 is operating normally. That is, when the overcurrent is not detected although the dummy drive current that should have been detected is flowing, it can be considered that the current detection circuit 5 is not operating normally. . If no such overcurrent is detected,
It can be considered that the dummy light projecting circuit 33 is in an abnormal state.

【0065】ステップS7により過電流が検出されたと
判断された場合は、電流検出回路5が正常に動作してい
るとみなしてステップS1に戻り、前述した処理を繰返
し行ない、投光動作を継続して実行させる。一方、ステ
ップS7により過電流が検出されなかったと判断された
場合は、電流検出回路5が正常に動作していないとみな
し、前述したステップS8に進み、投光動作を停止させ
る動作を行なう。
When it is determined in step S7 that the overcurrent is detected, it is considered that the current detection circuit 5 is operating normally, the process returns to step S1, the above-described processing is repeated, and the light projecting operation is continued. To run. On the other hand, when it is determined in step S7 that the overcurrent has not been detected, it is considered that the current detection circuit 5 is not operating normally, and the process proceeds to step S8 described above to perform the operation of stopping the light projecting operation.

【0066】このように、多重投光が行なわれているこ
とが判断された場合と、そのような多重投光の検出を行
なうための電流検出回路5が正常に動作していないと判
断された場合のような多光軸光電スイッチの異常動作が
生じた場合とには、主に危険な領域への物体の進入を検
出するという多光軸光電スイッチの用途を考慮して、よ
り安全な方向に導くことが可能な処理が行なわれるので
ある。
As described above, it is determined that the multiple light emission is being performed and that the current detection circuit 5 for detecting such multiple light emission is not operating normally. If an abnormal operation of the multi-optical axis photoelectric switch occurs, a safer direction should be considered, mainly considering the application of the multi-optical axis photoelectric switch to detect the entry of an object into a dangerous area. The processing that can lead to

【0067】このように、この第1実施形態による多光
軸光電スイッチにおいては、多重投光が行なわれている
ことが検出できるとともに、そのような多重投光の検出
を行なうための電流検出回路5が正常に動作しているか
否かの自己診断をすることができる。
As described above, in the multi-optical axis photoelectric switch according to the first embodiment, it is possible to detect that multiple light projection is performed, and a current detection circuit for detecting such multiple light projection. It is possible to make a self-diagnosis as to whether or not the 5 is operating normally.

【0068】多重投光の検出を行なうための電流検出回
路5が正常に動作しているか否かの自己診断が行なわ
れ、電流検出回路5に異常な状態が発生した旨の判断が
行なわれた場合に投光動作の停止がされるので、実際に
多重投光が行なわれているのにもかかわらず、電流検出
回路5の故障等の異常な動作により多重投光の状態が検
出されずに、多光軸光電スイッチの検出動作が継続して
実行されるという異常な状態の発生を回避することがで
きる。そのような自己診断ができると、特に、危険な作
業を行なう作業用装置に多光軸光電スイッチが設けられ
た場合には、そのような自己診断により異常な状態が発
生したと判断された場合には、投光動作を停止し、その
停止に応答して作業用装置が停止されるというフェイル
セーフ動作が実現できる。このため、そのような場合に
は、物体が危険な領域に進入したのにもかかわらず、そ
の物体が検出できずに作業用装置の作業が続けられると
いう危険な状態を回避することができる。
A self-diagnosis is made as to whether or not current detection circuit 5 for detecting multiple light projections is operating normally, and it is determined that an abnormal state has occurred in current detection circuit 5. In this case, since the light emitting operation is stopped, the multiple light emitting state is not detected due to an abnormal operation such as a failure of the current detection circuit 5 even though the multiple light emitting is actually performed. It is possible to avoid the occurrence of an abnormal state in which the detection operation of the multi-optical axis photoelectric switch is continuously executed. If such self-diagnosis is possible, especially when a multi-optical axis photoelectric switch is provided in a work device that performs dangerous work, it is determined that an abnormal state has occurred due to such self-diagnosis. Can realize a fail-safe operation in which the light projecting operation is stopped and the working device is stopped in response to the stop. Therefore, in such a case, it is possible to avoid a dangerous state in which the object cannot be detected and the work of the work device is continued even though the object has entered the dangerous area.

【0069】次に、この第1実施形態による多光軸光電
スイッチにおける多重投光の検出の態様および電流検出
回路5の異常動作の自己診断の態様を示すタイミングチ
ャートである。この図5においては、電流検出回路5に
おける電位Viおよび出力電位V0 が時間経過に伴って
示されており、多重投光が発生した例が示されている。
図5に示されたa〜hは、投光素子11〜18のそれぞ
れに対応する動作タイミングを示すものであり、たとえ
ば、aのタイミングが投光素子11の動作タイミングに
対応し、hのタイミングが投光素子18の動作タイミン
グに対応する。図5を参照して、1回目のa〜hのタイ
ミングに示されるように、多重投光が発生しておらず、
電流検出回路5の異常動作が発生していない場合には、
投光素子11〜18が1つずつ順次駆動され、その駆動
のタイミングごとに、駆動電流によって、電位Viが電
源電位Vccよりも低くかつ基準電位Vref以上の電
位に立下がる。その場合には、出力電位V0 がHレベル
になり、投光素子11〜18が正常に動作していると判
断される。
Next, there is shown a timing chart showing a mode of detection of multiple light projections and a mode of self-diagnosis of abnormal operation of the current detection circuit 5 in the multi-optical axis photoelectric switch according to the first embodiment. In FIG. 5, the potential Vi and the output potential V 0 in the current detection circuit 5 are shown over time, and an example in which multiple light projection is generated is shown.
A to h shown in FIG. 5 indicate operation timings corresponding to the respective light projecting elements 11 to 18. For example, the timing of a corresponds to the operation timing of the light projecting element 11 and the timing of h. Corresponds to the operation timing of the light projecting element 18. Referring to FIG. 5, as shown in the timings a to h of the first time, multiple light projection does not occur,
When the abnormal operation of the current detection circuit 5 does not occur,
The light projecting elements 11 to 18 are sequentially driven one by one, and the drive current causes the potential Vi to fall to a potential lower than the power supply potential Vcc and equal to or higher than the reference potential Vref at each drive timing. In that case, the output potential V 0 becomes H level, and it is determined that the light projecting elements 11 to 18 are operating normally.

【0070】そして、1回目のhのタイミングと、2回
目のaのタイミングとの間のタイミングにおいて、ダミ
ーの駆動電流が流れる。その際に、図に示されるように
電位Viが基準電位Vrefよりも低くなり、出力電位
0 がLレベルになった場合には、電流検出回路5の異
常動作が発生していないと判断される。一方、その際
に、電位Viが基準電位Vref以上になり、出力電位
0 がHレベルになった場合には、ダミーの駆動電流が
流れているのにもかかわらず過電流が検出されていない
ことになるので、電流検出回路5が正常に動作していな
いと判断される。
Then, a dummy drive current flows between the first timing h and the second timing a. At this time, when the potential Vi becomes lower than the reference potential Vref and the output potential V 0 becomes L level as shown in the figure, it is determined that the abnormal operation of the current detection circuit 5 has not occurred. It On the other hand, at that time, when the potential Vi becomes the reference potential Vref or more and the output potential V 0 becomes the H level, the overcurrent is not detected although the dummy drive current is flowing. Therefore, it is determined that the current detection circuit 5 is not operating normally.

【0071】また、2回目のdのタイミングに示される
ように、正規の投光動作のタイミングにおいて電位Vi
が基準電位Vrefよりも低くなり、出力電位V0 がL
レベルになった場合には、多重投光が行なわれていると
判断される。
Further, as shown at the timing of the second d, the potential Vi at the timing of the normal light projecting operation.
Becomes lower than the reference potential Vref, and the output potential V 0 is L
When the level is reached, it is determined that multiple light emission is being performed.

【0072】なお、第1実施形態による多光軸光電スイ
ッチにおいては、ダミー投光回路33を投光制御回路4
の出力端子Dからの制御信号により直接的に制御する構
成としたが、これに限らず、ダミー投光回路33は、シ
フトレジスタ321〜328と同様のシフトレジスタお
よびAND回路311〜318と同様のAND回路を用
いて他の駆動回路301〜308と同様に、出力端子
A,B,Cからの出力信号に基づいて制御する構成とし
てもよい。
In the multi-optical axis photoelectric switch according to the first embodiment, the dummy light projecting circuit 33 is used as the light projecting control circuit 4.
However, the dummy light projecting circuit 33 is not limited to this, and the dummy light projecting circuit 33 is similar to the shift registers 321 to 328 and the AND circuits 311 to 318. As with the other drive circuits 301 to 308, the AND circuit may be used to perform control based on the output signals from the output terminals A, B, and C.

【0073】第2実施形態 次に、第2実施形態について説明する。この第2実施形
態においては、複数の投光素子が順次投光を行なう場合
に、その投光時と非投光時との両方のタイミングで異常
が発生しているか否かを検出する例を説明する。
Second Embodiment Next, a second embodiment will be described. In the second embodiment, an example in which when a plurality of light projecting elements sequentially perform light projecting, it is detected whether or not an abnormality has occurred at both the time of projecting and the time of non-projecting explain.

【0074】図6は、第2実施形態による多光軸光電ス
イッチの投光側の部分の詳細な構成を示す回路図であ
る。この図6においては、図2に示された第1実施形態
の回路と共通する部分に同一の参照符号を付す。以下の
説明においては、第1実施形態による多光軸光電スイッ
チと異なる部分を主に説明する。
FIG. 6 is a circuit diagram showing the detailed structure of the light projecting side portion of the multi-optical axis photoelectric switch according to the second embodiment. In FIG. 6, portions common to those of the circuit of the first embodiment shown in FIG. 2 are designated by the same reference numerals. In the following description, parts different from those of the multi-optical axis photoelectric switch according to the first embodiment will be mainly described.

【0075】図6を参照して、この多光軸光電スイッチ
が図2に示された多光軸光電スイッチと異なるのは、ダ
ミー投光回路33が設けられていないこと、電流検出回
路51の構成が図2の電流検出回路5と異なること、お
よび、投光制御回路4の制御動作が異なることである。
Referring to FIG. 6, this multi-optical axis photoelectric switch is different from the multi-optical axis photoelectric switch shown in FIG. 2 in that the dummy light projecting circuit 33 is not provided and that the current detecting circuit 51 includes The configuration is different from that of the current detection circuit 5 in FIG. 2, and the control operation of the light projecting control circuit 4 is different.

【0076】電流検出回路51は、前述した電流検出回
路5と同様に投光素子11〜18の駆動電流を検出する
ためのものである。電流検出回路51は、抵抗素子51
1およびA/D変換回路512を含む。抵抗素子511
は、直流電源回路42と、投光素子11〜18との間に
接続されている。投光制御回路4の入力端子と、抵抗素
子511および投光素子11〜18の間のノードとの間
に、A/D変換回路512が接続されている。このA/
D変換回路512は、抵抗素子511と、投光素子11
〜18との間のノードの電位Viのアナログ値をディジ
タル値に変換し、そのディジタル値により示される出力
電位V0 を投光制御回路4の入力端子Fに供給する。
The current detection circuit 51 is for detecting the drive currents of the light projecting elements 11 to 18 similarly to the current detection circuit 5 described above. The current detection circuit 51 includes a resistance element 51.
1 and an A / D conversion circuit 512. Resistance element 511
Are connected between the DC power supply circuit 42 and the light projecting elements 11 to 18. An A / D conversion circuit 512 is connected between the input terminal of the light projecting control circuit 4 and a node between the resistance element 511 and the light projecting elements 11 to 18. This A /
The D conversion circuit 512 includes a resistance element 511 and a light projecting element 11
The analog value of the electric potential Vi of the node between ˜18 is converted into a digital value, and the output electric potential V 0 indicated by the digital value is supplied to the input terminal F of the light projecting control circuit 4.

【0077】この多光軸光電スイッチにおいては、投光
素子11〜18が1つずつ順次投光動作され、その投光
時の駆動電流および非投光時の駆動電流が電流検出回路
51によって検出され、その検出された駆動電流に対応
する出力電位V0 が投光制御回路4に読込まれる。そし
て、投光制御回路4においては、電流検出回路51から
読込んだ出力電位V0 に基づいて、後述するように、多
重投光が行なわれているか否かの判断と、電流検出回路
51が異常な動作をしているか否かの判断とを行なう。
In this multi-optical axis photoelectric switch, the light projecting elements 11 to 18 are sequentially projected one by one, and the driving current during the projecting and the driving current during the non-projecting are detected by the current detecting circuit 51. Then, the output potential V 0 corresponding to the detected drive current is read into the light projecting control circuit 4. Then, in the light emission control circuit 4, based on the output potential V 0 read from the current detection circuit 51, as will be described later, it is determined whether or not multiple light emission is performed, and the current detection circuit 51 operates. It is determined whether or not the operation is abnormal.

【0078】次に、図6の投光制御回路4の制御動作に
ついて説明する。図7は、図6の投光制御回路4の制御
動作を示すフローチャートである。
Next, the control operation of the projection control circuit 4 of FIG. 6 will be described. FIG. 7 is a flowchart showing the control operation of the light emission control circuit 4 of FIG.

【0079】図7を参照して、まず、投光制御回路4に
含まれるメモリ(ROM)に予め記憶されている駆動電
流の基準値である基準駆動電流Irを読込む処理がなさ
れる。この基準駆動電流Irは、投光素子11〜18の
うちの1つの投光素子が投光動作を行なっている場合に
流れ得る駆動電流を超える所定の電流値に設定されてい
る。すなわち、基準駆動電流Irは、多重投光を検出す
るための基準値に設定されている。
Referring to FIG. 7, first, a process of reading a reference drive current Ir, which is a reference value of the drive current previously stored in a memory (ROM) included in light projection control circuit 4, is performed. The reference drive current Ir is set to a predetermined current value that exceeds the drive current that can flow when one of the light projecting elements 11 to 18 is performing a light projecting operation. That is, the reference drive current Ir is set to a reference value for detecting multiple light projections.

【0080】次に、ステップS12に進み、投光素子1
1〜18の8つの光軸を示す変数である変数nに「1」
をセットする処理がなされる。これにより、初期設定と
して、第1光軸がセットされる。ここで、第1実施形態
の場合と同様に、投光素子11〜18は、それぞれ第1
光軸〜第8光軸に対応する。
Next, in step S12, the light projecting element 1
“1” is assigned to the variable n, which is a variable indicating the eight optical axes 1 to 18
Is set. As a result, the first optical axis is set as the initial setting. Here, as in the case of the first embodiment, the light projecting elements 11 to 18 are respectively the first
It corresponds to the optical axis to the eighth optical axis.

【0081】次に、ステップS13に進み、S12でセ
ットされた第n光軸に対応する投光素子の投光直前にお
ける駆動電流In(nは光軸の番号を示す)を演算によ
り求める処理がなされる。ここでは、電流検出回路51
から読込んだ出力電位V0 に対して所定の演算を行な
い、投光直前のタイミングでの駆動電流Inが求められ
る。
Next, in step S13, the drive current In (n represents the number of the optical axis) immediately before the light projection of the light projecting element corresponding to the nth optical axis set in S12 is calculated. Done. Here, the current detection circuit 51
Predetermined calculation is performed on the output potential V 0 read from to obtain the drive current In at the timing immediately before light projection.

【0082】次に、S14に進み、S13により求めら
れた投光直前の駆動電流Inの値が「0」であるか否か
の判断がなされる。ここで、投光素子11〜18の非投
光時である投光直前においては、駆動電流が流れていな
いはずである。もし、そのような投光直前に駆動電流が
検出された場合には、投光回路3または投光素子11〜
18の故障等の異常な動作により投光素子11〜18の
いずれかが投光を行なっているか、または、電流検出回
路51が故障等により異常な検出動作を行なっていると
みなすことができる。したがって、ステップS14で
は、そのような異常状態を検出するために、投光直前の
駆動電流が「0」であるか否かを判断するのである。
Next, in S14, it is judged whether or not the value of the drive current In immediately before the light emission obtained in S13 is "0". Here, the drive current should not flow immediately before the light projecting, that is, when the light projecting elements 11 to 18 are not projecting light. If a drive current is detected immediately before such light projection, the light projecting circuit 3 or the light projecting elements 11 to 11 is detected.
It can be considered that one of the light projecting elements 11 to 18 is emitting light due to an abnormal operation such as a failure of 18 or the current detecting circuit 51 is performing an abnormal detecting operation due to an error. Therefore, in step S14, in order to detect such an abnormal state, it is determined whether or not the drive current immediately before light emission is "0".

【0083】なお、ステップS13において演算されて
ステップS14において判断される駆動電流Inは、第
n光軸の投光直前に限らず、第n光軸の投光前の非投光
時であればどの時点の駆動電流であってもよい。また、
ステップS13およびステップS14の処理は、1つの
光軸の1回の投光前ごとに行なう場合に限るものではな
く、すべての光軸の一連の投光が1回行なわれる前に1
回ずつ行なうようにしてもよい。
The drive current In calculated in step S13 and determined in step S14 is not limited to immediately before the projection of the nth optical axis, but may be in the non-projection before the projection of the nth optical axis. The drive current at any time may be used. Also,
The processing of steps S13 and S14 is not limited to the case where it is performed every time before one light projection of one optical axis, but is performed before the series of light projections of all the optical axes is performed once.
It may be performed once.

【0084】S14により投光直前の駆動電流Inが
「0」ではないと判断された場合は、異常な動作状態が
発生しているとみなし、ステップS20に進む。ステッ
プS20では、投光動作を停止させる処理が行なわれ、
この制御動作が終了する。この場合の投光動作を停止さ
せる処理としては、投光制御回路4から投光回路3への
制御信号の供給を停止させる処理が行なわれる。このよ
うに投光動作が停止されると、受光素子21〜28の側
では、物体が投光素子からの光を遮光したのと同様の検
出結果が得られる。
If it is determined in S14 that the drive current In immediately before light emission is not "0", it is considered that an abnormal operating state has occurred, and the process proceeds to step S20. In step S20, a process of stopping the light projecting operation is performed,
This control operation ends. As the process of stopping the light projecting operation in this case, a process of stopping the supply of the control signal from the light projecting control circuit 4 to the light projecting circuit 3 is performed. When the light projecting operation is stopped in this way, a detection result similar to that when an object blocks light from the light projecting element is obtained on the side of the light receiving elements 21 to 28.

【0085】一方、ステップS14により投光直前の駆
動電流Inが「0」であると判断された場合には、正常
な動作が行なわれているものとみなし、ステップS15
に進む。ステップS15では、第n光軸に対応する投光
素子に投光動作を行なわせる処理がなされる。次に、ス
テップS16に進み、ステップS15により投光動作が
行なわれたときの駆動電流InをステップS13の場合
と同様の演算により求める処理がなされる。これによ
り、投光時における駆動電流Inが求められる。
On the other hand, if it is determined in step S14 that the drive current In immediately before light emission is "0", it is considered that normal operation is performed, and step S15 is performed.
Proceed to. In step S15, a process for causing the light projecting element corresponding to the nth optical axis to perform the light projecting operation is performed. Next, the process proceeds to step S16, and the drive current In when the light projecting operation is performed in step S15 is calculated by the same calculation as in step S13. Thereby, the drive current In at the time of light projection is obtained.

【0086】次に、ステップS17に進み、ステップS
16により求められた投光時の駆動電流Inが、ステッ
プS11により読込まれた基準駆動電流Irよりも小さ
いか否かの判断がなされる。ここでは、投光時の駆動電
流Inが基準駆動電流Irを下回ったか否かをチェック
することにより、多重投光による過電流が検出されたか
否かの判断がなされる。すなわち、投光時の駆動電流I
nが基準駆動電流Ir以上になった場合には、過剰な駆
動電流が流れており、多重投光が行なわれているとみな
すことができる。ステップS17により投光時の駆動電
流Inが基準駆動電流Ir以上であると判断された場合
は、前述したステップS20に進み、投光動作を停止さ
せる処理が行なわれる。
Then, the process proceeds to step S17, and step S
It is judged whether or not the drive current In at the time of projection obtained by 16 is smaller than the reference drive current Ir read in step S11. Here, it is determined whether or not the overcurrent due to multiple light projection is detected by checking whether or not the drive current In at the time of light projection is below the reference drive current Ir. That is, the drive current I during light projection
When n is equal to or larger than the reference drive current Ir, it can be considered that an excessive drive current is flowing and multiple light projection is being performed. When it is determined in step S17 that the drive current In during light emission is equal to or greater than the reference drive current Ir, the process proceeds to step S20 described above, and the process of stopping the light emission operation is performed.

【0087】このように多重投光が行なわれていること
がステップS17により判断された場合と、ステップS
14について前述したように、非投光時に投光動作が行
なわれていることにより多重投光が行なわれるおそれが
ある場合のような多重投光に関する異常があると判断さ
れた場合と、前述したような電流検出回路51の異常動
作が行なわれていると判断された場合とのような多光軸
光電スイッチの異常動作が生じた場合には、主に危険な
領域への物体の進入を検出するという多光軸光電スイッ
チの用途を考慮して、より安全な方向に導くことが可能
な処理が行なわれるのである。
When it is determined in step S17 that the multiple light emission is performed in this way, and in step S
As described above with reference to No. 14, the case where it is determined that there is an abnormality related to multiple light projection, such as a case where multiple light projection may be performed due to the light projection operation being performed during non-light projection, has been described above. When an abnormal operation of the multi-optical axis photoelectric switch occurs, such as when it is determined that the abnormal operation of the current detection circuit 51 is performed, the entry of an object into a dangerous area is mainly detected. In consideration of the use of the multi-optical axis photoelectric switch, a process that can lead to a safer direction is performed.

【0088】したがって、この第2実施形態による多光
軸光電スイッチにおいては、投光時において、多重投光
が行なわれていることが検出可能であり、さらに、非投
光時において、多重投光の原因になる異常な投光動作が
検出可能であるとともに、多重投光の検出を行なうため
の電流検出回路51が正常に動作しているか否かの検査
をする自己診断が行なわれる。
Therefore, in the multi-optical axis photoelectric switch according to the second embodiment, it is possible to detect that multiple light projection is performed during light projection, and further, multiple light projection is performed during non-light projection. It is possible to detect an abnormal light projecting operation that causes the above phenomenon, and a self-diagnosis is performed to check whether the current detection circuit 51 for detecting multiple light projecting is operating normally.

【0089】このように多重投光の検出を行なうための
電流検出回路51が正常に動作しているか否かの自己診
断が行なわれ、電流検出回路51に異常な状態が発生し
た旨の判断が行なわれた場合に投光動作が停止されるの
で、実際に多重投光が行なわれているにもかかわらず、
電流検出回路51の故障等の異常な動作により多重投光
の状態が検出されずに、多光軸光電スイッチの検出動作
が継続して実行されるという異常な状態の発生を回避す
ることができる。そのような自己診断ができると、特
に、危険な作業を行なう作業用装置に多光軸光電スイッ
チが設けられた場合には、そのような自己診断により異
常な状態が発生したと判断されたときに、投光動作を停
止し、その停止に応答して作業用装置が停止されるとい
うフェイルセーフ動作が実現できる。このため、そのよ
うな場合には、物体が危険な領域に進入したのにもかか
わらず、その物体が検出できずに作業用装置の作業が続
けられるという危険な状態を回避することができる。さ
らに、非投光時の駆動電流の判断により、実際に多重投
光が行なわれる直前に、そのような多重投光状態の発生
を未然に回避することができる。
In this way, a self-diagnosis is made as to whether or not the current detection circuit 51 for detecting multiple light projections is operating normally, and it is judged that an abnormal state has occurred in the current detection circuit 51. Since the light emission operation is stopped when it is performed, despite the fact that multiple light emission is actually performed,
It is possible to avoid the occurrence of an abnormal state in which the state of multiple light projection is not detected due to an abnormal operation such as a failure of the current detection circuit 51 and the detection operation of the multi-optical axis photoelectric switch is continuously executed. . If such self-diagnosis is possible, especially when a multi-optical axis photoelectric switch is provided in a work device that performs dangerous work, it is determined that an abnormal state has occurred due to such self-diagnosis. Moreover, it is possible to realize a fail-safe operation in which the light projecting operation is stopped and the working device is stopped in response to the stop. Therefore, in such a case, it is possible to avoid a dangerous state in which the object cannot be detected and the work of the work device is continued even though the object has entered the dangerous area. Further, by determining the drive current when the light is not projected, it is possible to prevent such a multiple projection state from occurring immediately before the actual multiple projection is performed.

【0090】一方、S17により投光時の駆動電流In
が基準駆動電流Irよりも小さいと判断された場合は、
正常な投光動作が行なわれているものとみなし、S18
に進む。S18では、変数nを「1」だけ加算更新させ
る処理がなされる。次に、ステップS19に進み、最終
の光軸である第8光軸の投光が完了したか否かの判断が
なされる。具体的には、図4の制御動作のステップS5
と同様の処理がなされる。ステップS19により最終の
光軸の投光が完了していないと判断された場合は、S1
3に戻り、前述した処理を繰返し行なう。一方、S19
により最終の光軸の投光が完了したと判断された場合
は、投光素子11〜18の一連の投光動作が終了したも
のと判断し、ステップS12に戻る。これにより、再び
第1光軸から、前述した制御動作が繰返し実行される。
On the other hand, the drive current In at the time of projecting light due to S17
Is determined to be smaller than the reference drive current Ir,
Assuming that normal light emitting operation is being performed, S18
Proceed to. In S18, a process of adding and updating the variable n by "1" is performed. Next, in step S19, it is determined whether the projection of the eighth optical axis, which is the final optical axis, is completed. Specifically, step S5 of the control operation of FIG.
Processing similar to is performed. If it is determined in step S19 that the projection of the final optical axis has not been completed, S1
Returning to step 3, the above-mentioned processing is repeated. On the other hand, S19
When it is determined that the final projection of light on the optical axis is completed, it is determined that the series of projection operations of the projection elements 11 to 18 is completed, and the process returns to step S12. As a result, the above-described control operation is repeatedly executed again from the first optical axis.

【0091】また、図6に示された多光軸光電スイッチ
においては、電流検出回路51が、抵抗素子511およ
びA/D変換回路512のみを含む場合について説明し
たが、これに限らず、電位Viのピーク値を保持するピ
ークホールド回路をA/D変換回路512の入力側に付
加してもよい。このようにピークホールド回路を付加し
た場合には、投光素子11〜18の投光時間が短い場合
において、ピークホールド回路によりアナログ値である
電位Viを所定期間保持することができるので、A/D
変換回路512において、確実にアナログ値をディジタ
ル値に変換することができる。また、図6においては、
A/D変換回路512を投光制御回路4の外側に設けた
が、これに限らず、A/D変換回路512は、投光制御
回路4の内部に設けてもよい。
Further, in the multi-optical axis photoelectric switch shown in FIG. 6, the case where the current detection circuit 51 includes only the resistance element 511 and the A / D conversion circuit 512 has been described, but the present invention is not limited to this. A peak hold circuit that holds the peak value of Vi may be added to the input side of the A / D conversion circuit 512. When the peak hold circuit is added in this way, the peak hold circuit can hold the potential Vi, which is an analog value, for a predetermined period when the light projecting time of the light projecting elements 11 to 18 is short. D
The conversion circuit 512 can surely convert an analog value into a digital value. In addition, in FIG.
Although the A / D conversion circuit 512 is provided outside the light emission control circuit 4, the present invention is not limited to this, and the A / D conversion circuit 512 may be provided inside the light emission control circuit 4.

【0092】次に、第2実施形態による多光軸光電スイ
ッチにおける異常状態の検出の態様について説明する。
Next, a mode of detecting an abnormal state in the multi-optical axis photoelectric switch according to the second embodiment will be described.

【0093】図8は、第2実施形態による多光軸光電ス
イッチにおける異常状態の検出の態様を示すタイミング
チャートである。この図8においては、電流検出回路5
1における電位Vi(∝出力電位V0 )が時間経過に伴
って示されており、多重投光が発生した例が示されてい
る。図8に示されたa〜hは、図5の場合と同様に投光
素子11〜18のそれぞれに対応する動作タイミングを
示す。
FIG. 8 is a timing chart showing a mode of detecting an abnormal state in the multi-optical axis photoelectric switch according to the second embodiment. In FIG. 8, the current detection circuit 5
The potential Vi (∝ output potential V 0 ) at 1 is shown with the passage of time, and an example in which multiple light projection is generated is shown. A to h shown in FIG. 8 indicate operation timings corresponding to the respective light projecting elements 11 to 18 as in the case of FIG.

【0094】図8を参照して、1回目のa〜hのそれぞ
れのタイミングおよび2回目のa,bのそれぞれのタイ
ミングに示されるように、多重投光等の異常状態が発生
していない場合には、投光素子11〜18が1つずつ駆
動されることにより、電位Vi(∝V0 )が電源電位V
ccよりも低く、かつ、投光制御回路4の制御動作にお
いて用いられる基準駆動電流Irに対応する基準電位V
r以上の電位に立下がる。その場合には、投光素子11
〜18が正常に動作していると判断される。
Referring to FIG. 8, when an abnormal state such as multiple light projection does not occur, as shown in the respective timings a to h of the first time and the respective timings a and b of the second time The light-emitting elements 11 to 18 are driven one by one so that the potential Vi (∝V 0 ) becomes the power-source potential V.
Reference potential V lower than cc and corresponding to the reference drive current Ir used in the control operation of the light emission control circuit 4.
It falls to a potential above r. In that case, the light projecting element 11
It is determined that ~ 18 are operating normally.

【0095】そして、2回目のcのタイミングおよび2
回目のdのタイミングにおいて多重投光が行なわれる
と、それらのタイミングにそれぞれ示されるように、電
位Vi(∝V0 )が基準電位Vrよりも低くなる。その
場合には、多重投光による異常動作が発生していると判
断される。また、a〜hのそれぞれのタイミングの間に
おける非投光時のタイミングにおいて、電位Vi(∝V
0 )が電源電位Vcc(駆動電流が0の場合の電位)に
ならない場合には、投光素子11〜18が異常な投光動
作を行なっているか、または、電流検出回路51が故障
等により異常な検出動作を行なっていると判断される。
すなわち、電位Vi(∝V0 )のレベルが、電源電位V
ccのレベルと、基準電位Vrのレベルとの間の範囲内
にあるかぎり、多光軸光電スイッチが正常な動作を行な
っていると判断されるのである。
Then, the second timing c and 2
When the multiple light projection is performed at the timing d of the third time, the potential Vi (∝V 0 ) becomes lower than the reference potential Vr, as shown at those timings. In that case, it is determined that an abnormal operation due to multiple light projection has occurred. Further, at the timing of non-light projection between the timings a to h, the potential Vi (∝V
0 ) does not reach the power supply potential Vcc (potential when the drive current is 0), the light projecting elements 11 to 18 are performing an abnormal light projecting operation, or the current detecting circuit 51 is abnormal due to a failure or the like. It is determined that the detection operation is being performed.
That is, the level of the potential Vi (∝V 0 ) is the power source potential V
As long as it is within the range between the level of cc and the level of the reference potential Vr, it is judged that the multi-optical axis photoelectric switch is operating normally.

【0096】[0096]

【課題を解決するための手段の具体例】[Specific examples of means for solving the problem]

[1] 図1等に示された投光素子11〜18により、
複数の投光手段が構成されている。図1等に示された受
光素子21〜28により、複数の投光手段のそれぞれに
対応する複数の受光手段が構成されている。図2に示さ
れた投光制御回路4および電流検出回路5により、複数
の投光手段のうちの選択的に投光動作している投光動作
中の投光手段の個数に対応する投光個数対応信号(通常
の駆動電流)が入力され、その入力信号に基づいて、正
常な投光個数を超えた数の同時投光(多重投光)という
異常を検出することが可能な投光個数異常検出手段が構
成されている。図2に示された投光制御回路4およびダ
ミー投光回路33によって、正常な投光個数に対応する
投光個数対応信号を超える信号(ダミー駆動電流)を投
光個数異常検出手段に供給することにより、その投光個
数異常検出手段が異常な検出動作を行なうか否かを検査
する異常検出動作検査手段が構成されている。
[1] By the light projecting elements 11 to 18 shown in FIG.
A plurality of light projecting means are configured. The light receiving elements 21 to 28 shown in FIG. 1 and the like constitute a plurality of light receiving means corresponding to each of the plurality of light projecting means. The light projecting control circuit 4 and the current detecting circuit 5 shown in FIG. 2 correspond to the number of light projecting means that are selectively projecting among the plurality of light projecting means. A number of signals (normal drive current) is input, and the number of projections that can detect an abnormal number of simultaneous projections (multiple projections) that exceeds the normal projection number based on the input signal An abnormality detection means is configured. The projection control circuit 4 and the dummy projection circuit 33 shown in FIG. 2 supply a signal (dummy drive current) exceeding the projection number corresponding signal corresponding to the normal projection number to the projection number abnormality detecting means. Thus, the abnormality detection operation inspection means for inspecting whether or not the projection number abnormality detection means performs an abnormal detection operation is configured.

【0097】[2] 図1等に示された投光素子11〜
18により、複数の投光手段が構成されている。図1等
に示された受光素子21〜28により、複数の投光手段
のそれぞれに対応する複数の受光手段が構成されてい
る。図6に示された投光制御回路4および電流検出回路
51により、複数の投光手段のうちの選択的に投光動作
している投光動作中の投光手段の個数に対応する投光個
数対応信号(通常の駆動電流)が入力され、その入力信
号に基づいて、正常な投光個数を超えた数の投光手段の
同時投光(多重投光)という異常を検出することが可能
な投光個数異常検出手段が構成されている。図6に示さ
れた投光制御回路4および電流検出回路51により、複
数の投光手段が何ら投光していない非投光動作中である
にもかかわらず投光手段による電力消費が生じている異
常(駆動電流が流れている異常)を検出する非投光時異
常検出手段が構成されている。
[2] The light projecting elements 11 to 11 shown in FIG.
A plurality of light projecting means is constituted by 18. The light receiving elements 21 to 28 shown in FIG. 1 and the like constitute a plurality of light receiving means corresponding to each of the plurality of light projecting means. The light projecting control circuit 4 and the current detection circuit 51 shown in FIG. 6 correspond to the number of light projecting means during the light projecting operation, which is selectively performing the light projecting operation among the plurality of light projecting means. A number-corresponding signal (normal drive current) is input, and based on the input signal, it is possible to detect abnormalities such as simultaneous light emission (multiple light emission) by a number of light emitting means exceeding the normal light emitting number. And a means for detecting abnormality in the number of emitted light. Due to the light projecting control circuit 4 and the current detecting circuit 51 shown in FIG. 6, power is consumed by the light projecting means even during non-light projecting operation in which the plurality of light projecting means are not projecting at all. Abnormality detection means for non-light projection is configured to detect an abnormal state (abnormality in which a drive current is flowing).

【0098】[3] この発明のその他の特定例 以下に、この発明のその他の特定例を列挙する。[3] Other specific examples of the present invention The other specific examples of the present invention will be listed below.

【0099】(1) 複数の投光手段(投光素子11〜
18)と、該複数の投光手段のそれぞれに対応する複数
の受光手段(受光素子21〜28)とを有し、前記複数
の投光手段が順次選択的に投光した光を前記複数の受光
手段により受光して検出する多光軸光電スイッチであっ
て、前記複数の投光手段を順次選択的に駆動するための
所定の基準電流値以下の駆動電流を前記複数の投光手段
に順次選択的に供給する駆動電流供給手段(駆動回路3
01〜308)と、前記複数の投光手段に供給される駆
動電流を検出するための電流検出手段(電流検出回路
5)と、該電流検出手段に前記基準電流値を超えるダミ
ーの駆動電流を検出対象の駆動電流として供給すること
が可能なダミー電流供給手段(ダミー投光回路33)
と、前記投光手段の投光動作中において前記電流検出手
段により検出された駆動電流が前記基準電流値を超える
場合に、正常な投光個数を超えた数の投光手段の同時投
光という異常が生じたことを判定する第1の判定手段
(ステップS3)と、前記ダミーの駆動電流が前記電流
検出手段に供給されているのにもかかわらず、前記電流
検出手段により検出された駆動電流が前記基準電流値を
超えない場合に、前記電流検出手段の動作に異常が生じ
たことを判定する第2の判定手段(ステップS7)とを
含む、多光軸光電スイッチ。
(1) A plurality of light projecting means (light projecting elements 11 to 11)
18) and a plurality of light receiving means (light receiving elements 21 to 28) corresponding to the plurality of light projecting means, respectively, and the plurality of light projecting means sequentially and selectively project light. A multi-optical axis photoelectric switch that receives and detects light by a light receiving means, wherein a drive current equal to or less than a predetermined reference current value for sequentially selectively driving the plurality of light emitting means is sequentially applied to the plurality of light emitting means. Drive current supply means for selectively supplying (drive circuit 3
01-308), a current detection unit (current detection circuit 5) for detecting the drive current supplied to the plurality of light projecting units, and a dummy drive current exceeding the reference current value to the current detection unit. Dummy current supply means (dummy light projecting circuit 33) that can be supplied as a drive current to be detected
And when the drive current detected by the current detecting means exceeds the reference current value during the light projecting operation of the light projecting means, it is said that the number of light projecting means exceeds the normal number of light projecting simultaneously. First determination means (step S3) for determining that an abnormality has occurred, and the drive current detected by the current detection means despite the dummy drive current being supplied to the current detection means. And a second determination unit (step S7) for determining that the operation of the current detection unit is abnormal when the current does not exceed the reference current value.

【0100】(2) 複数の投光手段(投光素子11〜
18)と、該複数の投光手段のそれぞれに対応する複数
の受光手段(受光素子21〜28)とを有し、前記複数
の投光手段が順次選択的に投光した光を前記複数の受光
手段により受光して検出する多光軸光電スイッチであっ
て、前記複数の投光手段を順次選択的に駆動するための
所定の基準電流値以下の駆動電流を前記複数の投光手段
に順次選択的に供給する駆動電流供給手段(駆動回路3
01〜308)と、前記複数の投光手段に供給される駆
動電流を検出するための電流検出手段(電流検出回路5
1)と、前記投光手段の投光動作中において前記電流検
出手段により検出された駆動電流が前記基準電流値を超
える場合に、正常な投光個数を超えた数の投光手段の同
時投光という異常が生じたことを判定する第1の判定手
段(ステップS16)と、前記複数の投光手段が何ら投
光していない非投光動作中であるにもかかわらず前記電
流検出手段により駆動電流が検出された場合に、前記電
流検出手段の検出動作に異常が生じたことを判定する第
2の判定手段(ステップS14)とを含む、多光軸光電
スイッチ。
(2) A plurality of light projecting means (light projecting elements 11 to 11)
18) and a plurality of light receiving means (light receiving elements 21 to 28) corresponding to the plurality of light projecting means, respectively, and the plurality of light projecting means sequentially and selectively project light. A multi-optical axis photoelectric switch that receives and detects light by a light receiving means, wherein a drive current equal to or less than a predetermined reference current value for sequentially selectively driving the plurality of light emitting means is sequentially applied to the plurality of light emitting means. Drive current supply means for selectively supplying (drive circuit 3
01-308) and a current detection unit (current detection circuit 5) for detecting a drive current supplied to the plurality of light projecting units.
1) and, when the drive current detected by the current detecting means during the light emitting operation of the light emitting means exceeds the reference current value, the number of light emitting means simultaneously exceeds the normal light emitting number. The first determining means (step S16) for determining that an abnormality of light has occurred, and the current detecting means for performing the non-light emitting operation in which the plurality of light emitting means do not emit light at all. A multi-optical axis photoelectric switch, comprising: second determination means (step S14) for determining that an abnormality has occurred in the detection operation of the current detection means when a drive current is detected.

【0101】(3) 前記(1),(2)の多光軸光電
スイッチは、前記第1の異常判定手段または前記第2の
異常判定手段により異常が生じたことを判定した場合
に、前記複数の投光手段による投光動作を停止させる投
光動作停止手段(ステップS8,S20)をさらに含ん
でもよい。
(3) In the multi-optical axis photoelectric switch of (1) and (2), when the occurrence of an abnormality is determined by the first abnormality determining means or the second abnormality determining means, The light emitting device may further include light emitting operation stopping means (steps S8 and S20) for stopping the light emitting operation by the plurality of light emitting means.

【0102】(4) 前記(1)の多光軸光電スイッチ
におけるダミー電流供給手段は、所定周期でダミー電流
を供給してもよい。
(4) The dummy current supply means in the multi-optical axis photoelectric switch of (1) may supply the dummy current at a predetermined cycle.

【0103】(5) 前記(2)の多光軸光電スイッチ
における第2の異常判定手段は、前記複数の投光手段の
それぞれの投光直前の非投光時に判定を行なってもよ
い。
(5) The second abnormality determining means in the multi-optical axis photoelectric switch of (2) may make a determination at the time of non-projection immediately before the projection of each of the plurality of projection means.

【0104】[0104]

【発明の効果】請求項1に記載の発明によれば、投光個
数対応信号が示す投光動作中の投光手段の個数に基づい
て、投光手段の正常な投光個数を超える投光手段の異常
な同時投光を検出することができる。さらに、正常な投
光個数に対応する投光個数対応信号を超える異常な信号
を投光個数異常検出手段に供給し、その投光個数異常検
出手段の動作状態をチェックすることにより、投光個数
異常検出手段が正常に検出動作しているか否かを判断す
ることができる。このため、多重投光を検出できること
に加えて、多重投光の検出動作に異常が生じたことを自
己診断することができる。
According to the first aspect of the present invention, the light projecting means exceeds the normal light projecting number based on the number of the light projecting means during the light projecting operation indicated by the light projecting number corresponding signal. An abnormal simultaneous projection of the means can be detected. Further, by supplying an abnormal signal exceeding the number-of-projected-lights-corresponding signal corresponding to the normal number of projected light to the projected-light-number abnormality detecting means, and checking the operating state of the projected-light-number abnormality detecting means, It is possible to determine whether or not the abnormality detecting means is normally detecting. Therefore, in addition to being able to detect multiple projections, it is possible to perform self-diagnosis that an abnormality has occurred in the detection operation of multiple projections.

【0105】請求項2に記載の発明によれば、投光個数
対応信号により示される投光動作中の投光手段の個数に
基づいて、投光手段の正常な投光個数を超える投光手段
の異常な同時投光を検出することができる。さらに、非
投光中の動作状態であるにもかかわらず、投光手段によ
る電力消費が生じている異常を検出することにより、投
光個数異常検出手段が異常な検出動作をしていること等
の異常状態を検出することができる。このため、多重投
光を検出できることに加えて、多重投光の検出動作に異
常が生じたことを自己診断することができる。
According to the second aspect of the invention, the light projecting means exceeds the normal light projecting number of the light projecting means based on the number of the light projecting means during the light projecting operation indicated by the light projecting number corresponding signal. It is possible to detect the abnormal simultaneous projection of. Further, even though it is in the non-light-emission operating state, it is possible that the light-emission-number abnormality detection unit performs an abnormal detection operation by detecting an abnormality in which power is being consumed by the light-emission unit. The abnormal state of can be detected. Therefore, in addition to being able to detect multiple projections, it is possible to perform self-diagnosis that an abnormality has occurred in the detection operation of multiple projections.

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

【図1】第1実施形態による多光軸光電スイッチの全体
構成を示すブロック図である。
FIG. 1 is a block diagram showing an overall configuration of a multi-optical axis photoelectric switch according to a first embodiment.

【図2】図1に示された多光軸光電スイッチの投光側の
部分の詳細な説明を示す回路図である。
FIG. 2 is a circuit diagram showing a detailed description of a light projecting side portion of the multi-optical axis photoelectric switch shown in FIG.

【図3】図2に示された駆動回路およびダミー投光回路
の詳細な構成を示す回路図である。
FIG. 3 is a circuit diagram showing a detailed configuration of a drive circuit and a dummy light projecting circuit shown in FIG.

【図4】第1実施形態による投光制御回路の制御動作を
示すフローチャートである。
FIG. 4 is a flowchart showing a control operation of a light projection control circuit according to the first embodiment.

【図5】第1実施形態による多光軸光電スイッチにおけ
る多重投光の検出の態様および電流検出回路の異常動作
の自己診断の態様を示すタイミングチャートである。
FIG. 5 is a timing chart showing a mode of detecting multiple light projections and a mode of self-diagnosis of abnormal operation of the current detection circuit in the multi-optical axis photoelectric switch according to the first embodiment.

【図6】第2実施形態による多光軸光電スイッチの投光
側の詳細な構成を示す回路図である。
FIG. 6 is a circuit diagram showing a detailed configuration on a light projecting side of a multi-optical axis photoelectric switch according to a second embodiment.

【図7】第2実施形態による投光制御回路の制御動作を
示すフローチャートである。
FIG. 7 is a flowchart showing a control operation of a light projection control circuit according to a second embodiment.

【図8】第2実施形態による多光軸光電スイッチにおけ
る異常動作の態様を示すタイミングチャートである。
FIG. 8 is a timing chart showing an abnormal operation mode in the multi-optical axis photoelectric switch according to the second embodiment.

【図9】多重投光状態を検出することが可能な従来の多
光軸光電スイッチの要部の構成を示す回路図である。
FIG. 9 is a circuit diagram showing a configuration of a main part of a conventional multi-optical axis photoelectric switch capable of detecting a multiple light projection state.

【図10】図9に示された従来の多光軸光電スイッチの
動作を示すタイミングチャートである。
10 is a timing chart showing an operation of the conventional multi-optical axis photoelectric switch shown in FIG.

【符号の説明】[Explanation of symbols]

3 投光回路 3a メイン回路 3b サブ回路 4 投光制御回路 5,51 電流検出回路 11〜18 投光素子 3 Projection circuit 3a Main circuit 3b sub circuit 4 Projection control circuit 5,51 Current detection circuit 11-18 Projecting element

フロントページの続き (56)参考文献 特開 平5−75421(JP,A) 特開 平6−230145(JP,A) 実開 平5−74029(JP,U) (58)調査した分野(Int.Cl.7,DB名) H03K 17/78 G01V 8/10 G01V 8/20 Continuation of the front page (56) References JP-A-5-75421 (JP, A) JP-A-6-230145 (JP, A) Actual development 5-74029 (JP, U) (58) Fields investigated (Int .Cl. 7 , DB name) H03K 17/78 G01V 8/10 G01V 8/20

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 1つずつ順次投光を行なう複数の投光
と、該複数の投光素子のそれぞれに対応して設けられ
ており対応する投光素子から投光された光を受光する
数の受光素子とを有し、前記複数の投光素子1つずつ
次投光した光を前記複数の受光素子により受光して検
出する多光軸光電スイッチであって、 前記複数の投光素子に1つずつ順次駆動するための駆動
電流を流して検出した検出出力に基づいて、投光素子の
2以上の投光素子が同時に投光をする多重投光が行なわ
れているか否かの異常状態の判断を行なうとともに、 正規の投光動作に基づく駆動電流よりも大きいダミーの
駆動電流が供給され、過電流が検出されたか否かの異常
状態の判断を行ない、 前記2種類の異常状態の判断のいずれかが生じている場
合に投光素子の投光動作を停止させる制御を行なう 多光
軸光電スイッチ。
1. A plurality of projecting elements for sequentially projecting light one by one.
And children, provided corresponding to each of the light projecting elements of the plurality of
And a multiple <br/> number of light receiving elements for receiving the light projected from the light projecting elements corresponding and light the plurality of light emitting elements is <br/> order Tsugito light one by one A multi-optical axis photoelectric switch for receiving and detecting light by the plurality of light receiving elements , the drive being for sequentially driving the plurality of light emitting elements one by one.
Based on the detection output detected by passing an electric current,
Multiple light emission is performed in which two or more light emitting elements emit light at the same time.
It is determined whether or not there is an abnormal state, and a dummy current larger than the drive current based on the normal light emission operation is used.
Abnormality of whether drive current is supplied and overcurrent is detected
If the condition is judged and either of the above two types of abnormal conditions is judged,
A multi-optical axis photoelectric switch that controls to stop the light emitting operation of the light emitting element .
【請求項2】 1つずつ順次投光を行なう複数の投光
と、該複数の投光素子のそれぞれに対応して設けられ
ており対応する投光素子から投光された光を受光する
数の受光素子とを有し、前記複数の投光素子1つずつ
次投光した光を前記複数の受光素子により受光して検
出する多光軸光電スイッチであって、 前記複数の投光素子に1つずつ順次駆動するための駆動
電流を流して検出した検出出力に基づいて、投光素子の
2以上の投光素子が同時に投光をする多重投光が行なわ
れているか否かの異常状態の判断を行なうとともに、 正規の投光動作に基づく駆動電流よりも大きいダミーの
駆動電流が供給され、過電流が検出されたか否かの異常
状態の判断を行ない、 前記複数の投光素子が何ら投光していない非投光動作中
であるにもかかわらず前記投光素子による電力消費が生
じているか否かの異常状態の判断を行ない、 前記3種類の異常状態の判断のいずれかが生じていると
判断された場合に、投光素子の投光動作を停止させる制
御を行なう 多光軸光電スイッチ。
2. A plurality of projecting elements for sequentially projecting one by one.
And children, provided corresponding to each of the light projecting elements of the plurality of
And a multiple <br/> number of light receiving elements for receiving the light projected from the light projecting elements corresponding and light the plurality of light emitting elements is <br/> order Tsugito light one by one A multi-optical axis photoelectric switch for receiving and detecting light by the plurality of light receiving elements , the drive being for sequentially driving the plurality of light emitting elements one by one.
Based on the detection output detected by passing an electric current,
Multiple light emission is performed in which two or more light emitting elements emit light at the same time.
It is determined whether or not there is an abnormal state, and a dummy current larger than the drive current based on the normal light emission operation is used.
Abnormality of whether drive current is supplied and overcurrent is detected
The state is judged to judge whether or not the plurality of light projecting elements are not projecting light, and whether or not power is being consumed by the light projecting elements despite the non-light projecting operation. If any of the above three types of abnormal state judgments have occurred
The control to stop the light emitting operation of the light emitting element when judged.
A multi-optical axis photoelectric switch for controlling.
JP23192096A 1996-09-02 1996-09-02 Multi-optical axis photoelectric switch Expired - Lifetime JP3444103B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23192096A JP3444103B2 (en) 1996-09-02 1996-09-02 Multi-optical axis photoelectric switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23192096A JP3444103B2 (en) 1996-09-02 1996-09-02 Multi-optical axis photoelectric switch

Publications (2)

Publication Number Publication Date
JPH1079657A JPH1079657A (en) 1998-03-24
JP3444103B2 true JP3444103B2 (en) 2003-09-08

Family

ID=16931139

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23192096A Expired - Lifetime JP3444103B2 (en) 1996-09-02 1996-09-02 Multi-optical axis photoelectric switch

Country Status (1)

Country Link
JP (1) JP3444103B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7227120B2 (en) 2004-09-30 2007-06-05 Omron Corporation Area monitoring multi-beam photoelectric sensor
JP5743189B2 (en) * 2011-02-25 2015-07-01 横河電機株式会社 Optical measuring apparatus and optical measuring method

Also Published As

Publication number Publication date
JPH1079657A (en) 1998-03-24

Similar Documents

Publication Publication Date Title
JP3986162B2 (en) Multi-optical axis photoelectric switch capable of detecting multiple projections
JP3213211B2 (en) Photoelectric smoke detector
JPS60126798A (en) Environmental abnormality detector
JP2937504B2 (en) Power supply monitoring circuit
JP3444103B2 (en) Multi-optical axis photoelectric switch
JPH07168983A (en) Smoke sensor and adjusting device therefor
JP3046400B2 (en) Multi-optical axis photoelectric switch
CN217278791U (en) Interface test circuit, chip and system
JP3173727B2 (en) Voltage detection circuit
JPS5893098A (en) Fluorescent display tube protection circuit
JP3168148B2 (en) Photoelectric smoke detector
JP3704560B2 (en) Multi-axis projector
CN1980096B (en) Fault sensor for a laser driver circuit
JP3392908B2 (en) Optical area sensor
JP2002204151A (en) Many optic axes photoelectric sensor
JP4352237B2 (en) Sensor
JP2515125Y2 (en) Multi-optical axis photoelectric switch
JP2004228719A (en) Multiple optical axis photoelectric sensor
JP4445320B2 (en) Multi-axis photoelectric sensor
JP2507755B2 (en) Heater de-energizing circuit for temperature controller
JP3961884B2 (en) Multi-axis photoelectric sensor
JPS6321540A (en) Detection of erroneous adjustment for medium monitor
JPS5942919B2 (en) Safety barrier check device
JPH0629957A (en) Line error rate detection circuit
JPH0529858B2 (en)

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030527

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080627

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090627

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090627

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100627

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100627

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110627

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110627

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120627

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130627

Year of fee payment: 10

EXPY Cancellation because of completion of term