Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3033740B2 - Photosensor position detection device - Google Patents
[go: Go Back, main page]

JP3033740B2 - Photosensor position detection device - Google Patents

Photosensor position detection device

Info

Publication number
JP3033740B2
JP3033740B2 JP10229866A JP22986698A JP3033740B2 JP 3033740 B2 JP3033740 B2 JP 3033740B2 JP 10229866 A JP10229866 A JP 10229866A JP 22986698 A JP22986698 A JP 22986698A JP 3033740 B2 JP3033740 B2 JP 3033740B2
Authority
JP
Japan
Prior art keywords
photosensor
photosensors
phototransistor
input interface
voltage drop
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
JP10229866A
Other languages
Japanese (ja)
Other versions
JP2000065522A (en
Inventor
喜宣 加藤
俊之 荒谷
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP10229866A priority Critical patent/JP3033740B2/en
Publication of JP2000065522A publication Critical patent/JP2000065522A/en
Application granted granted Critical
Publication of JP3033740B2 publication Critical patent/JP3033740B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Optical Transform (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、物体の位置をフォ
トセンサにより検出する位置検出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a position detecting device for detecting the position of an object using a photo sensor.

【0002】[0002]

【従来の技術】移動又は運搬する物体の位置を、複数の
フォトセンサにて複数の位置で検出する場合、従来は、
フォトセンサからの出力をCPU等の処理装置で処理す
るのに、各フォトセンサ毎に入力インターフェース回路
が必要であった。図4にそのような従来例を示す。
2. Description of the Related Art When a position of an object to be moved or carried is detected at a plurality of positions by a plurality of photo sensors, conventionally,
In order to process the output from the photo sensor by a processing device such as a CPU, an input interface circuit is required for each photo sensor. FIG. 4 shows such a conventional example.

【0003】図4において、発光ダイオードDとフォト
トランジスタTとを組み合わせたフォトセンサであるフ
ォトインタラプタP1〜P3がコネクタCNのそれぞれ
の入出力端子に接続され、各フォトインタラプタP1〜
P3に電源Eからの電圧(例えば5V)が別々に印加さ
れる。各フォトインタラプタP1〜P3の出力端には、
コネクタCNを介してそれぞれのための入力インターフ
ェース回路IF1〜IF3が接続され、各フォトインタ
ラプタP1〜P3からの出力がそれぞれの入力インター
フェース回路IF1〜IF3を経てCPU等の処理装置
へ入力される。
[0003] In FIG. 4, photointerrupters P1 to P3, which are photosensors combining a light emitting diode D and a phototransistor T, are connected to respective input / output terminals of a connector CN.
A voltage (for example, 5 V) from the power supply E is separately applied to P3. At the output terminals of the photointerrupters P1 to P3,
Input interface circuits IF1 to IF3 for each are connected via a connector CN, and outputs from the respective photointerrupters P1 to P3 are input to a processing device such as a CPU via the respective input interface circuits IF1 to IF3.

【0004】[0004]

【発明が解決しようとする課題】しかし、このようにフ
ォトインタラプタP1〜P3毎に入力インターフェース
回路IF1〜IF3を設けた回路構成では、フォトセン
サ使用量に比例して入力インターフェース回路が増加す
るため、内部配線の占有率が増し、基板を大きくしなけ
ればならない必要がでてくるという問題や、基板とフォ
トセンサ間の配線数が増大するという問題がある。
However, in such a circuit configuration in which the input interface circuits IF1 to IF3 are provided for each of the photointerrupters P1 to P3, the number of input interface circuits increases in proportion to the photosensor usage amount. There is a problem that the occupation ratio of the internal wiring is increased and the substrate needs to be enlarged, and a problem that the number of wirings between the substrate and the photosensor increases.

【0005】本発明の課題は、従来はフォトセンサの数
だけ必要であった入力インターフェース回路を、1つの
入力インターフェース回路に集約でき、回路を簡素化す
ることができるとともに、コネクタのピン数や配線数も
大幅に削減することができる位置検出装置を提供するこ
とにある。
An object of the present invention is to integrate the input interface circuits conventionally required by the number of photosensors into one input interface circuit, to simplify the circuit, and to reduce the number of pins and wiring of the connector. It is an object of the present invention to provide a position detecting device whose number can be significantly reduced.

【0006】[0006]

【課題を解決するための手段】本発明は、複数のフォト
センサを直列接続してその直列回路の一端を電源に接続
するとともに、他端を、CPU等の処理装置のための1
つの入力インターフェース回路に接続し、各フォトセン
サに、互いに抵抗値が異なる電圧降下用抵抗を並列接続
したことを特徴とする。
According to the present invention, a plurality of photosensors are connected in series, one end of the series circuit is connected to a power source, and the other end is connected to a processing device such as a CPU.
A plurality of input interface circuits are connected, and a voltage drop resistor having a different resistance value is connected in parallel to each photosensor.

【0007】フォトセンサとして、発光ダイオードとフ
ォトトランジスタとを組み合わせたフォトインタラプタ
を用いる場合には、各フォトトランジスタに、互いに抵
抗値が異なる電圧降下用抵抗を並列接続する。入力イン
ターフェース回路はA/D変換器を含むものが良い。
When a photointerrupter combining a light emitting diode and a phototransistor is used as a photosensor, a voltage drop resistor having a different resistance value is connected in parallel to each phototransistor. The input interface circuit preferably includes an A / D converter.

【0008】[0008]

【発明の実施の形態】次に、本発明の実施の形態を図面
に基づいて説明する。
Next, an embodiment of the present invention will be described with reference to the drawings.

【0009】図1に本発明の一実施例を示す。この実施
例では、3個のフォトセンサP1〜P3が直列に接続さ
れており、その直列回路の一端は、コネクタCNの入力
端子IN1・IN2により電源Eに接続され、直列回路
の他端は、コネクタCNの出力端子OU1・OU2によ
り1つの入力インターフェース回路IFに接続されてい
る。入力インターフェース回路IFは、A/D変換器I
Cと電流検出用抵抗R4とで構成されている。
FIG. 1 shows an embodiment of the present invention. In this embodiment, three photosensors P1 to P3 are connected in series, one end of the series circuit is connected to a power source E by input terminals IN1 and IN2 of a connector CN, and the other end of the series circuit is The output terminals OU1 and OU2 of the connector CN are connected to one input interface circuit IF. The input interface circuit IF includes an A / D converter I
C and a current detection resistor R4.

【0010】本例では、各フォトセンサP1〜P3とし
て、発光ダイオードDとフォトトランジスタTとを組み
合わせた反射型のフォトインタラプタを用いており、各
フォトセンサP1〜P3において、発光ダイオードDか
ら出力された光が、物体(例えば、搬送される帳票など
の用紙)THを反射してフォトトランジスタTに入光す
ると、フォトトランジスタTがONとなる。フォトセン
サP1〜P3のそれぞれのフォトトランジタTには、抵
抗値が互いに異なる電圧降下用抵抗R1〜R3が並列接
続されている。
In this embodiment, as each of the photosensors P1 to P3, a reflection type photointerrupter in which a light emitting diode D and a phototransistor T are combined is used. In each of the photosensors P1 to P3, an output from the light emitting diode D is output. When the reflected light enters the phototransistor T after being reflected by an object (for example, a sheet of paper to be conveyed) TH, the phototransistor T is turned on. To the phototransistors T of the photosensors P1 to P3, voltage drop resistors R1 to R3 having different resistance values are connected in parallel.

【0011】次に、本実施例の動作について説明する。
フォトセンサP1〜P3が帳票を検出する前は、フォト
センサP1〜P3のフォトトランジスタTがOFF状態
の為、a点からb点までの電圧は電圧降下用抵抗R1〜
R3の和(R1+R2+R3)による電圧降下分だけ下
がる。
Next, the operation of this embodiment will be described.
Before the photosensors P1 to P3 detect the form, the voltage from the point a to the point b is reduced because the phototransistors T of the photosensors P1 to P3 are OFF.
It decreases by the voltage drop due to the sum of R3 (R1 + R2 + R3).

【0012】フォトセンサP1〜P3のうちのどれか、
又は全部が帳票を検出すると、それに応じたフォトトラ
ンジスタTがONとなる。このとき、a点からb点まで
の電圧は、ONしたフォトトランジスタTに並列に接続
された電圧降下用抵抗による電圧降下分だけ増加する。
例として、フォトセンサP1がONした場合を考える
と、D点からE点間の抵抗値は、フォトセンサP1のフ
ォトトランジスタTの抵抗分と電圧降下用抵抗R1の並
列接続であるから、 R1・(フォトセンサP1のフォトトランジスタTの抵
抗分)/R1+(フォトセンサP1のフォトトランジス
タTの抵抗分) となる。
One of the photo sensors P1 to P3,
Alternatively, when all the documents are detected, the corresponding phototransistor T is turned on. At this time, the voltage from the point a to the point b increases by the voltage drop due to the voltage drop resistor connected in parallel to the phototransistor T which is turned ON.
As an example, when the photosensor P1 is turned on, the resistance between the points D and E is a parallel connection of the resistance of the phototransistor T of the photosensor P1 and the voltage dropping resistor R1. (The resistance of the phototransistor T of the photosensor P1) / R1 + (the resistance of the phototransistor T of the photosensor P1).

【0013】ここで、フォトセンサP1のフォトトラン
ジスタTのON抵抗分は、抵抗R1に比べ無視できる程
小さいとすると、上記の式における抵抗値はほぼ0と見
なすことができ、D点からE点間の電圧降下はほぼ0と
なる。よって、A点からB点間の電圧は、電圧降下用抵
抗R1での電圧降下分だけ増加することになる。
Here, assuming that the ON resistance of the phototransistor T of the photosensor P1 is negligibly small compared to the resistance R1, the resistance value in the above equation can be regarded as substantially zero, and the points D to E The voltage drop between them is almost zero. Therefore, the voltage between the point A and the point B increases by the voltage drop in the voltage drop resistor R1.

【0014】このa点からb点間の電圧の増減により変
化した電流値(電流検出用抵抗器R4によってc点に現
れる電圧値)を、A/D変換器ICでアナログ量のデー
タからデジタル量のデータに変え、CPU等の処理装置
に送る。
The current value (the voltage value appearing at the point c by the current detecting resistor R4) changed by the increase / decrease of the voltage between the point a and the point b is converted by the A / D converter IC from the analog data into the digital data. And sends it to a processing device such as a CPU.

【0015】ここで、電圧降下用抵抗R1〜R3の定数
をR1=100Ω、R2=200Ω、R3=400Ωに
することにより、図3のように、どの組み合わせになっ
ても他の組み合わせと同じ抵抗値にはならないので、ど
のフォトセンサP1〜P3のフォトトランジスタがON
になったか識別することができる。
Here, by setting the constants of the voltage drop resistors R1 to R3 to R1 = 100Ω, R2 = 200Ω, and R3 = 400Ω, as shown in FIG. Since the value does not reach the value, the phototransistors of any of the photosensors P1 to P3 are ON
Can be identified.

【0016】よって、CPU等の処理装置で送られたき
たデータを処理することにより、フォトセンサP1〜P
3のうちのどのフォトセンサが帳票を検出したかを識別
することができる。
Therefore, by processing the data sent by a processing device such as a CPU, the photo sensors P1 to P
It is possible to identify which of the photo sensors 3 has detected the form.

【0017】上記実施例では、フォトセンサが3個の場
合について説明したが、フォトセンサの接続数はA/D
変換器の能力によって4個、5個、…、N個と増やすこ
とが可能である。
In the above embodiment, the case where the number of photosensors is three has been described, but the number of photosensors connected is A / D.
.., N can be increased depending on the capacity of the converter.

【0018】さらに、上記実施例では、電圧降下用抵抗
の抵抗値を100Ω、200Ω、400Ωとしたが、そ
れぞれを組み合わせた抵抗値が、他の組み合わせと同じ
値にならなければ(例えば、100×2n−1Ω(n=
1,2,3,…、N))、コストの安いものを使用する
ことにより原価低減になる。
Further, in the above embodiment, the resistance values of the voltage drop resistors are set to 100Ω, 200Ω, and 400Ω. However, if the combined resistance value does not become the same value as another combination (for example, 100 × 2n-1Ω (n =
1, 2, 3,..., N)), the cost can be reduced by using an inexpensive one.

【0019】また、上記実施例では、反射型のフォトイ
ンタラプタを使用した構成としたが、透過型のフォトイ
ンタラプタを使用してもよい。
Further, in the above-described embodiment, a configuration using a reflection type photo interrupter is used, but a transmission type photo interrupter may be used.

【0020】[0020]

【発明の効果】以上説明したように本発明によれば、従
来は使用するフォトセンサの数だけ必要であった入力イ
ンターフェース回路が、1つの入力インターフェース回
路に集約でき、回路を簡素化することができる。また、
従来は配線数が電源線、グランド線、信号線の3本×N
(使用するフォトセンサの数)だけ必要であったが、本
発明によれば、フォトセンサの使用数に関わらず4本と
なり、コネクタのピン数、配線数を大幅に削減すること
ができる。
As described above, according to the present invention, the input interface circuits conventionally required by the number of photosensors to be used can be integrated into one input interface circuit, and the circuit can be simplified. it can. Also,
Conventionally, the number of wires is 3 × N for power supply, ground, and signal lines.
Although only (the number of photosensors to be used) is required, according to the present invention, the number of photosensors is four regardless of the number of photosensors used, and the number of pins and wires of the connector can be greatly reduced.

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

【図1】本発明の一実施例の回路図である。FIG. 1 is a circuit diagram of one embodiment of the present invention.

【図2】フォトセンサによる検出例を示す図である。FIG. 2 is a diagram illustrating an example of detection by a photo sensor.

【図3】フォトセンサのON/OFFと抵抗値の関係を
示す図である。
FIG. 3 is a diagram illustrating a relationship between ON / OFF of a photosensor and a resistance value.

【図4】従来例の回路図である。FIG. 4 is a circuit diagram of a conventional example.

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

P1〜P3 フォトセンサ D 発光ダイオード T フォトトランジスタ R1〜R3 電圧降下用抵抗 R4 電流検出用抵抗 IF 入力インターフェース回路 IC A/D変換器 CN コネクタ IN1・IN2 入力端子 OU1・OU2 出力端子 P1 to P3 Photosensor D Light emitting diode T Phototransistor R1 to R3 Voltage drop resistor R4 Current detection resistor IF Input interface circuit IC A / D converter CN connector IN1, IN2 input terminal OU1, OU2 output terminal

フロントページの続き (72)発明者 荒谷 俊之 東京都港区芝五丁目7番1号 日本電気 株式会社内 (56)参考文献 特開 平5−34111(JP,A) 実開 平1−168805(JP,U) (58)調査した分野(Int.Cl.7,DB名) G01B 11/00 - 11/30 102 G01D 5/26 - 5/38 Continuation of the front page (72) Inventor Toshiyuki Araya 5-7-1 Shiba, Minato-ku, Tokyo NEC Corporation (56) References JP-A-5-34111 (JP, A) JP-A-1-168805 (Japanese) JP, U) (58) Field surveyed (Int. Cl. 7 , DB name) G01B 11/00-11/30 102 G01D 5/26-5/38

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数のフォトセンサを直列接続してその直
列回路の一端を電源に接続するとともに、他端を、CP
U等の処理装置のための1つの入力インターフェース回
路に接続し、各フォトセンサに、互いに抵抗値が異なる
電圧降下用抵抗を並列接続したことを特徴とするフォト
センサによる位置検出装置。
A plurality of photosensors are connected in series, one end of the series circuit is connected to a power supply, and the other end is connected to a CP.
A position detecting device using a photosensor, wherein the photodetector is connected to one input interface circuit for a processing device such as U, and a voltage drop resistor having a different resistance value is connected in parallel to each photosensor.
【請求項2】各フォトセンサが、発光ダイオードとフォ
トトランジスタとを組み合わせたフォトインタラプタ
で、各フォトトランジスタに、互いに抵抗値が異なる電
圧降下用抵抗を並列接続したことを特徴とする請求項1
記載のフォトセンサによる位置検出装置。
2. Each of the photosensors is a photointerrupter in which a light emitting diode and a phototransistor are combined, and each phototransistor is connected in parallel with a voltage drop resistor having a different resistance value.
A position detection device using the photosensor described in the above.
【請求項3】入力インターフェース回路がA/D変換器
を含むことを特徴とする請求項1又は2記載のフォトセ
ンサによる位置検出装置。
3. The position detecting device according to claim 1, wherein the input interface circuit includes an A / D converter.
JP10229866A 1998-08-14 1998-08-14 Photosensor position detection device Expired - Fee Related JP3033740B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10229866A JP3033740B2 (en) 1998-08-14 1998-08-14 Photosensor position detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10229866A JP3033740B2 (en) 1998-08-14 1998-08-14 Photosensor position detection device

Publications (2)

Publication Number Publication Date
JP2000065522A JP2000065522A (en) 2000-03-03
JP3033740B2 true JP3033740B2 (en) 2000-04-17

Family

ID=16898937

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10229866A Expired - Fee Related JP3033740B2 (en) 1998-08-14 1998-08-14 Photosensor position detection device

Country Status (1)

Country Link
JP (1) JP3033740B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4779957B2 (en) * 2006-12-15 2011-09-28 株式会社デンソー Occupant protection system
JP5757678B2 (en) * 2009-09-18 2015-07-29 オリンパス株式会社 Encoder

Also Published As

Publication number Publication date
JP2000065522A (en) 2000-03-03

Similar Documents

Publication Publication Date Title
EP0243978B1 (en) Input circuit having a photo-coupler
KR900001583B1 (en) Optical object detection device
JP3033740B2 (en) Photosensor position detection device
US12498430B2 (en) Connection detection device and connection detection method
US7573353B2 (en) Circuit topology for multiple loads
JPH01320175A (en) Paper presence detection device in printer
JPH0194646A (en) semiconductor equipment
US6246467B1 (en) Rangefinder apparatus
US6266089B1 (en) Image sensing integrated circuit device
JPS61194784A (en) optical object detection circuit
JP3663180B2 (en) Key scanning device
US6061527A (en) Camera
JP2723960B2 (en) Optical logic operation system
JPS63308410A (en) Optical sensor for two-terminal network
JPH0739904Y2 (en) Detector
JPH0593658A (en) Disconnection locator position detector of resistance-type sensor
US20250147102A1 (en) Electronic device
JP2000342761A (en) Pachinko machine and contact detector
JP2511593B2 (en) Photoelectric detector
JP2947097B2 (en) Transmission cable
JPH07113947B2 (en) Signal processor
US4612438A (en) Light intensity sensor providing a variable output current
JP2752661B2 (en) Signal detection circuit
JPS63201882A (en) Signal processor
JPH0714911Y2 (en) Input circuit of measuring instrument

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees