JP2002098525A - Range finder - Google Patents

Range finder

Info

Publication number
JP2002098525A
JP2002098525A JP2001206744A JP2001206744A JP2002098525A JP 2002098525 A JP2002098525 A JP 2002098525A JP 2001206744 A JP2001206744 A JP 2001206744A JP 2001206744 A JP2001206744 A JP 2001206744A JP 2002098525 A JP2002098525 A JP 2002098525A
Authority
JP
Japan
Prior art keywords
distance
value
signal
integration
distance measurement
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.)
Granted
Application number
JP2001206744A
Other languages
Japanese (ja)
Other versions
JP4738656B2 (en
Inventor
Hideo Yoshida
秀夫 吉田
Kiichi Mihara
喜一 三原
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.)
Fujinon Corp
Original Assignee
Fuji Photo Optical 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 Fuji Photo Optical Co Ltd filed Critical Fuji Photo Optical Co Ltd
Priority to JP2001206744A priority Critical patent/JP4738656B2/en
Publication of JP2002098525A publication Critical patent/JP2002098525A/en
Application granted granted Critical
Publication of JP4738656B2 publication Critical patent/JP4738656B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Automatic Focus Adjustment (AREA)
  • Measurement Of Optical Distance (AREA)
  • Focusing (AREA)

Abstract

PROBLEM TO BE SOLVED: To increase an accuracy of range measurement in the case that an object to be measured has a small reflective index and the range from the object to be measured is great, by measuring the range while lowering a level of clamp signal on the basis of inferring the case. SOLUTION: The clamp signal is set to a large level, and a first measurement is curried out. In the case that the range value of the first measurement is not less than a determined range value, the clamp signal is set to a small level, and a second measurement is curried out (e.g. S56). Then, the range value D2 of the second measurement is judged whether it is larger than a set value B or not (e.g. S60). In the case that the range value D2 is larger than the set value, the clamp signal is set to the large level (e.g. S64), and a third measurement is curried out (e.g. S68). In the other case that the range value D2 of the second measurement is not larger than the set value B in the step S60, the clamp signal is set to the small level under a constant condition (e.g. S82), and the third measurement is carried out (e.g. S86).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、測距対象物までの
距離を測定する測距装置に関し、特に、カメラ等に好適
に用いられるアクティブ型の測距装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distance measuring device for measuring a distance to an object to be measured, and more particularly to an active distance measuring device suitably used for a camera or the like.

【0002】[0002]

【従来の技術】カメラ等に用いられるアクティブ型の測
距装置は、赤外線発光ダイオード(以下、「IRED」
という。)から測距対象物に向けて光束を投光し、その
投光された光束の反射光を位置検出素子(以下、「PS
D」という。)により受光し、このPSDから出力され
る信号を信号処理回路および演算回路により演算処理し
て距離情報として出力し、CPUにより測距対象物まで
の距離を検出する。また、1回のみの投光による測距で
は誤差が生じることがあるので、投光を複数回行って複
数の距離情報を求め、その複数の距離情報を積分回路に
より積分して平均化するのが一般的である。
2. Description of the Related Art An active type distance measuring device used for a camera or the like is an infrared light emitting diode (hereinafter, "IRED").
That. ) Is projected toward the object to be measured, and reflected light of the projected light flux is detected by a position detecting element (hereinafter, referred to as “PS”).
D ". ), The signal output from the PSD is subjected to arithmetic processing by a signal processing circuit and an arithmetic circuit and output as distance information, and the CPU detects the distance to the object to be measured. In addition, since errors may occur in distance measurement using only one light projection, light projection is performed a plurality of times to obtain a plurality of distance information, and the plurality of distance information is integrated by an integration circuit and averaged. Is common.

【0003】従来、このようなアクティブ型の測距装置
として、特開平8−94919号公報及び特開平8−9
4920号公報に記載されるものが知られている。図2
2に、これらの公報に記載される測距装置を第1の従来
技術に係る測距装置とし、その構成図を示す。
Conventionally, as such active type distance measuring devices, Japanese Patent Application Laid-Open Nos. 8-94919 and 8-9 have been disclosed.
What is described in 4920 gazette is known. FIG.
FIG. 2 shows a configuration diagram of a distance measuring device described in these publications as a distance measuring device according to a first related art.

【0004】図22に示す測距装置では、CPU110
による制御の下、ドライバ112は、IRED114を
駆動して赤外光を出力させ、その赤外光を投光レンズ
(図示せず)を介して測距対象物に投光する。その測距
対象物で反射した赤外光は受光レンズ(図示せず)を経
てPSD116に集光され、PSD116は、その赤外
光の反射光を受光した位置に応じて2つの信号I1 およ
びI2 を出力する。第1信号処理回路118は、信号I
1 に含まれるノイズとなる定常光成分を除去し、第2信
号処理回路120は、信号I2 に含まれるノイズとなる
定常光成分を除去する。
In the distance measuring device shown in FIG.
The driver 112 drives the IRED 114 to output infrared light under the control of, and emits the infrared light to an object to be measured via a light projection lens (not shown). The infrared light reflected by the object to be measured is focused on a PSD 116 via a light receiving lens (not shown), and the PSD 116 outputs two signals I1 and I2 according to the position where the reflected light of the infrared light is received. Is output. The first signal processing circuit 118 outputs the signal I
The second signal processing circuit 120 removes the stationary light component that becomes the noise contained in the signal I2, and removes the stationary light component that becomes the noise contained in the signal I2.

【0005】演算回路132は、定常光成分が除去され
た信号I1 およびI2 に基づいて、出力比(I1 /(I
1 +I2 ))を演算により求め、測距対象物までの距離
に応じた出力比信号を出力する。積分回路134は、多
数回このようにして演算回路132から出力される出力
比信号を積分してS/N比を改善する。この積分回路1
34から出力される信号(以下「AF信号」という。)
は、測距対象物までの距離に応じたものである。そし
て、CPU110は、積分回路134から出力されるA
F信号に基づいて、所定の演算を行って距離信号を求
め、この距離信号に基づいてレンズ駆動回路136を制
御してレンズ138を合焦位置まで移動させる。
The arithmetic circuit 132 outputs an output ratio (I1 / (I1) based on the signals I1 and I2 from which the stationary light component has been removed.
1 + I2)) is calculated, and an output ratio signal corresponding to the distance to the object to be measured is output. The integrating circuit 134 improves the S / N ratio by integrating the output ratio signal output from the arithmetic circuit 132 many times in this manner. This integration circuit 1
34 (hereinafter referred to as “AF signal”).
Is based on the distance to the object to be measured. Then, CPU 110 outputs A
Based on the F signal, a predetermined calculation is performed to obtain a distance signal, and based on the distance signal, the lens driving circuit 136 is controlled to move the lens 138 to a focus position.

【0006】図23は、この第1の従来技術の積分回路
134から出力されるAF信号と測距対象物までの距離
との関係を示す図である。この図に示すグラフにおい
て、横軸は、測距対象物までの距離Lの逆数(1/L)
であり、縦軸は、出力比(I1/(I1 +I2 ))すな
わちAF信号である。この図に示すように、或る距離L
4 以下では、距離Lの逆数(1/L)に対して出力比は
略線形関係にあり、距離Lが大きく(1/Lが小さく)
なると出力比は小さくなる。しかし、距離L4 以上で
は、距離Lが大きくなると逆にノイズ成分の影響が大き
くなる。ノイズ成分をIn (In ≧0)とすると、出力
比は、(I1 +In )/(I1 +In +I2+In )と
なり、距離L4 以遠では、出力比は大きくなる方向(す
なわち出力比50%方向)に変動する。しかも、In は
ランダムに発生する為、測距条件により不安定になる。
これは、距離Lが大きくなると、PSD116が受光す
る反射光の強度が小さくなってノイズ成分In が相対的
に大きくなるからである。このような現象が起きると、
測距対象物までの距離Lを出力比から一意的に決定する
ことができない。
FIG. 23 is a diagram showing the relationship between the AF signal output from the integration circuit 134 of the first prior art and the distance to the object to be measured. In the graph shown in this figure, the horizontal axis is the reciprocal (1 / L) of the distance L to the object to be measured.
The vertical axis represents the output ratio (I1 / (I1 + I2)), that is, the AF signal. As shown in this figure, a certain distance L
4 and below, the output ratio is substantially linear with respect to the reciprocal (1 / L) of the distance L, and the distance L is large (1 / L is small).
Then, the output ratio decreases. However, when the distance L is longer than the distance L4, the influence of the noise component becomes larger as the distance L increases. Assuming that the noise component is In (In ≧ 0), the output ratio is (I1 + In) / (I1 + In + I2 + In), and the output ratio fluctuates in a direction of increasing (i.e., the direction of the output ratio 50%) beyond the distance L4. . Moreover, since In occurs randomly, it becomes unstable depending on the distance measurement conditions.
This is because as the distance L increases, the intensity of the reflected light received by the PSD 116 decreases and the noise component In relatively increases. When this happens,
The distance L to the object to be measured cannot be uniquely determined from the output ratio.

【0007】その為、図24に示すように、第2信号処
理回路120から出力された遠側信号I2がクランプ信
号Icより小さいときには該クランプ信号Icを出力する
クランプ回路130を第2信号処理回路120と演算回
路132との間に設ける。しかし、その場合であって
も、後述する図27に示すように、遠距離側では、距離
出力は或一定の距離に固定され、設計値に対する偏差が
大きくなってしまう。
Therefore, as shown in FIG. 24, when the far-side signal I2 outputted from the second signal processing circuit 120 is smaller than the clamp signal Ic, the clamp circuit 130 for outputting the clamp signal Ic is connected to the second signal processing circuit. It is provided between 120 and the arithmetic circuit 132. However, even in that case, as shown in FIG. 27 described later, the distance output is fixed to a certain distance on the long distance side, and the deviation from the design value increases.

【0008】そこで、このような問題を解決する測距装
置として、以下のようなものが知られている。図25
は、第2の従来技術に係る測距装置の構成図である。な
お、この図では、受光側のみ示している。この図に示す
測距装置では、PSD140から出力された信号I1 お
よびI2 それぞれは、定常光除去回路142および14
4それぞれにより定常光成分が除去された後、演算回路
146および148の双方に入力する。演算回路146
は、定常光成分が除去された信号I1およびI2に基づい
て、I1/(I1+I2)なる演算を行って出力比を求
め、積分回路150は、その出力比を積分する。一方、
演算回路148は、I1 +I2 なる演算を行って光量を
求め、積分回路152は、その光量を積分する。そし
て、選択部160は、出力比および光量の一方を選択し
て、これに基づいて測距対象物までの距離を求める。な
お、選択部160は、CPUにおける処理である。
The following is known as a distance measuring device for solving such a problem. FIG.
FIG. 2 is a configuration diagram of a distance measuring apparatus according to a second related art. In this figure, only the light receiving side is shown. In the distance measuring apparatus shown in this figure, the signals I1 and I2 output from the PSD 140 are applied to the stationary light removing circuits 142 and 14 respectively.
After the steady light component is removed by each of the four, the signals are input to both the arithmetic circuits 146 and 148. Arithmetic circuit 146
Performs an operation of I1 / (I1 + I2) on the basis of the signals I1 and I2 from which the stationary light component has been removed to obtain an output ratio, and the integrating circuit 150 integrates the output ratio. on the other hand,
The arithmetic circuit 148 calculates I1 + I2 to obtain the light amount, and the integrating circuit 152 integrates the light amount. Then, the selection unit 160 selects one of the output ratio and the light amount, and obtains the distance to the distance measurement target based on the selection. The selection unit 160 is a process in the CPU.

【0009】また、図26は、第3の従来技術に係る測
距装置の構成図である。なお、この図でも、受光側のみ
示している。この図に示す測距装置では、PSD170
から出力された信号I1 およびI2 それぞれは、定常光
除去回路172および174それぞれにより定常光成分
が除去された後、スイッチ176の一端に入力する。こ
のスイッチ176は、CPUにより制御され、定常光除
去回路172および174のいずれかの出力を積分回路
178に入力させるものである。積分回路178は、入
力した信号I1 およびI2 の何れか一方を積分し、演算
部180は、その積分結果に基づいて、I1 /(I1 +
I2 )なる演算を行って出力比を求め、一方、演算部1
82は、I1 +I2 なる演算を行って光量を求める。そ
して、選択部184は、出力比および光量の一方を選択
して、これに基づいて測距対象物までの距離を求める。
なお、演算部180,182および選択部184は、C
PUにおける処理である。
FIG. 26 is a configuration diagram of a distance measuring apparatus according to a third prior art. In this figure, only the light receiving side is shown. In the distance measuring device shown in FIG.
After the steady light components are removed by the steady light removing circuits 172 and 174, respectively, the signals I1 and I2 output from are input to one end of the switch 176. The switch 176 is controlled by the CPU, and causes one of the outputs of the steady light removing circuits 172 and 174 to be input to the integrating circuit 178. An integrating circuit 178 integrates either one of the input signals I1 and I2, and a calculating section 180 calculates I1 / (I1 +
I2) is calculated to obtain the output ratio.
In step 82, the calculation of I1 + I2 is performed to obtain the light amount. Then, the selection unit 184 selects one of the output ratio and the light amount, and obtains the distance to the distance measurement target based on the selected one.
Note that the operation units 180 and 182 and the selection unit 184
This is processing in the PU.

【0010】これら第2および第3の従来技術に係る測
距装置(図25、図26)は、共に、測距対象物までの
距離Lが小さいときには、出力比(I1 /(I1 +I2
))に基づいて距離Lを求め、距離Lが大きいときに
は、光量(I1 +I2 )に基づいて距離Lを求めるもの
であり、このようにすることにより、距離Lを一意的に
決定することができるものである。
The distance measuring devices (FIGS. 25 and 26) according to the second and third prior arts both have an output ratio (I1 / (I1 + I2) when the distance L to the object to be measured is small.
)), And when the distance L is large, the distance L is calculated based on the light amount (I1 + I2). By doing so, the distance L can be uniquely determined. Things.

【0011】[0011]

【発明が解決しようとする課題】以上のように、第2お
よび第3の従来技術に係る測距装置(図25、図26)
は、共に、第1の従来技術に係る測距装置(図22、図
24)の問題点を解決し得るものではある。しかし、第
2の従来技術に係る測距装置(図25)は、演算回路お
よび積分回路を共に2組設ける必要があり、これを第1
の従来技術に係る測距装置(図22、図24)と比較す
ると、回路規模が大きくなってコスト高になるという問
題点がある。一方、第3の従来技術に係る測距装置(図
26)は、回路規模が小さくなるものの、PSD170
からの信号I1およびI2の双方を同時に検出することが
できないので、第2の従来技術に係る測距装置(図2
5)と同程度のS/N比で距離Lを求めようとすれば2
倍の時間を要する。
As described above, the distance measuring devices according to the second and third prior arts (FIGS. 25 and 26)
Can solve the problems of the distance measuring apparatus (FIGS. 22 and 24) according to the first conventional technique. However, the distance measuring apparatus according to the second prior art (FIG. 25) needs to provide two sets of the arithmetic circuit and the integrating circuit.
As compared with the conventional distance measuring apparatus (FIGS. 22 and 24), there is a problem that the circuit scale is increased and the cost is increased. On the other hand, the distance measuring apparatus according to the third prior art (FIG. 26) has a smaller
Since the signals I1 and I2 cannot be detected simultaneously, the distance measuring apparatus according to the second prior art (FIG.
If the distance L is to be obtained with the same S / N ratio as in 5), 2
It takes twice as long.

【0012】また、上記何れの従来技術に係る測距装置
とも、IREDから出力される赤外光に対する測距対象
物(被写体)の反射率が標準値であるときに好適に動作
するよう設計されるが、測距対象物の反射率が小さいと
きには、PSDから出力される信号I1 およびI2 の値
が小さくなり、正確な測距値が得られない場合がある。
特に、測距対象物までの距離が大きいときに、この問題
は大きい。これについて図27〜図30に示した計算結
果を用いて説明する。
Further, any of the distance measuring apparatuses according to the prior arts described above are designed to operate favorably when the reflectance of the object to be measured (subject) to the infrared light output from the IRED is a standard value. However, when the reflectance of the object to be measured is small, the values of the signals I1 and I2 output from the PSD become small, and an accurate measured value may not be obtained.
This problem is particularly serious when the distance to the object to be measured is large. This will be described with reference to the calculation results shown in FIGS.

【0013】図27は、測距対象物の反射率が標準値の
36%であるときの、第1の従来技術に係る測距装置に
より得られる距離信号と距離との関係を示すグラフであ
る。図28は、測距対象物の反射率が低い9%であると
きの、第1の従来技術に係る測距装置により得られる距
離信号と距離との関係を示すグラフである。図29は、
測距対象物の反射率が標準値の36%であるときの、第
2および第3の従来技術それぞれに係る測距装置により
得られる距離信号と距離との関係を示すグラフである。
また、図30は、測距対象物の反射率が低い9%である
ときの、第2および第3の従来技術それぞれに係る測距
装置により得られる距離信号と距離との関係を示すグラ
フである。なお、これらの図において、互いに平行な2
本の破線は、測距誤差の許容範囲を表す。
FIG. 27 is a graph showing the relationship between the distance signal and the distance obtained by the distance measuring apparatus according to the first prior art when the reflectance of the object to be measured is 36% of the standard value. . FIG. 28 is a graph showing the relationship between the distance signal and the distance obtained by the distance measuring device according to the first conventional technique when the reflectance of the object to be measured is low at 9%. FIG.
11 is a graph showing a relationship between a distance signal and a distance obtained by a distance measuring device according to each of the second and third conventional techniques when the reflectance of the object to be measured is 36% of a standard value.
FIG. 30 is a graph showing the relationship between the distance signal and the distance obtained by the distance measuring device according to each of the second and third conventional techniques when the reflectance of the object to be measured is low at 9%. is there. In these figures, two parallel parts are shown.
The broken line indicates the allowable range of the ranging error.

【0014】第1の従来技術に係る測距装置(図24)
では、図27に示すように、測距対象物の反射率が標準
値の36%であるときには、距離信号が測距誤差の許容
範囲に常に入っているものの、距離によっては辛うじて
許容範囲に入っている。一方、図28に示すように、測
距対象物の反射率が低い9%であるときには、距離によ
っては距離信号が測距誤差の許容範囲から外れる場合が
ある。第2および第3の従来技術それぞれに係る測距装
置では、図29に示すように、測距対象物の反射率が標
準値の36%であるときには、距離信号が測距誤差の許
容範囲に常に入っており、これは図24に示したものと
比べて改善されている。一方、図30に示すように、測
距対象物の反射率が低い9%であるときには、距離によ
っては距離信号が測距誤差の許容範囲から外れる場合が
あり、これは図28に示したものと同様である。
A distance measuring apparatus according to the first prior art (FIG. 24)
Then, as shown in FIG. 27, when the reflectance of the object to be measured is 36% of the standard value, the distance signal always falls within the allowable range of the ranging error, but barely falls within the allowable range depending on the distance. ing. On the other hand, as shown in FIG. 28, when the reflectance of the object to be measured is 9%, which is low, the distance signal may be out of the allowable range of the ranging error depending on the distance. In the ranging devices according to the second and third prior arts, as shown in FIG. 29, when the reflectance of the ranging object is 36% of the standard value, the distance signal falls within the allowable range of the ranging error. Always on, which is an improvement over that shown in FIG. On the other hand, as shown in FIG. 30, when the reflectivity of the object to be measured is low at 9%, the distance signal may be out of the allowable range of the distance measurement error depending on the distance, as shown in FIG. Is the same as

【0015】以上のように、測距対象物の反射率が低い
ときには、距離によっては距離信号が測距誤差の許容範
囲から外れ、測距精度が悪くなる場合がある。そこで、
このような問題点を解決するために、第1の従来技術に
係る測距装置(図24)において、第2信号処理回路1
20から出力された遠側信号I2 がクランプ信号Icよ
り小さいときには該クランプ信号Ic を出力するクラン
プ回路を第2信号処理回路120と演算回路132との
間に設け、このクランプ信号Ic のレベルを小さくする
ことが考えられる。
As described above, when the reflectance of the object to be measured is low, the distance signal may be out of the allowable range of the ranging error depending on the distance, and the ranging accuracy may be deteriorated. Therefore,
In order to solve such a problem, in the distance measuring apparatus according to the first prior art (FIG. 24), the second signal processing circuit 1 is used.
When the far-side signal I2 outputted from the signal 20 is smaller than the clamp signal Ic, a clamp circuit for outputting the clamp signal Ic is provided between the second signal processing circuit 120 and the arithmetic circuit 132 to reduce the level of the clamp signal Ic. It is possible to do.

【0016】図31は、クランプ信号Ic のレベルを小
さくしたときであって、測距対象物の反射率が標準値の
36%であるときの、第1の従来技術に係る測距装置に
より得られる距離信号と距離との関係を示すグラフであ
る。また、図32は、クランプ信号Ic のレベルを小さ
くしたときであって、測距対象物の反射率が低い9%で
あるときの、第1の従来技術に係る測距装置により得ら
れる距離信号と距離との関係を示すグラフである。図3
1に示すように、クランプ信号Ic のレベルが小さく、
測距対象物の反射率が標準値であるときには、距離信号
が測距誤差の許容範囲に常に入っており、しかも、これ
は図27に示したものと比べて改善されている。一方、
図32に示すように、クランプ信号Ic のレベルが小さ
く、測距対象物の反射率が低いときには、距離によって
は辛うじて許容範囲に入っているものの、距離信号が測
距誤差の許容範囲に常に入っている。
FIG. 31 shows a case where the level of the clamp signal Ic is reduced and the reflectivity of the object to be measured is 36% of the standard value, which is obtained by the first prior art distance measuring apparatus. 6 is a graph showing a relationship between a distance signal and a distance. FIG. 32 shows a distance signal obtained by the distance measuring apparatus according to the first prior art when the level of the clamp signal Ic is reduced and the reflectance of the object to be measured is 9%, which is low. 6 is a graph showing a relationship between the distance and the distance. FIG.
As shown in FIG. 1, the level of the clamp signal Ic is small,
When the reflectivity of the object to be measured is a standard value, the distance signal always falls within the allowable range of the distance measurement error, and this is improved as compared with that shown in FIG. on the other hand,
As shown in FIG. 32, when the level of the clamp signal Ic is low and the reflectance of the object to be measured is low, the distance signal is within the allowable range of the distance measurement error, though it is barely within the allowable range depending on the distance. ing.

【0017】しかし、クランプ信号Ic のレベルを小さ
くしても、外光輝度が比較的大きい場合には更に以下の
ような問題点がある。図33は、クランプ信号Ic のレ
ベルを小さくしたときであって、外光輝度が大きく、測
距対象物の反射率が標準値の36%であるときの、第1
の従来技術に係る測距装置により得られる距離信号と距
離との関係を示すグラフである。また、図34は、クラ
ンプ信号Ic のレベルを小さくしたときであって、外光
輝度が大きく、測距対象物の反射率が低い9%であると
きの、第1の従来技術に係る測距装置により得られる距
離信号と距離との関係を示すグラフである。これらの図
に示すように、外光輝度が大きい場合には測距誤差の許
容範囲は広くなるが、それにも拘わらず、測距対象物の
反射率が標準値である場合も低い場合も、距離によって
は距離信号が測距誤差の許容範囲から外れ、測距精度が
悪くなる場合がある。これは、外光輝度が大きいときに
は、第1信号処理回路118および第2信号処理回路1
20それぞれにおける定常光除去が充分に行われず、こ
れに因る測距誤差が生じるからである。
However, even if the level of the clamp signal Ic is reduced, the following problem still arises when the external light luminance is relatively large. FIG. 33 shows the first case where the level of the clamp signal Ic is reduced and the external light luminance is large and the reflectance of the object to be measured is 36% of the standard value.
6 is a graph showing a relationship between a distance signal and a distance obtained by a distance measuring device according to the related art. FIG. 34 shows the first conventional distance measurement when the level of the clamp signal Ic is reduced and the external light luminance is high and the reflectance of the object to be measured is low at 9%. 5 is a graph showing a relationship between a distance signal obtained by the device and a distance. As shown in these figures, when the external light luminance is large, the allowable range of the distance measurement error is wide, but nevertheless, even when the reflectance of the distance measurement target is a standard value or low, Depending on the distance, the distance signal may be out of the allowable range of the ranging error, and the ranging accuracy may be deteriorated. This is because when the external light luminance is large, the first signal processing circuit 118 and the second signal processing circuit 1
This is because the stationary light is not sufficiently removed in each of the lenses 20 and a distance measurement error occurs due to this.

【0018】以上のような問題点を解決するため、IR
EDからの投光量を増大させるか、或いは、投光レンズ
や受光レンズの径を大きくすることが考えられる。図3
5は、IREDからの投光量を4倍にしたときであっ
て、測距対象物の反射率が標準値の36%であるとき
の、第1の従来技術に係る測距装置により得られる距離
信号と距離との関係を示すグラフである。図36は、I
REDからの投光量を4倍にしたときであって、測距対
象物の反射率が低い9%であるときの、第1の従来技術
に係る測距装置により得られる距離信号と距離との関係
を示すグラフである。これらの図に示すように、測距対
象物の反射率が標準値である場合も低い場合も、距離信
号は測距誤差の許容範囲に常に入る。しかし、IRED
からの投光量を増大させるとコストが上昇し、投光レン
ズや受光レンズの径を大きくするとサイズが大きくな
る。
In order to solve the above problems, an IR
It is conceivable to increase the amount of light projected from the ED or to increase the diameter of the light projecting lens or the light receiving lens. FIG.
Reference numeral 5 denotes a distance obtained by the distance measuring apparatus according to the first conventional technique when the light projection amount from the IRED is quadrupled and the reflectance of the distance measuring object is 36% of a standard value. It is a graph which shows the relationship between a signal and distance. FIG.
When the amount of light projected from the RED is quadrupled, and when the reflectance of the object to be measured is 9%, which is low, the distance signal and the distance obtained by the distance measuring apparatus according to the first related art are used. It is a graph which shows a relationship. As shown in these figures, the distance signal always falls within the allowable range of the ranging error regardless of whether the reflectance of the ranging object is a standard value or low. However, IRED
Increasing the amount of light projected from the lens increases costs, and increasing the diameter of the light projecting lens and the light receiving lens increases the size.

【0019】そこで、本発明は、上記問題点を解消する
為になされたものであり、測距対象物の反射率が小さく
測距対象物までの距離が大きい場合にも、その距離を精
度よく求めることができ、また、コスト上昇およびサイ
ズ大型化とならない測距装置を提供することを目的とす
る。
Therefore, the present invention has been made to solve the above problem, and even when the reflectance of the object to be measured is small and the distance to the object to be measured is large, the distance can be accurately determined. It is an object of the present invention to provide a distance measuring device which can be obtained and does not increase cost and size.

【0020】[0020]

【課題を解決するための手段】[1] 本発明に係る側距
装置の一の局面は、測距対象物に向けて光束を投光する
投光手段と、前記測距対象物に投光された前記光束の反
射光を、前記測距対象物までの距離に応じた位置検出素
子上の受光位置で受光し、その受光位置に基づいて、受
光光量が一定であれば前記距離が遠いほど大きな値であ
る遠側信号と、受光光量が一定であれば前記距離が近い
ほど大きな値である近側信号とを出力する受光手段と、
前記遠側信号を入力してクランプ信号のレベルと大小比
較し、前記遠側信号のレベルが前記クランプ信号のレベ
ル以上の場合には前記遠側信号を出力し、そうでない場
合には前記クランプ信号を出力するクランプ手段と、前
記近側信号と前記クランプ手段から出力された信号との
比を演算して出力比信号を出力する演算手段と、前記出
力比信号を積算して積分し、その積分結果に応じた積分
信号を出力する積分手段と、前記投光手段における前記
光束の投光、前記クランプ手段における前記クランプ信
号のレベルおよび前記積分手段における前記出力比信号
の積算期間の総和それぞれを制御するとともに、前記積
分手段から出力された前記積分信号に基づいて測距値を
検出する制御手段と、を含み、前記制御手段は、(a)
前記クランプ信号を第1のレベルに設定し、前記積分手
段における前記出力比信号の積算期間の総和を第1の数
に設定して前記積分手段から出力された前記積分信号に
基づいて第1の測距値を検出し、(b)前記第1の測距
値が第1の設定距離以上の遠側の値であるときに、前記
クランプ信号を前記第1のレベルより小さい第2のレベ
ルに設定し、前記積分手段における前記出力比信号の積
算期間の総和を第2の数に設定して前記積分手段から出
力された前記積分信号に基づいて第2の測距値を検出
し、(c)前記第2の測距値が第2の設定距離より近側
の値であるときに、又は、前記第2の測距値が第2の設
定距離より近側の値でなくかつ前記第2の測距値から前
記第1の測距値を減じた値が第1の設定値より小さいと
きに、前記クランプ信号を前記第1のレベルに設定し、
前記積分手段における前記出力比信号の積算期間の総和
を第3の数に設定して前記積分手段から出力された前記
積分信号に基づいて第3の測距値を検出し、前記第1の
測距値と前記第3の測距値の和に基づいて前記測距対象
物までの距離を算出し、(d)前記第2の測距値が第2
の設定距離より近側の値でなくかつ前記第2の測距値か
ら前記第1の測距値を減じた値が第1の設定値より小さ
くないときに、前記クランプ信号を前記第2のレベルに
設定し、前記積分手段における前記出力比信号の積算期
間の総和を第3の数に設定して前記積分手段から出力さ
れた前記積分信号に基づいて第3の測距値を検出し、前
記第2の測距値と前記第3の測距値の和に基づいて前記
測距対象物までの距離を算出する。
Means for Solving the Problems [1] One aspect of the side distance device according to the present invention is a light projecting means for projecting a light beam toward an object to be measured, and a light projecting onto the object to be measured. The reflected light of the luminous flux is received at a light receiving position on a position detection element corresponding to the distance to the distance measurement target, and based on the light receiving position, if the received light amount is constant, the longer the distance, the greater the distance. A light-receiving unit that outputs a far-side signal that is a large value and a near-side signal that is a larger value as the distance is shorter if the amount of received light is constant,
The far-side signal is input and compared with the level of the clamp signal. If the level of the far-side signal is equal to or higher than the level of the clamp signal, the far-side signal is output. A calculating means for calculating a ratio between the near side signal and the signal output from the clamping means to output an output ratio signal; integrating the output ratio signal to integrate the output ratio signal; Integrating means for outputting an integrated signal according to the result; controlling the projection of the light beam in the light projecting means, the level of the clamp signal in the clamping means, and the total sum of the integration period of the output ratio signal in the integrating means. And control means for detecting a distance measurement value based on the integration signal output from the integration means, wherein the control means comprises:
The clamp signal is set to a first level, the sum of the integration period of the output ratio signal in the integration means is set to a first number, and a first sum is set based on the integration signal output from the integration means. Detecting a distance measurement value, and (b) when the first distance measurement value is a value on the far side that is equal to or longer than a first set distance, the clamp signal is set to a second level smaller than the first level. Setting the sum of the integration periods of the output ratio signal in the integration means to a second number, detecting a second distance measurement value based on the integration signal output from the integration means, and (c) Or) when the second distance value is a value closer to the second set distance, or when the second distance value is not a value closer to the second set distance, and When a value obtained by subtracting the first distance measurement value from the distance measurement value is smaller than a first set value, Set No. to the first level,
The sum of the integration periods of the output ratio signal in the integration means is set to a third number, and a third distance measurement value is detected based on the integration signal output from the integration means. Calculating a distance to the object to be measured based on a sum of the distance value and the third distance measurement value; and (d) determining that the second distance measurement value is the second distance measurement value.
When the clamp signal is not closer to the set distance and the value obtained by subtracting the first measured value from the second measured value is not smaller than the first set value, the clamp signal is set to the second set value. Level, the sum of the integration periods of the output ratio signal in the integration means is set to a third number, and a third ranging value is detected based on the integration signal output from the integration means, The distance to the distance measurement target is calculated based on the sum of the second distance measurement value and the third distance measurement value.

【0021】なお、第1の数、第2の数及び第3の数
は、それぞれ同一であってもよいし異なっていてもよ
い。
Note that the first number, the second number, and the third number may be the same or different.

【0022】この一の局面によれば、外光輝度が比較的
高く測距対象物の反射率が大きい場合に、第2の測距値
が近側の値として検出されても、その第2の測距値が第
2の設定距離より近側の値であるときには、クランプ信
号を高レベルの第1のレベルに設定して第3の測距値を
検出し、第1の測距値と第3の測距値の和に基づいて測
距対象物までの距離を算出する。このため、測距対象物
までの距離を精度良く検出できる。
According to this aspect, when the external light luminance is relatively high and the reflectivity of the object to be measured is large, even if the second distance measurement value is detected as a near value, the second distance measurement value is detected. Is smaller than the second set distance, the clamp signal is set to the first high level, a third distance value is detected, and the first and second distance values are detected. The distance to the distance measurement target is calculated based on the sum of the third distance measurement values. For this reason, the distance to the object to be measured can be accurately detected.

【0023】[2] 本発明に係る側距装置の他の局面
は、測距対象物に向けて光束を投光する投光手段と、前
記測距対象物に投光された前記光束の反射光を、前記測
距対象物までの距離に応じた位置検出素子上の受光位置
で受光し、その受光位置に基づいて、受光光量が一定で
あれば前記距離が遠いほど大きな値である遠側信号と、
受光光量が一定であれば前記距離が近いほど大きな値で
ある近側信号とを出力する受光手段と、前記遠側信号を
入力してクランプ信号のレベルと大小比較し、前記遠側
信号のレベルが前記クランプ信号のレベル以上の場合に
は前記遠側信号を出力し、そうでない場合には前記クラ
ンプ信号を出力するクランプ手段と、前記近側信号と前
記クランプ手段から出力された信号との比を演算して出
力比信号を出力する演算手段と、前記出力比信号を積算
して積分し、その積分結果に応じた積分信号を出力する
積分手段と、前記投光手段における前記光束の投光、前
記クランプ手段における前記クランプ信号のレベルおよ
び前記積分手段における前記出力比信号の積算期間の総
和それぞれを制御するとともに、前記積分手段から出力
された前記積分信号に基づいて測距値を検出する制御手
段と、を含み、前記制御手段は、(a)前記クランプ信
号を第1のレベルに設定し、前記積分手段における前記
出力比信号の積算期間の総和を第1の数に設定して前記
積分手段から出力された前記積分信号に基づいて第1の
測距値を検出し、(b)前記第1の測距値が第1の設定
距離以上の遠側の値であるときに、前記クランプ信号を
前記第1のレベルより小さい第2のレベルに設定し、前
記積分手段における前記出力比信号の積算期間の総和を
第2の数に設定して前記積分手段から出力された前記積
分信号に基づいて第2の測距値を検出し、(c)前記第
2の測距値から前記第1の測距値を減じた値が第1の設
定値より小さいときに、又は、前記第2の測距値から前
記第1の測距値を減じた値が第1の設定値より小さくな
くかつ前記第2の測距値が第3の設定距離より遠側の値
であるときに、前記クランプ信号を前記第1のレベルに
設定し、前記積分手段における前記出力比信号の積算期
間の総和を第3の数に設定して前記積分手段から出力さ
れた前記積分信号に基づいて第3の測距値を検出し、前
記第1の測距値と前記第3の測距値の和に基づいて前記
測距対象物までの距離を算出し、(d)前記第2の測距
値から前記第1の測距値を減じた値が第1の設定値より
小さくなくかつ前記第2の測距値が第3の設定距離より
遠側の値でないときに、前記クランプ信号を前記第2の
レベルに設定し、前記積分手段における前記出力比信号
の積算期間の総和を第3の数に設定して前記積分手段か
ら出力された前記積分信号に基づいて第3の測距値を検
出し、前記第2の測距値と前記第3の測距値の和に基づ
いて前記測距対象物までの距離を算出する。
[2] Another aspect of the side distance device according to the present invention is a light projecting means for projecting a light beam toward a distance measuring object, and a reflection of the light beam projected on the distance measuring object. The light is received at a light receiving position on the position detecting element corresponding to the distance to the object to be measured, and based on the light receiving position, if the received light amount is constant, the far side increases as the distance increases. Signals,
If the amount of received light is constant, a light receiving means for outputting a near side signal having a larger value as the distance becomes shorter, and a level of the far side signal is inputted and compared with the level of a clamp signal, and the level of the far side signal is obtained. Is greater than or equal to the level of the clamp signal, and outputs the far-side signal; otherwise, the clamp means for outputting the clamp signal, and the ratio between the near-side signal and the signal output from the clamp means. And an output means for outputting an output ratio signal; an integrating means for integrating and integrating the output ratio signal; and outputting an integrated signal according to the integration result; and projecting the light beam in the light projecting means. Controlling the level of the clamp signal in the clamp means and the sum of the integration period of the output ratio signal in the integration means, and controlling the level of the integration signal output from the integration means. Control means for detecting a distance measurement value based on the following formula: (a) setting the clamp signal to a first level, and calculating the sum of integration periods of the output ratio signal in the integration means. Detecting a first distance measurement value based on the integration signal output from the integration means while setting the first distance measurement value to a first number, and (b) detecting the first distance measurement value which is equal to or greater than a first set distance. And setting the clamp signal to a second level smaller than the first level, and setting the sum of the integration period of the output ratio signal in the integration means to a second number. A second ranging value is detected based on the integration signal output from the integrating means, and (c) a value obtained by subtracting the first ranging value from the second ranging value is a first set value. When the value is smaller than the first value or when the first distance value is subtracted from the second distance value, The clamp signal is set to the first level when the second distance measurement value is not smaller than a fixed value and the second distance measurement value is a value farther than a third set distance, and the output ratio signal of the integration means is set. The sum of the integration periods is set to a third number, a third distance value is detected based on the integration signal output from the integration means, and the first distance value and the third distance value are detected. Calculating the distance to the object to be measured based on the sum of the values; (d) a value obtained by subtracting the first distance value from the second distance value is not smaller than a first set value; When the second distance value is not a value farther than the third set distance, the clamp signal is set to the second level, and the sum of the integration period of the output ratio signal in the integrating means is set to the second level. A third distance measurement value is detected based on the integration signal output from the integration means by setting the number to three. Then, the distance to the distance measurement target is calculated based on the sum of the second distance measurement value and the third distance measurement value.

【0024】なお、第1の数、第2の数及び第3の数
は、それぞれ同一であってもよいし異なっていてもよ
い。
Note that the first number, the second number, and the third number may be the same or different.

【0025】この他の局面によれば、第2の測距値から
第1の測距値を減じた値が第1の設定値より小さくない
ときでも、第2の測距値が第3の設定距離より遠側の値
であるときには、クランプ信号を第1のレベルに設定し
第3の測距値を検出し、第1の測距値と第3の測距値の
和に基づいて測距対象物までの距離を算出する。このた
め、測距対象物の反射率が基準反射率程度である場合
に、クランプ信号が第1のレベルに設定され第3の測距
値が検出されることにより、第3の測距値が設計値より
近側の値として検出されることが防止される。このた
め、測距対象物までの距離を精度良く検出できる。
According to this other aspect, even when the value obtained by subtracting the first distance measurement value from the second distance measurement value is not smaller than the first set value, the second distance measurement value becomes the third distance measurement value. If the value is farther than the set distance, the clamp signal is set to the first level, a third distance value is detected, and measurement is performed based on the sum of the first distance value and the third distance value. The distance to the distance target is calculated. Therefore, when the reflectance of the object to be measured is approximately equal to the reference reflectance, the clamp signal is set to the first level and the third distance measurement value is detected. It is prevented from being detected as a value closer to the design value. For this reason, the distance to the object to be measured can be accurately detected.

【0026】[3] 本発明に係る側距装置のさらに他の
局面は、測距対象物に向けて光束を投光する投光手段
と、前記測距対象物に投光された前記光束の反射光を、
前記測距対象物までの距離に応じた位置検出素子上の受
光位置で受光し、その受光位置に基づいて、受光光量が
一定であれば前記距離が遠いほど大きな値である遠側信
号と、受光光量が一定であれば前記距離が近いほど大き
な値である近側信号とを出力する受光手段と、前記遠側
信号を入力してクランプ信号のレベルと大小比較し、前
記遠側信号のレベルが前記クランプ信号のレベル以上の
場合には前記遠側信号を出力し、そうでない場合には前
記クランプ信号を出力するクランプ手段と、前記近側信
号と前記クランプ手段から出力された信号との比を演算
して出力比信号を出力する演算手段と、前記出力比信号
を積算して積分し、その積分結果に応じた積分信号を出
力する積分手段と、前記投光手段における前記光束の投
光、前記クランプ手段における前記クランプ信号のレベ
ルおよび前記積分手段における前記出力比信号の積算期
間の総和それぞれを制御するとともに、前記積分手段か
ら出力された前記積分信号に基づいて測距値を検出する
制御手段と、を含み、前記制御手段は、(a)前記クラ
ンプ信号を第1のレベルに設定し、前記積分手段におけ
る前記出力比信号の積算期間の総和を第1の数に設定し
て前記積分手段から出力された前記積分信号に基づいて
第1の測距値を検出し、(b)前記第1の測距値が第1
の設定距離以上の遠側の値であるときに、前記クランプ
信号を前記第1のレベルより小さい第2のレベルに設定
し、前記積分手段における前記出力比信号の積算期間の
総和を第2の数に設定して前記積分手段から出力された
前記積分信号に基づいて第2の測距値を検出し、(c)
前記第1の測距値と前記第1の測距値の和が第2の設定
値より大きくなく又は前記第2の測距値から前記第1の
測距値を減じた値が第3の設定値より大きくなく、か
つ、前記第2の測距値から前記第1の測距値を減じた値
が第1の設定値より小さいときに、前記クランプ信号を
前記第1のレベルに設定し、前記積分手段における前記
出力比信号の積算期間の総和を第3の数に設定して前記
積分手段から出力された前記積分信号に基づいて第3の
測距値を検出し、前記第1の測距値と前記第3の測距値
の和に基づいて前記測距対象物までの距離を算出し、
(d)前記第1の測距値と前記第1の測距値の和が第2
の設定値より大きくかつ前記第2の測距値から前記第1
の測距値を減じた値が第3の設定値より大きいときに、
又は、前記第1の測距値と前記第1の測距値の和が第2
の設定値より大きくなく若しくは前記第2の測距値から
前記第1の測距値を減じた値が第3の設定値より大きく
なく、かつ、前記第2の測距値から前記第1の測距値を
減じた値が第1の設定値より小さくないときに、前記ク
ランプ信号を前記第2のレベルに設定し、前記積分手段
における前記出力比信号の積算期間の総和を第3の数に
設定して前記積分手段から出力された前記積分信号に基
づいて第3の測距値を検出し、前記第2の測距値と前記
第3の測距値の和に基づいて前記測距対象物までの距離
を算出する。
[3] Still another aspect of the side-distance device according to the present invention is a light-emitting unit that emits a light beam toward the object to be measured, and a light-emitting unit that projects the light beam onto the object to be measured. Reflected light,
Receives light at a light receiving position on the position detecting element according to the distance to the distance measurement target, based on the light receiving position, if the received light amount is constant, a far side signal that is larger as the distance is longer, If the amount of received light is constant, a light receiving means for outputting a near side signal having a larger value as the distance becomes shorter, and a level of the far side signal is inputted and compared with the level of a clamp signal, and the level of the far side signal is obtained. Is greater than or equal to the level of the clamp signal, and outputs the far-side signal; otherwise, the clamp means for outputting the clamp signal, and the ratio between the near-side signal and the signal output from the clamp means. And an output means for outputting an output ratio signal; an integrating means for integrating and integrating the output ratio signal; and outputting an integrated signal according to the integration result; and projecting the light beam in the light projecting means. , The clamp Control means for controlling a level of the clamp signal in a stage and a sum of integration periods of the output ratio signal in the integration means, and detecting a distance measurement value based on the integration signal output from the integration means; Wherein the control means (a) sets the clamp signal to a first level, sets the sum of the integration period of the output ratio signal in the integration means to a first number, and outputs the sum from the integration means. Detecting a first distance value based on the integrated signal thus obtained, and (b) determining the first distance value as a first distance value.
When the value is on the far side of the set distance or more, the clamp signal is set to a second level smaller than the first level, and the sum of the integration period of the output ratio signal in the integration means is set to the second level. (C) detecting a second distance measurement value based on the integration signal output from the integration means while setting the number to a number;
The sum of the first distance measurement value and the first distance measurement value is not larger than a second set value or a value obtained by subtracting the first distance measurement value from the second distance measurement value is a third value. Setting the clamp signal to the first level when the value is not larger than a set value and a value obtained by subtracting the first distance value from the second distance value is smaller than a first set value; Setting the sum of the integration period of the output ratio signal in the integration means to a third number, detecting a third distance value based on the integration signal output from the integration means, Calculating a distance to the distance measurement target based on a sum of the distance measurement value and the third distance measurement value;
(D) the sum of the first distance measurement value and the first distance measurement value is a second
Is larger than the set value of the second distance measurement value and the first
When the value obtained by subtracting the distance measurement value is larger than the third set value,
Alternatively, the sum of the first distance measurement value and the first distance measurement value is a second distance measurement value.
Or a value obtained by subtracting the first distance measurement value from the second distance measurement value is not larger than a third value and the first distance measurement value is not larger than the second distance measurement value. When the value obtained by subtracting the distance measurement value is not smaller than the first set value, the clamp signal is set to the second level, and the sum of the integration period of the output ratio signal in the integration means is set to a third number. And a third distance measurement value is detected based on the integration signal output from the integration means, and the distance measurement is performed based on a sum of the second distance measurement value and the third distance measurement value. Calculate the distance to the object.

【0027】なお、第1の数、第2の数及び第3の数
は、それぞれ同一であってもよいし異なっていてもよ
い。
Note that the first number, the second number, and the third number may be the same or different.

【0028】これによれば、第1の測距値と第1の測距
値の和などが第2の設定値より大きく第2の測距値から
第1の測距値を減じた値が第3の設定値より大きいとき
には、クランプ信号を第2のレベルに設定し第3の測距
値を検出し、第2の測距値と第3の測距値の和に基づい
て測距対象物までの距離を算出する。このため、測距対
象物の反射率が小さい場合、クランプ信号が第1のレベ
ルに設定され第3の測距値が検出されることにより、第
3の測距値が設計値より遠側の値として検出されること
が低減される。このため、測距対象物までの距離を精度
良く検出できる。
According to this, the sum of the first distance measurement value and the first distance measurement value is larger than the second set value, and a value obtained by subtracting the first distance measurement value from the second distance measurement value is obtained. When the value is larger than the third set value, the clamp signal is set to the second level to detect the third distance value, and the distance measurement target is determined based on the sum of the second distance value and the third distance value. Calculate the distance to the object. For this reason, when the reflectance of the object to be measured is small, the clamp signal is set to the first level and the third measured value is detected, so that the third measured value is on the far side from the design value. Detection as a value is reduced. For this reason, the distance to the object to be measured can be accurately detected.

【0029】[4] 本発明に係る側距装置のさらに他の
局面は、測距対象物に向けて光束を投光する投光手段
と、前記測距対象物に投光された前記光束の反射光を、
前記測距対象物までの距離に応じた位置検出素子上の受
光位置で受光し、その受光位置に基づいて、受光光量が
一定であれば前記距離が遠いほど大きな値である遠側信
号と、受光光量が一定であれば前記距離が近いほど大き
な値である近側信号とを出力する受光手段と、前記遠側
信号を入力してクランプ信号のレベルと大小比較し、前
記遠側信号のレベルが前記クランプ信号のレベル以上の
場合には前記遠側信号を出力し、そうでない場合には前
記クランプ信号を出力するクランプ手段と、前記近側信
号と前記クランプ手段から出力された信号との比を演算
して出力比信号を出力する演算手段と、前記出力比信号
を積算して積分し、その積分結果に応じた積分信号を出
力する積分手段と、前記投光手段における前記光束の投
光、前記クランプ手段における前記クランプ信号のレベ
ルおよび前記積分手段における前記出力比信号の積算期
間の総和それぞれを制御するとともに、前記積分手段か
ら出力された前記積分信号に基づいて測距値を検出する
制御手段と、を含み、前記制御手段は、(a)前記クラ
ンプ信号を第1のレベルに設定し、前記積分手段におけ
る前記出力比信号の積算期間の総和を第1の数に設定し
て前記積分手段から出力された前記積分信号に基づいて
第1の測距値を検出し、(b)前記第1の測距値が第1
の設定距離以上の遠側の値であるときに、前記クランプ
信号を前記第1のレベルより小さい第2のレベルに設定
し、前記積分手段における前記出力比信号の積算期間の
総和を第2の数に設定して前記積分手段から出力された
前記積分信号に基づいて第2の測距値を検出し、(c)
前記第1の測距値と前記第2の測距値の和が第2の設定
値より大きくなく又は前記第2の測距値から前記第1の
測距値を減じた値が第3の設定値より大きくなく、か
つ、前記第2の測距値から前記第1の測距値を減じた値
が第1の設定値より小さいときに、前記クランプ信号を
前記第1のレベルに設定し、前記積分手段における前記
出力比信号の積算期間の総和を第3の数に設定して前記
積分手段から出力された前記積分信号に基づいて第3の
測距値を検出し、前記第1の測距値と前記第3の測距値
の和に基づいて前記測距対象物までの距離を算出し、
(d)前記第1の測距値と前記第2の測距値の和が第2
の設定値より大きくかつ前記第2の測距値から前記第1
の測距値を減じた値が第3の設定値より大きいときに、
又は、前記第1の測距値と前記第2の測距値の和が第2
の設定値より大きくなく若しくは前記第2の測距値から
前記第1の測距値を減じた値が第3の設定値より大きく
なく、かつ、前記第2の測距値から前記第1の測距値を
減じた値が第1の設定値より小さくないときに、前記ク
ランプ信号を前記第2のレベルに設定し、前記積分手段
における前記出力比信号の積算期間の総和を第3の数に
設定して前記積分手段から出力された前記積分信号に基
づいて第3の測距値を検出し、前記第2の測距値と前記
第3の測距値の和に基づいて前記測距対象物までの距離
を算出する。
[4] Still another aspect of the side-distance device according to the present invention is a light-emitting unit that emits a light beam toward a distance-measuring object, and a light-emitting device that projects the light beam onto the distance-measuring object. Reflected light,
Receives light at a light receiving position on the position detecting element according to the distance to the distance measurement target, based on the light receiving position, if the received light amount is constant, a far side signal that is larger as the distance is longer, If the amount of received light is constant, a light receiving means for outputting a near side signal having a larger value as the distance becomes shorter, and a level of the far side signal is inputted and compared with the level of a clamp signal, and the level of the far side signal is obtained. Is greater than or equal to the level of the clamp signal, and outputs the far-side signal; otherwise, the clamp means for outputting the clamp signal, and the ratio between the near-side signal and the signal output from the clamp means. And an output means for outputting an output ratio signal; an integrating means for integrating and integrating the output ratio signal; and outputting an integrated signal according to the integration result; and projecting the light beam in the light projecting means. , The clamp Control means for controlling a level of the clamp signal in a stage and a sum of integration periods of the output ratio signal in the integration means, and detecting a distance measurement value based on the integration signal output from the integration means; Wherein the control means (a) sets the clamp signal to a first level, sets the sum of the integration period of the output ratio signal in the integration means to a first number, and outputs the sum from the integration means. Detecting a first distance value based on the integrated signal thus obtained, and (b) determining the first distance value as a first distance value.
When the value is on the far side of the set distance or more, the clamp signal is set to a second level smaller than the first level, and the sum of the integration period of the output ratio signal in the integration means is set to the second level. (C) detecting a second distance measurement value based on the integration signal output from the integration means while setting the number to a number;
The sum of the first distance value and the second distance value is not larger than a second set value or a value obtained by subtracting the first distance value from the second distance value is a third value. Setting the clamp signal to the first level when the value is not larger than a set value and a value obtained by subtracting the first distance value from the second distance value is smaller than a first set value; Setting the sum of the integration period of the output ratio signal in the integration means to a third number, detecting a third distance value based on the integration signal output from the integration means, Calculating a distance to the distance measurement target based on a sum of the distance measurement value and the third distance measurement value;
(D) the sum of the first distance measurement value and the second distance measurement value is a second
Is larger than the set value of the second distance measurement value and the first
When the value obtained by subtracting the distance measurement value is larger than the third set value,
Alternatively, the sum of the first distance measurement value and the second distance measurement value is a second distance measurement value.
Or a value obtained by subtracting the first distance measurement value from the second distance measurement value is not larger than a third value and the first distance measurement value is not larger than the second distance measurement value. When the value obtained by subtracting the distance measurement value is not smaller than the first set value, the clamp signal is set to the second level, and the sum of the integration period of the output ratio signal in the integration means is set to a third number. And a third distance measurement value is detected based on the integration signal output from the integration means, and the distance measurement is performed based on a sum of the second distance measurement value and the third distance measurement value. Calculate the distance to the object.

【0030】なお、第1の数、第2の数及び第3の数
は、それぞれ同一であってもよいし異なっていてもよ
い。
The first number, the second number, and the third number may be the same or different.

【0031】これによれば、第1の測距値と第1の測距
値の和などが第2の設定値より大きく第2の測距値から
第1の測距値を減じた値が第3の設定値より大きいとき
には、クランプ信号を第2のレベルに設定し第3の測距
値を検出し、第2の測距値と第3の測距値の和に基づい
て測距対象物までの距離を算出する。このため、測距対
象物の反射率が小さい場合、クランプ信号が第1のレベ
ルに設定され第3の測距値が検出されることにより、第
3の測距値が設計値より遠側の値として検出されること
が低減される。このため、測距対象物までの距離を精度
良く検出できる。
According to this, the sum of the first distance measurement value and the first distance measurement value is larger than the second set value and the value obtained by subtracting the first distance measurement value from the second distance measurement value is When the value is larger than the third set value, the clamp signal is set to the second level, a third distance value is detected, and the distance measurement target is determined based on the sum of the second distance value and the third distance value. Calculate the distance to the object. For this reason, when the reflectance of the object to be measured is small, the clamp signal is set to the first level and the third measured value is detected, so that the third measured value is on the far side from the design value. Detection as a value is reduced. For this reason, the distance to the object to be measured can be accurately detected.

【0032】[5] 本発明に係る側距装置のさらに他の
局面は、測距対象物に向けて光束を投光する投光手段
と、前記測距対象物に投光された前記光束の反射光を、
前記測距対象物までの距離に応じた位置検出素子上の受
光位置で受光し、その受光位置に基づいて、受光光量が
一定であれば前記距離が遠いほど大きな値である遠側信
号と、受光光量が一定であれば前記距離が近いほど大き
な値である近側信号とを出力する受光手段と、前記遠側
信号を入力してクランプ信号のレベルと大小比較し、前
記遠側信号のレベルが前記クランプ信号のレベル以上の
場合には前記遠側信号を出力し、そうでない場合には前
記クランプ信号を出力するクランプ手段と、前記近側信
号と前記クランプ手段から出力された信号との比を演算
して出力比信号を出力する演算手段と、前記出力比信号
を積算して積分し、その積分結果に応じた積分信号を出
力する積分手段と、前記投光手段における前記光束の投
光、前記クランプ手段における前記クランプ信号のレベ
ルおよび前記積分手段における前記出力比信号の積算期
間の総和それぞれを制御するとともに、前記積分手段か
ら出力された前記積分信号に基づいて測距値を検出する
制御手段と、を含み、前記制御手段は、(a)前記クラ
ンプ信号を第1のレベルに設定し、前記積分手段におけ
る前記出力比信号の積算期間の総和を第1の数に設定し
て前記積分手段から出力された前記積分信号に基づいて
第1の測距値を検出し、(b)前記第1の測距値が第1
の設定距離以上の遠側の値であるときに、前記クランプ
信号を前記第1のレベルより小さい第2のレベルに設定
し、前記積分手段における前記出力比信号の積算期間の
総和を第2の数に設定して前記積分手段から出力された
前記積分信号に基づいて第2の測距値を検出し、(c)
前記第2の測距値と前記第2の測距値の和が第2の設定
値より大きくなく又は前記第2の測距値から前記第1の
測距値を減じた値が第3の設定値より大きくなく、か
つ、前記第2の測距値から前記第1の測距値を減じた値
が第1の設定値より小さいときに、前記クランプ信号を
前記第1のレベルに設定し、前記積分手段における前記
出力比信号の積算期間の総和を第3の数に設定して前記
積分手段から出力された前記積分信号に基づいて第3の
測距値を検出し、前記第1の測距値と前記第3の測距値
の和に基づいて前記測距対象物までの距離を算出し、
(d)前記第2の測距値と前記第2の測距値の和が第2
の設定値より大きくかつ前記第2の測距値から前記第1
の測距値を減じた値が第3の設定値より大きいときに、
又は、前記第2の測距値と前記第2の測距値の和が第2
の設定値より大きくなく若しくは前記第2の測距値から
前記第1の測距値を減じた値が第3の設定値より大きく
なく、かつ、前記第2の測距値から前記第1の測距値を
減じた値が第1の設定値より小さくないときに、前記ク
ランプ信号を前記第2のレベルに設定し、前記積分手段
における前記出力比信号の積算期間の総和を第3の数に
設定して前記積分手段から出力された前記積分信号に基
づいて第3の測距値を検出し、前記第2の測距値と前記
第3の測距値の和に基づいて前記測距対象物までの距離
を算出する。
[5] Still another aspect of the side distance device according to the present invention is a light projecting means for projecting a light beam toward the object to be measured, and a light source for projecting the light beam onto the object to be measured. Reflected light,
Receives light at a light receiving position on the position detecting element according to the distance to the distance measurement target, based on the light receiving position, if the received light amount is constant, a far side signal that is larger as the distance is longer, If the amount of received light is constant, a light receiving means for outputting a near side signal having a larger value as the distance becomes shorter, and a level of the far side signal is inputted and compared with the level of a clamp signal, and the level of the far side signal is obtained. Is greater than or equal to the level of the clamp signal, and outputs the far-side signal; otherwise, the clamp means for outputting the clamp signal, and the ratio between the near-side signal and the signal output from the clamp means. And an output means for outputting an output ratio signal; an integrating means for integrating and integrating the output ratio signal; and outputting an integrated signal according to the integration result; and projecting the light beam in the light projecting means. , The clamp Control means for controlling a level of the clamp signal in a stage and a sum of integration periods of the output ratio signal in the integration means, and detecting a distance measurement value based on the integration signal output from the integration means; Wherein the control means (a) sets the clamp signal to a first level, sets the sum of the integration period of the output ratio signal in the integration means to a first number, and outputs the sum from the integration means. Detecting a first distance value based on the integrated signal thus obtained, and (b) determining the first distance value as a first distance value.
When the value is on the far side of the set distance or more, the clamp signal is set to a second level smaller than the first level, and the sum of the integration period of the output ratio signal in the integration means is set to the second level. (C) detecting a second distance measurement value based on the integration signal output from the integration means while setting the number to a number;
The sum of the second distance value and the second distance value is not larger than a second set value or a value obtained by subtracting the first distance value from the second distance value is a third value. Setting the clamp signal to the first level when the value is not larger than a set value and a value obtained by subtracting the first distance value from the second distance value is smaller than a first set value; Setting the sum of the integration period of the output ratio signal in the integration means to a third number, detecting a third distance value based on the integration signal output from the integration means, Calculating a distance to the distance measurement target based on a sum of the distance measurement value and the third distance measurement value;
(D) the sum of the second distance measurement value and the second distance measurement value is the second
Is larger than the set value of the second distance measurement value and the first
When the value obtained by subtracting the distance measurement value is larger than the third set value,
Alternatively, the sum of the second distance measurement value and the second distance measurement value is the second distance measurement value.
Or a value obtained by subtracting the first distance measurement value from the second distance measurement value is not larger than a third value and the first distance measurement value is not larger than the second distance measurement value. When the value obtained by subtracting the distance measurement value is not smaller than the first set value, the clamp signal is set to the second level, and the sum of the integration period of the output ratio signal in the integration means is set to a third number. And a third distance measurement value is detected based on the integration signal output from the integration means, and the distance measurement is performed based on a sum of the second distance measurement value and the third distance measurement value. Calculate the distance to the object.

【0033】なお、第1の数、第2の数及び第3の数
は、それぞれ同一であってもよいし異なっていてもよ
い。
The first number, the second number, and the third number may be the same or different.

【0034】これによれば、第1の測距値と第1の測距
値の和などが第2の設定値より大きく第2の測距値から
第1の測距値を減じた値が第3の設定値より大きいとき
には、クランプ信号を第2のレベルに設定し第3の測距
値を検出し、第2の測距値と第3の測距値の和に基づい
て測距対象物までの距離を算出する。このため、測距対
象物の反射率が小さい場合、クランプ信号が第1のレベ
ルに設定され第3の測距値が検出されることにより、第
3の測距値が設計値より遠側の値として検出されること
が低減される。このため、測距対象物までの距離を精度
良く検出できる。
According to this, the sum of the first distance measurement value and the first distance measurement value is larger than the second set value and the value obtained by subtracting the first distance measurement value from the second distance measurement value is When the value is larger than the third set value, the clamp signal is set to the second level, a third distance value is detected, and the distance measurement target is determined based on the sum of the second distance value and the third distance value. Calculate the distance to the object. For this reason, when the reflectance of the object to be measured is small, the clamp signal is set to the first level and the third measured value is detected, so that the third measured value is on the far side from the design value. Detection as a value is reduced. For this reason, the distance to the object to be measured can be accurately detected.

【0035】[6] 本発明に係る側距装置のさらに他の
局面は、測距対象物に向けて光束を投光する投光手段
と、前記測距対象物に投光された前記光束の反射光を、
前記測距対象物までの距離に応じた位置検出素子上の受
光位置で受光し、その受光位置に基づいて、受光光量が
一定であれば前記距離が遠いほど大きな値である遠側信
号と、受光光量が一定であれば前記距離が近いほど大き
な値である近側信号とを出力する受光手段と、前記遠側
信号を入力してクランプ信号のレベルと大小比較し、前
記遠側信号のレベルが前記クランプ信号のレベル以上の
場合には前記遠側信号を出力し、そうでない場合には前
記クランプ信号を出力するクランプ手段と、前記近側信
号と前記クランプ手段から出力された信号との比を演算
して出力比信号を出力する演算手段と、前記出力比信号
を積分コンデンサに積算して積分し、その積分結果に応
じた積分信号を出力する積分手段と、前記投光手段にお
ける前記光束の投光、前記クランプ手段における前記ク
ランプ信号のレベルおよび前記積分手段における前記出
力比信号の積算期間の総和それぞれを制御するととも
に、前記積分手段から出力された前記積分信号に基づい
て測距値を検出する制御手段と、を含み、前記制御手段
は、(a)前記クランプ信号を第1のレベルに設定し、
前記積分手段における前記出力比信号の積算期間の総和
を第1の数に設定して前記積分手段から出力された前記
積分信号に基づいて第1の測距値を検出し、(b)前記
クランプ信号を第2のレベルに設定し、前記積分手段に
おける前記出力比信号の積算期間の総和を前記第1の数
より小さい第2の数に設定して前記積分手段から出力さ
れた前記積分信号に基づいて第2の測距値を検出し、
(c)前記第2の測距値に所定の値を加算して前記第2
の測距値を補正し、前記第1の測距値と前記補正された
第2の測距値の和に基づいて前記測距対象物までの距離
を算出する。
[6] Still another aspect of the side-distance device according to the present invention is a light-emitting unit that emits a light beam toward the object to be measured, and a light-emitting unit that projects the light beam onto the object to be measured. Reflected light,
Receives light at a light receiving position on the position detection element according to the distance to the distance measurement target, and based on the light receiving position, if the received light amount is constant, a far side signal that has a larger value as the distance increases, If the amount of received light is constant, a light receiving means for outputting a near side signal which has a larger value as the distance is shorter, and a level of the far side signal which is inputted and compared with the level of a clamp signal, and the level of the far side signal Is greater than or equal to the level of the clamp signal, and outputs the far-side signal; otherwise, the clamp means for outputting the clamp signal, and the ratio of the near-side signal to the signal output from the clamp means. And an output means for outputting an output ratio signal; an integration means for integrating the output ratio signal into an integration capacitor for integration; and outputting an integration signal according to the integration result; Throw Controlling the level of the clamp signal in the clamp means and the sum of the integration period of the output ratio signal in the integration means, and detecting a distance measurement value based on the integration signal output from the integration means. Means; (a) setting the clamp signal to a first level;
(B) detecting a first distance measurement value based on the integration signal output from the integration means by setting a sum of integration periods of the output ratio signal in the integration means to a first number; The signal is set to a second level, and the sum of the integration period of the output ratio signal in the integration means is set to a second number smaller than the first number, and the integration signal output from the integration means is set to the second number. Detecting a second distance value based on the
(C) adding a predetermined value to the second distance measurement value to obtain the second distance measurement value;
Is calculated, and the distance to the object to be measured is calculated based on the sum of the first measured value and the corrected second measured value.

【0036】このさらに他の局面は、前記第2の測距値
の検出における前記クランプ信号の前記第2のレベル
は、前記第1の測距値の検出における前記クランプ信号
の前記第1のレベルに対し同じ又は小さい、が好まし
い。
In still another aspect, the second level of the clamp signal in the detection of the second distance value is the first level of the clamp signal in the detection of the first distance value. Is preferably the same as or smaller than

【0037】[7] 本発明に係る側距装置のさらに他の
局面は、測距対象物に向けて光束を投光する投光手段
と、前記測距対象物に投光された前記光束の反射光を、
前記測距対象物までの距離に応じた位置検出素子上の受
光位置で受光し、その受光位置に基づいて、受光光量が
一定であれば前記距離が遠いほど大きな値である遠側信
号と、受光光量が一定であれば前記距離が近いほど大き
な値である近側信号とを出力する受光手段と、前記遠側
信号を入力してクランプ信号のレベルと大小比較し、前
記遠側信号のレベルが前記クランプ信号のレベル以上の
場合には前記遠側信号を出力し、そうでない場合には前
記クランプ信号を出力するクランプ手段と、前記近側信
号と前記クランプ手段から出力された信号との比を演算
して出力比信号を出力する演算手段と、前記出力比信号
を積分コンデンサに積算して積分し、その積分結果に応
じた積分信号を出力する積分手段と、前記投光手段にお
ける前記光束の投光、前記クランプ手段における前記ク
ランプ信号のレベルおよび前記積分手段における前記出
力比信号の積算期間の総和それぞれを制御するととも
に、前記積分手段から出力された前記積分信号に基づい
て測距値を検出する制御手段と、を含み、前記制御手段
は、(a)前記クランプ信号を第1のレベルに設定し、
前記積分手段における前記出力比信号の積算期間の総和
を第1の数に設定して前記積分手段から出力された前記
積分信号に基づいて第1の測距値を検出し、(b)前記
クランプ信号を第2のレベルに設定し、前記積分手段に
おける前記出力比信号の積算期間の総和を前記第1の数
より小さい第2の数に設定して前記積分手段から出力さ
れた前記積分信号に基づいて第2の測距値を検出し、
(c)前記第2の測距値に所定の値を加算して前記第2
の測距値を補正し、(d)前記クランプ信号を第3のレ
ベルに設定し、前記積分手段における前記出力比信号の
積算期間の総和を前記第1の数より小さい第3の数に設
定して前記積分手段から出力された前記積分信号に基づ
いて第3の測距値を検出し、(e)前記第3の測距値に
所定の値を加算して前記第3の測距値を補正し、(f)
前記第1の測距値と前記補正された第2の測距値の和に
基づいて又は前記第2の測距値と前記補正された第3の
測距値の和に基づいて前記測距対象物までの距離を算出
する。
[7] Still another aspect of the side-distance device according to the present invention is a light-emitting device that emits a light beam toward a distance-measuring object, Reflected light,
Receives light at a light receiving position on the position detection element according to the distance to the distance measurement target, and based on the light receiving position, if the received light amount is constant, a far side signal that has a larger value as the distance increases, If the amount of received light is constant, a light receiving means for outputting a near side signal which has a larger value as the distance is shorter, and a level of the far side signal which is inputted and compared with the level of a clamp signal, and the level of the far side signal Is greater than or equal to the level of the clamp signal, and outputs the far-side signal; otherwise, the clamp means for outputting the clamp signal, and the ratio of the near-side signal to the signal output from the clamp means. And an output means for outputting an output ratio signal; an integration means for integrating the output ratio signal into an integration capacitor for integration; and outputting an integration signal according to the integration result; Throw Controlling the level of the clamp signal in the clamp means and the sum of the integration period of the output ratio signal in the integration means, and detecting a distance measurement value based on the integration signal output from the integration means. Means; (a) setting the clamp signal to a first level;
(B) detecting a first distance measurement value based on the integration signal output from the integration means by setting a sum of integration periods of the output ratio signal in the integration means to a first number; The signal is set to a second level, and the sum of the integration period of the output ratio signal in the integration means is set to a second number smaller than the first number, and the integration signal output from the integration means is set to the second number. Detecting a second distance value based on the
(C) adding a predetermined value to the second distance measurement value to obtain the second distance measurement value;
(D) setting the clamp signal to a third level, and setting the sum of the integration periods of the output ratio signal in the integration means to a third number smaller than the first number Detecting a third distance measurement value based on the integration signal output from the integration means, and (e) adding a predetermined value to the third distance measurement value to obtain the third distance measurement value. And (f)
The distance measurement is performed based on a sum of the first distance measurement value and the corrected second distance measurement value or based on a sum of the second distance measurement value and the corrected third distance measurement value. Calculate the distance to the object.

【0038】この場合、第2の数と第3の数は同一であ
ることが望ましい。
In this case, it is desirable that the second number and the third number be the same.

【0039】このさらに他の局面は、前記第2の測距値
の検出における前記クランプ信号の前記第2のレベル
は、前記第1の測距値の検出における前記クランプ信号
の前記第1のレベルに対し同じ又は小さく、前記第3の
測距値の検出における前記クランプ信号の前記第3のレ
ベルは、前記第1の測距値の検出における前記クランプ
信号の前記第1のレベルに対し同じ又は小さい、が好ま
しい。
In still another aspect, the second level of the clamp signal in the detection of the second distance value is the first level of the clamp signal in the detection of the first distance value. And the third level of the clamp signal in the detection of the third distance value is the same as or smaller than the first level of the clamp signal in the detection of the first distance value. Small is preferred.

【0040】このさらに他の局面は、前記第2の測距値
の補正のために加算される前記所定の値と前記第3の測
距値の補正のために加算される前記所定の値は、同じ数
値である、が好ましい。
In another aspect, the predetermined value added for correcting the second distance measurement value and the predetermined value added for correcting the third distance measurement value are different from each other. Are preferably the same.

【0041】これらによれば、連続して測距を行い複数
の測距値に基づいて測距対象物までの距離を検出する場
合、第1の測距値検出の積分処理と第2の測距値検出の
積分処理において積分コンデンサの特性に変化が生ずる
が、第1の測距値検出と第2の測距値検出における積分
期間の総和を異なるものとし、第2の測距値に所定の値
を加算して補正することにより、積分コンデンサの特性
変化による第2の測距値の変動を補正することができ
る。このため、測距対象物までの距離を精度良く検出で
きる。
According to these, when the distance measurement is performed continuously and the distance to the object to be measured is detected based on a plurality of distance measurement values, the integration processing of the first distance measurement value detection and the second measurement are performed. In the integration process of the distance value detection, a change occurs in the characteristics of the integration capacitor. Is corrected by adding the value of the second distance measurement value, it is possible to correct a change in the second distance measurement value due to a change in the characteristic of the integration capacitor. For this reason, the distance to the object to be measured can be accurately detected.

【0042】[0042]

【発明の実施の形態】以下、添付図面を参照して本発明
の実施の形態を詳細に説明する。なお、図面の説明にお
いて同一の要素には同一の符号を付し、重複する説明を
省略する。また、以下では、本実施形態に係るアクティ
ブ型の測距装置が自動焦点式カメラの測距装置として適
用される場合について説明する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. In the description of the drawings, the same elements will be denoted by the same reference symbols, without redundant description. Hereinafter, a case will be described in which the active distance measuring apparatus according to the present embodiment is applied as a distance measuring apparatus of an automatic focusing camera.

【0043】(第一実施形態)先ず、本実施形態に係る
測距装置の全体の構成について説明する。図1は、本実
施形態に係る測距装置の構成図である。
(First Embodiment) First, the overall configuration of the distance measuring apparatus according to the present embodiment will be described. FIG. 1 is a configuration diagram of a distance measuring apparatus according to the present embodiment.

【0044】CPU1は、この測距装置を備えるカメラ
全体を制御するものであり、EEPROM2に予め記憶
されているプログラムおよびパラメータに基づいて、こ
の測距装置を含むカメラ全体を制御する。この図に示す
測距装置においては、CPU1は、ドライバ3を制御し
てIRED(赤外線発光ダイオード)4からの赤外光の
出射を制御する。また、CPU1は、自動焦点用IC
(以下「AFIC」という。)10の動作を制御すると
ともに、AFIC10から出力されるAF信号を入力す
る。さらに、CPU1は、測光センサ71により測定さ
れた外光輝度の値を入力する。
The CPU 1 controls the entire camera including the distance measuring device, and controls the entire camera including the distance measuring device based on programs and parameters stored in the EEPROM 2 in advance. In the distance measuring apparatus shown in this figure, the CPU 1 controls the driver 3 to control the emission of infrared light from the IRED (infrared light emitting diode) 4. Also, the CPU 1 is an auto-focus IC
(Hereinafter referred to as “AFIC”) While controlling the operation of 10, an AF signal output from AFIC 10 is input. Further, the CPU 1 inputs the value of the external light luminance measured by the photometric sensor 71.

【0045】特に、本実施形態に係るCPU1は、制御
部1Aを備えることを特徴としている。この制御部1A
は、クランプ回路13におけるクランプ信号のレベルお
よび積分回路15における出力比信号の積算期間の総和
それぞれを制御するとともに、積分回路15から出力さ
れた積分信号に基づいて測距値を検出する。そして、制
御部1Aは、この測距値に基づいて種々の比較・演算・
制御等を行って、正確な測距値を求める。
In particular, the CPU 1 according to the present embodiment is characterized by including a control unit 1A. This control unit 1A
Controls the level of the clamp signal in the clamp circuit 13 and the total sum of the integration period of the output ratio signal in the integration circuit 15, and detects a distance measurement value based on the integration signal output from the integration circuit 15. Then, the control unit 1A performs various comparisons, calculations, and operations based on the distance measurement values.
By performing control or the like, an accurate distance measurement value is obtained.

【0046】IRED4から出射された赤外光は、IR
ED4の前面に配された投光レンズ(図示せず)を介し
て測距対象物に投光され、その一部が反射され、そし
て、その反射光は、PSD(位置検出素子)5の前面に
配された受光レンズ(図示せず)を介してPSD5の受
光面上の何れかの位置で受光される。この受光位置は、
測距対象物までの距離に応じたものである。そして、P
SD5は、その受光位置に応じた2つの信号I1 および
I2 を出力する。信号I1 は、受光光量が一定であれば
距離が近いほど大きな値である近側信号であり、信号I
2 は、受光光量が一定であれば距離が遠いほど大きな値
である遠側信号である。信号I1 およびI2 の和は、P
SD5が受光した反射光の光量を表し、出力比(I1 /
(I1 +I2 ))は、PSD5の受光面上の受光位置す
なわち測距対象物までの距離を表す。そして、近側信号
I1 は、AFIC10のPSDN端子に入力し、遠側信
号I2 は、AFIC10のPSDF端子に入力する。た
だし、実際には、外界条件により近側信号I1 および遠
側信号I2 それぞれに定常光成分I0 が付加された信号
がAFIC10に入力される場合がある。
The infrared light emitted from the IRED 4 is
The light is projected on a distance measuring object via a light projecting lens (not shown) arranged on the front surface of the ED 4, a part of the light is reflected, and the reflected light is transmitted to the front surface of a PSD (position detecting element) 5. The light is received at any position on the light receiving surface of the PSD 5 via a light receiving lens (not shown) disposed on the light receiving lens. This light receiving position is
This is based on the distance to the object to be measured. And P
SD5 outputs two signals I1 and I2 according to the light receiving position. The signal I1 is a near-side signal having a larger value as the distance is shorter if the amount of received light is constant.
Reference numeral 2 denotes a far-side signal that has a larger value as the distance increases if the received light amount is constant. The sum of signals I1 and I2 is P
SD5 represents the amount of reflected light received, and the output ratio (I1 /
(I1 + I2)) represents the light receiving position on the light receiving surface of the PSD 5, that is, the distance to the object to be measured. The near-side signal I1 is input to the PSDN terminal of the AFIC 10, and the far-side signal I2 is input to the PSDF terminal of the AFIC 10. However, in practice, a signal in which a stationary light component I0 is added to each of the near-side signal I1 and the far-side signal I2 may be input to the AFIC 10 due to external conditions.

【0047】AFIC10は、集積回路(IC)であっ
て、第1信号処理回路11、第2信号処理回路12、ク
ランプ回路13、演算回路14および積分回路15から
構成される。第1信号処理回路11は、PSD5から出
力された信号I1 +I0 を入力し、その信号に含まれる
定常光成分I0 を除去して、近側信号I1 を出力するも
のであり、また、第2信号処理回路12は、PSD5か
ら出力された信号I2+I0 を入力し、その信号に含ま
れる定常光成分I0 を除去して、遠側信号I2を出力す
るものである。
The AFIC 10 is an integrated circuit (IC) and includes a first signal processing circuit 11, a second signal processing circuit 12, a clamp circuit 13, an arithmetic circuit 14, and an integrating circuit 15. The first signal processing circuit 11 receives the signal I1 + I0 output from the PSD 5, removes the stationary light component I0 included in the signal, and outputs the near-side signal I1. The processing circuit 12 receives the signal I2 + I0 output from the PSD 5, removes the stationary light component I0 included in the signal, and outputs the far-side signal I2.

