JP3216423B2 - Camera ranging device - Google Patents

Camera ranging device

Info

Publication number
JP3216423B2
JP3216423B2 JP12515694A JP12515694A JP3216423B2 JP 3216423 B2 JP3216423 B2 JP 3216423B2 JP 12515694 A JP12515694 A JP 12515694A JP 12515694 A JP12515694 A JP 12515694A JP 3216423 B2 JP3216423 B2 JP 3216423B2
Authority
JP
Japan
Prior art keywords
distance measurement
distance
data
optical system
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP12515694A
Other languages
Japanese (ja)
Other versions
JPH07333491A (en
Inventor
明 白石
健 山脇
浩幸 岡田
Original Assignee
ミノルタ株式会社
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 ミノルタ株式会社 filed Critical ミノルタ株式会社
Priority to JP12515694A priority Critical patent/JP3216423B2/en
Priority to US08/464,941 priority patent/US5805939A/en
Publication of JPH07333491A publication Critical patent/JPH07333491A/en
Application granted granted Critical
Publication of JP3216423B2 publication Critical patent/JP3216423B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Exposure Control For Cameras (AREA)
  • Focusing (AREA)
  • Viewfinders (AREA)
  • Automatic Focus Adjustment (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ファインダ光学系とオ
ートフォーカス光学系とが異なる光軸を有するパッシブ
三角測距式のカメラを用いて近接撮影を行う場合に好適
な測距装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distance measuring apparatus suitable for performing close-up photographing using a passive triangular distance measuring camera having different optical axes in a finder optical system and an autofocus optical system.

【0002】[0002]

【従来の技術】従来、カメラの測距装置として、外光を
利用したパッシブの三角測距方式を用いたものが知られ
ている。この種の測距装置は、オートフォーカス光学系
を有し、取り込んだ被写体像を一対のラインセンサで受
光し、それぞれで得られた画素データに対して相関演算
を実行して測距データを求めるように構成されており、
このオートフォーカス光学系は、一般的に撮影光学系や
ファインダ光学系とは異なる光軸上に設けられている。
2. Description of the Related Art Conventionally, as a distance measuring device for a camera, a device using a passive triangular distance measuring method using external light is known. This type of distance measuring apparatus has an autofocus optical system, receives a captured subject image with a pair of line sensors, and performs correlation calculation on pixel data obtained by each of them to obtain distance measuring data. It is configured as
This autofocus optical system is generally provided on a different optical axis from the photographing optical system and the finder optical system.

【0003】ファインダ光学系の観察部には、測距エリ
アを視覚化するために例えば鍵括弧状の測距フレームが
表記等されており、被写体に対する測距エリアの視覚容
易を図っている。一方、オートフォーカス光学系が被写
体に対して実際に測距を行う測距エリアは、ファインダ
光学系と光軸が異なることから、撮影距離によって測距
フレームに対して変位することとなる。すなわち、撮影
距離が例えば3mのとき測距フレーム内に写っている被
写体に対してカメラが実際に測距を行うように設計され
ているとして、被写体が3mより離れていくと、それに
応じてオートフォーカス光学系に入射する被写体からの
光束は、ファインダ光学系の光軸に対しより平行な角度
から入射されるため、測距エリアはファインダ光学系F
に近づいた側に変位(パララックスを発生)することと
なり、逆に、被写体が3m以下に近づいてくると、それ
に応じてオートフォーカス光学系に入射する被写体から
の光束は、ファインダ光学系の光軸に対しよりずれた角
度から入射されるため、測距エリアはファインダ光学系
Fから離れる側に変位することとなる。この結果、撮影
者の意図とは異なる被写体に対して誤測距を行うという
不都合を生じる可能性がある。
[0003] In the observation section of the finder optical system, for example, a bracket-shaped ranging frame is written in order to visualize the ranging area, so that the ranging area with respect to the subject is easily viewed. On the other hand, the ranging area where the autofocus optical system actually measures the distance to the subject is displaced with respect to the ranging frame depending on the shooting distance because the optical axis is different from that of the finder optical system. That is, for example, it is assumed that the camera is designed to actually measure the distance to a subject in the distance measurement frame when the shooting distance is 3 m. The luminous flux from the subject that enters the focus optical system is incident from an angle that is more parallel to the optical axis of the finder optical system.
In contrast, when the subject approaches 3 m or less, the luminous flux from the subject incident on the autofocus optical system is changed to the light of the finder optical system when the subject approaches 3 m or less. Since the light is incident from an angle shifted from the axis, the distance measuring area is displaced away from the finder optical system F. As a result, there is a possibility that an inconvenience of performing erroneous distance measurement for a subject different from the photographer's intention may occur.

【0004】そこで、従来、事前測距を行って一応の測
距結果を得、この測距結果に基づいてラインセンサの受
光範囲を選択して再測距を実行することでパララックス
の影響を防ぐようにしたものが提案されている(特開平
2−293833号公報)。
Therefore, conventionally, a preliminary distance measurement is performed to obtain a temporary distance measurement result, a light receiving range of the line sensor is selected based on the distance measurement result, and the distance measurement is executed again to reduce the influence of parallax. A device that prevents such a problem has been proposed (JP-A-2-293833).

【0005】[0005]

【発明が解決しようとする課題】上記公報記載の装置の
場合、事前測距が介在するため、その分、測距に長時間
を要することとなるという問題がある。また、再測距の
際に、事前測距の測距結果に応じた受光範囲の画素デー
タしか使用しないため、撮影距離によっては受光領域が
狭くなり、その結果、相関値が信頼レベルを越えない、
いわゆるローコンとなって測距確率が低下するという問
題がある。
In the case of the apparatus described in the above-mentioned publication, there is a problem that the distance measurement requires a long time because of the prior distance measurement. In addition, at the time of re-ranging, only the pixel data of the light receiving range corresponding to the distance measurement result of the pre-ranging is used, so that the light receiving area becomes narrow depending on the shooting distance, and as a result, the correlation value does not exceed the confidence level. ,
There is a problem that a so-called low contrast is obtained and the distance measurement probability is reduced.

【0006】本発明は上記に鑑みてなされたもので、撮
影距離の内、特に近接距離でパララックスが大きくなる
点に着目し、近接撮影では三角測距のための測距演算を
通常距離での撮影の場合とは切り換えて実行すること
で、測距確率の低下を阻止可能にするカメラの測距装置
を提供することを目的とするものである。
The present invention has been made in view of the above, and focuses on the fact that parallax increases with the close-up distance, particularly in the close-up distance. It is an object of the present invention to provide a camera distance measuring device which can prevent a decrease in the distance measuring probability by performing the switching in the case of the photographing.

【0007】[0007]

【課題を解決するための手段】本発明に係るカメラの測
距装置は、得られた測距データに基づいて焦点位置調整
される撮影光学系と測距フレームが表記されたファイン
ダ光学系とを有するカメラにおいて、上記ファインダ光
学系とは異なる光軸を有する三角測距式のオートフォー
カス光学系から導かれた被写体像を受光し、その画素デ
ータをそれぞれ取り込む一対のラインセンサと、一対の
ラインセンサからの画素データを用いて三角測距のため
の測距演算を実行して測距データを算出する測距手段
と、近接撮影モードであるか否かを判断する判断手段
と、近接撮影モードにおいて上記測距フレーム内に対応
する画素データの範囲と測距フレーム外に対応した画素
データの範囲とを記憶する記憶手段と、近接撮影モード
であると判断されたときは上記測距手段に対して、測距
フレーム内に対する画素データから第1の測距データの
算出を行わせるとともに、測距フレーム外に対する画素
データから第2の測距データの算出を行わせ、上記第1
の測距データが得られないときは上記第2の測距データ
を採用するようにした演算切換手段とを備えたものであ
る。
A distance measuring apparatus for a camera according to the present invention comprises a photographing optical system whose focal position is adjusted based on obtained distance measuring data and a finder optical system on which a distance measuring frame is indicated. A pair of line sensors, each receiving a subject image guided from a triangulation-type autofocus optical system having an optical axis different from that of the finder optical system, and capturing pixel data thereof; and a pair of line sensors. Distance measurement means for calculating distance measurement data by executing a distance measurement operation for triangular distance measurement using pixel data from the camera; determining means for determining whether or not the camera is in a close-up shooting mode; Storage means for storing a range of pixel data corresponding to the inside of the ranging frame and a range of pixel data corresponding to the outside of the ranging frame; and determining that the mode is the close-up shooting mode. For the distance measurement means, the first distance data from the pixel data for the range finder frame
Calculation is performed, and pixels outside the distance measurement frame
From the data to perform the calculation of the second distance measurement data, the first
When the distance measurement data cannot be obtained, the arithmetic switching means is adapted to adopt the second distance measurement data.

【0008】[0008]

【作用】本発明によれば、被写体までの距離、すなわち
撮影距離が変わると、ファインダ光学系の測距フレーム
に対してオートフォーカス光学系のラインセンサで受光
される被写体からの光束にずれ(パララックス)を生じ
る。特に、近接撮影モードでは、このパララックスは大
きくなる。そこで、近接撮影モードであるかどうかを判
断し、近接撮影モードであれば、測距手段に対して、測
距フレーム内に対する画素データから第1の測距データ
の算出を行わせるとともに、測距フレーム外に対する画
素データから第2の測距データの算出を行わせ、第1の
測距データに信頼性がないとして結果的に第1の測距デ
ータが得られなかったときは、第2の測距データが採用
され、この第2の測距データで撮影光学系が焦点位置調
整される。
According to the present invention, when the distance to the subject, that is, the photographing distance, changes, the luminous flux from the subject received by the line sensor of the autofocus optical system with respect to the distance measurement frame of the finder optical system (parallel). Lux). In particular, in the close-up shooting mode, the parallax increases. Therefore, it is determined whether the proximity photographing mode, if the close-up mode, with respect to the distance measuring means, the first distance data from the pixel data for the range finder frame
Of the distance measurement frame.
The second distance measurement data is calculated from the raw data. If the first distance measurement data is not reliable because the first distance measurement data is not reliable , the second distance measurement data is calculated . distance data of is employed, the photographing optical system is adjusted focal position in the second distance measurement data.

【0009】[0009]

【実施例】図1は、本発明に係る測距装置が適用される
カメラの光学系の一例を示す平面図である。カメラ本体
1の前面(図の上側)には撮影光学系を構成する撮影レ
ンズ2が設けられている。この撮影レンズ2は焦点距離
が連続的にあるいは多点式に変更可能なズームレンズで
ある。撮影レンズ2の光軸後方には不図示の絞りやシャ
ッタ等を介してフィルム3が配置されるようにしてあ
る。
FIG. 1 is a plan view showing an example of an optical system of a camera to which a distance measuring apparatus according to the present invention is applied. A photographing lens 2 constituting a photographing optical system is provided on the front surface (upper side in the figure) of the camera body 1. This taking lens 2 is a zoom lens whose focal length can be changed continuously or in a multipoint manner. A film 3 is arranged behind the photographic lens 2 via an aperture or shutter (not shown) behind the optical axis.

【0010】ファインダ光学系Fは、撮影レンズ2とフ
ィルム3の間に介設され、光軸に対して測距時には45
°傾斜された(ハーフ)ミラー4で光軸を分岐させ、途
中にプリズム等の光偏向手段等を介してカメラ本体1の
後面部の結像位置に半透明板等からなるファインダ表示
部5を介して被写体像を観察可能に写す構成を有してい
る。ファインダ表示部5を構成する半透明板の適所、例
えば中央位置には所要大の鍵括弧状の測距フレーム50
がマーク表記されている。この測距フレーム50はファ
インダ表示部5に写された被写体像に対してその測距エ
リアを視覚的に案内するためのものである。このファイ
ンダ光学系Fは撮影レンズ2の後方に設けられているた
め、撮影レンズ2の焦点距離の変更に連動し、そのファ
インダ視野倍率が変化するようになっている。なお、ミ
ラー4が全反射タイプの場合、撮影時に光軸内から退避
可能にする公知の構成が採用されているものである。
A finder optical system F is interposed between the photographing lens 2 and the film 3 and has a distance of 45 from the optical axis during distance measurement.
The optical axis is branched by an inclined (half) mirror 4 and a finder display unit 5 made of a translucent plate or the like is provided at an image forming position on the rear surface of the camera body 1 via a light deflecting unit such as a prism on the way. It has a configuration in which the subject image is observable through the camera. At a suitable place of the translucent plate constituting the finder display unit 5, for example, at a central position, a required large bracket-shaped ranging frame 50 is provided.
Is marked. The distance measuring frame 50 is for visually guiding the distance measuring area to the subject image displayed on the finder display unit 5. Since the finder optical system F is provided behind the taking lens 2, the finder field magnification changes in conjunction with the change of the focal length of the taking lens 2. In the case where the mirror 4 is of the total reflection type, a well-known configuration is adopted in which the mirror 4 can be retracted from within the optical axis during photographing.

【0011】また、ファインダ光学系Fとして、撮影光
学系とは異なる位置、すなわち撮影レンズ2の光軸とは
異なる別の光軸を有し、かつ撮影レンズ2の焦点距離の
変更に連動するべくギア伝達手段やサーボモータ等の電
気的連動手段を介してファインダ視野倍率が変更し得る
ような構成を採用しても、上記と同様なファインダ機能
を実現できる。
The finder optical system F has a position different from that of the photographing optical system, that is, another optical axis different from the optical axis of the photographing lens 2, and interlocks with a change in the focal length of the photographing lens 2. The same finder function as described above can be realized even if a configuration is employed in which the viewfinder magnification can be changed via an electric interlocking means such as a gear transmission means or a servomotor.

【0012】オーフォーカス光学系AFは、図1の実施
例においては撮影レンズ2の横方向に設けられ、一対の
対物レンズ61,62、ミラー71,72,73及び一
対のラインセンサ81,82を備えている。このオート
フォーカス光学系AFは少なくともファインダ光学系F
の光軸とは異なる光軸を有しているものである。一対の
対物レンズ61,62はカメラ本体1の前面であって所
定距離だけ離間した位置に、それぞれ前方に向けて配設
され、それらの対物レンズ61,62を通過した被写体
からの光束がミラー71,72及びミラー73を経てそ
れぞれ対応するラインセンサ81,82に導かれるよう
になっている。
In the embodiment shown in FIG. 1, the autofocus optical system AF is provided in the lateral direction of the photographing lens 2, and includes a pair of objective lenses 61, 62, mirrors 71, 72, 73 and a pair of line sensors 81, 82. Have. This autofocus optical system AF has at least a finder optical system F
Has an optical axis different from the optical axis. The pair of objective lenses 61 and 62 are respectively disposed toward the front at positions separated by a predetermined distance on the front surface of the camera body 1, and a light beam from a subject passing through those objective lenses 61 and 62 is reflected by a mirror 71. , 72 and a mirror 73 to corresponding line sensors 81, 82, respectively.

【0013】ラインセンサ81,82は所定距離だけ離
間して平行に配置され、それぞれ多数のCCD等からな
る受光素子が1列に配列して構成されているものであ
る。このラインセンサ81,82には対物レンズ61,
62を通過した被写体像が受光され、デジタルの画素デ
ータに変換されて測距演算処理等を実行する制御部9に
導かれるようになっている。10は制御部9での演算の
結果得られた測距データに基づいて撮影レンズ2を合焦
位置に駆動させる駆動手段としてのモータである。
The line sensors 81 and 82 are arranged in parallel at a predetermined distance from each other, and each is constituted by arranging a large number of light receiving elements such as CCDs in a line. These line sensors 81 and 82 include an objective lens 61,
The subject image that has passed through 62 is received, converted into digital pixel data, and guided to a control unit 9 that executes distance measurement calculation processing and the like. Reference numeral 10 denotes a motor as driving means for driving the photographing lens 2 to a focusing position based on the distance measurement data obtained as a result of the calculation by the control unit 9.

【0014】図2は、本発明が適用されるカメラの制御
系を説明するブロック図である。制御部9はCPU(中
央演算処理回路)91、ROM92、RAM93等を有
し、測距演算処理の他、本カメラの全体動作を制御する
ものである。ROM92は測距演算処理のためのプログ
ラム、カメラ動作全般のプログラム及び後述する所定の
測距範囲に関するテーブル等が予め記憶されている。R
AM93は演算処理途中のデータを一時的に退避保存す
るためのものである。
FIG. 2 is a block diagram for explaining a control system of a camera to which the present invention is applied. The control unit 9 has a CPU (Central Processing Unit) 91, a ROM 92, a RAM 93 and the like, and controls the entire operation of the camera in addition to the distance measurement calculation processing. The ROM 92 stores in advance a program for distance measurement calculation processing, a program for general camera operation, a table relating to a predetermined distance measurement range described later, and the like. R
The AM 93 is for temporarily saving the data in the middle of the arithmetic processing.

【0015】スイッチS1は測距、露出処理を指示する
撮影準備スイッチ、スイッチS2は撮影を指示するレリ
ーズスイッチで、両スイッチは、半押し状態で撮影準備
動作が指示され、全押し状態でレリーズ指示が行われる
タイプのボタン式のものを採用することが好ましい。
A switch S1 is a photographing preparation switch for instructing distance measurement and exposure processing, and a switch S2 is a release switch for instructing photographing. Both switches instruct a photographing preparation operation when pressed halfway, and a release instruction when fully pressed. It is preferable to adopt a button type of the type in which the operation is performed.

【0016】モータ10はレンズ制御回路11からの駆
動信号を受けて撮影レンズ2の繰り出し量を調整するも
ので、繰り出し量はエンコーダ12により監視されてい
る。エンコーダ12は撮影レンズ2の静止側と回転側に
対面配置された、例えば位置情報をコード化したビット
マーク部材とこのビットマーク部材の各ビットの情報を
読み取って繰り出し量を検知するもので、これにより測
距時に撮影レンズ2を合焦位置にセットすることができ
るようになっている。
The motor 10 receives a drive signal from the lens control circuit 11 and adjusts the extension of the taking lens 2. The extension is monitored by an encoder 12. The encoder 12 detects a feeding amount by reading, for example, a bit mark member coded with position information and information of each bit of the bit mark member, which are disposed on the stationary side and the rotating side of the photographing lens 2 facing each other. Thus, the photographing lens 2 can be set to the in-focus position during distance measurement.

【0017】スイッチS3は操作方向に応じて望遠側と
広角側に焦点距離が変更されるようになされているズー
ムスイッチである。14は焦点距離制御手段で、スイッ
チS3の操作方向に操作時間だけ駆動信号をモータ13
に出力し、焦点距離の変更を行わせるものである。な
お、モータ13はギアとクラッチ等を利用すればモータ
10と兼用することもできる。エンコーダ15は撮影レ
ンズ2内のズームレンズと静止側に対面配置された、上
記エンコーダ12と同様のビットマーク部材と読み取り
部材とから構成され、焦点距離に応じたコードデータを
出力するものである。また、この撮影レンズ2は広角の
外側に更に近接撮影を可能にするマクロ領域を有してい
るものが採用されており、マクロ領域にあるかどうかは
エンコーダ15からの位置データにより検出可能になっ
ている。スイッチS4は通常撮影とマクロ領域での撮影
とを切替指示するモードスイッチである。
The switch S3 is a zoom switch whose focal length is changed between the telephoto side and the wide-angle side in accordance with the operation direction. Numeral 14 denotes a focal length control means which outputs a drive signal to the motor 13 in the operation direction of the switch S3 for an operation time.
To change the focal length. The motor 13 can also be used as the motor 10 if a gear and a clutch are used. The encoder 15 includes a bit mark member and a reading member similar to those of the encoder 12, and is arranged to face the zoom lens in the photographing lens 2 on the stationary side, and outputs code data according to the focal length. The photographing lens 2 has a macro area outside of the wide-angle for enabling close-up photographing, and it is possible to detect whether it is in the macro area by the position data from the encoder 15. ing. The switch S4 is a mode switch for instructing switching between normal shooting and shooting in the macro area.

【0018】なお、16は撮影準備スイッチS1がオン
された時に露出検出を行う輝度検出回路で、検出結果に
よって絞り値とシャッタスピードとが設定されるように
なっている。
Reference numeral 16 denotes a luminance detecting circuit for performing exposure detection when the photographing preparation switch S1 is turned on, and an aperture value and a shutter speed are set according to the detection result.

【0019】図3、図4は測距データを得る場合の相関
演算の方法を説明する図である。図3(a)、図4
(a)は片側シフト方式であり、図3(b)、図4
(b)は両側シフト方式を示している。
FIGS. 3 and 4 are diagrams for explaining a method of calculating a correlation when obtaining distance measurement data. FIG. 3 (a), FIG.
FIG. 3A shows a one-side shift system, and FIGS.
(B) shows a double-sided shift method.

【0020】図4に示すように、この例ではオートフォ
ーカス光学系AFの対物レンズ61,62はファインダ
光学系Fのレンズ(本実施例では撮影レンズ2)の右側
に平行配置されている。そして、図3,4に示すよう
に、撮影レンズ2に近い側のラインセンサ81を基準部
とし、ラインセンサ82を参照部とする。なお、被写体
距離3m(図4,Do)に対してファインダ光学系Fの
測距フレームの中心とオートフォーカス光学系AFの測
距エリアの中心とが一致するように設計されているもの
とする。
As shown in FIG. 4, in this example, the objective lenses 61 and 62 of the autofocus optical system AF are arranged in parallel to the right side of the lens of the finder optical system F (the photographing lens 2 in this embodiment). Then, as shown in FIGS. 3 and 4, the line sensor 81 on the side closer to the photographing lens 2 is used as a reference portion, and the line sensor 82 is used as a reference portion. It is assumed that the center of the distance measurement frame of the finder optical system F and the center of the distance measurement area of the autofocus optical system AF coincide with each other with respect to the subject distance of 3 m (Do in FIG. 4).

【0021】片側シフトの場合、説明の便宜上、基準部
のラインセンサ81は受光素子A1〜A4から構成さ
れ、参照部のラインセンサ82は受光素子B1〜B8か
ら構成されているものとし、一方、両側シフトの場合、
説明の便宜上、基準部のラインセンサ81は受光素子A
1〜A6から構成され、参照部のラインセンサ82は受
光素子B1〜B6の同数から構成されているものとす
る。
In the case of the one-side shift, for convenience of explanation, it is assumed that the line sensor 81 of the reference section is constituted by light receiving elements A1 to A4, and the line sensor 82 of the reference section is constituted by light receiving elements B1 to B8. For a two-sided shift,
For convenience of description, the line sensor 81 of the reference unit is a light receiving element A
1 to A6, and the line sensor 82 of the reference unit is assumed to be composed of the same number of light receiving elements B1 to B6.

【0022】先ず、片側シフトの場合を説明すると、ラ
インセンサ81の受光素子は、その選択が固定され、一
方、ラインセンサ82に対しては相関演算に利用される
画素データを出力する受光素子が順次シフトされて選択
される。すなわち、受光素子A1〜A4の画素データに
対して、先ず、受光素子B1〜B4の画素データが選択
されて相関演算が実行され(図4(a)のシフトS0
相当)、更に順次、受光素子A1〜A4の画素データに
対して受光素子B2〜B5の画素データが(図4(a)
のシフトS1に相当)、受光素子A1〜A4の画素デー
タに対して受光素子B3〜B6の画素データが(図4
(a)のシフトS2に相当)、受光素子A1〜A4の画
素データに対して受光素子B4〜B7の画素データが
(図4(a)のシフトS3に相当)、そして最後に、受
光素子A1〜A4の画素データに対して受光素子B5〜
B8の画素データが(図4(a)のシフトSNに相当)
選択されて、それぞれ相関演算が実行される。そして、
各相関演算の結果、所定の閾値を越えていることを条件
に、最も相関値の高いときのデータを測距データとする
という公知の方法が採用されている。所定の閾値は、測
定結果に信頼性があるかどうかを判定するために設定さ
れたものであり、この閾値以下では測距データが得られ
なかったものとして処理される。
First, the case of one-side shift will be described. The selection of the light receiving element of the line sensor 81 is fixed, while the light receiving element for outputting the pixel data used for the correlation calculation is provided for the line sensor 82. They are sequentially shifted and selected. That is, the pixel data of the light receiving element Al to A4, first, the pixel data of the light receiving element B1~B4 correlation calculation is selected is executed (corresponding to the shift S 0 in FIG. 4 (a)), further successively, The pixel data of the light receiving elements B2 to B5 correspond to the pixel data of the light receiving elements A1 to A4 (FIG. 4A).
Equivalent to the shift S 1), the pixel data of the light receiving element B3~B6 the pixel data of the light receiving element A1~A4 (Figure 4
Corresponding to the shift S 2 of (a)), the pixel data of the light receiving element B4~B7 the pixel data of the light receiving element A1~A4 is equivalent to the shift S 3 of (FIG. 4 (a)), and finally, the light-receiving The light receiving elements B5 to B5 correspond to the pixel data of the elements A1 to A4.
The pixel data of B8 is (corresponding to shift SN in FIG. 4A)
The selected correlation calculation is performed. And
A known method is adopted in which the data at the highest correlation value is used as the distance measurement data on condition that the result of each correlation operation exceeds a predetermined threshold value. The predetermined threshold is set in order to determine whether or not the measurement result is reliable. If the measurement result is equal to or smaller than the threshold, it is determined that the distance measurement data has not been obtained.

【0023】次に、両側シフトの場合を説明すると、ラ
インセンサ81,82の受光素子が共に順次シフトされ
て選択される。すなわち、先ず、受光素子A3〜A6の
画素データと受光素子B1〜B4の画素データとが(図
4(b)のシフトS0′に相当)選択されて相関演算が
実行され、更に順次、受光素子A3〜A6の画素データ
と受光素子B2〜B5の画素データとが(図4(b)の
シフトS1′に相当)、受光素子A2〜A5の画素デー
タに対して受光素子B2〜B5の画素データとが(図4
(b)のシフトS2′に相当)、受光素子A2〜A5の
画素データに対して受光素子B3〜B6の画素データと
が(図4(b)のシフトS3′に相当)、そして最後
に、受光素子A1〜A4の画素データに対して受光素子
B3〜B6の画素データとが(図4(b)のシフト
N′に相当)選択されて、それぞれ相関演算が実行さ
れる。そして、各相関演算の結果、最も相関値の高いと
きのデータを測距データとする。
Next, the case of double-side shift will be described. The light receiving elements of the line sensors 81 and 82 are sequentially shifted and selected. That is, first, the pixel data of the light receiving elements A3 to A6 and the pixel data of the light receiving elements B1 to B4 are selected (corresponding to the shift S 0 ′ in FIG. 4B), and the correlation operation is executed. and pixel data elements A3~A6 and pixel data of the light receiving element B2~B5 is (corresponding to the shift S 1 'in FIG. 4 (b)), the light receiving element B2~B5 the pixel data of the light receiving element A2~A5 Pixel data (see FIG. 4)
(Corresponding to the shift S 2 ′ in FIG. 4B), the pixel data of the light receiving elements B 3 to B 6 correspond to the pixel data of the light receiving elements A 2 to A 5 (corresponding to the shift S 3 ′ in FIG. 4B), and finally Then, the pixel data of the light receiving elements A1 to A4 and the pixel data of the light receiving elements B3 to B6 are selected (corresponding to the shift SN 'in FIG. 4B), and the correlation operation is executed. Then, as a result of each correlation operation, data when the correlation value is the highest is set as distance measurement data.

【0024】ここで、図4において、片側シフトの場
合、被写体と測距エリア中心とを結んだ軸は、距離Do
での測距フレームの中心軸と対物レンズ61の主点A1
とを結んだ線分DoA1となる。従って、点Doより十
分近接位置である距離DNでの測距フレームと測距エリ
アとの中心間のずれ(パララックス)はPxとなる。
Here, in FIG. 4, in the case of one-side shift, the axis connecting the subject and the center of the distance measurement area is the distance Do.
Center axis of distance measuring frame and principal point A1 of objective lens 61
And a line segment DoA1 connecting. Accordingly, the deviation between the centers of the distance measurement frame in a close enough position than the point Do distance D N between the ranging area (parallax) is Px.

【0025】一方、両側シフトの場合、被写体と測距エ
リア中心とを結んだ軸は、距離Doでの測距フレームの
中心軸と対物レンズ61,62の主点A1′,A2′の
中点Acとを結んだ線分DoAcとなる。従って、近接
距離DNにおけるパララックスはPx′となる。
On the other hand, in the case of both-side shift, the axis connecting the object and the center of the distance measurement area is the center axis of the distance measurement frame at the distance Do and the middle point between the principal points A1 'and A2' of the objective lenses 61 and 62. It becomes a line segment DoAc connecting Ac. Accordingly, the parallax at close distance D N becomes Px '.

【0026】そして、距離Doより近接距離領域におい
ては、十分に、Px<Px′となるため、相関演算を同
じ回数実行した場合、片側シフトの方がパララックスの
小さい精度の良い測距データを得ることができることと
なる。
Since Px <Px 'is sufficiently satisfied in the close distance region than the distance Do, if the correlation calculation is performed the same number of times, the one-sided shift produces smaller parallax and more accurate distance measurement data. You can get it.

【0027】図5〜図8は、撮影距離に応じた測距フレ
ームと測距エリアとのパララックスを考慮した測距動作
を説明するものである。図5は、撮影距離に応じた測距
フレーム50と測距エリア80とのパララックスの関係
を示す図で、(a)は撮影距離が無限大の場合、(b)
は撮影距離が3mの場合、(c)は撮影距離が1mの場
合、(d)は撮影距離が0.5mの場合である。
FIGS. 5 to 8 illustrate the distance measuring operation in consideration of the parallax between the distance measuring frame and the distance measuring area according to the photographing distance. 5A and 5B are diagrams showing a parallax relationship between the distance measurement frame 50 and the distance measurement area 80 according to the photographing distance. FIG. 5A shows a case where the photographing distance is infinite, and FIG.
Shows a case where the shooting distance is 3 m, (c) shows a case where the shooting distance is 1 m, and (d) shows a case where the shooting distance is 0.5 m.

【0028】図1に示すようにオートフォーカス光学系
AFの光軸はファインダ光学系Fの光軸と離れており、
図1の例では、ファインダ光学系Fの光軸に対して、そ
の右横方向にオートフォーカス光学系AFの光軸が設定
され、ファインダ光学系Fの光軸に近い側にラインセン
サ81が、その右横にラインセンサ82が配設されてい
る。
As shown in FIG. 1, the optical axis of the autofocus optical system AF is separated from the optical axis of the finder optical system F.
In the example of FIG. 1, the optical axis of the autofocus optical system AF is set to the right of the optical axis of the finder optical system F, and the line sensor 81 is located on the side closer to the optical axis of the finder optical system F. A line sensor 82 is provided on the right side.

【0029】ここで図5(a)〜(d)について説明す
る。今、カメラ本体1の前方3mに被写体が位置してお
り、この被写体及びその周辺からの光束が対物レンズ6
1を通過してラインセンサ81上に導かれた場合を考え
る。そして、被写体からの光束の内、ラインセンサ81
で受光される範囲を測距エリア80とするとき、撮影距
離3mで測距エリア80と測距フレーム50とが一致す
るように予め設計されているものとする。すなわち、図
(b)のように被写体が3mの距離にある場合には、フ
ァインダ表示部5に写っている被写体に対して撮影者が
測距を意図する位置である測距フレーム50とカメラが
実際に測距を行う測距エリア80とが一致することとな
る。
Here, FIGS. 5A to 5D will be described. Now, a subject is located 3 m in front of the camera body 1, and a light beam from this subject and its surroundings is
Let us consider a case where the light is guided to the line sensor 81 after passing through the line sensor 81. Then, of the luminous flux from the subject, the line sensor 81
It is assumed that the range in which the light is received by the distance measuring area 80 is designed in advance so that the distance measuring area 80 and the distance measuring frame 50 coincide with each other at a shooting distance of 3 m. That is, when the subject is at a distance of 3 m as shown in FIG. 2B, the distance measurement frame 50, which is the position where the photographer intends to measure the distance, with respect to the subject shown in the viewfinder display unit 5, and the camera. The distance measurement area 80 where distance measurement is actually performed coincides.

【0030】ところで、図(a)のように、3m以上離
れた被写体から対物レンズ61を通過する光束は、この
対物レンズ61の光軸に、より平行な角度から入射され
るため、この遠距離の被写体像はラインセンサ81上で
は左側、すなわちファインダ光学系Fに近づいた側に変
位することとなる。
By the way, as shown in FIG. 3A, a light beam passing through the objective lens 61 from an object at a distance of 3 m or more is incident on the optical axis of the objective lens 61 at a more parallel angle. Is displaced to the left on the line sensor 81, that is, the side closer to the finder optical system F.

【0031】一方、図(c)のように、1m位置の被写
体から対物レンズ61を通過する光束は、この対物レン
ズ61の光軸に対し、よりずれた角度から入射されるた
め、この距離の被写体像はラインセンサ81上では右
側、すなわちファインダ光学系Fから離れる側に変位す
ることとなる。更に、図(d)のように、0.5m位置
の至近距離の被写体から対物レンズ61を通過する光束
は、この対物レンズ61の光軸に対し、更にずれた角度
から入射されるため、この至近距離の被写体像はライン
センサ81上では更に右側に変位し、測距フレームから
略半分が外れてしまうこととなる。
On the other hand, as shown in FIG. 3C, a light beam passing through the objective lens 61 from a subject at a position 1 m is incident on the optical axis of the objective lens 61 at a more shifted angle. The subject image is displaced to the right on the line sensor 81, that is, to the side away from the finder optical system F. Further, as shown in FIG. 4D, a light beam passing through the objective lens 61 from a subject at a close distance of 0.5 m is incident on the optical axis of the objective lens 61 at a further shifted angle. The subject image at the shortest distance is further displaced to the right on the line sensor 81, so that approximately half of the subject image deviates from the distance measurement frame.

【0032】図6は、ラインセンサの構造と測距範囲と
の関係を示す図である。なお、本発明に適用されるライ
ンセンサ81,82の構造は図3,4に示した片側シフ
ト方式、両側シフト方式のいずれにも適用可能であり、
片側シフト方式にあってはラインセンサ82の受光素子
の数はラインセンサ81の受光素子数に対して、例えば
2倍設けられており、両側シフト方式にあっては両ライ
ンセンサ81,82の受光素子数は同一に設定されてい
る。
FIG. 6 is a diagram showing the relationship between the structure of the line sensor and the distance measurement range. The structure of the line sensors 81 and 82 applied to the present invention can be applied to either the one-side shift method or the two-side shift method shown in FIGS.
In the one-side shift system, the number of light-receiving elements of the line sensor 82 is provided, for example, twice as many as the number of light-receiving elements of the line sensor 81; The number of elements is set to be the same.

【0033】説明の便宜上、図6のラインセンサをライ
ンセンサ81として説明する。A〜Gはラインセンサ8
1をその長さ方向で6等分割した点を示し、AF1〜A
F6は測距データを求める際に用いられる測距範囲を示
している。なお、G側はファインダ光学系Fに近い側で
ある。AF1はA〜Cの範囲の受光素子が用いられ、A
F2はB〜Dの範囲の受光素子が用いられ、AF3はC
〜Eの範囲の受光素子が用いられ、AF4はD〜Fの範
囲の受光素子が用いられ、AF5はE〜Gの範囲の受光
素子が用いられ、AF6はA〜Gの範囲、すなわち全受
光素子が用いられる。撮影距離が0.5mより近い至近
距離では、測距フレーム50に対し測距範囲AF4,A
F5が外れていることが分かる。
For convenience of explanation, the line sensor shown in FIG. A to G are line sensors 8
1 shows points obtained by equally dividing 6 in the length direction, and AF1-A
F6 indicates a distance measurement range used when obtaining distance measurement data. The G side is a side close to the finder optical system F. AF1 uses light receiving elements in the range of A to C,
F2 uses a light receiving element in the range of B to D, and AF3 uses C
A light-receiving element in the range from D to F is used for AF4, a light-receiving element in the range from E to G is used for AF5, and a light-receiving element in the range from A to G is used for AF6, An element is used. At a close distance where the shooting distance is shorter than 0.5 m, the distance measurement range AF4, A
It can be seen that F5 is off.

【0034】そして、制御部9は測距範囲AF1〜AF
6のぞれぞれに対して測距データを求めるようにしてい
る。また、図6において、撮影距離が1m〜無限大の範
囲は通常撮影モードとし、0.5m〜1mの至近距離は
マクロモードとして区別され、通常撮影モードとマクロ
モードとが1つの撮影レンズ2で切替設定可能にされて
おり、制御部9はエンコーダ15からの検知データに基
づいて、あるいはモードスイッチS4の状態から、いず
れのモードにあるかが識別されるようになっている。ま
た、制御部9はマクロモードに設定されているときは、
測距フレーム内として測距範囲AF1〜AF3を設定
し、測距フレーム外として測距範囲AF4,AF5及び
AF6を設定するようにしている。この測距フレーム
内、外と各測距範囲との対応関係はROM92に記憶さ
れている。なお、マクロ領域かどうかの識別は、撮影レ
ンズの種類によっては、エンコーダ15に代えてエンコ
ーダ12で識別することも可能である。
The control unit 9 determines the distance measurement ranges AF1 to AF
Distance measurement data is obtained for each of the six types. In FIG. 6, the range where the shooting distance is 1 m to infinity is the normal shooting mode, and the close range of 0.5 m to 1 m is classified as the macro mode. The normal shooting mode and the macro mode are separated by one shooting lens 2. The switching can be set, and the control unit 9 identifies which mode is set based on the detection data from the encoder 15 or from the state of the mode switch S4. When the control unit 9 is set to the macro mode,
Distance measurement ranges AF1 to AF3 are set within the distance measurement frame, and distance measurement ranges AF4, AF5, and AF6 are set outside the distance measurement frame. The correspondence between the inside and outside of the distance measurement frame and each distance measurement range is stored in the ROM 92. It should be noted that whether or not the area is a macro area can be identified by the encoder 12 instead of the encoder 15 depending on the type of the photographing lens.

【0035】次に、図7のフローチャートを用いて、測
距データの算出動作について説明する。スイッチS1が
オンされると、測距処理が開始され対物レンズ61,6
2を通過した被写体の光束がラインセンサ81,82の
全受光素子で受光され、デジタル値に変換されて制御部
9に取り込まれる(#2)。
Next, the operation of calculating the distance measurement data will be described with reference to the flowchart of FIG. When the switch S1 is turned on, the distance measurement process is started and the objective lenses 61 and 6 are started.
The luminous flux of the subject passing through 2 is received by all the light receiving elements of the line sensors 81 and 82, converted into a digital value, and taken into the control unit 9 (# 2).

【0036】取り込まれた全受光素子からの画素データ
に基づいて各測距範囲AF1〜AF6に対してラインセ
ンサ81とラインセンサ82間で相関処理が実行され、
各測距データが算出される(#4)。ここで、撮影レン
ズ2がマクロモードに設定されているかどうかが判別さ
れ(#6)、マクロモードでなければ、通常モードであ
るので通常の測距処理「通常撮影」(#8)が実行され
て、本フローを終了する。一方、マクロモードであれ
ば、測距範囲AF1〜AF5で測距データが得られたか
どうかが判別される(#10)。測距範囲AF1〜AF
5で測距データが得られているのであれば、更に測距フ
レーム内、すなわち測距範囲AF1〜AF3で測距デー
タが得られているかどうかが判別される(#12)。測
距範囲AF1〜AF3で測距データが得られていれば、
その測距データが所定値、例えば1m以下であるかどう
かが判別され(#14)、所定値以下であれば、その内
の最近値を測距データとして選択して(#16)、本フ
ローを終了する。
Correlation processing is performed between the line sensor 81 and the line sensor 82 for each of the distance measurement ranges AF1 to AF6 based on the taken pixel data from all the light receiving elements.
Each distance measurement data is calculated (# 4). Here, it is determined whether or not the photographing lens 2 is set to the macro mode (# 6). If the photographing lens 2 is not in the macro mode, since the normal mode is set, the normal distance measurement process "normal photographing"(# 8) is executed. Then, this flow ends. On the other hand, in the macro mode, it is determined whether or not the distance measurement data has been obtained in the distance measurement ranges AF1 to AF5 (# 10). AF area AF1-AF
If the distance measurement data is obtained in step 5, it is further determined whether or not the distance measurement data is obtained in the distance measurement frame, that is, in the distance measurement ranges AF1 to AF3 (# 12). If the distance measurement data is obtained in the distance measurement ranges AF1 to AF3,
It is determined whether or not the distance measurement data is equal to or less than a predetermined value, for example, 1 m (# 14). If the distance measurement data is equal to or less than the predetermined value, the latest value is selected as the distance measurement data (# 16). To end.

【0037】#12、#14でNOの場合には、続いて
測距フレーム外、すなわち測距範囲AF4,AF5で測
距データが得られているかどうかが判別される(#1
8)。測距範囲AF4,AF5で測距データが得られて
いれば、その測距データが所定値、例えば1m以下であ
るかどうかが判別され(#20)、所定値以下であれ
ば、その内の最近値を測距データとして選択して(#2
2)、本フローを終了する。また、#18、#20でN
Oであれば、測距不可として特定値、例えば0.6mを
セットして(#24)、本フローを終了する。
If NO in steps # 12 and # 14, it is then determined whether or not distance measurement data has been obtained outside the distance measurement frame, that is, in the distance measurement ranges AF4 and AF5 (# 1).
8). If the distance measurement data is obtained in the distance measurement ranges AF4 and AF5, it is determined whether or not the distance measurement data is a predetermined value, for example, 1 m or less (# 20). Select the latest value as the distance measurement data (# 2
2), end this flow. Also, N in # 18 and # 20
If it is O, a specific value, for example, 0.6 m is set as distance measurement impossible (# 24), and this flow ends.

【0038】一方、#10で、測距範囲AF1〜AF5
で測距データが得られなかった場合には、測距範囲AF
6で測距データが得られたかどうかが判別され(#2
6)、測距範囲AF6でも測距データが得られていない
ときは、#24に進んで所定値0.6mをセットする。
一方、測距範囲AF6で測距データが得られているので
あれば、その測距データが所定値1m以下であるかどう
かが判別され(#28)、所定値以下であれば、その測
距データが採用されて(#30)、本フローを終了す
る。
On the other hand, in # 10, the distance measurement ranges AF1 to AF5
If no distance measurement data was obtained in
It is determined in Step 6 whether or not the distance measurement data has been obtained (# 2).
6) If no distance measurement data has been obtained even in the distance measurement range AF6, the process proceeds to # 24, where a predetermined value of 0.6 m is set.
On the other hand, if the distance measurement data has been obtained in the distance measurement range AF6, it is determined whether or not the distance measurement data is equal to or less than a predetermined value 1m (# 28). The data is adopted (# 30), and this flow ends.

【0039】図8は、#8の「通常処理」のサブルーチ
ンを示すフローチャートである。通常処理では、先ず、
測距範囲AF1〜AF5で測距データが得られたかどう
かが判別され(#40)、測距データが得られていれ
ば、その内の最近値を測距データとして選択して(#4
2)、リターンする。一方、測距データが得られていな
ければ、測距範囲AF6で測距データが得られているか
どうかが判別され(#44)、測距データが得られてい
れば、その測距範囲AF6の測距データが採用され(#
46)、逆に、測距データが得られていなければ、測距
不可として特定値、例えば0.6mをセットして(#4
8)、リターンする。
FIG. 8 is a flowchart showing a subroutine of "normal processing" of # 8. In normal processing, first,
It is determined whether or not the distance measurement data has been obtained in the distance measurement ranges AF1 to AF5 (# 40). If the distance measurement data has been obtained, the latest value is selected as the distance measurement data (# 4).
2) Return. On the other hand, if the distance measurement data has not been obtained, it is determined whether or not the distance measurement data has been obtained in the distance measurement range AF6 (# 44). Distance measurement data is adopted (#
46) Conversely, if the distance measurement data has not been obtained, a specific value, for example, 0.6 m is set as distance measurement impossible (# 4).
8) Return.

【0040】このように、検出された焦点位置に応じ
て、測距フレーム内の測距範囲で測距データを得、この
測距データで焦点位置調整を行うとともに、上記測距デ
ータが有効でないときは、その測距フレーム外の測距範
囲での測距データを採用するようにしたので、測距不可
の発生がより低減することとなる。
As described above, in accordance with the detected focus position, the distance measurement data is obtained in the distance measurement range in the distance measurement frame, the focus position is adjusted using the distance measurement data, and the distance measurement data is not valid. At this time, since the distance measurement data in the distance measurement range outside the distance measurement frame is adopted, the occurrence of distance measurement failure is further reduced.

【0041】図9〜図11は、測距フレーム50に対す
る、撮影レンズ2の焦点距離に応じた測距エリア80の
拡縮を考慮した測距動作を説明するものである。
FIGS. 9 to 11 illustrate the distance measuring operation for the distance measuring frame 50 in consideration of the enlargement and reduction of the distance measuring area 80 according to the focal length of the photographing lens 2. FIG.

【0042】図9は、測距フレーム50に対する焦点距
離に応じた測距エリア80の拡縮の関係を示す図で、
(a)は焦点距離f=35mmの場合、(b)は焦点距
離f=70mmの場合、(c)は焦点距離f=105m
mの場合である。
FIG. 9 is a diagram showing the relationship between the scaling of the ranging area 80 according to the focal length with respect to the ranging frame 50.
(A) when the focal length f = 35 mm, (b) when the focal length f = 70 mm, (c) when the focal length f = 105 m
m.

【0043】測距フレーム50に対して測距エリア80
が拡縮変化する理由は以下のとおりである。ファインダ
光学系Fは撮影レンズ2の焦点距離f、すなわち像倍率
に応じてファインダ視野倍率が変化する一方、オートフ
ォーカス光学系AFの倍率は固定されている。この場
合、測距エリア80はファインダ視野倍率とは無関係に
固定されており、あくまで被写体の特定位置に対して測
距を実行することとなる。一方、ファインダ表示部5に
写る被写体はファインダ倍率に応じて拡大、縮小変化す
るから、その測距フレーム50の枠内に収まる被写体の
範囲はファインダ視野倍率に応じて異なることとなる。
With respect to the distance measuring frame 50, the distance measuring area 80
The reason why changes in scale is as follows. In the finder optical system F, the finder field magnification changes in accordance with the focal length f of the photographing lens 2, that is, the image magnification, while the magnification of the autofocus optical system AF is fixed. In this case, the distance measurement area 80 is fixed irrespective of the viewfinder magnification, and the distance measurement is performed for a specific position of the subject. On the other hand, the subject shown in the finder display unit 5 is enlarged or reduced in accordance with the finder magnification, so that the range of the subject that fits within the frame of the distance measurement frame 50 differs depending on the finder field magnification.

【0044】図9において、図(a)は測距フレーム5
0と測距エリア80との大きさが一致しており、この状
態では、測距フレーム50内でカメラでの実際の測距デ
ータが得られるため、撮影者の意図する測距位置と一致
する。しかし、図(b)、更には図(c)のように、フ
ァインダ倍率が大きくなるにしたがってファインダ表示
部5に写る被写体も(測距エリア80も)拡大され、測
距フレーム50内には被写体の一部しか収まらないこと
となり、実際に測距が実行される測距エリア80とずれ
を生じてくる。
FIG. 9A shows the distance measuring frame 5.
Since the size of 0 and the size of the distance measurement area 80 match, and in this state, the actual distance measurement data of the camera is obtained in the distance measurement frame 50, it matches the distance measurement position intended by the photographer. . However, as shown in FIG. 5B and further as shown in FIG. 5C, as the finder magnification increases, the subject shown on the finder display unit 5 (and the distance measurement area 80) is also enlarged. Of the distance measuring area 80, which is shifted from the distance measuring area 80 in which the distance is actually measured.

【0045】図10は、ラインセンサの構造と測距範囲
との関係を示す図である。なお、本発明に適用されるラ
インセンサ81,82の構造は図3,4に示した片側シ
フト方式、両側シフト方式のいずれにも適用可能であ
り、片側シフト方式にあってはラインセンサ82の受光
素子の数はラインセンサ81の受光素子数に対して、例
えば2倍設けられており、両側シフト方式にあっては両
ラインセンサ81,82の受光素子数は同一に設定され
ている。
FIG. 10 is a diagram showing the relationship between the structure of the line sensor and the distance measurement range. The structure of the line sensors 81 and 82 applied to the present invention can be applied to either the one-side shift system or the two-side shift system shown in FIGS. The number of light receiving elements is, for example, twice as large as the number of light receiving elements of the line sensor 81. In the double-sided shift method, the number of light receiving elements of both line sensors 81 and 82 is set to be the same.

【0046】説明の便宜上、図10のラインセンサをラ
インセンサ81として説明する。A〜Gはラインセンサ
81をその長さ方向で6等分割した点を示し、AF1〜
AF6は測距データを求める際に用いられる測距範囲を
示している。なお、G側はファインダ光学系Fに近い側
である。AF1はA〜Cの範囲の受光素子が用いられ、
AF2はB〜Dの範囲の受光素子が用いられ、AF3は
C〜Eの範囲の受光素子が用いられ、AF4はD〜Fの
範囲の受光素子が用いられ、AF5はE〜Gの範囲の受
光素子が用いられ、AF6はA〜Gの範囲、すなわち全
受光素子が用いられる。撮影レンズ2の焦点距離が10
5mmでは測距範囲AF1,AF5が測距フレーム50
から外れていることが分かる。
For convenience of explanation, the line sensor shown in FIG. A to G indicate points obtained by dividing the line sensor 81 into six equal parts in its length direction.
AF6 indicates a distance measurement range used when obtaining distance measurement data. The G side is a side close to the finder optical system F. AF1 uses light receiving elements in the range of A to C,
AF2 uses a light receiving element in a range of BD, AF3 uses a light receiving element in a range of CE, AF4 uses a light receiving element in a range of DF, and AF5 uses a light receiving element in a range of EG. A light receiving element is used, and AF6 uses a range of A to G, that is, all light receiving elements. The focal length of the taking lens 2 is 10
At 5 mm, the distance measurement ranges AF1 and AF5 are
You can see that it is out of the range.

【0047】そして、制御部9は測距範囲AF1〜AF
6のぞれぞれに対して測距データを求めるようにしてい
る。また、図10において、撮影レンズ2は焦点距離が
少なくとも35mm〜105mmの範囲で変更可能にな
されており、制御部9はエンコーダ15からの検知デー
タに基づいて、ROM92に予め記憶されているテーブ
ル、すなわち表1を用いて、いずれの焦点距離範囲にあ
るかを判別するとともに、対応する焦点距離範囲に対応
した測距範囲を測距フレーム内、外として設定するよう
になっている。
Then, the control unit 9 determines the distance measurement ranges AF1 to AF
Distance measurement data is obtained for each of the six types. In FIG. 10, the photographing lens 2 has a focal length that can be changed within a range of at least 35 mm to 105 mm, and the control unit 9 uses a table previously stored in the ROM 92 based on detection data from the encoder 15. That is, using Table 1, it is determined which focal length range is located, and the ranging range corresponding to the corresponding focal length range is set as inside or outside the ranging frame.

【0048】[0048]

【表1】 [Table 1]

【0049】すなわち、焦点距離fが35mm〜55m
mの範囲では、図10に示すように測距フレームと測距
エリアとが略一致するので、全測距範囲AF1〜AF5
が測距フレーム内と設定されている。焦点距離fが56
mm〜85mmの範囲では、図10に示すように測距範
囲AF1,AF5の一部が測距フレーム50から一部は
み出しているので、測距範囲AF2〜AF4が測距フレ
ーム内とされ、測距範囲AF1,AF5が測距フレーム
外と設定されている。また、焦点距離fが86mm〜1
05mmの範囲では、図10に示すように更に測距範囲
AF2,AF4の一部も測距フレーム50から一部はみ
出しているので、測距範囲AF3が測距フレーム内とさ
れ、測距範囲AF1,AF2,AF4,AF5が測距フ
レーム外と設定されている。
That is, the focal length f is 35 mm to 55 m
In the range of m, the distance measurement frame and the distance measurement area substantially match as shown in FIG.
Is set to be within the distance measurement frame. Focal length f is 56
In the range of mm to 85 mm, as shown in FIG. 10, a part of the distance measurement ranges AF1 and AF5 partially protrude from the distance measurement frame 50, so that the distance measurement ranges AF2 to AF4 are included in the distance measurement frame. The distance ranges AF1 and AF5 are set outside the distance measurement frame. Further, the focal length f is 86 mm to 1
In the range of 05 mm, as shown in FIG. 10, a part of the distance measurement ranges AF2 and AF4 also partially protrude from the distance measurement frame 50, so that the distance measurement range AF3 is within the distance measurement frame and the distance measurement range AF1 is set. , AF2, AF4, and AF5 are set outside the distance measurement frame.

【0050】次に、図11のフローチャートを用いて、
測距データの算出動作について説明する。スイッチS1
がオンされると、測距処理が開始され対物レンズ61,
62を通過した被写体の光束がラインセンサ81,82
の全受光素子で受光され、デジタル値に変換されて制御
部9に取り込まれる(#60)。
Next, using the flowchart of FIG.
The calculation operation of the distance measurement data will be described. Switch S1
Is turned on, the distance measurement process is started and the objective lens 61,
The luminous flux of the subject that has passed through the line sensors 81 and 82
Are received by all the light receiving elements, and are converted into digital values and taken into the control section 9 (# 60).

【0051】取り込まれた全受光素子からの画素データ
に基づいて各測距範囲AF1〜AF6に対してラインセ
ンサ81とラインセンサ82間で相関処理が実行され、
各測距データが算出される(#62)。ここで、撮影レ
ンズ2の焦点距離がエンコーダ15より読み込まれ(#
64)、次いで、表1に基づいて焦点距離に対応した測
距範囲、すなわち測距フレーム内で測距データが得られ
たかどうかが判別され(#66)、測距データが得られ
ているのであれば、その内の最近値を測距データとして
選択して(#68)、本フローを終了する。
Correlation processing is executed between the line sensor 81 and the line sensor 82 for each of the distance measurement ranges AF1 to AF6 based on the taken pixel data from all the light receiving elements.
Each distance measurement data is calculated (# 62). Here, the focal length of the photographic lens 2 is read from the encoder 15 (##
64) Then, based on Table 1, it is determined whether or not the distance measurement range corresponding to the focal length, that is, whether or not the distance measurement data has been obtained within the distance measurement frame (# 66), and the distance measurement data has been obtained. If there is, the latest value is selected as the distance measurement data (# 68), and this flow ends.

【0052】一方、測距フレーム内で測距データが得ら
れていなければ、続いて、測距フレーム外、すなわちそ
れ以外の測距範囲で測距データが得られたかどうかが判
別され(#70)、測距データが得られているのであれ
ば、その内の最近値を測距データとして選択して(#7
2)、本フローを終了する。
On the other hand, if no ranging data has been obtained within the ranging frame, it is subsequently determined whether or not ranging data has been obtained outside the ranging frame, that is, in another ranging range (# 70). ), If distance measurement data has been obtained, the latest value is selected as distance measurement data (# 7).
2), end this flow.

【0053】更に、測距フレーム外でも測距データが得
られていなければ、測距範囲AF6で測距データが得ら
れているかどうかが判別され(#74)、得られていれ
ば、その値を測距データとして採用する(#76)。得
られていなければ、測距不可として特定値、例えば10
mをセットして(#78)、リターンする。
Further, if no ranging data is obtained outside the ranging frame, it is determined whether or not ranging data is obtained in the ranging area AF6 (# 74). Is adopted as distance measurement data (# 76). If not obtained, a specific value, for example, 10
m is set (# 78), and the routine returns.

【0054】このように、検出された焦点距離に応じ
て、測距フレーム内の測距範囲で測距データを得、この
測距データで焦点位置調整を行うとともに、上記測距デ
ータが有効でないときは、測距フレーム外の測距範囲で
の測距データを採用するようにしたので、測距不可の発
生がより低減することとなる。
As described above, in accordance with the detected focal length, the distance measurement data is obtained in the distance measurement range in the distance measurement frame, the focal position is adjusted using the distance measurement data, and the distance measurement data is not valid. At this time, since the distance measurement data in the distance measurement range outside the distance measurement frame is adopted, the occurrence of distance measurement failure is further reduced.

【0055】[0055]

【発明の効果】本発明は、近接撮影モードのときは、測
距フレーム内に対する画素データから第1の測距データ
の算出を行わせるとともに、測距フレーム外に対する画
素データから第2の測距データの算出を行わせ、第1の
測距データが得られないときは、第2の測距データを採
用するようにしたので、パララックスが大きい近接撮影
モードに対しても、測距確率を高レベルに維持できる。
According to the present invention, in the close-up shooting mode, the first distance measurement data is obtained from the pixel data in the distance measurement frame.
Of the distance measurement frame.
The second distance measurement data is calculated from the raw data, and the first distance measurement data is calculated.
When the distance measurement data cannot be obtained, the second distance measurement data is adopted, so that the distance measurement probability can be maintained at a high level even in the close-up shooting mode having a large parallax.

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

【図1】本発明に係る測距装置が適用されるカメラの光
学系の一例を示す平面図である。
FIG. 1 is a plan view showing an example of an optical system of a camera to which a distance measuring apparatus according to the present invention is applied.

【図2】本発明が適用されるカメラの制御系を説明する
ブロック図である。
FIG. 2 is a block diagram illustrating a control system of a camera to which the present invention is applied.

【図3】測距データを得る場合の相関演算の方法を説明
する図で、図(a)は片側シフト方式であり、図(b)
は両側シフト方式を示している。
3A and 3B are diagrams for explaining a method of correlation calculation when obtaining distance measurement data. FIG. 3A shows a one-side shift method, and FIG.
Indicates a two-sided shift method.

【図4】測距データを得る場合の相関演算の方法を説明
する図で、図(a)は片側シフト方式であり、図(b)
は両側シフト方式を示している。
4A and 4B are diagrams for explaining a correlation calculation method when obtaining distance measurement data. FIG. 4A shows a one-side shift method, and FIG.
Indicates a two-sided shift method.

【図5】撮影距離に応じた測距フレームと測距エリアと
のパララックスの関係を示す図で、(a)は撮影距離が
無限大の場合、(b)は撮影距離が3mの場合、(c)
は撮影距離が1mの場合、(d)は撮影距離が0.5m
の場合である。
5A and 5B are diagrams illustrating a parallax relationship between a ranging frame and a ranging area according to a shooting distance, wherein FIG. 5A illustrates a case where the shooting distance is infinite, FIG. 5B illustrates a case where the shooting distance is 3 m, (C)
Indicates that the shooting distance is 1 m, and (d) indicates that the shooting distance is 0.5 m.
Is the case.

【図6】ラインセンサの構造と測距範囲との関係を示す
図である。
FIG. 6 is a diagram showing a relationship between the structure of a line sensor and a distance measurement range.

【図7】測距データの算出動作を説明するフローチャー
トである。
FIG. 7 is a flowchart illustrating an operation of calculating distance measurement data.

【図8】「通常処理」のサブルーチンを示すフローチャ
ートである。
FIG. 8 is a flowchart showing a subroutine of “normal processing”.

【図9】測距フレームに対する焦点距離に応じた測距エ
リアとの拡縮の関係を示す図で、(a)は焦点距離f=
35mmの場合、(b)は焦点距離f=70mmの場
合、(c)は焦点距離f=105mmの場合である。
FIGS. 9A and 9B are diagrams showing a scaling relationship between a distance measurement frame and a distance measurement area according to a focal length, wherein FIG.
In the case of 35 mm, (b) shows the case where the focal length f = 70 mm, and (c) shows the case where the focal length f = 105 mm.

【図10】ラインセンサの構造と測距範囲との関係を示
す図である。
FIG. 10 is a diagram showing a relationship between the structure of a line sensor and a distance measurement range.

【図11】測距データの算出動作を説明するフローチャ
ートである。
FIG. 11 is a flowchart illustrating an operation of calculating distance measurement data.

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

1 カメラ本体 2 撮影レンズ 3 フィルム 4 ミラー 5 ファインダ表示部 50 測距フレーム 61,62 対物レンズ 71,72,73 ミラー 80 測距エリア 81,82 ラインセンサ F ファインダ光学系 AF オートフォーカス光学系 9 制御部 91 CPU 92 ROM 10,13 モータ 11 レンズ制御回路 12,15 エンコーダ 14 焦点距離制御回路 S1 撮影準備スイッチ S2 レリーズスイッチ S3 ズームスイッチ S4 モードスイッチ AF1〜AF6 測距範囲 A1〜A6,B1〜B8 受光素子 DESCRIPTION OF SYMBOLS 1 Camera main body 2 Photographing lens 3 Film 4 Mirror 5 Viewfinder display unit 50 Distance measuring frame 61, 62 Objective lens 71, 72, 73 Mirror 80 Distance measuring area 81, 82 Line sensor F Finder optical system AF autofocus optical system 9 Control unit 91 CPU 92 ROM 10, 13 Motor 11 Lens control circuit 12, 15 Encoder 14 Focal length control circuit S1 Shooting preparation switch S2 Release switch S3 Zoom switch S4 Mode switch AF1 to AF6 Distance measurement range A1 to A6, B1 to B8 Light receiving element

フロントページの続き (56)参考文献 特開 平2−293833(JP,A) 特開 平2−163715(JP,A) 特開 昭60−183879(JP,A) 特開 昭63−26611(JP,A) 特開 昭62−267713(JP,A) 特開 平4−92578(JP,A) 特開 平5−5833(JP,A) 特開 平2−199436(JP,A) 特開 平7−281085(JP,A) (58)調査した分野(Int.Cl.7,DB名) G02B 7/28 - 7/34 Continuation of the front page (56) References JP-A-2-293833 (JP, A) JP-A-2-163715 (JP, A) JP-A-60-183879 (JP, A) JP-A-63-26611 (JP) JP-A-62-267713 (JP, A) JP-A-4-92578 (JP, A) JP-A-5-5833 (JP, A) JP-A-2-199436 (JP, A) 7-281085 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) G02B 7/ 28-7/34

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 得られた測距データに基づいて焦点位置
調整される撮影光学系と測距フレームが表記されたファ
インダ光学系とを有するカメラにおいて、上記ファイン
ダ光学系とは異なる光軸を有する三角測距式のオートフ
ォーカス光学系から導かれた被写体像を受光し、その画
素データをそれぞれ取り込む一対のラインセンサと、一
対のラインセンサからの画素データを用いて三角測距の
ための測距演算を実行して測距データを算出する測距手
段と、近接撮影モードであるか否かを判断する判断手段
と、近接撮影モードにおいて上記測距フレーム内に対応
する画素データの範囲と測距フレーム外に対応した画素
データの範囲とを記憶する記憶手段と、近接撮影モード
であると判断されたときは上記測距手段に対して、測距
フレーム内に対する画素データから第1の測距データの
算出を行わせるとともに、測距フレーム外に対する画素
データから第2の測距データの算出を行わせ、上記第1
の測距データが得られないときは上記第2の測距データ
を採用するようにした演算切換手段とを備えてなること
を特徴とするカメラの測距装置。
1. A camera having a photographic optical system whose focal position is adjusted based on obtained distance measurement data and a finder optical system in which a distance measurement frame is indicated, has an optical axis different from that of the finder optical system. A pair of line sensors that receive the subject image guided from the triangulation-type autofocus optical system and take in the pixel data respectively, and distance measurement for triangulation using pixel data from the pair of line sensors Distance measurement means for calculating distance measurement data by performing an operation; determination means for determining whether or not the camera is in a close-up shooting mode; and a range of pixel data corresponding to the distance measurement frame and the distance measurement in the close-up shooting mode A storage unit for storing a range of pixel data corresponding to the outside of the frame; and a distance measurement unit for determining whether the mode is the close-up shooting mode. From the pixel data to the first ranging data
Calculation is performed, and pixels outside the distance measurement frame
From the data to perform the calculation of the second distance measurement data, the first
And a calculation switching means for employing the second distance measurement data when the distance measurement data cannot be obtained .
JP12515694A 1994-06-07 1994-06-07 Camera ranging device Expired - Fee Related JP3216423B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP12515694A JP3216423B2 (en) 1994-06-07 1994-06-07 Camera ranging device
US08/464,941 US5805939A (en) 1994-06-07 1995-06-05 Camera arranged with a viewfinder system having an optical axis different from that of a distance measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12515694A JP3216423B2 (en) 1994-06-07 1994-06-07 Camera ranging device

Publications (2)

Publication Number Publication Date
JPH07333491A JPH07333491A (en) 1995-12-22
JP3216423B2 true JP3216423B2 (en) 2001-10-09

Family

ID=14903268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12515694A Expired - Fee Related JP3216423B2 (en) 1994-06-07 1994-06-07 Camera ranging device

Country Status (1)

Country Link
JP (1) JP3216423B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003215442A (en) * 2002-01-25 2003-07-30 Canon Inc Multipoint range-finding device

Also Published As

Publication number Publication date
JPH07333491A (en) 1995-12-22

Similar Documents

Publication Publication Date Title
JP4018218B2 (en) Optical apparatus and distance measuring point selection method
JP3584108B2 (en) Lens barrel
US6463214B1 (en) Multi-point autofocus system
JP4630649B2 (en) camera
US5805939A (en) Camera arranged with a viewfinder system having an optical axis different from that of a distance measuring device
JP3216423B2 (en) Camera ranging device
EP1037086B1 (en) Focus detecting device and apparatus having the same
JP5966299B2 (en) FOCUS DETECTION DEVICE AND IMAGING DEVICE HAVING THE SAME
JPH07333492A (en) Range finder for camera
JP2621304B2 (en) Camera system
JP2005062729A (en) Camera
JP4862297B2 (en) Electronic camera and camera system
JP5171124B2 (en) Focus adjustment device, imaging device, and focus adjustment method
JP3374526B2 (en) Camera ranging device
JP2620938B2 (en) Camera autofocus device
JP4558174B2 (en) Ranging device
JP4887570B2 (en) Interchangeable shooting lens
JP2001083563A (en) Camera
JP2007240566A (en) Focus detecting device, optical apparatus and camera
JPH0926615A (en) Finder device
JP3266762B2 (en) Optical equipment
JP5402129B2 (en) Focus detection device, focus adjustment device, and imaging device
JP4282404B2 (en) camera
JPH11153750A (en) Multi-point range-finder
JPH07318787A (en) Automatic zoom device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080803

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080803

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090803

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees