JPH06241786A - Range finder - Google Patents

Range finder

Info

Publication number
JPH06241786A
JPH06241786A JP5463493A JP5463493A JPH06241786A JP H06241786 A JPH06241786 A JP H06241786A JP 5463493 A JP5463493 A JP 5463493A JP 5463493 A JP5463493 A JP 5463493A JP H06241786 A JPH06241786 A JP H06241786A
Authority
JP
Japan
Prior art keywords
distance
distance measuring
signal
light
measuring device
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
JP5463493A
Other languages
Japanese (ja)
Inventor
Takanobu Tsunemiya
隆信 常宮
Masanori Otsuka
正典 大塚
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP5463493A priority Critical patent/JPH06241786A/en
Publication of JPH06241786A publication Critical patent/JPH06241786A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the range finding from being made impossible and prevent the reduction of the ranging precision. CONSTITUTION:A ranging device is provided with a distance estimating means 5 estimating whether a ranging object is located at a far distance or at a near distance and a signal switching means 4 switching the signal used for the first integration in an arithmetic means 6 within two kinds of signals A, B from a light receiving means 2 in response to the estimated result by the distance estimating means 5. Whether the ranging object is located at the far distance or at the near distance is estimated in response to the signal level of either one of two kinds of signals from the light receiving means 2 or in response to the positional information from an operating means externally inputting the positional information of the ranging object, and the signal used for the first integration in the arithmetic means 6 is switched.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、投光手段よりの投射光
の測距対象物での反射光を受光し、距離に依存した2種
の信号を出力する受光手段と、該受光手段からの一方の
信号を積分し、両方の信号によって上記とは逆方向に積
分して測距データを算出する演算手段とを備えた測距装
置の改良に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a light receiving means for receiving reflected light of a projected light from a light projecting means on a distance measuring object and outputting two kinds of signals depending on the distance, and the light receiving means. The present invention relates to an improvement of a distance measuring device provided with a calculating means for integrating one signal and integrating it in the opposite direction by both signals to calculate distance measuring data.

【0002】[0002]

【従来の技術】従来より、アクティブ方式の測距装置に
おいて、測距精度の向上及び測距範囲の拡大を実現する
べく種々の提案がなされている。
2. Description of the Related Art Heretofore, various proposals have been made for active range-finding devices to improve the range-finding accuracy and expand the range.

【0003】例えば、測距対象物へ光を投射し、その反
射光(信号光)を受光することにより、対象物までの距
離を測定する測距装置において、受光信号の飽和(ダイ
ナミックレンジ)対策として、投光手段の投光エネルギ
ーの強度(投光パワー)をコントロールしたり、受光手
段の増幅率や積分時間をコントロールする手段を備えた
ものが提案されている。また、受光信号の強さにより測
距結果の有効か否かの判定を行う手段を備えたものも提
案されている。
For example, in a distance measuring device that measures the distance to an object by projecting light on the object and receiving the reflected light (signal light), saturation of the received light signal (dynamic range) is taken. As such, there has been proposed a device provided with a means for controlling the intensity of the projection energy of the projection means (projection power) and for controlling the amplification factor and integration time of the light receiving means. Further, there is also proposed a device provided with a means for determining whether or not the distance measurement result is valid based on the intensity of the received light signal.

【0004】これら従来例を、図7のフローチャートを
用いて説明する。
These conventional examples will be described with reference to the flowchart of FIG.

【0005】赤外発光ダイオード等の投光手段より測距
対象物へ向けて投光し、その測距対象物での反射光を受
光する半導体位置検出器等の受光手段の出力A,Bを用
い、例えば、A/(A+B)の二重積分により測距情報
を算出する測距装置において、近距離と遠距離に測距対
象物が居る場合の上記PSDでの受光信号の強さは、数
百倍以上の差を有するものである為、同じ信号処理系を
用いたのでは正確な測距情報を得ることができない。
Outputs A and B of a light receiving means such as a semiconductor position detector which projects light from a light emitting means such as an infrared light emitting diode toward a distance measuring object and receives reflected light from the distance measuring object. For example, in the distance measuring device that calculates the distance measuring information by double integration of A / (A + B), the intensity of the light receiving signal at the PSD when the distance measuring object is present at a short distance and a long distance is: Since the difference is several hundred times or more, accurate distance measurement information cannot be obtained using the same signal processing system.

【0006】そこで、図7に示すように、先ず、投光手
段の投光パワーをフルの状態にして測距対象へ向けて投
光し(ステップ401)、次いで、その時の受光手段の
出力の和信号(A+B)が所定の値よりも大きいか否か
を判別し、大きいと判別した場合(測距対象物が近距離
側に居るような場合)には、信号処理系(アンプ等)が
飽和してしまうため、投光パワーをセーブする。そして
再び受光手段の出力の和信号(A+B)と所定の値を比
較し、前記出力の和信号(A+B)が所定の値以下にな
るまでこのような動作を繰り返す(ステップ402→4
03→402)。
Therefore, as shown in FIG. 7, first, the light projecting power of the light projecting means is set to the full state and light is projected toward the object to be measured (step 401), and then the output of the light receiving means at that time is output. It is determined whether or not the sum signal (A + B) is larger than a predetermined value, and when it is determined that the sum signal (A + B) is larger (when the object to be measured is on the short distance side), the signal processing system (amplifier, etc.) Since it will be saturated, the projection power will be saved. Then, the sum signal (A + B) of the output of the light receiving means is again compared with a predetermined value, and such an operation is repeated until the sum signal (A + B) of the output becomes equal to or less than the predetermined value (step 402 → 4).
03 → 402).

【0007】上記受光手段の出力の和信号(A+B)が
所定の値以下になると、信号処理系の飽和を防止できる
ことから、前記出力AとBを使ってA/(A+B)の測
距演算を行い、距離情報を算出する(ステップ40
5)。
When the sum signal (A + B) of the outputs of the light receiving means becomes less than a predetermined value, the saturation of the signal processing system can be prevented. Therefore, the outputs A and B are used to perform the distance measurement calculation of A / (A + B). Then, the distance information is calculated (step 40).
5).

【0008】次いで、得られた測距情報の信頼性を向上
させる為に、上記式の分子(出力A)の信号の強さの判
定を行い、測距情報が有効か否かを調べる。この結果、
有効でないと判別した場合には、無限判定を行う。この
ような判定を行うことにより、測距精度を向上を図るこ
とができる。
Next, in order to improve the reliability of the obtained distance measurement information, the strength of the signal of the numerator (output A) in the above equation is determined to check whether the distance measurement information is valid. As a result,
If it is determined that it is not valid, infinite determination is performed. By performing such a determination, it is possible to improve the ranging accuracy.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、上記の
測距装置においては、A/(A+B)なる積分により測
距情報を算出する方式である為、測距対象物からの反射
光が受光手段の端に結像された場合、Aの出力とBの出
力の差は大きく、投光パワーはどちらか強い方の出力に
依存してしまう。
However, in the above distance measuring device, since the distance measuring information is calculated by the integration of A / (A + B), the reflected light from the distance measuring object is received by the light receiving means. When the image is formed at the edge, the difference between the output of A and the output of B is large, and the projection power depends on the output of which is stronger.

【0010】従って、測距対象物が至近に居たような場
合、測距範囲内に居るにもかかわらず積分方式等により
測距不能になったり、無限判定をしてレンズを無限位置
に設定してしまう、つまり測距精度の低下を招くといっ
た問題点があった。
Therefore, when the object to be measured is in the vicinity, it becomes impossible to measure the distance due to the integration method or the like even though it is within the range, or the lens is set to the infinite position by infinity determination. However, there is a problem in that the distance measurement accuracy is degraded.

【0011】(発明の目的)本発明の目的は、測距不能
になることや、測距精度が低下してしまうといったこと
を防止することのできる測距装置を提供することであ
る。
(Object of the Invention) An object of the present invention is to provide a distance measuring device which can prevent the distance measuring from being impossible and the distance measuring accuracy from being lowered.

【0012】[0012]

【課題を解決するための手段】本発明は、測距対象物が
遠距離に位置するか近距離に位置するかの推定を行う距
離推定手段と、該距離推定手段の推定結果に応じて、受
光手段からの2種の信号のうち、演算手段における最初
の積分に用いる信号を切換える信号切換手段とを設け、
受光手段からの2種の信号のうちの何れか一方の信号レ
ベルに応じて、或は、測距対象物の位置情報を外部入力
する操作手段からの位置情報に応じて、測距対象物が遠
距離に位置するか近距離に位置するかの推定を行い、演
算手段における最初の積分に用いる信号を切換えるよう
にしている。
According to the present invention, a distance estimating means for estimating whether a distance measuring object is located at a long distance or a short distance and an estimation result of the distance estimating means are provided. A signal switching means for switching the signal used for the first integration in the arithmetic means out of the two kinds of signals from the light receiving means,
Depending on the signal level of either one of the two types of signals from the light receiving means, or according to the position information from the operating means for externally inputting the position information of the distance measuring object, It is estimated whether it is located at a long distance or a short distance, and the signal used for the first integration in the calculation means is switched.

【0013】また、受光手段からの2種の信号を異なる
判別レベルにてそれぞれ比較し、この判別結果、測距対
象物が所定の距離であると推定される場合には、予め設
定されている測距データを最終的な測距データとする測
距データ設定手段を設け、受光手段からの2種の信号か
ら測距対象物が所定の距離であると推定される場合に
は、予め設定されている測距データを最終的な測距デー
タとするようにしている。
Further, when two kinds of signals from the light receiving means are compared at different discrimination levels, and as a result of the discrimination, it is estimated that the object to be measured has a predetermined distance, it is set in advance. Distance measuring data setting means for setting the distance measuring data as final distance measuring data is provided, and is set in advance when it is estimated that the distance measuring object is a predetermined distance from the two kinds of signals from the light receiving means. The measured distance data is set as the final distance measurement data.

【0014】[0014]

【実施例】以下、本発明を図示の実施例に基づいて詳細
に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below based on the illustrated embodiments.

【0015】図1は本発明の第1の実施例における測距
装置の概略構成を示すブロック図であり、図中、1は投
光手段であるところの赤外発光ダイオード(以下、IR
EDと記す)である。2は受光手段であるところの半導
体位置検出器(以下、PSDと記す)であり、測距対象
物が近距離(N)側に位置する程大なる信号Aを出す出
力端2aと遠距離(F)側に位置する程大なる信号Bを
出す出力端2bを有する。3は前記IRED1の投光パ
ワーを制御する投光パワー制御回路、4は前記PSD2
の出力端子2aもしくは2bのどちらのセンサ出力を後
段に出力するかの切換えを行うセンサ出力切換回路、5
は前記センサ出力切換回路4によって選択されたセンサ
出力が所定のレベルにあるか否かを判定するレベル判定
回路である。6は、前記レベル判定回路5からの信号に
基づいて投光パワー制御回路3を制御したり、前記セン
サ出力切換回路4の切換え制御を行うマイクロコンピュ
ータ(以下、マイコンと記す)である。7は近距離側撮
影か遠距離側撮影かを設定するための測距範囲切換スイ
ッチである。
FIG. 1 is a block diagram showing the schematic arrangement of a distance measuring apparatus according to the first embodiment of the present invention. In the figure, 1 is an infrared light emitting diode (hereinafter, IR) which is a light projecting means.
ED). Reference numeral 2 denotes a semiconductor position detector (hereinafter referred to as PSD), which is a light receiving means, and outputs a signal A that is greater as the object to be measured is located closer to the short distance (N) side and a long distance ( It has an output end 2b that outputs a larger signal B toward the F) side. 3 is a projection power control circuit for controlling the projection power of the IRED 1 and 4 is the PSD 2
Sensor output switching circuit for switching which sensor output of the output terminal 2a or 2b of the
Is a level determination circuit for determining whether or not the sensor output selected by the sensor output switching circuit 4 is at a predetermined level. Reference numeral 6 denotes a microcomputer (hereinafter, referred to as a microcomputer) that controls the light projection power control circuit 3 based on a signal from the level determination circuit 5 and controls switching of the sensor output switching circuit 4. Reference numeral 7 denotes a range-finding range switching switch for setting whether the short-distance side photographing or the long-distance side photographing is performed.

