JP3108150B2 - Photoelectric switch - Google Patents

Photoelectric switch

Info

Publication number
JP3108150B2
JP3108150B2 JP03244593A JP24459391A JP3108150B2 JP 3108150 B2 JP3108150 B2 JP 3108150B2 JP 03244593 A JP03244593 A JP 03244593A JP 24459391 A JP24459391 A JP 24459391A JP 3108150 B2 JP3108150 B2 JP 3108150B2
Authority
JP
Japan
Prior art keywords
light emitting
emitting diode
current
photoelectric switch
diode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP03244593A
Other languages
Japanese (ja)
Other versions
JPH0563536A (en
Inventor
健司 松尾
Original Assignee
サンクス株式会社
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 サンクス株式会社 filed Critical サンクス株式会社
Priority to JP03244593A priority Critical patent/JP3108150B2/en
Publication of JPH0563536A publication Critical patent/JPH0563536A/en
Application granted granted Critical
Publication of JP3108150B2 publication Critical patent/JP3108150B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Switches Operated By Changes In Physical Conditions (AREA)
  • Electronic Switches (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、投光用発光ダイオード
を光電スイッチ本体にリード線を介して接続する光電ス
イッチに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a photoelectric switch for connecting a light emitting light emitting diode to a photoelectric switch body via a lead wire.

【0002】[0002]

【従来の技術】この種の光電スイッチ、いわゆるアンプ
分離形光電スイッチにおいては、例えば3種類の投光用
発光ダイオードを備え、これら3種類の投光用発光ダイ
オードを光電スイッチ本体に付け替え可能に構成してい
る。3種類の投光用発光ダイオードとしては、例えば赤
外、赤色及び緑色発光ダイオードが使用されており、検
出用途に応じて適宜選択されて用いられている。
2. Description of the Related Art A photoelectric switch of this type, which is a so-called amplifier-separated type photoelectric switch, is provided with, for example, three types of light emitting diodes for light emission, and these three types of light emitting diodes for light emission can be replaced with a photoelectric switch body. doing. As the three types of light emitting light emitting diodes, for example, infrared, red, and green light emitting diodes are used, and are appropriately selected and used according to the detection application.

【0003】[0003]

【発明が解決しようとする課題】投光用発光ダイオード
は、最適な駆動電流の大きさが種類によって異なる。具
体的には、緑色発光ダイオードの駆動電流が最も小さ
く、赤外発光ダイオードの駆動電流が最も大きい。これ
に対して、上記従来構成では、光電スイッチ本体に接続
される投光用発光ダイオードの種類に関係なく、駆動電
流の大きさを一定にしていた。この場合、駆動電流の大
きさを、緑色発光ダイオードに最適な電流値である最小
電流値例えば50mAに設定していた。
The light-emitting diodes for light projection have different optimum driving currents depending on the types. Specifically, the driving current of the green light emitting diode is the smallest, and the driving current of the infrared light emitting diode is the largest. On the other hand, in the above-described conventional configuration, the magnitude of the driving current is constant regardless of the type of the light emitting light emitting diode connected to the photoelectric switch body. In this case, the magnitude of the driving current is set to a minimum current value, for example, 50 mA, which is an optimal current value for the green light emitting diode.

【0004】しかし、上記構成において、赤外及び赤色
発光ダイオードを光電スイッチ本体に接続したときに
は、駆動電流の大きさが最適な電流値に比べて小さいの
で、発光ダイオードの発光量が少なくなり、赤外及び赤
色発光ダイオードの発光性能を十分に発揮させることが
できないという欠点がある。即ち、赤外及び赤色発光ダ
イオードを用いることにより、被検出体と発光ダイオー
ドとの間の距離つまり検出距離を長く設定したいとき
に、検出距離が短くなってしまう。
However, in the above configuration, when the infrared and red light emitting diodes are connected to the photoelectric switch main body, the driving current is smaller than the optimum current value, so that the light emitting amount of the light emitting diodes is reduced, and There is a disadvantage that the light emitting performance of the outside and red light emitting diodes cannot be sufficiently exhibited. That is, by using the infrared and red light-emitting diodes, the detection distance becomes short when it is desired to set the distance between the object to be detected and the light-emitting diode, that is, the detection distance long.

【0005】そこで、本発明の目的は、複数種類の投光
用発光ダイオードを光電スイッチ本体に付け替える構成
のものでありながら、装着した投光用発光ダイオードの
性能を十分に発揮させることができる光電スイッチを提
供するにある。
Accordingly, an object of the present invention is to provide a photoelectric switch having a structure in which a plurality of types of light emitting light emitting diodes are replaced with a photoelectric switch body, and which can sufficiently exhibit the performance of the mounted light emitting light emitting diodes. To provide the switch.

【0006】[0006]

【課題を解決するための手段】本発明の光電スイッチ
は、投光用発光ダイオードを光電スイッチ本体にリード
線を介して接続するものであって、前記投光用発光ダイ
オードを複数種類備え、これら複数種類の投光用発光ダ
イオードを前記光電スイッチ本体に付け替え可能に構成
して成る光電スイッチにおいて、前記光電スイッチ本体
に接続された投光用発光ダイオードの順方向電圧を検出
して前記投光用発光ダイオードの種類を判別するダイオ
ード判別手段を備えると共に、このダイオード判別手段
からの判別信号に基づいて前記投光用発光ダイオードへ
通電する駆動電流の大きさを設定する電流設定手段を備
えたところに特徴を有する。
The photoelectric switch of the present invention connects a light emitting light emitting diode to a photoelectric switch body via a lead wire, and includes a plurality of types of the light emitting light emitting diodes. In a photoelectric switch, wherein a plurality of types of light emitting diodes for light emission can be attached to the photoelectric switch main body, a forward voltage of the light emitting light emitting diode connected to the photoelectric switch main body is detected to detect the forward direction. A diode discriminating means for discriminating the type of the light emitting diode is provided, and a current setting means for setting a magnitude of a driving current to be supplied to the light emitting light emitting diode based on a discrimination signal from the diode discriminating means is provided. Has features.

【0007】[0007]

【作用】発光ダイオードには、一定値の電流を通電する
と、発光ダイオードの種類に応じてその順方向電圧が異
なるという特性がある。従って、発光ダイオードの順方
向電圧を測定すれば、発光ダイオードの種類を判別する
ことができる。本発明は、この点に着目してなされたも
のである。
The light emitting diode has a characteristic that, when a constant current is applied, the forward voltage differs depending on the type of the light emitting diode. Therefore, the type of the light emitting diode can be determined by measuring the forward voltage of the light emitting diode. The present invention has been made focusing on this point.

【0008】即ち、上記手段によれば、光電スイッチ本
体に接続された投光用発光ダイオードの順方向電圧を検
出することにより、投光用発光ダイオードの種類が判別
される。そして、この判別結果に基づいて、投光用発光
ダイオードへ通電する駆動電流の大きさを設定するので
あるから、装着した投光用発光ダイオードに対して最適
な電流値の駆動電流を流すことができ、その投光用発光
ダイオードの性能を十分に発揮させることが可能にな
る。
That is, according to the above means, the type of the light emitting light emitting diode is determined by detecting the forward voltage of the light emitting light emitting diode connected to the photoelectric switch body. Then, based on the result of the determination, the magnitude of the drive current to be supplied to the light emitting light emitting diode is set, so that a drive current having an optimum current value can be supplied to the mounted light emitting light emitting diode. The performance of the light emitting light emitting diode can be sufficiently exhibited.

【0009】[0009]

【実施例】以下、本発明を反射形光電スイッチに適用し
た第1の実施例につき図1ないし図4を参照しながら説
明する。まず、図2において、光電スイッチ本体1は、
ケース2内に電子部品を実装したプリント配線基板(図
示しない)を配設して構成されている。ケース2の前面
部には、リード線3を接続するための接続部4が設けら
れている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment in which the present invention is applied to a reflection type photoelectric switch will be described below with reference to FIGS. First, in FIG. 2, the photoelectric switch body 1 is
A printed circuit board (not shown) on which electronic components are mounted is provided in the case 2. A connection portion 4 for connecting the lead wire 3 is provided on the front surface of the case 2.

【0010】一方、検出ユニット5は、検出部6及びこ
の検出部6から導出されたリード線3から構成されてい
る。検出部6内には、投光用発光ダイオード7及び受光
素子である例えば受光用フォトダイオード8が上下に配
設されている。検出ユニット5は、投光用発光ダイオー
ド7の種類に応じて複数のタイプのものが備えられてい
る。具体的には、3種類の投光用発光ダイオード7とし
て例えば赤外、赤色及び緑色発光ダイオードがあり、こ
れら各投光用発光ダイオード7に対応して、3種類の検
出ユニット5がある。この場合、3種類の検出ユニット
5の各受光用フォトダイオード8は、3種類の投光用発
光ダイオード7から発光される各光にそれぞれ対応する
ものである。
On the other hand, the detection unit 5 includes a detection unit 6 and a lead wire 3 derived from the detection unit 6. A light emitting diode 7 for light projection and a light receiving element, for example, a photodiode 8 for light reception, which are light receiving elements, are vertically arranged in the detecting section 6. The detection unit 5 includes a plurality of types according to the type of the light emitting light emitting diode 7. Specifically, there are, for example, infrared, red, and green light emitting diodes as the three types of light emitting light emitting diodes 7, and three types of detection units 5 corresponding to the respective light emitting light emitting diodes 7. In this case, the light receiving photodiodes 8 of the three types of detection units 5 correspond to the lights emitted from the three types of light emitting light emitting diodes 7, respectively.

【0011】上記検出ユニット5は、リード線3を接続
部4に挿入して接続することにより、光電スイッチ本体
1に装着されるようになっている。そして、リード線3
を接続部4から取り外すことにより、検出ユニット5を
光電スイッチ本体1から取り外し可能になっている。こ
れにより、3種類の検出ユニット5は、光電スイッチ本
体1に付替え可能に構成されている。
The detection unit 5 is mounted on the photoelectric switch body 1 by inserting and connecting the lead wire 3 to the connection portion 4. And lead wire 3
Is removed from the connection section 4, the detection unit 5 can be removed from the photoelectric switch body 1. Thus, the three types of detection units 5 are configured to be replaceable with the photoelectric switch body 1.

【0012】即ち、3種類の投光用発光ダイオード7が
光電スイッチ本体1に付替え可能になっている。上記3
種類の投光用発光ダイオード7の付け替えは、検出用途
に応じて適宜選択するものである。尚、リード線3を接
続部4に接続するに際しては、周知の構成により、リー
ド線3を適当な長さで自由に切断してワンタッチで接続
することが可能に構成されている。
That is, the three types of light emitting diodes 7 can be replaced with the photoelectric switch body 1. 3 above
The type of light emitting diode 7 to be replaced is appropriately selected according to the purpose of detection. When the lead wire 3 is connected to the connection part 4, the lead wire 3 can be freely cut at an appropriate length and connected by one touch by a known configuration.

【0013】さて、電気的構成を示す図3において、光
電スイッチ本体1の検出ユニット5への接続側には、4
個の端子9,10,11,12が設けられており、これ
ら4個の端子9,10,11,12と検出ユニット5側
に設けられた4個の端子13,14,15,16とがそ
れぞれ接続線17,18,19,20を介して接続され
ている。これら4本の接続線17,18,19,20
は、上記したリード線3内に配設されている。
In FIG. 3 showing the electrical configuration, the connection side of the photoelectric switch body 1 to the detection unit 5
And four terminals 9, 10, 11, 12 and four terminals 13, 14, 15, 16 provided on the detection unit 5 side. They are connected via connection lines 17, 18, 19 and 20, respectively. These four connection lines 17, 18, 19, 20
Are arranged in the above-mentioned lead wire 3.

【0014】検出ユニット5側において、端子13と端
子14との間に受光用フォトダイオード8が接続されて
いると共に、端子15と端子16との間に投光用発光ダ
イオード7が接続されている。
On the detection unit 5 side, the light-receiving photodiode 8 is connected between the terminals 13 and 14, and the light-emitting light-emitting diode 7 is connected between the terminals 15 and 16. .

【0015】また、光電スイッチ本体1側において、端
子9は直流電源端子+Vに接続されており、端子10は
増幅回路21を介して制御回路22へ接続されている。
制御回路22は、いわゆるワンチップ形のマイクロコン
ピュータにより構成されており、光電スイッチの一般的
な制御を行うための制御プログラムを記憶している。こ
の制御回路22は、上記光電スイッチの一般的な制御機
能の他にダイオード判別手段及び電流設定手段の各機能
を有している。
On the photoelectric switch body 1 side, the terminal 9 is connected to the DC power supply terminal + V, and the terminal 10 is connected to the control circuit 22 via the amplifier circuit 21.
The control circuit 22 is constituted by a so-called one-chip microcomputer, and stores a control program for performing general control of the photoelectric switch. The control circuit 22 has functions of a diode determining unit and a current setting unit in addition to the general control function of the photoelectric switch.

【0016】また、端子11は、制御回路22へ接続さ
れていると共に、切替スイッチ回路23の共通接点o側
の端子へ接続されている。上記切替スイッチ回路23
は、制御回路22によって切替制御されるようになって
いる。尚、端子12は、アースされている。
The terminal 11 is connected to the control circuit 22 and to the terminal on the common contact o side of the changeover switch circuit 23. The changeover switch circuit 23
Are controlled to be switched by the control circuit 22. The terminal 12 is grounded.

【0017】上記切替スイッチ回路23の接点a側の端
子と直流電源端子+Vとの間に、順方向電圧を検出する
ための一定値の電流例えば20mAの電流を供給する定
電流源回路24が接続されている。そして、切替スイッ
チ回路23の接点b側の端子と直流電源端子+Vとの間
に赤外発光ダイオードを駆動するための電流例えば20
0mAの電流を供給する電流源回路25が接続され、接
点c側の端子と直流電源端子+Vとの間に赤色発光ダイ
オードを駆動するための電流例えば100mAの電流を
供給する電流源回路26が接続され、接点d側の端子と
直流電源端子+Vとの間に緑色発光ダイオードを駆動す
るための電流例えば50mAの電流を供給する電流源回
路27が接続されている。
A constant current source circuit 24 for supplying a constant value current for detecting a forward voltage, for example, a current of 20 mA, is connected between the terminal on the contact a side of the switch circuit 23 and the DC power supply terminal + V. Have been. A current for driving the infrared light emitting diode between the terminal on the contact b side of the changeover switch circuit 23 and the DC power supply terminal + V, for example, 20
A current source circuit 25 for supplying a current of 0 mA is connected, and a current source circuit 26 for supplying a current for driving the red light emitting diode, for example, a current of 100 mA, is connected between the terminal on the contact c side and the DC power supply terminal + V. A current source circuit 27 for supplying a current for driving the green light emitting diode, for example, a current of 50 mA, is connected between the terminal on the contact d side and the DC power supply terminal + V.

【0018】上記各電流源回路25,26,27は、投
光用発振器28からパルス信号を受けて予め設定された
周期で駆動されるようになっている。この投光用発振器
28は、投光用発光ダイオード7をパルス点灯するため
のものである。投光用発振器28からのパルス信号は、
制御回路22へも与えられるようになっている。
Each of the current source circuits 25, 26 and 27 receives a pulse signal from the light emitting oscillator 28 and is driven at a preset cycle. The light emitting oscillator 28 is for pulsingly lighting the light emitting light emitting diode 7. The pulse signal from the light emitting oscillator 28 is
It is also provided to the control circuit 22.

【0019】ここで、上記した切替スイッチ回路23、
定電流源回路24、電流源回路25,26,27の具体
的な回路構成を図4に示す。この図4において、切替ス
イッチ回路23は、4個のスイッチングトランジスタ2
9,30,31,32から構成されている。この場合、
スイッチングトランジスタ29により図3に示す接点
(o−a)間がオンオフされ、スイッチングトランジス
タ30により接点(o−b)間がオンオフされ、スイッ
チングトランジスタ31により接点(o−c)間がオン
オフされ、スイッチングトランジスタ32により接点
(o−d)間がオンオフされるように構成されている。
Here, the above-described changeover switch circuit 23,
FIG. 4 shows a specific circuit configuration of the constant current source circuit 24 and the current source circuits 25, 26, and 27. In FIG. 4, the changeover switch circuit 23 includes four switching transistors 2
9, 30, 31, and 32. in this case,
3 is turned on / off by a switching transistor 29, the contact (ob) is turned on / off by a switching transistor 30, the contact (oc) is turned on / off by a switching transistor 31, and switching is performed. The transistor 32 is configured to be turned on and off between contacts (od).

【0020】また、図4に示すように、定電流源回路2
4は、FET33と抵抗34から構成されている。電流
源回路25は抵抗35とスイッチングトランジスタ36
とから構成され、電流源回路26は抵抗37とスイッチ
ングトランジスタ38とから構成され、電流源回路27
は抵抗39とスイッチングトランジスタ40とから構成
されている。この場合、各スイッチングトランジスタ3
6,38,40は、ベースに投光用発振器28からのパ
ルス信号を受けてオンオフ駆動されるようになってい
る。
Further, as shown in FIG.
4 comprises an FET 33 and a resistor 34. The current source circuit 25 includes a resistor 35 and a switching transistor 36.
The current source circuit 26 includes a resistor 37 and a switching transistor 38, and the current source circuit 27
Is composed of a resistor 39 and a switching transistor 40. In this case, each switching transistor 3
Each of the bases 6, 38, and 40 is driven on and off by receiving a pulse signal from the light emitting oscillator 28 at its base.

【0021】尚、図3に示すように、光電スイッチ本体
1の外部機器(図示しない)への接続側には、3個の端
子41,42,43が設けられている。これら3個の端
子41,42,43は、図2に示すリード線44内に配
設された3本の接続線を介して外部機器へ接続されてい
る。上記端子41は直流電源端子+Vへ接続され、端子
42と端子43との間に出力用のトランジスタである例
えばNPN形のトランジスタ45が設けられている。こ
のトランジスタ45のエミッタ及び端子43がアースへ
接続されている。上記トランジスタ45のベースが制御
回路22へ接続されており、トランジスタ45は制御回
路22によりオンオフ制御される。
As shown in FIG. 3, three terminals 41, 42, and 43 are provided on the connection side of the photoelectric switch body 1 to an external device (not shown). These three terminals 41, 42, and 43 are connected to an external device via three connection wires provided in a lead wire 44 shown in FIG. The terminal 41 is connected to a DC power supply terminal + V, and an output transistor, for example, an NPN transistor 45 is provided between the terminal 42 and the terminal 43. The emitter and terminal 43 of this transistor 45 are connected to ground. The base of the transistor 45 is connected to the control circuit 22, and the transistor 45 is turned on and off by the control circuit 22.

【0022】この場合、トランジスタ45は、投光用発
光ダイオード7から発光された光が被検出体で反射し
て、その反射光が受光用フォトダイオード8へ受光され
たとき、つまり、被検出体が検出されたときオンされ
る。そして、トランジスタ45は、受光用フォトダイオ
ード8が受光動作していないとき、つまり、被検出体が
検出されていないときオフされるようになっている。
In this case, when the light emitted from the light emitting light emitting diode 7 is reflected by the object to be detected and the reflected light is received by the light receiving photodiode 8, the transistor 45 Is turned on when is detected. The transistor 45 is turned off when the light receiving photodiode 8 is not performing the light receiving operation, that is, when the object to be detected is not detected.

【0023】次に、上記構成の作用を図1も参照して説
明する。図1に示すフローチャートには、制御回路22
の制御プログラムの制御内容が概略的に示されており、
特には、投光用発光ダイオード7の種類を判別して、投
光用発光ダイオード7に流す駆動電流の大きさを設定す
る部分の制御内容が示されている。以下、図1に従って
述べる。
Next, the operation of the above configuration will be described with reference to FIG. In the flowchart shown in FIG.
The control contents of the control program are schematically shown,
In particular, the control contents of a part that determines the type of the light emitting light emitting diode 7 and sets the magnitude of the drive current flowing through the light emitting light emitting diode 7 are shown. Hereinafter, description will be given with reference to FIG.

【0024】光電スイッチ本体1に検出ユニット5を装
着した状態で電源が投入されると、まず、装着された検
出ユニット5の投光用発光ダイオード7の種類を判別す
る処理が行われる。具体的には、切替スイッチ回路23
の接点(o−a)間がオンされて、投光用発光ダイオー
ド7に20mAの電流が通電される(ステップS1)。
この通電により生じた投光用発光ダイオード7の順方向
電圧VFが制御回路22へ与えられて、この順方向電圧
VF に基づいて投光用発光ダイオードの種類が判別され
る(ステップS2,S3)。
When the power is turned on while the detection unit 5 is mounted on the photoelectric switch body 1, first, a process of determining the type of the light emitting light emitting diode 7 of the mounted detection unit 5 is performed. Specifically, the changeover switch circuit 23
Are turned on, and a current of 20 mA is applied to the light emitting light emitting diode 7 (step S1).
The forward voltage VF of the light emitting light emitting diode 7 generated by the energization is supplied to the control circuit 22, and the type of the light emitting light emitting diode is determined based on the forward voltage VF (steps S2 and S3). .

【0025】ここで、赤外発光ダイオードに20mAの
電流を通電すると、その順方向電圧VF は例えば1.3
〜1.5Vであり、赤色発光ダイオードに20mAの電
流を通電すると、その順方向電圧VF は例えば1.7〜
1.9Vであり、緑色発光ダイオードに20mAの電流
を通電すると、その順方向電圧VF は例えば2.1〜
2.3Vである。このため、投光用発光ダイオード7の
種類を判別するための順方向電圧VF のしきい値とし
て、二つのしきい値VTH1 及びVTH2 を用意し、一方の
しきい値VTH11.6Vに設定し、他方のしきい値VTH2
を2.0Vに設定している。
Here, when a current of 20 mA is applied to the infrared light emitting diode, its forward voltage VF becomes, for example, 1.3.
When a current of 20 mA flows through the red light-emitting diode, the forward voltage VF becomes 1.7 to 1.5 V, for example.
1.9 V, and when a current of 20 mA flows through the green light emitting diode, the forward voltage VF becomes, for example, 2.1 to 2.1.
2.3V. For this reason, two threshold values VTH1 and VTH2 are prepared as threshold values of the forward voltage VF for determining the type of the light emitting light emitting diode 7, and one threshold value VTH1 is set to 1.6V. The other threshold VTH2
Is set to 2.0V.

【0026】そして、投光用発光ダイオード7の順方向
電圧VF がしきい値VTH1 以下であるとき、赤外発光ダ
イオードであると判断し、切替スイッチ回路23の接点
(o−b)間をオンして、投光用発光ダイオード7に2
00mAの電流を通電するようにする(ステップS
4)。また、投光用発光ダイオード7の順方向電圧VF
がしきい値VTH2 以下であって且つしきい値VTH1 より
も大きいとき、赤色発光ダイオードであると判断し、切
替スイッチ回路23の接点(o−c)間をオンして、投
光用発光ダイオード7に100mAの電流を通電するよ
うにする(ステップS5)。
When the forward voltage VF of the light emitting light emitting diode 7 is equal to or less than the threshold value VTH1, it is determined that the light emitting diode 7 is an infrared light emitting diode, and the contact (ob) of the changeover switch circuit 23 is turned on. To the light emitting light emitting diode 7
A current of 00 mA is supplied (step S
4). Also, the forward voltage VF of the light emitting light emitting diode 7
Is less than or equal to the threshold value VTH2 and greater than the threshold value VTH1, it is determined that the light emitting diode is a red light emitting diode, and the contacts (oc) of the changeover switch circuit 23 are turned on to turn on the light emitting light emitting diode. Then, a current of 100 mA is applied to 7 (step S5).

【0027】また、投光用発光ダイオード7の順方向電
圧VF がしきい値VTH2 よりも大きいとき、緑色発光ダ
イオードであると判断し、切替スイッチ回路23の接点
(o−d)間をオンして、投光用発光ダイオード7に5
0mAの電流を通電するようにする(ステップS6)。
When the forward voltage VF of the light emitting light emitting diode 7 is larger than the threshold value VTH2, it is determined that the light emitting diode 7 is a green light emitting diode, and the contacts (od) of the changeover switch circuit 23 are turned on. And 5 for the light emitting light emitting diode 7
A current of 0 mA is applied (step S6).

【0028】そして、検出部6により被検出体が検出さ
れると、投光用発光ダイオード7から発光された光が被
検出体で反射して、その反射光が受光用ダイオード8へ
受光されるようになる。受光用フォトダイオード8が受
光すると、ステップS7にて「YES」へ進み、受光信
号が制御回路22へ与えられ、該制御回路22によりト
ランジスタ45がオンされる(ステップS9)。一方、
検出部6により被検出体が検出されていないときは、受
光用フォトダイオード8が受光しないから、ステップS
7にて「NO」へ進み、制御回路22によりトランジス
タ45がオフされる。
When the object to be detected is detected by the detecting section 6, the light emitted from the light emitting light emitting diode 7 is reflected by the object to be detected, and the reflected light is received by the light receiving diode 8. Become like When the light receiving photodiode 8 receives light, the process proceeds to "YES" in step S7, a light receiving signal is supplied to the control circuit 22, and the control circuit 22 turns on the transistor 45 (step S9). on the other hand,
If the detection target is not detected by the detection unit 6, the light receiving photodiode 8 does not receive light.
The process proceeds to "NO" at 7, and the control circuit 22 turns off the transistor 45.

【0029】このような構成の本実施例によれば、光電
スイッチ本体1に接続した投光用発光ダイオード7の順
方向電圧VF を検出することにより、投光用発光ダイオ
ード7の種類を判別し、この判別結果に基づいて、投光
用発光ダイオード7へ通電する駆動電流の大きさを設定
するように構成したので、接続した投光用発光ダイオー
ド7に対して最適な大きさの駆動電流を流すことがで
き、その投光用発光ダイオード7の性能を十分に発揮さ
せることができる。従って、赤外及び赤色発光ダイオー
ドからなる投光用発光ダイオード7を用いたときには、
従来構成とは異なり、被検出体と投光用発光ダイオード
7との間の距離つまり検出距離を長く設定することが可
能になる。
According to this embodiment having such a configuration, the type of the light emitting light emitting diode 7 is determined by detecting the forward voltage VF of the light emitting light emitting diode 7 connected to the photoelectric switch body 1. Since the magnitude of the driving current to be supplied to the light emitting light emitting diode 7 is set based on the determination result, the driving current having the optimum magnitude for the connected light emitting light emitting diode 7 is set. Thus, the performance of the light emitting light emitting diode 7 can be sufficiently exhibited. Therefore, when the light emitting light emitting diode 7 including the infrared and red light emitting diodes is used,
Unlike the conventional configuration, the distance between the detection target and the light emitting light emitting diode 7, that is, the detection distance can be set to be long.

【0030】図5は本発明の第2の実施例を示すもの
で、第1の実施例と異なるところを説明する。図5にお
いて、アナログスイッチ46は、スイッチングトランジ
スタ29に代わるスイッチング素子であり、制御回路2
2によりオンオフ制御される。このアナログスイッチ4
6によって、投光用発光ダイオード7への定電流源回路
24からの電流の通断電が制御されるようになってい
る。
FIG. 5 shows a second embodiment of the present invention, and the differences from the first embodiment will be described. In FIG. 5, an analog switch 46 is a switching element in place of the switching transistor 29, and the control circuit 2
2 is turned on / off. This analog switch 4
6 controls the power cutoff of the current from the constant current source circuit 24 to the light emitting light emitting diode 7.

【0031】また、電流源回路47は、3個の電流源回
路25,26,27及び3個のスイッチングトランジス
タ30,31,32に代わるもので、抵抗48,49,
50とスイッチングトランジスタ51とから成る直列回
路、直流電源端子+Vと抵抗48との間に接続されたア
ナログスイッチ52、直流電源端子+Vと抵抗48,4
9の共通接続点との間に接続されたアナログスイッチ5
3、直流電源端子+Vと抵抗49,50の共通接続点と
の間に接続されたアナログスイッチ54から構成されて
いる。各アナログスイッチ52,53,54は、制御回
路22によりオンオフ制御される。スイッチングトラン
ジスタ51は、ベースに投光用発振器28からのパルス
信号を受けてオンオフ駆動される。
The current source circuit 47 replaces the three current source circuits 25, 26, 27 and the three switching transistors 30, 31, 32, and includes resistors 48, 49,
A serial circuit comprising a switching transistor 51 and an analog switch 52 connected between the DC power supply terminal + V and the resistor 48; a DC power supply terminal + V and the resistors 48 and 4;
Analog switch 5 connected between the common connection points 9
3. The analog switch 54 is connected between the DC power supply terminal + V and the common connection point of the resistors 49 and 50. Each of the analog switches 52, 53, and 54 is controlled on and off by the control circuit 22. The switching transistor 51 is turned on and off by receiving a pulse signal from the light emitting oscillator 28 at its base.

【0032】上記電流源回路47は、アナログスイッチ
52がオフされ、且つアナログスイッチ53がオフさ
れ、且つアナログスイッチ54がオンされたとき、赤外
発光ダイオードを駆動するための電流例えば200mA
の電流を供給する電流源回路となる。また、電流源回路
47は、アナログスイッチ52がオフされ、且つアナロ
グスイッチ53がオンされ、且つアナログスイッチ54
がオフされたとき、赤色発光ダイオードを駆動するため
の電流例えば100mAの電流を供給する電流源回路と
なる。
When the analog switch 52 is turned off, the analog switch 53 is turned off, and the analog switch 54 is turned on, the current source circuit 47 supplies a current for driving the infrared light emitting diode, for example, 200 mA.
Current source circuit that supplies the current of In addition, the current source circuit 47 has the analog switch 52 turned off, the analog switch 53 turned on, and the analog switch 54
Is turned off, the current source circuit supplies a current for driving the red light emitting diode, for example, a current of 100 mA.

【0033】更に、電流源回路47は、アナログスイッ
チ52がオンされ、且つアナログスイッチ53がオフさ
れ、且つアナログスイッチ54がオフされたとき、緑色
発光ダイオードを駆動するための電流例えば50mAの
電流を供給する電流源回路となるように構成されてい
る。従って、この第2の実施例においても、第1の実施
例とほぼ同様な作用効果を得ることができる。
Further, when the analog switch 52 is turned on, the analog switch 53 is turned off, and the analog switch 54 is turned off, the current source circuit 47 supplies a current for driving the green light emitting diode, for example, a current of 50 mA. It is configured to be a current source circuit for supplying. Therefore, in the second embodiment, substantially the same operation and effect as those of the first embodiment can be obtained.

【0034】図6は本発明の第3の実施例を示すもので
あり、第1の実施例と異なるところを説明する。図6に
おいて、受光動作確認用の発光ダイオード55が、端子
15と端子16との間に投光用発光ダイオード7と逆極
性で直列接続されている。そして、発光ダイオード55
の両端にバイアス用ダイオード56が接続されていると
共に、投光用発光ダイオード7の両端にバイアス用ダイ
オード57が接続されている。
FIG. 6 shows a third embodiment of the present invention, and the differences from the first embodiment will be described. In FIG. 6, a light emitting diode 55 for confirming the light receiving operation is connected in series between the terminal 15 and the terminal 16 with the opposite polarity to the light emitting diode 7. Then, the light emitting diode 55
Are connected to a bias diode 56 at both ends, and a bias diode 57 is connected to both ends of the light emitting light emitting diode 7.

【0035】上記発光ダイオード55は、受光用ダイオ
ード8が受光動作したとき、つまり、被検出体が検出さ
れたとき点灯され、受光用ダイオード8が受光動作して
いないとき、つまり、被検出体が検出されていないとき
消灯されるようになっている。そして、この構成の場
合、投光用発光ダイオード7を点灯させるときは、投光
用発光ダイオード7及びバイアス用ダイオード56に流
れる向きの電流を通電すると共に、該電流をパルス通電
することにより投光用発光ダイオード7をパルス点灯制
御するようになっている。
The light emitting diode 55 is turned on when the light receiving diode 8 performs the light receiving operation, that is, when the detected object is detected, and when the light receiving diode 8 is not performing the light receiving operation, that is, when the detected object is not detected. It is turned off when it is not detected. In the case of this configuration, when the light emitting light emitting diode 7 is turned on, a current in a direction flowing through the light emitting light emitting diode 7 and the bias diode 56 is supplied, and the light is supplied by applying a pulse to the current. The light-emitting diode 7 is pulse-lighted.

【0036】一方、上記発光ダイオード55を点灯させ
るときは、投光用発光ダイオード7のパルス点灯のうち
の消灯している時間の間だけ、発光ダイオード55及び
バイアス用ダイオード57に流れる向きの電流を通電し
て点灯するようになっている。尚、上記パルス点灯制御
は微小時間間隔でなされるので、発光ダイオード55が
そのような微小時間間隔で点灯されているときには、使
用者の目には発光ダイオード55が連続点灯しているよ
うに見える。また、発光ダイオード55は、検出ユニッ
ト5の検出部6に配設されている。
On the other hand, when the light emitting diode 55 is turned on, the current flowing in the direction of the light emitting diode 55 and the bias diode 57 is supplied only during the off time of the pulse lighting of the light emitting light emitting diode 7. It is designed to light when energized. Since the pulse lighting control is performed at minute time intervals, when the light emitting diode 55 is lit at such minute time intervals, the light emitting diode 55 appears to the user's eyes to be continuously lit. . Further, the light emitting diode 55 is provided in the detection unit 6 of the detection unit 5.

【0037】従って、この第3の実施例においても、第
1の実施例とほぼ同様な作用効果を得ることができる。
特に、第3の実施例では、発光ダイオード55の点灯に
より受光動作を確認することができるので、調整作業時
等における使い勝手がより一層向上する。
Therefore, in the third embodiment, substantially the same functions and effects as those of the first embodiment can be obtained.
In particular, in the third embodiment, the light receiving operation can be confirmed by turning on the light emitting diode 55, so that the usability at the time of adjustment work and the like is further improved.

【0038】尚、上記各実施例では、反射形の光電スイ
ッチに適用したが、これに代えて、図7に示す本発明の
第4の実施例である透過形の光電スイッチに適用しても
良い。この図7において、検出ユニット58は、投光用
検出部59、受光用検出部60及びリード線61から構
成されている。投光用検出部59内に投光用発光ダイオ
ード62が配設されており、受光用検出部60内に受光
用フォトダイオード63が配設されている。この第4の
実施例においても、第1の実施例とほぼ同様な作用効果
を得ることができる。
In each of the above embodiments, the present invention is applied to the reflection type photoelectric switch. Alternatively, the present invention is applied to the transmission type photoelectric switch according to the fourth embodiment of the present invention shown in FIG. good. In FIG. 7, the detection unit 58 includes a light projecting detecting unit 59, a light receiving detecting unit 60, and a lead wire 61. A light emitting light emitting diode 62 is provided in the light emitting detector 59, and a light receiving photodiode 63 is provided in the light receiving detector 60. In the fourth embodiment, substantially the same operation and effects as those of the first embodiment can be obtained.

【0039】また、上記各実施例では、電源投入時に投
光用発光ダイオード7の順方向電圧VF を測定するよう
にしたが、これに限られるものではなく、例えば測定用
の操作スイッチを設け、この操作スイッチを操作したと
きに順方向電圧VF を測定するようにしても良い。
In each of the above embodiments, the forward voltage VF of the light emitting light emitting diode 7 is measured when the power is turned on. However, the present invention is not limited to this. For example, an operation switch for measurement is provided. When the operation switch is operated, the forward voltage VF may be measured.

【0040】更に、投光用発光ダイオード7の順方向電
圧VF を測定したときに、測定した順方向電圧VF が
1.3〜2.3V以外の電圧になったときには、ケーブ
ルの接続不良又は投光用発光ダイオードの不良であると
判断して、その不良即ち異常を例えば表示用発光ダイオ
ードを点灯させることにより報知するようにしても良
い。この場合、上記異常を検出したときに、エラー信号
を外部へ出力するようにしても良い。
Further, when the forward voltage VF of the light emitting light emitting diode 7 is measured and the measured forward voltage VF becomes a voltage other than 1.3 to 2.3 V, a poor connection of the cable or a light emission. The light emitting diode for light may be determined to be defective, and the defect, that is, an abnormality, may be notified by, for example, turning on the display light emitting diode. In this case, an error signal may be output to the outside when the abnormality is detected.

【0041】更にまた、上記各実施例に記載した各種の
投光用発光ダイオード7の順方向電圧VF の具体的な値
は一例であって、順方向電圧VF は製品毎に異なるもの
であるから、投光用発光ダイオードの種類を判別するた
めのしきい値VTH1 及びVTH2 の具体的な値は製品毎に
適宜設定すれば良い。
Furthermore, the specific values of the forward voltage VF of the various light emitting diodes 7 described in the above embodiments are merely examples, and the forward voltage VF differs for each product. The specific values of the threshold values VTH1 and VTH2 for determining the type of the light emitting light emitting diode may be appropriately set for each product.

【0042】[0042]

【発明の効果】本発明は以上の説明から明らかなよう
に、光電スイッチ本体に接続された投光用発光ダイオー
ドの順方向電圧を検出して投光用発光ダイオードの種類
を判別するダイオード判別手段を備えると共に、このダ
イオード判別手段からの判別信号に基づいて投光用発光
ダイオードへ通電する駆動電流の大きさを設定する電流
設定手段を備える構成としたので、複数種類の投光用発
光ダイオードを光電スイッチ本体に付け替える構成のも
のでありながら、装着した投光用発光ダイオードの性能
を十分に発揮させることができるという優れた効果を奏
する。
As is apparent from the above description, the present invention detects the forward voltage of the light emitting light emitting diode connected to the photoelectric switch body and determines the type of the light emitting light emitting diode. And a current setting means for setting the magnitude of the driving current to be supplied to the light emitting light emitting diode based on the discrimination signal from the diode discriminating means, so that a plurality of types of light emitting light emitting diodes can be used. An excellent effect that the performance of the mounted light-emitting light-emitting diode can be sufficiently exhibited even though it is configured to be replaced with the photoelectric switch body.

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

【図1】本発明の一実施例を示すフローチャートFIG. 1 is a flowchart showing an embodiment of the present invention.

【図2】全体の斜視図FIG. 2 is an overall perspective view.

【図3】全体の電気回路図FIG. 3 is an overall electric circuit diagram.

【図4】要部の電気回路図FIG. 4 is an electric circuit diagram of a main part.

【図5】本発明の第2の実施例を示す図4相当図FIG. 5 is a view corresponding to FIG. 4, showing a second embodiment of the present invention;

【図6】本発明の第3の実施例を示す投光用発光ダイオ
ード周辺の電気回路図
FIG. 6 is an electric circuit diagram around a light emitting light emitting diode according to a third embodiment of the present invention.

【図7】本発明の第4の実施例を示す図2相当図FIG. 7 is a view corresponding to FIG. 2, showing a fourth embodiment of the present invention;

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

1は光電スイッチ本体、3はリード線、5,58は検出
ユニット、7,62は投光用発光ダイオード、8,63
は受光用フォトダイオード、22は制御回路(ダイオー
ド判別手段、電流設定手段)、23は切替スイッチ回
路、24は定電流源回路、25,26,27は電流源回
路、55は発光ダイオードを示す。
1 is a photoelectric switch body, 3 is a lead wire, 5, 58 is a detection unit, 7, 62 is a light emitting diode for light emission, 8, 63
Denotes a light receiving photodiode, 22 denotes a control circuit (diode discriminating means, current setting means), 23 denotes a changeover switch circuit, 24 denotes a constant current source circuit, 25, 26 and 27 denote current source circuits, and 55 denotes a light emitting diode.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 投光用発光ダイオードを光電スイッチ本
体にリード線を介して接続するものであって、前記投光
用発光ダイオードを複数種類備え、これら複数種類の投
光用発光ダイオードを前記光電スイッチ本体に付け替え
可能に構成して成る光電スイッチにおいて、 前記光電スイッチ本体に接続された投光用発光ダイオー
ドの順方向電圧を検出して前記投光用発光ダイオードの
種類を判別するダイオード判別手段と、 このダイオード判別手段からの判別信号に基づいて前記
投光用発光ダイオードへ通電する駆動電流の大きさを設
定する電流設定手段とを備えたことを特徴とする光電ス
イッチ。
1. A light emitting diode for light emission is connected to a photoelectric switch body via a lead wire, wherein a plurality of types of light emitting light emitting diodes are provided, and the plurality of types of light emitting light emitting diodes are connected to the photoelectric switch. A photoelectric switch configured so as to be replaceable with the switch body, wherein a diode determining means for detecting a forward voltage of the light emitting light emitting diode connected to the photoelectric switch body to determine a type of the light emitting light emitting diode; And a current setting means for setting a magnitude of a driving current to be supplied to the light emitting light emitting diode based on a discrimination signal from the diode discrimination means.
JP03244593A 1991-08-29 1991-08-29 Photoelectric switch Expired - Fee Related JP3108150B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03244593A JP3108150B2 (en) 1991-08-29 1991-08-29 Photoelectric switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03244593A JP3108150B2 (en) 1991-08-29 1991-08-29 Photoelectric switch

Publications (2)

Publication Number Publication Date
JPH0563536A JPH0563536A (en) 1993-03-12
JP3108150B2 true JP3108150B2 (en) 2000-11-13

Family

ID=17121031

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03244593A Expired - Fee Related JP3108150B2 (en) 1991-08-29 1991-08-29 Photoelectric switch

Country Status (1)

Country Link
JP (1) JP3108150B2 (en)

Also Published As

Publication number Publication date
JPH0563536A (en) 1993-03-12

Similar Documents

Publication Publication Date Title
US4574276A (en) Indicating system
JP2609247B2 (en) Measuring device for intracardiac detection of blood oxygen saturation
US4311994A (en) Signal level indication with different colors
JP3108150B2 (en) Photoelectric switch
US5026978A (en) Photoelectric switch having pulse driver circuitry
US20060250091A1 (en) Lighting circuit for light-emitting diode and control method thereof
US7141814B2 (en) Input circuit
US4163924A (en) Circuit for turning on a charging-completion indicator separate from a flash unit
WO1993018370A1 (en) Levelling device
JP3042625B2 (en) Dimmer
JP2870024B2 (en) Optical sensor device
JP2567502B2 (en) Detection switch circuit
JPH0248819A (en) Input device for control instrument
JP5184246B2 (en) Output circuit and detection switch using the same
JPH0648886Y2 (en) Photo-interrupter
JPS63167211A (en) Distance detecting device
JP2546941B2 (en) Photoelectric switch
JPH058888B2 (en)
JP2712598B2 (en) Stereo display
JPH021668Y2 (en)
JP2923903B2 (en) Prevention of erroneous mounting of heterogeneous power supply conversion package of distributed power supply
KR100290096B1 (en) Automatic focusing apparatus for camera and method for driving automatic focusing apparatus
JPH0710789U (en) Light emitting element brightness adjustment device
JPH067984Y2 (en) Lamp burnout detection circuit
JPS58187034A (en) Optical transmission circuit

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees