JP2010066712A - Focus adjusting device and image pickup apparatus - Google Patents

Focus adjusting device and image pickup apparatus Download PDF

Info

Publication number
JP2010066712A
JP2010066712A JP2008235271A JP2008235271A JP2010066712A JP 2010066712 A JP2010066712 A JP 2010066712A JP 2008235271 A JP2008235271 A JP 2008235271A JP 2008235271 A JP2008235271 A JP 2008235271A JP 2010066712 A JP2010066712 A JP 2010066712A
Authority
JP
Japan
Prior art keywords
focus
correlation
sensor
lens
shift
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.)
Withdrawn
Application number
JP2008235271A
Other languages
Japanese (ja)
Inventor
Hitoshi Tsuchiya
仁司 土屋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Corp
Original Assignee
Olympus Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Corp filed Critical Olympus Corp
Priority to JP2008235271A priority Critical patent/JP2010066712A/en
Publication of JP2010066712A publication Critical patent/JP2010066712A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce the risk of missing photo opportunity by reducing the possibility of shifting to the scanning auto focus by enlarging the defocusing range. <P>SOLUTION: A position with the highest correlation value between the correlation sensing blocks Ha is sensed by a first sensing means of an AF controller 122 as the focus position while displacing the correlation sensing blocks Ha of a pair of sensor arrays SA and SB. In the case the focus displacement is not sensed with the first focus sensing means, a position with the highest correlation value between the correlation sensing blocks Hb is sensed by a second sensing means as the focus position while displacing the correlation sensing blocks Hb narrower than the correlation sensing blocks Ha of a pair of the sensor arrays SA and SB. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、被写体像よりフォーカスのずれを検出するフォーカス調整装置及び当該フォーカス調整装置を備える撮像装置に関する。   The present invention relates to a focus adjustment device that detects a focus shift from a subject image, and an imaging device including the focus adjustment device.

従来、デジタル一眼レフレックスカメラのオートフォーカス方式の一つに位相差方式がある。この位相差方式のオートフォーカス(AF)は、フォーカスのずれを検知するセンサ(これ以降、AFセンサを称する)を用いて一対の視差をもつセンサ出力のずれを検知することで、フォーカスのずれを求める。
このオートフォーカスによりフォーカスのずれを検出できなかった場合、スキャンAFに移行する。このスキャンAFは、フォーカス調整用のレンズを無限遠(∞)端から至近端まで移動させながらフォーカスのずれを検出できる位置を検索する。
Conventionally, there is a phase difference method as one of the autofocus methods of a digital single lens reflex camera. This phase difference type autofocus (AF) detects a shift in the output of a sensor having a pair of parallaxes using a sensor that detects a shift in focus (hereinafter referred to as an AF sensor), thereby reducing the shift in focus. Ask.
When focus shift cannot be detected by this autofocus, the process proceeds to scan AF. This scan AF searches for a position where a focus shift can be detected while moving the focus adjustment lens from the infinity (∞) end to the closest end.

しかしながら、スキャンAFは、フォーカス調整用のレンズを駆動しながらフォーカスのずれを検出するため、合焦するまでに時間がかかってしまい、この結果としてシャッターチャンスを逃してしまうおそれがある。   However, since scan AF detects a focus shift while driving a focus adjustment lens, it takes time to focus, and as a result, there is a possibility of missing a photo opportunity.

このような問題の解決する技術として例えば特許文献1がある。この特許文献1は、撮影レンズを介して被写体を撮像して焦点検出用画像データを出力する光電変換手段と、焦点調節指令を出力する指令出力手段と、指令出力手段から焦点調節指令が出力されたとき、光電変換手段から出力される焦点検出用画像データに基づいて、撮影レンズの焦点調節状態を検出する焦点検出手段と、焦点検出手段の検出結果に基づいて、焦点検出可能か不能かを判定する判定手段と、焦点調節指令が出力された際、判定手段で焦点検出不能と判定された場合、撮影レンズをスキャン動作させながら光電変換手段で被写体を撮像するスキャン動作制御手段と、指令出力手段から焦点調節指令が出力されなくなった後、所定時間はスキャン動作を禁止する禁止手段と、判定手段により焦点検出可能と判定された場合、焦点検出手段の検出結果に基づいて撮影レンズを合焦位置に向けて駆動するレンズ駆動手段とを備えることで、所定時間はスキャン動作を禁止するようにすることで、無用なスキャン動作を抑制してシャッターチャンスを逃すことを防止していた。
特開2006−220928号公報
For example, Patent Literature 1 discloses a technique for solving such a problem. In Patent Document 1, a photoelectric conversion unit that captures an image of a subject through a photographing lens and outputs focus detection image data, a command output unit that outputs a focus adjustment command, and a focus adjustment command are output from the command output unit. A focus detection unit that detects the focus adjustment state of the photographic lens based on the focus detection image data output from the photoelectric conversion unit, and whether or not focus detection is possible based on the detection result of the focus detection unit. When the determination means determines that the focus detection is impossible when the focus adjustment command is output, the scan operation control means for imaging the subject with the photoelectric conversion means while performing the scanning operation of the photographing lens, and the command output After the focus adjustment command is no longer output from the means, the prohibition means for prohibiting the scanning operation for a predetermined time and the focus detection when the determination means determines that focus detection is possible. And a lens driving unit that drives the photographic lens toward the in-focus position based on the detection result of the output unit, thereby prohibiting the scanning operation for a predetermined time, thereby suppressing the unnecessary scanning operation. Preventing missed photo opportunities.
JP 2006220928 A

フォーカスのずれが検出できない要因として例えば2つある。1つの理由は、被写体のコントラストが低いために、AFセンサが十分に機能しない場合であり、もう1つの理由は、AFセンサのフォーカスのずれを検出できる範囲すなわちデフォーカス範囲を超えた位置に合焦位置が存在する場合である。
前者の要因では、スキャンAFを行っても合焦位置を検出できる可能性が低い。これに対して後者の要因では、スキャンAFで合焦位置を検出できる。
For example, there are two factors that cannot detect a focus shift. One reason is that the AF sensor does not function sufficiently because the contrast of the subject is low, and the other reason is that the AF sensor is in a range where the focus shift of the AF sensor can be detected, that is, beyond the defocus range. This is a case where a focal position exists.
The former factor is unlikely to be able to detect the in-focus position even after performing scan AF. On the other hand, with the latter factor, the focus position can be detected by scan AF.

しかながら、例えば特許文献1では、スキャンAFの連続を防ぐことにはなるが、合焦までの時間を短縮するという本質的な問題の解決方法ではない。   However, in Patent Document 1, for example, although continuous scan AF is prevented, it is not a solution for the essential problem of shortening the time until focusing.

本発明は、上記問題に着眼しなされたものであり、デフォーカス範囲を広くすることによってスキャンAFに移行する可能性を低減し、シャッターチャンスを逃すおそれを低減できるフォーカス調整装置及び撮像装置を提供することを目的とする。   The present invention has been made with the above problems in mind, and provides a focus adjustment device and an imaging device that can reduce the possibility of shifting to scan AF by widening the defocus range and reduce the possibility of missing a photo opportunity. The purpose is to do.

本発明の主要な局面に係るフォーカス調整装置は、被写体像を結像する光学系と、光学系により結像された被写体像のフォーカスのずれを検出する第1のフォーカス検出手段と、光学系により結像された被写体像のフォーカスのずれを第1のフォーカス検出手段とは異なる範囲で検出する第2のフォーカス検出手段と、第1のフォーカス検出手段又は第2のフォーカス検出手段によるフォーカス検出結果に基づいて光学系の位置を調整するフォーカス調整手段とを具備する。   A focus adjustment apparatus according to a main aspect of the present invention includes an optical system that forms a subject image, a first focus detection unit that detects a focus shift of the subject image formed by the optical system, and an optical system. The focus detection result by the second focus detection means for detecting the focus shift of the formed subject image in a range different from the first focus detection means, and the first focus detection means or the second focus detection means. And a focus adjusting means for adjusting the position of the optical system on the basis thereof.

本発明の主要な局面に係る撮像装置は、上記フォーカス調整装置を備える。   An imaging apparatus according to a main aspect of the present invention includes the focus adjustment apparatus.

本発明によれば、デフォーカス範囲を広くすることによってスキャンAFに移行する可能性を低減し、シャッターチャンスを逃すおそれを低減できるフォーカス調整装置及び撮像装置を提供できる。   According to the present invention, it is possible to provide a focus adjustment device and an imaging device that reduce the possibility of shifting to scan AF by widening the defocus range and reduce the possibility of missing a photo opportunity.

以下、本発明の一実施の形態について図面を参照して説明する。
図1はオートフォーカス調整装置を備えた撮像装置としてのデジタル一眼レフレックスカメラ(以下、カメラと称する)の構成図を示す。図2は同カメラの外観斜視図を示す。なお、同図は通常のフォーカス調整時(位相差検出法によるAF時)の状態を示す。このカメラは、交換レンズ101と、カメラボディ110とを備える。
交換レンズ101は、カメラボディ110の前面に設けられたカメラマウントを介して当該カメラボディ110に対して着脱自在に設けられている。この交換レンズ101は、フォーカスレンズ102を含む撮影光学系と、レンズ駆動部103と、レンズCPU104と、フォーカス調整機構106と、エンコーダ107となどを備える。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a configuration diagram of a digital single-lens reflex camera (hereinafter referred to as a camera) as an imaging apparatus provided with an autofocus adjustment device. FIG. 2 is an external perspective view of the camera. This figure shows the state during normal focus adjustment (AF during phase difference detection). This camera includes an interchangeable lens 101 and a camera body 110.
The interchangeable lens 101 is detachably attached to the camera body 110 via a camera mount provided on the front surface of the camera body 110. The interchangeable lens 101 includes a photographing optical system including a focus lens 102, a lens driving unit 103, a lens CPU 104, a focus adjustment mechanism 106, an encoder 107, and the like.

フォーカスレンズ102は、被写体像を結像する光学系であって、撮影光学系に含まれてフォーカス調整を行う。このフォーカスレンズ102は、レンズ駆動部103によって光軸Pの方向と同一方向(矢印A方向)に移動され、フォーカス位置調整を行う。これにより、フォーカスレンズ102を含む撮影光学系を通過した被写体からの光束は、カメラボディ110内の撮像素子124上にピントの合った被写体像を結像する。
レンズ駆動部103は、DCモータを備え、レンズCPU104からのパルス信号によりDCモータを駆動してフォーカスレンズ102を矢印A方向に移動する。
レンズCPU104は、レンズ駆動部103の駆動制御等を行う。このレンズCPU104は、例えばフォーカスレンズ102の製造ばらつき情報や、フォーカスレンズ102の収差情報等の各種レンズデータを予め記憶する。このレンズCPU104は、通信コネクタ105を介してカメラボディ110内のシステムコントローラ123と通信可能である。これにより、レンズCPU104は、例えばシステムコントローラ123に対して予め記憶しているフォーカスレンズの製造ばらつき情報やフォーカスレンズの収差情報等の各種レンズデータを送信する。
The focus lens 102 is an optical system that forms a subject image, and is included in the photographing optical system to perform focus adjustment. The focus lens 102 is moved in the same direction (arrow A direction) as the direction of the optical axis P by the lens driving unit 103 to adjust the focus position. Thereby, the light beam from the subject that has passed through the photographing optical system including the focus lens 102 forms a focused subject image on the image sensor 124 in the camera body 110.
The lens driving unit 103 includes a DC motor, and drives the DC motor by a pulse signal from the lens CPU 104 to move the focus lens 102 in the arrow A direction.
The lens CPU 104 performs drive control of the lens driving unit 103 and the like. The lens CPU 104 stores various lens data such as manufacturing variation information of the focus lens 102 and aberration information of the focus lens 102 in advance. The lens CPU 104 can communicate with the system controller 123 in the camera body 110 via the communication connector 105. Accordingly, the lens CPU 104 transmits various lens data such as focus lens manufacturing variation information and focus lens aberration information stored in advance to the system controller 123, for example.

フォーカス調整機構106は、マニュアルフォーカスモードにおいて、ユーザが直接にフォーカスレンズ102の駆動を制御するための操作機構である。このフォーカス調整機構106は、至近側(フォーカスレンズ102を含む撮影光学系の主点と結像面との距離が最小。図1においては右側)、又は無限遠側(フォーカスレンズ102を含む撮影光学系の主点と結像面との距離が最大。図1においては左側)への駆動方向と駆動量を与えることができる。   The focus adjustment mechanism 106 is an operation mechanism for the user to directly control the driving of the focus lens 102 in the manual focus mode. This focus adjustment mechanism 106 is on the near side (the distance between the principal point of the photographing optical system including the focus lens 102 and the imaging surface is the minimum. The right side in FIG. 1) or the infinity side (the photographing optical including the focus lens 102). The distance between the principal point of the system and the imaging plane is the maximum (left side in FIG. 1), and the driving direction and driving amount can be given.

エンコーダ107は、フォーカス調整機構106の駆動方向及び駆動量を検出して当該駆動方向及び駆動量に応じたパルス信号をレンズCPU104に伝達する。レンズCPU104は、エンコーダ107からのパルス信号をカウントしてそのカウント値からフォーカス調整機構106の駆動量及び駆動方向を検知し、これら駆動量及び駆動方向に応じてフォーカスレンズ102を駆動されるようにレンズ駆動部103を制御する。   The encoder 107 detects the drive direction and drive amount of the focus adjustment mechanism 106 and transmits a pulse signal corresponding to the drive direction and drive amount to the lens CPU 104. The lens CPU 104 counts the pulse signal from the encoder 107, detects the drive amount and drive direction of the focus adjustment mechanism 106 from the count value, and drives the focus lens 102 according to these drive amount and drive direction. The lens driving unit 103 is controlled.

一方、カメラボディ110は、メインミラー111と、フォーカシングスクリーン112と、ペンタプリズム113と、接眼レンズ114と、サブミラー116と、コンデンサレンズ117と、全反射ミラー118と、セパレータ絞り119と、セパレータレンズ120と、AFセンサ121と、AFコントローラ122と、システムコントローラ123と、撮像素子124と、表示部125と、メモリカード126と、ロータリースイッチ127と、レリーズ釦128と、設定スイッチ129などを備える。
このうち、フォーカシングスクリーン112と、ペンタプリズム113と、接眼レンズ114とは、ファインダー光学系を構成する。同様に、コンデンサレンズ117と、全反射ミラー118と、セパレータ絞り119と、セパレータレンズ120とは、AF光学系を構成する。
On the other hand, the camera body 110 includes a main mirror 111, a focusing screen 112, a pentaprism 113, an eyepiece lens 114, a sub mirror 116, a condenser lens 117, a total reflection mirror 118, a separator diaphragm 119, and a separator lens 120. And an AF sensor 121, an AF controller 122, a system controller 123, an image sensor 124, a display unit 125, a memory card 126, a rotary switch 127, a release button 128, a setting switch 129, and the like.
Among these, the focusing screen 112, the pentaprism 113, and the eyepiece lens 114 constitute a finder optical system. Similarly, the condenser lens 117, the total reflection mirror 118, the separator diaphragm 119, and the separator lens 120 constitute an AF optical system.

メインミラー111は、その中央部にハーフミラーが形成されている。このメインミラー111は、回動可能に構成され、ダウン位置とアップ位置とに移動する。メインミラー111は、ダウン位置にあるとき光軸P上に配置され、交換レンズ101を介してカメラボディ110内に入射する被写体からの光束の一部を反射すると共に、その一部を透過する。メインミラー111は、アップ位置にあるとき光軸P上から退避する。   The main mirror 111 has a half mirror at the center. The main mirror 111 is configured to be rotatable and moves between a down position and an up position. The main mirror 111 is disposed on the optical axis P when in the down position, and reflects and transmits part of the light beam from the subject incident on the camera body 110 via the interchangeable lens 101. The main mirror 111 retracts from the optical axis P when in the up position.

フォーカシングスクリーン112には、メインミラー111で反射した光束が結像される。
ペンタプリズム113は、フォーカシングスクリーン112に結像された被写体像を正立像として接眼レンズ114に入射させる。
接眼レンズ114は、ペンタプリズム113からの被写体像をユーザが観察可能なように拡大する。これにより、ユーザは、接眼レンズ114を覗くことにより被写体の状態を観察することができる。
サブミラー116は、メインミラー111におけるハーフミラー部の背面に設置されている。このサブミラー116は、メインミラー111のハーフミラー部を透過した光束をAF光学系の方向に反射する。
A light beam reflected by the main mirror 111 is imaged on the focusing screen 112.
The pentaprism 113 causes the subject image formed on the focusing screen 112 to enter the eyepiece lens 114 as an erect image.
The eyepiece 114 enlarges the subject image from the pentaprism 113 so that the user can observe it. Thereby, the user can observe the state of the subject by looking into the eyepiece lens 114.
The sub mirror 116 is installed on the back surface of the half mirror portion of the main mirror 111. The sub mirror 116 reflects the light beam transmitted through the half mirror portion of the main mirror 111 in the direction of the AF optical system.

AF光学系のコンデンサレンズ117は、サブミラー116で反射され、図示しない1次結像面に結像した光束を集光して全反射ミラー118の方向に入射させる。   The condenser lens 117 of the AF optical system collects the light beam reflected by the sub-mirror 116 and formed on a primary imaging surface (not shown) and makes it incident in the direction of the total reflection mirror 118.

全反射ミラー118は、コンデンサレンズ117からの光束をAFセンサ121の側に反射する。
セパレータ絞り119は、AFセンサ121の前面に配置され、全反射ミラー118からの光束を瞳分割する。
セパレータレンズ120は、セパレータ絞り119により瞳分割された光束を集光してAFセンサ121に再結像する。
AFセンサ121は、セパレータレンズ120を通して入射する瞳分割され再結像された視差をもつ対をなす被写体像を映像信号に変換する。このAFセンサ121は、撮影画面内の複数の焦点検出エリアにおける焦点状態を検出可能である。
Total reflection mirror 118 reflects the light beam from condenser lens 117 toward AF sensor 121.
The separator diaphragm 119 is disposed in front of the AF sensor 121 and divides the light beam from the total reflection mirror 118 into pupils.
The separator lens 120 condenses the luminous flux divided by the separator diaphragm 119 and re-images it on the AF sensor 121.
The AF sensor 121 converts a pupil-divided and re-imaged paired subject image incident through the separator lens 120 into a video signal. The AF sensor 121 can detect the focus state in a plurality of focus detection areas in the shooting screen.

AFコントローラ122は、AFセンサ121から対をなす映像信号を読み出し、この読み出した映像信号に基づいて被写体像の2像間隔値を例えば相関演算によって算出するデフォーカス量算出手段としての機能を有する。このAFコントローラ122により求められた2像間隔値に基づいてデフォーカス量を算出する。又、AFコントローラ122は、フォーカス調整時に、複数の測距点に対応して算出されるデフォーカス量の中からフォーカス調整に使用すべきデフォーカス量を選択し、この選択したデフォーカス量をレンズCPU104に送信する。これにより、レンズCPU104は、AFコントローラ122からのデフォーカス量に基づいてフォーカスレンズ102のフォーカス調整を行う。   The AF controller 122 has a function as a defocus amount calculation unit that reads a paired video signal from the AF sensor 121 and calculates a two-image interval value of the subject image by, for example, correlation calculation based on the read video signal. The defocus amount is calculated based on the two-image interval value obtained by the AF controller 122. Further, the AF controller 122 selects a defocus amount to be used for focus adjustment from the defocus amounts calculated corresponding to a plurality of distance measuring points during focus adjustment, and uses the selected defocus amount as a lens. It transmits to CPU104. Accordingly, the lens CPU 104 performs focus adjustment of the focus lens 102 based on the defocus amount from the AF controller 122.

システムコントローラ123は、カメラの全体の動作を統括的に制御する。このシステムコントローラ123は、AFコントローラ122により求められた2像間隔値より算出されるデフォーカス量を記憶するメモリを有する。
撮像素子124は、メインミラー111がアップ位置にあって光軸P上から退避されたときに、撮影光学系を介して結像される被写体像を映像信号に変換する。これにより、システムコントローラ123は、撮像素子124により得られた映像信号に対して種々の画像処理を施した後、この画像処理により取得された画像を表示部125に表示したり、その画像データをメモリカード126に格納する。
The system controller 123 controls the overall operation of the camera. The system controller 123 has a memory for storing a defocus amount calculated from the two-image interval value obtained by the AF controller 122.
When the main mirror 111 is at the up position and retracted from the optical axis P, the image sensor 124 converts a subject image formed through the photographing optical system into a video signal. As a result, the system controller 123 performs various image processing on the video signal obtained by the image sensor 124, and then displays the image acquired by the image processing on the display unit 125 or displays the image data. Store in the memory card 126.

設定スイッチ129は、設定釦等のスイッチから成り、当該カメラボディ110の外装に設けられる。この設定スイッチ129は、ユーザによる設定釦等への操作を受けてカメラの状態を切り換えるための各種設定指示をシステムコントローラ123に与える。各種設定指示は、フォーカスモードや、撮影画像の画角などがある。
ロータリースイッチ127は、当該カメラボディ110の外装に設けられ、撮影モードによって目的の機能を切り換えるスイッチであり、可動量をシステムコントローラ123に与える。
The setting switch 129 includes a switch such as a setting button, and is provided on the exterior of the camera body 110. The setting switch 129 gives various setting instructions for switching the state of the camera to the system controller 123 in response to a user operation on a setting button or the like. Various setting instructions include a focus mode, a field angle of a captured image, and the like.
The rotary switch 127 is a switch that is provided on the exterior of the camera body 110 and switches a target function depending on the shooting mode, and gives a movable amount to the system controller 123.

レリーズ釦128は、当該カメラボディ110の外装に設けられ、例えばユーザの操作を受けて状態を切り換える指示、例えばAF開始の指示及び撮像開始の指示をシステムコントローラ123に与える。このレリーズ釦128は、1stレリーズスイッチと、2ndレリーズスイッチとを備えている。レリーズ釦128は、ユーザによる半押しの操作を受けて1stレリーズスイッチをオンするものとなる。この1stレリーズスイッチのオンによりレリーズ釦128は、AF開始の指示をシステムコントローラ123に与える。又、レリーズ釦128は、ユーザによる全押しの操作を受けて2ndレリーズスイッチをオンするものとなる。この2ndレリーズスイッチのオンによりレリーズ釦128は、撮像開始の指示をシステムコントローラ123に与える。   The release button 128 is provided on the exterior of the camera body 110, and gives an instruction to switch the state, for example, an instruction to start AF and an instruction to start imaging to the system controller 123, for example, in response to a user operation. The release button 128 includes a 1st release switch and a 2nd release switch. The release button 128 turns on the 1st release switch in response to a half-press operation by the user. When the first release switch is turned on, the release button 128 gives an instruction to start AF to the system controller 123. The release button 128 turns on the 2nd release switch in response to a full pressing operation by the user. When the 2nd release switch is turned on, the release button 128 gives an instruction to start imaging to the system controller 123.

図2に示すように交換レンズ101には、フォーカス調整機構106の一部としてのフォーカスリング205が回転可能に設けられている。このフォーカスリング205は、例えばユーザの回転操作を受けて回転する。このフォーカスリング205の駆動方向及び駆動量は、上記の通りエンコーダ107により検出される。
カメラの背面には、ファインダー203が設けられている。このファインダー203は、その内部に図1に示す接眼レンズ114が配置されている。ユーザは、ファインダー203を覗くことで被写体を観察することができる。
図3はAF光学系の2次結像系の模式図を示す。サブミラー116で反射された光束は、1次結像面上に結像される。1次結像面上に結像された被写体の光束は、コンデンサレンズ117により集光され、全反射ミラー118で反射された後、セパレータ絞り119により例えば4つに瞳分割される。このセパレータ絞り119により瞳分割された被写体の光束は、セパレータレンズ120によって集光されてAF光学系の後方に配置されたAFセンサ121の各受光面121a〜121dの所定領域に入射する。
As shown in FIG. 2, the interchangeable lens 101 is rotatably provided with a focus ring 205 as a part of the focus adjustment mechanism 106. For example, the focus ring 205 rotates in response to a user's rotation operation. The driving direction and driving amount of the focus ring 205 are detected by the encoder 107 as described above.
A viewfinder 203 is provided on the back of the camera. The viewfinder 203 has an eyepiece 114 shown in FIG. The user can observe the subject by looking through the viewfinder 203.
FIG. 3 is a schematic diagram of a secondary imaging system of the AF optical system. The light beam reflected by the sub mirror 116 is imaged on the primary image plane. The light beam of the subject imaged on the primary imaging surface is condensed by the condenser lens 117, reflected by the total reflection mirror 118, and then divided into four pupils by the separator diaphragm 119, for example. The luminous flux of the subject divided by the separator diaphragm 119 is collected by the separator lens 120 and enters a predetermined region of each of the light receiving surfaces 121a to 121d of the AF sensor 121 disposed behind the AF optical system.

AFセンサ121は、測距点に対応した1対のラインセンサを複数組有する。例えば、受光面121aを有するラインセンサと受光面121bを有するラインセンサとにより1対のラインセンサを構成し、受光面121cを有するラインセンサと受光面121dを有するラインセンサとにより1対のラインセンサを構成する。このAFセンサ121の各ラインセンサは、それぞれ複数の画素をライン状に配列して1列のセンサアレイを構成し、このセンサアレイを複数平行に配列して成る。なお、1列のセンサアレイは、例えば42画素から成る。   The AF sensor 121 includes a plurality of pairs of line sensors corresponding to distance measuring points. For example, the line sensor having the light receiving surface 121a and the line sensor having the light receiving surface 121b constitute a pair of line sensors, and the line sensor having the light receiving surface 121c and the line sensor having the light receiving surface 121d constitute a pair of line sensors. Configure. Each line sensor of the AF sensor 121 is formed by arranging a plurality of pixels in a line to form a single-row sensor array, and arranging the sensor arrays in parallel. Note that the sensor array in one column is composed of, for example, 42 pixels.

図4(a)(b)はAFセンサ121及びフォーカスレンズ102からセパレータレンズ120までの光学系における測距の原理を示す。フォーカスレンズ102により一次結像面Qで結像された被写体からの光束は、コンデンサレンズ117により集光され、セパレータ絞り119により瞳分割され、セパレータレンズ120によりAFセンサ121上に配置された各受光面121a〜121dに再結像される。この結像された被写体像は、AFセンサ121上の各受光面121a〜121dを有する1対のセンサアレイSA、SBにより映像信号に変換される。なお、1対のセンサアレイSA、SBは、各受光面121a、121bを有する各ラインセンサにおける1列のセンサアレイである。しかるに、AFセンサ121は、それぞれ複数画素から成る1対のセンサアレイSA、SB等を有し、瞳分割された視差を持つ被写体像を対を成す映像信号に変換出力する。   4A and 4B show the principle of distance measurement in the optical system from the AF sensor 121 and the focus lens 102 to the separator lens 120. FIG. The light beam from the subject imaged on the primary imaging plane Q by the focus lens 102 is collected by the condenser lens 117, divided into pupils by the separator diaphragm 119, and each light receiving element arranged on the AF sensor 121 by the separator lens 120. Re-imaging is performed on the surfaces 121a to 121d. The formed subject image is converted into a video signal by a pair of sensor arrays SA and SB having respective light receiving surfaces 121a to 121d on the AF sensor 121. The pair of sensor arrays SA and SB is a one-row sensor array in each line sensor having the respective light receiving surfaces 121a and 121b. However, the AF sensor 121 has a pair of sensor arrays SA, SB, etc. each composed of a plurality of pixels, and converts and outputs a subject image having a parallax divided into pupils into a pair of video signals.

図4(a)(b)は、1対のセンサアレイSA、SBにより変換された映像信号の2像間隔Zが合焦時の2像間隔Z0と一致している状態を示す。このように2像間隔Zが合焦時の2像間隔Z0と一致していれば、合焦状態(ピントが合っている)を示すものとなる。
図5(a)(b)は、1対のセンサアレイSA、SBにより変換された映像信号の2像間隔Zが合焦時の2像間隔Z0よりも狭く、被写体よりも手前側にピントが合っているいわゆる前ピンの状態を示す。
図6(a)(b)は、1対のセンサアレイSA、SBにより変換された映像信号の2像間隔Zが合焦時の2像間隔Z0よりも広く、被写体よりも後ろ側にピントが合っているいわゆる後ピンの状態を示す。
FIGS. 4A and 4B show a state in which the two-image interval Z of the video signal converted by the pair of sensor arrays SA and SB coincides with the two-image interval Z0 at the time of focusing. In this way, if the two-image interval Z coincides with the two-image interval Z0 at the time of focusing, the in-focus state (in focus) is indicated.
5 (a) and 5 (b), the two-image interval Z of the video signal converted by the pair of sensor arrays SA and SB is narrower than the two-image interval Z0 at the time of focusing, and is focused on the near side of the subject. The state of the so-called front pin that matches is shown.
6A and 6B, the two-image interval Z of the video signal converted by the pair of sensor arrays SA and SB is wider than the two-image interval Z0 at the time of focusing, and the focus is behind the subject. The state of the so-called rear pin that matches is shown.

しかるに、AFコントローラ122は、AFセンサ121上の1対のセンサアレイSAとセンサアレイSBにおける映像信号の2像間隔Zを求める。2像間隔Zのずれ量の変化は、ピントのずれ量に比例する。AFコントローラ122は、当該ずれ量に基づいてフォーカスレンズ102の繰り出し量を求める。   However, the AF controller 122 obtains a two-image interval Z of video signals in the pair of sensor arrays SA and sensor array SB on the AF sensor 121. The change in the shift amount of the two-image interval Z is proportional to the focus shift amount. The AF controller 122 obtains the feed amount of the focus lens 102 based on the shift amount.

次に、デフォーカス量の算出方法について説明する。
AFコントローラ122は、AFセンサ121から出力される対を成す映像信号に基づいて被写体像の2像間隔値に応じたデフォーカス量を算出する。すなわち、AFコントローラ122は、フォーカスレンズ102により結像された被写体像のフォーカスのずれ、すなわちAFセンサ121上の1対のセンサアレイSAとセンサアレイSBにおける映像信号の2像間隔Zのずれ量を検出する第1のフォーカス検出手段と、フォーカスレンズ102により結像された被写体像のフォーカスのずれ、すなわちAFセンサ121上の1対のセンサアレイSAとセンサアレイSBとにおける映像信号の2像間隔Zのずれ量を第1のフォーカス検出手段とは異なる範囲で検出する第2のフォーカス検出手段との各機能を有する。
Next, a method for calculating the defocus amount will be described.
The AF controller 122 calculates a defocus amount corresponding to the two-image interval value of the subject image based on the paired video signals output from the AF sensor 121. That is, the AF controller 122 determines the shift of the focus of the subject image formed by the focus lens 102, that is, the shift amount of the two image intervals Z of the video signals in the pair of sensor array SA and sensor array SB on the AF sensor 121. The focus shift of the subject image formed by the first focus detection means for detecting and the focus lens 102, that is, the two-image interval Z of the video signal between the pair of sensor arrays SA and SB on the AF sensor 121. Each function of the second focus detection means for detecting the amount of deviation in a range different from that of the first focus detection means.

このうちAFコントローラ122の第2のフォーカス検出手段は、第1のフォーカス検出手段によるフォーカスのずれの検出範囲を含む広い範囲でフォーカスのずれを検出する。すなわち、AFコントローラ122の第1のフォーカス検出手段は、図7に示すように1対のセンサアレイSAとセンサアレイSBとにそれぞれブロック幅、例えば24画素に形成された各相関検出ブロックHaを設定し、これら相関検出ブロックHaをずらしながら当該各相関検出ブロックHa間の相関値が最も高くなるところをフォーカス位置として検出する。   Among these, the second focus detection unit of the AF controller 122 detects focus shift in a wide range including a detection range of focus shift by the first focus detection unit. That is, as shown in FIG. 7, the first focus detection means of the AF controller 122 sets each correlation detection block Ha formed in a block width, for example, 24 pixels, in a pair of sensor array SA and sensor array SB. Then, the position where the correlation value between the correlation detection blocks Ha is highest is detected as the focus position while shifting the correlation detection blocks Ha.

これに対してAFコントローラ122の第2のフォーカス検出手段は、図8に示すように1対のセンサアレイSAとセンサアレイSBとにそれぞれ相関検出ブロックHaよりも狭いブロック幅、例えば15画素に形成された各相関検出ブロックHbを設定し、これら相関検出ブロックHbをずらしながら当該各相関検出ブロックHb間の相関値が最も高くなるところをフォーカス位置として検出する。   On the other hand, the second focus detection means of the AF controller 122 is formed in a pair of sensor array SA and sensor array SB with a block width narrower than the correlation detection block Ha, for example, 15 pixels, as shown in FIG. Each detected correlation detection block Hb is set, and the position where the correlation value between the correlation detection blocks Hb is highest is detected as a focus position while shifting the correlation detection blocks Hb.

このとき、AFコントローラ122は、1対のセンサアレイSAとセンサアレイSBとに対してそれぞれ各相関検出ブロックHa、Hbを形成し、一方のセンサアレイSBに対して相関検出ブロックHaをずらしながら各相関検出ブロックHa、Hb間の相関値が最も高くなるところをフォーカス位置として検出し、かつ第1のフォーカス検出手段により被写体像のフォーカスのずれを検出するときの相関検出ブロックHaの大きさよりも第2のフォーカス検出手段により被写体像のフォーカスのずれを検出するときの相関検出ブロックHbの大きさを小さく形成する。   At this time, the AF controller 122 forms the correlation detection blocks Ha and Hb with respect to the pair of sensor arrays SA and SB, respectively, and shifts the correlation detection block Ha with respect to one sensor array SB. The position where the correlation value between the correlation detection blocks Ha and Hb is the highest is detected as the focus position, and the first focus detection means detects the focus shift of the subject image and is larger than the size of the correlation detection block Ha. The size of the correlation detection block Hb when the focus shift of the subject image is detected by the second focus detection means is reduced.

しかるに、AFコントローラ122は、第1のフォーカス検出手段により相関検出ブロックHaを形成する画素数(例えば24画素)よりも第2のフォーカス検出手段により相関検出ブロックHbを形成する画素数(例えば15画素)を少なく設定し、相関検出ブロックHbの1対のセンサアレイSAとセンサアレイSBとに対してシフトする範囲を広くする。すなわち、第1のフォーカス検出手段では、相関検出ブロックHaのシフトする範囲が図7に示すように例えば16画素であるのに対し、第2のフォーカス検出手段では、相関検出ブロックHbのシフトする範囲が図8に示すように例えば25画素になり、第1のフォーカス検出手段の16画素よりもシフト範囲が広くなる。   However, the AF controller 122 uses the second focus detection unit to form the correlation detection block Hb (for example, 15 pixels) rather than the pixel number (for example, 24 pixels) to form the correlation detection block Ha by the first focus detection unit. ) Is set to be small, and the range in which the correlation detection block Hb is shifted with respect to the pair of sensor arrays SA and SB is widened. That is, in the first focus detection unit, the range in which the correlation detection block Ha shifts is, for example, 16 pixels as shown in FIG. 7, whereas in the second focus detection unit, the range in which the correlation detection block Hb shifts. As shown in FIG. 8, the number of pixels becomes, for example, 25 pixels, and the shift range becomes wider than 16 pixels of the first focus detection unit.

システムコントローラ123は、AFコントローラ122の第1のフォーカス検出手段又は第2のフォーカス検出手段によるフォーカス検出結果に基づいてフォーカスレンズ102の位置を調整するフォーカス調整手段としての機能を有するもので、AFコントローラ122の第1のフォーカス検出手段によりフォーカスのずれを検出できなかった場合、第2のフォーカス検出手段の検出結果に基づいてレンズ駆動部103に対してフォーカスレンズ102を矢印A方向に移動してフォーカスレンズ102の位置を調整するための指令を発する。   The system controller 123 has a function as a focus adjustment unit that adjusts the position of the focus lens 102 based on the focus detection result by the first focus detection unit or the second focus detection unit of the AF controller 122. If the first focus detection unit 122 cannot detect the focus shift, the focus lens 102 is moved in the direction of arrow A with respect to the lens driving unit 103 based on the detection result of the second focus detection unit. A command for adjusting the position of the lens 102 is issued.

具体的にデフォーカス量の算出方法について説明する。
上記図7に示すような第1のフォーカス検出手段によるデフォーカス量の算出方法は、デフォーカス範囲が狭いものの高い精度の方式であり、これに対して上記図8に示すような第2のフォーカス検出手段によるデフォーカス量の算出方法は、デフォーカス範囲が広いものの第1のフォーカス検出手段と比較して、誤検出をしやすい方式である。
A defocus amount calculation method will be specifically described.
The defocus amount calculation method by the first focus detection unit as shown in FIG. 7 is a highly accurate method with a narrow defocus range, whereas the second focus as shown in FIG. 8 is used. The calculation method of the defocus amount by the detection unit is a method that is more likely to be erroneously detected than the first focus detection unit having a wide defocus range.

上記の通りAFセンサ121は、各測距点に対して例えば42画素の1対のセンサアレイSAとセンサアレイSBとを持つ。AFコントローラ122は、1対のセンサアレイSAとセンサアレイSBとより読み出したデータの相関の最も高い位置を検出することによって2像間のずれを検出する。
上記図7に示すように、1対のセンサアレイSAとセンサアレイSBとに対する相関検出ブロックHaの幅が24画素であり、AFコントローラ122は、センサアレイSAの相関検出ブロックHaのデータとセンサアレイSBの相関検出ブロックHaのデータとの相関値を算出するときに、センサアレイSB側の相関検出ブロックHaを1画素ずつずらしながら相関値を算出する。この相関値の算出は、1対のセンサアレイSAとセンサアレイSBとの各対応する画素の差を積和した値を算出し、最少になる組み合わせが最も高い相関となる。そして、相関値の最も高いところが1対のセンサアレイSAとセンサアレイSBとにおいて同一画素位置であれば、合焦になる。
As described above, the AF sensor 121 has a pair of sensor arrays SA and SB of 42 pixels, for example, for each distance measuring point. The AF controller 122 detects a shift between the two images by detecting a position having the highest correlation between the data read from the pair of sensor arrays SA and SB.
As shown in FIG. 7, the width of the correlation detection block Ha for a pair of sensor array SA and sensor array SB is 24 pixels, and the AF controller 122 uses the data of the correlation detection block Ha of the sensor array SA and the sensor array. When calculating the correlation value with the data of the SB correlation detection block Ha, the correlation value is calculated while shifting the correlation detection block Ha on the sensor array SB side by one pixel. The correlation value is calculated by calculating a product sum of the differences between the corresponding pixels of the pair of sensor arrays SA and sensor array SB, and the smallest combination has the highest correlation. If the highest correlation value is in the same pixel position in the pair of sensor array SA and sensor array SB, focusing is performed.

上記図7に示すような第1のフォーカス検出手段によるデフォーカス量の算出方法は、無限端側へのフォーカスのずれを検出している。この方法により至近端側へのフォーカスのずれを検出するには、センサアレイSBを固定し、センサアレイSA側の相関検出ブロックHaをシフトさせることで可能である。しかしながら、かかる方法では、センサアレイSB側の相関検出ブロックHaの位置が画素データの波形の現れている位置からずれており、センサアレイSB側の相関検出ブロックHaから画素データの波形を検出することができず、相関を検出することができない。   The defocus amount calculation method by the first focus detection unit as shown in FIG. 7 detects a focus shift toward the infinite end. In order to detect a focus shift toward the closest end by this method, it is possible to fix the sensor array SB and shift the correlation detection block Ha on the sensor array SA side. However, in this method, the position of the correlation detection block Ha on the sensor array SB side is shifted from the position where the waveform of the pixel data appears, and the waveform of the pixel data is detected from the correlation detection block Ha on the sensor array SB side. The correlation cannot be detected.

これに対して上記図8に示すような第2のフォーカス検出手段によるデフォーカス量の算出方法は、相関検出ブロックHbの幅を15画素としているので、相関検出ブロックHbのシフト可能な範囲が上記第1のフォーカス検出手段のシフト範囲(16画素)よりも例えば9画素増加して25画素になっている。これにより、第2のフォーカス検出手段によるデフォーカス検出範囲は、第1のフォーカス検出手段によるデフォーカス検出範囲よりも約1.5倍に増加している。これにより、第2のフォーカス検出手段によるデフォーカス量の算出方法は、第1のフォーカス検出手段により検出不可能であった例えば17画素から25画素までの範囲でデフォーカスを検出できるようになる。従って、第2のフォーカス検出手段によるデフォーカス量の算出方法では、第1のフォーカス検出手段により検出できなかった画素データの波形を相関検出ブロックHbを合焦検出位置Gにシフトさせることで検出できる。   On the other hand, in the method of calculating the defocus amount by the second focus detection unit as shown in FIG. 8 above, the width of the correlation detection block Hb is 15 pixels. For example, the number of pixels is increased by 9 pixels from the shift range (16 pixels) of the first focus detection unit to 25 pixels. As a result, the defocus detection range by the second focus detection unit is increased by about 1.5 times the defocus detection range by the first focus detection unit. As a result, the defocus amount calculation method by the second focus detection unit can detect the defocus in a range from 17 pixels to 25 pixels, for example, which could not be detected by the first focus detection unit. Therefore, in the defocus amount calculation method by the second focus detection means, the waveform of the pixel data that could not be detected by the first focus detection means can be detected by shifting the correlation detection block Hb to the focus detection position G. .

図9はデフォーカス範囲とフォーカス調整範囲との関係を示す。同図中においてfは焦点距離を示し、fwはフォーカス調整範囲を示す。このフォーカス調整範囲fwは、通常、f〜f×2の間で調整される。df1及びdf2はデフォーカス範囲を示す。このうちデフォーカス範囲df1は、上記図7に示す相関検出ブロックHaの設定でフォーカスのずれが検出可能な範囲を示す。デフォーカス範囲df2は、上記図8に示す相関検出ブロックHbの設定でフォーカスのずれが検出可能な範囲を示す。   FIG. 9 shows the relationship between the defocus range and the focus adjustment range. In the figure, f indicates a focal length, and fw indicates a focus adjustment range. This focus adjustment range fw is normally adjusted between f and f × 2. df1 and df2 indicate a defocus range. Among these, the defocus range df1 indicates a range in which a focus shift can be detected by the setting of the correlation detection block Ha shown in FIG. The defocus range df2 indicates a range in which a focus shift can be detected by setting the correlation detection block Hb shown in FIG.

次に、上記の如く構成されたカメラのAF動作について図10に示すAFシーケンスのフローチャートを参照して説明する。
先ず、AF動作が開始されると、AFコントローラ122からの指示によりAFセンサ121は、ステップS101において、電荷の蓄積を開始する。
Next, the AF operation of the camera configured as described above will be described with reference to the flowchart of the AF sequence shown in FIG.
First, when the AF operation is started, the AF sensor 121 starts accumulating charges in step S101 according to an instruction from the AF controller 122.

次に、AFコントローラ122は、ステップS102において、AFセンサ121からセンサデータを読み出し、次のステップS103において、センサデータからコントラストが所定の閾値を超えているか否かを判別する。
この判別の結果、コントラストが所定の閾値を超えていれば、AFコントローラ122は、ステップS104に移って第1の相関演算を行う。この第1の相関演算は、AFコントローラ122によって上記図7に示すように、センサアレイSB側の相関検出ブロックHaを1画素ずつずらしながらセンサアレイSAの相関検出ブロックHaのデータとセンサアレイSBの相関検出ブロックHaのデータとの相関値を算出する。この相関値の算出は、1対のセンサアレイSAとセンサアレイSBとの各対応する画素の差を積和した値を算出し、最少になる組み合わせが最も高い相関となる。そして、相関値の最も高いところが1対のセンサアレイSAとセンサアレイSBとにおいて同一画素位置であれば、合焦になる。
なお、コントラストが所定の閾値を超えていなければ、AFコントローラ122は、図11に示すセンサ動作条件変更フローチャートに移行してAFセンサ121の動作条件を変更する。
Next, the AF controller 122 reads sensor data from the AF sensor 121 in step S102, and determines whether or not the contrast exceeds a predetermined threshold from the sensor data in the next step S103.
As a result of the determination, if the contrast exceeds a predetermined threshold, the AF controller 122 proceeds to step S104 and performs the first correlation calculation. As shown in FIG. 7, the first correlation calculation is performed by shifting the correlation detection block Ha on the sensor array SB side by one pixel and the data of the correlation detection block Ha of the sensor array SA and the sensor array SB. A correlation value with the data of the correlation detection block Ha is calculated. The correlation value is calculated by calculating a product sum of differences between corresponding pixels of the pair of sensor arrays SA and sensor array SB, and the smallest combination has the highest correlation. If the highest correlation value is in the same pixel position in the pair of sensor array SA and sensor array SB, focusing is performed.
If the contrast does not exceed the predetermined threshold value, the AF controller 122 shifts to the sensor operation condition change flowchart shown in FIG. 11 and changes the operation condition of the AF sensor 121.

