JPH0786536B2 - Photo sensor circuit for medium detection - Google Patents

Photo sensor circuit for medium detection

Info

Publication number
JPH0786536B2
JPH0786536B2 JP1212223A JP21222389A JPH0786536B2 JP H0786536 B2 JPH0786536 B2 JP H0786536B2 JP 1212223 A JP1212223 A JP 1212223A JP 21222389 A JP21222389 A JP 21222389A JP H0786536 B2 JPH0786536 B2 JP H0786536B2
Authority
JP
Japan
Prior art keywords
light emitting
emitting element
memory
data
signal
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 - Lifetime
Application number
JP1212223A
Other languages
Japanese (ja)
Other versions
JPH0375585A (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 JP1212223A priority Critical patent/JPH0786536B2/en
Publication of JPH0375585A publication Critical patent/JPH0375585A/en
Publication of JPH0786536B2 publication Critical patent/JPH0786536B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Geophysics And Detection Of Objects (AREA)
  • Electronic Switches (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、発光素子と発光素子とを組合せて媒体の検出
を行なうためのフォトセンサ回路に関し、特に受光素子
の出力電圧レベルを自動的に調整するフォトセンサ回路
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a photosensor circuit for detecting a medium by combining a light emitting element and a light emitting element, and in particular, to automatically adjust an output voltage level of a light receiving element. The present invention relates to a photo sensor circuit to be adjusted.

〔従来の技術〕[Conventional technology]

発光素子と発光素子とを組合せた従来の媒体検出用フォ
トセンサ回路は、発光素子に流れる電流または受光素子
の出力電圧増幅器のゲインを可変抵抗器によって調整す
る方式が一般に用いられている。
In a conventional medium detection photosensor circuit in which a light emitting element and a light emitting element are combined, a method of adjusting a current flowing through the light emitting element or a gain of an output voltage amplifier of the light receiving element by a variable resistor is generally used.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上述したような従来の方式は、人手による調整であるた
め、調整のための費用が必要であるという欠点があり、
さらに、埃がセンサに付着することによる出力電圧レベ
ルの低下に追従できないという欠点もある。
The conventional method as described above has the drawback that it requires an adjustment cost because it is a manual adjustment.
Further, there is a drawback that it cannot follow the decrease in the output voltage level due to the dust adhering to the sensor.

〔課題を解決するための手段〕[Means for Solving the Problems]

本発明の媒体検出用フォトセンサは、発光素子と、前記
発光素子に供給する電流を調整する電流調整回路と、前
記発光素子の点灯を制御する発光素子点灯回路と、前記
発光素子に供給する電流初期値を格納する初期値設定バ
ッファと、前記発光素子からの光を受光する受光素子
と、前記受光素子の出力信号を一定の増幅率で増幅する
信号増幅器と、前記信号増幅器の出力信号とコントロー
ルロジック回路からのクロック信号とを入力して前記信
号増幅器の出力信号をデジタルデータに変換して出力す
るアナログデジタル変換器と、前記アナログデジタル変
換器からの前記デジタルデータを前記コントロールロジ
ック回路の制御によってメモリに書込むメモリライトバ
ッファと、データサンプルモードのとき前記メモリライ
トバッファからの前記デジタルデータを格納する前記メ
モリと、運用モードのとき前記メモリから読出した前記
デジタルデータを読出して補正データに変換するデコー
ダと、前記補正データを格納して前記コントロールロジ
ック回路の指示によって前記電流調整回路にセットする
補正値バッファと、外部からデータサンプル開始信号を
入力したとき前記初期値設定バッファに格納してある前
記電流初期値を前記電流調整回路にセットし前記メモリ
に対してデータ格納アドレスおよびコントロール信号を
出力して前記メモリバッファを介して前記デジタルデー
タを格納させかつ前記発光素子点灯回路を動作させて前
記発光素子を点灯させる前記コントロールロジック回路
とを備えている。
The medium detection photosensor of the present invention includes a light emitting element, a current adjusting circuit that adjusts a current supplied to the light emitting element, a light emitting element lighting circuit that controls lighting of the light emitting element, and a current supplied to the light emitting element. An initial value setting buffer that stores an initial value, a light receiving element that receives light from the light emitting element, a signal amplifier that amplifies the output signal of the light receiving element with a constant amplification factor, and an output signal of the signal amplifier and control An analog-digital converter that inputs a clock signal from a logic circuit and converts the output signal of the signal amplifier into digital data and outputs the digital data, and the digital data from the analog-digital converter is controlled by the control logic circuit. Memory write buffer to write to the memory and the previous from the memory write buffer in the data sample mode The memory for storing digital data, a decoder for reading the digital data read from the memory in the operation mode and converting the digital data into correction data, and the current adjusting circuit for storing the correction data and instructed by the control logic circuit. A correction value buffer to be set to, and the current initial value stored in the initial value setting buffer when a data sampling start signal is input from the outside, is set in the current adjusting circuit, and a data storage address and control are performed for the memory. And a control logic circuit for outputting a signal to store the digital data via the memory buffer and operating the light emitting element lighting circuit to light the light emitting element.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示す回路図である。FIG. 1 is a circuit diagram showing an embodiment of the present invention.

本実施例には、「データサンプルモード」と「運用モー
ド」とがある。コントロールロジック回路1に外部から
「データサンプル開始信号」が入力されると、「運用モ
ード」から「データサンプルモード」に移り、コントロ
ールロジック回路1は、電流調整回路2に初期値設定バ
ッファ9を介して電流初期値をセットし、メモリ(RA
M)7にデータ格納アドレスおよびコントロール信号を
出力し、発光素子点灯回路12を動作させて発光素子3を
点灯させる。このときの受光素子4の出力電圧は、増幅
率が一定の信号増幅器5によって増幅されたのち、アナ
ログデジタル変換器6に入力される。アナログデジタル
変換器6は、コントロールロジック回路1から供給され
るクロック信号によって信号増幅器5から入力したアナ
ログ電圧値をデジタルデータに変換し、このデジタルデ
ータをメモリライトバッファ11を介してRAM7に書込む。
RAM7にデータを書込んだのち、コントロールロジック回
路1は、「データサンプル終了」信号を出力して「デー
タサンプルモード」を終了して「運用モード」に戻る。
In this embodiment, there are a "data sample mode" and an "operation mode". When a “data sampling start signal” is input to the control logic circuit 1 from the outside, the “operation mode” shifts to the “data sampling mode”, and the control logic circuit 1 causes the current adjustment circuit 2 to pass through the initial value setting buffer 9. To set the initial value of the current
M) 7 outputs a data storage address and a control signal to operate the light emitting element lighting circuit 12 to light the light emitting element 3. The output voltage of the light receiving element 4 at this time is input to the analog-digital converter 6 after being amplified by the signal amplifier 5 having a constant amplification factor. The analog-digital converter 6 converts the analog voltage value input from the signal amplifier 5 into digital data by the clock signal supplied from the control logic circuit 1, and writes this digital data in the RAM 7 via the memory write buffer 11.
After writing the data in the RAM 7, the control logic circuit 1 outputs the “data sampling end” signal to end the “data sampling mode” and returns to the “operation mode”.

「運用モード」では、コントロールロジック回路1は、
データ格納アドレスおよびコントロール信号を出力して
RAM7からデータを読出す。読出したデータをデコーダ8
によって補正データに変換し、補正値バッファ10を介し
て電流調整回路2に補正データをセットする。さらに発
光素子点灯回路12を動作させて発光素子3を点灯させ
る。このときの受光素子4の出力電圧は、増幅器5によ
って増幅され外部に一定電圧として出力される。
In the "operation mode", the control logic circuit 1
Output data storage address and control signal
Read data from RAM7. The read data is the decoder 8
Is converted into correction data by the correction value buffer 10, and the correction data is set in the current adjustment circuit 2 via the correction value buffer 10. Further, the light emitting element lighting circuit 12 is operated to light the light emitting element 3. The output voltage of the light receiving element 4 at this time is amplified by the amplifier 5 and output to the outside as a constant voltage.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明の媒体検出用フォトセンサ
回路は、アナログデジタル変換器を用いて採取したデジ
タルデータをデコーダで変換処理して発光素子の電流を
変えることによって発光強度を変えてセンサレベルを自
動的に調整することができるという効果があり、従って
従来の方式と比較して可変抵抗器による調整費用を削減
できるという効果と、埃がセンサに付着することによる
出力電圧レベルの低下に追従できるという効果がある。
また、フォトセンサ回路全体を小型化・高集積化するこ
とが可能になるという効果もある。
As described above, the medium detection photosensor circuit of the present invention changes the emission intensity by changing the current of the light emitting element by converting the digital data sampled using the analog-digital converter by the decoder to change the sensor level. The effect of being able to adjust automatically, and therefore the effect of reducing the adjustment cost by the variable resistor compared with the conventional method, and following the decrease in the output voltage level due to dust adhering to the sensor The effect is that you can do it.
Further, there is an effect that the entire photo sensor circuit can be downsized and highly integrated.

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

第1図は本発明の一実施例を示す回路図である。 1……コントロールロジック回路、2……電流調整回
路、3……発光素子、4……受光素子、5……信号増幅
器、6……アナログデジタル変換器、7……メモリ(RA
M)、8……デコーダ、9……初期設定バッファ、10…
…補正値バッファ、11……メモリライトバッファ、12…
…発光素子点灯回路。
FIG. 1 is a circuit diagram showing an embodiment of the present invention. 1 ... Control logic circuit, 2 ... Current adjusting circuit, 3 ... Light emitting element, 4 ... Light receiving element, 5 ... Signal amplifier, 6 ... Analog-digital converter, 7 ... Memory (RA
M), 8 ... Decoder, 9 ... Initialization buffer, 10 ...
... correction value buffer, 11 ... memory write buffer, 12 ...
... Light emitting element lighting circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】発光素子と、前記発光素子に供給する電流
を調整する電流調整回路と、前記発光素子の点灯を制御
する発光素子点灯回路と、前記発光素子に供給する電流
初期値を格納する初期値設定バッファと、前記発光素子
からの光を受光する受光素子と、前記受光素子の出力信
号を一定の増幅率で増幅する信号増幅器と、前記信号増
幅器の出力信号とコントロールロジック回路からのクロ
ック信号とを入力して前記信号増幅器の出力信号をデジ
タルデータに変換して出力するアナログデジタル変換器
と、前記アナログデジタル変換器からの前記デジタルデ
ータを前記コントロールロジック回路の制御によってメ
モリに書込むメモリライトバッファと、データサンプル
モードのとき前記メモリライトバッファからの前記デジ
タルデータを格納する前記メモリと、運用モードのとき
前記メモリから読出した前記デジタルデータを読出して
補正データに変換するデコーダと、前記補正データを格
納して前記コントロールロジック回路の指示によって前
記電流調整回路にセットする補正値バッファと、外部か
らデータサンプル開始信号を入力したとき前記初期値設
定バッファに格納してある前記電流初期値を前記電流調
整回路にセットし前記メモリに対してデータ格納アドレ
スおよびコントロール信号を出力して前記メモリバッフ
ァを介して前記デジタルデータを格納させかつ前記発光
素子点灯回路を動作させて前記発光素子を点灯させる前
記コントロールロジック回路とを備えることを特徴とす
る媒体検出用フォトセンサ回路。
1. A light emitting element, a current adjusting circuit for adjusting a current supplied to the light emitting element, a light emitting element lighting circuit for controlling lighting of the light emitting element, and an initial value of a current supplied to the light emitting element are stored. An initial value setting buffer, a light receiving element that receives light from the light emitting element, a signal amplifier that amplifies the output signal of the light receiving element at a constant amplification factor, an output signal of the signal amplifier, and a clock from a control logic circuit. An analog-digital converter that inputs a signal and converts the output signal of the signal amplifier into digital data and outputs the digital data; and a memory that writes the digital data from the analog-digital converter into the memory under the control of the control logic circuit. Stores the digital data from the memory write buffer in the write buffer and the data sample mode Memory, a decoder for reading the digital data read from the memory in the operation mode and converting it into correction data, and a correction for storing the correction data and setting it in the current adjusting circuit according to an instruction from the control logic circuit. A value buffer and the current initial value stored in the initial value setting buffer when a data sampling start signal is input from the outside are set in the current adjusting circuit, and a data storage address and a control signal are output to the memory. And a control logic circuit for storing the digital data via the memory buffer and operating the light emitting element lighting circuit to light the light emitting element.
JP1212223A 1989-08-17 1989-08-17 Photo sensor circuit for medium detection Expired - Lifetime JPH0786536B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1212223A JPH0786536B2 (en) 1989-08-17 1989-08-17 Photo sensor circuit for medium detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1212223A JPH0786536B2 (en) 1989-08-17 1989-08-17 Photo sensor circuit for medium detection

Publications (2)

Publication Number Publication Date
JPH0375585A JPH0375585A (en) 1991-03-29
JPH0786536B2 true JPH0786536B2 (en) 1995-09-20

Family

ID=16618988

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1212223A Expired - Lifetime JPH0786536B2 (en) 1989-08-17 1989-08-17 Photo sensor circuit for medium detection

Country Status (1)

Country Link
JP (1) JPH0786536B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2558645Y2 (en) * 1991-09-13 1997-12-24 サンクス 株式会社 Photoelectric switch
JP2657445B2 (en) * 1992-06-23 1997-09-24 株式会社ジャパンエナジー Light intensity measurement device
JP4698500B2 (en) * 2006-06-21 2011-06-08 三和コンクリート工業株式会社 Gutter

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62242843A (en) * 1986-04-15 1987-10-23 Toyo Commun Equip Co Ltd Compensating method for characteristic variation of optical detector

Also Published As

Publication number Publication date
JPH0375585A (en) 1991-03-29

Similar Documents

Publication Publication Date Title
BR8207959A (en) PORTABLE DATA STORAGE AND PROCESSING SYSTEM
DK0584242T3 (en) Apparatus for calibrating a flow control device
JPH0786536B2 (en) Photo sensor circuit for medium detection
KR900000855A (en) Feedback control device of optical recording and playback device
JPH07147002A (en) Method and equipment for adjusting asymmetrical recorded signal
JPH10145149A (en) Input signal amplifier
KR100200819B1 (en) Laser diode power control method and circuit of the optical disk system
KR960005647B1 (en) Digest audio skipping apparatus and method for vcr
JPS5829219A (en) Analog-to-digital converter
JPS5919202A (en) Sound repeater
JPS6148194B2 (en)
JP3075259B2 (en) Automatic gain correction circuit and magnetic disk drive using this circuit
KR910008398B1 (en) Manual iris control circuit of video camera
JP2534284B2 (en) Optical signal regenerator
JP2001085997A (en) Digital signal processor and video camera
JPH05120615A (en) Automatic gain adjustment circuit of magnetic disk device
JPS61199274A (en) Magnetic disc device
JPH03113461U (en)
JPH0684171A (en) Laser output control system of optical disk device
JPH0583053A (en) Automatic gain control amplifier
JP2725424B2 (en) Analog-to-digital converter
JPH01175424A (en) Laser diode driving device
JPS6156581A (en) System for controlling level of video signal
JPH0827951B2 (en) Laser drive circuit
JPS626789U (en)

Legal Events

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

Free format text: PAYMENT UNTIL: 20080920

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20080920

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20090920

Year of fee payment: 14

EXPY Cancellation because of completion of term