JP2004198729A - Range-finder and camera using the same - Google Patents

Range-finder and camera using the same Download PDF

Info

Publication number
JP2004198729A
JP2004198729A JP2002367064A JP2002367064A JP2004198729A JP 2004198729 A JP2004198729 A JP 2004198729A JP 2002367064 A JP2002367064 A JP 2002367064A JP 2002367064 A JP2002367064 A JP 2002367064A JP 2004198729 A JP2004198729 A JP 2004198729A
Authority
JP
Japan
Prior art keywords
light
distance
psd
led
subject
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002367064A
Other languages
Japanese (ja)
Inventor
Kenji Nakamura
研史 中村
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP2002367064A priority Critical patent/JP2004198729A/en
Publication of JP2004198729A publication Critical patent/JP2004198729A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a range-finder capable of realizing miniaturization without making a range-finding error, and to provide a camera using the range-finder. <P>SOLUTION: A light projecting part 10 is constituted of three LEDs 2a, 2b and 2c, and a light receiving part 20 is constituted of two PSDs 5a, 5b or 5c. Reflected light by the 1st LED 2a is received by the 1st PSD 5a, and a 1st distance is calculated based on output from the 1st PSD 5a. Reflected light by the 3rd LED 2c is received by the 2nd PSD 5b, and a 3rd distance is calculated based on output from the 2nd PSD 5b. Then, reflected light by the 2nd LED 2b is received all over the 1st PSD 5a and the 2nd PSD 5b, and a 2nd distance is calculated based on output from the PSD whose received light quantity is larger out of the 1st PSD 5a and the 2nd PSD 5b. A microcomputer 30 sets the shortest distance out of the 1st, the 2nd and the 3rd distances as a real distance. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、被写体までの距離を測定する測距装置及び同装置を用いたカメラに関するものである。
【0002】
【従来の技術】
従来より、カメラ等のオートフォーカスは、カメラから被写体までの距離を測距装置によって測定し、測定結果に基づいてフォーカスレンズをピントの合う位置まで移動することによって行われている。このような測距装置の一例としては、LED(Light Emitting Diode)からの光を被写体に投光し、その反射光を光スポットとしてPSD(Position Sensitive Device)で受光し、反射光のスポット位置に基づき三角測量の原理を用いて被写体までの距離を測定するアクティブ方式の測距装置が知られている(例えば、特許文献1参照。)。このようなアクティブ方式の測距装置では、通常、LEDとPSDとが一対一に配置される。
【0003】
【特許文献1】
特開平7−13069号公報
【0004】
【発明が解決しようとする課題】
この測距装置をカメラ等に搭載する場合、LEDとPSDとの一対の組の数が多いほど複数の測距ポイントの距離を測定することが可能となる。つまり、この組の数を多くすることによって、LEDから投光される光線の一部が主被写体に投光されずに背景等に抜けてしまう、いわゆるケラレ現象が減少することとなり、PSD上の反射光の重心がずれてしまうという測距誤差を少なくすることができる。
【0005】
しかしながら、確実に測距を行うために測距ポイントを増やそうとすると、上記のように、LEDとPSDとは対となって増えるため、近年求められている小型化に対応することが困難となる。
【0006】
本発明は、上記の問題を解決するためになされたもので、測距誤差が生じることなく小型化を実現することができる測距装置及び同装置を用いたカメラを提供することを目的とするものである。
【0007】
【課題を解決するための手段】
本発明に係る測距装置は、被写体に対して測距光を投光する投光手段と、前記投光手段によって投光された測距光による被写体からの反射光を受光し、受光位置に応じた信号を出力する受光手段とを備え、前記投光手段は複数の投光素子で構成され、前記受光手段は前記投光素子よりも少ない数の複数の受光素子で構成される。
【0008】
この構成によれば、被写体に対して測距光を投光する投光手段は、複数の投光素子で構成されるため、測距ポイントが増すこととなり、測距誤差をなくすことができる。また、投光手段によって投光された測距光による被写体からの反射光を受光し、受光位置に応じた信号を出力する受光手段は、投光素子よりも少ない数の複数の受光素子で構成されるため、装置の小型化を実現することができる。
【0009】
また、上記の測距装置において、前記複数の投光素子のうちの少なくとも1の投光素子の測距光は、被写体までの距離に応じて、前記複数の受光素子のうちの少なくとも2の受光素子にまたがって結像位置が移動することが好ましい。
【0010】
この構成によれば、複数の投光素子のうちの少なくとも1の投光素子の測距光による結像位置は、被写体までの距離に応じて、複数の受光素子のうちの少なくとも2の受光素子にまたがって移動するので、投光素子を増やして測距ポイントを増やした場合でも、1の投光素子による測距光を2の受光素子によって共用することによって、受光素子を増やす必要がなく、従来のように投光素子と受光素子とを同数設ける必要がなくなり、装置の小型化を実現することができる。
【0011】
また、上記の測距装置において、前記複数の受光素子が受光する受光量を算出する複数の受光量算出手段と、前記複数の受光素子によって出力される信号に基づいて、各投光素子毎に対応する前記被写体までの距離を算出する複数の距離算出手段と、前記複数の投光素子のうちの少なくとも1の投光素子を発光させ、前記被写体からの反射光を前記複数の受光素子のうちの少なくとも2の受光素子で受光し、前記受光量算出手段によって算出された受光量の多い受光素子で算出された距離を前記複数の投光素子のうちの少なくとも1の投光素子に対応する距離に決定する距離決定手段とをさらに備えることが好ましい。
【0012】
この構成によれば、複数の受光量算出手段によって、各受光素子が受光する受光量が算出され、複数の距離算出手段によって、各受光素子によって出力される信号に基づいて、各投光素子毎に対応する被写体までの距離が算出され、距離決定手段によって、複数の投光素子のうちの少なくとも1の投光素子を発光させ、被写体からの反射光を複数の受光素子のうちの少なくとも2の受光素子で受光し、受光量算出手段によって算出された受光量の多い受光素子で算出された距離が、複数の投光素子のうちの少なくとも1の投光素子に対応する距離に決定されるため、複数の投光素子のうちの各投光素子を発光させることによって測定される各投光素子毎の被写体までの正確な距離を測定することができる。
【0013】
また、上記の測距装置において、前記距離決定手段は、前記距離算出手段によって算出された各投光素子毎に対応する距離のうちの最も被写体までの距離が近いものを真の距離として決定することが好ましい。
【0014】
この構成によれば、距離決定手段によって、距離算出手段によって算出された各投光素子毎に対応する距離のうちの最も被写体までの距離が近いものが真の距離として決定されるため、被写体までの正確な距離を測定することができる。
【0015】
また、本発明に係るカメラは、被写体までの距離を測定する測距手段と、被写体に対するピント合わせを行うフォーカスレンズと、前記測距手段によって測定された被写体までの距離に基づいて前記フォーカスレンズを駆動するフォーカスレンズ駆動手段とを備えたカメラであって、前記測距手段は、請求項1〜4のいずれかに記載の測距装置で構成される。
【0016】
この構成によれば、測距誤差が生じることなく小型化を実現することができる測距装置を実現することができるので、測距装置を備えたカメラの小型化を実現することができる。
【0017】
【発明の実施の形態】
以下、本発明に係る実施形態を図面に基づいて説明する。なお、各図において同一の構成については、同一の符号を付し、その説明を省略する。
【0018】
図1は、本発明に係る測距装置を用いたデジタルカメラ(撮像装置)の構成を示すブロック図である。デジタルカメラ100は、測距装置1、撮像光学系110、撮像部120、フォーカスレンズ駆動部130、信号処理部140、記憶部150、全体制御部160、表示部170、記録部180及び操作部190で構成される。
【0019】
測距装置1は、デジタルカメラ1から被写体までの距離を測定し、測定された被写体までの距離を全体制御部に出力する。なお、測距装置1については、詳細に後述する。
【0020】
撮像光学系110は、ズームレンズ111及びフォーカスレンズ112で構成される。ズームレンズ111は、光軸L方向に移動してズーミング動作を行い、被写体の被写体像を拡大又は縮小する変倍動作を行う。フォーカスレンズ112は、光軸L方向に移動してフォーカシング動作を行い、被写体に対するピント合わせを行う。
【0021】
撮像部120は、例えばCCDやC−MOSセンサ等の2次元固体撮像素子と、撮像素子を駆動するための駆動回路を含む。固体撮像素子は、その中心が基準位置(手振れ補正等を行わない場合の撮像光学系110の位置)における撮像光学系110の光軸Lと一致するように配置されている。
【0022】
フォーカスレンズ駆動部130は、自動合焦モード(AFモード)が選択されている場合は、全体制御部160から出力されるフォーカスレンズの移動量に基づいて、常時撮像部120の撮像素子上に被写体像を合焦させるようにフォーカスレンズ112の駆動を制御する。
【0023】
信号処理部140は、撮像部120の撮像素子から出力されるアナログの電気信号をディジタル信号に変換するためのA/Dコンバータ、A/D変換された画像データのホワイトバランス調節、γ補正、JPEG等の圧縮/伸張処理等の所定の処理を施す。また、信号処理部140には、撮像部120から画像データ等を一時的に記憶するためのRAM等で構成された記憶部150が接続されている。
【0024】
全体制御部160はこのデジタルカメラ100の全体の制御を行うものであり、フォーカスレンズ駆動部130、例えばLCD等の表示素子を含む表示部170、メモリカードやビデオテープ等の記録媒体に画像データを記録するための記録部180、このデジタルカメラ100の筐体外部に設けられたズームスイッチ(図示せず)、シャッタレリーズスイッチ(図示せず)、モード選択スイッチ(図示せず)等で構成された操作部190が接続されている。全体制御部160は、測距装置1から出力される被写体までの距離に基づいてフォーカスレンズの移動量を算出し、算出された移動量をフォーカスレンズ駆動部130に出力する。
【0025】
表示部170は、上記表示素子及びその駆動回路等を含み、このデジタルカメラ1の電子式ビューファインダとして使用することが可能であると共に、記録媒体に記録されている画像データを再生するためのモニタとして使用される。表示部170をビューファインダとして使用する場合、撮像部120は、所定間隔、例えば1/30秒ごとに画像データを取り込み、表示部170に表示される画像を更新する。
【0026】
記録部180は、目的に応じて様々な記録媒体及びその記録装置を使用することができ、本実施の形態では、静止画又は短時間の動画の記録画可能なメモリカード等を記録媒体とするカードレコーダを用いて撮像画像が記録される。また、記録媒体としては、ハードディスク装置のような固定式記録装置を用いることも可能である。
【0027】
次に、本発明に係る測距装置1について詳細に説明する。
【0028】
まず、本発明に係る測距装置の説明に先立って、一般的なアクティブ方式の測距装置の測距原理について説明する。
【0029】
図2は、アクティブ方式の測距装置の測距原理について説明するための図である。図2に示す測距装置101において、LED2より発せられた光が、このLED2と同一光軸L1を有する投光レンズ3によりビーム状に絞られ、被写体60に投光される。被写体60からの反射光は、投光レンズ3の光軸L1と平行な光軸L2を有する受光レンズ4を介して、この受光レンズ4の略焦点距離上で上記光軸L2とその中心Oが一致し、かつ、光軸L2に直交するように配置されたPSD5の受光面の適宜位置Pに結像することになる。このとき、PSD5の2つの電極A,Bを介して流れる受光電流をIa,Ib、反射光強度に応じて生成される電流をI0、PSD5の受光面の中心点Oから結像位置Pまでの長さをx、PSD5の有効抵抗長(PSD5の長さ)をm、結像位置Pから電極A,Bまでの抵抗値をRa,Rbとすると、受光電流Iaは下記の(1)式で表され、受光電流Ibは下記の(2)式で表される。
Ia=Rb/(Ra+Rb)×I0・・・・(1)
Ib=Ra/(Ra+Rb)×I0・・・・(2)
一方、周知のように、PSDは、長さm中における比抵抗分布が一様である。したがって、抵抗値Ra,Rbは、結像位置Pから電極A,Bまでの距離に比例することとなり、長さx及びmを用いて表すことができ、上記(1)式及び(2)式は下記の(3)式及び(4)式で表すことができる。
Ia=(m/2+x)/m×I0・・・・(3)
Ib=(m/2−x)/m×I0・・・・(4)
上記(3)式及び(4)式において、I0は、結像位置Pでの反射光の強さに比例する未知数であることから、上記(3)式あるいは(4)式のうちのどちらか一方だけで未知数xを解くことはできない。そこで、通常は、I0の影響をなくすために、I0=Ia+Ibとなる関係を利用し、下記の(5)式で表されるIaと(Ia+Ib)の比Kを求めることで未知数xを得る。
K=Ia/(Ia+Ib)=(1/2+x/m)・・・・(5)
この結果、電極A,Bより出力される受光電流Ia,Ibを測定することによって、上記xを求めることができる。
【0030】
ここで、投光レンズ3から被写体60までの距離をD、受光レンズ4の焦点距離をf(通常、PSDは受光レンズの焦点距離の近傍に配置される。)、投光レンズ3及び受光レンズ4の光軸L1,L2の間隔(基線長)をBLとし、かつ、PSD5上の受光面の中心点Oに反射光が結像される被写体が、無限遠被写体であるとすると、三角測量法によって、下記の(6)式で表す関係式が成り立つ。
BL/D=x/f・・・・(6)
そして、上記(6)式におけるDは、下記の(7)式で表される。
D=BL×f/x・・・・(7)
したがって、Iaと(Ia+Ib)の比K(=Ia/(Ia+Ib))を求めることにより、PSD5の受光面の中心点Oから結像位置Pまでの長さxを求めることができ、求めたxを上記(7)式に代入することによって被写体60までの距離Dを求めることができる。
【0031】
特に、距離Dが近距離である場合、PSDの長さmは、上記(7)式より、基線長BLと焦点距離fとから(BL×f)/D以上の長さが必要となる。また、基線長BLと焦点距離fとの積(BL×f)は、大きいほど長さxの変化量が大きくなり、Ia及びIbの測定精度が上がり、距離Dの分解能が高くなる。このことから、測距性能を高めるには、BL×fが大きくなる、つまり、PSDの長さmが大きくなるようにすることが好ましい。
【0032】
続いて、本発明に係る測距装置の実施形態について説明する。本実施の形態における測距装置では、3つの投光素子(例えばLED)で被写体を投光し、2つの受光素子(例えばPSD)で被写体による反射光を受光する。
【0033】
本実施の形態では、被写体による反射光の結像位置が、被写体までの距離に応じて複数の受光素子にまたがって移動する。図3は、被写体までの距離に応じて変化する結像位置について説明するための図である。図3では、最も離れた距離にある被写体61から投光レンズ3までの距離を距離D1とし、次に離れた距離にある被写体62から投光レンズ3までの距離を距離D2とし、近距離にある被写体63から投光レンズ3までの距離を距離D3とする(D1>D2>D3)。なお、図3では、距離D1を無限遠としている。また、第1PSD5aと第2PSD5bとは、略近接して配置されている。
【0034】
第1LED2aを用いて距離D1を測定する場合、第1LED2aから発せられた光は、投光レンズ3によりビーム状に絞られ、被写体61に投光される。被写体61による反射光は、投光レンズ3の光軸L1と平行な光軸L2を有する受光レンズ4を介して、光軸L2に直交するように配置された第1PSD5aの受光面の適宜位置に結像することになる。同様に、第1LED2aを用いて距離D2又は距離D3を測定する場合、第1LED2aから発せられた光は、投光レンズ3によりビーム状に絞られ、被写体62又は被写体63に投光され、被写体62又は被写体63による反射光は受光レンズ4を介して第1PSD5aの受光面の適宜位置にそれぞれ結像することになる。つまり、第1LED2aの反射光による結像位置は、距離D1〜D3にわたって第1PSD5a上を移動する。
【0035】
第3LED2cを用いて距離D1を測定する場合、第3LED2cから発せられた光は、投光レンズ3によりビーム状に絞られ、被写体61に投光される。被写体61による反射光は、受光レンズ4を介して、第2PSD5bの受光面の適宜位置に結像することになる。同様に、第3LED2cを用いて距離D2又は距離D3を測定する場合、第3LED2cから発せられた光は、投光レンズ3によりビーム状に絞られ、被写体62又は被写体63に投光され、被写体62又は被写体63による反射光は受光レンズ4を介して第2PSD5bの受光面の適宜位置にそれぞれ結像することになる。つまり、第3LED2cの反射光による結像位置は、距離D1〜D3にわたって第2PSD5b上を移動する。
【0036】
第2LED2bを用いて距離D1を測定する場合、第2LED2bから発せられた光は、投光レンズ3によりビーム状に絞られ、被写体61に投光される。被写体61による反射光は、受光レンズ4を介して、第2PSD5bの受光面の適宜位置に結像することになる。また、第2LED2bを用いて距離D2を測定する場合、第2LED2bから発せられた光は、投光レンズ3によりビーム状に絞られ、被写体62に投光され、被写体62による反射光は、受光レンズ4を介して、第2PSD5bの受光面の適宜位置に結像することになる。また、第2LED2bを用いて距離D3を測定する場合、第2LED2bから発せられた光は、投光レンズ3によりビーム状に絞られ、被写体63に投光され、被写体63による反射光は、受光レンズ4を介して、第1PSD5aの受光面の適宜位置に結像することになる。つまり、第2LED2bの反射光による結像位置は、距離D1〜D2にわたって第2PSD5b上を移動し、距離D2〜D3にわたって第1PSD5a上を移動する。
【0037】
図4は、LEDとPSDが一対一に対応する場合の被写体までの距離とPSDの出力との関係を示す図であり、縦軸がPSDの受光電流Ia,Ibに基づく出力Ia/(Ia+Ib)を表し、横軸が被写体までの距離1/Dを表す。図3に示すように、LEDとPSDが一対一に対応する場合、被写体までの距離とPSDの受光電流Ia,Ibに基づく出力との関係は比例し、距離D1〜D3にわたって一定の出力が得られる。この関係は、第1LED2aを発光させた場合及び第3LED2bを発光させた場合についても当てはまり、第1LED2aを発光させた場合、第1PSD5aの受光電流Ia1,Ib1に基づく出力Ia1/(Ia1+Ib1)と、被写体との距離1/Dとは、図4に示すような比例関係となり、距離D1〜D3にわたって一定の出力が得られる。同様に、第3LED2cを発光させた場合、第2PSD5bの受光電流Ia2,Ib2に基づく出力Ia2/(Ia2+Ib2)と、被写体との距離1/Dとは、図4に示すような比例関係となり、距離D1〜D3にわたって一定の出力が得られる。
【0038】
図5は、LEDによる反射光が2つのPSDにまたがって結像される場合の被写体までの距離とPSDの出力との関係を示す図であり、縦軸がPSDの受光電流Ia,Ibに基づく出力Ia/(Ia+Ib)を表し、横軸が被写体までの距離1/Dを表す。図5に示すように、第2LED2bを発光させた場合、被写体による反射光の結像位置は、第1PSD5aから第2PSD5bにまたがって移動するため、距離D2を境界に2つのPSDによる出力が得られ、各々距離D2を境界にして1/Dに比例した関係で得られる。つまり、距離D1から距離D2までは、第2PSD5bの受光電流Ia2,Ib2に基づく出力が得られ、距離D2から距離D3までは、第1PSD5aの受光電流Ia1,Ib1に基づく出力が得られる。
【0039】
このように、発光させるLEDに応じて、受光するPSDが変化し、特に、第2LED2bを発光させた場合、被写体までの距離に応じて第1PSD5a又は第2PSD5bのいずれかのPSDで受光され、第1PSD5a及び第2PSD5bの2つのPSDにまたがって受光されることとなる。
【0040】
図6は、本実施の形態における測距装置の構成の一例を示す図である。図6に示す測距装置1は、第1LED2a、第2LED2b、第3LED2c、投光レンズ3、受光レンズ4、第1PSD5a、第2PSD5b、第1演算回路21、第1受光量算出回路22、第2演算回路23、第2受光量算出回路24、発光制御回路11及びマイコン30で構成される。なお、投光部10は、第1LED2a、第2LED2b及び第3LED2cで構成され、受光部20は、第1PSD5a及び第2PSD5bで構成される。
【0041】
第1LED2aは、後述する発光制御回路11による制御信号に基づいて測距光を投光レンズ3に放射する。第2LED2bは、後述する発光制御回路11による制御信号に基づいて測距光を投光レンズ3に放射する。第3LED2cは、後述する発光制御回路11による制御信号に基づいて測距光を投光レンズ3に放射する。
【0042】
投光レンズ3は、第1LED2a、第2LED2b及び第3LED2cから発せられた測距光をビーム状に絞り、被写体に投光する。受光レンズ4は、被写体による反射光を第1PSD5a又は第2PSD5bの受光面上に結像させる。
【0043】
第1PSD5aは、第1LED2a、第2LED2b及び第3LED2cの基線長方向に配置され、結像位置に応じた受光電流Ia1及びIb1を両端に設けられた電極より、後述する第1演算回路21及び第1受光量算出回路22に出力する。第2PSD5bは、第1LED2a、第2LED2b及び第3LED2cの基線長方向に配置され、結像位置に応じた受光電流Ia2及びIb2を両端に設けられた電極より、後述する第2演算回路23及び第2受光量算出回路24に出力する。
【0044】
第1演算回路21は、第1PSD5aの両端に設けられた電極から出力される受光電流Ia1,Ib1が入力され、入力された受光電流Ia1,Ib1に基づいて、Ia1と(Ia1+Ib1)との比であるIa1/(Ia1+Ib1)を算出し、算出された値Ia1/(Ia1+Ib1)をマイコン30に出力する。
【0045】
第1受光量算出回路22は、第1PSD5aの両端に設けられた電極から出力される受光電流Ia1,Ib1が入力され、入力された受光電流Ia1,Ib1に基づいて、第1PSD5aにおける総受光量Ia1+Ib1を算出し、算出された総受光量Ia1+Ib1をマイコン30に出力する。
【0046】
第2演算回路23は、第2PSD5bの両端に設けられた電極から出力される受光電流Ia2,Ib2が入力され、入力された受光電流Ia2,Ib2に基づいて、Ia2と(Ia2+Ib2)との比であるIa2/(Ia2+Ib2)を算出し、算出された値Ia2/(Ia2+Ib2)をマイコン30に出力する。
【0047】
第2受光量算出回路24は、第2PSD5bの両端に設けられた電極から出力される受光電流Ia2,Ib2が入力され、入力された受光電流Ia2,Ib2に基づいて、第2PSD5bにおける総受光量Ia2+Ib2を算出し、算出された総受光量Ia2+Ib2をマイコン30に出力する。
【0048】
発光制御回路11は、第1LED2a、第2LED2b及び第3LED2cの発光を制御するものであり、マイコン30から出力される制御信号に基づいて第1LED2a、第2LED2b及び第3LED2cの発光を制御する。
【0049】
マイコン30は、第1LED2aの発光を制御し、第1演算回路21によって得られる値Ia1/(Ia1+Ib1)に基づいて、被写体までの第1距離Daを算出する。また、マイコン30は、第2LED2bの発光を制御し、第1演算回路21又は第2演算回路23によって得られる値Ia1/(Ia1+Ib1)又は値Ia2/(Ia2+Ib2)に基づいて、被写体までの第2距離Dbを算出する。さらに、マイコン30は、第3LED2cの発光を制御し、第2演算回路23によって得られる値Ia2/(Ia2+Ib2)に基づいて、被写体までの第3距離Dcを算出する。マイコン30は、算出された第1距離Da、第2距離Db及び第3距離Dcのうちの最適な距離を被写体までの真の距離として決定する。
【0050】
次に、本実施の形態における測距装置1の動作について説明する。図7は、本実施の形態における測距装置1の動作の一例について説明するためのフローチャートである。
【0051】
ステップS1において、発光制御回路11は、第1LED2aを発光するように制御し、第1LED2aは被写体に向けて投光する。第1LED2aより発せられた光は、投光レンズ3によりビーム状に絞られ、被写体に投光される。被写体からの反射光は、投光レンズ3の光軸L1と平行な光軸L2を有する受光レンズ4を介して、第1PSD5aの受光面の適宜位置に結像することになる。
【0052】
ステップS2において、第1演算回路21は、第1PSD5aから出力される受光電流Ia1及びIb1に基づいてIa1/(Ia1+Ib1)の値を算出し、マイコン30に出力する。マイコン30は、入力された値Ia1/(Ia1+Ib1)に基づいて被写体までの第1距離Daを算出し、算出した第1距離Daを一時的に記憶する。
【0053】
ステップS3において、発光制御回路11は、第3LED2cを発光するように制御し、第3LED2cは被写体に向けて投光する。第3LED2cより発せられた光は、投光レンズ3によりビーム状に絞られ、被写体に投光される。被写体からの反射光は、受光レンズ4を介して、第2PSD5bの受光面の適宜位置に結像することになる。
【0054】
ステップS4において、第2演算回路23は、第2PSD5bから出力される受光電流Ia2及びIb2に基づいてIa2/(Ia2+Ib2)の値を算出し、マイコン30に出力する。マイコン30は、入力された値Ia2/(Ia2+Ib2)に基づいて被写体までの第3距離Dcを算出し、算出した第3距離Dcを一時的に記憶する。
【0055】
ステップS5において、発光制御回路11は、第2LED2bを発光するように制御し、第2LED2bは被写体に向けて投光する。第2LED2bより発せられた光は、投光レンズ3によりビーム状に絞られ、被写体に投光される。被写体からの反射光は、受光レンズ4を介して、被写体までの距離に応じて第1PSD5a又は第2PSD5bの受光面の適宜位置に結像することになる。
【0056】
ステップS6において、第1演算回路21は、第1PSD5aから出力される受光電流Ia1及びIb1に基づいてIa1/(Ia1+Ib1)の値を算出し、マイコン30に出力する。マイコン30は、入力された値Ia1/(Ia1+Ib1)に基づいて被写体までの距離Db1を算出し、算出した距離Db1を一時的に記憶する。
【0057】
ステップS7において、第1受光量算出回路22は、第1PSD5aから出力される受光電流Ia1及びIb1に基づいてIa1+Ib1を算出し、算出した値Ia1+Ib1をマイコン30に出力する。マイコン30は、入力された値Ia1+Ib1に基づいて受光量Qb1を算出し、算出した受光量Qb1を一時的に記憶する。
【0058】
ステップS8において、発光制御回路11は、第2LED2bを再び発光するように制御し、第2LED2bは被写体に向けて投光する。
【0059】
ステップS9において、第2演算回路23は、第2PSD5bから出力される受光電流Ia2及びIb2に基づいてIa2/(Ia2+Ib2)の値を算出し、マイコン30に出力する。マイコン30は、入力された値Ia2/(Ia2+Ib2)に基づいて被写体までの距離Db2を算出し、算出した距離Db2を一時的に記憶する。
【0060】
ステップS10において、第2受光量算出回路24は、第2PSD5bから出力される受光電流Ia2及びIb2に基づいてIa2+Ib2を算出し、算出した値Ia2+Ib2をマイコン30に出力する。マイコン30は、入力された値Ia2+Ib2に基づいて受光量Qb2を算出し、算出した受光量Qb2を一時的に記憶する。
【0061】
ステップS11において、マイコン30は、ステップS7で算出された第1PSD5aにおける受光量Qb1が、ステップS10で算出された第2PSD5bにおける受光量Qb2よりも大きいか否かを判断する。ここで、受光量Qb1が受光量Qb2よりも大きいと判断された場合(ステップS11でYES)、ステップS12に移行し、受光量Qb1が受光量Qb2以下であると判断された場合(ステップS11でNO)、ステップS13に移行する。
【0062】
ステップS12において、マイコン30は、第1PSD5aを用いて算出された距離Db1を、第2LED2bを発光することによって得られる第2距離Dbとし、第2距離Dbを一時的に記憶する。
【0063】
ステップS13において、マイコン30は、第2PSD5bを用いて算出された距離Db2を、第2LED2bを発光することによって得られる第2距離Dbとし、第2距離Dbを一時的に記憶する。
【0064】
ステップS14において、マイコン30は、算出された第1距離Da、第2距離Db及び第3距離Dcのうちの最も近い距離を被写体までの真の距離としてセットする。マイコン30においてセットされた距離は、図1に示す全体制御部160に出力され、全体制御部160は、マイコン30から出力される距離に基づいてフォーカスレンズの駆動量を算出する。
【0065】
このように、被写体に対して測距光を投光する投光部10は、複数の投光素子である3つの第1LED2a、第2LED2b及び第3LED2cで構成されるため、測距ポイントが増すこととなり、測距誤差をなくすことができる。また、投光部10によって投光された測距光による被写体からの反射光を受光し、受光位置に応じた信号を出力する受光部20は、3つの第1LED2a、第2LED2b及び第3LED2cよりも少ない数の複数の受光素子である2つの第1PSD5a及び第2PSD5bで構成されるため、装置の小型化を実現することができる。
【0066】
また、3つの第1LED2a、第2LED2b及び第3LED2cのうちの少なくとも1の第2LED2bの測距光による結像位置は、被写体までの距離に応じて、第1PSD5a及び第2PSD5bにまたがって移動するので、投光素子であるLEDを増やして測距ポイントを増やした場合でも、1のLEDによる測距光を2のPSDによって共用することによって、PSDを増やす必要がなく、従来のようにLEDとPSDとを同数設ける必要がなくなり、装置の小型化を実現することができる。
【0067】
また、第1受光量算出回路22及び第2受光量算出回路24によって、第1PSD5a及び第2PSD5bが受光する受光量が算出され、第1演算回路21及び第2演算回路23によって、各PSD5a,5bによって出力される信号に基づいて第2LED2bに対応する被写体までの距離が算出され、マイコン30によって、各受光量算出回路22,24によって算出された受光量の多い受光素子で算出された距離が、第2LED2bに対応する距離に決定される。そのため、被写体からの反射光が2つの第1PSD5a及び第2PSD5bにまたがって結像される場合に、第1PSD5aが受光する受光量と第2PSD5bが受光する受光量とが比較され、受光量の多いPSDで算出された距離に決定されるので、第1LED2a、第2LED2b及び第3LED2cのうちの各LEDを発光させることによって測定される各LED毎の被写体までの正確な距離を測定することができる。
【0068】
さらに、マイコン30によって算出された各LED毎に対応する第1距離Da、第2距離Db及び第3距離Dcのうちの最も被写体までの距離が近いものが真の距離として決定されるため、被写体までの正確な距離を測定することができる。
【0069】
さらにまた、測距誤差が生じることなく小型化を実現することができる測距装置1を実現することができるので、上記のような測距装置1を備えたデジタルカメラ100の小型化を実現することができる。
【0070】
次に、本発明に係る測距装置の変形例について説明する。本実施の形態の変形例における測距装置では、5つの投光素子(LED)で被写体を投光し、3つの受光素子(PSD)で被写体による反射光を受光する。
【0071】
図8は、本実施の形態の変形例における測距装置の構成の一例を示す図である。図8に示す測距装置1’は、第1LED2a、第2LED2b、第3LED2c、第4LED2d、第5LED2e、投光レンズ3、受光レンズ4、第1PSD5a、第2PSD5b、第3PSD5c、第1演算回路21、第1受光量算出回路22、第2演算回路23、第2受光量算出回路24、発光制御回路11及びマイコン30で構成される。なお、投光部10’は、第1LED2a、第2LED2b、第3LED2c、第4LED2d及び第5LED2eで構成され、受光部20’は、第1PSD5a、第2PSD5b及び第3PSD5cで構成される。
【0072】
第1LED2aは、後述する発光制御回路11による制御信号に基づいて測距光を投光レンズ3に放射する。第2LED2bは、後述する発光制御回路11による制御信号に基づいて測距光を投光レンズ3に放射する。第3LED2cは、後述する発光制御回路11による制御信号に基づいて測距光を投光レンズ3に放射する。第4LED2dは、後述する発光制御回路11による制御信号に基づいて測距光を投光レンズ3に放射する。第5LED2eは、後述する発光制御回路11による制御信号に基づいて測距光を投光レンズ3に放射する。
【0073】
投光レンズ3は、第1LED2a、第2LED2b、第3LED2c、第4LED2d及び第5LED2eから発せられた測距光をビーム状に絞り、被写体に投光する。受光レンズ4は、被写体による反射光を第1PSD5a、第2PSD5b及び第3PSD5cの受光面上に結像させる。
【0074】
第1PSD5aは、第1LED2a、第2LED2b、第3LED2c、第4LED2d及び第5LED2eの基線長方向に配置され、結像位置に応じた受光電流Ia1及びIb1を両端に設けられた電極より後述する第1演算回路21及び第1受光量算出回路22に出力する。第2PSD5bは、第1LED2a、第2LED2b、第3LED2c、第4LED2d及び第5LED2eの基線長方向に配置され、結像位置に応じた受光電流Ia2及びIb2を両端に設けられた電極より後述する第2演算回路23及び第2受光量算出回路24に出力する。第3PSD5cは、第1LED2a、第2LED2b、第3LED2c、第4LED2d及び第5LED2eの基線長方向に配置され、結像位置に応じた受光電流Ia3及びIb3を両端に設けられた電極より後述する第1演算回路21及び第1受光量算出回路22に出力する。
【0075】
第1演算回路21は、第1PSD5aの両端に設けられた電極から出力される受光電流Ia1,Ib1が入力され、入力された受光電流Ia1,Ib1に基づいて、Ia1とIb1との比であるIa1/(Ia1+Ib1)を算出し、算出された値Ia1/(Ia1+Ib1)をマイコン30に出力する。また、第1演算回路21は、第3PSD5cの両端に設けられた電極から出力される受光電流Ia3,Ib3が入力され、入力された受光電流Ia3,Ib3に基づいて、Ia3と(Ia3+Ib3)との比であるIa3/(Ia3+Ib3)を算出し、算出された値Ia3/(Ia3+Ib3)をマイコン30に出力する。
【0076】
第1受光量算出回路22は、第1PSD5aの両端に設けられた電極から出力される受光電流Ia1,Ib1が入力され、入力された受光電流Ia1,Ib1に基づいて、第1PSD5aにおける総受光量Ia1+Ib1を算出し、算出された総受光量Ia1+Ib1をマイコン30に出力する。また、第1受光量算出回路22は、第3PSD5cの両端に設けられた電極から出力される受光電流Ia3,Ib3が入力され、入力された受光電流Ia3,Ib3に基づいて、第1PSD5aにおける総受光量Ia3+Ib3を算出し、算出された総受光量Ia3+Ib3をマイコン30に出力する。
【0077】
第2演算回路23は、第2PSD5bの両端に設けられた電極から出力される受光電流Ia2,Ib2が入力され、入力された受光電流Ia2,Ib2に基づいて、Ia2と(Ia2+Ib2)との比であるIa2/(Ia2+Ib2)を算出し、算出された値Ia2/(Ia2+Ib2)をマイコン30に出力する。
【0078】
第2受光量算出回路24は、第2PSD5bの両端に設けられた電極から出力される受光電流Ia2,Ib2が入力され、入力された受光電流Ia2,Ib2に基づいて、第2PSD5bにおける総受光量Ia2+Ib2を算出し、算出された総受光量Ia2+Ib2をマイコン30に出力する。
【0079】
発光制御回路11は、第1LED2a、第2LED2b、第3LED2c、第4LED2d及び第5LED2eの発光を制御するものであり、マイコン30から出力される制御信号に基づいて第1LED2a、第2LED2b、第3LED2c、第4LED2d及び第5LED2eの発光を制御する。
【0080】
マイコン30は、第1LED2aの発光を制御し、第1演算回路21によって得られる値Ia1/(Ia1+Ib1)に基づいて、被写体までの第1距離Daを算出する。また、マイコン30は、第2LED2bの発光を制御し、第1演算回路21又は第2演算回路23によって得られる値Ia1/(Ia1+Ib1)又は値Ia2/(Ia2+Ib2)に基づいて、被写体までの第2距離Dbを算出する。また、マイコン30は、第3LED2cの発光を制御し、第2演算回路23によって得られる値Ia2/(Ia2+Ib2)に基づいて、被写体までの第3距離Dcを算出する。また、マイコン30は、第4LED2dの発光を制御し、第1演算回路21又は第2演算回路23によって得られる値Ia3/(Ia3+Ib3)又は値Ia2/(Ia2+Ib2)に基づいて、被写体までの第4距離Ddを算出する。さらに、マイコン30は、第5LED2eの発光を制御し、第1演算回路21によって得られる値Ia3/(Ia3+Ib3)に基づいて、被写体までの第5距離Deを算出する。マイコン30は、算出された第1距離Da、第2距離Db、第3距離Dc、第4距離Dd及び第5距離Deのうちの最適な距離を被写体までの真の距離として決定する。
【0081】
図9は、被写体上でのLEDとPSDとのにらみ範囲を表す図である。本実施の形態では、第1LED2aと第1PSD5a、第2LED2bと第1PSD5a及び第2PSD5b、第3LED2cと第2PSD5b、第4LED2dと第2PSD5b及び第3PSD5c、第5LED2eと第3PSD5cの組み合わせで、3つのPSDによって測距ポイントを5つ確保している。また、第1PSD5a及び第3PSD5cの演算回路を共通化することで、演算回路の規模を縮小している。なお、第1PSD5a及び第2PSD5bの演算回路を共通化することはできない。なぜならば、第2LED2bを発光させた場合、第1PSD5aの出力と第2PSD5bの出力とを演算回路に独立して導くことができないためである。しかしながら、第1PSD5a及び第3PSD5cの演算回路は、第1LED2a〜第5LED2eを個別に発光させることで、演算回路が独立しているのと同等の効果が得られる。
【0082】
次に、本実施の形態の変形例における測距装置1’の動作について説明する。図10及び図11は、本実施の形態の変形例における測距装置1’の動作の一例について説明するためのフローチャートである。
【0083】
なお、図10に示すステップS101〜S104までの処理は、図7に示すステップS1〜S4までの処理と同じであるため、説明を省略し、ステップS105以降の処理について説明する。
【0084】
ステップS105において、発光制御回路11は、第5LED2eを発光するように制御し、第5LED2eは被写体に向けて投光する。第5LED2eより発せられた光は、投光レンズ3によりビーム状に絞られ、被写体に投光される。被写体からの反射光は、投光レンズ3の光軸L1と平行な光軸L2を有する受光レンズ4を介して、第3PSD5cの受光面の適宜位置に結像することになる。
【0085】
ステップS106において、第1演算回路21は、第3PSD5cから出力される受光電流Ia3及びIb3に基づいてIa3/(Ia3+Ib3)の値を算出し、マイコン30に出力する。マイコン30は、入力された値Ia3/(Ia3+Ib3)に基づいて被写体までの第5距離Deを算出し、算出した第5距離Deを一時的に記憶する。
【0086】
なお、図10に示すステップS107〜S115までの処理は、図7に示すステップS5〜S13までの処理と同じであるため、説明を省略し、ステップS116以降の処理について図11を用いて説明する。
【0087】
ステップS116において、発光制御回路11は、第4LED2dを発光するように制御し、第4LED2dは被写体に向けて投光する。第4LED2dより発せられた光は、投光レンズ3によりビーム状に絞られ、被写体に投光される。被写体からの反射光は、受光レンズ4を介して、被写体までの距離に応じて第2PSD5b又は第3PSD5cの受光面の適宜位置に結像することになる。
【0088】
ステップS117において、第1演算回路21は、第3PSD5cから出力される受光電流Ia3及びIb3に基づいてIa3/(Ia3+Ib3)の値を算出し、マイコン30に出力する。マイコン30は、入力された値Ia3/(Ia3+Ib3)に基づいて被写体までの距離Dd1を算出し、算出した距離Dd1を一時的に記憶する。
【0089】
ステップS118において、第1受光量算出回路22は、第3PSD5cから出力される受光電流Ia3及びIb3に基づいてIa3+Ib3を算出し、算出した値Ia3+Ib3をマイコン30に出力する。マイコン30は、入力された値Ia3+Ib3に基づいて受光量Qd1を算出し、算出した受光量Qd1を一時的に記憶する。
【0090】
ステップS119において、発光制御回路11は、第4LED2dを再び発光するように制御し、第4LED2dは被写体に向けて投光する。
【0091】
ステップS120において、第2演算回路23は、第2PSD5bから出力される受光電流Ia2及びIb2に基づいてIa2/(Ia2+Ib2)の値を算出し、マイコン30に出力する。マイコン30は、入力された値Ia2/(Ia2+Ib2)に基づいて被写体までの距離Dd2を算出し、算出した距離Dd2を一時的に記憶する。
【0092】
ステップS121において、第2受光量算出回路24は、第2PSD5bから出力される受光電流Ia2及びIb2に基づいてIa2+Ib2を算出し、算出した値Ia2+Ib2をマイコン30に出力する。マイコン30は、入力された値Ia2+Ib2に基づいて受光量Qd2を算出し、算出した受光量Qd2を一時的に記憶する。
【0093】
ステップS122において、マイコン30は、ステップS118で算出された第3PSD5cにおける受光量Qd1が、ステップS121で算出された第2PSD5bにおける受光量Qd2よりも大きいか否かを判断する。ここで、受光量Qd1が受光量Qd2よりも大きいと判断された場合(ステップS122でYES)、ステップS123に移行し、受光量Qd1が受光量Qd2以下であると判断された場合(ステップS122でNO)、ステップS124に移行する。
【0094】
ステップS123において、マイコン30は、第3PSD5cを用いて算出された距離Dd1を、第4LED2dを発光することによって得られる第4距離Ddとし、第4距離Ddを一時的に記憶する。
【0095】
ステップS124において、マイコン30は、第2PSD5bを用いて算出された距離Dd2を、第4LED2dを発光することによって得られる第4距離Ddとし、第4距離Ddを一時的に記憶する。
【0096】
ステップS125において、マイコン30は、算出された第1距離Da、第2距離Db、第3距離Dc、第4距離Dd及び第5距離Deのうちの最も近い距離を被写体までの真の距離としてセットする。マイコン30においてセットされた距離は、図1に示す全体制御部160に出力され、全体制御部160は、マイコン30から出力される距離に基づいてフォーカスレンズの駆動量を算出する。
【0097】
このように、被写体に対して測距光を投光する投光部10’は、複数の投光素子である5つの第1LED2a、第2LED2b、第3LED2c、第4LED2d及び第5LED2eで構成されるため、測距ポイントが増すこととなり、測距誤差をなくすことができる。また、投光部10’によって投光された測距光による被写体からの反射光を受光し、受光位置に応じた信号を出力する受光部20’は、5つの第1LED2a、第2LED2b、第3LED2c、第4LED2d及び第5LED2eよりも少ない数の複数の受光素子である3つの第1PSD5a、第2PSD5b及び第3PSD5cで構成されるため、装置の小型化を実現することができる。
【0098】
また、5つの第1LED2a、第2LED2b、第3LED2c、第4LED2d及び第5LED2eのうちの第2LED2bの測距光による結像位置は、被写体までの距離に応じて、第1PSD5a及び第2PSD5bにまたがって移動し、第4LED2dの測距光による結像位置は、被写体までの距離に応じて、第2PSD5b及び第3PSD5cにまたがって移動するので、投光素子であるLEDを増やして測距ポイントを増やした場合でも、1のLEDによる測距光を2のPSDによって共用することによって、PSDを増やす必要がなく、従来のようにLEDとPSDとを同数設ける必要がなくなり、装置の小型化を実現することができる。
【0099】
また、第1受光量算出回路22及び第2受光量算出回路24によって、第1PSD5a、第2PSD5b及び第3PSD5cが受光する受光量が算出され、第1演算回路21及び第2演算回路23によって、各PSD5a,5b,5cによって出力される信号に基づいて第2LED2bに対応する被写体までの距離が算出され、マイコン30によって、各受光量算出回路22,24によって算出された受光量の多い受光素子で算出された距離が、第2LED2b又は第4LED2dに対応する距離に決定される。そのため、被写体からの反射光が2つの第1PSD5a及び第2PSD5bにまたがって結像される場合や、被写体からの反射光が2つの第2PSD5b及び第3PSD5cにまたがって結像される場合に、第1PSD5aが受光する受光量と第2PSD5bが受光する受光量とが比較され、受光量の多いPSDで算出された距離に決定され、第2PSD5bが受光する受光量と第3PSD5cが受光する受光量とが比較され、受光量の多いPSDで算出された距離に決定されるので、第1LED2a、第2LED2b、第3LED2c、第4LED2d及び第5LED2eのうちの各LEDを発光させることによって測定される各LED毎の被写体までの正確な距離を測定することができる。
【0100】
さらに、マイコン30によって算出された各LED毎に対応する第1距離Da、第2距離Db、第3距離Dc、第4距離Dd及び第5距離Deのうちの最も被写体までの距離が近いものが真の距離として決定されるため、被写体までの正確な距離を測定することができる。
【0101】
さらにまた、測距誤差が生じることなく小型化を実現することができる測距装置1’を実現することができるので、上記のような測距装置1’を備えたデジタルカメラ100の小型化を実現することができる。
【0102】
なお、本実施の形態では、第2LED2bを発光し、第1PSD5aによる出力で距離Db1と受光量Qb1とを算出した後、再び、第2LED2bを発光し、第2PSD5bによる出力で距離Db2と受光量Qb2とを算出し、受光量Qb1と受光量Qb2とを比較し、受光量Qb1及び受光量Qb2のうちの受光量の多いほうのPSDで算出された距離を第2LED2bを発光することによって得られる第2距離Dbとした。しかしながら、本発明は特にこれに限定されず、第2LED2bを発光し、第2PSD5bによる出力で受光量Qb2を算出し、あらかじめ設定されている所定値と受光量Qb2とを比較し、受光量Qb2が所定値以上ならば、第2PSD5bによる出力で第2距離Dbを算出し、受光量Qb2が所定値より小さいならば、再び、第2LED2bを発光し、第1PSD5aによる出力で第2距離Dbを算出してもよい。この場合、第1受光量算出回路22が不要となり回路構成を簡略化することができる。なお、第2LED2bを発光し、第1PSD5aによる出力で受光量Qb1を算出し、あらかじめ設定されている所定値と受光量Qb1とを比較してもよい。
【0103】
同様に、本実施の形態の変形例において、第4LED2dを発光し、第2PSD5bによる出力で受光量Qd2を算出し、あらかじめ設定されている所定値と受光量Qd2とを比較し、受光量Qd2が所定値以上ならば、第2PSD5bによる出力で第4距離Ddを算出し、受光量Qd2が所定値より小さいならば、再び、第4LED2dを発光し、第1PSD5aによる出力で第4距離Ddを算出してもよい。この場合、第1受光量算出回路22が不要となり回路構成を簡略化することができる。なお、第4LED2dを発光し、第1PSD5aによる出力で受光量Qd1を算出し、あらかじめ設定されている所定値と受光量Qd1とを比較してもよい。
【0104】
また、本実施の形態では、第1受光量算出回路22は、第1PSD5aの両端電極より出力される受光電流Ia1,Ib1の和Ia1+Ib1を受光量として算出しているが、本発明は特にこれに限定されず、例えば、第1受光量算出回路22は、第1PSD5aの両端電極より出力される受光電流Ia1及びIb1のうちのいずれか一方を受光量として算出してもよい。また、第1受光量算出回路22は、第1PSD5aの両端電極より出力される受光電流Ia1及びIb1のmax(Ia1,Ib1)を受光量として算出してもよい。この場合、上記と同様の効果を奏することができる。なお、第2PSD5b及び第3PSD5cの両端電極より出力される受光電流Ia2,Ib2,Ia3,Ib3についても同様である。
【0105】
また、本実施の形態では、デジタルカメラに用いられる測距装置として説明したが、本発明は特にこれに限定されず、例えば、一眼レフカメラやコンパクトカメラ等の他のカメラや他の撮像装置に上記の測距装置を用いてもよい。
【0106】
なお、上述した具体的実施形態には以下の構成を有する発明が主に含まれている。
(1)被写体に対して測距光を投光する投光手段と、前記投光手段によって投光された測距光による被写体からの反射光を受光し、受光位置に応じた信号を出力する受光手段とを備え、前記投光手段は複数の投光素子で構成され、前記受光手段は前記投光素子よりも少ない数の複数の受光素子で構成されることを特徴とする測距装置。
(2)前記複数の投光素子のうちの少なくとも1の投光素子の測距光は、被写体までの距離に応じて、前記複数の受光素子のうちの少なくとも2の受光素子にまたがって結像位置が移動することを特徴とする上記(1)記載の測距装置。
(3)前記複数の受光素子が受光する受光量を算出する複数の受光量算出手段と、前記複数の受光素子によって出力される信号に基づいて、各投光素子毎に対応する前記被写体までの距離を算出する複数の距離算出手段と、前記複数の投光素子のうちの少なくとも1の投光素子を発光させ、前記被写体からの反射光を前記複数の受光素子のうちの少なくとも2の受光素子で受光し、前記受光量算出手段によって算出された受光量の多い受光素子で算出された距離を前記複数の投光素子のうちの少なくとも1の投光素子に対応する距離に決定する距離決定手段とをさらに備えることを特徴とする上記(1)又は(2)記載の測距装置。
(4)前記距離決定手段は、前記距離算出手段によって算出された各投光素子毎に対応する距離のうちの最も被写体までの距離が近いものを真の距離として決定することを特徴とする上記(3)記載の測距装置。
(5)前記投光手段は、基線長方向に配置された第1の投光素子、第2の投光素子及び第3の投光素子を含み、前記受光手段は、基線長方向に配置された第1の受光素子及び第2の受光素子を含み、前記距離算出手段は、第2の投光素子を発光させ、前記被写体からの反射光を第1の受光素子及び第2の受光素子で受光し、受光量の多いほうの受光素子で距離を測定することを特徴とする上記(1)記載の測距装置。
(6)前記投光手段は、基線長方向に配置された第1の投光素子、第2の投光素子及び第3の投光素子を含み、前記受光手段は、基線長方向に配置された第1の受光素子及び第2の受光素子を含み、前記距離算出手段は、第1の投光素子を発光させ、前記被写体からの反射光を第1の受光素子で受光して第1の距離を算出する第1の距離算出手段と、第3の投光素子を発光させ、前記被写体からの反射光を第2の受光素子で受光して第2の距離を算出する第2の距離算出手段と、第2の投光素子を発光させ、前記被写体からの反射光を第1の受光素子及び第2の受光素子で受光し、第1の受光素子及び第2の受光素子のうちの総受光量の多いほうの受光素子で第3の距離を算出する第3の距離算出手段とを含み、前記距離決定手段は、前記第1の距離、前記第2の距離及び前記第3の距離のうちの最も近距離である距離を前記被写体との真の距離として決定することを特徴とする上記(1)〜(3)のいずれかに記載の測距装置。
(7)被写体までの距離を測定する測距手段と、被写体に対するピント合わせを行うフォーカスレンズと、前記測距手段によって測定された被写体までの距離に基づいて前記フォーカスレンズを駆動するフォーカスレンズ駆動手段とを備えたカメラであって、前記測距手段は、上記(1)〜(6)のいずれかに記載の測距装置で構成されることを特徴とするカメラ。
【0107】
【発明の効果】
請求項1に記載の発明によれば、被写体に対して測距光を投光する投光手段は、複数の投光素子で構成されるため、測距ポイントが増すこととなり、測距誤差をなくすことができる。また、投光手段によって投光された測距光による被写体からの反射光を受光し、受光位置に応じた信号を出力する受光手段は、投光素子よりも少ない数の複数の受光素子で構成されるため、装置の小型化を実現することができる。
【0108】
請求項2に記載の発明によれば、複数の投光素子のうちの少なくとも1の投光素子の測距光による結像位置は、被写体までの距離に応じて、複数の受光素子のうちの少なくとも2の受光素子にまたがって移動するので、投光素子を増やして測距ポイントを増やした場合でも、1の投光素子による測距光を2の受光素子によって共用することによって、受光素子を増やす必要がなく、従来のように投光素子と受光素子とを同数設ける必要がなくなり、装置の小型化を実現することができる。
【0109】
請求項3に記載の発明によれば、複数の受光量算出手段によって、各受光素子が受光する受光量が算出され、複数の距離算出手段によって、各受光素子によって出力される信号に基づいて、各投光素子毎に対応する被写体までの距離が算出され、距離決定手段によって、複数の投光素子のうちの少なくとも1の投光素子を発光させ、被写体からの反射光を複数の受光素子のうちの少なくとも2の受光素子で受光し、受光量算出手段によって算出された受光量の多い受光素子で算出された距離が、複数の投光素子のうちの少なくとも1の投光素子に対応する距離に決定されるため、複数の投光素子のうちの各投光素子を発光させることによって測定される各投光素子毎の被写体までの正確な距離を測定することができる。
【0110】
請求項4に記載の発明によれば、距離決定手段によって、距離算出手段によって算出された各投光素子毎に対応する距離のうちの最も被写体までの距離が近いものが真の距離として決定されるため、被写体までの正確な距離を測定することができる。
【0111】
請求項5に記載の発明によれば、測距誤差が生じることなく小型化を実現することができる測距装置を実現することができるので、測距装置を備えたカメラの小型化を実現することができる。
【図面の簡単な説明】
【図1】本発明に係る測距装置を用いたデジタルカメラ(撮像装置)の構成を示すブロック図である。
【図2】アクティブ方式の測距装置の測距原理について説明するための図である。
【図3】被写体までの距離に応じて変化する結像位置について説明するための図である。
【図4】LEDとPSDが一対一に対応する場合の被写体までの距離とPSDの出力との関係を示す図である。
【図5】LEDによる反射光が2つのPSDにまたがって結像される場合の被写体までの距離とPSDの出力との関係を示す図である。
【図6】本実施の形態における測距装置の構成の一例を示す図である。
【図7】本実施の形態における測距装置の動作の一例について説明するためのフローチャートである。
【図8】本実施の形態の変形例における測距装置の構成の一例を示す図である。
【図9】被写体上でのLEDとPSDとのにらみ範囲を表す図である。
【図10】本実施の形態の変形例における測距装置の動作の一例について説明するためのフローチャートである。
【図11】本実施の形態の変形例における測距装置の動作の一例について説明するためのフローチャートである。
【符号の説明】
1 測距装置
2a 第1LED(投光素子)
2b 第2LED(投光素子)
2c 第3LED(投光素子)
2d 第4LED(投光素子)
2e 第5LED(投光素子)
3 投光レンズ
4 受光レンズ
5a 第1PSD(受光素子)
5b 第2PSD(受光素子)
5c 第3PSD(受光素子)
10 投光部(投光手段)
11 発光制御回路
20 受光部(受光手段)
21 第1演算回路(距離算出手段)
22 第1受光量算出回路(受光量算出手段)
23 第2演算回路(距離算出手段)
24 第2受光量算出回路(受光量算出手段)
30 マイコン(距離算出手段)(距離決定手段)
100 デジタルカメラ(カメラ)
110 撮像光学系
112 フォーカスレンズ
130 フォーカスレンズ駆動部(フォーカスレンズ駆動手段)
160 全体制御部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a distance measuring device for measuring a distance to a subject and a camera using the same.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, automatic focusing of a camera or the like has been performed by measuring a distance from a camera to a subject by a distance measuring device, and moving a focus lens to a focused position based on a measurement result. As an example of such a distance measuring device, light from an LED (Light Emitting Diode) is projected onto a subject, the reflected light is received as a light spot by a PSD (Position Sensitive Device), and the reflected light is located at the spot position of the reflected light. 2. Description of the Related Art An active distance measuring device that measures a distance to a subject based on the principle of triangulation based on triangulation is known (for example, see Patent Document 1). In such an active distance measuring apparatus, usually, LEDs and PSDs are arranged one-to-one.
[0003]
[Patent Document 1]
JP-A-7-13069
[0004]
[Problems to be solved by the invention]
When the distance measuring device is mounted on a camera or the like, the distance between a plurality of distance measuring points can be measured as the number of pairs of the LED and the PSD increases. In other words, by increasing the number of the sets, the so-called vignetting phenomenon, in which a part of the light beam projected from the LED passes through the background or the like without being projected onto the main subject, is reduced. The distance measurement error that the center of gravity of the reflected light shifts can be reduced.
[0005]
However, if it is attempted to increase the number of distance measurement points in order to reliably perform distance measurement, as described above, the LED and the PSD increase in pairs, and it is difficult to cope with miniaturization required in recent years. .
[0006]
SUMMARY An advantage of some aspects of the invention is to provide a distance measuring apparatus capable of realizing miniaturization without causing a distance measurement error and a camera using the same. Things.
[0007]
[Means for Solving the Problems]
A distance measuring device according to the present invention includes: a light projecting unit for projecting distance measuring light to a subject; and receiving reflected light from the subject by the distance measuring light projected by the light projecting unit; Light receiving means for outputting a corresponding signal, wherein the light projecting means is constituted by a plurality of light projecting elements, and the light receiving means is constituted by a plurality of light receiving elements smaller in number than the light projecting elements.
[0008]
According to this configuration, since the light projecting means for projecting the distance measuring light to the subject is composed of a plurality of light projecting elements, the number of distance measuring points increases, and a distance measuring error can be eliminated. The light receiving means for receiving the reflected light from the subject by the distance measuring light projected by the light emitting means and outputting a signal corresponding to the light receiving position is constituted by a plurality of light receiving elements smaller in number than the light emitting elements. Therefore, the size of the device can be reduced.
[0009]
Further, in the distance measuring device, the distance measuring light of at least one of the plurality of light emitting elements receives light of at least two of the plurality of light receiving elements in accordance with a distance to a subject. Preferably, the imaging position moves across the elements.
[0010]
According to this configuration, the imaging position of at least one of the plurality of light emitting elements by the distance measurement light is determined by at least two of the plurality of light receiving elements in accordance with the distance to the subject. Therefore, even if the number of light projecting elements is increased and the number of distance measuring points is increased, the distance measuring light by one light projecting element is shared by the two light receiving elements, so that it is not necessary to increase the number of light receiving elements. It is not necessary to provide the same number of light-emitting elements and light-receiving elements as in the related art, and it is possible to reduce the size of the device.
[0011]
Further, in the distance measuring apparatus, a plurality of light receiving amount calculating means for calculating a light receiving amount received by the plurality of light receiving elements, and a light receiving element for each light emitting element based on a signal output by the plurality of light receiving elements. A plurality of distance calculating means for calculating a distance to the corresponding subject; and causing at least one of the plurality of light emitting elements to emit light, and reflecting light from the subject among the plurality of light receiving elements. A distance corresponding to at least one of the plurality of light emitting elements, wherein the distance calculated by the light receiving element having a large light receiving amount calculated by the light receiving amount calculating means is received by at least two light receiving elements. It is preferable to further comprise a distance determining means for determining the distance.
[0012]
According to this configuration, the amount of light received by each of the light receiving elements is calculated by the plurality of light receiving amount calculating means, and each of the light projecting elements is calculated by the plurality of distance calculating means based on the signal output by each light receiving element. Is calculated, and at least one of the plurality of light emitting elements emits light by the distance determining means, and reflected light from the object is reflected by at least two of the plurality of light receiving elements. Since the distance calculated by the light receiving element receiving the light by the light receiving element and calculating the light receiving amount by the light receiving amount calculating means is determined as the distance corresponding to at least one of the plurality of light emitting elements. In addition, it is possible to measure an accurate distance to a subject for each light emitting element, which is measured by causing each light emitting element of the plurality of light emitting elements to emit light.
[0013]
In the above distance measuring device, the distance determining means determines, as a true distance, a distance closest to the subject among distances corresponding to each light emitting element calculated by the distance calculating means. Is preferred.
[0014]
According to this configuration, of the distances corresponding to each light emitting element calculated by the distance calculation means, the distance closest to the subject is determined as the true distance by the distance determination means. The exact distance can be measured.
[0015]
The camera according to the present invention may further include a distance measuring unit that measures a distance to the subject, a focus lens that focuses on the subject, and the focus lens based on the distance to the subject measured by the distance measuring unit. A focus lens driving means for driving the camera, wherein the distance measuring means comprises the distance measuring device according to any one of claims 1 to 4.
[0016]
According to this configuration, it is possible to realize a distance measuring device capable of realizing miniaturization without causing a distance measuring error, and thus to miniaturize a camera including the distance measuring device.
[0017]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments according to the present invention will be described with reference to the drawings. In each drawing, the same components are denoted by the same reference numerals, and description thereof will be omitted.
[0018]
FIG. 1 is a block diagram showing a configuration of a digital camera (imaging device) using a distance measuring device according to the present invention. The digital camera 100 includes a distance measuring device 1, an imaging optical system 110, an imaging unit 120, a focus lens driving unit 130, a signal processing unit 140, a storage unit 150, an overall control unit 160, a display unit 170, a recording unit 180, and an operation unit 190. It consists of.
[0019]
The distance measuring device 1 measures the distance from the digital camera 1 to the subject, and outputs the measured distance to the subject to the overall control unit. The distance measuring device 1 will be described later in detail.
[0020]
The imaging optical system 110 includes a zoom lens 111 and a focus lens 112. The zoom lens 111 performs a zooming operation by moving in the direction of the optical axis L, and performs a zooming operation of enlarging or reducing the subject image of the subject. The focus lens 112 moves in the direction of the optical axis L to perform a focusing operation, and focuses on a subject.
[0021]
The imaging unit 120 includes a two-dimensional solid-state imaging device such as a CCD or a C-MOS sensor, and a driving circuit for driving the imaging device. The solid-state imaging device is arranged so that the center thereof coincides with the optical axis L of the imaging optical system 110 at a reference position (the position of the imaging optical system 110 when camera shake correction or the like is not performed).
[0022]
When the automatic focusing mode (AF mode) is selected, the focus lens driving unit 130 constantly moves the subject on the image sensor of the imaging unit 120 based on the movement amount of the focus lens output from the overall control unit 160. The drive of the focus lens 112 is controlled so as to focus the image.
[0023]
The signal processing unit 140 includes an A / D converter for converting an analog electric signal output from the imaging device of the imaging unit 120 into a digital signal, white balance adjustment of A / D converted image data, γ correction, JPEG And other predetermined processing such as compression / expansion processing. The signal processing unit 140 is connected to a storage unit 150 including a RAM for temporarily storing image data and the like from the imaging unit 120.
[0024]
An overall control unit 160 controls the entire digital camera 100, and outputs image data to a focus lens driving unit 130, a display unit 170 including a display element such as an LCD, and a recording medium such as a memory card or a video tape. The digital camera 100 includes a recording unit 180 for recording, a zoom switch (not shown) provided outside the housing of the digital camera 100, a shutter release switch (not shown), a mode selection switch (not shown), and the like. The operation unit 190 is connected. The overall control unit 160 calculates the amount of movement of the focus lens based on the distance to the subject output from the distance measuring device 1 and outputs the calculated amount of movement to the focus lens driving unit 130.
[0025]
The display unit 170 includes the above-described display element and its driving circuit, and can be used as an electronic viewfinder of the digital camera 1 and also monitors a reproduction of image data recorded on a recording medium. Used as When the display unit 170 is used as a viewfinder, the imaging unit 120 captures image data at predetermined intervals, for example, every 1/30 second, and updates the image displayed on the display unit 170.
[0026]
The recording unit 180 can use various recording media and recording devices according to purposes. In the present embodiment, a memory card or the like capable of recording a still image or a short-time moving image is used as the recording medium. The captured image is recorded using the card recorder. As a recording medium, a fixed recording device such as a hard disk device can be used.
[0027]
Next, the distance measuring device 1 according to the present invention will be described in detail.
[0028]
First, prior to the description of the distance measuring apparatus according to the present invention, the principle of distance measurement of a general active type distance measuring apparatus will be described.
[0029]
FIG. 2 is a diagram for explaining the principle of distance measurement of an active distance measuring device. In the distance measuring apparatus 101 shown in FIG. 2, the light emitted from the LED 2 is narrowed down into a beam by the light projecting lens 3 having the same optical axis L1 as the LED 2, and is projected on the subject 60. The reflected light from the subject 60 passes through a light receiving lens 4 having an optical axis L2 parallel to the optical axis L1 of the light projecting lens 3, and the optical axis L2 and the center O thereof are positioned substantially on the focal length of the light receiving lens 4. An image is formed at an appropriate position P on the light receiving surface of the PSD 5 arranged so as to be coincident with and orthogonal to the optical axis L2. At this time, the received light currents flowing through the two electrodes A and B of the PSD 5 are Ia and Ib, the current generated in accordance with the intensity of the reflected light is I0, and the current from the center point O of the light receiving surface of the PSD 5 to the image forming position P is shown. Assuming that the length is x, the effective resistance length of PSD5 (length of PSD5) is m, and the resistance values from the imaging position P to the electrodes A and B are Ra and Rb, the received light current Ia is expressed by the following equation (1). The light receiving current Ib is expressed by the following equation (2).
Ia = Rb / (Ra + Rb) × I0 (1)
Ib = Ra / (Ra + Rb) × I0 (2)
On the other hand, as is well known, the PSD has a uniform resistivity distribution over the length m. Therefore, the resistance values Ra and Rb are proportional to the distance from the imaging position P to the electrodes A and B, and can be expressed by using the lengths x and m, and the expressions (1) and (2) are used. Can be represented by the following equations (3) and (4).
Ia = (m / 2 + x) / m × I0 (3)
Ib = (m / 2−x) / m × I0 (4)
In the above formulas (3) and (4), since I0 is an unknown value proportional to the intensity of the reflected light at the image forming position P, I0 is one of the formulas (3) and (4). It is not possible to solve the unknown x only by one of them. Therefore, usually, in order to eliminate the influence of I0, an unknown x is obtained by obtaining a ratio K between Ia and (Ia + Ib) expressed by the following equation (5) using the relationship of I0 = Ia + Ib.
K = Ia / (Ia + Ib) = (1/2 + x / m) (5)
As a result, the above x can be obtained by measuring the light receiving currents Ia and Ib output from the electrodes A and B.
[0030]
Here, the distance from the light projecting lens 3 to the subject 60 is D, the focal length of the light receiving lens 4 is f (usually, PSD is arranged near the focal length of the light receiving lens), the light projecting lens 3 and the light receiving lens. Assuming that the distance (base line length) between the optical axes L1 and L2 is BL, and that the object on which reflected light is imaged at the center point O of the light receiving surface on the PSD 5 is an infinitely distant object, triangulation Thus, a relational expression expressed by the following expression (6) is established.
BL / D = x / f (6)
D in the above equation (6) is expressed by the following equation (7).
D = BL × f / x (7)
Therefore, by determining the ratio K (= Ia / (Ia + Ib)) between Ia and (Ia + Ib), the length x from the center point O of the light receiving surface of the PSD 5 to the image forming position P can be determined. Is substituted into the above equation (7), the distance D to the subject 60 can be obtained.
[0031]
Particularly, when the distance D is a short distance, the length m of the PSD needs to be (BL × f) / D or more from the base line length BL and the focal length f according to the above equation (7). In addition, as the product (BL × f) of the base line length BL and the focal length f increases, the amount of change in the length x increases, the measurement accuracy of Ia and Ib increases, and the resolution of the distance D increases. For this reason, in order to enhance the distance measurement performance, it is preferable to increase BL × f, that is, to increase the length m of the PSD.
[0032]
Next, an embodiment of the distance measuring apparatus according to the present invention will be described. In the distance measuring apparatus according to the present embodiment, an object is projected by three light emitting elements (for example, LEDs), and reflected light from the object is received by two light receiving elements (for example, PSD).
[0033]
In the present embodiment, the imaging position of the reflected light from the subject moves across a plurality of light receiving elements according to the distance to the subject. FIG. 3 is a diagram for explaining an imaging position that changes according to the distance to the subject. In FIG. 3, the distance from the farthest object 61 to the light projecting lens 3 is defined as a distance D1, the distance from the next farthest object 62 to the light projecting lens 3 is defined as a distance D2, The distance from a certain subject 63 to the light projecting lens 3 is defined as a distance D3 (D1>D2> D3). In FIG. 3, the distance D1 is set to infinity. In addition, the first PSD 5a and the second PSD 5b are disposed substantially close to each other.
[0034]
When the distance D1 is measured using the first LED 2a, the light emitted from the first LED 2a is narrowed down into a beam by the light projecting lens 3 and is projected on the subject 61. Light reflected by the subject 61 passes through a light receiving lens 4 having an optical axis L2 parallel to the optical axis L1 of the light projecting lens 3 and at an appropriate position on a light receiving surface of the first PSD 5a arranged orthogonal to the optical axis L2. It will form an image. Similarly, when measuring the distance D2 or the distance D3 using the first LED 2a, the light emitted from the first LED 2a is narrowed down into a beam by the light projecting lens 3, and is projected on the subject 62 or 63, and Alternatively, the reflected light from the subject 63 forms an image at an appropriate position on the light receiving surface of the first PSD 5a via the light receiving lens 4. That is, the imaging position of the reflected light of the first LED 2a moves on the first PSD 5a over the distances D1 to D3.
[0035]
When the distance D1 is measured using the third LED 2c, the light emitted from the third LED 2c is narrowed down into a beam by the light projecting lens 3 and is projected on the subject 61. The light reflected by the subject 61 forms an image at an appropriate position on the light receiving surface of the second PSD 5b via the light receiving lens 4. Similarly, when measuring the distance D2 or the distance D3 using the third LED 2c, the light emitted from the third LED 2c is narrowed down into a beam by the light projecting lens 3, and is projected on the subject 62 or 63, and Alternatively, the light reflected by the subject 63 forms an image at an appropriate position on the light receiving surface of the second PSD 5b via the light receiving lens 4. That is, the imaging position of the reflected light of the third LED 2c moves on the second PSD 5b over the distances D1 to D3.
[0036]
When the distance D1 is measured using the second LED 2b, the light emitted from the second LED 2b is narrowed down into a beam by the light projecting lens 3 and is projected on the subject 61. The light reflected by the subject 61 forms an image at an appropriate position on the light receiving surface of the second PSD 5b via the light receiving lens 4. When the distance D2 is measured using the second LED 2b, the light emitted from the second LED 2b is narrowed down into a beam by the light projecting lens 3 and projected on the subject 62, and the reflected light from the subject 62 is reflected on the light receiving lens. 4, an image is formed at an appropriate position on the light receiving surface of the second PSD 5b. When the distance D3 is measured using the second LED 2b, the light emitted from the second LED 2b is narrowed down into a beam by the light projecting lens 3 and projected on the subject 63, and the reflected light from the subject 63 is reflected on the light receiving lens. 4, an image is formed at an appropriate position on the light receiving surface of the first PSD 5a. That is, the imaging position of the reflected light of the second LED 2b moves on the second PSD 5b over the distances D1 to D2, and moves on the first PSD 5a over the distances D2 to D3.
[0037]
FIG. 4 is a diagram showing the relationship between the distance to the subject and the output of the PSD when the LED and the PSD correspond one-to-one, with the vertical axis representing the output Ia / (Ia + Ib) based on the light receiving currents Ia and Ib of the PSD. And the horizontal axis represents the distance 1 / D to the subject. As shown in FIG. 3, when the LED and the PSD correspond one-to-one, the relationship between the distance to the subject and the output based on the light receiving currents Ia and Ib of the PSD is proportional, and a constant output is obtained over the distances D1 to D3. Can be This relationship also applies to the case where the first LED 2a emits light and the case where the third LED 2b emits light. When the first LED 2a emits light, the light receiving current Ia of the first PSD 5a 1 , Ib 1 Output Ia based on 1 / (Ia 1 + Ib 1 ) And the distance 1 / D to the subject have a proportional relationship as shown in FIG. 4, and a constant output is obtained over the distances D1 to D3. Similarly, when the third LED 2c emits light, the light receiving current Ia of the second PSD 5b Two , Ib Two Output Ia based on Two / (Ia Two + Ib Two ) And the distance 1 / D to the subject have a proportional relationship as shown in FIG. 4, and a constant output is obtained over the distances D1 to D3.
[0038]
FIG. 5 is a diagram showing the relationship between the distance to the subject and the output of the PSD when the light reflected by the LED is imaged over two PSDs, and the vertical axis is based on the light receiving currents Ia and Ib of the PSD. The output Ia / (Ia + Ib) is represented, and the horizontal axis represents the distance 1 / D to the subject. As shown in FIG. 5, when the second LED 2b is caused to emit light, the image formation position of the reflected light from the subject moves from the first PSD 5a to the second PSD 5b, so that outputs from the two PSDs are obtained at the boundary of the distance D2. , Each having a distance D2 as a boundary and having a relationship proportional to 1 / D. That is, from the distance D1 to the distance D2, the light receiving current Ia of the second PSD 5b Two , Ib Two From the distance D2 to the distance D3, the light receiving current Ia of the first PSD 5a is obtained. 1 , Ib 1 Is obtained.
[0039]
In this manner, the PSD to be received changes according to the LED to emit light. In particular, when the second LED 2b is caused to emit light, the PSD is received by either the first PSD 5a or the second PSD 5b depending on the distance to the subject. Light is received over two PSDs, the first PSD 5a and the second PSD 5b.
[0040]
FIG. 6 is a diagram illustrating an example of the configuration of the distance measuring apparatus according to the present embodiment. The distance measuring device 1 shown in FIG. 6 includes a first LED 2a, a second LED 2b, a third LED 2c, a light projecting lens 3, a light receiving lens 4, a first PSD 5a, a second PSD 5b, a first arithmetic circuit 21, a first light receiving amount calculating circuit 22, and a second It comprises an arithmetic circuit 23, a second light receiving amount calculation circuit 24, a light emission control circuit 11, and a microcomputer 30. The light projecting unit 10 includes a first LED 2a, a second LED 2b, and a third LED 2c, and the light receiving unit 20 includes a first PSD 5a and a second PSD 5b.
[0041]
The first LED 2a emits distance measuring light to the light projecting lens 3 based on a control signal from a light emission control circuit 11 described later. The second LED 2b emits distance measuring light to the light projecting lens 3 based on a control signal from a light emission control circuit 11 described later. The third LED 2c emits distance measuring light to the light projecting lens 3 based on a control signal from a light emission control circuit 11 described later.
[0042]
The light projecting lens 3 narrows down the distance measuring light emitted from the first LED 2a, the second LED 2b, and the third LED 2c into a beam, and emits the light to a subject. The light receiving lens 4 forms an image of the light reflected by the subject on the light receiving surface of the first PSD 5a or the second PSD 5b.
[0043]
The first PSD 5a is arranged in the base line length direction of the first LED 2a, the second LED 2b, and the third LED 2c, and receives a light-receiving current Ia according to an imaging position. 1 And Ib 1 Is output from the electrodes provided at both ends to a first arithmetic circuit 21 and a first received light amount calculation circuit 22 described later. The second PSD 5b is arranged in the base line length direction of the first LED 2a, the second LED 2b, and the third LED 2c, and receives the light-receiving current Ia according to the imaging position. Two And Ib Two Is output from the electrodes provided at both ends to a second arithmetic circuit 23 and a second received light amount calculation circuit 24 described later.
[0044]
The first arithmetic circuit 21 receives a light-receiving current Ia output from electrodes provided at both ends of the first PSD 5a. 1 , Ib 1 Is input, and the input light-receiving current Ia 1 , Ib 1 Based on Ia 1 And (Ia 1 + Ib 1 Ia 1 / (Ia 1 + Ib 1 ), And the calculated value Ia 1 / (Ia 1 + Ib 1 ) Is output to the microcomputer 30.
[0045]
The first light reception amount calculation circuit 22 receives a light reception current Ia output from electrodes provided at both ends of the first PSD 5a. 1 , Ib 1 Is input, and the input light-receiving current Ia 1 , Ib 1 , The total amount of received light Ia in the first PSD 5a 1 + Ib 1 And the calculated total received light amount Ia 1 + Ib 1 Is output to the microcomputer 30.
[0046]
The second arithmetic circuit 23 receives a light-receiving current Ia output from electrodes provided at both ends of the second PSD 5b. Two , Ib Two Is input, and the input light-receiving current Ia Two , Ib Two Based on Ia Two And (Ia Two + Ib Two Ia Two / (Ia Two + Ib Two ), And the calculated value Ia Two / (Ia Two + Ib Two ) Is output to the microcomputer 30.
[0047]
The second light reception amount calculation circuit 24 receives the light reception current Ia output from the electrodes provided at both ends of the second PSD 5b. Two , Ib Two Is input, and the input light-receiving current Ia Two , Ib Two , The total amount of received light Ia in the second PSD 5b Two + Ib Two And the calculated total received light amount Ia Two + Ib Two Is output to the microcomputer 30.
[0048]
The light emission control circuit 11 controls the light emission of the first LED 2a, the second LED 2b, and the third LED 2c, and controls the light emission of the first LED 2a, the second LED 2b, and the third LED 2c based on a control signal output from the microcomputer 30.
[0049]
The microcomputer 30 controls the light emission of the first LED 2 a and obtains the value Ia obtained by the first arithmetic circuit 21. 1 / (Ia 1 + Ib 1 ), The first distance Da to the subject is calculated. Further, the microcomputer 30 controls the light emission of the second LED 2b and obtains the value Ia obtained by the first arithmetic circuit 21 or the second arithmetic circuit 23. 1 / (Ia 1 + Ib 1 ) Or the value Ia Two / (Ia Two + Ib Two ), The second distance Db to the subject is calculated. Further, the microcomputer 30 controls the light emission of the third LED 2 c and outputs the value Ia obtained by the second arithmetic circuit 23. Two / (Ia Two + Ib Two ), The third distance Dc to the subject is calculated. The microcomputer 30 determines an optimal distance among the calculated first distance Da, second distance Db, and third distance Dc as a true distance to the subject.
[0050]
Next, an operation of the distance measuring apparatus 1 according to the present embodiment will be described. FIG. 7 is a flowchart for describing an example of the operation of distance measuring apparatus 1 in the present embodiment.
[0051]
In step S1, the light emission control circuit 11 controls the first LED 2a to emit light, and the first LED 2a emits light toward the subject. The light emitted from the first LED 2a is converged into a beam by the light projecting lens 3 and is projected on the subject. The reflected light from the subject forms an image at an appropriate position on the light receiving surface of the first PSD 5a via the light receiving lens 4 having the optical axis L2 parallel to the optical axis L1 of the light projecting lens 3.
[0052]
In step S2, the first arithmetic circuit 21 determines the light receiving current Ia output from the first PSD 5a. 1 And Ib 1 Based on Ia 1 / (Ia 1 + Ib 1 ) Is calculated and output to the microcomputer 30. The microcomputer 30 calculates the input value Ia 1 / (Ia 1 + Ib 1 ), The first distance Da to the subject is calculated, and the calculated first distance Da is temporarily stored.
[0053]
In step S3, the light emission control circuit 11 controls the third LED 2c to emit light, and the third LED 2c emits light toward the subject. The light emitted from the third LED 2c is converged into a beam by the light projecting lens 3, and is projected on the subject. The reflected light from the subject forms an image at an appropriate position on the light receiving surface of the second PSD 5b via the light receiving lens 4.
[0054]
In step S4, the second arithmetic circuit 23 detects the light receiving current Ia output from the second PSD 5b. Two And Ib Two Based on Ia Two / (Ia Two + Ib Two ) Is calculated and output to the microcomputer 30. The microcomputer 30 calculates the input value Ia Two / (Ia Two + Ib Two ), The third distance Dc to the subject is calculated, and the calculated third distance Dc is temporarily stored.
[0055]
In step S5, the light emission control circuit 11 controls the second LED 2b to emit light, and the second LED 2b emits light toward the subject. The light emitted from the second LED 2b is converged into a beam by the light projecting lens 3 and is projected on the subject. The reflected light from the subject forms an image via the light receiving lens 4 at an appropriate position on the light receiving surface of the first PSD 5a or the second PSD 5b according to the distance to the subject.
[0056]
In step S6, the first arithmetic circuit 21 determines the light receiving current Ia output from the first PSD 5a. 1 And Ib 1 Based on Ia 1 / (Ia 1 + Ib 1 ) Is calculated and output to the microcomputer 30. The microcomputer 30 calculates the input value Ia 1 / (Ia 1 + Ib 1 ) Based on the distance Db to the subject 1 Is calculated, and the calculated distance Db 1 Is temporarily stored.
[0057]
In step S7, the first light reception amount calculation circuit 22 determines the light reception current Ia output from the first PSD 5a. 1 And Ib 1 Based on Ia 1 + Ib 1 And the calculated value Ia 1 + Ib 1 Is output to the microcomputer 30. The microcomputer 30 calculates the input value Ia 1 + Ib 1 Received light amount Qb based on 1 Is calculated, and the calculated received light amount Qb is calculated. 1 Is temporarily stored.
[0058]
In step S8, the light emission control circuit 11 controls the second LED 2b to emit light again, and the second LED 2b emits light toward the subject.
[0059]
In step S9, the second arithmetic circuit 23 detects the light receiving current Ia output from the second PSD 5b. Two And Ib Two Based on Ia Two / (Ia Two + Ib Two ) Is calculated and output to the microcomputer 30. The microcomputer 30 calculates the input value Ia Two / (Ia Two + Ib Two ) Based on the distance Db to the subject Two Is calculated, and the calculated distance Db Two Is temporarily stored.
[0060]
In step S10, the second light reception amount calculation circuit 24 outputs the light reception current Ia output from the second PSD 5b. Two And Ib Two Based on Ia Two + Ib Two And the calculated value Ia Two + Ib Two Is output to the microcomputer 30. The microcomputer 30 calculates the input value Ia Two + Ib Two Received light amount Qb based on Two Is calculated, and the calculated received light amount Qb is calculated. Two Is temporarily stored.
[0061]
In step S11, the microcomputer 30 determines the amount of received light Qb in the first PSD 5a calculated in step S7. 1 Is the received light amount Qb in the second PSD 5b calculated in step S10. Two It is determined whether it is greater than. Here, the received light amount Qb 1 Is the received light amount Qb Two If it is determined that it is larger than the threshold value (YES in step S11), the process proceeds to step S12, where the received light amount Qb 1 Is the received light amount Qb Two If it is determined that it is below (NO in step S11), the process proceeds to step S13.
[0062]
In step S12, the microcomputer 30 determines the distance Db calculated using the first PSD 5a. 1 Is a second distance Db obtained by emitting light from the second LED 2b, and the second distance Db is temporarily stored.
[0063]
In step S13, the microcomputer 30 calculates the distance Db calculated using the second PSD 5b. Two Is a second distance Db obtained by emitting light from the second LED 2b, and the second distance Db is temporarily stored.
[0064]
In step S14, the microcomputer 30 sets the closest distance among the calculated first distance Da, second distance Db, and third distance Dc as a true distance to the subject. The distance set in the microcomputer 30 is output to the overall control unit 160 shown in FIG. 1, and the overall control unit 160 calculates the drive amount of the focus lens based on the distance output from the microcomputer 30.
[0065]
As described above, since the light projecting unit 10 that projects the distance measuring light to the subject is configured by the three first LEDs 2a, the second LEDs 2b, and the third LEDs 2c, which are a plurality of light projecting elements, the number of distance measuring points increases. The distance measurement error can be eliminated. Further, the light receiving unit 20 that receives the reflected light from the subject by the distance measuring light projected by the light projecting unit 10 and outputs a signal corresponding to the light receiving position is more than the three first LED 2a, second LED 2b, and third LED 2c. Since the first PSD 5a and the second PSD 5b, which are a small number of the plurality of light receiving elements, are formed, the size of the device can be reduced.
[0066]
In addition, since the imaging position of at least one of the three first LEDs 2a, the second LED 2b, and the third LED 2c by the distance measurement light moves across the first PSD 5a and the second PSD 5b according to the distance to the subject, Even when the number of distance measuring points is increased by increasing the number of LEDs as light projecting elements, it is not necessary to increase the number of PSDs by sharing the distance measuring light by one LED with the two PSDs. Need not be provided in the same number, and the size of the apparatus can be reduced.
[0067]
The first light receiving amount calculating circuit 22 and the second light receiving amount calculating circuit 24 calculate the amount of light received by the first PSD 5a and the second PSD 5b, and the first calculating circuit 21 and the second calculating circuit 23 calculate the PSDs 5a and 5b. The distance to the subject corresponding to the second LED 2b is calculated based on the signal output by the microcomputer 30, and the microcomputer 30 calculates the distance calculated by the light receiving element having a large light receiving amount calculated by each of the light receiving amount calculating circuits 22 and 24, The distance is determined to correspond to the second LED 2b. Therefore, when the reflected light from the subject is imaged over the two first PSDs 5a and the second PSD 5b, the amount of light received by the first PSD 5a and the amount of light received by the second PSD 5b are compared, and the PSD having the larger amount of received light is compared. Since the distance is calculated as described above, it is possible to measure an accurate distance to the subject for each LED, which is measured by causing each of the first LED 2a, the second LED 2b, and the third LED 2c to emit light.
[0068]
Further, among the first distance Da, the second distance Db, and the third distance Dc corresponding to each LED calculated by the microcomputer 30, the one closest to the subject is determined as the true distance. The exact distance to can be measured.
[0069]
Furthermore, since it is possible to realize the distance measuring device 1 that can be downsized without causing a distance measuring error, the digital camera 100 including the above-described distance measuring device 1 can be downsized. be able to.
[0070]
Next, a modified example of the distance measuring apparatus according to the present invention will be described. In the distance measuring apparatus according to the modified example of the present embodiment, a subject is projected by five light emitting elements (LEDs), and reflected light from the subject is received by three light receiving elements (PSDs).
[0071]
FIG. 8 is a diagram illustrating an example of a configuration of a distance measuring device according to a modification of the present embodiment. The distance measuring device 1 ′ shown in FIG. 8 includes a first LED 2a, a second LED 2b, a third LED 2c, a fourth LED 2d, a fifth LED 2e, a light projecting lens 3, a light receiving lens 4, a first PSD 5a, a second PSD 5b, a third PSD 5c, a first arithmetic circuit 21, The first light receiving amount calculation circuit 22, the second arithmetic circuit 23, the second light receiving amount calculation circuit 24, the light emission control circuit 11, and the microcomputer 30 are provided. The light projecting unit 10 'includes a first LED 2a, a second LED 2b, a third LED 2c, a fourth LED 2d, and a fifth LED 2e, and the light receiving unit 20' includes a first PSD 5a, a second PSD 5b, and a third PSD 5c.
[0072]
The first LED 2a emits distance measuring light to the light projecting lens 3 based on a control signal from a light emission control circuit 11 described later. The second LED 2b emits distance measuring light to the light projecting lens 3 based on a control signal from a light emission control circuit 11 described later. The third LED 2c emits distance measuring light to the light projecting lens 3 based on a control signal from a light emission control circuit 11 described later. The fourth LED 2d emits distance measuring light to the light projecting lens 3 based on a control signal from a light emission control circuit 11 described later. The fifth LED 2e emits distance measuring light to the light projecting lens 3 based on a control signal from a light emission control circuit 11 described later.
[0073]
The light projecting lens 3 narrows down the distance measurement light emitted from the first LED 2a, the second LED 2b, the third LED 2c, the fourth LED 2d, and the fifth LED 2e in a beam shape, and projects the light to a subject. The light receiving lens 4 forms the light reflected by the subject on the light receiving surfaces of the first PSD 5a, the second PSD 5b, and the third PSD 5c.
[0074]
The first PSD 5a is arranged in the base line length direction of the first LED 2a, the second LED 2b, the third LED 2c, the fourth LED 2d, and the fifth LED 2e, and receives the light receiving current Ia according to the imaging position. 1 And Ib 1 Is output from the electrodes provided at both ends to a first arithmetic circuit 21 and a first received light amount calculation circuit 22, which will be described later. The second PSD 5b is arranged in the base line length direction of the first LED 2a, the second LED 2b, the third LED 2c, the fourth LED 2d, and the fifth LED 2e, and receives a light receiving current Ia corresponding to an image forming position. Two And Ib Two Is output from electrodes provided at both ends to a second arithmetic circuit 23 and a second received light amount calculation circuit 24, which will be described later. The third PSD 5c is arranged in the base line length direction of the first LED 2a, the second LED 2b, the third LED 2c, the fourth LED 2d, and the fifth LED 2e, and receives the light-receiving current Ia according to the imaging position. Three And Ib Three Is output from the electrodes provided at both ends to a first arithmetic circuit 21 and a first received light amount calculation circuit 22, which will be described later.
[0075]
The first arithmetic circuit 21 receives a light-receiving current Ia output from electrodes provided at both ends of the first PSD 5a. 1 , Ib 1 Is input, and the input light-receiving current Ia 1 , Ib 1 Based on Ia 1 And Ib 1 Ia 1 / (Ia 1 + Ib 1 ), And the calculated value Ia 1 / (Ia 1 + Ib 1 ) Is output to the microcomputer 30. Further, the first arithmetic circuit 21 receives the light-receiving current Ia output from the electrodes provided at both ends of the third PSD 5c. Three , Ib Three Is input, and the input light-receiving current Ia Three , Ib Three Based on Ia Three And (Ia Three + Ib Three Ia Three / (Ia Three + Ib Three ), And the calculated value Ia Three / (Ia Three + Ib Three ) Is output to the microcomputer 30.
[0076]
The first light reception amount calculation circuit 22 receives a light reception current Ia output from electrodes provided at both ends of the first PSD 5a. 1 , Ib 1 Is input, and the input light-receiving current Ia 1 , Ib 1 , The total amount of received light Ia in the first PSD 5a 1 + Ib 1 And the calculated total received light amount Ia 1 + Ib 1 Is output to the microcomputer 30. Further, the first light reception amount calculation circuit 22 detects the light reception current Ia output from the electrodes provided at both ends of the third PSD 5c. Three , Ib Three Is input, and the input light-receiving current Ia Three , Ib Three , The total amount of received light Ia in the first PSD 5a Three + Ib Three And the calculated total received light amount Ia Three + Ib Three Is output to the microcomputer 30.
[0077]
The second arithmetic circuit 23 receives a light-receiving current Ia output from electrodes provided at both ends of the second PSD 5b. Two , Ib Two Is input, and the input light-receiving current Ia Two , Ib Two Based on Ia Two And (Ia Two + Ib Two Ia Two / (Ia Two + Ib Two ), And the calculated value Ia Two / (Ia Two + Ib Two ) Is output to the microcomputer 30.
[0078]
The second light reception amount calculation circuit 24 receives the light reception current Ia output from the electrodes provided at both ends of the second PSD 5b. Two , Ib Two Is input, and the input light-receiving current Ia Two , Ib Two , The total amount of received light Ia in the second PSD 5b Two + Ib Two And the calculated total received light amount Ia Two + Ib Two Is output to the microcomputer 30.
[0079]
The light emission control circuit 11 controls the light emission of the first LED 2a, the second LED 2b, the third LED 2c, the fourth LED 2d, and the fifth LED 2e. Based on a control signal output from the microcomputer 30, the first LED 2a, the second LED 2b, the third LED 2c, The light emission of the fourth LED 2d and the fifth LED 2e is controlled.
[0080]
The microcomputer 30 controls the light emission of the first LED 2 a and obtains the value Ia obtained by the first arithmetic circuit 21. 1 / (Ia 1 + Ib 1 ), The first distance Da to the subject is calculated. Further, the microcomputer 30 controls the light emission of the second LED 2b and obtains the value Ia obtained by the first arithmetic circuit 21 or the second arithmetic circuit 23. 1 / (Ia 1 + Ib 1 ) Or the value Ia Two / (Ia Two + Ib Two ), The second distance Db to the subject is calculated. Further, the microcomputer 30 controls the light emission of the third LED 2 c and outputs the value Ia obtained by the second arithmetic circuit 23. Two / (Ia Two + Ib Two ), The third distance Dc to the subject is calculated. Further, the microcomputer 30 controls the light emission of the fourth LED 2 d and outputs the value Ia obtained by the first arithmetic circuit 21 or the second arithmetic circuit 23. Three / (Ia Three + Ib Three ) Or the value Ia Two / (Ia Two + Ib Two ), A fourth distance Dd to the subject is calculated. Further, the microcomputer 30 controls the light emission of the fifth LED 2 e and outputs the value Ia obtained by the first arithmetic circuit 21. Three / (Ia Three + Ib Three ), A fifth distance De to the subject is calculated. The microcomputer 30 determines the optimum distance among the calculated first distance Da, second distance Db, third distance Dc, fourth distance Dd, and fifth distance De as the true distance to the subject.
[0081]
FIG. 9 is a diagram illustrating a glare range between the LED and the PSD on the subject. In the present embodiment, three PSDs are measured in combination of the first LED 2a and the first PSD 5a, the second LED 2b and the first PSD 5a and the second PSD 5b, the third LED 2c and the second PSD 5b, the fourth LED 2d and the second PSD 5b and the third PSD 5c, and the fifth LED 2e and the third PSD 5c. Five distance points are secured. In addition, the scale of the arithmetic circuit is reduced by sharing the arithmetic circuits of the first PSD 5a and the third PSD 5c. The operation circuits of the first PSD 5a and the second PSD 5b cannot be shared. This is because when the second LED 2b emits light, the output of the first PSD 5a and the output of the second PSD 5b cannot be guided independently to the arithmetic circuit. However, the arithmetic circuits of the first PSD 5a and the third PSD 5c individually emit light from the first LED 5a to the fifth LED 2e, so that an effect equivalent to that of an independent arithmetic circuit can be obtained.
[0082]
Next, an operation of the distance measuring apparatus 1 'according to the modification of the present embodiment will be described. FIG. 10 and FIG. 11 are flowcharts for explaining an example of the operation of the distance measuring apparatus 1 ′ in the modification of the present embodiment.
[0083]
Note that the processing of steps S101 to S104 shown in FIG. 10 is the same as the processing of steps S1 to S4 shown in FIG.
[0084]
In step S105, the light emission control circuit 11 controls the fifth LED 2e to emit light, and the fifth LED 2e emits light toward the subject. The light emitted from the fifth LED 2e is converged into a beam by the light projecting lens 3 and projected on the subject. The reflected light from the subject forms an image at an appropriate position on the light receiving surface of the third PSD 5c via the light receiving lens 4 having the optical axis L2 parallel to the optical axis L1 of the light projecting lens 3.
[0085]
In step S106, the first arithmetic circuit 21 determines the light receiving current Ia output from the third PSD 5c. Three And Ib Three Based on Ia Three / (Ia Three + Ib Three ) Is calculated and output to the microcomputer 30. The microcomputer 30 calculates the input value Ia Three / (Ia Three + Ib Three ), A fifth distance De to the subject is calculated, and the calculated fifth distance De is temporarily stored.
[0086]
Note that the processing of steps S107 to S115 shown in FIG. 10 is the same as the processing of steps S5 to S13 shown in FIG. .
[0087]
In step S116, the light emission control circuit 11 controls the fourth LED 2d to emit light, and the fourth LED 2d emits light toward the subject. The light emitted from the fourth LED 2d is converged into a beam by the light projecting lens 3 and is projected on the subject. The reflected light from the subject is imaged via the light receiving lens 4 at an appropriate position on the light receiving surface of the second PSD 5b or the third PSD 5c according to the distance to the subject.
[0088]
In step S117, the first arithmetic circuit 21 determines the light receiving current Ia output from the third PSD 5c. Three And Ib Three Based on Ia Three / (Ia Three + Ib Three ) Is calculated and output to the microcomputer 30. The microcomputer 30 calculates the input value Ia Three / (Ia Three + Ib Three ) Based on the distance Dd to the subject 1 Is calculated, and the calculated distance Dd 1 Is temporarily stored.
[0089]
In step S118, the first light reception amount calculation circuit 22 determines the light reception current Ia output from the third PSD 5c. Three And Ib Three Based on Ia Three + Ib Three And the calculated value Ia Three + Ib Three Is output to the microcomputer 30. The microcomputer 30 calculates the input value Ia Three + Ib Three Received light Qd based on 1 And the calculated received light amount Qd 1 Is temporarily stored.
[0090]
In step S119, the light emission control circuit 11 controls the fourth LED 2d to emit light again, and the fourth LED 2d emits light toward the subject.
[0091]
In step S120, the second arithmetic circuit 23 determines the light receiving current Ia output from the second PSD 5b. Two And Ib Two Based on Ia Two / (Ia Two + Ib Two ) Is calculated and output to the microcomputer 30. The microcomputer 30 calculates the input value Ia Two / (Ia Two + Ib Two ) Based on the distance Dd to the subject Two Is calculated, and the calculated distance Dd Two Is temporarily stored.
[0092]
In step S121, the second light reception amount calculation circuit 24 outputs the light reception current Ia output from the second PSD 5b. Two And Ib Two Based on Ia Two + Ib Two And the calculated value Ia Two + Ib Two Is output to the microcomputer 30. The microcomputer 30 calculates the input value Ia Two + Ib Two Received light Qd based on Two And the calculated received light amount Qd Two Is temporarily stored.
[0093]
In step S122, the microcomputer 30 determines the amount of received light Qd in the third PSD 5c calculated in step S118. 1 Is the received light amount Qd in the second PSD 5b calculated in step S121. Two It is determined whether it is greater than. Here, the received light amount Qd 1 Is the amount of received light Qd Two If it is determined that it is larger than the threshold value (YES in step S122), the process proceeds to step S123 and the received light amount Qd 1 Is the amount of received light Qd Two If it is determined that it is below (NO in step S122), the process proceeds to step S124.
[0094]
In step S123, the microcomputer 30 calculates the distance Dd calculated using the third PSD 5c. 1 Is the fourth distance Dd obtained by emitting the fourth LED 2d, and the fourth distance Dd is temporarily stored.
[0095]
In step S124, the microcomputer 30 determines the distance Dd calculated using the second PSD 5b. Two Is the fourth distance Dd obtained by emitting the fourth LED 2d, and the fourth distance Dd is temporarily stored.
[0096]
In step S125, the microcomputer 30 sets the closest distance among the calculated first distance Da, second distance Db, third distance Dc, fourth distance Dd, and fifth distance De as the true distance to the subject. I do. The distance set in the microcomputer 30 is output to the overall control unit 160 shown in FIG. 1, and the overall control unit 160 calculates the drive amount of the focus lens based on the distance output from the microcomputer 30.
[0097]
As described above, the light projecting unit 10 'that projects the distance measurement light to the subject is configured by the five first LEDs 2a, the second LEDs 2b, the third LEDs 2c, the fourth LEDs 2d, and the fifth LEDs 2e, which are a plurality of light projecting elements. Thus, the number of distance measurement points increases, and a distance measurement error can be eliminated. The light receiving unit 20 'that receives the reflected light from the subject by the distance measurement light projected by the light projecting unit 10' and outputs a signal corresponding to the light receiving position includes five first LEDs 2a, second LEDs 2b, and third LEDs 2c. , The first LED 5a, the second PSD 5b, and the third PSD 5c, which are a plurality of light receiving elements, the number of which is smaller than that of the fourth LED 5d and the fifth LED 2e.
[0098]
Further, the imaging position of the second LED 2b among the five first LED 2a, second LED 2b, third LED 2c, fourth LED 2d, and fifth LED 2e by the distance measurement light moves across the first PSD 5a and the second PSD 5b according to the distance to the subject. However, since the image formation position of the fourth LED 2d by the distance measuring light moves across the second PSD 5b and the third PSD 5c according to the distance to the subject, the number of the distance measuring points is increased by increasing the number of LEDs as light projecting elements. However, by sharing the distance measurement light by one LED with two PSDs, it is not necessary to increase the number of PSDs, and it is not necessary to provide the same number of LEDs and PSDs as in the conventional case, thereby realizing the miniaturization of the device. it can.
[0099]
The first light receiving amount calculating circuit 22 and the second light receiving amount calculating circuit 24 calculate the light receiving amounts received by the first PSD 5a, the second PSD 5b, and the third PSD 5c, and the first calculating circuit 21 and the second calculating circuit 23 The distance to the subject corresponding to the second LED 2b is calculated based on the signals output from the PSDs 5a, 5b, 5c, and the microcomputer 30 calculates the light using the light receiving element having a large light receiving amount calculated by the light receiving amount calculating circuits 22 and 24. The determined distance is determined as the distance corresponding to the second LED 2b or the fourth LED 2d. Therefore, when the reflected light from the subject is imaged over the two first PSDs 5a and the second PSD 5b, or when the reflected light from the subject is imaged over the two second PSDs 5b and the third PSD 5c, the first PSD 5a is formed. The received light amount received by the second PSD 5b is compared with the received light amount received by the second PSD 5b, and the distance calculated by the PSD having the larger received light amount is determined. Then, since the distance is determined to be the distance calculated by the PSD having a large amount of received light, the subject of each LED measured by emitting each of the first LED 2a, the second LED 2b, the third LED 2c, the fourth LED 2d and the fifth LED 2e The exact distance to can be measured.
[0100]
Furthermore, of the first distance Da, the second distance Db, the third distance Dc, the fourth distance Dd, and the fifth distance De corresponding to each LED calculated by the microcomputer 30, the one having the closest distance to the subject is selected. Since the distance is determined as a true distance, an accurate distance to the subject can be measured.
[0101]
Furthermore, since it is possible to realize the distance measuring device 1 'which can be downsized without causing a distance measuring error, it is possible to reduce the size of the digital camera 100 including the above distance measuring device 1'. Can be realized.
[0102]
In the present embodiment, the second LED 2b emits light, and the output from the first PSD 5a causes the distance Db 1 And received light amount Qb 1 Is calculated again, the second LED 2b emits light again, and the distance Db is output by the output of the second PSD 5b. Two And received light amount Qb Two And the received light amount Qb 1 And received light amount Qb Two And received light quantity Qb 1 And the amount of received light Qb Two The distance calculated by the PSD having the larger amount of received light is the second distance Db obtained by emitting the second LED 2b. However, the present invention is not particularly limited to this, and the second LED 2b emits light, and the output of the second PSD 5b is Two Is calculated, and a predetermined value set in advance and the amount of received light Qb Two And received light quantity Qb Two Is greater than or equal to a predetermined value, the second distance Db is calculated from the output of the second PSD 5b, and the received light amount Qb Two Is smaller than the predetermined value, the second LED 2b may emit light again, and the second distance Db may be calculated based on the output from the first PSD 5a. In this case, the first light reception amount calculation circuit 22 becomes unnecessary, and the circuit configuration can be simplified. It should be noted that the second LED 2b emits light and the amount of light received Qb is output by the output of the first PSD 5a. 1 Is calculated, and a predetermined value set in advance and the amount of received light Qb 1 And may be compared.
[0103]
Similarly, in the modified example of the present embodiment, the fourth LED 2d emits light, and the output of the second PSD 5b is used as the light reception amount Qd. Two Is calculated, and a predetermined value set in advance and the amount of received light Qd Two And the received light amount Qd Two Is greater than or equal to a predetermined value, the fourth distance Dd is calculated from the output of the second PSD 5b, and the received light amount Qd Two Is smaller than the predetermined value, the fourth LED 2d emits light again, and the fourth distance Dd may be calculated by the output of the first PSD 5a. In this case, the first light reception amount calculation circuit 22 becomes unnecessary, and the circuit configuration can be simplified. It should be noted that the fourth LED 2d emits light and the received light amount Qd is output by the first PSD 5a. 1 Is calculated, and a predetermined value set in advance and the amount of received light Qd 1 And may be compared.
[0104]
Further, in the present embodiment, the first light reception amount calculation circuit 22 detects the light reception current Ia output from both electrodes of the first PSD 5a. 1 , Ib 1 Sum Ia 1 + Ib 1 Is calculated as the amount of received light, but the present invention is not particularly limited to this. For example, the first received light amount calculation circuit 22 may be configured to detect the received light current Ia output from both electrodes of the first PSD 5a. 1 And Ib 1 May be calculated as the amount of received light. Further, the first light reception amount calculation circuit 22 calculates a light reception current Ia output from both end electrodes of the first PSD 5a. 1 And Ib 1 Max (Ia 1 , Ib 1 ) May be calculated as the amount of received light. In this case, the same effect as described above can be obtained. The light-receiving current Ia output from the both ends of the second PSD 5b and the third PSD 5c. Two , Ib Two , Ia Three , Ib Three The same applies to
[0105]
Further, in the present embodiment, the distance measuring device used for the digital camera has been described, but the present invention is not particularly limited thereto. For example, the present invention is applicable to other cameras such as a single-lens reflex camera and a compact camera and other imaging devices. The above distance measuring device may be used.
[0106]
The specific embodiments described above mainly include inventions having the following configurations.
(1) Light projecting means for projecting distance measuring light to a subject, and light reflected from the subject by the distance measuring light projected by the light projecting means is received, and a signal corresponding to a light receiving position is output. And a light receiving means, wherein the light projecting means is constituted by a plurality of light projecting elements, and the light receiving means is constituted by a plurality of light receiving elements of a smaller number than the light projecting elements.
(2) The distance measuring light of at least one of the plurality of light emitting elements forms an image over at least two of the plurality of light receiving elements in accordance with a distance to a subject. The distance measuring apparatus according to the above (1), wherein the position is moved.
(3) a plurality of light receiving amount calculating means for calculating the amount of light received by the plurality of light receiving elements; and a plurality of light receiving element calculating means for calculating the amount of light received by the plurality of light receiving elements. A plurality of distance calculating means for calculating a distance, at least one of the plurality of light emitting elements emits light, and reflected light from the subject is reflected by at least two of the plurality of light receiving elements. Distance determining means for determining a distance calculated by the light receiving element having a large light receiving amount calculated by the light receiving amount calculating means as a distance corresponding to at least one of the plurality of light projecting elements. The distance measuring device according to the above (1) or (2), further comprising:
(4) The distance determining means determines, as a true distance, a distance closest to a subject among distances corresponding to each light emitting element calculated by the distance calculating means. (3) The distance measuring device according to (1).
(5) The light projecting means includes a first light projecting element, a second light projecting element, and a third light projecting element arranged in a base line length direction, and the light receiving means is arranged in a base line length direction. The first light receiving element and the second light receiving element, and the distance calculating means causes the second light emitting element to emit light, and reflects the reflected light from the subject with the first light receiving element and the second light receiving element. The distance measuring apparatus according to the above (1), wherein the distance is measured by a light receiving element that receives light and receives a larger amount of light.
(6) The light projecting means includes a first light projecting element, a second light projecting element, and a third light projecting element arranged in a base line length direction, and the light receiving means is arranged in a base line length direction. A first light-receiving element and a second light-receiving element, wherein the distance calculating means causes the first light-emitting element to emit light, receives reflected light from the subject with the first light-receiving element, and sets the first light-receiving element to the first light-receiving element. A first distance calculating means for calculating a distance, and a second distance calculating means for causing a third light emitting element to emit light, and receiving a reflected light from the subject with a second light receiving element to calculate a second distance. Means, a second light emitting element, and a first light receiving element and a second light receiving element for receiving reflected light from the object, and a total of the first light receiving element and the second light receiving element. A third distance calculating means for calculating a third distance by a light receiving element having a larger amount of received light, wherein the distance determining means comprises: Wherein the closest one of the distance, the second distance, and the third distance is determined as a true distance from the subject. 3. The distance measuring device according to claim 1.
(7) Distance measuring means for measuring the distance to the object, a focus lens for focusing on the object, and focus lens driving means for driving the focus lens based on the distance to the object measured by the distance measuring means Wherein the distance measuring means is constituted by the distance measuring device according to any one of the above (1) to (6).
[0107]
【The invention's effect】
According to the first aspect of the present invention, since the light projecting means for projecting the distance measuring light to the object is composed of a plurality of light projecting elements, the number of distance measuring points increases, and the distance measuring error is reduced. Can be eliminated. The light receiving means for receiving the reflected light from the subject by the distance measuring light projected by the light emitting means and outputting a signal corresponding to the light receiving position is constituted by a plurality of light receiving elements smaller in number than the light emitting elements. Therefore, the size of the device can be reduced.
[0108]
According to the second aspect of the present invention, the imaging position of at least one of the plurality of light emitting elements by the distance measurement light is determined according to the distance to the subject. Since it moves across at least two light receiving elements, even when the number of light projecting elements is increased and the distance measuring points are increased, the distance measuring light by one light emitting element is shared by the two light receiving elements, so that the light receiving element can be used. There is no need to increase the number of the light-emitting elements and the number of light-receiving elements as in the related art, and the size of the apparatus can be reduced.
[0109]
According to the third aspect of the present invention, the plurality of light receiving amount calculating means calculates the amount of light received by each light receiving element, and the plurality of distance calculating means based on the signal output by each light receiving element. The distance to the subject corresponding to each of the light emitting elements is calculated, and at least one of the plurality of light emitting elements emits light by the distance determining means, and reflected light from the object is reflected by the plurality of light receiving elements. The distance calculated by the light receiving element having a large light receiving amount calculated by the light receiving amount calculating means is a distance corresponding to at least one of the plurality of light projecting elements. Therefore, it is possible to measure an accurate distance to a subject for each light emitting element, which is measured by causing each light emitting element of the plurality of light emitting elements to emit light.
[0110]
According to the fourth aspect of the present invention, the distance determining means determines, among the distances corresponding to each light emitting element calculated by the distance calculating means, the one closest to the subject as the true distance. Therefore, an accurate distance to the subject can be measured.
[0111]
According to the fifth aspect of the present invention, it is possible to realize a distance measuring device capable of realizing miniaturization without causing a distance measuring error, and thus to miniaturize a camera including the distance measuring device. be able to.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a digital camera (imaging device) using a distance measuring device according to the present invention.
FIG. 2 is a diagram for explaining a principle of distance measurement of an active distance measuring device.
FIG. 3 is a diagram illustrating an imaging position that changes according to a distance to a subject.
FIG. 4 is a diagram illustrating a relationship between a distance to a subject and an output of a PSD when LEDs and PSDs correspond one-to-one.
FIG. 5 is a diagram illustrating a relationship between a distance to a subject and an output of a PSD when light reflected by an LED is imaged over two PSDs.
FIG. 6 is a diagram illustrating an example of a configuration of a distance measuring apparatus according to the present embodiment.
FIG. 7 is a flowchart illustrating an example of an operation of the distance measuring apparatus according to the present embodiment.
FIG. 8 is a diagram illustrating an example of a configuration of a distance measuring apparatus according to a modification of the present embodiment.
FIG. 9 is a diagram illustrating a glare range between an LED and a PSD on a subject.
FIG. 10 is a flowchart illustrating an example of an operation of a distance measuring apparatus according to a modification of the present embodiment.
FIG. 11 is a flowchart illustrating an example of an operation of a distance measuring apparatus according to a modification of the present embodiment.
[Explanation of symbols]
1 Distance measuring device
2a First LED (light emitting element)
2b 2nd LED (light emitting element)
2c Third LED (light emitting element)
2d 4th LED (light emitting element)
2e Fifth LED (light emitting element)
3 Floodlight lens
4 Receiving lens
5a First PSD (light receiving element)
5b 2nd PSD (light receiving element)
5c Third PSD (light receiving element)
10 Light emitting part (light emitting means)
11 Light emission control circuit
20 Light receiving part (light receiving means)
21 1st arithmetic circuit (distance calculating means)
22 First light reception amount calculation circuit (light reception amount calculation means)
23 second arithmetic circuit (distance calculating means)
24 Second light reception amount calculation circuit (light reception amount calculation means)
30 Microcomputer (distance calculation means) (distance determination means)
100 Digital camera (camera)
110 Imaging optical system
112 Focus lens
130 Focus lens driver (focus lens driver)
160 Overall control unit

Claims (5)

被写体に対して測距光を投光する投光手段と、
前記投光手段によって投光された測距光による被写体からの反射光を受光し、受光位置に応じた信号を出力する受光手段とを備え、
前記投光手段は複数の投光素子で構成され、前記受光手段は前記投光素子よりも少ない数の複数の受光素子で構成されることを特徴とする測距装置。
A projecting means for projecting distance measuring light to the subject;
Light receiving means for receiving light reflected from the subject by the distance measuring light projected by the light projecting means and outputting a signal corresponding to a light receiving position,
The distance measuring device, wherein the light projecting means is constituted by a plurality of light projecting elements, and the light receiving means is constituted by a plurality of light receiving elements smaller in number than the light projecting elements.
前記複数の投光素子のうちの少なくとも1の投光素子の測距光は、被写体までの距離に応じて、前記複数の受光素子のうちの少なくとも2の受光素子にまたがって結像位置が移動することを特徴とする請求項1記載の測距装置。The distance-measuring light of at least one of the plurality of light-projecting elements moves an image forming position across at least two of the plurality of light-receiving elements in accordance with a distance to a subject. The distance measuring apparatus according to claim 1, wherein the distance measurement is performed. 前記複数の受光素子が受光する受光量を算出する複数の受光量算出手段と、
前記複数の受光素子によって出力される信号に基づいて、各投光素子毎に対応する前記被写体までの距離を算出する複数の距離算出手段と、
前記複数の投光素子のうちの少なくとも1の投光素子を発光させ、前記被写体からの反射光を前記複数の受光素子のうちの少なくとも2の受光素子で受光し、前記受光量算出手段によって算出された受光量の多い受光素子で算出された距離を前記複数の投光素子のうちの少なくとも1の投光素子に対応する距離に決定する距離決定手段とをさらに備えることを特徴とする請求項1又は2記載の測距装置。
A plurality of light receiving amount calculating means for calculating the amount of light received by the plurality of light receiving elements,
A plurality of distance calculating means for calculating a distance to the subject corresponding to each light emitting element based on signals output by the plurality of light receiving elements;
At least one of the plurality of light emitting elements emits light, and reflected light from the subject is received by at least two of the plurality of light receiving elements, and is calculated by the light receiving amount calculating means. And a distance determining means for determining a distance calculated by the light receiving element having the large amount of received light as a distance corresponding to at least one of the plurality of light emitting elements. 3. The distance measuring device according to 1 or 2.
前記距離決定手段は、前記距離算出手段によって算出された各投光素子毎に対応する距離のうちの最も被写体までの距離が近いものを真の距離として決定することを特徴とする請求項3記載の測距装置。4. The distance deciding unit decides, as a true distance, a distance closest to a subject among distances corresponding to each light emitting element calculated by the distance calculating unit. Distance measuring device. 被写体までの距離を測定する測距手段と、
被写体に対するピント合わせを行うフォーカスレンズと、
前記測距手段によって測定された被写体までの距離に基づいて前記フォーカスレンズを駆動するフォーカスレンズ駆動手段とを備えたカメラであって、
前記測距手段は、請求項1〜4のいずれかに記載の測距装置で構成されることを特徴とするカメラ。
Distance measuring means for measuring the distance to the subject;
A focus lens that focuses on the subject,
A focus lens driving unit that drives the focus lens based on the distance to the subject measured by the distance measuring unit,
A camera, wherein the distance measuring means is constituted by the distance measuring device according to any one of claims 1 to 4.
JP2002367064A 2002-12-18 2002-12-18 Range-finder and camera using the same Pending JP2004198729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002367064A JP2004198729A (en) 2002-12-18 2002-12-18 Range-finder and camera using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002367064A JP2004198729A (en) 2002-12-18 2002-12-18 Range-finder and camera using the same

Publications (1)

Publication Number Publication Date
JP2004198729A true JP2004198729A (en) 2004-07-15

Family

ID=32764077

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002367064A Pending JP2004198729A (en) 2002-12-18 2002-12-18 Range-finder and camera using the same

Country Status (1)

Country Link
JP (1) JP2004198729A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010256182A (en) * 2009-04-24 2010-11-11 Panasonic Electric Works Co Ltd Reflection type photoelectric sensor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010256182A (en) * 2009-04-24 2010-11-11 Panasonic Electric Works Co Ltd Reflection type photoelectric sensor

Similar Documents

Publication Publication Date Title
JP5328384B2 (en) LENS CONTROL DEVICE, OPTICAL DEVICE, AND LENS CONTROL METHOD
JP2014122993A (en) Photographing apparatus, camera system, and method to calculate information for focus control
JP2004157456A (en) Camera and range-finding method of camera
JP2006072384A (en) Method and device for automatic focus adjustment
JP2012137674A (en) Focus detector and imaging apparatus with the same
JP3518891B2 (en) Camera distance measuring device, camera moving object detection method, and camera
JP2004198729A (en) Range-finder and camera using the same
JP2006065080A (en) Imaging device
JP2005128291A (en) Focus detecting device and camera
JP2004069953A (en) Camera
JP7094767B2 (en) Imaging device and its control method and program
JP3199969B2 (en) Multi-point distance measuring device
JP6631002B2 (en) Imaging device
JP2006053593A (en) Automatic focus adjusting device and method
JPH0816708A (en) Information reproducing device and information display device
JP2003222784A (en) Distance measuring device and photographing device equipped with distance measuring device
JP2002131630A (en) Range-finding sensor and range-finding device
JP3064429B2 (en) Moving object distance measuring apparatus and moving object distance measuring method
JP2006184321A (en) Focus detecting device and optical equipment equipped with focus detecting device
JP3447508B2 (en) Distance measuring device and adjusting method thereof
JP2004151628A (en) Range-finding device and camera device equipped with the same
JP2001013248A (en) Distance-measuring device and camera
JP3077998B2 (en) Moving speed detector
JP3171351B2 (en) Distance measuring device
JP2004191634A (en) Camera

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Effective date: 20050615

Free format text: JAPANESE INTERMEDIATE CODE: A712