次に、AFコントローラ122は、ステップS105において、1対のセンサアレイSAとセンサアレイSBとの間に相関があるか否か、すなわち1対のセンサアレイSAとセンサアレイSBとの間に最少になる組み合わせでる最も高い相関があるか否かを判別する。
この判別の結果、相関があれば、AFコントローラ122は、ステップS106に移り、デフォーカス量の算出を行う。すなわち、AFコントローラ122は、AFセンサ121上の1対のセンサアレイSAとセンサアレイSBにおける映像信号の2像間隔Zを求め、この2像間隔Zのずれ量であるデフォーカス量に基づいてフォーカスレンズ102の繰り出し量を求める。
Next, in step S105, the AF controller 122 determines whether or not there is a correlation between the pair of sensor arrays SA and the sensor array SB, that is, minimizes between the pair of sensor arrays SA and the sensor array SB. It is determined whether or not there is the highest correlation in the combination.
If there is a correlation as a result of the determination, the AF controller 122 proceeds to step S106 and calculates the defocus amount. That is, the AF controller 122 obtains the two image intervals Z of the video signals in the pair of sensor arrays SA and sensor array SB on the AF sensor 121, and focuses based on the defocus amount that is the deviation amount of the two image intervals Z. The feeding amount of the lens 102 is obtained.

次に、システムコントローラ123は、ステップS107において、AFコントローラ122により求められたデフォーカス量に基づいてフォーカスレンズ102を合焦位置に移動するためのデフォーカス駆動コマンドをレンズCPU104に対して発する。これにより、レンズCPU104は、レンズ駆動部103に対してパルス信号を出力して当該レンズ駆動部103を駆動制御する。このレンズ駆動部103は、レンズCPU104からのパルス信号によりDCモータを駆動してフォーカスレンズ102を矢印A方向に移動する。   Next, in step S <b> 107, the system controller 123 issues a defocus drive command to the lens CPU 104 for moving the focus lens 102 to the in-focus position based on the defocus amount obtained by the AF controller 122. Accordingly, the lens CPU 104 outputs a pulse signal to the lens driving unit 103 to drive and control the lens driving unit 103. The lens driving unit 103 drives the DC motor by a pulse signal from the lens CPU 104 to move the focus lens 102 in the arrow A direction.

次に、システムコントローラ123は、ステップS108において、算出したデフォーカス量が見切り合焦範囲内であるか否かを判定する。この見切り合焦範囲内は、デフォーカス量が小さく、確実に合焦位置にフォーカスレンズ102を停止できる範囲である。一般にデフォーカス量の算出には、フォーカスレンズ102等の光学系の特性等により補正される。この補正値は、近似値が用いられる。よって、デフォーカス量が大きい場合には、補正値の近似による誤差も大きくなる傾向がある。デフォーカス算出の際の前記要因による誤差が、焦点深度内であれば無視できるものとして、見切り合焦と判断することができる。   Next, in step S108, the system controller 123 determines whether or not the calculated defocus amount is within the close-up focusing range. This close-in focus range is a range where the defocus amount is small and the focus lens 102 can be reliably stopped at the focus position. In general, the defocus amount is corrected by the characteristics of the optical system such as the focus lens 102. An approximate value is used as the correction value. Therefore, when the defocus amount is large, the error due to approximation of the correction value tends to increase. If the error due to the factor in the defocus calculation is within the depth of focus, it can be ignored and it can be determined that the close-in focus is achieved.

デフォーカス量が見切り合焦範囲内であるか否かの判定の結果、デフォーカス量が見切り合焦範囲内であれば、システムコントローラ123は、AF動作を終了する。デフォーカス量が見切り合焦範囲内でなければ、システムコントローラ123は、ステップS101に戻る。   As a result of determining whether or not the defocus amount is within the close-up focus range, if the defocus amount is within the close-up focus range, the system controller 123 ends the AF operation. If the defocus amount is not within the close-up focusing range, the system controller 123 returns to step S101.

一方、上記ステップS105における1対のセンサアレイSAとセンサアレイSBとの間に相関があるか否かの判別の結果、相関がなければ、AFコントローラ122は、ステップS109に移り、第2の相関演算を行う。この第2の相関演算は、AFコントローラ122によって上記図8に示すように、相関検出ブロックHbの幅を例えば15画素に設定し、例えばセンサアレイSB側の相関検出ブロックHbを1画素ずつずらしながらセンサアレイSAの相関検出ブロックHbのデータとセンサアレイSBの相関検出ブロックHbのデータとの相関値を算出する。上記同様に、相関値の算出は、1対のセンサアレイSAとセンサアレイSBとの各対応する画素の差を積和した値を算出し、最少になる組み合わせが最も高い相関となる。そして、相関値の最も高いところが1対のセンサアレイSAとセンサアレイSBとにおいて同一画素位置であれば、合焦になる。   On the other hand, as a result of determining whether or not there is a correlation between the pair of sensor arrays SA and sensor array SB in step S105, if there is no correlation, the AF controller 122 proceeds to step S109 and performs the second correlation. Perform the operation. As shown in FIG. 8, the second correlation calculation is performed by setting the width of the correlation detection block Hb to 15 pixels, for example, while shifting the correlation detection block Hb on the sensor array SB side, for example, pixel by pixel. A correlation value between the data of the correlation detection block Hb of the sensor array SA and the data of the correlation detection block Hb of the sensor array SB is calculated. As described above, the correlation value is calculated by calculating a product sum of differences between corresponding pixels of the pair of sensor array SA and sensor array SB, and the smallest combination has the highest correlation. If the highest correlation value is in the same pixel position in the pair of sensor array SA and sensor array SB, focusing is performed.

次に、AFコントローラ122は、ステップS110において、1対のセンサアレイSAとセンサアレイSBとの間に相関があるか否か、すなわち1対のセンサアレイSAとセンサアレイSBとの間に最少になる組み合わせでる最も高い相関があるか否かを判別する。
この判別の結果、相関があれば、AFコントローラ122は、ステップS111に移り、AFセンサ121上の1対のセンサアレイSAとセンサアレイSBにおける映像信号の2像間隔Zを求め、この2像間隔Zのずれ量であるデフォーカス量に基づいてフォーカスレンズ102のデフォーカス量の算出を行う。
Next, in step S110, the AF controller 122 determines whether or not there is a correlation between the pair of sensor arrays SA and the sensor array SB, that is, minimizes between the pair of sensor arrays SA and the sensor array SB. It is determined whether or not there is the highest correlation in the combination.
If there is a correlation as a result of this determination, the AF controller 122 proceeds to step S111, obtains a two-image interval Z of the video signal in the pair of sensor arrays SA and sensor array SB on the AF sensor 121, and this two-image interval. The defocus amount of the focus lens 102 is calculated based on the defocus amount that is the Z shift amount.

次に、システムコントローラ123は、ステップS112において、AFコントローラ122により求められたデフォーカス量に基づいてフォーカスレンズ102を合焦位置に移動するためのデフォーカス駆動コマンドをレンズCPU104に対して発する。これにより、レンズCPU104は、レンズ駆動部103に対してパルス信号を出力して当該レンズ駆動部103を駆動制御する。このレンズ駆動部103は、レンズCPU104からのパルス信号によりDCモータを駆動してフォーカスレンズ102を矢印A方向に移動する。そして、システムコントローラ123は、ステップS101に戻る。
なお、上記ステップS110の判別の結果、1対のセンサアレイSAとセンサアレイSBとの間に相関がなければ、システムコントローラ123は、スキャンAFに移る。
Next, in step S112, the system controller 123 issues a defocus drive command for moving the focus lens 102 to the in-focus position based on the defocus amount obtained by the AF controller 122 to the lens CPU 104. Accordingly, the lens CPU 104 outputs a pulse signal to the lens driving unit 103 to drive and control the lens driving unit 103. The lens driving unit 103 drives the DC motor by a pulse signal from the lens CPU 104 to move the focus lens 102 in the arrow A direction. Then, the system controller 123 returns to step S101.
If there is no correlation between the pair of sensor arrays SA and SB as a result of the determination in step S110, the system controller 123 proceeds to scan AF.

一方、上記ステップS103の判別の結果、コントラストが所定の閾値を超えていなければ、AFコントローラ122は、ステップS104に移って図11に示すセンサ動作条件変更フローチャートに移行してAFセンサ121の動作条件を変更する。このセンサ動作条件変更フローチャートは、被写体の明るさに応じてAFセンサ121の感度や読み出し時のゲインを設定する。   On the other hand, if the contrast does not exceed the predetermined threshold as a result of the determination in step S103, the AF controller 122 proceeds to step S104 and proceeds to the sensor operation condition change flowchart shown in FIG. To change. In the sensor operation condition change flowchart, the sensitivity of the AF sensor 121 and the gain at the time of reading are set according to the brightness of the subject.

すなわち、AFコントローラ122は、ステップS201において、AFセンサ121の感度が最大であるか否かを判定する。この判定の結果、感度が最大でなければ、AFコントローラ122は、ステップS202に移り、AFセンサ121の感度をアップして、図10に示すAFスタートに戻る。
感度が最大であれば、AFコントローラ122は、ステップS203に移り、AFセンサ121に対する読み出しゲインが最大であるか否かを判定する。この判定の結果、読み出しゲインが最大であれば、AFコントローラ122は、スキャンAFに移る。読み出しゲインが最大でなければ、AFコントローラ122は、ステップS204に移り、AFセンサ121の読み出しゲインをアップして、図10に示すAFスタートに戻る。
That is, the AF controller 122 determines whether or not the sensitivity of the AF sensor 121 is maximum in step S201. If the sensitivity is not the maximum as a result of this determination, the AF controller 122 proceeds to step S202, increases the sensitivity of the AF sensor 121, and returns to the AF start shown in FIG.
If the sensitivity is maximum, the AF controller 122 proceeds to step S203 and determines whether or not the read gain for the AF sensor 121 is maximum. If the readout gain is maximum as a result of this determination, the AF controller 122 moves to scan AF. If the read gain is not the maximum, the AF controller 122 proceeds to step S204, increases the read gain of the AF sensor 121, and returns to the AF start shown in FIG.

このように上記一実施の形態によれば、AFコントローラ122の第1のフォーカス検出手段により図7に示すように1対のセンサアレイSAとセンサアレイSBとにそれぞれ相関検出ブロックHaをずらしながら当該各相関検出ブロックHa間の相関値が最も高くなるところをフォーカス位置として検出し、この第1のフォーカス検出手段によりフォーカスのずれを検出できなかった場合、第2のフォーカス検出手段により図8に示すように1対のセンサアレイSAとセンサアレイSBとにそれぞれ相関検出ブロックHaよりも狭い各相関検出ブロックHbをずらしながら当該各相関検出ブロックHb間の相関値が最も高くなるところをフォーカス位置として検出する。   As described above, according to the embodiment, the first focus detection unit of the AF controller 122 shifts the correlation detection block Ha to the pair of sensor array SA and sensor array SB as shown in FIG. When the position where the correlation value between the correlation detection blocks Ha is the highest is detected as the focus position, and the focus shift cannot be detected by the first focus detection means, the second focus detection means shows in FIG. As described above, the position where the correlation value between the correlation detection blocks Hb is highest is detected as the focus position while shifting the correlation detection blocks Hb narrower than the correlation detection block Ha to the pair of sensor arrays SA and SB. To do.

これにより、第2のフォーカス検出手段によるデフォーカス量の算出方法では、相関検出ブロックHbのシフト可能な範囲が第1のフォーカス検出手段のシフト範囲よりも広くでき、第1のフォーカス検出手段により検出不可能であった範囲でデフォーカスを検出できるようになる。従って、図8に示すように第2のフォーカス検出手段によるデフォーカス量の算出方法では、第1のフォーカス検出手段により検出できなかった画素データの波形を相関検出ブロックHbを合焦検出位置Gにシフトさせることで検出できる。この結果、デフォーカス範囲を広くすることによってスキャンAFに移行する可能性を低減し、合焦までの時間を短縮することができ、シャッターチャンスを逃すおそれを低減できる。   Thus, in the defocus amount calculation method by the second focus detection unit, the shiftable range of the correlation detection block Hb can be made wider than the shift range of the first focus detection unit, and the first focus detection unit detects the defocus amount. Defocusing can be detected in the range where it was impossible. Therefore, as shown in FIG. 8, in the method of calculating the defocus amount by the second focus detection unit, the waveform of the pixel data that could not be detected by the first focus detection unit is set to the focus detection position G with the correlation detection block Hb. It can be detected by shifting. As a result, by widening the defocus range, the possibility of shifting to scan AF can be reduced, the time until focusing can be shortened, and the possibility of missing a photo opportunity can be reduced.

第1のフォーカス検出手段によりフォーカスのずれを検出できなかった場合、第2のフォーカス検出手段によりフォーカスのずれを検出するようにしたので、より信頼性の高い第1のフォーカス検出手段の検出結果を優先することが出来る。   When the first focus detection unit cannot detect the focus shift, the second focus detection unit detects the focus shift. Therefore, the detection result of the first focus detection unit with higher reliability can be obtained. Priority can be given.

以上、上記一実施の形態に基づいて本発明を説明したが、本発明は上述した実施形態に限定されるものではなく、本発明の要旨の範囲内で、種々の変形及び応用が可能なことは勿論である。   Although the present invention has been described based on the above-described embodiment, the present invention is not limited to the above-described embodiment, and various modifications and applications are possible within the scope of the gist of the present invention. Of course.

さらに、上述した実施形態には種々の段階の発明が含まれており、開示される複数の構成要件の適当な組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件からいくつかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除された構成も発明として抽出され得る。   Further, the above-described embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and the effect described in the column of the effect of the invention Can be extracted as an invention.

本発明に係るオートフォーカス調整装置を備えた撮像装置としてのデジタル一眼レフレックスカメラの一実施の形態を示す構成図。The block diagram which shows one Embodiment of the digital single-lens reflex camera as an imaging device provided with the auto-focus adjustment apparatus which concerns on this invention. 同カメラの外観斜視図。The external appearance perspective view of the camera. 同カメラにおけるAF光学系の2次結像系を示す模式図。FIG. 3 is a schematic diagram showing a secondary imaging system of an AF optical system in the camera. 同カメラにおけるAFセンサ及びフォーカスレンズからセパレータレンズまでの光学系における測距の原理及び1対のセンサアレイにより変換された映像信号の2像間隔が合焦時の状態を示す図。The figure which shows the state at the time of the focus of the 2 image space | interval of the video signal converted by the principle of ranging in the optical system from the AF sensor and the focus lens to the separator lens in the camera, and a pair of sensor arrays. 同カメラにおける1対のセンサアレイにより変換された映像信号の2像間隔が合焦時の2像間隔よりも狭くて被写体よりも手前側にピントが合っているいわゆる前ピンの状態を示す図。The figure which shows the state of what is called the front pin where the 2 image space | interval of the video signal converted by a pair of sensor array in the same camera is narrower than the 2 image space | interval at the time of focusing, and it is focusing on the near side rather than the to-be-photographed object. 同カメラにおける1対のセンサアレイにより変換された映像信号の2像間隔が合焦時の2像間隔よりも広くて被写体よりも後ろ側にピントが合っているいわゆる後ピンの状態を示す図。The figure which shows the state of what is called a rear pin which the two image space | intervals of the video signal converted by the pair of sensor array in the same camera is wider than the two image space | interval at the time of focusing, and is focused on the back side rather than a to-be-photographed object. 同カメラにおけるAFコントローラの第1のフォーカス検出手段によるデフォーカス量の算出方法を示す図。The figure which shows the calculation method of the defocus amount by the 1st focus detection means of AF controller in the camera. 同カメラにおけるAFコントローラの第2のフォーカス検出手段によるデフォーカス量の算出方法を示す図。The figure which shows the calculation method of the defocus amount by the 2nd focus detection means of AF controller in the camera. 同カメラにおけるデフォーカス範囲とフォーカス調整範囲との関係を示す図。The figure which shows the relationship between the defocus range and focus adjustment range in the camera. 同カメラにおけるAFシーケンスのフローチャート。The flowchart of the AF sequence in the camera. 同カメラにおけるセンサ動作条件変更フローチャート。The sensor operation condition change flowchart in the camera.

符号の説明Explanation of symbols

101:交換レンズ、110:カメラボディ、102:フォーカスレンズ、103:レンズ駆動部、104:レンズCPU、105:通信コネクタ、106:フォーカス調整機構、107:エンコーダ、111:メインミラー、112:フォーカシングスクリーン、113:ペンタプリズム、114:接眼レンズ、116:サブミラー、117:コンデンサレンズ、118:全反射ミラー、119:セパレータ絞り、120:セパレータレンズ、121:AFセンサ、122:AFコントローラ、123:システムコントローラ、124:撮像素子、125:表示部、126:メモリカード、127:ロータリースイッチ、128:レリーズ釦、129:設定スイッチ、205:フォーカスリング、203:ファインダー、121a〜121d:AFセンサの受光面、SA,SB:1対のセンサアレイ。   DESCRIPTION OF SYMBOLS 101: Interchangeable lens, 110: Camera body, 102: Focus lens, 103: Lens drive part, 104: Lens CPU, 105: Communication connector, 106: Focus adjustment mechanism, 107: Encoder, 111: Main mirror, 112: Focusing screen , 113: pentaprism, 114: eyepiece lens, 116: sub mirror, 117: condenser lens, 118: total reflection mirror, 119: separator diaphragm, 120: separator lens, 121: AF sensor, 122: AF controller, 123: system controller 124: Image sensor, 125: Display unit, 126: Memory card, 127: Rotary switch, 128: Release button, 129: Setting switch, 205: Focus ring, 203: Viewfinder, 121a to 121 : Light-receiving surface of the AF sensor, SA, SB: 1 pair of sensor arrays.

Claims (5)

被写体像を結像する光学系と、
前記光学系により結像された前記被写体像のフォーカスのずれを検出する第1のフォーカス検出手段と、
前記光学系により結像された前記被写体像のフォーカスのずれを前記第1のフォーカス検出手段とは異なる範囲で検出する第2のフォーカス検出手段と、
前記第1のフォーカス検出手段又は前記第2のフォーカス検出手段によるフォーカス検出結果に基づいて前記光学系の位置を調整するフォーカス調整手段と、
を具備することを特徴とするフォーカス調整装置。
An optical system for forming a subject image;
First focus detection means for detecting a focus shift of the subject image formed by the optical system;
Second focus detection means for detecting a focus shift of the subject image formed by the optical system in a range different from the first focus detection means;
A focus adjustment unit that adjusts a position of the optical system based on a focus detection result by the first focus detection unit or the second focus detection unit;
A focus adjusting apparatus comprising:
前記第2のフォーカス検出手段は、前記第1のフォーカス検出手段による前記フォーカスのずれの検出範囲を含む広い範囲で前記フォーカスのずれを検出し、
前記フォーカス調整手段は、前記第1のフォーカス検出手段により前記フォーカスのずれを検出できなかった場合、前記第2のフォーカス検出手段の検出結果に基づいて前記光学系の位置を調整する、
ことを特徴とする請求項1記載のフォーカス調整装置。
The second focus detection unit detects the focus shift in a wide range including a detection range of the focus shift by the first focus detection unit;
The focus adjusting unit adjusts the position of the optical system based on a detection result of the second focus detecting unit when the focus shift cannot be detected by the first focus detecting unit;
The focus adjusting apparatus according to claim 1, wherein:
前記第1及び前記第2のフォーカス検出手段は、それぞれ複数画素から成る1対のラインセンサを有し、瞳分割された視差を持つ前記被写体像を対を成す映像信号に変換出力するオートフォーカスセンサと、
前記オートフォーカスセンサから出力される前記対を成す映像信号に基づいて前記被写体像の2像間隔値に応じたデフォーカス量を算出するデフォーカス量算出手段と、
を有し、
前記デフォーカス量算出手段は、前記1対のラインセンサに対してそれぞれ各相関検出ブロックを形成し、一方の前記ラインセンサに対して前記相関検出ブロックをずらしながら前記各相関検出ブロック間の相関値が最も高くなるところをフォーカス位置として検出し、かつ前記第1のフォーカス検出手段により前記被写体像の前記フォーカスのずれを検出するときの前記相関検出ブロックの大きさよりも前記第2のフォーカス検出手段により前記被写体像の前記フォーカスのずれを検出するときの前記相関検出ブロックの大きさを小さく形成する、
ことを特徴とする請求項1記載のフォーカス調整装置。
The first and second focus detection means each have a pair of line sensors each composed of a plurality of pixels, and convert and output the subject image having a parallax that is divided into pupils into a video signal that forms a pair. When,
Defocus amount calculating means for calculating a defocus amount according to a two-image interval value of the subject image based on the paired video signals output from the autofocus sensor;
Have
The defocus amount calculation unit forms each correlation detection block for each of the pair of line sensors, and shifts the correlation detection block with respect to one of the line sensors while correlating the correlation values between the correlation detection blocks. Is detected as the focus position, and the second focus detection means is larger than the size of the correlation detection block when the first focus detection means detects the focus shift of the subject image. Forming a small size of the correlation detection block when detecting the focus shift of the subject image;
The focus adjusting apparatus according to claim 1, wherein:
前記デフォーカス量算出手段は、前記第1のフォーカス検出手段により前記相関検出ブロックを形成する前記画素数よりも前記第2のフォーカス検出手段により前記相関検出ブロックを形成する前記画素数を少なく設定し、前記相関検出ブロックの前記ラインセンサに対してシフトする範囲を広くすることを特徴とする請求項3記載のフォーカス調整装置。   The defocus amount calculation means sets the number of pixels forming the correlation detection block by the second focus detection means to be smaller than the number of pixels forming the correlation detection block by the first focus detection means. 4. The focus adjustment apparatus according to claim 3, wherein a range of shifting with respect to the line sensor of the correlation detection block is widened. 前記請求項1乃至4記載のうちいずれか1項記載のフォーカス調整装置を備えたことを特徴とする撮像装置。   An imaging apparatus comprising the focus adjustment apparatus according to any one of claims 1 to 4.
JP2008235271A 2008-09-12 2008-09-12 Focus adjusting device and image pickup apparatus Withdrawn JP2010066712A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008235271A JP2010066712A (en) 2008-09-12 2008-09-12 Focus adjusting device and image pickup apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008235271A JP2010066712A (en) 2008-09-12 2008-09-12 Focus adjusting device and image pickup apparatus

Publications (1)

Publication Number Publication Date
JP2010066712A true JP2010066712A (en) 2010-03-25

Family

ID=42192320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008235271A Withdrawn JP2010066712A (en) 2008-09-12 2008-09-12 Focus adjusting device and image pickup apparatus

Country Status (1)

Country Link
JP (1) JP2010066712A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2557771A2 (en) 2011-08-08 2013-02-13 Canon Kabushiki Kaisha Focus detector, and lens apparatus and image pickup apparatus including the same
EP2833638A1 (en) * 2012-03-29 2015-02-04 Fujifilm Corporation Image processing device, imaging device, and image processing method
US9025075B2 (en) 2012-10-16 2015-05-05 Canon Kabushiki Kaisha Focus detecting apparatus, lens apparatus including the same, image pickup apparatus, and method of detecting defocus amount

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2557771A2 (en) 2011-08-08 2013-02-13 Canon Kabushiki Kaisha Focus detector, and lens apparatus and image pickup apparatus including the same
US8848095B2 (en) 2011-08-08 2014-09-30 Canon Kabushiki Kaisha Focus detector, and lens apparatus and image pickup apparatus including the same
US9154689B2 (en) 2011-08-08 2015-10-06 Canon Kabushiki Kaisha Focus detector, and lens apparatus and image pickup apparatus including the same
EP2833638A1 (en) * 2012-03-29 2015-02-04 Fujifilm Corporation Image processing device, imaging device, and image processing method
EP2833638A4 (en) * 2012-03-29 2015-11-25 Fujifilm Corp Image processing device, imaging device, and image processing method
US9025075B2 (en) 2012-10-16 2015-05-05 Canon Kabushiki Kaisha Focus detecting apparatus, lens apparatus including the same, image pickup apparatus, and method of detecting defocus amount
US9444993B2 (en) 2012-10-16 2016-09-13 Canon Kabushiki Kaisha Focus detecting apparatus, lens apparatus including the same, image pickup apparatus, and method of detecting defocus amount

Similar Documents

Publication Publication Date Title
JP4963569B2 (en) Imaging system and lens unit
JP2009115921A (en) Imaging apparatus
JP2009103912A (en) Image pickup apparatus
US9781330B2 (en) Focus detection apparatus and control method for focus detection apparatus
JP5896763B2 (en) Optical instrument and method for autofocusing
CN103460104A (en) Imaging device
CN109639953B (en) Focus detection control device and imaging device
JP5402298B2 (en) Focus detection device and camera
JP2013037101A (en) Focus detector and imaging apparatus
JP5320855B2 (en) Lens barrel and camera system
JP2006254413A (en) Imaging apparatus and camera body
JP2010066712A (en) Focus adjusting device and image pickup apparatus
JP2009229927A (en) Autofocus adjustment device and imaging apparatus
JP2007079204A (en) Auto-focusing device, camera, and lens barrel
JP2008203428A (en) Imaging apparatus
JP5966299B2 (en) FOCUS DETECTION DEVICE AND IMAGING DEVICE HAVING THE SAME
JP2017118212A (en) Imaging apparatus
JP5760792B2 (en) Focus adjustment device and imaging device
JP5170266B2 (en) Imaging device and camera body
JP2008191391A (en) Focusing mechanism, and camera
JP4865275B2 (en) Focus detection apparatus and imaging apparatus
JP2007156304A (en) Camera, camera system, and interchangeable lens device
JP5402189B2 (en) Focus adjustment device and imaging device provided with the same
JP5590850B2 (en) Imaging device and focus control method of imaging device
JP4862297B2 (en) Electronic camera and camera system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20111206