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
JP3204787B2 - Detection circuit - Google Patents
[go: Go Back, main page]

JP3204787B2 - Detection circuit - Google Patents

Detection circuit

Info

Publication number
JP3204787B2
JP3204787B2 JP07435293A JP7435293A JP3204787B2 JP 3204787 B2 JP3204787 B2 JP 3204787B2 JP 07435293 A JP07435293 A JP 07435293A JP 7435293 A JP7435293 A JP 7435293A JP 3204787 B2 JP3204787 B2 JP 3204787B2
Authority
JP
Japan
Prior art keywords
circuit
signal
output value
peak hold
outputs
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
JP07435293A
Other languages
Japanese (ja)
Other versions
JPH06288736A (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.)
Mitsubishi Chemical Corp
Original Assignee
Mitsubishi Chemical Corp
Mitsubishi Rayon 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 Mitsubishi Chemical Corp, Mitsubishi Rayon Co Ltd filed Critical Mitsubishi Chemical Corp
Priority to JP07435293A priority Critical patent/JP3204787B2/en
Publication of JPH06288736A publication Critical patent/JPH06288736A/en
Application granted granted Critical
Publication of JP3204787B2 publication Critical patent/JP3204787B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、表面に凹凸を、光
学的に受信し2値化して検知する回路に関し、より詳細
には、例えば、ドアキーの表面バー状の凹凸コードを
光学的に受信しこれを判別する凹凸検出回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circuit for optically receiving and binarizing and detecting irregularities and the like on the surface. More specifically, for example, a bar-like irregular code on the surface of a door key is optically detected. And an unevenness detecting circuit for receiving and judging this.

【0002】[0002]

【従来の技術】マンションなどのドアキーの表面にバー
状の凹凸コードを賦形し、このキーをドアの鍵穴に差し
込むことにより、このコードを読み取りドア鍵を開閉す
る技術が知られている。ここでは、凹凸表面に反射型光
センサより光を照射して、この凹凸変化による光反射光
の受光量変化を光信号として受信し、図3の受光量変動
曲線Aに示すように、光電スイッチのON/OFF判定
レベルをしきい値レベルになるように感度調整すること
により、キーのコードを正確に読み取ることができる。
2. Description of the Related Art There is known a technique in which a bar-shaped concavo-convex code is formed on the surface of a door key of an apartment or the like, and the key is inserted into a keyhole of a door to read the code and open and close the door key. Here, light is irradiated from the reflection type optical sensor to the uneven surface, and the change in the amount of light reflected light received due to the change in the unevenness is received as an optical signal. As shown in the light amount fluctuation curve A in FIG. By adjusting the sensitivity so that the ON / OFF determination level becomes the threshold level, the key code can be read accurately.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
検出回路では、センサヘッドの汚れの付着、光電スイッ
チの送信パワーの劣化などにより、受光量が減少して、
図3の受光量変動曲線Bに示すように、ONであるべき
ところをOFFと判定して正確に読み取ることができな
い。また、キー挿入時にセンサヘッドとの距離が変動す
ること、キーの表面状態が継時的に変化することなどに
よりON/OFF判定レベルと外れることとなり正確な
読み取りができないという不都合が生じている。
However, in the conventional detection circuit, the amount of received light is reduced due to the adhesion of dirt on the sensor head and the deterioration of the transmission power of the photoelectric switch.
As shown in the light-receiving amount variation curve B in FIG. 3, a portion that should be ON is determined to be OFF and cannot be accurately read. In addition, the distance from the sensor head when the key is inserted changes, and the surface state of the key changes over time, thereby deviating from the ON / OFF determination level, which causes a problem that accurate reading cannot be performed.

【0004】この発明は、上述の背景に基づきなされた
ものであり、その目的とするところは、センサヘッドの
汚れの付着、光電スイッチの送信パワーの劣化など起こ
っても、また、キー挿入時のセンサヘッドとの距離変動
やキー表面状態の継時的変化に対しても、正確にON/
OFFを判定して読み取ることができる凹凸検出回路を
提供することである。
The present invention has been made on the basis of the above-mentioned background, and has as its object to prevent contamination of the sensor head, deterioration of the transmission power of the photoelectric switch, etc. Accurately turns ON / OFF even when the distance to the sensor head changes or the key surface condition changes over time.
An object of the present invention is to provide an unevenness detection circuit which can determine and read OFF.