【0048】クランプ回路13は、第2信号処理回路1
2から出力された遠側信号I2 を入力し、或る一定レベ
ルのクランプ信号Ic および遠側信号I2 それぞれのレ
ベルを大小比較し、前者が大きいときにはクランプ信号
Ic を出力し、そうでないときには遠側信号I2 をその
まま出力する。以下では、このクランプ回路13から出
力される信号をI2cで表す。
The clamp circuit 13 includes the second signal processing circuit 1
2, the level of the clamp signal Ic and the level of the far-side signal I2 at a certain level are compared. If the former is larger, the clamp signal Ic is output. If not, the far-side signal I2 is output. The signal I2 is output as it is. Hereinafter, the signal output from the clamp circuit 13 is represented by I2c.

【0049】演算回路14は、第1信号処理回路11か
ら出力された近側信号I1 と、クランプ回路13から出
力された信号I2c(遠側信号I2 およびクランプ信号I
c のうち値が大きい信号)とを入力し、出力比(I1 /
(I1 +I2c))を演算し、その結果を表す出力比信号
を出力する。積分回路15は、その出力比信号を入力
し、AFIC10のCINT 端子に接続された積分コンデ
ンサ6とともに、その出力比を多数回積算し、これによ
りS/N比の改善を図る。特に、測距対象物までの距離
が大きいときの積算数を、距離が小さいときの積算数よ
り大きくして、S/N比の改善を図ることが重要であ
る。そして、その積算された出力比は、AF信号として
AFIC10のSOUT 端子から出力される。CPU1
は、AFIC10から出力されたAF信号を入力し、所
定の演算を行ってAF信号を距離信号に変換し、その距
離信号をレンズ駆動回路7に送出する。レンズ駆動回路
7は、その距離信号に基づいて撮影レンズ8を合焦動作
させる。
The arithmetic circuit 14 includes a near-side signal I1 output from the first signal processing circuit 11 and a signal I2c (far-side signal I2 and clamp signal I2c) output from the clamp circuit 13.
c), and output ratio (I1 /
(I1 + I2c)) and outputs an output ratio signal indicating the result. The integrating circuit 15 receives the output ratio signal and integrates the output ratio with the integrating capacitor 6 connected to the CINT terminal of the AFIC 10 many times, thereby improving the S / N ratio. In particular, it is important to improve the S / N ratio by increasing the integrated number when the distance to the object to be measured is large, from the integrated number when the distance is small. Then, the integrated output ratio is output from the SOUT terminal of the AFIC 10 as an AF signal. CPU1
Receives the AF signal output from the AFIC 10, performs a predetermined operation, converts the AF signal into a distance signal, and sends the distance signal to the lens driving circuit 7. The lens driving circuit 7 causes the taking lens 8 to perform a focusing operation based on the distance signal.

【0050】次に、AFIC10の第1信号処理回路1
1、クランプ回路13および積分回路15について、よ
り具体的な回路構成について説明する。図2は、本実施
形態に係る測距装置における第1信号処理回路11およ
び積分回路15の回路図である。また、図3は、本実施
形態に係る測距装置におけるクランプ回路13の回路図
である。なお、第2信号処理回路12も、第1信号処理
回路11と同様の回路構成である。
Next, the first signal processing circuit 1 of the AFIC 10
1, more specific circuit configurations of the clamp circuit 13 and the integration circuit 15 will be described. FIG. 2 is a circuit diagram of the first signal processing circuit 11 and the integrating circuit 15 in the distance measuring apparatus according to the present embodiment. FIG. 3 is a circuit diagram of the clamp circuit 13 in the distance measuring apparatus according to the present embodiment. The second signal processing circuit 12 has the same circuit configuration as the first signal processing circuit 11.

【0051】第1信号処理回路11は、その回路図が図
2に示されており、PSD5から出力された定常光成分
I0 を含む近側信号I1 を入力し、これに含まれる定常
光成分I0 を除去して、近側信号I1 を出力するもので
ある。PSD5の近距離側端子から出力される電流(I
1 +I0 )は、AFIC10のPSDN端子を経て、第
1信号処理回路11のオペアンプ20の−入力端子に入
力される。オペアンプ20の出力端子はトランジスタ2
1のベース端子に接続されており、トランジスタ21の
コレクタ端子は、トランジスタ22のベース端子に接続
されている。トランジスタ22のコレクタ端子は、オペ
アンプ23の−入力端子が接続され、また、演算回路1
4に接続されている。さらに、トランジスタ22のコレ
クタ端子には圧縮ダイオード24のカソード端子が、ま
た、オペアンプ23の+入力端子には圧縮ダイオード2
5のカソード端子がそれぞれ接続されており、これら圧
縮ダイオード24および25それぞれのアノード端子に
は第1基準電源26が接続されている。
The first signal processing circuit 11 receives the near-side signal I1 including the steady-state light component I0 output from the PSD 5 and receives the steady-state light component I0 included therein as shown in FIG. And outputs the near side signal I1. The current (I
1 + I0) is input to the negative input terminal of the operational amplifier 20 of the first signal processing circuit 11 via the PSDN terminal of the AFIC 10. The output terminal of the operational amplifier 20 is a transistor 2
1, and the collector terminal of the transistor 21 is connected to the base terminal of the transistor 22. The collector terminal of the transistor 22 is connected to the negative input terminal of the operational amplifier 23.
4 is connected. Further, the cathode terminal of the compression diode 24 is connected to the collector terminal of the transistor 22, and the compression diode 2 is connected to the + input terminal of the operational amplifier 23.
5 are connected to the respective cathode terminals, and the first reference power source 26 is connected to the anode terminals of the compression diodes 24 and 25, respectively.

【0052】また、AFIC10のCHF端子には定常
光除去コンデンサ27が外付けされており、この定常光
除去コンデンサ27は、第1信号処理回路11内の定常
光除去用トランジスタ28のベース端子に接続されてい
る。定常光除去コンデンサ27とオペアンプ23とはス
イッチ29を介して接続されており、このスイッチ29
のオン/オフはCPU1により制御される。定常光除去
用トランジスタ28のコレクタ端子はオペアンプ20の
−入力端子に接続されており、トランジスタ28のエミ
ッタ端子は抵抗器30を介して接地されている。
A stationary light removing capacitor 27 is externally connected to the CHF terminal of the AFIC 10, and is connected to a base terminal of a steady light removing transistor 28 in the first signal processing circuit 11. Have been. The stationary light removing capacitor 27 and the operational amplifier 23 are connected via a switch 29.
Is controlled by the CPU 1. The collector terminal of the steady light removing transistor 28 is connected to the negative input terminal of the operational amplifier 20, and the emitter terminal of the transistor 28 is grounded via the resistor 30.

【0053】クランプ回路13は、その回路図が図3に
示されている。クランプ回路13の判定用コンパレータ
37の+入力端子は、第2信号処理回路12のトランジ
スタ22のコレクタ端子に接続されるとともに、スイッ
チ38を介して演算回路14の入力端子に接続されてい
る。一方、判定用コンパレータ37の−入力端子は、+
入力端子に接続されているトランジスタ22および圧縮
ダイオード24と同様に、トランジスタ51のコレクタ
端子と圧縮ダイオード52のカソード端子とに接続され
るとともに、スイッチ39を介して演算回路14の入力
端子に接続されている。
The circuit diagram of the clamp circuit 13 is shown in FIG. The + input terminal of the determination comparator 37 of the clamp circuit 13 is connected to the collector terminal of the transistor 22 of the second signal processing circuit 12 and to the input terminal of the arithmetic circuit 14 via the switch 38. On the other hand, the − input terminal of the comparator for determination 37 is +
Like the transistor 22 and the compression diode 24 connected to the input terminals, the collector terminal of the transistor 51 and the cathode terminal of the compression diode 52 are connected to the input terminal of the arithmetic circuit 14 via the switch 39. ing.

【0054】また、トランジスタ51のベース端子に
は、クランプ電流源41が接続されている。このクラン
プ電流源41は、定電流源とスイッチとが直列接続され
たものを1組として複数組が並列接続されたものであ
り、各スイッチそれぞれがCPU1により制御されて開
閉する。そして、クランプ電流源41は、その閉じられ
たスイッチに対応する定電流源それぞれからの電流の総
和であるクランプ電流をトランジスタ51のベース端子
に入力する。このクランプ電流はトランジスタ51のベ
ース電流となり、その大きさに応じたコレクタ電位が判
定用コンパレータ37の−入力端子に入力される。
The clamp current source 41 is connected to the base terminal of the transistor 51. The clamp current source 41 is a plurality of sets in which a constant current source and a switch are connected in series, and a plurality of sets are connected in parallel. Each switch is controlled by the CPU 1 to open and close. Then, the clamp current source 41 inputs the clamp current, which is the sum of the currents from the respective constant current sources corresponding to the closed switches, to the base terminal of the transistor 51. This clamp current becomes the base current of the transistor 51, and the collector potential corresponding to the magnitude of the current is input to the negative input terminal of the comparator 37 for determination.

【0055】また、スイッチ39には判定用コンパレー
タ37の出力端子が接続されており、判定用コンパレー
タ37の出力信号が入力される。また、スイッチ38に
はインバータ40を介して判定用コンパレータ37の出
力端子が接続されており、判定用コンパレータ37の出
力信号が反転されてから入力される。したがって、スイ
ッチ38および39は、判定用コンパレータ37からの
出力信号により、一方がオン状態になると他方がオフ状
態となる関係にある。
The output terminal of the comparator 37 is connected to the switch 39, and the output signal of the comparator 37 is input to the switch 39. Further, the output terminal of the comparator 37 for determination is connected to the switch 38 via the inverter 40, and the output signal of the comparator 37 for determination is inverted before being input. Therefore, the switches 38 and 39 are in a relationship in which one is turned on and the other is turned off by the output signal from the comparator 37 for determination.

【0056】積分回路15は、その回路構成が図2に示
されている。AFIC10のCINT端子に外付けされた
積分コンデンサ6は、スイッチ60を介して演算回路1
4の出力端子に接続され、スイッチ62を介して定電流
源63に接続され、スイッチ65を介してオペアンプ6
4の出力端子に接続され、また、直接にオペアンプ64
の−入力端子に接続され、さらに、その電位がAFIC
10のSOUT 端子から出力される。これらスイッチ6
0,62および65は、CPU1からの制御信号により
制御される。また、オペアンプ64の+入力端子には、
第2基準電源66が接続されている。
The circuit configuration of the integration circuit 15 is shown in FIG. The integration capacitor 6 externally connected to the CINT terminal of the AFIC 10
4 and connected to a constant current source 63 via a switch 62, and to an operational amplifier 6 via a switch 65.
4 and connected directly to the operational amplifier 64
Of the AFIC
It is output from 10 SOUT terminals. These switches 6
0, 62 and 65 are controlled by a control signal from the CPU 1. Also, the + input terminal of the operational amplifier 64 includes:
The second reference power supply 66 is connected.

【0057】以上のように構成されるAFIC10の作
用の概略について、図2および図3を参照しながら説明
する。CPU1は、IRED4を発光させていないとき
には、第1信号処理回路11のスイッチ29をオン状態
にする。このときにPSD5から出力される定常光成分
I0 は、第1信号処理回路11に入力して、オペアンプ
20ならびにトランジスタ21および22から構成され
る電流増幅器により電流増幅され、圧縮ダイオード24
により対数圧縮されて電圧信号に変換され、この電圧信
号がオペアンプ23の−入力端子に入力する。オペアン
プ20に入力する信号が大きいと、圧縮ダイオード24
のカソード電位が大きくなるので、オペアンプ23から
出力される信号が大きく、したがって、コンデンサ27
が充電される。すると、トランジスタ28にベース電流
が供給されることになるので、トランジスタ28にコレ
クタ電流が流れ、第1信号処理回路11に入力した信号
I0 のうちオペアンプ20に入力する信号は小さくな
る。そして、この閉ループの動作が安定した状態では、
第1信号処理回路11に入力した信号I0 の全てがトラ
ンジスタ28に流れ、コンデンサ27には、そのときの
ベース電流に対応した電荷が蓄えられる。
The outline of the operation of the AFIC 10 configured as described above will be described with reference to FIGS. When the IRED 4 is not emitting light, the CPU 1 turns on the switch 29 of the first signal processing circuit 11. At this time, the steady light component I0 output from the PSD 5 is input to the first signal processing circuit 11 and is current-amplified by the operational amplifier 20 and the current amplifier including the transistors 21 and 22, and the compressed diode 24
, And is converted into a voltage signal, and this voltage signal is input to the negative input terminal of the operational amplifier 23. If the signal input to the operational amplifier 20 is large, the compression diode 24
, The signal output from the operational amplifier 23 is large, and therefore the capacitor 27
Is charged. Then, the base current is supplied to the transistor 28, so that the collector current flows through the transistor 28, and the signal input to the operational amplifier 20 among the signals I0 input to the first signal processing circuit 11 decreases. And when the operation of this closed loop is stable,
All of the signal I0 input to the first signal processing circuit 11 flows to the transistor 28, and the capacitor 27 stores a charge corresponding to the base current at that time.

【0058】CPU1がIRED4を発光させるととも
にスイッチ29をオフ状態にすると、このときにPSD
5から出力される信号I1 +I0 のうち定常光成分I0
は、コンデンサ27に蓄えられた電荷によりベース電位
が印加されているトランジスタ28にコレクタ電流とし
て流れ、近側信号I1 は、オペアンプ20ならびにトラ
ンジスタ21および22から構成される電流増幅器によ
り電流増幅され、圧縮ダイオード24により対数圧縮さ
れ電圧信号に変換されて出力される。すなわち、第1信
号処理回路11からは、定常光成分I0 が除去されて近
側信号I1 のみが出力され、その近側信号I1 は、演算
回路14に入力する。一方、第2信号処理回路12も、
第1信号処理回路11と同様に、定常光成分I0 が除去
されて遠側信号I2 のみが出力され、その遠側信号I2
は、クランプ回路13に入力する。
When the CPU 1 turns on the IRED 4 and turns off the switch 29, the PSD 1
5 of the signal I1 + I0
Flows as a collector current through a transistor 28 to which a base potential is applied by the charge stored in the capacitor 27. It is logarithmically compressed by the diode 24, converted into a voltage signal, and output. That is, the first signal processing circuit 11 removes the steady light component I0 and outputs only the near-side signal I1. The near-side signal I1 is input to the arithmetic circuit 14. On the other hand, the second signal processing circuit 12 also
As in the first signal processing circuit 11, the stationary light component I0 is removed and only the far-side signal I2 is output.
Is input to the clamp circuit 13.

【0059】クランプ回路13に入力した遠側信号I2
は、クランプ回路13の判定用コンパレータ37の+入
力端子に入力する。クランプ電流源41から出力された
クランプ電流は、トランジスタ51のベース電流として
流れ、これに伴い生じるトランジスタ51のコレクタ端
子の電位(クランプ信号Ic )が判定用コンパレータ3
7の−入力端子に入力する。遠側信号I2 とクランプ信
号Ic とは、判定用コンパレータ37により大小比較さ
れ、その結果に応じて、スイッチ38および39のうち
一方がオンされ、他方がオフされる。すなわち、遠側信
号I2 がクランプ信号Ic より大きいときには、スイッ
チ38がオン状態となり、スイッチ39がオフ状態とな
り、クランプ回路13の出力信号I2cとして遠側信号I
2 が出力される。大小関係が逆の場合には、スイッチ3
8がオフ状態となり、スイッチ39がオン状態となり、
クランプ回路13の出力信号I2cとしてクランプ信号I
cが出力される。
The far-side signal I 2 input to the clamp circuit 13
Is input to the + input terminal of the comparator for determination 37 of the clamp circuit 13. The clamp current output from the clamp current source 41 flows as the base current of the transistor 51, and the potential (clamp signal Ic) of the collector terminal of the transistor 51 generated by the clamp current is determined by the comparator 3.
7 to the-input terminal. The far-side signal I2 and the clamp signal Ic are compared in magnitude by the comparator 37, and one of the switches 38 and 39 is turned on and the other is turned off according to the comparison result. That is, when the far-side signal I2 is larger than the clamp signal Ic, the switch 38 is turned on, the switch 39 is turned off, and the far-side signal I2c is output as the output signal I2c of the clamp circuit 13.
2 is output. If the magnitude relationship is reversed, switch 3
8 is turned off, the switch 39 is turned on,
The clamp signal 13 is used as the output signal I2c of the clamp circuit 13.
c is output.

【0060】クランプ回路13から出力された信号I2c
および第1信号処理回路11から出力された近側信号I
1 は、演算回路14に入力され、演算回路14により出
力比(I1 /(I1 +I2c))が演算されて出力され、
その出力比は、積分回路15に入力される。IRED4
が所定回数だけパルス発光している期間、積分回路15
のスイッチ60はオン状態とされ、スイッチ62および
65はオフ状態とされて、積分コンデンサ6は、所定回
数の演算毎の出力比に相当する電流分だけ放電され、そ
の電位はVREF2から低下する(第1積分)。そして、所
定回数のパルス発光が終了すると、スイッチ60はオフ
状態とされ、スイッチ62はオン状態とされて、第1積
分によって低下した積分コンデンサ6の電位は、定電流
源63から供給される一定電流によって上昇していく
(第2積分)。CPU1は、積分コンデンサ6の電位を
モニタして、元の電位に復帰するのに要する時間を測定
し、その時間に基づいてAF信号を求め、更に、測距対
象物までの距離を求める。
The signal I2c output from the clamp circuit 13
And the near-side signal I output from the first signal processing circuit 11
1 is input to the arithmetic circuit 14, where the output ratio (I1 / (I1 + I2c)) is calculated and output by the arithmetic circuit 14.
The output ratio is input to the integration circuit 15. IRED4
Is a predetermined number of times, the integration circuit 15
The switch 60 is turned on, the switches 62 and 65 are turned off, and the integrating capacitor 6 is discharged by a current corresponding to an output ratio for each of a predetermined number of calculations, and its potential drops from VREF2 ( 1st integration). Then, when the pulse emission of the predetermined number of times is completed, the switch 60 is turned off, the switch 62 is turned on, and the potential of the integration capacitor 6 lowered by the first integration is kept constant from the constant current source 63. The current increases (second integration). The CPU 1 monitors the potential of the integrating capacitor 6, measures the time required to return to the original potential, determines the AF signal based on the time, and further determines the distance to the distance measurement target.

【0061】このようにして得られたAF信号と測距対
象物までの距離Lとの関係を図4に示す。図4は、本実
施形態に係る測距装置の積分回路から出力されるAF信
号と測距対象物までの距離との関係を示す図である。こ
の図に示すグラフにおいて、横軸は、測距対象物までの
距離Lの逆数(1/L)であり、縦軸は、出力比(I1
/(I1 +I2 ))すなわちAF信号である。この図に
示すように、測距対象物までの距離Lが或る距離L4 以
下(L≦L4 )では、クランプ回路13から出力される
信号はI2 であり、出力比はI1 /(I1 +I2 )であ
り、距離Lの逆数(1/L)に対して出力比は略線形関
係にあり、距離Lが大きく(1/Lが小さく)なると出
力比は小さくなる。また、距離Lが距離L4 以上(L≧
L4 )では、クランプ回路13から出力される信号はI
c であり、出力比はI1 /(I1+Ic )であり、この
場合も、距離Lが大きくなると出力比は小さくなる。こ
のように、クランプ回路13を用いれば、測距対象物ま
での距離Lは、出力比(AF信号)から一意的かつ安定
に決定することができる。
FIG. 4 shows the relationship between the AF signal thus obtained and the distance L to the object to be measured. FIG. 4 is a diagram showing the relationship between the AF signal output from the integration circuit of the distance measuring apparatus according to the present embodiment and the distance to the distance measurement target. In the graph shown in this figure, the horizontal axis is the reciprocal (1 / L) of the distance L to the object to be measured, and the vertical axis is the output ratio (I1).
/ (I1 + I2)), that is, the AF signal. As shown in this figure, when the distance L to the object to be measured is less than a certain distance L4 (L≤L4), the signal output from the clamp circuit 13 is I2, and the output ratio is I1 / (I1 + I2). The output ratio is substantially linear with respect to the reciprocal (1 / L) of the distance L. The output ratio decreases as the distance L increases (1 / L decreases). The distance L is equal to or greater than the distance L4 (L ≧
L4), the signal output from the clamp circuit 13 is I
c, and the output ratio is I1 / (I1 + Ic). In this case as well, the output ratio decreases as the distance L increases. As described above, when the clamp circuit 13 is used, the distance L to the object to be measured can be uniquely and stably determined from the output ratio (AF signal).

【0062】CPU1は、このようにして得られたAF
信号に基づいて、撮影レンズ8の繰り出し量を表す距離
信号を演算により求め、その距離信号をレンズ駆動回路
7に送出して撮影レンズ8を合焦動作させる。図5は、
本実施形態に係る測距装置におけるAF信号から距離信
号への変換の説明図である。この図に示すグラフでは、
横軸は、測距対象物までの距離Lの逆数(1/L)であ
り、左縦軸はAF信号であり、右縦軸は距離信号であ
る。また、このグラフでは、距離LとAF信号との関係
および距離Lと距離信号との関係をそれぞれ示してお
り、特に、距離L2,L3 ,L4 およびL5 (ただし、
L2 <L3 <L4 <L5 )それぞれに対して、AF信号
はy2 ,y3 ,y4 およびy5 であり、距離信号はx2
,x3 ,x4およびx5 であることを示している。
The CPU 1 controls the AF thus obtained.
Based on the signal, a distance signal indicating the amount of extension of the photographing lens 8 is calculated, and the distance signal is sent to the lens drive circuit 7 to cause the photographing lens 8 to perform a focusing operation. FIG.
FIG. 3 is an explanatory diagram of conversion from an AF signal to a distance signal in the distance measuring apparatus according to the embodiment. In the graph shown in this figure,
The horizontal axis is the reciprocal (1 / L) of the distance L to the object to be measured, the left vertical axis is the AF signal, and the right vertical axis is the distance signal. Further, in this graph, the relationship between the distance L and the AF signal and the relationship between the distance L and the distance signal are shown. In particular, the distances L2, L3, L4, and L5 (where,
For each of L2 <L3 <L4 <L5, the AF signal is y2, y3, y4 and y5, and the distance signal is x2.
, X3, x4 and x5.

【0063】ここで、距離L≦L4 の範囲および距離L
>L4 の範囲それぞれにおいて、AF信号は距離Lの逆
数(1/L)に対して略線形関係であり、また、距離L
の全範囲において、距離信号は距離Lの逆数(1/L)
に対して略線形関係である。距離L<L4 の範囲および
距離L≧L4 の範囲それぞれにおいて、AF信号と距離
信号との間の関係も略線形関係である。
Here, the range of distance L ≦ L4 and the distance L
> L4, the AF signal has a substantially linear relationship with the reciprocal of the distance L (1 / L).
Is the reciprocal of the distance L (1 / L)
Is substantially linear with respect to. In each of the range L <L4 and the range L ≧ L4, the relationship between the AF signal and the distance signal is also substantially linear.

【0064】したがって、1次式で表される変換式を用
いてAF信号yから距離信号xへ変換することができ
る。すなわち、AF信号yがクランプ効果有無判断基準
レベル超である範囲(距離LがL4 未満である範囲)で
は、次の式(1)による変換式で求める。 x=A2・y+B2 ‥‥(1) ここで、パラメータA2、B2は、次の式(2)、(3)
にて表される。 A2=(x3−x2)/(y3−y2)‥‥(2) B2=x2−y2・A2 ‥‥(3)
Therefore, it is possible to convert the AF signal y to the distance signal x by using the conversion equation represented by the linear equation. That is, in the range where the AF signal y exceeds the reference level for judging the presence or absence of the clamp effect (the range where the distance L is less than L4), the AF signal y is obtained by the following conversion formula (1). x = A2 · y + B2 (1) where the parameters A2 and B2 are expressed by the following equations (2) and (3).
Is represented by A2 = (x3−x2) / (y3−y2) ‥‥ (2) B2 = x2−y2 · A2 ‥‥ (3)

【0065】一方、AF信号yがクランプ効果有無判断
基準レベル以下である範囲(距離LがL4 以上の範囲)
では、次の式(4)による変換式で求める。 x=A3・y+B3 ‥‥(4) ここで、パラメータA3、B3は、次の式(5)、(6)
にて表される。 A3=(x5−x4)/(y5−y4)‥‥(5) B3=x4−y4・A3 ‥‥(6)
On the other hand, a range in which the AF signal y is equal to or less than the reference level for judging the presence or absence of the clamp effect (a range in which the distance L is equal to or greater than L4).
Then, it is determined by the following conversion equation (4). x = A3 · y + B3 (4) where the parameters A3 and B3 are expressed by the following equations (5) and (6).
Is represented by A3 = (x5−x4) / (y5−y4) ‥‥ (5) B3 = x4−y4 · A3 ‥‥ (6)

【0066】ここで、式(1)および式(4)式は互い
に異なる変換式である。さらに、AF信号yが撮影レン
ズ8の最遠設定値に対応する最遠AF信号値INFDATA 以
下である場合には、距離信号xを撮影レンズ8の最遠設
定値に対応する最遠距離信号値AFINF とすることで、さ
らに安定した撮影レンズの合焦制御を行うことができ
る。
Here, equations (1) and (4) are different transformation equations. Further, when the AF signal y is equal to or less than the farthest AF signal value INFDATA corresponding to the farthest setting value of the photographing lens 8, the distance signal x is changed to the farthest distance signal value corresponding to the farthest setting value of the photographing lens 8. By using AFINF, more stable focusing control of the taking lens can be performed.

【0067】なお、パラメータA2 ,B2 ,A3 および
B3 、最遠AF信号値INFDATA ならびに最遠距離信号値
AFINF は、この測距装置が組み込まれるカメラ毎に、製
造時に求められEEPROM2等に予め記憶されてい
る。そして、これらのパラメータは測距時にCPU1に
より読み出されて、式(1)または式(4)の演算が行
われて、AF信号yから距離信号xへ変換される。
The parameters A2, B2, A3 and B3, the farthest AF signal value INFDATA and the farthest signal value
AFINF is obtained at the time of manufacture for each camera in which the distance measuring device is incorporated, and is stored in advance in the EEPROM 2 or the like. Then, these parameters are read out by the CPU 1 at the time of distance measurement, and the calculation of Expression (1) or Expression (4) is performed, and the AF signal y is converted into the distance signal x.

【0068】しかし、測距対象物の反射率が小さく、測
距対象物までの距離が大きい場合には、PSD5から出
力される信号I1 およびI2 の値が小さくなり、無限遠
と判断され易くなる。図6A及び図6Bは、測距対象物
までの距離と距離信号との関係を説明する図である。図
6Aは測距対象物の反射率が標準値の36%の場合であ
り、図6Bは測距対象物の反射率が低反射率の9%の場
合を示している。図6Aに示すように、測距対象物の反
射率が標準値の36%の場合には、距離信号は、測距対
象物までの距離Lの逆数(1/L)に略比例する値が得
られる。しかし、図6Bに示すように、測距対象物の反
射率が低反射率の9%の場合には、距離信号は、測距対
象物までの距離Lが小さいときには、逆数(1/L)に
略比例する値が得られるが、距離Lが大きいとき(例え
ば図中の距離Ls )では、逆数(1/L)に比例せず、
測距誤差の許容範囲からも外れる。
However, when the reflectance of the object to be measured is small and the distance to the object to be measured is large, the values of the signals I1 and I2 output from the PSD 5 become small, and it is easy to determine that the object is infinity. . 6A and 6B are diagrams illustrating the relationship between the distance to the object to be measured and the distance signal. FIG. 6A shows the case where the reflectance of the object to be measured is 36% of the standard value, and FIG. 6B shows the case where the reflectance of the object to be measured is 9% which is the low reflectance. As shown in FIG. 6A, when the reflectance of the object to be measured is 36% of the standard value, the distance signal has a value substantially proportional to the reciprocal (1 / L) of the distance L to the object to be measured. can get. However, as shown in FIG. 6B, when the reflectivity of the object to be measured is 9% of the low reflectivity, when the distance L to the object to be measured is small, the reciprocal (1 / L) is obtained. Is obtained. When the distance L is large (for example, the distance Ls in the figure), the value is not proportional to the reciprocal (1 / L).
It is out of the allowable range of the ranging error.

【0069】一方、このように測距対象物の反射率が低
反射率である場合であっても、クランプ回路13におけ
るクランプ信号Ic の値を小さくすることにより、測距
対象物までの距離Lの逆数(1/L)に略比例する値の
距離信号、あるいは、測距誤差の許容範囲内に入る値の
距離信号を得ることができる。本実施形態に係る測距装
置は、以上のことを利用して、測距対象物の反射率が小
さく測距対象物までの距離が大きい場合であっても、測
距対象物までの距離を精度よく求めるものである。
On the other hand, even if the reflectance of the object to be measured is low, the distance L to the object to be measured can be reduced by reducing the value of the clamp signal Ic in the clamp circuit 13. A distance signal having a value substantially proportional to the reciprocal (1 / L) of the distance signal or a distance signal having a value falling within an allowable range of the ranging error can be obtained. The distance measuring apparatus according to the present embodiment utilizes the above, and even when the reflectance of the object to be measured is small and the distance to the object to be measured is large, the distance to the object to be measured is determined. It is precisely obtained.

【0070】次に、本実施形態に係る測距装置の動作に
ついて説明する。
Next, the operation of the distance measuring apparatus according to this embodiment will be described.

【0071】図7、8は、本実施形態に係る測距装置に
おけるAF測距処理のフローチャートである。図9は、
本実施形態に係る測距装置のAF測距処理における積分
コンデンサの充電電圧を示す図である。なお、以下に述
べる動作はCPU1による制御の下に行われるものであ
る。
FIGS. 7 and 8 are flowcharts of the AF ranging process in the ranging apparatus according to the present embodiment. FIG.
FIG. 4 is a diagram illustrating a charging voltage of an integrating capacitor in an AF ranging process of the ranging device according to the embodiment. The operation described below is performed under the control of the CPU 1.

【0072】本実施形態に係る測距装置のAF測距処理
は、カメラのレリーズボタン(図示なし)が半押しされ
ることにより開始され、まず、図7のS10に示すよう
に、第一急速充電が行われる。第一急速充電は、CPU
1から出力される制御信号に従い積分回路15を通じて
積分コンデンサ6に電源電圧Vccを印加することによ
り行われる(図9のt1〜t2)。
The AF ranging process of the ranging device according to the present embodiment is started by half-pressing a release button (not shown) of the camera. First, as shown in S10 of FIG. Charging is performed. The first quick charge is CPU
This is performed by applying the power supply voltage Vcc to the integration capacitor 6 through the integration circuit 15 according to the control signal output from 1 (t1 to t2 in FIG. 9).

【0073】そして、S12に移行し、第一クランプ電
流が設定される。第一クランプ電流の設定は、CPU1
から制御信号を出力しクランプ回路13から出力される
クランプ電流を選択することにより行われる。この第一
クランプ電流は、例えば、1nAに設定される。
Then, the flow shifts to S12, where a first clamp current is set. The setting of the first clamp current is performed by the CPU 1
This is performed by outputting a control signal from and selecting a clamp current output from the clamp circuit 13. This first clamp current is set to, for example, 1 nA.

【0074】そして、S14に移行し、第二急速充電が
行われる。第二急速充電は、CPU1から出力される制
御信号に従い積分回路15を通じて積分コンデンサ6に
電圧VREF2を印加することにより行われる(図9のt2
〜t3)。
Then, the flow shifts to S14, where a second quick charge is performed. The second quick charge is performed by applying the voltage VREF2 to the integrating capacitor 6 through the integrating circuit 15 according to the control signal output from the CPU 1 (t2 in FIG. 9).
To t3).

【0075】そして、S16に移行し、第一測距動作が
行われる。第一測距動作は、IRED4を所定の回数発
光させ、測距対象物にて反射される反射光をPSD5で
受け、測距対象物までの距離に応じた電圧を放電させる
第1積分(図9のt3〜t4)を行った後、第二積分
(図9のt4〜t5)を行い、第二積分の積分時間の総
和に応じて第一測距値D1を算出する処理である。この
第一測距動作では、例えば、166回の発光、積分が行
われる。なお、第一測距値D1、後述する第二測距値D
2及び第三測距値D3は、測距対象物より遠いほど小さ
くなる値である。
Then, the flow shifts to S16, where a first distance measuring operation is performed. In the first distance measuring operation, the IRED 4 emits light a predetermined number of times, the reflected light reflected by the object to be measured is received by the PSD 5, and the first integration (FIG. 7) is performed in which a voltage corresponding to the distance to the object to be measured is discharged. 9 after t3 to t4), the second integration (t4 to t5 in FIG. 9) is performed, and the first distance measurement value D1 is calculated according to the total integration time of the second integration. In this first ranging operation, for example, 166 light emission and integration are performed. Note that the first distance value D1 and a second distance value D, which will be described later,
The second and third distance measurement values D3 are values that decrease as the distance from the distance measurement target increases.

【0076】そして、S18に移行し、輝度判定が行わ
れる。輝度判定は、測光センサ71により測定された外
光輝度の値を入力し、その測定された外光輝度値が所定
の設定値より小さいか否かを判定する処理である。S1
8にて、外光輝度値が所定の設定値より小さくないと判
定されたときには、S20に移行する。
Then, the flow shifts to S18, where a luminance judgment is made. The luminance determination is a process of inputting the value of the external light luminance measured by the photometric sensor 71 and determining whether the measured external light luminance value is smaller than a predetermined set value. S1
When it is determined in step 8 that the external light luminance value is not smaller than the predetermined set value, the process proceeds to S20.

【0077】S20では、第三急速充電が行われる。第
三急速充電は、第一急速充電と同様に、CPU1から出
力される制御信号に従い積分回路15を通じて積分コン
デンサ6に電源電圧Vccを印加することにより行われ
る(図9のt5〜t6)。
At S20, a third quick charge is performed. Similar to the first quick charge, the third quick charge is performed by applying the power supply voltage Vcc to the integrating capacitor 6 through the integrating circuit 15 according to a control signal output from the CPU 1 (t5 to t6 in FIG. 9).

【0078】そして、S22に移行し、第一クランプ電
流が設定される。第一クランプ電流の設定は、S12と
同様に行われる。そして、S24に移行し、第四急速充
電が行われる。第四急速充電は、第二急速充電と同様に
して、CPU1から出力される制御信号に従い積分回路
15を通じて積分コンデンサ6に電圧VREF2を印加する
ことにより行われる(図9のt6〜t7)。
Then, the flow shifts to S22, where a first clamp current is set. The setting of the first clamp current is performed in the same manner as in S12. Then, the flow shifts to S24, where a fourth quick charge is performed. The fourth quick charge is performed by applying the voltage VREF2 to the integration capacitor 6 through the integration circuit 15 in accordance with the control signal output from the CPU 1 in the same manner as the second quick charge (t6 to t7 in FIG. 9).

【0079】そして、S26に移行し、第二測距動作が
行われる。第二測距動作は、IRED4を所定の回数発
光させ、測距対象物にて反射される反射光をPSD5で
受け、測距対象物までの距離に応じた電圧を放電させる
第1積分(図9のt7〜t8)を行った後、第二積分
(図9のt8〜t9)を行い、第二積分の積分時間の総
和に応じて第二測距値D2を算出する処理である。第二
測距動作では、第一測距動作に対し少ない回数にて、I
RED4の発光、積分コンデンサ6の積分が行われる。
例えば、第二測距動作では、164回の発光、積分が行
われる。
Then, the flow shifts to S26, where a second distance measuring operation is performed. In the second distance measuring operation, the IRED 4 emits light a predetermined number of times, the reflected light reflected by the object to be measured is received by the PSD 5, and a voltage corresponding to the distance to the object to be measured is discharged by a first integration (FIG. 9, the second integration (t8 to t9 in FIG. 9) is performed, and the second distance measurement value D2 is calculated according to the total integration time of the second integration. In the second distance measuring operation, I
Light emission of the RED 4 and integration of the integration capacitor 6 are performed.
For example, in the second ranging operation, light emission and integration are performed 164 times.

【0080】そして、S28に移行し、第二測距値D2
の補正処理が行われる。この補正処理は、S26にて算
出された第二測距値D2に所定値を加算して、第二測距
値D2とすることにより行われる。ここで、所定値と
は、例えば、第二測距値D2が距離3.5mに相当する
1000カウント、第二測距値D2が距離0.8mに相
当する1900カウントであるとき、それぞれ−15〜
+40カウントの範囲で設定される。
Then, the flow shifts to S28, where a second distance measurement value D2 is set.
Is performed. This correction process is performed by adding a predetermined value to the second distance measurement value D2 calculated in S26 to obtain a second distance measurement value D2. Here, the predetermined value is, for example, -15 when the second distance measurement value D2 is 1000 counts corresponding to a distance of 3.5 m and the second distance measurement value D2 is 1900 counts corresponding to a distance of 0.8 m. ~
Set within the range of +40 counts.

【0081】そして、S30に移行し、第一測距値D1
及び第二測距値D2に基づいて距離信号が演算される。
すなわち、第一測距値D1と第二測距値D2を加算した
ものをAF信号yとし、上述した式(1)又は式(4)
により、距離信号xが算出される。そして、距離信号の
演算後、AF測距処理を終了する。
Then, the flow shifts to S30, where the first distance measurement value D1 is stored.
The distance signal is calculated based on the second distance value D2.
That is, the sum of the first distance measurement value D1 and the second distance measurement value D2 is used as the AF signal y, and the above equation (1) or equation (4) is used.
Calculates the distance signal x. Then, after calculating the distance signal, the AF distance measurement processing ends.

【0082】ところで、S18にて、外光輝度値が所定
の設定値より小さいと判定されたときには、S32に移
行し、第一測距動作にて算出された第一測距値D1が予
め設定される設定値A1以下であるか否かが判定され
る。S32にて、第一測距値D1が設定値A1以下でな
いと判定されたときには、S34に移行し、第一測距値
D1が予め設定される設定値A2より大きいか否かが判
定される。
When it is determined in S18 that the external light luminance value is smaller than the predetermined set value, the flow shifts to S32, where the first distance measurement value D1 calculated in the first distance measurement operation is set in advance. It is determined whether the value is equal to or less than the set value A1. If it is determined in S32 that the first distance value D1 is not less than the set value A1, the process proceeds to S34, and it is determined whether the first distance value D1 is larger than a preset value A2. .

【0083】S34にて、第一測距値D1が設定値A2
より大きいと判定されたときには、S36に移行し、第
一測距値D1に基づいて距離信号が演算される。すなわ
ち、第一測距値D1を2倍したものをAF信号yとし、
上述した式(1)又は式(4)により、距離信号xが算
出される。そして、距離信号の演算後、AF測距処理を
終了する。
At S34, first distance value D1 is set to set value A2.
If it is determined that the distance is larger than the distance, the process proceeds to S36, and a distance signal is calculated based on the first distance measurement value D1. That is, the AF signal y is obtained by doubling the first distance value D1.
The distance signal x is calculated by the above equation (1) or (4). Then, after calculating the distance signal, the AF distance measurement processing ends.

【0084】一方、S34にて、第一測距値D1が設定
値A2より大きくないと判定されたときには、S38に
移行し、第三急速充電が行われる。第三急速充電は、第
一急速充電と同様に、CPU1から出力される制御信号
に従い積分回路15を通じて積分コンデンサ6に電源電
圧Vccを印加することにより行われる(図9のt5〜
t6)。
On the other hand, when it is determined in S34 that the first distance measurement value D1 is not larger than the set value A2, the flow shifts to S38, where the third quick charge is performed. Similar to the first quick charge, the third quick charge is performed by applying the power supply voltage Vcc to the integrating capacitor 6 through the integrating circuit 15 in accordance with the control signal output from the CPU 1 (t5 to t5 in FIG. 9).
t6).

【0085】そして、S40に移行し、第一クランプ電
流が設定される。第一クランプ電流の設定は、S12と
同様に行われる。そして、S42に移行し、第四急速充
電が行われる。第四急速充電は、第二急速充電と同様に
して、CPU1から出力される制御信号に従い積分回路
15を通じて積分コンデンサ6に電圧VREF2を印加する
ことにより行われる(図9のt6〜t7)。
Then, the flow shifts to S40, where a first clamp current is set. The setting of the first clamp current is performed in the same manner as in S12. Then, the flow shifts to S42, where a fourth quick charge is performed. The fourth quick charge is performed by applying the voltage VREF2 to the integration capacitor 6 through the integration circuit 15 in accordance with the control signal output from the CPU 1 in the same manner as the second quick charge (t6 to t7 in FIG. 9).

【0086】そして、S44に移行し、第二測距動作が
行われる。第二測距動作は、S26と同様な処理であ
り、IRED4を所定の回数発光させ、測距対象物にて
反射される反射光をPSD5で受け、測距対象物までの
距離に応じた電圧を放電させる第1積分(図9のt7〜
t8)を行った後、第二積分(図9のt8〜t9)を行
い、第二積分の積分時間の総和に応じて第二測距値D2
が算出される。
Then, the flow shifts to S44, where a second distance measuring operation is performed. The second ranging operation is the same processing as S26, in which the IRED 4 emits light a predetermined number of times, the light reflected by the ranging object is received by the PSD 5, and a voltage corresponding to the distance to the ranging object is received. Is discharged (from t7 in FIG. 9).
After performing t8), the second integration (t8 to t9 in FIG. 9) is performed, and the second distance measurement value D2 is calculated according to the total integration time of the second integration.
Is calculated.

【0087】そして、S46に移行し、第二測距値D2
の補正処理が行われる。この補正処理は、S44にて算
出された第二測距値D2に所定値を加算して、第二測距
値D2とすることにより行われる。ここで、所定値と
は、例えば、第二測距値D2が距離3.5mに相当する
1000カウント、第二測距値D2が距離0.8mに相
当する1900カウントであるとき、それぞれ−15〜
+40カウントの範囲で設定される。
Then, the flow shifts to S46, where a second distance value D2 is stored.
Is performed. This correction process is performed by adding a predetermined value to the second distance measurement value D2 calculated in S44 to obtain a second distance measurement value D2. Here, the predetermined value is, for example, -15 when the second distance measurement value D2 is 1000 counts corresponding to a distance of 3.5 m and the second distance measurement value D2 is 1900 counts corresponding to a distance of 0.8 m. ~
Set within the range of +40 counts.

【0088】そして、S48に移行し、第一測距値D1
及び第二測距値D2に基づいて距離信号が演算される。
すなわち、第一測距値D1と第二測距値D2を加算した
ものをAF信号yとし、上述した式(1)又は式(4)
により、距離信号xが算出される。そして、距離信号の
演算後、AF測距処理を終了する。
Then, the flow shifts to S48, where the first distance measurement value D1 is set.
The distance signal is calculated based on the second distance value D2.
That is, the sum of the first distance measurement value D1 and the second distance measurement value D2 is used as the AF signal y, and the above equation (1) or equation (4) is used.
Calculates the distance signal x. Then, after calculating the distance signal, the AF distance measurement processing ends.

【0089】ところで、S32にて、第一測距値D1が
設定値A1以下であると判定されたときには、測距対象
物までの距離が遠いと判断し、S50に移行する。S5
0では、第三急速充電が行われる。第三急速充電は、第
一急速充電と同様に、CPU1から出力される制御信号
に従い積分回路15を通じて積分コンデンサ6に電源電
圧Vccを印加することにより行われる(図9のt5〜
t6)。
When it is determined in S32 that the first distance measurement value D1 is equal to or less than the set value A1, it is determined that the distance to the object to be measured is long, and the process proceeds to S50. S5
At 0, the third quick charge is performed. Similar to the first quick charge, the third quick charge is performed by applying the power supply voltage Vcc to the integrating capacitor 6 through the integrating circuit 15 in accordance with the control signal output from the CPU 1 (t5 to t5 in FIG. 9).
t6).

【0090】そして、S52に移行し、第二クランプ電
流が設定される。第二クランプ電流の設定は、CPU1
から制御信号を出力しクランプ回路13から出力される
クランプ電流を選択することにより行われる。この第二
クランプ電流は、第一クランプ電流より小さい電流が設
定され、例えば、0.5nAが設定される。
Then, the flow shifts to S52, where a second clamp current is set. The setting of the second clamp current is performed by the CPU 1
This is performed by outputting a control signal from and selecting a clamp current output from the clamp circuit 13. As the second clamp current, a current smaller than the first clamp current is set, for example, 0.5 nA.

【0091】そして、S54に移行し、第四急速充電が
行われる。第四急速充電は、第二急速充電と同様にし
て、CPU1から出力される制御信号に従い積分回路1
5を通じて積分コンデンサ6に電圧VREF2を印加するこ
とにより行われる(図9のt6〜t7)。
Then, the flow shifts to S54, where a fourth quick charge is performed. The fourth quick charge is performed in the same manner as the second quick charge, in accordance with a control signal output from the CPU 1.
This is performed by applying the voltage VREF2 to the integrating capacitor 6 through the step 5 (t6 to t7 in FIG. 9).

【0092】そして、S56に移行し、第二測距動作が
行われる。第二測距動作は、S26と同様な処理であ
り、IRED4を所定の回数発光させ、測距対象物にて
反射される反射光をPSD5で受け、測距対象物までの
距離に応じた電圧を放電させる第1積分(図9のt7〜
t8)を行った後、第二積分(図9のt8〜t9)を行
い、第二積分の積分時間の総和に応じて第二測距値D2
が算出される。
Then, the flow shifts to S56, where a second distance measuring operation is performed. The second ranging operation is the same processing as S26, in which the IRED 4 emits light a predetermined number of times, the light reflected by the ranging object is received by the PSD 5, and a voltage corresponding to the distance to the ranging object is received. Is discharged (from t7 in FIG. 9).
After performing t8), the second integration (t8 to t9 in FIG. 9) is performed, and the second distance measurement value D2 is calculated according to the total integration time of the second integration.
Is calculated.

【0093】そして、S58に移行し、第二測距値D2
の補正処理が行われる。この補正処理は、S56にて算
出された第二測距値D2に所定値を加算して、第二測距
値D2とすることにより行われる。ここで、所定値と
は、例えば、第二測距値D2が距離3.5mに相当する
1000カウント、第二測距値D2が距離0.8mに相
当する1900カウントであるとき、それぞれ−15〜
+40カウントの範囲で設定される。
Then, the flow shifts to S58, where the second distance value D2 is stored.
Is performed. This correction process is performed by adding a predetermined value to the second distance measurement value D2 calculated in S56 to obtain a second distance measurement value D2. Here, the predetermined value is, for example, -15 when the second distance measurement value D2 is 1000 counts corresponding to a distance of 3.5 m and the second distance measurement value D2 is 1900 counts corresponding to a distance of 0.8 m. ~
Set within the range of +40 counts.

【0094】そして、S60に移行し、第二測距値D2
が予め設定される設定値Bより大きいか否かが判定され
る。第二測距値D2が設定値Bより大きいと判定された
ときには、S62に移行し、第五急速充電が行われる。
第五急速充電は、第三急速充電と同様に、CPU1から
出力される制御信号に従い積分回路15を通じて積分コ
ンデンサ6に電源電圧Vccを印加することにより行わ
れる(図9のt9〜t10)。
Then, the flow shifts to S60, where a second distance measurement value D2 is set.
Is larger than a set value B set in advance. When it is determined that the second distance measurement value D2 is larger than the set value B, the flow shifts to S62, and a fifth quick charge is performed.
The fifth quick charge is performed by applying the power supply voltage Vcc to the integration capacitor 6 through the integration circuit 15 in accordance with the control signal output from the CPU 1 in the same manner as the third quick charge (t9 to t10 in FIG. 9).

【0095】そして、S64に移行し、第一クランプ電
流が設定される。第一クランプ電流の設定は、S12と
同様に行われる。そして、S66に移行し、第六急速充
電が行われる。第六急速充電は、第四急速充電と同様に
して、CPU1から出力される制御信号に従い積分回路
15を通じて積分コンデンサ6に電圧VREF2を印加する
ことにより行われる(図9のt10〜t11)。
Then, the flow shifts to S64, where a first clamp current is set. The setting of the first clamp current is performed in the same manner as in S12. Then, the flow shifts to S66, where sixth quick charge is performed. The sixth quick charge is performed by applying the voltage VREF2 to the integration capacitor 6 through the integration circuit 15 according to the control signal output from the CPU 1 in the same manner as the fourth quick charge (t10 to t11 in FIG. 9).

【0096】そして、S68に移行し、第三測距動作が
行われる。第三測距動作は、S56の第二測距動作と同
様に行われ、IRED4を所定の回数発光させ、測距対
象物にて反射される反射光をPSD5で受け、測距対象
物までの距離に応じた電圧を放電させる第1積分(図9
のt11〜t12)を行った後、第二積分(図9のt1
2〜t13)を行い、第二積分の積分時間の総和に応じ
て第三測距値D3が算出される。この第三測距動作で
は、第一測距動作に対し少ない回数にて、IRED4の
発光、積分コンデンサ6の積分が行われる。例えば、第
三測距動作では、164回の発光、積分が行われる。
Then, the flow shifts to S68, where a third distance measuring operation is performed. The third distance measuring operation is performed in the same manner as the second distance measuring operation of S56. The IRED 4 is made to emit light a predetermined number of times. First integration for discharging a voltage corresponding to the distance (FIG. 9
After performing t11 to t12), the second integration (t1 in FIG. 9)
2 to t13), and the third distance measurement value D3 is calculated according to the total integration time of the second integration. In the third ranging operation, light emission of the IRED 4 and integration of the integrating capacitor 6 are performed with a smaller number of times than the first ranging operation. For example, in the third ranging operation, light emission and integration are performed 164 times.

【0097】そして、S70に移行し、第三測距値D3
の補正処理が行われる。この補正処理は、S68にて算
出された第三測距値D3に所定値を加算して、第三測距
値D3とすることにより行われる。ここで、所定値と
は、例えば、第三測距値D3が距離3.5mに相当する
1000カウント、第三測距値D3が距離0.8mに相
当する1900カウントであるとき、それぞれ−15〜
+40カウントの範囲で設定される。
Then, the flow shifts to S70, for obtaining the third distance value D3.
Is performed. This correction process is performed by adding a predetermined value to the third distance measurement value D3 calculated in S68 to obtain a third distance measurement value D3. Here, the predetermined value is, for example, -15 when the third distance measurement value D3 is 1000 counts corresponding to the distance of 3.5 m and the third distance measurement value D3 is 1900 counts corresponding to the distance of 0.8 m. ~
Set within the range of +40 counts.

【0098】そして、S72に移行し、第一測距値D1
及び第三測距値D3に基づいて距離信号が演算される。
すなわち、第一測距値D1と第三測距値D3を加算した
ものをAF信号yとし、上述した式(1)又は式(4)
により、距離信号xが算出される。そして、距離信号の
演算後、AF測距処理を終了する。
Then, the flow shifts to S72, where the first distance measurement value D1 is set.
And a distance signal is calculated based on the third distance value D3.
That is, the sum of the first distance measurement value D1 and the third distance measurement value D3 is used as the AF signal y, and the above equation (1) or equation (4) is used.
Calculates the distance signal x. Then, after calculating the distance signal, the AF distance measurement processing ends.

【0099】ところで、S60にて、第二測距値D2が
設定値Bより大きくないと判定されたときには、S74
に移行する。S74では、第一測距値D1と第一測距値
D1を加算した値(D1+D1)が予め設定される設定
値Cより大きく、かつ、第二測距値D2から第一測距値
D1を減じた値(D2−D1)が予め設定される設定値
E1より大きいか否かが判定される。
If it is determined in S60 that the second distance value D2 is not larger than the set value B, the process proceeds to S74.
Move to In S74, the value (D1 + D1) obtained by adding the first distance value D1 and the first distance value D1 is larger than the preset value C, and the first distance value D1 is calculated from the second distance value D2. It is determined whether the subtracted value (D2-D1) is greater than a preset value E1.

【0100】このS74にて、第一測距値D1と第一測
距値D1を加算した値(D1+D1)が設定値Cより大
きく、かつ、第二測距値D2から第一測距値D1を減じ
た値(D2−D1)が設定値E1より大きいと判定され
たときには、S80に移行する。
At S74, the value (D1 + D1) obtained by adding the first distance value D1 and the first distance value D1 is greater than the set value C, and the first distance value D1 is obtained from the second distance value D2. When it is determined that the value (D2-D1) obtained by subtracting is larger than the set value E1, the process proceeds to S80.

【0101】一方、第一測距値D1と第一測距値D1を
加算した値(D1+D1)が設定値Cより大きくなく又
は第二測距値D2から第一測距値D1を減じた値(D2
−D1)が設定値E1より大きくないと判定されたとき
には、S76に移行する。S76では、第二測距値D2
から第一測距値D1を減じた値(D2−D1)が予め設
定される設定値E2より小さいか否かが判定される。こ
こで、設定値E2は、設定値E1より大きい数値が設定
される。
On the other hand, the value obtained by adding the first distance value D1 and the first distance value D1 (D1 + D1) is not larger than the set value C or the value obtained by subtracting the first distance value D1 from the second distance value D2. (D2
When it is determined that -D1) is not larger than the set value E1, the process proceeds to S76. In S76, the second distance value D2
It is determined whether or not a value (D2-D1) obtained by subtracting the first distance measurement value D1 is smaller than a preset value E2. Here, the set value E2 is set to a numerical value larger than the set value E1.

【0102】このS76にて、第二測距値D2から第一
測距値D1を減じた値(D2−D1)が設定値E2より
小さいと判定されたときには、S62に移行する。一
方、S76にて、第二測距値D2から第一測距値D1を
減じた値(D2−D1)が設定値E2より小さくないと
判定されたときには、S78に移行する。
If it is determined in step S76 that the value obtained by subtracting the first distance measurement value D1 from the second distance measurement value D2 (D2-D1) is smaller than the set value E2, the process proceeds to step S62. On the other hand, when it is determined in S76 that the value (D2-D1) obtained by subtracting the first distance measurement value D1 from the second distance measurement value D2 is not smaller than the set value E2, the process proceeds to S78.

【0103】S78では、第二測距値D2が予め設定さ
れる設定値Fより小さいか否かが判定される。ここで、
設定値Fは、設定値Bより小さい数値が設定される。S
78にて、第二測距値D2が予め設定値Fより小さいと
判定されたときには、S62に移行する。一方、S78
にて、第二測距値D2が予め設定値Fより小さくないと
判定されたときには、S80に移行する。
In S78, it is determined whether or not the second distance value D2 is smaller than a preset value F. here,
As the set value F, a numerical value smaller than the set value B is set. S
When it is determined at 78 that the second distance measurement value D2 is smaller than the set value F in advance, the process proceeds to S62. On the other hand, S78
When it is determined that the second distance measurement value D2 is not smaller than the set value F in advance, the process proceeds to S80.

【0104】S80では、第五急速充電が行われる。第
五急速充電は、第三急速充電と同様に、CPU1から出
力される制御信号に従い積分回路15を通じて積分コン
デンサ6に電源電圧Vccを印加することにより行われ
る(図9のt9〜t10)。
In S80, a fifth quick charge is performed. The fifth quick charge is performed by applying the power supply voltage Vcc to the integration capacitor 6 through the integration circuit 15 in accordance with the control signal output from the CPU 1 in the same manner as the third quick charge (t9 to t10 in FIG. 9).

【0105】そして、S82に移行し、第二クランプ電
流が設定される。第二クランプ電流の設定は、S52と
同様に行われる。そして、S84に移行し、第六急速充
電が行われる。第六急速充電は、第四急速充電と同様に
して、CPU1から出力される制御信号に従い積分回路
15を通じて積分コンデンサ6に電圧VREF2を印加する
ことにより行われる(図9のt10〜t11)。
Then, the flow shifts to S82, where a second clamp current is set. The setting of the second clamp current is performed in the same manner as in S52. Then, the flow shifts to S84, where sixth quick charging is performed. The sixth quick charge is performed by applying the voltage VREF2 to the integration capacitor 6 through the integration circuit 15 according to the control signal output from the CPU 1 in the same manner as the fourth quick charge (t10 to t11 in FIG. 9).

【0106】そして、S86に移行し、第三測距動作が
行われる。第三測距動作は、S56の第二測距動作と同
様に行われ、IRED4を所定の回数発光させ、測距対
象物にて反射される反射光をPSD5で受け、測距対象
物までの距離に応じた電圧を放電させる第1積分(図9
のt11〜t12)を行った後、第二積分(図9のt1
2〜t13)を行い、第二積分の積分時間の総和に応じ
て第三測距値D3が算出される。この第三測距動作で
は、第一測距動作に対し少ない回数にて、IRED4の
発光、積分コンデンサ6の積分が行われる。例えば、第
三測距動作では、164回の発光、積分が行われる。
Then, the flow shifts to S86, where a third distance measuring operation is performed. The third distance measuring operation is performed in the same manner as the second distance measuring operation of S56. The IRED 4 is made to emit light a predetermined number of times. First integration for discharging a voltage corresponding to the distance (FIG. 9
After performing t11 to t12), the second integration (t1 in FIG. 9)
2 to t13), and the third distance measurement value D3 is calculated according to the total integration time of the second integration. In the third ranging operation, light emission of the IRED 4 and integration of the integrating capacitor 6 are performed with a smaller number of times than the first ranging operation. For example, in the third ranging operation, light emission and integration are performed 164 times.

【0107】そして、S88に移行し、第三測距値D3
の補正処理が行われる。この補正処理は、S86にて算
出された第三測距値D3に所定値を加算して、第三測距
値D3とすることにより行われる。ここで、所定値と
は、例えば、第三測距値D3が距離3.5mに相当する
1000カウント、第三測距値D3が距離0.8mに相
当する1900カウントであるとき、それぞれ−15〜
+40カウントの範囲で設定される。
Then, the flow shifts to S88, for obtaining the third distance measurement value D3.
Is performed. This correction process is performed by adding a predetermined value to the third distance measurement value D3 calculated in S86 to obtain a third distance measurement value D3. Here, the predetermined value is, for example, -15 when the third distance measurement value D3 is 1000 counts corresponding to the distance of 3.5 m and the third distance measurement value D3 is 1900 counts corresponding to the distance of 0.8 m. ~
Set within the range of +40 counts.

【0108】そして、S90に移行し、第二測距値D2
及び第三測距値D3に基づいて距離信号が演算される。
すなわち、第二測距値D2と第三測距値D3を加算した
ものをAF信号yとし、上述した式(1)又は式(4)
により、距離信号xが算出される。そして、距離信号の
演算後、AF測距処理を終了する。
Then, the flow shifts to S90, where the second distance value D2 is stored.
And a distance signal is calculated based on the third distance value D3.
That is, the sum of the second distance measurement value D2 and the third distance measurement value D3 is used as the AF signal y, and the above equation (1) or equation (4) is used.
Calculates the distance signal x. Then, after calculating the distance signal, the AF distance measurement processing ends.

【0109】その後、レリーズボタンが全押しされる
と、CPU1は、求められた距離に基づいてレンズ駆動
回路7を制御して、撮影レンズ8に適切な合焦動作を行
わせ、さらに、シャッタ(図示せず)を開いて露光を行
う。
Thereafter, when the release button is fully depressed, the CPU 1 controls the lens drive circuit 7 based on the obtained distance to cause the photographing lens 8 to perform an appropriate focusing operation, and furthermore, the shutter ( (Not shown) is opened to perform exposure.

【0110】図10、11に本実施形態に係る測距装置
における測距結果を示す。
FIGS. 10 and 11 show the results of distance measurement by the distance measuring apparatus according to the present embodiment.

【0111】図10は、高輝度(図7のS18の設定値
より低い輝度範囲における高輝度)であって反射率90
%の測距対象物に対し測距した場合のデータである。図
10において、「AFD90有」とは、図8のS60に
おける判定処理を行って測距した場合を意味する。ま
た、「AFD90無」とは、図8のS60における判定
処理を行わずに測距した場合を意味する。図10を考察
すると、S60の判定処理を行うことにより、遠距離側
において距離信号に設定値に近い測距結果が得られるこ
とが分かる。
FIG. 10 shows high luminance (high luminance in a luminance range lower than the set value of S18 in FIG. 7) and a reflectance of 90%.
The data is obtained when the distance is measured for the% distance measurement target. In FIG. 10, “with AFD 90” means a case in which the determination processing in S60 of FIG. 8 is performed and the distance is measured. Further, “AFD 90 is absent” means that the distance is measured without performing the determination process in S60 of FIG. Considering FIG. 10, it can be seen that by performing the determination processing in S <b> 60, a distance measurement result close to the set value is obtained in the distance signal on the long distance side.

【0112】図11は、反射率36%の測距対象物に対
し測距した場合のデータである。図11において、「S
AHDATA有」とは、図8のS78における判定処理
を行って測距した場合を意味する。また、「SAHDA
TA無」とは、図8のS78における判定処理を行わず
測距した場合を意味する。図11を考察すると、S78
の判定処理を行うことにより、0.08〜0.10の距
離逆数値の範囲において距離信号に設定値に近い測距結
果が得られることが分かる。
FIG. 11 shows data when the distance is measured for a distance measuring object having a reflectance of 36%. In FIG. 11, "S
“AHDATA present” means that the determination process in S78 of FIG. 8 is performed and the distance is measured. Also, "SAHDA
"No TA" means a case where the distance is measured without performing the determination process in S78 of FIG. Considering FIG. 11, S78
It can be understood that the distance measurement result close to the set value in the distance signal can be obtained in the range of the distance reciprocal value of 0.08 to 0.10.

【0113】図12は、距離逆数とAF信号との関係を
示した図である。
FIG. 12 is a diagram showing the relationship between the distance reciprocal and the AF signal.

【0114】図12では、同じ測距対象物を連続測距し
た場合のデータである。しかしながら、図12に示すよ
うに、連続測距する場合、初めの測距における第一測距
値とそれ以降の第二測距値では、積分コンデンサの特性
変化を生ずるため、必ずしも両者が同様な値とならな
い。
FIG. 12 shows data when the same object to be measured is continuously measured. However, as shown in FIG. 12, in the case of continuous distance measurement, since the first distance measurement value in the first distance measurement and the second distance measurement value thereafter change the characteristic of the integrating capacitor, both are not necessarily the same. Not a value.

【0115】そこで、本実施形態に係る測距装置では、
第二測距動作の積分回数を第一測距動作の積分回数より
少なくしている。これにより、図12において、第二測
距動作の特性の傾きを第一測距動作の特性の傾きに合わ
せることができる。また、本実施形態に係る測距装置で
は、第二測距動作により得られた第二測距値に所定値を
加算して補正している。これにより、第二測距値を増加
させることができ、第一測距値と同等な値とすることが
できる。
Therefore, in the distance measuring apparatus according to the present embodiment,
The number of integrations in the second ranging operation is smaller than the number of integrations in the first ranging operation. Thereby, in FIG. 12, the inclination of the characteristic of the second ranging operation can be matched with the inclination of the characteristic of the first ranging operation. In the distance measuring apparatus according to the present embodiment, the correction is performed by adding a predetermined value to the second distance measurement value obtained by the second distance measurement operation. Thereby, the second distance measurement value can be increased, and can be set to a value equivalent to the first distance measurement value.

【0116】図13〜15は、測距対象物が反射率36
%、9%、90%である場合において、クランプ電流を
大きく設定(クランプ信号のレベルを高く設定)したと
きとクランプ電流を小さく設定(クランプ信号のレベル
を低く設定)したときの測距結果を示したものである。
FIGS. 13 to 15 show that the object to be measured has a reflectance of 36.
%, 9%, and 90%, the distance measurement results when the clamp current is set large (the clamp signal level is set high) and when the clamp current is set small (the clamp signal level is set low) It is shown.

【0117】以上説明したように本実施形態に係る測距
装置によれば、外光輝度が比較的高く測距対象物の反射
率が大きい場合に、第2の測距値D2が近側の値として
検出されても、その第2の測距値D2が第2の設定距離
より近側の値であるときには、クランプ信号を高レベル
の第1のレベルに設定して第3の測距値D3を検出し、
第1の測距値D1と第3の測距値D3の和に基づいて測
距対象物までの距離を算出する。このため、測距対象物
までの距離を精度良く検出できる。
As described above, according to the distance measuring apparatus of the present embodiment, when the external light luminance is relatively high and the reflectance of the object to be measured is large, the second distance value D2 is closer to the near side. Even if it is detected as a value, when the second distance value D2 is a value closer to the second set distance, the clamp signal is set to the first high level and the third distance value is set. D3 is detected,
The distance to the distance measurement target is calculated based on the sum of the first distance measurement value D1 and the third distance measurement value D3. For this reason, the distance to the object to be measured can be accurately detected.

【0118】また、第2の測距値D2から第1の測距値
D1を減じた値が設定値E2より小さくないときでも、
第2の測距値D2が設定値Fより小さく所定の設定距離
より遠側の値であるときには、クランプ信号を第1のレ
ベルに設定し第3の測距値D3を検出し、第1の測距値
D1と第3の測距値D3の和に基づいて測距対象物まで
の距離を算出する。このため、測距対象物の反射率が基
準反射率程度である場合に、クランプ信号が第1のレベ
ルに設定され第3の測距値D3が検出されることによ
り、第3の測距値D3が設計値より近側の値として検出
されることが防止される。このため、測距対象物までの
距離を精度良く検出できる。
Even when the value obtained by subtracting the first distance value D1 from the second distance value D2 is not smaller than the set value E2,
When the second distance value D2 is smaller than the set value F and farther than the predetermined distance, the clamp signal is set to the first level, and the third distance value D3 is detected. The distance to the distance measurement target is calculated based on the sum of the distance measurement value D1 and the third distance measurement value D3. Therefore, when the reflectance of the object to be measured is about the same as the reference reflectance, the clamp signal is set to the first level and the third measured value D3 is detected, so that the third measured value is obtained. D3 is prevented from being detected as a value closer to the design value. For this reason, the distance to the object to be measured can be accurately detected.

【0119】また、第1の測距値D1と第1の測距値D
1の和が設定値Cより大きく第2の測距値D2から第1
の測距値D1を減じた値が設定値E1より大きいときに
は、クランプ信号を第2のレベルに設定し第3の測距値
D3を検出し、第2の測距値D2と第3の測距値D3の
和に基づいて測距対象物までの距離を算出する。このた
め、測距対象物の反射率が小さい場合、クランプ信号が
第2のレベルに設定され第3の測距値D3が検出される
ことにより、第3の測距値D3が設計値より遠側の値と
して検出されることが低減される。このため、測距対象
物までの距離を精度良く検出できる。
The first distance value D1 and the first distance value D
1 is greater than the set value C and the second distance measurement value D2 is
When the value obtained by subtracting the distance measurement value D1 is larger than the set value E1, the clamp signal is set to the second level, the third distance measurement value D3 is detected, and the second distance measurement value D2 and the third distance measurement value D3 are detected. The distance to the object to be measured is calculated based on the sum of the distance values D3. Therefore, when the reflectance of the object to be measured is small, the clamp signal is set to the second level and the third measured value D3 is detected, so that the third measured value D3 is farther than the designed value. Is reduced as a value on the side. For this reason, the distance to the object to be measured can be accurately detected.

【0120】また、連続して測距を行い複数の測距値に
基づいて測距対象物までの距離を検出する場合、第1の
測距値検出の積分処理と第2の測距値検出の積分処理に
おいて積分コンデンサ6の特性に変化が生ずるが、第1
の測距値検出と第2の測距値検出における積分期間の総
和を異なるものとし、第2の測距値に所定の値を加算し
て補正することにより、積分コンデンサ6の特性変化に
よる第2の測距値の変動を補正することができる。この
ため、測距対象物までの距離を精度良く検出できる。
In the case where distance measurement is performed continuously and the distance to the object to be measured is detected based on a plurality of distance measurement values, the integration processing of the first distance measurement value detection and the second distance measurement value detection are performed. Changes in the characteristics of the integration capacitor 6 in the integration process of FIG.
The sum of the integration periods in the distance measurement value detection and the second distance measurement value detection is made different, and the second distance measurement value is corrected by adding a predetermined value to the second distance measurement value. 2 can correct the fluctuation of the distance measurement value. For this reason, the distance to the object to be measured can be accurately detected.

【0121】なお、本実施形態に係る測距装置では、A
F測距処理の測距動作において積分コンデンサ6の電圧
を演算回路14から出力される出力比に応じて多数回放
電することにより積分動作を行っているが、本発明に係
る測距装置はそのようなものに限られるものではなく、
積分動作として出力比に応じて積分コンデンサ6に充電
するものであってもよい。
In the distance measuring apparatus according to the present embodiment, A
In the ranging operation of the F ranging process, the integration operation is performed by discharging the voltage of the integration capacitor 6 many times in accordance with the output ratio output from the arithmetic circuit 14. It is not limited to such things,
As the integration operation, the integration capacitor 6 may be charged according to the output ratio.

【0122】また、本実施形態に係る測距装置では、A
F測距処理の測距動作において積分コンデンサ6の放電
による第一積分、充電による第二積分を行い第二積分に
要した時間から距離を検出するものであるが、本発明に
係る測距装置はそのようなものに限られるものではな
く、出力比に応じて積分コンデンサ6に対し放電又は充
電(第一積分)を行い、放電により減じられた電圧値又
は充電により増した電圧値をA/D変換し、この結果に
基づいて距離を検出するものであってもよい。
In the distance measuring apparatus according to the present embodiment, A
In the distance measuring operation of the F distance measuring process, the first integration by discharging the integration capacitor 6 and the second integration by charging are performed, and the distance is detected from the time required for the second integration. Is not limited to such, and discharges or charges (first integration) with respect to the integrating capacitor 6 in accordance with the output ratio, and the voltage value reduced by the discharging or the voltage value increased by the charging is A / D-conversion may be performed, and the distance may be detected based on the result.

【0123】(第二実施形態)次に第二実施形態に係る
測距装置について説明する。
(Second Embodiment) Next, a distance measuring apparatus according to a second embodiment will be described.

【0124】第一実施形態に係る測距装置では、AF測
距処理のS74にて第一測距値D1と第一測距値D1を
加算した値(D1+D1)が設定値Cより大きいか否か
を判定条件の一つとしているが、本実施形態に係る測距
装置では、第一測距値D1と第二測距値D2を加算した
値(D1+D2)が設定値Cより大きいか否か又は第二
測距値D2と第二測距値D2を加算した値(D2+D
2)が設定値Cより大きいか否かをS74の判定条件の
一つとしたものである。なお、本実施形態に係る測距装
置は、その他の装置構成部分又は処理内容については、
第一実施形態に係る測距装置と同様である。
In the distance measuring apparatus according to the first embodiment, it is determined whether or not a value (D1 + D1) obtained by adding the first distance value D1 and the first distance value D1 in S74 of the AF distance processing is larger than the set value C. Is one of the determination conditions. In the distance measuring apparatus according to the present embodiment, whether the value (D1 + D2) obtained by adding the first distance value D1 and the second distance value D2 is larger than the set value C or not is determined. Alternatively, a value obtained by adding the second distance measurement value D2 and the second distance measurement value D2 (D2 + D
Whether 2) is greater than the set value C is one of the determination conditions in S74. Note that the distance measuring device according to the present embodiment has
This is the same as the distance measuring device according to the first embodiment.

【0125】図16、17にS74の判定条件を異なら
せたときの距離とAF信号(AFDATA)の関係を示
す。
FIGS. 16 and 17 show the relationship between the distance and the AF signal (AFDATA) when the determination conditions in S74 are changed.

【0126】図16は、基準反射率である反射率36%
の測距対象物に対し測距した場合のデータである。図1
6を考察すると、判定条件をD1+D1のとき(D1+
D1>Cのとき)に対し、D1+D2のとき(D1+D
2>Cのとき)は、距離8.5mにて特性変化率が小さ
い。また、D2+D2のとき(D2+D2>Cのとき)
は更に、特性変化が小さい。
FIG. 16 shows a reference reflectance of 36%.
This is data when the distance is measured for the object to be measured. FIG.
Considering the case No. 6, when the judgment condition is D1 + D1 (D1 +
(When D1> C), when D1 + D2 (D1 + D
2> C), the characteristic change rate is small at a distance of 8.5 m. When D2 + D2 (when D2 + D2> C)
Furthermore, the characteristic change is small.

【0127】図17は、反射率9%の測距対象物に対し
測距した場合のデータである。図17を考察すると、判
定条件をD1+D1のとき(D1+D1>Cのとき)に
対し、D1+D2のとき(D1+D2>Cのとき)は、
距離4.25mにおける特性変化率が小さい。また、D
2+D2のとき(D2+D2>Cのとき)は更に、特性
変化が小さい。
FIG. 17 shows data when the distance is measured for a distance measuring object having a reflectance of 9%. Considering FIG. 17, when the determination condition is D1 + D1 (D1 + D1> C), when D1 + D2 (D1 + D2> C),
The characteristic change rate at a distance of 4.25 m is small. Also, D
When 2 + D2 (when D2 + D2> C), the characteristic change is further small.

【0128】図18、19は、図7、8のAF測距処理
においてS74の判定処理を行わないで測距したときの
測距結果(比較例)である。
FIGS. 18 and 19 show the distance measurement results (comparative examples) when the distance was measured without performing the determination processing of S74 in the AF distance measurement processing of FIGS.

【0129】図18を考察すると、反射率9%の測距対
象物に対して測距した場合には十分な直線性が得られて
いる。しかしながら、反射率36%の測距対象物に対し
て測距した場合には8.5m以遠の遠側では距離信号が
大き目に算出されている。なお、図18の測距では、設
定値E2を小さい値(30)を設定している。
Considering FIG. 18, when the distance is measured for a distance measuring object having a reflectance of 9%, sufficient linearity is obtained. However, when distance measurement is performed on a distance measurement target having a reflectance of 36%, the distance signal is calculated to be larger on the far side of 8.5 m or more. In the distance measurement in FIG. 18, the set value E2 is set to a small value (30).

【0130】図19を考察すると、反射率36%の測距
対象物に対して測距した場合には十分な直線性が得られ
ている。しかしながら、反射率9%の測距対象物に対し
て測距した場合には4.25〜6mの距離範囲で距離信
号が小さ目に算出されている。
Considering FIG. 19, a sufficient linearity is obtained when the distance is measured for an object having a reflectivity of 36%. However, when distance measurement is performed on a distance measurement target having a reflectance of 9%, the distance signal is calculated to be smaller in a distance range of 4.25 to 6 m.

【0131】図20、21は、本実施形態に係る測距装
置及び第一実施形態に係る測距装置の測距結果であり、
AF測距処理においてS74の判定処理を行って測距し
たときの測距結果である。
FIGS. 20 and 21 show the results of distance measurement by the distance measuring apparatus according to the present embodiment and the distance measuring apparatus according to the first embodiment.
It is a distance measurement result when the distance measurement is performed by performing the determination processing of S74 in the AF distance measurement processing.

【0132】図20は、反射率36%の測距対象物に対
する測距した結果のデータである。図20を考察する
と、判定条件D1+D1、D1+D2、D2+D2のい
ずれも設計値と同様な測距結果が得られ十分な直線性が
得られている。
FIG. 20 shows data obtained as a result of distance measurement for a distance measurement target having a reflectance of 36%. Considering FIG. 20, in all of the determination conditions D1 + D1, D1 + D2, and D2 + D2, the same distance measurement result as the design value is obtained, and sufficient linearity is obtained.

【0133】図21は、反射率9%の測距対象物に対す
る測距した結果のデータである。図21を考察すると、
判定条件D1+D1では、4.5〜6mの距離範囲で距
離信号が小さ目に算出されている。これを図19の反射
率9%(破線)の特性と比較すると、距離信号が小さ目
に算出される距離範囲が減少しており、測距精度が向上
していることが分かる。
FIG. 21 shows data obtained as a result of distance measurement for a distance measurement target having a reflectance of 9%. Considering FIG. 21,
In the determination condition D1 + D1, the distance signal is calculated to be smaller in the distance range of 4.5 to 6 m. When this is compared with the characteristic of the reflectance of 9% (broken line) in FIG. 19, it can be seen that the distance range in which the distance signal is calculated to be smaller is reduced, and the distance measurement accuracy is improved.

【0134】判定条件D1+D2では、4.75〜6m
の距離範囲で距離信号が小さ目に算出されている。これ
を図19の反射率9%(破線)の特性と比較すると、や
はり距離信号が小さ目に算出される距離範囲が減少して
おり、測距精度が向上していることが分かる。判定条件
D2+D2では、設計値と同様な測距結果が得られ、十
分な直線性が得られている。
In the judgment condition D1 + D2, 4.75 to 6 m
The distance signal is calculated to be smaller in the distance range of. When this is compared with the characteristic of the reflectance of 9% (broken line) in FIG. 19, it can be seen that the distance range in which the distance signal is calculated to be smaller is also reduced, and the distance measurement accuracy is improved. Under the determination condition D2 + D2, the same distance measurement result as the design value is obtained, and sufficient linearity is obtained.

【0135】以上説明したように本実施形態に係る測距
装置によれば、AF測距処理におけるS74の判定条件
をD1+D1からD1+D2又はD2+D2にすること
により、より設計値に近い測距結果が得られ、測距精度
の向上が図れる。
As described above, according to the distance measuring apparatus of the present embodiment, the distance measurement result closer to the design value can be obtained by setting the determination condition of S74 in the AF distance measurement processing from D1 + D1 to D1 + D2 or D2 + D2. The distance measurement accuracy can be improved.

【0136】[0136]

【発明の効果】以上、詳細に説明したとおり本発明によ
れば、外光輝度が比較的高く測距対象物の反射率が大き
い場合に、第2の測距値が近側の値として検出されて
も、その第2の測距値が第2の設定距離より近側の値で
あるときには、クランプ信号を高レベルの第1のレベル
に設定して第3の測距値を検出し、第1の測距値と第3
の測距値の和に基づいて測距対象物までの距離を算出す
る。このため、測距対象物までの距離を精度良く検出で
きる。
As described above in detail, according to the present invention, when the external light luminance is relatively high and the reflectance of the object to be measured is large, the second distance measurement value is detected as a near value. However, if the second distance value is closer to the second set distance, the clamp signal is set to the first high level, and the third distance value is detected. The first ranging value and the third
Is calculated based on the sum of the distance measurement values. For this reason, the distance to the object to be measured can be accurately detected.

【0137】また、第2の測距値から第1の測距値を減
じた値が設定値より小さくないときでも、第2の測距値
が設定値より小さく所定の設定距離より遠側の値である
ときには、クランプ信号を第1のレベルに設定し第3の
測距値を検出し、第1の測距値と第3の測距値の和に基
づいて測距対象物までの距離を算出する。このため、測
距対象物の反射率が基準反射率程度である場合に、クラ
ンプ信号が第1のレベルに設定され第3の測距値が検出
されることにより、第3の測距値が設計値より近側の値
として検出されることが防止される。このため、測距対
象物までの距離を精度良く検出できる。
Even when the value obtained by subtracting the first distance measurement value from the second distance measurement value is not smaller than the set value, the second distance measurement value is smaller than the set value and is farther from the predetermined set distance. If the value is the value, the clamp signal is set to the first level, the third distance value is detected, and the distance to the distance object is determined based on the sum of the first distance value and the third distance value. Is calculated. Therefore, when the reflectance of the object to be measured is approximately equal to the reference reflectance, the clamp signal is set to the first level and the third distance measurement value is detected. It is prevented from being detected as a value closer to the design value. For this reason, the distance to the object to be measured can be accurately detected.

【0138】また、第1の測距値と第1の測距値の和が
設定値より大きく第2の測距値から第1の測距値を減じ
た値が設定値より大きいときには、クランプ信号を第2
のレベルに設定し第3の測距値を検出し、第2の測距値
と第3の測距値の和に基づいて測距対象物までの距離を
算出する。このため、測距対象物の反射率が小さい場
合、クランプ信号が第2のレベルに設定され第3の測距
値が検出されることにより、第3の測距値が設計値より
遠側の値として検出されることが低減される。このた
め、測距対象物までの距離を精度良く検出できる。
When the sum of the first distance measurement value and the first distance measurement value is larger than the set value and the value obtained by subtracting the first distance measurement value from the second distance measurement value is larger than the set value, the clamp is performed. The second signal
And the third distance measurement value is detected, and the distance to the distance measurement target is calculated based on the sum of the second distance measurement value and the third distance measurement value. For this reason, when the reflectance of the object to be measured is small, the clamp signal is set to the second level and the third measured value is detected, so that the third measured value is on the far side from the design value. Detection as a value is reduced. For this reason, the distance to the object to be measured can be accurately detected.

【0139】また、連続して測距を行い複数の測距値に
基づいて測距対象物までの距離を検出する場合、第1の
測距値検出の積分処理と第2の測距値検出の積分処理に
おいて積分コンデンサの特性に変化が生ずるが、第1の
測距値検出と第2の測距値検出における積分期間の総和
を異なるものとし、第2の測距値に所定の値を加算して
補正することにより、積分コンデンサの特性変化による
第2の測距値の変動を補正することができる。このた
め、測距対象物までの距離を精度良く検出できる。
In the case where distance measurement is continuously performed to detect the distance to the object to be measured based on a plurality of distance measurement values, the integration processing of the first distance measurement value detection and the second distance measurement value detection are performed. Changes in the integration capacitor characteristic in the integration processing of (1), the sum of the integration periods in the first distance measurement value detection and the second distance measurement value detection is made different, and a predetermined value is set in the second distance measurement value. By adding and correcting, it is possible to correct a change in the second distance measurement value due to a change in the characteristic of the integration capacitor. For this reason, the distance to the object to be measured can be accurately detected.

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

【図1】第一実施形態に係る測距装置の構成図である。FIG. 1 is a configuration diagram of a distance measuring device according to a first embodiment.

【図2】第一実施形態に係る測距装置における第1信号
処理回路および積分回路の回路図である。
FIG. 2 is a circuit diagram of a first signal processing circuit and an integrating circuit in the distance measuring apparatus according to the first embodiment.

【図3】第一実施形態に係る測距装置におけるクランプ
回路の回路図である。
FIG. 3 is a circuit diagram of a clamp circuit in the distance measuring device according to the first embodiment.

【図4】第一実施形態に係る測距装置の積分回路から出
力されるAF信号と測距対象物までの距離との関係を示
す図である。
FIG. 4 is a diagram showing a relationship between an AF signal output from an integration circuit of the distance measuring apparatus according to the first embodiment and a distance to a distance measurement target.

【図5】第一実施形態に係る測距装置におけるAF信号
から距離信号への変換の説明図である。
FIG. 5 is an explanatory diagram of a conversion from an AF signal to a distance signal in the distance measuring apparatus according to the first embodiment.

【図6】測距対象物までの距離と距離信号との関係を説
明する図である。
FIG. 6 is a diagram illustrating a relationship between a distance to a distance measurement target and a distance signal.

【図7】第一実施形態に係る測距装置の動作を示すフロ
ーチャートである。
FIG. 7 is a flowchart showing an operation of the distance measuring apparatus according to the first embodiment.

【図8】第一実施形態に係る測距装置の動作を示すフロ
ーチャートである。
FIG. 8 is a flowchart showing an operation of the distance measuring apparatus according to the first embodiment.

【図9】第一実施形態に係る測距装置の動作におけるタ
イミングチャートである。
FIG. 9 is a timing chart in the operation of the distance measuring apparatus according to the first embodiment.

【図10】第一実施形態に係る測距装置の測距結果を示
す図である。
FIG. 10 is a diagram showing a distance measurement result of the distance measurement device according to the first embodiment.

【図11】第一実施形態に係る測距装置の測距結果を示
す図である。
FIG. 11 is a diagram illustrating a distance measurement result of the distance measurement device according to the first embodiment.

【図12】連続測距における距離逆数とAF信号との関
係を示した図である。
FIG. 12 is a diagram showing a relationship between a distance reciprocal and an AF signal in continuous ranging.

【図13】測距対象物が反射率36%である場合におけ
る測距データを示す図である。
FIG. 13 is a diagram showing distance measurement data when the object to be measured has a reflectance of 36%.

【図14】測距対象物が反射率9%である場合における
測距データを示す図である。
FIG. 14 is a diagram showing distance measurement data when the object to be measured has a reflectance of 9%.

【図15】測距対象物が反射率90%である場合におけ
る測距データを示す図である。
FIG. 15 is a diagram showing distance measurement data when the object to be measured has a reflectance of 90%.

【図16】AF測距処理においてS74の判定条件を異
ならせたときの距離とAF信号(AFDATA)の関係
を示す図である。
FIG. 16 is a diagram showing the relationship between the distance and the AF signal (AFDATA) when the determination conditions in S74 are changed in the AF distance measurement processing.

【図17】AF測距処理においてS74の判定条件を異
ならせたときの距離とAF信号(AFDATA)の関係
を示す図である。
FIG. 17 is a diagram showing the relationship between the distance and the AF signal (AFDATA) when the determination conditions in S74 are changed in the AF distance measurement process.

【図18】AF測距処理においてS74の判定処理を行
わないで測距したときの測距結果(比較例)を示す図で
ある。
FIG. 18 is a diagram illustrating a distance measurement result (comparative example) when performing distance measurement without performing the determination processing of S74 in the AF distance measurement processing.

【図19】AF測距処理においてS74の判定処理を行
わないで測距したときの測距結果(比較例)を示す図で
ある。
FIG. 19 is a diagram illustrating a distance measurement result (comparative example) when the distance is measured without performing the determination processing of S74 in the AF distance measurement processing.

【図20】第二実施形態に係る測距装置における測距結
果を示す図である。
FIG. 20 is a diagram showing a distance measurement result in the distance measurement device according to the second embodiment.

【図21】第二実施形態に係る測距装置における測距結
果を示す図である。
FIG. 21 is a diagram showing a distance measurement result in the distance measurement device according to the second embodiment.

【図22】第1の従来技術に係る測距装置の構成図であ
る。
FIG. 22 is a configuration diagram of a distance measuring apparatus according to a first related art.

【図23】第1の従来技術の積分回路から出力されるA
F信号と測距対象物までの距離との関係を示す図であ
る。
FIG. 23 shows A output from the first prior art integrating circuit;
FIG. 4 is a diagram illustrating a relationship between an F signal and a distance to a distance measurement target.

【図24】第1の従来技術に係る測距装置の変形例の構
成図である。
FIG. 24 is a configuration diagram of a modified example of the distance measuring apparatus according to the first related art.

【図25】第2の従来技術に係る測距装置の構成図であ
る。
FIG. 25 is a configuration diagram of a distance measuring apparatus according to a second related art.

【図26】第3の従来技術に係る測距装置の構成図であ
る。
FIG. 26 is a configuration diagram of a distance measuring apparatus according to a third conventional technique.

【図27】測距対象物の反射率が36%であるときの、
第1の従来技術に係る測距装置により得られる距離信号
と距離との関係を示すグラフである。
FIG. 27 shows a case where the reflectance of the object to be measured is 36%.
9 is a graph showing a relationship between a distance signal and a distance obtained by a distance measuring device according to a first related art.

【図28】測距対象物の反射率が9%であるときの、第
1の従来技術に係る測距装置により得られる距離信号と
距離との関係を示すグラフである。
FIG. 28 is a graph showing a relationship between a distance signal and a distance obtained by the distance measuring apparatus according to the first related art when the reflectance of the distance measuring object is 9%.

【図29】測距対象物の反射率が36%であるときの、
第2および第3の従来技術それぞれに係る測距装置によ
り得られる距離信号と距離との関係を示すグラフであ
る。
FIG. 29 illustrates a case where the reflectance of the object to be measured is 36%.
9 is a graph showing a relationship between a distance signal and a distance obtained by a distance measuring device according to each of the second and third conventional techniques.

【図30】測距対象物の反射率が9%であるときの、第
2および第3の従来技術それぞれに係る測距装置により
得られる距離信号と距離との関係を示すグラフである。
FIG. 30 is a graph showing a relationship between a distance signal and a distance obtained by a distance measuring device according to each of the second and third conventional techniques when the reflectance of the distance measuring object is 9%.

【図31】クランプ信号Ic のレベルを小さくしたとき
であって、測距対象物の反射率が36%であるときの、
第1の従来技術に係る測距装置により得られる距離信号
と距離との関係を示すグラフである。
FIG. 31 shows a case where the level of the clamp signal Ic is reduced and the reflectance of the object to be measured is 36%.
9 is a graph showing a relationship between a distance signal and a distance obtained by a distance measuring device according to a first related art.

【図32】クランプ信号Ic のレベルを小さくしたとき
であって、測距対象物の反射率が9%であるときの、第
1の従来技術に係る測距装置により得られる距離信号と
距離との関係を示すグラフである。
FIG. 32 shows a distance signal, a distance and a distance signal obtained by the distance measuring apparatus according to the first prior art when the level of the clamp signal Ic is reduced and the reflectivity of the distance measuring object is 9%. 6 is a graph showing the relationship of.

【図33】クランプ信号Ic のレベルを小さくしたとき
であって、外光輝度が大きく、測距対象物の反射率が3
6%であるときの、第1の従来技術に係る測距装置によ
り得られる距離信号と距離との関係を示すグラフであ
る。
FIG. 33 shows a case where the level of the clamp signal Ic is reduced, the external light luminance is large, and the reflectance of the object to be measured is 3;
9 is a graph showing a relationship between a distance signal and a distance obtained by the distance measuring apparatus according to the first related art when the ratio is 6%.

【図34】クランプ信号Ic のレベルを小さくしたとき
であって、外光輝度が大きく、測距対象物の反射率が9
%であるときの、第1の従来技術に係る測距装置により
得られる距離信号と距離との関係を示すグラフである。
FIG. 34 shows a case where the level of the clamp signal Ic is reduced, the external light luminance is large, and the reflectance of the object to be measured is 9;
6 is a graph showing the relationship between the distance signal and the distance obtained by the distance measuring device according to the first conventional technique when the distance is%.

【図35】IREDからの投光量を4倍にしたときであ
って、測距対象物の反射率が36%であるときの、第1
の従来技術に係る測距装置により得られる距離信号と距
離との関係を示すグラフである。
FIG. 35 is a diagram illustrating a first case where the amount of light projected from the IRED is quadrupled and the reflectance of the object to be measured is 36%.
6 is a graph showing a relationship between a distance signal and a distance obtained by a distance measuring device according to the related art.

【図36】IREDからの投光量を4倍にしたときであ
って、測距対象物の反射率が9%であるときの、第1の
従来技術に係る測距装置により得られる距離信号と距離
との関係を示すグラフである。
FIG. 36 shows a distance signal and a distance signal obtained by the distance measuring apparatus according to the first conventional technique when the amount of light projected from the IRED is quadrupled and the reflectivity of the distance measuring object is 9%. It is a graph which shows the relationship with distance.

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

1・・・CPU、2・・・EEPROM、3・・・ドラ
イバ、4・・・IRED(発光ダイオード)、5・・・
PSD(位置検出素子)、6・・・積分コンデンサ、7
・・・レンズ駆動回路、8・・・撮影レンズ、10・・
・AFIC(自動焦点用IC)、11・・・第1信号処
理回路、12・・・第2信号処理回路、13・・・クラ
ンプ回路、14・・・演算回路、15・・・積分回路、
71・・・測光センサ
1 CPU, 2 EEPROM, 3 driver, 4 IRED (light emitting diode), 5
PSD (Position Detector), 6 ... Integrating capacitor, 7
... Lens drive circuit, 8 ... Shooting lens, 10 ...
· AFIC (autofocus IC), 11: first signal processing circuit, 12: second signal processing circuit, 13: clamp circuit, 14: arithmetic circuit, 15: integrating circuit,
71 ・ ・ ・ Photometric sensor

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2F112 AA06 BA05 BA07 CA02 DA21 DA26 FA03 FA21 FA29 FA45 2H011 AA01 BA11 BB04 2H051 BB18 BB24 CB23 CC02  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2F112 AA06 BA05 BA07 CA02 DA21 DA26 FA03 FA21 FA29 FA45 2H011 AA01 BA11 BB04 2H051 BB18 BB24 CB23 CC02

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 測距対象物に向けて光束を投光する投光
手段と、 前記測距対象物に投光された前記光束の反射光を、前記
測距対象物までの距離に応じた位置検出素子上の受光位
置で受光し、その受光位置に基づいて、受光光量が一定
であれば前記距離が遠いほど大きな値である遠側信号
と、受光光量が一定であれば前記距離が近いほど大きな
値である近側信号とを出力する受光手段と、 前記遠側信号を入力してクランプ信号のレベルと大小比
較し、前記遠側信号のレベルが前記クランプ信号のレベ
ル以上の場合には前記遠側信号を出力し、そうでない場
合には前記クランプ信号を出力するクランプ手段と、 前記近側信号と前記クランプ手段から出力された信号と
の比を演算して出力比信号を出力する演算手段と、 前記出力比信号を積算して積分し、その積分結果に応じ
た積分信号を出力する積分手段と、 前記投光手段における前記光束の投光、前記クランプ手
段における前記クランプ信号のレベルおよび前記積分手
段における前記出力比信号の積算期間の総和それぞれを
制御するとともに、前記積分手段から出力された前記積
分信号に基づいて測距値を検出する制御手段と、 を含み、 前記制御手段は、 (a)前記クランプ信号を第1のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第1の数に設定して前記積分手段から出力された前記
積分信号に基づいて第1の測距値を検出し、 (b)前記第1の測距値が第1の設定距離以上の遠側の
値であるときに、 前記クランプ信号を前記第1のレベルより小さい第2の
レベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第2の数に設定して前記積分手段から出力された前記
積分信号に基づいて第2の測距値を検出し、 (c)前記第2の測距値が第2の設定距離より近側の値
であるときに、又は、前記第2の測距値が第2の設定距
離より近側の値でなくかつ前記第2の測距値から前記第
1の測距値を減じた値が第1の設定値より小さいとき
に、 前記クランプ信号を前記第1のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第3の数に設定して前記積分手段から出力された前記
積分信号に基づいて第3の測距値を検出し、 前記第1の測距値と前記第3の測距値の和に基づいて前
記測距対象物までの距離を算出し、 (d)前記第2の測距値が第2の設定距離より近側の値
でなくかつ前記第2の測距値から前記第1の測距値を減
じた値が第1の設定値より小さくないときに、 前記クランプ信号を前記第2のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第3の数に設定して前記積分手段から出力された前記
積分信号に基づいて第3の測距値を検出し、 前記第2の測距値と前記第3の測距値の和に基づいて前
記測距対象物までの距離を算出する、測距装置。
A light projecting unit for projecting a light beam toward the object to be measured, and a reflecting light of the light beam projected on the object to be measured according to a distance to the object to be measured. The light is received at the light receiving position on the position detection element, and based on the light receiving position, if the received light amount is constant, the far side signal is larger as the distance is longer, and if the received light amount is constant, the distance is shorter. A light receiving unit that outputs a near-side signal having a larger value, and receives the far-side signal and compares the level with a level of a clamp signal. If the level of the far-side signal is equal to or greater than the level of the clamp signal, Clamping means for outputting the far-side signal, and otherwise outputting the clamp signal, and calculating a ratio between the near-side signal and the signal output from the clamp means to output an output ratio signal Means for integrating the output ratio signal Integrating means for outputting an integration signal according to the integration result; light emission of the light beam by the light emitting means; level of the clamp signal in the clamp means; and integration period of the output ratio signal in the integration means. And control means for controlling each of the sums of the above, and detecting a distance measurement value based on the integration signal output from the integration means, wherein the control means: Setting the sum of the integration period of the output ratio signal in the integration means to a first number, and detecting a first ranging value based on the integration signal output from the integration means; b) setting the clamp signal to a second level smaller than the first level when the first distance value is a value farther than the first set distance; Setting the sum of the integration periods of the output ratio signal to a second number and detecting a second distance measurement value based on the integration signal output from the integration means; and (c) the second distance measurement. When the value is closer to the second set distance, or when the second measured value is not closer to the second set distance and the second measured value is smaller than the second set distance. When the value obtained by subtracting the distance measurement value of 1 is smaller than a first set value, the clamp signal is set to the first level, and the sum of the integration period of the output ratio signal in the integration means is set to a third value. A third distance measurement value is detected based on the integration signal output from the integration means with the number set to a number, and the measurement is performed based on the sum of the first distance measurement value and the third distance measurement value. Calculating a distance to a distance target; and (d) the second distance measurement value is not a value closer than a second set distance and the second distance measurement is performed. When the value obtained by subtracting the first distance measurement value from the value is not smaller than a first set value, the clamp signal is set to the second level, A sum is set to a third number, a third distance value is detected based on the integration signal output from the integration means, and a sum of the second distance value and the third distance value is detected. A distance measuring device that calculates a distance to the object to be measured based on the distance.
【請求項2】 測距対象物に向けて光束を投光する投光
手段と、 前記測距対象物に投光された前記光束の反射光を、前記
測距対象物までの距離に応じた位置検出素子上の受光位
置で受光し、その受光位置に基づいて、受光光量が一定
であれば前記距離が遠いほど大きな値である遠側信号
と、受光光量が一定であれば前記距離が近いほど大きな
値である近側信号とを出力する受光手段と、 前記遠側信号を入力してクランプ信号のレベルと大小比
較し、前記遠側信号のレベルが前記クランプ信号のレベ
ル以上の場合には前記遠側信号を出力し、そうでない場
合には前記クランプ信号を出力するクランプ手段と、 前記近側信号と前記クランプ手段から出力された信号と
の比を演算して出力比信号を出力する演算手段と、 前記出力比信号を積算して積分し、その積分結果に応じ
た積分信号を出力する積分手段と、 前記投光手段における前記光束の投光、前記クランプ手
段における前記クランプ信号のレベルおよび前記積分手
段における前記出力比信号の積算期間の総和それぞれを
制御するとともに、前記積分手段から出力された前記積
分信号に基づいて測距値を検出する制御手段と、 を含み、 前記制御手段は、 (a)前記クランプ信号を第1のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第1の数に設定して前記積分手段から出力された前記
積分信号に基づいて第1の測距値を検出し、 (b)前記第1の測距値が第1の設定距離以上の遠側の
値であるときに、 前記クランプ信号を前記第1のレベルより小さい第2の
レベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第2の数に設定して前記積分手段から出力された前記
積分信号に基づいて第2の測距値を検出し、 (c)前記第2の測距値から前記第1の測距値を減じた
値が第1の設定値より小さいときに、又は、前記第2の
測距値から前記第1の測距値を減じた値が第1の設定値
より小さくなくかつ前記第2の測距値が第3の設定距離
より遠側の値であるときに、 前記クランプ信号を前記第1のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第3の数に設定して前記積分手段から出力された前記
積分信号に基づいて第3の測距値を検出し、 前記第1の測距値と前記第3の測距値の和に基づいて前
記測距対象物までの距離を算出し、 (d)前記第2の測距値から前記第1の測距値を減じた
値が第1の設定値より小さくなくかつ前記第2の測距値
が第3の設定距離より遠側の値でないときに、 前記クランプ信号を前記第2のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第3の数に設定して前記積分手段から出力された前記
積分信号に基づいて第3の測距値を検出し、 前記第2の測距値と前記第3の測距値の和に基づいて前
記測距対象物までの距離を算出する、測距装置。
2. A light projecting means for projecting a light beam toward an object to be measured, and reflecting light of the light beam projected on the object to be measured according to a distance to the object to be measured. The light is received at the light receiving position on the position detection element, and based on the light receiving position, if the received light amount is constant, the far side signal is larger as the distance is longer, and if the received light amount is constant, the distance is shorter. A light receiving unit that outputs a near-side signal having a larger value, and receives the far-side signal and compares the level with a level of a clamp signal. If the level of the far-side signal is equal to or greater than the level of the clamp signal, Clamping means for outputting the far-side signal, and otherwise outputting the clamp signal, and calculating a ratio between the near-side signal and the signal output from the clamp means to output an output ratio signal Means for integrating the output ratio signal Integrating means for outputting an integration signal according to the integration result; light emission of the light beam by the light emitting means; level of the clamp signal in the clamp means; and integration period of the output ratio signal in the integration means. And control means for controlling each of the sums of the above, and detecting a distance measurement value based on the integration signal output from the integration means, wherein the control means: Setting the sum of the integration period of the output ratio signal in the integration means to a first number, and detecting a first ranging value based on the integration signal output from the integration means; b) setting the clamp signal to a second level smaller than the first level when the first distance value is a value farther than the first set distance; Setting the sum of the integration periods of the output ratio signal to a second number and detecting a second distance measurement value based on the integration signal output from the integration means; and (c) the second distance measurement. When the value obtained by subtracting the first distance value from the value is smaller than a first set value, or when the value obtained by subtracting the first distance value from the second distance value is equal to the first set value. When the second distance measurement value is not smaller than the value and the second distance measurement value is a value farther than the third set distance, the clamp signal is set to the first level; The sum of the integration periods is set to a third number, and a third distance measurement value is detected based on the integration signal output from the integration means, and the first distance measurement value and the third distance measurement are detected. Calculating the distance to the object to be measured based on the sum of the values; and (d) subtracting the first distance measurement value from the second distance measurement value. When the value is not smaller than the first set value and the second distance measurement value is not a value farther than the third set distance, the clamp signal is set to the second level. The sum of the integration periods of the output ratio signal is set to a third number, and a third ranging value is detected based on the integration signal output from the integrating means, and the second ranging value and the third ranging value are detected. A distance measuring device that calculates a distance to the distance measurement target based on a sum of third distance measurement values.
【請求項3】 測距対象物に向けて光束を投光する投光
手段と、 前記測距対象物に投光された前記光束の反射光を、前記
測距対象物までの距離に応じた位置検出素子上の受光位
置で受光し、その受光位置に基づいて、受光光量が一定
であれば前記距離が遠いほど大きな値である遠側信号
と、受光光量が一定であれば前記距離が近いほど大きな
値である近側信号とを出力する受光手段と、 前記遠側信号を入力してクランプ信号のレベルと大小比
較し、前記遠側信号のレベルが前記クランプ信号のレベ
ル以上の場合には前記遠側信号を出力し、そうでない場
合には前記クランプ信号を出力するクランプ手段と、 前記近側信号と前記クランプ手段から出力された信号と
の比を演算して出力比信号を出力する演算手段と、 前記出力比信号を積算して積分し、その積分結果に応じ
た積分信号を出力する積分手段と、 前記投光手段における前記光束の投光、前記クランプ手
段における前記クランプ信号のレベルおよび前記積分手
段における前記出力比信号の積算期間の総和それぞれを
制御するとともに、前記積分手段から出力された前記積
分信号に基づいて測距値を検出する制御手段と、 を含み、 前記制御手段は、 (a)前記クランプ信号を第1のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第1の数に設定して前記積分手段から出力された前記
積分信号に基づいて第1の測距値を検出し、 (b)前記第1の測距値が第1の設定距離以上の遠側の
値であるときに、 前記クランプ信号を前記第1のレベルより小さい第2の
レベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第2の数に設定して前記積分手段から出力された前記
積分信号に基づいて第2の測距値を検出し、 (c)前記第1の測距値と前記第1の測距値の和が第2
の設定値より大きくなく又は前記第2の測距値から前記
第1の測距値を減じた値が第3の設定値より大きくな
く、かつ、前記第2の測距値から前記第1の測距値を減
じた値が第1の設定値より小さいときに、 前記クランプ信号を前記第1のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第3の数に設定して前記積分手段から出力された前記
積分信号に基づいて第3の測距値を検出し、 前記第1の測距値と前記第3の測距値の和に基づいて前
記測距対象物までの距離を算出し、 (d)前記第1の測距値と前記第1の測距値の和が第2
の設定値より大きくかつ前記第2の測距値から前記第1
の測距値を減じた値が第3の設定値より大きいときに、
又は、前記第1の測距値と前記第1の測距値の和が第2
の設定値より大きくなく若しくは前記第2の測距値から
前記第1の測距値を減じた値が第3の設定値より大きく
なく、かつ、前記第2の測距値から前記第1の測距値を
減じた値が第1の設定値より小さくないときに、 前記クランプ信号を前記第2のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第3の数に設定して前記積分手段から出力された前記
積分信号に基づいて第3の測距値を検出し、 前記第2の測距値と前記第3の測距値の和に基づいて前
記測距対象物までの距離を算出する、測距装置。
3. A light projecting means for projecting a light beam toward the object to be measured, and reflecting light of the light beam projected on the object to be measured in accordance with a distance to the object to be measured. The light is received at the light receiving position on the position detection element, and based on the light receiving position, if the received light amount is constant, the far side signal is larger as the distance is longer, and if the received light amount is constant, the distance is shorter. A light receiving unit that outputs a near-side signal having a larger value, and receives the far-side signal and compares the level with a level of a clamp signal. If the level of the far-side signal is equal to or greater than the level of the clamp signal, Clamping means for outputting the far-side signal, and otherwise outputting the clamp signal, and calculating a ratio between the near-side signal and the signal output from the clamp means to output an output ratio signal Means for integrating the output ratio signal Integrating means for outputting an integration signal according to the integration result; light emission of the light beam by the light emitting means; level of the clamp signal in the clamp means; and integration period of the output ratio signal in the integration means. And control means for controlling each of the sums of the above, and detecting a distance measurement value based on the integration signal output from the integration means, wherein the control means: Setting the sum of the integration period of the output ratio signal in the integration means to a first number, and detecting a first ranging value based on the integration signal output from the integration means; b) setting the clamp signal to a second level smaller than the first level when the first distance value is a value farther than the first set distance; Setting the sum of the integration periods of the output ratio signal to a second number and detecting a second distance measurement value based on the integration signal output from the integration means; (c) the first distance measurement Value and the first distance value are the second
Or the value obtained by subtracting the first distance value from the second distance value is not larger than the third value, and the first distance value from the second distance value. When the value obtained by subtracting the distance measurement value is smaller than a first set value, the clamp signal is set to the first level, and the sum of the integration period of the output ratio signal in the integration means is set to a third number. A third distance measurement value is detected based on the integration signal output from the integration means set, and the distance measurement target is determined based on a sum of the first distance measurement value and the third distance measurement value. Calculating the distance to the object; (d) the sum of the first distance measurement value and the first distance measurement value is a second distance value;
Is larger than the set value of the second distance measurement value and the first
When the value obtained by subtracting the distance measurement value is larger than the third set value,
Alternatively, the sum of the first distance measurement value and the first distance measurement value is a second distance measurement value.
Or a value obtained by subtracting the first distance measurement value from the second distance measurement value is not larger than a third value and the first distance measurement value is not larger than the second distance measurement value. When the value obtained by subtracting the distance measurement value is not smaller than the first set value, the clamp signal is set to the second level, and the sum of the integration period of the output ratio signal in the integration means is set to a third number. And a third distance measurement value is detected based on the integration signal output from the integration means, and the distance measurement is performed based on a sum of the second distance measurement value and the third distance measurement value. A distance measuring device that calculates the distance to an object.
【請求項4】 測距対象物に向けて光束を投光する投光
手段と、 前記測距対象物に投光された前記光束の反射光を、前記
測距対象物までの距離に応じた位置検出素子上の受光位
置で受光し、その受光位置に基づいて、受光光量が一定
であれば前記距離が遠いほど大きな値である遠側信号
と、受光光量が一定であれば前記距離が近いほど大きな
値である近側信号とを出力する受光手段と、 前記遠側信号を入力してクランプ信号のレベルと大小比
較し、前記遠側信号のレベルが前記クランプ信号のレベ
ル以上の場合には前記遠側信号を出力し、そうでない場
合には前記クランプ信号を出力するクランプ手段と、 前記近側信号と前記クランプ手段から出力された信号と
の比を演算して出力比信号を出力する演算手段と、 前記出力比信号を積算して積分し、その積分結果に応じ
た積分信号を出力する積分手段と、 前記投光手段における前記光束の投光、前記クランプ手
段における前記クランプ信号のレベルおよび前記積分手
段における前記出力比信号の積算期間の総和それぞれを
制御するとともに、前記積分手段から出力された前記積
分信号に基づいて測距値を検出する制御手段と、 を含み、 前記制御手段は、 (a)前記クランプ信号を第1のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第1の数に設定して前記積分手段から出力された前記
積分信号に基づいて第1の測距値を検出し、 (b)前記第1の測距値が第1の設定距離以上の遠側の
値であるときに、 前記クランプ信号を前記第1のレベルより小さい第2の
レベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第2の数に設定して前記積分手段から出力された前記
積分信号に基づいて第2の測距値を検出し、 (c)前記第1の測距値と前記第2の測距値の和が第2
の設定値より大きくなく又は前記第2の測距値から前記
第1の測距値を減じた値が第3の設定値より大きくな
く、かつ、前記第2の測距値から前記第1の測距値を減
じた値が第1の設定値より小さいときに、 前記クランプ信号を前記第1のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第3の数に設定して前記積分手段から出力された前記
積分信号に基づいて第3の測距値を検出し、 前記第1の測距値と前記第3の測距値の和に基づいて前
記測距対象物までの距離を算出し、 (d)前記第1の測距値と前記第2の測距値の和が第2
の設定値より大きくかつ前記第2の測距値から前記第1
の測距値を減じた値が第3の設定値より大きいときに、
又は、前記第1の測距値と前記第2の測距値の和が第2
の設定値より大きくなく若しくは前記第2の測距値から
前記第1の測距値を減じた値が第3の設定値より大きく
なく、かつ、前記第2の測距値から前記第1の測距値を
減じた値が第1の設定値より小さくないときに、 前記クランプ信号を前記第2のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第3の数に設定して前記積分手段から出力された前記
積分信号に基づいて第3の測距値を検出し、 前記第2の測距値と前記第3の測距値の和に基づいて前
記測距対象物までの距離を算出する、測距装置。
4. A light projecting means for projecting a light beam toward an object to be measured, and reflecting light of the light beam projected on the object to be measured according to a distance to the object to be measured. The light is received at the light receiving position on the position detection element, and based on the light receiving position, if the received light amount is constant, the far side signal is larger as the distance is longer, and if the received light amount is constant, the distance is shorter. A light receiving unit that outputs a near-side signal having a larger value, and receives the far-side signal and compares the level with a level of a clamp signal. If the level of the far-side signal is equal to or greater than the level of the clamp signal, Clamping means for outputting the far-side signal, and otherwise outputting the clamp signal, and calculating a ratio between the near-side signal and the signal output from the clamp means to output an output ratio signal Means for integrating the output ratio signal Integrating means for outputting an integration signal according to the integration result; light emission of the light beam by the light emitting means; level of the clamp signal in the clamp means; and integration period of the output ratio signal in the integration means. And control means for controlling each of the sums of the above, and detecting a distance measurement value based on the integration signal output from the integration means, wherein the control means: Setting the sum of the integration period of the output ratio signal in the integration means to a first number, and detecting a first ranging value based on the integration signal output from the integration means; b) setting the clamp signal to a second level smaller than the first level when the first distance value is a value farther than the first set distance; Setting the sum of the integration periods of the output ratio signal to a second number and detecting a second distance measurement value based on the integration signal output from the integration means; (c) the first distance measurement Value and the second distance value are the second
Or the value obtained by subtracting the first distance value from the second distance value is not larger than the third value, and the first distance value from the second distance value. When the value obtained by subtracting the distance measurement value is smaller than a first set value, the clamp signal is set to the first level, and the sum of the integration period of the output ratio signal in the integration means is set to a third number. A third distance measurement value is detected based on the integration signal output from the integration means set, and the distance measurement target is determined based on a sum of the first distance measurement value and the third distance measurement value. Calculating the distance to the object; (d) the sum of the first distance measurement value and the second distance measurement value is a second distance measurement value;
Is larger than the set value of the second distance measurement value and the first
When the value obtained by subtracting the distance measurement value is larger than the third set value,
Alternatively, the sum of the first distance measurement value and the second distance measurement value is a second distance measurement value.
Or a value obtained by subtracting the first distance measurement value from the second distance measurement value is not larger than a third value and the first distance measurement value is not larger than the second distance measurement value. When the value obtained by subtracting the distance measurement value is not smaller than the first set value, the clamp signal is set to the second level, and the sum of the integration period of the output ratio signal in the integration means is set to a third number. And a third distance measurement value is detected based on the integration signal output from the integration means, and the distance measurement is performed based on a sum of the second distance measurement value and the third distance measurement value. A distance measuring device that calculates the distance to an object.
【請求項5】 測距対象物に向けて光束を投光する投光
手段と、 前記測距対象物に投光された前記光束の反射光を、前記
測距対象物までの距離に応じた位置検出素子上の受光位
置で受光し、その受光位置に基づいて、受光光量が一定
であれば前記距離が遠いほど大きな値である遠側信号
と、受光光量が一定であれば前記距離が近いほど大きな
値である近側信号とを出力する受光手段と、 前記遠側信号を入力してクランプ信号のレベルと大小比
較し、前記遠側信号のレベルが前記クランプ信号のレベ
ル以上の場合には前記遠側信号を出力し、そうでない場
合には前記クランプ信号を出力するクランプ手段と、 前記近側信号と前記クランプ手段から出力された信号と
の比を演算して出力比信号を出力する演算手段と、 前記出力比信号を積算して積分し、その積分結果に応じ
た積分信号を出力する積分手段と、 前記投光手段における前記光束の投光、前記クランプ手
段における前記クランプ信号のレベルおよび前記積分手
段における前記出力比信号の積算期間の総和それぞれを
制御するとともに、前記積分手段から出力された前記積
分信号に基づいて測距値を検出する制御手段と、 を含み、 前記制御手段は、 (a)前記クランプ信号を第1のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第1の数に設定して前記積分手段から出力された前記
積分信号に基づいて第1の測距値を検出し、 (b)前記第1の測距値が第1の設定距離以上の遠側の
値であるときに、 前記クランプ信号を前記第1のレベルより小さい第2の
レベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第2の数に設定して前記積分手段から出力された前記
積分信号に基づいて第2の測距値を検出し、 (c)前記第2の測距値と前記第2の測距値の和が第2
の設定値より大きくなく又は前記第2の測距値から前記
第1の測距値を減じた値が第3の設定値より大きくな
く、かつ、前記第2の測距値から前記第1の測距値を減
じた値が第1の設定値より小さいときに、 前記クランプ信号を前記第1のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第3の数に設定して前記積分手段から出力された前記
積分信号に基づいて第3の測距値を検出し、 前記第1の測距値と前記第3の測距値の和に基づいて前
記測距対象物までの距離を算出し、 (d)前記第2の測距値と前記第2の測距値の和が第2
の設定値より大きくかつ前記第2の測距値から前記第1
の測距値を減じた値が第3の設定値より大きいときに、
又は、前記第2の測距値と前記第2の測距値の和が第2
の設定値より大きくなく若しくは前記第2の測距値から
前記第1の測距値を減じた値が第3の設定値より大きく
なく、かつ、前記第2の測距値から前記第1の測距値を
減じた値が第1の設定値より小さくないときに、 前記クランプ信号を前記第2のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第3の数に設定して前記積分手段から出力された前記
積分信号に基づいて第3の測距値を検出し、 前記第2の測距値と前記第3の測距値の和に基づいて前
記測距対象物までの距離を算出する、測距装置。
5. A light projecting means for projecting a light beam toward an object to be measured, and reflecting light of the light beam projected on the object to be measured according to a distance to the object to be measured. The light is received at the light receiving position on the position detection element, and based on the light receiving position, if the received light amount is constant, the far side signal is larger as the distance is longer, and if the received light amount is constant, the distance is shorter. A light receiving unit that outputs a near-side signal having a larger value, and receives the far-side signal and compares the level with a level of a clamp signal. If the level of the far-side signal is equal to or greater than the level of the clamp signal, Clamping means for outputting the far-side signal, and otherwise outputting the clamp signal, and calculating a ratio between the near-side signal and the signal output from the clamp means to output an output ratio signal Means for integrating the output ratio signal Integrating means for outputting an integration signal according to the integration result; light emission of the light beam by the light emitting means; level of the clamp signal in the clamp means; and integration period of the output ratio signal in the integration means. And control means for controlling each of the sums of the above, and detecting a distance measurement value based on the integration signal output from the integration means, wherein the control means: Setting the sum of the integration period of the output ratio signal in the integration means to a first number, and detecting a first ranging value based on the integration signal output from the integration means; b) setting the clamp signal to a second level smaller than the first level when the first distance value is a value farther than the first set distance; Setting the sum of the integration periods of the output ratio signal to a second number and detecting a second distance measurement value based on the integration signal output from the integration means; and (c) the second distance measurement. Value and the second distance value are the second
Or the value obtained by subtracting the first distance value from the second distance value is not larger than the third value, and the first distance value from the second distance value. When the value obtained by subtracting the distance measurement value is smaller than a first set value, the clamp signal is set to the first level, and the sum of the integration period of the output ratio signal in the integration means is set to a third number. A third distance measurement value is detected based on the integration signal output from the integration means set, and the distance measurement target is determined based on a sum of the first distance measurement value and the third distance measurement value. Calculating the distance to the object; (d) the sum of the second distance measurement value and the second distance measurement value is the second distance measurement value;
Is larger than the set value of the second distance measurement value and the first
When the value obtained by subtracting the distance measurement value is larger than the third set value,
Alternatively, the sum of the second distance measurement value and the second distance measurement value is the second distance measurement value.
Or a value obtained by subtracting the first distance measurement value from the second distance measurement value is not larger than a third value and the first distance measurement value is not larger than the second distance measurement value. When the value obtained by subtracting the distance measurement value is not smaller than the first set value, the clamp signal is set to the second level, and the sum of the integration period of the output ratio signal in the integration means is set to a third number. And a third distance measurement value is detected based on the integration signal output from the integration means, and the distance measurement is performed based on a sum of the second distance measurement value and the third distance measurement value. A distance measuring device that calculates the distance to an object.
【請求項6】 測距対象物に向けて光束を投光する投光
手段と、 前記測距対象物に投光された前記光束の反射光を、前記
測距対象物までの距離に応じた位置検出素子上の受光位
置で受光し、その受光位置に基づいて、受光光量が一定
であれば前記距離が遠いほど大きな値である遠側信号
と、受光光量が一定であれば前記距離が近いほど大きな
値である近側信号とを出力する受光手段と、 前記遠側信号を入力してクランプ信号のレベルと大小比
較し、前記遠側信号のレベルが前記クランプ信号のレベ
ル以上の場合には前記遠側信号を出力し、そうでない場
合には前記クランプ信号を出力するクランプ手段と、 前記近側信号と前記クランプ手段から出力された信号と
の比を演算して出力比信号を出力する演算手段と、 前記出力比信号を積分コンデンサに積算して積分し、そ
の積分結果に応じた積分信号を出力する積分手段と、 前記投光手段における前記光束の投光、前記クランプ手
段における前記クランプ信号のレベルおよび前記積分手
段における前記出力比信号の積算期間の総和それぞれを
制御するとともに、前記積分手段から出力された前記積
分信号に基づいて測距値を検出する制御手段と、 を含み、 前記制御手段は、 (a)前記クランプ信号を第1のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第1の数に設定して前記積分手段から出力された前記
積分信号に基づいて第1の測距値を検出し、 (b)前記クランプ信号を第2のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を前記第1の数より小さい第2の数に設定して前記積分
手段から出力された前記積分信号に基づいて第2の測距
値を検出し、 (c)前記第2の測距値に所定の値を加算して前記第2
の測距値を補正し、 前記第1の測距値と前記補正された第2の測距値の和に
基づいて前記測距対象物までの距離を算出する、測距装
置。
6. A light projecting means for projecting a light beam toward an object to be measured, and reflecting light of the light beam projected on the object to be measured in accordance with a distance to the object to be measured. The light is received at the light receiving position on the position detection element, and based on the light receiving position, if the received light amount is constant, the far side signal is larger as the distance is longer, and if the received light amount is constant, the distance is shorter. A light receiving unit that outputs a near-side signal having a larger value, and receives the far-side signal and compares the level with a level of a clamp signal. If the level of the far-side signal is equal to or greater than the level of the clamp signal, Clamping means for outputting the far-side signal, and otherwise outputting the clamp signal, and calculating a ratio between the near-side signal and the signal output from the clamp means to output an output ratio signal Means for integrating the output ratio signal Integrating means for integrating and integrating the result of the integration, and outputting an integrated signal according to the integration result; light emission of the light beam by the light emitting means, level of the clamp signal by the clamp means, and output by the integration means. Control means for controlling each of the sums of the integration periods of the ratio signal and detecting a distance measurement value based on the integration signal output from the integration means, wherein: (a) the clamp signal Is set to a first level, and the sum of the integration period of the output ratio signal in the integration means is set to a first number, and a first distance measurement value is set based on the integration signal output from the integration means. (B) setting the clamp signal to a second level, and setting the sum of the integration periods of the output ratio signal in the integration means to a second number smaller than the first number Detecting a second distance measurement value based on the integration signal outputted from said integrating means Te, (c) the a second distance measurement value by adding a predetermined value the second
A distance measurement device that calculates the distance to the object to be measured based on the sum of the first distance measurement value and the corrected second distance measurement value.
【請求項7】 前記第2の測距値の検出における前記ク
ランプ信号の前記第2のレベルは、前記第1の測距値の
検出における前記クランプ信号の前記第1のレベルに対
し同じ又は小さい、請求項6に記載の測距装置。
7. The second level of the clamp signal in detecting the second distance measurement value is equal to or smaller than the first level of the clamp signal in detecting the first distance measurement value. The distance measuring apparatus according to claim 6.
【請求項8】 測距対象物に向けて光束を投光する投光
手段と、 前記測距対象物に投光された前記光束の反射光を、前記
測距対象物までの距離に応じた位置検出素子上の受光位
置で受光し、その受光位置に基づいて、受光光量が一定
であれば前記距離が遠いほど大きな値である遠側信号
と、受光光量が一定であれば前記距離が近いほど大きな
値である近側信号とを出力する受光手段と、 前記遠側信号を入力してクランプ信号のレベルと大小比
較し、前記遠側信号のレベルが前記クランプ信号のレベ
ル以上の場合には前記遠側信号を出力し、そうでない場
合には前記クランプ信号を出力するクランプ手段と、 前記近側信号と前記クランプ手段から出力された信号と
の比を演算して出力比信号を出力する演算手段と、 前記出力比信号を積分コンデンサに積算して積分し、そ
の積分結果に応じた積分信号を出力する積分手段と、 前記投光手段における前記光束の投光、前記クランプ手
段における前記クランプ信号のレベルおよび前記積分手
段における前記出力比信号の積算期間の総和それぞれを
制御するとともに、前記積分手段から出力された前記積
分信号に基づいて測距値を検出する制御手段と、 を含み、 前記制御手段は、 (a)前記クランプ信号を第1のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を第1の数に設定して前記積分手段から出力された前記
積分信号に基づいて第1の測距値を検出し、 (b)前記クランプ信号を第2のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を前記第1の数より小さい第2の数に設定して前記積分
手段から出力された前記積分信号に基づいて第2の測距
値を検出し、 (c)前記第2の測距値に所定の値を加算して前記第2
の測距値を補正し、 (d)前記クランプ信号を第3のレベルに設定し、 前記積分手段における前記出力比信号の積算期間の総和
を前記第1の数より小さい第3の数に設定して前記積分
手段から出力された前記積分信号に基づいて第3の測距
値を検出し、 (e)前記第3の測距値に所定の値を加算して前記第3
の測距値を補正し、 (f)前記第1の測距値と前記補正された第2の測距値
の和に基づいて又は前記第2の測距値と前記補正された
第3の測距値の和に基づいて前記測距対象物までの距離
を算出する、測距装置。
8. A light projecting means for projecting a light beam toward the object to be measured, and reflecting light of the light beam projected on the object to be measured in accordance with a distance to the object to be measured. The light is received at the light receiving position on the position detection element, and based on the light receiving position, if the received light amount is constant, the far side signal is larger as the distance is longer, and if the received light amount is constant, the distance is closer A light receiving unit that outputs a near-side signal having a larger value, and receives the far-side signal and compares the level with a level of a clamp signal. If the level of the far-side signal is equal to or greater than the level of the clamp signal, Clamping means for outputting the far-side signal, and otherwise outputting the clamp signal, and calculating a ratio between the near-side signal and the signal output from the clamp means to output an output ratio signal Means for integrating the output ratio signal Integrating means for integrating and integrating the result of the integration, and outputting an integrated signal according to the integration result; light emission of the light beam by the light emitting means, level of the clamp signal by the clamp means, and output by the integration means. Control means for controlling each of the sums of the integration periods of the ratio signal and detecting a distance measurement value based on the integration signal output from the integration means, wherein: (a) the clamp signal Is set to a first level, and the sum of the integration period of the output ratio signal in the integration means is set to a first number, and a first distance measurement value is set based on the integration signal output from the integration means. (B) setting the clamp signal to a second level, and setting the sum of the integration periods of the output ratio signal in the integration means to a second number smaller than the first number Detecting a second distance measurement value based on the integration signal outputted from said integrating means Te, (c) the a second distance measurement value by adding a predetermined value the second
(D) setting the clamp signal to a third level; and setting the sum of the integration periods of the output ratio signal in the integration means to a third number smaller than the first number. Detecting a third distance measurement value based on the integration signal output from the integration means; and (e) adding a predetermined value to the third distance measurement value to obtain the third distance measurement value.
(F) based on the sum of the first distance measurement value and the corrected second distance measurement value, or based on the second distance measurement value and the corrected third distance measurement value. A distance measuring device that calculates a distance to the object to be measured based on a sum of distance measurement values.
【請求項9】 前記第2の測距値の検出における前記ク
ランプ信号の前記第2のレベルは、前記第1の測距値の
検出における前記クランプ信号の前記第1のレベルに対
し同じ又は小さく、 前記第3の測距値の検出における前記クランプ信号の前
記第3のレベルは、前記第1の測距値の検出における前
記クランプ信号の前記第1のレベルに対し同じ又は小さ
い、請求項8に記載の測距装置。
9. The second level of the clamp signal in detecting the second distance value is equal to or smaller than the first level of the clamp signal in detecting the first distance value. 9. The method according to claim 8, wherein the third level of the clamp signal in detecting the third distance value is equal to or smaller than the first level of the clamp signal in detecting the first distance value. 3. The distance measuring device according to 1.
【請求項10】 前記第2の測距値の補正のために加算
される前記所定の値と前記第3の測距値の補正のために
加算される前記所定の値は、同じ数値である、請求項8
又は9に記載の測距装置。
10. The predetermined value added for correcting the second distance measurement value and the predetermined value added for correcting the third distance measurement value are the same numerical value. , Claim 8
Or the distance measuring device according to 9.
JP2001206744A 2000-07-07 2001-07-06 Ranging device Expired - Fee Related JP4738656B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001206744A JP4738656B2 (en) 2000-07-07 2001-07-06 Ranging device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2000-207451 2000-07-07
JP2000207451 2000-07-07
JP2000207451 2000-07-07
JP2001206744A JP4738656B2 (en) 2000-07-07 2001-07-06 Ranging device

Publications (2)

Publication Number Publication Date
JP2002098525A true JP2002098525A (en) 2002-04-05
JP4738656B2 JP4738656B2 (en) 2011-08-03

Family

ID=26595642

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001206744A Expired - Fee Related JP4738656B2 (en) 2000-07-07 2001-07-06 Ranging device

Country Status (1)

Country Link
JP (1) JP4738656B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006242728A (en) * 2005-03-03 2006-09-14 Nidec Copal Corp Range finder
CN108241164A (en) * 2016-12-26 2018-07-03 千寻位置网络有限公司 Track recording method and its device in the global position system positioning empty window phase

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05281460A (en) * 1992-03-31 1993-10-29 Seikosha Co Ltd Range finder for camera
JPH0854231A (en) * 1994-08-16 1996-02-27 Mitsubishi Electric Corp Distance measurement signal processor
JP2000180710A (en) * 1998-10-08 2000-06-30 Fuji Photo Optical Co Ltd Range finder

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05281460A (en) * 1992-03-31 1993-10-29 Seikosha Co Ltd Range finder for camera
JPH0854231A (en) * 1994-08-16 1996-02-27 Mitsubishi Electric Corp Distance measurement signal processor
JP2000180710A (en) * 1998-10-08 2000-06-30 Fuji Photo Optical Co Ltd Range finder

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006242728A (en) * 2005-03-03 2006-09-14 Nidec Copal Corp Range finder
CN108241164A (en) * 2016-12-26 2018-07-03 千寻位置网络有限公司 Track recording method and its device in the global position system positioning empty window phase
CN108241164B (en) * 2016-12-26 2021-09-14 千寻位置网络有限公司 Method and device for recording track in positioning empty window period of satellite positioning system

Also Published As

Publication number Publication date
JP4738656B2 (en) 2011-08-03

Similar Documents

Publication Publication Date Title
US6259514B1 (en) Rangefinder apparatus
JP4738656B2 (en) Ranging device
JP3762589B2 (en) Ranging device
JP3581006B2 (en) Distance measuring device and adjustment method thereof
JP3730970B2 (en) camera
JPH0894920A (en) Range finder
JP3482097B2 (en) Distance measuring device
JPH10274524A (en) Range finding device
US6421115B2 (en) Distance measuring apparatus
JP2000162493A (en) Distance measuring equipment
JP3051031B2 (en) Distance measuring device
JP3447509B2 (en) Distance measuring device
JP3594816B2 (en) Distance measuring device
JP3643670B2 (en) Ranging device
US6452664B2 (en) Rangefinder apparatus
JP3479597B2 (en) Distance measuring device
JP3479595B2 (en) Distance measuring device
JP3749638B2 (en) Ranging device
JP3479596B2 (en) Distance measuring device
JP2004029030A (en) Ranging device
JP3694018B2 (en) Ranging device
JP3447508B2 (en) Distance measuring device and adjusting method thereof
US7106423B2 (en) Distance measuring device
JP3984399B2 (en) Ranging device
JP2001153647A (en) Distance measuring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080515

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20100301

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100318

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20100617

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110325

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110330

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110427

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140513

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees