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
JP2551344B2 - Photo sensor circuit for medium detection - Google Patents
[go: Go Back, main page]

JP2551344B2 - Photo sensor circuit for medium detection - Google Patents

Photo sensor circuit for medium detection

Info

Publication number
JP2551344B2
JP2551344B2 JP19392493A JP19392493A JP2551344B2 JP 2551344 B2 JP2551344 B2 JP 2551344B2 JP 19392493 A JP19392493 A JP 19392493A JP 19392493 A JP19392493 A JP 19392493A JP 2551344 B2 JP2551344 B2 JP 2551344B2
Authority
JP
Japan
Prior art keywords
reference voltage
voltage
light
cpu
output
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
JP19392493A
Other languages
Japanese (ja)
Other versions
JPH0730398A (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
Nippon Electric Co Ltd
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP19392493A priority Critical patent/JP2551344B2/en
Publication of JPH0730398A publication Critical patent/JPH0730398A/en
Application granted granted Critical
Publication of JP2551344B2 publication Critical patent/JP2551344B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Geophysics And Detection Of Objects (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 photo sensor circuit for detecting a medium by combining a light emitting element and a light receiving element, and more particularly to a photo sensor circuit capable of automatically adjusting an output voltage level of the light receiving element.

【0002】[0002]

【従来の技術】従来、プリンタ等においては、その用紙
(媒体)の有無を検出するためにフォトセンサ回路が備
えられている。この種のフォトセンサ回路では、発光素
子から照射した光線が媒体で遮られまたは反射されるこ
とにより、受光素子で受光される光量が変動してその出
力電圧レベルが基準電圧値以下あるいは以上になること
を感知して媒体の有無を検出する。
2. Description of the Related Art Conventionally, a printer or the like has been provided with a photo sensor circuit for detecting the presence or absence of the paper (medium). In this type of photo sensor circuit, a light beam emitted from a light emitting element is blocked or reflected by a medium, so that the amount of light received by the light receiving element fluctuates and the output voltage level becomes equal to or lower than a reference voltage value. That is, the presence or absence of the medium is detected.

【0003】ところで、このようなフォトセンサ回路に
おいては、感度の調整を行なう場合、発光素子に流れる
電流を調整して発光量を変えるか、あるいは受光素子か
ら得られる出力電圧を増幅する増幅器のゲインを可変抵
抗により調整するのが一般的な方法であった。
In such a photo sensor circuit, when the sensitivity is adjusted, the amount of light emitted is adjusted by adjusting the current flowing through the light emitting element, or the gain of the amplifier for amplifying the output voltage obtained from the light receiving element. It was a general method to adjust the value by a variable resistance.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の媒体検
出用フォトセンサ回路においては、感度の調整に人手を
介した作業が必要であるため、調整に多くの手間と時間
がかかるという欠点があった。また、塵や埃等が発光素
子あるいは受光素子に付着することにより、発光素子の
発光量が低下しあるいは受光素子の受光感度が低下する
と、媒体検出が不可能となる場合があるが、上記のよう
に人手を介した調整作業では、塵や埃等の付着による感
度低下に追従できないという問題があった。
The above-mentioned conventional photosensor circuit for detecting a medium has a drawback that it requires a lot of labor and time for the adjustment because it requires a manual operation for adjusting the sensitivity. It was Further, if the amount of light emitted from the light emitting element or the light receiving sensitivity of the light receiving element decreases due to dust or the like adhering to the light emitting element or the light receiving element, medium detection may become impossible. As described above, in the manual adjustment work, there is a problem that it is not possible to follow the decrease in sensitivity due to the adhesion of dust or the like.

【0005】本発明は、このような従来の課題を解決す
るためになされたものであり、感度を自動的に調整する
ことにより、人手を介した感度調整を不要とし、かつ塵
や埃等の付着による感度低下に追従した調整が可能な媒
体検出用フォトセンサを提供することを目的とする。
The present invention has been made in order to solve such a conventional problem. By automatically adjusting the sensitivity, it is not necessary to manually adjust the sensitivity, and dust, dust, etc. are eliminated. An object of the present invention is to provide a medium detection photosensor that can be adjusted in accordance with a decrease in sensitivity due to adhesion.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、発光素子と受光素子とを組み合わせて光
学的に媒体の検出を行なう媒体検出用フォトセンサ回路
において、前記媒体を検出するための検出用基準電圧ま
たは前記検出用基準電圧より値の大きい上限電圧と下限
電圧からなる調整用基準電圧を切り換え信号によって選
択的に出力する基準電圧設定手段と、前記受光素子の出
力電圧レベルと前記基準電圧設定手段から出力される前
記検出用基準電圧または調整用基準電圧とを比較する比
較手段と、前記基準電圧設定手段に対して前記切り換え
信号を出力し、前記比較手段による受光素子の出力電圧
レベルと前記検出用基準電圧との比較結果に基づいて媒
体の有無を判別すると共に、前記出力電圧レベルと前記
調整用基準電圧との比較結果に基づいて前記発光素子の
発光量データを生成するCPUと、前記CPUから出力
された発光量データに基づいて前記発光素子を発光させ
る発光素子駆動手段と、前記CPUで生成された前記発
光量データを前記CPUが参照可能に格納するメモリと
を備え、前記CPUは、前記受光素子の出力電圧レベル
が前記調整用基準電圧の上限電圧と下限電圧の範囲内と
なるように前記発光量データを調整する構成としてい
る。
In order to achieve the above object, the present invention detects a medium in a medium detecting photosensor circuit which optically detects the medium by combining a light emitting element and a light receiving element. A reference voltage setting means for selectively outputting a detection reference voltage or an adjustment reference voltage composed of an upper limit voltage and a lower limit voltage having a larger value than the detection reference voltage by a switching signal, and an output voltage level of the light receiving element. Comparison means for comparing the detection reference voltage or the adjustment reference voltage output from the reference voltage setting means, and the switching signal to the reference voltage setting means, and the output of the light receiving element by the comparison means The presence or absence of the medium is determined based on the result of comparison between the voltage level and the detection reference voltage, and the output voltage level and the adjustment reference voltage A CPU that generates light emission amount data of the light emitting element based on a comparison result, a light emitting element driving unit that causes the light emitting element to emit light based on the light emission amount data output from the CPU, and the light emission generated by the CPU. And a memory for storing quantity data so that the CPU can refer to the quantity of light emission data so that the output voltage level of the light receiving element falls within a range of an upper limit voltage and a lower limit voltage of the adjustment reference voltage. Is adjusted.

【0007】[0007]

【作用】本発明では、CPUは、発光素子をある発光量
データに比例した光量で点灯させる。発光素子から照射
された光線は、受光素子で受光され、受光素子から受光
量に応じた出力電圧が比較手段に出力される。比較手段
では、出力電圧と調整用基準電圧の比較がなされ、比較
結果がCPUに出力される。CPUは、比較結果から出
力電圧が調整用基準電圧より大きいかどうかを判別す
る。調整用基準電圧より小さい場合は、発光量データの
値を可変させて、出力電圧が調整用基準電圧より大とな
るまで調整処理を繰り返す。
In the present invention, the CPU turns on the light emitting element with a light amount proportional to a certain light amount data. The light beam emitted from the light emitting element is received by the light receiving element, and the output voltage corresponding to the amount of light received is output from the light receiving element to the comparison means. The comparison means compares the output voltage with the adjustment reference voltage and outputs the comparison result to the CPU. The CPU determines from the comparison result whether the output voltage is higher than the adjustment reference voltage. If it is smaller than the adjustment reference voltage, the value of the light emission amount data is varied, and the adjustment processing is repeated until the output voltage becomes larger than the adjustment reference voltage.

【0008】[0008]

【実施例】以下、本発明の実施例について図面を参照し
て詳細に説明する。図1は、本発明の一実施例による媒
体検出用フォトセンサ回路の構成を示す回路図である。
図1において、本実施例の媒体検出用フォトセンサ回路
は、フォトダイオードからなるの発光素子11、フォト
トランジスタからなる受光素子12、D/Aコンバータ
13、電圧−電流変換回路14、検出抵抗15、電圧増
幅器16、電圧比較器17、基準電圧設定回路18、C
PU19及びメモリ20により構成されている。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a circuit diagram showing the configuration of a medium detecting photosensor circuit according to an embodiment of the present invention.
In FIG. 1, the medium detection photosensor circuit of this embodiment includes a light emitting element 11 formed of a photodiode, a light receiving element 12 formed of a phototransistor, a D / A converter 13, a voltage-current conversion circuit 14, a detection resistor 15, Voltage amplifier 16, voltage comparator 17, reference voltage setting circuit 18, C
It is composed of a PU 19 and a memory 20.

【0009】D/Aコンバータ13は、CPU19によ
って書き込まれた発光量データbに基づいて発光素子1
1を発光させるための発光制御電圧cを供給する。電圧
−電流変換回路14は、D/Aコンバータ13から供給
された発光制御電圧cを電流に変換して発光素子11に
供給する。
The D / A converter 13 uses the light emission amount data b written by the CPU 19 to generate the light emitting element 1
A light emission control voltage c for causing 1 to emit light is supplied. The voltage-current conversion circuit 14 converts the light emission control voltage c supplied from the D / A converter 13 into a current and supplies the current to the light emitting element 11.

【0010】電圧増幅器16は、受光素子12から出力
される電圧を増幅し、出力電圧(Vr)として出力す
る。電圧比較器17は、受光素子12から電圧増幅器1
6を介して出力される出力電圧(Vr)と基準電圧設定
回路18から出力される検出用基準電圧(Vref)ま
たは調整用基準電圧(Va1,Va2)とを比較し、そ
の比較結果をCPU19に出力する。
The voltage amplifier 16 amplifies the voltage output from the light receiving element 12 and outputs it as an output voltage (Vr). The voltage comparator 17 includes the light receiving element 12 to the voltage amplifier 1
The output voltage (Vr) output via 6 is compared with the detection reference voltage (Vref) or the adjustment reference voltage (Va1, Va2) output from the reference voltage setting circuit 18, and the comparison result is sent to the CPU 19. Output.

【0011】基準電圧設定回路18は、媒体を検出する
ための検出用基準電圧(Vref)または受光素子12
の出力電圧を調整するための調整用基準電圧(Va1,
Va2)をCPU19の制御によって選択的に切り換え
て出力する。ここで、Va1は調整用基準電圧の上限値
であり、Va2は調整用基準電圧の下限値である。検出
用基準電圧Vrefに対して、Va1>Va2>Vre
fの関係が成立するように設定してある。
The reference voltage setting circuit 18 is a detection reference voltage (Vref) for detecting the medium or the light receiving element 12.
Adjustment reference voltage (Va1,
Va2) is selectively switched and output under the control of the CPU 19. Here, Va1 is the upper limit value of the adjustment reference voltage, and Va2 is the lower limit value of the adjustment reference voltage. Va1>Va2> Vre with respect to the detection reference voltage Vref
It is set so that the relationship of f is established.

【0012】CPU19は、電圧比較器17による受光
素子12の出力電圧(Vr)と検出用基準電圧(Vre
f)との比較結果に基づいて媒体の有無を判別すると共
に、出力電圧レベルと調整用基準電圧(Va1,Va
2)との比較結果に基づいて発光素子11の発光量デー
タbを生成する。メモリ20は、CPU19で生成され
た発光量データbを格納する。
The CPU 19 outputs the output voltage (Vr) of the light receiving element 12 from the voltage comparator 17 and the detection reference voltage (Vre).
The presence / absence of the medium is determined based on the comparison result with f), and the output voltage level and the adjustment reference voltage (Va1, Va) are determined.
The light emission amount data b of the light emitting element 11 is generated based on the comparison result with 2). The memory 20 stores the light emission amount data b generated by the CPU 19.