【0016】図2は上記PSD2を拡大して示す図であ
り、8は測距対象物が近距離側に位置した場合のPSD
2上の反射像である。
FIG. 2 is an enlarged view of the PSD 2, and 8 is a PSD when the object to be measured is located on the near side.
2 is a reflection image on 2.

【0017】次に、図3のフローチャートを用いて、測
距情報を得る場合のマイコン6での動作について説明す
る。 [ステップ101] 投光パワー制御回路3を介して投
光手段であるIRED1へ流す電流を最大にし、該IR
ED1を点灯させる。 [ステップ102] 受光手段であるPSD2の各出力
の和信号(A+B)がレベル判定回路5へ入力するべく
センサ出力切換回路4を制御する。 [ステップ103] 上記ステップ102において選択
された和信号(A+B)が所定の第1のレベルにあるか
否かを判定するレベル判定回路5による判定結果を判別
し、この時の判定結果が所定の第1のレベル以上であっ
た場合にはステップ108へ進み、所定の第1のレベル
未満であった場合にはステップ104へ進む。 [ステップ104] ここでは受光手段であるPSD2
の出力信号Aがレベル判定回路5へ入力するべくセンサ
出力切換回路4を制御する。 [ステップ105] 上記ステップ104において選択
された信号Aが所定の第2のレベルにあるか否かを判定
するレベル判定回路5による判定結果を判別し、この時
の判定結果が所定の第2のレベル以上であった場合に
は、測距対象物は近距離側に居るとしてステップ106
へ進み、所定の第2のレベル未満であった場合には、測
距対象物は遠距離側に居るとしてステップ109へ進
む。 [ステップ106] ここでは測距対象物が近距離側に
居るであろうことがある程度わかっているいるため、出
力信号の強い方を分子側にすることで、測距時間の短縮
や精度が向上する事から、二重積分による測距演算式を
近距離側に有利な、A/(A+B)とし、これによりP
SD2上の重心を求める、つまり測距情報を算出する。 [ステップ107] 上記の演算式の分子の信号の強さ
により、演算結果が有効な値であるか否かを判定し、有
効な場合は、上記の演算結果を測距結果としてこの動作
を終了する。また、有効でないと判別した場合にはステ
ップ110へと進む。
Next, the operation of the microcomputer 6 when obtaining the distance measurement information will be described with reference to the flowchart of FIG. [Step 101] The current flowing to the IRED1 which is the light projecting means is maximized via the light projecting power control circuit 3, and the IR
Turn on ED1. [Step 102] The sensor output switching circuit 4 is controlled so that the sum signal (A + B) of the outputs of the PSD 2 serving as the light receiving means is input to the level determination circuit 5. [Step 103] The judgment result by the level judgment circuit 5 for judging whether the sum signal (A + B) selected in the above step 102 is at a predetermined first level is judged, and the judgment result at this time is a predetermined value. If it is equal to or higher than the first level, the process proceeds to step 108, and if it is lower than the predetermined first level, the process proceeds to step 104. [Step 104] Here, PSD2 which is a light receiving means
The sensor output switching circuit 4 is controlled so that the output signal A of 1 is input to the level determination circuit 5. [Step 105] The determination result by the level determination circuit 5 for determining whether or not the signal A selected in the above step 104 is at the predetermined second level is determined, and the determination result at this time is the predetermined second level. If it is equal to or higher than the level, it is determined that the object to be measured is on the short-distance side and step 106
If it is below the predetermined second level, it is determined that the object to be measured is on the far side, and the process proceeds to step 109. [Step 106] Here, it is known to some extent that the object to be measured will be on the short distance side. Therefore, by setting the one with the stronger output signal to the numerator side, the distance measurement time is shortened and the accuracy is improved. Therefore, the distance calculation formula by double integration is set to A / (A + B), which is advantageous for the short distance side.
The center of gravity on SD2 is obtained, that is, the distance measurement information is calculated. [Step 107] It is determined whether or not the calculation result is a valid value based on the strength of the numerator signal of the above calculation formula, and if it is valid, the above calculation result is set as the distance measurement result and this operation is terminated. To do. On the other hand, if it is determined that it is not valid, the process proceeds to step 110.

【0018】上記ステップ102において選択された和
信号(A+B)が所定の第1のレベル以上であることが
判別されている場合には、前述したようにステップ10
3からステップ108へ進む。 [ステップ108] ここではIRED1の投光パワー
が強いので、投光パワー制御回路3を介してIRED1
への電流を少し小さくし、投光パワーを落す。そして、
再びステップ103へ戻る。
If it is determined in step 102 that the sum signal (A + B) selected is equal to or higher than the predetermined first level, step 10 is performed as described above.
From 3 to step 108. [Step 108] Since the projection power of IRED1 is strong here, IRED1 is transmitted through the projection power control circuit 3.
To reduce the current to a little, reduce the projection power. And
It returns to step 103 again.

【0019】この動作(ステップ103→108→10
3)は、上記ステップ103において和信号(A+B)
が第1の所定のレベル未満であると判別される間、繰り
返し実行されることになる。
This operation (steps 103 → 108 → 10)
3) is the sum signal (A + B) in step 103.
Will be repeatedly executed while it is determined that is less than the first predetermined level.

【0020】上記ステップ104において選択された信
号Aが所定の第2のレベル未満であることが判別されて
いる場合には、前述したように測距対象物は遠距離側に
居るとしてステップ105からステップ109へ進む。 [ステップ109] ここでは測距対象物が遠距離側に
居るであろうことがある程度わかっているため、上記ス
テップ106の場合と同様の理由から、二重積分による
測距演算式を遠距離側に有利な、B/(A+B)とし、
これにより測距情報を算出する。そして、前述のステッ
プ107以降の動作へと進む。
If it is determined in step 104 that the signal A selected is less than the predetermined second level, it is determined from step 105 that the object to be measured is on the far side as described above. Go to step 109. [Step 109] Here, it is known to some extent that the object to be measured will be on the far distance side. Therefore, for the same reason as in the case of step 106, the distance calculation formula by the double integration is set on the far distance side. B / (A + B), which is advantageous to
With this, distance measurement information is calculated. Then, the process proceeds to the operation after step 107 described above.

【0021】また、上記ステップ107において演算結
果が有効でないと判別した場合には、前述したようにこ
のステップ107からステップ110へと進む。 [ステップ110] ここでは演算結果が有効でないた
め、ノイズや信号の大きさに問題があることから、上記
の演算結果に関係なく無限の位置に測距対象物が居ると
判定し、測距情報を「無限」とする。
If it is determined in step 107 that the calculation result is not valid, the process proceeds from step 107 to step 110 as described above. [Step 110] Since the calculation result is not valid here, and there is a problem in the size of the noise and the signal, it is determined that the distance measurement target is at an infinite position regardless of the calculation result, and the distance measurement information is determined. Is "infinite".

【0022】図4は、測距演算式を「A/(A+B)」
にした場合と「B/(A+B)」にした場合の、つまり
演算式を切換えた場合の積分波形を示す図である。
FIG. 4 shows the distance calculation formula as "A / (A + B)".
It is a figure which shows the integral waveform when it is set to "B / (A + B)", that is, when the arithmetic expressions are switched.

【0023】この第1の実施例においては、PSD2の
出力信号A,Bの大きさを調べ、これによって測距対象
物の大枠の距離(近距離側か遠距離側か)を判別し、こ
の判別結果に応じて測距演算式を、A/(A+B)とす
るかB/(A+B)とするかを選択し、選択した演算式
によって測距情報を算出するようにしているため、測距
情報算出の時間短縮や測距精度の低下を防止すると共
に、近距離測距対象物の無限判定などの誤測距を防止す
ることが可能となる。
In the first embodiment, the magnitudes of the output signals A and B of the PSD 2 are checked, the distance of the large frame of the object to be measured (whether it is the short distance side or the long distance side) is discriminated, and Depending on the determination result, the distance measurement calculation formula is selected to be A / (A + B) or B / (A + B), and the distance measurement information is calculated by the selected calculation formula. It is possible to prevent a reduction in information calculation time and a reduction in distance measurement accuracy, and to prevent erroneous distance measurement such as infinity determination of a short distance object.

【0024】(第2の実施例)図5は本発明の第2の実
施例における測距装置の動作を示すフローチャートであ
り、以下これにしたがって説明する。なお、この実施例
における測距装置の回路構成は第1の実施例と同様であ
るので、ここでは省略する。 [ステップ201] 投光パワー制御回路3を介して投
光手段であるIRED1へ流す電流を最大にし、該IR
ED1を点灯させる。 [ステップ202] 受光手段であるPSD2の各出力
の和信号(A+B)がレベル判定回路5へ入力するべく
センサ出力切換回路4を制御する。 [ステップ203] 上記ステップ202において選択
された和信号(A+B)が所定の第1のレベルにあるか
否かを判定するレベル判定回路5による判定結果を判別
し、この時の判定結果が所定の第1のレベル以上であっ
た場合にはステップ210へ進み、所定の第1のレベル
未満であった場合にはステップ204へ進む。 [ステップ204] ここでは受光手段であるPSD2
の出力信号Aがレベル判定回路5へ入力するべくセンサ
出力切換回路4を制御する。 [ステップ205] 上記ステップ204において選択
された信号Aが所定の第2のレベルにあるか否かを判定
するレベル判定回路5による判定結果を判別し、この時
の判定結果が所定の第2のレベル以上であった場合に
は、測距対象物は近距離側に居るとしてステップ206
へ進み、所定の第2のレベル未満であった場合には、測
距対象物は遠距離側に居るとしてステップ208へ進
む。 [ステップ206] ここでは受光手段であるPSD2
の出力信号Bがレベル判定回路5へ入力するべくセンサ
出力切換回路4を制御する。 [ステップ207] 上記ステップ206において選択
された信号Aが所定の第3のレベルにあるか否かを判定
するレベル判定回路5による判定結果を判別し、この時
の判定結果が所定の第3のレベル以下であった場合に
は、測距対象物は至近側に居るとしてステップ211へ
進み、所定の第3のレベルを超える場合には、測距対象
物は通常距離側に居るとしてステップ208へ進む。 [ステップ208] ここでは測距対象物が通常撮影距
離に居るであろうことがわかっているため、B/(A+
B)とし、これによりPSD2上の重心を求める、つま
り測距情報を算出する。 [ステップ209] 上記の演算式の分子の信号の強さ
により、演算結果が有効な値であるか否かを判定し、有
効な場合は、上記の演算結果を測距結果としてこの動作
を終了する。また、有効でないと判別した場合にはステ
ップ212へと進む。
(Second Embodiment) FIG. 5 is a flow chart showing the operation of the distance measuring apparatus according to the second embodiment of the present invention, which will be described below. Since the circuit configuration of the distance measuring device in this embodiment is the same as that of the first embodiment, it is omitted here. [Step 201] The current flowing to the IRED1 which is the light projecting means is maximized through the light projecting power control circuit 3, and the IR
Turn on ED1. [Step 202] The sensor output switching circuit 4 is controlled so that the sum signal (A + B) of the outputs of the PSD 2 serving as the light receiving means is input to the level determination circuit 5. [Step 203] The determination result by the level determination circuit 5 that determines whether or not the sum signal (A + B) selected in the above step 202 is at a predetermined first level is determined. If it is equal to or higher than the first level, the process proceeds to step 210, and if it is lower than the predetermined first level, the process proceeds to step 204. [Step 204] Here, PSD2 which is a light receiving means
The sensor output switching circuit 4 is controlled so that the output signal A of 1 is input to the level determination circuit 5. [Step 205] The determination result by the level determination circuit 5 for determining whether or not the signal A selected in the above step 204 is at the predetermined second level is determined, and the determination result at this time is the predetermined second level. If it is equal to or higher than the level, it is determined that the object to be measured is on the short-distance side, and step 206
If it is below the predetermined second level, it is determined that the object to be measured is on the far side, and the process proceeds to step 208. [Step 206] Here, PSD2 which is a light receiving means
The sensor output switching circuit 4 is controlled so that the output signal B of 1 is input to the level determination circuit 5. [Step 207] The determination result by the level determination circuit 5 for determining whether or not the signal A selected in the above step 206 is at the predetermined third level is determined, and the determination result at this time is the predetermined third level. If it is below the level, the object to be measured is on the near side, and the process proceeds to step 211. If it exceeds the predetermined third level, the object to be measured is on the normal distance side and the process is to step 208. move on. [Step 208] Here, since it is known that the object to be measured is at the normal shooting distance, B / (A +
In step B), the center of gravity on the PSD 2 is obtained, that is, the distance measurement information is calculated. [Step 209] Based on the signal strength of the numerator of the above arithmetic expression, it is determined whether or not the arithmetic result is a valid value. To do. On the other hand, if it is determined that it is not valid, the process proceeds to step 212.

【0025】上記ステップ202において選択された和
信号(A+B)が所定の第1のレベル以上であることが
判別されている場合には、前述したようにステップ20
3からステップ210へ進む。 [ステップ210] ここではIRED1の投光パワー
が強いので、投光パワー制御回路3を介してIRED1
への電流を少し小さくし、投光パワーを落す。そして、
再びステップ203へ戻る。
If it is determined in step 202 that the sum signal (A + B) selected is equal to or higher than the predetermined first level, step 20 is performed as described above.
From 3 to step 210. [Step 210] Since the projection power of the IRED1 is strong here, the IRED1 is transmitted via the projection power control circuit 3.
To reduce the current to a little, reduce the projection power. And
It returns to step 203 again.

【0026】この動作(ステップ203→210→20
3)は、上記ステップ203において和信号(A+B)
が所定の第1のレベル未満であると判別される間、繰り
返し実行されることになる。
This operation (step 203 → 210 → 20)
3) is the sum signal (A + B) in step 203.
Will be repeatedly executed while it is determined that is less than the predetermined first level.

【0027】上記ステップ206において選択された信
号Aが所定の第3のレベル以下であった場合には、前述
した様に測距対象物は至近側に居るとしてステップ21
1へ進む。 [ステップ211] ここでは測距対象物が至近距離に
居ることが明らかであるので、測距演算をせずに測距デ
ータを「至近」とする。
If the signal A selected in step 206 is lower than the predetermined third level, it is determined that the object to be measured is on the near side, as described above, step 21.
Go to 1. [Step 211] Here, since it is clear that the object for distance measurement is in a close range, the distance measurement data is set to "close range" without performing the distance calculation.

【0028】また、上記ステップ209において演算結
果が有効でないと判別した場合には、前述したようにこ
のステップ209からステップ212へと進む。 [ステップ212] ここでは演算結果が有効でないた
め、測距情報を「無限」とする。
If it is determined in step 209 that the calculation result is not valid, the process proceeds from step 209 to step 212 as described above. [Step 212] Since the calculation result is not valid here, the distance measurement information is set to "infinity".

【0029】この第2の実施例においては、PSD2の
出力信号A,Bの大きさをそれぞれ調べ、これによって
測距対象物が至近距離に居るであろうことを判別した場
合には、測距演算を行わずに一義的に測距情報を「至
近」とするようにしている為、従来の様に無限判定をし
て大ボケ写真となってしまう事を防止することができ
る。つまり、近距離測距対象物の無限判定などの誤測距
を防止することが可能となる。
In the second embodiment, the magnitudes of the output signals A and B of the PSD 2 are respectively examined, and when it is determined that the distance measuring object is at a close range, the distance measuring is performed. Since the distance measurement information is uniquely set to the "closest" without performing the calculation, it is possible to prevent an infinite determination as in the conventional case and a large blurred image. That is, it is possible to prevent erroneous distance measurement such as infinity determination of a short-distance object.

【0030】(第3の実施例)図6は本発明の第3の実
施例における測距装置の動作を示すフローチャートであ
り、以下これにしたがって説明する。なお、この実施例
における測距装置の回路構成は第1の実施例と同様であ
るので、ここでは省略する。 [ステップ301] 投光パワー制御回路3を介して投
光手段であるIRED1へ流す電流を最大にし、該IR
ED1を点灯させる。 [ステップ302] PSD2の各出力の和信号(A+
B)が所定の第1のレベルにあるか否かを判定するレベ
ル判定回路5による判定結果を判別し、この時の判定結
果が所定の第1のレベル以上であった場合にはステップ
307へ進み、所定の第1のレベル未満であった場合に
はステップ303へ進む。 [ステップ303] ここでは測距範囲切換スイッチ7
の状態を判別し、近距離側撮影の場合はステップ304
へ進み、遠距離側撮影の場合はステップ305へ進む。 [ステップ304] ここでは測距対象物が近距離側に
居ることが明確であるので、第1の実施例と同様の理由
により、二重積分による測距演算式を近距離側に有利
な、A/(A+B)とし、これによりPSD2上の重心
を求める、つまり測距情報を算出する。 [ステップ305] 上記の演算式の分子の信号の強さ
により、演算結果が有効な値であるか否かを判定し、有
効な場合は、上記の演算結果を測距結果としてこの動作
を終了する。また、有効でないと判別した場合にはステ
ップ308へと進む。
(Third Embodiment) FIG. 6 is a flow chart showing the operation of the distance measuring apparatus in the third embodiment of the present invention, which will be described below. Since the circuit configuration of the distance measuring device in this embodiment is the same as that of the first embodiment, it is omitted here. [Step 301] The current flowing to the IRED1 which is the light projecting means is maximized through the light projecting power control circuit 3, and the IR
Turn on ED1. [Step 302] Sum signal (A +) of each output of PSD2
B) is determined by the level determination circuit 5 for determining whether or not is at a predetermined first level. If the determination result at this time is equal to or higher than the predetermined first level, go to step 307. If it is less than the predetermined first level, the process proceeds to step 303. [Step 303] Here, the range-finding range selector switch 7
Is determined, and in the case of short-distance shooting, step 304
Go to step 305 if shooting on the far side. [Step 304] Here, it is clear that the object to be measured is on the short distance side. Therefore, for the same reason as in the first embodiment, the distance calculation formula by double integration is advantageous on the short distance side. As A / (A + B), the center of gravity on the PSD 2 is obtained, that is, distance measurement information is calculated. [Step 305] It is determined whether or not the calculation result is a valid value based on the signal strength of the numerator of the above calculation formula, and if it is valid, the above calculation result is set as the distance measurement result and this operation is ended. To do. On the other hand, if it is determined that it is not valid, the process proceeds to step 308.

【0031】上記ステップ302において選択された和
信号(A+B)が所定の第1のレベル以上であることが
判別されている場合には、前述したようにステップ30
3からステップ307へ進む。 [ステップ307] ここではIRED1の投光パワー
が強いので、投光パワー制御回路3を介してIRED1
への電流を少し小さくし、投光パワーを落す。そして、
再びステップ302へ戻る。
If it is determined in step 302 that the sum signal (A + B) selected is higher than or equal to the predetermined first level, step 30 is performed as described above.
From 3 to step 307. [Step 307] Since the projection power of IRED1 is strong here, IRED1 is transmitted through the projection power control circuit 3.
To reduce the current to a little, reduce the projection power. And
It returns to step 302 again.

【0032】この動作(ステップ302→307→30
2)は、上記ステップ302において和信号(A+B)
が第1の所定のレベル未満であると判別される間、繰り
返し実行されることになる。
This operation (step 302 → 307 → 30)
2) is the sum signal (A + B) in step 302 above.
Will be repeatedly executed while it is determined that is less than the first predetermined level.

【0033】上記ステップ303において測距範囲切換
スイッチ7の状態が遠距離側撮影であると判別した場合
には、測距対象物は遠距離側に居るとして前述したよう
にステップ303からステップ305へ進む。 [ステップ305] ここでは測距対象物が遠距離側に
居ることが明らかであるので、上記ステップ304の場
合と同様の理由から、二重積分による測距演算式を遠距
離側に有利な、B/(A+B)とし、これにより測距情
報を算出する。そして、前述のステップ306以降の動
作へと進む。
When it is determined in step 303 that the range-finding range switch 7 is in the long-distance side photographing, the range-finding target is on the long-distance side, and as described above, the process proceeds from step 303 to step 305. move on. [Step 305] Here, since it is clear that the object to be measured is on the far side, for the same reason as in the case of step 304, the distance calculation formula by double integration is advantageous on the far side. B / (A + B), and the distance measurement information is calculated accordingly. Then, the operation proceeds to the operation after step 306 described above.

【0034】また、上記ステップ306において演算結
果が有効でないと判別した場合には、前述したようにこ
のステップ306からステップ308へと進む。 [ステップ308] ここでは演算結果が有効でないた
め、ノイズや信号の大きさに問題があることから、上記
の演算結果に関係なく無限の位置に測距対象物が居ると
判定し、測距情報を「無限」とする。
If it is determined in step 306 that the calculation result is not valid, the process proceeds from step 306 to step 308 as described above. [Step 308] Since the calculation result is not valid here and there is a problem in the size of the noise and the signal, it is determined that the object to be measured is at an infinite position regardless of the calculation result, and the distance measurement information is determined. Is "infinite".

【0035】この第3の実施例においては、測距対象物
が近距離側か遠距離側かを外部入力することのできるス
イッチ(測距範囲切換スイッチ7)を設け、このスイッ
チの状態によって、つまり測距対象物が近距離側か遠距
離側かの概略の判別を行い、この判別結果に応じて測距
演算式を、A/(A+B)とするかB/(A+B)とす
るかを選択し、選択した演算式によって測距情報を算出
するようにしているため、測距情報算出の時間短縮や測
距精度の低下を防止すると共に、近距離測距対象物の無
限判定などの誤測距を防止することが可能となる。
In the third embodiment, a switch (distance-measuring range changeover switch 7) capable of externally inputting whether the distance-measuring object is a short-distance side or a long-distance side is provided. Depending on the state of the switch, That is, it is roughly determined whether the object for distance measurement is on the near distance side or the far distance side, and whether the distance measurement arithmetic expression is A / (A + B) or B / (A + B) is determined according to the determination result. Since the distance measurement information is calculated according to the selected calculation formula, the time required to calculate the distance measurement information and the deterioration of the distance measurement accuracy are prevented, and errors such as infinite judgment of the short-distance measurement target are made. It becomes possible to prevent distance measurement.

【0036】[0036]

【発明の効果】以上説明したように、本発明によれば、
測距対象物が遠距離に位置するか近距離に位置するかの
推定を行う距離推定手段と、該距離推定手段の推定結果
に応じて、受光手段からの2種の信号のうち、演算手段
における最初の積分に用いる信号を切換える信号切換手
段とを設け、受光手段からの2種の信号のうちの何れか
一方の信号レベルに応じて、或は、測距対象物の位置情
報を外部入力する操作手段からの位置情報に応じて、測
距対象物が遠距離に位置するか近距離に位置するかの推
定を行い、演算手段における最初の積分に用いる信号を
切換えるようにしている。
As described above, according to the present invention,
A distance estimating means for estimating whether the object to be measured is located at a long distance or a short distance, and an arithmetic means of the two kinds of signals from the light receiving means according to the estimation result of the distance estimating means. And a signal switching means for switching the signal used for the first integration in the above, and according to the signal level of either one of the two kinds of signals from the light receiving means, or the position information of the object to be measured is externally input. According to the position information from the operating means, it is estimated whether the object to be measured is located at a long distance or a short distance, and the signal used for the first integration in the calculating means is switched.

【0037】よって、測距不能になってしまうことを防
止すると共に、測距精度が低下してしまうといったこと
を防止することが可能となる。
Therefore, it becomes possible to prevent the distance measurement from becoming impossible and to prevent the distance measurement accuracy from decreasing.

【0038】また、受光手段からの2種の信号を異なる
判別レベルにてそれぞれ比較し、この判別結果、測距対
象物が所定の距離であると推定される場合には、予め設
定されている測距データを最終的な測距データとする測
距データ設定手段を設け、受光手段からの2種の信号か
ら測距対象物が所定の距離であると推定される場合に
は、予め設定されている測距データを最終的な測距デー
タとするようにしている。
Further, when two types of signals from the light receiving means are compared at different discrimination levels, and as a result of the discrimination, it is estimated that the object to be measured has a predetermined distance, it is set in advance. Distance measuring data setting means for setting the distance measuring data as final distance measuring data is provided, and is set in advance when it is estimated that the distance measuring object is a predetermined distance from the two kinds of signals from the light receiving means. The measured distance data is set as the final distance measurement data.

【0039】よって、測距精度の低下を防止することが
可能となる。
Therefore, it is possible to prevent the distance measurement accuracy from deteriorating.

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

【図1】本発明の第1の実施例における測距装置の概略
構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a distance measuring device according to a first embodiment of the present invention.

【図2】図1の受光手段であるPSDの拡大図である。FIG. 2 is an enlarged view of a PSD, which is a light receiving unit in FIG.

【図3】本発明の第1の実施例における測距装置の動作
を示すフローチャートである。
FIG. 3 is a flowchart showing an operation of the distance measuring device according to the first embodiment of the present invention.

【図4】本発明の第1の実施例における近距離時と遠距
離時における二重積分波形を示す図である。
FIG. 4 is a diagram showing double integrated waveforms at a short distance and at a long distance in the first embodiment of the present invention.

【図5】本発明の第2の実施例における測距装置の動作
を示すフローチャートである。
FIG. 5 is a flowchart showing an operation of the distance measuring device according to the second embodiment of the present invention.

【図6】本発明の第3の実施例における測距装置の動作
を示すフローチャートである。
FIG. 6 is a flowchart showing an operation of the distance measuring device according to the third embodiment of the present invention.

【図7】従来の測距装置の動作を示すフローチャートで
ある。
FIG. 7 is a flowchart showing an operation of a conventional distance measuring device.

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

1 IRED 2 PSD 3 投光パワー制御回路 4 センサ出力切換回路 5 レベル判定回路 6 マイコン 7 測距範囲切換スイッチ A,B PSDの出力信号 1 IRED 2 PSD 3 Projection power control circuit 4 Sensor output switching circuit 5 Level determination circuit 6 Microcomputer 7 Distance measuring range switch A, B PSD output signal

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 測距対象物へ向けて光を投射する投光手
段と、該投光手段による投射光の測距対象物での反射光
を受光し、距離に依存した2種の信号を出力する受光手
段と、該受光手段からの一方の信号を積分し、両方の信
号によって上記とは逆方向に積分して測距データを算出
する演算手段とを備えた測距装置において、測距対象物
が遠距離に位置するか近距離に位置するかの推定を行う
距離推定手段と、該距離推定手段の推定結果に応じて、
前記受光手段からの2種の信号のうち、前記演算手段に
おける最初の積分に用いる信号を切換える信号切換手段
とを設けたことを特徴とする測距装置。
1. A light projecting means for projecting light toward an object to be measured, and a reflected light from the object to be projected of the light projected by the light projecting means to receive two kinds of signals depending on the distance. A distance measuring device including a light receiving unit for outputting and a signal calculating unit that integrates one signal from the light receiving unit and calculates the distance measuring data by integrating both signals in the opposite direction. Depending on the distance estimation means for estimating whether the object is located at a long distance or at a short distance, and an estimation result of the distance estimation means,
A distance measuring device comprising: a signal switching unit that switches a signal used for the first integration in the arithmetic unit from the two types of signals from the light receiving unit.
【請求項2】 距離推定手段は、受光手段からの2種の
信号のうちの何れか一方の信号レベルに応じて、測距対
象物が遠距離に位置するか近距離に位置するかの推定を
行う手段であることを特徴とする請求項1記載の測距装
置。
2. The distance estimating means estimates whether the distance measuring object is located at a long distance or a short distance according to the signal level of one of the two kinds of signals from the light receiving means. The distance measuring device according to claim 1, wherein the distance measuring device is means for performing.
【請求項3】 測距対象物の位置情報を外部入力する操
作手段を設けると共に、距離推定手段は、該操作手段か
らの位置情報に応じて、測距対象物が遠距離に位置する
か近距離に位置するかの推定を行う手段であることを特
徴とする請求項1記載の測距装置。
3. The operating means for externally inputting the position information of the distance measuring object is provided, and the distance estimating means determines whether or not the distance measuring object is located at a long distance according to the position information from the operating means. The distance measuring device according to claim 1, wherein the distance measuring device is means for estimating whether the vehicle is located at a distance.
【請求項4】 測距対象物へ向けて光を投射する投光手
段と、該投光手段による投射光の測距対象物での反射光
を受光し、距離に依存した2種の信号を出力する受光手
段と、該受光手段からの一方の信号を積分し、両方の信
号によって上記とは逆方向に積分して測距データを算出
する演算手段とを備えた測距装置において、前記受光手
段からの2種の信号を異なる判別レベルにてそれぞれ比
較し、この判別結果、測距対象物が所定の距離であると
推定される場合には、予め設定されている測距データを
最終的な測距データとする測距データ設定手段を設けた
ことを特徴とする測距装置。
4. A light projecting means for projecting light toward a distance measuring object, and a reflected light of the light projected by the light projecting means reflected by the distance measuring object to receive two kinds of signals depending on the distance. In a distance measuring device comprising a light receiving means for outputting and a signal for integrating one signal from the light receiving means and for calculating distance measuring data by integrating in one direction with the two signals, The two types of signals from the means are respectively compared at different discrimination levels, and when it is estimated that the distance measurement target is a predetermined distance as a result of the discrimination, the preset distance measurement data is finally determined. Distance measuring device provided with a distance measuring data setting means for obtaining different distance measuring data.
【請求項5】 測距対象物が所定の距離とは、至近距離
であり、予め設定されている測距データとは、至近距離
データであることを特徴とする請求項4記載の測距装
置。
5. The distance measuring device according to claim 4, wherein the predetermined distance of the object to be measured is a close distance, and the preset distance measuring data is a close distance data. .
JP5463493A 1993-02-22 1993-02-22 Range finder Pending JPH06241786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5463493A JPH06241786A (en) 1993-02-22 1993-02-22 Range finder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5463493A JPH06241786A (en) 1993-02-22 1993-02-22 Range finder

Publications (1)

Publication Number Publication Date
JPH06241786A true JPH06241786A (en) 1994-09-02

Family

ID=12976201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5463493A Pending JPH06241786A (en) 1993-02-22 1993-02-22 Range finder

Country Status (1)

Country Link
JP (1) JPH06241786A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000075608A1 (en) * 1999-06-09 2000-12-14 Hamamatsu Photonics K.K. Optical position detector and rangefinder

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000075608A1 (en) * 1999-06-09 2000-12-14 Hamamatsu Photonics K.K. Optical position detector and rangefinder
US6597007B2 (en) 1999-06-09 2003-07-22 Hamamatsu Photonics K.K. Optical position detection device and distance measurement device

Similar Documents

Publication Publication Date Title
US6226076B1 (en) Distance measuring apparatus using pulse light
US5128529A (en) Autofocusing device with improved distance focusing accuracy
US5210585A (en) Range finder having a plurality of signal reception means
US4758082A (en) Distance detection apparatus
JPH08184431A (en) Distance measuring equipment
JPH06241786A (en) Range finder
US6522394B2 (en) Rangefinder device and camera
JP2889102B2 (en) Distance measuring device
JP3559638B2 (en) Distance measuring device
JP3461399B2 (en) Camera ranging device
US6633730B2 (en) Rangefinder device and camera incorporating the same
JP3694018B2 (en) Ranging device
JPH09196665A (en) Distance measuring apparatus
JPH0412804B2 (en)
JPH04136829A (en) Range-finder device for moving body
JP3672987B2 (en) Ranging device
JP3142731B2 (en) Distance measuring device
JP3369693B2 (en) Distance measuring device
JPH04134089U (en) Lightwave ranging device
JP3233435B2 (en) Distance measuring device
JP2970250B2 (en) Distance measuring device
JP3080862B2 (en) Distance measuring device
JPH0511173A (en) Range finder
JPH08240657A (en) Distance measuring apparatus
JPH095617A (en) Auto-focusing device