JPH10221467A - Optical sensor output setting circuit and its setting method - Google Patents

Optical sensor output setting circuit and its setting method

Info

Publication number
JPH10221467A
JPH10221467A JP2073797A JP2073797A JPH10221467A JP H10221467 A JPH10221467 A JP H10221467A JP 2073797 A JP2073797 A JP 2073797A JP 2073797 A JP2073797 A JP 2073797A JP H10221467 A JPH10221467 A JP H10221467A
Authority
JP
Japan
Prior art keywords
resistor
light
light emitting
emitting element
optical sensor
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
JP2073797A
Other languages
Japanese (ja)
Inventor
Hiromi Fukazawa
廣美 深沢
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.)
Nidec Sankyo Corp
Original Assignee
Nidec Sankyo Corp
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 Nidec Sankyo Corp filed Critical Nidec Sankyo Corp
Priority to JP2073797A priority Critical patent/JPH10221467A/en
Publication of JPH10221467A publication Critical patent/JPH10221467A/en
Pending legal-status Critical Current

Links

Landscapes

  • Geophysics And Detection Of Objects (AREA)
  • Conveying Record Carriers (AREA)
  • Photo Coupler, Interrupter, Optical-To-Optical Conversion Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily conduct power control. SOLUTION: In an optical sensor output setting circuit 1 with an optical sensor 8 receiving the light of a luminous element 4 with a light reception element 9 and detecting the existence of a detected body 12 put in between the luminous element 4 and the light reception element 9, the first resistor 5 and the second resistor 6 regulating the current flowing in the luminous element 4 are connected in parallel to the luminous element 4, and simultaneously the connection and separation of the second resistor 6 to the current path flowing in the luminous element 4 is made free by connecting a switch means 7 to the second resistor 6 and the value of a light reception resistor 10 regulating the current flowing in the light reception element 9 is set in the state the second resistor 6 is separated.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、光センサ出力設定
回路およびその設定方法に関する。更に詳述すると、本
発明は、光センサ出力設定回路における出力を規定する
受光用抵抗値の設定方法および設定回路の改良に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical sensor output setting circuit and a setting method thereof. More specifically, the present invention relates to a method for setting a light-receiving resistance value that defines an output in an optical sensor output setting circuit and an improvement in the setting circuit.

【0002】[0002]

【従来の技術】カードリーダ等に備えられたカード検出
用の光センサの出力設定回路101は、図4に示すよう
に、発光ダイオード等の発光素子102と、フォトトラ
ンジスタ等の受光素子103とからなる光センサ104
を備えてなり、これら発光素子102と受光素子103
との間にカード等の被検出体105が介在し遮光するこ
とにより当該被検出体105を検出している。しかし、
各素子の感度の差あるいは組立のばらつき等で各素子の
感度が変化し、光センサ104の出力に差が生じてしま
うことがある。そこでその差を補正するために、光セン
サ104の出力の設定に関して何らかの調整が必要とな
っている。
2. Description of the Related Art As shown in FIG. 4, an output setting circuit 101 of an optical sensor for detecting a card provided in a card reader or the like includes a light emitting element 102 such as a light emitting diode and a light receiving element 103 such as a phototransistor. Optical sensor 104
The light emitting element 102 and the light receiving element 103
The object to be detected 105 such as a card is interposed between them and shields light to detect the object to be detected 105. But,
The sensitivity of each element changes due to a difference in sensitivity of each element or a variation in assembly, and a difference may occur in the output of the optical sensor 104. Therefore, in order to correct the difference, some adjustment is required for setting the output of the optical sensor 104.

【0003】従来は、受光した受光素子103を流れる
電流(以下「受光素子電流」と呼ぶ)を測定し、この受
光素子電流の大きさに応じた値の負荷抵抗106を設定
して光センサ104の出力感度を設定していた。負荷抵
抗106は、受光素子103に接続されて受光素子電流
の値を規定する抵抗(以下「受光用抵抗」と呼ぶ)であ
る。この受光用抵抗106として可変抵抗を使用する場
合にはその抵抗値を変化させ、固定抵抗を使用する場合
には適する抵抗値のものを選び出し半田付け等により取
り付けて出力の設定を行っている。
Conventionally, a current flowing through the light receiving element 103 which has received light (hereinafter, referred to as “light receiving element current”) is measured, and a load resistor 106 having a value corresponding to the magnitude of the light receiving element current is set to set the optical sensor 104. Output sensitivity was set. The load resistor 106 is a resistor that is connected to the light receiving element 103 and defines the value of the light receiving element current (hereinafter, referred to as “light receiving resistance”). When a variable resistor is used as the light-receiving resistor 106, the resistance value is changed. When a fixed resistor is used, an appropriate resistor value is selected, and the output is set by soldering or the like.

【0004】一方、発光素子102の表面が汚れると発
光量が減少し、これに伴い受光素子電流が減少するの
で、受光用抵抗106の値を設定する際には、カード検
出に使用した場合の汚れによる受光素子電流の減少を考
慮する必要がある。受光素子電流が例えば最大電流値の
1/4に減少するまで光センサ104を使用してカード
の有無の検出を行えるようにするためには、受光電流値
をカード検出可能な最小の値の4倍の大きさとなるよう
に受光用抵抗106の値を設定する。
On the other hand, if the surface of the light-emitting element 102 becomes dirty, the amount of light emission decreases, and the light-receiving element current decreases accordingly. It is necessary to consider the decrease in the light receiving element current due to contamination. In order to be able to detect the presence or absence of a card using the optical sensor 104 until the light receiving element current decreases to, for example, 1 / of the maximum current value, the light receiving current value is set to the minimum value of 4 which can be detected by the card. The value of the light receiving resistor 106 is set so as to be twice as large.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、受光用
抵抗106として可変抵抗を使用する場合には、受光素
子電流を測定しながらその抵抗値を調整しなければなら
ず、上述の設定を行う際に手間がかかる。また、固定抵
抗を使用する場合には、各出力設定回路101毎に受光
素子電流を測定しながら当該電流の大きさに適する抵抗
を選んで取り付けなければならず、可変抵抗の場合より
さらに手間がかかる。
However, when a variable resistor is used as the light receiving resistor 106, the resistance value must be adjusted while measuring the light receiving element current. It takes time and effort. When a fixed resistor is used, it is necessary to select and mount a resistor suitable for the magnitude of the light receiving element current while measuring the light receiving element current for each output setting circuit 101, which is more troublesome than a variable resistor. Take it.

【0006】そこで、本発明は、出力の調整を容易に行
うことができる光センサ出力設定回路およびその設定方
法を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an optical sensor output setting circuit which can easily adjust the output and a method of setting the same.

【0007】[0007]

【課題を解決するための手段】かかる目的を達成するた
め、請求項1記載の発明は、発光素子の光を受光素子で
受光し、発光素子と受光素子との間に介在される被検出
体の存在を検出するようにした光センサにおける光セン
サ出力設定回路において、発光素子に流れる電流を規定
する第一の抵抗と第二の抵抗を並列に発光素子に接続す
ると共に、第二の抵抗にスイッチ手段を接続して第二の
抵抗の発光素子に流れる電流経路への挿入・切り離しを
自在とし、受光素子に流れる電流を規定する受光用抵抗
値を第二の抵抗を切り離した状態で設定している。
In order to achieve the above object, according to the first aspect of the present invention, a light receiving element receives light from a light emitting element, and an object to be detected interposed between the light emitting element and the light receiving element. In the optical sensor output setting circuit in the optical sensor that detects the presence of, the first resistor and the second resistor that define the current flowing through the light emitting element are connected in parallel to the light emitting element, and the second resistor is connected to the second resistor. A switch means is connected so that the second resistor can be freely inserted into and separated from a current path flowing through the light emitting element, and a light receiving resistance value defining a current flowing through the light receiving element is set in a state where the second resistor is disconnected. ing.

【0008】したがって、第二の抵抗を切り離すと発光
素子を流れる電流が減少し、発光素子の発光量が減る。
これにより、汚れ等に起因して発光素子の発光量が減少
した状態を模擬して受光用抵抗値を設定できる。また、
第二の抵抗の電流経路への挿入・切り離しはスイッチ手
段によって瞬時にかつ簡単に操作できる。さらに第一の
抵抗と第二の抵抗の抵抗値の組み合わせにより発光素子
を流れる電流を自在に調整することができる。
Accordingly, when the second resistor is disconnected, the current flowing through the light emitting element decreases, and the light emission amount of the light emitting element decreases.
This makes it possible to set the light receiving resistance value by simulating a state in which the light emission amount of the light emitting element is reduced due to dirt or the like. Also,
The insertion and disconnection of the second resistor into and out of the current path can be instantaneously and easily operated by the switch means. Further, the current flowing through the light emitting element can be freely adjusted by a combination of the resistance values of the first resistor and the second resistor.

【0009】請求項2記載の光センサ出力設定回路にお
いては、被検出体はカードであり、光センサはカードの
端面を検出するものである。したがって、光センサを備
えるカードリーダの光センサ出力設定回路において、光
センサが汚れた状態を模擬して受光用抵抗値を設定する
ことができる。
In the optical sensor output setting circuit according to the second aspect, the object to be detected is a card, and the optical sensor detects an end face of the card. Therefore, in the light sensor output setting circuit of the card reader having the light sensor, the light receiving resistance value can be set by simulating the state where the light sensor is dirty.

【0010】請求項3記載の発明においては、発光素子
の光を受光素子で受光し、発光素子と受光素子との間に
介在される被検出体の存在を検出するようにした光セン
サにおける光センサ出力設定方法において、発光素子に
流れる電流を規定する第一の抵抗と第二の抵抗を並列に
発光素子に接続すると共に、第二の抵抗にスイッチ手段
を接続して第二の抵抗の発光素子に流れる電流経路への
挿入・切り離しを自在となし、第二の抵抗を発光素子か
ら切り離した状態で受光素子に流れる電流を規定する受
光用抵抗の値を定めた後、第二の抵抗を発光素子を流れ
る電流経路へ挿入した状態で発光素子と受光素子との間
に介在される被検出体の存在を検出している。
According to the third aspect of the present invention, the light of the light emitting element is received by the light receiving element, and the light in the optical sensor is configured to detect the presence of the object interposed between the light emitting element and the light receiving element. In the sensor output setting method, a first resistor and a second resistor defining a current flowing through the light emitting element are connected in parallel to the light emitting element, and a switch is connected to the second resistor to emit light from the second resistor. After the insertion and removal of the second resistor from the light-emitting element is determined, the value of the light-receiving resistor that defines the current flowing through the light-receiving element is determined. The presence of an object to be detected interposed between the light emitting element and the light receiving element is detected while being inserted into the current path flowing through the light emitting element.

【0011】したがって、第二の抵抗を切り離すと発光
素子を流れる電流が減少して発光素子の発光量が減る。
このようにして発光素子の発光量が減少した状態を模擬
し、受光用抵抗値の設定を行うことができる。また、受
光用抵抗値の設定が終了したならば、第二の抵抗を挿入
することによって、被検出体の有無の検出を行う状態と
することができる。
Therefore, when the second resistor is disconnected, the current flowing through the light emitting element decreases, and the light emission amount of the light emitting element decreases.
Thus, it is possible to simulate a state in which the light emission amount of the light emitting element is reduced, and to set the light receiving resistance value. When the setting of the light-receiving resistance value is completed, a state in which the presence or absence of the object to be detected can be detected by inserting a second resistor.

【0012】[0012]

【発明の実施の形態】以下、本発明の構成を図面に示す
実施の形態の一例に基づいて詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The configuration of the present invention will be described below in detail based on an example of an embodiment shown in the drawings.

【0013】図1に、本発明の光センサ出力設定回路の
一実施形態を示す。なお、ここでの光センサ出力設定回
路は、例えばカードリーダにおいてカードの端面を検出
するために使用されているものである。
FIG. 1 shows an embodiment of an optical sensor output setting circuit according to the present invention. The optical sensor output setting circuit here is used for detecting the end face of a card in a card reader, for example.

【0014】この光センサ出力設定回路1は、発光側回
路2と受光側回路3とからなる。発光側回路2は、発光
素子4と、発光素子4に常に接続される第一の抵抗5
と、第一の抵抗5に並列に接続される第二の抵抗6と、
第二の抵抗6に流れる電流を断続するスイッチ手段7と
を備えてなる。また受光側回路3は、受光素子9と、受
光素子9に流れる受光素子電流の電流値を規定する受光
用抵抗10と、電圧計11とを備えてなる。発光素子4
が発する光を受光素子9が受光するように光センサ8が
構成されている。また、受光側回路3には受光側回路3
からの出力を検出する検出器(図示省略)が取り付けら
れている。
The light sensor output setting circuit 1 includes a light emitting side circuit 2 and a light receiving side circuit 3. The light emitting side circuit 2 includes a light emitting element 4 and a first resistor 5 always connected to the light emitting element 4.
A second resistor 6 connected in parallel to the first resistor 5;
A switch means for interrupting the current flowing through the second resistor. The light receiving side circuit 3 includes a light receiving element 9, a light receiving resistor 10 for defining a current value of a light receiving element current flowing through the light receiving element 9, and a voltmeter 11. Light emitting element 4
The light sensor 8 is configured such that the light receiving element 9 receives the light emitted by the light sensor 8. Also, the light receiving side circuit 3
A detector (not shown) for detecting the output from the device is attached.

【0015】発光素子4は、例えば発光ダイオードであ
る。発光素子4を流れる電流値が変化すると、発光素子
4の発光量もその変化に伴って変化する。
The light emitting element 4 is, for example, a light emitting diode. When the value of the current flowing through the light emitting element 4 changes, the light emission amount of the light emitting element 4 also changes with the change.

【0016】第一の抵抗5は発光素子4に接続されて当
該発光素子4に流れる電流を規定するものである。この
第一の抵抗5の経路にはスイッチ手段は特に設けられて
おらず、電圧が印加されている間は常時電流が流れてい
る。
The first resistor 5 is connected to the light emitting element 4 and regulates a current flowing through the light emitting element 4. No switching means is particularly provided in the path of the first resistor 5, and a current always flows while a voltage is applied.

【0017】第二の抵抗6は第一の抵抗5に並列に接続
される。第二の抵抗6にはスイッチ手段7が取り付けら
れており、このスイッチ手段7を開閉することによって
第二の抵抗6を流れる電流を断続させている。そして、
スイッチ手段7を閉じれば発光素子4を流れる電流経路
に第二の抵抗6を挿入させることができる一方、スイッ
チ手段7を開けば第二の抵抗6を当該電流経路から切り
離すことができる。第二の抵抗6を切り離せば発光素子
4を流れる電流が減少し、その発光量が少なくなる。
The second resistor 6 is connected in parallel with the first resistor 5. Switch means 7 is attached to the second resistor 6, and the current flowing through the second resistor 6 is interrupted by opening and closing the switch means 7. And
When the switch means 7 is closed, the second resistor 6 can be inserted into the current path flowing through the light emitting element 4, while when the switch means 7 is opened, the second resistor 6 can be disconnected from the current path. When the second resistor 6 is disconnected, the current flowing through the light emitting element 4 decreases, and the light emission amount decreases.

【0018】スイッチ手段7は、第二の抵抗6を流れる
電流の断続を自在に行うことができるものであり、例え
ば図1に示すトランジスタを用いる。ただしこれに限ら
れず、図2に示すスイッチやリレーあるいはその他のス
イッチング素子を用いて構わない。
The switch means 7 can freely switch the current flowing through the second resistor 6, and uses, for example, the transistor shown in FIG. However, the present invention is not limited to this, and a switch, a relay, or another switching element shown in FIG. 2 may be used.

【0019】また、第一の抵抗5と第二の抵抗6の抵抗
値の大きさの比は例えば3:1となるように設定されて
いる。こうすることにより、合成抵抗と第一の抵抗5の
抵抗値の大きさの比は1:4となるため、発光素子4を
流れる電流はスイッチ手段7を閉じたときと開いたとき
とでその大きさの比が4:1になり、発光素子4の発光
量も同様に変化する。ただし抵抗値の大きさの比はこれ
に限られず、発光量をどれだけ変化させるかに基づいて
変えるようにする。
The ratio between the magnitudes of the resistance values of the first resistor 5 and the second resistor 6 is set, for example, to 3: 1. By doing so, the ratio of the magnitude of the resistance value of the combined resistor to the resistance value of the first resistor 5 is 1: 4. Therefore, the current flowing through the light emitting element 4 is different between when the switch means 7 is closed and when the switch means 7 is opened. The size ratio becomes 4: 1 and the light emission amount of the light emitting element 4 changes similarly. However, the ratio of the magnitudes of the resistance values is not limited to this, and may be changed based on how much the light emission amount is changed.

【0020】受光素子9は発光素子4が発する光を感知
する例えばフォトトランジスタである。発光側回路2や
受光側回路3には、例えば5Vの電圧が供給されてい
る。受光素子9が受光すれば受光量に伴う受光素子電流
が流れる。発光素子4と受光素子9はカードリーダのカ
ード通路を挟んで取り付けられている。
The light receiving element 9 is, for example, a phototransistor that senses light emitted from the light emitting element 4. A voltage of, for example, 5 V is supplied to the light emitting side circuit 2 and the light receiving side circuit 3. When the light receiving element 9 receives light, a light receiving element current flows according to the amount of received light. The light emitting element 4 and the light receiving element 9 are attached with a card path of a card reader interposed therebetween.

【0021】受光用抵抗10は受光素子9に接続されて
いる。この受光用抵抗10の抵抗値の大きさを変化させ
ることにより、受光側回路3の出力を変化させ、所望の
出力値を設定する。
The light receiving resistor 10 is connected to the light receiving element 9. By changing the magnitude of the resistance value of the light receiving resistor 10, the output of the light receiving side circuit 3 is changed, and a desired output value is set.

【0022】また、電圧計11は受光側回路3に取り付
けられ、出力電圧の測定に用いられる。
The voltmeter 11 is attached to the light receiving side circuit 3 and is used for measuring an output voltage.

【0023】以上のように構成された光センサ出力設定
回路1によると、以下のように光センサ8の出力の設定
が行われる。なおここでは、発光素子4が汚れて発光量
が通常発光量の1/4になるまでカードの検出を可能に
する場合の設定について説明する。
According to the optical sensor output setting circuit 1 configured as described above, the output of the optical sensor 8 is set as follows. Here, a description will be given of a case where the card can be detected until the light emitting element 4 becomes dirty and the light emission amount becomes 1/4 of the normal light emission amount.

【0024】まず、第二の抵抗6を発光素子4から切り
離した状態で、受光素子9に流れる電流を規定する受光
用抵抗10の値を定める。第二の抵抗6を発光素子4か
ら切り離すと、当該発光素子4の発光量は通常時の1/
4に減少する。この状態で電圧計11を確認しながら受
光用抵抗10の値を調整し、出力電圧が例えば2.5V
になるように設定する。
First, with the second resistor 6 separated from the light emitting element 4, the value of the light receiving resistor 10 for defining the current flowing through the light receiving element 9 is determined. When the second resistor 6 is separated from the light emitting element 4, the light emission amount of the light emitting element 4 becomes 1 / the normal amount.
Decrease to 4. In this state, the value of the light receiving resistor 10 is adjusted while checking the voltmeter 11 so that the output voltage becomes 2.5 V, for example.
Set to be.

【0025】そして、第二の抵抗6を発光素子4を流れ
る電流経路へ挿入した状態で発光素子4と受光素子9と
の間に介在されるカード等の被検出体の存在の検出を行
う。即ち、スイッチ手段7を閉じれば発光素子4に流れ
る電流は、第一の抵抗5と第二の抵抗6の合成抵抗によ
って規定され、発光素子4の発光量は通常発光量(発光
素子4の汚れ等を考慮した余裕をもった発光量)に戻さ
れる。この状態で、光センサ8をカードリーダに組み込
むと、余裕をもった光量でカードの検出を行うことがで
きる。
Then, with the second resistor 6 inserted in the current path flowing through the light emitting element 4, the presence of an object to be detected such as a card interposed between the light emitting element 4 and the light receiving element 9 is detected. That is, when the switch means 7 is closed, the current flowing through the light emitting element 4 is defined by the combined resistance of the first resistor 5 and the second resistor 6, and the light emitting amount of the light emitting element 4 is the normal light emitting amount (dirt of the light emitting element 4). The light emission amount has a margin in consideration of the above. If the optical sensor 8 is incorporated in the card reader in this state, the card can be detected with a sufficient amount of light.

【0026】発光素子4から受光素子9に向けて発せら
れる光は、カードが通過する間は当該カードによって遮
られる。そのため、カードの有無によって光は断続さ
れ、これに伴い受光側回路3の電流も断続する。受光側
回路3の出力電流に変換されたカードの有無は検出器に
より検出される。
Light emitted from the light emitting element 4 toward the light receiving element 9 is blocked by the card while the card passes. Therefore, light is interrupted depending on the presence or absence of the card, and accordingly, the current of the light receiving side circuit 3 is also interrupted. The presence or absence of the card converted to the output current of the light receiving side circuit 3 is detected by the detector.

【0027】このように設定された光センサ出力設定回
路1においては、発光素子4の発光量が通常の1/4に
なるまでカードを検出することが可能である。また、発
光量がどの程度減少するまで検出を可能とするかは、第
一の抵抗5と第二の抵抗6の抵抗比の選定により適宜変
えることができる。
In the optical sensor output setting circuit 1 set as described above, it is possible to detect a card until the light emission amount of the light emitting element 4 becomes 1/4 of a normal amount. The extent to which detection is possible until the amount of light emission decreases can be appropriately changed by selecting the resistance ratio of the first resistor 5 and the second resistor 6.

【0028】なお、上述の実施形態は本発明の好適な実
施の一例ではあるがこれに限定されるものではなく本発
明の要旨を逸脱しない範囲において種々変形実施可能で
ある。例えば、本実施形態では受光側回路3における出
力を簡便に設定できるように、発光側回路2に第一の抵
抗5と第二の抵抗6とを並列に取り付けたが、図3に示
すように当該両抵抗5,6を直列に取り付けるようにし
てもよい。この場合は第一の抵抗5を常に発光素子4に
接続すると共に、第二の抵抗6を第一の抵抗5にスイッ
チ手段7を用いて接続する。ここで、第一の抵抗5と第
二の抵抗6との抵抗値の比を例えば1:3とすれば、ス
イッチ手段7を第二の抵抗6側に切り換えたときの合成
抵抗が第一の抵抗5の4倍となり、発光素子4の発光量
をスイッチ手段7を切り換える前の1/4に減少させる
ことができる。
The above embodiment is an example of a preferred embodiment of the present invention, but the present invention is not limited to this, and various modifications can be made without departing from the spirit of the present invention. For example, in the present embodiment, the first resistor 5 and the second resistor 6 are attached to the light emitting side circuit 2 in parallel so that the output in the light receiving side circuit 3 can be easily set, but as shown in FIG. The two resistors 5 and 6 may be attached in series. In this case, the first resistor 5 is always connected to the light emitting element 4 and the second resistor 6 is connected to the first resistor 5 using the switch means 7. Here, if the ratio of the resistance values of the first resistor 5 and the second resistor 6 is set to, for example, 1: 3, the combined resistance when the switch means 7 is switched to the second resistor 6 becomes the first resistor. This is four times as large as the resistance 5, and the light emission amount of the light emitting element 4 can be reduced to 1/4 before switching the switch means 7.

【0029】また他の手段として、発光側回路2あるい
は受光側回路3の電圧源を例えば1/4に減少させて受
光素子電流を減少させるようにし、発光素子4等が汚れ
た状態を模擬するものが考えられる。この手段によって
も本発明と同様の効果を得ることができる。
As another means, the voltage source of the light emitting side circuit 2 or the light receiving side circuit 3 is reduced to, for example, 1/4 to reduce the light receiving element current, thereby simulating a dirty state of the light emitting element 4 and the like. Things are conceivable. The same effect as the present invention can be obtained by this means.

【0030】[0030]

【発明の効果】以上の説明より明らかなように、請求項
1記載の発明の光センサ出力設定回路は、発光素子に流
れる電流を規定する第一の抵抗と第二の抵抗を並列に発
光素子に接続すると共に、第二の抵抗にスイッチ手段を
接続して第二の抵抗の発光素子に流れる電流経路への挿
入・切り離しを自在とし、受光素子に流れる電流を規定
する受光用抵抗値を第二の抵抗を切り離した状態で設定
しているので、第二の抵抗を切り離すと発光素子を流れ
る電流が減少し、発光素子の発光量が減る。これによ
り、汚れ等に起因して発光素子の発光量が減少した状態
を模擬して受光用抵抗値を設定できる。また、第二の抵
抗の電流経路への挿入・切り離しはスイッチ手段によっ
て瞬時にかつ簡単に操作できる。さらに第一の抵抗と第
二の抵抗の抵抗値の組み合わせにより発光素子を流れる
電流を自在に調整することができる。これらのため、出
力の調整を容易に行うことができる。
As is apparent from the above description, the light sensor output setting circuit according to the first aspect of the present invention comprises a light emitting element in parallel with a first resistor and a second resistor defining a current flowing through the light emitting element. And a switch means connected to the second resistor so that the second resistor can be freely inserted into and disconnected from a current path flowing through the light emitting element, and the light receiving resistance value defining the current flowing through the light receiving element is set to the second value. Since the setting is made in a state where the second resistor is separated, when the second resistor is separated, the current flowing through the light emitting element decreases, and the light emission amount of the light emitting element decreases. This makes it possible to set the light receiving resistance value by simulating a state in which the light emission amount of the light emitting element is reduced due to dirt or the like. Further, the insertion and disconnection of the second resistor from / to the current path can be instantaneously and easily operated by the switch means. Further, the current flowing through the light emitting element can be freely adjusted by a combination of the resistance values of the first resistor and the second resistor. Therefore, the output can be easily adjusted.