【0013】媒体検出時の動作を説明すると、D/Aコ
ンバータ13からCPU19によって書き込まれた発光
量データbに基づいて発光制御電圧cを出力され、その
発光制御電圧cが電圧−電流変換回路14で電流に変換
されて発光素子11が発光データbに比例した光量で点
灯する。発光素子11から照射された光線は、受光素子
12で受光され、受光素子12から受光量に応じた電圧
が出力され、この電圧が電圧増幅器16を介して出力電
圧Vrとして電圧比較器17に出力される。
The operation at the time of medium detection will be described. The D / A converter 13 outputs a light emission control voltage c based on the light emission amount data b written by the CPU 19, and the light emission control voltage c is output from the voltage-current conversion circuit 14. Is converted into a current and the light emitting element 11 is turned on with a light amount proportional to the light emission data b. The light beam emitted from the light emitting element 11 is received by the light receiving element 12, a voltage corresponding to the amount of light received is output from the light receiving element 12, and this voltage is output to the voltage comparator 17 as the output voltage Vr via the voltage amplifier 16. To be done.

【0014】電圧比較器17では、受光素子12からの
出力電圧Vrと基準電圧設定回路18から出力される検
出用基準電圧Vrefとを比較し、その比較結果をCP
U19に出力する。CPU19では、電圧比較器17か
らの比較結果によって媒体の存在を判別する。すなわ
ち、反射型のセンサの場合は、媒体で発光素子11から
の光線が反射され受光素子12における受光量が増加す
ることにより出力電圧Vrが検出用基準電圧Vref以
上となった時に、媒体が存在すると判別される。また、
透過型のセンサの場合は、媒体で発光素子11からの光
線が遮られ受光素子12における受光量が減少すること
により出力電圧Vrが検出用基準電圧Vref以下とな
った時に、媒体が存在すると判別される。
In the voltage comparator 17, the output voltage Vr from the light receiving element 12 is compared with the detection reference voltage Vref output from the reference voltage setting circuit 18, and the comparison result is CP.
Output to U19. The CPU 19 determines the presence of the medium based on the comparison result from the voltage comparator 17. That is, in the case of the reflection type sensor, the medium is present when the output voltage Vr becomes equal to or higher than the detection reference voltage Vref due to an increase in the amount of light received by the light receiving element 12 due to the light rays reflected from the light emitting element 11 being reflected by the medium. Then, it is determined. Also,
In the case of a transmissive sensor, it is determined that the medium exists when the output voltage Vr becomes equal to or lower than the detection reference voltage Vref because the light beam from the light emitting element 11 is blocked by the medium and the amount of light received by the light receiving element 12 decreases. To be done.

【0015】次に、フォトセンサ回路の感度調整におけ
る動作をCPU19の処理内容を示す図2のフローチャ
ートを参照して説明する。調整時には、最初にCPU1
9が基準電圧切り換え信号aを基準電圧制御回路18に
出力する(ステップ201)。これにより、基準電圧制
御回路18では、検出用基準電圧Vrefが調整用基準
電圧Va1,Va2(Va1>Va2>検出用基準電圧
Vref)に切り換えられ、調整用基準電圧Va1,V
a2が電圧比較器17に入力される。
Next, the operation of adjusting the sensitivity of the photo sensor circuit will be described with reference to the flowchart of FIG. 2 showing the processing contents of the CPU 19. At the time of adjustment, first CPU1
9 outputs the reference voltage switching signal a to the reference voltage control circuit 18 (step 201). As a result, in the reference voltage control circuit 18, the detection reference voltage Vref is switched to the adjustment reference voltages Va1 and Va2 (Va1>Va2> detection reference voltage Vref), and the adjustment reference voltages Va1 and V1.
a2 is input to the voltage comparator 17.

【0016】また、CPU19は、メモリ20に最初に
固定値として格納されている発光量データbまたは前回
の調整時にメモリ20に格納された発光量データbを読
み出す(ステップ202)。読み出した発光量データb
をD/Aコンバータ13に書き込む(203)。これに
より、D/Aコンバータ13から発光制御電圧cが出力
され、電圧−電流変換回路14を介して、発光素子11
を発光量データbに比例した光量で点灯させる。
Further, the CPU 19 reads the light emission amount data b initially stored as a fixed value in the memory 20 or the light emission amount data b stored in the memory 20 at the time of the previous adjustment (step 202). Read light emission amount data b
Is written in the D / A converter 13 (203). As a result, the light emission control voltage c is output from the D / A converter 13, and the light emitting element 11 is output via the voltage-current conversion circuit 14.
Is turned on with a light amount proportional to the light emission amount data b.

