JPH07303036A - Detection switch - Google Patents

Detection switch

Info

Publication number
JPH07303036A
JPH07303036A JP12070594A JP12070594A JPH07303036A JP H07303036 A JPH07303036 A JP H07303036A JP 12070594 A JP12070594 A JP 12070594A JP 12070594 A JP12070594 A JP 12070594A JP H07303036 A JPH07303036 A JP H07303036A
Authority
JP
Japan
Prior art keywords
comparator
output
circuit
level
signal
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
JP12070594A
Other languages
Japanese (ja)
Inventor
Nobuharu Ishikawa
展玄 石川
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 JP12070594A priority Critical patent/JPH07303036A/en
Publication of JPH07303036A publication Critical patent/JPH07303036A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the number of comparators and to reduce current consumption in detection switchs provided with the comparator for object detection and the one for stable operation display. CONSTITUTION:An object detection signal is outputted by a first comparator 7 for object detection. An input signal can be discriminated by switching the threshold value of the comparator 21 for stable operation detection based on the output of the object detection signal. Simultaneously, such control that the output of the comparator 21 can be inverted only when the detection signal is outputted from the comparator 7 is performed. By employing such constitution, a stable or unstable state can be displayed based on the output of the comparator 21.

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, and more particularly to a detection switch characterized by a signal processing circuit.

【0002】[0002]

【従来の技術】従来の検出スイッチとして、例えば反射
型の光電スイッチについて説明する。図4は反射型光電
スイッチの一例を示すブロック図である。本図において
発振回路1は周期的に投光パルスを発生するものであっ
て、その出力は投光回路2を介して投光素子、例えば発
光ダイオード3を駆動する。投光された光は図示しない
光学系を介して物体検知領域に照射され、物体があれば
その反射光が受光素子であるフォトダイオード4に受光
される。そしてプリアンプ5,アンプ6を介して比較器
7,8,9に入力される。比較器7,8,9は夫々閾値
Vth1,Vth2,Vth3 (Vth2 <Vth1 <Vth3 )を有し
ている。比較器7はVth1 を越える受光信号が入ると物
体検出信号(オン信号)を出力して積分回路10に出力
する。積分回路10は発振回路1から投光パルスが与え
られており、例えば比較器7よりオン信号が8パルス数
連続して入力されたときに出力を出すものである。積分
回路10は第5図に示すように8パルス連続してオン信
号が与えられた場合に物体検知信号を制御出力回路11
を介して出力すると共に、動作表示回路12により表示
するものである。
2. Description of the Related Art As a conventional detection switch, for example, a reflection type photoelectric switch will be described. FIG. 4 is a block diagram showing an example of the reflective photoelectric switch. In the figure, an oscillating circuit 1 periodically generates a light projecting pulse, and its output drives a light projecting element, for example, a light emitting diode 3 via a light projecting circuit 2. The projected light is applied to the object detection area via an optical system (not shown), and if there is an object, the reflected light is received by the photodiode 4, which is a light receiving element. Then, it is input to the comparators 7, 8, 9 via the preamplifier 5 and the amplifier 6. The comparators 7, 8 and 9 have threshold values Vth1, Vth2 and Vth3 (Vth2 <Vth1 <Vth3), respectively. The comparator 7 outputs an object detection signal (ON signal) to the integrating circuit 10 when a light receiving signal exceeding Vth1 is input. The integrating circuit 10 is supplied with a light projection pulse from the oscillation circuit 1, and outputs an output when the ON signal is continuously input by the comparator 7 for 8 pulses. As shown in FIG. 5, the integrator circuit 10 outputs the object detection signal when the ON signal is continuously applied for 8 pulses, and outputs the control output circuit 11
And is displayed by the operation display circuit 12.

【0003】さて光電スイッチの設置後、環境の変化、
例えば温度,電圧等が変化したり光学系に塵等が付着し
て受光信号レベルが低下することがある。このため物体
検出を行う比較器7の出力が変動する。これに対して受
光レベルの余裕を判別するために比較器8及び9が用い
られる。比較器8はVth1 より低い安定オフレベルの閾
値Vth2 を有し、これより受光レベルが高くなればHレ
ベルの信号をゲート回路13に出力する。又比較器9は
Vth1 より高い安定オンレベルの閾値Vth3 を有してお
り、これを越える受光信号が得られればHレベルの信号
をゲート回路13に出力する。ゲート回路13は比較器
7のHレベル及び9の反転出力の論理積によって不安定
状態を判別するものであって、その出力は積分回路14
に与えられる。積分回路14はこの検出信号が複数の投
光パルス数連続して入力されたときに不安定状態を検出
する信号を自己診断出力回路15に出力し、安定表示回
路16の表示灯を点灯させるものである。従って図5
(c)〜(e)に示すようにVth2 とVth3 との間で所
定のパルス数続けて受光レベルとなる場合には自己診断
信号が出力され、検出状態が不安定であることを報知す
ることができる。
Now, after the photoelectric switch is installed, the environment changes,
For example, the temperature, voltage, etc. may change, or dust, etc. may adhere to the optical system to lower the light reception signal level. For this reason, the output of the comparator 7 that detects an object fluctuates. On the other hand, comparators 8 and 9 are used to determine the margin of the light receiving level. The comparator 8 has a threshold value Vth2 of a stable off level lower than Vth1, and outputs a signal of H level to the gate circuit 13 when the light receiving level becomes higher than this. Further, the comparator 9 has a threshold value Vth3 having a stable ON level higher than Vth1 and outputs a signal of H level to the gate circuit 13 when a light receiving signal exceeding this is obtained. The gate circuit 13 determines an unstable state by the logical product of the H level of the comparator 7 and the inverted output of 9, and its output is an integrating circuit 14
Given to. The integrating circuit 14 outputs a signal for detecting an unstable state to the self-diagnosis output circuit 15 when the detection signal is continuously input for a plurality of light-emission pulse numbers, and lights the indicator lamp of the stable display circuit 16. Is. Therefore, FIG.
As shown in (c) to (e), when the light receiving level continues for a predetermined number of pulses between Vth2 and Vth3, a self-diagnosis signal is output to notify that the detection state is unstable. You can

【0004】[0004]

【発明が解決しようとする課題】しかるにこのような従
来の光電スイッチでは、信号検出用の比較器8と安定状
態検出用の3つの比較器を使用していた。比較器は消費
電流が大きく、例えば直流二線式の検出スイッチやバッ
テリー駆動の検出スイッチ,小型で発熱を抑える必要が
ある検出スイッチ等、低消費電流を要求される検出スイ
ッチでは、消費電流を低下させることが難しくなるとい
う欠点があった。
However, such a conventional photoelectric switch uses the comparator 8 for signal detection and three comparators for stable state detection. The comparator consumes a large amount of current. For example, a detection switch that requires low current consumption, such as a DC two-wire type detection switch, a battery-powered detection switch, or a detection switch that is small and needs to suppress heat generation, reduces the current consumption. It had the drawback of being difficult to do.

【0005】本発明はこのような従来の問題点に鑑みて
なされたものであって、信号処理部の比較器数を削減
し、消費電流を低くすることを目的とする。
The present invention has been made in view of such conventional problems, and an object of the present invention is to reduce the number of comparators in a signal processing unit and reduce current consumption.

【0006】[0006]

【課題を解決するための手段】本発明は入力信号のレベ
ルに応じて物理状態を判別する検出スイッチであって、
第1の閾値レベルを有して入力信号を弁別し、該閾値レ
ベルを越えたときに検知信号を出力する第1の比較器
と、第1の閾値レベルより低い第2の閾値レベル及び第
1の閾値より高い第3の閾値レベルの一方が閾値として
設定され、入力信号を弁別する第2の比較器と、第1の
比較器の出力が検知信号を出力しないときに第2の比較
器の閾値を第2の閾値とし、第1の比較器が検知信号を
出力するときに第2の比較器の閾値を第3の閾値となる
ように切換える閾値切換手段と、第1の比較器が検知信
号を出力するときに第2の比較器の出力を反転させる出
力反転手段と、を具備し、出力反転手段の出力に基づい
て安定動作状態を判別するようにしたことを特徴とする
ものである。
SUMMARY OF THE INVENTION The present invention is a detection switch for determining a physical state according to the level of an input signal,
A first comparator having a first threshold level for discriminating an input signal and outputting a detection signal when the threshold level is exceeded; a second threshold level lower than the first threshold level; One of the third threshold levels higher than the threshold of is set as the threshold, and the second comparator for discriminating the input signal and the second comparator when the output of the first comparator does not output the detection signal. The threshold value is a second threshold value, and when the first comparator outputs the detection signal, the threshold value switching means that switches the threshold value of the second comparator to the third threshold value, and the first comparator detects Output inverting means for inverting the output of the second comparator when a signal is output, and a stable operation state is determined based on the output of the output inverting means. .

【0007】[0007]

【作用】このような特徴を有する本発明によれば、第1
の比較器により入力信号を弁別して検知信号を出力して
いる。そして入力信号が第1の閾値以下であれば第1の
比較器の出力に基づいて第2の比較器の閾値を第2の閾
値、第1の比較器より検知信号が出力されたときに第2
の比較器の閾値を第3の閾値となるように切換え、第2
の比較器によってその閾値を越えているかどうかを判別
する。そして第1の比較器が検出信号を出力していると
きに第2の比較器の出力を反転させている。こうすれば
第2の比較器から出力反転回路を介して得られた信号
は、そのまま入力信号が第2の閾値と第3の閾値との間
にある状態か否かを示しており、安定又は不安定な状態
を示している。このためこの出力に基づいて安定又は不
安定状態を表示することができる。
According to the present invention having such features, the first
The comparator detects the input signal and outputs the detection signal. Then, if the input signal is less than or equal to the first threshold, the threshold of the second comparator is set to the second threshold based on the output of the first comparator, and when the detection signal is output from the first comparator, Two
The threshold value of the comparator is switched to the third threshold value, and the second
The comparator determines whether the threshold is exceeded. The output of the second comparator is inverted when the first comparator outputs the detection signal. In this way, the signal obtained from the second comparator via the output inverting circuit directly indicates whether the input signal is between the second threshold value and the third threshold value, and is stable or It shows an unstable condition. Therefore, a stable or unstable state can be displayed based on this output.

【0008】[0008]

【実施例】図1は本発明の一実施例による反射型光電ス
イッチのブロック図であり、前述した従来例と同一部分
は同一符号を付して詳細な説明を省略する。本実施例に
おいても発振回路1より一定周期の投光パルスを出力し
ており、投光回路2,発光ダイオード3を介して光が物
体検知領域に照射され、物体があれば反射光がフォトダ
イオード4に受光され、プリアンプ5,アンプ6を介し
て比較器7に加えられる。比較器7は第1の閾値Vth1
を持って入力信号レベルを判別し、入力信号が閾値を終
えたときに検知信号を出力する第1の比較器である。さ
て本実施例では物体検知用の比較器7に加えて第2の比
較器21を有している。比較器21の基準入力端には2
つの電圧源22,23が直列に接続される。電圧源23
は閾値Vth2 の電圧を有するものであり、電圧源23は
閾値Vth3 −Vth2 の電圧を有するものである。これら
の電圧源22,23の接続点と接地端間にはトランジス
タQ1が接続される。トランジスタQ1がオン状態では
比較器21の閾値は第2の閾値Vth2 となり、トランジ
スタQ1がオフ状態では比較器21の閾値は第3のVth
3 となる。
1 is a block diagram of a reflection type photoelectric switch according to an embodiment of the present invention. The same parts as those in the conventional example described above are designated by the same reference numerals and detailed description thereof will be omitted. In this embodiment as well, the oscillation circuit 1 outputs light projection pulses of a constant cycle, light is applied to the object detection area through the light projection circuit 2 and the light emitting diode 3, and if there is an object, the reflected light is the photodiode. The light is received by 4 and is applied to the comparator 7 via the preamplifier 5 and the amplifier 6. The comparator 7 has a first threshold value Vth1.
Is a first comparator which discriminates the input signal level and outputs a detection signal when the input signal reaches the threshold. In the present embodiment, a second comparator 21 is provided in addition to the object detecting comparator 7. 2 at the reference input terminal of the comparator 21
Two voltage sources 22 and 23 are connected in series. Voltage source 23
Has a voltage of the threshold value Vth2, and the voltage source 23 has a voltage of the threshold value Vth3-Vth2. A transistor Q1 is connected between the connection point of these voltage sources 22 and 23 and the ground terminal. When the transistor Q1 is on, the threshold of the comparator 21 becomes the second threshold Vth2, and when the transistor Q1 is off, the threshold of the comparator 21 is the third Vth.
3