【0005】[0005]

【課題を解決するための手段】上記課題は、この発明に
より解決される。すなわち、この発明の検出回路は、受
光量変化を光信号として受信し、電気信号に変換して出
力する受信回路と、リセット信号の入力毎に初期値に戻
しその後、受信回路からの最高出力値を記憶し、最高出
力値を出力するピークホールド回路と、ピークホールド
回路からの最高出力値に基づき所定の分割比により、O
N/OFF判定レベルを算出しこのレベルをリファレン
ス信号として出力するON/OFF判定レベル生成回路
と、受信回路からの出力とリファレンス信号とを比較し
て、OFFとONとからなる2値化信号を出力する比較
回路と、比較回路の2値化信号を入力してOFFからO
Nへの変化を検出してピークホールド回路へリセット信
号を送出するリセット信号生成回路とからなることを特
徴とするものである。
The above object is achieved by the present invention. That is, the detection circuit of the present invention
A receiving circuit that receives a change in the amount of light as an optical signal, converts the signal into an electric signal, and outputs the signal, and returns the initial value each time a reset signal is input, and then stores the highest output value from the receiving circuit and outputs the highest output value A peak hold circuit and a predetermined division ratio based on the highest output value from the peak hold circuit provide O
An ON / OFF determination level generation circuit that calculates an N / OFF determination level and outputs this level as a reference signal, compares the output from the receiving circuit with the reference signal.
A comparison circuit that outputs a binary signal composed of OFF and ON, and a binary signal of the comparison circuit that is input to change from OFF to O
And a reset signal generation circuit for detecting a change to N and sending a reset signal to the peak hold circuit.

【0006】[0006]

【作用】上記構成を有するこの発明は、以下のように動
作・作用する。例えば、反射型光ファイバセンサを用い
て、出射光を凹凸面に照射して、この凹凸変化による反
射光を、受光する。受信回路では、この受光量変化の光
信号を電気信号に変換して出力する。受信回路からの出
力は、ピークホールド回路に送信され、ピークホールド
回路では、リセット信号の入力時より受信回路からの最
高出力値記憶し、ON/OFF判定レベル生成回路に
最高出力値を出力する。ON/OFF判定レベル生成回
路では、ピークホールド回路からの最高出力値に基づき
所定の分割比により、ON/OFF判定レベルを算出
し、このレベルをリファレンス信号として比較回路に出
力する。
The present invention having the above configuration operates and operates as follows. For example, by using a reflection type optical fiber sensor, the outgoing light is applied to the uneven surface, and the reflected light due to the change in the unevenness is received. The receiving circuit converts the light signal of the change in the amount of received light into an electric signal and outputs the electric signal. The output from the receiving circuit is transmitted to the peak hold circuit, the peak hold circuit stores the highest output value from the receiving circuit from the time the input of the reset signal, and outputs the highest output value in ON / OFF determination level generating circuit . The ON / OFF determination level generation circuit calculates an ON / OFF determination level by a predetermined division ratio based on the highest output value from the peak hold circuit, and outputs this level to the comparison circuit as a reference signal.

【0007】比較回路では、受信回路からの出力とリフ
ァレンス信号とを比較して、凹と凸とに対応するOFF
とONとからなる2値化信号を出力する。この2値化信
号が、表面の凹凸に対応する2値化信号となる。他方、
比較回路は、比較回路の2値化信号をリセット信号生成
回路に送出し、リセット信号生成回路では、この信号か
らOFFからONへの変化を検出してピークホールド回
路へリセット信号を送出する。このリセット信号によ
り、最高出力値がクリアされ、再び、受信回路からの最
高出力値の記憶が開始される。このように、凹凸が1回
検出される毎に、最高出力値を更新する。
[0007] The comparison circuit compares the output from the reception circuit with the reference signal, and turns off the OFF and the OFF corresponding to the concave and convex.
And an ON signal. This binarized signal becomes a binarized signal corresponding to surface irregularities . On the other hand,
The comparison circuit sends the binarized signal of the comparison circuit to the reset signal generation circuit. The reset signal generation circuit detects a change from OFF to ON from this signal and sends a reset signal to the peak hold circuit. The reset signal clears the maximum output value and starts storing the maximum output value from the receiving circuit again. As described above, the maximum output value is updated each time the unevenness is detected once.

【0008】[0008]

【実施例】この発明を、実施例により具体的に説明す
る。図1に、この発明による一実施例の凹凸検出回路の
ブロック図を示す。この態様の回路は、送信回路で制御
された発光素子からの光を、送光用光ファイバで反射型
センサヘッドまで伝送し、そこから凹凸検出対象(例え
ば、キー)の凹凸面に光を照射して、この凹凸変化によ
る反射光の受光量変化を受光用光ファイバを介して光信
号として受信し、受光素子で電気信号に変換して出力す
る受信回路と、リセット信号の入力時より受信回路から
の最高出力値記憶し、最高出力値を出力するピークホ
ールド回路と、ピークホールド回路からの最高出力値に
基づき所定の分割比により、ON/OFF判定レベルを
算出しこのレベルをリファレンス信号として出力するO
N/OFF判定レベル生成回路と、受信回路からの出力
とリファレンス信号とを比較して、凹と凸とに対応する
OFFとONとからなる2値化信号を出力する比較回路
と、比較回路の2値化信号を入力してOFFからONへ
の変化を検出してピークホールド回路へリセット信号を
送出するリセット信号生成回路とからなる。
EXAMPLES The present invention will be specifically described with reference to examples. FIG. 1 is a block diagram of an unevenness detecting circuit according to an embodiment of the present invention. The circuit according to this aspect transmits light from a light emitting element controlled by a transmission circuit to a reflection type sensor head via a light transmitting optical fiber, and irradiates the uneven surface of an unevenness detection target (for example, a key) therefrom with light. A receiving circuit that receives a change in the amount of reflected light received by the unevenness as an optical signal through a light receiving optical fiber, converts the received signal into an electric signal with a light receiving element, and outputs the electric signal. And a peak hold circuit for storing the highest output value from the controller and outputting the highest output value. An ON / OFF determination level is calculated by a predetermined division ratio based on the highest output value from the peak hold circuit, and this level is used as a reference signal. O to output
An N / OFF determination level generation circuit, a comparison circuit that compares an output from the reception circuit with a reference signal, and outputs a binary signal composed of OFF and ON corresponding to the concave and convex, and A reset signal generating circuit for receiving a binary signal, detecting a change from OFF to ON, and sending a reset signal to the peak hold circuit.

【0009】次いで、この態様の回路の動作を、図2を
参照しながら、説明する。反射型光ファイバセンサを用
いて、出射光を凹凸面に照射して、この凹凸変化による
反射光を、受光する。受信回路では、この受光量変化の
光信号を電気信号に変換して出力する。この受信回路の
出力は、図2の太い実線の曲線に示されるように、表面
状態の凸の場合に高くなり、凹の場合に低くなる。受信
回路からの出力は、ピークホールド回路に送信され、ピ
ークホールド回路では、リセット信号の入力時より受信
回路からの最高出力値の記憶し、ON/OFF判定レベ
ル生成回路に最高出力値を出力する。ピークホールド回
路の出力は、図2の曲線に示されるように、受信回路の
出力が上昇中は、それに追随し、受信回路の出力が下が
ってもその値を維持する。
Next, the operation of the circuit of this embodiment will be described with reference to FIG. The reflected light is irradiated onto the uneven surface using the reflection type optical fiber sensor, and the reflected light due to the change in the unevenness is received. The receiving circuit converts the light signal of the change in the amount of received light into an electric signal and outputs the electric signal. As shown by the thick solid curve in FIG. 2, the output of the receiving circuit increases when the surface state is convex and decreases when the surface state is concave. The output from the receiving circuit is transmitted to the peak hold circuit. The peak hold circuit stores the maximum output value from the receiving circuit when the reset signal is input, and outputs the maximum output value to the ON / OFF determination level generation circuit. . As shown by the curve in FIG. 2, the output of the peak hold circuit follows the rise of the output of the receiving circuit and maintains the value even when the output of the receiving circuit falls.

【0010】ON/OFF判定レベル生成回路では、ピ
ークホールド回路からの最高出力値に基づき所定の分割
比(例えば、50%)により、ON/OFF判定レベル
を算出し、このレベルをリファレンス信号として比較回
路に出力する。ON/OFF判定レベル生成回路の出力
を、図2の細い実線の曲線に示す。比較回路では、受信
回路からの出力とリファレンス信号とを比較して、凹と
凸とに対応するOFFとONとからなる2値化信号を出
力する。図2の比較回路出力に示されるよう、この2値
化信号が、表面に凹凸として賦形された2値化信号とな
る。
The ON / OFF determination level generation circuit calculates an ON / OFF determination level by a predetermined division ratio (for example, 50%) based on the maximum output value from the peak hold circuit, and compares this level as a reference signal. Output to the circuit. The output of the ON / OFF determination level generation circuit is shown by a thin solid line curve in FIG. The comparison circuit compares the output from the reception circuit with the reference signal and outputs a binary signal consisting of OFF and ON corresponding to the concave and convex. As shown in the output of the comparison circuit in FIG. 2, this binarized signal becomes a binarized signal shaped as irregularities on the surface.

【0011】他方、比較回路は、比較回路の2値化信号
をリセット信号生成回路に送出し、リセット信号生成回
路では、図2のリセット信号出力に示されるよう、この
信号からOFFからONへの変化を検出してピークホー
ルド回路へリセット信号を送出する。このリセット信号
により、最高出力値がクリアされ、再び、受信回路から
の最高出力値の記憶が開始される。このように、凹凸が
1回検出される毎に、最高出力値を更新する。
On the other hand, the comparison circuit sends the binarized signal of the comparison circuit to the reset signal generation circuit, and the reset signal generation circuit changes the signal from OFF to ON as shown in the reset signal output of FIG. A change is detected and a reset signal is sent to the peak hold circuit. The reset signal clears the maximum output value and starts storing the maximum output value from the receiving circuit again. As described above, the maximum output value is updated each time the unevenness is detected once.

【0012】[0012]

【発明の効果】上記実施例に実証されるように、この発
明により、センサヘッドの汚れの付着、光電スイッチの
送信パワーの劣化など起こっても、また、キー挿入時の
センサヘッドとの距離変動やキー表面状態の継時的変化
に対しても、正確にON/OFFを判定して読み取るこ
とができるという効果を奏する。
As demonstrated in the above embodiment, according to the present invention, even if the sensor head becomes contaminated, the transmission power of the photoelectric switch deteriorates, or the distance from the sensor head at the time of key insertion changes. Also, it is possible to accurately determine ON / OFF and read the information even when the key surface condition changes over time.

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

【図1】図1は、この発明による一実施例の凹凸検出回
路のブロック図である。
FIG. 1 is a block diagram of an unevenness detection circuit according to one embodiment of the present invention.

【図2】図2は、この発明による一実施例の凹凸検出回
路の動作を説明するタイムチャートである。
FIG. 2 is a time chart for explaining the operation of the unevenness detecting circuit according to one embodiment of the present invention;

【図3】図3は、従来の凹凸検出回路の動作を説明する
タイムチャートである。
FIG. 3 is a time chart for explaining the operation of the conventional unevenness detection circuit.

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

A・・・ 正常な受光量変動曲線 b・・・ 劣化した場合の受光量変動曲線 A: Normal light reception amount fluctuation curve b: Light reception amount fluctuation curve when deteriorated

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭57−108703(JP,A) 特開 昭57−6304(JP,A) 特開 平3−242540(JP,A) (58)調査した分野(Int.Cl.7,DB名) G01B 11/00 - 11/30 102 G01D 5/00 - 5/62 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-57-108703 (JP, A) JP-A-57-6304 (JP, A) JP-A-3-242540 (JP, A) (58) Survey Field (Int.Cl. 7 , DB name) G01B 11/00-11/30 102 G01D 5/00-5/62

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 受光量変化を光信号として受信し、電気
信号に変換して出力する受信回路と、リセット信号の入
力毎に初期値に戻しその後、該受信回路からの最高出力
値を記憶し、該最高出力値を出力するピークホールド回
路と、ピークホールド回路からの最高出力値に基づき所
定の分割比により、ON/OFF判定レベルを算出し該
レベルをリファレンス信号として出力するON/OFF
判定レベル生成回路と、受信回路からの出力と該リファ
レンス信号とを比較して、OFFとONとからなる2値
化信号を出力する比較回路と、比較回路の2値化信号を
入力してOFFからONへの変化を検出してピークホー
ルド回路へリセット信号を送出するリセット信号生成回
路とからなることを特徴とする検出回路
1. A receiving circuit for receiving a change in the amount of received light as an optical signal, converting the received signal into an electric signal and outputting the signal, and resetting an initial value each time a reset signal is input, and thereafter storing a maximum output value from the receiving circuit. A peak hold circuit that outputs the highest output value, and an ON / OFF determination level that calculates an ON / OFF determination level by a predetermined division ratio based on the highest output value from the peak hold circuit and outputs the level as a reference signal.
A comparison circuit that compares a decision level generation circuit, an output from a reception circuit with the reference signal, and outputs a binarized signal consisting of OFF and ON, and inputs a binarized signal of the comparison circuit to OFF A reset signal generation circuit for detecting a change from ON to ON and sending a reset signal to a peak hold circuit .
JP07435293A 1993-03-31 1993-03-31 Detection circuit Expired - Fee Related JP3204787B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07435293A JP3204787B2 (en) 1993-03-31 1993-03-31 Detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07435293A JP3204787B2 (en) 1993-03-31 1993-03-31 Detection circuit

Publications (2)

Publication Number Publication Date
JPH06288736A JPH06288736A (en) 1994-10-18
JP3204787B2 true JP3204787B2 (en) 2001-09-04

Family

ID=13544654

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07435293A Expired - Fee Related JP3204787B2 (en) 1993-03-31 1993-03-31 Detection circuit

Country Status (1)

Country Link
JP (1) JP3204787B2 (en)

Also Published As

Publication number Publication date
JPH06288736A (en) 1994-10-18

Similar Documents

Publication Publication Date Title
US5489149A (en) Optical distance measurement apparatus provided with smear detector device
JP5596011B2 (en) Photoelectric sensor, object detection and distance measuring method
EP1528411B1 (en) Distance measurement sensor
JP5760167B2 (en) Spatial information detector
FR2563646A1 (en) OBJECT SENSOR APPARATUS COMPRISING PHOTODETECTORS AND FOR RESTRICTED DETECTION AREA
JP5760168B2 (en) Spatial information detector
US7569843B2 (en) Method for processing receiver signal and optical sensor
CN110780309A (en) System and method for improving range resolution in a LIDAR system
US6492652B2 (en) Opto-electronic distance sensor and method for the opto-electronic distance measurement
JP3204787B2 (en) Detection circuit
ATE414900T1 (en) OBJECT SENSOR AND ITS APPLICATION IN A WINDSHIELD WIPER CONTROL CIRCUIT
JP4334678B2 (en) Distance measuring device
US6854649B2 (en) Optoelectronic device
JP3218114B2 (en) Reading sensor
US6128112A (en) Weighted-sum processing method and apparatus for decoding digital signals
JP3193148B2 (en) Distance detection device
CN120065179A (en) Method for resisting periodic ambient light interference of photoelectric sensor and photoelectric sensor
EP0936572B1 (en) Optical device for reading and decoding a barcode
JP4245956B2 (en) Single photon detection probability setting method
JPH0354317B2 (en)
US5694231A (en) Weighted-sum processing method and apparatus for decoding optical signals
JP4859272B2 (en) Method and apparatus for decoding received signals for encoding and transmitting data
CA2059807A1 (en) Scan velocity detector and code reader using the same
EP1148346B1 (en) Method for calibrating a photoelectric cell
JPH07198846A (en) Distance measuring device

Legal Events

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