JPH046409A - Photoelectric switch - Google Patents

Photoelectric switch

Info

Publication number
JPH046409A
JPH046409A JP2109704A JP10970490A JPH046409A JP H046409 A JPH046409 A JP H046409A JP 2109704 A JP2109704 A JP 2109704A JP 10970490 A JP10970490 A JP 10970490A JP H046409 A JPH046409 A JP H046409A
Authority
JP
Japan
Prior art keywords
circuit
margin
output
state
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2109704A
Other languages
Japanese (ja)
Other versions
JP2807039B2 (en
Inventor
Katsuhiro Teramae
寺前 勝広
Masakazu Nishikawa
正和 西川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP10970490A priority Critical patent/JP2807039B2/en
Publication of JPH046409A publication Critical patent/JPH046409A/en
Application granted granted Critical
Publication of JP2807039B2 publication Critical patent/JP2807039B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Measurement Of Optical Distance (AREA)
  • Geophysics And Detection Of Objects (AREA)

Abstract

PURPOSE:To ensure the reliability of the display of the allowance of the amount of light by inhibiting the reset of a display state until the next period for judging the presence or absence of a body by an allowance-display setting circuit when the display state is set at the allowance state of the amount of the light during one period for judging the presence or absence of the body. CONSTITUTION:A body-presence judging circuit 6 judges the presence or absence of a body when reflected light R from an object X is higher than the lowest amount of light. An allowance judging circuit 7a judges the fact that there is allowance or there is no allowance, when the judged results as to whether the reflected light R exceeds the amount of the allowance light larger than the lowest amount of the light or not are equal by the specified number of times. An allowance-display setting circuit 7b sets the allowance display based on the result of the judgment of the circuit 6 and the result of the judgment of the circuit 7a. In the circuit 7b, the reset of the display state is inhibited until the next period for judging the presence or absence of the body, when the display state with a display means 9 is set in the allowance state of the amount of the light during one period for judging the presence or absence of the body. Therefore, the sufficient reliability and the stabilized display state are obtained in the judgment of the allowance.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、光ビームを投受光して被検知物体の存在を検
知する反射式光電スイッチに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a reflective photoelectric switch that detects the presence of an object to be detected by emitting and receiving a light beam.

[従来の技術] 第4図は従来の三角測距方式による反射式光電スイッチ
のブロック図を示す。図中、1は投光手段であり、被検
知物体Xに対して光ビームPを投光する。投光手段1は
、半導体レーザー等よりなる発光素子1bを備えており
、この発光素子1bは駆動回路1aにより駆動される。
[Prior Art] FIG. 4 shows a block diagram of a reflective photoelectric switch using a conventional triangulation method. In the figure, 1 is a light projecting means, which projects a light beam P onto an object X to be detected. The light projecting means 1 includes a light emitting element 1b made of a semiconductor laser or the like, and this light emitting element 1b is driven by a drive circuit 1a.

駆動回路1aはタイミング発生回路11が発生するクロ
ックパルスに応じた投光タイミングで発光素子1bに駆
動電流を流すものである0発光素子1bから発せられる
光は凸レンズよりなる投光用光学系21により光ビーム
Pとして検知エリアに投光されるようになっている。
The drive circuit 1a supplies a drive current to the light emitting element 1b at a light emitting timing according to a clock pulse generated by a timing generation circuit 11.The light emitted from the light emitting element 1b is transmitted by a light emitting optical system 21 consisting of a convex lens. The light beam P is projected onto the detection area.

光ビームPか検知エリア内の被検知物体Xに当たると、
反射光Rを生しる。この反射光Rは凸レンズよりなる受
光用光学系22により集光されて、その集光面に配置さ
れた位置検出素子3により受光される。受光用光学系2
2と位置検出素子3は、上記の投光手段1から所定距離
を隔てて側方に配置されている。位置検出素子3は、例
えば、1次元位置検出素子(PSD)や、分割フォトダ
イオードなどにより構成されており、集光スポットの位
置に対応する位置信号1a、 lbを出力する。この位
置信号1a、 lbは相反した信号となっている。
When the light beam P hits the detected object X within the detection area,
Generates reflected light R. This reflected light R is condensed by a light receiving optical system 22 made of a convex lens, and is received by a position detection element 3 arranged on the condensing surface. Light receiving optical system 2
2 and the position detection element 3 are arranged laterally at a predetermined distance from the light projecting means 1. The position detection element 3 is composed of, for example, a one-dimensional position detection element (PSD) or a split photodiode, and outputs position signals 1a and lb corresponding to the position of the focused spot. These position signals 1a and lb are contradictory signals.

この位置検出素子3から構成される装置信号Ia。An apparatus signal Ia composed of this position detection element 3.

1bは演算処理回路4に入力される。演算処理回路4で
は位置信号faJbに基づいて、被検知物体Xが所定の
検知エリアに存在するかどうかを判別すると共に、反射
光Rの光量が十分なレベルか否かを判定する。そのため
に、演算処理回路4は、位置信号12a、1bをそれぞ
れ増幅する第1及び第2の受光回路と、各受光回路の出
力V a 、 V bをそれぞれ対数増幅する第1及び
第2の対数変換回路と一各対数変換回路の出力ff1n
Vaj!nVbの差分を求めることにより等測的に割り
算を行う減算回路と、減算回路の出力Nn(Va、・′
Vb)を第1の基準値Vrと比較する第1の比較回路と
、いずれかの対数変換回路の出力1nVa(又はNnV
b)を第2及び第3の基準値V r 2 、 ’V’ 
r 3とそれぞれ比較する第2及び第3の比較回路とを
備えている。ここて、第1の基準値Vrlは被検知物体
が所定の位置に存在するときの減算回路の出力ff1n
(Va/Vb)に相当する。したがって、第1の比較回
路の出力り、は被検知物体Xが所定の検知エリアに存在
するか否かを判定する物体有無判定出力である。また、
第2の基準値Vr2は被検知物体の有無判定が可能とな
る反射光Rの最低光量に対応しており、第3の基準値■
r3は最低光量よりも少し大きい余裕光量に対応してい
る。したがって、第2の比較回路の出力D2は反射光R
か最低光量よりも大きいか否かを判定する最低光量判定
出力てあり、第3の比較回路の出力D3は反射光Rが余
裕光量よりも大きいか否かを判定する余裕光量判定出力
である。
1b is input to the arithmetic processing circuit 4. Based on the position signal faJb, the arithmetic processing circuit 4 determines whether the detected object X exists in a predetermined detection area, and also determines whether the amount of reflected light R is at a sufficient level. For this purpose, the arithmetic processing circuit 4 includes first and second light receiving circuits that amplify the position signals 12a and 1b, respectively, and first and second logarithmic circuits that logarithmically amplify the outputs V a and V b of each light receiving circuit, respectively. Output ff1n of the conversion circuit and each logarithmic conversion circuit
Vaj! A subtraction circuit that performs division isometrically by calculating the difference of nVb, and an output Nn(Va,・'
A first comparator circuit that compares Vb) with a first reference value Vr and an output 1nVa (or NnV
b) as the second and third reference values V r 2 , 'V'
It is provided with second and third comparison circuits that respectively compare r3. Here, the first reference value Vrl is the output ff1n of the subtraction circuit when the detected object exists at a predetermined position.
It corresponds to (Va/Vb). Therefore, the output of the first comparison circuit is an object presence/absence determination output for determining whether or not the detected object X exists in a predetermined detection area. Also,
The second reference value Vr2 corresponds to the minimum amount of reflected light R that makes it possible to determine the presence or absence of a detected object, and the third reference value
r3 corresponds to a margin light amount that is slightly larger than the minimum light amount. Therefore, the output D2 of the second comparison circuit is the reflected light R
The output D3 of the third comparison circuit is a margin light amount determination output for determining whether the reflected light R is larger than the margin light amount.

この演算処理回路4の出力り、、D2.D3は論理演算
回路10に入力される。論理演算回路10は、タイミン
ク発生回路11から出力されるクロ7クパルスに同期し
て第1〜第3の比較回路の出力DD 2 、 D sを
それぞれラッチする第1〜第3のラッチ5a〜5cを備
えている。第1のラッチ5aは物体有無判定出力D1を
ラッチしており、第2のラッチ5bは最低光量判定出力
D2をラッチしている。
The output of this arithmetic processing circuit 4, D2. D3 is input to the logic operation circuit 10. The logic operation circuit 10 has first to third latches 5a to 5c that latch the outputs DD2 and Ds of the first to third comparison circuits in synchronization with the clock pulse output from the timing generation circuit 11, respectively. It is equipped with The first latch 5a latches the object presence/absence determination output D1, and the second latch 5b latches the minimum light amount determination output D2.

したがって、物体検知判別回路6で第1及び第2のラッ
チ5 a、 5 bの出力の論理積を取れば、SZN比
の確保できた受光レベルでの物体有無判別結果を得るこ
とができる。この物体有無判別結果は出力回路8により
出力される。また、第3のラッチ5cは余裕光量判定出
力D3をラッチしている。
Therefore, by calculating the logical product of the outputs of the first and second latches 5a and 5b in the object detection and discrimination circuit 6, it is possible to obtain an object presence/absence discrimination result at a light reception level that ensures the SZN ratio. The result of this object presence/absence determination is outputted by the output circuit 8. Further, the third latch 5c latches the margin light amount determination output D3.

したがって、物体検知判別回路6の出力と第3のラッチ
5Cの出力に基づいて、上記の出力回路8から出力され
る物体有無判別結果が、余裕光量に基づく判別結果か否
かを判定できる。余裕表示保持回路7では、この余裕判
定を行う。余裕表示保持回路7による余裕判定の結果は
、余裕表示手段9により表示される。余裕表示手段9は
、表示用のLED駆動回路9aと表示用LED9bから
なり、余裕表示保持回路7によって制御される。
Therefore, based on the output of the object detection and discrimination circuit 6 and the output of the third latch 5C, it can be determined whether or not the object presence/absence discrimination result outputted from the output circuit 8 is a discrimination result based on the margin light amount. The margin display holding circuit 7 performs this margin determination. The margin determination result by the margin display holding circuit 7 is displayed by the margin display means 9. The margin display means 9 includes a display LED drive circuit 9a and a display LED 9b, and is controlled by the margin display holding circuit 7.

第5図は従来の論理演算回路10の具体回路例を示して
いる。以下、その回路構成について説明する。
FIG. 5 shows a specific circuit example of the conventional logical operation circuit 10. The circuit configuration will be explained below.

まず、DフリップフロップF1のデータ入力りには、演
算処理回路4からの物体有無判定出力りか入力されてい
る。DフリップフロップF1のクロック人力Cには、タ
イミング発生回路11のクロックパルスT2か入力され
ている。DフリップフロップF1の出力Qに得られる信
号Aは、アンド回路A1の一方の入力とされている。こ
のDフリップフロップF1により、上述の第1のラッチ
5aが構成されている。
First, the object presence/absence determination output from the arithmetic processing circuit 4 is input to the data input of the D flip-flop F1. The clock pulse T2 of the timing generation circuit 11 is input to the clock input C of the D flip-flop F1. The signal A obtained at the output Q of the D flip-flop F1 is input to one side of the AND circuit A1. This D flip-flop F1 constitutes the above-mentioned first latch 5a.

次に、DフリップフロップF2のデータ入力りには、演
算処理回路4からの最低光量判定出力D2が入力されて
いる。DフリップフロップF2のりロック人力Cには、
タイミング発生回路11のクロックパルスT3か入力さ
れている。DフリップフロップF2の出力Qに得られる
信号Bは、アンド回路A]の他方の入力とされると共に
、アント回路A、の一方の入力とされている。このDフ
リップフロップF2により、上述の第2のラッチ5bか
構成されている。
Next, the minimum light amount determination output D2 from the arithmetic processing circuit 4 is input to the data input of the D flip-flop F2. D flip-flop F2 glue lock human power C has
The clock pulse T3 of the timing generation circuit 11 is also input. The signal B obtained at the output Q of the D flip-flop F2 is used as the other input of the AND circuit A], and is also used as one input of the AND circuit A. This D flip-flop F2 constitutes the above-mentioned second latch 5b.

次に、演算処理回路4の余裕光量判定出力D3は、イン
バータ■1に入力されて、論理を反転される。インバー
タ■1から出力される信号Cは、アンド回路A、の他方
の入力とされる。アンド回路A4から出力される信号I
は、DフリップフロップF、のデータ人力りに入力され
る。Dフリップフロラ1F、のクロック人力Cには、ア
ンド回路A、から出力される信号Jが入力されている。
Next, the margin light amount determination output D3 of the arithmetic processing circuit 4 is input to the inverter 1, and its logic is inverted. Signal C output from inverter 1 is input to the other AND circuit A. Signal I output from AND circuit A4
is input to the data output of the D flip-flop F. The signal J output from the AND circuit A is input to the clock C of the D flip processor 1F.

アンド回路A、の一方の入力には、タイミング発生回路
11のクロックパルスT4か入力されている。
The clock pulse T4 of the timing generation circuit 11 is input to one input of the AND circuit A.

アンド回路A5の他方の入力には、アンド回#r A 
sから出力される信号Gが入力されている。これらの回
路により、上述の余裕表示保持回路7が構成されている
。また、Dフリップフロ・ンプF、により、上述の第3
のラッチ5cか構成されている。
The other input of the AND circuit A5 is an AND circuit #r A
A signal G output from s is input. These circuits constitute the margin display holding circuit 7 described above. In addition, the above-mentioned third
The latch 5c is configured as follows.

次に、物体検知判別回路6は、アント回路AA 2 、
 A 3とDフリップフロップF、、F5及びRSフリ
ップフロップF6を備えている。アンド回路Aから出力
される信号りは、アンド回路A6の一方の入力とされる
と共に、Dフリ・ソプフロッ1F4のデータ人力りに入
力されている。Dフリップフロラ1F4の出力Qから得
られる信号Eは、アンド回路A6の他方の入力とされる
と共に、次段のDフリップフロップF、のデータ人力り
に入力されており、さらに、アンド回路A2の一方の入
力とされている。アンド回路A2の他方の入力には、D
フリップフロップF5の出力Qから得られる信号Fが入
力されている。各DフリップフロップF、。
Next, the object detection discrimination circuit 6 includes ant circuit AA 2 ,
It includes A3 and D flip-flops F, , F5 and RS flip-flop F6. The signal outputted from the AND circuit A is input to one side of the AND circuit A6, and is also input to the data output of the D-free sop-flop 1F4. The signal E obtained from the output Q of the D flip-flop 1F4 is input to the other input of the AND circuit A6, and is also input to the data output of the D flip-flop F at the next stage. It is considered as one input. The other input of AND circuit A2 has D
A signal F obtained from the output Q of the flip-flop F5 is input. Each D flip-flop F,.

F5のクロック人力Cには、タイミング発生回路11の
クロックパルスT、が入力されており、各反転出力口は
アンド回路A、に入力されている。
The clock pulse T of the timing generation circuit 11 is input to the clock input C of F5, and each inversion output port is input to the AND circuit A.

アンド回路A 2 、 A :lの出力は、RSSフリ
ップフロラ1Fのセット人力Sとリセット入力Rにそれ
ぞれ入力されている。そして、RSフリップフロップF
6の出力Qから得られる信号Hか、物体有無判別回路6
の出力となる。
The outputs of the AND circuits A 2 and A:l are respectively input to the set input S and reset input R of the RSS flip processor 1F. And RS flip-flop F
Whether the signal H obtained from the output Q of 6 or the object presence/absence determination circuit 6
The output is

第6図は論理演算回路10の動作を示すタイムチャート
である。いま、Dフリップフロ・ンプFF2により構成
されるラッチ5a、5bは、クロックパルスT2.T、
により物体有無判定出力り、と最低光量判定出力D2を
それぞれラッチして記憶する。
FIG. 6 is a time chart showing the operation of the logical operation circuit 10. Now, the latches 5a and 5b constituted by the D flip-flop FF2 receive the clock pulse T2. T,
The object presence/absence determination output D2 and the minimum light amount determination output D2 are respectively latched and stored.

そして、物体有無判別回路6ては、アンド回路Aにより
物体有無判定出力D1と最低光量判定出力D2の論理積
を演算して、その結果をクロックパルスT、に従ってD
フリップフロップF、、F、よりなる2段のシフトレジ
スタに入力し、クロックパルスT、に基づいてシフトし
て記憶させる。このデータシフトが行われるタイミング
は図中の矢印で示しである。
Then, the object presence/absence judgment circuit 6 calculates the logical product of the object presence/absence judgment output D1 and the minimum light intensity judgment output D2 by the AND circuit A, and outputs the result to the clock pulse T,
The signal is input to a two-stage shift register consisting of flip-flops F, , F, and is shifted and stored based on the clock pulse T. The timing at which this data shift is performed is indicated by an arrow in the figure.

次に、アンド回路A2にて各Dフリップフロラ1F、、
F5の出力Qの論理積を取ってRSフリップフロップF
6のセット人力Sとし、アンド回路A3にて各Dフリッ
プフロップF4.F、の反転出力口の論理積を取ってR
SSフリップフロラ1Fのリセット人力Rとすることに
より、同一の検知状態が2回連続して得られたときにR
Sフリッフ゛フロップF6の出力か反転するようにして
いる。したかつて、RSフリップフロップF6から出力
される信号Hは、最低光量以上の反射光RによりS2・
′N比か確保された状態て2回連続して得られた物体有
無判別出力を示しており、この信号Hが出力回路8を介
して出力される。
Next, in the AND circuit A2, each D flip flower 1F, .
The logical product of the output Q of F5 is taken and the RS flip-flop F
6 set manually, and the AND circuit A3 connects each D flip-flop F4. Take the logical product of the inverted output ports of F and get R
By manually resetting the SS flip floor 1F, R will be reset when the same detection state is obtained twice in a row.
The output of the S flip-flop F6 is inverted. Once, the signal H output from the RS flip-flop F6 was caused by the reflected light R exceeding the minimum light intensity to become S2.
This signal H is outputted via the output circuit 8.

一方、余裕光量判定出力D3はインバータ1.によって
反転され、この反転された余裕光量判定出力信号Cと、
ラッチされた最低光量判定出力Bとの論理績I−(Bn
C)がアンド回路A、により演算される。このアンド回
路A4の論理積出力■は、余裕光量判定出力をラッチす
るためのDフリップフロップF3のデータ人力りに入力
されている。
On the other hand, the margin light amount determination output D3 is from the inverter 1. This inverted margin light amount determination output signal C,
Logical result I-(Bn
C) is calculated by AND circuit A. The logical product output (2) of the AND circuit A4 is input to the data output of the D flip-flop F3 for latching the margin light amount determination output.

また、DフリップフロップF3のクロック人力Cには、
アンド回路A1から出力される信号りと、シフトレジス
タを構成するDフリップフロップF4の出力Qから得ら
れる信号Eの論理積G=(DnE)をアンド回路A6に
て演算し、この論理積出力GとクロックパルスT、との
論理積J=(T、nG)をアンド回路A5にて演算して
得られるパルス信号が入力されている。このため、Dフ
1月ンアンプ・ンプF<、Fsのデータ人力りか共にH
igh“ルヘルになったとき、つまり物体”有゛と判定
されたときに、クロックパルスT4のタイミングでアン
ト回路A4の出力■かDフリップフロップF3に余裕光
量の判定結果としてラッチされ、余裕表示の保持に用い
られるようになっている。したがって、物体パ有′”の
判定−結果が得られたときに、余裕表示保持用のデータ
が更新されることになる。これにより、余裕光量以下の
ときには、物体検知の有無に拘わらず余裕表示手段9に
て常に光量不足の警告表示が行われる。
In addition, the clock C of the D flip-flop F3 is
The AND circuit A6 calculates the logical product G=(DnE) of the signal output from the AND circuit A1 and the signal E obtained from the output Q of the D flip-flop F4 constituting the shift register, and outputs the logical product G. A pulse signal obtained by calculating the logical product J=(T, nG) of and clock pulse T in an AND circuit A5 is input. For this reason, both the data of DF1, F<, and Fs are
When it is determined that there is an object, the output of the antenna circuit A4 or the D flip-flop F3 is latched as a judgment result of the margin light amount at the timing of the clock pulse T4, and the margin display is displayed. It is used for holding. Therefore, when the determination result of "object presence" is obtained, the data for holding the margin display is updated.As a result, when the light amount is less than the margin light amount, the margin display is displayed regardless of whether or not an object is detected. The means 9 always displays a warning about the insufficient amount of light.

第6図に示す動作例では、最初の物体有″の検知状態に
おいては、反射光Rが余裕光量以下(ただし、最低光量
以上)であり、余裕光景判定信号Cが°’High”レ
ベルであるので、物体“°有”の検知出力が得られたと
きに、余裕表示手段9の発光ダイオード9bか点灯して
反射光Rが余裕光量以下てあり、光量不足状態であるこ
とか表示される。
In the operation example shown in FIG. 6, in the first object presence detection state, the reflected light R is less than the margin light amount (but more than the minimum light amount), and the margin scene determination signal C is at the °'High" level. Therefore, when a detection output indicating that the object is present is obtained, the light emitting diode 9b of the margin display means 9 lights up to indicate that the reflected light R is below the margin light amount and that the light amount is insufficient.

次に、2番目の物体“有“の検知状態においては、反射
光Rか余裕光量よりも多くなって、光量十分の状態であ
るのて、余裕光量判定結果か“”Low”レベルとなっ
ており、この場合には、物体検知出力か得られたときに
余裕表示手段9の発光タイオート9bが消灯して反射光
Rか余裕光量以上であることが表示される。また、物体
“°無“の検知状態の場合には、余裕表示手段9は前の
表示状態を保持しており、表示状態の更新は物体“有”
の検知出力が得られたときにのみ行われるのて、光量不
足の表示は物体の存在か検知されている時間には関係な
く常に表示される。
Next, in the detection state of the second object "presence", the reflected light R is greater than the margin light amount, and since the light amount is sufficient, the margin light amount judgment result is "Low" level. In this case, when the object detection output is obtained, the light emission indicator 9b of the margin display means 9 is turned off to display that the reflected light R is greater than the margin light amount. In the case of the detection state of ", the margin display means 9 retains the previous display state, and the display state is updated to indicate that the object is present.
This is done only when a detection output of 1 is obtained, so the indication that the amount of light is insufficient is always displayed regardless of the time when the presence of an object is detected.

[発明が解決しようとする課題] 上述の従来例では、物体有無判定結果か゛°有゛の期間
における最後の2周期の余裕光量判定結果が余裕光量以
下というものであると、余裕表示手段9は次に物体有無
判定結果か物体有′°となるまで、光量不足を連続表示
する。このため、例えば、第7図(a)に示すように、
光電スイッチKSにより検知される対象物Xの移動方向
についてのエツジ部か斜めになっている場合や、第7図
(b)に示すように、対象物Xに移動方向に冶って凹凸
かある場合、あるいは、第7図(c)に示すように、対
象物Xの移動方向についてのエツジ部に反射率か低下す
るような塗装か施されている場合には、対象物Xと光電
スインチKSの距離をいくら短くしても光量不足の表示
が消えないことがある。このため、光電スイッチの特性
に対する疑念が起こり、光電スイッチの本来の機能を十
分に発揮させることができないという問題かあった。ま
た、光電スイッチの余裕表示に上記のような特性かある
ことをユーザーが理解したとしても、ユーザーの使い勝
手が悪くなるという問題は解消できない。
[Problems to be Solved by the Invention] In the above-mentioned conventional example, when the margin light amount determination results of the last two cycles in the period when the object presence/absence determination result is less than or equal to the margin light amount, the margin display means 9 Next, the insufficient amount of light is continuously displayed until the object presence/absence determination result indicates that an object is present. For this reason, for example, as shown in FIG. 7(a),
If the edges of the object X detected by the photoelectric switch KS are slanted in the direction of movement, or if the object X is uneven in the direction of movement, as shown in FIG. or, as shown in FIG. 7(c), if the edges of the object No matter how short the distance is, the insufficient light display may not disappear. This has led to doubts about the characteristics of the photoelectric switch, resulting in the problem that the original function of the photoelectric switch cannot be fully demonstrated. Further, even if the user understands that the margin display of the photoelectric switch has the above-mentioned characteristics, the problem of poor usability for the user cannot be solved.

本発明は上記の点に鑑みてなされたものであり、その目
的とするところは、反射式の光電スイッチにおいて、光
量余裕表示の信頼性を高めると共に、表示の安定度を確
保することにある。
The present invention has been made in view of the above points, and its purpose is to improve the reliability of the light amount margin display and ensure the stability of the display in a reflective photoelectric switch.

[課題を解決するための手段] 本発明に係る光電スイッチにあっては、上記の課題を解
決するために、第1図に示すように、光ビームを投受光
して被検知物体の存在を検知する反射式光電スイッチに
おいて、反射光か最低光量以上であるときに物体有無判
別を行う物体有無判別回路6と、反射光か最低光量より
も大きい余裕光量以上である状態か所定時間以上続いた
ときに光量余裕状態と判定し、反射光か余裕光量未満で
ある状態が所定時間以上続いたときに光量不足状態と判
定する余裕判定回路7aと、光量余裕状態であるか光量
不足状態であるかを表示するための表示手段9と、物体
有無判別回路6により物体か存在すると判別されている
物体存在判定期間中に余裕判定回路7aの判定結果に応
して表示手段9による表示状態を設定する余裕表示設定
回路7bとを備え、余裕表示設定回路7bは1つの物体
存在判定期間中に表示手段9による表示状態を光量余裕
状態に設定したときには、次の物体存在判定期間まで表
示状態の再設定を禁止する手段を備えることを特徴とす
るものである。
[Means for Solving the Problems] In order to solve the above problems, the photoelectric switch according to the present invention detects the presence of a detected object by emitting and receiving a light beam, as shown in FIG. In the reflective photoelectric switch to be detected, there is an object presence/absence determination circuit 6 that determines the presence or absence of an object when the reflected light is greater than or equal to the minimum light intensity, and a state in which the reflected light is greater than the minimum light intensity and continues for a predetermined period of time or more. A margin determination circuit 7a determines that the amount of light is in a surplus state when the reflected light is less than the margin light amount, and determines that the amount of light is insufficient when the reflected light is less than the margin light amount for a predetermined period of time; The display state of the display means 9 is set according to the determination result of the margin determination circuit 7a during the object presence determination period in which the presence of an object is determined by the object presence determination circuit 6. A margin display setting circuit 7b is provided, and when the display state of the display means 9 is set to the light amount margin state during one object presence determination period, the margin display setting circuit 7b resets the display state until the next object presence determination period. It is characterized by having a means for prohibiting.

[作用] このように、本発明にあっては、反射光が最低光量より
も大きい余裕光量以上である状態か所定時間以上続いた
ときに光量余裕状態と判定し、反射光か余裕光量未満で
ある状態が所定時間以上続いたときに光量不足状態と判
定する余裕判定回路7aを設けたから、光量余裕状態と
光量不足状態の判定に十分な信頼性が得られる。したが
って、1つの物体存在判定期間中に光量余裕状態と判定
されたときには、その判定結果を信頼して、次の物体存
在判定期間まで表示状態を保持しても差し支えない。こ
のような考えに基づいて、余裕表示設定回路7bでは、
1つの物体存在判定期間中に表示手段9による表示状態
を光量余裕状態に設定したときには、次の物体存在判定
期間まで表示状態の再設定を禁止するようにしたから、
被検知物体の形状に関係なく、安定した表示状態が得ら
れるものである。
[Function] As described above, in the present invention, the light amount surplus state is determined when the reflected light is greater than or equal to the minimum light amount, or continues for a predetermined period of time, and the reflected light is determined to be in the light amount surplus state when the reflected light is less than the margin light amount. Since the margin determination circuit 7a is provided, which determines that the light amount is insufficient when a certain state continues for a predetermined period of time or longer, sufficient reliability can be obtained in determining whether the light amount margin state or the light amount insufficient state is present. Therefore, when it is determined that the light quantity margin state is reached during one object presence determination period, the determination result may be trusted and the display state may be maintained until the next object presence determination period. Based on this idea, the margin display setting circuit 7b:
When the display state of the display means 9 is set to the light amount margin state during one object presence determination period, resetting of the display state is prohibited until the next object presence determination period.
A stable display state can be obtained regardless of the shape of the detected object.

[実施例〕 第1図は本発明の一実施例のブロック図である。[Example〕 FIG. 1 is a block diagram of one embodiment of the present invention.

本実施例にあっては、第4図に示す従来例において、余
裕表示保持回路7を余裕判定回路7aと余裕表示設定回
路7bて置き換えたものてあつ、その他の構成について
は、第4図に示す従来例と同様である。ここて、余裕判
定回路7aは、反射光R5か最低光量よりも大きい余裕
光量を越えるか否かの判定結果が一定回数同しであると
きに、余裕パ有゛あるいは余裕°゛無°゛の判定を行う
回路である。
In this embodiment, the margin display holding circuit 7 in the conventional example shown in FIG. 4 is replaced with a margin determination circuit 7a and a margin display setting circuit 7b, and other configurations are shown in FIG. This is the same as the conventional example shown. Here, the margin determination circuit 7a determines whether the margin is present or not when the determination result of whether or not the reflected light R5 exceeds the margin light amount which is larger than the minimum light amount is the same a certain number of times. This is a circuit that makes decisions.

また、余裕表示設定回路7bは、物体有無判別回路6の
判定結果と余裕判定回路7aの判定結果により余裕表示
を設定する回路である。
Further, the margin display setting circuit 7b is a circuit that sets a margin display based on the determination result of the object presence/absence determination circuit 6 and the determination result of the margin determination circuit 7a.

第2図は本実施例における論理演算回路10の内部構成
例を示す回路図である。Dフリップフロラ1F 、、F
 2+F 、、F 、とRSSフリップフロップF及び
アンド回路A、、A2.A、及びそれらの接続関係につ
いては、第5図に示す従来例と同様である。
FIG. 2 is a circuit diagram showing an example of the internal configuration of the logic operation circuit 10 in this embodiment. D flip flora 1F ,,F
2+F,,F, and RSS flip-flop F and AND circuit A,,A2. A and their connection relationships are the same as in the conventional example shown in FIG.

以下、余裕判定回路7aと余裕表示設定回路7bの回路
構成について説明する。
The circuit configurations of the margin determination circuit 7a and margin display setting circuit 7b will be described below.

ます、余裕判定回路7aは、DフリップフロップF、、
F、とRSフリップフロップF、及びアンド回路A、 
7 、 A sよりなる。演算処理回路4から出力され
る余裕光量判定出力り、は、DフリップフロップF7の
テ゛−タ入力りに入力されている。Dフリップフロップ
F、の出力Qから得られる信号Mは、次段のL)フリッ
プフロンツブF8のデータ人力りに入力されており、さ
らに、アンド回路A7の一方の入力とされている。アジ
ド回路A7の他方の入力には、Dフリップフロ・γプF
、の出力Qがら得られる信号Nが入力されている。各D
フリップフロップF、、Fsのタロツク人力Cには、タ
イミング発生口1i’i!11のクロ・ンクパルスT、
が入力されており、各反転出力口はアンド回路A8に入
力されている。アンド回路A 7 、 A sの出力は
、RSフリップフロップF、のセット人力Sとリセット
人力Rにそれぞれ入力されている。
The margin determination circuit 7a includes D flip-flops F, .
F, and RS flip-flop F, and AND circuit A,
7, consisting of As. The margin light amount determination output from the arithmetic processing circuit 4 is input to the data input of the D flip-flop F7. The signal M obtained from the output Q of the D flip-flop F is input to the data output of the next-stage L flip-flop F8, and is further input to one side of the AND circuit A7. The other input of the azide circuit A7 has a D flip-flop
A signal N obtained from the output Q of , is input. Each D
There is a timing generation port 1i'i! in the tarokk input C of the flip-flops F,,Fs. 11 clock pulse T,
is input, and each inverting output port is input to an AND circuit A8. The outputs of the AND circuits A 7 and As are input to the set power S and the reset power R of the RS flip-flop F, respectively.

次に、余裕表示設定回路7bは、RSフリップフロップ
F 、o、F 、、とDフリップフロップF12、アン
ド回路A 9 、 A 1o、ナンド回路N、、N2及
びインバータ■2よりなる。物体有無判別回路6がら出
力される信号Hは、余裕表示設定回路7bの入力信号G
として、DフリップフロップF 12のデータ人力りに
入力されている。DフリップフロップF12のクロック
人力Cには、タイミング発生回路11のクロックパルス
T、か入力されている。このDフリップフロラフF、2
の出力Qから得られる信号Yは、インバータ■2に入力
されると共に、ナシ1〜回路N1とアント回路A1oの
一方の入力とされている。ナンド回路N、の他方の入力
には、余裕判定回路7aにおけるRSフリップ70ツブ
F、の出力Qから得られる信号Xか入力されている。ま
た、アンド回路A、。の他方の入力には、余裕判定回路
7aにおけるRSSフリップフロップFの反転出力口か
入力されている。アンド回路A、0の出力信号ZはRS
フリップフロップF、のりセット人力Rに入力されてい
る。ナンド回路N、の出力信号Uは、ナンド回路N2の
一方の入力とされている。ナンド回路N2の他方の入力
には、リセット信号R8Tが入力されている。ナンド回
路N2の出力信号Qは、RSフリップフロップFloの
リセット人力Rに入力されている。次に、インバ−タr
2の出力はアンド回路A、の一方の入力とされている。
Next, the margin display setting circuit 7b includes RS flip-flops F1, o, F2, D flip-flop F12, AND circuits A9, A1o, NAND circuits N, N2, and inverter 2. The signal H output from the object presence/absence determination circuit 6 is the input signal G of the margin display setting circuit 7b.
As such, it is input to the data output of the D flip-flop F12. The clock pulse T of the timing generation circuit 11 is input to the clock input C of the D flip-flop F12. This D flip flor rough F, 2
The signal Y obtained from the output Q of is input to the inverter 2, and is also input to one of the nil 1 to circuit N1 and the ant circuit A1o. The other input of the NAND circuit N receives the signal X obtained from the output Q of the RS flip 70 in the margin determination circuit 7a. Also, AND circuit A. The other input of is inputted to the inverting output port of the RSS flip-flop F in the margin determination circuit 7a. The output signal Z of AND circuits A and 0 is RS
It is input to the flip-flop F and the glue setting manual R. The output signal U of the NAND circuit N is input to one side of the NAND circuit N2. A reset signal R8T is input to the other input of the NAND circuit N2. The output signal Q of the NAND circuit N2 is input to the reset input R of the RS flip-flop Flo. Next, inverter r
The output of 2 is used as one input of AND circuit A.

アンド回路A、の他方の入力には、タイミング発生回路
11のクロックパルスT4か入力されている。アンド回
路A、の出力信号Pは、RSフリップフロップFloの
セット人力Sに入力されている。RSフリップフロップ
Floの反転出力qに得られる信号Wは、RSフリップ
フロップFのセット人力Sに入力されている。RSSフ
リップフロップF1の出力Qに得られる信号には、余裕
表示設定回路7bの出力として余裕表示手段9に出力さ
れる。
The clock pulse T4 of the timing generation circuit 11 is input to the other input of the AND circuit A. The output signal P of the AND circuit A is input to the set signal S of the RS flip-flop Flo. The signal W obtained at the inverted output q of the RS flip-flop Flo is input to the set input S of the RS flip-flop F. The signal obtained at the output Q of the RSS flip-flop F1 is output to the margin display means 9 as the output of the margin display setting circuit 7b.

以下、本実施例の動作について説明する。演算処理回路
4かち得られる物体有無判定出力D1と最低光量判定出
力D2は、クロックパルスT 2 、 T 3に同期し
て、DフリップフロップFl、F2にそれぞれラッチさ
れる。物体有無判別回路6では、アンド回路A1にて物
体有無判定出力と最低光量判定出力との論理積を演算し
、その結果をクロックパルスT1に同期して、Dフリッ
プフロップF4゜F5からなる2段のシフトレジスタに
入力して記憶する。そして、アンド回路A2にて各出力
Qの論理積を取ってRSSフリップフロップFのセット
人力Sとし、アント回路A3にて各反転出力Ωの論理積
を取ってRSSフリップフロップFのリセット人力Rと
することで、同一の判別状態か2回連続して得られたと
きに、RSSフリップフロップFの出力として物体有無
判別結果か得られるものである。
The operation of this embodiment will be explained below. The object presence/absence determination output D1 and minimum light amount determination output D2 obtained from the arithmetic processing circuit 4 are latched by D flip-flops Fl and F2, respectively, in synchronization with clock pulses T2 and T3. In the object presence/absence determination circuit 6, the AND circuit A1 calculates the logical product of the object presence/absence determination output and the minimum light amount determination output, and the result is synchronized with the clock pulse T1 to be output to a two-stage circuit consisting of D flip-flops F4 and F5. input into the shift register and store it. Then, the AND circuit A2 takes the logical product of each output Q to obtain the set power S of the RSS flip-flop F, and the AND circuit A3 takes the logical product of each inverted output Ω to obtain the reset power R of the RSS flip-flop F. By doing so, when the same discrimination state is obtained twice in succession, the object presence/absence discrimination result can be obtained as the output of the RSS flip-flop F.

次に、余裕判定回路7aの動作について説明する。まず
、余裕光量判定出力D3は、クロックパルスT1に同期
して、DフリップフロップF t 、 F sからなる
2段のシフトレジスタに入力して記憶する。そして、ア
ンド回路A7にて各出力Qの論理積を取ってRSフリッ
プフロップF、のセット人力Sとし、アンド回路Asに
て各反転出力qの論理積を取ってRSフリップフロップ
F、のりセット人力Rとすることで、同一判別状態が2
回連続して得られたときに、RSフリップフロップF。
Next, the operation of the margin determination circuit 7a will be explained. First, the surplus light amount determination output D3 is input to and stored in a two-stage shift register consisting of D flip-flops F t and F s in synchronization with the clock pulse T1. Then, the AND circuit A7 takes the AND of each output Q to set the RS flip-flop F, and sets the RS flip-flop F, and the AND circuit As takes the AND of each inverted output q to set the RS flip-flop F. By setting R, the same discrimination state is 2
RS flip-flop F when obtained times in succession.

の出力として光量の余裕判定結果が得られる。余裕″有
°°のときに、RSフリップフロップF、の出力Qは“
High”レベルとなる。
The light amount margin determination result is obtained as the output. When there is a margin "°°, the output Q of the RS flip-flop F is "
It becomes "High" level.

次に、余裕表示設定回路7bの動作について説明する。Next, the operation of the margin display setting circuit 7b will be explained.

この回路ては、物体有無判別結果と余裕判定結果を用い
て余裕表示状態を設定する。物体有無判別結果が物体“
有パのとき、DフリップフロップF6の出力Qは“’)
Iigh”レベルとなる。この信号は、Dフリップフロ
ップF12に入力され、その出力QはクロックパルスT
5に同期して“’High”レベルとなる。一方、物体
有無判別結果が物体°゛有′°て、且つ余裕判定結果が
余裕“有“のときは、ナンド回路N1の出力信号Uは”
Low″レベルである。この信号Uと、電源投入後の一
定時間経過後は″High”レベルとなるリセット信号
R3Tとの論理積反転をナンド回路N2で求める。この
とき、ナンド回路N2の出力信号Qは’High”レベ
ルとなるので、RSフリップフロップF、。かりセット
されて、RSフリップフロップF、1のセット人力Sが
’High”レベルとなって、RSSフリップフロラ1
.の出力Qは’High”レベルとなる。
This circuit sets the margin display state using the object presence/absence determination result and the margin determination result. The object presence/absence determination result is “object”
When there is a power output, the output Q of the D flip-flop F6 is "')
This signal is input to the D flip-flop F12, and its output Q is the clock pulse T.
It becomes "'High" level in synchronization with 5. On the other hand, when the object presence/absence determination result indicates that the object is present and the margin determination result indicates that the margin is present, the output signal U of the NAND circuit N1 is
The NAND circuit N2 calculates the logical product of this signal U and the reset signal R3T, which becomes the High level after a certain period of time after power-on. Since Q becomes 'High' level, RS flip-flop F,. When the RS flip-flop F and 1 are set, the set force S of the RS flip-flop F and 1 becomes 'High' level, and the RSS flip-flop F and 1 are set to the 'High' level.
.. The output Q becomes 'High' level.

次に、物体有無判別結果が物体無”になると、Dフリッ
プフロップF12の出力QはクロックパルスT5に同期
して“LOLll”レベルとなり、余裕判定結果に関係
なく、ナンド回路へ1の出力はHigh’“レベル、ナ
ンド回路N2の出力は’Loud”レベル、アント回路
Aloの出力は’Low”L=ヘル、インバータ■2の
出力は°’)Iigh”レベルとなり、クロックパルス
T、を有効にし、RSフリップフロップFはクロックパ
ルスT4てセットされる。つまり、クロックパルスT、
は物体有無判別結果が物体無゛のときにのみ有効となる
。このとき、R,SフリップフロップF1oは反転出力
口が“Low″レヘルレベット人力Sがクロックパルス
T4に従い、リセット人力Rが“Low”レベルとなり
、RSフリップフロップFllの出力Qは保持状態とな
る。したがって、RSフリップフロップF、1の出力は
、次に物体有無判別結果が物体”有″となって、ナンド
回路NかAND回路A1゜を介してDフリップフロップ
F9の出力か有効とされるまでは、物体有無判別結果か
物体′有°゛のときの状態を保持する。
Next, when the object presence/absence determination result becomes "No object", the output Q of the D flip-flop F12 becomes "LOLll" level in synchronization with the clock pulse T5, and the output of 1 to the NAND circuit becomes High regardless of the margin determination result. '' level, the output of NAND circuit N2 is 'Loud' level, the output of Ant circuit Alo is 'Low' L=Hell, the output of inverter ■2 is '°') Iigh' level, and clock pulse T is enabled. The RS flip-flop F is set by the clock pulse T4, that is, the clock pulse T,
is valid only when the object presence/absence determination result is that there is no object. At this time, the inverting output port of the R, S flip-flop F1o is "Low", and the reset human power S is in accordance with the clock pulse T4, the reset human power R is at the "Low" level, and the output Q of the RS flip-flop F1 is held. Therefore, the output of the RS flip-flop F,1 is valid until the next time the object presence/absence determination result becomes "object present" and the output of the D flip-flop F9 is made valid via the NAND circuit N or the AND circuit A1. holds the object presence/absence determination result or the state when the object is present.

そして、次に物体有無判別結果が物体°有゛′となった
ときに、余裕判定結果か余裕無“°であれば、アント回
路A1oの出力は’Higb”レベルであり、ナンド回
路N2の出力は“’Lou”レベルのままとなるから、
最終出力としてRSSフリップフロラ1Fの出力Qは“
’LOII+”レベルとなる。また、物体有無判別結果
が物体゛有パとなったときに、余裕判定結果か余裕有゛
てあれは、ナンド回路N、の出力は”Low”レベル、
ナンド回路N2の出力は”High”レベルとなるから
、最終出力としてRSフリップフロップFIIの出力Q
は”HIgh”レベルとなる。
Then, when the next object presence/absence determination result shows that the object is present, if the margin determination result is "no margin", the output of the ant circuit A1o is at the 'Higb' level, and the output of the NAND circuit N2 is remains at the "'Lou" level, so
As the final output, the output Q of RSS flip Flora 1F is “
'LOII+' level.Furthermore, when the object presence/absence determination result indicates that the object is present, the output of the NAND circuit N is at the 'Low' level.
Since the output of the NAND circuit N2 becomes "High" level, the output Q of the RS flip-flop FII is used as the final output.
becomes "HIGH" level.

次に、本発明の特徴である物体有無判別結果が物体“有
パである期間中に、まず、余裕“無′°状態からその後
一定期間は余裕“′有°′状態か続き、その後、また余
裕゛無゛状態に戻って物体有無判別結果が物体°゛無“
状態となった場合の動作について説明する。
Next, during the period in which the object presence/absence determination result, which is a feature of the present invention, indicates that the object is present, first, the state starts with no margin, then remains in the state with margin for a certain period of time, and then again. Returning to the “no margin” state, the object presence/absence determination result is “no object”
The operation when this happens will be explained.

余裕゛′無パ状態のときに、アント回路A、。の出力は
”High”“レベルとなり、RSフリップフロップF
の出力Qは”LolI+”レベルである。その後、余裕
゛有″状態になると、ナンド回路N、の出力は゛’Lo
u+レヘルとなレベナンド回路N2の出力は“’H1g
h”レベルどなるから、RSフリップフロップF10の
反転出力口はHigh”レベルとなり、RSフリップフ
ロップF I+の最終出力Qは“’High”レベルと
なる。この後、余裕゛無パ状態に戻り、アンド回路A 
10の出力が”’High”レベルとなっても、RSフ
リップフロップF Ioのセット入力Sは”Low”レ
ベルのままで゛あり、リセット入力Rは“’High”
レベルから’Low”レベルに変化するたけであるから
、RSフリップフロップF 10の反転出力qは変化せ
ず、′“High”レベルのままである。このため、R
SフリップフロップFllのセット人力Sは“’Hig
h”“レベルのままであり、リセット入力Rが“Low
”レベルから゛’High’″レベルに変化するだけで
あるから、RSフリップフロップF I+の最終出力Q
は変化せず、“’High”レベルの出力を保持する。
Ant circuit A when there is no margin. The output of F becomes “High” level, and the RS flip-flop F
The output Q of is at the "LolI+" level. After that, when the state becomes "with margin", the output of the NAND circuit N becomes "Lo".
The output of the revenand circuit N2, which is u+level, is “'H1g.
Since the RS flip-flop F10 has a high level, the inverting output port of the RS flip-flop F10 becomes a high level, and the final output Q of the RS flip-flop F I+ becomes a high level. After this, the state returns to the state with no margin, and the AND circuit A
Even if the output of 10 becomes "'High" level, the set input S of RS flip-flop F Io remains at "Low" level, and the reset input R goes "'High".
Since the level only changes from the level to 'Low', the inverted output q of the RS flip-flop F10 does not change and remains at 'High' level.
S flip-flop Fll set human power S is “'High
h"" level remains, and the reset input R is "Low".
Since it only changes from "level" to "High" level, the final output Q of RS flip-flop F I+
does not change and maintains the "'High" level output.

したがって、余裕°“有”状態のまま物体有無判別結果
が物体゛無″状態に移る。
Therefore, the object presence/absence determination result shifts to the "no object" state while the margin state is "presence".

第3図は、本実施例の論理演算回路10の動作を示すタ
イムチャートである。なお、物体有無判別の動作につい
ては従来例と同しであるので、説明を省略する。ます、
初めの物体有”判別期間■は、全期間にわたって余裕“
有゛状態であるので、動作に問題はない。次の物体°“
有”判別期間■ては、余裕“有“°状態が2回続いて余
裕”無゛状態が1回であり、物体“有“′判別期間での
余裕表示として余裕無”′表示は行われない。次の物体
“有″判別期間■ては、ます余裕°゛無“′状態力四回
て、余裕“有゛′状懸か2回であり、このときは、余裕
表示として余裕パ無“表示か一周期行われるか、その後
、余裕“有゛状態か2回続くため余裕表示は余裕゛′有
パ表示に変わり、次の物体“有゛判別期間まで保持され
る。その次の物体“有パ判別期間■ては、余裕゛無パ状
態が2回続いて余裕゛有″状態が1回で、このときは、
余裕表示として、余裕“無゛′表示となり、次の物体有
”判別期間まで保持される。このように、余裕゛有″状
態が2回続かないと有効とならない。その次の物体゛有
″判別期間■ては、まず余裕パ無”状態か2回続いて余
裕″有″状態が2回続くので、このときは、余裕表示と
して余裕゛有゛表示となり、次の物体゛有゛判刑期間■
まで保持される。
FIG. 3 is a time chart showing the operation of the logic operation circuit 10 of this embodiment. Note that the operation for determining the presence or absence of an object is the same as in the conventional example, so a description thereof will be omitted. Masu,
The initial object presence determination period ■ has a margin of ``
Since it is in a valid state, there is no problem with its operation. Next object °“
During the "existence" determination period, there are two consecutive "existence" states and one time "no margin" state, and the display of "no margin" is performed as a margin display in the object "existence" determination period. There is no.The next object “presence” judgment period is four times for the margin “no” condition and two times for the margin “presence” condition. The ``display'' is carried out for one period, and then the ``margin'' state continues twice, so the margin display changes to the ``margin'' present display and is maintained until the next object'' determination period. During the next object determination period, there are two consecutive states of "no margin" and one time of "existence of margin", and in this case,
The margin display becomes "no margin" and is maintained until the next object presence determination period. In this way, it will not become effective unless the state of "with margin" continues twice.The next period for determining whether the object is present is either in the state of "no margin" or twice, followed by the state of "with margin" twice. times, so in this case, the margin display will be "existence", and the next object "existence" will be displayed.
will be retained until

[発明の効果] 本発明にあっては、上述のように、光ビームを投受光し
て被検知物体の存在を検知する反射式の光電スイフチに
おいて、反射光か最低光量よりも大きい余裕光量を越え
るが否かの判定結果が一定期間以上同しであるときに、
光量余裕状態又は光量不足状態と判定するようにしたか
ら、反射光量の余裕判定に十分な信頼性か得られるもの
てあり、しかも、反射光が最低光量よりも大きく且つ物
体が存在すると判定されている物体存在期間中に反射光
量の余裕判定結果に応して表示手段の表示状態を設定し
、1つの物体存在期間中に光量余裕状態の表示状態が設
定されたときは、次の物体存在期間までは表示状態の再
設定を禁止するようにしたから、反射光量の余裕表示は
被検知物体の形状に左右されず安定したものとなり、使
用者にとっては、見易く且つ信頼度の高い表示になると
いう効果がある。
[Effects of the Invention] As described above, in the present invention, in a reflective photoelectric switch that transmits and receives a light beam to detect the presence of an object to be detected, it is possible to emit a margin of light larger than the minimum light amount of the reflected light. When the judgment result of whether or not to exceed the limit remains the same for a certain period of time,
Since the light amount surplus state or the light amount insufficient state is determined, sufficient reliability can be obtained for determining the margin of reflected light amount, and moreover, it is determined that the reflected light is larger than the minimum light amount and an object is present. The display state of the display means is set according to the margin determination result of the amount of reflected light during the object existence period, and when the display state of the light amount surplus state is set during one object existence period, the display state of the display means is set during the next object existence period. Since resetting the display state was prohibited until now, the margin display of reflected light amount is stable regardless of the shape of the detected object, and the display is easy to see and highly reliable for the user. effective.

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

第1図は本発明の一実施例のブロック図、第2図は同上
の要部具体回路図、第3図は同上の動作を示すタイムチ
ャート、第4図は従来例のブロック図、第5図は同上の
要部具体回路図、第6図は同上の動作を示すタイムチャ
ート、第7図(a) 、 (b) 。 (c)は従来例の問題点を説明するための説明図である
。 7aは余裕判定回路、7bは余裕表示設定回路である。
Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2 is a specific circuit diagram of the main parts of the above, Fig. 3 is a time chart showing the operation of the above, Fig. 4 is a block diagram of a conventional example, and Fig. 5 is a block diagram of an embodiment of the present invention. The figure is a specific circuit diagram of the main part of the same as above, FIG. 6 is a time chart showing the operation of the same as above, and FIGS. 7(a) and (b). (c) is an explanatory diagram for explaining the problems of the conventional example. 7a is a margin determination circuit, and 7b is a margin display setting circuit.

Claims (1)

【特許請求の範囲】[Claims] (1)光ビームを投受光して被検知物体の存在を検知す
る反射式光電スイッチにおいて、 反射光が最低光量以上であるときに物体有無判別を行う
物体有無判別回路と、 反射光が最低光量よりも大きい余裕光量以上である状態
が所定時間以上続いたときに光量余裕状態と判定し、反
射光が余裕光量未満である状態が所定時間以上続いたと
きに光量不足状態と判定する余裕判定回路と、 光量余裕状態であるか光量不足状態であるかを表示する
ための表示手段と、 物体有無判別回路により物体が存在すると判別されてい
る物体存在判定期間中に余裕判定回路の判定結果に応じ
て表示手段による表示状態を設定する余裕表示設定回路
とを備え、 余裕表示設定回路は1つの物体存在判定期間中に表示手
段による表示状態を光量余裕状態に設定したときには、
次の物体存在判定期間まで表示状態の再設定を禁止する
手段を備えることを特徴とする光電スイッチ。
(1) In a reflective photoelectric switch that detects the presence of a detected object by emitting and receiving a light beam, it includes an object presence/absence determination circuit that determines the presence or absence of an object when the reflected light is at least the minimum amount of light; A margin determination circuit that determines a light amount surplus state when a state where the light amount is greater than the margin light amount continues for a predetermined time or more, and determines a light amount insufficient state when a state where the reflected light is less than the margin light amount continues for a predetermined time or longer. and a display means for displaying whether the light amount is in a sufficient light amount state or in a light amount insufficient state; and a margin display setting circuit that sets a display state of the display means to a light amount margin state, and the margin display setting circuit sets a display state of the display means to a light amount margin state during one object existence determination period.
A photoelectric switch characterized by comprising means for prohibiting resetting of a display state until the next object presence determination period.
JP10970490A 1990-04-24 1990-04-24 Photoelectric switch Expired - Fee Related JP2807039B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10970490A JP2807039B2 (en) 1990-04-24 1990-04-24 Photoelectric switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10970490A JP2807039B2 (en) 1990-04-24 1990-04-24 Photoelectric switch

Publications (2)

Publication Number Publication Date
JPH046409A true JPH046409A (en) 1992-01-10
JP2807039B2 JP2807039B2 (en) 1998-09-30

Family

ID=14517101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10970490A Expired - Fee Related JP2807039B2 (en) 1990-04-24 1990-04-24 Photoelectric switch

Country Status (1)

Country Link
JP (1) JP2807039B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993021497A1 (en) * 1992-04-10 1993-10-28 Omron Corporation Apparatus for measuring distance

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993021497A1 (en) * 1992-04-10 1993-10-28 Omron Corporation Apparatus for measuring distance

Also Published As

Publication number Publication date
JP2807039B2 (en) 1998-09-30

Similar Documents

Publication Publication Date Title
US4582424A (en) Distance measuring apparatus
US6252655B1 (en) Distance measuring apparatus
US4553836A (en) Method and apparatus for electrooptical distance measurement
JPH062348Y2 (en) Reflective photoelectric switch
JPS54154351A (en) Distance measuring device
JPH08139583A (en) Touch key
JP3089332B2 (en) Lightwave rangefinder
JPH046409A (en) Photoelectric switch
JP2000206244A (en) Distance-measuring apparatus
JPH03200941A (en) Range finder for camera
JP2721574B2 (en) Optical displacement sensor
JPH0694843A (en) Photoelectric switch
JPS61218978A (en) Distance-limited type optical sensor
JPS6023739Y2 (en) light wave distance meter
JP2656835B2 (en) Optical distance measuring device
JPH06201456A (en) Photoelectric sensor
JP3062265B2 (en) Photoelectric switch
US4586806A (en) Camera range finder
JPH07167955A (en) Distance measuring device
JPS5999386A (en) Photoelectric switch circuit
JPH04259881A (en) Photoelectric switch
JPS61269522A (en) Photoelectric switch
JPS5935819Y2 (en) light wave distance meter
JPH046410A (en) Photoelectric switch
JPS5873889A (en) Photoelectric switch

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070724

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20080724

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees