JP3302050B2 - Distance measuring device - Google Patents

Distance measuring device

Info

Publication number
JP3302050B2
JP3302050B2 JP18353192A JP18353192A JP3302050B2 JP 3302050 B2 JP3302050 B2 JP 3302050B2 JP 18353192 A JP18353192 A JP 18353192A JP 18353192 A JP18353192 A JP 18353192A JP 3302050 B2 JP3302050 B2 JP 3302050B2
Authority
JP
Japan
Prior art keywords
distance
circuit
output
subject
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP18353192A
Other languages
Japanese (ja)
Other versions
JPH0626858A (en
Inventor
修 野中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Corp
Original Assignee
Olympus Optic 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 Olympus Optic Co Ltd filed Critical Olympus Optic Co Ltd
Priority to JP18353192A priority Critical patent/JP3302050B2/en
Publication of JPH0626858A publication Critical patent/JPH0626858A/en
Application granted granted Critical
Publication of JP3302050B2 publication Critical patent/JP3302050B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明はコンパクトカメラの測距
装置に係り、特に受光素子にPSDを利用した赤外線投
射三角測距装置の改善に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distance measuring apparatus for a compact camera, and more particularly to an improvement in an infrared projection triangular distance measuring apparatus using a PSD as a light receiving element.

【0002】[0002]

【従来の技術】一般にコンパクトカメラには、赤外線投
光方式の三角測距装置が採用されている。この三角測距
装置の構成例を図7に示す。
2. Description of the Related Art In general, a compact camera employs an infrared light projection type triangulation device. FIG. 7 shows a configuration example of the triangulation device.

【0003】前記三角測距装置において、赤外線発光ダ
イオード1の発する測距用光が投光レンズ2を介して、
被写体3に投光すると、前記測距用赤外線光は、前記投
光レンズから基線長Sだけ離れた箇所に配置された受光
レンズ4から受光素子(PSD)5に入射する。この入
射位置xを受光レンズの光軸基準にとると、被写体距離
Lとの間に、次式の関係が成り立つ。
In the triangular distance measuring device, the distance measuring light emitted by the infrared light emitting diode 1 is transmitted through the light projecting lens 2
When the object 3 is projected, the infrared light for distance measurement is incident on a light receiving element (PSD) 5 from a light receiving lens 4 disposed at a position separated from the light projecting lens by a base line length S. When this incident position x is taken as a reference of the optical axis of the light receiving lens, the following relationship is established between the incident position x and the subject distance L.

【0004】[0004]

【数1】 (Equation 1)

【0005】ここで、f:受光レンズの焦点距離とす
る。従って、入射位置xを検出すれば、被写体距離Lが
求められる。また、受光素子に専用の光位置検出素子
(PSD)を用いれば、PSDの2つの信号電流i1
2 が得られ、これらの信号電流は次式の関係を満た
す。
[0005] Here, f is the focal length of the light receiving lens. Therefore, if the incident position x is detected, the subject distance L can be obtained. If a dedicated light position detecting element (PSD) is used as the light receiving element, two signal currents i 1 and i 2 of the PSD can be obtained, and these signal currents satisfy the following equation.

【0006】[0006]

【数2】 従って図示するようにPSD端部から受光レンズ光軸ま
でを距離aとすると、
(Equation 2) Therefore, as shown in the figure, if the distance a is from the end of the PSD to the optical axis of the light receiving lens,

【0007】[0007]

【数3】 (Equation 3)

【0008】として、前記入射位置xが求められる。P
SD長さtと距離aは、その測距装置により固定された
値なので、信号電流i1 とi2 をi1 /(i1 +i2
の形で演算すればよい。前記演算は、オートフォーカス
(AF)回路6とCPU7により行われる。このAF回
路6は、バイポーラ集積回路素子で構成され、前記信号
電流i1 とi2 は増幅され、図8に示す演算回路で式
(4)に示したi1 /(i1 +i2 )の演算を行う。
As described above, the incident position x is obtained. P
Since the SD length t and the distance a are values fixed by the distance measuring device, the signal currents i 1 and i 2 are calculated as i 1 / (i 1 + i 2 ).
It may be calculated in the form of The calculation is performed by the autofocus (AF) circuit 6 and the CPU 7. The AF circuit 6 is composed of a bipolar integrated circuit element, and the signal currents i 1 and i 2 are amplified, and the arithmetic circuit shown in FIG. 8 is used to calculate the signal current i 1 / (i 1 + i 2 ) of the equation (4). Perform the operation.

【0009】この図8に示す演算回路について説明す
る。PSDの出力信号i1 ,i2 が増幅されて圧縮ダイ
オード8,9に流入すると、基準電圧Vref で各ダイオ
ードは、次式のような電位を生じる。
The operation circuit shown in FIG. 8 will be described. When the output signals i 1 , i 2 of the PSD are amplified and flow into the compression diodes 8, 9, each diode generates a potential represented by the following equation with the reference voltage Vref .

【0010】[0010]

【数4】 (Equation 4)

【0011】ここで、VT :サーマルボルテージ、
s :ダイオードの逆方向飽和電流とする。これらの電
圧信号は、バッファ10,11を介して、定電流源12
とトランジスタ13,14からなる回路に入力される
が、これらのトランジスタ13,14のコレクタ電流I
A ,IB は、前記圧縮ダイオードの出力電圧に次式のよ
うに依存する。
Here, V T : thermal voltage,
i s: the reverse saturation current of the diode. These voltage signals are supplied to the constant current source 12 via the buffers 10 and 11.
And the transistors 13 and 14 are input to the circuit.
A, I B depends as follows on the output voltage of the compression diode.

【0012】[0012]

【数5】 となるが、一方、コレクタ電流IA ,IB は、(Equation 5) While the, other hand, the collector current I A, I B is

【0013】[0013]

【数6】 従って、コレクタ電流IA を検出すれば、(Equation 6) Therefore, by detecting the collector current I A,

【0014】[0014]

【数7】 の関係式が成立して、式(4)において、被写体距離L
を求めるのに必要であったi1 /(i1 +i2 )を求め
ることができ、被写体に合焦している。
(Equation 7) Is established, and in Expression (4), the subject distance L
The i 1 / (i 1 + i 2) can be obtained was necessary for obtaining, is focused on an object.

【0015】[0015]

【発明が解決しようとする課題】しかし、前述した図8
に示した演算回路は、入力する2つ信号の比較により結
果が求められているため、この2系統を構成する各素子
の特性等が一致していないと正しい演算結果が得られな
い。例えば、ダイオード8及び、ダイオード9の特性が
等しいこと、バッファ10とバッファ11のオフセット
が一致すること、トランジスタ13とトランジスタ14
の特性を一致させて、同じ特性の2系統の回路構成にし
なくてはならない。
However, as shown in FIG.
In the arithmetic circuit shown in (1), since the result is obtained by comparing two input signals, a correct arithmetic result cannot be obtained unless the characteristics and the like of the elements constituting the two systems match. For example, the characteristics of the diode 8 and the diode 9 are equal, the offset of the buffer 10 and the offset of the buffer 11 match, the transistor 13 and the transistor 14
Must be matched to form a two-circuit configuration having the same characteristics.

【0016】また、前記トランジスタのアーリー効果の
影響や各素子間の温度差、電流源20の温度特性まで考
慮すると、極限られた条件下でしか正しい演算が行われ
ていないことになる。
In consideration of the Early effect of the transistor, the temperature difference between the elements, and the temperature characteristic of the current source 20, correct calculations are performed only under extremely limited conditions.

【0017】この様な不具合を解決するために、構成素
子の特性を補正するための数値を記憶するEEPROM
や可変抵抗素子等を設ける必要があり、また温度特性を
補正するための温度センサやその付帯回路、CPUのプ
ログラム等を必要とした。そこで本発明は、補正用回路
や記憶素子等を設けなくとも、容易に且つ高精度の測距
を行う測距装置を提供することを目的とする。
In order to solve such a problem, an EEPROM for storing numerical values for correcting the characteristics of the constituent elements is provided.
And a variable resistance element and the like, and a temperature sensor for correcting the temperature characteristic, an auxiliary circuit thereof, a CPU program, and the like were required. SUMMARY OF THE INVENTION It is an object of the present invention to provide a distance measuring apparatus that can easily and accurately measure a distance without providing a correction circuit, a storage element, and the like.

【0018】[0018]

【課題を解決するための手段】本発明は前記目的を達成
するために、被写体からの光信号に依存しない基準信号
を発生する基準信号発生手段と、上記被写体からの光信
号を受光する受光手段と、上記基準信号に基づく擬似的
な第1の測距値及び上記受光手段の出力に基づく第2の
測距値を演算する演算手段と、上記基準信号又は上記受
光手段の出力を選択的に切り換えて上記演算手段に入力
させる切換手段と、上記第1の測距値と上記第2の測距
値とを比較する比較手段と、上記比較手段による比較結
果に応じて、上記被写体までの距離を決定する被写体距
離決定手段とを備えるカメラの測距装置を提供する。
In order to achieve the above object, the present invention provides a reference signal generating means for generating a reference signal independent of an optical signal from a subject, and a light receiving means for receiving an optical signal from the subject. Calculating means for calculating a pseudo first distance value based on the reference signal and a second distance value based on the output of the light receiving means; and selectively outputting the reference signal or the output of the light receiving means. Switching means for switching and inputting to the arithmetic means; comparing means for comparing the first distance measurement value with the second distance measurement value; and distance to the subject according to the comparison result by the comparison means. And a subject distance determining means for determining the distance.

【0019】[0019]

【作用】以上のようなカメラの測距装置は、基準信号発
生手段が出力する擬似的な第1の測距値と受光手段から
の出力とから第2の測距値を求めて、これらの測距値を
比較して、いずれかの測距値を選択する。
The above-described distance measuring apparatus for a camera obtains a second distance measuring value from the pseudo first distance measuring value output from the reference signal generating means and the output from the light receiving means. Compare the distance measurement values and select one of the distance measurement values.

【0020】[0020]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。図1(a)は、本発明の測距装置の概念的
な構成を示し説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1A shows and describes a conceptual configuration of a distance measuring apparatus according to the present invention.

【0021】この測距装置の投受光系においては、ドラ
イバ21によって駆動される赤外線発光ダイオード(I
RED)22の発する測距用光は投光レンズ23を介し
て、被写体24に投光される。その被写体24からの反
射光は、前記測距用赤外線光は、前記投光レンズ23か
ら基線長Sだけ離れた箇所に配置された受光レンズ25
から受光素子(PSD)26に入射する。
In the light emitting and receiving system of this distance measuring device, an infrared light emitting diode (I
The light for distance measurement emitted from the RED (RED) 22 is projected to the subject 24 through the projection lens 23. The reflected light from the subject 24 is a light receiving lens 25 disposed at a position separated from the light projecting lens 23 by a base line length S.
From the light receiving element (PSD) 26.

【0022】前記PSD26から検出される2つの信号
電流をそれぞれ増幅するアンプ27,28が設けられ
る。前記アンプ27,28の各出力端は、切換えスイッ
チ29,30の一方の各端子に接続され、切換え端子を
介して、演算回路31に接続される。
Amplifiers 27 and 28 are provided for amplifying two signal currents detected from the PSD 26, respectively. Each output terminal of the amplifiers 27 and 28 is connected to one terminal of one of the changeover switches 29 and 30, and is connected to the arithmetic circuit 31 via the changeover terminal.

【0023】また、前記切換えスイッチ29,30の他
方の各端子には、後述する基準信号源32が接続され、
前記切換え端子により前記アンプ29,30の出力若し
くは、基準信号源32の出力信号を選択的に演算回路3
1に入力することができる。これらの切換えスイッチ2
9,30の切換え動作は、CPU33によって制御され
る。図1(b)のフローチャートを参照して、測距を行
い、前記CPU33による正確な合焦距離の算出につい
て説明する。まず、予め基準信号を入力することによ
り、演算回路31の精度や温度変化を算出し、それらの
数値xを保持しておく(ステップS1)。
A reference signal source 32 to be described later is connected to the other terminals of the changeover switches 29 and 30.
The output of the amplifiers 29 and 30 or the output signal of the reference signal source 32 is selectively operated by the switching terminal.
1 can be entered. These changeover switches 2
The switching operation between 9 and 30 is controlled by the CPU 33. With reference to the flowchart of FIG. 1B, a description will be given of the calculation of an accurate focusing distance performed by the CPU 33 by measuring the distance. First, the accuracy and temperature change of the arithmetic circuit 31 are calculated by inputting a reference signal in advance, and the numerical value x is held (step S1).

【0024】次にIRED22から被写体24に投光
し、その反射光をPSD26により受光して、実際の測
距演算を行う(ステップS2)。次に予め算出した演算
回路31により求められた補正値を実測値に加味して、
前述した式(1)、式(4)による合焦の演算を行い、
被写体24までの距離を算出する(ステップS3)。次
に図2には、図1に示した第1実施例としての測距装置
のAF回路の具体的な構成例を示す。
Next, light is projected from the IRED 22 to the subject 24, and the reflected light is received by the PSD 26, and an actual distance measurement calculation is performed (step S2). Next, taking into account the correction value obtained by the arithmetic circuit 31 calculated in advance to the actually measured value,
The focus is calculated by the above-described equations (1) and (4),
The distance to the subject 24 is calculated (Step S3). Next, FIG. 2 shows a specific configuration example of the AF circuit of the distance measuring apparatus as the first embodiment shown in FIG.

【0025】このAF回路は、遠近のいずれの位置に被
写体が存在するかの判別を確実に行う回路の例である。
ここで、前記AF回路の構成部材で図8に示した構成部
材と同等の部材には、同じ参照番号を付して、その説明
は省略する。
This AF circuit is an example of a circuit for reliably determining at which position a subject is located near or far.
Here, the same reference numerals as those shown in FIG. 8 denote the same members of the AF circuit, and a description thereof will be omitted.

【0026】図1に示したPSD26から検出された信
号電流i1 ,i2 が圧縮ダイオード8,9に流入する
と、カソード側に設けられた基準電圧Vref に基づき、
各ダイオードで式(5)に示した電圧信号が生じ、バッ
ファ40,41に入力される。このバッファ40,41
は、切換え回路42の走査によって出力をオープン状態
(オフ状態)にすることができ、性能的には図8に示し
たバッファ10,11と同等であり、入力インピーダン
スが高く、出力インピーダンスが低い公知の回路構成を
想定している。前記バッファ40,41の各出力端は、
定電流源12がエミッタに接続されたトランジスタ1
3,14のベースにそれぞれ接続される。
When the signal currents i 1 and i 2 detected from the PSD 26 shown in FIG. 1 flow into the compression diodes 8 and 9, based on a reference voltage Vref provided on the cathode side,
The voltage signal shown in equation (5) is generated in each diode, and is input to the buffers 40 and 41. These buffers 40 and 41
The output can be set to an open state (off state) by scanning of the switching circuit 42, the performance is equivalent to the buffers 10 and 11 shown in FIG. 8, the input impedance is high, and the output impedance is low. Circuit configuration is assumed. Each output terminal of the buffers 40 and 41 is
The transistor 1 in which the constant current source 12 is connected to the emitter
3 and 14, respectively.

【0027】また、基準電流源43と圧縮ダイオード4
4のアノードが接続され、カソード側には、基準電圧V
ref が設けられている。前記圧縮ダイオード44のアノ
ードは、NPNトランジスタ45のベースに接続されて
いる。このトランジスタ45と、PNPトランジスタ4
6,47とによりエミッタフォロワが構成される。これ
らの基準電流源43と圧縮ダイオード44、NPNトラ
ンジスタ45、PNPトランジスタ46,47とによ
り、図1に示した基準信号源32が構成されている。
The reference current source 43 and the compression diode 4
4 is connected to the reference voltage V.
ref is provided. The anode of the compression diode 44 is connected to the base of the NPN transistor 45. This transistor 45 and the PNP transistor 4
The emitter followers 6 and 47 form an emitter follower. The reference current source 43, the compression diode 44, the NPN transistor 45, and the PNP transistors 46 and 47 constitute the reference signal source 32 shown in FIG.

【0028】前記NPNトランジスタ45と電流源48
及びPNPトランジスタ46と電流源49からなる2段
のエミッタフォロワ式の第1のバッファは、前記バッフ
ァ40,41と機能的に同様なものとする。また、電流
源50、前記PNPトランジスタ47は、前記第1のバ
ッファの出力段となる第2のバッファである。
The NPN transistor 45 and the current source 48
A two-stage emitter-follower first buffer comprising a PNP transistor 46 and a current source 49 is functionally similar to the buffers 40 and 41. The current source 50 and the PNP transistor 47 are a second buffer which is an output stage of the first buffer.

【0029】この構成において、前記NPNトランジス
タ45のベース・エミッタ電圧VBEと、PNPトランジ
スタ46,47のベース・エミッタ電圧VBEがほぼ等し
いと仮定すると、ダイオード44の圧縮電圧とほぼ等し
い電圧出力が、前記トランジスタ13,14の各ベース
に入力される。
[0029] In this configuration, the base-emitter voltage V BE of the NPN transistor 45, the base-emitter voltage V BE of the PNP transistor 46 and 47 is assumed to substantially equal, a voltage approximately equal to the output and the compression voltage of the diode 44 , Are input to respective bases of the transistors 13 and 14.

【0030】また、PNPトランジスタ51のオン動作
によって、前記トランジスタ46,47のベース・エミ
ッタ電圧VBEが“0”に近くなるため、電圧出力は、オ
ープン状態になる。
Further, the base-emitter voltage V BE of the transistors 46 and 47 becomes close to “0” by the ON operation of the PNP transistor 51, so that the voltage output becomes open.

【0031】従って、前記トランジスタ51のオン/オ
フの切換え動作によって、圧縮ダイオード44の圧縮電
圧は、前記トランジスタ13,14に入力されたり、さ
れなかったりする。同様の原理で、バッファ40,41
がオープンになったり、バッファ動作したりする。
Therefore, by the on / off switching operation of the transistor 51, the compression voltage of the compression diode 44 is input to the transistors 13 and 14 or not. According to the same principle, buffers 40 and 41
May be open or buffered.

【0032】本実施例は、トランジスタ13,14及び
電流源12による回路の誤差をキャンセルすることであ
る。すなわち、電流源12のばらつきや温度特性から発
生する誤差のため、設計時に想定した目標値(絶対値)
に差を生じ、その時々により回路素子の駆動状態が異な
る。従って、PSDを1:1に内分する点に信号光が入
射しても、それらの状態によって、電流IA にばらつき
を発生させてしまう。従って本実施例では、切換え回路
42を付設させ、このスッチングにより、トランジスタ
51をオフし、バッファ40,41の出力をオープン状
態にして、疑似的に測距値を算出し記憶させておくこと
により、実測値に対して補正することができ、つまり、
電流IA のばらつきを予めCPUが記憶していることに
より、そのばらつきを打ち消し、正確な測距が実施され
る。次に、図2(b)のフローチャートを参照して、前
述したAF回路の動作を説明する。
The present embodiment is to cancel the error of the circuit by the transistors 13 and 14 and the current source 12. That is, the target value (absolute value) assumed at the time of design is due to the error generated from the variation of the current source 12 and the temperature characteristic.
, And the driving state of the circuit element differs from time to time. Therefore, the PSD 1: even signal light is incident on the point which internally divides 1, by their state, thus to generate a variation in the current I A. Therefore, in the present embodiment, the switching circuit 42 is provided, and the transistor 51 is turned off by this switching, and the outputs of the buffers 40 and 41 are opened, and the distance measurement value is calculated and stored in a pseudo manner. Can be corrected for the measured values,
By pre CPU variation in current I A is stored, it cancels the variation, precise distance measurement is performed. Next, the operation of the above-described AF circuit will be described with reference to the flowchart of FIG.

【0033】まず、バッファ40,41をOFF、トラ
ンジスタ51をOFFして測距する。この時に得られた
得られた電流IA1を基準値IArefとして記憶する(ステ
ップS11)。
First, the buffers 40 and 41 are turned off and the transistor 51 is turned off to measure the distance. The current I A1 obtained obtained when this is stored as a reference value I Aref (step S11).

【0034】次に、前記バッファ40,41をON、ト
ランジスタ51もONして基準信号源をオープンとし
て、測距を行い、電流IA を求める(ステップS1
2)。前記基準値IArefと電流IA とを比較する(ステ
ップS13)。この比較で前記電流IA が大きければ
(YES)、式(6)より、i1 に対しi2 が大きいこ
とを意味する。つまり、被写体は反射信号光がPSDを
1:1に内分する距離よりも近い距離に存在することが
分かる。
Next, the buffer 40, 41 ON, as an open reference signal source transistor 51 be turned ON, measures the distance, determining the current I A (step S1
2). Comparing the reference value I Aref and the current I A (step S13). If the current I A in this comparison is large (YES), the equation (6), with respect to i 1 means that i 2 is large. That is, it can be seen that the subject exists at a distance shorter than the distance at which the reflected signal light internally divides the PSD into 1: 1.

【0035】従って、近距離にある被写体に合焦させる
(ステップS14)。しかし、この判定で前記基準値I
Arefが電流IA より大きければ、i1 に対しi2 が小さ
いことを意味する。つまり、被写体は反射信号光がPS
Dを1:1に内分する距離よりも遠い距離に存在するこ
とが分かる。
Therefore, a subject at a short distance is focused (step S14). However, in this determination, the reference value I
Aref is greater than the current I A, with respect to i 1 means that i 2 is small. In other words, the subject has a reflected signal light of PS
It can be seen that D exists at a distance longer than the distance that internally divides D into 1: 1.

【0036】従って、遠距離にある被写体に合焦する
(ステップS15)。ただし、遠距離若しくは近距離の
位置に存在する被写体からの反射信号光がPSDを1:
1に内分し、この時、IA =IArefの値が出力されるよ
うに、PSDは、予め位置調整されているものとしてい
る。
Therefore, a subject at a long distance is focused (step S15). However, the reflected signal light from a subject located at a long or short distance position makes the PSD:
It is assumed that the position of the PSD is adjusted in advance so that the value of I A = I Aref is output.

【0037】この第1実施例では、バッファ40,41
の特性のばらつきは無視できる程度のものとしたが、実
際には、ある程度のばらつきを有しており、これを考慮
した第2実施例について、説明する。図3は、第2実施
例の測距装置のAF回路の具体的な構成例を示す。
In the first embodiment, the buffers 40 and 41
Although the variation in the characteristics is negligible, it actually has a certain degree of variation, and a second embodiment that takes this into consideration will be described. FIG. 3 shows a specific configuration example of the AF circuit of the distance measuring apparatus according to the second embodiment.

【0038】この第2実施例は、第1実施例と同様に、
単純遠近判定2段AF回路に構成されている例である。
ここで第2実施例の構成部材で第1実施例の構成部材
(図1,図2)と同等の部材には、同じ最小符号を付し
て、その説明は省略する。このAF回路の投受光光学系
は、第1実施例に準じるものであり、プリアンプ55,
56は、CPU33の制御により出力をオープン状態可
能である。圧縮ダイオード8,9のアノード側には、プ
リアンプ出力の代りに定電流を流し込むことができる定
電流源57,58が設けられている。
The second embodiment is similar to the first embodiment,
This is an example in which a simple perspective judgment two-stage AF circuit is configured.
Here, the same members as those of the first embodiment (FIGS. 1 and 2) that are the same as those of the first embodiment (FIGS. 1 and 2) are denoted by the same reference numerals, and description thereof is omitted. The light projecting and receiving optical system of this AF circuit is in accordance with the first embodiment, and the preamplifier 55,
The output 56 can be opened under the control of the CPU 33. On the anode side of the compression diodes 8 and 9, constant current sources 57 and 58 capable of supplying a constant current instead of the output of the preamplifier are provided.

【0039】次段には、オペアンプ59と抵抗60〜6
3からなる減算回路が接続されている。前記抵抗60〜
63が等しい抵抗値の時、バッファ10,11の出力電
圧を各々v1 ,v2 とすると、オペアンプ59の出力v
out は、 vout =v2 −v1 となる。このことから前記オペアンプ59の出力vout
は、
The next stage includes an operational amplifier 59 and resistors 60 to 6
3 is connected. The resistor 60-
When the output voltages of the buffers 10 and 11 are v 1 and v 2 when 63 has the same resistance value, the output v of the operational amplifier 59 is
out is v out = v 2 −v 1 . From this, the output v out of the operational amplifier 59 is obtained.
Is

【0040】[0040]

【数8】 となる。この式は、(Equation 8) Becomes This expression is

【0041】[0041]

【数9】 (Equation 9)

【0042】に変形でき、この出力は、式(4)と同様
に式(1)と共に被写体距離に1:1で対応する。この
ラッチ回路64は、CPU33に前記減算回路の出力を
ラッチする。つまり、ラッチタイミングは、パルス状に
投光するIRED22のタイミングに同期した形とな
る。前記CPU33は、内蔵するA/D変換器でラッチ
回路64の出力をA/D変換して取り込む。
This output corresponds to the subject distance 1: 1 together with the equation (1) as in the equation (4). The latch circuit 64 latches the output of the subtraction circuit to the CPU 33. That is, the latch timing is synchronized with the timing of the IRED 22 that emits a pulse. The CPU 33 A / D converts the output of the latch circuit 64 with a built-in A / D converter and captures the output.

【0043】このような測距回路において、問題となる
のは、式(7)のVT が温度特性を持つこと、またアン
プ59に取り付けられた抵抗60〜63の抵抗値のばら
つきによって、前記減算回路の出力の絶対値が変動する
ことである。一方、このような回路構成では、プリアン
プのように、単に増幅として機能する分には、増幅率の
絶対値に変動があっても、得られる結果には影響がな
い。
[0043] In this distance measuring circuit, what becomes a problem, it V T of the formula (7) has a temperature characteristic, also due to variations in the resistance values of the resistors 60 to 63 attached to the amplifier 59, the That is, the absolute value of the output of the subtraction circuit fluctuates. On the other hand, in such a circuit configuration, as in a preamplifier, even if there is a change in the absolute value of the amplification factor, the obtained result is not affected even if it simply functions as amplification.

【0044】前記プリアンプ55,56の増幅率が相対
的に同じ方向に変動しても、相対的なばらつきに関して
は、かなりの精度の補正が期待できる。IC回路におい
ては、バッファ回路以降ほどデリケートではない。
Even if the amplification factors of the preamplifiers 55 and 56 fluctuate relatively in the same direction, it is expected that the relative variation can be corrected with considerable accuracy. In an IC circuit, it is not as delicate as after the buffer circuit.

【0045】図3(b)に、前述した第2実施例の動作
を説明するためのタイミングチャートを示す。この図3
に示すように、まず電流源57,58をオンし、プリア
ンプ55,56はオフして、オペアンプ59からの出力
をラッチし、A/D変換して前記CPU33が読み込
む。
FIG. 3B is a timing chart for explaining the operation of the second embodiment. This figure 3
As shown in (1), first, the current sources 57 and 58 are turned on, the preamplifiers 55 and 56 are turned off, the output from the operational amplifier 59 is latched, A / D converted, and read by the CPU 33.

【0046】前記電流源57,58は、同一の電流値を
流すように設定されている。この時、図3(a)に示す
ように、被写体から反射した信号光がPSD26を1:
1に内分する位置に入射するような距離Lφの所に非被
写体が存在する時と等価的に出力がラッチ回路59から
得られる。このPSDを1:1に内分するポイントを受
光レンズ25の光軸基準に図示するようにxφと表すと
基準長fと受光レンズ焦点距離fと共に、
The current sources 57 and 58 are set so that the same current value flows. At this time, as shown in FIG. 3A, the signal light reflected from the subject makes the PSD 26:
An output is obtained from the latch circuit 59 equivalently to the case where a non-subject exists at a distance Lφ such that the light is incident on a position internally divided into 1. When the point at which this PSD is internally divided into 1: 1 is represented by xφ as shown in the optical axis reference of the light receiving lens 25, together with the reference length f and the light receiving lens focal length f,

【0047】[0047]

【数10】 として、距離Lφは表される。(Equation 10) The distance Lφ is expressed as

【0048】次に本実施例では、電流源57,58をオ
フし、プリアンプ55,56をオンして、IRED22
を発光させ同期させて、オペアンプ59の出力をラッチ
する。この時得られたラッチ回路64からの出力と、先
に求めたラッチ出力との比較からCPU33は、被写体
距離が前述した距離Lφより遠いか近いかを判別するこ
ができる。
Next, in this embodiment, the current sources 57 and 58 are turned off, the preamplifiers 55 and 56 are turned on, and the IRED 22 is turned on.
, And the output of the operational amplifier 59 is latched. An output from the latch circuit 64 obtained at this time, CPU 33 from the comparison between the latch output obtained earlier, Turkey to determine the subject distance is short or farther than the distance Lφ described above
Door can be.

【0049】また雰囲気温度の変化により前記出力VT
が変動しても、電流源57,58の絶対値が変化して
も、この2つの電流源が同様に変動して電流値に差がな
い限り、本実施例では確実にLφの距離を基準とした遠
近判定が可能である。また、抵抗60〜63の抵抗値に
ばらつきがあったとしても、PSD26が正しく、位置
決めされている限り確実に距離Lφを基準とした遠近判
定が可能となる。
Further, the output V T is changed by the change of the ambient temperature.
In this embodiment, even if the current values fluctuate or the absolute values of the current sources 57 and 58 change, as long as the two current sources similarly fluctuate and there is no difference in the current values, the distance of Lφ is definitely used as a reference. Is possible. Further, even if the resistance values of the resistors 60 to 63 vary, the perspective determination based on the distance Lφ can be reliably performed as long as the PSD 26 is correctly positioned.

【0050】この第2実施例は、第1実施例に比べて、
バッファ10,11のばらつきまで補償しているので、
温度変化や回路の出来栄えにかかわらず、さらに正確な
測距が可能である。以上の実施例は、単純な遠近切換え
式の2段AFに対応させた実施例である。
The second embodiment is different from the first embodiment in that
Since it compensates for variations in buffers 10 and 11,
Irrespective of temperature changes and circuit performance, more accurate distance measurement is possible. The above embodiment is an embodiment corresponding to a simple two-step AF of perspective switching type.

【0051】次に図4には、第3実施例としての分解能
をより高くしたAF回路の構成を示し、説明する。ここ
で、第3実施例は特徴部分のみを示し、その構成部材で
第1,2実施例と同等の部材には、同じ参照番号を付し
て、その説明は省略する。
Next, FIG. 4 shows the configuration of an AF circuit having a higher resolution according to a third embodiment. Here, the third embodiment shows only the characteristic portions, and the same components as those of the first and second embodiments are denoted by the same reference numerals, and description thereof will be omitted.

【0052】前記バッファ40,41及びバッファ6
5,66は、第1実施例と同様に、CPU33の制御に
よって、出力がオープン状態(オフ状態)、バッファ機
能出力(オン状態)の2通りに切換えられるタイプのも
のとする。抵抗67〜71、PNPトランジスタ72〜
76とにより、カレントミラー回路が構成され、前記ト
ランジスタ74,76の各カソードに接続されたスイッ
チ77,78をオフしていると、前記トランジスタ72
〜76のコレクタ電流はすべて等しく、電流源79に流
れる電流と等しい電流iref が流れる。
The buffers 40 and 41 and the buffer 6
5 and 66 are of a type whose output can be switched between an open state (off state) and a buffer function output (on state) under the control of the CPU 33 as in the first embodiment. Resistance 67-71, PNP transistor 72-
76 constitute a current mirror circuit, and when the switches 77 and 78 connected to the respective cathodes of the transistors 74 and 76 are turned off, the transistor 72
The current i ref flows equal to the current flowing through the current source 79 because the collector currents of the currents to 76 76 are all equal.

【0053】また、前記スイッチ77,78をオンする
と、前記PNPトランジスタ74,76のエミッタ電位
は、ベース電位より引き下げられるため、オフされ、圧
縮ダイオード80,81には各々電流iref が流し込ま
れる。一方、両スイッチ80,81をオフすると、各圧
縮ダイオード80,81には、2倍の電流iref が流し
込まれる。
When the switches 77 and 78 are turned on, the emitter potentials of the PNP transistors 74 and 76 are turned off because they are lower than the base potential, and current i ref flows into the compression diodes 80 and 81, respectively. On the other hand, when the switches 80 and 81 are turned off, a double current i ref flows into each of the compression diodes 80 and 81.

【0054】前記バッファ65,66をオン状態にし、
前記バッファ40,41をオフ状態にさせる。前記スイ
ッチ77,78をオン・オフすることにより、出力電流
には、疑似的に図示しないPSDを1:2に内分す
るポイントに測距用光が入射した場合、またはPSDを
2:1に内分するポイントに測距用光が入射する場合の
信号が表れる。
The buffers 65 and 66 are turned on,
The buffers 40 and 41 are turned off. By turning on and off the switches 77 and 78, the output current I A, a pseudo manner not shown PSD 1: If the distance measuring light is incident on two points which internally divides, or PSD 2: A signal appears when the light for distance measurement is incident on a point internally divided into 1.

【0055】すなわち、本実施例では、図5(c)に示
すように、この2つの疑似距離の出力と実際に、信号光
がPSDを2:1及び1:2に内分するための被写体距
離LとL2 を対応させて、投受光系を設計し、尚且
つ、それをCPUが有する記憶部に記憶させておくこと
を前提としている。式(6)と式(4)より、
That is, in this embodiment, as shown in FIG. 5 (c), the output of these two pseudo distances and the object in which the signal light actually divides the PSD into 2: 1 and 1: 2. distance L 1 in correspondence and L 2, to design the light projecting and receiving system, besides, it is assumed that that stored in a storage unit in which CPU has. From equations (6) and (4),

【0056】[0056]

【数11】 つまり、[Equation 11] That is,

【0057】[0057]

【数12】 (Equation 12)

【0058】の関係が成り立つ。この関係は図5(a)
に示される。図5(a)中、電流iA2,iA1は、測距に
先立つ疑似測距の際に、まずCPU33に入力される数
値である。また、1/L2 ,1/L1 は、設定値として
予め入力されている。従って、実際の投受光による測距
でIA を求めると、
The following relationship holds. This relationship is shown in FIG.
Is shown in In FIG. 5A, currents i A2 and i A1 are numerical values input to the CPU 33 at the time of pseudo ranging before the ranging. Also, 1 / L 2 and 1 / L 1 are input in advance as set values. Therefore, when obtaining the I A distance measuring by real emitter and receiver,

【0059】[0059]

【数13】 の関係になり、合焦距離Lの逆数が求められる。(Equation 13) And the reciprocal of the focusing distance L is obtained.

【0060】図5(b)に示すように、各素子の温度特
性や数値のばらつきによって、図5(a)の直線の傾き
が変わってしまったときでも、それに応じて、電流
A1,iA2が変化したことを、CPUが予め読み込んで
いる補正値により、正しい合焦距離Lに補正して求める
ことができる。
As shown in FIG. 5 (b), even when the inclination of the straight line in FIG. 5 (a) changes due to variations in the temperature characteristics and numerical values of each element, the currents i A1 and i The fact that A2 has changed can be obtained by correcting the correct focusing distance L by using a correction value read in advance by the CPU.

【0061】この実施例では、CPUが図5(b)に示
す理想直線を前提として、測距結果の電流iA3より1/
3'を求めるため、電流iA1,iA2を予め設定おく必要
がある。図6のフローチャートを参照して、この第3実
施例の測距装置のAF回路の動作を説明する。
[0061] In this embodiment, CPU is assuming an ideal straight line shown in FIG. 5 (b), than the current i A3 of the distance measurement result 1 /
In order to obtain L 3 ′ , it is necessary to set the currents i A1 and i A2 in advance. The operation of the AF circuit of the distance measuring apparatus according to the third embodiment will be described with reference to the flowchart of FIG.

【0062】まず、バッファ65,66をオン状態に
し、バッファ40,41をオフ状態にさせる(ステップ
S21)。スイッチ78をオンした後(ステップS2
2)、疑似測距の演算を行い、電流iA1を算出する(ス
テップS23)。次にスイッチ77をオンした後(ステ
ップS24)、疑似測距の演算を行い、電流iA2を算出
する(ステップS25)。
First, the buffers 65 and 66 are turned on, and the buffers 40 and 41 are turned off (step S21). After the switch 78 is turned on (step S2
2), the calculation of the pseudo ranging is performed to calculate the current i A1 (step S23). Next, after the switch 77 is turned on (step S24), a pseudo ranging operation is performed to calculate the current i A2 (step S25).

【0063】そして、前記バッファ65,66をオフ状
態にし、前記バッファ40,41をオン状態にした後
(ステップS26)、実際に投受光による測距を行い演
算し、電流iA3を算出する(ステップS27)。前述し
た式(9)により合焦距離Lの逆数を求め(ステップS
28)、前記合焦距離Lの逆数に合焦する(ステップS
29)。
Then, after the buffers 65 and 66 are turned off and the buffers 40 and 41 are turned on (step S26), the distance is actually measured by light emission and reception, and the current i A3 is calculated (step S26). Step S27). The reciprocal of the focusing distance L is obtained by the above-mentioned equation (9) (step S
28), focusing is performed on the reciprocal of the focusing distance L (step S)
29).

【0064】以上説明したように、本実施例によれば、
IC素子の精度を補正するためのEEPROMや可変抵
抗素子等を設ける必要がなく、また温度特性を補正する
ための温度センサやその回路、CPUのプログラム等も
不要となる。また本発明は、前述した実施例に限定され
るものではなく、他にも発明の要旨を逸脱しない範囲で
種々の変形や応用が可能であることは勿論である。
As described above, according to this embodiment,
It is not necessary to provide an EEPROM or a variable resistance element for correcting the accuracy of the IC element, and a temperature sensor and its circuit for correcting the temperature characteristic, a program for the CPU, and the like are not required. In addition, the present invention is not limited to the above-described embodiment, and it goes without saying that various modifications and applications are possible without departing from the spirit of the invention.

【0065】[0065]

【発明の効果】以上詳述したように本発明によれば、補
正用回路や補正用記憶素子等を設けなくとも、容易に且
つ高精度の測距を行う測距装置を提供することができ
る。
As described above in detail, according to the present invention, it is possible to provide a distance measuring apparatus that can easily and accurately measure a distance without providing a correction circuit or a correction storage element. .

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

【図1】図1(a)は、本発明の測距装置の概念的な構
成を示す図であり、図1(b)は該測距装置の動作を示
すフローチャートである。
FIG. 1A is a diagram showing a conceptual configuration of a distance measuring device of the present invention, and FIG. 1B is a flowchart showing an operation of the distance measuring device.

【図2】図2(a)は、図1に示した測距装置のAF回
路の具体的な構成を示す図であり、図2(b)は、前記
AF回路の動作を示すフローチャートである。
FIG. 2A is a diagram showing a specific configuration of an AF circuit of the distance measuring device shown in FIG. 1, and FIG. 2B is a flowchart showing an operation of the AF circuit. .

【図3】図3(a)は、第2実施例の測距装置のAF回
路の具体的な構成を示す図であり、図3(b)は、前記
AF回路の動作を示すタイミングチャートである。
FIG. 3A is a diagram illustrating a specific configuration of an AF circuit of a distance measuring apparatus according to a second embodiment, and FIG. 3B is a timing chart illustrating an operation of the AF circuit. is there.

【図4】図4は、第3実施例の測距装置のAF回路の具
体的な構成を示す図である。
FIG. 4 is a diagram illustrating a specific configuration of an AF circuit of a distance measuring apparatus according to a third embodiment.

【図5】図5(a)は、理想的な電流対合焦距離Lの逆
数の関係を示す図であり、図5(b)に示す理想直線と
測距結果を示す図であり、図5(c)は、疑似距離の出
力と実際の信号光がPSDを内分する被写体距離L1
2 の関係を示す図である。
5A is a diagram illustrating an ideal current versus the reciprocal of the focusing distance L, and is a diagram illustrating an ideal straight line illustrated in FIG. 5B and a result of distance measurement. FIG. 5C is a diagram showing the relationship between the object distances L 1 and L 2 at which the pseudo-range output and the actual signal light internally divide the PSD.

【図6】図6は、第3実施例の測距装置のAF回路の動
作を示すフローチャートである。
FIG. 6 is a flowchart illustrating an operation of an AF circuit of the distance measuring apparatus according to the third embodiment.

【図7】図7は、従来の赤外線投光方式の三角測距装置
の構成を示す図である。
FIG. 7 is a diagram illustrating a configuration of a conventional infrared projection type triangulation device.

【図8】図8は、図7に示す三角測距装置の演算回路の
構成を示す図である。
FIG. 8 is a diagram showing a configuration of an arithmetic circuit of the triangulation device shown in FIG. 7;

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

21…ドライバ、22…赤外線発光ダイオード(IRE
D)、23…投光レンズ、24…被写体、25…受光レ
ンズ、26…受光素子(PSD)、27,28…アン
プ、29,30…切換えスイッチ、31…演算回路、3
2…基準信号源、33…CPU、40,41…バッフ
ァ、42…切換え回路、43…基準電流源、44…圧縮
ダイオード、45…NPNトランジスタ、46,47,
51…PNPトランジスタ、48,49,50…電流
源。
21 ... Driver, 22 ... Infrared light emitting diode (IRE
D), 23: light projecting lens, 24: subject, 25: light receiving lens, 26: light receiving element (PSD), 27, 28 ... amplifier, 29, 30 ... changeover switch, 31 ... arithmetic circuit, 3
2. Reference signal source, 33 CPU, 40, 41 buffer, 42 switching circuit, 43 reference current source, 44 compression diode, 45 NPN transistor, 46, 47,
51: PNP transistor, 48, 49, 50: current source.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 被写体からの光信号に依存しない基準信
号を発生する基準信号発生手段と、 上記被写体からの光信号を受光する受光手段と、 上記基準信号に基づく擬似的な第1の測距値及び上記受
光手段の出力に基づく第2の測距値を演算する演算手段
と、 上記基準信号又は上記受光手段の出力を選択的に切り換
えて上記演算手段に入力させる切換手段と、 上記第1の測距値と上記第2の測距値とを比較する比較
手段と、 上記比較手段による比較結果に応じて、上記被写体まで
の距離を決定する被写体距離決定手段と、 を具備することを特徴とするカメラの測距装置。
1. A reference signal generating means for generating a reference signal independent of an optical signal from a subject, a light receiving means for receiving an optical signal from the subject, and a pseudo first distance measurement based on the reference signal Calculating means for calculating a second distance measurement value based on a value and an output of the light receiving means; switching means for selectively switching the reference signal or the output of the light receiving means to input to the calculating means; Comparing means for comparing the measured distance value with the second measured distance value; and subject distance determining means for determining a distance to the subject in accordance with a comparison result by the comparing means. Camera ranging device.
JP18353192A 1992-07-10 1992-07-10 Distance measuring device Expired - Fee Related JP3302050B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18353192A JP3302050B2 (en) 1992-07-10 1992-07-10 Distance measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18353192A JP3302050B2 (en) 1992-07-10 1992-07-10 Distance measuring device

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2001380350A Division JP2002228918A (en) 2001-12-13 2001-12-13 Range finder
JP2001380349A Division JP2002236250A (en) 2001-12-13 2001-12-13 Photodetector

Publications (2)

Publication Number Publication Date
JPH0626858A JPH0626858A (en) 1994-02-04
JP3302050B2 true JP3302050B2 (en) 2002-07-15

Family

ID=16137465

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18353192A Expired - Fee Related JP3302050B2 (en) 1992-07-10 1992-07-10 Distance measuring device

Country Status (1)

Country Link
JP (1) JP3302050B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100576526B1 (en) * 1997-01-09 2007-07-09 후지 덴키 가부시끼가이샤 Distance measuring device
JP6636529B2 (en) * 2015-08-27 2020-01-29 株式会社日立製作所 Information processing method and apparatus

Also Published As

Publication number Publication date
JPH0626858A (en) 1994-02-04

Similar Documents

Publication Publication Date Title
JPS5835410A (en) Distance detecting device
USRE35652E (en) Object distance detecting apparatus
JP3302050B2 (en) Distance measuring device
JPH07174549A (en) Distance-measuring apparatus
JP2002236250A (en) Photodetector
US5005970A (en) Distance detecting apparatus
JP2002228918A (en) Range finder
JP3142960B2 (en) Distance measuring device
JP2882813B2 (en) Distance measuring device
JP3676924B2 (en) Light beam sensor
JP2831217B2 (en) Distance measuring circuit
JPS59142412A (en) Distance detecting device
JP3694018B2 (en) Ranging device
JP3197284B2 (en) Distance measuring device
JP2002341238A (en) Adjusting device for auto-focusing device
JPH0140291B2 (en)
JP3187621B2 (en) Active triangulation
JP3332948B2 (en) camera
JPH11125521A (en) Range finder
JP3408310B2 (en) Camera ranging device
JP3231352B2 (en) Distance measuring device
JPS62237411A (en) Automatic focusing device
JPS59151013A (en) Distance detecting device
JPH07190756A (en) Distance measuring device
JP3226387B2 (en) Active distance measurement circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020409

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

Free format text: PAYMENT UNTIL: 20090426

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees