JPH06164357A - Two-wire type electronic switch - Google Patents

Two-wire type electronic switch

Info

Publication number
JPH06164357A
JPH06164357A JP33366692A JP33366692A JPH06164357A JP H06164357 A JPH06164357 A JP H06164357A JP 33366692 A JP33366692 A JP 33366692A JP 33366692 A JP33366692 A JP 33366692A JP H06164357 A JPH06164357 A JP H06164357A
Authority
JP
Japan
Prior art keywords
circuit
output
display
current
terminals
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
JP33366692A
Other languages
Japanese (ja)
Inventor
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 JP33366692A priority Critical patent/JPH06164357A/en
Publication of JPH06164357A publication Critical patent/JPH06164357A/en
Pending legal-status Critical Current

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Electronic Switches (AREA)

Abstract

PURPOSE:To increase a current, supplied to a pilot lamp when the two-wire type electronic switch is turned ON, stepwise corresponding to a load current. CONSTITUTION:This two-wire type electronic switch is provided with an output circuit 14A which short-circuits terminals 1 and 2 of the switch, and an A/D converter 24 and gate circuits 21-23 which detect its output current. The gate circuits 21-23 are placed in operation with the output of the A/D converter 24 and a stable operation display output. A specific driving current is supplied to a light emitting diode D2 for stable operation display with an output of each gate circuit to vary the display current stepwise.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は二線式の光電スイッチ,
近接スイッチ等の電子スイッチに関し、特にその動作表
示に特徴を有する二線式電子スイッチに関するものであ
る。
BACKGROUND OF THE INVENTION The present invention relates to a two-wire photoelectric switch,
The present invention relates to an electronic switch such as a proximity switch, and more particularly to a two-wire type electronic switch characterized by its operation display.

【0002】[0002]

【従来の技術】従来二線式の電子スイッチ、例えば直流
二線式の近接スイッチは、負荷及び電源と直列接続され
る一対の端子を有しており、物体の有無によって一対の
端子間の両端の出力開閉素子を開閉することによってス
イッチ動作を行っている。このような直流2線式近接ス
イッチにおいて出力開閉素子が開放している状態では、
負荷電流を流さないために微少な漏れ電流、例えば1mA
程度の電流によって内部回路を動作させる必要がある。
又電子スイッチがオン状態では負荷に例えば3mA〜 100
mAの範囲の負荷電流を流すようにしている。
2. Description of the Related Art A conventional two-wire type electronic switch, for example, a direct current two-wire type proximity switch, has a pair of terminals connected in series with a load and a power source. The switch operation is performed by opening and closing the output switching element. In such a DC 2-wire proximity switch, when the output switching element is open,
Small leakage current, for example 1mA, to prevent load current
It is necessary to operate the internal circuit with a certain amount of current.
Also, when the electronic switch is on, the load is, for example, 3 mA to 100
The load current in the mA range is applied.

【0003】[0003]

【発明が解決しようとする課題】又近接スイッチでは図
8に示すように定格検出距離の 100〜80%は不安定検出
領域であるため赤色の発光表示を行い、80〜0%では安
定検出領域であるため緑色の表示灯を点灯させることが
多い。又赤色を動作表示として0〜100 %のいずれでも
点灯させ、80〜0%では赤色と緑色の表示灯を同時に点
灯させるようにした二線式電子スイッチもある。このよ
うに動作表示灯に加えて安定動作表示用の表示素子を使
用する場合には、安定表示用として緑色の発光ダイオー
ドが使用される場合が多い。しかるに負荷電流の最小値
が3mAとすれば、動作表示や安定動作表示のための表示
灯には2mA程度しか電流を流せないため、表示灯の光が
暗くなるという欠点があった。特に緑色の発光ダイオー
ドの場合は電流値が小さければ暗く、十分な表示を行う
ことができなかった。
In the proximity switch, as shown in FIG. 8, 100 to 80% of the rated detection distance is an unstable detection area, so that red light emission is displayed, and 80 to 0% is a stable detection area. Therefore, the green indicator light is often turned on. There is also a two-wire type electronic switch in which red is turned on as an operation indicator at any of 0 to 100% and red and green indicators are simultaneously turned on at 80 to 0%. Thus, when the display element for stable operation display is used in addition to the operation indicator lamp, the green light emitting diode is often used for stable display. However, if the minimum value of the load current is 3 mA, the indicator lamp for the operation display and the stable operation indicator can only supply a current of about 2 mA. In particular, in the case of a green light emitting diode, if the current value is small, it is dark and sufficient display cannot be performed.

【0004】このように従来の二線式電子スイッチで
は、表示灯への供給電流と出力電流,センサ回路の電流
の和が負荷電流の最小値である3mAの範囲となるように
設定されているため、負荷電流が3mAを大幅に越えた状
態でも常に表示が暗く確認し難いという欠点があった。
特に二線式電子スイッチはプログラマブルコントローラ
と併用して使用することが多く、負荷電流は8〜10mAの
ことが多い。しかしこの負荷電流レベルでも常に表示が
暗くなっているという欠点があった。
As described above, in the conventional two-wire type electronic switch, the sum of the current supplied to the indicator lamp, the output current, and the current of the sensor circuit is set within the range of the minimum load current of 3 mA. Therefore, there is a drawback that the display is always dark and difficult to confirm even when the load current greatly exceeds 3 mA.
Particularly, the two-wire type electronic switch is often used in combination with a programmable controller, and the load current is often 8 to 10 mA. However, there is a drawback that the display is always dark even at this load current level.

【0005】本発明はこのような従来の問題点に鑑みて
なされたものであって、負荷電流が最小値でも表示灯を
点灯できるようにすると共に、負荷電流の大きさによっ
て表示灯に流す電流値を段階的に大きくできるようにす
ることを技術的課題とする。
The present invention has been made in view of the above-mentioned conventional problems, and makes it possible to light the indicator lamp even when the load current is at a minimum value, and the current flowing through the indicator lamp depends on the magnitude of the load current. The technical issue is to be able to increase the value stepwise.

【0006】[0006]

【課題を解決するための手段】本願の請求項1の発明
は、外部の負荷及び電源に直列に接続される一対の端子
と、一対の端子に接続されるセンサ回路と、センサ回路
の出力によって一対の端子間を開閉する出力回路と、セ
ンサ回路の出力状態を表示する表示回路と、を具備する
二線式電子スイッチであって、出力回路は、物体検知信
号によって動作するスイッチング素子とスイッチング素
子に直列に接続される電流検出用の抵抗とを有するもの
であり、表示回路は、電流検出用抵抗の端子電圧をA/
D変換し端子電圧レベルに応じて順次オンとなる並列信
号を出力するA/D変換器と、物体検知信号によって動
作する動作表示用の表示素子と、安定動作表示信号が一
方の入力端に、他方の入力端にはA/D変換器の並列出
力が夫々入力された複数のゲート回路と、各ゲート回路
の出力に応じて夫々動作する複数のカレントミラー回路
と、各カレントミラー回路の電流出力端がその一端に共
通接続された安定動作表示用の表示素子と、を有するこ
とを特徴とするものである。
According to the invention of claim 1 of the present application, a pair of terminals connected in series to an external load and a power source, a sensor circuit connected to the pair of terminals, and an output of the sensor circuit are used. A two-wire type electronic switch comprising an output circuit for opening and closing a pair of terminals and a display circuit for displaying an output state of a sensor circuit, the output circuit comprising a switching element and a switching element which operate according to an object detection signal. And a resistance for current detection connected in series to the display circuit, and the display circuit displays the terminal voltage of the resistance for current detection as A /
An A / D converter that outputs a parallel signal that is D-converted and sequentially turns on according to the terminal voltage level, a display element for operation display that operates according to an object detection signal, and a stable operation display signal at one input terminal, A plurality of gate circuits to which the parallel outputs of the A / D converters are respectively input to the other input terminal, a plurality of current mirror circuits that respectively operate according to the output of each gate circuit, and a current output of each current mirror circuit And a display element for stable operation display, the end of which is commonly connected to the one end.

【0007】本願の請求項2の発明では、外部の負荷及
び電源に直列に接続される一対の端子と、一対の端子に
接続されるセンサ回路と、センサ回路の出力によって一
対の端子間を開閉する出力回路と、センサ回路の出力状
態を表示する表示回路と、を具備する二線式電子スイッ
チであって、出力回路は、物体検知信号によって動作す
るスイッチング素子とスイッチング素子に直列に接続さ
れる電流検出用の抵抗とを有するものであり、表示回路
は、電流検出用抵抗の端子電圧をA/D変換し端子電圧
レベルに応じて順次オンとなる並列信号を出力するA/
D変換器と、物体検知信号が一方の入力端に、他方の入
力端にはA/D変換器の並列出力が夫々入力された複数
のゲート回路と、各ゲート回路の出力に応じて夫々動作
する複数のカレントミラー回路と、各カレントミラー回
路の電流出力端がその一端に共通接続された動作表示用
の表示素子と、を有することを特徴とするものである。
According to the second aspect of the present invention, a pair of terminals connected in series to an external load and a power source, a sensor circuit connected to the pair of terminals, and a pair of terminals opened and closed by the output of the sensor circuit. A two-wire type electronic switch comprising an output circuit for displaying an output state of a sensor circuit, the output circuit being connected in series with a switching element operated by an object detection signal and the switching element. The display circuit includes a resistance for current detection, and the display circuit A / D converts the terminal voltage of the resistance for current detection and outputs a parallel signal that is sequentially turned on according to the terminal voltage level.
D converter, a plurality of gate circuits in which an object detection signal is input to one input terminal and parallel outputs of an A / D converter are input to the other input terminal, respectively, and each operates according to the output of each gate circuit And a plurality of current mirror circuits, and a current output terminal of each current mirror circuit is commonly connected to one end of the current mirror circuit, and a display element for operation display is provided.

【0008】本願の請求項3の発明では、外部の負荷及
び電源に直列に接続される一対の端子と、一対の端子に
接続されるセンサ回路と、センサ回路の出力によって一
対の端子間を開閉する出力回路と、センサ回路の出力状
態を表示する表示回路と、を具備する二線式電子スイッ
チであって、出力回路は、物体検知信号によって動作す
るスイッチング素子とスイッチング素子に直列に接続さ
れる電流検出用の抵抗とを有するものであり、表示回路
は、電流検出用抵抗の端子電圧をA/D変換し端子電圧
レベルに応じて順次オンとなる並列信号を出力するA/
D変換器と、動作表示信号が一方の入力端に、他方の入
力端にはA/D変換器の並列出力が夫々入力された複数
のゲート回路と、各ゲート回路の出力に応じて夫々動作
する複数の動作表示素子と、を有することを特徴とする
ものである。
According to the third aspect of the present invention, a pair of terminals connected in series to an external load and a power source, a sensor circuit connected to the pair of terminals, and a pair of terminals opened and closed by the output of the sensor circuit. A two-wire type electronic switch comprising an output circuit for displaying an output state of a sensor circuit, the output circuit being connected in series with a switching element operated by an object detection signal and the switching element. The display circuit includes a resistance for current detection, and the display circuit A / D converts the terminal voltage of the resistance for current detection and outputs a parallel signal that is sequentially turned on according to the terminal voltage level.
D converter, a plurality of gate circuits to which the operation display signal is input to one input terminal and the parallel output of the A / D converter is input to the other input terminal, respectively, and operate in accordance with the output of each gate circuit And a plurality of operation display elements that operate.

【0009】本願の請求項4の発明では、外部の負荷及
び電源に直列に接続される一対の端子と、一対の端子に
接続されるセンサ回路と、センサ回路の出力によって一
対の端子間を開閉する出力回路と、センサ回路の出力状
態を表示する表示回路と、を具備する二線式電子スイッ
チであって、出力回路は、物体検知信号によって動作す
るスイッチング素子とスイッチング素子に直列に接続さ
れる電流検出用の抵抗とを有するものであり、表示回路
は、電流検出用抵抗の端子電圧をA/D変換し端子電圧
レベルに応じて順次オンとなる並列信号を出力するA/
D変換器と、A/D変換器の出力をデコードし表示する
数値表示回路と、を有することを特徴とするものであ
る。
According to the invention of claim 4 of the present application, a pair of terminals connected in series to an external load and a power supply, a sensor circuit connected to the pair of terminals, and a pair of terminals opened and closed by the output of the sensor circuit. A two-wire type electronic switch comprising an output circuit for displaying an output state of a sensor circuit, the output circuit being connected in series with a switching element operated by an object detection signal and the switching element. The display circuit includes a resistance for current detection, and the display circuit A / D converts the terminal voltage of the resistance for current detection and outputs a parallel signal that is sequentially turned on according to the terminal voltage level.
It is characterized by having a D converter and a numerical display circuit for decoding and displaying the output of the A / D converter.

【0010】[0010]

【作用】このような特徴を有する本願の請求項1又は2
の発明によれば、出力回路の駆動電流をA/D変換器に
よって検出し、その出力に基づいて安定動作表示素子、
又は動作表示素子に流れる電流を段階的に変化させるよ
うにしている。従って駆動電流が大きくなればこれらの
表示素子に流れる電流も増加するため、動作状態を明確
に認識できることとなる。
The operation according to claim 1 or 2 of the present application having such characteristics
According to the invention, the driving current of the output circuit is detected by the A / D converter, and the stable operation display element is detected based on the output.
Alternatively, the current flowing through the operation display element is changed stepwise. Therefore, as the drive current increases, the current flowing through these display elements also increases, so that the operating state can be clearly recognized.

【0011】又請求項3の発明では、複数の表示素子を
用いて負荷電流に応じて順次表示素子を点灯させるよう
にしており、請求項4の発明ではA/D変換をデコード
して数値によって表示しているため、負荷電流の大きさ
を認識できることとなる。
Further, according to the invention of claim 3, the plurality of display elements are used to sequentially turn on the display elements in accordance with the load current. In the invention of claim 4, the A / D conversion is decoded to obtain a numerical value. Since it is displayed, the magnitude of the load current can be recognized.

【0012】[0012]

【実施例】図1は本発明の一実施例による直流二線式光
電スイッチの全体構成を示すブロック図である。本図に
おいて光電スイッチの端子1,2には負荷3と直流の電
源4とが直列に接続される。端子1には定電圧回路5が
接続され、光電スイッチの各部に電圧が供給される。光
電スイッチ内には一定の周期で投光パルスを発生する発
振回路6が設けられる。発振回路6の出力は投光回路7
を介して投光素子8を周期的に駆動するものである。こ
の光電スイッチを例えば拡散反射型光電スイッチとする
と、物体が接近すれば投光素子8より照射された光が物
体を介して受光素子9に受光される。受光素子9には受
光回路10が接続されており、受光信号は比較回路11
に与えられる。比較回路11は所定の閾値で信号を弁別
するものであり、その出力は信号処理回路12に与えら
れる。信号処理回路12はゲート回路や積分回路等を含
んで構成され、発振回路6より投光パルスがゲート信号
として与えられて物体検知信号IN1及び安定動作表示
信号IN2を出力するものである。さて信号処理回路1
2の物体検知出力は表示回路13に与えられる。表示回
路13は物体検知信号に基づいて出力回路14を導通さ
せると共に、出力回路に流れる電流に応じて表示素子の
表示電流を制御するものである。
1 is a block diagram showing the overall construction of a DC two-wire photoelectric switch according to one embodiment of the present invention. In this figure, a load 3 and a DC power source 4 are connected in series to terminals 1 and 2 of the photoelectric switch. A constant voltage circuit 5 is connected to the terminal 1 and a voltage is supplied to each part of the photoelectric switch. An oscillating circuit 6 for generating a light emitting pulse at a constant cycle is provided in the photoelectric switch. The output of the oscillation circuit 6 is the light projecting circuit 7.
The light projecting element 8 is periodically driven via the. If this photoelectric switch is, for example, a diffuse reflection photoelectric switch, the light emitted from the light projecting element 8 is received by the light receiving element 9 via the object when the object approaches. A light receiving circuit 10 is connected to the light receiving element 9, and the light receiving signal is sent to the comparison circuit 11
Given to. The comparison circuit 11 discriminates the signals with a predetermined threshold value, and the output thereof is given to the signal processing circuit 12. The signal processing circuit 12 is configured to include a gate circuit, an integrating circuit, etc., and the light emitting pulse is given as a gate signal from the oscillation circuit 6 to output the object detection signal IN1 and the stable operation display signal IN2. Now signal processing circuit 1
The object detection output of No. 2 is given to the display circuit 13. The display circuit 13 conducts the output circuit 14 based on the object detection signal, and controls the display current of the display element in accordance with the current flowing through the output circuit.

【0013】次に表示回路13及び出力回路14の詳細
な構成例について図2を参照しつつ説明する。図2は表
示回路内に動作表示用の赤色発光ダイオードと、安定動
作表示用の発光ダイオードとを有する表示回路を示す回
路図である。本図において、端子1,2間には出力開閉
素子であるスイッチングトランジスタQ1と電流検知用
の抵抗R1とが直列に接続され、出力回路14Aを構成
している。又表示回路13Aでは、抵抗R2及び動作表
示用の赤色の発光ダイオードD1とトランジスタQ2と
が直列に接続され、抵抗R2と発光ダイオードD1の共
通接続端がトランジスタQ1のベースに接続されてい
る。トランジスタQ2には動作表示用の物体検知信号I
N1が入力される。更に端子1にはトランジスタQ3,
Q4から成る第1のカレントミラー回路、Q5,Q6か
ら成る第2のカレントミラー回路及びトランジスタQ
7,Q8から成る第3のカレントミラー回路が接続され
る。各カレントミラー回路のトランジスタQ3,Q5,
Q7と端子2の間にはカレントミラー回路の制御用トラ
ンジスタQ9,Q10,Q11が夫々接続されている。
各トランジスタQ9,Q10,Q11のベースにはゲー
ト回路21,22,23が夫々接続されている。
Next, a detailed configuration example of the display circuit 13 and the output circuit 14 will be described with reference to FIG. FIG. 2 is a circuit diagram showing a display circuit having a red light emitting diode for operation display and a light emitting diode for stable operation display in the display circuit. In the figure, a switching transistor Q1 which is an output switching element and a current detection resistor R1 are connected in series between terminals 1 and 2 to form an output circuit 14A. In the display circuit 13A, the resistor R2, the red light emitting diode D1 for operation display, and the transistor Q2 are connected in series, and the common connection end of the resistor R2 and the light emitting diode D1 is connected to the base of the transistor Q1. The transistor Q2 has an object detection signal I for operation display.
N1 is input. Furthermore, the transistor Q3 is connected to the terminal 1.
A first current mirror circuit composed of Q4, a second current mirror circuit composed of Q5 and Q6, and a transistor Q
A third current mirror circuit consisting of Q7 and Q7 is connected. Transistors Q3, Q5 of each current mirror circuit
Control transistors Q9, Q10 and Q11 of the current mirror circuit are connected between Q7 and the terminal 2, respectively.
Gate circuits 21, 22, 23 are connected to the bases of the transistors Q9, Q10, Q11, respectively.

【0014】さて出力回路14Aの抵抗R1は負荷3に
流れる電流を検出するための電流検出用抵抗であって、
トランジスタQ1のコレクタとの共通接続端の端子電圧
がA/D変換器24に与えられる。A/D変換器24は
投光パルスが加えられる毎にA/D変換し、抵抗R1の
端子電圧に応じて夫々3つの並列のスイッチング信号を
出力するものである。A/D変換器24の電圧レベルに
対応した出力は夫々前述したゲート回路21,22,2
3の一方の入力端子に与えられている。又各ゲート回路
21,22,23の共通の入力端は安定動作表示信号I
N2が供給される。
The resistor R1 of the output circuit 14A is a current detecting resistor for detecting the current flowing through the load 3.
The terminal voltage at the common connection end with the collector of the transistor Q1 is given to the A / D converter 24. The A / D converter 24 performs A / D conversion each time a light projecting pulse is applied, and outputs three parallel switching signals in accordance with the terminal voltage of the resistor R1. The outputs corresponding to the voltage levels of the A / D converter 24 are the gate circuits 21, 22, 2 described above, respectively.
3 to one of the input terminals. Further, the common input end of each gate circuit 21, 22, 23 is a stable operation display signal I
N2 is supplied.

【0015】さてこの入力信号IN2は更にトランジス
タQ12のベースにも与えられる。トランジスタQ12
のエミッタは接地され、コレクタには緑色の第2の発光
ダイオードD2が接続される。発光ダイオードD2のア
ノード端は第1〜第3のカレントミラー回路のトランジ
スタQ4,Q6,Q8の電流出力端子に接続されてい
る。
The input signal IN2 is also given to the base of the transistor Q12. Transistor Q12
Is grounded and the collector is connected to the green second light emitting diode D2. The anode end of the light emitting diode D2 is connected to the current output terminals of the transistors Q4, Q6, Q8 of the first to third current mirror circuits.

【0016】次に本実施例の動作について説明する。ま
ず端子1,2間に負荷3と電源4とを接続すると、定電
圧回路5によって各部に電源が供給され、発振回路6よ
り周期的に投光パルスを発生する。そして投光回路7を
介して投光素子8が断続的に駆動される。物体が接近し
ていなければ信号処理回路12から物体検知信号IN1
が出力されないため、トランジスタQ2及びゲート回路
21〜23の出力はいずれもLレベルとなり、発光ダイ
オードD1,D2は点灯しない。
Next, the operation of this embodiment will be described. First, when the load 3 and the power supply 4 are connected between the terminals 1 and 2, the constant voltage circuit 5 supplies the power to each part, and the oscillation circuit 6 periodically generates a light projection pulse. The light projecting element 8 is intermittently driven via the light projecting circuit 7. If the object is not approaching, the signal processing circuit 12 outputs the object detection signal IN1.
Is not output, the outputs of the transistor Q2 and the gate circuits 21 to 23 are all at the L level, and the light emitting diodes D1 and D2 do not light.

【0017】さて物体が検知領域に到来すると、投光素
子8からの光が受光素子9によって受光され受光回路1
0を介して電圧信号として比較回路11に与えられる。
そして閾値を越えた信号が続けて検知された場合には信
号処理回路12より物体検知信号IN1が出力され、そ
のレベルによって安定動作信号IN2が夫々トランジス
タQ12及びゲート回路21〜23に与えられる。物体
検知信号IN1がトランジスタQ2に入力された場合に
は、抵抗R2を介してトランジスタQ2にコレクタ電流
が流れ赤色の発光ダイオードD1が点灯する。同時にト
ランジスタQ1が付勢されることとなって負荷3には電
流が流れる。ここで負荷電流は抵抗R1の両端の電圧と
して検知されることとなり、負荷電流IL に応じて1又
は複数の出力がA/D変換器24より得られる。
When an object reaches the detection area, the light from the light projecting element 8 is received by the light receiving element 9 and the light receiving circuit 1 is received.
It is given to the comparison circuit 11 via 0 as a voltage signal.
When a signal exceeding the threshold value is continuously detected, the signal processing circuit 12 outputs the object detection signal IN1 and the stable operation signal IN2 is given to the transistor Q12 and the gate circuits 21 to 23 depending on the level thereof. When the object detection signal IN1 is input to the transistor Q2, a collector current flows to the transistor Q2 via the resistor R2, and the red light emitting diode D1 lights up. At the same time, the transistor Q1 is energized and a current flows through the load 3. Here, the load current is detected as the voltage across the resistor R1, and one or more outputs are obtained from the A / D converter 24 according to the load current I L.

【0018】さて物体が安定な動作位置に接近している
場合には、信号処理回路12から安定動作表示信号IN
2が各ゲート回路21〜23に加わっている。従ってA
/D変換器24の出力に応じてトランジスタQ9からQ
10,Q11と順次図3(a)に示すように付勢される
こととなる。従ってトランジスタQ9のみが付勢されて
いる状態では、第1のカレントミラー回路で定まる電流
G1が第2の発光ダイオードD2に加わる。次いで負荷
電流IL が大きくなり、トランジスタQ9,Q10が共
にオン状態となったときには、第1,第2のカレントミ
ラー回路によって定まる電流IG1+IG2が発光ダイオー
ドD2に加わる。更に負荷電流が増加すればトランジス
タQ11もオンとなり、第1〜第3のカレントミラー回
路によって定まる電流IG1+IG2+IG3が発光ダイオー
ドD2に加わる。従って負荷電流に応じて、発光ダイオ
ードD2に流れる電流は順次段階的に増加することとな
る。このように負荷3に流れる負荷電流IL に応じて安
定動作表示用の発光ダイオードD2に流れる表示灯電流
G を変化させることによって、負荷電流が大きければ
表示灯を十分明るく表示させることができる。
When the object approaches the stable operation position, the signal processing circuit 12 outputs the stable operation display signal IN.
2 is added to each gate circuit 21-23. Therefore A
Transistors Q9 to Q depending on the output of the / D converter 24
Then, Q and Q11 are sequentially urged as shown in FIG. Therefore, when only the transistor Q9 is energized, the current I G1 determined by the first current mirror circuit is applied to the second light emitting diode D2. Next, when the load current I L increases and both the transistors Q9 and Q10 are turned on, the current I G1 + I G2 determined by the first and second current mirror circuits is added to the light emitting diode D2. When the load current further increases, the transistor Q11 also turns on, and the currents I G1 + I G2 + I G3 determined by the first to third current mirror circuits are added to the light emitting diode D2. Therefore, the current flowing through the light emitting diode D2 increases stepwise in accordance with the load current. In this way, by changing the indicator light current I G flowing through the light emitting diode D2 for stable operation display according to the load current I L flowing through the load 3, the indicator light can be displayed sufficiently bright if the load current is large. .

【0019】図4は本発明の第2実施例による表示回路
の構成を示す回路図である。本図において第1実施例と
同一部分は同一符号を付して詳細な説明を省略する。図
4の実施例では赤色の発光ダイオードのみを用いて負荷
電流に応じてその表示灯電流を制御するようにしたもの
である。本図において端子1,2間の出力回路14Bは
スイッチング用のトランジスタQ1と抵抗R1とが直列
に接続され、その端子電圧がA/D変換器24に接続さ
れることは第1実施例と同様である。トランジスタQ1
のベースにはトランジスタQ13のベース及びコレクタ
を接続し、抵抗R2を接続して出力回路が構成される。
この場合にはトランジスタQ1とQ13のエミッタ面積
比を 100:1のように設定しておくものとする。表示回
路13Bは抵抗R2の他端に赤色の発光ダイオードD1
を接続している。本実施例においても第1〜第3のカレ
ントミラー回路を有し、その接続については第1実施例
と同様であるが、各カレントミラー回路の電流出力端は
赤色の発光ダイオードD1のアノード端を介してトラン
ジスタQ12に接続している。その他の構成は第1実施
例と同様である。
FIG. 4 is a circuit diagram showing the structure of the display circuit according to the second embodiment of the present invention. In this figure, the same parts as those in the first embodiment are designated by the same reference numerals and detailed description thereof will be omitted. In the embodiment shown in FIG. 4, only the red light emitting diode is used to control the indicator lamp current according to the load current. In the figure, in the output circuit 14B between the terminals 1 and 2, the switching transistor Q1 and the resistor R1 are connected in series, and the terminal voltage is connected to the A / D converter 24, as in the first embodiment. Is. Transistor Q1
An output circuit is formed by connecting the base and collector of the transistor Q13 and the resistor R2 to the base of the transistor Q13.
In this case, the emitter area ratio of the transistors Q1 and Q13 is set to 100: 1. The display circuit 13B has a red light emitting diode D1 at the other end of the resistor R2.
Are connected. This embodiment also has first to third current mirror circuits, and the connection thereof is similar to that of the first embodiment, but the current output terminal of each current mirror circuit is the anode terminal of the red light emitting diode D1. It is connected to the transistor Q12 via. Other configurations are similar to those of the first embodiment.

【0020】次に本実施例の動作について説明する。物
体検知時には物体検知信号IN1によってトランジスタ
Q12が導通し、トランジスタQ13を介してトランジ
スタQ1もオンとなる。従って負荷3には負荷電流が流
れ、抵抗R1の両端の電圧が負荷電流IL に応じて変化
する。そしてA/D変換器24によって同様にいずれか
の出力が得られ、これと入力信号との論理積によりゲー
ト回路21〜23を介してトランジスタQ9のみ、トラ
ンジスタQ9とQ10、又はトランジスタQ9〜Q11
の全てが導通する。これによって各カレントミラー回路
から流入する電流が順次変化することとなり、これによ
って赤色の発光ダイオードD1の駆動電流は負荷電流に
対応して段階的に変化するものとなる。尚本実施例は赤
色の発光ダイオードを1つだけ用いているが、赤色及び
緑色の2つの発光ダイオードを用いて同様にして多段階
の表示電流となるように駆動してもよい。
Next, the operation of this embodiment will be described. When an object is detected, the transistor Q12 is turned on by the object detection signal IN1, and the transistor Q1 is also turned on via the transistor Q13. Therefore, a load current flows through the load 3, and the voltage across the resistor R1 changes according to the load current I L. Then, either of the outputs is similarly obtained by the A / D converter 24, and the logical product of this and the input signal causes only the transistor Q9, the transistors Q9 and Q10, or the transistors Q9 to Q11 via the gate circuits 21 to 23.
All become conductive. As a result, the current flowing from each current mirror circuit is sequentially changed, whereby the drive current of the red light emitting diode D1 is changed stepwise corresponding to the load current. Although only one red light emitting diode is used in this embodiment, two red light emitting diodes and green light emitting diodes may be similarly used to drive the display current in multiple stages.

【0021】次に本発明の第3実施例について説明す
る。図5は複数の発光ダイオードを用いて負荷電流に応
じて点灯させるようにしたものである。本実施例におい
て第1,第2と同一部分は同一符号を付して詳細な説明
を省略する。本実施例の表示回路13Cは、複数のカレ
ントミラー回路のトランジスタQ4,Q6,Q8のコレ
クト接地端間に夫々発光ダイオードD2,D3,D4を
接続するようにしたものである。その他の構成は第2実
施例と同様である。本実施例では負荷電流に応じてA/
D変換器24によって順次スイッチング出力がゲート回
路21,22,23に与えられる。そしてそれによって
負荷電流に応じて発光ダイオードD2〜D4を順次点灯
させるようにしている。このため図6(a)に示すよう
に光電スイッチの前面に複数の表示素子D1〜D4を連
続して取付けるようにする。又感度設定用の可変抵抗器
等が取付けられている。
Next, a third embodiment of the present invention will be described. FIG. 5 shows a structure in which a plurality of light emitting diodes are used for lighting in accordance with a load current. In this embodiment, the same parts as the first and second parts are designated by the same reference numerals, and detailed description thereof will be omitted. In the display circuit 13C of this embodiment, the light emitting diodes D2, D3, D4 are connected between the correct ground terminals of the transistors Q4, Q6, Q8 of the plurality of current mirror circuits, respectively. Other configurations are the same as those in the second embodiment. In this embodiment, A /
Switching outputs are sequentially given to the gate circuits 21, 22, and 23 by the D converter 24. Then, the light emitting diodes D2 to D4 are sequentially turned on according to the load current. Therefore, as shown in FIG. 6A, a plurality of display elements D1 to D4 are continuously attached to the front surface of the photoelectric switch. Further, a variable resistor or the like for setting the sensitivity is attached.

【0022】又本実施例はA/D変換器の出力に応じて
夫々複数の発光ダイオードD2〜D4を点灯させるよう
にしているが、A/D変換器24の出力をデコードする
デコード回路と、図6(b)に示すように液晶等の数値
表示器25を有する数値表示回路を用いて、負荷電流に
対応した数値を表示するようにしてもよい。この場合に
は負荷電流の目安を知ることができる。
Further, in the present embodiment, the plurality of light emitting diodes D2 to D4 are respectively turned on according to the output of the A / D converter, but a decoding circuit for decoding the output of the A / D converter 24, As shown in FIG. 6B, a numerical value display circuit having a numerical value display 25 such as a liquid crystal display may be used to display a numerical value corresponding to the load current. In this case, the guideline of the load current can be known.

【0023】図7は上述した各実施例に用いられるA/
D変換器24の一例を示す図である。本図に示すように
電流検出用抵抗R1を複数の抵抗によって分割してR1
a〜R1cとし、R1a,R1bの共通接続端にトラン
ジスタQ14のベースを、R1b,R1cの共通接続端
にトランジスタQ15のベースを接続する。又R1cと
トランジスタQ1のコレクタの共通接続端にトランジス
タQ16のベースを接続する。トランジスタQ14〜1
6はエミッタが接地され、コレクタは抵抗を介して端子
1に接続される。又その出力を並列のデジタル出力とし
て前述したゲート回路21〜23に夫々接続するように
構成する。こうすれば比較的簡単な構成でA/D変換器
24を構成することができる。
FIG. 7 shows the A / A used in each of the above-mentioned embodiments.
It is a figure which shows an example of the D converter 24. As shown in this figure, the current detection resistor R1 is divided by a plurality of resistors to divide it into R1.
a to R1c, the base of the transistor Q14 is connected to the common connection end of R1a and R1b, and the base of the transistor Q15 is connected to the common connection end of R1b and R1c. The base of the transistor Q16 is connected to the common connection end of R1c and the collector of the transistor Q1. Transistors Q14-1
6, the emitter is grounded, and the collector is connected to the terminal 1 via a resistor. Further, the outputs are connected as parallel digital outputs to the above-mentioned gate circuits 21 to 23, respectively. This makes it possible to configure the A / D converter 24 with a relatively simple configuration.

【0024】尚本実施例は拡散反射型の光電スイッチに
ついて説明しているが、本発明は他の種類の光電スイッ
チや近接スイッチ等の種々の電子スイッチに適用できる
ことはいうまでもない。
Although the present embodiment describes the diffuse reflection type photoelectric switch, it goes without saying that the present invention can be applied to various kinds of electronic switches such as other types of photoelectric switches and proximity switches.

【0025】[0025]

【発明の効果】以上詳細に説明したように本願の請求項
1又は2の発明によれば、二線式電子スイッチとして使
用される場合に負荷電流の増加に伴って表示電流を段階
的に変化させることができる。従って負荷電流が大きく
なれば表示回路の表示電流を大きくすることができるた
め、表示を明確にすることができる。又請求項3の発明
では、負荷電流が大きくなったときには複数の発光ダイ
オードを点灯させることによって負荷電流の大きさが一
目で確認できることとなる。更に請求項4の発明では、
負荷電流の大きさを数値表示回路により表示することに
よって負荷電流を正確に認識できることとなる。
As described in detail above, according to the invention of claim 1 or 2 of the present application, when used as a two-wire type electronic switch, the display current is changed stepwise as the load current increases. Can be made. Therefore, since the display current of the display circuit can be increased when the load current is increased, the display can be made clear. According to the third aspect of the invention, when the load current becomes large, the plurality of light emitting diodes are turned on so that the magnitude of the load current can be confirmed at a glance. Further, in the invention of claim 4,
By displaying the magnitude of the load current on the numerical display circuit, the load current can be accurately recognized.

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

【図1】本発明の第1実施例による二線式電子スイッチ
の全体構成を示すブロック図である。
FIG. 1 is a block diagram showing the overall configuration of a two-wire electronic switch according to a first embodiment of the present invention.

【図2】本発明の第2実施例による出力回路及び表示回
路の構成を示す回路図である。
FIG. 2 is a circuit diagram showing configurations of an output circuit and a display circuit according to a second embodiment of the present invention.

【図3】本実施例の負荷電流に対するA/D変換器の出
力及び表示灯電流の変化を示すグラフである。
FIG. 3 is a graph showing changes in the output of the A / D converter and the indicator lamp current with respect to the load current according to the present embodiment.

【図4】本発明の第2実施例による表示回路及び出力回
路の構成を示す回路図である。
FIG. 4 is a circuit diagram showing a configuration of a display circuit and an output circuit according to a second embodiment of the present invention.

【図5】本発明の第3実施例による表示回路及び出力回
路の構成を示す回路図である。
FIG. 5 is a circuit diagram showing configurations of a display circuit and an output circuit according to a third embodiment of the present invention.

【図6】第3実施例の表示部の構成例を示す正面図であ
る。
FIG. 6 is a front view showing a configuration example of a display unit of a third embodiment.

【図7】本発明の第1〜第3実施例に用いられるA/D
変換器の構成の一例を示す回路図である。
FIG. 7 is an A / D used in the first to third embodiments of the present invention.
It is a circuit diagram which shows an example of a structure of a converter.

【図8】電子スイッチと物体との関係及びその表示灯の
出力変化を示す図である。
FIG. 8 is a diagram showing a relationship between an electronic switch and an object and a change in output of the indicator lamp.

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

1,2 端子 3 電源 4 負荷 12 信号処理回路 13,13A,B,13C 表示回路 14,14A,14B 出力回路 21〜23 ゲート回路 24 A/D変換器 1, 2 terminals 3 power supply 4 load 12 signal processing circuit 13, 13A, B, 13C display circuit 14, 14A, 14B output circuit 21-23 gate circuit 24 A / D converter

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 外部の負荷及び電源に直列に接続される
一対の端子と、 前記一対の端子に接続されるセンサ回路と、 前記センサ回路の出力によって前記一対の端子間を開閉
する出力回路と、 前記センサ回路の出力状態を表示する表示回路と、 を具備する二線式電子スイッチにおいて、 前記出力回路は、 物体検知信号によって動作するスイッチング素子とスイ
ッチング素子に直列に接続される電流検出用の抵抗とを
有するものであり、 前記表示回路は、 前記電流検出用抵抗の端子電圧をA/D変換し端子電圧
レベルに応じて順次オンとなる並列信号を出力するA/
D変換器と、 前記物体検知信号によって動作する動作表示用の表示素
子と、 安定動作表示信号が一方の入力端に、他方の入力端には
前記A/D変換器の並列出力が夫々入力された複数のゲ
ート回路と、 前記各ゲート回路の出力に応じて夫々動作する複数のカ
レントミラー回路と、 前記各カレントミラー回路の電流出力端がその一端に共
通接続された安定動作表示用の表示素子と、を有するも
のであることを特徴とする二線式電子スイッチ。
1. A pair of terminals connected in series to an external load and a power source, a sensor circuit connected to the pair of terminals, and an output circuit that opens and closes between the pair of terminals by the output of the sensor circuit. A two-wire electronic switch comprising a display circuit for displaying the output state of the sensor circuit, wherein the output circuit is a switching element operated by an object detection signal and a current detection circuit connected in series to the switching element. The display circuit A / D converts the terminal voltage of the current detection resistor and outputs a parallel signal that is sequentially turned on according to the terminal voltage level.
A D converter, a display element for operation display that operates according to the object detection signal, and a stable operation display signal are input to one input terminal and the parallel output of the A / D converter to the other input terminal, respectively. A plurality of gate circuits, a plurality of current mirror circuits that respectively operate according to the outputs of the respective gate circuits, and a display element for stable operation display in which the current output terminals of the respective current mirror circuits are commonly connected to one end thereof And a two-wire electronic switch.
【請求項2】 外部の負荷及び電源に直列に接続される
一対の端子と、 前記一対の端子に接続されるセンサ回路と、 前記センサ回路の出力によって前記一対の端子間を開閉
する出力回路と、 前記センサ回路の出力状態を表示する表示回路と、 を具備する二線式電子スイッチにおいて、 前記出力回路は、 物体検知信号によって動作するスイッチング素子とスイ
ッチング素子に直列に接続される電流検出用の抵抗とを
有するものであり、 前記表示回路は、 前記電流検出用抵抗の端子電圧をA/D変換し端子電圧
レベルに応じて順次オンとなる並列信号を出力するA/
D変換器と、 物体検知信号が一方の入力端に、他方の入力端には前記
A/D変換器の並列出力が夫々入力された複数のゲート
回路と、 前記各ゲート回路の出力に応じて夫々動作する複数のカ
レントミラー回路と、 前記各カレントミラー回路の電流出力端がその一端に共
通接続された動作表示用の表示素子と、を有するもので
あることを特徴とする二線式電子スイッチ。
2. A pair of terminals connected in series to an external load and a power supply, a sensor circuit connected to the pair of terminals, and an output circuit that opens and closes between the pair of terminals by the output of the sensor circuit. A two-wire electronic switch comprising a display circuit for displaying the output state of the sensor circuit, wherein the output circuit is a switching element operated by an object detection signal and a current detection circuit connected in series to the switching element. The display circuit A / D converts the terminal voltage of the current detection resistor and outputs a parallel signal that is sequentially turned on according to the terminal voltage level.
A D converter, a plurality of gate circuits to which an object detection signal is input to one input terminal and a parallel output of the A / D converter is input to the other input terminal, respectively. A two-wire electronic switch having a plurality of current mirror circuits that operate respectively, and a display element for operation display in which a current output terminal of each current mirror circuit is commonly connected to one end thereof. .
【請求項3】 外部の負荷及び電源に直列に接続される
一対の端子と、 前記一対の端子に接続されるセンサ回路と、 前記センサ回路の出力によって前記一対の端子間を開閉
する出力回路と、 前記センサ回路の出力状態を表示する表示回路と、 を具備する二線式電子スイッチにおいて、 前記出力回路は、 物体検知信号によって動作するスイッチング素子とスイ
ッチング素子に直列に接続される電流検出用の抵抗とを
有するものであり、 前記表示回路は、 前記電流検出用抵抗の端子電圧をA/D変換し端子電圧
レベルに応じて順次オンとなる並列信号を出力するA/
D変換器と、 動作表示信号が一方の入力端に、他方の入力端には前記
A/D変換器の並列出力が夫々入力された複数のゲート
回路と、 前記各ゲート回路の出力に応じて夫々動作する複数の動
作表示素子と、を有するものであることを特徴とする二
線式電子スイッチ。
3. A pair of terminals connected in series to an external load and a power source, a sensor circuit connected to the pair of terminals, and an output circuit for opening and closing the pair of terminals by the output of the sensor circuit. A two-wire electronic switch comprising a display circuit for displaying the output state of the sensor circuit, wherein the output circuit is a switching element operated by an object detection signal and a current detection circuit connected in series to the switching element. The display circuit A / D converts the terminal voltage of the current detection resistor and outputs a parallel signal that is sequentially turned on according to the terminal voltage level.
A D converter, a plurality of gate circuits to which an operation display signal is input to one input terminal, and a parallel output of the A / D converter is input to the other input terminal, respectively. A two-wire electronic switch, comprising: a plurality of operation display elements each operating.
【請求項4】 外部の負荷及び電源に直列に接続される
一対の端子と、 前記一対の端子に接続されるセンサ回路と、 前記センサ回路の出力によって前記一対の端子間を開閉
する出力回路と、 前記センサ回路の出力状態を表示する表示回路と、 を具備する二線式電子スイッチにおいて、 前記出力回路は、 物体検知信号によって動作するスイッチング素子とスイ
ッチング素子に直列に接続される電流検出用の抵抗とを
有するものであり、 前記表示回路は、 前記電流検出用抵抗の端子電圧をA/D変換し端子電圧
レベルに応じて順次オンとなる並列信号を出力するA/
D変換器と、 前記A/D変換器の出力をデコードし表示する数値表示
回路と、を有するものであることを特徴とする二線式電
子スイッチ。
4. A pair of terminals connected in series to an external load and a power source, a sensor circuit connected to the pair of terminals, and an output circuit that opens and closes between the pair of terminals by the output of the sensor circuit. A two-wire electronic switch comprising a display circuit for displaying the output state of the sensor circuit, wherein the output circuit is a switching element operated by an object detection signal and a current detection circuit connected in series to the switching element. The display circuit A / D converts the terminal voltage of the current detection resistor and outputs a parallel signal that is sequentially turned on according to the terminal voltage level.
A two-wire electronic switch having a D converter and a numerical display circuit for decoding and displaying an output of the A / D converter.
JP33366692A 1992-11-18 1992-11-18 Two-wire type electronic switch Pending JPH06164357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33366692A JPH06164357A (en) 1992-11-18 1992-11-18 Two-wire type electronic switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33366692A JPH06164357A (en) 1992-11-18 1992-11-18 Two-wire type electronic switch

Publications (1)

Publication Number Publication Date
JPH06164357A true JPH06164357A (en) 1994-06-10

Family

ID=18268614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33366692A Pending JPH06164357A (en) 1992-11-18 1992-11-18 Two-wire type electronic switch

Country Status (1)

Country Link
JP (1) JPH06164357A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011232252A (en) * 2010-04-28 2011-11-17 Koyo Electronics Ind Co Ltd Dc two-line proximity sensor having operation display lamp

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011232252A (en) * 2010-04-28 2011-11-17 Koyo Electronics Ind Co Ltd Dc two-line proximity sensor having operation display lamp

Similar Documents

Publication Publication Date Title
JP3727981B2 (en) Stepping motor drive circuit
US5467009A (en) Voltage regulator with multiple fixed plus user-selected outputs
JPH026085B2 (en)
US5378931A (en) Low leakage fuse blown detection circuit
EP0468642B1 (en) Detection switch circuit
JPH06164357A (en) Two-wire type electronic switch
WO1985003795A1 (en) Data display apparatus
JPH09244570A (en) Light emitting diode(led) display driving device
JPH05227002A (en) Two-wire electronic switch
JP2549898Y2 (en) Two-wire sensor switch
JPS6241341Y2 (en)
JP2745637B2 (en) DC 2-wire sensor
JP2567502B2 (en) Detection switch circuit
JPS6146526Y2 (en)
JP2557137Y2 (en) DC 2-wire photoelectric switch
JPS63136820A (en) Two-wire system contactless switch
JP2685858B2 (en) Common cathode multi-color LED drive circuit
KR900008495Y1 (en) Subscriberis line circuit
JPH0318966Y2 (en)
JPH0418085Y2 (en)
JPH0248819A (en) Input device for control instrument
JPH0422047B2 (en)
JPH066200A (en) Two-wire type electronic switch
JP2648039B2 (en) Voltage margin test circuit
JPH085516Y2 (en) Display circuit