【0009】さて比較器7の出力は積分回路10に加え
て積分回路24にも与えられる。積分回路10は比較器
7からのHレベルの信号が8投光パルス数連続して入力
されたときに物体検知信号を制御出力回路11を介して
出力すると共に、動作表示回路12により動作表示する
ものである。一方積分回路24はHレベルの信号が例え
ば4パルス数連続して得られたときにHレベルの信号を
インバータ25に出力する。インバータ25は入力信号
を反転してトランジスタQ1を駆動するものである。
The output of the comparator 7 is given to the integrating circuit 24 in addition to the integrating circuit 10. The integrator circuit 10 outputs an object detection signal via the control output circuit 11 when the H level signal from the comparator 7 is continuously input for the number of eight light-emission pulses, and the operation display circuit 12 displays the operation. It is a thing. On the other hand, the integrator circuit 24 outputs the H level signal to the inverter 25 when the H level signal is obtained, for example, four pulses consecutively. The inverter 25 inverts the input signal and drives the transistor Q1.

【0010】一方比較器21の出力は積分回路26に入
力される。積分回路26は比較器21のHレベルの出力
が4パルス数連続して入力されたときにHレベルの信号
をインバータ27に出力するものである。インバータ2
7の両端にはアナログスイッチ28が接続される。アナ
ログスイッチ28は積分回路10の出力を反転するイン
バータ29によって制御され、インバータ29を短絡す
るものである。インバータ27の出力は積分回路30に
与えられる。積分回路30はHレベルの信号が5パルス
数以上連続して入力されたときに不安定状態と判別し、
自己診断出力回路15を介して外部に診断信号を出力す
ると共に、安定表示回路16によって不安定状態を表示
するものである。ここで積分回路24,インバータ25
及びトランジスタQ1は、第1の比較器が検知信号を出
力しないときに第2の比較器の閾値を第2の閾値Vth2
とし、第1の比較器が検知信号を出力するとき第2の比
較器の閾値を第3の閾値Vth3 となるように切換える閾
値切換手段を構成している。又インバータ27,29及
びアナログスイッチ28は、第1の比較器が検知信号を
出力するときに第2の比較器の出力を反転させる出力反
転手段を構成している。
On the other hand, the output of the comparator 21 is input to the integrating circuit 26. The integrating circuit 26 outputs an H level signal to the inverter 27 when the H level output of the comparator 21 is continuously input for four pulses. Inverter 2
Analog switches 28 are connected to both ends of 7. The analog switch 28 is controlled by an inverter 29 that inverts the output of the integrating circuit 10, and short-circuits the inverter 29. The output of the inverter 27 is given to the integrating circuit 30. The integrator circuit 30 determines that the H level signal is unstable when the H level signal is continuously input for 5 pulses or more,
A diagnostic signal is output to the outside through the self-diagnosis output circuit 15, and an unstable state is displayed by the stable display circuit 16. Here, the integrating circuit 24 and the inverter 25
And the transistor Q1 changes the threshold value of the second comparator to the second threshold value Vth2 when the first comparator does not output the detection signal.
And a threshold value switching means for switching the threshold value of the second comparator to the third threshold value Vth3 when the first comparator outputs the detection signal. Further, the inverters 27 and 29 and the analog switch 28 constitute output inverting means for inverting the output of the second comparator when the first comparator outputs the detection signal.

【0011】次に本実施例の動作について図2のタイム
チャートを参照しつつ説明する。図2(a)は発振回路
1から出力される投光パルスに応じて発光ダイオード3
を駆動した際にフォトダイオード4,プリアンプ5,ア
ンプ6を介して得られる受光信号のレベルを示してお
り、これと同時に比較器7及び21の閾値を示してい
る。さて動作開始直後は受光レベルが閾値Vth1 以下で
あるとする。このときには比較器21の出力の閾値はV
th2 であり、受光レベルがこれより低いときには比較器
7及び21の出力は図2に示すようにいずれもLレベル
であって、インバータ29の出力はHレベルである。こ
のときにはアナログスイッチ28が導通しており、積分
回路26の出力はそのまま積分回路30に入力されるた
め積分回路30の出力もLレベルとなっている。そして
物体が近接し閾値Vth2 を越えると比較器21の出力が
Hレベルとなり、4パルス後には積分回路26より図2
(d)に示すようにその出力がHレベルに反転する。従
ってインバータ27の出力もこれに応じて反転し、そこ
から積分回路30のパルス数、即ち5パルス後には図2
(g)に示すように積分回路30の出力がHレベルとな
る。このときには不安定な動作状態であるため自己診断
出力回路15より出力を出すと共に、安定表示回路16
により不安定状態が表示される。
Next, the operation of this embodiment will be described with reference to the time chart of FIG. FIG. 2A shows the light emitting diode 3 in response to the light projection pulse output from the oscillation circuit 1.
3 shows the level of the light receiving signal obtained through the photodiode 4, the preamplifier 5, and the amplifier 6 when the is driven, and at the same time, shows the threshold values of the comparators 7 and 21. Immediately after the operation is started, the light receiving level is assumed to be equal to or lower than the threshold value Vth1. At this time, the threshold of the output of the comparator 21 is V
When the light receiving level is lower than th2, the outputs of the comparators 7 and 21 are both at the L level and the output of the inverter 29 is at the H level as shown in FIG. At this time, the analog switch 28 is conducting, and the output of the integrating circuit 26 is directly input to the integrating circuit 30, so that the output of the integrating circuit 30 is also at the L level. Then, when the object approaches and exceeds the threshold value Vth2, the output of the comparator 21 becomes H level, and after 4 pulses, the integrating circuit 26 causes the output of FIG.
The output is inverted to the H level as shown in (d). Therefore, the output of the inverter 27 is also inverted accordingly, and after that, the number of pulses of the integrating circuit 30, that is, after 5 pulses, is as shown in FIG.
As shown in (g), the output of the integrating circuit 30 becomes H level. At this time, since the operation is unstable, the self-diagnosis output circuit 15 outputs and the stable display circuit 16
Causes an unstable condition to be displayed.

【0012】そして入力レベルが閾値Vth1 を越えた時
点から4パルス数を経過すると、積分回路24の出力は
図2(b)に示すようにHレベルに反転する。従ってイ
ンバータ25の出力はLレベルに反転し、トランジスタ
Q1はオフとなって比較器21の閾値は図2(a)に示
すようにVth3 となる。さて物体が存在し閾値Vth1を
越えるレベルの受光信号が8パルス以上連続して得られ
た場合には、図2(c)に示すように積分回路10より
Hレベルの出力が得られ、これによって物体検知信号が
制御出力回路11より出力される。同時に動作表示回路
12によって物体の検知が表示される。ここで積分回路
10の出力がインバータ29により反転してLレベルと
なっているため、アナログスイッチ28はオフとなる。
従って入力信号が安定オンレベルVth3 以下で且つ物体
検知の閾値Vth1 を越えている場合には、積分回路26
の出力がインバータ27によって反転され、積分回路3
0に加わる。このため図2(f),(g)に示すように
積分回路30はHレベルの出力を継続する。
When four pulses have passed from the time when the input level exceeded the threshold value Vth1, the output of the integrating circuit 24 is inverted to the H level as shown in FIG. 2 (b). Therefore, the output of the inverter 25 is inverted to the L level, the transistor Q1 is turned off, and the threshold value of the comparator 21 becomes Vth3 as shown in FIG. When an object is present and a light reception signal having a level exceeding the threshold value Vth1 is continuously obtained for 8 pulses or more, an H level output is obtained from the integrating circuit 10 as shown in FIG. The object detection signal is output from the control output circuit 11. At the same time, the operation display circuit 12 displays the detection of the object. Here, since the output of the integrating circuit 10 is inverted by the inverter 29 and is at the L level, the analog switch 28 is turned off.
Therefore, when the input signal is equal to or lower than the stable ON level Vth3 and exceeds the object detection threshold Vth1, the integration circuit 26
The output of is inverted by the inverter 27, and the integration circuit 3
Join 0. Therefore, the integrating circuit 30 continues to output the H level as shown in FIGS.

【0013】一方入力レベルが閾値Vth3 を越えれば積
分回路10を介して物体検知信号が出力され、同時にア
ナログスイッチ28もオフとなるため積分回路26の出
力がインバータ27によって反転され、Lレベルとして
積分回路30に加わる。従って積分回路30の出力はL
レベルに保たれ、安定した動作状態であることが示され
る。このときには自己診断出力回路15より出力を出さ
ず、安定表示回路16も安定状態が表示される。
On the other hand, when the input level exceeds the threshold value Vth3, the object detection signal is output through the integrating circuit 10, and the analog switch 28 is also turned off at the same time, so the output of the integrating circuit 26 is inverted by the inverter 27 and integrated as the L level. Join circuit 30. Therefore, the output of the integrating circuit 30 is L
It is maintained at the level and is shown to be in a stable operating state. At this time, the self-diagnosis output circuit 15 does not output, and the stable display circuit 16 also displays the stable state.

【0014】尚本実施例ではノイズの影響を除き、急激
な出力の変動を避けるために積分回路10,24,26
及び30を設けているが、そのパルス数は積分回路26
より積分回路30のパルス数を多くしておく点を除いて
任意に設定することができる。又物体検知信号に基づい
て比較器21の出力を反転させる出力反転回路としてイ
ンバータ27,29とアナログスイッチとを設けてい
る。しかし出力反転回路はこのような構成に限らず、こ
れは例えば図3に示すようなインバータ41,42、ア
ンド回路43,44及びオア回路45から成る論理回路
を用いて構成することができることはいうまでもない。
更に積分回路24の出力に基づいて比較器21の出力を
切換える切換回路は本実施例の構成に限らず、直接2つ
の閾値を持つ電圧源をスイッチによって切換えるように
してもよい。
In this embodiment, the integrating circuits 10, 24 and 26 are used to eliminate the influence of noise and to avoid sudden output fluctuations.
And 30 are provided, the number of pulses of which is 30
It can be arbitrarily set except that the number of pulses of the integrating circuit 30 is increased. Further, inverters 27 and 29 and an analog switch are provided as an output inverting circuit for inverting the output of the comparator 21 based on the object detection signal. However, the output inverting circuit is not limited to such a configuration, and it can be configured using a logic circuit including inverters 41 and 42, AND circuits 43 and 44, and an OR circuit 45 as shown in FIG. 3, for example. There is no end.
Further, the switching circuit for switching the output of the comparator 21 based on the output of the integrating circuit 24 is not limited to the configuration of this embodiment, and a voltage source having two threshold values may be directly switched by a switch.

【0015】又本実施例は反射型光電スイッチについて
説明しているが、本発明は反射型光電スイッチに限らず
透過型等の他の形式の光電スイッチや近接スイッチ等入
力信号のレベルによって物理状態を判別し、オン又はオ
フを出力する他の種々の検出スイッチに適用することが
できる。
Although the present embodiment describes the reflection type photoelectric switch, the present invention is not limited to the reflection type photoelectric switch, but other types such as a transmission type photoelectric switch and a proximity switch, etc., may be in a physical state depending on the input signal level. Can be applied to various other detection switches that output ON or OFF.

【0016】[0016]

【発明の効果】以上詳細に説明したように本発明によれ
ば、動作検知用と第1の閾値を持つ第1の比較器を物体
検知用とし、その上下に閾値を持つ第2の比較器を用い
てその閾値を切換えることによって安定状態を検出して
いる。このため2つの比較器で構成することができ、検
出スイッチの消費電流を大幅に低減することができると
いう効果が得られる。
As described above in detail, according to the present invention, the first comparator for detecting the motion and the first comparator for detecting the object are used for detecting the object, and the second comparator having the threshold values above and below the comparator. The stable state is detected by switching the threshold value using. Therefore, it can be configured with two comparators, and the effect that the current consumption of the detection switch can be significantly reduced can be obtained.

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

【図1】本発明の一実施例による反射型光電スイッチの
一例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a reflective photoelectric switch according to an embodiment of the present invention.

【図2】本実施例の動作を示すタイムチャートである。FIG. 2 is a time chart showing the operation of this embodiment.

【図3】出力反転回路の他の例を示す回路図である。FIG. 3 is a circuit diagram showing another example of an output inverting circuit.

【図4】従来の反射型光電スイッチの一例を示すブロッ
ク図である。
FIG. 4 is a block diagram showing an example of a conventional reflective photoelectric switch.

【図5】従来の反射型光電スイッチの動作を示すタイム
チャートである。
FIG. 5 is a time chart showing the operation of a conventional reflective photoelectric switch.

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

1 発振回路 2 投光回路 3 発光ダイオード 4 フォトダイオード 7〜9,21 比較器 10,24,26,30 積分回路 11 制御出力回路 12 動作表示回路 15 自己診断出力回路 16 安定表示回路 22,23 電圧源 25,27,29 インバータ 28 アナログスイッチ DESCRIPTION OF SYMBOLS 1 oscillation circuit 2 light emission circuit 3 light emitting diode 4 photodiodes 7-9, 21 comparators 10, 24, 26, 30 integration circuit 11 control output circuit 12 operation display circuit 15 self-diagnosis output circuit 16 stability display circuit 22, 23 voltage Source 25, 27, 29 Inverter 28 Analog switch

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力信号のレベルに応じて物理状態を判
別する検出スイッチであって、 第1の閾値レベルを有して入力信号を弁別し、該閾値レ
ベルを越えたときに検知信号を出力する第1の比較器
と、 前記第1の閾値レベルより低い第2の閾値レベル及び第
1の閾値より高い第3の閾値レベルの一方が閾値として
設定され、入力信号を弁別する第2の比較器と、 前記第1の比較器の出力が検知信号を出力しないときに
前記第2の比較器の閾値を第2の閾値とし、前記第1の
比較器が検知信号を出力するときに前記第2の比較器の
閾値を第3の閾値となるように切換える閾値切換手段
と、 前記第1の比較器が検知信号を出力するときに第2の比
較器の出力を反転させる出力反転手段と、を具備し、 前記出力反転手段の出力に基づいて安定動作状態を判別
するようにしたことを特徴とする検出スイッチ。
1. A detection switch for discriminating a physical state according to a level of an input signal, the first switch having a first threshold level for discriminating the input signal, and outputting a detection signal when the threshold level is exceeded. And a second comparator that sets one of a second threshold level lower than the first threshold level and a third threshold level higher than the first threshold level as a threshold value and discriminates an input signal. And a threshold value of the second comparator when the output of the first comparator does not output a detection signal, and a second threshold value when the first comparator outputs a detection signal. Threshold value switching means for switching the threshold value of the second comparator to the third threshold value; output inverting means for inverting the output of the second comparator when the first comparator outputs a detection signal; Stable operation based on the output of the output inverting means Detection switch being characterized in that so as to determine the status.
JP12070594A 1994-05-09 1994-05-09 Detection switch Pending JPH07303036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12070594A JPH07303036A (en) 1994-05-09 1994-05-09 Detection switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12070594A JPH07303036A (en) 1994-05-09 1994-05-09 Detection switch

Publications (1)

Publication Number Publication Date
JPH07303036A true JPH07303036A (en) 1995-11-14

Family

ID=14792953

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12070594A Pending JPH07303036A (en) 1994-05-09 1994-05-09 Detection switch

Country Status (1)

Country Link
JP (1) JPH07303036A (en)

Similar Documents

Publication Publication Date Title
JPH0448004B2 (en)
JPH07303036A (en) Detection switch
JPS5944809B2 (en) Photoelectric switch
JP2004165215A (en) Opto-electric sensor
JP3484781B2 (en) Dust sensor
JP2593980B2 (en) Photoelectric smoke detector
JP2709017B2 (en) Photoelectric switch
JP4926893B2 (en) Pulse modulation type photodetection device
JP2744173B2 (en) Photoelectric smoke detector
JPH06140901A (en) Photoelectric switch
JPH0918318A (en) Photoelectric sensor and threshold value setting method therefor
JPH057145A (en) Detection switch
JP2515136B2 (en) Reflective photoelectric detector
JP3293044B2 (en) Photoelectric switch
JPH08102363A (en) Lighting system
JPH0652469A (en) Photoelectric smoke sensor
JPH1098369A (en) Photoelectric switch and its integrated circuit
JP2005260752A (en) Pulse generating circuit and photo-detection instrument using it
JPH11266148A (en) Voltage detection circuit
KR940002783Y1 (en) Photo diode switch self-consult circuit
JP2557137Y2 (en) DC 2-wire photoelectric switch
JPH05102823A (en) Photoelectric switch
JPS59154822A (en) Holding circuit
JP3499395B2 (en) Dwelling unit security equipment
JPH02301216A (en) Photoelectric switch