【0031】請求項2記載の発明の光センサ出力設定回
路においては、被検出体はカードであり、光センサはカ
ードの端面を検出するものである。したがって、光セン
サを備えるカードリーダの光センサ出力設定回路におい
て、光センサが汚れた状態を模擬して受光用抵抗値を設
定することができ、出力調整を容易に行うことができ
る。
In the optical sensor output setting circuit according to the second aspect of the present invention, the object to be detected is a card, and the optical sensor detects an end face of the card. Therefore, in the optical sensor output setting circuit of the card reader including the optical sensor, the light receiving resistance value can be set by simulating the dirty state of the optical sensor, and the output can be easily adjusted.

【0032】請求項3記載の発明の光センサ出力設定方
法においては、発光素子に流れる電流を規定する第一の
抵抗と第二の抵抗を並列に発光素子に接続すると共に、
第二の抵抗にスイッチ手段を接続して第二の抵抗の発光
素子に流れる電流経路への挿入・切り離しを自在とな
し、第二の抵抗を発光素子から切り離した状態で受光素
子に流れる電流を規定する受光用抵抗の値を定めた後、
第二の抵抗を発光素子を流れる電流経路へ挿入した状態
で発光素子と受光素子との間に介在される被検出体の存
在を検出しているので、第二の抵抗を切り離すと発光素
子を流れる電流が減少して発光素子の発光量が減る。こ
のようにして発光素子の発光量が減少した状態を模擬
し、受光用抵抗値の設定を行うことができる。このた
め、出力調整を容易に行うことができる。また、受光用
抵抗値の設定が終了したならば、第二の抵抗を挿入する
ことによって、被検出体の有無の検出を行う状態とする
ことができる。
According to a third aspect of the present invention, a first resistor and a second resistor defining a current flowing through the light emitting element are connected in parallel to the light emitting element.
The switch means is connected to the second resistor to allow the second resistor to be freely inserted into and separated from the current path flowing to the light emitting element, and the current flowing to the light receiving element in a state where the second resistor is separated from the light emitting element. After setting the specified light-receiving resistor value,
Since the presence of the object to be detected interposed between the light emitting element and the light receiving element is detected while the second resistor is inserted in the current path flowing through the light emitting element, the light emitting element is disconnected when the second resistor is disconnected. The amount of light emitted from the light emitting element decreases due to a decrease in the flowing current. Thus, it is possible to simulate a state in which the light emission amount of the light emitting element is reduced, and to set the light receiving resistance value. Therefore, output adjustment can be easily performed. When the setting of the light-receiving resistance value is completed, a state in which the presence or absence of the object to be detected can be detected by inserting a second resistor.

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

【図1】本発明の光センサ出力設定回路の実施形態の一
例を示す回路図である。
FIG. 1 is a circuit diagram showing an example of an embodiment of an optical sensor output setting circuit of the present invention.

【図2】スイッチ手段の他の実施形態を示す発光側回路
の回路図である。
FIG. 2 is a circuit diagram of a light emitting side circuit showing another embodiment of switch means.

【図3】本発明の発光側回路の他の実施形態を示す回路
図である。
FIG. 3 is a circuit diagram showing another embodiment of the light emitting side circuit of the present invention.

【図4】従来の光センサ出力設定回路を示す回路図であ
る。
FIG. 4 is a circuit diagram showing a conventional optical sensor output setting circuit.

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

1 光センサ出力設定回路 4 発光素子 5 第一の抵抗 6 第二の抵抗 7 スイッチ手段 8 光センサ 9 受光素子 10 受光用抵抗 12 被検出体 DESCRIPTION OF SYMBOLS 1 Optical sensor output setting circuit 4 Light emitting element 5 First resistor 6 Second resistor 7 Switching means 8 Optical sensor 9 Light receiving element 10 Light receiving resistor 12 Object to be detected

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 発光素子の光を受光素子で受光し、前記
発光素子と受光素子との間に介在される被検出体の存在
を検出するようにした光センサにおける光センサ出力設
定回路において、前記発光素子に流れる電流を規定する
第一の抵抗と第二の抵抗を並列に前記発光素子に接続す
ると共に、前記第二の抵抗にスイッチ手段を接続して前
記第二の抵抗の前記発光素子に流れる電流経路への挿入
・切り離しを自在となし、前記受光素子に流れる電流を
規定する受光用抵抗値を前記第二の抵抗を切り離した状
態で設定したことを特徴とする光センサ出力設定回路。
1. An optical sensor output setting circuit in an optical sensor configured to receive light of a light emitting element by a light receiving element and detect the presence of a detection target interposed between the light emitting element and the light receiving element. A first resistor and a second resistor that define a current flowing in the light emitting element are connected in parallel to the light emitting element, and a switch is connected to the second resistor so that the light emitting element of the second resistance is connected. An optical sensor output setting circuit, wherein insertion and separation into and from a current path flowing through the light receiving element can be freely performed, and a light receiving resistance value defining a current flowing through the light receiving element is set in a state where the second resistor is separated. .
【請求項2】 前記被検出体はカードであり、前記光セ
ンサは前記カードの端面を検出するものであることを特
徴とする請求項1記載の光センサ出力設定回路。
2. The optical sensor output setting circuit according to claim 1, wherein the object to be detected is a card, and the optical sensor detects an end face of the card.
【請求項3】 発光素子の光を受光素子で受光し、前記
発光素子と受光素子との間に介在される被検出体の存在
を検出するようにした光センサにおける光センサ出力設
定方法において、前記発光素子に流れる電流を規定する
第一の抵抗と第二の抵抗を並列に前記発光素子に接続す
ると共に、前記第二の抵抗にスイッチ手段を接続して前
記第二の抵抗の前記発光素子に流れる電流経路への挿入
・切り離しを自在とし、前記第二の抵抗を前記発光素子
から切り離した状態で前記受光素子に流れる電流を規定
する受光用抵抗の値を定めた後、前記第二の抵抗を前記
発光素子を流れる電流経路へ挿入した状態で前記発光素
子と受光素子との間に介在される被検出体の存在を検出
することを特徴とする光センサ出力設定方法。
3. An optical sensor output setting method for an optical sensor in which light from a light emitting element is received by a light receiving element and the presence of an object to be detected interposed between the light emitting element and the light receiving element is detected. A first resistor and a second resistor that define a current flowing in the light emitting element are connected in parallel to the light emitting element, and a switch is connected to the second resistor so that the light emitting element of the second resistance is connected. The insertion and disconnection to the current path flowing to the freely, and the value of the light-receiving resistor that defines the current flowing to the light-receiving element in a state where the second resistor is separated from the light-emitting element, and then the second An optical sensor output setting method, comprising: detecting the presence of an object interposed between the light emitting element and the light receiving element while inserting a resistor into a current path flowing through the light emitting element.
JP2073797A 1997-02-03 1997-02-03 Optical sensor output setting circuit and its setting method Pending JPH10221467A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2073797A JPH10221467A (en) 1997-02-03 1997-02-03 Optical sensor output setting circuit and its setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2073797A JPH10221467A (en) 1997-02-03 1997-02-03 Optical sensor output setting circuit and its setting method

Publications (1)

Publication Number Publication Date
JPH10221467A true JPH10221467A (en) 1998-08-21

Family

ID=12035518

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2073797A Pending JPH10221467A (en) 1997-02-03 1997-02-03 Optical sensor output setting circuit and its setting method

Country Status (1)

Country Link
JP (1) JPH10221467A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020118639A (en) * 2019-01-28 2020-08-06 日本電産サンキョー株式会社 Medium detector and medium detection method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020118639A (en) * 2019-01-28 2020-08-06 日本電産サンキョー株式会社 Medium detector and medium detection method

Similar Documents

Publication Publication Date Title
KR20030009322A (en) Electrical quantity sensor
US20020011867A1 (en) Current detecting apparatus and its control method
JPH10221467A (en) Optical sensor output setting circuit and its setting method
US20090014631A1 (en) Signal detection circuit and signal detection method, and state detection circuit
JPS6241329B2 (en)
US20070040578A1 (en) Input/output interface with current sensing
JPH08146069A (en) Disconnection automatically detecting device
US4740686A (en) Optical sensor circuitry
JPS63192112A (en) Stabilized power supply circuit
JPH02232568A (en) Four-wire type resistance measuring apparatus
US20230411928A1 (en) Optical element displacement detection circuit
JP2656649B2 (en) Medium detection device
US20030011425A1 (en) Injection current test circuit
JP2001004761A (en) Device and method for detecting body to be detected by photosensor
JPH05199747A (en) Switching power-supply device
JPS62256530A (en) Drive circuit for light emitting element
JP3531262B2 (en) Voltage detection circuit
JPH06118109A (en) Information input module by electric contact for control/command apparatus
JP2002168781A (en) Gloss sensor
KR200156525Y1 (en) An apparatus for controlling a brightness of a monitor
JPH02210291A (en) Optical detecting device
KR19980067846U (en) Compact Disc (CD) Detection Device
JPH01226539A (en) Sensitivity correcting equipment for label sensor
JPH0568131U (en) 2-wire sensor switch
JPH02133032A (en) Undervoltage detector