【0017】発光素子11から照射された光線は、受光
素子12で受光され、受光素子12から受光量に応じた
電圧が出力され、この電圧が電圧増幅器16を介して出
力電圧Vrとして電圧比較器17に出力される。電圧増
幅器19により得られる出力電圧Vrは、電圧比較器1
3に入力される。電圧比較器13では、出力電圧Vrと
調整用基準電圧Va1,Va2の比較がなされ、比較結
果がセンサ検出信号dとしてCPU19に出力される。
The light beam emitted from the light emitting element 11 is received by the light receiving element 12, a voltage corresponding to the amount of light received is output from the light receiving element 12, and this voltage is output via the voltage amplifier 16 as an output voltage Vr to a voltage comparator. It is output to 17. The output voltage Vr obtained by the voltage amplifier 19 is the voltage comparator 1
Input to 3. In the voltage comparator 13, the output voltage Vr is compared with the adjustment reference voltages Va1 and Va2, and the comparison result is output to the CPU 19 as a sensor detection signal d.

【0018】CPU11は、センサ検出信号dのチェッ
クを行ない、Va1>Vr>Va2の関係が成立するか
どうかを判別する(ステップ204,205)。Va1
>Vr>Va2が成立しない場合は、発光量データbの
値を可変させて(ステップ206)、Va1>Vr>V
a2が成立するまで、ステップ203から捨てプ206
の調整処理を繰り返す。すなわち、ステップ206で
は、VrがVa1より大きい場合は、発光量データbを
前回値より小さく設定して生成し、VrがVa2より小
さい場合は、発光量データbを前回値より大きく設定し
て生成する。
The CPU 11 checks the sensor detection signal d and determines whether the relationship of Va1>Vr> Va2 is established (steps 204 and 205). Va1
If>Vr> Va2 is not satisfied, the value of the light emission amount data b is varied (step 206), Va1>Vr> V.
Until step a2 is established, the discard step 206 is started from step 203.
The adjustment process of is repeated. That is, in step 206, when Vr is larger than Va1, the light emission amount data b is set to be smaller than the previous value and generated, and when Vr is smaller than Va2, the light emission amount data b is set to be larger than the previous value and generated. To do.

【0019】ステップ206で、Va1>Vr>Va2
が成立する場合は、CPU19から基準電圧切り換え信
号aを基準電圧設定回路18に出力して調整用基準電圧
Va1,Va2を検出用基準電圧Vrefに切り換える
(ステップ207)と共に、CPU19で生成した発光
量データbをメモリ20に書き込んで(ステップ20
7)、調整を終了する。以上好ましい実施例をあげて本
発明を説明したが、本発明は必ずしも上記実施例に限定
されるものではない。
At step 206, Va1>Vr> Va2
Is satisfied, the CPU 19 outputs the reference voltage switching signal a to the reference voltage setting circuit 18 to switch the adjustment reference voltages Va1 and Va2 to the detection reference voltage Vref (step 207), and at the same time, the CPU 19 generates the light emission amount. Write the data b to the memory 20 (step 20
7), the adjustment is completed. Although the present invention has been described with reference to the preferred embodiments, the present invention is not necessarily limited to the above embodiments.

【0020】[0020]

【発明の効果】以上説明したように、本発明の媒体検出
用フォトセンサ回路によれば、受光素子の出力電圧レベ
ルと調整用基準電圧との比較結果に基づいて、一定の出
力電圧が得られるように発光素子の発光量を可変するこ
とにより、感度の自動調整が可能となり、これまでのよ
うな人手を介した手間と時間のかかる調整作業が不要と
なり、かつ、塵や埃等の付着によって生じる出力電圧の
低下に追従した調整が可能となる。さらに、発光素子駆
動手段が発光素子を発光させる発光量データをメモリに
記憶し、比較手段の比較結果に応じてCPUが発光量デ
ータの調整を行なう構成としているため、メカトロニク
ス装置等において既にコントロール用のCPUが備えら
れている場合には、既存のコントロール用のCPUとプ
ログラムやデータを格納するROMやRAM等のメモリ
を、発光量データ調整用のCPU及び発光量データ格納
用のメモリとして共用することが可能であり、必ずしも
センサの発光量調整用に専用のCPUやメモリを設ける
必要がない。また、メモリに保持している発光量データ
をCPUによって容易に採取し転送することができるた
め、本発明を実施した装置の保守性が向上する。また、
CPUからの切り換え信号によってセンサ調整時にのみ
検出用基準電圧を調整用基準電圧に変更し、その調整用
基準電圧に基づく比較手段による比較結果によって発光
量の調整を行なうため、通常の媒体検出時に用いる比較
手段のみでよく発光量調整用の専用の比較手段を設ける
必要がない。さらに、予め受光素子の出力電圧の調整目
標として検出用基準電圧より値の大きい上限電圧と下限
電圧からなる調整用基準電圧の範囲(上限電圧>下限電
圧>検出用基準電圧)を設定しておき、調整時に受光素
子の出力電圧が調整用基準電圧の範囲に入るように発光
量データを調整するため、透過型フォトセンサにおいて
は、調整用の媒体を特に必要としない効果が得られる。
As described above, according to the medium detecting photosensor circuit of the present invention, a constant output voltage can be obtained based on the result of comparison between the output voltage level of the light receiving element and the adjustment reference voltage. By changing the light emission amount of the light emitting element like this, it is possible to automatically adjust the sensitivity, eliminating the need for manual labor and time-consuming adjustment work as before, and dust and dirt It is possible to make adjustments that follow the drop in output voltage that occurs. Further, since the light emitting element driving means stores the light emitting amount data for causing the light emitting element to emit light in the memory, and the CPU adjusts the light emitting amount data according to the comparison result of the comparing means, it is already used for control in the mechatronics device or the like. When the CPU is provided, the existing CPU for control and the memory such as ROM and RAM for storing programs and data are shared as the CPU for adjusting the light emission amount data and the memory for storing the light emission amount data. It is not always necessary to provide a dedicated CPU or memory for adjusting the light emission amount of the sensor. Further, since the light emission amount data held in the memory can be easily collected and transferred by the CPU, the maintainability of the device embodying the present invention is improved. Also,
The detection reference voltage is changed to the adjustment reference voltage only when the sensor is adjusted by the switching signal from the CPU, and the light emission amount is adjusted according to the comparison result by the comparison means based on the adjustment reference voltage. Only the comparison means is required, and it is not necessary to provide a dedicated comparison means for adjusting the light emission amount. Further, a range of adjustment reference voltage (upper limit voltage> lower limit voltage> detection reference voltage) consisting of an upper limit voltage and a lower limit voltage having a larger value than the detection reference voltage is set in advance as an adjustment target of the output voltage of the light receiving element. During the adjustment, the light emission amount data is adjusted so that the output voltage of the light receiving element falls within the range of the adjustment reference voltage. Therefore, in the transmissive photosensor, the effect of not requiring an adjustment medium is obtained.

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

【図1】 本発明の媒体検出用フォトセンサ回路の一実
施例の構成を示す回路図である。
FIG. 1 is a circuit diagram showing a configuration of an embodiment of a medium detection photosensor circuit of the present invention.

【図2】 図1に示す実施例による媒体検出用フォトセ
ンサ回路のCPUによる調整処理の内容を説明するフロ
ーチャートである。
FIG. 2 is a flowchart illustrating the contents of adjustment processing by the CPU of the medium detection photosensor circuit according to the embodiment shown in FIG.

【符号の説明】 11 発光素子 12 受光素子 13 D/Aコンバータ 14 電圧−電流変換回路 17 電圧比較器 18 基準電圧設定回路 19 CPU 20 メモリ[Explanation of reference numerals] 11 light emitting element 12 light receiving element 13 D / A converter 14 voltage-current conversion circuit 17 voltage comparator 18 reference voltage setting circuit 19 CPU 20 memory

フロントページの続き (56)参考文献 特開 昭60−229527(JP,A) 特開 平3−60517(JP,A) 特開 平2−239720(JP,A) 特開 平2−285713(JP,A) 特開 平3−123119(JP,A) 特開 平3−190419(JP,A) 特開 平3−261219(JP,A) 特開 平4−190497(JP,A) 実開 昭62−141223(JP,U)Continuation of front page (56) Reference JP-A-60-229527 (JP, A) JP-A-3-60517 (JP, A) JP-A-2-239720 (JP, A) JP-A-2-285713 (JP , A) JP 3-123119 (JP, A) JP 3-190419 (JP, A) JP 3-261219 (JP, A) JP 4-190497 (JP, A) 62-141223 (JP, U)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 発光素子と受光素子とを組み合わせて光
学的に媒体の検出を行なう媒体検出用フォトセンサ回路
において、 前記媒体を検出するための検出用基準電圧または前記検
出用基準電圧より値の大きい上限電圧と下限電圧からな
調整用基準電圧を切り換え信号によって選択的に出力
する基準電圧設定手段と、 前記受光素子の出力電圧レベルと前記基準電圧設定手段
から出力される前記検出用基準電圧または調整用基準電
圧とを比較する比較手段と、前記基準電圧設定手段に対して前記切り換え信号を出力
し、 前記比較手段による受光素子の出力電圧レベルと前
記検出用基準電圧との比較結果に基づいて媒体の有無を
判別すると共に、前記出力電圧レベルと前記調整用基準
電圧との比較結果に基づいて前記発光素子の発光量デー
タを生成するCPUと、 前記CPUから出力された発光量データに基づいて前記
発光素子を発光させる発光素子駆動手段と、前記CPUで生成された前記発光量データを前記CPU
が参照可能に格納するメモリとを備え、 前記CPUは、前記受光素子の出力電圧レベルが前記調
整用基準電圧の上限電圧と下限電圧の範囲内となるよう
に前記発光量データを調整する ことを特徴とする媒体検
出用フォトセンサ回路。
1. A medium detection photosensor circuit for optically detecting a medium by combining a light emitting element and a light receiving element, wherein a detection reference voltage for detecting the medium or a value higher than the detection reference voltage is used. Do not use large upper and lower voltage limits
Compares the reference voltage setting means and the detecting reference voltage or adjusting the reference voltage and the output voltage level output from the reference voltage setting unit of the light receiving element for selectively outputting the signal switching an adjustment reference voltage that And outputs the switching signal to the comparison means and the reference voltage setting means.
Then, the presence or absence of the medium is determined based on the comparison result between the output voltage level of the light receiving element and the detection reference voltage by the comparison means, and based on the comparison result between the output voltage level and the adjustment reference voltage. A CPU for generating light emission amount data of the light emitting element, a light emitting element driving means for causing the light emitting element to emit light based on the light emission amount data output from the CPU, and the light emission amount data generated by the CPU for the CPU
And a memory for storing so that the CPU can refer to the output voltage level of the light receiving element.
Make sure that it is within the upper and lower voltage limits of the adjustment reference voltage.
A photodetector circuit for detecting a medium , wherein the light emission amount data is adjusted .
JP19392493A 1993-07-10 1993-07-10 Photo sensor circuit for medium detection Expired - Fee Related JP2551344B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19392493A JP2551344B2 (en) 1993-07-10 1993-07-10 Photo sensor circuit for medium detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19392493A JP2551344B2 (en) 1993-07-10 1993-07-10 Photo sensor circuit for medium detection

Publications (2)

Publication Number Publication Date
JPH0730398A JPH0730398A (en) 1995-01-31
JP2551344B2 true JP2551344B2 (en) 1996-11-06

Family

ID=16316010

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19392493A Expired - Fee Related JP2551344B2 (en) 1993-07-10 1993-07-10 Photo sensor circuit for medium detection

Country Status (1)

Country Link
JP (1) JP2551344B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3669352B2 (en) 2002-09-11 2005-07-06 オムロン株式会社 Photoelectric sensor
KR100604820B1 (en) * 2003-06-24 2006-07-26 삼성전자주식회사 Automatic Laser Diode Output Control Method of Optical Disc Drive and Appropriate Device
JP2007036773A (en) * 2005-07-28 2007-02-08 Nec Computertechno Ltd Apparatus and method for detecting detection object by optical sensor
JP2010281915A (en) * 2009-06-03 2010-12-16 Sony Corp Liquid crystal display device, backlight control method, and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60229527A (en) * 1984-04-27 1985-11-14 Nec Corp Sensor circuit
JPH0360517A (en) * 1989-07-28 1991-03-15 Omron Corp Automatic sensitivity adjusting method for photoelectric switch

Also Published As

Publication number Publication date
JPH0730398A (en) 1995-01-31

Similar Documents

Publication Publication Date Title
US4769532A (en) Apparatus for adjusting optical sensors with threshold memory
US4954846A (en) Detecting device for detecting the size and/or presence of an original document
JPS62235975A (en) Light control device
JP2551344B2 (en) Photo sensor circuit for medium detection
US5305337A (en) Laser controller
US5377213A (en) Laser driving circuit
JP2001013005A (en) Light quantity detecting circuit capable of controlling photoelectric conversion ratio
JP3763543B2 (en) Automatic correction device for optical sensor output
US6133934A (en) Image forming apparatus having an image conversion table for correcting a property of the apparatus
JP3440401B2 (en) Sensor automatic adjustment device
JP3042951B2 (en) Light quantity stabilizing device in image input device
JP2519348B2 (en) Image forming device
JP3135281B2 (en) Image forming device
JP2644722B2 (en) Image forming device
JPH0485241A (en) Slice level setting device
US20050163019A1 (en) Apparatus for and method of controlling photo diode using digital potentiometer
JPS5852779A (en) Optical reader for paper or the like
KR940003119B1 (en) Automatic Exposure Control Circuit and Method of Electronic Copier
JPH09321377A (en) Method and device for adjusting emission power of semiconductor laser
JP2872716B2 (en) Document density detector
JP2632448B2 (en) Medium detection device
JPS5976490A (en) Laser light controller
JP2644608B2 (en) Medium detection device
JP2656649B2 (en) Medium detection device
JP3392223B2 (en) Film feed control device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070822

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080822

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080822

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090822

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090822

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100822

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees