JPH057145A - Detection switch - Google Patents

Detection switch

Info

Publication number
JPH057145A
JPH057145A JP15687691A JP15687691A JPH057145A JP H057145 A JPH057145 A JP H057145A JP 15687691 A JP15687691 A JP 15687691A JP 15687691 A JP15687691 A JP 15687691A JP H057145 A JPH057145 A JP H057145A
Authority
JP
Japan
Prior art keywords
level
detection
stable
stable light
shielding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP15687691A
Other languages
Japanese (ja)
Inventor
Nobuharu Ishikawa
展玄 石川
Seiji Imai
清司 今井
Hiroaki Nakanishi
弘明 中西
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP15687691A priority Critical patent/JPH057145A/en
Publication of JPH057145A publication Critical patent/JPH057145A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

PURPOSE:To facilitate the maintenance by making a stable input optical level or a stable light shield level or the both variable. CONSTITUTION:A projection circuit 2 drives a light emitting element 3 in response to an oscillation pulse from an oscillation circuit 1 to generate an optical pulse. When an object shuts an optical pulse, its reflected light is detected by a light emitting element 4, its detection output is amplified by an amplifier circuit 5, comparators 7,8,9 compare respectively a stable light shield level V2, an input optical level V3 and a stable input optical level V4, the respective comparison output is integrated and the result is displayed on a display circuit 12. The stable light shield level V2 and the stable input optical level V4 are made variable to increase the margin against the input optical level.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は検出スイッチに関し、
特に、投光用の発光ダイオードから照射された光を物体
が遮ったことを検出素子で検出する拡散反射型光電スイ
ッチのような検出スイッチに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a detection switch,
In particular, the present invention relates to a detection switch such as a diffuse reflection photoelectric switch in which a detection element detects that an object blocks light emitted from a light emitting diode for projecting light.

【0002】[0002]

【従来の技術】図15は従来の拡散反射型光電スイッチ
のブロック図である。図15を参照して、発振回路1か
らの発振パルスは投光回路2に与えられる。投光回路2
は発振パルスに応じて、投光素子3を駆動する。投光素
子3は光パルスを発光する。この光パルスは物体に照射
され、その反射光が受光素子4で受光される。受光素子
4の受光出力信号はアンプ回路5に与えられ、I/V変
換されてコンパレータ7,8および9の比較入力端に与
えられる。コンパレータ7の基準入力端には安定遮光レ
ベルV2のしきい値電圧が与えられ、コンパレータ8の
基準入力端には入光レベル(ON/OFF)V3のしき
い値電圧が与えられ、コンパレータ9の基準入力端には
安定入光レベルV4のしきい値電圧が与えられる。
2. Description of the Related Art FIG. 15 is a block diagram of a conventional diffuse reflection type photoelectric switch. Referring to FIG. 15, the oscillation pulse from oscillation circuit 1 is applied to light projecting circuit 2. Emitter circuit 2
Drives the light projecting element 3 in accordance with the oscillation pulse. The light projecting element 3 emits a light pulse. This light pulse is applied to the object, and the reflected light is received by the light receiving element 4. The light receiving output signal of the light receiving element 4 is given to the amplifier circuit 5, I / V converted and given to the comparison input terminals of the comparators 7, 8 and 9. The threshold voltage of the stable light shielding level V2 is applied to the reference input terminal of the comparator 7, and the threshold voltage of the light incident level (ON / OFF) V3 is applied to the reference input terminal of the comparator 8, and the comparator 9 A threshold voltage having a stable light input level V4 is applied to the reference input terminal.

【0003】電源Vccと接地間には抵抗R1とR2と
R3とR4と定電流源6とが直列接続され、抵抗R1と
R2の接続点から入光なしレベルV1が出力され、抵抗
R2とR3との接続点から安定遮光レベルV2が出力さ
れ、抵抗R3とR4との接続点から入光レベルV3が出
力され、抵抗R4と定電流源6との接続点から安定入光
レベルV4が出力される。これらのレベルV1〜V4は V1=Vcc−I1×R1 V2=Vcc−I1×(R1+R2) V3=Vcc−I1×(R1+R2+R3) V4=Vcc−I1×(R1+R2+R3+R4) となり、安定入光レベルV4,安定遮光レベルV2は固
定値となる。
Resistors R1, R2, R3, R4 and a constant current source 6 are connected in series between the power source Vcc and the ground, and a level V1 without light is output from the connection point of the resistors R1 and R2, and the resistors R2 and R3. The stable light-shielding level V2 is output from the connection point between the resistor R3 and R4, the incident light level V3 is output from the connection point between the resistors R3 and R4, and the stable incident light level V4 is output from the connection point between the resistor R4 and the constant current source 6. It These levels V1 to V4 are V1 = Vcc-I1 * R1 V2 = Vcc-I1 * (R1 + R2) V3 = Vcc-I1 * (R1 + R2 + R3) V4 = Vcc-I1 * (R1 + R2 + R3 + R4), and stable light input level V4 and stable. The shading level V2 has a fixed value.

【0004】コンパレータ7はアンプ回路5の出力電圧
が安定遮光レベルV2を越えると安定遮光信号を出力
し、コンパレータ8はアンプ回路5の出力が入光レベル
V2を越えたときオン信号を出力し、コンパレータ9は
アンプ回路5の出力が安定入光レベルV4を越えたとき
安定入光信号を出力する。コンパレータ7,8および9
のそれぞれの出力は信号処理回路10に与えられて信号
処理され、積分回路11に与えられる。積分回路11は
信号処理された信号からノイズ成分を除去し、表示回路
12に表示させるとともに、出力回路13に出力する。
The comparator 7 outputs a stable light shielding signal when the output voltage of the amplifier circuit 5 exceeds the stable light shielding level V2, and the comparator 8 outputs an ON signal when the output of the amplifier circuit 5 exceeds the light incident level V2. The comparator 9 outputs a stable light incident signal when the output of the amplifier circuit 5 exceeds the stable light incident level V4. Comparators 7, 8 and 9
The respective outputs of 1 are given to the signal processing circuit 10 to be subjected to signal processing, and then given to the integrating circuit 11. The integrating circuit 11 removes a noise component from the signal-processed signal, displays it on the display circuit 12, and outputs it to the output circuit 13.

【0005】図16は図15に示した従来の拡散反射型
光電スイッチの動作を説明するためのタイミング図であ
り、図17は入光なしレベルV1と安定遮光レベルV2
と入光レベルV3と安定入光レベルV4を示す図であ
る。
FIG. 16 is a timing chart for explaining the operation of the conventional diffuse reflection type photoelectric switch shown in FIG. 15, and FIG. 17 is a no-light-incident level V1 and a stable light-shielding level V2.
FIG. 7 is a diagram showing a light incident level V3 and a stable light incident level V4.

【0006】次に、図15,図16および図17を参照
して、従来の拡散反射型光電スイッチの動作について説
明する。投光回路2は発振回路1からの発振パルスに応
答して、図16(a)に示す投光パルスを投光素子3に
与えて光パルスを発光させる。この光パルスが図示しな
い物体によって遮断されると、その反射光が受光素子4
によって受光される。受光素子4の受光出力はアンプ回
路5でI/V変換されるとともに増幅され、図16
(b)に示す信号が出力される。この信号はコンパレー
タ7,8および9に与えられ、それぞれ安定遮光レベル
V2,入光レベルV3および安定入光レベルV4と比較
される。コンパレータ8はアンプ回路5の出力が入光レ
ベルV3を越えたことを検出すると、図16(c)に示
すようなオン/オフ信号を出力する。コンパレータ7は
アンプ回路5の出力が安定遮光レベルV2を越えていな
ければ、図16(d)に示すように安定にオフしている
ことを示す信号を出力し、コンパレータ9はアンプ回路
5の出力が安定入光レベルV4を越えていることを判別
すると、図16(e)に示すように安定にオンしている
ことを示す信号を出力する。
Next, the operation of the conventional diffuse reflection type photoelectric switch will be described with reference to FIGS. 15, 16 and 17. In response to the oscillation pulse from the oscillation circuit 1, the light projecting circuit 2 gives the light projecting pulse shown in FIG. 16A to the light projecting element 3 to emit the light pulse. When this light pulse is blocked by an object not shown, the reflected light is reflected by the light receiving element 4
Is received by. The light-receiving output of the light-receiving element 4 is I / V converted and amplified by the amplifier circuit 5, as shown in FIG.
The signal shown in (b) is output. This signal is given to the comparators 7, 8 and 9 and compared with the stable light shielding level V2, the light incident level V3 and the stable light incident level V4, respectively. When the comparator 8 detects that the output of the amplifier circuit 5 exceeds the light incident level V3, it outputs an on / off signal as shown in FIG. 16 (c). If the output of the amplifier circuit 5 does not exceed the stable light-shielding level V2, the comparator 7 outputs a signal indicating that it is stably turned off as shown in FIG. 16D, and the comparator 9 outputs the output of the amplifier circuit 5. When it is determined that the voltage exceeds the stable light incident level V4, a signal indicating that the light is on stably is output as shown in FIG.

【0007】[0007]

【発明が解決しようとする課題】上述のごとく、従来の
拡散反射型光電スイッチには、設置後の温度変化や電圧
変化や埃によるレンズ面の汚れなどの環境変化に対する
余裕度を出力して知らせる安定出力が設けられており、
その安定出力の範囲は内部で設定されたレベルに固定さ
れていた。しかしながら、このように安定出力の余裕度
を固定すると、たとえば入光表示灯と安定表示灯の両方
が点灯することを目安として光軸があったことを確認し
ている灯火型光電スイッチの光軸調整時において、入光
レベルV3に対する安定入光レベルV4の範囲が狭いた
め、より精度の高い光軸調整を行なうことができなかっ
た。また、粉体などを扱うユーザによっては、汚れが激
しいため、従来の安定入光レベルV4を下回ってから動
作レベルを下回るまでの時間が短く、メンテナンスが間
に合わないという欠点があった。
As described above, the conventional diffuse reflection type photoelectric switch outputs and informs the margin for environmental changes such as temperature changes after installation, voltage changes, and dirt on the lens surface due to dust. Stable output is provided,
The stable output range was fixed at the internally set level. However, if the stable output margin is fixed in this way, it has been confirmed that there was an optical axis, for example, that both the incoming light indicator and the stable indicator lamp would light up. At the time of adjustment, the range of the stable incident light level V4 with respect to the incident light level V3 is narrow, so that it is not possible to perform more accurate optical axis adjustment. Further, depending on the user who handles the powder or the like, there is a drawback in that since the dirt is severe, the time from falling below the conventional stable light incident level V4 to falling below the operating level is short, and maintenance is not in time.

【0008】それゆえに、この発明の主たる目的は、安
定入光レベルまたは安定遮光レベルあるいはその両方を
可変にして保守を容易化し得る検出スイッチを提供する
ことである。
Therefore, a main object of the present invention is to provide a detection switch capable of facilitating maintenance by making a stable light incident level and / or a stable light shielding level variable.

【0009】[0009]

【課題を解決するための手段】請求項1にかかる発明は
検出レベルを越える信号が入力されたことに応じて、オ
ン信号を出力する検出スイッチであって、検出レベルよ
りも高いレベルの安定検出レベルしきい値と入力された
信号とを比較し、その入力された信号が安定検出レベル
しきい値を越えたことに応じて安定検出信号を出力する
第1の比較手段と、検出レベルと入力された信号とを比
較し、その信号が検出レベルを越えたことに応じてオン
信号を出力する第2の比較手段と、安定検出レベルしき
い値を可変するためのしきい値可変手段を備えて構成さ
れる。
The invention according to claim 1 is a detection switch for outputting an ON signal in response to the input of a signal exceeding the detection level, which is stable detection at a level higher than the detection level. First level comparison means for comparing the level threshold value with the input signal and outputting a stability detection signal when the input signal exceeds the stability detection level threshold value; And a threshold value varying means for varying the stable detection level threshold value. The second comparing means compares the generated signal with the detected signal and outputs an ON signal when the signal exceeds the detection level. Consists of

【0010】請求項2にかかる発明は、請求項1にかか
る発明の第1の比較手段から出力される安定検出信号に
応じて点灯する安定出力表示手段を備えて構成される。
The invention according to claim 2 comprises a stable output display means which is turned on in response to a stable detection signal output from the first comparing means of the invention according to claim 1.

【0011】請求項3にかかる発明は、請求項1にかか
る発明に加えて、さらにそれぞれが異なる値に設定され
たしきい値としきい値可変手段によって可変されるしき
い値とを比較し、安定検出レベルの余裕度を検出する複
数の安定検出レベル余裕度検出手段と、複数の安定検出
レベル余裕度検出手段のそれぞれの出力を表示する安定
検出レベル余裕度表示手段とを備えて構成される。
According to a third aspect of the present invention, in addition to the first aspect of the present invention, a threshold value set to a different value and a threshold value changed by the threshold value changing means are compared. It comprises a plurality of stability detection level margin detection means for detecting the margin of the stability detection level, and a stability detection level margin display means for displaying the output of each of the plurality of stability detection level margin detection means. .

【0012】請求項4にかかる発明は、請求項1にかか
る発明に加えて、さらに第1の比較手段から出力される
安定検出信号をデジタル信号に変換するA/D変換手段
と、変換されたデジタル信号を表示する数字表示手段と
を備えて構成される。
In addition to the invention according to claim 1, the invention according to claim 4 further comprises A / D conversion means for converting the stability detection signal output from the first comparison means into a digital signal, and the converted signal. And a numeral display means for displaying a digital signal.

【0013】請求項5にかかる発明は、検出レベルを越
える信号が入力されたことに応じてオン信号を出力する
検出スイッチであって、検出レベルよりも低いレベルの
安定遮光検出レベルしきい値と入力された信号とを比較
し、入力された信号が安定遮光検出レベルしきい値を越
えていないことに応じて安定遮光検出信号を出力する第
1の比較手段と、検出レベルと入力された信号とを比較
し、入力された信号が検出レベルを越えたことに応じて
オン信号を出力する第2の比較手段と、安定遮光検出レ
ベルしきい値を可変するためのしきい値可変手段とを備
えて構成される。
According to a fifth aspect of the present invention, there is provided a detection switch which outputs an ON signal in response to the input of a signal exceeding the detection level, and a stable light-shielding detection level threshold value lower than the detection level. First comparison means for comparing the input signal with the input signal and outputting a stable light-shielding detection signal when the input signal does not exceed the stable light-shielding detection level threshold, and the detection level and the input signal And a second comparing means for outputting an ON signal when the input signal exceeds the detection level, and a threshold varying means for varying the stable light-shielding detection level threshold. It is equipped with.

【0014】請求項6にかかる発明は、請求項1にかか
る発明の第1の比較手段から出力される安定遮光検出信
号に応じて点灯する安定遮光表示手段を備えて構成され
る。
According to a sixth aspect of the present invention, there is provided stable light-shielding display means which is turned on in response to a stable light-shielding detection signal output from the first comparing means of the first invention.

【0015】請求項7にかかる発明は、請求項1にかか
る発明に加えて、さらにそれぞれが異なる値に設定され
たしきい値としきい値可変手段によって可変されるしき
い値とを比較し、安定遮光検出レベルの余裕度を検出す
る複数の安定遮光検出レベル余裕度検出手段と、複数の
安定遮光検出レベル余裕度検出手段のそれぞれの出力を
表示する安定遮光検出レベル余裕度表示手段とを備えて
構成される。
According to a seventh aspect of the present invention, in addition to the first aspect of the present invention, the threshold values set to different values are compared with the threshold value changed by the threshold value changing means. A plurality of stable light shielding detection level margin detecting means for detecting the margin of the stable light shielding detection level and a stable light shielding detection level margin displaying means for displaying the output of each of the plurality of stable light shielding detection level margin detecting means Consists of

【0016】請求項8にかかる発明は、請求項5にかか
る発明に加えて、第1の比較手段から出力される安定遮
光検出信号をデジタル信号に変換する第2のA/D変換
手段と、変換されたデジタル信号を表示する第2の数字
表示手段とを備えて構成される。
According to an eighth aspect of the invention, in addition to the fifth aspect of the invention, second A / D conversion means for converting the stable light-shielding detection signal output from the first comparison means into a digital signal, And second digit display means for displaying the converted digital signal.

【0017】請求項9にかかる発明は、検出レベルを越
える信号が入力されたことに応じて、オン信号を出力す
る検出スイッチであって、検出レベルよりも高いレベル
の安定検出レベルしきい値と入力された信号とを比較
し、入力された信号が安定検出レベルしきい値を越えた
ことに応じて安定検出信号を出力する第1の比較手段
と、検出レベルと入力された信号とを比較し、入力され
た信号がその検出レベルを越えたことに応じてオン信号
を出力する第2の比較手段と、検出レベルよりも低いレ
ベルの安定遮光検出レベルしきい値と入力された信号と
を比較し、入力された信号が安定遮光検出レベルしきい
値を越えていないことに応じて安定遮光検出信号を出力
する第3の比較手段と、安定検出レベルしきい値と安定
遮光検出レベルしきい値とを可変するためのしきい値可
変手段を備えて構成される。
According to a ninth aspect of the present invention, there is provided a detection switch which outputs an ON signal in response to the input of a signal exceeding the detection level, and which has a stable detection level threshold value higher than the detection level. Comparing the input signal with the input signal, comparing the input signal with the first comparing means for outputting the stability detection signal when the input signal exceeds the stability detection level threshold value. Then, the second comparing means for outputting an ON signal in response to the input signal exceeding the detection level, the stable light-shielding detection level threshold value lower than the detection level, and the input signal are A third comparing means for comparing and outputting a stable light-shielding detection signal when the input signal does not exceed the stable light-shielding detection level threshold value, and the stable detection level threshold value and the stable light-shielding detection level threshold value. Configured with a threshold varying means for varying and.

【0018】請求項10〜15にかかる発明は、請求項
2〜8と同様にして構成される。
The invention according to claims 10 to 15 is constructed in the same manner as claims 2 to 8.

【0019】[0019]

【作用】請求項1〜4にかかる発明は、安定検出レベル
を可変にし、入力された信号が安定検出レベルを越えた
ことに応じて、安定検出信号を出力し、その出力に応じ
て安定出力表示手段を点灯させるか、その安定出力を数
字表示手段に表示させる。より好ましくは、安定検出レ
ベルの余裕度を検出し、その余裕度を表示させる。
According to the present invention, the stability detection level is made variable, the stability detection signal is output when the input signal exceeds the stability detection level, and the stable output is output according to the output. The display means is turned on or its stable output is displayed on the numerical display means. More preferably, the stability detection level margin is detected and the margin is displayed.

【0020】請求項5〜8にかかる発明は、安定遮光レ
ベルを可変にし、入力された信号が安定遮光検出レベル
のしきい値を越えていないことに応じて、安定遮光検出
信号を出力し、その出力に応じて安定遮光表示手段を点
灯させるか、その安定遮光出力を数字表示手段に表示さ
せる。より好ましくは、安定遮光検出レベルの余裕度を
検出し、その余裕度を表示させる。
The invention according to claims 5 to 8 makes the stable light-shielding level variable, and outputs the stable light-shielding detection signal when the input signal does not exceed the threshold value of the stable light-shielding detection level. The stable light-shielding display means is turned on according to the output, or the stable light-shielding output is displayed on the number display means. More preferably, the margin of the stable light shielding detection level is detected, and the margin is displayed.

【0021】請求項9〜15にかかる発明は、安定検出
レベルと安定遮光検出レベルを可変にし、入力された信
号が安定検出レベルを越えたことに応じて安定検出信号
を出力し、入力された信号が安定遮光検出レベルを越え
ていないことに応じて安定遮光検出信号を出力し、安定
出力表示手段と安定遮光表示手段を点灯させるか、その
安定出力および安定遮光出力を数字表示手段に表示させ
る。より好ましくは、安定検出レベル余裕度と安定遮光
検出レベルの余裕度を検出し、それぞれの余裕度を表示
される。
The present invention according to claims 9 to 15 makes the stable detection level and the stable light-shielding detection level variable, outputs a stable detection signal when the input signal exceeds the stable detection level, and inputs the stable detection signal. When the signal does not exceed the stable light-shielding detection level, a stable light-shielding detection signal is output and the stable output display means and the stable light-shielding display means are turned on, or the stable output and the stable light-shielding output are displayed on the number display means. . More preferably, the stable detection level margin and the stable light shielding detection level margin are detected, and the respective margins are displayed.

【0022】[0022]

【実施例】図1はこの発明の一実施例のブロック図であ
る。この図1に示した実施例は、コンパレータ7に与え
られる安定入光レベルVth1およびコンパレータ9に
与えられる安定遮光レベルVth3を可変にするための
可変電源21,22が設けられ、コンパレータ8に与え
られる入光レベルVth2を固定にするための固定電源
23が設けられた以外は、前述の図15と同様にして構
成される。なお、安定入光レベルVth1と安定遮光レ
ベルVth3と入光レベルVth2の関係は、Vth1
>Vth2>Vth3に選ばれる。このように、安定入
光レベルVth1と安定遮光レベルVth3とを可変に
することにより、安定入光レベルVth1と安定遮光レ
ベルVth3とを可変させることができるので、安定表
示範囲を可変にすることができる。
1 is a block diagram of an embodiment of the present invention. In the embodiment shown in FIG. 1, variable power supplies 21 and 22 for varying the stable light incident level Vth1 applied to the comparator 7 and the stable light shielding level Vth3 applied to the comparator 9 are provided and applied to the comparator 8. The configuration is similar to that of FIG. 15 described above except that a fixed power supply 23 for fixing the light incident level Vth2 is provided. The relationship between the stable light input level Vth1, the stable light blocking level Vth3, and the light input level Vth2 is Vth1.
>Vth2> Vth3. As described above, by making the stable light input level Vth1 and the stable light blocking level Vth3 variable, the stable light input level Vth1 and the stable light blocking level Vth3 can be made variable, so that the stable display range can be made variable. it can.

【0023】図2はこの発明の一実施例のより具体的な
ブロック図である。電源Vccと接地間には、ボリュー
ムVR1とトランジスタTr3の直列回路が接続される
とともに、電源Vccと接地間にトランジスタTr1と
Tr2とからなる第1のカレントミラー回路16およびト
ランジスタTr4とTr5とからなる第2のカレントミ
ラー回路17が接続される。第1のカレントミラー回路
16から抵抗R3とR4の接続点に電流I2が供給さ
れ、第2のカレントミラー回路17のトランジスタTr
5は抵抗R4と定電流源6との接続点に接続され、トラ
ンジスタTr3のコレクタとベースとトランジスタTr
4のベースが接続される。それ以外の構成は前述の図1
5と同じである。
FIG. 2 is a more specific block diagram of an embodiment of the present invention. A series circuit of a volume VR1 and a transistor Tr3 is connected between the power supply Vcc and the ground, and a first current mirror circuit 16 including transistors Tr1 and Tr2 and a transistor Tr4 and Tr5 are connected between the power supply Vcc and the ground. The second current mirror circuit 17 is connected. The current I2 is supplied from the first current mirror circuit 16 to the connection point of the resistors R3 and R4, and the transistor Tr of the second current mirror circuit 17 is supplied.
Reference numeral 5 is connected to the connection point between the resistor R4 and the constant current source 6, and the collector and base of the transistor Tr3 and the transistor Tr3 are connected.
4 bases are connected. The other configuration is shown in FIG.
Same as 5.

【0024】抵抗R1,R2,R3に流れる電流は、定
電流源6によってI1=一定であるので、入光なしのレ
ベルV1,安定遮光レベルV2,入光レベルV3は、そ
れぞれ V1=Vcc−I1×R1 V2=Vcc−I1×(R1+R2) V3=Vcc−I1×(R1+R2+R3) に固定されている。一方、トランジスタTr3に流れる
電流I3は、 I3=(Vcc−VB E 3 )/VR1 と決まり、ボリュームVR1の抵抗値の大きさに反比例
する。トランジスタTr2に流れる電流I2はトランジ
スタTr3とTr4の第2のカレントミラー回路17お
よびトランジスタTr1とTr2の第1のカレントミラ
ー回路16とによって電流I3と同じになるので、 I2=I3=(Vcc−VB E 3 )/VR1 となり、電流I2もボリュームVR1の抵抗値に反比例
する。ここで、抵抗R4にはI1+I2の電流が流れる
ため、安定入光レベルV4は、 V4=Vcc−I1×(R1+R2+R3+R4)−I2×R4 =Vcc−I1×(R1+R2+R3+R4)−(Vcc−VB E 3 )/V R1×R4 となり、ボリュームVR1の大きさを変えると、安定入
光レベルV4の値が変化する。
The currents flowing through the resistors R1, R2 and R3 are I1 = constant by the constant current source 6, so that the level V1 without light entering, the stable light blocking level V2 and the light entering level V3 are V1 = Vcc-I1 respectively. XR1 V2 = Vcc-I1x (R1 + R2) V3 = Vcc-I1x (R1 + R2 + R3). On the other hand, the current I3 flowing through the transistor Tr3 is determined and I3 = (Vcc-V BE 3 ) / VR1, is inversely proportional to the magnitude of the resistance value of the volume VR1. The current I2 flowing in the transistor Tr2 becomes the same as the current I3 by the second current mirror circuit 17 of the transistors Tr3 and Tr4 and the first current mirror circuit 16 of the transistors Tr1 and Tr2, so that I2 = I3 = (Vcc-V BE 3 ) / VR1 and the current I2 is also inversely proportional to the resistance value of the volume VR1. Here, since the resistor R4 flows a current of I1 + I2, stable incident level V4 is, V4 = Vcc-I1 × ( R1 + R2 + R3 + R4) -I2 × R4 = Vcc-I1 × (R1 + R2 + R3 + R4) - (Vcc-V BE 3) / VR1 * R4, and if the size of the volume VR1 is changed, the value of the stable light incident level V4 changes.

【0025】上述のごとく、図2に示した実施例では、
ボリュームVR1によってその抵抗値を可変することに
より、安定入光レベルV4を変化させ、安定入光時の安
定表示範囲を可変とすることができる。
As described above, in the embodiment shown in FIG.
By changing the resistance value by the volume VR1, the stable light incident level V4 can be changed and the stable display range at the time of stable light incident can be changed.

【0026】図3はこの発明の他の実施例を示す図であ
る。この図3に示した実施例も、安定入光レベルV4の
み可変にするようにしたものである。図3において、入
光レベルV3が入力されるバッファ15が設けられ、バ
ッファ15の出力は抵抗R6を介してコンパレータ9の
基準入力端に与えられるとともに、ボリュームVR1を
介して接地される。それ以外の構成は図15と同じであ
る。抵抗R1,R2,R3に流れる電流は、定電流源6
によってI1=一定であるため、入光なしのレベルV
1,安定遮光レベルV2,入光レベルV3は、 V1=Vcc−I1×R1 V2=Vcc−I1×(R1+R2) V3=Vcc−I1×(R1+R2+R3) と固定されている。一方、バッファ15の出力は入光レ
ベルV3であるので、抵抗R5とボリュームVR1を流
れる電流I2は、 I2=V3/(R6+VR1) となり、ボリュームVR1を変化させることによって、
電流I2が変化する。ここで、安定入光レベルV4は V4=Vcc−I1×(R1+R2+R3)−I2×R6 =Vcc−I1×(R1+R2+R3)−V3/(R6+VR1)×R6 となるため、ボリュームVR1の大きさを変えると、安
定入光レベルV4の値が変化する。
FIG. 3 is a diagram showing another embodiment of the present invention. Also in the embodiment shown in FIG. 3, only the stable light incident level V4 is made variable. In FIG. 3, a buffer 15 to which the light incident level V3 is input is provided, and the output of the buffer 15 is given to the reference input terminal of the comparator 9 via the resistor R6 and is also grounded via the volume VR1. The other configuration is the same as that of FIG. The current flowing through the resistors R1, R2 and R3 is the constant current source 6
Therefore, I1 = constant, so the level V
1, stable light-shielding level V2, and light-incident level V3 are fixed as V1 = Vcc-I1 * R1 V2 = Vcc-I1 * (R1 + R2) V3 = Vcc-I1 * (R1 + R2 + R3). On the other hand, since the output of the buffer 15 is the light incident level V3, the current I2 flowing through the resistor R5 and the volume VR1 becomes I2 = V3 / (R6 + VR1), and by changing the volume VR1,
The current I2 changes. Here, the stable light input level V4 is V4 = Vcc-I1 * (R1 + R2 + R3) -I2 * R6 = Vcc-I1 * (R1 + R2 + R3) -V3 / (R6 + VR1) * R6, so that the size of the volume VR1 is changed. , The value of the stable incident light level V4 changes.

【0027】上述のごとく、図3に示した実施例では、
ボリュームVR1によってその抵抗値を可変することに
より、安定入力レベルV4を変化させることができ、安
定入光時の安定表示範囲を可変とすることができる。
As described above, in the embodiment shown in FIG.
By changing the resistance value by the volume VR1, the stable input level V4 can be changed, and the stable display range at the time of stable light input can be changed.

【0028】図4はこの発明の他の実施例を示す電気回
路図であり、図1に示した発振回路1と投光回路2と投
光素子3と信号処理回路10と積分回路11と表示回路
12と出力回路13のそれぞれの図示が省略されてい
る。
FIG. 4 is an electric circuit diagram showing another embodiment of the present invention. The oscillator circuit 1, the light projecting circuit 2, the light projecting element 3, the signal processing circuit 10, the integrating circuit 11 and the display shown in FIG. 1 are shown. Illustration of the circuit 12 and the output circuit 13 is omitted.

【0029】電源Vccと接地間には抵抗R2とR3と
R4と定電流源6とか直列接続されている。抵抗R2と
R3の接続点とアンプ回路5の出力との間には抵抗R5
が接続されている。さらに、電源Vcc側にはトランジ
スタTr1とTr2とからなる第1のカレントミラー回
路16が接続され、接地側にはトランジスタTr3とT
r4とからなる第2のカレントミラー回路17が接続さ
れている。トランジスタTr1のコレクタとトランジス
タTr3のコレクタとの間にはボリュームVR1が接続
され、トランジスタTr2のコレクタとトランジスタT
r4のコレクタとの間には抵抗R7が接続され、抵抗R
2とR3の接続点と、トランジスタTr2のコレクタと
抵抗R7との接続点にはバッファ18が接続されてい
る。抵抗R7とトランジスタTr4のコレクタとの接続
点には安定入光レベルV4が出力されてコンパレータ7
に与えられる。抵抗R3とR4の接続点には安定遮光レ
ベルV2が出力され、この安定遮光レベルV2はコンパ
レータ8の基準入力端に与えられ、抵抗R4と定電流源
6との接続点には入力レベルV3が出力され、コンパレ
ータ9の基準入力端に与えられる。
Resistors R2, R3, R4 and a constant current source 6 are connected in series between the power source Vcc and the ground. A resistor R5 is provided between the connection point of the resistors R2 and R3 and the output of the amplifier circuit 5.
Are connected. Further, a first current mirror circuit 16 including transistors Tr1 and Tr2 is connected to the power supply Vcc side, and transistors Tr3 and T1 are connected to the ground side.
A second current mirror circuit 17 composed of r4 is connected. The volume VR1 is connected between the collector of the transistor Tr1 and the collector of the transistor Tr3, and the collector of the transistor Tr2 and the transistor T3 are connected.
A resistor R7 is connected between the collector of r4 and the resistor R7.
A buffer 18 is connected to the connection point between 2 and R3 and the connection point between the collector of the transistor Tr2 and the resistor R7. The stable incident light level V4 is output to the connection point between the resistor R7 and the collector of the transistor Tr4, and the comparator 7
Given to. A stable light-shielding level V2 is output to the connection point of the resistors R3 and R4, this stable light-shielding level V2 is given to the reference input terminal of the comparator 8, and the input level V3 is applied to the connection point of the resistor R4 and the constant current source 6. It is output and given to the reference input terminal of the comparator 9.

【0030】次に、図4に示した実施例の動作について
説明する。抵抗R2とR3とR4に流れる電流は、定電
流源6によってI1=一定であるので、入光レベルV3
と安定入光レベルV4は、 V3=Vcc−I1×(R2+R3) V4=Vcc−I1×(R2+R3+R4) に固定されている。一方、トランジスタTr3に流れる
電流I3は、 I3=(Vcc−(VB E 1 +VB E 3 ))/VR1 で決まり、ボリュームVR1の抵抗値の大きさに反比例
する。トランジスタTr2に流れる電流I2はトランジ
スタTr3とTr4の第2のカレントミラー回路17お
よびトランジスタTr1とTr2の第1のカレントミラ
ー回路16とによって、電流I3と同じになるので、 I2=I3=(Vcc−(VB E 1 +VB E 3 ))/VR1 電流I2もボリュームVR1の抵抗値に反比例する。こ
こで、安定遮光レベルV2はバッファ18の出力が入光
なしのレベルV1であり、抵抗R7には電流I2が流れ
るため、安定遮光レベルV2は、 V2=Vcc−I1×R2−I2×R7 =Vcc−I1×R2−(Vcc−(VB E 1 +VB E 3 ))/VR1×R 7 ただし、I1×R2>I2×R7 となり、ボリュームVR1の抵抗値の大きさを変える
と、安定遮光レベルV2の値が変化する。
Next, the operation of the embodiment shown in FIG. 4 will be described. The current flowing through the resistors R2, R3, and R4 is I1 = constant due to the constant current source 6, so that the incident light level V3
And the stable light input level V4 is fixed to V3 = Vcc-I1 * (R2 + R3) V4 = Vcc-I1 * (R2 + R3 + R4). On the other hand, the current I3 flowing through the transistor Tr3 is determined by I3 = (Vcc- (V BE 1 + V BE 3)) / VR1, is inversely proportional to the magnitude of the resistance value of the volume VR1. The current I2 flowing through the transistor Tr2 becomes the same as the current I3 by the second current mirror circuit 17 of the transistors Tr3 and Tr4 and the first current mirror circuit 16 of the transistors Tr1 and Tr2. Therefore, I2 = I3 = (Vcc- (V BE 1 + V BE 3 )) / VR1 The current I2 is also inversely proportional to the resistance value of the volume VR1. Here, the stable light-shielding level V2 is the level V1 at which the output of the buffer 18 does not receive light, and the current I2 flows through the resistor R7. Therefore, the stable light-shielding level V2 is V2 = Vcc-I1 × R2-I2 × R7 = vcc-I1 × R2- (Vcc- ( V BE 1 + V BE 3)) / VR1 × R 7 , however, I1 × R2> I2 × R7, and the changing the magnitude of the resistance value of the volume VR1, stable shading level V2 The value of changes.

【0031】上述のごとく、図4に示した実施例では、
ボリュームVR1の抵抗値を可変することにより、安定
遮光レベルV2を変化させることができ、安定遮光時に
おける安定表示範囲を可変にすることができる。
As described above, in the embodiment shown in FIG.
By changing the resistance value of the volume VR1, the stable light shielding level V2 can be changed, and the stable display range at the time of stable light shielding can be made variable.

【0032】図5はこの発明のさらに他の実施例を示す
電気回路図であり、安定遮光レベルV2と安定入光レベ
ルV4の両方を可変できるようにしたものである。この
図5に示した実施例も、図4の実施例と同様にして、発
振回路1と投光回路2と投光素子3と信号処理回路10
と積分回路11と表示回路12と出力回路13の図示が
省略されている。
FIG. 5 is an electric circuit diagram showing still another embodiment of the present invention, in which both the stable light shielding level V2 and the stable light incident level V4 are made variable. The embodiment shown in FIG. 5 is also similar to the embodiment shown in FIG. 4, and the oscillation circuit 1, the light projecting circuit 2, the light projecting element 3, and the signal processing circuit 10 are provided.
The integrator circuit 11, the display circuit 12, and the output circuit 13 are not shown.

【0033】電源Vccと接地間にはボリュームVR2
と抵抗R3とR4とボリュームVR3と定電流源6とが
直列接続されている。ボリュームVR2によって安定遮
光出力レベルV2が出力され、コンパレータ7の基準入
力端に与えられる。抵抗R3とR4との接続点から入力
レベルV3が出力され、コンパレータ8の基準入力端に
与えられる。ボリュームVR3から安定入光レベルV4
が出力され、コンパレータ9の基準入力端に入力され
る。
A volume VR2 is provided between the power source Vcc and the ground.
The resistors R3 and R4, the volume VR3, and the constant current source 6 are connected in series. The stable light-shielding output level V2 is output by the volume VR2 and applied to the reference input terminal of the comparator 7. The input level V3 is output from the connection point between the resistors R3 and R4, and applied to the reference input terminal of the comparator 8. Stable incident light level V4 from volume VR3
Is output and input to the reference input terminal of the comparator 9.

【0034】次に、図5に示した実施例の動作について
説明する。ボリュームVR2と抵抗R3に流れる電流は
定電流源6によってI1=一定であるので、入光レベル
V3は、 V3=Vcc−I1×(VR2+R3) に固定されている。一方、安定遮光レベルV2は可変抵
抗VR2の両端電圧を分圧することによって可変とする
ことができるため、 V2=Vcc−I1×VR2a ただし、VR2=VR2a+VR2b となる。また、安定入光レベルV4も同様にして、可変
抵抗VR3の両端電圧を分圧することによって可変でき
るため、 V4=Vcc−I1×(VR2+R3+R4+VR3a) ただし、VR3=VR3a+VR3b となる。
Next, the operation of the embodiment shown in FIG. 5 will be described. Since the current flowing through the volume VR2 and the resistor R3 is I1 = constant by the constant current source 6, the light incident level V3 is fixed to V3 = Vcc-I1 × (VR2 + R3). On the other hand, since the stable light shielding level V2 can be made variable by dividing the voltage across the variable resistor VR2, V2 = Vcc-I1 × VR2a However, VR2 = VR2a + VR2b. Further, the stable light incident level V4 can be similarly changed by dividing the voltage across the variable resistor VR3, so that V4 = Vcc-I1 * (VR2 + R3 + R4 + VR3a), but VR3 = VR3a + VR3b.

【0035】上述のごとく、図5に示した実施例では、
ボリュームVR2とVR3のそれぞれの抵抗値を可変す
ることにより、安定遮光レベルV2と安定入光レベルV
4の両レベルを変化させ、安定遮光時と安定入光時の両
安定表示範囲をそれぞれ可変にすることができる。
As described above, in the embodiment shown in FIG.
By changing the respective resistance values of the volumes VR2 and VR3, the stable light-shielding level V2 and the stable light-incident level V can be obtained.
By changing both levels of 4, it is possible to make variable both the stable display range at the time of stable light shielding and the stable light reception.

【0036】図6はこの発明のさらに他の実施例を示す
図であり、安定遮光レベルV2と安定入光レベルV4の
両レベルを可変にするようにしたものである。この図6
においても、発振回路1〜投光素子3と信号処理回路1
0〜出力回路13の図示が省略されている。電源Vcc
と接地間に抵抗R1とR2とR3と定電流源6とが直列
接続されている。電源Vcc側にトランジスタTr1と
Tr2とからなる第1のカレントミラー回路16が接続
され、接地側にトランジスタTr3とTr4とからなる
第2のカレントミラー回路17が接続されている。トラ
ンジスタTr1のコレクタとトランジスタTr3のコレ
クタとの間にボリュームVR1が接続され、トランジス
タTr2のコレクタとトランジスタTr4のコレクタと
の間に抵抗R6とR7とが接続されている。トランジス
タTr2のコネクタには安定遮光レベルV2が出力され
てコンパレータ7の基準入力端に与えられる。抵抗R2
とR3との接続点には入光レベルV3が出力され、コン
パレータ8の基準入力端に与えられるとともに、バッフ
ァ18を介して抵抗R6とR7との接続点に与えられ
る。抵抗R7とトランジスタTr4のコレクタとの接続
点には安定入光レベルV4が出力され、コンパレータ9
の基準入力端に与えられる。
FIG. 6 is a diagram showing still another embodiment of the present invention, in which both the stable light shielding level V2 and the stable light incident level V4 are made variable. This Figure 6
Also in the above, the oscillation circuit 1 to the light projecting element 3 and the signal processing circuit 1
The illustration of 0 to the output circuit 13 is omitted. Power supply Vcc
The resistors R1, R2, R3 and the constant current source 6 are connected in series between the ground and the ground. A first current mirror circuit 16 including transistors Tr1 and Tr2 is connected to the power source Vcc side, and a second current mirror circuit 17 including transistors Tr3 and Tr4 is connected to the ground side. The volume VR1 is connected between the collector of the transistor Tr1 and the collector of the transistor Tr3, and the resistors R6 and R7 are connected between the collector of the transistor Tr2 and the collector of the transistor Tr4. The stable light-shielding level V2 is output to the connector of the transistor Tr2 and applied to the reference input terminal of the comparator 7. Resistance R2
The light input level V3 is output to the connection point between R3 and R3, and is supplied to the reference input terminal of the comparator 8 and is also supplied to the connection point between the resistors R6 and R7 via the buffer 18. The stable incident light level V4 is output to the connection point between the resistor R7 and the collector of the transistor Tr4, and the comparator 9
It is given to the reference input terminal of.

【0037】次に、図6に示した実施例の動作について
説明する。抵抗R1,R2,R3に流れる電流は定電流
源6によってI1=一定であるので、入光レベルV3は V3=Vcc−I1×(R1+R2) に固定されている。一方、トランジスタTr1に流れる
電流I3は、 I3=(Vcc−(VB E 1 +VB E 3 ))/VR1 で定まり、ボリュームVR1の抵抗値に反比例する。ト
ランジスタTr2に流れる電流I2はトランジスタTr
1とTr2の第1のカレントミラー回路16によって、
電流I3と同じになるので、 I2=I3=(Vcc−(VB E 1 +VB E 3 ))/VR1 となり、電流I2もボリュームVR1の抵抗値に反比例
する。ここで、バッファ18の出力がV3であり、抵抗
R4とR5には電流I2が流れるため、安定遮光レベル
V2は、 V2=Vcc−I1×(R1+R2)+I2×R6 =Vcc−I1×(R1+R2)+(Vcc−(VB E 1 +VB E 3 ))/ VR1×R6 となり、安定入光レベルV4は、 V4=Vcc−I1×(R1+R2)−I2×R7 =Vcc−I1×(R1+R2)−(Vcc−(VB E 1 +VB E 3 )/V R1×R7 となる。よって、ボリュームVR1の抵抗値を可変する
と、安定遮光レベルV2と安定入光レベルV4の値が変
化する。
Next, the operation of the embodiment shown in FIG. 6 will be described. Since the current flowing through the resistors R1, R2 and R3 is I1 = constant by the constant current source 6, the incident light level V3 is fixed to V3 = Vcc-I1 * (R1 + R2). On the other hand, the current I3 flowing through the transistor Tr1 is Sadamari by I3 = (Vcc- (V BE 1 + V BE 3)) / VR1, it is inversely proportional to the resistance value of the volume VR1. The current I2 flowing through the transistor Tr2 is the transistor Tr2.
By the first current mirror circuit 16 of 1 and Tr2,
Since the same as the current I3, I2 = I3 = (Vcc- (V BE 1 + V BE 3)) / VR1 , and the current I2 is also inversely proportional to the resistance value of the volume VR1. Since the output of the buffer 18 is V3 and the current I2 flows through the resistors R4 and R5, the stable light shielding level V2 is: V2 = Vcc-I1 * (R1 + R2) + I2 * R6 = Vcc-I1 * (R1 + R2) + (Vcc− (V BE 1 + V BE 3 )) / VR1 × R6, and the stable light incident level V4 is V4 = Vcc−I1 × (R1 + R2) −I2 × R7 = Vcc−I1 × (R1 + R2) − (Vcc -(V BE 1 + V BE 3 ) / VR1 × R7 Therefore, when the resistance value of the volume VR1 is changed, the values of the stable light shielding level V2 and the stable light incident level V4 change.

【0038】上述のごとく、図6に示した実施例では、
ボリュームVR1にはその抵抗値を可変することによ
り、安定遮光レベルV2と安定入光レベルV4の両レベ
ルを変化させることができ、安定遮光時と安定入光時の
両安定表示範囲をそれぞれ可変することができる。
As described above, in the embodiment shown in FIG.
By changing the resistance value of the volume VR1, both the stable light shielding level V2 and the stable light incident level V4 can be changed, and both the stable display range during the stable light shielding and the stable light incident can be varied. be able to.

【0039】なお、図6に示した実施例において、抵抗
R6=R7とすれば、安定遮光時および安定入光時の両
余裕度を等しく変化させることができる。
In the embodiment shown in FIG. 6, if the resistance R6 = R7, both margins during stable light blocking and stable light entering can be changed equally.

【0040】図7は安定入光レベルのみ可変にし、バー
表示機能を付加した実施例を示す図である。図7(a)
を参照して、検出スイッチ20には、その前面には投光
素子3と受光素子4とが配置され、その上面には距離設
定用ボリューム21と動作表示灯22と安定表示灯23
と安定入光レベルの余裕度バー表示器24と安定入光レ
ベルの余裕度可変ボリューム25とが配置されている。
余裕度バー表示器24は図7(b)に示すように、たと
えば5個の発光ダイオードからなり、図7(c)に示す
ように、安定入光レベルV4の余裕度が1倍〜5倍のそ
れぞれに対応しており、これらのレベルは余裕度可変ボ
リューム25を調整して、図7(d)に示すようなレベ
ルに設定される。
FIG. 7 is a diagram showing an embodiment in which only the stable light incident level is made variable and a bar display function is added. Figure 7 (a)
Referring to, the detection switch 20 has a light projecting element 3 and a light receiving element 4 arranged on the front surface thereof, and a distance setting potentiometer 21, an operation indicator lamp 22, and a stability indicator lamp 23 on the upper surface thereof.
A stable light incident level allowance bar indicator 24 and a stable light incident level allowance variable volume 25 are arranged.
The margin bar indicator 24 is composed of, for example, five light emitting diodes as shown in FIG. 7B, and the margin of the stable light input level V4 is 1 to 5 times as shown in FIG. 7C. 7D, and these levels are set to levels as shown in FIG. 7D by adjusting the margin variable volume 25.

【0041】図8は図7に示した実施例の具体的な電気
回路図である。なお、図8では、余裕度バー表示器24
を中心に図示されており、その他の投光素子3などの図
示が省略されている。電源Vccと接地間には抵抗R2
とR3とボリュームVR1と定電流源6とが直列接続さ
れている。抵抗R2の一端から安定遮光レベルV2が出
力され、コンパレータ7の基準入力端に与えられる。抵
抗R2とR3との接続点からは入光レベルV3が出力さ
れ、コンパレータ8の基準入力端に与えられる。ボリュ
ームVR1から安定入光レベルV4が出力され、コンパ
レータ9の基準入力端に与えられるとともに、コンパレ
ータ31〜35の比較入力端に与えられる。コンパレー
タ31〜35のそれぞれの基準入力端には、電源Vcc
と接地間に直列接続された抵抗R10,R11,R1
2,R13,R14および定電流源36によって分圧さ
れたしきい値電圧V11,V12,V13,V14,V
15が与えられる。コンパレータ31〜35のそれぞれ
の出力は、トランジスタTr11〜Tr15のベースに
個別的に与えられ、トランジスタTr11〜Tr15の
それぞれのコレクタと電源Vccとの間には、抵抗R2
1と発光ダイオードLED1,R22と発光ダイオード
LED2,抵抗R23と発光ダイオードLED3,抵抗
R24と発光ダイオードLED4,抵抗R25とLED
5がそれぞれ接続されている。トランジスタTr11〜
Tr15のエミッタは接地されている。
FIG. 8 is a concrete electric circuit diagram of the embodiment shown in FIG. In FIG. 8, the margin bar indicator 24
Is mainly shown, and other light projecting elements 3 and the like are omitted. A resistor R2 is connected between the power supply Vcc and ground.
, R3, volume VR1 and constant current source 6 are connected in series. The stable light shielding level V2 is output from one end of the resistor R2 and is applied to the reference input end of the comparator 7. A light incident level V3 is output from the connection point between the resistors R2 and R3 and is applied to the reference input terminal of the comparator 8. The stable light input level V4 is output from the volume VR1 and applied to the reference input terminal of the comparator 9 and the comparison input terminals of the comparators 31 to 35. The power source Vcc is connected to each reference input terminal of the comparators 31 to 35.
And resistors R10, R11, R1 connected in series between the
2, threshold voltages V11, V12, V13, V14, V divided by R13, R14 and the constant current source 36
15 is given. The respective outputs of the comparators 31 to 35 are individually given to the bases of the transistors Tr11 to Tr15, and the resistor R2 is provided between the collectors of the transistors Tr11 to Tr15 and the power supply Vcc.
1 and light emitting diode LED1, R22, light emitting diode LED2, resistor R23, light emitting diode LED3, resistor R24, light emitting diode LED4, resistor R25 and LED
5 are connected to each other. Transistors Tr11-
The emitter of Tr15 is grounded.

【0042】次に、図8に示した実施例の動作について
説明する。定電流源6によって抵抗R2,R3およびボ
リュームVR1には定電流I2が流れるため、安定遮光
レベルV2,入光レベルV3は、 V2=Vcc V3=Vcc−I2×R2 に固定されていて、ボリュームVR1により安定入光レ
ベルV4は V4=Vcc−I2×(R2+R3+VR1ab) ただし、ボリュームVR1のa−b間の抵抗値をVR1
abとする。となり可変となる。この実施例では、5段
階の余裕度表示の場合を示している。
Next, the operation of the embodiment shown in FIG. 8 will be described. Since the constant current I2 flows through the resistors R2 and R3 and the volume VR1 by the constant current source 6, the stable light shielding level V2 and the light incident level V3 are fixed to V2 = Vcc V3 = Vcc-I2 × R2, and the volume VR1 Therefore, the stable light incident level V4 is V4 = Vcc-I2 × (R2 + R3 + VR1ab) However, the resistance value between a and b of the volume VR1 is VR1.
ab. Next becomes variable. In this embodiment, the case of five levels of margin display is shown.

【0043】一方、コンパレータ31〜35のしきい値
電圧V11〜V15は定電流源36によって抵抗R11
〜R14に定電流I1が流れているため、 V11=Vcc−I1×R10 V12=Vcc−I1×(R10+R11) V13=Vcc−I1×(R10+R11+R12) V14=Vcc−I1×(R10+R11+R12+R13) V15=Vcc−I1×(R10+R11+R12+R13+R14) となる。
On the other hand, the threshold voltages V11 to V15 of the comparators 31 to 35 are supplied to the resistor R11 by the constant current source 36.
Since the constant current I1 is flowing to R14, V11 = Vcc-I1 * R10 V12 = Vcc-I1 * (R10 + R11) V13 = Vcc-I1 * (R10 + R11 + R12) V14 = Vcc-I1 * (R10 + R11 + R12 + R13) -V15 = Vc. I1 × (R10 + R11 + R12 + R13 + R14).

【0044】 I1×(R11+R12+R13+R14)=I2×VR1 とすると、ボリュームVR1のa−b間の抵抗値VR1
abが0≦VR1ab<VR1*1/5のとき、コンパ
レータ31の出力が“H”レベルとなってトランジスタ
Tr11が導通し、発光ダイオードLED1が点灯す
る。発光ダイオードLED1は安定入光レベルの余裕度
1のLED目盛を点灯させるため、安定入光レベルの余
裕度が1であることがわかる。
When I1 × (R11 + R12 + R13 + R14) = I2 × VR1, the resistance value VR1 between a and b of the volume VR1 is set.
When ab is 0 ≦ VR1ab <VR1 * 1/5, the output of the comparator 31 becomes “H” level, the transistor Tr11 becomes conductive, and the light emitting diode LED1 lights up. Since the light emitting diode LED1 turns on the LED scale having the margin 1 of the stable light incident level, it is understood that the margin of the stable light incident level is 1.

【0045】ボリュームVR1のa−b間の抵抗値VR
1abがVR1*1/5≦VR1ab<VR1*2/5
のとき、コンパレータ31および32の出力が“H”レ
ベルとなり、トランジスタTr11,Tr12が導通
し、発光ダイオードLED1とLED2とが点灯する。
発光ダイオードLED1とLED2は安定入光レベルの
余裕度1,2のLED目盛を点灯させるため、安定入光
レベルの余裕度が2であることがわかる。
Resistance value VR between a and b of volume VR1
1ab is VR1 * 1/5 ≦ VR1ab <VR1 * 2/5
At this time, the outputs of the comparators 31 and 32 become "H" level, the transistors Tr11 and Tr12 become conductive, and the light emitting diodes LED1 and LED2 light up.
Since the light emitting diodes LED1 and LED2 turn on the LED scales with the stable light incident level margins 1 and 2, it can be seen that the stable light incident level margin is 2.

【0046】ボリュームVR1のa−b間の抵抗値VR
1abがVR1*2/5≦VR1ab<VR1*3/5
のとき、コンパレータ31,32,33のそれぞれの出
力が“H”レベルとなり、トランジスタTr1,Tr
2,Tr3が導通し、発光ダイオードLED1,LED
2,LED3が点灯する。発光ダイオードLED1,L
ED2,LED3は安定入光レベルの余裕度1,2,3
のLED目盛を点灯させるため、安定入光レベルの余裕
度が3であることがわかる。
Resistance value VR between a and b of volume VR1
1ab is VR1 * 2/5 ≦ VR1ab <VR1 * 3/5
At this time, the respective outputs of the comparators 31, 32, 33 become "H" level and the transistors Tr1, Tr
2, Tr3 becomes conductive, and light emitting diode LED1, LED
2, LED3 lights up. Light emitting diode LED1, L
ED2 and LED3 are margins of stable light input level 1, 2, 3
Since the LED scale of No. 3 is turned on, it is understood that the margin of stable light input level is 3.

【0047】ボリュームVR1のa−b間の抵抗値VR
1abがVR1*3/5≦VR1ab<VR1*4/5
のとき、コンパレータ31〜34のそれぞれの出力が
“H”レベルとなり、トランジスタTr1〜Tr4が導
通し、発光ダイオードLED1〜LED4が点灯する。
発光ダイオードLED1〜LED4は安定入光レベルの
余裕度1〜4のLED目盛を点灯させるため、安定入光
レベルの余裕度が4であることがわかる。
Resistance value VR between a and b of volume VR1
1ab is VR1 * 3/5 ≦ VR1ab <VR1 * 4/5
At this time, the respective outputs of the comparators 31 to 34 become the “H” level, the transistors Tr1 to Tr4 become conductive, and the light emitting diodes LED1 to LED4 are turned on.
Since the light emitting diodes LED1 to LED4 turn on the LED scales with the stable light incident level margins 1 to 4, it can be seen that the stable light incident level margin is 4.

【0048】ボリュームVR1のa−b間の抵抗値VR
1abがVR1*4/5≦VR1ab≦VR1のとき、
コンパレータ31〜35のそれぞれの出力は“H”レベ
ルとなり、トランジスタTr11〜Tr15が導通し、
発光ダイオードLED1〜LED5が点灯する。LED
1〜LED5は安定入光レベルの余裕度1〜5のLED
目盛を点灯させるため、安定入光レベルの余裕度が5で
あることがわかる。
Resistance value VR between a and b of volume VR1
When 1ab is VR1 * 4/5 ≦ VR1ab ≦ VR1,
The output of each of the comparators 31 to 35 becomes "H" level, the transistors Tr11 to Tr15 become conductive,
The light emitting diodes LED1 to LED5 are turned on. LED
1 to LED 5 are LEDs with a margin of stable light input level 1 to 5
Since the scale is turned on, it can be seen that the margin of stable light input level is 5.

【0049】上述のごとく、この実施例では、ボリュー
ムVR1によってその抵抗値を変えることにより、安定
入光レベルV4を変化させ、安定入光時に安定表示範囲
を可変にできる。また、バー表示に使用している発光ダ
イオードLED1〜5を安定入光レベルの余裕度に応じ
て点灯させることにより、安定入光レベルの余裕度を検
出スイッチ外部に知らせることができる。なお、抵抗R
11〜R14の抵抗値を増加させたり減少させたりすれ
ば、余裕度レベルを可変にすることができる。
As described above, in this embodiment, by changing the resistance value by the volume VR1, the stable light input level V4 can be changed, and the stable display range can be made variable during the stable light input. Further, by turning on the light emitting diodes LED1 to LED5 used for the bar display according to the margin of the stable light incident level, the margin of the stable light incident level can be notified to the outside of the detection switch. The resistance R
The margin level can be made variable by increasing or decreasing the resistance values of 11 to R14.

【0050】図9はこの発明のさらに他の実施例を示す
図である。前述の図7に示した実施例では、安定入光レ
ベルをバー表示するようにしたが、この実施例では、安
定遮光レベルV2をバー表示するものである。すなわ
ち、検出スイッチ20の上面には、安定遮光レベル余裕
度のバー表示器26と安定遮光レベル余裕度可変ボリュ
ーム27が設けられており、それ以外の距離設定ボリュ
ーム21,動作表示灯22および安定表示灯23は前述
の図7と同じである。
FIG. 9 is a diagram showing still another embodiment of the present invention. In the above-described embodiment shown in FIG. 7, the stable light incident level is displayed by the bar, but in this embodiment, the stable light shielding level V2 is displayed by the bar. That is, on the upper surface of the detection switch 20, a bar indicator 26 for a stable light shielding level margin and a stable light shielding level margin variable volume 27 are provided, and the other distance setting volume 21, operation indicator lamp 22 and stable display are provided. The lamp 23 is the same as that shown in FIG.

【0051】図10は図9に示した実施例の具体的な電
気回路図である。この図10においても投光素子3など
の図示が省略されている。コンパレータ31〜35の比
較入力として、ボリュームVR1から出力される安定遮
光レベルV2が与えられる以外は前述の図8と同様にし
て構成される。
FIG. 10 is a concrete electric circuit diagram of the embodiment shown in FIG. Also in FIG. 10, illustration of the light projecting element 3 and the like is omitted. The configuration is similar to that of FIG. 8 described above, except that the stable light-shielding level V2 output from the volume VR1 is applied as the comparison input of the comparators 31 to 35.

【0052】次に、動作について説明する。定電流源6
によってボリュームVR1と抵抗R2,R3には定電流
I2が流れるため、安定入光レベルV4および入光レベ
ルV3は V4=Vcc−I2×(VR1+R2+R3) V3=Vcc−I2×(VR1+R2) に固定されていて、ボリュームVR1により安定遮光レ
ベルV2は V2=Vcc−I2×VR1ab ただし、ボリュームVR1のa−b間の抵抗値をVR1
abとする。と可変となる。
Next, the operation will be described. Constant current source 6
Since the constant current I2 flows through the volume VR1 and the resistors R2 and R3, the stable light incident level V4 and the light incident level V3 are fixed to V4 = Vcc-I2 * (VR1 + R2 + R3) V3 = Vcc-I2 * (VR1 + R2). Then, the stable light-shielding level V2 by the volume VR1 is V2 = Vcc-I2 * VR1ab, where the resistance value between a and b of the volume VR1 is VR1.
ab. And variable.

【0053】一方、コンパレータ31〜35のしきい値
電圧V11〜V15は定電流源36によって抵抗R11
〜R14に定電流I1が流れるため、 V11=Vcc V12=Vcc−I1×R11 V13=Vcc−I1×(R11+R12) V14=Vcc−I1×(R11+R12+R13) V15=Vcc−I1×(R11+R12+R13+R14) となる。
On the other hand, the threshold voltages V11 to V15 of the comparators 31 to 35 are supplied to the resistor R11 by the constant current source 36.
Since the constant current I1 flows through to R14, V11 = Vcc V12 = Vcc-I1 * R11 V13 = Vcc-I1 * (R11 + R12) V14 = Vcc-I1 * (R11 + R12 + R13) V15 = Vcc-I1 * (R11 + R12 + R13 + R14).

【0054】 I1×(R11+R12+R13+R14)=I2×VR1 とすると、ボリュームVR1のa−b間の抵抗値VR1
abが0≦VR1ab<VR1*1/5のときコンパレ
ータ31の出力が“H”レベルとなり、前述の図8の説
明と同様にして、LED1が点灯し、安定遮光レベルの
余裕度が1であることを示す。ボリュームVR1のa−
b間の抵抗値VR1abがVR1*1/5≦VR1ab
<VR1*2/5のときコンパレータ31,32のそれ
ぞれの出力が“H”レベルとなり、発光ダイオードLE
D1およびLED2が点灯する。それによって、安定遮
光レベルの余裕度が2であることを示す。ボリュームV
R1のa−b間の抵抗値VR1abがVR1*2/5≦
VR1ab<VR1*3/5のときコンパレータ31〜
33のそれぞれの出力が“H”レベルとなり、発光ダイ
オードLED1,LED2およびLED3が点灯し、安
定遮光レベルの余裕度が3であることを示す。ボリュー
ムVR1のa−b間の抵抗値VR1abがVR1*3/
5≦VR1ab<VR1*4/5のときコンパレータ3
1〜34の出力が“H”レベルとなり、発光ダイオード
LED1〜LED4が点灯する。それによって、安定遮
光レベルの余裕度が4であることを示す。ボリュームV
R1のa−b間の抵抗値VR1abがVR1*4/5≦
VR1ab≦VR1のとき、コンパレータ31〜35の
それぞれの出力が“H”レベルとなり、発光ダイオード
LED1〜LED5が点灯し、安定遮光レベルの余裕度
が5であることがわかる。
When I1 × (R11 + R12 + R13 + R14) = I2 × VR1, the resistance value VR1 between a and b of the volume VR1 is set.
When ab is 0 ≦ VR1ab <VR1 * 1/5, the output of the comparator 31 becomes the “H” level, the LED 1 lights up and the margin of the stable light shielding level is 1 in the same manner as described above with reference to FIG. Indicates that. Volume VR1 a-
The resistance value VR1ab between b is VR1 * 1/5 ≦ VR1ab
When VR1 * 2/5, the respective outputs of the comparators 31 and 32 become "H" level, and the light emitting diode LE
D1 and LED2 light up. This indicates that the stable light shielding level has a margin of 2. Volume V
The resistance value VR1ab between a and b of R1 is VR1 * 2/5 ≦
When VR1ab <VR1 * 3/5, the comparators 31-
Each of the outputs of 33 becomes "H" level, the light emitting diodes LED1, LED2 and LED3 are turned on, and the margin of the stable light shielding level is 3. The resistance value VR1ab between a and b of the volume VR1 is VR1 * 3 /
When 5 ≦ VR1ab <VR1 * 4/5, the comparator 3
The outputs of 1 to 34 become "H" level, and the light emitting diodes LED1 to LED4 are turned on. This indicates that the margin of the stable light shielding level is 4. Volume V
Resistance value VR1ab between a and b of R1 is VR1 * 4/5 ≦
It can be seen that when VR1ab ≦ VR1, the respective outputs of the comparators 31 to 35 become the “H” level, the light emitting diodes LED1 to LED5 are turned on, and the margin of the stable light shielding level is 5.

【0055】上述のごとく、この実施例では、ボリュー
ムVR1を可変してその抵抗値を変えることによって安
定遮光レベルを変化させ、バー表示に使用している発光
ダイオードLED1〜LED5を安定遮光レベルの余裕
度に応じて点灯させることにより、安定遮光レベルの余
裕度を検出スイッチの外部に知らせることができる。な
お、前述の図8の実施例と同様にして、余裕度レベル5
は抵抗R11〜R14を増減することによって変更可能
である。
As described above, in this embodiment, the stable light blocking level is changed by changing the resistance value of the volume VR1 so that the light emitting diodes LED1 to LED5 used for the bar display have a margin of the stable light blocking level. By turning on the light depending on the degree, the margin of the stable light shielding level can be notified to the outside of the detection switch. Note that the margin level 5 is set in the same manner as the embodiment of FIG. 8 described above.
Can be changed by increasing or decreasing the resistances R11 to R14.

【0056】図11はこの発明のさらにその他の実施例
を示す図である。この図11に示した実施例は、安定入
光レベルV4と安定遮光レベルV2の両方を可変し、そ
れぞれの余裕度を目盛で表示するものである。検出スイ
ッチ20の上面には安定入光レベルV4の余裕度可変ボ
リューム28と安定遮光レベルV2の余裕度可変ボリュ
ーム29とが設けられ、それぞれに対応して目盛30,
31が設けられている。
FIG. 11 is a diagram showing still another embodiment of the present invention. In the embodiment shown in FIG. 11, both the stable light incident level V4 and the stable light shielding level V2 are varied, and the respective margins are displayed on a scale. On the upper surface of the detection switch 20, there are provided a margin variable volume 28 for the stable light input level V4 and a margin variable volume 29 for the stable light blocking level V2, and scales 30,
31 is provided.

【0057】図12は図11に示した実施例のより具体
的な電気回路図であり、この図12においても投光素子
などの図示が省略されている。電源Vccと接地間にボ
リュームVR1と抵抗R2と抵抗R3とボリュームVR
2と定電流源6とが直列接続されている。ボリュームV
R1は安定遮光レベルV2を可変するものであり、ボリ
ュームVR2は安定入光レベルV4を可変するものであ
る。コンパレータ7の基準入力端にはボリュームVR1
で可変される安定遮光レベルV2が与えられ、コンパレ
ータ9の基準入力端にはボリュームVR2で可変される
安定入光レベルV4が与えられる。
FIG. 12 is a more specific electric circuit diagram of the embodiment shown in FIG. 11, and the illustration of the light projecting element and the like is omitted in FIG. Volume VR1, resistance R2, resistance R3, and volume VR between the power supply Vcc and ground
2 and the constant current source 6 are connected in series. Volume V
R1 is for varying the stable light-shielding level V2, and volume VR2 is for varying the stable light-entering level V4. The volume VR1 is provided at the reference input terminal of the comparator 7.
The stable light-shielding level V2 that is variable by the control signal is supplied to the reference input terminal of the comparator 9 that is controlled by the volume VR2.

【0058】次に、図12に示した実施例の動作につい
て説明する。定電流源6によってボリュームVR1,抵
抗R2,R3,ボリュームVR2には定電流I1が流れ
るため、入光レベルV3は V3=Vcc−I1×(VR1+R2) に固定されている。一方、安定遮光レベルV2は可変抵
抗VR1の両端電圧を分圧することによって可変とする
ことができるため、 V2=Vcc−I1×VR1 となる。また、安定入光レベルV4も同様にして、可変
抵抗VR2の両端電圧を分圧することによって可変にで
きるため、 V4=Vcc−I1×VR2 となる。
Next, the operation of the embodiment shown in FIG. 12 will be described. Since the constant current I1 flows through the volume VR1, the resistors R2, R3, and the volume VR2 by the constant current source 6, the incident light level V3 is fixed to V3 = Vcc-I1 * (VR1 + R2). On the other hand, the stable light-shielding level V2 can be made variable by dividing the voltage across the variable resistor VR1, so that V2 = Vcc-I1 × VR1. Similarly, the stable light incident level V4 can be made variable by dividing the voltage across the variable resistor VR2, so that V4 = Vcc-I1 × VR2.

【0059】上述のごとく、この実施例では、ボリュー
ムVR1とVR2によってそれぞれの抵抗値を変えるこ
とにより、安定遮光レベルV2と安定入光レベルV4を
変化させ、安定遮光時と安定入光時の両安定表示範囲を
それぞれ可変にすることができる。また、安定入光レベ
ルV4のボリュームVR2と安定遮光レベルV2のボリ
ュームVR1の表示目盛30,31をボリュームVR
2,VR1の抵抗値とそれぞれ連動させることにより、
安定入光レベルおよび安定遮光レベルの余裕度を外部か
ら設定でき、かつ外部に安定入光レベルおよび安定遮光
レベルを知らせることができる。
As described above, in this embodiment, the stable light blocking level V2 and the stable light incident level V4 are changed by changing the respective resistance values by the volumes VR1 and VR2, and both the stable light shielding and the stable light receiving are performed. The stable display range can be made variable. In addition, the display scales 30 and 31 of the volume VR2 of the stable light incident level V4 and the volume VR1 of the stable light shielding level V2 are adjusted to the volume VR.
2, by interlocking with the resistance value of VR1,
It is possible to externally set the margins of the stable light incident level and the stable light shielding level, and to notify the stable light incident level and the stable light shielding level to the outside.

【0060】図13はこの発明のさらにその他の実施例
を示す図であり、安定入光レベルV4と安定遮光レベル
V2のそれぞれを可変しかつそれぞれの余裕度をデジタ
ル表示する。このために、検出スイッチ20の上面に
は、距離設定ボリューム21と動作表示灯22と安定表
示灯23とが設けられるとともに、安定入光レベル余裕
度可変ボリューム25と、これに対応して安定入光レベ
ルの余裕度を数字で表示する7セグメントの数字表示器
41と、安定遮光レベル余裕度可変ボリューム27と、
これに対応して安定遮光レベルの余裕度を数字で表示す
る7セグメントの数字表示器42とが設けられる。
FIG. 13 is a diagram showing still another embodiment of the present invention, in which the stable light-entering level V4 and the stable light-shielding level V2 are varied and the respective margins are digitally displayed. For this reason, a distance setting volume 21, an operation indicator 22, and a stability indicator 23 are provided on the upper surface of the detection switch 20, and a stable light incident level margin variable volume 25 and a stable incident light corresponding thereto are provided. 7-segment numeric display 41 for displaying the light level margin numerically, a stable light-shielding level margin variable volume 27,
Correspondingly, there is provided a 7-segment numeral display 42 for numerically displaying the margin of the stable shading level.

【0061】図14は図13に示した実施例の電気回路
図であり、この図14においても投光素子3などの図示
が省略されている。安定遮光レベル余裕度可変ボリュー
ムVR1から出力された安定遮光レベルV2はA/D変
換器51によってデジタル信号に変換され、デコーダ5
2でデコードされたのち、ドライバ53によって駆動さ
れ、数字表示器42に表示される。同様にして、安定入
光レベル余裕度可変ボリュームVR2から出力された安
定入光レベルV4はA/D変換器54によってデジタル
信号に変換され、デコーダ55によってデコードされた
後、ドライバ56で駆動され、数字表示器41に表示さ
れる。
FIG. 14 is an electric circuit diagram of the embodiment shown in FIG. 13. Also in FIG. 14, the light projecting element 3 and the like are omitted. The stable light shielding level V2 output from the stable light shielding level allowance variable volume VR1 is converted into a digital signal by the A / D converter 51, and the decoder 5
After being decoded by 2, it is driven by the driver 53 and displayed on the numeral display 42. Similarly, the stable incident light level V4 output from the stable incident light level margin variable volume VR2 is converted into a digital signal by the A / D converter 54, decoded by the decoder 55, and then driven by the driver 56. It is displayed on the numerical display 41.

【0062】この図14に示した実施例では、定電流源
6によってボリュームVR1と抵抗R2,R3とボリュ
ームVR2に定電流I1が流れるため、入光レベルV3
は V3=Vcc−I1×(VR1ab+R2) に固定されている。一方、安定遮光レベルV2はボリュ
ームVR1の両端電圧を分圧することによって可変とす
ることができるため、 V2=Vcc−I1×VR1 となる。また、安定入光レベルV4も同様にして、ボリ
ュームVR2の両端電圧を分圧することによって可変で
きるため、 V4=Vcc−I1×(VR2ab+VR1+R2+R3) となる。
In the embodiment shown in FIG. 14, the constant current source 6 causes the constant current I1 to flow through the volume VR1, the resistors R2 and R3, and the volume VR2.
Is fixed to V3 = Vcc-I1 * (VR1ab + R2). On the other hand, since the stable light shielding level V2 can be made variable by dividing the voltage across the volume VR1, V2 = Vcc-I1 × VR1. Similarly, the stable light incident level V4 can be varied by dividing the voltage across the volume VR2, so that V4 = Vcc-I1 * (VR2ab + VR1 + R2 + R3).

【0063】上述のごとく、この実施例では、ボリュー
ムVR1,VR2を可変してその抵抗値を変えることに
より、安定遮光レベルV2と安定入光レベルV4の両レ
ベルを変化させ、安定遮光時と安定入光時における表示
範囲をそれぞれ可変でき、数字表示器41,42によっ
てそれぞれ余裕度を数字として表示することができる。
As described above, in this embodiment, both the stable light shielding level V2 and the stable light incident level V4 are changed by changing the resistances of the volumes VR1 and VR2, and the stable light shielding and the stable light shielding are achieved. The display range when light is incident can be varied, and the margins can be displayed as numbers by the number indicators 41 and 42, respectively.

【0064】[0064]

【発明の効果】以上のように、この発明によれば、安定
入光レベルまたは安定遮光レベルを可変できるようにし
たので、激しい温度変化やノイズや埃が多いなどの環境
が非常に悪い状況での使用時に、安定入光範囲を広げて
入光レベルに対する余裕度を増加でき、より安定な状態
で検出スイッチを使用することができる。また、透過型
光電スイッチの光軸調整時には、安定入光範囲を広げて
より動作の余裕度が得られるような正確な光軸調整が行
なわれる。拡散反射型光電スイッチを使用する際に、検
出物体の背景を十分検出しないレベルに安定遮光レベル
を設定することにより、安定に検出物体の検出を行なう
ことができる。さらにユーザの望むレベルに対する余裕
度で検出スイッチを使うことができる。
As described above, according to the present invention, since the stable light incident level or the stable light shielding level can be changed, it is possible to perform a severe environment change such as a severe temperature change or noise or dust. When using, the stable light input range can be expanded to increase the margin for the light input level, and the detection switch can be used in a more stable state. In addition, when adjusting the optical axis of the transmissive photoelectric switch, accurate optical axis adjustment is performed so as to widen the stable light incident range and obtain more operational margin. When the diffuse reflection type photoelectric switch is used, the detection object can be stably detected by setting the stable light shielding level to a level at which the background of the detection object is not sufficiently detected. Further, the detection switch can be used with a margin for the level desired by the user.

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

【図1】この発明の一実施例の原理を説明するためのブ
ロック図である。
FIG. 1 is a block diagram for explaining the principle of an embodiment of the present invention.

【図2】この発明の一実施例の具体的なブロック図であ
る。
FIG. 2 is a concrete block diagram of an embodiment of the present invention.

【図3】この発明の他の実施例を示すブロック図であ
る。
FIG. 3 is a block diagram showing another embodiment of the present invention.

【図4】この発明のその他の実施例を示すブロック図で
ある。
FIG. 4 is a block diagram showing another embodiment of the present invention.

【図5】この発明のさらにその他の実施例を示すブロッ
ク図であって、安定遮光レベルと安定入光レベルの両レ
ベルを可変にした例を示す電気回路図である。
FIG. 5 is a block diagram showing still another embodiment of the present invention, which is an electric circuit diagram showing an example in which both the stable light shielding level and the stable light incident level are variable.

【図6】安定遮光レベルと安定入光レベルの両レベルを
可変にする実施例を示す図である。
FIG. 6 is a diagram showing an embodiment in which both the stable light shielding level and the stable light incident level are variable.

【図7】安定入光レベルのみ可変し、バー表示機能を付
加した実施例を示す図である。
FIG. 7 is a diagram showing an embodiment in which only a stable light incident level is changed and a bar display function is added.

【図8】図7に示した実施例の電気回路図である。8 is an electric circuit diagram of the embodiment shown in FIG.

【図9】安定遮光レベルをバー表示する実施例を示す図
である。
FIG. 9 is a diagram showing an embodiment in which a stable light shielding level is displayed by a bar.

【図10】図9に示した実施例の電気回路図である。10 is an electric circuit diagram of the embodiment shown in FIG.

【図11】安定入光レベルと安定遮光レベルの両方を可
変にしてそれぞれの余裕度を目盛で表示する実施例を示
す図である。
FIG. 11 is a diagram showing an embodiment in which both the stable light-entering level and the stable light-shielding level are made variable and respective margins are displayed on a scale.

【図12】図11に示した実施例の要部電気回路図であ
る。
FIG. 12 is a main part electric circuit diagram of the embodiment shown in FIG.

【図13】安定入光レベルと安定遮光レベルのそれぞれ
を可変にしかつそれぞれの余裕度をデジタル表示する実
施例を示す図である。
FIG. 13 is a diagram showing an embodiment in which the stable light-entering level and the stable light-shielding level are made variable and the respective margins are digitally displayed.

【図14】図13に示した実施例の要部電気回路図であ
る。
14 is an electric circuit diagram of a main part of the embodiment shown in FIG.

【図15】従来の拡散反射型光電スイッチのブロック図
である。
FIG. 15 is a block diagram of a conventional diffuse reflection photoelectric switch.

【図16】図15に示した従来の拡散反射型光電スイッ
チの動作を説明するためのタイミング図である。
16 is a timing chart for explaining the operation of the conventional diffuse reflection photoelectric switch shown in FIG.

【図17】図15に示した従来の拡散反射型光電スイッ
チにおける入光なしレベルV1と安定遮光レベルV2と
入光レベルV3と安定入光レベルV4を示す図である。
17 is a diagram showing a no-light-incident level V1, a stable light-shielding level V2, a light-incident level V3, and a stable light-incident level V4 in the conventional diffuse reflection photoelectric switch shown in FIG.

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

1 発振回路 2 投光回路 3 投光素子 4 受光素子 5 アンプ回路 6,36 定電流源 7〜9,31〜35 コンパレータ 41,42 数字表示器 51,54 A/D変換器 52,55 デコーダ 53,56 ドライバ VR1〜VR3 ボリューム R1〜R5 抵抗 Tr1〜Tr4,Tr11〜Tr15 トランジスタ LED1〜LED5 発光ダイオード 1 oscillator circuit 2 Emitter circuit 3 Projection element 4 Light receiving element 5 amplifier circuit 6,36 constant current source 7-9, 31-35 Comparator 41,42 Numerical display 51,54 A / D converter 52,55 decoder 53,56 driver VR1 to VR3 volume R1 to R5 resistance Tr1 to Tr4, Tr11 to Tr15 Transistors LED1 to LED5 Light emitting diode

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 検出レベルを越える信号が入力されたこ
とに応じて、オン信号を出力する検出スイッチにおい
て、前記検出レベルよりも高いレベルの安定検出レベル
しきい値と入力された信号とを比較し、該入力された信
号が前記安定検出レベルしきい値を越えたことに応じ
て、安定検出信号を出力する第1の比較手段、前記検出
レベルと前記入力された信号とを比較し、該信号が該検
出レベルを越えたことに応じて、前記オン信号を出力す
る第2の比較手段、および前記安定検出レベルしきい値
を可変するためのしきい値可変手段を備えた、検出スイ
ッチ。
1. A detection switch which outputs an ON signal in response to an input of a signal exceeding a detection level, compares a stable detection level threshold value higher than the detection level with the input signal. Then, in response to the input signal exceeding the stability detection level threshold value, first comparison means for outputting a stability detection signal, comparing the detection level with the input signal, A detection switch comprising: a second comparison means for outputting the ON signal in response to a signal exceeding the detection level, and a threshold value changing means for changing the stable detection level threshold value.
【請求項2】 さらに、前記第1の比較手段から出力さ
れる安定検出信号に応じて点灯する安定出力表示手段を
含む、請求項1の検出スイッチ。
2. The detection switch according to claim 1, further comprising a stable output display means that lights up in response to a stable detection signal output from the first comparing means.
【請求項3】 さらに、それぞれが異なる値に設定され
たしきい値と前記しきい値可変手段によって可変される
しきい値とを比較し、前記安定検出レベルの余裕度を検
出する複数の安定検出レベル余裕度検出手段と、前記複
数の安定検出レベル余裕度検出手段のそれぞれの出力を
表示する安定検出レベル余裕度表示手段とを含む、請求
項1の検出スイッチ。
3. A plurality of stability detecting a margin of the stable detection level by comparing a threshold value set to a different value with a threshold value changed by the threshold value changing means. The detection switch according to claim 1, further comprising detection level margin detection means and stable detection level margin display means for displaying outputs of the plurality of stable detection level margin detection means.
【請求項4】 さらに、前記第1の比較手段から出力さ
れる安定検出信号をデジタル信号に変換するA/D変換
手段と、前記A/D変換手段によって変換されたデジタ
ル信号を表示する数字表示手段とを含む、請求項1の検
出スイッチ。
4. The A / D conversion means for converting the stability detection signal output from the first comparison means into a digital signal, and the numeral display for displaying the digital signal converted by the A / D conversion means. The detection switch of claim 1 including means.
【請求項5】 検出レベルを越える信号が入力されたこ
とに応じて、オン信号を出力する検出スイッチにおい
て、前記検出レベルよりも低いレベルの安定遮光検出レ
ベルしきい値と入力された信号とを比較し、該入力され
た信号が前記安定遮光検出レベルしきい値を越えていな
いことに応じて、安定遮光検出信号を出力する第1の比
較手段、前記検出レベルと前記入力された信号とを比較
をし、該入力された信号が該検出するレベルを越えたこ
とに応じて、前記オン信号を出力する第2の比較手段、
および前記安定遮光検出レベルしきい値を可変するため
のしきい値可変手段を備えた、検出スイッチ。
5. A detection switch which outputs an ON signal in response to an input of a signal exceeding the detection level, detects a stable light-shielding detection level threshold value lower than the detection level and the input signal. And comparing the input signal with the input signal, the first comparing means for outputting a stable light-shielding detection signal when the input signal does not exceed the stable light-shielding detection level threshold value. Second comparing means for making a comparison and outputting the ON signal in response to the input signal exceeding the detected level
And a detection switch provided with a threshold value changing means for changing the stable light-shielding detection level threshold value.
【請求項6】 さらに、前記第1の比較手段から出力さ
れる安定遮光検出信号に応じて点灯する安定遮光表示手
段を含む、請求項5の検出スイッチ。
6. The detection switch according to claim 5, further comprising a stable light-shielding display unit that lights up in response to a stable light-shielding detection signal output from the first comparing unit.
【請求項7】 さらに、それぞれが異なる値に設定され
たしきい値と前記しきい値可変手段によって可変される
しきい値とを比較し、前記安定遮光検出レベルの余裕度
を検出する複数の安定遮光検出レベル余裕度検出手段
と、前記複数の安定遮光検出レベル余裕度検出手段のそ
れぞれの出力を表示する安定遮光検出レベル余裕度表示
手段とを含む、請求項5の検出スイッチ。
7. A plurality of threshold values, each of which is set to a different value, is compared with a threshold value that is varied by the threshold value varying means to detect a margin of the stable light shielding detection level. The detection switch according to claim 5, further comprising a stable light-shielding detection level allowance detecting means and a stable light-shielding detection level allowance displaying means for displaying an output of each of the plurality of stable light-shielding detection level allowance detecting means.
【請求項8】 さらに、前記第1の比較手段から出力さ
れる安定遮光検出信号をデジタル信号に変換するA/D
変換手段と、前記A/D変換手段によって変換されたデ
ジタル信号を表示する数字表示手段とを含む、請求項5
の検出スイッチ。
8. An A / D for converting a stable light-shielding detection signal output from the first comparing means into a digital signal.
6. A conversion means and a numerical display means for displaying the digital signal converted by the A / D conversion means.
Detection switch.
【請求項9】 検出レベルを越える信号が入力されたこ
とに応じて、オン信号を出力する検出スイッチにおい
て、前記検出レベルよりも高いレベルの安定検出レベル
しきい値と入力された信号とを比較し、該入力された信
号が前記安定検出レベルしきい値を越えたことに応じ
て、安定検出信号を出力する第1の比較手段、前記検出
レベルと前記入力された信号とを比較し、該入力された
信号が該検出レベルを越えたことに応じて前記オン信号
を出力する第2の比較手段、前記検出レベルよりも低い
レベルの安定遮光検出レベルしきい値と前記入力された
信号とを比較し、該入力された信号が前記安定遮光検出
レベルしきい値を越えていないことに応じて、安定遮光
検出信号を出力する第3の比較手段、および前記安定検
出レベルしきい値と前記安定遮光検出レベルしきい値と
を可変するためのしきい値可変手段を備えた、検出スイ
ッチ。
9. A detection switch that outputs an ON signal in response to the input of a signal exceeding the detection level compares a stable detection level threshold value higher than the detection level with the input signal. Then, in response to the input signal exceeding the stability detection level threshold value, first comparing means for outputting a stability detection signal, comparing the detection level with the input signal, Second comparing means for outputting the ON signal in response to the input signal exceeding the detection level, the stable light-shielding detection level threshold value lower than the detection level, and the input signal. And a third comparing means for outputting a stable light-shielding detection signal when the input signal does not exceed the stable light-shielding detection level threshold value; A detection switch equipped with a threshold varying means for varying the stable light-shielding detection level threshold.
【請求項10】 さらに、前記第1の比較手段から出力
される安定検出信号に応じて点灯する安定出力表示手段
を含む、請求項9の検出スイッチ。
10. The detection switch according to claim 9, further comprising a stable output display means that lights up in response to a stable detection signal output from the first comparing means.
【請求項11】 さらに、それぞれが異なる値に設定さ
れたしきい値と前記しきい値可変手段によって可変され
るしきい値とを比較し、前記安定検出レベルの余裕度を
検出する複数の安定検出レベル余裕度検出手段と、前記
複数の安定検出レベル余裕度検出手段のそれぞれの出力
を表示する安定検出レベル余裕度表示手段とを含む、請
求項9の検出スイッチ。
11. A plurality of stability detecting a margin of the stable detection level by comparing threshold values set to different values with a threshold value changed by the threshold value changing means. 10. The detection switch according to claim 9, further comprising detection level margin detection means and stable detection level margin display means for displaying the output of each of the plurality of stability detection level margin detection means.
【請求項12】 さらに、前記第1の比較手段から出力
される安定検出信号をデジタル信号に変換する第1のA
/D変換手段と、前記第1のA/D変換手段によって変
換されたデジタル信号を表示する第1の数字表示手段と
を含む、請求項9の検出スイッチ。
12. A first A for converting the stability detection signal output from the first comparing means into a digital signal.
10. The detection switch according to claim 9, further comprising: a / D conversion means; and a first numeral display means for displaying the digital signal converted by the first A / D conversion means.
【請求項13】 さらに、前記第3の比較手段から出力
される安定遮光検出信号に応じて点灯する安定遮光表示
手段を含む、請求項9の検出スイッチ。
13. The detection switch according to claim 9, further comprising a stable light-shielding display unit that lights up in response to a stable light-shielding detection signal output from the third comparing unit.
【請求項14】 さらに、それぞれが異なる値に設定さ
れたしきい値と前記しきい値可変手段によって可変され
るしきい値とを比較し、前記安定遮光検出レベルの余裕
度を検出する複数の安定遮光検出レベル余裕度検出手段
と、前記複数の安定遮光検出レベル余裕度検出手段のそ
れぞれの出力を表示する安定遮光検出レベル余裕度表示
手段とを含む、請求項9の検出スイッチ。
14. A plurality of threshold values, each of which is set to a different value, is compared with a threshold value changed by the threshold value changing means to detect a margin of the stable light shielding detection level. 10. The detection switch according to claim 9, further comprising a stable light-shielding detection level margin detecting means and a stable light-shielding detection level margin displaying means for displaying the output of each of the plurality of stable light-shielding detection level margin detecting means.
【請求項15】 さらに、前記第3の比較手段から出力
される安定遮光検出信号をデジタル信号に変換する第2
のA/D変換手段と、前記第2のA/D変換手段によっ
て変換されたデジタル信号を表示する第2の数字表示手
段とを含む、請求項9の検出スイッチ。
15. A second converting the stable light-shielding detection signal output from the third comparing means into a digital signal.
10. The detection switch according to claim 9, further comprising: A / D conversion means of, and second numeral display means for displaying the digital signal converted by the second A / D conversion means.
JP15687691A 1991-06-27 1991-06-27 Detection switch Pending JPH057145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15687691A JPH057145A (en) 1991-06-27 1991-06-27 Detection switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15687691A JPH057145A (en) 1991-06-27 1991-06-27 Detection switch

Publications (1)

Publication Number Publication Date
JPH057145A true JPH057145A (en) 1993-01-14

Family

ID=15637323

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15687691A Pending JPH057145A (en) 1991-06-27 1991-06-27 Detection switch

Country Status (1)

Country Link
JP (1) JPH057145A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5503590A (en) * 1993-04-22 1996-04-02 Nippon Telegraph And Telephone Corporation Polishing plate for optical fiber connector ferrule end face and polishing apparatus therefor
US6211784B1 (en) 1996-03-18 2001-04-03 Keyence Corporation Object detector and object detector system
JP2002124168A (en) * 2000-08-09 2002-04-26 Omron Corp Multi axis photoelectric sensor
JP2002279871A (en) * 2001-03-15 2002-09-27 Keyence Corp Photo-electric switch
JP2002324465A (en) * 2001-04-27 2002-11-08 Keyence Corp Photoelectric switch

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5503590A (en) * 1993-04-22 1996-04-02 Nippon Telegraph And Telephone Corporation Polishing plate for optical fiber connector ferrule end face and polishing apparatus therefor
US6211784B1 (en) 1996-03-18 2001-04-03 Keyence Corporation Object detector and object detector system
JP2002124168A (en) * 2000-08-09 2002-04-26 Omron Corp Multi axis photoelectric sensor
JP2002279871A (en) * 2001-03-15 2002-09-27 Keyence Corp Photo-electric switch
JP4551011B2 (en) * 2001-03-15 2010-09-22 株式会社キーエンス Photoelectric switch
JP2002324465A (en) * 2001-04-27 2002-11-08 Keyence Corp Photoelectric switch

Similar Documents

Publication Publication Date Title
US3909137A (en) Digital indication exposuremeter
US7907061B2 (en) Proximity sensors and methods for sensing proximity
US3843249A (en) Exposure correction factor setting indicator for cameras
US9217666B2 (en) Photoelectric sensor with adjustable sensitivity
JPS6019441B2 (en) Detection circuit of photocell pattern sensing device
JPH01278120A (en) Photodetecting signal circuit for photoelectric switch
JPH057145A (en) Detection switch
US4479706A (en) Distance measuring circuit
JP3215232B2 (en) Photoelectric distance sensor
CA2078041A1 (en) Ring trip detection circuit
JP6501659B2 (en) Photoelectric sensor
JP2545529Y2 (en) Photoelectric switch
JP2005241306A (en) Brightness sensor
JP2001339286A (en) Light projecting circuit of beam sensor
SU1203702A1 (en) Movement-to-digital converter
JPH03179816A (en) Electronic switch
JPH1197996A (en) Photoelectric sensor and its sensitivity adjusting method
JPH0416176Y2 (en)
JPH0750569A (en) Photoelectric switch
SU944089A1 (en) Digital infra-low frequency current generator
JPS647538B2 (en)
JP2728844B2 (en) Detection switch
JPH05136677A (en) Received light quantity display device for photoelectric switch
JPH04191625A (en) Light detecting ic
JPH07303036A (en) Detection switch

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020903